@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.15

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.
Files changed (178) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
  4. package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
  5. package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
  6. package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
  7. package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
  8. package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
  9. package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
  10. package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
  11. package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
  12. package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
  13. package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
  14. package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
  15. package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
  16. package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
  17. package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
  18. package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
  19. package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
  20. package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
  21. package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
  22. package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
  23. package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
  24. package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
  25. package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
  26. package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
  29. package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
  30. package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
  31. package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
  32. package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
  33. package/package.json +1 -1
  34. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  35. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
  36. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  37. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
  38. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
  39. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  40. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  41. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  42. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
  43. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  44. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  45. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  46. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  47. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  48. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  49. package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
  50. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  51. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
  52. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
  53. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  54. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  55. package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
  56. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  57. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  58. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  59. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  60. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  61. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  62. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  63. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  64. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  65. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  66. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  67. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  68. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  69. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  70. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  71. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  72. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  73. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  74. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  75. package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
  76. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  77. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  78. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  79. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  80. package/dist/revolugo._baseiteratee.cBR9c7y0.min.js +0 -247
  81. package/dist/revolugo.banktransferdetails.COKZxUgl.min.js +0 -358
  82. package/dist/revolugo.bdaterangepicker.DTHAdEo_.min.js +0 -8324
  83. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js +0 -143
  84. package/dist/revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js +0 -4209
  85. package/dist/revolugo.bhotelroomsdetails.Du1N0UAf.min.js +0 -965
  86. package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +0 -480
  87. package/dist/revolugo.bookingdetailssidebar.DPhWTa8q.min.js +0 -37
  88. package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js +0 -811
  89. package/dist/revolugo.bookingmanager.DU11HnFM.min.js +0 -1755
  90. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js +0 -91
  91. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js +0 -570
  92. package/dist/revolugo.btag.C62gPpXY.min.js +0 -375
  93. package/dist/revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js +0 -198
  94. package/dist/revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js +0 -28
  95. package/dist/revolugo.cancellationpolicieslist.B3anYVoy.min.js +0 -148
  96. package/dist/revolugo.cancellationpolicieslist.CXfbgIoX.min.js +0 -25
  97. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  98. package/dist/revolugo.case-transformers.BwQ_6ytS.min.js +0 -123
  99. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  100. package/dist/revolugo.creditcardform.Bk7yeZle.min.js +0 -2148
  101. package/dist/revolugo.creditcardform.CLPMa22X.min.js +0 -24
  102. package/dist/revolugo.creditcardpayment.16l0_Jf7.min.js +0 -885
  103. package/dist/revolugo.creditcardpayment.8uLeCSFY.min.js +0 -24
  104. package/dist/revolugo.currencypicker.C2vrmj29.min.js +0 -330
  105. package/dist/revolugo.currencypickerbtn.D-_ebAdx.min.js +0 -157
  106. package/dist/revolugo.currencypickerbtn.oOaJl4xV.min.js +0 -24
  107. package/dist/revolugo.dates.CjcXQ0GW.min.js +0 -31
  108. package/dist/revolugo.defaultsdeep.BeZIlIB3.min.js +0 -104
  109. package/dist/revolugo.dialog-attach.BhhnSZUl.min.js +0 -27
  110. package/dist/revolugo.dialog-transition.FTaI_Ytg.min.js +0 -111
  111. package/dist/revolugo.fastbookingflow.BEvuz8TE.min.js +0 -34
  112. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  113. package/dist/revolugo.fullbookingflow.Cqc7o02c.min.js +0 -429
  114. package/dist/revolugo.hotel-offer-request.aeZsBIhG.min.js +0 -98
  115. package/dist/revolugo.hoteldescriptionview.Cc34IdcB.min.js +0 -2956
  116. package/dist/revolugo.hoteldescriptionview.bwCbJ_Lc.min.js +0 -24
  117. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js +0 -241
  118. package/dist/revolugo.hotelofferlist.BjxZDBqQ.min.js +0 -24
  119. package/dist/revolugo.hotelofferlist.BvbLSbsN.min.js +0 -5624
  120. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  121. package/dist/revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js +0 -829
  122. package/dist/revolugo.hoteloffersmap.CXSkWGLL.min.js +0 -24
  123. package/dist/revolugo.hoteloffersmap.CwRdoBFO.min.js +0 -9016
  124. package/dist/revolugo.hoteloffersview.Bldot7ii.min.js +0 -19
  125. package/dist/revolugo.hoteloffersview.DmZBFwbi.min.js +0 -614
  126. package/dist/revolugo.hotelroomofferlist.BMzSnIk0.min.js +0 -2788
  127. package/dist/revolugo.hotelroomofferlist.BfIOXkSe.min.js +0 -24
  128. package/dist/revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js +0 -171
  129. package/dist/revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js +0 -1281
  130. package/dist/revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js +0 -25
  131. package/dist/revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js +0 -231
  132. package/dist/revolugo.hotelroomoffersview.BYJ5V84k.min.js +0 -290
  133. package/dist/revolugo.hotelroomoffersview.CvL5egT6.min.js +0 -24
  134. package/dist/revolugo.index.BEuxTkkV.min.js +0 -1232
  135. package/dist/revolugo.langpicker.C3WkV6vL.min.js +0 -99
  136. package/dist/revolugo.langpickerbtn.Big2FR0-.min.js +0 -131
  137. package/dist/revolugo.langpickerbtn.BtNmwMy5.min.js +0 -29
  138. package/dist/revolugo.parsed-props.CKrOq6vN.min.js +0 -39
  139. package/dist/revolugo.pathify.BXdI-Fp4.min.js +0 -36
  140. package/dist/revolugo.prebookform.Bt4-Cptm.min.js +0 -24
  141. package/dist/revolugo.prebookform.DLNVSLoS.min.js +0 -3373
  142. package/dist/revolugo.roominglisteditor.CQzIDZtG.min.js +0 -24
  143. package/dist/revolugo.roominglisteditor.w3dcygO-.min.js +0 -377
  144. package/dist/revolugo.rounded.TLykrsW-.min.js +0 -68
  145. package/dist/revolugo.ssrboot.B7Rop2QP.min.js +0 -18
  146. package/dist/revolugo.termsandconditions.BT6qdQad.min.js +0 -23
  147. package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +0 -405
  148. package/dist/revolugo.use-breakpoint-service.CgKRPcVE.min.js +0 -39
  149. package/dist/revolugo.use-dialog-attach.EGF5pKTl.min.js +0 -16
  150. package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
  151. package/dist/revolugo.use-parsed-props.DL26tjRL.min.js +0 -29
  152. package/dist/revolugo.vautocomplete.C1ryjPoI.min.js +0 -445
  153. package/dist/revolugo.vbadge.BFTNHKkx.min.js +0 -112
  154. package/dist/revolugo.vbtn.Cw5eo1Xx.min.js +0 -398
  155. package/dist/revolugo.vcard.DlI6Moiv.min.js +0 -313
  156. package/dist/revolugo.vcheckboxbtn.Bc0xhmo2.min.js +0 -478
  157. package/dist/revolugo.vdialog.up-Y8p7U.min.js +0 -133
  158. package/dist/revolugo.vdivider.CaptbTLL.min.js +0 -77
  159. package/dist/revolugo.vexpansionpanels.DeQCpMrB.min.js +0 -262
  160. package/dist/revolugo.vform.Cix7vOUg.min.js +0 -46
  161. package/dist/revolugo.vicon.BebzkIu9.min.js +0 -105
  162. package/dist/revolugo.vinput.BP0DAwB4.min.js +0 -463
  163. package/dist/revolugo.vlabel.BLwMEYcT.min.js +0 -48
  164. package/dist/revolugo.vlist.BQB5ovkZ.min.js +0 -1299
  165. package/dist/revolugo.vmenu.Bkfr0AZ8.min.js +0 -145
  166. package/dist/revolugo.vselect.CnEh8cV1.min.js +0 -660
  167. package/dist/revolugo.vsheet.3Q2yGw6P.min.js +0 -72
  168. package/dist/revolugo.vskeletonloader.Duv2gHal.min.js +0 -136
  169. package/dist/revolugo.vslidegroup.DRWO8Opf.min.js +0 -325
  170. package/dist/revolugo.vsnackbar.IdM-bZTD.min.js +0 -198
  171. package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
  172. package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +0 -240
  173. package/dist/revolugo.vtextfield.CJVqkfB9.min.js +0 -501
  174. package/dist/revolugo.vtoolbar.DvuDs2yB.min.js +0 -180
  175. package/dist/revolugo.vtooltip.64CgkEK4.min.js +0 -89
  176. package/dist/revolugo.vwindowitem.qKodFAHS.min.js +0 -317
  177. package/dist/revolugo.watch-list.0WSknWRu.min.js +0 -16
  178. package/dist/revolugo.webcomponentwrapper.BXqP9KYd.min.js +0 -2088
@@ -1,19 +0,0 @@
1
- import { h as o, a as r } from "./revolugo.hoteloffersview.DmZBFwbi.min.js";
2
- import { W as a } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
3
- import { d as s, c as t, w as p, a as n, n as f, h as l, o as i } from "./revolugo.index.wc.ChJWkzSz.min.js";
4
- const h = /* @__PURE__ */ s({
5
- __name: "HotelOffersView",
6
- props: o,
7
- setup(m) {
8
- return (e, c) => (i(), t(a, null, {
9
- default: p(() => [
10
- n(r, f(l(e.$props)), null, 16)
11
- ]),
12
- _: 1
13
- }));
14
- }
15
- });
16
- export {
17
- h as default
18
- };
19
- //# sourceMappingURL=revolugo.hoteloffersview.Bldot7ii.min.js.map
@@ -1,614 +0,0 @@
1
- import { r as c, O as i, S as re, T as le, U as ne, V as ue, W as fe, d as de, u as ce, N as P, H as V, X as me, Y as he, k as d, Z as F, f as a, c as E, w as r, F as _, g as H, a as u, _ as pe, A as ve, I as Oe, E as we, e as w, t as b, J as A, C as be, D as T, K as U, b as $, o as l } from "./revolugo.index.wc.ChJWkzSz.min.js";
2
- import { s as ge } from "./revolugo.dates.CjcXQ0GW.min.js";
3
- import { u as G } from "./revolugo.hotel-offer-request.aeZsBIhG.min.js";
4
- import { a as ke, h as Me, H as Ee } from "./revolugo.hotelofferlist.BvbLSbsN.min.js";
5
- import { H as _e, h as He, a as Re } from "./revolugo.hoteloffersmap.CwRdoBFO.min.js";
6
- import { P as N } from "./revolugo.hoteldescriptionview.Cc34IdcB.min.js";
7
- import { B as Le, V as ye, a as K, _ as Se } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
8
- import { H as Ce } from "./revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js";
9
- import { u as Ve, b as Ie } from "./revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js";
10
- import { u as qe } from "./revolugo.use-breakpoint-service.CgKRPcVE.min.js";
11
- import { u as xe } from "./revolugo.use-parsed-props.DL26tjRL.min.js";
12
- import { V as De } from "./revolugo.vcard.DlI6Moiv.min.js";
13
- import { a as j } from "./revolugo.vbtn.Cw5eo1Xx.min.js";
14
- import { V as Te } from "./revolugo.index.BEuxTkkV.min.js";
15
- import { V as B } from "./revolugo.vicon.BebzkIu9.min.js";
16
- function ie(s) {
17
- try {
18
- if (typeof document < "u") {
19
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
20
- sheets: [],
21
- components: []
22
- };
23
- const e = import.meta.url, n = e.slice(0, e.lastIndexOf("/") + 1) + s;
24
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
25
- for (const t of REVOLUGO_ELEMENTS_STYLES.components)
26
- t(n);
27
- if (s.indexOf("fonts") >= 0) {
28
- const t = document.createElement("link");
29
- t.rel = "stylesheet", linK.href = n, document.head.appendChild(t);
30
- }
31
- }
32
- } catch (e) {
33
- console.error("[revolugo-elements] ", e);
34
- }
35
- }
36
- const W = {
37
- HotelSearchBar: !0,
38
- PreferencesMenu: !0,
39
- HotelOfferList: ke,
40
- HotelOffersMap: _e
41
- }, Be = {
42
- ...Me,
43
- ...He,
44
- features: {
45
- default: () => W,
46
- type: [Object, String]
47
- },
48
- mapFirstOnMobile: {
49
- default: !1,
50
- type: Boolean
51
- }
52
- };
53
- function ze(s, e) {
54
- return s.adultCount === e.adultCount && s.checkInDate === e.checkInDate && s.checkOutDate === e.checkOutDate && s.children === e.children && s.latitude === e.latitude && s.longitude === e.longitude && s.roomCount === e.roomCount && s.sourceMarket === e.sourceMarket && ue(s.eventMetadata, e.eventMetadata);
55
- }
56
- function Pe(s) {
57
- const e = G(), n = ge(
58
- s.checkInDate,
59
- s.checkOutDate
60
- ), t = c({
61
- address: s.address,
62
- adultCount: s.adultCount,
63
- checkInDate: n[0],
64
- checkOutDate: n[1],
65
- children: s.children,
66
- hotelOfferRequestId: s.hotelOfferRequestId,
67
- latitude: s.latitude,
68
- longitude: s.longitude,
69
- roomCount: s.roomCount,
70
- sourceMarket: s.sourceMarket
71
- }), g = c(s.address);
72
- i(
73
- () => [
74
- e.adultCount,
75
- e.checkInDate,
76
- e.checkOutDate,
77
- e.children,
78
- e.latitude,
79
- e.longitude,
80
- e.roomCount,
81
- e.sourceMarket,
82
- e.eventMetadata
83
- ],
84
- () => {
85
- t.value = {
86
- ...t.value,
87
- address: g.value,
88
- adultCount: e.adultCount,
89
- checkInDate: e.checkInDate,
90
- checkOutDate: e.checkOutDate,
91
- children: e.children || null,
92
- latitude: e.latitude,
93
- longitude: e.longitude,
94
- roomCount: e.roomCount,
95
- sourceMarket: e.sourceMarket
96
- };
97
- }
98
- );
99
- const k = re(async () => {
100
- t.value.hotelOfferRequestId && t.value.hotelOfferRequestId !== e.id ? (await e.retrieveHotelOfferRequest(
101
- t.value.hotelOfferRequestId
102
- ), e.hasError && await e.createHotelOfferRequest(
103
- t.value
104
- )) : (!ze(
105
- t.value,
106
- e.$state
107
- ) || g.value !== t.value.address || !e.id) && await e.createHotelOfferRequest(
108
- t.value
109
- );
110
- }, 300);
111
- i(
112
- () => s.address,
113
- (o) => {
114
- t.value = {
115
- ...t.value,
116
- address: o,
117
- hotelOfferRequestId: void 0
118
- };
119
- }
120
- ), i(
121
- () => s.adultCount,
122
- (o) => {
123
- t.value = {
124
- ...t.value,
125
- adultCount: o || 0,
126
- hotelOfferRequestId: void 0
127
- };
128
- }
129
- ), i(
130
- () => s.checkInDate,
131
- (o) => {
132
- t.value = {
133
- ...t.value,
134
- checkInDate: o,
135
- hotelOfferRequestId: void 0
136
- };
137
- }
138
- ), i(
139
- () => s.checkOutDate,
140
- (o) => {
141
- t.value = {
142
- ...t.value,
143
- checkOutDate: o,
144
- hotelOfferRequestId: void 0
145
- };
146
- }
147
- ), i(
148
- () => s.children,
149
- (o) => {
150
- t.value = {
151
- ...t.value,
152
- children: o,
153
- hotelOfferRequestId: void 0
154
- };
155
- }
156
- ), i(
157
- () => s.hotelOfferRequestId,
158
- (o) => {
159
- o && (t.value = {
160
- ...t.value,
161
- hotelOfferRequestId: o
162
- });
163
- }
164
- ), i(
165
- () => s.latitude,
166
- (o) => {
167
- t.value = {
168
- ...t.value,
169
- hotelOfferRequestId: void 0,
170
- latitude: o || 0
171
- };
172
- }
173
- ), i(
174
- () => s.longitude,
175
- (o) => {
176
- t.value = {
177
- ...t.value,
178
- hotelOfferRequestId: void 0,
179
- longitude: o || 0
180
- };
181
- }
182
- ), i(
183
- () => s.roomCount,
184
- (o) => {
185
- t.value = {
186
- ...t.value,
187
- hotelOfferRequestId: void 0,
188
- roomCount: o || 0
189
- };
190
- }
191
- ), i(
192
- () => s.sourceMarket,
193
- (o) => {
194
- t.value = {
195
- ...t.value,
196
- hotelOfferRequestId: void 0,
197
- sourceMarket: o || ""
198
- };
199
- }
200
- ), i(
201
- t,
202
- () => {
203
- k();
204
- },
205
- { deep: !0, immediate: !0 }
206
- );
207
- const R = async () => {
208
- e.resetId(), await k();
209
- }, { config: I } = le();
210
- i(
211
- () => I.value.eventMetadata,
212
- (o) => {
213
- t.value = {
214
- ...t.value,
215
- eventMetadata: o,
216
- hotelOfferRequestId: void 0
217
- };
218
- },
219
- { immediate: !0 }
220
- );
221
- const { bookingApiClient: L } = ne();
222
- return i(
223
- () => L.value,
224
- async () => {
225
- await fe(async () => {
226
- await R();
227
- });
228
- },
229
- { immediate: !0 }
230
- ), {
231
- hotelOfferRequestInternal: t,
232
- inputAddress: g,
233
- onBookingApiClientChange: R,
234
- onHotelOfferRequestInternalChange: k
235
- };
236
- }
237
- const Fe = { key: 0 }, Ae = { key: 1 }, Ue = {
238
- key: 1,
239
- class: "mb-2 w-75 p-0 d-flex position-absolute bottom-0 justify-center",
240
- color: "transparent",
241
- style: { "justify-content": "center", transform: "translateX(-50%)", left: "50%" }
242
- }, $e = { class: "ml-2" }, Ne = { class: "ml-2" }, X = /* @__PURE__ */ de({
243
- __name: "HotelOffersView",
244
- props: Be,
245
- setup(s) {
246
- const e = s, { t: n } = ce(), t = Ve(), g = G(), { hotelOffers: k, isPolling: R } = P(t), { hasError: I, isFetching: L } = P(
247
- g
248
- ), o = c(null), {
249
- $breakpointService: y,
250
- $isCurrentBreakpointAboveOrEqual: S,
251
- $isCurrentBreakpointBelow: J,
252
- $isCurrentBreakpointBelowOrEqual: p
253
- } = qe(o), q = c(""), x = c(void 0), m = c(
254
- p("sm") && e.mapFirstOnMobile || !1
255
- ), v = c(!1), C = c(void 0), z = c(null), Q = V(
256
- () => L.value && v.value && S("sm") || R.value && (!!k.value?.length || m.value && p("sm"))
257
- ), Z = V(() => I.value), ee = (h) => {
258
- q.value = h.id;
259
- }, te = () => {
260
- q.value = "";
261
- }, { eventBus: se } = Oe(), ae = () => {
262
- m.value = !m.value, se.$emit(we.HotelOffersViewShowMap, m.value);
263
- };
264
- me(() => {
265
- const h = z.value?.$el;
266
- h && (C.value = new ResizeObserver((f) => {
267
- const O = f[0]?.contentRect;
268
- O && (x.value = O.height);
269
- }), C.value.observe(h));
270
- }), he(() => {
271
- C.value && C.value.disconnect();
272
- });
273
- const oe = Ie(V(() => e.height)), M = xe({
274
- fallbackValue: W,
275
- prop: V(() => e.features)
276
- }), { hotelOfferRequestInternal: D } = Pe(e);
277
- return (h, f) => (l(), d("div", {
278
- class: "d-flex flex-column position-relative",
279
- ref_key: "root",
280
- ref: o,
281
- style: F({ height: a(oe) })
282
- }, [
283
- Z.value ? (l(), E(Le, { key: 0 }, {
284
- title: r(() => [
285
- w(b(a(n)("HotelOffersView.error.title")), 1)
286
- ]),
287
- description: r(() => [
288
- w(b(a(n)("HotelOffersView.error.description")), 1)
289
- ]),
290
- _: 1
291
- })) : (l(), d(_, { key: 1 }, [
292
- h.isBookingApiClientDefined && a(M).HotelSearchBar ? (l(), E(Ce, {
293
- key: 0,
294
- modelValue: a(D),
295
- "onUpdate:modelValue": f[0] || (f[0] = (O) => pe(D) ? D.value = O : null),
296
- "is-loading": a(L),
297
- "is-loading-bar-enabled": !1
298
- }, ve({ _: 2 }, [
299
- a(S)("md") && a(M).PreferencesMenu ? {
300
- name: "after",
301
- fn: r(() => [
302
- u(N, {
303
- compact: a(J)("lg"),
304
- direction: "bottom"
305
- }, null, 8, ["compact"])
306
- ]),
307
- key: "0"
308
- } : void 0
309
- ]), 1032, ["modelValue", "is-loading"])) : H("", !0),
310
- u(De, {
311
- ref_key: "hotelOffersViewCard",
312
- ref: z,
313
- class: "mt-1 flex-grow-1 overflow-hidden",
314
- elevation: "0",
315
- tile: ""
316
- }, {
317
- default: r(() => [
318
- Q.value ? (l(), E(Te, {
319
- key: 0,
320
- absolute: "",
321
- indeterminate: "",
322
- color: "primary",
323
- style: { "z-index": "2" }
324
- })) : H("", !0),
325
- u(ye, { "no-gutters": "" }, {
326
- default: r(() => [
327
- u(K, {
328
- class: be(m.value ? "d-none d-md-block" : "d-block"),
329
- cols: "12",
330
- lg: "6",
331
- md: "7",
332
- style: F({
333
- maxWidth: a(p)("sm") ? "100%" : v.value ? "0" : "520px"
334
- }),
335
- xl: "5"
336
- }, {
337
- default: r(() => [
338
- u(Ee, T({ ...h.$props, height: x.value }, {
339
- features: a(M).HotelOfferList,
340
- "is-loading-bar-enabled": !1,
341
- onHotelOfferItemMouseleave: te,
342
- onHotelOfferItemMouseover: ee,
343
- "max-height": "none"
344
- }), null, 16, ["features"])
345
- ]),
346
- _: 1
347
- }, 8, ["class", "style"]),
348
- A(u(K, null, {
349
- default: r(() => [
350
- u(Re, T({ ...h.$props, height: x.value }, {
351
- features: a(M).HotelOffersMap,
352
- "hovered-hotel": q.value,
353
- "is-loading-bar-enabled": !1,
354
- "max-height": "none"
355
- }), {
356
- bottomleft: r(({ props: O }) => [
357
- A(u(j, T({
358
- block: "",
359
- class: "px-2",
360
- color: "grey-darken-3",
361
- size: "small",
362
- style: { width: "30px" }
363
- }, O, {
364
- onClick: f[1] || (f[1] = (Ke) => v.value = !v.value)
365
- }), {
366
- default: r(() => [
367
- u(B, { color: "white" }, {
368
- default: r(() => [
369
- v.value ? (l(), d(_, { key: 1 }, [
370
- w(" fa fas fa-minimize ")
371
- ], 64)) : (l(), d(_, { key: 0 }, [
372
- w(" fas fa-expand ")
373
- ], 64))
374
- ]),
375
- _: 1
376
- })
377
- ]),
378
- _: 2
379
- }, 1040), [
380
- [U, a(S)("md")]
381
- ])
382
- ]),
383
- "bottomleft-tooltip-text": r(() => [
384
- v.value ? (l(), d("span", Ae, b(a(n)("HotelOffersView.map.minimize")), 1)) : (l(), d("span", Fe, b(a(n)("HotelOffersView.map.expand")), 1))
385
- ]),
386
- _: 1
387
- }, 16, ["features", "hovered-hotel"])
388
- ]),
389
- _: 1
390
- }, 512), [
391
- [U, m.value || a(S)("sm")]
392
- ])
393
- ]),
394
- _: 1
395
- })
396
- ]),
397
- _: 1
398
- }, 512),
399
- a(p)("sm") || a(M).PreferencesMenu && a(p)("sm") ? (l(), d("div", Ue, [
400
- a(p)("sm") ? (l(), E(j, {
401
- key: 0,
402
- size: "small",
403
- class: "text-white",
404
- color: "grey-darken-3",
405
- onClick: ae
406
- }, {
407
- default: r(() => [
408
- m.value ? (l(), d(_, { key: 1 }, [
409
- m.value ? (l(), E(B, { key: 0 }, {
410
- default: r(() => f[3] || (f[3] = [
411
- w(" fas fa-solid fa-list ")
412
- ])),
413
- _: 1,
414
- __: [3]
415
- })) : H("", !0),
416
- $("small", Ne, b(a(n)(
417
- `HotelOffersView.actions.${a(y).width && a(y).width < 350 ? "responsive" : "regular"}.showList`
418
- )), 1)
419
- ], 64)) : (l(), d(_, { key: 0 }, [
420
- u(B, null, {
421
- default: r(() => f[2] || (f[2] = [
422
- w(" fas fa-solid fa-map ")
423
- ])),
424
- _: 1,
425
- __: [2]
426
- }),
427
- $("small", $e, b(a(n)(
428
- `HotelOffersView.actions.${a(y).width && a(y).width < 350 ? "responsive" : "regular"}.showMap`
429
- )), 1)
430
- ], 64))
431
- ]),
432
- _: 1
433
- })) : H("", !0),
434
- u(N, {
435
- class: "ml-2",
436
- color: "grey-darken-3",
437
- direction: "top"
438
- })
439
- ])) : H("", !0)
440
- ], 64))
441
- ], 4));
442
- }
443
- });
444
- function Y(s) {
445
- const e = s;
446
- e.__i18n = e.__i18n || [], e.__i18n.push({
447
- locale: "",
448
- resource: {
449
- "en-US": {
450
- HotelOffersView: {
451
- actions: {
452
- regular: {
453
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show map" } },
454
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show list" } }
455
- },
456
- responsive: {
457
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Map" } },
458
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "List" } }
459
- }
460
- },
461
- error: {
462
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Something went wrong..." } },
463
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please try again later" } }
464
- },
465
- map: {
466
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expand map" } },
467
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimize map" } }
468
- }
469
- }
470
- },
471
- "fr-FR": {
472
- HotelOffersView: {
473
- actions: {
474
- regular: {
475
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher la carte" } },
476
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher la liste" } }
477
- },
478
- responsive: {
479
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Carte" } },
480
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste" } }
481
- }
482
- },
483
- error: {
484
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il y a eu un problème..." } },
485
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réessayez plus tard" } }
486
- },
487
- map: {
488
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Agrandir la carte" } },
489
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réduire la carte" } }
490
- }
491
- }
492
- },
493
- "de-DE": {
494
- HotelOffersView: {
495
- actions: {
496
- regular: {
497
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte anzeigen" } },
498
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste anzeigen" } }
499
- },
500
- responsive: {
501
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte" } },
502
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste" } }
503
- }
504
- },
505
- error: {
506
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Etwas ist schief gelaufen..." } },
507
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte versuche es später noch einmal" } }
508
- },
509
- map: {
510
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte erweitern" } },
511
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte minimieren" } }
512
- }
513
- }
514
- },
515
- "es-ES": {
516
- HotelOffersView: {
517
- actions: {
518
- regular: {
519
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar mapa" } },
520
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar lista" } }
521
- },
522
- responsive: {
523
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mapa" } },
524
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista" } }
525
- }
526
- },
527
- error: {
528
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo salió mal..." } },
529
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, inténtalo de nuevo más tarde" } }
530
- },
531
- map: {
532
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expandir mapa" } },
533
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimizar mapa" } }
534
- }
535
- }
536
- },
537
- "it-IT": {
538
- HotelOffersView: {
539
- actions: {
540
- regular: {
541
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra mappa" } },
542
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra elenco" } }
543
- },
544
- responsive: {
545
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mappa" } },
546
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Elenco" } }
547
- }
548
- },
549
- error: {
550
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qualcosa è andato storto..." } },
551
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Riprova più tardi" } }
552
- },
553
- map: {
554
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Espandi mappa" } },
555
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Riduci mappa" } }
556
- }
557
- }
558
- },
559
- "nl-NL": {
560
- HotelOffersView: {
561
- actions: {
562
- regular: {
563
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon kaart" } },
564
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon lijst" } }
565
- },
566
- responsive: {
567
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart" } },
568
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lijst" } }
569
- }
570
- },
571
- error: {
572
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Er is iets misgegaan..." } },
573
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Probeer het later opnieuw" } }
574
- },
575
- map: {
576
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart uitvouwen" } },
577
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart minimaliseren" } }
578
- }
579
- }
580
- },
581
- "pt-PT": {
582
- HotelOffersView: {
583
- actions: {
584
- regular: {
585
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar mapa" } },
586
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar lista" } }
587
- },
588
- responsive: {
589
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mapa" } },
590
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista" } }
591
- }
592
- },
593
- error: {
594
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo correu mal..." } },
595
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, tente novamente mais tarde" } }
596
- },
597
- map: {
598
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expandir mapa" } },
599
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimizar mapa" } }
600
- }
601
- }
602
- }
603
- }
604
- });
605
- }
606
- typeof Y == "function" && Y(X);
607
- const lt = /* @__PURE__ */ Se(X, [["__scopeId", "data-v-1247d5aa"]]);
608
- ie("css/revolugo.hoteloffersview.Xw1flMYo.css");
609
- export {
610
- W as H,
611
- lt as a,
612
- Be as h
613
- };
614
- //# sourceMappingURL=revolugo.hoteloffersview.DmZBFwbi.min.js.map