@calcom/atoms 1.0.98 → 1.0.100

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 (271) hide show
  1. package/dist/{AddressInput-IC5bCyoy.js → AddressInput-VvdGgcFY.js} +1 -1
  2. package/dist/{AlbyPriceComponent-RbsIVvlh.js → AlbyPriceComponent-qwBpyj1u.js} +10 -10
  3. package/dist/{AppCard-FF41DY1a.js → AppCard-IYwXZB0q.js} +11 -11
  4. package/dist/{AppListCardPlatformWrapper-qAgUYfWp.js → AppListCardPlatformWrapper-pjMdLapD.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-FacP6t6u.js → AppListCardWebWrapper-rJLH8pLc.js} +18 -18
  6. package/dist/{AppSettingsInterface-X8HiYPXB.js → AppSettingsInterface-TZgHhVIG.js} +4 -4
  7. package/dist/{AppSettingsInterface-5aVK9oxc.js → AppSettingsInterface-XSfKeLus.js} +1 -1
  8. package/dist/{AppSettingsInterface-cgBxDPwm.js → AppSettingsInterface-aWE1OufI.js} +1 -1
  9. package/dist/{DateRangePicker-tS970hSY.js → DateRangePicker-Dz4TzJmd.js} +389 -372
  10. package/dist/{EventTypeAppCardInterface-ZMkMx3UO.js → EventTypeAppCardInterface-0Uf1T3ux.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-jbPxMcQe.js → EventTypeAppCardInterface-0XhzgCDg.js} +10 -10
  12. package/dist/{EventTypeAppCardInterface-arvxbglS.js → EventTypeAppCardInterface-1Bx9eMoL.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-XN7zHp-t.js → EventTypeAppCardInterface-1ztuB1hs.js} +8 -8
  14. package/dist/{EventTypeAppCardInterface-OxpGqa5x.js → EventTypeAppCardInterface-5dEv3OKA.js} +207 -167
  15. package/dist/{EventTypeAppCardInterface-PH8OfCXX.js → EventTypeAppCardInterface-BvImub0B.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-3rUyu9zT.js → EventTypeAppCardInterface-CNUqWmI2.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-nh4Bw0XN.js → EventTypeAppCardInterface-F9JXRTyf.js} +27 -27
  18. package/dist/{EventTypeAppCardInterface-a_b-apjm.js → EventTypeAppCardInterface-Gmbb6Gvh.js} +8 -8
  19. package/dist/{EventTypeAppCardInterface-DUuqWQYh.js → EventTypeAppCardInterface-QBKgH_Ff.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-1Rjwvfkf.js → EventTypeAppCardInterface-UT_z5U7K.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-lxH6VsWo.js → EventTypeAppCardInterface-WNKjUBra.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-aZlmShf_.js → EventTypeAppCardInterface-Y4mQsFNS.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-vr_kZwo4.js → EventTypeAppCardInterface-c5Lw9vSU.js} +15 -15
  24. package/dist/{EventTypeAppCardInterface-13tt-HVm.js → EventTypeAppCardInterface-dh6jC1kN.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-rnq5hibD.js → EventTypeAppCardInterface-dickhpVC.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-WjzwonkP.js → EventTypeAppCardInterface-dlnTOnM2.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-vk4Emhb7.js → EventTypeAppCardInterface-fBFQbEI7.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-SCUf-dWb.js → EventTypeAppCardInterface-fxKGCkHe.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-4uF6y_wC.js → EventTypeAppCardInterface-gXs2V4Se.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-pBJf4bSH.js → EventTypeAppCardInterface-mHtz6mF4.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-dQDcGngh.js → EventTypeAppCardInterface-obJvlSlU.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-BK11_uAd.js → EventTypeAppCardInterface-tJFzj8Ah.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-iL6lzKeX.js → EventTypeAppCardInterface-uXK8QTdD.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-NE-0Qnr2.js → EventTypeAppCardInterface-y1aVej25.js} +3 -3
  35. package/dist/EventTypeAppCardInterface-y3kh9WVm.js +24 -0
  36. package/dist/{EventTypeAppSettingsInterface-X2-1vNz-.js → EventTypeAppSettingsInterface-6il0n6Cq.js} +6 -6
  37. package/dist/{EventTypeAppSettingsInterface-0IuJod38.js → EventTypeAppSettingsInterface-8PKo71W5.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-e4Md8clU.js → EventTypeAppSettingsInterface-AkBUmJ5l.js} +5 -5
  39. package/dist/{EventTypeAppSettingsInterface-vpVd_4XZ.js → EventTypeAppSettingsInterface-LZtyw2oV.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-pGANbCQo.js → EventTypeAppSettingsInterface-LzU69UgA.js} +5 -5
  41. package/dist/{EventTypeAppSettingsInterface-m9wri89q.js → EventTypeAppSettingsInterface-MuzTABXE.js} +8 -8
  42. package/dist/{EventTypeAppSettingsInterface-jwj_jmtd.js → EventTypeAppSettingsInterface-Q07jpG4C.js} +14 -14
  43. package/dist/{EventTypeAppSettingsInterface-29o016tq.js → EventTypeAppSettingsInterface-TbY0pgk8.js} +9 -9
  44. package/dist/{EventTypeAppSettingsInterface-hxj3Cm8J.js → EventTypeAppSettingsInterface-YqwIpsZk.js} +3 -3
  45. package/dist/{EventTypeAppSettingsInterface-zDnztP59.js → EventTypeAppSettingsInterface-dWVs0uNV.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-euX-AtKi.js → EventTypeAppSettingsInterface-fcDBa586.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-afqqqXjx.js → EventTypeAppSettingsInterface-lj3UxPsg.js} +1 -1
  48. package/dist/{InstallAppButton-8Okj1YKt.js → InstallAppButton-769wpv3L.js} +3 -3
  49. package/dist/{InstallAppButton-dU9hGCdN.js → InstallAppButton-TUQ7pKWK.js} +3 -3
  50. package/dist/{InstallAppButton-dy7BXSFA.js → InstallAppButton-jc8Moe67.js} +1 -1
  51. package/dist/{PhoneInput-nBgqJnp5.js → PhoneInput-FqfbsWsL.js} +77 -75
  52. package/dist/{StripePaymentForm-DOZXe-LC.js → StripePaymentForm-kZNZ2LFh.js} +18 -18
  53. package/dist/cal-atoms.js +18 -18
  54. package/dist/{framer-features-WaArUztg.js → framer-features-2CLxmdz8.js} +57 -57
  55. package/dist/index-0IEhbSFy.js +28 -0
  56. package/dist/{index-nDUrmoDr.js → index-5NHOyCIB.js} +1 -1
  57. package/dist/{index-f0-Ex6JM.js → index-Op-zWGFz.js} +15 -15
  58. package/dist/{index-XX0jWi_4.js → index-kaGA8-X2.js} +71101 -69856
  59. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +3 -3
  60. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/utils/event.d.ts +30 -2
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -0
  64. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  67. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +16 -2
  69. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +2 -3
  71. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +3 -0
  73. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +4 -3
  75. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +12 -3
  77. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +4 -5
  79. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/handleNewBooking/test/complex-schedules.test.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/handleNewBooking/test/date-overrides.test.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/handleNewBooking/test/dynamic-group-booking.test.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts +2 -0
  85. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts.map +1 -0
  86. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-scheduling.test.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +14 -5
  88. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +10 -5
  90. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +5 -2
  92. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/types.d.ts +1 -1
  94. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  95. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  96. package/dist/packages/features/data-table/DataTableProvider.d.ts +18 -164
  97. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  98. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -2
  99. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  100. package/dist/packages/features/data-table/components/DataTablePagination.d.ts.map +1 -1
  101. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +2 -2
  102. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +1 -1
  103. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts +5 -7
  104. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
  105. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  106. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts +1 -1
  107. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts.map +1 -1
  108. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts +7 -0
  109. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +1 -0
  110. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +1 -1
  111. package/dist/packages/features/data-table/components/filters/index.d.ts +2 -0
  112. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  113. package/dist/packages/features/data-table/components/index.d.ts +1 -0
  114. package/dist/packages/features/data-table/components/index.d.ts.map +1 -1
  115. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts +6 -0
  116. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -0
  117. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +6 -0
  118. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +1 -0
  119. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +2 -0
  120. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -0
  121. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts +6 -0
  122. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +1 -0
  123. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts +2 -0
  124. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -0
  125. package/dist/packages/features/data-table/components/segment/index.d.ts +7 -0
  126. package/dist/packages/features/data-table/components/segment/index.d.ts.map +1 -0
  127. package/dist/packages/features/data-table/lib/resizing.d.ts +1 -2
  128. package/dist/packages/features/data-table/lib/resizing.d.ts.map +1 -1
  129. package/dist/packages/features/data-table/lib/segments.d.ts +27 -0
  130. package/dist/packages/features/data-table/lib/segments.d.ts.map +1 -0
  131. package/dist/packages/features/data-table/lib/types.d.ts +357 -0
  132. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  133. package/dist/packages/features/ee/billing/billing-service.d.ts +22 -0
  134. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  135. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +5 -0
  136. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  137. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -1
  138. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  139. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  140. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  141. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  142. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  143. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +6 -0
  144. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  145. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts +6 -0
  146. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -0
  147. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +1 -0
  148. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  149. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +1 -0
  150. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  151. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  152. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  153. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +1 -0
  154. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  155. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -0
  156. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  157. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +16 -1
  158. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  159. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts +17 -0
  160. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts.map +1 -0
  161. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts +1 -0
  162. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
  163. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts +4 -4
  164. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts.map +1 -1
  165. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts +1 -0
  166. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
  167. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts +1 -0
  168. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
  169. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts +1 -0
  170. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
  171. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts +1 -0
  172. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
  173. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  174. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts +2 -0
  175. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts.map +1 -0
  176. package/dist/packages/features/ee/workflows/lib/types.d.ts +1 -0
  177. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  178. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  179. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts +1 -1
  180. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts.map +1 -1
  181. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
  182. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  183. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +29 -2
  184. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  185. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  186. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  187. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  188. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts +2 -1
  189. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  190. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -1
  191. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  192. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts +1 -1
  193. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
  194. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +59 -1
  195. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  196. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +6 -4
  197. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
  198. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts +2 -1
  199. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts +1 -1
  201. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts +2 -1
  203. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
  204. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +8 -0
  205. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  206. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +7 -1
  207. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  208. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -3
  209. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  210. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  211. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  212. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts +2 -2
  213. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
  214. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts +2 -2
  215. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
  216. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -0
  217. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  218. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  219. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  220. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  221. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  222. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  223. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  224. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +29 -2
  225. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  226. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
  227. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  228. package/dist/packages/platform/constants/api.d.ts +1 -0
  229. package/dist/packages/platform/constants/api.d.ts.map +1 -1
  230. package/dist/packages/platform/libraries/event-types.d.ts +3 -4
  231. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  232. package/dist/packages/platform/libraries/index.d.ts +2 -1
  233. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  234. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +4 -1
  235. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  236. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  237. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -0
  238. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  239. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -1
  240. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  241. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/seats.input.d.ts.map +1 -1
  242. package/dist/packages/prisma/zod/custom/eventtype.d.ts +20 -0
  243. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  244. package/dist/packages/prisma/zod/eventtype.d.ts +22 -0
  245. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  246. package/dist/packages/prisma/zod/filtersegment.d.ts +64 -0
  247. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -0
  248. package/dist/packages/prisma/zod/index.d.ts +1 -0
  249. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  250. package/dist/packages/prisma/zod/team.d.ts +28 -1
  251. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  252. package/dist/packages/prisma/zod/user.d.ts +2 -1
  253. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  254. package/dist/packages/prisma/zod/workflowstep.d.ts +3 -0
  255. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  256. package/dist/packages/prisma/zod-utils.d.ts +106 -23
  257. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  258. package/dist/packages/prisma-client/index.d.ts +3462 -278
  259. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +8 -0
  260. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  261. package/dist/packages/trpc/react/shared.d.ts +1 -1
  262. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  263. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +10 -1
  264. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  265. package/dist/{useIsAppEnabled-QIw4ydUi.js → useIsAppEnabled-Z2j-XkyQ.js} +1 -1
  266. package/globals.min.css +1 -22
  267. package/package.json +1 -1
  268. package/dist/EventTypeAppCardInterface-p9huPol5.js +0 -24
  269. package/dist/index-Q1IEXczf.js +0 -28
  270. package/dist/index-iCQToj2C.js +0 -13
  271. package/dist/isSupportedCountry-aHJbkpx4.js +0 -7
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { J as m } from "./index-XX0jWi_4.js";
3
- import { A as c } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import l from "./EventTypeAppSettingsInterface-0IuJod38.js";
2
+ import { t as m } from "./index-kaGA8-X2.js";
3
+ import { A as c } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import l from "./EventTypeAppSettingsInterface-dWVs0uNV.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 t } from "react/jsx-runtime";
2
- import { J as l, k as m } from "./index-XX0jWi_4.js";
3
- import { A as u } from "./AppCard-FF41DY1a.js";
4
- import { u as h } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as l, f as m } from "./index-kaGA8-X2.js";
3
+ import { A as u } from "./AppCard-IYwXZB0q.js";
4
+ import { u as h } from "./useIsAppEnabled-Z2j-XkyQ.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,31 +1,31 @@
1
- import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { G as v, y as T, J as _, M as t, W as q, N as L, k as V, S as g } from "./index-XX0jWi_4.js";
1
+ import { jsx as t, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
+ import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-kaGA8-X2.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-FF41DY1a.js";
5
- import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
- const z = function({ app: S, eventType: k }) {
4
+ import { A as $ } from "./AppCard-IYwXZB0q.js";
5
+ import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
+ const H = function({ app: S, eventType: A }) {
7
7
  var f, h;
8
- const i = v.useSearchParams(), d = v.usePathname(), A = W(
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"), N = r("paymentOption"), P = r("enabled"), [s, O] = p(x.find((e) => e.value === l)), [w, E] = p(
11
+ ), { t: n } = F(), { getAppData: r, setAppData: c } = T(), 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
- ), [b, D] = p(P), m = ((f = t) == null ? void 0 : f.find((e) => N === e.value)) || {
14
- label: t[0].label,
15
- value: t[0].value
16
- }, F = ((h = k.recurringEvent) == null ? void 0 : h.count) !== void 0;
17
- return /* @__PURE__ */ a(
13
+ ), [b, q] = p(N), m = ((f = a) == null ? void 0 : f.find((e) => k === e.value)) || {
14
+ label: a[0].label,
15
+ value: a[0].value
16
+ }, D = ((h = A.recurringEvent) == null ? void 0 : h.count) !== void 0;
17
+ return /* @__PURE__ */ t(
18
18
  $,
19
19
  {
20
- returnTo: q + A,
20
+ returnTo: _ + P,
21
21
  app: S,
22
22
  switchChecked: b,
23
23
  switchOnClick: (e) => {
24
- D(e);
24
+ q(e);
25
25
  },
26
- description: /* @__PURE__ */ a(o, { children: "Add a mock payment to your events" }),
27
- children: /* @__PURE__ */ a(o, { children: F ? /* @__PURE__ */ a(L, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : b && /* @__PURE__ */ u(o, { children: [
28
- /* @__PURE__ */ a("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ a(
26
+ description: /* @__PURE__ */ t(o, { children: "Add a mock payment to your events" }),
27
+ children: /* @__PURE__ */ t(o, { children: D ? /* @__PURE__ */ t(L, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : b && /* @__PURE__ */ u(o, { children: [
28
+ /* @__PURE__ */ t("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ t(
29
29
  V,
30
30
  {
31
31
  id: "test-mock-payment-app-price",
@@ -46,13 +46,13 @@ const z = function({ app: S, eventType: k }) {
46
46
  }
47
47
  ) }),
48
48
  /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
49
- /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
50
- /* @__PURE__ */ a(
51
- g,
49
+ /* @__PURE__ */ t("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
50
+ /* @__PURE__ */ t(
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,
@@ -63,12 +63,12 @@ const z = function({ app: S, eventType: k }) {
63
63
  )
64
64
  ] }),
65
65
  /* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
66
- /* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
67
- /* @__PURE__ */ a(
68
- g,
66
+ /* @__PURE__ */ t("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
67
+ /* @__PURE__ */ t(
68
+ x,
69
69
  {
70
- defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
71
- options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
70
+ defaultValue: m ? { ...m, label: n(m.label) } : { ...a[0], label: n(a[0].label) },
71
+ options: a.map((e) => ({ ...e, label: n(e.label) || e.label })),
72
72
  onChange: (e) => {
73
73
  e && c("paymentOption", e.value);
74
74
  },
@@ -82,5 +82,5 @@ const z = function({ app: S, eventType: k }) {
82
82
  );
83
83
  };
84
84
  export {
85
- z as default
85
+ H as default
86
86
  };
@@ -1,20 +1,20 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { y as b, G as f, J as y, K as E, W as C } from "./index-XX0jWi_4.js";
3
- import { useState as P } from "react";
4
- import { A as g } from "./AppCard-FF41DY1a.js";
5
- import { u as v } from "./useIsAppEnabled-QIw4ydUi.js";
6
- import w from "./EventTypeAppSettingsInterface-29o016tq.js";
2
+ import { q as b, s as f, t as E, v, W as y } from "./index-kaGA8-X2.js";
3
+ import { useState as C } from "react";
4
+ import { A as P } from "./AppCard-IYwXZB0q.js";
5
+ import { u as g } from "./useIsAppEnabled-Z2j-XkyQ.js";
6
+ import w from "./EventTypeAppSettingsInterface-TbY0pgk8.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 } = E(), { enabled: d, updateEnabled: l } = g(t), u = v(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: `${y}${r}?tabName=apps`,
18
18
  app: t,
19
19
  switchChecked: d,
20
20
  switchOnClick: (A) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { G as d, W as i } from "./index-XX0jWi_4.js";
3
- import { A as m } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { s as d, W as i } from "./index-kaGA8-X2.js";
3
+ import { A as m } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { G as d, W as i } from "./index-XX0jWi_4.js";
3
- import { A as m } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { s as d, W as i } from "./index-kaGA8-X2.js";
3
+ import { A as m } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { G as d, W as i } from "./index-XX0jWi_4.js";
3
- import { A as m } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { s as d, W as i } from "./index-kaGA8-X2.js";
3
+ import { A as m } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { J as l, k as m } from "./index-XX0jWi_4.js";
3
- import { A as u } from "./AppCard-FF41DY1a.js";
4
- import { u as I } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as l, f as m } from "./index-kaGA8-X2.js";
3
+ import { A as u } from "./AppCard-IYwXZB0q.js";
4
+ import { u as I } from "./useIsAppEnabled-Z2j-XkyQ.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,33 +1,33 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { y as b, G as f, J as y, K as E, W as P } from "./index-XX0jWi_4.js";
3
- import { useState as C } from "react";
4
- import { A as g } from "./AppCard-FF41DY1a.js";
5
- import { u as v } from "./useIsAppEnabled-QIw4ydUi.js";
6
- import w from "./EventTypeAppSettingsInterface-m9wri89q.js";
7
- const q = function({
8
- app: e,
9
- eventType: t,
2
+ import { q as b, s as f, t as y, v as E, W as P } from "./index-kaGA8-X2.js";
3
+ import { useState as v } from "react";
4
+ import { A as C } from "./AppCard-IYwXZB0q.js";
5
+ import { u as g } from "./useIsAppEnabled-Z2j-XkyQ.js";
6
+ import w from "./EventTypeAppSettingsInterface-MuzTABXE.js";
7
+ const W = function({
8
+ app: t,
9
+ eventType: e,
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(t), u = E(p), [h, T] = v(a("enabled")), s = !h && u;
14
14
  return /* @__PURE__ */ o(
15
- g,
15
+ C,
16
16
  {
17
17
  returnTo: `${P}${r}?tabName=apps`,
18
- app: e,
18
+ app: t,
19
19
  switchChecked: d,
20
20
  switchOnClick: (A) => {
21
21
  l(A);
22
22
  },
23
- teamId: ((n = t.team) == null ? void 0 : n.id) || void 0,
23
+ teamId: ((n = e.team) == null ? void 0 : n.id) || void 0,
24
24
  disableSwitch: s,
25
25
  switchTooltip: s ? i("other_payment_app_enabled") : void 0,
26
26
  children: /* @__PURE__ */ o(
27
27
  w,
28
28
  {
29
- eventType: t,
30
- slug: e.slug,
29
+ eventType: e,
30
+ slug: t.slug,
31
31
  disabled: c,
32
32
  getAppData: a,
33
33
  setAppData: m
@@ -37,5 +37,5 @@ const q = function({
37
37
  );
38
38
  };
39
39
  export {
40
- q as default
40
+ W as default
41
41
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { G as d, W as i } from "./index-XX0jWi_4.js";
3
- import { A as m } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { s as d, W as i } from "./index-kaGA8-X2.js";
3
+ import { A as m } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.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 i } from "react/jsx-runtime";
2
- import { J as m, y as f } from "./index-XX0jWi_4.js";
3
- import { A as l } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import A from "./EventTypeAppSettingsInterface-X2-1vNz-.js";
2
+ import { t as m, q as f } from "./index-kaGA8-X2.js";
3
+ import { A as l } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import A from "./EventTypeAppSettingsInterface-6il0n6Cq.js";
6
6
  const w = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { J as d } from "./index-XX0jWi_4.js";
3
- import { A as c } from "./AppCard-FF41DY1a.js";
4
- import { u as m } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import l from "./EventTypeAppSettingsInterface-hxj3Cm8J.js";
2
+ import { t as d } from "./index-kaGA8-X2.js";
3
+ import { A as c } from "./AppCard-IYwXZB0q.js";
4
+ import { u as m } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import l from "./EventTypeAppSettingsInterface-YqwIpsZk.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { J as h, k as n } from "./index-XX0jWi_4.js";
3
- import { A } from "./AppCard-FF41DY1a.js";
4
- import { u as I } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as h, f as n } from "./index-kaGA8-X2.js";
3
+ import { A } from "./AppCard-IYwXZB0q.js";
4
+ import { u as I } from "./useIsAppEnabled-Z2j-XkyQ.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,8 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { J as m, k as l } from "./index-XX0jWi_4.js";
4
- import { A as f } from "./AppCard-FF41DY1a.js";
5
- const C = function({ app: p, eventType: i }) {
3
+ import { t as m, f as l } from "./index-kaGA8-X2.js";
4
+ import { A as f } from "./AppCard-IYwXZB0q.js";
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"));
8
8
  return /* @__PURE__ */ r(
@@ -28,5 +28,5 @@ const C = function({ app: p, eventType: i }) {
28
28
  );
29
29
  };
30
30
  export {
31
- C as default
31
+ k as default
32
32
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { J as h, k as n } from "./index-XX0jWi_4.js";
3
- import { A as I } from "./AppCard-FF41DY1a.js";
4
- import { u as C } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as h, f as n } from "./index-kaGA8-X2.js";
3
+ import { A as I } from "./AppCard-IYwXZB0q.js";
4
+ import { u as C } from "./useIsAppEnabled-Z2j-XkyQ.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 { J as m } from "./index-XX0jWi_4.js";
3
- import { A as c } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import l from "./EventTypeAppSettingsInterface-euX-AtKi.js";
2
+ import { t as m } from "./index-kaGA8-X2.js";
3
+ import { A as c } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import l from "./EventTypeAppSettingsInterface-fcDBa586.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 t, jsxs as e } from "react/jsx-runtime";
2
- import { J as m, a4 as o } from "./index-XX0jWi_4.js";
3
- import { A as u } from "./AppCard-FF41DY1a.js";
4
- import { u as h } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as m, X as o } from "./index-kaGA8-X2.js";
3
+ import { A as u } from "./AppCard-IYwXZB0q.js";
4
+ import { u as h } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
5
  const E = function({ eventType: a, app: s }) {
6
6
  var n;
7
7
  const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { J as m } from "./index-XX0jWi_4.js";
3
- import { A as c } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import l from "./EventTypeAppSettingsInterface-afqqqXjx.js";
2
+ import { t as m } from "./index-kaGA8-X2.js";
3
+ import { A as c } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import l from "./EventTypeAppSettingsInterface-lj3UxPsg.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 { J as m } from "./index-XX0jWi_4.js";
3
- import { A as c } from "./AppCard-FF41DY1a.js";
4
- import { u } from "./useIsAppEnabled-QIw4ydUi.js";
5
- import l from "./EventTypeAppSettingsInterface-zDnztP59.js";
2
+ import { t as m } from "./index-kaGA8-X2.js";
3
+ import { A as c } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.js";
5
+ import l from "./EventTypeAppSettingsInterface-8PKo71W5.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 t, jsxs as h } from "react/jsx-runtime";
2
- import { J as m, k as p } from "./index-XX0jWi_4.js";
3
- import { A } from "./AppCard-FF41DY1a.js";
4
- import { u as I } from "./useIsAppEnabled-QIw4ydUi.js";
2
+ import { t as m, f as p } from "./index-kaGA8-X2.js";
3
+ import { A } from "./AppCard-IYwXZB0q.js";
4
+ import { u as I } from "./useIsAppEnabled-Z2j-XkyQ.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);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-kaGA8-X2.js";
3
+ import { A as m } from "./AppCard-IYwXZB0q.js";
4
+ import { u } from "./useIsAppEnabled-Z2j-XkyQ.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,6 +1,6 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import { y as I, ao as j, ap as M, j as T, z as g, Z as C, N as A, aq as E, ar as z, a4 as R } from "./index-XX0jWi_4.js";
3
+ import { q as I, af as P, ag as j, e as T, r as g, M as C, x as A, ah as E, ai as R, X as z } from "./index-kaGA8-X2.js";
4
4
  const y = "search", k = "url", B = (s) => {
5
5
  const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [x, _] = d(y), w = async (n, f) => {
6
6
  if (u)
@@ -43,14 +43,14 @@ const y = "search", k = "url", B = (s) => {
43
43
  v(""), l(""), _(t);
44
44
  },
45
45
  children: [
46
- /* @__PURE__ */ e(R, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
46
+ /* @__PURE__ */ e(z, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
47
47
  f
48
48
  ]
49
49
  }
50
- ), P = async (n) => {
50
+ ), M = async (n) => {
51
51
  n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === k && G(c);
52
52
  };
53
- return /* @__PURE__ */ e(j, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(M, { children: [
53
+ return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
54
54
  /* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
55
55
  /* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
56
56
  /* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
@@ -61,7 +61,7 @@ const y = "search", k = "url", B = (s) => {
61
61
  "form",
62
62
  {
63
63
  className: "flex w-full justify-center space-x-2 space-y-2 rtl:space-x-reverse",
64
- onSubmit: P,
64
+ onSubmit: M,
65
65
  children: [
66
66
  /* @__PURE__ */ e("div", { className: "relative block w-full pt-2", children: /* @__PURE__ */ e(
67
67
  T,
@@ -125,7 +125,7 @@ const y = "search", k = "url", B = (s) => {
125
125
  ] }),
126
126
  /* @__PURE__ */ o(E, { children: [
127
127
  /* @__PURE__ */ e(
128
- z,
128
+ R,
129
129
  {
130
130
  color: "minimal",
131
131
  tabIndex: -1,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { k as c } from "./index-XX0jWi_4.js";
2
+ import { f as c } from "./index-kaGA8-X2.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,18 +1,18 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as w } from "react";
3
- import { y as _, a9 as t, N as g, k as C, a5 as P, S as p } from "./index-XX0jWi_4.js";
3
+ import { q as _, a0 as t, x as g, f as C, Y as P, S as p } from "./index-kaGA8-X2.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
- eventType: b,
5
+ eventType: f,
6
6
  getAppData: s,
7
7
  setAppData: a
8
8
  }) => {
9
9
  var v, h;
10
10
  const { t: n } = _(), i = s("price"), c = s("currency"), [r, S] = N(
11
11
  d.find((e) => e.value === c) || d[0]
12
- ), f = s("paymentOption"), u = ((v = t) == null ? void 0 : v.find((e) => f === e.value)) || {
12
+ ), b = s("paymentOption"), u = ((v = t) == null ? void 0 : v.find((e) => b === e.value)) || {
13
13
  label: t[0].label,
14
14
  value: t[0].value
15
- }, y = !!b.seatsPerTimeSlot, [m] = N(s("enabled")), O = ((h = b.recurringEvent) == null ? void 0 : h.count) !== void 0;
15
+ }, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")), O = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
16
16
  return w(() => {
17
17
  !c && m && a("currency", r.value);
18
18
  }, [c, r, a, m]), /* @__PURE__ */ l(x, { children: O ? /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : m && /* @__PURE__ */ o(x, { children: [
@@ -64,7 +64,7 @@ const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
64
64
  }
65
65
  )
66
66
  ] }),
67
- y && f === "HOLD" && /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") })
67
+ y && b === "HOLD" && /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") })
68
68
  ] }) });
69
69
  };
70
70
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { k as o } from "./index-XX0jWi_4.js";
2
+ import { f as o } from "./index-kaGA8-X2.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,10 +1,10 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { useState as f } from "react";
3
- import { y as p, k as h, Y as v, Z as x } from "./index-XX0jWi_4.js";
2
+ import { useState as u } from "react";
3
+ import { q as p, f as h, K as v, M as x } from "./index-kaGA8-X2.js";
4
4
  const N = ({ eventType: n, disabled: d }) => {
5
- const { t: i } = p(), [r, c] = f(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
- function s({ size: a, data: u }) {
7
- const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${u}`;
5
+ const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
+ function s({ size: a, data: f }) {
7
+ const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${f}`;
8
8
  return /* @__PURE__ */ e(v, { content: t, children: /* @__PURE__ */ e("a", { download: !0, href: l, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e(
9
9
  "img",
10
10
  {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
2
- import { aa as d, y as L, ab as i, N as P, k as w, V as T, X as O, S as y, ac as E, ad as x, Z as B, ae as F, af as K } from "./index-XX0jWi_4.js";
3
- import { useState as z, useEffect as G } from "react";
2
+ import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-kaGA8-X2.js";
3
+ import { useState as K, useEffect as z } from "react";
4
4
  const s = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
6
6
  { label: "United Arab Emirates dirham (AED)", value: "aed" },
@@ -143,18 +143,18 @@ const s = [
143
143
  eventType: h
144
144
  }) => {
145
145
  var k;
146
- const g = r("price"), o = r("currency") || s[0].value, [t, D] = z(
146
+ const g = r("price"), o = r("currency") || s[0].value, [t, D] = K(
147
147
  s.find((a) => a.value === o) || {
148
148
  label: s[0].label,
149
149
  value: s[0].value
150
150
  }
151
- ), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot, R = (a, M) => 0 .toLocaleString(a, {
151
+ ), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot, M = (a, R) => 0 .toLocaleString(a, {
152
152
  style: "currency",
153
- currency: M,
153
+ currency: R,
154
154
  minimumFractionDigits: 0,
155
155
  maximumFractionDigits: 0
156
156
  }).replace(/\d/g, "").trim();
157
- G(() => {
157
+ z(() => {
158
158
  m && (r("currency") || e("currency", s[0].value), r("paymentOption") || e("paymentOption", d[0].value)), r("refundPolicy") || e("refundPolicy", i.NEVER);
159
159
  }, [m, r, e]);
160
160
  const C = [
@@ -170,7 +170,7 @@ const s = [
170
170
  "data-testid": "stripe-price-input",
171
171
  label: n("price"),
172
172
  className: "h-[38px]",
173
- addOnLeading: /* @__PURE__ */ l(f, { children: t.value ? R("en", t.value) : "" }),
173
+ addOnLeading: /* @__PURE__ */ l(f, { children: t.value ? M("en", t.value) : "" }),
174
174
  addOnSuffix: o.toUpperCase(),
175
175
  addOnClassname: "h-[38px]",
176
176
  step: "0.01",
@@ -244,7 +244,7 @@ const s = [
244
244
  className: "min-w-4 bg-default border-default flex h-4 w-4 cursor-pointer items-center rounded-full border focus:border-2 focus:outline-none ltr:mr-2 rtl:ml-2",
245
245
  value: "days",
246
246
  id: "days",
247
- children: /* @__PURE__ */ l(K, { className: "after:bg-inverted relative flex h-4 w-4 items-center justify-center after:block after:h-2 after:w-2 after:rounded-full" })
247
+ children: /* @__PURE__ */ l(G, { className: "after:bg-inverted relative flex h-4 w-4 items-center justify-center after:block after:h-2 after:w-2 after:rounded-full" })
248
248
  }
249
249
  ),
250
250
  /* @__PURE__ */ u("div", { className: "flex items-center", children: [