tf-checkout-react 1.6.6-beta.22 → 1.6.6-beta.23

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.
@@ -1,6 +1,6 @@
1
1
  export declare const getEvent: (id: string | number, pk?: string | undefined) => Promise<IEventResponse>;
2
2
  export declare const getTickets: (eventId: string | number, promoCode: string, pk?: string | undefined) => Promise<ITicketsAdaptedResponse>;
3
- export declare const getTimeSlotsByDate: (eventId: string | number, date: string) => Promise<ITimeslotsAdaptedResponse>;
3
+ export declare const getTimeSlotsByDate: (eventId: string | number, date: string, promoCode?: string | undefined, pk?: string | undefined) => Promise<ITimeslotsAdaptedResponse>;
4
4
  export declare const getCountries: () => Promise<ICountriesResponse>;
5
5
  export declare const getStates: (countryId: string | number) => Promise<IStatesResponse>;
6
6
  export declare const sendRSVPInfo: (eventId: number, data: {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
+ import { ThemeOptions } from '@mui/material';
3
+ import { CSSProperties } from '@mui/styles';
2
4
  import { FieldInputProps, FormikProps } from 'formik';
3
- import { ThemeOptions } from "@mui/material";
4
- import { CSSProperties } from "@mui/styles";
5
5
  export interface IDatePickerFieldProps {
6
6
  label: string;
7
7
  field: FieldInputProps<any>;
@@ -14,7 +14,7 @@ interface ITicketsSectionProps {
14
14
  showGroupNameBlock?: boolean;
15
15
  currencySymbol?: string;
16
16
  isSeatMapAllowed?: boolean;
17
- descriptionTrigger?: "click" | "hover";
17
+ descriptionTrigger?: 'click' | 'hover';
18
18
  }
19
19
  export declare const TicketsSection: ({ event, ticketsList, selectedTickets, handleTicketSelect, sortBySoldOut, ticketsHeaderComponent, tableTicketsHeaderComponent, hideTicketsHeader, hideTableTicketsHeader, showGroupNameBlock, currencySymbol, isSeatMapAllowed, tableTickets, descriptionTrigger, }: ITicketsSectionProps) => JSX.Element;
20
20
  export {};
@@ -3,6 +3,15 @@ interface Props {
3
3
  event: any;
4
4
  eventId: number;
5
5
  availableDates: string[];
6
+ selectedDate: string | null;
7
+ timeSlotGroups: {
8
+ [key: string]: any[];
9
+ };
10
+ setTimeSlotGroups: (value: {
11
+ [key: string]: any[];
12
+ }) => void;
13
+ setSelectedDate: (value: string | null) => void;
14
+ getTimeSlots: (date: string | null, type?: string) => Promise<void>;
6
15
  selectedTickets: any;
7
16
  handleTicketSelect: any;
8
17
  sortBySoldOut: boolean;