@vectoriox/iox-ui 5.168.0 → 5.170.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 +32 -3
- package/design-core/index.d.ts +91 -5
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +52 -1
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +147 -15
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +76 -11
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +30 -5
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +34 -4
- package/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/commerce-core/shop-display.ts +35 -1
- package/src/commerce-core/variants.ts +25 -0
- package/src/design-core/flavor-spec.generated.ts +24 -0
- package/src/design-core/font-metrics.ts +28 -8
- package/src/design-core/footer-classes.ts +14 -3
- package/src/design-core/header-behaviour.ts +87 -5
- package/src/generation-core/compose-site.ts +3 -0
- package/src/generation-core/contact-facts.ts +61 -0
- package/src/generation-core/footer-mix.ts +16 -8
- package/src/generation-core/layout-language.ts +6 -2
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-build-run.ts +12 -0
- package/styles/iox-design.css +53 -8
package/commerce-core/index.d.ts
CHANGED
|
@@ -1025,6 +1025,20 @@ interface VariantSlot extends ProductVariantView {
|
|
|
1025
1025
|
* the engine seeds during SSR (so the raw HTML already shows the price). `choice` defaults to the first sellable one.
|
|
1026
1026
|
*/
|
|
1027
1027
|
declare function variantSlotOf(product: StorefrontProduct | null | undefined, choice?: VariantChoice | null, quantity?: number): VariantSlot | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* What a LIST shows for a product (vectoriox/iox-ui#142): a product with options keeps its prices on its variants (its
|
|
1030
|
+
* own `pricing.price` is empty, or stale), so a card reads the lowest price on sale — `from` when the variants' prices
|
|
1031
|
+
* differ ("From ₪89.00"), and the earlier price only when there is one price. Null for a product with no options (its
|
|
1032
|
+
* stored price is what it sells at) or one with no priced variant.
|
|
1033
|
+
*/
|
|
1034
|
+
interface ProductListPrice {
|
|
1035
|
+
price: Money;
|
|
1036
|
+
/** Only when every variant on sale has the one price, and the cheapest's earlier price is above it. */
|
|
1037
|
+
compareAt: Money | null;
|
|
1038
|
+
/** The variants on sale have more than one price. */
|
|
1039
|
+
from: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
declare function productListPrice(product: StorefrontProduct | null | undefined): ProductListPrice | null;
|
|
1028
1042
|
|
|
1029
1043
|
/**
|
|
1030
1044
|
* The quantity a buyer may ask for — the stepper on a product page and on every cart line (commerce plan §3i). Whole
|
|
@@ -1209,11 +1223,26 @@ declare enum ShopWord {
|
|
|
1209
1223
|
Subtotal = "subtotal",
|
|
1210
1224
|
VatNote = "vatNote",
|
|
1211
1225
|
CheckOut = "checkOut",
|
|
1212
|
-
KeepShopping = "keepShopping"
|
|
1226
|
+
KeepShopping = "keepShopping",
|
|
1227
|
+
/** A list card's price for a product whose options differ in price (vectoriox/iox-ui#142). */
|
|
1228
|
+
PriceFrom = "priceFrom"
|
|
1213
1229
|
}
|
|
1214
1230
|
/** `{name}` / `{n}` / `{amount}` are filled by `shopWord`. */
|
|
1215
1231
|
declare const SHOP_WORDS: Readonly<Record<ShopWord, CommerceLabel>>;
|
|
1216
1232
|
declare function shopWord(word: ShopWord, lang: string | null | undefined, fill?: Readonly<Record<string, string | number>>): string;
|
|
1233
|
+
/** The stored price paths of a product a list binds (generation-core `SHOP_ROLES` `price` / `compareAt`). */
|
|
1234
|
+
declare enum ProductPricePath {
|
|
1235
|
+
Price = "pricing.price",
|
|
1236
|
+
CompareAt = "pricing.compareat"
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* vectoriox/iox-ui#142 — a product's PRICE PATH read on a list card, for a product whose options carry the prices: the
|
|
1240
|
+
* `money` pipe asks it with the row the binding read and the path it read, so every list a studio already holds (bound
|
|
1241
|
+
* `pricing.price | money` to its row) shows "From ₪89.00" with no rebuild. `undefined` when it does not apply — not a
|
|
1242
|
+
* product with options, not a price path, no priced variant — and the pipe formats the stored value as before.
|
|
1243
|
+
* `currency` is used only when the product names none (the pipe's argument, else the studio's).
|
|
1244
|
+
*/
|
|
1245
|
+
declare function listPriceField(row: unknown, path: string | null | undefined, locale?: string | null, currency?: string | null): string | undefined;
|
|
1217
1246
|
/** Board 10's tall speckled vase: Glaze (Sand · Ash · Charcoal — Charcoal sold out) × Size (24 · 32 · 40 cm — 40 sold
|
|
1218
1247
|
* out), ₪240 against ₪280. Major units, as the storefront serves them. */
|
|
1219
1248
|
declare const SAMPLE_PRODUCT: StorefrontProduct;
|
|
@@ -1777,5 +1806,5 @@ declare const looksLikeEmail: (value: unknown) => boolean;
|
|
|
1777
1806
|
/** A phone a person can be called on: 7–15 digits once spaces, dashes, brackets and a leading + are dropped. */
|
|
1778
1807
|
declare const looksLikePhone: (value: unknown) => boolean;
|
|
1779
1808
|
|
|
1780
|
-
export { ABANDONED_AFTER_MS, Availability, BuyerPaymentStage, CART_COOKIE_PREFIX, CART_ISSUE_LABELS, CART_TRANSPORT_ERROR_LABELS, CHECKOUT_FORM_STEPS, CHECKOUT_GATE_RULES, CHECKOUT_PATH, CHECKOUT_STEPS, CHECKOUT_STEP_LABELS, CHECKOUT_WORDS, COUPON_CODE_MAX, COUPON_CODE_MIN, COUPON_REFUSAL_LABELS, CURRENCY_CODES, CURRENCY_EXPONENTS, CartIssueCode, CartTransportError, CartTransportErrorCode, CheckoutAskedField, CheckoutFieldMode, CheckoutGateArea, CheckoutGateCode, CheckoutSlot, CheckoutStep, CheckoutWord, CommerceLanguage, CouponKind, CouponProblem, CouponRefusal, CurrencyCode, DEFAULT_JOURNEY_DAYS, DEFAULT_MONEY_LOCALE, DEFAULT_REMINDER_SETTINGS, DEFAULT_VARIANT_NAME, DeliveryFit, FINAL_ORDER_STATES, FUNNEL_STAGES, FunnelStage, JOURNEY_PERIODS_DAYS, JourneyEventKind, LegalPage, MAX_CART_AMOUNT, MAX_CART_LINES, MAX_LINE_QUANTITY, MAX_VAT_PERCENT, MIN_LINE_QUANTITY, MoneyError, MoneyErrorCode, NO_CART_TRANSPORT, ORDER_FRAME_PARAM, ORDER_FRAME_VALUE, ORDER_PATH, ORDER_STATE_LABELS, ORDER_STOCK_HOLD, ORDER_TRANSITIONS, OrderActor, OrderEvent, OrderRefusal, OrderSnapshotRefusal, OrderState, PAYMENT_FIELD_LABELS, PAYMENT_METHODS, PAYMENT_RETURNED, PAYMENT_VERDICT_LABELS, PaymentAttemptStatus, PaymentChannel, PaymentField, PaymentMethodKind, PaymentMismatch, PaymentProvider, PaymentResultStatus, PaymentVerdictKind, QuantityStep, RECOVERY_PATH, RECOVERY_WORDS, REMINDER_LATE_MS, REMINDER_SEQUENCE, REMINDER_STEPS, REMINDER_SUBJECT_WORDS, REMINDER_WORDS_MAX, RecoveryWord, ReminderOutcome, ReminderSkip, ReminderStep, ReminderStop, SAMPLE_CART_LINE, SAMPLE_PRODUCT, SAMPLE_STUDIO, SAMPLE_SWATCHES, SHIPPING_KINDS, SHOP_SLOTS, SHOP_WORDS, SITE_REFUSALS, STOCK_EFFECTS, STOCK_RESERVATION_MINUTES, STOREFRONT_COMPUTED_FIELDS, STOREFRONT_FIELDS, ShippingField, ShippingMethodKind, ShopSlot, ShopWord, SiteCommerceRoute, SiteOrderAction, SiteRefusalCode, StockEffect, StockHold, StorefrontCollection, UNSUBSCRIBE_PATH, VARIANT_NAME_SEPARATOR, VAT_PERCENT_MAX_DECIMALS, addMoney, addressLine, availableShippingMethods, biggestDrop, buyerMayPay, buyerPaymentStage, canBuy, canStep, cartCookieName, cartEndpointPath, cartIssueWords, cartLineId, cartOf, cartTransportErrorFor, cartViewOf, catalogKey, checkoutGate, checkoutHref, checkoutWord, chooseValue, clampQuantity, commerceLanguage, couponDiscount, couponOfferWords, couponProblems, couponRefusalWords, currencyExponent, currentCheckoutStep, defaultChoice, emptyCartView, fieldAsked, fieldRequired, findVariant, formatMoney, formatMoneyValue, freeShippingRemaining, funnelOf, furthestStep, includedVat, isAbandoned, isCouponCode, isCurrencyCode, isMoney, isOrderFrameReturn, isPaymentMethodKind, isPaymentReturnedMessage, isShippingMethodKind, isStorefrontField, isStorefrontProduct, isVatPercent, labelIn, looksLikeEmail, looksLikePhone, majorToMinor, marketingAllowed, maskEmail, mergeCarts, migrateMajorPrice, minorToMajor, money, nextOrderState, nextReminder, normalizeCouponCode, openingOrderState, optionValueStates, orderFrameReturnHref, orderHref, orderSnapshot, paymentChannelOf, paymentInstructions, paymentMethodConnected, paymentMethodProblems, paymentMethodReady, paymentReturnedMessage, paymentVerdict, percentOf, priceCart, productCurrency, productInScope, productOptions, productVariants, quantityBounds, quoteShipping, recoveryHref, recoveryWord, reminderNumber, reminderSettingsOf, reservationDue, reservationExpiresAt, reusableAttempt, sellableQuantity, shippingMethodProblems, shippingMethodReady, shippingNeedsAddress, shopWord, simulatedCartTransport, siteCartView, siteCommercePath, siteOrderActionPath, siteRefusalsOf, stepQuantity, stockEffect, stoppedAt, storefrontBindPaths, storefrontCatalog, storefrontMoney, subtractMoney, timesMoney, unsubscribeHref, usablePaymentMethods, variantChoiceOf, variantSlotOf, variantWords };
|
|
1781
|
-
export type { AddToCartRequest, AppliedCoupon, BusinessIdentity, Cart, CartIssue, CartLine, CartTransport, CartView, CartViewLine, CatalogEntry, CheckoutFieldModes, CheckoutGateFacts, CheckoutGateRefusal, CheckoutGateResult, CommerceLabel, ConsentDecision, Coupon, CouponCheck, FunnelRow, Money, OptionState, OptionValueState, OrderBuyer, OrderMove, OrderSnapshot, OrderSnapshotLine, OrderSnapshotResult, OrderTransition, PaidCard, PaymentAttempt, PaymentMethodConfig, PaymentResult, PaymentVerdict, PaymentVerdictInput, PostalAddress, PricedCart, PricedLine, PricingChoice, ProductOption, ProductVariantView, QuantityBounds, ReminderFacts, ReminderPlan, ReminderSettings, ReminderTiming, ReminderWords, ShippingCart, ShippingGoods, ShippingMethod, ShippingQuote, SimulatedCartTransport, SiteBuyerOrder, SiteCartView, SiteCheckoutContact, SiteCheckoutOptions, SiteCheckoutView, SiteLegalLink, SiteOrderPayment, SitePayAnswer, SitePaymentOption, SitePaymentRedirect, SitePlacedOrder, SiteRefusal, SiteShippingMethod, SiteShippingOption, SiteUnsubscribeState, StorefrontFieldSpec, StorefrontProduct, StorefrontVariant, StudioCommerce, VariantChoice, VariantSlot };
|
|
1809
|
+
export { ABANDONED_AFTER_MS, Availability, BuyerPaymentStage, CART_COOKIE_PREFIX, CART_ISSUE_LABELS, CART_TRANSPORT_ERROR_LABELS, CHECKOUT_FORM_STEPS, CHECKOUT_GATE_RULES, CHECKOUT_PATH, CHECKOUT_STEPS, CHECKOUT_STEP_LABELS, CHECKOUT_WORDS, COUPON_CODE_MAX, COUPON_CODE_MIN, COUPON_REFUSAL_LABELS, CURRENCY_CODES, CURRENCY_EXPONENTS, CartIssueCode, CartTransportError, CartTransportErrorCode, CheckoutAskedField, CheckoutFieldMode, CheckoutGateArea, CheckoutGateCode, CheckoutSlot, CheckoutStep, CheckoutWord, CommerceLanguage, CouponKind, CouponProblem, CouponRefusal, CurrencyCode, DEFAULT_JOURNEY_DAYS, DEFAULT_MONEY_LOCALE, DEFAULT_REMINDER_SETTINGS, DEFAULT_VARIANT_NAME, DeliveryFit, FINAL_ORDER_STATES, FUNNEL_STAGES, FunnelStage, JOURNEY_PERIODS_DAYS, JourneyEventKind, LegalPage, MAX_CART_AMOUNT, MAX_CART_LINES, MAX_LINE_QUANTITY, MAX_VAT_PERCENT, MIN_LINE_QUANTITY, MoneyError, MoneyErrorCode, NO_CART_TRANSPORT, ORDER_FRAME_PARAM, ORDER_FRAME_VALUE, ORDER_PATH, ORDER_STATE_LABELS, ORDER_STOCK_HOLD, ORDER_TRANSITIONS, OrderActor, OrderEvent, OrderRefusal, OrderSnapshotRefusal, OrderState, PAYMENT_FIELD_LABELS, PAYMENT_METHODS, PAYMENT_RETURNED, PAYMENT_VERDICT_LABELS, PaymentAttemptStatus, PaymentChannel, PaymentField, PaymentMethodKind, PaymentMismatch, PaymentProvider, PaymentResultStatus, PaymentVerdictKind, ProductPricePath, QuantityStep, RECOVERY_PATH, RECOVERY_WORDS, REMINDER_LATE_MS, REMINDER_SEQUENCE, REMINDER_STEPS, REMINDER_SUBJECT_WORDS, REMINDER_WORDS_MAX, RecoveryWord, ReminderOutcome, ReminderSkip, ReminderStep, ReminderStop, SAMPLE_CART_LINE, SAMPLE_PRODUCT, SAMPLE_STUDIO, SAMPLE_SWATCHES, SHIPPING_KINDS, SHOP_SLOTS, SHOP_WORDS, SITE_REFUSALS, STOCK_EFFECTS, STOCK_RESERVATION_MINUTES, STOREFRONT_COMPUTED_FIELDS, STOREFRONT_FIELDS, ShippingField, ShippingMethodKind, ShopSlot, ShopWord, SiteCommerceRoute, SiteOrderAction, SiteRefusalCode, StockEffect, StockHold, StorefrontCollection, UNSUBSCRIBE_PATH, VARIANT_NAME_SEPARATOR, VAT_PERCENT_MAX_DECIMALS, addMoney, addressLine, availableShippingMethods, biggestDrop, buyerMayPay, buyerPaymentStage, canBuy, canStep, cartCookieName, cartEndpointPath, cartIssueWords, cartLineId, cartOf, cartTransportErrorFor, cartViewOf, catalogKey, checkoutGate, checkoutHref, checkoutWord, chooseValue, clampQuantity, commerceLanguage, couponDiscount, couponOfferWords, couponProblems, couponRefusalWords, currencyExponent, currentCheckoutStep, defaultChoice, emptyCartView, fieldAsked, fieldRequired, findVariant, formatMoney, formatMoneyValue, freeShippingRemaining, funnelOf, furthestStep, includedVat, isAbandoned, isCouponCode, isCurrencyCode, isMoney, isOrderFrameReturn, isPaymentMethodKind, isPaymentReturnedMessage, isShippingMethodKind, isStorefrontField, isStorefrontProduct, isVatPercent, labelIn, listPriceField, looksLikeEmail, looksLikePhone, majorToMinor, marketingAllowed, maskEmail, mergeCarts, migrateMajorPrice, minorToMajor, money, nextOrderState, nextReminder, normalizeCouponCode, openingOrderState, optionValueStates, orderFrameReturnHref, orderHref, orderSnapshot, paymentChannelOf, paymentInstructions, paymentMethodConnected, paymentMethodProblems, paymentMethodReady, paymentReturnedMessage, paymentVerdict, percentOf, priceCart, productCurrency, productInScope, productListPrice, productOptions, productVariants, quantityBounds, quoteShipping, recoveryHref, recoveryWord, reminderNumber, reminderSettingsOf, reservationDue, reservationExpiresAt, reusableAttempt, sellableQuantity, shippingMethodProblems, shippingMethodReady, shippingNeedsAddress, shopWord, simulatedCartTransport, siteCartView, siteCommercePath, siteOrderActionPath, siteRefusalsOf, stepQuantity, stockEffect, stoppedAt, storefrontBindPaths, storefrontCatalog, storefrontMoney, subtractMoney, timesMoney, unsubscribeHref, usablePaymentMethods, variantChoiceOf, variantSlotOf, variantWords };
|
|
1810
|
+
export type { AddToCartRequest, AppliedCoupon, BusinessIdentity, Cart, CartIssue, CartLine, CartTransport, CartView, CartViewLine, CatalogEntry, CheckoutFieldModes, CheckoutGateFacts, CheckoutGateRefusal, CheckoutGateResult, CommerceLabel, ConsentDecision, Coupon, CouponCheck, FunnelRow, Money, OptionState, OptionValueState, OrderBuyer, OrderMove, OrderSnapshot, OrderSnapshotLine, OrderSnapshotResult, OrderTransition, PaidCard, PaymentAttempt, PaymentMethodConfig, PaymentResult, PaymentVerdict, PaymentVerdictInput, PostalAddress, PricedCart, PricedLine, PricingChoice, ProductListPrice, ProductOption, ProductVariantView, QuantityBounds, ReminderFacts, ReminderPlan, ReminderSettings, ReminderTiming, ReminderWords, ShippingCart, ShippingGoods, ShippingMethod, ShippingQuote, SimulatedCartTransport, SiteBuyerOrder, SiteCartView, SiteCheckoutContact, SiteCheckoutOptions, SiteCheckoutView, SiteLegalLink, SiteOrderPayment, SitePayAnswer, SitePaymentOption, SitePaymentRedirect, SitePlacedOrder, SiteRefusal, SiteShippingMethod, SiteShippingOption, SiteUnsubscribeState, StorefrontFieldSpec, StorefrontProduct, StorefrontVariant, StudioCommerce, VariantChoice, VariantSlot };
|
package/design-core/index.d.ts
CHANGED
|
@@ -3307,6 +3307,30 @@ declare const SPEC_FONT_METRICS: {
|
|
|
3307
3307
|
};
|
|
3308
3308
|
};
|
|
3309
3309
|
};
|
|
3310
|
+
readonly display: {
|
|
3311
|
+
readonly "Bricolage Grotesque": {
|
|
3312
|
+
readonly opsz: 96;
|
|
3313
|
+
readonly weights: {
|
|
3314
|
+
readonly "500": {
|
|
3315
|
+
readonly latin: "211,220,274,584,563,913,677,149,267,271,391,486,150,300,178,330,594,264,534,556,572,551,591,471,599,592,182,179,486,486,486,398,878,621,588,625,614,531,507,645,625,209,306,594,450,784,664,657,566,656,591,573,504,620,606,897,579,556,534,276,329,276,516,588,283,514,552,524,554,526,340,546,534,197,203,504,197,830,534,560,551,552,359,497,339,532,515,775,502,522,454,323,193,331,486,152,152,288,288,475,738,616,178,486,671,685,621,621,621,621,621,621,846,625,531,531,531,531,209,209,209,209,664,657,657,657,657,657,662,620,620,620,620,556,608,514,514,514,514,514,514,827,524,526,526,526,526,206,197,197,197,534,560,560,560,560,560,560,532,532,532,532,522,522,941,916,573,497,534,454";
|
|
3316
|
+
};
|
|
3317
|
+
readonly "700": {
|
|
3318
|
+
readonly latin: "206,252,318,603,571,936,690,165,291,292,435,486,179,309,223,342,594,294,545,562,595,560,592,489,605,599,227,216,486,486,486,397,916,646,601,629,618,537,509,648,633,231,317,613,457,809,684,660,579,658,607,581,512,625,623,909,608,582,545,289,342,289,525,547,283,533,568,534,568,533,364,548,553,222,230,529,222,850,553,564,566,566,386,510,358,548,525,791,529,533,473,322,210,324,486,179,179,351,351,491,762,710,223,486,677,686,646,646,646,646,646,646,857,629,537,537,537,537,231,231,231,231,684,660,660,660,660,660,667,625,625,625,625,582,628,533,533,533,533,533,533,848,534,533,533,533,533,237,222,222,222,553,564,564,564,564,564,564,548,548,548,548,533,533,942,924,581,510,545,473";
|
|
3319
|
+
};
|
|
3320
|
+
};
|
|
3321
|
+
};
|
|
3322
|
+
readonly Fraunces: {
|
|
3323
|
+
readonly opsz: 144;
|
|
3324
|
+
readonly weights: {
|
|
3325
|
+
readonly "400": {
|
|
3326
|
+
readonly latin: "165,211,252,549,509,586,868,128,303,301,573,455,175,237,173,330,590,354,530,491,541,511,546,458,518,550,161,170,432,455,432,470,739,601,616,630,697,574,521,683,729,313,359,668,536,789,668,728,596,736,633,553,596,654,590,887,624,593,555,288,317,288,298,334,209,432,483,403,488,417,258,468,497,221,221,480,225,772,498,484,501,483,361,376,280,497,428,659,436,442,392,329,222,329,482,152,140,284,284,452,701,563,223,401,612,533,601,601,601,601,601,601,872,630,574,574,574,574,313,313,313,313,668,728,728,728,728,728,728,654,654,654,654,593,554,432,432,432,432,432,432,675,403,417,417,417,417,221,221,221,221,498,484,484,484,484,484,484,497,497,497,497,442,442,922,756,553,376,555,392";
|
|
3327
|
+
};
|
|
3328
|
+
readonly "600": {
|
|
3329
|
+
readonly latin: "160,243,299,571,529,602,898,153,314,311,565,455,205,242,201,325,613,372,556,515,568,531,569,482,541,574,193,205,432,455,432,508,742,625,647,640,717,594,540,692,754,340,389,697,557,813,673,734,626,746,666,566,622,662,605,920,643,610,568,312,317,312,298,355,233,455,505,420,508,437,278,491,518,240,240,509,246,797,519,497,519,505,390,391,301,519,441,686,456,461,414,351,222,351,482,180,161,338,338,459,711,664,251,401,632,557,625,625,625,625,625,625,898,640,594,594,594,594,340,340,340,340,673,734,734,734,734,734,734,662,662,662,662,610,589,455,455,455,455,455,455,694,420,437,437,437,437,240,240,240,240,519,497,497,497,497,497,497,519,519,519,519,461,461,946,768,566,391,568,414";
|
|
3330
|
+
};
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3333
|
+
};
|
|
3310
3334
|
readonly fallback: {
|
|
3311
3335
|
readonly latin: "612,612,612,1392,857,1297,1220,612,612,612,666,780,612,612,612,698,1066,667,1003,1055,1094,1015,1133,1153,1081,1158,612,612,679,840,679,864,1498,1160,1140,1316,1302,1140,1128,1340,1280,612,1004,1215,943,1580,1300,1330,1177,1330,1232,1056,1100,1289,1160,1882,1140,1070,1200,612,802,612,709,980,722,1063,1098,994,1098,994,674,969,1008,612,612,942,612,1654,998,1016,1063,1098,612,842,628,998,918,1462,980,930,896,623,612,623,716,612,612,612,612,708,1100,1042,612,711,1406,1087,1160,1160,1160,1160,1160,1160,1681,1316,1140,1140,1140,1140,612,612,612,612,1300,1330,1330,1330,1330,1330,1330,1289,1289,1289,1289,1070,1138,1063,1063,1063,1063,1063,1063,1915,994,994,994,994,994,612,612,612,612,998,1016,1016,1016,1016,1016,1016,998,998,998,998,930,930,1962,1696,1056,842,1200,896";
|
|
3312
3336
|
readonly hebrew: "681,641,498,587,660,333,424,683,696,352,565,572,550,690,698,330,455,664,653,648,671,588,622,680,593,881,730,450,306,568";
|
|
@@ -18562,9 +18586,52 @@ declare const BRAND_NAME_LONGEST_AT = 36;
|
|
|
18562
18586
|
declare const BRAND_WORD_LONG_AT = 10;
|
|
18563
18587
|
declare const BRAND_WORD_LONGER_AT = 12;
|
|
18564
18588
|
declare const BRAND_WORD_LONGEST_AT = 15;
|
|
18589
|
+
/**
|
|
18590
|
+
* vectoriox/iox-ui#143: the steps for a CROWDED bar — three controls or more beside the name on a phone (a store's
|
|
18591
|
+
* account and bag beside the menu). Measured on a 390 store header (Fraunces, 4 × 16px gaps, 32px insets): the name kept
|
|
18592
|
+
* 77px, and "Homeware" (8 letters, 110px at the lead size) broke inside the word. A crowded bar packs its controls
|
|
18593
|
+
* (`BAR_ATTRIBUTE`, the shared CSS), which leaves the name ~105px at 360; at ~0.6em a letter that holds a 6-letter word at
|
|
18594
|
+
* the name's own size, 7 at `size-lead`, 10 at `size-body` — and, at ~0.55em a character, two lines of 13 / 16 / 22.
|
|
18595
|
+
*/
|
|
18596
|
+
declare const BRAND_CROWDED_NAME_LONG_AT = 13;
|
|
18597
|
+
declare const BRAND_CROWDED_NAME_LONGER_AT = 17;
|
|
18598
|
+
declare const BRAND_CROWDED_NAME_LONGEST_AT = 23;
|
|
18599
|
+
declare const BRAND_CROWDED_WORD_LONG_AT = 7;
|
|
18600
|
+
declare const BRAND_CROWDED_WORD_LONGER_AT = 8;
|
|
18601
|
+
declare const BRAND_CROWDED_WORD_LONGEST_AT = 11;
|
|
18602
|
+
/** The step a name takes: by its length and by its longest word, whichever asks for the smaller type; null = its size. */
|
|
18603
|
+
declare function brandNameLength(words: string, crowded?: boolean): BrandNameLength | null;
|
|
18565
18604
|
/** The name's attributes: `{}` for a name that keeps its size. Never shortens the words — the type steps down, by the
|
|
18566
18605
|
* name's length and by its longest word, whichever asks for the smaller step. */
|
|
18567
18606
|
declare function brandNameAttributes(words: string): Record<string, string>;
|
|
18607
|
+
/** The navigation root's role (generation-core `NavRole.Root`). */
|
|
18608
|
+
declare const NAV_ROLE = "nav";
|
|
18609
|
+
/** Written on the navigation root when its phone bar is crowded: the shared CSS packs the controls. */
|
|
18610
|
+
declare const BAR_ATTRIBUTE = "data-iox-bar";
|
|
18611
|
+
/** Written beside it: the step the name takes in that bar (never smaller type than the name's own step asks). */
|
|
18612
|
+
declare const BAR_NAME_ATTRIBUTE = "data-iox-bar-name";
|
|
18613
|
+
declare enum BarRoom {
|
|
18614
|
+
Crowded = "crowded"
|
|
18615
|
+
}
|
|
18616
|
+
/** From this many controls beside the name on a phone, the bar is crowded. */
|
|
18617
|
+
declare const BAR_CROWDED_AT = 3;
|
|
18618
|
+
/** The parts that stay in the bar beside the name on a phone (generation-core `phoneHiddenParts` keeps the menu button, a
|
|
18619
|
+
* store's bag and account; HI1 keeps a menu-at-every-width header's pinned pages and actions). Spelled here: design-core
|
|
18620
|
+
* reads neither generation-core nor composite-core. */
|
|
18621
|
+
declare const PHONE_BAR_CONTROL_ROLES: ReadonlyArray<string>;
|
|
18622
|
+
interface BarNode {
|
|
18623
|
+
role?: string | null;
|
|
18624
|
+
type?: string;
|
|
18625
|
+
styleProps?: Readonly<Record<string, unknown>> | null;
|
|
18626
|
+
responsive?: Readonly<Record<string, {
|
|
18627
|
+
styleProps?: Readonly<Record<string, unknown>> | null;
|
|
18628
|
+
} | null | undefined>> | null;
|
|
18629
|
+
children?: ReadonlyArray<unknown> | null;
|
|
18630
|
+
}
|
|
18631
|
+
/** How many controls sit beside the name in the navigation's phone bar. */
|
|
18632
|
+
declare function phoneBarControls(nav: BarNode | null | undefined): number;
|
|
18633
|
+
/** The navigation root's attributes: `{}` for a bar that is not crowded; else `crowded` and the name's crowded step. */
|
|
18634
|
+
declare function navBarAttributes(nav: BarNode | null | undefined, brandWords: string): Record<string, string>;
|
|
18568
18635
|
|
|
18569
18636
|
/**
|
|
18570
18637
|
* How a site's MENU looks and moves (header-ingredients-plan.md HI2a; HB-D1/HB-D2, header-builder board v2). The header
|
|
@@ -19379,12 +19446,19 @@ declare function isListMixClass(c: string): boolean;
|
|
|
19379
19446
|
* `iox-footer-arrange-ruled`, `iox-footer-namestyle-gradient` — that the shared iox-design.css draws (the ruled cells'
|
|
19380
19447
|
* hairlines, the name's cut and style, the large links' arrow). The same decision in all three render paths
|
|
19381
19448
|
* (`nodeDesignClasses`), so the canvas, both engine paths and the raw SSR agree. Pure.
|
|
19449
|
+
*
|
|
19450
|
+
* A footer whose OWN Text Direction is right-to-left also renders `iox-footer-mirrored` (the gradient name runs from the
|
|
19451
|
+
* reading start) — decided from the node as AW6's seams and AW11's lists are (`nodeIsRtl`), never by `:dir(rtl)`, which
|
|
19452
|
+
* the builder canvas answers with the ADMIN's direction.
|
|
19382
19453
|
*/
|
|
19454
|
+
|
|
19383
19455
|
/** The prop (a Section's trait) the mix is stored under — generation-core `FOOTER_MIX_PROP`. */
|
|
19384
19456
|
declare const FOOTER_MIX_PROP = "footerMix";
|
|
19385
19457
|
/** Every class a mix writes starts with this — what a live re-sync removes. */
|
|
19386
19458
|
declare const FOOTER_CLASS_PREFIX = "iox-footer-";
|
|
19387
|
-
|
|
19459
|
+
/** Beside a mix's classes on a right-to-left footer: what runs along the reading direction turns the other way. */
|
|
19460
|
+
declare const FOOTER_MIRRORED_CLASS = "iox-footer-mirrored";
|
|
19461
|
+
interface FooterMixSource extends DirectionSource {
|
|
19388
19462
|
props?: Readonly<Record<string, unknown>> | null;
|
|
19389
19463
|
traits?: ReadonlyArray<{
|
|
19390
19464
|
name?: string;
|
|
@@ -19393,7 +19467,8 @@ interface FooterMixSource {
|
|
|
19393
19467
|
}
|
|
19394
19468
|
/** The stored mix's words (`arrange:ruled`), from `props` (saved) or the trait (builder); [] for none. */
|
|
19395
19469
|
declare function footerMixWordsOf(node: FooterMixSource | null | undefined): string[];
|
|
19396
|
-
/** The marker classes a footer root renders (`iox-footer-arrange-ruled iox-footer-namestyle-gradient
|
|
19470
|
+
/** The marker classes a footer root renders (`iox-footer-arrange-ruled iox-footer-namestyle-gradient`, +
|
|
19471
|
+
* `iox-footer-mirrored` on a right-to-left footer), or '' for a root with no mix. */
|
|
19397
19472
|
declare function footerMixClasses(node: FooterMixSource | null | undefined): string;
|
|
19398
19473
|
/** True for a class this module writes. */
|
|
19399
19474
|
declare function isFooterMixClass(c: string): boolean;
|
|
@@ -20203,7 +20278,18 @@ declare function missingFontRoles(tokens: ReadonlyArray<DesignTokenLike> | null
|
|
|
20203
20278
|
* weight CSS font matching picks. A family the catalog does not hold (an uploaded font, system-ui) reads each letter at
|
|
20204
20279
|
* the widest any catalog face draws it — never narrower than what the page could wear. No kerning: a display face's
|
|
20205
20280
|
* kerning closes letters up, so the sum is the wider answer. Pure and deterministic: the composer and the check agree.
|
|
20281
|
+
*
|
|
20282
|
+
* R-H-AW12-5: a family with an optical-size axis draws narrower at large sizes (the browser sets `opsz` from the font
|
|
20283
|
+
* size), so the contract also measures it at its largest optical size (`fontMetrics.display`). A word sized from those
|
|
20284
|
+
* widths ({@link OpticalSize.Display}) must wear that optical size — iox-design.css pins it on the footer's closing name.
|
|
20206
20285
|
*/
|
|
20286
|
+
/** Which optical size a word is measured at. */
|
|
20287
|
+
declare enum OpticalSize {
|
|
20288
|
+
/** The instance Google serves by default (its smallest text size — the wider answer). */
|
|
20289
|
+
Text = "text",
|
|
20290
|
+
/** The axis's largest optical size: what a word pinned to `font-variation-settings: 'opsz' <max>` wears. */
|
|
20291
|
+
Display = "display"
|
|
20292
|
+
}
|
|
20207
20293
|
/** A face as a style wears it: its font stack, weight and letter spacing (em). */
|
|
20208
20294
|
interface TypeFace {
|
|
20209
20295
|
stack: string;
|
|
@@ -20211,7 +20297,7 @@ interface TypeFace {
|
|
|
20211
20297
|
tracking: number;
|
|
20212
20298
|
}
|
|
20213
20299
|
/** How wide `text` stands in `face`, in em, on one line: every letter's advance plus the letter spacing after each. */
|
|
20214
|
-
declare function textWidthEm(text: string, face: TypeFace): number;
|
|
20300
|
+
declare function textWidthEm(text: string, face: TypeFace, optical?: OpticalSize): number;
|
|
20215
20301
|
/**
|
|
20216
20302
|
* The face an element style wears in a design: its font, weight and letter spacing as the design's tokens resolve them.
|
|
20217
20303
|
* An unknown style reads the display face; a letter spacing not in em reads none.
|
|
@@ -20726,5 +20812,5 @@ declare const isScrubId: (v: unknown) => v is `${ScrubId}`;
|
|
|
20726
20812
|
/** The look's scrub as stored: a known word, else never (a row stored before AW10 reads never). */
|
|
20727
20813
|
declare function scrubOfChoices(choices: Pick<DesignChoices, 'scrub'> | null | undefined): ScrubId;
|
|
20728
20814
|
|
|
20729
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIX_PROP, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderInk, HeaderTrait, INHERITED_TEXT, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuTrait, MotionWordTier, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, schemeOfClasses, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
20730
|
-
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ColumnId, ContrastFinding, CssFunctionControl, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
20815
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderInk, HeaderTrait, INHERITED_TEXT, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, schemeOfClasses, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
20816
|
+
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BarNode, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ColumnId, ContrastFinding, CssFunctionControl, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
@@ -1976,6 +1976,18 @@ function variantSlotOf(product, choice, quantity = 1) {
|
|
|
1976
1976
|
const variant = options.length ? findVariant(options, views, pick) : views[0] ?? null;
|
|
1977
1977
|
return variant ? { ...variant, productId: product._id, words: variantWords(variant.choice, options), quantity } : null;
|
|
1978
1978
|
}
|
|
1979
|
+
function productListPrice(product) {
|
|
1980
|
+
if (!product || !productOptions(product).length)
|
|
1981
|
+
return null;
|
|
1982
|
+
const priced = productVariants(product).filter(v => v.enabled && v.price);
|
|
1983
|
+
const sellable = priced.filter(v => v.sellable);
|
|
1984
|
+
const pool = sellable.length ? sellable : priced;
|
|
1985
|
+
if (!pool.length)
|
|
1986
|
+
return null;
|
|
1987
|
+
const cheapest = pool.reduce((low, v) => (v.price.amount < low.price.amount ? v : low));
|
|
1988
|
+
const from = pool.some(v => v.price.amount !== cheapest.price.amount);
|
|
1989
|
+
return { price: cheapest.price, compareAt: from ? null : cheapest.compareAt, from };
|
|
1990
|
+
}
|
|
1979
1991
|
|
|
1980
1992
|
/**
|
|
1981
1993
|
* The quantity a buyer may ask for — the stepper on a product page and on every cart line (commerce plan §3i). Whole
|
|
@@ -2222,6 +2234,8 @@ var ShopWord;
|
|
|
2222
2234
|
ShopWord["VatNote"] = "vatNote";
|
|
2223
2235
|
ShopWord["CheckOut"] = "checkOut";
|
|
2224
2236
|
ShopWord["KeepShopping"] = "keepShopping";
|
|
2237
|
+
/** A list card's price for a product whose options differ in price (vectoriox/iox-ui#142). */
|
|
2238
|
+
ShopWord["PriceFrom"] = "priceFrom";
|
|
2225
2239
|
})(ShopWord || (ShopWord = {}));
|
|
2226
2240
|
/** `{name}` / `{n}` / `{amount}` are filled by `shopWord`. */
|
|
2227
2241
|
const SHOP_WORDS = Object.freeze({
|
|
@@ -2246,6 +2260,7 @@ const SHOP_WORDS = Object.freeze({
|
|
|
2246
2260
|
[ShopWord.VatNote]: { en: 'Includes VAT. Delivery is chosen at checkout.', he: 'כולל מע״מ. המשלוח נבחר בקופה.' },
|
|
2247
2261
|
[ShopWord.CheckOut]: { en: 'Check out', he: 'לקופה' },
|
|
2248
2262
|
[ShopWord.KeepShopping]: { en: 'Keep shopping', he: 'המשך בקניות' },
|
|
2263
|
+
[ShopWord.PriceFrom]: { en: 'From {amount}', he: 'החל מ־{amount}' },
|
|
2249
2264
|
});
|
|
2250
2265
|
function shopWord(word, lang, fill = {}) {
|
|
2251
2266
|
const primary = String(lang ?? '').toLowerCase().split(/[-_]/)[0];
|
|
@@ -2253,6 +2268,42 @@ function shopWord(word, lang, fill = {}) {
|
|
|
2253
2268
|
const raw = primary === 'he' || primary === 'iw' ? label.he : label.en;
|
|
2254
2269
|
return raw.replace(/\{(\w+)\}/g, (all, key) => (key in fill ? String(fill[key]) : all));
|
|
2255
2270
|
}
|
|
2271
|
+
/** The stored price paths of a product a list binds (generation-core `SHOP_ROLES` `price` / `compareAt`). */
|
|
2272
|
+
var ProductPricePath;
|
|
2273
|
+
(function (ProductPricePath) {
|
|
2274
|
+
ProductPricePath["Price"] = "pricing.price";
|
|
2275
|
+
ProductPricePath["CompareAt"] = "pricing.compareat";
|
|
2276
|
+
})(ProductPricePath || (ProductPricePath = {}));
|
|
2277
|
+
/**
|
|
2278
|
+
* vectoriox/iox-ui#142 — a product's PRICE PATH read on a list card, for a product whose options carry the prices: the
|
|
2279
|
+
* `money` pipe asks it with the row the binding read and the path it read, so every list a studio already holds (bound
|
|
2280
|
+
* `pricing.price | money` to its row) shows "From ₪89.00" with no rebuild. `undefined` when it does not apply — not a
|
|
2281
|
+
* product with options, not a price path, no priced variant — and the pipe formats the stored value as before.
|
|
2282
|
+
* `currency` is used only when the product names none (the pipe's argument, else the studio's).
|
|
2283
|
+
*/
|
|
2284
|
+
function listPriceField(row, path, locale, currency) {
|
|
2285
|
+
if (path !== ProductPricePath.Price && path !== ProductPricePath.CompareAt)
|
|
2286
|
+
return undefined;
|
|
2287
|
+
if (!row || typeof row !== 'object' || Array.isArray(row))
|
|
2288
|
+
return undefined;
|
|
2289
|
+
const product = row;
|
|
2290
|
+
if (!product.productVariants)
|
|
2291
|
+
return undefined;
|
|
2292
|
+
const fallback = String(currency ?? '').trim().toUpperCase();
|
|
2293
|
+
const listed = productListPrice(product.currency || !isCurrencyCode(fallback) ? product : { ...product, currency: fallback });
|
|
2294
|
+
if (!listed)
|
|
2295
|
+
return undefined;
|
|
2296
|
+
const lang = locale || DEFAULT_MONEY_LOCALE;
|
|
2297
|
+
try {
|
|
2298
|
+
if (path === ProductPricePath.CompareAt)
|
|
2299
|
+
return listed.compareAt ? formatMoney(listed.compareAt, lang) : '';
|
|
2300
|
+
const amount = formatMoney(listed.price, lang);
|
|
2301
|
+
return listed.from ? shopWord(ShopWord.PriceFrom, lang, { amount }) : amount;
|
|
2302
|
+
}
|
|
2303
|
+
catch {
|
|
2304
|
+
return undefined;
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2256
2307
|
// ── the sample a canvas shows when no product is bound (commerce board 10, "Studio Kadar") ────────────────────────
|
|
2257
2308
|
/** Board 10's tall speckled vase: Glaze (Sand · Ash · Charcoal — Charcoal sold out) × Size (24 · 32 · 40 cm — 40 sold
|
|
2258
2309
|
* out), ₪240 against ₪280. Major units, as the storefront serves them. */
|
|
@@ -2989,5 +3040,5 @@ const REMINDER_SUBJECT_WORDS = Object.freeze({
|
|
|
2989
3040
|
* Generated bundle index. Do not edit.
|
|
2990
3041
|
*/
|
|
2991
3042
|
|
|
2992
|
-
export { ABANDONED_AFTER_MS, Availability, BuyerPaymentStage, CART_COOKIE_PREFIX, CART_ISSUE_LABELS, CART_TRANSPORT_ERROR_LABELS, CHECKOUT_FORM_STEPS, CHECKOUT_GATE_RULES, CHECKOUT_PATH, CHECKOUT_STEPS, CHECKOUT_STEP_LABELS, CHECKOUT_WORDS, COUPON_CODE_MAX, COUPON_CODE_MIN, COUPON_REFUSAL_LABELS, CURRENCY_CODES, CURRENCY_EXPONENTS, CartIssueCode, CartTransportError, CartTransportErrorCode, CheckoutAskedField, CheckoutFieldMode, CheckoutGateArea, CheckoutGateCode, CheckoutSlot, CheckoutStep, CheckoutWord, CommerceLanguage, CouponKind, CouponProblem, CouponRefusal, CurrencyCode, DEFAULT_JOURNEY_DAYS, DEFAULT_MONEY_LOCALE, DEFAULT_REMINDER_SETTINGS, DEFAULT_VARIANT_NAME, DeliveryFit, FINAL_ORDER_STATES, FUNNEL_STAGES, FunnelStage, JOURNEY_PERIODS_DAYS, JourneyEventKind, LegalPage, MAX_CART_AMOUNT, MAX_CART_LINES, MAX_LINE_QUANTITY, MAX_VAT_PERCENT, MIN_LINE_QUANTITY, MoneyError, MoneyErrorCode, NO_CART_TRANSPORT, ORDER_FRAME_PARAM, ORDER_FRAME_VALUE, ORDER_PATH, ORDER_STATE_LABELS, ORDER_STOCK_HOLD, ORDER_TRANSITIONS, OrderActor, OrderEvent, OrderRefusal, OrderSnapshotRefusal, OrderState, PAYMENT_FIELD_LABELS, PAYMENT_METHODS, PAYMENT_RETURNED, PAYMENT_VERDICT_LABELS, PaymentAttemptStatus, PaymentChannel, PaymentField, PaymentMethodKind, PaymentMismatch, PaymentProvider, PaymentResultStatus, PaymentVerdictKind, QuantityStep, RECOVERY_PATH, RECOVERY_WORDS, REMINDER_LATE_MS, REMINDER_SEQUENCE, REMINDER_STEPS, REMINDER_SUBJECT_WORDS, REMINDER_WORDS_MAX, RecoveryWord, ReminderOutcome, ReminderSkip, ReminderStep, ReminderStop, SAMPLE_CART_LINE, SAMPLE_PRODUCT, SAMPLE_STUDIO, SAMPLE_SWATCHES, SHIPPING_KINDS, SHOP_SLOTS, SHOP_WORDS, SITE_REFUSALS, STOCK_EFFECTS, STOCK_RESERVATION_MINUTES, STOREFRONT_COMPUTED_FIELDS, STOREFRONT_FIELDS, ShippingField, ShippingMethodKind, ShopSlot, ShopWord, SiteCommerceRoute, SiteOrderAction, SiteRefusalCode, StockEffect, StockHold, StorefrontCollection, UNSUBSCRIBE_PATH, VARIANT_NAME_SEPARATOR, VAT_PERCENT_MAX_DECIMALS, addMoney, addressLine, availableShippingMethods, biggestDrop, buyerMayPay, buyerPaymentStage, canBuy, canStep, cartCookieName, cartEndpointPath, cartIssueWords, cartLineId, cartOf, cartTransportErrorFor, cartViewOf, catalogKey, checkoutGate, checkoutHref, checkoutWord, chooseValue, clampQuantity, commerceLanguage, couponDiscount, couponOfferWords, couponProblems, couponRefusalWords, currencyExponent, currentCheckoutStep, defaultChoice, emptyCartView, fieldAsked, fieldRequired, findVariant, formatMoney, formatMoneyValue, freeShippingRemaining, funnelOf, furthestStep, includedVat, isAbandoned, isCouponCode, isCurrencyCode, isMoney, isOrderFrameReturn, isPaymentMethodKind, isPaymentReturnedMessage, isShippingMethodKind, isStorefrontField, isStorefrontProduct, isVatPercent, labelIn, looksLikeEmail, looksLikePhone, majorToMinor, marketingAllowed, maskEmail, mergeCarts, migrateMajorPrice, minorToMajor, money, nextOrderState, nextReminder, normalizeCouponCode, openingOrderState, optionValueStates, orderFrameReturnHref, orderHref, orderSnapshot, paymentChannelOf, paymentInstructions, paymentMethodConnected, paymentMethodProblems, paymentMethodReady, paymentReturnedMessage, paymentVerdict, percentOf, priceCart, productCurrency, productInScope, productOptions, productVariants, quantityBounds, quoteShipping, recoveryHref, recoveryWord, reminderNumber, reminderSettingsOf, reservationDue, reservationExpiresAt, reusableAttempt, sellableQuantity, shippingMethodProblems, shippingMethodReady, shippingNeedsAddress, shopWord, simulatedCartTransport, siteCartView, siteCommercePath, siteOrderActionPath, siteRefusalsOf, stepQuantity, stockEffect, stoppedAt, storefrontBindPaths, storefrontCatalog, storefrontMoney, subtractMoney, timesMoney, unsubscribeHref, usablePaymentMethods, variantChoiceOf, variantSlotOf, variantWords };
|
|
3043
|
+
export { ABANDONED_AFTER_MS, Availability, BuyerPaymentStage, CART_COOKIE_PREFIX, CART_ISSUE_LABELS, CART_TRANSPORT_ERROR_LABELS, CHECKOUT_FORM_STEPS, CHECKOUT_GATE_RULES, CHECKOUT_PATH, CHECKOUT_STEPS, CHECKOUT_STEP_LABELS, CHECKOUT_WORDS, COUPON_CODE_MAX, COUPON_CODE_MIN, COUPON_REFUSAL_LABELS, CURRENCY_CODES, CURRENCY_EXPONENTS, CartIssueCode, CartTransportError, CartTransportErrorCode, CheckoutAskedField, CheckoutFieldMode, CheckoutGateArea, CheckoutGateCode, CheckoutSlot, CheckoutStep, CheckoutWord, CommerceLanguage, CouponKind, CouponProblem, CouponRefusal, CurrencyCode, DEFAULT_JOURNEY_DAYS, DEFAULT_MONEY_LOCALE, DEFAULT_REMINDER_SETTINGS, DEFAULT_VARIANT_NAME, DeliveryFit, FINAL_ORDER_STATES, FUNNEL_STAGES, FunnelStage, JOURNEY_PERIODS_DAYS, JourneyEventKind, LegalPage, MAX_CART_AMOUNT, MAX_CART_LINES, MAX_LINE_QUANTITY, MAX_VAT_PERCENT, MIN_LINE_QUANTITY, MoneyError, MoneyErrorCode, NO_CART_TRANSPORT, ORDER_FRAME_PARAM, ORDER_FRAME_VALUE, ORDER_PATH, ORDER_STATE_LABELS, ORDER_STOCK_HOLD, ORDER_TRANSITIONS, OrderActor, OrderEvent, OrderRefusal, OrderSnapshotRefusal, OrderState, PAYMENT_FIELD_LABELS, PAYMENT_METHODS, PAYMENT_RETURNED, PAYMENT_VERDICT_LABELS, PaymentAttemptStatus, PaymentChannel, PaymentField, PaymentMethodKind, PaymentMismatch, PaymentProvider, PaymentResultStatus, PaymentVerdictKind, ProductPricePath, QuantityStep, RECOVERY_PATH, RECOVERY_WORDS, REMINDER_LATE_MS, REMINDER_SEQUENCE, REMINDER_STEPS, REMINDER_SUBJECT_WORDS, REMINDER_WORDS_MAX, RecoveryWord, ReminderOutcome, ReminderSkip, ReminderStep, ReminderStop, SAMPLE_CART_LINE, SAMPLE_PRODUCT, SAMPLE_STUDIO, SAMPLE_SWATCHES, SHIPPING_KINDS, SHOP_SLOTS, SHOP_WORDS, SITE_REFUSALS, STOCK_EFFECTS, STOCK_RESERVATION_MINUTES, STOREFRONT_COMPUTED_FIELDS, STOREFRONT_FIELDS, ShippingField, ShippingMethodKind, ShopSlot, ShopWord, SiteCommerceRoute, SiteOrderAction, SiteRefusalCode, StockEffect, StockHold, StorefrontCollection, UNSUBSCRIBE_PATH, VARIANT_NAME_SEPARATOR, VAT_PERCENT_MAX_DECIMALS, addMoney, addressLine, availableShippingMethods, biggestDrop, buyerMayPay, buyerPaymentStage, canBuy, canStep, cartCookieName, cartEndpointPath, cartIssueWords, cartLineId, cartOf, cartTransportErrorFor, cartViewOf, catalogKey, checkoutGate, checkoutHref, checkoutWord, chooseValue, clampQuantity, commerceLanguage, couponDiscount, couponOfferWords, couponProblems, couponRefusalWords, currencyExponent, currentCheckoutStep, defaultChoice, emptyCartView, fieldAsked, fieldRequired, findVariant, formatMoney, formatMoneyValue, freeShippingRemaining, funnelOf, furthestStep, includedVat, isAbandoned, isCouponCode, isCurrencyCode, isMoney, isOrderFrameReturn, isPaymentMethodKind, isPaymentReturnedMessage, isShippingMethodKind, isStorefrontField, isStorefrontProduct, isVatPercent, labelIn, listPriceField, looksLikeEmail, looksLikePhone, majorToMinor, marketingAllowed, maskEmail, mergeCarts, migrateMajorPrice, minorToMajor, money, nextOrderState, nextReminder, normalizeCouponCode, openingOrderState, optionValueStates, orderFrameReturnHref, orderHref, orderSnapshot, paymentChannelOf, paymentInstructions, paymentMethodConnected, paymentMethodProblems, paymentMethodReady, paymentReturnedMessage, paymentVerdict, percentOf, priceCart, productCurrency, productInScope, productListPrice, productOptions, productVariants, quantityBounds, quoteShipping, recoveryHref, recoveryWord, reminderNumber, reminderSettingsOf, reservationDue, reservationExpiresAt, reusableAttempt, sellableQuantity, shippingMethodProblems, shippingMethodReady, shippingNeedsAddress, shopWord, simulatedCartTransport, siteCartView, siteCommercePath, siteOrderActionPath, siteRefusalsOf, stepQuantity, stockEffect, stoppedAt, storefrontBindPaths, storefrontCatalog, storefrontMoney, subtractMoney, timesMoney, unsubscribeHref, usablePaymentMethods, variantChoiceOf, variantSlotOf, variantWords };
|
|
2993
3044
|
//# sourceMappingURL=vectoriox-iox-ui-commerce-core.mjs.map
|