bookito-widget 0.43.1 → 1.0.0-beta.2
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 +191 -7
- package/dist/bookito-widget.css +3 -0
- package/dist/bookito-widget.iife.js +112 -0
- package/dist/bookito-widget.js +40173 -0
- package/dist/bookito-widget.umd.js +104 -1992
- package/dist/bookito-widget.window.js +104 -1992
- package/dist/src/app/i18n/index.d.ts +868 -0
- package/dist/src/app/i18n/locales/de.d.ts +86 -0
- package/dist/src/app/i18n/locales/en.d.ts +86 -0
- package/dist/src/app/i18n/locales/fr.d.ts +86 -0
- package/dist/src/app/i18n/locales/it.d.ts +86 -0
- package/dist/src/app/i18n/locales/pl.d.ts +86 -0
- package/dist/src/app/providers/BookitoWidgetRoot.vue.d.ts +8 -0
- package/dist/src/app/query/query-client.d.ts +2 -0
- package/dist/src/embed/global-api.d.ts +9 -0
- package/dist/src/embed/mount-registry.d.ts +10 -0
- package/dist/src/embed/mount.d.ts +12 -0
- package/dist/src/embed/open-modal.d.ts +11 -0
- package/dist/src/embed/shadow-dom.d.ts +5 -0
- package/dist/src/embed/vue-plugin.d.ts +14 -0
- package/dist/src/embed.d.ts +1 -0
- package/dist/src/features/booking-flow/api/bookito-booking.client.d.ts +2 -0
- package/dist/src/features/booking-flow/api/bookito-booking.dto.d.ts +25 -0
- package/dist/src/features/booking-flow/api/bookito-booking.mutations.d.ts +2 -0
- package/dist/src/features/booking-flow/components/AnimatedSuccessCheckmark.vue.d.ts +2 -0
- package/dist/src/features/booking-flow/components/BookingCheckbox.vue.d.ts +11 -0
- package/dist/src/features/booking-flow/components/BookingDetailsDateOfBirthInput.vue.d.ts +10 -0
- package/dist/src/features/booking-flow/components/BookingDetailsDialCodePicker.vue.d.ts +11 -0
- package/dist/src/features/booking-flow/components/BookingDetailsDialCodePickerContent.vue.d.ts +9 -0
- package/dist/src/features/booking-flow/components/BookingDetailsField.vue.d.ts +20 -0
- package/dist/src/features/booking-flow/components/BookingDetailsLanguageSelect.vue.d.ts +9 -0
- package/dist/src/features/booking-flow/components/BookingDetailsPhoneInput.vue.d.ts +12 -0
- package/dist/src/features/booking-flow/components/BookingDetailsSection.vue.d.ts +30 -0
- package/dist/src/features/booking-flow/components/BookingDetailsTextInput.vue.d.ts +13 -0
- package/dist/src/features/booking-flow/components/BookingExtras.vue.d.ts +15 -0
- package/dist/src/features/booking-flow/components/BookingFlowNextButton.vue.d.ts +10 -0
- package/dist/src/features/booking-flow/components/BookingFlowPanel.vue.d.ts +7 -0
- package/dist/src/features/booking-flow/components/BookingFlowStepper.vue.d.ts +13 -0
- package/dist/src/features/booking-flow/components/BookingFlowSuccess.vue.d.ts +5 -0
- package/dist/src/features/booking-flow/components/BookingGuestChips.vue.d.ts +11 -0
- package/dist/src/features/booking-flow/components/BookingGuestsStep.vue.d.ts +15 -0
- package/dist/src/features/booking-flow/components/BookingParticipantCounter.vue.d.ts +13 -0
- package/dist/src/features/booking-flow/components/BookingTimeSection.vue.d.ts +24 -0
- package/dist/src/features/booking-flow/components/booking-flow.props.d.ts +31 -0
- package/dist/src/features/booking-flow/composables/create-booking-flow-api.d.ts +70 -0
- package/dist/src/features/booking-flow/composables/useBookingFlow.d.ts +52 -0
- package/dist/src/features/booking-flow/composables/useBookingFlowActions.d.ts +13 -0
- package/dist/src/features/booking-flow/composables/useBookingFlowActions.types.d.ts +31 -0
- package/dist/src/features/booking-flow/composables/useBookingFlowFormSync.d.ts +12 -0
- package/dist/src/features/booking-flow/composables/useBookingFlowWaitlist.d.ts +17 -0
- package/dist/src/features/booking-flow/composables/useBookingGuestsStepLabels.d.ts +26 -0
- package/dist/src/features/booking-flow/composables/useBookingTimeSectionState.d.ts +19 -0
- package/dist/src/features/booking-flow/composables/useBookingTimeSlots.d.ts +18 -0
- package/dist/src/features/booking-flow/lib/booking-calendar-bounds.d.ts +9 -0
- package/dist/src/features/booking-flow/lib/booking-details-flow.helpers.d.ts +11 -0
- package/dist/src/features/booking-flow/lib/booking-details.helpers.d.ts +26 -0
- package/dist/src/features/booking-flow/lib/booking-external-participant.helpers.d.ts +10 -0
- package/dist/src/features/booking-flow/lib/booking-flow-stepper.helpers.d.ts +17 -0
- package/dist/src/features/booking-flow/lib/booking-flow.actions.d.ts +34 -0
- package/dist/src/features/booking-flow/lib/booking-flow.helpers.d.ts +32 -0
- package/dist/src/features/booking-flow/lib/booking-participants.helpers.d.ts +4 -0
- package/dist/src/features/booking-flow/lib/booking-payload-label.helpers.d.ts +14 -0
- package/dist/src/features/booking-flow/lib/booking-payload.helpers.d.ts +11 -0
- package/dist/src/features/booking-flow/lib/booking-step-completion.helpers.d.ts +2 -0
- package/dist/src/features/booking-flow/lib/booking-time-slot-payload.helpers.d.ts +8 -0
- package/dist/src/features/booking-flow/lib/filter-phone-dial-codes.d.ts +2 -0
- package/dist/src/features/booking-flow/lib/format-booking-time-slot-label.d.ts +13 -0
- package/dist/src/features/booking-flow/lib/phone-dial-code-countries.data.d.ts +2 -0
- package/dist/src/features/booking-flow/lib/phone-dial-codes.d.ts +6 -0
- package/dist/src/features/booking-flow/lib/reset-booking-auth.helpers.d.ts +1 -0
- package/dist/src/features/booking-flow/lib/reset-booking-confirm-step.helpers.d.ts +2 -0
- package/dist/src/features/booking-flow/lib/resolve-booking-total-price.d.ts +10 -0
- package/dist/src/features/booking-flow/lib/resolve-booking-waitlist.d.ts +19 -0
- package/dist/src/features/booking-flow/model/booking-display-step.types.d.ts +6 -0
- package/dist/src/features/booking-flow/model/booking-form-date.helpers.d.ts +10 -0
- package/dist/src/features/booking-flow/model/booking-form-navigation.helpers.d.ts +2 -0
- package/dist/src/features/booking-flow/model/booking-form.types.d.ts +27 -0
- package/dist/src/features/bookito-settings/api/bookito-settings.client.d.ts +2 -0
- package/dist/src/features/bookito-settings/api/bookito-settings.keys.d.ts +4 -0
- package/dist/src/features/bookito-settings/api/bookito-settings.queries.d.ts +2 -0
- package/dist/src/features/bookito-settings/model/bookito-settings.types.d.ts +27 -0
- package/dist/src/features/event-feed/api/bookito-event-category.client.d.ts +4 -0
- package/dist/src/features/event-feed/api/bookito-event-category.dto.d.ts +11 -0
- package/dist/src/features/event-feed/api/bookito-event-category.queries.d.ts +9 -0
- package/dist/src/features/event-feed/api/bookito-event-modal-dates.helpers.d.ts +6 -0
- package/dist/src/features/event-feed/api/bookito-event.client.d.ts +5 -0
- package/dist/src/features/event-feed/api/bookito-event.dto.d.ts +102 -0
- package/dist/src/features/event-feed/api/bookito-event.keys.d.ts +7 -0
- package/dist/src/features/event-feed/api/bookito-event.mapper-helpers.d.ts +17 -0
- package/dist/src/features/event-feed/api/bookito-event.mapper-image.helpers.d.ts +2 -0
- package/dist/src/features/event-feed/api/bookito-event.mapper-variant.helpers.d.ts +3 -0
- package/dist/src/features/event-feed/api/bookito-event.mapper.d.ts +6 -0
- package/dist/src/features/event-feed/api/bookito-event.queries.d.ts +24 -0
- package/dist/src/features/event-feed/api/bookito-time-slots.queries.d.ts +9 -0
- package/dist/src/features/event-feed/components/BookitoWidget.vue.d.ts +5 -0
- package/dist/src/features/event-feed/components/EventFeed.vue.d.ts +21 -0
- package/dist/src/features/event-feed/components/EventFeedScrollControls.vue.d.ts +13 -0
- package/dist/src/features/event-feed/components/ExperienceCard.vue.d.ts +13 -0
- package/dist/src/features/event-feed/components/PoweredByCarlito.vue.d.ts +2 -0
- package/dist/src/features/event-feed/composables/useBookitoWidgetTheme.d.ts +2 -0
- package/dist/src/features/event-feed/composables/useEventFeedScroll.d.ts +8 -0
- package/dist/src/features/event-feed/lib/event-feed-date.utils.d.ts +15 -0
- package/dist/src/features/event-feed/lib/event-feed-item.helpers.d.ts +9 -0
- package/dist/src/features/event-feed/lib/event-feed-occurrence.helpers.d.ts +7 -0
- package/dist/src/features/event-feed/lib/event-feed.utils.d.ts +8 -0
- package/dist/src/features/event-feed/lib/resolve-localized-text.d.ts +2 -0
- package/dist/src/features/event-feed/model/widget.types.d.ts +96 -0
- package/dist/src/features/experience-detail/components/BookitoEventModal.vue.d.ts +14 -0
- package/dist/src/features/experience-detail/components/ExperienceDetailPanel.vue.d.ts +9 -0
- package/dist/src/features/experience-detail/components/ExperienceOverlay.vue.d.ts +16 -0
- package/dist/src/features/experience-detail/components/ExperienceOverlayContent.vue.d.ts +29 -0
- package/dist/src/features/experience-detail/components/ExperienceOverlayHeader.vue.d.ts +15 -0
- package/dist/src/features/experience-detail/composables/useExperienceOverlayBooking.d.ts +20 -0
- package/dist/src/features/experience-detail/lib/bookito-event-modal.helpers.d.ts +7 -0
- package/dist/src/features/experience-detail/lib/experience-booking-cancellation.helpers.d.ts +2 -0
- package/dist/src/features/experience-detail/lib/experience-booking-cutoff.helpers.d.ts +3 -0
- package/dist/src/features/experience-detail/lib/experience-booking-date.helpers.d.ts +3 -0
- package/dist/src/features/experience-detail/lib/experience-overlay.helpers.d.ts +3 -0
- package/dist/src/features/experience-detail/lib/resolve-experience-booking-availability.d.ts +39 -0
- package/dist/src/features/guest-auth/api/guest-auth.client.d.ts +2 -0
- package/dist/src/features/guest-auth/api/guest-auth.dto.d.ts +36 -0
- package/dist/src/features/guest-auth/api/guest-auth.mutations.d.ts +2 -0
- package/dist/src/features/guest-auth/lib/map-login-guests.d.ts +2 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/shared/api/api-config.d.ts +5 -0
- package/dist/src/shared/api/auth-tokens.d.ts +3 -0
- package/dist/src/shared/api/federation-client.d.ts +14 -0
- package/dist/src/shared/api/federation-errors.d.ts +9 -0
- package/dist/src/shared/api/graphql-client.d.ts +22 -0
- package/dist/src/shared/api/subdomain-parameter.d.ts +8 -0
- package/dist/src/shared/calendar/BookingCalendar.vue.d.ts +15 -0
- package/dist/src/shared/calendar/BookingCalendarGrid.vue.d.ts +8 -0
- package/dist/src/shared/calendar/BookingCalendarNavigation.vue.d.ts +17 -0
- package/dist/src/shared/calendar/calendar-date-key.d.ts +4 -0
- package/dist/src/shared/calendar/calendar-date-value.d.ts +11 -0
- package/dist/src/shared/calendar/calendar-date.types.d.ts +1 -0
- package/dist/src/shared/calendar/hotel-calendar-date.d.ts +10 -0
- package/dist/src/shared/calendar/index.d.ts +1 -0
- package/dist/src/shared/calendar/useBookingCalendarState.d.ts +29 -0
- package/dist/src/shared/config/languages.d.ts +3 -0
- package/dist/src/shared/lib/format-booking-price.d.ts +2 -0
- package/dist/src/shared/lib/is-ios-platform.d.ts +1 -0
- package/dist/src/shared/lib/map-language-to-intl-locale.d.ts +2 -0
- package/dist/src/shared/lib/normalize-widget-background-color.d.ts +1 -0
- package/dist/src/shared/lib/resolve-widget-title.d.ts +2 -0
- package/dist/src/shared/markdown/components/CarlitoMarkdownRenderer.vue.d.ts +8 -0
- package/dist/src/shared/markdown/components/PdfEmbed/PdfEmbed.vue.d.ts +6 -0
- package/dist/src/shared/markdown/components/PdfEmbed/PdfLoading.vue.d.ts +2 -0
- package/dist/src/shared/markdown/components/PdfEmbed/PdfRenderer.vue.d.ts +14 -0
- package/dist/src/shared/markdown/components/PdfEmbed/PdfViewer.vue.d.ts +38 -0
- package/dist/src/shared/markdown/components/PdfEmbed/PdfViewerError.vue.d.ts +5 -0
- package/dist/src/shared/markdown/components/PdfEmbed/composables/usePdfViewerState.d.ts +24 -0
- package/dist/src/shared/markdown/components/PdfEmbed/composables/useRenderPdf.d.ts +17 -0
- package/dist/src/shared/markdown/components/PdfEmbed/lib/pdf-canvas.d.ts +40 -0
- package/dist/src/shared/markdown/components/PdfEmbed/lib/pdf-render-watches.d.ts +15 -0
- package/dist/src/shared/markdown/has-meaningful-markdown-content.d.ts +5 -0
- package/dist/src/shared/markdown/process-markdown.d.ts +1 -0
- package/dist/src/shared/markdown/remark-center.d.ts +3 -0
- package/dist/src/shared/markdown/transform-markdown-url.d.ts +1 -0
- package/dist/src/shared/pdf/create-pdf-panzoom-session.d.ts +18 -0
- package/dist/src/shared/pdf/index.d.ts +5 -0
- package/dist/src/shared/pdf/pdf-panzoom.d.ts +14 -0
- package/dist/src/shared/pdf/pdfjs.d.ts +2 -0
- package/dist/src/shared/pdf/setup-pdf-panzoom-watches.d.ts +14 -0
- package/dist/src/shared/pdf/usePdfPanzoom.d.ts +6 -0
- package/dist/src/shared/pdf/usePdfPanzoom.types.d.ts +11 -0
- package/dist/src/shared/theme/theme-loader.d.ts +19 -0
- package/dist/src/shared/utils/cn.d.ts +2 -0
- package/dist/src/shared/utils/dom-events.d.ts +4 -0
- package/package.json +102 -4
- package/.babelrc +0 -12
- package/.eslintrc.json +0 -18
- package/CHANGELOG.md +0 -1931
- package/dist/1219.js +0 -1
- package/dist/1229.js +0 -2
- package/dist/1229.js.LICENSE.txt +0 -3
- package/dist/135.js +0 -2
- package/dist/135.js.LICENSE.txt +0 -3
- package/dist/1385.js +0 -2
- package/dist/1385.js.LICENSE.txt +0 -3
- package/dist/1421.js +0 -2
- package/dist/1421.js.LICENSE.txt +0 -3
- package/dist/1426.js +0 -2
- package/dist/1426.js.LICENSE.txt +0 -3
- package/dist/1428.js +0 -2
- package/dist/1428.js.LICENSE.txt +0 -3
- package/dist/1677.js +0 -2
- package/dist/1677.js.LICENSE.txt +0 -3
- package/dist/173.js +0 -2
- package/dist/173.js.LICENSE.txt +0 -3
- package/dist/1798.js +0 -2
- package/dist/1798.js.LICENSE.txt +0 -3
- package/dist/1813.js +0 -2
- package/dist/1813.js.LICENSE.txt +0 -3
- package/dist/2411.js +0 -2
- package/dist/2411.js.LICENSE.txt +0 -3
- package/dist/2782.js +0 -2
- package/dist/2782.js.LICENSE.txt +0 -3
- package/dist/2827.js +0 -2
- package/dist/2827.js.LICENSE.txt +0 -3
- package/dist/2939.js +0 -2
- package/dist/2939.js.LICENSE.txt +0 -3
- package/dist/3002.js +0 -2
- package/dist/3002.js.LICENSE.txt +0 -3
- package/dist/3140.js +0 -1
- package/dist/3rdpartylicenses.txt +0 -3609
- package/dist/4189.js +0 -2
- package/dist/4189.js.LICENSE.txt +0 -3
- package/dist/4194.js +0 -2
- package/dist/4194.js.LICENSE.txt +0 -3
- package/dist/4220.js +0 -2
- package/dist/4220.js.LICENSE.txt +0 -3
- package/dist/434.js +0 -2
- package/dist/434.js.LICENSE.txt +0 -3
- package/dist/4606.js +0 -2
- package/dist/4606.js.LICENSE.txt +0 -3
- package/dist/4614.js +0 -2
- package/dist/4614.js.LICENSE.txt +0 -3
- package/dist/5065.js +0 -2
- package/dist/5065.js.LICENSE.txt +0 -3
- package/dist/5090.js +0 -2
- package/dist/5090.js.LICENSE.txt +0 -3
- package/dist/5143.js +0 -2
- package/dist/5143.js.LICENSE.txt +0 -3
- package/dist/5309.js +0 -2
- package/dist/5309.js.LICENSE.txt +0 -3
- package/dist/5397.js +0 -2
- package/dist/5397.js.LICENSE.txt +0 -3
- package/dist/5427.js +0 -2
- package/dist/5427.js.LICENSE.txt +0 -3
- package/dist/5941.js +0 -2
- package/dist/5941.js.LICENSE.txt +0 -3
- package/dist/5956.js +0 -2
- package/dist/5956.js.LICENSE.txt +0 -3
- package/dist/6016.js +0 -2
- package/dist/6016.js.LICENSE.txt +0 -3
- package/dist/6250.js +0 -2
- package/dist/6250.js.LICENSE.txt +0 -3
- package/dist/6290.js +0 -2
- package/dist/6290.js.LICENSE.txt +0 -3
- package/dist/6335.js +0 -2
- package/dist/6335.js.LICENSE.txt +0 -3
- package/dist/6462.js +0 -2
- package/dist/6462.js.LICENSE.txt +0 -3
- package/dist/650.js +0 -2
- package/dist/650.js.LICENSE.txt +0 -3
- package/dist/6531.js +0 -2
- package/dist/6531.js.LICENSE.txt +0 -3
- package/dist/6878.js +0 -2
- package/dist/6878.js.LICENSE.txt +0 -3
- package/dist/6892.js +0 -2
- package/dist/6892.js.LICENSE.txt +0 -3
- package/dist/6979.js +0 -2
- package/dist/6979.js.LICENSE.txt +0 -3
- package/dist/7120.js +0 -2
- package/dist/7120.js.LICENSE.txt +0 -3
- package/dist/7149.js +0 -2
- package/dist/7149.js.LICENSE.txt +0 -3
- package/dist/7202.js +0 -2
- package/dist/7202.js.LICENSE.txt +0 -3
- package/dist/7213.js +0 -2
- package/dist/7213.js.LICENSE.txt +0 -3
- package/dist/7290.js +0 -2
- package/dist/7290.js.LICENSE.txt +0 -3
- package/dist/7373.js +0 -2
- package/dist/7373.js.LICENSE.txt +0 -3
- package/dist/7515.js +0 -2
- package/dist/7515.js.LICENSE.txt +0 -3
- package/dist/7797.js +0 -2
- package/dist/7797.js.LICENSE.txt +0 -3
- package/dist/7804.js +0 -2
- package/dist/7804.js.LICENSE.txt +0 -3
- package/dist/7813.js +0 -2
- package/dist/7813.js.LICENSE.txt +0 -3
- package/dist/7843.js +0 -2
- package/dist/7843.js.LICENSE.txt +0 -3
- package/dist/8199.js +0 -2
- package/dist/8199.js.LICENSE.txt +0 -3
- package/dist/821.js +0 -2
- package/dist/821.js.LICENSE.txt +0 -3
- package/dist/8365.js +0 -2
- package/dist/8365.js.LICENSE.txt +0 -3
- package/dist/8599.js +0 -2
- package/dist/8599.js.LICENSE.txt +0 -3
- package/dist/880.js +0 -2
- package/dist/880.js.LICENSE.txt +0 -3
- package/dist/8831.js +0 -2
- package/dist/8831.js.LICENSE.txt +0 -3
- package/dist/885.js +0 -2
- package/dist/885.js.LICENSE.txt +0 -3
- package/dist/9079.js +0 -2
- package/dist/9079.js.LICENSE.txt +0 -3
- package/dist/9104.js +0 -2
- package/dist/9104.js.LICENSE.txt +0 -3
- package/dist/9236.js +0 -2
- package/dist/9236.js.LICENSE.txt +0 -3
- package/dist/942.js +0 -2
- package/dist/942.js.LICENSE.txt +0 -3
- package/dist/9456.js +0 -2
- package/dist/9456.js.LICENSE.txt +0 -3
- package/dist/951.js +0 -2
- package/dist/951.js.LICENSE.txt +0 -3
- package/dist/9636.js +0 -2
- package/dist/9636.js.LICENSE.txt +0 -3
- package/dist/9742.js +0 -2
- package/dist/9742.js.LICENSE.txt +0 -3
- package/dist/9792.js +0 -2
- package/dist/9792.js.LICENSE.txt +0 -3
- package/dist/9875.js +0 -2
- package/dist/9875.js.LICENSE.txt +0 -3
- package/dist/Carlito.eot +0 -0
- package/dist/Carlito.svg +0 -321
- package/dist/Carlito.ttf +0 -0
- package/dist/Carlito.woff +0 -0
- package/dist/Carlito.woff2 +0 -0
- package/dist/bookito-widget.umd.js.LICENSE.txt +0 -128
- package/dist/bookito-widget.window.js.LICENSE.txt +0 -128
- package/dist/layers-2x.png +0 -0
- package/dist/layers.png +0 -0
- package/dist/marker-icon.png +0 -0
- package/e2e-tests/e2e.html +0 -77
- package/index.html +0 -92
- package/jest.config.ts +0 -9
- package/postcss.config.js +0 -3
- package/project.json +0 -72
- package/src/BookitoEventDetail/index.tsx +0 -101
- package/src/BookitoEventModal/ModalLoader.tsx +0 -43
- package/src/BookitoEventModal/index.tsx +0 -71
- package/src/BookitoForm/EventInfo.tsx +0 -68
- package/src/BookitoForm/FormSubmitButton/AnimatedSuccessCheckmark/index.module.css +0 -45
- package/src/BookitoForm/FormSubmitButton/AnimatedSuccessCheckmark/index.tsx +0 -24
- package/src/BookitoForm/FormSubmitButton/index.tsx +0 -58
- package/src/BookitoForm/NewBookingForm.tsx +0 -199
- package/src/BookitoWidget/index.tsx +0 -299
- package/src/BookitoWidgetProvider/BookitoWidgetProvider.tsx +0 -36
- package/src/Card/EmptyCard.tsx +0 -30
- package/src/Card/index.tsx +0 -103
- package/src/CardHolder/index.tsx +0 -32
- package/src/Modal/index.tsx +0 -34
- package/src/assets/carlito-logo.svg +0 -10
- package/src/calendar-styles.css +0 -22
- package/src/index.module.css +0 -27
- package/src/index.tsx +0 -166
- package/src/types.ts +0 -8
- package/src/utils/index.tsx +0 -7
- package/tailwind.config.js +0 -13
- package/tsconfig.json +0 -26
- package/tsconfig.lib.json +0 -23
- package/tsconfig.spec.json +0 -20
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const de: {
|
|
2
|
+
pdf: {
|
|
3
|
+
back: string;
|
|
4
|
+
errorDescription: string;
|
|
5
|
+
viewerLabel: string;
|
|
6
|
+
};
|
|
7
|
+
widget: {
|
|
8
|
+
defaultTitle: string;
|
|
9
|
+
loadingEvents: string;
|
|
10
|
+
emptyEvents: string;
|
|
11
|
+
loadEventsError: string;
|
|
12
|
+
retry: string;
|
|
13
|
+
poweredBy: string;
|
|
14
|
+
poweredByLogoAlt: string;
|
|
15
|
+
scrollNext: string;
|
|
16
|
+
scrollPrevious: string;
|
|
17
|
+
imageFallback: string;
|
|
18
|
+
close: string;
|
|
19
|
+
back: string;
|
|
20
|
+
duration: string;
|
|
21
|
+
price: string;
|
|
22
|
+
description: string;
|
|
23
|
+
roomNumberOptional: string;
|
|
24
|
+
bookingReferenceOptional: string;
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
dateOfBirthPlaceholder: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
chooseCountryCode: string;
|
|
31
|
+
searchCountryCode: string;
|
|
32
|
+
language: string;
|
|
33
|
+
select: string;
|
|
34
|
+
languages: {
|
|
35
|
+
de: string;
|
|
36
|
+
en: string;
|
|
37
|
+
fr: string;
|
|
38
|
+
it: string;
|
|
39
|
+
pl: string;
|
|
40
|
+
};
|
|
41
|
+
next: string;
|
|
42
|
+
bookNow: string;
|
|
43
|
+
registerNow: string;
|
|
44
|
+
chooseTimeSlot: string;
|
|
45
|
+
addGuestsFromRoom: string;
|
|
46
|
+
addMoreParticipantsHint: string;
|
|
47
|
+
addMoreParticipantsMax: string;
|
|
48
|
+
addMoreParticipantsPlain: string;
|
|
49
|
+
bookingForParticipants: string;
|
|
50
|
+
guestYouSuffix: string;
|
|
51
|
+
noRoomGuests: string;
|
|
52
|
+
notesPlaceholder: string;
|
|
53
|
+
selectAtLeastOneParticipant: string;
|
|
54
|
+
decreaseParticipants: string;
|
|
55
|
+
increaseParticipants: string;
|
|
56
|
+
addExtra: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
confirmBooking: string;
|
|
59
|
+
joinWaitlist: string;
|
|
60
|
+
sendRequest: string;
|
|
61
|
+
free: string;
|
|
62
|
+
loginError: string;
|
|
63
|
+
bookingError: string;
|
|
64
|
+
tooManyParticipants: string;
|
|
65
|
+
bookingSuccess: string;
|
|
66
|
+
bookingSuccessRequest: string;
|
|
67
|
+
bookingSuccessWaitlist: string;
|
|
68
|
+
bookingStepperLabel: string;
|
|
69
|
+
stayCalendar: {
|
|
70
|
+
month: string;
|
|
71
|
+
nextMonth: string;
|
|
72
|
+
previousMonth: string;
|
|
73
|
+
year: string;
|
|
74
|
+
};
|
|
75
|
+
noDates: string;
|
|
76
|
+
loadingTimeSlots: string;
|
|
77
|
+
selectDateForTimeSlots: string;
|
|
78
|
+
emptyTimeSlots: string;
|
|
79
|
+
freeSlots: string;
|
|
80
|
+
steps: {
|
|
81
|
+
confirm: string;
|
|
82
|
+
details: string;
|
|
83
|
+
time: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
pdf: {
|
|
3
|
+
back: string;
|
|
4
|
+
errorDescription: string;
|
|
5
|
+
viewerLabel: string;
|
|
6
|
+
};
|
|
7
|
+
widget: {
|
|
8
|
+
defaultTitle: string;
|
|
9
|
+
loadingEvents: string;
|
|
10
|
+
emptyEvents: string;
|
|
11
|
+
loadEventsError: string;
|
|
12
|
+
retry: string;
|
|
13
|
+
poweredBy: string;
|
|
14
|
+
poweredByLogoAlt: string;
|
|
15
|
+
scrollNext: string;
|
|
16
|
+
scrollPrevious: string;
|
|
17
|
+
imageFallback: string;
|
|
18
|
+
close: string;
|
|
19
|
+
back: string;
|
|
20
|
+
duration: string;
|
|
21
|
+
price: string;
|
|
22
|
+
description: string;
|
|
23
|
+
roomNumberOptional: string;
|
|
24
|
+
bookingReferenceOptional: string;
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
dateOfBirthPlaceholder: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
chooseCountryCode: string;
|
|
31
|
+
searchCountryCode: string;
|
|
32
|
+
language: string;
|
|
33
|
+
select: string;
|
|
34
|
+
languages: {
|
|
35
|
+
de: string;
|
|
36
|
+
en: string;
|
|
37
|
+
fr: string;
|
|
38
|
+
it: string;
|
|
39
|
+
pl: string;
|
|
40
|
+
};
|
|
41
|
+
next: string;
|
|
42
|
+
bookNow: string;
|
|
43
|
+
registerNow: string;
|
|
44
|
+
chooseTimeSlot: string;
|
|
45
|
+
addGuestsFromRoom: string;
|
|
46
|
+
addMoreParticipantsHint: string;
|
|
47
|
+
addMoreParticipantsMax: string;
|
|
48
|
+
addMoreParticipantsPlain: string;
|
|
49
|
+
bookingForParticipants: string;
|
|
50
|
+
guestYouSuffix: string;
|
|
51
|
+
noRoomGuests: string;
|
|
52
|
+
notesPlaceholder: string;
|
|
53
|
+
selectAtLeastOneParticipant: string;
|
|
54
|
+
decreaseParticipants: string;
|
|
55
|
+
increaseParticipants: string;
|
|
56
|
+
addExtra: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
confirmBooking: string;
|
|
59
|
+
joinWaitlist: string;
|
|
60
|
+
sendRequest: string;
|
|
61
|
+
free: string;
|
|
62
|
+
loginError: string;
|
|
63
|
+
bookingError: string;
|
|
64
|
+
tooManyParticipants: string;
|
|
65
|
+
bookingSuccess: string;
|
|
66
|
+
bookingSuccessRequest: string;
|
|
67
|
+
bookingSuccessWaitlist: string;
|
|
68
|
+
bookingStepperLabel: string;
|
|
69
|
+
stayCalendar: {
|
|
70
|
+
month: string;
|
|
71
|
+
nextMonth: string;
|
|
72
|
+
previousMonth: string;
|
|
73
|
+
year: string;
|
|
74
|
+
};
|
|
75
|
+
noDates: string;
|
|
76
|
+
loadingTimeSlots: string;
|
|
77
|
+
selectDateForTimeSlots: string;
|
|
78
|
+
emptyTimeSlots: string;
|
|
79
|
+
freeSlots: string;
|
|
80
|
+
steps: {
|
|
81
|
+
confirm: string;
|
|
82
|
+
details: string;
|
|
83
|
+
time: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const fr: {
|
|
2
|
+
pdf: {
|
|
3
|
+
back: string;
|
|
4
|
+
errorDescription: string;
|
|
5
|
+
viewerLabel: string;
|
|
6
|
+
};
|
|
7
|
+
widget: {
|
|
8
|
+
defaultTitle: string;
|
|
9
|
+
loadingEvents: string;
|
|
10
|
+
emptyEvents: string;
|
|
11
|
+
loadEventsError: string;
|
|
12
|
+
retry: string;
|
|
13
|
+
poweredBy: string;
|
|
14
|
+
poweredByLogoAlt: string;
|
|
15
|
+
scrollNext: string;
|
|
16
|
+
scrollPrevious: string;
|
|
17
|
+
imageFallback: string;
|
|
18
|
+
close: string;
|
|
19
|
+
back: string;
|
|
20
|
+
duration: string;
|
|
21
|
+
price: string;
|
|
22
|
+
description: string;
|
|
23
|
+
roomNumberOptional: string;
|
|
24
|
+
bookingReferenceOptional: string;
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
dateOfBirthPlaceholder: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
chooseCountryCode: string;
|
|
31
|
+
searchCountryCode: string;
|
|
32
|
+
language: string;
|
|
33
|
+
select: string;
|
|
34
|
+
languages: {
|
|
35
|
+
de: string;
|
|
36
|
+
en: string;
|
|
37
|
+
fr: string;
|
|
38
|
+
it: string;
|
|
39
|
+
pl: string;
|
|
40
|
+
};
|
|
41
|
+
next: string;
|
|
42
|
+
bookNow: string;
|
|
43
|
+
registerNow: string;
|
|
44
|
+
chooseTimeSlot: string;
|
|
45
|
+
addGuestsFromRoom: string;
|
|
46
|
+
addMoreParticipantsHint: string;
|
|
47
|
+
addMoreParticipantsMax: string;
|
|
48
|
+
addMoreParticipantsPlain: string;
|
|
49
|
+
bookingForParticipants: string;
|
|
50
|
+
guestYouSuffix: string;
|
|
51
|
+
noRoomGuests: string;
|
|
52
|
+
notesPlaceholder: string;
|
|
53
|
+
selectAtLeastOneParticipant: string;
|
|
54
|
+
decreaseParticipants: string;
|
|
55
|
+
increaseParticipants: string;
|
|
56
|
+
addExtra: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
confirmBooking: string;
|
|
59
|
+
joinWaitlist: string;
|
|
60
|
+
sendRequest: string;
|
|
61
|
+
free: string;
|
|
62
|
+
loginError: string;
|
|
63
|
+
bookingError: string;
|
|
64
|
+
tooManyParticipants: string;
|
|
65
|
+
bookingSuccess: string;
|
|
66
|
+
bookingSuccessRequest: string;
|
|
67
|
+
bookingSuccessWaitlist: string;
|
|
68
|
+
bookingStepperLabel: string;
|
|
69
|
+
stayCalendar: {
|
|
70
|
+
month: string;
|
|
71
|
+
nextMonth: string;
|
|
72
|
+
previousMonth: string;
|
|
73
|
+
year: string;
|
|
74
|
+
};
|
|
75
|
+
noDates: string;
|
|
76
|
+
loadingTimeSlots: string;
|
|
77
|
+
selectDateForTimeSlots: string;
|
|
78
|
+
emptyTimeSlots: string;
|
|
79
|
+
freeSlots: string;
|
|
80
|
+
steps: {
|
|
81
|
+
confirm: string;
|
|
82
|
+
details: string;
|
|
83
|
+
time: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const it: {
|
|
2
|
+
pdf: {
|
|
3
|
+
back: string;
|
|
4
|
+
errorDescription: string;
|
|
5
|
+
viewerLabel: string;
|
|
6
|
+
};
|
|
7
|
+
widget: {
|
|
8
|
+
defaultTitle: string;
|
|
9
|
+
loadingEvents: string;
|
|
10
|
+
emptyEvents: string;
|
|
11
|
+
loadEventsError: string;
|
|
12
|
+
retry: string;
|
|
13
|
+
poweredBy: string;
|
|
14
|
+
poweredByLogoAlt: string;
|
|
15
|
+
scrollNext: string;
|
|
16
|
+
scrollPrevious: string;
|
|
17
|
+
imageFallback: string;
|
|
18
|
+
close: string;
|
|
19
|
+
back: string;
|
|
20
|
+
duration: string;
|
|
21
|
+
price: string;
|
|
22
|
+
description: string;
|
|
23
|
+
roomNumberOptional: string;
|
|
24
|
+
bookingReferenceOptional: string;
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
dateOfBirthPlaceholder: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
chooseCountryCode: string;
|
|
31
|
+
searchCountryCode: string;
|
|
32
|
+
language: string;
|
|
33
|
+
select: string;
|
|
34
|
+
languages: {
|
|
35
|
+
de: string;
|
|
36
|
+
en: string;
|
|
37
|
+
fr: string;
|
|
38
|
+
it: string;
|
|
39
|
+
pl: string;
|
|
40
|
+
};
|
|
41
|
+
next: string;
|
|
42
|
+
bookNow: string;
|
|
43
|
+
registerNow: string;
|
|
44
|
+
chooseTimeSlot: string;
|
|
45
|
+
addGuestsFromRoom: string;
|
|
46
|
+
addMoreParticipantsHint: string;
|
|
47
|
+
addMoreParticipantsMax: string;
|
|
48
|
+
addMoreParticipantsPlain: string;
|
|
49
|
+
bookingForParticipants: string;
|
|
50
|
+
guestYouSuffix: string;
|
|
51
|
+
noRoomGuests: string;
|
|
52
|
+
notesPlaceholder: string;
|
|
53
|
+
selectAtLeastOneParticipant: string;
|
|
54
|
+
decreaseParticipants: string;
|
|
55
|
+
increaseParticipants: string;
|
|
56
|
+
addExtra: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
confirmBooking: string;
|
|
59
|
+
joinWaitlist: string;
|
|
60
|
+
sendRequest: string;
|
|
61
|
+
free: string;
|
|
62
|
+
loginError: string;
|
|
63
|
+
bookingError: string;
|
|
64
|
+
tooManyParticipants: string;
|
|
65
|
+
bookingSuccess: string;
|
|
66
|
+
bookingSuccessRequest: string;
|
|
67
|
+
bookingSuccessWaitlist: string;
|
|
68
|
+
bookingStepperLabel: string;
|
|
69
|
+
stayCalendar: {
|
|
70
|
+
month: string;
|
|
71
|
+
nextMonth: string;
|
|
72
|
+
previousMonth: string;
|
|
73
|
+
year: string;
|
|
74
|
+
};
|
|
75
|
+
noDates: string;
|
|
76
|
+
loadingTimeSlots: string;
|
|
77
|
+
selectDateForTimeSlots: string;
|
|
78
|
+
emptyTimeSlots: string;
|
|
79
|
+
freeSlots: string;
|
|
80
|
+
steps: {
|
|
81
|
+
confirm: string;
|
|
82
|
+
details: string;
|
|
83
|
+
time: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const pl: {
|
|
2
|
+
pdf: {
|
|
3
|
+
back: string;
|
|
4
|
+
errorDescription: string;
|
|
5
|
+
viewerLabel: string;
|
|
6
|
+
};
|
|
7
|
+
widget: {
|
|
8
|
+
defaultTitle: string;
|
|
9
|
+
loadingEvents: string;
|
|
10
|
+
emptyEvents: string;
|
|
11
|
+
loadEventsError: string;
|
|
12
|
+
retry: string;
|
|
13
|
+
poweredBy: string;
|
|
14
|
+
poweredByLogoAlt: string;
|
|
15
|
+
scrollNext: string;
|
|
16
|
+
scrollPrevious: string;
|
|
17
|
+
imageFallback: string;
|
|
18
|
+
close: string;
|
|
19
|
+
back: string;
|
|
20
|
+
duration: string;
|
|
21
|
+
price: string;
|
|
22
|
+
description: string;
|
|
23
|
+
roomNumberOptional: string;
|
|
24
|
+
bookingReferenceOptional: string;
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
dateOfBirthPlaceholder: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
chooseCountryCode: string;
|
|
31
|
+
searchCountryCode: string;
|
|
32
|
+
language: string;
|
|
33
|
+
select: string;
|
|
34
|
+
languages: {
|
|
35
|
+
de: string;
|
|
36
|
+
en: string;
|
|
37
|
+
fr: string;
|
|
38
|
+
it: string;
|
|
39
|
+
pl: string;
|
|
40
|
+
};
|
|
41
|
+
next: string;
|
|
42
|
+
bookNow: string;
|
|
43
|
+
registerNow: string;
|
|
44
|
+
chooseTimeSlot: string;
|
|
45
|
+
addGuestsFromRoom: string;
|
|
46
|
+
addMoreParticipantsHint: string;
|
|
47
|
+
addMoreParticipantsMax: string;
|
|
48
|
+
addMoreParticipantsPlain: string;
|
|
49
|
+
bookingForParticipants: string;
|
|
50
|
+
guestYouSuffix: string;
|
|
51
|
+
noRoomGuests: string;
|
|
52
|
+
notesPlaceholder: string;
|
|
53
|
+
selectAtLeastOneParticipant: string;
|
|
54
|
+
decreaseParticipants: string;
|
|
55
|
+
increaseParticipants: string;
|
|
56
|
+
addExtra: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
confirmBooking: string;
|
|
59
|
+
joinWaitlist: string;
|
|
60
|
+
sendRequest: string;
|
|
61
|
+
free: string;
|
|
62
|
+
loginError: string;
|
|
63
|
+
bookingError: string;
|
|
64
|
+
tooManyParticipants: string;
|
|
65
|
+
bookingSuccess: string;
|
|
66
|
+
bookingSuccessRequest: string;
|
|
67
|
+
bookingSuccessWaitlist: string;
|
|
68
|
+
bookingStepperLabel: string;
|
|
69
|
+
stayCalendar: {
|
|
70
|
+
month: string;
|
|
71
|
+
nextMonth: string;
|
|
72
|
+
previousMonth: string;
|
|
73
|
+
year: string;
|
|
74
|
+
};
|
|
75
|
+
noDates: string;
|
|
76
|
+
loadingTimeSlots: string;
|
|
77
|
+
selectDateForTimeSlots: string;
|
|
78
|
+
emptyTimeSlots: string;
|
|
79
|
+
freeSlots: string;
|
|
80
|
+
steps: {
|
|
81
|
+
confirm: string;
|
|
82
|
+
details: string;
|
|
83
|
+
time: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BookitoWidgetPropsType } from '../../../features/event-feed/model/widget.types';
|
|
2
|
+
type __VLS_Props = BookitoWidgetPropsType & {
|
|
3
|
+
customCss?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
+
hostElement: HTMLDivElement;
|
|
7
|
+
}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InitializeBookitoWidgetOptionsType, OpenBookitoModalOptionsType } from './mount';
|
|
2
|
+
export type BookitoWidgetGlobalApiType = {
|
|
3
|
+
initialize: (options: InitializeBookitoWidgetOptionsType) => void;
|
|
4
|
+
openBookitoModal: (options: OpenBookitoModalOptionsType) => void;
|
|
5
|
+
unmount: (container: HTMLElement | string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function createBookitoWidgetGlobalApi(): BookitoWidgetGlobalApiType;
|
|
8
|
+
export declare function registerBookitoWidgetGlobal(): BookitoWidgetGlobalApiType | undefined;
|
|
9
|
+
export declare function registerBookitoWidgetElement(): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export type MountedWidgetType = {
|
|
3
|
+
app: App;
|
|
4
|
+
unmount: () => void;
|
|
5
|
+
};
|
|
6
|
+
export declare function resolveContainer(container: HTMLElement | string): HTMLElement;
|
|
7
|
+
export declare function getMountedWidget(host: HTMLElement): MountedWidgetType | undefined;
|
|
8
|
+
export declare function setMountedWidget(host: HTMLElement, mounted: MountedWidgetType): void;
|
|
9
|
+
export declare function clearMountedWidget(host: HTMLElement): void;
|
|
10
|
+
export declare function unmountHost(host: HTMLElement): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BookitoWidgetPropsType } from '../../features/event-feed/model/widget.types';
|
|
2
|
+
import { MountedWidgetType } from './mount-registry';
|
|
3
|
+
export type { MountedWidgetType } from './mount-registry';
|
|
4
|
+
export type { OpenBookitoModalOptionsType } from './open-modal';
|
|
5
|
+
export { openBookitoModal } from './open-modal';
|
|
6
|
+
export { resolveContainer } from './mount-registry';
|
|
7
|
+
export type InitializeBookitoWidgetOptionsType = BookitoWidgetPropsType & {
|
|
8
|
+
container: HTMLElement | string;
|
|
9
|
+
customCss?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function mountBookitoWidget(options: InitializeBookitoWidgetOptionsType): MountedWidgetType;
|
|
12
|
+
export declare function unmountBookitoWidget(container: HTMLElement | string): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SupportedLanguageType } from '../../shared/config/languages';
|
|
2
|
+
import { MountedWidgetType } from './mount-registry';
|
|
3
|
+
export type OpenBookitoModalOptionsType = {
|
|
4
|
+
authId: string;
|
|
5
|
+
eventId: string;
|
|
6
|
+
container?: HTMLElement | string;
|
|
7
|
+
customCss?: string;
|
|
8
|
+
language?: SupportedLanguageType;
|
|
9
|
+
onCloseModal?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare function openBookitoModal(options: OpenBookitoModalOptionsType): MountedWidgetType;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { mountBookitoWidget, openBookitoModal, unmountBookitoWidget } from './mount';
|
|
3
|
+
export type BookitoWidgetVuePluginOptionsType = {
|
|
4
|
+
componentName?: string;
|
|
5
|
+
locale?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const BookitoWidgetPlugin: Plugin<BookitoWidgetVuePluginOptionsType>;
|
|
8
|
+
export declare function useBookitoWidget(): {
|
|
9
|
+
mount: typeof mountBookitoWidget;
|
|
10
|
+
openModal: typeof openBookitoModal;
|
|
11
|
+
unmount: typeof unmountBookitoWidget;
|
|
12
|
+
};
|
|
13
|
+
export { type BookitoWidgetPropsType } from '../../features/event-feed/model/widget.types';
|
|
14
|
+
export { default as BookitoWidgetRoot } from '../../app/providers/BookitoWidgetRoot.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FederationSuccessResponseType } from '../../../../shared/api/federation-client';
|
|
2
|
+
export type BookitoBookingParticipantDtoType = {
|
|
3
|
+
carlitoHubUserId?: string | null;
|
|
4
|
+
communicationLanguage?: string | null;
|
|
5
|
+
email?: string | null;
|
|
6
|
+
isExternal?: boolean | null;
|
|
7
|
+
isMainBooker?: boolean | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
phoneNr?: string | null;
|
|
10
|
+
roomNr?: string | null;
|
|
11
|
+
};
|
|
12
|
+
export type CreateBookitoBookingRequestType = {
|
|
13
|
+
bookedForDate: string;
|
|
14
|
+
booker?: BookitoBookingParticipantDtoType;
|
|
15
|
+
bookingSource: 'app' | 'kiosk' | 'web_widget';
|
|
16
|
+
chosenEmployeeId?: string;
|
|
17
|
+
comment?: string;
|
|
18
|
+
eventId: string;
|
|
19
|
+
numOfAdditionalParticipants?: number;
|
|
20
|
+
participants: BookitoBookingParticipantDtoType[];
|
|
21
|
+
priceVariants?: string[];
|
|
22
|
+
};
|
|
23
|
+
export type CreateBookitoBookingResponseType = FederationSuccessResponseType & {
|
|
24
|
+
id?: string | null;
|
|
25
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CreateBookitoBookingRequestType } from './bookito-booking.dto';
|
|
2
|
+
export declare function useCreateBookitoBookingMutation(): import('@tanstack/vue-query').UseMutationReturnType<import('./bookito-booking.dto').CreateBookitoBookingResponseType, Error, CreateBookitoBookingRequestType, unknown, Omit<import('@tanstack/query-core').MutationObserverIdleResult<import('./bookito-booking.dto').CreateBookitoBookingResponseType, Error, CreateBookitoBookingRequestType, unknown>, "reset" | "mutate"> | Omit<import('@tanstack/query-core').MutationObserverLoadingResult<import('./bookito-booking.dto').CreateBookitoBookingResponseType, Error, CreateBookitoBookingRequestType, unknown>, "reset" | "mutate"> | Omit<import('@tanstack/query-core').MutationObserverErrorResult<import('./bookito-booking.dto').CreateBookitoBookingResponseType, Error, CreateBookitoBookingRequestType, unknown>, "reset" | "mutate"> | Omit<import('@tanstack/query-core').MutationObserverSuccessResult<import('./bookito-booking.dto').CreateBookitoBookingResponseType, Error, CreateBookitoBookingRequestType, unknown>, "reset" | "mutate">>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CheckboxRootProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CheckboxRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean | "indeterminate") => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
language: string;
|
|
3
|
+
modelValue: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: string) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
select: (dialCode: string) => any;
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onSelect?: ((dialCode: string) => any) | undefined;
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
package/dist/src/features/booking-flow/components/BookingDetailsDialCodePickerContent.vue.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
insetXClass?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
select: (dialCode: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onSelect?: ((dialCode: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLLabelElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
dialCode: string;
|
|
3
|
+
phoneNumber: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:dialCode": (value: string) => any;
|
|
7
|
+
"update:phoneNumber": (value: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:dialCode"?: ((value: string) => any) | undefined;
|
|
10
|
+
"onUpdate:phoneNumber"?: ((value: string) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
12
|
+
export default _default;
|