@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,6 +1,6 @@
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-xIgyKeg1.js";
3
- function r({ value: s, onChange: t, ...a }) {
2
+ import { U as n, e as o, r as c } from "./index--iR_feQQ.js";
3
+ function i({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
6
6
  n,
@@ -24,5 +24,5 @@ function r({ value: s, onChange: t, ...a }) {
24
24
  ] });
25
25
  }
26
26
  export {
27
- r as default
27
+ i as default
28
28
  };
@@ -1,12 +1,12 @@
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-xIgyKeg1.js";
3
+ import { R as tr, V as nr } from "./index--iR_feQQ.js";
4
4
  const K = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
7
7
  if (r && s.finished)
8
8
  throw new Error("Hash#digest() has already been called");
9
- }, or = (s) => s instanceof Uint8Array, N = (s) => new DataView(s.buffer, s.byteOffset, s.byteLength), L = (s, r) => s << 32 - r | s >>> r;
9
+ }, or = (s) => s instanceof Uint8Array, D = (s) => new DataView(s.buffer, s.byteOffset, s.byteLength), L = (s, r) => s << 32 - r | s >>> r;
10
10
  if (new Uint8Array(new Uint32Array([287454020]).buffer)[0] !== 68)
11
11
  throw new Error("Non little-endian hardware is not supported");
12
12
  Array.from({ length: 256 }, (s, r) => r.toString(16).padStart(2, "0"));
@@ -30,7 +30,7 @@ function q(s) {
30
30
  }
31
31
  class ir extends sr {
32
32
  constructor(r, i, c, f) {
33
- super(), this.blockLen = r, this.outputLen = i, this.padOffset = c, this.isLE = f, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(r), this.view = N(this.buffer);
33
+ super(), this.blockLen = r, this.outputLen = i, this.padOffset = c, this.isLE = f, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(r), this.view = D(this.buffer);
34
34
  }
35
35
  update(r) {
36
36
  K(this);
@@ -40,7 +40,7 @@ class ir extends sr {
40
40
  if (g !== f)
41
41
  c.set(r.subarray(l, l + g), this.pos), this.pos += g, l += g, this.pos === f && (this.process(i, 0), this.pos = 0);
42
42
  else {
43
- const m = N(r);
43
+ const m = D(r);
44
44
  for (; f <= u - l; l += f)
45
45
  this.process(m, l);
46
46
  }
@@ -67,10 +67,10 @@ class ir extends sr {
67
67
  (function(b, y, E, x) {
68
68
  if (typeof b.setBigUint64 == "function")
69
69
  return b.setBigUint64(y, E, x);
70
- const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k), C = Number(E & k), j = x ? 0 : 4;
71
- b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j, C, x);
70
+ const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k), C = Number(E & k), R = x ? 0 : 4;
71
+ b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + R, C, x);
72
72
  })(c, f - 8, BigInt(8 * this.length), u), this.process(c, 0);
73
- const g = N(r), m = this.outputLen;
73
+ const g = D(r), m = this.outputLen;
74
74
  if (m % 4)
75
75
  throw new Error("_sha2: outputLen should be aligned to 32bit");
76
76
  const U = m / 4, A = this.get();
@@ -132,7 +132,7 @@ class hr extends rr {
132
132
  }
133
133
  q(() => new rr());
134
134
  q(() => new hr());
135
- var Q, R;
135
+ var Q, N;
136
136
  Q = function(s, r) {
137
137
  function i(e) {
138
138
  if (!Number.isSafeInteger(e))
@@ -347,12 +347,12 @@ Q = function(s, r) {
347
347
  }
348
348
  return Uint8Array.from(t);
349
349
  } }, r.base58check = (e) => c(B(4, (t) => e(e(t))), r.base58);
350
- const C = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
350
+ const C = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), R = [996825010, 642813549, 513874426, 1027748829, 705979059];
351
351
  function S(e) {
352
352
  const t = e >> 25;
353
353
  let n = (33554431 & e) << 5;
354
- for (let o = 0; o < j.length; o++)
355
- (t >> o & 1) == 1 && (n ^= j[o]);
354
+ for (let o = 0; o < R.length; o++)
355
+ (t >> o & 1) == 1 && (n ^= R[o]);
356
356
  return n;
357
357
  }
358
358
  function H(e, t, n = 1) {
@@ -386,11 +386,11 @@ Q = function(s, r) {
386
386
  const v = (w = $).lastIndexOf("1");
387
387
  if (v === 0 || v === -1)
388
388
  throw new Error('Letter "1" must be present between prefix and data only');
389
- const G = w.slice(0, v), D = w.slice(v + 1);
390
- if (D.length < 6)
389
+ const G = w.slice(0, v), j = w.slice(v + 1);
390
+ if (j.length < 6)
391
391
  throw new Error("Data must be at least 6 characters long");
392
- const M = C.decode(D).slice(0, -6), P = H(G, M, t);
393
- if (!D.endsWith(P))
392
+ const M = C.decode(j).slice(0, -6), P = H(G, M, t);
393
+ if (!j.endsWith(P))
394
394
  throw new Error(`Invalid checksum in ${w}: expected "${P}"`);
395
395
  return { prefix: G, words: M };
396
396
  }
@@ -427,24 +427,24 @@ Q = function(s, r) {
427
427
  throw new TypeError("stringToBytes() expects string");
428
428
  return F[e].decode(t);
429
429
  }, r.bytes = r.stringToBytes;
430
- }, Q(R = { exports: {} }, R.exports), R.exports;
430
+ }, Q(N = { exports: {} }, N.exports), N.exports;
431
431
  BigInt(1e3), BigInt(1e6), BigInt(1e9), BigInt(1e12);
432
432
  BigInt("2100000000000000000");
433
433
  BigInt(1e11);
434
- const Y = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
435
- for (let s = 0, r = Object.keys(Y); s < r.length; s++)
436
- r[s], Y[r[s]].toString();
434
+ const X = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
435
+ for (let s = 0, r = Object.keys(X); s < r.length; s++)
436
+ r[s], X[r[s]].toString();
437
437
  const V = async (s) => {
438
438
  const r = "https://getalby.com/api/rates/" + s.toLowerCase() + ".json";
439
439
  return (await (await fetch(r)).json()).rate_float / 1e8;
440
- }, X = async ({ satoshi: s, currency: r }) => {
440
+ }, Y = async ({ satoshi: s, currency: r }) => {
441
441
  const i = await V(r);
442
442
  return Number(s) * i;
443
443
  };
444
- var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: X, getSatoshiValue: async ({ amount: s, currency: r }) => {
444
+ var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
445
445
  const i = await V(r);
446
446
  return Math.floor(Number(s) / i);
447
- }, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await X({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
447
+ }, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await Y({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
448
448
  function wr({ displaySymbol: s, price: r, formattedPrice: i }) {
449
449
  const [c, f] = J.useState("loading...");
450
450
  return J.useEffect(() => {
@@ -1,8 +1,8 @@
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-xIgyKeg1.js";
1
+ import { jsx as l, Fragment as V, jsxs as a } from "react/jsx-runtime";
2
+ import { am as W, an as v, r as u, U as N, ao as H, K as A, w as j, v as T, ap as q, B as R, a4 as C, y as L, ak as U, aq as g, p as F } from "./index--iR_feQQ.js";
3
3
  import * as c from "react";
4
4
  var y = c.forwardRef((e, r) => {
5
- const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(Q);
5
+ const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(K);
6
6
  if (i) {
7
7
  const o = i.props.children, f = s.map((d) => d === i ? c.Children.count(o) > 1 ? c.Children.only(null) : c.isValidElement(o) ? o.props.children : null : d);
8
8
  return /* @__PURE__ */ l(x, { ...n, ref: r, children: c.isValidElement(o) ? c.cloneElement(o, void 0, f) : null });
@@ -13,21 +13,21 @@ y.displayName = "Slot";
13
13
  var x = c.forwardRef((e, r) => {
14
14
  const { children: t, ...n } = e;
15
15
  if (c.isValidElement(t)) {
16
- const s = Z(t);
16
+ const s = Q(t);
17
17
  return c.cloneElement(t, {
18
- ...X(n, t.props),
18
+ ...M(n, t.props),
19
19
  // @ts-ignore
20
- ref: r ? V(r, s) : s
20
+ ref: r ? W(r, s) : s
21
21
  });
22
22
  }
23
23
  return c.Children.count(t) > 1 ? c.Children.only(null) : null;
24
24
  });
25
25
  x.displayName = "SlotClone";
26
- var M = ({ children: e }) => /* @__PURE__ */ l(D, { children: e });
27
- function Q(e) {
28
- return c.isValidElement(e) && e.type === M;
26
+ var p = ({ children: e }) => /* @__PURE__ */ l(V, { children: e });
27
+ function K(e) {
28
+ return c.isValidElement(e) && e.type === p;
29
29
  }
30
- function X(e, r) {
30
+ function M(e, r) {
31
31
  const t = { ...r };
32
32
  for (const n in r) {
33
33
  const s = e[n], i = r[n];
@@ -37,23 +37,23 @@ function X(e, r) {
37
37
  }
38
38
  return { ...e, ...t };
39
39
  }
40
- function Z(e) {
40
+ function Q(e) {
41
41
  var n, s;
42
42
  let r = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, t = r && "isReactWarning" in r && r.isReactWarning;
43
43
  return t ? e.ref : (r = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
44
44
  }
45
- const p = ({
45
+ const Z = ({
46
46
  children: e,
47
47
  ref: r,
48
48
  className: t
49
49
  }) => {
50
50
  const [n] = v();
51
51
  return /* @__PURE__ */ l("div", { ref: n, className: u("bg-muted flex flex-col gap-4 rounded-2xl p-4", t), children: e });
52
- }, R = ({
52
+ }, _ = ({
53
53
  children: e,
54
54
  ref: r,
55
55
  as: t
56
- }) => /* @__PURE__ */ l(t ? y : "h2", { ref: r, className: "text-emphasis text-base font-semibold leading-none", children: e }), _ = ({
56
+ }) => /* @__PURE__ */ l(t ? y : "h2", { ref: r, className: "text-emphasis text-base font-semibold leading-none", children: e }), E = ({
57
57
  children: e,
58
58
  ref: r,
59
59
  as: t
@@ -73,7 +73,7 @@ const p = ({
73
73
  ),
74
74
  children: n || /* @__PURE__ */ l(N, { name: r, className: u(t === "sm" && "h-4 w-4", t === "md" && "h-6 w-6") })
75
75
  }
76
- ), J = ({
76
+ ), G = ({
77
77
  children: e,
78
78
  ref: r,
79
79
  icon: t,
@@ -86,16 +86,16 @@ const p = ({
86
86
  t && !i && /* @__PURE__ */ l(b, { name: t }),
87
87
  i && /* @__PURE__ */ l(b, { iconSlot: i }),
88
88
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-0.5", children: [
89
- n && /* @__PURE__ */ l(R, { children: n }),
90
- s && /* @__PURE__ */ l(_, { children: s }),
89
+ n && /* @__PURE__ */ l(_, { children: n }),
90
+ s && /* @__PURE__ */ l(E, { children: s }),
91
91
  o && o
92
92
  ] })
93
93
  ] }),
94
94
  e
95
- ] }), K = ({ children: e, ref: r }) => /* @__PURE__ */ l("div", { ref: r, className: "flex flex-col gap-4", children: e }), Y = ({ children: e, ref: r }) => {
95
+ ] }), J = ({ children: e, ref: r }) => /* @__PURE__ */ l("div", { ref: r, className: "flex flex-col gap-4", children: e }), X = ({ children: e, ref: r }) => {
96
96
  const [t] = v();
97
97
  return /* @__PURE__ */ l("div", { ref: t, className: "border-muted bg-default flex flex-col gap-4 rounded-xl border p-3", children: e });
98
- }, z = ({
98
+ }, Y = ({
99
99
  children: e,
100
100
  ref: r,
101
101
  icon: t,
@@ -120,7 +120,7 @@ const p = ({
120
120
  e
121
121
  ]
122
122
  }
123
- ), $ = ({
123
+ ), z = ({
124
124
  children: e,
125
125
  ref: r,
126
126
  invert: t,
@@ -136,21 +136,21 @@ const p = ({
136
136
  ),
137
137
  children: e
138
138
  }
139
- ), ee = ({
139
+ ), $ = ({
140
140
  children: e,
141
141
  ref: r
142
- }) => /* @__PURE__ */ l("div", { ref: r, className: "bg-default border-subtle flex flex-col gap-2 rounded-xl border p-2", children: e }), h = Object.assign(p, {
143
- Header: J,
144
- Content: K,
145
- Title: R,
146
- Description: _,
147
- SubSection: Y,
148
- SubSectionHeader: z,
149
- SubSectionContent: $,
150
- SubSectionNested: ee
142
+ }) => /* @__PURE__ */ l("div", { ref: r, className: "bg-default border-subtle flex flex-col gap-2 rounded-xl border p-2", children: e }), h = Object.assign(Z, {
143
+ Header: G,
144
+ Content: J,
145
+ Title: _,
146
+ Description: E,
147
+ SubSection: X,
148
+ SubSectionHeader: Y,
149
+ SubSectionContent: z,
150
+ SubSectionNested: $
151
151
  });
152
- function te(e) {
153
- const { status: r } = W.useSession();
152
+ function ee(e) {
153
+ const { status: r } = H.useSession();
154
154
  return A.viewer.apps.appById.useQuery(
155
155
  { appId: e },
156
156
  {
@@ -158,13 +158,13 @@ function te(e) {
158
158
  }
159
159
  );
160
160
  }
161
- function ne({
161
+ function te({
162
162
  appId: e,
163
163
  className: r,
164
164
  returnTo: t,
165
165
  teamId: n
166
166
  }) {
167
- const { t: s } = H(), { data: i } = te(e), o = A.useUtils(), f = T(null, {
167
+ const { t: s } = j(), { data: i } = ee(e), o = A.useUtils(), f = T(null, {
168
168
  returnTo: t,
169
169
  onSuccess: (d) => {
170
170
  o.viewer.apps.appById.invalidate({ appId: e }), o.viewer.apps.integrations.invalidate({
@@ -193,7 +193,7 @@ function ne({
193
193
  });
194
194
  }
195
195
  }), /* @__PURE__ */ l(
196
- j,
196
+ R,
197
197
  {
198
198
  loading: f.isPending,
199
199
  color: "secondary",
@@ -206,7 +206,7 @@ function ne({
206
206
  }
207
207
  ) : null;
208
208
  }
209
- function se({
209
+ function le({
210
210
  app: e,
211
211
  description: r,
212
212
  switchOnClick: t,
@@ -217,9 +217,9 @@ function se({
217
217
  disableSwitch: f,
218
218
  switchTooltip: d,
219
219
  hideSettingsIcon: m = !1,
220
- hideAppCardOptions: E = !1
220
+ hideAppCardOptions: I = !1
221
221
  }) {
222
- const { t: w } = L(), [I] = v(), { setAppData: P, LockedIcon: O, disabled: k } = F(), B = U();
222
+ const { t: w } = j(), [P] = v(), { setAppData: k, LockedIcon: B, disabled: D } = L(), O = U();
223
223
  return /* @__PURE__ */ a(h, { className: u(!(e != null && e.isInstalled) && "rounded-xl"), children: [
224
224
  /* @__PURE__ */ l(
225
225
  h.Header,
@@ -243,20 +243,20 @@ function se({
243
243
  }
244
244
  ) }),
245
245
  children: /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l("div", { children: e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ l("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ l(
246
- G,
246
+ F,
247
247
  {
248
248
  size: "sm",
249
- disabled: !e.enabled || k || f,
249
+ disabled: !e.enabled || D || f,
250
250
  onCheckedChange: (S) => {
251
- t && t(S), P("enabled", S);
251
+ t && t(S), k("enabled", S);
252
252
  },
253
253
  checked: n,
254
- LockedIcon: O,
254
+ LockedIcon: B,
255
255
  "data-testid": `${e.slug}-app-switch`,
256
256
  tooltip: d
257
257
  }
258
258
  ) }) : /* @__PURE__ */ l(
259
- ne,
259
+ te,
260
260
  {
261
261
  className: "ml-auto flex items-center",
262
262
  appId: e.slug,
@@ -266,16 +266,16 @@ function se({
266
266
  ) }) })
267
267
  }
268
268
  ),
269
- E ? null : (e == null ? void 0 : e.isInstalled) && n && /* @__PURE__ */ l("div", { ref: I, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ a("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
270
- !m && !B && /* @__PURE__ */ l(g, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ l(N, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
269
+ I ? null : (e == null ? void 0 : e.isInstalled) && n && /* @__PURE__ */ l("div", { ref: P, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ a("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
270
+ !m && !O && /* @__PURE__ */ l(g, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ l(N, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
271
271
  s
272
272
  ] }) : /* @__PURE__ */ a("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
273
273
  /* @__PURE__ */ l("p", { children: w("this_app_is_not_setup_already") }),
274
- /* @__PURE__ */ l(g, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ l(j, { StartIcon: "settings", children: w("setup") }) })
274
+ /* @__PURE__ */ l(g, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ l(R, { StartIcon: "settings", children: w("setup") }) })
275
275
  ] }) })
276
276
  ] });
277
277
  }
278
278
  export {
279
- se as A,
279
+ le as A,
280
280
  h as S
281
281
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-xIgyKeg1.js";
2
+ import { A as p } from "./index--iR_feQQ.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-xIgyKeg1.js";
2
+ import { X as i, x as y, Y as A, Z as R, A as $ } from "./index--iR_feQQ.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,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-xIgyKeg1.js";
3
+ import { w as r, f as u, B as i } from "./index--iR_feQQ.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,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-xIgyKeg1.js";
3
+ import { w as i, f as l, B as m } from "./index--iR_feQQ.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,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-xIgyKeg1.js";
2
+ import { B as i, w as o } from "./index--iR_feQQ.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,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-xIgyKeg1.js";
2
+ import { q as h, r as m, $ as y, s as d, B as g, t as n, u as k } from "./index--iR_feQQ.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: t,
@@ -8,11 +8,11 @@ function w({
8
8
  onDatesChange: e,
9
9
  disabled: b,
10
10
  withoutPopover: p,
11
- "data-testid": v,
11
+ "data-testid": $,
12
12
  strictlyBottom: o,
13
13
  allowPastDates: l = !1
14
14
  }) {
15
- function $(r) {
15
+ function v(r) {
16
16
  if (l)
17
17
  if (t != null && t.endDate)
18
18
  e({ startDate: r, endDate: void 0 });
@@ -32,10 +32,10 @@ function w({
32
32
  mode: "range",
33
33
  defaultMonth: t == null ? void 0 : t.startDate,
34
34
  selected: { from: t == null ? void 0 : t.startDate, to: t == null ? void 0 : t.endDate },
35
- onDayClick: (r) => $(r),
35
+ onDayClick: (r) => v(r),
36
36
  numberOfMonths: 1,
37
37
  disabled: b,
38
- "data-testid": v
38
+ "data-testid": $
39
39
  }
40
40
  );
41
41
  return p ? D : /* @__PURE__ */ i("div", { className: m("grid gap-2", s), children: /* @__PURE__ */ c(y, { children: [
@@ -1,9 +1,9 @@
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-xIgyKeg1.js";
2
+ import { w as A, x as y, y as g, z as b, W as f } from "./index--iR_feQQ.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-yIBrfFj9.js";
5
- import C from "./EventTypeAppSettingsInterface-Y48ol2nr.js";
6
- const x = function({
4
+ import { A as v } from "./AppCard--JDiTUMU.js";
5
+ import w from "./EventTypeAppSettingsInterface-EZZkJrLi.js";
6
+ const _ = function({
7
7
  eventType: o,
8
8
  app: e,
9
9
  eventTypeFormMetadata: p
@@ -22,7 +22,7 @@ const x = function({
22
22
  disableSwitch: s,
23
23
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
24
24
  children: /* @__PURE__ */ t(
25
- C,
25
+ w,
26
26
  {
27
27
  eventType: o,
28
28
  slug: e.slug,
@@ -35,5 +35,5 @@ const x = function({
35
35
  );
36
36
  };
37
37
  export {
38
- x as default
38
+ _ as default
39
39
  };
@@ -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 a } from "react/jsx-runtime";
2
- import { G as d } from "./index-xIgyKeg1.js";
3
- import { A as m } from "./AppCard-yIBrfFj9.js";
4
- import { u as c } from "./useIsAppEnabled-ABSa6601.js";
5
- import u from "./EventTypeAppSettingsInterface-PxXmeEq4.js";
2
+ import { y as d } from "./index--iR_feQQ.js";
3
+ import { A as m } from "./AppCard--JDiTUMU.js";
4
+ import { u as c } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import u from "./EventTypeAppSettingsInterface-J_c1VzIk.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,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-Ai9j7-W4.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-cbkdr04f.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 e } from "react/jsx-runtime";
2
- import { G as d } from "./index-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u as m } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-q6mbdTiY.js";
2
+ import { y as d } from "./index--iR_feQQ.js";
3
+ import { A as c } from "./AppCard--JDiTUMU.js";
4
+ import { u as m } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import l from "./EventTypeAppSettingsInterface-CLwwrZv6.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 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,18 +1,18 @@
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-xIgyKeg1.js";
3
- import { useState as C } 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-AK7ShZFj.js";
2
+ import { w as b, x as f, y, z as E, W as P } from "./index--iR_feQQ.js";
3
+ import { useState as w } from "react";
4
+ import { A as C } from "./AppCard--JDiTUMU.js";
5
+ import { u as g } from "./useIsAppEnabled-C_9eRB94.js";
6
+ import v from "./EventTypeAppSettingsInterface-JBpWa3pz.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: t,
10
10
  eventTypeFormMetadata: p
11
11
  }) {
12
12
  var n;
13
- const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = v(e), u = E(p), [h, T] = C(a("enabled")), s = !h && u;
13
+ const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = g(e), u = E(p), [h, x] = w(a("enabled")), s = !h && u;
14
14
  return /* @__PURE__ */ o(
15
- g,
15
+ C,
16
16
  {
17
17
  returnTo: `${P}${r}?tabName=apps`,
18
18
  app: e,
@@ -24,7 +24,7 @@ const q = function({
24
24
  disableSwitch: s,
25
25
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
26
  children: /* @__PURE__ */ o(
27
- w,
27
+ v,
28
28
  {
29
29
  eventType: t,
30
30
  slug: e.slug,
@@ -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-xIgyKeg1.js";
4
- import { A as f } from "./AppCard-yIBrfFj9.js";
3
+ import { y as m, f as l } from "./index--iR_feQQ.js";
4
+ import { A as f } from "./AppCard--JDiTUMU.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 } 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 h } 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 h } from "./useIsAppEnabled-C_9eRB94.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,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-xIgyKeg1.js";
3
- import { A as I } from "./AppCard-yIBrfFj9.js";
4
- import { u as C } from "./useIsAppEnabled-ABSa6601.js";
2
+ import { y as h, f as n } from "./index--iR_feQQ.js";
3
+ import { A as I } from "./AppCard--JDiTUMU.js";
4
+ import { u as C } from "./useIsAppEnabled-C_9eRB94.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,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 as l } from "./useIsAppEnabled-ABSa6601.js";
5
- import u from "./EventTypeAppSettingsInterface-IscefcbA.js";
2
+ import { y as m } from "./index--iR_feQQ.js";
3
+ import { A as c } from "./AppCard--JDiTUMU.js";
4
+ import { u as l } from "./useIsAppEnabled-C_9eRB94.js";
5
+ import u from "./EventTypeAppSettingsInterface-eejB8RJX.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-xIgyKeg1.js";
3
- import { A as c } from "./AppCard-yIBrfFj9.js";
4
- import { u } from "./useIsAppEnabled-ABSa6601.js";
5
- import l from "./EventTypeAppSettingsInterface-eZuVPoW0.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-K4kVWoog.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);