@loczer/storefront-sdk 0.236.0 → 0.238.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/components/FaqSection/index.d.ts +2 -0
- package/dist/components/FaqSection/index.d.ts.map +1 -0
- package/dist/components/FaqSection/index.js +76 -0
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +38 -26
- package/dist/components/StorefrontCartPanel/index.d.ts +3 -1
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
- package/dist/components/StorefrontCartPanel/index.js +45 -41
- package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.js +3 -12
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +4 -2
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -1
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.js +8 -8
- package/dist/i18n/en.d.ts +6 -2
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +6 -2
- package/dist/i18n/fr.d.ts +6 -2
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +6 -2
- package/dist/index.d.ts +25 -7
- package/dist/index.js +27 -26
- package/dist/lib/storefrontProducts.d.ts +4 -0
- package/dist/lib/storefrontProducts.d.ts.map +1 -1
- package/dist/lib/storefrontProducts.js +2 -0
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +198 -177
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +397 -388
- package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts +9 -0
- package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.js +83 -0
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.js +10 -6
- package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts +13 -0
- package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.js +95 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +6 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.js +38 -34
- package/dist/storefront.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1817,6 +1817,8 @@ export declare const eBikeProductSchema: z.ZodObject<{
|
|
|
1817
1817
|
kind: z.ZodLiteral<"e-bike">;
|
|
1818
1818
|
}, z.core.$strip>;
|
|
1819
1819
|
|
|
1820
|
+
export declare function FaqSection(): JSX.Element | null;
|
|
1821
|
+
|
|
1820
1822
|
export declare function findStorefrontInsurancePricingBike<T extends StorefrontInsuranceCandidate>(bikes: readonly T[], kind: BikeProduct["kind"]): T | undefined;
|
|
1821
1823
|
|
|
1822
1824
|
export declare const findStorefrontProduct: (id: string, products: StorefrontProductsCollections) => StorefrontProduct | null;
|
|
@@ -3570,7 +3572,7 @@ export declare type StorefrontCartItem = {
|
|
|
3570
3572
|
quantity: number;
|
|
3571
3573
|
};
|
|
3572
3574
|
|
|
3573
|
-
export declare function StorefrontCartPanel({ lines, itemCount, baseUnitLabel, totalMinor, title, description, checkoutPath, showCheckoutAction, showClearAction, editable, summaryAddon, pricingSummary, stickyTopClassName, onQuantityChange, onRemove, onClear, }: StorefrontCartPanelProps): JSX.Element;
|
|
3575
|
+
export declare function StorefrontCartPanel({ lines, itemCount, baseUnitLabel, totalMinor, title, description, headerAddon, checkoutPath, showCheckoutAction, showClearAction, editable, summaryAddon, pricingSummary, presentation, stickyTopClassName, onQuantityChange, onRemove, onClear, }: StorefrontCartPanelProps): JSX.Element;
|
|
3574
3576
|
|
|
3575
3577
|
declare type StorefrontCartPanelProps = {
|
|
3576
3578
|
lines: StorefrontCartSummaryLine[];
|
|
@@ -3579,12 +3581,14 @@ declare type StorefrontCartPanelProps = {
|
|
|
3579
3581
|
totalMinor?: number;
|
|
3580
3582
|
title?: string;
|
|
3581
3583
|
description?: string;
|
|
3584
|
+
headerAddon?: ReactNode;
|
|
3582
3585
|
checkoutPath?: string;
|
|
3583
3586
|
showCheckoutAction?: boolean;
|
|
3584
3587
|
showClearAction?: boolean;
|
|
3585
3588
|
editable?: boolean;
|
|
3586
3589
|
summaryAddon?: ReactNode;
|
|
3587
3590
|
pricingSummary?: ReactNode;
|
|
3591
|
+
presentation?: "card" | "flat";
|
|
3588
3592
|
stickyTopClassName?: string;
|
|
3589
3593
|
onQuantityChange?: (key: string, quantity: number) => void;
|
|
3590
3594
|
onRemove?: (key: string) => void;
|
|
@@ -4219,8 +4223,6 @@ export declare const storefrontEn: {
|
|
|
4219
4223
|
insurance_info_aria_label: string;
|
|
4220
4224
|
insurance_modal_title: string;
|
|
4221
4225
|
insurance_modal_description: string;
|
|
4222
|
-
insurance_modal_pricing_title: string;
|
|
4223
|
-
insurance_modal_pricing_description: string;
|
|
4224
4226
|
insurance_modal_muscular_bike: string;
|
|
4225
4227
|
insurance_modal_electric_bike: string;
|
|
4226
4228
|
insurance_modal_price_per_day: string;
|
|
@@ -4310,6 +4312,7 @@ export declare const storefrontEn: {
|
|
|
4310
4312
|
about_section_title: string;
|
|
4311
4313
|
about_section_heading: string;
|
|
4312
4314
|
about_section_fallback: string;
|
|
4315
|
+
faq_section_title: string;
|
|
4313
4316
|
testimonials: {
|
|
4314
4317
|
title: string;
|
|
4315
4318
|
reviews_label: string;
|
|
@@ -4383,8 +4386,12 @@ export declare const storefrontEn: {
|
|
|
4383
4386
|
go_to_checkout: string;
|
|
4384
4387
|
checkout_title: string;
|
|
4385
4388
|
checkout_subtitle: string;
|
|
4389
|
+
checkout_booking_period_edit: string;
|
|
4386
4390
|
checkout_summary_title: string;
|
|
4387
4391
|
checkout_summary_description: string;
|
|
4392
|
+
checkout_mobile_summary_button: string;
|
|
4393
|
+
checkout_mobile_submit: string;
|
|
4394
|
+
checkout_mobile_continue_to_payment: string;
|
|
4388
4395
|
checkout_booking_subtotal: string;
|
|
4389
4396
|
checkout_estimated_duration: string;
|
|
4390
4397
|
checkout_estimated_total: string;
|
|
@@ -4533,6 +4540,7 @@ export declare const storefrontEn: {
|
|
|
4533
4540
|
docs_contract_sale_acceptance_section_required_description: string;
|
|
4534
4541
|
accessories_title: string;
|
|
4535
4542
|
accessories_description: string;
|
|
4543
|
+
accessories_view_all: string;
|
|
4536
4544
|
accessories_badge: string;
|
|
4537
4545
|
contact_section_title: string;
|
|
4538
4546
|
contact_section_subtitle: string;
|
|
@@ -4776,8 +4784,6 @@ export declare const storefrontFr: {
|
|
|
4776
4784
|
insurance_info_aria_label: string;
|
|
4777
4785
|
insurance_modal_title: string;
|
|
4778
4786
|
insurance_modal_description: string;
|
|
4779
|
-
insurance_modal_pricing_title: string;
|
|
4780
|
-
insurance_modal_pricing_description: string;
|
|
4781
4787
|
insurance_modal_muscular_bike: string;
|
|
4782
4788
|
insurance_modal_electric_bike: string;
|
|
4783
4789
|
insurance_modal_price_per_day: string;
|
|
@@ -4867,6 +4873,7 @@ export declare const storefrontFr: {
|
|
|
4867
4873
|
about_section_title: string;
|
|
4868
4874
|
about_section_heading: string;
|
|
4869
4875
|
about_section_fallback: string;
|
|
4876
|
+
faq_section_title: string;
|
|
4870
4877
|
testimonials: {
|
|
4871
4878
|
title: string;
|
|
4872
4879
|
reviews_label: string;
|
|
@@ -4941,8 +4948,12 @@ export declare const storefrontFr: {
|
|
|
4941
4948
|
go_to_checkout: string;
|
|
4942
4949
|
checkout_title: string;
|
|
4943
4950
|
checkout_subtitle: string;
|
|
4951
|
+
checkout_booking_period_edit: string;
|
|
4944
4952
|
checkout_summary_title: string;
|
|
4945
4953
|
checkout_summary_description: string;
|
|
4954
|
+
checkout_mobile_summary_button: string;
|
|
4955
|
+
checkout_mobile_submit: string;
|
|
4956
|
+
checkout_mobile_continue_to_payment: string;
|
|
4946
4957
|
checkout_booking_subtotal: string;
|
|
4947
4958
|
checkout_estimated_duration: string;
|
|
4948
4959
|
checkout_estimated_total: string;
|
|
@@ -5091,6 +5102,7 @@ export declare const storefrontFr: {
|
|
|
5091
5102
|
docs_contract_sale_acceptance_section_required_description: string;
|
|
5092
5103
|
accessories_title: string;
|
|
5093
5104
|
accessories_description: string;
|
|
5105
|
+
accessories_view_all: string;
|
|
5094
5106
|
accessories_badge: string;
|
|
5095
5107
|
contact_section_title: string;
|
|
5096
5108
|
contact_section_subtitle: string;
|
|
@@ -5830,6 +5842,7 @@ export declare const storefrontProductsResponseSchema: z.ZodDiscriminatedUnion<[
|
|
|
5830
5842
|
quantity: z.ZodNumber;
|
|
5831
5843
|
currency: z.ZodOptional<z.ZodString>;
|
|
5832
5844
|
}, z.core.$strip>>>;
|
|
5845
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
5833
5846
|
insurance: z.ZodOptional<z.ZodObject<{
|
|
5834
5847
|
enabled: z.ZodBoolean;
|
|
5835
5848
|
pricePerDayMinor: z.ZodNumber;
|
|
@@ -5908,6 +5921,7 @@ export declare const storefrontProductsResponseSchema: z.ZodDiscriminatedUnion<[
|
|
|
5908
5921
|
quantity: z.ZodNumber;
|
|
5909
5922
|
currency: z.ZodOptional<z.ZodString>;
|
|
5910
5923
|
}, z.core.$strip>>;
|
|
5924
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
5911
5925
|
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5912
5926
|
value: z.ZodString;
|
|
5913
5927
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -5983,6 +5997,7 @@ export declare const storefrontPublicAccessoryProductSchema: z.ZodObject<{
|
|
|
5983
5997
|
quantity: z.ZodNumber;
|
|
5984
5998
|
currency: z.ZodOptional<z.ZodString>;
|
|
5985
5999
|
}, z.core.$strip>>;
|
|
6000
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
5986
6001
|
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5987
6002
|
value: z.ZodString;
|
|
5988
6003
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -6084,6 +6099,7 @@ export declare const storefrontPublicBikeProductSchema: z.ZodObject<{
|
|
|
6084
6099
|
quantity: z.ZodNumber;
|
|
6085
6100
|
currency: z.ZodOptional<z.ZodString>;
|
|
6086
6101
|
}, z.core.$strip>>>;
|
|
6102
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
6087
6103
|
insurance: z.ZodOptional<z.ZodObject<{
|
|
6088
6104
|
enabled: z.ZodBoolean;
|
|
6089
6105
|
pricePerDayMinor: z.ZodNumber;
|
|
@@ -6984,13 +7000,15 @@ export declare function validateBookingDeliveryAddress(input: BookingDeliveryAdd
|
|
|
6984
7000
|
|
|
6985
7001
|
declare type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
6986
7002
|
|
|
6987
|
-
export declare const WhatsAppFloatingButton: (
|
|
7003
|
+
export declare const WhatsAppFloatingButton: ({ avoidMobileBottomBar, ...options }: WhatsAppFloatingButtonProps) => JSX.Element | null;
|
|
6988
7004
|
|
|
6989
7005
|
export declare interface WhatsAppFloatingButtonOptions {
|
|
6990
7006
|
href?: string;
|
|
6991
7007
|
}
|
|
6992
7008
|
|
|
6993
|
-
declare type WhatsAppFloatingButtonProps = WhatsAppFloatingButtonOptions
|
|
7009
|
+
declare type WhatsAppFloatingButtonProps = WhatsAppFloatingButtonOptions & {
|
|
7010
|
+
avoidMobileBottomBar?: boolean;
|
|
7011
|
+
};
|
|
6994
7012
|
|
|
6995
7013
|
export declare const writeBookingSearchParamsToSessionStorage: (storeSlug: string | undefined, booking: Partial<StorefrontBookingParams> | URLSearchParams) => void;
|
|
6996
7014
|
|
package/dist/index.js
CHANGED
|
@@ -61,38 +61,39 @@ import { DeliveryAddressSelector as Nr } from "./components/DeliveryAddressSelec
|
|
|
61
61
|
import { Form as Pr, FormControl as Fr, FormDescription as Ir, FormField as Lr, FormItem as Rr, FormLabel as zr, FormMessage as Br, useFormField as Vr } from "./ui/form.js";
|
|
62
62
|
import { Textarea as Hr } from "./ui/textarea.js";
|
|
63
63
|
import { ContactSection as Ur } from "./components/ContactSection/index.js";
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
64
|
+
import { FaqSection as Wr } from "./components/FaqSection/index.js";
|
|
65
|
+
import { TestimonialsSection as Gr } from "./components/TestimonialsSection/index.js";
|
|
66
|
+
import { AboutSection as Kr } from "./components/AboutSection/index.js";
|
|
67
|
+
import { AdminFloatingButton as qr } from "./components/AdminFloatingButton/AdminFloatingButton.js";
|
|
67
68
|
import "./components/AdminFloatingButton/index.js";
|
|
68
|
-
import { ItineraryListItem as
|
|
69
|
-
import { ItineraryRouteMap as
|
|
70
|
-
import { ItinerariesSection as
|
|
69
|
+
import { ItineraryListItem as Jr } from "./components/Itineraries/ItineraryListItem.js";
|
|
70
|
+
import { ItineraryRouteMap as Yr } from "./components/Itineraries/ItineraryRouteMap.js";
|
|
71
|
+
import { ItinerariesSection as Xr } from "./components/Itineraries/ItinerariesSection.js";
|
|
71
72
|
import "./components/Itineraries/index.js";
|
|
72
|
-
import { StepSectionTitle as
|
|
73
|
-
import { Card as
|
|
74
|
-
import { ProductWarningNotice as
|
|
75
|
-
import { StorefrontCartPanel as
|
|
76
|
-
import { ProductPriceBadge as
|
|
77
|
-
import { ContractSaleDocument as
|
|
73
|
+
import { StepSectionTitle as Zr } from "./components/StepSectionTitle/index.js";
|
|
74
|
+
import { Card as Qr, CardAction as $r, CardContent as ei, CardDescription as ti, CardFooter as ni, CardHeader as ri, CardTitle as ii } from "./ui/card.js";
|
|
75
|
+
import { ProductWarningNotice as ai } from "./components/ProductWarningNotice/index.js";
|
|
76
|
+
import { StorefrontCartPanel as oi } from "./components/StorefrontCartPanel/index.js";
|
|
77
|
+
import { ProductPriceBadge as si } from "./components/ProductPriceBadge/index.js";
|
|
78
|
+
import { ContractSaleDocument as ci } from "./components/ContractSaleDocument/Invoice.js";
|
|
78
79
|
import "./components/ContractSaleDocument/index.js";
|
|
79
|
-
import { SignatureInput as
|
|
80
|
-
import { RadioGroup as
|
|
80
|
+
import { SignatureInput as li } from "./components/SignatureInput/index.js";
|
|
81
|
+
import { RadioGroup as ui, RadioGroupItem as di } from "./ui/radio-group.js";
|
|
81
82
|
import "./pages/HomePage.js";
|
|
82
83
|
import "./pages/BookingPage.js";
|
|
83
84
|
import "./pages/ProductPage.js";
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
85
|
+
import fi from "./pages/ItinerariesPage.js";
|
|
86
|
+
import pi, { loader as mi } from "./pages/ItineraryDetailsPage.js";
|
|
87
|
+
import hi from "./pages/RentalTermsPage.js";
|
|
88
|
+
import gi from "./pages/InsuranceTermsPage.js";
|
|
88
89
|
import "./pages/CheckoutPage.js";
|
|
89
90
|
import "./pages/CheckoutSuccessPage.js";
|
|
90
91
|
import "./pages/NotFoundPage.js";
|
|
91
|
-
import { accessories as
|
|
92
|
-
import
|
|
93
|
-
import { contractSaleDocumentAcceptanceLevelSchema as
|
|
94
|
-
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as
|
|
95
|
-
import
|
|
96
|
-
import { loader as
|
|
97
|
-
import { Select as
|
|
98
|
-
export { Mi as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Gr as AboutSection, Kr as AdminFloatingButton, Le as BOOKING_SEARCH_KEYS, Zn as Badge, Er as BookingEndDateField, Dr as BookingEndTimeField, jr as BookingFlowSteps, kr as BookingMobileDateDrawer, xr as BookingPeriodProvider, Ar as BookingPeriodSelector, wr as BookingStartDateField, Tr as BookingStartTimeField, Or as BookingTimeSlotsStatus, $n as Button, nt as CATALOG_PRODUCT_BASE_RATE_UNSET, Zr as Card, Qr as CardAction, $r as CardContent, ei as CardDescription, ti as CardFooter, ni as CardHeader, ri as CardTitle, Ur as ContactSection, si as ContractSaleDocument, X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Ni as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, yr as DelayedPlaceholder, br as DelayedReveal, Nr as DeliveryAddressSelector, Xn as Footer, Pr as Form, Fr as FormControl, Ir as FormDescription, Lr as FormField, Rr as FormItem, zr as FormLabel, Br as FormMessage, Pi as GET_CONTRACT_SALE_DOCUMENT_ROUTE, dr as Header, Mr as Input, hi as InsuranceTermsPage, di as ItinerariesPage, Yr as ItinerariesSection, fi as ItineraryDetailsPage, qr as ItineraryListItem, Jr as ItineraryRouteMap, Cr as Label, nr as LanguageSelector, vr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, hr as PlatformFooter, mr as PoweredByLoczerBadge, oi as ProductPriceBadge, ii as ProductWarningNotice, Lt as ROUTE, li as RadioGroup, ui as RadioGroupItem, mi as RentalTermsPage, kn as STOREFRONT_AVAILABILITY_ROUTE, fn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ye as STOREFRONT_HERO_MODES, Hn as STOREFRONT_IMAGE_ROUTE, Ut as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Wt as STOREFRONT_ITINERARIES_LIST_ROUTE, Gt as STOREFRONT_ITINERARY_DETAIL_ROUTE, vn as STOREFRONT_PRODUCTS_ROUTE, Gn as STOREFRONT_TIME_SLOTS_ROUTE, Zi as Select, Qi as SelectContent, $i as SelectGroup, ea as SelectIcon, ta as SelectItem, na as SelectItemIndicator, ra as SelectItemText, ia as SelectLabel, aa as SelectScrollDownButton, oa as SelectScrollUpButton, sa as SelectSeparator, ca as SelectTrigger, la as SelectValue, ci as SignatureInput, Xr as StepSectionTitle, ai as StorefrontCartPanel, St as StorefrontCartProvider, rr as StorefrontContext, Re as TIME_OPTIONS, Wr as TestimonialsSection, Hr as Textarea, _r as WhatsAppFloatingButton, Fi as acceptContractSaleDocumentRequestSchema, Ii as acceptContractSaleDocumentResponseSchema, gi as accessories, _ as accessoryProductSchema, ze as applyBookingParamsToSearch, pe as assetIdSchema, Qn as badgeVariants, me as baseAssetSchema, he as baseAssetStatusSchema, ge as baseBookingItemSchema, _e as baseBookingSchema, ve as baseBookingStateSchema, v as bikeProductSchema, _i as bikes, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, kt as buildPriceTierLabels, At as buildRentalPriceRows, An as buildStorefrontAvailabilityKey, It as buildStorefrontCartSummary, Un as buildStorefrontImageUrl, rt as buildStorefrontProductSlug, it as buildVariantStorefrontProductId, ln as buildWhatsAppHref, er as buttonVariants, jt as calculateBookingRentalUnitSummary, le as calculateInsuranceCalendarDays, Mt as calculateRentalPriceForQuantity, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, Tt as cn, at as compareCatalogProducts, ot as compareStorefrontAccessoryProducts, st as compareStorefrontBikeProducts, Li as contractSaleDocumentAcceptanceInputSchema, vi as contractSaleDocumentAcceptanceLevelSchema, Ri as contractSaleDocumentAcceptanceRecordInputSchema, yi as contractSaleDocumentAcceptanceRecordSchema, bi as contractSaleDocumentAcceptanceSchema, xi as contractSaleDocumentAddressSchema, zi as contractSaleDocumentApiAcceptanceRecordSchema, Bi as contractSaleDocumentApiAcceptanceSchema, Vi as contractSaleDocumentApiSchema, Hi as contractSaleDocumentApiSignatureSchema, Si as contractSaleDocumentAppendixKindSchema, Ci as contractSaleDocumentAppendixSchema, wi as contractSaleDocumentContactSchema, Ti as contractSaleDocumentKindSchema, Ei as contractSaleDocumentLanguageCodeSchema, Di as contractSaleDocumentLanguageSchema, Oi as contractSaleDocumentLineItemSchema, Ui as contractSaleDocumentReferenceSchema, Wi as contractSaleDocumentReferenceTypeSchema, ki as contractSaleDocumentRentalSchema, Ai as contractSaleDocumentSchema, Gi as contractSaleDocumentSignatureInputSchema, ji as contractSaleDocumentSignatureSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, Be as createBookingPeriodConfigFromBookingEngineConfiguration, Ve as createBookingPeriodConfigFromShopConfiguration, He as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, jn as doesStorefrontAvailabilityDisplaySoldOut, Ki as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ct as findStorefrontInsurancePricingBike, lt as findStorefrontProduct, ut as findStorefrontProductBySlug, Et as formatPriceMinor, Nt as formatRentalUnitQuantity, Bt as formatStorefrontPhoneDisplay, Pt as formatStorefrontPriceMinor, K as fulfillmentModeSchema, Dt as getAvailabilityVariant, Ue as getBookingParamsFromSearch, We as getBookingSessionStorageKey, dt as getCatalogProductBaseRateMinor, ft as getCatalogProductPaginationSort, pt as getCatalogProductSortFieldForPriceUnit, qi as getContractSaleDocumentRequestSchema, Ji as getContractSaleDocumentResponseSchema, Ge as getDefaultBookingParams, Ke as getDefaultBookingParamsForStorefrontConfiguration, et as getLocalizedEntry, t as getLocalizedStringValue, tt as getLocalizedValue, Ot as getMinDayPriceMinor, Ft as getPricingUnitLabel, Mn as getStorefrontAvailabilityIssue, Nn as getStorefrontAvailabilityStatus, mt as getStorefrontBaseDailyRateMinor, ht as getStorefrontCheckoutProductId, gt as getStorefrontProductSelectionDisplayName, _t as getStorefrontRepresentedVariantId, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Pn as isStorefrontAvailabilityInsufficient, M as isoDateSchema, pi as itineraryDetailsLoader, Xi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, qe as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, p as productIdSchema, x as productInsuranceSchema, S as productKindSchema, C as productSchema, w as productStorefrontDisplayModeSchema, T as productVariantAttributeSchema, E as productVariantCodeSchema, D as productVariantIdentifierSchema, O as productVariantSchema, Fn as publicAvailabilityDisplayModeSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, Je as readBookingSearchParamsFromSessionStorage, Ye as readBookingSearchParamsFromStorage, Rt as requestSchema, re as resolveBookingDeliveryOption, Xe as resolveBookingSearchParams, Ze as resolveBookingSearchParamsFromSessionStorage, de as resolveOpeningHoursForDate, fe as resolveOpeningHoursPeriodForDate, Ct as resolveStorefrontCartItemProduct, Vt as resolveStorefrontMapsHref, Ht as resolveStorefrontPhoneContact, un as resolveStorefrontWhatsAppContact, dn as resolveStorefrontWhatsAppHref, zt as responseSchema, k as richTextJsonDocSchema, A as richTextSchema, j as richTextVersionSchema, N as shopConfigurationSchema, P as shopExtraTimeSlotRuleSchema, F as shopOpeningDayIndexSchema, I as shopOpeningDaySchema, L as shopOpeningHoursOverrideSchema, R as shopOpeningHoursPeriodSchema, z as shopOpeningSlotSchema, Rn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, zn as storefrontAvailabilityProductSchema, In as storefrontAvailabilityRequestSchema, Ln as storefrontAvailabilityResponseSchema, Bn as storefrontAvailabilityScheduleSchema, tr as storefrontButtonRadiusClassName, be as storefrontCheckoutModeSchema, hn as storefrontCheckoutSubmitDeliveryRefinement, mn as storefrontCheckoutSubmitItemSchema, pn as storefrontCheckoutSubmitRequestBaseSchema, gn as storefrontCheckoutSubmitRequestSchema, _n as storefrontCheckoutSubmitResponseSchema, xe as storefrontConfigurationSchema, Se as storefrontContentSchema, fr as storefrontEn, Ce as storefrontFaqItemSchema, we as storefrontFaqSchema, pr as storefrontFr, Te as storefrontFulfillmentModeSchema, Ee as storefrontHeroModeSchema, Wn as storefrontImageRequestSchema, De as storefrontInformationSchema, Kt as storefrontItinerariesFeaturedRequestSchema, qt as storefrontItinerariesFeaturedResponseSchema, Jt as storefrontItinerariesListRequestSchema, Yt as storefrontItinerariesListResponseSchema, Xt as storefrontItineraryBoundsSchema, Zt as storefrontItineraryCoordinateSchema, Qt as storefrontItineraryDetailRequestSchema, $t as storefrontItineraryDetailResponseSchema, en as storefrontItineraryDetailSchema, tn as storefrontItineraryDifficultySchema, nn as storefrontItineraryLocalizedStringSchema, rn as storefrontItineraryMetricsSchema, an as storefrontItineraryPreviewSchema, on as storefrontItineraryStepSchema, sn as storefrontItinerarySummarySchema, cn as storefrontItineraryTripTypeSchema, Oe as storefrontLocalizedRichTextSchema, ke as storefrontModalMessageSchema, Ae as storefrontModulesSchema, yn as storefrontProductsRequestSchema, bn as storefrontProductsResponseSchema, xn as storefrontPublicAccessoryProductSchema, Vn as storefrontPublicAvailabilityRecordSchema, Sn as storefrontPublicBikeAvailabilityStatusSchema, Cn as storefrontPublicBikeProductSchema, wn as storefrontPublicProductDisplayModeSchema, Tn as storefrontPublicProductPriceSchema, En as storefrontPublicProductVariantAttributeSchema, Dn as storefrontPublicProductVariantIdentifierSchema, On as storefrontPublicProductVariantSchema, je as storefrontReviewsModuleSchema, Me as storefrontRichTextSchema, Yi as storefrontRoutes, Ne as storefrontSettingsSchema, Pe as storefrontShopSchema, Fe as storefrontStatusSchema, Yn as storefrontTimeSlotJourneySchema, Jn as storefrontTimeSlotSchema, Kn as storefrontTimeSlotsRequestSchema, qn as storefrontTimeSlotsResponseSchema, Ie as storefrontWorkspaceSchema, B as timeOfDaySchema, vt as toStorefrontAccessoryProducts, yt as toStorefrontBikeProducts, bt as toStorefrontBookingProducts, xt as toStorefrontBookingProductsCollections, Sr as useBookingPeriod, Vr as useFormField, ir as useOptionalStorefront, ar as useStorefront, or as useStorefrontBookingProducts, wt as useStorefrontCart, sr as useStorefrontConfig, cr as useStorefrontItineraries, lr as useStorefrontProducts, ur as useStorefrontWorkspaceLanguage, gr as useWhatsAppFloatingButton, ie as validateBookingDeliveryAddress, Qe as writeBookingSearchParamsToSessionStorage, $e as writeBookingSearchParamsToStorage };
|
|
92
|
+
import { accessories as _i } from "./data/accessories.js";
|
|
93
|
+
import vi from "./data/bikes.js";
|
|
94
|
+
import { contractSaleDocumentAcceptanceLevelSchema as yi, contractSaleDocumentAcceptanceRecordSchema as bi, contractSaleDocumentAcceptanceSchema as xi, contractSaleDocumentAddressSchema as Si, contractSaleDocumentAppendixKindSchema as Ci, contractSaleDocumentAppendixSchema as wi, contractSaleDocumentContactSchema as Ti, contractSaleDocumentKindSchema as Ei, contractSaleDocumentLanguageCodeSchema as Di, contractSaleDocumentLanguageSchema as Oi, contractSaleDocumentLineItemSchema as ki, contractSaleDocumentRentalSchema as Ai, contractSaleDocumentSchema as ji, contractSaleDocumentSignatureSchema as Mi } from "./lib/contractSaleDocument.js";
|
|
95
|
+
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Ni, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Pi, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Fi, acceptContractSaleDocumentRequestSchema as Ii, acceptContractSaleDocumentResponseSchema as Li, contractSaleDocumentAcceptanceInputSchema as Ri, contractSaleDocumentAcceptanceRecordInputSchema as zi, contractSaleDocumentApiAcceptanceRecordSchema as Bi, contractSaleDocumentApiAcceptanceSchema as Vi, contractSaleDocumentApiSchema as Hi, contractSaleDocumentApiSignatureSchema as Ui, contractSaleDocumentReferenceSchema as Wi, contractSaleDocumentReferenceTypeSchema as Gi, contractSaleDocumentSignatureInputSchema as Ki, downloadContractSaleDocumentPdfRequestSchema as qi, getContractSaleDocumentRequestSchema as Ji, getContractSaleDocumentResponseSchema as Yi } from "./lib/contractSaleDocumentApi.js";
|
|
96
|
+
import Xi from "./routes.js";
|
|
97
|
+
import { loader as Zi } from "./StorefrontProvider.js";
|
|
98
|
+
import { Select as Qi, SelectContent as $i, SelectGroup as ea, SelectIcon as ta, SelectItem as na, SelectItemIndicator as ra, SelectItemText as ia, SelectLabel as aa, SelectScrollDownButton as oa, SelectScrollUpButton as sa, SelectSeparator as ca, SelectTrigger as la, SelectValue as ua } from "./ui/select.js";
|
|
99
|
+
export { Ni as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Kr as AboutSection, qr as AdminFloatingButton, Le as BOOKING_SEARCH_KEYS, Zn as Badge, Er as BookingEndDateField, Dr as BookingEndTimeField, jr as BookingFlowSteps, kr as BookingMobileDateDrawer, xr as BookingPeriodProvider, Ar as BookingPeriodSelector, wr as BookingStartDateField, Tr as BookingStartTimeField, Or as BookingTimeSlotsStatus, $n as Button, nt as CATALOG_PRODUCT_BASE_RATE_UNSET, Qr as Card, $r as CardAction, ei as CardContent, ti as CardDescription, ni as CardFooter, ri as CardHeader, ii as CardTitle, Ur as ContactSection, ci as ContractSaleDocument, X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Pi as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, yr as DelayedPlaceholder, br as DelayedReveal, Nr as DeliveryAddressSelector, Wr as FaqSection, Xn as Footer, Pr as Form, Fr as FormControl, Ir as FormDescription, Lr as FormField, Rr as FormItem, zr as FormLabel, Br as FormMessage, Fi as GET_CONTRACT_SALE_DOCUMENT_ROUTE, dr as Header, Mr as Input, gi as InsuranceTermsPage, fi as ItinerariesPage, Xr as ItinerariesSection, pi as ItineraryDetailsPage, Jr as ItineraryListItem, Yr as ItineraryRouteMap, Cr as Label, nr as LanguageSelector, vr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, hr as PlatformFooter, mr as PoweredByLoczerBadge, si as ProductPriceBadge, ai as ProductWarningNotice, Lt as ROUTE, ui as RadioGroup, di as RadioGroupItem, hi as RentalTermsPage, kn as STOREFRONT_AVAILABILITY_ROUTE, fn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ye as STOREFRONT_HERO_MODES, Hn as STOREFRONT_IMAGE_ROUTE, Ut as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Wt as STOREFRONT_ITINERARIES_LIST_ROUTE, Gt as STOREFRONT_ITINERARY_DETAIL_ROUTE, vn as STOREFRONT_PRODUCTS_ROUTE, Gn as STOREFRONT_TIME_SLOTS_ROUTE, Qi as Select, $i as SelectContent, ea as SelectGroup, ta as SelectIcon, na as SelectItem, ra as SelectItemIndicator, ia as SelectItemText, aa as SelectLabel, oa as SelectScrollDownButton, sa as SelectScrollUpButton, ca as SelectSeparator, la as SelectTrigger, ua as SelectValue, li as SignatureInput, Zr as StepSectionTitle, oi as StorefrontCartPanel, St as StorefrontCartProvider, rr as StorefrontContext, Re as TIME_OPTIONS, Gr as TestimonialsSection, Hr as Textarea, _r as WhatsAppFloatingButton, Ii as acceptContractSaleDocumentRequestSchema, Li as acceptContractSaleDocumentResponseSchema, _i as accessories, _ as accessoryProductSchema, ze as applyBookingParamsToSearch, pe as assetIdSchema, Qn as badgeVariants, me as baseAssetSchema, he as baseAssetStatusSchema, ge as baseBookingItemSchema, _e as baseBookingSchema, ve as baseBookingStateSchema, v as bikeProductSchema, vi as bikes, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, kt as buildPriceTierLabels, At as buildRentalPriceRows, An as buildStorefrontAvailabilityKey, It as buildStorefrontCartSummary, Un as buildStorefrontImageUrl, rt as buildStorefrontProductSlug, it as buildVariantStorefrontProductId, ln as buildWhatsAppHref, er as buttonVariants, jt as calculateBookingRentalUnitSummary, le as calculateInsuranceCalendarDays, Mt as calculateRentalPriceForQuantity, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, Tt as cn, at as compareCatalogProducts, ot as compareStorefrontAccessoryProducts, st as compareStorefrontBikeProducts, Ri as contractSaleDocumentAcceptanceInputSchema, yi as contractSaleDocumentAcceptanceLevelSchema, zi as contractSaleDocumentAcceptanceRecordInputSchema, bi as contractSaleDocumentAcceptanceRecordSchema, xi as contractSaleDocumentAcceptanceSchema, Si as contractSaleDocumentAddressSchema, Bi as contractSaleDocumentApiAcceptanceRecordSchema, Vi as contractSaleDocumentApiAcceptanceSchema, Hi as contractSaleDocumentApiSchema, Ui as contractSaleDocumentApiSignatureSchema, Ci as contractSaleDocumentAppendixKindSchema, wi as contractSaleDocumentAppendixSchema, Ti as contractSaleDocumentContactSchema, Ei as contractSaleDocumentKindSchema, Di as contractSaleDocumentLanguageCodeSchema, Oi as contractSaleDocumentLanguageSchema, ki as contractSaleDocumentLineItemSchema, Wi as contractSaleDocumentReferenceSchema, Gi as contractSaleDocumentReferenceTypeSchema, Ai as contractSaleDocumentRentalSchema, ji as contractSaleDocumentSchema, Ki as contractSaleDocumentSignatureInputSchema, Mi as contractSaleDocumentSignatureSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, Be as createBookingPeriodConfigFromBookingEngineConfiguration, Ve as createBookingPeriodConfigFromShopConfiguration, He as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, jn as doesStorefrontAvailabilityDisplaySoldOut, qi as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ct as findStorefrontInsurancePricingBike, lt as findStorefrontProduct, ut as findStorefrontProductBySlug, Et as formatPriceMinor, Nt as formatRentalUnitQuantity, Bt as formatStorefrontPhoneDisplay, Pt as formatStorefrontPriceMinor, K as fulfillmentModeSchema, Dt as getAvailabilityVariant, Ue as getBookingParamsFromSearch, We as getBookingSessionStorageKey, dt as getCatalogProductBaseRateMinor, ft as getCatalogProductPaginationSort, pt as getCatalogProductSortFieldForPriceUnit, Ji as getContractSaleDocumentRequestSchema, Yi as getContractSaleDocumentResponseSchema, Ge as getDefaultBookingParams, Ke as getDefaultBookingParamsForStorefrontConfiguration, et as getLocalizedEntry, t as getLocalizedStringValue, tt as getLocalizedValue, Ot as getMinDayPriceMinor, Ft as getPricingUnitLabel, Mn as getStorefrontAvailabilityIssue, Nn as getStorefrontAvailabilityStatus, mt as getStorefrontBaseDailyRateMinor, ht as getStorefrontCheckoutProductId, gt as getStorefrontProductSelectionDisplayName, _t as getStorefrontRepresentedVariantId, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Pn as isStorefrontAvailabilityInsufficient, M as isoDateSchema, mi as itineraryDetailsLoader, Zi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, qe as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, p as productIdSchema, x as productInsuranceSchema, S as productKindSchema, C as productSchema, w as productStorefrontDisplayModeSchema, T as productVariantAttributeSchema, E as productVariantCodeSchema, D as productVariantIdentifierSchema, O as productVariantSchema, Fn as publicAvailabilityDisplayModeSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, Je as readBookingSearchParamsFromSessionStorage, Ye as readBookingSearchParamsFromStorage, Rt as requestSchema, re as resolveBookingDeliveryOption, Xe as resolveBookingSearchParams, Ze as resolveBookingSearchParamsFromSessionStorage, de as resolveOpeningHoursForDate, fe as resolveOpeningHoursPeriodForDate, Ct as resolveStorefrontCartItemProduct, Vt as resolveStorefrontMapsHref, Ht as resolveStorefrontPhoneContact, un as resolveStorefrontWhatsAppContact, dn as resolveStorefrontWhatsAppHref, zt as responseSchema, k as richTextJsonDocSchema, A as richTextSchema, j as richTextVersionSchema, N as shopConfigurationSchema, P as shopExtraTimeSlotRuleSchema, F as shopOpeningDayIndexSchema, I as shopOpeningDaySchema, L as shopOpeningHoursOverrideSchema, R as shopOpeningHoursPeriodSchema, z as shopOpeningSlotSchema, Rn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, zn as storefrontAvailabilityProductSchema, In as storefrontAvailabilityRequestSchema, Ln as storefrontAvailabilityResponseSchema, Bn as storefrontAvailabilityScheduleSchema, tr as storefrontButtonRadiusClassName, be as storefrontCheckoutModeSchema, hn as storefrontCheckoutSubmitDeliveryRefinement, mn as storefrontCheckoutSubmitItemSchema, pn as storefrontCheckoutSubmitRequestBaseSchema, gn as storefrontCheckoutSubmitRequestSchema, _n as storefrontCheckoutSubmitResponseSchema, xe as storefrontConfigurationSchema, Se as storefrontContentSchema, fr as storefrontEn, Ce as storefrontFaqItemSchema, we as storefrontFaqSchema, pr as storefrontFr, Te as storefrontFulfillmentModeSchema, Ee as storefrontHeroModeSchema, Wn as storefrontImageRequestSchema, De as storefrontInformationSchema, Kt as storefrontItinerariesFeaturedRequestSchema, qt as storefrontItinerariesFeaturedResponseSchema, Jt as storefrontItinerariesListRequestSchema, Yt as storefrontItinerariesListResponseSchema, Xt as storefrontItineraryBoundsSchema, Zt as storefrontItineraryCoordinateSchema, Qt as storefrontItineraryDetailRequestSchema, $t as storefrontItineraryDetailResponseSchema, en as storefrontItineraryDetailSchema, tn as storefrontItineraryDifficultySchema, nn as storefrontItineraryLocalizedStringSchema, rn as storefrontItineraryMetricsSchema, an as storefrontItineraryPreviewSchema, on as storefrontItineraryStepSchema, sn as storefrontItinerarySummarySchema, cn as storefrontItineraryTripTypeSchema, Oe as storefrontLocalizedRichTextSchema, ke as storefrontModalMessageSchema, Ae as storefrontModulesSchema, yn as storefrontProductsRequestSchema, bn as storefrontProductsResponseSchema, xn as storefrontPublicAccessoryProductSchema, Vn as storefrontPublicAvailabilityRecordSchema, Sn as storefrontPublicBikeAvailabilityStatusSchema, Cn as storefrontPublicBikeProductSchema, wn as storefrontPublicProductDisplayModeSchema, Tn as storefrontPublicProductPriceSchema, En as storefrontPublicProductVariantAttributeSchema, Dn as storefrontPublicProductVariantIdentifierSchema, On as storefrontPublicProductVariantSchema, je as storefrontReviewsModuleSchema, Me as storefrontRichTextSchema, Xi as storefrontRoutes, Ne as storefrontSettingsSchema, Pe as storefrontShopSchema, Fe as storefrontStatusSchema, Yn as storefrontTimeSlotJourneySchema, Jn as storefrontTimeSlotSchema, Kn as storefrontTimeSlotsRequestSchema, qn as storefrontTimeSlotsResponseSchema, Ie as storefrontWorkspaceSchema, B as timeOfDaySchema, vt as toStorefrontAccessoryProducts, yt as toStorefrontBikeProducts, bt as toStorefrontBookingProducts, xt as toStorefrontBookingProductsCollections, Sr as useBookingPeriod, Vr as useFormField, ir as useOptionalStorefront, ar as useStorefront, or as useStorefrontBookingProducts, wt as useStorefrontCart, sr as useStorefrontConfig, cr as useStorefrontItineraries, lr as useStorefrontProducts, ur as useStorefrontWorkspaceLanguage, gr as useWhatsAppFloatingButton, ie as validateBookingDeliveryAddress, Qe as writeBookingSearchParamsToSessionStorage, $e as writeBookingSearchParamsToStorage };
|
|
@@ -121,6 +121,7 @@ export declare const storefrontPublicBikeProductSchema: z.ZodObject<{
|
|
|
121
121
|
quantity: z.ZodNumber;
|
|
122
122
|
currency: z.ZodOptional<z.ZodString>;
|
|
123
123
|
}, z.core.$strip>>>;
|
|
124
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
124
125
|
insurance: z.ZodOptional<z.ZodObject<{
|
|
125
126
|
enabled: z.ZodBoolean;
|
|
126
127
|
pricePerDayMinor: z.ZodNumber;
|
|
@@ -200,6 +201,7 @@ export declare const storefrontPublicAccessoryProductSchema: z.ZodObject<{
|
|
|
200
201
|
quantity: z.ZodNumber;
|
|
201
202
|
currency: z.ZodOptional<z.ZodString>;
|
|
202
203
|
}, z.core.$strip>>;
|
|
204
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
203
205
|
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
204
206
|
value: z.ZodString;
|
|
205
207
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -281,6 +283,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
281
283
|
quantity: z.ZodNumber;
|
|
282
284
|
currency: z.ZodOptional<z.ZodString>;
|
|
283
285
|
}, z.core.$strip>>>;
|
|
286
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
284
287
|
insurance: z.ZodOptional<z.ZodObject<{
|
|
285
288
|
enabled: z.ZodBoolean;
|
|
286
289
|
pricePerDayMinor: z.ZodNumber;
|
|
@@ -359,6 +362,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
359
362
|
quantity: z.ZodNumber;
|
|
360
363
|
currency: z.ZodOptional<z.ZodString>;
|
|
361
364
|
}, z.core.$strip>>;
|
|
365
|
+
depositAmount: z.ZodDefault<z.ZodNumber>;
|
|
362
366
|
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
363
367
|
value: z.ZodString;
|
|
364
368
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storefrontProducts.d.ts","sourceRoot":"","sources":["../../src/lib/storefrontProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,kCAAkC;;;;;;;;;;;iBAK7C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAE7F,eAAO,MAAM,sCAAsC;;;;;iBAKjD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAErG,eAAO,MAAM,8CAA8C;;;iBAGzD,CAAA;AACF,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAA;AAErH,eAAO,MAAM,6CAA6C;;;;iBAIxD,CAAA;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAA;AAEnH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;iBAK/C,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAEjG,eAAO,MAAM,4CAA4C;;;;EAAqD,CAAA;AAC9G,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AACjH,eAAO,MAAM,8BAA8B;;;EAA6B,CAAA;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACrF,eAAO,MAAM,iCAAiC,aAA2B,CAAA;AACzE,eAAO,MAAM,wCAAwC;;;EAGnD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAA;AAEzG,eAAO,MAAM,gCAAgC;;;;;;;;;;iBAUzC,CAAA;AACJ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEzF,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"storefrontProducts.d.ts","sourceRoot":"","sources":["../../src/lib/storefrontProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,kCAAkC;;;;;;;;;;;iBAK7C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAE7F,eAAO,MAAM,sCAAsC;;;;;iBAKjD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAErG,eAAO,MAAM,8CAA8C;;;iBAGzD,CAAA;AACF,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAA;AAErH,eAAO,MAAM,6CAA6C;;;;iBAIxD,CAAA;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAA;AAEnH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;iBAK/C,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAEjG,eAAO,MAAM,4CAA4C;;;;EAAqD,CAAA;AAC9G,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AACjH,eAAO,MAAM,8BAA8B;;;EAA6B,CAAA;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACrF,eAAO,MAAM,iCAAiC,aAA2B,CAAA;AACzE,eAAO,MAAM,wCAAwC;;;EAGnD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAA;AAEzG,eAAO,MAAM,gCAAgC;;;;;;;;;;iBAUzC,CAAA;AACJ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEzF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAE3F,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAejD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAErG,eAAO,MAAM,KAAK,oCAAoC,CAAA;AAEtD,eAAO,MAAM,aAAa;;iBAExB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAC1D,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAA;AAE7D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAYzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAC5D,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAA"}
|
|
@@ -58,6 +58,7 @@ var t = e.object({
|
|
|
58
58
|
images: e.array(e.string().trim().min(1)).optional(),
|
|
59
59
|
primaryImageStyle: m.optional(),
|
|
60
60
|
prices: e.array(a).optional(),
|
|
61
|
+
depositAmount: e.number().int().min(0).default(0),
|
|
61
62
|
insurance: o.optional(),
|
|
62
63
|
features: e.array(n).optional(),
|
|
63
64
|
productVariants: e.array(l).min(1),
|
|
@@ -74,6 +75,7 @@ var t = e.object({
|
|
|
74
75
|
images: e.array(e.string().trim().min(1)).optional(),
|
|
75
76
|
primaryImageStyle: m.optional(),
|
|
76
77
|
prices: e.array(a),
|
|
78
|
+
depositAmount: e.number().int().min(0).default(0),
|
|
77
79
|
features: e.array(n).optional(),
|
|
78
80
|
productVariants: e.array(l).min(1),
|
|
79
81
|
storefrontDisplayMode: p.default("variant_selector")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAsFA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAorBnC"}
|