tf-checkout-react 1.3.44 → 1.3.46
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/components/billing-info-container/index.d.ts +2 -1
- package/dist/components/common/PhoneNumberField.d.ts +3 -2
- package/dist/components/confirmationContainer/index.d.ts +4 -1
- package/dist/components/confirmationContainer/social-buttons.d.ts +2 -1
- package/dist/components/paymentContainer/index.d.ts +3 -1
- package/dist/components/ticketsContainer/TicketsSection.d.ts +4 -2
- package/dist/components/ticketsContainer/index.d.ts +3 -1
- package/dist/tf-checkout-react.cjs.development.js +1174 -2444
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +1174 -2445
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/dist/tf-checkout-styles.css +1 -1
- package/package.json +4 -5
- package/src/components/billing-info-container/index.tsx +8 -0
- package/src/components/common/PhoneNumberField.tsx +6 -4
- package/src/components/confirmationContainer/index.tsx +36 -24
- package/src/components/confirmationContainer/social-buttons.tsx +24 -14
- package/src/components/paymentContainer/index.tsx +6 -2
- package/src/components/ticketsContainer/TicketsSection.tsx +12 -13
- package/src/components/ticketsContainer/index.tsx +7 -3
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
|
@@ -49,5 +49,6 @@ export interface IBillingInfoPage {
|
|
|
49
49
|
showSignUpButton?: boolean;
|
|
50
50
|
brandOptIn?: boolean;
|
|
51
51
|
showPoweredByImage?: boolean;
|
|
52
|
+
isCountryCodeEditable?: boolean;
|
|
52
53
|
}
|
|
53
|
-
export declare const BillingInfoContainer: React.MemoExoticComponent<({ data, ticketHoldersFields, initialValues, buttonName, handleSubmit, theme, onRegisterSuccess, onRegisterError, onSubmitError, onGetCartSuccess, onGetCartError, onGetCountriesSuccess, onGetCountriesError, onGetStatesSuccess, onGetStatesError, onGetProfileDataSuccess, onGetProfileDataError, onAuthorizeSuccess, onAuthorizeError, onLogin, onLoginSuccess, isLoggedIn: pIsLoggedIn, accountInfoTitle, hideLogo, themeOptions, onErrorClose, hideErrorsAlertSection, onSkipBillingPage, skipPage, canSkipHolderNames, onForgotPasswordSuccess, onForgotPasswordError, shouldFetchCountries, onCountdownFinish, enableTimer, logo, showForgotPasswordButton, showSignUpButton, brandOptIn, showPoweredByImage, }: IBillingInfoPage) => JSX.Element>;
|
|
54
|
+
export declare const BillingInfoContainer: React.MemoExoticComponent<({ data, ticketHoldersFields, initialValues, buttonName, handleSubmit, theme, onRegisterSuccess, onRegisterError, onSubmitError, onGetCartSuccess, onGetCartError, onGetCountriesSuccess, onGetCountriesError, onGetStatesSuccess, onGetStatesError, onGetProfileDataSuccess, onGetProfileDataError, onAuthorizeSuccess, onAuthorizeError, onLogin, onLoginSuccess, isLoggedIn: pIsLoggedIn, accountInfoTitle, hideLogo, themeOptions, onErrorClose, hideErrorsAlertSection, onSkipBillingPage, skipPage, canSkipHolderNames, onForgotPasswordSuccess, onForgotPasswordError, shouldFetchCountries, onCountdownFinish, enableTimer, logo, showForgotPasswordButton, showSignUpButton, brandOptIn, showPoweredByImage, isCountryCodeEditable, }: IBillingInfoPage) => JSX.Element>;
|
|
@@ -6,8 +6,9 @@ export interface IPhoneNumberField {
|
|
|
6
6
|
form: FormikProps<any>;
|
|
7
7
|
type: string;
|
|
8
8
|
disableDropdown: boolean;
|
|
9
|
-
defaultCountry?: string;
|
|
10
9
|
fill: boolean;
|
|
11
10
|
setPhoneValidationIsLoading: (isLoading: boolean) => void;
|
|
11
|
+
defaultCountry?: string;
|
|
12
|
+
isCountryCodeEditable?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare const PhoneNumberField: ({ label, field, form: { errors, touched, setFieldError, values, initialValues, setFieldValue, setFieldTouched, setErrors, }, disableDropdown, defaultCountry, fill, setPhoneValidationIsLoading, }: IPhoneNumberField) => JSX.Element;
|
|
14
|
+
export declare const PhoneNumberField: ({ label, field, form: { errors, touched, setFieldError, values, initialValues, setFieldValue, setFieldTouched, setErrors, }, disableDropdown, defaultCountry, fill, setPhoneValidationIsLoading, isCountryCodeEditable, }: IPhoneNumberField) => JSX.Element;
|
|
@@ -24,5 +24,8 @@ export interface IConfirmationPage {
|
|
|
24
24
|
orderHash?: string;
|
|
25
25
|
confirmationLabels: IConfirmationLabels;
|
|
26
26
|
clientLabel?: string;
|
|
27
|
+
showReferralsInfoText?: boolean;
|
|
28
|
+
showCopyInfoModal?: boolean;
|
|
29
|
+
showPricingNoteSection?: boolean;
|
|
27
30
|
}
|
|
28
|
-
export declare const ConfirmationContainer: ({ confirmationLabels, hasCopyIcon, isReferralEnabled, showDefaultShareButtons, messengerAppId, shareButtons, onGetConfirmationDataSuccess, onGetConfirmationDataError, orderHash, onLinkCopied, clientLabel, }: IConfirmationPage) => JSX.Element;
|
|
31
|
+
export declare const ConfirmationContainer: ({ confirmationLabels, hasCopyIcon, isReferralEnabled, showDefaultShareButtons, messengerAppId, shareButtons, onGetConfirmationDataSuccess, onGetConfirmationDataError, orderHash, onLinkCopied, clientLabel, showReferralsInfoText, showCopyInfoModal, showPricingNoteSection, }: IConfirmationPage) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ interface SocialButtonsTypes {
|
|
|
7
7
|
showDefaultShareButtons: boolean;
|
|
8
8
|
shareButtons: IShareButton[];
|
|
9
9
|
clientLabel?: string;
|
|
10
|
+
showReferralsInfoText?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const SocialButtons: ({ showDefaultShareButtons, shareLink, name, appId, shareButtons, clientLabel, }: SocialButtonsTypes) => JSX.Element;
|
|
12
|
+
declare const SocialButtons: ({ showDefaultShareButtons, shareLink, name, appId, shareButtons, clientLabel, showReferralsInfoText, }: SocialButtonsTypes) => JSX.Element;
|
|
12
13
|
export default SocialButtons;
|
|
@@ -26,5 +26,7 @@ export interface IPaymentPage {
|
|
|
26
26
|
enableTimer?: boolean;
|
|
27
27
|
enablePaymentPlan?: boolean;
|
|
28
28
|
paymentButtonText?: string;
|
|
29
|
+
paymentInfoLabel?: string;
|
|
30
|
+
orderInfoLabel?: string;
|
|
29
31
|
}
|
|
30
|
-
export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions, onCountdownFinish, enableTimer, enablePaymentPlan, paymentButtonText, }: IPaymentPage) => JSX.Element;
|
|
32
|
+
export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions, onCountdownFinish, enableTimer, enablePaymentPlan, paymentButtonText, orderInfoLabel, paymentInfoLabel, }: IPaymentPage) => JSX.Element;
|
|
@@ -6,8 +6,10 @@ interface ITicketsSectionProps {
|
|
|
6
6
|
selectedTickets: any;
|
|
7
7
|
handleTicketSelect: any;
|
|
8
8
|
sortBySoldOut: boolean;
|
|
9
|
-
ticketsHeaderComponent?: ReactNode;
|
|
10
9
|
hideTicketsHeader: boolean;
|
|
10
|
+
ticketsHeaderComponent?: ReactNode;
|
|
11
|
+
showGroupNameBlock?: boolean;
|
|
12
|
+
currencySybmol?: string;
|
|
11
13
|
}
|
|
12
|
-
export declare const TicketsSection: ({ event, ticketsList, selectedTickets, handleTicketSelect, sortBySoldOut, ticketsHeaderComponent, hideTicketsHeader, }: ITicketsSectionProps) => JSX.Element;
|
|
14
|
+
export declare const TicketsSection: ({ event, ticketsList, selectedTickets, handleTicketSelect, sortBySoldOut, ticketsHeaderComponent, hideTicketsHeader, showGroupNameBlock, currencySybmol, }: ITicketsSectionProps) => JSX.Element;
|
|
13
15
|
export {};
|
|
@@ -55,6 +55,8 @@ export interface IGetTickets {
|
|
|
55
55
|
ordersPath?: string;
|
|
56
56
|
showPoweredByImage?: boolean;
|
|
57
57
|
promoText?: string;
|
|
58
|
+
showGroupNameBlock?: boolean;
|
|
59
|
+
currencySybmol?: string;
|
|
58
60
|
}
|
|
59
61
|
export interface ITicket {
|
|
60
62
|
id: string | number;
|
|
@@ -63,5 +65,5 @@ export interface ITicket {
|
|
|
63
65
|
export interface ISelectedTickets {
|
|
64
66
|
[key: string]: string | number;
|
|
65
67
|
}
|
|
66
|
-
export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, onLogoutSuccess, onLogoutError, onGetProfileDataSuccess, onGetProfileDataError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons, hideWaitingList, enableBillingInfoAutoCreate, isButtonScrollable, sortBySoldOut, disableCountdownLeadingZero, isLoggedIn, actionsSectionComponent: ActionsSectionComponent, ticketsHeaderComponent, hideTicketsHeader, enableInfluencersSection, enableAddOns, handleNotInvitedModalClose, handleInvalidLinkModalClose, ordersPath, showPoweredByImage, promoText, }: IGetTickets) => JSX.Element;
|
|
68
|
+
export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, onLogoutSuccess, onLogoutError, onGetProfileDataSuccess, onGetProfileDataError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons, hideWaitingList, enableBillingInfoAutoCreate, isButtonScrollable, sortBySoldOut, disableCountdownLeadingZero, isLoggedIn, actionsSectionComponent: ActionsSectionComponent, ticketsHeaderComponent, hideTicketsHeader, enableInfluencersSection, enableAddOns, handleNotInvitedModalClose, handleInvalidLinkModalClose, ordersPath, showPoweredByImage, promoText, showGroupNameBlock, currencySybmol, }: IGetTickets) => JSX.Element;
|
|
67
69
|
export {};
|