@vectoriox/iox-ui 5.132.0 → 5.134.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/commerce-core/index.d.ts +12 -1
- package/composite-core/index.d.ts +44 -22
- package/design-core/index.d.ts +436 -35
- package/domain-core/index.d.ts +353 -0
- package/domain-core/package.json +3 -0
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +2 -0
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +6 -48
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +21 -0
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +118 -62
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +895 -416
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-domain-core.mjs +422 -0
- package/fesm2022/vectoriox-iox-ui-domain-core.mjs.map +1 -0
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +13974 -12036
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +9 -3
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-mail-core.mjs +288 -2
- package/fesm2022/vectoriox-iox-ui-mail-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +290 -16
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1419 -379
- package/harness-core/index.d.ts +6 -1
- package/index.d.ts +139 -10
- package/mail-core/index.d.ts +315 -39
- package/package.json +5 -1
- package/src/actions-core/element-actions.ts +2 -0
- package/src/assist-core/page-sections.ts +7 -37
- package/src/commerce-core/shop-display.ts +21 -0
- package/src/composite-core/consent.ts +6 -2
- package/src/composite-core/shop-runtime.ts +47 -3
- package/src/composite-core/shop.ts +76 -57
- package/src/design-core/design-settings.ts +16 -0
- package/src/design-core/design-token.model.ts +7 -1
- package/src/design-core/flavor-spec.generated.ts +374 -35
- package/src/design-core/flavor-tokens.ts +12 -1
- package/src/design-core/header-behaviour.ts +32 -0
- package/src/design-core/motion-language.ts +115 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/design-core/style-presets.ts +3 -0
- package/src/domain-core/domain-vocabulary.ts +125 -0
- package/src/domain-core/domain-wire.ts +95 -0
- package/src/domain-core/org-path-redirect.ts +105 -0
- package/src/domain-core/public-api.ts +12 -0
- package/src/domain-core/web-domain.ts +251 -0
- package/src/generation-core/carry-fill.ts +36 -0
- package/src/generation-core/carry.ts +398 -0
- package/src/generation-core/check-carry.ts +216 -0
- package/src/generation-core/check-layout.ts +71 -5
- package/src/generation-core/compose-layout.ts +187 -28
- package/src/generation-core/compose-site.ts +154 -31
- package/src/generation-core/entrances.ts +66 -10
- package/src/generation-core/header-edit.ts +299 -0
- package/src/generation-core/header-mix.ts +64 -5
- package/src/generation-core/layout-fingerprint.ts +5 -1
- package/src/generation-core/layout-language.ts +20 -1
- package/src/generation-core/layout-space.ts +4 -4
- package/src/generation-core/layout-wire.ts +36 -1
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/public-api.ts +7 -0
- package/src/generation-core/redesign-additions.ts +273 -0
- package/src/generation-core/redesign-run.ts +364 -0
- package/src/generation-core/refit-page.ts +151 -0
- package/src/generation-core/section-stamp.ts +4 -4
- package/src/generation-core/shop-plan.ts +15 -0
- package/src/generation-core/site-build-run.ts +20 -3
- package/src/generation-core/site-spec.generated.ts +194 -94
- package/src/generation-core/site-tree.ts +19 -5
- package/src/generation-core/validate-site-plan.ts +37 -3
- package/src/harness-core/motion.ts +13 -3
- package/src/harness-core/starting-design.ts +1 -1
- package/src/mail-core/mail-domain.ts +305 -0
- package/src/mail-core/mail-standing.ts +58 -0
- package/src/mail-core/mail-vocabulary.ts +3 -0
- package/src/mail-core/mail-wire.ts +70 -1
- package/src/mail-core/public-api.ts +6 -1
- package/styles/iox-design.css +44 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readOwnedTrait, writeOwnedTrait, ROW_INDEX_ATTRIBUTE, elementStyleById, switchElementStyle, LinkType, setColorScheme, COLOR_SCHEME_TRAIT, repeatedRowIndex, roleClass as roleClass$1, headerBehaviourOf, HeaderTrait, headerEdgeOf, headerStaysAtTop, writeFieldError } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
export { ROW_INDEX_ATTRIBUTE } from '@vectoriox/iox-ui/design-core';
|
|
3
|
-
import { shopWord, ShopWord, emptyCartView, QuantityStep, stepQuantity, ShopSlot, productOptions, productVariants, defaultChoice, findVariant, quantityBounds, chooseValue, clampQuantity, variantSlotOf, optionValueStates, canStep, cartIssueWords, formatMoney, CartTransportError, CartTransportErrorCode, CART_TRANSPORT_ERROR_LABELS } from '@vectoriox/iox-ui/commerce-core';
|
|
3
|
+
import { shopWord, ShopWord, emptyCartView, QuantityStep, stepQuantity, ShopSlot, productOptions, productVariants, defaultChoice, findVariant, quantityBounds, chooseValue, clampQuantity, variantSlotOf, optionValueStates, canStep, checkoutWord, CheckoutWord, cartIssueWords, formatMoney, CartTransportError, CartTransportErrorCode, CART_TRANSPORT_ERROR_LABELS } from '@vectoriox/iox-ui/commerce-core';
|
|
4
4
|
import { SignInProvider, signInWord, signInLanguage, SignInLanguage, SignInWord, EMAIL_CODE_TTL_MINUTES, SIGN_IN_PROVIDERS, signInProviderName, ACCOUNT_PATH, CUSTOMER_SLOT, signInProviderMarkUri, signInRefusal, SignInSlot, siteAuthErrorCode, normalizeSignInEmail, SiteSignInRefusalCode, normalizeEmailCode, isEmailCodeShape, customerSlotOf, customerDisplayName } from '@vectoriox/iox-ui/identity-core';
|
|
5
5
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
6
6
|
|
|
@@ -4912,6 +4912,11 @@ const SHOP_UNUSED_ATTRIBUTE = 'data-iox-shop-unused';
|
|
|
4912
4912
|
const SHOP_ADDED_ATTRIBUTE = 'data-iox-added';
|
|
4913
4913
|
/** An empty bag: on the cart button (its count hides) and the drawer (its lines, summary and Check out hide). */
|
|
4914
4914
|
const CART_EMPTY_ATTRIBUTE = 'data-iox-cart-empty';
|
|
4915
|
+
/** client-engine#23: an empty bag while this browser holds an unpaid order — the drawer offers it (its Check out reads
|
|
4916
|
+
* "Continue to payment", its empty words name the order). Only a live site's host sets it. */
|
|
4917
|
+
const CART_WAITING_ATTRIBUTE = 'data-iox-cart-waiting';
|
|
4918
|
+
/** The words a part had before the runtime swapped them (restored when the swap ends). */
|
|
4919
|
+
const SHOP_REST_WORDS_ATTRIBUTE = 'data-iox-rest-words';
|
|
4915
4920
|
/** A cart line's id (`cartLineId`) on its line element. */
|
|
4916
4921
|
const CART_LINE_ATTRIBUTE = 'data-iox-line-id';
|
|
4917
4922
|
/** The count the runtime adds to the drawer's title ("Your bag (2)"). */
|
|
@@ -5017,33 +5022,39 @@ var Style$2;
|
|
|
5017
5022
|
Style["Icon"] = "icon";
|
|
5018
5023
|
Style["Title"] = "h3";
|
|
5019
5024
|
})(Style$2 || (Style$2 = {}));
|
|
5020
|
-
/** The words a fresh recipe shows
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5025
|
+
/** The words a fresh recipe shows, in the site's language (vectoriox/iox-ui#100 — a Hebrew store's bag, buttons and drawer
|
|
5026
|
+
* speak Hebrew, as its header does). The sample product's own words (board 10's vase) are the runtime's to replace. */
|
|
5027
|
+
function shopRecipeWords(lang = 'en') {
|
|
5028
|
+
const w = (word, fill = {}) => shopWord(word, lang, fill);
|
|
5029
|
+
return Object.freeze({
|
|
5030
|
+
price: '₪240.00',
|
|
5031
|
+
compareAt: '₪280.00',
|
|
5032
|
+
option: 'Glaze — Sand',
|
|
5033
|
+
value: '32 cm',
|
|
5034
|
+
note: 'Charcoal is sold out',
|
|
5035
|
+
quantity: '1',
|
|
5036
|
+
add: w(ShopWord.AddToCart),
|
|
5037
|
+
added: w(ShopWord.Added),
|
|
5038
|
+
buyNow: w(ShopWord.BuyNow),
|
|
5039
|
+
cart: w(ShopWord.Cart),
|
|
5040
|
+
count: '2',
|
|
5041
|
+
drawer: w(ShopWord.YourBag),
|
|
5042
|
+
close: w(ShopWord.Close),
|
|
5043
|
+
lineTitle: 'Tall speckled vase',
|
|
5044
|
+
lineVariant: 'Sand · 32 cm',
|
|
5045
|
+
lineTotal: '₪240.00',
|
|
5046
|
+
remove: w(ShopWord.RemoveLine),
|
|
5047
|
+
empty: w(ShopWord.EmptyBag),
|
|
5048
|
+
shippingNote: w(ShopWord.FreeShippingGap, { amount: '₪40.00' }),
|
|
5049
|
+
subtotalLabel: w(ShopWord.Subtotal),
|
|
5050
|
+
subtotal: '₪360.00',
|
|
5051
|
+
vatNote: w(ShopWord.VatNote),
|
|
5052
|
+
checkout: w(ShopWord.CheckOut),
|
|
5053
|
+
keepShopping: w(ShopWord.KeepShopping),
|
|
5054
|
+
});
|
|
5055
|
+
}
|
|
5056
|
+
/** The English words (the palette's when it has no page language). */
|
|
5057
|
+
const SHOP_RECIPE_WORDS = shopRecipeWords('en');
|
|
5047
5058
|
const SHOP_LABELS = Object.freeze({
|
|
5048
5059
|
price: 'Price', variants: 'Options', quantity: 'Quantity', add: 'Add to cart', buyNow: 'Buy now', cartButton: 'Cart button', cartDrawer: 'Cart drawer',
|
|
5049
5060
|
});
|
|
@@ -5099,75 +5110,79 @@ function buildQuantityRecipe(create, compact = false, key = 'quantity') {
|
|
|
5099
5110
|
return root;
|
|
5100
5111
|
}
|
|
5101
5112
|
/** Add to cart: presses on pointer-down (its element style), then reads "Added ✓" in place for ADDED_HOLD_MS. */
|
|
5102
|
-
function buildAddToCartRecipe(create) {
|
|
5113
|
+
function buildAddToCartRecipe(create, lang = 'en') {
|
|
5114
|
+
const t = shopRecipeWords(lang);
|
|
5103
5115
|
const root = button$1(create, 'add', ShopRole.Add, Style$2.Primary, SHOP_LABELS.add, '', { display: 'inline-grid', alignItems: 'center', justifyItems: 'center', flexGrow: '1', width: 'auto', height: 'auto' });
|
|
5104
5116
|
root.children = [
|
|
5105
|
-
text(create, 'add-label', ShopRole.AddLabel, Style$2.Label,
|
|
5106
|
-
text(create, 'added-label', ShopRole.AddedLabel, Style$2.Label,
|
|
5117
|
+
text(create, 'add-label', ShopRole.AddLabel, Style$2.Label, t.add, 'Add', STACKED$1, 'span'),
|
|
5118
|
+
text(create, 'added-label', ShopRole.AddedLabel, Style$2.Label, t.added, 'Added', STACKED$1, 'span'),
|
|
5107
5119
|
];
|
|
5108
5120
|
onClick(root, 'addToCart');
|
|
5109
5121
|
return root;
|
|
5110
5122
|
}
|
|
5111
5123
|
/** Buy now: straight to checkout with this variant (inert on the canvas). */
|
|
5112
|
-
function buildBuyNowRecipe(create) {
|
|
5124
|
+
function buildBuyNowRecipe(create, lang = 'en') {
|
|
5125
|
+
const t = shopRecipeWords(lang);
|
|
5113
5126
|
const root = button$1(create, 'buy-now', ShopRole.BuyNow, Style$2.Secondary, SHOP_LABELS.buyNow, '', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto' });
|
|
5114
|
-
root.children = [text(create, 'buy-now-label', null, Style$2.Label,
|
|
5127
|
+
root.children = [text(create, 'buy-now-label', null, Style$2.Label, t.buyNow, 'Text', WORDS, 'span')];
|
|
5115
5128
|
onClick(root, 'startCheckout');
|
|
5116
5129
|
return root;
|
|
5117
5130
|
}
|
|
5118
5131
|
/** The bag button with its live count ($cart.count); it opens the page's cart drawer. */
|
|
5119
|
-
function buildCartButtonRecipe(create) {
|
|
5120
|
-
const
|
|
5132
|
+
function buildCartButtonRecipe(create, lang = 'en') {
|
|
5133
|
+
const t = shopRecipeWords(lang);
|
|
5134
|
+
const root = button$1(create, 'cart-button', ShopRole.CartButton, Style$2.CartButton, SHOP_LABELS.cartButton, t.cart, { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', padding: '6px 6px 6px 6px', position: 'relative' });
|
|
5121
5135
|
const count = part(create, 'cart-count', Type.Container, ShopRole.CartCount, Style$2.CartCount, {}, 'Count', { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', minHeight: 'var(--iox-cart-count-size)', padding: '0px 4px 0px 4px', position: 'absolute', top: '-5px', right: '-5px' });
|
|
5122
|
-
const words = text(create, 'cart-count-text', null, Style$2.Label,
|
|
5136
|
+
const words = text(create, 'cart-count-text', null, Style$2.Label, t.count, 'Text', { ...WORDS, lineHeight: '1' }, 'span');
|
|
5123
5137
|
bindSlot(words, 'content', '$cart', 'count');
|
|
5124
5138
|
count.children = [words];
|
|
5125
5139
|
root.children = [icon(create, 'cart-icon', 'ph ph-handbag'), count];
|
|
5126
5140
|
return root;
|
|
5127
5141
|
}
|
|
5128
5142
|
/** One cart line: thumbnail · title, variant, quantity and Remove · line total (board 10). */
|
|
5129
|
-
function buildCartLine(create) {
|
|
5143
|
+
function buildCartLine(create, t) {
|
|
5130
5144
|
const line = part(create, 'cart-line', Type.Container, ShopRole.CartLine, Style$2.CartLine, {}, 'Line', { display: 'grid', gridTemplateColumns: 'var(--iox-cart-thumb-size) minmax(0, 1fr) auto', alignItems: 'start', gap: '12px', width: '100%', height: 'auto', minHeight: 'auto', padding: ZERO });
|
|
5131
5145
|
const image = part(create, 'cart-line-image', Type.Image, ShopRole.CartLineImage, Style$2.Media, { src: '', alt: '' }, 'Image', { width: 'var(--iox-cart-thumb-size)', height: 'var(--iox-cart-thumb-size)', minHeight: '0px', objectFit: 'cover', aspectRatio: '1 / 1' });
|
|
5132
5146
|
const info = part(create, 'cart-line-info', Type.Container, null, null, {}, 'Details', { ...COLUMN, gap: '2px', minWidth: '0px' });
|
|
5133
|
-
const title = text(create, 'cart-line-title', ShopRole.CartLineTitle, Style$2.Body,
|
|
5134
|
-
const variant = text(create, 'cart-line-variant', ShopRole.CartLineVariant, Style$2.Small,
|
|
5147
|
+
const title = text(create, 'cart-line-title', ShopRole.CartLineTitle, Style$2.Body, t.lineTitle, 'Title', { ...WORDS, fontWeight: '500' });
|
|
5148
|
+
const variant = text(create, 'cart-line-variant', ShopRole.CartLineVariant, Style$2.Small, t.lineVariant, 'Variant', { ...WORDS, margin: '0px 0px 6px 0px' });
|
|
5135
5149
|
const actions = part(create, 'cart-line-actions', Type.Container, null, null, {}, 'Actions', { ...ROW, gap: '12px' });
|
|
5136
5150
|
const remove = button$1(create, 'cart-line-remove', ShopRole.CartLineRemove, Style$2.Ghost, 'Remove', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
|
|
5137
|
-
remove.children = [text(create, 'cart-line-remove-text', null, Style$2.Small,
|
|
5151
|
+
remove.children = [text(create, 'cart-line-remove-text', null, Style$2.Small, t.remove, 'Text', WORDS, 'span')];
|
|
5138
5152
|
actions.children = [buildQuantityRecipe(create, true, 'cart-line-quantity'), remove];
|
|
5139
5153
|
info.children = [title, variant, actions];
|
|
5140
|
-
const total = text(create, 'cart-line-total', ShopRole.CartLineTotal, Style$2.Price,
|
|
5154
|
+
const total = text(create, 'cart-line-total', ShopRole.CartLineTotal, Style$2.Price, t.lineTotal, 'Line total', { ...WORDS, fontSize: 'var(--iox-size-body)', textAlign: 'end' });
|
|
5141
5155
|
line.children = [image, info, total];
|
|
5142
5156
|
return line;
|
|
5143
5157
|
}
|
|
5144
5158
|
/** The cart drawer: a Dialog at the end edge (a bottom sheet on a phone — shared CSS), filled from the PRICED cart. */
|
|
5145
|
-
function buildCartDrawerRecipe(create) {
|
|
5159
|
+
function buildCartDrawerRecipe(create, lang = 'en') {
|
|
5160
|
+
const t = shopRecipeWords(lang);
|
|
5146
5161
|
const drawer = part(create, 'cart-drawer', Type.Dialog, ShopRole.CartDrawer, Style$2.Dialog, {}, SHOP_LABELS.cartDrawer, { width: '380px', maxWidth: '100%', display: 'flex', flexDirection: 'column', gap: '14px' });
|
|
5147
5162
|
writeProp(drawer, 'placement', 'end');
|
|
5148
5163
|
writeProp(drawer, 'closeOnBackdrop', true);
|
|
5149
5164
|
writeProp(drawer, 'showCloseButton', false);
|
|
5150
|
-
writeProp(drawer, 'ariaLabel',
|
|
5165
|
+
writeProp(drawer, 'ariaLabel', t.drawer);
|
|
5151
5166
|
const head = part(create, 'cart-head', Type.Container, null, null, {}, 'Head', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
|
|
5152
|
-
const title = part(create, 'cart-title', Type.Heading, ShopRole.CartTitle, Style$2.Title, { content:
|
|
5167
|
+
const title = part(create, 'cart-title', Type.Heading, ShopRole.CartTitle, Style$2.Title, { content: t.drawer, level: 'h2' }, 'Title', WORDS);
|
|
5153
5168
|
const close = button$1(create, 'cart-close', ShopRole.CartClose, Style$2.Ghost, 'Close', '', { padding: '4px 4px 4px 4px', width: 'auto', height: 'auto', minHeight: 'auto' });
|
|
5154
|
-
close.children = [text(create, 'cart-close-text', null, Style$2.Small,
|
|
5169
|
+
close.children = [text(create, 'cart-close-text', null, Style$2.Small, t.close, 'Text', WORDS, 'span')];
|
|
5155
5170
|
onClick(close, 'closeDialog', drawer.id ?? '');
|
|
5156
5171
|
head.children = [title, close];
|
|
5157
5172
|
const lines = part(create, 'cart-lines', Type.Container, ShopRole.CartLines, null, {}, 'Lines', { ...COLUMN, gap: '16px' });
|
|
5158
|
-
lines.children = [buildCartLine(create)];
|
|
5173
|
+
lines.children = [buildCartLine(create, t)];
|
|
5159
5174
|
const issues = text(create, 'cart-issues', ShopRole.CartIssues, Style$2.Small, '', 'Issues', { ...WORDS, color: 'var(--iox-danger)' });
|
|
5160
|
-
const empty = text(create, 'cart-empty', ShopRole.CartEmpty, Style$2.Body,
|
|
5161
|
-
const note = text(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$2.CartNote,
|
|
5175
|
+
const empty = text(create, 'cart-empty', ShopRole.CartEmpty, Style$2.Body, t.empty, 'Empty');
|
|
5176
|
+
const note = text(create, 'cart-shipping-note', ShopRole.CartShippingNote, Style$2.CartNote, t.shippingNote, 'Free delivery note', { width: 'auto', minHeight: 'auto', margin: ZERO });
|
|
5162
5177
|
const summary = part(create, 'cart-summary', Type.Container, ShopRole.CartSummary, null, {}, 'Subtotal', { ...ROW, width: '100%', justifyContent: 'space-between', gap: '12px' });
|
|
5163
|
-
const subtotal = text(create, 'cart-subtotal', ShopRole.CartSubtotal, Style$2.Body,
|
|
5178
|
+
const subtotal = text(create, 'cart-subtotal', ShopRole.CartSubtotal, Style$2.Body, t.subtotal, 'Amount', { ...WORDS, fontVariantNumeric: 'tabular-nums', fontWeight: '600' }, 'span');
|
|
5164
5179
|
bindSlot(subtotal, 'content', '$cart', 'subtotal', true);
|
|
5165
|
-
summary.children = [text(create, 'cart-subtotal-label', null, Style$2.Body,
|
|
5166
|
-
const vat = text(create, 'cart-vat-note', ShopRole.CartVatNote, Style$2.Small,
|
|
5180
|
+
summary.children = [text(create, 'cart-subtotal-label', null, Style$2.Body, t.subtotalLabel, 'Label', WORDS, 'span'), subtotal];
|
|
5181
|
+
const vat = text(create, 'cart-vat-note', ShopRole.CartVatNote, Style$2.Small, t.vatNote, 'VAT note');
|
|
5167
5182
|
const checkout = button$1(create, 'checkout', ShopRole.Checkout, Style$2.Primary, 'Check out', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
|
|
5168
|
-
checkout.children = [text(create, 'checkout-label', null, Style$2.Label,
|
|
5183
|
+
checkout.children = [text(create, 'checkout-label', null, Style$2.Label, t.checkout, 'Text', WORDS, 'span')];
|
|
5169
5184
|
const keep = button$1(create, 'keep-shopping', ShopRole.KeepShopping, Style$2.Secondary, 'Keep shopping', '', { display: 'inline-flex', justifyContent: 'center', alignItems: 'center', width: '100%', height: 'auto' });
|
|
5170
|
-
keep.children = [text(create, 'keep-shopping-label', null, Style$2.Label,
|
|
5185
|
+
keep.children = [text(create, 'keep-shopping-label', null, Style$2.Label, t.keepShopping, 'Text', WORDS, 'span')];
|
|
5171
5186
|
onClick(keep, 'closeDialog', drawer.id ?? '');
|
|
5172
5187
|
drawer.children = [head, lines, issues, empty, note, summary, vat, checkout, keep];
|
|
5173
5188
|
return drawer;
|
|
@@ -5183,14 +5198,15 @@ var ShopRecipe;
|
|
|
5183
5198
|
ShopRecipe["CartButton"] = "cartButton";
|
|
5184
5199
|
ShopRecipe["CartDrawer"] = "cartDrawer";
|
|
5185
5200
|
})(ShopRecipe || (ShopRecipe = {}));
|
|
5201
|
+
/** Each recipe in the site's language (`lang` — vectoriox/iox-ui#100; English when the host has none). */
|
|
5186
5202
|
const SHOP_RECIPES = Object.freeze({
|
|
5187
5203
|
[ShopRecipe.Price]: buildPriceRecipe,
|
|
5188
5204
|
[ShopRecipe.Variants]: buildVariantPickerRecipe,
|
|
5189
5205
|
[ShopRecipe.Quantity]: (create) => buildQuantityRecipe(create),
|
|
5190
|
-
[ShopRecipe.Add]: buildAddToCartRecipe,
|
|
5191
|
-
[ShopRecipe.BuyNow]: buildBuyNowRecipe,
|
|
5192
|
-
[ShopRecipe.CartButton]: buildCartButtonRecipe,
|
|
5193
|
-
[ShopRecipe.CartDrawer]: buildCartDrawerRecipe,
|
|
5206
|
+
[ShopRecipe.Add]: (create, lang) => buildAddToCartRecipe(create, lang ?? 'en'),
|
|
5207
|
+
[ShopRecipe.BuyNow]: (create, lang) => buildBuyNowRecipe(create, lang ?? 'en'),
|
|
5208
|
+
[ShopRecipe.CartButton]: (create, lang) => buildCartButtonRecipe(create, lang ?? 'en'),
|
|
5209
|
+
[ShopRecipe.CartDrawer]: (create, lang) => buildCartDrawerRecipe(create, lang ?? 'en'),
|
|
5194
5210
|
});
|
|
5195
5211
|
/** The recipe a site holds ONCE, as a global element after the page (the bag every page opens) — never in a section. */
|
|
5196
5212
|
const SHOP_GLOBAL_RECIPES = new Set([ShopRecipe.CartDrawer]);
|
|
@@ -5234,6 +5250,21 @@ function setText(el, words) {
|
|
|
5234
5250
|
if (el && el.textContent !== words)
|
|
5235
5251
|
el.textContent = words;
|
|
5236
5252
|
}
|
|
5253
|
+
/** Say `words` in a part's place, keeping what it said; null gives the part its own words back. */
|
|
5254
|
+
function swapWords(el, words) {
|
|
5255
|
+
if (!el)
|
|
5256
|
+
return;
|
|
5257
|
+
const kept = el.getAttribute(SHOP_REST_WORDS_ATTRIBUTE);
|
|
5258
|
+
if (words !== null) {
|
|
5259
|
+
if (kept === null)
|
|
5260
|
+
el.setAttribute(SHOP_REST_WORDS_ATTRIBUTE, el.textContent ?? '');
|
|
5261
|
+
setText(el, words);
|
|
5262
|
+
}
|
|
5263
|
+
else if (kept !== null) {
|
|
5264
|
+
setText(el, kept);
|
|
5265
|
+
el.removeAttribute(SHOP_REST_WORDS_ATTRIBUTE);
|
|
5266
|
+
}
|
|
5267
|
+
}
|
|
5237
5268
|
/** The deepest element of a Text / Heading part that holds its words (a host may wrap them). */
|
|
5238
5269
|
function wordsOf$1(el) {
|
|
5239
5270
|
if (!el)
|
|
@@ -5304,6 +5335,7 @@ class ShopRuntime {
|
|
|
5304
5335
|
this.host = host;
|
|
5305
5336
|
this.products = new Map();
|
|
5306
5337
|
this.cart = emptyCartView();
|
|
5338
|
+
this.waiting = null;
|
|
5307
5339
|
this.observer = null;
|
|
5308
5340
|
this.stampQueued = false;
|
|
5309
5341
|
this.stamping = false;
|
|
@@ -5350,8 +5382,13 @@ class ShopRuntime {
|
|
|
5350
5382
|
this.openCart();
|
|
5351
5383
|
return;
|
|
5352
5384
|
}
|
|
5353
|
-
if (target.closest(sel$1(ShopRole.Checkout))
|
|
5354
|
-
this.
|
|
5385
|
+
if (target.closest(sel$1(ShopRole.Checkout))) {
|
|
5386
|
+
const waiting = this.waitingOrder;
|
|
5387
|
+
if (!this.cart.empty)
|
|
5388
|
+
this.host.goToCheckout?.();
|
|
5389
|
+
else if (waiting)
|
|
5390
|
+
this.host.continueOrder?.(waiting);
|
|
5391
|
+
}
|
|
5355
5392
|
};
|
|
5356
5393
|
this.onChange = (event) => {
|
|
5357
5394
|
const select = event.target?.closest?.(`select.${SHOP_SELECT_CLASS}`);
|
|
@@ -5389,6 +5426,15 @@ class ShopRuntime {
|
|
|
5389
5426
|
quantityFor(el) {
|
|
5390
5427
|
return this.stateFor(el)?.quantity ?? 1;
|
|
5391
5428
|
}
|
|
5429
|
+
/** client-engine#23: the order this browser placed and has not paid (or null) — an empty bag offers it. */
|
|
5430
|
+
setWaitingOrder(order) {
|
|
5431
|
+
this.waiting = order;
|
|
5432
|
+
this.stamp();
|
|
5433
|
+
}
|
|
5434
|
+
/** The unpaid order an empty bag offers, or null. */
|
|
5435
|
+
get waitingOrder() {
|
|
5436
|
+
return this.cart.empty ? this.waiting : null;
|
|
5437
|
+
}
|
|
5392
5438
|
/** Re-read every product and restamp (the host's data changed). */
|
|
5393
5439
|
refresh() {
|
|
5394
5440
|
this.products.clear();
|
|
@@ -5678,8 +5724,15 @@ class ShopRuntime {
|
|
|
5678
5724
|
setAttr$1(button, 'aria-label', view.empty ? shopWord(ShopWord.Cart, lang) : shopWord(ShopWord.CartCount, lang, { n: view.count }));
|
|
5679
5725
|
setAttr$1(button, 'aria-haspopup', 'dialog');
|
|
5680
5726
|
}
|
|
5727
|
+
const waiting = this.waitingOrder;
|
|
5681
5728
|
for (const drawer of own(this.scope, sel$1(ShopRole.CartDrawer))) {
|
|
5682
5729
|
setAttr$1(drawer, CART_EMPTY_ATTRIBUTE, view.empty ? '' : null);
|
|
5730
|
+
// client-engine#23: Back from the order page lands on an empty bag — it names the order and goes back to it.
|
|
5731
|
+
setAttr$1(drawer, CART_WAITING_ATTRIBUTE, waiting ? '' : null);
|
|
5732
|
+
swapWords(wordsOf$1(first(drawer, sel$1(ShopRole.CartEmpty))), waiting
|
|
5733
|
+
? `${checkoutWord(CheckoutWord.OrderAwaitsPayment, lang, { number: waiting.number })}. ${checkoutWord(CheckoutWord.OrderAwaitsNote, lang)}`
|
|
5734
|
+
: null);
|
|
5735
|
+
swapWords(wordsOf$1(first(drawer, sel$1(ShopRole.Checkout))), waiting ? checkoutWord(CheckoutWord.ContinueToPayment, lang) : null);
|
|
5683
5736
|
const title = wordsOf$1(first(drawer, sel$1(ShopRole.CartTitle)));
|
|
5684
5737
|
if (title) {
|
|
5685
5738
|
let count = title.querySelector(`[${CART_TITLE_COUNT_ATTRIBUTE}]`);
|
|
@@ -6716,9 +6769,12 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6716
6769
|
onClickRun(accept, [{ type: ConsentActionType.Grant }, { type: ConsentActionType.CloseDialog, target: banner.id }]);
|
|
6717
6770
|
const reject = button(create, 'consent-reject', ConsentRole.Reject, Style.Secondary, t.reject, 'Reject all');
|
|
6718
6771
|
onClickRun(reject, [{ type: ConsentActionType.Deny }, { type: ConsentActionType.CloseDialog, target: banner.id }]);
|
|
6719
|
-
|
|
6772
|
+
// iox-ui#95: on a phone the buttons take their own line, and Accept beside Reject was wider than the words' column
|
|
6773
|
+
// (Hebrew and a large type pushed Reject past the dialog's edge). The pair wraps inside the column instead, and
|
|
6774
|
+
// the column never grows past its row — it shrinks to it.
|
|
6775
|
+
const choices = recipePart(create, 'consent-choices', 'Container', ConsentRole.Choices, null, {}, 'Accept and reject', { ...ROW, flexWrap: 'wrap', justifyContent: 'center', gap: '8px' });
|
|
6720
6776
|
choices.children = [accept, reject];
|
|
6721
|
-
const buttons = recipePart(create, 'consent-buttons', 'Container', null, null, {}, 'Buttons', { ...COLUMN, width: 'auto', flexShrink: '0', alignItems: 'center', gap: '6px' });
|
|
6777
|
+
const buttons = recipePart(create, 'consent-buttons', 'Container', null, null, {}, 'Buttons', { ...COLUMN, width: 'auto', maxWidth: '100%', flexShrink: '0', alignItems: 'center', gap: '6px' });
|
|
6722
6778
|
buttons.children = [choices];
|
|
6723
6779
|
if (withPreferences) {
|
|
6724
6780
|
const prefs = button(create, 'consent-open-preferences', ConsentRole.Preferences, Style.Ghost, t.preferences, 'Preferences');
|
|
@@ -6749,5 +6805,5 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6749
6805
|
* Generated bundle index. Do not edit.
|
|
6750
6806
|
*/
|
|
6751
6807
|
|
|
6752
|
-
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_WORDS, 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, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CAROUSEL_QUOTES, CART_EMPTY_ATTRIBUTE, CART_LINE_ATTRIBUTE, CART_TITLE_COUNT_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, 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, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, 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_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, 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_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, 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, 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, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, 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, 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, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, setMarqueeSettings, setSegmentedBadge, setSegmentedBehaviour, setSliderFlag, setSliderPlacement, setTabsBehaviour, shopPickerKind, 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, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
6808
|
+
export { ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, ACCORDION_DEFAULT_ONS, ACCORDION_ICONS, ACCORDION_ICON_GLYPH, ACCORDION_NEW_ITEM_WORDS, ACCORDION_WORDS, 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, BadgeTone, CARD_LAYOUTS, CARD_LAYOUT_CUSTOM, CARD_PARTS, CARD_PARTS_OFF_AT_START, CARD_PART_ROLE, CARD_STACK_BREAKPOINT, CARD_WORDS, CAROUSEL_QUOTES, 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, 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, PREFERENCES_FROM_CATEGORIES, PROVIDER_ROLES, SCOPE_ATTRIBUTE, SEGMENTED_BADGE_TONE, SEGMENTED_BADGE_WORDS, SEGMENTED_BEHAVIOUR, SEGMENTED_MAX_OPTIONS, SEGMENTED_MIN_OPTIONS, SEGMENTED_NAME, SEGMENTED_NEW_OPTION_WORDS, SEGMENTED_WORDS, 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, 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_ORIENTATIONS, TABS_STACK_BREAKPOINT, TABS_TEXT_BIND_PROP, TABS_WORDS, 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, 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, buildPriceRecipe, buildQuantityRecipe, buildReadingBarRecipe, buildSegmentedOption, buildSegmentedRecipe, buildSignInDialogRecipe, buildSliderPart, buildTabPair, buildTabsRecipe, buildVariantPickerRecipe, canOpenAtClickedItem, cardPartsOf, cardRootOf, cardTitleOf, carouselOf, clearLayerStyles, closeAccordionItem, closestAccordion, closestAccordionItem, closestExclusive, closestExclusiveItemPart, compositeItemOf, compositeItems, compositeKindOfRole, compositeRootOf, compositeRowKeys, compositeScopeId, consentRecipeWords, detachAccordion, detectAccordionIcon, detectCardLayout, disclosureOpenByDefault, domSafeKey, exclusiveBehaviourOf, exclusiveDefaultOf, exclusiveItemLabel, exclusiveItemPartOf, exclusiveKindHasPanels, exclusiveKindOf, exclusiveLabelOf, exclusivePartAttributes, exclusiveRootAttributesOf, exclusiveRootHoldsTriggers, exclusiveRootOf, exclusiveRuntimeOf, exclusiveScopeFor, findByRole, hasLabelledRegion, hasSliderParts, headerBehaviourOfNode, 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, 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, serializeDomAttributes, setAccordionBehaviour, setAccordionIcon, setBadgeTone, setCardLinked, setCardPart, setHeaderBehaviour, 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, variantGroupLabel, variantGroupNote, walkComposite, wantedSliderParts, writeLayerStyles, writeProp, writeStyles };
|
|
6753
6809
|
//# sourceMappingURL=vectoriox-iox-ui-composite-core.mjs.map
|