@revolugo/elements 6.8.3-beta.0 → 6.8.3-beta.1

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 (174) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +1 -0
  7. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  8. package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
  9. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  10. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
  11. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
  12. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +1 -0
  13. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
  14. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +1 -0
  15. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
  16. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  17. package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +1 -0
  18. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
  19. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
  20. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
  21. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  22. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  23. package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
  24. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  25. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
  26. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  27. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  28. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  29. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  30. package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
  31. package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
  32. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
  33. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  34. package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
  35. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
  36. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  37. package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
  38. package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
  39. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
  40. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
  41. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
  42. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
  43. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
  44. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
  45. package/dist/css/revolugo.vtoolbar.BZert82L.css +1 -0
  46. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  47. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
  48. package/dist/css/{revolugo.webcomponentwrapper.DGADlvX0.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
  49. package/dist/revolugo._baseiteratee.Dil0w9e0.min.js +247 -0
  50. package/dist/revolugo.banktransferdetails.DiwVMsA1.min.js +373 -0
  51. package/dist/revolugo.bdaterangepicker.DDEGZVT0.min.js +8324 -0
  52. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js +143 -0
  53. package/dist/revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js +4896 -0
  54. package/dist/revolugo.bhotelroomsdetails.DDHY2lbs.min.js +965 -0
  55. package/dist/revolugo.bimagecarousel.DpROkQNr.min.js +566 -0
  56. package/dist/revolugo.bookingdetailssidebar.5S5oPc1U.min.js +24 -0
  57. package/dist/revolugo.bookingdetailssidebar.l8IDCkox.min.js +866 -0
  58. package/dist/revolugo.bookingmanager.-BQEM4EN.min.js +1755 -0
  59. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js +91 -0
  60. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js +604 -0
  61. package/dist/revolugo.btag.yxmSLIpZ.min.js +375 -0
  62. package/dist/revolugo.cancellationpoliciesbadge.3dDx89si.min.js +28 -0
  63. package/dist/revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js +198 -0
  64. package/dist/revolugo.cancellationpolicieslist.D558ZjJj.min.js +25 -0
  65. package/dist/revolugo.cancellationpolicieslist.EOsSrPjA.min.js +148 -0
  66. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  67. package/dist/revolugo.case-transformers.DGnXS0Cp.min.js +123 -0
  68. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  69. package/dist/revolugo.creditcardform.DZXQZuRo.min.js +2148 -0
  70. package/dist/revolugo.creditcardform.DkLcGTUe.min.js +24 -0
  71. package/dist/revolugo.creditcardpayment.BCKTbLQO.min.js +24 -0
  72. package/dist/revolugo.creditcardpayment.DS5TEf7I.min.js +885 -0
  73. package/dist/revolugo.currencypicker.DzOZVdqj.min.js +330 -0
  74. package/dist/revolugo.currencypickerbtn.BFa4yMym.min.js +24 -0
  75. package/dist/revolugo.currencypickerbtn.XX3uUfVo.min.js +157 -0
  76. package/dist/revolugo.dates.BZrB2-ya.min.js +31 -0
  77. package/dist/revolugo.defaultsdeep.DkkJx-tU.min.js +104 -0
  78. package/dist/revolugo.dialog-attach.Cr22Se10.min.js +27 -0
  79. package/dist/revolugo.dialog-transition.D5NECTJF.min.js +111 -0
  80. package/dist/revolugo.fastbookingflow.BzBjZ3LE.min.js +34 -0
  81. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  82. package/dist/revolugo.fullbookingflow.DdY_jXGE.min.js +429 -0
  83. package/dist/revolugo.hotel-offer-request.D14Rm4x5.min.js +98 -0
  84. package/dist/revolugo.hoteldescriptionview.BgYZ2vmV.min.js +24 -0
  85. package/dist/revolugo.hoteldescriptionview.C_jOcLK_.min.js +2955 -0
  86. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js +241 -0
  87. package/dist/revolugo.hotelofferlist.BYkJEK3j.min.js +5639 -0
  88. package/dist/revolugo.hotelofferlist.Dko1gIDn.min.js +24 -0
  89. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  90. package/dist/{revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js → revolugo.hoteloffersearchmenu.B8ncJahc.min.js} +46 -43
  91. package/dist/revolugo.hoteloffersearchmenuui.C1nrtxip.min.js +829 -0
  92. package/dist/revolugo.hoteloffersmap.CRI3Jttb.min.js +8329 -0
  93. package/dist/revolugo.hoteloffersmap.D_lQobL7.min.js +24 -0
  94. package/dist/revolugo.hoteloffersview.1h25yRqJ.min.js +614 -0
  95. package/dist/revolugo.hoteloffersview.DzB-e4H1.min.js +19 -0
  96. package/dist/revolugo.hotelroomofferlist.CDSzTTou.min.js +24 -0
  97. package/dist/revolugo.hotelroomofferlist.DdmwJDYN.min.js +2811 -0
  98. package/dist/revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js +171 -0
  99. package/dist/revolugo.hotelroomoffersbookingflow.76yvftsv.min.js +1281 -0
  100. package/dist/revolugo.hotelroomoffersearchmenu.BJTJFnmG.min.js +25 -0
  101. package/dist/revolugo.hotelroomoffersearchmenu.D6Vyfjfp.min.js +231 -0
  102. package/dist/revolugo.hotelroomoffersview.CkGUZ5LE.min.js +290 -0
  103. package/dist/revolugo.hotelroomoffersview.CrexMnSs.min.js +24 -0
  104. package/dist/{revolugo.index.CVHWSVdZ.min.js → revolugo.index.3XJPtYDq.min.js} +10 -10
  105. package/dist/revolugo.index.Cgeh5pQG.min.js +1232 -0
  106. package/dist/{revolugo.index.wc.DxOdmA3C.min.js → revolugo.index.wc.C1h_M397.min.js} +2396 -2372
  107. package/dist/revolugo.langpicker.BEu5Dcmi.min.js +99 -0
  108. package/dist/revolugo.langpickerbtn.CIldopN_.min.js +131 -0
  109. package/dist/revolugo.langpickerbtn.PS3df2DW.min.js +29 -0
  110. package/dist/revolugo.min.js +1 -1
  111. package/dist/revolugo.pathify.DvfN0v8G.min.js +36 -0
  112. package/dist/revolugo.prebookform.CQkoP-VV.min.js +1527 -0
  113. package/dist/revolugo.prebookform.CV1s2FGH.min.js +24 -0
  114. package/dist/revolugo.roominglisteditor.8ernakg_.min.js +385 -0
  115. package/dist/revolugo.roominglisteditor.DxJ2OBqY.min.js +24 -0
  116. package/dist/revolugo.rounded.BOHYNseH.min.js +68 -0
  117. package/dist/revolugo.ssrboot.DElAuRmu.min.js +18 -0
  118. package/dist/{revolugo.storybooktoolbar.CkwMUZCe.min.js → revolugo.storybooktoolbar.CHfZ7EvT.min.js} +161 -147
  119. package/dist/revolugo.termsandconditions.BvRlB7pE.min.js +405 -0
  120. package/dist/revolugo.termsandconditions.r61WJG2h.min.js +23 -0
  121. package/dist/revolugo.use-breakpoint-service.BXTJsL7a.min.js +39 -0
  122. package/dist/revolugo.use-dialog-attach._Ffb31mm.min.js +16 -0
  123. package/dist/revolugo.use-html-element.DTDLV1SN.min.js +11 -0
  124. package/dist/revolugo.vautocomplete.CQYvC8_q.min.js +445 -0
  125. package/dist/revolugo.vbadge.Dqf0g4rP.min.js +112 -0
  126. package/dist/revolugo.vbtn.1GlaUjid.min.js +398 -0
  127. package/dist/revolugo.vcard.BkeYpsDj.min.js +313 -0
  128. package/dist/revolugo.vcheckboxbtn.B-9q-Vt_.min.js +478 -0
  129. package/dist/revolugo.vdialog.BtJzWlDm.min.js +133 -0
  130. package/dist/revolugo.vdivider.DjAkTZXY.min.js +77 -0
  131. package/dist/revolugo.vexpansionpanels.ChRz3Vw3.min.js +262 -0
  132. package/dist/revolugo.vform.BfCyAbBX.min.js +46 -0
  133. package/dist/revolugo.vicon.0J-whoPd.min.js +105 -0
  134. package/dist/revolugo.vinput.DruJiU7m.min.js +463 -0
  135. package/dist/revolugo.vlabel.DrAIoL0X.min.js +48 -0
  136. package/dist/revolugo.vlist.DSr8wDRX.min.js +1299 -0
  137. package/dist/revolugo.vmenu.DnNDzmnm.min.js +145 -0
  138. package/dist/revolugo.vselect.V-p2AqIC.min.js +660 -0
  139. package/dist/revolugo.vsheet.Bq0fXKd0.min.js +72 -0
  140. package/dist/revolugo.vskeletonloader.CGHKwSZc.min.js +136 -0
  141. package/dist/revolugo.vslidegroup.CfQX__qs.min.js +325 -0
  142. package/dist/revolugo.vsnackbar.Dv0mQ14N.min.js +198 -0
  143. package/dist/revolugo.vspacer.DqyaaVSV.min.js +7 -0
  144. package/dist/revolugo.vtextarea.CYUE9_OL.min.js +2092 -0
  145. package/dist/revolugo.vtextfield.DVdqMySD.min.js +501 -0
  146. package/dist/revolugo.vtoolbar.CvvYVWAF.min.js +180 -0
  147. package/dist/revolugo.vtooltip.Cc-DGbrS.min.js +89 -0
  148. package/dist/revolugo.vwindowitem._RpClcFn.min.js +317 -0
  149. package/dist/revolugo.watch-list.Bg0Ch7_v.min.js +16 -0
  150. package/dist/revolugo.webcomponentwrapper.BMVPGxCQ.min.js +2088 -0
  151. package/package.json +1 -1
  152. package/dist/revolugo.banktransferdetails.C9OqrvmN.min.js +0 -23
  153. package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +0 -23
  154. package/dist/revolugo.bookingmanager.BZERpaf3.min.js +0 -23
  155. package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +0 -23
  156. package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +0 -23
  157. package/dist/revolugo.creditcardform.D-8j5GCw.min.js +0 -23
  158. package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +0 -23
  159. package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +0 -23
  160. package/dist/revolugo.fastbookingflow.BoQVk0eU.min.js +0 -33
  161. package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +0 -23
  162. package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +0 -23
  163. package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +0 -23
  164. package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +0 -23
  165. package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +0 -18
  166. package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +0 -23
  167. package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +0 -23
  168. package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +0 -23
  169. package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +0 -23
  170. package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +0 -28
  171. package/dist/revolugo.prebookform.9dLTmLrv.min.js +0 -23
  172. package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +0 -23
  173. package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +0 -22
  174. package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +0 -60489
@@ -0,0 +1,24 @@
1
+ import { h as s, a as t } from "./revolugo.hoteloffersmap.CRI3Jttb.min.js";
2
+ import { W as a, _ as n } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
3
+ import { d as f, c, w as l, a as m, n as _, h as i, r as e, o as d } from "./revolugo.index.wc.C1h_M397.min.js";
4
+ const u = f({
5
+ components: {
6
+ HotelOffersMap: t,
7
+ WebComponentWrapper: a
8
+ },
9
+ props: s
10
+ });
11
+ function W(o, C, M, O, $, h) {
12
+ const r = e("HotelOffersMap", !0), p = e("WebComponentWrapper");
13
+ return d(), c(p, null, {
14
+ default: l(() => [
15
+ m(r, _(i(o.$props)), null, 16)
16
+ ]),
17
+ _: 1
18
+ });
19
+ }
20
+ const P = /* @__PURE__ */ n(u, [["render", W]]);
21
+ export {
22
+ P as default
23
+ };
24
+ //# sourceMappingURL=revolugo.hoteloffersmap.D_lQobL7.min.js.map
@@ -0,0 +1,614 @@
1
+ import { k 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, i as d, Z as F, p 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, f as w, t as b, J as A, C as be, D as T, K as U, e as $, o as l } from "./revolugo.index.wc.C1h_M397.min.js";
2
+ import { s as ge } from "./revolugo.dates.BZrB2-ya.min.js";
3
+ import { u as G } from "./revolugo.hotel-offer-request.D14Rm4x5.min.js";
4
+ import { a as ke, h as Me, H as Ee } from "./revolugo.hotelofferlist.BYkJEK3j.min.js";
5
+ import { H as _e, h as He, a as Re } from "./revolugo.hoteloffersmap.CRI3Jttb.min.js";
6
+ import { P as N } from "./revolugo.hoteldescriptionview.C_jOcLK_.min.js";
7
+ import { B as Le, V as ye, a as K, _ as Se } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
8
+ import { H as Ce } from "./revolugo.hoteloffersearchmenuui.C1nrtxip.min.js";
9
+ import { u as Ve, b as Ie } from "./revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js";
10
+ import { u as qe } from "./revolugo.use-breakpoint-service.BXTJsL7a.min.js";
11
+ import { u as xe } from "./revolugo.hotelroomofferlist.DdmwJDYN.min.js";
12
+ import { V as De } from "./revolugo.vcard.BkeYpsDj.min.js";
13
+ import { a as j } from "./revolugo.vbtn.1GlaUjid.min.js";
14
+ import { V as Te } from "./revolugo.index.Cgeh5pQG.min.js";
15
+ import { V as B } from "./revolugo.vicon.0J-whoPd.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.1h25yRqJ.min.js.map
@@ -0,0 +1,19 @@
1
+ import { h as o, a as r } from "./revolugo.hoteloffersview.1h25yRqJ.min.js";
2
+ import { W as a } from "./revolugo.webcomponentwrapper.BMVPGxCQ.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.C1h_M397.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.DzB-e4H1.min.js.map
@@ -0,0 +1,24 @@
1
+ import { h as s, H as n } from "./revolugo.hotelroomofferlist.DdmwJDYN.min.js";
2
+ import { W as p, _ as a } from "./revolugo.webcomponentwrapper.BMVPGxCQ.min.js";
3
+ import { d as f, c as m, w as c, a as i, n as l, h as _, r as o, o as d } from "./revolugo.index.wc.C1h_M397.min.js";
4
+ const u = f({
5
+ components: {
6
+ HotelRoomOfferList: n,
7
+ WebComponentWrapper: p
8
+ },
9
+ props: s
10
+ });
11
+ function R(e, W, C, H, L, O) {
12
+ const t = o("HotelRoomOfferList", !0), r = o("WebComponentWrapper");
13
+ return d(), m(r, null, {
14
+ default: c(() => [
15
+ i(t, l(_(e.$props)), null, 16)
16
+ ]),
17
+ _: 1
18
+ });
19
+ }
20
+ const x = /* @__PURE__ */ a(u, [["render", R]]);
21
+ export {
22
+ x as default
23
+ };
24
+ //# sourceMappingURL=revolugo.hotelroomofferlist.CDSzTTou.min.js.map