@eventlook/sdk 1.5.0-beta.2 → 1.5.0-beta.4

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.
Files changed (187) hide show
  1. package/.prettierrc +1 -14
  2. package/dist/cjs/index-DLC5Hr8L.js +35809 -0
  3. package/dist/cjs/index-DLC5Hr8L.js.map +1 -0
  4. package/dist/cjs/index.js +11 -49195
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/cjs/index.umd-BSCKGDNQ.js +13407 -0
  7. package/dist/cjs/index.umd-BSCKGDNQ.js.map +1 -0
  8. package/dist/esm/index-BwmbJihM.js +35805 -0
  9. package/dist/esm/index-BwmbJihM.js.map +1 -0
  10. package/dist/esm/index.js +10 -49198
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/index.umd-6fgyuQlr.js +13405 -0
  13. package/dist/esm/index.umd-6fgyuQlr.js.map +1 -0
  14. package/dist/types/components/ClientOnly.d.ts +5 -0
  15. package/dist/types/components/CustomSkeleton.d.ts +4 -0
  16. package/dist/types/components/Image.d.ts +14 -0
  17. package/dist/types/components/Label.d.ts +11 -0
  18. package/dist/types/components/TextIconLabel.d.ts +10 -0
  19. package/dist/types/components/TicketFormSkeleton.d.ts +3 -0
  20. package/dist/types/components/Trans.d.ts +12 -0
  21. package/dist/types/components/animate/DialogAnimate.d.ts +9 -0
  22. package/dist/types/components/animate/IconButtonAnimate.d.ts +7 -0
  23. package/dist/types/components/animate/MotionContainer.d.ts +10 -0
  24. package/dist/types/components/animate/MotionLazyContainer.d.ts +6 -0
  25. package/dist/types/components/animate/MotionViewport.d.ts +10 -0
  26. package/dist/types/components/animate/TextAnimate.d.ts +9 -0
  27. package/dist/types/components/animate/index.d.ts +7 -0
  28. package/dist/types/components/animate/variants/actions.d.ts +5 -0
  29. package/dist/types/components/animate/variants/background.d.ts +104 -0
  30. package/dist/types/components/animate/variants/bounce.d.ts +131 -0
  31. package/dist/types/components/animate/variants/container.d.ts +19 -0
  32. package/dist/types/components/animate/variants/fade.d.ts +217 -0
  33. package/dist/types/components/animate/variants/flip.d.ts +75 -0
  34. package/dist/types/components/animate/variants/index.d.ts +12 -0
  35. package/dist/types/components/animate/variants/path.d.ts +14 -0
  36. package/dist/types/components/animate/variants/rotate.d.ts +39 -0
  37. package/dist/types/components/animate/variants/scale.d.ts +75 -0
  38. package/dist/types/components/animate/variants/slide.d.ts +155 -0
  39. package/dist/types/components/animate/variants/transition.d.ts +13 -0
  40. package/dist/types/components/animate/variants/zoom.d.ts +199 -0
  41. package/dist/types/components/confirm-dialog/ConfirmDialog.d.ts +3 -0
  42. package/dist/types/components/confirm-dialog/index.d.ts +1 -0
  43. package/dist/types/components/confirm-dialog/types.d.ts +8 -0
  44. package/dist/types/components/hook-form/FormProvider.d.ts +9 -0
  45. package/dist/types/components/hook-form/RHFAutocomplete.d.ts +9 -0
  46. package/dist/types/components/hook-form/RHFCheckbox.d.ts +20 -0
  47. package/dist/types/components/hook-form/RHFCodes.d.ts +8 -0
  48. package/dist/types/components/hook-form/RHFDatePicker.d.ts +8 -0
  49. package/dist/types/components/hook-form/RHFPhone.d.ts +8 -0
  50. package/dist/types/components/hook-form/RHFRadioGroup.d.ts +14 -0
  51. package/dist/types/components/hook-form/RHFSelect.d.ts +23 -0
  52. package/dist/types/components/hook-form/RHFSlider.d.ts +8 -0
  53. package/dist/types/components/hook-form/RHFSwitch.d.ts +8 -0
  54. package/dist/types/components/hook-form/RHFTextField.d.ts +7 -0
  55. package/dist/types/components/hook-form/index.d.ts +9 -0
  56. package/dist/types/components/iconify/Iconify.d.ts +10 -0
  57. package/dist/types/components/iconify/index.d.ts +2 -0
  58. package/dist/types/components/iconify/types.d.ts +2 -0
  59. package/dist/types/components/index.d.ts +4 -0
  60. package/dist/types/context/GlobalContext.d.ts +16 -0
  61. package/dist/types/form/ChildEventCard.d.ts +7 -0
  62. package/dist/types/form/ChildEventDialog.d.ts +9 -0
  63. package/dist/types/form/ChildEvents.d.ts +8 -0
  64. package/dist/types/form/ContactPerson.d.ts +7 -0
  65. package/dist/types/form/EmailConfirmation.d.ts +8 -0
  66. package/dist/types/form/MerchandiseSelection.d.ts +9 -0
  67. package/dist/types/form/OrderSuccess.d.ts +9 -0
  68. package/dist/types/form/Payment.d.ts +7 -0
  69. package/dist/types/form/PaymentOverviewBox.d.ts +7 -0
  70. package/dist/types/form/PaymentPending.d.ts +3 -0
  71. package/dist/types/form/PaymentSuccess.d.ts +9 -0
  72. package/dist/types/form/ReleaseCountdown.d.ts +8 -0
  73. package/dist/types/form/ReleaseWithMerchandise.d.ts +12 -0
  74. package/dist/types/form/ScriptLoader.d.ts +3 -0
  75. package/dist/types/form/Shipping.d.ts +7 -0
  76. package/dist/types/form/TicketForm.d.ts +11 -0
  77. package/dist/types/form/TicketSelection.d.ts +7 -0
  78. package/dist/types/form/TicketSelectionMap.d.ts +7 -0
  79. package/dist/types/form/TicketWithMerchandiseSelection.d.ts +7 -0
  80. package/dist/types/form/TimeslotSelection.d.ts +7 -0
  81. package/dist/types/form/extra-field/ExtraField.d.ts +9 -0
  82. package/dist/types/form/extra-field/ReleaseExtraFields.d.ts +10 -0
  83. package/dist/types/form/index.d.ts +26 -0
  84. package/dist/types/form/payment/FeeBox.d.ts +8 -0
  85. package/dist/types/form/payment/PaymentOverviewCheckbox.d.ts +12 -0
  86. package/dist/types/form/payment/PaymentSkeleton.d.ts +7 -0
  87. package/dist/types/form/product/ProductCard.d.ts +9 -0
  88. package/dist/types/form/product/ProductVariantsDialog.d.ts +14 -0
  89. package/dist/types/form/shipping/ShippingSkeleton.d.ts +7 -0
  90. package/dist/types/form/style.d.ts +11 -0
  91. package/dist/types/form/timeslot/TimeslotCalendar.d.ts +12 -0
  92. package/dist/types/hooks/data/useActiveEventProducts.d.ts +8 -0
  93. package/dist/types/hooks/data/useAllowedPaymentMethods.d.ts +9 -0
  94. package/dist/types/hooks/data/useEvent.d.ts +8 -0
  95. package/dist/types/hooks/data/useEventActiveReleases.d.ts +8 -0
  96. package/dist/types/hooks/data/useEventShippingMethods.d.ts +8 -0
  97. package/dist/types/hooks/data/useEventTimeslots.d.ts +10 -0
  98. package/dist/types/hooks/useCountdown.d.ts +6 -0
  99. package/dist/types/hooks/useDebounce.d.ts +1 -0
  100. package/dist/types/hooks/useErrors.d.ts +4 -0
  101. package/dist/types/hooks/useEventListener.d.ts +5 -0
  102. package/dist/types/hooks/useFirstRender.d.ts +1 -0
  103. package/dist/types/hooks/useGlobal.d.ts +2 -0
  104. package/dist/types/hooks/useResponsive.d.ts +8 -0
  105. package/dist/types/index.d.ts +4 -0
  106. package/dist/types/locales/cs.d.ts +157 -0
  107. package/dist/types/locales/en.d.ts +158 -0
  108. package/dist/types/locales/es.d.ts +158 -0
  109. package/dist/types/locales/index.d.ts +6 -0
  110. package/dist/types/locales/pl.d.ts +158 -0
  111. package/dist/types/locales/sk.d.ts +158 -0
  112. package/dist/types/locales/uk.d.ts +158 -0
  113. package/dist/types/modules/event-timeslot.d.ts +2 -0
  114. package/dist/types/modules/event.d.ts +5 -0
  115. package/dist/types/modules/order.d.ts +7 -0
  116. package/dist/types/modules/promo-code.d.ts +1 -0
  117. package/dist/types/modules/shopping-cart.d.ts +4 -0
  118. package/dist/types/utils/axios.d.ts +2 -0
  119. package/dist/types/utils/data/cookie.d.ts +1 -0
  120. package/dist/types/utils/data/currency.d.ts +5 -0
  121. package/dist/types/utils/data/event.d.ts +4 -0
  122. package/dist/types/utils/data/extra-field.d.ts +11 -0
  123. package/dist/types/utils/data/gender.d.ts +5 -0
  124. package/dist/types/utils/data/global.d.ts +1 -0
  125. package/dist/types/utils/data/gopay.d.ts +10 -0
  126. package/dist/types/utils/data/language.d.ts +10 -0
  127. package/dist/types/utils/data/order.d.ts +4 -0
  128. package/dist/types/utils/data/product.d.ts +3 -0
  129. package/dist/types/utils/data/promo-code.d.ts +4 -0
  130. package/dist/types/utils/data/shipping-method.d.ts +4 -0
  131. package/dist/types/utils/data/shopping-cart.d.ts +5 -0
  132. package/dist/types/utils/formatNumber.d.ts +8 -0
  133. package/dist/types/utils/global.d.ts +4 -0
  134. package/dist/types/utils/gtm.d.ts +28 -0
  135. package/dist/types/utils/isBrowser.d.ts +1 -0
  136. package/dist/types/utils/place.d.ts +2 -0
  137. package/dist/types/utils/price.d.ts +5 -0
  138. package/dist/types/utils/product.d.ts +3 -0
  139. package/dist/types/utils/translation.d.ts +2 -0
  140. package/dist/types/utils/types/animate.d.ts +26 -0
  141. package/dist/types/utils/types/artist.type.d.ts +17 -0
  142. package/dist/types/utils/types/company.type.d.ts +12 -0
  143. package/dist/types/utils/types/country.type.d.ts +39 -0
  144. package/dist/types/utils/types/customer.type.d.ts +10 -0
  145. package/dist/types/utils/types/event-product.type.d.ts +15 -0
  146. package/dist/types/utils/types/event-timeslot.type.d.ts +15 -0
  147. package/dist/types/utils/types/event.type.d.ts +62 -0
  148. package/dist/types/utils/types/extra-field.type.d.ts +18 -0
  149. package/dist/types/utils/types/file.type.d.ts +6 -0
  150. package/dist/types/utils/types/global.type.d.ts +76 -0
  151. package/dist/types/utils/types/gtm.type.d.ts +90 -0
  152. package/dist/types/utils/types/locale.type.d.ts +4 -0
  153. package/dist/types/utils/types/order.type.d.ts +69 -0
  154. package/dist/types/utils/types/palette.type.d.ts +1 -0
  155. package/dist/types/utils/types/payment-method.type.d.ts +23 -0
  156. package/dist/types/utils/types/pixel.type.d.ts +7 -0
  157. package/dist/types/utils/types/place.type.d.ts +19 -0
  158. package/dist/types/utils/types/product-image.type.d.ts +5 -0
  159. package/dist/types/utils/types/product-parameter.type.d.ts +7 -0
  160. package/dist/types/utils/types/product-variant.type.d.ts +9 -0
  161. package/dist/types/utils/types/product.type.d.ts +57 -0
  162. package/dist/types/utils/types/project.type.d.ts +24 -0
  163. package/dist/types/utils/types/promo-code.type.d.ts +15 -0
  164. package/dist/types/utils/types/release-category.type.d.ts +17 -0
  165. package/dist/types/utils/types/release.type.d.ts +28 -0
  166. package/dist/types/utils/types/shipping-method.type.d.ts +11 -0
  167. package/dist/types/utils/types/shopping-cart.type.d.ts +78 -0
  168. package/dist/types/utils/types/ticket.type.d.ts +110 -0
  169. package/dist/types/utils/types/translation.type.d.ts +18 -0
  170. package/dist/types/utils/types/user.type.d.ts +9 -0
  171. package/dist/types/utils/url.d.ts +1 -0
  172. package/eslint.config.mjs +103 -27
  173. package/package.json +10 -2
  174. package/src/@types/index.d.ts +3 -5
  175. package/src/components/TextIconLabel.tsx +1 -2
  176. package/src/components/animate/IconButtonAnimate.tsx +1 -2
  177. package/src/components/animate/MotionLazyContainer.tsx +1 -1
  178. package/src/components/hook-form/RHFCodes.tsx +1 -2
  179. package/src/components/hook-form/RHFSelect.tsx +1 -1
  180. package/src/form/PaymentPending.tsx +6 -3
  181. package/src/form/PaymentSuccess.tsx +2 -2
  182. package/src/form/ScriptLoader.tsx +1 -2
  183. package/src/form/Shipping.tsx +75 -77
  184. package/src/form/TicketForm.tsx +3 -3
  185. package/src/locales/en.tsx +1 -1
  186. package/src/utils/types/event.type.ts +0 -6
  187. package/tsconfig.build.json +1 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { MuiTelInputProps } from 'mui-tel-input';
3
+ type Props = MuiTelInputProps & {
4
+ name: string;
5
+ defaultCountry?: string;
6
+ };
7
+ export default function RHFPhone({ name, defaultCountry, helperText, ...other }: Props): React.JSX.Element | null;
8
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { RadioGroupProps } from '@mui/material';
3
+ type Props = RadioGroupProps & {
4
+ name: string;
5
+ options: {
6
+ label: React.ReactNode;
7
+ value: any;
8
+ }[];
9
+ label?: string;
10
+ spacing?: number;
11
+ helperText?: React.ReactNode;
12
+ };
13
+ export default function RHFRadioGroup({ row, name, label, options, spacing, helperText, ...other }: Props): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { SelectProps, TextFieldProps } from '@mui/material';
3
+ type RHFSelectProps = TextFieldProps & {
4
+ name: string;
5
+ native?: boolean;
6
+ maxHeight?: boolean | number | string;
7
+ children: React.ReactNode;
8
+ };
9
+ export declare function RHFSelect({ name, native, maxHeight, helperText, children, ...other }: RHFSelectProps): React.JSX.Element;
10
+ type RHFMultiSelectProps = SelectProps & {
11
+ name: string;
12
+ label?: string;
13
+ chip?: boolean;
14
+ checkbox?: boolean;
15
+ placeholder?: string;
16
+ helperText?: React.ReactNode;
17
+ options: {
18
+ label: string;
19
+ value: string;
20
+ }[];
21
+ };
22
+ export declare function RHFMultiSelect({ name, chip, label, options, checkbox, placeholder, helperText, sx, ...other }: RHFMultiSelectProps): React.JSX.Element;
23
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { SliderProps } from '@mui/material';
3
+ type Props = SliderProps & {
4
+ name: string;
5
+ helperText?: React.ReactNode;
6
+ };
7
+ export default function RHFSlider({ name, helperText, ...other }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { FormControlLabelProps } from '@mui/material';
3
+ interface Props extends Omit<FormControlLabelProps, 'control'> {
4
+ name: string;
5
+ helperText?: React.ReactNode;
6
+ }
7
+ export default function RHFSwitch({ name, helperText, ...other }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { TextFieldProps } from '@mui/material';
3
+ type Props = TextFieldProps & {
4
+ name: string;
5
+ };
6
+ export default function RHFTextField({ name, helperText, ...other }: Props): React.JSX.Element;
7
+ export {};
@@ -0,0 +1,9 @@
1
+ export * from './RHFSelect';
2
+ export * from './RHFCheckbox';
3
+ export { default } from './FormProvider';
4
+ export { default as RHFCodes } from './RHFCodes';
5
+ export { default as RHFSwitch } from './RHFSwitch';
6
+ export { default as RHFSlider } from './RHFSlider';
7
+ export { default as RHFTextField } from './RHFTextField';
8
+ export { default as RHFRadioGroup } from './RHFRadioGroup';
9
+ export { default as RHFAutocomplete } from './RHFAutocomplete';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IconifyIcon } from '@iconify/react';
3
+ import { BoxProps, SxProps } from '@mui/material';
4
+ import { Theme } from '@mui/material/styles';
5
+ interface Props extends BoxProps {
6
+ sx?: SxProps<Theme>;
7
+ icon: IconifyIcon | string;
8
+ }
9
+ export default function Iconify({ icon, sx, ...other }: Props): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as Iconify } from './Iconify';
@@ -0,0 +1,2 @@
1
+ import { IconifyIcon } from '@iconify/react';
2
+ export type IconifyProps = IconifyIcon | string;
@@ -0,0 +1,4 @@
1
+ export * from './animate';
2
+ export * from './iconify';
3
+ export { default as Image } from './Image';
4
+ export { default as TextIconLabel } from './TextIconLabel';
@@ -0,0 +1,16 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { IGlobalContext } from '@utils/types/global.type';
3
+ import { Languages } from '@utils/data/language';
4
+ declare const GlobalContext: React.Context<IGlobalContext>;
5
+ type Props = {
6
+ children: ReactNode;
7
+ lang: Languages;
8
+ callbacks: IGlobalContext['callbacks'];
9
+ links: IGlobalContext['links'];
10
+ showSnackbar?: IGlobalContext['showSnackbar'];
11
+ options?: IGlobalContext['options'];
12
+ content?: IGlobalContext['content'];
13
+ seatingIframeUrl?: IGlobalContext['seatingIframeUrl'];
14
+ };
15
+ declare function GlobalProvider({ children, lang, showSnackbar, callbacks, links, options, content, seatingIframeUrl, }: Props): React.JSX.Element;
16
+ export { GlobalProvider, GlobalContext };
@@ -0,0 +1,7 @@
1
+ import { IEvent } from '@utils/types/event.type';
2
+ import React from 'react';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const ChildEventCard: React.FC<Props>;
7
+ export default ChildEventCard;
@@ -0,0 +1,9 @@
1
+ import { IEvent } from '@utils/types/event.type';
2
+ import React from 'react';
3
+ interface Props {
4
+ event: IEvent;
5
+ openDialog: boolean;
6
+ onClose?: () => void;
7
+ }
8
+ declare const ChildEventDialog: React.FC<Props>;
9
+ export default ChildEventDialog;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ events: IEvent[];
5
+ isLoading?: boolean;
6
+ }
7
+ declare const ChildEventSection: React.FC<Props>;
8
+ export default ChildEventSection;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const ContactPerson: React.FC<Props>;
7
+ export default ContactPerson;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ onConfirm: () => void;
6
+ }
7
+ declare const EmailConfirmation: React.FC<Props>;
8
+ export default EmailConfirmation;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IEventProduct } from '@utils/types/event-product.type';
3
+ interface Props {
4
+ eventProducts: IEventProduct[];
5
+ eventId: number;
6
+ isLoading?: boolean;
7
+ }
8
+ declare const MerchandiseSelection: React.FC<Props>;
9
+ export default MerchandiseSelection;
@@ -0,0 +1,9 @@
1
+ import React, { Dispatch, SetStateAction } from 'react';
2
+ interface Props {
3
+ gwUrl: string;
4
+ setIsPaying: Dispatch<SetStateAction<boolean>>;
5
+ isIframe?: boolean;
6
+ isInline?: boolean;
7
+ }
8
+ declare const OrderSuccess: React.FC<Props>;
9
+ export default OrderSuccess;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const Payment: React.FC<Props>;
7
+ export default Payment;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const PaymentOverviewBox: React.FC<Props>;
7
+ export default PaymentOverviewBox;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const PaymentPending: React.FC;
3
+ export default PaymentPending;
@@ -0,0 +1,9 @@
1
+ import React, { Dispatch, SetStateAction } from 'react';
2
+ import { IPixels } from '@utils/types/gtm.type';
3
+ interface Props {
4
+ setIsPaying: Dispatch<SetStateAction<boolean>>;
5
+ isIframe?: boolean;
6
+ pixels?: IPixels;
7
+ }
8
+ declare const PaymentSuccess: React.FC<Props>;
9
+ export default PaymentSuccess;
@@ -0,0 +1,8 @@
1
+ import React, { Dispatch, SetStateAction } from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ setShowReleaseDate: Dispatch<SetStateAction<boolean>>;
6
+ }
7
+ declare const ReleaseCountdown: React.FC<Props>;
8
+ export default ReleaseCountdown;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IReleaseShort } from '@utils/types/release.type';
3
+ import { Currencies } from '@utils/data/currency';
4
+ interface Props {
5
+ eventId: number;
6
+ release: IReleaseShort;
7
+ activeReleases: IReleaseShort[];
8
+ currency: Currencies;
9
+ index: number;
10
+ }
11
+ declare const ReleaseWithMerchandise: React.FC<Props>;
12
+ export default ReleaseWithMerchandise;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ScriptLoader: React.FC;
3
+ export default ScriptLoader;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const Shipping: React.FC<Props>;
7
+ export default Shipping;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ hasGopayIdSsr: boolean;
6
+ selectedReleaseId?: number;
7
+ isIframe?: boolean;
8
+ isInline?: boolean;
9
+ }
10
+ declare const TicketForm: React.FC<Props>;
11
+ export default TicketForm;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const TicketSelection: React.FC<Props>;
7
+ export default TicketSelection;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const TicketSelectionMap: React.FC<Props>;
7
+ export default TicketSelectionMap;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const TicketWithMerchandiseSelection: React.FC<Props>;
7
+ export default TicketWithMerchandiseSelection;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ }
6
+ declare const TimeslotSelection: React.FC<Props>;
7
+ export default TimeslotSelection;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IEventExtraField } from '@utils/types/extra-field.type';
3
+ interface Props {
4
+ extraField: IEventExtraField;
5
+ name: `extraFields.${number}.value` | `tickets.${number}.${number}.extraFields.${number}.${number}.value`;
6
+ size?: 'small' | 'medium';
7
+ }
8
+ declare const ExtraField: React.FC<Props>;
9
+ export default ExtraField;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IReleaseShort } from '@utils/types/release.type';
3
+ interface Props {
4
+ release: IReleaseShort;
5
+ eventId: number;
6
+ releaseIndex: number;
7
+ quantity: number;
8
+ }
9
+ declare const _default: React.NamedExoticComponent<Props>;
10
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import 'dayjs/locale/cs';
2
+ import 'dayjs/locale/en';
3
+ import 'dayjs/locale/de';
4
+ import 'dayjs/locale/es';
5
+ import 'dayjs/locale/uk';
6
+ import 'dayjs/locale/sk';
7
+ import React from 'react';
8
+ import { Languages } from '@utils/data/language';
9
+ import { IContent, IGlobalContext, IGlobalContextOptions } from '@utils/types/global.type';
10
+ import { IUser } from '@utils/types/user.type';
11
+ export interface OrderFormProps {
12
+ eventSlug: string;
13
+ apiUrl: string;
14
+ seatingIframeUrl?: string;
15
+ callbacks: IGlobalContext['callbacks'];
16
+ links: IGlobalContext['links'];
17
+ lang?: Languages;
18
+ slots?: {
19
+ showSnackbar: IGlobalContext['showSnackbar'];
20
+ };
21
+ user?: IUser;
22
+ selectedReleaseId?: number;
23
+ options?: IGlobalContextOptions;
24
+ content?: IContent;
25
+ }
26
+ export default function Index(props: OrderFormProps): React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IEvent } from '@utils/types/event.type';
3
+ interface Props {
4
+ event: IEvent;
5
+ align?: 'left' | 'right';
6
+ }
7
+ declare const FeeBox: React.FC<Props>;
8
+ export default FeeBox;
@@ -0,0 +1,12 @@
1
+ import React, { JSX } from 'react';
2
+ interface Props {
3
+ checkboxName: string;
4
+ label: string;
5
+ value: string | JSX.Element;
6
+ modal: {
7
+ title: string;
8
+ description: string | JSX.Element;
9
+ };
10
+ }
11
+ declare const PaymentOverviewCheckbox: React.FC<Props>;
12
+ export default PaymentOverviewCheckbox;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ interface Props {
4
+ sx?: SxProps;
5
+ }
6
+ declare const PaymentSkeleton: React.FC<Props>;
7
+ export default PaymentSkeleton;
@@ -0,0 +1,9 @@
1
+ import { IEventProduct } from '@utils/types/event-product.type';
2
+ import React from 'react';
3
+ interface Props {
4
+ eventProduct: IEventProduct;
5
+ eventId: number;
6
+ isOnlyMerchandise?: boolean;
7
+ }
8
+ declare const ProductCard: React.FC<Props>;
9
+ export default ProductCard;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IEventProduct } from '@utils/types/event-product.type';
3
+ import { IEventProductForm } from '@utils/types/product.type';
4
+ interface Props {
5
+ eventProduct: IEventProduct;
6
+ eventId: number;
7
+ openDialog: boolean;
8
+ callback: (variant: IEventProductForm) => void;
9
+ onClose?: () => void;
10
+ selectedQuantityByVariant?: Record<number, number>;
11
+ isOnlyMerchandise?: boolean;
12
+ }
13
+ declare const ProductVariantsDialog: React.FC<Props>;
14
+ export default ProductVariantsDialog;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ interface Props {
4
+ sx?: SxProps;
5
+ }
6
+ declare const ShippingSkeleton: React.FC<Props>;
7
+ export default ShippingSkeleton;
@@ -0,0 +1,11 @@
1
+ export declare const OverviewCard: import("@emotion/styled").StyledComponent<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "square" | "elevation" | "variant" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
2
+ stickyHeaderTop: number;
3
+ }, {}, {}>;
4
+ export declare const ShippingMethodItem: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
+ active: boolean;
6
+ }, {}, {}>;
7
+ export declare const PaymentWrapper: import("@emotion/styled").StyledComponent<import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "color" | "margin" | "children" | "sx" | "size" | "disabled" | "fullWidth" | "variant" | "error" | "focused" | "hiddenLabel" | "required"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
+ export declare const PaymentItem: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
9
+ active: boolean;
10
+ }, {}, {}>;
11
+ export declare const PaymentSwiftWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -0,0 +1,12 @@
1
+ import React, { Dispatch, SetStateAction } from 'react';
2
+ import { Dayjs } from 'dayjs';
3
+ interface Props {
4
+ selectedDay: string | null;
5
+ selectedDays: string[];
6
+ setSelectedDate: (date: string | null) => void;
7
+ activeMonth?: Dayjs;
8
+ setActiveMonth?: Dispatch<SetStateAction<Dayjs | null>>;
9
+ disableUnselectedDays?: boolean;
10
+ }
11
+ declare const TimeslotCalendar: React.FC<Props>;
12
+ export default TimeslotCalendar;
@@ -0,0 +1,8 @@
1
+ import { IEventProduct } from '@utils/types/event-product.type';
2
+ export default function useActiveEventProducts(id?: number, inlcudeChildren?: boolean): {
3
+ data: IEventProduct[];
4
+ error: any;
5
+ mutate: import("swr").KeyedMutator<IEventProduct[]>;
6
+ isValidating: boolean;
7
+ isLoading: boolean;
8
+ };
@@ -0,0 +1,9 @@
1
+ import { Currencies } from '@utils/data/currency';
2
+ import { IPaymentMethod } from '@utils/types/payment-method.type';
3
+ export default function useAllowedPaymentMethods(currency: Currencies, eventId?: number): {
4
+ data: IPaymentMethod[] | undefined;
5
+ error: any;
6
+ mutate: import("swr").KeyedMutator<IPaymentMethod[]>;
7
+ isValidating: boolean;
8
+ isLoading: boolean;
9
+ };
@@ -0,0 +1,8 @@
1
+ import { IEvent } from '@utils/types/event.type';
2
+ export default function useEvent(slug?: string): {
3
+ data: IEvent | undefined;
4
+ error: any;
5
+ mutate: import("swr").KeyedMutator<IEvent>;
6
+ isValidating: boolean;
7
+ isLoading: boolean;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { IReleaseShort } from '@utils/types/release.type';
2
+ export default function useEventActiveReleases(id?: number, includeChildren?: boolean, timeslotId?: number | null): {
3
+ data: IReleaseShort[] | undefined;
4
+ error: any;
5
+ mutate: import("swr").KeyedMutator<IReleaseShort[]>;
6
+ isValidating: boolean;
7
+ isLoading: boolean;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { IShippingMethod, IShippingMethodFilter } from '@utils/types/shipping-method.type';
2
+ export default function useEventShippingMethods(id?: number, filters?: IShippingMethodFilter): {
3
+ data: IShippingMethod[];
4
+ error: any;
5
+ mutate: import("swr").KeyedMutator<IShippingMethod[]>;
6
+ isValidating: boolean;
7
+ isLoading: boolean;
8
+ };
@@ -0,0 +1,10 @@
1
+ import { IPaginate } from '@utils/types/global.type';
2
+ import { IEventTimeslotDate, IEventTimeslotFilters } from '@utils/types/event-timeslot.type';
3
+ export default function useEventTimeslots(eventId: number, filters?: IEventTimeslotFilters): {
4
+ data: IEventTimeslotDate[];
5
+ meta: import("@utils/types/global.type").IMeta | undefined;
6
+ error: any;
7
+ mutate: import("swr").KeyedMutator<IPaginate<IEventTimeslotDate[]>>;
8
+ isValidating: boolean;
9
+ isLoading: boolean;
10
+ };
@@ -0,0 +1,6 @@
1
+ export default function useCountdown(date: Date): {
2
+ days: string;
3
+ hours: string;
4
+ minutes: string;
5
+ seconds: string;
6
+ };
@@ -0,0 +1 @@
1
+ export default function useDebounce<T>(value: T, delay: number): T;
@@ -0,0 +1,4 @@
1
+ declare const useErrors: (defaultMessage?: string) => {
2
+ transformErrors: (message: string | string[] | undefined) => void;
3
+ };
4
+ export default useErrors;
@@ -0,0 +1,5 @@
1
+ import { RefObject } from 'react';
2
+ declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void, element?: undefined, options?: boolean | AddEventListenerOptions): void;
3
+ declare function useEventListener<K extends keyof HTMLElementEventMap, T extends HTMLElement = HTMLDivElement>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<T>, options?: boolean | AddEventListenerOptions): void;
4
+ declare function useEventListener<K extends keyof DocumentEventMap>(eventName: K, handler: (event: DocumentEventMap[K]) => void, element: RefObject<Document>, options?: boolean | AddEventListenerOptions): void;
5
+ export default useEventListener;
@@ -0,0 +1 @@
1
+ export declare function useFirstRender(): boolean;
@@ -0,0 +1,2 @@
1
+ declare const useGlobal: () => import("../utils/types/global.type").IGlobalContext;
2
+ export default useGlobal;
@@ -0,0 +1,8 @@
1
+ import { Breakpoint } from '@mui/material';
2
+ type Query = 'up' | 'down' | 'between' | 'only';
3
+ type Key = Breakpoint | number;
4
+ type Start = Breakpoint | number;
5
+ type End = Breakpoint | number;
6
+ export default function useResponsive(query: Query, key?: Key, start?: Start, end?: End): boolean | undefined;
7
+ export declare function useWidth(): "xs" | "sm" | "md" | "lg" | "xl";
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { OrderFormProps } from '@form/index';
3
+ export declare const OrderFormSdk: React.FC<OrderFormProps>;
4
+ export type { OrderFormProps };