@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,22 +1,22 @@
1
1
  import { jsx as l, jsxs as m, Fragment as w } 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 { z as r, q as E, x as S, f as F, G as q, J as T, S as O } from "./index-WCahCkE1.js";
5
- const G = ({
3
+ import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
4
+ import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-SWq3GK12.js";
5
+ const H = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
8
8
  eventType: d
9
9
  }) => {
10
10
  var p, h;
11
11
  const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, P] = o(
12
- k(a) ? x[a] : ""
12
+ k(a) ? S[a] : ""
13
13
  ), f = n("paymentOption"), u = ((p = r) == null ? void 0 : p.find((e) => f === e.value)) || {
14
14
  label: r[0].label,
15
15
  value: r[0].value
16
16
  }, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), g = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
17
17
  return _(() => {
18
18
  v && (n("currency") || t("currency", i[0].value), n("paymentOption") || t("paymentOption", r[0].value));
19
- }, []), g ? /* @__PURE__ */ l(S, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(w, { children: [
19
+ }, []), g ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(w, { children: [
20
20
  /* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
21
21
  F,
22
22
  {
@@ -32,9 +32,9 @@ const G = ({
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: [
@@ -49,7 +49,7 @@ const G = ({
49
49
  className: "text-black",
50
50
  defaultValue: s,
51
51
  onChange: (e) => {
52
- e && (N(e), P(x[e.value]), t("currency", e.value));
52
+ e && (N(e), P(S[e.value]), t("currency", e.value));
53
53
  }
54
54
  }
55
55
  )
@@ -70,9 +70,9 @@ const G = ({
70
70
  }
71
71
  )
72
72
  ] }),
73
- b && f === "HOLD" && /* @__PURE__ */ l(S, { className: "mt-2", severity: "warning", title: c("seats_and_no_show_fee_error") })
73
+ b && f === "HOLD" && /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("seats_and_no_show_fee_error") })
74
74
  ] }) : null;
75
75
  };
76
76
  export {
77
- G as default
77
+ H as default
78
78
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-WCahCkE1.js";
2
+ import { f as o } from "./index-SWq3GK12.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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, K as v, M as x } from "./index-WCahCkE1.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-SWq3GK12.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,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-WCahCkE1.js";
2
+ import { f as s } from "./index-SWq3GK12.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,21 +1,21 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as w } from "react";
3
- import { q as _, V as t, x as g, f as C, O as P, S as p } from "./index-WCahCkE1.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-SWq3GK12.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
7
7
  setAppData: a
8
8
  }) => {
9
9
  var v, h;
10
- const { t: n } = _(), i = s("price"), c = s("currency"), [r, O] = N(
10
+ const { t: n } = _(), i = s("price"), c = s("currency"), [r, S] = N(
11
11
  d.find((e) => e.value === c) || d[0]
12
12
  ), b = s("paymentOption"), u = ((v = t) == null ? void 0 : v.find((e) => b === e.value)) || {
13
13
  label: t[0].label,
14
14
  value: t[0].value
15
- }, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")), S = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
15
+ }, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")), O = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
16
  return w(() => {
17
17
  !c && m && a("currency", r.value);
18
- }, [c, r, a, m]), /* @__PURE__ */ l(x, { children: S ? /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : m && /* @__PURE__ */ o(x, { children: [
18
+ }, [c, r, a, m]), /* @__PURE__ */ l(x, { children: O ? /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : m && /* @__PURE__ */ o(x, { children: [
19
19
  /* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
20
20
  C,
21
21
  {
@@ -44,7 +44,7 @@ const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
44
44
  className: "text-black",
45
45
  defaultValue: r,
46
46
  onChange: (e) => {
47
- e && (O(e), a("currency", e.value));
47
+ e && (S(e), a("currency", e.value));
48
48
  }
49
49
  }
50
50
  )
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as v } from "react";
3
- import { y as p, S as h } from "./index-WCahCkE1.js";
4
- const P = ({}) => {
3
+ import { O as p, S as h } from "./index-SWq3GK12.js";
4
+ const S = ({}) => {
5
5
  const [n, u] = m(), [f, r] = m(), { data: e } = p.viewer.appBasecamp3.projects.useQuery(), d = p.viewer.appBasecamp3.projectMutation.useMutation();
6
6
  return v(
7
7
  function() {
@@ -44,5 +44,5 @@ const P = ({}) => {
44
44
  ] });
45
45
  };
46
46
  export {
47
- P as default
47
+ S as default
48
48
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
2
- import { useState as x, useEffect as P } from "react";
3
- import { q as k, x as p, f as w, S as K } from "./index-WCahCkE1.js";
2
+ import { useState as P, useEffect as k } from "react";
3
+ import { y as x, M as p, f as w, S as K } from "./index-SWq3GK12.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -45,25 +45,25 @@ const f = [
45
45
  { label: "Vietnamese đồng (VND)", value: "vnd" },
46
46
  { label: "Canadian dollar (CAD)", value: "cad" },
47
47
  { label: "South Korean won (KRW)", value: "krw" }
48
- ], R = ({
48
+ ], M = ({
49
49
  getAppData: e,
50
50
  setAppData: a,
51
51
  disabled: h,
52
52
  eventType: d
53
53
  }) => {
54
54
  var b;
55
- const m = e("price"), t = e("currency") || r[0].value, [i, g] = x(
55
+ const m = e("price"), t = e("currency") || r[0].value, [i, g] = P(
56
56
  r.find((l) => l.value === t) || {
57
57
  label: r[0].label,
58
58
  value: r[0].value
59
59
  }
60
- ), S = e("paymentOption"), c = e("enabled"), { t: s } = k(), v = ((b = d.recurringEvent) == null ? void 0 : b.count) !== void 0, N = !!d.seatsPerTimeSlot, C = (l, y) => 0 .toLocaleString(l, {
60
+ ), S = e("paymentOption"), c = e("enabled"), { t: s } = x(), v = ((b = d.recurringEvent) == null ? void 0 : b.count) !== void 0, N = !!d.seatsPerTimeSlot, C = (l, y) => 0 .toLocaleString(l, {
61
61
  style: "currency",
62
62
  currency: y,
63
63
  minimumFractionDigits: 0,
64
64
  maximumFractionDigits: 0
65
65
  }).replace(/\d/g, "").trim();
66
- P(() => {
66
+ k(() => {
67
67
  c && (e("currency") || a("currency", r[0].value), e("paymentOption") || a("paymentOption", V[0].value));
68
68
  }, [c, e, a]);
69
69
  const F = (l) => {
@@ -116,5 +116,5 @@ const f = [
116
116
  ] });
117
117
  };
118
118
  export {
119
- R as default
119
+ M as default
120
120
  };
@@ -0,0 +1,79 @@
1
+ import { jsx as n, Fragment as S, jsxs as d } from "react/jsx-runtime";
2
+ import { useState as p, useEffect as _ } from "react";
3
+ import { y as P, a2 as t, M as x, f as w, S as C } from "./index-SWq3GK12.js";
4
+ const c = [
5
+ { label: "SATS", value: "BTC", unit: "SATS" },
6
+ { label: "USD", value: "USD", unit: "USD" }
7
+ ], g = ["SATS", "BTC"], U = (r, l) => g.includes(l.toUpperCase()) ? r : Math.round(r * 100), k = (r, l) => g.includes(l.toUpperCase()) ? r : r / 100, B = ({
8
+ eventType: r,
9
+ getAppData: l,
10
+ setAppData: s
11
+ }) => {
12
+ var y, h;
13
+ const { t: a } = P(), i = l("price"), u = l("currency") || (c.length > 0 ? c[0].value : ""), [b, N] = p(
14
+ c.find((e) => e.value === u) || (c.length > 0 ? {
15
+ label: c[0].label,
16
+ value: c[0].value
17
+ } : null)
18
+ ), v = l("paymentOption"), o = ((y = t) == null ? void 0 : y.find((e) => v === e.value)) || {
19
+ label: t.length > 0 ? t[0].label : "",
20
+ value: t.length > 0 ? t[0].value : ""
21
+ }, f = !!r.seatsPerTimeSlot, [m, E] = p(l("enabled")), T = ((h = r.recurringEvent) == null ? void 0 : h.count) !== void 0;
22
+ _(() => {
23
+ m && !l("currency") && s("currency", c[0].value);
24
+ }, [m, l, s]);
25
+ const O = (e) => Math.floor(e);
26
+ return /* @__PURE__ */ n(S, { children: T ? /* @__PURE__ */ n(x, { className: "mt-2", severity: "warning", title: a("warning_recurring_event_payment") }) : m && /* @__PURE__ */ d(S, { children: [
27
+ /* @__PURE__ */ n("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ n(
28
+ w,
29
+ {
30
+ label: a("price"),
31
+ className: "text-black",
32
+ addOnClassname: "h-[38px]",
33
+ min: "1",
34
+ type: "number",
35
+ required: !0,
36
+ placeholder: "Price",
37
+ onChange: (e) => {
38
+ s("price", U(Number(e.target.value), u));
39
+ },
40
+ value: i && i > 0 ? O(k(i, u)) : void 0
41
+ }
42
+ ) }),
43
+ /* @__PURE__ */ d("div", { className: "mt-5 w-60", children: [
44
+ /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "currency", children: a("currency") }),
45
+ /* @__PURE__ */ n(
46
+ C,
47
+ {
48
+ variant: "default",
49
+ options: c,
50
+ value: b,
51
+ className: "text-black",
52
+ defaultValue: b,
53
+ onChange: (e) => {
54
+ e && (N(e), s("currency", e.value));
55
+ }
56
+ }
57
+ )
58
+ ] }),
59
+ /* @__PURE__ */ d("div", { className: "mt-2 w-60", children: [
60
+ /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "paymentOption", children: a("payment_option") }),
61
+ /* @__PURE__ */ n(
62
+ C,
63
+ {
64
+ defaultValue: o ? { ...o, label: a(o.label) } : t.length > 0 ? { ...t[0], label: a(t[0].label) } : void 0,
65
+ options: t.map((e) => ({ ...e, label: a(e.label) || e.label })),
66
+ onChange: (e) => {
67
+ e && s("paymentOption", e.value);
68
+ },
69
+ className: "mb-1 h-[38px] w-full",
70
+ isDisabled: f
71
+ }
72
+ )
73
+ ] }),
74
+ f && v === "HOLD" && /* @__PURE__ */ n(x, { className: "mt-2", severity: "warning", title: a("seats_and_no_show_fee_error") })
75
+ ] }) });
76
+ };
77
+ export {
78
+ B as default
79
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-WCahCkE1.js";
2
+ import { f as o } from "./index-SWq3GK12.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import { q as I, a7 as P, a8 as j, e as T, r as g, M as k, x as A, a9 as E, aa as R, N as z } from "./index-WCahCkE1.js";
4
- const y = "search", C = "url", B = (s) => {
5
- const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [x, _] = d(y), w = async (n, f) => {
3
+ import { y as I, af as P, ag as j, e as T, u as g, s as k, M as A, ah as E, ai as R, X as z } from "./index-SWq3GK12.js";
4
+ const x = "search", C = "url", B = (s) => {
5
+ const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [y, _] = d(x), w = async (n, f) => {
6
6
  if (u)
7
7
  return;
8
8
  b(!0), h("");
@@ -37,7 +37,7 @@ const y = "search", C = "url", B = (s) => {
37
37
  {
38
38
  className: k(
39
39
  "flex cursor-pointer items-center border-b-2 p-2 text-sm ",
40
- x === t ? "text-default border-emphasis" : "text-subtle border-transparent"
40
+ y === t ? "text-default border-emphasis" : "text-subtle border-transparent"
41
41
  ),
42
42
  onClick: () => {
43
43
  v(""), l(""), _(t);
@@ -48,13 +48,13 @@ const y = "search", C = "url", B = (s) => {
48
48
  ]
49
49
  }
50
50
  ), M = async (n) => {
51
- n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === C && G(c);
51
+ n.stopPropagation(), n.preventDefault(), y === x ? w(c, 0) : y === C && G(c);
52
52
  };
53
53
  return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
54
54
  /* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
55
55
  /* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
56
56
  /* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
57
- S("search", a("search_giphy"), y),
57
+ S("search", a("search_giphy"), x),
58
58
  S("link", a("add_link_from_giphy"), C)
59
59
  ] }),
60
60
  /* @__PURE__ */ o(
@@ -67,7 +67,7 @@ const y = "search", C = "url", B = (s) => {
67
67
  T,
68
68
  {
69
69
  type: "text",
70
- placeholder: x === y ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
70
+ placeholder: y === x ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
71
71
  value: c,
72
72
  onChange: (n) => {
73
73
  v(n.target.value);
@@ -109,7 +109,7 @@ const y = "search", C = "url", B = (s) => {
109
109
  }
110
110
  ) }) : /* @__PURE__ */ e("img", { className: "h-[200px] pb-3 pt-3", src: i, alt: `Gif from Giphy for ${c}` }) }) }),
111
111
  N && /* @__PURE__ */ e(A, { severity: "error", title: N, className: "my-4" }),
112
- i && x === y && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
112
+ i && y === x && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
113
113
  /* @__PURE__ */ e("div", { className: "text-subtle text-sm font-light", children: "Not the perfect GIF?" }),
114
114
  /* @__PURE__ */ e(
115
115
  g,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as f, Fragment as l, jsx as m } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { u as d, af as E, W as g } from "./index-WCahCkE1.js";
3
+ import { x as d, an as E, W as g } from "./index-SWq3GK12.js";
4
4
  var s = /* @__PURE__ */ ((n) => (n.ACCOUNTS_STEP = "accounts", n.EVENT_TYPES_STEP = "event-types", n.CONFIGURE_STEP = "configure", n))(s || {}), i = function(n) {
5
5
  switch (typeof n) {
6
6
  case "string":
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { u as o } from "./index-WCahCkE1.js";
3
- function u(t) {
2
+ import { x as o } from "./index-SWq3GK12.js";
3
+ function d(t) {
4
4
  const n = o("exchange2013_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
6
6
  onClick() {
@@ -10,5 +10,5 @@ function u(t) {
10
10
  }) });
11
11
  }
12
12
  export {
13
- u as default
13
+ d as default
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { u as o } from "./index-WCahCkE1.js";
3
- function u(t) {
2
+ import { x as o } from "./index-SWq3GK12.js";
3
+ function d(t) {
4
4
  const n = o("exchange2016_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
6
6
  onClick() {
@@ -10,5 +10,5 @@ function u(t) {
10
10
  }) });
11
11
  }
12
12
  export {
13
- u as default
13
+ d as default
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as vt } from "react/jsx-runtime";
2
2
  import Bt, { useState as $t, useEffect as Gt } from "react";
3
- import { ab as Vt, ac as qt, ad as Kt, ae as Ut, M as It, y as Wt } from "./index-WCahCkE1.js";
3
+ import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-SWq3GK12.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { jsxs as H, jsx as g } from "react/jsx-runtime";
2
2
  import f, { useState as R, useEffect as Z } from "react";
3
- import { am as S, q as ee, b as Ce, r as G, W as Oe } from "./index-WCahCkE1.js";
3
+ import { au as S, y as ee, b as Ce, u as G, W as Oe } from "./index-SWq3GK12.js";
4
4
  function Y(n, e) {
5
5
  var t = Object.keys(n);
6
6
  if (Object.getOwnPropertySymbols) {
@@ -225,7 +225,7 @@ var h = function(e) {
225
225
  return e.charAt(0).toUpperCase() + e.slice(1);
226
226
  }, p = function(e, t) {
227
227
  var r = "".concat(Ue(e), "Element"), i = function(o) {
228
- var s = o.id, c = o.className, y = o.options, u = y === void 0 ? {} : y, b = o.onBlur, _ = b === void 0 ? E : b, C = o.onFocus, w = C === void 0 ? E : C, j = o.onReady, ce = j === void 0 ? E : j, U = o.onChange, ue = U === void 0 ? E : U, W = o.onEscape, le = W === void 0 ? E : W, F = o.onClick, fe = F === void 0 ? E : F, q = o.onLoadError, de = q === void 0 ? E : q, D = o.onLoaderStart, pe = D === void 0 ? E : D, me = I("mounts <".concat(r, ">")), M = me.elements, O = f.useRef(null), k = f.useRef(null), ye = h(ce), ve = h(_), ge = h(w), Se = h(fe), be = h(ue), he = h(le), Ee = h(de), _e = h(pe);
228
+ var s = o.id, c = o.className, y = o.options, u = y === void 0 ? {} : y, b = o.onBlur, _ = b === void 0 ? E : b, C = o.onFocus, w = C === void 0 ? E : C, j = o.onReady, ce = j === void 0 ? E : j, U = o.onChange, ue = U === void 0 ? E : U, W = o.onEscape, le = W === void 0 ? E : W, F = o.onClick, fe = F === void 0 ? E : F, D = o.onLoadError, de = D === void 0 ? E : D, q = o.onLoaderStart, pe = q === void 0 ? E : q, me = I("mounts <".concat(r, ">")), M = me.elements, O = f.useRef(null), k = f.useRef(null), ye = h(ce), ve = h(_), ge = h(w), Se = h(fe), be = h(ue), he = h(le), Ee = h(de), _e = h(pe);
229
229
  f.useLayoutEffect(function() {
230
230
  if (O.current == null && M && k.current != null) {
231
231
  var v = M.create(e, u);
@@ -296,14 +296,14 @@ function L(n) {
296
296
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
297
297
  }, L(n);
298
298
  }
299
- var ae = "https://js.stripe.com/v3", Fe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, Q = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", qe = function() {
299
+ var ae = "https://js.stripe.com/v3", Fe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, Q = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", De = function() {
300
300
  for (var e = document.querySelectorAll('script[src^="'.concat(ae, '"]')), t = 0; t < e.length; t++) {
301
301
  var r = e[t];
302
302
  if (Fe.test(r.src))
303
303
  return r;
304
304
  }
305
305
  return null;
306
- }, De = function(e) {
306
+ }, qe = function(e) {
307
307
  var t = e && !e.advancedFraudSignals ? "?advancedFraudSignals=false" : "", r = document.createElement("script");
308
308
  r.src = "".concat(ae).concat(t);
309
309
  var i = document.head || document.body;
@@ -327,8 +327,8 @@ var ae = "https://js.stripe.com/v3", Fe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
327
327
  return;
328
328
  }
329
329
  try {
330
- var i = qe();
331
- i && e ? console.warn(Q) : i || (i = De(e)), i.addEventListener("load", function() {
330
+ var i = De();
331
+ i && e ? console.warn(Q) : i || (i = qe(e)), i.addEventListener("load", function() {
332
332
  window.Stripe ? t(window.Stripe) : r(new Error("Stripe.js not available"));
333
333
  }), i.addEventListener("error", function() {
334
334
  r(new Error("Failed to load Stripe.js"));
package/dist/cal-atoms.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aD as s, aE as n, aR as t, aB as o, aZ as r, a$ as i, aQ as u, b1 as C, aY as l, a_ as d, aC as g, aP as c, b2 as p, aS as v, aX as S, b0 as T, aU as m, aF as y, aM as E, aN as b, aL as B, aG as k, b3 as A, b4 as O, aT as P, aJ as f, aK as D, aH as I, ae as R, aO as x, b5 as z, b6 as F, aV as G, aI as M, aW as U } from "./index-WCahCkE1.js";
1
+ import { aG as s, aH as n, aU as t, aE as o, b0 as r, b2 as i, aT as u, b4 as C, a$ as l, b1 as d, aF as g, aS as b, b5 as c, aV as m, a_ as p, b3 as v, aX as S, aI as T, aP as y, aQ as E, aO as k, aJ as B, b6 as A, b7 as O, aW as P, aM as f, aN as I, aK as R, am as x, aR as z, b8 as D, b9 as F, aY as G, aL as M, aZ as U } from "./index-SWq3GK12.js";
2
2
  export {
3
3
  s as AvailabilitySettings,
4
4
  n as Booker,
@@ -11,26 +11,26 @@ export {
11
11
  l as DestinationCalendarSettings,
12
12
  d as EventTypeSettings,
13
13
  g as GcalConnect,
14
- c as OutlookConnect,
15
- p as PaymentForm,
16
- v as Router,
17
- S as SelectedCalendarsSettings,
18
- T as StripeConnect,
19
- m as useAddSelectedCalendar,
20
- y as useAtomsContext,
21
- E as useBooking,
22
- b as useBookings,
23
- B as useCancelBooking,
24
- k as useConnectedCalendars,
14
+ b as OutlookConnect,
15
+ c as PaymentForm,
16
+ m as Router,
17
+ p as SelectedCalendarsSettings,
18
+ v as StripeConnect,
19
+ S as useAddSelectedCalendar,
20
+ T as useAtomsContext,
21
+ y as useBooking,
22
+ E as useBookings,
23
+ k as useCancelBooking,
24
+ B as useConnectedCalendars,
25
25
  A as useCreateEventType,
26
26
  O as useCreateTeamEventType,
27
27
  P as useDeleteCalendarCredentials,
28
28
  f as useEvent,
29
- D as useEventTypeById,
30
- I as useEventTypes,
31
- R as useIsPlatform,
32
- x as useMe,
33
- z as useOrganizationBookings,
29
+ I as useEventTypeById,
30
+ R as useEventTypes,
31
+ x as useIsPlatform,
32
+ z as useMe,
33
+ D as useOrganizationBookings,
34
34
  F as useOrganizationUserBookings,
35
35
  G as useRemoveSelectedCalendar,
36
36
  M as useTeamEventTypes,
@@ -1,24 +1,24 @@
1
1
  import { jsxs as c, jsx as i, Fragment as g } from "react/jsx-runtime";
2
- import { an as C, ao as L, ap as S, ad as j, aq as T, ar as U, M as h, r as A, as as I, q as R, at as x, au as _, av as $, y as V } from "./index-WCahCkE1.js";
3
- import { memo as q, useState as M } from "react";
4
- var Q = Math.floor, z = Math.random;
2
+ import { av as N, aw as L, ax as S, al as j, ay as T, az as U, s as h, u as A, aA as I, y as R, aB as x, aC as _, aD as $, O as V } from "./index-SWq3GK12.js";
3
+ import { memo as z, useState as Q } from "react";
4
+ var M = Math.floor, q = Math.random;
5
5
  function E(t, r) {
6
- return t + Q(z() * (r - t + 1));
6
+ return t + M(q() * (r - t + 1));
7
7
  }
8
- var Z = E, F = Z;
9
- function G(t, r) {
8
+ var O = E, Z = O;
9
+ function D(t, r) {
10
10
  var o = -1, n = t.length, a = n - 1;
11
11
  for (r = r === void 0 ? n : r; ++o < r; ) {
12
- var e = F(o, a), s = t[e];
12
+ var e = Z(o, a), s = t[e];
13
13
  t[e] = t[o], t[o] = s;
14
14
  }
15
15
  return t.length = r, t;
16
16
  }
17
- var y = G, O = C(), W = y;
18
- function D(t) {
19
- return W(O(t));
17
+ var y = D, F = N, G = y;
18
+ function W(t) {
19
+ return G(F(t));
20
20
  }
21
- var P = D, H = L;
21
+ var P = W, H = L;
22
22
  function K(t, r) {
23
23
  return H(r, function(o) {
24
24
  return t[o];
@@ -400,7 +400,7 @@ const he = [
400
400
  }
401
401
  ], v = ce(he).slice(0).reverse();
402
402
  function ue() {
403
- const { t } = R(), [r, o] = M(() => {
403
+ const { t } = R(), [r, o] = Q(() => {
404
404
  if (typeof window > "u")
405
405
  return v;
406
406
  try {
@@ -473,7 +473,7 @@ function ue() {
473
473
  }
474
474
  );
475
475
  }
476
- const be = q(ue);
476
+ const be = z(ue);
477
477
  function ve({
478
478
  title: t,
479
479
  description: r,
@@ -484,8 +484,8 @@ function ve({
484
484
  children: s,
485
485
  plan: l
486
486
  }) {
487
- const { resolvedTheme: d } = _(), { isPending: u, hasTeamPlan: m } = $(), { data: p } = V.viewer.teams.getUpgradeable.useQuery(), k = `${o}${d === "dark" ? "-dark" : ""}.jpg`, w = !1, N = !!(p != null && p[0]);
488
- return l === "team" && (m || N) ? /* @__PURE__ */ i(g, { children: s }) : l === "enterprise" && w ? /* @__PURE__ */ i(g, { children: s }) : u ? /* @__PURE__ */ i(g, { children: e }) : /* @__PURE__ */ c(g, { children: [
487
+ const { resolvedTheme: d } = _(), { isPending: u, hasTeamPlan: m } = $(), { data: p } = V.viewer.teams.getUpgradeable.useQuery(), k = `${o}${d === "dark" ? "-dark" : ""}.jpg`, w = !1, C = !!(p != null && p[0]);
488
+ return l === "team" && (m || C) ? /* @__PURE__ */ i(g, { children: s }) : l === "enterprise" && w ? /* @__PURE__ */ i(g, { children: s }) : u ? /* @__PURE__ */ i(g, { children: e }) : /* @__PURE__ */ c(g, { children: [
489
489
  /* @__PURE__ */ c("div", { className: "relative flex min-h-[295px] w-full items-center justify-between overflow-hidden rounded-lg pb-10", children: [
490
490
  /* @__PURE__ */ c("picture", { className: "absolute min-h-[295px] w-full rounded-lg object-cover", children: [
491
491
  /* @__PURE__ */ i("source", { srcSet: k, media: "(prefers-color-scheme: dark)" }),
@@ -1,4 +1,4 @@
1
- import { T as m, a as n } from "./index-WCahCkE1.js";
1
+ import { T as m, a as n } from "./index-SWq3GK12.js";
2
2
  export {
3
3
  m as TimezoneSelect,
4
4
  n as TimezoneSelectComponent
@@ -0,0 +1,30 @@
1
+ import { B as s, l, C as o, b as t, o as r, n as i, D as c, E as g, F as n, H as d, e as p, g as F, I as u, L as S, N as T, P as k, S as x, h as P, j as b, p as h, q as m, c as I, d as C, f as E, m as B, k as D, i as G } from "./index-SWq3GK12.js";
2
+ export {
3
+ s as BooleanToggleGroup,
4
+ l as BooleanToggleGroupField,
5
+ o as Checkbox,
6
+ t as CheckboxField,
7
+ r as ColorPicker,
8
+ i as DatePicker,
9
+ c as DateRangePicker,
10
+ g as EmailField,
11
+ n as Form,
12
+ d as HintsOrErrors,
13
+ p as Input,
14
+ F as InputError,
15
+ u as InputField,
16
+ S as Label,
17
+ T as NumberInput,
18
+ k as PasswordField,
19
+ x as Select,
20
+ P as SelectField,
21
+ b as SelectWithValidation,
22
+ h as SettingsToggle,
23
+ m as Switch,
24
+ I as TextArea,
25
+ C as TextAreaField,
26
+ E as TextField,
27
+ B as ToggleGroup,
28
+ D as getReactSelectProps,
29
+ G as inputStyles
30
+ };