@calcom/atoms 2.0.0 → 2.2.0
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/dist/{AddressInput-BpSJca3r.js → AddressInput-6bVKck2M.js} +1 -1
- package/dist/{AlbyPriceComponent-0EzHrAW1.js → AlbyPriceComponent-GfOmDB_O.js} +1 -1
- package/dist/{AppCard-8e-kpo72.js → AppCard-XVjVUT2T.js} +1 -1
- package/dist/{AppListCardPlatformWrapper-ixynsgLl.js → AppListCardPlatformWrapper-i7akxulv.js} +1 -1
- package/dist/{AppListCardWebWrapper-fZ9Ne6_r.js → AppListCardWebWrapper-dPeS1ok1.js} +1 -1
- package/dist/{AppSettingsInterface-vtpma4Ty.js → AppSettingsInterface-ETQ3qMkX.js} +1 -1
- package/dist/{AppSettingsInterface-jrZ0xNex.js → AppSettingsInterface-TrLEI6ni.js} +1 -1
- package/dist/{AppSettingsInterface-vmWnGjAP.js → AppSettingsInterface-ZA_4mY8_.js} +1 -1
- package/dist/{DateRangePicker-YEvczWqa.js → DateRangePicker-DQqNk0Jz.js} +1 -1
- package/dist/{EventTypeAppCardInterface-J2GpH83m.js → EventTypeAppCardInterface-1Wyihj4E.js} +3 -3
- package/dist/{EventTypeAppCardInterface-rOrmbyNN.js → EventTypeAppCardInterface-6sq_fBN1.js} +4 -4
- package/dist/{EventTypeAppCardInterface-aH_uqNUP.js → EventTypeAppCardInterface-CP8Elysz.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ILCE1dyV.js → EventTypeAppCardInterface-FLCpeKqZ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-YsABP7F5.js → EventTypeAppCardInterface-M1n4NXFA.js} +3 -3
- package/dist/{EventTypeAppCardInterface-cJTTVbQp.js → EventTypeAppCardInterface-MdK8qkg-.js} +4 -4
- package/dist/EventTypeAppCardInterface-N8wGa45M.js +69 -0
- package/dist/{EventTypeAppCardInterface-XYdXwsp1.js → EventTypeAppCardInterface-Qplt4YLq.js} +2 -2
- package/dist/{EventTypeAppCardInterface-64u7JDmK.js → EventTypeAppCardInterface-RHtdwd9a.js} +3 -3
- package/dist/{EventTypeAppCardInterface-zruB2FzC.js → EventTypeAppCardInterface-Uga0cNx6.js} +4 -4
- package/dist/{EventTypeAppCardInterface-SThwQJqI.js → EventTypeAppCardInterface-XSG4xPHW.js} +3 -3
- package/dist/{EventTypeAppCardInterface-KfTLSDMB.js → EventTypeAppCardInterface-ZHgUOsc7.js} +3 -3
- package/dist/{EventTypeAppCardInterface-r9B6g_vb.js → EventTypeAppCardInterface-b1u3_3R0.js} +4 -4
- package/dist/{EventTypeAppCardInterface-xdH4tRYC.js → EventTypeAppCardInterface-cc81lVyN.js} +4 -4
- package/dist/{EventTypeAppCardInterface-i5sePaPw.js → EventTypeAppCardInterface-eycetC2V.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Ms-ryW85.js → EventTypeAppCardInterface-nL-zlXJQ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-MQTWgkIo.js → EventTypeAppCardInterface-oLxuW8Vd.js} +4 -4
- package/dist/{EventTypeAppCardInterface-tFi51kOu.js → EventTypeAppCardInterface-oZda5T7g.js} +3 -3
- package/dist/{EventTypeAppCardInterface-bmQeZj3C.js → EventTypeAppCardInterface-pIt_xj9c.js} +3 -3
- package/dist/{EventTypeAppCardInterface-yg1X_xul.js → EventTypeAppCardInterface-qcozX-yQ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-AxmjB7N4.js → EventTypeAppCardInterface-tgHZw_9s.js} +3 -3
- package/dist/{EventTypeAppCardInterface-XQAC7Sns.js → EventTypeAppCardInterface-toMtOVtA.js} +3 -3
- package/dist/{EventTypeAppCardInterface-GgzM8H2q.js → EventTypeAppCardInterface-ty37Eet2.js} +3 -3
- package/dist/{EventTypeAppCardInterface-RR8Pdcmk.js → EventTypeAppCardInterface-wOZWukpM.js} +2 -2
- package/dist/{EventTypeAppCardInterface-T51D3u6j.js → EventTypeAppCardInterface-xdESsRSy.js} +3 -3
- package/dist/{EventTypeAppCardInterface-x_wvzB0v.js → EventTypeAppCardInterface-xhl5HR0c.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Wd5IxHUp.js → EventTypeAppCardInterface-y79vOxtJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-lBKaAtVo.js → EventTypeAppCardInterface-ygx1fj1H.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-O49EtYq9.js → EventTypeAppSettingsInterface-4A-o9k6K.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-_mhcQh98.js → EventTypeAppSettingsInterface-8Ydf4Kkr.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-gQwMLmra.js → EventTypeAppSettingsInterface-99ISmKkW.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-lUUXnR-g.js → EventTypeAppSettingsInterface-EtvOWW0T.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-UM5TZ94u.js → EventTypeAppSettingsInterface-LzkaglR0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-kSolFl0q.js → EventTypeAppSettingsInterface-Ocx3MqcJ.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-WtvV4-VQ.js → EventTypeAppSettingsInterface-VXarBLQW.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-NcU2fhCq.js → EventTypeAppSettingsInterface-_L8Wkfpq.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-wQb-fMuk.js → EventTypeAppSettingsInterface-iF25p2gL.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-JPQ1yyiJ.js → EventTypeAppSettingsInterface-k25b3S_w.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-A9lNB6of.js → EventTypeAppSettingsInterface-mxDLmxhf.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-jYxTenwf.js → EventTypeAppSettingsInterface-oyqECCFB.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-NwadKkE9.js → EventTypeAppSettingsInterface-qExeDjlG.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-je_rg4FH.js → EventTypeAppSettingsInterface-xRSZJnRg.js} +1 -1
- package/dist/{InstallAppButton-IvfhWvux.js → InstallAppButton-RTdjVmy9.js} +1 -1
- package/dist/{InstallAppButton-9HlFrOHB.js → InstallAppButton-ZoK0cieH.js} +1 -1
- package/dist/{InstallAppButton-o3I02uwv.js → InstallAppButton-jnDe70lC.js} +1 -1
- package/dist/{PhoneInput-GWE7KXiz.js → PhoneInput-KPIrpgU-.js} +7 -7
- package/dist/StripePaymentForm-R4ocdPBz.js +493 -0
- package/dist/cal-atoms.js +1 -1
- package/dist/{index-n0I0RFcR.js → index-A4odhI08.js} +1 -1
- package/dist/{index-c1AU6gV4.js → index-dVustuDq.js} +99416 -75974
- package/dist/index-jM5C1qEC.js +579 -0
- package/dist/{index-FKnC-Bdq.js → index-lr8mon7V.js} +1 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts +2 -0
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts +9 -0
- package/dist/packages/features/bookings/Booker/components/ScrollableWithGradients.d.ts.map +1 -0
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +21 -3
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +12 -3
- package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts +4 -3
- package/dist/packages/features/bookings/lib/client/decoyBookingStore.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts +6 -0
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +73 -2
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +4 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +6 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts +2 -2
- package/dist/packages/features/bookings/lib/getLuckyUser.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +9 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +6 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts +6 -2
- package/dist/packages/features/bookings/lib/host-filtering/findQualifiedHostsWithDelegationCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +2 -0
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts +4 -0
- package/dist/packages/features/bookings/lib/reschedule/determineReschedulePreventionRedirect.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/reschedule/isWithinMinimumRescheduleNotice.d.ts +2 -0
- package/dist/packages/features/bookings/lib/reschedule/isWithinMinimumRescheduleNotice.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/types/actor.d.ts +15 -0
- package/dist/packages/features/bookings/lib/types/actor.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +5 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/index.d.ts +1 -0
- package/dist/packages/features/data-table/hooks/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts +6 -0
- package/dist/packages/features/data-table/hooks/useDisplayedFilterCount.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/parsers.d.ts +18 -18
- package/dist/packages/features/data-table/lib/serializers.d.ts +12 -12
- package/dist/packages/features/data-table/lib/types.d.ts +36 -36
- package/dist/packages/features/data-table/repositories/filterSegment.type.d.ts +96 -96
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +3 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/constants.d.ts +1 -0
- package/dist/packages/features/ee/billing/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/di/modules/StripeClient.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/api/webhook.d.ts +2 -1
- package/dist/packages/features/ee/payments/api/webhook.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +9 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts +4 -0
- package/dist/packages/features/ee/workflows/repositories/WorkflowRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts +18 -0
- package/dist/packages/features/eventtypes/components/tabs/advanced/DisableReschedulingController.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +2 -0
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts +8 -0
- package/dist/packages/features/eventtypes/hooks/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +15 -0
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +5 -0
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +5 -0
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +15 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +1 -0
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +21 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +9 -0
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/__tests__/EventTypeRepository.test.d.ts +2 -0
- package/dist/packages/features/eventtypes/repositories/__tests__/EventTypeRepository.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +50 -3
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/slots.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +11 -3
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts +2 -2
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts +2 -0
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.timezone.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +58 -5
- package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/repositories/ScheduleRepository.test.d.ts +2 -0
- package/dist/packages/features/schedules/repositories/ScheduleRepository.test.d.ts.map +1 -0
- package/dist/packages/features/schedules/services/ScheduleService.d.ts.map +1 -1
- package/dist/packages/features/shell/DynamicModals.d.ts.map +1 -1
- package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts +2 -0
- package/dist/packages/features/shell/components/GatedFeaturesModal.d.ts.map +1 -0
- package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts +0 -4
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
- package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts +12 -0
- package/dist/packages/features/shell/stores/gatedFeaturesStore.d.ts.map +1 -0
- package/dist/packages/kysely/types.d.ts +6 -0
- package/dist/packages/kysely/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-view/EventTypeCalendarViewComponent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +4 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +2 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +2 -0
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +2 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +9 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +2 -2
- package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +1 -0
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +1 -0
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +1 -0
- package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/EventTypeScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OutOfOfficeEntryScalarFieldEnumSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/OutOfOfficeEntryScalarFieldEnumSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +22 -0
- package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts +3 -0
- package/dist/packages/prisma/zod/modelSchema/OutOfOfficeEntrySchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +36 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +1 -0
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +24 -3
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +10 -2
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-LmZ5_dpZ.js → useIsAppEnabled-OQG85VSh.js} +1 -1
- package/package.json +1 -1
- package/dist/EventTypeAppCardInterface-i6nf7Wge.js +0 -48
- package/dist/StripePaymentForm-QbBVD2ns.js +0 -540
- package/dist/cal-atoms.umd.cjs +0 -656
- package/dist/index-SoDSIlE9.js +0 -664
- package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts +0 -19
- package/dist/packages/features/bookings/Booker/components/hooks/usePrefetch.d.ts.map +0 -1
package/dist/index-SoDSIlE9.js
DELETED
|
@@ -1,664 +0,0 @@
|
|
|
1
|
-
import { jsxs as m, jsx as o, Fragment as g } from "react/jsx-runtime";
|
|
2
|
-
import { aw as P, ax as S, ay as N, az as R, aA as F, aB as I, aC as G, au as M, aq as V, J as h, B as K, aD as q, q as z, aE as A, ar as L, aF as Q, aG as D, an as W } from "./index-c1AU6gV4.js";
|
|
3
|
-
import { memo as Z, useState as H } from "react";
|
|
4
|
-
function Y(e, r) {
|
|
5
|
-
var a = -1, n = e.length;
|
|
6
|
-
for (r || (r = Array(n)); ++a < n; )
|
|
7
|
-
r[a] = e[a];
|
|
8
|
-
return r;
|
|
9
|
-
}
|
|
10
|
-
var J = Y, X = Math.floor, B = Math.random;
|
|
11
|
-
function ee(e, r) {
|
|
12
|
-
return e + X(B() * (r - e + 1));
|
|
13
|
-
}
|
|
14
|
-
var te = ee, re = te;
|
|
15
|
-
function ae(e, r) {
|
|
16
|
-
var a = -1, n = e.length, s = n - 1;
|
|
17
|
-
for (r = r === void 0 ? n : r; ++a < r; ) {
|
|
18
|
-
var t = re(a, s), i = e[t];
|
|
19
|
-
e[t] = e[a], e[a] = i;
|
|
20
|
-
}
|
|
21
|
-
return e.length = r, e;
|
|
22
|
-
}
|
|
23
|
-
var U = ae, ie = J, se = U;
|
|
24
|
-
function oe(e) {
|
|
25
|
-
return se(ie(e));
|
|
26
|
-
}
|
|
27
|
-
var ne = oe, le = P;
|
|
28
|
-
function ce(e, r) {
|
|
29
|
-
return le(r, function(a) {
|
|
30
|
-
return e[a];
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
var de = ce;
|
|
34
|
-
function ue(e, r) {
|
|
35
|
-
for (var a = -1, n = Array(e); ++a < e; )
|
|
36
|
-
n[a] = r(a);
|
|
37
|
-
return n;
|
|
38
|
-
}
|
|
39
|
-
var me = ue, pe = S, he = N, fe = "[object Arguments]";
|
|
40
|
-
function be(e) {
|
|
41
|
-
return he(e) && pe(e) == fe;
|
|
42
|
-
}
|
|
43
|
-
var ge = be, C = ge, ve = N, O = Object.prototype, ye = O.hasOwnProperty, xe = O.propertyIsEnumerable, we = C(/* @__PURE__ */ function() {
|
|
44
|
-
return arguments;
|
|
45
|
-
}()) ? C : function(e) {
|
|
46
|
-
return ve(e) && ye.call(e, "callee") && !xe.call(e, "callee");
|
|
47
|
-
}, ke = we, w = { exports: {} };
|
|
48
|
-
function Te() {
|
|
49
|
-
return !1;
|
|
50
|
-
}
|
|
51
|
-
var je = Te;
|
|
52
|
-
w.exports;
|
|
53
|
-
(function(e, r) {
|
|
54
|
-
var a = R, n = je, s = r && !r.nodeType && r, t = s && !0 && e && !e.nodeType && e, i = t && t.exports === s, c = i ? a.Buffer : void 0, d = c ? c.isBuffer : void 0, u = d || n;
|
|
55
|
-
e.exports = u;
|
|
56
|
-
})(w, w.exports);
|
|
57
|
-
var Ae = w.exports, Le = 9007199254740991, Ne = /^(?:0|[1-9]\d*)$/;
|
|
58
|
-
function Ce(e, r) {
|
|
59
|
-
var a = typeof e;
|
|
60
|
-
return r = r ?? Le, !!r && (a == "number" || a != "symbol" && Ne.test(e)) && e > -1 && e % 1 == 0 && e < r;
|
|
61
|
-
}
|
|
62
|
-
var _e = Ce, $e = 9007199254740991;
|
|
63
|
-
function Se(e) {
|
|
64
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= $e;
|
|
65
|
-
}
|
|
66
|
-
var E = Se, Ie = S, Ue = E, Oe = N, Ee = "[object Arguments]", Pe = "[object Array]", Re = "[object Boolean]", Fe = "[object Date]", Ge = "[object Error]", Me = "[object Function]", Ve = "[object Map]", Ke = "[object Number]", qe = "[object Object]", ze = "[object RegExp]", Qe = "[object Set]", De = "[object String]", We = "[object WeakMap]", Ze = "[object ArrayBuffer]", He = "[object DataView]", Ye = "[object Float32Array]", Je = "[object Float64Array]", Xe = "[object Int8Array]", Be = "[object Int16Array]", et = "[object Int32Array]", tt = "[object Uint8Array]", rt = "[object Uint8ClampedArray]", at = "[object Uint16Array]", it = "[object Uint32Array]", l = {};
|
|
67
|
-
l[Ye] = l[Je] = l[Xe] = l[Be] = l[et] = l[tt] = l[rt] = l[at] = l[it] = !0;
|
|
68
|
-
l[Ee] = l[Pe] = l[Ze] = l[Re] = l[He] = l[Fe] = l[Ge] = l[Me] = l[Ve] = l[Ke] = l[qe] = l[ze] = l[Qe] = l[De] = l[We] = !1;
|
|
69
|
-
function st(e) {
|
|
70
|
-
return Oe(e) && Ue(e.length) && !!l[Ie(e)];
|
|
71
|
-
}
|
|
72
|
-
var ot = st;
|
|
73
|
-
function nt(e) {
|
|
74
|
-
return function(r) {
|
|
75
|
-
return e(r);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
var lt = nt, k = { exports: {} };
|
|
79
|
-
k.exports;
|
|
80
|
-
(function(e, r) {
|
|
81
|
-
var a = F, n = r && !r.nodeType && r, s = n && !0 && e && !e.nodeType && e, t = s && s.exports === n, i = t && a.process, c = function() {
|
|
82
|
-
try {
|
|
83
|
-
var d = s && s.require && s.require("util").types;
|
|
84
|
-
return d || i && i.binding && i.binding("util");
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}();
|
|
88
|
-
e.exports = c;
|
|
89
|
-
})(k, k.exports);
|
|
90
|
-
var ct = k.exports, dt = ot, ut = lt, _ = ct, $ = _ && _.isTypedArray, mt = $ ? ut($) : dt, pt = mt, ht = me, ft = ke, bt = I, gt = Ae, vt = _e, yt = pt, xt = Object.prototype, wt = xt.hasOwnProperty;
|
|
91
|
-
function kt(e, r) {
|
|
92
|
-
var a = bt(e), n = !a && ft(e), s = !a && !n && gt(e), t = !a && !n && !s && yt(e), i = a || n || s || t, c = i ? ht(e.length, String) : [], d = c.length;
|
|
93
|
-
for (var u in e)
|
|
94
|
-
(r || wt.call(e, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
95
|
-
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
96
|
-
s && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
97
|
-
t && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
98
|
-
vt(u, d))) && c.push(u);
|
|
99
|
-
return c;
|
|
100
|
-
}
|
|
101
|
-
var Tt = kt, jt = Object.prototype;
|
|
102
|
-
function At(e) {
|
|
103
|
-
var r = e && e.constructor, a = typeof r == "function" && r.prototype || jt;
|
|
104
|
-
return e === a;
|
|
105
|
-
}
|
|
106
|
-
var Lt = At;
|
|
107
|
-
function Nt(e, r) {
|
|
108
|
-
return function(a) {
|
|
109
|
-
return e(r(a));
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
var Ct = Nt, _t = Ct, $t = _t(Object.keys, Object), St = $t, It = Lt, Ut = St, Ot = Object.prototype, Et = Ot.hasOwnProperty;
|
|
113
|
-
function Pt(e) {
|
|
114
|
-
if (!It(e))
|
|
115
|
-
return Ut(e);
|
|
116
|
-
var r = [];
|
|
117
|
-
for (var a in Object(e))
|
|
118
|
-
Et.call(e, a) && a != "constructor" && r.push(a);
|
|
119
|
-
return r;
|
|
120
|
-
}
|
|
121
|
-
var Rt = Pt, Ft = G, Gt = E;
|
|
122
|
-
function Mt(e) {
|
|
123
|
-
return e != null && Gt(e.length) && !Ft(e);
|
|
124
|
-
}
|
|
125
|
-
var Vt = Mt, Kt = Tt, qt = Rt, zt = Vt;
|
|
126
|
-
function Qt(e) {
|
|
127
|
-
return zt(e) ? Kt(e) : qt(e);
|
|
128
|
-
}
|
|
129
|
-
var Dt = Qt, Wt = de, Zt = Dt;
|
|
130
|
-
function Ht(e) {
|
|
131
|
-
return e == null ? [] : Wt(e, Zt(e));
|
|
132
|
-
}
|
|
133
|
-
var Yt = Ht, Jt = U, Xt = Yt;
|
|
134
|
-
function Bt(e) {
|
|
135
|
-
return Jt(Xt(e));
|
|
136
|
-
}
|
|
137
|
-
var er = Bt, tr = ne, rr = er, ar = I;
|
|
138
|
-
function ir(e) {
|
|
139
|
-
var r = ar(e) ? tr : rr;
|
|
140
|
-
return r(e);
|
|
141
|
-
}
|
|
142
|
-
var sr = ir;
|
|
143
|
-
const or = /* @__PURE__ */ M(sr), y = q("", {
|
|
144
|
-
// Variants won't have any style by default. Style will only be applied if the variants are combined.
|
|
145
|
-
// So, style is defined in compoundVariants.
|
|
146
|
-
variants: {
|
|
147
|
-
variant: {
|
|
148
|
-
basic: "",
|
|
149
|
-
ProfileCard: "",
|
|
150
|
-
SidebarCard: "",
|
|
151
|
-
NewLaunchSidebarCard: ""
|
|
152
|
-
},
|
|
153
|
-
structure: {
|
|
154
|
-
image: "",
|
|
155
|
-
card: "",
|
|
156
|
-
title: "",
|
|
157
|
-
description: ""
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
compoundVariants: [
|
|
161
|
-
// Style for Basic Variants types
|
|
162
|
-
{
|
|
163
|
-
variant: "basic",
|
|
164
|
-
structure: "image",
|
|
165
|
-
className: "w-10 h-auto"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
variant: "basic",
|
|
169
|
-
structure: "card",
|
|
170
|
-
className: "p-5 bg-default"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
variant: "basic",
|
|
174
|
-
structure: "title",
|
|
175
|
-
className: "text-base mt-4"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
variant: "basic",
|
|
179
|
-
structure: "description",
|
|
180
|
-
className: "text-sm leading-[18px] text-subtle font-normal"
|
|
181
|
-
},
|
|
182
|
-
// Style for ProfileCard Variant Types
|
|
183
|
-
{
|
|
184
|
-
variant: "ProfileCard",
|
|
185
|
-
structure: "image",
|
|
186
|
-
className: "w-9 h-auto rounded-full mb-4s"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
variant: "ProfileCard",
|
|
190
|
-
structure: "card",
|
|
191
|
-
className: "w-80 p-4 hover:bg-subtle bg-default"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
variant: "ProfileCard",
|
|
195
|
-
structure: "title",
|
|
196
|
-
className: "text-base"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
variant: "ProfileCard",
|
|
200
|
-
structure: "description",
|
|
201
|
-
className: "text-sm leading-[18px] text-subtle font-normal"
|
|
202
|
-
},
|
|
203
|
-
// Style for SidebarCard Variant Types
|
|
204
|
-
{
|
|
205
|
-
variant: "SidebarCard",
|
|
206
|
-
structure: "image",
|
|
207
|
-
className: "w-9 h-auto rounded-full mb-4s"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
variant: "SidebarCard",
|
|
211
|
-
structure: "card",
|
|
212
|
-
className: "w-full p-3 border border-subtle bg-default"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
variant: "SidebarCard",
|
|
216
|
-
structure: "title",
|
|
217
|
-
className: "text-sm font-cal"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
variant: "SidebarCard",
|
|
221
|
-
structure: "description",
|
|
222
|
-
className: "text-xs text-default line-clamp-2"
|
|
223
|
-
},
|
|
224
|
-
// Style for NewLaunchSidebarCard Variant Types
|
|
225
|
-
{
|
|
226
|
-
variant: "NewLaunchSidebarCard",
|
|
227
|
-
structure: "image",
|
|
228
|
-
className: "w-9 h-auto rounded-full mb-4s"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
variant: "NewLaunchSidebarCard",
|
|
232
|
-
structure: "card",
|
|
233
|
-
className: "w-full p-3 border border-subtle bg-launch-dark text-white"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
variant: "NewLaunchSidebarCard",
|
|
237
|
-
structure: "title",
|
|
238
|
-
className: "text-sm font-cal text-white"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
variant: "NewLaunchSidebarCard",
|
|
242
|
-
structure: "description",
|
|
243
|
-
className: "text-xs text-white"
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
});
|
|
247
|
-
function nr({
|
|
248
|
-
image: e,
|
|
249
|
-
title: r,
|
|
250
|
-
icon: a,
|
|
251
|
-
description: n,
|
|
252
|
-
variant: s,
|
|
253
|
-
actionButton: t,
|
|
254
|
-
containerProps: i,
|
|
255
|
-
imageProps: c,
|
|
256
|
-
mediaLink: d,
|
|
257
|
-
thumbnailUrl: u,
|
|
258
|
-
learnMore: p,
|
|
259
|
-
coverPhoto: f,
|
|
260
|
-
buttonClassName: b,
|
|
261
|
-
mediaLinkOnClick: T
|
|
262
|
-
}) {
|
|
263
|
-
const j = p && p.href.startsWith("https") ? "a" : V;
|
|
264
|
-
return /* @__PURE__ */ m(
|
|
265
|
-
"div",
|
|
266
|
-
{
|
|
267
|
-
className: h(
|
|
268
|
-
i == null ? void 0 : i.className,
|
|
269
|
-
"border-subtle text-default bg-default flex flex-col justify-between rounded-md border",
|
|
270
|
-
y({ variant: s, structure: "card" })
|
|
271
|
-
),
|
|
272
|
-
"data-testid": "card-container",
|
|
273
|
-
...i,
|
|
274
|
-
children: [
|
|
275
|
-
/* @__PURE__ */ m("div", { children: [
|
|
276
|
-
a && a,
|
|
277
|
-
e && /* @__PURE__ */ o(
|
|
278
|
-
"img",
|
|
279
|
-
{
|
|
280
|
-
src: e,
|
|
281
|
-
alt: c == null ? void 0 : c.alt,
|
|
282
|
-
className: h(
|
|
283
|
-
c == null ? void 0 : c.className,
|
|
284
|
-
y({ variant: s, structure: "image" })
|
|
285
|
-
),
|
|
286
|
-
...c
|
|
287
|
-
}
|
|
288
|
-
),
|
|
289
|
-
/* @__PURE__ */ o(
|
|
290
|
-
"h5",
|
|
291
|
-
{
|
|
292
|
-
title: r,
|
|
293
|
-
className: h(
|
|
294
|
-
"text-emphasis line-clamp-1 font-bold leading-5",
|
|
295
|
-
y({ variant: s, structure: "title" })
|
|
296
|
-
),
|
|
297
|
-
children: r
|
|
298
|
-
}
|
|
299
|
-
),
|
|
300
|
-
n && /* @__PURE__ */ o(
|
|
301
|
-
"p",
|
|
302
|
-
{
|
|
303
|
-
title: n.toString(),
|
|
304
|
-
className: h(y({ variant: s, structure: "description" }), "pt-1"),
|
|
305
|
-
children: n
|
|
306
|
-
}
|
|
307
|
-
)
|
|
308
|
-
] }),
|
|
309
|
-
s === "SidebarCard" && d && /* @__PURE__ */ m(
|
|
310
|
-
"a",
|
|
311
|
-
{
|
|
312
|
-
onClick: T,
|
|
313
|
-
target: "_blank",
|
|
314
|
-
rel: "noreferrer noopener",
|
|
315
|
-
href: d,
|
|
316
|
-
"data-testid": t == null ? void 0 : t["data-testid"],
|
|
317
|
-
className: "group relative my-3 flex aspect-video items-center overflow-hidden rounded",
|
|
318
|
-
children: [
|
|
319
|
-
/* @__PURE__ */ o("div", { className: "absolute inset-0 bg-black/50 transition group-hover:bg-black/40" }),
|
|
320
|
-
/* @__PURE__ */ m(
|
|
321
|
-
"svg",
|
|
322
|
-
{
|
|
323
|
-
className: "text-inverted absolute left-1/2 top-1/2 h-8 w-8 -translate-x-1/2 -translate-y-1/2 transform rounded-full shadow-lg transition-all hover:-mt-px",
|
|
324
|
-
viewBox: "0 0 32 32",
|
|
325
|
-
fill: "none",
|
|
326
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
327
|
-
children: [
|
|
328
|
-
/* @__PURE__ */ o(
|
|
329
|
-
"path",
|
|
330
|
-
{
|
|
331
|
-
d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",
|
|
332
|
-
fill: "white"
|
|
333
|
-
}
|
|
334
|
-
),
|
|
335
|
-
/* @__PURE__ */ o(
|
|
336
|
-
"path",
|
|
337
|
-
{
|
|
338
|
-
d: "M12.1667 8.5L23.8334 16L12.1667 23.5V8.5Z",
|
|
339
|
-
fill: "#111827",
|
|
340
|
-
stroke: "#111827",
|
|
341
|
-
strokeWidth: "1.5",
|
|
342
|
-
strokeLinecap: "round",
|
|
343
|
-
strokeLinejoin: "round"
|
|
344
|
-
}
|
|
345
|
-
)
|
|
346
|
-
]
|
|
347
|
-
}
|
|
348
|
-
),
|
|
349
|
-
/* @__PURE__ */ o("img", { alt: "play feature video", src: u })
|
|
350
|
-
]
|
|
351
|
-
}
|
|
352
|
-
),
|
|
353
|
-
s === "NewLaunchSidebarCard" && f && /* @__PURE__ */ o("img", { alt: "cover", className: "mt-3 w-full", src: f }),
|
|
354
|
-
s === "basic" && t && /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
355
|
-
K,
|
|
356
|
-
{
|
|
357
|
-
color: "secondary",
|
|
358
|
-
href: t == null ? void 0 : t.href,
|
|
359
|
-
className: "mt-10",
|
|
360
|
-
EndIcon: "arrow-right",
|
|
361
|
-
"data-testid": t["data-testid"],
|
|
362
|
-
children: t == null ? void 0 : t.child
|
|
363
|
-
}
|
|
364
|
-
) }),
|
|
365
|
-
(s === "SidebarCard" || s === "NewLaunchSidebarCard") && /* @__PURE__ */ m("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
366
|
-
p && /* @__PURE__ */ o(
|
|
367
|
-
j,
|
|
368
|
-
{
|
|
369
|
-
href: p.href,
|
|
370
|
-
target: "_blank",
|
|
371
|
-
rel: "noreferrer",
|
|
372
|
-
onClick: p.onClick,
|
|
373
|
-
className: h("text-default text-xs font-medium", b),
|
|
374
|
-
children: p.text
|
|
375
|
-
}
|
|
376
|
-
),
|
|
377
|
-
(t == null ? void 0 : t.child) && /* @__PURE__ */ o(
|
|
378
|
-
"button",
|
|
379
|
-
{
|
|
380
|
-
className: h(
|
|
381
|
-
"text-default hover:text-emphasis p-0 text-xs font-normal",
|
|
382
|
-
b
|
|
383
|
-
),
|
|
384
|
-
color: "minimal",
|
|
385
|
-
"data-testid": t == null ? void 0 : t["data-testid"],
|
|
386
|
-
onClick: t == null ? void 0 : t.onClick,
|
|
387
|
-
children: t == null ? void 0 : t.child
|
|
388
|
-
}
|
|
389
|
-
)
|
|
390
|
-
] })
|
|
391
|
-
]
|
|
392
|
-
}
|
|
393
|
-
);
|
|
394
|
-
}
|
|
395
|
-
const lr = [
|
|
396
|
-
{
|
|
397
|
-
id: 17,
|
|
398
|
-
thumbnailUrl: "https://img.youtube.com/vi/fMHW6jYPIb8/0.jpg",
|
|
399
|
-
mediaLink: "https://go.cal.com/embed-video",
|
|
400
|
-
title: "Embed",
|
|
401
|
-
description: "Embed your booking page on your website",
|
|
402
|
-
href: "https://go.cal.com/embed-video"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
id: 16,
|
|
406
|
-
thumbnailUrl: "https://img.youtube.com/vi/xopxmk2H4Ng/0.jpg",
|
|
407
|
-
mediaLink: "https://go.cal.com/paid-booking",
|
|
408
|
-
title: "Paid Bookings",
|
|
409
|
-
description: "Charge for your time with Cal.com's paid bookings",
|
|
410
|
-
href: "https://go.cal.com/paid-booking"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
id: 15,
|
|
414
|
-
thumbnailUrl: "https://img.youtube.com/vi/ZjSD1yPgLLQ/0.jpg",
|
|
415
|
-
mediaLink: "https://go.cal.com/instant-meetings-video",
|
|
416
|
-
title: "Instant Meetings",
|
|
417
|
-
description: "Book meetings instantly with a link",
|
|
418
|
-
href: "https://go.cal.com/instant-meetings-video"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
id: 14,
|
|
422
|
-
thumbnailUrl: "https://img.youtube.com/vi/IZ4-nUiIpvY/0.jpg",
|
|
423
|
-
mediaLink: "https://go.cal.com/custom-attributes",
|
|
424
|
-
title: "Custom Attributes",
|
|
425
|
-
description: "Define roles and attributes for your teams",
|
|
426
|
-
href: "https://go.cal.com/custom-attributes"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
id: 13,
|
|
430
|
-
thumbnailUrl: "https://img.youtube.com/vi/TTAASLLPKk0/0.jpg",
|
|
431
|
-
mediaLink: "https://go.cal.com/ooo-video",
|
|
432
|
-
title: "ooo.new",
|
|
433
|
-
description: "Easily go out-of-office",
|
|
434
|
-
href: "https://go.cal.com/ooo-video"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
id: 12,
|
|
438
|
-
thumbnailUrl: "https://cal.com/og-image-cal-ai.jpg",
|
|
439
|
-
mediaLink: "https://go.cal.com/cal-ai",
|
|
440
|
-
title: "Cal.ai",
|
|
441
|
-
description: "Your personal AI scheduling assistant",
|
|
442
|
-
href: "https://go.cal.com/cal-ai"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
id: 11,
|
|
446
|
-
thumbnailUrl: "https://img.youtube.com/vi/KTg_qzA9NEc/0.jpg",
|
|
447
|
-
mediaLink: "https://go.cal.com/insights",
|
|
448
|
-
title: "Insights",
|
|
449
|
-
description: "Get a better understanding of your business",
|
|
450
|
-
href: "https://go.cal.com/insights"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
id: 10,
|
|
454
|
-
thumbnailUrl: "https://img.youtube.com/vi/jvaBafzVUQc/0.jpg",
|
|
455
|
-
mediaLink: "https://go.cal.com/video",
|
|
456
|
-
title: "Cal Video",
|
|
457
|
-
description: "Free video conferencing with recording",
|
|
458
|
-
href: "https://go.cal.com/video"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
id: 9,
|
|
462
|
-
thumbnailUrl: "https://img.youtube.com/vi/93iOmzHieCU/0.jpg",
|
|
463
|
-
mediaLink: "https://go.cal.com/round-robin",
|
|
464
|
-
title: "Round-Robin",
|
|
465
|
-
description: "Create advanced group meetings with round-robin",
|
|
466
|
-
href: "https://go.cal.com/round-robin"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
id: 8,
|
|
470
|
-
thumbnailUrl: "https://img.youtube.com/vi/piKlAiibAFo/0.jpg",
|
|
471
|
-
mediaLink: "https://go.cal.com/workflows",
|
|
472
|
-
title: "Automate Workflows",
|
|
473
|
-
description: "Make time work for you and automate tasks",
|
|
474
|
-
href: "https://go.cal.com/workflows"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
id: 7,
|
|
478
|
-
thumbnailUrl: "https://img.youtube.com/vi/UVXgo12cY4g/0.jpg",
|
|
479
|
-
mediaLink: "https://go.cal.com/routing-forms",
|
|
480
|
-
title: "Routing Forms",
|
|
481
|
-
description: "Ask questions and route to the correct person",
|
|
482
|
-
href: "https://go.cal.com/routing-forms"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
id: 6,
|
|
486
|
-
thumbnailUrl: "https://img.youtube.com/vi/yGiZo1Ry5-8/0.jpg",
|
|
487
|
-
mediaLink: "https://go.cal.com/recurring-video",
|
|
488
|
-
title: "Recurring Bookings",
|
|
489
|
-
description: "Learn how to create a recurring schedule",
|
|
490
|
-
href: "https://go.cal.com/recurring-video"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
id: 5,
|
|
494
|
-
thumbnailUrl: "https://img.youtube.com/vi/0v_nQtpxC_4/0.jpg",
|
|
495
|
-
mediaLink: "https://go.cal.com/payments-video",
|
|
496
|
-
title: "Accept Payments",
|
|
497
|
-
description: "Charge for your time with Cal.com's Stripe App",
|
|
498
|
-
href: "https://app.cal.com/apps/stripe"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
id: 4,
|
|
502
|
-
thumbnailUrl: "https://img.youtube.com/vi/zGr_s-fG84k/0.jpg",
|
|
503
|
-
mediaLink: "https://go.cal.com/confirmation-video",
|
|
504
|
-
title: "Requires Confirmation",
|
|
505
|
-
description: "Learn how to be in charge of your bookings",
|
|
506
|
-
href: "https://cal.com/resources/feature/opt-in"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
id: 3,
|
|
510
|
-
thumbnailUrl: "https://img.youtube.com/vi/-L8MCiT6uhQ/0.jpg",
|
|
511
|
-
mediaLink: "https://youtu.be/-L8MCiT6uhQ?si=DRJzRNhN85hqAwBl",
|
|
512
|
-
title: "Routing Forms, Workflows",
|
|
513
|
-
description: "Ask screening questions of potential bookers to connect them with the right person",
|
|
514
|
-
href: "https://youtu.be/-L8MCiT6uhQ?si=DRJzRNhN85hqAwBl"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
id: 2,
|
|
518
|
-
thumbnailUrl: "https://img.youtube.com/vi/EAc46SPL6iA/0.jpg",
|
|
519
|
-
mediaLink: "https://go.cal.com/teams-video",
|
|
520
|
-
title: "How to set up Teams",
|
|
521
|
-
description: "Learn how to use round-robin and collective events.",
|
|
522
|
-
href: "https://cal.com/docs/enterprise-features/teams"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
id: 1,
|
|
526
|
-
thumbnailUrl: "https://img.youtube.com/vi/VZ5PfQzzxBw/0.jpg",
|
|
527
|
-
mediaLink: "https://youtu.be/VZ5PfQzzxBw?si=oB0LPSxG8dWIwg5a",
|
|
528
|
-
title: "Dynamic booking links",
|
|
529
|
-
description: "Booking link that allows people to quickly schedule meetings.",
|
|
530
|
-
href: "https://youtu.be/VZ5PfQzzxBw?si=oB0LPSxG8dWIwg5a"
|
|
531
|
-
}
|
|
532
|
-
], x = [...or(lr).slice(0).reverse()];
|
|
533
|
-
function cr() {
|
|
534
|
-
const { t: e } = z(), [r, a] = H(() => {
|
|
535
|
-
if (typeof window > "u")
|
|
536
|
-
return x;
|
|
537
|
-
try {
|
|
538
|
-
const t = A.getItem("removedTipsIds");
|
|
539
|
-
if (t !== null) {
|
|
540
|
-
const i = t.split(",").map((d) => parseInt(d, 10));
|
|
541
|
-
return x.filter((d) => i.indexOf(d.id) === -1);
|
|
542
|
-
} else
|
|
543
|
-
return x;
|
|
544
|
-
} catch {
|
|
545
|
-
return x;
|
|
546
|
-
}
|
|
547
|
-
}), n = (t) => {
|
|
548
|
-
a((i) => {
|
|
549
|
-
const c = A.getItem("removedTipsIds") || "", d = i.findIndex((u) => u.id === t);
|
|
550
|
-
return d === -1 ? [...i] : (A.setItem(
|
|
551
|
-
"removedTipsIds",
|
|
552
|
-
`${i[d].id.toString()}${c.length > 0 ? `,${c}` : ""}`
|
|
553
|
-
), i.splice(d, 1), [...i]);
|
|
554
|
-
});
|
|
555
|
-
}, s = r.slice(0).reverse();
|
|
556
|
-
return /* @__PURE__ */ o(g, { children: /* @__PURE__ */ o(
|
|
557
|
-
"div",
|
|
558
|
-
{
|
|
559
|
-
className: "hidden pb-4 pt-8 lg:grid",
|
|
560
|
-
style: {
|
|
561
|
-
gridTemplateColumns: "1fr"
|
|
562
|
-
},
|
|
563
|
-
children: r.map((t) => {
|
|
564
|
-
const i = s.indexOf(t) === 0;
|
|
565
|
-
return /* @__PURE__ */ o(
|
|
566
|
-
"div",
|
|
567
|
-
{
|
|
568
|
-
className: "relative",
|
|
569
|
-
style: {
|
|
570
|
-
gridRowStart: 1,
|
|
571
|
-
gridColumnStart: 1
|
|
572
|
-
},
|
|
573
|
-
children: /* @__PURE__ */ o(
|
|
574
|
-
"div",
|
|
575
|
-
{
|
|
576
|
-
className: "relative",
|
|
577
|
-
style: {
|
|
578
|
-
transform: `scale(${1 - s.indexOf(t) / 20})`,
|
|
579
|
-
top: -s.indexOf(t) * 10,
|
|
580
|
-
opacity: `${1 - s.indexOf(t) / 7}`
|
|
581
|
-
},
|
|
582
|
-
children: /* @__PURE__ */ o(
|
|
583
|
-
nr,
|
|
584
|
-
{
|
|
585
|
-
variant: t.variant ?? "SidebarCard",
|
|
586
|
-
thumbnailUrl: t.thumbnailUrl,
|
|
587
|
-
coverPhoto: t.coverPhoto,
|
|
588
|
-
mediaLink: i ? t.mediaLink : void 0,
|
|
589
|
-
mediaLinkOnClick: i ? () => {
|
|
590
|
-
L.capture("tip_video_clicked", t);
|
|
591
|
-
} : void 0,
|
|
592
|
-
title: e(t.title),
|
|
593
|
-
description: e(t.description),
|
|
594
|
-
learnMore: i ? {
|
|
595
|
-
href: t.href,
|
|
596
|
-
text: e("learn_more"),
|
|
597
|
-
onClick: () => {
|
|
598
|
-
L.capture("tip_learn_more_clicked", t);
|
|
599
|
-
}
|
|
600
|
-
} : void 0,
|
|
601
|
-
actionButton: i ? {
|
|
602
|
-
onClick: () => {
|
|
603
|
-
L.capture("tip_dismiss_clicked", t), n(t.id);
|
|
604
|
-
},
|
|
605
|
-
child: e("dismiss")
|
|
606
|
-
} : void 0,
|
|
607
|
-
containerProps: {
|
|
608
|
-
tabIndex: i ? void 0 : -1,
|
|
609
|
-
"aria-hidden": i ? void 0 : "true"
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
)
|
|
613
|
-
}
|
|
614
|
-
)
|
|
615
|
-
},
|
|
616
|
-
t.id
|
|
617
|
-
);
|
|
618
|
-
})
|
|
619
|
-
}
|
|
620
|
-
) });
|
|
621
|
-
}
|
|
622
|
-
const pr = Z(cr);
|
|
623
|
-
function hr({
|
|
624
|
-
title: e,
|
|
625
|
-
description: r,
|
|
626
|
-
background: a,
|
|
627
|
-
features: n,
|
|
628
|
-
buttons: s,
|
|
629
|
-
isParentLoading: t,
|
|
630
|
-
children: i,
|
|
631
|
-
plan: c
|
|
632
|
-
}) {
|
|
633
|
-
const { resolvedTheme: d } = Q(), { isPending: u, hasTeamPlan: p } = D(), { data: f } = W.viewer.teams.getUpgradeable.useQuery(), b = `${a}${d === "dark" ? "-dark" : ""}.jpg`, T = !1, j = !!(f != null && f[0]);
|
|
634
|
-
return c === "team" && (p || j) ? /* @__PURE__ */ o(g, { children: i }) : c === "enterprise" && T ? /* @__PURE__ */ o(g, { children: i }) : u ? /* @__PURE__ */ o(g, { children: t }) : /* @__PURE__ */ m(g, { children: [
|
|
635
|
-
/* @__PURE__ */ m("div", { className: "relative flex min-h-[295px] w-full items-center justify-between overflow-hidden rounded-lg pb-10", children: [
|
|
636
|
-
/* @__PURE__ */ m("picture", { className: "absolute min-h-[295px] w-full rounded-lg object-cover", children: [
|
|
637
|
-
/* @__PURE__ */ o("source", { srcSet: b, media: "(prefers-color-scheme: dark)" }),
|
|
638
|
-
/* @__PURE__ */ o(
|
|
639
|
-
"img",
|
|
640
|
-
{
|
|
641
|
-
className: "absolute min-h-[295px] w-full select-none rounded-lg object-cover object-left md:object-center",
|
|
642
|
-
src: b,
|
|
643
|
-
loading: "lazy",
|
|
644
|
-
alt: e
|
|
645
|
-
}
|
|
646
|
-
)
|
|
647
|
-
] }),
|
|
648
|
-
/* @__PURE__ */ m("div", { className: "relative my-4 px-8 pb-4 sm:px-14", children: [
|
|
649
|
-
/* @__PURE__ */ o("h1", { className: h("font-cal mt-4 text-3xl"), children: e }),
|
|
650
|
-
/* @__PURE__ */ o("p", { className: h("mb-8 mt-4 max-w-sm"), children: r }),
|
|
651
|
-
s
|
|
652
|
-
] })
|
|
653
|
-
] }),
|
|
654
|
-
/* @__PURE__ */ o("div", { className: "mt-4 grid-cols-3 md:grid md:gap-4", children: n.map((v) => /* @__PURE__ */ m("div", { className: "bg-cal-muted mb-4 min-h-[180px] w-full rounded-md p-8 md:mb-0", children: [
|
|
655
|
-
v.icon,
|
|
656
|
-
/* @__PURE__ */ o("h2", { className: "font-cal text-emphasis mt-4 text-lg", children: v.title }),
|
|
657
|
-
/* @__PURE__ */ o("p", { className: "text-default", children: v.description })
|
|
658
|
-
] }, v.title)) })
|
|
659
|
-
] });
|
|
660
|
-
}
|
|
661
|
-
export {
|
|
662
|
-
pr as Tips,
|
|
663
|
-
hr as UpgradeTip
|
|
664
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { BookerState } from '../../types';
|
|
2
|
-
interface UsePrefetchParams {
|
|
3
|
-
date: string;
|
|
4
|
-
month: string | null;
|
|
5
|
-
bookerLayout: {
|
|
6
|
-
layout: string;
|
|
7
|
-
extraDays: number;
|
|
8
|
-
columnViewExtraDays: {
|
|
9
|
-
current: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
bookerState: BookerState;
|
|
13
|
-
}
|
|
14
|
-
export declare const usePrefetch: ({ date, month, bookerLayout, bookerState }: UsePrefetchParams) => {
|
|
15
|
-
prefetchNextMonth: boolean;
|
|
16
|
-
monthCount: number | undefined;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=usePrefetch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetch.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/bookings/Booker/components/hooks/usePrefetch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAK1E,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,mBAAmB,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;KAC1C,CAAC;IACF,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,eAAO,MAAM,WAAW,GAAI,4CAA4C,iBAAiB;;;CA6BxF,CAAC"}
|