@calcom/atoms 1.1.1 → 1.1.12-debug-dont-use

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