@vectoriox/iox-ui 5.83.1 → 5.84.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 +630 -20
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +39 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/generation-core/index.d.ts +401 -8
- package/harness-core/index.d.ts +81 -3
- package/package.json +1 -1
- package/src/generation-core/ai-run.ts +10 -2
- package/src/generation-core/art-direction.ts +122 -0
- package/src/generation-core/audit-site.ts +14 -0
- package/src/generation-core/pictures.ts +464 -0
- package/src/generation-core/plan-wire.ts +2 -0
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-build-run.ts +3 -0
- package/src/generation-core/site-plan.model.ts +4 -0
- package/src/generation-core/site-spec.generated.ts +118 -1
- package/src/generation-core/stock-photos.ts +40 -10
- package/src/generation-core/validate-site-plan.ts +14 -0
- package/src/harness-core/business-types.ts +3 -1
- package/src/harness-core/generation-view.ts +50 -1
- package/src/harness-core/harness-spec.generated.ts +30 -0
|
@@ -206,6 +206,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
206
206
|
"between": "cinematic"
|
|
207
207
|
},
|
|
208
208
|
"ceiling": "expressive",
|
|
209
|
+
"world": "documentary",
|
|
209
210
|
"imagery": "Your own photos only, large and uncropped; never stock.",
|
|
210
211
|
"pages": [
|
|
211
212
|
"home",
|
|
@@ -311,6 +312,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
311
312
|
"between": "cinematic"
|
|
312
313
|
},
|
|
313
314
|
"ceiling": "expressive",
|
|
315
|
+
"world": "architectural",
|
|
314
316
|
"imagery": "Wide, bright room shots; details of materials.",
|
|
315
317
|
"pages": [
|
|
316
318
|
"home",
|
|
@@ -421,6 +423,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
421
423
|
"between": "fade"
|
|
422
424
|
},
|
|
423
425
|
"ceiling": "expressive",
|
|
426
|
+
"world": "architectural",
|
|
424
427
|
"imagery": "Large project photos and drawings.",
|
|
425
428
|
"pages": [
|
|
426
429
|
"home",
|
|
@@ -530,6 +533,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
530
533
|
"between": "slide"
|
|
531
534
|
},
|
|
532
535
|
"ceiling": "expressive",
|
|
536
|
+
"world": "hard-light",
|
|
533
537
|
"imagery": "Case-study images of your own work.",
|
|
534
538
|
"pages": [
|
|
535
539
|
"home",
|
|
@@ -629,6 +633,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
629
633
|
"between": "fade"
|
|
630
634
|
},
|
|
631
635
|
"ceiling": "expressive",
|
|
636
|
+
"world": "drawing",
|
|
632
637
|
"imagery": "Your pieces, photographed flat and true to colour.",
|
|
633
638
|
"pages": [
|
|
634
639
|
"home",
|
|
@@ -734,6 +739,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
734
739
|
"between": "slide"
|
|
735
740
|
},
|
|
736
741
|
"ceiling": "expressive",
|
|
742
|
+
"world": "macro",
|
|
737
743
|
"imagery": "Your pieces and hands at work; natural light.",
|
|
738
744
|
"pages": [
|
|
739
745
|
"home",
|
|
@@ -832,6 +838,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
832
838
|
"between": "cinematic"
|
|
833
839
|
},
|
|
834
840
|
"ceiling": "expressive",
|
|
841
|
+
"world": "macro",
|
|
835
842
|
"imagery": "Close-ups on a plain ground.",
|
|
836
843
|
"pages": [
|
|
837
844
|
"home",
|
|
@@ -934,6 +941,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
934
941
|
"between": "slide"
|
|
935
942
|
},
|
|
936
943
|
"ceiling": "expressive",
|
|
944
|
+
"world": "low-key",
|
|
937
945
|
"imagery": "Healed work, clean photos.",
|
|
938
946
|
"pages": [
|
|
939
947
|
"home",
|
|
@@ -1030,6 +1038,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1030
1038
|
"between": "fade"
|
|
1031
1039
|
},
|
|
1032
1040
|
"ceiling": "standard",
|
|
1041
|
+
"world": "high-key",
|
|
1033
1042
|
"imagery": "Rooms, textures, hands; no faces needed.",
|
|
1034
1043
|
"pages": [
|
|
1035
1044
|
"home",
|
|
@@ -1149,6 +1158,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1149
1158
|
"between": "fade"
|
|
1150
1159
|
},
|
|
1151
1160
|
"ceiling": "lively",
|
|
1161
|
+
"world": "high-key",
|
|
1152
1162
|
"imagery": "Your own before-and-after photos.",
|
|
1153
1163
|
"pages": [
|
|
1154
1164
|
"home",
|
|
@@ -1251,6 +1261,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1251
1261
|
"between": "fade"
|
|
1252
1262
|
},
|
|
1253
1263
|
"ceiling": "lively",
|
|
1264
|
+
"world": "high-key",
|
|
1254
1265
|
"imagery": "The room, real classes, daylight.",
|
|
1255
1266
|
"pages": [
|
|
1256
1267
|
"home",
|
|
@@ -1361,6 +1372,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1361
1372
|
"between": "slide"
|
|
1362
1373
|
},
|
|
1363
1374
|
"ceiling": "lively",
|
|
1375
|
+
"world": "hard-light",
|
|
1364
1376
|
"imagery": "Real people training; movement.",
|
|
1365
1377
|
"pages": [
|
|
1366
1378
|
"home",
|
|
@@ -1463,6 +1475,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1463
1475
|
"between": "none"
|
|
1464
1476
|
},
|
|
1465
1477
|
"ceiling": "subtle",
|
|
1478
|
+
"world": "documentary",
|
|
1466
1479
|
"imagery": "A calm room, daylight; your portrait.",
|
|
1467
1480
|
"pages": [
|
|
1468
1481
|
"home",
|
|
@@ -1573,6 +1586,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1573
1586
|
"between": "fade"
|
|
1574
1587
|
},
|
|
1575
1588
|
"ceiling": "subtle",
|
|
1589
|
+
"world": "high-key",
|
|
1576
1590
|
"imagery": "Your team and rooms; no stock doctors.",
|
|
1577
1591
|
"pages": [
|
|
1578
1592
|
"home",
|
|
@@ -1678,6 +1692,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1678
1692
|
"between": "fade"
|
|
1679
1693
|
},
|
|
1680
1694
|
"ceiling": "subtle",
|
|
1695
|
+
"world": "high-key",
|
|
1681
1696
|
"imagery": "Your clinic and team.",
|
|
1682
1697
|
"pages": [
|
|
1683
1698
|
"home",
|
|
@@ -1784,6 +1799,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1784
1799
|
"between": "fade"
|
|
1785
1800
|
},
|
|
1786
1801
|
"ceiling": "standard",
|
|
1802
|
+
"world": "documentary",
|
|
1787
1803
|
"imagery": "Real animals you treat (with permission).",
|
|
1788
1804
|
"pages": [
|
|
1789
1805
|
"home",
|
|
@@ -1882,6 +1898,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1882
1898
|
"between": "fade"
|
|
1883
1899
|
},
|
|
1884
1900
|
"ceiling": "expressive",
|
|
1901
|
+
"world": "low-key",
|
|
1885
1902
|
"imagery": "Your own food and room photos.",
|
|
1886
1903
|
"pages": [
|
|
1887
1904
|
"home",
|
|
@@ -1991,6 +2008,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1991
2008
|
"between": "slide"
|
|
1992
2009
|
},
|
|
1993
2010
|
"ceiling": "lively",
|
|
2011
|
+
"world": "documentary",
|
|
1994
2012
|
"imagery": "Your bakes and drinks, close up.",
|
|
1995
2013
|
"pages": [
|
|
1996
2014
|
"home",
|
|
@@ -2094,6 +2112,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2094
2112
|
"between": "cinematic"
|
|
2095
2113
|
},
|
|
2096
2114
|
"ceiling": "expressive",
|
|
2115
|
+
"world": "nocturne",
|
|
2097
2116
|
"imagery": "The cellar, the bar, the bottle.",
|
|
2098
2117
|
"pages": [
|
|
2099
2118
|
"home",
|
|
@@ -2197,6 +2216,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2197
2216
|
"between": "slide"
|
|
2198
2217
|
},
|
|
2199
2218
|
"ceiling": "expressive",
|
|
2219
|
+
"world": "high-key",
|
|
2200
2220
|
"imagery": "Product photos on plain grounds; real people wearing them.",
|
|
2201
2221
|
"pages": [
|
|
2202
2222
|
"home",
|
|
@@ -2292,6 +2312,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2292
2312
|
"between": "fade"
|
|
2293
2313
|
},
|
|
2294
2314
|
"ceiling": "lively",
|
|
2315
|
+
"world": "macro",
|
|
2295
2316
|
"imagery": "Your own arrangements in daylight.",
|
|
2296
2317
|
"pages": [
|
|
2297
2318
|
"home",
|
|
@@ -2388,6 +2409,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2388
2409
|
"between": "fade"
|
|
2389
2410
|
},
|
|
2390
2411
|
"ceiling": "expressive",
|
|
2412
|
+
"world": "documentary",
|
|
2391
2413
|
"imagery": "Pieces in real rooms and on plain grounds.",
|
|
2392
2414
|
"pages": [
|
|
2393
2415
|
"home",
|
|
@@ -2485,6 +2507,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2485
2507
|
"between": "fade"
|
|
2486
2508
|
},
|
|
2487
2509
|
"ceiling": "standard",
|
|
2510
|
+
"world": "architectural",
|
|
2488
2511
|
"imagery": "Your portrait; diagrams over stock.",
|
|
2489
2512
|
"pages": [
|
|
2490
2513
|
"home",
|
|
@@ -2586,6 +2609,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2586
2609
|
"between": "fade"
|
|
2587
2610
|
},
|
|
2588
2611
|
"ceiling": "standard",
|
|
2612
|
+
"world": "documentary",
|
|
2589
2613
|
"imagery": "Your portrait, working with people.",
|
|
2590
2614
|
"pages": [
|
|
2591
2615
|
"home",
|
|
@@ -2682,6 +2706,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2682
2706
|
"between": "none"
|
|
2683
2707
|
},
|
|
2684
2708
|
"ceiling": "subtle",
|
|
2709
|
+
"world": "architectural",
|
|
2685
2710
|
"imagery": "Your team; your office.",
|
|
2686
2711
|
"pages": [
|
|
2687
2712
|
"home",
|
|
@@ -2792,6 +2817,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2792
2817
|
"between": "slide"
|
|
2793
2818
|
},
|
|
2794
2819
|
"ceiling": "lively",
|
|
2820
|
+
"world": "architectural",
|
|
2795
2821
|
"imagery": "Your own property photos; never stock.",
|
|
2796
2822
|
"pages": [
|
|
2797
2823
|
"home",
|
|
@@ -2897,6 +2923,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2897
2923
|
"between": "fade"
|
|
2898
2924
|
},
|
|
2899
2925
|
"ceiling": "standard",
|
|
2926
|
+
"world": "documentary",
|
|
2900
2927
|
"imagery": "Real people you help (with permission).",
|
|
2901
2928
|
"pages": [
|
|
2902
2929
|
"home",
|
|
@@ -2990,6 +3017,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2990
3017
|
"between": "cinematic"
|
|
2991
3018
|
},
|
|
2992
3019
|
"ceiling": "expressive",
|
|
3020
|
+
"world": "nocturne",
|
|
2993
3021
|
"imagery": "Real events at your venue.",
|
|
2994
3022
|
"pages": [
|
|
2995
3023
|
"home",
|
|
@@ -3092,6 +3120,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3092
3120
|
"between": "cinematic"
|
|
3093
3121
|
},
|
|
3094
3122
|
"ceiling": "expressive",
|
|
3123
|
+
"world": "documentary",
|
|
3095
3124
|
"imagery": "Rooms, views, breakfast; your own photos.",
|
|
3096
3125
|
"pages": [
|
|
3097
3126
|
"home",
|
|
@@ -3200,6 +3229,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3200
3229
|
"between": "slide"
|
|
3201
3230
|
},
|
|
3202
3231
|
"ceiling": "lively",
|
|
3232
|
+
"world": "documentary",
|
|
3203
3233
|
"imagery": "Real classes (with permission).",
|
|
3204
3234
|
"pages": [
|
|
3205
3235
|
"home",
|
|
@@ -4879,6 +4909,14 @@ var PlanChangeOutcome;
|
|
|
4879
4909
|
/** Its edits did not make a valid plan, twice — the map unchanged. */
|
|
4880
4910
|
PlanChangeOutcome["Invalid"] = "invalid";
|
|
4881
4911
|
})(PlanChangeOutcome || (PlanChangeOutcome = {}));
|
|
4912
|
+
/** Why no picture can be made for this site right now (the Plan step says it instead of offering the switch). */
|
|
4913
|
+
var PicturesUnavailable;
|
|
4914
|
+
(function (PicturesUnavailable) {
|
|
4915
|
+
/** No slot is left after the owner's photos and the refusals. */
|
|
4916
|
+
PicturesUnavailable["Nothing"] = "nothing";
|
|
4917
|
+
/** The key in use has no model that makes pictures (a Claude key does not). */
|
|
4918
|
+
PicturesUnavailable["NoModel"] = "no-model";
|
|
4919
|
+
})(PicturesUnavailable || (PicturesUnavailable = {}));
|
|
4882
4920
|
/** The longest message, the most files and addresses a generation starts from (Start's limits), and how many plans
|
|
4883
4921
|
* one build may ask for (a Design pick, a Try again or "Build with these" each asks one). */
|
|
4884
4922
|
const GENERATION_LIMITS = {
|
|
@@ -4934,5 +4972,5 @@ function startingDesign(input, read = null) {
|
|
|
4934
4972
|
* Generated bundle index. Do not edit.
|
|
4935
4973
|
*/
|
|
4936
4974
|
|
|
4937
|
-
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, 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, PictureRole, 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, 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, normalizeAddress, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withoutAddress };
|
|
4975
|
+
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, 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, 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, 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, normalizeAddress, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withoutAddress };
|
|
4938
4976
|
//# sourceMappingURL=vectoriox-iox-ui-harness-core.mjs.map
|