@calcom/atoms 2.8.0 → 2.8.1

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 (1393) hide show
  1. package/dist/cal-atoms.js +157 -132
  2. package/dist/{index-BrBTKoIj.js → index-r67FKmIH.js} +651 -634
  3. package/dist/index.d.ts +5888 -2
  4. package/dist/{stripe-payment-form-2mrB04BK.js → stripe-payment-form-DjztBe78.js} +1 -1
  5. package/package.json +4 -131
  6. package/dist/src/add-members-switch/add-members-with-switch-platform-wrapper.d.ts +0 -3
  7. package/dist/src/add-members-switch/add-members-with-switch-platform-wrapper.d.ts.map +0 -1
  8. package/dist/src/add-members-switch/add-members-with-switch.d.ts +0 -41
  9. package/dist/src/add-members-switch/add-members-with-switch.d.ts.map +0 -1
  10. package/dist/src/availability/availability-settings.d.ts +0 -88
  11. package/dist/src/availability/availability-settings.d.ts.map +0 -1
  12. package/dist/src/availability/components/date-override-input-dialog.d.ts +0 -17
  13. package/dist/src/availability/components/date-override-input-dialog.d.ts.map +0 -1
  14. package/dist/src/availability/components/date-override-list.d.ts +0 -20
  15. package/dist/src/availability/components/date-override-list.d.ts.map +0 -1
  16. package/dist/src/availability/components/schedule-component.d.ts +0 -49
  17. package/dist/src/availability/components/schedule-component.d.ts.map +0 -1
  18. package/dist/src/availability/index.d.ts +0 -4
  19. package/dist/src/availability/index.d.ts.map +0 -1
  20. package/dist/src/availability/types.d.ts +0 -36
  21. package/dist/src/availability/types.d.ts.map +0 -1
  22. package/dist/src/availability/wrappers/availability-settings-platform-wrapper.d.ts +0 -28
  23. package/dist/src/availability/wrappers/availability-settings-platform-wrapper.d.ts.map +0 -1
  24. package/dist/src/booker/booker-platform-wrapper.d.ts +0 -5
  25. package/dist/src/booker/booker-platform-wrapper.d.ts.map +0 -1
  26. package/dist/src/booker/booker-store-provider.d.ts +0 -11
  27. package/dist/src/booker/booker-store-provider.d.ts.map +0 -1
  28. package/dist/src/booker/components/available-time-slots.d.ts +0 -46
  29. package/dist/src/booker/components/available-time-slots.d.ts.map +0 -1
  30. package/dist/src/booker/components/available-times-header.d.ts +0 -14
  31. package/dist/src/booker/components/available-times-header.d.ts.map +0 -1
  32. package/dist/src/booker/components/available-times.d.ts +0 -46
  33. package/dist/src/booker/components/available-times.d.ts.map +0 -1
  34. package/dist/src/booker/components/book-event-form/book-event-form.d.ts +0 -34
  35. package/dist/src/booker/components/book-event-form/book-event-form.d.ts.map +0 -1
  36. package/dist/src/booker/components/book-event-form/book-form-as-modal.d.ts +0 -14
  37. package/dist/src/booker/components/book-event-form/book-form-as-modal.d.ts.map +0 -1
  38. package/dist/src/booker/components/book-event-form/booking-fields.d.ts +0 -35
  39. package/dist/src/booker/components/book-event-form/booking-fields.d.ts.map +0 -1
  40. package/dist/src/booker/components/book-event-form/index.d.ts +0 -5
  41. package/dist/src/booker/components/book-event-form/index.d.ts.map +0 -1
  42. package/dist/src/booker/components/book-event-form/skeleton.d.ts +0 -2
  43. package/dist/src/booker/components/book-event-form/skeleton.d.ts.map +0 -1
  44. package/dist/src/booker/components/booker-component.d.ts +0 -2
  45. package/dist/src/booker/components/booker-component.d.ts.map +0 -1
  46. package/dist/src/booker/components/booker-section.d.ts +0 -15
  47. package/dist/src/booker/components/booker-section.d.ts.map +0 -1
  48. package/dist/src/booker/components/dry-run-message.d.ts +0 -4
  49. package/dist/src/booker/components/dry-run-message.d.ts.map +0 -1
  50. package/dist/src/booker/components/event-meta/available-event-locations.d.ts +0 -6
  51. package/dist/src/booker/components/event-meta/available-event-locations.d.ts.map +0 -1
  52. package/dist/src/booker/components/event-meta/details.d.ts +0 -34
  53. package/dist/src/booker/components/event-meta/details.d.ts.map +0 -1
  54. package/dist/src/booker/components/event-meta/duration.d.ts +0 -9
  55. package/dist/src/booker/components/event-meta/duration.d.ts.map +0 -1
  56. package/dist/src/booker/components/event-meta/index.d.ts +0 -7
  57. package/dist/src/booker/components/event-meta/index.d.ts.map +0 -1
  58. package/dist/src/booker/components/event-meta/locations.d.ts +0 -5
  59. package/dist/src/booker/components/event-meta/locations.d.ts.map +0 -1
  60. package/dist/src/booker/components/event-meta/members.d.ts +0 -13
  61. package/dist/src/booker/components/event-meta/members.d.ts.map +0 -1
  62. package/dist/src/booker/components/event-meta/occurences.d.ts +0 -5
  63. package/dist/src/booker/components/event-meta/occurences.d.ts.map +0 -1
  64. package/dist/src/booker/components/event-meta/price-icon.d.ts +0 -5
  65. package/dist/src/booker/components/event-meta/price-icon.d.ts.map +0 -1
  66. package/dist/src/booker/components/event-meta/price.d.ts +0 -7
  67. package/dist/src/booker/components/event-meta/price.d.ts.map +0 -1
  68. package/dist/src/booker/components/event-meta/skeleton.d.ts +0 -2
  69. package/dist/src/booker/components/event-meta/skeleton.d.ts.map +0 -1
  70. package/dist/src/booker/components/event-meta/title.d.ts +0 -9
  71. package/dist/src/booker/components/event-meta/title.d.ts.map +0 -1
  72. package/dist/src/booker/components/event-meta.d.ts +0 -25
  73. package/dist/src/booker/components/event-meta.d.ts.map +0 -1
  74. package/dist/src/booker/components/external-redirect-interstitial.d.ts +0 -9
  75. package/dist/src/booker/components/external-redirect-interstitial.d.ts.map +0 -1
  76. package/dist/src/booker/components/form-builder/components.d.ts +0 -48
  77. package/dist/src/booker/components/form-builder/components.d.ts.map +0 -1
  78. package/dist/src/booker/components/form-builder/form-builder-field.d.ts +0 -46
  79. package/dist/src/booker/components/form-builder/form-builder-field.d.ts.map +0 -1
  80. package/dist/src/booker/components/having-trouble-finding-time.d.ts +0 -9
  81. package/dist/src/booker/components/having-trouble-finding-time.d.ts.map +0 -1
  82. package/dist/src/booker/components/header.d.ts +0 -18
  83. package/dist/src/booker/components/header.d.ts.map +0 -1
  84. package/dist/src/booker/components/instant-booking.d.ts +0 -16
  85. package/dist/src/booker/components/instant-booking.d.ts.map +0 -1
  86. package/dist/src/booker/components/out-of-office-in-slots.d.ts +0 -19
  87. package/dist/src/booker/components/out-of-office-in-slots.d.ts.map +0 -1
  88. package/dist/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.d.ts +0 -8
  89. package/dist/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.d.ts.map +0 -1
  90. package/dist/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.d.ts +0 -11
  91. package/dist/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.d.ts.map +0 -1
  92. package/dist/src/booker/components/overlay-calendar/overlay-calendar-switch.d.ts +0 -8
  93. package/dist/src/booker/components/overlay-calendar/overlay-calendar-switch.d.ts.map +0 -1
  94. package/dist/src/booker/components/overlay-calendar/overlay-calendar.d.ts +0 -28
  95. package/dist/src/booker/components/overlay-calendar/overlay-calendar.d.ts.map +0 -1
  96. package/dist/src/booker/components/overlay-calendar/store.d.ts +0 -12
  97. package/dist/src/booker/components/overlay-calendar/store.d.ts.map +0 -1
  98. package/dist/src/booker/components/pay-icon.d.ts +0 -5
  99. package/dist/src/booker/components/pay-icon.d.ts.map +0 -1
  100. package/dist/src/booker/components/price.d.ts +0 -9
  101. package/dist/src/booker/components/price.d.ts.map +0 -1
  102. package/dist/src/booker/components/redirect-to-instant-meeting-modal.d.ts +0 -8
  103. package/dist/src/booker/components/redirect-to-instant-meeting-modal.d.ts.map +0 -1
  104. package/dist/src/booker/components/scrollable-with-gradients.d.ts +0 -9
  105. package/dist/src/booker/components/scrollable-with-gradients.d.ts.map +0 -1
  106. package/dist/src/booker/components/seats-availability-text.d.ts +0 -18
  107. package/dist/src/booker/components/seats-availability-text.d.ts.map +0 -1
  108. package/dist/src/booker/components/section.d.ts +0 -17
  109. package/dist/src/booker/components/section.d.ts.map +0 -1
  110. package/dist/src/booker/components/slot-selection-modal-header.d.ts +0 -14
  111. package/dist/src/booker/components/slot-selection-modal-header.d.ts.map +0 -1
  112. package/dist/src/booker/components/time-format-toggle.d.ts +0 -4
  113. package/dist/src/booker/components/time-format-toggle.d.ts.map +0 -1
  114. package/dist/src/booker/components/unavailable.d.ts +0 -3
  115. package/dist/src/booker/components/unavailable.d.ts.map +0 -1
  116. package/dist/src/booker/components/unpublished-entity.d.ts +0 -8
  117. package/dist/src/booker/components/unpublished-entity.d.ts.map +0 -1
  118. package/dist/src/booker/components/verify-code-dialog.d.ts +0 -15
  119. package/dist/src/booker/components/verify-code-dialog.d.ts.map +0 -1
  120. package/dist/src/booker/config.d.ts +0 -86
  121. package/dist/src/booker/config.d.ts.map +0 -1
  122. package/dist/src/booker/framer-features.d.ts +0 -3
  123. package/dist/src/booker/framer-features.d.ts.map +0 -1
  124. package/dist/src/booker/hooks/embed-stubs.d.ts +0 -20
  125. package/dist/src/booker/hooks/embed-stubs.d.ts.map +0 -1
  126. package/dist/src/booker/hooks/use-available-time-slots.d.ts +0 -23
  127. package/dist/src/booker/hooks/use-available-time-slots.d.ts.map +0 -1
  128. package/dist/src/booker/hooks/use-booker-layout.d.ts +0 -51
  129. package/dist/src/booker/hooks/use-booker-layout.d.ts.map +0 -1
  130. package/dist/src/booker/hooks/use-booker-time.d.ts +0 -7
  131. package/dist/src/booker/hooks/use-booker-time.d.ts.map +0 -1
  132. package/dist/src/booker/hooks/use-booking-form.d.ts +0 -65
  133. package/dist/src/booker/hooks/use-booking-form.d.ts.map +0 -1
  134. package/dist/src/booker/hooks/use-bookings-types.d.ts +0 -10
  135. package/dist/src/booker/hooks/use-bookings-types.d.ts.map +0 -1
  136. package/dist/src/booker/hooks/use-check-overlap-with-overlay.d.ts +0 -11
  137. package/dist/src/booker/hooks/use-check-overlap-with-overlay.d.ts.map +0 -1
  138. package/dist/src/booker/hooks/use-initialize-week-start.d.ts +0 -2
  139. package/dist/src/booker/hooks/use-initialize-week-start.d.ts.map +0 -1
  140. package/dist/src/booker/hooks/use-is-quick-availability-check-feature-enabled.d.ts +0 -15
  141. package/dist/src/booker/hooks/use-is-quick-availability-check-feature-enabled.d.ts.map +0 -1
  142. package/dist/src/booker/hooks/use-local-set.d.ts +0 -12
  143. package/dist/src/booker/hooks/use-local-set.d.ts.map +0 -1
  144. package/dist/src/booker/hooks/use-non-empty-schedule-days.d.ts +0 -3
  145. package/dist/src/booker/hooks/use-non-empty-schedule-days.d.ts.map +0 -1
  146. package/dist/src/booker/hooks/use-overlay-calendar.d.ts +0 -23
  147. package/dist/src/booker/hooks/use-overlay-calendar.d.ts.map +0 -1
  148. package/dist/src/booker/hooks/use-should-show-arrows.d.ts +0 -8
  149. package/dist/src/booker/hooks/use-should-show-arrows.d.ts.map +0 -1
  150. package/dist/src/booker/hooks/use-skip-confirm-step.d.ts +0 -21
  151. package/dist/src/booker/hooks/use-skip-confirm-step.d.ts.map +0 -1
  152. package/dist/src/booker/hooks/use-slots-for-date.d.ts +0 -21
  153. package/dist/src/booker/hooks/use-slots-for-date.d.ts.map +0 -1
  154. package/dist/src/booker/hooks/use-stable-timezone.d.ts +0 -5
  155. package/dist/src/booker/hooks/use-stable-timezone.d.ts.map +0 -1
  156. package/dist/src/booker/hooks/use-times-for-schedule.d.ts +0 -27
  157. package/dist/src/booker/hooks/use-times-for-schedule.d.ts.map +0 -1
  158. package/dist/src/booker/store.d.ts +0 -200
  159. package/dist/src/booker/store.d.ts.map +0 -1
  160. package/dist/src/booker/types.d.ts +0 -118
  161. package/dist/src/booker/types.d.ts.map +0 -1
  162. package/dist/src/booker/use-slot-reservation-id.d.ts +0 -2
  163. package/dist/src/booker/use-slot-reservation-id.d.ts.map +0 -1
  164. package/dist/src/booker/utils/are-different-valid-months.d.ts +0 -2
  165. package/dist/src/booker/utils/are-different-valid-months.d.ts.map +0 -1
  166. package/dist/src/booker/utils/dates.d.ts +0 -26
  167. package/dist/src/booker/utils/dates.d.ts.map +0 -1
  168. package/dist/src/booker/utils/get-booker-timezone.d.ts +0 -5
  169. package/dist/src/booker/utils/get-booker-timezone.d.ts.map +0 -1
  170. package/dist/src/booker/utils/get-booking-duration.d.ts +0 -6
  171. package/dist/src/booker/utils/get-booking-duration.d.ts.map +0 -1
  172. package/dist/src/booker/utils/get-prefetch-month-count.d.ts +0 -3
  173. package/dist/src/booker/utils/get-prefetch-month-count.d.ts.map +0 -1
  174. package/dist/src/booker/utils/is-booking-dry-run.d.ts +0 -3
  175. package/dist/src/booker/utils/is-booking-dry-run.d.ts.map +0 -1
  176. package/dist/src/booker/utils/is-month-change.d.ts +0 -2
  177. package/dist/src/booker/utils/is-month-change.d.ts.map +0 -1
  178. package/dist/src/booker/utils/is-month-view-prefetch-enabled.d.ts +0 -2
  179. package/dist/src/booker/utils/is-month-view-prefetch-enabled.d.ts.map +0 -1
  180. package/dist/src/booker/utils/is-prefetch-next-month-enabled.d.ts +0 -2
  181. package/dist/src/booker/utils/is-prefetch-next-month-enabled.d.ts.map +0 -1
  182. package/dist/src/booker/utils/is-timeslot-available.d.ts +0 -19
  183. package/dist/src/booker/utils/is-timeslot-available.d.ts.map +0 -1
  184. package/dist/src/booker/utils/layout.d.ts +0 -2
  185. package/dist/src/booker/utils/layout.d.ts.map +0 -1
  186. package/dist/src/booker-embed/booker-embed.d.ts +0 -31
  187. package/dist/src/booker-embed/booker-embed.d.ts.map +0 -1
  188. package/dist/src/booker-embed/index.d.ts +0 -2
  189. package/dist/src/booker-embed/index.d.ts.map +0 -1
  190. package/dist/src/booker-embed/use-get-routing-form-url-props.d.ts +0 -29
  191. package/dist/src/booker-embed/use-get-routing-form-url-props.d.ts.map +0 -1
  192. package/dist/src/cal-provider/base-cal-provider.d.ts +0 -24
  193. package/dist/src/cal-provider/base-cal-provider.d.ts.map +0 -1
  194. package/dist/src/cal-provider/cal-o-auth-provider.d.ts +0 -19
  195. package/dist/src/cal-provider/cal-o-auth-provider.d.ts.map +0 -1
  196. package/dist/src/cal-provider/cal-provider.d.ts +0 -22
  197. package/dist/src/cal-provider/cal-provider.d.ts.map +0 -1
  198. package/dist/src/cal-provider/index.d.ts +0 -3
  199. package/dist/src/cal-provider/index.d.ts.map +0 -1
  200. package/dist/src/cal-provider/languages.d.ts +0 -55
  201. package/dist/src/cal-provider/languages.d.ts.map +0 -1
  202. package/dist/src/calendar-settings/index.d.ts +0 -2
  203. package/dist/src/calendar-settings/index.d.ts.map +0 -1
  204. package/dist/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.d.ts +0 -17
  205. package/dist/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.d.ts.map +0 -1
  206. package/dist/src/calendar-view/calendar-view-component.d.ts +0 -2
  207. package/dist/src/calendar-view/calendar-view-component.d.ts.map +0 -1
  208. package/dist/src/calendar-view/components/calendar.d.ts +0 -2
  209. package/dist/src/calendar-view/components/calendar.d.ts.map +0 -1
  210. package/dist/src/calendar-view/components/date-picker.d.ts +0 -82
  211. package/dist/src/calendar-view/components/date-picker.d.ts.map +0 -1
  212. package/dist/src/calendar-view/components/large-calendar.d.ts +0 -19
  213. package/dist/src/calendar-view/components/large-calendar.d.ts.map +0 -1
  214. package/dist/src/calendar-view/components/no-availability-dialog.d.ts +0 -19
  215. package/dist/src/calendar-view/components/no-availability-dialog.d.ts.map +0 -1
  216. package/dist/src/calendar-view/event-type-calendar-view-component.d.ts +0 -7
  217. package/dist/src/calendar-view/event-type-calendar-view-component.d.ts.map +0 -1
  218. package/dist/src/calendar-view/index.d.ts +0 -2
  219. package/dist/src/calendar-view/index.d.ts.map +0 -1
  220. package/dist/src/calendar-view/scheduler/components/calendar.d.ts +0 -4
  221. package/dist/src/calendar-view/scheduler/components/calendar.d.ts.map +0 -1
  222. package/dist/src/calendar-view/scheduler/components/current-time/index.d.ts +0 -6
  223. package/dist/src/calendar-view/scheduler/components/current-time/index.d.ts.map +0 -1
  224. package/dist/src/calendar-view/scheduler/components/date-values/index.d.ts +0 -12
  225. package/dist/src/calendar-view/scheduler/components/date-values/index.d.ts.map +0 -1
  226. package/dist/src/calendar-view/scheduler/components/default-out-of-office-slot.d.ts +0 -3
  227. package/dist/src/calendar-view/scheduler/components/default-out-of-office-slot.d.ts.map +0 -1
  228. package/dist/src/calendar-view/scheduler/components/event/all-day-events.d.ts +0 -108
  229. package/dist/src/calendar-view/scheduler/components/event/all-day-events.d.ts.map +0 -1
  230. package/dist/src/calendar-view/scheduler/components/event/empty.d.ts +0 -18
  231. package/dist/src/calendar-view/scheduler/components/event/empty.d.ts.map +0 -1
  232. package/dist/src/calendar-view/scheduler/components/event/event-list.d.ts +0 -7
  233. package/dist/src/calendar-view/scheduler/components/event/event-list.d.ts.map +0 -1
  234. package/dist/src/calendar-view/scheduler/components/event/event.d.ts +0 -14
  235. package/dist/src/calendar-view/scheduler/components/event/event.d.ts.map +0 -1
  236. package/dist/src/calendar-view/scheduler/components/event/index.d.ts +0 -5
  237. package/dist/src/calendar-view/scheduler/components/event/index.d.ts.map +0 -1
  238. package/dist/src/calendar-view/scheduler/components/grid/index.d.ts +0 -10
  239. package/dist/src/calendar-view/scheduler/components/grid/index.d.ts.map +0 -1
  240. package/dist/src/calendar-view/scheduler/components/heading/index.d.ts +0 -2
  241. package/dist/src/calendar-view/scheduler/components/heading/index.d.ts.map +0 -1
  242. package/dist/src/calendar-view/scheduler/components/heading/scheduler-heading.d.ts +0 -2
  243. package/dist/src/calendar-view/scheduler/components/heading/scheduler-heading.d.ts.map +0 -1
  244. package/dist/src/calendar-view/scheduler/components/horizontal-lines/index.d.ts +0 -9
  245. package/dist/src/calendar-view/scheduler/components/horizontal-lines/index.d.ts.map +0 -1
  246. package/dist/src/calendar-view/scheduler/components/spinner/spinner.d.ts +0 -4
  247. package/dist/src/calendar-view/scheduler/components/spinner/spinner.d.ts.map +0 -1
  248. package/dist/src/calendar-view/scheduler/components/vertical-lines/index.d.ts +0 -7
  249. package/dist/src/calendar-view/scheduler/components/vertical-lines/index.d.ts.map +0 -1
  250. package/dist/src/calendar-view/scheduler/state/store.d.ts +0 -7
  251. package/dist/src/calendar-view/scheduler/state/store.d.ts.map +0 -1
  252. package/dist/src/calendar-view/scheduler/types/common.d.ts +0 -2
  253. package/dist/src/calendar-view/scheduler/types/common.d.ts.map +0 -1
  254. package/dist/src/calendar-view/scheduler/types/events.d.ts +0 -20
  255. package/dist/src/calendar-view/scheduler/types/events.d.ts.map +0 -1
  256. package/dist/src/calendar-view/scheduler/types/state.d.ts +0 -93
  257. package/dist/src/calendar-view/scheduler/types/state.d.ts.map +0 -1
  258. package/dist/src/calendar-view/scheduler/utils/index.d.ts +0 -20
  259. package/dist/src/calendar-view/scheduler/utils/index.d.ts.map +0 -1
  260. package/dist/src/calendar-view/scheduler/utils/overlap.d.ts +0 -20
  261. package/dist/src/calendar-view/scheduler/utils/overlap.d.ts.map +0 -1
  262. package/dist/src/calendar-view/wrappers/calendar-view-platform-wrapper.d.ts +0 -22
  263. package/dist/src/calendar-view/wrappers/calendar-view-platform-wrapper.d.ts.map +0 -1
  264. package/dist/src/components/atoms-wrapper.d.ts +0 -6
  265. package/dist/src/components/atoms-wrapper.d.ts.map +0 -1
  266. package/dist/src/components/ui/address-input.d.ts +0 -11
  267. package/dist/src/components/ui/address-input.d.ts.map +0 -1
  268. package/dist/src/components/ui/alert.d.ts +0 -16
  269. package/dist/src/components/ui/alert.d.ts.map +0 -1
  270. package/dist/src/components/ui/app-list-card.d.ts +0 -30
  271. package/dist/src/components/ui/app-list-card.d.ts.map +0 -1
  272. package/dist/src/components/ui/avatar-group.d.ts +0 -14
  273. package/dist/src/components/ui/avatar-group.d.ts.map +0 -1
  274. package/dist/src/components/ui/avatar.d.ts +0 -18
  275. package/dist/src/components/ui/avatar.d.ts.map +0 -1
  276. package/dist/src/components/ui/badge.d.ts +0 -553
  277. package/dist/src/components/ui/badge.d.ts.map +0 -1
  278. package/dist/src/components/ui/button-group.d.ts +0 -9
  279. package/dist/src/components/ui/button-group.d.ts.map +0 -1
  280. package/dist/src/components/ui/button.d.ts +0 -37
  281. package/dist/src/components/ui/button.d.ts.map +0 -1
  282. package/dist/src/components/ui/calendar-switch.d.ts +0 -22
  283. package/dist/src/components/ui/calendar-switch.d.ts.map +0 -1
  284. package/dist/src/components/ui/checkbox.d.ts +0 -15
  285. package/dist/src/components/ui/checkbox.d.ts.map +0 -1
  286. package/dist/src/components/ui/checked-team-select.d.ts +0 -43
  287. package/dist/src/components/ui/checked-team-select.d.ts.map +0 -1
  288. package/dist/src/components/ui/confirmation-dialog-content.d.ts +0 -20
  289. package/dist/src/components/ui/confirmation-dialog-content.d.ts.map +0 -1
  290. package/dist/src/components/ui/controlled-dialog.d.ts +0 -17
  291. package/dist/src/components/ui/controlled-dialog.d.ts.map +0 -1
  292. package/dist/src/components/ui/dialog.d.ts +0 -38
  293. package/dist/src/components/ui/dialog.d.ts.map +0 -1
  294. package/dist/src/components/ui/disconnect-calendar-integration.d.ts +0 -12
  295. package/dist/src/components/ui/disconnect-calendar-integration.d.ts.map +0 -1
  296. package/dist/src/components/ui/divider.d.ts +0 -3
  297. package/dist/src/components/ui/divider.d.ts.map +0 -1
  298. package/dist/src/components/ui/dropdown.d.ts +0 -40
  299. package/dist/src/components/ui/dropdown.d.ts.map +0 -1
  300. package/dist/src/components/ui/editable-heading.d.ts +0 -6
  301. package/dist/src/components/ui/editable-heading.d.ts.map +0 -1
  302. package/dist/src/components/ui/empty-screen.d.ts +0 -18
  303. package/dist/src/components/ui/empty-screen.d.ts.map +0 -1
  304. package/dist/src/components/ui/form.d.ts +0 -11
  305. package/dist/src/components/ui/form.d.ts.map +0 -1
  306. package/dist/src/components/ui/icon.d.ts +0 -42
  307. package/dist/src/components/ui/icon.d.ts.map +0 -1
  308. package/dist/src/components/ui/icons.d.ts +0 -21
  309. package/dist/src/components/ui/icons.d.ts.map +0 -1
  310. package/dist/src/components/ui/info-badge.d.ts +0 -4
  311. package/dist/src/components/ui/info-badge.d.ts.map +0 -1
  312. package/dist/src/components/ui/label.d.ts +0 -2
  313. package/dist/src/components/ui/label.d.ts.map +0 -1
  314. package/dist/src/components/ui/navigation.d.ts +0 -37
  315. package/dist/src/components/ui/navigation.d.ts.map +0 -1
  316. package/dist/src/components/ui/popover.d.ts +0 -17
  317. package/dist/src/components/ui/popover.d.ts.map +0 -1
  318. package/dist/src/components/ui/radio-area-group.d.ts +0 -20
  319. package/dist/src/components/ui/radio-area-group.d.ts.map +0 -1
  320. package/dist/src/components/ui/radio.d.ts +0 -24
  321. package/dist/src/components/ui/radio.d.ts.map +0 -1
  322. package/dist/src/components/ui/react-select-components.d.ts +0 -29
  323. package/dist/src/components/ui/react-select-components.d.ts.map +0 -1
  324. package/dist/src/components/ui/select.d.ts +0 -26
  325. package/dist/src/components/ui/select.d.ts.map +0 -1
  326. package/dist/src/components/ui/settings-header.d.ts +0 -21
  327. package/dist/src/components/ui/settings-header.d.ts.map +0 -1
  328. package/dist/src/components/ui/settings-toggle.d.ts +0 -23
  329. package/dist/src/components/ui/settings-toggle.d.ts.map +0 -1
  330. package/dist/src/components/ui/shell.d.ts +0 -31
  331. package/dist/src/components/ui/shell.d.ts.map +0 -1
  332. package/dist/src/components/ui/show-toast.d.ts +0 -13
  333. package/dist/src/components/ui/show-toast.d.ts.map +0 -1
  334. package/dist/src/components/ui/skeleton.d.ts +0 -31
  335. package/dist/src/components/ui/skeleton.d.ts.map +0 -1
  336. package/dist/src/components/ui/switch.d.ts +0 -5
  337. package/dist/src/components/ui/switch.d.ts.map +0 -1
  338. package/dist/src/components/ui/text-field.d.ts +0 -99
  339. package/dist/src/components/ui/text-field.d.ts.map +0 -1
  340. package/dist/src/components/ui/toast.d.ts +0 -13
  341. package/dist/src/components/ui/toast.d.ts.map +0 -1
  342. package/dist/src/components/ui/toaster.d.ts +0 -2
  343. package/dist/src/components/ui/toaster.d.ts.map +0 -1
  344. package/dist/src/components/ui/toggle-group.d.ts +0 -20
  345. package/dist/src/components/ui/toggle-group.d.ts.map +0 -1
  346. package/dist/src/components/ui/tooltip.d.ts +0 -29
  347. package/dist/src/components/ui/tooltip.d.ts.map +0 -1
  348. package/dist/src/components/ui/use-toast.d.ts +0 -45
  349. package/dist/src/components/ui/use-toast.d.ts.map +0 -1
  350. package/dist/src/components/ui/user-avatar-group-with-org.d.ts +0 -18
  351. package/dist/src/components/ui/user-avatar-group-with-org.d.ts.map +0 -1
  352. package/dist/src/connect/apple/apple-connect.d.ts +0 -4
  353. package/dist/src/connect/apple/apple-connect.d.ts.map +0 -1
  354. package/dist/src/connect/components/disconnect-integration-modal.d.ts +0 -19
  355. package/dist/src/connect/components/disconnect-integration-modal.d.ts.map +0 -1
  356. package/dist/src/connect/components/office365-account-dialog.d.ts +0 -12
  357. package/dist/src/connect/components/office365-account-dialog.d.ts.map +0 -1
  358. package/dist/src/connect/conferencing-apps/components/app-list.d.ts +0 -65
  359. package/dist/src/connect/conferencing-apps/components/app-list.d.ts.map +0 -1
  360. package/dist/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.d.ts +0 -29
  361. package/dist/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.d.ts.map +0 -1
  362. package/dist/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.d.ts +0 -10
  363. package/dist/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.d.ts.map +0 -1
  364. package/dist/src/connect/conferencing-apps/hooks/use-atom-get-event-types.d.ts +0 -10
  365. package/dist/src/connect/conferencing-apps/hooks/use-atom-get-event-types.d.ts.map +0 -1
  366. package/dist/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.d.ts +0 -4
  367. package/dist/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.d.ts.map +0 -1
  368. package/dist/src/connect/conferencing-apps/hooks/use-connect.d.ts +0 -22
  369. package/dist/src/connect/conferencing-apps/hooks/use-connect.d.ts.map +0 -1
  370. package/dist/src/connect/conferencing-apps/hooks/use-delete-credential.d.ts +0 -9
  371. package/dist/src/connect/conferencing-apps/hooks/use-delete-credential.d.ts.map +0 -1
  372. package/dist/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.d.ts +0 -6
  373. package/dist/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.d.ts.map +0 -1
  374. package/dist/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.d.ts +0 -9
  375. package/dist/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.d.ts.map +0 -1
  376. package/dist/src/connect/google/gcal-connect.d.ts +0 -4
  377. package/dist/src/connect/google/gcal-connect.d.ts.map +0 -1
  378. package/dist/src/connect/index.d.ts +0 -4
  379. package/dist/src/connect/index.d.ts.map +0 -1
  380. package/dist/src/connect/o-auth-connect.d.ts +0 -25
  381. package/dist/src/connect/o-auth-connect.d.ts.map +0 -1
  382. package/dist/src/connect/outlook/outlook-connect.d.ts +0 -4
  383. package/dist/src/connect/outlook/outlook-connect.d.ts.map +0 -1
  384. package/dist/src/connect/stripe/stripe-connect.d.ts +0 -22
  385. package/dist/src/connect/stripe/stripe-connect.d.ts.map +0 -1
  386. package/dist/src/constants/api.d.ts +0 -44
  387. package/dist/src/constants/api.d.ts.map +0 -1
  388. package/dist/src/constants/app.d.ts +0 -19
  389. package/dist/src/constants/app.d.ts.map +0 -1
  390. package/dist/src/constants/apps.d.ts +0 -32
  391. package/dist/src/constants/apps.d.ts.map +0 -1
  392. package/dist/src/constants/index.d.ts +0 -4
  393. package/dist/src/constants/index.d.ts.map +0 -1
  394. package/dist/src/constants/styles.d.ts +0 -2
  395. package/dist/src/constants/styles.d.ts.map +0 -1
  396. package/dist/src/contracts/api.d.ts +0 -27
  397. package/dist/src/contracts/api.d.ts.map +0 -1
  398. package/dist/src/contracts/apps.d.ts +0 -21
  399. package/dist/src/contracts/apps.d.ts.map +0 -1
  400. package/dist/src/contracts/booker.d.ts +0 -255
  401. package/dist/src/contracts/booker.d.ts.map +0 -1
  402. package/dist/src/contracts/bookings.d.ts +0 -154
  403. package/dist/src/contracts/bookings.d.ts.map +0 -1
  404. package/dist/src/contracts/calendars.d.ts +0 -82
  405. package/dist/src/contracts/calendars.d.ts.map +0 -1
  406. package/dist/src/contracts/event-types.d.ts +0 -225
  407. package/dist/src/contracts/event-types.d.ts.map +0 -1
  408. package/dist/src/contracts/index.d.ts +0 -13
  409. package/dist/src/contracts/index.d.ts.map +0 -1
  410. package/dist/src/contracts/oauth.d.ts +0 -2
  411. package/dist/src/contracts/oauth.d.ts.map +0 -1
  412. package/dist/src/contracts/organizations.d.ts +0 -15
  413. package/dist/src/contracts/organizations.d.ts.map +0 -1
  414. package/dist/src/contracts/schedules.d.ts +0 -92
  415. package/dist/src/contracts/schedules.d.ts.map +0 -1
  416. package/dist/src/contracts/slots.d.ts +0 -57
  417. package/dist/src/contracts/slots.d.ts.map +0 -1
  418. package/dist/src/contracts/teams.d.ts +0 -31
  419. package/dist/src/contracts/teams.d.ts.map +0 -1
  420. package/dist/src/contracts/user.d.ts +0 -25
  421. package/dist/src/contracts/user.d.ts.map +0 -1
  422. package/dist/src/create-schedule/create-schedule-form.d.ts +0 -18
  423. package/dist/src/create-schedule/create-schedule-form.d.ts.map +0 -1
  424. package/dist/src/create-schedule/index.d.ts +0 -2
  425. package/dist/src/create-schedule/index.d.ts.map +0 -1
  426. package/dist/src/create-schedule/wrappers/create-schedule-platform-wrapper.d.ts +0 -15
  427. package/dist/src/create-schedule/wrappers/create-schedule-platform-wrapper.d.ts.map +0 -1
  428. package/dist/src/destination-calendar/components/destination-calendar-selector.d.ts +0 -10
  429. package/dist/src/destination-calendar/components/destination-calendar-selector.d.ts.map +0 -1
  430. package/dist/src/destination-calendar/destination-calendar-selector.d.ts +0 -17
  431. package/dist/src/destination-calendar/destination-calendar-selector.d.ts.map +0 -1
  432. package/dist/src/destination-calendar/destination-calendar.d.ts +0 -21
  433. package/dist/src/destination-calendar/destination-calendar.d.ts.map +0 -1
  434. package/dist/src/destination-calendar/destination-reminder-selector.d.ts +0 -9
  435. package/dist/src/destination-calendar/destination-reminder-selector.d.ts.map +0 -1
  436. package/dist/src/destination-calendar/index.d.ts +0 -2
  437. package/dist/src/destination-calendar/index.d.ts.map +0 -1
  438. package/dist/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.d.ts +0 -8
  439. package/dist/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.d.ts.map +0 -1
  440. package/dist/src/event-types/components/assign-all-team-members.d.ts +0 -14
  441. package/dist/src/event-types/components/assign-all-team-members.d.ts.map +0 -1
  442. package/dist/src/event-types/components/bulk-edit-default-for-events-modal.d.ts +0 -29
  443. package/dist/src/event-types/components/bulk-edit-default-for-events-modal.d.ts.map +0 -1
  444. package/dist/src/event-types/components/children-event-type-select.d.ts +0 -34
  445. package/dist/src/event-types/components/children-event-type-select.d.ts.map +0 -1
  446. package/dist/src/event-types/components/create-event-type-form.d.ts +0 -29
  447. package/dist/src/event-types/components/create-event-type-form.d.ts.map +0 -1
  448. package/dist/src/event-types/components/event-team-assignment-tab.d.ts +0 -2
  449. package/dist/src/event-types/components/event-team-assignment-tab.d.ts.map +0 -1
  450. package/dist/src/event-types/components/event-type-list-item.d.ts +0 -12
  451. package/dist/src/event-types/components/event-type-list-item.d.ts.map +0 -1
  452. package/dist/src/event-types/components/host-edit-dialogs.d.ts +0 -40
  453. package/dist/src/event-types/components/host-edit-dialogs.d.ts.map +0 -1
  454. package/dist/src/event-types/components/learn-more-link.d.ts +0 -15
  455. package/dist/src/event-types/components/learn-more-link.d.ts.map +0 -1
  456. package/dist/src/event-types/components/managed-event-dialog.d.ts +0 -13
  457. package/dist/src/event-types/components/managed-event-dialog.d.ts.map +0 -1
  458. package/dist/src/event-types/components/recurring-event-controller.d.ts +0 -34
  459. package/dist/src/event-types/components/recurring-event-controller.d.ts.map +0 -1
  460. package/dist/src/event-types/components/tabs/event-recurring-tab.d.ts +0 -14
  461. package/dist/src/event-types/components/tabs/event-recurring-tab.d.ts.map +0 -1
  462. package/dist/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.d.ts +0 -9
  463. package/dist/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.d.ts.map +0 -1
  464. package/dist/src/event-types/components/team-assignment/children-event-types-list.d.ts +0 -11
  465. package/dist/src/event-types/components/team-assignment/children-event-types-list.d.ts.map +0 -1
  466. package/dist/src/event-types/components/team-assignment/children-event-types.d.ts +0 -18
  467. package/dist/src/event-types/components/team-assignment/children-event-types.d.ts.map +0 -1
  468. package/dist/src/event-types/components/team-assignment/event-team-assignment-tab.d.ts +0 -58
  469. package/dist/src/event-types/components/team-assignment/event-team-assignment-tab.d.ts.map +0 -1
  470. package/dist/src/event-types/components/team-assignment/fixed-hosts.d.ts +0 -20
  471. package/dist/src/event-types/components/team-assignment/fixed-hosts.d.ts.map +0 -1
  472. package/dist/src/event-types/components/team-assignment/hosts.d.ts +0 -19
  473. package/dist/src/event-types/components/team-assignment/hosts.d.ts.map +0 -1
  474. package/dist/src/event-types/components/team-assignment/round-robin-hosts.d.ts +0 -26
  475. package/dist/src/event-types/components/team-assignment/round-robin-hosts.d.ts.map +0 -1
  476. package/dist/src/event-types/components/team-event-type-form.d.ts +0 -27
  477. package/dist/src/event-types/components/team-event-type-form.d.ts.map +0 -1
  478. package/dist/src/event-types/components/weight-description.d.ts +0 -6
  479. package/dist/src/event-types/components/weight-description.d.ts.map +0 -1
  480. package/dist/src/event-types/hooks/use-add-verified-email.d.ts +0 -15
  481. package/dist/src/event-types/hooks/use-add-verified-email.d.ts.map +0 -1
  482. package/dist/src/event-types/hooks/use-apps-data-stub.d.ts +0 -15
  483. package/dist/src/event-types/hooks/use-apps-data-stub.d.ts.map +0 -1
  484. package/dist/src/event-types/hooks/use-assign-all-managed-warning.d.ts +0 -17
  485. package/dist/src/event-types/hooks/use-assign-all-managed-warning.d.ts.map +0 -1
  486. package/dist/src/event-types/hooks/use-atom-event-type-app-integration.d.ts +0 -21
  487. package/dist/src/event-types/hooks/use-atom-event-type-app-integration.d.ts.map +0 -1
  488. package/dist/src/event-types/hooks/use-atom-event-type-by-id.d.ts +0 -4
  489. package/dist/src/event-types/hooks/use-atom-event-type-by-id.d.ts.map +0 -1
  490. package/dist/src/event-types/hooks/use-atom-event-type-payment-info.d.ts +0 -7
  491. package/dist/src/event-types/hooks/use-atom-event-type-payment-info.d.ts.map +0 -1
  492. package/dist/src/event-types/hooks/use-atom-get-all-event-types.d.ts +0 -9
  493. package/dist/src/event-types/hooks/use-atom-get-all-event-types.d.ts.map +0 -1
  494. package/dist/src/event-types/hooks/use-atom-host-schedules.d.ts +0 -14
  495. package/dist/src/event-types/hooks/use-atom-host-schedules.d.ts.map +0 -1
  496. package/dist/src/event-types/hooks/use-atom-update-event-type.d.ts +0 -10
  497. package/dist/src/event-types/hooks/use-atom-update-event-type.d.ts.map +0 -1
  498. package/dist/src/event-types/hooks/use-event-type-form.d.ts +0 -15
  499. package/dist/src/event-types/hooks/use-event-type-form.d.ts.map +0 -1
  500. package/dist/src/event-types/hooks/use-get-verified-emails.d.ts +0 -3
  501. package/dist/src/event-types/hooks/use-get-verified-emails.d.ts.map +0 -1
  502. package/dist/src/event-types/hooks/use-handle-route-change.d.ts +0 -15
  503. package/dist/src/event-types/hooks/use-handle-route-change.d.ts.map +0 -1
  504. package/dist/src/event-types/hooks/use-locked-fields-manager-stub.d.ts +0 -29
  505. package/dist/src/event-types/hooks/use-locked-fields-manager-stub.d.ts.map +0 -1
  506. package/dist/src/event-types/hooks/use-platform-tabs-navigations.d.ts +0 -16
  507. package/dist/src/event-types/hooks/use-platform-tabs-navigations.d.ts.map +0 -1
  508. package/dist/src/event-types/hooks/use-tabs-navigations.d.ts +0 -40
  509. package/dist/src/event-types/hooks/use-tabs-navigations.d.ts.map +0 -1
  510. package/dist/src/event-types/hooks/use-team-event-assignment.d.ts +0 -65
  511. package/dist/src/event-types/hooks/use-team-event-assignment.d.ts.map +0 -1
  512. package/dist/src/event-types/hooks/use-team-members-with-segment-platform.d.ts +0 -36
  513. package/dist/src/event-types/hooks/use-team-members-with-segment-platform.d.ts.map +0 -1
  514. package/dist/src/event-types/index.d.ts +0 -2
  515. package/dist/src/event-types/index.d.ts.map +0 -1
  516. package/dist/src/event-types/lib/format-event-type-duration.d.ts +0 -13
  517. package/dist/src/event-types/lib/format-event-type-duration.d.ts.map +0 -1
  518. package/dist/src/event-types/payments/payment-form.d.ts +0 -9
  519. package/dist/src/event-types/payments/payment-form.d.ts.map +0 -1
  520. package/dist/src/event-types/payments/payment-page-types.d.ts +0 -48
  521. package/dist/src/event-types/payments/payment-page-types.d.ts.map +0 -1
  522. package/dist/src/event-types/payments/payment.d.ts +0 -39
  523. package/dist/src/event-types/payments/payment.d.ts.map +0 -1
  524. package/dist/src/event-types/payments/stripe-payment-form.d.ts +0 -9
  525. package/dist/src/event-types/payments/stripe-payment-form.d.ts.map +0 -1
  526. package/dist/src/event-types/types.d.ts +0 -16
  527. package/dist/src/event-types/types.d.ts.map +0 -1
  528. package/dist/src/event-types/wrappers/create-event-type-platform-wrapper.d.ts +0 -20
  529. package/dist/src/event-types/wrappers/create-event-type-platform-wrapper.d.ts.map +0 -1
  530. package/dist/src/event-types/wrappers/event-recurring-tab-platform-wrapper.d.ts +0 -4
  531. package/dist/src/event-types/wrappers/event-recurring-tab-platform-wrapper.d.ts.map +0 -1
  532. package/dist/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.d.ts +0 -4
  533. package/dist/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.d.ts.map +0 -1
  534. package/dist/src/event-types/wrappers/event-type-platform-wrapper.d.ts +0 -28
  535. package/dist/src/event-types/wrappers/event-type-platform-wrapper.d.ts.map +0 -1
  536. package/dist/src/event-types/wrappers/list-event-types-platform-wrapper.d.ts +0 -6
  537. package/dist/src/event-types/wrappers/list-event-types-platform-wrapper.d.ts.map +0 -1
  538. package/dist/src/event-types/wrappers/types.d.ts +0 -4
  539. package/dist/src/event-types/wrappers/types.d.ts.map +0 -1
  540. package/dist/src/hooks/bookings/use-booking.d.ts +0 -2
  541. package/dist/src/hooks/bookings/use-booking.d.ts.map +0 -1
  542. package/dist/src/hooks/bookings/use-bookings.d.ts +0 -6
  543. package/dist/src/hooks/bookings/use-bookings.d.ts.map +0 -1
  544. package/dist/src/hooks/bookings/use-cancel-booking.d.ts +0 -23
  545. package/dist/src/hooks/bookings/use-cancel-booking.d.ts.map +0 -1
  546. package/dist/src/hooks/bookings/use-create-booking.d.ts +0 -11
  547. package/dist/src/hooks/bookings/use-create-booking.d.ts.map +0 -1
  548. package/dist/src/hooks/bookings/use-create-instant-booking.d.ts +0 -10
  549. package/dist/src/hooks/bookings/use-create-instant-booking.d.ts.map +0 -1
  550. package/dist/src/hooks/bookings/use-create-recurring-booking.d.ts +0 -10
  551. package/dist/src/hooks/bookings/use-create-recurring-booking.d.ts.map +0 -1
  552. package/dist/src/hooks/bookings/use-get-booking-for-reschedule.d.ts +0 -10
  553. package/dist/src/hooks/bookings/use-get-booking-for-reschedule.d.ts.map +0 -1
  554. package/dist/src/hooks/bookings/use-handle-book-event.d.ts +0 -26
  555. package/dist/src/hooks/bookings/use-handle-book-event.d.ts.map +0 -1
  556. package/dist/src/hooks/calendars/use-add-selected-calendar.d.ts +0 -21
  557. package/dist/src/hooks/calendars/use-add-selected-calendar.d.ts.map +0 -1
  558. package/dist/src/hooks/calendars/use-delete-calendar-credentials.d.ts +0 -22
  559. package/dist/src/hooks/calendars/use-delete-calendar-credentials.d.ts.map +0 -1
  560. package/dist/src/hooks/calendars/use-remove-selected-calendar.d.ts +0 -21
  561. package/dist/src/hooks/calendars/use-remove-selected-calendar.d.ts.map +0 -1
  562. package/dist/src/hooks/calendars/use-update-destination-calendars.d.ts +0 -21
  563. package/dist/src/hooks/calendars/use-update-destination-calendars.d.ts.map +0 -1
  564. package/dist/src/hooks/connect/use-check.d.ts +0 -21
  565. package/dist/src/hooks/connect/use-check.d.ts.map +0 -1
  566. package/dist/src/hooks/connect/use-connect.d.ts +0 -18
  567. package/dist/src/hooks/connect/use-connect.d.ts.map +0 -1
  568. package/dist/src/hooks/event-types/private/use-create-event-type-form.d.ts +0 -8
  569. package/dist/src/hooks/event-types/private/use-create-event-type-form.d.ts.map +0 -1
  570. package/dist/src/hooks/event-types/private/use-create-event-type.d.ts +0 -9
  571. package/dist/src/hooks/event-types/private/use-create-event-type.d.ts.map +0 -1
  572. package/dist/src/hooks/event-types/private/use-create-team-event-type.d.ts +0 -13
  573. package/dist/src/hooks/event-types/private/use-create-team-event-type.d.ts.map +0 -1
  574. package/dist/src/hooks/event-types/private/use-delete-event-type-by-id.d.ts +0 -9
  575. package/dist/src/hooks/event-types/private/use-delete-event-type-by-id.d.ts.map +0 -1
  576. package/dist/src/hooks/event-types/private/use-delete-team-event-type-by-id.d.ts +0 -15
  577. package/dist/src/hooks/event-types/private/use-delete-team-event-type-by-id.d.ts.map +0 -1
  578. package/dist/src/hooks/event-types/private/use-event-type-by-id.d.ts +0 -4
  579. package/dist/src/hooks/event-types/private/use-event-type-by-id.d.ts.map +0 -1
  580. package/dist/src/hooks/event-types/public/use-atom-get-public-event.d.ts +0 -13
  581. package/dist/src/hooks/event-types/public/use-atom-get-public-event.d.ts.map +0 -1
  582. package/dist/src/hooks/event-types/public/use-event-type.d.ts +0 -5
  583. package/dist/src/hooks/event-types/public/use-event-type.d.ts.map +0 -1
  584. package/dist/src/hooks/event-types/public/use-event-types.d.ts +0 -4
  585. package/dist/src/hooks/event-types/public/use-event-types.d.ts.map +0 -1
  586. package/dist/src/hooks/event-types/public/use-team-event-type.d.ts +0 -4
  587. package/dist/src/hooks/event-types/public/use-team-event-type.d.ts.map +0 -1
  588. package/dist/src/hooks/event-types/public/use-team-event-types.d.ts +0 -4
  589. package/dist/src/hooks/event-types/public/use-team-event-types.d.ts.map +0 -1
  590. package/dist/src/hooks/organizations/bookings/use-organization-bookings.d.ts +0 -4
  591. package/dist/src/hooks/organizations/bookings/use-organization-bookings.d.ts.map +0 -1
  592. package/dist/src/hooks/organizations/bookings/use-organization-user-bookings.d.ts +0 -4
  593. package/dist/src/hooks/organizations/bookings/use-organization-user-bookings.d.ts.map +0 -1
  594. package/dist/src/hooks/schedules/types.d.ts +0 -37
  595. package/dist/src/hooks/schedules/types.d.ts.map +0 -1
  596. package/dist/src/hooks/schedules/use-atom-create-schedule.d.ts +0 -9
  597. package/dist/src/hooks/schedules/use-atom-create-schedule.d.ts.map +0 -1
  598. package/dist/src/hooks/schedules/use-atom-duplicate-schedule.d.ts +0 -11
  599. package/dist/src/hooks/schedules/use-atom-duplicate-schedule.d.ts.map +0 -1
  600. package/dist/src/hooks/schedules/use-atom-get-all-schedules.d.ts +0 -9
  601. package/dist/src/hooks/schedules/use-atom-get-all-schedules.d.ts.map +0 -1
  602. package/dist/src/hooks/schedules/use-atom-schedule.d.ts +0 -8
  603. package/dist/src/hooks/schedules/use-atom-schedule.d.ts.map +0 -1
  604. package/dist/src/hooks/schedules/use-atom-update-schedule.d.ts +0 -11
  605. package/dist/src/hooks/schedules/use-atom-update-schedule.d.ts.map +0 -1
  606. package/dist/src/hooks/schedules/use-delete-schedule.d.ts +0 -11
  607. package/dist/src/hooks/schedules/use-delete-schedule.d.ts.map +0 -1
  608. package/dist/src/hooks/schedules/use-ensure-default-schedule.d.ts +0 -3
  609. package/dist/src/hooks/schedules/use-ensure-default-schedule.d.ts.map +0 -1
  610. package/dist/src/hooks/schedules/use-schedule.d.ts +0 -7
  611. package/dist/src/hooks/schedules/use-schedule.d.ts.map +0 -1
  612. package/dist/src/hooks/schedules/use-schedules.d.ts +0 -7
  613. package/dist/src/hooks/schedules/use-schedules.d.ts.map +0 -1
  614. package/dist/src/hooks/schedules/use-update-schedule.d.ts +0 -10
  615. package/dist/src/hooks/schedules/use-update-schedule.d.ts.map +0 -1
  616. package/dist/src/hooks/stripe/use-check.d.ts +0 -22
  617. package/dist/src/hooks/stripe/use-check.d.ts.map +0 -1
  618. package/dist/src/hooks/stripe/use-connect.d.ts +0 -5
  619. package/dist/src/hooks/stripe/use-connect.d.ts.map +0 -1
  620. package/dist/src/hooks/teams/use-team-members.d.ts +0 -10
  621. package/dist/src/hooks/teams/use-team-members.d.ts.map +0 -1
  622. package/dist/src/hooks/teams/use-teams.d.ts +0 -7
  623. package/dist/src/hooks/teams/use-teams.d.ts.map +0 -1
  624. package/dist/src/hooks/use-api-keys.d.ts +0 -9
  625. package/dist/src/hooks/use-api-keys.d.ts.map +0 -1
  626. package/dist/src/hooks/use-atoms-context.d.ts +0 -32
  627. package/dist/src/hooks/use-atoms-context.d.ts.map +0 -1
  628. package/dist/src/hooks/use-atoms-locale.d.ts +0 -3
  629. package/dist/src/hooks/use-atoms-locale.d.ts.map +0 -1
  630. package/dist/src/hooks/use-available-slots.d.ts +0 -7
  631. package/dist/src/hooks/use-available-slots.d.ts.map +0 -1
  632. package/dist/src/hooks/use-calendars-busy-times.d.ts +0 -12
  633. package/dist/src/hooks/use-calendars-busy-times.d.ts.map +0 -1
  634. package/dist/src/hooks/use-connected-calendars.d.ts +0 -6
  635. package/dist/src/hooks/use-connected-calendars.d.ts.map +0 -1
  636. package/dist/src/hooks/use-delete-selected-slot.d.ts +0 -8
  637. package/dist/src/hooks/use-delete-selected-slot.d.ts.map +0 -1
  638. package/dist/src/hooks/use-event-types-list.d.ts +0 -18
  639. package/dist/src/hooks/use-event-types-list.d.ts.map +0 -1
  640. package/dist/src/hooks/use-get-city-timezones.d.ts +0 -10
  641. package/dist/src/hooks/use-get-city-timezones.d.ts.map +0 -1
  642. package/dist/src/hooks/use-is-platform-booker-embed.d.ts +0 -2
  643. package/dist/src/hooks/use-is-platform-booker-embed.d.ts.map +0 -1
  644. package/dist/src/hooks/use-is-platform.d.ts +0 -2
  645. package/dist/src/hooks/use-is-platform.d.ts.map +0 -1
  646. package/dist/src/hooks/use-me.d.ts +0 -9
  647. package/dist/src/hooks/use-me.d.ts.map +0 -1
  648. package/dist/src/hooks/use-o-auth-client.d.ts +0 -18
  649. package/dist/src/hooks/use-o-auth-client.d.ts.map +0 -1
  650. package/dist/src/hooks/use-o-auth-flow.d.ts +0 -15
  651. package/dist/src/hooks/use-o-auth-flow.d.ts.map +0 -1
  652. package/dist/src/hooks/use-reserve-slot.d.ts +0 -8
  653. package/dist/src/hooks/use-reserve-slot.d.ts.map +0 -1
  654. package/dist/src/hooks/use-schedule-by-event-slug.d.ts +0 -16
  655. package/dist/src/hooks/use-schedule-by-event-slug.d.ts.map +0 -1
  656. package/dist/src/hooks/use-slots.d.ts +0 -24
  657. package/dist/src/hooks/use-slots.d.ts.map +0 -1
  658. package/dist/src/hooks/use-timezone.d.ts +0 -2
  659. package/dist/src/hooks/use-timezone.d.ts.map +0 -1
  660. package/dist/src/hooks/use-update-user-timezone.d.ts +0 -7
  661. package/dist/src/hooks/use-update-user-timezone.d.ts.map +0 -1
  662. package/dist/src/hooks/use-verify-code.d.ts +0 -18
  663. package/dist/src/hooks/use-verify-code.d.ts.map +0 -1
  664. package/dist/src/hooks/use-verify-email.d.ts +0 -20
  665. package/dist/src/hooks/use-verify-email.d.ts.map +0 -1
  666. package/dist/src/index.d.ts +0 -132
  667. package/dist/src/index.d.ts.map +0 -1
  668. package/dist/src/lib/append-client-id-to-email.d.ts +0 -2
  669. package/dist/src/lib/append-client-id-to-email.d.ts.map +0 -1
  670. package/dist/src/lib/get-placeholder-content.d.ts +0 -16
  671. package/dist/src/lib/get-placeholder-content.d.ts.map +0 -1
  672. package/dist/src/lib/get-query-param.d.ts +0 -3
  673. package/dist/src/lib/get-query-param.d.ts.map +0 -1
  674. package/dist/src/lib/get-utm-tracking-parameters.d.ts +0 -5
  675. package/dist/src/lib/get-utm-tracking-parameters.d.ts.map +0 -1
  676. package/dist/src/lib/http.d.ts +0 -24
  677. package/dist/src/lib/http.d.ts.map +0 -1
  678. package/dist/src/lib/markdown-to-safe-html-client.d.ts +0 -8
  679. package/dist/src/lib/markdown-to-safe-html-client.d.ts.map +0 -1
  680. package/dist/src/lib/markdown-to-safe-html.d.ts +0 -2
  681. package/dist/src/lib/markdown-to-safe-html.d.ts.map +0 -1
  682. package/dist/src/lib/set-query-param.d.ts +0 -3
  683. package/dist/src/lib/set-query-param.d.ts.map +0 -1
  684. package/dist/src/lib/time-zones.d.ts +0 -15
  685. package/dist/src/lib/time-zones.d.ts.map +0 -1
  686. package/dist/src/lib/use-locale.d.ts +0 -9
  687. package/dist/src/lib/use-locale.d.ts.map +0 -1
  688. package/dist/src/lib/utils.d.ts +0 -3
  689. package/dist/src/lib/utils.d.ts.map +0 -1
  690. package/dist/src/list-schedules/components/schedule-list-item.d.ts +0 -39
  691. package/dist/src/list-schedules/components/schedule-list-item.d.ts.map +0 -1
  692. package/dist/src/list-schedules/index.d.ts +0 -2
  693. package/dist/src/list-schedules/index.d.ts.map +0 -1
  694. package/dist/src/list-schedules/wrappers/list-schedules-platform-wrapper.d.ts +0 -6
  695. package/dist/src/list-schedules/wrappers/list-schedules-platform-wrapper.d.ts.map +0 -1
  696. package/dist/src/onboarding/continue-with-calcom.d.ts +0 -3
  697. package/dist/src/onboarding/continue-with-calcom.d.ts.map +0 -1
  698. package/dist/src/onboarding/export.d.ts +0 -3
  699. package/dist/src/onboarding/export.d.ts.map +0 -1
  700. package/dist/src/onboarding/onboarding-embed.d.ts +0 -3
  701. package/dist/src/onboarding/onboarding-embed.d.ts.map +0 -1
  702. package/dist/src/onboarding/types.d.ts +0 -31
  703. package/dist/src/onboarding/types.d.ts.map +0 -1
  704. package/dist/src/router/index.d.ts +0 -2
  705. package/dist/src/router/index.d.ts.map +0 -1
  706. package/dist/src/router/router.d.ts +0 -30
  707. package/dist/src/router/router.d.ts.map +0 -1
  708. package/dist/src/selected-calendars/index.d.ts +0 -2
  709. package/dist/src/selected-calendars/index.d.ts.map +0 -1
  710. package/dist/src/selected-calendars/selected-calendars-settings.d.ts +0 -6
  711. package/dist/src/selected-calendars/selected-calendars-settings.d.ts.map +0 -1
  712. package/dist/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.d.ts +0 -38
  713. package/dist/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.d.ts.map +0 -1
  714. package/dist/src/timezone/index.d.ts +0 -6
  715. package/dist/src/timezone/index.d.ts.map +0 -1
  716. package/dist/src/timezone/timezone-select-component.d.ts +0 -15
  717. package/dist/src/timezone/timezone-select-component.d.ts.map +0 -1
  718. package/dist/src/troubleshooter/components/calendar-toggle-container-component.d.ts +0 -31
  719. package/dist/src/troubleshooter/components/calendar-toggle-container-component.d.ts.map +0 -1
  720. package/dist/src/troubleshooter/components/event-schedule-item-component.d.ts +0 -12
  721. package/dist/src/troubleshooter/components/event-schedule-item-component.d.ts.map +0 -1
  722. package/dist/src/troubleshooter/components/event-type-select-component.d.ts +0 -18
  723. package/dist/src/troubleshooter/components/event-type-select-component.d.ts.map +0 -1
  724. package/dist/src/troubleshooter/components/troubleshooter-list-item-container.d.ts +0 -12
  725. package/dist/src/troubleshooter/components/troubleshooter-list-item-container.d.ts.map +0 -1
  726. package/dist/src/troubleshooter/index.d.ts +0 -2
  727. package/dist/src/troubleshooter/index.d.ts.map +0 -1
  728. package/dist/src/troubleshooter/large-calendar/large-calendar.d.ts +0 -6
  729. package/dist/src/troubleshooter/large-calendar/large-calendar.d.ts.map +0 -1
  730. package/dist/src/troubleshooter/sidebar/calendar-toggle-container.d.ts +0 -7
  731. package/dist/src/troubleshooter/sidebar/calendar-toggle-container.d.ts.map +0 -1
  732. package/dist/src/troubleshooter/sidebar/event-schedule-item.d.ts +0 -2
  733. package/dist/src/troubleshooter/sidebar/event-schedule-item.d.ts.map +0 -1
  734. package/dist/src/troubleshooter/sidebar/event-type-select.d.ts +0 -2
  735. package/dist/src/troubleshooter/sidebar/event-type-select.d.ts.map +0 -1
  736. package/dist/src/troubleshooter/sidebar/troubleshooter-sidebar.d.ts +0 -17
  737. package/dist/src/troubleshooter/sidebar/troubleshooter-sidebar.d.ts.map +0 -1
  738. package/dist/src/troubleshooter/store.d.ts +0 -30
  739. package/dist/src/troubleshooter/store.d.ts.map +0 -1
  740. package/dist/src/troubleshooter/types.d.ts +0 -11
  741. package/dist/src/troubleshooter/types.d.ts.map +0 -1
  742. package/dist/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.d.ts +0 -14
  743. package/dist/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.d.ts.map +0 -1
  744. package/dist/src/types.d.ts +0 -8
  745. package/dist/src/types.d.ts.map +0 -1
  746. package/dist/src/vendor/analytics.d.ts +0 -17
  747. package/dist/src/vendor/analytics.d.ts.map +0 -1
  748. package/dist/src/vendor/availability.d.ts +0 -15
  749. package/dist/src/vendor/availability.d.ts.map +0 -1
  750. package/dist/src/vendor/avatar-url.d.ts +0 -23
  751. package/dist/src/vendor/avatar-url.d.ts.map +0 -1
  752. package/dist/src/vendor/booker-url.d.ts +0 -13
  753. package/dist/src/vendor/booker-url.d.ts.map +0 -1
  754. package/dist/src/vendor/booking-to-mutation-input.d.ts +0 -96
  755. package/dist/src/vendor/booking-to-mutation-input.d.ts.map +0 -1
  756. package/dist/src/vendor/cal-ai-phone.d.ts +0 -4
  757. package/dist/src/vendor/cal-ai-phone.d.ts.map +0 -1
  758. package/dist/src/vendor/check-for-empty-assignment.d.ts +0 -16
  759. package/dist/src/vendor/check-for-empty-assignment.d.ts.map +0 -1
  760. package/dist/src/vendor/children-event-type.d.ts +0 -44
  761. package/dist/src/vendor/children-event-type.d.ts.map +0 -1
  762. package/dist/src/vendor/currency.d.ts +0 -3
  763. package/dist/src/vendor/currency.d.ts.map +0 -1
  764. package/dist/src/vendor/dayjs/index.d.ts +0 -5
  765. package/dist/src/vendor/dayjs/index.d.ts.map +0 -1
  766. package/dist/src/vendor/dayjs/plugins/business-days-plugin.d.ts +0 -11
  767. package/dist/src/vendor/dayjs/plugins/business-days-plugin.d.ts.map +0 -1
  768. package/dist/src/vendor/dayjs-utils.d.ts +0 -4
  769. package/dist/src/vendor/dayjs-utils.d.ts.map +0 -1
  770. package/dist/src/vendor/error-codes.d.ts +0 -40
  771. package/dist/src/vendor/error-codes.d.ts.map +0 -1
  772. package/dist/src/vendor/event-naming.d.ts +0 -33
  773. package/dist/src/vendor/event-naming.d.ts.map +0 -1
  774. package/dist/src/vendor/form-builder/base-schema.d.ts +0 -917
  775. package/dist/src/vendor/form-builder/base-schema.d.ts.map +0 -1
  776. package/dist/src/vendor/form-builder/field-type-enum.d.ts +0 -4
  777. package/dist/src/vendor/form-builder/field-type-enum.d.ts.map +0 -1
  778. package/dist/src/vendor/form-builder/field-types.d.ts +0 -5
  779. package/dist/src/vendor/form-builder/field-types.d.ts.map +0 -1
  780. package/dist/src/vendor/form-builder/fields-that-support-label-as-safe-html.d.ts +0 -3
  781. package/dist/src/vendor/form-builder/fields-that-support-label-as-safe-html.d.ts.map +0 -1
  782. package/dist/src/vendor/form-builder/props-types.d.ts +0 -18
  783. package/dist/src/vendor/form-builder/props-types.d.ts.map +0 -1
  784. package/dist/src/vendor/form-builder/schema.d.ts +0 -761
  785. package/dist/src/vendor/form-builder/schema.d.ts.map +0 -1
  786. package/dist/src/vendor/form-builder/system-field.d.ts +0 -9
  787. package/dist/src/vendor/form-builder/system-field.d.ts.map +0 -1
  788. package/dist/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.d.ts +0 -12
  789. package/dist/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.d.ts.map +0 -1
  790. package/dist/src/vendor/form-builder/utils/get-field-identifier.d.ts +0 -2
  791. package/dist/src/vendor/form-builder/utils/get-field-identifier.d.ts.map +0 -1
  792. package/dist/src/vendor/form-builder/utils/variants-config.d.ts +0 -40
  793. package/dist/src/vendor/form-builder/utils/variants-config.d.ts.map +0 -1
  794. package/dist/src/vendor/form-builder/utils.d.ts +0 -7
  795. package/dist/src/vendor/form-builder/utils.d.ts.map +0 -1
  796. package/dist/src/vendor/form-builder-widgets/index.d.ts +0 -49
  797. package/dist/src/vendor/form-builder-widgets/index.d.ts.map +0 -1
  798. package/dist/src/vendor/format-date-time.d.ts +0 -15
  799. package/dist/src/vendor/format-date-time.d.ts.map +0 -1
  800. package/dist/src/vendor/get-available-dates-in-month.d.ts +0 -12
  801. package/dist/src/vendor/get-available-dates-in-month.d.ts.map +0 -1
  802. package/dist/src/vendor/get-avatar-url.d.ts +0 -5
  803. package/dist/src/vendor/get-avatar-url.d.ts.map +0 -1
  804. package/dist/src/vendor/get-routed-team-member-ids.d.ts +0 -2
  805. package/dist/src/vendor/get-routed-team-member-ids.d.ts.map +0 -1
  806. package/dist/src/vendor/get-stripe.d.ts +0 -7
  807. package/dist/src/vendor/get-stripe.d.ts.map +0 -1
  808. package/dist/src/vendor/get-username-list.d.ts +0 -2
  809. package/dist/src/vendor/get-username-list.d.ts.map +0 -1
  810. package/dist/src/vendor/hooks/use-debounce.d.ts +0 -2
  811. package/dist/src/vendor/hooks/use-debounce.d.ts.map +0 -1
  812. package/dist/src/vendor/hooks/use-media-query.d.ts +0 -3
  813. package/dist/src/vendor/hooks/use-media-query.d.ts.map +0 -1
  814. package/dist/src/vendor/hooks/use-router-query.d.ts +0 -2
  815. package/dist/src/vendor/hooks/use-router-query.d.ts.map +0 -1
  816. package/dist/src/vendor/host-group-utils.d.ts +0 -19
  817. package/dist/src/vendor/host-group-utils.d.ts.map +0 -1
  818. package/dist/src/vendor/interval-limit.d.ts +0 -6
  819. package/dist/src/vendor/interval-limit.d.ts.map +0 -1
  820. package/dist/src/vendor/invert-logo-on-dark.d.ts +0 -2
  821. package/dist/src/vendor/invert-logo-on-dark.d.ts.map +0 -1
  822. package/dist/src/vendor/locales/de/common.json.d.ts +0 -319
  823. package/dist/src/vendor/locales/en/common.json.d.ts +0 -319
  824. package/dist/src/vendor/locales/es/common.json.d.ts +0 -319
  825. package/dist/src/vendor/locales/fr/common.json.d.ts +0 -319
  826. package/dist/src/vendor/locales/it/common.json.d.ts +0 -319
  827. package/dist/src/vendor/locales/nl/common.json.d.ts +0 -319
  828. package/dist/src/vendor/locales/pt-BR/common.json.d.ts +0 -319
  829. package/dist/src/vendor/locations-resolver.d.ts +0 -38
  830. package/dist/src/vendor/locations-resolver.d.ts.map +0 -1
  831. package/dist/src/vendor/locations.d.ts +0 -58
  832. package/dist/src/vendor/locations.d.ts.map +0 -1
  833. package/dist/src/vendor/parse-dates.d.ts +0 -18
  834. package/dist/src/vendor/parse-dates.d.ts.map +0 -1
  835. package/dist/src/vendor/payments.d.ts +0 -50
  836. package/dist/src/vendor/payments.d.ts.map +0 -1
  837. package/dist/src/vendor/phone-input/phone-input.d.ts +0 -17
  838. package/dist/src/vendor/phone-input/phone-input.d.ts.map +0 -1
  839. package/dist/src/vendor/phone-input/phone-masks.d.ts +0 -8
  840. package/dist/src/vendor/phone-input/phone-masks.d.ts.map +0 -1
  841. package/dist/src/vendor/query-param.d.ts +0 -4
  842. package/dist/src/vendor/query-param.d.ts.map +0 -1
  843. package/dist/src/vendor/recurring.d.ts +0 -27
  844. package/dist/src/vendor/recurring.d.ts.map +0 -1
  845. package/dist/src/vendor/schedule-list-item.d.ts +0 -55
  846. package/dist/src/vendor/schedule-list-item.d.ts.map +0 -1
  847. package/dist/src/vendor/scroll.d.ts +0 -2
  848. package/dist/src/vendor/scroll.d.ts.map +0 -1
  849. package/dist/src/vendor/server-trans.d.ts +0 -25
  850. package/dist/src/vendor/server-trans.d.ts.map +0 -1
  851. package/dist/src/vendor/slugify.d.ts +0 -3
  852. package/dist/src/vendor/slugify.d.ts.map +0 -1
  853. package/dist/src/vendor/time-format.d.ts +0 -10
  854. package/dist/src/vendor/time-format.d.ts.map +0 -1
  855. package/dist/src/vendor/time-preferences.d.ts +0 -14
  856. package/dist/src/vendor/time-preferences.d.ts.map +0 -1
  857. package/dist/src/vendor/time-shift.d.ts +0 -6
  858. package/dist/src/vendor/time-shift.d.ts.map +0 -1
  859. package/dist/src/vendor/timezone-constants.d.ts +0 -3
  860. package/dist/src/vendor/timezone-constants.d.ts.map +0 -1
  861. package/dist/src/vendor/timezone.d.ts +0 -10
  862. package/dist/src/vendor/timezone.d.ts.map +0 -1
  863. package/dist/src/vendor/validate-booker-layouts.d.ts +0 -8
  864. package/dist/src/vendor/validate-booker-layouts.d.ts.map +0 -1
  865. package/dist/src/vendor/webstorage.d.ts +0 -18
  866. package/dist/src/vendor/webstorage.d.ts.map +0 -1
  867. package/dist/src/vendor/weekday.d.ts +0 -5
  868. package/dist/src/vendor/weekday.d.ts.map +0 -1
  869. package/dist/src/vendor/weekstart.d.ts +0 -3
  870. package/dist/src/vendor/weekstart.d.ts.map +0 -1
  871. package/dist/vite.config.d.ts +0 -3
  872. package/dist/vite.config.d.ts.map +0 -1
  873. package/dist/vitest.config.d.ts +0 -12
  874. package/dist/vitest.config.d.ts.map +0 -1
  875. package/src/add-members-switch/add-members-with-switch-platform-wrapper.tsx +0 -9
  876. package/src/add-members-switch/add-members-with-switch.tsx +0 -321
  877. package/src/availability/availability-settings.tsx +0 -806
  878. package/src/availability/components/date-override-input-dialog.tsx +0 -254
  879. package/src/availability/components/date-override-list.tsx +0 -167
  880. package/src/availability/components/schedule-component.tsx +0 -790
  881. package/src/availability/index.ts +0 -3
  882. package/src/availability/types.ts +0 -40
  883. package/src/availability/wrappers/availability-settings-platform-wrapper.tsx +0 -224
  884. package/src/booker/Booker.docs.mdx +0 -12
  885. package/src/booker/__tests__/config.test.ts +0 -58
  886. package/src/booker/__tests__/store-extended.test.ts +0 -349
  887. package/src/booker/__tests__/store.test.ts +0 -230
  888. package/src/booker/booker-platform-wrapper.tsx +0 -625
  889. package/src/booker/booker-store-provider.tsx +0 -117
  890. package/src/booker/components/available-time-slots.tsx +0 -245
  891. package/src/booker/components/available-times-header.tsx +0 -79
  892. package/src/booker/components/available-times.tsx +0 -359
  893. package/src/booker/components/book-event-form/book-event-form.tsx +0 -344
  894. package/src/booker/components/book-event-form/book-form-as-modal.tsx +0 -85
  895. package/src/booker/components/book-event-form/booking-fields.tsx +0 -257
  896. package/src/booker/components/book-event-form/index.ts +0 -4
  897. package/src/booker/components/book-event-form/skeleton.tsx +0 -29
  898. package/src/booker/components/booker-component.tsx +0 -699
  899. package/src/booker/components/booker-section.tsx +0 -49
  900. package/src/booker/components/dry-run-message.tsx +0 -31
  901. package/src/booker/components/event-meta/available-event-locations.tsx +0 -121
  902. package/src/booker/components/event-meta/details.tsx +0 -187
  903. package/src/booker/components/event-meta/duration.tsx +0 -141
  904. package/src/booker/components/event-meta/index.ts +0 -6
  905. package/src/booker/components/event-meta/locations.tsx +0 -71
  906. package/src/booker/components/event-meta/members.tsx +0 -99
  907. package/src/booker/components/event-meta/occurences.tsx +0 -142
  908. package/src/booker/components/event-meta/price-icon.tsx +0 -65
  909. package/src/booker/components/event-meta/price.tsx +0 -103
  910. package/src/booker/components/event-meta/skeleton.tsx +0 -19
  911. package/src/booker/components/event-meta/title.tsx +0 -18
  912. package/src/booker/components/event-meta.tsx +0 -292
  913. package/src/booker/components/external-redirect-interstitial.tsx +0 -78
  914. package/src/booker/components/form-builder/components.tsx +0 -541
  915. package/src/booker/components/form-builder/form-builder-field.tsx +0 -390
  916. package/src/booker/components/having-trouble-finding-time.tsx +0 -49
  917. package/src/booker/components/header.tsx +0 -261
  918. package/src/booker/components/instant-booking.tsx +0 -74
  919. package/src/booker/components/out-of-office-in-slots.tsx +0 -116
  920. package/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.tsx +0 -47
  921. package/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.tsx +0 -129
  922. package/src/booker/components/overlay-calendar/overlay-calendar-switch.tsx +0 -73
  923. package/src/booker/components/overlay-calendar/overlay-calendar.tsx +0 -80
  924. package/src/booker/components/overlay-calendar/store.ts +0 -27
  925. package/src/booker/components/pay-icon.tsx +0 -6
  926. package/src/booker/components/price.tsx +0 -13
  927. package/src/booker/components/redirect-to-instant-meeting-modal.tsx +0 -121
  928. package/src/booker/components/scrollable-with-gradients.tsx +0 -77
  929. package/src/booker/components/seats-availability-text.tsx +0 -43
  930. package/src/booker/components/section.tsx +0 -51
  931. package/src/booker/components/slot-selection-modal-header.tsx +0 -116
  932. package/src/booker/components/time-format-toggle.tsx +0 -28
  933. package/src/booker/components/unavailable.tsx +0 -30
  934. package/src/booker/components/unpublished-entity.tsx +0 -30
  935. package/src/booker/components/verify-code-dialog.tsx +0 -131
  936. package/src/booker/config.ts +0 -206
  937. package/src/booker/export.ts +0 -5
  938. package/src/booker/framer-features.ts +0 -3
  939. package/src/booker/hooks/__tests__/use-booker-layout.test.tsx +0 -98
  940. package/src/booker/hooks/__tests__/use-check-overlap-with-overlay.test.ts +0 -95
  941. package/src/booker/hooks/__tests__/use-local-set.test.tsx +0 -72
  942. package/src/booker/hooks/__tests__/use-non-empty-schedule-days.test.tsx +0 -37
  943. package/src/booker/hooks/__tests__/use-overlay-calendar.test.tsx +0 -122
  944. package/src/booker/hooks/__tests__/use-should-show-arrows.test.tsx +0 -45
  945. package/src/booker/hooks/__tests__/use-skip-confirm-step.test.ts +0 -54
  946. package/src/booker/hooks/__tests__/use-slots-for-date.test.tsx +0 -65
  947. package/src/booker/hooks/__tests__/use-stable-timezone.test.ts +0 -74
  948. package/src/booker/hooks/__tests__/use-times-for-schedule.test.tsx +0 -132
  949. package/src/booker/hooks/embed-stubs.ts +0 -30
  950. package/src/booker/hooks/use-available-time-slots.ts +0 -48
  951. package/src/booker/hooks/use-booker-layout.ts +0 -131
  952. package/src/booker/hooks/use-booker-time.ts +0 -21
  953. package/src/booker/hooks/use-booking-form.ts +0 -108
  954. package/src/booker/hooks/use-bookings-types.ts +0 -10
  955. package/src/booker/hooks/use-check-overlap-with-overlay.ts +0 -49
  956. package/src/booker/hooks/use-initialize-week-start.ts +0 -20
  957. package/src/booker/hooks/use-is-quick-availability-check-feature-enabled.ts +0 -45
  958. package/src/booker/hooks/use-local-set.tsx +0 -70
  959. package/src/booker/hooks/use-non-empty-schedule-days.ts +0 -23
  960. package/src/booker/hooks/use-overlay-calendar.ts +0 -94
  961. package/src/booker/hooks/use-should-show-arrows.ts +0 -33
  962. package/src/booker/hooks/use-skip-confirm-step.ts +0 -79
  963. package/src/booker/hooks/use-slots-for-date.ts +0 -51
  964. package/src/booker/hooks/use-stable-timezone.ts +0 -13
  965. package/src/booker/hooks/use-times-for-schedule.ts +0 -123
  966. package/src/booker/store.ts +0 -831
  967. package/src/booker/types.ts +0 -142
  968. package/src/booker/use-slot-reservation-id.ts +0 -14
  969. package/src/booker/utils/__tests__/booker-utils.test.ts +0 -159
  970. package/src/booker/utils/__tests__/is-timeslot-available.test.ts +0 -224
  971. package/src/booker/utils/are-different-valid-months.ts +0 -5
  972. package/src/booker/utils/dates.tsx +0 -90
  973. package/src/booker/utils/get-booker-timezone.ts +0 -9
  974. package/src/booker/utils/get-booking-duration.ts +0 -19
  975. package/src/booker/utils/get-prefetch-month-count.ts +0 -24
  976. package/src/booker/utils/is-booking-dry-run.ts +0 -5
  977. package/src/booker/utils/is-month-change.ts +0 -5
  978. package/src/booker/utils/is-month-view-prefetch-enabled.ts +0 -14
  979. package/src/booker/utils/is-prefetch-next-month-enabled.ts +0 -27
  980. package/src/booker/utils/is-timeslot-available.ts +0 -78
  981. package/src/booker/utils/layout.ts +0 -5
  982. package/src/booker-embed/__tests__/use-get-routing-form-url-props.test.tsx +0 -133
  983. package/src/booker-embed/booker-embed.tsx +0 -117
  984. package/src/booker-embed/index.ts +0 -1
  985. package/src/booker-embed/use-get-routing-form-url-props.tsx +0 -95
  986. package/src/cal-provider/base-cal-provider.tsx +0 -248
  987. package/src/cal-provider/cal-o-auth-provider.tsx +0 -77
  988. package/src/cal-provider/cal-provider.tsx +0 -112
  989. package/src/cal-provider/index.ts +0 -2
  990. package/src/cal-provider/languages.ts +0 -78
  991. package/src/calendar-settings/index.ts +0 -1
  992. package/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.tsx +0 -45
  993. package/src/calendar-view/calendar-view-component.tsx +0 -35
  994. package/src/calendar-view/components/calendar.tsx +0 -1
  995. package/src/calendar-view/components/date-picker.tsx +0 -498
  996. package/src/calendar-view/components/large-calendar.tsx +0 -201
  997. package/src/calendar-view/components/no-availability-dialog.tsx +0 -74
  998. package/src/calendar-view/event-type-calendar-view-component.tsx +0 -152
  999. package/src/calendar-view/index.ts +0 -1
  1000. package/src/calendar-view/scheduler/components/calendar.tsx +0 -231
  1001. package/src/calendar-view/scheduler/components/current-time/index.tsx +0 -87
  1002. package/src/calendar-view/scheduler/components/date-values/index.tsx +0 -114
  1003. package/src/calendar-view/scheduler/components/default-out-of-office-slot.tsx +0 -68
  1004. package/src/calendar-view/scheduler/components/event/all-day-events.test.tsx +0 -799
  1005. package/src/calendar-view/scheduler/components/event/all-day-events.tsx +0 -360
  1006. package/src/calendar-view/scheduler/components/event/empty.tsx +0 -229
  1007. package/src/calendar-view/scheduler/components/event/event-list.tsx +0 -137
  1008. package/src/calendar-view/scheduler/components/event/event.tsx +0 -165
  1009. package/src/calendar-view/scheduler/components/event/index.tsx +0 -4
  1010. package/src/calendar-view/scheduler/components/grid/index.tsx +0 -24
  1011. package/src/calendar-view/scheduler/components/heading/index.tsx +0 -1
  1012. package/src/calendar-view/scheduler/components/heading/scheduler-heading.tsx +0 -40
  1013. package/src/calendar-view/scheduler/components/horizontal-lines/index.tsx +0 -48
  1014. package/src/calendar-view/scheduler/components/spinner/spinner.tsx +0 -23
  1015. package/src/calendar-view/scheduler/components/vertical-lines/index.tsx +0 -40
  1016. package/src/calendar-view/scheduler/state/__tests__/store.test.ts +0 -147
  1017. package/src/calendar-view/scheduler/state/store.ts +0 -93
  1018. package/src/calendar-view/scheduler/styles/styles.css +0 -20
  1019. package/src/calendar-view/scheduler/types/common.ts +0 -1
  1020. package/src/calendar-view/scheduler/types/events.ts +0 -20
  1021. package/src/calendar-view/scheduler/types/state.ts +0 -126
  1022. package/src/calendar-view/scheduler/utils/__tests__/overlap.test.ts +0 -650
  1023. package/src/calendar-view/scheduler/utils/__tests__/utils.test.ts +0 -133
  1024. package/src/calendar-view/scheduler/utils/index.ts +0 -100
  1025. package/src/calendar-view/scheduler/utils/overlap.ts +0 -175
  1026. package/src/calendar-view/wrappers/calendar-view-platform-wrapper.tsx +0 -41
  1027. package/src/components/atoms-wrapper.tsx +0 -22
  1028. package/src/components/ui/address-input.tsx +0 -36
  1029. package/src/components/ui/alert.tsx +0 -67
  1030. package/src/components/ui/app-list-card.tsx +0 -94
  1031. package/src/components/ui/avatar-group.tsx +0 -59
  1032. package/src/components/ui/avatar.tsx +0 -94
  1033. package/src/components/ui/badge.tsx +0 -93
  1034. package/src/components/ui/button-group.tsx +0 -40
  1035. package/src/components/ui/button.tsx +0 -177
  1036. package/src/components/ui/calendar-switch.tsx +0 -56
  1037. package/src/components/ui/checkbox.tsx +0 -126
  1038. package/src/components/ui/checked-team-select.tsx +0 -225
  1039. package/src/components/ui/confirmation-dialog-content.tsx +0 -82
  1040. package/src/components/ui/controlled-dialog.tsx +0 -30
  1041. package/src/components/ui/dialog.tsx +0 -165
  1042. package/src/components/ui/disconnect-calendar-integration.tsx +0 -52
  1043. package/src/components/ui/divider.tsx +0 -22
  1044. package/src/components/ui/dropdown.tsx +0 -240
  1045. package/src/components/ui/editable-heading.tsx +0 -64
  1046. package/src/components/ui/empty-screen.tsx +0 -86
  1047. package/src/components/ui/form.tsx +0 -46
  1048. package/src/components/ui/icon.tsx +0 -249
  1049. package/src/components/ui/icons.tsx +0 -313
  1050. package/src/components/ui/info-badge.tsx +0 -12
  1051. package/src/components/ui/label.tsx +0 -13
  1052. package/src/components/ui/navigation.tsx +0 -38
  1053. package/src/components/ui/popover.tsx +0 -31
  1054. package/src/components/ui/radio-area-group.tsx +0 -67
  1055. package/src/components/ui/radio.tsx +0 -72
  1056. package/src/components/ui/react-select-components.tsx +0 -86
  1057. package/src/components/ui/select.tsx +0 -123
  1058. package/src/components/ui/settings-header.tsx +0 -87
  1059. package/src/components/ui/settings-toggle.tsx +0 -123
  1060. package/src/components/ui/shell.tsx +0 -47
  1061. package/src/components/ui/show-toast.tsx +0 -11
  1062. package/src/components/ui/skeleton.tsx +0 -112
  1063. package/src/components/ui/switch.tsx +0 -28
  1064. package/src/components/ui/text-field.tsx +0 -241
  1065. package/src/components/ui/toast.tsx +0 -121
  1066. package/src/components/ui/toaster.tsx +0 -28
  1067. package/src/components/ui/toggle-group.tsx +0 -109
  1068. package/src/components/ui/tooltip.tsx +0 -84
  1069. package/src/components/ui/use-toast.ts +0 -187
  1070. package/src/components/ui/user-avatar-group-with-org.tsx +0 -45
  1071. package/src/connect/apple/apple-connect.tsx +0 -197
  1072. package/src/connect/components/disconnect-integration-modal.tsx +0 -51
  1073. package/src/connect/components/office365-account-dialog.tsx +0 -48
  1074. package/src/connect/conferencing-apps/components/app-list.tsx +0 -238
  1075. package/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.tsx +0 -358
  1076. package/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.ts +0 -50
  1077. package/src/connect/conferencing-apps/hooks/use-atom-get-event-types.ts +0 -34
  1078. package/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.ts +0 -38
  1079. package/src/connect/conferencing-apps/hooks/use-connect.ts +0 -157
  1080. package/src/connect/conferencing-apps/hooks/use-delete-credential.ts +0 -38
  1081. package/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.ts +0 -38
  1082. package/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.ts +0 -43
  1083. package/src/connect/google/gcal-connect.tsx +0 -42
  1084. package/src/connect/index.ts +0 -3
  1085. package/src/connect/o-auth-connect.tsx +0 -148
  1086. package/src/connect/outlook/outlook-connect.tsx +0 -42
  1087. package/src/connect/stripe/stripe-connect.tsx +0 -81
  1088. package/src/constants/api.ts +0 -114
  1089. package/src/constants/app.ts +0 -44
  1090. package/src/constants/apps.ts +0 -37
  1091. package/src/constants/index.ts +0 -3
  1092. package/src/constants/styles.ts +0 -1
  1093. package/src/contracts/api.ts +0 -30
  1094. package/src/contracts/apps.ts +0 -24
  1095. package/src/contracts/booker.ts +0 -287
  1096. package/src/contracts/bookings.ts +0 -141
  1097. package/src/contracts/calendars.ts +0 -87
  1098. package/src/contracts/event-types.ts +0 -252
  1099. package/src/contracts/index.ts +0 -12
  1100. package/src/contracts/oauth.ts +0 -47
  1101. package/src/contracts/organizations.ts +0 -14
  1102. package/src/contracts/schedules.ts +0 -100
  1103. package/src/contracts/slots.ts +0 -63
  1104. package/src/contracts/teams.ts +0 -35
  1105. package/src/contracts/user.ts +0 -25
  1106. package/src/create-schedule/create-schedule-form.tsx +0 -110
  1107. package/src/create-schedule/index.tsx +0 -1
  1108. package/src/create-schedule/wrappers/create-schedule-platform-wrapper.tsx +0 -69
  1109. package/src/destination-calendar/components/destination-calendar-selector.tsx +0 -34
  1110. package/src/destination-calendar/destination-calendar-selector.tsx +0 -149
  1111. package/src/destination-calendar/destination-calendar.tsx +0 -82
  1112. package/src/destination-calendar/destination-reminder-selector.tsx +0 -51
  1113. package/src/destination-calendar/index.ts +0 -1
  1114. package/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.tsx +0 -62
  1115. package/src/event-types/__tests__/event-type-list-item.test.tsx +0 -196
  1116. package/src/event-types/__tests__/format-event-type-duration.test.ts +0 -47
  1117. package/src/event-types/components/__tests__/children-event-type-select.test.tsx +0 -291
  1118. package/src/event-types/components/assign-all-team-members.tsx +0 -46
  1119. package/src/event-types/components/bulk-edit-default-for-events-modal.tsx +0 -129
  1120. package/src/event-types/components/children-event-type-select.tsx +0 -223
  1121. package/src/event-types/components/create-event-type-form.tsx +0 -160
  1122. package/src/event-types/components/event-team-assignment-tab.tsx +0 -9
  1123. package/src/event-types/components/event-type-list-item.tsx +0 -153
  1124. package/src/event-types/components/host-edit-dialogs.tsx +0 -277
  1125. package/src/event-types/components/learn-more-link.tsx +0 -41
  1126. package/src/event-types/components/managed-event-dialog.tsx +0 -62
  1127. package/src/event-types/components/recurring-event-controller.tsx +0 -247
  1128. package/src/event-types/components/tabs/event-recurring-tab.tsx +0 -34
  1129. package/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.tsx +0 -43
  1130. package/src/event-types/components/team-assignment/children-event-types-list.tsx +0 -43
  1131. package/src/event-types/components/team-assignment/children-event-types.tsx +0 -62
  1132. package/src/event-types/components/team-assignment/event-team-assignment-tab.tsx +0 -300
  1133. package/src/event-types/components/team-assignment/fixed-hosts.tsx +0 -170
  1134. package/src/event-types/components/team-assignment/hosts.tsx +0 -125
  1135. package/src/event-types/components/team-assignment/round-robin-hosts.tsx +0 -266
  1136. package/src/event-types/components/team-event-type-form.tsx +0 -183
  1137. package/src/event-types/components/weight-description.tsx +0 -24
  1138. package/src/event-types/hooks/__tests__/use-assign-all-managed-warning.test.ts +0 -78
  1139. package/src/event-types/hooks/__tests__/use-team-event-assignment.test.tsx +0 -218
  1140. package/src/event-types/hooks/use-add-verified-email.ts +0 -64
  1141. package/src/event-types/hooks/use-apps-data-stub.ts +0 -19
  1142. package/src/event-types/hooks/use-assign-all-managed-warning.ts +0 -45
  1143. package/src/event-types/hooks/use-atom-event-type-app-integration.ts +0 -49
  1144. package/src/event-types/hooks/use-atom-event-type-by-id.ts +0 -25
  1145. package/src/event-types/hooks/use-atom-event-type-payment-info.ts +0 -36
  1146. package/src/event-types/hooks/use-atom-get-all-event-types.ts +0 -30
  1147. package/src/event-types/hooks/use-atom-host-schedules.ts +0 -36
  1148. package/src/event-types/hooks/use-atom-update-event-type.ts +0 -61
  1149. package/src/event-types/hooks/use-event-type-form.test.ts +0 -192
  1150. package/src/event-types/hooks/use-event-type-form.ts +0 -501
  1151. package/src/event-types/hooks/use-get-verified-emails.ts +0 -27
  1152. package/src/event-types/hooks/use-handle-route-change.ts +0 -57
  1153. package/src/event-types/hooks/use-locked-fields-manager-stub.ts +0 -30
  1154. package/src/event-types/hooks/use-platform-tabs-navigations.tsx +0 -138
  1155. package/src/event-types/hooks/use-tabs-navigations.test.ts +0 -31
  1156. package/src/event-types/hooks/use-tabs-navigations.tsx +0 -266
  1157. package/src/event-types/hooks/use-team-event-assignment.ts +0 -127
  1158. package/src/event-types/hooks/use-team-members-with-segment-platform.tsx +0 -107
  1159. package/src/event-types/index.ts +0 -1
  1160. package/src/event-types/lib/format-event-type-duration.ts +0 -25
  1161. package/src/event-types/payments/payment-form.tsx +0 -150
  1162. package/src/event-types/payments/payment-page-types.ts +0 -47
  1163. package/src/event-types/payments/payment.tsx +0 -115
  1164. package/src/event-types/payments/stripe-payment-form.tsx +0 -136
  1165. package/src/event-types/types.ts +0 -16
  1166. package/src/event-types/wrappers/create-event-type-platform-wrapper.tsx +0 -148
  1167. package/src/event-types/wrappers/event-recurring-tab-platform-wrapper.tsx +0 -8
  1168. package/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.tsx +0 -15
  1169. package/src/event-types/wrappers/event-type-platform-wrapper.tsx +0 -399
  1170. package/src/event-types/wrappers/list-event-types-platform-wrapper.tsx +0 -85
  1171. package/src/event-types/wrappers/types.ts +0 -5
  1172. package/src/hooks/__tests__/use-is-platform.test.tsx +0 -58
  1173. package/src/hooks/__tests__/use-slot-mutations.test.tsx +0 -113
  1174. package/src/hooks/__tests__/use-timezone-hooks.test.tsx +0 -67
  1175. package/src/hooks/__tests__/use-verify-code.test.tsx +0 -120
  1176. package/src/hooks/bookings/__tests__/use-booking-mutations.test.tsx +0 -123
  1177. package/src/hooks/bookings/__tests__/use-booking-queries.test.tsx +0 -108
  1178. package/src/hooks/bookings/use-booking.ts +0 -28
  1179. package/src/hooks/bookings/use-bookings.ts +0 -61
  1180. package/src/hooks/bookings/use-cancel-booking.ts +0 -47
  1181. package/src/hooks/bookings/use-create-booking.ts +0 -43
  1182. package/src/hooks/bookings/use-create-instant-booking.ts +0 -39
  1183. package/src/hooks/bookings/use-create-recurring-booking.ts +0 -42
  1184. package/src/hooks/bookings/use-get-booking-for-reschedule.ts +0 -51
  1185. package/src/hooks/bookings/use-handle-book-event.ts +0 -156
  1186. package/src/hooks/calendars/__tests__/use-calendar-mutations.test.tsx +0 -225
  1187. package/src/hooks/calendars/use-add-selected-calendar.ts +0 -65
  1188. package/src/hooks/calendars/use-delete-calendar-credentials.ts +0 -67
  1189. package/src/hooks/calendars/use-remove-selected-calendar.ts +0 -67
  1190. package/src/hooks/calendars/use-update-destination-calendars.ts +0 -60
  1191. package/src/hooks/connect/__tests__/use-connect.test.tsx +0 -109
  1192. package/src/hooks/connect/use-check.ts +0 -61
  1193. package/src/hooks/connect/use-connect.ts +0 -106
  1194. package/src/hooks/event-types/private/__tests__/event-type-mutations.test.tsx +0 -160
  1195. package/src/hooks/event-types/private/use-create-event-type-form.ts +0 -30
  1196. package/src/hooks/event-types/private/use-create-event-type.ts +0 -38
  1197. package/src/hooks/event-types/private/use-create-team-event-type.ts +0 -42
  1198. package/src/hooks/event-types/private/use-delete-event-type-by-id.ts +0 -30
  1199. package/src/hooks/event-types/private/use-delete-team-event-type-by-id.ts +0 -45
  1200. package/src/hooks/event-types/private/use-event-type-by-id.ts +0 -23
  1201. package/src/hooks/event-types/public/__tests__/public-event-type-hooks.test.tsx +0 -128
  1202. package/src/hooks/event-types/public/use-atom-get-public-event.tsx +0 -80
  1203. package/src/hooks/event-types/public/use-event-type.ts +0 -53
  1204. package/src/hooks/event-types/public/use-event-types.ts +0 -23
  1205. package/src/hooks/event-types/public/use-team-event-type.ts +0 -46
  1206. package/src/hooks/event-types/public/use-team-event-types.ts +0 -26
  1207. package/src/hooks/organizations/bookings/use-organization-bookings.ts +0 -38
  1208. package/src/hooks/organizations/bookings/use-organization-user-bookings.ts +0 -34
  1209. package/src/hooks/schedules/__tests__/use-schedules.test.tsx +0 -168
  1210. package/src/hooks/schedules/types.ts +0 -36
  1211. package/src/hooks/schedules/use-atom-create-schedule.ts +0 -47
  1212. package/src/hooks/schedules/use-atom-duplicate-schedule.ts +0 -45
  1213. package/src/hooks/schedules/use-atom-get-all-schedules.ts +0 -30
  1214. package/src/hooks/schedules/use-atom-schedule.ts +0 -33
  1215. package/src/hooks/schedules/use-atom-update-schedule.ts +0 -54
  1216. package/src/hooks/schedules/use-delete-schedule.ts +0 -54
  1217. package/src/hooks/schedules/use-ensure-default-schedule.ts +0 -23
  1218. package/src/hooks/schedules/use-schedule.ts +0 -34
  1219. package/src/hooks/schedules/use-schedules.ts +0 -34
  1220. package/src/hooks/schedules/use-update-schedule.ts +0 -58
  1221. package/src/hooks/stripe/__tests__/use-check.test.tsx +0 -99
  1222. package/src/hooks/stripe/use-check.ts +0 -73
  1223. package/src/hooks/stripe/use-connect.ts +0 -54
  1224. package/src/hooks/teams/__tests__/use-team-queries.test.tsx +0 -94
  1225. package/src/hooks/teams/use-team-members.ts +0 -32
  1226. package/src/hooks/teams/use-teams.ts +0 -34
  1227. package/src/hooks/use-api-keys.ts +0 -5
  1228. package/src/hooks/use-atoms-context.ts +0 -49
  1229. package/src/hooks/use-atoms-locale.ts +0 -11
  1230. package/src/hooks/use-available-slots.ts +0 -43
  1231. package/src/hooks/use-calendars-busy-times.ts +0 -64
  1232. package/src/hooks/use-connected-calendars.tsx +0 -27
  1233. package/src/hooks/use-delete-selected-slot.ts +0 -52
  1234. package/src/hooks/use-event-types-list.tsx +0 -39
  1235. package/src/hooks/use-get-city-timezones.ts +0 -27
  1236. package/src/hooks/use-is-platform-booker-embed.ts +0 -6
  1237. package/src/hooks/use-is-platform.ts +0 -6
  1238. package/src/hooks/use-me.ts +0 -30
  1239. package/src/hooks/use-o-auth-client.ts +0 -72
  1240. package/src/hooks/use-o-auth-flow.ts +0 -120
  1241. package/src/hooks/use-reserve-slot.ts +0 -48
  1242. package/src/hooks/use-schedule-by-event-slug.tsx +0 -40
  1243. package/src/hooks/use-slots.ts +0 -115
  1244. package/src/hooks/use-timezone.ts +0 -19
  1245. package/src/hooks/use-update-user-timezone.ts +0 -28
  1246. package/src/hooks/use-verify-code.ts +0 -115
  1247. package/src/hooks/use-verify-email.ts +0 -107
  1248. package/src/index.ts +0 -180
  1249. package/src/lib/__tests__/http.test.ts +0 -79
  1250. package/src/lib/append-client-id-to-email.ts +0 -4
  1251. package/src/lib/get-placeholder-content.ts +0 -16
  1252. package/src/lib/get-query-param.ts +0 -14
  1253. package/src/lib/get-utm-tracking-parameters.ts +0 -13
  1254. package/src/lib/http.ts +0 -75
  1255. package/src/lib/markdown-to-safe-html-client.ts +0 -43
  1256. package/src/lib/markdown-to-safe-html.ts +0 -9
  1257. package/src/lib/set-query-param.ts +0 -13
  1258. package/src/lib/time-zones.ts +0 -20
  1259. package/src/lib/use-locale.ts +0 -26
  1260. package/src/lib/utils.ts +0 -6
  1261. package/src/list-schedules/components/schedule-list-item.tsx +0 -183
  1262. package/src/list-schedules/index.ts +0 -1
  1263. package/src/list-schedules/wrappers/list-schedules-platform-wrapper.tsx +0 -130
  1264. package/src/onboarding/continue-with-calcom.tsx +0 -284
  1265. package/src/onboarding/export.ts +0 -2
  1266. package/src/onboarding/onboarding-embed.tsx +0 -266
  1267. package/src/onboarding/types.ts +0 -38
  1268. package/src/router/index.ts +0 -1
  1269. package/src/router/router.tsx +0 -164
  1270. package/src/selected-calendars/index.ts +0 -1
  1271. package/src/selected-calendars/selected-calendars-settings.tsx +0 -7
  1272. package/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.tsx +0 -462
  1273. package/src/timezone/index.tsx +0 -37
  1274. package/src/timezone/timezone-select-component.tsx +0 -193
  1275. package/src/troubleshooter/__tests__/store.test.ts +0 -80
  1276. package/src/troubleshooter/components/calendar-toggle-container-component.tsx +0 -148
  1277. package/src/troubleshooter/components/event-schedule-item-component.tsx +0 -33
  1278. package/src/troubleshooter/components/event-type-select-component.tsx +0 -105
  1279. package/src/troubleshooter/components/troubleshooter-list-item-container.tsx +0 -42
  1280. package/src/troubleshooter/index.ts +0 -1
  1281. package/src/troubleshooter/large-calendar/large-calendar.tsx +0 -30
  1282. package/src/troubleshooter/sidebar/calendar-toggle-container.tsx +0 -25
  1283. package/src/troubleshooter/sidebar/event-schedule-item.tsx +0 -13
  1284. package/src/troubleshooter/sidebar/event-type-select.tsx +0 -8
  1285. package/src/troubleshooter/sidebar/troubleshooter-sidebar.tsx +0 -48
  1286. package/src/troubleshooter/store.ts +0 -110
  1287. package/src/troubleshooter/types.ts +0 -10
  1288. package/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.tsx +0 -89
  1289. package/src/types.ts +0 -7
  1290. package/src/vendor/__tests__/availability.test.ts +0 -60
  1291. package/src/vendor/__tests__/avatar-url.test.ts +0 -75
  1292. package/src/vendor/__tests__/booker-url.test.ts +0 -26
  1293. package/src/vendor/__tests__/booking-to-mutation-input.test.ts +0 -232
  1294. package/src/vendor/__tests__/check-for-empty-assignment.test.ts +0 -59
  1295. package/src/vendor/__tests__/children-event-type.test.ts +0 -64
  1296. package/src/vendor/__tests__/currency.test.ts +0 -48
  1297. package/src/vendor/__tests__/dayjs-utils.test.ts +0 -37
  1298. package/src/vendor/__tests__/error-codes.test.ts +0 -69
  1299. package/src/vendor/__tests__/event-naming.test.ts +0 -32
  1300. package/src/vendor/__tests__/format-date-time.test.ts +0 -90
  1301. package/src/vendor/__tests__/get-available-dates-in-month.test.ts +0 -51
  1302. package/src/vendor/__tests__/host-group-utils.test.ts +0 -117
  1303. package/src/vendor/__tests__/interval-limit.test.ts +0 -42
  1304. package/src/vendor/__tests__/locations-resolver.test.ts +0 -48
  1305. package/src/vendor/__tests__/locations.test.ts +0 -109
  1306. package/src/vendor/__tests__/misc-utils.test.ts +0 -219
  1307. package/src/vendor/__tests__/parse-dates.test.ts +0 -67
  1308. package/src/vendor/__tests__/payments.test.ts +0 -126
  1309. package/src/vendor/__tests__/query-param.test.ts +0 -70
  1310. package/src/vendor/__tests__/recurring.test.ts +0 -104
  1311. package/src/vendor/__tests__/slugify.test.ts +0 -48
  1312. package/src/vendor/__tests__/time-shift.test.ts +0 -48
  1313. package/src/vendor/__tests__/timezone.test.ts +0 -77
  1314. package/src/vendor/__tests__/validate-booker-layouts.test.ts +0 -40
  1315. package/src/vendor/__tests__/webstorage.test.ts +0 -148
  1316. package/src/vendor/__tests__/weekday.test.ts +0 -61
  1317. package/src/vendor/__tests__/weekstart.test.ts +0 -45
  1318. package/src/vendor/analytics.ts +0 -23
  1319. package/src/vendor/availability.ts +0 -52
  1320. package/src/vendor/avatar-url.ts +0 -39
  1321. package/src/vendor/booker-url.ts +0 -23
  1322. package/src/vendor/booking-to-mutation-input.ts +0 -166
  1323. package/src/vendor/cal-ai-phone.ts +0 -31
  1324. package/src/vendor/check-for-empty-assignment.ts +0 -24
  1325. package/src/vendor/children-event-type.ts +0 -50
  1326. package/src/vendor/currency.ts +0 -39
  1327. package/src/vendor/dayjs/index.ts +0 -30
  1328. package/src/vendor/dayjs/plugins/__tests__/business-days-plugin.test.ts +0 -168
  1329. package/src/vendor/dayjs/plugins/business-days-plugin.ts +0 -189
  1330. package/src/vendor/dayjs-utils.ts +0 -13
  1331. package/src/vendor/error-codes.ts +0 -39
  1332. package/src/vendor/event-naming.ts +0 -34
  1333. package/src/vendor/form-builder/__tests__/base-schema.test.ts +0 -109
  1334. package/src/vendor/form-builder/__tests__/schema.test.ts +0 -245
  1335. package/src/vendor/form-builder/__tests__/system-field.test.ts +0 -57
  1336. package/src/vendor/form-builder/__tests__/use-should-be-disabled-due-to-prefill.test.ts +0 -24
  1337. package/src/vendor/form-builder/__tests__/utils.test.ts +0 -83
  1338. package/src/vendor/form-builder/base-schema.ts +0 -127
  1339. package/src/vendor/form-builder/field-type-enum.ts +0 -21
  1340. package/src/vendor/form-builder/field-types.ts +0 -161
  1341. package/src/vendor/form-builder/fields-that-support-label-as-safe-html.ts +0 -3
  1342. package/src/vendor/form-builder/props-types.ts +0 -17
  1343. package/src/vendor/form-builder/schema.ts +0 -269
  1344. package/src/vendor/form-builder/system-field.ts +0 -33
  1345. package/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.tsx +0 -107
  1346. package/src/vendor/form-builder/utils/__tests__/get-field-identifier.test.ts +0 -14
  1347. package/src/vendor/form-builder/utils/__tests__/variants-config.test.ts +0 -98
  1348. package/src/vendor/form-builder/utils/get-field-identifier.ts +0 -5
  1349. package/src/vendor/form-builder/utils/variants-config.ts +0 -71
  1350. package/src/vendor/form-builder/utils.ts +0 -48
  1351. package/src/vendor/form-builder-widgets/index.tsx +0 -213
  1352. package/src/vendor/format-date-time.ts +0 -138
  1353. package/src/vendor/get-available-dates-in-month.ts +0 -36
  1354. package/src/vendor/get-avatar-url.ts +0 -15
  1355. package/src/vendor/get-routed-team-member-ids.ts +0 -9
  1356. package/src/vendor/get-stripe.ts +0 -17
  1357. package/src/vendor/get-username-list.ts +0 -14
  1358. package/src/vendor/hooks/__tests__/use-router-query.test.ts +0 -37
  1359. package/src/vendor/hooks/use-debounce.ts +0 -17
  1360. package/src/vendor/hooks/use-media-query.ts +0 -24
  1361. package/src/vendor/hooks/use-router-query.ts +0 -34
  1362. package/src/vendor/host-group-utils.ts +0 -57
  1363. package/src/vendor/interval-limit.ts +0 -17
  1364. package/src/vendor/invert-logo-on-dark.ts +0 -7
  1365. package/src/vendor/locales/de/common.json +0 -316
  1366. package/src/vendor/locales/en/common.json +0 -316
  1367. package/src/vendor/locales/es/common.json +0 -316
  1368. package/src/vendor/locales/fr/common.json +0 -316
  1369. package/src/vendor/locales/it/common.json +0 -316
  1370. package/src/vendor/locales/nl/common.json +0 -316
  1371. package/src/vendor/locales/pt-BR/common.json +0 -316
  1372. package/src/vendor/locations-resolver.ts +0 -28
  1373. package/src/vendor/locations.ts +0 -250
  1374. package/src/vendor/parse-dates.ts +0 -107
  1375. package/src/vendor/payments.ts +0 -107
  1376. package/src/vendor/phone-input/phone-input.tsx +0 -121
  1377. package/src/vendor/phone-input/phone-masks.ts +0 -7
  1378. package/src/vendor/query-param.ts +0 -37
  1379. package/src/vendor/recurring.ts +0 -58
  1380. package/src/vendor/schedule-list-item.ts +0 -47
  1381. package/src/vendor/scroll.ts +0 -4
  1382. package/src/vendor/server-trans.tsx +0 -88
  1383. package/src/vendor/slugify.ts +0 -28
  1384. package/src/vendor/theme/tokens.css +0 -474
  1385. package/src/vendor/time-format.ts +0 -43
  1386. package/src/vendor/time-preferences.ts +0 -32
  1387. package/src/vendor/time-shift.ts +0 -28
  1388. package/src/vendor/timezone-constants.ts +0 -4
  1389. package/src/vendor/timezone.ts +0 -78
  1390. package/src/vendor/validate-booker-layouts.ts +0 -27
  1391. package/src/vendor/webstorage.ts +0 -78
  1392. package/src/vendor/weekday.ts +0 -35
  1393. package/src/vendor/weekstart.ts +0 -20
@@ -1,110 +0,0 @@
1
- import { useForm } from "react-hook-form";
2
- import { AtomsWrapper } from "../components/atoms-wrapper";
3
- import { Button } from "../components/ui/button";
4
- import { Form } from "../components/ui/form";
5
- import { InputField } from "../components/ui/text-field";
6
- import { useToast } from "../components/ui/use-toast";
7
- import type { ApiErrorResponse } from "../contracts";
8
- import { useAtomCreateSchedule } from "../hooks/schedules/use-atom-create-schedule";
9
- import { useAtomsLocale as useLocale } from "../hooks/use-atoms-locale";
10
- import { cn } from "../lib/utils";
11
-
12
- export type ActionButtonsClassNames = {
13
- container?: string;
14
- continue?: string;
15
- close?: string;
16
- };
17
-
18
- export const CreateScheduleForm = ({
19
- onSuccess,
20
- onError,
21
- onCancel,
22
- customClassNames,
23
- disableToasts = false,
24
- }: {
25
- onSuccess?: (scheduleId: number) => void;
26
- onError?: (err: ApiErrorResponse) => void;
27
- onCancel?: () => void;
28
- customClassNames?: {
29
- formWrapper?: string;
30
- inputField?: string;
31
- actionsButtons?: ActionButtonsClassNames;
32
- };
33
- disableToasts?: boolean;
34
- }) => {
35
- const { toast } = useToast();
36
- const { t } = useLocale();
37
- const form = useForm<{
38
- name: string;
39
- }>();
40
- const { register } = form;
41
-
42
- const { mutateAsync: createSchedule, isPending: isCreateSchedulePending } = useAtomCreateSchedule({
43
- onSuccess: (res) => {
44
- if (!disableToasts) {
45
- toast({
46
- description: t("schedule_created_successfully", { scheduleName: res.data.schedule.name }),
47
- });
48
- }
49
- form.reset();
50
- onSuccess?.(res.data.schedule.id);
51
- },
52
- onError: (err) => {
53
- onError?.(err);
54
- if (!disableToasts) {
55
- toast({
56
- description: `Could not create schedule: ${err.error.message}`,
57
- });
58
- }
59
- },
60
- });
61
-
62
- return (
63
- <AtomsWrapper>
64
- <Form
65
- className={customClassNames?.formWrapper}
66
- form={form}
67
- handleSubmit={async (values) => {
68
- await createSchedule(values);
69
- }}
70
- >
71
- <InputField
72
- className={customClassNames?.inputField}
73
- label={t("name")}
74
- type="text"
75
- id="name"
76
- required
77
- placeholder={t("default_schedule_name")}
78
- {...register("name", {
79
- setValueAs: (v) => (!v || v.trim() === "" ? null : v),
80
- })}
81
- />
82
- <div
83
- className={cn(
84
- "mt-5 justify-end space-x-2 rtl:space-x-reverse sm:mt-4 sm:flex",
85
- customClassNames?.actionsButtons?.container
86
- )}
87
- >
88
- {onCancel && (
89
- <Button
90
- type="button"
91
- color="secondary"
92
- onClick={onCancel}
93
- className={customClassNames?.actionsButtons?.close}
94
- >
95
- {t("close")}
96
- </Button>
97
- )}
98
- <Button
99
- type="submit"
100
- loading={isCreateSchedulePending}
101
- className={customClassNames?.actionsButtons?.continue}
102
- >
103
- {" "}
104
- {t("continue")}
105
- </Button>
106
- </div>
107
- </Form>
108
- </AtomsWrapper>
109
- );
110
- };
@@ -1 +0,0 @@
1
- export { CreateSchedulePlatformWrapper } from "./wrappers/create-schedule-platform-wrapper";
@@ -1,69 +0,0 @@
1
- // @ts-nocheck — atoms wrapper over loose contracts + Radix prop-pick
2
- import { useState } from "react";
3
- import { AtomsWrapper } from "../../components/atoms-wrapper";
4
- import { Button } from "../../components/ui/button";
5
- import { Dialog, DialogContent, DialogTrigger } from "../../components/ui/dialog";
6
- import type { ApiErrorResponse } from "../../contracts";
7
- import { useAtomsLocale as useLocale } from "../../hooks/use-atoms-locale";
8
- import type { ActionButtonsClassNames } from "../create-schedule-form";
9
- import { CreateScheduleForm } from "../create-schedule-form";
10
-
11
- export const CreateSchedulePlatformWrapper = ({
12
- name,
13
- customClassNames,
14
- onSuccess,
15
- onError,
16
- disableToasts = false,
17
- }: {
18
- name?: string;
19
- onSuccess?: (scheduleId: number) => void;
20
- onError?: (err: ApiErrorResponse) => void;
21
- customClassNames?: {
22
- createScheduleButton?: string;
23
- inputField?: string;
24
- formWrapper?: string;
25
- actionsButtons?: ActionButtonsClassNames;
26
- };
27
- disableToasts?: boolean;
28
- }) => {
29
- const { t } = useLocale();
30
- const [isDialogOpen, setIsDialogOpen] = useState(false);
31
-
32
- return (
33
- <AtomsWrapper>
34
- <Dialog open={isDialogOpen} onOpenChange={setIsDialogOpen}>
35
- <DialogTrigger asChild>
36
- <Button
37
- type="button"
38
- data-testid={name}
39
- className={customClassNames?.createScheduleButton}
40
- StartIcon="plus"
41
- onClick={() => setIsDialogOpen(true)}
42
- >
43
- {name ?? t("new")}
44
- </Button>
45
- </DialogTrigger>
46
- <DialogContent className="bg-default text-default">
47
- <CreateScheduleForm
48
- customClassNames={{
49
- formWrapper: customClassNames?.formWrapper,
50
- inputField: customClassNames?.inputField,
51
- actionsButtons: {
52
- container: customClassNames?.actionsButtons?.container,
53
- continue: customClassNames?.actionsButtons?.continue,
54
- close: customClassNames?.actionsButtons?.close,
55
- },
56
- }}
57
- onSuccess={(scheduleId) => {
58
- setIsDialogOpen(false);
59
- onSuccess?.(scheduleId);
60
- }}
61
- onError={onError}
62
- onCancel={() => setIsDialogOpen(false)}
63
- disableToasts={disableToasts}
64
- />
65
- </DialogContent>
66
- </Dialog>
67
- </AtomsWrapper>
68
- );
69
- };
@@ -1,34 +0,0 @@
1
- "use client";
2
-
3
- import type { OptionProps, SingleValueProps } from "react-select";
4
- import { components } from "react-select";
5
-
6
- import { CheckIcon } from "../../components/ui/icons";
7
-
8
- export type DestinationCalendarOption = {
9
- label: string;
10
- value: string;
11
- subtitle: string;
12
- delegationCredentialId?: string;
13
- };
14
-
15
- export const SingleValueComponent = (props: SingleValueProps<DestinationCalendarOption>) => {
16
- const { label, subtitle } = props.data;
17
- return (
18
- <components.SingleValue {...props} className="flex space-x-1">
19
- <p>{label}</p> <p className=" text-subtle">{subtitle}</p>
20
- </components.SingleValue>
21
- );
22
- };
23
-
24
- export const OptionComponent = (props: OptionProps<DestinationCalendarOption>) => {
25
- const { label } = props.data;
26
- return (
27
- <components.Option {...props}>
28
- <div className="flex">
29
- <span className="mr-auto">{label}</span>
30
- {props.isSelected && <CheckIcon className="ml-2 h-4 w-4" />}
31
- </div>
32
- </components.Option>
33
- );
34
- };
@@ -1,149 +0,0 @@
1
- // @ts-nocheck — wrapper/hook reconciles loose atoms contracts with legacy
2
- // backend payload shapes (unknowns from Record<string, any> branches, Radix
3
- // prop-pick narrowing). Runtime matches pre-extract behavior; a targeted
4
- // typing pass follows once the contracts are tightened per-consumer.
5
- "use client";
6
-
7
- import { useEffect, useMemo, useState } from "react";
8
- import { Badge } from "../components/ui/badge";
9
- import { Select } from "../components/ui/select";
10
- import type { ConnectedDestinationCalendars } from "../contracts";
11
- import { useAtomsLocale as useLocale } from "../hooks/use-atoms-locale";
12
- import { getPlaceholderContent } from "../lib/get-placeholder-content";
13
- import { cn } from "../lib/utils";
14
- import { OptionComponent, SingleValueComponent } from "./components/destination-calendar-selector";
15
-
16
- export type DestinationCalendarProps = {
17
- connectedCalendars: ConnectedDestinationCalendars["connectedCalendars"];
18
- destinationCalendar: ConnectedDestinationCalendars["destinationCalendar"];
19
- onChange: (value: { externalId: string; integration: string; delegationCredentialId?: string }) => void;
20
- isPending?: boolean;
21
- hidePlaceholder?: boolean;
22
- value: string | undefined;
23
- maxWidth?: number;
24
- hideAdvancedText?: boolean;
25
- };
26
-
27
- export const DestinationCalendarSelector = ({
28
- connectedCalendars,
29
- destinationCalendar,
30
- onChange,
31
- isPending,
32
- value,
33
- hidePlaceholder,
34
- hideAdvancedText,
35
- maxWidth,
36
- }: DestinationCalendarProps): JSX.Element | null => {
37
- const { t } = useLocale();
38
- const [selectedOption, setSelectedOption] = useState<{
39
- value: string;
40
- label: string;
41
- subtitle: string;
42
- delegationCredentialId?: string;
43
- } | null>(null);
44
-
45
- useEffect(() => {
46
- const selected = connectedCalendars
47
- .flatMap((connected) => connected.calendars ?? [])
48
- .find((cal) => cal.externalId === value);
49
-
50
- if (selected) {
51
- const selectedIntegration = connectedCalendars.find((integration) =>
52
- integration.calendars?.some((calendar) => calendar.externalId === selected.externalId)
53
- );
54
-
55
- const label = selected.name ? `${selected.name} ` : "";
56
- setSelectedOption({
57
- value: `${selected.integration}:${selected.externalId}`,
58
- label,
59
- subtitle: `(${selectedIntegration?.integration.title?.replace(/calendar/i, "")} - ${
60
- selectedIntegration?.primary?.name
61
- })`,
62
- });
63
- }
64
- }, [connectedCalendars, value]);
65
-
66
- const options = useMemo(() => {
67
- return (
68
- connectedCalendars.map((selectedCalendar) => ({
69
- key: selectedCalendar.credentialId,
70
- label: `${selectedCalendar.integration.title?.replace(/calendar/i, "")} (${
71
- selectedCalendar.primary?.integration === "office365_calendar"
72
- ? selectedCalendar.primary?.email
73
- : selectedCalendar.primary?.name
74
- })`,
75
- options: (selectedCalendar.calendars ?? [])
76
- .filter((cal) => cal.readOnly === false)
77
- .map((cal) => ({
78
- label: ` ${cal.name} `,
79
- subtitle: `(${selectedCalendar?.integration.title?.replace(/calendar/i, "")} - ${
80
- selectedCalendar?.primary?.name
81
- })`,
82
- value: `${cal.integration}:${cal.externalId}`,
83
- delegationCredentialId: cal.delegationCredentialId || undefined,
84
- })),
85
- })) ?? []
86
- );
87
- }, [connectedCalendars]);
88
-
89
- return (
90
- <div
91
- className="relative table w-full table-fixed"
92
- title={`${t("create_events_on")}: ${selectedOption?.label || ""}`}
93
- >
94
- <Select
95
- name="primarySelectedCalendar"
96
- placeholder={
97
- !hidePlaceholder ? (
98
- `${t("create_events_on")}`
99
- ) : (
100
- <span className="min-w-0 overflow-hidden truncate whitespace-nowrap text-default">
101
- <Badge variant="blue">{t("default")}</Badge>{" "}
102
- {destinationCalendar?.primaryEmail &&
103
- `${destinationCalendar.name} (${destinationCalendar?.integrationTitle} - ${destinationCalendar.primaryEmail})`}
104
- </span>
105
- )
106
- }
107
- options={options}
108
- styles={{
109
- placeholder: (styles) =>
110
- Object.assign({}, styles, getPlaceholderContent(hidePlaceholder, `'${t("create_events_on")}:'`)),
111
- singleValue: (styles) =>
112
- Object.assign({}, styles, getPlaceholderContent(hidePlaceholder, `'${t("create_events_on")}:'`)),
113
- control: (defaultStyles) =>
114
- Object.assign({}, defaultStyles, {
115
- "@media only screen and (min-width: 640px)": Object.assign(
116
- {},
117
- defaultStyles["@media only screen and (min-width: 640px)"] as object,
118
- { maxWidth }
119
- ),
120
- }),
121
- }}
122
- isSearchable={false}
123
- className={cn("my-2 block w-full min-w-0 flex-1 rounded-none rounded-r-sm border-default text-sm")}
124
- onChange={(newValue) => {
125
- setSelectedOption(newValue);
126
- if (!newValue) {
127
- return;
128
- }
129
-
130
- /* Split only the first `:`, since Apple uses the full URL as externalId */
131
- const [integration, externalId] = newValue.value.split(/:(.+)/);
132
-
133
- onChange({
134
- integration,
135
- externalId,
136
- delegationCredentialId: newValue.delegationCredentialId,
137
- });
138
- }}
139
- isLoading={isPending}
140
- value={selectedOption}
141
- components={{ SingleValue: SingleValueComponent, Option: OptionComponent }}
142
- isMulti={false}
143
- />
144
- {hideAdvancedText ? null : (
145
- <p className="text-sm leading-tight">{t("you_can_override_calendar_in_advanced_tab")}</p>
146
- )}
147
- </div>
148
- );
149
- };
@@ -1,82 +0,0 @@
1
- // biome-ignore lint/style/noRestrictedImports: pre-existing violation
2
-
3
- import { Label } from "../components/ui/label";
4
- import type { ReminderMinutes } from "../contracts";
5
- import { useAtomsLocale as useLocale } from "../hooks/use-atoms-locale";
6
-
7
- import { cn } from "../lib/utils";
8
- import type { DestinationCalendarProps } from "./destination-calendar-selector";
9
- import { DestinationCalendarSelector } from "./destination-calendar-selector";
10
- import { DestinationReminderSelector } from "./destination-reminder-selector";
11
-
12
- type DestinationHeaderClassnames = {
13
- container?: string;
14
- title?: string;
15
- description?: string;
16
- };
17
-
18
- export type DestinationCalendarClassNames = {
19
- container?: string;
20
- header?: DestinationHeaderClassnames;
21
- };
22
-
23
- type DestinationCalendarSettingsProps = DestinationCalendarProps & {
24
- classNames?: string;
25
- classNamesObject?: DestinationCalendarClassNames;
26
- onReminderChange?: ((value: ReminderMinutes) => void) | null;
27
- reminderValue: ReminderMinutes;
28
- isReminderPending?: boolean;
29
- };
30
-
31
- export const DestinationCalendarSettings = (props: DestinationCalendarSettingsProps) => {
32
- const { t } = useLocale();
33
- const showReminderSelector =
34
- props.onReminderChange !== null &&
35
- props.onReminderChange !== undefined &&
36
- props.destinationCalendar?.integration === "google_calendar";
37
-
38
- return (
39
- <div
40
- className={cn(
41
- "border-subtle mb-6 mt-8 rounded-lg border",
42
- props?.classNames || props?.classNamesObject?.container
43
- )}
44
- >
45
- <DestinationCalendarSettingsHeading classNames={props.classNamesObject?.header} />
46
- <div className="border-t">
47
- <div className="border-subtle stack-y-3 flex w-full flex-col border-y-0 p-6">
48
- <div>
49
- <Label className="text-default mb-0 font-medium">{t("add_events_to")}</Label>
50
- <DestinationCalendarSelector {...props} />
51
- </div>
52
- {showReminderSelector && (
53
- <div className="mt-4">
54
- <Label className="text-default mb-0 font-medium">{t("default_reminder")}</Label>
55
- <p className="text-subtle mb-2 text-sm">{t("default_reminder_description")}</p>
56
- <DestinationReminderSelector
57
- value={props.reminderValue}
58
- onChange={props.onReminderChange!}
59
- isPending={props.isReminderPending}
60
- />
61
- </div>
62
- )}
63
- </div>
64
- </div>
65
- </div>
66
- );
67
- };
68
-
69
- const DestinationCalendarSettingsHeading = ({ classNames }: { classNames?: DestinationHeaderClassnames }) => {
70
- const { t } = useLocale();
71
-
72
- return (
73
- <div className={cn("p-6", classNames?.container)}>
74
- <h2 className={cn("text-emphasis mb-1 text-base font-bold leading-5 tracking-wide", classNames?.title)}>
75
- {t("add_to_calendar")}
76
- </h2>
77
- <p className={cn("text-subtle text-sm leading-tight", classNames?.description)}>
78
- {t("add_to_calendar_description")}
79
- </p>
80
- </div>
81
- );
82
- };
@@ -1,51 +0,0 @@
1
- "use client";
2
-
3
- import { Select } from "../components/ui/select";
4
- // biome-ignore lint/style/noRestrictedImports: pre-existing violation
5
- import type { ReminderMinutes } from "../contracts";
6
- import { useAtomsLocale as useLocale } from "../hooks/use-atoms-locale";
7
-
8
- const REMINDER_OPTIONS: Array<{ value: ReminderMinutes; label: string }> = [
9
- { value: null, label: "use_default_reminders" },
10
- { value: 0, label: "just_in_time" },
11
- { value: 10, label: "remind_minutes_before" },
12
- { value: 30, label: "remind_minutes_before" },
13
- { value: 60, label: "remind_minutes_before" },
14
- ];
15
-
16
- interface DestinationReminderSelectorProps {
17
- value: ReminderMinutes;
18
- onChange: (value: ReminderMinutes) => void;
19
- isPending?: boolean;
20
- }
21
-
22
- export const DestinationReminderSelector = ({
23
- value,
24
- onChange,
25
- isPending,
26
- }: DestinationReminderSelectorProps) => {
27
- const { t } = useLocale();
28
-
29
- const options = REMINDER_OPTIONS.map((opt) => ({
30
- value: opt.value,
31
- label: typeof opt.value === "number" ? t(opt.label, { count: opt.value }) : t(opt.label),
32
- }));
33
-
34
- const selectedOption = options.find((opt) => opt.value === value) ?? options[0];
35
-
36
- return (
37
- <Select
38
- name="reminderDuration"
39
- options={options}
40
- value={selectedOption}
41
- onChange={(newValue: { value: ReminderMinutes; label: string } | null) => {
42
- if (newValue) {
43
- onChange(newValue.value);
44
- }
45
- }}
46
- isLoading={isPending}
47
- isSearchable={false}
48
- className="mt-2 block w-full text-sm"
49
- />
50
- );
51
- };
@@ -1 +0,0 @@
1
- export { DestinationCalendarSettingsPlatformWrapper } from "./wrappers/destination-calendar-settings-platform-wrapper";
@@ -1,62 +0,0 @@
1
- // @ts-nocheck — atoms wrapper over loose contracts + Radix prop-pick
2
-
3
- import { AtomsWrapper } from "../../components/atoms-wrapper";
4
- import { useUpdateDestinationCalendars } from "../../hooks/calendars/use-update-destination-calendars";
5
- import { useConnectedCalendars } from "../../hooks/use-connected-calendars";
6
- import type { DestinationCalendarClassNames } from "../destination-calendar";
7
- import { DestinationCalendarSettings } from "../destination-calendar";
8
-
9
- export const DestinationCalendarSettingsPlatformWrapper = ({
10
- statusLoader,
11
- classNames = "mx-5",
12
- classNamesObject,
13
- isDryRun = false,
14
- }: {
15
- statusLoader?: JSX.Element;
16
- classNames?: string;
17
- classNamesObject?: DestinationCalendarClassNames;
18
- isDryRun?: boolean;
19
- }) => {
20
- const calendars = useConnectedCalendars({});
21
- const { mutate: updateDestinationCalendars, isPending: isUpdatingCalendar } =
22
- useUpdateDestinationCalendars();
23
-
24
- if (calendars.isLoading) {
25
- return (
26
- <AtomsWrapper>
27
- <>
28
- {statusLoader}
29
- {!statusLoader && <h1 className="m-5 text-xl font-semibold">Loading...</h1>}
30
- </>
31
- </AtomsWrapper>
32
- );
33
- }
34
-
35
- if (!calendars.data?.connectedCalendars || calendars.data.connectedCalendars.length < 1) {
36
- return null;
37
- }
38
-
39
- return (
40
- <AtomsWrapper>
41
- <DestinationCalendarSettings
42
- classNames={classNames}
43
- classNamesObject={classNamesObject}
44
- connectedCalendars={calendars.data.connectedCalendars}
45
- destinationCalendar={calendars.data.destinationCalendar}
46
- value={calendars.data.destinationCalendar.externalId}
47
- hidePlaceholder
48
- hideAdvancedText
49
- onChange={async ({ externalId, integration, delegationCredentialId }) => {
50
- if (!isDryRun) {
51
- await updateDestinationCalendars({
52
- integration,
53
- externalId,
54
- delegationCredentialId,
55
- });
56
- }
57
- }}
58
- isPending={isUpdatingCalendar}
59
- />
60
- </AtomsWrapper>
61
- );
62
- };