@revolugo/elements 6.8.2-beta.34 → 6.8.2-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/{revolugo.bdaterangepicker.D1e8WHUE.css → revolugo.bdaterangepicker.B6KA5TYs.css} +1 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/{revolugo.hoteloffersmap.DZ9zVlMs.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.CNI6b2S9.css +1 -0
- package/dist/index.es.min.js +422 -420
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.BEP1-p3y.min.js → revolugo._baseiteratee.DXs1qceQ.min.js} +35 -35
- package/dist/{revolugo.banktransferdetails.CjbztzfC.min.js → revolugo.banktransferdetails.CW2vXY85.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CFyhGruk.min.js → revolugo.bdaterangepicker.DafS75a7.min.js} +2179 -2183
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B2bk2KpX.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DPBPNagF.min.js} +4 -4
- package/dist/{revolugo.bhoteloffersfilterbar.CFOOtTvL.min.js → revolugo.bhoteloffersfilterbar.DhuoHmwA.min.js} +958 -772
- package/dist/{revolugo.bhotelroomsdetails.Be5zxifu.min.js → revolugo.bhotelroomsdetails.D8jmONal.min.js} +26 -26
- package/dist/{revolugo.bimagecarousel.CxOf9dZ6.min.js → revolugo.bimagecarousel.DAQ3mwvt.min.js} +20 -20
- package/dist/{revolugo.bookingdetailssidebar.CSH8m1C4.min.js → revolugo.bookingdetailssidebar.DIcRSjPd.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.B5Pj0On4.min.js → revolugo.bookingdetailssidebar.mwjjuWpw.min.js} +11 -11
- package/dist/{revolugo.bookingmanager.csPvGATG.min.js → revolugo.bookingmanager.Bwyo12Gi.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.CHX7Jssj.min.js → revolugo.bpricesummaryskeleton.tb9ZpC9J.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.VA13CkuK.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DCYjk9Yx.min.js} +8 -8
- package/dist/{revolugo.btag.Dv4uxsYv.min.js → revolugo.btag.DeeJpOs_.min.js} +28 -28
- package/dist/{revolugo.cancellationpoliciesbadge.CRBkLci9.min.js → revolugo.cancellationpoliciesbadge.DMIEO0nz.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge._2J26Hqf.min.js → revolugo.cancellationpoliciesbadge.DqsmQWTm.min.js} +12 -12
- package/dist/{revolugo.cancellationpolicieslist.pqHwlUuQ.min.js → revolugo.cancellationpolicieslist.BbjzLOjx.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.DQNG2iB8.min.js → revolugo.cancellationpolicieslist.CyDAFW-m.min.js} +3 -3
- package/dist/{revolugo.case-transformers.DP17jA4x.min.js → revolugo.case-transformers.CwyDt9X7.min.js} +5 -5
- package/dist/{revolugo.creditcardform.BZRrbM7V.min.js → revolugo.creditcardform.DHTyvc89.min.js} +4 -4
- package/dist/{revolugo.creditcardform.BxjCDGvO.min.js → revolugo.creditcardform.dkQfjqbu.min.js} +58 -58
- package/dist/{revolugo.creditcardpayment.BT1kN8zt.min.js → revolugo.creditcardpayment.Bq-J4NTM.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.DoY6phPa.min.js → revolugo.creditcardpayment.C4p394gY.min.js} +18 -18
- package/dist/{revolugo.currencypicker.B2tV48Y5.min.js → revolugo.currencypicker.CaX_fZ0_.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.DE8oV1V1.min.js → revolugo.currencypickerbtn.CVNX9x8D.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.DMU3GWjB.min.js → revolugo.currencypickerbtn.uWFp8h9g.min.js} +14 -14
- package/dist/revolugo.dates.BeQtrIUt.min.js +31 -0
- package/dist/revolugo.defaultsdeep.E3Weft6W.min.js +104 -0
- package/dist/{revolugo.dialog-attach.DpGIwuG0.min.js → revolugo.dialog-attach.fTomESSY.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Ckkqh-sq.min.js → revolugo.dialog-transition.DSC7a95s.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.CuXq-6GN.min.js → revolugo.fastbookingflow.B-Cd7O1h.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.D4ACgY8T.min.js → revolugo.fullbookingflow.JHD1Liiy.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.DcAw3ks9.min.js → revolugo.hotel-offer-request.Ba2CYCdK.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.CnCdP9SI.min.js → revolugo.hoteldescriptionview.CCt_zuXQ.min.js} +32 -32
- package/dist/{revolugo.hoteldescriptionview.OsbnClid.min.js → revolugo.hoteldescriptionview.iLYeoUcR.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.Dpe1_FMy.min.js → revolugo.hotelofferitemlayout.D_8KH6Ux.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.BJycC4Of.min.js → revolugo.hotelofferlist.BVOA8ZY3.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.DYq8K7Ct.min.js → revolugo.hotelofferlist.Df6mIcIm.min.js} +460 -454
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.fP0SPGFx.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.ZCJrqlcB.min.js +829 -0
- package/dist/{revolugo.hoteloffersmap.DSsq4XP-.min.js → revolugo.hoteloffersmap.BrQcEn6b.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.BL2dyzha.min.js → revolugo.hoteloffersmap.D5OO9zxd.min.js} +33 -33
- package/dist/{revolugo.hoteloffersview.BGrm1eOU.min.js → revolugo.hoteloffersview.Bsf-pmsP.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.gV8BZDE8.min.js → revolugo.hoteloffersview.Cv_PrU8G.min.js} +48 -49
- package/dist/{revolugo.hotelroomofferlist.D4fuEiKU.min.js → revolugo.hotelroomofferlist.DmGesgWE.min.js} +57 -56
- package/dist/{revolugo.hotelroomofferlist.BCUPuDy5.min.js → revolugo.hotelroomofferlist.qwZmdThC.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.Dv34pWYy.min.js → revolugo.hotelroomofferrequestcreator.props.D_X7on-H.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.MX7B4HS4.min.js → revolugo.hotelroomoffersbookingflow.CZclRz_J.min.js} +33 -33
- package/dist/{revolugo.hotelroomoffersearchmenu.D4ClroPA.min.js → revolugo.hotelroomoffersearchmenu.BP5KuNq8.min.js} +21 -20
- package/dist/{revolugo.hotelroomoffersearchmenu.D08ut6Wr.min.js → revolugo.hotelroomoffersearchmenu.DAxG-xqw.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.B-v9bQrO.min.js → revolugo.hotelroomoffersview.BgByzQq6.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.Cw2QLEZr.min.js → revolugo.hotelroomoffersview.D9gjWnIZ.min.js} +4 -4
- package/dist/revolugo.index.Bds6iekQ.min.js +67 -0
- package/dist/{revolugo.index.Bv92K2Ye.min.js → revolugo.index.Jxvf1PFa.min.js} +71 -71
- package/dist/{revolugo.index.wc.B0qizvXE.min.js → revolugo.index.wc.CwyY7Qwx.min.js} +5172 -5082
- package/dist/{revolugo.langpicker.BdYeJHS7.min.js → revolugo.langpicker.D6xDoW3U.min.js} +12 -12
- package/dist/{revolugo.langpickerbtn.B8zEJnmF.min.js → revolugo.langpickerbtn.HH5zReNp.min.js} +10 -10
- package/dist/{revolugo.langpickerbtn.DkfWevjb.min.js → revolugo.langpickerbtn.Hnk_6Ibc.min.js} +4 -4
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.BVUhMr3Z.min.js +36 -0
- package/dist/{revolugo.prebookform.BhwJWvTS.min.js → revolugo.prebookform.Dog7HcLu.min.js} +21 -21
- package/dist/{revolugo.prebookform.Dt8Xq1UF.min.js → revolugo.prebookform.Dv7SgXnU.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.uWkpBxvd.min.js → revolugo.roominglisteditor.BLvTUiYr.min.js} +9 -9
- package/dist/{revolugo.roominglisteditor.D5FNAQom.min.js → revolugo.roominglisteditor.Bk2lIs5I.min.js} +4 -4
- package/dist/{revolugo.rounded.D6QsXHPb.min.js → revolugo.rounded.Cqycgkgu.min.js} +2 -2
- package/dist/{revolugo.ssrboot._seCU8hc.min.js → revolugo.ssrboot.d_lNFEaA.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.Dr0gID6q.min.js → revolugo.storybooktoolbar.Cry8rOs6.min.js} +107 -108
- package/dist/{revolugo.termsandconditions.BWJftZCJ.min.js → revolugo.termsandconditions.B4cJPs4z.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.DWwdFEEM.min.js → revolugo.termsandconditions.CP39qReJ.min.js} +4 -4
- package/dist/{revolugo.use-breakpoint-service.DcFKehRh.min.js → revolugo.use-breakpoint-service.T4GTT5bW.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.Cu1mmZwk.min.js → revolugo.use-dialog-attach.tpY0trN9.min.js} +3 -3
- package/dist/revolugo.use-html-element.n0V_T8SX.min.js +11 -0
- package/dist/{revolugo.vautocomplete.BQCHxH2B.min.js → revolugo.vautocomplete.0LoBsyoD.min.js} +68 -68
- package/dist/{revolugo.vbadge.rFVXHHsE.min.js → revolugo.vbadge.BIu8Bf7n.min.js} +21 -21
- package/dist/{revolugo.vbtn.z2Nv2s_A.min.js → revolugo.vbtn.a6WFz1Bp.min.js} +44 -44
- package/dist/{revolugo.vcard.CqvpQb0V.min.js → revolugo.vcard.N_Wac83X.min.js} +30 -30
- package/dist/{revolugo.vcheckboxbtn.CIrc7Wp1.min.js → revolugo.vcheckboxbtn.CllPJG2d.min.js} +62 -62
- package/dist/{revolugo.vdialog.Ct2ri8RU.min.js → revolugo.vdialog.CkGXysfq.min.js} +15 -15
- package/dist/{revolugo.vdivider.DswPwlPP.min.js → revolugo.vdivider.BdexbeXk.min.js} +8 -8
- package/dist/{revolugo.vexpansionpanels.YyEBCJNN.min.js → revolugo.vexpansionpanels.JpHsjrqt.min.js} +33 -33
- package/dist/{revolugo.vform.B4SOVz4C.min.js → revolugo.vform.Dt5OkLsK.min.js} +10 -10
- package/dist/{revolugo.vicon.DxyPKaIP.min.js → revolugo.vicon.Xwi5lUjX.min.js} +21 -21
- package/dist/{revolugo.vinput.JVdEYSkJ.min.js → revolugo.vinput.CD7lhK2w.min.js} +57 -57
- package/dist/{revolugo.vlabel.9R__MfVL.min.js → revolugo.vlabel.DiCV_YS8.min.js} +3 -3
- package/dist/{revolugo.vlist.Cys3PIO8.min.js → revolugo.vlist.DC7UsAn1.min.js} +36 -36
- package/dist/{revolugo.vmenu.BdoJ6DB5.min.js → revolugo.vmenu.DQ3XhScv.min.js} +26 -26
- package/dist/{revolugo.vselect.CZ2KGl2h.min.js → revolugo.vselect.BSFUUjXr.min.js} +50 -50
- package/dist/{revolugo.vsheet.CtMgmHlk.min.js → revolugo.vsheet.X1hpR7Ic.min.js} +16 -16
- package/dist/{revolugo.vskeletonloader.C7hmbjSV.min.js → revolugo.vskeletonloader.JJ0gYYv-.min.js} +9 -9
- package/dist/{revolugo.vslidegroup.dHznmG62.min.js → revolugo.vslidegroup.BiNeZDPG.min.js} +52 -52
- package/dist/{revolugo.vsnackbar.DLo2YKIP.min.js → revolugo.vsnackbar.CYzYDlHW.min.js} +19 -19
- package/dist/revolugo.vspacer.nsVoXvJE.min.js +7 -0
- package/dist/{revolugo.vtextarea.CQJ0M6wH.min.js → revolugo.vtextarea.D_NTkzBX.min.js} +28 -28
- package/dist/{revolugo.vtextfield.UPzgmfaI.min.js → revolugo.vtextfield.DkSiBN62.min.js} +63 -63
- package/dist/{revolugo.vtoolbar.B5MVJuVl.min.js → revolugo.vtoolbar.CsEhs-Fl.min.js} +22 -22
- package/dist/{revolugo.vtooltip.C5jWcj_9.min.js → revolugo.vtooltip.DbyAYfTV.min.js} +9 -9
- package/dist/{revolugo.vwindowitem.QqHY3FYk.min.js → revolugo.vwindowitem.bEXafVUE.min.js} +32 -32
- package/dist/{revolugo.watch-list.Z34YwPPD.min.js → revolugo.watch-list.BSfnSWtB.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.r7aHwfWr.min.js → revolugo.webcomponentwrapper.BA74s5EB.min.js} +172 -172
- package/package.json +1 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +0 -1
- package/dist/revolugo.bhotelsearchbar.kzKlxvh9.min.js +0 -944
- package/dist/revolugo.defaultsdeep.D8dmkJFl.min.js +0 -104
- package/dist/revolugo.hotelofferrequestcreator.CG7emkhL.min.js +0 -231
- package/dist/revolugo.hoteloffersearchmenu.DgYbtckm.min.js +0 -47
- package/dist/revolugo.pathify.CF3DF_XP.min.js +0 -58
- package/dist/revolugo.use-html-element.DgyiCLuP.min.js +0 -11
- package/dist/revolugo.vspacer.DxNikbPN.min.js +0 -7
@@ -1,104 +0,0 @@
|
|
1
|
-
import { bk as l, bX as D, bY as F, br as I, aY as _, bo as L, bc as C, b4 as R, bZ as x, a_ as S, bj as T, b_ as Y, b$ as w, bg as Z, bi as q, aZ as A, c0 as B, c1 as G, c2 as W, bp as y, c3 as X, bh as $, c4 as E } from "./revolugo.index.wc.B0qizvXE.min.js";
|
2
|
-
var m = Object.create, H = /* @__PURE__ */ function() {
|
3
|
-
function n() {
|
4
|
-
}
|
5
|
-
return function(e) {
|
6
|
-
if (!l(e))
|
7
|
-
return {};
|
8
|
-
if (m)
|
9
|
-
return m(e);
|
10
|
-
n.prototype = e;
|
11
|
-
var i = new n();
|
12
|
-
return n.prototype = void 0, i;
|
13
|
-
};
|
14
|
-
}();
|
15
|
-
function J(n, e) {
|
16
|
-
var i = -1, r = n.length;
|
17
|
-
for (e || (e = Array(r)); ++i < r; )
|
18
|
-
e[i] = n[i];
|
19
|
-
return e;
|
20
|
-
}
|
21
|
-
function M(n, e) {
|
22
|
-
return D(F(n, e, I), n + "");
|
23
|
-
}
|
24
|
-
function K(n, e, i) {
|
25
|
-
if (!l(i))
|
26
|
-
return !1;
|
27
|
-
var r = typeof e;
|
28
|
-
return (r == "number" ? _(i) && L(e, i.length) : r == "string" && e in i) ? C(i[e], n) : !1;
|
29
|
-
}
|
30
|
-
function N(n) {
|
31
|
-
return M(function(e, i) {
|
32
|
-
var r = -1, a = i.length, t = a > 1 ? i[a - 1] : void 0, s = a > 2 ? i[2] : void 0;
|
33
|
-
for (t = n.length > 3 && typeof t == "function" ? (a--, t) : void 0, s && K(i[0], i[1], s) && (t = a < 3 ? void 0 : t, a = 1), e = Object(e); ++r < a; ) {
|
34
|
-
var f = i[r];
|
35
|
-
f && n(e, f, r, t);
|
36
|
-
}
|
37
|
-
return e;
|
38
|
-
});
|
39
|
-
}
|
40
|
-
function Q(n) {
|
41
|
-
return typeof n.constructor == "function" && !R(n) ? H(x(n)) : {};
|
42
|
-
}
|
43
|
-
function U(n) {
|
44
|
-
return function(e, i, r) {
|
45
|
-
for (var a = -1, t = Object(e), s = r(e), f = s.length; f--; ) {
|
46
|
-
var u = s[++a];
|
47
|
-
if (i(t[u], u, t) === !1)
|
48
|
-
break;
|
49
|
-
}
|
50
|
-
return e;
|
51
|
-
};
|
52
|
-
}
|
53
|
-
var z = U();
|
54
|
-
function b(n, e, i) {
|
55
|
-
(i !== void 0 && !C(n[e], i) || i === void 0 && !(e in n)) && S(n, e, i);
|
56
|
-
}
|
57
|
-
function V(n) {
|
58
|
-
return T(n) && _(n);
|
59
|
-
}
|
60
|
-
function h(n, e) {
|
61
|
-
if (!(e === "constructor" && typeof n[e] == "function") && e != "__proto__")
|
62
|
-
return n[e];
|
63
|
-
}
|
64
|
-
function j(n) {
|
65
|
-
return Y(n, w(n));
|
66
|
-
}
|
67
|
-
function k(n, e, i, r, a, t, s) {
|
68
|
-
var f = h(n, i), u = h(e, i), c = s.get(u);
|
69
|
-
if (c) {
|
70
|
-
b(n, i, c);
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
var d = t ? t(f, u, i + "", n, e, s) : void 0, o = d === void 0;
|
74
|
-
if (o) {
|
75
|
-
var p = A(u), g = !p && Z(u), O = !p && !g && q(u);
|
76
|
-
d = u, p || g || O ? A(f) ? d = f : V(f) ? d = J(f) : g ? (o = !1, d = B(u, !0)) : O ? (o = !1, d = G(u, !0)) : d = [] : W(u) || y(u) ? (d = f, y(f) ? d = j(f) : (!l(f) || X(f)) && (d = Q(u))) : o = !1;
|
77
|
-
}
|
78
|
-
o && (s.set(u, d), a(d, u, r, t, s), s.delete(u)), b(n, i, d);
|
79
|
-
}
|
80
|
-
function v(n, e, i, r, a) {
|
81
|
-
n !== e && z(e, function(t, s) {
|
82
|
-
if (a || (a = new $()), l(t))
|
83
|
-
k(n, e, s, i, v, r, a);
|
84
|
-
else {
|
85
|
-
var f = r ? r(h(n, s), t, s + "", n, e, a) : void 0;
|
86
|
-
f === void 0 && (f = t), b(n, s, f);
|
87
|
-
}
|
88
|
-
}, w);
|
89
|
-
}
|
90
|
-
function P(n, e, i, r, a, t) {
|
91
|
-
return l(n) && l(e) && (t.set(e, n), v(n, e, void 0, P, t), t.delete(e)), n;
|
92
|
-
}
|
93
|
-
var nn = N(function(n, e, i, r) {
|
94
|
-
v(n, e, i, r);
|
95
|
-
}), tn = M(function(n) {
|
96
|
-
return n.push(void 0, P), E(nn, void 0, n);
|
97
|
-
});
|
98
|
-
export {
|
99
|
-
v as a,
|
100
|
-
z as b,
|
101
|
-
N as c,
|
102
|
-
tn as d
|
103
|
-
};
|
104
|
-
//# sourceMappingURL=revolugo.defaultsdeep.D8dmkJFl.min.js.map
|
@@ -1,231 +0,0 @@
|
|
1
|
-
import { d as r, N as s, L as o, Q as n } from "./revolugo.index.wc.B0qizvXE.min.js";
|
2
|
-
import { p as u, s as i } from "./revolugo.pathify.CF3DF_XP.min.js";
|
3
|
-
import { w as h } from "./revolugo.watch-list.Z34YwPPD.min.js";
|
4
|
-
import { u as a } from "./revolugo.hotel-offer-request.DcAw3ks9.min.js";
|
5
|
-
const f = {
|
6
|
-
address: {
|
7
|
-
type: String
|
8
|
-
},
|
9
|
-
adultCount: {
|
10
|
-
required: !0,
|
11
|
-
type: Number
|
12
|
-
},
|
13
|
-
checkInDate: {
|
14
|
-
required: !0,
|
15
|
-
type: String
|
16
|
-
},
|
17
|
-
checkOutDate: {
|
18
|
-
required: !0,
|
19
|
-
type: String
|
20
|
-
},
|
21
|
-
children: {
|
22
|
-
default: null,
|
23
|
-
type: String
|
24
|
-
},
|
25
|
-
hotelOfferRequestId: {
|
26
|
-
type: String
|
27
|
-
},
|
28
|
-
latitude: {
|
29
|
-
required: !0,
|
30
|
-
type: Number
|
31
|
-
},
|
32
|
-
longitude: {
|
33
|
-
required: !0,
|
34
|
-
type: Number
|
35
|
-
},
|
36
|
-
roomCount: {
|
37
|
-
required: !0,
|
38
|
-
type: Number
|
39
|
-
},
|
40
|
-
sourceMarket: {
|
41
|
-
required: !0,
|
42
|
-
type: String
|
43
|
-
}
|
44
|
-
};
|
45
|
-
function l(e, t) {
|
46
|
-
return e.adultCount === t.adultCount && e.checkInDate === t.checkInDate && e.checkOutDate === t.checkOutDate && e.children === t.children && e.latitude === t.latitude && e.longitude === t.longitude && e.roomCount === t.roomCount && e.sourceMarket === t.sourceMarket && n(e.eventMetadata, t.eventMetadata);
|
47
|
-
}
|
48
|
-
const R = r({
|
49
|
-
computed: {
|
50
|
-
...o(a)
|
51
|
-
},
|
52
|
-
created() {
|
53
|
-
this.$watch(
|
54
|
-
() => {
|
55
|
-
const e = this.get("hotelOfferRequest");
|
56
|
-
return [
|
57
|
-
e.adultCount,
|
58
|
-
e.checkInDate,
|
59
|
-
e.checkOutDate,
|
60
|
-
e.children,
|
61
|
-
e.latitude,
|
62
|
-
e.longitude,
|
63
|
-
e.roomCount,
|
64
|
-
e.sourceMarket,
|
65
|
-
JSON.stringify(e.eventMetadata)
|
66
|
-
].join(",");
|
67
|
-
},
|
68
|
-
() => {
|
69
|
-
const e = this.$store.get("hotelOfferRequest");
|
70
|
-
this.hotelOfferRequestInternal = {
|
71
|
-
address: this.inputAddress,
|
72
|
-
adultCount: e.adultCount,
|
73
|
-
checkInDate: e.checkInDate,
|
74
|
-
checkOutDate: e.checkOutDate,
|
75
|
-
children: e.children || null,
|
76
|
-
latitude: e.latitude,
|
77
|
-
longitude: e.longitude,
|
78
|
-
roomCount: e.roomCount,
|
79
|
-
sourceMarket: e.sourceMarket
|
80
|
-
};
|
81
|
-
}
|
82
|
-
);
|
83
|
-
},
|
84
|
-
data() {
|
85
|
-
const e = i(
|
86
|
-
this.checkInDate,
|
87
|
-
this.checkOutDate
|
88
|
-
);
|
89
|
-
return {
|
90
|
-
hotelOfferRequestInternal: {
|
91
|
-
address: this.address,
|
92
|
-
adultCount: this.adultCount,
|
93
|
-
checkInDate: e[0],
|
94
|
-
checkOutDate: e[1],
|
95
|
-
children: this.children,
|
96
|
-
hotelOfferRequestId: this.hotelOfferRequestId,
|
97
|
-
latitude: this.latitude,
|
98
|
-
longitude: this.longitude,
|
99
|
-
roomCount: this.roomCount,
|
100
|
-
sourceMarket: this.sourceMarket
|
101
|
-
},
|
102
|
-
inputAddress: this.address
|
103
|
-
};
|
104
|
-
},
|
105
|
-
methods: {
|
106
|
-
async onBookingApiClientChange() {
|
107
|
-
await this.dispatch("hotelOfferRequest/resetId"), await this.onHotelOfferRequestInternalChange();
|
108
|
-
},
|
109
|
-
// When used in conjunction with HotelOfferSearchMenu, its children (BDateRangePickerMenu or BGuestInputMenu) are able to update the hotelOfferRequestInternal then trigger multiple call to this watcher while we want to trigger the handler only once.
|
110
|
-
onHotelOfferRequestInternalChange: s(
|
111
|
-
async function() {
|
112
|
-
this.hotelOfferRequestInternal.hotelOfferRequestId && this.hotelOfferRequestInternal.hotelOfferRequestId !== this.$store.get("hotelOfferRequest/id") ? (await this.dispatch(
|
113
|
-
"hotelOfferRequest/retrieveHotelOfferRequest",
|
114
|
-
this.hotelOfferRequestInternal.hotelOfferRequestId
|
115
|
-
), this.$store.get("hotelOfferRequest/hasError") && await this.dispatch(
|
116
|
-
"hotelOfferRequest/createHotelOfferRequest",
|
117
|
-
this.hotelOfferRequestInternal
|
118
|
-
)) : (!l(
|
119
|
-
this.hotelOfferRequestInternal,
|
120
|
-
this.$store.get("hotelOfferRequest")
|
121
|
-
) || this.inputAddress !== this.hotelOfferRequestInternal.address || !this.$store.get("hotelOfferRequest/id")) && await this.dispatch(
|
122
|
-
"hotelOfferRequest/createHotelOfferRequest",
|
123
|
-
this.hotelOfferRequestInternal
|
124
|
-
);
|
125
|
-
},
|
126
|
-
300
|
127
|
-
)
|
128
|
-
},
|
129
|
-
mixins: [
|
130
|
-
u(),
|
131
|
-
h(["bookingApiClient"], "onBookingApiClientChange", {
|
132
|
-
immediate: !0,
|
133
|
-
nextTick: !0
|
134
|
-
})
|
135
|
-
],
|
136
|
-
name: "HotelOfferRequestCreator",
|
137
|
-
props: f,
|
138
|
-
watch: {
|
139
|
-
address(e) {
|
140
|
-
this.hotelOfferRequestInternal = {
|
141
|
-
...this.hotelOfferRequestInternal,
|
142
|
-
address: e,
|
143
|
-
hotelOfferRequestId: void 0
|
144
|
-
};
|
145
|
-
},
|
146
|
-
adultCount(e) {
|
147
|
-
this.hotelOfferRequestInternal = {
|
148
|
-
...this.hotelOfferRequestInternal,
|
149
|
-
adultCount: e,
|
150
|
-
hotelOfferRequestId: void 0
|
151
|
-
};
|
152
|
-
},
|
153
|
-
checkInDate(e) {
|
154
|
-
this.hotelOfferRequestInternal = {
|
155
|
-
...this.hotelOfferRequestInternal,
|
156
|
-
checkInDate: e,
|
157
|
-
hotelOfferRequestId: void 0
|
158
|
-
};
|
159
|
-
},
|
160
|
-
checkOutDate(e) {
|
161
|
-
this.hotelOfferRequestInternal = {
|
162
|
-
...this.hotelOfferRequestInternal,
|
163
|
-
checkOutDate: e,
|
164
|
-
hotelOfferRequestId: void 0
|
165
|
-
};
|
166
|
-
},
|
167
|
-
children(e) {
|
168
|
-
this.hotelOfferRequestInternal = {
|
169
|
-
...this.hotelOfferRequestInternal,
|
170
|
-
children: e,
|
171
|
-
hotelOfferRequestId: void 0
|
172
|
-
};
|
173
|
-
},
|
174
|
-
"config.eventMetadata": {
|
175
|
-
deep: !0,
|
176
|
-
handler(e) {
|
177
|
-
this.hotelOfferRequestInternal = {
|
178
|
-
...this.hotelOfferRequestInternal,
|
179
|
-
eventMetadata: e,
|
180
|
-
hotelOfferRequestId: void 0
|
181
|
-
};
|
182
|
-
}
|
183
|
-
},
|
184
|
-
hotelOfferRequestId(e) {
|
185
|
-
e && (this.hotelOfferRequestInternal = {
|
186
|
-
...this.hotelOfferRequestInternal,
|
187
|
-
hotelOfferRequestId: e
|
188
|
-
});
|
189
|
-
},
|
190
|
-
hotelOfferRequestInternal: {
|
191
|
-
deep: !0,
|
192
|
-
async handler() {
|
193
|
-
await this.onHotelOfferRequestInternalChange();
|
194
|
-
},
|
195
|
-
immediate: !0
|
196
|
-
},
|
197
|
-
latitude(e) {
|
198
|
-
this.hotelOfferRequestInternal = {
|
199
|
-
...this.hotelOfferRequestInternal,
|
200
|
-
hotelOfferRequestId: void 0,
|
201
|
-
latitude: e
|
202
|
-
};
|
203
|
-
},
|
204
|
-
longitude(e) {
|
205
|
-
this.hotelOfferRequestInternal = {
|
206
|
-
...this.hotelOfferRequestInternal,
|
207
|
-
hotelOfferRequestId: void 0,
|
208
|
-
longitude: e
|
209
|
-
};
|
210
|
-
},
|
211
|
-
roomCount(e) {
|
212
|
-
this.hotelOfferRequestInternal = {
|
213
|
-
...this.hotelOfferRequestInternal,
|
214
|
-
hotelOfferRequestId: void 0,
|
215
|
-
roomCount: e
|
216
|
-
};
|
217
|
-
},
|
218
|
-
sourceMarket(e) {
|
219
|
-
this.hotelOfferRequestInternal = {
|
220
|
-
...this.hotelOfferRequestInternal,
|
221
|
-
hotelOfferRequestId: void 0,
|
222
|
-
sourceMarket: e
|
223
|
-
};
|
224
|
-
}
|
225
|
-
}
|
226
|
-
});
|
227
|
-
export {
|
228
|
-
R as H,
|
229
|
-
f as h
|
230
|
-
};
|
231
|
-
//# sourceMappingURL=revolugo.hotelofferrequestcreator.CG7emkhL.min.js.map
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import { H as u, h } from "./revolugo.hotelofferrequestcreator.CG7emkhL.min.js";
|
2
|
-
import { B as d } from "./revolugo.bhotelsearchbar.kzKlxvh9.min.js";
|
3
|
-
import { d as a, L as _, c as s, g as H, r as n, o as p, w as O, a as $, n as S, h as g } from "./revolugo.index.wc.B0qizvXE.min.js";
|
4
|
-
import { u as B } from "./revolugo.hotel-offer-request.DcAw3ks9.min.js";
|
5
|
-
import { p as C, g as R } from "./revolugo.pathify.CF3DF_XP.min.js";
|
6
|
-
import { _ as f, W } from "./revolugo.webcomponentwrapper.r7aHwfWr.min.js";
|
7
|
-
const q = a({
|
8
|
-
components: {
|
9
|
-
BHotelSearchBar: d
|
10
|
-
},
|
11
|
-
computed: {
|
12
|
-
..._(B),
|
13
|
-
isFetching: R("hotelOfferRequest/isFetching")
|
14
|
-
},
|
15
|
-
mixins: [u, C()],
|
16
|
-
name: "HotelOfferSearchMenu"
|
17
|
-
});
|
18
|
-
function M(e, o, c, l, i, m) {
|
19
|
-
const r = n("BHotelSearchBar");
|
20
|
-
return e.isBookingApiClientDefined ? (p(), s(r, {
|
21
|
-
key: 0,
|
22
|
-
modelValue: e.hotelOfferRequestInternal,
|
23
|
-
"onUpdate:modelValue": o[0] || (o[0] = (t) => e.hotelOfferRequestInternal = t),
|
24
|
-
"is-fetching": e.isFetching
|
25
|
-
}, null, 8, ["modelValue", "is-fetching"])) : H("", !0);
|
26
|
-
}
|
27
|
-
const V = /* @__PURE__ */ f(q, [["render", M]]), k = a({
|
28
|
-
components: {
|
29
|
-
HotelOfferSearchMenu: V,
|
30
|
-
WebComponentWrapper: W
|
31
|
-
},
|
32
|
-
props: h
|
33
|
-
});
|
34
|
-
function b(e, o, c, l, i, m) {
|
35
|
-
const r = n("HotelOfferSearchMenu", !0), t = n("WebComponentWrapper");
|
36
|
-
return p(), s(t, null, {
|
37
|
-
default: O(() => [
|
38
|
-
$(r, S(g(e.$props)), null, 16)
|
39
|
-
]),
|
40
|
-
_: 1
|
41
|
-
});
|
42
|
-
}
|
43
|
-
const N = /* @__PURE__ */ f(k, [["render", b]]);
|
44
|
-
export {
|
45
|
-
N as default
|
46
|
-
};
|
47
|
-
//# sourceMappingURL=revolugo.hoteloffersearchmenu.DgYbtckm.min.js.map
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import { cs as Y, q as r, d as f } from "./revolugo.index.wc.B0qizvXE.min.js";
|
2
|
-
function u(e) {
|
3
|
-
return /^[2]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/u.test(e);
|
4
|
-
}
|
5
|
-
function c(e) {
|
6
|
-
return e.filter(
|
7
|
-
(t) => u(t) && r(t, "YYYY-MM-DD").isSameOrAfter(r(), "day")
|
8
|
-
).sort(
|
9
|
-
(t, s) => r(t).isAfter(r(s), "day") ? 1 : -1
|
10
|
-
);
|
11
|
-
}
|
12
|
-
function d(e, n) {
|
13
|
-
const t = Y(c([e, n]));
|
14
|
-
return t.length === 2 ? t : t.length === 1 ? t[0] === r().format("YYYY-MM-DD") ? [
|
15
|
-
r().format("YYYY-MM-DD"),
|
16
|
-
r().add(1, "day").format("YYYY-MM-DD")
|
17
|
-
] : [r().format("YYYY-MM-DD"), t[0]] : [
|
18
|
-
r().format("YYYY-MM-DD"),
|
19
|
-
r().add(1, "day").format("YYYY-MM-DD")
|
20
|
-
];
|
21
|
-
}
|
22
|
-
function i(e) {
|
23
|
-
return `${e}Store`;
|
24
|
-
}
|
25
|
-
function m(e) {
|
26
|
-
const [n, t] = e.split("/");
|
27
|
-
return function() {
|
28
|
-
const a = this?.[i(n)];
|
29
|
-
return t ? a[t] : a;
|
30
|
-
};
|
31
|
-
}
|
32
|
-
const l = () => f({
|
33
|
-
computed: {
|
34
|
-
$store() {
|
35
|
-
return {
|
36
|
-
get: this.get
|
37
|
-
};
|
38
|
-
}
|
39
|
-
},
|
40
|
-
methods: {
|
41
|
-
dispatch(e, n) {
|
42
|
-
const [t, s] = e.split("/");
|
43
|
-
return this[i(t)][s](n);
|
44
|
-
},
|
45
|
-
get(e, n) {
|
46
|
-
const [t, s] = e.split("/"), a = this?.[i(t)], o = s ? a[s] : a;
|
47
|
-
return typeof o == "function" ? o(n) : o;
|
48
|
-
}
|
49
|
-
},
|
50
|
-
name: "Pathify"
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
c as a,
|
54
|
-
m as g,
|
55
|
-
l as p,
|
56
|
-
d as s
|
57
|
-
};
|
58
|
-
//# sourceMappingURL=revolugo.pathify.CF3DF_XP.min.js.map
|