Merged in feat/SW-1077-enter-details-edit-room (pull request #1360)

Feat/SW-1077 enter details edit room

* feat(SW-1077): persist state when changing rooms

* fix: issue with step state when closing accordion and transition to correct room when modifying step


Approved-by: Pontus Dreij
This commit is contained in:
Tobias Johansson
2025-02-19 10:03:11 +00:00
parent 873183ec2f
commit 59eefb877e
8 changed files with 447 additions and 207 deletions

View File

@@ -22,7 +22,7 @@ export const booking: SelectRateSearchParams = {
rooms: [
{
adults: 2,
roomTypeCode: "",
roomTypeCode: "SKS",
rateCode: "",
counterRateCode: "",
childrenInRoom: [{ bed: ChildBedMapEnum.IN_EXTRA_BED, age: 5 }],
@@ -30,7 +30,7 @@ export const booking: SelectRateSearchParams = {
},
{
adults: 2,
roomTypeCode: "",
roomTypeCode: "SKS",
rateCode: "",
counterRateCode: "",
childrenInRoom: [{ bed: ChildBedMapEnum.IN_EXTRA_BED, age: 5 }],
@@ -128,6 +128,16 @@ export const bedType: { [x: string]: BedTypeSelection } = {
},
extraBed: undefined,
},
single: {
type: BedTypeEnum.Single,
description: "Single bed",
size: {
max: 140,
min: 100,
},
value: "CSR",
extraBed: undefined,
},
}
export const guestDetailsNonMember: DetailsSchema = {