@revolugo/elements 6.7.3-rc.2 → 6.8.0-rc.0
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/dist/index.es.min.js +2619 -2554
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.BBkYrDrP.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.DSJE5n7Z.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DwrYTxiv.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.jJmgFO6V.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DgBdyH6X.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.DQXXM5CL.min.js} +36 -36
- package/dist/revolugo.bookingdetailssidebar.CKrtgLGZ.min.js +24 -0
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.Dm6EGehl.min.js} +184 -202
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.ra4Fie13.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.qpy47Wsi.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DD4SRw7w.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.WMRlt8-8.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BWHDapkN.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.C6zxRPaZ.min.js +24 -0
- package/dist/revolugo.cancellationpolicieslist.B-nwKXUj.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.CHhCIAQS.min.js} +28 -47
- package/dist/revolugo.case-transformers.CEdbnlE-.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.698oFnsf.min.js} +652 -903
- package/dist/revolugo.creditcardform.CpSNG8oP.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.6u4OCU4A.min.js} +138 -154
- package/dist/revolugo.creditcardpayment.BLosL1aA.min.js +24 -0
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.BXsQGdbF.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.D-42MaaK.min.js +163 -0
- package/dist/revolugo.currencypickerbtn.NVqcx7mQ.min.js +24 -0
- package/dist/revolugo.dialog-attach.BuUfn9u6.min.js +28 -0
- package/dist/revolugo.dialog-transition.2P5jpnv2.min.js +114 -0
- package/dist/revolugo.fastbookingflow.CFE4HRID.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.DbPlQAXx.min.js} +77 -75
- package/dist/revolugo.hoteldescriptionview.DyHypnsO.min.js +24 -0
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.FAMKFv9n.min.js} +363 -379
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.BXdHFzt5.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.BsjYGZdX.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.D-sHFvFQ.min.js} +1005 -1053
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.oZhVIBxs.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.Cun9amyl.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.BP4Jp5xL.min.js +24 -0
- package/dist/revolugo.hoteloffersmap.CVTv2jVD.min.js +8394 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.B5nONm_1.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.DacCdu_b.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.DVGmJT59.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DmOEadSF.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js} +40 -39
- package/dist/revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js +25 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js} +29 -49
- package/dist/revolugo.hotelroomoffersview.BkR60ueU.min.js +24 -0
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DHjinkWP.min.js} +71 -91
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.B7z0g8al.min.js} +6 -6
- package/dist/revolugo.index.s-onPvC0.min.js +1037 -0
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.CsrQl9B8.min.js} +12812 -13151
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.BiuzuhH0.min.js} +15 -15
- package/dist/revolugo.langpickerbtn.DagJBVfO.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.cw-Pilxv.min.js} +53 -71
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DLEaIEKi.min.js} +45 -44
- package/dist/revolugo.prebookform.CqX9sVfX.min.js +24 -0
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.YQbaVaOP.min.js} +94 -114
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.5YqKPUFg.min.js} +82 -101
- package/dist/revolugo.roominglisteditor.CTnsjWFF.min.js +24 -0
- package/dist/revolugo.rounded.M5NbwQ-2.min.js +68 -0
- package/dist/revolugo.ssrboot.CPwQ4mY-.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.DU-Au-P6.min.js} +110 -108
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.B8wFEMtY.min.js} +90 -108
- package/dist/revolugo.termsandconditions.DdvsS1Nr.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.CZ9QX96a.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.6G-7p4XB.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BxaNSjJA.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.BPIAO9U5.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.BCX-G8mX.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.Q30XKYRx.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.CMYISGau.min.js} +26 -25
- package/dist/revolugo.vdivider.CLbZrEbe.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.BD89Tllc.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bk5MumIG.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.CSdGREv4.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.D8YLLgkd.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.B_sxyWMf.min.js} +90 -88
- package/dist/revolugo.vmenu.B0HL9TEG.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.DjrnZ68P.min.js} +133 -132
- package/dist/revolugo.vsheet.cNM_MdEY.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.MnCR2qht.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CTGdiOPz.min.js} +46 -44
- package/dist/revolugo.vspacer.D6ZThXFV.min.js +7 -0
- package/dist/revolugo.vtextarea._NoUVeyJ.min.js +2102 -0
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.C5IuUTNN.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.DkBiOuPH.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CNASNy8U.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.DWDP8yX4.min.js} +41 -41
- package/dist/revolugo.watch-list.DFagwB6N.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.CyN0tjOk.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -0,0 +1,171 @@
|
|
1
|
+
import { ao as O, k as u, ap as R, E as i } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
2
|
+
const E = O(
|
3
|
+
"hotelRoomOfferRequest",
|
4
|
+
{
|
5
|
+
actions: {
|
6
|
+
DELETE_HOTEL_ROOM_OFFER_REQUEST(e) {
|
7
|
+
this.hotelRoomOfferRequestByHotelId[e] && delete this.hotelRoomOfferRequestByHotelId[e];
|
8
|
+
},
|
9
|
+
RESET_HOTEL_ROOM_OFFER_REQUEST(e) {
|
10
|
+
this.hotelRoomOfferRequestByHotelId[e] = {
|
11
|
+
...this.hotelRoomOfferRequestByHotelId[e],
|
12
|
+
hasError: !1,
|
13
|
+
id: void 0
|
14
|
+
};
|
15
|
+
},
|
16
|
+
RESET_HOTEL_ROOM_OFFER_REQUESTS() {
|
17
|
+
this.hotelRoomOfferRequestByHotelId = {};
|
18
|
+
},
|
19
|
+
SET_HOTEL_ROOM_OFFER_REQUEST(e) {
|
20
|
+
this.hotelRoomOfferRequestByHotelId[e.hotelId] = {
|
21
|
+
...this.hotelRoomOfferRequestByHotelId[e.hotelId],
|
22
|
+
...e
|
23
|
+
};
|
24
|
+
},
|
25
|
+
async createHotelRoomOfferRequest(e) {
|
26
|
+
const o = R();
|
27
|
+
if (o)
|
28
|
+
try {
|
29
|
+
this.SET_HOTEL_ROOM_OFFER_REQUEST({
|
30
|
+
hasError: !1,
|
31
|
+
hotelId: e.hotelId,
|
32
|
+
id: void 0,
|
33
|
+
isFetching: !0
|
34
|
+
});
|
35
|
+
const { eventMetadata: r } = window.RevolugoElements.config, s = {
|
36
|
+
hotelRoomOfferRequestCreateApi: {
|
37
|
+
adultCount: e.adultCount,
|
38
|
+
checkInDate: e.checkInDate,
|
39
|
+
checkOutDate: e.checkOutDate,
|
40
|
+
children: e.children || void 0,
|
41
|
+
eventMetadata: r,
|
42
|
+
hotelId: e.hotelId,
|
43
|
+
roomCount: e.roomCount,
|
44
|
+
sourceMarket: e.sourceMarket
|
45
|
+
}
|
46
|
+
}, t = await o.hotelRoomOfferRequests.create(
|
47
|
+
s
|
48
|
+
);
|
49
|
+
(t.adultCount !== e.adultCount || t.checkInDate !== e.checkInDate || t.checkOutDate !== e.checkOutDate || t.children !== e.children || t.sourceMarket !== e.sourceMarket) && console.warn(
|
50
|
+
`Hotel offer request params mismatch: adultCount: ${t.adultCount} : ${e.adultCount}, checkInDate: ${t.checkInDate} : ${e.checkInDate}, checkOutDate: ${t.checkOutDate} : ${e.checkOutDate}, children: ${t.children} : ${e.children}, roomCount: ${t.roomCount} : ${e.roomCount}, sourceMarket: ${t.sourceMarket} : ${e.sourceMarket}`
|
51
|
+
), this.SET_HOTEL_ROOM_OFFER_REQUEST({
|
52
|
+
...t,
|
53
|
+
hasError: !1,
|
54
|
+
isFetching: !1
|
55
|
+
}), window.RevolugoElements.eventBus.$emit(
|
56
|
+
i.HotelRoomOfferRequestCreated,
|
57
|
+
t
|
58
|
+
);
|
59
|
+
} catch (r) {
|
60
|
+
this.SET_HOTEL_ROOM_OFFER_REQUEST({
|
61
|
+
hasError: !0,
|
62
|
+
hotelId: e.hotelId
|
63
|
+
}), console.error("Cannot create hotel room offer request:", r);
|
64
|
+
}
|
65
|
+
},
|
66
|
+
deleteHotelRoomOfferRequest(e) {
|
67
|
+
this.DELETE_HOTEL_ROOM_OFFER_REQUEST(e);
|
68
|
+
},
|
69
|
+
resetHotelRoomOfferRequest(e) {
|
70
|
+
this.RESET_HOTEL_ROOM_OFFER_REQUEST(e);
|
71
|
+
},
|
72
|
+
resetHotelRoomOfferRequests() {
|
73
|
+
this.RESET_HOTEL_ROOM_OFFER_REQUESTS();
|
74
|
+
},
|
75
|
+
async retrieveHotelRoomOfferRequest({
|
76
|
+
hotelId: e,
|
77
|
+
hotelRoomOfferRequestId: o
|
78
|
+
}) {
|
79
|
+
try {
|
80
|
+
const r = R();
|
81
|
+
if (!r)
|
82
|
+
return;
|
83
|
+
this.SET_HOTEL_ROOM_OFFER_REQUEST({
|
84
|
+
hasError: !1,
|
85
|
+
hotelId: e,
|
86
|
+
id: void 0,
|
87
|
+
isFetching: !0
|
88
|
+
});
|
89
|
+
const s = await (r == null ? void 0 : r.hotelRoomOfferRequests.retrieve({
|
90
|
+
id: o
|
91
|
+
}));
|
92
|
+
if (s.hotelId !== e)
|
93
|
+
throw new Error(
|
94
|
+
"Hotel room offer request does not match provided hotel id"
|
95
|
+
);
|
96
|
+
if (s.id !== o)
|
97
|
+
throw new Error(
|
98
|
+
`Hotel room offer request id mismatch: requested: ${o}, retrieved: ${s.id}`
|
99
|
+
);
|
100
|
+
this.SET_HOTEL_ROOM_OFFER_REQUEST({
|
101
|
+
...s,
|
102
|
+
isFetching: !1
|
103
|
+
}), window.RevolugoElements.eventBus.$emit(
|
104
|
+
i.HotelRoomOfferRequestRetrieved,
|
105
|
+
s
|
106
|
+
);
|
107
|
+
} catch (r) {
|
108
|
+
this.DELETE_HOTEL_ROOM_OFFER_REQUEST(e), console.error("Cannot retrieve hotel offer request:", r);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
},
|
112
|
+
getters: {
|
113
|
+
hotelRoomOfferRequest: (e) => (o) => e.hotelRoomOfferRequestByHotelId[o],
|
114
|
+
nightCount(e) {
|
115
|
+
return (o) => {
|
116
|
+
if (e.hotelRoomOfferRequestByHotelId[o])
|
117
|
+
return u(
|
118
|
+
e.hotelRoomOfferRequestByHotelId[o].checkOutDate,
|
119
|
+
"YYYY-MM-DD"
|
120
|
+
).diff(
|
121
|
+
u(
|
122
|
+
e.hotelRoomOfferRequestByHotelId[o].checkInDate,
|
123
|
+
"YYYY-MM-DD"
|
124
|
+
),
|
125
|
+
"day"
|
126
|
+
);
|
127
|
+
};
|
128
|
+
}
|
129
|
+
},
|
130
|
+
state: () => ({
|
131
|
+
hotelRoomOfferRequestByHotelId: {}
|
132
|
+
})
|
133
|
+
}
|
134
|
+
), f = {
|
135
|
+
adultCount: {
|
136
|
+
required: !0,
|
137
|
+
type: Number
|
138
|
+
},
|
139
|
+
checkInDate: {
|
140
|
+
required: !0,
|
141
|
+
type: String
|
142
|
+
},
|
143
|
+
checkOutDate: {
|
144
|
+
required: !0,
|
145
|
+
type: String
|
146
|
+
},
|
147
|
+
children: {
|
148
|
+
default: null,
|
149
|
+
type: String
|
150
|
+
},
|
151
|
+
hotelId: {
|
152
|
+
required: !0,
|
153
|
+
type: String
|
154
|
+
},
|
155
|
+
hotelRoomOfferRequestId: {
|
156
|
+
type: String
|
157
|
+
},
|
158
|
+
roomCount: {
|
159
|
+
required: !0,
|
160
|
+
type: Number
|
161
|
+
},
|
162
|
+
sourceMarket: {
|
163
|
+
required: !0,
|
164
|
+
type: String
|
165
|
+
}
|
166
|
+
};
|
167
|
+
export {
|
168
|
+
f as h,
|
169
|
+
E as u
|
170
|
+
};
|
171
|
+
//# sourceMappingURL=revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js.map
|
@@ -1,19 +1,20 @@
|
|
1
|
-
import {
|
2
|
-
import { P as Te, p as Re, a as Ce } from "./revolugo.prebookform.
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import { p as
|
7
|
-
import { s as se } from "./revolugo.
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import { V as
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import { V as
|
15
|
-
import { V as
|
16
|
-
import {
|
1
|
+
import { a as Be, h as Oe, H as Ie } from "./revolugo.hotelroomoffersview.DHjinkWP.min.js";
|
2
|
+
import { P as Te, p as Re, a as Ce } from "./revolugo.prebookform.YQbaVaOP.min.js";
|
3
|
+
import { z as _e, d as Q, ag as Fe, u as Me, E as S, _ as V, Z as M, ac as De, a as i, D as p, H as He, aA as $e, $ as P, ai as Le, a2 as Ae, y as F, a6 as Ne, aP as ze, aT as We, aU as oe, aQ as qe, aV as Ue, aS as Ge, F as ge, c as k, w as n, i as ie, v as xe, g as B, e as b, f as y, t as g, r as T, aR as je, o as v, n as Ye, h as Ke } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
4
|
+
import { a as Ze } from "./revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js";
|
5
|
+
import { C as Qe } from "./revolugo.creditcardpayment.6u4OCU4A.min.js";
|
6
|
+
import { p as Je } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DD4SRw7w.min.js";
|
7
|
+
import { s as se } from "./revolugo.common.D-l8b0V5.min.js";
|
8
|
+
import { f as ne } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js";
|
9
|
+
import { u as D, _ as ke, V as O, a as w, W as Xe } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
10
|
+
import { a as ae, R as et, u as tt, g as ot, h as it, V as I, i as st, j as nt, k as at } from "./revolugo.index.s-onPvC0.min.js";
|
11
|
+
import { a as G } from "./revolugo.vbtn.BPIAO9U5.min.js";
|
12
|
+
import { V as re } from "./revolugo.vsnackbar.CTGdiOPz.min.js";
|
13
|
+
import { c as rt } from "./revolugo.position.DLEaIEKi.min.js";
|
14
|
+
import { V as le, m as lt, a as ue, b as ut } from "./revolugo.vwindowitem.DWDP8yX4.min.js";
|
15
|
+
import { V as ce, m as ct } from "./revolugo.vsheet.cNM_MdEY.min.js";
|
16
|
+
import { V as Z } from "./revolugo.vdivider.CLbZrEbe.min.js";
|
17
|
+
import { V as dt } from "./revolugo.vcheckboxbtn.Q30XKYRx.min.js";
|
17
18
|
function Ee(e) {
|
18
19
|
try {
|
19
20
|
if (typeof document < "u") {
|
@@ -44,7 +45,7 @@ const mt = {
|
|
44
45
|
default: () => mt,
|
45
46
|
type: [Object, String]
|
46
47
|
}
|
47
|
-
}, z = 1e3,
|
48
|
+
}, z = 1e3, W = 60 * z, q = 60 * W, de = 24 * q, me = "abort", pe = "end", fe = "progress", he = "start", ve = "visibilitychange", pt = Q({
|
48
49
|
beforeUnmount() {
|
49
50
|
document.removeEventListener(
|
50
51
|
ve,
|
@@ -65,7 +66,7 @@ const mt = {
|
|
65
66
|
*/
|
66
67
|
hours() {
|
67
68
|
return Math.floor(
|
68
|
-
this.totalMilliseconds % de /
|
69
|
+
this.totalMilliseconds % de / q
|
69
70
|
);
|
70
71
|
},
|
71
72
|
/**
|
@@ -81,7 +82,7 @@ const mt = {
|
|
81
82
|
*/
|
82
83
|
minutes() {
|
83
84
|
return Math.floor(
|
84
|
-
this.totalMilliseconds %
|
85
|
+
this.totalMilliseconds % q / W
|
85
86
|
);
|
86
87
|
},
|
87
88
|
/**
|
@@ -90,7 +91,7 @@ const mt = {
|
|
90
91
|
*/
|
91
92
|
seconds() {
|
92
93
|
return Math.floor(
|
93
|
-
this.totalMilliseconds %
|
94
|
+
this.totalMilliseconds % W / z
|
94
95
|
);
|
95
96
|
},
|
96
97
|
/**
|
@@ -105,14 +106,14 @@ const mt = {
|
|
105
106
|
* @returns {number} The computed value.
|
106
107
|
*/
|
107
108
|
totalHours() {
|
108
|
-
return Math.floor(this.totalMilliseconds /
|
109
|
+
return Math.floor(this.totalMilliseconds / q);
|
109
110
|
},
|
110
111
|
/**
|
111
112
|
* Total remaining minutes.
|
112
113
|
* @returns {number} The computed value.
|
113
114
|
*/
|
114
115
|
totalMinutes() {
|
115
|
-
return Math.floor(this.totalMilliseconds /
|
116
|
+
return Math.floor(this.totalMilliseconds / W);
|
116
117
|
},
|
117
118
|
/**
|
118
119
|
* Total remaining seconds.
|
@@ -347,9 +348,9 @@ const mt = {
|
|
347
348
|
}
|
348
349
|
});
|
349
350
|
var ye = /* @__PURE__ */ ((e) => (e[e.Idle = 1] = "Idle", e[e.Payment = 3] = "Payment", e[e.PaymentRequested = 4] = "PaymentRequested", e[e.PaymentSuccessful = 5] = "PaymentSuccessful", e[e.PreBook = 2] = "PreBook", e))(ye || {});
|
350
|
-
const we =
|
351
|
+
const we = Q({
|
351
352
|
components: {
|
352
|
-
CreditCardPayment:
|
353
|
+
CreditCardPayment: Qe,
|
353
354
|
HotelRoomOffersView: Ie,
|
354
355
|
PrebookForm: Ce,
|
355
356
|
VueCountdown: pt
|
@@ -475,8 +476,8 @@ const we = Z({
|
|
475
476
|
}
|
476
477
|
},
|
477
478
|
mixins: [
|
478
|
-
|
479
|
-
|
479
|
+
Ze,
|
480
|
+
Je({
|
480
481
|
fallbackValue: {},
|
481
482
|
propsName: "features"
|
482
483
|
})
|
@@ -623,7 +624,7 @@ function be(e) {
|
|
623
624
|
}
|
624
625
|
});
|
625
626
|
}
|
626
|
-
const
|
627
|
+
const J = Symbol.for("vuetify:v-stepper"), Pe = V({
|
627
628
|
color: String,
|
628
629
|
disabled: {
|
629
630
|
type: [Boolean, String],
|
@@ -744,7 +745,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
744
745
|
let {
|
745
746
|
slots: t
|
746
747
|
} = o;
|
747
|
-
const s = tt(e,
|
748
|
+
const s = tt(e, J, !0), a = p(() => (s == null ? void 0 : s.value.value) ?? e.value), l = p(() => e.rules.every((R) => R() === !0)), u = p(() => !e.disabled && e.editable), c = p(() => !e.disabled && e.editable), f = p(() => e.error || !l.value), d = p(() => e.complete || e.rules.length > 0 && l.value), r = p(() => f.value ? e.errorIcon : d.value ? e.completeIcon : s.isSelected.value && e.editable ? e.editIcon : e.icon), m = p(() => ({
|
748
749
|
canEdit: c.value,
|
749
750
|
hasError: f.value,
|
750
751
|
hasCompleted: d.value,
|
@@ -803,7 +804,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
803
804
|
let {
|
804
805
|
slots: t
|
805
806
|
} = o;
|
806
|
-
const s = Le(
|
807
|
+
const s = Le(J, null), a = Ae(e, "modelValue"), l = p({
|
807
808
|
get() {
|
808
809
|
var u;
|
809
810
|
return a.value != null || !s ? a.value : (u = s.items.value.find((c) => s.selected.value.includes(c.id))) == null ? void 0 : u.value;
|
@@ -891,7 +892,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
891
892
|
next: a,
|
892
893
|
prev: l,
|
893
894
|
selected: u
|
894
|
-
} = nt(e,
|
895
|
+
} = nt(e, J), {
|
895
896
|
displayClasses: c,
|
896
897
|
mobile: f
|
897
898
|
} = ze(e), {
|
@@ -902,7 +903,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
902
903
|
editable: x,
|
903
904
|
prevText: H,
|
904
905
|
nextText: $
|
905
|
-
} =
|
906
|
+
} = We(e), C = p(() => e.items.map((h, j) => {
|
906
907
|
const A = oe(h, e.itemTitle, h), Y = oe(h, e.itemValue, j + 1);
|
907
908
|
return {
|
908
909
|
title: A,
|
@@ -910,7 +911,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
910
911
|
raw: h
|
911
912
|
};
|
912
913
|
})), _ = p(() => s.value.findIndex((h) => u.value.includes(h.id))), L = p(() => e.disabled ? e.disabled : _.value === 0 ? "prev" : _.value === s.value.length - 1 ? "next" : !1);
|
913
|
-
return
|
914
|
+
return qe({
|
914
915
|
VStepperItem: {
|
915
916
|
editable: x,
|
916
917
|
errorIcon: m,
|
@@ -947,7 +948,7 @@ const Q = Symbol.for("vuetify:v-stepper"), Pe = V({
|
|
947
948
|
raw: K,
|
948
949
|
...te
|
949
950
|
} = E;
|
950
|
-
return i(ge, null, [!!N && i(
|
951
|
+
return i(ge, null, [!!N && i(Z, null, null), i(U, te, {
|
951
952
|
default: t[`header-item.${te.value}`] ?? t.header,
|
952
953
|
icon: t.icon,
|
953
954
|
title: t.title,
|
@@ -1104,7 +1105,7 @@ function _t(e, o, t, s, a, l) {
|
|
1104
1105
|
]),
|
1105
1106
|
_: 1
|
1106
1107
|
}, 8, ["value"]),
|
1107
|
-
i(
|
1108
|
+
i(Z),
|
1108
1109
|
i(U, {
|
1109
1110
|
color: "primary",
|
1110
1111
|
complete: [e.STEPS.PaymentSuccessful, e.STEPS.Payment].includes(e.step),
|
@@ -1115,7 +1116,7 @@ function _t(e, o, t, s, a, l) {
|
|
1115
1116
|
]),
|
1116
1117
|
_: 1
|
1117
1118
|
}, 8, ["complete", "value"]),
|
1118
|
-
i(
|
1119
|
+
i(Z),
|
1119
1120
|
i(U, {
|
1120
1121
|
color: "primary",
|
1121
1122
|
complete: e.step === e.STEPS.PaymentSuccessful,
|
@@ -1281,7 +1282,7 @@ function _t(e, o, t, s, a, l) {
|
|
1281
1282
|
});
|
1282
1283
|
}
|
1283
1284
|
typeof be == "function" && be(we);
|
1284
|
-
const Ft = /* @__PURE__ */ ke(we, [["render", _t], ["__scopeId", "data-v-17bd38d1"]]), Mt =
|
1285
|
+
const Ft = /* @__PURE__ */ ke(we, [["render", _t], ["__scopeId", "data-v-17bd38d1"]]), Mt = Q({
|
1285
1286
|
components: {
|
1286
1287
|
HotelRoomOffersBookingFlow: Ft,
|
1287
1288
|
WebComponentWrapper: Xe
|
@@ -1297,9 +1298,9 @@ function Dt(e, o, t, s, a, l) {
|
|
1297
1298
|
_: 1
|
1298
1299
|
});
|
1299
1300
|
}
|
1300
|
-
const
|
1301
|
+
const Xt = /* @__PURE__ */ ke(Mt, [["render", Dt]]);
|
1301
1302
|
Ee("css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css");
|
1302
1303
|
export {
|
1303
|
-
|
1304
|
+
Xt as default
|
1304
1305
|
};
|
1305
|
-
//# sourceMappingURL=revolugo.hotelroomoffersbookingflow.
|
1306
|
+
//# sourceMappingURL=revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js.map
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { h as n } from "./revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js";
|
2
|
+
import { H as a } from "./revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js";
|
3
|
+
import { W as p, _ as s } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
4
|
+
import { d as c, c as m, w as f, a as l, n as u, h as _, r as o, o as i } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
5
|
+
const h = c({
|
6
|
+
components: {
|
7
|
+
HotelRoomOfferSearchMenu: a,
|
8
|
+
WebComponentWrapper: p
|
9
|
+
},
|
10
|
+
props: n
|
11
|
+
});
|
12
|
+
function d(e, R, C, W, H, O) {
|
13
|
+
const r = o("HotelRoomOfferSearchMenu", !0), t = o("WebComponentWrapper");
|
14
|
+
return i(), m(t, null, {
|
15
|
+
default: f(() => [
|
16
|
+
l(r, u(_(e.$props)), null, 16)
|
17
|
+
]),
|
18
|
+
_: 1
|
19
|
+
});
|
20
|
+
}
|
21
|
+
const x = /* @__PURE__ */ s(h, [["render", d]]);
|
22
|
+
export {
|
23
|
+
x as default
|
24
|
+
};
|
25
|
+
//# sourceMappingURL=revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js.map
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import { B as
|
6
|
-
import { _ as
|
7
|
-
function
|
1
|
+
import { d as r, N as R, K as s, u, c as a, g as i, r as m, o as c } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
2
|
+
import { p as h, s as O } from "./revolugo.use-breakpoint-service.CZ9QX96a.min.js";
|
3
|
+
import { w as d } from "./revolugo.watch-list.DFagwB6N.min.js";
|
4
|
+
import { h as q, u as f } from "./revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js";
|
5
|
+
import { B as I } from "./revolugo.bhotelsearchbar.DgBdyH6X.min.js";
|
6
|
+
import { _ as k } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
7
|
+
function p(e, t) {
|
8
8
|
return t ? e.adultCount === t.adultCount && e.checkInDate === t.checkInDate && e.checkOutDate === t.checkOutDate && e.children === t.children && e.hotelId === t.hotelId && e.roomCount === t.roomCount && e.sourceMarket === t.sourceMarket : !1;
|
9
9
|
}
|
10
|
-
const
|
10
|
+
const C = r({
|
11
11
|
computed: {
|
12
|
-
...
|
12
|
+
...s(f)
|
13
13
|
},
|
14
14
|
created() {
|
15
15
|
this.$watch(
|
@@ -45,7 +45,7 @@ const w = h({
|
|
45
45
|
);
|
46
46
|
},
|
47
47
|
data() {
|
48
|
-
const e =
|
48
|
+
const e = O(
|
49
49
|
this.checkInDate,
|
50
50
|
this.checkOutDate
|
51
51
|
);
|
@@ -70,7 +70,7 @@ const w = h({
|
|
70
70
|
), await this.onHotelRoomOfferRequestInternalChange();
|
71
71
|
},
|
72
72
|
// When used in conjunction with HotelRoomOfferSearchMenu, its children (BDateRangePickerMenu or BGuestInputMenu) are able to update the hotelRoomOfferRequestInternal then trigger multiple call to this watcher while we want to trigger the handler only once.
|
73
|
-
onHotelRoomOfferRequestInternalChange:
|
73
|
+
onHotelRoomOfferRequestInternalChange: R(
|
74
74
|
async function() {
|
75
75
|
var t, o;
|
76
76
|
this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId && this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId !== ((t = this.$store.get(
|
@@ -100,7 +100,7 @@ const w = h({
|
|
100
100
|
).id || this.$store.get(
|
101
101
|
"hotelRoomOfferRequest/hotelRoomOfferRequest",
|
102
102
|
this.hotelId
|
103
|
-
).hasError || !
|
103
|
+
).hasError || !p(
|
104
104
|
this.hotelRoomOfferRequestInternal,
|
105
105
|
this.$store.get(
|
106
106
|
"hotelRoomOfferRequest/hotelRoomOfferRequest",
|
@@ -115,14 +115,14 @@ const w = h({
|
|
115
115
|
)
|
116
116
|
},
|
117
117
|
mixins: [
|
118
|
-
|
119
|
-
|
118
|
+
h(),
|
119
|
+
d(["bookingApiClient"], "onBookingApiClientChange", {
|
120
120
|
immediate: !0,
|
121
121
|
nextTick: !0
|
122
122
|
})
|
123
123
|
],
|
124
124
|
name: "HotelRoomOfferRequestCreator",
|
125
|
-
props:
|
125
|
+
props: q,
|
126
126
|
watch: {
|
127
127
|
adultCount(e) {
|
128
128
|
this.hotelRoomOfferRequestInternal = {
|
@@ -192,12 +192,12 @@ const w = h({
|
|
192
192
|
};
|
193
193
|
}
|
194
194
|
}
|
195
|
-
}),
|
195
|
+
}), g = r({
|
196
196
|
components: {
|
197
|
-
BHotelSearchBar:
|
197
|
+
BHotelSearchBar: I
|
198
198
|
},
|
199
199
|
computed: {
|
200
|
-
...
|
200
|
+
...s(f),
|
201
201
|
isFetching() {
|
202
202
|
var e;
|
203
203
|
return (e = this.$store.get(
|
@@ -206,47 +206,27 @@ const w = h({
|
|
206
206
|
)) == null ? void 0 : e.isFetching;
|
207
207
|
}
|
208
208
|
},
|
209
|
-
mixins: [
|
209
|
+
mixins: [C, h()],
|
210
210
|
name: "HotelRoomOfferSearchMenu",
|
211
211
|
setup() {
|
212
|
-
const { t: e } =
|
212
|
+
const { t: e } = u();
|
213
213
|
return {
|
214
214
|
t: e
|
215
215
|
};
|
216
216
|
}
|
217
217
|
});
|
218
|
-
function
|
219
|
-
const
|
220
|
-
return e.isBookingApiClientDefined ? (
|
218
|
+
function D(e, t, o, H, $, M) {
|
219
|
+
const n = m("BHotelSearchBar");
|
220
|
+
return e.isBookingApiClientDefined ? (c(), a(n, {
|
221
221
|
key: 0,
|
222
222
|
modelValue: e.hotelRoomOfferRequestInternal,
|
223
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
223
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.hotelRoomOfferRequestInternal = l),
|
224
224
|
"is-fetching": e.isFetching
|
225
|
-
}, null, 8, ["modelValue", "is-fetching"])) :
|
225
|
+
}, null, 8, ["modelValue", "is-fetching"])) : i("", !0);
|
226
226
|
}
|
227
|
-
const
|
228
|
-
components: {
|
229
|
-
HotelRoomOfferSearchMenu: y,
|
230
|
-
WebComponentWrapper: _
|
231
|
-
},
|
232
|
-
props: f
|
233
|
-
});
|
234
|
-
function x(e, t, o, c, O, d) {
|
235
|
-
const r = n("HotelRoomOfferSearchMenu", !0), s = n("WebComponentWrapper");
|
236
|
-
return R(), u(s, null, {
|
237
|
-
default: C(() => [
|
238
|
-
k(r, g(D(e.$props)), null, 16)
|
239
|
-
]),
|
240
|
-
_: 1
|
241
|
-
});
|
242
|
-
}
|
243
|
-
const P = /* @__PURE__ */ m(W, [["render", x]]), F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
244
|
-
__proto__: null,
|
245
|
-
default: P
|
246
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
227
|
+
const A = /* @__PURE__ */ k(g, [["render", D]]);
|
247
228
|
export {
|
248
|
-
|
249
|
-
|
250
|
-
F as b
|
229
|
+
A as H,
|
230
|
+
C as a
|
251
231
|
};
|
252
|
-
//# sourceMappingURL=revolugo.hotelroomoffersearchmenu.
|
232
|
+
//# sourceMappingURL=revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { h as t, H as n } from "./revolugo.hotelroomoffersview.DHjinkWP.min.js";
|
2
|
+
import { W as p, _ as a } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
3
|
+
import { d as f, c as m, w as c, a as i, n as l, h as _, r as o, o as d } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
4
|
+
const u = f({
|
5
|
+
components: {
|
6
|
+
HotelRoomOffersView: n,
|
7
|
+
WebComponentWrapper: p
|
8
|
+
},
|
9
|
+
props: t
|
10
|
+
});
|
11
|
+
function w(e, R, V, W, C, H) {
|
12
|
+
const r = o("HotelRoomOffersView", !0), s = o("WebComponentWrapper");
|
13
|
+
return d(), m(s, null, {
|
14
|
+
default: c(() => [
|
15
|
+
i(r, l(_(e.$props)), null, 16)
|
16
|
+
]),
|
17
|
+
_: 1
|
18
|
+
});
|
19
|
+
}
|
20
|
+
const b = /* @__PURE__ */ a(u, [["render", w]]);
|
21
|
+
export {
|
22
|
+
b as default
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=revolugo.hotelroomoffersview.BkR60ueU.min.js.map
|