@planetaexo/design-system 0.15.1 → 0.17.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 +189 -61
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -2
- package/dist/index.d.ts +87 -2
- package/dist/index.js +189 -62
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -676,11 +676,19 @@ interface BookingConfirmationLabels {
|
|
|
676
676
|
paidInFullLabel?: string;
|
|
677
677
|
footerMessage?: string;
|
|
678
678
|
footerContact?: (agent: string) => string;
|
|
679
|
+
/**
|
|
680
|
+
* Mensagem opcional renderizada antes do CTA quando `flow="manual"`. Usado
|
|
681
|
+
* para variantes de e-mail enviadas pelo agente manualmente (ex.: "You can
|
|
682
|
+
* access your booking at any time through the link below."). Default vazio.
|
|
683
|
+
*/
|
|
684
|
+
closingMessage?: string;
|
|
679
685
|
}
|
|
680
686
|
interface ConfirmationLineItem {
|
|
681
687
|
label: string;
|
|
682
688
|
price: string;
|
|
683
689
|
isDiscount?: boolean;
|
|
690
|
+
/** Tipo lógico do item (rate = tarifa adultos/crianças, optional = opcional, discount = desconto). Usado pelo mapper backend para distinguir agrupamentos. */
|
|
691
|
+
type?: "rate" | "optional" | "discount";
|
|
684
692
|
}
|
|
685
693
|
interface ConfirmationTraveller {
|
|
686
694
|
id: string;
|
|
@@ -690,11 +698,23 @@ interface ConfirmationTraveller {
|
|
|
690
698
|
}
|
|
691
699
|
interface ConfirmationAdventure {
|
|
692
700
|
id: string;
|
|
701
|
+
/** Texto do pill verde acima do título da aventura (legado: usado pelo mapper backend para fallbacks `partnerBookingRef`). */
|
|
693
702
|
reference?: string;
|
|
703
|
+
/** Código canônico da Aventura (Adventure.code do catálogo). Quando informado, tem prioridade sobre `reference` no pill verde. */
|
|
704
|
+
code?: string;
|
|
694
705
|
image: string;
|
|
695
706
|
imageAlt?: string;
|
|
696
707
|
title: string;
|
|
708
|
+
/**
|
|
709
|
+
* Slot reaproveitado para renderizar o nome do destino na linha bússola 🧭.
|
|
710
|
+
* Quando `destinationName` estiver presente, ele tem prioridade sobre `partner`
|
|
711
|
+
* (mapper backend popula via Adventure.adventureDestinations[].destination.name).
|
|
712
|
+
* Mantido para compat com chamadas antigas — não remover.
|
|
713
|
+
*/
|
|
697
714
|
partner?: string;
|
|
715
|
+
/** Nome do destino (Adventure.adventureDestinations[].destination.name). Quando presente, prioriza este valor sobre `partner` na linha 🧭. */
|
|
716
|
+
destinationName?: string;
|
|
717
|
+
/** Slot legado de endereço/localização (linha 📍). Quando ausente E `destinationName` presente, a linha 📍 some. Mantido em paralelo para compat backward. */
|
|
698
718
|
location?: string;
|
|
699
719
|
dateFrom: string;
|
|
700
720
|
dateTo: string;
|
|
@@ -738,8 +758,16 @@ interface BookingConfirmationProps {
|
|
|
738
758
|
labels?: Partial<BookingConfirmationLabels>;
|
|
739
759
|
/** className adicional no container */
|
|
740
760
|
className?: string;
|
|
761
|
+
/**
|
|
762
|
+
* Variante de fluxo de envio:
|
|
763
|
+
* - `"auto"` (default) — fluxo normal (greeting + confirmação + intro + CTA topo + nextSteps + booking + footer com agente).
|
|
764
|
+
* - `"manual"` — variante para reenvio manual pelo agente: oculta `nextSteps`,
|
|
765
|
+
* oculta CTA do topo, oculta `footerMessage`/`footerContact`, e renderiza
|
|
766
|
+
* `closingMessage` + CTA ao FINAL do corpo.
|
|
767
|
+
*/
|
|
768
|
+
flow?: "auto" | "manual";
|
|
741
769
|
}
|
|
742
|
-
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
770
|
+
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
743
771
|
|
|
744
772
|
interface BookingConfirmationEmailLabels {
|
|
745
773
|
ctaButton?: string;
|
|
@@ -804,6 +832,63 @@ interface BookingConfirmationEmailProps {
|
|
|
804
832
|
}
|
|
805
833
|
declare function BookingConfirmationEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
806
834
|
|
|
835
|
+
interface PaymentReceiptEmailLabels {
|
|
836
|
+
logoAlt?: string;
|
|
837
|
+
greeting?: (name: string) => string;
|
|
838
|
+
receiptHeading?: string;
|
|
839
|
+
bookingNumberLabel?: string;
|
|
840
|
+
paymentMethodLabel?: string;
|
|
841
|
+
paymentDateLabel?: string;
|
|
842
|
+
amountLabel?: string;
|
|
843
|
+
chargedAmountLabel?: string;
|
|
844
|
+
interestSurchargeLabel?: string;
|
|
845
|
+
statusLabel?: string;
|
|
846
|
+
travellersLabel?: string;
|
|
847
|
+
summaryHeading?: string;
|
|
848
|
+
totalOrderLabel?: string;
|
|
849
|
+
totalPaidLabel?: string;
|
|
850
|
+
remainingBalanceLabel?: string;
|
|
851
|
+
balanceDueDateLabel?: string;
|
|
852
|
+
paidInFullMessage?: string;
|
|
853
|
+
closingMessage?: string;
|
|
854
|
+
teamSignature?: string;
|
|
855
|
+
}
|
|
856
|
+
interface PaymentReceiptEmailProps {
|
|
857
|
+
/** Nome do destinatário (ex.: "Maria"). */
|
|
858
|
+
recipientName: string;
|
|
859
|
+
/** Número canônico da reserva (ex.: "12345"). */
|
|
860
|
+
bookingNumber: string;
|
|
861
|
+
/** Método amigável já localizado (ex.: "Cartão (Stripe)" / "PIX (Pagar.me)"). */
|
|
862
|
+
paymentMethodLabel: string;
|
|
863
|
+
/** Data formatada (ex.: "07/05/2026"). */
|
|
864
|
+
paymentDate: string;
|
|
865
|
+
/** Valor pago formatado (ex.: "R$ 1.234,56"). */
|
|
866
|
+
amount: string;
|
|
867
|
+
/** Valor cobrado quando há juros (ex.: "R$ 1.250,00"). Só renderiza linha quando definido. */
|
|
868
|
+
chargedAmount?: string;
|
|
869
|
+
/** Status legível (ex.: "Confirmado"). */
|
|
870
|
+
statusLabel: string;
|
|
871
|
+
/** Lista de nomes dos viajantes da reserva. */
|
|
872
|
+
travellers: string[];
|
|
873
|
+
/** Total da reserva formatado. */
|
|
874
|
+
totalOrderAmount: string;
|
|
875
|
+
/** Soma acumulada de pagamentos confirmados (após esta transação). */
|
|
876
|
+
totalPaidCumulative: string;
|
|
877
|
+
/** Saldo restante formatado. */
|
|
878
|
+
remainingBalance: string;
|
|
879
|
+
/** Data de vencimento do saldo (já formatada). Quando ausente, linha some. */
|
|
880
|
+
balanceDueDate?: string;
|
|
881
|
+
/** Sinal: "totalPaid >= total - epsilon". Quando true, exibe banner verde. */
|
|
882
|
+
isPaidInFull: boolean;
|
|
883
|
+
/** URL da logo. Default: data URI embutido no pacote (via EmailLogo). */
|
|
884
|
+
logoUrl?: string;
|
|
885
|
+
/** Optional label overrides for i18n. */
|
|
886
|
+
labels?: Partial<PaymentReceiptEmailLabels>;
|
|
887
|
+
/** className adicional no container. */
|
|
888
|
+
className?: string;
|
|
889
|
+
}
|
|
890
|
+
declare function PaymentReceiptEmail({ recipientName, bookingNumber, paymentMethodLabel, paymentDate, amount, chargedAmount, statusLabel, travellers, totalOrderAmount, totalPaidCumulative, remainingBalance, balanceDueDate, isPaidInFull, logoUrl, labels, className, }: PaymentReceiptEmailProps): react_jsx_runtime.JSX.Element;
|
|
891
|
+
|
|
807
892
|
interface BookingOtpEmailProps {
|
|
808
893
|
/** Saudação (ex.: "Hello!" / "Olá!"). */
|
|
809
894
|
greeting: string;
|
|
@@ -1946,4 +2031,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
1946
2031
|
config: LeadCapturePopupConfig;
|
|
1947
2032
|
}): react_jsx_runtime.JSX.Element | null;
|
|
1948
2033
|
|
|
1949
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, 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, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, 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, 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 OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, 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, 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, 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 TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
|
2034
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, 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, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, 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, 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 OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, 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, 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, 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 TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
package/dist/index.d.ts
CHANGED
|
@@ -676,11 +676,19 @@ interface BookingConfirmationLabels {
|
|
|
676
676
|
paidInFullLabel?: string;
|
|
677
677
|
footerMessage?: string;
|
|
678
678
|
footerContact?: (agent: string) => string;
|
|
679
|
+
/**
|
|
680
|
+
* Mensagem opcional renderizada antes do CTA quando `flow="manual"`. Usado
|
|
681
|
+
* para variantes de e-mail enviadas pelo agente manualmente (ex.: "You can
|
|
682
|
+
* access your booking at any time through the link below."). Default vazio.
|
|
683
|
+
*/
|
|
684
|
+
closingMessage?: string;
|
|
679
685
|
}
|
|
680
686
|
interface ConfirmationLineItem {
|
|
681
687
|
label: string;
|
|
682
688
|
price: string;
|
|
683
689
|
isDiscount?: boolean;
|
|
690
|
+
/** Tipo lógico do item (rate = tarifa adultos/crianças, optional = opcional, discount = desconto). Usado pelo mapper backend para distinguir agrupamentos. */
|
|
691
|
+
type?: "rate" | "optional" | "discount";
|
|
684
692
|
}
|
|
685
693
|
interface ConfirmationTraveller {
|
|
686
694
|
id: string;
|
|
@@ -690,11 +698,23 @@ interface ConfirmationTraveller {
|
|
|
690
698
|
}
|
|
691
699
|
interface ConfirmationAdventure {
|
|
692
700
|
id: string;
|
|
701
|
+
/** Texto do pill verde acima do título da aventura (legado: usado pelo mapper backend para fallbacks `partnerBookingRef`). */
|
|
693
702
|
reference?: string;
|
|
703
|
+
/** Código canônico da Aventura (Adventure.code do catálogo). Quando informado, tem prioridade sobre `reference` no pill verde. */
|
|
704
|
+
code?: string;
|
|
694
705
|
image: string;
|
|
695
706
|
imageAlt?: string;
|
|
696
707
|
title: string;
|
|
708
|
+
/**
|
|
709
|
+
* Slot reaproveitado para renderizar o nome do destino na linha bússola 🧭.
|
|
710
|
+
* Quando `destinationName` estiver presente, ele tem prioridade sobre `partner`
|
|
711
|
+
* (mapper backend popula via Adventure.adventureDestinations[].destination.name).
|
|
712
|
+
* Mantido para compat com chamadas antigas — não remover.
|
|
713
|
+
*/
|
|
697
714
|
partner?: string;
|
|
715
|
+
/** Nome do destino (Adventure.adventureDestinations[].destination.name). Quando presente, prioriza este valor sobre `partner` na linha 🧭. */
|
|
716
|
+
destinationName?: string;
|
|
717
|
+
/** Slot legado de endereço/localização (linha 📍). Quando ausente E `destinationName` presente, a linha 📍 some. Mantido em paralelo para compat backward. */
|
|
698
718
|
location?: string;
|
|
699
719
|
dateFrom: string;
|
|
700
720
|
dateTo: string;
|
|
@@ -738,8 +758,16 @@ interface BookingConfirmationProps {
|
|
|
738
758
|
labels?: Partial<BookingConfirmationLabels>;
|
|
739
759
|
/** className adicional no container */
|
|
740
760
|
className?: string;
|
|
761
|
+
/**
|
|
762
|
+
* Variante de fluxo de envio:
|
|
763
|
+
* - `"auto"` (default) — fluxo normal (greeting + confirmação + intro + CTA topo + nextSteps + booking + footer com agente).
|
|
764
|
+
* - `"manual"` — variante para reenvio manual pelo agente: oculta `nextSteps`,
|
|
765
|
+
* oculta CTA do topo, oculta `footerMessage`/`footerContact`, e renderiza
|
|
766
|
+
* `closingMessage` + CTA ao FINAL do corpo.
|
|
767
|
+
*/
|
|
768
|
+
flow?: "auto" | "manual";
|
|
741
769
|
}
|
|
742
|
-
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
770
|
+
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
743
771
|
|
|
744
772
|
interface BookingConfirmationEmailLabels {
|
|
745
773
|
ctaButton?: string;
|
|
@@ -804,6 +832,63 @@ interface BookingConfirmationEmailProps {
|
|
|
804
832
|
}
|
|
805
833
|
declare function BookingConfirmationEmail({ recipientName, addTravellersUrl, logoUrl, bookingNumber, activity, adventure, startingDate, numberOfPeople, host, labels, className, nextSteps, nextStepsImportant, directBookingLinkLabel, }: BookingConfirmationEmailProps): react_jsx_runtime.JSX.Element;
|
|
806
834
|
|
|
835
|
+
interface PaymentReceiptEmailLabels {
|
|
836
|
+
logoAlt?: string;
|
|
837
|
+
greeting?: (name: string) => string;
|
|
838
|
+
receiptHeading?: string;
|
|
839
|
+
bookingNumberLabel?: string;
|
|
840
|
+
paymentMethodLabel?: string;
|
|
841
|
+
paymentDateLabel?: string;
|
|
842
|
+
amountLabel?: string;
|
|
843
|
+
chargedAmountLabel?: string;
|
|
844
|
+
interestSurchargeLabel?: string;
|
|
845
|
+
statusLabel?: string;
|
|
846
|
+
travellersLabel?: string;
|
|
847
|
+
summaryHeading?: string;
|
|
848
|
+
totalOrderLabel?: string;
|
|
849
|
+
totalPaidLabel?: string;
|
|
850
|
+
remainingBalanceLabel?: string;
|
|
851
|
+
balanceDueDateLabel?: string;
|
|
852
|
+
paidInFullMessage?: string;
|
|
853
|
+
closingMessage?: string;
|
|
854
|
+
teamSignature?: string;
|
|
855
|
+
}
|
|
856
|
+
interface PaymentReceiptEmailProps {
|
|
857
|
+
/** Nome do destinatário (ex.: "Maria"). */
|
|
858
|
+
recipientName: string;
|
|
859
|
+
/** Número canônico da reserva (ex.: "12345"). */
|
|
860
|
+
bookingNumber: string;
|
|
861
|
+
/** Método amigável já localizado (ex.: "Cartão (Stripe)" / "PIX (Pagar.me)"). */
|
|
862
|
+
paymentMethodLabel: string;
|
|
863
|
+
/** Data formatada (ex.: "07/05/2026"). */
|
|
864
|
+
paymentDate: string;
|
|
865
|
+
/** Valor pago formatado (ex.: "R$ 1.234,56"). */
|
|
866
|
+
amount: string;
|
|
867
|
+
/** Valor cobrado quando há juros (ex.: "R$ 1.250,00"). Só renderiza linha quando definido. */
|
|
868
|
+
chargedAmount?: string;
|
|
869
|
+
/** Status legível (ex.: "Confirmado"). */
|
|
870
|
+
statusLabel: string;
|
|
871
|
+
/** Lista de nomes dos viajantes da reserva. */
|
|
872
|
+
travellers: string[];
|
|
873
|
+
/** Total da reserva formatado. */
|
|
874
|
+
totalOrderAmount: string;
|
|
875
|
+
/** Soma acumulada de pagamentos confirmados (após esta transação). */
|
|
876
|
+
totalPaidCumulative: string;
|
|
877
|
+
/** Saldo restante formatado. */
|
|
878
|
+
remainingBalance: string;
|
|
879
|
+
/** Data de vencimento do saldo (já formatada). Quando ausente, linha some. */
|
|
880
|
+
balanceDueDate?: string;
|
|
881
|
+
/** Sinal: "totalPaid >= total - epsilon". Quando true, exibe banner verde. */
|
|
882
|
+
isPaidInFull: boolean;
|
|
883
|
+
/** URL da logo. Default: data URI embutido no pacote (via EmailLogo). */
|
|
884
|
+
logoUrl?: string;
|
|
885
|
+
/** Optional label overrides for i18n. */
|
|
886
|
+
labels?: Partial<PaymentReceiptEmailLabels>;
|
|
887
|
+
/** className adicional no container. */
|
|
888
|
+
className?: string;
|
|
889
|
+
}
|
|
890
|
+
declare function PaymentReceiptEmail({ recipientName, bookingNumber, paymentMethodLabel, paymentDate, amount, chargedAmount, statusLabel, travellers, totalOrderAmount, totalPaidCumulative, remainingBalance, balanceDueDate, isPaidInFull, logoUrl, labels, className, }: PaymentReceiptEmailProps): react_jsx_runtime.JSX.Element;
|
|
891
|
+
|
|
807
892
|
interface BookingOtpEmailProps {
|
|
808
893
|
/** Saudação (ex.: "Hello!" / "Olá!"). */
|
|
809
894
|
greeting: string;
|
|
@@ -1946,4 +2031,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
1946
2031
|
config: LeadCapturePopupConfig;
|
|
1947
2032
|
}): react_jsx_runtime.JSX.Element | null;
|
|
1948
2033
|
|
|
1949
|
-
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, 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, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, 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, 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 OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, 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, 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, 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 TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|
|
2034
|
+
export { ActivityCard, type ActivityCardProps, type ActivityCardSize, AgentContactCard, type AgentContactCardProps, Alert, type AlertProps, type AlertVariant, BirthDateField, type BirthDateFieldProps, type BookingAdventure, 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, type BookingSummaryLineItem, type BookingTraveller, Button, type ButtonProps, COUNTRIES, type ConfirmationAdventure, type ConfirmationDepositInfo, type ConfirmationLineItem, type ConfirmationTraveller, CounterField, type CounterFieldProps, type CountryOption, CountrySearchField, type CountrySearchFieldProps, 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, 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 OfferDepositInfo, type OfferLabels, type OfferOptionalItem, type OfferProps, type OfferSummaryLineItem, PaymentAmountSelector, type PaymentAmountSelectorProps, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, PhoneCountrySelect, PhotoGallery, type PhotoGalleryPhoto, type PhotoGalleryProps, type PhotoGalleryVariant, type PricingOption, 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, 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, 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 TripItineraryStep, type TripMeetingPoint, TripPage, type TripPageProps, type TripPricingOption, type TripReview, buttonVariants, cn, emailTokens, getStripeAppearance, stripeAppearance, wrapEmailHtml };
|