@voyant-travel/bookings-react 0.138.4 → 0.138.6

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.
Files changed (38) hide show
  1. package/dist/components/booking-detail-page.d.ts.map +1 -1
  2. package/dist/components/booking-detail-page.js +3 -2
  3. package/dist/components/booking-dialog.d.ts.map +1 -1
  4. package/dist/components/booking-dialog.js +2 -19
  5. package/dist/components/booking-item-dialog.d.ts.map +1 -1
  6. package/dist/components/booking-item-dialog.js +16 -5
  7. package/dist/components/booking-item-list.d.ts +2 -1
  8. package/dist/components/booking-item-list.d.ts.map +1 -1
  9. package/dist/components/booking-item-list.js +13 -13
  10. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +3 -3
  11. package/dist/extras/hooks/use-slot-extra-manifest.d.ts +1 -1
  12. package/dist/extras/query-options.d.ts +4 -4
  13. package/dist/extras/schemas.d.ts +3 -3
  14. package/dist/hooks/use-booking-action-ledger.d.ts +1 -1
  15. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +1 -1
  16. package/dist/hooks/use-public-booking-session.d.ts +1 -1
  17. package/dist/hooks/use-supplier-status-mutation.d.ts +2 -2
  18. package/dist/hooks/use-supplier-statuses.d.ts +1 -1
  19. package/dist/i18n/en-sections.d.ts +1 -0
  20. package/dist/i18n/en-sections.d.ts.map +1 -1
  21. package/dist/i18n/en-sections.js +1 -0
  22. package/dist/i18n/en.d.ts +1 -0
  23. package/dist/i18n/en.d.ts.map +1 -1
  24. package/dist/i18n/messages-sections.d.ts +1 -0
  25. package/dist/i18n/messages-sections.d.ts.map +1 -1
  26. package/dist/i18n/provider.d.ts +2 -0
  27. package/dist/i18n/provider.d.ts.map +1 -1
  28. package/dist/i18n/ro-sections.d.ts +1 -0
  29. package/dist/i18n/ro-sections.d.ts.map +1 -1
  30. package/dist/i18n/ro-sections.js +1 -0
  31. package/dist/i18n/ro.d.ts +1 -0
  32. package/dist/i18n/ro.d.ts.map +1 -1
  33. package/dist/query-options.d.ts +8 -8
  34. package/dist/requirements/hooks/use-booking-questions.d.ts +1 -1
  35. package/dist/requirements/query-options.d.ts +4 -4
  36. package/dist/requirements/schemas.d.ts +3 -3
  37. package/dist/schemas.d.ts +6 -6
  38. package/package.json +21 -21
@@ -1 +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,KAAK,SAAS,CAAC,CAAA;AAE1F,MAAM,WAAW,sBAAsB;IACrC,2DAA2D;IAC3D,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,SAAS,CAAA;IAC9C,sDAAsD;IACtD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,SAAS,CAAA;IACpD,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,SAAS,CAAA;IACrD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,SAAS,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,SAAS,CAAA;IACtD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,K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IACH,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,yBAAyB,KAAK,IAAI,CAAA;IAC3E,sEAAsE;IACtE,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,yBAAyB,KAAK,IAAI,CAAA;IACxD,sEAAsE;IACtE,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,yBAAyB,KAAK,IAAI,CAAA;IACxD,sEAAsE;IACtE,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,yBAAyB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC1E;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,gFAAgF;IAChF,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,qBAAqB,KAAK,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,sBAAsB,CAAA;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,EAAE,EACF,SAAS,EACT,MAAM,EACN,cAAc,EACd,MAAM,EACN,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,aAAa,EACb,eAAe,EACf,SAAS,EACT,WAAW,EACX,KAAK,GACN,EAAE,sBAAsB,+BA2bxB;AAqCD;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,OAAO,EACP,YAAY,EACZ,kBAAkB,GACnB,EAAE;IACD,OAAO,EAAE,aAAa,CAAA;IACtB,gDAAgD;IAChD,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAA;CACtD,+BA4FA"}
@@ -58,6 +58,7 @@ export function BookingDetailPage({ id, className, locale, hideBreadcrumb, onBac
58
58
  return (_jsxs("div", { className: cn("flex flex-col items-center justify-center gap-4 py-12", className), children: [_jsx("p", { className: "text-muted-foreground", children: detailMessages.notFound }), onBack ? (_jsx(Button, { variant: "outline", onClick: onBack, children: detailMessages.backToBookings })) : null] }));
59
59
  }
60
60
  const canCancel = ["draft", "on_hold", "confirmed", "in_progress"].includes(booking.status);
61
+ const isCancelled = booking.status === "cancelled";
61
62
  const sellHint = booking.priceOverride?.isManual
62
63
  ? `${detailMessages.summaryPriceOverride}: ${booking.priceOverride.reason}`
63
64
  : undefined;
@@ -86,13 +87,13 @@ export function BookingDetailPage({ id, className, locale, hideBreadcrumb, onBac
86
87
  headerDateRange ? (headerSlotId && onItemResourceOpen ? (_jsx("button", { type: "button", onClick: () => onItemResourceOpen("availabilitySlot", headerSlotId), className: "hover:text-foreground hover:underline", children: headerDateRange }, "dates")) : (_jsx("span", { children: headerDateRange }, "dates"))) : null,
87
88
  headerPax ? _jsx("span", { children: headerPax }, "pax") : null,
88
89
  ].filter(Boolean);
89
- return (_jsxs("div", { "data-slot": "booking-detail-page", className: cn("flex flex-col gap-6 p-6", className), children: [hideBreadcrumb ? null : (_jsxs("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [onBack ? (_jsx("button", { type: "button", onClick: onBack, className: "transition-colors hover:text-foreground", children: detailMessages.breadcrumbBookings })) : (_jsx("span", { children: detailMessages.breadcrumbBookings })), _jsx(ChevronRight, { className: "h-3.5 w-3.5", "aria-hidden": "true" }), _jsx("span", { className: "font-normal text-foreground", children: booking.bookingNumber })] })), _jsxs("div", { className: "flex items-start justify-between", children: [_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("h1", { className: "text-2xl font-bold tracking-tight", children: booking.bookingNumber }), _jsx(StatusBadge, { status: booking.status, children: getBookingStatusLabel(booking.status, messages.common.bookingStatusLabels) })] }), headerSubtitleParts.length > 0 ? (_jsx("div", { className: "flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground", children: headerSubtitleParts.map((part, idx) => (_jsxs(Fragment, { children: [idx > 0 ? _jsx("span", { className: "text-muted-foreground/60", children: "/" }) : null, part] }, idx))) })) : null] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsxs(Button, { variant: "outline", size: "sm", onClick: () => setEditOpen(true), children: [_jsx(Pencil, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.editAction] }), _jsxs(Button, { variant: "outline", size: "sm", onClick: () => setStatusDialogOpen(true), children: [_jsx(RefreshCw, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.changeStatusAction] }), canCancel ? (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => setCancelDialogOpen(true), children: [_jsx(Ban, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.cancelBookingAction] })) : null, _jsxs(Button, { variant: "outline", size: "sm", className: "text-destructive hover:bg-destructive/10 hover:text-destructive", disabled: remove.isPending, onClick: () => setDeleteDialogOpen(true), children: [_jsx(Trash2, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.deleteAction] })] })] }), slots?.header?.(booking), _jsxs("div", { className: "grid grid-cols-2 gap-4 sm:grid-cols-4", children: [_jsx(StatCard, { label: detailMessages.summaryTotal, hint: sellHint, children: formatAmount(booking.sellAmountCents, booking.sellCurrency, resolvedLocale, detailMessages.noValue) }), _jsx(StatCard, { label: detailMessages.summaryPaid, badge: paidAmountCents != null && booking.sellAmountCents
90
+ return (_jsxs("div", { "data-slot": "booking-detail-page", className: cn("flex flex-col gap-6 p-6", className), children: [hideBreadcrumb ? null : (_jsxs("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [onBack ? (_jsx("button", { type: "button", onClick: onBack, className: "transition-colors hover:text-foreground", children: detailMessages.breadcrumbBookings })) : (_jsx("span", { children: detailMessages.breadcrumbBookings })), _jsx(ChevronRight, { className: "h-3.5 w-3.5", "aria-hidden": "true" }), _jsx("span", { className: "font-normal text-foreground", children: booking.bookingNumber })] })), _jsxs("div", { className: "flex items-start justify-between", children: [_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("h1", { className: "text-2xl font-bold tracking-tight", children: booking.bookingNumber }), _jsx(StatusBadge, { status: booking.status, children: getBookingStatusLabel(booking.status, messages.common.bookingStatusLabels) })] }), headerSubtitleParts.length > 0 ? (_jsx("div", { className: "flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground", children: headerSubtitleParts.map((part, idx) => (_jsxs(Fragment, { children: [idx > 0 ? _jsx("span", { className: "text-muted-foreground/60", children: "/" }) : null, part] }, idx))) })) : null] }), isCancelled ? null : (_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs(Button, { variant: "outline", size: "sm", onClick: () => setEditOpen(true), children: [_jsx(Pencil, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.editAction] }), _jsxs(Button, { variant: "outline", size: "sm", onClick: () => setStatusDialogOpen(true), children: [_jsx(RefreshCw, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.changeStatusAction] }), canCancel ? (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => setCancelDialogOpen(true), children: [_jsx(Ban, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.cancelBookingAction] })) : null, _jsxs(Button, { variant: "outline", size: "sm", className: "text-destructive hover:bg-destructive/10 hover:text-destructive", disabled: remove.isPending, onClick: () => setDeleteDialogOpen(true), children: [_jsx(Trash2, { className: "mr-1.5 h-3.5 w-3.5", "aria-hidden": "true" }), detailMessages.deleteAction] })] }))] }), slots?.header?.(booking), _jsxs("div", { className: "grid grid-cols-2 gap-4 sm:grid-cols-4", children: [_jsx(StatCard, { label: detailMessages.summaryTotal, hint: sellHint, children: formatAmount(booking.sellAmountCents, booking.sellCurrency, resolvedLocale, detailMessages.noValue) }), _jsx(StatCard, { label: detailMessages.summaryPaid, badge: paidAmountCents != null && booking.sellAmountCents
90
91
  ? renderPercentBadge(Math.round((paidAmountCents / booking.sellAmountCents) * 100), paidBadgeClass)
91
92
  : null, children: paidAmountCents != null
92
93
  ? formatAmount(paidAmountCents, booking.sellCurrency, resolvedLocale, detailMessages.noValue)
93
94
  : detailMessages.noValue }), _jsx(StatCard, { label: detailMessages.summaryCostMargin, badge: booking.marginPercent != null
94
95
  ? renderPercentBadge(booking.marginPercent, marginBadgeClass)
95
- : null, children: formatAmount(booking.costAmountCents, booking.sellCurrency, resolvedLocale, detailMessages.noValue) }), _jsx(StatCard, { label: detailMessages.summaryCreated, children: formatDate(booking.createdAt, resolvedLocale, detailMessages.noValue) })] }), slots?.afterSummary?.(booking), _jsxs(Tabs, { defaultValue: "items", value: activeTab, onValueChange: (value) => onTabChange?.(String(value)), children: [_jsxs(TabsList, { className: "w-full justify-start", children: [_jsx(TabsTrigger, { value: "items", children: detailMessages.tabOverview }), _jsx(TabsTrigger, { value: "travelers", children: detailMessages.tabTravelers }), _jsx(TabsTrigger, { value: "finance", children: detailMessages.tabFinance }), slots?.invoicesTab ? (_jsx(TabsTrigger, { value: "invoices", children: slots.invoicesTab.label ?? detailMessages.tabInvoices })) : null, _jsx(TabsTrigger, { value: "documents", children: detailMessages.tabDocuments }), _jsx(TabsTrigger, { value: "suppliers", children: detailMessages.tabSuppliers }), _jsx(TabsTrigger, { value: "activity", children: detailMessages.tabActivity }), _jsx(TabsTrigger, { value: "metadata", children: detailMessages.tabMetadata })] }), _jsxs(TabsContent, { value: "items", className: "mt-4 flex flex-col gap-6", children: [slots?.overviewStart?.(booking), _jsx(BookingItemList, { bookingId: id, onResourceOpen: onItemResourceOpen }), _jsx(BookingGroupSection, { bookingId: id }), visibleInternalNotes(booking.internalNotes) ? (_jsx(Card, { children: _jsxs(CardContent, { className: "py-5", children: [_jsx("p", { className: "mb-1 text-xs font-medium text-muted-foreground", children: detailMessages.internalNotesLabel }), _jsx("p", { className: "whitespace-pre-wrap text-sm", children: visibleInternalNotes(booking.internalNotes) })] }) })) : null, slots?.overviewEnd?.(booking)] }), _jsxs(TabsContent, { value: "travelers", className: "mt-4 flex flex-col gap-6", children: [slots?.travelersStart?.(booking), _jsx(BookingBillingContextCard, { booking: booking, onPersonOpen: onPersonOpen, onOrganizationOpen: onOrganizationOpen }), _jsx(TravelerList, { bookingId: id, autoReveal: true })] }), _jsxs(TabsContent, { value: "finance", className: "mt-4 flex flex-col gap-6", children: [_jsx(BookingPaymentScheduleList, { bookingId: id, addScheduleDisabledReason: addScheduleDisabledReason ?? null }), slots?.paymentsContent ? (renderDetailSlot(slots.paymentsContent, booking)) : (_jsx(BookingPaymentsSummary, { bookingId: id, variant: "admin", onViewPayment: onViewPayment, onInvoiceOpen: onInvoiceOpen, onEditPayment: onEditPayment, onDeletePayment: onDeletePayment, headerAction: onRecordPayment ? (_jsx(RecordPaymentHeaderButton, { label: detailMessages.recordPaymentAction, disabledReason: recordPaymentDisabledReason ?? null, onClick: () => onRecordPayment(booking) })) : null })), slots?.financeStart?.(booking), _jsxs(Collapsible, { children: [_jsxs(CollapsibleTrigger, { className: "group flex w-full items-center justify-between rounded-md border bg-background px-4 py-3 text-sm font-semibold hover:bg-muted/30", children: [messages.bookingGuaranteeList.title, _jsx(ChevronDown, { className: "h-4 w-4 transition-transform group-data-panel-open:rotate-180" })] }), _jsx(CollapsibleContent, { className: "mt-3", children: _jsx(BookingGuaranteeList, { bookingId: id }) })] }), slots?.financeEnd?.(booking)] }), slots?.invoicesTab ? (_jsx(TabsContent, { value: "invoices", className: "mt-4 flex flex-col gap-6", children: renderDetailSlot(slots.invoicesTab.content, booking) })) : null, _jsx(TabsContent, { value: "documents", className: "mt-4 flex flex-col gap-4", children: slots?.documents ? (slots.documents(booking)) : (_jsx("p", { className: "rounded-md border border-dashed p-4 text-sm text-muted-foreground", children: detailMessages.documentsSlotEmpty })) }), _jsx(TabsContent, { value: "suppliers", className: "mt-4", children: _jsx(SupplierStatusList, { bookingId: id }) }), _jsxs(TabsContent, { value: "activity", className: "mt-4 flex flex-col gap-6", children: [_jsx(BookingNotes, { bookingId: id }), _jsx(BookingActivityTimeline, { bookingId: id, paymentsVariant: "admin", additionalEvents: slots?.activityExtraEvents, footer: slots?.activityTimelineFooter }), slots?.activityEnd?.(booking)] }), _jsx(TabsContent, { value: "metadata", className: "mt-4", children: _jsx(BookingMetadataList, { booking: booking, messages: detailMessages.metadataSection, statusLabel: getBookingStatusLabel(booking.status, messages.common.bookingStatusLabels), formatDateTime: i18n.formatDateTime, noValue: detailMessages.noValue }) })] }), _jsx(BookingDialog, { open: editOpen, onOpenChange: setEditOpen, booking: booking }), _jsx(StatusChangeDialog, { open: statusDialogOpen, onOpenChange: setStatusDialogOpen, bookingId: id, currentStatus: booking.status }), _jsx(BookingCancellationDialog, { open: cancelDialogOpen, onOpenChange: setCancelDialogOpen, booking: booking }), _jsx(AlertDialog, { open: deleteDialogOpen, onOpenChange: (next) => {
96
+ : null, children: formatAmount(booking.costAmountCents, booking.sellCurrency, resolvedLocale, detailMessages.noValue) }), _jsx(StatCard, { label: detailMessages.summaryCreated, children: formatDate(booking.createdAt, resolvedLocale, detailMessages.noValue) })] }), slots?.afterSummary?.(booking), _jsxs(Tabs, { defaultValue: "items", value: activeTab, onValueChange: (value) => onTabChange?.(String(value)), children: [_jsxs(TabsList, { className: "w-full justify-start", children: [_jsx(TabsTrigger, { value: "items", children: detailMessages.tabOverview }), _jsx(TabsTrigger, { value: "travelers", children: detailMessages.tabTravelers }), _jsx(TabsTrigger, { value: "finance", children: detailMessages.tabFinance }), slots?.invoicesTab ? (_jsx(TabsTrigger, { value: "invoices", children: slots.invoicesTab.label ?? detailMessages.tabInvoices })) : null, _jsx(TabsTrigger, { value: "documents", children: detailMessages.tabDocuments }), _jsx(TabsTrigger, { value: "suppliers", children: detailMessages.tabSuppliers }), _jsx(TabsTrigger, { value: "activity", children: detailMessages.tabActivity }), _jsx(TabsTrigger, { value: "metadata", children: detailMessages.tabMetadata })] }), _jsxs(TabsContent, { value: "items", className: "mt-4 flex flex-col gap-6", children: [slots?.overviewStart?.(booking), _jsx(BookingItemList, { bookingId: id, onResourceOpen: onItemResourceOpen, readOnly: isCancelled }), _jsx(BookingGroupSection, { bookingId: id }), visibleInternalNotes(booking.internalNotes) ? (_jsx(Card, { children: _jsxs(CardContent, { className: "py-5", children: [_jsx("p", { className: "mb-1 text-xs font-medium text-muted-foreground", children: detailMessages.internalNotesLabel }), _jsx("p", { className: "whitespace-pre-wrap text-sm", children: visibleInternalNotes(booking.internalNotes) })] }) })) : null, slots?.overviewEnd?.(booking)] }), _jsxs(TabsContent, { value: "travelers", className: "mt-4 flex flex-col gap-6", children: [slots?.travelersStart?.(booking), _jsx(BookingBillingContextCard, { booking: booking, onPersonOpen: onPersonOpen, onOrganizationOpen: onOrganizationOpen }), _jsx(TravelerList, { bookingId: id, autoReveal: true })] }), _jsxs(TabsContent, { value: "finance", className: "mt-4 flex flex-col gap-6", children: [_jsx(BookingPaymentScheduleList, { bookingId: id, addScheduleDisabledReason: addScheduleDisabledReason ?? null }), slots?.paymentsContent ? (renderDetailSlot(slots.paymentsContent, booking)) : (_jsx(BookingPaymentsSummary, { bookingId: id, variant: "admin", onViewPayment: onViewPayment, onInvoiceOpen: onInvoiceOpen, onEditPayment: onEditPayment, onDeletePayment: onDeletePayment, headerAction: onRecordPayment ? (_jsx(RecordPaymentHeaderButton, { label: detailMessages.recordPaymentAction, disabledReason: recordPaymentDisabledReason ?? null, onClick: () => onRecordPayment(booking) })) : null })), slots?.financeStart?.(booking), _jsxs(Collapsible, { children: [_jsxs(CollapsibleTrigger, { className: "group flex w-full items-center justify-between rounded-md border bg-background px-4 py-3 text-sm font-semibold hover:bg-muted/30", children: [messages.bookingGuaranteeList.title, _jsx(ChevronDown, { className: "h-4 w-4 transition-transform group-data-panel-open:rotate-180" })] }), _jsx(CollapsibleContent, { className: "mt-3", children: _jsx(BookingGuaranteeList, { bookingId: id }) })] }), slots?.financeEnd?.(booking)] }), slots?.invoicesTab ? (_jsx(TabsContent, { value: "invoices", className: "mt-4 flex flex-col gap-6", children: renderDetailSlot(slots.invoicesTab.content, booking) })) : null, _jsx(TabsContent, { value: "documents", className: "mt-4 flex flex-col gap-4", children: slots?.documents ? (slots.documents(booking)) : (_jsx("p", { className: "rounded-md border border-dashed p-4 text-sm text-muted-foreground", children: detailMessages.documentsSlotEmpty })) }), _jsx(TabsContent, { value: "suppliers", className: "mt-4", children: _jsx(SupplierStatusList, { bookingId: id }) }), _jsxs(TabsContent, { value: "activity", className: "mt-4 flex flex-col gap-6", children: [_jsx(BookingNotes, { bookingId: id }), _jsx(BookingActivityTimeline, { bookingId: id, paymentsVariant: "admin", additionalEvents: slots?.activityExtraEvents, footer: slots?.activityTimelineFooter }), slots?.activityEnd?.(booking)] }), _jsx(TabsContent, { value: "metadata", className: "mt-4", children: _jsx(BookingMetadataList, { booking: booking, messages: detailMessages.metadataSection, statusLabel: getBookingStatusLabel(booking.status, messages.common.bookingStatusLabels), formatDateTime: i18n.formatDateTime, noValue: detailMessages.noValue }) })] }), _jsx(BookingDialog, { open: editOpen, onOpenChange: setEditOpen, booking: booking }), _jsx(StatusChangeDialog, { open: statusDialogOpen, onOpenChange: setStatusDialogOpen, bookingId: id, currentStatus: booking.status }), _jsx(BookingCancellationDialog, { open: cancelDialogOpen, onOpenChange: setCancelDialogOpen, booking: booking }), _jsx(AlertDialog, { open: deleteDialogOpen, onOpenChange: (next) => {
96
97
  if (!next && !remove.isPending)
97
98
  setDeleteDialogOpen(false);
98
99
  }, children: _jsxs(AlertDialogContent, { size: "sm", children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: detailMessages.deleteConfirm }), _jsx(AlertDialogDescription, { children: booking.bookingNumber
@@ -1 +1 @@
1
- {"version":3,"file":"booking-dialog.d.ts","sourceRoot":"","sources":["../../src/components/booking-dialog.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,aAAa,EAAsB,MAAM,aAAa,CAAA;AA8BpE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAA;IAC5C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAWD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,SAAS,EACT,gBAAgB,EAChB,aAAa,GACd,EAAE,kBAAkB,+BAqBpB"}
1
+ {"version":3,"file":"booking-dialog.d.ts","sourceRoot":"","sources":["../../src/components/booking-dialog.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,aAAa,EAAsB,MAAM,aAAa,CAAA;AA4BpE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAA;IAC5C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAYD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,SAAS,EACT,gBAAgB,EAChB,aAAa,GACd,EAAE,kBAAkB,+BAqBpB"}
@@ -26,8 +26,6 @@ function createBookingFormSchema(messages) {
26
26
  "cancelled",
27
27
  ]),
28
28
  sellCurrency: z.string().min(3).max(3, messages.bookingDialog.validation.sellCurrencyInvalid),
29
- sellAmountCents: z.coerce.number().int().min(0).optional().or(z.literal("")).nullable(),
30
- costAmountCents: z.coerce.number().int().min(0).optional().or(z.literal("")).nullable(),
31
29
  startDate: z.string().optional().nullable(),
32
30
  endDate: z.string().optional().nullable(),
33
31
  pax: z.coerce.number().int().positive().optional().or(z.literal("")).nullable(),
@@ -42,6 +40,7 @@ const BOOKING_STATUS_VALUES = [
42
40
  "cancelled",
43
41
  ];
44
42
  const DEFAULT_CURRENCY = "EUR"; // i18n-literal-ok ISO default currency
43
+ const noopCurrencyChange = (_value) => { };
45
44
  /**
46
45
  * Single booking dialog that handles both create and edit:
47
46
  * - Create (no `booking` prop): renders the rich product → option → person
@@ -67,8 +66,6 @@ function BookingEditDialog({ open, onOpenChange, booking, onSuccess }) {
67
66
  bookingNumber: "",
68
67
  status: "draft",
69
68
  sellCurrency: DEFAULT_CURRENCY,
70
- sellAmountCents: "",
71
- costAmountCents: "",
72
69
  startDate: "",
73
70
  endDate: "",
74
71
  pax: "",
@@ -82,8 +79,6 @@ function BookingEditDialog({ open, onOpenChange, booking, onSuccess }) {
82
79
  bookingNumber: booking.bookingNumber,
83
80
  status: booking.status === "on_hold" || booking.status === "expired" ? "draft" : booking.status,
84
81
  sellCurrency: booking.sellCurrency,
85
- sellAmountCents: booking.sellAmountCents ?? "",
86
- costAmountCents: booking.costAmountCents ?? "",
87
82
  startDate: booking.startDate ?? "",
88
83
  endDate: booking.endDate ?? "",
89
84
  pax: booking.pax ?? "",
@@ -95,8 +90,6 @@ function BookingEditDialog({ open, onOpenChange, booking, onSuccess }) {
95
90
  bookingNumber: values.bookingNumber,
96
91
  status: values.status,
97
92
  sellCurrency: values.sellCurrency,
98
- sellAmountCents: typeof values.sellAmountCents === "number" ? values.sellAmountCents : null,
99
- costAmountCents: typeof values.costAmountCents === "number" ? values.costAmountCents : null,
100
93
  startDate: values.startDate || null,
101
94
  endDate: values.endDate || null,
102
95
  pax: values.pax && typeof values.pax === "number" ? values.pax : null,
@@ -116,15 +109,5 @@ function BookingEditDialog({ open, onOpenChange, booking, onSuccess }) {
116
109
  }, onChange: (nextValue) => {
117
110
  form.setValue("startDate", nextValue?.from ?? "", { shouldDirty: true });
118
111
  form.setValue("endDate", nextValue?.to ?? "", { shouldDirty: true });
119
- }, placeholder: messages.bookingDialog.placeholders.travelDates, className: "w-full" })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-4", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.sellAmountCents }), _jsx(CurrencyInput, { value: typeof form.watch("sellAmountCents") === "number"
120
- ? form.watch("sellAmountCents")
121
- : null, onChange: (next) => form.setValue("sellAmountCents", next, {
122
- shouldDirty: true,
123
- shouldValidate: true,
124
- }), currency: form.watch("sellCurrency") })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.costAmountCents }), _jsx(CurrencyInput, { value: typeof form.watch("costAmountCents") === "number"
125
- ? form.watch("costAmountCents")
126
- : null, onChange: (next) => form.setValue("costAmountCents", next, {
127
- shouldDirty: true,
128
- shouldValidate: true,
129
- }), currency: form.watch("sellCurrency") })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.pax }), _jsx(Input, { ...form.register("pax"), type: "number", min: "1", placeholder: messages.bookingDialog.placeholders.pax })] })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.internalNotes }), _jsx(Textarea, { ...form.register("internalNotes"), placeholder: messages.bookingDialog.placeholders.internalNotes })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => onOpenChange(false), children: messages.common.cancel }), _jsxs(Button, { type: "submit", size: "sm", disabled: isSubmitting, children: [isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), messages.common.saveChanges] })] })] })] }) }));
112
+ }, placeholder: messages.bookingDialog.placeholders.travelDates, className: "w-full" })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-4", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.sellAmountCents }), _jsx(CurrencyInput, { value: booking.sellAmountCents, onChange: noopCurrencyChange, currency: form.watch("sellCurrency"), disabled: true })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.costAmountCents }), _jsx(CurrencyInput, { value: booking.costAmountCents, onChange: noopCurrencyChange, currency: form.watch("sellCurrency"), disabled: true })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.pax }), _jsx(Input, { ...form.register("pax"), type: "number", min: "1", placeholder: messages.bookingDialog.placeholders.pax })] })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingDialog.fields.internalNotes }), _jsx(Textarea, { ...form.register("internalNotes"), placeholder: messages.bookingDialog.placeholders.internalNotes })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => onOpenChange(false), children: messages.common.cancel }), _jsxs(Button, { type: "submit", size: "sm", disabled: isSubmitting, children: [isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), messages.common.saveChanges] })] })] })] }) }));
130
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"booking-item-dialog.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-dialog.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,iBAAiB,EAA0B,MAAM,aAAa,CAAA;AAuC5E,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,SAAS,GACV,EAAE,sBAAsB,+BA4SxB"}
1
+ {"version":3,"file":"booking-item-dialog.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-dialog.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,iBAAiB,EAA0B,MAAM,aAAa,CAAA;AAkD5E,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,SAAS,GACV,EAAE,sBAAsB,+BAiTxB"}
@@ -26,7 +26,8 @@ const itemTypes = [
26
26
  const itemStatuses = ["draft", "on_hold", "confirmed", "cancelled", "expired", "fulfilled"];
27
27
  const DEFAULT_CURRENCY = "EUR"; // i18n-literal-ok ISO default currency
28
28
  function createBookingItemFormSchema(messages) {
29
- return z.object({
29
+ return z
30
+ .object({
30
31
  title: z.string().min(1, messages.bookingItemDialog.validation.titleRequired),
31
32
  itemType: z.enum(itemTypes).default("unit"),
32
33
  status: z.enum(itemStatuses).default("draft"),
@@ -40,6 +41,16 @@ function createBookingItemFormSchema(messages) {
40
41
  serviceDate: z.string().optional().nullable(),
41
42
  description: z.string().optional().nullable(),
42
43
  notes: z.string().optional().nullable(),
44
+ })
45
+ .superRefine((value, ctx) => {
46
+ const hasCostAmount = value.unitCostAmountCents != null || value.totalCostAmountCents != null;
47
+ if (hasCostAmount && !value.costCurrency) {
48
+ ctx.addIssue({
49
+ code: "custom",
50
+ message: messages.bookingItemDialog.validation.costCurrencyRequired,
51
+ path: ["costCurrency"],
52
+ });
53
+ }
43
54
  });
44
55
  }
45
56
  export function BookingItemDialog({ open, onOpenChange, bookingId, item, onSuccess, }) {
@@ -139,16 +150,16 @@ export function BookingItemDialog({ open, onOpenChange, bookingId, item, onSucce
139
150
  }), currency: form.watch("sellCurrency"), placeholder: messages.bookingItemDialog.placeholders.unitSellAmountCents })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.totalSellAmountCents }), _jsx(CurrencyInput, { value: form.watch("totalSellAmountCents"), onChange: (next) => form.setValue("totalSellAmountCents", next, {
140
151
  shouldDirty: true,
141
152
  shouldValidate: true,
142
- }), currency: form.watch("sellCurrency"), placeholder: messages.bookingItemDialog.placeholders.totalSellAmountCents })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-4", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.costCurrency }), _jsx(CurrencyCombobox, { value: form.watch("costCurrency") || null, onChange: (next) => form.setValue("costCurrency", next ?? DEFAULT_CURRENCY, {
153
+ }), currency: form.watch("sellCurrency"), placeholder: messages.bookingItemDialog.placeholders.totalSellAmountCents })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-4", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.costCurrency }), _jsx(CurrencyCombobox, { value: form.watch("costCurrency") || null, onChange: (next) => form.setValue("costCurrency", next ?? null, {
143
154
  shouldValidate: true,
144
155
  shouldDirty: true,
145
- }) })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.unitCostAmountCents }), _jsx(CurrencyInput, { value: form.watch("unitCostAmountCents"), onChange: (next) => form.setValue("unitCostAmountCents", next, {
156
+ }) }), form.formState.errors.costCurrency && (_jsx("p", { className: "text-xs text-destructive", children: form.formState.errors.costCurrency.message }))] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.unitCostAmountCents }), _jsx(CurrencyInput, { value: form.watch("unitCostAmountCents"), onChange: (next) => form.setValue("unitCostAmountCents", next, {
146
157
  shouldDirty: true,
147
158
  shouldValidate: true,
148
- }), currency: form.watch("costCurrency") || form.watch("sellCurrency"), placeholder: messages.bookingItemDialog.placeholders.unitCostAmountCents })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.totalCostAmountCents }), _jsx(CurrencyInput, { value: form.watch("totalCostAmountCents"), onChange: (next) => form.setValue("totalCostAmountCents", next, {
159
+ }), currency: form.watch("costCurrency"), placeholder: messages.bookingItemDialog.placeholders.unitCostAmountCents })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.totalCostAmountCents }), _jsx(CurrencyInput, { value: form.watch("totalCostAmountCents"), onChange: (next) => form.setValue("totalCostAmountCents", next, {
149
160
  shouldDirty: true,
150
161
  shouldValidate: true,
151
- }), currency: form.watch("costCurrency") || form.watch("sellCurrency"), placeholder: messages.bookingItemDialog.placeholders.totalCostAmountCents })] })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.serviceDate }), _jsx(DatePicker, { value: form.watch("serviceDate") || null, onChange: (next) => form.setValue("serviceDate", next ?? "", {
162
+ }), currency: form.watch("costCurrency"), placeholder: messages.bookingItemDialog.placeholders.totalCostAmountCents })] })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.serviceDate }), _jsx(DatePicker, { value: form.watch("serviceDate") || null, onChange: (next) => form.setValue("serviceDate", next ?? "", {
152
163
  shouldValidate: true,
153
164
  shouldDirty: true,
154
165
  }), placeholder: messages.bookingItemDialog.placeholders.serviceDate, className: "w-full" })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.description }), _jsx(Textarea, { ...form.register("description"), placeholder: messages.bookingItemDialog.placeholders.description })] }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Label, { children: messages.bookingItemDialog.fields.notes }), _jsx(Textarea, { ...form.register("notes"), placeholder: messages.bookingItemDialog.placeholders.notes })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => onOpenChange(false), children: messages.common.cancel }), _jsxs(Button, { type: "submit", size: "sm", disabled: isSubmitting, children: [isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? messages.common.saveChanges : messages.bookingItemDialog.actions.addItem] })] })] })] }) }));
@@ -2,6 +2,7 @@ import * as React from "react";
2
2
  export type BookingItemResourceKind = "product" | "availabilitySlot";
3
3
  export interface BookingItemListProps {
4
4
  bookingId: string;
5
+ readOnly?: boolean;
5
6
  /**
6
7
  * Open a linked resource (product / availability slot) in the host app.
7
8
  * When omitted, the snapshot sheet renders the names as plain text
@@ -9,5 +10,5 @@ export interface BookingItemListProps {
9
10
  */
10
11
  onResourceOpen?: (kind: BookingItemResourceKind, id: string) => void;
11
12
  }
12
- export declare function BookingItemList({ bookingId, onResourceOpen }: BookingItemListProps): React.JSX.Element;
13
+ export declare function BookingItemList({ bookingId, readOnly, onResourceOpen, }: BookingItemListProps): React.JSX.Element;
13
14
  //# sourceMappingURL=booking-item-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"booking-item-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-list.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,kBAAkB,CAAA;AAEpE,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACrE;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,oBAAoB,qBA+NlF"}
1
+ {"version":3,"file":"booking-item-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-list.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,kBAAkB,CAAA;AAEpE,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACrE;AAED,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,QAAgB,EAChB,cAAc,GACf,EAAE,oBAAoB,qBAqOtB"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, Button, } from "@voyant-travel/ui/components";
4
4
  import { DataTable } from "@voyant-travel/ui/components/data-table";
5
5
  import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, } from "@voyant-travel/ui/components/sheet";
@@ -10,7 +10,7 @@ import { useBookingItemMutation, useBookingItems } from "../index.js";
10
10
  import { BookingItemDialog } from "./booking-item-dialog.js";
11
11
  import { IconActionButton } from "./icon-action-button.js";
12
12
  import { StatusBadge } from "./status-badge.js";
13
- export function BookingItemList({ bookingId, onResourceOpen }) {
13
+ export function BookingItemList({ bookingId, readOnly = false, onResourceOpen, }) {
14
14
  const [dialogOpen, setDialogOpen] = React.useState(false);
15
15
  const [editing, setEditing] = React.useState(undefined);
16
16
  const [deleteTarget, setDeleteTarget] = React.useState(null);
@@ -88,20 +88,20 @@ export function BookingItemList({ bookingId, onResourceOpen }) {
88
88
  cell: ({ row }) => (_jsxs("div", { className: "flex items-center justify-end gap-1", children: [_jsx(IconActionButton, { label: messages.bookingItemList.actions.viewItem, icon: _jsx(Eye, { className: "h-3.5 w-3.5" }), onClick: (e) => {
89
89
  e.stopPropagation();
90
90
  setViewing(row.original);
91
- } }), _jsx(IconActionButton, { label: messages.bookingItemList.actions.editItem, icon: _jsx(Pencil, { className: "h-3.5 w-3.5" }), onClick: (e) => {
92
- e.stopPropagation();
93
- setEditing(row.original);
94
- setDialogOpen(true);
95
- } }), _jsx(IconActionButton, { label: messages.bookingItemList.actions.deleteItem, icon: _jsx(Trash2, { className: "h-3.5 w-3.5" }), className: "text-muted-foreground hover:bg-destructive/10 hover:text-destructive", onClick: (e) => {
96
- e.stopPropagation();
97
- setDeleteTarget(row.original);
98
- } })] })),
91
+ } }), readOnly ? null : (_jsxs(_Fragment, { children: [_jsx(IconActionButton, { label: messages.bookingItemList.actions.editItem, icon: _jsx(Pencil, { className: "h-3.5 w-3.5" }), onClick: (e) => {
92
+ e.stopPropagation();
93
+ setEditing(row.original);
94
+ setDialogOpen(true);
95
+ } }), _jsx(IconActionButton, { label: messages.bookingItemList.actions.deleteItem, icon: _jsx(Trash2, { className: "h-3.5 w-3.5" }), className: "text-muted-foreground hover:bg-destructive/10 hover:text-destructive", onClick: (e) => {
96
+ e.stopPropagation();
97
+ setDeleteTarget(row.original);
98
+ } })] }))] })),
99
99
  },
100
- ], [formatCurrency, formatDateTime, messages]);
101
- return (_jsxs("div", { "data-slot": "booking-item-list", className: "flex flex-col gap-3", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("h2", { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(Package, { className: "h-4 w-4" }), messages.bookingItemList.title] }), _jsxs(Button, { variant: "outline", size: "sm", onClick: () => {
100
+ ], [formatCurrency, formatDateTime, messages, readOnly]);
101
+ return (_jsxs("div", { "data-slot": "booking-item-list", className: "flex flex-col gap-3", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("h2", { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(Package, { className: "h-4 w-4" }), messages.bookingItemList.title] }), readOnly ? null : (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => {
102
102
  setEditing(undefined);
103
103
  setDialogOpen(true);
104
- }, children: [_jsx(Plus, { className: "mr-2 h-4 w-4" }), messages.bookingItemList.addItem] })] }), _jsx(DataTable, { columns: columns, data: items, emptyMessage: messages.bookingItemList.empty, showPagination: false }), _jsx(BookingItemDialog, { open: dialogOpen, onOpenChange: (nextOpen) => {
104
+ }, children: [_jsx(Plus, { className: "mr-2 h-4 w-4" }), messages.bookingItemList.addItem] }))] }), _jsx(DataTable, { columns: columns, data: items, emptyMessage: messages.bookingItemList.empty, showPagination: false }), _jsx(BookingItemDialog, { open: dialogOpen, onOpenChange: (nextOpen) => {
105
105
  setDialogOpen(nextOpen);
106
106
  if (!nextOpen) {
107
107
  setEditing(undefined);
@@ -12,7 +12,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
12
12
  productExtraId: string;
13
13
  optionExtraConfigId?: string | null | undefined;
14
14
  status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
15
- collectionStatus?: "not_required" | "pending" | "collected" | "waived" | "refunded" | undefined;
15
+ collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
16
16
  collectionCurrency?: string | null | undefined;
17
17
  collectionAmountCents?: number | null | undefined;
18
18
  notes?: string | null | undefined;
@@ -27,7 +27,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
27
27
  productExtraId: string;
28
28
  optionExtraConfigId?: string | null | undefined;
29
29
  status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
30
- collectionStatus?: "not_required" | "pending" | "collected" | "waived" | "refunded" | undefined;
30
+ collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
31
31
  collectionCurrency?: string | null | undefined;
32
32
  collectionAmountCents?: number | null | undefined;
33
33
  notes?: string | null | undefined;
@@ -39,7 +39,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
39
39
  }, Error, {
40
40
  productExtraId: string;
41
41
  travelerIds: string[];
42
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
42
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
43
43
  collectionCurrency?: string | null | undefined;
44
44
  collectionAmountCents?: number | null | undefined;
45
45
  notes?: string | null | undefined;
@@ -55,7 +55,7 @@ export declare function useSlotExtraManifest(slotId: string | null | undefined,
55
55
  status: "selected" | "cancelled" | "fulfilled" | "no_show";
56
56
  selected: boolean;
57
57
  collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
58
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
58
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
59
59
  collectionCurrency: string | null;
60
60
  collectionAmountCents: number | null;
61
61
  collectedAt: string | null;
@@ -243,7 +243,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
243
243
  status: "selected" | "cancelled" | "fulfilled" | "no_show";
244
244
  selected: boolean;
245
245
  collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
246
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
246
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
247
247
  collectionCurrency: string | null;
248
248
  collectionAmountCents: number | null;
249
249
  collectedAt: string | null;
@@ -307,7 +307,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
307
307
  status: "selected" | "cancelled" | "fulfilled" | "no_show";
308
308
  selected: boolean;
309
309
  collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
310
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
310
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
311
311
  collectionCurrency: string | null;
312
312
  collectionAmountCents: number | null;
313
313
  collectedAt: string | null;
@@ -372,7 +372,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
372
372
  status: "selected" | "cancelled" | "fulfilled" | "no_show";
373
373
  selected: boolean;
374
374
  collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
375
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
375
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
376
376
  collectionCurrency: string | null;
377
377
  collectionAmountCents: number | null;
378
378
  collectedAt: string | null;
@@ -439,7 +439,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
439
439
  status: "selected" | "cancelled" | "fulfilled" | "no_show";
440
440
  selected: boolean;
441
441
  collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
442
- collectionStatus: "not_required" | "pending" | "collected" | "waived" | "refunded";
442
+ collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
443
443
  collectionCurrency: string | null;
444
444
  collectionAmountCents: number | null;
445
445
  collectedAt: string | null;
@@ -175,8 +175,8 @@ export declare const slotExtraManifestSelectionSchema: z.ZodObject<{
175
175
  booking_total: "booking_total";
176
176
  }>;
177
177
  collectionStatus: z.ZodEnum<{
178
- not_required: "not_required";
179
178
  pending: "pending";
179
+ not_required: "not_required";
180
180
  collected: "collected";
181
181
  waived: "waived";
182
182
  refunded: "refunded";
@@ -278,8 +278,8 @@ export declare const slotExtraManifestSchema: z.ZodObject<{
278
278
  booking_total: "booking_total";
279
279
  }>;
280
280
  collectionStatus: z.ZodEnum<{
281
- not_required: "not_required";
282
281
  pending: "pending";
282
+ not_required: "not_required";
283
283
  collected: "collected";
284
284
  waived: "waived";
285
285
  refunded: "refunded";
@@ -383,8 +383,8 @@ export declare const slotExtraManifestResponse: z.ZodObject<{
383
383
  booking_total: "booking_total";
384
384
  }>;
385
385
  collectionStatus: z.ZodEnum<{
386
- not_required: "not_required";
387
386
  pending: "pending";
387
+ not_required: "not_required";
388
388
  collected: "collected";
389
389
  waived: "waived";
390
390
  refunded: "refunded";
@@ -18,7 +18,7 @@ export declare function useBookingActionLedger(bookingId: string | null | undefi
18
18
  actionVersion: string;
19
19
  actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate";
20
20
  status: "cancelled" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "superseded";
21
- evaluatedRisk: "low" | "medium" | "high" | "critical";
21
+ evaluatedRisk: "high" | "low" | "medium" | "critical";
22
22
  actorType: string | null;
23
23
  principalType: "user" | "api_key" | "agent" | "workflow" | "system";
24
24
  principalId: string;
@@ -105,7 +105,7 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
105
105
  availabilitySlotId: string | null;
106
106
  quantity: number;
107
107
  allocationType: "resource" | "unit" | "pickup";
108
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
108
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
109
109
  holdExpiresAt: string | null;
110
110
  confirmedAt: string | null;
111
111
  releasedAt: string | null;
@@ -69,7 +69,7 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
69
69
  availabilitySlotId: string | null;
70
70
  quantity: number;
71
71
  allocationType: "resource" | "unit" | "pickup";
72
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
72
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
73
73
  holdExpiresAt: string | null;
74
74
  confirmedAt: string | null;
75
75
  releasedAt: string | null;
@@ -16,7 +16,7 @@ export declare function useSupplierStatusMutation(bookingId: string): {
16
16
  bookingId: string;
17
17
  supplierServiceId: string | null;
18
18
  serviceName: string;
19
- status: "cancelled" | "pending" | "confirmed" | "rejected";
19
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
20
20
  supplierReference: string | null;
21
21
  costCurrency: string;
22
22
  costAmountCents: number;
@@ -30,7 +30,7 @@ export declare function useSupplierStatusMutation(bookingId: string): {
30
30
  bookingId: string;
31
31
  supplierServiceId: string | null;
32
32
  serviceName: string;
33
- status: "cancelled" | "pending" | "confirmed" | "rejected";
33
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
34
34
  supplierReference: string | null;
35
35
  costCurrency: string;
36
36
  costAmountCents: number;
@@ -7,7 +7,7 @@ export declare function useSupplierStatuses(bookingId: string | null | undefined
7
7
  bookingId: string;
8
8
  supplierServiceId: string | null;
9
9
  serviceName: string;
10
- status: "cancelled" | "pending" | "confirmed" | "rejected";
10
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
11
11
  supplierReference: string | null;
12
12
  costCurrency: string;
13
13
  costAmountCents: number;
@@ -51,6 +51,7 @@ export declare const bookingsUiEnSections: {
51
51
  };
52
52
  validation: {
53
53
  titleRequired: string;
54
+ costCurrencyRequired: string;
54
55
  };
55
56
  actions: {
56
57
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/en-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuWK,CAAA"}
1
+ {"version":3,"file":"en-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/en-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwWK,CAAA"}
@@ -51,6 +51,7 @@ export const bookingsUiEnSections = {
51
51
  },
52
52
  validation: {
53
53
  titleRequired: "Title is required",
54
+ costCurrencyRequired: "Select a cost currency when entering cost amounts",
54
55
  },
55
56
  actions: {
56
57
  addItem: "Add item",
package/dist/i18n/en.d.ts CHANGED
@@ -985,6 +985,7 @@ export declare const bookingsUiEn: {
985
985
  };
986
986
  validation: {
987
987
  titleRequired: string;
988
+ costCurrencyRequired: string;
988
989
  };
989
990
  actions: {
990
991
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ages = {
33
33
  };
34
34
  validation: {
35
35
  titleRequired: string;
36
+ costCurrencyRequired: string;
36
37
  };
37
38
  actions: {
38
39
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"messages-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/messages-sections.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACvC,iBAAiB,EAAE;QACjB,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAA;YACd,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;QACD,cAAc,EAAE,MAAM,CAClB,MAAM,GACN,OAAO,GACP,SAAS,GACT,KAAK,GACL,KAAK,GACL,UAAU,GACV,YAAY,GACZ,eAAe,GACf,WAAW,GACX,OAAO,EACT,MAAM,CACP,CAAA;QACD,gBAAgB,EAAE,MAAM,CACtB,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,EACzE,MAAM,CACP,CAAA;QACD,MAAM,EAAE;YACN,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;YAChB,YAAY,EAAE,MAAM,CAAA;YACpB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,YAAY,EAAE,MAAM,CAAA;YACpB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,YAAY,EAAE;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,WAAW,EA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AAkB,EAAE,MAAM,CAAA;YAC1B,gBAAgB,EAAE,MAAM,CAAA;SACzB,CAAA;QACD,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAA;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,OAAO,EAAE;YACP,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;KACF,CAAA;CACF,CAAA"}
1
+ {"version":3,"file":"messages-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/messages-sections.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACvC,iBAAiB,EAAE;QACjB,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAA;YACd,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;QACD,cAAc,EAAE,MAAM,CAClB,MAAM,GACN,OAAO,GACP,SAAS,GACT,KAAK,GACL,KAAK,GACL,UAAU,GACV,YAAY,GACZ,eAAe,GACf,WAAW,GACX,OAAO,EACT,MAAM,CACP,CAAA;QACD,gBAAgB,EAAE,MAAM,CACtB,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,EACzE,MAAM,CACP,CAAA;QACD,MAAM,EAAE;YACN,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;YAChB,YAAY,EAAE,MAAM,CAAA;YACpB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,YAAY,EAAE,MAAM,CAAA;YACpB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,oBAAoB,EAAE,MAAM,CAAA;YAC5B,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,KAAK,EAAE,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AAA;SACvB,CAAA;QACD,OAAO,EAAE;YACP,WAAW,EAAE,MAAM,CAAA;SACpB,CAAA;KACF,CAAA;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE;YACN,mBAAmB,EAAE,MAAM,CAAA;YAC3B,kBAAkB,EAAE,MAAM,CAAA;YAC1B,gBAAgB,EAAE,MAAM,CAAA;SACzB,CAAA;QACD,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAA;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,OAAO,EAAE;YACP,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;KACF,CAAA;CACF,CAAA"}
@@ -989,6 +989,7 @@ export declare const bookingsUiMessageDefinitions: {
989
989
  };
990
990
  validation: {
991
991
  titleRequired: string;
992
+ costCurrencyRequired: string;
992
993
  };
993
994
  actions: {
994
995
  addItem: string;
@@ -2584,6 +2585,7 @@ export declare const bookingsUiMessageDefinitions: {
2584
2585
  };
2585
2586
  validation: {
2586
2587
  titleRequired: string;
2588
+ costCurrencyRequired: string;
2587
2589
  };
2588
2590
  actions: {
2589
2591
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,aAAa,EAEb,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAKvD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAExD,MAAM,MAAM,0BAA0B,GAAG,sBAAsB,CAAC,kBAAkB,CAAC,CAAA;AASnF,wBAAgB,yBAAyB,CAAC,EACxC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAAA;CAC9C,sBAOA;AAED,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAAA;CAC9C,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,CASvC;AAED,wBAAgB,0BAA0B,CAAC,EACzC,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,0BAA0B,GAAG,IAAI,CAAA;CAC9C,+BAWA;AAED,eAAO,MAAM,iBAAiB,4CAA4B,CAAA;AAC1D,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAElE,wBAAgB,0BAA0B,yCAEzC;AAED,wBAAgB,8BAA8B,uBAE7C;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -51,6 +51,7 @@ export declare const bookingsUiRoSections: {
51
51
  };
52
52
  validation: {
53
53
  titleRequired: string;
54
+ costCurrencyRequired: string;
54
55
  };
55
56
  actions: {
56
57
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ro-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuWK,CAAA"}
1
+ {"version":3,"file":"ro-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwWK,CAAA"}
@@ -51,6 +51,7 @@ export const bookingsUiRoSections = {
51
51
  },
52
52
  validation: {
53
53
  titleRequired: "Titlul este obligatoriu",
54
+ costCurrencyRequired: "Selecteaza moneda costului cand introduci valori de cost",
54
55
  },
55
56
  actions: {
56
57
  addItem: "Adauga articol",
package/dist/i18n/ro.d.ts CHANGED
@@ -985,6 +985,7 @@ export declare const bookingsUiRo: {
985
985
  };
986
986
  validation: {
987
987
  titleRequired: string;
988
+ costCurrencyRequired: string;
988
989
  };
989
990
  actions: {
990
991
  addItem: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMK,CAAA"}
@@ -1165,7 +1165,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
1165
1165
  bookingId: string;
1166
1166
  supplierServiceId: string | null;
1167
1167
  serviceName: string;
1168
- status: "cancelled" | "pending" | "confirmed" | "rejected";
1168
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1169
1169
  supplierReference: string | null;
1170
1170
  costCurrency: string;
1171
1171
  costAmountCents: number;
@@ -1180,7 +1180,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
1180
1180
  bookingId: string;
1181
1181
  supplierServiceId: string | null;
1182
1182
  serviceName: string;
1183
- status: "cancelled" | "pending" | "confirmed" | "rejected";
1183
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1184
1184
  supplierReference: string | null;
1185
1185
  costCurrency: string;
1186
1186
  costAmountCents: number;
@@ -1196,7 +1196,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
1196
1196
  bookingId: string;
1197
1197
  supplierServiceId: string | null;
1198
1198
  serviceName: string;
1199
- status: "cancelled" | "pending" | "confirmed" | "rejected";
1199
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1200
1200
  supplierReference: string | null;
1201
1201
  costCurrency: string;
1202
1202
  costAmountCents: number;
@@ -1214,7 +1214,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
1214
1214
  bookingId: string;
1215
1215
  supplierServiceId: string | null;
1216
1216
  serviceName: string;
1217
- status: "cancelled" | "pending" | "confirmed" | "rejected";
1217
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1218
1218
  supplierReference: string | null;
1219
1219
  costCurrency: string;
1220
1220
  costAmountCents: number;
@@ -1399,7 +1399,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
1399
1399
  availabilitySlotId: string | null;
1400
1400
  quantity: number;
1401
1401
  allocationType: "resource" | "unit" | "pickup";
1402
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
1402
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
1403
1403
  holdExpiresAt: string | null;
1404
1404
  confirmedAt: string | null;
1405
1405
  releasedAt: string | null;
@@ -1495,7 +1495,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
1495
1495
  availabilitySlotId: string | null;
1496
1496
  quantity: number;
1497
1497
  allocationType: "resource" | "unit" | "pickup";
1498
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
1498
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
1499
1499
  holdExpiresAt: string | null;
1500
1500
  confirmedAt: string | null;
1501
1501
  releasedAt: string | null;
@@ -1592,7 +1592,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
1592
1592
  availabilitySlotId: string | null;
1593
1593
  quantity: number;
1594
1594
  allocationType: "resource" | "unit" | "pickup";
1595
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
1595
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
1596
1596
  holdExpiresAt: string | null;
1597
1597
  confirmedAt: string | null;
1598
1598
  releasedAt: string | null;
@@ -1691,7 +1691,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
1691
1691
  availabilitySlotId: string | null;
1692
1692
  quantity: number;
1693
1693
  allocationType: "resource" | "unit" | "pickup";
1694
- status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "held" | "released";
1694
+ status: "cancelled" | "fulfilled" | "confirmed" | "expired" | "released" | "held";
1695
1695
  holdExpiresAt: string | null;
1696
1696
  confirmedAt: string | null;
1697
1697
  releasedAt: string | null;
@@ -10,7 +10,7 @@ export declare function useBookingQuestions(options?: UseBookingQuestionsOptions
10
10
  label: string;
11
11
  description: string | null;
12
12
  target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
13
- fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
13
+ fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "single_select" | "multi_select" | "datetime" | "country";
14
14
  placeholder: string | null;
15
15
  helpText: string | null;
16
16
  isRequired: boolean;
@@ -132,7 +132,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
132
132
  label: string;
133
133
  description: string | null;
134
134
  target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
135
- fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
135
+ fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "single_select" | "multi_select" | "datetime" | "country";
136
136
  placeholder: string | null;
137
137
  helpText: string | null;
138
138
  isRequired: boolean;
@@ -150,7 +150,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
150
150
  label: string;
151
151
  description: string | null;
152
152
  target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
153
- fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
153
+ fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "single_select" | "multi_select" | "datetime" | "country";
154
154
  placeholder: string | null;
155
155
  helpText: string | null;
156
156
  isRequired: boolean;
@@ -169,7 +169,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
169
169
  label: string;
170
170
  description: string | null;
171
171
  target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
172
- fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
172
+ fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "single_select" | "multi_select" | "datetime" | "country";
173
173
  placeholder: string | null;
174
174
  helpText: string | null;
175
175
  isRequired: boolean;
@@ -190,7 +190,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
190
190
  label: string;
191
191
  description: string | null;
192
192
  target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
193
- fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
193
+ fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "single_select" | "multi_select" | "datetime" | "country";
194
194
  placeholder: string | null;
195
195
  helpText: string | null;
196
196
  isRequired: boolean;
@@ -26,9 +26,9 @@ export declare const questionFieldTypeSchema: z.ZodEnum<{
26
26
  phone: "phone";
27
27
  textarea: "textarea";
28
28
  text: "text";
29
- datetime: "datetime";
30
29
  single_select: "single_select";
31
30
  multi_select: "multi_select";
31
+ datetime: "datetime";
32
32
  country: "country";
33
33
  }>;
34
34
  export declare const bookingQuestionSchema: z.ZodObject<{
@@ -55,9 +55,9 @@ export declare const bookingQuestionSchema: z.ZodObject<{
55
55
  phone: "phone";
56
56
  textarea: "textarea";
57
57
  text: "text";
58
- datetime: "datetime";
59
58
  single_select: "single_select";
60
59
  multi_select: "multi_select";
60
+ datetime: "datetime";
61
61
  country: "country";
62
62
  }>;
63
63
  placeholder: z.ZodNullable<z.ZodString>;
@@ -166,9 +166,9 @@ export declare const bookingQuestionListResponse: z.ZodObject<{
166
166
  phone: "phone";
167
167
  textarea: "textarea";
168
168
  text: "text";
169
- datetime: "datetime";
170
169
  single_select: "single_select";
171
170
  multi_select: "multi_select";
171
+ datetime: "datetime";
172
172
  country: "country";
173
173
  }>;
174
174
  placeholder: z.ZodNullable<z.ZodString>;
package/dist/schemas.d.ts CHANGED
@@ -22,8 +22,8 @@ export declare const bookingStatusSchema: z.ZodEnum<{
22
22
  }>;
23
23
  export type BookingStatus = z.infer<typeof bookingStatusSchema>;
24
24
  export declare const supplierConfirmationStatusSchema: z.ZodEnum<{
25
- cancelled: "cancelled";
26
25
  pending: "pending";
26
+ cancelled: "cancelled";
27
27
  confirmed: "confirmed";
28
28
  rejected: "rejected";
29
29
  }>;
@@ -277,8 +277,8 @@ export declare const bookingSupplierStatusRecordSchema: z.ZodObject<{
277
277
  supplierServiceId: z.ZodNullable<z.ZodString>;
278
278
  serviceName: z.ZodString;
279
279
  status: z.ZodEnum<{
280
- cancelled: "cancelled";
281
280
  pending: "pending";
281
+ cancelled: "cancelled";
282
282
  confirmed: "confirmed";
283
283
  rejected: "rejected";
284
284
  }>;
@@ -1302,8 +1302,8 @@ export declare const bookingSupplierStatusesResponse: z.ZodObject<{
1302
1302
  supplierServiceId: z.ZodNullable<z.ZodString>;
1303
1303
  serviceName: z.ZodString;
1304
1304
  status: z.ZodEnum<{
1305
- cancelled: "cancelled";
1306
1305
  pending: "pending";
1306
+ cancelled: "cancelled";
1307
1307
  confirmed: "confirmed";
1308
1308
  rejected: "rejected";
1309
1309
  }>;
@@ -1847,9 +1847,9 @@ export declare const bookingActionLedgerStatusSchema: z.ZodEnum<{
1847
1847
  superseded: "superseded";
1848
1848
  }>;
1849
1849
  export declare const bookingActionLedgerRiskSchema: z.ZodEnum<{
1850
+ high: "high";
1850
1851
  low: "low";
1851
1852
  medium: "medium";
1852
- high: "high";
1853
1853
  critical: "critical";
1854
1854
  }>;
1855
1855
  export declare const bookingActionLedgerPrincipalTypeSchema: z.ZodEnum<{
@@ -1890,9 +1890,9 @@ export declare const bookingActionLedgerEntrySchema: z.ZodObject<{
1890
1890
  superseded: "superseded";
1891
1891
  }>;
1892
1892
  evaluatedRisk: z.ZodEnum<{
1893
+ high: "high";
1893
1894
  low: "low";
1894
1895
  medium: "medium";
1895
- high: "high";
1896
1896
  critical: "critical";
1897
1897
  }>;
1898
1898
  actorType: z.ZodNullable<z.ZodString>;
@@ -1980,9 +1980,9 @@ export declare const bookingActionLedgerListResponse: z.ZodObject<{
1980
1980
  superseded: "superseded";
1981
1981
  }>;
1982
1982
  evaluatedRisk: z.ZodEnum<{
1983
+ high: "high";
1983
1984
  low: "low";
1984
1985
  medium: "medium";
1985
- high: "high";
1986
1986
  critical: "critical";
1987
1987
  }>;
1988
1988
  actorType: z.ZodNullable<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/bookings-react",
3
- "version": "0.138.4",
3
+ "version": "0.138.6",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -146,17 +146,17 @@
146
146
  "react-hook-form": "^7.80.0",
147
147
  "zod": "^4.0.0",
148
148
  "@voyant-travel/admin": "^0.115.3",
149
- "@voyant-travel/catalog-react": "^0.136.1",
150
- "@voyant-travel/distribution-react": "^0.128.2",
151
- "@voyant-travel/bookings": "^0.138.4",
149
+ "@voyant-travel/bookings": "^0.138.6",
150
+ "@voyant-travel/catalog-react": "^0.136.3",
151
+ "@voyant-travel/distribution-react": "^0.128.4",
152
152
  "@voyant-travel/relationships-react": "^0.138.0",
153
- "@voyant-travel/finance-react": "^0.138.6",
154
- "@voyant-travel/identity-react": "^0.138.0",
155
- "@voyant-travel/legal-react": "^0.138.0",
153
+ "@voyant-travel/finance-react": "^0.138.8",
154
+ "@voyant-travel/identity-react": "^0.138.2",
155
+ "@voyant-travel/legal-react": "^0.138.2",
156
156
  "@voyant-travel/commerce-react": "^0.20.0",
157
- "@voyant-travel/operations-react": "^0.19.0",
158
157
  "@voyant-travel/inventory-react": "^0.20.0",
159
- "@voyant-travel/ui": "^0.108.9"
158
+ "@voyant-travel/ui": "^0.108.10",
159
+ "@voyant-travel/operations-react": "^0.19.1"
160
160
  },
161
161
  "peerDependenciesMeta": {
162
162
  "@tanstack/react-table": {
@@ -204,10 +204,10 @@
204
204
  },
205
205
  "dependencies": {
206
206
  "sonner": "^2.0.7",
207
- "@voyant-travel/i18n": "^0.109.7",
207
+ "@voyant-travel/catalog-contracts": "^0.108.1",
208
+ "@voyant-travel/i18n": "^0.109.8",
208
209
  "@voyant-travel/react": "^0.104.1",
209
- "@voyant-travel/types": "^0.106.1",
210
- "@voyant-travel/catalog-contracts": "^0.108.1"
210
+ "@voyant-travel/types": "^0.106.1"
211
211
  },
212
212
  "devDependencies": {
213
213
  "@tanstack/react-query": "^5.101.2",
@@ -223,19 +223,19 @@
223
223
  "vitest": "^4.1.9",
224
224
  "zod": "^4.4.3",
225
225
  "@voyant-travel/admin": "^0.115.3",
226
- "@voyant-travel/bookings": "^0.138.4",
227
- "@voyant-travel/catalog-react": "^0.136.1",
228
- "@voyant-travel/finance-react": "^0.138.6",
229
- "@voyant-travel/identity-react": "^0.138.0",
230
- "@voyant-travel/distribution-react": "^0.128.2",
231
- "@voyant-travel/legal-react": "^0.138.0",
226
+ "@voyant-travel/bookings": "^0.138.6",
227
+ "@voyant-travel/catalog-react": "^0.136.3",
228
+ "@voyant-travel/distribution-react": "^0.128.4",
229
+ "@voyant-travel/relationships-react": "^0.138.0",
230
+ "@voyant-travel/finance-react": "^0.138.8",
231
+ "@voyant-travel/identity-react": "^0.138.2",
232
+ "@voyant-travel/legal-react": "^0.138.2",
232
233
  "@voyant-travel/commerce-react": "^0.20.0",
233
234
  "@voyant-travel/inventory-react": "^0.20.0",
234
235
  "@voyant-travel/react": "^0.104.1",
235
- "@voyant-travel/relationships-react": "^0.138.0",
236
- "@voyant-travel/ui": "^0.108.9",
236
+ "@voyant-travel/ui": "^0.108.10",
237
237
  "@voyant-travel/voyant-typescript-config": "^0.1.0",
238
- "@voyant-travel/operations-react": "^0.19.0"
238
+ "@voyant-travel/operations-react": "^0.19.1"
239
239
  },
240
240
  "files": [
241
241
  "dist",