@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.
- package/README.md +14 -0
- package/dist/cal-atoms.js +163 -45
- package/dist/{index-D_xjDzPo.js → index-r67FKmIH.js} +29165 -28789
- package/dist/index.d.ts +5888 -2
- package/dist/{stripe-payment-form-B8jt-Dp0.js → stripe-payment-form-DjztBe78.js} +1 -1
- package/package.json +4 -131
- package/dist/src/add-members-switch/add-members-with-switch-platform-wrapper.d.ts +0 -3
- package/dist/src/add-members-switch/add-members-with-switch-platform-wrapper.d.ts.map +0 -1
- package/dist/src/add-members-switch/add-members-with-switch.d.ts +0 -41
- package/dist/src/add-members-switch/add-members-with-switch.d.ts.map +0 -1
- package/dist/src/availability/availability-settings.d.ts +0 -88
- package/dist/src/availability/availability-settings.d.ts.map +0 -1
- package/dist/src/availability/components/date-override-input-dialog.d.ts +0 -17
- package/dist/src/availability/components/date-override-input-dialog.d.ts.map +0 -1
- package/dist/src/availability/components/date-override-list.d.ts +0 -20
- package/dist/src/availability/components/date-override-list.d.ts.map +0 -1
- package/dist/src/availability/components/schedule-component.d.ts +0 -49
- package/dist/src/availability/components/schedule-component.d.ts.map +0 -1
- package/dist/src/availability/index.d.ts +0 -4
- package/dist/src/availability/index.d.ts.map +0 -1
- package/dist/src/availability/types.d.ts +0 -36
- package/dist/src/availability/types.d.ts.map +0 -1
- package/dist/src/availability/wrappers/availability-settings-platform-wrapper.d.ts +0 -28
- package/dist/src/availability/wrappers/availability-settings-platform-wrapper.d.ts.map +0 -1
- package/dist/src/booker/booker-platform-wrapper.d.ts +0 -5
- package/dist/src/booker/booker-platform-wrapper.d.ts.map +0 -1
- package/dist/src/booker/booker-store-provider.d.ts +0 -11
- package/dist/src/booker/booker-store-provider.d.ts.map +0 -1
- package/dist/src/booker/components/available-time-slots.d.ts +0 -46
- package/dist/src/booker/components/available-time-slots.d.ts.map +0 -1
- package/dist/src/booker/components/available-times-header.d.ts +0 -14
- package/dist/src/booker/components/available-times-header.d.ts.map +0 -1
- package/dist/src/booker/components/available-times.d.ts +0 -46
- package/dist/src/booker/components/available-times.d.ts.map +0 -1
- package/dist/src/booker/components/book-event-form/book-event-form.d.ts +0 -34
- package/dist/src/booker/components/book-event-form/book-event-form.d.ts.map +0 -1
- package/dist/src/booker/components/book-event-form/book-form-as-modal.d.ts +0 -14
- package/dist/src/booker/components/book-event-form/book-form-as-modal.d.ts.map +0 -1
- package/dist/src/booker/components/book-event-form/booking-fields.d.ts +0 -35
- package/dist/src/booker/components/book-event-form/booking-fields.d.ts.map +0 -1
- package/dist/src/booker/components/book-event-form/index.d.ts +0 -5
- package/dist/src/booker/components/book-event-form/index.d.ts.map +0 -1
- package/dist/src/booker/components/book-event-form/skeleton.d.ts +0 -2
- package/dist/src/booker/components/book-event-form/skeleton.d.ts.map +0 -1
- package/dist/src/booker/components/booker-component.d.ts +0 -2
- package/dist/src/booker/components/booker-component.d.ts.map +0 -1
- package/dist/src/booker/components/booker-section.d.ts +0 -15
- package/dist/src/booker/components/booker-section.d.ts.map +0 -1
- package/dist/src/booker/components/dry-run-message.d.ts +0 -4
- package/dist/src/booker/components/dry-run-message.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/available-event-locations.d.ts +0 -6
- package/dist/src/booker/components/event-meta/available-event-locations.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/details.d.ts +0 -34
- package/dist/src/booker/components/event-meta/details.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/duration.d.ts +0 -9
- package/dist/src/booker/components/event-meta/duration.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/index.d.ts +0 -7
- package/dist/src/booker/components/event-meta/index.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/locations.d.ts +0 -5
- package/dist/src/booker/components/event-meta/locations.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/members.d.ts +0 -13
- package/dist/src/booker/components/event-meta/members.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/occurences.d.ts +0 -5
- package/dist/src/booker/components/event-meta/occurences.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/price-icon.d.ts +0 -5
- package/dist/src/booker/components/event-meta/price-icon.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/price.d.ts +0 -7
- package/dist/src/booker/components/event-meta/price.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/skeleton.d.ts +0 -2
- package/dist/src/booker/components/event-meta/skeleton.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta/title.d.ts +0 -9
- package/dist/src/booker/components/event-meta/title.d.ts.map +0 -1
- package/dist/src/booker/components/event-meta.d.ts +0 -25
- package/dist/src/booker/components/event-meta.d.ts.map +0 -1
- package/dist/src/booker/components/external-redirect-interstitial.d.ts +0 -9
- package/dist/src/booker/components/external-redirect-interstitial.d.ts.map +0 -1
- package/dist/src/booker/components/form-builder/components.d.ts +0 -48
- package/dist/src/booker/components/form-builder/components.d.ts.map +0 -1
- package/dist/src/booker/components/form-builder/form-builder-field.d.ts +0 -46
- package/dist/src/booker/components/form-builder/form-builder-field.d.ts.map +0 -1
- package/dist/src/booker/components/having-trouble-finding-time.d.ts +0 -9
- package/dist/src/booker/components/having-trouble-finding-time.d.ts.map +0 -1
- package/dist/src/booker/components/header.d.ts +0 -18
- package/dist/src/booker/components/header.d.ts.map +0 -1
- package/dist/src/booker/components/instant-booking.d.ts +0 -16
- package/dist/src/booker/components/instant-booking.d.ts.map +0 -1
- package/dist/src/booker/components/out-of-office-in-slots.d.ts +0 -19
- package/dist/src/booker/components/out-of-office-in-slots.d.ts.map +0 -1
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.d.ts +0 -8
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.d.ts.map +0 -1
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.d.ts +0 -11
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.d.ts.map +0 -1
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-switch.d.ts +0 -8
- package/dist/src/booker/components/overlay-calendar/overlay-calendar-switch.d.ts.map +0 -1
- package/dist/src/booker/components/overlay-calendar/overlay-calendar.d.ts +0 -28
- package/dist/src/booker/components/overlay-calendar/overlay-calendar.d.ts.map +0 -1
- package/dist/src/booker/components/overlay-calendar/store.d.ts +0 -12
- package/dist/src/booker/components/overlay-calendar/store.d.ts.map +0 -1
- package/dist/src/booker/components/pay-icon.d.ts +0 -5
- package/dist/src/booker/components/pay-icon.d.ts.map +0 -1
- package/dist/src/booker/components/price.d.ts +0 -9
- package/dist/src/booker/components/price.d.ts.map +0 -1
- package/dist/src/booker/components/redirect-to-instant-meeting-modal.d.ts +0 -8
- package/dist/src/booker/components/redirect-to-instant-meeting-modal.d.ts.map +0 -1
- package/dist/src/booker/components/scrollable-with-gradients.d.ts +0 -9
- package/dist/src/booker/components/scrollable-with-gradients.d.ts.map +0 -1
- package/dist/src/booker/components/seats-availability-text.d.ts +0 -18
- package/dist/src/booker/components/seats-availability-text.d.ts.map +0 -1
- package/dist/src/booker/components/section.d.ts +0 -17
- package/dist/src/booker/components/section.d.ts.map +0 -1
- package/dist/src/booker/components/slot-selection-modal-header.d.ts +0 -14
- package/dist/src/booker/components/slot-selection-modal-header.d.ts.map +0 -1
- package/dist/src/booker/components/time-format-toggle.d.ts +0 -4
- package/dist/src/booker/components/time-format-toggle.d.ts.map +0 -1
- package/dist/src/booker/components/unavailable.d.ts +0 -3
- package/dist/src/booker/components/unavailable.d.ts.map +0 -1
- package/dist/src/booker/components/unpublished-entity.d.ts +0 -8
- package/dist/src/booker/components/unpublished-entity.d.ts.map +0 -1
- package/dist/src/booker/components/verify-code-dialog.d.ts +0 -15
- package/dist/src/booker/components/verify-code-dialog.d.ts.map +0 -1
- package/dist/src/booker/config.d.ts +0 -86
- package/dist/src/booker/config.d.ts.map +0 -1
- package/dist/src/booker/framer-features.d.ts +0 -3
- package/dist/src/booker/framer-features.d.ts.map +0 -1
- package/dist/src/booker/hooks/embed-stubs.d.ts +0 -20
- package/dist/src/booker/hooks/embed-stubs.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-available-time-slots.d.ts +0 -23
- package/dist/src/booker/hooks/use-available-time-slots.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-booker-layout.d.ts +0 -51
- package/dist/src/booker/hooks/use-booker-layout.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-booker-time.d.ts +0 -7
- package/dist/src/booker/hooks/use-booker-time.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-booking-form.d.ts +0 -65
- package/dist/src/booker/hooks/use-booking-form.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-bookings-types.d.ts +0 -10
- package/dist/src/booker/hooks/use-bookings-types.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-check-overlap-with-overlay.d.ts +0 -11
- package/dist/src/booker/hooks/use-check-overlap-with-overlay.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-initialize-week-start.d.ts +0 -2
- package/dist/src/booker/hooks/use-initialize-week-start.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-is-quick-availability-check-feature-enabled.d.ts +0 -15
- package/dist/src/booker/hooks/use-is-quick-availability-check-feature-enabled.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-local-set.d.ts +0 -12
- package/dist/src/booker/hooks/use-local-set.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-non-empty-schedule-days.d.ts +0 -3
- package/dist/src/booker/hooks/use-non-empty-schedule-days.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-overlay-calendar.d.ts +0 -23
- package/dist/src/booker/hooks/use-overlay-calendar.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-should-show-arrows.d.ts +0 -8
- package/dist/src/booker/hooks/use-should-show-arrows.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-skip-confirm-step.d.ts +0 -21
- package/dist/src/booker/hooks/use-skip-confirm-step.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-slots-for-date.d.ts +0 -21
- package/dist/src/booker/hooks/use-slots-for-date.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-stable-timezone.d.ts +0 -5
- package/dist/src/booker/hooks/use-stable-timezone.d.ts.map +0 -1
- package/dist/src/booker/hooks/use-times-for-schedule.d.ts +0 -27
- package/dist/src/booker/hooks/use-times-for-schedule.d.ts.map +0 -1
- package/dist/src/booker/store.d.ts +0 -200
- package/dist/src/booker/store.d.ts.map +0 -1
- package/dist/src/booker/types.d.ts +0 -118
- package/dist/src/booker/types.d.ts.map +0 -1
- package/dist/src/booker/use-slot-reservation-id.d.ts +0 -2
- package/dist/src/booker/use-slot-reservation-id.d.ts.map +0 -1
- package/dist/src/booker/utils/are-different-valid-months.d.ts +0 -2
- package/dist/src/booker/utils/are-different-valid-months.d.ts.map +0 -1
- package/dist/src/booker/utils/dates.d.ts +0 -26
- package/dist/src/booker/utils/dates.d.ts.map +0 -1
- package/dist/src/booker/utils/get-booker-timezone.d.ts +0 -5
- package/dist/src/booker/utils/get-booker-timezone.d.ts.map +0 -1
- package/dist/src/booker/utils/get-booking-duration.d.ts +0 -6
- package/dist/src/booker/utils/get-booking-duration.d.ts.map +0 -1
- package/dist/src/booker/utils/get-prefetch-month-count.d.ts +0 -3
- package/dist/src/booker/utils/get-prefetch-month-count.d.ts.map +0 -1
- package/dist/src/booker/utils/is-booking-dry-run.d.ts +0 -3
- package/dist/src/booker/utils/is-booking-dry-run.d.ts.map +0 -1
- package/dist/src/booker/utils/is-month-change.d.ts +0 -2
- package/dist/src/booker/utils/is-month-change.d.ts.map +0 -1
- package/dist/src/booker/utils/is-month-view-prefetch-enabled.d.ts +0 -2
- package/dist/src/booker/utils/is-month-view-prefetch-enabled.d.ts.map +0 -1
- package/dist/src/booker/utils/is-prefetch-next-month-enabled.d.ts +0 -2
- package/dist/src/booker/utils/is-prefetch-next-month-enabled.d.ts.map +0 -1
- package/dist/src/booker/utils/is-timeslot-available.d.ts +0 -19
- package/dist/src/booker/utils/is-timeslot-available.d.ts.map +0 -1
- package/dist/src/booker/utils/layout.d.ts +0 -2
- package/dist/src/booker/utils/layout.d.ts.map +0 -1
- package/dist/src/booker-embed/booker-embed.d.ts +0 -31
- package/dist/src/booker-embed/booker-embed.d.ts.map +0 -1
- package/dist/src/booker-embed/index.d.ts +0 -2
- package/dist/src/booker-embed/index.d.ts.map +0 -1
- package/dist/src/booker-embed/use-get-routing-form-url-props.d.ts +0 -29
- package/dist/src/booker-embed/use-get-routing-form-url-props.d.ts.map +0 -1
- package/dist/src/cal-provider/base-cal-provider.d.ts +0 -24
- package/dist/src/cal-provider/base-cal-provider.d.ts.map +0 -1
- package/dist/src/cal-provider/cal-o-auth-provider.d.ts +0 -19
- package/dist/src/cal-provider/cal-o-auth-provider.d.ts.map +0 -1
- package/dist/src/cal-provider/cal-provider.d.ts +0 -22
- package/dist/src/cal-provider/cal-provider.d.ts.map +0 -1
- package/dist/src/cal-provider/index.d.ts +0 -3
- package/dist/src/cal-provider/index.d.ts.map +0 -1
- package/dist/src/cal-provider/languages.d.ts +0 -55
- package/dist/src/cal-provider/languages.d.ts.map +0 -1
- package/dist/src/calendar-settings/index.d.ts +0 -2
- package/dist/src/calendar-settings/index.d.ts.map +0 -1
- package/dist/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.d.ts +0 -17
- package/dist/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.d.ts.map +0 -1
- package/dist/src/calendar-view/calendar-view-component.d.ts +0 -2
- package/dist/src/calendar-view/calendar-view-component.d.ts.map +0 -1
- package/dist/src/calendar-view/components/calendar.d.ts +0 -2
- package/dist/src/calendar-view/components/calendar.d.ts.map +0 -1
- package/dist/src/calendar-view/components/date-picker.d.ts +0 -82
- package/dist/src/calendar-view/components/date-picker.d.ts.map +0 -1
- package/dist/src/calendar-view/components/large-calendar.d.ts +0 -19
- package/dist/src/calendar-view/components/large-calendar.d.ts.map +0 -1
- package/dist/src/calendar-view/components/no-availability-dialog.d.ts +0 -19
- package/dist/src/calendar-view/components/no-availability-dialog.d.ts.map +0 -1
- package/dist/src/calendar-view/event-type-calendar-view-component.d.ts +0 -7
- package/dist/src/calendar-view/event-type-calendar-view-component.d.ts.map +0 -1
- package/dist/src/calendar-view/index.d.ts +0 -2
- package/dist/src/calendar-view/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/calendar.d.ts +0 -4
- package/dist/src/calendar-view/scheduler/components/calendar.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/current-time/index.d.ts +0 -6
- package/dist/src/calendar-view/scheduler/components/current-time/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/date-values/index.d.ts +0 -12
- package/dist/src/calendar-view/scheduler/components/date-values/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/default-out-of-office-slot.d.ts +0 -3
- package/dist/src/calendar-view/scheduler/components/default-out-of-office-slot.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/event/all-day-events.d.ts +0 -108
- package/dist/src/calendar-view/scheduler/components/event/all-day-events.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/event/empty.d.ts +0 -18
- package/dist/src/calendar-view/scheduler/components/event/empty.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/event/event-list.d.ts +0 -7
- package/dist/src/calendar-view/scheduler/components/event/event-list.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/event/event.d.ts +0 -14
- package/dist/src/calendar-view/scheduler/components/event/event.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/event/index.d.ts +0 -5
- package/dist/src/calendar-view/scheduler/components/event/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/grid/index.d.ts +0 -10
- package/dist/src/calendar-view/scheduler/components/grid/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/heading/index.d.ts +0 -2
- package/dist/src/calendar-view/scheduler/components/heading/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/heading/scheduler-heading.d.ts +0 -2
- package/dist/src/calendar-view/scheduler/components/heading/scheduler-heading.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/horizontal-lines/index.d.ts +0 -9
- package/dist/src/calendar-view/scheduler/components/horizontal-lines/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/spinner/spinner.d.ts +0 -4
- package/dist/src/calendar-view/scheduler/components/spinner/spinner.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/components/vertical-lines/index.d.ts +0 -7
- package/dist/src/calendar-view/scheduler/components/vertical-lines/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/state/store.d.ts +0 -7
- package/dist/src/calendar-view/scheduler/state/store.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/types/common.d.ts +0 -2
- package/dist/src/calendar-view/scheduler/types/common.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/types/events.d.ts +0 -20
- package/dist/src/calendar-view/scheduler/types/events.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/types/state.d.ts +0 -93
- package/dist/src/calendar-view/scheduler/types/state.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/utils/index.d.ts +0 -20
- package/dist/src/calendar-view/scheduler/utils/index.d.ts.map +0 -1
- package/dist/src/calendar-view/scheduler/utils/overlap.d.ts +0 -20
- package/dist/src/calendar-view/scheduler/utils/overlap.d.ts.map +0 -1
- package/dist/src/calendar-view/wrappers/calendar-view-platform-wrapper.d.ts +0 -22
- package/dist/src/calendar-view/wrappers/calendar-view-platform-wrapper.d.ts.map +0 -1
- package/dist/src/components/atoms-wrapper.d.ts +0 -6
- package/dist/src/components/atoms-wrapper.d.ts.map +0 -1
- package/dist/src/components/ui/address-input.d.ts +0 -11
- package/dist/src/components/ui/address-input.d.ts.map +0 -1
- package/dist/src/components/ui/alert.d.ts +0 -16
- package/dist/src/components/ui/alert.d.ts.map +0 -1
- package/dist/src/components/ui/app-list-card.d.ts +0 -30
- package/dist/src/components/ui/app-list-card.d.ts.map +0 -1
- package/dist/src/components/ui/avatar-group.d.ts +0 -14
- package/dist/src/components/ui/avatar-group.d.ts.map +0 -1
- package/dist/src/components/ui/avatar.d.ts +0 -18
- package/dist/src/components/ui/avatar.d.ts.map +0 -1
- package/dist/src/components/ui/badge.d.ts +0 -553
- package/dist/src/components/ui/badge.d.ts.map +0 -1
- package/dist/src/components/ui/button-group.d.ts +0 -9
- package/dist/src/components/ui/button-group.d.ts.map +0 -1
- package/dist/src/components/ui/button.d.ts +0 -37
- package/dist/src/components/ui/button.d.ts.map +0 -1
- package/dist/src/components/ui/calendar-switch.d.ts +0 -22
- package/dist/src/components/ui/calendar-switch.d.ts.map +0 -1
- package/dist/src/components/ui/checkbox.d.ts +0 -15
- package/dist/src/components/ui/checkbox.d.ts.map +0 -1
- package/dist/src/components/ui/checked-team-select.d.ts +0 -43
- package/dist/src/components/ui/checked-team-select.d.ts.map +0 -1
- package/dist/src/components/ui/confirmation-dialog-content.d.ts +0 -20
- package/dist/src/components/ui/confirmation-dialog-content.d.ts.map +0 -1
- package/dist/src/components/ui/controlled-dialog.d.ts +0 -17
- package/dist/src/components/ui/controlled-dialog.d.ts.map +0 -1
- package/dist/src/components/ui/dialog.d.ts +0 -38
- package/dist/src/components/ui/dialog.d.ts.map +0 -1
- package/dist/src/components/ui/disconnect-calendar-integration.d.ts +0 -12
- package/dist/src/components/ui/disconnect-calendar-integration.d.ts.map +0 -1
- package/dist/src/components/ui/divider.d.ts +0 -3
- package/dist/src/components/ui/divider.d.ts.map +0 -1
- package/dist/src/components/ui/dropdown.d.ts +0 -40
- package/dist/src/components/ui/dropdown.d.ts.map +0 -1
- package/dist/src/components/ui/editable-heading.d.ts +0 -6
- package/dist/src/components/ui/editable-heading.d.ts.map +0 -1
- package/dist/src/components/ui/empty-screen.d.ts +0 -18
- package/dist/src/components/ui/empty-screen.d.ts.map +0 -1
- package/dist/src/components/ui/form.d.ts +0 -11
- package/dist/src/components/ui/form.d.ts.map +0 -1
- package/dist/src/components/ui/icon.d.ts +0 -42
- package/dist/src/components/ui/icon.d.ts.map +0 -1
- package/dist/src/components/ui/icons.d.ts +0 -21
- package/dist/src/components/ui/icons.d.ts.map +0 -1
- package/dist/src/components/ui/info-badge.d.ts +0 -4
- package/dist/src/components/ui/info-badge.d.ts.map +0 -1
- package/dist/src/components/ui/label.d.ts +0 -2
- package/dist/src/components/ui/label.d.ts.map +0 -1
- package/dist/src/components/ui/navigation.d.ts +0 -37
- package/dist/src/components/ui/navigation.d.ts.map +0 -1
- package/dist/src/components/ui/popover.d.ts +0 -17
- package/dist/src/components/ui/popover.d.ts.map +0 -1
- package/dist/src/components/ui/radio-area-group.d.ts +0 -20
- package/dist/src/components/ui/radio-area-group.d.ts.map +0 -1
- package/dist/src/components/ui/radio.d.ts +0 -24
- package/dist/src/components/ui/radio.d.ts.map +0 -1
- package/dist/src/components/ui/react-select-components.d.ts +0 -29
- package/dist/src/components/ui/react-select-components.d.ts.map +0 -1
- package/dist/src/components/ui/select.d.ts +0 -26
- package/dist/src/components/ui/select.d.ts.map +0 -1
- package/dist/src/components/ui/settings-header.d.ts +0 -21
- package/dist/src/components/ui/settings-header.d.ts.map +0 -1
- package/dist/src/components/ui/settings-toggle.d.ts +0 -23
- package/dist/src/components/ui/settings-toggle.d.ts.map +0 -1
- package/dist/src/components/ui/shell.d.ts +0 -31
- package/dist/src/components/ui/shell.d.ts.map +0 -1
- package/dist/src/components/ui/show-toast.d.ts +0 -13
- package/dist/src/components/ui/show-toast.d.ts.map +0 -1
- package/dist/src/components/ui/skeleton.d.ts +0 -31
- package/dist/src/components/ui/skeleton.d.ts.map +0 -1
- package/dist/src/components/ui/switch.d.ts +0 -5
- package/dist/src/components/ui/switch.d.ts.map +0 -1
- package/dist/src/components/ui/text-field.d.ts +0 -99
- package/dist/src/components/ui/text-field.d.ts.map +0 -1
- package/dist/src/components/ui/toast.d.ts +0 -13
- package/dist/src/components/ui/toast.d.ts.map +0 -1
- package/dist/src/components/ui/toaster.d.ts +0 -2
- package/dist/src/components/ui/toaster.d.ts.map +0 -1
- package/dist/src/components/ui/toggle-group.d.ts +0 -20
- package/dist/src/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/src/components/ui/tooltip.d.ts +0 -29
- package/dist/src/components/ui/tooltip.d.ts.map +0 -1
- package/dist/src/components/ui/use-toast.d.ts +0 -45
- package/dist/src/components/ui/use-toast.d.ts.map +0 -1
- package/dist/src/components/ui/user-avatar-group-with-org.d.ts +0 -18
- package/dist/src/components/ui/user-avatar-group-with-org.d.ts.map +0 -1
- package/dist/src/connect/apple/apple-connect.d.ts +0 -4
- package/dist/src/connect/apple/apple-connect.d.ts.map +0 -1
- package/dist/src/connect/components/disconnect-integration-modal.d.ts +0 -19
- package/dist/src/connect/components/disconnect-integration-modal.d.ts.map +0 -1
- package/dist/src/connect/components/office365-account-dialog.d.ts +0 -12
- package/dist/src/connect/components/office365-account-dialog.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/components/app-list.d.ts +0 -65
- package/dist/src/connect/conferencing-apps/components/app-list.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.d.ts +0 -29
- package/dist/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.d.ts +0 -10
- package/dist/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-atom-get-event-types.d.ts +0 -10
- package/dist/src/connect/conferencing-apps/hooks/use-atom-get-event-types.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.d.ts +0 -4
- package/dist/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-connect.d.ts +0 -22
- package/dist/src/connect/conferencing-apps/hooks/use-connect.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-delete-credential.d.ts +0 -9
- package/dist/src/connect/conferencing-apps/hooks/use-delete-credential.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.d.ts +0 -6
- package/dist/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.d.ts.map +0 -1
- package/dist/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.d.ts +0 -9
- package/dist/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.d.ts.map +0 -1
- package/dist/src/connect/google/gcal-connect.d.ts +0 -4
- package/dist/src/connect/google/gcal-connect.d.ts.map +0 -1
- package/dist/src/connect/index.d.ts +0 -4
- package/dist/src/connect/index.d.ts.map +0 -1
- package/dist/src/connect/o-auth-connect.d.ts +0 -25
- package/dist/src/connect/o-auth-connect.d.ts.map +0 -1
- package/dist/src/connect/outlook/outlook-connect.d.ts +0 -4
- package/dist/src/connect/outlook/outlook-connect.d.ts.map +0 -1
- package/dist/src/connect/stripe/stripe-connect.d.ts +0 -22
- package/dist/src/connect/stripe/stripe-connect.d.ts.map +0 -1
- package/dist/src/constants/api.d.ts +0 -44
- package/dist/src/constants/api.d.ts.map +0 -1
- package/dist/src/constants/app.d.ts +0 -19
- package/dist/src/constants/app.d.ts.map +0 -1
- package/dist/src/constants/apps.d.ts +0 -32
- package/dist/src/constants/apps.d.ts.map +0 -1
- package/dist/src/constants/index.d.ts +0 -4
- package/dist/src/constants/index.d.ts.map +0 -1
- package/dist/src/constants/styles.d.ts +0 -2
- package/dist/src/constants/styles.d.ts.map +0 -1
- package/dist/src/contracts/api.d.ts +0 -27
- package/dist/src/contracts/api.d.ts.map +0 -1
- package/dist/src/contracts/apps.d.ts +0 -21
- package/dist/src/contracts/apps.d.ts.map +0 -1
- package/dist/src/contracts/booker.d.ts +0 -255
- package/dist/src/contracts/booker.d.ts.map +0 -1
- package/dist/src/contracts/bookings.d.ts +0 -154
- package/dist/src/contracts/bookings.d.ts.map +0 -1
- package/dist/src/contracts/calendars.d.ts +0 -82
- package/dist/src/contracts/calendars.d.ts.map +0 -1
- package/dist/src/contracts/event-types.d.ts +0 -225
- package/dist/src/contracts/event-types.d.ts.map +0 -1
- package/dist/src/contracts/index.d.ts +0 -13
- package/dist/src/contracts/index.d.ts.map +0 -1
- package/dist/src/contracts/oauth.d.ts +0 -2
- package/dist/src/contracts/oauth.d.ts.map +0 -1
- package/dist/src/contracts/organizations.d.ts +0 -15
- package/dist/src/contracts/organizations.d.ts.map +0 -1
- package/dist/src/contracts/schedules.d.ts +0 -92
- package/dist/src/contracts/schedules.d.ts.map +0 -1
- package/dist/src/contracts/slots.d.ts +0 -57
- package/dist/src/contracts/slots.d.ts.map +0 -1
- package/dist/src/contracts/teams.d.ts +0 -31
- package/dist/src/contracts/teams.d.ts.map +0 -1
- package/dist/src/contracts/user.d.ts +0 -25
- package/dist/src/contracts/user.d.ts.map +0 -1
- package/dist/src/create-schedule/create-schedule-form.d.ts +0 -18
- package/dist/src/create-schedule/create-schedule-form.d.ts.map +0 -1
- package/dist/src/create-schedule/index.d.ts +0 -2
- package/dist/src/create-schedule/index.d.ts.map +0 -1
- package/dist/src/create-schedule/wrappers/create-schedule-platform-wrapper.d.ts +0 -15
- package/dist/src/create-schedule/wrappers/create-schedule-platform-wrapper.d.ts.map +0 -1
- package/dist/src/destination-calendar/components/destination-calendar-selector.d.ts +0 -10
- package/dist/src/destination-calendar/components/destination-calendar-selector.d.ts.map +0 -1
- package/dist/src/destination-calendar/destination-calendar-selector.d.ts +0 -17
- package/dist/src/destination-calendar/destination-calendar-selector.d.ts.map +0 -1
- package/dist/src/destination-calendar/destination-calendar.d.ts +0 -21
- package/dist/src/destination-calendar/destination-calendar.d.ts.map +0 -1
- package/dist/src/destination-calendar/destination-reminder-selector.d.ts +0 -9
- package/dist/src/destination-calendar/destination-reminder-selector.d.ts.map +0 -1
- package/dist/src/destination-calendar/index.d.ts +0 -2
- package/dist/src/destination-calendar/index.d.ts.map +0 -1
- package/dist/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.d.ts +0 -8
- package/dist/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/components/assign-all-team-members.d.ts +0 -14
- package/dist/src/event-types/components/assign-all-team-members.d.ts.map +0 -1
- package/dist/src/event-types/components/bulk-edit-default-for-events-modal.d.ts +0 -29
- package/dist/src/event-types/components/bulk-edit-default-for-events-modal.d.ts.map +0 -1
- package/dist/src/event-types/components/children-event-type-select.d.ts +0 -34
- package/dist/src/event-types/components/children-event-type-select.d.ts.map +0 -1
- package/dist/src/event-types/components/create-event-type-form.d.ts +0 -29
- package/dist/src/event-types/components/create-event-type-form.d.ts.map +0 -1
- package/dist/src/event-types/components/event-team-assignment-tab.d.ts +0 -2
- package/dist/src/event-types/components/event-team-assignment-tab.d.ts.map +0 -1
- package/dist/src/event-types/components/event-type-list-item.d.ts +0 -12
- package/dist/src/event-types/components/event-type-list-item.d.ts.map +0 -1
- package/dist/src/event-types/components/host-edit-dialogs.d.ts +0 -40
- package/dist/src/event-types/components/host-edit-dialogs.d.ts.map +0 -1
- package/dist/src/event-types/components/learn-more-link.d.ts +0 -15
- package/dist/src/event-types/components/learn-more-link.d.ts.map +0 -1
- package/dist/src/event-types/components/managed-event-dialog.d.ts +0 -13
- package/dist/src/event-types/components/managed-event-dialog.d.ts.map +0 -1
- package/dist/src/event-types/components/recurring-event-controller.d.ts +0 -34
- package/dist/src/event-types/components/recurring-event-controller.d.ts.map +0 -1
- package/dist/src/event-types/components/tabs/event-recurring-tab.d.ts +0 -14
- package/dist/src/event-types/components/tabs/event-recurring-tab.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.d.ts +0 -9
- package/dist/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/children-event-types-list.d.ts +0 -11
- package/dist/src/event-types/components/team-assignment/children-event-types-list.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/children-event-types.d.ts +0 -18
- package/dist/src/event-types/components/team-assignment/children-event-types.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/event-team-assignment-tab.d.ts +0 -58
- package/dist/src/event-types/components/team-assignment/event-team-assignment-tab.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/fixed-hosts.d.ts +0 -20
- package/dist/src/event-types/components/team-assignment/fixed-hosts.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/hosts.d.ts +0 -19
- package/dist/src/event-types/components/team-assignment/hosts.d.ts.map +0 -1
- package/dist/src/event-types/components/team-assignment/round-robin-hosts.d.ts +0 -26
- package/dist/src/event-types/components/team-assignment/round-robin-hosts.d.ts.map +0 -1
- package/dist/src/event-types/components/team-event-type-form.d.ts +0 -27
- package/dist/src/event-types/components/team-event-type-form.d.ts.map +0 -1
- package/dist/src/event-types/components/weight-description.d.ts +0 -6
- package/dist/src/event-types/components/weight-description.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-add-verified-email.d.ts +0 -15
- package/dist/src/event-types/hooks/use-add-verified-email.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-apps-data-stub.d.ts +0 -15
- package/dist/src/event-types/hooks/use-apps-data-stub.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-assign-all-managed-warning.d.ts +0 -17
- package/dist/src/event-types/hooks/use-assign-all-managed-warning.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-event-type-app-integration.d.ts +0 -21
- package/dist/src/event-types/hooks/use-atom-event-type-app-integration.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-event-type-by-id.d.ts +0 -4
- package/dist/src/event-types/hooks/use-atom-event-type-by-id.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-event-type-payment-info.d.ts +0 -7
- package/dist/src/event-types/hooks/use-atom-event-type-payment-info.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-get-all-event-types.d.ts +0 -9
- package/dist/src/event-types/hooks/use-atom-get-all-event-types.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-host-schedules.d.ts +0 -14
- package/dist/src/event-types/hooks/use-atom-host-schedules.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-atom-update-event-type.d.ts +0 -10
- package/dist/src/event-types/hooks/use-atom-update-event-type.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-event-type-form.d.ts +0 -15
- package/dist/src/event-types/hooks/use-event-type-form.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-get-verified-emails.d.ts +0 -3
- package/dist/src/event-types/hooks/use-get-verified-emails.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-handle-route-change.d.ts +0 -15
- package/dist/src/event-types/hooks/use-handle-route-change.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-locked-fields-manager-stub.d.ts +0 -29
- package/dist/src/event-types/hooks/use-locked-fields-manager-stub.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-platform-tabs-navigations.d.ts +0 -16
- package/dist/src/event-types/hooks/use-platform-tabs-navigations.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-tabs-navigations.d.ts +0 -40
- package/dist/src/event-types/hooks/use-tabs-navigations.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-team-event-assignment.d.ts +0 -65
- package/dist/src/event-types/hooks/use-team-event-assignment.d.ts.map +0 -1
- package/dist/src/event-types/hooks/use-team-members-with-segment-platform.d.ts +0 -36
- package/dist/src/event-types/hooks/use-team-members-with-segment-platform.d.ts.map +0 -1
- package/dist/src/event-types/index.d.ts +0 -2
- package/dist/src/event-types/index.d.ts.map +0 -1
- package/dist/src/event-types/lib/format-event-type-duration.d.ts +0 -13
- package/dist/src/event-types/lib/format-event-type-duration.d.ts.map +0 -1
- package/dist/src/event-types/payments/payment-form.d.ts +0 -9
- package/dist/src/event-types/payments/payment-form.d.ts.map +0 -1
- package/dist/src/event-types/payments/payment-page-types.d.ts +0 -48
- package/dist/src/event-types/payments/payment-page-types.d.ts.map +0 -1
- package/dist/src/event-types/payments/payment.d.ts +0 -39
- package/dist/src/event-types/payments/payment.d.ts.map +0 -1
- package/dist/src/event-types/payments/stripe-payment-form.d.ts +0 -9
- package/dist/src/event-types/payments/stripe-payment-form.d.ts.map +0 -1
- package/dist/src/event-types/types.d.ts +0 -16
- package/dist/src/event-types/types.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/create-event-type-platform-wrapper.d.ts +0 -20
- package/dist/src/event-types/wrappers/create-event-type-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/event-recurring-tab-platform-wrapper.d.ts +0 -4
- package/dist/src/event-types/wrappers/event-recurring-tab-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.d.ts +0 -4
- package/dist/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/event-type-platform-wrapper.d.ts +0 -28
- package/dist/src/event-types/wrappers/event-type-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/list-event-types-platform-wrapper.d.ts +0 -6
- package/dist/src/event-types/wrappers/list-event-types-platform-wrapper.d.ts.map +0 -1
- package/dist/src/event-types/wrappers/types.d.ts +0 -4
- package/dist/src/event-types/wrappers/types.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-booking.d.ts +0 -2
- package/dist/src/hooks/bookings/use-booking.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-bookings.d.ts +0 -6
- package/dist/src/hooks/bookings/use-bookings.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-cancel-booking.d.ts +0 -23
- package/dist/src/hooks/bookings/use-cancel-booking.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-create-booking.d.ts +0 -11
- package/dist/src/hooks/bookings/use-create-booking.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-create-instant-booking.d.ts +0 -10
- package/dist/src/hooks/bookings/use-create-instant-booking.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-create-recurring-booking.d.ts +0 -10
- package/dist/src/hooks/bookings/use-create-recurring-booking.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-get-booking-for-reschedule.d.ts +0 -10
- package/dist/src/hooks/bookings/use-get-booking-for-reschedule.d.ts.map +0 -1
- package/dist/src/hooks/bookings/use-handle-book-event.d.ts +0 -26
- package/dist/src/hooks/bookings/use-handle-book-event.d.ts.map +0 -1
- package/dist/src/hooks/calendars/use-add-selected-calendar.d.ts +0 -21
- package/dist/src/hooks/calendars/use-add-selected-calendar.d.ts.map +0 -1
- package/dist/src/hooks/calendars/use-delete-calendar-credentials.d.ts +0 -22
- package/dist/src/hooks/calendars/use-delete-calendar-credentials.d.ts.map +0 -1
- package/dist/src/hooks/calendars/use-remove-selected-calendar.d.ts +0 -21
- package/dist/src/hooks/calendars/use-remove-selected-calendar.d.ts.map +0 -1
- package/dist/src/hooks/calendars/use-update-destination-calendars.d.ts +0 -21
- package/dist/src/hooks/calendars/use-update-destination-calendars.d.ts.map +0 -1
- package/dist/src/hooks/connect/use-check.d.ts +0 -21
- package/dist/src/hooks/connect/use-check.d.ts.map +0 -1
- package/dist/src/hooks/connect/use-connect.d.ts +0 -18
- package/dist/src/hooks/connect/use-connect.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-create-event-type-form.d.ts +0 -8
- package/dist/src/hooks/event-types/private/use-create-event-type-form.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-create-event-type.d.ts +0 -9
- package/dist/src/hooks/event-types/private/use-create-event-type.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-create-team-event-type.d.ts +0 -13
- package/dist/src/hooks/event-types/private/use-create-team-event-type.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-delete-event-type-by-id.d.ts +0 -9
- package/dist/src/hooks/event-types/private/use-delete-event-type-by-id.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-delete-team-event-type-by-id.d.ts +0 -15
- package/dist/src/hooks/event-types/private/use-delete-team-event-type-by-id.d.ts.map +0 -1
- package/dist/src/hooks/event-types/private/use-event-type-by-id.d.ts +0 -4
- package/dist/src/hooks/event-types/private/use-event-type-by-id.d.ts.map +0 -1
- package/dist/src/hooks/event-types/public/use-atom-get-public-event.d.ts +0 -13
- package/dist/src/hooks/event-types/public/use-atom-get-public-event.d.ts.map +0 -1
- package/dist/src/hooks/event-types/public/use-event-type.d.ts +0 -5
- package/dist/src/hooks/event-types/public/use-event-type.d.ts.map +0 -1
- package/dist/src/hooks/event-types/public/use-event-types.d.ts +0 -4
- package/dist/src/hooks/event-types/public/use-event-types.d.ts.map +0 -1
- package/dist/src/hooks/event-types/public/use-team-event-type.d.ts +0 -4
- package/dist/src/hooks/event-types/public/use-team-event-type.d.ts.map +0 -1
- package/dist/src/hooks/event-types/public/use-team-event-types.d.ts +0 -4
- package/dist/src/hooks/event-types/public/use-team-event-types.d.ts.map +0 -1
- package/dist/src/hooks/organizations/bookings/use-organization-bookings.d.ts +0 -4
- package/dist/src/hooks/organizations/bookings/use-organization-bookings.d.ts.map +0 -1
- package/dist/src/hooks/organizations/bookings/use-organization-user-bookings.d.ts +0 -4
- package/dist/src/hooks/organizations/bookings/use-organization-user-bookings.d.ts.map +0 -1
- package/dist/src/hooks/schedules/types.d.ts +0 -37
- package/dist/src/hooks/schedules/types.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-atom-create-schedule.d.ts +0 -9
- package/dist/src/hooks/schedules/use-atom-create-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-atom-duplicate-schedule.d.ts +0 -11
- package/dist/src/hooks/schedules/use-atom-duplicate-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-atom-get-all-schedules.d.ts +0 -9
- package/dist/src/hooks/schedules/use-atom-get-all-schedules.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-atom-schedule.d.ts +0 -8
- package/dist/src/hooks/schedules/use-atom-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-atom-update-schedule.d.ts +0 -11
- package/dist/src/hooks/schedules/use-atom-update-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-delete-schedule.d.ts +0 -11
- package/dist/src/hooks/schedules/use-delete-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-ensure-default-schedule.d.ts +0 -3
- package/dist/src/hooks/schedules/use-ensure-default-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-schedule.d.ts +0 -7
- package/dist/src/hooks/schedules/use-schedule.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-schedules.d.ts +0 -7
- package/dist/src/hooks/schedules/use-schedules.d.ts.map +0 -1
- package/dist/src/hooks/schedules/use-update-schedule.d.ts +0 -10
- package/dist/src/hooks/schedules/use-update-schedule.d.ts.map +0 -1
- package/dist/src/hooks/stripe/use-check.d.ts +0 -22
- package/dist/src/hooks/stripe/use-check.d.ts.map +0 -1
- package/dist/src/hooks/stripe/use-connect.d.ts +0 -5
- package/dist/src/hooks/stripe/use-connect.d.ts.map +0 -1
- package/dist/src/hooks/teams/use-team-members.d.ts +0 -10
- package/dist/src/hooks/teams/use-team-members.d.ts.map +0 -1
- package/dist/src/hooks/teams/use-teams.d.ts +0 -7
- package/dist/src/hooks/teams/use-teams.d.ts.map +0 -1
- package/dist/src/hooks/use-api-keys.d.ts +0 -9
- package/dist/src/hooks/use-api-keys.d.ts.map +0 -1
- package/dist/src/hooks/use-atoms-context.d.ts +0 -32
- package/dist/src/hooks/use-atoms-context.d.ts.map +0 -1
- package/dist/src/hooks/use-atoms-locale.d.ts +0 -3
- package/dist/src/hooks/use-atoms-locale.d.ts.map +0 -1
- package/dist/src/hooks/use-available-slots.d.ts +0 -7
- package/dist/src/hooks/use-available-slots.d.ts.map +0 -1
- package/dist/src/hooks/use-calendars-busy-times.d.ts +0 -12
- package/dist/src/hooks/use-calendars-busy-times.d.ts.map +0 -1
- package/dist/src/hooks/use-connected-calendars.d.ts +0 -6
- package/dist/src/hooks/use-connected-calendars.d.ts.map +0 -1
- package/dist/src/hooks/use-delete-selected-slot.d.ts +0 -8
- package/dist/src/hooks/use-delete-selected-slot.d.ts.map +0 -1
- package/dist/src/hooks/use-event-types-list.d.ts +0 -18
- package/dist/src/hooks/use-event-types-list.d.ts.map +0 -1
- package/dist/src/hooks/use-get-city-timezones.d.ts +0 -10
- package/dist/src/hooks/use-get-city-timezones.d.ts.map +0 -1
- package/dist/src/hooks/use-is-platform-booker-embed.d.ts +0 -2
- package/dist/src/hooks/use-is-platform-booker-embed.d.ts.map +0 -1
- package/dist/src/hooks/use-is-platform.d.ts +0 -2
- package/dist/src/hooks/use-is-platform.d.ts.map +0 -1
- package/dist/src/hooks/use-me.d.ts +0 -9
- package/dist/src/hooks/use-me.d.ts.map +0 -1
- package/dist/src/hooks/use-o-auth-client.d.ts +0 -18
- package/dist/src/hooks/use-o-auth-client.d.ts.map +0 -1
- package/dist/src/hooks/use-o-auth-flow.d.ts +0 -15
- package/dist/src/hooks/use-o-auth-flow.d.ts.map +0 -1
- package/dist/src/hooks/use-reserve-slot.d.ts +0 -8
- package/dist/src/hooks/use-reserve-slot.d.ts.map +0 -1
- package/dist/src/hooks/use-schedule-by-event-slug.d.ts +0 -16
- package/dist/src/hooks/use-schedule-by-event-slug.d.ts.map +0 -1
- package/dist/src/hooks/use-slots.d.ts +0 -24
- package/dist/src/hooks/use-slots.d.ts.map +0 -1
- package/dist/src/hooks/use-timezone.d.ts +0 -2
- package/dist/src/hooks/use-timezone.d.ts.map +0 -1
- package/dist/src/hooks/use-update-user-timezone.d.ts +0 -7
- package/dist/src/hooks/use-update-user-timezone.d.ts.map +0 -1
- package/dist/src/hooks/use-verify-code.d.ts +0 -18
- package/dist/src/hooks/use-verify-code.d.ts.map +0 -1
- package/dist/src/hooks/use-verify-email.d.ts +0 -20
- package/dist/src/hooks/use-verify-email.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -51
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/append-client-id-to-email.d.ts +0 -2
- package/dist/src/lib/append-client-id-to-email.d.ts.map +0 -1
- package/dist/src/lib/get-placeholder-content.d.ts +0 -16
- package/dist/src/lib/get-placeholder-content.d.ts.map +0 -1
- package/dist/src/lib/get-query-param.d.ts +0 -3
- package/dist/src/lib/get-query-param.d.ts.map +0 -1
- package/dist/src/lib/get-utm-tracking-parameters.d.ts +0 -5
- package/dist/src/lib/get-utm-tracking-parameters.d.ts.map +0 -1
- package/dist/src/lib/http.d.ts +0 -24
- package/dist/src/lib/http.d.ts.map +0 -1
- package/dist/src/lib/markdown-to-safe-html-client.d.ts +0 -8
- package/dist/src/lib/markdown-to-safe-html-client.d.ts.map +0 -1
- package/dist/src/lib/markdown-to-safe-html.d.ts +0 -2
- package/dist/src/lib/markdown-to-safe-html.d.ts.map +0 -1
- package/dist/src/lib/set-query-param.d.ts +0 -3
- package/dist/src/lib/set-query-param.d.ts.map +0 -1
- package/dist/src/lib/time-zones.d.ts +0 -15
- package/dist/src/lib/time-zones.d.ts.map +0 -1
- package/dist/src/lib/use-locale.d.ts +0 -9
- package/dist/src/lib/use-locale.d.ts.map +0 -1
- package/dist/src/lib/utils.d.ts +0 -3
- package/dist/src/lib/utils.d.ts.map +0 -1
- package/dist/src/list-schedules/components/schedule-list-item.d.ts +0 -39
- package/dist/src/list-schedules/components/schedule-list-item.d.ts.map +0 -1
- package/dist/src/list-schedules/index.d.ts +0 -2
- package/dist/src/list-schedules/index.d.ts.map +0 -1
- package/dist/src/list-schedules/wrappers/list-schedules-platform-wrapper.d.ts +0 -6
- package/dist/src/list-schedules/wrappers/list-schedules-platform-wrapper.d.ts.map +0 -1
- package/dist/src/onboarding/continue-with-calcom.d.ts +0 -3
- package/dist/src/onboarding/continue-with-calcom.d.ts.map +0 -1
- package/dist/src/onboarding/export.d.ts +0 -3
- package/dist/src/onboarding/export.d.ts.map +0 -1
- package/dist/src/onboarding/onboarding-embed.d.ts +0 -3
- package/dist/src/onboarding/onboarding-embed.d.ts.map +0 -1
- package/dist/src/onboarding/types.d.ts +0 -31
- package/dist/src/onboarding/types.d.ts.map +0 -1
- package/dist/src/router/index.d.ts +0 -2
- package/dist/src/router/index.d.ts.map +0 -1
- package/dist/src/router/router.d.ts +0 -30
- package/dist/src/router/router.d.ts.map +0 -1
- package/dist/src/selected-calendars/index.d.ts +0 -2
- package/dist/src/selected-calendars/index.d.ts.map +0 -1
- package/dist/src/selected-calendars/selected-calendars-settings.d.ts +0 -6
- package/dist/src/selected-calendars/selected-calendars-settings.d.ts.map +0 -1
- package/dist/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.d.ts +0 -38
- package/dist/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.d.ts.map +0 -1
- package/dist/src/timezone/index.d.ts +0 -6
- package/dist/src/timezone/index.d.ts.map +0 -1
- package/dist/src/timezone/timezone-select-component.d.ts +0 -15
- package/dist/src/timezone/timezone-select-component.d.ts.map +0 -1
- package/dist/src/troubleshooter/components/calendar-toggle-container-component.d.ts +0 -31
- package/dist/src/troubleshooter/components/calendar-toggle-container-component.d.ts.map +0 -1
- package/dist/src/troubleshooter/components/event-schedule-item-component.d.ts +0 -12
- package/dist/src/troubleshooter/components/event-schedule-item-component.d.ts.map +0 -1
- package/dist/src/troubleshooter/components/event-type-select-component.d.ts +0 -18
- package/dist/src/troubleshooter/components/event-type-select-component.d.ts.map +0 -1
- package/dist/src/troubleshooter/components/troubleshooter-list-item-container.d.ts +0 -12
- package/dist/src/troubleshooter/components/troubleshooter-list-item-container.d.ts.map +0 -1
- package/dist/src/troubleshooter/index.d.ts +0 -2
- package/dist/src/troubleshooter/index.d.ts.map +0 -1
- package/dist/src/troubleshooter/large-calendar/large-calendar.d.ts +0 -6
- package/dist/src/troubleshooter/large-calendar/large-calendar.d.ts.map +0 -1
- package/dist/src/troubleshooter/sidebar/calendar-toggle-container.d.ts +0 -7
- package/dist/src/troubleshooter/sidebar/calendar-toggle-container.d.ts.map +0 -1
- package/dist/src/troubleshooter/sidebar/event-schedule-item.d.ts +0 -2
- package/dist/src/troubleshooter/sidebar/event-schedule-item.d.ts.map +0 -1
- package/dist/src/troubleshooter/sidebar/event-type-select.d.ts +0 -2
- package/dist/src/troubleshooter/sidebar/event-type-select.d.ts.map +0 -1
- package/dist/src/troubleshooter/sidebar/troubleshooter-sidebar.d.ts +0 -17
- package/dist/src/troubleshooter/sidebar/troubleshooter-sidebar.d.ts.map +0 -1
- package/dist/src/troubleshooter/store.d.ts +0 -30
- package/dist/src/troubleshooter/store.d.ts.map +0 -1
- package/dist/src/troubleshooter/types.d.ts +0 -11
- package/dist/src/troubleshooter/types.d.ts.map +0 -1
- package/dist/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.d.ts +0 -14
- package/dist/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.d.ts.map +0 -1
- package/dist/src/types.d.ts +0 -8
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/vendor/analytics.d.ts +0 -17
- package/dist/src/vendor/analytics.d.ts.map +0 -1
- package/dist/src/vendor/availability.d.ts +0 -15
- package/dist/src/vendor/availability.d.ts.map +0 -1
- package/dist/src/vendor/avatar-url.d.ts +0 -23
- package/dist/src/vendor/avatar-url.d.ts.map +0 -1
- package/dist/src/vendor/booker-url.d.ts +0 -13
- package/dist/src/vendor/booker-url.d.ts.map +0 -1
- package/dist/src/vendor/booking-to-mutation-input.d.ts +0 -96
- package/dist/src/vendor/booking-to-mutation-input.d.ts.map +0 -1
- package/dist/src/vendor/cal-ai-phone.d.ts +0 -4
- package/dist/src/vendor/cal-ai-phone.d.ts.map +0 -1
- package/dist/src/vendor/check-for-empty-assignment.d.ts +0 -16
- package/dist/src/vendor/check-for-empty-assignment.d.ts.map +0 -1
- package/dist/src/vendor/children-event-type.d.ts +0 -44
- package/dist/src/vendor/children-event-type.d.ts.map +0 -1
- package/dist/src/vendor/currency.d.ts +0 -3
- package/dist/src/vendor/currency.d.ts.map +0 -1
- package/dist/src/vendor/dayjs/index.d.ts +0 -5
- package/dist/src/vendor/dayjs/index.d.ts.map +0 -1
- package/dist/src/vendor/dayjs/plugins/business-days-plugin.d.ts +0 -11
- package/dist/src/vendor/dayjs/plugins/business-days-plugin.d.ts.map +0 -1
- package/dist/src/vendor/dayjs-utils.d.ts +0 -4
- package/dist/src/vendor/dayjs-utils.d.ts.map +0 -1
- package/dist/src/vendor/error-codes.d.ts +0 -40
- package/dist/src/vendor/error-codes.d.ts.map +0 -1
- package/dist/src/vendor/event-naming.d.ts +0 -33
- package/dist/src/vendor/event-naming.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/base-schema.d.ts +0 -917
- package/dist/src/vendor/form-builder/base-schema.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/field-type-enum.d.ts +0 -4
- package/dist/src/vendor/form-builder/field-type-enum.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/field-types.d.ts +0 -5
- package/dist/src/vendor/form-builder/field-types.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/fields-that-support-label-as-safe-html.d.ts +0 -3
- package/dist/src/vendor/form-builder/fields-that-support-label-as-safe-html.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/props-types.d.ts +0 -18
- package/dist/src/vendor/form-builder/props-types.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/schema.d.ts +0 -761
- package/dist/src/vendor/form-builder/schema.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/system-field.d.ts +0 -9
- package/dist/src/vendor/form-builder/system-field.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.d.ts +0 -12
- package/dist/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/utils/get-field-identifier.d.ts +0 -2
- package/dist/src/vendor/form-builder/utils/get-field-identifier.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/utils/variants-config.d.ts +0 -40
- package/dist/src/vendor/form-builder/utils/variants-config.d.ts.map +0 -1
- package/dist/src/vendor/form-builder/utils.d.ts +0 -7
- package/dist/src/vendor/form-builder/utils.d.ts.map +0 -1
- package/dist/src/vendor/form-builder-widgets/index.d.ts +0 -49
- package/dist/src/vendor/form-builder-widgets/index.d.ts.map +0 -1
- package/dist/src/vendor/format-date-time.d.ts +0 -15
- package/dist/src/vendor/format-date-time.d.ts.map +0 -1
- package/dist/src/vendor/get-available-dates-in-month.d.ts +0 -12
- package/dist/src/vendor/get-available-dates-in-month.d.ts.map +0 -1
- package/dist/src/vendor/get-avatar-url.d.ts +0 -5
- package/dist/src/vendor/get-avatar-url.d.ts.map +0 -1
- package/dist/src/vendor/get-routed-team-member-ids.d.ts +0 -2
- package/dist/src/vendor/get-routed-team-member-ids.d.ts.map +0 -1
- package/dist/src/vendor/get-stripe.d.ts +0 -7
- package/dist/src/vendor/get-stripe.d.ts.map +0 -1
- package/dist/src/vendor/get-username-list.d.ts +0 -2
- package/dist/src/vendor/get-username-list.d.ts.map +0 -1
- package/dist/src/vendor/hooks/use-debounce.d.ts +0 -2
- package/dist/src/vendor/hooks/use-debounce.d.ts.map +0 -1
- package/dist/src/vendor/hooks/use-media-query.d.ts +0 -3
- package/dist/src/vendor/hooks/use-media-query.d.ts.map +0 -1
- package/dist/src/vendor/hooks/use-router-query.d.ts +0 -2
- package/dist/src/vendor/hooks/use-router-query.d.ts.map +0 -1
- package/dist/src/vendor/host-group-utils.d.ts +0 -19
- package/dist/src/vendor/host-group-utils.d.ts.map +0 -1
- package/dist/src/vendor/interval-limit.d.ts +0 -6
- package/dist/src/vendor/interval-limit.d.ts.map +0 -1
- package/dist/src/vendor/invert-logo-on-dark.d.ts +0 -2
- package/dist/src/vendor/invert-logo-on-dark.d.ts.map +0 -1
- package/dist/src/vendor/locales/de/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/en/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/es/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/fr/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/it/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/nl/common.json.d.ts +0 -319
- package/dist/src/vendor/locales/pt-BR/common.json.d.ts +0 -319
- package/dist/src/vendor/locations-resolver.d.ts +0 -38
- package/dist/src/vendor/locations-resolver.d.ts.map +0 -1
- package/dist/src/vendor/locations.d.ts +0 -58
- package/dist/src/vendor/locations.d.ts.map +0 -1
- package/dist/src/vendor/parse-dates.d.ts +0 -18
- package/dist/src/vendor/parse-dates.d.ts.map +0 -1
- package/dist/src/vendor/payments.d.ts +0 -50
- package/dist/src/vendor/payments.d.ts.map +0 -1
- package/dist/src/vendor/phone-input/phone-input.d.ts +0 -17
- package/dist/src/vendor/phone-input/phone-input.d.ts.map +0 -1
- package/dist/src/vendor/phone-input/phone-masks.d.ts +0 -8
- package/dist/src/vendor/phone-input/phone-masks.d.ts.map +0 -1
- package/dist/src/vendor/query-param.d.ts +0 -4
- package/dist/src/vendor/query-param.d.ts.map +0 -1
- package/dist/src/vendor/recurring.d.ts +0 -27
- package/dist/src/vendor/recurring.d.ts.map +0 -1
- package/dist/src/vendor/schedule-list-item.d.ts +0 -55
- package/dist/src/vendor/schedule-list-item.d.ts.map +0 -1
- package/dist/src/vendor/scroll.d.ts +0 -2
- package/dist/src/vendor/scroll.d.ts.map +0 -1
- package/dist/src/vendor/server-trans.d.ts +0 -25
- package/dist/src/vendor/server-trans.d.ts.map +0 -1
- package/dist/src/vendor/slugify.d.ts +0 -3
- package/dist/src/vendor/slugify.d.ts.map +0 -1
- package/dist/src/vendor/time-format.d.ts +0 -10
- package/dist/src/vendor/time-format.d.ts.map +0 -1
- package/dist/src/vendor/time-preferences.d.ts +0 -14
- package/dist/src/vendor/time-preferences.d.ts.map +0 -1
- package/dist/src/vendor/time-shift.d.ts +0 -6
- package/dist/src/vendor/time-shift.d.ts.map +0 -1
- package/dist/src/vendor/timezone-constants.d.ts +0 -3
- package/dist/src/vendor/timezone-constants.d.ts.map +0 -1
- package/dist/src/vendor/timezone.d.ts +0 -10
- package/dist/src/vendor/timezone.d.ts.map +0 -1
- package/dist/src/vendor/validate-booker-layouts.d.ts +0 -8
- package/dist/src/vendor/validate-booker-layouts.d.ts.map +0 -1
- package/dist/src/vendor/webstorage.d.ts +0 -18
- package/dist/src/vendor/webstorage.d.ts.map +0 -1
- package/dist/src/vendor/weekday.d.ts +0 -5
- package/dist/src/vendor/weekday.d.ts.map +0 -1
- package/dist/src/vendor/weekstart.d.ts +0 -3
- package/dist/src/vendor/weekstart.d.ts.map +0 -1
- package/dist/vite.config.d.ts +0 -3
- package/dist/vite.config.d.ts.map +0 -1
- package/dist/vitest.config.d.ts +0 -12
- package/dist/vitest.config.d.ts.map +0 -1
- package/src/add-members-switch/add-members-with-switch-platform-wrapper.tsx +0 -9
- package/src/add-members-switch/add-members-with-switch.tsx +0 -321
- package/src/availability/availability-settings.tsx +0 -806
- package/src/availability/components/date-override-input-dialog.tsx +0 -254
- package/src/availability/components/date-override-list.tsx +0 -167
- package/src/availability/components/schedule-component.tsx +0 -790
- package/src/availability/index.ts +0 -3
- package/src/availability/types.ts +0 -40
- package/src/availability/wrappers/availability-settings-platform-wrapper.tsx +0 -224
- package/src/booker/Booker.docs.mdx +0 -12
- package/src/booker/__tests__/config.test.ts +0 -58
- package/src/booker/__tests__/store-extended.test.ts +0 -349
- package/src/booker/__tests__/store.test.ts +0 -230
- package/src/booker/booker-platform-wrapper.tsx +0 -625
- package/src/booker/booker-store-provider.tsx +0 -117
- package/src/booker/components/available-time-slots.tsx +0 -245
- package/src/booker/components/available-times-header.tsx +0 -79
- package/src/booker/components/available-times.tsx +0 -359
- package/src/booker/components/book-event-form/book-event-form.tsx +0 -344
- package/src/booker/components/book-event-form/book-form-as-modal.tsx +0 -85
- package/src/booker/components/book-event-form/booking-fields.tsx +0 -257
- package/src/booker/components/book-event-form/index.ts +0 -4
- package/src/booker/components/book-event-form/skeleton.tsx +0 -29
- package/src/booker/components/booker-component.tsx +0 -699
- package/src/booker/components/booker-section.tsx +0 -49
- package/src/booker/components/dry-run-message.tsx +0 -31
- package/src/booker/components/event-meta/available-event-locations.tsx +0 -121
- package/src/booker/components/event-meta/details.tsx +0 -187
- package/src/booker/components/event-meta/duration.tsx +0 -141
- package/src/booker/components/event-meta/index.ts +0 -6
- package/src/booker/components/event-meta/locations.tsx +0 -71
- package/src/booker/components/event-meta/members.tsx +0 -99
- package/src/booker/components/event-meta/occurences.tsx +0 -142
- package/src/booker/components/event-meta/price-icon.tsx +0 -65
- package/src/booker/components/event-meta/price.tsx +0 -103
- package/src/booker/components/event-meta/skeleton.tsx +0 -19
- package/src/booker/components/event-meta/title.tsx +0 -18
- package/src/booker/components/event-meta.tsx +0 -292
- package/src/booker/components/external-redirect-interstitial.tsx +0 -78
- package/src/booker/components/form-builder/components.tsx +0 -541
- package/src/booker/components/form-builder/form-builder-field.tsx +0 -390
- package/src/booker/components/having-trouble-finding-time.tsx +0 -49
- package/src/booker/components/header.tsx +0 -261
- package/src/booker/components/instant-booking.tsx +0 -74
- package/src/booker/components/out-of-office-in-slots.tsx +0 -116
- package/src/booker/components/overlay-calendar/overlay-calendar-continue-modal.tsx +0 -47
- package/src/booker/components/overlay-calendar/overlay-calendar-settings-modal.tsx +0 -129
- package/src/booker/components/overlay-calendar/overlay-calendar-switch.tsx +0 -73
- package/src/booker/components/overlay-calendar/overlay-calendar.tsx +0 -80
- package/src/booker/components/overlay-calendar/store.ts +0 -27
- package/src/booker/components/pay-icon.tsx +0 -6
- package/src/booker/components/price.tsx +0 -13
- package/src/booker/components/redirect-to-instant-meeting-modal.tsx +0 -121
- package/src/booker/components/scrollable-with-gradients.tsx +0 -77
- package/src/booker/components/seats-availability-text.tsx +0 -43
- package/src/booker/components/section.tsx +0 -51
- package/src/booker/components/slot-selection-modal-header.tsx +0 -116
- package/src/booker/components/time-format-toggle.tsx +0 -28
- package/src/booker/components/unavailable.tsx +0 -30
- package/src/booker/components/unpublished-entity.tsx +0 -30
- package/src/booker/components/verify-code-dialog.tsx +0 -131
- package/src/booker/config.ts +0 -206
- package/src/booker/export.ts +0 -5
- package/src/booker/framer-features.ts +0 -3
- package/src/booker/hooks/__tests__/use-booker-layout.test.tsx +0 -98
- package/src/booker/hooks/__tests__/use-check-overlap-with-overlay.test.ts +0 -95
- package/src/booker/hooks/__tests__/use-local-set.test.tsx +0 -72
- package/src/booker/hooks/__tests__/use-non-empty-schedule-days.test.tsx +0 -37
- package/src/booker/hooks/__tests__/use-overlay-calendar.test.tsx +0 -122
- package/src/booker/hooks/__tests__/use-should-show-arrows.test.tsx +0 -45
- package/src/booker/hooks/__tests__/use-skip-confirm-step.test.ts +0 -54
- package/src/booker/hooks/__tests__/use-slots-for-date.test.tsx +0 -65
- package/src/booker/hooks/__tests__/use-stable-timezone.test.ts +0 -74
- package/src/booker/hooks/__tests__/use-times-for-schedule.test.tsx +0 -132
- package/src/booker/hooks/embed-stubs.ts +0 -30
- package/src/booker/hooks/use-available-time-slots.ts +0 -48
- package/src/booker/hooks/use-booker-layout.ts +0 -131
- package/src/booker/hooks/use-booker-time.ts +0 -21
- package/src/booker/hooks/use-booking-form.ts +0 -108
- package/src/booker/hooks/use-bookings-types.ts +0 -10
- package/src/booker/hooks/use-check-overlap-with-overlay.ts +0 -49
- package/src/booker/hooks/use-initialize-week-start.ts +0 -20
- package/src/booker/hooks/use-is-quick-availability-check-feature-enabled.ts +0 -45
- package/src/booker/hooks/use-local-set.tsx +0 -70
- package/src/booker/hooks/use-non-empty-schedule-days.ts +0 -23
- package/src/booker/hooks/use-overlay-calendar.ts +0 -94
- package/src/booker/hooks/use-should-show-arrows.ts +0 -33
- package/src/booker/hooks/use-skip-confirm-step.ts +0 -79
- package/src/booker/hooks/use-slots-for-date.ts +0 -51
- package/src/booker/hooks/use-stable-timezone.ts +0 -13
- package/src/booker/hooks/use-times-for-schedule.ts +0 -123
- package/src/booker/store.ts +0 -831
- package/src/booker/types.ts +0 -142
- package/src/booker/use-slot-reservation-id.ts +0 -14
- package/src/booker/utils/__tests__/booker-utils.test.ts +0 -159
- package/src/booker/utils/__tests__/is-timeslot-available.test.ts +0 -224
- package/src/booker/utils/are-different-valid-months.ts +0 -5
- package/src/booker/utils/dates.tsx +0 -90
- package/src/booker/utils/get-booker-timezone.ts +0 -9
- package/src/booker/utils/get-booking-duration.ts +0 -19
- package/src/booker/utils/get-prefetch-month-count.ts +0 -24
- package/src/booker/utils/is-booking-dry-run.ts +0 -5
- package/src/booker/utils/is-month-change.ts +0 -5
- package/src/booker/utils/is-month-view-prefetch-enabled.ts +0 -14
- package/src/booker/utils/is-prefetch-next-month-enabled.ts +0 -27
- package/src/booker/utils/is-timeslot-available.ts +0 -78
- package/src/booker/utils/layout.ts +0 -5
- package/src/booker-embed/__tests__/use-get-routing-form-url-props.test.tsx +0 -133
- package/src/booker-embed/booker-embed.tsx +0 -117
- package/src/booker-embed/index.ts +0 -1
- package/src/booker-embed/use-get-routing-form-url-props.tsx +0 -95
- package/src/cal-provider/base-cal-provider.tsx +0 -248
- package/src/cal-provider/cal-o-auth-provider.tsx +0 -77
- package/src/cal-provider/cal-provider.tsx +0 -112
- package/src/cal-provider/index.ts +0 -2
- package/src/cal-provider/languages.ts +0 -78
- package/src/calendar-settings/index.ts +0 -1
- package/src/calendar-settings/wrappers/calendar-settings-platform-wrapper.tsx +0 -45
- package/src/calendar-view/calendar-view-component.tsx +0 -35
- package/src/calendar-view/components/calendar.tsx +0 -1
- package/src/calendar-view/components/date-picker.tsx +0 -498
- package/src/calendar-view/components/large-calendar.tsx +0 -201
- package/src/calendar-view/components/no-availability-dialog.tsx +0 -74
- package/src/calendar-view/event-type-calendar-view-component.tsx +0 -152
- package/src/calendar-view/index.ts +0 -1
- package/src/calendar-view/scheduler/components/calendar.tsx +0 -231
- package/src/calendar-view/scheduler/components/current-time/index.tsx +0 -87
- package/src/calendar-view/scheduler/components/date-values/index.tsx +0 -114
- package/src/calendar-view/scheduler/components/default-out-of-office-slot.tsx +0 -68
- package/src/calendar-view/scheduler/components/event/all-day-events.test.tsx +0 -799
- package/src/calendar-view/scheduler/components/event/all-day-events.tsx +0 -360
- package/src/calendar-view/scheduler/components/event/empty.tsx +0 -229
- package/src/calendar-view/scheduler/components/event/event-list.tsx +0 -137
- package/src/calendar-view/scheduler/components/event/event.tsx +0 -165
- package/src/calendar-view/scheduler/components/event/index.tsx +0 -4
- package/src/calendar-view/scheduler/components/grid/index.tsx +0 -24
- package/src/calendar-view/scheduler/components/heading/index.tsx +0 -1
- package/src/calendar-view/scheduler/components/heading/scheduler-heading.tsx +0 -40
- package/src/calendar-view/scheduler/components/horizontal-lines/index.tsx +0 -48
- package/src/calendar-view/scheduler/components/spinner/spinner.tsx +0 -23
- package/src/calendar-view/scheduler/components/vertical-lines/index.tsx +0 -40
- package/src/calendar-view/scheduler/state/__tests__/store.test.ts +0 -147
- package/src/calendar-view/scheduler/state/store.ts +0 -93
- package/src/calendar-view/scheduler/styles/styles.css +0 -20
- package/src/calendar-view/scheduler/types/common.ts +0 -1
- package/src/calendar-view/scheduler/types/events.ts +0 -20
- package/src/calendar-view/scheduler/types/state.ts +0 -126
- package/src/calendar-view/scheduler/utils/__tests__/overlap.test.ts +0 -650
- package/src/calendar-view/scheduler/utils/__tests__/utils.test.ts +0 -133
- package/src/calendar-view/scheduler/utils/index.ts +0 -100
- package/src/calendar-view/scheduler/utils/overlap.ts +0 -175
- package/src/calendar-view/wrappers/calendar-view-platform-wrapper.tsx +0 -41
- package/src/components/atoms-wrapper.tsx +0 -22
- package/src/components/ui/address-input.tsx +0 -36
- package/src/components/ui/alert.tsx +0 -67
- package/src/components/ui/app-list-card.tsx +0 -94
- package/src/components/ui/avatar-group.tsx +0 -59
- package/src/components/ui/avatar.tsx +0 -94
- package/src/components/ui/badge.tsx +0 -93
- package/src/components/ui/button-group.tsx +0 -40
- package/src/components/ui/button.tsx +0 -177
- package/src/components/ui/calendar-switch.tsx +0 -56
- package/src/components/ui/checkbox.tsx +0 -126
- package/src/components/ui/checked-team-select.tsx +0 -225
- package/src/components/ui/confirmation-dialog-content.tsx +0 -82
- package/src/components/ui/controlled-dialog.tsx +0 -30
- package/src/components/ui/dialog.tsx +0 -165
- package/src/components/ui/disconnect-calendar-integration.tsx +0 -52
- package/src/components/ui/divider.tsx +0 -22
- package/src/components/ui/dropdown.tsx +0 -240
- package/src/components/ui/editable-heading.tsx +0 -64
- package/src/components/ui/empty-screen.tsx +0 -86
- package/src/components/ui/form.tsx +0 -46
- package/src/components/ui/icon.tsx +0 -249
- package/src/components/ui/icons.tsx +0 -313
- package/src/components/ui/info-badge.tsx +0 -12
- package/src/components/ui/label.tsx +0 -13
- package/src/components/ui/navigation.tsx +0 -38
- package/src/components/ui/popover.tsx +0 -31
- package/src/components/ui/radio-area-group.tsx +0 -67
- package/src/components/ui/radio.tsx +0 -72
- package/src/components/ui/react-select-components.tsx +0 -86
- package/src/components/ui/select.tsx +0 -123
- package/src/components/ui/settings-header.tsx +0 -87
- package/src/components/ui/settings-toggle.tsx +0 -123
- package/src/components/ui/shell.tsx +0 -47
- package/src/components/ui/show-toast.tsx +0 -11
- package/src/components/ui/skeleton.tsx +0 -112
- package/src/components/ui/switch.tsx +0 -28
- package/src/components/ui/text-field.tsx +0 -241
- package/src/components/ui/toast.tsx +0 -121
- package/src/components/ui/toaster.tsx +0 -28
- package/src/components/ui/toggle-group.tsx +0 -109
- package/src/components/ui/tooltip.tsx +0 -84
- package/src/components/ui/use-toast.ts +0 -187
- package/src/components/ui/user-avatar-group-with-org.tsx +0 -45
- package/src/connect/apple/apple-connect.tsx +0 -197
- package/src/connect/components/disconnect-integration-modal.tsx +0 -51
- package/src/connect/components/office365-account-dialog.tsx +0 -48
- package/src/connect/conferencing-apps/components/app-list.tsx +0 -238
- package/src/connect/conferencing-apps/conferencing-apps-view-platform-wrapper.tsx +0 -358
- package/src/connect/conferencing-apps/hooks/use-atom-bulk-update-event-types-to-default-location.ts +0 -50
- package/src/connect/conferencing-apps/hooks/use-atom-get-event-types.ts +0 -34
- package/src/connect/conferencing-apps/hooks/use-atoms-get-installed-conferencing-apps.ts +0 -38
- package/src/connect/conferencing-apps/hooks/use-connect.ts +0 -157
- package/src/connect/conferencing-apps/hooks/use-delete-credential.ts +0 -38
- package/src/connect/conferencing-apps/hooks/use-get-default-conferencing-app.ts +0 -38
- package/src/connect/conferencing-apps/hooks/use-update-user-default-conferencing-app.ts +0 -43
- package/src/connect/google/gcal-connect.tsx +0 -42
- package/src/connect/index.ts +0 -3
- package/src/connect/o-auth-connect.tsx +0 -148
- package/src/connect/outlook/outlook-connect.tsx +0 -42
- package/src/connect/stripe/stripe-connect.tsx +0 -81
- package/src/constants/api.ts +0 -114
- package/src/constants/app.ts +0 -44
- package/src/constants/apps.ts +0 -37
- package/src/constants/index.ts +0 -3
- package/src/constants/styles.ts +0 -1
- package/src/contracts/api.ts +0 -30
- package/src/contracts/apps.ts +0 -24
- package/src/contracts/booker.ts +0 -287
- package/src/contracts/bookings.ts +0 -141
- package/src/contracts/calendars.ts +0 -87
- package/src/contracts/event-types.ts +0 -252
- package/src/contracts/index.ts +0 -12
- package/src/contracts/oauth.ts +0 -47
- package/src/contracts/organizations.ts +0 -14
- package/src/contracts/schedules.ts +0 -100
- package/src/contracts/slots.ts +0 -63
- package/src/contracts/teams.ts +0 -35
- package/src/contracts/user.ts +0 -25
- package/src/create-schedule/create-schedule-form.tsx +0 -110
- package/src/create-schedule/index.tsx +0 -1
- package/src/create-schedule/wrappers/create-schedule-platform-wrapper.tsx +0 -69
- package/src/destination-calendar/components/destination-calendar-selector.tsx +0 -34
- package/src/destination-calendar/destination-calendar-selector.tsx +0 -149
- package/src/destination-calendar/destination-calendar.tsx +0 -82
- package/src/destination-calendar/destination-reminder-selector.tsx +0 -51
- package/src/destination-calendar/index.ts +0 -1
- package/src/destination-calendar/wrappers/destination-calendar-settings-platform-wrapper.tsx +0 -62
- package/src/event-types/__tests__/event-type-list-item.test.tsx +0 -196
- package/src/event-types/__tests__/format-event-type-duration.test.ts +0 -47
- package/src/event-types/components/__tests__/children-event-type-select.test.tsx +0 -291
- package/src/event-types/components/assign-all-team-members.tsx +0 -46
- package/src/event-types/components/bulk-edit-default-for-events-modal.tsx +0 -129
- package/src/event-types/components/children-event-type-select.tsx +0 -223
- package/src/event-types/components/create-event-type-form.tsx +0 -160
- package/src/event-types/components/event-team-assignment-tab.tsx +0 -9
- package/src/event-types/components/event-type-list-item.tsx +0 -153
- package/src/event-types/components/host-edit-dialogs.tsx +0 -277
- package/src/event-types/components/learn-more-link.tsx +0 -41
- package/src/event-types/components/managed-event-dialog.tsx +0 -62
- package/src/event-types/components/recurring-event-controller.tsx +0 -247
- package/src/event-types/components/tabs/event-recurring-tab.tsx +0 -34
- package/src/event-types/components/team-assignment/assign-all-managed-warning-dialog.tsx +0 -43
- package/src/event-types/components/team-assignment/children-event-types-list.tsx +0 -43
- package/src/event-types/components/team-assignment/children-event-types.tsx +0 -62
- package/src/event-types/components/team-assignment/event-team-assignment-tab.tsx +0 -300
- package/src/event-types/components/team-assignment/fixed-hosts.tsx +0 -170
- package/src/event-types/components/team-assignment/hosts.tsx +0 -125
- package/src/event-types/components/team-assignment/round-robin-hosts.tsx +0 -266
- package/src/event-types/components/team-event-type-form.tsx +0 -183
- package/src/event-types/components/weight-description.tsx +0 -24
- package/src/event-types/hooks/__tests__/use-assign-all-managed-warning.test.ts +0 -78
- package/src/event-types/hooks/__tests__/use-team-event-assignment.test.tsx +0 -218
- package/src/event-types/hooks/use-add-verified-email.ts +0 -64
- package/src/event-types/hooks/use-apps-data-stub.ts +0 -19
- package/src/event-types/hooks/use-assign-all-managed-warning.ts +0 -45
- package/src/event-types/hooks/use-atom-event-type-app-integration.ts +0 -49
- package/src/event-types/hooks/use-atom-event-type-by-id.ts +0 -25
- package/src/event-types/hooks/use-atom-event-type-payment-info.ts +0 -36
- package/src/event-types/hooks/use-atom-get-all-event-types.ts +0 -30
- package/src/event-types/hooks/use-atom-host-schedules.ts +0 -36
- package/src/event-types/hooks/use-atom-update-event-type.ts +0 -61
- package/src/event-types/hooks/use-event-type-form.test.ts +0 -192
- package/src/event-types/hooks/use-event-type-form.ts +0 -501
- package/src/event-types/hooks/use-get-verified-emails.ts +0 -27
- package/src/event-types/hooks/use-handle-route-change.ts +0 -57
- package/src/event-types/hooks/use-locked-fields-manager-stub.ts +0 -30
- package/src/event-types/hooks/use-platform-tabs-navigations.tsx +0 -138
- package/src/event-types/hooks/use-tabs-navigations.test.ts +0 -31
- package/src/event-types/hooks/use-tabs-navigations.tsx +0 -266
- package/src/event-types/hooks/use-team-event-assignment.ts +0 -127
- package/src/event-types/hooks/use-team-members-with-segment-platform.tsx +0 -107
- package/src/event-types/index.ts +0 -1
- package/src/event-types/lib/format-event-type-duration.ts +0 -25
- package/src/event-types/payments/payment-form.tsx +0 -150
- package/src/event-types/payments/payment-page-types.ts +0 -47
- package/src/event-types/payments/payment.tsx +0 -115
- package/src/event-types/payments/stripe-payment-form.tsx +0 -136
- package/src/event-types/types.ts +0 -16
- package/src/event-types/wrappers/create-event-type-platform-wrapper.tsx +0 -148
- package/src/event-types/wrappers/event-recurring-tab-platform-wrapper.tsx +0 -8
- package/src/event-types/wrappers/event-team-assignment-tab-platform-wrapper.tsx +0 -15
- package/src/event-types/wrappers/event-type-platform-wrapper.tsx +0 -399
- package/src/event-types/wrappers/list-event-types-platform-wrapper.tsx +0 -85
- package/src/event-types/wrappers/types.ts +0 -5
- package/src/hooks/__tests__/use-is-platform.test.tsx +0 -58
- package/src/hooks/__tests__/use-slot-mutations.test.tsx +0 -113
- package/src/hooks/__tests__/use-timezone-hooks.test.tsx +0 -67
- package/src/hooks/__tests__/use-verify-code.test.tsx +0 -120
- package/src/hooks/bookings/__tests__/use-booking-mutations.test.tsx +0 -123
- package/src/hooks/bookings/__tests__/use-booking-queries.test.tsx +0 -108
- package/src/hooks/bookings/use-booking.ts +0 -28
- package/src/hooks/bookings/use-bookings.ts +0 -61
- package/src/hooks/bookings/use-cancel-booking.ts +0 -47
- package/src/hooks/bookings/use-create-booking.ts +0 -43
- package/src/hooks/bookings/use-create-instant-booking.ts +0 -39
- package/src/hooks/bookings/use-create-recurring-booking.ts +0 -42
- package/src/hooks/bookings/use-get-booking-for-reschedule.ts +0 -51
- package/src/hooks/bookings/use-handle-book-event.ts +0 -156
- package/src/hooks/calendars/__tests__/use-calendar-mutations.test.tsx +0 -225
- package/src/hooks/calendars/use-add-selected-calendar.ts +0 -65
- package/src/hooks/calendars/use-delete-calendar-credentials.ts +0 -67
- package/src/hooks/calendars/use-remove-selected-calendar.ts +0 -67
- package/src/hooks/calendars/use-update-destination-calendars.ts +0 -60
- package/src/hooks/connect/__tests__/use-connect.test.tsx +0 -109
- package/src/hooks/connect/use-check.ts +0 -61
- package/src/hooks/connect/use-connect.ts +0 -106
- package/src/hooks/event-types/private/__tests__/event-type-mutations.test.tsx +0 -160
- package/src/hooks/event-types/private/use-create-event-type-form.ts +0 -30
- package/src/hooks/event-types/private/use-create-event-type.ts +0 -38
- package/src/hooks/event-types/private/use-create-team-event-type.ts +0 -42
- package/src/hooks/event-types/private/use-delete-event-type-by-id.ts +0 -30
- package/src/hooks/event-types/private/use-delete-team-event-type-by-id.ts +0 -45
- package/src/hooks/event-types/private/use-event-type-by-id.ts +0 -23
- package/src/hooks/event-types/public/__tests__/public-event-type-hooks.test.tsx +0 -128
- package/src/hooks/event-types/public/use-atom-get-public-event.tsx +0 -80
- package/src/hooks/event-types/public/use-event-type.ts +0 -53
- package/src/hooks/event-types/public/use-event-types.ts +0 -23
- package/src/hooks/event-types/public/use-team-event-type.ts +0 -46
- package/src/hooks/event-types/public/use-team-event-types.ts +0 -26
- package/src/hooks/organizations/bookings/use-organization-bookings.ts +0 -38
- package/src/hooks/organizations/bookings/use-organization-user-bookings.ts +0 -34
- package/src/hooks/schedules/__tests__/use-schedules.test.tsx +0 -168
- package/src/hooks/schedules/types.ts +0 -36
- package/src/hooks/schedules/use-atom-create-schedule.ts +0 -47
- package/src/hooks/schedules/use-atom-duplicate-schedule.ts +0 -45
- package/src/hooks/schedules/use-atom-get-all-schedules.ts +0 -30
- package/src/hooks/schedules/use-atom-schedule.ts +0 -33
- package/src/hooks/schedules/use-atom-update-schedule.ts +0 -54
- package/src/hooks/schedules/use-delete-schedule.ts +0 -54
- package/src/hooks/schedules/use-ensure-default-schedule.ts +0 -23
- package/src/hooks/schedules/use-schedule.ts +0 -34
- package/src/hooks/schedules/use-schedules.ts +0 -34
- package/src/hooks/schedules/use-update-schedule.ts +0 -58
- package/src/hooks/stripe/__tests__/use-check.test.tsx +0 -99
- package/src/hooks/stripe/use-check.ts +0 -73
- package/src/hooks/stripe/use-connect.ts +0 -54
- package/src/hooks/teams/__tests__/use-team-queries.test.tsx +0 -94
- package/src/hooks/teams/use-team-members.ts +0 -32
- package/src/hooks/teams/use-teams.ts +0 -34
- package/src/hooks/use-api-keys.ts +0 -5
- package/src/hooks/use-atoms-context.ts +0 -49
- package/src/hooks/use-atoms-locale.ts +0 -11
- package/src/hooks/use-available-slots.ts +0 -43
- package/src/hooks/use-calendars-busy-times.ts +0 -64
- package/src/hooks/use-connected-calendars.tsx +0 -27
- package/src/hooks/use-delete-selected-slot.ts +0 -52
- package/src/hooks/use-event-types-list.tsx +0 -39
- package/src/hooks/use-get-city-timezones.ts +0 -27
- package/src/hooks/use-is-platform-booker-embed.ts +0 -6
- package/src/hooks/use-is-platform.ts +0 -6
- package/src/hooks/use-me.ts +0 -30
- package/src/hooks/use-o-auth-client.ts +0 -72
- package/src/hooks/use-o-auth-flow.ts +0 -120
- package/src/hooks/use-reserve-slot.ts +0 -48
- package/src/hooks/use-schedule-by-event-slug.tsx +0 -40
- package/src/hooks/use-slots.ts +0 -115
- package/src/hooks/use-timezone.ts +0 -19
- package/src/hooks/use-update-user-timezone.ts +0 -28
- package/src/hooks/use-verify-code.ts +0 -115
- package/src/hooks/use-verify-email.ts +0 -107
- package/src/index.ts +0 -50
- package/src/lib/__tests__/http.test.ts +0 -79
- package/src/lib/append-client-id-to-email.ts +0 -4
- package/src/lib/get-placeholder-content.ts +0 -16
- package/src/lib/get-query-param.ts +0 -14
- package/src/lib/get-utm-tracking-parameters.ts +0 -13
- package/src/lib/http.ts +0 -75
- package/src/lib/markdown-to-safe-html-client.ts +0 -43
- package/src/lib/markdown-to-safe-html.ts +0 -9
- package/src/lib/set-query-param.ts +0 -13
- package/src/lib/time-zones.ts +0 -20
- package/src/lib/use-locale.ts +0 -26
- package/src/lib/utils.ts +0 -6
- package/src/list-schedules/components/schedule-list-item.tsx +0 -183
- package/src/list-schedules/index.ts +0 -1
- package/src/list-schedules/wrappers/list-schedules-platform-wrapper.tsx +0 -130
- package/src/onboarding/continue-with-calcom.tsx +0 -284
- package/src/onboarding/export.ts +0 -2
- package/src/onboarding/onboarding-embed.tsx +0 -266
- package/src/onboarding/types.ts +0 -38
- package/src/router/index.ts +0 -1
- package/src/router/router.tsx +0 -164
- package/src/selected-calendars/index.ts +0 -1
- package/src/selected-calendars/selected-calendars-settings.tsx +0 -7
- package/src/selected-calendars/wrappers/selected-calendars-settings-platform-wrapper.tsx +0 -462
- package/src/timezone/index.tsx +0 -37
- package/src/timezone/timezone-select-component.tsx +0 -193
- package/src/troubleshooter/__tests__/store.test.ts +0 -80
- package/src/troubleshooter/components/calendar-toggle-container-component.tsx +0 -148
- package/src/troubleshooter/components/event-schedule-item-component.tsx +0 -33
- package/src/troubleshooter/components/event-type-select-component.tsx +0 -105
- package/src/troubleshooter/components/troubleshooter-list-item-container.tsx +0 -42
- package/src/troubleshooter/index.ts +0 -1
- package/src/troubleshooter/large-calendar/large-calendar.tsx +0 -30
- package/src/troubleshooter/sidebar/calendar-toggle-container.tsx +0 -25
- package/src/troubleshooter/sidebar/event-schedule-item.tsx +0 -13
- package/src/troubleshooter/sidebar/event-type-select.tsx +0 -8
- package/src/troubleshooter/sidebar/troubleshooter-sidebar.tsx +0 -48
- package/src/troubleshooter/store.ts +0 -110
- package/src/troubleshooter/types.ts +0 -10
- package/src/troubleshooter/wrappers/troubleshooter-platform-wrapper.tsx +0 -89
- package/src/types.ts +0 -7
- package/src/vendor/__tests__/availability.test.ts +0 -60
- package/src/vendor/__tests__/avatar-url.test.ts +0 -75
- package/src/vendor/__tests__/booker-url.test.ts +0 -26
- package/src/vendor/__tests__/booking-to-mutation-input.test.ts +0 -232
- package/src/vendor/__tests__/check-for-empty-assignment.test.ts +0 -59
- package/src/vendor/__tests__/children-event-type.test.ts +0 -64
- package/src/vendor/__tests__/currency.test.ts +0 -48
- package/src/vendor/__tests__/dayjs-utils.test.ts +0 -37
- package/src/vendor/__tests__/error-codes.test.ts +0 -69
- package/src/vendor/__tests__/event-naming.test.ts +0 -32
- package/src/vendor/__tests__/format-date-time.test.ts +0 -90
- package/src/vendor/__tests__/get-available-dates-in-month.test.ts +0 -51
- package/src/vendor/__tests__/host-group-utils.test.ts +0 -117
- package/src/vendor/__tests__/interval-limit.test.ts +0 -42
- package/src/vendor/__tests__/locations-resolver.test.ts +0 -48
- package/src/vendor/__tests__/locations.test.ts +0 -109
- package/src/vendor/__tests__/misc-utils.test.ts +0 -219
- package/src/vendor/__tests__/parse-dates.test.ts +0 -67
- package/src/vendor/__tests__/payments.test.ts +0 -126
- package/src/vendor/__tests__/query-param.test.ts +0 -70
- package/src/vendor/__tests__/recurring.test.ts +0 -104
- package/src/vendor/__tests__/slugify.test.ts +0 -48
- package/src/vendor/__tests__/time-shift.test.ts +0 -48
- package/src/vendor/__tests__/timezone.test.ts +0 -77
- package/src/vendor/__tests__/validate-booker-layouts.test.ts +0 -40
- package/src/vendor/__tests__/webstorage.test.ts +0 -148
- package/src/vendor/__tests__/weekday.test.ts +0 -61
- package/src/vendor/__tests__/weekstart.test.ts +0 -45
- package/src/vendor/analytics.ts +0 -23
- package/src/vendor/availability.ts +0 -52
- package/src/vendor/avatar-url.ts +0 -39
- package/src/vendor/booker-url.ts +0 -23
- package/src/vendor/booking-to-mutation-input.ts +0 -166
- package/src/vendor/cal-ai-phone.ts +0 -31
- package/src/vendor/check-for-empty-assignment.ts +0 -24
- package/src/vendor/children-event-type.ts +0 -50
- package/src/vendor/currency.ts +0 -39
- package/src/vendor/dayjs/index.ts +0 -30
- package/src/vendor/dayjs/plugins/__tests__/business-days-plugin.test.ts +0 -168
- package/src/vendor/dayjs/plugins/business-days-plugin.ts +0 -189
- package/src/vendor/dayjs-utils.ts +0 -13
- package/src/vendor/error-codes.ts +0 -39
- package/src/vendor/event-naming.ts +0 -34
- package/src/vendor/form-builder/__tests__/base-schema.test.ts +0 -109
- package/src/vendor/form-builder/__tests__/schema.test.ts +0 -245
- package/src/vendor/form-builder/__tests__/system-field.test.ts +0 -57
- package/src/vendor/form-builder/__tests__/use-should-be-disabled-due-to-prefill.test.ts +0 -24
- package/src/vendor/form-builder/__tests__/utils.test.ts +0 -83
- package/src/vendor/form-builder/base-schema.ts +0 -127
- package/src/vendor/form-builder/field-type-enum.ts +0 -21
- package/src/vendor/form-builder/field-types.ts +0 -161
- package/src/vendor/form-builder/fields-that-support-label-as-safe-html.ts +0 -3
- package/src/vendor/form-builder/props-types.ts +0 -17
- package/src/vendor/form-builder/schema.ts +0 -269
- package/src/vendor/form-builder/system-field.ts +0 -33
- package/src/vendor/form-builder/use-should-be-disabled-due-to-prefill.tsx +0 -107
- package/src/vendor/form-builder/utils/__tests__/get-field-identifier.test.ts +0 -14
- package/src/vendor/form-builder/utils/__tests__/variants-config.test.ts +0 -98
- package/src/vendor/form-builder/utils/get-field-identifier.ts +0 -5
- package/src/vendor/form-builder/utils/variants-config.ts +0 -71
- package/src/vendor/form-builder/utils.ts +0 -48
- package/src/vendor/form-builder-widgets/index.tsx +0 -213
- package/src/vendor/format-date-time.ts +0 -138
- package/src/vendor/get-available-dates-in-month.ts +0 -36
- package/src/vendor/get-avatar-url.ts +0 -15
- package/src/vendor/get-routed-team-member-ids.ts +0 -9
- package/src/vendor/get-stripe.ts +0 -17
- package/src/vendor/get-username-list.ts +0 -14
- package/src/vendor/hooks/__tests__/use-router-query.test.ts +0 -37
- package/src/vendor/hooks/use-debounce.ts +0 -17
- package/src/vendor/hooks/use-media-query.ts +0 -24
- package/src/vendor/hooks/use-router-query.ts +0 -34
- package/src/vendor/host-group-utils.ts +0 -57
- package/src/vendor/interval-limit.ts +0 -17
- package/src/vendor/invert-logo-on-dark.ts +0 -7
- package/src/vendor/locales/de/common.json +0 -316
- package/src/vendor/locales/en/common.json +0 -316
- package/src/vendor/locales/es/common.json +0 -316
- package/src/vendor/locales/fr/common.json +0 -316
- package/src/vendor/locales/it/common.json +0 -316
- package/src/vendor/locales/nl/common.json +0 -316
- package/src/vendor/locales/pt-BR/common.json +0 -316
- package/src/vendor/locations-resolver.ts +0 -28
- package/src/vendor/locations.ts +0 -250
- package/src/vendor/parse-dates.ts +0 -107
- package/src/vendor/payments.ts +0 -107
- package/src/vendor/phone-input/phone-input.tsx +0 -121
- package/src/vendor/phone-input/phone-masks.ts +0 -7
- package/src/vendor/query-param.ts +0 -37
- package/src/vendor/recurring.ts +0 -58
- package/src/vendor/schedule-list-item.ts +0 -47
- package/src/vendor/scroll.ts +0 -4
- package/src/vendor/server-trans.tsx +0 -88
- package/src/vendor/slugify.ts +0 -28
- package/src/vendor/theme/tokens.css +0 -474
- package/src/vendor/time-format.ts +0 -43
- package/src/vendor/time-preferences.ts +0 -32
- package/src/vendor/time-shift.ts +0 -28
- package/src/vendor/timezone-constants.ts +0 -4
- package/src/vendor/timezone.ts +0 -78
- package/src/vendor/validate-booker-layouts.ts +0 -27
- package/src/vendor/webstorage.ts +0 -78
- package/src/vendor/weekday.ts +0 -35
- package/src/vendor/weekstart.ts +0 -20
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-initialize-week-start.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-initialize-week-start.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,sBAAsB,GAAI,YAAY,OAAO,EAAE,gBAAgB,OAAO,SAalF,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns whether the current visitor falls inside the quick-availability
|
|
3
|
-
* percentage rollout. atoms standalone consumers default to `percentage = 0`
|
|
4
|
-
* (always off) since atoms doesn't ship a feature-flag service. The webapp
|
|
5
|
-
* wrapper injects `percentage = PUBLIC_QUICK_AVAILABILITY_ROLLOUT` (and
|
|
6
|
-
* forces 100 in E2E mode) so the booker still gates the check correctly.
|
|
7
|
-
*/
|
|
8
|
-
export type UseIsQuickAvailabilityCheckFeatureEnabledOptions = {
|
|
9
|
-
/** Percentage of visitors for which the feature is enabled (0-100). */
|
|
10
|
-
percentage?: number;
|
|
11
|
-
/** Cookie name used to derive a deterministic visitor id. */
|
|
12
|
-
cookieName?: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const useIsQuickAvailabilityCheckFeatureEnabled: ({ percentage, cookieName, }?: UseIsQuickAvailabilityCheckFeatureEnabledOptions) => boolean;
|
|
15
|
-
//# sourceMappingURL=use-is-quick-availability-check-feature-enabled.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-is-quick-availability-check-feature-enabled.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-is-quick-availability-check-feature-enabled.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAuBF,eAAO,MAAM,yCAAyC,GAAI,8BAGvD,gDAAqD,KAAG,OAE1D,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface HasExternalId {
|
|
2
|
-
externalId: string;
|
|
3
|
-
}
|
|
4
|
-
export declare function useLocalSet<T extends HasExternalId>(key: string, initialValue: T[]): {
|
|
5
|
-
set: Set<T>;
|
|
6
|
-
addValue: (value: T) => void;
|
|
7
|
-
removeById: (id: string) => void;
|
|
8
|
-
toggleValue: (value: T) => Set<T>;
|
|
9
|
-
hasItem: (value: T) => boolean;
|
|
10
|
-
clearSet: () => void;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=use-local-set.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-local-set.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-local-set.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,EAAE;;sBAUxD,CAAC;qBAIF,MAAM;yBAYF,CAAC,KAAG,GAAG,CAAC,CAAC,CAAC;qBAyBd,CAAC;;EAU1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-non-empty-schedule-days.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-non-empty-schedule-days.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAkB7C,eAAO,MAAM,uBAAuB,GAAI,QAAQ,KAAK,aAEpD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventBusyDate } from '../../contracts';
|
|
2
|
-
import { ToggledConnectedCalendars } from '../types';
|
|
3
|
-
type OverlayCalendarConnectedCalendar = {
|
|
4
|
-
calendars?: {
|
|
5
|
-
externalId: string;
|
|
6
|
-
primary: boolean | null;
|
|
7
|
-
}[];
|
|
8
|
-
credentialId: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const useOverlayCalendar: ({ connectedCalendars, overlayBusyDates, onToggleCalendar, }: {
|
|
11
|
-
overlayBusyDates?: EventBusyDate[];
|
|
12
|
-
onToggleCalendar: (calendarsToLoad: Set<ToggledConnectedCalendars>) => void;
|
|
13
|
-
connectedCalendars: OverlayCalendarConnectedCalendar[];
|
|
14
|
-
}) => {
|
|
15
|
-
isOpenOverlayContinueModal: boolean;
|
|
16
|
-
isOpenOverlaySettingsModal: boolean;
|
|
17
|
-
handleCloseContinueModal: (val: boolean) => void;
|
|
18
|
-
handleCloseSettingsModal: (val: boolean) => void;
|
|
19
|
-
handleToggleConnectedCalendar: (externalCalendarId: string, credentialId: number) => void;
|
|
20
|
-
checkIsCalendarToggled: (externalId: string, credentialId: number) => boolean;
|
|
21
|
-
};
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=use-overlay-calendar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-overlay-calendar.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-overlay-calendar.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAG1D,KAAK,gCAAgC,GAAG;IACtC,SAAS,CAAC,EAAE;QACV,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,EAAE,CAAC;IACJ,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,6DAIhC;IACD,gBAAgB,CAAC,EAAE,aAAa,EAAE,CAAC;IACnC,gBAAgB,EAAE,CAAC,eAAe,EAAE,GAAG,CAAC,yBAAyB,CAAC,KAAK,IAAI,CAAC;IAC5E,kBAAkB,EAAE,gCAAgC,EAAE,CAAC;CACxD,KAAG;IACF,0BAA0B,EAAE,OAAO,CAAC;IACpC,0BAA0B,EAAE,OAAO,CAAC;IACpC,wBAAwB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,wBAAwB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,6BAA6B,EAAE,CAAC,kBAAkB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1F,sBAAsB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC;CA8D/E,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UIEvent } from 'react';
|
|
2
|
-
export declare function useShouldShowArrows(): {
|
|
3
|
-
ref: import('react').RefObject<HTMLUListElement>;
|
|
4
|
-
calculateScroll: (e: UIEvent<HTMLUListElement>) => void;
|
|
5
|
-
leftVisible: boolean;
|
|
6
|
-
rightVisible: boolean;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=use-should-show-arrows.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-should-show-arrows.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-should-show-arrows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGrC,wBAAgB,mBAAmB;;yBAmBL,OAAO,CAAC,gBAAgB,CAAC;;;EAUtD"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { UseFormReturn } from 'react-hook-form';
|
|
2
|
-
import { BookerEvent } from '../../contracts';
|
|
3
|
-
type BookerState = "loading" | "selecting_date" | "selecting_time" | "booking";
|
|
4
|
-
/**
|
|
5
|
-
* Decides whether the booker can skip the confirm step (jump straight from
|
|
6
|
-
* timeslot selection to a successful booking) when the user has already
|
|
7
|
-
* filled all required fields via prefill / session.
|
|
8
|
-
*
|
|
9
|
-
* Atoms standalone consumers can't run the full bookingResponses zod schema
|
|
10
|
-
* (it depends on `@calcom/features/bookings/lib/getBookingResponsesSchema`
|
|
11
|
-
* which drags in Prisma + form-builder), so by default the hook returns
|
|
12
|
-
* `false` (always show the confirm step). The webapp wrapper injects
|
|
13
|
-
* `shouldSkipForResponses` — an async checker that runs the schema's
|
|
14
|
-
* `safeParseAsync` against the current form responses.
|
|
15
|
-
*/
|
|
16
|
-
export type UseSkipConfirmStepOptions = {
|
|
17
|
-
shouldSkipForResponses?: (responses: unknown) => Promise<boolean>;
|
|
18
|
-
};
|
|
19
|
-
export declare const useSkipConfirmStep: (bookingForm: UseFormReturn<any>, bookerState: BookerState, isInstantMeeting: boolean, isWeekView: boolean, bookingFields?: BookerEvent["bookingFields"], locations?: BookerEvent["locations"], options?: UseSkipConfirmStepOptions) => boolean;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=use-skip-confirm-step.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-skip-confirm-step.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-skip-confirm-step.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,KAAK,WAAW,GAAG,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,SAAS,CAAC;AAE/E;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACnE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,aAAa,aAAa,CAAC,GAAG,CAAC,EAC/B,aAAa,WAAW,EACxB,kBAAkB,OAAO,EACzB,YAAY,OAAO,EACnB,gBAAgB,WAAW,CAAC,eAAe,CAAC,EAC5C,YAAY,WAAW,CAAC,WAAW,CAAC,EACpC,UAAS,yBAA8B,YA6CxC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Slots } from '../../contracts';
|
|
2
|
-
import { Slot } from '../types';
|
|
3
|
-
/** Slots for a specific YYYY-MM-DD date from a schedule cache. */
|
|
4
|
-
export declare const useSlotsForDate: (date: string | null, slots?: Slots) => import('../../contracts').SlotInfo[];
|
|
5
|
-
/**
|
|
6
|
-
* Slots grouped per day. `toggleConfirmButton` flips the
|
|
7
|
-
* `showConfirmButton` tentative flag for the clicked slot (used by
|
|
8
|
-
* the AvailableTimes "skip confirm step" flow).
|
|
9
|
-
*/
|
|
10
|
-
export declare const useSlotsForAvailableDates: (dates: (string | null)[], slots?: Slots) => {
|
|
11
|
-
readonly slotsPerDay: {
|
|
12
|
-
date: string | null;
|
|
13
|
-
slots: Slots[string];
|
|
14
|
-
}[];
|
|
15
|
-
readonly setSlotsPerDay: import('react').Dispatch<import('react').SetStateAction<{
|
|
16
|
-
date: string | null;
|
|
17
|
-
slots: Slots[string];
|
|
18
|
-
}[]>>;
|
|
19
|
-
readonly toggleConfirmButton: (selectedSlot: Slot) => void;
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=use-slots-for-date.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-slots-for-date.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-slots-for-date.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,kEAAkE;AAClE,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,GAAG,IAAI,EAAE,QAAQ,KAAK,yCAKjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,EAAE,QAAQ,KAAK;;cACxB,MAAM,GAAG,IAAI;eAAS,KAAK,CAAC,MAAM,CAAC;;;cAAnC,MAAM,GAAG,IAAI;eAAS,KAAK,CAAC,MAAM,CAAC;;iDAEnC,IAAI;CA6B5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-stable-timezone.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-stable-timezone.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,mBAAmB,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,iBAAiB,EAAE,OAAO,CAAA;CAAE,GACtE,MAAM,CAOR"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
type UseScheduleWithCacheArgs = {
|
|
2
|
-
username?: string | null;
|
|
3
|
-
eventSlug?: string | null;
|
|
4
|
-
eventId?: number | null;
|
|
5
|
-
month?: string | null;
|
|
6
|
-
timezone?: string | null;
|
|
7
|
-
selectedDate?: string | null;
|
|
8
|
-
duration?: number | null;
|
|
9
|
-
dayCount?: number | null;
|
|
10
|
-
rescheduleUid?: string | null;
|
|
11
|
-
isTeamEvent?: boolean;
|
|
12
|
-
orgSlug?: string;
|
|
13
|
-
teamMemberEmail?: string | null;
|
|
14
|
-
useApiV2?: boolean;
|
|
15
|
-
enabled?: boolean;
|
|
16
|
-
bookerLayout?: {
|
|
17
|
-
layout: string;
|
|
18
|
-
extraDays: number;
|
|
19
|
-
columnViewExtraDays: {
|
|
20
|
-
current: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
type UseTimesForScheduleProps = Pick<UseScheduleWithCacheArgs, "month" | "dayCount" | "selectedDate" | "bookerLayout">;
|
|
25
|
-
export declare const useTimesForSchedule: ({ month: monthFromProps, selectedDate, dayCount, bookerLayout, }: UseTimesForScheduleProps) => [string, string];
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=use-times-for-schedule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-times-for-schedule.d.ts","sourceRoot":"","sources":["../../../../src/booker/hooks/use-times-for-schedule.ts"],"names":[],"mappings":"AAOA,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE;QACb,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,mBAAmB,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,KAAK,wBAAwB,GAAG,IAAI,CAClC,wBAAwB,EACxB,OAAO,GAAG,UAAU,GAAG,cAAc,GAAG,cAAc,CACvD,CAAC;AAkDF,eAAO,MAAM,mBAAmB,GAAI,kEAKjC,wBAAwB,KAAG,CAAC,MAAM,EAAE,MAAM,CAmC5C,CAAC"}
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { BookerLayout, BookerState, GetBookingType } from '../contracts';
|
|
2
|
-
declare const _iso_3166_1_alpha_2_codes: readonly ["ad", "ae", "af", "ag", "ai", "al", "am", "ao", "aq", "ar", "as", "at", "au", "aw", "ax", "az", "ba", "bb", "bd", "be", "bf", "bg", "bh", "bi", "bj", "bl", "bm", "bn", "bo", "bq", "br", "bs", "bt", "bv", "bw", "by", "bz", "ca", "cc", "cd", "cf", "cg", "ch", "ci", "ck", "cl", "cm", "cn", "co", "cr", "cu", "cv", "cw", "cx", "cy", "cz", "de", "dj", "dk", "dm", "do", "dz", "ec", "ee", "eg", "eh", "er", "es", "et", "fi", "fj", "fk", "fm", "fo", "fr", "ga", "gb", "gd", "ge", "gf", "gg", "gh", "gi", "gl", "gm", "gn", "gp", "gq", "gr", "gs", "gt", "gu", "gw", "gy", "hk", "hm", "hn", "hr", "ht", "hu", "id", "ie", "il", "im", "in", "io", "iq", "ir", "is", "it", "je", "jm", "jo", "jp", "ke", "kg", "kh", "ki", "km", "kn", "kp", "kr", "kw", "ky", "kz", "la", "lb", "lc", "li", "lk", "lr", "ls", "lt", "lu", "lv", "ly", "ma", "mc", "md", "me", "mf", "mg", "mh", "mk", "ml", "mm", "mn", "mo", "mp", "mq", "mr", "ms", "mt", "mu", "mv", "mw", "mx", "my", "mz", "na", "nc", "ne", "nf", "ng", "ni", "nl", "no", "np", "nr", "nu", "nz", "om", "pa", "pe", "pf", "pg", "ph", "pk", "pl", "pm", "pn", "pr", "ps", "pt", "pw", "py", "qa", "re", "ro", "rs", "ru", "rw", "sa", "sb", "sc", "sd", "se", "sg", "sh", "si", "sj", "sk", "sl", "sm", "sn", "so", "sr", "ss", "st", "sv", "sx", "sy", "tc", "td", "tf", "tg", "th", "tj", "tk", "tl", "tm", "tn", "to", "tr", "tt", "tv", "tw", "tz", "ua", "ug", "um", "us", "uy", "uz", "va", "vc", "ve", "vg", "vi", "vn", "vu", "wf", "ws", "ye", "yt", "za", "zm", "zw"];
|
|
3
|
-
export type CountryCode = (typeof _iso_3166_1_alpha_2_codes)[number];
|
|
4
|
-
/**
|
|
5
|
-
* Arguments passed into store initializer, containing
|
|
6
|
-
* the event data.
|
|
7
|
-
*/
|
|
8
|
-
export type StoreInitializeType = {
|
|
9
|
-
username: string;
|
|
10
|
-
eventSlug: string;
|
|
11
|
-
eventId: number | undefined;
|
|
12
|
-
layout: BookerLayout | string | undefined;
|
|
13
|
-
month?: string;
|
|
14
|
-
bookingUid?: string | null;
|
|
15
|
-
isTeamEvent?: boolean;
|
|
16
|
-
bookingData?: GetBookingType | null | undefined;
|
|
17
|
-
verifiedEmail?: string | null;
|
|
18
|
-
rescheduleUid?: string | null;
|
|
19
|
-
rescheduledBy?: string | null;
|
|
20
|
-
seatReferenceUid?: string;
|
|
21
|
-
durationConfig?: number[] | null;
|
|
22
|
-
org?: string | null;
|
|
23
|
-
isInstantMeeting?: boolean;
|
|
24
|
-
timezone?: string | null;
|
|
25
|
-
teamMemberEmail?: string | null;
|
|
26
|
-
crmOwnerRecordType?: string | null;
|
|
27
|
-
crmAppSlug?: string | null;
|
|
28
|
-
crmRecordId?: string | null;
|
|
29
|
-
pendingCrmTraceId?: string | null;
|
|
30
|
-
isPlatform?: boolean;
|
|
31
|
-
allowUpdatingUrlParams?: boolean;
|
|
32
|
-
defaultPhoneCountry?: CountryCode;
|
|
33
|
-
};
|
|
34
|
-
type SeatedEventData = {
|
|
35
|
-
seatsPerTimeSlot?: number | null;
|
|
36
|
-
attendees?: number;
|
|
37
|
-
bookingUid?: string;
|
|
38
|
-
showAvailableSeatsCount?: boolean | null;
|
|
39
|
-
};
|
|
40
|
-
export type BookerStore = {
|
|
41
|
-
/**
|
|
42
|
-
* Event details. These are stored in store for easier
|
|
43
|
-
* access in child components.
|
|
44
|
-
*/
|
|
45
|
-
username: string | null;
|
|
46
|
-
eventSlug: string | null;
|
|
47
|
-
eventId: number | null;
|
|
48
|
-
/**
|
|
49
|
-
* Verified booker email.
|
|
50
|
-
* Needed in case user turns on Requires Booker Email Verification for an event
|
|
51
|
-
*/
|
|
52
|
-
verifiedEmail: string | null;
|
|
53
|
-
setVerifiedEmail: (email: string | null) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Verification code for email verification.
|
|
56
|
-
* Stored after successful verification to be included in booking request
|
|
57
|
-
*/
|
|
58
|
-
verificationCode: string | null;
|
|
59
|
-
setVerificationCode: (code: string | null) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Current month being viewed. Format is YYYY-MM.
|
|
62
|
-
*/
|
|
63
|
-
month: string | null;
|
|
64
|
-
setMonth: (month: string | null) => void;
|
|
65
|
-
/**
|
|
66
|
-
* Current state of the booking process
|
|
67
|
-
* the user is currently in. See enum for possible values.
|
|
68
|
-
*/
|
|
69
|
-
state: BookerState;
|
|
70
|
-
setState: (state: BookerState) => void;
|
|
71
|
-
/**
|
|
72
|
-
* The booker component supports different layouts,
|
|
73
|
-
* this value tracks the current layout.
|
|
74
|
-
*/
|
|
75
|
-
layout: BookerLayout;
|
|
76
|
-
setLayout: (layout: BookerLayout) => void;
|
|
77
|
-
/**
|
|
78
|
-
* Date selected by user (exact day). Format is YYYY-MM-DD.
|
|
79
|
-
*/
|
|
80
|
-
selectedDate: string | null;
|
|
81
|
-
setSelectedDate: (params: {
|
|
82
|
-
date: string | null;
|
|
83
|
-
omitUpdatingParams?: boolean;
|
|
84
|
-
preventMonthSwitching?: boolean;
|
|
85
|
-
}) => void;
|
|
86
|
-
addToSelectedDate: (days: number) => void;
|
|
87
|
-
/**
|
|
88
|
-
* Multiple Selected Dates and Times
|
|
89
|
-
*/
|
|
90
|
-
selectedDatesAndTimes: {
|
|
91
|
-
[key: string]: {
|
|
92
|
-
[key: string]: string[];
|
|
93
|
-
};
|
|
94
|
-
} | null;
|
|
95
|
-
setSelectedDatesAndTimes: (selectedDatesAndTimes: {
|
|
96
|
-
[key: string]: {
|
|
97
|
-
[key: string]: string[];
|
|
98
|
-
};
|
|
99
|
-
}) => void;
|
|
100
|
-
/**
|
|
101
|
-
* Multiple duration configuration
|
|
102
|
-
*/
|
|
103
|
-
durationConfig: number[] | null;
|
|
104
|
-
/**
|
|
105
|
-
* Selected event duration in minutes.
|
|
106
|
-
*/
|
|
107
|
-
selectedDuration: number | null;
|
|
108
|
-
setSelectedDuration: (duration: number | null) => void;
|
|
109
|
-
/**
|
|
110
|
-
* Selected timeslot user has chosen. This is a date string
|
|
111
|
-
* containing both the date + time.
|
|
112
|
-
*/
|
|
113
|
-
selectedTimeslot: string | null;
|
|
114
|
-
setSelectedTimeslot: (timeslot: string | null) => void;
|
|
115
|
-
tentativeSelectedTimeslots: string[];
|
|
116
|
-
setTentativeSelectedTimeslots: (slots: string[]) => void;
|
|
117
|
-
/**
|
|
118
|
-
* Number of recurring events to create.
|
|
119
|
-
*/
|
|
120
|
-
recurringEventCount: number | null;
|
|
121
|
-
setRecurringEventCount(count: number | null): void;
|
|
122
|
-
/**
|
|
123
|
-
* Input occurrence count.
|
|
124
|
-
*/
|
|
125
|
-
recurringEventCountQueryParam: number | null;
|
|
126
|
-
setRecurringEventCountQueryParam(count: number | null): void;
|
|
127
|
-
/**
|
|
128
|
-
* The number of days worth of schedules to load.
|
|
129
|
-
*/
|
|
130
|
-
dayCount: number | null;
|
|
131
|
-
setDayCount: (dayCount: number | null) => void;
|
|
132
|
-
/**
|
|
133
|
-
* If booking is being rescheduled or it has seats, it receives a rescheduleUid with rescheduledBy or bookingUid
|
|
134
|
-
* the current booking details are passed in. The `bookingData`
|
|
135
|
-
* object is something that's fetched server side.
|
|
136
|
-
*/
|
|
137
|
-
rescheduleUid: string | null;
|
|
138
|
-
setRescheduleUid: (rescheduleUid: string | null) => void;
|
|
139
|
-
rescheduledBy: string | null;
|
|
140
|
-
bookingUid: string | null;
|
|
141
|
-
bookingData: GetBookingType | null;
|
|
142
|
-
setBookingData: (bookingData: GetBookingType | null | undefined) => void;
|
|
143
|
-
/**
|
|
144
|
-
* Method called by booker component to set initial data.
|
|
145
|
-
*/
|
|
146
|
-
initialize: (data: StoreInitializeType) => void;
|
|
147
|
-
/**
|
|
148
|
-
* Stored form state, used when user navigates back and
|
|
149
|
-
* forth between timeslots and form. Gets cleared on submit
|
|
150
|
-
* to prevent sticky data.
|
|
151
|
-
*/
|
|
152
|
-
formValues: Record<string, any>;
|
|
153
|
-
setFormValues: (values: Record<string, any>) => void;
|
|
154
|
-
/**
|
|
155
|
-
* Force event being a team event, so we only query for team events instead
|
|
156
|
-
* of also include 'user' events and return the first event that matches with
|
|
157
|
-
* both the slug and the event slug.
|
|
158
|
-
*/
|
|
159
|
-
isTeamEvent: boolean;
|
|
160
|
-
seatedEventData: SeatedEventData;
|
|
161
|
-
setSeatedEventData: (seatedEventData: SeatedEventData) => void;
|
|
162
|
-
isInstantMeeting?: boolean;
|
|
163
|
-
org?: string | null;
|
|
164
|
-
setOrg: (org: string | null | undefined) => void;
|
|
165
|
-
timezone: string | null;
|
|
166
|
-
setTimezone: (timezone: string | null) => void;
|
|
167
|
-
teamMemberEmail?: string | null;
|
|
168
|
-
crmOwnerRecordType?: string | null;
|
|
169
|
-
crmAppSlug?: string | null;
|
|
170
|
-
crmRecordId?: string | null;
|
|
171
|
-
pendingCrmTraceId?: string | null;
|
|
172
|
-
isPlatform?: boolean;
|
|
173
|
-
allowUpdatingUrlParams?: boolean;
|
|
174
|
-
defaultPhoneCountry?: CountryCode | null;
|
|
175
|
-
/**
|
|
176
|
-
* Client-generated identifier used to correlate availability and booking
|
|
177
|
-
* requests that belong to a single booker lifecycle. Regenerated on each
|
|
178
|
-
* mount/refresh and sent on each request as the `_bookerCorrelationId`
|
|
179
|
-
* URL query param (the underscore prefix is the convention for internal,
|
|
180
|
-
* non-public-API query params — kept off the state field name) so related
|
|
181
|
-
* requests can be grouped in logs via the request URL.
|
|
182
|
-
*/
|
|
183
|
-
bookerCorrelationId: string;
|
|
184
|
-
/**
|
|
185
|
-
* Whether the two-step slot selection modal/dialog is visible
|
|
186
|
-
*/
|
|
187
|
-
isSlotSelectionModalVisible: boolean;
|
|
188
|
-
setIsSlotSelectionModalVisible: (visible: boolean) => void;
|
|
189
|
-
};
|
|
190
|
-
/**
|
|
191
|
-
* Creates a new booker store instance
|
|
192
|
-
*/
|
|
193
|
-
export declare const createBookerStore: () => import('zustand/traditional').UseBoundStoreWithEqualityFn<import('zustand').StoreApi<BookerStore>>;
|
|
194
|
-
/**
|
|
195
|
-
* Default global store instance for backward compatibility
|
|
196
|
-
*/
|
|
197
|
-
export declare const useBookerStore: import('zustand/traditional').UseBoundStoreWithEqualityFn<import('zustand').StoreApi<BookerStore>>;
|
|
198
|
-
export declare const useInitializeBookerStore: ({ username, eventSlug, month, eventId, rescheduleUid, rescheduledBy, bookingData, verifiedEmail, layout, isTeamEvent, durationConfig, org, isInstantMeeting, timezone, teamMemberEmail, crmOwnerRecordType, crmAppSlug, crmRecordId, pendingCrmTraceId, isPlatform, allowUpdatingUrlParams, defaultPhoneCountry, }: StoreInitializeType) => void;
|
|
199
|
-
export {};
|
|
200
|
-
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/booker/store.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ApiErrorResponse, ApiSuccessResponse, ApiSuccessResponseWithoutData, BookingResponse, RoutingFormSearchParams } from '../contracts';
|
|
3
|
-
import { BookerPropsContract, BookerStoreValues, BookerTimezone, BookerView, BookingCreateInput, CountryCode, RecurringBookingCreateInput } from '../contracts/booker';
|
|
4
|
-
export type { BookerStoreValues };
|
|
5
|
-
type SlotInfo = {
|
|
6
|
-
time: string;
|
|
7
|
-
attendees?: number;
|
|
8
|
-
bookingUid?: string;
|
|
9
|
-
away?: boolean;
|
|
10
|
-
fromUser?: {
|
|
11
|
-
id: number;
|
|
12
|
-
displayName: string | null;
|
|
13
|
-
};
|
|
14
|
-
toUser?: {
|
|
15
|
-
id: number;
|
|
16
|
-
username: string | null;
|
|
17
|
-
displayName: string | null;
|
|
18
|
-
};
|
|
19
|
-
reason?: string;
|
|
20
|
-
emoji?: string;
|
|
21
|
-
showNotePublicly?: boolean;
|
|
22
|
-
};
|
|
23
|
-
export type Slot = {
|
|
24
|
-
time: string;
|
|
25
|
-
userIds?: number[];
|
|
26
|
-
attendees?: number;
|
|
27
|
-
bookingUid?: string;
|
|
28
|
-
users?: string[];
|
|
29
|
-
/** Tentative-slot flag AvailableTimes toggles when a slot is
|
|
30
|
-
* pre-selected but not yet confirmed. */
|
|
31
|
-
showConfirmButton?: boolean;
|
|
32
|
-
/** Out-of-office metadata carried by the schedule payload. */
|
|
33
|
-
away?: boolean;
|
|
34
|
-
fromUser?: {
|
|
35
|
-
username?: string | null;
|
|
36
|
-
name?: string | null;
|
|
37
|
-
displayName?: string | null;
|
|
38
|
-
};
|
|
39
|
-
toUser?: {
|
|
40
|
-
id?: number;
|
|
41
|
-
username?: string | null;
|
|
42
|
-
name?: string | null;
|
|
43
|
-
displayName?: string | null;
|
|
44
|
-
};
|
|
45
|
-
reason?: string;
|
|
46
|
-
emoji?: string;
|
|
47
|
-
notes?: string | null;
|
|
48
|
-
showNotePublicly?: boolean;
|
|
49
|
-
};
|
|
50
|
-
/** Identity of a connected calendar toggled in the overlay. */
|
|
51
|
-
export type ToggledConnectedCalendars = {
|
|
52
|
-
credentialId: number;
|
|
53
|
-
externalId: string;
|
|
54
|
-
};
|
|
55
|
-
export type BookerPlatformWrapperAtomProps = Omit<BookerPropsContract, "username" | "entity" | "isTeamEvent"> & {
|
|
56
|
-
rescheduleUid?: string;
|
|
57
|
-
rescheduledBy?: string;
|
|
58
|
-
bookingUid?: string;
|
|
59
|
-
entity?: BookerPropsContract["entity"];
|
|
60
|
-
defaultFormValues?: {
|
|
61
|
-
firstName?: string;
|
|
62
|
-
lastName?: string;
|
|
63
|
-
guests?: string[];
|
|
64
|
-
name?: string;
|
|
65
|
-
email?: string;
|
|
66
|
-
notes?: string;
|
|
67
|
-
rescheduleReason?: string;
|
|
68
|
-
} & Record<string, string | string[]>;
|
|
69
|
-
handleCreateBooking?: (input: BookingCreateInput) => void;
|
|
70
|
-
handleCreateRecurringBooking?: (input: RecurringBookingCreateInput[]) => void;
|
|
71
|
-
onCreateBookingSuccess?: (data: ApiSuccessResponse<BookingResponse>) => void;
|
|
72
|
-
onCreateBookingError?: (data: ApiErrorResponse | Error) => void;
|
|
73
|
-
onCreateRecurringBookingSuccess?: (data: ApiSuccessResponse<BookingResponse[]>) => void;
|
|
74
|
-
onCreateRecurringBookingError?: (data: ApiErrorResponse | Error) => void;
|
|
75
|
-
onCreateInstantBookingSuccess?: (data: ApiSuccessResponse<BookingResponse>) => void;
|
|
76
|
-
onCreateInstantBookingError?: (data: ApiErrorResponse | Error) => void;
|
|
77
|
-
onReserveSlotSuccess?: (data: ApiSuccessResponse<string>) => void;
|
|
78
|
-
onReserveSlotError?: (data: ApiErrorResponse) => void;
|
|
79
|
-
onDeleteSlotSuccess?: (data: ApiSuccessResponseWithoutData) => void;
|
|
80
|
-
onDeleteSlotError?: (data: ApiErrorResponse) => void;
|
|
81
|
-
onBookerStateChange?: (state: BookerStoreValues) => void;
|
|
82
|
-
handleSlotReservation?: (timeslot: string) => void;
|
|
83
|
-
locationUrl?: string;
|
|
84
|
-
view?: BookerView;
|
|
85
|
-
metadata?: Record<string, string>;
|
|
86
|
-
bannerUrl?: string;
|
|
87
|
-
onDryRunSuccess?: () => void;
|
|
88
|
-
hostsLimit?: number;
|
|
89
|
-
preventEventTypeRedirect?: boolean;
|
|
90
|
-
allowUpdatingUrlParams?: boolean;
|
|
91
|
-
confirmButtonDisabled?: boolean;
|
|
92
|
-
timeZones?: BookerTimezone[];
|
|
93
|
-
isBookingDryRun?: boolean;
|
|
94
|
-
eventMetaChildren?: React.ReactNode;
|
|
95
|
-
onTimeslotsLoaded?: (slots: Record<string, Slot[]>) => void;
|
|
96
|
-
startTime?: string | Date;
|
|
97
|
-
roundRobinHideOrgAndTeam?: boolean;
|
|
98
|
-
silentlyHandleCalendarFailures?: boolean;
|
|
99
|
-
hideEventMetadata?: boolean;
|
|
100
|
-
defaultPhoneCountry?: CountryCode;
|
|
101
|
-
hideOrgTeamAvatar?: boolean;
|
|
102
|
-
};
|
|
103
|
-
export type BookerPlatformWrapperAtomPropsForIndividual = BookerPlatformWrapperAtomProps & {
|
|
104
|
-
username: string | string[];
|
|
105
|
-
isTeamEvent?: false;
|
|
106
|
-
routingFormSearchParams?: RoutingFormSearchParams;
|
|
107
|
-
};
|
|
108
|
-
export type BookerPlatformWrapperAtomPropsForTeam = BookerPlatformWrapperAtomProps & {
|
|
109
|
-
username?: string | string[];
|
|
110
|
-
isTeamEvent: true;
|
|
111
|
-
teamId: number;
|
|
112
|
-
routingFormSearchParams?: RoutingFormSearchParams;
|
|
113
|
-
rrHostSubsetIds?: number[];
|
|
114
|
-
};
|
|
115
|
-
export type GetAvailableSlotsResponse = {
|
|
116
|
-
slots: Record<string, SlotInfo[]>;
|
|
117
|
-
};
|
|
118
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/booker/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-slot-reservation-id.d.ts","sourceRoot":"","sources":["../../../src/booker/use-slot-reservation-id.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,uCACb,MAAM,UAOzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"are-different-valid-months.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/are-different-valid-months.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,EAAE,aAAa,MAAM,YAI9E,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { TimeFormat } from '../../vendor/time-format';
|
|
2
|
-
interface EventFromToTime {
|
|
3
|
-
date: string;
|
|
4
|
-
duration: number | null;
|
|
5
|
-
timeFormat: TimeFormat;
|
|
6
|
-
timeZone: string;
|
|
7
|
-
language: string;
|
|
8
|
-
}
|
|
9
|
-
interface EventFromTime {
|
|
10
|
-
date: string;
|
|
11
|
-
timeFormat: TimeFormat;
|
|
12
|
-
timeZone: string;
|
|
13
|
-
language: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const formatEventFromTime: ({ date, timeFormat, timeZone, language }: EventFromTime) => {
|
|
16
|
-
date: string;
|
|
17
|
-
time: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const formatEventFromToTime: ({ date, duration, timeFormat, timeZone, language, }: EventFromToTime) => {
|
|
20
|
-
date: string;
|
|
21
|
-
time: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const FromToTime: (props: EventFromToTime) => JSX.Element;
|
|
24
|
-
export declare const FromTime: (props: EventFromTime) => JSX.Element;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=dates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dates.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/dates.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mBAAmB,GAAI,0CAA0C,aAAa;;;CAoB1F,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,qDAMnC,eAAe;;;CAuBjB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gBAShD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,gBAO5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-booker-timezone.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/get-booker-timezone.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,iDAG/B;IACD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,2BAA2B,EAAE,MAAM,CAAC;CACrC,WAEA,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Computes the duration in minutes of a booking from its start and end times.
|
|
3
|
-
* Returns the duration if it's a valid option in the durationConfig, otherwise null.
|
|
4
|
-
*/
|
|
5
|
-
export declare const getBookingDuration: (startTime: Date | string, endTime: Date | string, durationConfig: number[]) => number | null;
|
|
6
|
-
//# sourceMappingURL=get-booking-duration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-booking-duration.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/get-booking-duration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,IAAI,GAAG,MAAM,EACxB,SAAS,IAAI,GAAG,MAAM,EACtB,gBAAgB,MAAM,EAAE,KACvB,MAAM,GAAG,IAUX,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { BookerState } from '../../contracts';
|
|
2
|
-
export declare const getPrefetchMonthCount: (bookerLayout: string, bookerState: BookerState, firstMonth: number, secondMonth: number, prefetchNextMonth: boolean) => 2 | undefined;
|
|
3
|
-
//# sourceMappingURL=get-prefetch-month-count.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-prefetch-month-count.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/get-prefetch-month-count.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGlE,eAAO,MAAM,qBAAqB,GAChC,cAAc,MAAM,EACpB,aAAa,WAAW,EACxB,YAAY,MAAM,EAClB,aAAa,MAAM,EACnB,mBAAmB,OAAO,kBAe3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-booking-dry-run.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/is-booking-dry-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,eAAO,MAAM,eAAe,GAAI,cAAc,eAAe,GAAG,uBAAuB,YAEtF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-month-change.d.ts","sourceRoot":"","sources":["../../../../src/booker/utils/is-month-change.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,cAAc,MAAM,EAAE,WAAW,MAAM,YAIpE,CAAC"}
|