@cimplify/sdk 0.24.1 → 0.25.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 +2 -2
- package/dist/advanced.d.ts +2 -2
- package/dist/{chunk-H34GSEGR.mjs → chunk-JMNMSVDQ.mjs} +24 -1
- package/dist/{chunk-IYQGGFVQ.js → chunk-WMQXSDRC.js} +26 -0
- package/dist/{index-DCoxHrmr.d.mts → index-2JxW7TuQ.d.mts} +2 -2
- package/dist/{index-DIHoZUz_.d.mts → index-7mX_cUpQ.d.mts} +1 -1
- package/dist/{index-DT0Mzy8v.d.ts → index-DBM89ktY.d.ts} +2 -2
- package/dist/{index-CJZMsbDi.d.ts → index-DEx3GwlW.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +18 -6
- package/dist/index.mjs +1 -1
- package/dist/{payment-DqiwuLma.d.mts → payment-5a21yzi7.d.mts} +22 -1
- package/dist/{payment-DqiwuLma.d.ts → payment-5a21yzi7.d.ts} +22 -1
- package/dist/{price-BZlddg1A.d.ts → price-BS0Z5Oi9.d.ts} +1 -1
- package/dist/{price-DVQrpE7j.d.mts → price-CGPMlQUk.d.mts} +1 -1
- package/dist/react.d.mts +104 -11
- package/dist/react.d.ts +104 -11
- package/dist/react.js +895 -99
- package/dist/react.mjs +876 -97
- package/dist/styles.css +1 -1
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
- package/registry/accommodation-card.json +17 -0
- package/registry/compact-service-card.json +16 -0
- package/registry/digital-product-card.json +16 -0
- package/registry/food-product-card.json +16 -0
- package/registry/food-product-layout.json +1 -1
- package/registry/index.json +113 -0
- package/registry/lease-service-card.json +17 -0
- package/registry/price-range.json +1 -1
- package/registry/price.json +1 -1
- package/registry/product-card.json +1 -1
- package/registry/product-customizer.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/rental-service-card.json +16 -0
- package/registry/retail-product-card.json +16 -0
- package/registry/schedule-service-card.json +16 -0
- package/registry/standard-service-card.json +16 -0
- package/registry/subscription-card.json +16 -0
- package/registry/wholesale-product-card.json +17 -0
package/dist/react.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.mjs';
|
|
3
3
|
export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
|
|
4
|
-
import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './index-
|
|
5
|
-
import {
|
|
6
|
-
import { P as ProductWithPrice } from './price-
|
|
4
|
+
import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './index-7mX_cUpQ.mjs';
|
|
5
|
+
import { a as CurrencyCode, N as Product, d as Pagination, h as CimplifyError, U as ProductWithDetails, a9 as Category, M as Money, b4 as BundleSelectionInput, az as ComponentSelectionInput, b7 as BundleSelectionData, ba as CompositeSelectionData, ab as Collection, aH as ProductTaxonomy, aI as TaxonomyWithChildren, aG as ProductTimeProfile, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, ag as BundleSummary, aA as CompositePriceResult, B as CustomAttributeDefinition, J as PropertyFacet, bM as ProductBillingPlan, W as VariantView, $ as VariantAxisWithValues, a5 as AddOnWithOptions, al as BundleComponentView, ae as BundlePriceType, aw as CompositeGroupView, bf as DisplayCart, F as CustomAttributeValue, H as ProductProperty, Q as QuantityPricingTier } from './payment-5a21yzi7.mjs';
|
|
6
|
+
import { P as ProductWithPrice } from './price-CGPMlQUk.mjs';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
8
|
|
|
9
9
|
interface UserIdentity {
|
|
@@ -84,18 +84,23 @@ declare function CimplifyCheckout({ client, businessId, cartId, locationId, link
|
|
|
84
84
|
interface PriceProps {
|
|
85
85
|
/** The amount in base (business) currency. */
|
|
86
86
|
amount: number | string;
|
|
87
|
+
/** Explicit currency — skips provider lookup when provided. */
|
|
88
|
+
currency?: CurrencyCode;
|
|
87
89
|
/** Optional CSS class name for the wrapping span. */
|
|
88
90
|
className?: string;
|
|
89
91
|
/** Optional prefix rendered before the formatted price (e.g. "+"). */
|
|
90
92
|
prefix?: string;
|
|
91
93
|
}
|
|
92
94
|
/**
|
|
93
|
-
* Price — renders a
|
|
95
|
+
* Price — renders a formatted price value.
|
|
96
|
+
*
|
|
97
|
+
* When used inside CimplifyProvider: reads displayCurrency and convertPrice
|
|
98
|
+
* from context for FX conversion.
|
|
94
99
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
100
|
+
* When used outside a provider (or with explicit `currency` prop): formats
|
|
101
|
+
* directly — no provider required. Works in any React environment.
|
|
97
102
|
*/
|
|
98
|
-
declare function Price({ amount, className, prefix }: PriceProps): React.ReactElement;
|
|
103
|
+
declare function Price({ amount, currency, className, prefix }: PriceProps): React.ReactElement;
|
|
99
104
|
|
|
100
105
|
interface CimplifyClientContextValue {
|
|
101
106
|
client: CimplifyClient;
|
|
@@ -1029,6 +1034,87 @@ interface ProductSheetProps {
|
|
|
1029
1034
|
*/
|
|
1030
1035
|
declare function ProductSheet({ product, onClose, onAddToCart, renderImage, className, classNames, }: ProductSheetProps): React.ReactElement;
|
|
1031
1036
|
|
|
1037
|
+
interface CardLayoutProps {
|
|
1038
|
+
product: Product;
|
|
1039
|
+
onQuickAdd?: (product: Product) => void;
|
|
1040
|
+
renderImage?: (props: {
|
|
1041
|
+
src: string;
|
|
1042
|
+
alt: string;
|
|
1043
|
+
className?: string;
|
|
1044
|
+
}) => React.ReactNode;
|
|
1045
|
+
renderLink?: (props: {
|
|
1046
|
+
href: string;
|
|
1047
|
+
className?: string;
|
|
1048
|
+
children: React.ReactNode;
|
|
1049
|
+
}) => React.ReactElement;
|
|
1050
|
+
className?: string;
|
|
1051
|
+
}
|
|
1052
|
+
declare function CardImage({ src, alt, aspectRatio, renderImage, className, children, }: {
|
|
1053
|
+
src: string;
|
|
1054
|
+
alt: string;
|
|
1055
|
+
aspectRatio?: "square" | "3/4" | "4/3" | "16/9";
|
|
1056
|
+
renderImage?: CardLayoutProps["renderImage"];
|
|
1057
|
+
className?: string;
|
|
1058
|
+
children?: React.ReactNode;
|
|
1059
|
+
}): React.ReactElement;
|
|
1060
|
+
declare function QuickAddButton({ onClick, className, }: {
|
|
1061
|
+
onClick?: () => void;
|
|
1062
|
+
className?: string;
|
|
1063
|
+
}): React.ReactElement;
|
|
1064
|
+
declare function WishlistButton({ filled, onClick, className, }: {
|
|
1065
|
+
filled?: boolean;
|
|
1066
|
+
onClick?: () => void;
|
|
1067
|
+
className?: string;
|
|
1068
|
+
}): React.ReactElement;
|
|
1069
|
+
declare function SoldOutOverlay(): React.ReactElement;
|
|
1070
|
+
declare function CardShell({ product, renderLink, disabled, className, children, }: {
|
|
1071
|
+
product: Product;
|
|
1072
|
+
renderLink?: CardLayoutProps["renderLink"];
|
|
1073
|
+
disabled?: boolean;
|
|
1074
|
+
className?: string;
|
|
1075
|
+
children: React.ReactNode;
|
|
1076
|
+
}): React.ReactElement;
|
|
1077
|
+
|
|
1078
|
+
interface ServiceCardLayoutProps extends CardLayoutProps {
|
|
1079
|
+
slots?: AvailableSlot[];
|
|
1080
|
+
onBook?: (product: Product) => void;
|
|
1081
|
+
}
|
|
1082
|
+
declare function StandardServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1083
|
+
|
|
1084
|
+
declare function FoodProductCard({ product, onQuickAdd, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1085
|
+
|
|
1086
|
+
declare function RetailProductCard({ product, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1087
|
+
|
|
1088
|
+
declare function WholesaleProductCard({ product, onQuickAdd, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1089
|
+
|
|
1090
|
+
declare function DigitalProductCard({ product, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1091
|
+
|
|
1092
|
+
declare function CompactServiceCard({ product, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1093
|
+
|
|
1094
|
+
declare function ScheduleServiceCard({ product, slots, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1095
|
+
|
|
1096
|
+
declare function RentalServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1097
|
+
|
|
1098
|
+
declare function AccommodationCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1099
|
+
|
|
1100
|
+
declare function LeaseServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1101
|
+
|
|
1102
|
+
declare function SubscriptionCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1103
|
+
|
|
1104
|
+
declare enum CardVariant {
|
|
1105
|
+
Food = "food",
|
|
1106
|
+
Retail = "retail",
|
|
1107
|
+
Wholesale = "wholesale",
|
|
1108
|
+
Digital = "digital",
|
|
1109
|
+
Standard = "standard",
|
|
1110
|
+
Compact = "compact",
|
|
1111
|
+
Schedule = "schedule",
|
|
1112
|
+
Rental = "rental",
|
|
1113
|
+
Accommodation = "accommodation",
|
|
1114
|
+
Lease = "lease",
|
|
1115
|
+
Subscription = "subscription"
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1032
1118
|
interface ProductCardClassNames {
|
|
1033
1119
|
root?: string;
|
|
1034
1120
|
imageContainer?: string;
|
|
@@ -1047,6 +1133,10 @@ interface ProductCardProps {
|
|
|
1047
1133
|
product: Product;
|
|
1048
1134
|
/** Display mode: "card" opens a modal, "page" renders as a link. Auto-detected from product.display_mode. */
|
|
1049
1135
|
displayMode?: "card" | "page";
|
|
1136
|
+
/** Explicit card variant. Auto-detected from product data when omitted. */
|
|
1137
|
+
variant?: CardVariant;
|
|
1138
|
+
/** Per-slug card map. Highest priority — maps a product slug to a custom card component. */
|
|
1139
|
+
cards?: Record<string, React.ComponentType<CardLayoutProps>>;
|
|
1050
1140
|
/** Link href for page mode. Default: `/menu/${product.slug}` */
|
|
1051
1141
|
href?: string;
|
|
1052
1142
|
/** Custom modal content renderer. Receives the fully-loaded product and a close callback. */
|
|
@@ -1063,6 +1153,8 @@ interface ProductCardProps {
|
|
|
1063
1153
|
className?: string;
|
|
1064
1154
|
children: React.ReactNode;
|
|
1065
1155
|
}) => React.ReactElement;
|
|
1156
|
+
/** Called when quick-add button is clicked (if the resolved card supports it). */
|
|
1157
|
+
onQuickAdd?: (product: Product) => void;
|
|
1066
1158
|
/** Replace the entire default card body. */
|
|
1067
1159
|
children?: React.ReactNode;
|
|
1068
1160
|
/** Image aspect ratio. Default: "4/3". */
|
|
@@ -1076,7 +1168,7 @@ interface ProductCardProps {
|
|
|
1076
1168
|
* - **card** (default): clickable button that opens a Base UI Dialog modal
|
|
1077
1169
|
* - **page**: a plain `<a>` link for SEO-friendly product pages
|
|
1078
1170
|
*/
|
|
1079
|
-
declare function ProductCard({ product, displayMode, href, renderModal, renderImage, renderLink, children, aspectRatio, className, classNames, }: ProductCardProps): React.ReactElement;
|
|
1171
|
+
declare function ProductCard({ product, displayMode, variant, cards, href, renderModal, renderImage, renderLink, onQuickAdd, children, aspectRatio, className, classNames, }: ProductCardProps): React.ReactElement;
|
|
1080
1172
|
|
|
1081
1173
|
interface ProductGridClassNames {
|
|
1082
1174
|
root?: string;
|
|
@@ -2337,10 +2429,11 @@ interface VolumePricingProps {
|
|
|
2337
2429
|
declare function VolumePricing({ tiers, currentQuantity, defaultOpen, className, classNames, }: VolumePricingProps): React.ReactElement | null;
|
|
2338
2430
|
|
|
2339
2431
|
interface PriceRangeProps {
|
|
2340
|
-
product: Product;
|
|
2432
|
+
product: Product | ProductWithDetails;
|
|
2433
|
+
currency?: CurrencyCode;
|
|
2341
2434
|
className?: string;
|
|
2342
2435
|
}
|
|
2343
|
-
declare function PriceRange({ product, className }: PriceRangeProps): React.ReactElement | null;
|
|
2436
|
+
declare function PriceRange({ product, currency, className }: PriceRangeProps): React.ReactElement | null;
|
|
2344
2437
|
|
|
2345
2438
|
interface DeliveryEstimateClassNames {
|
|
2346
2439
|
root?: string;
|
|
@@ -2402,4 +2495,4 @@ interface CurrencySelectorProps {
|
|
|
2402
2495
|
*/
|
|
2403
2496
|
declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React.ReactElement | null;
|
|
2404
2497
|
|
|
2405
|
-
export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultProductLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FoodProductLayout, InventoryBadge, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, 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, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, TagPills, 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 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 UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductLayout, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
2498
|
+
export { AccommodationCard, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompactServiceCard, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultProductLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FoodProductCard, FoodProductLayout, InventoryBadge, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, 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, 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, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardLayoutProps, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, StoreNav, type StoreNavClassNames, type StoreNavProps, SubscriptionCard, TagPills, 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 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 UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
package/dist/react.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.js';
|
|
3
3
|
export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
|
|
4
|
-
import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './index-
|
|
5
|
-
import {
|
|
6
|
-
import { P as ProductWithPrice } from './price-
|
|
4
|
+
import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './index-DEx3GwlW.js';
|
|
5
|
+
import { a as CurrencyCode, N as Product, d as Pagination, h as CimplifyError, U as ProductWithDetails, a9 as Category, M as Money, b4 as BundleSelectionInput, az as ComponentSelectionInput, b7 as BundleSelectionData, ba as CompositeSelectionData, ab as Collection, aH as ProductTaxonomy, aI as TaxonomyWithChildren, aG as ProductTimeProfile, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, ag as BundleSummary, aA as CompositePriceResult, B as CustomAttributeDefinition, J as PropertyFacet, bM as ProductBillingPlan, W as VariantView, $ as VariantAxisWithValues, a5 as AddOnWithOptions, al as BundleComponentView, ae as BundlePriceType, aw as CompositeGroupView, bf as DisplayCart, F as CustomAttributeValue, H as ProductProperty, Q as QuantityPricingTier } from './payment-5a21yzi7.js';
|
|
6
|
+
import { P as ProductWithPrice } from './price-BS0Z5Oi9.js';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
8
|
|
|
9
9
|
interface UserIdentity {
|
|
@@ -84,18 +84,23 @@ declare function CimplifyCheckout({ client, businessId, cartId, locationId, link
|
|
|
84
84
|
interface PriceProps {
|
|
85
85
|
/** The amount in base (business) currency. */
|
|
86
86
|
amount: number | string;
|
|
87
|
+
/** Explicit currency — skips provider lookup when provided. */
|
|
88
|
+
currency?: CurrencyCode;
|
|
87
89
|
/** Optional CSS class name for the wrapping span. */
|
|
88
90
|
className?: string;
|
|
89
91
|
/** Optional prefix rendered before the formatted price (e.g. "+"). */
|
|
90
92
|
prefix?: string;
|
|
91
93
|
}
|
|
92
94
|
/**
|
|
93
|
-
* Price — renders a
|
|
95
|
+
* Price — renders a formatted price value.
|
|
96
|
+
*
|
|
97
|
+
* When used inside CimplifyProvider: reads displayCurrency and convertPrice
|
|
98
|
+
* from context for FX conversion.
|
|
94
99
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
100
|
+
* When used outside a provider (or with explicit `currency` prop): formats
|
|
101
|
+
* directly — no provider required. Works in any React environment.
|
|
97
102
|
*/
|
|
98
|
-
declare function Price({ amount, className, prefix }: PriceProps): React.ReactElement;
|
|
103
|
+
declare function Price({ amount, currency, className, prefix }: PriceProps): React.ReactElement;
|
|
99
104
|
|
|
100
105
|
interface CimplifyClientContextValue {
|
|
101
106
|
client: CimplifyClient;
|
|
@@ -1029,6 +1034,87 @@ interface ProductSheetProps {
|
|
|
1029
1034
|
*/
|
|
1030
1035
|
declare function ProductSheet({ product, onClose, onAddToCart, renderImage, className, classNames, }: ProductSheetProps): React.ReactElement;
|
|
1031
1036
|
|
|
1037
|
+
interface CardLayoutProps {
|
|
1038
|
+
product: Product;
|
|
1039
|
+
onQuickAdd?: (product: Product) => void;
|
|
1040
|
+
renderImage?: (props: {
|
|
1041
|
+
src: string;
|
|
1042
|
+
alt: string;
|
|
1043
|
+
className?: string;
|
|
1044
|
+
}) => React.ReactNode;
|
|
1045
|
+
renderLink?: (props: {
|
|
1046
|
+
href: string;
|
|
1047
|
+
className?: string;
|
|
1048
|
+
children: React.ReactNode;
|
|
1049
|
+
}) => React.ReactElement;
|
|
1050
|
+
className?: string;
|
|
1051
|
+
}
|
|
1052
|
+
declare function CardImage({ src, alt, aspectRatio, renderImage, className, children, }: {
|
|
1053
|
+
src: string;
|
|
1054
|
+
alt: string;
|
|
1055
|
+
aspectRatio?: "square" | "3/4" | "4/3" | "16/9";
|
|
1056
|
+
renderImage?: CardLayoutProps["renderImage"];
|
|
1057
|
+
className?: string;
|
|
1058
|
+
children?: React.ReactNode;
|
|
1059
|
+
}): React.ReactElement;
|
|
1060
|
+
declare function QuickAddButton({ onClick, className, }: {
|
|
1061
|
+
onClick?: () => void;
|
|
1062
|
+
className?: string;
|
|
1063
|
+
}): React.ReactElement;
|
|
1064
|
+
declare function WishlistButton({ filled, onClick, className, }: {
|
|
1065
|
+
filled?: boolean;
|
|
1066
|
+
onClick?: () => void;
|
|
1067
|
+
className?: string;
|
|
1068
|
+
}): React.ReactElement;
|
|
1069
|
+
declare function SoldOutOverlay(): React.ReactElement;
|
|
1070
|
+
declare function CardShell({ product, renderLink, disabled, className, children, }: {
|
|
1071
|
+
product: Product;
|
|
1072
|
+
renderLink?: CardLayoutProps["renderLink"];
|
|
1073
|
+
disabled?: boolean;
|
|
1074
|
+
className?: string;
|
|
1075
|
+
children: React.ReactNode;
|
|
1076
|
+
}): React.ReactElement;
|
|
1077
|
+
|
|
1078
|
+
interface ServiceCardLayoutProps extends CardLayoutProps {
|
|
1079
|
+
slots?: AvailableSlot[];
|
|
1080
|
+
onBook?: (product: Product) => void;
|
|
1081
|
+
}
|
|
1082
|
+
declare function StandardServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1083
|
+
|
|
1084
|
+
declare function FoodProductCard({ product, onQuickAdd, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1085
|
+
|
|
1086
|
+
declare function RetailProductCard({ product, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1087
|
+
|
|
1088
|
+
declare function WholesaleProductCard({ product, onQuickAdd, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1089
|
+
|
|
1090
|
+
declare function DigitalProductCard({ product, renderImage, renderLink, className, }: CardLayoutProps): React.ReactElement;
|
|
1091
|
+
|
|
1092
|
+
declare function CompactServiceCard({ product, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1093
|
+
|
|
1094
|
+
declare function ScheduleServiceCard({ product, slots, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1095
|
+
|
|
1096
|
+
declare function RentalServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1097
|
+
|
|
1098
|
+
declare function AccommodationCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1099
|
+
|
|
1100
|
+
declare function LeaseServiceCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1101
|
+
|
|
1102
|
+
declare function SubscriptionCard({ product, onBook, renderImage, renderLink, className, }: ServiceCardLayoutProps): React.ReactElement;
|
|
1103
|
+
|
|
1104
|
+
declare enum CardVariant {
|
|
1105
|
+
Food = "food",
|
|
1106
|
+
Retail = "retail",
|
|
1107
|
+
Wholesale = "wholesale",
|
|
1108
|
+
Digital = "digital",
|
|
1109
|
+
Standard = "standard",
|
|
1110
|
+
Compact = "compact",
|
|
1111
|
+
Schedule = "schedule",
|
|
1112
|
+
Rental = "rental",
|
|
1113
|
+
Accommodation = "accommodation",
|
|
1114
|
+
Lease = "lease",
|
|
1115
|
+
Subscription = "subscription"
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1032
1118
|
interface ProductCardClassNames {
|
|
1033
1119
|
root?: string;
|
|
1034
1120
|
imageContainer?: string;
|
|
@@ -1047,6 +1133,10 @@ interface ProductCardProps {
|
|
|
1047
1133
|
product: Product;
|
|
1048
1134
|
/** Display mode: "card" opens a modal, "page" renders as a link. Auto-detected from product.display_mode. */
|
|
1049
1135
|
displayMode?: "card" | "page";
|
|
1136
|
+
/** Explicit card variant. Auto-detected from product data when omitted. */
|
|
1137
|
+
variant?: CardVariant;
|
|
1138
|
+
/** Per-slug card map. Highest priority — maps a product slug to a custom card component. */
|
|
1139
|
+
cards?: Record<string, React.ComponentType<CardLayoutProps>>;
|
|
1050
1140
|
/** Link href for page mode. Default: `/menu/${product.slug}` */
|
|
1051
1141
|
href?: string;
|
|
1052
1142
|
/** Custom modal content renderer. Receives the fully-loaded product and a close callback. */
|
|
@@ -1063,6 +1153,8 @@ interface ProductCardProps {
|
|
|
1063
1153
|
className?: string;
|
|
1064
1154
|
children: React.ReactNode;
|
|
1065
1155
|
}) => React.ReactElement;
|
|
1156
|
+
/** Called when quick-add button is clicked (if the resolved card supports it). */
|
|
1157
|
+
onQuickAdd?: (product: Product) => void;
|
|
1066
1158
|
/** Replace the entire default card body. */
|
|
1067
1159
|
children?: React.ReactNode;
|
|
1068
1160
|
/** Image aspect ratio. Default: "4/3". */
|
|
@@ -1076,7 +1168,7 @@ interface ProductCardProps {
|
|
|
1076
1168
|
* - **card** (default): clickable button that opens a Base UI Dialog modal
|
|
1077
1169
|
* - **page**: a plain `<a>` link for SEO-friendly product pages
|
|
1078
1170
|
*/
|
|
1079
|
-
declare function ProductCard({ product, displayMode, href, renderModal, renderImage, renderLink, children, aspectRatio, className, classNames, }: ProductCardProps): React.ReactElement;
|
|
1171
|
+
declare function ProductCard({ product, displayMode, variant, cards, href, renderModal, renderImage, renderLink, onQuickAdd, children, aspectRatio, className, classNames, }: ProductCardProps): React.ReactElement;
|
|
1080
1172
|
|
|
1081
1173
|
interface ProductGridClassNames {
|
|
1082
1174
|
root?: string;
|
|
@@ -2337,10 +2429,11 @@ interface VolumePricingProps {
|
|
|
2337
2429
|
declare function VolumePricing({ tiers, currentQuantity, defaultOpen, className, classNames, }: VolumePricingProps): React.ReactElement | null;
|
|
2338
2430
|
|
|
2339
2431
|
interface PriceRangeProps {
|
|
2340
|
-
product: Product;
|
|
2432
|
+
product: Product | ProductWithDetails;
|
|
2433
|
+
currency?: CurrencyCode;
|
|
2341
2434
|
className?: string;
|
|
2342
2435
|
}
|
|
2343
|
-
declare function PriceRange({ product, className }: PriceRangeProps): React.ReactElement | null;
|
|
2436
|
+
declare function PriceRange({ product, currency, className }: PriceRangeProps): React.ReactElement | null;
|
|
2344
2437
|
|
|
2345
2438
|
interface DeliveryEstimateClassNames {
|
|
2346
2439
|
root?: string;
|
|
@@ -2402,4 +2495,4 @@ interface CurrencySelectorProps {
|
|
|
2402
2495
|
*/
|
|
2403
2496
|
declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React.ReactElement | null;
|
|
2404
2497
|
|
|
2405
|
-
export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultProductLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FoodProductLayout, InventoryBadge, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, 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, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, TagPills, 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 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 UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductLayout, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
2498
|
+
export { AccommodationCard, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompactServiceCard, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultProductLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FoodProductCard, FoodProductLayout, InventoryBadge, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, 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, 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, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardLayoutProps, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, StoreNav, type StoreNavClassNames, type StoreNavProps, SubscriptionCard, TagPills, 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 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 UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|