@vectoriox/iox-ui 5.108.0 → 5.109.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 +235 -15
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +50 -14
- package/package.json +1 -1
- package/src/generation-core/check-layout.ts +14 -1
- package/src/generation-core/check-list.ts +168 -0
- package/src/generation-core/compose-layout.ts +3 -0
- package/src/generation-core/compose-site.ts +2 -14
- package/src/generation-core/layout-fingerprint.ts +37 -2
- package/src/generation-core/layout-language.ts +18 -1
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/serialized-node.ts +3 -1
- package/styles/iox-design.css +18 -0
|
@@ -13760,7 +13760,7 @@ const GLOBAL_POSITION = {
|
|
|
13760
13760
|
};
|
|
13761
13761
|
const ROUTE = /^\/(?:(?:[a-z0-9]+(?:-[a-z0-9]+)*|:[a-zA-Z_][a-zA-Z0-9_]*)(?:\/(?:[a-z0-9]+(?:-[a-z0-9]+)*|:[a-zA-Z_][a-zA-Z0-9_]*))*)?$/;
|
|
13762
13762
|
const ROUTE_PARAM$1 = /:([a-zA-Z_][a-zA-Z0-9_]*)/g;
|
|
13763
|
-
const has = (table, key) => Object.prototype.hasOwnProperty.call(table, key);
|
|
13763
|
+
const has$1 = (table, key) => Object.prototype.hasOwnProperty.call(table, key);
|
|
13764
13764
|
/** The `:param` names of a route, in order. */
|
|
13765
13765
|
function routeParams(route) {
|
|
13766
13766
|
return [...route.matchAll(ROUTE_PARAM$1)].map(m => m[1]);
|
|
@@ -13808,7 +13808,7 @@ function validateBusiness(c, business) {
|
|
|
13808
13808
|
}
|
|
13809
13809
|
}
|
|
13810
13810
|
function validateLocale(c, locale) {
|
|
13811
|
-
if (locale !== undefined && (typeof locale !== 'string' || !has(SITE_LOCALES, locale))) {
|
|
13811
|
+
if (locale !== undefined && (typeof locale !== 'string' || !has$1(SITE_LOCALES, locale))) {
|
|
13812
13812
|
c.add(SitePlanIssueCode.InvalidLocale, 'locale', `must be one of ${Object.keys(SITE_LOCALES).join(', ')}`);
|
|
13813
13813
|
}
|
|
13814
13814
|
}
|
|
@@ -13829,7 +13829,7 @@ function validateDesign(c, design) {
|
|
|
13829
13829
|
if (design['pairId'] !== undefined && pack && !pack.pairs.some(p => p.id === design['pairId']))
|
|
13830
13830
|
bad('pairId', `is not a font pairing of ${pack.id}`);
|
|
13831
13831
|
const axis = (key, table) => {
|
|
13832
|
-
if (design[key] !== undefined && (typeof design[key] !== 'string' || !has(table, design[key])))
|
|
13832
|
+
if (design[key] !== undefined && (typeof design[key] !== 'string' || !has$1(table, design[key])))
|
|
13833
13833
|
bad(key, `must be one of ${Object.keys(table).join(', ')}`);
|
|
13834
13834
|
};
|
|
13835
13835
|
axis('shape', SPEC_AXES.shapes);
|
|
@@ -13939,7 +13939,7 @@ function validateRoles(c, roles, path, typeName, fields, fieldTypes) {
|
|
|
13939
13939
|
out[role] = field;
|
|
13940
13940
|
}
|
|
13941
13941
|
for (const role of REQUIRED_CONTENT_ROLES)
|
|
13942
|
-
if (!out[role] && !has(roles, role))
|
|
13942
|
+
if (!out[role] && !has$1(roles, role))
|
|
13943
13943
|
c.add(SitePlanIssueCode.MissingRole, `${path}.${role}`, `every content type names its ${role} field`);
|
|
13944
13944
|
return out;
|
|
13945
13945
|
}
|
|
@@ -14183,7 +14183,7 @@ function validatePages(c, list, types, sources, density) {
|
|
|
14183
14183
|
}
|
|
14184
14184
|
}
|
|
14185
14185
|
const archetype = c.string(raw, 'archetype', path, false);
|
|
14186
|
-
if (archetype && !has(PAGE_ARCHETYPES, archetype))
|
|
14186
|
+
if (archetype && !has$1(PAGE_ARCHETYPES, archetype))
|
|
14187
14187
|
c.add(SitePlanIssueCode.Archetype, `${path}.archetype`, `"${archetype}" is not a page type (${Object.keys(PAGE_ARCHETYPES).join(', ')})`);
|
|
14188
14188
|
validatePageSeo(c, raw['seo'], `${path}.seo`);
|
|
14189
14189
|
const need = c.string(raw, 'need', path, false);
|
|
@@ -14241,7 +14241,7 @@ function validatePages(c, list, types, sources, density) {
|
|
|
14241
14241
|
else if (form && !formPresetById(form))
|
|
14242
14242
|
c.add(SitePlanIssueCode.InvalidForm, `${sp}.form`, `"${form}" is not a form preset`);
|
|
14243
14243
|
const enter = c.string(s, 'enter', sp, false);
|
|
14244
|
-
if (enter && !has(SPEC_AXES.animations, enter))
|
|
14244
|
+
if (enter && !has$1(SPEC_AXES.animations, enter))
|
|
14245
14245
|
c.add(SitePlanIssueCode.InvalidEnter, `${sp}.enter`, `must be one of ${Object.keys(SPEC_AXES.animations).join(', ')}`);
|
|
14246
14246
|
const without = s['without'];
|
|
14247
14247
|
if (without !== undefined) {
|
|
@@ -15610,6 +15610,9 @@ var LayoutMendKind;
|
|
|
15610
15610
|
LayoutMendKind["Screens"] = "screens";
|
|
15611
15611
|
/** A daring or Expressive page whose opening has no display: the opening's lead line is set as one (a word). */
|
|
15612
15612
|
LayoutMendKind["Display"] = "display";
|
|
15613
|
+
/** A list section's mix that breaks a list rule the composer can settle (list-ingredients §6, `checkList`): the layer
|
|
15614
|
+
* takes the repaired mix — every repair of one list carries the same one. */
|
|
15615
|
+
LayoutMendKind["List"] = "list";
|
|
15613
15616
|
})(LayoutMendKind || (LayoutMendKind = {}));
|
|
15614
15617
|
/** Which rule chose a mended gallery's list. */
|
|
15615
15618
|
var LayoutSourceChoice;
|
|
@@ -16785,6 +16788,9 @@ function composeList(id, l, mix, source, list, lc, ctx) {
|
|
|
16785
16788
|
display: 'flex', flexDirection: 'column',
|
|
16786
16789
|
});
|
|
16787
16790
|
phone(slider, scrollPlays ? { height: 'auto' } : { position: 'relative', height: 'auto' });
|
|
16791
|
+
// A row keeps its own slide width on a phone (most of the screen, the next item peeking): the slider's phone
|
|
16792
|
+
// default is one slide the full width, unless the phone layer names its slides per view.
|
|
16793
|
+
slider.responsive[LAYOUT_PHONE_BREAKPOINT].inputs = { slidesPerView: 'auto' };
|
|
16788
16794
|
if (mix.phone !== LayoutListPhone.Swipe)
|
|
16789
16795
|
gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.phone`, `a row stays a row you swipe on a phone (${mix.phone} is a grid's)`);
|
|
16790
16796
|
const slide = create$1(`${id}-slide`, T.Slide, { caption: '' }, NO_ELEMENT_STYLE);
|
|
@@ -17413,7 +17419,7 @@ const UNLINKED_TYPE = { LinkedContainer: 'Container' };
|
|
|
17413
17419
|
const BUTTON_BLOCK = 'ButtonBlock';
|
|
17414
17420
|
const FORM = 'Form';
|
|
17415
17421
|
const FIELD = 'Field';
|
|
17416
|
-
const IMAGE = 'Image';
|
|
17422
|
+
const IMAGE$1 = 'Image';
|
|
17417
17423
|
const VIDEO = 'Video';
|
|
17418
17424
|
/** A Video's source prop (media-core `VideoTrait.Source` — not `source`, which names a data source). */
|
|
17419
17425
|
const VIDEO_SOURCE_PROP = 'videoSource';
|
|
@@ -17628,7 +17634,7 @@ function layoutListBinding(alias, plan) {
|
|
|
17628
17634
|
}
|
|
17629
17635
|
/** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
|
|
17630
17636
|
function describeListShape(shape) {
|
|
17631
|
-
const roles = shape.roles.map(r => `${LIST_ROLE_WORDS[r]}${shape.long.includes(r) ? ' (long)' : ''}`).join(', ');
|
|
17637
|
+
const roles = shape.roles.map(r => `${(LIST_ROLE_WORDS[r] ?? r)}${shape.long.includes(r) ? ' (long)' : ''}`).join(', ');
|
|
17632
17638
|
return `${shape.alias} (${shape.label}): ${shape.items === null ? 'items the owner adds' : `${shape.items} item${shape.items === 1 ? '' : 's'}`} · ${roles}`;
|
|
17633
17639
|
}
|
|
17634
17640
|
/** The list sources a composed gallery may show (`gallery.source`): the plan's query sources whose items have a picture.
|
|
@@ -17946,7 +17952,7 @@ function composeNode(given, id, repeater, ctx) {
|
|
|
17946
17952
|
else
|
|
17947
17953
|
addBinding(node, { prop, ...bound });
|
|
17948
17954
|
}
|
|
17949
|
-
if (type === IMAGE && pn.bind && !isPageScope(pn.bind)) {
|
|
17955
|
+
if (type === IMAGE$1 && pn.bind && !isPageScope(pn.bind)) {
|
|
17950
17956
|
setProp(node, 'src', '');
|
|
17951
17957
|
if (pn.alt === DECORATIVE_ALT)
|
|
17952
17958
|
setProp(node, 'alt', DECORATIVE_ALT);
|
|
@@ -18111,12 +18117,12 @@ function composeRecipe(pn, id, repeater, ctx) {
|
|
|
18111
18117
|
const part = findByRole(card, target.role);
|
|
18112
18118
|
if (!part)
|
|
18113
18119
|
throw new ComposeError(`${id}: "${key}" binds a part the card leaves out`);
|
|
18114
|
-
const node = target.role === CardRole.Media ? part.children?.find(c => c.type === IMAGE) : part;
|
|
18120
|
+
const node = target.role === CardRole.Media ? part.children?.find(c => c.type === IMAGE$1) : part;
|
|
18115
18121
|
if (!node)
|
|
18116
18122
|
throw new ComposeError(`${id}: the card's media holds no image`);
|
|
18117
18123
|
addBinding(node, { prop: target.prop, ...scoped });
|
|
18118
|
-
if (node.type === IMAGE)
|
|
18119
|
-
addBinding(node, { prop: 'alt', ...altBinding({ ...pn, t: IMAGE, bind: path, alt: undefined }, repeater, ctx, id) });
|
|
18124
|
+
if (node.type === IMAGE$1)
|
|
18125
|
+
addBinding(node, { prop: 'alt', ...altBinding({ ...pn, t: IMAGE$1, bind: path, alt: undefined }, repeater, ctx, id) });
|
|
18120
18126
|
}
|
|
18121
18127
|
// The whole card links to its item's own page through its title (`detail`) — or, by route, to a page (`href`).
|
|
18122
18128
|
const title = findByRole(card, CardRole.Title);
|
|
@@ -18623,7 +18629,7 @@ function composeLayoutPage(page, layout, plan, context, design, placeholders, re
|
|
|
18623
18629
|
for (const fact of missing)
|
|
18624
18630
|
placeholders.push({ nodeId: node.id, owner: page.key, kind: PlaceholderKind.Fact, fact, text: String(node.props[prop]) });
|
|
18625
18631
|
}
|
|
18626
|
-
if (node.type === IMAGE && !node.props['src'] && !node.bindings.length)
|
|
18632
|
+
if (node.type === IMAGE$1 && !node.props['src'] && !node.bindings.length)
|
|
18627
18633
|
placeholders.push({ nodeId: node.id, owner: page.key, kind: PlaceholderKind.Image, text: '' });
|
|
18628
18634
|
});
|
|
18629
18635
|
return nodes;
|
|
@@ -23078,6 +23084,177 @@ function describeInventoryForPrompt(id, inv, label) {
|
|
|
23078
23084
|
].join(' · ');
|
|
23079
23085
|
}
|
|
23080
23086
|
|
|
23087
|
+
/**
|
|
23088
|
+
* THE LIST JUDGE (list-ingredients-plan.md §6, LI2; the demo's `checkMix`): one function for any mix of the seven
|
|
23089
|
+
* ingredients. What it can settle with no word or place changed it repairs and says — every repair of one list carries
|
|
23090
|
+
* the SAME repaired mix (`LayoutMendKind.List`), so `mendLayout` applies it once; what it cannot (a value outside the
|
|
23091
|
+
* contract, a list too short to be a list) is left to the model, and then to the silent section fallback. Pure.
|
|
23092
|
+
*/
|
|
23093
|
+
const R = SPEC_SITE_LAYOUT.list.rules;
|
|
23094
|
+
const IMAGE = 'image';
|
|
23095
|
+
const inList$1 = (values, v) => typeof v === 'string' && values.includes(v);
|
|
23096
|
+
const enumValues = (e) => Object.values(e);
|
|
23097
|
+
const has = (list, v) => list.includes(v);
|
|
23098
|
+
/** The words a repaired mix is said in (the brief and the owner read them). */
|
|
23099
|
+
const say = (v) => SPEC_SITE_LAYOUT.list.meanings[v] ?? v;
|
|
23100
|
+
/**
|
|
23101
|
+
* Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
|
|
23102
|
+
* list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
|
|
23103
|
+
*/
|
|
23104
|
+
function checkList(mix, shape, layer) {
|
|
23105
|
+
const at = `${layer}.gallery.list`;
|
|
23106
|
+
const refused = [];
|
|
23107
|
+
const refuse = (code, path, message) => refused.push({ code, path, message });
|
|
23108
|
+
// Values outside the contract are the model's to answer: nothing is repaired over a mix that is not a mix.
|
|
23109
|
+
if (!mix || typeof mix !== 'object')
|
|
23110
|
+
return [{ code: LayoutIssueCode.Shape, path: at, message: 'a list section names its mix' }];
|
|
23111
|
+
if (!inList$1(enumValues(LayoutListItem), mix.item))
|
|
23112
|
+
refuse(LayoutIssueCode.Value, `${at}.item`, enumValues(LayoutListItem).join(' | '));
|
|
23113
|
+
if (!inList$1(enumValues(LayoutListArrange), mix.arrange))
|
|
23114
|
+
refuse(LayoutIssueCode.Value, `${at}.arrange`, enumValues(LayoutListArrange).join(' | '));
|
|
23115
|
+
if (!inList$1(enumValues(LayoutListArrive), mix.arrive))
|
|
23116
|
+
refuse(LayoutIssueCode.Value, `${at}.arrive`, enumValues(LayoutListArrive).join(' | '));
|
|
23117
|
+
if (!inList$1(enumValues(LayoutListPhone), mix.phone))
|
|
23118
|
+
refuse(LayoutIssueCode.Value, `${at}.phone`, enumValues(LayoutListPhone).join(' | '));
|
|
23119
|
+
if (!Array.isArray(mix.parts) || mix.parts.some(p => typeof p !== 'string'))
|
|
23120
|
+
refuse(LayoutIssueCode.Shape, `${at}.parts`, 'the roles each item shows');
|
|
23121
|
+
if (!Array.isArray(mix.move) || mix.move.some(m => !inList$1(enumValues(LayoutListMove), m)))
|
|
23122
|
+
refuse(LayoutIssueCode.Value, `${at}.move`, enumValues(LayoutListMove).join(' | '));
|
|
23123
|
+
if (!Array.isArray(mix.hover) || mix.hover.some(h => !inList$1(enumValues(LayoutListHover), h)))
|
|
23124
|
+
refuse(LayoutIssueCode.Value, `${at}.hover`, enumValues(LayoutListHover).join(' | '));
|
|
23125
|
+
if (mix.standout !== undefined) {
|
|
23126
|
+
if (!inList$1(enumValues(LayoutListWho), mix.standout?.who))
|
|
23127
|
+
refuse(LayoutIssueCode.Value, `${at}.standout.who`, enumValues(LayoutListWho).join(' | '));
|
|
23128
|
+
if (mix.standout?.how !== undefined && !inList$1(enumValues(LayoutListHow), mix.standout.how))
|
|
23129
|
+
refuse(LayoutIssueCode.Value, `${at}.standout.how`, enumValues(LayoutListHow).join(' | '));
|
|
23130
|
+
}
|
|
23131
|
+
if (refused.length || !shape)
|
|
23132
|
+
return refused;
|
|
23133
|
+
if (shape.items !== null && shape.items < R.minItems) {
|
|
23134
|
+
return [{ code: LayoutIssueCode.Content, path: at, message: `a list section shows at least ${R.minItems} items — "${shape.alias}" has ${shape.items}; show it another way` }];
|
|
23135
|
+
}
|
|
23136
|
+
const next = structuredClone(mix);
|
|
23137
|
+
const said = [];
|
|
23138
|
+
const repair = (message) => said.push(message);
|
|
23139
|
+
const roles = shape.roles;
|
|
23140
|
+
const pictured = roles.includes(IMAGE);
|
|
23141
|
+
// What the items show: only what the list holds, each once.
|
|
23142
|
+
const unique = [...new Set(next.parts)];
|
|
23143
|
+
const foreign = unique.filter(p => !roles.includes(p));
|
|
23144
|
+
if (foreign.length || unique.length !== next.parts.length) {
|
|
23145
|
+
if (foreign.length)
|
|
23146
|
+
repair(`"${shape.alias}" holds no ${foreign.join(', ')} — left out`);
|
|
23147
|
+
next.parts = unique.filter(p => roles.includes(p));
|
|
23148
|
+
}
|
|
23149
|
+
if (next.item === LayoutListItem.Photo) {
|
|
23150
|
+
if (!pictured) {
|
|
23151
|
+
repair(`"${shape.alias}" has no pictures — its items are cards`);
|
|
23152
|
+
next.item = LayoutListItem.Card;
|
|
23153
|
+
}
|
|
23154
|
+
else if (next.parts.length !== 1 || next.parts[0] !== IMAGE) {
|
|
23155
|
+
repair('a photo item shows its picture only');
|
|
23156
|
+
next.parts = [IMAGE];
|
|
23157
|
+
}
|
|
23158
|
+
}
|
|
23159
|
+
// The arrangement first: what follows is judged against the one the list ends with.
|
|
23160
|
+
if (next.arrange === LayoutListArrange.Strips && !pictured) {
|
|
23161
|
+
repair('strips need a picture in every item — a still grid instead');
|
|
23162
|
+
next.arrange = LayoutListArrange.Grid;
|
|
23163
|
+
}
|
|
23164
|
+
if (next.arrange === LayoutListArrange.Strips && shape.items !== null && shape.items > R.strips[1]) {
|
|
23165
|
+
repair(`${R.strips[1]} strips fit at most — "${shape.alias}" has ${shape.items}: ${say(LayoutListArrange.Row)}`);
|
|
23166
|
+
next.arrange = LayoutListArrange.Row;
|
|
23167
|
+
}
|
|
23168
|
+
const longShown = shape.long.filter(role => next.parts.includes(role));
|
|
23169
|
+
if (longShown.length && next.arrange === LayoutListArrange.Grid) {
|
|
23170
|
+
repair(`its ${longShown.join(' and ')} run long — a grid would cut them: ${say(LayoutListArrange.Masonry)}`);
|
|
23171
|
+
next.arrange = LayoutListArrange.Masonry;
|
|
23172
|
+
}
|
|
23173
|
+
const arrange = next.arrange;
|
|
23174
|
+
const strips = arrange === LayoutListArrange.Strips;
|
|
23175
|
+
const row = arrange === LayoutListArrange.Row;
|
|
23176
|
+
// Who stands out, and how.
|
|
23177
|
+
if (strips) {
|
|
23178
|
+
const who = next.standout?.who;
|
|
23179
|
+
if (who !== LayoutListWho.First && who !== LayoutListWho.Pointed) {
|
|
23180
|
+
repair('one strip is always open — the first');
|
|
23181
|
+
next.standout = { who: LayoutListWho.First, how: LayoutListHow.Wider };
|
|
23182
|
+
}
|
|
23183
|
+
else if (next.standout.how !== LayoutListHow.Wider) {
|
|
23184
|
+
repair('the open strip is the wider one');
|
|
23185
|
+
next.standout = { who, how: LayoutListHow.Wider };
|
|
23186
|
+
}
|
|
23187
|
+
}
|
|
23188
|
+
else if (next.standout) {
|
|
23189
|
+
if (next.standout.who === LayoutListWho.None) {
|
|
23190
|
+
if (next.standout.how)
|
|
23191
|
+
repair('nothing stands out — no way to stand out');
|
|
23192
|
+
delete next.standout;
|
|
23193
|
+
}
|
|
23194
|
+
else {
|
|
23195
|
+
if (has(R.onlyRow.standoutWho, next.standout.who) && !row) {
|
|
23196
|
+
repair(`"${next.standout.who}" is a row's — the first stands out`);
|
|
23197
|
+
next.standout.who = LayoutListWho.First;
|
|
23198
|
+
}
|
|
23199
|
+
if (next.standout.how && has(R.onlyStrips.standoutHow, next.standout.how)) {
|
|
23200
|
+
repair(`"${next.standout.how}" is a strip's — bigger instead`);
|
|
23201
|
+
next.standout.how = LayoutListHow.Bigger;
|
|
23202
|
+
}
|
|
23203
|
+
}
|
|
23204
|
+
}
|
|
23205
|
+
// How the visitor moves through them.
|
|
23206
|
+
const moving = has(R.moving, arrange);
|
|
23207
|
+
if (!moving && next.move.length) {
|
|
23208
|
+
repair(`${say(arrange)} does not move — no ${next.move.join(', ')}`);
|
|
23209
|
+
next.move = [];
|
|
23210
|
+
}
|
|
23211
|
+
if (moving) {
|
|
23212
|
+
const onlyRow = next.move.filter(m => has(R.onlyRow.moves, m));
|
|
23213
|
+
if (onlyRow.length && !row) {
|
|
23214
|
+
repair(`"${onlyRow.join(', ')}" carries a row only`);
|
|
23215
|
+
next.move = next.move.filter(m => !has(R.onlyRow.moves, m));
|
|
23216
|
+
}
|
|
23217
|
+
if (next.move.includes(LayoutListMove.Page) && next.move.length > 1) {
|
|
23218
|
+
repair('the page\'s scroll carries the row alone');
|
|
23219
|
+
next.move = [LayoutListMove.Page];
|
|
23220
|
+
}
|
|
23221
|
+
if (!next.move.length) {
|
|
23222
|
+
repair(`${say(arrange)} — the visitor drags it`);
|
|
23223
|
+
next.move = [LayoutListMove.Drag];
|
|
23224
|
+
}
|
|
23225
|
+
}
|
|
23226
|
+
const stripHovers = next.hover.filter(h => has(R.onlyStrips.hovers, h));
|
|
23227
|
+
if (stripHovers.length && !strips) {
|
|
23228
|
+
repair(`"${stripHovers.join(', ')}" is a strip's`);
|
|
23229
|
+
next.hover = next.hover.filter(h => !has(R.onlyStrips.hovers, h));
|
|
23230
|
+
}
|
|
23231
|
+
if (new Set(next.hover).size !== next.hover.length)
|
|
23232
|
+
next.hover = [...new Set(next.hover)];
|
|
23233
|
+
// A phone.
|
|
23234
|
+
if (has(R.neverSwipe, arrange) && next.phone === LayoutListPhone.Swipe) {
|
|
23235
|
+
repair(`${say(arrange)} does not swipe on a phone — it stacks`);
|
|
23236
|
+
next.phone = LayoutListPhone.Stack;
|
|
23237
|
+
}
|
|
23238
|
+
return said.map(message => ({ code: LayoutIssueCode.Structure, path: at, message, mend: { kind: LayoutMendKind.List, layer, mix: next } }));
|
|
23239
|
+
}
|
|
23240
|
+
/** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
|
|
23241
|
+
function pageListIssues(page) {
|
|
23242
|
+
const issues = [];
|
|
23243
|
+
const seen = new Map();
|
|
23244
|
+
(page?.sections ?? []).forEach((s, si) => (s.layers ?? []).forEach((l, li) => {
|
|
23245
|
+
const mix = l.kind === LayoutLayerKind.Gallery ? l.gallery?.list : undefined;
|
|
23246
|
+
if (!mix || typeof mix.arrange !== 'string')
|
|
23247
|
+
return;
|
|
23248
|
+
const path = `sections[${si}].layers[${li}].gallery.list.arrange`;
|
|
23249
|
+
const first = seen.get(mix.arrange);
|
|
23250
|
+
if (first)
|
|
23251
|
+
issues.push({ code: LayoutIssueCode.Sameness, path, message: `${first} is already ${say(mix.arrange)} — arrange this list another way` });
|
|
23252
|
+
else
|
|
23253
|
+
seen.set(mix.arrange, `sections[${si}]`);
|
|
23254
|
+
}));
|
|
23255
|
+
return issues;
|
|
23256
|
+
}
|
|
23257
|
+
|
|
23081
23258
|
/**
|
|
23082
23259
|
* THE STATIC LAYOUT GATE (premium components M8 gate 2, M8-G2-D6; the prototype's `check` + `check21`, `code/cl2.mjs` and
|
|
23083
23260
|
* `cl21.mjs`): one composed page against every rule the language keeps — structure, the look's composition notes, Emil's
|
|
@@ -23608,6 +23785,11 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
23608
23785
|
add(LayoutIssueCode.Value, `${lp}.gallery.effect`, V.galleryEffects.join(' | '));
|
|
23609
23786
|
if (g.scroll && !s.pin)
|
|
23610
23787
|
add(LayoutIssueCode.Motion, `${lp}.gallery.scroll`, 'a scroll-turned gallery sits in a held section');
|
|
23788
|
+
if (g.list) {
|
|
23789
|
+
if (g.source === undefined)
|
|
23790
|
+
add(LayoutIssueCode.Content, `${lp}.gallery.source`, 'a list section names the list it shows');
|
|
23791
|
+
issues.push(...checkList(g.list, ctx.listShapes?.find(x => x.alias === g.source) ?? null, lp));
|
|
23792
|
+
}
|
|
23611
23793
|
if (!g.scroll)
|
|
23612
23794
|
swappable++;
|
|
23613
23795
|
slides.forEach((slide, k) => photoId(slide.photo?.id, `${lp}.gallery.slides[${k}]`));
|
|
@@ -23829,6 +24011,7 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
23829
24011
|
if (limits.lightGroundsMax !== undefined && lightGrounds > limits.lightGroundsMax)
|
|
23830
24012
|
add(LayoutIssueCode.Look, 'sections', `${lightGrounds} sections on a light ground — the ${look.id} look allows ${limits.lightGroundsMax}`);
|
|
23831
24013
|
}
|
|
24014
|
+
issues.push(...pageListIssues(page));
|
|
23832
24015
|
return { issues: uniqueIssues(issues), tally: { signatures: signatures.length, galleries, swappable, layered, bleeds, screenWords, wordsOnPhoto, holds } };
|
|
23833
24016
|
}
|
|
23834
24017
|
/** A ready-made section enters when the look's entrance level moves something of its family (a fade alone is not an entrance). */
|
|
@@ -24109,6 +24292,13 @@ function mendLayout(page, issues) {
|
|
|
24109
24292
|
layer.gallery.source = mend.source;
|
|
24110
24293
|
mended.push(issue);
|
|
24111
24294
|
}
|
|
24295
|
+
else if (mend?.kind === LayoutMendKind.List) {
|
|
24296
|
+
const layer = layerAt(mend.layer);
|
|
24297
|
+
if (!layer?.gallery)
|
|
24298
|
+
continue;
|
|
24299
|
+
layer.gallery.list = structuredClone(mend.mix);
|
|
24300
|
+
mended.push(issue);
|
|
24301
|
+
}
|
|
24112
24302
|
else if (mend?.kind === LayoutMendKind.Words) {
|
|
24113
24303
|
const layer = layerAt(mend.layer);
|
|
24114
24304
|
if (!layer)
|
|
@@ -24235,6 +24425,27 @@ function sequenceTokenOf(s) {
|
|
|
24235
24425
|
return LayoutSequenceToken.Gallery;
|
|
24236
24426
|
return splitSide(s) ? LayoutSequenceToken.Split : LayoutSequenceToken.Composition;
|
|
24237
24427
|
}
|
|
24428
|
+
/** A list section's prefix in the sequence (list-ingredients §7). */
|
|
24429
|
+
const LAYOUT_LIST_TOKEN = 'list';
|
|
24430
|
+
/**
|
|
24431
|
+
* A list mix as the fingerprint sees it (list-ingredients §7, LI2): `list:<arrange>/<who-how>/<moves>` — how the items
|
|
24432
|
+
* sit, which stands out and how, how the visitor moves through them. What a mouse does and how they arrive are too fine
|
|
24433
|
+
* to count. Two pages with `list:row/middle-raised/arrows` show the same list.
|
|
24434
|
+
*/
|
|
24435
|
+
function listTokenOf(mix) {
|
|
24436
|
+
const who = mix.standout && mix.standout.who !== LayoutListWho.None ? `${mix.standout.who}${mix.standout.how ? `-${mix.standout.how}` : ''}` : 'none';
|
|
24437
|
+
const moves = Array.isArray(mix.move) && mix.move.length ? [...new Set(mix.move)].sort().join('+') : 'still';
|
|
24438
|
+
return `${LAYOUT_LIST_TOKEN}:${mix.arrange}/${who}/${moves}`;
|
|
24439
|
+
}
|
|
24440
|
+
/** A section's token in the sequence: a list section's mix, else its kind (`sequenceTokenOf`). */
|
|
24441
|
+
function sectionTokenOf(s) {
|
|
24442
|
+
const list = s.pin || (s.track ?? 1) > 1 ? undefined : (s.layers ?? []).find(l => l.kind === LayoutLayerKind.Gallery && l.gallery?.list)?.gallery?.list;
|
|
24443
|
+
return list && !String(s.ground ?? '').startsWith('photo:') ? listTokenOf(list) : sequenceTokenOf(s);
|
|
24444
|
+
}
|
|
24445
|
+
/** Every list mix a page shows, in order. */
|
|
24446
|
+
function listTokensOf(page) {
|
|
24447
|
+
return (page.sections ?? []).flatMap(s => (s.layers ?? []).filter(l => l.kind === LayoutLayerKind.Gallery && l.gallery?.list).map(l => listTokenOf(l.gallery.list)));
|
|
24448
|
+
}
|
|
24238
24449
|
/** The mechanism of the signature section, by what moves in it (first match wins, as the prototype's). */
|
|
24239
24450
|
const SIGNATURE_BY_TRACK = [
|
|
24240
24451
|
[LayoutTrackProp.Clip, LayoutSignatureId.PhotoUnveiled],
|
|
@@ -24275,6 +24486,7 @@ function openingOf(s) {
|
|
|
24275
24486
|
/** A page's fingerprint, worn in `preset` and `mode`. A photo ground opens on the page's own ground colour. */
|
|
24276
24487
|
function fingerprintOf(page, preset, mode) {
|
|
24277
24488
|
const sections = page.sections ?? [];
|
|
24489
|
+
const lists = listTokensOf(page);
|
|
24278
24490
|
const first = sections[0];
|
|
24279
24491
|
const ground = String(first?.ground ?? LayoutColour.Ground);
|
|
24280
24492
|
const name = Object.values(LayoutColour).includes(ground) ? ground : LayoutColour.Ground;
|
|
@@ -24282,10 +24494,11 @@ function fingerprintOf(page, preset, mode) {
|
|
|
24282
24494
|
const light = colour ? relativeLuminance(colour) > PHOTO_LIGHT_LUMINANCE : mode === 'light';
|
|
24283
24495
|
return {
|
|
24284
24496
|
opening: openingOf(first),
|
|
24285
|
-
sequence: sections.map(s => (s.readyMade ? LAYOUT_READY_MADE_TOKEN :
|
|
24497
|
+
sequence: sections.map(s => (s.readyMade ? LAYOUT_READY_MADE_TOKEN : sectionTokenOf(s))),
|
|
24286
24498
|
signature: signatureOf(sections.find(s => s.signature)),
|
|
24287
24499
|
ground: light ? PhotoTone.Light : PhotoTone.Dark,
|
|
24288
24500
|
preset,
|
|
24501
|
+
...(lists.length ? { lists } : {}),
|
|
24289
24502
|
};
|
|
24290
24503
|
}
|
|
24291
24504
|
/** The longest common subsequence of two sequences. */
|
|
@@ -24301,6 +24514,8 @@ function sequenceShare(a, b) {
|
|
|
24301
24514
|
return lcs(a, b) / Math.max(1, a.length, b.length);
|
|
24302
24515
|
}
|
|
24303
24516
|
const openingWords = (opening) => opening.startsWith(READY_MADE_OPENING) ? `the ready-made ${opening.slice(READY_MADE_OPENING.length)}` : opening === OPENING_SCREEN_WORD ? 'a screen-size word' : opening === 'photo' || opening === 'gallery' ? `a ${opening}` : `a ${opening.replace('-', ' ')}`;
|
|
24517
|
+
/** A list token in words: `list:row/middle-raised/arrows` → "row · middle raised · arrows". */
|
|
24518
|
+
const listWords = (token) => token.replace(`${LAYOUT_LIST_TOKEN}:`, '').split('/').map(p => p.replace(/[-+]/g, ' ')).join(' · ');
|
|
24304
24519
|
const signatureWords = (id) => SPEC_SITE_LAYOUT.signatures.find(s => s.id === id)?.label ?? id;
|
|
24305
24520
|
/**
|
|
24306
24521
|
* Refuses a page that repeats one already made (M8-G2-D7): most of the same sequence (`SPEC_SITE_LAYOUT.sameness.sequence`,
|
|
@@ -24323,6 +24538,11 @@ function samenessIssues(me, others, businessType) {
|
|
|
24323
24538
|
add('sections[0]', `"${o.name}" already opens on ${openingWords(them.opening)}${sameType ? ', and it is the same kind of business' : ` with ${signatureWords(them.signature)}`} — open another way`);
|
|
24324
24539
|
if (signature && (opening || sameType))
|
|
24325
24540
|
add('sections', `"${o.name}"'s signature is already ${signatureWords(them.signature)} — find another mechanism`);
|
|
24541
|
+
// A list mix: refused against the same kind of business (list-ingredients §7); the brief names every other one.
|
|
24542
|
+
if (sameType)
|
|
24543
|
+
for (const token of (me.lists ?? []).filter(t => (them.lists ?? []).includes(t))) {
|
|
24544
|
+
add('sections', `"${o.name}" already shows a list as ${listWords(token)}, and it is the same kind of business — mix this list another way`);
|
|
24545
|
+
}
|
|
24326
24546
|
if (!o.demo && sequenceShare(me.sequence, them.sequence) >= SPEC_SITE_LAYOUT.sameness.sequence) {
|
|
24327
24547
|
add('sections', `your sequence (${me.sequence.join(' → ')}) repeats "${o.name}"'s (${them.sequence.join(' → ')}) — change the order and the kinds of sections`);
|
|
24328
24548
|
}
|
|
@@ -24504,5 +24724,5 @@ function layoutRepairJsonSchema() {
|
|
|
24504
24724
|
* Generated bundle index. Do not edit.
|
|
24505
24725
|
*/
|
|
24506
24726
|
|
|
24507
|
-
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, HEBREW_PREFIXES, 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_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, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, 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, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, 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, 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 };
|
|
24727
|
+
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, HEBREW_PREFIXES, 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, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, 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, modelCanDo, moveBarItem, 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 };
|
|
24508
24728
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|