@planetaexo/design-system 0.29.0 → 0.30.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 +40 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -2
- package/dist/index.d.ts +23 -2
- package/dist/index.js +40 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1113,6 +1113,17 @@ interface RegistrationReminderAdventureBlock {
|
|
|
1113
1113
|
/** Cor do trilho de fundo (hex). */
|
|
1114
1114
|
railHex?: string;
|
|
1115
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* URLs/dados de contato do agente para renderizar `WhatsApp` e `email`
|
|
1118
|
+
* como hyperlinks inline no closing. Quando uma URL é `undefined`, a palavra
|
|
1119
|
+
* correspondente cai em plain text (mesmo padrão do `PaymentReminderEmail`).
|
|
1120
|
+
*/
|
|
1121
|
+
interface RegistrationReminderAgentContactLinks {
|
|
1122
|
+
/** URL completa do WhatsApp (ex.: "https://wa.me/5511987654321"). */
|
|
1123
|
+
whatsappUrl?: string;
|
|
1124
|
+
/** E-mail do agente (renderizado como `mailto:`). */
|
|
1125
|
+
email?: string;
|
|
1126
|
+
}
|
|
1116
1127
|
interface RegistrationReminderEmailVariantLabels {
|
|
1117
1128
|
/** Subject literal do email (EN 1:1 com o briefing). */
|
|
1118
1129
|
subject?: string;
|
|
@@ -1159,7 +1170,17 @@ interface RegistrationReminderEmailLabels {
|
|
|
1159
1170
|
startsLabel?: string;
|
|
1160
1171
|
completedFractionLabel?: (completed: number, total: number) => string;
|
|
1161
1172
|
ctaLabel?: string;
|
|
1162
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Closing principal quando há agente. Recebe nome + URLs de contato e
|
|
1175
|
+
* retorna JSX com WhatsApp/email como hyperlinks inline na frase
|
|
1176
|
+
* (paridade visual com `PaymentReminderEmail.closingAgent`).
|
|
1177
|
+
* Quando URLs ausentes, as palavras "WhatsApp" e "email" caem em plain text.
|
|
1178
|
+
*/
|
|
1179
|
+
closingAgent?: (agentName: string, contact: RegistrationReminderAgentContactLinks) => React.ReactNode;
|
|
1180
|
+
/**
|
|
1181
|
+
* Closing alternativo quando o booking não tem agente atribuído.
|
|
1182
|
+
* Texto plano sem hyperlinks — paridade com `PaymentReminderEmail.closingNoAgent`.
|
|
1183
|
+
*/
|
|
1163
1184
|
closingNoAgent?: string;
|
|
1164
1185
|
teamSignature?: string;
|
|
1165
1186
|
variants?: {
|
|
@@ -2804,4 +2825,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2804
2825
|
config: LeadCapturePopupConfig;
|
|
2805
2826
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2806
2827
|
|
|
2807
|
-
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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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, 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 };
|
|
2828
|
+
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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1113,6 +1113,17 @@ interface RegistrationReminderAdventureBlock {
|
|
|
1113
1113
|
/** Cor do trilho de fundo (hex). */
|
|
1114
1114
|
railHex?: string;
|
|
1115
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* URLs/dados de contato do agente para renderizar `WhatsApp` e `email`
|
|
1118
|
+
* como hyperlinks inline no closing. Quando uma URL é `undefined`, a palavra
|
|
1119
|
+
* correspondente cai em plain text (mesmo padrão do `PaymentReminderEmail`).
|
|
1120
|
+
*/
|
|
1121
|
+
interface RegistrationReminderAgentContactLinks {
|
|
1122
|
+
/** URL completa do WhatsApp (ex.: "https://wa.me/5511987654321"). */
|
|
1123
|
+
whatsappUrl?: string;
|
|
1124
|
+
/** E-mail do agente (renderizado como `mailto:`). */
|
|
1125
|
+
email?: string;
|
|
1126
|
+
}
|
|
1116
1127
|
interface RegistrationReminderEmailVariantLabels {
|
|
1117
1128
|
/** Subject literal do email (EN 1:1 com o briefing). */
|
|
1118
1129
|
subject?: string;
|
|
@@ -1159,7 +1170,17 @@ interface RegistrationReminderEmailLabels {
|
|
|
1159
1170
|
startsLabel?: string;
|
|
1160
1171
|
completedFractionLabel?: (completed: number, total: number) => string;
|
|
1161
1172
|
ctaLabel?: string;
|
|
1162
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Closing principal quando há agente. Recebe nome + URLs de contato e
|
|
1175
|
+
* retorna JSX com WhatsApp/email como hyperlinks inline na frase
|
|
1176
|
+
* (paridade visual com `PaymentReminderEmail.closingAgent`).
|
|
1177
|
+
* Quando URLs ausentes, as palavras "WhatsApp" e "email" caem em plain text.
|
|
1178
|
+
*/
|
|
1179
|
+
closingAgent?: (agentName: string, contact: RegistrationReminderAgentContactLinks) => React.ReactNode;
|
|
1180
|
+
/**
|
|
1181
|
+
* Closing alternativo quando o booking não tem agente atribuído.
|
|
1182
|
+
* Texto plano sem hyperlinks — paridade com `PaymentReminderEmail.closingNoAgent`.
|
|
1183
|
+
*/
|
|
1163
1184
|
closingNoAgent?: string;
|
|
1164
1185
|
teamSignature?: string;
|
|
1165
1186
|
variants?: {
|
|
@@ -2804,4 +2825,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2804
2825
|
config: LeadCapturePopupConfig;
|
|
2805
2826
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2806
2827
|
|
|
2807
|
-
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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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, 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 };
|
|
2828
|
+
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, BookingConfirmation, BookingConfirmationEmail, type BookingConfirmationEmailLabels, type BookingConfirmationEmailProps, type BookingConfirmationLabels, type BookingConfirmationProps, BookingConfirmedCard, type BookingConfirmedCardProps, type BookingContact, type BookingDepositInfo, BookingDetails, type BookingDetailsLabels, type BookingDetailsProps, BookingForm, type BookingFormProps, type BookingFormValues, BookingOtpEmail, type BookingOtpEmailProps, 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 };
|
package/dist/index.js
CHANGED
|
@@ -5006,6 +5006,22 @@ function RegistrationProgressBar({
|
|
|
5006
5006
|
}
|
|
5007
5007
|
) });
|
|
5008
5008
|
}
|
|
5009
|
+
var INLINE_LINK_STYLE = {
|
|
5010
|
+
color: emailTokens.primary,
|
|
5011
|
+
textDecoration: "underline"
|
|
5012
|
+
};
|
|
5013
|
+
function renderWhatsappLink(contact, label) {
|
|
5014
|
+
if (contact.whatsappUrl) {
|
|
5015
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE, children: label });
|
|
5016
|
+
}
|
|
5017
|
+
return label;
|
|
5018
|
+
}
|
|
5019
|
+
function renderEmailLink(contact, label) {
|
|
5020
|
+
if (contact.email) {
|
|
5021
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE, children: label });
|
|
5022
|
+
}
|
|
5023
|
+
return label;
|
|
5024
|
+
}
|
|
5009
5025
|
var DEFAULT_LABELS5 = {
|
|
5010
5026
|
logoAlt: "PlanetaEXO",
|
|
5011
5027
|
greeting: (n) => `Hi ${n},`,
|
|
@@ -5021,7 +5037,15 @@ var DEFAULT_LABELS5 = {
|
|
|
5021
5037
|
startsLabel: "Starts",
|
|
5022
5038
|
completedFractionLabel: (c, total) => `Completed: ${c} / ${total} travellers`,
|
|
5023
5039
|
ctaLabel: "View Booking & Registrations",
|
|
5024
|
-
closingAgent: (
|
|
5040
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5041
|
+
"If you need any assistance with the traveller registrations, feel free to contact your agent ",
|
|
5042
|
+
agentName,
|
|
5043
|
+
" via ",
|
|
5044
|
+
renderWhatsappLink(contact, "WhatsApp"),
|
|
5045
|
+
" or ",
|
|
5046
|
+
renderEmailLink(contact, "email"),
|
|
5047
|
+
"."
|
|
5048
|
+
] }),
|
|
5025
5049
|
closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
|
|
5026
5050
|
teamSignature: "The PlanetaEXO Team",
|
|
5027
5051
|
variants: {
|
|
@@ -5293,12 +5317,10 @@ function RegistrationReminderEmail({
|
|
|
5293
5317
|
),
|
|
5294
5318
|
showMultiTraveller && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.multiTravellerNote }),
|
|
5295
5319
|
/* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
5296
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontWeight: 700, color: emailTokens.
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
agent.email && /* @__PURE__ */ jsx("a", { href: `mailto:${agent.email}`, style: { color: emailTokens.primary, textDecoration: "none" }, children: agent.email })
|
|
5301
|
-
] }),
|
|
5320
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
5321
|
+
whatsappUrl: agent.whatsappUrl,
|
|
5322
|
+
email: agent.email
|
|
5323
|
+
}) : l.closingNoAgent }),
|
|
5302
5324
|
showDisregard && /* @__PURE__ */ jsx(
|
|
5303
5325
|
"p",
|
|
5304
5326
|
{
|
|
@@ -5311,8 +5333,8 @@ function RegistrationReminderEmail({
|
|
|
5311
5333
|
children: v.disregardIfCompleted
|
|
5312
5334
|
}
|
|
5313
5335
|
),
|
|
5314
|
-
showClosingThanks && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.closingThanks }),
|
|
5315
|
-
/* @__PURE__ */ jsx("p", { style: { marginBottom: 0, color: emailTokens.
|
|
5336
|
+
showClosingThanks && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
5337
|
+
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
5316
5338
|
]
|
|
5317
5339
|
}
|
|
5318
5340
|
);
|
|
@@ -5452,19 +5474,19 @@ function PaymentReceiptEmail({
|
|
|
5452
5474
|
}
|
|
5453
5475
|
);
|
|
5454
5476
|
}
|
|
5455
|
-
var
|
|
5477
|
+
var INLINE_LINK_STYLE2 = {
|
|
5456
5478
|
color: emailTokens.primary,
|
|
5457
5479
|
textDecoration: "underline"
|
|
5458
5480
|
};
|
|
5459
|
-
function
|
|
5481
|
+
function renderWhatsappLink2(contact, label) {
|
|
5460
5482
|
if (contact.whatsappUrl) {
|
|
5461
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
5483
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5462
5484
|
}
|
|
5463
5485
|
return label;
|
|
5464
5486
|
}
|
|
5465
|
-
function
|
|
5487
|
+
function renderEmailLink2(contact, label) {
|
|
5466
5488
|
if (contact.email) {
|
|
5467
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
5489
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5468
5490
|
}
|
|
5469
5491
|
return label;
|
|
5470
5492
|
}
|
|
@@ -5484,9 +5506,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5484
5506
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
5485
5507
|
agentName,
|
|
5486
5508
|
" via ",
|
|
5487
|
-
|
|
5509
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5488
5510
|
" or ",
|
|
5489
|
-
|
|
5511
|
+
renderEmailLink2(contact, "email"),
|
|
5490
5512
|
"."
|
|
5491
5513
|
] }),
|
|
5492
5514
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -5530,9 +5552,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5530
5552
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
5531
5553
|
agentName,
|
|
5532
5554
|
" via ",
|
|
5533
|
-
|
|
5555
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5534
5556
|
" or ",
|
|
5535
|
-
|
|
5557
|
+
renderEmailLink2(contact, "email"),
|
|
5536
5558
|
". We'll be happy to assist."
|
|
5537
5559
|
] })
|
|
5538
5560
|
}
|