@planetaexo/design-system 0.34.0 → 0.35.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 +275 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +79 -1
- package/dist/index.d.ts +79 -1
- package/dist/index.js +275 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1247,6 +1247,84 @@ interface RegistrationReminderEmailProps {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
declare function RegistrationReminderEmail({ slug, recipientFirstName, bookingNumber, totalAdventures, totalTravellers, adventures, ctaUrl, agent, logoUrl, labels, className, }: RegistrationReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1249
1249
|
|
|
1250
|
+
type RegistrationReminderIndividualSlug = "d_minus_30" | "d_minus_15" | "d_minus_7" | "d_minus_2";
|
|
1251
|
+
type RegistrationReminderIndividualRoute = "traveller_direct" | "underage_to_booker" | "no_email_fallback";
|
|
1252
|
+
interface RegistrationReminderIndividualAgentContactLinks {
|
|
1253
|
+
whatsappUrl?: string;
|
|
1254
|
+
email?: string;
|
|
1255
|
+
}
|
|
1256
|
+
interface RegistrationReminderIndividualVariantLabels {
|
|
1257
|
+
subject?: string;
|
|
1258
|
+
/** 1º parágrafo. Recebe (travellerFirstName, leadTravellerFirstName, adventureName). */
|
|
1259
|
+
intro?: (travellerFirstName: string, leadTravellerFirstName: string, adventureName: string) => string;
|
|
1260
|
+
/** 2º parágrafo (logística / regra geral). */
|
|
1261
|
+
contextNote?: string;
|
|
1262
|
+
/** Nota destacada de obrigatoriedade (todos os slugs). */
|
|
1263
|
+
mandatoryNote?: string;
|
|
1264
|
+
/** Tagline em destaque (D-2 only): "This is a final reminder." */
|
|
1265
|
+
finalReminderTagline?: string;
|
|
1266
|
+
/** Bloco vermelho com consequências (D-2 only). */
|
|
1267
|
+
consequencesNote?: string;
|
|
1268
|
+
/** "If you have already completed your registration, please disregard this email." — D-2 only. */
|
|
1269
|
+
disregardIfCompleted?: string;
|
|
1270
|
+
/** Frase de fechamento positivo. */
|
|
1271
|
+
closingThanks?: string;
|
|
1272
|
+
}
|
|
1273
|
+
interface RegistrationReminderIndividualEmailLabels {
|
|
1274
|
+
logoAlt?: string;
|
|
1275
|
+
greeting?: (firstName: string) => string;
|
|
1276
|
+
tripDetailsHeader?: string;
|
|
1277
|
+
bookingNumberLabel?: string;
|
|
1278
|
+
leadTravellerLabel?: string;
|
|
1279
|
+
adventureLabel?: string;
|
|
1280
|
+
startingDateLabel?: string;
|
|
1281
|
+
partnerLabel?: string;
|
|
1282
|
+
ctaLabel?: string;
|
|
1283
|
+
/** Nota de routing: traveller é menor de idade — booker recebe o e-mail. */
|
|
1284
|
+
routingNoteUnderage?: (travellerFirstName: string, bookerFirstName: string) => string;
|
|
1285
|
+
/** Nota de routing: traveller sem e-mail — booker recebe o e-mail. */
|
|
1286
|
+
routingNoteNoEmail?: (travellerFirstName: string) => string;
|
|
1287
|
+
/** Closing principal quando há agente. Recebe nome + URLs de contato e retorna JSX. */
|
|
1288
|
+
closingAgent?: (agentName: string, contact: RegistrationReminderIndividualAgentContactLinks) => React.ReactNode;
|
|
1289
|
+
/** Closing alternativo sem agente. */
|
|
1290
|
+
closingNoAgent?: string;
|
|
1291
|
+
teamSignature?: string;
|
|
1292
|
+
variants?: {
|
|
1293
|
+
d_minus_30?: RegistrationReminderIndividualVariantLabels;
|
|
1294
|
+
d_minus_15?: RegistrationReminderIndividualVariantLabels;
|
|
1295
|
+
d_minus_7?: RegistrationReminderIndividualVariantLabels;
|
|
1296
|
+
d_minus_2?: RegistrationReminderIndividualVariantLabels;
|
|
1297
|
+
};
|
|
1298
|
+
}
|
|
1299
|
+
interface RegistrationReminderIndividualEmailProps {
|
|
1300
|
+
slug: RegistrationReminderIndividualSlug;
|
|
1301
|
+
locale: "en" | "pt" | "fr" | "de";
|
|
1302
|
+
/** Primeiro nome do destinatário do e-mail (pode ser o traveller ou o booker). */
|
|
1303
|
+
recipientFirstName: string;
|
|
1304
|
+
/** Nome do traveller alvo do registro (mesmo quando o e-mail vai ao booker). */
|
|
1305
|
+
travellerFirstName: string;
|
|
1306
|
+
/** Nome completo do lead traveller / booker (usado no Trip details). */
|
|
1307
|
+
leadTravellerName: string;
|
|
1308
|
+
/** Primeiro nome do booker — usado em routingNoteUnderage. */
|
|
1309
|
+
leadTravellerFirstName: string;
|
|
1310
|
+
bookingNumber: string;
|
|
1311
|
+
adventureName: string;
|
|
1312
|
+
startDateFormatted: string;
|
|
1313
|
+
partnerName?: string | null;
|
|
1314
|
+
ctaUrl: string;
|
|
1315
|
+
/** Rota do roteamento, usada para decidir qual routingNote renderizar. */
|
|
1316
|
+
route: RegistrationReminderIndividualRoute;
|
|
1317
|
+
agent: {
|
|
1318
|
+
name: string;
|
|
1319
|
+
whatsappUrl?: string;
|
|
1320
|
+
email?: string;
|
|
1321
|
+
} | null;
|
|
1322
|
+
logoUrl?: string;
|
|
1323
|
+
labels?: RegistrationReminderIndividualEmailLabels;
|
|
1324
|
+
className?: string;
|
|
1325
|
+
}
|
|
1326
|
+
declare function RegistrationReminderIndividualEmail({ slug, recipientFirstName, travellerFirstName, leadTravellerName, leadTravellerFirstName, bookingNumber, adventureName, startDateFormatted, partnerName, ctaUrl, route, agent, logoUrl, labels, className, }: RegistrationReminderIndividualEmailProps): react_jsx_runtime.JSX.Element;
|
|
1327
|
+
|
|
1250
1328
|
interface PaymentReceiptEmailLabels {
|
|
1251
1329
|
logoAlt?: string;
|
|
1252
1330
|
greeting?: (name: string) => string;
|
|
@@ -2862,4 +2940,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2862
2940
|
config: LeadCapturePopupConfig;
|
|
2863
2941
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2864
2942
|
|
|
2865
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
|
2943
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -1247,6 +1247,84 @@ interface RegistrationReminderEmailProps {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
declare function RegistrationReminderEmail({ slug, recipientFirstName, bookingNumber, totalAdventures, totalTravellers, adventures, ctaUrl, agent, logoUrl, labels, className, }: RegistrationReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1249
1249
|
|
|
1250
|
+
type RegistrationReminderIndividualSlug = "d_minus_30" | "d_minus_15" | "d_minus_7" | "d_minus_2";
|
|
1251
|
+
type RegistrationReminderIndividualRoute = "traveller_direct" | "underage_to_booker" | "no_email_fallback";
|
|
1252
|
+
interface RegistrationReminderIndividualAgentContactLinks {
|
|
1253
|
+
whatsappUrl?: string;
|
|
1254
|
+
email?: string;
|
|
1255
|
+
}
|
|
1256
|
+
interface RegistrationReminderIndividualVariantLabels {
|
|
1257
|
+
subject?: string;
|
|
1258
|
+
/** 1º parágrafo. Recebe (travellerFirstName, leadTravellerFirstName, adventureName). */
|
|
1259
|
+
intro?: (travellerFirstName: string, leadTravellerFirstName: string, adventureName: string) => string;
|
|
1260
|
+
/** 2º parágrafo (logística / regra geral). */
|
|
1261
|
+
contextNote?: string;
|
|
1262
|
+
/** Nota destacada de obrigatoriedade (todos os slugs). */
|
|
1263
|
+
mandatoryNote?: string;
|
|
1264
|
+
/** Tagline em destaque (D-2 only): "This is a final reminder." */
|
|
1265
|
+
finalReminderTagline?: string;
|
|
1266
|
+
/** Bloco vermelho com consequências (D-2 only). */
|
|
1267
|
+
consequencesNote?: string;
|
|
1268
|
+
/** "If you have already completed your registration, please disregard this email." — D-2 only. */
|
|
1269
|
+
disregardIfCompleted?: string;
|
|
1270
|
+
/** Frase de fechamento positivo. */
|
|
1271
|
+
closingThanks?: string;
|
|
1272
|
+
}
|
|
1273
|
+
interface RegistrationReminderIndividualEmailLabels {
|
|
1274
|
+
logoAlt?: string;
|
|
1275
|
+
greeting?: (firstName: string) => string;
|
|
1276
|
+
tripDetailsHeader?: string;
|
|
1277
|
+
bookingNumberLabel?: string;
|
|
1278
|
+
leadTravellerLabel?: string;
|
|
1279
|
+
adventureLabel?: string;
|
|
1280
|
+
startingDateLabel?: string;
|
|
1281
|
+
partnerLabel?: string;
|
|
1282
|
+
ctaLabel?: string;
|
|
1283
|
+
/** Nota de routing: traveller é menor de idade — booker recebe o e-mail. */
|
|
1284
|
+
routingNoteUnderage?: (travellerFirstName: string, bookerFirstName: string) => string;
|
|
1285
|
+
/** Nota de routing: traveller sem e-mail — booker recebe o e-mail. */
|
|
1286
|
+
routingNoteNoEmail?: (travellerFirstName: string) => string;
|
|
1287
|
+
/** Closing principal quando há agente. Recebe nome + URLs de contato e retorna JSX. */
|
|
1288
|
+
closingAgent?: (agentName: string, contact: RegistrationReminderIndividualAgentContactLinks) => React.ReactNode;
|
|
1289
|
+
/** Closing alternativo sem agente. */
|
|
1290
|
+
closingNoAgent?: string;
|
|
1291
|
+
teamSignature?: string;
|
|
1292
|
+
variants?: {
|
|
1293
|
+
d_minus_30?: RegistrationReminderIndividualVariantLabels;
|
|
1294
|
+
d_minus_15?: RegistrationReminderIndividualVariantLabels;
|
|
1295
|
+
d_minus_7?: RegistrationReminderIndividualVariantLabels;
|
|
1296
|
+
d_minus_2?: RegistrationReminderIndividualVariantLabels;
|
|
1297
|
+
};
|
|
1298
|
+
}
|
|
1299
|
+
interface RegistrationReminderIndividualEmailProps {
|
|
1300
|
+
slug: RegistrationReminderIndividualSlug;
|
|
1301
|
+
locale: "en" | "pt" | "fr" | "de";
|
|
1302
|
+
/** Primeiro nome do destinatário do e-mail (pode ser o traveller ou o booker). */
|
|
1303
|
+
recipientFirstName: string;
|
|
1304
|
+
/** Nome do traveller alvo do registro (mesmo quando o e-mail vai ao booker). */
|
|
1305
|
+
travellerFirstName: string;
|
|
1306
|
+
/** Nome completo do lead traveller / booker (usado no Trip details). */
|
|
1307
|
+
leadTravellerName: string;
|
|
1308
|
+
/** Primeiro nome do booker — usado em routingNoteUnderage. */
|
|
1309
|
+
leadTravellerFirstName: string;
|
|
1310
|
+
bookingNumber: string;
|
|
1311
|
+
adventureName: string;
|
|
1312
|
+
startDateFormatted: string;
|
|
1313
|
+
partnerName?: string | null;
|
|
1314
|
+
ctaUrl: string;
|
|
1315
|
+
/** Rota do roteamento, usada para decidir qual routingNote renderizar. */
|
|
1316
|
+
route: RegistrationReminderIndividualRoute;
|
|
1317
|
+
agent: {
|
|
1318
|
+
name: string;
|
|
1319
|
+
whatsappUrl?: string;
|
|
1320
|
+
email?: string;
|
|
1321
|
+
} | null;
|
|
1322
|
+
logoUrl?: string;
|
|
1323
|
+
labels?: RegistrationReminderIndividualEmailLabels;
|
|
1324
|
+
className?: string;
|
|
1325
|
+
}
|
|
1326
|
+
declare function RegistrationReminderIndividualEmail({ slug, recipientFirstName, travellerFirstName, leadTravellerName, leadTravellerFirstName, bookingNumber, adventureName, startDateFormatted, partnerName, ctaUrl, route, agent, logoUrl, labels, className, }: RegistrationReminderIndividualEmailProps): react_jsx_runtime.JSX.Element;
|
|
1327
|
+
|
|
1250
1328
|
interface PaymentReceiptEmailLabels {
|
|
1251
1329
|
logoAlt?: string;
|
|
1252
1330
|
greeting?: (name: string) => string;
|
|
@@ -2862,4 +2940,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2862
2940
|
config: LeadCapturePopupConfig;
|
|
2863
2941
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2864
2942
|
|
|
2865
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
|
2943
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, BookingAdventureCard, type BookingAdventureCardLabels, type BookingAdventureCardLineItem, type BookingAdventureCardProps, type BookingAdventureCardSlots, type BookingAdventureCardTraveller, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, BookingCreatedEmail, type BookingCreatedEmailLabels, type BookingCreatedEmailProps, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, BookingPaymentConfirmationEmail, type BookingPaymentConfirmationEmailLabels, type BookingPaymentConfirmationEmailProps, BookingShell, type BookingShellProps, type BookingStatus, BookingSummary, type BookingSummaryLineItem, type BookingSummaryProps, type BookingSummaryRow, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, type CurrencyEstimate, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, type DatePickerFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, type EmailTokens, type FilterGroup, type FilterItem, FilterPanel, type FilterPanelProps, FloatingInput, type FloatingInputProps, FloatingSelect, type FloatingSelectProps, Itinerary, ItineraryDay, type ItineraryDayPhoto, type ItineraryDayPhotoLayout, type ItineraryDayProps, type ItineraryDaySpec, type ItineraryProps, type ItineraryRoute, type ItineraryStop, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, type LeadCapturePopupConfig, MenuTrip, type MenuTripProps, type MenuTripSection, type MenuTripVariant, OTPCodeInput, type OTPCodeInputProps, Offer, OfferAdventureCard, type OfferAdventureItem, type OfferAgentInfo, type OfferConfirmedState, type OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, PaymentDetailsBlock, type PaymentDetailsBlockFooterBanner, type PaymentDetailsBlockLabels, type PaymentDetailsBlockProps, type PaymentDetailsBlockRow, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, type PaymentReminderAgentContactLinks, PaymentReminderEmail, type PaymentReminderEmailAdventure, type PaymentReminderEmailLabels, type PaymentReminderEmailLineItem, type PaymentReminderEmailProps, type PaymentReminderEmailVariantLabels, type PaymentReminderVariant, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, PricingTrip, type PricingTripProps, type PricingTripVariant, type RegistrationAdventure, type RegistrationBooking, type RegistrationEmergencyContactValue, type RegistrationField, type RegistrationFieldOption, type RegistrationFieldType, type RegistrationFieldValue, RegistrationForm, type RegistrationFormLabels, type RegistrationFormProps, type RegistrationFormValues, type RegistrationNameValue, type RegistrationPhoneValue, RegistrationProgressBar, type RegistrationProgressBarProps, type RegistrationProgressTone, type RegistrationReminderAdventureBlock, type RegistrationReminderAgentContactLinks, RegistrationReminderEmail, type RegistrationReminderEmailLabels, type RegistrationReminderEmailProps, type RegistrationReminderEmailVariantLabels, type RegistrationReminderIndividualAgentContactLinks, RegistrationReminderIndividualEmail, type RegistrationReminderIndividualEmailLabels, type RegistrationReminderIndividualEmailProps, type RegistrationReminderIndividualRoute, type RegistrationReminderIndividualSlug, type RegistrationReminderIndividualVariantLabels, type RegistrationReminderSlug, RegistrationSuccessCard, type RegistrationSuccessCardProps, type RegistrationTerms, type RegistrationTraveller, SiteHeader, type SiteHeaderLanguage, type SiteHeaderLink, type SiteHeaderProps, type SiteHeaderSubItem, type SiteHeaderVariant, type StripeAppearance, type SuggestedTraveller, TERMS_ACCEPT_KEY, TermsSection, type TermsSectionProps, ThemeToggle, Toast, type ToastProps, type ToastVariant, TransferDetailsBlock, type TransferDetailsBlockProps, type TravellerFormConfig, type TravellerFormData, TravellerFormInviteEmail, type TravellerFormInviteEmailLabels, type TravellerFormInviteEmailProps, type TravellerFormInviteLink, type TravellerFormLabels, TripCard, type TripCardCta, type TripCardProps, type TripCardSize, type TripCardStatus, type TripDuration, type TripFaq, TripHeader, type TripHeaderProps, type TripHighlight, type TripInfoGroup, type TripItineraryDay, type TripItineraryStep, type TripMeetingPoint, type TripOverviewHighlight, TripPage, type TripPageProps, type TripReview, type TripTrustpilotWidget, TrustpilotEmbed, type TrustpilotWidgetConfig, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
package/dist/index.js
CHANGED
|
@@ -5414,7 +5414,254 @@ function RegistrationReminderEmail({
|
|
|
5414
5414
|
}
|
|
5415
5415
|
);
|
|
5416
5416
|
}
|
|
5417
|
+
var INLINE_LINK_STYLE2 = {
|
|
5418
|
+
color: emailTokens.primary,
|
|
5419
|
+
textDecoration: "underline"
|
|
5420
|
+
};
|
|
5421
|
+
function renderWhatsappLink2(contact, label) {
|
|
5422
|
+
if (contact.whatsappUrl) {
|
|
5423
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5424
|
+
}
|
|
5425
|
+
return label;
|
|
5426
|
+
}
|
|
5427
|
+
function renderEmailLink2(contact, label) {
|
|
5428
|
+
if (contact.email) {
|
|
5429
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5430
|
+
}
|
|
5431
|
+
return label;
|
|
5432
|
+
}
|
|
5417
5433
|
var DEFAULT_LABELS6 = {
|
|
5434
|
+
logoAlt: "PlanetaEXO",
|
|
5435
|
+
greeting: (n) => `Hi ${n},`,
|
|
5436
|
+
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
5437
|
+
bookingNumberLabel: "Booking Number",
|
|
5438
|
+
leadTravellerLabel: "Lead Traveller",
|
|
5439
|
+
adventureLabel: "Adventure",
|
|
5440
|
+
startingDateLabel: "Starting Date",
|
|
5441
|
+
partnerLabel: "Partner",
|
|
5442
|
+
ctaLabel: "Complete Registration",
|
|
5443
|
+
routingNoteUnderage: (travellerFirstName, bookerFirstName) => `We're sending this to you, ${bookerFirstName}, because ${travellerFirstName} is under 18. Please help complete the registration on their behalf.`,
|
|
5444
|
+
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.`,
|
|
5445
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5446
|
+
"If you have questions, your agent ",
|
|
5447
|
+
agentName,
|
|
5448
|
+
" is available via ",
|
|
5449
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5450
|
+
" or ",
|
|
5451
|
+
renderEmailLink2(contact, "email"),
|
|
5452
|
+
"."
|
|
5453
|
+
] }),
|
|
5454
|
+
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
5455
|
+
teamSignature: "The PlanetaEXO Team",
|
|
5456
|
+
variants: {
|
|
5457
|
+
d_minus_30: {
|
|
5458
|
+
subject: "Complete your registration for your upcoming adventure",
|
|
5459
|
+
intro: (_traveller, lead, adventure) => `Your adventure with PlanetaEXO, booked by ${lead}, is approaching and we noticed your registration is still incomplete.`,
|
|
5460
|
+
contextNote: "Completing your registration early helps us organise logistics and prepare your experience with our local partners.",
|
|
5461
|
+
mandatoryNote: "Registration is mandatory for all travellers and only takes a few minutes.",
|
|
5462
|
+
finalReminderTagline: "",
|
|
5463
|
+
consequencesNote: "",
|
|
5464
|
+
disregardIfCompleted: "",
|
|
5465
|
+
closingThanks: "See you soon,"
|
|
5466
|
+
},
|
|
5467
|
+
d_minus_15: {
|
|
5468
|
+
subject: "Registration still pending for your upcoming adventure",
|
|
5469
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} is getting closer, and your registration is still incomplete.`,
|
|
5470
|
+
contextNote: "Please complete your registration to help us finalise logistics and operational details before departure.",
|
|
5471
|
+
mandatoryNote: "Registration is required before departure and helps us prepare accommodation, transfers, safety information, and local operations.",
|
|
5472
|
+
finalReminderTagline: "",
|
|
5473
|
+
consequencesNote: "",
|
|
5474
|
+
disregardIfCompleted: "",
|
|
5475
|
+
closingThanks: ""
|
|
5476
|
+
},
|
|
5477
|
+
d_minus_7: {
|
|
5478
|
+
subject: "Action required: complete your registration before departure",
|
|
5479
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} begins in one week, and your registration is still incomplete.`,
|
|
5480
|
+
contextNote: "Please complete your registration as soon as possible.",
|
|
5481
|
+
mandatoryNote: "Registration is mandatory for participation in the adventure.",
|
|
5482
|
+
finalReminderTagline: "",
|
|
5483
|
+
consequencesNote: "",
|
|
5484
|
+
disregardIfCompleted: "",
|
|
5485
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5486
|
+
},
|
|
5487
|
+
d_minus_2: {
|
|
5488
|
+
subject: "\u{1F6A8} Final reminder: registration required before departure",
|
|
5489
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} starts in 2 days, and your registration is still incomplete.`,
|
|
5490
|
+
contextNote: "",
|
|
5491
|
+
finalReminderTagline: "This is a final reminder.",
|
|
5492
|
+
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.",
|
|
5493
|
+
mandatoryNote: "",
|
|
5494
|
+
disregardIfCompleted: "If you have already completed your registration, please disregard this email.",
|
|
5495
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
};
|
|
5499
|
+
function hasText2(s) {
|
|
5500
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5501
|
+
}
|
|
5502
|
+
function RegistrationReminderIndividualEmail({
|
|
5503
|
+
slug,
|
|
5504
|
+
recipientFirstName,
|
|
5505
|
+
travellerFirstName,
|
|
5506
|
+
leadTravellerName,
|
|
5507
|
+
leadTravellerFirstName,
|
|
5508
|
+
bookingNumber,
|
|
5509
|
+
adventureName,
|
|
5510
|
+
startDateFormatted,
|
|
5511
|
+
partnerName,
|
|
5512
|
+
ctaUrl,
|
|
5513
|
+
route,
|
|
5514
|
+
agent,
|
|
5515
|
+
logoUrl,
|
|
5516
|
+
labels,
|
|
5517
|
+
className
|
|
5518
|
+
}) {
|
|
5519
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5520
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
|
|
5521
|
+
variants: {
|
|
5522
|
+
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 : {}),
|
|
5523
|
+
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 : {}),
|
|
5524
|
+
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 : {}),
|
|
5525
|
+
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 : {})
|
|
5526
|
+
}
|
|
5527
|
+
});
|
|
5528
|
+
const v = l.variants[slug];
|
|
5529
|
+
const ctaStyle = {
|
|
5530
|
+
display: "inline-block",
|
|
5531
|
+
backgroundColor: emailTokens.primary,
|
|
5532
|
+
color: emailTokens.primaryForeground,
|
|
5533
|
+
padding: "12px 24px",
|
|
5534
|
+
borderRadius: "8px",
|
|
5535
|
+
fontSize: "14px",
|
|
5536
|
+
fontWeight: 700,
|
|
5537
|
+
textDecoration: "none",
|
|
5538
|
+
fontFamily: emailTokens.fontFamily
|
|
5539
|
+
};
|
|
5540
|
+
const tripRows = [
|
|
5541
|
+
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
5542
|
+
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
5543
|
+
{ label: l.adventureLabel, value: adventureName },
|
|
5544
|
+
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
5545
|
+
...hasText2(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
5546
|
+
];
|
|
5547
|
+
const sectionDivider = /* @__PURE__ */ jsx(
|
|
5548
|
+
"hr",
|
|
5549
|
+
{
|
|
5550
|
+
style: {
|
|
5551
|
+
border: "none",
|
|
5552
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5553
|
+
marginTop: 0,
|
|
5554
|
+
marginBottom: "24px"
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
);
|
|
5558
|
+
const introText = v.intro(travellerFirstName, leadTravellerFirstName, adventureName);
|
|
5559
|
+
const routingNote = route === "underage_to_booker" ? l.routingNoteUnderage(travellerFirstName, leadTravellerFirstName) : route === "no_email_fallback" ? l.routingNoteNoEmail(travellerFirstName) : null;
|
|
5560
|
+
return /* @__PURE__ */ jsxs(
|
|
5561
|
+
"div",
|
|
5562
|
+
{
|
|
5563
|
+
style: {
|
|
5564
|
+
maxWidth: "576px",
|
|
5565
|
+
margin: "0 auto",
|
|
5566
|
+
backgroundColor: emailTokens.white,
|
|
5567
|
+
color: emailTokens.foreground,
|
|
5568
|
+
fontFamily: emailTokens.fontFamily,
|
|
5569
|
+
fontSize: "16px",
|
|
5570
|
+
lineHeight: "1.6",
|
|
5571
|
+
border: `1px solid ${emailTokens.border}`,
|
|
5572
|
+
borderRadius: "12px",
|
|
5573
|
+
overflow: "hidden",
|
|
5574
|
+
padding: "32px"
|
|
5575
|
+
},
|
|
5576
|
+
className,
|
|
5577
|
+
children: [
|
|
5578
|
+
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
5579
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
5580
|
+
hasText2(routingNote) && /* @__PURE__ */ jsx(
|
|
5581
|
+
"p",
|
|
5582
|
+
{
|
|
5583
|
+
style: {
|
|
5584
|
+
marginBottom: "16px",
|
|
5585
|
+
padding: "10px 14px",
|
|
5586
|
+
borderRadius: "8px",
|
|
5587
|
+
backgroundColor: emailTokens.muted,
|
|
5588
|
+
color: emailTokens.bodyText,
|
|
5589
|
+
fontSize: "14px"
|
|
5590
|
+
},
|
|
5591
|
+
children: routingNote
|
|
5592
|
+
}
|
|
5593
|
+
),
|
|
5594
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
5595
|
+
hasText2(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
5596
|
+
slug === "d_minus_2" && (hasText2(v.finalReminderTagline) || hasText2(v.consequencesNote)) && /* @__PURE__ */ jsxs(
|
|
5597
|
+
"div",
|
|
5598
|
+
{
|
|
5599
|
+
style: {
|
|
5600
|
+
marginBottom: "20px",
|
|
5601
|
+
padding: "12px 16px",
|
|
5602
|
+
borderRadius: "8px",
|
|
5603
|
+
backgroundColor: "#fef2f2",
|
|
5604
|
+
border: "1px solid #fecaca",
|
|
5605
|
+
color: "#7f1d1d"
|
|
5606
|
+
},
|
|
5607
|
+
children: [
|
|
5608
|
+
hasText2(v.finalReminderTagline) && /* @__PURE__ */ jsx(
|
|
5609
|
+
"p",
|
|
5610
|
+
{
|
|
5611
|
+
style: {
|
|
5612
|
+
margin: 0,
|
|
5613
|
+
marginBottom: hasText2(v.consequencesNote) ? "8px" : 0,
|
|
5614
|
+
fontWeight: 700
|
|
5615
|
+
},
|
|
5616
|
+
children: v.finalReminderTagline
|
|
5617
|
+
}
|
|
5618
|
+
),
|
|
5619
|
+
hasText2(v.consequencesNote) && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
5620
|
+
]
|
|
5621
|
+
}
|
|
5622
|
+
),
|
|
5623
|
+
/* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
5624
|
+
slug === "d_minus_7" && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsx(
|
|
5625
|
+
"p",
|
|
5626
|
+
{
|
|
5627
|
+
style: {
|
|
5628
|
+
marginBottom: "20px",
|
|
5629
|
+
padding: "12px 16px",
|
|
5630
|
+
borderRadius: "8px",
|
|
5631
|
+
backgroundColor: "#fef3c7",
|
|
5632
|
+
color: "#78350f",
|
|
5633
|
+
fontWeight: 600
|
|
5634
|
+
},
|
|
5635
|
+
children: v.mandatoryNote
|
|
5636
|
+
}
|
|
5637
|
+
),
|
|
5638
|
+
sectionDivider,
|
|
5639
|
+
/* @__PURE__ */ jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
5640
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
5641
|
+
slug === "d_minus_2" && hasText2(v.disregardIfCompleted) && /* @__PURE__ */ jsx(
|
|
5642
|
+
"p",
|
|
5643
|
+
{
|
|
5644
|
+
style: {
|
|
5645
|
+
marginBottom: "16px",
|
|
5646
|
+
color: emailTokens.mutedForeground,
|
|
5647
|
+
fontSize: "13px",
|
|
5648
|
+
fontStyle: "italic"
|
|
5649
|
+
},
|
|
5650
|
+
children: v.disregardIfCompleted
|
|
5651
|
+
}
|
|
5652
|
+
),
|
|
5653
|
+
sectionDivider,
|
|
5654
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
5655
|
+
whatsappUrl: agent.whatsappUrl,
|
|
5656
|
+
email: agent.email
|
|
5657
|
+
}) : l.closingNoAgent }),
|
|
5658
|
+
hasText2(v.closingThanks) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
5659
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
5660
|
+
]
|
|
5661
|
+
}
|
|
5662
|
+
);
|
|
5663
|
+
}
|
|
5664
|
+
var DEFAULT_LABELS7 = {
|
|
5418
5665
|
logoAlt: "PlanetaEXO",
|
|
5419
5666
|
greeting: (name) => `Hi ${name},`,
|
|
5420
5667
|
receiptHeading: "Payment receipt",
|
|
@@ -5453,7 +5700,7 @@ function PaymentReceiptEmail({
|
|
|
5453
5700
|
labels,
|
|
5454
5701
|
className
|
|
5455
5702
|
}) {
|
|
5456
|
-
const l = __spreadValues(__spreadValues({},
|
|
5703
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
|
|
5457
5704
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
5458
5705
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
5459
5706
|
const receiptRows = [
|
|
@@ -5528,24 +5775,24 @@ function PaymentReceiptEmail({
|
|
|
5528
5775
|
}
|
|
5529
5776
|
);
|
|
5530
5777
|
}
|
|
5531
|
-
var
|
|
5778
|
+
var INLINE_LINK_STYLE3 = {
|
|
5532
5779
|
color: emailTokens.primary,
|
|
5533
5780
|
textDecoration: "underline"
|
|
5534
5781
|
};
|
|
5535
|
-
function
|
|
5782
|
+
function renderWhatsappLink3(contact, label) {
|
|
5536
5783
|
if (contact.whatsappUrl) {
|
|
5537
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
5784
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
5538
5785
|
}
|
|
5539
5786
|
return label;
|
|
5540
5787
|
}
|
|
5541
|
-
function
|
|
5788
|
+
function renderEmailLink3(contact, label) {
|
|
5542
5789
|
if (contact.email) {
|
|
5543
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
5790
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
5544
5791
|
}
|
|
5545
5792
|
return label;
|
|
5546
5793
|
}
|
|
5547
5794
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
5548
|
-
var
|
|
5795
|
+
var DEFAULT_LABELS8 = {
|
|
5549
5796
|
logoAlt: "PlanetaEXO",
|
|
5550
5797
|
greeting: (name) => `Hi ${name},`,
|
|
5551
5798
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -5560,9 +5807,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5560
5807
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
5561
5808
|
agentName,
|
|
5562
5809
|
" via ",
|
|
5563
|
-
|
|
5810
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5564
5811
|
" or ",
|
|
5565
|
-
|
|
5812
|
+
renderEmailLink3(contact, "email"),
|
|
5566
5813
|
"."
|
|
5567
5814
|
] }),
|
|
5568
5815
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -5606,9 +5853,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5606
5853
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
5607
5854
|
agentName,
|
|
5608
5855
|
" via ",
|
|
5609
|
-
|
|
5856
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5610
5857
|
" or ",
|
|
5611
|
-
|
|
5858
|
+
renderEmailLink3(contact, "email"),
|
|
5612
5859
|
". We'll be happy to assist."
|
|
5613
5860
|
] })
|
|
5614
5861
|
}
|
|
@@ -5632,7 +5879,7 @@ function PaymentReminderEmail({
|
|
|
5632
5879
|
}) {
|
|
5633
5880
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
5634
5881
|
const lOverride = labels != null ? labels : {};
|
|
5635
|
-
const variantDefaults =
|
|
5882
|
+
const variantDefaults = DEFAULT_LABELS8.variants[variant];
|
|
5636
5883
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
5637
5884
|
const variantLabels = {
|
|
5638
5885
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -5642,19 +5889,19 @@ function PaymentReminderEmail({
|
|
|
5642
5889
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
5643
5890
|
};
|
|
5644
5891
|
const l = {
|
|
5645
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
5646
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
5647
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
5648
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
5649
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
5650
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
5651
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
5652
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
5653
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
5654
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
5655
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
5656
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
5657
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
5892
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS8.logoAlt,
|
|
5893
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS8.greeting,
|
|
5894
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS8.intermediateHello,
|
|
5895
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS8.bookingSummaryHeader,
|
|
5896
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS8.amountAlreadyPaidLabel,
|
|
5897
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS8.remainingBalanceDueLabel,
|
|
5898
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS8.totalBookingAmountLabel,
|
|
5899
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS8.paymentDetailsHeading,
|
|
5900
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS8.ctaLabel,
|
|
5901
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS8.teamSignature,
|
|
5902
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS8.closingAgent,
|
|
5903
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS8.closingNoAgent,
|
|
5904
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
5658
5905
|
};
|
|
5659
5906
|
const ctaStyle = {
|
|
5660
5907
|
display: "inline-block",
|
|
@@ -6481,7 +6728,7 @@ function BookingForm({
|
|
|
6481
6728
|
}
|
|
6482
6729
|
);
|
|
6483
6730
|
}
|
|
6484
|
-
var
|
|
6731
|
+
var DEFAULT_LABELS9 = {
|
|
6485
6732
|
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.",
|
|
6486
6733
|
detailsSectionTitle: "Your details",
|
|
6487
6734
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -7146,7 +7393,7 @@ function RegistrationForm({
|
|
|
7146
7393
|
}) {
|
|
7147
7394
|
var _a;
|
|
7148
7395
|
const L = React25.useMemo(
|
|
7149
|
-
() => __spreadValues(__spreadValues({},
|
|
7396
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels != null ? labels : {}),
|
|
7150
7397
|
[labels]
|
|
7151
7398
|
);
|
|
7152
7399
|
const sortedFields = React25.useMemo(
|
|
@@ -11744,6 +11991,6 @@ function LeadCapturePopup({
|
|
|
11744
11991
|
);
|
|
11745
11992
|
}
|
|
11746
11993
|
|
|
11747
|
-
export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
|
11994
|
+
export { ActivityCard, AgentContactCard, Alert, BirthDateField, BookingAdventureCard, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CounterField, CountrySearchField, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FilterPanel, FloatingInput, FloatingSelect, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, OTPCodeInput, Offer, OfferAdventureCard, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SiteHeader, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, buttonVariants, cn, emailTokens, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, wrapEmailHtml };
|
|
11748
11995
|
//# sourceMappingURL=index.js.map
|
|
11749
11996
|
//# sourceMappingURL=index.js.map
|