@vectoriox/iox-ui 5.187.0 → 5.189.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-forms-core.mjs +111 -11
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +136 -20
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +110 -10
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +59 -3
- package/generation-core/index.d.ts +24 -1
- package/package.json +1 -1
- package/src/forms-core/form-presets.ts +5 -3
- package/src/forms-core/form-words.ts +140 -0
- package/src/forms-core/public-api.ts +1 -0
- package/src/forms-core/submit-lifecycle.ts +3 -8
- package/src/generation-core/type-led.ts +120 -4
package/forms-core/index.d.ts
CHANGED
|
@@ -626,6 +626,61 @@ declare function isChannelFilled(href: unknown): boolean;
|
|
|
626
626
|
/** A WhatsApp or web channel opens in a new tab; a call or an email hands over to the device. */
|
|
627
627
|
declare function channelOpensNewTab(kind: ChannelKind | string): boolean;
|
|
628
628
|
|
|
629
|
+
/**
|
|
630
|
+
* FORM WORDS — what a form part says the moment it lands on a page, in the SITE's language (iox-ui#159).
|
|
631
|
+
*
|
|
632
|
+
* ONE table for the words nobody wrote yet: a new Field's label, the plain Form's Name / Email / Send, each field kind's
|
|
633
|
+
* label and starter choices (the Forms tray's Checkbox, Radio group, …), and a second channel's words (WhatsApp, Call
|
|
634
|
+
* us, …). The builder's Form type, its field-kind presets and `addFormChannel`, and the admin's channel panel all read
|
|
635
|
+
* it — a Hebrew site gets Hebrew parts from the tray, never English it has to retype. The English column IS the
|
|
636
|
+
* baseline the builder's configs carry; `formWordIn` turns an untouched baseline word into the site's language.
|
|
637
|
+
*
|
|
638
|
+
* Data + lookups only: framework-free, like the rest of forms-core. The preset forms' own words stay in
|
|
639
|
+
* `form-presets.ts` (`FORM_PRESET_WORDS_HE`); "While sending" and "Sent" in `submit-lifecycle.ts`.
|
|
640
|
+
*/
|
|
641
|
+
|
|
642
|
+
/** The field kinds the tray offers as their own rows — the Field's `control` values (builder `FIELD_KIND_PRESETS`). */
|
|
643
|
+
type FieldKindControl = 'checkbox' | 'switch' | 'radio' | 'choices' | 'select' | 'range' | 'date' | 'time';
|
|
644
|
+
/** A field kind's seeded words: its label and, for a kind with choices, one choice per line (`optionsText`). */
|
|
645
|
+
interface FieldKindWords {
|
|
646
|
+
label: string;
|
|
647
|
+
optionsText?: string;
|
|
648
|
+
}
|
|
649
|
+
interface FormWords {
|
|
650
|
+
/** A new Field's label — the Field type's own default. */
|
|
651
|
+
field: string;
|
|
652
|
+
/** The plain Form's two fields and its button. */
|
|
653
|
+
name: string;
|
|
654
|
+
email: string;
|
|
655
|
+
send: string;
|
|
656
|
+
kinds: Readonly<Record<FieldKindControl, FieldKindWords>>;
|
|
657
|
+
/** A second channel's words beside Send, by kind (premium N2). */
|
|
658
|
+
channels: Readonly<Record<`${ChannelKind}`, string>>;
|
|
659
|
+
}
|
|
660
|
+
declare enum FormWordsLanguage {
|
|
661
|
+
En = "en",
|
|
662
|
+
He = "he"
|
|
663
|
+
}
|
|
664
|
+
/** The language a form speaks for a `lang` attribute or site locale: design-core's subtag (`he-IL` → `he`), the old
|
|
665
|
+
* `iw` read as `he`; '' when none. */
|
|
666
|
+
declare function formLanguageOf(lang: string | null | undefined): string;
|
|
667
|
+
/** The words in a site's language — English for any language the table does not hold, and when none is given. */
|
|
668
|
+
declare function formWords(lang?: string | null): FormWords;
|
|
669
|
+
/** The baseline — what a builder config carries before anyone writes. */
|
|
670
|
+
declare function baselineFormWords(): FormWords;
|
|
671
|
+
/** A field kind's seeded label and choices in `lang`; undefined for a control the tray does not offer as a row. */
|
|
672
|
+
declare function fieldKindWords(control: string, lang?: string | null): FieldKindWords | undefined;
|
|
673
|
+
/** A channel's words in `lang` ('' for an unknown kind — the caller keeps what it has). */
|
|
674
|
+
declare function channelWords(kind: string, lang?: string | null): string;
|
|
675
|
+
/** The plain-form slots `formWordIn` can carry across languages. */
|
|
676
|
+
type FormWordSlot = 'field' | 'name' | 'email' | 'send';
|
|
677
|
+
/**
|
|
678
|
+
* An UNTOUCHED baseline word in `lang`: when `value` is the English word one of `slots` carries, the site language's word
|
|
679
|
+
* for that slot; anything an author wrote (or an empty value) comes back as it is. How a freshly created Form, Field or
|
|
680
|
+
* submit button speaks the site's language without a second copy of its config.
|
|
681
|
+
*/
|
|
682
|
+
declare function formWordIn(value: unknown, lang: string | null | undefined, slots: readonly FormWordSlot[]): unknown;
|
|
683
|
+
|
|
629
684
|
/**
|
|
630
685
|
* FORM PRESETS — a complete, working form as one insert: its fields, its submit label and the words of
|
|
631
686
|
* its Success and Error blocks. ONE definition (W1.1): the builder's Forms tray builds a preset from
|
|
@@ -693,7 +748,8 @@ declare const FORM_PRESETS: readonly FormPresetDef[];
|
|
|
693
748
|
* site asks, answers and fails in Hebrew). */
|
|
694
749
|
declare function formPresetById(id: string | null | undefined, lang?: string | null): FormPresetDef | undefined;
|
|
695
750
|
/** A preset's words on a Hebrew site: per field (by order) its label, help, placeholder and choices; the submit, the
|
|
696
|
-
* messages, the channel
|
|
751
|
+
* messages, the inbox name, and a channel label only where it is not the kind's own (`channelWords`). A choice's words
|
|
752
|
+
* ARE its value (`optionsText`). */
|
|
697
753
|
interface FormPresetWords {
|
|
698
754
|
formName: string;
|
|
699
755
|
fields: ReadonlyArray<Partial<Pick<FormPresetField, 'label' | 'help' | 'placeholder' | 'optionsText'>>>;
|
|
@@ -928,5 +984,5 @@ interface FieldMarkupOptions {
|
|
|
928
984
|
/** A Field's whole element, as the string renderer writes it. */
|
|
929
985
|
declare function fieldHtml(props: Record<string, any> | null | undefined, options: FieldMarkupOptions): string;
|
|
930
986
|
|
|
931
|
-
export { CALENDAR_ROWS, CHANNEL_KINDS, CHOICE_MESSAGE_KEYS, CalendarKey, ChannelKind, ChoiceAppearance, ControlType, DATE_EMPTY_ATTRIBUTE, DATE_ICON_SVG, DATE_MAX_ATTRIBUTE, DATE_MESSAGE_KEYS, DATE_MIN_ATTRIBUTE, DATE_PICKER_WORDS, DEFAULT_BUSY_WORDS, DEFAULT_EN_MESSAGES, EMAIL_TO_OWNER, FIELD_GROUP_NODE_TYPE, FIELD_NODE_TYPE, FORM_ACTIONS_ROLE, FORM_AFTER_SEND_ATTRIBUTE, FORM_AFTER_SEND_TRAIT, FORM_ANNOUNCER_ATTRIBUTE, FORM_CHANNEL_ROLE, FORM_CONTENT_TYPES, FORM_ERROR_KEYS, FORM_FIELDS_ATTRIBUTE, FORM_HONEYPOT_CLASS, FORM_NODE_TYPE, FORM_PRESETS, FORM_PRESET_WORDS_HE, FORM_STATE_ATTRIBUTE, FeedbackTiming, FormAfterSend, FormPresetId, FormRenderState, HONEYPOT_FIELD, IMPLIED_PATTERN, INITIAL_FORM_STATE, INTERACTIVE_HOST_TAGS, InteractiveTag, MESSAGE_NAMESPACE, OPTION_CONTROLS, PATTERN_MESSAGE_KEYS, PATTERN_PRESETS, PATTERN_PRESET_OPTIONS, PatternPreset, RENDERED_AT_FIELD, RULE_DESCRIPTORS, RULE_MESSAGE_KEYS, RuleName, RuleParamKind, STORE_ACTION, SUBMIT_BUTTON_NODE_TYPE, SUBMIT_CHECK_SVG, SUBMIT_KEEP_ENABLED_ATTRIBUTE, SUBMIT_MESSAGE_KEYS, SubmitLabelClass, addDaysIso, addMonthsIso, addableRules, applyServerErrors, baseFieldName, busyWord, calendarKeyTarget, calendarMonth, channelHref, channelOpensNewTab, choiceAppearanceOf, clampIso, clientFormSpec, collectFieldNodes, collectFormSpec, dateBoundRules, dateOfIso, datePickerWords, deriveFieldName, emailsOwner, failureAnnouncement, fieldDateRange, fieldHtml, fieldOptionsOf, fieldSpecOf, findFormContentInHosts, firstInvalidField, formAfterSend, formChromeHtml, formContentInHost, formFieldNameMap, formFieldNames, formPresetById, formPresetIn, formatDateInWords, inputTypeOf, interpretSubmitResponse, isChannelFilled, isDateBoundParams, isDateField, isFormContent, isInteractiveHost, isIsoDate, isMultiValueField, isoOfDate, normaliseAnswers, onFieldBlur, onFieldChange, onSubmitAttempt, parseChannelHref, parseClientFormSpec, parseDateBound, parseFieldOptions, planFormPresetIds, presetFormActions, resetFormState, resolveDateBound, rulesFor, sentWord, shouldShowError, submitBusyWords, submitButtonLabelsHtml, submitButtonView, submitEndpointPath, submitOutcome, todayIso, uniqueFieldName, uniqueFieldNames, validateField, validateForm, weekStartFor, withAntiSpamFields };
|
|
932
|
-
export type { CalendarDay, CalendarMonth, CalendarOptions, ClientFormSpec, DateBoundParams, DatePickerWords, FieldError, FieldMarkupOptions, FieldOption, FieldOptionSource, FieldResult, FieldSpec, FormNodeLike, FormPresetChannel, FormPresetDef, FormPresetField, FormResult, FormRuntimeState, FormSpec, FormTransport, MisplacedFormContent, NestingNode, RuleDescriptor, SubmitAction, SubmitButtonView, SubmitLabels, SubmitOutcome, SubmitRequest, SubmitResponse, ValidateOptions, ValidationRule };
|
|
987
|
+
export { CALENDAR_ROWS, CHANNEL_KINDS, CHOICE_MESSAGE_KEYS, CalendarKey, ChannelKind, ChoiceAppearance, ControlType, DATE_EMPTY_ATTRIBUTE, DATE_ICON_SVG, DATE_MAX_ATTRIBUTE, DATE_MESSAGE_KEYS, DATE_MIN_ATTRIBUTE, DATE_PICKER_WORDS, DEFAULT_BUSY_WORDS, DEFAULT_EN_MESSAGES, EMAIL_TO_OWNER, FIELD_GROUP_NODE_TYPE, FIELD_NODE_TYPE, FORM_ACTIONS_ROLE, FORM_AFTER_SEND_ATTRIBUTE, FORM_AFTER_SEND_TRAIT, FORM_ANNOUNCER_ATTRIBUTE, FORM_CHANNEL_ROLE, FORM_CONTENT_TYPES, FORM_ERROR_KEYS, FORM_FIELDS_ATTRIBUTE, FORM_HONEYPOT_CLASS, FORM_NODE_TYPE, FORM_PRESETS, FORM_PRESET_WORDS_HE, FORM_STATE_ATTRIBUTE, FeedbackTiming, FormAfterSend, FormPresetId, FormRenderState, FormWordsLanguage, HONEYPOT_FIELD, IMPLIED_PATTERN, INITIAL_FORM_STATE, INTERACTIVE_HOST_TAGS, InteractiveTag, MESSAGE_NAMESPACE, OPTION_CONTROLS, PATTERN_MESSAGE_KEYS, PATTERN_PRESETS, PATTERN_PRESET_OPTIONS, PatternPreset, RENDERED_AT_FIELD, RULE_DESCRIPTORS, RULE_MESSAGE_KEYS, RuleName, RuleParamKind, STORE_ACTION, SUBMIT_BUTTON_NODE_TYPE, SUBMIT_CHECK_SVG, SUBMIT_KEEP_ENABLED_ATTRIBUTE, SUBMIT_MESSAGE_KEYS, SubmitLabelClass, addDaysIso, addMonthsIso, addableRules, applyServerErrors, baseFieldName, baselineFormWords, busyWord, calendarKeyTarget, calendarMonth, channelHref, channelOpensNewTab, channelWords, choiceAppearanceOf, clampIso, clientFormSpec, collectFieldNodes, collectFormSpec, dateBoundRules, dateOfIso, datePickerWords, deriveFieldName, emailsOwner, failureAnnouncement, fieldDateRange, fieldHtml, fieldKindWords, fieldOptionsOf, fieldSpecOf, findFormContentInHosts, firstInvalidField, formAfterSend, formChromeHtml, formContentInHost, formFieldNameMap, formFieldNames, formLanguageOf, formPresetById, formPresetIn, formWordIn, formWords, formatDateInWords, inputTypeOf, interpretSubmitResponse, isChannelFilled, isDateBoundParams, isDateField, isFormContent, isInteractiveHost, isIsoDate, isMultiValueField, isoOfDate, normaliseAnswers, onFieldBlur, onFieldChange, onSubmitAttempt, parseChannelHref, parseClientFormSpec, parseDateBound, parseFieldOptions, planFormPresetIds, presetFormActions, resetFormState, resolveDateBound, rulesFor, sentWord, shouldShowError, submitBusyWords, submitButtonLabelsHtml, submitButtonView, submitEndpointPath, submitOutcome, todayIso, uniqueFieldName, uniqueFieldNames, validateField, validateForm, weekStartFor, withAntiSpamFields };
|
|
988
|
+
export type { CalendarDay, CalendarMonth, CalendarOptions, ClientFormSpec, DateBoundParams, DatePickerWords, FieldError, FieldKindControl, FieldKindWords, FieldMarkupOptions, FieldOption, FieldOptionSource, FieldResult, FieldSpec, FormNodeLike, FormPresetChannel, FormPresetDef, FormPresetField, FormResult, FormRuntimeState, FormSpec, FormTransport, FormWordSlot, FormWords, MisplacedFormContent, NestingNode, RuleDescriptor, SubmitAction, SubmitButtonView, SubmitLabels, SubmitOutcome, SubmitRequest, SubmitResponse, ValidateOptions, ValidationRule };
|
|
@@ -13845,6 +13845,10 @@ declare enum TypeLedChangeKind {
|
|
|
13845
13845
|
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
13846
13846
|
* sections; a stored run's words for them stay as they were said. */
|
|
13847
13847
|
Plate = "plate",
|
|
13848
|
+
/** iox-ui#129 round 3 (J10 2026-11-26, "plates read as empty halves"): a still plate as large as a half of its section,
|
|
13849
|
+
* beside the section's words, gives its place to them — the lead takes the whole width, the words under
|
|
13850
|
+
* it move into the plate's columns, and the plate stays (same index) as the look's rule above the words. */
|
|
13851
|
+
Yield = "yield",
|
|
13848
13852
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
13849
13853
|
List = "list"
|
|
13850
13854
|
}
|
|
@@ -13907,6 +13911,25 @@ declare function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, grou
|
|
|
13907
13911
|
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
13908
13912
|
*/
|
|
13909
13913
|
declare function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection;
|
|
13914
|
+
/** The least share of a screen's 12 columns, and of its section's rows, a still plate covers to read as a missing half. */
|
|
13915
|
+
declare const YIELD_MIN_COLUMNS = 4;
|
|
13916
|
+
declare const YIELD_MIN_ROW_SHARE = 0.6;
|
|
13917
|
+
/**
|
|
13918
|
+
* Does the plate at `li` read as an empty HALF (J10 2026-11-26: "a small block of words on the left, the right half a pale
|
|
13919
|
+
* plate")? A still picture layer (no scroll motion — a moving plate is the signature's body, it stays), in a section that is
|
|
13920
|
+
* not held or sideways, at least `YIELD_MIN_COLUMNS` wide and `YIELD_MIN_ROW_SHARE` of the rows tall, no words over it, and
|
|
13921
|
+
* words BESIDE it — rows shared, columns not — all on one side. Pure.
|
|
13922
|
+
*/
|
|
13923
|
+
declare function plateYields(section: LayoutSection, li: number): boolean;
|
|
13924
|
+
/**
|
|
13925
|
+
* The section re-laid TYPE-LED around a plate that yields (`plateYields`), every layer at its index (so every node id, the
|
|
13926
|
+
* phone order and the rows stay): the lead (role lead, else the largest heading or word) takes the width the words and the
|
|
13927
|
+
* plate shared (its size stays the look's: a heading wears its element style); the words under the lead move together
|
|
13928
|
+
* into the plate's columns (an editorial split — type on both halves); the plate becomes the look's RULE (`isLayoutRule`:
|
|
13929
|
+
* one row, no words on it, `yieldRuleCell`); with no free row it stands in the section's own ground. A calm look's rule is
|
|
13930
|
+
* the ink, else the accent. Columns are logical: RTL mirrors as every layer does. Pure.
|
|
13931
|
+
*/
|
|
13932
|
+
declare function typeLedYield(section: LayoutSection, li: number, calm: boolean): LayoutSection;
|
|
13910
13933
|
/** What a type-led round needs of the build beyond the plan: its tier and the studio's memory. */
|
|
13911
13934
|
interface TypeLedRoundContext {
|
|
13912
13935
|
tier?: `${GenerationTier}`;
|
|
@@ -19884,5 +19907,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19884
19907
|
* its phone menu, the footer's copyright line. */
|
|
19885
19908
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19886
19909
|
|
|
19887
|
-
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, SCRIM_WORDS_PAD, 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, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, 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, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, 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, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, 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, popupKeptNotices, 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, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, 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 };
|
|
19910
|
+
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, SCRIM_WORDS_PAD, 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, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, 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, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, 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, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, 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, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, 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, plateYields, popupKeptNotices, 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, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, 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 };
|
|
19888
19911
|
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildComposeDecisions, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContactBusiness, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, ImportPlan, ImportPlanInput, ImportReading, ImportRedirect, ImportedHome, ImportedItem, ImportedList, ImportedPage, JsonSchema, KeptPageRefusal, LayerMetrics, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanPopupLines, PlanStatedFact, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PlannedPopup, PopupCheck, PopupMixWords, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import type { ChannelKind } from './channel';
|
|
10
10
|
import { STORE_ACTION } from './collect';
|
|
11
|
+
import { channelWords } from './form-words';
|
|
11
12
|
import type { SubmitAction } from './form.model';
|
|
12
13
|
|
|
13
14
|
export enum FormPresetId {
|
|
@@ -168,7 +169,8 @@ export function formPresetById(id: string | null | undefined, lang?: string | nu
|
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
/** A preset's words on a Hebrew site: per field (by order) its label, help, placeholder and choices; the submit, the
|
|
171
|
-
* messages, the channel
|
|
172
|
+
* messages, the inbox name, and a channel label only where it is not the kind's own (`channelWords`). A choice's words
|
|
173
|
+
* ARE its value (`optionsText`). */
|
|
172
174
|
interface FormPresetWords {
|
|
173
175
|
formName: string;
|
|
174
176
|
fields: ReadonlyArray<Partial<Pick<FormPresetField, 'label' | 'help' | 'placeholder' | 'optionsText'>>>;
|
|
@@ -217,7 +219,6 @@ export const FORM_PRESET_WORDS_HE: Readonly<Record<`${FormPresetId}`, FormPreset
|
|
|
217
219
|
submitLabel: 'שליחה',
|
|
218
220
|
successText: 'תודה — נחזור אליכם בקרוב.',
|
|
219
221
|
errorText: 'לא הצלחנו לשלוח את הפרטים. נסו שוב — התשובות שלכם עדיין כאן.',
|
|
220
|
-
channel: 'שלחו לנו הודעה בוואטסאפ',
|
|
221
222
|
},
|
|
222
223
|
});
|
|
223
224
|
|
|
@@ -230,7 +231,8 @@ export function formPresetIn(def: FormPresetDef, lang?: string | null): FormPres
|
|
|
230
231
|
formName: he.formName,
|
|
231
232
|
fields: def.fields.map((f, i) => ({ ...f, ...(he.fields[i] ?? {}) })),
|
|
232
233
|
submitLabel: he.submitLabel, successText: he.successText, errorText: he.errorText,
|
|
233
|
-
|
|
234
|
+
// The channel's words are the kind's own (`form-words.ts`, iox-ui#159) unless the preset says otherwise.
|
|
235
|
+
...(def.channel ? { channel: { ...def.channel, label: he.channel ?? (channelWords(def.channel.kind, 'he') || def.channel.label) } } : {}),
|
|
234
236
|
};
|
|
235
237
|
}
|
|
236
238
|
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FORM WORDS — what a form part says the moment it lands on a page, in the SITE's language (iox-ui#159).
|
|
3
|
+
*
|
|
4
|
+
* ONE table for the words nobody wrote yet: a new Field's label, the plain Form's Name / Email / Send, each field kind's
|
|
5
|
+
* label and starter choices (the Forms tray's Checkbox, Radio group, …), and a second channel's words (WhatsApp, Call
|
|
6
|
+
* us, …). The builder's Form type, its field-kind presets and `addFormChannel`, and the admin's channel panel all read
|
|
7
|
+
* it — a Hebrew site gets Hebrew parts from the tray, never English it has to retype. The English column IS the
|
|
8
|
+
* baseline the builder's configs carry; `formWordIn` turns an untouched baseline word into the site's language.
|
|
9
|
+
*
|
|
10
|
+
* Data + lookups only: framework-free, like the rest of forms-core. The preset forms' own words stay in
|
|
11
|
+
* `form-presets.ts` (`FORM_PRESET_WORDS_HE`); "While sending" and "Sent" in `submit-lifecycle.ts`.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { languageOf } from '@vectoriox/iox-ui/design-core';
|
|
15
|
+
|
|
16
|
+
import type { ChannelKind } from './channel';
|
|
17
|
+
|
|
18
|
+
/** The field kinds the tray offers as their own rows — the Field's `control` values (builder `FIELD_KIND_PRESETS`). */
|
|
19
|
+
export type FieldKindControl = 'checkbox' | 'switch' | 'radio' | 'choices' | 'select' | 'range' | 'date' | 'time';
|
|
20
|
+
|
|
21
|
+
/** A field kind's seeded words: its label and, for a kind with choices, one choice per line (`optionsText`). */
|
|
22
|
+
export interface FieldKindWords {
|
|
23
|
+
label: string;
|
|
24
|
+
optionsText?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface FormWords {
|
|
28
|
+
/** A new Field's label — the Field type's own default. */
|
|
29
|
+
field: string;
|
|
30
|
+
/** The plain Form's two fields and its button. */
|
|
31
|
+
name: string;
|
|
32
|
+
email: string;
|
|
33
|
+
send: string;
|
|
34
|
+
kinds: Readonly<Record<FieldKindControl, FieldKindWords>>;
|
|
35
|
+
/** A second channel's words beside Send, by kind (premium N2). */
|
|
36
|
+
channels: Readonly<Record<`${ChannelKind}`, string>>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export enum FormWordsLanguage {
|
|
40
|
+
En = 'en',
|
|
41
|
+
He = 'he',
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const CHOICES_EN = 'First choice\nSecond choice\nThird choice';
|
|
45
|
+
const CHOICES_HE = 'אפשרות ראשונה\nאפשרות שנייה\nאפשרות שלישית';
|
|
46
|
+
|
|
47
|
+
// `@__PURE__` + literal keys: a renderer that never reads the table (the engine's field runtime) drops it.
|
|
48
|
+
const FORM_WORDS: Readonly<Record<FormWordsLanguage, FormWords>> = /* @__PURE__ */ Object.freeze({
|
|
49
|
+
en: {
|
|
50
|
+
field: 'Label',
|
|
51
|
+
name: 'Name',
|
|
52
|
+
email: 'Email',
|
|
53
|
+
send: 'Send',
|
|
54
|
+
kinds: {
|
|
55
|
+
checkbox: { label: 'I agree' },
|
|
56
|
+
switch: { label: 'Enable' },
|
|
57
|
+
radio: { label: 'Pick one', optionsText: CHOICES_EN },
|
|
58
|
+
choices: { label: 'What do you need?', optionsText: CHOICES_EN },
|
|
59
|
+
select: { label: 'Choose', optionsText: CHOICES_EN },
|
|
60
|
+
range: { label: 'How much' },
|
|
61
|
+
date: { label: 'Date' },
|
|
62
|
+
time: { label: 'Time' },
|
|
63
|
+
},
|
|
64
|
+
channels: {
|
|
65
|
+
whatsapp: 'Message us on WhatsApp',
|
|
66
|
+
phone: 'Call us',
|
|
67
|
+
email: 'Email us',
|
|
68
|
+
link: 'Book online',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
he: {
|
|
72
|
+
field: 'שם השדה',
|
|
73
|
+
name: 'שם',
|
|
74
|
+
email: 'אימייל',
|
|
75
|
+
send: 'שליחה',
|
|
76
|
+
kinds: {
|
|
77
|
+
checkbox: { label: 'אני מאשר/ת' },
|
|
78
|
+
switch: { label: 'הפעלה' },
|
|
79
|
+
radio: { label: 'בחרו אחת', optionsText: CHOICES_HE },
|
|
80
|
+
choices: { label: 'מה אתם צריכים?', optionsText: CHOICES_HE },
|
|
81
|
+
select: { label: 'בחירה', optionsText: CHOICES_HE },
|
|
82
|
+
range: { label: 'כמה' },
|
|
83
|
+
date: { label: 'תאריך' },
|
|
84
|
+
time: { label: 'שעה' },
|
|
85
|
+
},
|
|
86
|
+
channels: {
|
|
87
|
+
whatsapp: 'שלחו לנו הודעה בוואטסאפ',
|
|
88
|
+
phone: 'התקשרו אלינו',
|
|
89
|
+
email: 'כתבו לנו',
|
|
90
|
+
link: 'הזמנה אונליין',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
/** The language a form speaks for a `lang` attribute or site locale: design-core's subtag (`he-IL` → `he`), the old
|
|
96
|
+
* `iw` read as `he`; '' when none. */
|
|
97
|
+
export function formLanguageOf(lang: string | null | undefined): string {
|
|
98
|
+
const language = languageOf(lang);
|
|
99
|
+
return language === 'iw' ? 'he' : language;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** The words in a site's language — English for any language the table does not hold, and when none is given. */
|
|
103
|
+
export function formWords(lang?: string | null): FormWords {
|
|
104
|
+
return ownWord(FORM_WORDS, formLanguageOf(lang)) ?? FORM_WORDS[FormWordsLanguage.En];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** The baseline — what a builder config carries before anyone writes. */
|
|
108
|
+
export function baselineFormWords(): FormWords {
|
|
109
|
+
return FORM_WORDS[FormWordsLanguage.En];
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** A field kind's seeded label and choices in `lang`; undefined for a control the tray does not offer as a row. */
|
|
113
|
+
export function fieldKindWords(control: string, lang?: string | null): FieldKindWords | undefined {
|
|
114
|
+
return ownWord(formWords(lang).kinds, control);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** A channel's words in `lang` ('' for an unknown kind — the caller keeps what it has). */
|
|
118
|
+
export function channelWords(kind: string, lang?: string | null): string {
|
|
119
|
+
return ownWord(formWords(lang).channels, kind) ?? '';
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/** A table's own entry — never an inherited `constructor` or `toString` for a key someone typed. */
|
|
123
|
+
function ownWord<T>(table: Readonly<Record<string, T>>, key: string): T | undefined {
|
|
124
|
+
return Object.prototype.hasOwnProperty.call(table, key) ? table[key] : undefined;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** The plain-form slots `formWordIn` can carry across languages. */
|
|
128
|
+
export type FormWordSlot = 'field' | 'name' | 'email' | 'send';
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* An UNTOUCHED baseline word in `lang`: when `value` is the English word one of `slots` carries, the site language's word
|
|
132
|
+
* for that slot; anything an author wrote (or an empty value) comes back as it is. How a freshly created Form, Field or
|
|
133
|
+
* submit button speaks the site's language without a second copy of its config.
|
|
134
|
+
*/
|
|
135
|
+
export function formWordIn(value: unknown, lang: string | null | undefined, slots: readonly FormWordSlot[]): unknown {
|
|
136
|
+
if (typeof value !== 'string' || !value) return value;
|
|
137
|
+
const base = baselineFormWords();
|
|
138
|
+
const slot = slots.find(s => base[s] === value);
|
|
139
|
+
return slot ? formWords(lang)[slot] : value;
|
|
140
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import { FeedbackTiming, FieldSpec, FormSpec } from './form.model';
|
|
13
|
+
import { formLanguageOf } from './form-words';
|
|
13
14
|
import { SubmitResponse } from './transport';
|
|
14
15
|
import { FieldError } from './validate';
|
|
15
16
|
|
|
@@ -145,13 +146,7 @@ export const SUBMIT_CHECK_SVG = `<svg class="${SubmitLabelClass.Check}" width="1
|
|
|
145
146
|
const SENT_WORDS: Readonly<Record<string, string>> = Object.freeze({ en: 'Sent', he: 'נשלח' });
|
|
146
147
|
|
|
147
148
|
export function sentWord(lang: string | null | undefined): string {
|
|
148
|
-
return SENT_WORDS[
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/** A `lang` attribute's language: `he-IL` → `he` (and the old `iw`). */
|
|
152
|
-
function languageOf(lang: string | null | undefined): string {
|
|
153
|
-
const language = String(lang ?? '').toLowerCase().split(/[-_]/)[0];
|
|
154
|
-
return language === 'iw' ? 'he' : language;
|
|
149
|
+
return SENT_WORDS[formLanguageOf(lang)] ?? SENT_WORDS['en'];
|
|
155
150
|
}
|
|
156
151
|
|
|
157
152
|
/** "While sending" in the site's language (iox-ui#158). The English one is the SubmitButton's baseline
|
|
@@ -162,7 +157,7 @@ const BUSY_WORDS: Readonly<Record<string, string>> = Object.freeze({ en: 'Sendin
|
|
|
162
157
|
export const DEFAULT_BUSY_WORDS = BUSY_WORDS['en'];
|
|
163
158
|
|
|
164
159
|
export function busyWord(lang: string | null | undefined): string {
|
|
165
|
-
return BUSY_WORDS[
|
|
160
|
+
return BUSY_WORDS[formLanguageOf(lang)] ?? DEFAULT_BUSY_WORDS;
|
|
166
161
|
}
|
|
167
162
|
|
|
168
163
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComposedItem, ComposedPlaceholder, ComposedSite, openingContextOf, PlaceholderKind } from './compose-site';
|
|
2
2
|
import { FingerprintedPage, wornOpenings } from './layout-fingerprint';
|
|
3
|
-
import { LAYOUT_TEXT_KINDS, LayoutColour, LayoutLayer, LayoutLayerKind, LayoutSection } from './layout-language';
|
|
3
|
+
import { LAYOUT_TEXT_KINDS, LayoutColour, LayoutLayer, LayoutLayerKind, LayoutRole, LayoutSection, LayoutSize } from './layout-language';
|
|
4
4
|
import {
|
|
5
5
|
checkOpening, drawnOpeningMix, OPENING_MIX_PROP, OpeningGround, OpeningMedia, OpeningMix, openingMixOfPlan, openingMixWords, OpeningMotion,
|
|
6
6
|
openingTokenOf, openingTokenParts, typeLedGrounds, typeLedOpeningSection, typeLedOpeningWays,
|
|
@@ -82,6 +82,10 @@ export enum TypeLedChangeKind {
|
|
|
82
82
|
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
83
83
|
* sections; a stored run's words for them stay as they were said. */
|
|
84
84
|
Plate = 'plate',
|
|
85
|
+
/** iox-ui#129 round 3 (J10 2026-11-26, "plates read as empty halves"): a still plate as large as a half of its section,
|
|
86
|
+
* beside the section's words, gives its place to them — the lead takes the whole width, the words under
|
|
87
|
+
* it move into the plate's columns, and the plate stays (same index) as the look's rule above the words. */
|
|
88
|
+
Yield = 'yield',
|
|
85
89
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
86
90
|
List = 'list',
|
|
87
91
|
}
|
|
@@ -262,6 +266,17 @@ export function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, groun
|
|
|
262
266
|
return rotation[nth % rotation.length];
|
|
263
267
|
}
|
|
264
268
|
|
|
269
|
+
/** The plain ground a section's words read on when its photo ground is empty: the ink under light words, else the soft. */
|
|
270
|
+
function plainGroundOf(section: Pick<LayoutSection, 'layers'>): LayoutColour {
|
|
271
|
+
return section.layers.filter(l => LAYOUT_TEXT_KINDS.has(l.kind)).some(lightWords) ? LayoutColour.Ink : LayoutColour.Soft;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** The ground a section stands on as a colour of the look (a photo ground: the plain ground its words read on). */
|
|
275
|
+
function sectionGroundOf(section: Pick<LayoutSection, 'layers' | 'ground'>): LayoutColour {
|
|
276
|
+
const ground = String(section.ground ?? LayoutColour.Ground);
|
|
277
|
+
return ground.startsWith(PHOTO_GROUND) ? plainGroundOf(section) : ground as LayoutColour;
|
|
278
|
+
}
|
|
279
|
+
|
|
265
280
|
/**
|
|
266
281
|
* A model-laid section with its empty pictures filled type-led IN PLACE (2026-11-25, a composed page keeps its
|
|
267
282
|
* composition): each layer in `plates` becomes a ground plate — a `shape` at the same index, cell, depth, entrance and
|
|
@@ -270,8 +285,7 @@ export function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, groun
|
|
|
270
285
|
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
271
286
|
*/
|
|
272
287
|
export function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection {
|
|
273
|
-
const
|
|
274
|
-
const plain = words.some(lightWords) ? LayoutColour.Ink : LayoutColour.Soft;
|
|
288
|
+
const plain = plainGroundOf(section);
|
|
275
289
|
const swapped = ground && String(section.ground ?? '').startsWith(PHOTO_GROUND);
|
|
276
290
|
const sectionGround = swapped ? plain : String(section.ground ?? LayoutColour.Ground);
|
|
277
291
|
let nth = 0;
|
|
@@ -283,6 +297,96 @@ export function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number
|
|
|
283
297
|
return { ...section, ...(swapped ? { ground: sectionGround } : {}), layers };
|
|
284
298
|
}
|
|
285
299
|
|
|
300
|
+
/** The least share of a screen's 12 columns, and of its section's rows, a still plate covers to read as a missing half. */
|
|
301
|
+
export const YIELD_MIN_COLUMNS = 4;
|
|
302
|
+
export const YIELD_MIN_ROW_SHARE = 0.6;
|
|
303
|
+
/** The rule a yielded plate leaves: this many columns from the words' start edge. */
|
|
304
|
+
const YIELD_RULE_COLUMNS = 2;
|
|
305
|
+
const SCREEN_COLUMNS = 12;
|
|
306
|
+
/** The sizes, small to large — the largest heading or word leads when no layer is the lead. */
|
|
307
|
+
const LEAD_SIZES: ReadonlyArray<LayoutSize> = [LayoutSize.Xs, LayoutSize.S, LayoutSize.M, LayoutSize.L, LayoutSize.Xl, LayoutSize.Xxl, LayoutSize.Screen];
|
|
308
|
+
const LAST_LINE = SCREEN_COLUMNS + 1;
|
|
309
|
+
|
|
310
|
+
const isWords = (l: LayoutLayer) => LAYOUT_TEXT_KINDS.has(l.kind) || l.kind === LayoutLayerKind.Button;
|
|
311
|
+
const span = (r: readonly [number, number]) => r[1] - r[0];
|
|
312
|
+
const rowsMeet = (a: Pick<LayoutLayer, 'row'>, b: Pick<LayoutLayer, 'row'>) => a.row[0] < b.row[1] && b.row[0] < a.row[1];
|
|
313
|
+
const colsMeet = (a: Pick<LayoutLayer, 'col'>, b: Pick<LayoutLayer, 'col'>) => a.col[0] < b.col[1] && b.col[0] < a.col[1];
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Does the plate at `li` read as an empty HALF (J10 2026-11-26: "a small block of words on the left, the right half a pale
|
|
317
|
+
* plate")? A still picture layer (no scroll motion — a moving plate is the signature's body, it stays), in a section that is
|
|
318
|
+
* not held or sideways, at least `YIELD_MIN_COLUMNS` wide and `YIELD_MIN_ROW_SHARE` of the rows tall, no words over it, and
|
|
319
|
+
* words BESIDE it — rows shared, columns not — all on one side. Pure.
|
|
320
|
+
*/
|
|
321
|
+
export function plateYields(section: LayoutSection, li: number): boolean {
|
|
322
|
+
const plate = section.layers[li];
|
|
323
|
+
if (!plate || !PICTURE_LAYERS.has(plate.kind) || plate.motion?.length) return false;
|
|
324
|
+
if (section.pin || (section.track ?? 1) > 1) return false;
|
|
325
|
+
if (span(plate.col) < YIELD_MIN_COLUMNS || span(plate.row) < YIELD_MIN_ROW_SHARE * section.rows) return false;
|
|
326
|
+
const words = section.layers.filter((l, i) => i !== li && isWords(l));
|
|
327
|
+
if (!words.length || words.some(w => colsMeet(w, plate) && rowsMeet(w, plate))) return false;
|
|
328
|
+
const beside = words.filter(w => rowsMeet(w, plate));
|
|
329
|
+
if (!beside.length) return false;
|
|
330
|
+
const before = beside.every(w => w.col[1] <= plate.col[0]);
|
|
331
|
+
const after = beside.every(w => w.col[0] >= plate.col[1]);
|
|
332
|
+
return before || after;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
const clampCols = (col: readonly [number, number]): [number, number] => {
|
|
336
|
+
const w = span(col);
|
|
337
|
+
const start = Math.max(1, Math.min(col[0], LAST_LINE - w));
|
|
338
|
+
return [start, start + w];
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* The section re-laid TYPE-LED around a plate that yields (`plateYields`), every layer at its index (so every node id, the
|
|
343
|
+
* phone order and the rows stay): the lead (role lead, else the largest heading or word) takes the width the words and the
|
|
344
|
+
* plate shared (its size stays the look's: a heading wears its element style); the words under the lead move together
|
|
345
|
+
* into the plate's columns (an editorial split — type on both halves); the plate becomes the look's RULE (`isLayoutRule`:
|
|
346
|
+
* one row, no words on it, `yieldRuleCell`); with no free row it stands in the section's own ground. A calm look's rule is
|
|
347
|
+
* the ink, else the accent. Columns are logical: RTL mirrors as every layer does. Pure.
|
|
348
|
+
*/
|
|
349
|
+
export function typeLedYield(section: LayoutSection, li: number, calm: boolean): LayoutSection {
|
|
350
|
+
const plate = section.layers[li];
|
|
351
|
+
const words = section.layers.map((l, i) => ({ l, i })).filter(({ l, i }) => i !== li && isWords(l));
|
|
352
|
+
const rank = (l: LayoutLayer) => (l.role === LayoutRole.Lead ? 100 : 0) + (l.kind === LayoutLayerKind.Word || l.kind === LayoutLayerKind.Heading ? 10 : 0) + LEAD_SIZES.indexOf((l.size ?? LayoutSize.M) as LayoutSize);
|
|
353
|
+
const lead = [...words].sort((a, b) => rank(b.l) - rank(a.l) || a.i - b.i)[0];
|
|
354
|
+
const plateAfter = words.filter(({ l }) => rowsMeet(l, plate)).every(({ l }) => l.col[0] < plate.col[0]);
|
|
355
|
+
// The whole width the two halves shared, inside the screen's columns (a bleed never carries words off the column).
|
|
356
|
+
const leadCol: [number, number] = plateAfter ? [lead.l.col[0], Math.min(plate.col[1], LAST_LINE)] : [Math.max(plate.col[0], 1), lead.l.col[1]];
|
|
357
|
+
const followers = words.filter(({ l, i }) => i !== lead.i && l.row[0] >= lead.l.row[1]);
|
|
358
|
+
// The words under the lead move together (their spacing kept), as far into the plate's columns as the screen allows.
|
|
359
|
+
const shift = followers.length
|
|
360
|
+
? Math.min(Math.max(plate.col[0], 1) - Math.min(...followers.map(({ l }) => l.col[0])), LAST_LINE - Math.max(...followers.map(({ l }) => l.col[1])))
|
|
361
|
+
: 0;
|
|
362
|
+
const layers = section.layers.map((l, i): LayoutLayer => {
|
|
363
|
+
if (i === lead.i) return { ...l, col: leadCol };
|
|
364
|
+
if (followers.some(f => f.i === i)) return { ...l, col: clampCols([l.col[0] + shift, l.col[1] + shift]) };
|
|
365
|
+
return l;
|
|
366
|
+
});
|
|
367
|
+
const rule = yieldRuleCell(section.rows, layers, li, words.map(({ i }) => i), lead.i);
|
|
368
|
+
const { photo: _photo, gallery: _gallery, fit: _fit, inner: _inner, bleed: _bleed, depth: _depth, ...kept } = plate;
|
|
369
|
+
layers[li] = rule
|
|
370
|
+
? { ...kept, kind: LayoutLayerKind.Shape, ...rule, color: calm ? LayoutColour.Ink : LayoutColour.Accent } as LayoutLayer
|
|
371
|
+
: { ...kept, kind: LayoutLayerKind.Shape, color: sectionGroundOf(section) } as LayoutLayer;
|
|
372
|
+
return { ...section, layers };
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Where a yielded plate's rule stands: `YIELD_RULE_COLUMNS` from the words' start, in a row no other layer shares in those
|
|
377
|
+
* columns — right above the lead, else right above (then under) the words in its columns, top first. Null: no row is free.
|
|
378
|
+
*/
|
|
379
|
+
function yieldRuleCell(rows: number, layers: ReadonlyArray<LayoutLayer>, li: number, words: ReadonlyArray<number>, lead: number): Pick<LayoutLayer, 'col' | 'row'> | null {
|
|
380
|
+
const start = Math.min(...words.map(i => layers[i].col[0]));
|
|
381
|
+
const col: [number, number] = [start, Math.min(start + YIELD_RULE_COLUMNS, LAST_LINE)];
|
|
382
|
+
const free = (row: [number, number]) => row[0] >= 1 && row[1] <= rows + 1 && !layers.some((o, oi) => oi !== li && colsMeet(o, { col }) && rowsMeet(o, { row }));
|
|
383
|
+
const near = words.map(i => layers[i]).filter(l => colsMeet(l, { col })).sort((a, b) => a.row[0] - b.row[0]);
|
|
384
|
+
const above = (l: LayoutLayer): [number, number] => [l.row[0] - 1, l.row[0]];
|
|
385
|
+
const under = (l: LayoutLayer): [number, number] => [l.row[1], l.row[1] + 1];
|
|
386
|
+
const row = [above(layers[lead]), ...near.map(above), ...[...near].reverse().map(under)].find(free);
|
|
387
|
+
return row ? { col, row } : null;
|
|
388
|
+
}
|
|
389
|
+
|
|
286
390
|
/** What a section of a model-laid page holds that nothing fills: its picture layers (every picture of each empty), its
|
|
287
391
|
* photo ground. */
|
|
288
392
|
interface LaidEmpty {
|
|
@@ -411,13 +515,25 @@ export function typeLedRound(
|
|
|
411
515
|
const pictured = picturesByLayer(composed.placeholders, page.key, roots);
|
|
412
516
|
const unfilled = picturesByLayer(mine, page.key, roots);
|
|
413
517
|
let plated = false;
|
|
414
|
-
const laidSections = page.layout.sections.map((
|
|
518
|
+
const laidSections = page.layout.sections.map((laidSection, i) => {
|
|
519
|
+
let section = laidSection;
|
|
415
520
|
const at = laid.get(i);
|
|
416
521
|
if (!at) return section;
|
|
417
522
|
// A layer becomes a plate only when no picture of it is filled (a gallery with one filled slide stays).
|
|
418
523
|
const plates = new Set([...at.layers].filter(li => PICTURE_LAYERS.has(section.layers[li]?.kind) && pictured.get(`${i}:${li}`) === unfilled.get(`${i}:${li}`)));
|
|
419
524
|
if (!plates.size && !at.ground) return section;
|
|
420
525
|
plated = true;
|
|
526
|
+
// Round 3: a still plate that reads as an empty half gives its place to the words (one per section).
|
|
527
|
+
const yielding = [...plates].sort((a, b) => a - b).find(li => plateYields(section, li));
|
|
528
|
+
if (yielding !== undefined) {
|
|
529
|
+
plates.delete(yielding);
|
|
530
|
+
changes.push({
|
|
531
|
+
kind: TypeLedChangeKind.Yield, page: page.key, at: i,
|
|
532
|
+
said: `${page.name}: section ${i + 1} (${section.id}) has no picture for its half — its words take the width, the composition kept`,
|
|
533
|
+
});
|
|
534
|
+
section = typeLedYield(section, yielding, calm);
|
|
535
|
+
if (!plates.size && !at.ground) return section;
|
|
536
|
+
}
|
|
421
537
|
const n = plates.size;
|
|
422
538
|
changes.push({
|
|
423
539
|
kind: TypeLedChangeKind.Plate, page: page.key, at: i,
|