@cimplify/sdk 0.84.0 → 0.85.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/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/{chunk-ODEPW244.js → chunk-A6J7W6DH.js} +2 -2
- package/dist/{chunk-I6RE4BKH.mjs → chunk-DU4IX2I2.mjs} +1 -1
- package/dist/{chunk-PLTP6HWW.mjs → chunk-GIFVSWYJ.mjs} +18 -18
- package/dist/{chunk-FKBXZ2A6.js → chunk-NWTCBGJ2.js} +18 -18
- package/dist/{client-BjUJapti.d.mts → client-BEhIE0Dm.d.mts} +2 -2
- package/dist/{client-D8AjO8jb.d.ts → client-BT5gaiGR.d.ts} +2 -2
- package/dist/{client-Ba4Hng9i.d.mts → client-DLtwQ-jI.d.mts} +2 -2
- package/dist/{client-CINi3Dw3.d.ts → client-WKKxIiF1.d.ts} +2 -2
- package/dist/{index-DCPxHjbj.d.ts → index-BrC1x2kK.d.ts} +3 -3
- package/dist/{index-9Bl-zBAI.d.mts → index-DZz6hdrT.d.mts} +3 -3
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/mock/cli.mjs +657 -353
- package/dist/mock/library.js +18 -18
- package/dist/mock/library.mjs +18 -18
- package/dist/mock/msw.js +18 -18
- package/dist/mock/msw.mjs +18 -18
- package/dist/{payment-BVv9leS_.d.ts → payment-D1f3ZQPC.d.ts} +1 -1
- package/dist/{payment-D61iGd0o.d.mts → payment-Dh-6cRcV.d.mts} +1 -1
- package/dist/{price-Cthq6nPb.d.mts → price-4T7dlhxM.d.mts} +3 -1
- package/dist/{price-BYWCHYO5.d.ts → price-CQdOJoX-.d.ts} +3 -1
- package/dist/{product-2MAoE0kZ.d.mts → product-RJMIdCAf.d.mts} +14 -2
- package/dist/{product-2MAoE0kZ.d.ts → product-RJMIdCAf.d.ts} +14 -2
- package/dist/react.d.mts +20 -5
- package/dist/react.d.ts +20 -5
- package/dist/react.js +38 -16
- package/dist/react.mjs +38 -17
- package/dist/{server-BjQ0xWmc.d.mts → server-DjK98UW-.d.mts} +1 -1
- package/dist/{server-DDaQIYLa.d.ts → server-DvThXldo.d.ts} +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/styles.css +1 -1
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +21 -21
- package/dist/testing/suite.mjs +2 -2
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +77 -77
- package/dist/testing.mjs +3 -3
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +21 -21
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const __money: unique symbol;
|
|
2
|
-
type Money = number & {
|
|
2
|
+
type Money = (string | number) & {
|
|
3
3
|
readonly [__money]: true;
|
|
4
4
|
};
|
|
5
5
|
declare function money(value: string | number): Money;
|
|
@@ -721,6 +721,16 @@ interface SaleInfo {
|
|
|
721
721
|
badge_text?: string | null;
|
|
722
722
|
cap?: SaleCapInfo | null;
|
|
723
723
|
}
|
|
724
|
+
/**
|
|
725
|
+
* A recurring sale that isn't live right now but returns at `starts_at` — the
|
|
726
|
+
* "back this Saturday" teaser. Surfaced on a product only when it has no live
|
|
727
|
+
* `sale`. Drives {@link SaleTeaser}.
|
|
728
|
+
*/
|
|
729
|
+
interface UpcomingSale {
|
|
730
|
+
/** ISO timestamp the sale next opens. */
|
|
731
|
+
starts_at: string;
|
|
732
|
+
badge_text?: string | null;
|
|
733
|
+
}
|
|
724
734
|
|
|
725
735
|
type ProductType = "product" | "service" | "digital" | "bundle" | "composite";
|
|
726
736
|
declare const PRODUCT_TYPE: {
|
|
@@ -856,6 +866,8 @@ interface Product {
|
|
|
856
866
|
default_price: Money;
|
|
857
867
|
/** Sales-engine overlay from the pricing API, when the product is on sale. */
|
|
858
868
|
sale?: SaleInfo | null;
|
|
869
|
+
/** A recurring sale that returns soon — present only when there's no live `sale`. */
|
|
870
|
+
upcoming_sale?: UpcomingSale | null;
|
|
859
871
|
type: ProductType;
|
|
860
872
|
render_hint?: ProductRenderHint;
|
|
861
873
|
display_mode?: DisplayMode;
|
|
@@ -1567,4 +1579,4 @@ interface TagsResponse {
|
|
|
1567
1579
|
offset: number;
|
|
1568
1580
|
}
|
|
1569
1581
|
|
|
1570
|
-
export { type ComponentSelectionInput as $, type AddOn as A, type BenefitType as B, type BundleSelectionInput as C, type BundleStoredSelection as D, type BundleSummary as E, type BundleWithDetails as F, type Cart as G, type CartAddOn as H, type CartChannel as I, type CartItem as J, type CartItemDetails as K, type CartMutationResult as L, type CartNotice as M, type CartStatus as N, type CartSummary as O, type CartTotals as P, type Category as Q, type CategorySummary as R, type ChosenPrice as S, CimplifyError as T, type Collection as U, type CollectionProduct as V, type CollectionSummary as W, type ComponentGroup as X, type ComponentGroupWithComponents as Y, type ComponentPriceBreakdown as Z, type ComponentSchedulingData as _, type AddOnDetails as a, type ProductBillingPlan as a$, type ComponentSourceType as a0, type Composite as a1, type CompositeComponent as a2, type CompositeComponentView as a3, type CompositeGroupView as a4, type CompositePriceBreakdown as a5, type CompositePriceResult as a6, type CompositePricingMode as a7, type CompositeSelectionData as a8, type CompositeStoredSelection as a9, type FormattedPlanOption as aA, type GroupPricingBehavior as aB, INPUT_FIELD_TYPE as aC, IdempotencyMismatchError as aD, type InputFieldType as aE, type InputFieldValidation as aF, type InventoryType as aG, type KnowledgeArticle as aH, type LineConfiguration as aI, type LocationProductPrice as aJ, type LocationValue as aK, type MeasurementValue as aL, type Money as aM, PRODUCT_TYPE as aN, type Pagination as aO, type PaginationParams as aP, type PhoneValue as aQ, type Price as aR, type PriceAdjustment as aS, type PriceDecisionPath as aT, type PriceEntryType as aU, type PricePathTaxInfo as aV, type PriceSource as aW, type Product as aX, type ProductAddOn as aY, type ProductAvailability as aZ, type ProductAvailabilityNow as a_, type CompositeWithDetails as aa, type CurrencyCode as ab, type CustomAttributeDefinition as ac, type CustomAttributeValue as ad, type CustomerInputValue as ae, DURATION_UNIT as af, type DateRangeValue as ag, type Deal as ah, type DealBenefitType as ai, type DepositType as aj, type DigitalProductType as ak, type DiscountBreakdown as al, type DiscountDetails as am, type DiscountValidation as an, type DisplayAddOn as ao, type DisplayAddOnOption as ap, type DisplayCart as aq, type DisplayCartItem as ar, type DisplayMode as as, type DurationUnit as at, ERROR_HINTS as au, type EligiblePlansQuery as av, ErrorCode as aw, type ErrorCodeType as ax, type ErrorHint as ay, type FacetValue as az, type AddOnGroupDetails as b, type ProductDealInfo as b0, type ProductInputField as b1, type ProductProperty as b2, type ProductRenderHint as b3, type ProductTaxonomy as b4, type ProductTimeProfile as b5, type ProductType as b6, type ProductVariant as b7, type ProductVariantValue as b8, type ProductWithDetails as b9, type UICartPricing as bA, type
|
|
1582
|
+
export { type ComponentSelectionInput as $, type AddOn as A, type BenefitType as B, type BundleSelectionInput as C, type BundleStoredSelection as D, type BundleSummary as E, type BundleWithDetails as F, type Cart as G, type CartAddOn as H, type CartChannel as I, type CartItem as J, type CartItemDetails as K, type CartMutationResult as L, type CartNotice as M, type CartStatus as N, type CartSummary as O, type CartTotals as P, type Category as Q, type CategorySummary as R, type ChosenPrice as S, CimplifyError as T, type Collection as U, type CollectionProduct as V, type CollectionSummary as W, type ComponentGroup as X, type ComponentGroupWithComponents as Y, type ComponentPriceBreakdown as Z, type ComponentSchedulingData as _, type AddOnDetails as a, type ProductBillingPlan as a$, type ComponentSourceType as a0, type Composite as a1, type CompositeComponent as a2, type CompositeComponentView as a3, type CompositeGroupView as a4, type CompositePriceBreakdown as a5, type CompositePriceResult as a6, type CompositePricingMode as a7, type CompositeSelectionData as a8, type CompositeStoredSelection as a9, type FormattedPlanOption as aA, type GroupPricingBehavior as aB, INPUT_FIELD_TYPE as aC, IdempotencyMismatchError as aD, type InputFieldType as aE, type InputFieldValidation as aF, type InventoryType as aG, type KnowledgeArticle as aH, type LineConfiguration as aI, type LocationProductPrice as aJ, type LocationValue as aK, type MeasurementValue as aL, type Money as aM, PRODUCT_TYPE as aN, type Pagination as aO, type PaginationParams as aP, type PhoneValue as aQ, type Price as aR, type PriceAdjustment as aS, type PriceDecisionPath as aT, type PriceEntryType as aU, type PricePathTaxInfo as aV, type PriceSource as aW, type Product as aX, type ProductAddOn as aY, type ProductAvailability as aZ, type ProductAvailabilityNow as a_, type CompositeWithDetails as aa, type CurrencyCode as ab, type CustomAttributeDefinition as ac, type CustomAttributeValue as ad, type CustomerInputValue as ae, DURATION_UNIT as af, type DateRangeValue as ag, type Deal as ah, type DealBenefitType as ai, type DepositType as aj, type DigitalProductType as ak, type DiscountBreakdown as al, type DiscountDetails as am, type DiscountValidation as an, type DisplayAddOn as ao, type DisplayAddOnOption as ap, type DisplayCart as aq, type DisplayCartItem as ar, type DisplayMode as as, type DurationUnit as at, ERROR_HINTS as au, type EligiblePlansQuery as av, ErrorCode as aw, type ErrorCodeType as ax, type ErrorHint as ay, type FacetValue as az, type AddOnGroupDetails as b, type ProductDealInfo as b0, type ProductInputField as b1, type ProductProperty as b2, type ProductRenderHint as b3, type ProductTaxonomy as b4, type ProductTimeProfile as b5, type ProductType as b6, type ProductVariant as b7, type ProductVariantValue as b8, type ProductWithDetails as b9, type UICartPricing as bA, type UpcomingSale as bB, type UpdateCartItemInput as bC, type VariantAxis as bD, type VariantAxisSelection as bE, type VariantAxisValue as bF, type VariantAxisValueView as bG, type VariantAxisView as bH, type VariantAxisWithValues as bI, type VariantDetails as bJ, type VariantDetailsDTO as bK, type VariantDisplayAttribute as bL, type VariantLocationAvailability as bM, type VariantStrategy as bN, type VariantView as bO, ZERO as bP, currencyCode as bQ, enrichError as bR, getErrorHint as bS, isCimplifyError as bT, isIdempotencyMismatchError as bU, isQuoteConflictRequiringConsent as bV, isQuoteError as bW, isRetryableError as bX, isSupportedCurrency as bY, money as bZ, moneyFromNumber as b_, type PropertyFacet as ba, type PropertySource as bb, type QuantityPricingTier as bc, RENDER_HINT as bd, type RelatedProductView as be, type SaleCapInfo as bf, type SaleInfo as bg, type SalesChannel as bh, type SchedulingMode as bi, type SelectedAddOnOption as bj, type SemanticKind as bk, type SignatureValue as bl, type Subscription as bm, type SubscriptionInvoice as bn, type SubscriptionItem as bo, type SubscriptionStatus as bp, type SubscriptionWithDetails as bq, type Tag as br, type TagsResponse as bs, type TaxPathComponent as bt, type TaxonomyAttributeTemplate as bu, type TaxonomyWithChildren as bv, type UICart as bw, type UICartBusiness as bx, type UICartCustomer as by, type UICartLocation as bz, type AddOnOption as c, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BillingFrequency as p, type BillingMarkupType as q, type BillingPlanType as r, type Bundle as s, type BundleComponentData as t, type BundleComponentInfo as u, type BundleComponentVariantView as v, type BundleComponentView as w, type BundlePriceType as x, type BundleProduct as y, type BundleSelectionData as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const __money: unique symbol;
|
|
2
|
-
type Money = number & {
|
|
2
|
+
type Money = (string | number) & {
|
|
3
3
|
readonly [__money]: true;
|
|
4
4
|
};
|
|
5
5
|
declare function money(value: string | number): Money;
|
|
@@ -721,6 +721,16 @@ interface SaleInfo {
|
|
|
721
721
|
badge_text?: string | null;
|
|
722
722
|
cap?: SaleCapInfo | null;
|
|
723
723
|
}
|
|
724
|
+
/**
|
|
725
|
+
* A recurring sale that isn't live right now but returns at `starts_at` — the
|
|
726
|
+
* "back this Saturday" teaser. Surfaced on a product only when it has no live
|
|
727
|
+
* `sale`. Drives {@link SaleTeaser}.
|
|
728
|
+
*/
|
|
729
|
+
interface UpcomingSale {
|
|
730
|
+
/** ISO timestamp the sale next opens. */
|
|
731
|
+
starts_at: string;
|
|
732
|
+
badge_text?: string | null;
|
|
733
|
+
}
|
|
724
734
|
|
|
725
735
|
type ProductType = "product" | "service" | "digital" | "bundle" | "composite";
|
|
726
736
|
declare const PRODUCT_TYPE: {
|
|
@@ -856,6 +866,8 @@ interface Product {
|
|
|
856
866
|
default_price: Money;
|
|
857
867
|
/** Sales-engine overlay from the pricing API, when the product is on sale. */
|
|
858
868
|
sale?: SaleInfo | null;
|
|
869
|
+
/** A recurring sale that returns soon — present only when there's no live `sale`. */
|
|
870
|
+
upcoming_sale?: UpcomingSale | null;
|
|
859
871
|
type: ProductType;
|
|
860
872
|
render_hint?: ProductRenderHint;
|
|
861
873
|
display_mode?: DisplayMode;
|
|
@@ -1567,4 +1579,4 @@ interface TagsResponse {
|
|
|
1567
1579
|
offset: number;
|
|
1568
1580
|
}
|
|
1569
1581
|
|
|
1570
|
-
export { type ComponentSelectionInput as $, type AddOn as A, type BenefitType as B, type BundleSelectionInput as C, type BundleStoredSelection as D, type BundleSummary as E, type BundleWithDetails as F, type Cart as G, type CartAddOn as H, type CartChannel as I, type CartItem as J, type CartItemDetails as K, type CartMutationResult as L, type CartNotice as M, type CartStatus as N, type CartSummary as O, type CartTotals as P, type Category as Q, type CategorySummary as R, type ChosenPrice as S, CimplifyError as T, type Collection as U, type CollectionProduct as V, type CollectionSummary as W, type ComponentGroup as X, type ComponentGroupWithComponents as Y, type ComponentPriceBreakdown as Z, type ComponentSchedulingData as _, type AddOnDetails as a, type ProductBillingPlan as a$, type ComponentSourceType as a0, type Composite as a1, type CompositeComponent as a2, type CompositeComponentView as a3, type CompositeGroupView as a4, type CompositePriceBreakdown as a5, type CompositePriceResult as a6, type CompositePricingMode as a7, type CompositeSelectionData as a8, type CompositeStoredSelection as a9, type FormattedPlanOption as aA, type GroupPricingBehavior as aB, INPUT_FIELD_TYPE as aC, IdempotencyMismatchError as aD, type InputFieldType as aE, type InputFieldValidation as aF, type InventoryType as aG, type KnowledgeArticle as aH, type LineConfiguration as aI, type LocationProductPrice as aJ, type LocationValue as aK, type MeasurementValue as aL, type Money as aM, PRODUCT_TYPE as aN, type Pagination as aO, type PaginationParams as aP, type PhoneValue as aQ, type Price as aR, type PriceAdjustment as aS, type PriceDecisionPath as aT, type PriceEntryType as aU, type PricePathTaxInfo as aV, type PriceSource as aW, type Product as aX, type ProductAddOn as aY, type ProductAvailability as aZ, type ProductAvailabilityNow as a_, type CompositeWithDetails as aa, type CurrencyCode as ab, type CustomAttributeDefinition as ac, type CustomAttributeValue as ad, type CustomerInputValue as ae, DURATION_UNIT as af, type DateRangeValue as ag, type Deal as ah, type DealBenefitType as ai, type DepositType as aj, type DigitalProductType as ak, type DiscountBreakdown as al, type DiscountDetails as am, type DiscountValidation as an, type DisplayAddOn as ao, type DisplayAddOnOption as ap, type DisplayCart as aq, type DisplayCartItem as ar, type DisplayMode as as, type DurationUnit as at, ERROR_HINTS as au, type EligiblePlansQuery as av, ErrorCode as aw, type ErrorCodeType as ax, type ErrorHint as ay, type FacetValue as az, type AddOnGroupDetails as b, type ProductDealInfo as b0, type ProductInputField as b1, type ProductProperty as b2, type ProductRenderHint as b3, type ProductTaxonomy as b4, type ProductTimeProfile as b5, type ProductType as b6, type ProductVariant as b7, type ProductVariantValue as b8, type ProductWithDetails as b9, type UICartPricing as bA, type
|
|
1582
|
+
export { type ComponentSelectionInput as $, type AddOn as A, type BenefitType as B, type BundleSelectionInput as C, type BundleStoredSelection as D, type BundleSummary as E, type BundleWithDetails as F, type Cart as G, type CartAddOn as H, type CartChannel as I, type CartItem as J, type CartItemDetails as K, type CartMutationResult as L, type CartNotice as M, type CartStatus as N, type CartSummary as O, type CartTotals as P, type Category as Q, type CategorySummary as R, type ChosenPrice as S, CimplifyError as T, type Collection as U, type CollectionProduct as V, type CollectionSummary as W, type ComponentGroup as X, type ComponentGroupWithComponents as Y, type ComponentPriceBreakdown as Z, type ComponentSchedulingData as _, type AddOnDetails as a, type ProductBillingPlan as a$, type ComponentSourceType as a0, type Composite as a1, type CompositeComponent as a2, type CompositeComponentView as a3, type CompositeGroupView as a4, type CompositePriceBreakdown as a5, type CompositePriceResult as a6, type CompositePricingMode as a7, type CompositeSelectionData as a8, type CompositeStoredSelection as a9, type FormattedPlanOption as aA, type GroupPricingBehavior as aB, INPUT_FIELD_TYPE as aC, IdempotencyMismatchError as aD, type InputFieldType as aE, type InputFieldValidation as aF, type InventoryType as aG, type KnowledgeArticle as aH, type LineConfiguration as aI, type LocationProductPrice as aJ, type LocationValue as aK, type MeasurementValue as aL, type Money as aM, PRODUCT_TYPE as aN, type Pagination as aO, type PaginationParams as aP, type PhoneValue as aQ, type Price as aR, type PriceAdjustment as aS, type PriceDecisionPath as aT, type PriceEntryType as aU, type PricePathTaxInfo as aV, type PriceSource as aW, type Product as aX, type ProductAddOn as aY, type ProductAvailability as aZ, type ProductAvailabilityNow as a_, type CompositeWithDetails as aa, type CurrencyCode as ab, type CustomAttributeDefinition as ac, type CustomAttributeValue as ad, type CustomerInputValue as ae, DURATION_UNIT as af, type DateRangeValue as ag, type Deal as ah, type DealBenefitType as ai, type DepositType as aj, type DigitalProductType as ak, type DiscountBreakdown as al, type DiscountDetails as am, type DiscountValidation as an, type DisplayAddOn as ao, type DisplayAddOnOption as ap, type DisplayCart as aq, type DisplayCartItem as ar, type DisplayMode as as, type DurationUnit as at, ERROR_HINTS as au, type EligiblePlansQuery as av, ErrorCode as aw, type ErrorCodeType as ax, type ErrorHint as ay, type FacetValue as az, type AddOnGroupDetails as b, type ProductDealInfo as b0, type ProductInputField as b1, type ProductProperty as b2, type ProductRenderHint as b3, type ProductTaxonomy as b4, type ProductTimeProfile as b5, type ProductType as b6, type ProductVariant as b7, type ProductVariantValue as b8, type ProductWithDetails as b9, type UICartPricing as bA, type UpcomingSale as bB, type UpdateCartItemInput as bC, type VariantAxis as bD, type VariantAxisSelection as bE, type VariantAxisValue as bF, type VariantAxisValueView as bG, type VariantAxisView as bH, type VariantAxisWithValues as bI, type VariantDetails as bJ, type VariantDetailsDTO as bK, type VariantDisplayAttribute as bL, type VariantLocationAvailability as bM, type VariantStrategy as bN, type VariantView as bO, ZERO as bP, currencyCode as bQ, enrichError as bR, getErrorHint as bS, isCimplifyError as bT, isIdempotencyMismatchError as bU, isQuoteConflictRequiringConsent as bV, isQuoteError as bW, isRetryableError as bX, isSupportedCurrency as bY, money as bZ, moneyFromNumber as b_, type PropertyFacet as ba, type PropertySource as bb, type QuantityPricingTier as bc, RENDER_HINT as bd, type RelatedProductView as be, type SaleCapInfo as bf, type SaleInfo as bg, type SalesChannel as bh, type SchedulingMode as bi, type SelectedAddOnOption as bj, type SemanticKind as bk, type SignatureValue as bl, type Subscription as bm, type SubscriptionInvoice as bn, type SubscriptionItem as bo, type SubscriptionStatus as bp, type SubscriptionWithDetails as bq, type Tag as br, type TagsResponse as bs, type TaxPathComponent as bt, type TaxonomyAttributeTemplate as bu, type TaxonomyWithChildren as bv, type UICart as bw, type UICartBusiness as bx, type UICartCustomer as by, type UICartLocation as bz, type AddOnOption as c, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BillingFrequency as p, type BillingMarkupType as q, type BillingPlanType as r, type Bundle as s, type BundleComponentData as t, type BundleComponentInfo as u, type BundleComponentVariantView as v, type BundleComponentView as w, type BundlePriceType as x, type BundleProduct as y, type BundleSelectionData as z };
|
package/dist/react.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
|
|
4
|
-
import { ad as CimplifyClient, cm as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, aX as EnrichedOrderItem, aW as EnrichedOrder, w as Business, bs as Location, cD as ReorderResult, c2 as OrderStatus, bI as Order, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, ci as PriceQuote, cs as QuoteUiMessage, cY as Service, r as AvailableSlot, av as DayAvailability, an as CustomerBooking, M as CancelBookingResult, f as ActivityStateResponse, d5 as SessionMessage, c as ActivityRecommendation, ax as DeliveryFeeResponse, az as DeliveryOptionsResponse, b8 as FxRateResponse, de as StoreCreditBalance, dg as StorefrontBootstrap, Y as ChatWidgetStarter, X as ChatMessage, h as AddressInfo, n as AuthenticatedData, aV as ElementsOptions, cc as PaymentMethodInfo, aT as ElementsCheckoutResult, cl as ProcessCheckoutOptions, ag as CimplifyElements, bj as LineItem, d8 as Staff, cT as Room } from './client-
|
|
4
|
+
import { ad as CimplifyClient, cm as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, aX as EnrichedOrderItem, aW as EnrichedOrder, w as Business, bs as Location, cD as ReorderResult, c2 as OrderStatus, bI as Order, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, ci as PriceQuote, cs as QuoteUiMessage, cY as Service, r as AvailableSlot, av as DayAvailability, an as CustomerBooking, M as CancelBookingResult, f as ActivityStateResponse, d5 as SessionMessage, c as ActivityRecommendation, ax as DeliveryFeeResponse, az as DeliveryOptionsResponse, b8 as FxRateResponse, de as StoreCreditBalance, dg as StorefrontBootstrap, Y as ChatWidgetStarter, X as ChatMessage, h as AddressInfo, n as AuthenticatedData, aV as ElementsOptions, cc as PaymentMethodInfo, aT as ElementsCheckoutResult, cl as ProcessCheckoutOptions, ag as CimplifyElements, bj as LineItem, d8 as Staff, cT as Room } from './client-DLtwQ-jI.mjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan,
|
|
7
|
-
import { P as ProductWithPrice } from './price-
|
|
6
|
+
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-RJMIdCAf.mjs';
|
|
7
|
+
import { P as ProductWithPrice } from './price-4T7dlhxM.mjs';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-Dh-6cRcV.mjs';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -1980,6 +1980,21 @@ interface SalePriceProps {
|
|
|
1980
1980
|
* degrades to a plain {@link Price}, so it's safe to render unconditionally.
|
|
1981
1981
|
*/
|
|
1982
1982
|
declare function SalePrice({ sale, amount, currency, showBadge, showCountdown, showClaim, className, classNames, }: SalePriceProps): React$1.ReactElement;
|
|
1983
|
+
interface SaleTeaserProps {
|
|
1984
|
+
/** The upcoming-sale block from the product. When absent, nothing renders. */
|
|
1985
|
+
upcoming?: UpcomingSale | null;
|
|
1986
|
+
/** Override the default "Back {date}" label, e.g. ({ when }) => `Returns ${when}`. */
|
|
1987
|
+
children?: (formatted: {
|
|
1988
|
+
when: string;
|
|
1989
|
+
}) => React$1.ReactNode;
|
|
1990
|
+
className?: string;
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* SaleTeaser — a "back this Saturday" pill for a recurring sale that isn't live
|
|
1994
|
+
* right now (driven by the product's `upcoming_sale`). Renders nothing until
|
|
1995
|
+
* mounted, so the locale-formatted date can't cause a hydration mismatch.
|
|
1996
|
+
*/
|
|
1997
|
+
declare function SaleTeaser({ upcoming, children, className, }: SaleTeaserProps): React$1.ReactElement | null;
|
|
1983
1998
|
|
|
1984
1999
|
interface ProductSheetClassNames {
|
|
1985
2000
|
root?: string;
|
|
@@ -3787,4 +3802,4 @@ interface ChatWidgetProps {
|
|
|
3787
3802
|
}
|
|
3788
3803
|
declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3789
3804
|
|
|
3790
|
-
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
3805
|
+
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
package/dist/react.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
|
|
4
|
-
import { ad as CimplifyClient, cm as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, aX as EnrichedOrderItem, aW as EnrichedOrder, w as Business, bs as Location, cD as ReorderResult, c2 as OrderStatus, bI as Order, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, ci as PriceQuote, cs as QuoteUiMessage, cY as Service, r as AvailableSlot, av as DayAvailability, an as CustomerBooking, M as CancelBookingResult, f as ActivityStateResponse, d5 as SessionMessage, c as ActivityRecommendation, ax as DeliveryFeeResponse, az as DeliveryOptionsResponse, b8 as FxRateResponse, de as StoreCreditBalance, dg as StorefrontBootstrap, Y as ChatWidgetStarter, X as ChatMessage, h as AddressInfo, n as AuthenticatedData, aV as ElementsOptions, cc as PaymentMethodInfo, aT as ElementsCheckoutResult, cl as ProcessCheckoutOptions, ag as CimplifyElements, bj as LineItem, d8 as Staff, cT as Room } from './client-
|
|
4
|
+
import { ad as CimplifyClient, cm as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, aX as EnrichedOrderItem, aW as EnrichedOrder, w as Business, bs as Location, cD as ReorderResult, c2 as OrderStatus, bI as Order, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, ci as PriceQuote, cs as QuoteUiMessage, cY as Service, r as AvailableSlot, av as DayAvailability, an as CustomerBooking, M as CancelBookingResult, f as ActivityStateResponse, d5 as SessionMessage, c as ActivityRecommendation, ax as DeliveryFeeResponse, az as DeliveryOptionsResponse, b8 as FxRateResponse, de as StoreCreditBalance, dg as StorefrontBootstrap, Y as ChatWidgetStarter, X as ChatMessage, h as AddressInfo, n as AuthenticatedData, aV as ElementsOptions, cc as PaymentMethodInfo, aT as ElementsCheckoutResult, cl as ProcessCheckoutOptions, ag as CimplifyElements, bj as LineItem, d8 as Staff, cT as Room } from './client-WKKxIiF1.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan,
|
|
7
|
-
import { P as ProductWithPrice } from './price-
|
|
6
|
+
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-RJMIdCAf.js';
|
|
7
|
+
import { P as ProductWithPrice } from './price-CQdOJoX-.js';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-D1f3ZQPC.js';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -1980,6 +1980,21 @@ interface SalePriceProps {
|
|
|
1980
1980
|
* degrades to a plain {@link Price}, so it's safe to render unconditionally.
|
|
1981
1981
|
*/
|
|
1982
1982
|
declare function SalePrice({ sale, amount, currency, showBadge, showCountdown, showClaim, className, classNames, }: SalePriceProps): React$1.ReactElement;
|
|
1983
|
+
interface SaleTeaserProps {
|
|
1984
|
+
/** The upcoming-sale block from the product. When absent, nothing renders. */
|
|
1985
|
+
upcoming?: UpcomingSale | null;
|
|
1986
|
+
/** Override the default "Back {date}" label, e.g. ({ when }) => `Returns ${when}`. */
|
|
1987
|
+
children?: (formatted: {
|
|
1988
|
+
when: string;
|
|
1989
|
+
}) => React$1.ReactNode;
|
|
1990
|
+
className?: string;
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* SaleTeaser — a "back this Saturday" pill for a recurring sale that isn't live
|
|
1994
|
+
* right now (driven by the product's `upcoming_sale`). Renders nothing until
|
|
1995
|
+
* mounted, so the locale-formatted date can't cause a hydration mismatch.
|
|
1996
|
+
*/
|
|
1997
|
+
declare function SaleTeaser({ upcoming, children, className, }: SaleTeaserProps): React$1.ReactElement | null;
|
|
1983
1998
|
|
|
1984
1999
|
interface ProductSheetClassNames {
|
|
1985
2000
|
root?: string;
|
|
@@ -3787,4 +3802,4 @@ interface ChatWidgetProps {
|
|
|
3787
3802
|
}
|
|
3788
3803
|
declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3789
3804
|
|
|
3790
|
-
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
3805
|
+
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
package/dist/react.js
CHANGED
|
@@ -3442,7 +3442,7 @@ function CimplifySignInButton({
|
|
|
3442
3442
|
}) {
|
|
3443
3443
|
const [busy, setBusy] = React14.useState(false);
|
|
3444
3444
|
const onClick = async () => {
|
|
3445
|
-
if (busy || disabled) return;
|
|
3445
|
+
if (busy || disabled || !signInOpts.clientId) return;
|
|
3446
3446
|
setBusy(true);
|
|
3447
3447
|
await chunkHPN5R3K2_js.startSignIn({
|
|
3448
3448
|
...signInOpts,
|
|
@@ -4155,14 +4155,13 @@ function CimplifyUserButton({
|
|
|
4155
4155
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-flex items-center", className), "data-cimplify-user-button": "loading", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "size-8 rounded-full bg-muted/60 animate-pulse" }) });
|
|
4156
4156
|
}
|
|
4157
4157
|
if (!session) {
|
|
4158
|
-
if (!clientId || !redirectUri) return null;
|
|
4159
4158
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4160
4159
|
CimplifySignInButton,
|
|
4161
4160
|
{
|
|
4162
4161
|
variant: "outline",
|
|
4163
4162
|
label: signInLabel ?? "Sign in",
|
|
4164
|
-
clientId,
|
|
4165
|
-
redirectUri,
|
|
4163
|
+
clientId: clientId ?? "",
|
|
4164
|
+
redirectUri: redirectUri ?? "",
|
|
4166
4165
|
onSuccess: onSignIn,
|
|
4167
4166
|
className
|
|
4168
4167
|
}
|
|
@@ -7870,29 +7869,30 @@ function DatePicker({
|
|
|
7870
7869
|
classNames: {
|
|
7871
7870
|
months: "flex flex-col gap-3",
|
|
7872
7871
|
month: "flex flex-col gap-3",
|
|
7873
|
-
|
|
7872
|
+
month_caption: "flex items-center justify-between px-1",
|
|
7874
7873
|
caption_label: "text-sm font-semibold",
|
|
7875
7874
|
nav: "flex items-center gap-1",
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
day:
|
|
7875
|
+
button_previous: "inline-flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground hover:bg-muted transition-colors",
|
|
7876
|
+
button_next: "inline-flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground hover:bg-muted transition-colors",
|
|
7877
|
+
month_grid: "w-full border-collapse",
|
|
7878
|
+
weekdays: "flex",
|
|
7879
|
+
weekday: "w-9 text-center text-[10px] font-medium uppercase tracking-wider text-muted-foreground",
|
|
7880
|
+
week: "flex w-full mt-1",
|
|
7881
|
+
day: "w-9 h-9 text-center text-sm p-0 relative",
|
|
7882
|
+
day_button: cn(
|
|
7883
7883
|
"inline-flex h-9 w-9 items-center justify-center rounded-md text-sm font-normal text-foreground hover:bg-muted transition-colors",
|
|
7884
7884
|
"aria-selected:bg-foreground aria-selected:text-background aria-selected:hover:bg-foreground/90"
|
|
7885
7885
|
),
|
|
7886
|
-
|
|
7886
|
+
selected: cn(
|
|
7887
7887
|
"bg-foreground text-background hover:bg-foreground/90 focus:bg-foreground",
|
|
7888
7888
|
classNames?.daySelected
|
|
7889
7889
|
),
|
|
7890
|
-
|
|
7890
|
+
today: cn(
|
|
7891
7891
|
"ring-1 ring-inset ring-primary/40",
|
|
7892
7892
|
classNames?.dayToday
|
|
7893
7893
|
),
|
|
7894
|
-
|
|
7895
|
-
|
|
7894
|
+
outside: "text-muted-foreground/50",
|
|
7895
|
+
disabled: cn(
|
|
7896
7896
|
"text-muted-foreground/40 cursor-not-allowed line-through",
|
|
7897
7897
|
classNames?.dayDisabled
|
|
7898
7898
|
)
|
|
@@ -10616,6 +10616,27 @@ function SaleCountdown({
|
|
|
10616
10616
|
label
|
|
10617
10617
|
] });
|
|
10618
10618
|
}
|
|
10619
|
+
function SaleTeaser({
|
|
10620
|
+
upcoming,
|
|
10621
|
+
children,
|
|
10622
|
+
className
|
|
10623
|
+
}) {
|
|
10624
|
+
const [mounted, setMounted] = React14.useState(false);
|
|
10625
|
+
React14.useEffect(() => setMounted(true), []);
|
|
10626
|
+
if (!upcoming || !mounted) {
|
|
10627
|
+
return null;
|
|
10628
|
+
}
|
|
10629
|
+
const at = Date.parse(upcoming.starts_at);
|
|
10630
|
+
if (!Number.isFinite(at)) {
|
|
10631
|
+
return null;
|
|
10632
|
+
}
|
|
10633
|
+
const when = new Date(at).toLocaleDateString(void 0, {
|
|
10634
|
+
weekday: "short",
|
|
10635
|
+
month: "short",
|
|
10636
|
+
day: "numeric"
|
|
10637
|
+
});
|
|
10638
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { "data-cimplify-sale-teaser": true, className, children: children ? children({ when }) : upcoming.badge_text ?? `Back ${when}` });
|
|
10639
|
+
}
|
|
10619
10640
|
var ALLOWED_EMBED_HOSTS = /* @__PURE__ */ new Set([
|
|
10620
10641
|
"www.youtube.com",
|
|
10621
10642
|
"youtube.com",
|
|
@@ -17315,6 +17336,7 @@ exports.RetailProductCard = RetailProductCard;
|
|
|
17315
17336
|
exports.RichText = RichText;
|
|
17316
17337
|
exports.SaleBadge = SaleBadge;
|
|
17317
17338
|
exports.SalePrice = SalePrice;
|
|
17339
|
+
exports.SaleTeaser = SaleTeaser;
|
|
17318
17340
|
exports.ScheduleServiceCard = ScheduleServiceCard;
|
|
17319
17341
|
exports.SearchInput = SearchInput;
|
|
17320
17342
|
exports.SearchPage = SearchPage;
|
package/dist/react.mjs
CHANGED
|
@@ -3418,7 +3418,7 @@ function CimplifySignInButton({
|
|
|
3418
3418
|
}) {
|
|
3419
3419
|
const [busy, setBusy] = useState(false);
|
|
3420
3420
|
const onClick = async () => {
|
|
3421
|
-
if (busy || disabled) return;
|
|
3421
|
+
if (busy || disabled || !signInOpts.clientId) return;
|
|
3422
3422
|
setBusy(true);
|
|
3423
3423
|
await startSignIn({
|
|
3424
3424
|
...signInOpts,
|
|
@@ -4131,14 +4131,13 @@ function CimplifyUserButton({
|
|
|
4131
4131
|
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex items-center", className), "data-cimplify-user-button": "loading", children: /* @__PURE__ */ jsx("span", { className: "size-8 rounded-full bg-muted/60 animate-pulse" }) });
|
|
4132
4132
|
}
|
|
4133
4133
|
if (!session) {
|
|
4134
|
-
if (!clientId || !redirectUri) return null;
|
|
4135
4134
|
return /* @__PURE__ */ jsx(
|
|
4136
4135
|
CimplifySignInButton,
|
|
4137
4136
|
{
|
|
4138
4137
|
variant: "outline",
|
|
4139
4138
|
label: signInLabel ?? "Sign in",
|
|
4140
|
-
clientId,
|
|
4141
|
-
redirectUri,
|
|
4139
|
+
clientId: clientId ?? "",
|
|
4140
|
+
redirectUri: redirectUri ?? "",
|
|
4142
4141
|
onSuccess: onSignIn,
|
|
4143
4142
|
className
|
|
4144
4143
|
}
|
|
@@ -7846,29 +7845,30 @@ function DatePicker({
|
|
|
7846
7845
|
classNames: {
|
|
7847
7846
|
months: "flex flex-col gap-3",
|
|
7848
7847
|
month: "flex flex-col gap-3",
|
|
7849
|
-
|
|
7848
|
+
month_caption: "flex items-center justify-between px-1",
|
|
7850
7849
|
caption_label: "text-sm font-semibold",
|
|
7851
7850
|
nav: "flex items-center gap-1",
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
day:
|
|
7851
|
+
button_previous: "inline-flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground hover:bg-muted transition-colors",
|
|
7852
|
+
button_next: "inline-flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground hover:bg-muted transition-colors",
|
|
7853
|
+
month_grid: "w-full border-collapse",
|
|
7854
|
+
weekdays: "flex",
|
|
7855
|
+
weekday: "w-9 text-center text-[10px] font-medium uppercase tracking-wider text-muted-foreground",
|
|
7856
|
+
week: "flex w-full mt-1",
|
|
7857
|
+
day: "w-9 h-9 text-center text-sm p-0 relative",
|
|
7858
|
+
day_button: cn(
|
|
7859
7859
|
"inline-flex h-9 w-9 items-center justify-center rounded-md text-sm font-normal text-foreground hover:bg-muted transition-colors",
|
|
7860
7860
|
"aria-selected:bg-foreground aria-selected:text-background aria-selected:hover:bg-foreground/90"
|
|
7861
7861
|
),
|
|
7862
|
-
|
|
7862
|
+
selected: cn(
|
|
7863
7863
|
"bg-foreground text-background hover:bg-foreground/90 focus:bg-foreground",
|
|
7864
7864
|
classNames?.daySelected
|
|
7865
7865
|
),
|
|
7866
|
-
|
|
7866
|
+
today: cn(
|
|
7867
7867
|
"ring-1 ring-inset ring-primary/40",
|
|
7868
7868
|
classNames?.dayToday
|
|
7869
7869
|
),
|
|
7870
|
-
|
|
7871
|
-
|
|
7870
|
+
outside: "text-muted-foreground/50",
|
|
7871
|
+
disabled: cn(
|
|
7872
7872
|
"text-muted-foreground/40 cursor-not-allowed line-through",
|
|
7873
7873
|
classNames?.dayDisabled
|
|
7874
7874
|
)
|
|
@@ -10592,6 +10592,27 @@ function SaleCountdown({
|
|
|
10592
10592
|
label
|
|
10593
10593
|
] });
|
|
10594
10594
|
}
|
|
10595
|
+
function SaleTeaser({
|
|
10596
|
+
upcoming,
|
|
10597
|
+
children,
|
|
10598
|
+
className
|
|
10599
|
+
}) {
|
|
10600
|
+
const [mounted, setMounted] = useState(false);
|
|
10601
|
+
useEffect(() => setMounted(true), []);
|
|
10602
|
+
if (!upcoming || !mounted) {
|
|
10603
|
+
return null;
|
|
10604
|
+
}
|
|
10605
|
+
const at = Date.parse(upcoming.starts_at);
|
|
10606
|
+
if (!Number.isFinite(at)) {
|
|
10607
|
+
return null;
|
|
10608
|
+
}
|
|
10609
|
+
const when = new Date(at).toLocaleDateString(void 0, {
|
|
10610
|
+
weekday: "short",
|
|
10611
|
+
month: "short",
|
|
10612
|
+
day: "numeric"
|
|
10613
|
+
});
|
|
10614
|
+
return /* @__PURE__ */ jsx("span", { "data-cimplify-sale-teaser": true, className, children: children ? children({ when }) : upcoming.badge_text ?? `Back ${when}` });
|
|
10615
|
+
}
|
|
10595
10616
|
var ALLOWED_EMBED_HOSTS = /* @__PURE__ */ new Set([
|
|
10596
10617
|
"www.youtube.com",
|
|
10597
10618
|
"youtube.com",
|
|
@@ -17143,4 +17164,4 @@ function SparkleIcon({ className }) {
|
|
|
17143
17164
|
);
|
|
17144
17165
|
}
|
|
17145
17166
|
|
|
17146
|
-
export { AccommodationCard, AccountContent, AccountDashboardPage, AccountHero, AccountIdentityStrip, AccountLineItem, AccountLineItems, AccountNav, AccountOrderDetailPage, AccountOrderView, AccountOrdersPage, AccountShell, AccountSidebar, AccountSignedOutPrompt, AccountSubscriptionDetailPage, AccountSubscriptionsPage, Ad, AdProvider, AddOnSelector, AddressElement, AuthElement, AvailabilityBadge, BackLink, BillingPlanSelector, BookingCard, BookingList, BookingPage, BookingSummary, BookingsPage, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, Button, CardImage, CardShell, CardVariant, CartDrawer, CartDrawerProvider, CartPage, CartSummary, CartTemplate, CatalogueCollectionLayout, CataloguePage, CatalogueTemplate, CategoryFilter, CategoryGrid, ChatWidget, CheckIcon, CheckoutPage, CimplifyCheckout, CimplifyProvider, CimplifySignInButton, CimplifyUserButton, CollectionPage, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, ContextCard, ContinuityCard, CurrencySelector, CustomAttributesTable, CustomerInputFields, DashboardIcon, DashboardIcon20, DatePicker, DateSlotPicker, DealBanner, DealsPage, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, DeliveryTracker, DeliveryTruckIcon, DigitalProductCard, DigitalProductLayout, DiscountInput, ElementsProvider, EmptyState, ErrorState, FeaturedCollectionLayout, FilterTabs, FoodProductCard, FoodProductLayout, HappeningCard, IdentityIcon, IdentityOfframp, InventoryBadge, ItemsCard, LeaseServiceCard, LineItemDetails, LocationPicker, MediaGallery, MetadataStringList, MobileAccountShell, MobileBackButton, MobileMoreButton, MobileTabBar, NextDeliveryCard, OrderDetailHeader, OrderDetailMetaPipe, OrderDetailPage, OrderHistory, OrderHistoryPage, OrderList, OrderRow, OrderSummary, OrderTimeline, OrderTotals, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, Price, PriceRange, ProductCard, ProductCustomizer, ProductGrid, ProductImageGallery, ProductModel3D, ProductPage, ProductSheet, ProductTemplate, PropertiesTable, QuantitySelector, QuickAddButton, RecentlyViewed, RecommendationCarousel, RelatedProductsSection, RentalServiceCard, ResourcePicker, RetailProductCard, RichText, SaleBadge, SalePrice, ScheduleServiceCard, SearchInput, SearchPage, SearchTemplate, Section, SectionMore, ServiceProductLayout, SessionMessageBanner, SignOutIcon, Skeleton, SlotPicker, SoldOutOverlay, StaffPicker, StandardServiceCard, Status, StoreNav, StoreVideo, SubscriptionCard, SubscriptionList, SubscriptionRow, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, Toast, TwoColumnGrid, VariantSelector, VolumePricing, WelcomeCard, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
17167
|
+
export { AccommodationCard, AccountContent, AccountDashboardPage, AccountHero, AccountIdentityStrip, AccountLineItem, AccountLineItems, AccountNav, AccountOrderDetailPage, AccountOrderView, AccountOrdersPage, AccountShell, AccountSidebar, AccountSignedOutPrompt, AccountSubscriptionDetailPage, AccountSubscriptionsPage, Ad, AdProvider, AddOnSelector, AddressElement, AuthElement, AvailabilityBadge, BackLink, BillingPlanSelector, BookingCard, BookingList, BookingPage, BookingSummary, BookingsPage, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, Button, CardImage, CardShell, CardVariant, CartDrawer, CartDrawerProvider, CartPage, CartSummary, CartTemplate, CatalogueCollectionLayout, CataloguePage, CatalogueTemplate, CategoryFilter, CategoryGrid, ChatWidget, CheckIcon, CheckoutPage, CimplifyCheckout, CimplifyProvider, CimplifySignInButton, CimplifyUserButton, CollectionPage, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, ContextCard, ContinuityCard, CurrencySelector, CustomAttributesTable, CustomerInputFields, DashboardIcon, DashboardIcon20, DatePicker, DateSlotPicker, DealBanner, DealsPage, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, DeliveryTracker, DeliveryTruckIcon, DigitalProductCard, DigitalProductLayout, DiscountInput, ElementsProvider, EmptyState, ErrorState, FeaturedCollectionLayout, FilterTabs, FoodProductCard, FoodProductLayout, HappeningCard, IdentityIcon, IdentityOfframp, InventoryBadge, ItemsCard, LeaseServiceCard, LineItemDetails, LocationPicker, MediaGallery, MetadataStringList, MobileAccountShell, MobileBackButton, MobileMoreButton, MobileTabBar, NextDeliveryCard, OrderDetailHeader, OrderDetailMetaPipe, OrderDetailPage, OrderHistory, OrderHistoryPage, OrderList, OrderRow, OrderSummary, OrderTimeline, OrderTotals, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, Price, PriceRange, ProductCard, ProductCustomizer, ProductGrid, ProductImageGallery, ProductModel3D, ProductPage, ProductSheet, ProductTemplate, PropertiesTable, QuantitySelector, QuickAddButton, RecentlyViewed, RecommendationCarousel, RelatedProductsSection, RentalServiceCard, ResourcePicker, RetailProductCard, RichText, SaleBadge, SalePrice, SaleTeaser, ScheduleServiceCard, SearchInput, SearchPage, SearchTemplate, Section, SectionMore, ServiceProductLayout, SessionMessageBanner, SignOutIcon, Skeleton, SlotPicker, SoldOutOverlay, StaffPicker, StandardServiceCard, Status, StoreNav, StoreVideo, SubscriptionCard, SubscriptionList, SubscriptionRow, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, Toast, TwoColumnGrid, VariantSelector, VolumePricing, WelcomeCard, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, prefetchProduct, prefetchProducts, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
package/dist/server.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ad as CimplifyClient } from './client-
|
|
2
|
-
export { K as CacheOptions, ct as ReadRequestOptions, cP as Result } from './client-
|
|
3
|
-
export { Q as Category, T as CimplifyError, U as Collection, aX as Product, b9 as ProductWithDetails } from './product-
|
|
1
|
+
import { ad as CimplifyClient } from './client-DLtwQ-jI.mjs';
|
|
2
|
+
export { K as CacheOptions, ct as ReadRequestOptions, cP as Result } from './client-DLtwQ-jI.mjs';
|
|
3
|
+
export { Q as Category, T as CimplifyError, U as Collection, aX as Product, b9 as ProductWithDetails } from './product-RJMIdCAf.mjs';
|
|
4
4
|
import { JWTVerifyResult } from 'jose';
|
|
5
|
-
import './payment-
|
|
5
|
+
import './payment-Dh-6cRcV.mjs';
|
|
6
6
|
|
|
7
7
|
interface ServerClientOptions {
|
|
8
8
|
/**
|
package/dist/server.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ad as CimplifyClient } from './client-
|
|
2
|
-
export { K as CacheOptions, ct as ReadRequestOptions, cP as Result } from './client-
|
|
3
|
-
export { Q as Category, T as CimplifyError, U as Collection, aX as Product, b9 as ProductWithDetails } from './product-
|
|
1
|
+
import { ad as CimplifyClient } from './client-WKKxIiF1.js';
|
|
2
|
+
export { K as CacheOptions, ct as ReadRequestOptions, cP as Result } from './client-WKKxIiF1.js';
|
|
3
|
+
export { Q as Category, T as CimplifyError, U as Collection, aX as Product, b9 as ProductWithDetails } from './product-RJMIdCAf.js';
|
|
4
4
|
import { JWTVerifyResult } from 'jose';
|
|
5
|
-
import './payment-
|
|
5
|
+
import './payment-D1f3ZQPC.js';
|
|
6
6
|
|
|
7
7
|
interface ServerClientOptions {
|
|
8
8
|
/**
|