@vectoriox/iox-ui 5.125.0 → 5.126.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/fesm2022/vectoriox-iox-ui-generation-core.mjs +3239 -155
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +482 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/generation-core/index.d.ts +2889 -167
- package/harness-core/index.d.ts +270 -0
- package/package.json +1 -1
- package/src/generation-core/check-list.ts +28 -9
- package/src/generation-core/footer-mix.ts +67 -8
- package/src/generation-core/layout-language.ts +18 -0
- package/src/generation-core/site-spec.generated.ts +3016 -24
- package/src/harness-core/harness-spec.generated.ts +482 -0
package/harness-core/index.d.ts
CHANGED
|
@@ -166,6 +166,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
166
166
|
readonly moves: readonly [];
|
|
167
167
|
readonly say: readonly [];
|
|
168
168
|
};
|
|
169
|
+
readonly art: {
|
|
170
|
+
readonly preloader: readonly [];
|
|
171
|
+
readonly cover: readonly [];
|
|
172
|
+
readonly seam: readonly [];
|
|
173
|
+
readonly texture: readonly [];
|
|
174
|
+
readonly signatures: readonly [];
|
|
175
|
+
readonly secondScene: false;
|
|
176
|
+
readonly say: readonly [];
|
|
177
|
+
};
|
|
169
178
|
readonly world: "documentary";
|
|
170
179
|
readonly imagery: "Your own photos only, large and uncropped; never stock.";
|
|
171
180
|
readonly pages: readonly ["home", "work (collection)", "project (detail)", "about", "contact"];
|
|
@@ -236,6 +245,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
236
245
|
readonly moves: readonly [];
|
|
237
246
|
readonly say: readonly [];
|
|
238
247
|
};
|
|
248
|
+
readonly art: {
|
|
249
|
+
readonly preloader: readonly [];
|
|
250
|
+
readonly cover: readonly [];
|
|
251
|
+
readonly seam: readonly [];
|
|
252
|
+
readonly texture: readonly [];
|
|
253
|
+
readonly signatures: readonly [];
|
|
254
|
+
readonly secondScene: false;
|
|
255
|
+
readonly say: readonly [];
|
|
256
|
+
};
|
|
239
257
|
readonly world: "architectural";
|
|
240
258
|
readonly imagery: "Wide, bright room shots; details of materials.";
|
|
241
259
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "services", "about", "contact"];
|
|
@@ -307,6 +325,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
307
325
|
readonly moves: readonly [];
|
|
308
326
|
readonly say: readonly [];
|
|
309
327
|
};
|
|
328
|
+
readonly art: {
|
|
329
|
+
readonly preloader: readonly [];
|
|
330
|
+
readonly cover: readonly [];
|
|
331
|
+
readonly seam: readonly [];
|
|
332
|
+
readonly texture: readonly [];
|
|
333
|
+
readonly signatures: readonly [];
|
|
334
|
+
readonly secondScene: false;
|
|
335
|
+
readonly say: readonly [];
|
|
336
|
+
};
|
|
310
337
|
readonly world: "architectural";
|
|
311
338
|
readonly imagery: "Large project photos and drawings.";
|
|
312
339
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "about", "contact"];
|
|
@@ -379,6 +406,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
379
406
|
readonly moves: readonly [];
|
|
380
407
|
readonly say: readonly [];
|
|
381
408
|
};
|
|
409
|
+
readonly art: {
|
|
410
|
+
readonly preloader: readonly [];
|
|
411
|
+
readonly cover: readonly [];
|
|
412
|
+
readonly seam: readonly [];
|
|
413
|
+
readonly texture: readonly [];
|
|
414
|
+
readonly signatures: readonly [];
|
|
415
|
+
readonly secondScene: false;
|
|
416
|
+
readonly say: readonly [];
|
|
417
|
+
};
|
|
382
418
|
readonly world: "hard-light";
|
|
383
419
|
readonly imagery: "Case-study images of your own work.";
|
|
384
420
|
readonly pages: readonly ["home", "work (collection)", "case study (detail)", "services", "about", "contact"];
|
|
@@ -441,6 +477,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
441
477
|
readonly moves: readonly [];
|
|
442
478
|
readonly say: readonly [];
|
|
443
479
|
};
|
|
480
|
+
readonly art: {
|
|
481
|
+
readonly preloader: readonly [];
|
|
482
|
+
readonly cover: readonly [];
|
|
483
|
+
readonly seam: readonly [];
|
|
484
|
+
readonly texture: readonly [];
|
|
485
|
+
readonly signatures: readonly [];
|
|
486
|
+
readonly secondScene: false;
|
|
487
|
+
readonly say: readonly [];
|
|
488
|
+
};
|
|
444
489
|
readonly world: "drawing";
|
|
445
490
|
readonly imagery: "Your pieces, photographed flat and true to colour.";
|
|
446
491
|
readonly pages: readonly ["home", "works (collection)", "work (detail)", "about", "contact"];
|
|
@@ -505,6 +550,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
505
550
|
readonly moves: readonly [];
|
|
506
551
|
readonly say: readonly [];
|
|
507
552
|
};
|
|
553
|
+
readonly art: {
|
|
554
|
+
readonly preloader: readonly [];
|
|
555
|
+
readonly cover: readonly [];
|
|
556
|
+
readonly seam: readonly [];
|
|
557
|
+
readonly texture: readonly [];
|
|
558
|
+
readonly signatures: readonly [];
|
|
559
|
+
readonly secondScene: false;
|
|
560
|
+
readonly say: readonly [];
|
|
561
|
+
};
|
|
508
562
|
readonly world: "macro";
|
|
509
563
|
readonly imagery: "Your pieces and hands at work; natural light.";
|
|
510
564
|
readonly pages: readonly ["home", "pieces (collection)", "piece (detail)", "workshops", "about", "contact"];
|
|
@@ -568,6 +622,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
568
622
|
readonly moves: readonly [];
|
|
569
623
|
readonly say: readonly [];
|
|
570
624
|
};
|
|
625
|
+
readonly art: {
|
|
626
|
+
readonly preloader: readonly [];
|
|
627
|
+
readonly cover: readonly [];
|
|
628
|
+
readonly seam: readonly [];
|
|
629
|
+
readonly texture: readonly [];
|
|
630
|
+
readonly signatures: readonly [];
|
|
631
|
+
readonly secondScene: false;
|
|
632
|
+
readonly say: readonly [];
|
|
633
|
+
};
|
|
571
634
|
readonly world: "macro";
|
|
572
635
|
readonly imagery: "Close-ups on a plain ground.";
|
|
573
636
|
readonly pages: readonly ["home", "collection", "piece (detail)", "about", "contact"];
|
|
@@ -632,6 +695,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
632
695
|
readonly moves: readonly [];
|
|
633
696
|
readonly say: readonly [];
|
|
634
697
|
};
|
|
698
|
+
readonly art: {
|
|
699
|
+
readonly preloader: readonly [];
|
|
700
|
+
readonly cover: readonly [];
|
|
701
|
+
readonly seam: readonly [];
|
|
702
|
+
readonly texture: readonly [];
|
|
703
|
+
readonly signatures: readonly [];
|
|
704
|
+
readonly secondScene: false;
|
|
705
|
+
readonly say: readonly [];
|
|
706
|
+
};
|
|
635
707
|
readonly world: "low-key";
|
|
636
708
|
readonly imagery: "Healed work, clean photos.";
|
|
637
709
|
readonly pages: readonly ["home", "work (collection)", "artists", "faq", "contact"];
|
|
@@ -695,6 +767,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
695
767
|
readonly moves: readonly [];
|
|
696
768
|
readonly say: readonly [];
|
|
697
769
|
};
|
|
770
|
+
readonly art: {
|
|
771
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
772
|
+
readonly cover: readonly ["veil", "flood"];
|
|
773
|
+
readonly seam: readonly ["drip", "torn"];
|
|
774
|
+
readonly texture: readonly [];
|
|
775
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
776
|
+
readonly secondScene: true;
|
|
777
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
778
|
+
};
|
|
698
779
|
readonly world: "high-key";
|
|
699
780
|
readonly imagery: "Rooms, textures, hands; no faces needed.";
|
|
700
781
|
readonly pages: readonly ["home", "treatments (services)", "prices", "about", "contact"];
|
|
@@ -768,6 +849,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
768
849
|
readonly moves: readonly [];
|
|
769
850
|
readonly say: readonly [];
|
|
770
851
|
};
|
|
852
|
+
readonly art: {
|
|
853
|
+
readonly preloader: readonly ["counter"];
|
|
854
|
+
readonly cover: readonly ["veil"];
|
|
855
|
+
readonly seam: readonly [];
|
|
856
|
+
readonly texture: readonly [];
|
|
857
|
+
readonly signatures: readonly [];
|
|
858
|
+
readonly secondScene: true;
|
|
859
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
860
|
+
};
|
|
771
861
|
readonly world: "high-key";
|
|
772
862
|
readonly imagery: "Your own before-and-after photos.";
|
|
773
863
|
readonly pages: readonly ["home", "services", "prices", "gallery", "contact"];
|
|
@@ -835,6 +925,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
835
925
|
readonly moves: readonly [];
|
|
836
926
|
readonly say: readonly [];
|
|
837
927
|
};
|
|
928
|
+
readonly art: {
|
|
929
|
+
readonly preloader: readonly ["counter"];
|
|
930
|
+
readonly cover: readonly ["veil"];
|
|
931
|
+
readonly seam: readonly [];
|
|
932
|
+
readonly texture: readonly [];
|
|
933
|
+
readonly signatures: readonly [];
|
|
934
|
+
readonly secondScene: true;
|
|
935
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
936
|
+
};
|
|
838
937
|
readonly world: "high-key";
|
|
839
938
|
readonly imagery: "The room, real classes, daylight.";
|
|
840
939
|
readonly pages: readonly ["home", "classes", "schedule", "teachers", "prices", "contact"];
|
|
@@ -903,6 +1002,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
903
1002
|
readonly moves: readonly [];
|
|
904
1003
|
readonly say: readonly [];
|
|
905
1004
|
};
|
|
1005
|
+
readonly art: {
|
|
1006
|
+
readonly preloader: readonly ["counter"];
|
|
1007
|
+
readonly cover: readonly ["veil"];
|
|
1008
|
+
readonly seam: readonly [];
|
|
1009
|
+
readonly texture: readonly [];
|
|
1010
|
+
readonly signatures: readonly [];
|
|
1011
|
+
readonly secondScene: true;
|
|
1012
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1013
|
+
};
|
|
906
1014
|
readonly world: "hard-light";
|
|
907
1015
|
readonly imagery: "Real people training; movement.";
|
|
908
1016
|
readonly pages: readonly ["home", "classes", "prices", "coaches", "contact"];
|
|
@@ -967,6 +1075,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
967
1075
|
readonly moves: readonly ["auto", "page"];
|
|
968
1076
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
969
1077
|
};
|
|
1078
|
+
readonly art: {
|
|
1079
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1080
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1081
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1082
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1083
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1084
|
+
readonly secondScene: true;
|
|
1085
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1086
|
+
};
|
|
970
1087
|
readonly world: "documentary";
|
|
971
1088
|
readonly imagery: "A calm room, daylight; your portrait.";
|
|
972
1089
|
readonly pages: readonly ["home", "how I work", "about", "faq", "contact"];
|
|
@@ -1035,6 +1152,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1035
1152
|
readonly moves: readonly ["auto", "page"];
|
|
1036
1153
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1037
1154
|
};
|
|
1155
|
+
readonly art: {
|
|
1156
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1157
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1158
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1159
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1160
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1161
|
+
readonly secondScene: true;
|
|
1162
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1163
|
+
};
|
|
1038
1164
|
readonly world: "high-key";
|
|
1039
1165
|
readonly imagery: "Your team and rooms; no stock doctors.";
|
|
1040
1166
|
readonly pages: readonly ["home", "treatments (services)", "team", "faq", "contact"];
|
|
@@ -1104,6 +1230,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1104
1230
|
readonly moves: readonly ["auto", "page"];
|
|
1105
1231
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1106
1232
|
};
|
|
1233
|
+
readonly art: {
|
|
1234
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1235
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1236
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1237
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1238
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1239
|
+
readonly secondScene: true;
|
|
1240
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1241
|
+
};
|
|
1107
1242
|
readonly world: "high-key";
|
|
1108
1243
|
readonly imagery: "Your clinic and team.";
|
|
1109
1244
|
readonly pages: readonly ["home", "treatments", "team", "faq", "contact"];
|
|
@@ -1171,6 +1306,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1171
1306
|
readonly moves: readonly [];
|
|
1172
1307
|
readonly say: readonly [];
|
|
1173
1308
|
};
|
|
1309
|
+
readonly art: {
|
|
1310
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1311
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1312
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1313
|
+
readonly texture: readonly [];
|
|
1314
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1315
|
+
readonly secondScene: true;
|
|
1316
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1317
|
+
};
|
|
1174
1318
|
readonly world: "documentary";
|
|
1175
1319
|
readonly imagery: "Real animals you treat (with permission).";
|
|
1176
1320
|
readonly pages: readonly ["home", "services", "team", "faq", "contact"];
|
|
@@ -1234,6 +1378,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1234
1378
|
readonly moves: readonly [];
|
|
1235
1379
|
readonly say: readonly [];
|
|
1236
1380
|
};
|
|
1381
|
+
readonly art: {
|
|
1382
|
+
readonly preloader: readonly [];
|
|
1383
|
+
readonly cover: readonly [];
|
|
1384
|
+
readonly seam: readonly [];
|
|
1385
|
+
readonly texture: readonly [];
|
|
1386
|
+
readonly signatures: readonly [];
|
|
1387
|
+
readonly secondScene: false;
|
|
1388
|
+
readonly say: readonly [];
|
|
1389
|
+
};
|
|
1237
1390
|
readonly world: "low-key";
|
|
1238
1391
|
readonly imagery: "Your own food and room photos.";
|
|
1239
1392
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1304,6 +1457,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1304
1457
|
readonly moves: readonly [];
|
|
1305
1458
|
readonly say: readonly [];
|
|
1306
1459
|
};
|
|
1460
|
+
readonly art: {
|
|
1461
|
+
readonly preloader: readonly ["counter"];
|
|
1462
|
+
readonly cover: readonly ["veil"];
|
|
1463
|
+
readonly seam: readonly [];
|
|
1464
|
+
readonly texture: readonly [];
|
|
1465
|
+
readonly signatures: readonly [];
|
|
1466
|
+
readonly secondScene: true;
|
|
1467
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1468
|
+
};
|
|
1307
1469
|
readonly world: "documentary";
|
|
1308
1470
|
readonly imagery: "Your bakes and drinks, close up.";
|
|
1309
1471
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1371,6 +1533,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1371
1533
|
readonly moves: readonly [];
|
|
1372
1534
|
readonly say: readonly [];
|
|
1373
1535
|
};
|
|
1536
|
+
readonly art: {
|
|
1537
|
+
readonly preloader: readonly [];
|
|
1538
|
+
readonly cover: readonly [];
|
|
1539
|
+
readonly seam: readonly [];
|
|
1540
|
+
readonly texture: readonly [];
|
|
1541
|
+
readonly signatures: readonly [];
|
|
1542
|
+
readonly secondScene: false;
|
|
1543
|
+
readonly say: readonly [];
|
|
1544
|
+
};
|
|
1374
1545
|
readonly world: "nocturne";
|
|
1375
1546
|
readonly imagery: "The cellar, the bar, the bottle.";
|
|
1376
1547
|
readonly pages: readonly ["home", "menu or wines", "our story", "visit", "contact"];
|
|
@@ -1438,6 +1609,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1438
1609
|
readonly moves: readonly [];
|
|
1439
1610
|
readonly say: readonly [];
|
|
1440
1611
|
};
|
|
1612
|
+
readonly art: {
|
|
1613
|
+
readonly preloader: readonly [];
|
|
1614
|
+
readonly cover: readonly [];
|
|
1615
|
+
readonly seam: readonly [];
|
|
1616
|
+
readonly texture: readonly [];
|
|
1617
|
+
readonly signatures: readonly [];
|
|
1618
|
+
readonly secondScene: false;
|
|
1619
|
+
readonly say: readonly [];
|
|
1620
|
+
};
|
|
1441
1621
|
readonly world: "high-key";
|
|
1442
1622
|
readonly imagery: "Product photos on plain grounds; real people wearing them.";
|
|
1443
1623
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1500,6 +1680,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1500
1680
|
readonly moves: readonly [];
|
|
1501
1681
|
readonly say: readonly [];
|
|
1502
1682
|
};
|
|
1683
|
+
readonly art: {
|
|
1684
|
+
readonly preloader: readonly ["counter"];
|
|
1685
|
+
readonly cover: readonly ["veil"];
|
|
1686
|
+
readonly seam: readonly [];
|
|
1687
|
+
readonly texture: readonly [];
|
|
1688
|
+
readonly signatures: readonly [];
|
|
1689
|
+
readonly secondScene: true;
|
|
1690
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1691
|
+
};
|
|
1503
1692
|
readonly world: "macro";
|
|
1504
1693
|
readonly imagery: "Your own arrangements in daylight.";
|
|
1505
1694
|
readonly pages: readonly ["home", "flowers (collection)", "weddings and events", "about", "contact"];
|
|
@@ -1563,6 +1752,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1563
1752
|
readonly moves: readonly [];
|
|
1564
1753
|
readonly say: readonly [];
|
|
1565
1754
|
};
|
|
1755
|
+
readonly art: {
|
|
1756
|
+
readonly preloader: readonly [];
|
|
1757
|
+
readonly cover: readonly [];
|
|
1758
|
+
readonly seam: readonly [];
|
|
1759
|
+
readonly texture: readonly [];
|
|
1760
|
+
readonly signatures: readonly [];
|
|
1761
|
+
readonly secondScene: false;
|
|
1762
|
+
readonly say: readonly [];
|
|
1763
|
+
};
|
|
1566
1764
|
readonly world: "documentary";
|
|
1567
1765
|
readonly imagery: "Pieces in real rooms and on plain grounds.";
|
|
1568
1766
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1626,6 +1824,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1626
1824
|
readonly moves: readonly [];
|
|
1627
1825
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1628
1826
|
};
|
|
1827
|
+
readonly art: {
|
|
1828
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1829
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1830
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1831
|
+
readonly texture: readonly [];
|
|
1832
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1833
|
+
readonly secondScene: true;
|
|
1834
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1835
|
+
};
|
|
1629
1836
|
readonly world: "architectural";
|
|
1630
1837
|
readonly imagery: "Your portrait; diagrams over stock.";
|
|
1631
1838
|
readonly pages: readonly ["home", "services", "case studies", "about", "contact"];
|
|
@@ -1691,6 +1898,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1691
1898
|
readonly moves: readonly [];
|
|
1692
1899
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1693
1900
|
};
|
|
1901
|
+
readonly art: {
|
|
1902
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1903
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1904
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1905
|
+
readonly texture: readonly [];
|
|
1906
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1907
|
+
readonly secondScene: true;
|
|
1908
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1909
|
+
};
|
|
1694
1910
|
readonly world: "documentary";
|
|
1695
1911
|
readonly imagery: "Your portrait, working with people.";
|
|
1696
1912
|
readonly pages: readonly ["home", "how it works", "programmes", "about", "contact"];
|
|
@@ -1750,6 +1966,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1750
1966
|
readonly moves: readonly ["auto", "page"];
|
|
1751
1967
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1752
1968
|
};
|
|
1969
|
+
readonly art: {
|
|
1970
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1971
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1972
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1973
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1974
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1975
|
+
readonly secondScene: true;
|
|
1976
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1977
|
+
};
|
|
1753
1978
|
readonly world: "architectural";
|
|
1754
1979
|
readonly imagery: "Your team; your office.";
|
|
1755
1980
|
readonly pages: readonly ["home", "practice areas (services)", "team", "about", "contact"];
|
|
@@ -1820,6 +2045,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1820
2045
|
readonly moves: readonly [];
|
|
1821
2046
|
readonly say: readonly [];
|
|
1822
2047
|
};
|
|
2048
|
+
readonly art: {
|
|
2049
|
+
readonly preloader: readonly ["counter"];
|
|
2050
|
+
readonly cover: readonly ["veil"];
|
|
2051
|
+
readonly seam: readonly [];
|
|
2052
|
+
readonly texture: readonly [];
|
|
2053
|
+
readonly signatures: readonly [];
|
|
2054
|
+
readonly secondScene: true;
|
|
2055
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
2056
|
+
};
|
|
1823
2057
|
readonly world: "architectural";
|
|
1824
2058
|
readonly imagery: "Your own property photos; never stock.";
|
|
1825
2059
|
readonly pages: readonly ["home", "properties (collection)", "property (detail)", "about", "contact"];
|
|
@@ -1886,6 +2120,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1886
2120
|
readonly moves: readonly [];
|
|
1887
2121
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1888
2122
|
};
|
|
2123
|
+
readonly art: {
|
|
2124
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
2125
|
+
readonly cover: readonly ["veil", "flood"];
|
|
2126
|
+
readonly seam: readonly ["drip", "torn"];
|
|
2127
|
+
readonly texture: readonly [];
|
|
2128
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
2129
|
+
readonly secondScene: true;
|
|
2130
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
2131
|
+
};
|
|
1889
2132
|
readonly world: "documentary";
|
|
1890
2133
|
readonly imagery: "Real people you help (with permission).";
|
|
1891
2134
|
readonly pages: readonly ["home", "what we do", "stories", "get involved", "contact"];
|
|
@@ -1945,6 +2188,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1945
2188
|
readonly moves: readonly [];
|
|
1946
2189
|
readonly say: readonly [];
|
|
1947
2190
|
};
|
|
2191
|
+
readonly art: {
|
|
2192
|
+
readonly preloader: readonly [];
|
|
2193
|
+
readonly cover: readonly [];
|
|
2194
|
+
readonly seam: readonly [];
|
|
2195
|
+
readonly texture: readonly [];
|
|
2196
|
+
readonly signatures: readonly [];
|
|
2197
|
+
readonly secondScene: false;
|
|
2198
|
+
readonly say: readonly [];
|
|
2199
|
+
};
|
|
1948
2200
|
readonly world: "nocturne";
|
|
1949
2201
|
readonly imagery: "Real events at your venue.";
|
|
1950
2202
|
readonly pages: readonly ["home", "spaces", "gallery", "faq", "contact"];
|
|
@@ -2011,6 +2263,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2011
2263
|
readonly moves: readonly [];
|
|
2012
2264
|
readonly say: readonly [];
|
|
2013
2265
|
};
|
|
2266
|
+
readonly art: {
|
|
2267
|
+
readonly preloader: readonly [];
|
|
2268
|
+
readonly cover: readonly [];
|
|
2269
|
+
readonly seam: readonly [];
|
|
2270
|
+
readonly texture: readonly [];
|
|
2271
|
+
readonly signatures: readonly [];
|
|
2272
|
+
readonly secondScene: false;
|
|
2273
|
+
readonly say: readonly [];
|
|
2274
|
+
};
|
|
2014
2275
|
readonly world: "documentary";
|
|
2015
2276
|
readonly imagery: "Rooms, views, breakfast; your own photos.";
|
|
2016
2277
|
readonly pages: readonly ["home", "rooms (collection)", "room (detail)", "about", "contact"];
|
|
@@ -2077,6 +2338,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2077
2338
|
readonly moves: readonly [];
|
|
2078
2339
|
readonly say: readonly [];
|
|
2079
2340
|
};
|
|
2341
|
+
readonly art: {
|
|
2342
|
+
readonly preloader: readonly ["counter"];
|
|
2343
|
+
readonly cover: readonly ["veil"];
|
|
2344
|
+
readonly seam: readonly [];
|
|
2345
|
+
readonly texture: readonly [];
|
|
2346
|
+
readonly signatures: readonly [];
|
|
2347
|
+
readonly secondScene: true;
|
|
2348
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
2349
|
+
};
|
|
2080
2350
|
readonly world: "documentary";
|
|
2081
2351
|
readonly imagery: "Real classes (with permission).";
|
|
2082
2352
|
readonly pages: readonly ["home", "classes", "prices", "about", "contact"];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
LayoutIssue, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHow, LayoutListHover, LayoutListItem, LayoutListMix,
|
|
3
3
|
LayoutListMove, LayoutListPhone, LayoutListShape, LayoutListWho, LayoutMendKind, LayoutPage,
|
|
4
4
|
} from './layout-language';
|
|
5
|
-
import { listMeaning } from './list-table';
|
|
5
|
+
import { listBuiltWords, listMeaning, listWait } from './list-table';
|
|
6
6
|
import { SPEC_SITE_LAYOUT } from './site-spec.generated';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -16,6 +16,8 @@ const R = SPEC_SITE_LAYOUT.list.rules;
|
|
|
16
16
|
const IMAGE = 'image';
|
|
17
17
|
const inList = (values: ReadonlyArray<string>, v: unknown): boolean => typeof v === 'string' && values.includes(v);
|
|
18
18
|
const enumValues = (e: object): string[] => Object.values(e);
|
|
19
|
+
/** The words a refusal names: the DRAWN ones only — a refusal is the model's next turn, and a waiting word is never offered. */
|
|
20
|
+
const allowed = (k: Parameters<typeof listBuiltWords>[0]): string => listBuiltWords(k).join(' | ');
|
|
19
21
|
const has = <T extends string>(list: ReadonlyArray<T>, v: string): boolean => (list as ReadonlyArray<string>).includes(v);
|
|
20
22
|
|
|
21
23
|
/** The words a repaired mix is said in (the brief and the owner read them). */
|
|
@@ -46,16 +48,16 @@ export function checkList(mix: LayoutListMix, shape: LayoutListShape | null, lay
|
|
|
46
48
|
|
|
47
49
|
// Values outside the contract are the model's to answer: nothing is repaired over a mix that is not a mix.
|
|
48
50
|
if (!mix || typeof mix !== 'object') return [{ code: LayoutIssueCode.Shape, path: at, message: 'a list section names its mix' }];
|
|
49
|
-
if (!inList(enumValues(LayoutListItem), mix.item)) refuse(LayoutIssueCode.Value, `${at}.item`,
|
|
50
|
-
if (!inList(enumValues(LayoutListArrange), mix.arrange)) refuse(LayoutIssueCode.Value, `${at}.arrange`,
|
|
51
|
-
if (!inList(enumValues(LayoutListArrive), mix.arrive)) refuse(LayoutIssueCode.Value, `${at}.arrive`,
|
|
52
|
-
if (!inList(enumValues(LayoutListPhone), mix.phone)) refuse(LayoutIssueCode.Value, `${at}.phone`,
|
|
51
|
+
if (!inList(enumValues(LayoutListItem), mix.item)) refuse(LayoutIssueCode.Value, `${at}.item`, allowed('item'));
|
|
52
|
+
if (!inList(enumValues(LayoutListArrange), mix.arrange)) refuse(LayoutIssueCode.Value, `${at}.arrange`, allowed('arrange'));
|
|
53
|
+
if (!inList(enumValues(LayoutListArrive), mix.arrive)) refuse(LayoutIssueCode.Value, `${at}.arrive`, allowed('arrive'));
|
|
54
|
+
if (!inList(enumValues(LayoutListPhone), mix.phone)) refuse(LayoutIssueCode.Value, `${at}.phone`, allowed('phone'));
|
|
53
55
|
if (!Array.isArray(mix.parts) || mix.parts.some(p => typeof p !== 'string')) refuse(LayoutIssueCode.Shape, `${at}.parts`, 'the roles each item shows');
|
|
54
|
-
if (!Array.isArray(mix.move) || mix.move.some(m => !inList(enumValues(LayoutListMove), m))) refuse(LayoutIssueCode.Value, `${at}.move`,
|
|
55
|
-
if (!Array.isArray(mix.hover) || mix.hover.some(h => !inList(enumValues(LayoutListHover), h))) refuse(LayoutIssueCode.Value, `${at}.hover`,
|
|
56
|
+
if (!Array.isArray(mix.move) || mix.move.some(m => !inList(enumValues(LayoutListMove), m))) refuse(LayoutIssueCode.Value, `${at}.move`, allowed('move'));
|
|
57
|
+
if (!Array.isArray(mix.hover) || mix.hover.some(h => !inList(enumValues(LayoutListHover), h))) refuse(LayoutIssueCode.Value, `${at}.hover`, allowed('hover'));
|
|
56
58
|
if (mix.standout !== undefined) {
|
|
57
|
-
if (!inList(enumValues(LayoutListWho), mix.standout?.who)) refuse(LayoutIssueCode.Value, `${at}.standout.who`,
|
|
58
|
-
if (mix.standout?.how !== undefined && !inList(enumValues(LayoutListHow), mix.standout.how)) refuse(LayoutIssueCode.Value, `${at}.standout.how`,
|
|
59
|
+
if (!inList(enumValues(LayoutListWho), mix.standout?.who)) refuse(LayoutIssueCode.Value, `${at}.standout.who`, allowed('who'));
|
|
60
|
+
if (mix.standout?.how !== undefined && !inList(enumValues(LayoutListHow), mix.standout.how)) refuse(LayoutIssueCode.Value, `${at}.standout.how`, allowed('how'));
|
|
59
61
|
}
|
|
60
62
|
if (refused.length || !shape) return refused;
|
|
61
63
|
|
|
@@ -66,6 +68,23 @@ export function checkList(mix: LayoutListMix, shape: LayoutListShape | null, lay
|
|
|
66
68
|
const next: LayoutListMix = structuredClone(mix);
|
|
67
69
|
const said: string[] = [];
|
|
68
70
|
const repair = (message: string) => said.push(message);
|
|
71
|
+
|
|
72
|
+
// A word the product draws in a later phase (the contract's list table, award AW0): drawn as its stand-in meanwhile,
|
|
73
|
+
// and said — first, so every rule below judges the mix the product will draw. The wire never offers one.
|
|
74
|
+
const waiting = (k: 'item' | 'arrange' | 'arrive' | 'move' | 'hover', w: string): string | null | undefined => {
|
|
75
|
+
const wait = listWait(k, w);
|
|
76
|
+
if (!wait) return undefined;
|
|
77
|
+
repair(`${k} "${w}" is drawn in ${wait.phase}: ${wait.drawnAs ? `"${wait.drawnAs}" meanwhile` : 'left out meanwhile'}`);
|
|
78
|
+
return wait.drawnAs;
|
|
79
|
+
};
|
|
80
|
+
for (const k of ['item', 'arrange', 'arrive'] as const) {
|
|
81
|
+
const stand = waiting(k, next[k]);
|
|
82
|
+
if (stand !== undefined) (next as unknown as Record<string, string>)[k] = stand ?? (k === 'arrive' ? LayoutListArrive.Together : k === 'item' ? LayoutListItem.Card : LayoutListArrange.Row);
|
|
83
|
+
}
|
|
84
|
+
for (const k of ['move', 'hover'] as const) {
|
|
85
|
+
const drawn = (next[k] as string[]).map(w => { const stand = waiting(k, w); return stand === undefined ? w : stand; }).filter((w): w is string => !!w);
|
|
86
|
+
(next as unknown as Record<string, string[]>)[k] = [...new Set(drawn)];
|
|
87
|
+
}
|
|
69
88
|
const roles = shape.roles as ReadonlyArray<string>;
|
|
70
89
|
const pictured = roles.includes(IMAGE);
|
|
71
90
|
|