@planetaexo/design-system 0.24.3 → 0.26.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 +890 -223
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +212 -7
- package/dist/index.d.ts +212 -7
- package/dist/index.js +889 -224
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -844,6 +844,154 @@ interface BookingConfirmationProps {
|
|
|
844
844
|
}
|
|
845
845
|
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
846
846
|
|
|
847
|
+
interface BookingAdventureCardLineItem {
|
|
848
|
+
/** Valor unitário formatado, ex.: "R$ 1.500,00". Opcional quando o caller usa `label` livre. */
|
|
849
|
+
unitPrice?: string;
|
|
850
|
+
/** Quantidade, ex.: 2. Opcional quando o caller usa `label` livre. */
|
|
851
|
+
quantity?: number;
|
|
852
|
+
/** Label localizado da categoria de viajante (ex.: "Adults"). Opcional quando o caller usa `label` livre. */
|
|
853
|
+
categoryLabel?: string;
|
|
854
|
+
/** Subtotal/preço formatado, ex.: "R$ 3.000,00". */
|
|
855
|
+
subtotal: string;
|
|
856
|
+
/**
|
|
857
|
+
* Label livre alternativa. Quando informada, prevalece sobre o formato
|
|
858
|
+
* "unitPrice × quantity categoryLabel =". Usada pelo consumer
|
|
859
|
+
* `BookingConfirmation`, cujos line items têm rótulos arbitrários
|
|
860
|
+
* (ex.: "Coupon", "Optional: Snorkel"). Aceitada para preservar
|
|
861
|
+
* paridade visual no card extraído.
|
|
862
|
+
*/
|
|
863
|
+
label?: string;
|
|
864
|
+
/** Quando `true`, valor renderiza em verde com prefixo "−". */
|
|
865
|
+
isDiscount?: boolean;
|
|
866
|
+
}
|
|
867
|
+
interface BookingAdventureCardTraveller {
|
|
868
|
+
/** Nome completo do viajante (já formatado pelo caller). */
|
|
869
|
+
fullName: string;
|
|
870
|
+
/** Quando `true`, renderiza badge "child" à direita do nome. */
|
|
871
|
+
isChild?: boolean;
|
|
872
|
+
/** Texto do badge "child" — fallback para labels.childBadge. */
|
|
873
|
+
childBadgeLabel?: string;
|
|
874
|
+
}
|
|
875
|
+
interface BookingAdventureCardLabels {
|
|
876
|
+
/** Heading da seção VIAJANTES. */
|
|
877
|
+
travellersHeading?: string;
|
|
878
|
+
/** Heading da seção DETALHES (itinerário). */
|
|
879
|
+
detailsHeading?: string;
|
|
880
|
+
/** Heading da seção PREÇOS (line items). */
|
|
881
|
+
pricesHeading?: string;
|
|
882
|
+
/** Label do subtotal. */
|
|
883
|
+
subtotalLabel?: string;
|
|
884
|
+
/** Função que produz o texto curto da linha "👥 N viajante(s)". */
|
|
885
|
+
travellersCountLabel?: (count: number) => string;
|
|
886
|
+
/** Símbolo separador em "R$ X × N Adults = R$ Y" (default "×"). */
|
|
887
|
+
lineItemSeparator?: string;
|
|
888
|
+
/** Símbolo de igual em "R$ X × N Adults = R$ Y" (default "="). */
|
|
889
|
+
lineItemEquals?: string;
|
|
890
|
+
/** Heading "O que está incluso" (usado pelo BookingConfirmation). */
|
|
891
|
+
includedHeading?: string;
|
|
892
|
+
/** Heading "O que não está incluso" (usado pelo BookingConfirmation). */
|
|
893
|
+
notIncludedHeading?: string;
|
|
894
|
+
/** Texto do pill de badge "child" (usado pelo BookingConfirmation). */
|
|
895
|
+
childBadge?: string;
|
|
896
|
+
/** Unidade adulto em slots (ex.: "adult(s)"). */
|
|
897
|
+
adultsUnit?: string;
|
|
898
|
+
/** Unidade criança em slots (ex.: "child(ren)"). */
|
|
899
|
+
childrenUnit?: string;
|
|
900
|
+
}
|
|
901
|
+
interface BookingAdventureCardSlots {
|
|
902
|
+
adults: number;
|
|
903
|
+
children?: number;
|
|
904
|
+
}
|
|
905
|
+
interface BookingAdventureCardProps {
|
|
906
|
+
/** Tag opcional renderizada como pill verde acima do título (ex.: "TST-C1"). */
|
|
907
|
+
tag?: string;
|
|
908
|
+
/** Nome da aventura, ex.: "Vale do Pati Trek". */
|
|
909
|
+
name: string;
|
|
910
|
+
/** Data de início formatada (ex.: "1 de junho de 2026"). */
|
|
911
|
+
startDate: string;
|
|
912
|
+
/** Data de fim formatada. Quando ausente, range vira apenas startDate. */
|
|
913
|
+
endDate?: string;
|
|
914
|
+
/**
|
|
915
|
+
* Quantidade total de viajantes (renderizada na linha "👥 N viajante(s)").
|
|
916
|
+
* Quando `slots` for fornecido, este campo é ignorado em favor de
|
|
917
|
+
* "👥 X adult(s) · Y child(ren)" (compat BookingConfirmation).
|
|
918
|
+
*/
|
|
919
|
+
travellerCount?: number;
|
|
920
|
+
/** Slots adults/children — quando presente, sobrepõe `travellerCount`. */
|
|
921
|
+
slots?: BookingAdventureCardSlots;
|
|
922
|
+
/**
|
|
923
|
+
* Lista de viajantes. Aceita strings (nome cru, modo PaymentReminder) ou
|
|
924
|
+
* objetos `{fullName, isChild}` (modo BookingConfirmation com badge child).
|
|
925
|
+
* Vazio = seção VIAJANTES não renderiza.
|
|
926
|
+
*/
|
|
927
|
+
travellers?: (string | BookingAdventureCardTraveller)[];
|
|
928
|
+
/** Itinerário (cada item já formatado). Vazio = seção DETALHES não renderiza. */
|
|
929
|
+
itinerary?: string[];
|
|
930
|
+
/**
|
|
931
|
+
* Descrição em HTML (alternativa a `itinerary`). Quando ambos presentes,
|
|
932
|
+
* `description` prevalece. Usada pelo BookingConfirmation para itinerário
|
|
933
|
+
* pré-formatado em HTML.
|
|
934
|
+
*/
|
|
935
|
+
description?: string;
|
|
936
|
+
/** Imagem de cover (opcional). Usada pelo BookingConfirmation. */
|
|
937
|
+
image?: string;
|
|
938
|
+
/** Alt da imagem de cover (default: `name`). */
|
|
939
|
+
imageAlt?: string;
|
|
940
|
+
/** Linha 📍 location (legado BookingConfirmation). */
|
|
941
|
+
location?: string;
|
|
942
|
+
/** Linha 🧭 destination/partner (legado BookingConfirmation). */
|
|
943
|
+
destination?: string;
|
|
944
|
+
/** Lista de itens inclusos (legado BookingConfirmation). */
|
|
945
|
+
included?: string[];
|
|
946
|
+
/** Lista de itens não inclusos (legado BookingConfirmation). */
|
|
947
|
+
notIncluded?: string[];
|
|
948
|
+
/** Line items de pricing por categoria. */
|
|
949
|
+
lineItems: BookingAdventureCardLineItem[];
|
|
950
|
+
/** Subtotal formatado, ex.: "R$ 1.500,00". Quando ausente, linha do subtotal some. */
|
|
951
|
+
subtotal?: string;
|
|
952
|
+
/** Labels para i18n / customização. */
|
|
953
|
+
labels?: BookingAdventureCardLabels;
|
|
954
|
+
/** className extra no container. */
|
|
955
|
+
className?: string;
|
|
956
|
+
}
|
|
957
|
+
declare function BookingAdventureCard({ tag, name, startDate, endDate, travellerCount, slots, travellers, itinerary, description, image, imageAlt, location, destination, included, notIncluded, lineItems, subtotal, labels, className, }: BookingAdventureCardProps): react_jsx_runtime.JSX.Element;
|
|
958
|
+
|
|
959
|
+
interface PaymentDetailsBlockRow {
|
|
960
|
+
/** Label da linha (ex.: "Amount already paid"). */
|
|
961
|
+
label: string;
|
|
962
|
+
/** Valor já formatado (ex.: "R$ 2.136,88"). */
|
|
963
|
+
value: string;
|
|
964
|
+
/**
|
|
965
|
+
* Quando `true`, valor renderiza com peso 700 e cor primary (destaque
|
|
966
|
+
* visual). Usado tipicamente em "Remaining balance" / "Total".
|
|
967
|
+
*/
|
|
968
|
+
emphasis?: boolean;
|
|
969
|
+
}
|
|
970
|
+
interface PaymentDetailsBlockFooterBanner {
|
|
971
|
+
/** Texto do banner (ex.: "✅ Paid in full"). */
|
|
972
|
+
text: string;
|
|
973
|
+
/** Variante visual. `success` = verde. Por enquanto só `success`. */
|
|
974
|
+
kind?: "success";
|
|
975
|
+
}
|
|
976
|
+
interface PaymentDetailsBlockLabels {
|
|
977
|
+
/** Cabeçalho do bloco. Default: "PAYMENT DETAILS". */
|
|
978
|
+
heading?: string;
|
|
979
|
+
}
|
|
980
|
+
interface PaymentDetailsBlockProps {
|
|
981
|
+
/** Linhas estruturadas (label + value). Renderizadas em ordem. */
|
|
982
|
+
rows: PaymentDetailsBlockRow[];
|
|
983
|
+
/**
|
|
984
|
+
* Banner full-width opcional renderizado abaixo das rows (ex.: "Paid
|
|
985
|
+
* in full"). Quando ausente, não renderiza.
|
|
986
|
+
*/
|
|
987
|
+
footerBanner?: PaymentDetailsBlockFooterBanner;
|
|
988
|
+
/** Labels para i18n / customização. */
|
|
989
|
+
labels?: PaymentDetailsBlockLabels;
|
|
990
|
+
/** className extra no container. */
|
|
991
|
+
className?: string;
|
|
992
|
+
}
|
|
993
|
+
declare function PaymentDetailsBlock({ rows, footerBanner, labels, className, }: PaymentDetailsBlockProps): react_jsx_runtime.JSX.Element;
|
|
994
|
+
|
|
847
995
|
interface BookingConfirmationEmailLabels {
|
|
848
996
|
ctaButton?: string;
|
|
849
997
|
logoAlt?: string;
|
|
@@ -972,6 +1120,17 @@ declare function PaymentReceiptEmail({ recipientName, bookingNumber, paymentMeth
|
|
|
972
1120
|
* - `dPlus2` → 2 dias após o vencimento (firme — último lembrete).
|
|
973
1121
|
*/
|
|
974
1122
|
type PaymentReminderVariant = "dMinus1" | "dZero" | "dPlus1" | "dPlus2";
|
|
1123
|
+
/**
|
|
1124
|
+
* URLs/dados de contato do agente, usados pelos closings para renderizar
|
|
1125
|
+
* `WhatsApp` e `email` como hyperlinks. Quando uma URL for `undefined`, o
|
|
1126
|
+
* texto correspondente cai para plain text (sem link).
|
|
1127
|
+
*/
|
|
1128
|
+
interface PaymentReminderAgentContactLinks {
|
|
1129
|
+
/** URL completo do WhatsApp (ex.: "https://wa.me/5511987654321"). */
|
|
1130
|
+
whatsappUrl?: string;
|
|
1131
|
+
/** Email do agente (ex.: "gabriel@planetaexo.com"). */
|
|
1132
|
+
email?: string;
|
|
1133
|
+
}
|
|
975
1134
|
interface PaymentReminderEmailLineItem {
|
|
976
1135
|
/** Valor unitário formatado, ex.: "R$ 1.500,00". */
|
|
977
1136
|
unitPrice: string;
|
|
@@ -987,6 +1146,20 @@ interface PaymentReminderEmailAdventure {
|
|
|
987
1146
|
name: string;
|
|
988
1147
|
/** Linhas de pricing por categoria de viajante. */
|
|
989
1148
|
lineItems: PaymentReminderEmailLineItem[];
|
|
1149
|
+
/** Tag opcional renderizada como pill verde acima do título (ex.: "TST-C1"). */
|
|
1150
|
+
tag?: string;
|
|
1151
|
+
/** Data de início formatada (ex.: "1 de junho de 2026"). */
|
|
1152
|
+
startDate?: string;
|
|
1153
|
+
/** Data de fim formatada. Quando ausente, range vira apenas startDate. */
|
|
1154
|
+
endDate?: string;
|
|
1155
|
+
/** Quantidade total de pessoas (ex.: 1). */
|
|
1156
|
+
travellerCount?: number;
|
|
1157
|
+
/** Lista de nomes completos de viajantes. Vazio = seção VIAJANTES não renderiza. */
|
|
1158
|
+
travellers?: string[];
|
|
1159
|
+
/** Itinerário (cada item já formatado, ex.: "Dia 1: ..."). Vazio = seção DETALHES não renderiza. */
|
|
1160
|
+
itinerary?: string[];
|
|
1161
|
+
/** Subtotal por aventura formatado (ex.: "R$ 1.500,00"). */
|
|
1162
|
+
subtotal?: string;
|
|
990
1163
|
}
|
|
991
1164
|
interface PaymentReminderEmailVariantLabels {
|
|
992
1165
|
/** Frase de intro — recebe bookingNumber e data de vencimento já formatada. */
|
|
@@ -997,8 +1170,19 @@ interface PaymentReminderEmailVariantLabels {
|
|
|
997
1170
|
closingThanks?: string;
|
|
998
1171
|
/** Aparece apenas em dPlus1/dPlus2. Quando vazia/undefined, linha some. */
|
|
999
1172
|
disregardIfPaid?: string;
|
|
1000
|
-
/**
|
|
1001
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Aparece apenas em dPlus2. Recebe nome do agente + URLs de contato e
|
|
1175
|
+
* retorna JSX com hyperlinks inline (WhatsApp/email).
|
|
1176
|
+
*
|
|
1177
|
+
* Em dPlus2 esta linha SUBSTITUI `closingAgent` (e não soma): o briefing
|
|
1178
|
+
* original do D+2 tinha `closingAgent` como duplicação de copy-paste
|
|
1179
|
+
* cortada, removida em v0.26.0. Em D−1/D0/D+1, `closingAgent` é o único
|
|
1180
|
+
* closing usado.
|
|
1181
|
+
*
|
|
1182
|
+
* Quando `agentName` está vazio, o componente cai para `closingNoAgent`
|
|
1183
|
+
* mesmo em dPlus2.
|
|
1184
|
+
*/
|
|
1185
|
+
closingAlternative?: (agentName: string, contact: PaymentReminderAgentContactLinks) => React.ReactNode;
|
|
1002
1186
|
}
|
|
1003
1187
|
interface PaymentReminderEmailLabels {
|
|
1004
1188
|
logoAlt?: string;
|
|
@@ -1014,6 +1198,8 @@ interface PaymentReminderEmailLabels {
|
|
|
1014
1198
|
remainingBalanceDueLabel?: string;
|
|
1015
1199
|
/** "Total booking amount" */
|
|
1016
1200
|
totalBookingAmountLabel?: string;
|
|
1201
|
+
/** Heading do `PaymentDetailsBlock` (default: "PAYMENT DETAILS"). */
|
|
1202
|
+
paymentDetailsHeading?: string;
|
|
1017
1203
|
/** CTA do botão "Complete Payment". */
|
|
1018
1204
|
ctaLabel?: string;
|
|
1019
1205
|
/** Assinatura: "The PlanetaEXO Team". */
|
|
@@ -1025,10 +1211,24 @@ interface PaymentReminderEmailLabels {
|
|
|
1025
1211
|
dPlus1?: PaymentReminderEmailVariantLabels;
|
|
1026
1212
|
dPlus2?: PaymentReminderEmailVariantLabels;
|
|
1027
1213
|
};
|
|
1028
|
-
/**
|
|
1029
|
-
|
|
1030
|
-
|
|
1214
|
+
/**
|
|
1215
|
+
* Closing "If you need any assistance... contact your agent <name>...".
|
|
1216
|
+
* Recebe nome do agente + URLs de contato e retorna JSX com hyperlinks
|
|
1217
|
+
* inline (WhatsApp/email). Quando URLs ausentes, fallback p/ plain text.
|
|
1218
|
+
*
|
|
1219
|
+
* BREAKING (v0.26.0): mudou de `(string) => string` para `(string,
|
|
1220
|
+
* contact) => React.ReactNode`. Backend consumer precisa popular
|
|
1221
|
+
* `agentContactLinks` para os hyperlinks aparecerem.
|
|
1222
|
+
*/
|
|
1223
|
+
closingAgent?: (agentName: string, contact: PaymentReminderAgentContactLinks) => React.ReactNode;
|
|
1224
|
+
/** Closing alternativo quando booking não tem agente atribuído. Plain text (sem links). */
|
|
1031
1225
|
closingNoAgent?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Labels do `BookingAdventureCard` aninhado. Repassadas para cada card de
|
|
1228
|
+
* aventura — controla headings VIAJANTES/DETALHES/PREÇOS, subtotal e o
|
|
1229
|
+
* formato "👥 N viajante(s)".
|
|
1230
|
+
*/
|
|
1231
|
+
adventureCard?: BookingAdventureCardLabels;
|
|
1032
1232
|
}
|
|
1033
1233
|
interface PaymentReminderEmailProps {
|
|
1034
1234
|
/** Variante do lembrete — controla intro/secureLine/closingThanks + presença de blocos condicionais. */
|
|
@@ -1051,6 +1251,11 @@ interface PaymentReminderEmailProps {
|
|
|
1051
1251
|
viewBookingUrl: string;
|
|
1052
1252
|
/** Nome do agente para personalizar closing. Quando ausente, closingNoAgent é usado. */
|
|
1053
1253
|
agentName?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* URLs/dados de contato do agente para renderizar `WhatsApp` e `email` como
|
|
1256
|
+
* hyperlinks nos closings. Ausência de uma URL = plain text (sem link).
|
|
1257
|
+
*/
|
|
1258
|
+
agentContactLinks?: PaymentReminderAgentContactLinks;
|
|
1054
1259
|
/** URL da logo. Default: data URI via EmailLogo. */
|
|
1055
1260
|
logoUrl?: string;
|
|
1056
1261
|
/** Labels para i18n / customização. */
|
|
@@ -1058,7 +1263,7 @@ interface PaymentReminderEmailProps {
|
|
|
1058
1263
|
/** className extra no container. */
|
|
1059
1264
|
className?: string;
|
|
1060
1265
|
}
|
|
1061
|
-
declare function PaymentReminderEmail({ variant, recipientName, bookingNumber, balanceDueDate, adventures, amountAlreadyPaid, remainingBalanceDue, totalBookingAmount, viewBookingUrl, agentName, logoUrl, labels, className, }: PaymentReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1266
|
+
declare function PaymentReminderEmail({ variant, recipientName, bookingNumber, balanceDueDate, adventures, amountAlreadyPaid, remainingBalanceDue, totalBookingAmount, viewBookingUrl, agentName, agentContactLinks, logoUrl, labels, className, }: PaymentReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1062
1267
|
|
|
1063
1268
|
interface BookingOtpEmailProps {
|
|
1064
1269
|
/** Saudação (ex.: "Hello!" / "Olá!"). */
|
|
@@ -2457,4 +2662,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2457
2662
|
config: LeadCapturePopupConfig;
|
|
2458
2663
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2459
2664
|
|
|
2460
|
-
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, 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, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, 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, 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 };
|
|
2665
|
+
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, type BookingSummaryLineItem, 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, 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
|
@@ -844,6 +844,154 @@ interface BookingConfirmationProps {
|
|
|
844
844
|
}
|
|
845
845
|
declare function BookingConfirmation({ recipientName, logoUrl, bookingReference, adventures, summaryLineItems, subtotal, total, depositInfo, agent, viewBookingUrl, labels, className, flow, }: BookingConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
846
846
|
|
|
847
|
+
interface BookingAdventureCardLineItem {
|
|
848
|
+
/** Valor unitário formatado, ex.: "R$ 1.500,00". Opcional quando o caller usa `label` livre. */
|
|
849
|
+
unitPrice?: string;
|
|
850
|
+
/** Quantidade, ex.: 2. Opcional quando o caller usa `label` livre. */
|
|
851
|
+
quantity?: number;
|
|
852
|
+
/** Label localizado da categoria de viajante (ex.: "Adults"). Opcional quando o caller usa `label` livre. */
|
|
853
|
+
categoryLabel?: string;
|
|
854
|
+
/** Subtotal/preço formatado, ex.: "R$ 3.000,00". */
|
|
855
|
+
subtotal: string;
|
|
856
|
+
/**
|
|
857
|
+
* Label livre alternativa. Quando informada, prevalece sobre o formato
|
|
858
|
+
* "unitPrice × quantity categoryLabel =". Usada pelo consumer
|
|
859
|
+
* `BookingConfirmation`, cujos line items têm rótulos arbitrários
|
|
860
|
+
* (ex.: "Coupon", "Optional: Snorkel"). Aceitada para preservar
|
|
861
|
+
* paridade visual no card extraído.
|
|
862
|
+
*/
|
|
863
|
+
label?: string;
|
|
864
|
+
/** Quando `true`, valor renderiza em verde com prefixo "−". */
|
|
865
|
+
isDiscount?: boolean;
|
|
866
|
+
}
|
|
867
|
+
interface BookingAdventureCardTraveller {
|
|
868
|
+
/** Nome completo do viajante (já formatado pelo caller). */
|
|
869
|
+
fullName: string;
|
|
870
|
+
/** Quando `true`, renderiza badge "child" à direita do nome. */
|
|
871
|
+
isChild?: boolean;
|
|
872
|
+
/** Texto do badge "child" — fallback para labels.childBadge. */
|
|
873
|
+
childBadgeLabel?: string;
|
|
874
|
+
}
|
|
875
|
+
interface BookingAdventureCardLabels {
|
|
876
|
+
/** Heading da seção VIAJANTES. */
|
|
877
|
+
travellersHeading?: string;
|
|
878
|
+
/** Heading da seção DETALHES (itinerário). */
|
|
879
|
+
detailsHeading?: string;
|
|
880
|
+
/** Heading da seção PREÇOS (line items). */
|
|
881
|
+
pricesHeading?: string;
|
|
882
|
+
/** Label do subtotal. */
|
|
883
|
+
subtotalLabel?: string;
|
|
884
|
+
/** Função que produz o texto curto da linha "👥 N viajante(s)". */
|
|
885
|
+
travellersCountLabel?: (count: number) => string;
|
|
886
|
+
/** Símbolo separador em "R$ X × N Adults = R$ Y" (default "×"). */
|
|
887
|
+
lineItemSeparator?: string;
|
|
888
|
+
/** Símbolo de igual em "R$ X × N Adults = R$ Y" (default "="). */
|
|
889
|
+
lineItemEquals?: string;
|
|
890
|
+
/** Heading "O que está incluso" (usado pelo BookingConfirmation). */
|
|
891
|
+
includedHeading?: string;
|
|
892
|
+
/** Heading "O que não está incluso" (usado pelo BookingConfirmation). */
|
|
893
|
+
notIncludedHeading?: string;
|
|
894
|
+
/** Texto do pill de badge "child" (usado pelo BookingConfirmation). */
|
|
895
|
+
childBadge?: string;
|
|
896
|
+
/** Unidade adulto em slots (ex.: "adult(s)"). */
|
|
897
|
+
adultsUnit?: string;
|
|
898
|
+
/** Unidade criança em slots (ex.: "child(ren)"). */
|
|
899
|
+
childrenUnit?: string;
|
|
900
|
+
}
|
|
901
|
+
interface BookingAdventureCardSlots {
|
|
902
|
+
adults: number;
|
|
903
|
+
children?: number;
|
|
904
|
+
}
|
|
905
|
+
interface BookingAdventureCardProps {
|
|
906
|
+
/** Tag opcional renderizada como pill verde acima do título (ex.: "TST-C1"). */
|
|
907
|
+
tag?: string;
|
|
908
|
+
/** Nome da aventura, ex.: "Vale do Pati Trek". */
|
|
909
|
+
name: string;
|
|
910
|
+
/** Data de início formatada (ex.: "1 de junho de 2026"). */
|
|
911
|
+
startDate: string;
|
|
912
|
+
/** Data de fim formatada. Quando ausente, range vira apenas startDate. */
|
|
913
|
+
endDate?: string;
|
|
914
|
+
/**
|
|
915
|
+
* Quantidade total de viajantes (renderizada na linha "👥 N viajante(s)").
|
|
916
|
+
* Quando `slots` for fornecido, este campo é ignorado em favor de
|
|
917
|
+
* "👥 X adult(s) · Y child(ren)" (compat BookingConfirmation).
|
|
918
|
+
*/
|
|
919
|
+
travellerCount?: number;
|
|
920
|
+
/** Slots adults/children — quando presente, sobrepõe `travellerCount`. */
|
|
921
|
+
slots?: BookingAdventureCardSlots;
|
|
922
|
+
/**
|
|
923
|
+
* Lista de viajantes. Aceita strings (nome cru, modo PaymentReminder) ou
|
|
924
|
+
* objetos `{fullName, isChild}` (modo BookingConfirmation com badge child).
|
|
925
|
+
* Vazio = seção VIAJANTES não renderiza.
|
|
926
|
+
*/
|
|
927
|
+
travellers?: (string | BookingAdventureCardTraveller)[];
|
|
928
|
+
/** Itinerário (cada item já formatado). Vazio = seção DETALHES não renderiza. */
|
|
929
|
+
itinerary?: string[];
|
|
930
|
+
/**
|
|
931
|
+
* Descrição em HTML (alternativa a `itinerary`). Quando ambos presentes,
|
|
932
|
+
* `description` prevalece. Usada pelo BookingConfirmation para itinerário
|
|
933
|
+
* pré-formatado em HTML.
|
|
934
|
+
*/
|
|
935
|
+
description?: string;
|
|
936
|
+
/** Imagem de cover (opcional). Usada pelo BookingConfirmation. */
|
|
937
|
+
image?: string;
|
|
938
|
+
/** Alt da imagem de cover (default: `name`). */
|
|
939
|
+
imageAlt?: string;
|
|
940
|
+
/** Linha 📍 location (legado BookingConfirmation). */
|
|
941
|
+
location?: string;
|
|
942
|
+
/** Linha 🧭 destination/partner (legado BookingConfirmation). */
|
|
943
|
+
destination?: string;
|
|
944
|
+
/** Lista de itens inclusos (legado BookingConfirmation). */
|
|
945
|
+
included?: string[];
|
|
946
|
+
/** Lista de itens não inclusos (legado BookingConfirmation). */
|
|
947
|
+
notIncluded?: string[];
|
|
948
|
+
/** Line items de pricing por categoria. */
|
|
949
|
+
lineItems: BookingAdventureCardLineItem[];
|
|
950
|
+
/** Subtotal formatado, ex.: "R$ 1.500,00". Quando ausente, linha do subtotal some. */
|
|
951
|
+
subtotal?: string;
|
|
952
|
+
/** Labels para i18n / customização. */
|
|
953
|
+
labels?: BookingAdventureCardLabels;
|
|
954
|
+
/** className extra no container. */
|
|
955
|
+
className?: string;
|
|
956
|
+
}
|
|
957
|
+
declare function BookingAdventureCard({ tag, name, startDate, endDate, travellerCount, slots, travellers, itinerary, description, image, imageAlt, location, destination, included, notIncluded, lineItems, subtotal, labels, className, }: BookingAdventureCardProps): react_jsx_runtime.JSX.Element;
|
|
958
|
+
|
|
959
|
+
interface PaymentDetailsBlockRow {
|
|
960
|
+
/** Label da linha (ex.: "Amount already paid"). */
|
|
961
|
+
label: string;
|
|
962
|
+
/** Valor já formatado (ex.: "R$ 2.136,88"). */
|
|
963
|
+
value: string;
|
|
964
|
+
/**
|
|
965
|
+
* Quando `true`, valor renderiza com peso 700 e cor primary (destaque
|
|
966
|
+
* visual). Usado tipicamente em "Remaining balance" / "Total".
|
|
967
|
+
*/
|
|
968
|
+
emphasis?: boolean;
|
|
969
|
+
}
|
|
970
|
+
interface PaymentDetailsBlockFooterBanner {
|
|
971
|
+
/** Texto do banner (ex.: "✅ Paid in full"). */
|
|
972
|
+
text: string;
|
|
973
|
+
/** Variante visual. `success` = verde. Por enquanto só `success`. */
|
|
974
|
+
kind?: "success";
|
|
975
|
+
}
|
|
976
|
+
interface PaymentDetailsBlockLabels {
|
|
977
|
+
/** Cabeçalho do bloco. Default: "PAYMENT DETAILS". */
|
|
978
|
+
heading?: string;
|
|
979
|
+
}
|
|
980
|
+
interface PaymentDetailsBlockProps {
|
|
981
|
+
/** Linhas estruturadas (label + value). Renderizadas em ordem. */
|
|
982
|
+
rows: PaymentDetailsBlockRow[];
|
|
983
|
+
/**
|
|
984
|
+
* Banner full-width opcional renderizado abaixo das rows (ex.: "Paid
|
|
985
|
+
* in full"). Quando ausente, não renderiza.
|
|
986
|
+
*/
|
|
987
|
+
footerBanner?: PaymentDetailsBlockFooterBanner;
|
|
988
|
+
/** Labels para i18n / customização. */
|
|
989
|
+
labels?: PaymentDetailsBlockLabels;
|
|
990
|
+
/** className extra no container. */
|
|
991
|
+
className?: string;
|
|
992
|
+
}
|
|
993
|
+
declare function PaymentDetailsBlock({ rows, footerBanner, labels, className, }: PaymentDetailsBlockProps): react_jsx_runtime.JSX.Element;
|
|
994
|
+
|
|
847
995
|
interface BookingConfirmationEmailLabels {
|
|
848
996
|
ctaButton?: string;
|
|
849
997
|
logoAlt?: string;
|
|
@@ -972,6 +1120,17 @@ declare function PaymentReceiptEmail({ recipientName, bookingNumber, paymentMeth
|
|
|
972
1120
|
* - `dPlus2` → 2 dias após o vencimento (firme — último lembrete).
|
|
973
1121
|
*/
|
|
974
1122
|
type PaymentReminderVariant = "dMinus1" | "dZero" | "dPlus1" | "dPlus2";
|
|
1123
|
+
/**
|
|
1124
|
+
* URLs/dados de contato do agente, usados pelos closings para renderizar
|
|
1125
|
+
* `WhatsApp` e `email` como hyperlinks. Quando uma URL for `undefined`, o
|
|
1126
|
+
* texto correspondente cai para plain text (sem link).
|
|
1127
|
+
*/
|
|
1128
|
+
interface PaymentReminderAgentContactLinks {
|
|
1129
|
+
/** URL completo do WhatsApp (ex.: "https://wa.me/5511987654321"). */
|
|
1130
|
+
whatsappUrl?: string;
|
|
1131
|
+
/** Email do agente (ex.: "gabriel@planetaexo.com"). */
|
|
1132
|
+
email?: string;
|
|
1133
|
+
}
|
|
975
1134
|
interface PaymentReminderEmailLineItem {
|
|
976
1135
|
/** Valor unitário formatado, ex.: "R$ 1.500,00". */
|
|
977
1136
|
unitPrice: string;
|
|
@@ -987,6 +1146,20 @@ interface PaymentReminderEmailAdventure {
|
|
|
987
1146
|
name: string;
|
|
988
1147
|
/** Linhas de pricing por categoria de viajante. */
|
|
989
1148
|
lineItems: PaymentReminderEmailLineItem[];
|
|
1149
|
+
/** Tag opcional renderizada como pill verde acima do título (ex.: "TST-C1"). */
|
|
1150
|
+
tag?: string;
|
|
1151
|
+
/** Data de início formatada (ex.: "1 de junho de 2026"). */
|
|
1152
|
+
startDate?: string;
|
|
1153
|
+
/** Data de fim formatada. Quando ausente, range vira apenas startDate. */
|
|
1154
|
+
endDate?: string;
|
|
1155
|
+
/** Quantidade total de pessoas (ex.: 1). */
|
|
1156
|
+
travellerCount?: number;
|
|
1157
|
+
/** Lista de nomes completos de viajantes. Vazio = seção VIAJANTES não renderiza. */
|
|
1158
|
+
travellers?: string[];
|
|
1159
|
+
/** Itinerário (cada item já formatado, ex.: "Dia 1: ..."). Vazio = seção DETALHES não renderiza. */
|
|
1160
|
+
itinerary?: string[];
|
|
1161
|
+
/** Subtotal por aventura formatado (ex.: "R$ 1.500,00"). */
|
|
1162
|
+
subtotal?: string;
|
|
990
1163
|
}
|
|
991
1164
|
interface PaymentReminderEmailVariantLabels {
|
|
992
1165
|
/** Frase de intro — recebe bookingNumber e data de vencimento já formatada. */
|
|
@@ -997,8 +1170,19 @@ interface PaymentReminderEmailVariantLabels {
|
|
|
997
1170
|
closingThanks?: string;
|
|
998
1171
|
/** Aparece apenas em dPlus1/dPlus2. Quando vazia/undefined, linha some. */
|
|
999
1172
|
disregardIfPaid?: string;
|
|
1000
|
-
/**
|
|
1001
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Aparece apenas em dPlus2. Recebe nome do agente + URLs de contato e
|
|
1175
|
+
* retorna JSX com hyperlinks inline (WhatsApp/email).
|
|
1176
|
+
*
|
|
1177
|
+
* Em dPlus2 esta linha SUBSTITUI `closingAgent` (e não soma): o briefing
|
|
1178
|
+
* original do D+2 tinha `closingAgent` como duplicação de copy-paste
|
|
1179
|
+
* cortada, removida em v0.26.0. Em D−1/D0/D+1, `closingAgent` é o único
|
|
1180
|
+
* closing usado.
|
|
1181
|
+
*
|
|
1182
|
+
* Quando `agentName` está vazio, o componente cai para `closingNoAgent`
|
|
1183
|
+
* mesmo em dPlus2.
|
|
1184
|
+
*/
|
|
1185
|
+
closingAlternative?: (agentName: string, contact: PaymentReminderAgentContactLinks) => React.ReactNode;
|
|
1002
1186
|
}
|
|
1003
1187
|
interface PaymentReminderEmailLabels {
|
|
1004
1188
|
logoAlt?: string;
|
|
@@ -1014,6 +1198,8 @@ interface PaymentReminderEmailLabels {
|
|
|
1014
1198
|
remainingBalanceDueLabel?: string;
|
|
1015
1199
|
/** "Total booking amount" */
|
|
1016
1200
|
totalBookingAmountLabel?: string;
|
|
1201
|
+
/** Heading do `PaymentDetailsBlock` (default: "PAYMENT DETAILS"). */
|
|
1202
|
+
paymentDetailsHeading?: string;
|
|
1017
1203
|
/** CTA do botão "Complete Payment". */
|
|
1018
1204
|
ctaLabel?: string;
|
|
1019
1205
|
/** Assinatura: "The PlanetaEXO Team". */
|
|
@@ -1025,10 +1211,24 @@ interface PaymentReminderEmailLabels {
|
|
|
1025
1211
|
dPlus1?: PaymentReminderEmailVariantLabels;
|
|
1026
1212
|
dPlus2?: PaymentReminderEmailVariantLabels;
|
|
1027
1213
|
};
|
|
1028
|
-
/**
|
|
1029
|
-
|
|
1030
|
-
|
|
1214
|
+
/**
|
|
1215
|
+
* Closing "If you need any assistance... contact your agent <name>...".
|
|
1216
|
+
* Recebe nome do agente + URLs de contato e retorna JSX com hyperlinks
|
|
1217
|
+
* inline (WhatsApp/email). Quando URLs ausentes, fallback p/ plain text.
|
|
1218
|
+
*
|
|
1219
|
+
* BREAKING (v0.26.0): mudou de `(string) => string` para `(string,
|
|
1220
|
+
* contact) => React.ReactNode`. Backend consumer precisa popular
|
|
1221
|
+
* `agentContactLinks` para os hyperlinks aparecerem.
|
|
1222
|
+
*/
|
|
1223
|
+
closingAgent?: (agentName: string, contact: PaymentReminderAgentContactLinks) => React.ReactNode;
|
|
1224
|
+
/** Closing alternativo quando booking não tem agente atribuído. Plain text (sem links). */
|
|
1031
1225
|
closingNoAgent?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Labels do `BookingAdventureCard` aninhado. Repassadas para cada card de
|
|
1228
|
+
* aventura — controla headings VIAJANTES/DETALHES/PREÇOS, subtotal e o
|
|
1229
|
+
* formato "👥 N viajante(s)".
|
|
1230
|
+
*/
|
|
1231
|
+
adventureCard?: BookingAdventureCardLabels;
|
|
1032
1232
|
}
|
|
1033
1233
|
interface PaymentReminderEmailProps {
|
|
1034
1234
|
/** Variante do lembrete — controla intro/secureLine/closingThanks + presença de blocos condicionais. */
|
|
@@ -1051,6 +1251,11 @@ interface PaymentReminderEmailProps {
|
|
|
1051
1251
|
viewBookingUrl: string;
|
|
1052
1252
|
/** Nome do agente para personalizar closing. Quando ausente, closingNoAgent é usado. */
|
|
1053
1253
|
agentName?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* URLs/dados de contato do agente para renderizar `WhatsApp` e `email` como
|
|
1256
|
+
* hyperlinks nos closings. Ausência de uma URL = plain text (sem link).
|
|
1257
|
+
*/
|
|
1258
|
+
agentContactLinks?: PaymentReminderAgentContactLinks;
|
|
1054
1259
|
/** URL da logo. Default: data URI via EmailLogo. */
|
|
1055
1260
|
logoUrl?: string;
|
|
1056
1261
|
/** Labels para i18n / customização. */
|
|
@@ -1058,7 +1263,7 @@ interface PaymentReminderEmailProps {
|
|
|
1058
1263
|
/** className extra no container. */
|
|
1059
1264
|
className?: string;
|
|
1060
1265
|
}
|
|
1061
|
-
declare function PaymentReminderEmail({ variant, recipientName, bookingNumber, balanceDueDate, adventures, amountAlreadyPaid, remainingBalanceDue, totalBookingAmount, viewBookingUrl, agentName, logoUrl, labels, className, }: PaymentReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1266
|
+
declare function PaymentReminderEmail({ variant, recipientName, bookingNumber, balanceDueDate, adventures, amountAlreadyPaid, remainingBalanceDue, totalBookingAmount, viewBookingUrl, agentName, agentContactLinks, logoUrl, labels, className, }: PaymentReminderEmailProps): react_jsx_runtime.JSX.Element;
|
|
1062
1267
|
|
|
1063
1268
|
interface BookingOtpEmailProps {
|
|
1064
1269
|
/** Saudação (ex.: "Hello!" / "Olá!"). */
|
|
@@ -2457,4 +2662,4 @@ declare function LeadCapturePopup({ config: _config, }: {
|
|
|
2457
2662
|
config: LeadCapturePopupConfig;
|
|
2458
2663
|
}): react_jsx_runtime.JSX.Element | null;
|
|
2459
2664
|
|
|
2460
|
-
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, 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, type PaymentMethodOption, PaymentMethodSelector, type PaymentMethodSelectorProps, PaymentModalShell, type PaymentModalShellProps, PaymentReceiptEmail, type PaymentReceiptEmailLabels, type PaymentReceiptEmailProps, 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, 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 };
|
|
2665
|
+
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, type BookingSummaryLineItem, 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, 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 };
|