@calcom/atoms 1.6.0 → 1.7.0

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 (220) hide show
  1. package/dist/{AddressInput-1brkjhFt.js → AddressInput-xFwoBxsZ.js} +3 -3
  2. package/dist/{AlbyPriceComponent-2LB43zoM.js → AlbyPriceComponent-NnD6qUfW.js} +22 -22
  3. package/dist/{AppCard-yIBrfFj9.js → AppCard--JDiTUMU.js} +47 -47
  4. package/dist/{AppListCardPlatformWrapper-CV7QpdyY.js → AppListCardPlatformWrapper-ncgLQL4r.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-vxXZpyol.js → AppListCardWebWrapper-YnM7-ccd.js} +1 -1
  6. package/dist/{AppSettingsInterface-Aix0Ye7x.js → AppSettingsInterface-EvAriEj2.js} +1 -1
  7. package/dist/{AppSettingsInterface-KGD5cNTj.js → AppSettingsInterface-OGwTTVN7.js} +1 -1
  8. package/dist/{AppSettingsInterface-0H1wCBzq.js → AppSettingsInterface-_WywrNHs.js} +1 -1
  9. package/dist/{DateRangePicker-4CKKpdyt.js → DateRangePicker-m_y_P8tk.js} +5 -5
  10. package/dist/{EventTypeAppCardInterface-pi-nYyg1.js → EventTypeAppCardInterface--74geeRF.js} +6 -6
  11. package/dist/{EventTypeAppCardInterface-ZrWf66ce.js → EventTypeAppCardInterface--UDAdk0r.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-5-Y0-uRC.js → EventTypeAppCardInterface-2Q1qvV5K.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-Abb5QaiE.js → EventTypeAppCardInterface-2r4pxyRt.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-ZqUqSS1O.js → EventTypeAppCardInterface-3T7Bcarm.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-iYj3cTdZ.js → EventTypeAppCardInterface-EPHC3SF7.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-Njtagnpn.js → EventTypeAppCardInterface-G3OAa6sU.js} +8 -8
  17. package/dist/{EventTypeAppCardInterface-WNZPsRIv.js → EventTypeAppCardInterface-JQgzokgl.js} +2 -2
  18. package/dist/{EventTypeAppCardInterface-zhD3uO1f.js → EventTypeAppCardInterface-KDalRazj.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-DKIBRWYj.js → EventTypeAppCardInterface-LvigpfyE.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-UcelDWVh.js → EventTypeAppCardInterface-MIro_wur.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-c-xaajVH.js → EventTypeAppCardInterface-Na5tUt6e.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-1E9MTUzY.js → EventTypeAppCardInterface-O0yLol5y.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-2lsdiZIS.js → EventTypeAppCardInterface-R8-Y-hSu.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-lX82Q5Jh.js → EventTypeAppCardInterface-YlTC8St1.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-InrUBwTg.js → EventTypeAppCardInterface-_x7wFmBk.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-_3lalola.js → EventTypeAppCardInterface-bNGYsiB0.js} +9 -9
  27. package/dist/{EventTypeAppCardInterface-quqFvTVd.js → EventTypeAppCardInterface-d-rOMdsH.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-JWnT8L9g.js → EventTypeAppCardInterface-iHpJPDlc.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-ao45jPH0.js → EventTypeAppCardInterface-jBTRuVkO.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-44x8c0hT.js → EventTypeAppCardInterface-lXddHFhd.js} +9 -9
  31. package/dist/{EventTypeAppCardInterface-LnM8nYr7.js → EventTypeAppCardInterface-li1GK953.js} +31 -31
  32. package/dist/{EventTypeAppCardInterface-GykSLC0F.js → EventTypeAppCardInterface-qO1PKt6x.js} +6 -6
  33. package/dist/{EventTypeAppCardInterface-brFr18mE.js → EventTypeAppCardInterface-rKAjvg4x.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-A7d6UF4_.js → EventTypeAppCardInterface-rV1vgpRv.js} +6 -6
  35. package/dist/{EventTypeAppCardInterface-hLJgdsLI.js → EventTypeAppCardInterface-sIqZFcBV.js} +6 -6
  36. package/dist/EventTypeAppCardInterface-safQ0enm.js +24 -0
  37. package/dist/{EventTypeAppSettingsInterface-AGLMWsEO.js → EventTypeAppSettingsInterface-7e1qbHi8.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-q6mbdTiY.js → EventTypeAppSettingsInterface-CLwwrZv6.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-2sj2WJjh.js → EventTypeAppSettingsInterface-CPvfqJkx.js} +25 -25
  40. package/dist/{EventTypeAppSettingsInterface-Y48ol2nr.js → EventTypeAppSettingsInterface-EZZkJrLi.js} +7 -7
  41. package/dist/{EventTypeAppSettingsInterface-AK7ShZFj.js → EventTypeAppSettingsInterface-JBpWa3pz.js} +5 -5
  42. package/dist/{EventTypeAppSettingsInterface-PxXmeEq4.js → EventTypeAppSettingsInterface-J_c1VzIk.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-xpqBaj8M.js → EventTypeAppSettingsInterface-K4kVWoog.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-eZuVPoW0.js → EventTypeAppSettingsInterface-LIn3bMv4.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-Ai9j7-W4.js → EventTypeAppSettingsInterface-cbkdr04f.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-eejB8RJX.js} +3 -3
  47. package/dist/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-mOdk6pDR.js} +8 -8
  48. package/dist/{EventTypeAppSettingsInterface-WSA9a0P9.js → EventTypeAppSettingsInterface-vNhCP6vQ.js} +5 -5
  49. package/dist/{EventTypeAppSettingsInterface-1whHDae4.js → EventTypeAppSettingsInterface-xYWyd_Dz.js} +3 -3
  50. package/dist/{InstallAppButton-TS33CjnZ.js → InstallAppButton-6HzB5_Be.js} +1 -1
  51. package/dist/{InstallAppButton-Ywa4sUQJ.js → InstallAppButton-9sn2Jtoz.js} +1 -1
  52. package/dist/{InstallAppButton-T3U8jRFO.js → InstallAppButton-J51NRgMF.js} +1 -1
  53. package/dist/{PhoneInput-roQxbVj0.js → PhoneInput-uymiSRfv.js} +249 -243
  54. package/dist/{StripePaymentForm-SCkdCvRB.js → StripePaymentForm-cXAJjJV3.js} +18 -18
  55. package/dist/cal-atoms.js +15 -15
  56. package/dist/{index-xIgyKeg1.js → index--iR_feQQ.js} +65706 -61980
  57. package/dist/{index-xJlkgRPp.js → index-WXyiFeKd.js} +1 -1
  58. package/dist/{index-Uy0rGDYS.js → index-XoFQv1cd.js} +13 -13
  59. package/dist/index-tEqQSBcP.js +28 -0
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/utils/event.d.ts +8 -2
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/SystemField.d.ts +2 -1
  64. package/dist/packages/features/bookings/lib/SystemField.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts +3 -0
  66. package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts.map +1 -0
  67. package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts +3 -0
  68. package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts.map +1 -0
  69. package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts +3 -0
  70. package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts.map +1 -0
  71. package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts +4 -0
  72. package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts.map +1 -0
  73. package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts +4 -0
  74. package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts.map +1 -0
  75. package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts +8 -0
  76. package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts.map +1 -0
  77. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +7 -0
  78. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -0
  80. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +17 -0
  82. package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +2 -0
  86. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
  88. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +6 -0
  90. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +2 -0
  92. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +999 -2
  94. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +23 -14
  96. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts +4 -0
  98. package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts.map +1 -0
  99. package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts +5 -0
  100. package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts.map +1 -0
  101. package/dist/packages/features/bookings/lib/rating.d.ts +22 -0
  102. package/dist/packages/features/bookings/lib/rating.d.ts.map +1 -0
  103. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  104. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  105. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  106. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -1
  107. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +3 -0
  108. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
  109. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
  110. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +9 -0
  111. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -0
  112. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  113. package/dist/packages/features/ee/billing/constants.d.ts +9 -0
  114. package/dist/packages/features/ee/billing/constants.d.ts.map +1 -0
  115. package/dist/packages/features/ee/billing/credit-service.d.ts +13 -2
  116. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  117. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
  118. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  119. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  120. package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts +72 -0
  121. package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +1 -0
  122. package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts +12 -0
  123. package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts.map +1 -0
  124. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +1 -1
  125. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  126. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +2 -0
  127. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  128. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +1 -0
  129. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  130. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -2
  131. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  132. package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts +20 -0
  133. package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts.map +1 -0
  134. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  135. package/dist/packages/features/ee/workflows/lib/schema.d.ts +10 -5
  136. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  137. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +6 -1
  138. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  139. package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
  140. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts +10 -0
  141. package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts.map +1 -0
  142. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
  143. package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
  144. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts +3 -18
  145. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +1 -1
  146. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  147. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
  148. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +1 -1
  149. package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
  150. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
  151. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  152. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +11 -3
  153. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  154. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  155. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  156. package/dist/packages/features/form-builder/FormBuilder.d.ts +13 -12
  157. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
  158. package/dist/packages/features/form-builder/testUtils.d.ts +3 -0
  159. package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
  160. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +11 -10
  161. package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
  162. package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +1 -1
  163. package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
  164. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  165. package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
  166. package/dist/packages/platform/atoms/cal-provider/languages.d.ts +11 -4
  167. package/dist/packages/platform/atoms/cal-provider/languages.d.ts.map +1 -1
  168. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
  169. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  170. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +4 -0
  171. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  172. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +2 -0
  173. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  174. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +7 -0
  175. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  176. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  177. package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
  178. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
  179. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  180. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  181. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  182. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  183. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  184. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  185. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  186. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +8 -2
  187. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  188. package/dist/packages/platform/libraries/bookings.d.ts +1 -0
  189. package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
  190. package/dist/packages/platform/libraries/i18n.d.ts +15 -0
  191. package/dist/packages/platform/libraries/i18n.d.ts.map +1 -0
  192. package/dist/packages/platform/libraries/index.d.ts +2 -1
  193. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  194. package/dist/packages/platform/libraries/repositories.d.ts +2 -0
  195. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  196. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  197. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  198. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  199. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  200. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  201. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  202. package/dist/packages/prisma/zod/creditexpenselog.d.ts +12 -0
  203. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
  204. package/dist/packages/prisma/zod/custom/booking.d.ts +21 -0
  205. package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
  206. package/dist/packages/prisma/zod/custom/eventtype.d.ts +27 -0
  207. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  208. package/dist/packages/prisma/zod/eventtype.d.ts +27 -0
  209. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  210. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  211. package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
  212. package/dist/packages/prisma/zod-utils.d.ts +201 -0
  213. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  214. package/dist/packages/prisma-client/index.d.ts +467 -3
  215. package/dist/packages/trpc/react/shared.d.ts +1 -1
  216. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  217. package/dist/{useIsAppEnabled-ABSa6601.js → useIsAppEnabled-C_9eRB94.js} +1 -1
  218. package/package.json +1 -1
  219. package/dist/EventTypeAppCardInterface-kxvIXOul.js +0 -24
  220. package/dist/index-6QpphfoK.js +0 -30
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
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-xIgyKeg1.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) => {
3
+ import { w as I, ad as M, ae as j, e as T, B as g, r as k, J as A, af as E, ag as B, U as R } from "./index--iR_feQQ.js";
4
+ const y = "search", C = "url", z = (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, f] = d(""), [x, _] = d(y), w = async (n, h) => {
6
6
  if (u)
7
7
  return;
8
- b(!0), h("");
8
+ b(!0), f("");
9
9
  const t = await fetch("/api/integrations/giphy/search", {
10
10
  method: "POST",
11
11
  headers: {
@@ -13,16 +13,16 @@ const x = "search", C = "url", B = (s) => {
13
13
  },
14
14
  body: JSON.stringify({
15
15
  keyword: n,
16
- offset: f
16
+ offset: h
17
17
  })
18
18
  }), r = await t.json();
19
- return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || h("No Result found")) : h((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
19
+ return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || f("No Result found")) : f((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
20
20
  }, G = async (n) => {
21
21
  var r;
22
22
  if (u)
23
23
  return;
24
- b(!0), h("");
25
- const f = await fetch("/api/integrations/giphy/get", {
24
+ b(!0), f("");
25
+ const h = await fetch("/api/integrations/giphy/get", {
26
26
  method: "POST",
27
27
  headers: {
28
28
  "Content-Type": "application/json"
@@ -30,44 +30,44 @@ const x = "search", C = "url", B = (s) => {
30
30
  body: JSON.stringify({
31
31
  url: n
32
32
  })
33
- }), t = await f.json();
34
- return f.ok ? (l(t.image || ""), t.image || h("No Result found")) : h((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
35
- }, S = (n, f, t) => /* @__PURE__ */ o(
33
+ }), t = await h.json();
34
+ return h.ok ? (l(t.image || ""), t.image || f("No Result found")) : f((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
35
+ }, S = (n, h, t) => /* @__PURE__ */ o(
36
36
  "div",
37
37
  {
38
38
  className: k(
39
39
  "flex cursor-pointer items-center border-b-2 p-2 text-sm ",
40
- y === t ? "text-default border-emphasis" : "text-subtle border-transparent"
40
+ x === t ? "text-default border-emphasis" : "text-subtle border-transparent"
41
41
  ),
42
42
  onClick: () => {
43
43
  v(""), l(""), _(t);
44
44
  },
45
45
  children: [
46
- /* @__PURE__ */ e(z, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
47
- f
46
+ /* @__PURE__ */ e(R, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
47
+ h
48
48
  ]
49
49
  }
50
- ), M = async (n) => {
51
- n.stopPropagation(), n.preventDefault(), y === x ? w(c, 0) : y === C && G(c);
50
+ ), P = async (n) => {
51
+ n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === C && G(c);
52
52
  };
53
- return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
53
+ return /* @__PURE__ */ e(M, { 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"), x),
57
+ S("search", a("search_giphy"), y),
58
58
  S("link", a("add_link_from_giphy"), C)
59
59
  ] }),
60
60
  /* @__PURE__ */ o(
61
61
  "form",
62
62
  {
63
63
  className: "flex w-full justify-center space-x-2 space-y-2 rtl:space-x-reverse",
64
- onSubmit: M,
64
+ onSubmit: P,
65
65
  children: [
66
66
  /* @__PURE__ */ e("div", { className: "relative block w-full pt-2", children: /* @__PURE__ */ e(
67
67
  T,
68
68
  {
69
69
  type: "text",
70
- placeholder: y === x ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
70
+ placeholder: x === y ? 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 x = "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 && y === x && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
112
+ i && x === y && /* @__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,
@@ -125,7 +125,7 @@ const x = "search", C = "url", B = (s) => {
125
125
  ] }),
126
126
  /* @__PURE__ */ o(E, { noSticky: !0, children: [
127
127
  /* @__PURE__ */ e(
128
- R,
128
+ B,
129
129
  {
130
130
  color: "minimal",
131
131
  tabIndex: -1,
@@ -188,7 +188,7 @@ function F(s) {
188
188
  )
189
189
  ] }),
190
190
  /* @__PURE__ */ e(
191
- B,
191
+ z,
192
192
  {
193
193
  isOpenDialog: p,
194
194
  setIsOpenDialog: m,
@@ -199,7 +199,7 @@ function F(s) {
199
199
  )
200
200
  ] });
201
201
  }
202
- const J = ({
202
+ const Y = ({
203
203
  getAppData: s,
204
204
  setAppData: a,
205
205
  disabled: i
@@ -217,5 +217,5 @@ const J = ({
217
217
  );
218
218
  };
219
219
  export {
220
- J as default
220
+ Y as default
221
221
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, Fragment as D, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as T } from "react";
3
- import { y as R, a2 as t, M as y, f as w, S as P } from "./index-xIgyKeg1.js";
3
+ import { w, a0 as t, J as P, f as R, S as y } from "./index--iR_feQQ.js";
4
4
  const i = [
5
5
  { label: "SATS", value: "BTC", unit: "SATS" },
6
6
  { label: "USD- US Dollar", value: "USD", unit: "USD" },
@@ -35,7 +35,7 @@ const i = [
35
35
  setAppData: u
36
36
  }) => {
37
37
  var h, S;
38
- const { t: a } = R(), s = l("price"), o = l("currency") || (i.length > 0 ? i[0].value : ""), [v, K] = f(
38
+ const { t: a } = w(), s = l("price"), o = l("currency") || (i.length > 0 ? i[0].value : ""), [v, K] = f(
39
39
  i.find((e) => e.value === o) || (i.length > 0 ? {
40
40
  label: i[0].label,
41
41
  value: i[0].value
@@ -48,11 +48,11 @@ const i = [
48
48
  m && !l("currency") && u("currency", i[0].value);
49
49
  }, [m, l, u]);
50
50
  const g = (e) => Math.floor(e);
51
- return /* @__PURE__ */ n(D, { children: p ? /* @__PURE__ */ n(y, { className: "mt-2", severity: "warning", title: a("warning_recurring_event_payment") }) : m && /* @__PURE__ */ c(D, { children: [
51
+ return /* @__PURE__ */ n(D, { children: p ? /* @__PURE__ */ n(P, { className: "mt-2", severity: "warning", title: a("warning_recurring_event_payment") }) : m && /* @__PURE__ */ c(D, { children: [
52
52
  /* @__PURE__ */ c("div", { className: "mt-4 inline-block", children: [
53
53
  /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium mb-1", htmlFor: "price", children: a("price") }),
54
54
  /* @__PURE__ */ n(
55
- w,
55
+ R,
56
56
  {
57
57
  label: a("price"),
58
58
  className: "text-black dark:text-white w-auto",
@@ -71,7 +71,7 @@ const i = [
71
71
  /* @__PURE__ */ c("div", { className: "mt-5 w-60", children: [
72
72
  /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "currency", children: a("currency") }),
73
73
  /* @__PURE__ */ n(
74
- P,
74
+ y,
75
75
  {
76
76
  variant: "default",
77
77
  options: i,
@@ -86,7 +86,7 @@ const i = [
86
86
  /* @__PURE__ */ c("div", { className: "mt-2 w-60", children: [
87
87
  /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "paymentOption", children: a("payment_option") }),
88
88
  /* @__PURE__ */ n(
89
- P,
89
+ y,
90
90
  {
91
91
  defaultValue: b ? { ...b, label: a(b.label) } : t.length > 0 ? { ...t[0], label: a(t[0].label) } : void 0,
92
92
  options: t.map((e) => ({ ...e, label: a(e.label) || e.label })),
@@ -98,7 +98,7 @@ const i = [
98
98
  }
99
99
  )
100
100
  ] }),
101
- N && d === "HOLD" && /* @__PURE__ */ n(y, { className: "mt-2", severity: "warning", title: a("seats_and_no_show_fee_error") })
101
+ N && d === "HOLD" && /* @__PURE__ */ n(P, { className: "mt-2", severity: "warning", title: a("seats_and_no_show_fee_error") })
102
102
  ] }) });
103
103
  };
104
104
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
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-xIgyKeg1.js";
2
+ import { a7 as d, w as L, a8 as i, J as w, f as P, O as T, Q as O, S as y, a9 as E, aa as x, r as B, ab as F, ac as K } from "./index--iR_feQQ.js";
3
3
  import { useState as z, useEffect as G } from "react";
4
4
  const s = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
@@ -162,10 +162,10 @@ const s = [
162
162
  { value: 1, label: n("calendar_days") }
163
163
  ];
164
164
  return /* @__PURE__ */ u(f, { children: [
165
- N && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }),
165
+ N && /* @__PURE__ */ l(w, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }),
166
166
  !N && m && /* @__PURE__ */ u(f, { children: [
167
167
  /* @__PURE__ */ l("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ l(
168
- w,
168
+ P,
169
169
  {
170
170
  "data-testid": "stripe-price-input",
171
171
  label: n("price"),
@@ -221,7 +221,7 @@ const s = [
221
221
  }
222
222
  )
223
223
  ] }),
224
- S && v === "HOLD" && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") }),
224
+ S && v === "HOLD" && /* @__PURE__ */ l(w, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") }),
225
225
  v !== "HOLD" && /* @__PURE__ */ u("div", { className: "mt-4 w-full", children: [
226
226
  /* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", children: n("refund_policy") }),
227
227
  /* @__PURE__ */ u(
@@ -253,7 +253,7 @@ const s = [
253
253
  n("if_cancelled")
254
254
  ] }),
255
255
  /* @__PURE__ */ l(
256
- w,
256
+ P,
257
257
  {
258
258
  labelSrOnly: !0,
259
259
  type: "number",
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-xIgyKeg1.js";
2
+ import { f as o } from "./index--iR_feQQ.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-xIgyKeg1.js";
2
+ import { f as o } from "./index--iR_feQQ.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-xIgyKeg1.js";
2
+ import { f as c } from "./index--iR_feQQ.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-xIgyKeg1.js";
2
+ import { f as s } from "./index--iR_feQQ.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
- import { y as p, f as h, V as v, s as x } from "./index-xIgyKeg1.js";
4
- const N = ({ eventType: n, disabled: d }) => {
3
+ import { w as p, f as h, R as v, r as x } from "./index--iR_feQQ.js";
4
+ const R = ({ eventType: n, disabled: d }) => {
5
5
  const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
6
  function s({ size: a, data: f }) {
7
7
  const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${f}`;
@@ -39,5 +39,5 @@ const N = ({ eventType: n, disabled: d }) => {
39
39
  ] });
40
40
  };
41
41
  export {
42
- N as default
42
+ R as default
43
43
  };
@@ -1,22 +1,22 @@
1
- import { jsx as l, jsxs as m, Fragment as w } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as m, Fragment as g } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as _ } from "react";
3
3
  import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
4
- import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-xIgyKeg1.js";
5
- const H = ({
4
+ import { M as r, w as E, J as x, f as F, O as T, Q as q, S as O } from "./index--iR_feQQ.js";
5
+ const I = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
8
8
  eventType: d
9
9
  }) => {
10
10
  var p, h;
11
- const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, P] = o(
11
+ const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, w] = o(
12
12
  k(a) ? S[a] : ""
13
13
  ), f = n("paymentOption"), u = ((p = r) == null ? void 0 : p.find((e) => f === e.value)) || {
14
14
  label: r[0].label,
15
15
  value: r[0].value
16
- }, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), g = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
+ }, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), P = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
17
17
  return _(() => {
18
18
  v && (n("currency") || t("currency", i[0].value), n("paymentOption") || t("paymentOption", r[0].value));
19
- }, []), g ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(w, { children: [
19
+ }, []), P ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(g, { children: [
20
20
  /* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
21
21
  F,
22
22
  {
@@ -49,7 +49,7 @@ const H = ({
49
49
  className: "text-black",
50
50
  defaultValue: s,
51
51
  onChange: (e) => {
52
- e && (N(e), P(S[e.value]), t("currency", e.value));
52
+ e && (N(e), w(S[e.value]), t("currency", e.value));
53
53
  }
54
54
  }
55
55
  )
@@ -74,5 +74,5 @@ const H = ({
74
74
  ] }) : null;
75
75
  };
76
76
  export {
77
- H as default
77
+ I as default
78
78
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
- import { useState as N, useEffect as w } from "react";
3
- import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-xIgyKeg1.js";
2
+ import { useState as N, useEffect as O } from "react";
3
+ import { w as _, _ as t, J as g, f as C, V as P, S as p } from "./index--iR_feQQ.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -12,10 +12,10 @@ const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
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")), O = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
- return w(() => {
15
+ }, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")), w = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
+ return O(() => {
17
17
  !c && m && a("currency", r.value);
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: [
18
+ }, [c, r, a, m]), /* @__PURE__ */ l(x, { children: w ? /* @__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
  {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
2
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-xIgyKeg1.js";
3
+ import { w as x, J as p, f as w, S as K } from "./index--iR_feQQ.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -45,7 +45,7 @@ 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
- ], M = ({
48
+ ], R = ({
49
49
  getAppData: e,
50
50
  setAppData: a,
51
51
  disabled: h,
@@ -116,5 +116,5 @@ const f = [
116
116
  ] });
117
117
  };
118
118
  export {
119
- M as default
119
+ R as default
120
120
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-xIgyKeg1.js";
2
+ import { v as o } from "./index--iR_feQQ.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2013_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-xIgyKeg1.js";
2
+ import { v as o } from "./index--iR_feQQ.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2016_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
@@ -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 { x as d, an as E, W as g } from "./index-xIgyKeg1.js";
3
+ import { v as d, al as E, W as g } from "./index--iR_feQQ.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":