@vectoriox/iox-ui 5.195.0 → 5.197.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.
Files changed (52) hide show
  1. package/composite-core/index.d.ts +15 -2
  2. package/data-core/index.d.ts +101 -2
  3. package/design-core/index.d.ts +374 -8
  4. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +41 -12
  5. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-data-core.mjs +192 -2
  7. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-design-core.mjs +749 -264
  9. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1084 -630
  11. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +224 -3
  13. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-identity-core.mjs +11 -5
  15. package/fesm2022/vectoriox-iox-ui-identity-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui.mjs +100 -17
  17. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  18. package/generation-core/index.d.ts +351 -109
  19. package/harness-core/index.d.ts +166 -4
  20. package/identity-core/index.d.ts +8 -1
  21. package/index.d.ts +23 -2
  22. package/package.json +1 -1
  23. package/src/composite-core/account-runtime.ts +2 -2
  24. package/src/composite-core/header.ts +23 -1
  25. package/src/composite-core/slider-runtime.ts +16 -8
  26. package/src/data-core/placeholder-rows.ts +220 -0
  27. package/src/data-core/public-api.ts +2 -1
  28. package/src/design-core/contrast-audit.ts +38 -0
  29. package/src/design-core/flavor-spec.generated.ts +275 -1
  30. package/src/design-core/header-behaviour.ts +180 -3
  31. package/src/design-core/node-classes.ts +9 -2
  32. package/src/design-core/node-links.ts +34 -0
  33. package/src/generation-core/audit-site.ts +10 -1
  34. package/src/generation-core/audit-words.ts +5 -0
  35. package/src/generation-core/check-free.ts +21 -3
  36. package/src/generation-core/compose-site.ts +57 -17
  37. package/src/generation-core/free-opening.ts +57 -0
  38. package/src/generation-core/header-mix.ts +245 -12
  39. package/src/generation-core/item-fill.ts +42 -0
  40. package/src/generation-core/nav-shape.ts +45 -16
  41. package/src/generation-core/node-baselines.generated.ts +1 -0
  42. package/src/generation-core/opening-mix.ts +10 -0
  43. package/src/generation-core/public-api.ts +2 -0
  44. package/src/generation-core/site-build-run.ts +4 -0
  45. package/src/generation-core/site-spec.generated.ts +41 -9
  46. package/src/generation-core/stock-search.ts +106 -18
  47. package/src/generation-core/type-led.ts +19 -4
  48. package/src/harness-core/business-types.ts +11 -0
  49. package/src/harness-core/harness-spec.generated.ts +213 -0
  50. package/src/harness-core/run-compose-context.ts +12 -4
  51. package/src/identity-core/site-auth-transport.ts +11 -4
  52. package/styles/iox-design.css +149 -6
@@ -230,6 +230,11 @@ const SPEC_BUSINESS_TYPES = [
230
230
  "say": [],
231
231
  "sayHe": []
232
232
  },
233
+ "header": {
234
+ "grounds": [],
235
+ "say": [],
236
+ "sayHe": []
237
+ },
233
238
  "art": {
234
239
  "preloader": [],
235
240
  "cover": [],
@@ -373,6 +378,11 @@ const SPEC_BUSINESS_TYPES = [
373
378
  "say": [],
374
379
  "sayHe": []
375
380
  },
381
+ "header": {
382
+ "grounds": [],
383
+ "say": [],
384
+ "sayHe": []
385
+ },
376
386
  "art": {
377
387
  "preloader": [],
378
388
  "cover": [],
@@ -522,6 +532,11 @@ const SPEC_BUSINESS_TYPES = [
522
532
  "say": [],
523
533
  "sayHe": []
524
534
  },
535
+ "header": {
536
+ "grounds": [],
537
+ "say": [],
538
+ "sayHe": []
539
+ },
525
540
  "art": {
526
541
  "preloader": [],
527
542
  "cover": [],
@@ -670,6 +685,11 @@ const SPEC_BUSINESS_TYPES = [
670
685
  "say": [],
671
686
  "sayHe": []
672
687
  },
688
+ "header": {
689
+ "grounds": [],
690
+ "say": [],
691
+ "sayHe": []
692
+ },
673
693
  "art": {
674
694
  "preloader": [],
675
695
  "cover": [],
@@ -805,6 +825,11 @@ const SPEC_BUSINESS_TYPES = [
805
825
  "say": [],
806
826
  "sayHe": []
807
827
  },
828
+ "header": {
829
+ "grounds": [],
830
+ "say": [],
831
+ "sayHe": []
832
+ },
808
833
  "art": {
809
834
  "preloader": [],
810
835
  "cover": [],
@@ -948,6 +973,11 @@ const SPEC_BUSINESS_TYPES = [
948
973
  "say": [],
949
974
  "sayHe": []
950
975
  },
976
+ "header": {
977
+ "grounds": [],
978
+ "say": [],
979
+ "sayHe": []
980
+ },
951
981
  "art": {
952
982
  "preloader": [],
953
983
  "cover": [],
@@ -1083,6 +1113,11 @@ const SPEC_BUSINESS_TYPES = [
1083
1113
  "say": [],
1084
1114
  "sayHe": []
1085
1115
  },
1116
+ "header": {
1117
+ "grounds": [],
1118
+ "say": [],
1119
+ "sayHe": []
1120
+ },
1086
1121
  "art": {
1087
1122
  "preloader": [],
1088
1123
  "cover": [],
@@ -1222,6 +1257,11 @@ const SPEC_BUSINESS_TYPES = [
1222
1257
  "say": [],
1223
1258
  "sayHe": []
1224
1259
  },
1260
+ "header": {
1261
+ "grounds": [],
1262
+ "say": [],
1263
+ "sayHe": []
1264
+ },
1225
1265
  "art": {
1226
1266
  "preloader": [],
1227
1267
  "cover": [],
@@ -1372,6 +1412,18 @@ const SPEC_BUSINESS_TYPES = [
1372
1412
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
1373
1413
  ]
1374
1414
  },
1415
+ "header": {
1416
+ "grounds": [
1417
+ "over",
1418
+ "over-glass"
1419
+ ],
1420
+ "say": [
1421
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
1422
+ ],
1423
+ "sayHe": [
1424
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
1425
+ ]
1426
+ },
1375
1427
  "art": {
1376
1428
  "preloader": [
1377
1429
  "counter",
@@ -1544,6 +1596,11 @@ const SPEC_BUSINESS_TYPES = [
1544
1596
  "say": [],
1545
1597
  "sayHe": []
1546
1598
  },
1599
+ "header": {
1600
+ "grounds": [],
1601
+ "say": [],
1602
+ "sayHe": []
1603
+ },
1547
1604
  "art": {
1548
1605
  "preloader": [
1549
1606
  "counter"
@@ -1690,6 +1747,11 @@ const SPEC_BUSINESS_TYPES = [
1690
1747
  "say": [],
1691
1748
  "sayHe": []
1692
1749
  },
1750
+ "header": {
1751
+ "grounds": [],
1752
+ "say": [],
1753
+ "sayHe": []
1754
+ },
1693
1755
  "art": {
1694
1756
  "preloader": [
1695
1757
  "counter"
@@ -1843,6 +1905,11 @@ const SPEC_BUSINESS_TYPES = [
1843
1905
  "say": [],
1844
1906
  "sayHe": []
1845
1907
  },
1908
+ "header": {
1909
+ "grounds": [],
1910
+ "say": [],
1911
+ "sayHe": []
1912
+ },
1846
1913
  "art": {
1847
1914
  "preloader": [
1848
1915
  "counter"
@@ -2012,6 +2079,18 @@ const SPEC_BUSINESS_TYPES = [
2012
2079
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
2013
2080
  ]
2014
2081
  },
2082
+ "header": {
2083
+ "grounds": [
2084
+ "over",
2085
+ "over-glass"
2086
+ ],
2087
+ "say": [
2088
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
2089
+ ],
2090
+ "sayHe": [
2091
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
2092
+ ]
2093
+ },
2015
2094
  "art": {
2016
2095
  "preloader": [
2017
2096
  "mark",
@@ -2208,6 +2287,18 @@ const SPEC_BUSINESS_TYPES = [
2208
2287
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
2209
2288
  ]
2210
2289
  },
2290
+ "header": {
2291
+ "grounds": [
2292
+ "over",
2293
+ "over-glass"
2294
+ ],
2295
+ "say": [
2296
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
2297
+ ],
2298
+ "sayHe": [
2299
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
2300
+ ]
2301
+ },
2211
2302
  "art": {
2212
2303
  "preloader": [
2213
2304
  "mark",
@@ -2400,6 +2491,18 @@ const SPEC_BUSINESS_TYPES = [
2400
2491
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
2401
2492
  ]
2402
2493
  },
2494
+ "header": {
2495
+ "grounds": [
2496
+ "over",
2497
+ "over-glass"
2498
+ ],
2499
+ "say": [
2500
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
2501
+ ],
2502
+ "sayHe": [
2503
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
2504
+ ]
2505
+ },
2403
2506
  "art": {
2404
2507
  "preloader": [
2405
2508
  "mark",
@@ -2586,6 +2689,18 @@ const SPEC_BUSINESS_TYPES = [
2586
2689
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
2587
2690
  ]
2588
2691
  },
2692
+ "header": {
2693
+ "grounds": [
2694
+ "over",
2695
+ "over-glass"
2696
+ ],
2697
+ "say": [
2698
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
2699
+ ],
2700
+ "sayHe": [
2701
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
2702
+ ]
2703
+ },
2589
2704
  "art": {
2590
2705
  "preloader": [
2591
2706
  "counter",
@@ -2734,6 +2849,11 @@ const SPEC_BUSINESS_TYPES = [
2734
2849
  "say": [],
2735
2850
  "sayHe": []
2736
2851
  },
2852
+ "header": {
2853
+ "grounds": [],
2854
+ "say": [],
2855
+ "sayHe": []
2856
+ },
2737
2857
  "art": {
2738
2858
  "preloader": [],
2739
2859
  "cover": [],
@@ -2883,6 +3003,11 @@ const SPEC_BUSINESS_TYPES = [
2883
3003
  "say": [],
2884
3004
  "sayHe": []
2885
3005
  },
3006
+ "header": {
3007
+ "grounds": [],
3008
+ "say": [],
3009
+ "sayHe": []
3010
+ },
2886
3011
  "art": {
2887
3012
  "preloader": [
2888
3013
  "counter"
@@ -3031,6 +3156,11 @@ const SPEC_BUSINESS_TYPES = [
3031
3156
  "say": [],
3032
3157
  "sayHe": []
3033
3158
  },
3159
+ "header": {
3160
+ "grounds": [],
3161
+ "say": [],
3162
+ "sayHe": []
3163
+ },
3034
3164
  "art": {
3035
3165
  "preloader": [],
3036
3166
  "cover": [],
@@ -3173,6 +3303,11 @@ const SPEC_BUSINESS_TYPES = [
3173
3303
  "say": [],
3174
3304
  "sayHe": []
3175
3305
  },
3306
+ "header": {
3307
+ "grounds": [],
3308
+ "say": [],
3309
+ "sayHe": []
3310
+ },
3176
3311
  "art": {
3177
3312
  "preloader": [],
3178
3313
  "cover": [],
@@ -3305,6 +3440,11 @@ const SPEC_BUSINESS_TYPES = [
3305
3440
  "say": [],
3306
3441
  "sayHe": []
3307
3442
  },
3443
+ "header": {
3444
+ "grounds": [],
3445
+ "say": [],
3446
+ "sayHe": []
3447
+ },
3308
3448
  "art": {
3309
3449
  "preloader": [
3310
3450
  "counter"
@@ -3445,6 +3585,11 @@ const SPEC_BUSINESS_TYPES = [
3445
3585
  "say": [],
3446
3586
  "sayHe": []
3447
3587
  },
3588
+ "header": {
3589
+ "grounds": [],
3590
+ "say": [],
3591
+ "sayHe": []
3592
+ },
3448
3593
  "art": {
3449
3594
  "preloader": [],
3450
3595
  "cover": [],
@@ -3600,6 +3745,18 @@ const SPEC_BUSINESS_TYPES = [
3600
3745
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
3601
3746
  ]
3602
3747
  },
3748
+ "header": {
3749
+ "grounds": [
3750
+ "over",
3751
+ "over-glass"
3752
+ ],
3753
+ "say": [
3754
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
3755
+ ],
3756
+ "sayHe": [
3757
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
3758
+ ]
3759
+ },
3603
3760
  "art": {
3604
3761
  "preloader": [
3605
3762
  "counter",
@@ -3772,6 +3929,18 @@ const SPEC_BUSINESS_TYPES = [
3772
3929
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
3773
3930
  ]
3774
3931
  },
3932
+ "header": {
3933
+ "grounds": [
3934
+ "over",
3935
+ "over-glass"
3936
+ ],
3937
+ "say": [
3938
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
3939
+ ],
3940
+ "sayHe": [
3941
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
3942
+ ]
3943
+ },
3775
3944
  "art": {
3776
3945
  "preloader": [
3777
3946
  "counter",
@@ -3941,6 +4110,18 @@ const SPEC_BUSINESS_TYPES = [
3941
4110
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
3942
4111
  ]
3943
4112
  },
4113
+ "header": {
4114
+ "grounds": [
4115
+ "over",
4116
+ "over-glass"
4117
+ ],
4118
+ "say": [
4119
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
4120
+ ],
4121
+ "sayHe": [
4122
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
4123
+ ]
4124
+ },
3944
4125
  "art": {
3945
4126
  "preloader": [
3946
4127
  "mark",
@@ -4113,6 +4294,11 @@ const SPEC_BUSINESS_TYPES = [
4113
4294
  "say": [],
4114
4295
  "sayHe": []
4115
4296
  },
4297
+ "header": {
4298
+ "grounds": [],
4299
+ "say": [],
4300
+ "sayHe": []
4301
+ },
4116
4302
  "art": {
4117
4303
  "preloader": [
4118
4304
  "counter"
@@ -4283,6 +4469,18 @@ const SPEC_BUSINESS_TYPES = [
4283
4469
  "מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."
4284
4470
  ]
4285
4471
  },
4472
+ "header": {
4473
+ "grounds": [
4474
+ "over",
4475
+ "over-glass"
4476
+ ],
4477
+ "say": [
4478
+ "People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."
4479
+ ],
4480
+ "sayHe": [
4481
+ "מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."
4482
+ ]
4483
+ },
4286
4484
  "art": {
4287
4485
  "preloader": [
4288
4486
  "counter",
@@ -4425,6 +4623,11 @@ const SPEC_BUSINESS_TYPES = [
4425
4623
  "say": [],
4426
4624
  "sayHe": []
4427
4625
  },
4626
+ "header": {
4627
+ "grounds": [],
4628
+ "say": [],
4629
+ "sayHe": []
4630
+ },
4428
4631
  "art": {
4429
4632
  "preloader": [],
4430
4633
  "cover": [],
@@ -4565,6 +4768,11 @@ const SPEC_BUSINESS_TYPES = [
4565
4768
  "say": [],
4566
4769
  "sayHe": []
4567
4770
  },
4771
+ "header": {
4772
+ "grounds": [],
4773
+ "say": [],
4774
+ "sayHe": []
4775
+ },
4568
4776
  "art": {
4569
4777
  "preloader": [],
4570
4778
  "cover": [],
@@ -4711,6 +4919,11 @@ const SPEC_BUSINESS_TYPES = [
4711
4919
  "say": [],
4712
4920
  "sayHe": []
4713
4921
  },
4922
+ "header": {
4923
+ "grounds": [],
4924
+ "say": [],
4925
+ "sayHe": []
4926
+ },
4714
4927
  "art": {
4715
4928
  "preloader": [
4716
4929
  "counter"
@@ -6952,7 +7165,9 @@ function filmIdeaFor(input) {
6952
7165
  * What the composer takes from the reading's kind of business (award §7.1g, AW12):
6953
7166
  * - `businessType` — the footer's call word follows it (AW12-D15, generation-core `footerCallWord`);
6954
7167
  * - `footerNever` — what that kind of business's footer never wears (AW12-D10, harness FOOTER_NEVER), mended and said by
6955
- * `checkFooter` (`type-never`).
7168
+ * `checkFooter` (`type-never`);
7169
+ * - `headerNever` — what that kind of business's header never stands on (HI3-D12, harness HEADER_NEVER), mended to its
7170
+ * own ground and said by `checkHeader` (`type-never`).
6956
7171
  * An unknown or absent type gives nothing: the composer's defaults hold. (`calm` stays `composeContextOf`'s own argument.)
6957
7172
  */
6958
7173
  function businessComposeContext(typeId) {
@@ -6961,14 +7176,18 @@ function businessComposeContext(typeId) {
6961
7176
  return {};
6962
7177
  const never = type.footer;
6963
7178
  const refuses = !!never && (never.closings.length > 0 || never.grounds.length > 0);
6964
- return { businessType: type.id, ...(refuses ? { footerNever: never } : {}) };
7179
+ const header = type.header;
7180
+ return {
7181
+ businessType: type.id, ...(refuses ? { footerNever: never } : {}),
7182
+ ...(header && header.grounds.length > 0 ? { headerNever: header } : {}),
7183
+ };
6965
7184
  }
6966
7185
  /**
6967
7186
  * THE compose context of a build run (moved from iox-cms `site-builds.service`, iox-cms-client#111): its year, its
6968
7187
  * layouts' photos, its tier, the legal context its preflight read (AW1), whether its business is calm (AW6 — the body
6969
7188
  * takes no shaped edge), its kind of business for the footer (AW12), and — once the stock step has placed the pictures —
6970
7189
  * what fills them (iox-ui#129: a section nothing fills is composed type-led, an empty photo on a composed page a ground
6971
- * plate). ONE reading, so every compose of a run's plan — each step, a resumed step, a redesign, the builder's Re-fit —
7190
+ * plate), and whether the header's words read at rest over the home opening (HI3-D5, judged at preflight). ONE reading, so every compose of a run's plan — each step, a resumed step, a redesign, the builder's Re-fit —
6972
7191
  * composes the same site. Pure.
6973
7192
  */
6974
7193
  function runComposeContext(run) {
@@ -6976,6 +7195,8 @@ function runComposeContext(run) {
6976
7195
  const context = {
6977
7196
  ...composeContextOf(run.year, decisions?.layoutPhotos, run.tier ?? undefined, decisions?.legal ?? null, isCalmBusinessType(decisions?.businessType)),
6978
7197
  ...businessComposeContext(decisions?.businessType),
7198
+ // HI3-D5: the preflight judged the words at rest once, on the pixels it held; every step composes with that answer.
7199
+ ...(typeof decisions?.headerReadable === 'boolean' ? { headerReadable: decisions.headerReadable } : {}),
6979
7200
  };
6980
7201
  return run.pictures ? { ...context, pictures: run.pictures } : context;
6981
7202
  }