@vectoriox/iox-ui 5.170.0 → 5.172.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/composite-core/index.d.ts +84 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +124 -24
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +84 -12
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +22 -4
- package/package.json +1 -1
- package/src/composite-core/popup.ts +99 -23
- package/src/composite-core/slider.ts +78 -5
- package/src/generation-core/body-mix.ts +43 -0
- package/src/generation-core/compose-site.ts +39 -12
|
@@ -1113,13 +1113,52 @@ declare const CAROUSEL_QUOTES: ReadonlyArray<CarouselQuote>;
|
|
|
1113
1113
|
declare const CAROUSEL_QUOTES_HE: ReadonlyArray<CarouselQuote>;
|
|
1114
1114
|
/** The carousel's name when the author gives none, per language. */
|
|
1115
1115
|
declare const CAROUSEL_NAME: Readonly<Record<RecipeLang, string>>;
|
|
1116
|
+
/**
|
|
1117
|
+
* What a carousel shows when no list of real quotes is behind it (iox-ui#132): what belongs there, in the site's
|
|
1118
|
+
* language — never a sentence that reads as somebody's words, never a bracketed field. A composer that stamps these
|
|
1119
|
+
* marks them publish-blocking: a testimonial is a fact a customer could be held to.
|
|
1120
|
+
*/
|
|
1121
|
+
declare const CAROUSEL_QUOTE_LABELS: Readonly<Record<RecipeLang, CarouselQuote>>;
|
|
1122
|
+
/** The label quote for a site's language (English when not given). */
|
|
1123
|
+
declare function carouselQuoteLabel(lang?: string | null): CarouselQuote;
|
|
1124
|
+
/** A carousel that repeats a LIST of quotes (iox-ui#132): the list's alias and the fields its slides show. */
|
|
1125
|
+
interface CarouselFrom {
|
|
1126
|
+
/** The list data source's alias. */
|
|
1127
|
+
source: string;
|
|
1128
|
+
/** The field a slide's quote is bound to. */
|
|
1129
|
+
quote: string;
|
|
1130
|
+
/** The field the person's line is bound to — null: the slide shows the quote alone. */
|
|
1131
|
+
who?: string | null;
|
|
1132
|
+
}
|
|
1133
|
+
/** How many items a carousel from content shows at most. */
|
|
1134
|
+
declare const CAROUSEL_CONTENT_LIMIT = 12;
|
|
1116
1135
|
interface CarouselOptions {
|
|
1117
1136
|
/** The carousel's accessible name (a `region` landmark). */
|
|
1118
1137
|
name?: string;
|
|
1119
1138
|
quotes?: ReadonlyArray<CarouselQuote>;
|
|
1120
1139
|
/** The language of the default quotes, name and control names (iox-ui#112; English when not given). */
|
|
1121
1140
|
lang?: string | null;
|
|
1141
|
+
/** From content: the slider repeats this list — ONE template slide whose quote and person are bound to it. */
|
|
1142
|
+
from?: CarouselFrom;
|
|
1143
|
+
}
|
|
1144
|
+
interface CarouselAutoBinds {
|
|
1145
|
+
/** The quote: the type's `quote` role, else its first long-text field. */
|
|
1146
|
+
quote: string | null;
|
|
1147
|
+
/** The person: the type's `person` role, else its first short-text field. */
|
|
1148
|
+
who: string | null;
|
|
1122
1149
|
}
|
|
1150
|
+
/** The fields a content type names for a carousel's parts — its `quote` and `person` roles (generation-core `roleField`). */
|
|
1151
|
+
interface CarouselRoleFields {
|
|
1152
|
+
quote?: string | null;
|
|
1153
|
+
who?: string | null;
|
|
1154
|
+
}
|
|
1155
|
+
/**
|
|
1156
|
+
* The fields a carousel from content binds (iox-ui#132): the fields the type's roles name (`quote`, `person` — the
|
|
1157
|
+
* list-ingredients roles; the caller reads them, composite-core does not know the role table) win when they are real
|
|
1158
|
+
* fields; else the accordion's rule (first long text = the quote, first short text = the person).
|
|
1159
|
+
* ONE rule for the composer (which binds them) and the plan's gate.
|
|
1160
|
+
*/
|
|
1161
|
+
declare function pickCarouselAutoBinds(fields: ReadonlyArray<ContentFieldLike>, named?: CarouselRoleFields): CarouselAutoBinds;
|
|
1123
1162
|
/**
|
|
1124
1163
|
* The testimonial carousel (board 6): a named Slider, one quote per slide (each a `card`), rotating every 5s with its
|
|
1125
1164
|
* control parts — the pause control first, Previous · Next, the dots. ONE recipe for the composer and the builder.
|
|
@@ -2860,6 +2899,14 @@ declare const POPUP_WORDS: {
|
|
|
2860
2899
|
readonly offer: "Offer";
|
|
2861
2900
|
readonly newsletter: "Newsletter";
|
|
2862
2901
|
};
|
|
2902
|
+
readonly layers: {
|
|
2903
|
+
readonly popup: "Popup";
|
|
2904
|
+
readonly picture: "Picture";
|
|
2905
|
+
readonly words: "Words";
|
|
2906
|
+
readonly dates: "Dates";
|
|
2907
|
+
readonly title: "Title";
|
|
2908
|
+
readonly action: "Action";
|
|
2909
|
+
};
|
|
2863
2910
|
};
|
|
2864
2911
|
readonly he: {
|
|
2865
2912
|
readonly close: "סגירה";
|
|
@@ -2869,6 +2916,14 @@ declare const POPUP_WORDS: {
|
|
|
2869
2916
|
readonly offer: "הצעה";
|
|
2870
2917
|
readonly newsletter: "ניוזלטר";
|
|
2871
2918
|
};
|
|
2919
|
+
readonly layers: {
|
|
2920
|
+
readonly popup: "חלון קופץ";
|
|
2921
|
+
readonly picture: "תמונה";
|
|
2922
|
+
readonly words: "מילים";
|
|
2923
|
+
readonly dates: "תאריכים";
|
|
2924
|
+
readonly title: "כותרת";
|
|
2925
|
+
readonly action: "פעולה";
|
|
2926
|
+
};
|
|
2872
2927
|
};
|
|
2873
2928
|
};
|
|
2874
2929
|
type PopupWords = (typeof POPUP_WORDS)['en'] | (typeof POPUP_WORDS)['he'];
|
|
@@ -2889,6 +2944,12 @@ interface PopupRecipeOptions {
|
|
|
2889
2944
|
/** The ONE action: a link to a page of the site, with its words. No route = no action (an announcement may have none). */
|
|
2890
2945
|
actionLabel?: string;
|
|
2891
2946
|
actionRoute?: string | null;
|
|
2947
|
+
/** PU2c (PP-D3): stamp the action link EMPTY — no words, no page — for the author to fill (the builder's palette). Until
|
|
2948
|
+
* it names a page it is a dead link, which the Publishable gate blocks; never a page we guessed. */
|
|
2949
|
+
emptyAction?: boolean;
|
|
2950
|
+
/** PU2c: the language of the LAYER names (the Layers row, the crumb: "חלון קופץ — הצעה") — the admin's, when the palette
|
|
2951
|
+
* stamps it. Defaults to `lang`; the visitor's words (the ✕, the Dialog's label) always follow `lang`. */
|
|
2952
|
+
labelLang?: string | null;
|
|
2892
2953
|
/** The owner's picture (`art: picture`); '' = the DS3 empty-image box ("Add image"). */
|
|
2893
2954
|
imageSrc?: string;
|
|
2894
2955
|
imageAlt?: string;
|
|
@@ -2903,6 +2964,27 @@ interface PopupRecipeOptions {
|
|
|
2903
2964
|
}
|
|
2904
2965
|
/** The popup — ONE root. Pure over the factory: the builder and the composer get the same tree. */
|
|
2905
2966
|
declare function buildPopupRecipe(create: CompositeNodeFactory, options?: PopupRecipeOptions): CompositeNode;
|
|
2967
|
+
/** What a "Where it sits" change did to the popup's parts. */
|
|
2968
|
+
interface PopupFormChange {
|
|
2969
|
+
/** The form the popup now sits in (judged: `centred` only for a newsletter). */
|
|
2970
|
+
form: PopupForm;
|
|
2971
|
+
/** The picture part a bar dropped, or null. */
|
|
2972
|
+
removed: CompositeNode | null;
|
|
2973
|
+
/** The picture part a card got back, or null. */
|
|
2974
|
+
added: CompositeNode | null;
|
|
2975
|
+
}
|
|
2976
|
+
interface PopupFormOptions {
|
|
2977
|
+
/** The language of a re-stamped part's layer name. */
|
|
2978
|
+
labelLang?: string | null;
|
|
2979
|
+
}
|
|
2980
|
+
/**
|
|
2981
|
+
* PU2c — "Where it sits", in ONE edit (the builder applies it as one undo step): the form trait AND the parts that follow
|
|
2982
|
+
* it, so a popup re-shaped later is the tree the recipe would stamp in that form. A BAR drops the picture part (one line
|
|
2983
|
+
* holds no picture) and lays its words in a row; a CORNER / CENTRED card of a kind that carries a picture (an Offer) gets
|
|
2984
|
+
* the picture part back — empty, the DS3 "Add image" box — and lays its words in a column. Its words, form and action are
|
|
2985
|
+
* never touched. Mutates `root`; without a factory nothing is stamped back.
|
|
2986
|
+
*/
|
|
2987
|
+
declare function setPopupForm(root: CompositeNode, form: PopupForm, create?: CompositeNodeFactory, options?: PopupFormOptions): PopupFormChange;
|
|
2906
2988
|
|
|
2907
|
-
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DIALOG_MODAL_TRAIT, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, POPUP_ATTRIBUTES, POPUP_BODY_MAX_CHARS, POPUP_KIND_ARRIVAL, POPUP_KIND_MIX, POPUP_ROLES, POPUP_TITLE_MAX_WORDS, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, PopupAgain, PopupArrive, PopupArt, PopupAttribute, PopupForm, PopupKind, PopupRole, PopupTrait, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPopupRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, dialogIsModal, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickTabsAutoBinds, popupDialogAttributes, popupFormOf, popupWords, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
2908
|
-
export type { AccordionAutoBinds, AccordionBehaviour, AccordionDomIds, AccordionItemState, AccordionOptions, AccordionRuntimeOptions, AccordionScope, AccordionWords, AccountHost, AccountRecipeWords, BarSwiper, BaselineStyles, CardEditOptions, CardLayoutResult, CardLayoutState, CardOptions, CardPartChange, CardWords, CarouselA11yOptions, CarouselOptions, CarouselQuote, CarouselSwiper, CompositeBinding, CompositeKindRoles, CompositeLayer, CompositeNode, CompositeNodeFactory, CompositeNodeSpec, CompositeRoleSpec, CompositeRuntime, CompositeTrait, ConsentRecipe, ConsentRecipeOptions, ConsentRecipeWords, ContentFieldLike, CounterWords, DisclosureOptions, DisclosureWords, DomAttributes, ExclusiveCompositeKind, ExclusiveKindRoles, ExclusiveRuntimeOptions, ExclusiveScope, LegacySliderLook, LightboxOptions, MarqueeRecipeOptions, MarqueeRuntimeOptions, MarqueeSettings, MarqueeWords, PillOptions, PopupRecipeOptions, PopupWords, RepeatSource, SegmentedOptionWords, SegmentedOptions, ShopHost, ShopRecipeWords, SliderPartsChange, SliderWords, SlideshowOptions, TabPair, TabWords, TabsAutoBinds, TabsBehaviour, TabsItemState, TabsOptions, TabsScope, ToggleCompositeKind, WaitingOrder };
|
|
2989
|
+
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_CONTENT_LIMIT, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CAROUSEL_QUOTE_LABELS, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DIALOG_MODAL_TRAIT, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, POPUP_ATTRIBUTES, POPUP_BODY_MAX_CHARS, POPUP_KIND_ARRIVAL, POPUP_KIND_MIX, POPUP_ROLES, POPUP_TITLE_MAX_WORDS, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, PopupAgain, PopupArrive, PopupArt, PopupAttribute, PopupForm, PopupKind, PopupRole, PopupTrait, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPopupRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, carouselQuoteLabel, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, dialogIsModal, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickCarouselAutoBinds, pickTabsAutoBinds, popupDialogAttributes, popupFormOf, popupWords, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setPopupForm, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
2990
|
+
export type { AccordionAutoBinds, AccordionBehaviour, AccordionDomIds, AccordionItemState, AccordionOptions, AccordionRuntimeOptions, AccordionScope, AccordionWords, AccountHost, AccountRecipeWords, BarSwiper, BaselineStyles, CardEditOptions, CardLayoutResult, CardLayoutState, CardOptions, CardPartChange, CardWords, CarouselA11yOptions, CarouselAutoBinds, CarouselFrom, CarouselOptions, CarouselQuote, CarouselRoleFields, CarouselSwiper, CompositeBinding, CompositeKindRoles, CompositeLayer, CompositeNode, CompositeNodeFactory, CompositeNodeSpec, CompositeRoleSpec, CompositeRuntime, CompositeTrait, ConsentRecipe, ConsentRecipeOptions, ConsentRecipeWords, ContentFieldLike, CounterWords, DisclosureOptions, DisclosureWords, DomAttributes, ExclusiveCompositeKind, ExclusiveKindRoles, ExclusiveRuntimeOptions, ExclusiveScope, LegacySliderLook, LightboxOptions, MarqueeRecipeOptions, MarqueeRuntimeOptions, MarqueeSettings, MarqueeWords, PillOptions, PopupFormChange, PopupFormOptions, PopupRecipeOptions, PopupWords, RepeatSource, SegmentedOptionWords, SegmentedOptions, ShopHost, ShopRecipeWords, SliderPartsChange, SliderWords, SlideshowOptions, TabPair, TabWords, TabsAutoBinds, TabsBehaviour, TabsItemState, TabsOptions, TabsScope, ToggleCompositeKind, WaitingOrder };
|
|
@@ -2794,6 +2794,39 @@ const CAROUSEL_QUOTES_HE = [
|
|
|
2794
2794
|
];
|
|
2795
2795
|
/** The carousel's name when the author gives none, per language. */
|
|
2796
2796
|
const CAROUSEL_NAME = { en: 'What clients say', he: 'מה הלקוחות אומרים' };
|
|
2797
|
+
/**
|
|
2798
|
+
* What a carousel shows when no list of real quotes is behind it (iox-ui#132): what belongs there, in the site's
|
|
2799
|
+
* language — never a sentence that reads as somebody's words, never a bracketed field. A composer that stamps these
|
|
2800
|
+
* marks them publish-blocking: a testimonial is a fact a customer could be held to.
|
|
2801
|
+
*/
|
|
2802
|
+
const CAROUSEL_QUOTE_LABELS = {
|
|
2803
|
+
en: { quote: 'A client’s own words go here', who: 'The client’s name' },
|
|
2804
|
+
he: { quote: 'כאן יופיעו המילים של לקוח', who: 'שם הלקוח' },
|
|
2805
|
+
};
|
|
2806
|
+
/** The label quote for a site's language (English when not given). */
|
|
2807
|
+
function carouselQuoteLabel(lang) {
|
|
2808
|
+
return CAROUSEL_QUOTE_LABELS[recipeLang(lang)];
|
|
2809
|
+
}
|
|
2810
|
+
/** How many items a carousel from content shows at most. */
|
|
2811
|
+
const CAROUSEL_CONTENT_LIMIT = 12;
|
|
2812
|
+
/**
|
|
2813
|
+
* The fields a carousel from content binds (iox-ui#132): the fields the type's roles name (`quote`, `person` — the
|
|
2814
|
+
* list-ingredients roles; the caller reads them, composite-core does not know the role table) win when they are real
|
|
2815
|
+
* fields; else the accordion's rule (first long text = the quote, first short text = the person).
|
|
2816
|
+
* ONE rule for the composer (which binds them) and the plan's gate.
|
|
2817
|
+
*/
|
|
2818
|
+
function pickCarouselAutoBinds(fields, named = {}) {
|
|
2819
|
+
const real = (field) => (field && fields.some(f => f.name === field) ? field : null);
|
|
2820
|
+
const auto = pickAccordionAutoBinds(fields);
|
|
2821
|
+
const quote = real(named.quote) ?? auto.answer;
|
|
2822
|
+
const who = real(named.who) ?? (auto.question !== quote ? auto.question : null);
|
|
2823
|
+
return { quote, who };
|
|
2824
|
+
}
|
|
2825
|
+
/** A binding on a recipe node (a slide's words read the row; the slider's `source` the list). */
|
|
2826
|
+
function bindTo(node, prop, source, path) {
|
|
2827
|
+
const holder = node;
|
|
2828
|
+
holder.bindings = [...(holder.bindings ?? []).filter(b => b?.prop !== prop), { prop, source, path }];
|
|
2829
|
+
}
|
|
2797
2830
|
/** A quote card. The carousel's controls sit in a ROW above the slides and the dots below them (board 6), so the
|
|
2798
2831
|
* card needs no room kept for an overlay. */
|
|
2799
2832
|
const QUOTE_SLIDE_BASE = {
|
|
@@ -2819,14 +2852,24 @@ function buildCarouselRecipe(create, options = {}) {
|
|
|
2819
2852
|
}))
|
|
2820
2853
|
writeProp(slider, name, value);
|
|
2821
2854
|
const lang = recipeLang(options.lang);
|
|
2822
|
-
|
|
2855
|
+
const from = options.from;
|
|
2856
|
+
const quotes = from ? [CAROUSEL_QUOTE_LABELS[lang]] : options.quotes ?? (lang === 'he' ? CAROUSEL_QUOTES_HE : CAROUSEL_QUOTES);
|
|
2857
|
+
slider.children = quotes.map((q, i) => {
|
|
2823
2858
|
const slide = makeCompositePart(create, { key: `slide-${i + 1}`, type: SLIDE_TYPE, props: {}, elementStyle: 'card' }, null, 'Slide', QUOTE_SLIDE_BASE);
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2859
|
+
const quote = makeCompositePart(create, { key: `quote-${i + 1}`, type: 'Text', props: { content: q.quote, tag: 'p' }, elementStyle: 'lead' }, null, 'Quote', QUOTE_TEXT_BASE);
|
|
2860
|
+
const who = makeCompositePart(create, { key: `who-${i + 1}`, type: 'Text', props: { content: q.who, tag: 'p' }, elementStyle: 'small' }, null, 'Client', QUOTE_TEXT_BASE);
|
|
2861
|
+
if (from) {
|
|
2862
|
+
bindTo(quote, 'content', from.source, from.quote);
|
|
2863
|
+
if (from.who)
|
|
2864
|
+
bindTo(who, 'content', from.source, from.who);
|
|
2865
|
+
}
|
|
2866
|
+
slide.children = from && !from.who ? [quote] : [quote, who];
|
|
2828
2867
|
return slide;
|
|
2829
2868
|
});
|
|
2869
|
+
if (from) {
|
|
2870
|
+
bindTo(slider, 'source', from.source, '');
|
|
2871
|
+
writeProp(slider, 'limit', CAROUSEL_CONTENT_LIMIT);
|
|
2872
|
+
}
|
|
2830
2873
|
syncSliderParts(slider, create);
|
|
2831
2874
|
const words = SLIDER_WORDS[lang];
|
|
2832
2875
|
for (const part of slider.children ?? []) {
|
|
@@ -7116,8 +7159,14 @@ const POPUP_KIND_ARRIVAL = {
|
|
|
7116
7159
|
};
|
|
7117
7160
|
/** The recipe's OWN words — mechanism microcopy, in the site's language. The rest is the owner's. */
|
|
7118
7161
|
const POPUP_WORDS = {
|
|
7119
|
-
en: {
|
|
7120
|
-
|
|
7162
|
+
en: {
|
|
7163
|
+
close: 'Close', send: 'Send', label: { [PopupKind.Announcement]: 'Announcement', [PopupKind.Offer]: 'Offer', [PopupKind.Newsletter]: 'Newsletter' },
|
|
7164
|
+
layers: { popup: 'Popup', picture: 'Picture', words: 'Words', dates: 'Dates', title: 'Title', action: 'Action' },
|
|
7165
|
+
},
|
|
7166
|
+
he: {
|
|
7167
|
+
close: 'סגירה', send: 'שליחה', label: { [PopupKind.Announcement]: 'הודעה', [PopupKind.Offer]: 'הצעה', [PopupKind.Newsletter]: 'ניוזלטר' },
|
|
7168
|
+
layers: { popup: 'חלון קופץ', picture: 'תמונה', words: 'מילים', dates: 'תאריכים', title: 'כותרת', action: 'פעולה' },
|
|
7169
|
+
},
|
|
7121
7170
|
};
|
|
7122
7171
|
/** The popup's mechanism words in `lang` (English for any language it does not speak yet). */
|
|
7123
7172
|
function popupWords(lang = 'en') {
|
|
@@ -7135,6 +7184,27 @@ var Style;
|
|
|
7135
7184
|
/** §6: a heading of at most this many words; a body of at most this many characters (the gate judges stored ones). */
|
|
7136
7185
|
const POPUP_TITLE_MAX_WORDS = 6;
|
|
7137
7186
|
const POPUP_BODY_MAX_CHARS = 160;
|
|
7187
|
+
/** The dialog element style's padding, as the style writes it (design-core `dialog`): a card without a picture wears it. */
|
|
7188
|
+
const DIALOG_PAD = 'var(--iox-dialog-pad)';
|
|
7189
|
+
/** The layout the popup's ROOT wears in a form — ONE rule the recipe and a later "Where it sits" change both read. */
|
|
7190
|
+
function popupRootLayout(bar, picture) {
|
|
7191
|
+
const { padding: _rowPad, ...row } = ROW;
|
|
7192
|
+
// The dialog style's padding holds, except around a picture: the picture runs to the card's edge, the words keep the pad.
|
|
7193
|
+
if (bar)
|
|
7194
|
+
return { ...row, width: '100%', maxWidth: '100%', gap: '16px' };
|
|
7195
|
+
return { ...row, width: picture ? '560px' : '420px', maxWidth: '100%', alignItems: 'stretch', gap: '0px', ...(picture ? { padding: ZERO$4 } : {}) };
|
|
7196
|
+
}
|
|
7197
|
+
/** The layout the words' column wears in a form (a bar lays them in one wrapping line). */
|
|
7198
|
+
function popupContentLayout(bar, picture) {
|
|
7199
|
+
if (bar)
|
|
7200
|
+
return { ...ROW, flexGrow: '1', flexWrap: 'wrap', gap: '4px 16px' };
|
|
7201
|
+
return { ...COLUMN, flexGrow: '1', width: 'auto', gap: '8px', ...(picture ? { padding: DIALOG_PAD } : {}) };
|
|
7202
|
+
}
|
|
7203
|
+
function popupMedia(create, layers, src = '', alt = '') {
|
|
7204
|
+
const media = recipePart(create, 'popup-media', 'Container', PopupRole.Media, null, {}, layers.picture, { ...COLUMN, width: '40%', flexShrink: '0', overflow: 'hidden' });
|
|
7205
|
+
media.children = [recipePart(create, 'popup-image', 'Image', null, null, { src, alt }, layers.picture, { width: '100%', height: '100%', minHeight: '160px', objectFit: 'cover', margin: ZERO$4 })];
|
|
7206
|
+
return media;
|
|
7207
|
+
}
|
|
7138
7208
|
/** The popup — ONE root. Pure over the factory: the builder and the composer get the same tree. */
|
|
7139
7209
|
function buildPopupRecipe(create, options = {}) {
|
|
7140
7210
|
const kind = options.kind ?? PopupKind.Offer;
|
|
@@ -7142,13 +7212,12 @@ function buildPopupRecipe(create, options = {}) {
|
|
|
7142
7212
|
const form = popupFormOf(kind, options.form ?? mix.form);
|
|
7143
7213
|
const art = form === PopupForm.Bar ? PopupArt.None : options.art ?? mix.art;
|
|
7144
7214
|
const words = popupWords(options.lang);
|
|
7215
|
+
const layers = popupWords(options.labelLang ?? options.lang).layers;
|
|
7216
|
+
const kindLayer = popupWords(options.labelLang ?? options.lang).label[kind];
|
|
7145
7217
|
const title = options.title?.trim() ?? '';
|
|
7146
7218
|
const bar = form === PopupForm.Bar;
|
|
7147
7219
|
const picture = art === PopupArt.Picture;
|
|
7148
|
-
|
|
7149
|
-
const { padding: _rowPad, ...row } = ROW;
|
|
7150
|
-
const root = recipePart(create, 'popup', 'Dialog', PopupRole.Popup, Style.Dialog, {}, `Popup — ${words.label[kind]}`, bar ? { ...row, width: '100%', maxWidth: '100%', gap: '16px' }
|
|
7151
|
-
: { ...row, width: picture ? '560px' : '420px', maxWidth: '100%', alignItems: 'stretch', gap: '0px', ...(picture ? { padding: ZERO$4 } : {}) });
|
|
7220
|
+
const root = recipePart(create, 'popup', 'Dialog', PopupRole.Popup, Style.Dialog, {}, `${layers.popup} — ${kindLayer}`, popupRootLayout(bar, picture));
|
|
7152
7221
|
writeProp(root, 'placement', 'center'); // the popup's own form places it (iox-design.css), never the placement
|
|
7153
7222
|
writeProp(root, 'closeOnBackdrop', true); // centred only: a click on the scrim is a close (remembered)
|
|
7154
7223
|
writeProp(root, 'showCloseButton', true);
|
|
@@ -7158,34 +7227,65 @@ function buildPopupRecipe(create, options = {}) {
|
|
|
7158
7227
|
writeProp(root, PopupTrait.Arrive, options.arrive ?? mix.arrive);
|
|
7159
7228
|
writeProp(root, PopupTrait.Again, options.again ?? mix.again);
|
|
7160
7229
|
const children = [];
|
|
7161
|
-
if (picture)
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
children.push(media);
|
|
7165
|
-
}
|
|
7166
|
-
const content = recipePart(create, 'popup-content', 'Container', PopupRole.Content, null, {}, 'Words', bar ? { ...ROW, flexGrow: '1', flexWrap: 'wrap', gap: '4px 16px' }
|
|
7167
|
-
: { ...COLUMN, flexGrow: '1', width: 'auto', gap: '8px', ...(picture ? { padding: 'var(--iox-dialog-pad)' } : {}) });
|
|
7230
|
+
if (picture)
|
|
7231
|
+
children.push(popupMedia(create, layers, options.imageSrc ?? '', options.imageAlt ?? ''));
|
|
7232
|
+
const content = recipePart(create, 'popup-content', 'Container', PopupRole.Content, null, {}, layers.words, popupContentLayout(bar, picture));
|
|
7168
7233
|
const parts = [];
|
|
7169
7234
|
if (options.eyebrow?.trim())
|
|
7170
|
-
parts.push(recipeText(create, 'popup-eyebrow', PopupRole.Eyebrow, Style.Eyebrow, options.eyebrow.trim(),
|
|
7171
|
-
parts.push(recipePart(create, 'popup-title', 'Heading', PopupRole.Title, Style.Title, { content: title, level: 'h2' },
|
|
7235
|
+
parts.push(recipeText(create, 'popup-eyebrow', PopupRole.Eyebrow, Style.Eyebrow, options.eyebrow.trim(), layers.dates));
|
|
7236
|
+
parts.push(recipePart(create, 'popup-title', 'Heading', PopupRole.Title, Style.Title, { content: title, level: 'h2' }, layers.title, WORDS));
|
|
7172
7237
|
if (options.body?.trim() || !bar)
|
|
7173
|
-
parts.push(recipeText(create, 'popup-body', PopupRole.Body, Style.Body, options.body?.trim() ?? '',
|
|
7238
|
+
parts.push(recipeText(create, 'popup-body', PopupRole.Body, Style.Body, options.body?.trim() ?? '', layers.words));
|
|
7174
7239
|
if (kind === PopupKind.Newsletter && options.newsletterForm) {
|
|
7175
7240
|
const f = options.newsletterForm;
|
|
7176
7241
|
f.role = PopupRole.Form;
|
|
7177
7242
|
parts.push(f);
|
|
7178
7243
|
}
|
|
7179
|
-
else if (options.actionRoute) {
|
|
7244
|
+
else if (options.actionRoute || options.emptyAction) {
|
|
7180
7245
|
// A popup's action is QUIET — never the page's primary button (§6): the look's link (a Link, the consent banner's
|
|
7181
7246
|
// privacy link's shape), hugging its words — the column would stretch its box (focus ring, hover) to full width.
|
|
7182
|
-
parts.push(recipePart(create, 'popup-action', 'Link', PopupRole.Action, Style.Link, { label: options.actionLabel?.trim() ?? '', linkType: 'page', pageRoute: options.actionRoute
|
|
7247
|
+
parts.push(recipePart(create, 'popup-action', 'Link', PopupRole.Action, Style.Link, { label: options.actionLabel?.trim() ?? '', linkType: 'page', pageRoute: options.actionRoute ?? '' }, layers.action, { ...WORDS, alignSelf: 'flex-start' }));
|
|
7183
7248
|
}
|
|
7184
7249
|
content.children = parts;
|
|
7185
7250
|
children.push(content);
|
|
7186
7251
|
root.children = children;
|
|
7187
7252
|
return root;
|
|
7188
7253
|
}
|
|
7254
|
+
/**
|
|
7255
|
+
* PU2c — "Where it sits", in ONE edit (the builder applies it as one undo step): the form trait AND the parts that follow
|
|
7256
|
+
* it, so a popup re-shaped later is the tree the recipe would stamp in that form. A BAR drops the picture part (one line
|
|
7257
|
+
* holds no picture) and lays its words in a row; a CORNER / CENTRED card of a kind that carries a picture (an Offer) gets
|
|
7258
|
+
* the picture part back — empty, the DS3 "Add image" box — and lays its words in a column. Its words, form and action are
|
|
7259
|
+
* never touched. Mutates `root`; without a factory nothing is stamped back.
|
|
7260
|
+
*/
|
|
7261
|
+
function setPopupForm(root, form, create, options = {}) {
|
|
7262
|
+
const kindValue = readProp(root, PopupTrait.Kind);
|
|
7263
|
+
const kind = Object.values(PopupKind).includes(kindValue) ? kindValue : PopupKind.Offer;
|
|
7264
|
+
const judged = popupFormOf(kind, form);
|
|
7265
|
+
writeProp(root, PopupTrait.Form, judged);
|
|
7266
|
+
const bar = judged === PopupForm.Bar;
|
|
7267
|
+
let media = findByRole(root, PopupRole.Media) ?? null;
|
|
7268
|
+
let removed = null;
|
|
7269
|
+
let added = null;
|
|
7270
|
+
if (bar && media) {
|
|
7271
|
+
removeFromComposite(root, media);
|
|
7272
|
+
removed = media;
|
|
7273
|
+
media = null;
|
|
7274
|
+
}
|
|
7275
|
+
else if (!bar && !media && create && POPUP_KIND_MIX[kind].art === PopupArt.Picture) {
|
|
7276
|
+
media = added = popupMedia(create, popupWords(options.labelLang).layers);
|
|
7277
|
+
root.children = [media, ...(root.children ?? [])];
|
|
7278
|
+
}
|
|
7279
|
+
const picture = !!media;
|
|
7280
|
+
// The recipe's layout for the new form, so the tree is the one the recipe stamps in this form: with no picture the card
|
|
7281
|
+
// takes back its dialog style's padding (the style writes it as this token reference); '' clears a wrap only the bar wrote
|
|
7282
|
+
// (the compiler skips an empty value).
|
|
7283
|
+
writeStyles(root, { alignItems: 'center', padding: DIALOG_PAD, ...popupRootLayout(bar, picture) });
|
|
7284
|
+
const content = findByRole(root, PopupRole.Content);
|
|
7285
|
+
if (content)
|
|
7286
|
+
writeStyles(content, { flexWrap: '', ...popupContentLayout(bar, picture) });
|
|
7287
|
+
return { form: judged, removed, added };
|
|
7288
|
+
}
|
|
7189
7289
|
|
|
7190
7290
|
/**
|
|
7191
7291
|
* @vectoriox/iox-ui/composite-core — composites built from the builder's own parts (composite-components
|
|
@@ -7202,5 +7302,5 @@ function buildPopupRecipe(create, options = {}) {
|
|
|
7202
7302
|
* Generated bundle index. Do not edit.
|
|
7203
7303
|
*/
|
|
7204
7304
|
|
|
7205
|
-
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DIALOG_MODAL_TRAIT, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, POPUP_ATTRIBUTES, POPUP_BODY_MAX_CHARS, POPUP_KIND_ARRIVAL, POPUP_KIND_MIX, POPUP_ROLES, POPUP_TITLE_MAX_WORDS, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, PopupAgain, PopupArrive, PopupArt, PopupAttribute, PopupForm, PopupKind, PopupRole, PopupTrait, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPopupRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, dialogIsModal, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickTabsAutoBinds, popupDialogAttributes, popupFormOf, popupWords, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
7305
|
+
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_NEW_ITEM_WORDS_HE, ACCORDION_WORDS, ACCORDION_WORDS_HE, ACCOUNT_GLOBAL_RECIPES, ACCOUNT_HIDDEN_ATTRIBUTE, ACCOUNT_LABELS, ACCOUNT_LIVE_CLASS, ACCOUNT_RECIPES, ACCOUNT_RECIPE_WORDS, ACCOUNT_ROLES, ACTIVATE_ON_ATTRIBUTE, ADDED_HOLD_MS, AccordionClass, AccordionDefaultOn, AccordionEditRefusal, AccordionIcon, AccordionKeyAction, AccordionRole, AccordionRuntime, AccountActionType, AccountRecipe, AccountRole, AccountRuntime, BADGE_TONES, BADGE_TONE_ICONS, BAR_INLINE_PAD, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CARD_WORDS_HE, CAROUSEL_CONTENT_LIMIT, CAROUSEL_NAME, CAROUSEL_QUOTES, CAROUSEL_QUOTES_HE, CAROUSEL_QUOTE_LABELS, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_ATTRIBUTE, CART_WAITING_ATTRIBUTE, CHIP_ICON, CHIP_STYLE, COLOUR_OPTION_NAMES, COMPOSITE_ATTRIBUTE, COMPOSITE_KIND_ROLES, COMPOSITE_ROLE_SPECS, CONSENT_CHOICE_CATEGORIES, CONSENT_LABELS, CONSENT_ROLES, COUNTER_COUNT, COUNTER_ENTRANCE, COUNTER_SAMPLE_WORDS, CardLayout, CardPart, CardRole, CarouselA11y, CompositeBehaviourTrait, CompositeItemAction, CompositeKind, ConsentActionType, ConsentRole, DEFAULT_ON_ATTRIBUTE, DIALOG_MODAL_TRAIT, DISCLOSURE_ITEM_KEY, DISCLOSURE_WORDS, DisclosureRole, EXCLUSIVE_KIND_ROLES, ExclusiveRuntime, ITEM_KEY_ATTRIBUTE, ITEM_OFF_EVENT, ITEM_ON_EVENT, ITEM_OPEN_STATE, LIGHTBOX_ARROWS_HIDE_AT, LIGHTBOX_LABEL, MARQUEE_DEFAULTS, MARQUEE_DEFAULT_SPEED_PX, MARQUEE_KEYFRAMES, MARQUEE_MAX_COPIES, MARQUEE_MIN_LOOP_S, MARQUEE_NODE_ATTRIBUTES, MARQUEE_NOSCRIPT_CSS, MARQUEE_PAUSE_GLYPH, MARQUEE_PLAY_GLYPH, MARQUEE_SAMPLE_WORDS, MARQUEE_SPEED_FACTOR, MARQUEE_WORDS, MULTIPLE_ATTRIBUTE, MarqueeAttribute, MarqueeDirection, MarqueeRole, MarqueeRuntime, MarqueeSpeed, MarqueeStyle, MarqueeTrait, NAMED_SWATCHES, NO_ELEMENT_STYLE, ON_ATTRIBUTE, ON_STATE, ORIENTATION_ATTRIBUTE, PILL_LABEL_STYLE, POPUP_ATTRIBUTES, POPUP_BODY_MAX_CHARS, POPUP_KIND_ARRIVAL, POPUP_KIND_MIX, POPUP_ROLES, POPUP_TITLE_MAX_WORDS, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, PopupAgain, PopupArrive, PopupArt, PopupAttribute, PopupForm, PopupKind, PopupRole, PopupTrait, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NAME_HE, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, SEGMENTED_WORDS_HE, SHOP_ADDED_ATTRIBUTE, SHOP_BINDS, SHOP_CHIP_MAX, SHOP_CLONE_ATTRIBUTE, SHOP_GLOBAL_RECIPES, SHOP_HIDDEN_ATTRIBUTE, SHOP_LABELS, SHOP_LIVE_CLASS, SHOP_RECIPES, SHOP_RECIPE_WORDS, SHOP_REST_WORDS_ATTRIBUTE, SHOP_ROLES, SHOP_SELECT_CLASS, SHOP_UNUSED_ATTRIBUTE, SIGNED_IN_ATTRIBUTE, SIGN_IN_STEP_ATTRIBUTE, SLIDER_BAR_ORDER, SLIDER_NAME_TRAIT, SLIDER_PART_GLYPH, SLIDER_PART_ROLES, SLIDER_PLACEMENT_TRAIT, SLIDER_PLAY_GLYPH, SLIDER_SCROLL_PLAYS_TRAIT, SLIDER_SWAPPING_ATTRIBUTE, SLIDER_TEXT_ATTRIBUTE, SLIDER_TYPE, SLIDER_WORDS, SLIDE_CAPTION_TRAIT, SLIDE_TO_ROW, SLIDE_TYPE, SUPERSEDED_BAR_PADDING, SWIPER_THEME_COLOR, SceneRole, SegmentedEditRefusal, SegmentedRole, SegmentedTrait, ShopActionType, ShopBindTarget, ShopPickerKind, ShopRecipe, ShopRole, ShopRuntime, SignInFieldName, SignInStep, SliderFlag, SliderPlacement, SliderRole, StructureEdit, StructureRefusal, TABS_ACTIVATE_ONS, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, TABS_LABEL_BIND_PROP, TABS_NEW_TAB_WORDS, TABS_NEW_TAB_WORDS_HE, TABS_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, TABS_WORDS_HE, TabsActivateOn, TabsBehaviourTrait, TabsEditRefusal, TabsOrientation, TabsRole, UNTIL_FOUND, acceptsRefusal, accordionAnswerOf, accordionBehaviour, accordionDomIds, accordionFocusIndex, accordionHeadingLevel, accordionItemAttributes, accordionItemLabel, accordionItemOf, accordionItemState, accordionItems, accordionKeyAction, accordionPanelAttributes, accordionPanelOf, accordionPartStyle, accordionQuestionOf, accordionRegionAttributes, accordionRemovalRefusal, accordionRootAttributes, accordionRootOf, accordionRootOfItem, accordionRuntimeOf, accordionScope, accordionToContent, accordionToManual, accordionTrackAttributes, accordionTriggerAttributes, accordionTriggerOf, accordionWords, accountRecipeWords, accountRuntimeOf, accountSelector, addAccordionItem, addSegmentedOption, addTabPair, applyCardLayout, attachAccordionAt, attachAccordions, attachAccount, attachCarouselA11y, attachCompositeAt, attachExclusiveAt, attachMarquees, attachShop, attachSliderBar, badgeStyleId, badgeToneOf, bindShopPart, buildAccordionItem, buildAccordionRecipe, buildAccountEntryRecipe, buildAccountMenuRecipe, buildAddToCartRecipe, buildBadge, buildBuyNowRecipe, buildCardRecipe, buildCarouselRecipe, buildCartButtonRecipe, buildCartDrawerRecipe, buildChip, buildCompositeIcon, buildConsentRecipe, buildCounterRecipe, buildDisclosureRecipe, buildLightboxRecipe, buildMarqueeRecipe, buildPopupRecipe, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildSlideshowRecipe, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, cardWords, carouselOf, carouselQuoteLabel, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, dialogIsModal, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, headerInkOfNode, healSliderBars, initialAccordionOpen, isAccordionFromContent, isAccordionItemOn, isAccordionPart, isAccordionRoot, isAccountRole, isAnyCompositeRoot, isCardLinked, isCardRoot, isCompositeItem, isCompositeItemOn, isCompositePanel, isCompositeRoot, isCompositeTrigger, isDisclosurePart, isDisclosureRoot, isExclusiveItemOn, isExclusiveItemPart, isExclusiveKind, isExclusiveList, isExclusivePanel, isExclusivePanels, isExclusiveRoot, isExclusiveTrigger, isExclusiveTriggerDisabled, isLockedPart, isMarqueeRoot, isPartOfExclusiveScope, isPillNode, isSegmentedPart, isSegmentedRoot, isShopRole, isSlider, isSliderPart, isTabsFromContent, isTabsPart, isTabsRoot, isToggleKind, itemOpenTriggerIds, lightboxSliderOf, lookMarqueeSpeed, makeCompositePart, manualTabKeys, marqueeCopyCount, marqueeLoopSeconds, marqueePartElement, marqueePauseAttributes, marqueePauseGlyph, marqueeRootAttributes, marqueeRootOf, marqueeSettings, marqueeWords, migrateSliderControls, moveAccordionItem, moveSegmentedOption, moveTabPair, needsSliderMigration, nextAccordionState, nextItemKey, nextSegmentedKey, nextTabKey, onAccordionItemState, onCompositeItemState, onExclusiveItemState, openAccordionItem, parentInComposite, pickAccordionAutoBinds, pickCarouselAutoBinds, pickTabsAutoBinds, popupDialogAttributes, popupFormOf, popupWords, readLayerStyle, readProp, readStyle, removeFromComposite, removeSegmentedOption, removeTabPair, renameAccordionItem, renameSegmentedOption, renameTab, repeatSourceOf, rowIndexOf, rowItemKey, rowSourceOf, runAccountAction, runCompositeItemAction, runShopAction, sameRepeatSource, segmentedAddRefusal, segmentedBadgeOf, segmentedDefaultOn, segmentedItemTriggerIds, segmentedKeyAction, segmentedKeys, segmentedLabel, segmentedOptionAttributes, segmentedOptionKey, segmentedOptionLabel, segmentedOptionLabelNodeOf, segmentedOptions, segmentedPartAttributes, segmentedRemovalRefusal, segmentedRootAttributes, segmentedRootAttributesOf, segmentedScopeFor, segmentedWords, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setHeaderInk, setMarqueeSettings, setPopupForm, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, shopRecipeWords, shopRuntimeOf, shopSelector, shouldScrollToItem, slideIndexForRow, sliderCaptionOf, sliderCountText, sliderLiveRegion, sliderPart, sliderPartElement, sliderPauseAttributes, sliderPauseGlyph, sliderPlacementOf, sliderSlides, sliderWords, splitSliderChildren, structureRefusal, swatchFill, syncSliderParts, tabLabel, tabLabelNodeOf, tabListAttributes, tabPanelAttributes, tabPanelImageOf, tabPanelOf, tabPanelTextOf, tabPartKey, tabTriggerAttributes, tabTriggerOf, tabsBehaviour, tabsItemState, tabsItemTriggerIds, tabsKeyAction, tabsLabel, tabsListOf, tabsPanels, tabsPanelsOf, tabsPartAttributes, tabsPartnerOf, tabsRemovalRefusal, tabsRootAttributes, tabsScope, tabsScopeFor, tabsToContent, tabsToManual, tabsTriggers, tabsWords, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
7206
7306
|
//# sourceMappingURL=vectoriox-iox-ui-composite-core.mjs.map
|