@revolugo/elements 5.5.1-beta.19 → 5.5.1-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/revolugo.0.min.css +5 -0
- package/dist/css/revolugo.1.min.css +1 -0
- package/dist/css/revolugo.11.min.css +1 -0
- package/dist/css/revolugo.12.min.css +1 -0
- package/dist/css/revolugo.13.min.css +1 -0
- package/dist/css/revolugo.14.min.css +1 -0
- package/dist/css/revolugo.15.min.css +1 -0
- package/dist/css/revolugo.16.min.css +1 -0
- package/dist/css/revolugo.17.min.css +1 -0
- package/dist/css/revolugo.18.min.css +1 -0
- package/dist/css/revolugo.19.min.css +1 -0
- package/dist/css/revolugo.2.min.css +1 -0
- package/dist/css/revolugo.20.min.css +1 -0
- package/dist/css/revolugo.21.min.css +1 -0
- package/dist/css/revolugo.22.min.css +1 -0
- package/dist/css/revolugo.23.min.css +1 -0
- package/dist/css/revolugo.24.min.css +1 -0
- package/dist/css/revolugo.25.min.css +1 -0
- package/dist/css/revolugo.26.min.css +1 -0
- package/dist/css/revolugo.27.min.css +1 -0
- package/dist/css/revolugo.28.min.css +1 -0
- package/dist/css/revolugo.29.min.css +1 -0
- package/dist/css/revolugo.30.min.css +1 -0
- package/dist/css/revolugo.31.min.css +1 -0
- package/dist/css/revolugo.32.min.css +1 -0
- package/dist/css/revolugo.33.min.css +1 -0
- package/dist/css/revolugo.34.min.css +1 -0
- package/dist/css/revolugo.4.min.css +1 -0
- package/dist/css/revolugo.5.min.css +1 -0
- package/dist/css/revolugo.6.min.css +1 -0
- package/dist/css/revolugo.7.min.css +1 -0
- package/dist/css/revolugo.fonts.min.css +1 -0
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +42 -0
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +12 -0
- 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/index.min.js +1 -1
- package/dist/revolugo.0.min.js +18 -0
- package/dist/revolugo.1.min.js +1 -0
- package/dist/revolugo.11.min.js +134 -0
- package/dist/revolugo.12.min.js +19 -0
- package/dist/revolugo.13.min.js +14 -0
- package/dist/revolugo.14.min.js +19 -0
- package/dist/revolugo.15.min.js +139 -0
- package/dist/revolugo.16.min.js +14 -0
- package/dist/revolugo.17.min.js +14 -0
- package/dist/revolugo.18.min.js +1 -0
- package/dist/revolugo.19.min.js +1 -0
- package/dist/revolugo.2.min.js +1 -0
- package/dist/revolugo.20.min.js +1 -0
- package/dist/revolugo.21.min.js +116 -0
- package/dist/revolugo.22.min.js +1 -0
- package/dist/revolugo.23.min.js +1 -0
- package/dist/revolugo.24.min.js +1 -0
- package/dist/revolugo.25.min.js +1 -0
- package/dist/revolugo.26.min.js +1 -0
- package/dist/revolugo.27.min.js +1 -0
- package/dist/revolugo.28.min.js +116 -0
- package/dist/revolugo.29.min.js +1 -0
- package/dist/revolugo.30.min.js +1 -0
- package/dist/revolugo.31.min.js +1 -0
- package/dist/revolugo.32.min.js +1 -0
- package/dist/revolugo.33.min.js +1 -0
- package/dist/revolugo.34.min.js +1 -0
- package/dist/revolugo.35.min.js +1 -0
- package/dist/revolugo.36.min.js +1 -0
- package/dist/revolugo.4.min.js +1 -0
- package/dist/revolugo.5.min.js +1 -0
- package/dist/revolugo.6.min.js +1 -0
- package/dist/revolugo.7.min.js +1 -0
- package/dist/revolugo.en-US.min.js +1 -0
- package/dist/revolugo.fonts.min.js +1 -0
- package/dist/revolugo.fr-FR.min.js +1 -0
- package/dist/revolugo.min.js +7 -257
- package/package.json +5 -5
- package/dist/css/fonts.css +0 -1
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +0 -1
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +0 -1
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +0 -1
- package/dist/css/revolugo.btag.Bdbqb_8a.css +0 -1
- package/dist/css/revolugo.common.BSIsYREh.css +0 -1
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +0 -1
- package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +0 -1
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +0 -1
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +0 -1
- package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +0 -1
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +0 -1
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +0 -1
- package/dist/css/revolugo.index.BMkl7a3p.css +0 -1
- package/dist/css/revolugo.index.CFW4Oklv.css +0 -1
- package/dist/css/revolugo.index.DXv5c7NS.css +0 -1
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
- package/dist/css/revolugo.parsed-height.B92--uJb.css +0 -1
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
- package/dist/css/revolugo.prebookform.DBm2B4rS.css +0 -1
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +0 -5
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +0 -1
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +0 -1
- package/dist/css/revolugo.valert.BzcMswjJ.css +0 -1
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +0 -1
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +0 -1
- package/dist/css/revolugo.vbtn.By46MJOU.css +0 -1
- package/dist/css/revolugo.vcard.DmB53ZNL.css +0 -1
- package/dist/css/revolugo.vchip.BdAdP6lC.css +0 -1
- package/dist/css/revolugo.vdialog.C02Cvwul.css +0 -1
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +0 -1
- package/dist/css/revolugo.vinput.SfhpXNi0.css +0 -1
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +0 -1
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +0 -1
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +0 -1
- package/dist/css/revolugo.vselect.DljSkk6y.css +0 -1
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +0 -1
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +0 -1
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +0 -1
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +0 -1
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +0 -1
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +0 -1
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +0 -1
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +0 -1
- package/dist/revolugo.banktransferdetails.C55CaZGd.min.js +0 -105
- package/dist/revolugo.bbreakfastoptionbadge.CPzlydVG.min.js +0 -62
- package/dist/revolugo.bdaterangepicker.CXA2GXFz.min.js +0 -1351
- package/dist/revolugo.bformattedamount.DhVut6DK.min.js +0 -82
- package/dist/revolugo.bhotelroomsdetails.DSVVf-up.min.js +0 -213
- package/dist/revolugo.bhotelsearchbar.DhebdaQo.min.js +0 -446
- package/dist/revolugo.booking-api-client.Drh0cRTW.min.js +0 -7443
- package/dist/revolugo.bookingdetailssidebar.B1ZoXar0.min.js +0 -28
- package/dist/revolugo.bookingdetailssidebar.BnTJ96GE.min.js +0 -242
- package/dist/revolugo.bookingmanager.DYOyVHT2.min.js +0 -405
- package/dist/revolugo.bphoneinput.BZQIBmYO.min.js +0 -1935
- package/dist/revolugo.bpricesummaryskeleton.Dz7YvdGU.min.js +0 -47
- package/dist/revolugo.breakpoint-service.ulonvHwK.min.js +0 -65
- package/dist/revolugo.bstarrating.BZPKWVuk.min.js +0 -173
- package/dist/revolugo.btag.DyLjgDWq.min.js +0 -68
- package/dist/revolugo.cancellationpoliciesbadge.CIIL360X.min.js +0 -28
- package/dist/revolugo.cancellationpoliciesbadge.DRFgoqVN.min.js +0 -92
- package/dist/revolugo.cancellationpolicieslist.B0b8XPoU.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.cnRF1goy.min.js +0 -317
- package/dist/revolugo.common.BavAKcPL.min.js +0 -34
- package/dist/revolugo.creditcardform.BY725aQ3.min.js +0 -28
- package/dist/revolugo.creditcardform.C24U8fTh.min.js +0 -2049
- package/dist/revolugo.creditcardpayment.6TDQ9DR4.min.js +0 -28
- package/dist/revolugo.creditcardpayment.clAMf1Nb.min.js +0 -288
- package/dist/revolugo.currencypicker.BK66ASkQ.min.js +0 -122
- package/dist/revolugo.currencypickerbtn.C9EGOp6Y.min.js +0 -121
- package/dist/revolugo.currencypickerbtn.DPv6HcHf.min.js +0 -28
- package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +0 -27
- package/dist/revolugo.en-us.BwPQZpD-.min.js +0 -1171
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
- package/dist/revolugo.fr-fr.CV4yETNm.min.js +0 -1177
- package/dist/revolugo.fullbookingflow.DDMFviNy.min.js +0 -239
- package/dist/revolugo.hotel-offer.DxAoWIpr.min.js +0 -605
- package/dist/revolugo.hoteldescriptionview.BDmYu0i8.min.js +0 -2174
- package/dist/revolugo.hoteldescriptionview._H5Q2mcT.min.js +0 -28
- package/dist/revolugo.hotelofferitemlayout.DsiXk-vv.min.js +0 -64
- package/dist/revolugo.hotelofferlist.CeapYJDW.min.js +0 -28
- package/dist/revolugo.hotelofferlist.DZ2dsJ-e.min.js +0 -3779
- package/dist/revolugo.hotelofferrequestcreator.B9mGU5bB.min.js +0 -225
- package/dist/revolugo.hoteloffersearchmenu.HBcyZs4Q.min.js +0 -54
- package/dist/revolugo.hoteloffersmap.BrazX0Ns.min.js +0 -28
- package/dist/revolugo.hoteloffersmap.C5g2oYhf.min.js +0 -8737
- package/dist/revolugo.hoteloffersview.CsPNh4Kt.min.js +0 -28
- package/dist/revolugo.hoteloffersview.DcnEyUUU.min.js +0 -157
- package/dist/revolugo.hotelroomofferlist.B-g6Q8_4.min.js +0 -1332
- package/dist/revolugo.hotelroomofferlist.RuwB9IxG.min.js +0 -28
- package/dist/revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js +0 -225
- package/dist/revolugo.hotelroomoffersbookingflow.COZqoepd.min.js +0 -679
- package/dist/revolugo.hotelroomoffersearchmenu.ByLxAySM.min.js +0 -38
- package/dist/revolugo.hotelroomoffersearchmenu.CdQUDvcb.min.js +0 -29
- package/dist/revolugo.hotelroomoffersview.ClVhWfgw.min.js +0 -124
- package/dist/revolugo.hotelroomoffersview.eCMrmTCo.min.js +0 -28
- package/dist/revolugo.i18n.BIDah4Hr.min.js +0 -10901
- package/dist/revolugo.index.7JjiClzl.min.js +0 -68
- package/dist/revolugo.index.BOFNqiKi.min.js +0 -128
- package/dist/revolugo.index.BUgl82zB.min.js +0 -270
- package/dist/revolugo.index.BafzMKRk.min.js +0 -13
- package/dist/revolugo.index.CVaQfmC0.min.js +0 -15
- package/dist/revolugo.index.CZ_vXpge.min.js +0 -161
- package/dist/revolugo.index.CfwKNM8Q.min.js +0 -9
- package/dist/revolugo.index.CnslRErc.min.js +0 -390
- package/dist/revolugo.index.DSRnAuVy.min.js +0 -322
- package/dist/revolugo.index.Dudg2j1-.min.js +0 -9
- package/dist/revolugo.index.Dx0TIvP-.min.js +0 -281
- package/dist/revolugo.index.DxqmvtLl.min.js +0 -142
- package/dist/revolugo.index.mq4mKuqN.min.js +0 -43
- package/dist/revolugo.index.uFyOvtCp.min.js +0 -42
- package/dist/revolugo.langpicker.CaTVC1cX.min.js +0 -103
- package/dist/revolugo.langpickerbtn.-w2EwXVX.min.js +0 -111
- package/dist/revolugo.langpickerbtn.j5kMlExk.min.js +0 -28
- package/dist/revolugo.localizedformat.C4ez1VLt.min.js +0 -47
- package/dist/revolugo.parsed-height.DNFIHNkb.min.js +0 -2338
- package/dist/revolugo.parsed-props.BaP5i3Zj.min.js +0 -95
- package/dist/revolugo.prebookform.BdoASrCo.min.js +0 -484
- package/dist/revolugo.prebookform.Cu_KCmAN.min.js +0 -28
- package/dist/revolugo.revolugo-config.B9n_CElG.min.js +0 -1707
- package/dist/revolugo.roominglisteditor.D554peLD.min.js +0 -28
- package/dist/revolugo.roominglisteditor.Dk6qQeAv.min.js +0 -201
- package/dist/revolugo.sentry.CuQ4Sj_P.min.js +0 -10989
- package/dist/revolugo.store.TBV-eqIE.min.js +0 -2497
- package/dist/revolugo.storybooktoolbar.B2yhjWX3.min.js +0 -300
- package/dist/revolugo.termsandconditions.D1WdEUB9.min.js +0 -27
- package/dist/revolugo.termsandconditions.Fz3tL15I.min.js +0 -162
- package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +0 -8
- package/dist/revolugo.valert.Q0I4gNbO.min.js +0 -194
- package/dist/revolugo.vautocomplete.DTOsEc25.min.js +0 -255
- package/dist/revolugo.vbadge.CLJk9qhA.min.js +0 -172
- package/dist/revolugo.vbtn.DrwUvQHj.min.js +0 -286
- package/dist/revolugo.vcard.Bs6nQzOl.min.js +0 -80
- package/dist/revolugo.vchip.CuCeqWzD.min.js +0 -157
- package/dist/revolugo.vdialog.BbC4lqGQ.min.js +0 -341
- package/dist/revolugo.vexpansionpanelheader.B--qAjL8.min.js +0 -263
- package/dist/revolugo.vform.DzJhfMwE.min.js +0 -98
- package/dist/revolugo.vinput.DFfd_YGp.min.js +0 -509
- package/dist/revolugo.vitemgroup.CkDfn6V_.min.js +0 -168
- package/dist/revolugo.vlistitem.XfvAUlzQ.min.js +0 -204
- package/dist/revolugo.vmenu.C1w0iDUT.min.js +0 -349
- package/dist/revolugo.vselect.DsqU5p84.min.js +0 -859
- package/dist/revolugo.vsheet.Cqbr0KfV.min.js +0 -120
- package/dist/revolugo.vskeletonloader.gg-3RSEt.min.js +0 -172
- package/dist/revolugo.vslidegroup.C4i3UEKI.min.js +0 -650
- package/dist/revolugo.vsnackbar.BNgumj3w.min.js +0 -178
- package/dist/revolugo.vtextfield.C9nZE6f1.min.js +0 -438
- package/dist/revolugo.vtoolbar.CLDVT4Bb.min.js +0 -364
- package/dist/revolugo.vtooltip.CQJMuU2t.min.js +0 -168
- package/dist/revolugo.vuetify.BEdap6Ni.min.js +0 -865
- package/dist/revolugo.watch-list.Bb06Iz6D.min.js +0 -44
- package/dist/revolugo.webcomponentwrapper.CwAC855u.min.js +0 -777
@@ -1,679 +0,0 @@
|
|
1
|
-
import { o as T, V as B } from "./revolugo.i18n.BIDah4Hr.min.js";
|
2
|
-
import { a as $, h as x, H as L } from "./revolugo.hotelroomoffersview.ClVhWfgw.min.js";
|
3
|
-
import { a as F, p as I, P as D } from "./revolugo.prebookform.BdoASrCo.min.js";
|
4
|
-
import { i as N, k as A, c as C, E as r } from "./revolugo.revolugo-config.B9n_CElG.min.js";
|
5
|
-
import { H as U } from "./revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js";
|
6
|
-
import { C as V } from "./revolugo.creditcardpayment.clAMf1Nb.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.CwAC855u.min.js";
|
8
|
-
import { p as K, _ as v } from "./revolugo.parsed-props.BaP5i3Zj.min.js";
|
9
|
-
import { s as E } from "./revolugo.common.BavAKcPL.min.js";
|
10
|
-
import { _ } from "./revolugo.vsheet.Cqbr0KfV.min.js";
|
11
|
-
import { p as G, _ as u, i as W } from "./revolugo.index.CnslRErc.min.js";
|
12
|
-
import { P as j } from "./revolugo.index.Dx0TIvP-.min.js";
|
13
|
-
import { r as z } from "./revolugo.vuetify.BEdap6Ni.min.js";
|
14
|
-
import { _ as S } from "./revolugo.vsnackbar.BNgumj3w.min.js";
|
15
|
-
import { _ as k } from "./revolugo.vbtn.DrwUvQHj.min.js";
|
16
|
-
import { _ as Q } from "./revolugo.valert.Q0I4gNbO.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.COZqoepd.min.js.map
|