@revolugo/elements 5.5.3 → 5.5.4-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/fonts.css +1 -0
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +1 -0
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +1 -0
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +1 -0
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +1 -0
- package/dist/css/revolugo.btag.Bdbqb_8a.css +1 -0
- package/dist/css/revolugo.common.BSIsYREh.css +1 -0
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +1 -0
- package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +1 -0
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +1 -0
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +1 -0
- package/dist/css/revolugo.hotel-offer.CEd50mBT.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.0LnWfOu_.css +1 -0
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.xJfKaofV.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +1 -0
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +1 -0
- package/dist/css/revolugo.index.BMkl7a3p.css +1 -0
- package/dist/css/revolugo.index.CFW4Oklv.css +1 -0
- package/dist/css/revolugo.index.vq4xksqn.css +1 -0
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
- package/dist/css/revolugo.parsed-height.Xzhpy3D3.css +1 -0
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
- package/dist/css/revolugo.prebookform.DBm2B4rS.css +1 -0
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +5 -0
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +1 -0
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +1 -0
- package/dist/css/revolugo.valert.BzcMswjJ.css +1 -0
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +1 -0
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +1 -0
- package/dist/css/revolugo.vbtn.By46MJOU.css +1 -0
- package/dist/css/revolugo.vcard.DmB53ZNL.css +1 -0
- package/dist/css/revolugo.vchip.BdAdP6lC.css +1 -0
- package/dist/css/revolugo.vdialog.C02Cvwul.css +1 -0
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +1 -0
- package/dist/css/revolugo.vinput.SfhpXNi0.css +1 -0
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +1 -0
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +1 -0
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +1 -0
- package/dist/css/revolugo.vselect.DljSkk6y.css +1 -0
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +1 -0
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +1 -0
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +1 -0
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +1 -0
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +1 -0
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +1 -0
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +1 -0
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +1 -0
- package/dist/index.es.min.js +14187 -0
- package/dist/index.es.min.js.map +1 -0
- package/dist/index.min.js +65 -1
- package/dist/index.min.js.map +1 -0
- package/dist/revolugo.banktransferdetails.CbUr_kHV.min.js +105 -0
- package/dist/revolugo.bbreakfastoptionbadge.DND6bz7J.min.js +62 -0
- package/dist/revolugo.bdaterangepicker.DwXWu7y_.min.js +1351 -0
- package/dist/revolugo.bformattedamount.D4xCyTcv.min.js +82 -0
- package/dist/revolugo.bhotelroomsdetails.8yoNt-KM.min.js +213 -0
- package/dist/revolugo.bhotelsearchbar.Dm84Zzn5.min.js +446 -0
- package/dist/revolugo.booking-api-client.Du5goV4n.min.js +7672 -0
- package/dist/revolugo.bookingdetailssidebar.AR2t6BHt.min.js +28 -0
- package/dist/revolugo.bookingdetailssidebar.DY-YF6-6.min.js +242 -0
- package/dist/revolugo.bookingmanager.KlY3kOLa.min.js +404 -0
- package/dist/revolugo.bphoneinput.Qc_UlGIL.min.js +1935 -0
- package/dist/revolugo.bpricesummaryskeleton.BAzD7raP.min.js +47 -0
- package/dist/revolugo.breakpoint-service.CwWRBzMQ.min.js +65 -0
- package/dist/revolugo.bstarrating.B-PUaeDZ.min.js +173 -0
- package/dist/revolugo.btag.DD6eI8G4.min.js +68 -0
- package/dist/revolugo.cancellationpoliciesbadge.BTwUNf7h.min.js +76 -0
- package/dist/revolugo.cancellationpoliciesbadge.DA_X-aEr.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.BweNL3Zh.min.js +316 -0
- package/dist/revolugo.cancellationpolicieslist.XF-OE6mm.min.js +28 -0
- package/dist/revolugo.common.D4pnatuu.min.js +34 -0
- package/dist/revolugo.creditcardform.B0ZACL31.min.js +28 -0
- package/dist/revolugo.creditcardform.Bmpk72uW.min.js +2047 -0
- package/dist/revolugo.creditcardpayment.DDAlWRp0.min.js +28 -0
- package/dist/revolugo.creditcardpayment.Dnr2WHEp.min.js +288 -0
- package/dist/revolugo.currencypicker.BxCxn4FE.min.js +122 -0
- package/dist/revolugo.currencypickerbtn.D8fIyw_x.min.js +121 -0
- package/dist/revolugo.currencypickerbtn.DoEdhphF.min.js +28 -0
- package/dist/revolugo.dialog-attach.05NirMLv.min.js +27 -0
- package/dist/revolugo.en-us.BP-UxrRq.min.js +1171 -0
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
- package/dist/revolugo.fastbookingflow.BJmesPRr.min.js +28 -0
- package/dist/revolugo.fr-fr.CF_knN5b.min.js +1177 -0
- package/dist/revolugo.fullbookingflow.CBjvuZLP.min.js +239 -0
- package/dist/revolugo.hotel-offer.JfkzuZyf.min.js +608 -0
- package/dist/revolugo.hoteldescriptionview.C9XjZcdv.min.js +2174 -0
- package/dist/revolugo.hoteldescriptionview.wVex0D_a.min.js +28 -0
- package/dist/revolugo.hotelofferitemlayout.BrulX_X4.min.js +64 -0
- package/dist/revolugo.hotelofferlist.CcITpxz4.min.js +28 -0
- package/dist/revolugo.hotelofferlist.DJ8B6BpP.min.js +3450 -0
- package/dist/revolugo.hotelofferrequestcreator.CiNpCqiH.min.js +225 -0
- package/dist/revolugo.hoteloffersearchmenu.CnVV4htq.min.js +54 -0
- package/dist/revolugo.hoteloffersmap.C1N5EZ0d.min.js +28 -0
- package/dist/revolugo.hoteloffersmap.gHrmWy8H.min.js +8737 -0
- package/dist/revolugo.hoteloffersview.BCvASsRk.min.js +157 -0
- package/dist/revolugo.hoteloffersview.DfbOUEie.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.BS32D6Sj.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.BltT6U-0.min.js +1336 -0
- package/dist/revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js +225 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BuMF7NU2.min.js +679 -0
- package/dist/revolugo.hotelroomoffersearchmenu.Bsg_FnJp.min.js +29 -0
- package/dist/revolugo.hotelroomoffersearchmenu.DqVQ1oKf.min.js +38 -0
- package/dist/revolugo.hotelroomoffersview.4NC1efEJ.min.js +124 -0
- package/dist/revolugo.hotelroomoffersview.DfmNWUJQ.min.js +28 -0
- package/dist/revolugo.i18n.DF3U6VhD.min.js +11263 -0
- package/dist/revolugo.index.A8BtC3Nq.min.js +322 -0
- package/dist/revolugo.index.BEcLuOn-.min.js +281 -0
- package/dist/revolugo.index.BUUmIL9V.min.js +68 -0
- package/dist/revolugo.index.BwvidmNu.min.js +128 -0
- package/dist/revolugo.index.CQC_pZJn.min.js +15 -0
- package/dist/revolugo.index.CcRooNT6.min.js +270 -0
- package/dist/revolugo.index.Cn5YTzy6.min.js +43 -0
- package/dist/revolugo.index.Cn8GgIte.min.js +142 -0
- package/dist/revolugo.index.DTZNxZHf.min.js +9 -0
- package/dist/revolugo.index.DfBSjbYu.min.js +42 -0
- package/dist/revolugo.index.GdvjICDR.min.js +13 -0
- package/dist/revolugo.index.owaXEEBO.min.js +9 -0
- package/dist/revolugo.index.sTY3URQu.min.js +390 -0
- package/dist/revolugo.index.tY8MFB9m.min.js +161 -0
- package/dist/revolugo.langpicker.yr7wtnZM.min.js +103 -0
- package/dist/revolugo.langpickerbtn.4XN3tTRs.min.js +28 -0
- package/dist/revolugo.langpickerbtn.BHhYWwCD.min.js +111 -0
- package/dist/revolugo.localizedformat.Wox_NThB.min.js +47 -0
- package/dist/revolugo.min.js +260 -7
- package/dist/revolugo.parsed-height.DRzHRmIo.min.js +2492 -0
- package/dist/revolugo.parsed-props.B_x1Ob04.min.js +95 -0
- package/dist/revolugo.prebookform.CtTKl-QM.min.js +483 -0
- package/dist/revolugo.prebookform.DMX0_9De.min.js +28 -0
- package/dist/revolugo.revolugo-config.Bs_HF2Eu.min.js +1707 -0
- package/dist/revolugo.roominglisteditor.BpdFoplV.min.js +201 -0
- package/dist/revolugo.roominglisteditor.DxmH3gRW.min.js +28 -0
- package/dist/revolugo.sentry.Bc7mnscp.min.js +12146 -0
- package/dist/revolugo.store.DPvvq0Rz.min.js +1718 -0
- package/dist/revolugo.storybooktoolbar.C_y4Nf-_.min.js +300 -0
- package/dist/revolugo.termsandconditions.BIHsJaCg.min.js +27 -0
- package/dist/revolugo.termsandconditions.D2C1eZuC.min.js +162 -0
- package/dist/revolugo.typed-mixins.B_7wrdes.min.js +8 -0
- package/dist/revolugo.valert.CMzvSBzo.min.js +194 -0
- package/dist/revolugo.vautocomplete.C-5OLCEj.min.js +255 -0
- package/dist/revolugo.vbadge.xQq9jf9W.min.js +172 -0
- package/dist/revolugo.vbtn.CP4AezmI.min.js +286 -0
- package/dist/revolugo.vcard.Cy5A2_pV.min.js +80 -0
- package/dist/revolugo.vchip.BcIMSmkF.min.js +157 -0
- package/dist/revolugo.vdialog.BAexO59W.min.js +341 -0
- package/dist/revolugo.vexpansionpanelheader.D9ENep1_.min.js +263 -0
- package/dist/revolugo.vform.oeljK9Tu.min.js +98 -0
- package/dist/revolugo.vinput.CDpcVlCU.min.js +509 -0
- package/dist/revolugo.vitemgroup.DyY_3pfW.min.js +168 -0
- package/dist/revolugo.vlistitem.CrJxrMpP.min.js +204 -0
- package/dist/revolugo.vmenu.CtMz9t6s.min.js +349 -0
- package/dist/revolugo.vselect.UcLk_jBF.min.js +859 -0
- package/dist/revolugo.vsheet.C1tyLBBd.min.js +120 -0
- package/dist/revolugo.vskeletonloader.CMMMMGzf.min.js +172 -0
- package/dist/revolugo.vslidegroup.BXF0FLd1.min.js +650 -0
- package/dist/revolugo.vsnackbar.xIK_rBpB.min.js +178 -0
- package/dist/revolugo.vtextfield.D2qOTbGQ.min.js +438 -0
- package/dist/revolugo.vtoolbar.D3HhuFrj.min.js +364 -0
- package/dist/revolugo.vtooltip.B7xN8tzo.min.js +168 -0
- package/dist/revolugo.vuetify.yojzDMFk.min.js +865 -0
- package/dist/revolugo.watch-list.cR2ZEwBA.min.js +44 -0
- package/dist/revolugo.webcomponentwrapper.-wnE6sKX.min.js +777 -0
- package/package.json +25 -32
- package/dist/css/revolugo.0.min.css +0 -5
- package/dist/css/revolugo.1.min.css +0 -1
- package/dist/css/revolugo.11.min.css +0 -1
- package/dist/css/revolugo.12.min.css +0 -1
- package/dist/css/revolugo.13.min.css +0 -1
- package/dist/css/revolugo.14.min.css +0 -1
- package/dist/css/revolugo.15.min.css +0 -1
- package/dist/css/revolugo.16.min.css +0 -1
- package/dist/css/revolugo.17.min.css +0 -1
- package/dist/css/revolugo.18.min.css +0 -1
- package/dist/css/revolugo.19.min.css +0 -1
- package/dist/css/revolugo.2.min.css +0 -1
- package/dist/css/revolugo.20.min.css +0 -1
- package/dist/css/revolugo.21.min.css +0 -1
- package/dist/css/revolugo.22.min.css +0 -1
- package/dist/css/revolugo.23.min.css +0 -1
- package/dist/css/revolugo.24.min.css +0 -1
- package/dist/css/revolugo.25.min.css +0 -1
- package/dist/css/revolugo.26.min.css +0 -1
- package/dist/css/revolugo.27.min.css +0 -1
- package/dist/css/revolugo.28.min.css +0 -1
- package/dist/css/revolugo.29.min.css +0 -1
- package/dist/css/revolugo.30.min.css +0 -1
- package/dist/css/revolugo.31.min.css +0 -1
- package/dist/css/revolugo.32.min.css +0 -1
- package/dist/css/revolugo.33.min.css +0 -1
- package/dist/css/revolugo.34.min.css +0 -1
- package/dist/css/revolugo.4.min.css +0 -1
- package/dist/css/revolugo.5.min.css +0 -1
- package/dist/css/revolugo.6.min.css +0 -1
- package/dist/css/revolugo.7.min.css +0 -1
- package/dist/css/revolugo.fonts.min.css +0 -1
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +0 -42
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +0 -12
- package/dist/img/apst.c1092975.png +0 -0
- package/dist/img/apst.ec7669f2.png +0 -0
- package/dist/img/atout-france.72107e30.png +0 -0
- package/dist/img/atout-france.df038f22.png +0 -0
- package/dist/img/revolugo.179c459d.png +0 -0
- package/dist/img/revolugo.e0879dcc.png +0 -0
- package/dist/img/stripe.405543e2.png +0 -0
- package/dist/img/stripe.c3e16f9f.png +0 -0
- package/dist/revolugo.0.min.js +0 -18
- package/dist/revolugo.1.min.js +0 -1
- package/dist/revolugo.11.min.js +0 -134
- package/dist/revolugo.12.min.js +0 -19
- package/dist/revolugo.13.min.js +0 -14
- package/dist/revolugo.14.min.js +0 -19
- package/dist/revolugo.15.min.js +0 -139
- package/dist/revolugo.16.min.js +0 -14
- package/dist/revolugo.17.min.js +0 -14
- package/dist/revolugo.18.min.js +0 -1
- package/dist/revolugo.19.min.js +0 -1
- package/dist/revolugo.2.min.js +0 -1
- package/dist/revolugo.20.min.js +0 -1
- package/dist/revolugo.21.min.js +0 -116
- package/dist/revolugo.22.min.js +0 -1
- package/dist/revolugo.23.min.js +0 -1
- package/dist/revolugo.24.min.js +0 -1
- package/dist/revolugo.25.min.js +0 -1
- package/dist/revolugo.26.min.js +0 -1
- package/dist/revolugo.27.min.js +0 -1
- package/dist/revolugo.28.min.js +0 -116
- package/dist/revolugo.29.min.js +0 -1
- package/dist/revolugo.30.min.js +0 -1
- package/dist/revolugo.31.min.js +0 -1
- package/dist/revolugo.32.min.js +0 -1
- package/dist/revolugo.33.min.js +0 -1
- package/dist/revolugo.34.min.js +0 -1
- package/dist/revolugo.35.min.js +0 -1
- package/dist/revolugo.36.min.js +0 -1
- package/dist/revolugo.4.min.js +0 -1
- package/dist/revolugo.5.min.js +0 -1
- package/dist/revolugo.6.min.js +0 -1
- package/dist/revolugo.7.min.js +0 -1
- package/dist/revolugo.en-US.min.js +0 -1
- package/dist/revolugo.fonts.min.js +0 -1
- package/dist/revolugo.fr-FR.min.js +0 -1
@@ -0,0 +1,679 @@
|
|
1
|
+
import { o as T, V as B } from "./revolugo.i18n.DF3U6VhD.min.js";
|
2
|
+
import { a as $, h as x, H as L } from "./revolugo.hotelroomoffersview.4NC1efEJ.min.js";
|
3
|
+
import { a as F, p as I, P as D } from "./revolugo.prebookform.CtTKl-QM.min.js";
|
4
|
+
import { i as N, k as A, c as C, E as r } from "./revolugo.revolugo-config.Bs_HF2Eu.min.js";
|
5
|
+
import { H as U } from "./revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js";
|
6
|
+
import { C as V } from "./revolugo.creditcardpayment.Dnr2WHEp.min.js";
|
7
|
+
import { m as P, C as H, l as Y, n as O, _ as c, a, W as q } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
|
8
|
+
import { p as K, _ as v } from "./revolugo.parsed-props.B_x1Ob04.min.js";
|
9
|
+
import { s as E } from "./revolugo.common.D4pnatuu.min.js";
|
10
|
+
import { _ } from "./revolugo.vsheet.C1tyLBBd.min.js";
|
11
|
+
import { p as G, _ as u, i as W } from "./revolugo.index.sTY3URQu.min.js";
|
12
|
+
import { P as j } from "./revolugo.index.BEcLuOn-.min.js";
|
13
|
+
import { r as z } from "./revolugo.vuetify.yojzDMFk.min.js";
|
14
|
+
import { _ as S } from "./revolugo.vsnackbar.xIK_rBpB.min.js";
|
15
|
+
import { _ as k } from "./revolugo.vbtn.CP4AezmI.min.js";
|
16
|
+
import { _ as Q } from "./revolugo.valert.CMzvSBzo.min.js";
|
17
|
+
function R(e) {
|
18
|
+
try {
|
19
|
+
if (typeof document < "u") {
|
20
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
21
|
+
sheets: [],
|
22
|
+
components: []
|
23
|
+
};
|
24
|
+
const t = import.meta.url, s = t.slice(0, t.lastIndexOf("/") + 1) + e;
|
25
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
|
26
|
+
for (const o of REVOLUGO_ELEMENTS_STYLES.components)
|
27
|
+
o(s);
|
28
|
+
if (e.indexOf("fonts") >= 0) {
|
29
|
+
const o = document.createElement("link");
|
30
|
+
o.rel = "stylesheet", linK.href = s, document.head.appendChild(o);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
} catch (t) {
|
34
|
+
console.error("[revolugo-elements] ", t);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
const J = P(_, G("stepper"), j), X = J.extend({
|
38
|
+
name: "v-stepper",
|
39
|
+
provide() {
|
40
|
+
return {
|
41
|
+
stepClick: this.stepClick,
|
42
|
+
isVertical: this.vertical
|
43
|
+
};
|
44
|
+
},
|
45
|
+
props: {
|
46
|
+
altLabels: Boolean,
|
47
|
+
nonLinear: Boolean,
|
48
|
+
flat: Boolean,
|
49
|
+
vertical: Boolean
|
50
|
+
},
|
51
|
+
data() {
|
52
|
+
const e = {
|
53
|
+
isBooted: !1,
|
54
|
+
steps: [],
|
55
|
+
content: [],
|
56
|
+
isReverse: !1
|
57
|
+
};
|
58
|
+
return e.internalLazyValue = this.value != null ? this.value : (e[0] || {}).step || 1, e;
|
59
|
+
},
|
60
|
+
computed: {
|
61
|
+
classes() {
|
62
|
+
return {
|
63
|
+
"v-stepper--flat": this.flat,
|
64
|
+
"v-stepper--is-booted": this.isBooted,
|
65
|
+
"v-stepper--vertical": this.vertical,
|
66
|
+
"v-stepper--alt-labels": this.altLabels,
|
67
|
+
"v-stepper--non-linear": this.nonLinear,
|
68
|
+
..._.options.computed.classes.call(this)
|
69
|
+
};
|
70
|
+
},
|
71
|
+
styles() {
|
72
|
+
return {
|
73
|
+
..._.options.computed.styles.call(this)
|
74
|
+
};
|
75
|
+
}
|
76
|
+
},
|
77
|
+
watch: {
|
78
|
+
internalValue(e, t) {
|
79
|
+
this.isReverse = Number(e) < Number(t), t && (this.isBooted = !0), this.updateView();
|
80
|
+
}
|
81
|
+
},
|
82
|
+
created() {
|
83
|
+
this.$listeners.input && N("@input", "@change", this);
|
84
|
+
},
|
85
|
+
mounted() {
|
86
|
+
this.updateView();
|
87
|
+
},
|
88
|
+
methods: {
|
89
|
+
register(e) {
|
90
|
+
e.$options.name === "v-stepper-step" ? this.steps.push(e) : e.$options.name === "v-stepper-content" && (e.isVertical = this.vertical, this.content.push(e));
|
91
|
+
},
|
92
|
+
unregister(e) {
|
93
|
+
e.$options.name === "v-stepper-step" ? this.steps = this.steps.filter((t) => t !== e) : e.$options.name === "v-stepper-content" && (e.isVertical = this.vertical, this.content = this.content.filter((t) => t !== e));
|
94
|
+
},
|
95
|
+
stepClick(e) {
|
96
|
+
this.$nextTick(() => this.internalValue = e);
|
97
|
+
},
|
98
|
+
updateView() {
|
99
|
+
for (let e = this.steps.length; --e >= 0; )
|
100
|
+
this.steps[e].toggle(this.internalValue);
|
101
|
+
for (let e = this.content.length; --e >= 0; )
|
102
|
+
this.content[e].toggle(this.internalValue, this.isReverse);
|
103
|
+
}
|
104
|
+
},
|
105
|
+
render(e) {
|
106
|
+
return e(this.tag, {
|
107
|
+
staticClass: "v-stepper",
|
108
|
+
class: this.classes,
|
109
|
+
style: this.styles
|
110
|
+
}, this.$slots.default);
|
111
|
+
}
|
112
|
+
}), Z = P(H, W("stepper", "v-stepper-step", "v-stepper")), m = Z.extend().extend({
|
113
|
+
name: "v-stepper-step",
|
114
|
+
directives: {
|
115
|
+
ripple: z
|
116
|
+
},
|
117
|
+
inject: ["stepClick"],
|
118
|
+
props: {
|
119
|
+
color: {
|
120
|
+
type: String,
|
121
|
+
default: "primary"
|
122
|
+
},
|
123
|
+
complete: Boolean,
|
124
|
+
completeIcon: {
|
125
|
+
type: String,
|
126
|
+
default: "$complete"
|
127
|
+
},
|
128
|
+
editable: Boolean,
|
129
|
+
editIcon: {
|
130
|
+
type: String,
|
131
|
+
default: "$edit"
|
132
|
+
},
|
133
|
+
errorIcon: {
|
134
|
+
type: String,
|
135
|
+
default: "$error"
|
136
|
+
},
|
137
|
+
rules: {
|
138
|
+
type: Array,
|
139
|
+
default: () => []
|
140
|
+
},
|
141
|
+
step: [Number, String]
|
142
|
+
},
|
143
|
+
data() {
|
144
|
+
return {
|
145
|
+
isActive: !1,
|
146
|
+
isInactive: !0
|
147
|
+
};
|
148
|
+
},
|
149
|
+
computed: {
|
150
|
+
classes() {
|
151
|
+
return {
|
152
|
+
"v-stepper__step--active": this.isActive,
|
153
|
+
"v-stepper__step--editable": this.editable,
|
154
|
+
"v-stepper__step--inactive": this.isInactive,
|
155
|
+
"v-stepper__step--error error--text": this.hasError,
|
156
|
+
"v-stepper__step--complete": this.complete
|
157
|
+
};
|
158
|
+
},
|
159
|
+
hasError() {
|
160
|
+
return this.rules.some((e) => e() !== !0);
|
161
|
+
}
|
162
|
+
},
|
163
|
+
mounted() {
|
164
|
+
this.stepper && this.stepper.register(this);
|
165
|
+
},
|
166
|
+
beforeDestroy() {
|
167
|
+
this.stepper && this.stepper.unregister(this);
|
168
|
+
},
|
169
|
+
methods: {
|
170
|
+
click(e) {
|
171
|
+
e.stopPropagation(), this.$emit("click", e), this.editable && this.stepClick(this.step);
|
172
|
+
},
|
173
|
+
genIcon(e) {
|
174
|
+
return this.$createElement(u, e);
|
175
|
+
},
|
176
|
+
genLabel() {
|
177
|
+
return this.$createElement("div", {
|
178
|
+
staticClass: "v-stepper__label"
|
179
|
+
}, this.$slots.default);
|
180
|
+
},
|
181
|
+
genStep() {
|
182
|
+
const e = !this.hasError && (this.complete || this.isActive) ? this.color : !1;
|
183
|
+
return this.$createElement("span", this.setBackgroundColor(e, {
|
184
|
+
staticClass: "v-stepper__step__step"
|
185
|
+
}), this.genStepContent());
|
186
|
+
},
|
187
|
+
genStepContent() {
|
188
|
+
const e = [];
|
189
|
+
return this.hasError ? e.push(this.genIcon(this.errorIcon)) : this.complete ? this.editable ? e.push(this.genIcon(this.editIcon)) : e.push(this.genIcon(this.completeIcon)) : e.push(String(this.step)), e;
|
190
|
+
},
|
191
|
+
keyboardClick(e) {
|
192
|
+
e.keyCode === A.space && this.click(e);
|
193
|
+
},
|
194
|
+
toggle(e) {
|
195
|
+
this.isActive = e.toString() === this.step.toString(), this.isInactive = Number(e) < Number(this.step);
|
196
|
+
}
|
197
|
+
},
|
198
|
+
render(e) {
|
199
|
+
return e("div", {
|
200
|
+
attrs: {
|
201
|
+
tabindex: this.editable ? 0 : -1
|
202
|
+
},
|
203
|
+
staticClass: "v-stepper__step",
|
204
|
+
class: this.classes,
|
205
|
+
directives: [{
|
206
|
+
name: "ripple",
|
207
|
+
value: this.editable
|
208
|
+
}],
|
209
|
+
on: {
|
210
|
+
click: this.click,
|
211
|
+
keydown: this.keyboardClick
|
212
|
+
}
|
213
|
+
}, [this.genStep(), this.genLabel()]);
|
214
|
+
}
|
215
|
+
}), tt = C("v-stepper__header");
|
216
|
+
C("v-stepper__items");
|
217
|
+
const et = {
|
218
|
+
HotelRoomOffersView: $,
|
219
|
+
PrebookForm: F
|
220
|
+
}, w = {
|
221
|
+
...x,
|
222
|
+
...T(I, ["bookingId", "bookingPolicyId", "hotelRoomOffer"]),
|
223
|
+
features: {
|
224
|
+
default: () => et,
|
225
|
+
type: [Object, String]
|
226
|
+
}
|
227
|
+
};
|
228
|
+
/*!
|
229
|
+
* vue-countdown v1.1.5
|
230
|
+
* https://fengyuanchen.github.io/vue-countdown
|
231
|
+
*
|
232
|
+
* Copyright 2018-present Chen Fengyuan
|
233
|
+
* Released under the MIT license
|
234
|
+
*
|
235
|
+
* Date: 2020-02-25T01:19:32.769Z
|
236
|
+
*/
|
237
|
+
var h = 1e3, d = 60 * h, f = 60 * d, b = 24 * f, y = "visibilitychange", st = {
|
238
|
+
name: "countdown",
|
239
|
+
data: function() {
|
240
|
+
return {
|
241
|
+
/**
|
242
|
+
* It is counting down.
|
243
|
+
* @type {boolean}
|
244
|
+
*/
|
245
|
+
counting: !1,
|
246
|
+
/**
|
247
|
+
* The absolute end time.
|
248
|
+
* @type {number}
|
249
|
+
*/
|
250
|
+
endTime: 0,
|
251
|
+
/**
|
252
|
+
* The remaining milliseconds.
|
253
|
+
* @type {number}
|
254
|
+
*/
|
255
|
+
totalMilliseconds: 0
|
256
|
+
};
|
257
|
+
},
|
258
|
+
props: {
|
259
|
+
/**
|
260
|
+
* Starts the countdown automatically when initialized.
|
261
|
+
*/
|
262
|
+
autoStart: {
|
263
|
+
type: Boolean,
|
264
|
+
default: !0
|
265
|
+
},
|
266
|
+
/**
|
267
|
+
* Emits the countdown events.
|
268
|
+
*/
|
269
|
+
emitEvents: {
|
270
|
+
type: Boolean,
|
271
|
+
default: !0
|
272
|
+
},
|
273
|
+
/**
|
274
|
+
* The interval time (in milliseconds) of the countdown progress.
|
275
|
+
*/
|
276
|
+
interval: {
|
277
|
+
type: Number,
|
278
|
+
default: 1e3,
|
279
|
+
validator: function(t) {
|
280
|
+
return t >= 0;
|
281
|
+
}
|
282
|
+
},
|
283
|
+
/**
|
284
|
+
* Generate the current time of a specific time zone.
|
285
|
+
*/
|
286
|
+
now: {
|
287
|
+
type: Function,
|
288
|
+
default: function() {
|
289
|
+
return Date.now();
|
290
|
+
}
|
291
|
+
},
|
292
|
+
/**
|
293
|
+
* The tag name of the component's root element.
|
294
|
+
*/
|
295
|
+
tag: {
|
296
|
+
type: String,
|
297
|
+
default: "span"
|
298
|
+
},
|
299
|
+
/**
|
300
|
+
* The time (in milliseconds) to count down from.
|
301
|
+
*/
|
302
|
+
time: {
|
303
|
+
type: Number,
|
304
|
+
default: 0,
|
305
|
+
validator: function(t) {
|
306
|
+
return t >= 0;
|
307
|
+
}
|
308
|
+
},
|
309
|
+
/**
|
310
|
+
* Transforms the output props before render.
|
311
|
+
*/
|
312
|
+
transform: {
|
313
|
+
type: Function,
|
314
|
+
default: function(t) {
|
315
|
+
return t;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
},
|
319
|
+
computed: {
|
320
|
+
/**
|
321
|
+
* Remaining days.
|
322
|
+
* @returns {number} The computed value.
|
323
|
+
*/
|
324
|
+
days: function() {
|
325
|
+
return Math.floor(this.totalMilliseconds / b);
|
326
|
+
},
|
327
|
+
/**
|
328
|
+
* Remaining hours.
|
329
|
+
* @returns {number} The computed value.
|
330
|
+
*/
|
331
|
+
hours: function() {
|
332
|
+
return Math.floor(this.totalMilliseconds % b / f);
|
333
|
+
},
|
334
|
+
/**
|
335
|
+
* Remaining minutes.
|
336
|
+
* @returns {number} The computed value.
|
337
|
+
*/
|
338
|
+
minutes: function() {
|
339
|
+
return Math.floor(this.totalMilliseconds % f / d);
|
340
|
+
},
|
341
|
+
/**
|
342
|
+
* Remaining seconds.
|
343
|
+
* @returns {number} The computed value.
|
344
|
+
*/
|
345
|
+
seconds: function() {
|
346
|
+
return Math.floor(this.totalMilliseconds % d / h);
|
347
|
+
},
|
348
|
+
/**
|
349
|
+
* Remaining milliseconds.
|
350
|
+
* @returns {number} The computed value.
|
351
|
+
*/
|
352
|
+
milliseconds: function() {
|
353
|
+
return Math.floor(this.totalMilliseconds % h);
|
354
|
+
},
|
355
|
+
/**
|
356
|
+
* Total remaining days.
|
357
|
+
* @returns {number} The computed value.
|
358
|
+
*/
|
359
|
+
totalDays: function() {
|
360
|
+
return this.days;
|
361
|
+
},
|
362
|
+
/**
|
363
|
+
* Total remaining hours.
|
364
|
+
* @returns {number} The computed value.
|
365
|
+
*/
|
366
|
+
totalHours: function() {
|
367
|
+
return Math.floor(this.totalMilliseconds / f);
|
368
|
+
},
|
369
|
+
/**
|
370
|
+
* Total remaining minutes.
|
371
|
+
* @returns {number} The computed value.
|
372
|
+
*/
|
373
|
+
totalMinutes: function() {
|
374
|
+
return Math.floor(this.totalMilliseconds / d);
|
375
|
+
},
|
376
|
+
/**
|
377
|
+
* Total remaining seconds.
|
378
|
+
* @returns {number} The computed value.
|
379
|
+
*/
|
380
|
+
totalSeconds: function() {
|
381
|
+
return Math.floor(this.totalMilliseconds / h);
|
382
|
+
}
|
383
|
+
},
|
384
|
+
render: function(t) {
|
385
|
+
return t(this.tag, this.$scopedSlots.default ? [this.$scopedSlots.default(this.transform({
|
386
|
+
days: this.days,
|
387
|
+
hours: this.hours,
|
388
|
+
minutes: this.minutes,
|
389
|
+
seconds: this.seconds,
|
390
|
+
milliseconds: this.milliseconds,
|
391
|
+
totalDays: this.totalDays,
|
392
|
+
totalHours: this.totalHours,
|
393
|
+
totalMinutes: this.totalMinutes,
|
394
|
+
totalSeconds: this.totalSeconds,
|
395
|
+
totalMilliseconds: this.totalMilliseconds
|
396
|
+
}))] : this.$slots.default);
|
397
|
+
},
|
398
|
+
watch: {
|
399
|
+
$props: {
|
400
|
+
deep: !0,
|
401
|
+
immediate: !0,
|
402
|
+
/**
|
403
|
+
* Update the countdown when props changed.
|
404
|
+
*/
|
405
|
+
handler: function() {
|
406
|
+
this.totalMilliseconds = this.time, this.endTime = this.now() + this.time, this.autoStart && this.start();
|
407
|
+
}
|
408
|
+
}
|
409
|
+
},
|
410
|
+
methods: {
|
411
|
+
/**
|
412
|
+
* Starts to countdown.
|
413
|
+
* @public
|
414
|
+
* @emits Countdown#start
|
415
|
+
*/
|
416
|
+
start: function() {
|
417
|
+
this.counting || (this.counting = !0, this.emitEvents && this.$emit("start"), document.visibilityState === "visible" && this.continue());
|
418
|
+
},
|
419
|
+
/**
|
420
|
+
* Continues the countdown.
|
421
|
+
* @private
|
422
|
+
*/
|
423
|
+
continue: function() {
|
424
|
+
var t = this;
|
425
|
+
if (this.counting) {
|
426
|
+
var s = Math.min(this.totalMilliseconds, this.interval);
|
427
|
+
if (s > 0)
|
428
|
+
if (window.requestAnimationFrame) {
|
429
|
+
var o, n, p = function i(l) {
|
430
|
+
o || (o = l), n || (n = l);
|
431
|
+
var g = l - o;
|
432
|
+
g >= s || g + (l - n) / 2 >= s ? t.progress() : t.requestId = requestAnimationFrame(i), n = l;
|
433
|
+
};
|
434
|
+
this.requestId = requestAnimationFrame(p);
|
435
|
+
} else
|
436
|
+
this.timeoutId = setTimeout(function() {
|
437
|
+
t.progress();
|
438
|
+
}, s);
|
439
|
+
else
|
440
|
+
this.end();
|
441
|
+
}
|
442
|
+
},
|
443
|
+
/**
|
444
|
+
* Pauses the countdown.
|
445
|
+
* @private
|
446
|
+
*/
|
447
|
+
pause: function() {
|
448
|
+
window.requestAnimationFrame ? cancelAnimationFrame(this.requestId) : clearTimeout(this.timeoutId);
|
449
|
+
},
|
450
|
+
/**
|
451
|
+
* Progresses to countdown.
|
452
|
+
* @private
|
453
|
+
* @emits Countdown#progress
|
454
|
+
*/
|
455
|
+
progress: function() {
|
456
|
+
this.counting && (this.totalMilliseconds -= this.interval, this.emitEvents && this.totalMilliseconds > 0 && this.$emit("progress", {
|
457
|
+
days: this.days,
|
458
|
+
hours: this.hours,
|
459
|
+
minutes: this.minutes,
|
460
|
+
seconds: this.seconds,
|
461
|
+
milliseconds: this.milliseconds,
|
462
|
+
totalDays: this.totalDays,
|
463
|
+
totalHours: this.totalHours,
|
464
|
+
totalMinutes: this.totalMinutes,
|
465
|
+
totalSeconds: this.totalSeconds,
|
466
|
+
totalMilliseconds: this.totalMilliseconds
|
467
|
+
}), this.continue());
|
468
|
+
},
|
469
|
+
/**
|
470
|
+
* Aborts the countdown.
|
471
|
+
* @public
|
472
|
+
* @emits Countdown#abort
|
473
|
+
*/
|
474
|
+
abort: function() {
|
475
|
+
this.counting && (this.pause(), this.counting = !1, this.emitEvents && this.$emit("abort"));
|
476
|
+
},
|
477
|
+
/**
|
478
|
+
* Ends the countdown.
|
479
|
+
* @public
|
480
|
+
* @emits Countdown#end
|
481
|
+
*/
|
482
|
+
end: function() {
|
483
|
+
this.counting && (this.pause(), this.totalMilliseconds = 0, this.counting = !1, this.emitEvents && this.$emit("end"));
|
484
|
+
},
|
485
|
+
/**
|
486
|
+
* Updates the count.
|
487
|
+
* @private
|
488
|
+
*/
|
489
|
+
update: function() {
|
490
|
+
this.counting && (this.totalMilliseconds = Math.max(0, this.endTime - this.now()));
|
491
|
+
},
|
492
|
+
/**
|
493
|
+
* visibility change event handler.
|
494
|
+
* @private
|
495
|
+
*/
|
496
|
+
handleVisibilityChange: function() {
|
497
|
+
switch (document.visibilityState) {
|
498
|
+
case "visible":
|
499
|
+
this.update(), this.continue();
|
500
|
+
break;
|
501
|
+
case "hidden":
|
502
|
+
this.pause();
|
503
|
+
break;
|
504
|
+
}
|
505
|
+
}
|
506
|
+
},
|
507
|
+
mounted: function() {
|
508
|
+
document.addEventListener(y, this.handleVisibilityChange);
|
509
|
+
},
|
510
|
+
beforeDestroy: function() {
|
511
|
+
document.removeEventListener(y, this.handleVisibilityChange), this.pause();
|
512
|
+
}
|
513
|
+
}, M = /* @__PURE__ */ ((e) => (e[e.IDLE = 1] = "IDLE", e[e.PAYMENT = 3] = "PAYMENT", e[e.PAYMENT_REQUESTED = 4] = "PAYMENT_REQUESTED", e[e.PAYMENT_SUCCESSFUL = 5] = "PAYMENT_SUCCESSFUL", e[e.PRE_BOOK = 2] = "PRE_BOOK", e))(M || {});
|
514
|
+
const ot = U.extend({
|
515
|
+
components: {
|
516
|
+
HotelRoomOffersView: L,
|
517
|
+
PrebookForm: D,
|
518
|
+
CreditCardPayment: V,
|
519
|
+
VueCountdown: st
|
520
|
+
},
|
521
|
+
mixins: [
|
522
|
+
Y("components/RevolugoElements/HotelRoomOffersBookingFlow"),
|
523
|
+
K({
|
524
|
+
fallbackValue: {},
|
525
|
+
propsName: "features"
|
526
|
+
})
|
527
|
+
],
|
528
|
+
props: w,
|
529
|
+
data: () => ({
|
530
|
+
bookingPolicy: void 0,
|
531
|
+
booking: void 0,
|
532
|
+
countdownSnackbar: !1,
|
533
|
+
direction: 1,
|
534
|
+
formdata: void 0,
|
535
|
+
lastRequest: void 0,
|
536
|
+
step: 1,
|
537
|
+
STEPS: M,
|
538
|
+
isCPSnackbarDisplayed: !1
|
539
|
+
}),
|
540
|
+
computed: {
|
541
|
+
backButtonLabel() {
|
542
|
+
return [
|
543
|
+
2,
|
544
|
+
3
|
545
|
+
/* PAYMENT */
|
546
|
+
].includes(this.step) ? this.$t("HotelRoomOffersBookingFlow.back") : this.$t("HotelRoomOffersBookingFlow.makeNewBooking");
|
547
|
+
},
|
548
|
+
transitionName() {
|
549
|
+
return this.direction > 0 ? "slide-in" : "slide-out";
|
550
|
+
},
|
551
|
+
prebookFormProps() {
|
552
|
+
const e = {
|
553
|
+
...this.$props,
|
554
|
+
...this.lastRequest,
|
555
|
+
...this.formdata
|
556
|
+
};
|
557
|
+
return this.bookingPolicy && (e.adultCount = this.bookingPolicy.adultCount, e.children = this.bookingPolicy.children, e.checkInDate = this.bookingPolicy.checkInDate, e.checkOutDate = this.bookingPolicy.checkOutDate), e;
|
558
|
+
},
|
559
|
+
hotelRoomOffersViewProps() {
|
560
|
+
const e = {
|
561
|
+
...this.lastRequest,
|
562
|
+
...this.$props
|
563
|
+
};
|
564
|
+
return this.bookingPolicy && (e.adultCount = this.bookingPolicy.adultCount, e.children = this.bookingPolicy.children, e.checkInDate = this.bookingPolicy.checkInDate, e.checkOutDate = this.bookingPolicy.checkOutDate), e;
|
565
|
+
}
|
566
|
+
},
|
567
|
+
created() {
|
568
|
+
this.$eventBus.$on(
|
569
|
+
r.BOOKING_POLICY_CREATED,
|
570
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
571
|
+
this.onBookingPolicyCreated
|
572
|
+
), this.$eventBus.$on(r.CANCELLATION_POLICIES_UPDATED, () => {
|
573
|
+
this.isCPSnackbarDisplayed = !0;
|
574
|
+
}), this.$eventBus.$on(
|
575
|
+
r.HOTEL_ROOM_OFFER_REQUEST_CREATED,
|
576
|
+
(e) => {
|
577
|
+
this.lastRequest = e;
|
578
|
+
}
|
579
|
+
), this.$eventBus.$on(r.CURRENCY_UPDATED, () => this.cancelBooking()), this.$eventBus.$on(r.BOOKING_CREATED, this.onBookingCreated), this.$eventBus.$on(r.PAYMENT_SUCCESS, this.onPaymentSuccess), this.$eventBus.$on(r.PREBOOK_FORM, (e) => {
|
580
|
+
this.formdata = e;
|
581
|
+
});
|
582
|
+
},
|
583
|
+
methods: {
|
584
|
+
cancelBooking() {
|
585
|
+
this.direction = -1, this.step = 1, this.bookingPolicy = void 0, this.booking = void 0, this.isCPSnackbarDisplayed = !1;
|
586
|
+
},
|
587
|
+
cancelPayment() {
|
588
|
+
this.direction = -1, this.step = 2;
|
589
|
+
},
|
590
|
+
onBookingPolicyCreated(e) {
|
591
|
+
this.bookingPolicy = e, e && (E(), this.direction = 1, this.step = 2);
|
592
|
+
},
|
593
|
+
onBookingCreated(e) {
|
594
|
+
this.booking = e, e && (E(), this.direction = 1, this.step = 3);
|
595
|
+
},
|
596
|
+
onPaymentSuccess() {
|
597
|
+
this.$refs.countdown.pause(), this.direction = 1, this.step = 5;
|
598
|
+
},
|
599
|
+
onBackButtonClick() {
|
600
|
+
[
|
601
|
+
2,
|
602
|
+
5
|
603
|
+
/* PAYMENT_SUCCESSFUL */
|
604
|
+
].includes(this.step) ? this.cancelBooking() : this.step === 3 && this.cancelPayment();
|
605
|
+
},
|
606
|
+
onAfterLeave() {
|
607
|
+
this.direction = 1;
|
608
|
+
},
|
609
|
+
onCountdownEnd() {
|
610
|
+
this.countdownSnackbar = !0, this.cancelBooking();
|
611
|
+
},
|
612
|
+
transformCountdownTimer(e) {
|
613
|
+
const t = {};
|
614
|
+
for (const [s, o] of Object.entries(e)) {
|
615
|
+
const n = o < 10 ? `0${o}` : o;
|
616
|
+
t[s] = `${n}`;
|
617
|
+
}
|
618
|
+
return t;
|
619
|
+
}
|
620
|
+
}
|
621
|
+
});
|
622
|
+
var it = function() {
|
623
|
+
var o, n, p;
|
624
|
+
var t = this, s = t._self._c;
|
625
|
+
return t._self._setupProxy, s(c, { attrs: { dense: "" } }, [s(S, { attrs: { color: "warning", "content-class": "text-center", elevation: "0", "max-width": "1000px", timeout: -1, top: "" }, scopedSlots: t._u([{ key: "action", fn: function({ attrs: i }) {
|
626
|
+
return [s(k, t._b({ attrs: { color: "white", text: "" }, on: { click: function(l) {
|
627
|
+
t.isCPSnackbarDisplayed = !1;
|
628
|
+
} } }, "v-btn", i, !1), [s(u, { attrs: { color: "white", size: "16" } }, [t._v(" fa-times ")])], 1)];
|
629
|
+
} }]), model: { value: t.isCPSnackbarDisplayed, callback: function(i) {
|
630
|
+
t.isCPSnackbarDisplayed = i;
|
631
|
+
}, expression: "isCPSnackbarDisplayed" } }, [s("span", { staticClass: "white--text" }, [s(u, { staticClass: "mr-3", attrs: { color: "white", size: "20" } }, [t._v(" fa-triangle-exclamation ")]), t._v(" " + t._s(t.$t("HotelRoomOffersBookingFlow.cancellationPoliciesWarning")) + " ")], 1)]), s(a, [[t.STEPS.PRE_BOOK, t.STEPS.PAYMENT, t.STEPS.PAYMENT_SUCCESSFUL].includes(
|
632
|
+
t.step
|
633
|
+
) ? s(c, { attrs: { dense: "" } }, [s(a, { attrs: { "align-self": "center", cols: "12", sm: "3" } }, [s(k, { attrs: { text: "", "x-small": "" }, on: { click: t.onBackButtonClick } }, [s(u, { attrs: { left: "", "x-small": "" } }, [t._v(" fa-arrow-left ")]), t._v(" " + t._s(t.backButtonLabel) + " ")], 1)], 1), [t.STEPS.PRE_BOOK, t.STEPS.PAYMENT, t.STEPS.PAYMENT_SUCCESSFUL].includes(
|
634
|
+
t.step
|
635
|
+
) ? s(a, { attrs: { cols: "12", sm: "9" } }, [s(X, { attrs: { color: "transparent", elevation: "0" }, model: { value: t.step, callback: function(i) {
|
636
|
+
t.step = i;
|
637
|
+
}, expression: "step" } }, [s(tt, [s(m, { attrs: { complete: "", step: t.STEPS.IDLE } }, [s("small", { staticClass: "grey--text text--darken-3 font-weight-bold" }, [t._v(t._s(t.$t("HotelRoomOffersBookingFlow.steps.yourSelection")))])]), s(v), s(m, { attrs: { complete: [t.STEPS.PAYMENT_SUCCESSFUL, t.STEPS.PAYMENT].includes(t.step), step: t.STEPS.PRE_BOOK } }, [s("small", { staticClass: "grey--text text--darken-3 font-weight-bold" }, [t._v(t._s(t.$t("HotelRoomOffersBookingFlow.steps.yourDetails")))])]), s(v), s(m, { attrs: { complete: t.step === t.STEPS.PAYMENT_SUCCESSFUL, step: t.STEPS.PAYMENT } }, [s("small", { staticClass: "grey--text text--darken-3 font-weight-bold" }, [t._v(t._s(t.$t("HotelRoomOffersBookingFlow.steps.finalStep")))])])], 1)], 1)], 1) : t._e()], 1) : t._e(), [t.STEPS.PRE_BOOK, t.STEPS.PAYMENT].includes(t.step) ? s(c, { attrs: { dense: "" } }, [s(a, [s(Q, { attrs: { color: "primary", outlined: "", prominent: "", text: "", type: "info" }, scopedSlots: t._u([{ key: "prepend", fn: function() {
|
638
|
+
return [s("b", { staticClass: "text-h5 mx-sm-2 px-sm-2 mx-md-6 px-md-6 mx-lg-10 px-lg-10 mx-xl-16 px-xl-16" }, [s(u, { staticClass: "d-none d-md-inline-block pb-1", attrs: { color: "primary", size: "24px" } }, [t._v(" fa-stopwatch")]), s("vue-countdown", { ref: "countdown", attrs: { time: 15 * 60 * 1e3, transform: t.transformCountdownTimer }, on: { end: t.onCountdownEnd }, scopedSlots: t._u([{ key: "default", fn: function(i) {
|
639
|
+
return [t._v(" " + t._s(i.minutes) + ":" + t._s(i.seconds) + " ")];
|
640
|
+
} }], null, !1, 2342606768) })], 1)];
|
641
|
+
}, proxy: !0 }], null, !1, 3921365688) }, [s("p", { staticClass: "pl-5 ma-0" }, [s("span", { staticClass: "font-weight-bold" }, [t._v(" " + t._s(t.$t("HotelRoomOffersBookingFlow.timer1")) + " ")]), s("br"), s("span", { staticClass: "font-weight-bold" }, [t._v(" " + t._s(t.$t("HotelRoomOffersBookingFlow.timer2")) + " ")])])])], 1)], 1) : t._e(), s(S, { attrs: { color: "warning", elevation: "0", timeout: "10000", top: "" }, model: { value: t.countdownSnackbar, callback: function(i) {
|
642
|
+
t.countdownSnackbar = i;
|
643
|
+
}, expression: "countdownSnackbar" } }, [s(u, { staticClass: "px-4" }, [t._v(" fa-hourglass-end ")]), s("span", [t._v(t._s(t.$t("HotelRoomOffersBookingFlow.timerEnd")))])], 1), s("transition", { attrs: { name: t.transitionName }, on: { "after-leave": t.onAfterLeave } }, [s(c, { attrs: { "no-gutters": "" } }, [s(a, [t.step === t.STEPS.PRE_BOOK ? s(c, { attrs: { "no-gutters": "" } }, [s(a, [s("prebook-form", t._b({ attrs: { "booking-policy-id": (o = t.bookingPolicy) == null ? void 0 : o.id, features: t.parsedFeatures.PrebookForm, "hotel-room-offer": (n = t.bookingPolicy) == null ? void 0 : n.hotelRoomOffer } }, "prebook-form", t.prebookFormProps, !1))], 1)], 1) : t._e(), [t.STEPS.PAYMENT, t.STEPS.PAYMENT_SUCCESSFUL].includes(t.step) ? s(c, { attrs: { "no-gutters": "" } }, [s(a, [s("credit-card-payment", { attrs: { token: (p = t.booking) == null ? void 0 : p.token } })], 1)], 1) : t.step === t.STEPS.IDLE ? s("hotel-room-offers-view", t._b({ attrs: { features: t.parsedFeatures.HotelRoomOffersView } }, "hotel-room-offers-view", t.hotelRoomOffersViewProps, !1)) : t._e()], 1)], 1)], 1)], 1)], 1);
|
644
|
+
}, nt = [], rt = /* @__PURE__ */ O(
|
645
|
+
ot,
|
646
|
+
it,
|
647
|
+
nt,
|
648
|
+
!1,
|
649
|
+
null,
|
650
|
+
"e2c0253a",
|
651
|
+
null,
|
652
|
+
null
|
653
|
+
);
|
654
|
+
const at = rt.exports, lt = B.extend({
|
655
|
+
components: {
|
656
|
+
HotelRoomOffersBookingFlow: at,
|
657
|
+
WebComponentWrapper: q
|
658
|
+
},
|
659
|
+
props: w
|
660
|
+
});
|
661
|
+
var ct = function() {
|
662
|
+
var t = this, s = t._self._c;
|
663
|
+
return t._self._setupProxy, s("web-component-wrapper", [s("hotel-room-offers-booking-flow", t._b({}, "hotel-room-offers-booking-flow", t.$props, !1))], 1);
|
664
|
+
}, ut = [], pt = /* @__PURE__ */ O(
|
665
|
+
lt,
|
666
|
+
ct,
|
667
|
+
ut,
|
668
|
+
!1,
|
669
|
+
null,
|
670
|
+
null,
|
671
|
+
null,
|
672
|
+
null
|
673
|
+
);
|
674
|
+
const Mt = pt.exports;
|
675
|
+
R("css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css");
|
676
|
+
export {
|
677
|
+
Mt as default
|
678
|
+
};
|
679
|
+
//# sourceMappingURL=revolugo.hotelroomoffersbookingflow.BuMF7NU2.min.js.map
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { V as r } from "./revolugo.i18n.DF3U6VhD.min.js";
|
2
|
+
import { h as n } from "./revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js";
|
3
|
+
import { H as t } from "./revolugo.hotelroomoffersearchmenu.DqVQ1oKf.min.js";
|
4
|
+
import { W as s, n as f } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
|
5
|
+
const a = r.extend({
|
6
|
+
components: {
|
7
|
+
HotelRoomOfferSearchMenu: t,
|
8
|
+
WebComponentWrapper: s
|
9
|
+
},
|
10
|
+
props: n
|
11
|
+
});
|
12
|
+
var m = function() {
|
13
|
+
var e = this, o = e._self._c;
|
14
|
+
return e._self._setupProxy, o("web-component-wrapper", [o("hotel-room-offer-search-menu", e._b({}, "hotel-room-offer-search-menu", e.$props, !1))], 1);
|
15
|
+
}, p = [], l = /* @__PURE__ */ f(
|
16
|
+
a,
|
17
|
+
m,
|
18
|
+
p,
|
19
|
+
!1,
|
20
|
+
null,
|
21
|
+
null,
|
22
|
+
null,
|
23
|
+
null
|
24
|
+
);
|
25
|
+
const R = l.exports;
|
26
|
+
export {
|
27
|
+
R as default
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=revolugo.hotelroomoffersearchmenu.Bsg_FnJp.min.js.map
|