@vectoriox/iox-ui 5.199.0 → 5.200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/design-core/index.d.ts +454 -52
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +640 -55
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +945 -159
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +441 -63
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +434 -123
- package/harness-core/index.d.ts +282 -6
- package/package.json +1 -1
- package/src/design-core/brand-neutrals.ts +125 -3
- package/src/design-core/colour-words.ts +48 -0
- package/src/design-core/design-settings.ts +24 -5
- package/src/design-core/design-token.model.ts +8 -0
- package/src/design-core/flavor-fixtures.generated.ts +272 -2
- package/src/design-core/flavor-spec.generated.ts +310 -40
- package/src/design-core/flavor-tokens.ts +5 -1
- package/src/design-core/public-api.ts +2 -0
- package/src/design-core/signature-move.ts +107 -0
- package/src/design-core/style-presets.ts +9 -3
- package/src/design-core/token-css.ts +59 -1
- package/src/forms-core/form-presets.ts +5 -2
- package/src/generation-core/body-mix.ts +41 -0
- package/src/generation-core/check-layout.ts +17 -7
- package/src/generation-core/colour-mix.ts +53 -3
- package/src/generation-core/compose-site.ts +131 -32
- package/src/generation-core/composition.ts +320 -0
- package/src/generation-core/footer-mix.ts +43 -3
- package/src/generation-core/footer-sign-up.ts +51 -0
- package/src/generation-core/header-edit.ts +15 -0
- package/src/generation-core/opening-edit.ts +17 -3
- package/src/generation-core/opening-mix.ts +69 -5
- package/src/generation-core/plan-wire.ts +22 -5
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-build-run.ts +3 -0
- package/src/generation-core/site-plan.model.ts +3 -0
- package/src/generation-core/site-spec.generated.ts +250 -104
- package/src/generation-core/type-led.ts +4 -2
- package/src/generation-core/validate-site-plan.ts +2 -1
- package/src/harness-core/business-types.ts +27 -0
- package/src/harness-core/harness-spec.generated.ts +405 -56
- package/src/harness-core/motion.ts +19 -2
- package/src/harness-core/run-compose-context.ts +9 -3
- package/src/harness-core/starting-design.ts +15 -7
- package/styles/iox-design.css +10 -0
- package/styles/iox-forms.css +53 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MOOD_IDS, MOOD_LABELS, STYLE_PRESETS, SPEC_FLAVORS, flavorPackById, parseFontFamilies, SPEC_AXES, motionWordTier, MotionWordTier, languageOf, parseHexColor, rgbToOklab, presetChoices, toHexColor, stylePresetById, resolveTokenValues, designTokenRows, wcagContrastRatio, auditDesignContrast, PRELOADER_LEVELS, SCRUB_LEVELS } from '@vectoriox/iox-ui/design-core';
|
|
1
|
+
import { MOOD_IDS, MOOD_LABELS, STYLE_PRESETS, SPEC_FLAVORS, flavorPackById, parseFontFamilies, SPEC_AXES, motionWordTier, MotionWordTier, languageOf, parseHexColor, rgbToOklab, presetChoices, toHexColor, stylePresetById, resolveTokenValues, designTokenRows, wcagContrastRatio, auditDesignContrast, PRELOADER_LEVELS, SCRUB_LEVELS, withSignatureMove } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
import { HEBREW_PREFIXES, shapeKeys, requiredShapeKeys, PathIssueCollector, isPlainObject, pathAt, FACT_KEYS, jsonText, jsonOneOf, jsonListOf, jsonShapedObject, describeShapeKey, SPEC_SITE_LIBRARY, patternById, SITE_FACT_LABELS, SITE_TEMPLATES, STUDIO_TEMPLATE, jsonInteger, pictureSlotPage, PicturesRefused, composeContextOf } from '@vectoriox/iox-ui/generation-core';
|
|
3
3
|
import { POPUP_BODY_MAX_CHARS } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
|
|
@@ -205,7 +205,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
205
205
|
"#18181B",
|
|
206
206
|
"#3F4A5A",
|
|
207
207
|
"#8B9BB4"
|
|
208
|
-
]
|
|
208
|
+
],
|
|
209
|
+
"never": [],
|
|
210
|
+
"say": [],
|
|
211
|
+
"sayHe": []
|
|
209
212
|
},
|
|
210
213
|
"fonts": "elegant and minimal",
|
|
211
214
|
"tone": "Few words. Let the pictures speak; one line per project.",
|
|
@@ -316,7 +319,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
316
319
|
"frame:full",
|
|
317
320
|
"media:photo",
|
|
318
321
|
"words:wordmark"
|
|
319
|
-
]
|
|
322
|
+
],
|
|
323
|
+
"signature": {
|
|
324
|
+
"moves": [
|
|
325
|
+
"scroll",
|
|
326
|
+
"preloader"
|
|
327
|
+
],
|
|
328
|
+
"floor": "subtle"
|
|
329
|
+
},
|
|
330
|
+
"signUp": false
|
|
320
331
|
},
|
|
321
332
|
{
|
|
322
333
|
"id": "interior-design",
|
|
@@ -358,7 +369,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
358
369
|
"#7A5B36",
|
|
359
370
|
"#78716C",
|
|
360
371
|
"#5E6B3A"
|
|
361
|
-
]
|
|
372
|
+
],
|
|
373
|
+
"never": [],
|
|
374
|
+
"say": [],
|
|
375
|
+
"sayHe": []
|
|
362
376
|
},
|
|
363
377
|
"fonts": "architectural and elegant",
|
|
364
378
|
"tone": "Calm and specific: materials, light, the brief.",
|
|
@@ -476,7 +490,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
476
490
|
"frame:full",
|
|
477
491
|
"media:photo",
|
|
478
492
|
"words:wordmark"
|
|
479
|
-
]
|
|
493
|
+
],
|
|
494
|
+
"signature": {
|
|
495
|
+
"moves": [
|
|
496
|
+
"scroll",
|
|
497
|
+
"preloader"
|
|
498
|
+
],
|
|
499
|
+
"floor": "subtle"
|
|
500
|
+
},
|
|
501
|
+
"signUp": false
|
|
480
502
|
},
|
|
481
503
|
{
|
|
482
504
|
"id": "architecture",
|
|
@@ -517,7 +539,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
517
539
|
"#171717",
|
|
518
540
|
"#3F4A5A",
|
|
519
541
|
"#A16207"
|
|
520
|
-
]
|
|
542
|
+
],
|
|
543
|
+
"never": [],
|
|
544
|
+
"say": [],
|
|
545
|
+
"sayHe": []
|
|
521
546
|
},
|
|
522
547
|
"fonts": "architectural, precise",
|
|
523
548
|
"tone": "Precise and brief: the project, the place, the year.",
|
|
@@ -631,7 +656,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
631
656
|
"frame:full",
|
|
632
657
|
"media:photo",
|
|
633
658
|
"words:wordmark"
|
|
634
|
-
]
|
|
659
|
+
],
|
|
660
|
+
"signature": {
|
|
661
|
+
"moves": [
|
|
662
|
+
"scroll",
|
|
663
|
+
"preloader"
|
|
664
|
+
],
|
|
665
|
+
"floor": "subtle"
|
|
666
|
+
},
|
|
667
|
+
"signUp": false
|
|
635
668
|
},
|
|
636
669
|
{
|
|
637
670
|
"id": "creative-studio",
|
|
@@ -675,7 +708,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
675
708
|
"#3D5AFE",
|
|
676
709
|
"#FF5C39",
|
|
677
710
|
"#111827"
|
|
678
|
-
]
|
|
711
|
+
],
|
|
712
|
+
"never": [],
|
|
713
|
+
"say": [],
|
|
714
|
+
"sayHe": []
|
|
679
715
|
},
|
|
680
716
|
"fonts": "bold and expressive",
|
|
681
717
|
"tone": "Confident, short, a little witty.",
|
|
@@ -775,7 +811,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
775
811
|
"frame:full",
|
|
776
812
|
"media:photo",
|
|
777
813
|
"words:wordmark"
|
|
778
|
-
]
|
|
814
|
+
],
|
|
815
|
+
"signature": {
|
|
816
|
+
"moves": [
|
|
817
|
+
"scroll",
|
|
818
|
+
"preloader"
|
|
819
|
+
],
|
|
820
|
+
"floor": "subtle"
|
|
821
|
+
},
|
|
822
|
+
"signUp": false
|
|
779
823
|
},
|
|
780
824
|
{
|
|
781
825
|
"id": "artist",
|
|
@@ -820,7 +864,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
820
864
|
"#3D5AFE",
|
|
821
865
|
"#3F4A5A",
|
|
822
866
|
"#9A4F2B"
|
|
823
|
-
]
|
|
867
|
+
],
|
|
868
|
+
"never": [],
|
|
869
|
+
"say": [],
|
|
870
|
+
"sayHe": []
|
|
824
871
|
},
|
|
825
872
|
"fonts": "expressive",
|
|
826
873
|
"tone": "Personal, first person, short.",
|
|
@@ -923,7 +970,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
923
970
|
"frame:full",
|
|
924
971
|
"media:photo",
|
|
925
972
|
"words:wordmark"
|
|
926
|
-
]
|
|
973
|
+
],
|
|
974
|
+
"signature": {
|
|
975
|
+
"moves": [
|
|
976
|
+
"preloader",
|
|
977
|
+
"scroll"
|
|
978
|
+
],
|
|
979
|
+
"floor": "subtle"
|
|
980
|
+
},
|
|
981
|
+
"signUp": false
|
|
927
982
|
},
|
|
928
983
|
{
|
|
929
984
|
"id": "makers",
|
|
@@ -973,7 +1028,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
973
1028
|
"#9A4F2B",
|
|
974
1029
|
"#5E6B3A",
|
|
975
1030
|
"#7A5B36"
|
|
976
|
-
]
|
|
1031
|
+
],
|
|
1032
|
+
"never": [],
|
|
1033
|
+
"say": [],
|
|
1034
|
+
"sayHe": []
|
|
977
1035
|
},
|
|
978
1036
|
"fonts": "warm, hand-made",
|
|
979
1037
|
"tone": "Warm and plain; how it is made, who makes it.",
|
|
@@ -1075,7 +1133,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1075
1133
|
"frame:full",
|
|
1076
1134
|
"media:photo",
|
|
1077
1135
|
"words:wordmark"
|
|
1078
|
-
]
|
|
1136
|
+
],
|
|
1137
|
+
"signature": {
|
|
1138
|
+
"moves": [
|
|
1139
|
+
"preloader",
|
|
1140
|
+
"scroll"
|
|
1141
|
+
],
|
|
1142
|
+
"floor": "subtle"
|
|
1143
|
+
},
|
|
1144
|
+
"signUp": true
|
|
1079
1145
|
},
|
|
1080
1146
|
{
|
|
1081
1147
|
"id": "jewellery",
|
|
@@ -1118,7 +1184,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1118
1184
|
"#7A5B36",
|
|
1119
1185
|
"#1C1917",
|
|
1120
1186
|
"#3F4A5A"
|
|
1121
|
-
]
|
|
1187
|
+
],
|
|
1188
|
+
"never": [],
|
|
1189
|
+
"say": [],
|
|
1190
|
+
"sayHe": []
|
|
1122
1191
|
},
|
|
1123
1192
|
"fonts": "elegant, refined",
|
|
1124
1193
|
"tone": "Few, exact words: the metal, the stone, the making.",
|
|
@@ -1223,7 +1292,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1223
1292
|
"frame:full",
|
|
1224
1293
|
"media:photo",
|
|
1225
1294
|
"words:wordmark"
|
|
1226
|
-
]
|
|
1295
|
+
],
|
|
1296
|
+
"signature": {
|
|
1297
|
+
"moves": [
|
|
1298
|
+
"preloader",
|
|
1299
|
+
"scroll"
|
|
1300
|
+
],
|
|
1301
|
+
"floor": "subtle"
|
|
1302
|
+
},
|
|
1303
|
+
"signUp": true
|
|
1227
1304
|
},
|
|
1228
1305
|
{
|
|
1229
1306
|
"id": "tattoo",
|
|
@@ -1267,7 +1344,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1267
1344
|
"#EA580C",
|
|
1268
1345
|
"#DB2777",
|
|
1269
1346
|
"#111827"
|
|
1270
|
-
]
|
|
1347
|
+
],
|
|
1348
|
+
"never": [],
|
|
1349
|
+
"say": [],
|
|
1350
|
+
"sayHe": []
|
|
1271
1351
|
},
|
|
1272
1352
|
"fonts": "bold, condensed",
|
|
1273
1353
|
"tone": "Direct, a bit of attitude.",
|
|
@@ -1365,7 +1445,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1365
1445
|
"frame:full",
|
|
1366
1446
|
"media:photo",
|
|
1367
1447
|
"words:wordmark"
|
|
1368
|
-
]
|
|
1448
|
+
],
|
|
1449
|
+
"signature": {
|
|
1450
|
+
"moves": [
|
|
1451
|
+
"scroll",
|
|
1452
|
+
"preloader"
|
|
1453
|
+
],
|
|
1454
|
+
"floor": "subtle"
|
|
1455
|
+
},
|
|
1456
|
+
"signUp": false
|
|
1369
1457
|
},
|
|
1370
1458
|
{
|
|
1371
1459
|
"id": "spa",
|
|
@@ -1409,7 +1497,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1409
1497
|
"#7D4E5E",
|
|
1410
1498
|
"#5E6B3A",
|
|
1411
1499
|
"#7A5B36"
|
|
1412
|
-
]
|
|
1500
|
+
],
|
|
1501
|
+
"never": [],
|
|
1502
|
+
"say": [],
|
|
1503
|
+
"sayHe": []
|
|
1413
1504
|
},
|
|
1414
1505
|
"fonts": "elegant and calming",
|
|
1415
1506
|
"tone": "Soft, unhurried, second person.",
|
|
@@ -1569,7 +1660,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1569
1660
|
"frame:full",
|
|
1570
1661
|
"media:photo",
|
|
1571
1662
|
"words:wordmark"
|
|
1572
|
-
]
|
|
1663
|
+
],
|
|
1664
|
+
"signature": {
|
|
1665
|
+
"moves": [
|
|
1666
|
+
"scroll"
|
|
1667
|
+
],
|
|
1668
|
+
"floor": "subtle"
|
|
1669
|
+
},
|
|
1670
|
+
"signUp": false
|
|
1573
1671
|
},
|
|
1574
1672
|
{
|
|
1575
1673
|
"id": "salon",
|
|
@@ -1616,7 +1714,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1616
1714
|
"#7D4E5E",
|
|
1617
1715
|
"#E5484D",
|
|
1618
1716
|
"#7D5260"
|
|
1619
|
-
]
|
|
1717
|
+
],
|
|
1718
|
+
"never": [],
|
|
1719
|
+
"say": [],
|
|
1720
|
+
"sayHe": []
|
|
1620
1721
|
},
|
|
1621
1722
|
"fonts": "elegant or friendly",
|
|
1622
1723
|
"tone": "Friendly, upbeat, short.",
|
|
@@ -1728,7 +1829,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1728
1829
|
"frame:full",
|
|
1729
1830
|
"media:photo",
|
|
1730
1831
|
"words:wordmark"
|
|
1731
|
-
]
|
|
1832
|
+
],
|
|
1833
|
+
"signature": {
|
|
1834
|
+
"moves": [
|
|
1835
|
+
"scroll"
|
|
1836
|
+
],
|
|
1837
|
+
"floor": "subtle"
|
|
1838
|
+
},
|
|
1839
|
+
"signUp": true
|
|
1732
1840
|
},
|
|
1733
1841
|
{
|
|
1734
1842
|
"id": "yoga",
|
|
@@ -1772,7 +1880,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1772
1880
|
"#0E8A89",
|
|
1773
1881
|
"#5E6B3A",
|
|
1774
1882
|
"#9A4F2B"
|
|
1775
|
-
]
|
|
1883
|
+
],
|
|
1884
|
+
"never": [],
|
|
1885
|
+
"say": [],
|
|
1886
|
+
"sayHe": []
|
|
1776
1887
|
},
|
|
1777
1888
|
"fonts": "warm, humanist",
|
|
1778
1889
|
"tone": "Gentle and inviting; who it is for.",
|
|
@@ -1882,7 +1993,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1882
1993
|
"frame:full",
|
|
1883
1994
|
"media:photo",
|
|
1884
1995
|
"words:wordmark"
|
|
1885
|
-
]
|
|
1996
|
+
],
|
|
1997
|
+
"signature": {
|
|
1998
|
+
"moves": [
|
|
1999
|
+
"scroll"
|
|
2000
|
+
],
|
|
2001
|
+
"floor": "subtle"
|
|
2002
|
+
},
|
|
2003
|
+
"signUp": false
|
|
1886
2004
|
},
|
|
1887
2005
|
{
|
|
1888
2006
|
"id": "fitness",
|
|
@@ -1935,7 +2053,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1935
2053
|
"#E5484D",
|
|
1936
2054
|
"#00B86B",
|
|
1937
2055
|
"#EA580C"
|
|
1938
|
-
]
|
|
2056
|
+
],
|
|
2057
|
+
"never": [],
|
|
2058
|
+
"say": [],
|
|
2059
|
+
"sayHe": []
|
|
1939
2060
|
},
|
|
1940
2061
|
"fonts": "bold, motivational",
|
|
1941
2062
|
"tone": "Short, motivating, active verbs.",
|
|
@@ -2044,7 +2165,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2044
2165
|
"frame:full",
|
|
2045
2166
|
"media:photo",
|
|
2046
2167
|
"words:wordmark"
|
|
2047
|
-
]
|
|
2168
|
+
],
|
|
2169
|
+
"signature": {
|
|
2170
|
+
"moves": [
|
|
2171
|
+
"scroll"
|
|
2172
|
+
],
|
|
2173
|
+
"floor": "subtle"
|
|
2174
|
+
},
|
|
2175
|
+
"signUp": false
|
|
2048
2176
|
},
|
|
2049
2177
|
{
|
|
2050
2178
|
"id": "therapist",
|
|
@@ -2090,6 +2218,17 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2090
2218
|
"#0284C7",
|
|
2091
2219
|
"#0E8A89",
|
|
2092
2220
|
"#3B6939"
|
|
2221
|
+
],
|
|
2222
|
+
"never": [
|
|
2223
|
+
"accent.flood",
|
|
2224
|
+
"rhythm.flood",
|
|
2225
|
+
"rhythm.alternate"
|
|
2226
|
+
],
|
|
2227
|
+
"say": [
|
|
2228
|
+
"People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
|
|
2229
|
+
],
|
|
2230
|
+
"sayHe": [
|
|
2231
|
+
"מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
|
|
2093
2232
|
]
|
|
2094
2233
|
},
|
|
2095
2234
|
"fonts": "calming, readable",
|
|
@@ -2257,7 +2396,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2257
2396
|
"frame:inset",
|
|
2258
2397
|
"media:photo",
|
|
2259
2398
|
"words:headline"
|
|
2260
|
-
]
|
|
2399
|
+
],
|
|
2400
|
+
"signature": {
|
|
2401
|
+
"moves": [
|
|
2402
|
+
"scroll"
|
|
2403
|
+
],
|
|
2404
|
+
"floor": "subtle"
|
|
2405
|
+
},
|
|
2406
|
+
"signUp": false
|
|
2261
2407
|
},
|
|
2262
2408
|
{
|
|
2263
2409
|
"id": "clinic",
|
|
@@ -2303,6 +2449,17 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2303
2449
|
"#0E7490",
|
|
2304
2450
|
"#0284C7",
|
|
2305
2451
|
"#1E3A8A"
|
|
2452
|
+
],
|
|
2453
|
+
"never": [
|
|
2454
|
+
"accent.flood",
|
|
2455
|
+
"rhythm.flood",
|
|
2456
|
+
"rhythm.alternate"
|
|
2457
|
+
],
|
|
2458
|
+
"say": [
|
|
2459
|
+
"People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
|
|
2460
|
+
],
|
|
2461
|
+
"sayHe": [
|
|
2462
|
+
"מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
|
|
2306
2463
|
]
|
|
2307
2464
|
},
|
|
2308
2465
|
"fonts": "professional, readable",
|
|
@@ -2474,7 +2631,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2474
2631
|
"frame:inset",
|
|
2475
2632
|
"media:photo",
|
|
2476
2633
|
"words:headline"
|
|
2477
|
-
]
|
|
2634
|
+
],
|
|
2635
|
+
"signature": {
|
|
2636
|
+
"moves": [
|
|
2637
|
+
"scroll"
|
|
2638
|
+
],
|
|
2639
|
+
"floor": "subtle"
|
|
2640
|
+
},
|
|
2641
|
+
"signUp": false
|
|
2478
2642
|
},
|
|
2479
2643
|
{
|
|
2480
2644
|
"id": "dental",
|
|
@@ -2512,6 +2676,17 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2512
2676
|
"#0284C7",
|
|
2513
2677
|
"#0E7490",
|
|
2514
2678
|
"#0E8A89"
|
|
2679
|
+
],
|
|
2680
|
+
"never": [
|
|
2681
|
+
"accent.flood",
|
|
2682
|
+
"rhythm.flood",
|
|
2683
|
+
"rhythm.alternate"
|
|
2684
|
+
],
|
|
2685
|
+
"say": [
|
|
2686
|
+
"People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
|
|
2687
|
+
],
|
|
2688
|
+
"sayHe": [
|
|
2689
|
+
"מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
|
|
2515
2690
|
]
|
|
2516
2691
|
},
|
|
2517
2692
|
"fonts": "friendly, professional",
|
|
@@ -2675,7 +2850,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2675
2850
|
"frame:inset",
|
|
2676
2851
|
"media:photo",
|
|
2677
2852
|
"words:headline"
|
|
2678
|
-
]
|
|
2853
|
+
],
|
|
2854
|
+
"signature": {
|
|
2855
|
+
"moves": [
|
|
2856
|
+
"scroll"
|
|
2857
|
+
],
|
|
2858
|
+
"floor": "subtle"
|
|
2859
|
+
},
|
|
2860
|
+
"signUp": false
|
|
2679
2861
|
},
|
|
2680
2862
|
{
|
|
2681
2863
|
"id": "vet",
|
|
@@ -2721,7 +2903,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2721
2903
|
"#006A6A",
|
|
2722
2904
|
"#3B6939",
|
|
2723
2905
|
"#0284C7"
|
|
2724
|
-
]
|
|
2906
|
+
],
|
|
2907
|
+
"never": [],
|
|
2908
|
+
"say": [],
|
|
2909
|
+
"sayHe": []
|
|
2725
2910
|
},
|
|
2726
2911
|
"fonts": "friendly, welcoming",
|
|
2727
2912
|
"tone": "Warm, practical.",
|
|
@@ -2859,7 +3044,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2859
3044
|
"frame:inset",
|
|
2860
3045
|
"media:photo",
|
|
2861
3046
|
"words:headline"
|
|
2862
|
-
]
|
|
3047
|
+
],
|
|
3048
|
+
"signature": {
|
|
3049
|
+
"moves": [
|
|
3050
|
+
"scroll"
|
|
3051
|
+
],
|
|
3052
|
+
"floor": "subtle"
|
|
3053
|
+
},
|
|
3054
|
+
"signUp": false
|
|
2863
3055
|
},
|
|
2864
3056
|
{
|
|
2865
3057
|
"id": "restaurant",
|
|
@@ -2904,7 +3096,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2904
3096
|
"#9A4F2B",
|
|
2905
3097
|
"#9C4146",
|
|
2906
3098
|
"#7A5B36"
|
|
2907
|
-
]
|
|
3099
|
+
],
|
|
3100
|
+
"never": [],
|
|
3101
|
+
"say": [],
|
|
3102
|
+
"sayHe": []
|
|
2908
3103
|
},
|
|
2909
3104
|
"fonts": "appetising, clear",
|
|
2910
3105
|
"tone": "Inviting, sensory, short.",
|
|
@@ -3016,7 +3211,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3016
3211
|
"frame:full",
|
|
3017
3212
|
"media:photo",
|
|
3018
3213
|
"words:wordmark"
|
|
3019
|
-
]
|
|
3214
|
+
],
|
|
3215
|
+
"signature": {
|
|
3216
|
+
"moves": [
|
|
3217
|
+
"preloader",
|
|
3218
|
+
"scroll"
|
|
3219
|
+
],
|
|
3220
|
+
"floor": "subtle"
|
|
3221
|
+
},
|
|
3222
|
+
"signUp": false
|
|
3020
3223
|
},
|
|
3021
3224
|
{
|
|
3022
3225
|
"id": "cafe-bakery",
|
|
@@ -3063,7 +3266,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3063
3266
|
"#9C4146",
|
|
3064
3267
|
"#9A4F2B",
|
|
3065
3268
|
"#7D5260"
|
|
3066
|
-
]
|
|
3269
|
+
],
|
|
3270
|
+
"never": [],
|
|
3271
|
+
"say": [],
|
|
3272
|
+
"sayHe": []
|
|
3067
3273
|
},
|
|
3068
3274
|
"fonts": "warm, inviting",
|
|
3069
3275
|
"tone": "Friendly, short, a little playful.",
|
|
@@ -3174,7 +3380,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3174
3380
|
"frame:full",
|
|
3175
3381
|
"media:photo",
|
|
3176
3382
|
"words:wordmark"
|
|
3177
|
-
]
|
|
3383
|
+
],
|
|
3384
|
+
"signature": {
|
|
3385
|
+
"moves": [
|
|
3386
|
+
"preloader",
|
|
3387
|
+
"scroll"
|
|
3388
|
+
],
|
|
3389
|
+
"floor": "subtle"
|
|
3390
|
+
},
|
|
3391
|
+
"signUp": false
|
|
3178
3392
|
},
|
|
3179
3393
|
{
|
|
3180
3394
|
"id": "bar-winery",
|
|
@@ -3221,7 +3435,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3221
3435
|
"#7A5B36",
|
|
3222
3436
|
"#9C4146",
|
|
3223
3437
|
"#DB2777"
|
|
3224
|
-
]
|
|
3438
|
+
],
|
|
3439
|
+
"never": [],
|
|
3440
|
+
"say": [],
|
|
3441
|
+
"sayHe": []
|
|
3225
3442
|
},
|
|
3226
3443
|
"fonts": "artisanal, heritage",
|
|
3227
3444
|
"tone": "Story-led: the place, the people, the craft.",
|
|
@@ -3327,7 +3544,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3327
3544
|
"frame:full",
|
|
3328
3545
|
"media:photo",
|
|
3329
3546
|
"words:wordmark"
|
|
3330
|
-
]
|
|
3547
|
+
],
|
|
3548
|
+
"signature": {
|
|
3549
|
+
"moves": [
|
|
3550
|
+
"preloader",
|
|
3551
|
+
"scroll"
|
|
3552
|
+
],
|
|
3553
|
+
"floor": "subtle"
|
|
3554
|
+
},
|
|
3555
|
+
"signUp": false
|
|
3331
3556
|
},
|
|
3332
3557
|
{
|
|
3333
3558
|
"id": "boutique",
|
|
@@ -3373,7 +3598,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3373
3598
|
"#3F4A5A",
|
|
3374
3599
|
"#7A5B36",
|
|
3375
3600
|
"#FF5C39"
|
|
3376
|
-
]
|
|
3601
|
+
],
|
|
3602
|
+
"never": [],
|
|
3603
|
+
"say": [],
|
|
3604
|
+
"sayHe": []
|
|
3377
3605
|
},
|
|
3378
3606
|
"fonts": "refined or bold",
|
|
3379
3607
|
"tone": "Short and confident.",
|
|
@@ -3470,7 +3698,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3470
3698
|
"frame:full",
|
|
3471
3699
|
"media:photo",
|
|
3472
3700
|
"words:wordmark"
|
|
3473
|
-
]
|
|
3701
|
+
],
|
|
3702
|
+
"signature": {
|
|
3703
|
+
"moves": [
|
|
3704
|
+
"preloader",
|
|
3705
|
+
"scroll"
|
|
3706
|
+
],
|
|
3707
|
+
"floor": "subtle"
|
|
3708
|
+
},
|
|
3709
|
+
"signUp": true
|
|
3474
3710
|
},
|
|
3475
3711
|
{
|
|
3476
3712
|
"id": "florist",
|
|
@@ -3515,7 +3751,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3515
3751
|
"#3B6939",
|
|
3516
3752
|
"#7D5260",
|
|
3517
3753
|
"#00B86B"
|
|
3518
|
-
]
|
|
3754
|
+
],
|
|
3755
|
+
"never": [],
|
|
3756
|
+
"say": [],
|
|
3757
|
+
"sayHe": []
|
|
3519
3758
|
},
|
|
3520
3759
|
"fonts": "elegant, natural",
|
|
3521
3760
|
"tone": "Seasonal, warm.",
|
|
@@ -3621,7 +3860,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3621
3860
|
"frame:full",
|
|
3622
3861
|
"media:photo",
|
|
3623
3862
|
"words:wordmark"
|
|
3624
|
-
]
|
|
3863
|
+
],
|
|
3864
|
+
"signature": {
|
|
3865
|
+
"moves": [
|
|
3866
|
+
"preloader",
|
|
3867
|
+
"scroll"
|
|
3868
|
+
],
|
|
3869
|
+
"floor": "subtle"
|
|
3870
|
+
},
|
|
3871
|
+
"signUp": false
|
|
3625
3872
|
},
|
|
3626
3873
|
{
|
|
3627
3874
|
"id": "home-goods",
|
|
@@ -3665,7 +3912,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3665
3912
|
"#78716C",
|
|
3666
3913
|
"#9A4F2B",
|
|
3667
3914
|
"#7A5B36"
|
|
3668
|
-
]
|
|
3915
|
+
],
|
|
3916
|
+
"never": [],
|
|
3917
|
+
"say": [],
|
|
3918
|
+
"sayHe": []
|
|
3669
3919
|
},
|
|
3670
3920
|
"fonts": "professional, clean",
|
|
3671
3921
|
"tone": "Clear and specific: size, material, care.",
|
|
@@ -3765,7 +4015,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3765
4015
|
"frame:full",
|
|
3766
4016
|
"media:photo",
|
|
3767
4017
|
"words:wordmark"
|
|
3768
|
-
]
|
|
4018
|
+
],
|
|
4019
|
+
"signature": {
|
|
4020
|
+
"moves": [
|
|
4021
|
+
"preloader",
|
|
4022
|
+
"scroll"
|
|
4023
|
+
],
|
|
4024
|
+
"floor": "subtle"
|
|
4025
|
+
},
|
|
4026
|
+
"signUp": true
|
|
3769
4027
|
},
|
|
3770
4028
|
{
|
|
3771
4029
|
"id": "consultant",
|
|
@@ -3809,7 +4067,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3809
4067
|
"#1E3A8A",
|
|
3810
4068
|
"#111827",
|
|
3811
4069
|
"#0E7490"
|
|
3812
|
-
]
|
|
4070
|
+
],
|
|
4071
|
+
"never": [],
|
|
4072
|
+
"say": [],
|
|
4073
|
+
"sayHe": []
|
|
3813
4074
|
},
|
|
3814
4075
|
"fonts": "formal, clear",
|
|
3815
4076
|
"tone": "Plain and specific: problems you solve, results.",
|
|
@@ -3953,7 +4214,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3953
4214
|
"frame:inset",
|
|
3954
4215
|
"media:photo",
|
|
3955
4216
|
"words:headline"
|
|
3956
|
-
]
|
|
4217
|
+
],
|
|
4218
|
+
"signature": {
|
|
4219
|
+
"moves": [
|
|
4220
|
+
"scroll"
|
|
4221
|
+
],
|
|
4222
|
+
"floor": "subtle"
|
|
4223
|
+
},
|
|
4224
|
+
"signUp": false
|
|
3957
4225
|
},
|
|
3958
4226
|
{
|
|
3959
4227
|
"id": "coach",
|
|
@@ -3998,7 +4266,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3998
4266
|
"#0E8A89",
|
|
3999
4267
|
"#E5484D",
|
|
4000
4268
|
"#1E3A8A"
|
|
4001
|
-
]
|
|
4269
|
+
],
|
|
4270
|
+
"never": [],
|
|
4271
|
+
"say": [],
|
|
4272
|
+
"sayHe": []
|
|
4002
4273
|
},
|
|
4003
4274
|
"fonts": "warm, clear",
|
|
4004
4275
|
"tone": "Personal, encouraging, first person.",
|
|
@@ -4133,7 +4404,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4133
4404
|
"frame:inset",
|
|
4134
4405
|
"media:photo",
|
|
4135
4406
|
"words:headline"
|
|
4136
|
-
]
|
|
4407
|
+
],
|
|
4408
|
+
"signature": {
|
|
4409
|
+
"moves": [
|
|
4410
|
+
"scroll"
|
|
4411
|
+
],
|
|
4412
|
+
"floor": "subtle"
|
|
4413
|
+
},
|
|
4414
|
+
"signUp": false
|
|
4137
4415
|
},
|
|
4138
4416
|
{
|
|
4139
4417
|
"id": "law-accounting",
|
|
@@ -4181,6 +4459,17 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4181
4459
|
"#1E3A8A",
|
|
4182
4460
|
"#111827",
|
|
4183
4461
|
"#7A5B36"
|
|
4462
|
+
],
|
|
4463
|
+
"never": [
|
|
4464
|
+
"accent.flood",
|
|
4465
|
+
"rhythm.flood",
|
|
4466
|
+
"rhythm.alternate"
|
|
4467
|
+
],
|
|
4468
|
+
"say": [
|
|
4469
|
+
"People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
|
|
4470
|
+
],
|
|
4471
|
+
"sayHe": [
|
|
4472
|
+
"מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
|
|
4184
4473
|
]
|
|
4185
4474
|
},
|
|
4186
4475
|
"fonts": "professional, authoritative",
|
|
@@ -4349,7 +4638,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4349
4638
|
"frame:inset",
|
|
4350
4639
|
"media:photo",
|
|
4351
4640
|
"words:headline"
|
|
4352
|
-
]
|
|
4641
|
+
],
|
|
4642
|
+
"signature": {
|
|
4643
|
+
"moves": [
|
|
4644
|
+
"scroll"
|
|
4645
|
+
],
|
|
4646
|
+
"floor": "subtle"
|
|
4647
|
+
},
|
|
4648
|
+
"signUp": false
|
|
4353
4649
|
},
|
|
4354
4650
|
{
|
|
4355
4651
|
"id": "real-estate",
|
|
@@ -4394,7 +4690,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4394
4690
|
"#0A66E8",
|
|
4395
4691
|
"#1E3A8A",
|
|
4396
4692
|
"#7A5B36"
|
|
4397
|
-
]
|
|
4693
|
+
],
|
|
4694
|
+
"never": [],
|
|
4695
|
+
"say": [],
|
|
4696
|
+
"sayHe": []
|
|
4398
4697
|
},
|
|
4399
4698
|
"fonts": "professional, confident",
|
|
4400
4699
|
"tone": "Clear and factual.",
|
|
@@ -4506,7 +4805,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4506
4805
|
"frame:inset",
|
|
4507
4806
|
"media:photo",
|
|
4508
4807
|
"words:headline"
|
|
4509
|
-
]
|
|
4808
|
+
],
|
|
4809
|
+
"signature": {
|
|
4810
|
+
"moves": [
|
|
4811
|
+
"scroll",
|
|
4812
|
+
"preloader"
|
|
4813
|
+
],
|
|
4814
|
+
"floor": "subtle"
|
|
4815
|
+
},
|
|
4816
|
+
"signUp": false
|
|
4510
4817
|
},
|
|
4511
4818
|
{
|
|
4512
4819
|
"id": "nonprofit",
|
|
@@ -4553,7 +4860,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4553
4860
|
"#3B6939",
|
|
4554
4861
|
"#0E7490",
|
|
4555
4862
|
"#9A4F2B"
|
|
4556
|
-
]
|
|
4863
|
+
],
|
|
4864
|
+
"never": [],
|
|
4865
|
+
"say": [],
|
|
4866
|
+
"sayHe": []
|
|
4557
4867
|
},
|
|
4558
4868
|
"fonts": "heartfelt, readable",
|
|
4559
4869
|
"tone": "Honest, specific about impact.",
|
|
@@ -4685,7 +4995,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4685
4995
|
"frame:inset",
|
|
4686
4996
|
"media:photo",
|
|
4687
4997
|
"words:headline"
|
|
4688
|
-
]
|
|
4998
|
+
],
|
|
4999
|
+
"signature": {
|
|
5000
|
+
"moves": [
|
|
5001
|
+
"scroll"
|
|
5002
|
+
],
|
|
5003
|
+
"floor": "subtle"
|
|
5004
|
+
},
|
|
5005
|
+
"signUp": false
|
|
4689
5006
|
},
|
|
4690
5007
|
{
|
|
4691
5008
|
"id": "venue-events",
|
|
@@ -4733,7 +5050,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4733
5050
|
"#7D5260",
|
|
4734
5051
|
"#7A5B36",
|
|
4735
5052
|
"#FF4FA3"
|
|
4736
|
-
]
|
|
5053
|
+
],
|
|
5054
|
+
"never": [],
|
|
5055
|
+
"say": [],
|
|
5056
|
+
"sayHe": []
|
|
4737
5057
|
},
|
|
4738
5058
|
"fonts": "elegant or bold",
|
|
4739
5059
|
"tone": "Evocative; the day, the place, the people.",
|
|
@@ -4837,7 +5157,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4837
5157
|
"frame:full",
|
|
4838
5158
|
"media:photo",
|
|
4839
5159
|
"words:wordmark"
|
|
4840
|
-
]
|
|
5160
|
+
],
|
|
5161
|
+
"signature": {
|
|
5162
|
+
"moves": [
|
|
5163
|
+
"preloader",
|
|
5164
|
+
"scroll"
|
|
5165
|
+
],
|
|
5166
|
+
"floor": "subtle"
|
|
5167
|
+
},
|
|
5168
|
+
"signUp": false
|
|
4841
5169
|
},
|
|
4842
5170
|
{
|
|
4843
5171
|
"id": "hotel-bnb",
|
|
@@ -4883,7 +5211,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4883
5211
|
"#0A66E8",
|
|
4884
5212
|
"#7A5B36",
|
|
4885
5213
|
"#0E8A89"
|
|
4886
|
-
]
|
|
5214
|
+
],
|
|
5215
|
+
"never": [],
|
|
5216
|
+
"say": [],
|
|
5217
|
+
"sayHe": []
|
|
4887
5218
|
},
|
|
4888
5219
|
"fonts": "elegant, welcoming",
|
|
4889
5220
|
"tone": "Welcoming, sensory.",
|
|
@@ -4989,7 +5320,15 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
4989
5320
|
"frame:full",
|
|
4990
5321
|
"media:photo",
|
|
4991
5322
|
"words:wordmark"
|
|
4992
|
-
]
|
|
5323
|
+
],
|
|
5324
|
+
"signature": {
|
|
5325
|
+
"moves": [
|
|
5326
|
+
"preloader",
|
|
5327
|
+
"scroll"
|
|
5328
|
+
],
|
|
5329
|
+
"floor": "subtle"
|
|
5330
|
+
},
|
|
5331
|
+
"signUp": true
|
|
4993
5332
|
},
|
|
4994
5333
|
{
|
|
4995
5334
|
"id": "classes",
|
|
@@ -5039,7 +5378,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
5039
5378
|
"#006A6A",
|
|
5040
5379
|
"#E5484D",
|
|
5041
5380
|
"#3B6939"
|
|
5042
|
-
]
|
|
5381
|
+
],
|
|
5382
|
+
"never": [],
|
|
5383
|
+
"say": [],
|
|
5384
|
+
"sayHe": []
|
|
5043
5385
|
},
|
|
5044
5386
|
"fonts": "friendly, large",
|
|
5045
5387
|
"tone": "Encouraging, clear for parents.",
|
|
@@ -5148,7 +5490,14 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
5148
5490
|
"frame:inset",
|
|
5149
5491
|
"media:photo",
|
|
5150
5492
|
"words:headline"
|
|
5151
|
-
]
|
|
5493
|
+
],
|
|
5494
|
+
"signature": {
|
|
5495
|
+
"moves": [
|
|
5496
|
+
"scroll"
|
|
5497
|
+
],
|
|
5498
|
+
"floor": "subtle"
|
|
5499
|
+
},
|
|
5500
|
+
"signUp": false
|
|
5152
5501
|
}
|
|
5153
5502
|
];
|
|
5154
5503
|
const SPEC_ANALYSIS_SHAPE = {
|
|
@@ -6529,6 +6878,22 @@ function motionFor(input, presetId, read = null, types = BUSINESS_TYPES, presets
|
|
|
6529
6878
|
}
|
|
6530
6879
|
return { ...out, why, basis };
|
|
6531
6880
|
}
|
|
6881
|
+
/**
|
|
6882
|
+
* Motion reach (MR-D1): what a kind of business says about its generated site's signature move — its moves (harness
|
|
6883
|
+
* SIGNATURE_MOVES), the Still floor, its ceiling and the preloaders its art direction refuses (ART_NEVER) — for design-core
|
|
6884
|
+
* `withSignatureMove`. ONE reading for the wizard's start (`presetDesign`) and every compose of a plan
|
|
6885
|
+
* (`businessComposeContext`). An unknown type, or one the contract gives no move: no moves (the look stays as it starts).
|
|
6886
|
+
*/
|
|
6887
|
+
function signatureInputOf(type, littleMovement = false) {
|
|
6888
|
+
const t = typeof type === 'string' ? businessTypeById(type) : type ?? undefined;
|
|
6889
|
+
return {
|
|
6890
|
+
moves: t?.signature?.moves ?? [],
|
|
6891
|
+
floor: t?.signature?.floor ?? null,
|
|
6892
|
+
ceiling: t?.ceiling ?? null,
|
|
6893
|
+
preloaderNever: t?.art?.preloader ?? [],
|
|
6894
|
+
...(littleMovement ? { littleMovement } : {}),
|
|
6895
|
+
};
|
|
6896
|
+
}
|
|
6532
6897
|
|
|
6533
6898
|
/**
|
|
6534
6899
|
* Design advice (AI plan rev 3 §3f, H5's core): the business type's avoid rules run against a built site's
|
|
@@ -7185,8 +7550,10 @@ const GENERATION_LIMITS = {
|
|
|
7185
7550
|
* A preset for this business: its choices, Motion from the business (`motionFor`), the references' colour as its seed
|
|
7186
7551
|
* when that colour passes AA in every mode the preset offers (`referenceSeed` — judged as used), and what the owner
|
|
7187
7552
|
* already set kept. The ONE rule for a Look pick and for Build with these. The style's first-visit preloader (AW5) is kept
|
|
7188
|
-
*
|
|
7189
|
-
*
|
|
7553
|
+
* on a start that moves (MR-D2 — `PRELOADER_LEVELS`) unless the kind of business's art direction refuses it (ART_NEVER: a
|
|
7554
|
+
* calm business never opens with one) or the owner asked for little movement (PL-D6); its By the scroll (AW10) on a start
|
|
7555
|
+
* that moves (MR-D3 — `SCRUB_LEVELS`), never under little movement. Then the kind of business signs it (MR-D1,
|
|
7556
|
+
* `withSignatureMove`) — the same rule every compose of the plan applies — and what the owner set is kept over all of it.
|
|
7190
7557
|
*/
|
|
7191
7558
|
function presetDesign(presetId, input, kept = {}, read = null) {
|
|
7192
7559
|
const base = presetChoices(presetId);
|
|
@@ -7196,9 +7563,14 @@ function presetDesign(presetId, input, kept = {}, read = null) {
|
|
|
7196
7563
|
const start = motionFor(motionInput, presetId, read);
|
|
7197
7564
|
const seed = referenceSeed(read, presetId);
|
|
7198
7565
|
const { preloader, scrub, ...rest } = base;
|
|
7199
|
-
const
|
|
7200
|
-
const
|
|
7201
|
-
|
|
7566
|
+
const little = start.basis.littleMovement;
|
|
7567
|
+
const refused = businessTypeById(motionInput.businessType)?.art?.preloader ?? [];
|
|
7568
|
+
const opens = preloader && !little && !refused.includes(preloader) && PRELOADER_LEVELS.includes(start.animate) ? { preloader } : {};
|
|
7569
|
+
const scrubs = scrub && !little && SCRUB_LEVELS.includes(start.animate) ? { scrub } : {};
|
|
7570
|
+
const started = { ...rest, ...opens, ...scrubs, ...(seed?.used ? { seed: seed.seed } : {}), scroll: start.scroll, animate: start.animate, between: start.between };
|
|
7571
|
+
// The owner's own choices are signed WITH the start (a move they turned off, `none` / `never`, stays off — D12) and
|
|
7572
|
+
// kept over it (their How animated is never lifted).
|
|
7573
|
+
return { ...withSignatureMove({ ...started, ...kept }, signatureInputOf(motionInput.businessType, little)).design, ...kept };
|
|
7202
7574
|
}
|
|
7203
7575
|
/**
|
|
7204
7576
|
* The look a business starts from: its best-ranked style (with the references' boost), at its defaults.
|
|
@@ -7358,6 +7730,8 @@ function filmIdeaFor(input) {
|
|
|
7358
7730
|
* own ground and said by `checkHeader` (`type-never`);
|
|
7359
7731
|
* - `opening` — pictures first: the Home opening the kind of business takes when its plan names none (harness
|
|
7360
7732
|
* OPENING_PICTURE), given only when a picture can come (`pictureCanCome`).
|
|
7733
|
+
* - `signature` — motion reach (MR-D1): the moves its site signs with (harness SIGNATURE_MOVES), the Still floor, its
|
|
7734
|
+
* ceiling and the preloaders it refuses — design-core `withSignatureMove` signs the look (none under little movement).
|
|
7361
7735
|
* An unknown or absent type gives nothing: the composer's defaults hold. (`calm` stays `composeContextOf`'s own argument.)
|
|
7362
7736
|
*/
|
|
7363
7737
|
function businessComposeContext(typeId, decisions) {
|
|
@@ -7371,6 +7745,10 @@ function businessComposeContext(typeId, decisions) {
|
|
|
7371
7745
|
businessType: type.id, ...(refuses ? { footerNever: never } : {}),
|
|
7372
7746
|
...(header && header.grounds.length > 0 ? { headerNever: header } : {}),
|
|
7373
7747
|
...(type.opening?.length && pictureCanCome(type, decisions) ? { opening: [...type.opening] } : {}),
|
|
7748
|
+
// Motion reach (MR-D1): the signature move its site signs with (none under little movement).
|
|
7749
|
+
...(type.signature?.moves.length ? { signature: signatureInputOf(type, !!decisions?.littleMovement) } : {}),
|
|
7750
|
+
// AW12 newsletter: its references close with a sign-up (the composer still asks for a reason to write).
|
|
7751
|
+
...(type.signUp ? { footerSignUp: true } : {}),
|
|
7374
7752
|
};
|
|
7375
7753
|
}
|
|
7376
7754
|
/** The layout photo ids that are the owner's own (`own:<asset>`). */
|
|
@@ -7420,5 +7798,5 @@ function runComposeContext(run) {
|
|
|
7420
7798
|
* Generated bundle index. Do not edit.
|
|
7421
7799
|
*/
|
|
7422
7800
|
|
|
7423
|
-
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, POPUP_NEWS_MAX_CHARS, POPUP_WORDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PopupStance, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_POPUP_STANCES, SPEC_STATED_FACTS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STATED_FACTS, STATED_FACT_KEYS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessComposeContext, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lintSentence, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, newsFromAnswer, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureCanCome, pictureStyleRead, pixelSamples, popupNewsOf, popupStanceFor, popupSuggestion, popupWordsIn, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, runComposeContext, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, unplacedPicturesOf, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
|
|
7801
|
+
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, POPUP_NEWS_MAX_CHARS, POPUP_WORDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PopupStance, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_POPUP_STANCES, SPEC_STATED_FACTS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STATED_FACTS, STATED_FACT_KEYS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessComposeContext, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lintSentence, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, newsFromAnswer, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureCanCome, pictureStyleRead, pixelSamples, popupNewsOf, popupStanceFor, popupSuggestion, popupWordsIn, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, runComposeContext, seedPassesPreset, signatureInputOf, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, unplacedPicturesOf, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
|
|
7424
7802
|
//# sourceMappingURL=vectoriox-iox-ui-harness-core.mjs.map
|