@revolugo/elements 6.8.3-rc.0 → 6.9.0-beta.0

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 (179) hide show
  1. package/README.md +1 -1
  2. package/dist/css/fonts.css +1 -1
  3. package/dist/css/revolugo.cancellationpoliciesbadge.BCmMv5CR.css +1 -0
  4. package/dist/css/revolugo.index.ClC0OVqq.css +5 -0
  5. package/dist/css/{revolugo.vtoolbar.BZert82L.css → revolugo.preferencesmenu.7UfG9ius.css} +1 -1
  6. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.C3K3E5wv.css} +2 -2
  7. package/dist/index.es.min.js +2033 -2172
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DIwmwiki.min.js +37 -0
  12. package/dist/revolugo.bookingdetailssidebar.CURYxT7w.min.js +38 -0
  13. package/dist/revolugo.bookingmanager.BgJVEAba.min.js +25 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.CxO1HyOA.min.js +25 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.D3C9w_OV.min.js +30875 -0
  16. package/dist/revolugo.cancellationpolicieslist.CClF7R0p.min.js +25 -0
  17. package/dist/revolugo.creditcardform.BLv484O_.min.js +25 -0
  18. package/dist/revolugo.creditcardpayment.BB0ucanh.min.js +25 -0
  19. package/dist/revolugo.currencypickerbtn.DMgpKcz0.min.js +25 -0
  20. package/dist/revolugo.fastbookingflow.D2tOZmpu.min.js +35 -0
  21. package/dist/revolugo.fullbookingflow.BIfijAae.min.js +25 -0
  22. package/dist/revolugo.hoteldescriptionview.C8P4XIvR.min.js +25 -0
  23. package/dist/revolugo.hotelofferlist.CXHGfElj.min.js +25 -0
  24. package/dist/revolugo.hoteloffersearchmenu.CcjkzhZJ.min.js +73 -0
  25. package/dist/revolugo.hoteloffersmap.BsVCYroc.min.js +25 -0
  26. package/dist/revolugo.hoteloffersview.B64f1wvS.min.js +20 -0
  27. package/dist/revolugo.hotelroomofferlist.CfDXaxwp.min.js +25 -0
  28. package/dist/revolugo.hotelroomoffersbookingflow.DH6meEzW.min.js +25 -0
  29. package/dist/revolugo.hotelroomoffersearchmenu.C6m4k_Rr.min.js +25 -0
  30. package/dist/revolugo.hotelroomoffersview.6hxfrH3M.min.js +25 -0
  31. package/dist/revolugo.index.UaUDIMS5.min.js +106 -0
  32. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DEo_xTvj.min.js} +12071 -12302
  33. package/dist/revolugo.langpickerbtn.B_B4BQwa.min.js +30 -0
  34. package/dist/revolugo.min.js +1 -1
  35. package/dist/revolugo.prebookform.Btuuk21Q.min.js +25 -0
  36. package/dist/revolugo.preferencesmenu.BDPlWGes.min.js +24 -0
  37. package/dist/revolugo.preferencesmenu.BVPHimYi.min.js +1098 -0
  38. package/dist/revolugo.roominglisteditor.B55oRlzf.min.js +25 -0
  39. package/dist/revolugo.storybooktoolbar.DFiFAYLL.min.js +846 -0
  40. package/dist/revolugo.termsandconditions.C2oiRbjY.min.js +24 -0
  41. package/dist/revolugo.webcomponentwrapper.CKFKL54u.min.js +28590 -0
  42. package/package.json +5 -5
  43. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  44. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  45. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  46. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  47. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  48. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  49. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  50. package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
  51. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  52. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  53. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  54. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  55. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  56. package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
  57. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  58. package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
  59. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  60. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  61. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  62. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  63. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  64. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  65. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  66. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  67. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  68. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  69. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  70. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  71. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  72. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  73. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  74. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  75. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  76. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  77. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  78. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  79. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  80. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  81. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  82. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  83. package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
  84. package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
  85. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  86. package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
  87. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  88. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  89. package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
  90. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  91. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  92. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  93. package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
  94. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  95. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  96. package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
  97. package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
  98. package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
  99. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  100. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
  101. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  102. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  103. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  104. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  105. package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
  106. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  107. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  108. package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
  109. package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
  110. package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
  111. package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
  112. package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
  113. package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
  114. package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
  115. package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
  116. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  117. package/dist/revolugo.fastbookingflow.ChNa4jgv.min.js +0 -34
  118. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  119. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  120. package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
  121. package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
  122. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  123. package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
  124. package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
  125. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  126. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  127. package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
  128. package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
  129. package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
  130. package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
  131. package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
  132. package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
  133. package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
  134. package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
  135. package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
  136. package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
  137. package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
  138. package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
  139. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  140. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  141. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  142. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  143. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  144. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  145. package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
  146. package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
  147. package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
  148. package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
  149. package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
  150. package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
  151. package/dist/revolugo.storybooktoolbar.DY_mbXuP.min.js +0 -882
  152. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  153. package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
  154. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  155. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  156. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  157. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  158. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  159. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  160. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  161. package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
  162. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  163. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  164. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  165. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  166. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  167. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  168. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  169. package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
  170. package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
  171. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  172. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  173. package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
  174. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  175. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  176. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  177. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  178. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  179. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,24 +0,0 @@
1
- import { h as s, b as t } from "./revolugo.hoteloffersmap.BRVm5s6N.min.js";
2
- import { W as a, _ as n } from "./revolugo.webcomponentwrapper.DFYGhYzz.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.7I5uexuc.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.DqKpfjbt.min.js.map
@@ -1,620 +0,0 @@
1
- import { L as Q, C as m, M as i, N as le, O as ne, P as ue, Q as fe, R as de, d as ce, u as me, S as he, U as A, D as S, V as pe, W as ve, i as c, A as U, J as o, c as M, w as r, F as E, g as _, a as d, X as Oe, q as we, G as be, E as ge, f as O, t as w, H as $, x as ke, y as T, I as N, e as K, o as l } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { s as Me, u as Ee } from "./revolugo.use-breakpoint-service.CJltQiSH.min.js";
3
- import { a as _e, h as Re, H as He } from "./revolugo.hotelofferlist.BVySEYbq.min.js";
4
- import { H as Le, a as ye, h as Ce, b as Ve } from "./revolugo.hoteloffersmap.BRVm5s6N.min.js";
5
- import { P as j } from "./revolugo.hoteldescriptionview.CbtxEPGG.min.js";
6
- import { B as Se, V as Ie, a as G, _ as qe } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
7
- import { B as xe } from "./revolugo.bhotelsearchbar.DxxqZWkN.min.js";
8
- import { u as De } from "./revolugo.bhoteloffersfilterbar.Bryijtf6.min.js";
9
- import { u as Be } from "./revolugo.hotelroomofferlist.M-3bowQa.min.js";
10
- import { V as Te } from "./revolugo.vcard.DNU4i52n.min.js";
11
- import { a as Y } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
12
- import { V as ze } from "./revolugo.position.hqKd4K_h.min.js";
13
- import { V as z } from "./revolugo.index.gIPq0z7C.min.js";
14
- function re(s) {
15
- try {
16
- if (typeof document < "u") {
17
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
18
- sheets: [],
19
- components: []
20
- };
21
- const e = import.meta.url, n = e.slice(0, e.lastIndexOf("/") + 1) + s;
22
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
23
- for (const t of REVOLUGO_ELEMENTS_STYLES.components)
24
- t(n);
25
- if (s.indexOf("fonts") >= 0) {
26
- const t = document.createElement("link");
27
- t.rel = "stylesheet", linK.href = n, document.head.appendChild(t);
28
- }
29
- }
30
- } catch (e) {
31
- console.error("[revolugo-elements] ", e);
32
- }
33
- }
34
- const Pe = {
35
- PreferencesMenu: !0,
36
- HotelOfferList: _e,
37
- HotelOffersMap: {
38
- ...Le,
39
- [ye.FiltersMenu]: !1
40
- }
41
- }, Fe = {
42
- ...Re,
43
- ...Ce,
44
- features: {
45
- default: () => Pe,
46
- type: [Object, String]
47
- },
48
- mapFirstOnMobile: {
49
- default: !1,
50
- type: Boolean
51
- }
52
- };
53
- function Ae(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 && fe(s.eventMetadata, e.eventMetadata);
55
- }
56
- function Ue(s) {
57
- const e = Q(), n = Me(
58
- s.checkInDate,
59
- s.checkOutDate
60
- ), t = m({
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
- }), b = m(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: b.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 g = le(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
- )) : (!Ae(
105
- t.value,
106
- e.$state
107
- ) || b.value !== t.value.address || !e.id) && await e.createHotelOfferRequest(
108
- t.value
109
- );
110
- }, 300);
111
- i(
112
- () => s.address,
113
- (a) => {
114
- t.value = {
115
- ...t.value,
116
- address: a,
117
- hotelOfferRequestId: void 0
118
- };
119
- }
120
- ), i(
121
- () => s.adultCount,
122
- (a) => {
123
- t.value = {
124
- ...t.value,
125
- adultCount: a || 0,
126
- hotelOfferRequestId: void 0
127
- };
128
- }
129
- ), i(
130
- () => s.checkInDate,
131
- (a) => {
132
- t.value = {
133
- ...t.value,
134
- checkInDate: a,
135
- hotelOfferRequestId: void 0
136
- };
137
- }
138
- ), i(
139
- () => s.checkOutDate,
140
- (a) => {
141
- t.value = {
142
- ...t.value,
143
- checkOutDate: a,
144
- hotelOfferRequestId: void 0
145
- };
146
- }
147
- ), i(
148
- () => s.children,
149
- (a) => {
150
- t.value = {
151
- ...t.value,
152
- children: a,
153
- hotelOfferRequestId: void 0
154
- };
155
- }
156
- ), i(
157
- () => s.hotelOfferRequestId,
158
- (a) => {
159
- a && (t.value = {
160
- ...t.value,
161
- hotelOfferRequestId: a
162
- });
163
- }
164
- ), i(
165
- () => s.latitude,
166
- (a) => {
167
- t.value = {
168
- ...t.value,
169
- hotelOfferRequestId: void 0,
170
- latitude: a || 0
171
- };
172
- }
173
- ), i(
174
- () => s.longitude,
175
- (a) => {
176
- t.value = {
177
- ...t.value,
178
- hotelOfferRequestId: void 0,
179
- longitude: a || 0
180
- };
181
- }
182
- ), i(
183
- () => s.roomCount,
184
- (a) => {
185
- t.value = {
186
- ...t.value,
187
- hotelOfferRequestId: void 0,
188
- roomCount: a || 0
189
- };
190
- }
191
- ), i(
192
- () => s.sourceMarket,
193
- (a) => {
194
- t.value = {
195
- ...t.value,
196
- hotelOfferRequestId: void 0,
197
- sourceMarket: a || ""
198
- };
199
- }
200
- ), i(
201
- t,
202
- () => {
203
- g();
204
- },
205
- { deep: !0, immediate: !0 }
206
- );
207
- const R = async () => {
208
- e.resetId(), await g();
209
- }, { config: I } = ne();
210
- i(
211
- () => I.value.eventMetadata,
212
- (a) => {
213
- t.value = {
214
- ...t.value,
215
- eventMetadata: a,
216
- hotelOfferRequestId: void 0
217
- };
218
- },
219
- { immediate: !0 }
220
- );
221
- const { bookingApiClient: H } = ue();
222
- return i(
223
- () => H.value,
224
- async () => {
225
- await de(async () => {
226
- await R();
227
- });
228
- },
229
- { immediate: !0 }
230
- ), {
231
- hotelOfferRequestInternal: t,
232
- inputAddress: b,
233
- onBookingApiClientChange: R,
234
- onHotelOfferRequestInternalChange: g
235
- };
236
- }
237
- const $e = { key: 0 }, Ne = { key: 1 }, Ke = {
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
- }, je = { class: "ml-2" }, Ge = { class: "ml-2" }, X = /* @__PURE__ */ ce({
243
- __name: "HotelOffersView",
244
- props: Fe,
245
- setup(s) {
246
- const e = s, { t: n } = me(), t = he(), b = Q(), { hotelOffers: g, isPolling: R } = A(t), { hasError: I, isFetching: H } = A(
247
- b
248
- ), a = m(null), {
249
- $breakpointService: L,
250
- $isCurrentBreakpointAboveOrEqual: y,
251
- $isCurrentBreakpointBelow: J,
252
- $isCurrentBreakpointBelowOrEqual: p
253
- } = Ee(a), q = m(""), x = m(void 0), h = m(
254
- p("sm") && e.mapFirstOnMobile || !1
255
- ), v = m(!1), C = m(void 0), P = m(null), Z = S(
256
- () => {
257
- var u;
258
- return H.value && v.value && y("sm") || R.value && (!!((u = g.value) != null && u.length) || h.value && p("sm"));
259
- }
260
- ), ee = S(() => I.value), te = (u) => {
261
- q.value = u.id;
262
- }, se = () => {
263
- q.value = "";
264
- }, { eventBus: ae } = be(), oe = () => {
265
- h.value = !h.value, ae.$emit(ge.HotelOffersViewShowMap, h.value);
266
- };
267
- pe(() => {
268
- var f;
269
- const u = (f = P.value) == null ? void 0 : f.$el;
270
- u && (C.value = new ResizeObserver((k) => {
271
- var F;
272
- const B = (F = k[0]) == null ? void 0 : F.contentRect;
273
- B && (x.value = B.height);
274
- }), C.value.observe(u));
275
- }), ve(() => {
276
- C.value && C.value.disconnect();
277
- });
278
- const ie = De(S(() => e.height)), V = Be({
279
- fallbackValue: {},
280
- prop: S(() => e.features)
281
- }), { hotelOfferRequestInternal: D } = Ue(e);
282
- return (u, f) => (l(), c("div", {
283
- class: "d-flex flex-column position-relative",
284
- ref_key: "root",
285
- ref: a,
286
- style: U({ height: o(ie) })
287
- }, [
288
- ee.value ? (l(), M(Se, { key: 0 }, {
289
- title: r(() => [
290
- O(w(o(n)("HotelOffersView.error.title")), 1)
291
- ]),
292
- description: r(() => [
293
- O(w(o(n)("HotelOffersView.error.description")), 1)
294
- ]),
295
- _: 1
296
- })) : (l(), c(E, { key: 1 }, [
297
- u.isBookingApiClientDefined ? (l(), M(xe, {
298
- key: 0,
299
- modelValue: o(D),
300
- "onUpdate:modelValue": f[0] || (f[0] = (k) => Oe(D) ? D.value = k : null),
301
- "is-fetching": o(H),
302
- "loading-bar-enabled": !1,
303
- "with-border": !1
304
- }, we({ _: 2 }, [
305
- o(y)("md") && o(V).PreferencesMenu ? {
306
- name: "after",
307
- fn: r(() => [
308
- d(j, {
309
- compact: o(J)("lg"),
310
- direction: "bottom"
311
- }, null, 8, ["compact"])
312
- ]),
313
- key: "0"
314
- } : void 0
315
- ]), 1032, ["modelValue", "is-fetching"])) : _("", !0),
316
- d(Te, {
317
- ref_key: "hotelOffersViewCard",
318
- ref: P,
319
- class: "mt-1 flex-grow-1 overflow-hidden",
320
- elevation: "0",
321
- tile: ""
322
- }, {
323
- default: r(() => [
324
- Z.value ? (l(), M(ze, {
325
- key: 0,
326
- absolute: "",
327
- indeterminate: "",
328
- color: "primary",
329
- style: { "z-index": "2" }
330
- })) : _("", !0),
331
- d(Ie, { "no-gutters": "" }, {
332
- default: r(() => [
333
- d(G, {
334
- class: ke(h.value ? "d-none d-md-block" : "d-block"),
335
- cols: "12",
336
- lg: "6",
337
- md: "7",
338
- style: U({
339
- maxWidth: o(p)("sm") ? "100%" : v.value ? "0" : "520px"
340
- }),
341
- xl: "5"
342
- }, {
343
- default: r(() => [
344
- d(He, T({ ...u.$props, height: x.value }, {
345
- features: o(V).HotelOfferList,
346
- "loading-bar-enabled": !1,
347
- onHotelOfferItemMouseleave: se,
348
- onHotelOfferItemMouseover: te,
349
- "max-height": "none"
350
- }), null, 16, ["features"])
351
- ]),
352
- _: 1
353
- }, 8, ["class", "style"]),
354
- $(d(G, null, {
355
- default: r(() => [
356
- d(Ve, T({ ...u.$props, height: x.value }, {
357
- features: o(V).HotelOffersMap,
358
- "hovered-hotel": q.value,
359
- "loading-bar-enabled": !1,
360
- "max-height": "none"
361
- }), {
362
- bottomleft: r(({ props: k }) => [
363
- $(d(Y, T({
364
- block: "",
365
- class: "px-2",
366
- color: "grey-darken-3",
367
- size: "small",
368
- style: { width: "30px" }
369
- }, k, {
370
- onClick: f[1] || (f[1] = (B) => v.value = !v.value)
371
- }), {
372
- default: r(() => [
373
- d(z, { color: "white" }, {
374
- default: r(() => [
375
- v.value ? (l(), c(E, { key: 1 }, [
376
- O(" fa fas fa-minimize ")
377
- ], 64)) : (l(), c(E, { key: 0 }, [
378
- O(" fas fa-expand ")
379
- ], 64))
380
- ]),
381
- _: 1
382
- })
383
- ]),
384
- _: 2
385
- }, 1040), [
386
- [N, o(y)("md")]
387
- ])
388
- ]),
389
- "bottomleft-tooltip-text": r(() => [
390
- v.value ? (l(), c("span", Ne, w(o(n)("HotelOffersView.map.minimize")), 1)) : (l(), c("span", $e, w(o(n)("HotelOffersView.map.expand")), 1))
391
- ]),
392
- _: 1
393
- }, 16, ["features", "hovered-hotel"])
394
- ]),
395
- _: 1
396
- }, 512), [
397
- [N, h.value || o(y)("sm")]
398
- ])
399
- ]),
400
- _: 1
401
- })
402
- ]),
403
- _: 1
404
- }, 512),
405
- o(p)("sm") || o(V).PreferencesMenu && o(p)("sm") ? (l(), c("div", Ke, [
406
- o(p)("sm") ? (l(), M(Y, {
407
- key: 0,
408
- size: "small",
409
- class: "text-white",
410
- color: "grey-darken-3",
411
- onClick: oe
412
- }, {
413
- default: r(() => [
414
- h.value ? (l(), c(E, { key: 1 }, [
415
- h.value ? (l(), M(z, { key: 0 }, {
416
- default: r(() => f[3] || (f[3] = [
417
- O(" fas fa-solid fa-list ")
418
- ])),
419
- _: 1,
420
- __: [3]
421
- })) : _("", !0),
422
- K("small", Ge, w(o(n)(
423
- `HotelOffersView.actions.${o(L).width && o(L).width < 350 ? "responsive" : "regular"}.showList`
424
- )), 1)
425
- ], 64)) : (l(), c(E, { key: 0 }, [
426
- d(z, null, {
427
- default: r(() => f[2] || (f[2] = [
428
- O(" fas fa-solid fa-map ")
429
- ])),
430
- _: 1,
431
- __: [2]
432
- }),
433
- K("small", je, w(o(n)(
434
- `HotelOffersView.actions.${o(L).width && o(L).width < 350 ? "responsive" : "regular"}.showMap`
435
- )), 1)
436
- ], 64))
437
- ]),
438
- _: 1
439
- })) : _("", !0),
440
- d(j, {
441
- class: "ml-2",
442
- color: "grey-darken-3",
443
- direction: "top"
444
- })
445
- ])) : _("", !0)
446
- ], 64))
447
- ], 4));
448
- }
449
- });
450
- function W(s) {
451
- const e = s;
452
- e.__i18n = e.__i18n || [], e.__i18n.push({
453
- locale: "",
454
- resource: {
455
- "en-US": {
456
- HotelOffersView: {
457
- actions: {
458
- regular: {
459
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show map" } },
460
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show list" } }
461
- },
462
- responsive: {
463
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Map" } },
464
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "List" } }
465
- }
466
- },
467
- error: {
468
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Something went wrong..." } },
469
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please try again later" } }
470
- },
471
- map: {
472
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expand map" } },
473
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimize map" } }
474
- }
475
- }
476
- },
477
- "fr-FR": {
478
- HotelOffersView: {
479
- actions: {
480
- regular: {
481
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher la carte" } },
482
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher la liste" } }
483
- },
484
- responsive: {
485
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Carte" } },
486
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste" } }
487
- }
488
- },
489
- error: {
490
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Il y a eu un problème..." } },
491
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réessayez plus tard" } }
492
- },
493
- map: {
494
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Agrandir la carte" } },
495
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réduire la carte" } }
496
- }
497
- }
498
- },
499
- "de-DE": {
500
- HotelOffersView: {
501
- actions: {
502
- regular: {
503
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte anzeigen" } },
504
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste anzeigen" } }
505
- },
506
- responsive: {
507
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte" } },
508
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Liste" } }
509
- }
510
- },
511
- error: {
512
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Etwas ist schief gelaufen..." } },
513
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte versuche es später noch einmal" } }
514
- },
515
- map: {
516
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte erweitern" } },
517
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Karte minimieren" } }
518
- }
519
- }
520
- },
521
- "es-ES": {
522
- HotelOffersView: {
523
- actions: {
524
- regular: {
525
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar mapa" } },
526
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar lista" } }
527
- },
528
- responsive: {
529
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mapa" } },
530
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista" } }
531
- }
532
- },
533
- error: {
534
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo salió mal..." } },
535
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, inténtalo de nuevo más tarde" } }
536
- },
537
- map: {
538
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expandir mapa" } },
539
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimizar mapa" } }
540
- }
541
- }
542
- },
543
- "it-IT": {
544
- HotelOffersView: {
545
- actions: {
546
- regular: {
547
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra mappa" } },
548
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra elenco" } }
549
- },
550
- responsive: {
551
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mappa" } },
552
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Elenco" } }
553
- }
554
- },
555
- error: {
556
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qualcosa è andato storto..." } },
557
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Riprova più tardi" } }
558
- },
559
- map: {
560
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Espandi mappa" } },
561
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Riduci mappa" } }
562
- }
563
- }
564
- },
565
- "nl-NL": {
566
- HotelOffersView: {
567
- actions: {
568
- regular: {
569
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon kaart" } },
570
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon lijst" } }
571
- },
572
- responsive: {
573
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart" } },
574
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lijst" } }
575
- }
576
- },
577
- error: {
578
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Er is iets misgegaan..." } },
579
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Probeer het later opnieuw" } }
580
- },
581
- map: {
582
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart uitvouwen" } },
583
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kaart minimaliseren" } }
584
- }
585
- }
586
- },
587
- "pt-PT": {
588
- HotelOffersView: {
589
- actions: {
590
- regular: {
591
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar mapa" } },
592
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar lista" } }
593
- },
594
- responsive: {
595
- showMap: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mapa" } },
596
- showList: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista" } }
597
- }
598
- },
599
- error: {
600
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Algo correu mal..." } },
601
- description: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, tente novamente mais tarde" } }
602
- },
603
- map: {
604
- expand: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Expandir mapa" } },
605
- minimize: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Minimizar mapa" } }
606
- }
607
- }
608
- }
609
- }
610
- });
611
- }
612
- typeof W == "function" && W(X);
613
- const lt = /* @__PURE__ */ qe(X, [["__scopeId", "data-v-4302b2cc"]]);
614
- re("css/revolugo.hoteloffersview.Bo2dQWYt.css");
615
- export {
616
- Pe as H,
617
- lt as a,
618
- Fe as h
619
- };
620
- //# sourceMappingURL=revolugo.hoteloffersview.3LJ-m6BY.min.js.map
@@ -1,19 +0,0 @@
1
- import { h as o, a as r } from "./revolugo.hoteloffersview.3LJ-m6BY.min.js";
2
- import { W as a } from "./revolugo.webcomponentwrapper.DFYGhYzz.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.7I5uexuc.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.DsGyT5s7.min.js.map
@@ -1,24 +0,0 @@
1
- import { h as s, H as n } from "./revolugo.hotelroomofferlist.M-3bowQa.min.js";
2
- import { W as p, _ as a } from "./revolugo.webcomponentwrapper.DFYGhYzz.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.7I5uexuc.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.DdMr5qEZ.min.js.map