@ticketboothapp/booking 1.2.63 → 1.2.64
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/package.json +1 -1
- package/src/components/booking/AdminChangeBookingFlow.tsx +652 -121
- package/src/components/booking/BookingFlow.tsx +2 -3
- package/src/components/booking/ChangeBookingFlow.tsx +651 -118
- package/src/components/booking/ChangeBookingPricingDriftPanel.tsx +130 -5
- package/src/components/booking/booking-flow-types.ts +9 -2
- package/src/lib/booking/change-booking-pricing-drift.ts +157 -9
- package/src/lib/booking/change-flow-pricing.ts +5 -6
- package/src/lib/booking-api.ts +17 -0
|
@@ -14,9 +14,8 @@ export type {
|
|
|
14
14
|
} from './booking-flow-types';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Routes to {@link NewBookingFlow}, {@link ChangeBookingFlow}, or {@link AdminChangeBookingFlow}
|
|
18
|
-
*
|
|
19
|
-
* otherwise {@link ChangeBookingFlow}. Both flows are customer self-serve only until dashboard logic is reintroduced.
|
|
17
|
+
* Routes to {@link NewBookingFlow}, {@link ChangeBookingFlow}, or {@link AdminChangeBookingFlow}
|
|
18
|
+
* — duplicated implementations so each flow can be refactored without coupling (no shared runtime core).
|
|
20
19
|
*/
|
|
21
20
|
export function BookingFlow(props: BookingFlowProps) {
|
|
22
21
|
if (props.mode === 'change') {
|