@loczer/storefront-sdk 0.208.0 → 0.210.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 +89 -0
- package/dist/StorefrontContext.d.ts.map +1 -1
- package/dist/StorefrontContext.js +8 -1
- package/dist/StorefrontProvider.d.ts +84 -0
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/StorefrontProvider.js +55 -41
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DAbcklF5.js +1 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/mini-CSEBo1ZP.js +60 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index--u3Qf-qy.js +4 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-CEcibV-H.js +1 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tzOffset/index-COlDDdap.js +22 -0
- package/dist/chunks/pkg/booking-engine/dist/pricing-BJaynUu_.js +3 -0
- package/dist/chunks/pkg/booking-engine/dist/utils/schedule-ssRov9xe.js +39 -0
- package/dist/chunks/pkg/booking-engine/dist/utils/timezone-B6XIbBPz.js +79 -0
- package/dist/chunks/pkg/ui/dist/Map/{MapContent-CDeWtwKa.js → MapContent-TzYCv8ji.js} +109 -108
- package/dist/chunks/pkg/ui/dist/Map/constants-dF2KdJZy.js +8 -0
- package/dist/chunks/pkg/ui/dist/{Map-Cs7wgtH9.js → Map-ZM-ZOU9P.js} +1 -1
- package/dist/components/BookingBikeVariantDialog/index.js +15 -15
- package/dist/components/ContactSection/index.js +9 -9
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +72 -66
- package/dist/components/Itineraries/ItinerariesSection.d.ts +2 -0
- package/dist/components/Itineraries/ItinerariesSection.d.ts.map +1 -0
- package/dist/components/Itineraries/ItinerariesSection.js +81 -0
- package/dist/components/Itineraries/ItineraryListItem.d.ts +9 -0
- package/dist/components/Itineraries/ItineraryListItem.d.ts.map +1 -0
- package/dist/components/Itineraries/ItineraryListItem.js +100 -0
- package/dist/components/Itineraries/ItineraryRouteMap.d.ts +10 -0
- package/dist/components/Itineraries/ItineraryRouteMap.d.ts.map +1 -0
- package/dist/components/Itineraries/ItineraryRouteMap.js +67 -0
- package/dist/components/Itineraries/index.d.ts +4 -0
- package/dist/components/Itineraries/index.d.ts.map +1 -0
- package/dist/components/Itineraries/index.js +4 -0
- package/dist/components/Map/index.d.ts +12 -0
- package/dist/components/Map/index.d.ts.map +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
- package/dist/components/ProductPriceBadge/index.js +86 -80
- package/dist/components/StorefrontCartPanel/index.d.ts +4 -4
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
- package/dist/components/StorefrontCartPanel/index.js +10 -9
- package/dist/i18n/en.d.ts +42 -6
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +44 -8
- package/dist/i18n/fr.d.ts +42 -6
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +44 -8
- package/dist/index.d.ts +817 -36
- package/dist/index.js +67 -60
- package/dist/lib/booking.d.ts +0 -6
- package/dist/lib/booking.d.ts.map +1 -1
- package/dist/lib/booking.js +51 -65
- package/dist/lib/cartSummary.d.ts +5 -3
- package/dist/lib/cartSummary.d.ts.map +1 -1
- package/dist/lib/cartSummary.js +7 -7
- package/dist/lib/itineraryPresentation.d.ts +14 -0
- package/dist/lib/itineraryPresentation.d.ts.map +1 -0
- package/dist/lib/itineraryPresentation.js +26 -0
- package/dist/lib/pricing.d.ts +18 -6
- package/dist/lib/pricing.d.ts.map +1 -1
- package/dist/lib/pricing.js +45 -29
- package/dist/lib/storefrontItineraries.d.ts +418 -0
- package/dist/lib/storefrontItineraries.d.ts.map +1 -0
- package/dist/lib/storefrontItineraries.js +81 -0
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +205 -201
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +276 -273
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +111 -108
- package/dist/pages/ItinerariesPage.d.ts +2 -0
- package/dist/pages/ItinerariesPage.d.ts.map +1 -0
- package/dist/pages/ItinerariesPage.js +76 -0
- package/dist/pages/ItineraryDetailsPage.d.ts +66 -0
- package/dist/pages/ItineraryDetailsPage.d.ts.map +1 -0
- package/dist/pages/ItineraryDetailsPage.js +223 -0
- package/dist/pages/ProductPage.js +6 -6
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +2 -2
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.js +4 -4
- package/dist/pages/itineraries/ElevationProfile.d.ts +5 -0
- package/dist/pages/itineraries/ElevationProfile.d.ts.map +1 -0
- package/dist/pages/itineraries/ElevationProfile.js +59 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +18 -10
- package/dist/storefront.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/pkg/ui/dist/Map/constants-BNmiJXfg.js +0 -4
package/dist/i18n/fr.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const storefront: {
|
|
|
7
7
|
nav_categories: string;
|
|
8
8
|
nav_featured: string;
|
|
9
9
|
nav_products: string;
|
|
10
|
+
nav_itineraries: string;
|
|
10
11
|
nav_contact: string;
|
|
11
12
|
language_toggle: string;
|
|
12
13
|
cta_book_now: string;
|
|
@@ -81,6 +82,36 @@ export declare const storefront: {
|
|
|
81
82
|
featured_title: string;
|
|
82
83
|
featured_description: string;
|
|
83
84
|
featured_view_all: string;
|
|
85
|
+
itineraries_eyebrow: string;
|
|
86
|
+
itineraries_title: string;
|
|
87
|
+
itineraries_description: string;
|
|
88
|
+
itineraries_list_label: string;
|
|
89
|
+
itineraries_view_all: string;
|
|
90
|
+
itineraries_back_home: string;
|
|
91
|
+
itineraries_page_title: string;
|
|
92
|
+
itineraries_page_description_one: string;
|
|
93
|
+
itineraries_page_description_other: string;
|
|
94
|
+
itineraries_filter_label: string;
|
|
95
|
+
itineraries_filter_all: string;
|
|
96
|
+
itineraries_no_results: string;
|
|
97
|
+
itineraries_difficulty_easy: string;
|
|
98
|
+
itineraries_difficulty_moderate: string;
|
|
99
|
+
itineraries_difficulty_challenging: string;
|
|
100
|
+
itineraries_back_to_list: string;
|
|
101
|
+
itineraries_route_label: string;
|
|
102
|
+
itineraries_step_fallback: string;
|
|
103
|
+
itineraries_highlights_label: string;
|
|
104
|
+
itineraries_distance_label: string;
|
|
105
|
+
itineraries_duration_label: string;
|
|
106
|
+
itineraries_elevation_gain_label: string;
|
|
107
|
+
itineraries_elevation_loss_label: string;
|
|
108
|
+
itineraries_difficulty_label: string;
|
|
109
|
+
itineraries_details_label: string;
|
|
110
|
+
itineraries_elevation_profile_label: string;
|
|
111
|
+
itineraries_elevation_profile_chart_label: string;
|
|
112
|
+
itineraries_booking_title: string;
|
|
113
|
+
itineraries_booking_description: string;
|
|
114
|
+
itineraries_booking_cta: string;
|
|
84
115
|
about_section_title: string;
|
|
85
116
|
about_section_heading: string;
|
|
86
117
|
about_section_fallback: string;
|
|
@@ -106,12 +137,18 @@ export declare const storefront: {
|
|
|
106
137
|
price_then: string;
|
|
107
138
|
price_details_aria_label: string;
|
|
108
139
|
price_table_title: string;
|
|
109
|
-
|
|
110
|
-
price_table_day_other: string;
|
|
111
|
-
price_table_per_day: string;
|
|
140
|
+
price_table_per_unit: string;
|
|
112
141
|
price_table_contact_prompt: string;
|
|
142
|
+
price_unit_hour_one: string;
|
|
143
|
+
price_unit_hour_other: string;
|
|
144
|
+
price_unit_half_day_one: string;
|
|
145
|
+
price_unit_half_day_other: string;
|
|
113
146
|
price_unit_day_one: string;
|
|
114
147
|
price_unit_day_other: string;
|
|
148
|
+
price_unit_week_one: string;
|
|
149
|
+
price_unit_week_other: string;
|
|
150
|
+
price_unit_month_one: string;
|
|
151
|
+
price_unit_month_other: string;
|
|
115
152
|
products_title: string;
|
|
116
153
|
products_description: string;
|
|
117
154
|
products_page_title: string;
|
|
@@ -132,7 +169,7 @@ export declare const storefront: {
|
|
|
132
169
|
cart_empty_description: string;
|
|
133
170
|
cart_line_meta: string;
|
|
134
171
|
remove_from_cart: string;
|
|
135
|
-
|
|
172
|
+
cart_total_per_unit: string;
|
|
136
173
|
cart_clear: string;
|
|
137
174
|
booking_select_variant_cancel: string;
|
|
138
175
|
close_modal: string;
|
|
@@ -154,8 +191,7 @@ export declare const storefront: {
|
|
|
154
191
|
checkout_subtitle: string;
|
|
155
192
|
checkout_summary_title: string;
|
|
156
193
|
checkout_summary_description: string;
|
|
157
|
-
|
|
158
|
-
checkout_estimated_days_other: string;
|
|
194
|
+
checkout_estimated_duration: string;
|
|
159
195
|
checkout_estimated_total: string;
|
|
160
196
|
checkout_form_title: string;
|
|
161
197
|
checkout_form_description: string;
|
package/dist/i18n/fr.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiftB,CAAA"}
|
package/dist/i18n/fr.js
CHANGED
|
@@ -8,6 +8,7 @@ var e = {
|
|
|
8
8
|
nav_categories: "Catégories",
|
|
9
9
|
nav_featured: "Sélection",
|
|
10
10
|
nav_products: "Vélos",
|
|
11
|
+
nav_itineraries: "Itinéraires",
|
|
11
12
|
nav_contact: "Contact",
|
|
12
13
|
language_toggle: "FR/EN",
|
|
13
14
|
cta_book_now: "Réserver",
|
|
@@ -82,6 +83,36 @@ var e = {
|
|
|
82
83
|
featured_title: "Vélos les plus populaires",
|
|
83
84
|
featured_description: "Apperçu des vélos les plus loués",
|
|
84
85
|
featured_view_all: "Voir tous les vélos",
|
|
86
|
+
itineraries_eyebrow: "À vélo, à votre rythme",
|
|
87
|
+
itineraries_title: "Nos itinéraires préférés",
|
|
88
|
+
itineraries_description: "Des parcours imaginés par la boutique pour découvrir les plus belles routes des environs.",
|
|
89
|
+
itineraries_list_label: "Itinéraires à découvrir",
|
|
90
|
+
itineraries_view_all: "Voir tous les itinéraires",
|
|
91
|
+
itineraries_back_home: "Retour à l’accueil",
|
|
92
|
+
itineraries_page_title: "Choisissez votre prochaine sortie",
|
|
93
|
+
itineraries_page_description_one: "Découvrez {{count}} itinéraire préparé pour votre séjour.",
|
|
94
|
+
itineraries_page_description_other: "Découvrez {{count}} itinéraires préparés pour votre séjour.",
|
|
95
|
+
itineraries_filter_label: "Filtrer par difficulté",
|
|
96
|
+
itineraries_filter_all: "Tous les niveaux",
|
|
97
|
+
itineraries_no_results: "Aucun itinéraire ne correspond à ce niveau de difficulté.",
|
|
98
|
+
itineraries_difficulty_easy: "Facile",
|
|
99
|
+
itineraries_difficulty_moderate: "Intermédiaire",
|
|
100
|
+
itineraries_difficulty_challenging: "Sportif",
|
|
101
|
+
itineraries_back_to_list: "Tous les itinéraires",
|
|
102
|
+
itineraries_route_label: "Le parcours, étape par étape",
|
|
103
|
+
itineraries_step_fallback: "Étape {{count}}",
|
|
104
|
+
itineraries_highlights_label: "Les points forts",
|
|
105
|
+
itineraries_distance_label: "Distance",
|
|
106
|
+
itineraries_duration_label: "Durée",
|
|
107
|
+
itineraries_elevation_gain_label: "Dénivelé positif",
|
|
108
|
+
itineraries_elevation_loss_label: "Dénivelé négatif",
|
|
109
|
+
itineraries_difficulty_label: "Niveau de difficulté",
|
|
110
|
+
itineraries_details_label: "Informations sur l’itinéraire",
|
|
111
|
+
itineraries_elevation_profile_label: "Profil d’altitude",
|
|
112
|
+
itineraries_elevation_profile_chart_label: "Courbe d’altitude de l’itinéraire",
|
|
113
|
+
itineraries_booking_title: "Envie de parcourir cet itinéraire ?",
|
|
114
|
+
itineraries_booking_description: "Choisissez votre vélo et vos dates, puis partez explorer le parcours.",
|
|
115
|
+
itineraries_booking_cta: "Réserver un vélo",
|
|
85
116
|
about_section_title: "Présentation",
|
|
86
117
|
about_section_heading: "Présentation de la boutique",
|
|
87
118
|
about_section_fallback: "Cette boutique n’a pas encore ajouté de présentation.",
|
|
@@ -103,16 +134,22 @@ var e = {
|
|
|
103
134
|
availability_checking: "Vérification de la disponibilité",
|
|
104
135
|
availability_remaining_count_one: "{{count}} disponible",
|
|
105
136
|
availability_remaining_count_other: "{{count}} disponibles",
|
|
106
|
-
price_from: "À partir de {{price}} /
|
|
137
|
+
price_from: "À partir de {{price}} / {{unit}}",
|
|
107
138
|
price_then: "puis {{price}}",
|
|
108
139
|
price_details_aria_label: "Voir le détail des tarifs pour {{price}}",
|
|
109
140
|
price_table_title: "Tarifs de location",
|
|
110
|
-
|
|
111
|
-
price_table_day_other: "{{count}} jours",
|
|
112
|
-
price_table_per_day: "{{price}}/j",
|
|
141
|
+
price_table_per_unit: "{{price}}/{{unit}}",
|
|
113
142
|
price_table_contact_prompt: "Pour une réservation spécifique ou une longue durée, n'hésitez pas à nous contacter.",
|
|
143
|
+
price_unit_hour_one: "heure",
|
|
144
|
+
price_unit_hour_other: "heures",
|
|
145
|
+
price_unit_half_day_one: "demi-journée",
|
|
146
|
+
price_unit_half_day_other: "demi-journées",
|
|
114
147
|
price_unit_day_one: "jour",
|
|
115
148
|
price_unit_day_other: "jours",
|
|
149
|
+
price_unit_week_one: "semaine",
|
|
150
|
+
price_unit_week_other: "semaines",
|
|
151
|
+
price_unit_month_one: "mois",
|
|
152
|
+
price_unit_month_other: "mois",
|
|
116
153
|
products_title: "Notre gamme de vélos",
|
|
117
154
|
products_description: "Parcourez les vélos et réservez en quelques clics.",
|
|
118
155
|
products_page_title: "Choisissez vos vélos",
|
|
@@ -131,9 +168,9 @@ var e = {
|
|
|
131
168
|
cart_empty: "Votre panier est vide.",
|
|
132
169
|
cart_empty_title: "Votre panier est vide",
|
|
133
170
|
cart_empty_description: "Ajoutez un vélo (et des accessoires) pour continuer.",
|
|
134
|
-
cart_line_meta: "Qté {{quantity}} · {{price}} /
|
|
171
|
+
cart_line_meta: "Qté {{quantity}} · {{price}} / {{unit}}",
|
|
135
172
|
remove_from_cart: "Retirer du panier",
|
|
136
|
-
|
|
173
|
+
cart_total_per_unit: "Total / {{unit}}",
|
|
137
174
|
cart_clear: "Vider le panier",
|
|
138
175
|
booking_select_variant_cancel: "Annuler",
|
|
139
176
|
close_modal: "Fermer",
|
|
@@ -155,8 +192,7 @@ var e = {
|
|
|
155
192
|
checkout_subtitle: "Confirmez vos informations et le paiement · {{duration}}",
|
|
156
193
|
checkout_summary_title: "Récapitulatif",
|
|
157
194
|
checkout_summary_description: "Panier et récap des montants.",
|
|
158
|
-
|
|
159
|
-
checkout_estimated_days_other: "Durée estimée : {{count}} jours",
|
|
195
|
+
checkout_estimated_duration: "Durée estimée",
|
|
160
196
|
checkout_estimated_total: "Total de la réservation",
|
|
161
197
|
checkout_form_title: "Vos informations",
|
|
162
198
|
checkout_form_description: "Renseignez vos coordonnées pour votre réservation. N'hésitez pas à ajouter toute information utile dans les notes.",
|