@planetaexo/design-system 0.3.21 → 0.4.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/index.cjs +338 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.js +337 -182
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2929,94 +2929,120 @@ function BookingConfirmation({
|
|
|
2929
2929
|
var _a;
|
|
2930
2930
|
return (_a = a.travellers) != null ? _a : [];
|
|
2931
2931
|
});
|
|
2932
|
-
const
|
|
2933
|
-
"
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
"
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
children: l.ctaButton
|
|
2945
|
-
}
|
|
2946
|
-
);
|
|
2932
|
+
const ctaStyle = {
|
|
2933
|
+
display: "inline-block",
|
|
2934
|
+
backgroundColor: "#0ea5e9",
|
|
2935
|
+
color: "#ffffff",
|
|
2936
|
+
padding: "14px 32px",
|
|
2937
|
+
borderRadius: "8px",
|
|
2938
|
+
fontSize: "14px",
|
|
2939
|
+
fontWeight: "700",
|
|
2940
|
+
textDecoration: "none",
|
|
2941
|
+
fontFamily: "Arial, Helvetica, sans-serif"
|
|
2942
|
+
};
|
|
2943
|
+
const ViewBookingCta = viewBookingUrl ? /* @__PURE__ */ jsx("a", { href: viewBookingUrl, style: ctaStyle, children: l.ctaButton }) : /* @__PURE__ */ jsx("span", { style: ctaStyle, role: "presentation", children: l.ctaButton });
|
|
2947
2944
|
return /* @__PURE__ */ jsxs(
|
|
2948
2945
|
"div",
|
|
2949
2946
|
{
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2947
|
+
style: {
|
|
2948
|
+
maxWidth: "576px",
|
|
2949
|
+
margin: "0 auto",
|
|
2950
|
+
backgroundColor: "#ffffff",
|
|
2951
|
+
color: "#0f172a",
|
|
2952
|
+
fontFamily: "Arial, Helvetica, sans-serif",
|
|
2953
|
+
fontSize: "16px",
|
|
2954
|
+
lineHeight: "1.6"
|
|
2955
|
+
},
|
|
2956
|
+
className,
|
|
2954
2957
|
children: [
|
|
2955
|
-
/* @__PURE__ */ jsx("div", {
|
|
2958
|
+
/* @__PURE__ */ jsx("div", { style: { paddingTop: "40px", paddingBottom: "32px", textAlign: "center" }, children: /* @__PURE__ */ jsx(
|
|
2956
2959
|
"img",
|
|
2957
2960
|
{
|
|
2958
2961
|
src: logoUrl,
|
|
2959
2962
|
alt: l.logoAlt,
|
|
2960
|
-
|
|
2963
|
+
style: { height: "70px", width: "auto", objectFit: "contain" }
|
|
2961
2964
|
}
|
|
2962
2965
|
) }),
|
|
2963
|
-
/* @__PURE__ */ jsxs("div", {
|
|
2964
|
-
/* @__PURE__ */ jsx("p", {
|
|
2965
|
-
/* @__PURE__ */ jsx("p", {
|
|
2966
|
-
/* @__PURE__ */ jsx("p", {
|
|
2967
|
-
/* @__PURE__ */ jsx("div", {
|
|
2966
|
+
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px" }, children: [
|
|
2967
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.greeting(recipientName) }),
|
|
2968
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.confirmationMessage }),
|
|
2969
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "32px", fontSize: "16px" }, children: l.detailsIntro }),
|
|
2970
|
+
/* @__PURE__ */ jsx("div", { style: { marginBottom: "40px" }, children: ViewBookingCta })
|
|
2968
2971
|
] }),
|
|
2969
|
-
/* @__PURE__ */ jsx("hr", {
|
|
2970
|
-
/* @__PURE__ */ jsxs("div", {
|
|
2971
|
-
/* @__PURE__ */ jsx("p", {
|
|
2972
|
-
/* @__PURE__ */ jsx("div", {
|
|
2973
|
-
/* @__PURE__ */ jsx("span", {
|
|
2974
|
-
|
|
2972
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", margin: "0 32px" } }),
|
|
2973
|
+
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
2974
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: "#0f172a", fontSize: "18px", fontFamily: "Arial, Helvetica, sans-serif" }, children: l.nextStepsHeading }),
|
|
2975
|
+
/* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: "1px solid #e2e8f0", padding: "20px", display: "flex", flexDirection: "column", gap: "16px" }, children: l.nextSteps.map((step, i) => /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "flex-start", gap: "14px" }, children: [
|
|
2976
|
+
/* @__PURE__ */ jsx("span", { style: {
|
|
2977
|
+
display: "flex",
|
|
2978
|
+
height: "24px",
|
|
2979
|
+
width: "24px",
|
|
2980
|
+
flexShrink: 0,
|
|
2981
|
+
alignItems: "center",
|
|
2982
|
+
justifyContent: "center",
|
|
2983
|
+
borderRadius: "9999px",
|
|
2984
|
+
backgroundColor: "#e0f2fe",
|
|
2985
|
+
fontSize: "12px",
|
|
2986
|
+
fontWeight: "700",
|
|
2987
|
+
color: "#0ea5e9",
|
|
2988
|
+
marginTop: "2px"
|
|
2989
|
+
}, children: i + 1 }),
|
|
2990
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: "#334155", lineHeight: "1.6", margin: 0 }, children: step })
|
|
2975
2991
|
] }, i)) })
|
|
2976
2992
|
] }),
|
|
2977
|
-
/* @__PURE__ */ jsx("hr", {
|
|
2978
|
-
/* @__PURE__ */ jsxs("div", {
|
|
2979
|
-
/* @__PURE__ */ jsx("p", {
|
|
2980
|
-
/* @__PURE__ */ jsx("div", {
|
|
2981
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
2982
|
-
/* @__PURE__ */ jsx("td", {
|
|
2983
|
-
/* @__PURE__ */ jsx("td", {
|
|
2993
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", margin: "0 32px" } }),
|
|
2994
|
+
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
2995
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: "#0f172a", fontSize: "18px", fontFamily: "Arial, Helvetica, sans-serif" }, children: l.bookingSummaryHeading }),
|
|
2996
|
+
/* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: "1px solid #e2e8f0", overflow: "hidden" }, children: /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
2997
|
+
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
2998
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: "#64748b", backgroundColor: "#f8fafc" }, children: l.bookingNumberLabel }),
|
|
2999
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "600", color: "#0ea5e9" }, children: bookingReference })
|
|
2984
3000
|
] }),
|
|
2985
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
2986
|
-
/* @__PURE__ */ jsx("td", {
|
|
2987
|
-
/* @__PURE__ */ jsx("td", {
|
|
3001
|
+
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3002
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: "#64748b", backgroundColor: "#f8fafc" }, children: l.adventuresLabel }),
|
|
3003
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: "#0f172a" }, children: adventures.length })
|
|
2988
3004
|
] }),
|
|
2989
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
2990
|
-
/* @__PURE__ */ jsx("td", {
|
|
2991
|
-
/* @__PURE__ */ jsx("td", {
|
|
3005
|
+
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3006
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: "#64748b", backgroundColor: "#f8fafc" }, children: l.totalTravellersLabel }),
|
|
3007
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: "#0f172a" }, children: allTravellers.length })
|
|
2992
3008
|
] }),
|
|
2993
3009
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
2994
|
-
/* @__PURE__ */ jsx("td", {
|
|
2995
|
-
/* @__PURE__ */ jsx("td", {
|
|
3010
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", color: "#64748b", backgroundColor: "#f8fafc" }, children: l.agentLabel }),
|
|
3011
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: "#0f172a" }, children: agent })
|
|
2996
3012
|
] })
|
|
2997
3013
|
] }) }) })
|
|
2998
3014
|
] }),
|
|
2999
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3000
|
-
/* @__PURE__ */ jsx("div", {
|
|
3015
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", margin: "0 32px" } }),
|
|
3016
|
+
/* @__PURE__ */ jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px", display: "flex", flexDirection: "column", gap: "24px" }, children: adventures.map((adventure) => {
|
|
3001
3017
|
var _a;
|
|
3002
3018
|
return /* @__PURE__ */ jsxs(
|
|
3003
3019
|
"div",
|
|
3004
3020
|
{
|
|
3005
|
-
|
|
3021
|
+
style: { borderRadius: "16px", border: "1px solid #e2e8f0", backgroundColor: "#ffffff", overflow: "hidden" },
|
|
3006
3022
|
children: [
|
|
3007
|
-
/* @__PURE__ */ jsx("div", {
|
|
3023
|
+
/* @__PURE__ */ jsx("div", { style: { aspectRatio: "16/7", overflow: "hidden", backgroundColor: "#f8fafc" }, children: /* @__PURE__ */ jsx(
|
|
3008
3024
|
"img",
|
|
3009
3025
|
{
|
|
3010
3026
|
src: adventure.image,
|
|
3011
3027
|
alt: (_a = adventure.imageAlt) != null ? _a : adventure.title,
|
|
3012
|
-
|
|
3028
|
+
style: { width: "100%", height: "100%", objectFit: "cover" }
|
|
3013
3029
|
}
|
|
3014
3030
|
) }),
|
|
3015
|
-
/* @__PURE__ */ jsxs("div", {
|
|
3016
|
-
adventure.reference && /* @__PURE__ */ jsx("span", {
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3031
|
+
/* @__PURE__ */ jsxs("div", { style: { padding: "20px", display: "flex", flexDirection: "column", gap: "10px" }, children: [
|
|
3032
|
+
adventure.reference && /* @__PURE__ */ jsx("span", { style: {
|
|
3033
|
+
display: "inline-block",
|
|
3034
|
+
backgroundColor: "#e0f2fe",
|
|
3035
|
+
color: "#0ea5e9",
|
|
3036
|
+
padding: "2px 8px",
|
|
3037
|
+
borderRadius: "6px",
|
|
3038
|
+
fontSize: "12px",
|
|
3039
|
+
fontWeight: "600",
|
|
3040
|
+
letterSpacing: "0.05em",
|
|
3041
|
+
alignSelf: "flex-start"
|
|
3042
|
+
}, children: adventure.reference }),
|
|
3043
|
+
/* @__PURE__ */ jsx("h3", { style: { fontSize: "20px", fontWeight: "700", color: "#0f172a", lineHeight: "1.3", marginTop: "2px", margin: 0 }, children: adventure.title }),
|
|
3044
|
+
/* @__PURE__ */ jsxs("p", { style: { display: "flex", alignItems: "center", gap: "6px", fontSize: "14px", color: "#64748b", margin: 0, lineHeight: 1 }, children: [
|
|
3045
|
+
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: "#0ea5e9", flexShrink: 0 }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3020
3046
|
/* @__PURE__ */ jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }),
|
|
3021
3047
|
/* @__PURE__ */ jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }),
|
|
3022
3048
|
/* @__PURE__ */ jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }),
|
|
@@ -3026,15 +3052,15 @@ function BookingConfirmation({
|
|
|
3026
3052
|
" \u2192 ",
|
|
3027
3053
|
adventure.dateTo
|
|
3028
3054
|
] }),
|
|
3029
|
-
adventure.location && /* @__PURE__ */ jsxs("p", {
|
|
3030
|
-
/* @__PURE__ */ jsxs("svg", {
|
|
3055
|
+
adventure.location && /* @__PURE__ */ jsxs("p", { style: { display: "flex", alignItems: "center", gap: "6px", fontSize: "14px", color: "#64748b", margin: 0, lineHeight: 1 }, children: [
|
|
3056
|
+
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: "#0ea5e9", flexShrink: 0 }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3031
3057
|
/* @__PURE__ */ jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
|
|
3032
3058
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
|
|
3033
3059
|
] }),
|
|
3034
3060
|
adventure.location
|
|
3035
3061
|
] }),
|
|
3036
|
-
adventure.slots && /* @__PURE__ */ jsxs("p", {
|
|
3037
|
-
/* @__PURE__ */ jsxs("svg", {
|
|
3062
|
+
adventure.slots && /* @__PURE__ */ jsxs("p", { style: { display: "flex", alignItems: "center", gap: "6px", fontSize: "14px", color: "#64748b", margin: 0, lineHeight: 1 }, children: [
|
|
3063
|
+
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: "#0ea5e9", flexShrink: 0 }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3038
3064
|
/* @__PURE__ */ jsx("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
|
|
3039
3065
|
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
|
|
3040
3066
|
/* @__PURE__ */ jsx("path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
|
|
@@ -3045,28 +3071,28 @@ function BookingConfirmation({
|
|
|
3045
3071
|
adventure.slots.children ? `${adventure.slots.children} ${l.childrenUnit}` : null
|
|
3046
3072
|
].filter(Boolean).join(" \xB7 ")
|
|
3047
3073
|
] }),
|
|
3048
|
-
adventure.partner && /* @__PURE__ */ jsxs("p", {
|
|
3049
|
-
/* @__PURE__ */ jsxs("svg", {
|
|
3074
|
+
adventure.partner && /* @__PURE__ */ jsxs("p", { style: { display: "flex", alignItems: "center", gap: "6px", fontSize: "14px", color: "#64748b", margin: 0, lineHeight: 1 }, children: [
|
|
3075
|
+
/* @__PURE__ */ jsxs("svg", { style: { width: "14px", height: "14px", color: "#0ea5e9", flexShrink: 0 }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3050
3076
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
3051
3077
|
/* @__PURE__ */ jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
|
|
3052
3078
|
] }),
|
|
3053
3079
|
adventure.partner
|
|
3054
3080
|
] }),
|
|
3055
3081
|
adventure.travellers && adventure.travellers.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3056
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3082
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", marginTop: "4px", marginBottom: "4px" } }),
|
|
3057
3083
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3058
|
-
/* @__PURE__ */ jsx("p", {
|
|
3059
|
-
/* @__PURE__ */ jsx("div", {
|
|
3084
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: "#64748b", textTransform: "uppercase", letterSpacing: "0.1em", marginBottom: "8px", margin: "0 0 8px 0" }, children: l.travellersLabel }),
|
|
3085
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "6px" }, children: adventure.travellers.map((t) => /* @__PURE__ */ jsxs(
|
|
3060
3086
|
"div",
|
|
3061
3087
|
{
|
|
3062
|
-
|
|
3088
|
+
style: { display: "flex", alignItems: "center", justifyContent: "space-between" },
|
|
3063
3089
|
children: [
|
|
3064
|
-
/* @__PURE__ */ jsxs("span", {
|
|
3090
|
+
/* @__PURE__ */ jsxs("span", { style: { fontSize: "14px", fontWeight: "500", color: "#0f172a" }, children: [
|
|
3065
3091
|
t.firstName,
|
|
3066
3092
|
" ",
|
|
3067
3093
|
t.lastName
|
|
3068
3094
|
] }),
|
|
3069
|
-
t.isChild && /* @__PURE__ */ jsx("span", {
|
|
3095
|
+
t.isChild && /* @__PURE__ */ jsx("span", { style: { fontSize: "10px", fontWeight: "600", color: "#64748b", backgroundColor: "#f8fafc", borderRadius: "9999px", padding: "2px 8px", textTransform: "uppercase", letterSpacing: "0.05em" }, children: l.childBadge })
|
|
3070
3096
|
]
|
|
3071
3097
|
},
|
|
3072
3098
|
t.id
|
|
@@ -3074,34 +3100,34 @@ function BookingConfirmation({
|
|
|
3074
3100
|
] })
|
|
3075
3101
|
] }),
|
|
3076
3102
|
adventure.description && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3077
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3103
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", marginTop: "4px", marginBottom: "4px" } }),
|
|
3078
3104
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3079
|
-
/* @__PURE__ */ jsx("p", {
|
|
3080
|
-
/* @__PURE__ */ jsx("p", {
|
|
3105
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: "#64748b", textTransform: "uppercase", letterSpacing: "0.1em", marginBottom: "8px", margin: "0 0 8px 0" }, children: l.itineraryLabel }),
|
|
3106
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: "#334155", lineHeight: "1.6", margin: 0 }, children: adventure.description })
|
|
3081
3107
|
] })
|
|
3082
3108
|
] }),
|
|
3083
|
-
adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
3084
|
-
/* @__PURE__ */ jsx("h4", {
|
|
3085
|
-
/* @__PURE__ */ jsx("ul", {
|
|
3109
|
+
adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "10px", marginTop: "4px" }, children: [
|
|
3110
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: "#0f172a", margin: 0 }, children: l.includedLabel }),
|
|
3111
|
+
/* @__PURE__ */ jsx("ul", { style: { display: "flex", flexDirection: "column", gap: "6px", margin: 0, padding: 0, listStyle: "none" }, children: adventure.included.map((item, i) => /* @__PURE__ */ jsxs(
|
|
3086
3112
|
"li",
|
|
3087
3113
|
{
|
|
3088
|
-
|
|
3114
|
+
style: { display: "flex", alignItems: "flex-start", gap: "8px", fontSize: "14px", color: "#334155" },
|
|
3089
3115
|
children: [
|
|
3090
|
-
/* @__PURE__ */ jsx("svg", {
|
|
3116
|
+
/* @__PURE__ */ jsx("svg", { style: { width: "16px", height: "16px", color: "#0ea5e9", flexShrink: 0, marginTop: "2px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" }) }),
|
|
3091
3117
|
item
|
|
3092
3118
|
]
|
|
3093
3119
|
},
|
|
3094
3120
|
i
|
|
3095
3121
|
)) })
|
|
3096
3122
|
] }),
|
|
3097
|
-
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
3098
|
-
/* @__PURE__ */ jsx("h4", {
|
|
3099
|
-
/* @__PURE__ */ jsx("ul", {
|
|
3123
|
+
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "10px", marginTop: "4px" }, children: [
|
|
3124
|
+
/* @__PURE__ */ jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: "#0f172a", margin: 0 }, children: l.notIncludedLabel }),
|
|
3125
|
+
/* @__PURE__ */ jsx("ul", { style: { display: "flex", flexDirection: "column", gap: "6px", margin: 0, padding: 0, listStyle: "none" }, children: adventure.notIncluded.map((item, i) => /* @__PURE__ */ jsxs(
|
|
3100
3126
|
"li",
|
|
3101
3127
|
{
|
|
3102
|
-
|
|
3128
|
+
style: { display: "flex", alignItems: "flex-start", gap: "8px", fontSize: "14px", color: "#334155" },
|
|
3103
3129
|
children: [
|
|
3104
|
-
/* @__PURE__ */ jsxs("svg", {
|
|
3130
|
+
/* @__PURE__ */ jsxs("svg", { style: { width: "16px", height: "16px", color: "#dc2626", flexShrink: 0, marginTop: "2px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3105
3131
|
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
|
|
3106
3132
|
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
|
|
3107
3133
|
] }),
|
|
@@ -3112,23 +3138,25 @@ function BookingConfirmation({
|
|
|
3112
3138
|
)) })
|
|
3113
3139
|
] }),
|
|
3114
3140
|
adventure.lineItems && adventure.lineItems.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3115
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3141
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", marginTop: "4px", marginBottom: "4px" } }),
|
|
3116
3142
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3117
|
-
/* @__PURE__ */ jsx("p", {
|
|
3118
|
-
/* @__PURE__ */ jsxs("div", {
|
|
3143
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: "#64748b", textTransform: "uppercase", letterSpacing: "0.1em", marginBottom: "8px", margin: "0 0 8px 0" }, children: l.pricingLabel }),
|
|
3144
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
3119
3145
|
adventure.lineItems.map((item, j) => /* @__PURE__ */ jsxs(
|
|
3120
3146
|
"div",
|
|
3121
3147
|
{
|
|
3122
|
-
|
|
3148
|
+
style: { display: "flex", alignItems: "center", justifyContent: "space-between" },
|
|
3123
3149
|
children: [
|
|
3124
|
-
/* @__PURE__ */ jsx("span", {
|
|
3150
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", color: "#64748b" }, children: item.label }),
|
|
3125
3151
|
/* @__PURE__ */ jsxs(
|
|
3126
3152
|
"span",
|
|
3127
3153
|
{
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3154
|
+
style: {
|
|
3155
|
+
fontSize: "14px",
|
|
3156
|
+
fontWeight: "500",
|
|
3157
|
+
whiteSpace: "nowrap",
|
|
3158
|
+
color: item.isDiscount ? "#16a34a" : "#0f172a"
|
|
3159
|
+
},
|
|
3132
3160
|
children: [
|
|
3133
3161
|
item.isDiscount ? "\u2212" : "",
|
|
3134
3162
|
item.price
|
|
@@ -3139,9 +3167,9 @@ function BookingConfirmation({
|
|
|
3139
3167
|
},
|
|
3140
3168
|
j
|
|
3141
3169
|
)),
|
|
3142
|
-
adventure.subtotal && /* @__PURE__ */ jsxs("div", {
|
|
3143
|
-
/* @__PURE__ */ jsx("span", {
|
|
3144
|
-
/* @__PURE__ */ jsx("span", {
|
|
3170
|
+
adventure.subtotal && /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", paddingTop: "8px", marginTop: "4px", borderTop: "1px solid #e2e8f0" }, children: [
|
|
3171
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "700", color: "#0f172a" }, children: l.subtotalLabel }),
|
|
3172
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "700", color: "#0f172a", whiteSpace: "nowrap" }, children: adventure.subtotal })
|
|
3145
3173
|
] })
|
|
3146
3174
|
] })
|
|
3147
3175
|
] })
|
|
@@ -3152,19 +3180,22 @@ function BookingConfirmation({
|
|
|
3152
3180
|
adventure.id
|
|
3153
3181
|
);
|
|
3154
3182
|
}) }),
|
|
3155
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3156
|
-
/* @__PURE__ */ jsxs("div", {
|
|
3157
|
-
/* @__PURE__ */ jsx("p", {
|
|
3158
|
-
/* @__PURE__ */ jsx("div", {
|
|
3159
|
-
summaryLineItems && summaryLineItems.map((item, i) => /* @__PURE__ */ jsxs("tr", {
|
|
3160
|
-
/* @__PURE__ */ jsx("td", {
|
|
3183
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", margin: "0 32px" } }),
|
|
3184
|
+
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: [
|
|
3185
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontWeight: "700", color: "#0f172a", fontSize: "18px", fontFamily: "Arial, Helvetica, sans-serif" }, children: l.paymentSummaryHeading }),
|
|
3186
|
+
/* @__PURE__ */ jsx("div", { style: { borderRadius: "12px", border: "1px solid #e2e8f0", overflow: "hidden" }, children: /* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
3187
|
+
summaryLineItems && summaryLineItems.map((item, i) => /* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3188
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: "#64748b" }, children: item.label }),
|
|
3161
3189
|
/* @__PURE__ */ jsxs(
|
|
3162
3190
|
"td",
|
|
3163
3191
|
{
|
|
3164
|
-
|
|
3165
|
-
"
|
|
3166
|
-
|
|
3167
|
-
|
|
3192
|
+
style: {
|
|
3193
|
+
padding: "10px 16px",
|
|
3194
|
+
textAlign: "right",
|
|
3195
|
+
fontWeight: "500",
|
|
3196
|
+
whiteSpace: "nowrap",
|
|
3197
|
+
color: item.isDiscount ? "#16a34a" : "#0f172a"
|
|
3198
|
+
},
|
|
3168
3199
|
children: [
|
|
3169
3200
|
item.isDiscount ? "\u2212" : "",
|
|
3170
3201
|
item.price
|
|
@@ -3172,35 +3203,33 @@ function BookingConfirmation({
|
|
|
3172
3203
|
}
|
|
3173
3204
|
)
|
|
3174
3205
|
] }, i)),
|
|
3175
|
-
subtotal && /* @__PURE__ */ jsxs("tr", {
|
|
3176
|
-
/* @__PURE__ */ jsx("td", {
|
|
3177
|
-
/* @__PURE__ */ jsx("td", {
|
|
3206
|
+
subtotal && /* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3207
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: "#64748b" }, children: l.subtotalLabel }),
|
|
3208
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: "#0f172a", whiteSpace: "nowrap" }, children: subtotal })
|
|
3178
3209
|
] }),
|
|
3179
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
3180
|
-
/* @__PURE__ */ jsx("td", {
|
|
3181
|
-
/* @__PURE__ */ jsx("td", {
|
|
3210
|
+
/* @__PURE__ */ jsxs("tr", { style: { backgroundColor: "#f8fafc" }, children: [
|
|
3211
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "16px", fontWeight: "700", color: "#0f172a", fontSize: "16px" }, children: l.totalLabel }),
|
|
3212
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "16px", textAlign: "right", fontWeight: "700", color: "#0ea5e9", fontSize: "20px", whiteSpace: "nowrap" }, children: total })
|
|
3182
3213
|
] })
|
|
3183
3214
|
] }) }) }),
|
|
3184
|
-
depositInfo && /* @__PURE__ */ jsxs("div", {
|
|
3185
|
-
/* @__PURE__ */ jsx("div", {
|
|
3186
|
-
/* @__PURE__ */ jsx("table", {
|
|
3187
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
3188
|
-
/* @__PURE__ */ jsx("td", {
|
|
3189
|
-
/* @__PURE__ */ jsx("td", {
|
|
3215
|
+
depositInfo && /* @__PURE__ */ jsxs("div", { style: { borderRadius: "12px", border: "1px solid #e2e8f0", marginTop: "16px", overflow: "hidden" }, children: [
|
|
3216
|
+
/* @__PURE__ */ jsx("div", { style: { padding: "12px 16px", backgroundColor: "#f8fafc", borderBottom: "1px solid #e2e8f0" }, children: /* @__PURE__ */ jsx("p", { style: { fontSize: "10px", fontWeight: "700", color: "#64748b", textTransform: "uppercase", letterSpacing: "0.1em", margin: 0 }, children: l.paymentDetailsHeading }) }),
|
|
3217
|
+
/* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
3218
|
+
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3219
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: "#64748b" }, children: l.depositLabel(depositInfo.depositPercent) }),
|
|
3220
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: "#0f172a", whiteSpace: "nowrap" }, children: depositInfo.depositAmount })
|
|
3190
3221
|
] }),
|
|
3191
|
-
/* @__PURE__ */ jsxs("tr", {
|
|
3192
|
-
/* @__PURE__ */ jsx("td", {
|
|
3193
|
-
/* @__PURE__ */ jsx("td", {
|
|
3222
|
+
/* @__PURE__ */ jsxs("tr", { style: { borderBottom: "1px solid #e2e8f0" }, children: [
|
|
3223
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: "#64748b" }, children: l.remainingBalanceLabel }),
|
|
3224
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: "#0f172a", whiteSpace: "nowrap" }, children: depositInfo.remainingAmount })
|
|
3194
3225
|
] }),
|
|
3195
3226
|
/* @__PURE__ */ jsxs(
|
|
3196
3227
|
"tr",
|
|
3197
3228
|
{
|
|
3198
|
-
|
|
3199
|
-
depositInfo.isPaidInFull && "border-b border-border"
|
|
3200
|
-
),
|
|
3229
|
+
style: depositInfo.isPaidInFull ? { borderBottom: "1px solid #e2e8f0" } : {},
|
|
3201
3230
|
children: [
|
|
3202
|
-
/* @__PURE__ */ jsx("td", {
|
|
3203
|
-
/* @__PURE__ */ jsx("td", {
|
|
3231
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", color: "#64748b" }, children: l.balanceDueLabel }),
|
|
3232
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: "500", color: "#0f172a", whiteSpace: "nowrap" }, children: depositInfo.balanceDueDate })
|
|
3204
3233
|
]
|
|
3205
3234
|
}
|
|
3206
3235
|
),
|
|
@@ -3208,17 +3237,17 @@ function BookingConfirmation({
|
|
|
3208
3237
|
"td",
|
|
3209
3238
|
{
|
|
3210
3239
|
colSpan: 2,
|
|
3211
|
-
|
|
3240
|
+
style: { padding: "12px 16px", textAlign: "center", fontWeight: "600", color: "#16a34a", backgroundColor: "#f0fdf4" },
|
|
3212
3241
|
children: l.paidInFullLabel
|
|
3213
3242
|
}
|
|
3214
3243
|
) })
|
|
3215
3244
|
] }) })
|
|
3216
3245
|
] })
|
|
3217
3246
|
] }),
|
|
3218
|
-
/* @__PURE__ */ jsx("hr", {
|
|
3219
|
-
/* @__PURE__ */ jsxs("div", {
|
|
3220
|
-
/* @__PURE__ */ jsx("p", {
|
|
3221
|
-
/* @__PURE__ */ jsx("p", {
|
|
3247
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", margin: "0 32px" } }),
|
|
3248
|
+
/* @__PURE__ */ jsxs("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "40px" }, children: [
|
|
3249
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "20px", fontSize: "16px" }, children: l.footerMessage }),
|
|
3250
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "16px" }, children: l.footerContact(agent) })
|
|
3222
3251
|
] })
|
|
3223
3252
|
]
|
|
3224
3253
|
}
|
|
@@ -3255,72 +3284,198 @@ function BookingConfirmationEmail({
|
|
|
3255
3284
|
className
|
|
3256
3285
|
}) {
|
|
3257
3286
|
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS2), labels);
|
|
3258
|
-
const
|
|
3259
|
-
"
|
|
3287
|
+
const ctaStyle = {
|
|
3288
|
+
display: "inline-block",
|
|
3289
|
+
backgroundColor: "#0ea5e9",
|
|
3290
|
+
color: "#ffffff",
|
|
3291
|
+
padding: "12px 24px",
|
|
3292
|
+
borderRadius: "8px",
|
|
3293
|
+
fontSize: "14px",
|
|
3294
|
+
fontWeight: "700",
|
|
3295
|
+
textDecoration: "none",
|
|
3296
|
+
fontFamily: "Arial, Helvetica, sans-serif"
|
|
3297
|
+
};
|
|
3298
|
+
const AddTravellersCta = addTravellersUrl ? /* @__PURE__ */ jsx("a", { href: addTravellersUrl, style: ctaStyle, children: l.ctaButton }) : /* @__PURE__ */ jsx("span", { style: ctaStyle, role: "presentation", children: l.ctaButton });
|
|
3299
|
+
const tableRows = [
|
|
3300
|
+
{ label: l.bookingNumberLabel, value: bookingNumber },
|
|
3301
|
+
{ label: l.activityLabel, value: activity },
|
|
3302
|
+
{ label: l.adventureLabel, value: adventure },
|
|
3303
|
+
{ label: l.startingDateLabel, value: startingDate },
|
|
3304
|
+
{ label: l.numberOfPeopleLabel, value: String(numberOfPeople) },
|
|
3305
|
+
{ label: l.hostLabel, value: host }
|
|
3306
|
+
];
|
|
3307
|
+
return /* @__PURE__ */ jsxs(
|
|
3308
|
+
"div",
|
|
3260
3309
|
{
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3310
|
+
style: {
|
|
3311
|
+
maxWidth: "576px",
|
|
3312
|
+
margin: "0 auto",
|
|
3313
|
+
backgroundColor: "#ffffff",
|
|
3314
|
+
color: "#0f172a",
|
|
3315
|
+
fontFamily: "Arial, Helvetica, sans-serif",
|
|
3316
|
+
fontSize: "16px",
|
|
3317
|
+
lineHeight: "1.6"
|
|
3318
|
+
},
|
|
3319
|
+
className,
|
|
3320
|
+
children: [
|
|
3321
|
+
/* @__PURE__ */ jsx("div", { style: { marginTop: "32px", marginBottom: "32px", textAlign: "center" }, children: /* @__PURE__ */ jsx(
|
|
3322
|
+
"img",
|
|
3323
|
+
{
|
|
3324
|
+
src: logoUrl,
|
|
3325
|
+
alt: l.logoAlt,
|
|
3326
|
+
style: { height: "70px", width: "auto", objectFit: "contain" }
|
|
3327
|
+
}
|
|
3328
|
+
) }),
|
|
3329
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
|
|
3330
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.thankYouMessage }),
|
|
3331
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.addTravellersInstruction }),
|
|
3332
|
+
/* @__PURE__ */ jsx("div", { style: { marginBottom: "32px" }, children: AddTravellersCta }),
|
|
3333
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", marginBottom: "32px" } }),
|
|
3334
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontWeight: "700", color: "#0f172a", fontFamily: "Arial, Helvetica, sans-serif" }, children: l.summaryHeading }),
|
|
3335
|
+
/* @__PURE__ */ jsx("table", { style: { width: "100%", fontSize: "14px", marginBottom: "32px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsx("tbody", { children: tableRows.map((row, i) => /* @__PURE__ */ jsxs("tr", { style: i > 0 ? { borderTop: "1px solid #e2e8f0" } : {}, children: [
|
|
3336
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "4px 16px 4px 0", color: "#64748b" }, children: row.label }),
|
|
3337
|
+
/* @__PURE__ */ jsx("td", { style: { padding: "4px 0", fontWeight: "500", color: "#0f172a" }, children: row.value })
|
|
3338
|
+
] }, i)) }) }),
|
|
3339
|
+
/* @__PURE__ */ jsx("hr", { style: { border: "none", borderTop: "1px solid #e2e8f0", marginBottom: "32px" } }),
|
|
3340
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.postCtaMessage }),
|
|
3341
|
+
/* @__PURE__ */ jsx("p", { children: l.closingMessage })
|
|
3342
|
+
]
|
|
3264
3343
|
}
|
|
3265
|
-
)
|
|
3266
|
-
|
|
3344
|
+
);
|
|
3345
|
+
}
|
|
3346
|
+
var DEFAULT_LOGO3 = "/logo-planetaexo.png";
|
|
3347
|
+
function BookingOtpEmail({
|
|
3348
|
+
bodyMessage,
|
|
3349
|
+
expiryMessage,
|
|
3350
|
+
logoUrl = DEFAULT_LOGO3,
|
|
3351
|
+
className
|
|
3352
|
+
}) {
|
|
3353
|
+
return /* @__PURE__ */ jsxs(
|
|
3354
|
+
"div",
|
|
3267
3355
|
{
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3356
|
+
style: {
|
|
3357
|
+
fontFamily: "Arial, Helvetica, sans-serif",
|
|
3358
|
+
color: "#0f172a",
|
|
3359
|
+
maxWidth: "600px",
|
|
3360
|
+
margin: "0 auto",
|
|
3361
|
+
padding: "24px"
|
|
3362
|
+
},
|
|
3363
|
+
className,
|
|
3364
|
+
children: [
|
|
3365
|
+
/* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: "32px" }, children: /* @__PURE__ */ jsx(
|
|
3366
|
+
"img",
|
|
3367
|
+
{
|
|
3368
|
+
src: logoUrl,
|
|
3369
|
+
alt: "PlanetaEXO",
|
|
3370
|
+
style: { height: "56px", width: "auto" }
|
|
3371
|
+
}
|
|
3372
|
+
) }),
|
|
3373
|
+
/* @__PURE__ */ jsx(
|
|
3374
|
+
"p",
|
|
3375
|
+
{
|
|
3376
|
+
style: {
|
|
3377
|
+
fontSize: "16px",
|
|
3378
|
+
lineHeight: "1.6",
|
|
3379
|
+
margin: "0 0 16px"
|
|
3380
|
+
},
|
|
3381
|
+
children: bodyMessage
|
|
3382
|
+
}
|
|
3383
|
+
),
|
|
3384
|
+
/* @__PURE__ */ jsx(
|
|
3385
|
+
"p",
|
|
3386
|
+
{
|
|
3387
|
+
style: {
|
|
3388
|
+
color: "#64748b",
|
|
3389
|
+
fontSize: "14px",
|
|
3390
|
+
lineHeight: "1.5",
|
|
3391
|
+
margin: "0"
|
|
3392
|
+
},
|
|
3393
|
+
children: expiryMessage
|
|
3394
|
+
}
|
|
3395
|
+
)
|
|
3396
|
+
]
|
|
3271
3397
|
}
|
|
3272
3398
|
);
|
|
3399
|
+
}
|
|
3400
|
+
var DEFAULT_LOGO4 = "/logo-planetaexo.png";
|
|
3401
|
+
function TravellerFormInviteEmail({
|
|
3402
|
+
greeting,
|
|
3403
|
+
bodyIntro,
|
|
3404
|
+
bodyInstruction,
|
|
3405
|
+
links,
|
|
3406
|
+
ignoreNote,
|
|
3407
|
+
teamSignature,
|
|
3408
|
+
logoUrl = DEFAULT_LOGO4,
|
|
3409
|
+
buttonLabel = "Preencher formul\xE1rio",
|
|
3410
|
+
className
|
|
3411
|
+
}) {
|
|
3273
3412
|
return /* @__PURE__ */ jsxs(
|
|
3274
3413
|
"div",
|
|
3275
3414
|
{
|
|
3276
|
-
|
|
3277
|
-
"
|
|
3278
|
-
|
|
3279
|
-
|
|
3415
|
+
style: {
|
|
3416
|
+
fontFamily: "Arial, Helvetica, sans-serif",
|
|
3417
|
+
color: "#0f172a",
|
|
3418
|
+
maxWidth: "600px",
|
|
3419
|
+
margin: "0 auto",
|
|
3420
|
+
padding: "24px"
|
|
3421
|
+
},
|
|
3422
|
+
className,
|
|
3280
3423
|
children: [
|
|
3281
|
-
/* @__PURE__ */ jsx("div", {
|
|
3424
|
+
/* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: "32px" }, children: /* @__PURE__ */ jsx(
|
|
3282
3425
|
"img",
|
|
3283
3426
|
{
|
|
3284
3427
|
src: logoUrl,
|
|
3285
|
-
alt:
|
|
3286
|
-
|
|
3428
|
+
alt: "PlanetaEXO",
|
|
3429
|
+
style: { height: "56px", width: "auto" }
|
|
3287
3430
|
}
|
|
3288
3431
|
) }),
|
|
3289
|
-
/* @__PURE__ */ jsx("p", {
|
|
3290
|
-
/* @__PURE__ */ jsx("p", {
|
|
3291
|
-
/* @__PURE__ */ jsx("p", {
|
|
3292
|
-
/* @__PURE__ */ jsx("
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
/* @__PURE__ */ jsx(
|
|
3432
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "16px", lineHeight: "1.5", margin: "0 0 12px" }, children: greeting }),
|
|
3433
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "15px", lineHeight: "1.5", margin: "0 0 8px" }, children: bodyIntro }),
|
|
3434
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "15px", lineHeight: "1.5", margin: "0 0 20px" }, children: bodyInstruction }),
|
|
3435
|
+
/* @__PURE__ */ jsx("ul", { style: { listStyle: "none", padding: 0, margin: "0 0 24px" }, children: links.map((link, i) => /* @__PURE__ */ jsxs("li", { style: { marginBottom: "12px" }, children: [
|
|
3436
|
+
/* @__PURE__ */ jsx(
|
|
3437
|
+
"span",
|
|
3438
|
+
{
|
|
3439
|
+
style: {
|
|
3440
|
+
display: "block",
|
|
3441
|
+
fontSize: "13px",
|
|
3442
|
+
color: "#64748b",
|
|
3443
|
+
marginBottom: "4px"
|
|
3444
|
+
},
|
|
3445
|
+
children: link.adventureName
|
|
3446
|
+
}
|
|
3447
|
+
),
|
|
3448
|
+
/* @__PURE__ */ jsx(
|
|
3449
|
+
"a",
|
|
3450
|
+
{
|
|
3451
|
+
href: link.url,
|
|
3452
|
+
style: {
|
|
3453
|
+
display: "inline-block",
|
|
3454
|
+
backgroundColor: "#0ea5e9",
|
|
3455
|
+
color: "#ffffff",
|
|
3456
|
+
fontSize: "14px",
|
|
3457
|
+
fontWeight: "600",
|
|
3458
|
+
textDecoration: "none",
|
|
3459
|
+
padding: "10px 20px",
|
|
3460
|
+
borderRadius: "6px"
|
|
3461
|
+
},
|
|
3462
|
+
children: buttonLabel
|
|
3463
|
+
}
|
|
3464
|
+
)
|
|
3465
|
+
] }, i)) }),
|
|
3466
|
+
/* @__PURE__ */ jsx(
|
|
3467
|
+
"p",
|
|
3468
|
+
{
|
|
3469
|
+
style: {
|
|
3470
|
+
color: "#64748b",
|
|
3471
|
+
fontSize: "13px",
|
|
3472
|
+
lineHeight: "1.5",
|
|
3473
|
+
margin: "0 0 16px"
|
|
3474
|
+
},
|
|
3475
|
+
children: ignoreNote
|
|
3476
|
+
}
|
|
3477
|
+
),
|
|
3478
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", lineHeight: "1.5", margin: "0" }, children: teamSignature })
|
|
3324
3479
|
]
|
|
3325
3480
|
}
|
|
3326
3481
|
);
|
|
@@ -8019,6 +8174,6 @@ function LeadCapturePopup({
|
|
|
8019
8174
|
);
|
|
8020
8175
|
}
|
|
8021
8176
|
|
|
8022
|
-
export { ActivityCard, Alert, BirthDateField, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, FilterPanel, FloatingInput, FloatingSelect, Itinerary, LeadCapturePopup, MenuTrip, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentMethodSelector, PaymentModalShell, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TermsSection, ThemeToggle, TripCard, TripHeader, TripPage, buttonVariants, cn, getStripeAppearance, stripeAppearance };
|
|
8177
|
+
export { ActivityCard, Alert, BirthDateField, BookingConfirmation, BookingConfirmationEmail, BookingConfirmedCard, BookingDetails, BookingForm, BookingOtpEmail, BookingShell, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, FilterPanel, FloatingInput, FloatingSelect, Itinerary, LeadCapturePopup, MenuTrip, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentMethodSelector, PaymentModalShell, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationSuccessCard, SiteHeader, TermsSection, ThemeToggle, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, buttonVariants, cn, getStripeAppearance, stripeAppearance };
|
|
8023
8178
|
//# sourceMappingURL=index.js.map
|
|
8024
8179
|
//# sourceMappingURL=index.js.map
|