@loczer/storefront-sdk 0.208.0 → 0.209.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/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/i18n/en.d.ts +31 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +31 -0
- package/dist/i18n/fr.d.ts +31 -0
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +31 -0
- package/dist/index.d.ts +763 -0
- package/dist/index.js +58 -51
- 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/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.js +8 -8
- package/dist/pages/CheckoutPage.js +4 -4
- 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/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/en.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;
|
package/dist/i18n/en.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2etB,CAAA"}
|
package/dist/i18n/en.js
CHANGED
|
@@ -8,6 +8,7 @@ var e = {
|
|
|
8
8
|
nav_categories: "Categories",
|
|
9
9
|
nav_featured: "Featured",
|
|
10
10
|
nav_products: "Bikes",
|
|
11
|
+
nav_itineraries: "Routes",
|
|
11
12
|
nav_contact: "Contact",
|
|
12
13
|
language_toggle: "FR/EN",
|
|
13
14
|
cta_book_now: "Book now",
|
|
@@ -82,6 +83,36 @@ var e = {
|
|
|
82
83
|
featured_title: "Featured bikes",
|
|
83
84
|
featured_description: "Popular picks to get started quickly.",
|
|
84
85
|
featured_view_all: "See all bikes",
|
|
86
|
+
itineraries_eyebrow: "Explore by bike",
|
|
87
|
+
itineraries_title: "Our favorite routes",
|
|
88
|
+
itineraries_description: "Routes selected by the shop to help you discover the most beautiful roads nearby.",
|
|
89
|
+
itineraries_list_label: "Routes to discover",
|
|
90
|
+
itineraries_view_all: "View all routes",
|
|
91
|
+
itineraries_back_home: "Back to home",
|
|
92
|
+
itineraries_page_title: "Choose your next ride",
|
|
93
|
+
itineraries_page_description_one: "Discover {{count}} route prepared for your stay.",
|
|
94
|
+
itineraries_page_description_other: "Discover {{count}} routes prepared for your stay.",
|
|
95
|
+
itineraries_filter_label: "Filter by difficulty",
|
|
96
|
+
itineraries_filter_all: "All levels",
|
|
97
|
+
itineraries_no_results: "No route matches this difficulty level.",
|
|
98
|
+
itineraries_difficulty_easy: "Easy",
|
|
99
|
+
itineraries_difficulty_moderate: "Moderate",
|
|
100
|
+
itineraries_difficulty_challenging: "Challenging",
|
|
101
|
+
itineraries_back_to_list: "All routes",
|
|
102
|
+
itineraries_route_label: "The route, step by step",
|
|
103
|
+
itineraries_step_fallback: "Step {{count}}",
|
|
104
|
+
itineraries_highlights_label: "Highlights",
|
|
105
|
+
itineraries_distance_label: "Distance",
|
|
106
|
+
itineraries_duration_label: "Duration",
|
|
107
|
+
itineraries_elevation_gain_label: "Elevation gain",
|
|
108
|
+
itineraries_elevation_loss_label: "Elevation loss",
|
|
109
|
+
itineraries_difficulty_label: "Difficulty level",
|
|
110
|
+
itineraries_details_label: "Route information",
|
|
111
|
+
itineraries_elevation_profile_label: "Elevation profile",
|
|
112
|
+
itineraries_elevation_profile_chart_label: "Route elevation chart",
|
|
113
|
+
itineraries_booking_title: "Ready to ride this route?",
|
|
114
|
+
itineraries_booking_description: "Choose your bike and dates, then head out and explore the route.",
|
|
115
|
+
itineraries_booking_cta: "Book a bike",
|
|
85
116
|
about_section_title: "About",
|
|
86
117
|
about_section_heading: "About the storefront",
|
|
87
118
|
about_section_fallback: "This shop hasn’t added a description yet.",
|
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;
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4etB,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.",
|