@calcom/atoms 1.1.1 → 1.1.12-debug-dont-use
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-NzvfumUI.js → AddressInput-HCjsIzUK.js} +1 -1
- package/dist/{AlbyPriceComponent-1-urrKvw.js → AlbyPriceComponent-W5HsVgkl.js} +24 -24
- package/dist/{AppCard-hN4JJeXf.js → AppCard-w9WigXZl.js} +24 -24
- package/dist/{AppListCardPlatformWrapper-SELRmds-.js → AppListCardPlatformWrapper-GlHYO_vL.js} +1 -1
- package/dist/{AppListCardWebWrapper-qtbixhdy.js → AppListCardWebWrapper-pBX_TR8d.js} +7 -7
- package/dist/{AppSettingsInterface-z-BTopkU.js → AppSettingsInterface-I35iVKTR.js} +1 -1
- package/dist/{AppSettingsInterface-SAdoqRc6.js → AppSettingsInterface-JeuREkvc.js} +4 -4
- package/dist/{AppSettingsInterface-OjtqSpP5.js → AppSettingsInterface-oAXII9bZ.js} +1 -1
- package/dist/DateRangePicker-CXZAze06.js +74 -0
- package/dist/{EventTypeAppCardInterface-9IGJ0PSa.js → EventTypeAppCardInterface-1kb1DAXF.js} +4 -4
- package/dist/{EventTypeAppCardInterface-j0fTh3VO.js → EventTypeAppCardInterface-6bLFf-mJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-51K1dlPD.js → EventTypeAppCardInterface-9m0ipUcV.js} +2 -2
- package/dist/EventTypeAppCardInterface-BRO9C63X.js +858 -0
- package/dist/{EventTypeAppCardInterface-dqDNZgqG.js → EventTypeAppCardInterface-BwxW6cnG.js} +4 -4
- package/dist/{EventTypeAppCardInterface-vFmAxtJ_.js → EventTypeAppCardInterface-CJ33bYe7.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Xoik_E4N.js → EventTypeAppCardInterface-CfO5a7L0.js} +3 -3
- package/dist/{EventTypeAppCardInterface-2Cc6ahQQ.js → EventTypeAppCardInterface-F8SkmnAV.js} +3 -3
- package/dist/{EventTypeAppCardInterface-AmIuaGxY.js → EventTypeAppCardInterface-GsL1RQwm.js} +4 -4
- package/dist/{EventTypeAppCardInterface-OYjSCuch.js → EventTypeAppCardInterface-KURGmUXt.js} +4 -4
- package/dist/{EventTypeAppCardInterface-K87MBo9I.js → EventTypeAppCardInterface-Ktu6bZ3i.js} +3 -3
- package/dist/{EventTypeAppCardInterface-QQqZv8fE.js → EventTypeAppCardInterface-LXta9gcp.js} +3 -3
- package/dist/{EventTypeAppCardInterface-YDDBcspM.js → EventTypeAppCardInterface-Ln9B2t8h.js} +8 -8
- package/dist/{EventTypeAppCardInterface-U75u_cIJ.js → EventTypeAppCardInterface-OP6dHmv1.js} +26 -26
- package/dist/{EventTypeAppCardInterface-GjUOq6hk.js → EventTypeAppCardInterface-OuxQbhJB.js} +15 -15
- package/dist/{EventTypeAppCardInterface-H4K3MAjp.js → EventTypeAppCardInterface-POroEYPz.js} +4 -4
- package/dist/EventTypeAppCardInterface-UgRsp57-.js +24 -0
- package/dist/{EventTypeAppCardInterface--mLJhYJz.js → EventTypeAppCardInterface-VKpVuOwh.js} +4 -4
- package/dist/{EventTypeAppCardInterface-tAOaIu7e.js → EventTypeAppCardInterface-XumD3_xd.js} +3 -3
- package/dist/{EventTypeAppCardInterface-q5C_2X2L.js → EventTypeAppCardInterface-Y9jLf1-k.js} +4 -4
- package/dist/{EventTypeAppCardInterface-nqLtZdvT.js → EventTypeAppCardInterface-_feKFUHj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-IBHBvzdh.js → EventTypeAppCardInterface-bPOmfcYy.js} +10 -10
- package/dist/{EventTypeAppCardInterface-qtTTM8pf.js → EventTypeAppCardInterface-bzG36hFi.js} +8 -8
- package/dist/EventTypeAppCardInterface-dr-WH0By.js +39 -0
- package/dist/{EventTypeAppCardInterface-s9iRBeJU.js → EventTypeAppCardInterface-mpGRRFxM.js} +4 -4
- package/dist/{EventTypeAppCardInterface-bFnvA6B_.js → EventTypeAppCardInterface-nJac5DFJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-95cvERUq.js → EventTypeAppCardInterface-szvi48V9.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-n2bRxRf2.js → EventTypeAppSettingsInterface-0MF998H2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-hcNF3TE1.js → EventTypeAppSettingsInterface-BAihaVJh.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-9IDAwqSZ.js → EventTypeAppSettingsInterface-ImRIWr2B.js} +8 -8
- package/dist/{EventTypeAppSettingsInterface-GlYSNMSh.js → EventTypeAppSettingsInterface-LRT7n_yL.js} +10 -10
- package/dist/{EventTypeAppSettingsInterface-z1Quk5hj.js → EventTypeAppSettingsInterface-S56c57pv.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-MZ6AuQlx.js → EventTypeAppSettingsInterface-c_xJm5bW.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-ININd3TP.js → EventTypeAppSettingsInterface-eTApsNn0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-osAZr0qh.js → EventTypeAppSettingsInterface-ig05GsDo.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-iXuGB_YY.js → EventTypeAppSettingsInterface-mywPJB7s.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-bWUcZj4D.js → EventTypeAppSettingsInterface-o_5kPQhw.js} +7 -7
- package/dist/EventTypeAppSettingsInterface-qDv421du.js +79 -0
- package/dist/{EventTypeAppSettingsInterface-lsxcvaFv.js → EventTypeAppSettingsInterface-yS0zHBGd.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CCyIJ5PA.js → EventTypeAppSettingsInterface-zxD_C4fz.js} +8 -8
- package/dist/{InstallAppButton-lv0Q-gWg.js → InstallAppButton-5IiP8C1s.js} +1 -1
- package/dist/{InstallAppButton-ZZMl6U2j.js → InstallAppButton-A3IP79r5.js} +3 -3
- package/dist/{InstallAppButton-3vFrgQZL.js → InstallAppButton-iRRxz6bW.js} +3 -3
- package/dist/{PhoneInput-95NAC5-_.js → PhoneInput-AXj4II7F.js} +1 -1
- package/dist/{StripePaymentForm-14dnyzc0.js → StripePaymentForm-B2pea_tS.js} +6 -6
- package/dist/cal-atoms.js +17 -17
- package/dist/{index-_7uRh17g.js → index-7h1iB9JC.js} +15 -15
- package/dist/{index-H0BzYsH6.js → index-Jf2GAhqH.js} +1 -1
- package/dist/index-KQrl08NN.js +30 -0
- package/dist/{index-WCahCkE1.js → index-SWq3GK12.js} +68117 -64858
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +4 -0
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts +3 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
- package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +21 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
- package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts +46 -49
- package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +46 -49
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +3 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +5 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +0 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +14 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +46 -49
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +0 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +0 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +0 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
- package/dist/packages/features/bookings/types.d.ts +1 -1
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/__tests__/server.test.d.ts +2 -0
- package/dist/packages/features/data-table/lib/__tests__/server.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/server.d.ts +8 -0
- package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/PaymentPage.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +3 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts +2 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +6 -0
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts +2 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts +2 -1
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/Locations.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts +4 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +1018 -2
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +167 -0
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts +17 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +3 -2
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/types.d.ts +8 -0
- package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +25 -2
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +1 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +10 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts +2 -0
- package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +46 -49
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +47 -49
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +46 -49
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +21 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +2 -0
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +2 -2
- package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +6 -0
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +0 -4
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
- package/dist/packages/prisma/zod/booking.d.ts +0 -3
- package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
- package/dist/packages/prisma/zod/calvideosettings.d.ts +3 -0
- package/dist/packages/prisma/zod/calvideosettings.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/booking.d.ts +9 -0
- package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/eventtype.d.ts +41 -3
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +11 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/hashedlink.d.ts +9 -0
- package/dist/packages/prisma/zod/hashedlink.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
- package/dist/packages/prisma/zod-utils.d.ts +154 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +320 -106
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +3 -3
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts +2 -0
- package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts.map +1 -0
- package/dist/{useIsAppEnabled-C8lVT7D4.js → useIsAppEnabled-FQVY7rlm.js} +1 -1
- package/globals.min.css +16 -3
- package/package.json +2 -3
- package/dist/DateRangePicker-ZFK77aaF.js +0 -2405
- package/dist/EventTypeAppCardInterface-d-hNtzhT.js +0 -696
- package/dist/EventTypeAppCardInterface-y8QjZ8hH.js +0 -24
- package/dist/index-UNLJJou7.js +0 -28
package/dist/{EventTypeAppCardInterface-dqDNZgqG.js → EventTypeAppCardInterface-BwxW6cnG.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u as l } from "./useIsAppEnabled-
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as l } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-c_xJm5bW.js";
|
|
6
6
|
const g = function({ eventType: e, app: t }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
|
package/dist/{EventTypeAppCardInterface-vFmAxtJ_.js → EventTypeAppCardInterface-CJ33bYe7.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-Xoik_E4N.js → EventTypeAppCardInterface-CfO5a7L0.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-2Cc6ahQQ.js → EventTypeAppCardInterface-F8SkmnAV.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-AmIuaGxY.js → EventTypeAppCardInterface-GsL1RQwm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-BAihaVJh.js";
|
|
6
6
|
const b = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
package/dist/{EventTypeAppCardInterface-OYjSCuch.js → EventTypeAppCardInterface-KURGmUXt.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-yS0zHBGd.js";
|
|
6
6
|
const b = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
package/dist/{EventTypeAppCardInterface-K87MBo9I.js → EventTypeAppCardInterface-Ktu6bZ3i.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A } from "./AppCard-
|
|
4
|
-
import { u as I } from "./useIsAppEnabled-
|
|
2
|
+
import { G as h, f as n } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as I } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const E = function({ app: t, eventType: i }) {
|
|
6
6
|
var d;
|
|
7
7
|
const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
|
package/dist/{EventTypeAppCardInterface-QQqZv8fE.js → EventTypeAppCardInterface-LXta9gcp.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-YDDBcspM.js → EventTypeAppCardInterface-Ln9B2t8h.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
4
|
-
import { A as
|
|
5
|
-
import { u as
|
|
6
|
-
import w from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { y as b, z as f, G as y, J as E, W as C } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as P } from "react";
|
|
4
|
+
import { A as g } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { u as v } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
6
|
+
import w from "./EventTypeAppSettingsInterface-o_5kPQhw.js";
|
|
7
7
|
const W = function({
|
|
8
8
|
app: t,
|
|
9
9
|
eventType: e,
|
|
10
10
|
eventTypeFormMetadata: n
|
|
11
11
|
}) {
|
|
12
12
|
var o;
|
|
13
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } =
|
|
13
|
+
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = v(t), u = E(n), [h] = P(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ p(
|
|
15
|
-
|
|
15
|
+
g,
|
|
16
16
|
{
|
|
17
|
-
returnTo: `${
|
|
17
|
+
returnTo: `${C}${r}?tabName=apps`,
|
|
18
18
|
app: t,
|
|
19
19
|
switchChecked: d,
|
|
20
20
|
switchOnClick: (A) => {
|
package/dist/{EventTypeAppCardInterface-U75u_cIJ.js → EventTypeAppCardInterface-OP6dHmv1.js}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-SWq3GK12.js";
|
|
3
3
|
import { useMemo as W, useState as p } from "react";
|
|
4
|
-
import { A as $ } from "./AppCard-
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
4
|
+
import { A as $ } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
|
|
6
|
+
const U = function({ app: S, eventType: A }) {
|
|
7
7
|
var f, h;
|
|
8
8
|
const i = v.useSearchParams(), d = v.usePathname(), P = W(
|
|
9
9
|
() => `${d}${i ? `?${i.toString()}` : ""}`,
|
|
10
10
|
[d, i]
|
|
11
|
-
), { t: n } =
|
|
11
|
+
), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(x.find((e) => e.value === l)), [w, E] = p(
|
|
12
12
|
j(l) ? C[l] : ""
|
|
13
|
-
), [b,
|
|
14
|
-
label:
|
|
15
|
-
value:
|
|
16
|
-
},
|
|
17
|
-
return /* @__PURE__ */
|
|
13
|
+
), [b, D] = p(N), m = ((f = t) == null ? void 0 : f.find((e) => k === e.value)) || {
|
|
14
|
+
label: t[0].label,
|
|
15
|
+
value: t[0].value
|
|
16
|
+
}, F = ((h = A.recurringEvent) == null ? void 0 : h.count) !== void 0;
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
18
18
|
$,
|
|
19
19
|
{
|
|
20
|
-
returnTo:
|
|
20
|
+
returnTo: q + P,
|
|
21
21
|
app: S,
|
|
22
22
|
switchChecked: b,
|
|
23
23
|
switchOnClick: (e) => {
|
|
24
|
-
|
|
24
|
+
D(e);
|
|
25
25
|
},
|
|
26
|
-
description: /* @__PURE__ */
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
26
|
+
description: /* @__PURE__ */ a(o, { children: "Add a mock payment to your events" }),
|
|
27
|
+
children: /* @__PURE__ */ a(o, { children: F ? /* @__PURE__ */ a(L, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : b && /* @__PURE__ */ u(o, { children: [
|
|
28
|
+
/* @__PURE__ */ a("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ a(
|
|
29
29
|
V,
|
|
30
30
|
{
|
|
31
31
|
id: "test-mock-payment-app-price",
|
|
@@ -46,13 +46,13 @@ const H = function({ app: S, eventType: A }) {
|
|
|
46
46
|
}
|
|
47
47
|
) }),
|
|
48
48
|
/* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
|
|
49
|
+
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
|
|
50
|
+
/* @__PURE__ */ a(
|
|
51
|
+
g,
|
|
52
52
|
{
|
|
53
53
|
id: "test-mock-payment-app-currency-id",
|
|
54
54
|
variant: "default",
|
|
55
|
-
options:
|
|
55
|
+
options: x,
|
|
56
56
|
value: s,
|
|
57
57
|
className: "text-black",
|
|
58
58
|
defaultValue: s,
|
|
@@ -63,12 +63,12 @@ const H = function({ app: S, eventType: A }) {
|
|
|
63
63
|
)
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
66
|
+
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
|
|
67
|
+
/* @__PURE__ */ a(
|
|
68
|
+
g,
|
|
69
69
|
{
|
|
70
|
-
defaultValue: m ? { ...m, label: n(m.label) } : { ...
|
|
71
|
-
options:
|
|
70
|
+
defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
|
|
71
|
+
options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
|
|
72
72
|
onChange: (e) => {
|
|
73
73
|
e && c("paymentOption", e.value);
|
|
74
74
|
},
|
|
@@ -82,5 +82,5 @@ const H = function({ app: S, eventType: A }) {
|
|
|
82
82
|
);
|
|
83
83
|
};
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
U as default
|
|
86
86
|
};
|
package/dist/{EventTypeAppCardInterface-GjUOq6hk.js → EventTypeAppCardInterface-OuxQbhJB.js}
RENAMED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
4
|
-
import { A as
|
|
5
|
-
import { u as
|
|
6
|
-
import w from "./EventTypeAppSettingsInterface-
|
|
7
|
-
const
|
|
8
|
-
app:
|
|
9
|
-
eventType:
|
|
2
|
+
import { y as b, z as f, G as y, J as E, W as P } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as C } from "react";
|
|
4
|
+
import { A as g } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { u as v } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
6
|
+
import w from "./EventTypeAppSettingsInterface-ImRIWr2B.js";
|
|
7
|
+
const q = function({
|
|
8
|
+
app: e,
|
|
9
|
+
eventType: t,
|
|
10
10
|
eventTypeFormMetadata: p
|
|
11
11
|
}) {
|
|
12
12
|
var n;
|
|
13
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } =
|
|
13
|
+
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = v(e), u = E(p), [h, T] = C(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ o(
|
|
15
|
-
|
|
15
|
+
g,
|
|
16
16
|
{
|
|
17
17
|
returnTo: `${P}${r}?tabName=apps`,
|
|
18
|
-
app:
|
|
18
|
+
app: e,
|
|
19
19
|
switchChecked: d,
|
|
20
20
|
switchOnClick: (A) => {
|
|
21
21
|
l(A);
|
|
22
22
|
},
|
|
23
|
-
teamId: ((n =
|
|
23
|
+
teamId: ((n = t.team) == null ? void 0 : n.id) || void 0,
|
|
24
24
|
disableSwitch: s,
|
|
25
25
|
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
26
26
|
children: /* @__PURE__ */ o(
|
|
27
27
|
w,
|
|
28
28
|
{
|
|
29
|
-
eventType:
|
|
30
|
-
slug:
|
|
29
|
+
eventType: t,
|
|
30
|
+
slug: e.slug,
|
|
31
31
|
disabled: c,
|
|
32
32
|
getAppData: a,
|
|
33
33
|
setAppData: m
|
|
@@ -37,5 +37,5 @@ const W = function({
|
|
|
37
37
|
);
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
q as default
|
|
41
41
|
};
|
package/dist/{EventTypeAppCardInterface-H4K3MAjp.js → EventTypeAppCardInterface-POroEYPz.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u as m } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as d } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as m } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-mywPJB7s.js";
|
|
6
6
|
const b = function({ app: t, eventType: p }) {
|
|
7
7
|
const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
const l = function({ app: t, eventType: e }) {
|
|
6
|
+
var a;
|
|
7
|
+
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
|
8
|
+
return /* @__PURE__ */ s(
|
|
9
|
+
m,
|
|
10
|
+
{
|
|
11
|
+
returnTo: `${i}${p}?tabName=apps`,
|
|
12
|
+
app: t,
|
|
13
|
+
teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
|
|
14
|
+
switchOnClick: (o) => {
|
|
15
|
+
r(o);
|
|
16
|
+
},
|
|
17
|
+
switchChecked: n,
|
|
18
|
+
hideAppCardOptions: !0
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
l as default
|
|
24
|
+
};
|
package/dist/{EventTypeAppCardInterface--mLJhYJz.js → EventTypeAppCardInterface-VKpVuOwh.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u as c } from "./useIsAppEnabled-
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as d } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as c } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-S56c57pv.js";
|
|
6
6
|
const E = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
|
package/dist/{EventTypeAppCardInterface-tAOaIu7e.js → EventTypeAppCardInterface-XumD3_xd.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as u } from "./AppCard-
|
|
4
|
-
import { u as h } from "./useIsAppEnabled-
|
|
2
|
+
import { G as l, f as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as u } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as h } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const D = function({ app: a, eventType: d }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
|
package/dist/{EventTypeAppCardInterface-q5C_2X2L.js → EventTypeAppCardInterface-Y9jLf1-k.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as l } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import A from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m, y as f } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as l } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import A from "./EventTypeAppSettingsInterface-zxD_C4fz.js";
|
|
6
6
|
const w = function({ app: t, eventType: e }) {
|
|
7
7
|
var o;
|
|
8
8
|
const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
|
package/dist/{EventTypeAppCardInterface-nqLtZdvT.js → EventTypeAppCardInterface-_feKFUHj.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as u } from "./AppCard-
|
|
4
|
-
import { u as h } from "./useIsAppEnabled-
|
|
2
|
+
import { G as m, X as o } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as u } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as h } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const E = function({ eventType: a, app: s }) {
|
|
6
6
|
var n;
|
|
7
7
|
const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
|
package/dist/{EventTypeAppCardInterface-IBHBvzdh.js → EventTypeAppCardInterface-bPOmfcYy.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as e, Fragment as p } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import { A as w } from "./AppCard-
|
|
5
|
-
import E from "./EventTypeAppSettingsInterface-
|
|
6
|
-
const
|
|
2
|
+
import { z as i, G as f, J as g, y as S, W as b } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useMemo as v, useState as C } from "react";
|
|
4
|
+
import { A as w } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import E from "./EventTypeAppSettingsInterface-LRT7n_yL.js";
|
|
6
|
+
const $ = function({
|
|
7
7
|
app: a,
|
|
8
8
|
eventType: c,
|
|
9
9
|
eventTypeFormMetadata: m
|
|
10
10
|
}) {
|
|
11
|
-
const t = i.useSearchParams(), s = i.usePathname(), h =
|
|
11
|
+
const t = i.useSearchParams(), s = i.usePathname(), h = v(
|
|
12
12
|
() => `${s}${t ? `?${t.toString()}` : ""}`,
|
|
13
13
|
[s, t]
|
|
14
|
-
), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")),
|
|
14
|
+
), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), y = g(m), { t: A } = S(), r = !o && y;
|
|
15
15
|
return /* @__PURE__ */ e(
|
|
16
16
|
w,
|
|
17
17
|
{
|
|
18
|
-
returnTo:
|
|
18
|
+
returnTo: b + h,
|
|
19
19
|
app: a,
|
|
20
20
|
switchChecked: o,
|
|
21
21
|
switchOnClick: (P) => {
|
|
@@ -23,7 +23,7 @@ const W = function({
|
|
|
23
23
|
},
|
|
24
24
|
description: /* @__PURE__ */ e(p, { children: "Add Paypal payment to your events" }),
|
|
25
25
|
disableSwitch: r,
|
|
26
|
-
switchTooltip: r ?
|
|
26
|
+
switchTooltip: r ? A("other_payment_app_enabled") : void 0,
|
|
27
27
|
children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(
|
|
28
28
|
E,
|
|
29
29
|
{
|
|
@@ -38,5 +38,5 @@ const W = function({
|
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
$ as default
|
|
42
42
|
};
|
package/dist/{EventTypeAppCardInterface-qtTTM8pf.js → EventTypeAppCardInterface-bzG36hFi.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import { A as w } from "./AppCard-
|
|
5
|
-
import E from "./EventTypeAppSettingsInterface-
|
|
6
|
-
const
|
|
2
|
+
import { z as i, y as g, G as f, J as b, W as S } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useMemo as v, useState as C } from "react";
|
|
4
|
+
import { A as w } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import E from "./EventTypeAppSettingsInterface-ig05GsDo.js";
|
|
6
|
+
const $ = function({
|
|
7
7
|
app: a,
|
|
8
8
|
eventType: p,
|
|
9
9
|
eventTypeFormMetadata: c
|
|
10
10
|
}) {
|
|
11
|
-
const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h =
|
|
11
|
+
const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h = v(
|
|
12
12
|
() => `${s}${t ? `?${t.toString()}` : ""}`,
|
|
13
13
|
[s, t]
|
|
14
14
|
), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), A = b(c), r = !o && A;
|
|
15
15
|
return /* @__PURE__ */ e(
|
|
16
16
|
w,
|
|
17
17
|
{
|
|
18
|
-
returnTo:
|
|
18
|
+
returnTo: S + h,
|
|
19
19
|
app: a,
|
|
20
20
|
switchChecked: o,
|
|
21
21
|
switchOnClick: (y) => {
|
|
@@ -38,5 +38,5 @@ const W = function({
|
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
$ as default
|
|
42
42
|
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as t, Fragment as u } from "react/jsx-runtime";
|
|
2
|
+
import { y as A, z as y, G as g, J as b, W as f } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as P } from "react";
|
|
4
|
+
import { A as v } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import C from "./EventTypeAppSettingsInterface-qDv421du.js";
|
|
6
|
+
const x = function({
|
|
7
|
+
eventType: o,
|
|
8
|
+
app: e,
|
|
9
|
+
eventTypeFormMetadata: p
|
|
10
|
+
}) {
|
|
11
|
+
const { t: i } = A(), r = y.usePathname(), { getAppData: a, setAppData: c, disabled: m } = g(), [n, d] = P(a("enabled")), l = b(p), s = !n && l;
|
|
12
|
+
return /* @__PURE__ */ t(
|
|
13
|
+
v,
|
|
14
|
+
{
|
|
15
|
+
returnTo: `${f}${r}?tabName=apps`,
|
|
16
|
+
app: e,
|
|
17
|
+
switchChecked: n,
|
|
18
|
+
switchOnClick: (h) => {
|
|
19
|
+
d(h);
|
|
20
|
+
},
|
|
21
|
+
description: /* @__PURE__ */ t(u, { children: "Add lightning payments to your events and booking" }),
|
|
22
|
+
disableSwitch: s,
|
|
23
|
+
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
24
|
+
children: /* @__PURE__ */ t(
|
|
25
|
+
C,
|
|
26
|
+
{
|
|
27
|
+
eventType: o,
|
|
28
|
+
slug: e.slug,
|
|
29
|
+
disabled: m,
|
|
30
|
+
getAppData: a,
|
|
31
|
+
setAppData: c
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
x as default
|
|
39
|
+
};
|
package/dist/{EventTypeAppCardInterface-s9iRBeJU.js → EventTypeAppCardInterface-mpGRRFxM.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-0MF998H2.js";
|
|
6
6
|
const b = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
package/dist/{EventTypeAppCardInterface-bFnvA6B_.js → EventTypeAppCardInterface-nJac5DFJ.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as I } from "./AppCard-
|
|
4
|
-
import { u as C } from "./useIsAppEnabled-
|
|
2
|
+
import { G as h, f as n } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as I } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as C } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const R = function({ app: s, eventType: o }) {
|
|
6
6
|
var i;
|
|
7
7
|
const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
|
package/dist/{EventTypeAppCardInterface-95cvERUq.js → EventTypeAppCardInterface-szvi48V9.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as u } from "./AppCard-
|
|
4
|
-
import { u as I } from "./useIsAppEnabled-
|
|
2
|
+
import { G as l, f as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as u } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as I } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const D = function({ app: t, eventType: n }) {
|
|
6
6
|
var a;
|
|
7
7
|
const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
|
package/dist/{EventTypeAppSettingsInterface-9IDAwqSZ.js → EventTypeAppSettingsInterface-ImRIWr2B.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
2
|
+
import { a9 as d, y as L, aa as i, M as P, f as w, R as T, U as O, S as y, ab as E, ac as x, s as B, ad as F, ae as K } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as z, useEffect as G } from "react";
|
|
4
4
|
const s = [
|
|
5
5
|
{ label: "United States dollar (USD)", value: "usd" },
|
|
6
6
|
{ label: "United Arab Emirates dirham (AED)", value: "aed" },
|
|
@@ -143,18 +143,18 @@ const s = [
|
|
|
143
143
|
eventType: h
|
|
144
144
|
}) => {
|
|
145
145
|
var k;
|
|
146
|
-
const g = r("price"), o = r("currency") || s[0].value, [t, D] =
|
|
146
|
+
const g = r("price"), o = r("currency") || s[0].value, [t, D] = z(
|
|
147
147
|
s.find((a) => a.value === o) || {
|
|
148
148
|
label: s[0].label,
|
|
149
149
|
value: s[0].value
|
|
150
150
|
}
|
|
151
|
-
), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot,
|
|
151
|
+
), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot, R = (a, M) => 0 .toLocaleString(a, {
|
|
152
152
|
style: "currency",
|
|
153
|
-
currency:
|
|
153
|
+
currency: M,
|
|
154
154
|
minimumFractionDigits: 0,
|
|
155
155
|
maximumFractionDigits: 0
|
|
156
156
|
}).replace(/\d/g, "").trim();
|
|
157
|
-
|
|
157
|
+
G(() => {
|
|
158
158
|
m && (r("currency") || e("currency", s[0].value), r("paymentOption") || e("paymentOption", d[0].value)), r("refundPolicy") || e("refundPolicy", i.NEVER);
|
|
159
159
|
}, [m, r, e]);
|
|
160
160
|
const C = [
|
|
@@ -170,7 +170,7 @@ const s = [
|
|
|
170
170
|
"data-testid": "stripe-price-input",
|
|
171
171
|
label: n("price"),
|
|
172
172
|
className: "h-[38px]",
|
|
173
|
-
addOnLeading: /* @__PURE__ */ l(f, { children: t.value ?
|
|
173
|
+
addOnLeading: /* @__PURE__ */ l(f, { children: t.value ? R("en", t.value) : "" }),
|
|
174
174
|
addOnSuffix: o.toUpperCase(),
|
|
175
175
|
addOnClassname: "h-[38px]",
|
|
176
176
|
step: "0.01",
|
|
@@ -244,7 +244,7 @@ const s = [
|
|
|
244
244
|
className: "min-w-4 bg-default border-default flex h-4 w-4 cursor-pointer items-center rounded-full border focus:border-2 focus:outline-none ltr:mr-2 rtl:ml-2",
|
|
245
245
|
value: "days",
|
|
246
246
|
id: "days",
|
|
247
|
-
children: /* @__PURE__ */ l(
|
|
247
|
+
children: /* @__PURE__ */ l(K, { className: "after:bg-inverted relative flex h-4 w-4 items-center justify-center after:block after:h-2 after:w-2 after:rounded-full" })
|
|
248
248
|
}
|
|
249
249
|
),
|
|
250
250
|
/* @__PURE__ */ u("div", { className: "flex items-center", children: [
|