@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,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-xIgyKeg1.js";
3
- import { A as u } from "./AppCard-yIBrfFj9.js";
4
- import { u as I } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as l, f as m } from "./index--iR_feQQ.js";
3
+ import { A as u } from "./AppCard--JDiTUMU.js";
4
+ import { u as I } from "./useIsAppEnabled-C_9eRB94.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,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-xIgyKeg1.js";
3
- import { A as u } from "./AppCard-yIBrfFj9.js";
4
- import { u as h } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as m, U as o } from "./index--iR_feQQ.js";
3
+ import { A as u } from "./AppCard--JDiTUMU.js";
4
+ import { u as h } from "./useIsAppEnabled-C_9eRB94.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,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-xIgyKeg1.js";
3
- import { A } from "./AppCard-yIBrfFj9.js";
4
- import { u as I } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as m, f as p } from "./index--iR_feQQ.js";
3
+ import { A } from "./AppCard--JDiTUMU.js";
4
+ import { u as I } from "./useIsAppEnabled-C_9eRB94.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,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { x as d, W as i } from "./index--iR_feQQ.js";
3
+ import { A as m } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.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,14 +1,14 @@
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-xIgyKeg1.js";
2
+ import { x as v, w as T, y as _, G as t, W as q, J as L, f as V, S as x } from "./index--iR_feQQ.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-yIBrfFj9.js";
5
- import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
- const U = function({ app: S, eventType: A }) {
4
+ import { A as $ } from "./AppCard--JDiTUMU.js";
5
+ import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
+ const z = function({ app: S, eventType: A }) {
7
7
  var f, h;
8
8
  const i = v.useSearchParams(), d = v.usePathname(), P = W(
9
9
  () => `${d}${i ? `?${i.toString()}` : ""}`,
10
10
  [d, i]
11
- ), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(x.find((e) => e.value === l)), [w, E] = p(
11
+ ), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(g.find((e) => e.value === l)), [w, E] = p(
12
12
  j(l) ? C[l] : ""
13
13
  ), [b, D] = p(N), m = ((f = t) == null ? void 0 : f.find((e) => k === e.value)) || {
14
14
  label: t[0].label,
@@ -48,11 +48,11 @@ const U = function({ app: S, eventType: A }) {
48
48
  /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
49
49
  /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
50
50
  /* @__PURE__ */ a(
51
- g,
51
+ x,
52
52
  {
53
53
  id: "test-mock-payment-app-currency-id",
54
54
  variant: "default",
55
- options: x,
55
+ options: g,
56
56
  value: s,
57
57
  className: "text-black",
58
58
  defaultValue: s,
@@ -65,7 +65,7 @@ const U = function({ app: S, eventType: A }) {
65
65
  /* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
66
66
  /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
67
67
  /* @__PURE__ */ a(
68
- g,
68
+ x,
69
69
  {
70
70
  defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
71
71
  options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
@@ -82,5 +82,5 @@ const U = function({ app: S, eventType: A }) {
82
82
  );
83
83
  };
84
84
  export {
85
- U as default
85
+ z as default
86
86
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-xpqBaj8M.js";
2
+ import { y as m } from "./index--iR_feQQ.js";
3
+ import { A as c } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import l from "./EventTypeAppSettingsInterface-LIn3bMv4.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-AGLMWsEO.js";
2
+ import { y as m } from "./index--iR_feQQ.js";
3
+ import { A as c } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import l from "./EventTypeAppSettingsInterface-7e1qbHi8.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-xIgyKeg1.js";
3
- import { A } from "./AppCard-yIBrfFj9.js";
4
- import { u as I } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as h, f as n } from "./index--iR_feQQ.js";
3
+ import { A } from "./AppCard--JDiTUMU.js";
4
+ import { u as I } from "./useIsAppEnabled-C_9eRB94.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,20 +1,20 @@
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-xIgyKeg1.js";
3
- import { useState as P } from "react";
4
- import { A as g } from "./AppCard-yIBrfFj9.js";
5
- import { u as v } from "./useIsAppEnabled-ABSa6601.js";
6
- import w from "./EventTypeAppSettingsInterface-1whHDae4.js";
2
+ import { w as b, x as f, y, z as E, W as w } from "./index--iR_feQQ.js";
3
+ import { useState as C } from "react";
4
+ import { A as P } from "./AppCard--JDiTUMU.js";
5
+ import { u as g } from "./useIsAppEnabled-C_9eRB94.js";
6
+ import v from "./EventTypeAppSettingsInterface-xYWyd_Dz.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
10
10
  eventTypeFormMetadata: n
11
11
  }) {
12
12
  var o;
13
- const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = v(t), u = E(n), [h] = P(a("enabled")), s = !h && u;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = g(t), u = E(n), [h] = C(a("enabled")), s = !h && u;
14
14
  return /* @__PURE__ */ p(
15
- g,
15
+ P,
16
16
  {
17
- returnTo: `${C}${r}?tabName=apps`,
17
+ returnTo: `${w}${r}?tabName=apps`,
18
18
  app: t,
19
19
  switchChecked: d,
20
20
  switchOnClick: (A) => {
@@ -24,7 +24,7 @@ const W = function({
24
24
  disableSwitch: s,
25
25
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
26
  children: /* @__PURE__ */ p(
27
- w,
27
+ v,
28
28
  {
29
29
  eventType: e,
30
30
  slug: t.slug,
@@ -1,13 +1,13 @@
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-xIgyKeg1.js";
2
+ import { w as ae, a1 as h, a2 as $, a3 as J, p, I as b, S as f, B as F, a4 as D, x as te, y as ce, a5 as m, W as se, L as q, a6 as re, J as de } from "./index--iR_feQQ.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-yIBrfFj9.js";
5
- import { u as he } from "./useIsAppEnabled-ABSa6601.js";
4
+ import { S as c, A as ue } from "./AppCard--JDiTUMU.js";
5
+ import { u as he } from "./useIsAppEnabled-C_9eRB94.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,
9
9
  optionLabel: L,
10
- optionEnabled: z,
10
+ optionEnabled: W,
11
11
  optionSwitchOnChange: K,
12
12
  writeToObjectData: o,
13
13
  updateWriteToObjectData: s
@@ -26,19 +26,19 @@ const le = ({
26
26
  { label: d("true"), value: !0 },
27
27
  { label: d("false"), value: !1 }
28
28
  ], k = [
29
- ...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: q.BOOKING_CANCEL_DATE }] : [],
30
- { label: d("booking_start_date"), value: q.BOOKING_START_DATE },
31
- { label: d("booking_created_date"), value: q.BOOKING_CREATED_DATE }
32
- ], [y, G] = g(O[0]), [I, U] = g(k[0]), [W, H] = g(
29
+ ...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: J.BOOKING_CANCEL_DATE }] : [],
30
+ { label: d("booking_start_date"), value: J.BOOKING_START_DATE },
31
+ { label: d("booking_created_date"), value: J.BOOKING_CREATED_DATE }
32
+ ], [y, U] = g(O[0]), [I, G] = g(k[0]), [z, H] = g(
33
33
  C[0]
34
- ), [_, M] = g(T[0]), [A, j] = g({}), [R, S] = g(
34
+ ), [_, X] = g(T[0]), [A, j] = g({}), [R, S] = g(
35
35
  {}
36
36
  ), [u, N] = g({
37
37
  field: "",
38
38
  fieldType: y.value,
39
39
  value: "",
40
40
  whenToWrite: _.value
41
- }), X = (n) => {
41
+ }), M = (n) => {
42
42
  Object.keys(A).forEach((a) => {
43
43
  A[a] && a !== n && B(a);
44
44
  }), j((a) => ({ ...a, [n]: !0 })), S((a) => ({
@@ -78,13 +78,13 @@ const le = ({
78
78
  /* @__PURE__ */ e(c.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: L, children: /* @__PURE__ */ e(
79
79
  p,
80
80
  {
81
- checked: z,
81
+ checked: W,
82
82
  onCheckedChange: K,
83
83
  id: "write-to-object-settings",
84
84
  size: "sm"
85
85
  }
86
86
  ) }),
87
- z ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
87
+ W ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
88
88
  /* @__PURE__ */ r("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
89
89
  /* @__PURE__ */ e("div", { className: "flex-1", children: d("field_name") }),
90
90
  /* @__PURE__ */ e("div", { className: "flex-1", children: d("field_type") }),
@@ -266,7 +266,7 @@ const le = ({
266
266
  StartIcon: "pencil",
267
267
  variant: "icon",
268
268
  color: "minimal",
269
- onClick: () => X(n)
269
+ onClick: () => M(n)
270
270
  }
271
271
  ),
272
272
  /* @__PURE__ */ e(
@@ -306,12 +306,12 @@ const le = ({
306
306
  options: O,
307
307
  value: y,
308
308
  onChange: (n) => {
309
- n && (G(n), N({
309
+ n && (U(n), N({
310
310
  ...u,
311
311
  fieldType: n.value,
312
312
  ...n.value === h.DATE && { value: I.value },
313
313
  ...n.value === h.CHECKBOX && {
314
- value: W.value
314
+ value: z.value
315
315
  }
316
316
  }));
317
317
  }
@@ -325,7 +325,7 @@ const le = ({
325
325
  options: k,
326
326
  value: I,
327
327
  onChange: (n) => {
328
- n && (U(n), N({
328
+ n && (G(n), N({
329
329
  ...u,
330
330
  value: n.value
331
331
  }));
@@ -337,7 +337,7 @@ const le = ({
337
337
  size: "sm",
338
338
  className: "w-full",
339
339
  options: C,
340
- value: W,
340
+ value: z,
341
341
  onChange: (n) => {
342
342
  n && (H(n), N({
343
343
  ...u,
@@ -365,7 +365,7 @@ const le = ({
365
365
  options: T,
366
366
  value: _,
367
367
  onChange: (n) => {
368
- n && (M(n), N({
368
+ n && (X(n), N({
369
369
  ...u,
370
370
  whenToWrite: n.value
371
371
  }));
@@ -407,14 +407,14 @@ const le = ({
407
407
  )
408
408
  ] }) : null
409
409
  ] });
410
- }, Ce = function({ app: L, eventType: z }) {
410
+ }, Ce = function({ app: L, eventType: W }) {
411
411
  var ne;
412
- const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, G = o("skipContactCreation"), I = o("createLeadIfAccountNull"), U = o("createNewContactUnderAccount"), W = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, M = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, X = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
412
+ const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, U = o("skipContactCreation"), I = o("createLeadIfAccountNull"), G = o("createNewContactUnderAccount"), z = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, X = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, M = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
413
413
  { label: a("contact"), value: m.CONTACT },
414
414
  { label: a("salesforce_lead"), value: m.LEAD },
415
415
  { label: a("salesforce_contact_under_account"), value: m.ACCOUNT }
416
416
  ], [i, v] = g(
417
- t.find((l) => l.value === W) ?? t[0]
417
+ t.find((l) => l.value === z) ?? t[0]
418
418
  ), V = [
419
419
  { label: a("contact"), value: m.CONTACT },
420
420
  { label: a("salesforce_lead"), value: m.LEAD },
@@ -435,7 +435,7 @@ const le = ({
435
435
  {
436
436
  size: "sm",
437
437
  labelOnLeading: !0,
438
- checked: U,
438
+ checked: G,
439
439
  onCheckedChange: (l) => {
440
440
  s("createNewContactUnderAccount", l);
441
441
  }
@@ -448,7 +448,7 @@ const le = ({
448
448
  {
449
449
  returnTo: `${se}${K}?tabName=apps`,
450
450
  app: L,
451
- teamId: ((ne = z.team) == null ? void 0 : ne.id) || void 0,
451
+ teamId: ((ne = W.team) == null ? void 0 : ne.id) || void 0,
452
452
  switchOnClick: (l) => {
453
453
  T(l);
454
454
  },
@@ -488,7 +488,7 @@ const le = ({
488
488
  {
489
489
  size: "sm",
490
490
  labelOnLeading: !0,
491
- checked: X,
491
+ checked: M,
492
492
  onCheckedChange: (l) => {
493
493
  s("ignoreGuests", l);
494
494
  }
@@ -507,7 +507,7 @@ const le = ({
507
507
  {
508
508
  size: "sm",
509
509
  labelOnLeading: !0,
510
- checked: G,
510
+ checked: U,
511
511
  onCheckedChange: (l) => {
512
512
  s("skipContactCreation", l);
513
513
  }
@@ -527,7 +527,7 @@ const le = ({
527
527
  {
528
528
  size: "sm",
529
529
  labelOnLeading: !0,
530
- checked: M,
530
+ checked: X,
531
531
  onCheckedChange: (l) => {
532
532
  s("createEventOnLeadCheckForContact", l);
533
533
  }
@@ -659,7 +659,7 @@ const le = ({
659
659
  le,
660
660
  {
661
661
  bookingAction: Q.ON_BOOKING,
662
- optionLabel: a("salesforce_on_booking_write_to_record", { record: W }),
662
+ optionLabel: a("salesforce_on_booking_write_to_record", { record: z }),
663
663
  optionEnabled: u,
664
664
  writeToObjectData: N,
665
665
  optionSwitchOnChange: (l) => {
@@ -690,7 +690,7 @@ const le = ({
690
690
  ),
691
691
  A ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
692
692
  /* @__PURE__ */ e(
693
- J,
693
+ q,
694
694
  {
695
695
  htmlFor: "on-booking-change-record-owner-name",
696
696
  className: "text-subtle text-sm font-medium",
@@ -708,7 +708,7 @@ const le = ({
708
708
  )
709
709
  ] }) }) : null
710
710
  ] }),
711
- z.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
711
+ W.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
712
712
  /* @__PURE__ */ r(c.SubSection, { children: [
713
713
  /* @__PURE__ */ e(
714
714
  c.SubSectionHeader,
@@ -731,7 +731,7 @@ const le = ({
731
731
  ),
732
732
  C ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
733
733
  /* @__PURE__ */ e(
734
- J,
734
+ q,
735
735
  {
736
736
  htmlFor: "round-robin-skip-check-record-on",
737
737
  className: "text-subtle text-sm font-medium",
@@ -831,7 +831,7 @@ const le = ({
831
831
  ),
832
832
  R ? /* @__PURE__ */ r(c.SubSectionContent, { classNames: { container: "p-3" }, children: [
833
833
  /* @__PURE__ */ e(
834
- J,
834
+ q,
835
835
  {
836
836
  htmlFor: "send-no-show-attendee-data-field-name",
837
837
  className: "text-subtle text-sm font-medium",
@@ -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-xIgyKeg1.js";
3
- import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-yIBrfFj9.js";
5
- import E from "./EventTypeAppSettingsInterface-2vq_64FN.js";
2
+ import { x as i, y as f, z as g, w as S, W as b } from "./index--iR_feQQ.js";
3
+ import { useMemo as v, useState as w } from "react";
4
+ import { A as C } from "./AppCard--JDiTUMU.js";
5
+ import E from "./EventTypeAppSettingsInterface-mOdk6pDR.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -11,9 +11,9 @@ const $ = function({
11
11
  const t = i.useSearchParams(), s = i.usePathname(), h = v(
12
12
  () => `${s}${t ? `?${t.toString()}` : ""}`,
13
13
  [s, t]
14
- ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), y = g(m), { t: A } = S(), r = !o && y;
14
+ ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = w(n("enabled")), y = g(m), { t: A } = S(), r = !o && y;
15
15
  return /* @__PURE__ */ e(
16
- w,
16
+ C,
17
17
  {
18
18
  returnTo: b + h,
19
19
  app: a,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { x as d, W as i } from "./index--iR_feQQ.js";
3
+ import { A as m } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.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 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-xIgyKeg1.js";
3
- import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-yIBrfFj9.js";
5
- import E from "./EventTypeAppSettingsInterface-WSA9a0P9.js";
2
+ import { x as i, w as g, y as f, z as b, W as S } from "./index--iR_feQQ.js";
3
+ import { useMemo as v, useState as w } from "react";
4
+ import { A as C } from "./AppCard--JDiTUMU.js";
5
+ import E from "./EventTypeAppSettingsInterface-vNhCP6vQ.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -11,9 +11,9 @@ const $ = function({
11
11
  const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h = v(
12
12
  () => `${s}${t ? `?${t.toString()}` : ""}`,
13
13
  [s, t]
14
- ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), A = b(c), r = !o && A;
14
+ ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = w(n("enabled")), A = b(c), r = !o && A;
15
15
  return /* @__PURE__ */ e(
16
- w,
16
+ C,
17
17
  {
18
18
  returnTo: S + h,
19
19
  app: a,
@@ -1,9 +1,9 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { G as m, y as f } from "./index-xIgyKeg1.js";
3
- import { A as l } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
5
- import A from "./EventTypeAppSettingsInterface-2sj2WJjh.js";
6
- const w = function({ app: t, eventType: e }) {
2
+ import { y as m, w as f } from "./index--iR_feQQ.js";
3
+ import { A as l } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import A from "./EventTypeAppSettingsInterface-CPvfqJkx.js";
6
+ const b = 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();
9
9
  return /* @__PURE__ */ i(
@@ -30,5 +30,5 @@ const w = function({ app: t, eventType: e }) {
30
30
  );
31
31
  };
32
32
  export {
33
- w as default
33
+ b as default
34
34
  };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { x as d, W as i } from "./index--iR_feQQ.js";
3
+ import { A as m } from "./AppCard--JDiTUMU.js";
4
+ import { u } from "./useIsAppEnabled-C_9eRB94.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 { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-xIgyKeg1.js";
2
+ import { f as g } from "./index--iR_feQQ.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -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-xIgyKeg1.js";
3
+ import { K as p, S as h } from "./index--iR_feQQ.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(