@vectoriox/iox-ui 5.110.0 → 5.111.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 +263 -119
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +263 -43
- package/package.json +1 -1
- package/src/generation-core/check-list.ts +8 -7
- package/src/generation-core/compose-layout.ts +54 -10
- package/src/generation-core/layout-wire.ts +8 -15
- package/src/generation-core/list-table.ts +39 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-spec.generated.ts +160 -76
- package/styles/iox-design.css +103 -0
|
@@ -5535,54 +5535,119 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
5535
5535
|
readonly "fresh-market": "warm-craft";
|
|
5536
5536
|
};
|
|
5537
5537
|
readonly list: {
|
|
5538
|
-
readonly
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5538
|
+
readonly ingredients: {
|
|
5539
|
+
readonly item: readonly ["photo", "card"];
|
|
5540
|
+
readonly arrange: readonly ["row", "grid", "masonry", "strips", "deck"];
|
|
5541
|
+
readonly who: readonly ["none", "middle", "first", "pointed"];
|
|
5542
|
+
readonly how: readonly ["bigger", "wider", "raised", "brighter"];
|
|
5543
|
+
readonly move: readonly ["arrows", "drag", "auto", "page"];
|
|
5544
|
+
readonly hover: readonly ["rise", "open", "zoom", "dim"];
|
|
5545
|
+
readonly arrive: readonly ["together", "one-by-one", "slide-in"];
|
|
5546
|
+
readonly phone: readonly ["swipe", "stack", "two-up"];
|
|
5547
|
+
};
|
|
5548
|
+
readonly many: readonly ["move", "hover"];
|
|
5546
5549
|
readonly meanings: {
|
|
5547
|
-
readonly photo: "pictures only";
|
|
5548
|
-
readonly card: "a card built from the list's own fields (its parts)";
|
|
5549
|
-
readonly row: "side by side in one line you move through";
|
|
5550
|
-
readonly grid: "a still grid";
|
|
5551
|
-
readonly masonry: "a still wall that keeps every picture's own shape";
|
|
5552
|
-
readonly strips: "tall strips, one always open wide with its whole story";
|
|
5553
|
-
readonly deck: "a stack, one card on top, the rest waiting behind";
|
|
5554
|
-
readonly
|
|
5555
|
-
readonly
|
|
5556
|
-
readonly
|
|
5557
|
-
readonly
|
|
5558
|
-
readonly
|
|
5559
|
-
readonly
|
|
5560
|
-
readonly
|
|
5561
|
-
readonly
|
|
5562
|
-
readonly
|
|
5563
|
-
readonly
|
|
5564
|
-
readonly
|
|
5565
|
-
readonly
|
|
5566
|
-
readonly
|
|
5567
|
-
readonly
|
|
5568
|
-
readonly
|
|
5569
|
-
readonly
|
|
5570
|
-
readonly "
|
|
5571
|
-
readonly "
|
|
5572
|
-
readonly
|
|
5573
|
-
readonly
|
|
5574
|
-
readonly "
|
|
5550
|
+
readonly "item.photo": "pictures only";
|
|
5551
|
+
readonly "item.card": "a card built from the list's own fields (its parts)";
|
|
5552
|
+
readonly "arrange.row": "side by side in one line you move through";
|
|
5553
|
+
readonly "arrange.grid": "a still grid";
|
|
5554
|
+
readonly "arrange.masonry": "a still wall that keeps every picture's own shape";
|
|
5555
|
+
readonly "arrange.strips": "tall strips, one always open wide with its whole story";
|
|
5556
|
+
readonly "arrange.deck": "a stack, one card on top, the rest waiting behind";
|
|
5557
|
+
readonly "who.none": "none stands out";
|
|
5558
|
+
readonly "who.middle": "the one in the middle of the row";
|
|
5559
|
+
readonly "who.first": "the first one";
|
|
5560
|
+
readonly "who.pointed": "the one the visitor points at or taps";
|
|
5561
|
+
readonly "how.bigger": "larger than the rest";
|
|
5562
|
+
readonly "how.wider": "open wide (strips only)";
|
|
5563
|
+
readonly "how.raised": "lifted above the rest";
|
|
5564
|
+
readonly "how.brighter": "the rest dimmed";
|
|
5565
|
+
readonly "move.arrows": "arrow buttons";
|
|
5566
|
+
readonly "move.drag": "dragged with a mouse or a finger";
|
|
5567
|
+
readonly "move.auto": "turns by itself (pauses under a mouse)";
|
|
5568
|
+
readonly "move.page": "the page's scroll carries it sideways (alone)";
|
|
5569
|
+
readonly "hover.rise": "an item rises under the mouse";
|
|
5570
|
+
readonly "hover.open": "a strip opens under the mouse (strips only)";
|
|
5571
|
+
readonly "hover.zoom": "the picture grows inside its frame";
|
|
5572
|
+
readonly "hover.dim": "the others dim";
|
|
5573
|
+
readonly "arrive.together": "all at once";
|
|
5574
|
+
readonly "arrive.one-by-one": "one after another";
|
|
5575
|
+
readonly "arrive.slide-in": "sliding in from the side";
|
|
5576
|
+
readonly "phone.swipe": "a row you swipe";
|
|
5577
|
+
readonly "phone.stack": "one under another";
|
|
5578
|
+
readonly "phone.two-up": "two across";
|
|
5579
|
+
};
|
|
5580
|
+
readonly waits: {
|
|
5581
|
+
readonly "arrange.deck": {
|
|
5582
|
+
readonly phase: "LI4";
|
|
5583
|
+
readonly drawnAs: "row";
|
|
5584
|
+
};
|
|
5585
|
+
readonly "who.middle": {
|
|
5586
|
+
readonly phase: "LI4";
|
|
5587
|
+
readonly drawnAs: "none";
|
|
5588
|
+
};
|
|
5589
|
+
readonly "how.bigger": {
|
|
5590
|
+
readonly phase: "LI4";
|
|
5591
|
+
readonly drawnAs: null;
|
|
5592
|
+
};
|
|
5593
|
+
readonly "how.raised": {
|
|
5594
|
+
readonly phase: "LI4";
|
|
5595
|
+
readonly drawnAs: null;
|
|
5596
|
+
};
|
|
5597
|
+
readonly "how.brighter": {
|
|
5598
|
+
readonly phase: "LI4";
|
|
5599
|
+
readonly drawnAs: null;
|
|
5600
|
+
};
|
|
5601
|
+
};
|
|
5602
|
+
readonly defaults: {
|
|
5603
|
+
readonly item: "card";
|
|
5604
|
+
readonly arrange: "grid";
|
|
5605
|
+
readonly who: "none";
|
|
5606
|
+
readonly how: "wider";
|
|
5607
|
+
readonly move: readonly [];
|
|
5608
|
+
readonly hover: readonly [];
|
|
5609
|
+
readonly arrive: "together";
|
|
5610
|
+
readonly phone: "stack";
|
|
5575
5611
|
};
|
|
5612
|
+
readonly fingerprint: readonly ["arrange", "who", "how", "move"];
|
|
5613
|
+
readonly references: readonly [{
|
|
5614
|
+
readonly id: "stories-strips";
|
|
5615
|
+
readonly after: "Doron's client-stories screenshot";
|
|
5616
|
+
readonly added: "2026-11-18";
|
|
5617
|
+
readonly mix: {
|
|
5618
|
+
readonly item: "card";
|
|
5619
|
+
readonly arrange: "strips";
|
|
5620
|
+
readonly who: "pointed";
|
|
5621
|
+
readonly how: "wider";
|
|
5622
|
+
readonly hover: readonly ["open", "dim"];
|
|
5623
|
+
readonly arrive: "one-by-one";
|
|
5624
|
+
readonly phone: "stack";
|
|
5625
|
+
};
|
|
5626
|
+
}, {
|
|
5627
|
+
readonly id: "products-row-middle-raised";
|
|
5628
|
+
readonly after: "Doron's product-cards screenshot";
|
|
5629
|
+
readonly added: "2026-11-18";
|
|
5630
|
+
readonly mix: {
|
|
5631
|
+
readonly item: "card";
|
|
5632
|
+
readonly arrange: "row";
|
|
5633
|
+
readonly who: "middle";
|
|
5634
|
+
readonly how: "raised";
|
|
5635
|
+
readonly move: readonly ["arrows", "drag"];
|
|
5636
|
+
readonly hover: readonly ["rise"];
|
|
5637
|
+
readonly arrive: "slide-in";
|
|
5638
|
+
readonly phone: "swipe";
|
|
5639
|
+
};
|
|
5640
|
+
}];
|
|
5576
5641
|
readonly rules: {
|
|
5577
5642
|
readonly minItems: 3;
|
|
5578
5643
|
readonly strips: readonly [3, 6];
|
|
5579
5644
|
readonly onlyStrips: {
|
|
5580
|
-
readonly
|
|
5581
|
-
readonly
|
|
5645
|
+
readonly how: readonly ["wider"];
|
|
5646
|
+
readonly hover: readonly ["open"];
|
|
5582
5647
|
};
|
|
5583
5648
|
readonly onlyRow: {
|
|
5584
|
-
readonly
|
|
5585
|
-
readonly
|
|
5649
|
+
readonly who: readonly ["middle"];
|
|
5650
|
+
readonly move: readonly ["page"];
|
|
5586
5651
|
};
|
|
5587
5652
|
readonly moving: readonly ["row", "deck"];
|
|
5588
5653
|
readonly neverSwipe: readonly ["grid", "masonry"];
|
|
@@ -7564,6 +7629,11 @@ declare enum LayoutListRole {
|
|
|
7564
7629
|
Dim = "list.dim",
|
|
7565
7630
|
Masonry = "list.masonry",
|
|
7566
7631
|
MasonryTwo = "list.masonry-two",
|
|
7632
|
+
/** LI3: strips (the Repeater) — stacked on a phone, two across, or a row to swipe; each row a strip item. */
|
|
7633
|
+
Strips = "list.strips",
|
|
7634
|
+
StripsTwo = "list.strips-two",
|
|
7635
|
+
StripsSwipe = "list.strips-swipe",
|
|
7636
|
+
StripItem = "list.strip-item",
|
|
7567
7637
|
Item = "list.item"
|
|
7568
7638
|
}
|
|
7569
7639
|
/** A list role → the Card v2 part that shows it (the title is the card's locked title; `link` links the card). */
|
|
@@ -9887,6 +9957,12 @@ declare function layoutDialOf(animate: string | null | undefined, ceiling: strin
|
|
|
9887
9957
|
|
|
9888
9958
|
/** A gallery the wire marks `autoplay` turns every 5 s — what the proof sites' autoplaying galleries do. */
|
|
9889
9959
|
declare const LAYOUT_WIRE_AUTOPLAY_MS = 5000;
|
|
9960
|
+
/**
|
|
9961
|
+
* List ingredients (list-ingredients-plan.md §2, LI1): a list section's mix travels as ONE list of `<ingredient>:<word>`
|
|
9962
|
+
* words (`arrange:strips`, `hover:dim`) and its parts as `<list>.<role>` (`stories.quote`) — two properties, so the
|
|
9963
|
+
* request stays inside the 40 the budget allows, and the parts enum is generated from the plan's own lists: a model
|
|
9964
|
+
* cannot name a part its list does not have (R-H2).
|
|
9965
|
+
*/
|
|
9890
9966
|
declare enum LayoutMixIngredient {
|
|
9891
9967
|
Item = "item",
|
|
9892
9968
|
Arrange = "arrange",
|
|
@@ -9897,8 +9973,11 @@ declare enum LayoutMixIngredient {
|
|
|
9897
9973
|
Arrive = "arrive",
|
|
9898
9974
|
Phone = "phone"
|
|
9899
9975
|
}
|
|
9900
|
-
/** Every word
|
|
9976
|
+
/** Every word a stored mix may hold, ingredient by ingredient (a waiting word too: a stored answer still reads). */
|
|
9901
9977
|
declare const LAYOUT_MIX_WORDS: ReadonlyArray<string>;
|
|
9978
|
+
/** The words the wire OFFERS — the built ones only (ingredients.md §3.3): a waiting word would put its stand-in on every
|
|
9979
|
+
* site that asked for it. */
|
|
9980
|
+
declare const LAYOUT_MIX_OFFERED: ReadonlyArray<string>;
|
|
9902
9981
|
/** A list a composed page may show, as the wire's parts enum needs it (`layoutListShapes` gives these). */
|
|
9903
9982
|
interface LayoutWireList {
|
|
9904
9983
|
alias: string;
|
|
@@ -10411,6 +10490,147 @@ declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, la
|
|
|
10411
10490
|
/** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
|
|
10412
10491
|
declare function pageListIssues(page: LayoutPage): LayoutIssue[];
|
|
10413
10492
|
|
|
10493
|
+
/**
|
|
10494
|
+
* THE LIST TABLE (list-ingredients-plan.md; the contract's `layout.mjs` `LIST`, in the shape every mixed part shares —
|
|
10495
|
+
* ingredients.md §2): the words of each ingredient, what each means, and which wait for a later phase and are drawn as
|
|
10496
|
+
* a built word meanwhile. Everything that offers, says or draws a list word reads it here; nothing retypes one.
|
|
10497
|
+
*/
|
|
10498
|
+
declare const LIST_TABLE: {
|
|
10499
|
+
readonly ingredients: {
|
|
10500
|
+
readonly item: readonly ["photo", "card"];
|
|
10501
|
+
readonly arrange: readonly ["row", "grid", "masonry", "strips", "deck"];
|
|
10502
|
+
readonly who: readonly ["none", "middle", "first", "pointed"];
|
|
10503
|
+
readonly how: readonly ["bigger", "wider", "raised", "brighter"];
|
|
10504
|
+
readonly move: readonly ["arrows", "drag", "auto", "page"];
|
|
10505
|
+
readonly hover: readonly ["rise", "open", "zoom", "dim"];
|
|
10506
|
+
readonly arrive: readonly ["together", "one-by-one", "slide-in"];
|
|
10507
|
+
readonly phone: readonly ["swipe", "stack", "two-up"];
|
|
10508
|
+
};
|
|
10509
|
+
readonly many: readonly ["move", "hover"];
|
|
10510
|
+
readonly meanings: {
|
|
10511
|
+
readonly "item.photo": "pictures only";
|
|
10512
|
+
readonly "item.card": "a card built from the list's own fields (its parts)";
|
|
10513
|
+
readonly "arrange.row": "side by side in one line you move through";
|
|
10514
|
+
readonly "arrange.grid": "a still grid";
|
|
10515
|
+
readonly "arrange.masonry": "a still wall that keeps every picture's own shape";
|
|
10516
|
+
readonly "arrange.strips": "tall strips, one always open wide with its whole story";
|
|
10517
|
+
readonly "arrange.deck": "a stack, one card on top, the rest waiting behind";
|
|
10518
|
+
readonly "who.none": "none stands out";
|
|
10519
|
+
readonly "who.middle": "the one in the middle of the row";
|
|
10520
|
+
readonly "who.first": "the first one";
|
|
10521
|
+
readonly "who.pointed": "the one the visitor points at or taps";
|
|
10522
|
+
readonly "how.bigger": "larger than the rest";
|
|
10523
|
+
readonly "how.wider": "open wide (strips only)";
|
|
10524
|
+
readonly "how.raised": "lifted above the rest";
|
|
10525
|
+
readonly "how.brighter": "the rest dimmed";
|
|
10526
|
+
readonly "move.arrows": "arrow buttons";
|
|
10527
|
+
readonly "move.drag": "dragged with a mouse or a finger";
|
|
10528
|
+
readonly "move.auto": "turns by itself (pauses under a mouse)";
|
|
10529
|
+
readonly "move.page": "the page's scroll carries it sideways (alone)";
|
|
10530
|
+
readonly "hover.rise": "an item rises under the mouse";
|
|
10531
|
+
readonly "hover.open": "a strip opens under the mouse (strips only)";
|
|
10532
|
+
readonly "hover.zoom": "the picture grows inside its frame";
|
|
10533
|
+
readonly "hover.dim": "the others dim";
|
|
10534
|
+
readonly "arrive.together": "all at once";
|
|
10535
|
+
readonly "arrive.one-by-one": "one after another";
|
|
10536
|
+
readonly "arrive.slide-in": "sliding in from the side";
|
|
10537
|
+
readonly "phone.swipe": "a row you swipe";
|
|
10538
|
+
readonly "phone.stack": "one under another";
|
|
10539
|
+
readonly "phone.two-up": "two across";
|
|
10540
|
+
};
|
|
10541
|
+
readonly waits: {
|
|
10542
|
+
readonly "arrange.deck": {
|
|
10543
|
+
readonly phase: "LI4";
|
|
10544
|
+
readonly drawnAs: "row";
|
|
10545
|
+
};
|
|
10546
|
+
readonly "who.middle": {
|
|
10547
|
+
readonly phase: "LI4";
|
|
10548
|
+
readonly drawnAs: "none";
|
|
10549
|
+
};
|
|
10550
|
+
readonly "how.bigger": {
|
|
10551
|
+
readonly phase: "LI4";
|
|
10552
|
+
readonly drawnAs: null;
|
|
10553
|
+
};
|
|
10554
|
+
readonly "how.raised": {
|
|
10555
|
+
readonly phase: "LI4";
|
|
10556
|
+
readonly drawnAs: null;
|
|
10557
|
+
};
|
|
10558
|
+
readonly "how.brighter": {
|
|
10559
|
+
readonly phase: "LI4";
|
|
10560
|
+
readonly drawnAs: null;
|
|
10561
|
+
};
|
|
10562
|
+
};
|
|
10563
|
+
readonly defaults: {
|
|
10564
|
+
readonly item: "card";
|
|
10565
|
+
readonly arrange: "grid";
|
|
10566
|
+
readonly who: "none";
|
|
10567
|
+
readonly how: "wider";
|
|
10568
|
+
readonly move: readonly [];
|
|
10569
|
+
readonly hover: readonly [];
|
|
10570
|
+
readonly arrive: "together";
|
|
10571
|
+
readonly phone: "stack";
|
|
10572
|
+
};
|
|
10573
|
+
readonly fingerprint: readonly ["arrange", "who", "how", "move"];
|
|
10574
|
+
readonly references: readonly [{
|
|
10575
|
+
readonly id: "stories-strips";
|
|
10576
|
+
readonly after: "Doron's client-stories screenshot";
|
|
10577
|
+
readonly added: "2026-11-18";
|
|
10578
|
+
readonly mix: {
|
|
10579
|
+
readonly item: "card";
|
|
10580
|
+
readonly arrange: "strips";
|
|
10581
|
+
readonly who: "pointed";
|
|
10582
|
+
readonly how: "wider";
|
|
10583
|
+
readonly hover: readonly ["open", "dim"];
|
|
10584
|
+
readonly arrive: "one-by-one";
|
|
10585
|
+
readonly phone: "stack";
|
|
10586
|
+
};
|
|
10587
|
+
}, {
|
|
10588
|
+
readonly id: "products-row-middle-raised";
|
|
10589
|
+
readonly after: "Doron's product-cards screenshot";
|
|
10590
|
+
readonly added: "2026-11-18";
|
|
10591
|
+
readonly mix: {
|
|
10592
|
+
readonly item: "card";
|
|
10593
|
+
readonly arrange: "row";
|
|
10594
|
+
readonly who: "middle";
|
|
10595
|
+
readonly how: "raised";
|
|
10596
|
+
readonly move: readonly ["arrows", "drag"];
|
|
10597
|
+
readonly hover: readonly ["rise"];
|
|
10598
|
+
readonly arrive: "slide-in";
|
|
10599
|
+
readonly phone: "swipe";
|
|
10600
|
+
};
|
|
10601
|
+
}];
|
|
10602
|
+
readonly rules: {
|
|
10603
|
+
readonly minItems: 3;
|
|
10604
|
+
readonly strips: readonly [3, 6];
|
|
10605
|
+
readonly onlyStrips: {
|
|
10606
|
+
readonly how: readonly ["wider"];
|
|
10607
|
+
readonly hover: readonly ["open"];
|
|
10608
|
+
};
|
|
10609
|
+
readonly onlyRow: {
|
|
10610
|
+
readonly who: readonly ["middle"];
|
|
10611
|
+
readonly move: readonly ["page"];
|
|
10612
|
+
};
|
|
10613
|
+
readonly moving: readonly ["row", "deck"];
|
|
10614
|
+
readonly neverSwipe: readonly ["grid", "masonry"];
|
|
10615
|
+
};
|
|
10616
|
+
};
|
|
10617
|
+
type ListIngredient = keyof typeof LIST_TABLE.ingredients;
|
|
10618
|
+
/** The ingredients, in the table's order. */
|
|
10619
|
+
declare const LIST_INGREDIENTS: ListIngredient[];
|
|
10620
|
+
/** A word that is not drawn yet: the phase it waits for and the built word it is drawn as (null: drawn without it). */
|
|
10621
|
+
interface ListWait {
|
|
10622
|
+
phase: string;
|
|
10623
|
+
drawnAs: string | null;
|
|
10624
|
+
}
|
|
10625
|
+
/** Every word of an ingredient. */
|
|
10626
|
+
declare function listIngredientWords(k: ListIngredient): ReadonlyArray<string>;
|
|
10627
|
+
/** The wait of a word, or null when the product draws it. */
|
|
10628
|
+
declare function listWait(k: ListIngredient, word: string): ListWait | null;
|
|
10629
|
+
/** The words of an ingredient the product draws — the only ones the wire offers (ingredients.md §3.3). */
|
|
10630
|
+
declare function listBuiltWords(k: ListIngredient): string[];
|
|
10631
|
+
/** What a word means, in the words the model and the owner read (the word itself when the table has none). */
|
|
10632
|
+
declare function listMeaning(k: ListIngredient, word: string): string;
|
|
10633
|
+
|
|
10414
10634
|
/**
|
|
10415
10635
|
* The laptop the estimates are made on (the render check's 1440 × 900). A grid column is taken as 1440 / 12 px and a row
|
|
10416
10636
|
* as its section's screens × 900 / rows (a held section's grid is its one-screen stage): the gutter and the column gaps
|
|
@@ -10664,5 +10884,5 @@ declare function applyLayoutEdits(page: LayoutPage, edits: ReadonlyArray<LayoutE
|
|
|
10664
10884
|
/** The strict format a repair is asked in: `{ edits: [{ op, path, value }] }`, every key required. */
|
|
10665
10885
|
declare function layoutRepairJsonSchema(): JsonSchema;
|
|
10666
10886
|
|
|
10667
|
-
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_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_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_LONG_WORDS, LIST_ROLE_WORDS, 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, 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, listTokenOf, listTokensOf, 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 };
|
|
10668
|
-
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, 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 };
|
|
10887
|
+
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_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, 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 };
|
|
10888
|
+
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 };
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
LayoutIssue, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHow, LayoutListHover, LayoutListItem, LayoutListMix,
|
|
3
3
|
LayoutListMove, LayoutListPhone, LayoutListShape, LayoutListWho, LayoutMendKind, LayoutPage,
|
|
4
4
|
} from './layout-language';
|
|
5
|
+
import { listMeaning } from './list-table';
|
|
5
6
|
import { SPEC_SITE_LAYOUT } from './site-spec.generated';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -18,7 +19,7 @@ const enumValues = (e: object): string[] => Object.values(e);
|
|
|
18
19
|
const has = <T extends string>(list: ReadonlyArray<T>, v: string): boolean => (list as ReadonlyArray<string>).includes(v);
|
|
19
20
|
|
|
20
21
|
/** The words a repaired mix is said in (the brief and the owner read them). */
|
|
21
|
-
const say = (
|
|
22
|
+
const say = (arrange: string) => listMeaning('arrange', arrange);
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
|
|
@@ -104,11 +105,11 @@ export function checkList(mix: LayoutListMix, shape: LayoutListShape | null, lay
|
|
|
104
105
|
if (next.standout.how) repair('nothing stands out — no way to stand out');
|
|
105
106
|
delete next.standout;
|
|
106
107
|
} else {
|
|
107
|
-
if (has(R.onlyRow.
|
|
108
|
+
if (has(R.onlyRow.who, next.standout.who) && !row) {
|
|
108
109
|
repair(`"${next.standout.who}" is a row's — the first stands out`);
|
|
109
110
|
next.standout.who = LayoutListWho.First;
|
|
110
111
|
}
|
|
111
|
-
if (next.standout.how && has(R.onlyStrips.
|
|
112
|
+
if (next.standout.how && has(R.onlyStrips.how, next.standout.how)) {
|
|
112
113
|
repair(`"${next.standout.how}" is a strip's — bigger instead`);
|
|
113
114
|
next.standout.how = LayoutListHow.Bigger;
|
|
114
115
|
}
|
|
@@ -122,10 +123,10 @@ export function checkList(mix: LayoutListMix, shape: LayoutListShape | null, lay
|
|
|
122
123
|
next.move = [];
|
|
123
124
|
}
|
|
124
125
|
if (moving) {
|
|
125
|
-
const onlyRow = next.move.filter(m => has(R.onlyRow.
|
|
126
|
+
const onlyRow = next.move.filter(m => has(R.onlyRow.move, m));
|
|
126
127
|
if (onlyRow.length && !row) {
|
|
127
128
|
repair(`"${onlyRow.join(', ')}" carries a row only`);
|
|
128
|
-
next.move = next.move.filter(m => !has(R.onlyRow.
|
|
129
|
+
next.move = next.move.filter(m => !has(R.onlyRow.move, m));
|
|
129
130
|
}
|
|
130
131
|
if (next.move.includes(LayoutListMove.Page) && next.move.length > 1) {
|
|
131
132
|
repair('the page\'s scroll carries the row alone');
|
|
@@ -136,10 +137,10 @@ export function checkList(mix: LayoutListMix, shape: LayoutListShape | null, lay
|
|
|
136
137
|
next.move = [LayoutListMove.Drag];
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
|
-
const stripHovers = next.hover.filter(h => has(R.onlyStrips.
|
|
140
|
+
const stripHovers = next.hover.filter(h => has(R.onlyStrips.hover, h));
|
|
140
141
|
if (stripHovers.length && !strips) {
|
|
141
142
|
repair(`"${stripHovers.join(', ')}" is a strip's`);
|
|
142
|
-
next.hover = next.hover.filter(h => !has(R.onlyStrips.
|
|
143
|
+
next.hover = next.hover.filter(h => !has(R.onlyStrips.hover, h));
|
|
143
144
|
}
|
|
144
145
|
if (new Set(next.hover).size !== next.hover.length) next.hover = [...new Set(next.hover)];
|
|
145
146
|
|
|
@@ -7,11 +7,12 @@ import { ColorScheme, DesignChoices, LinkType, setColorScheme } from '@vectoriox
|
|
|
7
7
|
import { FORM_AFTER_SEND_TRAIT, FormAfterSend, FormPresetId } from '@vectoriox/iox-ui/forms-core';
|
|
8
8
|
import { composeNavHeader, composePresetForm } from './compose-site';
|
|
9
9
|
import { drawnHeaderMix, HeaderIngredient, headerMixOfNavKind } from './header-mix';
|
|
10
|
+
import { listWait } from './list-table';
|
|
10
11
|
import { NavShape, planNavShape } from './nav-shape';
|
|
11
12
|
import {
|
|
12
13
|
LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_EASING, LAYOUT_GUTTER, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHOTO_ASPECT, LAYOUT_TOOLTIP_TRAIT,
|
|
13
14
|
LAYOUT_PHONE_PADDING, LAYOUT_RISE, LAYOUT_TEXT_KINDS, LayoutBleed, LayoutColour, LayoutEase, LayoutEnter, LayoutForm, LayoutGallery, LayoutLayer,
|
|
14
|
-
LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListItem, LayoutListMix, LayoutListMove, LayoutListPhone, LayoutListWho,
|
|
15
|
+
LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMix, LayoutListMove, LayoutListPhone, LayoutListWho,
|
|
15
16
|
LayoutLayerKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutRole, LayoutSection, LayoutSide, LayoutSite, LayoutTrack, LayoutTrackProp, LayoutTransition, phoneGapBefore,
|
|
16
17
|
screenFontSize,
|
|
17
18
|
} from './layout-language';
|
|
@@ -120,9 +121,19 @@ export enum LayoutListRole {
|
|
|
120
121
|
Dim = 'list.dim',
|
|
121
122
|
Masonry = 'list.masonry',
|
|
122
123
|
MasonryTwo = 'list.masonry-two',
|
|
124
|
+
/** LI3: strips (the Repeater) — stacked on a phone, two across, or a row to swipe; each row a strip item. */
|
|
125
|
+
Strips = 'list.strips',
|
|
126
|
+
StripsTwo = 'list.strips-two',
|
|
127
|
+
StripsSwipe = 'list.strips-swipe',
|
|
128
|
+
StripItem = 'list.strip-item',
|
|
123
129
|
Item = 'list.item',
|
|
124
130
|
}
|
|
125
131
|
|
|
132
|
+
/** A strips list's Repeater role by the phone the mix asks for. */
|
|
133
|
+
const STRIPS_ROLE: Readonly<Record<`${LayoutListPhone}`, LayoutListRole>> = {
|
|
134
|
+
stack: LayoutListRole.Strips, 'two-up': LayoutListRole.StripsTwo, swipe: LayoutListRole.StripsSwipe,
|
|
135
|
+
};
|
|
136
|
+
|
|
126
137
|
/** A list role → the Card v2 part that shows it (the title is the card's locked title; `link` links the card). */
|
|
127
138
|
export const LIST_CARD_PART: Readonly<Record<string, CardPart>> = {
|
|
128
139
|
image: CardPart.Media,
|
|
@@ -671,7 +682,8 @@ function linkToDetail(node: SerializedNode, source: string, detail: NonNullable<
|
|
|
671
682
|
}
|
|
672
683
|
|
|
673
684
|
/** A card item: Card v2 (the palette's recipe) with a part per role the mix shows, each bound to the row's field. */
|
|
674
|
-
function listCard(id: string, mix: LayoutListMix, source: string, list: LayoutListBinding, masonry: boolean, path: string, ctx: Ctx
|
|
685
|
+
function listCard(id: string, mix: LayoutListMix, source: string, list: LayoutListBinding, masonry: boolean, path: string, ctx: Ctx,
|
|
686
|
+
layout: CardLayout = CardLayout.Top): SerializedNode {
|
|
675
687
|
const shown = new Set(mix.parts.filter(r => !!list.roles[r]));
|
|
676
688
|
const field = (role: string) => (shown.has(role) ? list.roles[role] : undefined);
|
|
677
689
|
const eyebrow = field('meta') ?? field('date');
|
|
@@ -681,7 +693,7 @@ function listCard(id: string, mix: LayoutListMix, source: string, list: LayoutLi
|
|
|
681
693
|
partOn(CardPart.Eyebrow, eyebrow), partOn(CardPart.Text, field('summary')), partOn(CardPart.Quote, field('quote')),
|
|
682
694
|
partOn(CardPart.Person, field('person')), [CardPart.Badge, false], [CardPart.Actions, false],
|
|
683
695
|
]) as Partial<Record<CardPart, boolean>>;
|
|
684
|
-
const card = buildCardRecipe(partFactory(id), { layout
|
|
696
|
+
const card = buildCardRecipe(partFactory(id), { layout, parts }) as unknown as SerializedNode;
|
|
685
697
|
card.id = id;
|
|
686
698
|
const bind = (role: CardRole, prop: string, f: string | undefined) => {
|
|
687
699
|
const part = findByRole(card as unknown as CompositeNode, role) as SerializedNode | undefined;
|
|
@@ -744,19 +756,25 @@ function composeList(id: string, l: LayoutLayer, mix: LayoutListMix, source: str
|
|
|
744
756
|
const scheme = layoutBandScheme(lc.section.ground);
|
|
745
757
|
if (scheme) setColorScheme(frame, scheme);
|
|
746
758
|
|
|
759
|
+
// A word the product does not draw yet (the contract's list table): drawn as its stand-in, and said.
|
|
747
760
|
let arrange = mix.arrange;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.arrange`, `${arrange} is drawn in
|
|
751
|
-
arrange =
|
|
761
|
+
const arrangeWait = listWait('arrange', arrange);
|
|
762
|
+
if (arrangeWait?.drawnAs) {
|
|
763
|
+
gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.arrange`, `${arrange} is drawn in ${arrangeWait.phase}: laid out as a ${arrangeWait.drawnAs}`);
|
|
764
|
+
arrange = arrangeWait.drawnAs as LayoutListMix['arrange'];
|
|
752
765
|
}
|
|
753
|
-
|
|
754
|
-
|
|
766
|
+
const strips = arrange === LayoutListArrange.Strips;
|
|
767
|
+
// Strips draw their own standing out (the open one, wider); any other is said until its phase draws it.
|
|
768
|
+
if (mix.standout && mix.standout.who !== LayoutListWho.None && !(strips && mix.standout.how === LayoutListHow.Wider)) {
|
|
769
|
+
const wait = listWait('who', mix.standout.who) ?? (mix.standout.how ? listWait('how', mix.standout.how) : null);
|
|
770
|
+
gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.standout`,
|
|
771
|
+
`standing out (${mix.standout.who}${mix.standout.how ? ` · ${mix.standout.how}` : ''}) is drawn ${wait ? `in ${wait.phase}` : 'by strips only'}`);
|
|
755
772
|
}
|
|
756
773
|
const masonry = arrange === LayoutListArrange.Masonry;
|
|
757
774
|
const item = mix.item === LayoutListItem.Card
|
|
758
|
-
? listCard(`${id}-item`, mix, source, list, masonry, lc.path, ctx)
|
|
775
|
+
? listCard(`${id}-item`, mix, source, list, masonry, lc.path, ctx, strips ? CardLayout.Overlay : CardLayout.Top)
|
|
759
776
|
: listPhoto(`${id}-item`, source, list, masonry);
|
|
777
|
+
if (strips) return composeStrips(id, frame, item, mix, source, ctx);
|
|
760
778
|
item.interactions = [...item.interactions, listArriveInteraction(item.id, mix.arrive, ctx)];
|
|
761
779
|
|
|
762
780
|
if (arrange === LayoutListArrange.Row) {
|
|
@@ -812,6 +830,32 @@ function composeList(id: string, l: LayoutLayer, mix: LayoutListMix, source: str
|
|
|
812
830
|
return frame;
|
|
813
831
|
}
|
|
814
832
|
|
|
833
|
+
/**
|
|
834
|
+
* Strips (LI3): a Repeater over the list whose ONE row is a strip item holding the card (picture filling it, words on
|
|
835
|
+
* the scrim) or the picture. Everything strips DO — the open one wider, pointing and focus, the phone — is the shared
|
|
836
|
+
* CSS's (iox-design.css, by the Repeater's role), so the canvas and the live site draw the same strips with no runtime.
|
|
837
|
+
*/
|
|
838
|
+
function composeStrips(id: string, frame: SerializedNode, item: SerializedNode, mix: LayoutListMix, source: string, ctx: Ctx): SerializedNode {
|
|
839
|
+
const strip = create(`${id}-strip`, T.Container, {}, NO_ELEMENT_STYLE);
|
|
840
|
+
strip.role = LayoutListRole.StripItem;
|
|
841
|
+
setStyleProps(strip, { position: 'relative', display: 'block', width: FULL, height: FULL, minHeight: ZERO, overflow: 'hidden' });
|
|
842
|
+
setStyleProps(item, { width: FULL, height: FULL, minHeight: ZERO });
|
|
843
|
+
if (item.role === LayoutListRole.Item) {
|
|
844
|
+
const image = item.children?.[0];
|
|
845
|
+
if (image) setStyleProps(image, { height: FULL, aspectRatio: 'auto' });
|
|
846
|
+
}
|
|
847
|
+
// The arrival plays on the card, never on the strip: the strip's own transform is the strips' geometry.
|
|
848
|
+
item.interactions = [...item.interactions, listArriveInteraction(item.id, mix.arrive, ctx)];
|
|
849
|
+
strip.children = [item];
|
|
850
|
+
const items = create(`${id}-items`, 'Repeater', {}, 'box');
|
|
851
|
+
items.role = STRIPS_ROLE[mix.phone];
|
|
852
|
+
items.bindings.push({ prop: 'source', source, path: '' });
|
|
853
|
+
setStyleProps(items, { display: 'block', width: FULL });
|
|
854
|
+
items.children = [strip];
|
|
855
|
+
frame.children = [items];
|
|
856
|
+
return frame;
|
|
857
|
+
}
|
|
858
|
+
|
|
815
859
|
/** Recipe parts stamped with this composer's ids (`<id>-<key>`). */
|
|
816
860
|
function partFactory(id: string): (spec: CompositeNodeSpec) => CompositeNode {
|
|
817
861
|
return spec => create(`${id}-${spec.key}`, spec.type, { ...(spec.props ?? {}) }, spec.elementStyle ?? null) as unknown as CompositeNode;
|