@planetaexo/design-system 0.39.0 → 0.41.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 +272 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -2
- package/dist/index.d.ts +59 -2
- package/dist/index.js +272 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1363,6 +1363,8 @@ interface PartnerConfirmationEmailExpectationRow {
|
|
|
1363
1363
|
interface PartnerConfirmationEmailProps {
|
|
1364
1364
|
scenario: "all_done" | "d_minus_7";
|
|
1365
1365
|
locale: "en" | "pt" | "fr" | "de";
|
|
1366
|
+
/** Aviso de topo opcional (banner âmbar). Texto já localizado pelo backend. */
|
|
1367
|
+
topNotice?: string | null;
|
|
1366
1368
|
partnerName: string;
|
|
1367
1369
|
bookingNumber: string;
|
|
1368
1370
|
adventureName: string;
|
|
@@ -1409,7 +1411,62 @@ interface PartnerConfirmationEmailLabels {
|
|
|
1409
1411
|
closingNoAgent?: string;
|
|
1410
1412
|
teamSignature?: string;
|
|
1411
1413
|
}
|
|
1412
|
-
declare function PartnerConfirmationEmail({ scenario, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
1414
|
+
declare function PartnerConfirmationEmail({ scenario, topNotice, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
1415
|
+
|
|
1416
|
+
interface PartnerBookingCreatedAgentContactLinks {
|
|
1417
|
+
whatsappUrl?: string;
|
|
1418
|
+
email?: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface PartnerBookingCreatedEmailProps {
|
|
1421
|
+
locale: "en" | "pt" | "fr" | "de";
|
|
1422
|
+
/** Aviso de topo opcional (banner âmbar). Texto já localizado pelo backend. */
|
|
1423
|
+
topNotice?: string | null;
|
|
1424
|
+
partnerName: string;
|
|
1425
|
+
bookingNumber: string;
|
|
1426
|
+
adventureName: string;
|
|
1427
|
+
/** Já formatado pelo backend (ex.: "12 May 2026 – 18 May 2026"). */
|
|
1428
|
+
dateRange: string;
|
|
1429
|
+
/** Viajantes DESTA aventura. */
|
|
1430
|
+
travellersCount: number;
|
|
1431
|
+
booker: {
|
|
1432
|
+
name: string;
|
|
1433
|
+
email?: string | null;
|
|
1434
|
+
phone?: string | null;
|
|
1435
|
+
};
|
|
1436
|
+
agent: {
|
|
1437
|
+
name: string;
|
|
1438
|
+
whatsappUrl?: string;
|
|
1439
|
+
email?: string;
|
|
1440
|
+
} | null;
|
|
1441
|
+
logoUrl?: string;
|
|
1442
|
+
labels?: PartnerBookingCreatedEmailLabels;
|
|
1443
|
+
className?: string;
|
|
1444
|
+
}
|
|
1445
|
+
interface PartnerBookingCreatedEmailLabels {
|
|
1446
|
+
logoAlt?: string;
|
|
1447
|
+
greeting?: (partnerName: string) => string;
|
|
1448
|
+
/** "You have a new booking for {adventure}." */
|
|
1449
|
+
intro?: (adventureName: string) => string;
|
|
1450
|
+
summaryHeading?: string;
|
|
1451
|
+
bookingNumberLabel?: string;
|
|
1452
|
+
adventureLabel?: string;
|
|
1453
|
+
datesLabel?: string;
|
|
1454
|
+
numberOfPeopleLabel?: string;
|
|
1455
|
+
bookerHeading?: string;
|
|
1456
|
+
bookerNameLabel?: string;
|
|
1457
|
+
bookerEmailLabel?: string;
|
|
1458
|
+
bookerPhoneLabel?: string;
|
|
1459
|
+
/** Aviso (linha 1) antes do closing — sempre visível. */
|
|
1460
|
+
registrationPendingNotice?: string;
|
|
1461
|
+
/** Aviso (linha 2, enfatizado) antes do closing — sempre visível. */
|
|
1462
|
+
mustReplyToConfirm?: string;
|
|
1463
|
+
/** Closing principal quando há agente. Recebe nome + URLs e retorna JSX. */
|
|
1464
|
+
closingAgent?: (agentName: string, contact: PartnerBookingCreatedAgentContactLinks) => React.ReactNode;
|
|
1465
|
+
/** Closing alternativo sem agente. */
|
|
1466
|
+
closingNoAgent?: string;
|
|
1467
|
+
teamSignature?: string;
|
|
1468
|
+
}
|
|
1469
|
+
declare function PartnerBookingCreatedEmail({ topNotice, partnerName, bookingNumber, adventureName, dateRange, travellersCount, booker, agent, logoUrl, labels, className, }: PartnerBookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
|
|
1413
1470
|
|
|
1414
1471
|
interface PaymentReceiptEmailLabels {
|
|
1415
1472
|
logoAlt?: string;
|
|
@@ -3121,4 +3178,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
3121
3178
|
config: LeadCapturePopupConfig;
|
|
3122
3179
|
}): react_jsx_runtime.JSX.Element | null;
|
|
3123
3180
|
|
|
3124
|
-
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, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, 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 };
|
|
3181
|
+
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, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, 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
|
@@ -1363,6 +1363,8 @@ interface PartnerConfirmationEmailExpectationRow {
|
|
|
1363
1363
|
interface PartnerConfirmationEmailProps {
|
|
1364
1364
|
scenario: "all_done" | "d_minus_7";
|
|
1365
1365
|
locale: "en" | "pt" | "fr" | "de";
|
|
1366
|
+
/** Aviso de topo opcional (banner âmbar). Texto já localizado pelo backend. */
|
|
1367
|
+
topNotice?: string | null;
|
|
1366
1368
|
partnerName: string;
|
|
1367
1369
|
bookingNumber: string;
|
|
1368
1370
|
adventureName: string;
|
|
@@ -1409,7 +1411,62 @@ interface PartnerConfirmationEmailLabels {
|
|
|
1409
1411
|
closingNoAgent?: string;
|
|
1410
1412
|
teamSignature?: string;
|
|
1411
1413
|
}
|
|
1412
|
-
declare function PartnerConfirmationEmail({ scenario, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
1414
|
+
declare function PartnerConfirmationEmail({ scenario, topNotice, partnerName, bookingNumber, adventureName, dateRange, travellersCount, expectations, pdfAttached, agent, logoUrl, labels, className, }: PartnerConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
1415
|
+
|
|
1416
|
+
interface PartnerBookingCreatedAgentContactLinks {
|
|
1417
|
+
whatsappUrl?: string;
|
|
1418
|
+
email?: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface PartnerBookingCreatedEmailProps {
|
|
1421
|
+
locale: "en" | "pt" | "fr" | "de";
|
|
1422
|
+
/** Aviso de topo opcional (banner âmbar). Texto já localizado pelo backend. */
|
|
1423
|
+
topNotice?: string | null;
|
|
1424
|
+
partnerName: string;
|
|
1425
|
+
bookingNumber: string;
|
|
1426
|
+
adventureName: string;
|
|
1427
|
+
/** Já formatado pelo backend (ex.: "12 May 2026 – 18 May 2026"). */
|
|
1428
|
+
dateRange: string;
|
|
1429
|
+
/** Viajantes DESTA aventura. */
|
|
1430
|
+
travellersCount: number;
|
|
1431
|
+
booker: {
|
|
1432
|
+
name: string;
|
|
1433
|
+
email?: string | null;
|
|
1434
|
+
phone?: string | null;
|
|
1435
|
+
};
|
|
1436
|
+
agent: {
|
|
1437
|
+
name: string;
|
|
1438
|
+
whatsappUrl?: string;
|
|
1439
|
+
email?: string;
|
|
1440
|
+
} | null;
|
|
1441
|
+
logoUrl?: string;
|
|
1442
|
+
labels?: PartnerBookingCreatedEmailLabels;
|
|
1443
|
+
className?: string;
|
|
1444
|
+
}
|
|
1445
|
+
interface PartnerBookingCreatedEmailLabels {
|
|
1446
|
+
logoAlt?: string;
|
|
1447
|
+
greeting?: (partnerName: string) => string;
|
|
1448
|
+
/** "You have a new booking for {adventure}." */
|
|
1449
|
+
intro?: (adventureName: string) => string;
|
|
1450
|
+
summaryHeading?: string;
|
|
1451
|
+
bookingNumberLabel?: string;
|
|
1452
|
+
adventureLabel?: string;
|
|
1453
|
+
datesLabel?: string;
|
|
1454
|
+
numberOfPeopleLabel?: string;
|
|
1455
|
+
bookerHeading?: string;
|
|
1456
|
+
bookerNameLabel?: string;
|
|
1457
|
+
bookerEmailLabel?: string;
|
|
1458
|
+
bookerPhoneLabel?: string;
|
|
1459
|
+
/** Aviso (linha 1) antes do closing — sempre visível. */
|
|
1460
|
+
registrationPendingNotice?: string;
|
|
1461
|
+
/** Aviso (linha 2, enfatizado) antes do closing — sempre visível. */
|
|
1462
|
+
mustReplyToConfirm?: string;
|
|
1463
|
+
/** Closing principal quando há agente. Recebe nome + URLs e retorna JSX. */
|
|
1464
|
+
closingAgent?: (agentName: string, contact: PartnerBookingCreatedAgentContactLinks) => React.ReactNode;
|
|
1465
|
+
/** Closing alternativo sem agente. */
|
|
1466
|
+
closingNoAgent?: string;
|
|
1467
|
+
teamSignature?: string;
|
|
1468
|
+
}
|
|
1469
|
+
declare function PartnerBookingCreatedEmail({ topNotice, partnerName, bookingNumber, adventureName, dateRange, travellersCount, booker, agent, logoUrl, labels, className, }: PartnerBookingCreatedEmailProps): react_jsx_runtime.JSX.Element;
|
|
1413
1470
|
|
|
1414
1471
|
interface PaymentReceiptEmailLabels {
|
|
1415
1472
|
logoAlt?: string;
|
|
@@ -3121,4 +3178,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
3121
3178
|
config: LeadCapturePopupConfig;
|
|
3122
3179
|
}): react_jsx_runtime.JSX.Element | null;
|
|
3123
3180
|
|
|
3124
|
-
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, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, 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 };
|
|
3181
|
+
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, type PartnerBookingCreatedAgentContactLinks, PartnerBookingCreatedEmail, type PartnerBookingCreatedEmailLabels, type PartnerBookingCreatedEmailProps, type PartnerConfirmationAgentContactLinks, PartnerConfirmationEmail, type PartnerConfirmationEmailExpectationRow, type PartnerConfirmationEmailLabels, type PartnerConfirmationEmailProps, 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
|
@@ -5832,6 +5832,7 @@ function hasText3(s) {
|
|
|
5832
5832
|
}
|
|
5833
5833
|
function PartnerConfirmationEmail({
|
|
5834
5834
|
scenario,
|
|
5835
|
+
topNotice,
|
|
5835
5836
|
partnerName,
|
|
5836
5837
|
bookingNumber,
|
|
5837
5838
|
adventureName,
|
|
@@ -5883,6 +5884,21 @@ function PartnerConfirmationEmail({
|
|
|
5883
5884
|
className,
|
|
5884
5885
|
children: [
|
|
5885
5886
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
5887
|
+
hasText3(topNotice) && /* @__PURE__ */ jsx(
|
|
5888
|
+
"div",
|
|
5889
|
+
{
|
|
5890
|
+
style: {
|
|
5891
|
+
padding: "12px 16px",
|
|
5892
|
+
borderRadius: 8,
|
|
5893
|
+
backgroundColor: "#fef3c7",
|
|
5894
|
+
color: "#78350f",
|
|
5895
|
+
fontWeight: 600,
|
|
5896
|
+
fontSize: "14px",
|
|
5897
|
+
marginBottom: "20px"
|
|
5898
|
+
},
|
|
5899
|
+
children: topNotice
|
|
5900
|
+
}
|
|
5901
|
+
),
|
|
5886
5902
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(partnerName) }),
|
|
5887
5903
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
5888
5904
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "24px", fontWeight: 600 }, children: l.travellersCountLine(travellersCount) }),
|
|
@@ -5956,7 +5972,235 @@ function PartnerConfirmationEmail({
|
|
|
5956
5972
|
}
|
|
5957
5973
|
);
|
|
5958
5974
|
}
|
|
5975
|
+
var INLINE_LINK_STYLE4 = {
|
|
5976
|
+
color: emailTokens.primary,
|
|
5977
|
+
textDecoration: "underline"
|
|
5978
|
+
};
|
|
5979
|
+
function renderWhatsappLink4(contact, label) {
|
|
5980
|
+
if (contact.whatsappUrl) {
|
|
5981
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
|
|
5982
|
+
}
|
|
5983
|
+
return label;
|
|
5984
|
+
}
|
|
5985
|
+
function renderEmailLink4(contact, label) {
|
|
5986
|
+
if (contact.email) {
|
|
5987
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
|
|
5988
|
+
}
|
|
5989
|
+
return label;
|
|
5990
|
+
}
|
|
5991
|
+
function hasText4(s) {
|
|
5992
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5993
|
+
}
|
|
5959
5994
|
var DEFAULT_LABELS8 = {
|
|
5995
|
+
logoAlt: "PlanetaEXO",
|
|
5996
|
+
greeting: (n) => `Hi ${n},`,
|
|
5997
|
+
intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
|
|
5998
|
+
summaryHeading: "\u{1F4DD} Booking Summary",
|
|
5999
|
+
bookingNumberLabel: "Booking Number",
|
|
6000
|
+
adventureLabel: "Adventure",
|
|
6001
|
+
datesLabel: "Dates",
|
|
6002
|
+
numberOfPeopleLabel: "Number of Travellers",
|
|
6003
|
+
bookerHeading: "Booking contact",
|
|
6004
|
+
bookerNameLabel: "Name",
|
|
6005
|
+
bookerEmailLabel: "Email",
|
|
6006
|
+
bookerPhoneLabel: "Phone",
|
|
6007
|
+
registrationPendingNotice: "The travellers' registration details will be sent to you as soon as all travellers have completed their forms.",
|
|
6008
|
+
mustReplyToConfirm: "Please reply to this email to confirm the booking.",
|
|
6009
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6010
|
+
"If you have any questions, your contact ",
|
|
6011
|
+
agentName,
|
|
6012
|
+
" is available via",
|
|
6013
|
+
" ",
|
|
6014
|
+
renderWhatsappLink4(contact, "WhatsApp"),
|
|
6015
|
+
" or ",
|
|
6016
|
+
renderEmailLink4(contact, "email"),
|
|
6017
|
+
"."
|
|
6018
|
+
] }),
|
|
6019
|
+
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
6020
|
+
teamSignature: "The PlanetaEXO Team"
|
|
6021
|
+
};
|
|
6022
|
+
function PartnerBookingCreatedEmail({
|
|
6023
|
+
topNotice,
|
|
6024
|
+
partnerName,
|
|
6025
|
+
bookingNumber,
|
|
6026
|
+
adventureName,
|
|
6027
|
+
dateRange,
|
|
6028
|
+
travellersCount,
|
|
6029
|
+
booker,
|
|
6030
|
+
agent,
|
|
6031
|
+
logoUrl,
|
|
6032
|
+
labels,
|
|
6033
|
+
className
|
|
6034
|
+
}) {
|
|
6035
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels);
|
|
6036
|
+
const summaryRows = [
|
|
6037
|
+
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6038
|
+
{ label: l.adventureLabel, value: adventureName },
|
|
6039
|
+
{ label: l.datesLabel, value: dateRange },
|
|
6040
|
+
{ label: l.numberOfPeopleLabel, value: travellersCount }
|
|
6041
|
+
];
|
|
6042
|
+
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6043
|
+
"hr",
|
|
6044
|
+
{
|
|
6045
|
+
style: {
|
|
6046
|
+
border: "none",
|
|
6047
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
6048
|
+
marginTop: 0,
|
|
6049
|
+
marginBottom: "24px"
|
|
6050
|
+
}
|
|
6051
|
+
}
|
|
6052
|
+
);
|
|
6053
|
+
const bookerRows = [
|
|
6054
|
+
{ label: l.bookerNameLabel, value: booker.name },
|
|
6055
|
+
...hasText4(booker.email) ? [
|
|
6056
|
+
{
|
|
6057
|
+
label: l.bookerEmailLabel,
|
|
6058
|
+
value: /* @__PURE__ */ jsx("a", { href: `mailto:${booker.email}`, style: INLINE_LINK_STYLE4, children: booker.email })
|
|
6059
|
+
}
|
|
6060
|
+
] : [],
|
|
6061
|
+
...hasText4(booker.phone) ? [{ label: l.bookerPhoneLabel, value: booker.phone }] : []
|
|
6062
|
+
];
|
|
6063
|
+
return /* @__PURE__ */ jsxs(
|
|
6064
|
+
"div",
|
|
6065
|
+
{
|
|
6066
|
+
style: {
|
|
6067
|
+
maxWidth: "576px",
|
|
6068
|
+
margin: "0 auto",
|
|
6069
|
+
backgroundColor: emailTokens.white,
|
|
6070
|
+
color: emailTokens.foreground,
|
|
6071
|
+
fontFamily: emailTokens.fontFamily,
|
|
6072
|
+
fontSize: "16px",
|
|
6073
|
+
lineHeight: "1.6",
|
|
6074
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6075
|
+
borderRadius: "12px",
|
|
6076
|
+
overflow: "hidden",
|
|
6077
|
+
padding: "32px"
|
|
6078
|
+
},
|
|
6079
|
+
className,
|
|
6080
|
+
children: [
|
|
6081
|
+
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6082
|
+
hasText4(topNotice) && /* @__PURE__ */ jsx(
|
|
6083
|
+
"div",
|
|
6084
|
+
{
|
|
6085
|
+
style: {
|
|
6086
|
+
padding: "12px 16px",
|
|
6087
|
+
borderRadius: 8,
|
|
6088
|
+
backgroundColor: "#fef3c7",
|
|
6089
|
+
color: "#78350f",
|
|
6090
|
+
fontWeight: 600,
|
|
6091
|
+
fontSize: "14px",
|
|
6092
|
+
marginBottom: "20px"
|
|
6093
|
+
},
|
|
6094
|
+
children: topNotice
|
|
6095
|
+
}
|
|
6096
|
+
),
|
|
6097
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(partnerName) }),
|
|
6098
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "24px" }, children: l.intro(adventureName) }),
|
|
6099
|
+
sectionDivider,
|
|
6100
|
+
/* @__PURE__ */ jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
|
|
6101
|
+
/* @__PURE__ */ jsx(
|
|
6102
|
+
"p",
|
|
6103
|
+
{
|
|
6104
|
+
style: {
|
|
6105
|
+
marginTop: 0,
|
|
6106
|
+
marginBottom: "20px",
|
|
6107
|
+
fontWeight: 700,
|
|
6108
|
+
color: emailTokens.foreground,
|
|
6109
|
+
fontSize: "18px",
|
|
6110
|
+
fontFamily: emailTokens.fontFamily
|
|
6111
|
+
},
|
|
6112
|
+
children: l.bookerHeading
|
|
6113
|
+
}
|
|
6114
|
+
),
|
|
6115
|
+
/* @__PURE__ */ jsx(
|
|
6116
|
+
"div",
|
|
6117
|
+
{
|
|
6118
|
+
style: {
|
|
6119
|
+
borderRadius: "12px",
|
|
6120
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6121
|
+
overflow: "hidden",
|
|
6122
|
+
marginBottom: "24px"
|
|
6123
|
+
},
|
|
6124
|
+
children: /* @__PURE__ */ jsx(
|
|
6125
|
+
"table",
|
|
6126
|
+
{
|
|
6127
|
+
style: {
|
|
6128
|
+
width: "100%",
|
|
6129
|
+
fontSize: "14px",
|
|
6130
|
+
borderCollapse: "collapse"
|
|
6131
|
+
},
|
|
6132
|
+
children: /* @__PURE__ */ jsx("tbody", { children: bookerRows.map((row, i) => {
|
|
6133
|
+
const isLastRow = i === bookerRows.length - 1;
|
|
6134
|
+
return /* @__PURE__ */ jsxs(
|
|
6135
|
+
"tr",
|
|
6136
|
+
{
|
|
6137
|
+
style: !isLastRow ? { borderBottom: `1px solid ${emailTokens.border}` } : {},
|
|
6138
|
+
children: [
|
|
6139
|
+
/* @__PURE__ */ jsx(
|
|
6140
|
+
"td",
|
|
6141
|
+
{
|
|
6142
|
+
style: {
|
|
6143
|
+
padding: "12px 20px",
|
|
6144
|
+
color: emailTokens.mutedForeground,
|
|
6145
|
+
backgroundColor: emailTokens.muted,
|
|
6146
|
+
verticalAlign: "top"
|
|
6147
|
+
},
|
|
6148
|
+
children: row.label
|
|
6149
|
+
}
|
|
6150
|
+
),
|
|
6151
|
+
/* @__PURE__ */ jsx(
|
|
6152
|
+
"td",
|
|
6153
|
+
{
|
|
6154
|
+
style: {
|
|
6155
|
+
padding: "12px 20px",
|
|
6156
|
+
fontWeight: 500,
|
|
6157
|
+
color: emailTokens.foreground,
|
|
6158
|
+
verticalAlign: "top"
|
|
6159
|
+
},
|
|
6160
|
+
children: row.value
|
|
6161
|
+
}
|
|
6162
|
+
)
|
|
6163
|
+
]
|
|
6164
|
+
},
|
|
6165
|
+
i
|
|
6166
|
+
);
|
|
6167
|
+
}) })
|
|
6168
|
+
}
|
|
6169
|
+
)
|
|
6170
|
+
}
|
|
6171
|
+
),
|
|
6172
|
+
sectionDivider,
|
|
6173
|
+
/* @__PURE__ */ jsxs(
|
|
6174
|
+
"div",
|
|
6175
|
+
{
|
|
6176
|
+
style: {
|
|
6177
|
+
padding: "16px 20px",
|
|
6178
|
+
borderRadius: 8,
|
|
6179
|
+
border: "2px solid #f59e0b",
|
|
6180
|
+
backgroundColor: "#fef3c7",
|
|
6181
|
+
color: "#78350f",
|
|
6182
|
+
fontSize: "14px",
|
|
6183
|
+
marginBottom: "16px"
|
|
6184
|
+
},
|
|
6185
|
+
children: [
|
|
6186
|
+
/* @__PURE__ */ jsx("p", { style: { margin: 0, marginBottom: "10px", lineHeight: 1.5 }, children: l.registrationPendingNotice }),
|
|
6187
|
+
/* @__PURE__ */ jsxs("p", { style: { margin: 0, fontWeight: 700, fontSize: "15px", lineHeight: 1.5 }, children: [
|
|
6188
|
+
"\u26A0\uFE0F ",
|
|
6189
|
+
l.mustReplyToConfirm
|
|
6190
|
+
] })
|
|
6191
|
+
]
|
|
6192
|
+
}
|
|
6193
|
+
),
|
|
6194
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
6195
|
+
whatsappUrl: agent.whatsappUrl,
|
|
6196
|
+
email: agent.email
|
|
6197
|
+
}) : l.closingNoAgent }),
|
|
6198
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
6199
|
+
]
|
|
6200
|
+
}
|
|
6201
|
+
);
|
|
6202
|
+
}
|
|
6203
|
+
var DEFAULT_LABELS9 = {
|
|
5960
6204
|
logoAlt: "PlanetaEXO",
|
|
5961
6205
|
greeting: (name) => `Hi ${name},`,
|
|
5962
6206
|
receiptHeading: "Payment receipt",
|
|
@@ -5995,7 +6239,7 @@ function PaymentReceiptEmail({
|
|
|
5995
6239
|
labels,
|
|
5996
6240
|
className
|
|
5997
6241
|
}) {
|
|
5998
|
-
const l = __spreadValues(__spreadValues({},
|
|
6242
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
|
|
5999
6243
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
6000
6244
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
6001
6245
|
const receiptRows = [
|
|
@@ -6070,24 +6314,24 @@ function PaymentReceiptEmail({
|
|
|
6070
6314
|
}
|
|
6071
6315
|
);
|
|
6072
6316
|
}
|
|
6073
|
-
var
|
|
6317
|
+
var INLINE_LINK_STYLE5 = {
|
|
6074
6318
|
color: emailTokens.primary,
|
|
6075
6319
|
textDecoration: "underline"
|
|
6076
6320
|
};
|
|
6077
|
-
function
|
|
6321
|
+
function renderWhatsappLink5(contact, label) {
|
|
6078
6322
|
if (contact.whatsappUrl) {
|
|
6079
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6323
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
|
|
6080
6324
|
}
|
|
6081
6325
|
return label;
|
|
6082
6326
|
}
|
|
6083
|
-
function
|
|
6327
|
+
function renderEmailLink5(contact, label) {
|
|
6084
6328
|
if (contact.email) {
|
|
6085
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6329
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
|
|
6086
6330
|
}
|
|
6087
6331
|
return label;
|
|
6088
6332
|
}
|
|
6089
6333
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
6090
|
-
var
|
|
6334
|
+
var DEFAULT_LABELS10 = {
|
|
6091
6335
|
logoAlt: "PlanetaEXO",
|
|
6092
6336
|
greeting: (name) => `Hi ${name},`,
|
|
6093
6337
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -6102,9 +6346,9 @@ var DEFAULT_LABELS9 = {
|
|
|
6102
6346
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
6103
6347
|
agentName,
|
|
6104
6348
|
" via ",
|
|
6105
|
-
|
|
6349
|
+
renderWhatsappLink5(contact, "WhatsApp"),
|
|
6106
6350
|
" or ",
|
|
6107
|
-
|
|
6351
|
+
renderEmailLink5(contact, "email"),
|
|
6108
6352
|
"."
|
|
6109
6353
|
] }),
|
|
6110
6354
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -6148,9 +6392,9 @@ var DEFAULT_LABELS9 = {
|
|
|
6148
6392
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
6149
6393
|
agentName,
|
|
6150
6394
|
" via ",
|
|
6151
|
-
|
|
6395
|
+
renderWhatsappLink5(contact, "WhatsApp"),
|
|
6152
6396
|
" or ",
|
|
6153
|
-
|
|
6397
|
+
renderEmailLink5(contact, "email"),
|
|
6154
6398
|
". We'll be happy to assist."
|
|
6155
6399
|
] })
|
|
6156
6400
|
}
|
|
@@ -6174,7 +6418,7 @@ function PaymentReminderEmail({
|
|
|
6174
6418
|
}) {
|
|
6175
6419
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
6176
6420
|
const lOverride = labels != null ? labels : {};
|
|
6177
|
-
const variantDefaults =
|
|
6421
|
+
const variantDefaults = DEFAULT_LABELS10.variants[variant];
|
|
6178
6422
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
6179
6423
|
const variantLabels = {
|
|
6180
6424
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -6184,19 +6428,19 @@ function PaymentReminderEmail({
|
|
|
6184
6428
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
6185
6429
|
};
|
|
6186
6430
|
const l = {
|
|
6187
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
6188
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
6189
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
6190
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
6191
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
6192
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
6193
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
6194
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
6195
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
6196
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
6197
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
6198
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
6199
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
6431
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS10.logoAlt,
|
|
6432
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS10.greeting,
|
|
6433
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS10.intermediateHello,
|
|
6434
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS10.bookingSummaryHeader,
|
|
6435
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS10.amountAlreadyPaidLabel,
|
|
6436
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS10.remainingBalanceDueLabel,
|
|
6437
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS10.totalBookingAmountLabel,
|
|
6438
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS10.paymentDetailsHeading,
|
|
6439
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS10.ctaLabel,
|
|
6440
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS10.teamSignature,
|
|
6441
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS10.closingAgent,
|
|
6442
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS10.closingNoAgent,
|
|
6443
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS10.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
6200
6444
|
};
|
|
6201
6445
|
const ctaStyle = {
|
|
6202
6446
|
display: "inline-block",
|
|
@@ -7023,7 +7267,7 @@ function BookingForm({
|
|
|
7023
7267
|
}
|
|
7024
7268
|
);
|
|
7025
7269
|
}
|
|
7026
|
-
var
|
|
7270
|
+
var DEFAULT_LABELS11 = {
|
|
7027
7271
|
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.",
|
|
7028
7272
|
detailsSectionTitle: "Your details",
|
|
7029
7273
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -7688,7 +7932,7 @@ function RegistrationForm({
|
|
|
7688
7932
|
}) {
|
|
7689
7933
|
var _a;
|
|
7690
7934
|
const L = React28.useMemo(
|
|
7691
|
-
() => __spreadValues(__spreadValues({},
|
|
7935
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels != null ? labels : {}),
|
|
7692
7936
|
[labels]
|
|
7693
7937
|
);
|
|
7694
7938
|
const sortedFields = React28.useMemo(
|
|
@@ -13512,6 +13756,6 @@ function LeadCapturePopup({
|
|
|
13512
13756
|
);
|
|
13513
13757
|
}
|
|
13514
13758
|
|
|
13515
|
-
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, PartnerConfirmationEmail, 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 };
|
|
13759
|
+
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, PartnerBookingCreatedEmail, PartnerConfirmationEmail, 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 };
|
|
13516
13760
|
//# sourceMappingURL=index.js.map
|
|
13517
13761
|
//# sourceMappingURL=index.js.map
|