@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,66 @@
|
|
|
1
|
+
import type { ProductRecord } from "@voyant-travel/inventory-react";
|
|
2
|
+
import type { BookingCreateItemLineInput } from "../index.js";
|
|
3
|
+
export type ProductPickerSearchRecord = Pick<ProductRecord, "description" | "name" | "sellCurrency">;
|
|
4
|
+
export interface DepartureSlotSearchRecord {
|
|
5
|
+
id: string;
|
|
6
|
+
optionId: string | null;
|
|
7
|
+
startsAt: string;
|
|
8
|
+
status?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BookingCreateUnitLineRecord {
|
|
11
|
+
optionId: string | null;
|
|
12
|
+
optionUnitId: string;
|
|
13
|
+
unitName: string;
|
|
14
|
+
}
|
|
15
|
+
export interface BookingCreatePricingLineRecord {
|
|
16
|
+
unitId: string;
|
|
17
|
+
pricingCategoryId?: string | null;
|
|
18
|
+
label: string;
|
|
19
|
+
unitAmountCents: number | null;
|
|
20
|
+
totalAmountCents: number | null;
|
|
21
|
+
quantity?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface BookingCreatePricingRecord {
|
|
24
|
+
confirmedAmountCents: number | null;
|
|
25
|
+
lines: BookingCreatePricingLineRecord[];
|
|
26
|
+
}
|
|
27
|
+
type BookingCreateStepperUnitType = "person" | "group" | "room" | "vehicle" | "service" | "other" | null;
|
|
28
|
+
export interface BookingCreateTravelerAssignableUnitRecord {
|
|
29
|
+
optionId?: string | null;
|
|
30
|
+
optionUnitId: string;
|
|
31
|
+
unitType?: BookingCreateStepperUnitType;
|
|
32
|
+
}
|
|
33
|
+
export interface BookingCreateCapacityUnitRecord {
|
|
34
|
+
optionUnitId: string;
|
|
35
|
+
unitName: string;
|
|
36
|
+
unitType?: BookingCreateStepperUnitType;
|
|
37
|
+
occupancyMax?: number | null;
|
|
38
|
+
}
|
|
39
|
+
export interface BookingCreateCapacityTravelerRecord {
|
|
40
|
+
inventoryUnitId?: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface BookingCreateOverCapacityAssignment {
|
|
43
|
+
optionUnitId: string;
|
|
44
|
+
unitName: string;
|
|
45
|
+
assignedTravelers: number;
|
|
46
|
+
capacity: number;
|
|
47
|
+
}
|
|
48
|
+
export declare function normalizeBookingSearchText(value: string): string;
|
|
49
|
+
export declare function matchesBookingSearchText(value: string | null | undefined, query: string): boolean;
|
|
50
|
+
export declare function productMatchesPickerSearch(product: ProductPickerSearchRecord | null | undefined, query: string): boolean;
|
|
51
|
+
export type BillingPersonContactValidationResult = "valid" | "missing-contact" | "invalid-email";
|
|
52
|
+
export declare function isRealBookingEmail(value: string | null | undefined): boolean;
|
|
53
|
+
export declare function validateBillingPersonContact(contact: {
|
|
54
|
+
email?: string | null;
|
|
55
|
+
phone?: string | null;
|
|
56
|
+
} | null | undefined): BillingPersonContactValidationResult;
|
|
57
|
+
export declare function getTravelerAssignableStepperUnits<TUnit extends BookingCreateTravelerAssignableUnitRecord>(units: readonly TUnit[]): TUnit[];
|
|
58
|
+
export declare function getOverCapacityInventoryAssignments(units: readonly BookingCreateCapacityUnitRecord[], quantities: Record<string, number>, travelers: readonly BookingCreateCapacityTravelerRecord[]): BookingCreateOverCapacityAssignment[];
|
|
59
|
+
export declare function getBookableDepartureSlots<TSlot extends DepartureSlotSearchRecord>(slots: readonly TSlot[], options: {
|
|
60
|
+
nowIso: string;
|
|
61
|
+
optionId: string | null;
|
|
62
|
+
}): TSlot[];
|
|
63
|
+
export declare function itemLinesToRows(quantities: Record<string, number>, units: BookingCreateUnitLineRecord[], pricing: BookingCreatePricingRecord | null, travelerIndexesByUnitId?: Record<string, number[]>, travelerKeysByUnitId?: Record<string, string[]>, travelerIndexesByUnitAndCategoryId?: Record<string, Record<string, number[]>>, travelerKeysByUnitAndCategoryId?: Record<string, Record<string, string[]>>): BookingCreateItemLineInput[];
|
|
64
|
+
export declare function getSelectedSharedRoomUnitId(quantities: Record<string, number>): string | null;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=booking-create-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking-create-utils.d.ts","sourceRoot":"","sources":["../../src/components/booking-create-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;A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BAAgB,yBAAyB,CAAC,KAAK,SAAS,yBAAyB,EAC/E,KAAK,EAAE,SAAS,KAAK,EAAE,EACvB,OAAO,EAAE;IACP,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB,GACA,KAAK,EAAE,CAST;AAED,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,KAAK,EAAE,2BAA2B,EAAE,EACpC,OAAO,EAAE,0BAA0B,GAAG,IAAI,EAC1C,uBAAuB,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAM,EACtD,oBAAoB,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAM,EACnD,kCAAkC,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAM,EACjF,+BAA+B,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAM,GAC7E,0BAA0B,EAAE,CAgG9B;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,GAAG,IAAI,CAE7F"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
export function normalizeBookingSearchText(value) {
|
|
2
|
+
return value
|
|
3
|
+
.normalize("NFKD")
|
|
4
|
+
.replace(/[\u0300-\u036f]/g, "")
|
|
5
|
+
.trim()
|
|
6
|
+
.toLowerCase();
|
|
7
|
+
}
|
|
8
|
+
export function matchesBookingSearchText(value, query) {
|
|
9
|
+
const normalizedQuery = normalizeBookingSearchText(query);
|
|
10
|
+
if (!normalizedQuery)
|
|
11
|
+
return true;
|
|
12
|
+
return normalizeBookingSearchText(value ?? "").includes(normalizedQuery);
|
|
13
|
+
}
|
|
14
|
+
export function productMatchesPickerSearch(product, query) {
|
|
15
|
+
if (!product)
|
|
16
|
+
return false;
|
|
17
|
+
return [product.name, product.description, product.sellCurrency].some((value) => matchesBookingSearchText(value, query));
|
|
18
|
+
}
|
|
19
|
+
export function isRealBookingEmail(value) {
|
|
20
|
+
const normalized = value?.trim().toLowerCase() ?? "";
|
|
21
|
+
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(normalized))
|
|
22
|
+
return false;
|
|
23
|
+
return !["noreply@example.com", "tbd@example.com", "traveler@example.com"].includes(normalized);
|
|
24
|
+
}
|
|
25
|
+
export function validateBillingPersonContact(contact) {
|
|
26
|
+
const email = contact?.email?.trim() ?? "";
|
|
27
|
+
const phone = contact?.phone?.trim() ?? "";
|
|
28
|
+
if (email && !isRealBookingEmail(email))
|
|
29
|
+
return "invalid-email";
|
|
30
|
+
if (!email && !phone)
|
|
31
|
+
return "missing-contact";
|
|
32
|
+
return "valid";
|
|
33
|
+
}
|
|
34
|
+
export function getTravelerAssignableStepperUnits(units) {
|
|
35
|
+
// "Inventory" units (rooms, vehicles) are containers a traveler is
|
|
36
|
+
// placed into. When an option configures one, person-typed
|
|
37
|
+
// pricing-tier units on the same option are hidden from the
|
|
38
|
+
// stepper since their pricing folds into the container's per-pax
|
|
39
|
+
// accounting at submit time.
|
|
40
|
+
const isInventoryType = (unit) => unit.unitType === "room" || unit.unitType === "vehicle";
|
|
41
|
+
const hasInventoryByOption = new Map();
|
|
42
|
+
for (const unit of units) {
|
|
43
|
+
const optionKey = unit.optionId ?? unit.optionUnitId;
|
|
44
|
+
if (isInventoryType(unit))
|
|
45
|
+
hasInventoryByOption.set(optionKey, true);
|
|
46
|
+
else if (!hasInventoryByOption.has(optionKey))
|
|
47
|
+
hasInventoryByOption.set(optionKey, false);
|
|
48
|
+
}
|
|
49
|
+
return units.filter((unit) => {
|
|
50
|
+
if (isInventoryType(unit))
|
|
51
|
+
return true;
|
|
52
|
+
if (unit.unitType !== "person")
|
|
53
|
+
return false;
|
|
54
|
+
return !hasInventoryByOption.get(unit.optionId ?? unit.optionUnitId);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export function getOverCapacityInventoryAssignments(units, quantities, travelers) {
|
|
58
|
+
const inventoryUnits = units.filter((unit) => unit.unitType === "room" || unit.unitType === "vehicle");
|
|
59
|
+
const assignedByUnitId = new Map();
|
|
60
|
+
for (const traveler of travelers) {
|
|
61
|
+
if (!traveler.inventoryUnitId)
|
|
62
|
+
continue;
|
|
63
|
+
assignedByUnitId.set(traveler.inventoryUnitId, (assignedByUnitId.get(traveler.inventoryUnitId) ?? 0) + 1);
|
|
64
|
+
}
|
|
65
|
+
return inventoryUnits.flatMap((unit) => {
|
|
66
|
+
const quantity = Math.max(0, quantities[unit.optionUnitId] ?? 0);
|
|
67
|
+
const occupancy = Math.max(1, unit.occupancyMax ?? 1);
|
|
68
|
+
const capacity = quantity * occupancy;
|
|
69
|
+
const assignedTravelers = assignedByUnitId.get(unit.optionUnitId) ?? 0;
|
|
70
|
+
if (assignedTravelers <= capacity)
|
|
71
|
+
return [];
|
|
72
|
+
return [
|
|
73
|
+
{
|
|
74
|
+
optionUnitId: unit.optionUnitId,
|
|
75
|
+
unitName: unit.unitName,
|
|
76
|
+
assignedTravelers,
|
|
77
|
+
capacity,
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
export function getBookableDepartureSlots(slots, options) {
|
|
83
|
+
return slots
|
|
84
|
+
.filter((slot) => !slot.status || slot.status === "open")
|
|
85
|
+
.filter((slot) => slot.startsAt >= options.nowIso)
|
|
86
|
+
.filter((slot) => {
|
|
87
|
+
if (!options.optionId)
|
|
88
|
+
return true;
|
|
89
|
+
return slot.optionId === null || slot.optionId === options.optionId;
|
|
90
|
+
})
|
|
91
|
+
.sort((left, right) => left.startsAt.localeCompare(right.startsAt));
|
|
92
|
+
}
|
|
93
|
+
export function itemLinesToRows(quantities, units, pricing, travelerIndexesByUnitId = {}, travelerKeysByUnitId = {}, travelerIndexesByUnitAndCategoryId = {}, travelerKeysByUnitAndCategoryId = {}) {
|
|
94
|
+
const unitsById = new Map(units.map((unit) => [unit.optionUnitId, unit]));
|
|
95
|
+
const unitNames = new Map(units.map((unit) => [unit.optionUnitId, unit.unitName]));
|
|
96
|
+
const pricedLines = new Map((pricing?.lines ?? [])
|
|
97
|
+
.filter((line) => !line.pricingCategoryId)
|
|
98
|
+
.map((line) => [line.unitId, line]));
|
|
99
|
+
const categoryPricedLinesByUnitId = new Map();
|
|
100
|
+
for (const line of pricing?.lines ?? []) {
|
|
101
|
+
if (!line.pricingCategoryId)
|
|
102
|
+
continue;
|
|
103
|
+
const existing = categoryPricedLinesByUnitId.get(line.unitId) ?? [];
|
|
104
|
+
existing.push(line);
|
|
105
|
+
categoryPricedLinesByUnitId.set(line.unitId, existing);
|
|
106
|
+
}
|
|
107
|
+
const selectedLines = Object.entries(quantities).filter(([, quantity]) => quantity > 0);
|
|
108
|
+
const pricedTotal = selectedLines.reduce((sum, [optionUnitId]) => {
|
|
109
|
+
const total = pricedLines.get(optionUnitId)?.totalAmountCents;
|
|
110
|
+
return total == null ? sum : sum + total;
|
|
111
|
+
}, 0);
|
|
112
|
+
const unpricedLines = selectedLines.filter(([optionUnitId]) => pricedLines.get(optionUnitId)?.totalAmountCents == null);
|
|
113
|
+
const unpricedQuantity = unpricedLines.reduce((sum, [, quantity]) => sum + quantity, 0);
|
|
114
|
+
const manualRemainder = pricing?.confirmedAmountCents != null && unpricedLines.length > 0
|
|
115
|
+
? Math.max(0, pricing.confirmedAmountCents - pricedTotal)
|
|
116
|
+
: null;
|
|
117
|
+
let allocatedManualTotal = 0;
|
|
118
|
+
return selectedLines.flatMap(([optionUnitId, quantity]) => {
|
|
119
|
+
const categoryPricedLines = categoryPricedLinesByUnitId.get(optionUnitId) ?? [];
|
|
120
|
+
if (categoryPricedLines.length > 0) {
|
|
121
|
+
return categoryPricedLines.map((pricedLine) => {
|
|
122
|
+
const pricingCategoryId = pricedLine.pricingCategoryId;
|
|
123
|
+
const categoryQuantity = Math.max(1, pricedLine.quantity ?? 1);
|
|
124
|
+
const travelerIndexes = pricingCategoryId
|
|
125
|
+
? travelerIndexesByUnitAndCategoryId[optionUnitId]?.[pricingCategoryId]
|
|
126
|
+
: undefined;
|
|
127
|
+
const travelerKeys = pricingCategoryId
|
|
128
|
+
? travelerKeysByUnitAndCategoryId[optionUnitId]?.[pricingCategoryId]
|
|
129
|
+
: undefined;
|
|
130
|
+
const hasTravelerLinks = Boolean(travelerKeys?.length || travelerIndexes?.length);
|
|
131
|
+
return {
|
|
132
|
+
clientLineKey: hasTravelerLinks
|
|
133
|
+
? `unit:${optionUnitId}:category:${pricingCategoryId ?? "default"}`
|
|
134
|
+
: undefined,
|
|
135
|
+
optionId: unitsById.get(optionUnitId)?.optionId ?? null,
|
|
136
|
+
optionUnitId,
|
|
137
|
+
pricingCategoryId,
|
|
138
|
+
quantity: categoryQuantity,
|
|
139
|
+
title: pricedLine.label ?? unitNames.get(optionUnitId) ?? null,
|
|
140
|
+
unitSellAmountCents: pricedLine.unitAmountCents,
|
|
141
|
+
totalSellAmountCents: pricedLine.totalAmountCents,
|
|
142
|
+
...(travelerKeys?.length
|
|
143
|
+
? { travelerKeys }
|
|
144
|
+
: travelerIndexes?.length
|
|
145
|
+
? { travelerIndexes }
|
|
146
|
+
: {}),
|
|
147
|
+
};
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
const pricedLine = pricedLines.get(optionUnitId);
|
|
151
|
+
let totalSellAmountCents = pricedLine?.totalAmountCents ?? null;
|
|
152
|
+
if (totalSellAmountCents == null && manualRemainder != null && unpricedQuantity > 0) {
|
|
153
|
+
const isLastUnpriced = unpricedLines[unpricedLines.length - 1]?.[0] === optionUnitId;
|
|
154
|
+
totalSellAmountCents = isLastUnpriced
|
|
155
|
+
? manualRemainder - allocatedManualTotal
|
|
156
|
+
: Math.floor((manualRemainder * quantity) / unpricedQuantity);
|
|
157
|
+
allocatedManualTotal += totalSellAmountCents;
|
|
158
|
+
}
|
|
159
|
+
const unitSellAmountCents = pricedLine?.unitAmountCents ??
|
|
160
|
+
(totalSellAmountCents != null ? Math.floor(totalSellAmountCents / quantity) : null);
|
|
161
|
+
const travelerIndexes = travelerIndexesByUnitId[optionUnitId];
|
|
162
|
+
const travelerKeys = travelerKeysByUnitId[optionUnitId];
|
|
163
|
+
const hasTravelerLinks = Boolean(travelerKeys?.length || travelerIndexes?.length);
|
|
164
|
+
return {
|
|
165
|
+
// Server uses `clientLineKey` to look up this item after insert
|
|
166
|
+
// and link it to travelers via `booking_item_travelers`. Only
|
|
167
|
+
// stamp when there's an actual traveler mapping to write.
|
|
168
|
+
clientLineKey: hasTravelerLinks ? `unit:${optionUnitId}` : undefined,
|
|
169
|
+
optionId: unitsById.get(optionUnitId)?.optionId ?? null,
|
|
170
|
+
optionUnitId,
|
|
171
|
+
quantity,
|
|
172
|
+
title: pricedLine?.label ?? unitNames.get(optionUnitId) ?? null,
|
|
173
|
+
unitSellAmountCents,
|
|
174
|
+
totalSellAmountCents,
|
|
175
|
+
...(travelerKeys?.length
|
|
176
|
+
? { travelerKeys }
|
|
177
|
+
: travelerIndexes?.length
|
|
178
|
+
? { travelerIndexes }
|
|
179
|
+
: {}),
|
|
180
|
+
};
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export function getSelectedSharedRoomUnitId(quantities) {
|
|
184
|
+
return Object.entries(quantities).find(([, quantity]) => quantity > 0)?.[0] ?? null;
|
|
185
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type BookingRecord } from "../index.js";
|
|
3
|
+
import { type TimelineEvent } from "./booking-activity-timeline.js";
|
|
4
|
+
import { type BookingItemResourceKind } from "./booking-item-list.js";
|
|
5
|
+
import { type BookingPaymentsSummaryRow } from "./booking-payments-summary.js";
|
|
6
|
+
/**
|
|
7
|
+
* Optional extra tab. When provided, the canonical layout renders a
|
|
8
|
+
* trigger and a content panel. Modeled after PersonDetailPage's
|
|
9
|
+
* commercial-tab slot shape. The trigger label falls back to the i18n
|
|
10
|
+
* default (`messages.bookingDetailPage.tabInvoices` etc.).
|
|
11
|
+
*/
|
|
12
|
+
export interface BookingDetailTabSlot {
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Receives the loaded booking so the slot can use sell amount, ids, etc. */
|
|
15
|
+
content: BookingDetailSlotContent;
|
|
16
|
+
}
|
|
17
|
+
export type BookingDetailSlotContent = ReactNode | ((booking: BookingRecord) => ReactNode);
|
|
18
|
+
export interface BookingDetailPageSlots {
|
|
19
|
+
/** Rendered between the title row and the summary card. */
|
|
20
|
+
header?: (booking: BookingRecord) => ReactNode;
|
|
21
|
+
/** Rendered between the summary card and the tabs. */
|
|
22
|
+
afterSummary?: (booking: BookingRecord) => ReactNode;
|
|
23
|
+
overviewStart?: (booking: BookingRecord) => ReactNode;
|
|
24
|
+
overviewEnd?: (booking: BookingRecord) => ReactNode;
|
|
25
|
+
travelersStart?: (booking: BookingRecord) => ReactNode;
|
|
26
|
+
financeStart?: (booking: BookingRecord) => ReactNode;
|
|
27
|
+
/** Replaces the default finance-tab `BookingPaymentsSummary` card. */
|
|
28
|
+
paymentsContent?: BookingDetailSlotContent;
|
|
29
|
+
financeEnd?: (booking: BookingRecord) => ReactNode;
|
|
30
|
+
documents?: (booking: BookingRecord) => ReactNode;
|
|
31
|
+
activityEnd?: (booking: BookingRecord) => ReactNode;
|
|
32
|
+
/** Mounts a dedicated `Invoices` tab between Payments and Suppliers. */
|
|
33
|
+
invoicesTab?: BookingDetailTabSlot;
|
|
34
|
+
/**
|
|
35
|
+
* Extra events merged into the Activity-tab timeline. Operator
|
|
36
|
+
* templates pass action-ledger entries here so the timeline stays a
|
|
37
|
+
* single chronological feed.
|
|
38
|
+
*/
|
|
39
|
+
activityExtraEvents?: readonly TimelineEvent[];
|
|
40
|
+
/** Rendered below the activity timeline events — typically a "load more" pager. */
|
|
41
|
+
activityTimelineFooter?: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/** Tab values used by the canonical `BookingDetailPage`. */
|
|
44
|
+
export type BookingDetailTabValue = "items" | "travelers" | "finance" | "invoices" | "documents" | "suppliers" | "activity" | "metadata";
|
|
45
|
+
export interface BookingDetailPageProps {
|
|
46
|
+
id: string;
|
|
47
|
+
className?: string;
|
|
48
|
+
locale?: string;
|
|
49
|
+
/** When true, the inline `Bookings > #` breadcrumb is suppressed
|
|
50
|
+
* (use when the host shell already renders breadcrumbs). */
|
|
51
|
+
hideBreadcrumb?: boolean;
|
|
52
|
+
onBack?: () => void;
|
|
53
|
+
/**
|
|
54
|
+
* Forwarded to the finance-tab `BookingPaymentsSummary` header as a
|
|
55
|
+
* `Record payment` action button.
|
|
56
|
+
*/
|
|
57
|
+
onRecordPayment?: (booking: BookingRecord) => void;
|
|
58
|
+
/**
|
|
59
|
+
* When set, the Record payment header button renders disabled and its
|
|
60
|
+
* tooltip shows this reason. Use for "nothing left to pay" states.
|
|
61
|
+
*/
|
|
62
|
+
recordPaymentDisabledReason?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* When set, the Add schedule button in the payment-schedule section
|
|
65
|
+
* renders disabled and its tooltip shows this reason.
|
|
66
|
+
*/
|
|
67
|
+
addScheduleDisabledReason?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Amount the customer has paid so far against this booking, in cents
|
|
70
|
+
* of `booking.sellCurrency`. When provided, a `Paid` stat is shown
|
|
71
|
+
* next to `Total`. Resolution (invoices vs. raw payments) is left to
|
|
72
|
+
* the host template — `bookings-ui` doesn't fetch finance data.
|
|
73
|
+
*/
|
|
74
|
+
paidAmountCents?: number | null;
|
|
75
|
+
/**
|
|
76
|
+
* Open a linked resource referenced by a booking item (product or
|
|
77
|
+
* availability slot) in the host app. When omitted, the item-snapshot
|
|
78
|
+
* sheet renders the names as plain text.
|
|
79
|
+
*/
|
|
80
|
+
onItemResourceOpen?: (kind: BookingItemResourceKind, id: string) => void;
|
|
81
|
+
/** Open the linked CRM person's detail page (used by the Payer card). */
|
|
82
|
+
onPersonOpen?: (personId: string) => void;
|
|
83
|
+
/** Open the linked CRM organization's detail page (used by the Payer card). */
|
|
84
|
+
onOrganizationOpen?: (organizationId: string) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Open an invoice in-place when the operator clicks the invoice
|
|
87
|
+
* number in the Payments row. Typically wired to a `Sheet` that
|
|
88
|
+
* renders the invoice-detail view so the admin doesn't leave the
|
|
89
|
+
* booking screen.
|
|
90
|
+
*/
|
|
91
|
+
onInvoiceOpen?: (invoiceId: string, row: BookingPaymentsSummaryRow) => void;
|
|
92
|
+
/** Forwarded to the finance-tab `BookingPaymentsSummary` row menu. */
|
|
93
|
+
onViewPayment?: (row: BookingPaymentsSummaryRow) => void;
|
|
94
|
+
/** Forwarded to the finance-tab `BookingPaymentsSummary` row menu. */
|
|
95
|
+
onEditPayment?: (row: BookingPaymentsSummaryRow) => void;
|
|
96
|
+
/** Forwarded to the finance-tab `BookingPaymentsSummary` row menu. */
|
|
97
|
+
onDeletePayment?: (row: BookingPaymentsSummaryRow) => Promise<void> | void;
|
|
98
|
+
/**
|
|
99
|
+
* Controlled active-tab value. Hosts wire this to their router so
|
|
100
|
+
* the active tab can be reflected in the URL (`?tab=activity` etc.)
|
|
101
|
+
* and the page reloads to the right tab when a link is shared.
|
|
102
|
+
* Leave both `activeTab` + `onTabChange` undefined for uncontrolled
|
|
103
|
+
* mode (defaults to `overview`).
|
|
104
|
+
*/
|
|
105
|
+
activeTab?: BookingDetailTabValue;
|
|
106
|
+
/** Fires when the user switches tabs. Hosts push the new value into the URL. */
|
|
107
|
+
onTabChange?: (tab: BookingDetailTabValue) => void;
|
|
108
|
+
slots?: BookingDetailPageSlots;
|
|
109
|
+
}
|
|
110
|
+
export declare function BookingDetailPage({ id, className, locale, hideBreadcrumb, onBack, onRecordPayment, recordPaymentDisabledReason, addScheduleDisabledReason, paidAmountCents, onItemResourceOpen, onPersonOpen, onOrganizationOpen, onInvoiceOpen, onViewPayment, onEditPayment, onDeletePayment, activeTab, onTabChange, slots, }: BookingDetailPageProps): import("react/jsx-runtime").JSX.Element;
|
|
111
|
+
/**
|
|
112
|
+
* Billing/contact card for the Travelers tab. Snapshot fields on the
|
|
113
|
+
* booking row are the source of truth (they capture contact info at
|
|
114
|
+
* the time of booking). When they're empty — typically for bookings
|
|
115
|
+
* created via flows that don't snapshot — fall back to the linked CRM
|
|
116
|
+
* person / organization so the operator still sees who they're
|
|
117
|
+
* billing.
|
|
118
|
+
*/
|
|
119
|
+
export declare function BookingBillingContextCard({ booking, onPersonOpen, onOrganizationOpen, }: {
|
|
120
|
+
booking: BookingRecord;
|
|
121
|
+
/** Open the linked CRM person's detail page. */
|
|
122
|
+
onPersonOpen?: (personId: string) => void;
|
|
123
|
+
/** Open the linked CRM organization's detail page. */
|
|
124
|
+
onOrganizationOpen?: (organizationId: string) => void;
|
|
125
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
126
|
+
//# sourceMappingURL=booking-detail-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking-detail-page.d.ts","sourceRoot":"","sources":["../../src/components/booking-detail-page.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAY,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAM1D,OAAO,EAAE,KAAK,aAAa,EAAmD,MAAM,aAAa,CAAA;AACjG,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAM5F,OAAO,EAAmB,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAGtF,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAA;AAMtC;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6EAA6E;IAC7E,OAAO,EAAE,wBAAwB,CAAA;CAClC;AAED,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,aAAa,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