@loczer/storefront-sdk 0.239.0 → 0.240.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/StorefrontContext.d.ts +54 -0
- package/dist/StorefrontContext.d.ts.map +1 -1
- package/dist/StorefrontProvider.d.ts +27 -0
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.js +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.js +79 -54
- package/dist/components/FaqSection/index.d.ts.map +1 -1
- package/dist/components/FaqSection/index.js +44 -26
- package/dist/components/SignatureInput/index.js +2 -1
- package/dist/components/SignatureInput.d.ts.map +1 -1
- package/dist/components/StorefrontInformationDocument/index.d.ts +4 -0
- package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -1
- package/dist/components/StorefrontInformationDocument/index.js +20 -11
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/fr.js +1 -1
- package/dist/index.d.ts +172 -0
- package/dist/index.js +73 -73
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +152 -151
- package/dist/pages/InsuranceTermsPage.d.ts.map +1 -1
- package/dist/pages/InsuranceTermsPage.js +18 -16
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +2 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.js +17 -14
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +89 -0
- package/dist/storefrontSchemas.d.ts.map +1 -1
- package/dist/storefrontSchemas.js +19 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2428,6 +2428,15 @@ export declare const loader: ({ ctx, params }: LoaderArgs) => Promise<{
|
|
|
2428
2428
|
updatedAt: Date;
|
|
2429
2429
|
autoTranslated?: boolean | undefined;
|
|
2430
2430
|
}>;
|
|
2431
|
+
additionalLink?: {
|
|
2432
|
+
label: Record<string, {
|
|
2433
|
+
[x: string]: unknown;
|
|
2434
|
+
value: string;
|
|
2435
|
+
updatedAt: Date;
|
|
2436
|
+
autoTranslated?: boolean | undefined;
|
|
2437
|
+
}>;
|
|
2438
|
+
href: string;
|
|
2439
|
+
} | undefined;
|
|
2431
2440
|
}[];
|
|
2432
2441
|
deliveries: {
|
|
2433
2442
|
id: string;
|
|
@@ -2443,6 +2452,15 @@ export declare const loader: ({ ctx, params }: LoaderArgs) => Promise<{
|
|
|
2443
2452
|
updatedAt: Date;
|
|
2444
2453
|
autoTranslated?: boolean | undefined;
|
|
2445
2454
|
}>;
|
|
2455
|
+
additionalLink?: {
|
|
2456
|
+
label: Record<string, {
|
|
2457
|
+
[x: string]: unknown;
|
|
2458
|
+
value: string;
|
|
2459
|
+
updatedAt: Date;
|
|
2460
|
+
autoTranslated?: boolean | undefined;
|
|
2461
|
+
}>;
|
|
2462
|
+
href: string;
|
|
2463
|
+
} | undefined;
|
|
2446
2464
|
}[];
|
|
2447
2465
|
booking: {
|
|
2448
2466
|
id: string;
|
|
@@ -2458,6 +2476,15 @@ export declare const loader: ({ ctx, params }: LoaderArgs) => Promise<{
|
|
|
2458
2476
|
updatedAt: Date;
|
|
2459
2477
|
autoTranslated?: boolean | undefined;
|
|
2460
2478
|
}>;
|
|
2479
|
+
additionalLink?: {
|
|
2480
|
+
label: Record<string, {
|
|
2481
|
+
[x: string]: unknown;
|
|
2482
|
+
value: string;
|
|
2483
|
+
updatedAt: Date;
|
|
2484
|
+
autoTranslated?: boolean | undefined;
|
|
2485
|
+
}>;
|
|
2486
|
+
href: string;
|
|
2487
|
+
} | undefined;
|
|
2461
2488
|
}[];
|
|
2462
2489
|
};
|
|
2463
2490
|
tagline?: Record<string, {
|
|
@@ -4026,6 +4053,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
4026
4053
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4027
4054
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4028
4055
|
}, z.core.$loose>>;
|
|
4056
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4057
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4058
|
+
value: z.ZodString;
|
|
4059
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4060
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4061
|
+
}, z.core.$loose>>;
|
|
4062
|
+
href: z.ZodString;
|
|
4063
|
+
}, z.core.$strip>>;
|
|
4029
4064
|
}, z.core.$strip>>>;
|
|
4030
4065
|
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4031
4066
|
id: z.ZodString;
|
|
@@ -4039,6 +4074,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
4039
4074
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4040
4075
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4041
4076
|
}, z.core.$loose>>;
|
|
4077
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4078
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4079
|
+
value: z.ZodString;
|
|
4080
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4081
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4082
|
+
}, z.core.$loose>>;
|
|
4083
|
+
href: z.ZodString;
|
|
4084
|
+
}, z.core.$strip>>;
|
|
4042
4085
|
}, z.core.$strip>>>;
|
|
4043
4086
|
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4044
4087
|
id: z.ZodString;
|
|
@@ -4052,6 +4095,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
4052
4095
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4053
4096
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4054
4097
|
}, z.core.$loose>>;
|
|
4098
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4099
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4100
|
+
value: z.ZodString;
|
|
4101
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4102
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4103
|
+
}, z.core.$loose>>;
|
|
4104
|
+
href: z.ZodString;
|
|
4105
|
+
}, z.core.$strip>>;
|
|
4055
4106
|
}, z.core.$strip>>>;
|
|
4056
4107
|
}, z.core.$strip>>;
|
|
4057
4108
|
}, z.core.$strip>>;
|
|
@@ -4156,6 +4207,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
|
|
|
4156
4207
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4157
4208
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4158
4209
|
}, z.core.$loose>>;
|
|
4210
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4211
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4212
|
+
value: z.ZodString;
|
|
4213
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4214
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4215
|
+
}, z.core.$loose>>;
|
|
4216
|
+
href: z.ZodString;
|
|
4217
|
+
}, z.core.$strip>>;
|
|
4159
4218
|
}, z.core.$strip>>>;
|
|
4160
4219
|
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4161
4220
|
id: z.ZodString;
|
|
@@ -4169,6 +4228,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
|
|
|
4169
4228
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4170
4229
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4171
4230
|
}, z.core.$loose>>;
|
|
4231
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4232
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4233
|
+
value: z.ZodString;
|
|
4234
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4235
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4236
|
+
}, z.core.$loose>>;
|
|
4237
|
+
href: z.ZodString;
|
|
4238
|
+
}, z.core.$strip>>;
|
|
4172
4239
|
}, z.core.$strip>>>;
|
|
4173
4240
|
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4174
4241
|
id: z.ZodString;
|
|
@@ -4182,6 +4249,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
|
|
|
4182
4249
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4183
4250
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4184
4251
|
}, z.core.$loose>>;
|
|
4252
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4253
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4254
|
+
value: z.ZodString;
|
|
4255
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4256
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4257
|
+
}, z.core.$loose>>;
|
|
4258
|
+
href: z.ZodString;
|
|
4259
|
+
}, z.core.$strip>>;
|
|
4185
4260
|
}, z.core.$strip>>>;
|
|
4186
4261
|
}, z.core.$strip>>;
|
|
4187
4262
|
}, z.core.$strip>;
|
|
@@ -4704,6 +4779,17 @@ export declare const storefrontEn: {
|
|
|
4704
4779
|
|
|
4705
4780
|
export declare type StorefrontFaq = z.infer<typeof storefrontFaqSchema>;
|
|
4706
4781
|
|
|
4782
|
+
export declare type StorefrontFaqAdditionalLink = z.infer<typeof storefrontFaqAdditionalLinkSchema>;
|
|
4783
|
+
|
|
4784
|
+
export declare const storefrontFaqAdditionalLinkSchema: z.ZodObject<{
|
|
4785
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4786
|
+
value: z.ZodString;
|
|
4787
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4788
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4789
|
+
}, z.core.$loose>>;
|
|
4790
|
+
href: z.ZodString;
|
|
4791
|
+
}, z.core.$strip>;
|
|
4792
|
+
|
|
4707
4793
|
export declare type StorefrontFaqItem = z.infer<typeof storefrontFaqItemSchema>;
|
|
4708
4794
|
|
|
4709
4795
|
export declare const storefrontFaqItemSchema: z.ZodObject<{
|
|
@@ -4718,6 +4804,14 @@ export declare const storefrontFaqItemSchema: z.ZodObject<{
|
|
|
4718
4804
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4719
4805
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4720
4806
|
}, z.core.$loose>>;
|
|
4807
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4808
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4809
|
+
value: z.ZodString;
|
|
4810
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4811
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4812
|
+
}, z.core.$loose>>;
|
|
4813
|
+
href: z.ZodString;
|
|
4814
|
+
}, z.core.$strip>>;
|
|
4721
4815
|
}, z.core.$strip>;
|
|
4722
4816
|
|
|
4723
4817
|
export declare const storefrontFaqSchema: z.ZodObject<{
|
|
@@ -4733,6 +4827,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
|
|
|
4733
4827
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4734
4828
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4735
4829
|
}, z.core.$loose>>;
|
|
4830
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4831
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4832
|
+
value: z.ZodString;
|
|
4833
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4834
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4835
|
+
}, z.core.$loose>>;
|
|
4836
|
+
href: z.ZodString;
|
|
4837
|
+
}, z.core.$strip>>;
|
|
4736
4838
|
}, z.core.$strip>>>;
|
|
4737
4839
|
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4738
4840
|
id: z.ZodString;
|
|
@@ -4746,6 +4848,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
|
|
|
4746
4848
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4747
4849
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4748
4850
|
}, z.core.$loose>>;
|
|
4851
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4852
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4853
|
+
value: z.ZodString;
|
|
4854
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4855
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4856
|
+
}, z.core.$loose>>;
|
|
4857
|
+
href: z.ZodString;
|
|
4858
|
+
}, z.core.$strip>>;
|
|
4749
4859
|
}, z.core.$strip>>>;
|
|
4750
4860
|
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4751
4861
|
id: z.ZodString;
|
|
@@ -4759,6 +4869,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
|
|
|
4759
4869
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4760
4870
|
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4761
4871
|
}, z.core.$loose>>;
|
|
4872
|
+
additionalLink: z.ZodOptional<z.ZodObject<{
|
|
4873
|
+
label: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4874
|
+
value: z.ZodString;
|
|
4875
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
4876
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
4877
|
+
}, z.core.$loose>>;
|
|
4878
|
+
href: z.ZodString;
|
|
4879
|
+
}, z.core.$strip>>;
|
|
4762
4880
|
}, z.core.$strip>>>;
|
|
4763
4881
|
}, z.core.$strip>;
|
|
4764
4882
|
|
|
@@ -6587,6 +6705,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6587
6705
|
updatedAt: Date;
|
|
6588
6706
|
autoTranslated?: boolean | undefined;
|
|
6589
6707
|
}>;
|
|
6708
|
+
additionalLink?: {
|
|
6709
|
+
label: Record<string, {
|
|
6710
|
+
[x: string]: unknown;
|
|
6711
|
+
value: string;
|
|
6712
|
+
updatedAt: Date;
|
|
6713
|
+
autoTranslated?: boolean | undefined;
|
|
6714
|
+
}>;
|
|
6715
|
+
href: string;
|
|
6716
|
+
} | undefined;
|
|
6590
6717
|
}[];
|
|
6591
6718
|
deliveries: {
|
|
6592
6719
|
id: string;
|
|
@@ -6602,6 +6729,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6602
6729
|
updatedAt: Date;
|
|
6603
6730
|
autoTranslated?: boolean | undefined;
|
|
6604
6731
|
}>;
|
|
6732
|
+
additionalLink?: {
|
|
6733
|
+
label: Record<string, {
|
|
6734
|
+
[x: string]: unknown;
|
|
6735
|
+
value: string;
|
|
6736
|
+
updatedAt: Date;
|
|
6737
|
+
autoTranslated?: boolean | undefined;
|
|
6738
|
+
}>;
|
|
6739
|
+
href: string;
|
|
6740
|
+
} | undefined;
|
|
6605
6741
|
}[];
|
|
6606
6742
|
booking: {
|
|
6607
6743
|
id: string;
|
|
@@ -6617,6 +6753,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6617
6753
|
updatedAt: Date;
|
|
6618
6754
|
autoTranslated?: boolean | undefined;
|
|
6619
6755
|
}>;
|
|
6756
|
+
additionalLink?: {
|
|
6757
|
+
label: Record<string, {
|
|
6758
|
+
[x: string]: unknown;
|
|
6759
|
+
value: string;
|
|
6760
|
+
updatedAt: Date;
|
|
6761
|
+
autoTranslated?: boolean | undefined;
|
|
6762
|
+
}>;
|
|
6763
|
+
href: string;
|
|
6764
|
+
} | undefined;
|
|
6620
6765
|
}[];
|
|
6621
6766
|
};
|
|
6622
6767
|
tagline?: Record<string, {
|
|
@@ -6829,6 +6974,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6829
6974
|
updatedAt: Date;
|
|
6830
6975
|
autoTranslated?: boolean | undefined;
|
|
6831
6976
|
}>;
|
|
6977
|
+
additionalLink?: {
|
|
6978
|
+
label: Record<string, {
|
|
6979
|
+
[x: string]: unknown;
|
|
6980
|
+
value: string;
|
|
6981
|
+
updatedAt: Date;
|
|
6982
|
+
autoTranslated?: boolean | undefined;
|
|
6983
|
+
}>;
|
|
6984
|
+
href: string;
|
|
6985
|
+
} | undefined;
|
|
6832
6986
|
}[];
|
|
6833
6987
|
deliveries: {
|
|
6834
6988
|
id: string;
|
|
@@ -6844,6 +6998,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6844
6998
|
updatedAt: Date;
|
|
6845
6999
|
autoTranslated?: boolean | undefined;
|
|
6846
7000
|
}>;
|
|
7001
|
+
additionalLink?: {
|
|
7002
|
+
label: Record<string, {
|
|
7003
|
+
[x: string]: unknown;
|
|
7004
|
+
value: string;
|
|
7005
|
+
updatedAt: Date;
|
|
7006
|
+
autoTranslated?: boolean | undefined;
|
|
7007
|
+
}>;
|
|
7008
|
+
href: string;
|
|
7009
|
+
} | undefined;
|
|
6847
7010
|
}[];
|
|
6848
7011
|
booking: {
|
|
6849
7012
|
id: string;
|
|
@@ -6859,6 +7022,15 @@ export declare function useStorefrontConfig(): {
|
|
|
6859
7022
|
updatedAt: Date;
|
|
6860
7023
|
autoTranslated?: boolean | undefined;
|
|
6861
7024
|
}>;
|
|
7025
|
+
additionalLink?: {
|
|
7026
|
+
label: Record<string, {
|
|
7027
|
+
[x: string]: unknown;
|
|
7028
|
+
value: string;
|
|
7029
|
+
updatedAt: Date;
|
|
7030
|
+
autoTranslated?: boolean | undefined;
|
|
7031
|
+
}>;
|
|
7032
|
+
href: string;
|
|
7033
|
+
} | undefined;
|
|
6862
7034
|
}[];
|
|
6863
7035
|
};
|
|
6864
7036
|
tagline?: Record<string, {
|
package/dist/index.js
CHANGED
|
@@ -15,86 +15,86 @@ import { resolveOpeningHoursForDate as ve, resolveOpeningHoursPeriodForDate as y
|
|
|
15
15
|
import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-CFAxfmRW.js";
|
|
16
16
|
import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-CZOR9kya.js";
|
|
17
17
|
import "./chunks/pkg/booking-engine/dist/schemas-lb2iTDMd.js";
|
|
18
|
-
import { STOREFRONT_HERO_MODES as Ee, storefrontCheckoutModeSchema as De, storefrontConfigurationSchema as Oe, storefrontContentSchema as ke,
|
|
19
|
-
import { BOOKING_SEARCH_KEYS as
|
|
20
|
-
import { getLocalizedEntry as
|
|
21
|
-
import { CATALOG_PRODUCT_BASE_RATE_UNSET as
|
|
22
|
-
import { StorefrontCartProvider as
|
|
23
|
-
import { cn as
|
|
24
|
-
import { buildPriceTierLabels as
|
|
25
|
-
import { buildStorefrontCartSummary as
|
|
26
|
-
import { ROUTE as
|
|
27
|
-
import { formatStorefrontPhoneDisplay as
|
|
28
|
-
import { STOREFRONT_ITINERARIES_FEATURED_ROUTE as
|
|
29
|
-
import { buildWhatsAppHref as
|
|
30
|
-
import { ROUTE as
|
|
31
|
-
import { ROUTE as
|
|
32
|
-
import { ROUTE as
|
|
33
|
-
import { ROUTE as
|
|
34
|
-
import { ROUTE as
|
|
35
|
-
import { Footer as
|
|
36
|
-
import { Badge as
|
|
37
|
-
import { Button as
|
|
38
|
-
import { LanguageSelector as
|
|
39
|
-
import { StorefrontContext as
|
|
40
|
-
import { Header as
|
|
41
|
-
import { storefront as
|
|
42
|
-
import { storefront as
|
|
43
|
-
import { PoweredByLoczerBadge as
|
|
44
|
-
import { PlatformFooter as
|
|
45
|
-
import { useWhatsAppFloatingButton as
|
|
46
|
-
import { WhatsAppFloatingButton as
|
|
18
|
+
import { STOREFRONT_HERO_MODES as Ee, storefrontCheckoutModeSchema as De, storefrontConfigurationSchema as Oe, storefrontContentSchema as ke, storefrontFaqAdditionalLinkSchema as Ae, storefrontFaqItemSchema as je, storefrontFaqSchema as Me, storefrontFulfillmentModeSchema as Ne, storefrontHeroModeSchema as Pe, storefrontInformationSchema as Fe, storefrontLocalizedRichTextSchema as Ie, storefrontModalMessageSchema as Le, storefrontModulesSchema as Re, storefrontReviewsModuleSchema as ze, storefrontRichTextSchema as Be, storefrontSettingsSchema as Ve, storefrontShopSchema as He, storefrontStatusSchema as Ue, storefrontWorkspaceSchema as We } from "./storefrontSchemas.js";
|
|
19
|
+
import { BOOKING_SEARCH_KEYS as Ge, TIME_OPTIONS as Ke, applyBookingParamsToSearch as qe, createBookingPeriodConfigFromBookingEngineConfiguration as Je, createBookingPeriodConfigFromShopConfiguration as Ye, createBookingPeriodConfigFromStorefrontConfiguration as Xe, getBookingParamsFromSearch as Ze, getBookingSessionStorageKey as Qe, getDefaultBookingParams as $e, getDefaultBookingParamsForStorefrontConfiguration as et, pickBookingSearchParams as tt, readBookingSearchParamsFromSessionStorage as nt, readBookingSearchParamsFromStorage as rt, resolveBookingSearchParams as it, resolveBookingSearchParamsFromSessionStorage as at, writeBookingSearchParamsToSessionStorage as ot, writeBookingSearchParamsToStorage as st } from "./lib/booking.js";
|
|
20
|
+
import { getLocalizedEntry as ct, getLocalizedValue as lt } from "./localization.js";
|
|
21
|
+
import { CATALOG_PRODUCT_BASE_RATE_UNSET as ut, buildStorefrontProductSlug as dt, buildVariantStorefrontProductId as ft, compareCatalogProducts as pt, compareStorefrontAccessoryProducts as mt, compareStorefrontBikeProducts as ht, findStorefrontInsurancePricingBike as gt, findStorefrontProduct as _t, findStorefrontProductBySlug as vt, getCatalogProductBaseRateMinor as yt, getCatalogProductPaginationSort as bt, getCatalogProductSortFieldForPriceUnit as xt, getStorefrontBaseDailyRateMinor as St, getStorefrontCheckoutProductId as Ct, getStorefrontProductSelectionDisplayName as wt, getStorefrontRepresentedVariantId as Tt, toStorefrontAccessoryProducts as Et, toStorefrontBikeProducts as Dt, toStorefrontBookingProducts as Ot, toStorefrontBookingProductsCollections as kt } from "./lib/products.js";
|
|
22
|
+
import { StorefrontCartProvider as At, resolveStorefrontCartItemProduct as jt, useStorefrontCart as Mt } from "./lib/cart.js";
|
|
23
|
+
import { cn as Nt, formatPriceMinor as Pt, getAvailabilityVariant as Ft, getMinDayPriceMinor as It } from "./lib/utils.js";
|
|
24
|
+
import { buildPriceTierLabels as Lt, buildRentalPriceRows as Rt, calculateBookingRentalUnitSummary as zt, calculateRentalPriceForQuantity as Bt, formatRentalUnitQuantity as Vt, formatStorefrontPriceMinor as Ht, getPricingUnitLabel as Ut } from "./lib/pricing.js";
|
|
25
|
+
import { buildStorefrontCartSummary as Wt } from "./lib/cartSummary.js";
|
|
26
|
+
import { ROUTE as Gt, requestSchema as Kt, responseSchema as qt } from "./lib/contactForm.js";
|
|
27
|
+
import { formatStorefrontPhoneDisplay as Jt, resolveStorefrontMapsHref as Yt, resolveStorefrontPhoneContact as Xt } from "./lib/storefrontContact.js";
|
|
28
|
+
import { STOREFRONT_ITINERARIES_FEATURED_ROUTE as Zt, STOREFRONT_ITINERARIES_LIST_ROUTE as Qt, STOREFRONT_ITINERARY_DETAIL_ROUTE as $t, storefrontItinerariesFeaturedRequestSchema as en, storefrontItinerariesFeaturedResponseSchema as tn, storefrontItinerariesListRequestSchema as nn, storefrontItinerariesListResponseSchema as rn, storefrontItineraryBoundsSchema as an, storefrontItineraryCoordinateSchema as on, storefrontItineraryDetailRequestSchema as sn, storefrontItineraryDetailResponseSchema as cn, storefrontItineraryDetailSchema as ln, storefrontItineraryDifficultySchema as un, storefrontItineraryLocalizedStringSchema as dn, storefrontItineraryMetricsSchema as fn, storefrontItineraryPreviewSchema as pn, storefrontItineraryStepSchema as mn, storefrontItinerarySummarySchema as hn, storefrontItineraryTripTypeSchema as gn } from "./lib/storefrontItineraries.js";
|
|
29
|
+
import { buildWhatsAppHref as _n, resolveStorefrontWhatsAppContact as vn, resolveStorefrontWhatsAppHref as yn } from "./lib/whatsapp.js";
|
|
30
|
+
import { ROUTE as bn, requestBaseSchema as xn, requestCheckoutItemSchema as Sn, requestDeliveryRefinement as Cn, requestSchema as wn, responseSchema as Tn } from "./lib/checkoutSubmit.js";
|
|
31
|
+
import { ROUTE as En, requestSchema as Dn, responseSchema as On, storefrontPublicAccessoryProductSchema as kn, storefrontPublicBikeAvailabilityStatusSchema as An, storefrontPublicBikeProductSchema as jn, storefrontPublicProductDisplayModeSchema as Mn, storefrontPublicProductPriceSchema as Nn, storefrontPublicProductVariantAttributeSchema as Pn, storefrontPublicProductVariantIdentifierSchema as Fn, storefrontPublicProductVariantSchema as In } from "./lib/storefrontProducts.js";
|
|
32
|
+
import { ROUTE as Ln, buildStorefrontAvailabilityKey as Rn, doesStorefrontAvailabilityDisplaySoldOut as zn, getStorefrontAvailabilityIssue as Bn, getStorefrontAvailabilityStatus as Vn, isStorefrontAvailabilityInsufficient as Hn, publicAvailabilityDisplayModeSchema as Un, requestSchema as Wn, responseSchema as Gn, shouldBlockStorefrontUnavailableItem as Kn, storefrontAvailabilityProductSchema as qn, storefrontAvailabilityScheduleSchema as Jn, storefrontPublicAvailabilityRecordSchema as Yn } from "./lib/storefrontAvailability.js";
|
|
33
|
+
import { ROUTE as Xn, buildStorefrontImageUrl as Zn, requestSchema as Qn } from "./lib/storefrontImage.js";
|
|
34
|
+
import { ROUTE as $n, requestSchema as er, responseSchema as tr, storefrontTimeSlotSchema as nr, timeSlotJourneySchema as rr } from "./lib/storefrontTimeSlots.js";
|
|
35
|
+
import { Footer as ir } from "./components/Footer/index.js";
|
|
36
|
+
import { Badge as ar, badgeVariants as or } from "./ui/badge.js";
|
|
37
|
+
import { Button as sr, buttonVariants as cr, storefrontButtonRadiusClassName as lr } from "./ui/button.js";
|
|
38
|
+
import { LanguageSelector as ur } from "./components/LanguageSelector/index.js";
|
|
39
|
+
import { StorefrontContext as dr, useOptionalStorefront as fr, useStorefront as pr, useStorefrontBookingProducts as mr, useStorefrontConfig as hr, useStorefrontItineraries as gr, useStorefrontProducts as _r, useStorefrontWorkspaceLanguage as vr } from "./StorefrontContext.js";
|
|
40
|
+
import { Header as yr } from "./components/Header/index.js";
|
|
41
|
+
import { storefront as br } from "./i18n/en.js";
|
|
42
|
+
import { storefront as xr } from "./i18n/fr.js";
|
|
43
|
+
import { PoweredByLoczerBadge as Sr } from "./components/PoweredByLoczerBadge/index.js";
|
|
44
|
+
import { PlatformFooter as Cr } from "./components/PlatformFooter/index.js";
|
|
45
|
+
import { useWhatsAppFloatingButton as wr } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
|
|
46
|
+
import { WhatsAppFloatingButton as Tr } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
|
|
47
47
|
import "./components/WhatsAppFloatingButton/index.js";
|
|
48
|
-
import { Layout as
|
|
49
|
-
import { DelayedPlaceholder as
|
|
50
|
-
import { BookingPeriodProvider as
|
|
51
|
-
import { Label as
|
|
52
|
-
import { BookingStartDateField as
|
|
53
|
-
import { BookingStartTimeField as
|
|
54
|
-
import { BookingEndDateField as
|
|
55
|
-
import { BookingEndTimeField as
|
|
56
|
-
import { BookingTimeSlotsStatus as
|
|
57
|
-
import { BookingMobileDateDrawer as
|
|
58
|
-
import { BookingPeriodSelector as
|
|
59
|
-
import { BookingFlowSteps as
|
|
60
|
-
import { Input as
|
|
61
|
-
import { DeliveryAddressSelector as
|
|
62
|
-
import { Form as
|
|
63
|
-
import { Textarea as
|
|
64
|
-
import { ContactSection as
|
|
65
|
-
import { FaqSection as
|
|
66
|
-
import { TestimonialsSection as
|
|
67
|
-
import { AboutSection as
|
|
68
|
-
import { AdminFloatingButton as
|
|
48
|
+
import { Layout as Er } from "./components/Layout/index.js";
|
|
49
|
+
import { DelayedPlaceholder as Dr, DelayedReveal as Or } from "./components/DelayedReveal/index.js";
|
|
50
|
+
import { BookingPeriodProvider as kr, useBookingPeriod as Ar } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
|
|
51
|
+
import { Label as jr } from "./ui/label.js";
|
|
52
|
+
import { BookingStartDateField as Mr } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
|
|
53
|
+
import { BookingStartTimeField as Nr } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
|
|
54
|
+
import { BookingEndDateField as Pr } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
|
|
55
|
+
import { BookingEndTimeField as Fr } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
|
|
56
|
+
import { BookingTimeSlotsStatus as Ir } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
|
|
57
|
+
import { BookingMobileDateDrawer as Lr } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
|
|
58
|
+
import { BookingPeriodSelector as Rr } from "./components/BookingPeriodSelector/index.js";
|
|
59
|
+
import { BookingFlowSteps as zr } from "./components/BookingFlowSteps/index.js";
|
|
60
|
+
import { Input as Br } from "./ui/input.js";
|
|
61
|
+
import { DeliveryAddressSelector as Vr } from "./components/DeliveryAddressSelector/index.js";
|
|
62
|
+
import { Form as Hr, FormControl as Ur, FormDescription as Wr, FormField as Gr, FormItem as Kr, FormLabel as qr, FormMessage as Jr, useFormField as Yr } from "./ui/form.js";
|
|
63
|
+
import { Textarea as Xr } from "./ui/textarea.js";
|
|
64
|
+
import { ContactSection as Zr } from "./components/ContactSection/index.js";
|
|
65
|
+
import { FaqSection as Qr } from "./components/FaqSection/index.js";
|
|
66
|
+
import { TestimonialsSection as $r } from "./components/TestimonialsSection/index.js";
|
|
67
|
+
import { AboutSection as ei } from "./components/AboutSection/index.js";
|
|
68
|
+
import { AdminFloatingButton as ti } from "./components/AdminFloatingButton/AdminFloatingButton.js";
|
|
69
69
|
import "./components/AdminFloatingButton/index.js";
|
|
70
|
-
import { ItineraryListItem as
|
|
71
|
-
import { ItineraryRouteMap as
|
|
72
|
-
import { ItinerariesSection as
|
|
70
|
+
import { ItineraryListItem as ni } from "./components/Itineraries/ItineraryListItem.js";
|
|
71
|
+
import { ItineraryRouteMap as ri } from "./components/Itineraries/ItineraryRouteMap.js";
|
|
72
|
+
import { ItinerariesSection as ii } from "./components/Itineraries/ItinerariesSection.js";
|
|
73
73
|
import "./components/Itineraries/index.js";
|
|
74
|
-
import { StepSectionTitle as
|
|
75
|
-
import { Card as
|
|
76
|
-
import { ProductWarningNotice as
|
|
77
|
-
import { StorefrontCartPanel as
|
|
78
|
-
import { ProductPriceBadge as
|
|
79
|
-
import { ContractSaleDocument as
|
|
74
|
+
import { StepSectionTitle as ai } from "./components/StepSectionTitle/index.js";
|
|
75
|
+
import { Card as oi, CardAction as si, CardContent as ci, CardDescription as li, CardFooter as ui, CardHeader as di, CardTitle as fi } from "./ui/card.js";
|
|
76
|
+
import { ProductWarningNotice as pi } from "./components/ProductWarningNotice/index.js";
|
|
77
|
+
import { StorefrontCartPanel as mi } from "./components/StorefrontCartPanel/index.js";
|
|
78
|
+
import { ProductPriceBadge as hi } from "./components/ProductPriceBadge/index.js";
|
|
79
|
+
import { ContractSaleDocument as gi } from "./components/ContractSaleDocument/Invoice.js";
|
|
80
80
|
import "./components/ContractSaleDocument/index.js";
|
|
81
|
-
import { SignatureInput as
|
|
82
|
-
import { RadioGroup as
|
|
81
|
+
import { SignatureInput as _i } from "./components/SignatureInput/index.js";
|
|
82
|
+
import { RadioGroup as vi, RadioGroupItem as yi } from "./ui/radio-group.js";
|
|
83
83
|
import "./pages/HomePage.js";
|
|
84
84
|
import "./pages/BookingPage.js";
|
|
85
85
|
import "./pages/ProductPage.js";
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
86
|
+
import bi from "./pages/ItinerariesPage.js";
|
|
87
|
+
import xi, { loader as Si } from "./pages/ItineraryDetailsPage.js";
|
|
88
|
+
import Ci from "./pages/RentalTermsPage.js";
|
|
89
|
+
import wi from "./pages/InsuranceTermsPage.js";
|
|
90
90
|
import "./pages/CheckoutPage.js";
|
|
91
91
|
import "./pages/CheckoutSuccessPage.js";
|
|
92
92
|
import "./pages/NotFoundPage.js";
|
|
93
|
-
import { accessories as
|
|
94
|
-
import
|
|
95
|
-
import { contractSaleDocumentAcceptanceLevelSchema as
|
|
96
|
-
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as
|
|
97
|
-
import
|
|
98
|
-
import { loader as
|
|
99
|
-
import { Select as
|
|
100
|
-
export { Bi as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, $r as AboutSection, ei as AdminFloatingButton, k as BOOKING_REFERENCE_COUNTER_MIN_DIGITS, A as BOOKING_REFERENCE_REGEX, j as BOOKING_REFERENCE_YEAR_MONTH_REGEX, We as BOOKING_SEARCH_KEYS, ir as Badge, Nr as BookingEndDateField, Pr as BookingEndTimeField, Rr as BookingFlowSteps, Ir as BookingMobileDateDrawer, Or as BookingPeriodProvider, Lr as BookingPeriodSelector, jr as BookingStartDateField, Mr as BookingStartTimeField, Fr as BookingTimeSlotsStatus, or as Button, lt as CATALOG_PRODUCT_BASE_RATE_UNSET, ai as Card, oi as CardAction, si as CardContent, ci as CardDescription, li as CardFooter, ui as CardHeader, di as CardTitle, Xr as ContactSection, hi as ContractSaleDocument, re as DEFAULT_BOOKING_DELIVERY_OPTION, J as DEFAULT_CANCELLATION_POLICY, Y as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Vi as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, Er as DelayedPlaceholder, Dr as DelayedReveal, Br as DeliveryAddressSelector, Zr as FaqSection, rr as Footer, Vr as Form, Hr as FormControl, Ur as FormDescription, Wr as FormField, Gr as FormItem, Kr as FormLabel, qr as FormMessage, Hi as GET_CONTRACT_SALE_DOCUMENT_ROUTE, vr as Header, zr as Input, Ci as InsuranceTermsPage, yi as ItinerariesPage, ri as ItinerariesSection, bi as ItineraryDetailsPage, ti as ItineraryListItem, ni as ItineraryRouteMap, Ar as Label, lr as LanguageSelector, Tr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, Sr as PlatformFooter, xr as PoweredByLoczerBadge, mi as ProductPriceBadge, fi as ProductWarningNotice, Wt as ROUTE, _i as RadioGroup, vi as RadioGroupItem, Si as RentalTermsPage, In as STOREFRONT_AVAILABILITY_ROUTE, yn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, Ee as STOREFRONT_HERO_MODES, Yn as STOREFRONT_IMAGE_ROUTE, Xt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Zt as STOREFRONT_ITINERARIES_LIST_ROUTE, Qt as STOREFRONT_ITINERARY_DETAIL_ROUTE, Tn as STOREFRONT_PRODUCTS_ROUTE, Qn as STOREFRONT_TIME_SLOTS_ROUTE, aa as Select, oa as SelectContent, sa as SelectGroup, ca as SelectIcon, la as SelectItem, ua as SelectItemIndicator, da as SelectItemText, fa as SelectLabel, pa as SelectScrollDownButton, ma as SelectScrollUpButton, ha as SelectSeparator, ga as SelectTrigger, _a as SelectValue, gi as SignatureInput, ii as StepSectionTitle, pi as StorefrontCartPanel, kt as StorefrontCartProvider, ur as StorefrontContext, Ge as TIME_OPTIONS, Qr as TestimonialsSection, Yr as Textarea, wr as WhatsAppFloatingButton, Ui as acceptContractSaleDocumentRequestSchema, Wi as acceptContractSaleDocumentResponseSchema, wi as accessories, _ as accessoryProductSchema, Ke as applyBookingParamsToSearch, be as assetIdSchema, ar as badgeVariants, xe as baseAssetSchema, Se as baseAssetStatusSchema, Ce as baseBookingItemSchema, we as baseBookingSchema, Te as baseBookingStateSchema, v as bikeProductSchema, Ti as bikes, ie as bookingCustomerInputSchema, ae as bookingDeliveryOptionSchema, fe as bookingInsuranceConsentSourceSchema, pe as bookingInsuranceItemSnapshotSchema, me as bookingInsuranceSnapshotSchema, M as bookingReferenceSchema, N as bookingReferenceYearMonthSchema, oe as bookingScheduleInputSchema, he as buildBookingInsuranceSnapshot, It as buildPriceTierLabels, Lt as buildRentalPriceRows, Ln as buildStorefrontAvailabilityKey, Ut as buildStorefrontCartSummary, Xn as buildStorefrontImageUrl, ut as buildStorefrontProductSlug, dt as buildVariantStorefrontProductId, gn as buildWhatsAppHref, sr as buttonVariants, Rt as calculateBookingRentalUnitSummary, ge as calculateInsuranceCalendarDays, zt as calculateRentalPriceForQuantity, X as cancellationPolicySchema, Z as cancellationPolicyTierSchema, se as cartItemInputSchema, Mt as cn, ft as compareCatalogProducts, pt as compareStorefrontAccessoryProducts, mt as compareStorefrontBikeProducts, Gi as contractSaleDocumentAcceptanceInputSchema, Ei as contractSaleDocumentAcceptanceLevelSchema, Ki as contractSaleDocumentAcceptanceRecordInputSchema, Di as contractSaleDocumentAcceptanceRecordSchema, Oi as contractSaleDocumentAcceptanceSchema, ki as contractSaleDocumentAddressSchema, qi as contractSaleDocumentApiAcceptanceRecordSchema, Ji as contractSaleDocumentApiAcceptanceSchema, Yi as contractSaleDocumentApiSchema, Xi as contractSaleDocumentApiSignatureSchema, Ai as contractSaleDocumentAppendixKindSchema, ji as contractSaleDocumentAppendixSchema, Mi as contractSaleDocumentContactSchema, Ni as contractSaleDocumentKindSchema, Pi as contractSaleDocumentLanguageCodeSchema, Fi as contractSaleDocumentLanguageSchema, Ii as contractSaleDocumentLineItemSchema, Zi as contractSaleDocumentReferenceSchema, Qi as contractSaleDocumentReferenceTypeSchema, Li as contractSaleDocumentRentalSchema, Ri as contractSaleDocumentSchema, $i as contractSaleDocumentSignatureInputSchema, zi as contractSaleDocumentSignatureSchema, ce as createBookingInputBaseSchema, le as createBookingInputSchema, qe as createBookingPeriodConfigFromBookingEngineConfiguration, Je as createBookingPeriodConfigFromShopConfiguration, Ye as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, Rn as doesStorefrontAvailabilityDisplaySoldOut, ea as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ht as findStorefrontInsurancePricingBike, gt as findStorefrontProduct, _t as findStorefrontProductBySlug, P as formatBookingReference, F as formatBookingReferenceYearMonth, Nt as formatPriceMinor, Bt as formatRentalUnitQuantity, qt as formatStorefrontPhoneDisplay, Vt as formatStorefrontPriceMinor, $ as fulfillmentModeSchema, Pt as getAvailabilityVariant, Xe as getBookingParamsFromSearch, Ze as getBookingSessionStorageKey, vt as getCatalogProductBaseRateMinor, yt as getCatalogProductPaginationSort, bt as getCatalogProductSortFieldForPriceUnit, ta as getContractSaleDocumentRequestSchema, na as getContractSaleDocumentResponseSchema, Qe as getDefaultBookingParams, $e as getDefaultBookingParamsForStorefrontConfiguration, st as getLocalizedEntry, t as getLocalizedStringValue, ct as getLocalizedValue, Ft as getMinDayPriceMinor, Ht as getPricingUnitLabel, zn as getStorefrontAvailabilityIssue, Bn as getStorefrontAvailabilityStatus, xt as getStorefrontBaseDailyRateMinor, St as getStorefrontCheckoutProductId, Ct as getStorefrontProductSelectionDisplayName, wt as getStorefrontRepresentedVariantId, _e as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Vn as isStorefrontAvailabilityInsufficient, z as isoDateSchema, xi as itineraryDetailsLoader, ia as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, Q as paymentPoliciesSchema, et 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, Hn as publicAvailabilityDisplayModeSchema, ee as publicBookingEngineConfigurationSchema, te as publicCheckoutConfigurationSchema, ne as publicCheckoutDynamicOptionsSchema, tt as readBookingSearchParamsFromSessionStorage, nt as readBookingSearchParamsFromStorage, Gt as requestSchema, ue as resolveBookingDeliveryOption, rt as resolveBookingSearchParams, it as resolveBookingSearchParamsFromSessionStorage, ve as resolveOpeningHoursForDate, ye as resolveOpeningHoursPeriodForDate, At as resolveStorefrontCartItemProduct, Jt as resolveStorefrontMapsHref, Yt as resolveStorefrontPhoneContact, _n as resolveStorefrontWhatsAppContact, vn as resolveStorefrontWhatsAppHref, Kt as responseSchema, I as richTextJsonDocSchema, L as richTextSchema, R as richTextVersionSchema, B as shopConfigurationSchema, V as shopExtraTimeSlotRuleSchema, H as shopOpeningDayIndexSchema, U as shopOpeningDaySchema, W as shopOpeningHoursOverrideSchema, G as shopOpeningHoursPeriodSchema, K as shopOpeningSlotSchema, Gn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, Kn as storefrontAvailabilityProductSchema, Un as storefrontAvailabilityRequestSchema, Wn as storefrontAvailabilityResponseSchema, qn as storefrontAvailabilityScheduleSchema, cr as storefrontButtonRadiusClassName, De as storefrontCheckoutModeSchema, Sn as storefrontCheckoutSubmitDeliveryRefinement, xn as storefrontCheckoutSubmitItemSchema, bn as storefrontCheckoutSubmitRequestBaseSchema, Cn as storefrontCheckoutSubmitRequestSchema, wn as storefrontCheckoutSubmitResponseSchema, Oe as storefrontConfigurationSchema, ke as storefrontContentSchema, yr as storefrontEn, Ae as storefrontFaqItemSchema, je as storefrontFaqSchema, br as storefrontFr, Me as storefrontFulfillmentModeSchema, Ne as storefrontHeroModeSchema, Zn as storefrontImageRequestSchema, Pe as storefrontInformationSchema, $t as storefrontItinerariesFeaturedRequestSchema, en as storefrontItinerariesFeaturedResponseSchema, tn as storefrontItinerariesListRequestSchema, nn as storefrontItinerariesListResponseSchema, rn as storefrontItineraryBoundsSchema, an as storefrontItineraryCoordinateSchema, on as storefrontItineraryDetailRequestSchema, sn as storefrontItineraryDetailResponseSchema, cn as storefrontItineraryDetailSchema, ln as storefrontItineraryDifficultySchema, un as storefrontItineraryLocalizedStringSchema, dn as storefrontItineraryMetricsSchema, fn as storefrontItineraryPreviewSchema, pn as storefrontItineraryStepSchema, mn as storefrontItinerarySummarySchema, hn as storefrontItineraryTripTypeSchema, Fe as storefrontLocalizedRichTextSchema, Ie as storefrontModalMessageSchema, Le as storefrontModulesSchema, En as storefrontProductsRequestSchema, Dn as storefrontProductsResponseSchema, On as storefrontPublicAccessoryProductSchema, Jn as storefrontPublicAvailabilityRecordSchema, kn as storefrontPublicBikeAvailabilityStatusSchema, An as storefrontPublicBikeProductSchema, jn as storefrontPublicProductDisplayModeSchema, Mn as storefrontPublicProductPriceSchema, Nn as storefrontPublicProductVariantAttributeSchema, Pn as storefrontPublicProductVariantIdentifierSchema, Fn as storefrontPublicProductVariantSchema, Re as storefrontReviewsModuleSchema, ze as storefrontRichTextSchema, ra as storefrontRoutes, Be as storefrontSettingsSchema, Ve as storefrontShopSchema, He as storefrontStatusSchema, nr as storefrontTimeSlotJourneySchema, tr as storefrontTimeSlotSchema, $n as storefrontTimeSlotsRequestSchema, er as storefrontTimeSlotsResponseSchema, Ue as storefrontWorkspaceSchema, q as timeOfDaySchema, Tt as toStorefrontAccessoryProducts, Et as toStorefrontBikeProducts, Dt as toStorefrontBookingProducts, Ot as toStorefrontBookingProductsCollections, kr as useBookingPeriod, Jr as useFormField, dr as useOptionalStorefront, fr as useStorefront, pr as useStorefrontBookingProducts, jt as useStorefrontCart, mr as useStorefrontConfig, hr as useStorefrontItineraries, gr as useStorefrontProducts, _r as useStorefrontWorkspaceLanguage, Cr as useWhatsAppFloatingButton, de as validateBookingDeliveryAddress, at as writeBookingSearchParamsToSessionStorage, ot as writeBookingSearchParamsToStorage };
|
|
93
|
+
import { accessories as Ti } from "./data/accessories.js";
|
|
94
|
+
import Ei from "./data/bikes.js";
|
|
95
|
+
import { contractSaleDocumentAcceptanceLevelSchema as Di, contractSaleDocumentAcceptanceRecordSchema as Oi, contractSaleDocumentAcceptanceSchema as ki, contractSaleDocumentAddressSchema as Ai, contractSaleDocumentAppendixKindSchema as ji, contractSaleDocumentAppendixSchema as Mi, contractSaleDocumentContactSchema as Ni, contractSaleDocumentKindSchema as Pi, contractSaleDocumentLanguageCodeSchema as Fi, contractSaleDocumentLanguageSchema as Ii, contractSaleDocumentLineItemSchema as Li, contractSaleDocumentRentalSchema as Ri, contractSaleDocumentSchema as zi, contractSaleDocumentSignatureSchema as Bi } from "./lib/contractSaleDocument.js";
|
|
96
|
+
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Vi, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Hi, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Ui, acceptContractSaleDocumentRequestSchema as Wi, acceptContractSaleDocumentResponseSchema as Gi, contractSaleDocumentAcceptanceInputSchema as Ki, contractSaleDocumentAcceptanceRecordInputSchema as qi, contractSaleDocumentApiAcceptanceRecordSchema as Ji, contractSaleDocumentApiAcceptanceSchema as Yi, contractSaleDocumentApiSchema as Xi, contractSaleDocumentApiSignatureSchema as Zi, contractSaleDocumentReferenceSchema as Qi, contractSaleDocumentReferenceTypeSchema as $i, contractSaleDocumentSignatureInputSchema as ea, downloadContractSaleDocumentPdfRequestSchema as ta, getContractSaleDocumentRequestSchema as na, getContractSaleDocumentResponseSchema as ra } from "./lib/contractSaleDocumentApi.js";
|
|
97
|
+
import ia from "./routes.js";
|
|
98
|
+
import { loader as aa } from "./StorefrontProvider.js";
|
|
99
|
+
import { Select as oa, SelectContent as sa, SelectGroup as ca, SelectIcon as la, SelectItem as ua, SelectItemIndicator as da, SelectItemText as fa, SelectLabel as pa, SelectScrollDownButton as ma, SelectScrollUpButton as ha, SelectSeparator as ga, SelectTrigger as _a, SelectValue as va } from "./ui/select.js";
|
|
100
|
+
export { Vi as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, ei as AboutSection, ti as AdminFloatingButton, k as BOOKING_REFERENCE_COUNTER_MIN_DIGITS, A as BOOKING_REFERENCE_REGEX, j as BOOKING_REFERENCE_YEAR_MONTH_REGEX, Ge as BOOKING_SEARCH_KEYS, ar as Badge, Pr as BookingEndDateField, Fr as BookingEndTimeField, zr as BookingFlowSteps, Lr as BookingMobileDateDrawer, kr as BookingPeriodProvider, Rr as BookingPeriodSelector, Mr as BookingStartDateField, Nr as BookingStartTimeField, Ir as BookingTimeSlotsStatus, sr as Button, ut as CATALOG_PRODUCT_BASE_RATE_UNSET, oi as Card, si as CardAction, ci as CardContent, li as CardDescription, ui as CardFooter, di as CardHeader, fi as CardTitle, Zr as ContactSection, gi as ContractSaleDocument, re as DEFAULT_BOOKING_DELIVERY_OPTION, J as DEFAULT_CANCELLATION_POLICY, Y as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Hi as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, Dr as DelayedPlaceholder, Or as DelayedReveal, Vr as DeliveryAddressSelector, Qr as FaqSection, ir as Footer, Hr as Form, Ur as FormControl, Wr as FormDescription, Gr as FormField, Kr as FormItem, qr as FormLabel, Jr as FormMessage, Ui as GET_CONTRACT_SALE_DOCUMENT_ROUTE, yr as Header, Br as Input, wi as InsuranceTermsPage, bi as ItinerariesPage, ii as ItinerariesSection, xi as ItineraryDetailsPage, ni as ItineraryListItem, ri as ItineraryRouteMap, jr as Label, ur as LanguageSelector, Er as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, Cr as PlatformFooter, Sr as PoweredByLoczerBadge, hi as ProductPriceBadge, pi as ProductWarningNotice, Gt as ROUTE, vi as RadioGroup, yi as RadioGroupItem, Ci as RentalTermsPage, Ln as STOREFRONT_AVAILABILITY_ROUTE, bn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, Ee as STOREFRONT_HERO_MODES, Xn as STOREFRONT_IMAGE_ROUTE, Zt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Qt as STOREFRONT_ITINERARIES_LIST_ROUTE, $t as STOREFRONT_ITINERARY_DETAIL_ROUTE, En as STOREFRONT_PRODUCTS_ROUTE, $n as STOREFRONT_TIME_SLOTS_ROUTE, oa as Select, sa as SelectContent, ca as SelectGroup, la as SelectIcon, ua as SelectItem, da as SelectItemIndicator, fa as SelectItemText, pa as SelectLabel, ma as SelectScrollDownButton, ha as SelectScrollUpButton, ga as SelectSeparator, _a as SelectTrigger, va as SelectValue, _i as SignatureInput, ai as StepSectionTitle, mi as StorefrontCartPanel, At as StorefrontCartProvider, dr as StorefrontContext, Ke as TIME_OPTIONS, $r as TestimonialsSection, Xr as Textarea, Tr as WhatsAppFloatingButton, Wi as acceptContractSaleDocumentRequestSchema, Gi as acceptContractSaleDocumentResponseSchema, Ti as accessories, _ as accessoryProductSchema, qe as applyBookingParamsToSearch, be as assetIdSchema, or as badgeVariants, xe as baseAssetSchema, Se as baseAssetStatusSchema, Ce as baseBookingItemSchema, we as baseBookingSchema, Te as baseBookingStateSchema, v as bikeProductSchema, Ei as bikes, ie as bookingCustomerInputSchema, ae as bookingDeliveryOptionSchema, fe as bookingInsuranceConsentSourceSchema, pe as bookingInsuranceItemSnapshotSchema, me as bookingInsuranceSnapshotSchema, M as bookingReferenceSchema, N as bookingReferenceYearMonthSchema, oe as bookingScheduleInputSchema, he as buildBookingInsuranceSnapshot, Lt as buildPriceTierLabels, Rt as buildRentalPriceRows, Rn as buildStorefrontAvailabilityKey, Wt as buildStorefrontCartSummary, Zn as buildStorefrontImageUrl, dt as buildStorefrontProductSlug, ft as buildVariantStorefrontProductId, _n as buildWhatsAppHref, cr as buttonVariants, zt as calculateBookingRentalUnitSummary, ge as calculateInsuranceCalendarDays, Bt as calculateRentalPriceForQuantity, X as cancellationPolicySchema, Z as cancellationPolicyTierSchema, se as cartItemInputSchema, Nt as cn, pt as compareCatalogProducts, mt as compareStorefrontAccessoryProducts, ht as compareStorefrontBikeProducts, Ki as contractSaleDocumentAcceptanceInputSchema, Di as contractSaleDocumentAcceptanceLevelSchema, qi as contractSaleDocumentAcceptanceRecordInputSchema, Oi as contractSaleDocumentAcceptanceRecordSchema, ki as contractSaleDocumentAcceptanceSchema, Ai as contractSaleDocumentAddressSchema, Ji as contractSaleDocumentApiAcceptanceRecordSchema, Yi as contractSaleDocumentApiAcceptanceSchema, Xi as contractSaleDocumentApiSchema, Zi as contractSaleDocumentApiSignatureSchema, ji as contractSaleDocumentAppendixKindSchema, Mi as contractSaleDocumentAppendixSchema, Ni as contractSaleDocumentContactSchema, Pi as contractSaleDocumentKindSchema, Fi as contractSaleDocumentLanguageCodeSchema, Ii as contractSaleDocumentLanguageSchema, Li as contractSaleDocumentLineItemSchema, Qi as contractSaleDocumentReferenceSchema, $i as contractSaleDocumentReferenceTypeSchema, Ri as contractSaleDocumentRentalSchema, zi as contractSaleDocumentSchema, ea as contractSaleDocumentSignatureInputSchema, Bi as contractSaleDocumentSignatureSchema, ce as createBookingInputBaseSchema, le as createBookingInputSchema, Je as createBookingPeriodConfigFromBookingEngineConfiguration, Ye as createBookingPeriodConfigFromShopConfiguration, Xe as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, zn as doesStorefrontAvailabilityDisplaySoldOut, ta as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, gt as findStorefrontInsurancePricingBike, _t as findStorefrontProduct, vt as findStorefrontProductBySlug, P as formatBookingReference, F as formatBookingReferenceYearMonth, Pt as formatPriceMinor, Vt as formatRentalUnitQuantity, Jt as formatStorefrontPhoneDisplay, Ht as formatStorefrontPriceMinor, $ as fulfillmentModeSchema, Ft as getAvailabilityVariant, Ze as getBookingParamsFromSearch, Qe as getBookingSessionStorageKey, yt as getCatalogProductBaseRateMinor, bt as getCatalogProductPaginationSort, xt as getCatalogProductSortFieldForPriceUnit, na as getContractSaleDocumentRequestSchema, ra as getContractSaleDocumentResponseSchema, $e as getDefaultBookingParams, et as getDefaultBookingParamsForStorefrontConfiguration, ct as getLocalizedEntry, t as getLocalizedStringValue, lt as getLocalizedValue, It as getMinDayPriceMinor, Ut as getPricingUnitLabel, Bn as getStorefrontAvailabilityIssue, Vn as getStorefrontAvailabilityStatus, St as getStorefrontBaseDailyRateMinor, Ct as getStorefrontCheckoutProductId, wt as getStorefrontProductSelectionDisplayName, Tt as getStorefrontRepresentedVariantId, _e as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Hn as isStorefrontAvailabilityInsufficient, z as isoDateSchema, Si as itineraryDetailsLoader, aa as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, Q as paymentPoliciesSchema, tt 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, Un as publicAvailabilityDisplayModeSchema, ee as publicBookingEngineConfigurationSchema, te as publicCheckoutConfigurationSchema, ne as publicCheckoutDynamicOptionsSchema, nt as readBookingSearchParamsFromSessionStorage, rt as readBookingSearchParamsFromStorage, Kt as requestSchema, ue as resolveBookingDeliveryOption, it as resolveBookingSearchParams, at as resolveBookingSearchParamsFromSessionStorage, ve as resolveOpeningHoursForDate, ye as resolveOpeningHoursPeriodForDate, jt as resolveStorefrontCartItemProduct, Yt as resolveStorefrontMapsHref, Xt as resolveStorefrontPhoneContact, vn as resolveStorefrontWhatsAppContact, yn as resolveStorefrontWhatsAppHref, qt as responseSchema, I as richTextJsonDocSchema, L as richTextSchema, R as richTextVersionSchema, B as shopConfigurationSchema, V as shopExtraTimeSlotRuleSchema, H as shopOpeningDayIndexSchema, U as shopOpeningDaySchema, W as shopOpeningHoursOverrideSchema, G as shopOpeningHoursPeriodSchema, K as shopOpeningSlotSchema, Kn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, qn as storefrontAvailabilityProductSchema, Wn as storefrontAvailabilityRequestSchema, Gn as storefrontAvailabilityResponseSchema, Jn as storefrontAvailabilityScheduleSchema, lr as storefrontButtonRadiusClassName, De as storefrontCheckoutModeSchema, Cn as storefrontCheckoutSubmitDeliveryRefinement, Sn as storefrontCheckoutSubmitItemSchema, xn as storefrontCheckoutSubmitRequestBaseSchema, wn as storefrontCheckoutSubmitRequestSchema, Tn as storefrontCheckoutSubmitResponseSchema, Oe as storefrontConfigurationSchema, ke as storefrontContentSchema, br as storefrontEn, Ae as storefrontFaqAdditionalLinkSchema, je as storefrontFaqItemSchema, Me as storefrontFaqSchema, xr as storefrontFr, Ne as storefrontFulfillmentModeSchema, Pe as storefrontHeroModeSchema, Qn as storefrontImageRequestSchema, Fe as storefrontInformationSchema, en as storefrontItinerariesFeaturedRequestSchema, tn as storefrontItinerariesFeaturedResponseSchema, nn as storefrontItinerariesListRequestSchema, rn as storefrontItinerariesListResponseSchema, an as storefrontItineraryBoundsSchema, on as storefrontItineraryCoordinateSchema, sn as storefrontItineraryDetailRequestSchema, cn as storefrontItineraryDetailResponseSchema, ln as storefrontItineraryDetailSchema, un as storefrontItineraryDifficultySchema, dn as storefrontItineraryLocalizedStringSchema, fn as storefrontItineraryMetricsSchema, pn as storefrontItineraryPreviewSchema, mn as storefrontItineraryStepSchema, hn as storefrontItinerarySummarySchema, gn as storefrontItineraryTripTypeSchema, Ie as storefrontLocalizedRichTextSchema, Le as storefrontModalMessageSchema, Re as storefrontModulesSchema, Dn as storefrontProductsRequestSchema, On as storefrontProductsResponseSchema, kn as storefrontPublicAccessoryProductSchema, Yn as storefrontPublicAvailabilityRecordSchema, An as storefrontPublicBikeAvailabilityStatusSchema, jn as storefrontPublicBikeProductSchema, Mn as storefrontPublicProductDisplayModeSchema, Nn as storefrontPublicProductPriceSchema, Pn as storefrontPublicProductVariantAttributeSchema, Fn as storefrontPublicProductVariantIdentifierSchema, In as storefrontPublicProductVariantSchema, ze as storefrontReviewsModuleSchema, Be as storefrontRichTextSchema, ia as storefrontRoutes, Ve as storefrontSettingsSchema, He as storefrontShopSchema, Ue as storefrontStatusSchema, rr as storefrontTimeSlotJourneySchema, nr as storefrontTimeSlotSchema, er as storefrontTimeSlotsRequestSchema, tr as storefrontTimeSlotsResponseSchema, We as storefrontWorkspaceSchema, q as timeOfDaySchema, Et as toStorefrontAccessoryProducts, Dt as toStorefrontBikeProducts, Ot as toStorefrontBookingProducts, kt as toStorefrontBookingProductsCollections, Ar as useBookingPeriod, Yr as useFormField, fr as useOptionalStorefront, pr as useStorefront, mr as useStorefrontBookingProducts, Mt as useStorefrontCart, hr as useStorefrontConfig, gr as useStorefrontItineraries, _r as useStorefrontProducts, vr as useStorefrontWorkspaceLanguage, wr as useWhatsAppFloatingButton, de as validateBookingDeliveryAddress, ot as writeBookingSearchParamsToSessionStorage, st as writeBookingSearchParamsToStorage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAsFA,MAAM,CAAC,OAAO,UAAU,YAAY,
|
|
1
|
+
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAsFA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAwrBnC"}
|