@calcom/atoms 1.1.1 → 1.1.2

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 (246) hide show
  1. package/dist/{AddressInput-NzvfumUI.js → AddressInput-cAznNQd3.js} +1 -1
  2. package/dist/{AlbyPriceComponent-1-urrKvw.js → AlbyPriceComponent-oZ0IVf6c.js} +24 -24
  3. package/dist/{AppCard-hN4JJeXf.js → AppCard-vSAp__lv.js} +24 -24
  4. package/dist/{AppListCardPlatformWrapper-SELRmds-.js → AppListCardPlatformWrapper-gpEo1mhs.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-qtbixhdy.js → AppListCardWebWrapper-2mtvbrZI.js} +7 -7
  6. package/dist/{AppSettingsInterface-SAdoqRc6.js → AppSettingsInterface-76krfbgC.js} +4 -4
  7. package/dist/{AppSettingsInterface-OjtqSpP5.js → AppSettingsInterface-U3J8XNfT.js} +1 -1
  8. package/dist/{AppSettingsInterface-z-BTopkU.js → AppSettingsInterface-qR8wrA8Z.js} +1 -1
  9. package/dist/DateRangePicker-S8PasnBw.js +74 -0
  10. package/dist/{EventTypeAppCardInterface-9IGJ0PSa.js → EventTypeAppCardInterface--cvud7p5.js} +4 -4
  11. package/dist/EventTypeAppCardInterface-3WyRAq4g.js +858 -0
  12. package/dist/{EventTypeAppCardInterface-vFmAxtJ_.js → EventTypeAppCardInterface-5GqOLlXa.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-qtTTM8pf.js → EventTypeAppCardInterface-7BjnHZSW.js} +8 -8
  14. package/dist/{EventTypeAppCardInterface-GjUOq6hk.js → EventTypeAppCardInterface-9RRfsmxD.js} +15 -15
  15. package/dist/{EventTypeAppCardInterface-q5C_2X2L.js → EventTypeAppCardInterface-AqVT1BoP.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface--mLJhYJz.js → EventTypeAppCardInterface-AzUqjRAw.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-Xoik_E4N.js → EventTypeAppCardInterface-CWeqREZU.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-nqLtZdvT.js → EventTypeAppCardInterface-FoNtZTXA.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-AmIuaGxY.js → EventTypeAppCardInterface-GC7AOQgo.js} +4 -4
  20. package/dist/{EventTypeAppCardInterface-bFnvA6B_.js → EventTypeAppCardInterface-HQMqzp7c.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-tAOaIu7e.js → EventTypeAppCardInterface-N7WcmdT4.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-51K1dlPD.js → EventTypeAppCardInterface-R0X4nckV.js} +2 -2
  23. package/dist/{EventTypeAppCardInterface-OYjSCuch.js → EventTypeAppCardInterface-Uu3O27xa.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-s9iRBeJU.js → EventTypeAppCardInterface-V8atUcK-.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-H4K3MAjp.js → EventTypeAppCardInterface-Y07gIvmX.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-K87MBo9I.js → EventTypeAppCardInterface-Z-LBRQAn.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-YDDBcspM.js → EventTypeAppCardInterface-aYTZV5EF.js} +8 -8
  28. package/dist/{EventTypeAppCardInterface-j0fTh3VO.js → EventTypeAppCardInterface-bEYxRxeM.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-U75u_cIJ.js → EventTypeAppCardInterface-dKaaMNor.js} +26 -26
  30. package/dist/{EventTypeAppCardInterface-2Cc6ahQQ.js → EventTypeAppCardInterface-lguZWNvV.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-QQqZv8fE.js → EventTypeAppCardInterface-p0blDTaQ.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-dqDNZgqG.js → EventTypeAppCardInterface-rppYuGVz.js} +4 -4
  33. package/dist/EventTypeAppCardInterface-tkKsbhWo.js +39 -0
  34. package/dist/{EventTypeAppCardInterface-IBHBvzdh.js → EventTypeAppCardInterface-utvbMc02.js} +10 -10
  35. package/dist/{EventTypeAppCardInterface-95cvERUq.js → EventTypeAppCardInterface-wXpCgFPS.js} +3 -3
  36. package/dist/EventTypeAppCardInterface-zGyldaa9.js +24 -0
  37. package/dist/{EventTypeAppSettingsInterface-iXuGB_YY.js → EventTypeAppSettingsInterface-7hS6GTO2.js} +3 -3
  38. package/dist/{EventTypeAppSettingsInterface-osAZr0qh.js → EventTypeAppSettingsInterface-FQeyEBxu.js} +5 -5
  39. package/dist/{EventTypeAppSettingsInterface-ININd3TP.js → EventTypeAppSettingsInterface-HK0lsJ28.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-z1Quk5hj.js → EventTypeAppSettingsInterface-MG2xFbSG.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-n2bRxRf2.js → EventTypeAppSettingsInterface-Ra9cL5JB.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-hcNF3TE1.js → EventTypeAppSettingsInterface-XL4D2Dyv.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-GlYSNMSh.js → EventTypeAppSettingsInterface-ZIUpW8te.js} +10 -10
  44. package/dist/EventTypeAppSettingsInterface-afhCdPkJ.js +79 -0
  45. package/dist/{EventTypeAppSettingsInterface-9IDAwqSZ.js → EventTypeAppSettingsInterface-bA-Dmxj2.js} +8 -8
  46. package/dist/{EventTypeAppSettingsInterface-MZ6AuQlx.js → EventTypeAppSettingsInterface-g5jo9GKH.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-bWUcZj4D.js → EventTypeAppSettingsInterface-sazwK3zk.js} +7 -7
  48. package/dist/{EventTypeAppSettingsInterface-CCyIJ5PA.js → EventTypeAppSettingsInterface-sbAmbLiK.js} +8 -8
  49. package/dist/{EventTypeAppSettingsInterface-lsxcvaFv.js → EventTypeAppSettingsInterface-ycOpDd2-.js} +1 -1
  50. package/dist/{InstallAppButton-3vFrgQZL.js → InstallAppButton-0Gg9ocXb.js} +3 -3
  51. package/dist/{InstallAppButton-lv0Q-gWg.js → InstallAppButton-JHaJ7T7H.js} +1 -1
  52. package/dist/{InstallAppButton-ZZMl6U2j.js → InstallAppButton-JN6i4iBH.js} +3 -3
  53. package/dist/{PhoneInput-95NAC5-_.js → PhoneInput-eRYuhuju.js} +1 -1
  54. package/dist/{StripePaymentForm-14dnyzc0.js → StripePaymentForm-B1BkBzO9.js} +6 -6
  55. package/dist/cal-atoms.js +17 -17
  56. package/dist/{index-H0BzYsH6.js → index-D-baW2SF.js} +1 -1
  57. package/dist/{index-WCahCkE1.js → index-GkJhe-oj.js} +70182 -66440
  58. package/dist/{index-_7uRh17g.js → index-V8Hhry6U.js} +18 -18
  59. package/dist/index-l2YMCxIx.js +30 -0
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +4 -0
  65. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/store.d.ts +8 -2
  67. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  69. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/Booker/utils/event.d.ts +21 -1
  71. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
  73. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/create-booking.d.ts +46 -49
  75. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +46 -49
  77. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +3 -0
  79. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +5 -0
  81. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -0
  83. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +1 -1
  85. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -0
  86. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +10 -1
  88. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +0 -1
  90. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +4 -0
  92. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
  94. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +14 -0
  96. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +4 -0
  98. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  100. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -2
  101. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  102. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +2 -0
  103. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
  104. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +46 -49
  105. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  106. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +0 -1
  107. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  108. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +0 -1
  109. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  110. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +0 -1
  111. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  112. package/dist/packages/features/bookings/types.d.ts +1 -1
  113. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  114. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  115. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  116. package/dist/packages/features/data-table/lib/__tests__/server.test.d.ts +2 -0
  117. package/dist/packages/features/data-table/lib/__tests__/server.test.d.ts.map +1 -0
  118. package/dist/packages/features/data-table/lib/server.d.ts +8 -0
  119. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  120. package/dist/packages/features/ee/payments/components/PaymentPage.d.ts.map +1 -1
  121. package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
  122. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  123. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +3 -1
  124. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  125. package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts +2 -1
  126. package/dist/packages/features/ee/round-robin/assignmentReason/appAssignmentReasonHandler.d.ts.map +1 -1
  127. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
  128. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  129. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  130. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  131. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  132. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  133. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +6 -0
  134. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  135. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  136. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  137. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +1 -1
  138. package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
  139. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  140. package/dist/packages/features/eventtypes/components/EventType.d.ts +2 -1
  141. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
  142. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts +2 -1
  143. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
  144. package/dist/packages/features/eventtypes/components/Locations.d.ts.map +1 -1
  145. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts +4 -1
  146. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
  147. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
  148. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  149. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
  150. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +1018 -2
  151. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  152. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +167 -0
  153. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -0
  154. package/dist/packages/features/eventtypes/lib/types.d.ts +17 -1
  155. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  156. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
  157. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  158. package/dist/packages/features/form-builder/fieldsThatSupportLabelAsSafeHtml.d.ts.map +1 -1
  159. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
  160. package/dist/packages/features/instant-meeting/handleInstantMeeting.test.d.ts +2 -0
  161. package/dist/packages/features/instant-meeting/handleInstantMeeting.test.d.ts.map +1 -0
  162. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  163. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  164. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +3 -2
  165. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  166. package/dist/packages/platform/atoms/availability/types.d.ts +8 -0
  167. package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
  168. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  169. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  170. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  171. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  172. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  173. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -0
  174. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  175. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +25 -2
  176. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  177. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +1 -0
  178. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  179. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +10 -1
  180. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  181. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  182. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +2 -2
  183. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  184. package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts +2 -0
  185. package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts.map +1 -1
  186. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +46 -49
  187. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  188. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +47 -49
  189. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  190. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +46 -49
  191. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  192. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  193. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  194. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -0
  195. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  196. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +1 -0
  197. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  198. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +1 -0
  199. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +21 -1
  201. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts.map +1 -1
  203. package/dist/packages/platform/atoms/index.d.ts +2 -0
  204. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  205. package/dist/packages/platform/libraries/bookings.d.ts +3 -0
  206. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -0
  207. package/dist/packages/platform/libraries/index.d.ts +1 -0
  208. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  209. package/dist/packages/platform/libraries/repositories.d.ts +3 -2
  210. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  211. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
  212. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  213. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  214. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +6 -0
  215. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
  216. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +0 -4
  217. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
  218. package/dist/packages/prisma/zod/booking.d.ts +0 -3
  219. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  220. package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
  221. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  222. package/dist/packages/prisma/zod/calvideosettings.d.ts +3 -0
  223. package/dist/packages/prisma/zod/calvideosettings.d.ts.map +1 -1
  224. package/dist/packages/prisma/zod/custom/booking.d.ts +9 -0
  225. package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
  226. package/dist/packages/prisma/zod/custom/eventtype.d.ts +41 -3
  227. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  228. package/dist/packages/prisma/zod/eventtype.d.ts +11 -0
  229. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  230. package/dist/packages/prisma/zod/hashedlink.d.ts +9 -0
  231. package/dist/packages/prisma/zod/hashedlink.d.ts.map +1 -1
  232. package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
  233. package/dist/packages/prisma/zod-utils.d.ts +154 -0
  234. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  235. package/dist/packages/prisma-client/index.d.ts +320 -106
  236. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +8 -4
  237. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  238. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts +2 -0
  239. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts.map +1 -0
  240. package/dist/{useIsAppEnabled-C8lVT7D4.js → useIsAppEnabled-oIf6wORY.js} +1 -1
  241. package/globals.min.css +16 -3
  242. package/package.json +3 -4
  243. package/dist/DateRangePicker-ZFK77aaF.js +0 -2405
  244. package/dist/EventTypeAppCardInterface-d-hNtzhT.js +0 -696
  245. package/dist/EventTypeAppCardInterface-y8QjZ8hH.js +0 -24
  246. package/dist/index-UNLJJou7.js +0 -28
@@ -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-GkJhe-oj.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-GkJhe-oj.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -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-GkJhe-oj.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
  };
@@ -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-GkJhe-oj.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,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-GkJhe-oj.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: [
@@ -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-GkJhe-oj.js";
4
4
  const N = ({ eventType: n, disabled: d }) => {
5
5
  const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
6
  function s({ size: a, data: f }) {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as 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-GkJhe-oj.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
  };
@@ -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-GkJhe-oj.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,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-GkJhe-oj.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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-GkJhe-oj.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 { 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-GkJhe-oj.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-GkJhe-oj.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 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-GkJhe-oj.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-GkJhe-oj.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-GkJhe-oj.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,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-GkJhe-oj.js";
2
2
  export {
3
3
  m as TimezoneSelect,
4
4
  n as TimezoneSelectComponent