@planetaexo/design-system 0.34.0 → 0.36.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 +296 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -2
- package/dist/index.d.ts +87 -2
- package/dist/index.js +296 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2633,6 +2633,9 @@ function AdventureSection({
|
|
|
2633
2633
|
onAddTraveller,
|
|
2634
2634
|
onUnassignFromAdventure,
|
|
2635
2635
|
onCopyFormLink,
|
|
2636
|
+
onResendInvite,
|
|
2637
|
+
resendingInviteTravellerIds,
|
|
2638
|
+
resendInviteAriaLabel,
|
|
2636
2639
|
hasSubmitAddTraveller,
|
|
2637
2640
|
hasSubmitEditTraveller,
|
|
2638
2641
|
hasConfirmRemoveTraveller,
|
|
@@ -2889,6 +2892,18 @@ function AdventureSection({
|
|
|
2889
2892
|
}
|
|
2890
2893
|
),
|
|
2891
2894
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0.5 shrink-0", children: [
|
|
2895
|
+
onResendInvite && t.status === "pending" && t.email && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2896
|
+
"button",
|
|
2897
|
+
{
|
|
2898
|
+
type: "button",
|
|
2899
|
+
onClick: () => onResendInvite(t.id),
|
|
2900
|
+
disabled: resendingInviteTravellerIds == null ? void 0 : resendingInviteTravellerIds.has(t.id),
|
|
2901
|
+
className: "flex h-8 w-8 sm:h-7 sm:w-7 items-center justify-center rounded-lg text-muted-foreground hover:text-primary hover:bg-primary/10 transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:pointer-events-none",
|
|
2902
|
+
"aria-label": resendInviteAriaLabel != null ? resendInviteAriaLabel : "Resend registration invite",
|
|
2903
|
+
title: resendInviteAriaLabel != null ? resendInviteAriaLabel : "Resend registration invite",
|
|
2904
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SendIcon, { className: "w-3.5 h-3.5" })
|
|
2905
|
+
}
|
|
2906
|
+
),
|
|
2892
2907
|
(onEditTraveller || hasSubmitEditTraveller) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2893
2908
|
"button",
|
|
2894
2909
|
{
|
|
@@ -3465,6 +3480,9 @@ function BookingDetails({
|
|
|
3465
3480
|
onAddTraveller,
|
|
3466
3481
|
onUnassignFromAdventure,
|
|
3467
3482
|
onCopyFormLink,
|
|
3483
|
+
onResendInvite,
|
|
3484
|
+
resendingInviteTravellerIds,
|
|
3485
|
+
resendInviteAriaLabel,
|
|
3468
3486
|
onSubmitAddTraveller,
|
|
3469
3487
|
onSubmitEditTraveller,
|
|
3470
3488
|
onConfirmRemoveTraveller,
|
|
@@ -3653,6 +3671,9 @@ function BookingDetails({
|
|
|
3653
3671
|
onAddTraveller,
|
|
3654
3672
|
onUnassignFromAdventure,
|
|
3655
3673
|
onCopyFormLink,
|
|
3674
|
+
onResendInvite,
|
|
3675
|
+
resendingInviteTravellerIds,
|
|
3676
|
+
resendInviteAriaLabel,
|
|
3656
3677
|
hasSubmitAddTraveller,
|
|
3657
3678
|
hasSubmitEditTraveller,
|
|
3658
3679
|
hasConfirmRemoveTraveller,
|
|
@@ -5435,7 +5456,254 @@ function RegistrationReminderEmail({
|
|
|
5435
5456
|
}
|
|
5436
5457
|
);
|
|
5437
5458
|
}
|
|
5459
|
+
var INLINE_LINK_STYLE2 = {
|
|
5460
|
+
color: emailTokens.primary,
|
|
5461
|
+
textDecoration: "underline"
|
|
5462
|
+
};
|
|
5463
|
+
function renderWhatsappLink2(contact, label) {
|
|
5464
|
+
if (contact.whatsappUrl) {
|
|
5465
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5466
|
+
}
|
|
5467
|
+
return label;
|
|
5468
|
+
}
|
|
5469
|
+
function renderEmailLink2(contact, label) {
|
|
5470
|
+
if (contact.email) {
|
|
5471
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5472
|
+
}
|
|
5473
|
+
return label;
|
|
5474
|
+
}
|
|
5438
5475
|
var DEFAULT_LABELS6 = {
|
|
5476
|
+
logoAlt: "PlanetaEXO",
|
|
5477
|
+
greeting: (n) => `Hi ${n},`,
|
|
5478
|
+
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
5479
|
+
bookingNumberLabel: "Booking Number",
|
|
5480
|
+
leadTravellerLabel: "Lead Traveller",
|
|
5481
|
+
adventureLabel: "Adventure",
|
|
5482
|
+
startingDateLabel: "Starting Date",
|
|
5483
|
+
partnerLabel: "Partner",
|
|
5484
|
+
ctaLabel: "Complete Registration",
|
|
5485
|
+
routingNoteUnderage: (travellerFirstName, bookerFirstName) => `We're sending this to you, ${bookerFirstName}, because ${travellerFirstName} is under 18. Please help complete the registration on their behalf.`,
|
|
5486
|
+
routingNoteNoEmail: (travellerFirstName) => `We don't have an email on file for ${travellerFirstName}. Please forward this message to them, or reply with their email so we can reach out directly.`,
|
|
5487
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5488
|
+
"If you have questions, your agent ",
|
|
5489
|
+
agentName,
|
|
5490
|
+
" is available via ",
|
|
5491
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5492
|
+
" or ",
|
|
5493
|
+
renderEmailLink2(contact, "email"),
|
|
5494
|
+
"."
|
|
5495
|
+
] }),
|
|
5496
|
+
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
5497
|
+
teamSignature: "The PlanetaEXO Team",
|
|
5498
|
+
variants: {
|
|
5499
|
+
d_minus_30: {
|
|
5500
|
+
subject: "Complete your registration for your upcoming adventure",
|
|
5501
|
+
intro: (_traveller, lead, adventure) => `Your adventure with PlanetaEXO, booked by ${lead}, is approaching and we noticed your registration is still incomplete.`,
|
|
5502
|
+
contextNote: "Completing your registration early helps us organise logistics and prepare your experience with our local partners.",
|
|
5503
|
+
mandatoryNote: "Registration is mandatory for all travellers and only takes a few minutes.",
|
|
5504
|
+
finalReminderTagline: "",
|
|
5505
|
+
consequencesNote: "",
|
|
5506
|
+
disregardIfCompleted: "",
|
|
5507
|
+
closingThanks: "See you soon,"
|
|
5508
|
+
},
|
|
5509
|
+
d_minus_15: {
|
|
5510
|
+
subject: "Registration still pending for your upcoming adventure",
|
|
5511
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} is getting closer, and your registration is still incomplete.`,
|
|
5512
|
+
contextNote: "Please complete your registration to help us finalise logistics and operational details before departure.",
|
|
5513
|
+
mandatoryNote: "Registration is required before departure and helps us prepare accommodation, transfers, safety information, and local operations.",
|
|
5514
|
+
finalReminderTagline: "",
|
|
5515
|
+
consequencesNote: "",
|
|
5516
|
+
disregardIfCompleted: "",
|
|
5517
|
+
closingThanks: ""
|
|
5518
|
+
},
|
|
5519
|
+
d_minus_7: {
|
|
5520
|
+
subject: "Action required: complete your registration before departure",
|
|
5521
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} begins in one week, and your registration is still incomplete.`,
|
|
5522
|
+
contextNote: "Please complete your registration as soon as possible.",
|
|
5523
|
+
mandatoryNote: "Registration is mandatory for participation in the adventure.",
|
|
5524
|
+
finalReminderTagline: "",
|
|
5525
|
+
consequencesNote: "",
|
|
5526
|
+
disregardIfCompleted: "",
|
|
5527
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5528
|
+
},
|
|
5529
|
+
d_minus_2: {
|
|
5530
|
+
subject: "\u{1F6A8} Final reminder: registration required before departure",
|
|
5531
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} starts in 2 days, and your registration is still incomplete.`,
|
|
5532
|
+
contextNote: "",
|
|
5533
|
+
finalReminderTagline: "This is a final reminder.",
|
|
5534
|
+
consequencesNote: "Without a completed registration form, we may be unable to confirm logistics and travellers may not be allowed to board transfers, flights, boats, or participate in activities.",
|
|
5535
|
+
mandatoryNote: "",
|
|
5536
|
+
disregardIfCompleted: "If you have already completed your registration, please disregard this email.",
|
|
5537
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5538
|
+
}
|
|
5539
|
+
}
|
|
5540
|
+
};
|
|
5541
|
+
function hasText2(s) {
|
|
5542
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5543
|
+
}
|
|
5544
|
+
function RegistrationReminderIndividualEmail({
|
|
5545
|
+
slug,
|
|
5546
|
+
recipientFirstName,
|
|
5547
|
+
travellerFirstName,
|
|
5548
|
+
leadTravellerName,
|
|
5549
|
+
leadTravellerFirstName,
|
|
5550
|
+
bookingNumber,
|
|
5551
|
+
adventureName,
|
|
5552
|
+
startDateFormatted,
|
|
5553
|
+
partnerName,
|
|
5554
|
+
ctaUrl,
|
|
5555
|
+
route,
|
|
5556
|
+
agent,
|
|
5557
|
+
logoUrl,
|
|
5558
|
+
labels,
|
|
5559
|
+
className
|
|
5560
|
+
}) {
|
|
5561
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5562
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
|
|
5563
|
+
variants: {
|
|
5564
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
5565
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
5566
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
5567
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
5568
|
+
}
|
|
5569
|
+
});
|
|
5570
|
+
const v = l.variants[slug];
|
|
5571
|
+
const ctaStyle = {
|
|
5572
|
+
display: "inline-block",
|
|
5573
|
+
backgroundColor: emailTokens.primary,
|
|
5574
|
+
color: emailTokens.primaryForeground,
|
|
5575
|
+
padding: "12px 24px",
|
|
5576
|
+
borderRadius: "8px",
|
|
5577
|
+
fontSize: "14px",
|
|
5578
|
+
fontWeight: 700,
|
|
5579
|
+
textDecoration: "none",
|
|
5580
|
+
fontFamily: emailTokens.fontFamily
|
|
5581
|
+
};
|
|
5582
|
+
const tripRows = [
|
|
5583
|
+
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
5584
|
+
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
5585
|
+
{ label: l.adventureLabel, value: adventureName },
|
|
5586
|
+
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
5587
|
+
...hasText2(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
5588
|
+
];
|
|
5589
|
+
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
5590
|
+
"hr",
|
|
5591
|
+
{
|
|
5592
|
+
style: {
|
|
5593
|
+
border: "none",
|
|
5594
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5595
|
+
marginTop: 0,
|
|
5596
|
+
marginBottom: "24px"
|
|
5597
|
+
}
|
|
5598
|
+
}
|
|
5599
|
+
);
|
|
5600
|
+
const introText = v.intro(travellerFirstName, leadTravellerFirstName, adventureName);
|
|
5601
|
+
const routingNote = route === "underage_to_booker" ? l.routingNoteUnderage(travellerFirstName, leadTravellerFirstName) : route === "no_email_fallback" ? l.routingNoteNoEmail(travellerFirstName) : null;
|
|
5602
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5603
|
+
"div",
|
|
5604
|
+
{
|
|
5605
|
+
style: {
|
|
5606
|
+
maxWidth: "576px",
|
|
5607
|
+
margin: "0 auto",
|
|
5608
|
+
backgroundColor: emailTokens.white,
|
|
5609
|
+
color: emailTokens.foreground,
|
|
5610
|
+
fontFamily: emailTokens.fontFamily,
|
|
5611
|
+
fontSize: "16px",
|
|
5612
|
+
lineHeight: "1.6",
|
|
5613
|
+
border: `1px solid ${emailTokens.border}`,
|
|
5614
|
+
borderRadius: "12px",
|
|
5615
|
+
overflow: "hidden",
|
|
5616
|
+
padding: "32px"
|
|
5617
|
+
},
|
|
5618
|
+
className,
|
|
5619
|
+
children: [
|
|
5620
|
+
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
5621
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
5622
|
+
hasText2(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5623
|
+
"p",
|
|
5624
|
+
{
|
|
5625
|
+
style: {
|
|
5626
|
+
marginBottom: "16px",
|
|
5627
|
+
padding: "10px 14px",
|
|
5628
|
+
borderRadius: "8px",
|
|
5629
|
+
backgroundColor: emailTokens.muted,
|
|
5630
|
+
color: emailTokens.bodyText,
|
|
5631
|
+
fontSize: "14px"
|
|
5632
|
+
},
|
|
5633
|
+
children: routingNote
|
|
5634
|
+
}
|
|
5635
|
+
),
|
|
5636
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
5637
|
+
hasText2(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
5638
|
+
slug === "d_minus_2" && (hasText2(v.finalReminderTagline) || hasText2(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5639
|
+
"div",
|
|
5640
|
+
{
|
|
5641
|
+
style: {
|
|
5642
|
+
marginBottom: "20px",
|
|
5643
|
+
padding: "12px 16px",
|
|
5644
|
+
borderRadius: "8px",
|
|
5645
|
+
backgroundColor: "#fef2f2",
|
|
5646
|
+
border: "1px solid #fecaca",
|
|
5647
|
+
color: "#7f1d1d"
|
|
5648
|
+
},
|
|
5649
|
+
children: [
|
|
5650
|
+
hasText2(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5651
|
+
"p",
|
|
5652
|
+
{
|
|
5653
|
+
style: {
|
|
5654
|
+
margin: 0,
|
|
5655
|
+
marginBottom: hasText2(v.consequencesNote) ? "8px" : 0,
|
|
5656
|
+
fontWeight: 700
|
|
5657
|
+
},
|
|
5658
|
+
children: v.finalReminderTagline
|
|
5659
|
+
}
|
|
5660
|
+
),
|
|
5661
|
+
hasText2(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
5662
|
+
]
|
|
5663
|
+
}
|
|
5664
|
+
),
|
|
5665
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
5666
|
+
slug === "d_minus_7" && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5667
|
+
"p",
|
|
5668
|
+
{
|
|
5669
|
+
style: {
|
|
5670
|
+
marginBottom: "20px",
|
|
5671
|
+
padding: "12px 16px",
|
|
5672
|
+
borderRadius: "8px",
|
|
5673
|
+
backgroundColor: "#fef3c7",
|
|
5674
|
+
color: "#78350f",
|
|
5675
|
+
fontWeight: 600
|
|
5676
|
+
},
|
|
5677
|
+
children: v.mandatoryNote
|
|
5678
|
+
}
|
|
5679
|
+
),
|
|
5680
|
+
sectionDivider,
|
|
5681
|
+
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
5682
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
5683
|
+
slug === "d_minus_2" && hasText2(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5684
|
+
"p",
|
|
5685
|
+
{
|
|
5686
|
+
style: {
|
|
5687
|
+
marginBottom: "16px",
|
|
5688
|
+
color: emailTokens.mutedForeground,
|
|
5689
|
+
fontSize: "13px",
|
|
5690
|
+
fontStyle: "italic"
|
|
5691
|
+
},
|
|
5692
|
+
children: v.disregardIfCompleted
|
|
5693
|
+
}
|
|
5694
|
+
),
|
|
5695
|
+
sectionDivider,
|
|
5696
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
5697
|
+
whatsappUrl: agent.whatsappUrl,
|
|
5698
|
+
email: agent.email
|
|
5699
|
+
}) : l.closingNoAgent }),
|
|
5700
|
+
hasText2(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
5701
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
5702
|
+
]
|
|
5703
|
+
}
|
|
5704
|
+
);
|
|
5705
|
+
}
|
|
5706
|
+
var DEFAULT_LABELS7 = {
|
|
5439
5707
|
logoAlt: "PlanetaEXO",
|
|
5440
5708
|
greeting: (name) => `Hi ${name},`,
|
|
5441
5709
|
receiptHeading: "Payment receipt",
|
|
@@ -5474,7 +5742,7 @@ function PaymentReceiptEmail({
|
|
|
5474
5742
|
labels,
|
|
5475
5743
|
className
|
|
5476
5744
|
}) {
|
|
5477
|
-
const l = __spreadValues(__spreadValues({},
|
|
5745
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
|
|
5478
5746
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
5479
5747
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
5480
5748
|
const receiptRows = [
|
|
@@ -5549,24 +5817,24 @@ function PaymentReceiptEmail({
|
|
|
5549
5817
|
}
|
|
5550
5818
|
);
|
|
5551
5819
|
}
|
|
5552
|
-
var
|
|
5820
|
+
var INLINE_LINK_STYLE3 = {
|
|
5553
5821
|
color: emailTokens.primary,
|
|
5554
5822
|
textDecoration: "underline"
|
|
5555
5823
|
};
|
|
5556
|
-
function
|
|
5824
|
+
function renderWhatsappLink3(contact, label) {
|
|
5557
5825
|
if (contact.whatsappUrl) {
|
|
5558
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
5826
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
5559
5827
|
}
|
|
5560
5828
|
return label;
|
|
5561
5829
|
}
|
|
5562
|
-
function
|
|
5830
|
+
function renderEmailLink3(contact, label) {
|
|
5563
5831
|
if (contact.email) {
|
|
5564
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
5832
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
5565
5833
|
}
|
|
5566
5834
|
return label;
|
|
5567
5835
|
}
|
|
5568
5836
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
5569
|
-
var
|
|
5837
|
+
var DEFAULT_LABELS8 = {
|
|
5570
5838
|
logoAlt: "PlanetaEXO",
|
|
5571
5839
|
greeting: (name) => `Hi ${name},`,
|
|
5572
5840
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -5581,9 +5849,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5581
5849
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
5582
5850
|
agentName,
|
|
5583
5851
|
" via ",
|
|
5584
|
-
|
|
5852
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5585
5853
|
" or ",
|
|
5586
|
-
|
|
5854
|
+
renderEmailLink3(contact, "email"),
|
|
5587
5855
|
"."
|
|
5588
5856
|
] }),
|
|
5589
5857
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -5627,9 +5895,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5627
5895
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
5628
5896
|
agentName,
|
|
5629
5897
|
" via ",
|
|
5630
|
-
|
|
5898
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5631
5899
|
" or ",
|
|
5632
|
-
|
|
5900
|
+
renderEmailLink3(contact, "email"),
|
|
5633
5901
|
". We'll be happy to assist."
|
|
5634
5902
|
] })
|
|
5635
5903
|
}
|
|
@@ -5653,7 +5921,7 @@ function PaymentReminderEmail({
|
|
|
5653
5921
|
}) {
|
|
5654
5922
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
5655
5923
|
const lOverride = labels != null ? labels : {};
|
|
5656
|
-
const variantDefaults =
|
|
5924
|
+
const variantDefaults = DEFAULT_LABELS8.variants[variant];
|
|
5657
5925
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
5658
5926
|
const variantLabels = {
|
|
5659
5927
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -5663,19 +5931,19 @@ function PaymentReminderEmail({
|
|
|
5663
5931
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
5664
5932
|
};
|
|
5665
5933
|
const l = {
|
|
5666
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
5667
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
5668
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
5669
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
5670
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
5671
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
5672
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
5673
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
5674
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
5675
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
5676
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
5677
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
5678
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
5934
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS8.logoAlt,
|
|
5935
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS8.greeting,
|
|
5936
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS8.intermediateHello,
|
|
5937
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS8.bookingSummaryHeader,
|
|
5938
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS8.amountAlreadyPaidLabel,
|
|
5939
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS8.remainingBalanceDueLabel,
|
|
5940
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS8.totalBookingAmountLabel,
|
|
5941
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS8.paymentDetailsHeading,
|
|
5942
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS8.ctaLabel,
|
|
5943
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS8.teamSignature,
|
|
5944
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS8.closingAgent,
|
|
5945
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS8.closingNoAgent,
|
|
5946
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
5679
5947
|
};
|
|
5680
5948
|
const ctaStyle = {
|
|
5681
5949
|
display: "inline-block",
|
|
@@ -6502,7 +6770,7 @@ function BookingForm({
|
|
|
6502
6770
|
}
|
|
6503
6771
|
);
|
|
6504
6772
|
}
|
|
6505
|
-
var
|
|
6773
|
+
var DEFAULT_LABELS9 = {
|
|
6506
6774
|
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.",
|
|
6507
6775
|
detailsSectionTitle: "Your details",
|
|
6508
6776
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -7167,7 +7435,7 @@ function RegistrationForm({
|
|
|
7167
7435
|
}) {
|
|
7168
7436
|
var _a;
|
|
7169
7437
|
const L = React25__namespace.useMemo(
|
|
7170
|
-
() => __spreadValues(__spreadValues({},
|
|
7438
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels != null ? labels : {}),
|
|
7171
7439
|
[labels]
|
|
7172
7440
|
);
|
|
7173
7441
|
const sortedFields = React25__namespace.useMemo(
|
|
@@ -11815,6 +12083,7 @@ exports.PricingTrip = PricingTrip;
|
|
|
11815
12083
|
exports.RegistrationForm = RegistrationForm;
|
|
11816
12084
|
exports.RegistrationProgressBar = RegistrationProgressBar;
|
|
11817
12085
|
exports.RegistrationReminderEmail = RegistrationReminderEmail;
|
|
12086
|
+
exports.RegistrationReminderIndividualEmail = RegistrationReminderIndividualEmail;
|
|
11818
12087
|
exports.RegistrationSuccessCard = RegistrationSuccessCard;
|
|
11819
12088
|
exports.SiteHeader = SiteHeader;
|
|
11820
12089
|
exports.TERMS_ACCEPT_KEY = TERMS_ACCEPT_KEY;
|