tf-checkout-react 1.0.86 → 1.0.90

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.
@@ -39,5 +39,8 @@ export interface IBillingInfoPage {
39
39
  checkbox?: CSSProperties;
40
40
  };
41
41
  hideErrorsAlertSection?: boolean;
42
+ onSkipBillingPage: (data: any) => void;
43
+ skipPage?: boolean;
44
+ canSkipHolderNames?: boolean;
42
45
  }
43
- export declare const BillingInfoContainer: ({ 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 }: IBillingInfoPage) => JSX.Element;
46
+ export declare const BillingInfoContainer: ({ 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 }: IBillingInfoPage) => JSX.Element;
@@ -5,7 +5,7 @@ import './style.css';
5
5
  import { IPaymentField } from '../../types';
6
6
  import { StripeCardNumberElementOptions } from '@stripe/stripe-js';
7
7
  import { ThemeOptions } from '@mui/material';
8
- import { CSSProperties } from "@mui/styles";
8
+ import { CSSProperties } from '@mui/styles';
9
9
  export interface IPaymentPage {
10
10
  paymentFields: IPaymentField[];
11
11
  handlePayment: any;
@@ -23,5 +23,7 @@ export interface IPaymentPage {
23
23
  checkbox?: CSSProperties;
24
24
  };
25
25
  elementsOptions?: StripeElementsOptions;
26
+ onCountdownFinish?: () => void;
27
+ enableTimer?: boolean;
26
28
  }
27
- export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions }: IPaymentPage) => JSX.Element;
29
+ export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions, onCountdownFinish, enableTimer, }: IPaymentPage) => JSX.Element;
@@ -28,6 +28,7 @@ export interface IGetTickets {
28
28
  };
29
29
  isAccessCodeEnabled?: boolean;
30
30
  hideSessionButtons?: boolean;
31
+ hideWaitingList?: boolean;
31
32
  }
32
33
  export interface ITicket {
33
34
  id: string | number;
@@ -36,5 +37,5 @@ export interface ITicket {
36
37
  export interface ISelectedTickets {
37
38
  [key: string]: string | number;
38
39
  }
39
- export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons }: IGetTickets) => JSX.Element;
40
+ export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons, hideWaitingList }: IGetTickets) => JSX.Element;
40
41
  export {};
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import './style.css';
3
+ export interface ITimerWidgetPage {
4
+ expires_at: number;
5
+ buyLoading?: boolean;
6
+ onCountdownFinish?: () => void;
7
+ }
8
+ export interface IRenderer {
9
+ minutes: number;
10
+ seconds: number;
11
+ completed: number;
12
+ handleCountdownFinish: () => void;
13
+ }
14
+ declare const TimerWidget: ({ expires_at, buyLoading, onCountdownFinish, }: ITimerWidgetPage) => JSX.Element | null;
15
+ export default TimerWidget;