@voyant-travel/bookings-react 0.119.3
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/LICENSE +201 -0
- package/README.md +87 -0
- package/dist/admin/booking-contract-dialog.d.ts +22 -0
- package/dist/admin/booking-contract-dialog.d.ts.map +1 -0
- package/dist/admin/booking-contract-dialog.js +161 -0
- package/dist/admin/booking-detail-host.d.ts +103 -0
- package/dist/admin/booking-detail-host.d.ts.map +1 -0
- package/dist/admin/booking-detail-host.js +127 -0
- package/dist/admin/booking-detail-skeleton.d.ts +7 -0
- package/dist/admin/booking-detail-skeleton.d.ts.map +1 -0
- package/dist/admin/booking-detail-skeleton.js +24 -0
- package/dist/admin/booking-documents-table.d.ts +13 -0
- package/dist/admin/booking-documents-table.d.ts.map +1 -0
- package/dist/admin/booking-documents-table.js +259 -0
- package/dist/admin/booking-invoice-sheet.d.ts +18 -0
- package/dist/admin/booking-invoice-sheet.d.ts.map +1 -0
- package/dist/admin/booking-invoice-sheet.js +101 -0
- package/dist/admin/booking-journey-host.d.ts +24 -0
- package/dist/admin/booking-journey-host.d.ts.map +1 -0
- package/dist/admin/booking-journey-host.js +278 -0
- package/dist/admin/bookings-host.d.ts +26 -0
- package/dist/admin/bookings-host.d.ts.map +1 -0
- package/dist/admin/bookings-host.js +18 -0
- package/dist/admin/bookings-list-skeleton.d.ts +10 -0
- package/dist/admin/bookings-list-skeleton.d.ts.map +1 -0
- package/dist/admin/bookings-list-skeleton.js +25 -0
- package/dist/admin/index.d.ts +273 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +331 -0
- package/dist/admin/journey-billing-duplicate-warning.d.ts +3 -0
- package/dist/admin/journey-billing-duplicate-warning.d.ts.map +1 -0
- package/dist/admin/journey-billing-duplicate-warning.js +26 -0
- package/dist/admin/journey-departure-picker.d.ts +7 -0
- package/dist/admin/journey-departure-picker.d.ts.map +1 -0
- package/dist/admin/journey-departure-picker.js +100 -0
- package/dist/admin/journey-units-picker.d.ts +11 -0
- package/dist/admin/journey-units-picker.d.ts.map +1 -0
- package/dist/admin/journey-units-picker.js +60 -0
- package/dist/admin/journey-voucher-picker.d.ts +3 -0
- package/dist/admin/journey-voucher-picker.d.ts.map +1 -0
- package/dist/admin/journey-voucher-picker.js +71 -0
- package/dist/admin/pages/booking-compose-page.d.ts +9 -0
- package/dist/admin/pages/booking-compose-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-compose-page.js +17 -0
- package/dist/admin/pages/booking-detail-page.d.ts +11 -0
- package/dist/admin/pages/booking-detail-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-detail-page.js +14 -0
- package/dist/admin/pages/booking-journey-page.d.ts +12 -0
- package/dist/admin/pages/booking-journey-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-journey-page.js +26 -0
- package/dist/admin/pages/booking-new-page.d.ts +15 -0
- package/dist/admin/pages/booking-new-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-new-page.js +50 -0
- package/dist/admin/pages/bookings-index-page.d.ts +20 -0
- package/dist/admin/pages/bookings-index-page.d.ts.map +1 -0
- package/dist/admin/pages/bookings-index-page.js +18 -0
- package/dist/admin/person-bookings-widget.d.ts +13 -0
- package/dist/admin/person-bookings-widget.d.ts.map +1 -0
- package/dist/admin/person-bookings-widget.js +48 -0
- package/dist/admin/slots.d.ts +31 -0
- package/dist/admin/slots.d.ts.map +1 -0
- package/dist/admin/slots.js +30 -0
- package/dist/admin/use-booking-action-ledger-events.d.ts +15 -0
- package/dist/admin/use-booking-action-ledger-events.d.ts.map +1 -0
- package/dist/admin/use-booking-action-ledger-events.js +66 -0
- package/dist/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +59 -0
- package/dist/components/booking-activity-timeline.d.ts +32 -0
- package/dist/components/booking-activity-timeline.d.ts.map +1 -0
- package/dist/components/booking-activity-timeline.js +147 -0
- package/dist/components/booking-billing-dialog.d.ts +16 -0
- package/dist/components/booking-billing-dialog.d.ts.map +1 -0
- package/dist/components/booking-billing-dialog.js +315 -0
- package/dist/components/booking-cancellation-dialog.d.ts +18 -0
- package/dist/components/booking-cancellation-dialog.d.ts.map +1 -0
- package/dist/components/booking-cancellation-dialog.js +79 -0
- package/dist/components/booking-combobox.d.ts +13 -0
- package/dist/components/booking-combobox.d.ts.map +1 -0
- package/dist/components/booking-combobox.js +44 -0
- package/dist/components/booking-create-form-utils.d.ts +56 -0
- package/dist/components/booking-create-form-utils.d.ts.map +1 -0
- package/dist/components/booking-create-form-utils.js +216 -0
- package/dist/components/booking-create-page.d.ts +14 -0
- package/dist/components/booking-create-page.d.ts.map +1 -0
- package/dist/components/booking-create-page.js +11 -0
- package/dist/components/booking-create-preview-card.d.ts +26 -0
- package/dist/components/booking-create-preview-card.d.ts.map +1 -0
- package/dist/components/booking-create-preview-card.js +107 -0
- package/dist/components/booking-create-product-extras-picker.d.ts +18 -0
- package/dist/components/booking-create-product-extras-picker.d.ts.map +1 -0
- package/dist/components/booking-create-product-extras-picker.js +82 -0
- package/dist/components/booking-create-sheet.d.ts +34 -0
- package/dist/components/booking-create-sheet.d.ts.map +1 -0
- package/dist/components/booking-create-sheet.js +811 -0
- package/dist/components/booking-create-utils.d.ts +66 -0
- package/dist/components/booking-create-utils.d.ts.map +1 -0
- package/dist/components/booking-create-utils.js +185 -0
- package/dist/components/booking-detail-page.d.ts +126 -0
- package/dist/components/booking-detail-page.d.ts.map +1 -0
- package/dist/components/booking-detail-page.js +264 -0
- package/dist/components/booking-dialog.d.ts +28 -0
- package/dist/components/booking-dialog.d.ts.map +1 -0
- package/dist/components/booking-dialog.js +130 -0
- package/dist/components/booking-document-dialog.d.ts +8 -0
- package/dist/components/booking-document-dialog.d.ts.map +1 -0
- package/dist/components/booking-document-dialog.js +83 -0
- package/dist/components/booking-document-list.d.ts +5 -0
- package/dist/components/booking-document-list.d.ts.map +1 -0
- package/dist/components/booking-document-list.js +43 -0
- package/dist/components/booking-group-link-dialog.d.ts +10 -0
- package/dist/components/booking-group-link-dialog.d.ts.map +1 -0
- package/dist/components/booking-group-link-dialog.js +79 -0
- package/dist/components/booking-group-section.d.ts +27 -0
- package/dist/components/booking-group-section.d.ts.map +1 -0
- package/dist/components/booking-group-section.js +51 -0
- package/dist/components/booking-guarantee-dialog.d.ts +10 -0
- package/dist/components/booking-guarantee-dialog.d.ts.map +1 -0
- package/dist/components/booking-guarantee-dialog.js +123 -0
- package/dist/components/booking-guarantee-list.d.ts +5 -0
- package/dist/components/booking-guarantee-list.d.ts.map +1 -0
- package/dist/components/booking-guarantee-list.js +86 -0
- package/dist/components/booking-item-dialog.d.ts +10 -0
- package/dist/components/booking-item-dialog.d.ts.map +1 -0
- package/dist/components/booking-item-dialog.js +155 -0
- package/dist/components/booking-item-list.d.ts +12 -0
- package/dist/components/booking-item-list.d.ts.map +1 -0
- package/dist/components/booking-item-list.js +191 -0
- package/dist/components/booking-item-travelers.d.ts +6 -0
- package/dist/components/booking-item-travelers.d.ts.map +1 -0
- package/dist/components/booking-item-travelers.js +57 -0
- package/dist/components/booking-list-filters.d.ts +43 -0
- package/dist/components/booking-list-filters.d.ts.map +1 -0
- package/dist/components/booking-list-filters.js +192 -0
- package/dist/components/booking-list.d.ts +50 -0
- package/dist/components/booking-list.d.ts.map +1 -0
- package/dist/components/booking-list.js +352 -0
- package/dist/components/booking-note-dialog.d.ts +16 -0
- package/dist/components/booking-note-dialog.d.ts.map +1 -0
- package/dist/components/booking-note-dialog.js +41 -0
- package/dist/components/booking-notes.d.ts +5 -0
- package/dist/components/booking-notes.d.ts.map +1 -0
- package/dist/components/booking-notes.js +45 -0
- package/dist/components/booking-payment-reconciliation-banner.d.ts +5 -0
- package/dist/components/booking-payment-reconciliation-banner.d.ts.map +1 -0
- package/dist/components/booking-payment-reconciliation-banner.js +91 -0
- package/dist/components/booking-payment-schedule-dialog.d.ts +10 -0
- package/dist/components/booking-payment-schedule-dialog.d.ts.map +1 -0
- package/dist/components/booking-payment-schedule-dialog.js +117 -0
- package/dist/components/booking-payment-schedule-list.d.ts +10 -0
- package/dist/components/booking-payment-schedule-list.d.ts.map +1 -0
- package/dist/components/booking-payment-schedule-list.js +217 -0
- package/dist/components/booking-payments-summary.d.ts +83 -0
- package/dist/components/booking-payments-summary.d.ts.map +1 -0
- package/dist/components/booking-payments-summary.js +176 -0
- package/dist/components/booking-quick-view-sheet.d.ts +14 -0
- package/dist/components/booking-quick-view-sheet.d.ts.map +1 -0
- package/dist/components/booking-quick-view-sheet.js +283 -0
- package/dist/components/bookings-page.d.ts +19 -0
- package/dist/components/bookings-page.d.ts.map +1 -0
- package/dist/components/bookings-page.js +9 -0
- package/dist/components/file-dropzone.d.ts +25 -0
- package/dist/components/file-dropzone.d.ts.map +1 -0
- package/dist/components/file-dropzone.js +102 -0
- package/dist/components/icon-action-button.d.ts +18 -0
- package/dist/components/icon-action-button.d.ts.map +1 -0
- package/dist/components/icon-action-button.js +13 -0
- package/dist/components/option-units-stepper-section.d.ts +111 -0
- package/dist/components/option-units-stepper-section.d.ts.map +1 -0
- package/dist/components/option-units-stepper-section.js +276 -0
- package/dist/components/payment-schedule-section.d.ts +91 -0
- package/dist/components/payment-schedule-section.d.ts.map +1 -0
- package/dist/components/payment-schedule-section.js +206 -0
- package/dist/components/person-picker-section.d.ts +71 -0
- package/dist/components/person-picker-section.d.ts.map +1 -0
- package/dist/components/person-picker-section.js +160 -0
- package/dist/components/price-breakdown-section.d.ts +83 -0
- package/dist/components/price-breakdown-section.d.ts.map +1 -0
- package/dist/components/price-breakdown-section.js +278 -0
- package/dist/components/product-picker-section.d.ts +29 -0
- package/dist/components/product-picker-section.d.ts.map +1 -0
- package/dist/components/product-picker-section.js +74 -0
- package/dist/components/shared-room-section.d.ts +40 -0
- package/dist/components/shared-room-section.d.ts.map +1 -0
- package/dist/components/shared-room-section.js +99 -0
- package/dist/components/status-badge.d.ts +24 -0
- package/dist/components/status-badge.d.ts.map +1 -0
- package/dist/components/status-badge.js +65 -0
- package/dist/components/status-change-dialog.d.ts +10 -0
- package/dist/components/status-change-dialog.d.ts.map +1 -0
- package/dist/components/status-change-dialog.js +57 -0
- package/dist/components/supplier-status-dialog.d.ts +10 -0
- package/dist/components/supplier-status-dialog.d.ts.map +1 -0
- package/dist/components/supplier-status-dialog.js +98 -0
- package/dist/components/supplier-status-list.d.ts +5 -0
- package/dist/components/supplier-status-list.d.ts.map +1 -0
- package/dist/components/supplier-status-list.js +115 -0
- package/dist/components/traveler-category-buttons.d.ts +26 -0
- package/dist/components/traveler-category-buttons.d.ts.map +1 -0
- package/dist/components/traveler-category-buttons.js +35 -0
- package/dist/components/traveler-dialog.d.ts +10 -0
- package/dist/components/traveler-dialog.d.ts.map +1 -0
- package/dist/components/traveler-dialog.js +256 -0
- package/dist/components/traveler-list.d.ts +6 -0
- package/dist/components/traveler-list.d.ts.map +1 -0
- package/dist/components/traveler-list.js +295 -0
- package/dist/components/travelers-section-controls.d.ts +52 -0
- package/dist/components/travelers-section-controls.d.ts.map +1 -0
- package/dist/components/travelers-section-controls.js +206 -0
- package/dist/components/travelers-section.d.ts +159 -0
- package/dist/components/travelers-section.d.ts.map +1 -0
- package/dist/components/travelers-section.js +355 -0
- package/dist/components/voucher-picker-section.d.ts +50 -0
- package/dist/components/voucher-picker-section.d.ts.map +1 -0
- package/dist/components/voucher-picker-section.js +79 -0
- package/dist/extras/client.d.ts +14 -0
- package/dist/extras/client.d.ts.map +1 -0
- package/dist/extras/client.js +58 -0
- package/dist/extras/components/extra-catalog-card.d.ts +13 -0
- package/dist/extras/components/extra-catalog-card.d.ts.map +1 -0
- package/dist/extras/components/extra-catalog-card.js +52 -0
- package/dist/extras/components/product-combobox.d.ts +9 -0
- package/dist/extras/components/product-combobox.d.ts.map +1 -0
- package/dist/extras/components/product-combobox.js +46 -0
- package/dist/extras/components/slot-extras-manifest-panel.d.ts +6 -0
- package/dist/extras/components/slot-extras-manifest-panel.d.ts.map +1 -0
- package/dist/extras/components/slot-extras-manifest-panel.js +108 -0
- package/dist/extras/hooks/index.d.ts +5 -0
- package/dist/extras/hooks/index.d.ts.map +1 -0
- package/dist/extras/hooks/index.js +4 -0
- package/dist/extras/hooks/use-product-extra.d.ts +24 -0
- package/dist/extras/hooks/use-product-extra.d.ts.map +1 -0
- package/dist/extras/hooks/use-product-extra.js +12 -0
- package/dist/extras/hooks/use-product-extras.d.ts +30 -0
- package/dist/extras/hooks/use-product-extras.d.ts.map +1 -0
- package/dist/extras/hooks/use-product-extras.js +12 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +48 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts.map +1 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.js +26 -0
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts +68 -0
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts.map +1 -0
- package/dist/extras/hooks/use-slot-extra-manifest.js +11 -0
- package/dist/extras/i18n/en.d.ts +52 -0
- package/dist/extras/i18n/en.d.ts.map +1 -0
- package/dist/extras/i18n/en.js +51 -0
- package/dist/extras/i18n/index.d.ts +5 -0
- package/dist/extras/i18n/index.d.ts.map +1 -0
- package/dist/extras/i18n/index.js +3 -0
- package/dist/extras/i18n/messages.d.ts +37 -0
- package/dist/extras/i18n/messages.d.ts.map +1 -0
- package/dist/extras/i18n/messages.js +1 -0
- package/dist/extras/i18n/provider.d.ts +126 -0
- package/dist/extras/i18n/provider.d.ts.map +1 -0
- package/dist/extras/i18n/provider.js +44 -0
- package/dist/extras/i18n/ro.d.ts +52 -0
- package/dist/extras/i18n/ro.d.ts.map +1 -0
- package/dist/extras/i18n/ro.js +51 -0
- package/dist/extras/index.d.ts +7 -0
- package/dist/extras/index.d.ts.map +1 -0
- package/dist/extras/index.js +6 -0
- package/dist/extras/provider.d.ts +2 -0
- package/dist/extras/provider.d.ts.map +1 -0
- package/dist/extras/provider.js +1 -0
- package/dist/extras/query-keys.d.ts +16 -0
- package/dist/extras/query-keys.d.ts.map +1 -0
- package/dist/extras/query-keys.js +8 -0
- package/dist/extras/query-options.d.ts +455 -0
- package/dist/extras/query-options.d.ts.map +1 -0
- package/dist/extras/query-options.js +44 -0
- package/dist/extras/schemas.d.ts +416 -0
- package/dist/extras/schemas.d.ts.map +1 -0
- package/dist/extras/schemas.js +89 -0
- package/dist/extras/ui.d.ts +4 -0
- package/dist/extras/ui.d.ts.map +1 -0
- package/dist/extras/ui.js +3 -0
- package/dist/extras.d.ts +10 -0
- package/dist/extras.d.ts.map +1 -0
- package/dist/extras.js +9 -0
- package/dist/hooks/index.d.ts +36 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +35 -0
- package/dist/hooks/use-booking-action-ledger.d.ts +63 -0
- package/dist/hooks/use-booking-action-ledger.d.ts.map +1 -0
- package/dist/hooks/use-booking-action-ledger.js +34 -0
- package/dist/hooks/use-booking-activity.d.ts +17 -0
- package/dist/hooks/use-booking-activity.d.ts.map +1 -0
- package/dist/hooks/use-booking-activity.js +12 -0
- package/dist/hooks/use-booking-cancel-mutation.d.ts +69 -0
- package/dist/hooks/use-booking-cancel-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-cancel-mutation.js +24 -0
- package/dist/hooks/use-booking-contract-generation.d.ts +31 -0
- package/dist/hooks/use-booking-contract-generation.d.ts.map +1 -0
- package/dist/hooks/use-booking-contract-generation.js +36 -0
- package/dist/hooks/use-booking-convert-mutation.d.ts +81 -0
- package/dist/hooks/use-booking-convert-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-convert-mutation.js +24 -0
- package/dist/hooks/use-booking-create-mutation.d.ts +337 -0
- package/dist/hooks/use-booking-create-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-create-mutation.js +43 -0
- package/dist/hooks/use-booking-documents.d.ts +41 -0
- package/dist/hooks/use-booking-documents.d.ts.map +1 -0
- package/dist/hooks/use-booking-documents.js +46 -0
- package/dist/hooks/use-booking-dual-create-mutation.d.ts +338 -0
- package/dist/hooks/use-booking-dual-create-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-dual-create-mutation.js +45 -0
- package/dist/hooks/use-booking-group-for-booking.d.ts +24 -0
- package/dist/hooks/use-booking-group-for-booking.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-for-booking.js +12 -0
- package/dist/hooks/use-booking-group-member-mutation.d.ts +27 -0
- package/dist/hooks/use-booking-group-member-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-member-mutation.js +38 -0
- package/dist/hooks/use-booking-group-mutation.d.ts +40 -0
- package/dist/hooks/use-booking-group-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-mutation.js +32 -0
- package/dist/hooks/use-booking-group.d.ts +85 -0
- package/dist/hooks/use-booking-group.d.ts.map +1 -0
- package/dist/hooks/use-booking-group.js +12 -0
- package/dist/hooks/use-booking-groups.d.ts +21 -0
- package/dist/hooks/use-booking-groups.d.ts.map +1 -0
- package/dist/hooks/use-booking-groups.js +12 -0
- package/dist/hooks/use-booking-item-mutation.d.ts +101 -0
- package/dist/hooks/use-booking-item-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-item-mutation.js +42 -0
- package/dist/hooks/use-booking-item-travelers.d.ts +32 -0
- package/dist/hooks/use-booking-item-travelers.d.ts.map +1 -0
- package/dist/hooks/use-booking-item-travelers.js +48 -0
- package/dist/hooks/use-booking-items.d.ts +36 -0
- package/dist/hooks/use-booking-items.d.ts.map +1 -0
- package/dist/hooks/use-booking-items.js +12 -0
- package/dist/hooks/use-booking-mutation.d.ts +158 -0
- package/dist/hooks/use-booking-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-mutation.js +39 -0
- package/dist/hooks/use-booking-note-mutation.d.ts +39 -0
- package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-note-mutation.js +44 -0
- package/dist/hooks/use-booking-notes.d.ts +15 -0
- package/dist/hooks/use-booking-notes.d.ts.map +1 -0
- package/dist/hooks/use-booking-notes.js +12 -0
- package/dist/hooks/use-booking-primary-product.d.ts +28 -0
- package/dist/hooks/use-booking-primary-product.d.ts.map +1 -0
- package/dist/hooks/use-booking-primary-product.js +20 -0
- package/dist/hooks/use-booking-status-mutation.d.ts +156 -0
- package/dist/hooks/use-booking-status-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-status-mutation.js +54 -0
- package/dist/hooks/use-booking-tax-preview.d.ts +29 -0
- package/dist/hooks/use-booking-tax-preview.d.ts.map +1 -0
- package/dist/hooks/use-booking-tax-preview.js +21 -0
- package/dist/hooks/use-booking.d.ts +67 -0
- package/dist/hooks/use-booking.d.ts.map +1 -0
- package/dist/hooks/use-booking.js +12 -0
- package/dist/hooks/use-bookings.d.ts +71 -0
- package/dist/hooks/use-bookings.d.ts.map +1 -0
- package/dist/hooks/use-bookings.js +12 -0
- package/dist/hooks/use-pricing-preview.d.ts +61 -0
- package/dist/hooks/use-pricing-preview.d.ts.map +1 -0
- package/dist/hooks/use-pricing-preview.js +18 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +148 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.js +35 -0
- package/dist/hooks/use-public-booking-session-state.d.ts +16 -0
- package/dist/hooks/use-public-booking-session-state.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session-state.js +12 -0
- package/dist/hooks/use-public-booking-session.d.ts +101 -0
- package/dist/hooks/use-public-booking-session.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session.js +12 -0
- package/dist/hooks/use-reveal-traveler.d.ts +54 -0
- package/dist/hooks/use-reveal-traveler.d.ts.map +1 -0
- package/dist/hooks/use-reveal-traveler.js +18 -0
- package/dist/hooks/use-sharing-groups.d.ts +41 -0
- package/dist/hooks/use-sharing-groups.d.ts.map +1 -0
- package/dist/hooks/use-sharing-groups.js +20 -0
- package/dist/hooks/use-supplier-status-mutation.d.ts +46 -0
- package/dist/hooks/use-supplier-status-mutation.d.ts.map +1 -0
- package/dist/hooks/use-supplier-status-mutation.js +39 -0
- package/dist/hooks/use-supplier-statuses.d.ts +20 -0
- package/dist/hooks/use-supplier-statuses.d.ts.map +1 -0
- package/dist/hooks/use-supplier-statuses.js +12 -0
- package/dist/hooks/use-traveler-mutation.d.ts +55 -0
- package/dist/hooks/use-traveler-mutation.d.ts.map +1 -0
- package/dist/hooks/use-traveler-mutation.js +42 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts +120 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts.map +1 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.js +43 -0
- package/dist/hooks/use-travelers.d.ts +23 -0
- package/dist/hooks/use-travelers.d.ts.map +1 -0
- package/dist/hooks/use-travelers.js +12 -0
- package/dist/i18n/en-base.d.ts +295 -0
- package/dist/i18n/en-base.d.ts.map +1 -0
- package/dist/i18n/en-base.js +294 -0
- package/dist/i18n/en-create-list.d.ts +327 -0
- package/dist/i18n/en-create-list.d.ts.map +1 -0
- package/dist/i18n/en-create-list.js +326 -0
- package/dist/i18n/en-journey.d.ts +229 -0
- package/dist/i18n/en-journey.d.ts.map +1 -0
- package/dist/i18n/en-journey.js +228 -0
- package/dist/i18n/en-operations.d.ts +382 -0
- package/dist/i18n/en-operations.d.ts.map +1 -0
- package/dist/i18n/en-operations.js +381 -0
- package/dist/i18n/en-sections.d.ts +360 -0
- package/dist/i18n/en-sections.d.ts.map +1 -0
- package/dist/i18n/en-sections.js +359 -0
- package/dist/i18n/en.d.ts +1581 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +12 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/messages-base.d.ts +251 -0
- package/dist/i18n/messages-base.d.ts.map +1 -0
- package/dist/i18n/messages-base.js +1 -0
- package/dist/i18n/messages-create-list.d.ts +310 -0
- package/dist/i18n/messages-create-list.d.ts.map +1 -0
- package/dist/i18n/messages-create-list.js +1 -0
- package/dist/i18n/messages-journey.d.ts +198 -0
- package/dist/i18n/messages-journey.d.ts.map +1 -0
- package/dist/i18n/messages-journey.js +1 -0
- package/dist/i18n/messages-operations.d.ts +362 -0
- package/dist/i18n/messages-operations.d.ts.map +1 -0
- package/dist/i18n/messages-operations.js +1 -0
- package/dist/i18n/messages-sections.d.ts +312 -0
- package/dist/i18n/messages-sections.d.ts.map +1 -0
- package/dist/i18n/messages-sections.js +1 -0
- package/dist/i18n/messages.d.ts +7 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/provider.d.ts +3185 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +45 -0
- package/dist/i18n/ro-base.d.ts +295 -0
- package/dist/i18n/ro-base.d.ts.map +1 -0
- package/dist/i18n/ro-base.js +294 -0
- package/dist/i18n/ro-create-list.d.ts +327 -0
- package/dist/i18n/ro-create-list.d.ts.map +1 -0
- package/dist/i18n/ro-create-list.js +326 -0
- package/dist/i18n/ro-journey.d.ts +229 -0
- package/dist/i18n/ro-journey.d.ts.map +1 -0
- package/dist/i18n/ro-journey.js +228 -0
- package/dist/i18n/ro-operations.d.ts +382 -0
- package/dist/i18n/ro-operations.d.ts.map +1 -0
- package/dist/i18n/ro-operations.js +381 -0
- package/dist/i18n/ro-sections.d.ts +360 -0
- package/dist/i18n/ro-sections.d.ts.map +1 -0
- package/dist/i18n/ro-sections.js +359 -0
- package/dist/i18n/ro.d.ts +1581 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +12 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/journey/components/booking-journey-rules.d.ts +48 -0
- package/dist/journey/components/booking-journey-rules.d.ts.map +1 -0
- package/dist/journey/components/booking-journey-rules.js +235 -0
- package/dist/journey/components/booking-journey.d.ts +3 -0
- package/dist/journey/components/booking-journey.d.ts.map +1 -0
- package/dist/journey/components/booking-journey.js +368 -0
- package/dist/journey/components/configure-step-skeleton.d.ts +8 -0
- package/dist/journey/components/configure-step-skeleton.d.ts.map +1 -0
- package/dist/journey/components/configure-step-skeleton.js +11 -0
- package/dist/journey/components/contract-preview-dialog.d.ts +47 -0
- package/dist/journey/components/contract-preview-dialog.d.ts.map +1 -0
- package/dist/journey/components/contract-preview-dialog.js +124 -0
- package/dist/journey/components/journey-steps/accommodation-step.d.ts +3 -0
- package/dist/journey/components/journey-steps/accommodation-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/accommodation-step.js +71 -0
- package/dist/journey/components/journey-steps/addons-step.d.ts +3 -0
- package/dist/journey/components/journey-steps/addons-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/addons-step.js +40 -0
- package/dist/journey/components/journey-steps/billing-step.d.ts +8 -0
- package/dist/journey/components/journey-steps/billing-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/billing-step.js +78 -0
- package/dist/journey/components/journey-steps/configure-steps.d.ts +28 -0
- package/dist/journey/components/journey-steps/configure-steps.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/configure-steps.js +232 -0
- package/dist/journey/components/journey-steps/documents-step.d.ts +11 -0
- package/dist/journey/components/journey-steps/documents-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/documents-step.js +36 -0
- package/dist/journey/components/journey-steps/payment-step.d.ts +29 -0
- package/dist/journey/components/journey-steps/payment-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/payment-step.js +225 -0
- package/dist/journey/components/journey-steps/review-step.d.ts +27 -0
- package/dist/journey/components/journey-steps/review-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/review-step.js +18 -0
- package/dist/journey/components/journey-steps/shared.d.ts +75 -0
- package/dist/journey/components/journey-steps/shared.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/shared.js +108 -0
- package/dist/journey/components/journey-steps/travelers-step.d.ts +7 -0
- package/dist/journey/components/journey-steps/travelers-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/travelers-step.js +201 -0
- package/dist/journey/components/journey-steps.d.ts +21 -0
- package/dist/journey/components/journey-steps.d.ts.map +1 -0
- package/dist/journey/components/journey-steps.js +20 -0
- package/dist/journey/components/side-panel.d.ts +17 -0
- package/dist/journey/components/side-panel.d.ts.map +1 -0
- package/dist/journey/components/side-panel.js +245 -0
- package/dist/journey/components/stacked-journey.d.ts +30 -0
- package/dist/journey/components/stacked-journey.d.ts.map +1 -0
- package/dist/journey/components/stacked-journey.js +50 -0
- package/dist/journey/components/step-header.d.ts +7 -0
- package/dist/journey/components/step-header.d.ts.map +1 -0
- package/dist/journey/components/step-header.js +12 -0
- package/dist/journey/index.d.ts +18 -0
- package/dist/journey/index.d.ts.map +1 -0
- package/dist/journey/index.js +17 -0
- package/dist/journey/lib/draft-state.d.ts +35 -0
- package/dist/journey/lib/draft-state.d.ts.map +1 -0
- package/dist/journey/lib/draft-state.js +57 -0
- package/dist/journey/lib/pax-band-dependencies.d.ts +27 -0
- package/dist/journey/lib/pax-band-dependencies.d.ts.map +1 -0
- package/dist/journey/lib/pax-band-dependencies.js +50 -0
- package/dist/journey/lib/payment-schedule.d.ts +19 -0
- package/dist/journey/lib/payment-schedule.d.ts.map +1 -0
- package/dist/journey/lib/payment-schedule.js +90 -0
- package/dist/journey/types.d.ts +403 -0
- package/dist/journey/types.d.ts.map +1 -0
- package/dist/journey/types.js +19 -0
- package/dist/provider.d.ts +2 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +1 -0
- package/dist/query-keys.d.ts +74 -0
- package/dist/query-keys.d.ts.map +1 -0
- package/dist/query-keys.js +26 -0
- package/dist/query-options.d.ts +2534 -0
- package/dist/query-options.d.ts.map +1 -0
- package/dist/query-options.js +233 -0
- package/dist/requirements/client.d.ts +14 -0
- package/dist/requirements/client.d.ts.map +1 -0
- package/dist/requirements/client.js +59 -0
- package/dist/requirements/components/booking-requirements-contact-tab.d.ts +8 -0
- package/dist/requirements/components/booking-requirements-contact-tab.d.ts.map +1 -0
- package/dist/requirements/components/booking-requirements-contact-tab.js +8 -0
- package/dist/requirements/components/booking-requirements-questions-tab.d.ts +14 -0
- package/dist/requirements/components/booking-requirements-questions-tab.d.ts.map +1 -0
- package/dist/requirements/components/booking-requirements-questions-tab.js +17 -0
- package/dist/requirements/constants.d.ts +114 -0
- package/dist/requirements/constants.d.ts.map +1 -0
- package/dist/requirements/constants.js +45 -0
- package/dist/requirements/hooks/index.d.ts +6 -0
- package/dist/requirements/hooks/index.d.ts.map +1 -0
- package/dist/requirements/hooks/index.js +6 -0
- package/dist/requirements/hooks/use-booking-questions.d.ts +24 -0
- package/dist/requirements/hooks/use-booking-questions.d.ts.map +1 -0
- package/dist/requirements/hooks/use-booking-questions.js +9 -0
- package/dist/requirements/hooks/use-contact-requirements.d.ts +22 -0
- package/dist/requirements/hooks/use-contact-requirements.d.ts.map +1 -0
- package/dist/requirements/hooks/use-contact-requirements.js +9 -0
- package/dist/requirements/hooks/use-products.d.ts +16 -0
- package/dist/requirements/hooks/use-products.d.ts.map +1 -0
- package/dist/requirements/hooks/use-products.js +9 -0
- package/dist/requirements/hooks/use-question-options.d.ts +19 -0
- package/dist/requirements/hooks/use-question-options.d.ts.map +1 -0
- package/dist/requirements/hooks/use-question-options.js +9 -0
- package/dist/requirements/hooks/use-transport-requirements.d.ts +30 -0
- package/dist/requirements/hooks/use-transport-requirements.d.ts.map +1 -0
- package/dist/requirements/hooks/use-transport-requirements.js +9 -0
- package/dist/requirements/i18n/en.d.ts +94 -0
- package/dist/requirements/i18n/en.d.ts.map +1 -0
- package/dist/requirements/i18n/en.js +93 -0
- package/dist/requirements/i18n/index.d.ts +5 -0
- package/dist/requirements/i18n/index.d.ts.map +1 -0
- package/dist/requirements/i18n/index.js +3 -0
- package/dist/requirements/i18n/messages.d.ts +59 -0
- package/dist/requirements/i18n/messages.d.ts.map +1 -0
- package/dist/requirements/i18n/messages.js +1 -0
- package/dist/requirements/i18n/provider.d.ts +210 -0
- package/dist/requirements/i18n/provider.d.ts.map +1 -0
- package/dist/requirements/i18n/provider.js +44 -0
- package/dist/requirements/i18n/ro.d.ts +94 -0
- package/dist/requirements/i18n/ro.d.ts.map +1 -0
- package/dist/requirements/i18n/ro.js +93 -0
- package/dist/requirements/index.d.ts +9 -0
- package/dist/requirements/index.d.ts.map +1 -0
- package/dist/requirements/index.js +8 -0
- package/dist/requirements/provider.d.ts +2 -0
- package/dist/requirements/provider.d.ts.map +1 -0
- package/dist/requirements/provider.js +1 -0
- package/dist/requirements/query-keys.d.ts +33 -0
- package/dist/requirements/query-keys.d.ts.map +1 -0
- package/dist/requirements/query-keys.js +13 -0
- package/dist/requirements/query-options.d.ts +371 -0
- package/dist/requirements/query-options.d.ts.map +1 -0
- package/dist/requirements/query-options.js +80 -0
- package/dist/requirements/schemas.d.ts +320 -0
- package/dist/requirements/schemas.d.ts.map +1 -0
- package/dist/requirements/schemas.js +121 -0
- package/dist/requirements/ui.d.ts +4 -0
- package/dist/requirements/ui.d.ts.map +1 -0
- package/dist/requirements/ui.js +3 -0
- package/dist/requirements/utils.d.ts +2 -0
- package/dist/requirements/utils.d.ts.map +1 -0
- package/dist/requirements/utils.js +4 -0
- package/dist/schemas.d.ts +2070 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +507 -0
- package/dist/status-presentation.d.ts +34 -0
- package/dist/status-presentation.d.ts.map +1 -0
- package/dist/status-presentation.js +38 -0
- package/dist/ui.d.ts +43 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +42 -0
- package/package.json +256 -0
- package/src/requirements/styles.css +1 -0
- package/src/styles.css +13 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ContactRequirementsListFilters } from "../query-keys.js";
|
|
2
|
+
export interface UseContactRequirementsOptions extends ContactRequirementsListFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useContactRequirements(options?: UseContactRequirementsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
id: string;
|
|
8
|
+
productId: string;
|
|
9
|
+
optionId: string | null;
|
|
10
|
+
fieldKey: "address" | "email" | "other" | "phone" | "nationality" | "first_name" | "last_name" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests";
|
|
11
|
+
scope: "booking" | "traveler" | "lead_traveler" | "booker";
|
|
12
|
+
isRequired: boolean;
|
|
13
|
+
perTraveler: boolean;
|
|
14
|
+
active: boolean;
|
|
15
|
+
sortOrder: number;
|
|
16
|
+
notes: string | null;
|
|
17
|
+
}[];
|
|
18
|
+
total: number;
|
|
19
|
+
limit: number;
|
|
20
|
+
offset: number;
|
|
21
|
+
}, Error>;
|
|
22
|
+
//# sourceMappingURL=use-contact-requirements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-contact-requirements.d.ts","sourceRoot":"","sources":["../../../src/requirements/hooks/use-contact-requirements.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAA;AAGtE,MAAM,WAAW,6BAA8B,SAAQ,8BAA8B;IACnF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,6BAAkC;;;;;;;;;;;;;;;;UAIjF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantBookingRequirementsContext } from "../provider.js";
|
|
4
|
+
import { getContactRequirementsQueryOptions } from "../query-options.js";
|
|
5
|
+
export function useContactRequirements(options = {}) {
|
|
6
|
+
const client = useVoyantBookingRequirementsContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({ ...getContactRequirementsQueryOptions(client, options), enabled });
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ProductsListFilters } from "../query-keys.js";
|
|
2
|
+
export interface UseProductsOptions extends ProductsListFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useProducts(options?: UseProductsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
code: string | null;
|
|
10
|
+
status: string;
|
|
11
|
+
}[];
|
|
12
|
+
total: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
offset: number;
|
|
15
|
+
}, Error>;
|
|
16
|
+
//# sourceMappingURL=use-products.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-products.d.ts","sourceRoot":"","sources":["../../../src/requirements/hooks/use-products.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAG3D,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,WAAW,CAAC,OAAO,GAAE,kBAAuB;;;;;;;;;;UAI3D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantBookingRequirementsContext } from "../provider.js";
|
|
4
|
+
import { getProductsQueryOptions } from "../query-options.js";
|
|
5
|
+
export function useProducts(options = {}) {
|
|
6
|
+
const client = useVoyantBookingRequirementsContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({ ...getProductsQueryOptions(client, options), enabled });
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BookingQuestionOptionsListFilters } from "../query-keys.js";
|
|
2
|
+
export interface UseQuestionOptionsOptions extends BookingQuestionOptionsListFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useQuestionOptions(options?: UseQuestionOptionsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
id: string;
|
|
8
|
+
productBookingQuestionId: string;
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
sortOrder: number;
|
|
12
|
+
isDefault: boolean;
|
|
13
|
+
active: boolean;
|
|
14
|
+
}[];
|
|
15
|
+
total: number;
|
|
16
|
+
limit: number;
|
|
17
|
+
offset: number;
|
|
18
|
+
}, Error>;
|
|
19
|
+
//# sourceMappingURL=use-question-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-question-options.d.ts","sourceRoot":"","sources":["../../../src/requirements/hooks/use-question-options.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kBAAkB,CAAA;AAGzE,MAAM,WAAW,yBAA0B,SAAQ,iCAAiC;IAClF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,yBAA8B;;;;;;;;;;;;;UAIzE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantBookingRequirementsContext } from "../provider.js";
|
|
4
|
+
import { getQuestionOptionsQueryOptions } from "../query-options.js";
|
|
5
|
+
export function useQuestionOptions(options = {}) {
|
|
6
|
+
const client = useVoyantBookingRequirementsContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({ ...getQuestionOptionsQueryOptions(client, options), enabled });
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TransportRequirementsFilters } from "../query-keys.js";
|
|
2
|
+
export interface UseTransportRequirementsOptions extends TransportRequirementsFilters {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useTransportRequirements(options: UseTransportRequirementsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
|
+
data: {
|
|
7
|
+
productId: string;
|
|
8
|
+
optionId: string | null;
|
|
9
|
+
hasTransport: boolean;
|
|
10
|
+
requiresPassengerDocuments: boolean;
|
|
11
|
+
requiresPassport: boolean;
|
|
12
|
+
requiresNationality: boolean;
|
|
13
|
+
requiresDateOfBirth: boolean;
|
|
14
|
+
requiredFields: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
15
|
+
fieldsByScope: {
|
|
16
|
+
booking: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
17
|
+
lead_traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
18
|
+
traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
19
|
+
booker: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
20
|
+
};
|
|
21
|
+
requirements: {
|
|
22
|
+
fieldKey: "nationality" | "date_of_birth" | "passport_number" | "passport_expiry";
|
|
23
|
+
scope: "booking" | "traveler" | "lead_traveler" | "booker";
|
|
24
|
+
isRequired: boolean;
|
|
25
|
+
perTraveler: boolean;
|
|
26
|
+
notes: string | null;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
}, Error>;
|
|
30
|
+
//# sourceMappingURL=use-transport-requirements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-transport-requirements.d.ts","sourceRoot":"","sources":["../../../src/requirements/hooks/use-transport-requirements.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAGpE,MAAM,WAAW,+BAAgC,SAAQ,4BAA4B;IACnF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;UAIhF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantBookingRequirementsContext } from "../provider.js";
|
|
4
|
+
import { getTransportRequirementsQueryOptions } from "../query-options.js";
|
|
5
|
+
export function useTransportRequirements(options) {
|
|
6
|
+
const client = useVoyantBookingRequirementsContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({ ...getTransportRequirementsQueryOptions(client, options), enabled });
|
|
9
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export declare const bookingRequirementsUiEn: {
|
|
2
|
+
common: {
|
|
3
|
+
edit: string;
|
|
4
|
+
delete: string;
|
|
5
|
+
add: string;
|
|
6
|
+
show: string;
|
|
7
|
+
hide: string;
|
|
8
|
+
required: string;
|
|
9
|
+
optional: string;
|
|
10
|
+
yes: string;
|
|
11
|
+
no: string;
|
|
12
|
+
active: string;
|
|
13
|
+
inactive: string;
|
|
14
|
+
default: string;
|
|
15
|
+
fieldKeyLabels: {
|
|
16
|
+
first_name: string;
|
|
17
|
+
last_name: string;
|
|
18
|
+
email: string;
|
|
19
|
+
phone: string;
|
|
20
|
+
date_of_birth: string;
|
|
21
|
+
nationality: string;
|
|
22
|
+
passport_number: string;
|
|
23
|
+
passport_expiry: string;
|
|
24
|
+
dietary_requirements: string;
|
|
25
|
+
accessibility_needs: string;
|
|
26
|
+
special_requests: string;
|
|
27
|
+
address: string;
|
|
28
|
+
other: string;
|
|
29
|
+
};
|
|
30
|
+
scopeLabels: {
|
|
31
|
+
booking: string;
|
|
32
|
+
lead_traveler: string;
|
|
33
|
+
traveler: string;
|
|
34
|
+
booker: string;
|
|
35
|
+
};
|
|
36
|
+
questionTargetLabels: {
|
|
37
|
+
booking: string;
|
|
38
|
+
traveler: string;
|
|
39
|
+
lead_traveler: string;
|
|
40
|
+
booker: string;
|
|
41
|
+
extra: string;
|
|
42
|
+
service: string;
|
|
43
|
+
};
|
|
44
|
+
questionFieldTypeLabels: {
|
|
45
|
+
text: string;
|
|
46
|
+
textarea: string;
|
|
47
|
+
number: string;
|
|
48
|
+
email: string;
|
|
49
|
+
phone: string;
|
|
50
|
+
date: string;
|
|
51
|
+
datetime: string;
|
|
52
|
+
boolean: string;
|
|
53
|
+
single_select: string;
|
|
54
|
+
multi_select: string;
|
|
55
|
+
file: string;
|
|
56
|
+
country: string;
|
|
57
|
+
other: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
contactTab: {
|
|
61
|
+
title: string;
|
|
62
|
+
description: string;
|
|
63
|
+
addRequirement: string;
|
|
64
|
+
empty: string;
|
|
65
|
+
columns: {
|
|
66
|
+
field: string;
|
|
67
|
+
scope: string;
|
|
68
|
+
required: string;
|
|
69
|
+
perTraveler: string;
|
|
70
|
+
sort: string;
|
|
71
|
+
status: string;
|
|
72
|
+
actions: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
questionsTab: {
|
|
76
|
+
title: string;
|
|
77
|
+
description: string;
|
|
78
|
+
addQuestion: string;
|
|
79
|
+
empty: string;
|
|
80
|
+
choiceTypesHint: string;
|
|
81
|
+
choices: string;
|
|
82
|
+
addChoice: string;
|
|
83
|
+
noChoices: string;
|
|
84
|
+
columns: {
|
|
85
|
+
sort: string;
|
|
86
|
+
value: string;
|
|
87
|
+
label: string;
|
|
88
|
+
default: string;
|
|
89
|
+
status: string;
|
|
90
|
+
actions: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=en.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/requirements/i18n/en.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FK,CAAA"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const bookingRequirementsUiEn = {
|
|
2
|
+
common: {
|
|
3
|
+
edit: "Edit",
|
|
4
|
+
delete: "Delete",
|
|
5
|
+
add: "Add",
|
|
6
|
+
show: "Show",
|
|
7
|
+
hide: "Hide",
|
|
8
|
+
required: "Required",
|
|
9
|
+
optional: "Optional",
|
|
10
|
+
yes: "Yes",
|
|
11
|
+
no: "No",
|
|
12
|
+
active: "Active",
|
|
13
|
+
inactive: "Inactive",
|
|
14
|
+
default: "Default",
|
|
15
|
+
fieldKeyLabels: {
|
|
16
|
+
first_name: "First name",
|
|
17
|
+
last_name: "Last name",
|
|
18
|
+
email: "Email",
|
|
19
|
+
phone: "Phone",
|
|
20
|
+
date_of_birth: "Date of birth",
|
|
21
|
+
nationality: "Nationality",
|
|
22
|
+
passport_number: "Passport number",
|
|
23
|
+
passport_expiry: "Passport expiry",
|
|
24
|
+
dietary_requirements: "Dietary requirements",
|
|
25
|
+
accessibility_needs: "Accessibility needs",
|
|
26
|
+
special_requests: "Special requests",
|
|
27
|
+
address: "Address",
|
|
28
|
+
other: "Other",
|
|
29
|
+
},
|
|
30
|
+
scopeLabels: {
|
|
31
|
+
booking: "Booking",
|
|
32
|
+
lead_traveler: "Lead traveler",
|
|
33
|
+
traveler: "Traveler",
|
|
34
|
+
booker: "Booker",
|
|
35
|
+
},
|
|
36
|
+
questionTargetLabels: {
|
|
37
|
+
booking: "Booking",
|
|
38
|
+
traveler: "Traveler",
|
|
39
|
+
lead_traveler: "Lead traveler",
|
|
40
|
+
booker: "Booker",
|
|
41
|
+
extra: "Extra",
|
|
42
|
+
service: "Service",
|
|
43
|
+
},
|
|
44
|
+
questionFieldTypeLabels: {
|
|
45
|
+
text: "Text",
|
|
46
|
+
textarea: "Textarea",
|
|
47
|
+
number: "Number",
|
|
48
|
+
email: "Email",
|
|
49
|
+
phone: "Phone",
|
|
50
|
+
date: "Date",
|
|
51
|
+
datetime: "Date and time",
|
|
52
|
+
boolean: "Boolean",
|
|
53
|
+
single_select: "Single select",
|
|
54
|
+
multi_select: "Multi select",
|
|
55
|
+
file: "File",
|
|
56
|
+
country: "Country",
|
|
57
|
+
other: "Other",
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
contactTab: {
|
|
61
|
+
title: "Contact Requirements",
|
|
62
|
+
description: "Standard traveler fields collected at booking (name, email, passport, etc.).",
|
|
63
|
+
addRequirement: "Add Requirement",
|
|
64
|
+
empty: "No contact requirements yet. Add one to start collecting traveler data.",
|
|
65
|
+
columns: {
|
|
66
|
+
field: "Field",
|
|
67
|
+
scope: "Scope",
|
|
68
|
+
required: "Required",
|
|
69
|
+
perTraveler: "Per Traveler",
|
|
70
|
+
sort: "Sort",
|
|
71
|
+
status: "Status",
|
|
72
|
+
actions: "Actions",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
questionsTab: {
|
|
76
|
+
title: "Custom Questions",
|
|
77
|
+
description: "Product-specific questions asked at booking (dietary needs, preferences, etc.).",
|
|
78
|
+
addQuestion: "Add Question",
|
|
79
|
+
empty: "No questions yet. Add one to collect custom data at booking.",
|
|
80
|
+
choiceTypesHint: "Choice options only apply to single-select / multi-select field types.",
|
|
81
|
+
choices: "Choices",
|
|
82
|
+
addChoice: "Add Choice",
|
|
83
|
+
noChoices: "No choices yet.",
|
|
84
|
+
columns: {
|
|
85
|
+
sort: "Sort",
|
|
86
|
+
value: "Value",
|
|
87
|
+
label: "Label",
|
|
88
|
+
default: "Default",
|
|
89
|
+
status: "Status",
|
|
90
|
+
actions: "Actions",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { bookingRequirementsUiEn } from "./en.js";
|
|
2
|
+
export type { BookingRequirementsUiMessages, ContactFieldKey, ContactScope, QuestionFieldType, QuestionTarget, } from "./messages.js";
|
|
3
|
+
export { type BookingRequirementsUiMessageOverrides, BookingRequirementsUiMessagesProvider, bookingRequirementsUiMessageDefinitions, getBookingRequirementsUiI18n, resolveBookingRequirementsUiMessages, useBookingRequirementsUiI18n, useBookingRequirementsUiI18nOrDefault, useBookingRequirementsUiMessages, useBookingRequirementsUiMessagesOrDefault, } from "./provider.js";
|
|
4
|
+
export { bookingRequirementsUiRo } from "./ro.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/requirements/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACjD,YAAY,EACV,6BAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,cAAc,GACf,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,KAAK,qCAAqC,EAC1C,qCAAqC,EACrC,uCAAuC,EACvC,4BAA4B,EAC5B,oCAAoC,EACpC,4BAA4B,EAC5B,qCAAqC,EACrC,gCAAgC,EAChC,yCAAyC,GAC1C,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { bookingRequirementsUiEn } from "./en.js";
|
|
2
|
+
export { BookingRequirementsUiMessagesProvider, bookingRequirementsUiMessageDefinitions, getBookingRequirementsUiI18n, resolveBookingRequirementsUiMessages, useBookingRequirementsUiI18n, useBookingRequirementsUiI18nOrDefault, useBookingRequirementsUiMessages, useBookingRequirementsUiMessagesOrDefault, } from "./provider.js";
|
|
3
|
+
export { bookingRequirementsUiRo } from "./ro.js";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { BookingQuestion, ContactRequirement } from "../index.js";
|
|
2
|
+
export type ContactFieldKey = ContactRequirement["fieldKey"];
|
|
3
|
+
export type ContactScope = ContactRequirement["scope"];
|
|
4
|
+
export type QuestionTarget = BookingQuestion["target"];
|
|
5
|
+
export type QuestionFieldType = BookingQuestion["fieldType"];
|
|
6
|
+
export type BookingRequirementsUiMessages = {
|
|
7
|
+
common: {
|
|
8
|
+
edit: string;
|
|
9
|
+
delete: string;
|
|
10
|
+
add: string;
|
|
11
|
+
show: string;
|
|
12
|
+
hide: string;
|
|
13
|
+
required: string;
|
|
14
|
+
optional: string;
|
|
15
|
+
yes: string;
|
|
16
|
+
no: string;
|
|
17
|
+
active: string;
|
|
18
|
+
inactive: string;
|
|
19
|
+
default: string;
|
|
20
|
+
fieldKeyLabels: Record<ContactFieldKey, string>;
|
|
21
|
+
scopeLabels: Record<ContactScope, string>;
|
|
22
|
+
questionTargetLabels: Record<QuestionTarget, string>;
|
|
23
|
+
questionFieldTypeLabels: Record<QuestionFieldType, string>;
|
|
24
|
+
};
|
|
25
|
+
contactTab: {
|
|
26
|
+
title: string;
|
|
27
|
+
description: string;
|
|
28
|
+
addRequirement: string;
|
|
29
|
+
empty: string;
|
|
30
|
+
columns: {
|
|
31
|
+
field: string;
|
|
32
|
+
scope: string;
|
|
33
|
+
required: string;
|
|
34
|
+
perTraveler: string;
|
|
35
|
+
sort: string;
|
|
36
|
+
status: string;
|
|
37
|
+
actions: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
questionsTab: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
addQuestion: string;
|
|
44
|
+
empty: string;
|
|
45
|
+
choiceTypesHint: string;
|
|
46
|
+
choices: string;
|
|
47
|
+
addChoice: string;
|
|
48
|
+
noChoices: string;
|
|
49
|
+
columns: {
|
|
50
|
+
sort: string;
|
|
51
|
+
value: string;
|
|
52
|
+
label: string;
|
|
53
|
+
default: string;
|
|
54
|
+
status: string;
|
|
55
|
+
actions: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/requirements/i18n/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEtE,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAA;AAC5D,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAAA;AACtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAA;AACtD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,WAAW,CAAC,CAAA;AAE5D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;QAChB,GAAG,EAAE,MAAM,CAAA;QACX,EAAE,EAAE,MAAM,CAAA;QACV,MAAM,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,CAAA;QAChB,OAAO,EAAE,MAAM,CAAA;QACf,cAAc,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;QAC/C,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;QACzC,oBAAoB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;QACpD,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;KAC3D,CAAA;IACD,UAAU,EAAE;QACV,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,cAAc,EAAE,MAAM,CAAA;QACtB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE;YACP,KAAK,EAAE,MAAM,CAAA;YACb,KAAK,EAAE,MAAM,CAAA;YACb,QAAQ,EAAE,MAAM,CAAA;YAChB,WAAW,EAAE,MAAM,CAAA;YACnB,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;KACF,CAAA;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,WAAW,EAAE,MAAM,CAAA;QACnB,KAAK,EAAE,MAAM,CAAA;QACb,eAAe,EAAE,MAAM,CAAA;QACvB,OAAO,EAAE,MAAM,CAAA;QACf,SAAS,EAAE,MAAM,CAAA;QACjB,SAAS,EAAE,MAAM,CAAA;QACjB,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,KAAK,EAAE,MAAM,CAAA;YACb,OAAO,EAAE,MAAM,CAAA;YACf,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;KACF,CAAA;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { type LocaleMessageOverrides, type PackageI18nValue } from "@voyant-travel/i18n";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { BookingRequirementsUiMessages } from "./messages.js";
|
|
4
|
+
export declare const bookingRequirementsUiMessageDefinitions: {
|
|
5
|
+
en: {
|
|
6
|
+
common: {
|
|
7
|
+
edit: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
add: string;
|
|
10
|
+
show: string;
|
|
11
|
+
hide: string;
|
|
12
|
+
required: string;
|
|
13
|
+
optional: string;
|
|
14
|
+
yes: string;
|
|
15
|
+
no: string;
|
|
16
|
+
active: string;
|
|
17
|
+
inactive: string;
|
|
18
|
+
default: string;
|
|
19
|
+
fieldKeyLabels: {
|
|
20
|
+
first_name: string;
|
|
21
|
+
last_name: string;
|
|
22
|
+
email: string;
|
|
23
|
+
phone: string;
|
|
24
|
+
date_of_birth: string;
|
|
25
|
+
nationality: string;
|
|
26
|
+
passport_number: string;
|
|
27
|
+
passport_expiry: string;
|
|
28
|
+
dietary_requirements: string;
|
|
29
|
+
accessibility_needs: string;
|
|
30
|
+
special_requests: string;
|
|
31
|
+
address: string;
|
|
32
|
+
other: string;
|
|
33
|
+
};
|
|
34
|
+
scopeLabels: {
|
|
35
|
+
booking: string;
|
|
36
|
+
lead_traveler: string;
|
|
37
|
+
traveler: string;
|
|
38
|
+
booker: string;
|
|
39
|
+
};
|
|
40
|
+
questionTargetLabels: {
|
|
41
|
+
booking: string;
|
|
42
|
+
traveler: string;
|
|
43
|
+
lead_traveler: string;
|
|
44
|
+
booker: string;
|
|
45
|
+
extra: string;
|
|
46
|
+
service: string;
|
|
47
|
+
};
|
|
48
|
+
questionFieldTypeLabels: {
|
|
49
|
+
text: string;
|
|
50
|
+
textarea: string;
|
|
51
|
+
number: string;
|
|
52
|
+
email: string;
|
|
53
|
+
phone: string;
|
|
54
|
+
date: string;
|
|
55
|
+
datetime: string;
|
|
56
|
+
boolean: string;
|
|
57
|
+
single_select: string;
|
|
58
|
+
multi_select: string;
|
|
59
|
+
file: string;
|
|
60
|
+
country: string;
|
|
61
|
+
other: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
contactTab: {
|
|
65
|
+
title: string;
|
|
66
|
+
description: string;
|
|
67
|
+
addRequirement: string;
|
|
68
|
+
empty: string;
|
|
69
|
+
columns: {
|
|
70
|
+
field: string;
|
|
71
|
+
scope: string;
|
|
72
|
+
required: string;
|
|
73
|
+
perTraveler: string;
|
|
74
|
+
sort: string;
|
|
75
|
+
status: string;
|
|
76
|
+
actions: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
questionsTab: {
|
|
80
|
+
title: string;
|
|
81
|
+
description: string;
|
|
82
|
+
addQuestion: string;
|
|
83
|
+
empty: string;
|
|
84
|
+
choiceTypesHint: string;
|
|
85
|
+
choices: string;
|
|
86
|
+
addChoice: string;
|
|
87
|
+
noChoices: string;
|
|
88
|
+
columns: {
|
|
89
|
+
sort: string;
|
|
90
|
+
value: string;
|
|
91
|
+
label: string;
|
|
92
|
+
default: string;
|
|
93
|
+
status: string;
|
|
94
|
+
actions: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
ro: {
|
|
99
|
+
common: {
|
|
100
|
+
edit: string;
|
|
101
|
+
delete: string;
|
|
102
|
+
add: string;
|
|
103
|
+
show: string;
|
|
104
|
+
hide: string;
|
|
105
|
+
required: string;
|
|
106
|
+
optional: string;
|
|
107
|
+
yes: string;
|
|
108
|
+
no: string;
|
|
109
|
+
active: string;
|
|
110
|
+
inactive: string;
|
|
111
|
+
default: string;
|
|
112
|
+
fieldKeyLabels: {
|
|
113
|
+
first_name: string;
|
|
114
|
+
last_name: string;
|
|
115
|
+
email: string;
|
|
116
|
+
phone: string;
|
|
117
|
+
date_of_birth: string;
|
|
118
|
+
nationality: string;
|
|
119
|
+
passport_number: string;
|
|
120
|
+
passport_expiry: string;
|
|
121
|
+
dietary_requirements: string;
|
|
122
|
+
accessibility_needs: string;
|
|
123
|
+
special_requests: string;
|
|
124
|
+
address: string;
|
|
125
|
+
other: string;
|
|
126
|
+
};
|
|
127
|
+
scopeLabels: {
|
|
128
|
+
booking: string;
|
|
129
|
+
lead_traveler: string;
|
|
130
|
+
traveler: string;
|
|
131
|
+
booker: string;
|
|
132
|
+
};
|
|
133
|
+
questionTargetLabels: {
|
|
134
|
+
booking: string;
|
|
135
|
+
traveler: string;
|
|
136
|
+
lead_traveler: string;
|
|
137
|
+
booker: string;
|
|
138
|
+
extra: string;
|
|
139
|
+
service: string;
|
|
140
|
+
};
|
|
141
|
+
questionFieldTypeLabels: {
|
|
142
|
+
text: string;
|
|
143
|
+
textarea: string;
|
|
144
|
+
number: string;
|
|
145
|
+
email: string;
|
|
146
|
+
phone: string;
|
|
147
|
+
date: string;
|
|
148
|
+
datetime: string;
|
|
149
|
+
boolean: string;
|
|
150
|
+
single_select: string;
|
|
151
|
+
multi_select: string;
|
|
152
|
+
file: string;
|
|
153
|
+
country: string;
|
|
154
|
+
other: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
contactTab: {
|
|
158
|
+
title: string;
|
|
159
|
+
description: string;
|
|
160
|
+
addRequirement: string;
|
|
161
|
+
empty: string;
|
|
162
|
+
columns: {
|
|
163
|
+
field: string;
|
|
164
|
+
scope: string;
|
|
165
|
+
required: string;
|
|
166
|
+
perTraveler: string;
|
|
167
|
+
sort: string;
|
|
168
|
+
status: string;
|
|
169
|
+
actions: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
questionsTab: {
|
|
173
|
+
title: string;
|
|
174
|
+
description: string;
|
|
175
|
+
addQuestion: string;
|
|
176
|
+
empty: string;
|
|
177
|
+
choiceTypesHint: string;
|
|
178
|
+
choices: string;
|
|
179
|
+
addChoice: string;
|
|
180
|
+
noChoices: string;
|
|
181
|
+
columns: {
|
|
182
|
+
sort: string;
|
|
183
|
+
value: string;
|
|
184
|
+
label: string;
|
|
185
|
+
default: string;
|
|
186
|
+
status: string;
|
|
187
|
+
actions: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
export type BookingRequirementsUiMessageOverrides = LocaleMessageOverrides<BookingRequirementsUiMessages>;
|
|
193
|
+
export declare function resolveBookingRequirementsUiMessages({ locale, overrides, }: {
|
|
194
|
+
locale: string | null | undefined;
|
|
195
|
+
overrides?: BookingRequirementsUiMessageOverrides | null;
|
|
196
|
+
}): BookingRequirementsUiMessages;
|
|
197
|
+
export declare function getBookingRequirementsUiI18n({ locale, overrides, }: {
|
|
198
|
+
locale?: string | null | undefined;
|
|
199
|
+
overrides?: BookingRequirementsUiMessageOverrides | null;
|
|
200
|
+
}): PackageI18nValue<BookingRequirementsUiMessages>;
|
|
201
|
+
export declare function BookingRequirementsUiMessagesProvider({ children, locale, overrides, }: {
|
|
202
|
+
children: ReactNode;
|
|
203
|
+
locale: string | null | undefined;
|
|
204
|
+
overrides?: BookingRequirementsUiMessageOverrides | null;
|
|
205
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
206
|
+
export declare const useBookingRequirementsUiI18n: () => PackageI18nValue<BookingRequirementsUiMessages>;
|
|
207
|
+
export declare const useBookingRequirementsUiMessages: () => BookingRequirementsUiMessages;
|
|
208
|
+
export declare function useBookingRequirementsUiI18nOrDefault(): PackageI18nValue<BookingRequirementsUiMessages>;
|
|
209
|
+
export declare function useBookingRequirementsUiMessagesOrDefault(): BookingRequirementsUiMessages;
|
|
210
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/requirements/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAA;AAKlE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAEnE,MAAM,MAAM,qCAAqC,GAC/C,sBAAsB,CAAC,6BAA6B,CAAC,CAAA;AAWvD,wBAAgB,oCAAoC,CAAC,EACnD,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,qCAAqC,GAAG,IAAI,CAAA;CACzD,iCAOA;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,qCAAqC,GAAG,IAAI,CAAA;CACzD,GAAG,gBAAgB,CAAC,6BAA6B,CAAC,CASlD;AAED,wBAAgB,qCAAqC,CAAC,EACpD,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,qCAAqC,GAAG,IAAI,CAAA;CACzD,2CAWA;AAED,eAAO,MAAM,4BAA4B,uDAAuC,CAAA;AAChF,eAAO,MAAM,gCAAgC,qCAA2C,CAAA;AAExF,wBAAgB,qCAAqC,oDAEpD;AAED,wBAAgB,yCAAyC,kCAExD"}
|