@calcom/atoms 2.2.0 → 2.3.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.
Files changed (328) hide show
  1. package/dist/{AddressInput-6bVKck2M.js → AddressInput-Djh5W4Ld.js} +1 -1
  2. package/dist/{AlbyPriceComponent-GfOmDB_O.js → AlbyPriceComponent-BB6ImsoA.js} +106 -196
  3. package/dist/{AppCard-XVjVUT2T.js → AppCard-BGNtlTHu.js} +2 -2
  4. package/dist/{AppListCardPlatformWrapper-i7akxulv.js → AppListCardPlatformWrapper-BwKeYCbQ.js} +1 -1
  5. package/dist/AppListCardWebWrapper-DBS1RRBh.js +72 -0
  6. package/dist/{AppSettingsInterface-ZA_4mY8_.js → AppSettingsInterface-Cpm1x2iE.js} +1 -1
  7. package/dist/{AppSettingsInterface-ETQ3qMkX.js → AppSettingsInterface-Dg0WTvg9.js} +1 -1
  8. package/dist/{AppSettingsInterface-TrLEI6ni.js → AppSettingsInterface-Z9i5YfE-.js} +1 -1
  9. package/dist/{DateRangePicker-DQqNk0Jz.js → DateRangePicker-Bzd7D3OP.js} +9 -9
  10. package/dist/{EventTypeAppCardInterface-b1u3_3R0.js → EventTypeAppCardInterface-B0Eua7gH.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-tgHZw_9s.js → EventTypeAppCardInterface-B4UAawz5.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-M1n4NXFA.js → EventTypeAppCardInterface-B7tTiHDb.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-qcozX-yQ.js → EventTypeAppCardInterface-BA4qD9ba.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-pIt_xj9c.js → EventTypeAppCardInterface-BJWrSAZg.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-nL-zlXJQ.js → EventTypeAppCardInterface-BfCrgPbX.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-toMtOVtA.js → EventTypeAppCardInterface-BpVf-m1C.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-ty37Eet2.js → EventTypeAppCardInterface-ByOXQyZ9.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-ygx1fj1H.js → EventTypeAppCardInterface-C-d78Xsh.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-xhl5HR0c.js → EventTypeAppCardInterface-C-y5XQiF.js} +4 -4
  20. package/dist/{EventTypeAppCardInterface-oLxuW8Vd.js → EventTypeAppCardInterface-C53aqmJk.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-MdK8qkg-.js → EventTypeAppCardInterface-C7n2H5Ei.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-xdESsRSy.js → EventTypeAppCardInterface-CBVhImxw.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-ZHgUOsc7.js → EventTypeAppCardInterface-CRKbbOFI.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-N8wGa45M.js → EventTypeAppCardInterface-CaIYoDQe.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-y79vOxtJ.js → EventTypeAppCardInterface-Cgsepx1D.js} +4 -5
  26. package/dist/{EventTypeAppCardInterface-oZda5T7g.js → EventTypeAppCardInterface-D5-CqjoI.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-Qplt4YLq.js → EventTypeAppCardInterface-DPWI1YUC.js} +2 -2
  28. package/dist/{EventTypeAppCardInterface-FLCpeKqZ.js → EventTypeAppCardInterface-DSF6AnH4.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-eycetC2V.js → EventTypeAppCardInterface-DT-q8gRq.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-wOZWukpM.js → EventTypeAppCardInterface-DUIxFt1b.js} +6 -6
  31. package/dist/{EventTypeAppCardInterface-6sq_fBN1.js → EventTypeAppCardInterface-DXT5SK6P.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-Uga0cNx6.js → EventTypeAppCardInterface-DhpHHzRs.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-RHtdwd9a.js → EventTypeAppCardInterface-DqToNQQ_.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-CP8Elysz.js → EventTypeAppCardInterface-FQxKYHu_.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-XSG4xPHW.js → EventTypeAppCardInterface-jqmnTdzK.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-1Wyihj4E.js → EventTypeAppCardInterface-o9uqYhB3.js} +3 -3
  37. package/dist/{EventTypeAppCardInterface-cc81lVyN.js → EventTypeAppCardInterface-oE-YiQMA.js} +4 -4
  38. package/dist/{EventTypeAppSettingsInterface-VXarBLQW.js → EventTypeAppSettingsInterface-0WSFRV6D.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-LzkaglR0.js → EventTypeAppSettingsInterface-2LxR6LEV.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-4A-o9k6K.js → EventTypeAppSettingsInterface-88wuSRJD.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-k25b3S_w.js → EventTypeAppSettingsInterface-8xG0CTBH.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-iF25p2gL.js → EventTypeAppSettingsInterface-B8TkSn4O.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-xRSZJnRg.js → EventTypeAppSettingsInterface-B9IyGjn5.js} +4 -4
  44. package/dist/{EventTypeAppSettingsInterface-_L8Wkfpq.js → EventTypeAppSettingsInterface-BUzYcxMC.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-99ISmKkW.js → EventTypeAppSettingsInterface-BohjOhWH.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-Ocx3MqcJ.js → EventTypeAppSettingsInterface-C9w3iefE.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-qExeDjlG.js → EventTypeAppSettingsInterface-CVXwl2ke.js} +5 -5
  48. package/dist/{EventTypeAppSettingsInterface-EtvOWW0T.js → EventTypeAppSettingsInterface-C_w-g1FI.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-oyqECCFB.js → EventTypeAppSettingsInterface-D3DdO0Tu.js} +3 -3
  50. package/dist/{EventTypeAppSettingsInterface-8Ydf4Kkr.js → EventTypeAppSettingsInterface-DFsK5-wk.js} +2 -2
  51. package/dist/{EventTypeAppSettingsInterface-mxDLmxhf.js → EventTypeAppSettingsInterface-DGVuXUnf.js} +2 -3
  52. package/dist/{InstallAppButton-RTdjVmy9.js → InstallAppButton-AffySBjZ.js} +1 -1
  53. package/dist/{InstallAppButton-ZoK0cieH.js → InstallAppButton-BzYNuAA-.js} +1 -1
  54. package/dist/{InstallAppButton-jnDe70lC.js → InstallAppButton-Ce59hnm2.js} +1 -1
  55. package/dist/{PhoneInput-KPIrpgU-.js → PhoneInput-CSDTUC98.js} +551 -653
  56. package/dist/{StripePaymentForm-R4ocdPBz.js → StripePaymentForm-C-QqP0ti.js} +136 -145
  57. package/dist/cal-atoms.js +32 -31
  58. package/dist/{index-jM5C1qEC.js → index-BUotGJI2.js} +23 -23
  59. package/dist/{index-dVustuDq.js → index-BvnsFpCA.js} +76886 -76165
  60. package/dist/{index-A4odhI08.js → index-C6Pu2PBc.js} +1 -1
  61. package/dist/{index-lr8mon7V.js → index-qysYaPTt.js} +1 -1
  62. package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +2 -5
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +38 -68
  66. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +36 -63
  68. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +3 -287
  70. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +1 -6
  72. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts +1 -1
  74. package/dist/packages/features/bookings/Booker/utils/event.d.ts +11 -1725
  75. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +208 -199
  77. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
  79. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +9 -9
  81. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +80 -92
  82. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +165 -184
  84. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +18 -18
  86. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +33 -51
  87. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +11 -11
  89. package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts +1 -1
  94. package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +50 -49
  96. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +48 -66
  98. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +318 -318
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +49 -49
  101. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +35 -35
  102. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +13 -13
  103. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts +92 -2
  104. package/dist/packages/features/bookings/lib/onBookingEvents/BookingEventHandlerService.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +9 -9
  106. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/tasker/BookingEmailAndSmsTaskService.d.ts.map +1 -1
  108. package/dist/packages/features/bookings/lib/tasker/trigger/notifications/schema.d.ts +2 -2
  109. package/dist/packages/features/bookings/lib/types/actor.d.ts +119 -33
  110. package/dist/packages/features/bookings/lib/types/actor.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
  112. package/dist/packages/features/bookings/types.d.ts +2 -2
  113. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  114. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts +1 -1
  115. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  116. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  117. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  118. package/dist/packages/features/data-table/lib/dateRange.d.ts +3 -0
  119. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  120. package/dist/packages/features/data-table/lib/parsers.d.ts +18 -18
  121. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -1
  122. package/dist/packages/features/data-table/lib/serializers.d.ts +12 -12
  123. package/dist/packages/features/data-table/lib/types.d.ts +37 -37
  124. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  125. package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +102 -102
  126. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts +1 -0
  127. package/dist/packages/features/ee/billing/service/billingProvider/StripeBillingService.d.ts.map +1 -1
  128. package/dist/packages/features/ee/payments/pages/payment.d.ts +9 -9
  129. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +1 -1
  130. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  131. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +13 -13
  132. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +3 -32
  133. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts.map +1 -1
  134. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/useAgentForms.d.ts +4 -4
  135. package/dist/packages/features/ee/workflows/components/agent-configuration/hooks/usePhoneNumberActions.d.ts +1 -1
  136. package/dist/packages/features/ee/workflows/components/agent-configuration/types/schemas.d.ts +8 -8
  137. package/dist/packages/features/ee/workflows/lib/deleteRemindersOfActiveOnIds.d.ts +8 -0
  138. package/dist/packages/features/ee/workflows/lib/deleteRemindersOfActiveOnIds.d.ts.map +1 -0
  139. package/dist/packages/features/ee/workflows/lib/getAllWorkflowsFromEventType.d.ts +15 -0
  140. package/dist/packages/features/ee/workflows/lib/getAllWorkflowsFromEventType.d.ts.map +1 -0
  141. package/dist/packages/features/ee/workflows/lib/isAuthorized.d.ts +4 -0
  142. package/dist/packages/features/ee/workflows/lib/isAuthorized.d.ts.map +1 -0
  143. package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts +9 -0
  144. package/dist/packages/features/ee/workflows/lib/scheduleBookingReminders.d.ts.map +1 -0
  145. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts +103 -0
  146. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.d.ts.map +1 -0
  147. package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
  148. package/dist/packages/features/ee/workflows/lib/service/EmailWorkflowService.d.ts.map +1 -1
  149. package/dist/packages/features/ee/workflows/lib/service/WorkflowService.d.ts.map +1 -1
  150. package/dist/packages/features/ee/workflows/lib/types.d.ts +31 -1
  151. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  152. package/dist/packages/features/ee/workflows/lib/verifyEmailSender.d.ts +2 -0
  153. package/dist/packages/features/ee/workflows/lib/verifyEmailSender.d.ts.map +1 -0
  154. package/dist/packages/features/ee/workflows/repositories/WorkflowRelationsRepository.d.ts +24 -0
  155. package/dist/packages/features/ee/workflows/repositories/WorkflowRelationsRepository.d.ts.map +1 -0
  156. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +51 -1
  157. package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
  158. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +57 -0
  159. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts.map +1 -0
  160. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts +2 -19
  161. package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -1
  162. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
  163. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  164. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts +8 -8
  165. package/dist/packages/features/eventtypes/components/tabs/instant/InstantEventController.d.ts.map +1 -1
  166. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  167. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +3 -648
  168. package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -1
  169. package/dist/packages/features/eventtypes/lib/childrenEventType.d.ts +20 -0
  170. package/dist/packages/features/eventtypes/lib/childrenEventType.d.ts.map +1 -0
  171. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +873 -873
  172. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +271 -271
  173. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +10 -10
  174. package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +9 -9
  175. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +794 -793
  176. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  177. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +1 -1
  178. package/dist/packages/features/eventtypes/lib/schemas.d.ts +54 -0
  179. package/dist/packages/features/eventtypes/lib/schemas.d.ts.map +1 -0
  180. package/dist/packages/features/eventtypes/lib/types.d.ts +3 -1585
  181. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  182. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +536 -536
  183. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +56 -56
  184. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  185. package/dist/packages/features/form-builder/schema.d.ts +68 -67
  186. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  187. package/dist/packages/features/form-builder/testUtils.d.ts +9 -9
  188. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +2 -2
  189. package/dist/packages/features/schedules/lib/slots.d.ts +1 -0
  190. package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -1
  191. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +1 -475
  192. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  193. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +1 -10
  194. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
  195. package/dist/packages/kysely/types.d.ts +39 -0
  196. package/dist/packages/kysely/types.d.ts.map +1 -1
  197. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +1 -59
  198. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  199. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/event-types/__tests__/EventTypeListItem.test.d.ts +2 -0
  201. package/dist/packages/platform/atoms/event-types/__tests__/EventTypeListItem.test.d.ts.map +1 -0
  202. package/dist/packages/platform/atoms/event-types/__tests__/formatEventTypeDuration.test.d.ts +2 -0
  203. package/dist/packages/platform/atoms/event-types/__tests__/formatEventTypeDuration.test.d.ts.map +1 -0
  204. package/dist/packages/platform/atoms/event-types/components/EventTypeListItem.d.ts +12 -0
  205. package/dist/packages/platform/atoms/event-types/components/EventTypeListItem.d.ts.map +1 -0
  206. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +1 -857
  207. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  208. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +9 -9
  209. package/dist/packages/platform/atoms/event-types/hooks/useAtomGetAllEventTypes.d.ts +9 -0
  210. package/dist/packages/platform/atoms/event-types/hooks/useAtomGetAllEventTypes.d.ts.map +1 -0
  211. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +1 -403
  212. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  213. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts +1 -1
  214. package/dist/packages/platform/atoms/event-types/index.d.ts +2 -0
  215. package/dist/packages/platform/atoms/event-types/index.d.ts.map +1 -0
  216. package/dist/packages/platform/atoms/event-types/lib/formatEventTypeDuration.d.ts +13 -0
  217. package/dist/packages/platform/atoms/event-types/lib/formatEventTypeDuration.d.ts.map +1 -0
  218. package/dist/packages/platform/atoms/event-types/types.d.ts +16 -0
  219. package/dist/packages/platform/atoms/event-types/types.d.ts.map +1 -0
  220. package/dist/packages/platform/atoms/event-types/wrappers/ListEventTypesPlatformWrapper.d.ts +6 -0
  221. package/dist/packages/platform/atoms/event-types/wrappers/ListEventTypesPlatformWrapper.d.ts.map +1 -0
  222. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  223. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +20 -20
  224. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +536 -536
  225. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts +2 -8
  226. package/dist/packages/platform/atoms/hooks/schedules/useAtomCreateSchedule.d.ts.map +1 -1
  227. package/dist/packages/platform/atoms/index.d.ts +1 -0
  228. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  229. package/dist/packages/platform/atoms/lib/http.d.ts +6 -6
  230. package/dist/packages/platform/libraries/bookings.d.ts +2 -1
  231. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  232. package/dist/packages/platform/libraries/index.d.ts +2 -0
  233. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  234. package/dist/packages/platform/libraries/repositories.d.ts +2 -1
  235. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  236. package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
  237. package/dist/packages/platform/types/me.d.ts +2 -2
  238. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +4 -3
  239. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts.map +1 -1
  240. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorScalarFieldEnumSchema.d.ts +1 -1
  241. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorScalarFieldEnumSchema.d.ts.map +1 -1
  242. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorTypeSchema.d.ts +1 -1
  243. package/dist/packages/prisma/zod/inputTypeSchemas/AuditActorTypeSchema.d.ts.map +1 -1
  244. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts +1 -1
  245. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditActionSchema.d.ts.map +1 -1
  246. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts +1 -1
  247. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditScalarFieldEnumSchema.d.ts.map +1 -1
  248. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts +5 -0
  249. package/dist/packages/prisma/zod/inputTypeSchemas/BookingAuditSourceSchema.d.ts.map +1 -0
  250. package/dist/packages/prisma/zod/inputTypeSchemas/HolidayCacheScalarFieldEnumSchema.d.ts +4 -0
  251. package/dist/packages/prisma/zod/inputTypeSchemas/HolidayCacheScalarFieldEnumSchema.d.ts.map +1 -0
  252. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts +1 -1
  253. package/dist/packages/prisma/zod/inputTypeSchemas/OAuthClientScalarFieldEnumSchema.d.ts.map +1 -1
  254. package/dist/packages/prisma/zod/inputTypeSchemas/TeamFeaturesScalarFieldEnumSchema.d.ts +1 -1
  255. package/dist/packages/prisma/zod/inputTypeSchemas/TeamFeaturesScalarFieldEnumSchema.d.ts.map +1 -1
  256. package/dist/packages/prisma/zod/inputTypeSchemas/UserFeaturesScalarFieldEnumSchema.d.ts +1 -1
  257. package/dist/packages/prisma/zod/inputTypeSchemas/UserFeaturesScalarFieldEnumSchema.d.ts.map +1 -1
  258. package/dist/packages/prisma/zod/inputTypeSchemas/UserHolidaySettingsScalarFieldEnumSchema.d.ts +4 -0
  259. package/dist/packages/prisma/zod/inputTypeSchemas/UserHolidaySettingsScalarFieldEnumSchema.d.ts.map +1 -0
  260. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookScalarFieldEnumSchema.d.ts +1 -1
  261. package/dist/packages/prisma/zod/inputTypeSchemas/WebhookScalarFieldEnumSchema.d.ts.map +1 -1
  262. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +3 -0
  263. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  264. package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
  265. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +2 -2
  266. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +4 -4
  267. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +2 -2
  268. package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts +2 -2
  269. package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts +6 -3
  270. package/dist/packages/prisma/zod/modelSchema/AuditActorSchema.d.ts.map +1 -1
  271. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts +11 -5
  272. package/dist/packages/prisma/zod/modelSchema/BookingAuditSchema.d.ts.map +1 -1
  273. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +18 -30
  274. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts.map +1 -1
  275. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +26 -44
  276. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts.map +1 -1
  277. package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +2 -2
  278. package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +2 -2
  279. package/dist/packages/prisma/zod/modelSchema/EventTypeCustomInputSchema.d.ts +6 -6
  280. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +145 -188
  281. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
  282. package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +8 -8
  283. package/dist/packages/prisma/zod/modelSchema/HolidayCacheSchema.d.ts +35 -0
  284. package/dist/packages/prisma/zod/modelSchema/HolidayCacheSchema.d.ts.map +1 -0
  285. package/dist/packages/prisma/zod/modelSchema/HostSchema.d.ts +2 -2
  286. package/dist/packages/prisma/zod/modelSchema/InstantMeetingTokenSchema.d.ts +2 -2
  287. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +3 -0
  288. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts.map +1 -1
  289. package/dist/packages/prisma/zod/modelSchema/OrganizationOnboardingSchema.d.ts +2 -2
  290. package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +2 -2
  291. package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +6 -6
  292. package/dist/packages/prisma/zod/modelSchema/TeamFeaturesSchema.d.ts +3 -0
  293. package/dist/packages/prisma/zod/modelSchema/TeamFeaturesSchema.d.ts.map +1 -1
  294. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +34 -34
  295. package/dist/packages/prisma/zod/modelSchema/UserFeaturesSchema.d.ts +3 -0
  296. package/dist/packages/prisma/zod/modelSchema/UserFeaturesSchema.d.ts.map +1 -1
  297. package/dist/packages/prisma/zod/modelSchema/UserHolidaySettingsSchema.d.ts +26 -0
  298. package/dist/packages/prisma/zod/modelSchema/UserHolidaySettingsSchema.d.ts.map +1 -0
  299. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +4 -4
  300. package/dist/packages/prisma/zod/modelSchema/VerificationTokenSchema.d.ts +2 -2
  301. package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -0
  302. package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts.map +1 -1
  303. package/dist/packages/prisma/zod/modelSchema/index.d.ts +2 -0
  304. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  305. package/dist/packages/prisma/zod-utils.d.ts +476 -375
  306. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  307. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +1 -28
  308. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  309. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +1 -313
  310. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  311. package/dist/packages/trpc/react/shared.d.ts +1 -1
  312. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  313. package/dist/packages/trpc/react/trpc.d.ts +1 -1
  314. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  315. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +14 -14
  316. package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.schema.d.ts +8 -8
  317. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +207 -207
  318. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +2 -1
  319. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  320. package/dist/server.browser-CNpOyLDA.js +2536 -0
  321. package/dist/style.css +1 -1
  322. package/dist/{useIsAppEnabled-OQG85VSh.js → useIsAppEnabled-CJ4mGZvd.js} +1 -1
  323. package/globals.min.css +21 -2
  324. package/package.json +14 -11
  325. package/dist/AppListCardWebWrapper-dPeS1ok1.js +0 -74
  326. package/dist/server.browser-6clCAqw-.js +0 -2740
  327. /package/dist/{InstallAppButton-JXhBVaYJ.js → InstallAppButton-BdAHg4Ly.js} +0 -0
  328. /package/dist/{currencyOptions-kannG2hu.js → currencyOptions-r01lKGBF.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { jsx as r, jsxs as f, Fragment as s } from "react/jsx-runtime";
2
- import { U as C, V as N, X as w, J as d, $ as R, Y as E, B as j, Z as l, _ as O, a0 as k } from "./index-dVustuDq.js";
2
+ import { Z as C, _ as N, $ as w, J as d, a0 as R, a1 as E, B as j, a2 as l, a3 as O, a4 as k } from "./index-BvnsFpCA.js";
3
3
  import { useState as B, useMemo as F } from "react";
4
4
  function I({
5
- startDate: o,
5
+ startDate: a,
6
6
  endDate: e,
7
7
  clickedDate: t
8
8
  }) {
9
- return !o || e ? { startDate: t, endDate: void 0 } : t < o ? { startDate: t, endDate: o } : { startDate: o, endDate: t };
9
+ return !a || e ? { startDate: t, endDate: void 0 } : t < a ? { startDate: t, endDate: a } : { startDate: a, endDate: t };
10
10
  }
11
11
  function H({
12
- className: o,
12
+ className: a,
13
13
  dates: e,
14
14
  minDate: t,
15
15
  maxDate: m,
@@ -20,7 +20,7 @@ function H({
20
20
  strictlyBottom: D,
21
21
  allowPastDates: g = !1
22
22
  }) {
23
- const [a, i] = B(void 0);
23
+ const [o, i] = B(void 0);
24
24
  function $(n) {
25
25
  const M = I({
26
26
  startDate: e.startDate,
@@ -36,9 +36,9 @@ function H({
36
36
  i(void 0);
37
37
  }
38
38
  const x = g && t === null ? void 0 : t ?? /* @__PURE__ */ new Date(), c = F(() => {
39
- if (!(!e.startDate || e.endDate || !a) && !C(e.startDate, a))
40
- return N(a, e.startDate) ? { from: a, to: e.startDate } : { from: e.startDate, to: a };
41
- }, [e.startDate, e.endDate, a]), u = /* @__PURE__ */ r(
39
+ if (!(!e.startDate || e.endDate || !o) && !C(e.startDate, o))
40
+ return N(o, e.startDate) ? { from: o, to: e.startDate } : { from: e.startDate, to: o };
41
+ }, [e.startDate, e.endDate, o]), u = /* @__PURE__ */ r(
42
42
  w,
43
43
  {
44
44
  initialFocus: !0,
@@ -57,7 +57,7 @@ function H({
57
57
  modifiersClassNames: c ? { hoverRange: "bg-emphasis" } : void 0
58
58
  }
59
59
  );
60
- return v ? u : /* @__PURE__ */ r("div", { className: d("grid gap-2", o), children: /* @__PURE__ */ f(R, { children: [
60
+ return v ? u : /* @__PURE__ */ r("div", { className: d("grid gap-2", a), children: /* @__PURE__ */ f(R, { modal: !0, children: [
61
61
  /* @__PURE__ */ r(E, { asChild: !0, children: /* @__PURE__ */ r(
62
62
  j,
63
63
  {
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { q as f, r as E, s as y, t as C, W as P } from "./index-dVustuDq.js";
2
+ import { q as f, r as E, s as y, t as C, W as P } from "./index-BvnsFpCA.js";
3
3
  import { useState as g } from "react";
4
- import { A as v } from "./AppCard-XVjVUT2T.js";
5
- import { u as w } from "./useIsAppEnabled-OQG85VSh.js";
6
- import S from "./EventTypeAppSettingsInterface-oyqECCFB.js";
4
+ import { A as v } from "./AppCard-BGNtlTHu.js";
5
+ import { u as w } from "./useIsAppEnabled-CJ4mGZvd.js";
6
+ import S from "./EventTypeAppSettingsInterface-D3DdO0Tu.js";
7
7
  const q = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { s as m, f as u } from "./index-dVustuDq.js";
3
- import { A as I } from "./AppCard-XVjVUT2T.js";
4
- import { u as h } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as m, f as u } from "./index-BvnsFpCA.js";
3
+ import { A as I } from "./AppCard-BGNtlTHu.js";
4
+ import { u as h } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const v = function({ app: t, eventType: n, onAppInstallSuccess: o }) {
6
6
  var a;
7
7
  const { getAppData: r, setAppData: s, disabled: d } = m(), i = r("SITE_ID"), { enabled: c, updateEnabled: l } = h(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as g } from "react/jsx-runtime";
2
- import { r as i, q as f, s as b, t as S, W as v } from "./index-dVustuDq.js";
2
+ import { r as i, q as f, s as b, t as S, W as v } from "./index-BvnsFpCA.js";
3
3
  import { useMemo as C, useState as w } from "react";
4
- import { A as E } from "./AppCard-XVjVUT2T.js";
5
- import T from "./EventTypeAppSettingsInterface-99ISmKkW.js";
4
+ import { A as E } from "./AppCard-BGNtlTHu.js";
5
+ import T from "./EventTypeAppSettingsInterface-BohjOhWH.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as m } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import u from "./EventTypeAppSettingsInterface-mxDLmxhf.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as m } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import u from "./EventTypeAppSettingsInterface-DGVuXUnf.js";
6
6
  const g = function({
7
7
  app: t,
8
8
  eventType: p,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as c } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { r as i, W as m } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as c } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const E = function({
6
6
  app: t,
7
7
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-4A-o9k6K.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-8xG0CTBH.js";
6
6
  const I = function({
7
7
  app: t,
8
8
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as c } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { r as i, W as m } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as c } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const E = function({
6
6
  app: t,
7
7
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as h } from "react/jsx-runtime";
2
- import { s as I, f as n } from "./index-dVustuDq.js";
3
- import { A as C } from "./AppCard-XVjVUT2T.js";
4
- import { u as f } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as I, f as n } from "./index-BvnsFpCA.js";
3
+ import { A as C } from "./AppCard-BGNtlTHu.js";
4
+ import { u as f } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const T = function({
6
6
  app: s,
7
7
  eventType: o,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as c } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { r as i, W as m } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as c } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const E = function({ app: t, eventType: e, onAppInstallSuccess: p }) {
6
6
  var a;
7
7
  const r = i.usePathname(), { enabled: n, updateEnabled: o } = c(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as l } from "./AppCard-XVjVUT2T.js";
4
- import { u } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-Ocx3MqcJ.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as l } from "./AppCard-BGNtlTHu.js";
4
+ import { u } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-C9w3iefE.js";
6
6
  const v = function({ eventType: e, app: t, onAppInstallSuccess: s }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: o } = u(t), { disabled: n, getAppData: d, setAppData: i } = c();
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-_L8Wkfpq.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-BUzYcxMC.js";
6
6
  const I = function({ app: t, eventType: e, onAppInstallSuccess: a }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: n, disabled: o } = c(), { enabled: i, updateEnabled: d } = l(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { q as f, r as y, s as E, t as P, W as C } from "./index-dVustuDq.js";
2
+ import { q as f, r as y, s as E, t as P, W as C } from "./index-BvnsFpCA.js";
3
3
  import { useState as g } from "react";
4
- import { A as v } from "./AppCard-XVjVUT2T.js";
5
- import { u as w } from "./useIsAppEnabled-OQG85VSh.js";
6
- import S from "./EventTypeAppSettingsInterface-qExeDjlG.js";
4
+ import { A as v } from "./AppCard-BGNtlTHu.js";
5
+ import { u as w } from "./useIsAppEnabled-CJ4mGZvd.js";
6
+ import S from "./EventTypeAppSettingsInterface-CVXwl2ke.js";
7
7
  const L = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as h } from "react/jsx-runtime";
2
- import { s as A, f as n } from "./index-dVustuDq.js";
3
- import { A as I } from "./AppCard-XVjVUT2T.js";
4
- import { u as f } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as A, f as n } from "./index-BvnsFpCA.js";
3
+ import { A as I } from "./AppCard-BGNtlTHu.js";
4
+ import { u as f } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const x = function({ app: t, eventType: i, onAppInstallSuccess: l }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = A(), p = o("MATOMO_URL"), c = o("SITE_ID"), { enabled: m, updateEnabled: u } = f(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, Fragment as A } from "react/jsx-runtime";
2
- import { q as y, r as g, s as b, t as f, W as P } from "./index-dVustuDq.js";
2
+ import { q as y, r as g, s as b, t as f, W as P } from "./index-BvnsFpCA.js";
3
3
  import { useState as v } from "react";
4
- import { A as C } from "./AppCard-XVjVUT2T.js";
5
- import w from "./EventTypeAppSettingsInterface-EtvOWW0T.js";
4
+ import { A as C } from "./AppCard-BGNtlTHu.js";
5
+ import w from "./EventTypeAppSettingsInterface-C_w-g1FI.js";
6
6
  const x = function({
7
7
  eventType: o,
8
8
  app: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as b } from "react/jsx-runtime";
2
- import { r as g, q as S, s as k, W as A, p as r } from "./index-dVustuDq.js";
3
- import { A as f, S as n } from "./AppCard-XVjVUT2T.js";
4
- import { u as E } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { r as g, q as S, s as k, W as A, p as r } from "./index-BvnsFpCA.js";
3
+ import { A as f, S as n } from "./AppCard-BGNtlTHu.js";
4
+ import { u as E } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const G = function({
6
6
  app: a,
7
7
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as s, Fragment as k, jsx as e } from "react/jsx-runtime";
2
- import { q as ae, a3 as f, a4 as $, a5 as q, p, I as b, S as v, B as F, a6 as K, r as ce, s as se, a7 as m, W as re, L as J, a8 as de, w as ue } from "./index-dVustuDq.js";
2
+ import { q as ae, a7 as f, a8 as $, a9 as q, p, I as b, S as v, B as F, aa as K, r as ce, s as se, ab as m, W as re, L as J, ac as de, w as ue } from "./index-BvnsFpCA.js";
3
3
  import { useState as g } from "react";
4
- import { S as t, A as he } from "./AppCard-XVjVUT2T.js";
5
- import { u as fe } from "./useIsAppEnabled-OQG85VSh.js";
4
+ import { S as t, A as he } from "./AppCard-BGNtlTHu.js";
5
+ import { u as fe } from "./useIsAppEnabled-CJ4mGZvd.js";
6
6
  var Q = /* @__PURE__ */ ((E) => (E.ON_BOOKING = "on_booking", E.ON_CANCEL = "on_cancel", E))(Q || {});
7
7
  const le = ({
8
8
  bookingAction: E,
@@ -57,8 +57,7 @@ const le = ({
57
57
  });
58
58
  }, P = (n) => {
59
59
  const c = D[n];
60
- if (!c)
61
- return;
60
+ if (!c) return;
62
61
  if (!c.field.trim()) {
63
62
  K("Field name cannot be empty", "error");
64
63
  return;
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { s as o, K as u } from "./index-dVustuDq.js";
3
- import { A as h } from "./AppCard-XVjVUT2T.js";
4
- import { u as f } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as o, K as u } from "./index-BvnsFpCA.js";
3
+ import { A as h } from "./AppCard-BGNtlTHu.js";
4
+ import { u as f } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const I = function({
6
6
  eventType: a,
7
7
  app: s,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as m } from "react";
3
- import { s as l, f } from "./index-dVustuDq.js";
4
- import { A as u } from "./AppCard-XVjVUT2T.js";
3
+ import { s as l, f } from "./index-BvnsFpCA.js";
4
+ import { A as u } from "./AppCard-BGNtlTHu.js";
5
5
  const v = function({ app: p, eventType: i, onAppInstallSuccess: s }) {
6
6
  var n;
7
7
  const { getAppData: t, setAppData: o } = l(), d = t("trackingId"), [c, a] = m(t("enabled"));
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as f, q as l } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as A } from "./useIsAppEnabled-OQG85VSh.js";
5
- import h from "./EventTypeAppSettingsInterface-8Ydf4Kkr.js";
2
+ import { s as f, q as l } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as A } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import h from "./EventTypeAppSettingsInterface-DFsK5-wk.js";
6
6
  const v = function({
7
7
  app: t,
8
8
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { r as i, W as m } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as c } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { r as i, W as m } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as c } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const E = function({
6
6
  app: t,
7
7
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { r as v, q as T, s as _, v as t, W as L, w as V, f as W, S as g } from "./index-dVustuDq.js";
2
+ import { r as v, q as T, s as _, v as t, w as L, f as V, S as g, W } from "./index-BvnsFpCA.js";
3
3
  import { useMemo as $, useState as p } from "react";
4
- import { A as j } from "./AppCard-XVjVUT2T.js";
5
- import { c as x, i as R, a as C } from "./currencyOptions-kannG2hu.js";
4
+ import { A as j } from "./AppCard-BGNtlTHu.js";
5
+ import { c as x, a as C, i as R } from "./currencyOptions-r01lKGBF.js";
6
6
  const I = function({ app: S, eventType: A, onAppInstallSuccess: P }) {
7
7
  var f, h;
8
8
  const i = v.useSearchParams(), d = v.usePathname(), k = $(
@@ -18,16 +18,16 @@ const I = function({ app: S, eventType: A, onAppInstallSuccess: P }) {
18
18
  j,
19
19
  {
20
20
  onAppInstallSuccess: P,
21
- returnTo: L + k,
21
+ returnTo: W + k,
22
22
  app: S,
23
23
  switchChecked: b,
24
24
  switchOnClick: (e) => {
25
25
  D(e);
26
26
  },
27
27
  description: /* @__PURE__ */ a(o, { children: "Add a mock payment to your events" }),
28
- children: /* @__PURE__ */ a(o, { children: F ? /* @__PURE__ */ a(V, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : b && /* @__PURE__ */ u(o, { children: [
28
+ 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: [
29
29
  /* @__PURE__ */ a("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ a(
30
- W,
30
+ V,
31
31
  {
32
32
  id: "test-mock-payment-app-price",
33
33
  label: "Price",
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as m } from "./index-dVustuDq.js";
3
- import { A as c } from "./AppCard-XVjVUT2T.js";
4
- import { u } from "./useIsAppEnabled-OQG85VSh.js";
5
- import l from "./EventTypeAppSettingsInterface-VXarBLQW.js";
2
+ import { s as m } from "./index-BvnsFpCA.js";
3
+ import { A as c } from "./AppCard-BGNtlTHu.js";
4
+ import { u } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import l from "./EventTypeAppSettingsInterface-0WSFRV6D.js";
6
6
  const b = function({ app: t, eventType: e, onAppInstallSuccess: a }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: n, disabled: o } = m(), { enabled: i, updateEnabled: d } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-k25b3S_w.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-88wuSRJD.js";
6
6
  const I = function({
7
7
  app: t,
8
8
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { r as i, s as g, t as S, q as b, W as v } from "./index-dVustuDq.js";
2
+ import { r as i, s as g, t as S, q as b, W as v } from "./index-BvnsFpCA.js";
3
3
  import { useMemo as C, useState as w } from "react";
4
- import { A as E } from "./AppCard-XVjVUT2T.js";
5
- import T from "./EventTypeAppSettingsInterface-xRSZJnRg.js";
4
+ import { A as E } from "./AppCard-BGNtlTHu.js";
5
+ import T from "./EventTypeAppSettingsInterface-B9IyGjn5.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-LzkaglR0.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-B8TkSn4O.js";
6
6
  const I = function({ app: t, eventType: e, onAppInstallSuccess: a }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: n, disabled: o } = c(), { enabled: i, updateEnabled: d } = l(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { s as m, f as u } from "./index-dVustuDq.js";
3
- import { A as h } from "./AppCard-XVjVUT2T.js";
4
- import { u as I } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as m, f as u } from "./index-BvnsFpCA.js";
3
+ import { A as h } from "./AppCard-BGNtlTHu.js";
4
+ import { u as I } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const v = function({ app: a, eventType: d, onAppInstallSuccess: n }) {
6
6
  var p;
7
7
  const { getAppData: r, setAppData: i, disabled: s } = m(), o = r("SITE_ID"), { enabled: c, updateEnabled: l } = I(a);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
- import { s as A, f as i } from "./index-dVustuDq.js";
3
- import { A as I } from "./AppCard-XVjVUT2T.js";
4
- import { u as g } from "./useIsAppEnabled-OQG85VSh.js";
2
+ import { s as A, f as i } from "./index-BvnsFpCA.js";
3
+ import { A as I } from "./AppCard-BGNtlTHu.js";
4
+ import { u as g } from "./useIsAppEnabled-CJ4mGZvd.js";
5
5
  const D = function({
6
6
  app: a,
7
7
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as c } from "./index-dVustuDq.js";
3
- import { A as u } from "./AppCard-XVjVUT2T.js";
4
- import { u as l } from "./useIsAppEnabled-OQG85VSh.js";
5
- import A from "./EventTypeAppSettingsInterface-iF25p2gL.js";
2
+ import { s as c } from "./index-BvnsFpCA.js";
3
+ import { A as u } from "./AppCard-BGNtlTHu.js";
4
+ import { u as l } from "./useIsAppEnabled-CJ4mGZvd.js";
5
+ import A from "./EventTypeAppSettingsInterface-2LxR6LEV.js";
6
6
  const I = function({ app: t, eventType: e, onAppInstallSuccess: a }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: n, disabled: o } = c(), { enabled: i, updateEnabled: d } = l(t);
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-dVustuDq.js";
2
+ import { f as o } from "./index-BvnsFpCA.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-dVustuDq.js";
2
+ import { f as c } from "./index-BvnsFpCA.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-dVustuDq.js";
2
+ import { f as o } from "./index-BvnsFpCA.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as l } from "react/jsx-runtime";
2
- import { f as n } from "./index-dVustuDq.js";
2
+ import { f as n } from "./index-BvnsFpCA.js";
3
3
  const T = ({
4
4
  getAppData: d,
5
5
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-dVustuDq.js";
2
+ import { f as g } from "./index-BvnsFpCA.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,7 +1,7 @@
1
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
- import { c as i, i as k, a as x } from "./currencyOptions-kannG2hu.js";
4
- import { x as r, q as E, w as S, f as F, y as q, z as T, S as O } from "./index-dVustuDq.js";
3
+ import { c as i, a as x, i as k } from "./currencyOptions-r01lKGBF.js";
4
+ import { x as r, q as E, w as S, f as F, y as q, z as T, S as O } from "./index-BvnsFpCA.js";
5
5
  const H = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -32,9 +32,9 @@ const H = ({
32
32
  placeholder: "Price",
33
33
  "data-testid": "paypal-price-input",
34
34
  onChange: (e) => {
35
- t("price", q(Number(e.target.value), a)), s && t("currency", s.value);
35
+ t("price", T(Number(e.target.value), a)), s && t("currency", s.value);
36
36
  },
37
- value: y > 0 ? T(y, a) : void 0
37
+ value: y > 0 ? q(y, a) : void 0
38
38
  }
39
39
  ) }),
40
40
  /* @__PURE__ */ m("div", { className: "mt-5 w-60", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-dVustuDq.js";
2
+ import { f as s } from "./index-BvnsFpCA.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,6 +1,6 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as O } from "react";
3
- import { q as _, a1 as t, w as g, f as C, M as P, S as p } from "./index-dVustuDq.js";
3
+ import { q as _, a5 as t, w as g, f as C, M as P, S as p } from "./index-BvnsFpCA.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
- import { q as p, f as h, G as v, J as x } from "./index-dVustuDq.js";
3
+ import { q as p, f as h, G as v, J as x } from "./index-BvnsFpCA.js";
4
4
  const N = ({ 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 }) {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as g, jsx as a } from "react/jsx-runtime";
2
- import { a9 as b, q as z, aa as s, ab as N, w as M, f as C, y as K, z as G, S as m, ac as U, ad as D, J as S, ae as V, af as H, b as _ } from "./index-dVustuDq.js";
3
- import { useState as I, useEffect as Y } from "react";
2
+ import { ad as b, q as z, ae as s, af as N, w as M, f as C, y as K, z as G, S as m, ag as U, ah as D, J as S, ai as V, aj as H, b as _ } from "./index-BvnsFpCA.js";
3
+ import { useState as I, useEffect as j } from "react";
4
4
  const o = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
6
6
  { label: "United Arab Emirates dirham (AED)", value: "aed" },
@@ -154,7 +154,7 @@ const o = [
154
154
  minimumFractionDigits: 0,
155
155
  maximumFractionDigits: 0
156
156
  }).replace(/\d/g, "").trim();
157
- Y(() => {
157
+ j(() => {
158
158
  h && (r("currency") || n("currency", o[0].value), r("paymentOption") || n("paymentOption", b[0].value)), r("refundPolicy") || n("refundPolicy", s.NEVER);
159
159
  }, [h, r, n]);
160
160
  const B = [
@@ -184,9 +184,9 @@ const o = [
184
184
  placeholder: "Price",
185
185
  disabled: i,
186
186
  onChange: (e) => {
187
- n("price", K(Number(e.target.value), c));
187
+ n("price", G(Number(e.target.value), c));
188
188
  },
189
- value: p > 0 ? G(p, c) : void 0
189
+ value: p > 0 ? K(p, c) : void 0
190
190
  }
191
191
  ) }),
192
192
  /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, Fragment as D, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as T } from "react";
3
- import { q as w, a2 as t, w as P, f as R, S as y } from "./index-dVustuDq.js";
3
+ import { q as w, a6 as t, w as P, f as R, S as y } from "./index-BvnsFpCA.js";
4
4
  const i = [
5
5
  { label: "SATS", value: "BTC", unit: "SATS" },
6
6
  { label: "USD- US Dollar", value: "USD", unit: "USD" },
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as o, jsx as a } from "react/jsx-runtime";
2
2
  import { useState as k, useEffect as x } from "react";
3
- import { q as w, w as p, f as _, y as P, z as K, S as E } from "./index-dVustuDq.js";
3
+ import { q as w, w as p, f as _, y as P, z as K, S as E } from "./index-BvnsFpCA.js";
4
4
  const F = [
5
5
  {
6
6
  label: "on_booking_option",
@@ -72,9 +72,9 @@ const F = [
72
72
  placeholder: "Price",
73
73
  disabled: h,
74
74
  onChange: (e) => {
75
- r("price", P(Number(e.target.value), t));
75
+ r("price", K(Number(e.target.value), t));
76
76
  },
77
- value: m > 0 ? C(K(m, t)) : void 0
77
+ value: m > 0 ? C(P(m, t)) : void 0
78
78
  }
79
79
  ) }),
80
80
  /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [