@planetaexo/design-system 0.68.1 → 0.69.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 +329 -106
- 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 +329 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6093,6 +6093,228 @@ function CancellationRequestReceivedEmail({
|
|
|
6093
6093
|
}
|
|
6094
6094
|
);
|
|
6095
6095
|
}
|
|
6096
|
+
var INLINE_LINK_STYLE3 = {
|
|
6097
|
+
color: emailTokens.primary,
|
|
6098
|
+
textDecoration: "underline"
|
|
6099
|
+
};
|
|
6100
|
+
function renderWhatsappLink3(contact, label) {
|
|
6101
|
+
if (contact.whatsappUrl) {
|
|
6102
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
6103
|
+
}
|
|
6104
|
+
return label;
|
|
6105
|
+
}
|
|
6106
|
+
function renderEmailLink3(contact, label) {
|
|
6107
|
+
if (contact.email) {
|
|
6108
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
6109
|
+
}
|
|
6110
|
+
return label;
|
|
6111
|
+
}
|
|
6112
|
+
function hasText3(s) {
|
|
6113
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
6114
|
+
}
|
|
6115
|
+
var DEFAULT_LABELS7 = {
|
|
6116
|
+
logoAlt: "PlanetaEXO",
|
|
6117
|
+
greeting: (recipientName) => `Hi ${recipientName},`,
|
|
6118
|
+
title: "Part of your booking has been cancelled",
|
|
6119
|
+
intro: (bookingRef) => `We're writing to let you know that part of your booking ${bookingRef} has been cancelled. The rest of your booking remains active.`,
|
|
6120
|
+
removedHeading: "What was removed",
|
|
6121
|
+
refundHeading: "Refund registered",
|
|
6122
|
+
refundAmountLabel: "Refund amount",
|
|
6123
|
+
refundNote: "As per our cancellation policy.",
|
|
6124
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6125
|
+
"If you have any questions, your agent ",
|
|
6126
|
+
agentName,
|
|
6127
|
+
" is available via",
|
|
6128
|
+
" ",
|
|
6129
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
6130
|
+
" or ",
|
|
6131
|
+
renderEmailLink3(contact, "email"),
|
|
6132
|
+
"."
|
|
6133
|
+
] }),
|
|
6134
|
+
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
6135
|
+
teamSignature: "The PlanetaEXO Team"
|
|
6136
|
+
};
|
|
6137
|
+
function BookingPartialCancellationEmail({
|
|
6138
|
+
recipientName,
|
|
6139
|
+
bookingRef,
|
|
6140
|
+
removedItems,
|
|
6141
|
+
refundAmount,
|
|
6142
|
+
agentName,
|
|
6143
|
+
agentContactLinks,
|
|
6144
|
+
logoUrl,
|
|
6145
|
+
labels,
|
|
6146
|
+
className
|
|
6147
|
+
}) {
|
|
6148
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
|
|
6149
|
+
const showRefund = hasText3(refundAmount);
|
|
6150
|
+
const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
|
|
6151
|
+
const contact = agentContactLinks != null ? agentContactLinks : {};
|
|
6152
|
+
const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
|
|
6153
|
+
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6154
|
+
"hr",
|
|
6155
|
+
{
|
|
6156
|
+
style: {
|
|
6157
|
+
border: "none",
|
|
6158
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
6159
|
+
marginTop: 0,
|
|
6160
|
+
marginBottom: "24px"
|
|
6161
|
+
}
|
|
6162
|
+
}
|
|
6163
|
+
);
|
|
6164
|
+
return /* @__PURE__ */ jsxs(
|
|
6165
|
+
"div",
|
|
6166
|
+
{
|
|
6167
|
+
style: {
|
|
6168
|
+
maxWidth: "576px",
|
|
6169
|
+
margin: "0 auto",
|
|
6170
|
+
backgroundColor: emailTokens.white,
|
|
6171
|
+
color: emailTokens.foreground,
|
|
6172
|
+
fontFamily: emailTokens.fontFamily,
|
|
6173
|
+
fontSize: "16px",
|
|
6174
|
+
lineHeight: "1.6",
|
|
6175
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6176
|
+
borderRadius: "12px",
|
|
6177
|
+
overflow: "hidden",
|
|
6178
|
+
padding: "32px"
|
|
6179
|
+
},
|
|
6180
|
+
className,
|
|
6181
|
+
children: [
|
|
6182
|
+
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6183
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
|
|
6184
|
+
/* @__PURE__ */ jsx(
|
|
6185
|
+
"p",
|
|
6186
|
+
{
|
|
6187
|
+
style: {
|
|
6188
|
+
marginTop: 0,
|
|
6189
|
+
marginBottom: "16px",
|
|
6190
|
+
fontWeight: 700,
|
|
6191
|
+
color: emailTokens.foreground,
|
|
6192
|
+
fontSize: "20px",
|
|
6193
|
+
lineHeight: "1.3",
|
|
6194
|
+
fontFamily: emailTokens.fontFamily
|
|
6195
|
+
},
|
|
6196
|
+
children: l.title
|
|
6197
|
+
}
|
|
6198
|
+
),
|
|
6199
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
|
|
6200
|
+
sectionDivider,
|
|
6201
|
+
/* @__PURE__ */ jsxs(
|
|
6202
|
+
"div",
|
|
6203
|
+
{
|
|
6204
|
+
style: {
|
|
6205
|
+
marginBottom: "24px",
|
|
6206
|
+
padding: "16px 20px",
|
|
6207
|
+
borderRadius: "12px",
|
|
6208
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6209
|
+
backgroundColor: emailTokens.muted
|
|
6210
|
+
},
|
|
6211
|
+
children: [
|
|
6212
|
+
/* @__PURE__ */ jsx(
|
|
6213
|
+
"p",
|
|
6214
|
+
{
|
|
6215
|
+
style: {
|
|
6216
|
+
margin: "0 0 12px 0",
|
|
6217
|
+
fontSize: "12px",
|
|
6218
|
+
fontWeight: 700,
|
|
6219
|
+
color: emailTokens.mutedForeground,
|
|
6220
|
+
textTransform: "uppercase",
|
|
6221
|
+
letterSpacing: "0.08em",
|
|
6222
|
+
fontFamily: emailTokens.fontFamily
|
|
6223
|
+
},
|
|
6224
|
+
children: l.removedHeading
|
|
6225
|
+
}
|
|
6226
|
+
),
|
|
6227
|
+
removedItems.map((item, i) => /* @__PURE__ */ jsxs("div", { style: { marginBottom: i < removedItems.length - 1 ? "10px" : 0 }, children: [
|
|
6228
|
+
/* @__PURE__ */ jsx(
|
|
6229
|
+
"p",
|
|
6230
|
+
{
|
|
6231
|
+
style: {
|
|
6232
|
+
margin: 0,
|
|
6233
|
+
fontSize: "15px",
|
|
6234
|
+
fontWeight: 700,
|
|
6235
|
+
color: emailTokens.foreground
|
|
6236
|
+
},
|
|
6237
|
+
children: item.title
|
|
6238
|
+
}
|
|
6239
|
+
),
|
|
6240
|
+
hasText3(item.detail) && /* @__PURE__ */ jsx("p", { style: { margin: "2px 0 0 0", fontSize: "14px", color: emailTokens.bodyText }, children: item.detail })
|
|
6241
|
+
] }, i))
|
|
6242
|
+
]
|
|
6243
|
+
}
|
|
6244
|
+
),
|
|
6245
|
+
showRefund && /* @__PURE__ */ jsxs(
|
|
6246
|
+
"div",
|
|
6247
|
+
{
|
|
6248
|
+
style: {
|
|
6249
|
+
marginBottom: "24px",
|
|
6250
|
+
padding: "16px 20px",
|
|
6251
|
+
borderRadius: "12px",
|
|
6252
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6253
|
+
backgroundColor: emailTokens.muted
|
|
6254
|
+
},
|
|
6255
|
+
children: [
|
|
6256
|
+
/* @__PURE__ */ jsx(
|
|
6257
|
+
"p",
|
|
6258
|
+
{
|
|
6259
|
+
style: {
|
|
6260
|
+
margin: "0 0 8px 0",
|
|
6261
|
+
fontSize: "12px",
|
|
6262
|
+
fontWeight: 700,
|
|
6263
|
+
color: emailTokens.mutedForeground,
|
|
6264
|
+
textTransform: "uppercase",
|
|
6265
|
+
letterSpacing: "0.08em",
|
|
6266
|
+
fontFamily: emailTokens.fontFamily
|
|
6267
|
+
},
|
|
6268
|
+
children: l.refundHeading
|
|
6269
|
+
}
|
|
6270
|
+
),
|
|
6271
|
+
/* @__PURE__ */ jsx(
|
|
6272
|
+
"table",
|
|
6273
|
+
{
|
|
6274
|
+
cellPadding: 0,
|
|
6275
|
+
cellSpacing: 0,
|
|
6276
|
+
style: { width: "100%", borderCollapse: "collapse" },
|
|
6277
|
+
children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
6278
|
+
/* @__PURE__ */ jsx("td", { style: { fontSize: "14px", color: emailTokens.bodyText, verticalAlign: "middle" }, children: l.refundAmountLabel }),
|
|
6279
|
+
/* @__PURE__ */ jsx(
|
|
6280
|
+
"td",
|
|
6281
|
+
{
|
|
6282
|
+
style: {
|
|
6283
|
+
fontSize: "18px",
|
|
6284
|
+
fontWeight: 700,
|
|
6285
|
+
color: emailTokens.foreground,
|
|
6286
|
+
textAlign: "right",
|
|
6287
|
+
verticalAlign: "middle",
|
|
6288
|
+
whiteSpace: "nowrap"
|
|
6289
|
+
},
|
|
6290
|
+
children: refundAmount
|
|
6291
|
+
}
|
|
6292
|
+
)
|
|
6293
|
+
] }) })
|
|
6294
|
+
}
|
|
6295
|
+
),
|
|
6296
|
+
hasText3(l.refundNote) && /* @__PURE__ */ jsx(
|
|
6297
|
+
"p",
|
|
6298
|
+
{
|
|
6299
|
+
style: {
|
|
6300
|
+
margin: "8px 0 0 0",
|
|
6301
|
+
fontSize: "12px",
|
|
6302
|
+
color: emailTokens.mutedForeground,
|
|
6303
|
+
fontStyle: "italic"
|
|
6304
|
+
},
|
|
6305
|
+
children: l.refundNote
|
|
6306
|
+
}
|
|
6307
|
+
)
|
|
6308
|
+
]
|
|
6309
|
+
}
|
|
6310
|
+
),
|
|
6311
|
+
sectionDivider,
|
|
6312
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: closingNode }),
|
|
6313
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
6314
|
+
]
|
|
6315
|
+
}
|
|
6316
|
+
);
|
|
6317
|
+
}
|
|
6096
6318
|
function RegistrationProgressBar({
|
|
6097
6319
|
tone,
|
|
6098
6320
|
pct,
|
|
@@ -6155,23 +6377,23 @@ function RegistrationProgressBar({
|
|
|
6155
6377
|
}
|
|
6156
6378
|
) });
|
|
6157
6379
|
}
|
|
6158
|
-
var
|
|
6380
|
+
var INLINE_LINK_STYLE4 = {
|
|
6159
6381
|
color: emailTokens.primary,
|
|
6160
6382
|
textDecoration: "underline"
|
|
6161
6383
|
};
|
|
6162
|
-
function
|
|
6384
|
+
function renderWhatsappLink4(contact, label) {
|
|
6163
6385
|
if (contact.whatsappUrl) {
|
|
6164
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6386
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
|
|
6165
6387
|
}
|
|
6166
6388
|
return label;
|
|
6167
6389
|
}
|
|
6168
|
-
function
|
|
6390
|
+
function renderEmailLink4(contact, label) {
|
|
6169
6391
|
if (contact.email) {
|
|
6170
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6392
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
|
|
6171
6393
|
}
|
|
6172
6394
|
return label;
|
|
6173
6395
|
}
|
|
6174
|
-
var
|
|
6396
|
+
var DEFAULT_LABELS8 = {
|
|
6175
6397
|
logoAlt: "PlanetaEXO",
|
|
6176
6398
|
greeting: (n) => `Hi ${n},`,
|
|
6177
6399
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -6190,9 +6412,9 @@ var DEFAULT_LABELS7 = {
|
|
|
6190
6412
|
"If you need any assistance with the traveller registrations, feel free to contact your agent ",
|
|
6191
6413
|
agentName,
|
|
6192
6414
|
" via ",
|
|
6193
|
-
|
|
6415
|
+
renderWhatsappLink4(contact, "WhatsApp"),
|
|
6194
6416
|
" or ",
|
|
6195
|
-
|
|
6417
|
+
renderEmailLink4(contact, "email"),
|
|
6196
6418
|
"."
|
|
6197
6419
|
] }),
|
|
6198
6420
|
closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
|
|
@@ -6265,7 +6487,7 @@ var DEFAULT_LABELS7 = {
|
|
|
6265
6487
|
}
|
|
6266
6488
|
}
|
|
6267
6489
|
};
|
|
6268
|
-
function
|
|
6490
|
+
function hasText4(s) {
|
|
6269
6491
|
return typeof s === "string" && s.trim().length > 0;
|
|
6270
6492
|
}
|
|
6271
6493
|
function hasItems(arr) {
|
|
@@ -6285,12 +6507,12 @@ function RegistrationReminderEmail({
|
|
|
6285
6507
|
className
|
|
6286
6508
|
}) {
|
|
6287
6509
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6288
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6510
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
|
|
6289
6511
|
variants: {
|
|
6290
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6291
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6292
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6293
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6512
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
6513
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
6514
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
6515
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
6294
6516
|
}
|
|
6295
6517
|
});
|
|
6296
6518
|
const v = l.variants[slug];
|
|
@@ -6311,14 +6533,14 @@ function RegistrationReminderEmail({
|
|
|
6311
6533
|
{ label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
|
|
6312
6534
|
...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
|
|
6313
6535
|
];
|
|
6314
|
-
const showPleaseNote =
|
|
6315
|
-
const showBookerCoord =
|
|
6316
|
-
const showEarlyBenefit =
|
|
6317
|
-
const showImportant =
|
|
6318
|
-
const showFinalTagline =
|
|
6319
|
-
|
|
6320
|
-
const showDisregard =
|
|
6321
|
-
const showClosingThanks =
|
|
6536
|
+
const showPleaseNote = hasText4(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
|
|
6537
|
+
const showBookerCoord = hasText4(v.bookerCoordinationNote);
|
|
6538
|
+
const showEarlyBenefit = hasText4(v.earlyCompletionBenefit);
|
|
6539
|
+
const showImportant = hasText4(v.importantNote);
|
|
6540
|
+
const showFinalTagline = hasText4(v.finalReminderTagline);
|
|
6541
|
+
hasText4(v.multiTravellerNote);
|
|
6542
|
+
const showDisregard = hasText4(v.disregardIfCompleted);
|
|
6543
|
+
const showClosingThanks = hasText4(v.closingThanks);
|
|
6322
6544
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6323
6545
|
"hr",
|
|
6324
6546
|
{
|
|
@@ -6330,7 +6552,7 @@ function RegistrationReminderEmail({
|
|
|
6330
6552
|
}
|
|
6331
6553
|
}
|
|
6332
6554
|
);
|
|
6333
|
-
const hasIntroBlock =
|
|
6555
|
+
const hasIntroBlock = hasText4(v.intro) || hasText4(v.contextNote);
|
|
6334
6556
|
const hasPleaseNote = showPleaseNote;
|
|
6335
6557
|
const hasD7Highlight = showImportant && slug === "d_minus_7";
|
|
6336
6558
|
const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
|
|
@@ -6354,9 +6576,9 @@ function RegistrationReminderEmail({
|
|
|
6354
6576
|
children: [
|
|
6355
6577
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6356
6578
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6579
|
+
hasText4(l.intermediateHello) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
|
|
6580
|
+
hasText4(v.intro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
|
|
6581
|
+
hasText4(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6360
6582
|
hasIntroBlock && sectionDivider,
|
|
6361
6583
|
slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
6362
6584
|
hasItems(adventures) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -6374,7 +6596,7 @@ function RegistrationReminderEmail({
|
|
|
6374
6596
|
children: l.progressHeader
|
|
6375
6597
|
}
|
|
6376
6598
|
),
|
|
6377
|
-
|
|
6599
|
+
hasText4(v.progressIntro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
|
|
6378
6600
|
adventures.map((adv, i) => /* @__PURE__ */ jsxs(
|
|
6379
6601
|
"div",
|
|
6380
6602
|
{
|
|
@@ -6510,23 +6732,23 @@ function RegistrationReminderEmail({
|
|
|
6510
6732
|
}
|
|
6511
6733
|
);
|
|
6512
6734
|
}
|
|
6513
|
-
var
|
|
6735
|
+
var INLINE_LINK_STYLE5 = {
|
|
6514
6736
|
color: emailTokens.primary,
|
|
6515
6737
|
textDecoration: "underline"
|
|
6516
6738
|
};
|
|
6517
|
-
function
|
|
6739
|
+
function renderWhatsappLink5(contact, label) {
|
|
6518
6740
|
if (contact.whatsappUrl) {
|
|
6519
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6741
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
|
|
6520
6742
|
}
|
|
6521
6743
|
return label;
|
|
6522
6744
|
}
|
|
6523
|
-
function
|
|
6745
|
+
function renderEmailLink5(contact, label) {
|
|
6524
6746
|
if (contact.email) {
|
|
6525
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6747
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
|
|
6526
6748
|
}
|
|
6527
6749
|
return label;
|
|
6528
6750
|
}
|
|
6529
|
-
var
|
|
6751
|
+
var DEFAULT_LABELS9 = {
|
|
6530
6752
|
logoAlt: "PlanetaEXO",
|
|
6531
6753
|
greeting: (n) => `Hi ${n},`,
|
|
6532
6754
|
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
@@ -6542,9 +6764,9 @@ var DEFAULT_LABELS8 = {
|
|
|
6542
6764
|
"If you have questions, your agent ",
|
|
6543
6765
|
agentName,
|
|
6544
6766
|
" is available via ",
|
|
6545
|
-
|
|
6767
|
+
renderWhatsappLink5(contact, "WhatsApp"),
|
|
6546
6768
|
" or ",
|
|
6547
|
-
|
|
6769
|
+
renderEmailLink5(contact, "email"),
|
|
6548
6770
|
"."
|
|
6549
6771
|
] }),
|
|
6550
6772
|
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
@@ -6592,7 +6814,7 @@ var DEFAULT_LABELS8 = {
|
|
|
6592
6814
|
}
|
|
6593
6815
|
}
|
|
6594
6816
|
};
|
|
6595
|
-
function
|
|
6817
|
+
function hasText5(s) {
|
|
6596
6818
|
return typeof s === "string" && s.trim().length > 0;
|
|
6597
6819
|
}
|
|
6598
6820
|
function RegistrationReminderIndividualEmail({
|
|
@@ -6613,12 +6835,12 @@ function RegistrationReminderIndividualEmail({
|
|
|
6613
6835
|
className
|
|
6614
6836
|
}) {
|
|
6615
6837
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6616
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6838
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels), {
|
|
6617
6839
|
variants: {
|
|
6618
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6619
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6620
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6621
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6840
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
6841
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
6842
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
6843
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS9.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
6622
6844
|
}
|
|
6623
6845
|
});
|
|
6624
6846
|
const v = l.variants[slug];
|
|
@@ -6638,7 +6860,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6638
6860
|
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
6639
6861
|
{ label: l.adventureLabel, value: adventureName },
|
|
6640
6862
|
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
6641
|
-
...
|
|
6863
|
+
...hasText5(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
6642
6864
|
];
|
|
6643
6865
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6644
6866
|
"hr",
|
|
@@ -6673,7 +6895,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6673
6895
|
children: [
|
|
6674
6896
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6675
6897
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6676
|
-
|
|
6898
|
+
hasText5(routingNote) && /* @__PURE__ */ jsx(
|
|
6677
6899
|
"p",
|
|
6678
6900
|
{
|
|
6679
6901
|
style: {
|
|
@@ -6688,8 +6910,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6688
6910
|
}
|
|
6689
6911
|
),
|
|
6690
6912
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
6691
|
-
|
|
6692
|
-
slug === "d_minus_2" && (
|
|
6913
|
+
hasText5(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6914
|
+
slug === "d_minus_2" && (hasText5(v.finalReminderTagline) || hasText5(v.consequencesNote)) && /* @__PURE__ */ jsxs(
|
|
6693
6915
|
"div",
|
|
6694
6916
|
{
|
|
6695
6917
|
style: {
|
|
@@ -6701,23 +6923,23 @@ function RegistrationReminderIndividualEmail({
|
|
|
6701
6923
|
color: "#7f1d1d"
|
|
6702
6924
|
},
|
|
6703
6925
|
children: [
|
|
6704
|
-
|
|
6926
|
+
hasText5(v.finalReminderTagline) && /* @__PURE__ */ jsx(
|
|
6705
6927
|
"p",
|
|
6706
6928
|
{
|
|
6707
6929
|
style: {
|
|
6708
6930
|
margin: 0,
|
|
6709
|
-
marginBottom:
|
|
6931
|
+
marginBottom: hasText5(v.consequencesNote) ? "8px" : 0,
|
|
6710
6932
|
fontWeight: 700
|
|
6711
6933
|
},
|
|
6712
6934
|
children: v.finalReminderTagline
|
|
6713
6935
|
}
|
|
6714
6936
|
),
|
|
6715
|
-
|
|
6937
|
+
hasText5(v.consequencesNote) && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
6716
6938
|
]
|
|
6717
6939
|
}
|
|
6718
6940
|
),
|
|
6719
6941
|
/* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
6720
|
-
slug === "d_minus_7" &&
|
|
6942
|
+
slug === "d_minus_7" && hasText5(v.mandatoryNote) && /* @__PURE__ */ jsx(
|
|
6721
6943
|
"p",
|
|
6722
6944
|
{
|
|
6723
6945
|
style: {
|
|
@@ -6733,8 +6955,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6733
6955
|
),
|
|
6734
6956
|
sectionDivider,
|
|
6735
6957
|
/* @__PURE__ */ jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
6736
|
-
(slug === "d_minus_30" || slug === "d_minus_15") &&
|
|
6737
|
-
slug === "d_minus_2" &&
|
|
6958
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText5(v.mandatoryNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
6959
|
+
slug === "d_minus_2" && hasText5(v.disregardIfCompleted) && /* @__PURE__ */ jsx(
|
|
6738
6960
|
"p",
|
|
6739
6961
|
{
|
|
6740
6962
|
style: {
|
|
@@ -6751,29 +6973,29 @@ function RegistrationReminderIndividualEmail({
|
|
|
6751
6973
|
whatsappUrl: agent.whatsappUrl,
|
|
6752
6974
|
email: agent.email
|
|
6753
6975
|
}) : l.closingNoAgent }),
|
|
6754
|
-
|
|
6976
|
+
hasText5(v.closingThanks) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
6755
6977
|
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
6756
6978
|
]
|
|
6757
6979
|
}
|
|
6758
6980
|
);
|
|
6759
6981
|
}
|
|
6760
|
-
var
|
|
6982
|
+
var INLINE_LINK_STYLE6 = {
|
|
6761
6983
|
color: emailTokens.primary,
|
|
6762
6984
|
textDecoration: "underline"
|
|
6763
6985
|
};
|
|
6764
|
-
function
|
|
6986
|
+
function renderWhatsappLink6(contact, label) {
|
|
6765
6987
|
if (contact.whatsappUrl) {
|
|
6766
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6988
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
|
|
6767
6989
|
}
|
|
6768
6990
|
return label;
|
|
6769
6991
|
}
|
|
6770
|
-
function
|
|
6992
|
+
function renderEmailLink6(contact, label) {
|
|
6771
6993
|
if (contact.email) {
|
|
6772
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6994
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
|
|
6773
6995
|
}
|
|
6774
6996
|
return label;
|
|
6775
6997
|
}
|
|
6776
|
-
var
|
|
6998
|
+
var DEFAULT_LABELS10 = {
|
|
6777
6999
|
logoAlt: "PlanetaEXO",
|
|
6778
7000
|
greeting: (n) => `Hi ${n},`,
|
|
6779
7001
|
introAllDone: (adv, dr) => `All travellers for ${adv} (${dr}) have completed their registration. Their consolidated registration details are attached, and below you'll find what they're most looking forward to.`,
|
|
@@ -6795,15 +7017,15 @@ var DEFAULT_LABELS9 = {
|
|
|
6795
7017
|
agentName,
|
|
6796
7018
|
" is available via",
|
|
6797
7019
|
" ",
|
|
6798
|
-
|
|
7020
|
+
renderWhatsappLink6(contact, "WhatsApp"),
|
|
6799
7021
|
" or ",
|
|
6800
|
-
|
|
7022
|
+
renderEmailLink6(contact, "email"),
|
|
6801
7023
|
"."
|
|
6802
7024
|
] }),
|
|
6803
7025
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
6804
7026
|
teamSignature: "The PlanetaEXO Team"
|
|
6805
7027
|
};
|
|
6806
|
-
function
|
|
7028
|
+
function hasText6(s) {
|
|
6807
7029
|
return typeof s === "string" && s.trim().length > 0;
|
|
6808
7030
|
}
|
|
6809
7031
|
function PartnerRegistrationCompleteEmail({
|
|
@@ -6823,14 +7045,14 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6823
7045
|
labels,
|
|
6824
7046
|
className
|
|
6825
7047
|
}) {
|
|
6826
|
-
const l = __spreadValues(__spreadValues({},
|
|
7048
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
|
|
6827
7049
|
const tripRows = [
|
|
6828
7050
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6829
7051
|
{ label: l.adventureLabel, value: adventureName },
|
|
6830
7052
|
{ label: l.datesLabel, value: dateRange },
|
|
6831
7053
|
{ label: l.partnerLabel, value: partnerName },
|
|
6832
|
-
...
|
|
6833
|
-
...
|
|
7054
|
+
...hasText6(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
|
|
7055
|
+
...hasText6(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
|
|
6834
7056
|
];
|
|
6835
7057
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6836
7058
|
"hr",
|
|
@@ -6864,7 +7086,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6864
7086
|
className,
|
|
6865
7087
|
children: [
|
|
6866
7088
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6867
|
-
|
|
7089
|
+
hasText6(topNotice) && /* @__PURE__ */ jsx(
|
|
6868
7090
|
"div",
|
|
6869
7091
|
{
|
|
6870
7092
|
style: {
|
|
@@ -6941,7 +7163,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6941
7163
|
}) })
|
|
6942
7164
|
}
|
|
6943
7165
|
) : /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
|
|
6944
|
-
pdfAttached &&
|
|
7166
|
+
pdfAttached && hasText6(l.pdfNote) && /* @__PURE__ */ jsx(
|
|
6945
7167
|
"div",
|
|
6946
7168
|
{
|
|
6947
7169
|
style: {
|
|
@@ -6966,26 +7188,26 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6966
7188
|
}
|
|
6967
7189
|
);
|
|
6968
7190
|
}
|
|
6969
|
-
var
|
|
7191
|
+
var INLINE_LINK_STYLE7 = {
|
|
6970
7192
|
color: emailTokens.primary,
|
|
6971
7193
|
textDecoration: "underline"
|
|
6972
7194
|
};
|
|
6973
|
-
function
|
|
7195
|
+
function renderWhatsappLink7(contact, label) {
|
|
6974
7196
|
if (contact.whatsappUrl) {
|
|
6975
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
7197
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
|
|
6976
7198
|
}
|
|
6977
7199
|
return label;
|
|
6978
7200
|
}
|
|
6979
|
-
function
|
|
7201
|
+
function renderEmailLink7(contact, label) {
|
|
6980
7202
|
if (contact.email) {
|
|
6981
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
7203
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
|
|
6982
7204
|
}
|
|
6983
7205
|
return label;
|
|
6984
7206
|
}
|
|
6985
|
-
function
|
|
7207
|
+
function hasText7(s) {
|
|
6986
7208
|
return typeof s === "string" && s.trim().length > 0;
|
|
6987
7209
|
}
|
|
6988
|
-
var
|
|
7210
|
+
var DEFAULT_LABELS11 = {
|
|
6989
7211
|
logoAlt: "PlanetaEXO",
|
|
6990
7212
|
greeting: (n) => `Hi ${n},`,
|
|
6991
7213
|
intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
|
|
@@ -7011,9 +7233,9 @@ var DEFAULT_LABELS10 = {
|
|
|
7011
7233
|
agentName,
|
|
7012
7234
|
" is available via",
|
|
7013
7235
|
" ",
|
|
7014
|
-
|
|
7236
|
+
renderWhatsappLink7(contact, "WhatsApp"),
|
|
7015
7237
|
" or ",
|
|
7016
|
-
|
|
7238
|
+
renderEmailLink7(contact, "email"),
|
|
7017
7239
|
"."
|
|
7018
7240
|
] }),
|
|
7019
7241
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
@@ -7034,10 +7256,10 @@ function PartnerBookingCreatedEmail({
|
|
|
7034
7256
|
labels,
|
|
7035
7257
|
className
|
|
7036
7258
|
}) {
|
|
7037
|
-
const l = __spreadValues(__spreadValues({},
|
|
7259
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
|
|
7038
7260
|
const summaryRows = [
|
|
7039
7261
|
{ label: l.bookerNameLabel, value: booker.name },
|
|
7040
|
-
...
|
|
7262
|
+
...hasText7(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
|
|
7041
7263
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
7042
7264
|
{ label: l.adventureLabel, value: adventureName },
|
|
7043
7265
|
{ label: l.datesLabel, value: dateRange },
|
|
@@ -7074,7 +7296,7 @@ function PartnerBookingCreatedEmail({
|
|
|
7074
7296
|
className,
|
|
7075
7297
|
children: [
|
|
7076
7298
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
7077
|
-
|
|
7299
|
+
hasText7(topNotice) && /* @__PURE__ */ jsx(
|
|
7078
7300
|
"div",
|
|
7079
7301
|
{
|
|
7080
7302
|
style: {
|
|
@@ -7133,7 +7355,7 @@ function PartnerBookingCreatedEmail({
|
|
|
7133
7355
|
}
|
|
7134
7356
|
);
|
|
7135
7357
|
}
|
|
7136
|
-
var
|
|
7358
|
+
var DEFAULT_LABELS12 = {
|
|
7137
7359
|
logoAlt: "PlanetaEXO",
|
|
7138
7360
|
greeting: (name) => `Hi ${name},`,
|
|
7139
7361
|
introMessage: "",
|
|
@@ -7176,7 +7398,7 @@ function PaymentReceiptEmail({
|
|
|
7176
7398
|
labels,
|
|
7177
7399
|
className
|
|
7178
7400
|
}) {
|
|
7179
|
-
const l = __spreadValues(__spreadValues({},
|
|
7401
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS12), labels);
|
|
7180
7402
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
7181
7403
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
7182
7404
|
const receiptRows = [
|
|
@@ -7320,24 +7542,24 @@ function PaymentReceiptEmail({
|
|
|
7320
7542
|
}
|
|
7321
7543
|
);
|
|
7322
7544
|
}
|
|
7323
|
-
var
|
|
7545
|
+
var INLINE_LINK_STYLE8 = {
|
|
7324
7546
|
color: emailTokens.primary,
|
|
7325
7547
|
textDecoration: "underline"
|
|
7326
7548
|
};
|
|
7327
|
-
function
|
|
7549
|
+
function renderWhatsappLink8(contact, label) {
|
|
7328
7550
|
if (contact.whatsappUrl) {
|
|
7329
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
7551
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE8, children: label });
|
|
7330
7552
|
}
|
|
7331
7553
|
return label;
|
|
7332
7554
|
}
|
|
7333
|
-
function
|
|
7555
|
+
function renderEmailLink8(contact, label) {
|
|
7334
7556
|
if (contact.email) {
|
|
7335
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
7557
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE8, children: label });
|
|
7336
7558
|
}
|
|
7337
7559
|
return label;
|
|
7338
7560
|
}
|
|
7339
7561
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
7340
|
-
var
|
|
7562
|
+
var DEFAULT_LABELS13 = {
|
|
7341
7563
|
logoAlt: "PlanetaEXO",
|
|
7342
7564
|
greeting: (name) => `Hi ${name},`,
|
|
7343
7565
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -7352,9 +7574,9 @@ var DEFAULT_LABELS12 = {
|
|
|
7352
7574
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
7353
7575
|
agentName,
|
|
7354
7576
|
" via ",
|
|
7355
|
-
|
|
7577
|
+
renderWhatsappLink8(contact, "WhatsApp"),
|
|
7356
7578
|
" or ",
|
|
7357
|
-
|
|
7579
|
+
renderEmailLink8(contact, "email"),
|
|
7358
7580
|
"."
|
|
7359
7581
|
] }),
|
|
7360
7582
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -7398,9 +7620,9 @@ var DEFAULT_LABELS12 = {
|
|
|
7398
7620
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
7399
7621
|
agentName,
|
|
7400
7622
|
" via ",
|
|
7401
|
-
|
|
7623
|
+
renderWhatsappLink8(contact, "WhatsApp"),
|
|
7402
7624
|
" or ",
|
|
7403
|
-
|
|
7625
|
+
renderEmailLink8(contact, "email"),
|
|
7404
7626
|
". We'll be happy to assist."
|
|
7405
7627
|
] })
|
|
7406
7628
|
}
|
|
@@ -7424,7 +7646,7 @@ function PaymentReminderEmail({
|
|
|
7424
7646
|
}) {
|
|
7425
7647
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
7426
7648
|
const lOverride = labels != null ? labels : {};
|
|
7427
|
-
const variantDefaults =
|
|
7649
|
+
const variantDefaults = DEFAULT_LABELS13.variants[variant];
|
|
7428
7650
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
7429
7651
|
const variantLabels = {
|
|
7430
7652
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -7434,19 +7656,19 @@ function PaymentReminderEmail({
|
|
|
7434
7656
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
7435
7657
|
};
|
|
7436
7658
|
const l = {
|
|
7437
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
7438
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
7439
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
7440
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
7441
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
7442
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
7443
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
7444
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
7445
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
7446
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
7447
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
7448
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
7449
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
7659
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS13.logoAlt,
|
|
7660
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS13.greeting,
|
|
7661
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS13.intermediateHello,
|
|
7662
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS13.bookingSummaryHeader,
|
|
7663
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS13.amountAlreadyPaidLabel,
|
|
7664
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS13.remainingBalanceDueLabel,
|
|
7665
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS13.totalBookingAmountLabel,
|
|
7666
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS13.paymentDetailsHeading,
|
|
7667
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS13.ctaLabel,
|
|
7668
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS13.teamSignature,
|
|
7669
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS13.closingAgent,
|
|
7670
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS13.closingNoAgent,
|
|
7671
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS13.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
7450
7672
|
};
|
|
7451
7673
|
const ctaStyle = {
|
|
7452
7674
|
display: "inline-block",
|
|
@@ -8727,7 +8949,7 @@ function validateCpf(value) {
|
|
|
8727
8949
|
if (secondDigit !== parseInt(digits[10], 10)) return false;
|
|
8728
8950
|
return true;
|
|
8729
8951
|
}
|
|
8730
|
-
var
|
|
8952
|
+
var DEFAULT_LABELS14 = {
|
|
8731
8953
|
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.",
|
|
8732
8954
|
detailsSectionTitle: "Your details",
|
|
8733
8955
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -9471,7 +9693,7 @@ function RegistrationForm({
|
|
|
9471
9693
|
}) {
|
|
9472
9694
|
var _a;
|
|
9473
9695
|
const L = React32.useMemo(
|
|
9474
|
-
() => __spreadValues(__spreadValues({},
|
|
9696
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS14), labels != null ? labels : {}),
|
|
9475
9697
|
[labels]
|
|
9476
9698
|
);
|
|
9477
9699
|
const sortedFields = React32.useMemo(
|
|
@@ -19101,6 +19323,6 @@ function SegmentedControl({
|
|
|
19101
19323
|
);
|
|
19102
19324
|
}
|
|
19103
19325
|
|
|
19104
|
-
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CancellationRequestReceivedEmail, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, Picture, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
19326
|
+
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPartialCancellationEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CancellationRequestReceivedEmail, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, Picture, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
19105
19327
|
//# sourceMappingURL=index.js.map
|
|
19106
19328
|
//# sourceMappingURL=index.js.map
|