@vectoriox/iox-ui 5.105.1 → 5.107.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.
@@ -161,6 +161,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
161
161
  readonly between: "cinematic";
162
162
  };
163
163
  readonly ceiling: "expressive";
164
+ readonly lists: {
165
+ readonly arranges: readonly [];
166
+ readonly moves: readonly [];
167
+ readonly say: readonly [];
168
+ };
164
169
  readonly world: "documentary";
165
170
  readonly imagery: "Your own photos only, large and uncropped; never stock.";
166
171
  readonly pages: readonly ["home", "work (collection)", "project (detail)", "about", "contact"];
@@ -226,6 +231,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
226
231
  readonly between: "cinematic";
227
232
  };
228
233
  readonly ceiling: "expressive";
234
+ readonly lists: {
235
+ readonly arranges: readonly [];
236
+ readonly moves: readonly [];
237
+ readonly say: readonly [];
238
+ };
229
239
  readonly world: "architectural";
230
240
  readonly imagery: "Wide, bright room shots; details of materials.";
231
241
  readonly pages: readonly ["home", "projects (collection)", "project (detail)", "services", "about", "contact"];
@@ -292,6 +302,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
292
302
  readonly between: "fade";
293
303
  };
294
304
  readonly ceiling: "expressive";
305
+ readonly lists: {
306
+ readonly arranges: readonly [];
307
+ readonly moves: readonly [];
308
+ readonly say: readonly [];
309
+ };
295
310
  readonly world: "architectural";
296
311
  readonly imagery: "Large project photos and drawings.";
297
312
  readonly pages: readonly ["home", "projects (collection)", "project (detail)", "about", "contact"];
@@ -359,6 +374,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
359
374
  readonly between: "slide";
360
375
  };
361
376
  readonly ceiling: "expressive";
377
+ readonly lists: {
378
+ readonly arranges: readonly [];
379
+ readonly moves: readonly [];
380
+ readonly say: readonly [];
381
+ };
362
382
  readonly world: "hard-light";
363
383
  readonly imagery: "Case-study images of your own work.";
364
384
  readonly pages: readonly ["home", "work (collection)", "case study (detail)", "services", "about", "contact"];
@@ -416,6 +436,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
416
436
  readonly between: "fade";
417
437
  };
418
438
  readonly ceiling: "expressive";
439
+ readonly lists: {
440
+ readonly arranges: readonly [];
441
+ readonly moves: readonly [];
442
+ readonly say: readonly [];
443
+ };
419
444
  readonly world: "drawing";
420
445
  readonly imagery: "Your pieces, photographed flat and true to colour.";
421
446
  readonly pages: readonly ["home", "works (collection)", "work (detail)", "about", "contact"];
@@ -475,6 +500,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
475
500
  readonly between: "slide";
476
501
  };
477
502
  readonly ceiling: "expressive";
503
+ readonly lists: {
504
+ readonly arranges: readonly [];
505
+ readonly moves: readonly [];
506
+ readonly say: readonly [];
507
+ };
478
508
  readonly world: "macro";
479
509
  readonly imagery: "Your pieces and hands at work; natural light.";
480
510
  readonly pages: readonly ["home", "pieces (collection)", "piece (detail)", "workshops", "about", "contact"];
@@ -533,6 +563,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
533
563
  readonly between: "cinematic";
534
564
  };
535
565
  readonly ceiling: "expressive";
566
+ readonly lists: {
567
+ readonly arranges: readonly [];
568
+ readonly moves: readonly [];
569
+ readonly say: readonly [];
570
+ };
536
571
  readonly world: "macro";
537
572
  readonly imagery: "Close-ups on a plain ground.";
538
573
  readonly pages: readonly ["home", "collection", "piece (detail)", "about", "contact"];
@@ -592,6 +627,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
592
627
  readonly between: "slide";
593
628
  };
594
629
  readonly ceiling: "expressive";
630
+ readonly lists: {
631
+ readonly arranges: readonly [];
632
+ readonly moves: readonly [];
633
+ readonly say: readonly [];
634
+ };
595
635
  readonly world: "low-key";
596
636
  readonly imagery: "Healed work, clean photos.";
597
637
  readonly pages: readonly ["home", "work (collection)", "artists", "faq", "contact"];
@@ -650,6 +690,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
650
690
  readonly between: "fade";
651
691
  };
652
692
  readonly ceiling: "standard";
693
+ readonly lists: {
694
+ readonly arranges: readonly [];
695
+ readonly moves: readonly [];
696
+ readonly say: readonly [];
697
+ };
653
698
  readonly world: "high-key";
654
699
  readonly imagery: "Rooms, textures, hands; no faces needed.";
655
700
  readonly pages: readonly ["home", "treatments (services)", "prices", "about", "contact"];
@@ -718,6 +763,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
718
763
  readonly between: "fade";
719
764
  };
720
765
  readonly ceiling: "lively";
766
+ readonly lists: {
767
+ readonly arranges: readonly [];
768
+ readonly moves: readonly [];
769
+ readonly say: readonly [];
770
+ };
721
771
  readonly world: "high-key";
722
772
  readonly imagery: "Your own before-and-after photos.";
723
773
  readonly pages: readonly ["home", "services", "prices", "gallery", "contact"];
@@ -780,6 +830,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
780
830
  readonly between: "fade";
781
831
  };
782
832
  readonly ceiling: "lively";
833
+ readonly lists: {
834
+ readonly arranges: readonly [];
835
+ readonly moves: readonly [];
836
+ readonly say: readonly [];
837
+ };
783
838
  readonly world: "high-key";
784
839
  readonly imagery: "The room, real classes, daylight.";
785
840
  readonly pages: readonly ["home", "classes", "schedule", "teachers", "prices", "contact"];
@@ -843,6 +898,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
843
898
  readonly between: "slide";
844
899
  };
845
900
  readonly ceiling: "lively";
901
+ readonly lists: {
902
+ readonly arranges: readonly [];
903
+ readonly moves: readonly [];
904
+ readonly say: readonly [];
905
+ };
846
906
  readonly world: "hard-light";
847
907
  readonly imagery: "Real people training; movement.";
848
908
  readonly pages: readonly ["home", "classes", "prices", "coaches", "contact"];
@@ -902,6 +962,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
902
962
  readonly between: "none";
903
963
  };
904
964
  readonly ceiling: "subtle";
965
+ readonly lists: {
966
+ readonly arranges: readonly ["deck"];
967
+ readonly moves: readonly ["auto", "page"];
968
+ readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
969
+ };
905
970
  readonly world: "documentary";
906
971
  readonly imagery: "A calm room, daylight; your portrait.";
907
972
  readonly pages: readonly ["home", "how I work", "about", "faq", "contact"];
@@ -965,6 +1030,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
965
1030
  readonly between: "fade";
966
1031
  };
967
1032
  readonly ceiling: "subtle";
1033
+ readonly lists: {
1034
+ readonly arranges: readonly ["deck"];
1035
+ readonly moves: readonly ["auto", "page"];
1036
+ readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
1037
+ };
968
1038
  readonly world: "high-key";
969
1039
  readonly imagery: "Your team and rooms; no stock doctors.";
970
1040
  readonly pages: readonly ["home", "treatments (services)", "team", "faq", "contact"];
@@ -1029,6 +1099,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1029
1099
  readonly between: "fade";
1030
1100
  };
1031
1101
  readonly ceiling: "subtle";
1102
+ readonly lists: {
1103
+ readonly arranges: readonly ["deck"];
1104
+ readonly moves: readonly ["auto", "page"];
1105
+ readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
1106
+ };
1032
1107
  readonly world: "high-key";
1033
1108
  readonly imagery: "Your clinic and team.";
1034
1109
  readonly pages: readonly ["home", "treatments", "team", "faq", "contact"];
@@ -1091,6 +1166,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1091
1166
  readonly between: "fade";
1092
1167
  };
1093
1168
  readonly ceiling: "standard";
1169
+ readonly lists: {
1170
+ readonly arranges: readonly [];
1171
+ readonly moves: readonly [];
1172
+ readonly say: readonly [];
1173
+ };
1094
1174
  readonly world: "documentary";
1095
1175
  readonly imagery: "Real animals you treat (with permission).";
1096
1176
  readonly pages: readonly ["home", "services", "team", "faq", "contact"];
@@ -1149,6 +1229,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1149
1229
  readonly between: "fade";
1150
1230
  };
1151
1231
  readonly ceiling: "expressive";
1232
+ readonly lists: {
1233
+ readonly arranges: readonly [];
1234
+ readonly moves: readonly [];
1235
+ readonly say: readonly [];
1236
+ };
1152
1237
  readonly world: "low-key";
1153
1238
  readonly imagery: "Your own food and room photos.";
1154
1239
  readonly pages: readonly ["home", "menu", "about", "contact"];
@@ -1214,6 +1299,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1214
1299
  readonly between: "slide";
1215
1300
  };
1216
1301
  readonly ceiling: "lively";
1302
+ readonly lists: {
1303
+ readonly arranges: readonly [];
1304
+ readonly moves: readonly [];
1305
+ readonly say: readonly [];
1306
+ };
1217
1307
  readonly world: "documentary";
1218
1308
  readonly imagery: "Your bakes and drinks, close up.";
1219
1309
  readonly pages: readonly ["home", "menu", "about", "contact"];
@@ -1276,6 +1366,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1276
1366
  readonly between: "cinematic";
1277
1367
  };
1278
1368
  readonly ceiling: "expressive";
1369
+ readonly lists: {
1370
+ readonly arranges: readonly [];
1371
+ readonly moves: readonly [];
1372
+ readonly say: readonly [];
1373
+ };
1279
1374
  readonly world: "nocturne";
1280
1375
  readonly imagery: "The cellar, the bar, the bottle.";
1281
1376
  readonly pages: readonly ["home", "menu or wines", "our story", "visit", "contact"];
@@ -1338,6 +1433,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1338
1433
  readonly between: "slide";
1339
1434
  };
1340
1435
  readonly ceiling: "expressive";
1436
+ readonly lists: {
1437
+ readonly arranges: readonly [];
1438
+ readonly moves: readonly [];
1439
+ readonly say: readonly [];
1440
+ };
1341
1441
  readonly world: "high-key";
1342
1442
  readonly imagery: "Product photos on plain grounds; real people wearing them.";
1343
1443
  readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
@@ -1395,6 +1495,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1395
1495
  readonly between: "fade";
1396
1496
  };
1397
1497
  readonly ceiling: "lively";
1498
+ readonly lists: {
1499
+ readonly arranges: readonly [];
1500
+ readonly moves: readonly [];
1501
+ readonly say: readonly [];
1502
+ };
1398
1503
  readonly world: "macro";
1399
1504
  readonly imagery: "Your own arrangements in daylight.";
1400
1505
  readonly pages: readonly ["home", "flowers (collection)", "weddings and events", "about", "contact"];
@@ -1453,6 +1558,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1453
1558
  readonly between: "fade";
1454
1559
  };
1455
1560
  readonly ceiling: "expressive";
1561
+ readonly lists: {
1562
+ readonly arranges: readonly [];
1563
+ readonly moves: readonly [];
1564
+ readonly say: readonly [];
1565
+ };
1456
1566
  readonly world: "documentary";
1457
1567
  readonly imagery: "Pieces in real rooms and on plain grounds.";
1458
1568
  readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
@@ -1511,6 +1621,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1511
1621
  readonly between: "fade";
1512
1622
  };
1513
1623
  readonly ceiling: "standard";
1624
+ readonly lists: {
1625
+ readonly arranges: readonly ["deck"];
1626
+ readonly moves: readonly [];
1627
+ readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
1628
+ };
1514
1629
  readonly world: "architectural";
1515
1630
  readonly imagery: "Your portrait; diagrams over stock.";
1516
1631
  readonly pages: readonly ["home", "services", "case studies", "about", "contact"];
@@ -1571,6 +1686,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1571
1686
  readonly between: "fade";
1572
1687
  };
1573
1688
  readonly ceiling: "standard";
1689
+ readonly lists: {
1690
+ readonly arranges: readonly ["deck"];
1691
+ readonly moves: readonly [];
1692
+ readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
1693
+ };
1574
1694
  readonly world: "documentary";
1575
1695
  readonly imagery: "Your portrait, working with people.";
1576
1696
  readonly pages: readonly ["home", "how it works", "programmes", "about", "contact"];
@@ -1625,6 +1745,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1625
1745
  readonly between: "none";
1626
1746
  };
1627
1747
  readonly ceiling: "subtle";
1748
+ readonly lists: {
1749
+ readonly arranges: readonly ["deck"];
1750
+ readonly moves: readonly ["auto", "page"];
1751
+ readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
1752
+ };
1628
1753
  readonly world: "architectural";
1629
1754
  readonly imagery: "Your team; your office.";
1630
1755
  readonly pages: readonly ["home", "practice areas (services)", "team", "about", "contact"];
@@ -1690,6 +1815,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1690
1815
  readonly between: "slide";
1691
1816
  };
1692
1817
  readonly ceiling: "lively";
1818
+ readonly lists: {
1819
+ readonly arranges: readonly [];
1820
+ readonly moves: readonly [];
1821
+ readonly say: readonly [];
1822
+ };
1693
1823
  readonly world: "architectural";
1694
1824
  readonly imagery: "Your own property photos; never stock.";
1695
1825
  readonly pages: readonly ["home", "properties (collection)", "property (detail)", "about", "contact"];
@@ -1751,6 +1881,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1751
1881
  readonly between: "fade";
1752
1882
  };
1753
1883
  readonly ceiling: "standard";
1884
+ readonly lists: {
1885
+ readonly arranges: readonly ["deck"];
1886
+ readonly moves: readonly [];
1887
+ readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
1888
+ };
1754
1889
  readonly world: "documentary";
1755
1890
  readonly imagery: "Real people you help (with permission).";
1756
1891
  readonly pages: readonly ["home", "what we do", "stories", "get involved", "contact"];
@@ -1805,6 +1940,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1805
1940
  readonly between: "cinematic";
1806
1941
  };
1807
1942
  readonly ceiling: "expressive";
1943
+ readonly lists: {
1944
+ readonly arranges: readonly [];
1945
+ readonly moves: readonly [];
1946
+ readonly say: readonly [];
1947
+ };
1808
1948
  readonly world: "nocturne";
1809
1949
  readonly imagery: "Real events at your venue.";
1810
1950
  readonly pages: readonly ["home", "spaces", "gallery", "faq", "contact"];
@@ -1866,6 +2006,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1866
2006
  readonly between: "cinematic";
1867
2007
  };
1868
2008
  readonly ceiling: "expressive";
2009
+ readonly lists: {
2010
+ readonly arranges: readonly [];
2011
+ readonly moves: readonly [];
2012
+ readonly say: readonly [];
2013
+ };
1869
2014
  readonly world: "documentary";
1870
2015
  readonly imagery: "Rooms, views, breakfast; your own photos.";
1871
2016
  readonly pages: readonly ["home", "rooms (collection)", "room (detail)", "about", "contact"];
@@ -1927,6 +2072,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1927
2072
  readonly between: "slide";
1928
2073
  };
1929
2074
  readonly ceiling: "lively";
2075
+ readonly lists: {
2076
+ readonly arranges: readonly [];
2077
+ readonly moves: readonly [];
2078
+ readonly say: readonly [];
2079
+ };
1930
2080
  readonly world: "documentary";
1931
2081
  readonly imagery: "Real classes (with permission).";
1932
2082
  readonly pages: readonly ["home", "classes", "prices", "about", "contact"];
@@ -2324,6 +2474,12 @@ interface GoodFit {
2324
2474
  /** The reason in Hebrew (2026-10-25). */
2325
2475
  readonly reasonHe: string;
2326
2476
  }
2477
+ /** What a type's lists never do (contract harness `businessTypes[].lists`, from harness.mjs LIST_NEVER). */
2478
+ interface BusinessTypeLists {
2479
+ readonly arranges: ReadonlyArray<string>;
2480
+ readonly moves: ReadonlyArray<string>;
2481
+ readonly say: ReadonlyArray<string>;
2482
+ }
2327
2483
  interface BusinessType {
2328
2484
  readonly id: string;
2329
2485
  readonly label: string;
@@ -2347,6 +2503,9 @@ interface BusinessType {
2347
2503
  /** SC6: the most How animated a GENERATED site of this type may start at (`motionFor`). A Scene needs Expressive,
2348
2504
  * so a type capped below it never gets one. Binds generated output only — the owner may choose any level. */
2349
2505
  readonly ceiling: DesignMotion['animate'];
2506
+ /** List ingredients LI0 (list-ingredients-plan.md L-D12): what this type's lists never do — arrangements and moves
2507
+ * the layout's list section is not offered, and the sentences saying why. Binds generated output only. */
2508
+ readonly lists: BusinessTypeLists;
2350
2509
  readonly imagery: string;
2351
2510
  /** M7: the picture world a site's made pictures start in (generation-core `artDirectionFor`; contract site.pictureWorlds). */
2352
2511
  readonly world: `${PictureWorld}`;
@@ -3243,4 +3402,4 @@ type SiteAuditView = SiteAudit & {
3243
3402
  };
3244
3403
 
3245
3404
  export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, 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, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, 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_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
3246
- export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
3405
+ export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.105.1",
3
+ "version": "5.107.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -5,7 +5,8 @@
5
5
  * It is an ordinary node in the form's actions row (a ButtonBlock that links) carrying the ROLE `form.channel`, so the
6
6
  * shared CSS keeps it on screen when the form succeeds and the Publishable gate can find it. Its address is the
7
7
  * OWNER's fact: the builder builds it from what the author types (a number, an address, a link) and never invents one —
8
- * inserted empty, it blocks publishing until it is filled (generation-core `auditSite`, `empty-channel`).
8
+ * inserted empty, it is a reminder (generation-core `auditSite`, `empty-channel`, never a block since 2026-11-18) and the
9
+ * live site leaves it out until it is filled (iox-cms `withoutBlankContacts`).
9
10
  *
10
11
  * Framework-free, like the rest of forms-core.
11
12
  */
@@ -1,5 +1,5 @@
1
1
  import { ELEMENT_ACTION_DESCRIPTORS, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
2
- import { CheckoutGateRefusal, labelIn } from '@vectoriox/iox-ui/commerce-core';
2
+ import { CheckoutGateCode, CheckoutGateRefusal, labelIn } from '@vectoriox/iox-ui/commerce-core';
3
3
  import { ShopRole } from '@vectoriox/iox-ui/composite-core';
4
4
  import { auditDesignContrast, DesignTokenLike } from '@vectoriox/iox-ui/design-core';
5
5
  import { collectFormSpec, ControlType, FIELD_NODE_TYPE, FORM_CHANNEL_ROLE, FORM_NODE_TYPE, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
@@ -13,8 +13,10 @@ import { SerializedNode, walkSerialized } from './serialized-node';
13
13
  * THE Publishable gate (AI plan §3e, M1-7): ONE pure function over a snapshot of a site — its pages, globals, the
14
14
  * connectors' health, the look's token rows, what a build left to fill — run by the Publish dialog, the builder's
15
15
  * Needs attention and the server on publish (iox-cms refuses with the same findings). Works on any site, generated
16
- * or hand-built. Severity is decision D8: an unfilled fact, a policy placeholder or an action that points at nothing
17
- * BLOCKS; samples, copy placeholders and stock photos ASK ("Publish anyway"); the rest WARN. Design advice
16
+ * or hand-built. Severity is decision D8: an unfilled price or number, a policy placeholder or an action that points at
17
+ * nothing BLOCKS; samples, copy placeholders and stock photos ASK ("Publish anyway"); the rest WARN. ⚠️ A contact detail
18
+ * (email, phone, address, city, hours — and a form's second channel) NEVER blocks (Doron, 2026-11-18): it is a reminder,
19
+ * and the live site leaves the line out until the owner fills it (iox-cms `withoutBlankContacts`). Design advice
18
20
  * (harness-core `lintDesign`) is not one of the eight — the caller adds it, and it never blocks.
19
21
  */
20
22
 
@@ -49,7 +51,11 @@ export enum SiteFindingCode {
49
51
  TrackerWithoutBanner = 'tracker-without-banner',
50
52
  NoTitle = 'no-title',
51
53
  NoDescription = 'no-description',
54
+ /** A price, a number or a video the studio stands behind, still blank — blocks (never written for it). */
52
55
  UnfilledFact = 'unfilled-fact',
56
+ /** A contact detail the studio has not given (email, phone, address, city, hours): a reminder, never a block — the
57
+ * live site leaves its line out until it is filled. */
58
+ ContactMissing = 'contact-missing',
53
59
  CopyPlaceholder = 'copy-placeholder',
54
60
  SampleItems = 'sample-items',
55
61
  /** Commerce G1 (shop-aware §3i): a sample product the build added still has no price — a price is a fact a buyer is
@@ -62,6 +68,9 @@ export enum SiteFindingCode {
62
68
  * one of its facts — a way to get paid, delivery, the business's identity, the owner's own legal pages. Each is the
63
69
  * owner's to answer, never written for them; the finding carries the gate's code in `fact`. */
64
70
  StoreFact = 'store-fact',
71
+ /** Commerce: the checkout gate refuses for a missing business CONTACT (address, email, phone). The checkout stays
72
+ * closed until it is answered (the server's checkout gate refuses on its own); the site itself still publishes. */
73
+ StoreContact = 'store-contact',
65
74
  StockPhoto = 'stock-photo',
66
75
  /** M7: a picture made with AI for the site still stands where one of the studio's own could. */
67
76
  MadePicture = 'made-picture',
@@ -83,17 +92,19 @@ export const FINDING_SEVERITY: Readonly<Record<SiteFindingCode, CheckSeverity>>
83
92
  [SiteFindingCode.NoHeader]: CheckSeverity.Warn,
84
93
  [SiteFindingCode.NoPhoneMenu]: CheckSeverity.Warn,
85
94
  [SiteFindingCode.FormWithoutId]: CheckSeverity.Block,
86
- [SiteFindingCode.EmptyChannel]: CheckSeverity.Block,
95
+ [SiteFindingCode.EmptyChannel]: CheckSeverity.Warn,
87
96
  [SiteFindingCode.EmailNeedsMailer]: CheckSeverity.Warn,
88
97
  [SiteFindingCode.TrackerWithoutBanner]: CheckSeverity.Warn,
89
98
  [SiteFindingCode.NoTitle]: CheckSeverity.Warn,
90
99
  [SiteFindingCode.NoDescription]: CheckSeverity.Warn,
91
100
  [SiteFindingCode.UnfilledFact]: CheckSeverity.Block,
101
+ [SiteFindingCode.ContactMissing]: CheckSeverity.Warn,
92
102
  [SiteFindingCode.CopyPlaceholder]: CheckSeverity.Ask,
93
103
  [SiteFindingCode.SampleItems]: CheckSeverity.Ask,
94
104
  [SiteFindingCode.SamplePrice]: CheckSeverity.Block,
95
105
  [SiteFindingCode.SampleStock]: CheckSeverity.Block,
96
106
  [SiteFindingCode.StoreFact]: CheckSeverity.Block,
107
+ [SiteFindingCode.StoreContact]: CheckSeverity.Warn,
97
108
  [SiteFindingCode.StockPhoto]: CheckSeverity.Ask,
98
109
  [SiteFindingCode.MadePicture]: CheckSeverity.Ask,
99
110
  [SiteFindingCode.PictureMissing]: CheckSeverity.Warn,
@@ -118,11 +129,13 @@ const CHECK_OF: Readonly<Record<SiteFindingCode, SiteCheckId>> = {
118
129
  [SiteFindingCode.NoTitle]: SiteCheckId.Seo,
119
130
  [SiteFindingCode.NoDescription]: SiteCheckId.Seo,
120
131
  [SiteFindingCode.UnfilledFact]: SiteCheckId.Facts,
132
+ [SiteFindingCode.ContactMissing]: SiteCheckId.Facts,
121
133
  [SiteFindingCode.CopyPlaceholder]: SiteCheckId.Facts,
122
134
  [SiteFindingCode.SampleItems]: SiteCheckId.Facts,
123
135
  [SiteFindingCode.SamplePrice]: SiteCheckId.Facts,
124
136
  [SiteFindingCode.SampleStock]: SiteCheckId.Facts,
125
137
  [SiteFindingCode.StoreFact]: SiteCheckId.Facts,
138
+ [SiteFindingCode.StoreContact]: SiteCheckId.Facts,
126
139
  [SiteFindingCode.StockPhoto]: SiteCheckId.Facts,
127
140
  [SiteFindingCode.MadePicture]: SiteCheckId.Facts,
128
141
  [SiteFindingCode.PictureMissing]: SiteCheckId.Facts,
@@ -147,7 +160,7 @@ export interface SiteFinding {
147
160
  nodeId?: string;
148
161
  /** The global slot (`header` / `footer`) when it is in a global. */
149
162
  owner?: string;
150
- /** `store-fact`: the checkout gate's code (commerce-core `CheckoutGateCode`) — which fact, so a screen can open where it is answered. */
163
+ /** `store-fact` / `store-contact`: the checkout gate's code (commerce-core `CheckoutGateCode`) — which fact, so a screen can open where it is answered. */
151
164
  fact?: string;
152
165
  }
153
166
 
@@ -223,6 +236,11 @@ const COLOUR_TRAITS = /color|Color|^background$|boxShadow|textShadow/;
223
236
  const HEADING_LEVEL = /^h([1-6])$/;
224
237
  const DIALOG_TYPE = 'Dialog';
225
238
  const SELF = 'self';
239
+ /** The checkout gate's refusals that are a business CONTACT: they close the checkout, never the site (2026-11-18). */
240
+ export const STORE_CONTACT_CODES: ReadonlySet<string> = new Set<string>([
241
+ CheckoutGateCode.BusinessAddressMissing, CheckoutGateCode.BusinessEmailMissing, CheckoutGateCode.BusinessPhoneMissing,
242
+ ]);
243
+
226
244
  /** The parts that take a buyer toward the checkout — a price alone shows; these sell. */
227
245
  const SELLING_ROLES: ReadonlySet<string> = new Set([ShopRole.Add, ShopRole.BuyNow, ShopRole.CartButton, ShopRole.CartDrawer, ShopRole.Checkout]);
228
246
 
@@ -301,7 +319,7 @@ function checkForms(ctx: Ctx, snapshot: SiteAuditSnapshot, pages: ReadonlyArray<
301
319
  walkSerialized(n.children ?? [], f => {
302
320
  if (f.type === FIELD_NODE_TYPE && PERSONAL_CONTROLS.has(String(f.props['control'] ?? ControlType.Text))) personal = true;
303
321
  if (f.role === FORM_CHANNEL_ROLE && !isChannelFilled(f.props['href'])) {
304
- add(ctx, SiteFindingCode.EmptyChannel, 'A form\'s second way to reach you has no number or address yet — only you can fill it in.', { ...where, nodeId: f.id });
322
+ add(ctx, SiteFindingCode.EmptyChannel, 'A form\'s second way to reach you has no number or address yet — visitors do not see it until you fill it in.', { ...where, nodeId: f.id });
305
323
  }
306
324
  });
307
325
  });
@@ -327,14 +345,18 @@ function checkFacts(ctx: Ctx, snapshot: SiteAuditSnapshot, pages: ReadonlyArray<
327
345
  const inScope = (p: { pageId?: string }) => !p.pageId || pages.some(page => page.id === p.pageId);
328
346
  for (const p of (snapshot.placeholders ?? []).filter(p => !p.filled && inScope(p))) {
329
347
  const where = { pageId: p.pageId, nodeId: p.nodeId, ...(p.pageId ? {} : { owner: p.owner }) };
330
- if (blocksPublish(p.kind)) add(ctx, SiteFindingCode.UnfilledFact, `"${p.text || p.fact || p.kind}" is still blank — fill it in before the site goes live.`, where);
348
+ if (p.kind === PlaceholderKind.Fact) add(ctx, SiteFindingCode.ContactMissing, `"${p.text || p.fact}" is not on the site yet — visitors do not see that line until you fill it in.`, where);
349
+ else if (blocksPublish(p.kind)) add(ctx, SiteFindingCode.UnfilledFact, `"${p.text || p.kind}" is still blank — fill it in before the site goes live.`, where);
331
350
  else if (p.kind === PlaceholderKind.Copy) add(ctx, SiteFindingCode.CopyPlaceholder, 'Some words are still the template\'s.', where);
332
351
  }
333
352
  for (const s of snapshot.samples ?? []) add(ctx, SiteFindingCode.SampleItems, `"${s.label ?? s.id}" is a sample — replace or remove it.`, { nodeId: s.id });
334
353
  for (const s of snapshot.unpricedSamples ?? []) add(ctx, SiteFindingCode.SamplePrice, `"${s.label ?? s.id}" has no price yet — set yours, or remove the sample.`, { nodeId: s.id });
335
354
  for (const s of snapshot.unstockedSamples ?? []) add(ctx, SiteFindingCode.SampleStock, `"${s.label ?? s.id}" has no stock yet — say how many you have, or remove the sample.`, { nodeId: s.id });
336
355
  if (snapshot.store?.refusals.length && siteSells(snapshot)) {
337
- for (const r of snapshot.store.refusals) add(ctx, SiteFindingCode.StoreFact, labelIn(r.label, snapshot.store.lang), { fact: r.code });
356
+ for (const r of snapshot.store.refusals) {
357
+ const code = STORE_CONTACT_CODES.has(r.code) ? SiteFindingCode.StoreContact : SiteFindingCode.StoreFact;
358
+ add(ctx, code, labelIn(r.label, snapshot.store.lang), { fact: r.code });
359
+ }
338
360
  }
339
361
  for (const s of (snapshot.stock ?? []).filter(inScope)) add(ctx, SiteFindingCode.StockPhoto, 'A stock photo stands in for one of yours.', { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
340
362
  for (const s of (snapshot.made ?? []).filter(inScope)) add(ctx, SiteFindingCode.MadePicture, 'A picture made with AI stands in for one of yours.', { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
@@ -447,7 +469,7 @@ export function auditSite(snapshot: SiteAuditSnapshot, options: SiteAuditOptions
447
469
 
448
470
  /** Why the server refused a publish (409) — the dialog the client opens from the findings it carries. */
449
471
  export enum PublishRefusalCode {
450
- /** A block nothing lifts (a blank fact, a policy placeholder, a dead action). */
472
+ /** A block nothing lifts (a blank price or number, a policy placeholder, a dead action). */
451
473
  Blocked = 'site.publishBlocked',
452
474
  /** Asks the request must acknowledge, by code (`publishAcknowledged`). */
453
475
  NeedsAck = 'site.publishNeedsAck',
@@ -468,13 +490,24 @@ export function requiredAcknowledgements(audit: SiteAudit): SiteFindingCode[] {
468
490
  return [...new Set(audit.checks.flatMap(c => c.findings).filter(f => f.severity === CheckSeverity.Ask).map(f => f.code))];
469
491
  }
470
492
 
493
+ /** What a publish puts live: one page (the builder's Publish) or every page at once (Publish site, 2026-11-18). */
494
+ export enum PublishScope {
495
+ Page = 'page',
496
+ Site = 'site',
497
+ }
498
+
499
+ const BLOCKED_MESSAGE: Readonly<Record<PublishScope, string>> = {
500
+ [PublishScope.Page]: 'This page cannot go live yet — fill in what is marked first',
501
+ [PublishScope.Site]: 'The site cannot go live yet — fill in what is marked first',
502
+ };
503
+
471
504
  /** The refusal a publish gets for an audit and its acknowledgements — or null: it may go (the server's ONE rule). */
472
- export function publishRefusal(audit: SiteAudit, acknowledged: ReadonlyArray<string> = []): PublishRefusal | null {
505
+ export function publishRefusal(audit: SiteAudit, acknowledged: ReadonlyArray<string> = [], scope: PublishScope = PublishScope.Page): PublishRefusal | null {
473
506
  const verdict = publishVerdict(audit, acknowledged);
474
507
  if (verdict.ok) return null;
475
508
  const findings = audit.checks.flatMap(c => c.findings);
476
509
  if (verdict.blocked) {
477
- return { code: PublishRefusalCode.Blocked, message: 'This page cannot go live yet — fill in what is marked first', findings: findings.filter(f => f.severity === CheckSeverity.Block) };
510
+ return { code: PublishRefusalCode.Blocked, message: BLOCKED_MESSAGE[scope], findings: findings.filter(f => f.severity === CheckSeverity.Block) };
478
511
  }
479
512
  return {
480
513
  code: PublishRefusalCode.NeedsAck, message: 'Publish anyway? Some parts are still samples or placeholders',
@@ -47,7 +47,8 @@ import { layoutMotionOf, layoutPresetOf } from './layout-look';
47
47
  */
48
48
 
49
49
  export enum PlaceholderKind {
50
- /** A FACT the customer did not give (email, phone, city): publish-blocking. */
50
+ /** A contact FACT the customer did not give (email, phone, city, address, hours). Never publish-blocking (2026-11-18):
51
+ * a reminder, and the live site leaves the line out until it is filled. */
51
52
  Fact = 'fact',
52
53
  /** The pattern's own words, for the author to rewrite. */
53
54
  Copy = 'copy',
@@ -65,7 +66,7 @@ export enum PlaceholderKind {
65
66
 
66
67
  /** The placeholders a page cannot be published with unfilled (W4's gate): a fact, a price, a number, the studio's own
67
68
  * video. Copy and an empty image are the author's to rewrite, never blocking. */
68
- export const PUBLISH_BLOCKING_PLACEHOLDERS: ReadonlySet<PlaceholderKind> = new Set([PlaceholderKind.Fact, PlaceholderKind.Price, PlaceholderKind.Stat, PlaceholderKind.Video]);
69
+ export const PUBLISH_BLOCKING_PLACEHOLDERS: ReadonlySet<PlaceholderKind> = new Set([PlaceholderKind.Price, PlaceholderKind.Stat, PlaceholderKind.Video]);
69
70
 
70
71
  /** True when a placeholder of `kind` blocks publishing until the studio fills it. */
71
72
  export function blocksPublish(kind: PlaceholderKind): boolean {
@@ -476,6 +477,55 @@ export function layoutGalleryLists(plan: SitePlan): LayoutGalleryList[] {
476
477
  });
477
478
  }
478
479
 
480
+ /** The words a list's roles are called in the brief — what a visitor would see, never the field name. */
481
+ export const LIST_ROLE_WORDS: Readonly<Record<`${ContentRole}`, string>> = {
482
+ title: 'name', summary: 'summary', image: 'picture', meta: 'detail', date: 'date', gallery: 'pictures',
483
+ logo: 'mark', icon: 'icon', quote: 'quote', person: 'person', link: 'link', price: 'price', compareAt: 'earlier price',
484
+ };
485
+ /** A text role whose planned samples run past this many words (median) is called long: a small card would cut it. */
486
+ export const LIST_LONG_WORDS = 20;
487
+ const LIST_TEXT_ROLES: ReadonlyArray<`${ContentRole}`> = [ContentRole.Summary, ContentRole.Quote];
488
+
489
+ /** What one list holds — the shape the layout's model reads before it mixes a list section (list-ingredients LI0): how
490
+ * many items the build will write, the roles they play, and which of their words run long. Never the items themselves. */
491
+ export interface LayoutListShape {
492
+ alias: string;
493
+ label: string;
494
+ /** The planned sample count (what the build writes), or null when the plan says none. */
495
+ items: number | null;
496
+ /** The roles its items play, in the contract's order. */
497
+ roles: ReadonlyArray<`${ContentRole}`>;
498
+ /** Text roles whose planned samples run long (median over LIST_LONG_WORDS words). */
499
+ long: ReadonlyArray<`${ContentRole}`>;
500
+ }
501
+
502
+ const wordCount = (text: string) => text.trim().split(/\s+/).filter(Boolean).length;
503
+ const median = (values: number[]) => { const v = [...values].sort((a, b) => a - b); return v.length ? v[Math.floor((v.length - 1) / 2)] : 0; };
504
+
505
+ /** The shape of every list a list section could show (the plan's query sources, as `layoutGalleryLists`). */
506
+ export function layoutListShapes(plan: SitePlan): LayoutListShape[] {
507
+ return plan.dataSources
508
+ .filter(d => d.type === PlanDataSourceType.Cms && d.mode === PlanDataSourceMode.Query)
509
+ .map(d => {
510
+ const type = contentTypeOfSource(d.alias, plan);
511
+ const played = (Object.values(ContentRole) as `${ContentRole}`[]).filter(role => !!roleField(type, role));
512
+ const perItem = type?.seed?.perItem ?? {};
513
+ const long = LIST_TEXT_ROLES.filter(role => {
514
+ const field = roleField(type, role);
515
+ const samples = field ? (perItem[field] ?? []).filter(s => typeof s === 'string') : [];
516
+ return samples.length > 0 && median(samples.map(wordCount)) > LIST_LONG_WORDS;
517
+ });
518
+ const count = type?.seed?.count;
519
+ return { alias: d.alias, label: type?.label ?? d.alias, items: typeof count === 'number' && count > 0 ? count : null, roles: played, long };
520
+ });
521
+ }
522
+
523
+ /** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
524
+ export function describeListShape(shape: LayoutListShape): string {
525
+ const roles = shape.roles.map(r => `${LIST_ROLE_WORDS[r]}${shape.long.includes(r) ? ' (long)' : ''}`).join(', ');
526
+ return `${shape.alias} (${shape.label}): ${shape.items === null ? 'items the owner adds' : `${shape.items} item${shape.items === 1 ? '' : 's'}`} · ${roles}`;
527
+ }
528
+
479
529
  /** The list sources a composed gallery may show (`gallery.source`): the plan's query sources whose items have a picture.
480
530
  * A list with none (a FAQ) would repeat no slide and draw an empty band (iox-ui#59), so it is never offered and the check
481
531
  * refuses it. */
@@ -586,7 +636,7 @@ function presetChildren(preset: FormPresetDef, id: string): SerializedNode[] {
586
636
  /**
587
637
  * Send and the second channel in ONE row (premium N2), the way the builder's tray builds it (iox-builder
588
638
  * `buildFormActionsRow`): the channel's address is the studio's own fact and starts EMPTY — the Publishable gate
589
- * blocks publishing until it is filled (`auditSite`, empty-channel). Never a number written for it.
639
+ * reminds the owner (`auditSite`, empty-channel) and the live site leaves it out until it is filled. Never a number written for it.
590
640
  */
591
641
  function actionsRow(submit: SerializedNode, channel: FormPresetChannel, id: string): SerializedNode {
592
642
  const row = create(`${id}-row`, FIELD_GROUP);
@@ -1367,7 +1417,7 @@ const LAYOUT_TEXT_PROPS: ReadonlyArray<string> = ['content', 'caption', 'alt', '
1367
1417
  /**
1368
1418
  * M8 gate 2: a composed page — its layout stamped by `composeLayout` in the plan's look (the preset's composition
1369
1419
  * notes give the pace and ease), with the site's facts written in: a `{fact:<key>}` the owner gave becomes their words,
1370
- * one they did not becomes the fact's label and a publish-blocking placeholder (never invented). A photo with no
1420
+ * one they did not becomes the fact's label and a contact placeholder (never invented; a reminder, left out of the live site). A photo with no
1371
1421
  * address is the empty image box, a placeholder like a pattern's. The site's header and footer are the plan's globals.
1372
1422
  */
1373
1423
  function composeLayoutPage(