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