@planetaexo/design-system 0.30.0 → 0.32.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 +197 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -10
- package/dist/index.d.ts +47 -10
- package/dist/index.js +196 -130
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4472,6 +4472,98 @@ function BookingAdventureCard({
|
|
|
4472
4472
|
}
|
|
4473
4473
|
);
|
|
4474
4474
|
}
|
|
4475
|
+
function BookingSummary({ heading, rows, footer, className }) {
|
|
4476
|
+
var _a, _b;
|
|
4477
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, style: { marginBottom: "24px" }, children: [
|
|
4478
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4479
|
+
"p",
|
|
4480
|
+
{
|
|
4481
|
+
style: {
|
|
4482
|
+
marginTop: 0,
|
|
4483
|
+
marginBottom: "20px",
|
|
4484
|
+
fontWeight: 700,
|
|
4485
|
+
color: emailTokens.foreground,
|
|
4486
|
+
fontSize: "18px",
|
|
4487
|
+
fontFamily: emailTokens.fontFamily
|
|
4488
|
+
},
|
|
4489
|
+
children: heading
|
|
4490
|
+
}
|
|
4491
|
+
),
|
|
4492
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4493
|
+
"div",
|
|
4494
|
+
{
|
|
4495
|
+
style: {
|
|
4496
|
+
borderRadius: "12px",
|
|
4497
|
+
border: `1px solid ${emailTokens.border}`,
|
|
4498
|
+
overflow: "hidden"
|
|
4499
|
+
},
|
|
4500
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4501
|
+
"table",
|
|
4502
|
+
{
|
|
4503
|
+
style: {
|
|
4504
|
+
width: "100%",
|
|
4505
|
+
fontSize: "14px",
|
|
4506
|
+
borderCollapse: "collapse"
|
|
4507
|
+
},
|
|
4508
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
|
|
4509
|
+
rows.map((row, i) => {
|
|
4510
|
+
var _a2;
|
|
4511
|
+
const isLastRowWithoutFooter = i === rows.length - 1 && !footer;
|
|
4512
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4513
|
+
"tr",
|
|
4514
|
+
{
|
|
4515
|
+
style: !isLastRowWithoutFooter ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
|
|
4516
|
+
children: [
|
|
4517
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4518
|
+
"td",
|
|
4519
|
+
{
|
|
4520
|
+
style: {
|
|
4521
|
+
padding: "12px 20px",
|
|
4522
|
+
color: emailTokens.mutedForeground,
|
|
4523
|
+
backgroundColor: emailTokens.muted,
|
|
4524
|
+
verticalAlign: "top"
|
|
4525
|
+
},
|
|
4526
|
+
children: row.label
|
|
4527
|
+
}
|
|
4528
|
+
),
|
|
4529
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4530
|
+
"td",
|
|
4531
|
+
{
|
|
4532
|
+
style: {
|
|
4533
|
+
padding: "12px 20px",
|
|
4534
|
+
fontWeight: row.valueColor === emailTokens.primary ? 600 : 500,
|
|
4535
|
+
color: (_a2 = row.valueColor) != null ? _a2 : emailTokens.foreground,
|
|
4536
|
+
verticalAlign: "top"
|
|
4537
|
+
},
|
|
4538
|
+
children: row.value
|
|
4539
|
+
}
|
|
4540
|
+
)
|
|
4541
|
+
]
|
|
4542
|
+
},
|
|
4543
|
+
i
|
|
4544
|
+
);
|
|
4545
|
+
}),
|
|
4546
|
+
footer && /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4547
|
+
"td",
|
|
4548
|
+
{
|
|
4549
|
+
colSpan: 2,
|
|
4550
|
+
style: {
|
|
4551
|
+
padding: "12px 20px",
|
|
4552
|
+
textAlign: "center",
|
|
4553
|
+
fontWeight: (_a = footer.fontWeight) != null ? _a : 600,
|
|
4554
|
+
color: (_b = footer.color) != null ? _b : emailTokens.foreground,
|
|
4555
|
+
backgroundColor: footer.backgroundColor
|
|
4556
|
+
},
|
|
4557
|
+
children: footer.text
|
|
4558
|
+
}
|
|
4559
|
+
) })
|
|
4560
|
+
] })
|
|
4561
|
+
}
|
|
4562
|
+
)
|
|
4563
|
+
}
|
|
4564
|
+
)
|
|
4565
|
+
] });
|
|
4566
|
+
}
|
|
4475
4567
|
var DEFAULT_LABELS2 = {
|
|
4476
4568
|
heading: "PAYMENT DETAILS"
|
|
4477
4569
|
};
|
|
@@ -4599,7 +4691,7 @@ var DEFAULT_LABELS3 = {
|
|
|
4599
4691
|
footerContact: (agent) => `If you have any questions, just reply to this email or contact ${agent} \u2014 happy to help.`,
|
|
4600
4692
|
closingMessage: "You can access your booking at any time through the link below."
|
|
4601
4693
|
};
|
|
4602
|
-
function
|
|
4694
|
+
function BookingPaymentConfirmationEmail({
|
|
4603
4695
|
recipientName,
|
|
4604
4696
|
logoUrl,
|
|
4605
4697
|
bookingReference,
|
|
@@ -4679,27 +4771,18 @@ function BookingConfirmation({
|
|
|
4679
4771
|
] }),
|
|
4680
4772
|
/* @__PURE__ */ jsxRuntime.jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } })
|
|
4681
4773
|
] }),
|
|
4682
|
-
/* @__PURE__ */ jsxRuntime.
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.totalTravellersLabel }),
|
|
4695
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: emailTokens.foreground }, children: allTravellers.length })
|
|
4696
|
-
] }),
|
|
4697
|
-
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
4698
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "12px 20px", color: emailTokens.mutedForeground, backgroundColor: emailTokens.muted }, children: l.agentLabel }),
|
|
4699
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "12px 20px", fontWeight: "500", color: emailTokens.foreground }, children: agent })
|
|
4700
|
-
] })
|
|
4701
|
-
] }) }) })
|
|
4702
|
-
] }),
|
|
4774
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4775
|
+
BookingSummary,
|
|
4776
|
+
{
|
|
4777
|
+
heading: l.bookingSummaryHeading,
|
|
4778
|
+
rows: [
|
|
4779
|
+
{ label: l.bookingNumberLabel, value: bookingReference, valueColor: emailTokens.primary },
|
|
4780
|
+
{ label: l.adventuresLabel, value: adventures.length },
|
|
4781
|
+
{ label: l.totalTravellersLabel, value: allTravellers.length },
|
|
4782
|
+
{ label: l.agentLabel, value: agent }
|
|
4783
|
+
]
|
|
4784
|
+
}
|
|
4785
|
+
) }),
|
|
4703
4786
|
/* @__PURE__ */ jsxRuntime.jsx("hr", { style: { border: "none", borderTop: `1px solid ${emailTokens.border}`, margin: "0 32px" } }),
|
|
4704
4787
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { paddingLeft: "32px", paddingRight: "32px", paddingTop: "32px", paddingBottom: "32px" }, children: adventures.map((adventure, adIdx) => {
|
|
4705
4788
|
var _a, _b, _c, _d;
|
|
@@ -4819,43 +4902,13 @@ function BookingConfirmation({
|
|
|
4819
4902
|
}
|
|
4820
4903
|
);
|
|
4821
4904
|
}
|
|
4822
|
-
function BookingSummary({ heading, rows, className }) {
|
|
4823
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, style: { marginBottom: "32px" }, children: [
|
|
4824
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4825
|
-
"p",
|
|
4826
|
-
{
|
|
4827
|
-
style: {
|
|
4828
|
-
marginBottom: "16px",
|
|
4829
|
-
fontWeight: "700",
|
|
4830
|
-
color: emailTokens.foreground,
|
|
4831
|
-
fontFamily: emailTokens.fontFamily
|
|
4832
|
-
},
|
|
4833
|
-
children: heading
|
|
4834
|
-
}
|
|
4835
|
-
),
|
|
4836
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4837
|
-
"table",
|
|
4838
|
-
{
|
|
4839
|
-
style: {
|
|
4840
|
-
width: "100%",
|
|
4841
|
-
fontSize: "14px",
|
|
4842
|
-
borderCollapse: "collapse"
|
|
4843
|
-
},
|
|
4844
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
4845
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "4px 16px 4px 0", color: emailTokens.mutedForeground }, children: row.label }),
|
|
4846
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "4px 0", fontWeight: "500", color: emailTokens.foreground }, children: row.value })
|
|
4847
|
-
] }, i)) })
|
|
4848
|
-
}
|
|
4849
|
-
)
|
|
4850
|
-
] });
|
|
4851
|
-
}
|
|
4852
4905
|
var DEFAULT_LABELS4 = {
|
|
4853
4906
|
ctaButton: "Add travellers to your booking",
|
|
4854
4907
|
logoAlt: "PlanetaEXO",
|
|
4855
4908
|
greeting: (recipientName) => `Hi ${recipientName},`,
|
|
4856
4909
|
thankYouMessage: "Thank you for booking your adventure with PlanetaEXO \u2014 we\u2019re really looking forward to your adventure.",
|
|
4857
4910
|
addTravellersInstruction: "To move forward, the first step is to add all travellers included in your booking. Once you do this, each person \u2014 including you \u2014 will receive an email with a link to complete their individual registration.",
|
|
4858
|
-
summaryHeading: "\u{1F4DD}
|
|
4911
|
+
summaryHeading: "\u{1F4DD} Booking Summary",
|
|
4859
4912
|
bookingNumberLabel: "Booking Number:",
|
|
4860
4913
|
activityLabel: "Activity:",
|
|
4861
4914
|
adventureLabel: "Adventure:",
|
|
@@ -4866,7 +4919,7 @@ var DEFAULT_LABELS4 = {
|
|
|
4866
4919
|
closingMessage: "If you have any questions, just reply to this email \u2014 happy to help.",
|
|
4867
4920
|
nextStepsHeading: "Next steps:"
|
|
4868
4921
|
};
|
|
4869
|
-
function
|
|
4922
|
+
function BookingCreatedEmail({
|
|
4870
4923
|
recipientName,
|
|
4871
4924
|
addTravellersUrl,
|
|
4872
4925
|
logoUrl,
|
|
@@ -4896,7 +4949,7 @@ function BookingConfirmationEmail({
|
|
|
4896
4949
|
};
|
|
4897
4950
|
const AddTravellersCta = addTravellersUrl ? /* @__PURE__ */ jsxRuntime.jsx("a", { href: addTravellersUrl, style: ctaStyle, children: l.ctaButton }) : /* @__PURE__ */ jsxRuntime.jsx("span", { style: ctaStyle, role: "presentation", children: l.ctaButton });
|
|
4898
4951
|
const tableRows = [
|
|
4899
|
-
{ label: l.bookingNumberLabel, value: bookingNumber },
|
|
4952
|
+
{ label: l.bookingNumberLabel, value: bookingNumber, valueColor: emailTokens.primary },
|
|
4900
4953
|
...activity && activity.trim().length > 0 ? [{ label: l.activityLabel, value: activity }] : [],
|
|
4901
4954
|
{ label: l.adventureLabel, value: adventure },
|
|
4902
4955
|
{ label: l.startingDateLabel, value: startingDate },
|
|
@@ -5047,12 +5100,12 @@ var DEFAULT_LABELS5 = {
|
|
|
5047
5100
|
logoAlt: "PlanetaEXO",
|
|
5048
5101
|
greeting: (n) => `Hi ${n},`,
|
|
5049
5102
|
intermediateHello: "Hope you're doing well.",
|
|
5050
|
-
bookingSummaryHeader: "Booking
|
|
5051
|
-
bookingNumberLabel: "Booking
|
|
5052
|
-
adventuresCountLabel: (c) =>
|
|
5053
|
-
travellersCountLabel: (c) =>
|
|
5103
|
+
bookingSummaryHeader: "\u{1F4DD} Booking Summary",
|
|
5104
|
+
bookingNumberLabel: "Booking Number",
|
|
5105
|
+
adventuresCountLabel: (c) => String(c),
|
|
5106
|
+
travellersCountLabel: (c) => String(c),
|
|
5054
5107
|
adventuresRowLabel: "Adventures",
|
|
5055
|
-
travellersRowLabel: "Total
|
|
5108
|
+
travellersRowLabel: "Total Travellers",
|
|
5056
5109
|
agentRowLabel: "Agent",
|
|
5057
5110
|
progressHeader: "Registration progress",
|
|
5058
5111
|
startsLabel: "Starts",
|
|
@@ -5111,7 +5164,7 @@ var DEFAULT_LABELS5 = {
|
|
|
5111
5164
|
contextNote: "Please ensure all pending registrations are completed as soon as possible.",
|
|
5112
5165
|
importantNote: "Important: Registration is mandatory and required for participation in the adventure.",
|
|
5113
5166
|
progressIntro: "Review your booking page to complete missing information:",
|
|
5114
|
-
multiTravellerNote: "
|
|
5167
|
+
multiTravellerNote: "",
|
|
5115
5168
|
pleaseNoteHeader: "",
|
|
5116
5169
|
pleaseNoteBullets: [],
|
|
5117
5170
|
bookerCoordinationNote: "",
|
|
@@ -5126,7 +5179,7 @@ var DEFAULT_LABELS5 = {
|
|
|
5126
5179
|
finalReminderTagline: "This is a final reminder.",
|
|
5127
5180
|
importantNote: "Traveller registration is mandatory. Without completed registration forms, we may be unable to confirm logistics and travellers may not be allowed to board transfers, flights, boats, or participate in activities.",
|
|
5128
5181
|
progressIntro: "Please complete all pending registrations immediately through your booking page:",
|
|
5129
|
-
disregardIfCompleted: "
|
|
5182
|
+
disregardIfCompleted: "",
|
|
5130
5183
|
closingThanks: "We look forward to welcoming you soon.",
|
|
5131
5184
|
contextNote: "",
|
|
5132
5185
|
pleaseNoteHeader: "",
|
|
@@ -5178,7 +5231,7 @@ function RegistrationReminderEmail({
|
|
|
5178
5231
|
fontFamily: emailTokens.fontFamily
|
|
5179
5232
|
};
|
|
5180
5233
|
const summaryRows = [
|
|
5181
|
-
{ label: l.bookingNumberLabel, value:
|
|
5234
|
+
{ label: l.bookingNumberLabel, value: bookingNumber, valueColor: emailTokens.primary },
|
|
5182
5235
|
{ label: l.adventuresRowLabel, value: l.adventuresCountLabel(totalAdventures) },
|
|
5183
5236
|
{ label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
|
|
5184
5237
|
...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
|
|
@@ -5188,9 +5241,24 @@ function RegistrationReminderEmail({
|
|
|
5188
5241
|
const showEarlyBenefit = hasText(v.earlyCompletionBenefit);
|
|
5189
5242
|
const showImportant = hasText(v.importantNote);
|
|
5190
5243
|
const showFinalTagline = hasText(v.finalReminderTagline);
|
|
5191
|
-
|
|
5244
|
+
hasText(v.multiTravellerNote);
|
|
5192
5245
|
const showDisregard = hasText(v.disregardIfCompleted);
|
|
5193
5246
|
const showClosingThanks = hasText(v.closingThanks);
|
|
5247
|
+
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
5248
|
+
"hr",
|
|
5249
|
+
{
|
|
5250
|
+
style: {
|
|
5251
|
+
border: "none",
|
|
5252
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5253
|
+
marginTop: 0,
|
|
5254
|
+
marginBottom: "24px"
|
|
5255
|
+
}
|
|
5256
|
+
}
|
|
5257
|
+
);
|
|
5258
|
+
const hasIntroBlock = hasText(v.intro) || hasText(v.contextNote);
|
|
5259
|
+
const hasPleaseNote = showPleaseNote;
|
|
5260
|
+
const hasD7Highlight = showImportant && slug === "d_minus_7";
|
|
5261
|
+
const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
|
|
5194
5262
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5195
5263
|
"div",
|
|
5196
5264
|
{
|
|
@@ -5214,45 +5282,18 @@ function RegistrationReminderEmail({
|
|
|
5214
5282
|
hasText(l.intermediateHello) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
|
|
5215
5283
|
hasText(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
|
|
5216
5284
|
hasText(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
] }),
|
|
5221
|
-
showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
5222
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5223
|
-
"hr",
|
|
5224
|
-
{
|
|
5225
|
-
style: {
|
|
5226
|
-
border: "none",
|
|
5227
|
-
borderTop: `1px solid ${emailTokens.border}`,
|
|
5228
|
-
marginBottom: "24px"
|
|
5229
|
-
}
|
|
5230
|
-
}
|
|
5231
|
-
),
|
|
5232
|
-
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
|
|
5233
|
-
showImportant && slug === "d_minus_7" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5234
|
-
"p",
|
|
5235
|
-
{
|
|
5236
|
-
style: {
|
|
5237
|
-
marginBottom: "20px",
|
|
5238
|
-
padding: "12px 16px",
|
|
5239
|
-
borderRadius: "8px",
|
|
5240
|
-
backgroundColor: "#fef3c7",
|
|
5241
|
-
color: "#78350f",
|
|
5242
|
-
fontWeight: 600
|
|
5243
|
-
},
|
|
5244
|
-
children: v.importantNote
|
|
5245
|
-
}
|
|
5246
|
-
),
|
|
5285
|
+
hasIntroBlock && sectionDivider,
|
|
5286
|
+
slug === "d_minus_30" && /* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
|
|
5287
|
+
slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
5247
5288
|
hasItems(adventures) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5248
5289
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5249
5290
|
"p",
|
|
5250
5291
|
{
|
|
5251
5292
|
style: {
|
|
5252
|
-
marginTop:
|
|
5293
|
+
marginTop: 0,
|
|
5253
5294
|
marginBottom: "12px",
|
|
5254
5295
|
fontWeight: 700,
|
|
5255
|
-
fontSize: "
|
|
5296
|
+
fontSize: "16px",
|
|
5256
5297
|
color: emailTokens.foreground
|
|
5257
5298
|
},
|
|
5258
5299
|
children: l.progressHeader
|
|
@@ -5318,8 +5359,8 @@ function RegistrationReminderEmail({
|
|
|
5318
5359
|
`${adv.name}-${i}`
|
|
5319
5360
|
))
|
|
5320
5361
|
] }),
|
|
5321
|
-
showEarlyBenefit && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.earlyCompletionBenefit }),
|
|
5322
|
-
|
|
5362
|
+
slug === "d_minus_15" && showEarlyBenefit && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.earlyCompletionBenefit }),
|
|
5363
|
+
slug === "d_minus_2" && hasD2Highlight && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5323
5364
|
"div",
|
|
5324
5365
|
{
|
|
5325
5366
|
style: {
|
|
@@ -5332,12 +5373,47 @@ function RegistrationReminderEmail({
|
|
|
5332
5373
|
},
|
|
5333
5374
|
children: [
|
|
5334
5375
|
showFinalTagline && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0, marginBottom: showImportant ? "8px" : 0, fontWeight: 700 }, children: v.finalReminderTagline }),
|
|
5335
|
-
showImportant &&
|
|
5376
|
+
showImportant && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.importantNote })
|
|
5336
5377
|
]
|
|
5337
5378
|
}
|
|
5338
5379
|
),
|
|
5339
|
-
showMultiTraveller && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.multiTravellerNote }),
|
|
5340
5380
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
5381
|
+
slug === "d_minus_7" && hasD7Highlight && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5382
|
+
"p",
|
|
5383
|
+
{
|
|
5384
|
+
style: {
|
|
5385
|
+
marginBottom: "20px",
|
|
5386
|
+
padding: "12px 16px",
|
|
5387
|
+
borderRadius: "8px",
|
|
5388
|
+
backgroundColor: "#fef3c7",
|
|
5389
|
+
color: "#78350f",
|
|
5390
|
+
fontWeight: 600
|
|
5391
|
+
},
|
|
5392
|
+
children: v.importantNote
|
|
5393
|
+
}
|
|
5394
|
+
),
|
|
5395
|
+
slug !== "d_minus_30" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5396
|
+
sectionDivider,
|
|
5397
|
+
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows })
|
|
5398
|
+
] }),
|
|
5399
|
+
hasPleaseNote && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5400
|
+
sectionDivider,
|
|
5401
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5402
|
+
"p",
|
|
5403
|
+
{
|
|
5404
|
+
style: {
|
|
5405
|
+
marginTop: 0,
|
|
5406
|
+
marginBottom: "12px",
|
|
5407
|
+
fontWeight: 700,
|
|
5408
|
+
fontSize: "16px",
|
|
5409
|
+
color: emailTokens.foreground
|
|
5410
|
+
},
|
|
5411
|
+
children: v.pleaseNoteHeader
|
|
5412
|
+
}
|
|
5413
|
+
),
|
|
5414
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { style: { paddingLeft: "20px", margin: 0, marginBottom: "24px" }, children: v.pleaseNoteBullets.map((b, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { style: { marginBottom: "6px", color: emailTokens.bodyText }, children: b }, i)) })
|
|
5415
|
+
] }),
|
|
5416
|
+
sectionDivider,
|
|
5341
5417
|
/* @__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, {
|
|
5342
5418
|
whatsappUrl: agent.whatsappUrl,
|
|
5343
5419
|
email: agent.email
|
|
@@ -5456,37 +5532,16 @@ function PaymentReceiptEmail({
|
|
|
5456
5532
|
] }) })
|
|
5457
5533
|
}
|
|
5458
5534
|
),
|
|
5459
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "12px", fontWeight: 700, color: emailTokens.foreground, fontSize: "16px" }, children: l.summaryHeading }),
|
|
5460
5535
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5461
|
-
|
|
5536
|
+
BookingSummary,
|
|
5462
5537
|
{
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
summaryRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { style: i > 0 ? { borderTop: `1px solid ${emailTokens.border}` } : {}, children: [
|
|
5471
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "10px 16px", color: emailTokens.mutedForeground, verticalAlign: "top" }, children: row.label }),
|
|
5472
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { style: { padding: "10px 16px", textAlign: "right", fontWeight: 500, color: emailTokens.foreground, whiteSpace: "nowrap" }, children: row.value })
|
|
5473
|
-
] }, i)),
|
|
5474
|
-
isPaidInFull && /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5475
|
-
"td",
|
|
5476
|
-
{
|
|
5477
|
-
colSpan: 2,
|
|
5478
|
-
style: {
|
|
5479
|
-
padding: "12px 16px",
|
|
5480
|
-
textAlign: "center",
|
|
5481
|
-
fontWeight: 600,
|
|
5482
|
-
color: emailTokens.green,
|
|
5483
|
-
backgroundColor: emailTokens.greenBg,
|
|
5484
|
-
borderTop: `1px solid ${emailTokens.border}`
|
|
5485
|
-
},
|
|
5486
|
-
children: l.paidInFullMessage
|
|
5487
|
-
}
|
|
5488
|
-
) })
|
|
5489
|
-
] }) })
|
|
5538
|
+
heading: l.summaryHeading,
|
|
5539
|
+
rows: summaryRows,
|
|
5540
|
+
footer: isPaidInFull ? {
|
|
5541
|
+
text: l.paidInFullMessage,
|
|
5542
|
+
color: emailTokens.green,
|
|
5543
|
+
backgroundColor: emailTokens.greenBg
|
|
5544
|
+
} : void 0
|
|
5490
5545
|
}
|
|
5491
5546
|
),
|
|
5492
5547
|
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: l.closingMessage }),
|
|
@@ -5738,6 +5793,17 @@ function PaymentReminderEmail({
|
|
|
5738
5793
|
]
|
|
5739
5794
|
}
|
|
5740
5795
|
) }),
|
|
5796
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5797
|
+
"hr",
|
|
5798
|
+
{
|
|
5799
|
+
style: {
|
|
5800
|
+
border: "none",
|
|
5801
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5802
|
+
marginTop: 0,
|
|
5803
|
+
marginBottom: "24px"
|
|
5804
|
+
}
|
|
5805
|
+
}
|
|
5806
|
+
),
|
|
5741
5807
|
showDisregard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5742
5808
|
"p",
|
|
5743
5809
|
{
|
|
@@ -11705,12 +11771,12 @@ exports.AgentContactCard = AgentContactCard;
|
|
|
11705
11771
|
exports.Alert = Alert;
|
|
11706
11772
|
exports.BirthDateField = BirthDateField;
|
|
11707
11773
|
exports.BookingAdventureCard = BookingAdventureCard;
|
|
11708
|
-
exports.BookingConfirmation = BookingConfirmation;
|
|
11709
|
-
exports.BookingConfirmationEmail = BookingConfirmationEmail;
|
|
11710
11774
|
exports.BookingConfirmedCard = BookingConfirmedCard;
|
|
11775
|
+
exports.BookingCreatedEmail = BookingCreatedEmail;
|
|
11711
11776
|
exports.BookingDetails = BookingDetails;
|
|
11712
11777
|
exports.BookingForm = BookingForm;
|
|
11713
11778
|
exports.BookingOtpEmail = BookingOtpEmail;
|
|
11779
|
+
exports.BookingPaymentConfirmationEmail = BookingPaymentConfirmationEmail;
|
|
11714
11780
|
exports.BookingShell = BookingShell;
|
|
11715
11781
|
exports.BookingSummary = BookingSummary;
|
|
11716
11782
|
exports.Button = Button;
|