@eventlook/sdk 1.4.45 → 1.4.46-beta.2
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/.env.example +1 -0
- package/package.json +3 -1
- package/rollup.config.mjs +2 -0
- package/src/components/hook-form/FormProvider.tsx +5 -2
- package/src/form/ChildEventDialog.tsx +3 -3
- package/src/form/ContactPerson.tsx +1 -1
- package/src/form/PaymentOverviewBox.tsx +39 -72
- package/src/form/PaymentOverviewDrawer.tsx +169 -0
- package/src/form/PaymentPending.tsx +1 -1
- package/src/form/TicketForm.tsx +53 -17
- package/src/form/index.tsx +3 -1
- package/src/form/merchandise/MerchandiseSelection.tsx +24 -0
- package/src/form/merchandise/MerchandiseSlider.tsx +61 -0
- package/src/form/payment/FeeBox.tsx +0 -10
- package/src/form/payment/PaymentOverviewCheckbox.tsx +33 -56
- package/src/form/product/ProductCard.tsx +60 -55
- package/src/form/product/ProductVariantsDialog.tsx +195 -137
- package/src/form/services/index.tsx +217 -0
- package/src/form/tickets/ReleaseDescription.tsx +57 -0
- package/src/form/tickets/ReleaseWithMerchandise.tsx +237 -0
- package/src/form/tickets/TicketQuantityControl.tsx +93 -0
- package/src/form/{TicketSelection.tsx → tickets/TicketSelection.tsx} +130 -101
- package/src/form/tickets/TicketSelectionMobile.tsx +175 -0
- package/src/form/{TicketWithMerchandiseSelection.tsx → tickets/TicketWithMerchandiseSelection.tsx} +3 -7
- package/src/locales/cs.tsx +7 -1
- package/src/locales/en.tsx +7 -1
- package/src/locales/es.tsx +6 -0
- package/src/locales/pl.tsx +6 -0
- package/src/locales/sk.tsx +6 -0
- package/src/locales/uk.tsx +6 -0
- package/src/utils/data/global.ts +1 -0
- package/tsconfig.json +2 -1
- package/.claude/settings.local.json +0 -9
- package/dist/cjs/components/ClientOnly.js +0 -19
- package/dist/cjs/components/ClientOnly.js.map +0 -1
- package/dist/cjs/components/CustomSkeleton.js +0 -15
- package/dist/cjs/components/CustomSkeleton.js.map +0 -1
- package/dist/cjs/components/Image.js +0 -56
- package/dist/cjs/components/Image.js.map +0 -1
- package/dist/cjs/components/Label.js +0 -65
- package/dist/cjs/components/Label.js.map +0 -1
- package/dist/cjs/components/TextIconLabel.js +0 -19
- package/dist/cjs/components/TextIconLabel.js.map +0 -1
- package/dist/cjs/components/TicketFormSkeleton.js +0 -55
- package/dist/cjs/components/TicketFormSkeleton.js.map +0 -1
- package/dist/cjs/components/Trans.js +0 -87
- package/dist/cjs/components/Trans.js.map +0 -1
- package/dist/cjs/components/animate/IconButtonAnimate.js +0 -29
- package/dist/cjs/components/animate/IconButtonAnimate.js.map +0 -1
- package/dist/cjs/components/animate/MotionContainer.js +0 -18
- package/dist/cjs/components/animate/MotionContainer.js.map +0 -1
- package/dist/cjs/components/animate/variants/bounce.js +0 -98
- package/dist/cjs/components/animate/variants/bounce.js.map +0 -1
- package/dist/cjs/components/animate/variants/container.js +0 -25
- package/dist/cjs/components/animate/variants/container.js.map +0 -1
- package/dist/cjs/components/animate/variants/transition.js +0 -17
- package/dist/cjs/components/animate/variants/transition.js.map +0 -1
- package/dist/cjs/components/confirm-dialog/ConfirmDialog.js +0 -24
- package/dist/cjs/components/confirm-dialog/ConfirmDialog.js.map +0 -1
- package/dist/cjs/components/hook-form/FormProvider.js +0 -14
- package/dist/cjs/components/hook-form/FormProvider.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFCheckbox.js +0 -15
- package/dist/cjs/components/hook-form/RHFCheckbox.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFDatePicker.js +0 -22
- package/dist/cjs/components/hook-form/RHFDatePicker.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFPhone.js +0 -24
- package/dist/cjs/components/hook-form/RHFPhone.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFRadioGroup.js +0 -29
- package/dist/cjs/components/hook-form/RHFRadioGroup.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFSelect.js +0 -34
- package/dist/cjs/components/hook-form/RHFSelect.js.map +0 -1
- package/dist/cjs/components/hook-form/RHFTextField.js +0 -15
- package/dist/cjs/components/hook-form/RHFTextField.js.map +0 -1
- package/dist/cjs/components/iconify/Iconify.js +0 -14
- package/dist/cjs/components/iconify/Iconify.js.map +0 -1
- package/dist/cjs/context/GlobalContext.js +0 -65
- package/dist/cjs/context/GlobalContext.js.map +0 -1
- package/dist/cjs/form/ChildEventCard.js +0 -60
- package/dist/cjs/form/ChildEventCard.js.map +0 -1
- package/dist/cjs/form/ChildEventDialog.js +0 -30
- package/dist/cjs/form/ChildEventDialog.js.map +0 -1
- package/dist/cjs/form/ChildEvents.js +0 -17
- package/dist/cjs/form/ChildEvents.js.map +0 -1
- package/dist/cjs/form/ContactPerson.js +0 -40
- package/dist/cjs/form/ContactPerson.js.map +0 -1
- package/dist/cjs/form/EmailConfirmation.js +0 -28
- package/dist/cjs/form/EmailConfirmation.js.map +0 -1
- package/dist/cjs/form/MerchandiseSelection.js +0 -17
- package/dist/cjs/form/MerchandiseSelection.js.map +0 -1
- package/dist/cjs/form/OrderSuccess.js +0 -57
- package/dist/cjs/form/OrderSuccess.js.map +0 -1
- package/dist/cjs/form/Payment.js +0 -214
- package/dist/cjs/form/Payment.js.map +0 -1
- package/dist/cjs/form/PaymentOverviewBox.js +0 -413
- package/dist/cjs/form/PaymentOverviewBox.js.map +0 -1
- package/dist/cjs/form/PaymentPending.js +0 -26
- package/dist/cjs/form/PaymentPending.js.map +0 -1
- package/dist/cjs/form/PaymentSuccess.js +0 -203
- package/dist/cjs/form/PaymentSuccess.js.map +0 -1
- package/dist/cjs/form/ReleaseCountdown.js +0 -34
- package/dist/cjs/form/ReleaseCountdown.js.map +0 -1
- package/dist/cjs/form/ReleaseWithMerchandise.js +0 -130
- package/dist/cjs/form/ReleaseWithMerchandise.js.map +0 -1
- package/dist/cjs/form/ScriptLoader.js +0 -21
- package/dist/cjs/form/ScriptLoader.js.map +0 -1
- package/dist/cjs/form/Shipping.js +0 -119
- package/dist/cjs/form/Shipping.js.map +0 -1
- package/dist/cjs/form/TicketForm.js +0 -470
- package/dist/cjs/form/TicketForm.js.map +0 -1
- package/dist/cjs/form/TicketSelection.js +0 -177
- package/dist/cjs/form/TicketSelection.js.map +0 -1
- package/dist/cjs/form/TicketSelectionMap.js +0 -67
- package/dist/cjs/form/TicketSelectionMap.js.map +0 -1
- package/dist/cjs/form/TicketWithMerchandiseSelection.js +0 -121
- package/dist/cjs/form/TicketWithMerchandiseSelection.js.map +0 -1
- package/dist/cjs/form/TimeslotSelection.js +0 -68
- package/dist/cjs/form/TimeslotSelection.js.map +0 -1
- package/dist/cjs/form/extra-field/ExtraField.js +0 -20
- package/dist/cjs/form/extra-field/ExtraField.js.map +0 -1
- package/dist/cjs/form/extra-field/ReleaseExtraFields.js +0 -60
- package/dist/cjs/form/extra-field/ReleaseExtraFields.js.map +0 -1
- package/dist/cjs/form/index.js +0 -69
- package/dist/cjs/form/index.js.map +0 -1
- package/dist/cjs/form/payment/FeeBox.js +0 -42
- package/dist/cjs/form/payment/FeeBox.js.map +0 -1
- package/dist/cjs/form/payment/PaymentOverviewCheckbox.js +0 -48
- package/dist/cjs/form/payment/PaymentOverviewCheckbox.js.map +0 -1
- package/dist/cjs/form/payment/PaymentSkeleton.js +0 -14
- package/dist/cjs/form/payment/PaymentSkeleton.js.map +0 -1
- package/dist/cjs/form/product/ProductCard.js +0 -61
- package/dist/cjs/form/product/ProductCard.js.map +0 -1
- package/dist/cjs/form/product/ProductVariantsDialog.js +0 -173
- package/dist/cjs/form/product/ProductVariantsDialog.js.map +0 -1
- package/dist/cjs/form/shipping/ShippingSkeleton.js +0 -14
- package/dist/cjs/form/shipping/ShippingSkeleton.js.map +0 -1
- package/dist/cjs/form/style.js +0 -50
- package/dist/cjs/form/style.js.map +0 -1
- package/dist/cjs/form/timeslot/TimeslotCalendar.js +0 -57
- package/dist/cjs/form/timeslot/TimeslotCalendar.js.map +0 -1
- package/dist/cjs/hooks/data/useActiveEventProducts.js +0 -22
- package/dist/cjs/hooks/data/useActiveEventProducts.js.map +0 -1
- package/dist/cjs/hooks/data/useAllowedPaymentMethods.js +0 -22
- package/dist/cjs/hooks/data/useAllowedPaymentMethods.js.map +0 -1
- package/dist/cjs/hooks/data/useEvent.js +0 -22
- package/dist/cjs/hooks/data/useEvent.js.map +0 -1
- package/dist/cjs/hooks/data/useEventActiveReleases.js +0 -26
- package/dist/cjs/hooks/data/useEventActiveReleases.js.map +0 -1
- package/dist/cjs/hooks/data/useEventShippingMethods.js +0 -22
- package/dist/cjs/hooks/data/useEventShippingMethods.js.map +0 -1
- package/dist/cjs/hooks/data/useEventTimeslots.js +0 -23
- package/dist/cjs/hooks/data/useEventTimeslots.js.map +0 -1
- package/dist/cjs/hooks/useCountdown.js +0 -40
- package/dist/cjs/hooks/useCountdown.js.map +0 -1
- package/dist/cjs/hooks/useDebounce.js +0 -17
- package/dist/cjs/hooks/useDebounce.js.map +0 -1
- package/dist/cjs/hooks/useErrors.js +0 -28
- package/dist/cjs/hooks/useErrors.js.map +0 -1
- package/dist/cjs/hooks/useFirstRender.js +0 -14
- package/dist/cjs/hooks/useFirstRender.js.map +0 -1
- package/dist/cjs/hooks/useGlobal.js +0 -11
- package/dist/cjs/hooks/useGlobal.js.map +0 -1
- package/dist/cjs/hooks/useResponsive.js +0 -29
- package/dist/cjs/hooks/useResponsive.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/locales/cs.js +0 -163
- package/dist/cjs/locales/cs.js.map +0 -1
- package/dist/cjs/locales/en.js +0 -164
- package/dist/cjs/locales/en.js.map +0 -1
- package/dist/cjs/locales/es.js +0 -164
- package/dist/cjs/locales/es.js.map +0 -1
- package/dist/cjs/locales/index.js +0 -18
- package/dist/cjs/locales/index.js.map +0 -1
- package/dist/cjs/locales/pl.js +0 -164
- package/dist/cjs/locales/pl.js.map +0 -1
- package/dist/cjs/locales/sk.js +0 -164
- package/dist/cjs/locales/sk.js.map +0 -1
- package/dist/cjs/locales/uk.js +0 -164
- package/dist/cjs/locales/uk.js.map +0 -1
- package/dist/cjs/modules/event-timeslot.js +0 -12
- package/dist/cjs/modules/event-timeslot.js.map +0 -1
- package/dist/cjs/modules/event.js +0 -24
- package/dist/cjs/modules/event.js.map +0 -1
- package/dist/cjs/modules/order.js +0 -14
- package/dist/cjs/modules/order.js.map +0 -1
- package/dist/cjs/modules/promo-code.js +0 -13
- package/dist/cjs/modules/promo-code.js.map +0 -1
- package/dist/cjs/modules/shopping-cart.js +0 -16
- package/dist/cjs/modules/shopping-cart.js.map +0 -1
- package/dist/cjs/utils/axios.js +0 -20
- package/dist/cjs/utils/axios.js.map +0 -1
- package/dist/cjs/utils/data/cookie.js +0 -6
- package/dist/cjs/utils/data/cookie.js.map +0 -1
- package/dist/cjs/utils/data/currency.js +0 -9
- package/dist/cjs/utils/data/currency.js.map +0 -1
- package/dist/cjs/utils/data/event.js +0 -8
- package/dist/cjs/utils/data/event.js.map +0 -1
- package/dist/cjs/utils/data/extra-field.js +0 -16
- package/dist/cjs/utils/data/extra-field.js.map +0 -1
- package/dist/cjs/utils/data/gender.js +0 -9
- package/dist/cjs/utils/data/gender.js.map +0 -1
- package/dist/cjs/utils/data/global.js +0 -6
- package/dist/cjs/utils/data/global.js.map +0 -1
- package/dist/cjs/utils/data/gopay.js +0 -14
- package/dist/cjs/utils/data/gopay.js.map +0 -1
- package/dist/cjs/utils/data/language.js +0 -14
- package/dist/cjs/utils/data/language.js.map +0 -1
- package/dist/cjs/utils/data/lottie/bank-transfer.json.js +0 -20
- package/dist/cjs/utils/data/lottie/bank-transfer.json.js.map +0 -1
- package/dist/cjs/utils/data/promo-code.js +0 -8
- package/dist/cjs/utils/data/promo-code.js.map +0 -1
- package/dist/cjs/utils/data/shipping-method.js +0 -8
- package/dist/cjs/utils/data/shipping-method.js.map +0 -1
- package/dist/cjs/utils/formatNumber.js +0 -19
- package/dist/cjs/utils/formatNumber.js.map +0 -1
- package/dist/cjs/utils/global.js +0 -26
- package/dist/cjs/utils/global.js.map +0 -1
- package/dist/cjs/utils/gtm.js +0 -125
- package/dist/cjs/utils/gtm.js.map +0 -1
- package/dist/cjs/utils/isBrowser.js +0 -6
- package/dist/cjs/utils/isBrowser.js.map +0 -1
- package/dist/cjs/utils/place.js +0 -6
- package/dist/cjs/utils/place.js.map +0 -1
- package/dist/cjs/utils/price.js +0 -15
- package/dist/cjs/utils/price.js.map +0 -1
- package/dist/cjs/utils/product.js +0 -29
- package/dist/cjs/utils/product.js.map +0 -1
- package/dist/cjs/utils/translation.js +0 -6
- package/dist/cjs/utils/translation.js.map +0 -1
- package/dist/cjs/utils/url.js +0 -18
- package/dist/cjs/utils/url.js.map +0 -1
- package/dist/esm/components/ClientOnly.js +0 -15
- package/dist/esm/components/ClientOnly.js.map +0 -1
- package/dist/esm/components/CustomSkeleton.js +0 -11
- package/dist/esm/components/CustomSkeleton.js.map +0 -1
- package/dist/esm/components/Image.js +0 -52
- package/dist/esm/components/Image.js.map +0 -1
- package/dist/esm/components/Label.js +0 -61
- package/dist/esm/components/Label.js.map +0 -1
- package/dist/esm/components/TextIconLabel.js +0 -15
- package/dist/esm/components/TextIconLabel.js.map +0 -1
- package/dist/esm/components/TicketFormSkeleton.js +0 -51
- package/dist/esm/components/TicketFormSkeleton.js.map +0 -1
- package/dist/esm/components/Trans.js +0 -85
- package/dist/esm/components/Trans.js.map +0 -1
- package/dist/esm/components/animate/IconButtonAnimate.js +0 -27
- package/dist/esm/components/animate/IconButtonAnimate.js.map +0 -1
- package/dist/esm/components/animate/MotionContainer.js +0 -14
- package/dist/esm/components/animate/MotionContainer.js.map +0 -1
- package/dist/esm/components/animate/variants/bounce.js +0 -96
- package/dist/esm/components/animate/variants/bounce.js.map +0 -1
- package/dist/esm/components/animate/variants/container.js +0 -23
- package/dist/esm/components/animate/variants/container.js.map +0 -1
- package/dist/esm/components/animate/variants/transition.js +0 -14
- package/dist/esm/components/animate/variants/transition.js.map +0 -1
- package/dist/esm/components/confirm-dialog/ConfirmDialog.js +0 -20
- package/dist/esm/components/confirm-dialog/ConfirmDialog.js.map +0 -1
- package/dist/esm/components/hook-form/FormProvider.js +0 -10
- package/dist/esm/components/hook-form/FormProvider.js.map +0 -1
- package/dist/esm/components/hook-form/RHFCheckbox.js +0 -13
- package/dist/esm/components/hook-form/RHFCheckbox.js.map +0 -1
- package/dist/esm/components/hook-form/RHFDatePicker.js +0 -18
- package/dist/esm/components/hook-form/RHFDatePicker.js.map +0 -1
- package/dist/esm/components/hook-form/RHFPhone.js +0 -20
- package/dist/esm/components/hook-form/RHFPhone.js.map +0 -1
- package/dist/esm/components/hook-form/RHFRadioGroup.js +0 -25
- package/dist/esm/components/hook-form/RHFRadioGroup.js.map +0 -1
- package/dist/esm/components/hook-form/RHFSelect.js +0 -32
- package/dist/esm/components/hook-form/RHFSelect.js.map +0 -1
- package/dist/esm/components/hook-form/RHFTextField.js +0 -11
- package/dist/esm/components/hook-form/RHFTextField.js.map +0 -1
- package/dist/esm/components/iconify/Iconify.js +0 -10
- package/dist/esm/components/iconify/Iconify.js.map +0 -1
- package/dist/esm/context/GlobalContext.js +0 -62
- package/dist/esm/context/GlobalContext.js.map +0 -1
- package/dist/esm/form/ChildEventCard.js +0 -56
- package/dist/esm/form/ChildEventCard.js.map +0 -1
- package/dist/esm/form/ChildEventDialog.js +0 -26
- package/dist/esm/form/ChildEventDialog.js.map +0 -1
- package/dist/esm/form/ChildEvents.js +0 -13
- package/dist/esm/form/ChildEvents.js.map +0 -1
- package/dist/esm/form/ContactPerson.js +0 -36
- package/dist/esm/form/ContactPerson.js.map +0 -1
- package/dist/esm/form/EmailConfirmation.js +0 -24
- package/dist/esm/form/EmailConfirmation.js.map +0 -1
- package/dist/esm/form/MerchandiseSelection.js +0 -13
- package/dist/esm/form/MerchandiseSelection.js.map +0 -1
- package/dist/esm/form/OrderSuccess.js +0 -53
- package/dist/esm/form/OrderSuccess.js.map +0 -1
- package/dist/esm/form/Payment.js +0 -210
- package/dist/esm/form/Payment.js.map +0 -1
- package/dist/esm/form/PaymentOverviewBox.js +0 -409
- package/dist/esm/form/PaymentOverviewBox.js.map +0 -1
- package/dist/esm/form/PaymentPending.js +0 -22
- package/dist/esm/form/PaymentPending.js.map +0 -1
- package/dist/esm/form/PaymentSuccess.js +0 -199
- package/dist/esm/form/PaymentSuccess.js.map +0 -1
- package/dist/esm/form/ReleaseCountdown.js +0 -30
- package/dist/esm/form/ReleaseCountdown.js.map +0 -1
- package/dist/esm/form/ReleaseWithMerchandise.js +0 -126
- package/dist/esm/form/ReleaseWithMerchandise.js.map +0 -1
- package/dist/esm/form/ScriptLoader.js +0 -17
- package/dist/esm/form/ScriptLoader.js.map +0 -1
- package/dist/esm/form/Shipping.js +0 -115
- package/dist/esm/form/Shipping.js.map +0 -1
- package/dist/esm/form/TicketForm.js +0 -447
- package/dist/esm/form/TicketForm.js.map +0 -1
- package/dist/esm/form/TicketSelection.js +0 -173
- package/dist/esm/form/TicketSelection.js.map +0 -1
- package/dist/esm/form/TicketSelectionMap.js +0 -63
- package/dist/esm/form/TicketSelectionMap.js.map +0 -1
- package/dist/esm/form/TicketWithMerchandiseSelection.js +0 -117
- package/dist/esm/form/TicketWithMerchandiseSelection.js.map +0 -1
- package/dist/esm/form/TimeslotSelection.js +0 -64
- package/dist/esm/form/TimeslotSelection.js.map +0 -1
- package/dist/esm/form/extra-field/ExtraField.js +0 -16
- package/dist/esm/form/extra-field/ExtraField.js.map +0 -1
- package/dist/esm/form/extra-field/ReleaseExtraFields.js +0 -56
- package/dist/esm/form/extra-field/ReleaseExtraFields.js.map +0 -1
- package/dist/esm/form/index.js +0 -65
- package/dist/esm/form/index.js.map +0 -1
- package/dist/esm/form/payment/FeeBox.js +0 -38
- package/dist/esm/form/payment/FeeBox.js.map +0 -1
- package/dist/esm/form/payment/PaymentOverviewCheckbox.js +0 -44
- package/dist/esm/form/payment/PaymentOverviewCheckbox.js.map +0 -1
- package/dist/esm/form/payment/PaymentSkeleton.js +0 -10
- package/dist/esm/form/payment/PaymentSkeleton.js.map +0 -1
- package/dist/esm/form/product/ProductCard.js +0 -57
- package/dist/esm/form/product/ProductCard.js.map +0 -1
- package/dist/esm/form/product/ProductVariantsDialog.js +0 -169
- package/dist/esm/form/product/ProductVariantsDialog.js.map +0 -1
- package/dist/esm/form/shipping/ShippingSkeleton.js +0 -10
- package/dist/esm/form/shipping/ShippingSkeleton.js.map +0 -1
- package/dist/esm/form/style.js +0 -44
- package/dist/esm/form/style.js.map +0 -1
- package/dist/esm/form/timeslot/TimeslotCalendar.js +0 -53
- package/dist/esm/form/timeslot/TimeslotCalendar.js.map +0 -1
- package/dist/esm/hooks/data/useActiveEventProducts.js +0 -18
- package/dist/esm/hooks/data/useActiveEventProducts.js.map +0 -1
- package/dist/esm/hooks/data/useAllowedPaymentMethods.js +0 -18
- package/dist/esm/hooks/data/useAllowedPaymentMethods.js.map +0 -1
- package/dist/esm/hooks/data/useEvent.js +0 -18
- package/dist/esm/hooks/data/useEvent.js.map +0 -1
- package/dist/esm/hooks/data/useEventActiveReleases.js +0 -22
- package/dist/esm/hooks/data/useEventActiveReleases.js.map +0 -1
- package/dist/esm/hooks/data/useEventShippingMethods.js +0 -18
- package/dist/esm/hooks/data/useEventShippingMethods.js.map +0 -1
- package/dist/esm/hooks/data/useEventTimeslots.js +0 -19
- package/dist/esm/hooks/data/useEventTimeslots.js.map +0 -1
- package/dist/esm/hooks/useCountdown.js +0 -36
- package/dist/esm/hooks/useCountdown.js.map +0 -1
- package/dist/esm/hooks/useDebounce.js +0 -13
- package/dist/esm/hooks/useDebounce.js.map +0 -1
- package/dist/esm/hooks/useErrors.js +0 -24
- package/dist/esm/hooks/useErrors.js.map +0 -1
- package/dist/esm/hooks/useFirstRender.js +0 -12
- package/dist/esm/hooks/useFirstRender.js.map +0 -1
- package/dist/esm/hooks/useGlobal.js +0 -7
- package/dist/esm/hooks/useGlobal.js.map +0 -1
- package/dist/esm/hooks/useResponsive.js +0 -25
- package/dist/esm/hooks/useResponsive.js.map +0 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/locales/cs.js +0 -159
- package/dist/esm/locales/cs.js.map +0 -1
- package/dist/esm/locales/en.js +0 -160
- package/dist/esm/locales/en.js.map +0 -1
- package/dist/esm/locales/es.js +0 -160
- package/dist/esm/locales/es.js.map +0 -1
- package/dist/esm/locales/index.js +0 -7
- package/dist/esm/locales/index.js.map +0 -1
- package/dist/esm/locales/pl.js +0 -160
- package/dist/esm/locales/pl.js.map +0 -1
- package/dist/esm/locales/sk.js +0 -160
- package/dist/esm/locales/sk.js.map +0 -1
- package/dist/esm/locales/uk.js +0 -160
- package/dist/esm/locales/uk.js.map +0 -1
- package/dist/esm/modules/event-timeslot.js +0 -10
- package/dist/esm/modules/event-timeslot.js.map +0 -1
- package/dist/esm/modules/event.js +0 -19
- package/dist/esm/modules/event.js.map +0 -1
- package/dist/esm/modules/order.js +0 -10
- package/dist/esm/modules/order.js.map +0 -1
- package/dist/esm/modules/promo-code.js +0 -11
- package/dist/esm/modules/promo-code.js.map +0 -1
- package/dist/esm/modules/shopping-cart.js +0 -13
- package/dist/esm/modules/shopping-cart.js.map +0 -1
- package/dist/esm/utils/axios.js +0 -16
- package/dist/esm/utils/axios.js.map +0 -1
- package/dist/esm/utils/data/cookie.js +0 -4
- package/dist/esm/utils/data/cookie.js.map +0 -1
- package/dist/esm/utils/data/currency.js +0 -9
- package/dist/esm/utils/data/currency.js.map +0 -1
- package/dist/esm/utils/data/event.js +0 -8
- package/dist/esm/utils/data/event.js.map +0 -1
- package/dist/esm/utils/data/extra-field.js +0 -16
- package/dist/esm/utils/data/extra-field.js.map +0 -1
- package/dist/esm/utils/data/gender.js +0 -9
- package/dist/esm/utils/data/gender.js.map +0 -1
- package/dist/esm/utils/data/global.js +0 -4
- package/dist/esm/utils/data/global.js.map +0 -1
- package/dist/esm/utils/data/gopay.js +0 -14
- package/dist/esm/utils/data/gopay.js.map +0 -1
- package/dist/esm/utils/data/language.js +0 -14
- package/dist/esm/utils/data/language.js.map +0 -1
- package/dist/esm/utils/data/lottie/bank-transfer.json.js +0 -4
- package/dist/esm/utils/data/lottie/bank-transfer.json.js.map +0 -1
- package/dist/esm/utils/data/promo-code.js +0 -8
- package/dist/esm/utils/data/promo-code.js.map +0 -1
- package/dist/esm/utils/data/shipping-method.js +0 -8
- package/dist/esm/utils/data/shipping-method.js.map +0 -1
- package/dist/esm/utils/formatNumber.js +0 -17
- package/dist/esm/utils/formatNumber.js.map +0 -1
- package/dist/esm/utils/global.js +0 -21
- package/dist/esm/utils/global.js.map +0 -1
- package/dist/esm/utils/gtm.js +0 -112
- package/dist/esm/utils/gtm.js.map +0 -1
- package/dist/esm/utils/isBrowser.js +0 -4
- package/dist/esm/utils/isBrowser.js.map +0 -1
- package/dist/esm/utils/place.js +0 -4
- package/dist/esm/utils/place.js.map +0 -1
- package/dist/esm/utils/price.js +0 -12
- package/dist/esm/utils/price.js.map +0 -1
- package/dist/esm/utils/product.js +0 -27
- package/dist/esm/utils/product.js.map +0 -1
- package/dist/esm/utils/translation.js +0 -4
- package/dist/esm/utils/translation.js.map +0 -1
- package/dist/esm/utils/url.js +0 -16
- package/dist/esm/utils/url.js.map +0 -1
- package/dist/types/components/ClientOnly.d.ts +0 -5
- package/dist/types/components/CustomSkeleton.d.ts +0 -4
- package/dist/types/components/Image.d.ts +0 -14
- package/dist/types/components/Label.d.ts +0 -11
- package/dist/types/components/TextIconLabel.d.ts +0 -11
- package/dist/types/components/TicketFormSkeleton.d.ts +0 -3
- package/dist/types/components/Trans.d.ts +0 -12
- package/dist/types/components/animate/DialogAnimate.d.ts +0 -9
- package/dist/types/components/animate/IconButtonAnimate.d.ts +0 -7
- package/dist/types/components/animate/MotionContainer.d.ts +0 -10
- package/dist/types/components/animate/MotionLazyContainer.d.ts +0 -6
- package/dist/types/components/animate/MotionViewport.d.ts +0 -10
- package/dist/types/components/animate/TextAnimate.d.ts +0 -9
- package/dist/types/components/animate/index.d.ts +0 -7
- package/dist/types/components/animate/variants/actions.d.ts +0 -5
- package/dist/types/components/animate/variants/background.d.ts +0 -104
- package/dist/types/components/animate/variants/bounce.d.ts +0 -131
- package/dist/types/components/animate/variants/container.d.ts +0 -19
- package/dist/types/components/animate/variants/fade.d.ts +0 -217
- package/dist/types/components/animate/variants/flip.d.ts +0 -75
- package/dist/types/components/animate/variants/index.d.ts +0 -12
- package/dist/types/components/animate/variants/path.d.ts +0 -14
- package/dist/types/components/animate/variants/rotate.d.ts +0 -39
- package/dist/types/components/animate/variants/scale.d.ts +0 -75
- package/dist/types/components/animate/variants/slide.d.ts +0 -155
- package/dist/types/components/animate/variants/transition.d.ts +0 -13
- package/dist/types/components/animate/variants/zoom.d.ts +0 -199
- package/dist/types/components/confirm-dialog/ConfirmDialog.d.ts +0 -3
- package/dist/types/components/confirm-dialog/index.d.ts +0 -1
- package/dist/types/components/confirm-dialog/types.d.ts +0 -8
- package/dist/types/components/hook-form/FormProvider.d.ts +0 -9
- package/dist/types/components/hook-form/RHFAutocomplete.d.ts +0 -9
- package/dist/types/components/hook-form/RHFCheckbox.d.ts +0 -20
- package/dist/types/components/hook-form/RHFCodes.d.ts +0 -8
- package/dist/types/components/hook-form/RHFDatePicker.d.ts +0 -9
- package/dist/types/components/hook-form/RHFPhone.d.ts +0 -8
- package/dist/types/components/hook-form/RHFRadioGroup.d.ts +0 -14
- package/dist/types/components/hook-form/RHFSelect.d.ts +0 -23
- package/dist/types/components/hook-form/RHFSlider.d.ts +0 -8
- package/dist/types/components/hook-form/RHFSwitch.d.ts +0 -8
- package/dist/types/components/hook-form/RHFTextField.d.ts +0 -7
- package/dist/types/components/hook-form/index.d.ts +0 -9
- package/dist/types/components/iconify/Iconify.d.ts +0 -10
- package/dist/types/components/iconify/index.d.ts +0 -2
- package/dist/types/components/iconify/types.d.ts +0 -2
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/context/GlobalContext.d.ts +0 -16
- package/dist/types/form/ChildEventCard.d.ts +0 -7
- package/dist/types/form/ChildEventDialog.d.ts +0 -9
- package/dist/types/form/ChildEvents.d.ts +0 -8
- package/dist/types/form/ContactPerson.d.ts +0 -7
- package/dist/types/form/EmailConfirmation.d.ts +0 -8
- package/dist/types/form/MerchandiseSelection.d.ts +0 -9
- package/dist/types/form/OrderSuccess.d.ts +0 -9
- package/dist/types/form/Payment.d.ts +0 -7
- package/dist/types/form/PaymentOverviewBox.d.ts +0 -7
- package/dist/types/form/PaymentPending.d.ts +0 -3
- package/dist/types/form/PaymentSuccess.d.ts +0 -9
- package/dist/types/form/ReleaseCountdown.d.ts +0 -8
- package/dist/types/form/ReleaseWithMerchandise.d.ts +0 -12
- package/dist/types/form/ScriptLoader.d.ts +0 -3
- package/dist/types/form/Shipping.d.ts +0 -7
- package/dist/types/form/TicketForm.d.ts +0 -11
- package/dist/types/form/TicketSelection.d.ts +0 -7
- package/dist/types/form/TicketSelectionMap.d.ts +0 -7
- package/dist/types/form/TicketWithMerchandiseSelection.d.ts +0 -7
- package/dist/types/form/TimeslotSelection.d.ts +0 -7
- package/dist/types/form/extra-field/ExtraField.d.ts +0 -9
- package/dist/types/form/extra-field/ReleaseExtraFields.d.ts +0 -10
- package/dist/types/form/index.d.ts +0 -26
- package/dist/types/form/payment/FeeBox.d.ts +0 -8
- package/dist/types/form/payment/PaymentOverviewCheckbox.d.ts +0 -12
- package/dist/types/form/payment/PaymentSkeleton.d.ts +0 -7
- package/dist/types/form/product/ProductCard.d.ts +0 -9
- package/dist/types/form/product/ProductVariantsDialog.d.ts +0 -14
- package/dist/types/form/shipping/ShippingSkeleton.d.ts +0 -7
- package/dist/types/form/style.d.ts +0 -11
- package/dist/types/form/timeslot/TimeslotCalendar.d.ts +0 -12
- package/dist/types/hooks/data/useActiveEventProducts.d.ts +0 -8
- package/dist/types/hooks/data/useAllowedPaymentMethods.d.ts +0 -9
- package/dist/types/hooks/data/useEvent.d.ts +0 -8
- package/dist/types/hooks/data/useEventActiveReleases.d.ts +0 -8
- package/dist/types/hooks/data/useEventShippingMethods.d.ts +0 -8
- package/dist/types/hooks/data/useEventTimeslots.d.ts +0 -10
- package/dist/types/hooks/useCountdown.d.ts +0 -6
- package/dist/types/hooks/useDebounce.d.ts +0 -1
- package/dist/types/hooks/useErrors.d.ts +0 -4
- package/dist/types/hooks/useEventListener.d.ts +0 -5
- package/dist/types/hooks/useFirstRender.d.ts +0 -1
- package/dist/types/hooks/useGlobal.d.ts +0 -2
- package/dist/types/hooks/useResponsive.d.ts +0 -8
- package/dist/types/index.d.ts +0 -4
- package/dist/types/locales/cs.d.ts +0 -157
- package/dist/types/locales/en.d.ts +0 -158
- package/dist/types/locales/es.d.ts +0 -158
- package/dist/types/locales/index.d.ts +0 -6
- package/dist/types/locales/pl.d.ts +0 -158
- package/dist/types/locales/sk.d.ts +0 -158
- package/dist/types/locales/uk.d.ts +0 -158
- package/dist/types/modules/event-timeslot.d.ts +0 -2
- package/dist/types/modules/event.d.ts +0 -5
- package/dist/types/modules/order.d.ts +0 -7
- package/dist/types/modules/promo-code.d.ts +0 -1
- package/dist/types/modules/shopping-cart.d.ts +0 -4
- package/dist/types/utils/axios.d.ts +0 -2
- package/dist/types/utils/data/cookie.d.ts +0 -1
- package/dist/types/utils/data/currency.d.ts +0 -5
- package/dist/types/utils/data/event.d.ts +0 -4
- package/dist/types/utils/data/extra-field.d.ts +0 -11
- package/dist/types/utils/data/gender.d.ts +0 -5
- package/dist/types/utils/data/global.d.ts +0 -1
- package/dist/types/utils/data/gopay.d.ts +0 -10
- package/dist/types/utils/data/language.d.ts +0 -10
- package/dist/types/utils/data/order.d.ts +0 -4
- package/dist/types/utils/data/product.d.ts +0 -3
- package/dist/types/utils/data/promo-code.d.ts +0 -4
- package/dist/types/utils/data/shipping-method.d.ts +0 -4
- package/dist/types/utils/data/shopping-cart.d.ts +0 -5
- package/dist/types/utils/formatNumber.d.ts +0 -8
- package/dist/types/utils/global.d.ts +0 -4
- package/dist/types/utils/gtm.d.ts +0 -28
- package/dist/types/utils/isBrowser.d.ts +0 -1
- package/dist/types/utils/place.d.ts +0 -2
- package/dist/types/utils/price.d.ts +0 -5
- package/dist/types/utils/product.d.ts +0 -3
- package/dist/types/utils/translation.d.ts +0 -2
- package/dist/types/utils/types/animate.d.ts +0 -26
- package/dist/types/utils/types/artist.type.d.ts +0 -17
- package/dist/types/utils/types/company.type.d.ts +0 -12
- package/dist/types/utils/types/country.type.d.ts +0 -39
- package/dist/types/utils/types/customer.type.d.ts +0 -10
- package/dist/types/utils/types/event-product.type.d.ts +0 -15
- package/dist/types/utils/types/event-timeslot.type.d.ts +0 -15
- package/dist/types/utils/types/event.type.d.ts +0 -67
- package/dist/types/utils/types/extra-field.type.d.ts +0 -18
- package/dist/types/utils/types/file.type.d.ts +0 -6
- package/dist/types/utils/types/global.type.d.ts +0 -76
- package/dist/types/utils/types/gtm.type.d.ts +0 -90
- package/dist/types/utils/types/locale.type.d.ts +0 -4
- package/dist/types/utils/types/order.type.d.ts +0 -69
- package/dist/types/utils/types/palette.type.d.ts +0 -1
- package/dist/types/utils/types/payment-method.type.d.ts +0 -23
- package/dist/types/utils/types/pixel.type.d.ts +0 -7
- package/dist/types/utils/types/place.type.d.ts +0 -19
- package/dist/types/utils/types/product-image.type.d.ts +0 -5
- package/dist/types/utils/types/product-parameter.type.d.ts +0 -7
- package/dist/types/utils/types/product-variant.type.d.ts +0 -9
- package/dist/types/utils/types/product.type.d.ts +0 -57
- package/dist/types/utils/types/project.type.d.ts +0 -24
- package/dist/types/utils/types/promo-code.type.d.ts +0 -15
- package/dist/types/utils/types/release-category.type.d.ts +0 -17
- package/dist/types/utils/types/release.type.d.ts +0 -28
- package/dist/types/utils/types/shipping-method.type.d.ts +0 -11
- package/dist/types/utils/types/shopping-cart.type.d.ts +0 -78
- package/dist/types/utils/types/ticket.type.d.ts +0 -110
- package/dist/types/utils/types/translation.type.d.ts +0 -18
- package/dist/types/utils/types/user.type.d.ts +0 -9
- package/dist/types/utils/url.d.ts +0 -1
- package/src/form/MerchandiseSelection.tsx +0 -29
- package/src/form/ReleaseWithMerchandise.tsx +0 -230
- /package/src/form/{TicketSelectionMap.tsx → tickets/TicketSelectionMap.tsx} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Languages } from '@utils/data/language';
|
|
3
|
-
import { IUser } from '@utils/types/user.type.ts';
|
|
4
|
-
export type PropsWithChildren<P = unknown> = P & {
|
|
5
|
-
children?: ReactNode | undefined;
|
|
6
|
-
};
|
|
7
|
-
export interface IGlobalContext {
|
|
8
|
-
lang: Languages;
|
|
9
|
-
setGlobal: (value: Partial<IGlobalContext>) => void;
|
|
10
|
-
t: (key: string, params?: Record<string, string | number>) => string;
|
|
11
|
-
showSnackbar: (text: string, options?: {
|
|
12
|
-
variant: 'success' | 'error';
|
|
13
|
-
}) => void;
|
|
14
|
-
callbacks: IGlobalContextCallbacks;
|
|
15
|
-
links: IGlobalContextLinks;
|
|
16
|
-
options?: IGlobalContextOptions;
|
|
17
|
-
user?: IUser;
|
|
18
|
-
content?: IContent;
|
|
19
|
-
seatingIframeUrl?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IGlobalContextCallbacks {
|
|
22
|
-
homepage: () => void;
|
|
23
|
-
tickets: () => void;
|
|
24
|
-
detail: () => void;
|
|
25
|
-
}
|
|
26
|
-
export interface IGlobalContextLinks {
|
|
27
|
-
termsAndConditions: string;
|
|
28
|
-
gdpr: string;
|
|
29
|
-
}
|
|
30
|
-
export interface IGlobalContextOptions {
|
|
31
|
-
packetaApiKey?: string;
|
|
32
|
-
isIframe?: boolean;
|
|
33
|
-
stickyHeaderTop?: number;
|
|
34
|
-
termsAndConditionsCompanies?: string[];
|
|
35
|
-
autoscrollAfterViewChange?: boolean;
|
|
36
|
-
hasGopayId?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface IBase {
|
|
39
|
-
id: number;
|
|
40
|
-
createdAt: Date;
|
|
41
|
-
updatedAt: Date;
|
|
42
|
-
deletedAt: Date | null;
|
|
43
|
-
}
|
|
44
|
-
export interface IResponse<D> {
|
|
45
|
-
data: D;
|
|
46
|
-
message: string;
|
|
47
|
-
}
|
|
48
|
-
export interface IPaginate<D> {
|
|
49
|
-
data: D;
|
|
50
|
-
meta: IMeta;
|
|
51
|
-
}
|
|
52
|
-
export interface IMeta {
|
|
53
|
-
perPage: number;
|
|
54
|
-
page: number;
|
|
55
|
-
total: number;
|
|
56
|
-
}
|
|
57
|
-
export interface IContent {
|
|
58
|
-
form?: {
|
|
59
|
-
disableBirthDate?: boolean;
|
|
60
|
-
disableGender?: boolean;
|
|
61
|
-
};
|
|
62
|
-
orderConfirmation?: {
|
|
63
|
-
title?: string;
|
|
64
|
-
image?: IContentImage;
|
|
65
|
-
};
|
|
66
|
-
paymentConfirmation?: {
|
|
67
|
-
title?: string;
|
|
68
|
-
status?: string;
|
|
69
|
-
subtitle?: string;
|
|
70
|
-
image?: IContentImage;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export interface IContentImage {
|
|
74
|
-
src: string;
|
|
75
|
-
maxWidth?: string;
|
|
76
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
interface IBase {
|
|
2
|
-
ip: string;
|
|
3
|
-
user_data?: IUserData | null;
|
|
4
|
-
}
|
|
5
|
-
export interface IPageView extends IBase {
|
|
6
|
-
event: string;
|
|
7
|
-
page: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IPageType extends IBase {
|
|
10
|
-
visitorType: string;
|
|
11
|
-
clientID: string | undefined;
|
|
12
|
-
pageType: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ISearchShow extends IBase {
|
|
15
|
-
event: 'search';
|
|
16
|
-
eventAction: 'showSearchWindow' | 'userSearchInSearchWindow';
|
|
17
|
-
}
|
|
18
|
-
export interface IItem {
|
|
19
|
-
item_name: string;
|
|
20
|
-
item_id: string;
|
|
21
|
-
quantity: number;
|
|
22
|
-
}
|
|
23
|
-
export interface ICartItem extends IItem {
|
|
24
|
-
price: number;
|
|
25
|
-
}
|
|
26
|
-
export interface IEcommerce {
|
|
27
|
-
currency: string;
|
|
28
|
-
items: IItem[];
|
|
29
|
-
}
|
|
30
|
-
export interface IEcommerceCartItems {
|
|
31
|
-
currency: string;
|
|
32
|
-
value: number;
|
|
33
|
-
payment_type: string;
|
|
34
|
-
items: ICartItem[];
|
|
35
|
-
}
|
|
36
|
-
export interface IEcommercePurchase {
|
|
37
|
-
tax: number;
|
|
38
|
-
transaction_id: string;
|
|
39
|
-
currency: string;
|
|
40
|
-
value: number;
|
|
41
|
-
payment_type: string;
|
|
42
|
-
coupon: string[];
|
|
43
|
-
items: ICartItem[];
|
|
44
|
-
}
|
|
45
|
-
export interface IUserData {
|
|
46
|
-
em: string;
|
|
47
|
-
ph: string;
|
|
48
|
-
ln: string;
|
|
49
|
-
fn: string;
|
|
50
|
-
}
|
|
51
|
-
export interface IViewItem extends IBase {
|
|
52
|
-
event: 'view_item';
|
|
53
|
-
ecommerce: IEcommerce;
|
|
54
|
-
}
|
|
55
|
-
export interface IViewItemList extends IBase {
|
|
56
|
-
event: 'view_item_list';
|
|
57
|
-
}
|
|
58
|
-
export interface ISelectItem extends IBase {
|
|
59
|
-
event: 'select_item';
|
|
60
|
-
}
|
|
61
|
-
export interface ICheckout extends IBase {
|
|
62
|
-
event: 'begin_checkout' | 'view_cart';
|
|
63
|
-
ecommerce: IEcommerce;
|
|
64
|
-
}
|
|
65
|
-
export interface IAddToCart extends IBase {
|
|
66
|
-
event: 'add_to_cart';
|
|
67
|
-
}
|
|
68
|
-
export interface IRemoveFromCart extends IBase {
|
|
69
|
-
event: 'remove_from_cart';
|
|
70
|
-
ecommerce: IEcommerceCartItems;
|
|
71
|
-
}
|
|
72
|
-
export interface IAddPaymentInfo extends IBase {
|
|
73
|
-
event: 'add_payment_info';
|
|
74
|
-
ecommerce: IEcommerceCartItems;
|
|
75
|
-
}
|
|
76
|
-
export interface IPurchase extends IBase {
|
|
77
|
-
event: 'purchase';
|
|
78
|
-
ecommerce: IEcommercePurchase | null;
|
|
79
|
-
user_data: IUserData | null;
|
|
80
|
-
}
|
|
81
|
-
export interface IPurchasePaid extends IBase {
|
|
82
|
-
event: 'purchase_paid';
|
|
83
|
-
ecommerce: IEcommercePurchase | null;
|
|
84
|
-
user_data: IUserData | null;
|
|
85
|
-
}
|
|
86
|
-
export interface IPixels {
|
|
87
|
-
fb_pixel_id?: number | string;
|
|
88
|
-
tiktok_pixel_id?: number | string;
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { GopayState } from '@utils/data/gopay';
|
|
2
|
-
import { ICreateTicket, IPaidTicket, ITicket } from '@utils/types/ticket.type';
|
|
3
|
-
import { Currencies } from '@utils/data/currency';
|
|
4
|
-
import { IBase } from '@utils/types/global.type';
|
|
5
|
-
import { ICustomer } from '@utils/types/customer.type';
|
|
6
|
-
import { IEvent } from '@utils/types/event.type';
|
|
7
|
-
import { IPromoCode } from '@utils/types/promo-code.type';
|
|
8
|
-
import { IPaidProduct } from '@utils/types/product.type';
|
|
9
|
-
export interface IOrder extends IBase {
|
|
10
|
-
gwUrl: string;
|
|
11
|
-
tickets: ITicket[];
|
|
12
|
-
extraFee: number;
|
|
13
|
-
currency: Currencies;
|
|
14
|
-
paymentType: string;
|
|
15
|
-
paymentMethodId: number;
|
|
16
|
-
paymentMethodOptionId: number;
|
|
17
|
-
totalPrice: number;
|
|
18
|
-
number: number;
|
|
19
|
-
event: IEvent;
|
|
20
|
-
promoCodes: IPromoCode[] | null;
|
|
21
|
-
}
|
|
22
|
-
export interface IOrderCreate {
|
|
23
|
-
gwUrl: string;
|
|
24
|
-
tickets: ICreateTicket[];
|
|
25
|
-
orderEntity: IOrder;
|
|
26
|
-
customer: ICustomer;
|
|
27
|
-
}
|
|
28
|
-
export interface IOrderPaidData {
|
|
29
|
-
gopayId: number;
|
|
30
|
-
}
|
|
31
|
-
export interface IOrderPaid {
|
|
32
|
-
gwUrl: string;
|
|
33
|
-
state: GopayState;
|
|
34
|
-
totalPrice: number;
|
|
35
|
-
paymentType: string;
|
|
36
|
-
orderNumber: number;
|
|
37
|
-
tickets: IPaidTicket[];
|
|
38
|
-
products: IPaidProduct[];
|
|
39
|
-
extraFee: number;
|
|
40
|
-
currency: Currencies;
|
|
41
|
-
promoCodes: IPromoCode[] | null;
|
|
42
|
-
}
|
|
43
|
-
export interface IAllowedPaymentMethod {
|
|
44
|
-
enabledPaymentInstruments: IPaymentInstrument[];
|
|
45
|
-
}
|
|
46
|
-
export interface IPaymentInstrument {
|
|
47
|
-
enabledSwifts: IPaymentSwift[] | null;
|
|
48
|
-
enabledBnplTypes: IPaymentBnplType[] | null;
|
|
49
|
-
group: string;
|
|
50
|
-
image: IPaymentImage;
|
|
51
|
-
label: IPaymentLabel;
|
|
52
|
-
paymentInstrument: string;
|
|
53
|
-
}
|
|
54
|
-
export interface IPaymentSwift {
|
|
55
|
-
image: IPaymentImage;
|
|
56
|
-
isOnline: boolean;
|
|
57
|
-
label: IPaymentLabel;
|
|
58
|
-
swift: string;
|
|
59
|
-
}
|
|
60
|
-
export interface IPaymentBnplType {
|
|
61
|
-
image: IPaymentImage;
|
|
62
|
-
bnplType: boolean;
|
|
63
|
-
label: IPaymentLabel;
|
|
64
|
-
}
|
|
65
|
-
export interface IPaymentImage {
|
|
66
|
-
large: string;
|
|
67
|
-
normal: string;
|
|
68
|
-
}
|
|
69
|
-
export type IPaymentLabel = Record<string, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IFile } from '@utils/types/file.type';
|
|
2
|
-
import { IBase } from '@utils/types/global.type';
|
|
3
|
-
import { Currencies } from '@utils/data/currency';
|
|
4
|
-
export type LocalizedLabel = Record<string, string>;
|
|
5
|
-
export interface IPaymentMethod extends IBase {
|
|
6
|
-
type: string;
|
|
7
|
-
currency: Currencies;
|
|
8
|
-
label: LocalizedLabel;
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
options: IPaymentOption[];
|
|
11
|
-
provider: string;
|
|
12
|
-
image: IFile;
|
|
13
|
-
feeType: string;
|
|
14
|
-
feeValue: number;
|
|
15
|
-
}
|
|
16
|
-
export interface IPaymentOption extends IBase {
|
|
17
|
-
category: string;
|
|
18
|
-
type: string;
|
|
19
|
-
label: LocalizedLabel;
|
|
20
|
-
image: IFile;
|
|
21
|
-
isOnline: boolean;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { IFile } from '@utils/types/file.type';
|
|
3
|
-
import { ITranslation } from '@utils/types/translation.type';
|
|
4
|
-
export interface IPlace extends IBase {
|
|
5
|
-
name: string;
|
|
6
|
-
slug: string;
|
|
7
|
-
image: IFile | null;
|
|
8
|
-
address: string;
|
|
9
|
-
zip: string;
|
|
10
|
-
city: string;
|
|
11
|
-
country: string;
|
|
12
|
-
countryCode: string;
|
|
13
|
-
lat: string;
|
|
14
|
-
long: string;
|
|
15
|
-
website: string | null;
|
|
16
|
-
capacity: number | null;
|
|
17
|
-
category: ITranslation | null;
|
|
18
|
-
likedByCurrentUser?: boolean;
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { ProductParameterTypes } from '@utils/data/product';
|
|
3
|
-
import { ITranslation } from '@utils/types/translation.type';
|
|
4
|
-
export interface IProductParameter extends IBase {
|
|
5
|
-
name: ITranslation;
|
|
6
|
-
type: ProductParameterTypes;
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { ICompany } from '@utils/types/company.type';
|
|
3
|
-
import { ITranslation } from '@utils/types/translation.type';
|
|
4
|
-
import { IProductImage } from '@utils/types/product-image.type';
|
|
5
|
-
import { IProductVariant } from '@utils/types/product-variant.type';
|
|
6
|
-
import { IProductParameter } from '@utils/types/product-parameter.type';
|
|
7
|
-
import { Currencies } from '@utils/data/currency';
|
|
8
|
-
import { IFile } from '@utils/types/file.type';
|
|
9
|
-
export interface IProduct extends IBase {
|
|
10
|
-
company: ICompany;
|
|
11
|
-
currency: Currencies;
|
|
12
|
-
sku: string;
|
|
13
|
-
ean: string | null;
|
|
14
|
-
name: string;
|
|
15
|
-
priceWithoutVat: number;
|
|
16
|
-
priceWithVat: number;
|
|
17
|
-
vatPercentage: number;
|
|
18
|
-
description: string;
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
depth: number;
|
|
22
|
-
weight: number;
|
|
23
|
-
category: ITranslation;
|
|
24
|
-
verified: boolean;
|
|
25
|
-
previewImage: IFile;
|
|
26
|
-
images: IProductImage[];
|
|
27
|
-
variants: IProductVariant[];
|
|
28
|
-
productParameter: IProductParameter;
|
|
29
|
-
available: boolean;
|
|
30
|
-
}
|
|
31
|
-
export interface IEventProductForm {
|
|
32
|
-
eventProductVariantId: number;
|
|
33
|
-
productVariantId: number;
|
|
34
|
-
quantity: number;
|
|
35
|
-
price: number;
|
|
36
|
-
excludedShippingMethodIds: number[];
|
|
37
|
-
}
|
|
38
|
-
export interface IEventProductVariantForm {
|
|
39
|
-
variantId: number;
|
|
40
|
-
priceWithoutVat: number;
|
|
41
|
-
priceWithVat: number;
|
|
42
|
-
vatPercentage: number;
|
|
43
|
-
}
|
|
44
|
-
export interface IPaidProduct {
|
|
45
|
-
name: string;
|
|
46
|
-
variantName: string;
|
|
47
|
-
price: number;
|
|
48
|
-
currency: Currencies;
|
|
49
|
-
imageUrl: string;
|
|
50
|
-
}
|
|
51
|
-
export interface ISelectedProductVariant {
|
|
52
|
-
variantId: number;
|
|
53
|
-
eventId: string;
|
|
54
|
-
name: string;
|
|
55
|
-
price: number;
|
|
56
|
-
quantity: number;
|
|
57
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { IEvent } from '@utils/types/event.type';
|
|
3
|
-
import { IArtist } from '@utils/types/artist.type';
|
|
4
|
-
import { IFile } from '@utils/types/file.type';
|
|
5
|
-
import { Currencies } from '@utils/data/currency';
|
|
6
|
-
export interface IProject extends IBase {
|
|
7
|
-
name: string;
|
|
8
|
-
slug: string;
|
|
9
|
-
description: string;
|
|
10
|
-
organizer: string;
|
|
11
|
-
image: IFile | null;
|
|
12
|
-
hideImageOnMobile: boolean;
|
|
13
|
-
background: IFile | null;
|
|
14
|
-
events: IEvent[];
|
|
15
|
-
artists: IArtist[];
|
|
16
|
-
minStartDate: Date | null;
|
|
17
|
-
maxStartDate: Date | null;
|
|
18
|
-
minPrice: number;
|
|
19
|
-
maxPrice: number;
|
|
20
|
-
price: Record<Currencies, {
|
|
21
|
-
min?: number;
|
|
22
|
-
max?: number;
|
|
23
|
-
}>;
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { PromoCodeTypes } from '@utils/data/promo-code';
|
|
3
|
-
export interface IPromoCode extends IBase {
|
|
4
|
-
name: string;
|
|
5
|
-
code: string;
|
|
6
|
-
value: number;
|
|
7
|
-
type: PromoCodeTypes;
|
|
8
|
-
startDate: Date | null;
|
|
9
|
-
endDate: Date | null;
|
|
10
|
-
active: boolean;
|
|
11
|
-
combine: string;
|
|
12
|
-
maxUses: number | null;
|
|
13
|
-
minPurchaseAmount: number;
|
|
14
|
-
applyDiscountToProducts: boolean;
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IEvent } from '@utils/types/event.type';
|
|
2
|
-
import { IBase } from '@utils/types/global.type';
|
|
3
|
-
import { IReleaseShort } from '@utils/types/release.type';
|
|
4
|
-
import { IBaseLocale } from '@utils/types/locale.type';
|
|
5
|
-
export interface IReleaseCategory extends IBase {
|
|
6
|
-
name: string;
|
|
7
|
-
event: IEvent;
|
|
8
|
-
groupQuantity: number;
|
|
9
|
-
releases: IReleaseShort[];
|
|
10
|
-
translation: IReleaseCategoryTranslation[];
|
|
11
|
-
totalTickets: number;
|
|
12
|
-
}
|
|
13
|
-
interface IReleaseCategoryTranslation extends IBaseLocale {
|
|
14
|
-
name: string;
|
|
15
|
-
description: string;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { IReleaseCategory } from '@utils/types/release-category.type';
|
|
3
|
-
import { IEventProduct } from '@utils/types/event-product.type';
|
|
4
|
-
import { IEventExtraField } from '@utils/types/extra-field.type';
|
|
5
|
-
export interface IReleaseShort {
|
|
6
|
-
id: number;
|
|
7
|
-
name: string;
|
|
8
|
-
price: number;
|
|
9
|
-
availableTickets: number;
|
|
10
|
-
releaseCategoryName: string;
|
|
11
|
-
locked: boolean;
|
|
12
|
-
order: number;
|
|
13
|
-
description: string;
|
|
14
|
-
product: IEventProduct | null;
|
|
15
|
-
extraFields: IEventExtraField[] | null;
|
|
16
|
-
}
|
|
17
|
-
export interface IRelease extends IBase {
|
|
18
|
-
name: string;
|
|
19
|
-
price: number;
|
|
20
|
-
quantity: number;
|
|
21
|
-
order: number;
|
|
22
|
-
releaseCategory: IReleaseCategory;
|
|
23
|
-
soldOut: boolean;
|
|
24
|
-
hidden: boolean;
|
|
25
|
-
totalTickets: number;
|
|
26
|
-
startDate: string | null;
|
|
27
|
-
endDate: string | null;
|
|
28
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IBase } from '@utils/types/global.type';
|
|
2
|
-
import { Currencies } from '@utils/data/currency';
|
|
3
|
-
import { ShippingTypes } from '@utils/data/shipping-method';
|
|
4
|
-
export interface IShippingMethod extends IBase {
|
|
5
|
-
type: ShippingTypes;
|
|
6
|
-
price: number;
|
|
7
|
-
currency: Currencies;
|
|
8
|
-
}
|
|
9
|
-
export interface IShippingMethodFilter {
|
|
10
|
-
currency?: Currencies;
|
|
11
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { IPromoCode } from '@utils/types/promo-code.type';
|
|
2
|
-
import { ITicketFormTicket } from '@utils/types/ticket.type';
|
|
3
|
-
import { IEventProductForm } from '@utils/types/product.type';
|
|
4
|
-
import { Dayjs } from 'dayjs';
|
|
5
|
-
import { ShoppingCartStatus } from '@utils/data/shopping-cart';
|
|
6
|
-
export interface ICalculateShoppingCartDto {
|
|
7
|
-
uuid?: string | null;
|
|
8
|
-
eventId: number;
|
|
9
|
-
tickets?: {
|
|
10
|
-
[eventId: string]: ITicketFormTicket[];
|
|
11
|
-
};
|
|
12
|
-
promoCodeIds?: number[] | null;
|
|
13
|
-
products?: {
|
|
14
|
-
[eventId: string]: IEventProductForm[];
|
|
15
|
-
};
|
|
16
|
-
eventTimeslotId?: number;
|
|
17
|
-
language?: string;
|
|
18
|
-
shipping?: {
|
|
19
|
-
shippingMethodId: number | null;
|
|
20
|
-
branchId: string | null;
|
|
21
|
-
price: number;
|
|
22
|
-
};
|
|
23
|
-
firstName?: string | null;
|
|
24
|
-
lastName?: string | null;
|
|
25
|
-
email?: string | null;
|
|
26
|
-
phone?: string | null;
|
|
27
|
-
birthdate?: Dayjs | null;
|
|
28
|
-
gender?: string | null;
|
|
29
|
-
paymentMethodId?: number | null;
|
|
30
|
-
paymentMethodOptionId?: number | null;
|
|
31
|
-
ticketInsurance?: boolean;
|
|
32
|
-
smsNotification?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface ITicketInsurance {
|
|
35
|
-
enabled: boolean;
|
|
36
|
-
price: number;
|
|
37
|
-
pricePerUnit: number;
|
|
38
|
-
}
|
|
39
|
-
export interface ISmsNotification {
|
|
40
|
-
enabled: boolean;
|
|
41
|
-
price: number;
|
|
42
|
-
}
|
|
43
|
-
export interface IShoppingCartDto {
|
|
44
|
-
id: number;
|
|
45
|
-
uuid: string;
|
|
46
|
-
eventId: number;
|
|
47
|
-
status: ShoppingCartStatus;
|
|
48
|
-
tickets: {
|
|
49
|
-
[eventId: string]: ITicketFormTicket[];
|
|
50
|
-
};
|
|
51
|
-
products: {
|
|
52
|
-
[eventId: string]: IEventProductForm[];
|
|
53
|
-
};
|
|
54
|
-
originalPrice: number;
|
|
55
|
-
totalPrice: number;
|
|
56
|
-
ticketsTotalPrice: number;
|
|
57
|
-
ticketProductsTotal: number;
|
|
58
|
-
productsTotalPrice: number;
|
|
59
|
-
shippingFee: number;
|
|
60
|
-
serviceFee: number;
|
|
61
|
-
paymentMethodFee: number;
|
|
62
|
-
promoCodes: IPromoCode[];
|
|
63
|
-
email: string | null;
|
|
64
|
-
phone: string | null;
|
|
65
|
-
firstName: string | null;
|
|
66
|
-
lastName: string | null;
|
|
67
|
-
birthdate: string | null;
|
|
68
|
-
gender: string | null;
|
|
69
|
-
shipping: {
|
|
70
|
-
shippingMethodId: number | null;
|
|
71
|
-
branchId: string | null;
|
|
72
|
-
price: number;
|
|
73
|
-
};
|
|
74
|
-
paymentMethodId: number | null;
|
|
75
|
-
paymentMethodOptionId: number | null;
|
|
76
|
-
ticketInsurance: ITicketInsurance;
|
|
77
|
-
smsNotification: ISmsNotification;
|
|
78
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
import { IPlace } from '@utils/types/place.type';
|
|
3
|
-
import { Currencies } from '@utils/data/currency';
|
|
4
|
-
import { IPromoCode } from '@utils/types/promo-code.type';
|
|
5
|
-
import { IEventProductForm } from '@utils/types/product.type';
|
|
6
|
-
import { IExtraFieldForm } from '@utils/types/extra-field.type';
|
|
7
|
-
import { IEventTimeslot } from '@utils/types/event-timeslot.type';
|
|
8
|
-
import { IBase } from '@utils/types/global.type';
|
|
9
|
-
import { IOrder } from '@utils/types/order.type';
|
|
10
|
-
import { IFile } from '@utils/types/file.type';
|
|
11
|
-
import { IRelease } from '@utils/types/release.type';
|
|
12
|
-
import { TicketSelection } from '@seat-picker/seat-picker-sdk';
|
|
13
|
-
export interface ITicket extends IBase {
|
|
14
|
-
hidden: boolean;
|
|
15
|
-
name: string;
|
|
16
|
-
price: number;
|
|
17
|
-
quantity: number;
|
|
18
|
-
release: IRelease;
|
|
19
|
-
usedAt: string | null;
|
|
20
|
-
order: IOrder | null;
|
|
21
|
-
number: string;
|
|
22
|
-
qrUrl?: string;
|
|
23
|
-
pdf?: IFile;
|
|
24
|
-
applePassWallet?: IFile;
|
|
25
|
-
googlePassWallet?: IFile;
|
|
26
|
-
}
|
|
27
|
-
export interface ITicketFormTicket {
|
|
28
|
-
releaseId: number | '';
|
|
29
|
-
quantity: number | '';
|
|
30
|
-
itemName: string;
|
|
31
|
-
price: number;
|
|
32
|
-
products: IEventProductForm[];
|
|
33
|
-
extraFields: IExtraFieldForm[][];
|
|
34
|
-
eventTimeslotId?: number | null;
|
|
35
|
-
location?: ITicketLocation | null;
|
|
36
|
-
}
|
|
37
|
-
export interface ITicketLocation {
|
|
38
|
-
id: string;
|
|
39
|
-
type: TicketSelection[number]['locationType'];
|
|
40
|
-
locationDescription?: {
|
|
41
|
-
type: TicketSelection[number]['locationTypeDescription'][number]['type'] | 'custom';
|
|
42
|
-
label: string;
|
|
43
|
-
value: string;
|
|
44
|
-
}[] | null;
|
|
45
|
-
}
|
|
46
|
-
export type EventTicketsType = {
|
|
47
|
-
[eventId: string]: ITicketFormTicket[];
|
|
48
|
-
};
|
|
49
|
-
export interface ITicketForm {
|
|
50
|
-
uuid?: string | null;
|
|
51
|
-
eventId: number;
|
|
52
|
-
tickets: EventTicketsType;
|
|
53
|
-
total: number;
|
|
54
|
-
originalPrice: number;
|
|
55
|
-
firstName: string;
|
|
56
|
-
lastName: string;
|
|
57
|
-
email: string;
|
|
58
|
-
phone: string;
|
|
59
|
-
birthdate: Dayjs | null;
|
|
60
|
-
gender: string;
|
|
61
|
-
callback: string;
|
|
62
|
-
paymentMethodId: number | null;
|
|
63
|
-
paymentMethodOptionId: number | null;
|
|
64
|
-
termsAndConditions: boolean;
|
|
65
|
-
ticketInsurance: boolean;
|
|
66
|
-
ticketInsurancePrice: number;
|
|
67
|
-
ticketInsurancePricePerUnit: number;
|
|
68
|
-
smsNotification: boolean;
|
|
69
|
-
smsNotificationPrice: number;
|
|
70
|
-
iframeCampaignId?: number;
|
|
71
|
-
products: {
|
|
72
|
-
[eventId: string]: IEventProductForm[];
|
|
73
|
-
};
|
|
74
|
-
shipping: {
|
|
75
|
-
shippingMethodId: number | null;
|
|
76
|
-
branchId: string | null;
|
|
77
|
-
price: number;
|
|
78
|
-
};
|
|
79
|
-
extraFields: IExtraFieldForm[];
|
|
80
|
-
selectedDate: string | null;
|
|
81
|
-
eventTimeslotId: number | null;
|
|
82
|
-
promoCodes: IPromoCode[];
|
|
83
|
-
totalFee?: number | null;
|
|
84
|
-
isPaymentVerify: boolean;
|
|
85
|
-
}
|
|
86
|
-
export interface ITicketBody extends ITicketForm {
|
|
87
|
-
promoCodeIds: number[];
|
|
88
|
-
}
|
|
89
|
-
export interface IPaidTicket {
|
|
90
|
-
eventName: string;
|
|
91
|
-
releaseName: string;
|
|
92
|
-
releaseCategoryName: string;
|
|
93
|
-
qrUrl: string;
|
|
94
|
-
price: number;
|
|
95
|
-
number: string;
|
|
96
|
-
location: IPlace;
|
|
97
|
-
pdfUrl?: string;
|
|
98
|
-
applePassWalletUrl?: string;
|
|
99
|
-
googlePassWalletUrl?: string;
|
|
100
|
-
currency: Currencies;
|
|
101
|
-
firstName?: string;
|
|
102
|
-
lastName?: string;
|
|
103
|
-
eventTimeslot?: IEventTimeslot;
|
|
104
|
-
}
|
|
105
|
-
export interface ICreateTicket {
|
|
106
|
-
releaseName: string;
|
|
107
|
-
releaseCategoryName: string;
|
|
108
|
-
price: number;
|
|
109
|
-
number: string;
|
|
110
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IBaseLocale } from '@utils/types/locale.type';
|
|
2
|
-
import { IBase } from '@utils/types/global.type';
|
|
3
|
-
export interface IFaq {
|
|
4
|
-
title: string;
|
|
5
|
-
content: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ITranslation extends IBase {
|
|
8
|
-
value: {
|
|
9
|
-
text: string;
|
|
10
|
-
} & IBaseLocale;
|
|
11
|
-
}
|
|
12
|
-
export interface ITranslationEntity extends IBase {
|
|
13
|
-
translationValues: ITranslationValue[];
|
|
14
|
-
}
|
|
15
|
-
export interface ITranslationValue extends IBase {
|
|
16
|
-
text: string;
|
|
17
|
-
locale: string;
|
|
18
|
-
}
|