@revolugo/elements 5.5.1-beta.1 → 5.5.1-beta.10
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.CGjlL8Fn.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.Di9LJKMP.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +1 -0
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.DGFt0C9n.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.DXv5c7NS.css +1 -0
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
- package/dist/css/revolugo.parsed-height.B92--uJb.css +1 -0
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
- package/dist/css/revolugo.prebookform.CDnZmw8F.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.min.js +1 -1
- package/dist/revolugo.banktransferdetails.CDDLgiqZ.min.js +105 -0
- package/dist/revolugo.bbreakfastoptionbadge.BXp8jiFF.min.js +62 -0
- package/dist/revolugo.bdaterangepicker.D7vKynZO.min.js +1351 -0
- package/dist/revolugo.bformattedamount.DZ4lP0D2.min.js +82 -0
- package/dist/revolugo.bhotelroomsdetails._OEOxEfQ.min.js +213 -0
- package/dist/revolugo.bhotelsearchbar.D29hl2MS.min.js +446 -0
- package/dist/revolugo.booking-api-client.Drh0cRTW.min.js +7443 -0
- package/dist/revolugo.bookingdetailssidebar.Cf_orLaJ.min.js +28 -0
- package/dist/revolugo.bookingdetailssidebar.lDNB7oXF.min.js +242 -0
- package/dist/revolugo.bookingmanager.BptiDiuZ.min.js +405 -0
- package/dist/revolugo.bphoneinput.DEA12thE.min.js +1935 -0
- package/dist/revolugo.bpricesummaryskeleton.A4azxZPx.min.js +47 -0
- package/dist/revolugo.breakpoint-service.ulonvHwK.min.js +65 -0
- package/dist/revolugo.bstarrating.qzeMb2Ot.min.js +173 -0
- package/dist/revolugo.btag.fqocL5RV.min.js +68 -0
- package/dist/revolugo.cancellationpoliciesbadge.BzjXjeXq.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.nq63QKAU.min.js +92 -0
- package/dist/revolugo.cancellationpolicieslist.BfiF9DHI.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.DvAdsbLe.min.js +317 -0
- package/dist/revolugo.common.BavAKcPL.min.js +34 -0
- package/dist/revolugo.creditcardform.P3Lo1eeg.min.js +2049 -0
- package/dist/revolugo.creditcardform.i3DpOTAl.min.js +28 -0
- package/dist/revolugo.creditcardpayment.80nyDUq9.min.js +288 -0
- package/dist/revolugo.creditcardpayment.CieGjOTr.min.js +28 -0
- package/dist/revolugo.currencypicker.qFd6-iwV.min.js +122 -0
- package/dist/revolugo.currencypickerbtn.DXqfDYzb.min.js +121 -0
- package/dist/revolugo.currencypickerbtn.SL9IbI6O.min.js +28 -0
- package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +27 -0
- package/dist/revolugo.en-us.BwPQZpD-.min.js +1171 -0
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
- package/dist/revolugo.fr-fr.CV4yETNm.min.js +1177 -0
- package/dist/revolugo.fullbookingflow.BH9WYZQU.min.js +239 -0
- package/dist/revolugo.hotel-offer.DkBY7KF0.min.js +605 -0
- package/dist/revolugo.hoteldescriptionview.COEl20Dq.min.js +2174 -0
- package/dist/revolugo.hoteldescriptionview.XJOl3Oeh.min.js +28 -0
- package/dist/revolugo.hotelofferitemlayout.DxWzoHRv.min.js +64 -0
- package/dist/revolugo.hotelofferlist.C1B_9NAn.min.js +3779 -0
- package/dist/revolugo.hotelofferlist.I8kF8p6L.min.js +28 -0
- package/dist/revolugo.hotelofferrequestcreator.B9mGU5bB.min.js +225 -0
- package/dist/revolugo.hoteloffersearchmenu.DExCTnYT.min.js +54 -0
- package/dist/revolugo.hoteloffersmap.Cd0-GO8Q.min.js +8737 -0
- package/dist/revolugo.hoteloffersmap.FqqtiR5R.min.js +28 -0
- package/dist/revolugo.hoteloffersview.C9lYrm2i.min.js +157 -0
- package/dist/revolugo.hoteloffersview.CLcQG9wK.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.B436VThb.min.js +1332 -0
- package/dist/revolugo.hotelroomofferlist.uS6bGKaQ.min.js +28 -0
- package/dist/revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js +225 -0
- package/dist/revolugo.hotelroomoffersbookingflow.CMJgMAtO.min.js +679 -0
- package/dist/revolugo.hotelroomoffersearchmenu.Dws8MLf0.min.js +38 -0
- package/dist/revolugo.hotelroomoffersearchmenu.UHKtopiD.min.js +29 -0
- package/dist/revolugo.hotelroomoffersview.-1JOr1jD.min.js +28 -0
- package/dist/revolugo.hotelroomoffersview.217ygoUj.min.js +124 -0
- package/dist/revolugo.i18n.BIDah4Hr.min.js +10901 -0
- package/dist/revolugo.index.B8RjdKfF.min.js +281 -0
- package/dist/revolugo.index.BOFNqiKi.min.js +128 -0
- package/dist/revolugo.index.BafzMKRk.min.js +13 -0
- package/dist/revolugo.index.ByALJ4Cg.min.js +270 -0
- package/dist/revolugo.index.CMpCToBI.min.js +390 -0
- package/dist/revolugo.index.CVaQfmC0.min.js +15 -0
- package/dist/revolugo.index.Ce2wa-yh.min.js +142 -0
- package/dist/revolugo.index.CfwKNM8Q.min.js +9 -0
- package/dist/revolugo.index.D7ohfZ-O.min.js +68 -0
- package/dist/revolugo.index.DKK0H_cv.min.js +161 -0
- package/dist/revolugo.index.DSbeMte7.min.js +322 -0
- package/dist/revolugo.index.Dudg2j1-.min.js +9 -0
- package/dist/revolugo.index.G0QSOBn3.min.js +42 -0
- package/dist/revolugo.index.mq4mKuqN.min.js +43 -0
- package/dist/revolugo.langpicker.DtWztNg3.min.js +103 -0
- package/dist/revolugo.langpickerbtn.CPZtzdTJ.min.js +111 -0
- package/dist/revolugo.langpickerbtn.D3ff3yft.min.js +28 -0
- package/dist/revolugo.localizedformat.C4ez1VLt.min.js +47 -0
- package/dist/revolugo.min.js +257 -7
- package/dist/revolugo.parsed-height.Bd1t0mHH.min.js +2338 -0
- package/dist/revolugo.parsed-props.B6q7Ax-9.min.js +95 -0
- package/dist/revolugo.prebookform.Bvkp_jkU.min.js +28 -0
- package/dist/revolugo.prebookform.QT7QI1LP.min.js +484 -0
- package/dist/revolugo.revolugo-config.B9n_CElG.min.js +1707 -0
- package/dist/revolugo.roominglisteditor.BCpebY3B.min.js +201 -0
- package/dist/revolugo.roominglisteditor.C4AtDc7A.min.js +28 -0
- package/dist/revolugo.sentry.CuQ4Sj_P.min.js +10989 -0
- package/dist/revolugo.store.TBV-eqIE.min.js +2497 -0
- package/dist/revolugo.storybooktoolbar.K8FrycZc.min.js +300 -0
- package/dist/revolugo.termsandconditions.DCoLgJzC.min.js +27 -0
- package/dist/revolugo.termsandconditions.DkzQmMDI.min.js +162 -0
- package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +8 -0
- package/dist/revolugo.valert.tamLbGMZ.min.js +194 -0
- package/dist/revolugo.vautocomplete.BbvrGxVz.min.js +255 -0
- package/dist/revolugo.vbadge.B3P90j3E.min.js +172 -0
- package/dist/revolugo.vbtn.BNPhP-XR.min.js +286 -0
- package/dist/revolugo.vcard.ndQpNewl.min.js +80 -0
- package/dist/revolugo.vchip.DTZZJRt5.min.js +157 -0
- package/dist/revolugo.vdialog.C-Jh0Eq7.min.js +341 -0
- package/dist/revolugo.vexpansionpanelheader.DJijrIj9.min.js +263 -0
- package/dist/revolugo.vform.D7XJ7bEy.min.js +98 -0
- package/dist/revolugo.vinput.BeSsXYg9.min.js +509 -0
- package/dist/revolugo.vitemgroup.DjZ_N7Ml.min.js +168 -0
- package/dist/revolugo.vlistitem.ChmT4RKD.min.js +204 -0
- package/dist/revolugo.vmenu.CThLxAWt.min.js +349 -0
- package/dist/revolugo.vselect.BXEzrczG.min.js +859 -0
- package/dist/revolugo.vsheet.BWJwctvS.min.js +120 -0
- package/dist/revolugo.vskeletonloader.CCW1cQtD.min.js +172 -0
- package/dist/revolugo.vslidegroup.Dlwmh4Oi.min.js +650 -0
- package/dist/revolugo.vsnackbar.BGJVdHRT.min.js +178 -0
- package/dist/revolugo.vtextfield.D-kB2BBk.min.js +438 -0
- package/dist/revolugo.vtoolbar.C98lEGDc.min.js +364 -0
- package/dist/revolugo.vtooltip.M9ln6byG.min.js +168 -0
- package/dist/revolugo.vuetify.BEdap6Ni.min.js +865 -0
- package/dist/revolugo.watch-list.Bb06Iz6D.min.js +44 -0
- package/dist/revolugo.webcomponentwrapper.Dhr34jp1.min.js +783 -0
- package/package.json +3 -5
- 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.BIDah4Hr.min.js";
|
2
|
+
import { a as $, h as x, H as L } from "./revolugo.hotelroomoffersview.217ygoUj.min.js";
|
3
|
+
import { a as F, p as I, P as D } from "./revolugo.prebookform.QT7QI1LP.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.80nyDUq9.min.js";
|
7
|
+
import { m as O, C as H, l as Y, n as P, _ as c, a, W as K } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
|
8
|
+
import { p as q, _ as v } from "./revolugo.parsed-props.B6q7Ax-9.min.js";
|
9
|
+
import { s as E } from "./revolugo.common.BavAKcPL.min.js";
|
10
|
+
import { _ } from "./revolugo.vsheet.BWJwctvS.min.js";
|
11
|
+
import { p as G, _ as u, i as W } from "./revolugo.index.CMpCToBI.min.js";
|
12
|
+
import { P as j } from "./revolugo.index.B8RjdKfF.min.js";
|
13
|
+
import { r as z } from "./revolugo.vuetify.BEdap6Ni.min.js";
|
14
|
+
import { _ as S } from "./revolugo.vsnackbar.BGJVdHRT.min.js";
|
15
|
+
import { _ as k } from "./revolugo.vbtn.BNPhP-XR.min.js";
|
16
|
+
import { _ as Q } from "./revolugo.valert.tamLbGMZ.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 = O(_, 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 = O(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
|
+
q({
|
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__ */ P(
|
645
|
+
ot,
|
646
|
+
it,
|
647
|
+
nt,
|
648
|
+
!1,
|
649
|
+
null,
|
650
|
+
"3f0a18e2",
|
651
|
+
null,
|
652
|
+
null
|
653
|
+
);
|
654
|
+
const at = rt.exports, lt = B.extend({
|
655
|
+
components: {
|
656
|
+
HotelRoomOffersBookingFlow: at,
|
657
|
+
WebComponentWrapper: K
|
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__ */ P(
|
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.DGFt0C9n.css");
|
676
|
+
export {
|
677
|
+
Mt as default
|
678
|
+
};
|
679
|
+
//# sourceMappingURL=revolugo.hotelroomoffersbookingflow.CMJgMAtO.min.js.map
|