ublo-lib 1.42.30 → 1.42.32
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-dialog-inner.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog-inner.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cart-dialog-inner.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog-inner.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;4CA6GC"}
|
|
@@ -21,6 +21,6 @@ const CartDialogInner = ({ kind, title, image, thumbnail, price, label, contentT
|
|
|
21
21
|
const formattedStayFrom = stay?.from && new Date(stay.from).toLocaleDateString(lang, formatOptions);
|
|
22
22
|
const formattedStayTo = stay?.to && new Date(stay.to).toLocaleDateString(lang, formatOptions);
|
|
23
23
|
const buttonClasses = classNames(styles.contentButton, styles.contentButtonContinue);
|
|
24
|
-
return (_jsxs("div", { className: styles.inner, children: [_jsxs("div", { className: styles.title, children: [_jsx(Icons.CheckCircle, { className: styles.titleIcon }), _jsx("div", { className: styles.titleText, children: title })] }), _jsxs("div", { className: styles.content, children: [image && (_jsx("div", { className: styles.contentLeft, children: _jsx(Image, { className: styles.productImage, src: image, width: 320, height: 200, placeholder: thumbnail ? "blur" : undefined, blurDataURL: thumbnail, alt: "" }) })), _jsxs("div", { className: styles.contentRight, children: [_jsxs("div", { className: styles.wrapper, children: [label && (_jsx("div", { className: styles.contentLabel, dangerouslySetInnerHTML: { __html: label } })), price && (_jsxs("div", { className: styles.price, children: [parseFloat(price).toFixed(2), " \u20AC"] }))] }), contentTitle && (_jsx("div", { className: styles.contentTitle, children: contentTitle })), !hideSkiPassesStay && formattedStayFrom && formattedStayTo && (_jsxs("div", { className: styles.stay, children: [formattedStayFrom, " \uA537 ", formattedStayTo] })), paxPlan && _jsx("div", { className: styles.paxPlan, children: paxPlan }), _jsxs("div", { className: styles.contentButtons, children: [_jsx(Button, { tag: Link, href: hasLangPrefix ? `/${lang}/` : "/", className: buttonClasses, variant: "secondary", onClick: closeDialog, children: message(lang, "cart-dialog-continue") }), _jsx(Button, { className: styles.contentButton, onClick: goToCart, children: message(lang, "cart-dialog-go-to-cart") })] })] })] }), kind && (_jsx(CrossSellingOffers, { kind: kind, cart: cart, closeDialog: closeDialog, zoneId: zoneId, zonePath: zonePath }))] }));
|
|
24
|
+
return (_jsxs("div", { className: styles.inner, children: [_jsxs("div", { className: styles.title, children: [_jsx(Icons.CheckCircle, { className: styles.titleIcon }), _jsx("div", { className: styles.titleText, children: title })] }), _jsxs("div", { className: styles.content, children: [image && (_jsx("div", { className: styles.contentLeft, children: _jsx(Image, { className: styles.productImage, src: image, width: 320, height: 200, placeholder: thumbnail ? "blur" : undefined, blurDataURL: thumbnail, alt: "" }) })), _jsxs("div", { className: styles.contentRight, children: [_jsxs("div", { className: styles.wrapper, children: [label && (_jsx("div", { className: styles.contentLabel, dangerouslySetInnerHTML: { __html: label } })), price && price > 0 ? (_jsxs("div", { className: styles.price, children: [parseFloat(price).toFixed(2), " \u20AC"] })) : null, price === 0 && (_jsx("div", { className: styles.price, children: message(lang, "free") }))] }), contentTitle && (_jsx("div", { className: styles.contentTitle, children: contentTitle })), !hideSkiPassesStay && formattedStayFrom && formattedStayTo && (_jsxs("div", { className: styles.stay, children: [formattedStayFrom, " \uA537 ", formattedStayTo] })), paxPlan && _jsx("div", { className: styles.paxPlan, children: paxPlan }), _jsxs("div", { className: styles.contentButtons, children: [_jsx(Button, { tag: Link, href: hasLangPrefix ? `/${lang}/` : "/", className: buttonClasses, variant: "secondary", onClick: closeDialog, children: message(lang, "cart-dialog-continue") }), _jsx(Button, { className: styles.contentButton, onClick: goToCart, children: message(lang, "cart-dialog-go-to-cart") })] })] })] }), kind && (_jsx(CrossSellingOffers, { kind: kind, cart: cart, closeDialog: closeDialog, zoneId: zoneId, zonePath: zonePath }))] }));
|
|
25
25
|
};
|
|
26
26
|
export default CartDialogInner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/message.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/message.js"],"names":[],"mappings":"AA4GA,iDAIC;AAED;;QAGC"}
|
|
@@ -17,6 +17,7 @@ const locales = {
|
|
|
17
17
|
"cross-selling-offers-title": "<b>Nos prestations</b> qui pourraient vous intéresser",
|
|
18
18
|
person: "personne",
|
|
19
19
|
persons: "personnes",
|
|
20
|
+
free: "Gratuit",
|
|
20
21
|
},
|
|
21
22
|
en: {
|
|
22
23
|
"cart-dialog-lodging-title": "Your accommodation",
|
|
@@ -35,6 +36,7 @@ const locales = {
|
|
|
35
36
|
"cross-selling-offers-title": "<b>Our services</b> that might interest you",
|
|
36
37
|
person: "person",
|
|
37
38
|
persons: "persons",
|
|
39
|
+
free: "Free",
|
|
38
40
|
},
|
|
39
41
|
es: {
|
|
40
42
|
"cart-dialog-lodging-title": "Su alojamiento",
|
|
@@ -53,6 +55,45 @@ const locales = {
|
|
|
53
55
|
"cross-selling-offers-title": "<b>Nuestros servicios</b> que podrían interesarle",
|
|
54
56
|
person: "persona",
|
|
55
57
|
persons: "personas",
|
|
58
|
+
free: "Gratis",
|
|
59
|
+
},
|
|
60
|
+
ca: {
|
|
61
|
+
"cart-dialog-lodging-title": "El seu allotjament",
|
|
62
|
+
"cart-dialog-ski-passes-title": "Els seus forfets",
|
|
63
|
+
"cart-dialog-esf-title": "El seu curs d'esquí",
|
|
64
|
+
"cart-dialog-ski-rental-title": "El seu material",
|
|
65
|
+
"cart-dialog-product-title": "El seu producte",
|
|
66
|
+
"cart-dialog-title-suffix-singular": "s'ha afegit al carretó amb èxit",
|
|
67
|
+
"cart-dialog-title-suffix-plural": "s'han afegit al carretó amb èxit",
|
|
68
|
+
"cart-dialog-continue": "Continuar al lloc web",
|
|
69
|
+
"cart-dialog-go-to-cart": "Finalitzar la meva comanda",
|
|
70
|
+
"search-filters-pax-plan-adult": "adult",
|
|
71
|
+
"search-filters-pax-plan-adults": "adults",
|
|
72
|
+
"search-filters-pax-plan-child": "nen",
|
|
73
|
+
"search-filters-pax-plan-children": "nens",
|
|
74
|
+
"cross-selling-offers-title": "<b>Els nostres serveis</b> que podrien interessar-li",
|
|
75
|
+
person: "persona",
|
|
76
|
+
persons: "persones",
|
|
77
|
+
free: "Gratuït",
|
|
78
|
+
},
|
|
79
|
+
nl: {
|
|
80
|
+
"cart-dialog-lodging-title": "Uw accommodatie",
|
|
81
|
+
"cart-dialog-ski-passes-title": "Uw skipassen",
|
|
82
|
+
"cart-dialog-esf-title": "Uw skiles",
|
|
83
|
+
"cart-dialog-ski-rental-title": "Uw materiaal",
|
|
84
|
+
"cart-dialog-product-title": "Uw product",
|
|
85
|
+
"cart-dialog-title-suffix-singular": "is met succes toegevoegd aan de winkelwagen",
|
|
86
|
+
"cart-dialog-title-suffix-plural": "zijn met succes toegevoegd aan de winkelwagen",
|
|
87
|
+
"cart-dialog-continue": "Doorgaan op de site",
|
|
88
|
+
"cart-dialog-go-to-cart": "Mijn bestelling afronden",
|
|
89
|
+
"search-filters-pax-plan-adult": "volwassene",
|
|
90
|
+
"search-filters-pax-plan-adults": "volwassenen",
|
|
91
|
+
"search-filters-pax-plan-child": "kind",
|
|
92
|
+
"search-filters-pax-plan-children": "kinderen",
|
|
93
|
+
"cross-selling-offers-title": "<b>Onze diensten</b> die u misschien interesseren",
|
|
94
|
+
person: "persoon",
|
|
95
|
+
persons: "personen",
|
|
96
|
+
free: "Gratis",
|
|
56
97
|
},
|
|
57
98
|
};
|
|
58
99
|
export function message(lang, id) {
|