@planetaexo/design-system 0.15.1 → 0.16.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 +150 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +72 -1
- package/dist/index.d.ts +72 -1
- package/dist/index.js +150 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3909,7 +3909,7 @@ function BookingConfirmation({
|
|
|
3909
3909
|
] }),
|
|
3910
3910
|
/* @__PURE__ */ jsxRuntime.jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
3911
3911
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: adventures.map((adventure, adIdx) => {
|
|
3912
|
-
var _a;
|
|
3912
|
+
var _a, _b, _c, _d, _e;
|
|
3913
3913
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3914
3914
|
"div",
|
|
3915
3915
|
{
|
|
@@ -3930,7 +3930,7 @@ function BookingConfirmation({
|
|
|
3930
3930
|
}
|
|
3931
3931
|
) }),
|
|
3932
3932
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { padding: "20px" }, children: [
|
|
3933
|
-
adventure.reference && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: {
|
|
3933
|
+
((_b = adventure.code) != null ? _b : adventure.reference) && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: {
|
|
3934
3934
|
display: "inline-block",
|
|
3935
3935
|
backgroundColor: emailTokens.primaryLight,
|
|
3936
3936
|
color: emailTokens.primary,
|
|
@@ -3939,46 +3939,30 @@ function BookingConfirmation({
|
|
|
3939
3939
|
fontSize: "12px",
|
|
3940
3940
|
fontWeight: "600",
|
|
3941
3941
|
letterSpacing: "0.05em"
|
|
3942
|
-
}, children: adventure.reference }) }),
|
|
3942
|
+
}, children: (_c = adventure.code) != null ? _c : adventure.reference }) }),
|
|
3943
3943
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { fontSize: "20px", fontWeight: "700", color: emailTokens.foreground, lineHeight: "1.3", margin: "0 0 10px 0" }, children: adventure.title }),
|
|
3944
3944
|
/* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3945
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "
|
|
3946
|
-
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }),
|
|
3947
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }),
|
|
3948
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }),
|
|
3949
|
-
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })
|
|
3950
|
-
] }) }),
|
|
3945
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", lineHeight: "1" }, children: "\u{1F4C5}" }) }),
|
|
3951
3946
|
/* @__PURE__ */ jsxRuntime.jsxs("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3952
3947
|
adventure.dateFrom,
|
|
3953
3948
|
" \u2192 ",
|
|
3954
3949
|
adventure.dateTo
|
|
3955
3950
|
] })
|
|
3956
3951
|
] }) }) }),
|
|
3957
|
-
adventure.location && /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3958
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "
|
|
3959
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
|
|
3960
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "10", r: "3" })
|
|
3961
|
-
] }) }),
|
|
3952
|
+
adventure.location && !adventure.destinationName && /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3953
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", lineHeight: "1" }, children: "\u{1F4CD}" }) }),
|
|
3962
3954
|
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.location })
|
|
3963
3955
|
] }) }) }),
|
|
3964
3956
|
adventure.slots && /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3965
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "
|
|
3966
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
|
|
3967
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "7", r: "4" }),
|
|
3968
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
|
|
3969
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
|
|
3970
|
-
] }) }),
|
|
3957
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", lineHeight: "1" }, children: "\u{1F465}" }) }),
|
|
3971
3958
|
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: [
|
|
3972
3959
|
adventure.slots.adults ? `${adventure.slots.adults} ${l.adultsUnit}` : null,
|
|
3973
3960
|
adventure.slots.children ? `${adventure.slots.children} ${l.childrenUnit}` : null
|
|
3974
3961
|
].filter(Boolean).join(" \xB7 ") })
|
|
3975
3962
|
] }) }) }),
|
|
3976
|
-
adventure.partner && /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3977
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "
|
|
3978
|
-
|
|
3979
|
-
/* @__PURE__ */ jsxRuntime.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
|
|
3980
|
-
] }) }),
|
|
3981
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: adventure.partner })
|
|
3963
|
+
((_d = adventure.destinationName) != null ? _d : adventure.partner) && /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", marginBottom: "10px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
3964
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", paddingRight: "6px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", lineHeight: "1" }, children: "\u{1F9ED}" }) }),
|
|
3965
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "middle", fontSize: "14px", color: emailTokens.mutedForeground, lineHeight: "1" }, children: (_e = adventure.destinationName) != null ? _e : adventure.partner })
|
|
3982
3966
|
] }) }) }),
|
|
3983
3967
|
adventure.travellers && adventure.travellers.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "4px" }, children: [
|
|
3984
3968
|
/* @__PURE__ */ jsxRuntime.jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, marginBottom: "10px" } }),
|
|
@@ -4006,17 +3990,14 @@ function BookingConfirmation({
|
|
|
4006
3990
|
adventure.included && adventure.included.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
4007
3991
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.includedLabel }),
|
|
4008
3992
|
adventure.included.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "6px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
4009
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("
|
|
3993
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", color: emailTokens.primary, lineHeight: "1.2", fontWeight: 700 }, children: "\u2713" }) }),
|
|
4010
3994
|
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
4011
3995
|
] }) }) }, i))
|
|
4012
3996
|
] }),
|
|
4013
3997
|
adventure.notIncluded && adventure.notIncluded.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "10px" }, children: [
|
|
4014
3998
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { style: { fontSize: "14px", fontWeight: "700", color: emailTokens.foreground, margin: "0 0 8px 0" }, children: l.notIncludedLabel }),
|
|
4015
3999
|
adventure.notIncluded.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("table", { cellPadding: "0", cellSpacing: "0", style: { borderCollapse: "collapse", width: "100%", marginBottom: "6px" }, children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
4016
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.
|
|
4017
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
|
|
4018
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
|
|
4019
|
-
] }) }),
|
|
4000
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", paddingRight: "8px", width: "16px" }, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block", fontSize: "14px", color: emailTokens.destructive, lineHeight: "1.2", fontWeight: 700 }, children: "\u2717" }) }),
|
|
4020
4001
|
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { verticalAlign: "top", fontSize: "14px", color: emailTokens.bodyText }, children: item })
|
|
4021
4002
|
] }) }) }, i))
|
|
4022
4003
|
] }),
|
|
@@ -4209,6 +4190,141 @@ function BookingConfirmationEmail({
|
|
|
4209
4190
|
}
|
|
4210
4191
|
);
|
|
4211
4192
|
}
|
|
4193
|
+
var DEFAULT_LABELS3 = {
|
|
4194
|
+
logoAlt: "PlanetaEXO",
|
|
4195
|
+
greeting: (name) => `Hi ${name},`,
|
|
4196
|
+
receiptHeading: "Payment receipt",
|
|
4197
|
+
bookingNumberLabel: "Booking number",
|
|
4198
|
+
paymentMethodLabel: "Payment method",
|
|
4199
|
+
paymentDateLabel: "Payment date",
|
|
4200
|
+
amountLabel: "Amount",
|
|
4201
|
+
chargedAmountLabel: "Charged amount",
|
|
4202
|
+
interestSurchargeLabel: "Interest / surcharge",
|
|
4203
|
+
statusLabel: "Status",
|
|
4204
|
+
travellersLabel: "Travellers",
|
|
4205
|
+
summaryHeading: "Booking summary",
|
|
4206
|
+
totalOrderLabel: "Total order",
|
|
4207
|
+
totalPaidLabel: "Total paid",
|
|
4208
|
+
remainingBalanceLabel: "Remaining balance",
|
|
4209
|
+
balanceDueDateLabel: "Balance due",
|
|
4210
|
+
paidInFullMessage: "\u2705 Paid in full",
|
|
4211
|
+
closingMessage: "If you have any questions, just reply to this email \u2014 happy to help.",
|
|
4212
|
+
teamSignature: "PlanetaEXO Team"
|
|
4213
|
+
};
|
|
4214
|
+
function PaymentReceiptEmail({
|
|
4215
|
+
recipientName,
|
|
4216
|
+
bookingNumber,
|
|
4217
|
+
paymentMethodLabel,
|
|
4218
|
+
paymentDate,
|
|
4219
|
+
amount,
|
|
4220
|
+
chargedAmount,
|
|
4221
|
+
statusLabel,
|
|
4222
|
+
travellers,
|
|
4223
|
+
totalOrderAmount,
|
|
4224
|
+
totalPaidCumulative,
|
|
4225
|
+
remainingBalance,
|
|
4226
|
+
balanceDueDate,
|
|
4227
|
+
isPaidInFull,
|
|
4228
|
+
logoUrl,
|
|
4229
|
+
labels,
|
|
4230
|
+
className
|
|
4231
|
+
}) {
|
|
4232
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS3), labels);
|
|
4233
|
+
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
4234
|
+
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
4235
|
+
const receiptRows = [
|
|
4236
|
+
{ label: l.bookingNumberLabel, value: bookingNumber },
|
|
4237
|
+
{ label: l.paymentMethodLabel, value: paymentMethodLabel },
|
|
4238
|
+
{ label: l.paymentDateLabel, value: paymentDate },
|
|
4239
|
+
{ label: l.amountLabel, value: amount },
|
|
4240
|
+
...interestRow ? [{ label: l.chargedAmountLabel, value: chargedAmount }] : [],
|
|
4241
|
+
{ label: l.statusLabel, value: statusLabel },
|
|
4242
|
+
...travellersLine.length > 0 ? [{ label: l.travellersLabel, value: travellersLine }] : []
|
|
4243
|
+
];
|
|
4244
|
+
const summaryRows = [
|
|
4245
|
+
{ label: l.totalOrderLabel, value: totalOrderAmount },
|
|
4246
|
+
{ label: l.totalPaidLabel, value: totalPaidCumulative },
|
|
4247
|
+
{ label: l.remainingBalanceLabel, value: remainingBalance },
|
|
4248
|
+
...balanceDueDate ? [{ label: l.balanceDueDateLabel, value: balanceDueDate }] : []
|
|
4249
|
+
];
|
|
4250
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4251
|
+
"div",
|
|
4252
|
+
{
|
|
4253
|
+
style: {
|
|
4254
|
+
maxWidth: "576px",
|
|
4255
|
+
margin: "0 auto",
|
|
4256
|
+
backgroundColor: emailTokens.white,
|
|
4257
|
+
color: emailTokens.foreground,
|
|
4258
|
+
fontFamily: emailTokens.fontFamily,
|
|
4259
|
+
fontSize: "16px",
|
|
4260
|
+
lineHeight: "1.6",
|
|
4261
|
+
border: `1px solid ${emailTokens.border}`,
|
|
4262
|
+
borderRadius: "12px",
|
|
4263
|
+
overflow: "hidden",
|
|
4264
|
+
padding: "32px"
|
|
4265
|
+
},
|
|
4266
|
+
className,
|
|
4267
|
+
children: [
|
|
4268
|
+
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
4269
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
|
|
4270
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "12px", fontWeight: 700, color: emailTokens.foreground, fontSize: "16px" }, children: l.receiptHeading }),
|
|
4271
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4272
|
+
"div",
|
|
4273
|
+
{
|
|
4274
|
+
style: {
|
|
4275
|
+
borderRadius: "12px",
|
|
4276
|
+
border: `1px solid ${emailTokens.border}`,
|
|
4277
|
+
padding: "20px",
|
|
4278
|
+
marginBottom: "24px"
|
|
4279
|
+
},
|
|
4280
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
4281
|
+
receiptRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
4282
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "8px 12px 8px 0", color: emailTokens.mutedForeground, verticalAlign: "top", whiteSpace: "nowrap" }, children: row.label }),
|
|
4283
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "8px 0", fontWeight: 500, color: emailTokens.foreground, verticalAlign: "top" }, children: row.value })
|
|
4284
|
+
] }, i)),
|
|
4285
|
+
interestRow && /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 2, style: { paddingTop: "8px", fontSize: "12px", color: emailTokens.mutedForeground, fontStyle: "italic" }, children: l.interestSurchargeLabel }) })
|
|
4286
|
+
] }) })
|
|
4287
|
+
}
|
|
4288
|
+
),
|
|
4289
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "12px", fontWeight: 700, color: emailTokens.foreground, fontSize: "16px" }, children: l.summaryHeading }),
|
|
4290
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4291
|
+
"div",
|
|
4292
|
+
{
|
|
4293
|
+
style: {
|
|
4294
|
+
borderRadius: "12px",
|
|
4295
|
+
border: `1px solid ${emailTokens.border}`,
|
|
4296
|
+
overflow: "hidden",
|
|
4297
|
+
marginBottom: "24px"
|
|
4298
|
+
},
|
|
4299
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("table", { style: { width: "100%", fontSize: "14px", borderCollapse: "collapse" }, children: /* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
4300
|
+
summaryRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
4301
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground, verticalAlign: "top" }, children: row.label }),
|
|
4302
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: 500, color: emailTokens.foreground, whiteSpace: "nowrap" }, children: row.value })
|
|
4303
|
+
] }, i)),
|
|
4304
|
+
isPaidInFull && /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4305
|
+
"td",
|
|
4306
|
+
{
|
|
4307
|
+
colSpan: 2,
|
|
4308
|
+
style: {
|
|
4309
|
+
padding: "12px 16px",
|
|
4310
|
+
textAlign: "center",
|
|
4311
|
+
fontWeight: 600,
|
|
4312
|
+
color: emailTokens.green,
|
|
4313
|
+
backgroundColor: emailTokens.greenBg,
|
|
4314
|
+
borderTop: `1px solid ${emailTokens.border}`
|
|
4315
|
+
},
|
|
4316
|
+
children: l.paidInFullMessage
|
|
4317
|
+
}
|
|
4318
|
+
) })
|
|
4319
|
+
] }) })
|
|
4320
|
+
}
|
|
4321
|
+
),
|
|
4322
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: l.closingMessage }),
|
|
4323
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
4324
|
+
]
|
|
4325
|
+
}
|
|
4326
|
+
);
|
|
4327
|
+
}
|
|
4212
4328
|
function BookingOtpEmail({
|
|
4213
4329
|
greeting,
|
|
4214
4330
|
intro,
|
|
@@ -4889,7 +5005,7 @@ function BookingForm({
|
|
|
4889
5005
|
}
|
|
4890
5006
|
);
|
|
4891
5007
|
}
|
|
4892
|
-
var
|
|
5008
|
+
var DEFAULT_LABELS4 = {
|
|
4893
5009
|
formSubtitle: "To confirm your participation, please complete this short form. It's required for all travellers and helps us coordinate logistics with our local partners and tailor the experience to you.",
|
|
4894
5010
|
detailsSectionTitle: "Your details",
|
|
4895
5011
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -5553,7 +5669,7 @@ function RegistrationForm({
|
|
|
5553
5669
|
}) {
|
|
5554
5670
|
var _a;
|
|
5555
5671
|
const L = React23__namespace.useMemo(
|
|
5556
|
-
() => __spreadValues(__spreadValues({},
|
|
5672
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS4), labels != null ? labels : {}),
|
|
5557
5673
|
[labels]
|
|
5558
5674
|
);
|
|
5559
5675
|
const sortedFields = React23__namespace.useMemo(
|
|
@@ -9654,6 +9770,7 @@ exports.OfferAdventureCard = OfferAdventureCard;
|
|
|
9654
9770
|
exports.PaymentAmountSelector = PaymentAmountSelector;
|
|
9655
9771
|
exports.PaymentMethodSelector = PaymentMethodSelector;
|
|
9656
9772
|
exports.PaymentModalShell = PaymentModalShell;
|
|
9773
|
+
exports.PaymentReceiptEmail = PaymentReceiptEmail;
|
|
9657
9774
|
exports.PhoneCountrySelect = PhoneCountrySelect;
|
|
9658
9775
|
exports.PhotoGallery = PhotoGallery;
|
|
9659
9776
|
exports.PricingTrip = PricingTrip;
|