@vectoriox/iox-ui 5.176.0 → 5.178.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 +387 -327
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +38 -5
- package/package.json +1 -1
- package/src/generation-core/compose-site.ts +23 -2
- package/src/generation-core/import-plan.ts +25 -1
- package/src/generation-core/site-build-run.ts +22 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape, setSectionShape, sectionShapeOf, setSectionEdge, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, decomposeCssFunctions, FILTER_FUNCTIONS, wcagContrastRatio, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, setColorScheme, LIST_MIX_PROP, ColorScheme, COLOR_SCHEMES, motionLanguageForPlan, headerInkOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, readDesignConfig, ANIMATE_IDS, auditDesignContrast, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
export { HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
3
|
-
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, POPUP_KIND_MIX, PopupKind, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, pickCarouselAutoBinds, buildSlideshowRecipe, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour, setHeaderInk, buildConsentRecipe, ConsentActionType, PopupTrait, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
3
|
+
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, POPUP_KIND_MIX, PopupKind, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour, setHeaderInk, buildConsentRecipe, ConsentActionType, PopupTrait, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
5
5
|
import { normalizeFrameSequence, filmScreensFor, VideoMode, VideoSource, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
6
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
@@ -33662,7 +33662,11 @@ function composeNode(given, id, repeater, ctx) {
|
|
|
33662
33662
|
if (bound === null)
|
|
33663
33663
|
return null;
|
|
33664
33664
|
const detail = pn.detail ? detailLinkOf(pn.detail, repeater, ctx, id) : null;
|
|
33665
|
-
|
|
33665
|
+
// iox-ui#146: a testimonial's words or person, on a plan that holds a list of real quotes, are its first item's.
|
|
33666
|
+
const quoted = pn.ph === PatternPlaceholder.Quote ? quoteItemOf(pn, ctx.plan) : undefined;
|
|
33667
|
+
if (quoted === null)
|
|
33668
|
+
return null;
|
|
33669
|
+
const words = quoted ? { value: undefined } : chooseText(pn, ctx);
|
|
33666
33670
|
const fate = danglingFate(pn, ctx);
|
|
33667
33671
|
if (fate === DanglingFate.Remove) {
|
|
33668
33672
|
reportDangling(fate, pn, id, words.value, ctx);
|
|
@@ -33713,6 +33717,8 @@ function composeNode(given, id, repeater, ctx) {
|
|
|
33713
33717
|
setProp(node, prop, words.value);
|
|
33714
33718
|
}
|
|
33715
33719
|
}
|
|
33720
|
+
if (quoted)
|
|
33721
|
+
addBinding(node, { prop: TEXT_PROP[type], source: quoted.source, path: quoted.path });
|
|
33716
33722
|
// CC3: a Video in background mode is an uploaded file's; its clip is the studio's own (a placeholder until then).
|
|
33717
33723
|
if (pn.video) {
|
|
33718
33724
|
if (type !== VIDEO)
|
|
@@ -34316,6 +34322,21 @@ function composeCarousel(pn, id, ctx) {
|
|
|
34316
34322
|
}
|
|
34317
34323
|
return slider;
|
|
34318
34324
|
}
|
|
34325
|
+
/** The first item of a list, as a binding path (`resolvePath` reads `0.<field>` on the list the source resolves to). */
|
|
34326
|
+
const FIRST_ITEM_PATH = '0';
|
|
34327
|
+
/**
|
|
34328
|
+
* iox-ui#146: what a pattern's `ph: 'quote'` line shows on a plan that holds a list of real quotes (`quoteListOf`): the
|
|
34329
|
+
* list's FIRST item — its quote, or (the line the contract writes as the person label, "The client’s name") its person.
|
|
34330
|
+
* Undefined with no list (the line stays the owner's marked label, publish-blocking); null for a person line when the
|
|
34331
|
+
* list names no person (the line is left out, as the carousel's slide leaves it out).
|
|
34332
|
+
*/
|
|
34333
|
+
function quoteItemOf(pn, plan) {
|
|
34334
|
+
const list = quoteListOf(plan);
|
|
34335
|
+
if (!list)
|
|
34336
|
+
return undefined;
|
|
34337
|
+
const field = pn.text === CAROUSEL_QUOTE_LABELS['en'].who ? list.who : list.quote;
|
|
34338
|
+
return field ? { source: list.source, path: `${FIRST_ITEM_PATH}.${field}` } : null;
|
|
34339
|
+
}
|
|
34319
34340
|
/**
|
|
34320
34341
|
* iox-ui#132: the plan's list of real quotes — the first query of the plan's content whose type plays the `quote` role,
|
|
34321
34342
|
* with the fields a carousel's slides show (`pickCarouselAutoBinds`: the roles first). Null when the plan holds none.
|
|
@@ -35706,6 +35727,353 @@ function showcasePlans(input) {
|
|
|
35706
35727
|
return [...Array.from({ length: count }, (_, i) => plan(i, pages, input.design)), ...scenes, store];
|
|
35707
35728
|
}
|
|
35708
35729
|
|
|
35730
|
+
function isImportPlan(plan) {
|
|
35731
|
+
return plan.source.kind === SitePlanSourceKind.Import;
|
|
35732
|
+
}
|
|
35733
|
+
const WEB_ADDRESS = /^https?:\/\//i;
|
|
35734
|
+
/** The fields of a type that hold pictures — a picture's address, or a list of them. */
|
|
35735
|
+
const PICTURE_CONTROLS = [ContentFieldControl.Media, ContentFieldControl.Gallery];
|
|
35736
|
+
/**
|
|
35737
|
+
* Bring my site X5: every picture an import plan's REAL items show — the old address in each picture or gallery field of
|
|
35738
|
+
* a type the site filled (`seed.importedFrom`), each once, in plan order. The build copies these into the studio's own
|
|
35739
|
+
* storage and the items show the copies (never hot-linked); the wizard counts them. A plan read from no site has none.
|
|
35740
|
+
*/
|
|
35741
|
+
function importedPicturesOf(plan) {
|
|
35742
|
+
if (plan?.source?.kind !== SitePlanSourceKind.Import)
|
|
35743
|
+
return [];
|
|
35744
|
+
const found = new Set();
|
|
35745
|
+
for (const type of plan.contentTypes ?? []) {
|
|
35746
|
+
if (!type.seed?.importedFrom?.length)
|
|
35747
|
+
continue;
|
|
35748
|
+
for (const field of type.fields.filter(f => PICTURE_CONTROLS.includes(f.controller))) {
|
|
35749
|
+
for (const value of type.seed.perItem?.[field.name] ?? []) {
|
|
35750
|
+
for (const address of typeof value === 'string' ? [value] : value)
|
|
35751
|
+
if (WEB_ADDRESS.test(address))
|
|
35752
|
+
found.add(address);
|
|
35753
|
+
}
|
|
35754
|
+
}
|
|
35755
|
+
}
|
|
35756
|
+
return [...found];
|
|
35757
|
+
}
|
|
35758
|
+
/** The patterns an import places (contract `site.patterns`). */
|
|
35759
|
+
var ImportPattern;
|
|
35760
|
+
(function (ImportPattern) {
|
|
35761
|
+
ImportPattern["PageHeader"] = "page-header.simple";
|
|
35762
|
+
ImportPattern["LongForm"] = "story.long-form";
|
|
35763
|
+
ImportPattern["CardGrid"] = "collection.card-grid";
|
|
35764
|
+
ImportPattern["ItemHero"] = "project.hero";
|
|
35765
|
+
ImportPattern["ItemBody"] = "item.body";
|
|
35766
|
+
ImportPattern["ItemGallery"] = "project.gallery";
|
|
35767
|
+
ImportPattern["ItemNext"] = "project.next";
|
|
35768
|
+
})(ImportPattern || (ImportPattern = {}));
|
|
35769
|
+
/** The optional parts an import leaves out (each pattern's `optional`). */
|
|
35770
|
+
const WITHOUT = {
|
|
35771
|
+
pageHeader: ['eyebrow', 'lead'],
|
|
35772
|
+
longForm: ['heading', 'lead', 'more'],
|
|
35773
|
+
cardGridHeader: ['header'],
|
|
35774
|
+
};
|
|
35775
|
+
/** How many pages the header lists — the rest stay reachable from their lists and links. */
|
|
35776
|
+
const IMPORT_NAV_MAX = 6;
|
|
35777
|
+
/** A list's "latest" source on the home page. */
|
|
35778
|
+
const LATEST_LIMIT = 3;
|
|
35779
|
+
const ITEM_PARAM = 'slug';
|
|
35780
|
+
const SLUG_FIELD = 'slug';
|
|
35781
|
+
const HOME_ROUTE = '/';
|
|
35782
|
+
const CONTACT_ARCHETYPE = 'contact';
|
|
35783
|
+
const ABOUT_ARCHETYPE = 'about';
|
|
35784
|
+
const COLLECTION_ARCHETYPE = 'collection';
|
|
35785
|
+
const DETAIL_ARCHETYPE = 'detail';
|
|
35786
|
+
/**
|
|
35787
|
+
* The words that say a list is the template's own type (the Studio's projects are a portfolio, the Practice's services,
|
|
35788
|
+
* the Place's menu) — its items take the template type's place, pages and all (`/work/:slug`). One table, by type name.
|
|
35789
|
+
*/
|
|
35790
|
+
const TEMPLATE_TYPE_WORDS = {
|
|
35791
|
+
projects: /\b(projects?|portfolios?|works?|case[\s-]?stud(?:y|ies)|showcase)\b/i,
|
|
35792
|
+
services: /\b(services?|treatments?|offers?)\b/i,
|
|
35793
|
+
menu: /\b(menus?|dishes|drinks)\b/i,
|
|
35794
|
+
};
|
|
35795
|
+
/** The field each role of a list's own type is written to, in field order, and how it is edited. */
|
|
35796
|
+
const OWN_FIELDS = [
|
|
35797
|
+
{ role: ContentRole.Title, name: 'title', control: ContentFieldControl.Text, required: true },
|
|
35798
|
+
{ role: null, name: SLUG_FIELD, control: ContentFieldControl.Text, required: true },
|
|
35799
|
+
{ role: ContentRole.Summary, name: 'summary', control: ContentFieldControl.Textarea },
|
|
35800
|
+
{ role: ContentRole.Image, name: 'cover', control: ContentFieldControl.Media },
|
|
35801
|
+
{ role: ContentRole.Gallery, name: 'gallery', control: ContentFieldControl.Gallery },
|
|
35802
|
+
{ role: ContentRole.Date, name: 'date', control: ContentFieldControl.Text },
|
|
35803
|
+
{ role: ContentRole.Meta, name: 'category', control: ContentFieldControl.Text },
|
|
35804
|
+
{ role: ContentRole.Body, name: 'body', control: ContentFieldControl.Textarea },
|
|
35805
|
+
];
|
|
35806
|
+
/** What an item gives each role (null: nothing). */
|
|
35807
|
+
function itemValue(item, role) {
|
|
35808
|
+
switch (role) {
|
|
35809
|
+
case ContentRole.Title: return item.title;
|
|
35810
|
+
case ContentRole.Summary: return item.summary || null;
|
|
35811
|
+
case ContentRole.Image: return item.picture || null;
|
|
35812
|
+
case ContentRole.Gallery: return item.pictures?.length ? item.pictures : null;
|
|
35813
|
+
case ContentRole.Date: return item.date || null;
|
|
35814
|
+
case ContentRole.Meta: return item.meta || null;
|
|
35815
|
+
case ContentRole.Body: return item.text?.trim() ? item.text.trim() : null;
|
|
35816
|
+
default: return null;
|
|
35817
|
+
}
|
|
35818
|
+
}
|
|
35819
|
+
const has = (items, role) => items.some(item => itemValue(item, role) !== null);
|
|
35820
|
+
/** Lowercase words joined by hyphens — a route segment or a slug. */
|
|
35821
|
+
function importSlug(text) {
|
|
35822
|
+
return text.normalize('NFKD').replace(/[̀-ͯ]/g, '').toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '');
|
|
35823
|
+
}
|
|
35824
|
+
/** Makes names unique in order: the second `a` is `a-2`. */
|
|
35825
|
+
class Names {
|
|
35826
|
+
constructor(taken = []) {
|
|
35827
|
+
this.taken = new Set();
|
|
35828
|
+
for (const t of taken)
|
|
35829
|
+
this.taken.add(t);
|
|
35830
|
+
}
|
|
35831
|
+
has(name) { return this.taken.has(name); }
|
|
35832
|
+
claim(name, join = '-') {
|
|
35833
|
+
let out = name;
|
|
35834
|
+
for (let n = 2; this.taken.has(out); n++)
|
|
35835
|
+
out = `${name}${join}${n}`;
|
|
35836
|
+
this.taken.add(out);
|
|
35837
|
+
return out;
|
|
35838
|
+
}
|
|
35839
|
+
}
|
|
35840
|
+
const camel = (slug) => slug.replace(/-([a-z0-9])/g, (_m, c) => c.toUpperCase());
|
|
35841
|
+
/** A route the plan accepts from an old path: each segment as lowercase words; null when nothing is left. */
|
|
35842
|
+
function routeOfPath(path) {
|
|
35843
|
+
if (!path)
|
|
35844
|
+
return null;
|
|
35845
|
+
const segments = path.split(/[?#]/)[0].split('/').map(importSlug).filter(Boolean);
|
|
35846
|
+
return segments.length ? `/${segments.join('/')}` : null;
|
|
35847
|
+
}
|
|
35848
|
+
/** The template's pages and sources that show its content type (a list or an item of it). */
|
|
35849
|
+
function templateTypeParts(template, typeName) {
|
|
35850
|
+
const aliases = new Set(template.dataSources.filter(d => d.type === PlanDataSourceType.Relative ? false : 'contentType' in d && d.contentType === typeName).map(d => d.alias));
|
|
35851
|
+
for (const d of template.dataSources)
|
|
35852
|
+
if (d.type === PlanDataSourceType.Relative && (aliases.has(d.of) || aliases.has(d.within)))
|
|
35853
|
+
aliases.add(d.alias);
|
|
35854
|
+
const pages = new Set(template.pages.filter(p => p.template === typeName || (!p.isHome && p.sections.some(s => s.binding && aliases.has(s.binding)))).map(p => p.key));
|
|
35855
|
+
return { aliases, pages };
|
|
35856
|
+
}
|
|
35857
|
+
/** The list that takes the template type's place, if one reads as it. */
|
|
35858
|
+
function templateListOf(template, lists) {
|
|
35859
|
+
for (const type of template.contentTypes) {
|
|
35860
|
+
const words = TEMPLATE_TYPE_WORDS[type.name];
|
|
35861
|
+
const list = words ? lists.find(l => l.items.length && [l.key, l.label, l.path ?? ''].some(w => words.test(w.replace(/[-_/]+/g, ' ')))) : undefined;
|
|
35862
|
+
if (list)
|
|
35863
|
+
return { type, list };
|
|
35864
|
+
}
|
|
35865
|
+
return null;
|
|
35866
|
+
}
|
|
35867
|
+
/** The items' slugs: their own where the site gave one, else from the title; unique within the list. */
|
|
35868
|
+
function slugsOf(items) {
|
|
35869
|
+
const names = new Names();
|
|
35870
|
+
return items.map((item, i) => names.claim(importSlug(item.slug ?? '') || importSlug(item.title) || `item-${i + 1}`));
|
|
35871
|
+
}
|
|
35872
|
+
/** The real items as a seed: one value per item for each role the type plays, the slug, and each item's old address. */
|
|
35873
|
+
function seedOf(type, items) {
|
|
35874
|
+
const perItem = {};
|
|
35875
|
+
const slugField = type.fields.some(f => f.name === SLUG_FIELD) ? SLUG_FIELD : null;
|
|
35876
|
+
if (slugField)
|
|
35877
|
+
perItem[slugField] = slugsOf(items);
|
|
35878
|
+
for (const [role, field] of Object.entries(type.roles)) {
|
|
35879
|
+
const list = type.fields.find(f => f.name === field)?.controller === ContentFieldControl.Gallery;
|
|
35880
|
+
perItem[field] = items.map(item => {
|
|
35881
|
+
const value = itemValue(item, role);
|
|
35882
|
+
if (list)
|
|
35883
|
+
return Array.isArray(value) ? [...value] : [];
|
|
35884
|
+
return typeof value === 'string' ? value : '';
|
|
35885
|
+
});
|
|
35886
|
+
}
|
|
35887
|
+
return { count: items.length, sample: false, isPublished: true, perItem, importedFrom: items.map(i => i.from) };
|
|
35888
|
+
}
|
|
35889
|
+
const fieldOf = (name, control, required) => ({ name, type: FIELD_TYPE_OF_CONTROL[control], controller: control, ...(required ? { required: true } : {}) });
|
|
35890
|
+
/** A list's own type: the roles its items fill, each its field (`OWN_FIELDS`). */
|
|
35891
|
+
function ownType(name, list) {
|
|
35892
|
+
const fields = [];
|
|
35893
|
+
const roles = {};
|
|
35894
|
+
for (const f of OWN_FIELDS) {
|
|
35895
|
+
if (f.role && f.role !== ContentRole.Title && !has(list.items, f.role))
|
|
35896
|
+
continue;
|
|
35897
|
+
fields.push(fieldOf(f.name, f.control, f.required));
|
|
35898
|
+
if (f.role)
|
|
35899
|
+
roles[f.role] = f.name;
|
|
35900
|
+
}
|
|
35901
|
+
const type = { name, label: list.label, roles: roles, fields };
|
|
35902
|
+
return { ...type, seed: seedOf(type, list.items) };
|
|
35903
|
+
}
|
|
35904
|
+
/** The template's type with the list's items: its own fields, and its `body` (the items' own text) when they have one.
|
|
35905
|
+
* A role the template gives a field of its own meaning (the Studio's `meta` is a location) is not filled from the site. */
|
|
35906
|
+
const TEMPLATE_ROLES_FILLED = [ContentRole.Title, ContentRole.Summary, ContentRole.Image, ContentRole.Gallery, ContentRole.Date, ContentRole.Body];
|
|
35907
|
+
function templateType(type, list) {
|
|
35908
|
+
const withBody = has(list.items, ContentRole.Body) && !roleField(type, ContentRole.Body);
|
|
35909
|
+
const bodyName = new Names(type.fields.map(f => f.name)).claim('body');
|
|
35910
|
+
const fields = withBody ? [...type.fields, fieldOf(bodyName, ContentFieldControl.Textarea)] : [...type.fields];
|
|
35911
|
+
const roles = (withBody ? { ...type.roles, [ContentRole.Body]: bodyName } : { ...type.roles });
|
|
35912
|
+
const filled = Object.fromEntries(Object.entries(roles).filter(([role]) => TEMPLATE_ROLES_FILLED.includes(role)));
|
|
35913
|
+
const seed = seedOf({ roles: filled, fields }, list.items);
|
|
35914
|
+
// A field the site does not fill is written empty (never the template's sample words).
|
|
35915
|
+
const empty = Object.fromEntries(fields.filter(f => !(f.name in (seed.perItem ?? {}))).map(f => [f.name, f.controller === ContentFieldControl.Gallery ? [] : '']));
|
|
35916
|
+
return { name: type.name, label: list.label || type.label, roles, fields, seed: { ...seed, ...empty } };
|
|
35917
|
+
}
|
|
35918
|
+
/** The sources of a list's own type: all of it, the latest few, one by its slug, and the next one. */
|
|
35919
|
+
function ownSources(name) {
|
|
35920
|
+
const list = name, latest = `${name}Latest`, item = `${name}Item`, next = `${name}Next`;
|
|
35921
|
+
return {
|
|
35922
|
+
list, latest, item,
|
|
35923
|
+
sources: [
|
|
35924
|
+
{ alias: list, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Query, contentType: name },
|
|
35925
|
+
{ alias: latest, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Query, contentType: name, limit: LATEST_LIMIT },
|
|
35926
|
+
{ alias: item, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Single, contentType: name, filterByRouteParam: { field: SLUG_FIELD, routeParam: ITEM_PARAM } },
|
|
35927
|
+
{ alias: next, type: PlanDataSourceType.Relative, of: item, op: RelativeOp.SiblingsNext, within: list },
|
|
35928
|
+
],
|
|
35929
|
+
};
|
|
35930
|
+
}
|
|
35931
|
+
/** The page of one item: its hero, its own text, its pictures, the next one (each only when the items have it). */
|
|
35932
|
+
function itemSections(type, nextLabel) {
|
|
35933
|
+
const sections = [{ pattern: ImportPattern.ItemHero }];
|
|
35934
|
+
if (roleField(type, ContentRole.Body))
|
|
35935
|
+
sections.push({ pattern: ImportPattern.ItemBody });
|
|
35936
|
+
if (roleField(type, ContentRole.Gallery))
|
|
35937
|
+
sections.push({ pattern: ImportPattern.ItemGallery });
|
|
35938
|
+
sections.push(nextLabel ? { pattern: ImportPattern.ItemNext, slots: { label: nextLabel } } : { pattern: ImportPattern.ItemNext });
|
|
35939
|
+
return sections;
|
|
35940
|
+
}
|
|
35941
|
+
const pageHeader = (title, lead) => lead
|
|
35942
|
+
? { pattern: ImportPattern.PageHeader, slots: { title, lead }, without: ['eyebrow'] }
|
|
35943
|
+
: { pattern: ImportPattern.PageHeader, slots: { title }, without: [...WITHOUT.pageHeader] };
|
|
35944
|
+
/**
|
|
35945
|
+
* The scan's reading → the plan. Every list with items becomes a content type (the one that reads as the template's own
|
|
35946
|
+
* takes its place, routes and all); every page with words becomes a page; nothing is invented — a page or a list the
|
|
35947
|
+
* site did not have is not added, and the template's own pages are kept only where they are the site's frame (the home
|
|
35948
|
+
* page, the contact page).
|
|
35949
|
+
*/
|
|
35950
|
+
function planImport(reading, input) {
|
|
35951
|
+
const template = input.template ?? STUDIO_TEMPLATE;
|
|
35952
|
+
const lists = reading.lists.filter(l => l.items.length > 0);
|
|
35953
|
+
const matched = templateListOf(template, lists);
|
|
35954
|
+
const dropped = new Set(); // the template types no list fills
|
|
35955
|
+
const contentTypes = [];
|
|
35956
|
+
const dataSources = [];
|
|
35957
|
+
const templateParts = new Map();
|
|
35958
|
+
for (const type of template.contentTypes) {
|
|
35959
|
+
const parts = templateTypeParts(template, type.name);
|
|
35960
|
+
templateParts.set(type.name, parts);
|
|
35961
|
+
if (matched?.type.name === type.name) {
|
|
35962
|
+
contentTypes.push(templateType(type, matched.list));
|
|
35963
|
+
dataSources.push(...template.dataSources.filter(d => parts.aliases.has(d.alias)));
|
|
35964
|
+
}
|
|
35965
|
+
else
|
|
35966
|
+
dropped.add(type.name);
|
|
35967
|
+
}
|
|
35968
|
+
const droppedAliases = new Set([...dropped].flatMap(t => [...templateParts.get(t).aliases]));
|
|
35969
|
+
const droppedPages = new Set([...dropped].flatMap(t => [...templateParts.get(t).pages]));
|
|
35970
|
+
// Routes and names: the template's frame first, then the lists, then the pages.
|
|
35971
|
+
const kept = template.pages.filter(p => p.isHome || p.archetype === CONTACT_ARCHETYPE || (!droppedPages.has(p.key) && matched && templateParts.get(matched.type.name).pages.has(p.key)));
|
|
35972
|
+
const routes = new Names(kept.map(p => p.route));
|
|
35973
|
+
const keys = new Names(kept.map(p => p.key));
|
|
35974
|
+
const typeNames = new Names(template.contentTypes.map(t => t.name));
|
|
35975
|
+
const aliases = new Names(template.dataSources.map(d => d.alias));
|
|
35976
|
+
const listPages = [];
|
|
35977
|
+
const firstLatest = [];
|
|
35978
|
+
if (matched) {
|
|
35979
|
+
const listPage = template.pages.find(p => templateParts.get(matched.type.name).pages.has(p.key) && !p.template);
|
|
35980
|
+
const latest = template.dataSources.find(d => templateParts.get(matched.type.name).aliases.has(d.alias) && d.type === PlanDataSourceType.Cms && d.mode === PlanDataSourceMode.Query && d.limit);
|
|
35981
|
+
if (listPage && latest)
|
|
35982
|
+
firstLatest.push({ alias: latest.alias, route: listPage.route });
|
|
35983
|
+
}
|
|
35984
|
+
const typeOfMatched = matched ? contentTypes[0] : null;
|
|
35985
|
+
for (const list of lists) {
|
|
35986
|
+
if (list === matched?.list)
|
|
35987
|
+
continue;
|
|
35988
|
+
const name = typeNames.claim(camel(importSlug(list.key) || importSlug(list.label) || 'items'), '');
|
|
35989
|
+
const type = ownType(name, list);
|
|
35990
|
+
const own = ownSources(name);
|
|
35991
|
+
if ([own.list, own.latest, own.item, `${name}Next`].some(a => aliases.has(a)))
|
|
35992
|
+
continue; // never shadow a source
|
|
35993
|
+
own.sources.forEach(s => aliases.claim(s.alias));
|
|
35994
|
+
contentTypes.push(type);
|
|
35995
|
+
dataSources.push(...own.sources);
|
|
35996
|
+
const base = routeOfPath(list.path);
|
|
35997
|
+
const route = routes.claim(base && !routes.has(base) && base !== HOME_ROUTE ? base : `/${importSlug(list.label) || name.toLowerCase()}`);
|
|
35998
|
+
routes.claim(`${route}/:${ITEM_PARAM}`);
|
|
35999
|
+
const key = keys.claim(importSlug(list.label) || name.toLowerCase());
|
|
36000
|
+
listPages.push({
|
|
36001
|
+
key, name: list.label, route, inNav: true, archetype: COLLECTION_ARCHETYPE,
|
|
36002
|
+
sections: [pageHeader(list.label), { pattern: ImportPattern.CardGrid, binding: own.list, without: [...WITHOUT.cardGridHeader] }],
|
|
36003
|
+
});
|
|
36004
|
+
listPages.push({
|
|
36005
|
+
key: keys.claim(`${key}-item`), name: list.label, route: `${route}/:${ITEM_PARAM}`, inNav: false,
|
|
36006
|
+
template: name, routeSource: own.item, archetype: DETAIL_ARCHETYPE, sections: itemSections(type, list.label),
|
|
36007
|
+
});
|
|
36008
|
+
firstLatest.push({ alias: own.latest, route });
|
|
36009
|
+
}
|
|
36010
|
+
// The template's frame: a section that showed a dropped type shows the first list instead, or goes.
|
|
36011
|
+
const frame = [];
|
|
36012
|
+
for (const page of kept) {
|
|
36013
|
+
const sections = [];
|
|
36014
|
+
for (const section of page.sections) {
|
|
36015
|
+
if (!section.binding || !droppedAliases.has(section.binding)) {
|
|
36016
|
+
sections.push(section);
|
|
36017
|
+
continue;
|
|
36018
|
+
}
|
|
36019
|
+
const first = firstLatest[0];
|
|
36020
|
+
if (first)
|
|
36021
|
+
sections.push({ ...section, binding: first.alias, links: { ...(section.links ?? {}), more: first.route } });
|
|
36022
|
+
}
|
|
36023
|
+
// The template type's item page shows the items' own text after its hero.
|
|
36024
|
+
const body = page.template && typeOfMatched && page.template === typeOfMatched.name && roleField(typeOfMatched, ContentRole.Body)
|
|
36025
|
+
&& !sections.some(s => s.pattern === ImportPattern.ItemBody);
|
|
36026
|
+
if (body)
|
|
36027
|
+
sections.splice(Math.max(1, sections.findIndex(s => s.pattern === ImportPattern.ItemHero) + 1), 0, { pattern: ImportPattern.ItemBody });
|
|
36028
|
+
frame.push({ ...page, sections });
|
|
36029
|
+
}
|
|
36030
|
+
// The owner's pages of words.
|
|
36031
|
+
const textPages = [];
|
|
36032
|
+
for (const page of reading.pages) {
|
|
36033
|
+
const text = page.text.trim();
|
|
36034
|
+
const title = page.title.trim();
|
|
36035
|
+
if (!text || !title)
|
|
36036
|
+
continue;
|
|
36037
|
+
const base = routeOfPath(page.path);
|
|
36038
|
+
if (!base || base === HOME_ROUTE)
|
|
36039
|
+
continue; // the home page is rebuilt from the template
|
|
36040
|
+
if (routes.has(base) && frame.some(p => p.route === base))
|
|
36041
|
+
continue; // the template's contact page stands for it
|
|
36042
|
+
const route = routes.claim(base);
|
|
36043
|
+
textPages.push({
|
|
36044
|
+
key: keys.claim(importSlug(base.slice(1)) || importSlug(title) || 'page'), name: title, route, inNav: route.split('/').length === 2,
|
|
36045
|
+
archetype: ABOUT_ARCHETYPE,
|
|
36046
|
+
sections: [pageHeader(title, page.description?.trim() || undefined), { pattern: ImportPattern.LongForm, slots: { body1: text }, without: [...WITHOUT.longForm] }],
|
|
36047
|
+
});
|
|
36048
|
+
}
|
|
36049
|
+
// The header lists the lists first, then the pages, the contact page last — at most IMPORT_NAV_MAX.
|
|
36050
|
+
const home = frame.filter(p => p.isHome);
|
|
36051
|
+
const contact = frame.filter(p => !p.isHome && p.archetype === CONTACT_ARCHETYPE);
|
|
36052
|
+
const rest = frame.filter(p => !p.isHome && p.archetype !== CONTACT_ARCHETYPE);
|
|
36053
|
+
let room = IMPORT_NAV_MAX - contact.filter(p => p.inNav).length;
|
|
36054
|
+
const nav = (page) => {
|
|
36055
|
+
if (!page.inNav)
|
|
36056
|
+
return page;
|
|
36057
|
+
if (room > 0) {
|
|
36058
|
+
room--;
|
|
36059
|
+
return page;
|
|
36060
|
+
}
|
|
36061
|
+
return { ...page, inNav: false };
|
|
36062
|
+
};
|
|
36063
|
+
const pages = [...home, ...rest.map(nav), ...listPages.map(nav), ...textPages.map(nav), ...contact];
|
|
36064
|
+
return {
|
|
36065
|
+
version: SITE_PLAN_VERSION,
|
|
36066
|
+
source: { kind: SitePlanSourceKind.Import, scanId: reading.scanId },
|
|
36067
|
+
business: JSON.parse(JSON.stringify(reading.business)),
|
|
36068
|
+
...(reading.locale ? { locale: reading.locale } : {}),
|
|
36069
|
+
design: JSON.parse(JSON.stringify(input.design)),
|
|
36070
|
+
contentTypes,
|
|
36071
|
+
dataSources: JSON.parse(JSON.stringify(dataSources)),
|
|
36072
|
+
pages: JSON.parse(JSON.stringify(pages)),
|
|
36073
|
+
globals: JSON.parse(JSON.stringify(template.globals)),
|
|
36074
|
+
};
|
|
36075
|
+
}
|
|
36076
|
+
|
|
35709
36077
|
/**
|
|
35710
36078
|
* A site build's WIRE vocabulary (AI plan §3b, W2): what iox-cms's `site-builds` API answers and what every
|
|
35711
36079
|
* client of it reads — the run's statuses and steps, what it created, why Undo kept something, the preflight's
|
|
@@ -35747,6 +36115,9 @@ var BuildStep;
|
|
|
35747
36115
|
BuildStep["Preflight"] = "preflight";
|
|
35748
36116
|
BuildStep["ContentTypes"] = "content-types";
|
|
35749
36117
|
BuildStep["SampleImages"] = "sample-images";
|
|
36118
|
+
/** Bring my site X5: the pictures of the owner's own site, copied into the studio (`media/imported/`, never hot-linked) —
|
|
36119
|
+
* only in a run whose plan was read from a site and holds pictures (`importedPicturesOf`). */
|
|
36120
|
+
BuildStep["ImportPictures"] = "import-pictures";
|
|
35750
36121
|
/** I2: the curated stock photos the plan's empty picture slots take, copied into the studio (never hot-linked). */
|
|
35751
36122
|
BuildStep["StockPhotos"] = "stock-photos";
|
|
35752
36123
|
BuildStep["Items"] = "items";
|
|
@@ -35758,10 +36129,12 @@ var BuildStep;
|
|
|
35758
36129
|
BuildStep["Look"] = "look";
|
|
35759
36130
|
})(BuildStep || (BuildStep = {}));
|
|
35760
36131
|
const BUILD_STEPS = Object.values(BuildStep);
|
|
35761
|
-
/** The steps a build of `plan` takes, in order: every one, the shop's only when the plan sells (commerce G1)
|
|
36132
|
+
/** The steps a build of `plan` takes, in order: every one, the shop's only when the plan sells (commerce G1), the imported
|
|
36133
|
+
* pictures' only when the plan was read from a site that has some (X5). */
|
|
35762
36134
|
function buildStepsOf(plan) {
|
|
35763
36135
|
const sells = planSells(plan);
|
|
35764
|
-
|
|
36136
|
+
const pictures = importedPicturesOf(plan).length > 0;
|
|
36137
|
+
return BUILD_STEPS.filter(step => (step !== BuildStep.Shop || sells) && (step !== BuildStep.ImportPictures || pictures));
|
|
35765
36138
|
}
|
|
35766
36139
|
var StepState;
|
|
35767
36140
|
(function (StepState) {
|
|
@@ -35779,6 +36152,9 @@ var CreatedKind;
|
|
|
35779
36152
|
CreatedKind["SampleImage"] = "sample-image";
|
|
35780
36153
|
/** A stock photo copied into the studio's storage (`media/stock/…`), with its assets row. */
|
|
35781
36154
|
CreatedKind["StockPhoto"] = "stock-photo";
|
|
36155
|
+
/** Bring my site X5: a picture of the owner's own site copied into the studio's storage (`media/imported/…`), with its
|
|
36156
|
+
* assets row (`source: 'import'`, its old address) — removed by Undo once nothing that stays shows it. */
|
|
36157
|
+
CreatedKind["ImportedPicture"] = "imported-picture";
|
|
35782
36158
|
CreatedKind["Item"] = "item";
|
|
35783
36159
|
/** Commerce G1: a shop category the build added (one the studio had is reused, never recorded). */
|
|
35784
36160
|
CreatedKind["ShopCategory"] = "shop-category";
|
|
@@ -35844,6 +36220,10 @@ var BuildNoticeCode;
|
|
|
35844
36220
|
* page opening on its words, a list's cards without their picture). Said once, so the owner knows a photo of theirs
|
|
35845
36221
|
* brings the picture-led section back (a Re-fit, or the next build). */
|
|
35846
36222
|
BuildNoticeCode["TypeLed"] = "type-led";
|
|
36223
|
+
/** Bring my site X5: some pictures of the owner's site were not copied (not a picture we keep, too large, unreachable,
|
|
36224
|
+
* or past the plan's picture or size limit) — the items show none in their place (never the old site's), said once,
|
|
36225
|
+
* so the owner adds them in the builder. */
|
|
36226
|
+
BuildNoticeCode["ImportPicturesLeft"] = "import-pictures-left";
|
|
35847
36227
|
})(BuildNoticeCode || (BuildNoticeCode = {}));
|
|
35848
36228
|
/** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
|
|
35849
36229
|
* pair (`replaceGlobals`), for pages. */
|
|
@@ -35942,6 +36322,7 @@ const buildKeys = {
|
|
|
35942
36322
|
shopProduct: (n) => `shop-product:${n}`,
|
|
35943
36323
|
sampleImage: (n) => `sample-image:${n}`,
|
|
35944
36324
|
stockPhoto: (libraryKey) => `stock-photo:${libraryKey}`,
|
|
36325
|
+
importedPicture: (originalUrl) => `imported-picture:${originalUrl}`,
|
|
35945
36326
|
dataSource: (alias) => `data-source:${alias}`,
|
|
35946
36327
|
page: (key) => `page:${key}`,
|
|
35947
36328
|
global: (nodeId) => `global:${nodeId}`,
|
|
@@ -35984,6 +36365,7 @@ function buildStepFacts(plan, actions = {}) {
|
|
|
35984
36365
|
contentTypes: plan.contentTypes.map(t => t.label),
|
|
35985
36366
|
contentTypeActions,
|
|
35986
36367
|
items: plan.contentTypes.reduce((n, t) => n + (t.seed?.count ?? 0), 0),
|
|
36368
|
+
pictures: importedPicturesOf(plan).length,
|
|
35987
36369
|
products: plan.shop?.products.length ?? 0,
|
|
35988
36370
|
categories: plan.shop?.categories.length ?? 0,
|
|
35989
36371
|
pages: plan.pages.length,
|
|
@@ -37054,328 +37436,6 @@ function withAdditions(plan, additions, only) {
|
|
|
37054
37436
|
return { ...plan, pages: [...plan.pages, ...pages], contentTypes: [...plan.contentTypes, ...types], dataSources: [...plan.dataSources, ...sources] };
|
|
37055
37437
|
}
|
|
37056
37438
|
|
|
37057
|
-
function isImportPlan(plan) {
|
|
37058
|
-
return plan.source.kind === SitePlanSourceKind.Import;
|
|
37059
|
-
}
|
|
37060
|
-
/** The patterns an import places (contract `site.patterns`). */
|
|
37061
|
-
var ImportPattern;
|
|
37062
|
-
(function (ImportPattern) {
|
|
37063
|
-
ImportPattern["PageHeader"] = "page-header.simple";
|
|
37064
|
-
ImportPattern["LongForm"] = "story.long-form";
|
|
37065
|
-
ImportPattern["CardGrid"] = "collection.card-grid";
|
|
37066
|
-
ImportPattern["ItemHero"] = "project.hero";
|
|
37067
|
-
ImportPattern["ItemBody"] = "item.body";
|
|
37068
|
-
ImportPattern["ItemGallery"] = "project.gallery";
|
|
37069
|
-
ImportPattern["ItemNext"] = "project.next";
|
|
37070
|
-
})(ImportPattern || (ImportPattern = {}));
|
|
37071
|
-
/** The optional parts an import leaves out (each pattern's `optional`). */
|
|
37072
|
-
const WITHOUT = {
|
|
37073
|
-
pageHeader: ['eyebrow', 'lead'],
|
|
37074
|
-
longForm: ['heading', 'lead', 'more'],
|
|
37075
|
-
cardGridHeader: ['header'],
|
|
37076
|
-
};
|
|
37077
|
-
/** How many pages the header lists — the rest stay reachable from their lists and links. */
|
|
37078
|
-
const IMPORT_NAV_MAX = 6;
|
|
37079
|
-
/** A list's "latest" source on the home page. */
|
|
37080
|
-
const LATEST_LIMIT = 3;
|
|
37081
|
-
const ITEM_PARAM = 'slug';
|
|
37082
|
-
const SLUG_FIELD = 'slug';
|
|
37083
|
-
const HOME_ROUTE = '/';
|
|
37084
|
-
const CONTACT_ARCHETYPE = 'contact';
|
|
37085
|
-
const ABOUT_ARCHETYPE = 'about';
|
|
37086
|
-
const COLLECTION_ARCHETYPE = 'collection';
|
|
37087
|
-
const DETAIL_ARCHETYPE = 'detail';
|
|
37088
|
-
/**
|
|
37089
|
-
* The words that say a list is the template's own type (the Studio's projects are a portfolio, the Practice's services,
|
|
37090
|
-
* the Place's menu) — its items take the template type's place, pages and all (`/work/:slug`). One table, by type name.
|
|
37091
|
-
*/
|
|
37092
|
-
const TEMPLATE_TYPE_WORDS = {
|
|
37093
|
-
projects: /\b(projects?|portfolios?|works?|case[\s-]?stud(?:y|ies)|showcase)\b/i,
|
|
37094
|
-
services: /\b(services?|treatments?|offers?)\b/i,
|
|
37095
|
-
menu: /\b(menus?|dishes|drinks)\b/i,
|
|
37096
|
-
};
|
|
37097
|
-
/** The field each role of a list's own type is written to, in field order, and how it is edited. */
|
|
37098
|
-
const OWN_FIELDS = [
|
|
37099
|
-
{ role: ContentRole.Title, name: 'title', control: ContentFieldControl.Text, required: true },
|
|
37100
|
-
{ role: null, name: SLUG_FIELD, control: ContentFieldControl.Text, required: true },
|
|
37101
|
-
{ role: ContentRole.Summary, name: 'summary', control: ContentFieldControl.Textarea },
|
|
37102
|
-
{ role: ContentRole.Image, name: 'cover', control: ContentFieldControl.Media },
|
|
37103
|
-
{ role: ContentRole.Gallery, name: 'gallery', control: ContentFieldControl.Gallery },
|
|
37104
|
-
{ role: ContentRole.Date, name: 'date', control: ContentFieldControl.Text },
|
|
37105
|
-
{ role: ContentRole.Meta, name: 'category', control: ContentFieldControl.Text },
|
|
37106
|
-
{ role: ContentRole.Body, name: 'body', control: ContentFieldControl.Textarea },
|
|
37107
|
-
];
|
|
37108
|
-
/** What an item gives each role (null: nothing). */
|
|
37109
|
-
function itemValue(item, role) {
|
|
37110
|
-
switch (role) {
|
|
37111
|
-
case ContentRole.Title: return item.title;
|
|
37112
|
-
case ContentRole.Summary: return item.summary || null;
|
|
37113
|
-
case ContentRole.Image: return item.picture || null;
|
|
37114
|
-
case ContentRole.Gallery: return item.pictures?.length ? item.pictures : null;
|
|
37115
|
-
case ContentRole.Date: return item.date || null;
|
|
37116
|
-
case ContentRole.Meta: return item.meta || null;
|
|
37117
|
-
case ContentRole.Body: return item.text?.trim() ? item.text.trim() : null;
|
|
37118
|
-
default: return null;
|
|
37119
|
-
}
|
|
37120
|
-
}
|
|
37121
|
-
const has = (items, role) => items.some(item => itemValue(item, role) !== null);
|
|
37122
|
-
/** Lowercase words joined by hyphens — a route segment or a slug. */
|
|
37123
|
-
function importSlug(text) {
|
|
37124
|
-
return text.normalize('NFKD').replace(/[̀-ͯ]/g, '').toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '');
|
|
37125
|
-
}
|
|
37126
|
-
/** Makes names unique in order: the second `a` is `a-2`. */
|
|
37127
|
-
class Names {
|
|
37128
|
-
constructor(taken = []) {
|
|
37129
|
-
this.taken = new Set();
|
|
37130
|
-
for (const t of taken)
|
|
37131
|
-
this.taken.add(t);
|
|
37132
|
-
}
|
|
37133
|
-
has(name) { return this.taken.has(name); }
|
|
37134
|
-
claim(name, join = '-') {
|
|
37135
|
-
let out = name;
|
|
37136
|
-
for (let n = 2; this.taken.has(out); n++)
|
|
37137
|
-
out = `${name}${join}${n}`;
|
|
37138
|
-
this.taken.add(out);
|
|
37139
|
-
return out;
|
|
37140
|
-
}
|
|
37141
|
-
}
|
|
37142
|
-
const camel = (slug) => slug.replace(/-([a-z0-9])/g, (_m, c) => c.toUpperCase());
|
|
37143
|
-
/** A route the plan accepts from an old path: each segment as lowercase words; null when nothing is left. */
|
|
37144
|
-
function routeOfPath(path) {
|
|
37145
|
-
if (!path)
|
|
37146
|
-
return null;
|
|
37147
|
-
const segments = path.split(/[?#]/)[0].split('/').map(importSlug).filter(Boolean);
|
|
37148
|
-
return segments.length ? `/${segments.join('/')}` : null;
|
|
37149
|
-
}
|
|
37150
|
-
/** The template's pages and sources that show its content type (a list or an item of it). */
|
|
37151
|
-
function templateTypeParts(template, typeName) {
|
|
37152
|
-
const aliases = new Set(template.dataSources.filter(d => d.type === PlanDataSourceType.Relative ? false : 'contentType' in d && d.contentType === typeName).map(d => d.alias));
|
|
37153
|
-
for (const d of template.dataSources)
|
|
37154
|
-
if (d.type === PlanDataSourceType.Relative && (aliases.has(d.of) || aliases.has(d.within)))
|
|
37155
|
-
aliases.add(d.alias);
|
|
37156
|
-
const pages = new Set(template.pages.filter(p => p.template === typeName || (!p.isHome && p.sections.some(s => s.binding && aliases.has(s.binding)))).map(p => p.key));
|
|
37157
|
-
return { aliases, pages };
|
|
37158
|
-
}
|
|
37159
|
-
/** The list that takes the template type's place, if one reads as it. */
|
|
37160
|
-
function templateListOf(template, lists) {
|
|
37161
|
-
for (const type of template.contentTypes) {
|
|
37162
|
-
const words = TEMPLATE_TYPE_WORDS[type.name];
|
|
37163
|
-
const list = words ? lists.find(l => l.items.length && [l.key, l.label, l.path ?? ''].some(w => words.test(w.replace(/[-_/]+/g, ' ')))) : undefined;
|
|
37164
|
-
if (list)
|
|
37165
|
-
return { type, list };
|
|
37166
|
-
}
|
|
37167
|
-
return null;
|
|
37168
|
-
}
|
|
37169
|
-
/** The items' slugs: their own where the site gave one, else from the title; unique within the list. */
|
|
37170
|
-
function slugsOf(items) {
|
|
37171
|
-
const names = new Names();
|
|
37172
|
-
return items.map((item, i) => names.claim(importSlug(item.slug ?? '') || importSlug(item.title) || `item-${i + 1}`));
|
|
37173
|
-
}
|
|
37174
|
-
/** The real items as a seed: one value per item for each role the type plays, the slug, and each item's old address. */
|
|
37175
|
-
function seedOf(type, items) {
|
|
37176
|
-
const perItem = {};
|
|
37177
|
-
const slugField = type.fields.some(f => f.name === SLUG_FIELD) ? SLUG_FIELD : null;
|
|
37178
|
-
if (slugField)
|
|
37179
|
-
perItem[slugField] = slugsOf(items);
|
|
37180
|
-
for (const [role, field] of Object.entries(type.roles)) {
|
|
37181
|
-
const list = type.fields.find(f => f.name === field)?.controller === ContentFieldControl.Gallery;
|
|
37182
|
-
perItem[field] = items.map(item => {
|
|
37183
|
-
const value = itemValue(item, role);
|
|
37184
|
-
if (list)
|
|
37185
|
-
return Array.isArray(value) ? [...value] : [];
|
|
37186
|
-
return typeof value === 'string' ? value : '';
|
|
37187
|
-
});
|
|
37188
|
-
}
|
|
37189
|
-
return { count: items.length, sample: false, isPublished: true, perItem, importedFrom: items.map(i => i.from) };
|
|
37190
|
-
}
|
|
37191
|
-
const fieldOf = (name, control, required) => ({ name, type: FIELD_TYPE_OF_CONTROL[control], controller: control, ...(required ? { required: true } : {}) });
|
|
37192
|
-
/** A list's own type: the roles its items fill, each its field (`OWN_FIELDS`). */
|
|
37193
|
-
function ownType(name, list) {
|
|
37194
|
-
const fields = [];
|
|
37195
|
-
const roles = {};
|
|
37196
|
-
for (const f of OWN_FIELDS) {
|
|
37197
|
-
if (f.role && f.role !== ContentRole.Title && !has(list.items, f.role))
|
|
37198
|
-
continue;
|
|
37199
|
-
fields.push(fieldOf(f.name, f.control, f.required));
|
|
37200
|
-
if (f.role)
|
|
37201
|
-
roles[f.role] = f.name;
|
|
37202
|
-
}
|
|
37203
|
-
const type = { name, label: list.label, roles: roles, fields };
|
|
37204
|
-
return { ...type, seed: seedOf(type, list.items) };
|
|
37205
|
-
}
|
|
37206
|
-
/** The template's type with the list's items: its own fields, and its `body` (the items' own text) when they have one.
|
|
37207
|
-
* A role the template gives a field of its own meaning (the Studio's `meta` is a location) is not filled from the site. */
|
|
37208
|
-
const TEMPLATE_ROLES_FILLED = [ContentRole.Title, ContentRole.Summary, ContentRole.Image, ContentRole.Gallery, ContentRole.Date, ContentRole.Body];
|
|
37209
|
-
function templateType(type, list) {
|
|
37210
|
-
const withBody = has(list.items, ContentRole.Body) && !roleField(type, ContentRole.Body);
|
|
37211
|
-
const bodyName = new Names(type.fields.map(f => f.name)).claim('body');
|
|
37212
|
-
const fields = withBody ? [...type.fields, fieldOf(bodyName, ContentFieldControl.Textarea)] : [...type.fields];
|
|
37213
|
-
const roles = (withBody ? { ...type.roles, [ContentRole.Body]: bodyName } : { ...type.roles });
|
|
37214
|
-
const filled = Object.fromEntries(Object.entries(roles).filter(([role]) => TEMPLATE_ROLES_FILLED.includes(role)));
|
|
37215
|
-
const seed = seedOf({ roles: filled, fields }, list.items);
|
|
37216
|
-
// A field the site does not fill is written empty (never the template's sample words).
|
|
37217
|
-
const empty = Object.fromEntries(fields.filter(f => !(f.name in (seed.perItem ?? {}))).map(f => [f.name, f.controller === ContentFieldControl.Gallery ? [] : '']));
|
|
37218
|
-
return { name: type.name, label: list.label || type.label, roles, fields, seed: { ...seed, ...empty } };
|
|
37219
|
-
}
|
|
37220
|
-
/** The sources of a list's own type: all of it, the latest few, one by its slug, and the next one. */
|
|
37221
|
-
function ownSources(name) {
|
|
37222
|
-
const list = name, latest = `${name}Latest`, item = `${name}Item`, next = `${name}Next`;
|
|
37223
|
-
return {
|
|
37224
|
-
list, latest, item,
|
|
37225
|
-
sources: [
|
|
37226
|
-
{ alias: list, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Query, contentType: name },
|
|
37227
|
-
{ alias: latest, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Query, contentType: name, limit: LATEST_LIMIT },
|
|
37228
|
-
{ alias: item, type: PlanDataSourceType.Cms, mode: PlanDataSourceMode.Single, contentType: name, filterByRouteParam: { field: SLUG_FIELD, routeParam: ITEM_PARAM } },
|
|
37229
|
-
{ alias: next, type: PlanDataSourceType.Relative, of: item, op: RelativeOp.SiblingsNext, within: list },
|
|
37230
|
-
],
|
|
37231
|
-
};
|
|
37232
|
-
}
|
|
37233
|
-
/** The page of one item: its hero, its own text, its pictures, the next one (each only when the items have it). */
|
|
37234
|
-
function itemSections(type, nextLabel) {
|
|
37235
|
-
const sections = [{ pattern: ImportPattern.ItemHero }];
|
|
37236
|
-
if (roleField(type, ContentRole.Body))
|
|
37237
|
-
sections.push({ pattern: ImportPattern.ItemBody });
|
|
37238
|
-
if (roleField(type, ContentRole.Gallery))
|
|
37239
|
-
sections.push({ pattern: ImportPattern.ItemGallery });
|
|
37240
|
-
sections.push(nextLabel ? { pattern: ImportPattern.ItemNext, slots: { label: nextLabel } } : { pattern: ImportPattern.ItemNext });
|
|
37241
|
-
return sections;
|
|
37242
|
-
}
|
|
37243
|
-
const pageHeader = (title, lead) => lead
|
|
37244
|
-
? { pattern: ImportPattern.PageHeader, slots: { title, lead }, without: ['eyebrow'] }
|
|
37245
|
-
: { pattern: ImportPattern.PageHeader, slots: { title }, without: [...WITHOUT.pageHeader] };
|
|
37246
|
-
/**
|
|
37247
|
-
* The scan's reading → the plan. Every list with items becomes a content type (the one that reads as the template's own
|
|
37248
|
-
* takes its place, routes and all); every page with words becomes a page; nothing is invented — a page or a list the
|
|
37249
|
-
* site did not have is not added, and the template's own pages are kept only where they are the site's frame (the home
|
|
37250
|
-
* page, the contact page).
|
|
37251
|
-
*/
|
|
37252
|
-
function planImport(reading, input) {
|
|
37253
|
-
const template = input.template ?? STUDIO_TEMPLATE;
|
|
37254
|
-
const lists = reading.lists.filter(l => l.items.length > 0);
|
|
37255
|
-
const matched = templateListOf(template, lists);
|
|
37256
|
-
const dropped = new Set(); // the template types no list fills
|
|
37257
|
-
const contentTypes = [];
|
|
37258
|
-
const dataSources = [];
|
|
37259
|
-
const templateParts = new Map();
|
|
37260
|
-
for (const type of template.contentTypes) {
|
|
37261
|
-
const parts = templateTypeParts(template, type.name);
|
|
37262
|
-
templateParts.set(type.name, parts);
|
|
37263
|
-
if (matched?.type.name === type.name) {
|
|
37264
|
-
contentTypes.push(templateType(type, matched.list));
|
|
37265
|
-
dataSources.push(...template.dataSources.filter(d => parts.aliases.has(d.alias)));
|
|
37266
|
-
}
|
|
37267
|
-
else
|
|
37268
|
-
dropped.add(type.name);
|
|
37269
|
-
}
|
|
37270
|
-
const droppedAliases = new Set([...dropped].flatMap(t => [...templateParts.get(t).aliases]));
|
|
37271
|
-
const droppedPages = new Set([...dropped].flatMap(t => [...templateParts.get(t).pages]));
|
|
37272
|
-
// Routes and names: the template's frame first, then the lists, then the pages.
|
|
37273
|
-
const kept = template.pages.filter(p => p.isHome || p.archetype === CONTACT_ARCHETYPE || (!droppedPages.has(p.key) && matched && templateParts.get(matched.type.name).pages.has(p.key)));
|
|
37274
|
-
const routes = new Names(kept.map(p => p.route));
|
|
37275
|
-
const keys = new Names(kept.map(p => p.key));
|
|
37276
|
-
const typeNames = new Names(template.contentTypes.map(t => t.name));
|
|
37277
|
-
const aliases = new Names(template.dataSources.map(d => d.alias));
|
|
37278
|
-
const listPages = [];
|
|
37279
|
-
const firstLatest = [];
|
|
37280
|
-
if (matched) {
|
|
37281
|
-
const listPage = template.pages.find(p => templateParts.get(matched.type.name).pages.has(p.key) && !p.template);
|
|
37282
|
-
const latest = template.dataSources.find(d => templateParts.get(matched.type.name).aliases.has(d.alias) && d.type === PlanDataSourceType.Cms && d.mode === PlanDataSourceMode.Query && d.limit);
|
|
37283
|
-
if (listPage && latest)
|
|
37284
|
-
firstLatest.push({ alias: latest.alias, route: listPage.route });
|
|
37285
|
-
}
|
|
37286
|
-
const typeOfMatched = matched ? contentTypes[0] : null;
|
|
37287
|
-
for (const list of lists) {
|
|
37288
|
-
if (list === matched?.list)
|
|
37289
|
-
continue;
|
|
37290
|
-
const name = typeNames.claim(camel(importSlug(list.key) || importSlug(list.label) || 'items'), '');
|
|
37291
|
-
const type = ownType(name, list);
|
|
37292
|
-
const own = ownSources(name);
|
|
37293
|
-
if ([own.list, own.latest, own.item, `${name}Next`].some(a => aliases.has(a)))
|
|
37294
|
-
continue; // never shadow a source
|
|
37295
|
-
own.sources.forEach(s => aliases.claim(s.alias));
|
|
37296
|
-
contentTypes.push(type);
|
|
37297
|
-
dataSources.push(...own.sources);
|
|
37298
|
-
const base = routeOfPath(list.path);
|
|
37299
|
-
const route = routes.claim(base && !routes.has(base) && base !== HOME_ROUTE ? base : `/${importSlug(list.label) || name.toLowerCase()}`);
|
|
37300
|
-
routes.claim(`${route}/:${ITEM_PARAM}`);
|
|
37301
|
-
const key = keys.claim(importSlug(list.label) || name.toLowerCase());
|
|
37302
|
-
listPages.push({
|
|
37303
|
-
key, name: list.label, route, inNav: true, archetype: COLLECTION_ARCHETYPE,
|
|
37304
|
-
sections: [pageHeader(list.label), { pattern: ImportPattern.CardGrid, binding: own.list, without: [...WITHOUT.cardGridHeader] }],
|
|
37305
|
-
});
|
|
37306
|
-
listPages.push({
|
|
37307
|
-
key: keys.claim(`${key}-item`), name: list.label, route: `${route}/:${ITEM_PARAM}`, inNav: false,
|
|
37308
|
-
template: name, routeSource: own.item, archetype: DETAIL_ARCHETYPE, sections: itemSections(type, list.label),
|
|
37309
|
-
});
|
|
37310
|
-
firstLatest.push({ alias: own.latest, route });
|
|
37311
|
-
}
|
|
37312
|
-
// The template's frame: a section that showed a dropped type shows the first list instead, or goes.
|
|
37313
|
-
const frame = [];
|
|
37314
|
-
for (const page of kept) {
|
|
37315
|
-
const sections = [];
|
|
37316
|
-
for (const section of page.sections) {
|
|
37317
|
-
if (!section.binding || !droppedAliases.has(section.binding)) {
|
|
37318
|
-
sections.push(section);
|
|
37319
|
-
continue;
|
|
37320
|
-
}
|
|
37321
|
-
const first = firstLatest[0];
|
|
37322
|
-
if (first)
|
|
37323
|
-
sections.push({ ...section, binding: first.alias, links: { ...(section.links ?? {}), more: first.route } });
|
|
37324
|
-
}
|
|
37325
|
-
// The template type's item page shows the items' own text after its hero.
|
|
37326
|
-
const body = page.template && typeOfMatched && page.template === typeOfMatched.name && roleField(typeOfMatched, ContentRole.Body)
|
|
37327
|
-
&& !sections.some(s => s.pattern === ImportPattern.ItemBody);
|
|
37328
|
-
if (body)
|
|
37329
|
-
sections.splice(Math.max(1, sections.findIndex(s => s.pattern === ImportPattern.ItemHero) + 1), 0, { pattern: ImportPattern.ItemBody });
|
|
37330
|
-
frame.push({ ...page, sections });
|
|
37331
|
-
}
|
|
37332
|
-
// The owner's pages of words.
|
|
37333
|
-
const textPages = [];
|
|
37334
|
-
for (const page of reading.pages) {
|
|
37335
|
-
const text = page.text.trim();
|
|
37336
|
-
const title = page.title.trim();
|
|
37337
|
-
if (!text || !title)
|
|
37338
|
-
continue;
|
|
37339
|
-
const base = routeOfPath(page.path);
|
|
37340
|
-
if (!base || base === HOME_ROUTE)
|
|
37341
|
-
continue; // the home page is rebuilt from the template
|
|
37342
|
-
if (routes.has(base) && frame.some(p => p.route === base))
|
|
37343
|
-
continue; // the template's contact page stands for it
|
|
37344
|
-
const route = routes.claim(base);
|
|
37345
|
-
textPages.push({
|
|
37346
|
-
key: keys.claim(importSlug(base.slice(1)) || importSlug(title) || 'page'), name: title, route, inNav: route.split('/').length === 2,
|
|
37347
|
-
archetype: ABOUT_ARCHETYPE,
|
|
37348
|
-
sections: [pageHeader(title, page.description?.trim() || undefined), { pattern: ImportPattern.LongForm, slots: { body1: text }, without: [...WITHOUT.longForm] }],
|
|
37349
|
-
});
|
|
37350
|
-
}
|
|
37351
|
-
// The header lists the lists first, then the pages, the contact page last — at most IMPORT_NAV_MAX.
|
|
37352
|
-
const home = frame.filter(p => p.isHome);
|
|
37353
|
-
const contact = frame.filter(p => !p.isHome && p.archetype === CONTACT_ARCHETYPE);
|
|
37354
|
-
const rest = frame.filter(p => !p.isHome && p.archetype !== CONTACT_ARCHETYPE);
|
|
37355
|
-
let room = IMPORT_NAV_MAX - contact.filter(p => p.inNav).length;
|
|
37356
|
-
const nav = (page) => {
|
|
37357
|
-
if (!page.inNav)
|
|
37358
|
-
return page;
|
|
37359
|
-
if (room > 0) {
|
|
37360
|
-
room--;
|
|
37361
|
-
return page;
|
|
37362
|
-
}
|
|
37363
|
-
return { ...page, inNav: false };
|
|
37364
|
-
};
|
|
37365
|
-
const pages = [...home, ...rest.map(nav), ...listPages.map(nav), ...textPages.map(nav), ...contact];
|
|
37366
|
-
return {
|
|
37367
|
-
version: SITE_PLAN_VERSION,
|
|
37368
|
-
source: { kind: SitePlanSourceKind.Import, scanId: reading.scanId },
|
|
37369
|
-
business: JSON.parse(JSON.stringify(reading.business)),
|
|
37370
|
-
...(reading.locale ? { locale: reading.locale } : {}),
|
|
37371
|
-
design: JSON.parse(JSON.stringify(input.design)),
|
|
37372
|
-
contentTypes,
|
|
37373
|
-
dataSources: JSON.parse(JSON.stringify(dataSources)),
|
|
37374
|
-
pages: JSON.parse(JSON.stringify(pages)),
|
|
37375
|
-
globals: JSON.parse(JSON.stringify(template.globals)),
|
|
37376
|
-
};
|
|
37377
|
-
}
|
|
37378
|
-
|
|
37379
37439
|
/**
|
|
37380
37440
|
* The AI pipeline's WIRE vocabulary (AI plan §3c, §3n, M0): what iox-cms's `ai` API answers and what every client
|
|
37381
37441
|
* of it reads — the steps a model works on, who pays (IOX credits or the studio's own key), a model of the vetted
|
|
@@ -41880,5 +41940,5 @@ function siteGlobalsOf(globals) {
|
|
|
41880
41940
|
* Generated bundle index. Do not edit.
|
|
41881
41941
|
*/
|
|
41882
41942
|
|
|
41883
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, importSlug, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedLayoutSection, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
41943
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedLayoutSection, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
41884
41944
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|