@calcom/atoms 1.0.101-booker → 1.0.102-framer

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 (421) hide show
  1. package/dist/{AddressInput-juYkbZV2.js → AddressInput-HHWre7wa.js} +3 -3
  2. package/dist/{AlbyPriceComponent-zPblWsmO.js → AlbyPriceComponent-PiAQRyyF.js} +29 -29
  3. package/dist/AppCard-sZ0O4rSq.js +269 -0
  4. package/dist/AppListCardPlatformWrapper-3MnkMx3x.js +9 -0
  5. package/dist/AppListCardWebWrapper-k80VJ3AR.js +74 -0
  6. package/dist/AppSettingsInterface--tKm6fGn.js +75 -0
  7. package/dist/AppSettingsInterface-WX_BLXDA.js +23 -0
  8. package/dist/AppSettingsInterface-XM13ce3E.js +29 -0
  9. package/dist/DateRangePicker-Fh_dsIdj.js +2418 -0
  10. package/dist/EventTypeAppCardInterface-0Jaxf6Yz.js +686 -0
  11. package/dist/EventTypeAppCardInterface-17vlTbvX.js +24 -0
  12. package/dist/EventTypeAppCardInterface-1wRC7oyo.js +24 -0
  13. package/dist/EventTypeAppCardInterface-2BSSOgqQ.js +34 -0
  14. package/dist/EventTypeAppCardInterface-3Z4hJuXU.js +24 -0
  15. package/dist/EventTypeAppCardInterface-6yy2mWL4.js +49 -0
  16. package/dist/EventTypeAppCardInterface-77QzFk7h.js +41 -0
  17. package/dist/EventTypeAppCardInterface-9knMJyHl.js +34 -0
  18. package/dist/EventTypeAppCardInterface-B0o2UQlj.js +34 -0
  19. package/dist/EventTypeAppCardInterface-Cz53nZwO.js +42 -0
  20. package/dist/EventTypeAppCardInterface-JUes7Gej.js +32 -0
  21. package/dist/EventTypeAppCardInterface-KHTT8wJl.js +24 -0
  22. package/dist/EventTypeAppCardInterface-Serbjt3a.js +41 -0
  23. package/dist/EventTypeAppCardInterface-VM43qaV4.js +51 -0
  24. package/dist/EventTypeAppCardInterface-WAgtkJTr.js +24 -0
  25. package/dist/EventTypeAppCardInterface-bE8PXNkn.js +51 -0
  26. package/dist/EventTypeAppCardInterface-eRfD8up8.js +31 -0
  27. package/dist/EventTypeAppCardInterface-fb10ijkP.js +34 -0
  28. package/dist/EventTypeAppCardInterface-mdMn_7JM.js +39 -0
  29. package/dist/EventTypeAppCardInterface-n9yqPo1B.js +33 -0
  30. package/dist/EventTypeAppCardInterface-oVYKJdV6.js +42 -0
  31. package/dist/EventTypeAppCardInterface-of1RhX-E.js +34 -0
  32. package/dist/EventTypeAppCardInterface-pTMF-k4A.js +32 -0
  33. package/dist/EventTypeAppCardInterface-qmB5vAlZ.js +86 -0
  34. package/dist/EventTypeAppCardInterface-rmXPvya0.js +34 -0
  35. package/dist/EventTypeAppCardInterface-vwIFMiKz.js +34 -0
  36. package/dist/EventTypeAppSettingsInterface-1Vh5bTl5.js +43 -0
  37. package/dist/EventTypeAppSettingsInterface-2Qwj1n4F.js +23 -0
  38. package/dist/EventTypeAppSettingsInterface-4Xqm5uVF.js +78 -0
  39. package/dist/EventTypeAppSettingsInterface-FV_o-vj_.js +120 -0
  40. package/dist/EventTypeAppSettingsInterface-HU1G4DbI.js +23 -0
  41. package/dist/EventTypeAppSettingsInterface-N3HkZEfB.js +25 -0
  42. package/dist/EventTypeAppSettingsInterface-coxZW4Hf.js +48 -0
  43. package/dist/EventTypeAppSettingsInterface-d-r4ksUA.js +298 -0
  44. package/dist/EventTypeAppSettingsInterface-hTxsbtaU.js +42 -0
  45. package/dist/EventTypeAppSettingsInterface-nE6EDu1s.js +24 -0
  46. package/dist/EventTypeAppSettingsInterface-nyRy26Mb.js +221 -0
  47. package/dist/EventTypeAppSettingsInterface-yVNFEGsi.js +72 -0
  48. package/dist/InstallAppButton-3IKq2MmS.js +14 -0
  49. package/dist/InstallAppButton-5g7VZ1ro.js +14 -0
  50. package/dist/InstallAppButton-JXhBVaYJ.js +29 -0
  51. package/dist/InstallAppButton-TcCIETs3.js +58 -0
  52. package/dist/{PhoneInput-lzIUvvEp.js → PhoneInput-sIw_kpf_.js} +1 -1
  53. package/dist/StripePaymentForm-RyrxioJN.js +493 -0
  54. package/dist/cal-atoms.js +37 -3
  55. package/dist/currencyOptions-kannG2hu.js +61 -0
  56. package/dist/index-AZ6i1wpi.js +518 -0
  57. package/dist/index-K90Yu3PC.js +28 -0
  58. package/dist/index-LRugxdBo.js +158496 -0
  59. package/dist/{index-pxPagOVY.js → index-fMTiPIwd.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +9 -9
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +9 -9
  65. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +86 -8
  66. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  68. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/utils/event.d.ts +151 -133
  70. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
  72. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/create-booking.d.ts +75 -75
  74. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +75 -75
  75. package/dist/packages/features/bookings/lib/get-booking.d.ts +40 -40
  76. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
  78. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +56 -56
  80. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +129 -129
  81. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +20 -20
  82. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +68 -52
  83. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +6 -6
  85. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +95 -92
  86. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +34 -26
  88. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  92. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -34
  94. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +610 -3
  96. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +14 -14
  98. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +209 -32
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1189 -0
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
  103. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +162 -154
  104. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  106. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
  108. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
  110. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +76 -74
  112. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +59 -59
  114. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  115. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
  116. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
  117. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  119. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +155 -75
  121. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +31 -31
  123. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +14 -14
  124. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +14 -14
  125. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +14 -14
  126. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +31 -31
  127. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
  128. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
  130. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
  131. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
  132. package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
  133. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  134. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
  135. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  136. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  137. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  138. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  139. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
  140. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  141. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
  142. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
  143. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
  144. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
  145. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  146. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  147. package/dist/packages/features/data-table/index.d.ts +1 -0
  148. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  149. package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
  150. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
  151. package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
  152. package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
  153. package/dist/packages/features/data-table/lib/server.d.ts +12 -1
  154. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  155. package/dist/packages/features/data-table/lib/types.d.ts +158 -157
  156. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  157. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
  158. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
  159. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
  160. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  161. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  162. package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
  163. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  164. package/dist/packages/features/ee/billing/credit-service.d.ts +45 -0
  165. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
  166. package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
  167. package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
  168. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  169. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
  170. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  171. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
  172. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  173. package/dist/packages/features/ee/payments/pages/payment.d.ts +49 -46
  174. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  175. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +27 -3
  176. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  177. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
  178. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  179. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +33 -33
  180. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  181. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  182. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
  183. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
  184. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  185. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  186. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  187. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
  188. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  189. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  190. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  191. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
  192. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
  193. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
  194. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  195. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +2 -1
  196. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  197. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
  198. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
  199. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
  200. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  201. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
  202. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  203. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  204. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  205. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
  206. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
  207. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
  208. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
  209. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -8
  210. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
  211. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
  212. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
  213. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
  214. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
  215. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  216. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  217. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  218. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  219. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  220. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +147 -130
  221. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  222. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -0
  223. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  224. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  225. package/dist/packages/features/form-builder/schema.d.ts +162 -162
  226. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  227. package/dist/packages/features/form-builder/testUtils.d.ts +10 -10
  228. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +6 -6
  229. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  230. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
  231. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
  232. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +218 -70
  233. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  234. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
  235. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  236. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  237. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  238. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  239. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
  240. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  241. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +3 -0
  242. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  243. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +1 -1
  244. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +146 -130
  245. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  246. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +99 -91
  247. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  248. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +47 -44
  249. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  250. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +79 -70
  251. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  252. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  253. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +1 -1
  254. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  255. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +75 -75
  256. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +78 -78
  257. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +75 -75
  258. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +12 -12
  259. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
  260. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  261. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +3 -0
  262. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  263. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +3 -0
  264. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  265. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +3 -0
  266. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  267. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +1 -1
  268. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
  269. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  270. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +87 -9
  271. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  272. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +1 -1
  273. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +147 -130
  274. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  275. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
  276. package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
  277. package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
  278. package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
  279. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  280. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  281. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  282. package/dist/packages/platform/libraries/emails.d.ts +6 -0
  283. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  284. package/dist/packages/platform/libraries/index.d.ts +4 -0
  285. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  286. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
  287. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  288. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  289. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
  290. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
  291. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  292. package/dist/packages/platform/types/calendars/index.d.ts +2 -0
  293. package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
  294. package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
  295. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
  296. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
  297. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
  298. package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
  299. package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
  300. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
  301. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
  302. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  303. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  304. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  305. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  306. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  307. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  308. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
  309. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
  310. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
  311. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +9 -9
  312. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +7 -0
  313. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  314. package/dist/packages/prisma/zod/accesscode.d.ts +2 -2
  315. package/dist/packages/prisma/zod/accesstoken.d.ts +2 -2
  316. package/dist/packages/prisma/zod/account.d.ts +2 -2
  317. package/dist/packages/prisma/zod/aiphonecallconfiguration.d.ts +2 -2
  318. package/dist/packages/prisma/zod/app.d.ts +4 -4
  319. package/dist/packages/prisma/zod/app_routingforms_form.d.ts +14 -14
  320. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +4 -4
  321. package/dist/packages/prisma/zod/app_routingforms_incompletebookingactions.d.ts +2 -2
  322. package/dist/packages/prisma/zod/assignmentreason.d.ts +2 -2
  323. package/dist/packages/prisma/zod/attendee.d.ts +2 -2
  324. package/dist/packages/prisma/zod/attribute.d.ts +6 -6
  325. package/dist/packages/prisma/zod/attributeoption.d.ts +2 -2
  326. package/dist/packages/prisma/zod/availability.d.ts +2 -2
  327. package/dist/packages/prisma/zod/avatar.d.ts +2 -2
  328. package/dist/packages/prisma/zod/booking.d.ts +16 -15
  329. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  330. package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
  331. package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
  332. package/dist/packages/prisma/zod/bookinginternalnote.d.ts +2 -2
  333. package/dist/packages/prisma/zod/bookingseat.d.ts +8 -8
  334. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
  335. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
  336. package/dist/packages/prisma/zod/calendarcache.d.ts +5 -2
  337. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  338. package/dist/packages/prisma/zod/credential.d.ts +7 -3
  339. package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
  340. package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
  341. package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
  342. package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
  343. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
  344. package/dist/packages/prisma/zod/custom/booking.d.ts +100 -100
  345. package/dist/packages/prisma/zod/custom/eventtype.d.ts +265 -235
  346. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  347. package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
  348. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  349. package/dist/packages/prisma/zod/eventtype.d.ts +292 -259
  350. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  351. package/dist/packages/prisma/zod/eventtypecustominput.d.ts +10 -10
  352. package/dist/packages/prisma/zod/eventtypetranslation.d.ts +4 -4
  353. package/dist/packages/prisma/zod/feedback.d.ts +4 -4
  354. package/dist/packages/prisma/zod/filtersegment.d.ts +2 -2
  355. package/dist/packages/prisma/zod/hashedlink.d.ts +2 -2
  356. package/dist/packages/prisma/zod/index.d.ts +5 -0
  357. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  358. package/dist/packages/prisma/zod/instantmeetingtoken.d.ts +4 -4
  359. package/dist/packages/prisma/zod/internalnotepreset.d.ts +4 -4
  360. package/dist/packages/prisma/zod/membership.d.ts +8 -2
  361. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  362. package/dist/packages/prisma/zod/oauthclient.d.ts +2 -2
  363. package/dist/packages/prisma/zod/organizationonboarding.d.ts +8 -8
  364. package/dist/packages/prisma/zod/organizationsettings.d.ts +11 -8
  365. package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
  366. package/dist/packages/prisma/zod/outofofficeentry.d.ts +4 -4
  367. package/dist/packages/prisma/zod/payment.d.ts +6 -6
  368. package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
  369. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  370. package/dist/packages/prisma/zod/platformoauthclient.d.ts +2 -2
  371. package/dist/packages/prisma/zod/profile.d.ts +2 -2
  372. package/dist/packages/prisma/zod/ratelimit.d.ts +4 -4
  373. package/dist/packages/prisma/zod/refreshtoken.d.ts +2 -2
  374. package/dist/packages/prisma/zod/routingformresponse.d.ts +4 -4
  375. package/dist/packages/prisma/zod/schedule.d.ts +2 -2
  376. package/dist/packages/prisma/zod/secondaryemail.d.ts +2 -2
  377. package/dist/packages/prisma/zod/selectedslots.d.ts +2 -2
  378. package/dist/packages/prisma/zod/session.d.ts +2 -2
  379. package/dist/packages/prisma/zod/team.d.ts +11 -10
  380. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  381. package/dist/packages/prisma/zod/teamfeatures.d.ts +4 -4
  382. package/dist/packages/prisma/zod/temporgredirect.d.ts +4 -4
  383. package/dist/packages/prisma/zod/user.d.ts +16 -15
  384. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  385. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  386. package/dist/packages/prisma/zod/verificationtoken.d.ts +2 -2
  387. package/dist/packages/prisma/zod/workflow.d.ts +2 -2
  388. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
  389. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
  390. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  391. package/dist/packages/prisma/zod/workflowstep.d.ts +4 -4
  392. package/dist/packages/prisma/zod/workspaceplatform.d.ts +2 -2
  393. package/dist/packages/prisma/zod-utils.d.ts +637 -565
  394. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  395. package/dist/packages/prisma-client/index.d.ts +41048 -30825
  396. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +10 -1
  397. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  398. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +30 -21
  399. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  400. package/dist/packages/trpc/react/shared.d.ts +1 -1
  401. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  402. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +10 -1
  403. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  404. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
  405. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  406. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +606 -321
  407. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  408. package/dist/style.css +1 -1
  409. package/dist/useIsAppEnabled-hrstotzg.js +18 -0
  410. package/package.json +1 -1
  411. package/dist/index-1iD3RAuF.js +0 -83360
  412. package/dist/index-4eiX6cBE.js +0 -1957
  413. package/dist/packages/features/schedules/components/index.d.ts +0 -7
  414. package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
  415. package/dist/packages/features/schedules/index.d.ts +0 -4
  416. package/dist/packages/features/schedules/index.d.ts.map +0 -1
  417. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
  418. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
  419. package/dist/packages/platform/atoms/index.d.ts +0 -3
  420. package/dist/packages/platform/atoms/index.d.ts.map +0 -1
  421. package/dist/packages/platform/types/calendars.d.ts.map +0 -1
@@ -0,0 +1,61 @@
1
+ const e = [
2
+ { label: "United States dollar", value: "USD" },
3
+ { label: "Australian dollar", value: "AUD" },
4
+ { label: "Brazilian real 2", value: "BRL" },
5
+ { label: "Canadian dollar", value: "CAD" },
6
+ { label: "Chinese Renmenbi 3", value: "CNY" },
7
+ { label: "Czech koruna", value: "CZK" },
8
+ { label: "Danish krone", value: "DKK" },
9
+ { label: "Euro", value: "EUR" },
10
+ { label: "Hong Kong dollar", value: "HKD" },
11
+ { label: "Hungarian forint 1", value: "HUF" },
12
+ { label: "Israeli new shekel", value: "ILS" },
13
+ { label: "Japanese yen 1", value: "JPY" },
14
+ { label: "Malaysian ringgit 3", value: "MYR" },
15
+ { label: "Mexican peso", value: "MXN" },
16
+ { label: "New Taiwan dollar 1", value: "TWD" },
17
+ { label: "New Zealand dollar", value: "NZD" },
18
+ { label: "Norwegian krone", value: "NOK" },
19
+ { label: "Philippine peso", value: "PHP" },
20
+ { label: "Polish złoty", value: "PLN" },
21
+ { label: "Pound sterling", value: "GBP" },
22
+ { label: "Russian ruble", value: "RUB" },
23
+ { label: "Singapore dollar", value: "SGD" },
24
+ { label: "Swedish krona", value: "SEK" },
25
+ { label: "Swiss franc", value: "CHF" },
26
+ { label: "Thai baht", value: "THB" }
27
+ ], a = {
28
+ USD: "$",
29
+ AUD: "$",
30
+ BRL: "R$",
31
+ CAD: "$",
32
+ CNY: "¥",
33
+ CZK: "Kč",
34
+ DKK: "kr",
35
+ EUR: "€",
36
+ HKD: "$",
37
+ HUF: "Ft",
38
+ ILS: "₪",
39
+ JPY: "¥",
40
+ MYR: "RM",
41
+ MXN: "$",
42
+ TWD: "$",
43
+ NZD: "$",
44
+ NOK: "kr",
45
+ PHP: "₱",
46
+ PLN: "zł",
47
+ GBP: "£",
48
+ RUB: "₽",
49
+ SGD: "$",
50
+ SEK: "kr",
51
+ CHF: "Fr",
52
+ THB: "฿"
53
+ };
54
+ function n(l) {
55
+ return Object.keys(a).includes(l);
56
+ }
57
+ export {
58
+ a,
59
+ e as c,
60
+ n as i
61
+ };
@@ -0,0 +1,518 @@
1
+ import { jsxs as c, jsx as i, Fragment as g } from "react/jsx-runtime";
2
+ import { an as C, ao as L, ap as S, ad as j, aq as T, ar as U, M as h, r as A, as as I, q as R, at as x, au as _, av as $, y as V } from "./index-LRugxdBo.js";
3
+ import { memo as q, useState as M } from "react";
4
+ var Q = Math.floor, z = Math.random;
5
+ function E(t, r) {
6
+ return t + Q(z() * (r - t + 1));
7
+ }
8
+ var Z = E, F = Z;
9
+ function G(t, r) {
10
+ var o = -1, n = t.length, a = n - 1;
11
+ for (r = r === void 0 ? n : r; ++o < r; ) {
12
+ var e = F(o, a), s = t[e];
13
+ t[e] = t[o], t[o] = s;
14
+ }
15
+ return t.length = r, t;
16
+ }
17
+ var y = G, O = C(), W = y;
18
+ function D(t) {
19
+ return W(O(t));
20
+ }
21
+ var P = D, H = L;
22
+ function K(t, r) {
23
+ return H(r, function(o) {
24
+ return t[o];
25
+ });
26
+ }
27
+ var Y = K, J = Y, X = S();
28
+ function B(t) {
29
+ return t == null ? [] : J(t, X(t));
30
+ }
31
+ var ee = B, te = y, ie = ee;
32
+ function se(t) {
33
+ return te(ie(t));
34
+ }
35
+ var re = se, ae = P, le = re, oe = T;
36
+ function de(t) {
37
+ var r = oe(t) ? ae : le;
38
+ return r(t);
39
+ }
40
+ var ne = de;
41
+ const ce = /* @__PURE__ */ j(ne), b = I("", {
42
+ // Variants won't have any style by default. Style will only be applied if the variants are combined.
43
+ // So, style is defined in compoundVariants.
44
+ variants: {
45
+ variant: {
46
+ basic: "",
47
+ ProfileCard: "",
48
+ SidebarCard: ""
49
+ },
50
+ structure: {
51
+ image: "",
52
+ card: "",
53
+ title: "",
54
+ description: ""
55
+ }
56
+ },
57
+ compoundVariants: [
58
+ // Style for Basic Variants types
59
+ {
60
+ variant: "basic",
61
+ structure: "image",
62
+ className: "w-10 h-auto"
63
+ },
64
+ {
65
+ variant: "basic",
66
+ structure: "card",
67
+ className: "p-5"
68
+ },
69
+ {
70
+ variant: "basic",
71
+ structure: "title",
72
+ className: "text-base mt-4"
73
+ },
74
+ {
75
+ variant: "basic",
76
+ structure: "description",
77
+ className: "text-sm leading-[18px] text-subtle font-normal"
78
+ },
79
+ // Style for ProfileCard Variant Types
80
+ {
81
+ variant: "ProfileCard",
82
+ structure: "image",
83
+ className: "w-9 h-auto rounded-full mb-4s"
84
+ },
85
+ {
86
+ variant: "ProfileCard",
87
+ structure: "card",
88
+ className: "w-80 p-4 hover:bg-subtle"
89
+ },
90
+ {
91
+ variant: "ProfileCard",
92
+ structure: "title",
93
+ className: "text-base"
94
+ },
95
+ {
96
+ variant: "ProfileCard",
97
+ structure: "description",
98
+ className: "text-sm leading-[18px] text-subtle font-normal"
99
+ },
100
+ // Style for SidebarCard Variant Types
101
+ {
102
+ variant: "SidebarCard",
103
+ structure: "image",
104
+ className: "w-9 h-auto rounded-full mb-4s"
105
+ },
106
+ {
107
+ variant: "SidebarCard",
108
+ structure: "card",
109
+ className: "w-full p-3 border border-subtle"
110
+ },
111
+ {
112
+ variant: "SidebarCard",
113
+ structure: "title",
114
+ className: "text-sm font-cal"
115
+ },
116
+ {
117
+ variant: "SidebarCard",
118
+ structure: "description",
119
+ className: "text-xs text-default line-clamp-2"
120
+ }
121
+ ]
122
+ });
123
+ function me({
124
+ image: t,
125
+ title: r,
126
+ icon: o,
127
+ description: n,
128
+ variant: a,
129
+ actionButton: e,
130
+ containerProps: s,
131
+ imageProps: l,
132
+ mediaLink: d,
133
+ thumbnailUrl: u,
134
+ learnMore: m
135
+ }) {
136
+ const p = m && m.href.startsWith("https") ? "a" : U;
137
+ return /* @__PURE__ */ c(
138
+ "div",
139
+ {
140
+ className: h(
141
+ s == null ? void 0 : s.className,
142
+ b({ variant: a, structure: "card" }),
143
+ "bg-default border-subtle text-default flex flex-col justify-between rounded-md border"
144
+ ),
145
+ "data-testid": "card-container",
146
+ ...s,
147
+ children: [
148
+ /* @__PURE__ */ c("div", { children: [
149
+ o && o,
150
+ t && /* @__PURE__ */ i(
151
+ "img",
152
+ {
153
+ src: t,
154
+ alt: l == null ? void 0 : l.alt,
155
+ className: h(
156
+ l == null ? void 0 : l.className,
157
+ b({ variant: a, structure: "image" })
158
+ ),
159
+ ...l
160
+ }
161
+ ),
162
+ /* @__PURE__ */ i(
163
+ "h5",
164
+ {
165
+ title: r,
166
+ className: h(
167
+ b({ variant: a, structure: "title" }),
168
+ "text-emphasis line-clamp-1 font-bold leading-5"
169
+ ),
170
+ children: r
171
+ }
172
+ ),
173
+ n && /* @__PURE__ */ i(
174
+ "p",
175
+ {
176
+ title: n.toString(),
177
+ className: h(b({ variant: a, structure: "description" }), "pt-1"),
178
+ children: n
179
+ }
180
+ )
181
+ ] }),
182
+ a === "SidebarCard" && /* @__PURE__ */ c(
183
+ "a",
184
+ {
185
+ onClick: e == null ? void 0 : e.onClick,
186
+ target: "_blank",
187
+ rel: "noreferrer",
188
+ href: d,
189
+ "data-testid": e == null ? void 0 : e["data-testid"],
190
+ className: "group relative my-3 flex aspect-video items-center overflow-hidden rounded",
191
+ children: [
192
+ /* @__PURE__ */ i("div", { className: "absolute inset-0 bg-black bg-opacity-50 transition group-hover:bg-opacity-40" }),
193
+ /* @__PURE__ */ c(
194
+ "svg",
195
+ {
196
+ className: "text-inverted absolute left-1/2 top-1/2 h-8 w-8 -translate-x-1/2 -translate-y-1/2 transform rounded-full shadow-lg transition-all hover:-mt-px",
197
+ viewBox: "0 0 32 32",
198
+ fill: "none",
199
+ xmlns: "http://www.w3.org/2000/svg",
200
+ children: [
201
+ /* @__PURE__ */ i(
202
+ "path",
203
+ {
204
+ d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",
205
+ fill: "white"
206
+ }
207
+ ),
208
+ /* @__PURE__ */ i(
209
+ "path",
210
+ {
211
+ d: "M12.1667 8.5L23.8334 16L12.1667 23.5V8.5Z",
212
+ fill: "#111827",
213
+ stroke: "#111827",
214
+ strokeWidth: "1.5",
215
+ strokeLinecap: "round",
216
+ strokeLinejoin: "round"
217
+ }
218
+ )
219
+ ]
220
+ }
221
+ ),
222
+ /* @__PURE__ */ i("img", { alt: "play feature video", src: u })
223
+ ]
224
+ }
225
+ ),
226
+ a === "basic" && e && /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
227
+ A,
228
+ {
229
+ color: "secondary",
230
+ href: e == null ? void 0 : e.href,
231
+ className: "mt-10",
232
+ EndIcon: "arrow-right",
233
+ "data-testid": e["data-testid"],
234
+ children: e == null ? void 0 : e.child
235
+ }
236
+ ) }),
237
+ a === "SidebarCard" && /* @__PURE__ */ c("div", { className: "mt-2 flex items-center justify-between", children: [
238
+ m && /* @__PURE__ */ i(
239
+ p,
240
+ {
241
+ href: m.href,
242
+ onClick: e == null ? void 0 : e.onClick,
243
+ target: "_blank",
244
+ rel: "noreferrer",
245
+ className: "text-default text-xs font-medium",
246
+ children: m.text
247
+ }
248
+ ),
249
+ (e == null ? void 0 : e.child) && /* @__PURE__ */ i(
250
+ "button",
251
+ {
252
+ className: "text-default hover:text-emphasis p-0 text-xs font-normal",
253
+ color: "minimal",
254
+ "data-testid": e == null ? void 0 : e["data-testid"],
255
+ onClick: e == null ? void 0 : e.onClick,
256
+ children: e == null ? void 0 : e.child
257
+ }
258
+ )
259
+ ] })
260
+ ]
261
+ }
262
+ );
263
+ }
264
+ const he = [
265
+ {
266
+ id: 17,
267
+ thumbnailUrl: "https://img.youtube.com/vi/fMHW6jYPIb8/0.jpg",
268
+ mediaLink: "https://go.cal.com/embed-video",
269
+ title: "Embed",
270
+ description: "Embed your booking page on your website",
271
+ href: "https://go.cal.com/embed-video"
272
+ },
273
+ {
274
+ id: 16,
275
+ thumbnailUrl: "https://img.youtube.com/vi/xopxmk2H4Ng/0.jpg",
276
+ mediaLink: "https://go.cal.com/paid-booking",
277
+ title: "Paid Bookings",
278
+ description: "Charge for your time with Cal.com's paid bookings",
279
+ href: "https://go.cal.com/paid-booking"
280
+ },
281
+ {
282
+ id: 15,
283
+ thumbnailUrl: "https://img.youtube.com/vi/ZjSD1yPgLLQ/0.jpg",
284
+ mediaLink: "https://go.cal.com/instant-meetings-video",
285
+ title: "Instant Meetings",
286
+ description: "Book meetings instantly with a link",
287
+ href: "https://go.cal.com/instant-meetings-video"
288
+ },
289
+ {
290
+ id: 14,
291
+ thumbnailUrl: "https://img.youtube.com/vi/IZ4-nUiIpvY/0.jpg",
292
+ mediaLink: "https://go.cal.com/custom-attributes",
293
+ title: "Custom Attributes",
294
+ description: "Define roles and attributes for your teams",
295
+ href: "https://go.cal.com/custom-attributes"
296
+ },
297
+ {
298
+ id: 13,
299
+ thumbnailUrl: "https://img.youtube.com/vi/TTAASLLPKk0/0.jpg",
300
+ mediaLink: "https://go.cal.com/ooo-video",
301
+ title: "ooo.new",
302
+ description: "Easily go out-of-office",
303
+ href: "https://go.cal.com/ooo-video"
304
+ },
305
+ {
306
+ id: 12,
307
+ thumbnailUrl: "https://cal.com/og-image-cal-ai.jpg",
308
+ mediaLink: "https://go.cal.com/cal-ai",
309
+ title: "Cal.ai",
310
+ description: "Your personal AI scheduling assistant",
311
+ href: "https://go.cal.com/cal-ai"
312
+ },
313
+ {
314
+ id: 11,
315
+ thumbnailUrl: "https://img.youtube.com/vi/KTg_qzA9NEc/0.jpg",
316
+ mediaLink: "https://go.cal.com/insights",
317
+ title: "Insights",
318
+ description: "Get a better understanding of your business",
319
+ href: "https://go.cal.com/insights"
320
+ },
321
+ {
322
+ id: 10,
323
+ thumbnailUrl: "https://img.youtube.com/vi/jvaBafzVUQc/0.jpg",
324
+ mediaLink: "https://go.cal.com/video",
325
+ title: "Cal Video",
326
+ description: "Free video conferencing with recording",
327
+ href: "https://go.cal.com/video"
328
+ },
329
+ {
330
+ id: 9,
331
+ thumbnailUrl: "https://img.youtube.com/vi/93iOmzHieCU/0.jpg",
332
+ mediaLink: "https://go.cal.com/round-robin",
333
+ title: "Round-Robin",
334
+ description: "Create advanced group meetings with round-robin",
335
+ href: "https://go.cal.com/round-robin"
336
+ },
337
+ {
338
+ id: 8,
339
+ thumbnailUrl: "https://img.youtube.com/vi/piKlAiibAFo/0.jpg",
340
+ mediaLink: "https://go.cal.com/workflows",
341
+ title: "Automate Workflows",
342
+ description: "Make time work for you and automate tasks",
343
+ href: "https://go.cal.com/workflows"
344
+ },
345
+ {
346
+ id: 7,
347
+ thumbnailUrl: "https://img.youtube.com/vi/UVXgo12cY4g/0.jpg",
348
+ mediaLink: "https://go.cal.com/routing-forms",
349
+ title: "Routing Forms",
350
+ description: "Ask questions and route to the correct person",
351
+ href: "https://go.cal.com/routing-forms"
352
+ },
353
+ {
354
+ id: 6,
355
+ thumbnailUrl: "https://img.youtube.com/vi/yGiZo1Ry5-8/0.jpg",
356
+ mediaLink: "https://go.cal.com/recurring-video",
357
+ title: "Recurring Bookings",
358
+ description: "Learn how to create a recurring schedule",
359
+ href: "https://go.cal.com/recurring-video"
360
+ },
361
+ {
362
+ id: 5,
363
+ thumbnailUrl: "https://img.youtube.com/vi/0v_nQtpxC_4/0.jpg",
364
+ mediaLink: "https://go.cal.com/payments-video",
365
+ title: "Accept Payments",
366
+ description: "Charge for your time with Cal.com's Stripe App",
367
+ href: "https://app.cal.com/apps/stripe"
368
+ },
369
+ {
370
+ id: 4,
371
+ thumbnailUrl: "https://img.youtube.com/vi/zGr_s-fG84k/0.jpg",
372
+ mediaLink: "https://go.cal.com/confirmation-video",
373
+ title: "Requires Confirmation",
374
+ description: "Learn how to be in charge of your bookings",
375
+ href: "https://cal.com/resources/feature/opt-in"
376
+ },
377
+ {
378
+ id: 3,
379
+ thumbnailUrl: "https://img.youtube.com/vi/-L8MCiT6uhQ/0.jpg",
380
+ mediaLink: "https://youtu.be/-L8MCiT6uhQ?si=DRJzRNhN85hqAwBl",
381
+ title: "Routing Forms, Workflows",
382
+ description: "Ask screening questions of potential bookers to connect them with the right person",
383
+ href: "https://youtu.be/-L8MCiT6uhQ?si=DRJzRNhN85hqAwBl"
384
+ },
385
+ {
386
+ id: 2,
387
+ thumbnailUrl: "https://img.youtube.com/vi/EAc46SPL6iA/0.jpg",
388
+ mediaLink: "https://go.cal.com/teams-video",
389
+ title: "How to set up Teams",
390
+ description: "Learn how to use round-robin and collective events.",
391
+ href: "https://cal.com/docs/enterprise-features/teams"
392
+ },
393
+ {
394
+ id: 1,
395
+ thumbnailUrl: "https://img.youtube.com/vi/VZ5PfQzzxBw/0.jpg",
396
+ mediaLink: "https://youtu.be/VZ5PfQzzxBw?si=oB0LPSxG8dWIwg5a",
397
+ title: "Dynamic booking links",
398
+ description: "Booking link that allows people to quickly schedule meetings.",
399
+ href: "https://youtu.be/VZ5PfQzzxBw?si=oB0LPSxG8dWIwg5a"
400
+ }
401
+ ], v = ce(he).slice(0).reverse();
402
+ function ue() {
403
+ const { t } = R(), [r, o] = M(() => {
404
+ if (typeof window > "u")
405
+ return v;
406
+ try {
407
+ const e = x.getItem("removedTipsIds");
408
+ if (e !== null) {
409
+ const s = e.split(",").map((d) => parseInt(d, 10));
410
+ return v.filter((d) => s.indexOf(d.id) === -1);
411
+ } else
412
+ return v;
413
+ } catch {
414
+ return v;
415
+ }
416
+ }), n = (e) => {
417
+ o((s) => {
418
+ const l = x.getItem("removedTipsIds") || "", d = s.findIndex((u) => u.id === e);
419
+ return d === -1 ? [...s] : (x.setItem(
420
+ "removedTipsIds",
421
+ `${s[d].id.toString()}${l.length > 0 ? `,${l}` : ""}`
422
+ ), s.splice(d, 1), [...s]);
423
+ });
424
+ }, a = r.slice(0).reverse();
425
+ return /* @__PURE__ */ i(
426
+ "div",
427
+ {
428
+ className: "hidden pb-4 pt-8 lg:grid",
429
+ style: {
430
+ gridTemplateColumns: "1fr"
431
+ },
432
+ children: r.map((e) => {
433
+ const s = a.indexOf(e) === 0;
434
+ return /* @__PURE__ */ i(
435
+ "div",
436
+ {
437
+ className: "relative",
438
+ style: {
439
+ gridRowStart: 1,
440
+ gridColumnStart: 1
441
+ },
442
+ children: /* @__PURE__ */ i(
443
+ "div",
444
+ {
445
+ className: "relative",
446
+ style: {
447
+ transform: `scale(${1 - a.indexOf(e) / 20})`,
448
+ top: -a.indexOf(e) * 10,
449
+ opacity: `${1 - a.indexOf(e) / 7}`
450
+ },
451
+ children: /* @__PURE__ */ i(
452
+ me,
453
+ {
454
+ variant: "SidebarCard",
455
+ thumbnailUrl: e.thumbnailUrl,
456
+ mediaLink: s ? e.mediaLink : void 0,
457
+ title: e.title,
458
+ description: e.description,
459
+ learnMore: s ? { href: e.href, text: t("learn_more") } : void 0,
460
+ actionButton: s ? { onClick: () => n(e.id), child: t("dismiss") } : void 0,
461
+ containerProps: {
462
+ tabIndex: s ? void 0 : -1,
463
+ "aria-hidden": s ? void 0 : "true"
464
+ }
465
+ }
466
+ )
467
+ }
468
+ )
469
+ },
470
+ e.id
471
+ );
472
+ })
473
+ }
474
+ );
475
+ }
476
+ const be = q(ue);
477
+ function ve({
478
+ title: t,
479
+ description: r,
480
+ background: o,
481
+ features: n,
482
+ buttons: a,
483
+ isParentLoading: e,
484
+ children: s,
485
+ plan: l
486
+ }) {
487
+ const { resolvedTheme: d } = _(), { isPending: u, hasTeamPlan: m } = $(), { data: p } = V.viewer.teams.getUpgradeable.useQuery(), k = `${o}${d === "dark" ? "-dark" : ""}.jpg`, w = !1, N = !!(p != null && p[0]);
488
+ return l === "team" && (m || N) ? /* @__PURE__ */ i(g, { children: s }) : l === "enterprise" && w ? /* @__PURE__ */ i(g, { children: s }) : u ? /* @__PURE__ */ i(g, { children: e }) : /* @__PURE__ */ c(g, { children: [
489
+ /* @__PURE__ */ c("div", { className: "relative flex min-h-[295px] w-full items-center justify-between overflow-hidden rounded-lg pb-10", children: [
490
+ /* @__PURE__ */ c("picture", { className: "absolute min-h-[295px] w-full rounded-lg object-cover", children: [
491
+ /* @__PURE__ */ i("source", { srcSet: k, media: "(prefers-color-scheme: dark)" }),
492
+ /* @__PURE__ */ i(
493
+ "img",
494
+ {
495
+ className: "absolute min-h-[295px] w-full select-none rounded-lg object-cover object-left md:object-center",
496
+ src: k,
497
+ loading: "lazy",
498
+ alt: t
499
+ }
500
+ )
501
+ ] }),
502
+ /* @__PURE__ */ c("div", { className: "relative my-4 px-8 sm:px-14", children: [
503
+ /* @__PURE__ */ i("h1", { className: h("font-cal mt-4 text-3xl"), children: t }),
504
+ /* @__PURE__ */ i("p", { className: h("mb-8 mt-4 max-w-sm"), children: r }),
505
+ a
506
+ ] })
507
+ ] }),
508
+ /* @__PURE__ */ i("div", { className: "mt-4 grid-cols-3 md:grid md:gap-4", children: n.map((f) => /* @__PURE__ */ c("div", { className: "bg-muted mb-4 min-h-[180px] w-full rounded-md p-8 md:mb-0", children: [
509
+ f.icon,
510
+ /* @__PURE__ */ i("h2", { className: "font-cal text-emphasis mt-4 text-lg", children: f.title }),
511
+ /* @__PURE__ */ i("p", { className: "text-default", children: f.description })
512
+ ] }, f.title)) })
513
+ ] });
514
+ }
515
+ export {
516
+ be as Tips,
517
+ ve as UpgradeTip
518
+ };
@@ -0,0 +1,28 @@
1
+ import { B as s, l, C as o, b as t, n as r, D as i, E as g, F as c, H as d, e as n, g as p, I as F, L as S, P as u, S as T, h as x, j as h, o as k, p as P, c as b, d as m, f as C, m as E, k as I, i as B } from "./index-LRugxdBo.js";
2
+ export {
3
+ s as BooleanToggleGroup,
4
+ l as BooleanToggleGroupField,
5
+ o as Checkbox,
6
+ t as CheckboxField,
7
+ r as ColorPicker,
8
+ i as DateRangePicker,
9
+ g as EmailField,
10
+ c as Form,
11
+ d as HintsOrErrors,
12
+ n as Input,
13
+ p as InputError,
14
+ F as InputField,
15
+ S as Label,
16
+ u as PasswordField,
17
+ T as Select,
18
+ x as SelectField,
19
+ h as SelectWithValidation,
20
+ k as SettingsToggle,
21
+ P as Switch,
22
+ b as TextArea,
23
+ m as TextAreaField,
24
+ C as TextField,
25
+ E as ToggleGroup,
26
+ I as getReactSelectProps,
27
+ B as inputStyles
28
+ };