@revolugo/elements 6.8.3-beta.2 → 6.8.3-beta.21

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 (182) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.BF6W5Rkn.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CLc1qFgq.css} +1 -1
  4. package/dist/index.es.min.js +1 -0
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/revolugo.banktransferdetails.BySITPec.min.js +36 -0
  9. package/dist/revolugo.bookingdetailssidebar.BYzRYS22.min.js +37 -0
  10. package/dist/revolugo.bookingmanager.nw9gGNh_.min.js +24 -0
  11. package/dist/revolugo.cancellationpoliciesbadge.BeG993YZ.min.js +24 -0
  12. package/dist/revolugo.cancellationpoliciesbadge.props.Dr18g1D_.min.js +31886 -0
  13. package/dist/revolugo.cancellationpolicieslist.Ds8oi3Ea.min.js +24 -0
  14. package/dist/revolugo.creditcardform.By79p0Bj.min.js +24 -0
  15. package/dist/revolugo.creditcardpayment.DvO9zT4V.min.js +24 -0
  16. package/dist/revolugo.currencypickerbtn.CLC1mWT8.min.js +24 -0
  17. package/dist/revolugo.fastbookingflow.Di2jU8_z.min.js +34 -0
  18. package/dist/revolugo.fullbookingflow.DCtMc-R_.min.js +24 -0
  19. package/dist/revolugo.hoteldescriptionview.BjSUnjIh.min.js +24 -0
  20. package/dist/revolugo.hotelofferlist.DAIv1qMO.min.js +24 -0
  21. package/dist/revolugo.hoteloffersearchmenu.wFDKLBxy.min.js +71 -0
  22. package/dist/revolugo.hoteloffersmap.BKHy0T4U.min.js +24 -0
  23. package/dist/revolugo.hoteloffersview.V2L1odGh.min.js +19 -0
  24. package/dist/revolugo.hotelroomofferlist.Kxi2PaU-.min.js +24 -0
  25. package/dist/revolugo.hotelroomoffersbookingflow.DVwHWQoy.min.js +24 -0
  26. package/dist/revolugo.hotelroomoffersearchmenu.CzlGeOLh.min.js +24 -0
  27. package/dist/revolugo.hotelroomoffersview.b_5VDEUw.min.js +24 -0
  28. package/dist/{revolugo.index.wc.C1h_M397.min.js → revolugo.index.wc.CH4CMunP.min.js} +5866 -5933
  29. package/dist/revolugo.langpickerbtn.DMvledll.min.js +29 -0
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/revolugo.prebookform.Ct2YhDa5.min.js +24 -0
  32. package/dist/revolugo.roominglisteditor.BAH1K08N.min.js +24 -0
  33. package/dist/revolugo.storybooktoolbar.DRJbNUi1.min.js +845 -0
  34. package/dist/revolugo.termsandconditions.D7d-mv52.min.js +23 -0
  35. package/dist/revolugo.webcomponentwrapper.umNfPHAE.min.js +28713 -0
  36. package/package.json +2 -2
  37. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  38. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +0 -1
  39. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  40. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  41. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  42. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  43. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  44. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  45. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  46. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  47. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  48. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  49. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  50. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  51. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  52. package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +0 -1
  53. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  54. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
  55. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  56. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  57. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  58. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  59. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  60. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  61. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  62. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  63. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  64. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  65. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  66. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  67. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  68. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  69. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  70. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  71. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  72. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  73. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  74. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  75. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  76. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  77. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  78. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  79. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  80. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  81. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  82. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  83. package/dist/revolugo._baseiteratee.Dil0w9e0.min.js +0 -247
  84. package/dist/revolugo.banktransferdetails.DiwVMsA1.min.js +0 -373
  85. package/dist/revolugo.bdaterangepicker.DDEGZVT0.min.js +0 -8324
  86. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CPnoXVaZ.min.js +0 -143
  87. package/dist/revolugo.bhoteloffersfilterbar.B_hcAZxX.min.js +0 -4896
  88. package/dist/revolugo.bhotelroomsdetails.DDHY2lbs.min.js +0 -965
  89. package/dist/revolugo.bimagecarousel.DpROkQNr.min.js +0 -566
  90. package/dist/revolugo.bookingdetailssidebar.5S5oPc1U.min.js +0 -24
  91. package/dist/revolugo.bookingdetailssidebar.l8IDCkox.min.js +0 -866
  92. package/dist/revolugo.bookingmanager.-BQEM4EN.min.js +0 -1755
  93. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BzDggP5H.min.js +0 -91
  94. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CQgG-2B5.min.js +0 -604
  95. package/dist/revolugo.btag.yxmSLIpZ.min.js +0 -375
  96. package/dist/revolugo.cancellationpoliciesbadge.3dDx89si.min.js +0 -28
  97. package/dist/revolugo.cancellationpoliciesbadge.Bu_3zPF6.min.js +0 -198
  98. package/dist/revolugo.cancellationpolicieslist.D558ZjJj.min.js +0 -25
  99. package/dist/revolugo.cancellationpolicieslist.EOsSrPjA.min.js +0 -148
  100. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  101. package/dist/revolugo.case-transformers.DGnXS0Cp.min.js +0 -123
  102. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  103. package/dist/revolugo.creditcardform.DZXQZuRo.min.js +0 -2148
  104. package/dist/revolugo.creditcardform.DkLcGTUe.min.js +0 -24
  105. package/dist/revolugo.creditcardpayment.BCKTbLQO.min.js +0 -24
  106. package/dist/revolugo.creditcardpayment.DS5TEf7I.min.js +0 -885
  107. package/dist/revolugo.currencypicker.DzOZVdqj.min.js +0 -330
  108. package/dist/revolugo.currencypickerbtn.BFa4yMym.min.js +0 -24
  109. package/dist/revolugo.currencypickerbtn.XX3uUfVo.min.js +0 -157
  110. package/dist/revolugo.dates.BZrB2-ya.min.js +0 -31
  111. package/dist/revolugo.defaultsdeep.DkkJx-tU.min.js +0 -104
  112. package/dist/revolugo.dialog-attach.Cr22Se10.min.js +0 -27
  113. package/dist/revolugo.dialog-transition.D5NECTJF.min.js +0 -111
  114. package/dist/revolugo.fastbookingflow.BzBjZ3LE.min.js +0 -34
  115. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  116. package/dist/revolugo.fullbookingflow.DdY_jXGE.min.js +0 -429
  117. package/dist/revolugo.hotel-offer-request.D14Rm4x5.min.js +0 -98
  118. package/dist/revolugo.hoteldescriptionview.BgYZ2vmV.min.js +0 -24
  119. package/dist/revolugo.hoteldescriptionview.C_jOcLK_.min.js +0 -2955
  120. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B7oYjB-Q.min.js +0 -241
  121. package/dist/revolugo.hotelofferlist.BYkJEK3j.min.js +0 -5639
  122. package/dist/revolugo.hotelofferlist.Dko1gIDn.min.js +0 -24
  123. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  124. package/dist/revolugo.hoteloffersearchmenu.B8ncJahc.min.js +0 -202
  125. package/dist/revolugo.hoteloffersearchmenuui.C1nrtxip.min.js +0 -829
  126. package/dist/revolugo.hoteloffersmap.CRI3Jttb.min.js +0 -8329
  127. package/dist/revolugo.hoteloffersmap.D_lQobL7.min.js +0 -24
  128. package/dist/revolugo.hoteloffersview.1h25yRqJ.min.js +0 -614
  129. package/dist/revolugo.hoteloffersview.DzB-e4H1.min.js +0 -19
  130. package/dist/revolugo.hotelroomofferlist.CDSzTTou.min.js +0 -24
  131. package/dist/revolugo.hotelroomofferlist.DdmwJDYN.min.js +0 -2811
  132. package/dist/revolugo.hotelroomofferrequestcreator.props.C_frxq0W.min.js +0 -171
  133. package/dist/revolugo.hotelroomoffersbookingflow.76yvftsv.min.js +0 -1281
  134. package/dist/revolugo.hotelroomoffersearchmenu.BJTJFnmG.min.js +0 -25
  135. package/dist/revolugo.hotelroomoffersearchmenu.D6Vyfjfp.min.js +0 -231
  136. package/dist/revolugo.hotelroomoffersview.CkGUZ5LE.min.js +0 -290
  137. package/dist/revolugo.hotelroomoffersview.CrexMnSs.min.js +0 -24
  138. package/dist/revolugo.index.3XJPtYDq.min.js +0 -67
  139. package/dist/revolugo.index.Cgeh5pQG.min.js +0 -1232
  140. package/dist/revolugo.langpicker.BEu5Dcmi.min.js +0 -99
  141. package/dist/revolugo.langpickerbtn.CIldopN_.min.js +0 -131
  142. package/dist/revolugo.langpickerbtn.PS3df2DW.min.js +0 -29
  143. package/dist/revolugo.pathify.DvfN0v8G.min.js +0 -36
  144. package/dist/revolugo.prebookform.CQkoP-VV.min.js +0 -1527
  145. package/dist/revolugo.prebookform.CV1s2FGH.min.js +0 -24
  146. package/dist/revolugo.roominglisteditor.8ernakg_.min.js +0 -385
  147. package/dist/revolugo.roominglisteditor.DxJ2OBqY.min.js +0 -24
  148. package/dist/revolugo.rounded.BOHYNseH.min.js +0 -68
  149. package/dist/revolugo.ssrboot.DElAuRmu.min.js +0 -18
  150. package/dist/revolugo.storybooktoolbar.CHfZ7EvT.min.js +0 -881
  151. package/dist/revolugo.termsandconditions.BvRlB7pE.min.js +0 -405
  152. package/dist/revolugo.termsandconditions.r61WJG2h.min.js +0 -23
  153. package/dist/revolugo.use-breakpoint-service.BXTJsL7a.min.js +0 -39
  154. package/dist/revolugo.use-dialog-attach._Ffb31mm.min.js +0 -16
  155. package/dist/revolugo.use-html-element.DTDLV1SN.min.js +0 -11
  156. package/dist/revolugo.vautocomplete.CQYvC8_q.min.js +0 -445
  157. package/dist/revolugo.vbadge.Dqf0g4rP.min.js +0 -112
  158. package/dist/revolugo.vbtn.1GlaUjid.min.js +0 -398
  159. package/dist/revolugo.vcard.BkeYpsDj.min.js +0 -313
  160. package/dist/revolugo.vcheckboxbtn.B-9q-Vt_.min.js +0 -478
  161. package/dist/revolugo.vdialog.BtJzWlDm.min.js +0 -133
  162. package/dist/revolugo.vdivider.DjAkTZXY.min.js +0 -77
  163. package/dist/revolugo.vexpansionpanels.ChRz3Vw3.min.js +0 -262
  164. package/dist/revolugo.vform.BfCyAbBX.min.js +0 -46
  165. package/dist/revolugo.vicon.0J-whoPd.min.js +0 -105
  166. package/dist/revolugo.vinput.DruJiU7m.min.js +0 -463
  167. package/dist/revolugo.vlabel.DrAIoL0X.min.js +0 -48
  168. package/dist/revolugo.vlist.DSr8wDRX.min.js +0 -1299
  169. package/dist/revolugo.vmenu.DnNDzmnm.min.js +0 -145
  170. package/dist/revolugo.vselect.V-p2AqIC.min.js +0 -660
  171. package/dist/revolugo.vsheet.Bq0fXKd0.min.js +0 -72
  172. package/dist/revolugo.vskeletonloader.CGHKwSZc.min.js +0 -136
  173. package/dist/revolugo.vslidegroup.CfQX__qs.min.js +0 -325
  174. package/dist/revolugo.vsnackbar.Dv0mQ14N.min.js +0 -198
  175. package/dist/revolugo.vspacer.DqyaaVSV.min.js +0 -7
  176. package/dist/revolugo.vtextarea.CYUE9_OL.min.js +0 -2092
  177. package/dist/revolugo.vtextfield.DVdqMySD.min.js +0 -501
  178. package/dist/revolugo.vtoolbar.CvvYVWAF.min.js +0 -180
  179. package/dist/revolugo.vtooltip.Cc-DGbrS.min.js +0 -89
  180. package/dist/revolugo.vwindowitem._RpClcFn.min.js +0 -317
  181. package/dist/revolugo.watch-list.Bg0Ch7_v.min.js +0 -16
  182. package/dist/revolugo.webcomponentwrapper.BMVPGxCQ.min.js +0 -2088
@@ -1,24 +0,0 @@
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
@@ -1,614 +0,0 @@
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
@@ -1,19 +0,0 @@
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
@@ -1,24 +0,0 @@
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