@vectoriox/iox-ui 5.114.0 → 5.116.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 +2416 -1746
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +420 -15
- package/package.json +1 -1
- package/src/generation-core/check-layout.ts +4 -2
- package/src/generation-core/check-list.ts +27 -2
- package/src/generation-core/compose-site.ts +10 -1
- package/src/generation-core/footer-mix.ts +328 -0
- package/src/generation-core/layout-fingerprint.ts +13 -3
- package/src/generation-core/layout-wire.ts +14 -2
- package/src/generation-core/plan-wire.ts +28 -4
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-plan.model.ts +9 -0
- package/src/generation-core/site-spec.generated.ts +294 -3
- package/src/generation-core/validate-site-plan.ts +20 -0
|
@@ -20,6 +20,11 @@ declare const SPEC_SITE_PLAN_SHAPE: {
|
|
|
20
20
|
readonly "film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's";
|
|
21
21
|
readonly "artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's";
|
|
22
22
|
readonly "direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it";
|
|
23
|
+
readonly "mixes?": "mixes — the header and footer as mixes of ingredients (ingredients.md); a mix wins over its globals pattern";
|
|
24
|
+
};
|
|
25
|
+
readonly mixes: {
|
|
26
|
+
readonly "header?": "string[] — the header as <ingredient>:<word> words (site.layout.header; header ingredients HI1)";
|
|
27
|
+
readonly "footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)";
|
|
23
28
|
};
|
|
24
29
|
readonly direction: {
|
|
25
30
|
readonly idea: "string — one sentence: what this site is about and how it should feel";
|
|
@@ -1182,11 +1187,11 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
1182
1187
|
}, {
|
|
1183
1188
|
readonly t: "Text";
|
|
1184
1189
|
readonly es: "small";
|
|
1185
|
-
readonly ph: "
|
|
1190
|
+
readonly ph: "email";
|
|
1186
1191
|
}, {
|
|
1187
1192
|
readonly t: "Text";
|
|
1188
1193
|
readonly es: "small";
|
|
1189
|
-
readonly ph: "
|
|
1194
|
+
readonly ph: "phone";
|
|
1190
1195
|
}];
|
|
1191
1196
|
}];
|
|
1192
1197
|
}, {
|
|
@@ -4373,6 +4378,189 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
4373
4378
|
};
|
|
4374
4379
|
};
|
|
4375
4380
|
};
|
|
4381
|
+
declare const SPEC_SITE_FOOTER_PARTS: {
|
|
4382
|
+
readonly section: {
|
|
4383
|
+
readonly t: "Section";
|
|
4384
|
+
readonly es: "section";
|
|
4385
|
+
readonly lay: {
|
|
4386
|
+
readonly display: "flex";
|
|
4387
|
+
readonly flexDirection: "column";
|
|
4388
|
+
readonly gap: "32px";
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4391
|
+
readonly brand: {
|
|
4392
|
+
readonly t: "Container";
|
|
4393
|
+
readonly es: "box";
|
|
4394
|
+
readonly lay: {
|
|
4395
|
+
readonly display: "flex";
|
|
4396
|
+
readonly flexDirection: "column";
|
|
4397
|
+
readonly gap: "8px";
|
|
4398
|
+
};
|
|
4399
|
+
readonly c: readonly [{
|
|
4400
|
+
readonly t: "Heading";
|
|
4401
|
+
readonly es: "h3";
|
|
4402
|
+
readonly level: "h3";
|
|
4403
|
+
readonly slot: "brand";
|
|
4404
|
+
readonly max: 32;
|
|
4405
|
+
readonly fromBusiness: "name";
|
|
4406
|
+
}, {
|
|
4407
|
+
readonly t: "Text";
|
|
4408
|
+
readonly es: "small";
|
|
4409
|
+
readonly slot: "tagline";
|
|
4410
|
+
readonly max: 120;
|
|
4411
|
+
readonly fromBusiness: "tagline";
|
|
4412
|
+
readonly ph: "copy";
|
|
4413
|
+
}];
|
|
4414
|
+
};
|
|
4415
|
+
readonly pages: {
|
|
4416
|
+
readonly t: "Container";
|
|
4417
|
+
readonly es: "box";
|
|
4418
|
+
readonly lay: {
|
|
4419
|
+
readonly display: "flex";
|
|
4420
|
+
readonly flexDirection: "column";
|
|
4421
|
+
readonly gap: "8px";
|
|
4422
|
+
};
|
|
4423
|
+
readonly c: readonly [{
|
|
4424
|
+
readonly t: "Heading";
|
|
4425
|
+
readonly es: "eyebrow";
|
|
4426
|
+
readonly level: "h4";
|
|
4427
|
+
readonly slot: "pagesLabel";
|
|
4428
|
+
readonly max: 40;
|
|
4429
|
+
readonly text: "Pages";
|
|
4430
|
+
readonly textHe: "עמודים";
|
|
4431
|
+
}, {
|
|
4432
|
+
readonly t: "Link";
|
|
4433
|
+
readonly es: "link";
|
|
4434
|
+
readonly each: "$navPages";
|
|
4435
|
+
readonly bind: "page.name";
|
|
4436
|
+
readonly href: "$page.route";
|
|
4437
|
+
}];
|
|
4438
|
+
};
|
|
4439
|
+
readonly pageRow: {
|
|
4440
|
+
readonly t: "Container";
|
|
4441
|
+
readonly es: "box";
|
|
4442
|
+
readonly lay: {
|
|
4443
|
+
readonly display: "flex";
|
|
4444
|
+
readonly flexWrap: "wrap";
|
|
4445
|
+
readonly gap: "var(--iox-space-gap)";
|
|
4446
|
+
readonly alignItems: "center";
|
|
4447
|
+
readonly width: "auto";
|
|
4448
|
+
};
|
|
4449
|
+
readonly c: readonly [{
|
|
4450
|
+
readonly t: "Link";
|
|
4451
|
+
readonly es: "link";
|
|
4452
|
+
readonly each: "$navPages";
|
|
4453
|
+
readonly bind: "page.name";
|
|
4454
|
+
readonly href: "$page.route";
|
|
4455
|
+
}];
|
|
4456
|
+
};
|
|
4457
|
+
readonly contact: {
|
|
4458
|
+
readonly t: "Container";
|
|
4459
|
+
readonly es: "box";
|
|
4460
|
+
readonly lay: {
|
|
4461
|
+
readonly display: "flex";
|
|
4462
|
+
readonly flexDirection: "column";
|
|
4463
|
+
readonly gap: "8px";
|
|
4464
|
+
};
|
|
4465
|
+
readonly c: readonly [{
|
|
4466
|
+
readonly t: "Heading";
|
|
4467
|
+
readonly es: "eyebrow";
|
|
4468
|
+
readonly level: "h4";
|
|
4469
|
+
readonly slot: "contactLabel";
|
|
4470
|
+
readonly max: 40;
|
|
4471
|
+
readonly text: "Contact";
|
|
4472
|
+
readonly textHe: "יצירת קשר";
|
|
4473
|
+
}, {
|
|
4474
|
+
readonly t: "Text";
|
|
4475
|
+
readonly es: "small";
|
|
4476
|
+
readonly ph: "email";
|
|
4477
|
+
}, {
|
|
4478
|
+
readonly t: "Text";
|
|
4479
|
+
readonly es: "small";
|
|
4480
|
+
readonly ph: "phone";
|
|
4481
|
+
}, {
|
|
4482
|
+
readonly t: "Text";
|
|
4483
|
+
readonly es: "small";
|
|
4484
|
+
readonly ph: "city";
|
|
4485
|
+
}];
|
|
4486
|
+
};
|
|
4487
|
+
readonly visit: {
|
|
4488
|
+
readonly t: "Container";
|
|
4489
|
+
readonly es: "box";
|
|
4490
|
+
readonly lay: {
|
|
4491
|
+
readonly display: "flex";
|
|
4492
|
+
readonly flexDirection: "column";
|
|
4493
|
+
readonly gap: "8px";
|
|
4494
|
+
};
|
|
4495
|
+
readonly c: readonly [{
|
|
4496
|
+
readonly t: "Heading";
|
|
4497
|
+
readonly es: "eyebrow";
|
|
4498
|
+
readonly level: "h4";
|
|
4499
|
+
readonly slot: "visitLabel";
|
|
4500
|
+
readonly max: 40;
|
|
4501
|
+
readonly text: "Visit";
|
|
4502
|
+
readonly textHe: "ביקור";
|
|
4503
|
+
}, {
|
|
4504
|
+
readonly t: "Text";
|
|
4505
|
+
readonly es: "small";
|
|
4506
|
+
readonly ph: "address";
|
|
4507
|
+
}, {
|
|
4508
|
+
readonly t: "Text";
|
|
4509
|
+
readonly es: "small";
|
|
4510
|
+
readonly ph: "hours";
|
|
4511
|
+
}];
|
|
4512
|
+
};
|
|
4513
|
+
readonly call: {
|
|
4514
|
+
readonly t: "Container";
|
|
4515
|
+
readonly es: "box";
|
|
4516
|
+
readonly lay: {
|
|
4517
|
+
readonly display: "flex";
|
|
4518
|
+
readonly flexDirection: "column";
|
|
4519
|
+
readonly gap: "20px";
|
|
4520
|
+
readonly alignItems: "flex-start";
|
|
4521
|
+
};
|
|
4522
|
+
readonly c: readonly [{
|
|
4523
|
+
readonly t: "Heading";
|
|
4524
|
+
readonly es: "h2";
|
|
4525
|
+
readonly level: "h2";
|
|
4526
|
+
readonly slot: "closing";
|
|
4527
|
+
readonly max: 44;
|
|
4528
|
+
readonly text: "Let's talk.";
|
|
4529
|
+
readonly textHe: "בואו נדבר.";
|
|
4530
|
+
}, {
|
|
4531
|
+
readonly t: "ButtonBlock";
|
|
4532
|
+
readonly es: "button-primary";
|
|
4533
|
+
readonly href: "/contact";
|
|
4534
|
+
readonly slot: "closingAction";
|
|
4535
|
+
readonly max: 24;
|
|
4536
|
+
readonly text: "Get in touch";
|
|
4537
|
+
readonly textHe: "צרו קשר";
|
|
4538
|
+
}];
|
|
4539
|
+
};
|
|
4540
|
+
readonly name: {
|
|
4541
|
+
readonly t: "Heading";
|
|
4542
|
+
readonly es: "display";
|
|
4543
|
+
readonly level: "h2";
|
|
4544
|
+
readonly slot: "wordmark";
|
|
4545
|
+
readonly max: 32;
|
|
4546
|
+
readonly fromBusiness: "name";
|
|
4547
|
+
readonly lay: {
|
|
4548
|
+
readonly lineHeight: "0.9";
|
|
4549
|
+
readonly margin: "0px";
|
|
4550
|
+
};
|
|
4551
|
+
};
|
|
4552
|
+
readonly rule: {
|
|
4553
|
+
readonly t: "Divider";
|
|
4554
|
+
readonly es: "rule";
|
|
4555
|
+
};
|
|
4556
|
+
readonly copyright: {
|
|
4557
|
+
readonly t: "Text";
|
|
4558
|
+
readonly es: "small";
|
|
4559
|
+
readonly slot: "copyright";
|
|
4560
|
+
readonly max: 90;
|
|
4561
|
+
readonly text: "© {year} {business.name}";
|
|
4562
|
+
};
|
|
4563
|
+
};
|
|
4376
4564
|
declare const SPEC_SITE_TEMPLATES: {
|
|
4377
4565
|
readonly studio: {
|
|
4378
4566
|
readonly id: "studio";
|
|
@@ -5831,6 +6019,54 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
5831
6019
|
};
|
|
5832
6020
|
}];
|
|
5833
6021
|
};
|
|
6022
|
+
readonly footer: {
|
|
6023
|
+
readonly ingredients: {
|
|
6024
|
+
readonly arrange: readonly ["columns", "centred", "line"];
|
|
6025
|
+
readonly holds: readonly ["pages", "visit", "contact"];
|
|
6026
|
+
readonly closing: readonly ["none", "call", "name"];
|
|
6027
|
+
readonly ground: readonly ["inverse", "plain", "subtle", "accent"];
|
|
6028
|
+
};
|
|
6029
|
+
readonly many: readonly ["holds"];
|
|
6030
|
+
readonly meanings: {
|
|
6031
|
+
readonly "arrange.columns": "the name and its line at the start, a column for each block it holds";
|
|
6032
|
+
readonly "arrange.centred": "everything centred, one block under another";
|
|
6033
|
+
readonly "arrange.line": "one quiet line: the copyright beside the pages";
|
|
6034
|
+
readonly "holds.pages": "the pages";
|
|
6035
|
+
readonly "holds.contact": "how to reach the business (email, phone, city)";
|
|
6036
|
+
readonly "holds.visit": "where and when to visit (address, hours) — for a place people come to";
|
|
6037
|
+
readonly "closing.none": "nothing before the footer's blocks";
|
|
6038
|
+
readonly "closing.call": "a closing line and one button, above the blocks";
|
|
6039
|
+
readonly "closing.name": "the business name set huge across the width, under the blocks";
|
|
6040
|
+
readonly "ground.inverse": "a dark band";
|
|
6041
|
+
readonly "ground.plain": "the page's own ground, a hairline above";
|
|
6042
|
+
readonly "ground.subtle": "a soft band";
|
|
6043
|
+
readonly "ground.accent": "a band in the brand colour";
|
|
6044
|
+
};
|
|
6045
|
+
readonly waits: {};
|
|
6046
|
+
readonly defaults: {
|
|
6047
|
+
readonly arrange: "columns";
|
|
6048
|
+
readonly holds: readonly ["pages", "contact"];
|
|
6049
|
+
readonly closing: "none";
|
|
6050
|
+
readonly ground: "inverse";
|
|
6051
|
+
};
|
|
6052
|
+
readonly named: {
|
|
6053
|
+
readonly "footer.three-column": {};
|
|
6054
|
+
readonly "footer.mega": {
|
|
6055
|
+
readonly holds: readonly ["pages", "visit", "contact"];
|
|
6056
|
+
};
|
|
6057
|
+
readonly "footer.minimal": {
|
|
6058
|
+
readonly arrange: "line";
|
|
6059
|
+
readonly holds: readonly ["pages"];
|
|
6060
|
+
readonly ground: "plain";
|
|
6061
|
+
};
|
|
6062
|
+
};
|
|
6063
|
+
readonly fingerprint: readonly ["arrange", "closing", "ground"];
|
|
6064
|
+
readonly rules: {
|
|
6065
|
+
readonly lineHolds: readonly ["pages"];
|
|
6066
|
+
readonly minHolds: 1;
|
|
6067
|
+
};
|
|
6068
|
+
readonly references: readonly [];
|
|
6069
|
+
};
|
|
5834
6070
|
};
|
|
5835
6071
|
|
|
5836
6072
|
/** What an untouched node of one registered type saves as (`NODE_BASELINES`, generated from the live
|
|
@@ -6780,6 +7016,14 @@ interface SitePlan {
|
|
|
6780
7016
|
readonly artDirection?: ArtDirection;
|
|
6781
7017
|
/** M8 gate 2: what the site is built around, written with the pages and shown on the Plan step. */
|
|
6782
7018
|
readonly direction?: PlanDirection;
|
|
7019
|
+
/** The header and footer as mixes of ingredients (ingredients.md): a mix wins over its `globals` pattern. */
|
|
7020
|
+
readonly mixes?: PlanMixes;
|
|
7021
|
+
}
|
|
7022
|
+
/** A part's mix as `<ingredient>:<word>` words (the contract's `site.layout.<part>`): the footer since list ingredients
|
|
7023
|
+
* LI5 (generation-core footer-mix.ts); the header joins at header ingredients HI1. */
|
|
7024
|
+
interface PlanMixes {
|
|
7025
|
+
readonly header?: ReadonlyArray<string>;
|
|
7026
|
+
readonly footer?: ReadonlyArray<string>;
|
|
6783
7027
|
}
|
|
6784
7028
|
/** M8 gate 2: the idea a site's composed pages serve — the usual site for the business, and what this one does instead. */
|
|
6785
7029
|
interface PlanDirection {
|
|
@@ -7424,6 +7668,8 @@ declare enum SitePlanIssueCode {
|
|
|
7424
7668
|
RouteSource = "route-source",
|
|
7425
7669
|
UnknownPattern = "unknown-pattern",
|
|
7426
7670
|
GlobalPattern = "global-pattern",
|
|
7671
|
+
/** A header/footer mix (`mixes`) with a word its part's table lacks, or two words for a one-word ingredient. */
|
|
7672
|
+
Mix = "mix",
|
|
7427
7673
|
UnknownSlot = "unknown-slot",
|
|
7428
7674
|
UnknownOptionalPart = "unknown-optional-part",
|
|
7429
7675
|
Binding = "binding",
|
|
@@ -7700,7 +7946,9 @@ declare enum ComposeIssueCode {
|
|
|
7700
7946
|
LinkRemoved = "link-removed",
|
|
7701
7947
|
/** A linked box to a page the plan leaves out, with no business email: it keeps its contents as a
|
|
7702
7948
|
* plain Container and loses only the link. */
|
|
7703
|
-
LinkUnlinked = "link-unlinked"
|
|
7949
|
+
LinkUnlinked = "link-unlinked",
|
|
7950
|
+
/** LI5: the footer's mix broke one of its table's rules and was mended (`checkFooter`): the detail says how. */
|
|
7951
|
+
FooterMended = "footer-mended"
|
|
7704
7952
|
}
|
|
7705
7953
|
/** The issues that are a dangling link (a route the plan has no page for) and what was done about it. */
|
|
7706
7954
|
declare const DANGLING_LINK_CODES: ReadonlySet<ComposeIssueCode>;
|
|
@@ -9954,6 +10202,26 @@ declare function layoutMotionOf(presetId: string): {
|
|
|
9954
10202
|
*/
|
|
9955
10203
|
declare function layoutDialOf(animate: string | null | undefined, ceiling: string | null | undefined): `${LayoutDial}`;
|
|
9956
10204
|
|
|
10205
|
+
/**
|
|
10206
|
+
* What a business type's lists never do (L-D12, the contract's harness `businessTypes[].lists` — harness-core
|
|
10207
|
+
* `BusinessType.lists`, passed in as data: harness-core reads generation-core, never the other way round).
|
|
10208
|
+
*/
|
|
10209
|
+
interface LayoutListNever {
|
|
10210
|
+
readonly arranges: ReadonlyArray<string>;
|
|
10211
|
+
readonly moves: ReadonlyArray<string>;
|
|
10212
|
+
/** Why, in the owner's words — said with the repair. */
|
|
10213
|
+
readonly say: ReadonlyArray<string>;
|
|
10214
|
+
}
|
|
10215
|
+
/** True when the type's art direction forbids nothing. */
|
|
10216
|
+
declare const listNeverIsEmpty: (never?: LayoutListNever | null) => boolean;
|
|
10217
|
+
/**
|
|
10218
|
+
* Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
|
|
10219
|
+
* list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
|
|
10220
|
+
*/
|
|
10221
|
+
declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, layer: string, never?: LayoutListNever | null): LayoutIssue[];
|
|
10222
|
+
/** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
|
|
10223
|
+
declare function pageListIssues(page: LayoutPage): LayoutIssue[];
|
|
10224
|
+
|
|
9957
10225
|
/** A gallery the wire marks `autoplay` turns every 5 s — what the proof sites' autoplaying galleries do. */
|
|
9958
10226
|
declare const LAYOUT_WIRE_AUTOPLAY_MS = 5000;
|
|
9959
10227
|
/**
|
|
@@ -9986,7 +10254,11 @@ interface LayoutWireOptions {
|
|
|
9986
10254
|
/** The plan's lists: given, every layer carries `mix` and `parts` (LI1 — the list ingredients); absent, the wire is
|
|
9987
10255
|
* the gate-2 one (37 properties). */
|
|
9988
10256
|
lists?: ReadonlyArray<LayoutWireList>;
|
|
10257
|
+
/** L-D12: what this business type's lists never do — those words are not offered (the check repairs one anyway). */
|
|
10258
|
+
never?: LayoutListNever | null;
|
|
9989
10259
|
}
|
|
10260
|
+
/** The mix words offered to a business whose lists never do `never` (L-D12): the built words less the forbidden ones. */
|
|
10261
|
+
declare function layoutMixOffered(never?: LayoutListNever | null): string[];
|
|
9990
10262
|
/** `<list>.<role>` for every role of every list — what a list section's `parts` may name. */
|
|
9991
10263
|
declare function layoutWirePartWords(lists: ReadonlyArray<LayoutWireList>): string[];
|
|
9992
10264
|
interface LayoutWireSlot {
|
|
@@ -10421,6 +10693,8 @@ interface CheckLayoutContext {
|
|
|
10421
10693
|
lists?: ReadonlyArray<LayoutGalleryList>;
|
|
10422
10694
|
/** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
|
|
10423
10695
|
listShapes?: ReadonlyArray<LayoutListShape>;
|
|
10696
|
+
/** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
|
|
10697
|
+
listNever?: LayoutListNever;
|
|
10424
10698
|
/** The site's page routes a button may lead to (`/contact`). */
|
|
10425
10699
|
routes?: string[];
|
|
10426
10700
|
/** Every word the owner gave and what was read from it: a number not in here was invented. */
|
|
@@ -10481,14 +10755,6 @@ declare function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>
|
|
|
10481
10755
|
mended: LayoutIssue[];
|
|
10482
10756
|
};
|
|
10483
10757
|
|
|
10484
|
-
/**
|
|
10485
|
-
* Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
|
|
10486
|
-
* list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
|
|
10487
|
-
*/
|
|
10488
|
-
declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, layer: string): LayoutIssue[];
|
|
10489
|
-
/** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
|
|
10490
|
-
declare function pageListIssues(page: LayoutPage): LayoutIssue[];
|
|
10491
|
-
|
|
10492
10758
|
/**
|
|
10493
10759
|
* THE LIST TABLE (list-ingredients-plan.md; the contract's `layout.mjs` `LIST`, in the shape every mixed part shares —
|
|
10494
10760
|
* ingredients.md §2): the words of each ingredient, what each means, and which wait for a later phase and are drawn as
|
|
@@ -10685,6 +10951,140 @@ declare function layoutOpeningDisplayMend(page: Pick<LayoutPage, 'sections'>): {
|
|
|
10685
10951
|
size?: `${LayoutSize}`;
|
|
10686
10952
|
} | null;
|
|
10687
10953
|
|
|
10954
|
+
/** The ingredients, by the contract's keys (held equal to it by footer-mix.spec). */
|
|
10955
|
+
declare enum FooterIngredient {
|
|
10956
|
+
Arrange = "arrange",
|
|
10957
|
+
Holds = "holds",
|
|
10958
|
+
Closing = "closing",
|
|
10959
|
+
Ground = "ground"
|
|
10960
|
+
}
|
|
10961
|
+
declare enum FooterArrange {
|
|
10962
|
+
Columns = "columns",
|
|
10963
|
+
Centred = "centred",
|
|
10964
|
+
Line = "line"
|
|
10965
|
+
}
|
|
10966
|
+
declare enum FooterHold {
|
|
10967
|
+
Pages = "pages",
|
|
10968
|
+
Visit = "visit",
|
|
10969
|
+
Contact = "contact"
|
|
10970
|
+
}
|
|
10971
|
+
declare enum FooterClosing {
|
|
10972
|
+
None = "none",
|
|
10973
|
+
Call = "call",
|
|
10974
|
+
Name = "name"
|
|
10975
|
+
}
|
|
10976
|
+
declare enum FooterGround {
|
|
10977
|
+
Inverse = "inverse",
|
|
10978
|
+
Plain = "plain",
|
|
10979
|
+
Subtle = "subtle",
|
|
10980
|
+
Accent = "accent"
|
|
10981
|
+
}
|
|
10982
|
+
/** One word per ingredient; `holds` several, in the table's order. */
|
|
10983
|
+
interface FooterMix {
|
|
10984
|
+
readonly arrange: string;
|
|
10985
|
+
readonly holds: ReadonlyArray<string>;
|
|
10986
|
+
readonly closing: string;
|
|
10987
|
+
readonly ground: string;
|
|
10988
|
+
}
|
|
10989
|
+
declare class FooterMixError extends Error {
|
|
10990
|
+
}
|
|
10991
|
+
/** The footer pattern a plan names when it names none the table knows (the Studio footer). */
|
|
10992
|
+
declare const DEFAULT_FOOTER_PATTERN = "footer.three-column";
|
|
10993
|
+
/** The words an ingredient may take. */
|
|
10994
|
+
declare function footerWords(ingredient: `${FooterIngredient}`): ReadonlyArray<string>;
|
|
10995
|
+
/** What a word means, as the brief and the builder say it. */
|
|
10996
|
+
declare function footerMeaning(ingredient: `${FooterIngredient}`, word: string): string;
|
|
10997
|
+
/** A whole mix from part of one: what is not named is the default. Refuses a word the table lacks. */
|
|
10998
|
+
declare function footerMix(partial?: Partial<FooterMix>): FooterMix;
|
|
10999
|
+
/** The mix a stored footer pattern id stands for (`footer.three-column`, `footer.mega`, `footer.minimal`), or null. */
|
|
11000
|
+
declare function namedFooterMix(patternId: string): FooterMix | null;
|
|
11001
|
+
/** The stored footer pattern a mix is exactly, else null. */
|
|
11002
|
+
declare function footerPatternIdOf(mix: FooterMix): string | null;
|
|
11003
|
+
/** A mix on the wire: ONE list of `<ingredient>:<word>` words (the list wire's encoding), `holds` once per block. */
|
|
11004
|
+
declare function footerMixWords(mix: FooterMix): string[];
|
|
11005
|
+
/** Every `<ingredient>:<word>` the wire may carry (every footer word is drawn — the table's `waits` is empty). */
|
|
11006
|
+
declare function footerWireWords(): string[];
|
|
11007
|
+
/** The words back into a mix: an ingredient not named is the default; a `holds` named is the whole list. Refuses an unknown
|
|
11008
|
+
* word, and two words for a one-word ingredient. */
|
|
11009
|
+
declare function footerMixFromWords(words: ReadonlyArray<string>): FooterMix;
|
|
11010
|
+
/** The site plan's footer as a mix: its `mixes.footer` when it has one, else its `globals.footer` pattern read as a named
|
|
11011
|
+
* mix, else the Studio footer. */
|
|
11012
|
+
declare function footerMixOfPlan(plan: {
|
|
11013
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
11014
|
+
readonly mixes?: {
|
|
11015
|
+
readonly footer?: ReadonlyArray<string>;
|
|
11016
|
+
};
|
|
11017
|
+
}): FooterMix;
|
|
11018
|
+
/** The fingerprint's prefix for a footer. */
|
|
11019
|
+
declare const FOOTER_TOKEN = "footer";
|
|
11020
|
+
/** A footer as the fingerprint sees it: `footer:<arrange>/<closing>/<ground>` — what a visitor takes in at once, in the
|
|
11021
|
+
* contract's order. Two sites with the same token wear the same footer. */
|
|
11022
|
+
declare function footerTokenOf(mix: FooterMix): string;
|
|
11023
|
+
/** A footer token in words: `footer:columns/none/inverse` → "columns · none · inverse". */
|
|
11024
|
+
declare const footerTokenWords: (token: string) => string;
|
|
11025
|
+
/** Doron's reference footers, each as a whole mix. */
|
|
11026
|
+
declare function footerReferences(): ReadonlyArray<{
|
|
11027
|
+
id: string;
|
|
11028
|
+
after: string;
|
|
11029
|
+
added: string;
|
|
11030
|
+
mix: FooterMix;
|
|
11031
|
+
}>;
|
|
11032
|
+
declare enum FooterRepairCode {
|
|
11033
|
+
/** A one-line footer holds only the pages: the other blocks need room. */
|
|
11034
|
+
LineHolds = "line-holds",
|
|
11035
|
+
/** A footer that holds nothing and closes with nothing: it holds the pages. */
|
|
11036
|
+
Empty = "empty",
|
|
11037
|
+
/** The name is too long to stand across a phone's width at the smallest size: no closing name. */
|
|
11038
|
+
NameTooLong = "name-too-long",
|
|
11039
|
+
/** Another site already wears this footer: the nearest free one (`distinctFooter`). */
|
|
11040
|
+
Worn = "worn"
|
|
11041
|
+
}
|
|
11042
|
+
interface FooterRepair {
|
|
11043
|
+
code: FooterRepairCode;
|
|
11044
|
+
/** In plain words, for the wizard and the model's next turn. */
|
|
11045
|
+
said: string;
|
|
11046
|
+
}
|
|
11047
|
+
/** What the check needs of the site: the business name and the look it wears. */
|
|
11048
|
+
interface FooterContext {
|
|
11049
|
+
name: string;
|
|
11050
|
+
design: DesignChoices;
|
|
11051
|
+
}
|
|
11052
|
+
/**
|
|
11053
|
+
* The ONE judge of a footer mix: what the table's rules refuse is mended to the nearest mix that keeps them, and each mend
|
|
11054
|
+
* is said. Never throws on a well-formed mix. Pure.
|
|
11055
|
+
*/
|
|
11056
|
+
declare function checkFooter(mix: FooterMix, ctx: FooterContext): {
|
|
11057
|
+
mix: FooterMix;
|
|
11058
|
+
repairs: FooterRepair[];
|
|
11059
|
+
};
|
|
11060
|
+
/** A footer mix as a pattern: what the composer stamps as the site's footer (global, after the page). Check it first. */
|
|
11061
|
+
declare function footerPattern(mix: FooterMix, ctx: FooterContext): SitePattern;
|
|
11062
|
+
/**
|
|
11063
|
+
* A footer no other site wears (R-H10): the mix when its token is free, else the nearest mix whose token is — one changed
|
|
11064
|
+
* ingredient before two, in `MEND_ORDER`, each word in the table's order — checked again (`checkFooter`), and said. When
|
|
11065
|
+
* every footer is worn, the mix as it is. Pure, deterministic.
|
|
11066
|
+
*/
|
|
11067
|
+
declare function distinctFooter(mix: FooterMix, taken: ReadonlyArray<string>, ctx: FooterContext): {
|
|
11068
|
+
mix: FooterMix;
|
|
11069
|
+
repairs: FooterRepair[];
|
|
11070
|
+
};
|
|
11071
|
+
/** A plan's footer made distinct (R-H10): `distinctFooter` over the plan's own mix, the name and the look it wears; the
|
|
11072
|
+
* plan unchanged when nothing was mended, else with the new mix in `mixes.footer`. Pure. */
|
|
11073
|
+
declare function withDistinctFooter<P extends {
|
|
11074
|
+
readonly business: {
|
|
11075
|
+
readonly name: string;
|
|
11076
|
+
};
|
|
11077
|
+
readonly design: Readonly<Partial<DesignChoices>>;
|
|
11078
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
11079
|
+
readonly mixes?: {
|
|
11080
|
+
readonly header?: ReadonlyArray<string>;
|
|
11081
|
+
readonly footer?: ReadonlyArray<string>;
|
|
11082
|
+
};
|
|
11083
|
+
}>(plan: P, taken: ReadonlyArray<string>): {
|
|
11084
|
+
plan: P;
|
|
11085
|
+
repairs: FooterRepair[];
|
|
11086
|
+
};
|
|
11087
|
+
|
|
10688
11088
|
/** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
|
|
10689
11089
|
declare enum HeaderIngredient {
|
|
10690
11090
|
Arrange = "arrange",
|
|
@@ -10790,6 +11190,9 @@ interface LayoutFingerprint {
|
|
|
10790
11190
|
* named in the brief, never a refusal until the model chooses the header (HI1) — a refusal it cannot answer by
|
|
10791
11191
|
* changing its page would only spend a repair. */
|
|
10792
11192
|
header?: string;
|
|
11193
|
+
/** The site's footer (`footerTokenOf`, list ingredients LI5); absent on a fingerprint stored before it. Another site's
|
|
11194
|
+
* footer is never worn again: the plan's is mended to the nearest free one (`distinctFooter`). */
|
|
11195
|
+
footer?: string;
|
|
10793
11196
|
}
|
|
10794
11197
|
interface FingerprintedPage {
|
|
10795
11198
|
name: string;
|
|
@@ -10815,9 +11218,11 @@ declare function listTokensOf(page: LayoutPage): string[];
|
|
|
10815
11218
|
declare function signatureOf(s: LayoutSection | undefined): LayoutSignatureId;
|
|
10816
11219
|
/** A place given to the plan's ready-made section (silent section fallback): its token in the sequence and the opening. */
|
|
10817
11220
|
declare const LAYOUT_READY_MADE_TOKEN = "ready-made";
|
|
10818
|
-
/** A page's fingerprint, worn in `preset` and `mode`, under the site's `header` when
|
|
11221
|
+
/** A page's fingerprint, worn in `preset` and `mode`, under the site's `header` and `footer` when they are known. A photo ground opens on
|
|
10819
11222
|
* the page's own ground colour. */
|
|
10820
|
-
declare function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark', header?: HeaderMix): LayoutFingerprint;
|
|
11223
|
+
declare function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark', header?: HeaderMix, footer?: FooterMix): LayoutFingerprint;
|
|
11224
|
+
/** A composed page's fingerprint under its site plan's header and footer — the ONE call every reader of a plan makes. */
|
|
11225
|
+
declare function fingerprintOfPlanPage(page: LayoutPage, preset: string, mode: 'light' | 'dark', plan: Parameters<typeof footerMixOfPlan>[0]): LayoutFingerprint;
|
|
10821
11226
|
/** The share of the longer sequence two pages have in common. */
|
|
10822
11227
|
declare function sequenceShare(a: ReadonlyArray<string>, b: ReadonlyArray<string>): number;
|
|
10823
11228
|
/** A list token in words: `list:row/middle-raised/arrows` → "row · middle raised · arrows". */
|
|
@@ -10862,5 +11267,5 @@ declare function applyLayoutEdits(page: LayoutPage, edits: ReadonlyArray<LayoutE
|
|
|
10862
11267
|
/** The strict format a repair is asked in: `{ edits: [{ op, path, value }] }`, every key required. */
|
|
10863
11268
|
declare function layoutRepairJsonSchema(): JsonSchema;
|
|
10864
11269
|
|
|
10865
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderIngredient, HeaderMixError, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, checkList, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, drawnHeaderMix, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, headerMeaning, headerMix, headerMixOfNavKind, headerMixOfPlan, headerReferences, headerTokenOf, headerTokenWords, headerWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, listBuiltWords, listIngredientWords, listMeaning, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, modelCanDo, moveBarItem, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionTokenOf, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
|
|
10866
|
-
export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FrameRegion, HeaderGap, HeaderMix, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, ListIngredient, ListWait, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
|
11270
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_TOKEN, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderIngredient, HeaderMixError, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkFooter, checkLayout, checkList, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, drawnHeaderMix, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTokenOf, footerTokenWords, footerWireWords, footerWords, frameWords, headerMeaning, headerMix, headerMixOfNavKind, headerMixOfPlan, headerReferences, headerTokenOf, headerTokenWords, headerWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, modelCanDo, moveBarItem, namedFooterMix, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionTokenOf, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, withDistinctFooter, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
|
|
11271
|
+
export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FrameRegion, HeaderGap, HeaderMix, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, ListIngredient, ListWait, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ import { sectionEntrances } from './entrances';
|
|
|
14
14
|
import { calmParts, calmUnder, FrameRegion, PhotoInventory, PHOTO_LIGHT_LUMINANCE } from './photo-inventory';
|
|
15
15
|
import { SerializedNode, walkSerialized } from './serialized-node';
|
|
16
16
|
import { SPEC_SITE_FACTS, SPEC_SITE_LAYOUT } from './site-spec.generated';
|
|
17
|
-
import { checkList, pageListIssues } from './check-list';
|
|
17
|
+
import { checkList, LayoutListNever, pageListIssues } from './check-list';
|
|
18
18
|
import {
|
|
19
19
|
LAYOUT_CHECK_VIEWPORT, LAYOUT_DRIFT, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, layoutBoxPx, layoutDriftPhoto, layoutHeldStill, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutShapeHasPurpose,
|
|
20
20
|
layoutStillLine, layoutTextFits, layoutVoidScreens, layoutVoids,
|
|
@@ -49,6 +49,8 @@ export interface CheckLayoutContext {
|
|
|
49
49
|
lists?: ReadonlyArray<LayoutGalleryList>;
|
|
50
50
|
/** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
|
|
51
51
|
listShapes?: ReadonlyArray<LayoutListShape>;
|
|
52
|
+
/** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
|
|
53
|
+
listNever?: LayoutListNever;
|
|
52
54
|
/** The site's page routes a button may lead to (`/contact`). */
|
|
53
55
|
routes?: string[];
|
|
54
56
|
/** Every word the owner gave and what was read from it: a number not in here was invented. */
|
|
@@ -552,7 +554,7 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
552
554
|
if (g.scroll && !s.pin) add(LayoutIssueCode.Motion, `${lp}.gallery.scroll`, 'a scroll-turned gallery sits in a held section');
|
|
553
555
|
if (g.list) {
|
|
554
556
|
if (g.source === undefined) add(LayoutIssueCode.Content, `${lp}.gallery.source`, 'a list section names the list it shows');
|
|
555
|
-
issues.push(...checkList(g.list, ctx.listShapes?.find(x => x.alias === g.source) ?? null, lp));
|
|
557
|
+
issues.push(...checkList(g.list, ctx.listShapes?.find(x => x.alias === g.source) ?? null, lp, ctx.listNever));
|
|
556
558
|
}
|
|
557
559
|
if (!g.scroll) swappable++;
|
|
558
560
|
slides.forEach((slide, k) => photoId(slide.photo?.id, `${lp}.gallery.slides[${k}]`));
|