@calcom/atoms 1.2.0 → 1.3.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 (210) hide show
  1. package/README.md +17 -1
  2. package/dist/{AddressInput-UbZjE-tI.js → AddressInput-sMG4Ayqp.js} +1 -1
  3. package/dist/{AlbyPriceComponent-FDWNfR07.js → AlbyPriceComponent-1rbVIc_T.js} +1 -1
  4. package/dist/{AppCard-wE044EKu.js → AppCard-Zx_xfVt_.js} +1 -1
  5. package/dist/{AppListCardPlatformWrapper-S2MLpR9q.js → AppListCardPlatformWrapper-qcAFCAXX.js} +1 -1
  6. package/dist/{AppListCardWebWrapper-Ekd6d78j.js → AppListCardWebWrapper-3Pbmp6y8.js} +1 -1
  7. package/dist/{AppSettingsInterface-LmBoyPF3.js → AppSettingsInterface-4XMEEbcJ.js} +1 -1
  8. package/dist/{AppSettingsInterface-Q3voYj2J.js → AppSettingsInterface-YsrrXooV.js} +1 -1
  9. package/dist/{AppSettingsInterface-9HiSjvfg.js → AppSettingsInterface-odT8kPt-.js} +1 -1
  10. package/dist/{DateRangePicker-IpphZRIX.js → DateRangePicker-DJBZW9da.js} +1 -1
  11. package/dist/{EventTypeAppCardInterface-zrl4AOk6.js → EventTypeAppCardInterface-0K5xbIex.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-YAGz7OSs.js → EventTypeAppCardInterface-0OvYJLmR.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-sh5yauFY.js → EventTypeAppCardInterface-0kqrhpLm.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-votpw9E3.js → EventTypeAppCardInterface-31dw8z6g.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-n8P51zUO.js → EventTypeAppCardInterface-3DQk93Oh.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-jdO2h65F.js → EventTypeAppCardInterface-9awj9ikp.js} +2 -2
  17. package/dist/{EventTypeAppCardInterface-Q7g0PqbK.js → EventTypeAppCardInterface-A4ukS96V.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-uojE8EEU.js → EventTypeAppCardInterface-FHw_ihqn.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-KjL7y7bt.js → EventTypeAppCardInterface-G_vO0W-q.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-0tvjBecr.js → EventTypeAppCardInterface-HLMEZBRF.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-uYCixWBP.js → EventTypeAppCardInterface-OmcE4mB3.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-Rw_76E5Z.js → EventTypeAppCardInterface-WkoM7u6A.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-PktZC6Qe.js → EventTypeAppCardInterface-h4Pze3Gg.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-3x27P7ps.js → EventTypeAppCardInterface-iQlInguK.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-yyUk_C2L.js → EventTypeAppCardInterface-lYTrL5Bl.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-6XEXNBzn.js → EventTypeAppCardInterface-mK2_N-dB.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-kEPAtIQk.js → EventTypeAppCardInterface-obLysXQC.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-2KJr-V7Z.js → EventTypeAppCardInterface-omWnfJYA.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-RcBmmIx9.js → EventTypeAppCardInterface-pSepgnI-.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-F93MhSNn.js → EventTypeAppCardInterface-rvCvUanb.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-_JOQuDhH.js → EventTypeAppCardInterface-se55G0wm.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-n_WO_Y6m.js → EventTypeAppCardInterface-t4XO8_QR.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-EPMIwLGd.js → EventTypeAppCardInterface-tDBXaZGm.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-7NR3doEG.js → EventTypeAppCardInterface-utbpEdvv.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-S6U1w7fe.js → EventTypeAppCardInterface-wk4GzNE9.js} +2 -2
  36. package/dist/{EventTypeAppCardInterface-P_G5YRV_.js → EventTypeAppCardInterface-xWjmxDRE.js} +3 -3
  37. package/dist/EventTypeAppCardInterface-z0_lwBiz.js +24 -0
  38. package/dist/{EventTypeAppSettingsInterface-g29q2wWG.js → EventTypeAppSettingsInterface-2x-2dNXv.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-BUDKuf38.js → EventTypeAppSettingsInterface-7bn1HSLI.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-33K40mC3.js → EventTypeAppSettingsInterface-KY9K2A4a.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-qgNiXkW7.js → EventTypeAppSettingsInterface-N3GZOEOV.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-ekHTxFa0.js → EventTypeAppSettingsInterface-SyFwT8fy.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-MsLfMf4b.js → EventTypeAppSettingsInterface-VPwlxALu.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-FLyAowkl.js → EventTypeAppSettingsInterface-W5ejZRBB.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-fZOlGEqt.js → EventTypeAppSettingsInterface-WxLx9nXX.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-i-u_40BM.js → EventTypeAppSettingsInterface-eqtUnnNt.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-Ry7PH-5o.js → EventTypeAppSettingsInterface-qI5dfOri.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-UzAwMrFq.js → EventTypeAppSettingsInterface-sgrrOkbn.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-aKWy9X9P.js → EventTypeAppSettingsInterface-uSZXgZw6.js} +1 -1
  50. package/dist/EventTypeAppSettingsInterface-v7Pzk2Bm.js +106 -0
  51. package/dist/{InstallAppButton-HNUH1HbW.js → InstallAppButton-JS_mFJ2c.js} +1 -1
  52. package/dist/{InstallAppButton-4JTgmaHV.js → InstallAppButton-Tmmia5nu.js} +1 -1
  53. package/dist/{InstallAppButton-XwVQ7QR9.js → InstallAppButton-bTw6dwGS.js} +1 -1
  54. package/dist/{PhoneInput-thLHoHkm.js → PhoneInput-cqTlU9G5.js} +1 -1
  55. package/dist/{StripePaymentForm-9JaoVglP.js → StripePaymentForm-sHV_1oj6.js} +1 -1
  56. package/dist/cal-atoms.js +1 -1
  57. package/dist/{index-hbI4lcmF.js → index-MLgFWWYi.js} +58762 -58371
  58. package/dist/{index-VHCLgyWQ.js → index-SRsTKyeM.js} +1 -1
  59. package/dist/{index-NNpE702d.js → index-oB7xnM_T.js} +1 -1
  60. package/dist/{index-08sEbTLI.js → index-uQDDhsO6.js} +1 -1
  61. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +2 -1
  63. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +2 -1
  65. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/types.d.ts +3 -0
  67. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/Booker/utils/event.d.ts +4 -0
  69. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +6 -0
  72. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +8 -0
  74. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +6 -0
  76. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +3 -0
  80. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts +2 -0
  82. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts.map +1 -0
  83. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +1 -0
  84. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  86. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  87. package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
  88. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  89. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  90. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  91. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +8 -0
  92. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  93. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +2 -0
  94. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts.map +1 -1
  95. package/dist/packages/features/ee/workflows/lib/constants.d.ts +1 -1
  96. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  97. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
  98. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  99. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  100. package/dist/packages/features/ee/workflows/lib/schema.d.ts +5 -4
  101. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  102. package/dist/packages/features/ee/workflows/pages/index.d.ts.map +1 -1
  103. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +1 -5
  104. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  105. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts +2 -1
  106. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  107. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +5 -2
  108. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
  109. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
  110. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  111. package/dist/packages/features/eventtypes/components/EventType.d.ts +1 -0
  112. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
  113. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
  114. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts +2 -0
  115. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
  116. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  117. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  118. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +6 -0
  119. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  120. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +1 -0
  121. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  122. package/dist/packages/features/eventtypes/lib/types.d.ts +9 -1
  123. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  124. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  125. package/dist/packages/features/schedules/components/Schedule.d.ts +8 -1
  126. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  127. package/dist/packages/features/shell/Shell.d.ts.map +1 -1
  128. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +6 -0
  129. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  130. package/dist/packages/platform/atoms/availability/types.d.ts +12 -1
  131. package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
  132. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  133. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  134. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  135. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  136. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  137. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -1
  138. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  139. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +4 -1
  140. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  141. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts +11 -0
  142. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
  143. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +3 -1
  144. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  145. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +6 -0
  146. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  147. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +1 -0
  148. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  149. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  150. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  151. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  152. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  153. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +4 -0
  154. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  155. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  156. package/dist/packages/platform/atoms/hooks/useMe.d.ts.map +1 -1
  157. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +26 -1
  158. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  159. package/dist/packages/platform/libraries/private-links.d.ts +3 -0
  160. package/dist/packages/platform/libraries/private-links.d.ts.map +1 -0
  161. package/dist/packages/platform/libraries/schedules.d.ts +1 -0
  162. package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
  163. package/dist/packages/platform/libraries/slots.d.ts +6 -0
  164. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  165. package/dist/packages/platform/types/event-types/index.d.ts +2 -0
  166. package/dist/packages/platform/types/event-types/index.d.ts.map +1 -1
  167. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts +10 -0
  168. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts.map +1 -0
  169. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts +35 -0
  170. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts.map +1 -0
  171. package/dist/packages/platform/types/index.d.ts +1 -0
  172. package/dist/packages/platform/types/index.d.ts.map +1 -1
  173. package/dist/packages/prisma/zod/agent.d.ts +44 -0
  174. package/dist/packages/prisma/zod/agent.d.ts.map +1 -0
  175. package/dist/packages/prisma/zod/calaiphonenumber.d.ts +66 -0
  176. package/dist/packages/prisma/zod/calaiphonenumber.d.ts.map +1 -0
  177. package/dist/packages/prisma/zod/custom/eventtype.d.ts +10 -0
  178. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  179. package/dist/packages/prisma/zod/eventtype.d.ts +10 -1
  180. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  181. package/dist/packages/prisma/zod/host.d.ts +9 -1
  182. package/dist/packages/prisma/zod/host.d.ts.map +1 -1
  183. package/dist/packages/prisma/zod/hostgroup.d.ts +32 -0
  184. package/dist/packages/prisma/zod/hostgroup.d.ts.map +1 -0
  185. package/dist/packages/prisma/zod/index.d.ts +3 -0
  186. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  187. package/dist/packages/prisma/zod/membership.d.ts +2 -1
  188. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  189. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  190. package/dist/packages/prisma/zod/team.d.ts +3 -1
  191. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  192. package/dist/packages/prisma/zod/user.d.ts +3 -1
  193. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  194. package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -2
  195. package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
  196. package/dist/packages/prisma/zod/workflowstep.d.ts +8 -3
  197. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  198. package/dist/packages/prisma/zod-utils.d.ts +24 -0
  199. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  200. package/dist/packages/prisma-client/index.d.ts +12634 -3343
  201. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +155 -7
  202. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  203. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +12 -2
  204. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  205. package/dist/{useIsAppEnabled-d30ejzXt.js → useIsAppEnabled-GIoK8AkC.js} +1 -1
  206. package/package.json +1 -1
  207. package/dist/EventTypeAppCardInterface-s_ShyWJo.js +0 -24
  208. package/dist/EventTypeAppSettingsInterface-zsCeg754.js +0 -79
  209. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +0 -2
  210. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +0 -1
package/README.md CHANGED
@@ -36,4 +36,20 @@ changesets will publish atoms to npm only if the `"version"` in the atoms `packa
36
36
 
37
37
  The following 2 articles teach how to write good change summaries for each PR when it deserves to end up in CHANGELOG.md
38
38
  - https://keepachangelog.com/en/1.0.0/
39
- - https://docs.gitlab.com/development/changelog/
39
+ - https://docs.gitlab.com/development/changelog/
40
+
41
+ ### Testing
42
+ Atoms are tested in CI using e2e tests within the example platform app. To run them locally:
43
+ 1. Go to "packages/platform/atoms" and run `yarn dev-on` and then `yarn build` - this will create local build of atoms.
44
+ 2. Setup environment variables in "packages/platform/examples/base/.env" file. You will need your own platform oAuth client to populate NEXT_PUBLIC_X_CAL_ID (oAuth id), X_CAL_SECRET_KEY (oAuth secret), VITE_BOOKER_EMBED_OAUTH_CLIENT_ID (oAuth id) and ORGANIZATION_ID (organization id to which oAuth client belongs) - all of these are available in the platform settings dashboard after creating the oAuth client.
45
+ ```
46
+ NEXT_PUBLIC_X_CAL_ID=""
47
+ X_CAL_SECRET_KEY=""
48
+ NEXT_PUBLIC_CALCOM_API_URL="https://api.cal.com/v2"
49
+ VITE_BOOKER_EMBED_OAUTH_CLIENT_ID=""
50
+ VITE_BOOKER_EMBED_API_URL="https://api.cal.com/v2"
51
+ ORGANIZATION_ID=""
52
+ ```
53
+ 3. Go to "packages/platform/examples/base" and run `yarn dev:e2e` - this will start the example platform app and run e2e tests by using locally built atoms. Because it is not running within CI it will open a browser and run tests.
54
+
55
+
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { X as n, e as o, s as c } from "./index-hbI4lcmF.js";
2
+ import { X as n, e as o, s as c } from "./index-MLgFWWYi.js";
3
3
  function r({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -1,6 +1,6 @@
1
1
  import { jsx as z, jsxs as er } from "react/jsx-runtime";
2
2
  import J from "react";
3
- import { V as tr, Y as nr } from "./index-hbI4lcmF.js";
3
+ import { V as tr, Y as nr } from "./index-MLgFWWYi.js";
4
4
  const K = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, Fragment as D, jsxs as a } from "react/jsx-runtime";
2
- import { ao as V, ap as v, s as u, X as N, aq as W, O as A, y as H, x as T, ar as q, u as j, a6 as C, as as L, G as F, am as U, at as g, q as G } from "./index-hbI4lcmF.js";
2
+ import { ao as V, ap as v, s as u, X as N, aq as W, O as A, y as H, x as T, ar as q, u as j, a6 as C, as as L, G as F, am as U, at as g, q as G } from "./index-MLgFWWYi.js";
3
3
  import * as c from "react";
4
4
  var y = c.forwardRef((e, r) => {
5
5
  const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(Q);
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-hbI4lcmF.js";
2
+ import { A as p } from "./index-MLgFWWYi.js";
3
3
  function s(o) {
4
4
  const t = `https://app.cal.com${o.logo}`;
5
5
  return /* @__PURE__ */ r(p, { ...o, logo: t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
- import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-hbI4lcmF.js";
2
+ import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-MLgFWWYi.js";
3
3
  import { useMemo as Q, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
4
  i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
5
  i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { u as i, y as o } from "./index-hbI4lcmF.js";
2
+ import { u as i, y as o } from "./index-MLgFWWYi.js";
3
3
  function d({ template: t }) {
4
4
  return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
5
5
  /* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as s } from "react";
3
- import { y as i, f as l, u as m } from "./index-hbI4lcmF.js";
3
+ import { y as i, f as l, u as m } from "./index-MLgFWWYi.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, c] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { y as r, f as u, u as i } from "./index-hbI4lcmF.js";
3
+ import { y as r, f as u, u as i } from "./index-MLgFWWYi.js";
4
4
  function d() {
5
5
  const { t: e } = r(), [s, n] = p("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as c, Fragment as f } from "react/jsx-runtime";
2
- import { r as h, s as m, $ as y, t as d, u as g, v as n, w as k } from "./index-hbI4lcmF.js";
2
+ import { r as h, s as m, $ as y, t as d, u as g, v as n, w as k } from "./index-MLgFWWYi.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: t,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-hbI4lcmF.js";
3
- import { A as I } from "./AppCard-wE044EKu.js";
4
- import { u as C } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as h, f as n } from "./index-MLgFWWYi.js";
3
+ import { A as I } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as C } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const R = function({ app: s, eventType: o }) {
6
6
  var i;
7
7
  const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-hbI4lcmF.js";
3
- import { A as m } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { z as d, W as i } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
5
- import l from "./EventTypeAppSettingsInterface-33K40mC3.js";
2
+ import { G as m } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import l from "./EventTypeAppSettingsInterface-qI5dfOri.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-hbI4lcmF.js";
3
- import { A as u } from "./AppCard-wE044EKu.js";
4
- import { u as I } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as l, f as m } from "./index-MLgFWWYi.js";
3
+ import { A as u } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const D = function({ app: t, eventType: n }) {
6
6
  var a;
7
7
  const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { G as m, y as f } from "./index-hbI4lcmF.js";
3
- import { A as l } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
5
- import A from "./EventTypeAppSettingsInterface-fZOlGEqt.js";
2
+ import { G as m, y as f } from "./index-MLgFWWYi.js";
3
+ import { A as l } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import A from "./EventTypeAppSettingsInterface-WxLx9nXX.js";
6
6
  const w = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { G as m, f as l } from "./index-hbI4lcmF.js";
4
- import { A as f } from "./AppCard-wE044EKu.js";
3
+ import { G as m, f as l } from "./index-MLgFWWYi.js";
4
+ import { A as f } from "./AppCard-Zx_xfVt_.js";
5
5
  const k = function({ app: p, eventType: i }) {
6
6
  var n;
7
7
  const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { G as m, f as p } from "./index-hbI4lcmF.js";
3
- import { A } from "./AppCard-wE044EKu.js";
4
- import { u as I } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as m, f as p } from "./index-MLgFWWYi.js";
3
+ import { A } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const x = function({ app: a, eventType: s }) {
6
6
  var i;
7
7
  const { getAppData: r, setAppData: n, disabled: o } = m(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = I(a);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
5
- import l from "./EventTypeAppSettingsInterface-aKWy9X9P.js";
2
+ import { G as m } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import l from "./EventTypeAppSettingsInterface-2x-2dNXv.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-hbI4lcmF.js";
3
- import { A } from "./AppCard-wE044EKu.js";
4
- import { u as I } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as h, f as n } from "./index-MLgFWWYi.js";
3
+ import { A } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { G as m, X as o } from "./index-hbI4lcmF.js";
3
- import { A as u } from "./AppCard-wE044EKu.js";
4
- import { u as h } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as m, X as o } from "./index-MLgFWWYi.js";
3
+ import { A as u } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as h } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const E = function({ eventType: a, app: s }) {
6
6
  var n;
7
7
  const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { z as i, G as f, J as g, y as S, W as b } from "./index-hbI4lcmF.js";
2
+ import { z as i, G as f, J as g, y as S, W as b } from "./index-MLgFWWYi.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-wE044EKu.js";
5
- import E from "./EventTypeAppSettingsInterface-MsLfMf4b.js";
4
+ import { A as w } from "./AppCard-Zx_xfVt_.js";
5
+ import E from "./EventTypeAppSettingsInterface-VPwlxALu.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as C } from "./index-hbI4lcmF.js";
2
+ import { y as b, z as f, G as y, J as E, W as C } from "./index-MLgFWWYi.js";
3
3
  import { useState as P } from "react";
4
- import { A as g } from "./AppCard-wE044EKu.js";
5
- import { u as v } from "./useIsAppEnabled-d30ejzXt.js";
6
- import w from "./EventTypeAppSettingsInterface-FLyAowkl.js";
4
+ import { A as g } from "./AppCard-Zx_xfVt_.js";
5
+ import { u as v } from "./useIsAppEnabled-GIoK8AkC.js";
6
+ import w from "./EventTypeAppSettingsInterface-W5ejZRBB.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as d } from "./index-hbI4lcmF.js";
3
- import { A as m } from "./AppCard-wE044EKu.js";
4
- import { u as c } from "./useIsAppEnabled-d30ejzXt.js";
5
- import u from "./EventTypeAppSettingsInterface-qgNiXkW7.js";
2
+ import { G as d } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as c } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import u from "./EventTypeAppSettingsInterface-N3GZOEOV.js";
6
6
  const E = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-hbI4lcmF.js";
3
- import { A as u } from "./AppCard-wE044EKu.js";
4
- import { u as h } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { G as l, f as m } from "./index-MLgFWWYi.js";
3
+ import { A as u } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as h } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const D = function({ app: a, eventType: d }) {
6
6
  var s;
7
7
  const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
- import { z as i, y as g, G as f, J as b, W as S } from "./index-hbI4lcmF.js";
2
+ import { z as i, y as g, G as f, J as b, W as S } from "./index-MLgFWWYi.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-wE044EKu.js";
5
- import E from "./EventTypeAppSettingsInterface-UzAwMrFq.js";
4
+ import { A as w } from "./AppCard-Zx_xfVt_.js";
5
+ import E from "./EventTypeAppSettingsInterface-sgrrOkbn.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
5
- import l from "./EventTypeAppSettingsInterface-Ry7PH-5o.js";
2
+ import { G as m } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import l from "./EventTypeAppSettingsInterface-uSZXgZw6.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-hbI4lcmF.js";
3
- import { A as m } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { z as d, W as i } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u as l } from "./useIsAppEnabled-d30ejzXt.js";
5
- import u from "./EventTypeAppSettingsInterface-BUDKuf38.js";
2
+ import { G as m } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as l } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import u from "./EventTypeAppSettingsInterface-7bn1HSLI.js";
6
6
  const g = function({ eventType: e, app: t }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
5
- import l from "./EventTypeAppSettingsInterface-g29q2wWG.js";
2
+ import { G as m } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import l from "./EventTypeAppSettingsInterface-KY9K2A4a.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-hbI4lcmF.js";
3
- import { A as m } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { z as d, W as i } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-hbI4lcmF.js";
3
- import { A as m } from "./AppCard-wE044EKu.js";
4
- import { u } from "./useIsAppEnabled-d30ejzXt.js";
2
+ import { z as d, W as i } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as P } from "./index-hbI4lcmF.js";
2
+ import { y as b, z as f, G as y, J as E, W as P } from "./index-MLgFWWYi.js";
3
3
  import { useState as C } from "react";
4
- import { A as g } from "./AppCard-wE044EKu.js";
5
- import { u as v } from "./useIsAppEnabled-d30ejzXt.js";
6
- import w from "./EventTypeAppSettingsInterface-ekHTxFa0.js";
4
+ import { A as g } from "./AppCard-Zx_xfVt_.js";
5
+ import { u as v } from "./useIsAppEnabled-GIoK8AkC.js";
6
+ import w from "./EventTypeAppSettingsInterface-SyFwT8fy.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: t,
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, Fragment as u } from "react/jsx-runtime";
2
- import { y as A, z as y, G as g, J as b, W as f } from "./index-hbI4lcmF.js";
2
+ import { y as A, z as y, G as g, J as b, W as f } from "./index-MLgFWWYi.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-wE044EKu.js";
5
- import C from "./EventTypeAppSettingsInterface-zsCeg754.js";
4
+ import { A as v } from "./AppCard-Zx_xfVt_.js";
5
+ import C from "./EventTypeAppSettingsInterface-v7Pzk2Bm.js";
6
6
  const x = function({
7
7
  eventType: o,
8
8
  app: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { G as d } from "./index-hbI4lcmF.js";
3
- import { A as c } from "./AppCard-wE044EKu.js";
4
- import { u as m } from "./useIsAppEnabled-d30ejzXt.js";
5
- import l from "./EventTypeAppSettingsInterface-i-u_40BM.js";
2
+ import { G as d } from "./index-MLgFWWYi.js";
3
+ import { A as c } from "./AppCard-Zx_xfVt_.js";
4
+ import { u as m } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ import l from "./EventTypeAppSettingsInterface-eqtUnnNt.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-hbI4lcmF.js";
2
+ import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-MLgFWWYi.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-wE044EKu.js";
4
+ import { A as $ } from "./AppCard-Zx_xfVt_.js";
5
5
  import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const U = function({ app: S, eventType: A }) {
7
7
  var f, h;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-hbI4lcmF.js";
2
+ import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-MLgFWWYi.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-wE044EKu.js";
5
- import { u as he } from "./useIsAppEnabled-d30ejzXt.js";
4
+ import { S as c, A as ue } from "./AppCard-Zx_xfVt_.js";
5
+ import { u as he } from "./useIsAppEnabled-GIoK8AkC.js";
6
6
  var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
7
7
  const le = ({
8
8
  bookingAction: x,
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { z as d, W as i } from "./index-MLgFWWYi.js";
3
+ import { A as m } from "./AppCard-Zx_xfVt_.js";
4
+ import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-hbI4lcmF.js";
2
+ import { f as s } from "./index-MLgFWWYi.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -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 { y as p, f as h, V as v, s as x } from "./index-hbI4lcmF.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-MLgFWWYi.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 { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-hbI4lcmF.js";
2
+ import { f as g } from "./index-MLgFWWYi.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-hbI4lcmF.js";
2
+ import { f as o } from "./index-MLgFWWYi.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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-hbI4lcmF.js";
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-MLgFWWYi.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" },
@@ -1,7 +1,7 @@
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
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-hbI4lcmF.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-MLgFWWYi.js";
5
5
  const H = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -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-hbI4lcmF.js";
3
+ import { y as x, M as p, f as w, S as K } from "./index-MLgFWWYi.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -1,6 +1,6 @@
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-hbI4lcmF.js";
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-MLgFWWYi.js";
4
4
  const x = "search", C = "url", B = (s) => {
5
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)
@@ -1,6 +1,6 @@
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 { O as p, S as h } from "./index-hbI4lcmF.js";
3
+ import { O as p, S as h } from "./index-MLgFWWYi.js";
4
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(
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-hbI4lcmF.js";
2
+ import { f as o } from "./index-MLgFWWYi.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,6 +1,6 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as w } from "react";
3
- import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-hbI4lcmF.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-MLgFWWYi.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-hbI4lcmF.js";
2
+ import { f as c } from "./index-MLgFWWYi.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,