@calcom/atoms 1.6.0 → 1.7.1
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-1brkjhFt.js → AddressInput-DR3jIl7N.js} +3 -3
- package/dist/{AlbyPriceComponent-2LB43zoM.js → AlbyPriceComponent-2k8JXx0O.js} +22 -22
- package/dist/{AppCard-yIBrfFj9.js → AppCard-bt7zv8gh.js} +47 -47
- package/dist/{AppListCardPlatformWrapper-CV7QpdyY.js → AppListCardPlatformWrapper-VhYhJs_R.js} +1 -1
- package/dist/{AppListCardWebWrapper-vxXZpyol.js → AppListCardWebWrapper-NUv3j3xt.js} +1 -1
- package/dist/{AppSettingsInterface-0H1wCBzq.js → AppSettingsInterface-buo7m9T8.js} +1 -1
- package/dist/{AppSettingsInterface-Aix0Ye7x.js → AppSettingsInterface-pSKkGg41.js} +1 -1
- package/dist/{AppSettingsInterface-KGD5cNTj.js → AppSettingsInterface-zXTKl0m5.js} +1 -1
- package/dist/{DateRangePicker-4CKKpdyt.js → DateRangePicker-bTMo0QHP.js} +5 -5
- package/dist/{EventTypeAppCardInterface-pi-nYyg1.js → EventTypeAppCardInterface-09iYOcZc.js} +6 -6
- package/dist/{EventTypeAppCardInterface-GykSLC0F.js → EventTypeAppCardInterface-22oySUhU.js} +6 -6
- package/dist/{EventTypeAppCardInterface-hLJgdsLI.js → EventTypeAppCardInterface-4J2r0kDm.js} +6 -6
- package/dist/{EventTypeAppCardInterface-Abb5QaiE.js → EventTypeAppCardInterface-6ARDh1hB.js} +4 -4
- package/dist/{EventTypeAppCardInterface-c-xaajVH.js → EventTypeAppCardInterface-6N-ocotc.js} +4 -4
- package/dist/{EventTypeAppCardInterface-zhD3uO1f.js → EventTypeAppCardInterface-ALjgH4W_.js} +3 -3
- package/dist/{EventTypeAppCardInterface-2lsdiZIS.js → EventTypeAppCardInterface-Ayfx5tRN.js} +3 -3
- package/dist/{EventTypeAppCardInterface-ZrWf66ce.js → EventTypeAppCardInterface-DcTMtSbr.js} +3 -3
- package/dist/{EventTypeAppCardInterface-quqFvTVd.js → EventTypeAppCardInterface-DqaD8qmA.js} +4 -4
- package/dist/{EventTypeAppCardInterface-lX82Q5Jh.js → EventTypeAppCardInterface-KjJnnhe2.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iYj3cTdZ.js → EventTypeAppCardInterface-SS33HaLT.js} +3 -3
- package/dist/{EventTypeAppCardInterface-44x8c0hT.js → EventTypeAppCardInterface-TIEM8D8u.js} +9 -9
- package/dist/{EventTypeAppCardInterface-WNZPsRIv.js → EventTypeAppCardInterface-UIXAwi3z.js} +2 -2
- package/dist/{EventTypeAppCardInterface-LnM8nYr7.js → EventTypeAppCardInterface-UhZiYpC_.js} +31 -31
- package/dist/{EventTypeAppCardInterface-1E9MTUzY.js → EventTypeAppCardInterface-Uv0b0YwY.js} +3 -3
- package/dist/{EventTypeAppCardInterface-5-Y0-uRC.js → EventTypeAppCardInterface-WvWtKyzR.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ZqUqSS1O.js → EventTypeAppCardInterface-ZTWUUx-j.js} +4 -4
- package/dist/{EventTypeAppCardInterface-UcelDWVh.js → EventTypeAppCardInterface-Zce0NZR5.js} +4 -4
- package/dist/{EventTypeAppCardInterface-InrUBwTg.js → EventTypeAppCardInterface-bj9lQhmN.js} +3 -3
- package/dist/{EventTypeAppCardInterface-_3lalola.js → EventTypeAppCardInterface-cWLQDtAR.js} +9 -9
- package/dist/{EventTypeAppCardInterface-A7d6UF4_.js → EventTypeAppCardInterface-fwF9ZNE1.js} +6 -6
- package/dist/{EventTypeAppCardInterface-JWnT8L9g.js → EventTypeAppCardInterface-lLtnjlZW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-brFr18mE.js → EventTypeAppCardInterface-oHgBXT0z.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Njtagnpn.js → EventTypeAppCardInterface-uSw2xD2a.js} +8 -8
- package/dist/EventTypeAppCardInterface-uaT7p9un.js +24 -0
- package/dist/{EventTypeAppCardInterface-ao45jPH0.js → EventTypeAppCardInterface-vmdHhgZV.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DKIBRWYj.js → EventTypeAppCardInterface-zkJKrgZb.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-108_BODL.js} +8 -8
- package/dist/{EventTypeAppSettingsInterface-eZuVPoW0.js → EventTypeAppSettingsInterface-Q0ZDtoUj.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-Qnr0HCO0.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-AGLMWsEO.js → EventTypeAppSettingsInterface-VeVCHNBB.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-2sj2WJjh.js → EventTypeAppSettingsInterface-_Yc814Cl.js} +16 -16
- package/dist/{EventTypeAppSettingsInterface-q6mbdTiY.js → EventTypeAppSettingsInterface-gg2Ef5DU.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Y48ol2nr.js → EventTypeAppSettingsInterface-gkHBitj8.js} +7 -7
- package/dist/{EventTypeAppSettingsInterface-1whHDae4.js → EventTypeAppSettingsInterface-jJT8-1ML.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-WSA9a0P9.js → EventTypeAppSettingsInterface-lUvYXuGl.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-AK7ShZFj.js → EventTypeAppSettingsInterface-mfeygayG.js} +123 -78
- package/dist/{EventTypeAppSettingsInterface-xpqBaj8M.js → EventTypeAppSettingsInterface-siyUmyxC.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-PxXmeEq4.js → EventTypeAppSettingsInterface-u1frTGTk.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Ai9j7-W4.js → EventTypeAppSettingsInterface-ykuyZiXU.js} +1 -1
- package/dist/{InstallAppButton-Ywa4sUQJ.js → InstallAppButton-UL42QGKr.js} +1 -1
- package/dist/{InstallAppButton-TS33CjnZ.js → InstallAppButton-c2chNE6g.js} +1 -1
- package/dist/{InstallAppButton-T3U8jRFO.js → InstallAppButton-rvYPqvGJ.js} +1 -1
- package/dist/{PhoneInput-roQxbVj0.js → PhoneInput-Nhiv23jS.js} +249 -243
- package/dist/{StripePaymentForm-SCkdCvRB.js → StripePaymentForm-1yTkAicU.js} +18 -18
- package/dist/cal-atoms.js +13 -13
- package/dist/{index-xIgyKeg1.js → index-6aqrxRA8.js} +66998 -62129
- package/dist/{index-xJlkgRPp.js → index-QG3p1fzr.js} +1 -1
- package/dist/index-heZJ0K97.js +28 -0
- package/dist/{index-Uy0rGDYS.js → index-miF5qVsp.js} +18 -18
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +14 -2
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/SystemField.d.ts +2 -1
- package/dist/packages/features/bookings/lib/SystemField.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts +4 -0
- package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts +4 -0
- package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts +8 -0
- package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +7 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +17 -0
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +2 -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 +9 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +999 -2
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +23 -14
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts +4 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts +5 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/rating.d.ts +22 -0
- package/dist/packages/features/bookings/lib/rating.d.ts.map +1 -0
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +3 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +10 -0
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/constants.d.ts +9 -0
- package/dist/packages/features/ee/billing/constants.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/credit-service.d.ts +17 -2
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts +72 -0
- package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts +12 -0
- package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +2 -0
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +1 -0
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +3 -3
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +20 -0
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.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/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +17 -7
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts +6 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts +10 -0
- package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/locations/Locations.d.ts +3 -18
- package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +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/components/tabs/availability/EventAvailabilityTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +20 -3
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts +13 -12
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/form-builder/testUtils.d.ts +3 -0
- package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +11 -10
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts +11 -4
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -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 +7 -0
- 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 +2 -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 +7 -0
- 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/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -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 +2 -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 +2 -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 +14 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/libraries/bookings.d.ts +1 -0
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/i18n.d.ts +15 -0
- package/dist/packages/platform/libraries/i18n.d.ts.map +1 -0
- package/dist/packages/platform/libraries/index.d.ts +3 -4
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +2 -0
- package/dist/packages/platform/libraries/repositories.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/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/prisma/zod/creditexpenselog.d.ts +18 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/booking.d.ts +21 -0
- package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/eventtype.d.ts +27 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +27 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflow.d.ts +7 -2
- package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
- package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
- package/dist/packages/prisma/zod-utils.d.ts +252 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +553 -4
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-ABSa6601.js → useIsAppEnabled-aAe8QNQ3.js} +1 -1
- package/package.json +1 -1
- package/dist/EventTypeAppCardInterface-kxvIXOul.js +0 -24
- package/dist/index-6QpphfoK.js +0 -30
package/dist/{EventTypeAppCardInterface-44x8c0hT.js → EventTypeAppCardInterface-TIEM8D8u.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
|
|
2
|
+
import { w as b, x as f, y, z as E, W as w } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { useState as C } from "react";
|
|
4
|
+
import { A as P } from "./AppCard-bt7zv8gh.js";
|
|
5
|
+
import { u as g } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
6
|
+
import v from "./EventTypeAppSettingsInterface-jJT8-1ML.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 } = y(), { enabled: d, updateEnabled: l } =
|
|
13
|
+
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = g(t), u = E(n), [h] = C(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ p(
|
|
15
|
-
|
|
15
|
+
P,
|
|
16
16
|
{
|
|
17
|
-
returnTo: `${
|
|
17
|
+
returnTo: `${w}${r}?tabName=apps`,
|
|
18
18
|
app: t,
|
|
19
19
|
switchChecked: d,
|
|
20
20
|
switchOnClick: (A) => {
|
|
@@ -24,7 +24,7 @@ const W = function({
|
|
|
24
24
|
disableSwitch: s,
|
|
25
25
|
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
26
26
|
children: /* @__PURE__ */ p(
|
|
27
|
-
|
|
27
|
+
v,
|
|
28
28
|
{
|
|
29
29
|
eventType: e,
|
|
30
30
|
slug: t.slug,
|
package/dist/{EventTypeAppCardInterface-WNZPsRIv.js → EventTypeAppCardInterface-UIXAwi3z.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { A as f } from "./AppCard-
|
|
3
|
+
import { y as m, f as l } from "./index-6aqrxRA8.js";
|
|
4
|
+
import { A as f } from "./AppCard-bt7zv8gh.js";
|
|
5
5
|
const k = function({ app: p, eventType: i }) {
|
|
6
6
|
var n;
|
|
7
7
|
const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
|
package/dist/{EventTypeAppCardInterface-LnM8nYr7.js → EventTypeAppCardInterface-UhZiYpC_.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { w as ae, a1 as h, a2 as $, a3 as J, p, I as b, S as f, B as F, a4 as D, x as te, y as ce, a5 as m, W as se, L as q, a6 as re, J as de } from "./index-6aqrxRA8.js";
|
|
3
3
|
import { useState as g } from "react";
|
|
4
|
-
import { S as c, A as ue } from "./AppCard-
|
|
5
|
-
import { u as he } from "./useIsAppEnabled-
|
|
4
|
+
import { S as c, A as ue } from "./AppCard-bt7zv8gh.js";
|
|
5
|
+
import { u as he } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
6
6
|
var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
|
|
7
7
|
const le = ({
|
|
8
8
|
bookingAction: x,
|
|
9
9
|
optionLabel: L,
|
|
10
|
-
optionEnabled:
|
|
10
|
+
optionEnabled: W,
|
|
11
11
|
optionSwitchOnChange: K,
|
|
12
12
|
writeToObjectData: o,
|
|
13
13
|
updateWriteToObjectData: s
|
|
@@ -26,19 +26,19 @@ const le = ({
|
|
|
26
26
|
{ label: d("true"), value: !0 },
|
|
27
27
|
{ label: d("false"), value: !1 }
|
|
28
28
|
], k = [
|
|
29
|
-
...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value:
|
|
30
|
-
{ label: d("booking_start_date"), value:
|
|
31
|
-
{ label: d("booking_created_date"), value:
|
|
32
|
-
], [y,
|
|
29
|
+
...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: J.BOOKING_CANCEL_DATE }] : [],
|
|
30
|
+
{ label: d("booking_start_date"), value: J.BOOKING_START_DATE },
|
|
31
|
+
{ label: d("booking_created_date"), value: J.BOOKING_CREATED_DATE }
|
|
32
|
+
], [y, U] = g(O[0]), [I, G] = g(k[0]), [z, H] = g(
|
|
33
33
|
C[0]
|
|
34
|
-
), [_,
|
|
34
|
+
), [_, X] = g(T[0]), [A, j] = g({}), [R, S] = g(
|
|
35
35
|
{}
|
|
36
36
|
), [u, N] = g({
|
|
37
37
|
field: "",
|
|
38
38
|
fieldType: y.value,
|
|
39
39
|
value: "",
|
|
40
40
|
whenToWrite: _.value
|
|
41
|
-
}),
|
|
41
|
+
}), M = (n) => {
|
|
42
42
|
Object.keys(A).forEach((a) => {
|
|
43
43
|
A[a] && a !== n && B(a);
|
|
44
44
|
}), j((a) => ({ ...a, [n]: !0 })), S((a) => ({
|
|
@@ -78,13 +78,13 @@ const le = ({
|
|
|
78
78
|
/* @__PURE__ */ e(c.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: L, children: /* @__PURE__ */ e(
|
|
79
79
|
p,
|
|
80
80
|
{
|
|
81
|
-
checked:
|
|
81
|
+
checked: W,
|
|
82
82
|
onCheckedChange: K,
|
|
83
83
|
id: "write-to-object-settings",
|
|
84
84
|
size: "sm"
|
|
85
85
|
}
|
|
86
86
|
) }),
|
|
87
|
-
|
|
87
|
+
W ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
|
|
88
88
|
/* @__PURE__ */ r("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
|
|
89
89
|
/* @__PURE__ */ e("div", { className: "flex-1", children: d("field_name") }),
|
|
90
90
|
/* @__PURE__ */ e("div", { className: "flex-1", children: d("field_type") }),
|
|
@@ -266,7 +266,7 @@ const le = ({
|
|
|
266
266
|
StartIcon: "pencil",
|
|
267
267
|
variant: "icon",
|
|
268
268
|
color: "minimal",
|
|
269
|
-
onClick: () =>
|
|
269
|
+
onClick: () => M(n)
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
272
|
/* @__PURE__ */ e(
|
|
@@ -306,12 +306,12 @@ const le = ({
|
|
|
306
306
|
options: O,
|
|
307
307
|
value: y,
|
|
308
308
|
onChange: (n) => {
|
|
309
|
-
n && (
|
|
309
|
+
n && (U(n), N({
|
|
310
310
|
...u,
|
|
311
311
|
fieldType: n.value,
|
|
312
312
|
...n.value === h.DATE && { value: I.value },
|
|
313
313
|
...n.value === h.CHECKBOX && {
|
|
314
|
-
value:
|
|
314
|
+
value: z.value
|
|
315
315
|
}
|
|
316
316
|
}));
|
|
317
317
|
}
|
|
@@ -325,7 +325,7 @@ const le = ({
|
|
|
325
325
|
options: k,
|
|
326
326
|
value: I,
|
|
327
327
|
onChange: (n) => {
|
|
328
|
-
n && (
|
|
328
|
+
n && (G(n), N({
|
|
329
329
|
...u,
|
|
330
330
|
value: n.value
|
|
331
331
|
}));
|
|
@@ -337,7 +337,7 @@ const le = ({
|
|
|
337
337
|
size: "sm",
|
|
338
338
|
className: "w-full",
|
|
339
339
|
options: C,
|
|
340
|
-
value:
|
|
340
|
+
value: z,
|
|
341
341
|
onChange: (n) => {
|
|
342
342
|
n && (H(n), N({
|
|
343
343
|
...u,
|
|
@@ -365,7 +365,7 @@ const le = ({
|
|
|
365
365
|
options: T,
|
|
366
366
|
value: _,
|
|
367
367
|
onChange: (n) => {
|
|
368
|
-
n && (
|
|
368
|
+
n && (X(n), N({
|
|
369
369
|
...u,
|
|
370
370
|
whenToWrite: n.value
|
|
371
371
|
}));
|
|
@@ -407,14 +407,14 @@ const le = ({
|
|
|
407
407
|
)
|
|
408
408
|
] }) : null
|
|
409
409
|
] });
|
|
410
|
-
}, Ce = function({ app: L, eventType:
|
|
410
|
+
}, Ce = function({ app: L, eventType: W }) {
|
|
411
411
|
var ne;
|
|
412
|
-
const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1,
|
|
412
|
+
const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, U = o("skipContactCreation"), I = o("createLeadIfAccountNull"), G = o("createNewContactUnderAccount"), z = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, X = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, M = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
|
|
413
413
|
{ label: a("contact"), value: m.CONTACT },
|
|
414
414
|
{ label: a("salesforce_lead"), value: m.LEAD },
|
|
415
415
|
{ label: a("salesforce_contact_under_account"), value: m.ACCOUNT }
|
|
416
416
|
], [i, v] = g(
|
|
417
|
-
t.find((l) => l.value ===
|
|
417
|
+
t.find((l) => l.value === z) ?? t[0]
|
|
418
418
|
), V = [
|
|
419
419
|
{ label: a("contact"), value: m.CONTACT },
|
|
420
420
|
{ label: a("salesforce_lead"), value: m.LEAD },
|
|
@@ -435,7 +435,7 @@ const le = ({
|
|
|
435
435
|
{
|
|
436
436
|
size: "sm",
|
|
437
437
|
labelOnLeading: !0,
|
|
438
|
-
checked:
|
|
438
|
+
checked: G,
|
|
439
439
|
onCheckedChange: (l) => {
|
|
440
440
|
s("createNewContactUnderAccount", l);
|
|
441
441
|
}
|
|
@@ -448,7 +448,7 @@ const le = ({
|
|
|
448
448
|
{
|
|
449
449
|
returnTo: `${se}${K}?tabName=apps`,
|
|
450
450
|
app: L,
|
|
451
|
-
teamId: ((ne =
|
|
451
|
+
teamId: ((ne = W.team) == null ? void 0 : ne.id) || void 0,
|
|
452
452
|
switchOnClick: (l) => {
|
|
453
453
|
T(l);
|
|
454
454
|
},
|
|
@@ -488,7 +488,7 @@ const le = ({
|
|
|
488
488
|
{
|
|
489
489
|
size: "sm",
|
|
490
490
|
labelOnLeading: !0,
|
|
491
|
-
checked:
|
|
491
|
+
checked: M,
|
|
492
492
|
onCheckedChange: (l) => {
|
|
493
493
|
s("ignoreGuests", l);
|
|
494
494
|
}
|
|
@@ -507,7 +507,7 @@ const le = ({
|
|
|
507
507
|
{
|
|
508
508
|
size: "sm",
|
|
509
509
|
labelOnLeading: !0,
|
|
510
|
-
checked:
|
|
510
|
+
checked: U,
|
|
511
511
|
onCheckedChange: (l) => {
|
|
512
512
|
s("skipContactCreation", l);
|
|
513
513
|
}
|
|
@@ -527,7 +527,7 @@ const le = ({
|
|
|
527
527
|
{
|
|
528
528
|
size: "sm",
|
|
529
529
|
labelOnLeading: !0,
|
|
530
|
-
checked:
|
|
530
|
+
checked: X,
|
|
531
531
|
onCheckedChange: (l) => {
|
|
532
532
|
s("createEventOnLeadCheckForContact", l);
|
|
533
533
|
}
|
|
@@ -659,7 +659,7 @@ const le = ({
|
|
|
659
659
|
le,
|
|
660
660
|
{
|
|
661
661
|
bookingAction: Q.ON_BOOKING,
|
|
662
|
-
optionLabel: a("salesforce_on_booking_write_to_record", { record:
|
|
662
|
+
optionLabel: a("salesforce_on_booking_write_to_record", { record: z }),
|
|
663
663
|
optionEnabled: u,
|
|
664
664
|
writeToObjectData: N,
|
|
665
665
|
optionSwitchOnChange: (l) => {
|
|
@@ -690,7 +690,7 @@ const le = ({
|
|
|
690
690
|
),
|
|
691
691
|
A ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
|
|
692
692
|
/* @__PURE__ */ e(
|
|
693
|
-
|
|
693
|
+
q,
|
|
694
694
|
{
|
|
695
695
|
htmlFor: "on-booking-change-record-owner-name",
|
|
696
696
|
className: "text-subtle text-sm font-medium",
|
|
@@ -708,7 +708,7 @@ const le = ({
|
|
|
708
708
|
)
|
|
709
709
|
] }) }) : null
|
|
710
710
|
] }),
|
|
711
|
-
|
|
711
|
+
W.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
|
|
712
712
|
/* @__PURE__ */ r(c.SubSection, { children: [
|
|
713
713
|
/* @__PURE__ */ e(
|
|
714
714
|
c.SubSectionHeader,
|
|
@@ -731,7 +731,7 @@ const le = ({
|
|
|
731
731
|
),
|
|
732
732
|
C ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
|
|
733
733
|
/* @__PURE__ */ e(
|
|
734
|
-
|
|
734
|
+
q,
|
|
735
735
|
{
|
|
736
736
|
htmlFor: "round-robin-skip-check-record-on",
|
|
737
737
|
className: "text-subtle text-sm font-medium",
|
|
@@ -831,7 +831,7 @@ const le = ({
|
|
|
831
831
|
),
|
|
832
832
|
R ? /* @__PURE__ */ r(c.SubSectionContent, { classNames: { container: "p-3" }, children: [
|
|
833
833
|
/* @__PURE__ */ e(
|
|
834
|
-
|
|
834
|
+
q,
|
|
835
835
|
{
|
|
836
836
|
htmlFor: "send-no-show-attendee-data-field-name",
|
|
837
837
|
className: "text-subtle text-sm font-medium",
|
package/dist/{EventTypeAppCardInterface-1E9MTUzY.js → EventTypeAppCardInterface-Uv0b0YwY.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 { y as l, f as m } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as u } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as I } from "./useIsAppEnabled-aAe8QNQ3.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/{EventTypeAppCardInterface-5-Y0-uRC.js → EventTypeAppCardInterface-WvWtKyzR.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 { y as d } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as m } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as c } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-u1frTGTk.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-ZqUqSS1O.js → EventTypeAppCardInterface-ZTWUUx-j.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 { y as d } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as c } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as m } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-gg2Ef5DU.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(
|
package/dist/{EventTypeAppCardInterface-UcelDWVh.js → EventTypeAppCardInterface-Zce0NZR5.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 { y as m } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as c } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as l } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-Qnr0HCO0.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-InrUBwTg.js → EventTypeAppCardInterface-bj9lQhmN.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 { x as d, W as i } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as m } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-aAe8QNQ3.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-_3lalola.js → EventTypeAppCardInterface-cWLQDtAR.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { x as v, w as T, y as _, G as t, W as q, J as L, f as V, S as x } from "./index-6aqrxRA8.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-bt7zv8gh.js";
|
|
5
|
+
import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
|
|
6
|
+
const z = 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 } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(
|
|
11
|
+
), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(g.find((e) => e.value === l)), [w, E] = p(
|
|
12
12
|
j(l) ? C[l] : ""
|
|
13
13
|
), [b, D] = p(N), m = ((f = t) == null ? void 0 : f.find((e) => k === e.value)) || {
|
|
14
14
|
label: t[0].label,
|
|
@@ -48,11 +48,11 @@ const U = function({ app: S, eventType: A }) {
|
|
|
48
48
|
/* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
|
|
49
49
|
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
|
|
50
50
|
/* @__PURE__ */ a(
|
|
51
|
-
|
|
51
|
+
x,
|
|
52
52
|
{
|
|
53
53
|
id: "test-mock-payment-app-currency-id",
|
|
54
54
|
variant: "default",
|
|
55
|
-
options:
|
|
55
|
+
options: g,
|
|
56
56
|
value: s,
|
|
57
57
|
className: "text-black",
|
|
58
58
|
defaultValue: s,
|
|
@@ -65,7 +65,7 @@ const U = function({ app: S, eventType: A }) {
|
|
|
65
65
|
/* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
|
|
66
66
|
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
|
|
67
67
|
/* @__PURE__ */ a(
|
|
68
|
-
|
|
68
|
+
x,
|
|
69
69
|
{
|
|
70
70
|
defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
|
|
71
71
|
options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
|
|
@@ -82,5 +82,5 @@ const U = function({ app: S, eventType: A }) {
|
|
|
82
82
|
);
|
|
83
83
|
};
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
z as default
|
|
86
86
|
};
|
package/dist/{EventTypeAppCardInterface-A7d6UF4_.js → EventTypeAppCardInterface-fwF9ZNE1.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useMemo as v, useState as
|
|
4
|
-
import { A as
|
|
5
|
-
import E from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { x as i, w as g, y as f, z as b, W as S } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { useMemo as v, useState as w } from "react";
|
|
4
|
+
import { A as C } from "./AppCard-bt7zv8gh.js";
|
|
5
|
+
import E from "./EventTypeAppSettingsInterface-lUvYXuGl.js";
|
|
6
6
|
const $ = function({
|
|
7
7
|
app: a,
|
|
8
8
|
eventType: p,
|
|
@@ -11,9 +11,9 @@ const $ = function({
|
|
|
11
11
|
const t = i.useSearchParams(), { t: m } = g(), 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] =
|
|
14
|
+
), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = w(n("enabled")), A = b(c), r = !o && A;
|
|
15
15
|
return /* @__PURE__ */ e(
|
|
16
|
-
|
|
16
|
+
C,
|
|
17
17
|
{
|
|
18
18
|
returnTo: S + h,
|
|
19
19
|
app: a,
|
package/dist/{EventTypeAppCardInterface-JWnT8L9g.js → EventTypeAppCardInterface-lLtnjlZW.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 { y as m } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as c } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-ykuyZiXU.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-brFr18mE.js → EventTypeAppCardInterface-oHgBXT0z.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 { x as d, W as i } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as m } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-aAe8QNQ3.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-Njtagnpn.js → EventTypeAppCardInterface-uSw2xD2a.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
2
|
+
import { w as b, x as f, y, z as E, W as P } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { useState as w } from "react";
|
|
4
|
+
import { A as C } from "./AppCard-bt7zv8gh.js";
|
|
5
|
+
import { u as g } from "./useIsAppEnabled-aAe8QNQ3.js";
|
|
6
|
+
import v from "./EventTypeAppSettingsInterface-mfeygayG.js";
|
|
7
7
|
const q = function({
|
|
8
8
|
app: e,
|
|
9
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 } = g(e), u = E(p), [h, x] = w(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ o(
|
|
15
|
-
|
|
15
|
+
C,
|
|
16
16
|
{
|
|
17
17
|
returnTo: `${P}${r}?tabName=apps`,
|
|
18
18
|
app: e,
|
|
@@ -24,7 +24,7 @@ const q = function({
|
|
|
24
24
|
disableSwitch: s,
|
|
25
25
|
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
26
26
|
children: /* @__PURE__ */ o(
|
|
27
|
-
|
|
27
|
+
v,
|
|
28
28
|
{
|
|
29
29
|
eventType: t,
|
|
30
30
|
slug: e.slug,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { x as d, W as i } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as m } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-aAe8QNQ3.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-ao45jPH0.js → EventTypeAppCardInterface-vmdHhgZV.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 { y as h, f as n } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as I } from "./useIsAppEnabled-aAe8QNQ3.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-DKIBRWYj.js → EventTypeAppCardInterface-zkJKrgZb.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 { y as h, f as n } from "./index-6aqrxRA8.js";
|
|
3
|
+
import { A as I } from "./AppCard-bt7zv8gh.js";
|
|
4
|
+
import { u as C } from "./useIsAppEnabled-aAe8QNQ3.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/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-108_BODL.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as l, jsxs as m, Fragment as
|
|
1
|
+
import { jsx as l, jsxs as m, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o, useEffect as _ } from "react";
|
|
3
3
|
import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
4
|
+
import { M as r, w as E, J as x, f as F, O as T, Q as q, S as O } from "./index-6aqrxRA8.js";
|
|
5
|
+
const I = ({
|
|
6
6
|
getAppData: n,
|
|
7
7
|
setAppData: t,
|
|
8
8
|
eventType: d
|
|
9
9
|
}) => {
|
|
10
10
|
var p, h;
|
|
11
|
-
const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C,
|
|
11
|
+
const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, w] = o(
|
|
12
12
|
k(a) ? S[a] : ""
|
|
13
13
|
), f = n("paymentOption"), u = ((p = r) == null ? void 0 : p.find((e) => f === e.value)) || {
|
|
14
14
|
label: r[0].label,
|
|
15
15
|
value: r[0].value
|
|
16
|
-
}, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(),
|
|
16
|
+
}, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), P = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
|
|
17
17
|
return _(() => {
|
|
18
18
|
v && (n("currency") || t("currency", i[0].value), n("paymentOption") || t("paymentOption", r[0].value));
|
|
19
|
-
}, []),
|
|
19
|
+
}, []), P ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(g, { children: [
|
|
20
20
|
/* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
|
|
21
21
|
F,
|
|
22
22
|
{
|
|
@@ -49,7 +49,7 @@ const H = ({
|
|
|
49
49
|
className: "text-black",
|
|
50
50
|
defaultValue: s,
|
|
51
51
|
onChange: (e) => {
|
|
52
|
-
e && (N(e),
|
|
52
|
+
e && (N(e), w(S[e.value]), t("currency", e.value));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
)
|
|
@@ -74,5 +74,5 @@ const H = ({
|
|
|
74
74
|
] }) : null;
|
|
75
75
|
};
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
I as default
|
|
78
78
|
};
|
package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-Qnr0HCO0.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u } from "react";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
3
|
+
import { w as p, f as h, R as v, r as x } from "./index-6aqrxRA8.js";
|
|
4
|
+
const R = ({ eventType: n, disabled: d }) => {
|
|
5
5
|
const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
|
|
6
6
|
function s({ size: a, data: f }) {
|
|
7
7
|
const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${f}`;
|
|
@@ -39,5 +39,5 @@ const N = ({ eventType: n, disabled: d }) => {
|
|
|
39
39
|
] });
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
R as default
|
|
43
43
|
};
|