@revolugo/elements 6.9.3-beta.9 → 6.9.4-rc.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 (190) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.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.Cp4sLBjD.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.fullbookingflow.Bm8JAQF7.css +1 -0
  13. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
  14. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
  15. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  16. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
  17. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
  18. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
  19. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
  20. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  21. package/dist/css/revolugo.index.XNPQF1ia.css +5 -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.preferencesmenu.fPv_7j-1.css +1 -0
  25. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  26. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
  27. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  28. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  29. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  30. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  31. package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
  32. package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
  33. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
  34. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  35. package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
  36. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
  37. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  38. package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
  39. package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
  40. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
  41. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
  42. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
  43. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
  44. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
  45. package/dist/css/revolugo.vtextfield.BIH_AWWP.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.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
  49. package/dist/index.es.min.js +1518 -1275
  50. package/dist/index.es.min.js.map +1 -1
  51. package/dist/index.min.js +5 -5
  52. package/dist/index.min.js.map +1 -1
  53. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +247 -0
  54. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
  55. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
  56. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
  57. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
  58. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
  59. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
  60. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
  61. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
  62. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
  63. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
  64. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
  65. package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
  66. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
  67. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
  68. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
  69. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
  70. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  71. package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
  72. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  73. package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
  74. package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
  75. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
  76. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
  77. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
  78. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
  79. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
  80. package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
  81. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
  82. package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
  83. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
  84. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
  85. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  86. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
  87. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
  88. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
  89. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
  90. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
  91. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
  92. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
  93. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  94. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
  95. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
  96. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
  97. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
  98. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
  99. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
  100. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
  101. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
  102. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
  103. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
  104. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
  105. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
  106. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
  107. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
  108. package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
  109. package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
  110. package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
  111. package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
  112. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
  113. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
  114. package/dist/revolugo.min.js +1 -1
  115. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
  116. package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
  117. package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
  118. package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
  119. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
  120. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
  121. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
  122. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
  123. package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
  124. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
  125. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
  126. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
  127. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
  128. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
  129. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
  130. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
  131. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
  132. package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
  133. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
  134. package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
  135. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
  136. package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
  137. package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
  138. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
  139. package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
  140. package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
  141. package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
  142. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
  143. package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
  144. package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
  145. package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
  146. package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
  147. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
  148. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
  149. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
  150. package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
  151. package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
  152. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
  153. package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
  154. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
  155. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
  156. package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
  157. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
  158. package/package.json +5 -5
  159. package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
  160. package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
  161. package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
  162. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
  163. package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
  164. package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
  165. package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
  166. package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
  167. package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
  168. package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
  169. package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
  170. package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
  171. package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
  172. package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
  173. package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
  174. package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
  175. package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
  176. package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
  177. package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
  178. package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
  179. package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
  180. package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
  181. package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
  182. package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
  183. package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
  184. package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
  185. package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
  186. package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
  187. package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
  188. package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
  189. package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
  190. package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -0,0 +1,111 @@
1
+ import { a1 as A, a2 as T, a as d, D as V, aX as y } from "./revolugo.index.wc.DLkeXtka.min.js";
2
+ import { q as f, G as b, s as u, H as q, I as B, J as D } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
3
+ const F = T({
4
+ target: [Object, Array]
5
+ }, "v-dialog-transition"), L = A()({
6
+ name: "VDialogTransition",
7
+ props: F(),
8
+ setup(c, o) {
9
+ let {
10
+ slots: e
11
+ } = o;
12
+ const i = {
13
+ onBeforeEnter(t) {
14
+ t.style.pointerEvents = "none", t.style.visibility = "hidden";
15
+ },
16
+ async onEnter(t, l) {
17
+ await new Promise((n) => requestAnimationFrame(n)), await new Promise((n) => requestAnimationFrame(n)), t.style.visibility = "";
18
+ const {
19
+ x: s,
20
+ y: a,
21
+ sx: g,
22
+ sy: p,
23
+ speed: r
24
+ } = x(c.target, t), m = f(t, [{
25
+ transform: `translate(${s}px, ${a}px) scale(${g}, ${p})`,
26
+ opacity: 0
27
+ }, {}], {
28
+ duration: 225 * r,
29
+ easing: q
30
+ });
31
+ v(t)?.forEach((n) => {
32
+ f(n, [{
33
+ opacity: 0
34
+ }, {
35
+ opacity: 0,
36
+ offset: 0.33
37
+ }, {}], {
38
+ duration: 450 * r,
39
+ easing: u
40
+ });
41
+ }), m.finished.then(() => l());
42
+ },
43
+ onAfterEnter(t) {
44
+ t.style.removeProperty("pointer-events");
45
+ },
46
+ onBeforeLeave(t) {
47
+ t.style.pointerEvents = "none";
48
+ },
49
+ async onLeave(t, l) {
50
+ await new Promise((n) => requestAnimationFrame(n));
51
+ const {
52
+ x: s,
53
+ y: a,
54
+ sx: g,
55
+ sy: p,
56
+ speed: r
57
+ } = x(c.target, t);
58
+ f(t, [{}, {
59
+ transform: `translate(${s}px, ${a}px) scale(${g}, ${p})`,
60
+ opacity: 0
61
+ }], {
62
+ duration: 125 * r,
63
+ easing: b
64
+ }).finished.then(() => l()), v(t)?.forEach((n) => {
65
+ f(n, [{}, {
66
+ opacity: 0,
67
+ offset: 0.2
68
+ }, {
69
+ opacity: 0
70
+ }], {
71
+ duration: 250 * r,
72
+ easing: u
73
+ });
74
+ });
75
+ },
76
+ onAfterLeave(t) {
77
+ t.style.removeProperty("pointer-events");
78
+ }
79
+ };
80
+ return () => c.target ? d(y, V({
81
+ name: "dialog-transition"
82
+ }, i, {
83
+ css: !1
84
+ }), e) : d(y, {
85
+ name: "dialog-transition"
86
+ }, e);
87
+ }
88
+ });
89
+ function v(c) {
90
+ const o = c.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;
91
+ return o && [...o];
92
+ }
93
+ function x(c, o) {
94
+ const e = B(c), i = D(o), [t, l] = getComputedStyle(o).transformOrigin.split(" ").map(($) => parseFloat($)), [s, a] = getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");
95
+ let g = e.left + e.width / 2;
96
+ s === "left" || a === "left" ? g -= e.width / 2 : (s === "right" || a === "right") && (g += e.width / 2);
97
+ let p = e.top + e.height / 2;
98
+ s === "top" || a === "top" ? p -= e.height / 2 : (s === "bottom" || a === "bottom") && (p += e.height / 2);
99
+ const r = e.width / i.width, m = e.height / i.height, n = Math.max(1, r, m), w = r / n || 0, E = m / n || 0, h = i.width * i.height / (window.innerWidth * window.innerHeight), P = h > 0.12 ? Math.min(1.5, (h - 0.12) * 10 + 1) : 1;
100
+ return {
101
+ x: g - (t + i.left),
102
+ y: p - (l + i.top),
103
+ sx: w,
104
+ sy: E,
105
+ speed: P
106
+ };
107
+ }
108
+ export {
109
+ L as V
110
+ };
111
+ //# sourceMappingURL=revolugo.dialog-transition.Dly9KKqO.min.js.map
@@ -0,0 +1,34 @@
1
+ import { h as s, H as n } from "./revolugo.hotelofferlist.D2AXSf4v.min.js";
2
+ import { W as a, _ as p } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
3
+ import { d as f, c as i, w as l, a as m, D as c, r as e, o as u } from "./revolugo.index.wc.DLkeXtka.min.js";
4
+ const _ = f({
5
+ components: {
6
+ HotelOfferList: n,
7
+ WebComponentWrapper: a
8
+ },
9
+ props: s
10
+ });
11
+ function d(o, H, O, C, W, h) {
12
+ const t = e("HotelOfferList"), r = e("WebComponentWrapper");
13
+ return u(), i(r, null, {
14
+ default: l(() => [
15
+ m(t, c(o.$props, { features: {
16
+ HotelOfferSearchMenu: !0,
17
+ FiltersBar: !0,
18
+ TermsAndConditionsFooter: !0,
19
+ HotelOfferItem: {
20
+ HotelDescriptionViewDialog: !1,
21
+ HotelRoomOfferList: !0,
22
+ HotelRoomOffersViewDialog: !0,
23
+ RoomsDetails: !0
24
+ }
25
+ } }), null, 16)
26
+ ]),
27
+ _: 1
28
+ });
29
+ }
30
+ const $ = /* @__PURE__ */ p(_, [["render", d]]);
31
+ export {
32
+ $ as default
33
+ };
34
+ //# sourceMappingURL=revolugo.fastbookingflow.DPOX_gos.min.js.map
@@ -0,0 +1,70 @@
1
+ const a = Symbol("Forwarded refs");
2
+ function h(i, o) {
3
+ let f = i;
4
+ for (; f; ) {
5
+ const n = Reflect.getOwnPropertyDescriptor(f, o);
6
+ if (n) return n;
7
+ f = Object.getPrototypeOf(f);
8
+ }
9
+ }
10
+ function d(i) {
11
+ for (var o = arguments.length, f = new Array(o > 1 ? o - 1 : 0), n = 1; n < o; n++)
12
+ f[n - 1] = arguments[n];
13
+ return i[a] = f, new Proxy(i, {
14
+ get(s, t) {
15
+ if (Reflect.has(s, t))
16
+ return Reflect.get(s, t);
17
+ if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
18
+ for (const r of f)
19
+ if (r.value && Reflect.has(r.value, t)) {
20
+ const e = Reflect.get(r.value, t);
21
+ return typeof e == "function" ? e.bind(r.value) : e;
22
+ }
23
+ }
24
+ },
25
+ has(s, t) {
26
+ if (Reflect.has(s, t))
27
+ return !0;
28
+ if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
29
+ for (const r of f)
30
+ if (r.value && Reflect.has(r.value, t))
31
+ return !0;
32
+ return !1;
33
+ },
34
+ set(s, t, r) {
35
+ if (Reflect.has(s, t))
36
+ return Reflect.set(s, t, r);
37
+ if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
38
+ for (const e of f)
39
+ if (e.value && Reflect.has(e.value, t))
40
+ return Reflect.set(e.value, t, r);
41
+ return !1;
42
+ },
43
+ getOwnPropertyDescriptor(s, t) {
44
+ const r = Reflect.getOwnPropertyDescriptor(s, t);
45
+ if (r) return r;
46
+ if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
47
+ for (const e of f) {
48
+ if (!e.value) continue;
49
+ const u = h(e.value, t) ?? ("_" in e.value ? h(e.value._?.setupState, t) : void 0);
50
+ if (u) return u;
51
+ }
52
+ for (const e of f) {
53
+ const u = e.value && e.value[a];
54
+ if (!u) continue;
55
+ const c = u.slice();
56
+ for (; c.length; ) {
57
+ const l = c.shift(), p = h(l.value, t);
58
+ if (p) return p;
59
+ const v = l.value && l.value[a];
60
+ v && c.push(...v);
61
+ }
62
+ }
63
+ }
64
+ }
65
+ });
66
+ }
67
+ export {
68
+ d as f
69
+ };
70
+ //# sourceMappingURL=revolugo.forwardrefs.VVhh1qV3.min.js.map
@@ -0,0 +1,429 @@
1
+ import { P as ne, p as le, a as re } from "./revolugo.prebookform.BMEaruyl.min.js";
2
+ import { H as se, h as ie, a as ue } from "./revolugo.hoteloffersview.CIVNGmGO.min.js";
3
+ import { a as ce, C as fe } from "./revolugo.creditcardpayment.CkfC2xTo.min.js";
4
+ import { H as A, a as S } from "./revolugo.bhoteloffersfilterbar.riRikxpD.min.js";
5
+ import { H as me } from "./revolugo.hoteloffersmap.C6nn7LXn.min.js";
6
+ import { m as I } from "./revolugo.hoteldescriptionview.kERJQPWm.min.js";
7
+ import { G as de, d as N, m as pe, u as Y, l as ke, k as f, i as G, a as n, p as b, w as a, j as T, o as k, f as w, t as V, H as E, I as be, E as F, J as ve, c as B, K as _e, D as H, g as Ce, n as Ee, h as Fe, r as $ } from "./revolugo.index.wc.DLkeXtka.min.js";
8
+ import { u as ge } from "./revolugo.use-dialog-attach.DLdl8iIG.min.js";
9
+ import { V as Se } from "./revolugo.vdialog.DlAgRbIv.min.js";
10
+ import { V as Be, a as we, b as Pe } from "./revolugo.vcard.ZlYB5HOk.min.js";
11
+ import { V as Ve } from "./revolugo.vspacer.DqnVrVYg.min.js";
12
+ import { a as L } from "./revolugo.vbtn.B-LYC8rJ.min.js";
13
+ import { s as Oe } from "./revolugo.common.D-l8b0V5.min.js";
14
+ import { u as ye } from "./revolugo.hotelroomofferlist.C9y91Ya3.min.js";
15
+ import { V as D, a as h, W as Re, _ as Te } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
16
+ import { V as M } from "./revolugo.bdaterangepicker.Dztdr7of.min.js";
17
+ import { V as De } from "./revolugo.vicon.mrg8OisO.min.js";
18
+ function ae(o) {
19
+ try {
20
+ if (typeof document < "u") {
21
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
22
+ sheets: [],
23
+ components: []
24
+ };
25
+ const t = import.meta.url, u = t.slice(0, t.lastIndexOf("/") + 1) + o;
26
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(u);
27
+ for (const r of REVOLUGO_ELEMENTS_STYLES.components)
28
+ r(u);
29
+ if (o.indexOf("fonts") >= 0) {
30
+ const r = document.createElement("link");
31
+ r.rel = "stylesheet", linK.href = u, document.head.appendChild(r);
32
+ }
33
+ }
34
+ } catch (t) {
35
+ console.error("[revolugo-elements] ", t);
36
+ }
37
+ }
38
+ const z = {
39
+ CreditCardPayment: ce,
40
+ HotelOffersView: I(se, {
41
+ HotelOfferList: {
42
+ HotelOfferItem: {
43
+ ...A,
44
+ [S.HotelRoomOfferList]: !0,
45
+ [S.HotelRoomOffersViewDialog]: !0,
46
+ [S.RoomsDetails]: !0
47
+ }
48
+ },
49
+ HotelOffersMap: I(me, {
50
+ HotelOfferItem: {
51
+ ...A,
52
+ [S.HotelRoomOffersViewDialog]: !0,
53
+ [S.RoomsDetails]: !0
54
+ }
55
+ })
56
+ }),
57
+ PrebookForm: ne
58
+ }, q = {
59
+ ...ie,
60
+ ...de(le, ["bookingId"]),
61
+ features: {
62
+ default: () => z,
63
+ type: [Object, String]
64
+ }
65
+ };
66
+ var s = /* @__PURE__ */ ((o) => (o.Idle = "IDLE", o.PaymentRequested = "PAYMENT_REQUESTED", o.PaymentSuccessful = "PAYMENT_SUCCESSFUL", o.Prebook = "PREBOOK", o))(s || {});
67
+ const K = /* @__PURE__ */ N({
68
+ __name: "BConfirmDialog",
69
+ props: {
70
+ modelValue: { type: Boolean },
71
+ modelModifiers: {}
72
+ },
73
+ emits: /* @__PURE__ */ pe(["confirm"], ["update:modelValue"]),
74
+ setup(o, { expose: t, emit: u }) {
75
+ const r = u, { t: l } = Y(), i = ke(o, "modelValue"), m = f(null), { $dialogAttach: c } = ge(m);
76
+ function d() {
77
+ i.value = !1, r("confirm");
78
+ }
79
+ function v() {
80
+ i.value = !1;
81
+ }
82
+ return t({
83
+ close: v,
84
+ open
85
+ }), (_, p) => (k(), G("div", {
86
+ ref_key: "root",
87
+ ref: m
88
+ }, [
89
+ n(Se, {
90
+ modelValue: i.value,
91
+ "onUpdate:modelValue": p[0] || (p[0] = (O) => i.value = O),
92
+ attach: b(c),
93
+ "max-width": "400"
94
+ }, {
95
+ default: a(() => [
96
+ n(Be, null, {
97
+ default: a(() => [
98
+ n(we, { class: "pa-4 text-black" }, {
99
+ default: a(() => [
100
+ T(_.$slots, "default")
101
+ ]),
102
+ _: 3
103
+ }),
104
+ n(Pe, { class: "pt-2" }, {
105
+ default: a(() => [
106
+ n(Ve),
107
+ n(L, {
108
+ class: "text-body-2 font-weight-bold",
109
+ color: "grey",
110
+ variant: "text",
111
+ onClick: v
112
+ }, {
113
+ default: a(() => [
114
+ T(_.$slots, "labelCancel", {}, () => [
115
+ w(V(b(l)("BConfirmDialog.cancel")), 1)
116
+ ])
117
+ ]),
118
+ _: 3
119
+ }),
120
+ n(L, {
121
+ class: "text-body-2 font-weight-bold",
122
+ color: "primary",
123
+ onClick: d
124
+ }, {
125
+ default: a(() => [
126
+ T(_.$slots, "labelConfirm", {}, () => [
127
+ w(V(b(l)("BConfirmDialog.confirm")), 1)
128
+ ])
129
+ ]),
130
+ _: 3
131
+ })
132
+ ]),
133
+ _: 3
134
+ })
135
+ ]),
136
+ _: 3
137
+ })
138
+ ]),
139
+ _: 3
140
+ }, 8, ["modelValue", "attach"])
141
+ ], 512));
142
+ }
143
+ });
144
+ function x(o) {
145
+ const t = o;
146
+ t.__i18n = t.__i18n || [], t.__i18n.push({
147
+ locale: "",
148
+ resource: {
149
+ "en-US": {
150
+ BConfirmDialog: {
151
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Yes" } },
152
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No" } }
153
+ }
154
+ },
155
+ "fr-FR": {
156
+ BConfirmDialog: {
157
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Oui" } },
158
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non" } }
159
+ }
160
+ },
161
+ "de-DE": {
162
+ BConfirmDialog: {
163
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ja" } },
164
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nein" } }
165
+ }
166
+ },
167
+ "es-ES": {
168
+ BConfirmDialog: {
169
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sí" } },
170
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No" } }
171
+ }
172
+ },
173
+ "it-IT": {
174
+ BConfirmDialog: {
175
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sì" } },
176
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No" } }
177
+ }
178
+ },
179
+ "nl-NL": {
180
+ BConfirmDialog: {
181
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ja" } },
182
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nee" } }
183
+ }
184
+ },
185
+ "pt-PT": {
186
+ BConfirmDialog: {
187
+ confirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sim" } },
188
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Não" } }
189
+ }
190
+ }
191
+ }
192
+ });
193
+ }
194
+ typeof x == "function" && x(K);
195
+ const J = /* @__PURE__ */ N({
196
+ __name: "FullBookingFlow",
197
+ props: q,
198
+ setup(o) {
199
+ const t = o, { t: u } = Y(), r = f(void 0), l = f(void 0), i = f({}), m = f(void 0), c = f(s.Idle), d = f(1), v = f(), _ = E(
200
+ () => c.value === s.PaymentSuccessful
201
+ ), p = E(
202
+ () => c.value === s.Prebook && l.value !== void 0
203
+ ), O = E(() => {
204
+ let e = "";
205
+ return p.value ? e = "cancel" : e = _.value ? "makeNewBook" : "back", u(`FullBookingFlow.${e}`);
206
+ }), y = E(
207
+ () => [s.PaymentRequested, s.PaymentSuccessful].includes(
208
+ c.value
209
+ ) && r.value !== void 0
210
+ ), j = E(() => {
211
+ const e = {
212
+ ...t,
213
+ ...m.value,
214
+ ...i.value
215
+ };
216
+ return l.value && (e.adultCount = l.value.adultCount, e.children = l.value.children ?? null, e.checkInDate = l.value.checkInDate, e.checkOutDate = l.value.checkOutDate), e;
217
+ }), { eventBus: C } = be();
218
+ function g(e) {
219
+ c.value = e, C.$emit(F.BookingFlowStepUpdated, e);
220
+ }
221
+ function Q(e) {
222
+ r.value = e, e && (Oe(), d.value = 1, g(s.PaymentRequested));
223
+ }
224
+ function Z(e) {
225
+ l.value = e, l.value && (d.value = 1, g(s.Prebook));
226
+ }
227
+ function X() {
228
+ d.value = -1, g(s.PaymentSuccessful), i.value = {};
229
+ }
230
+ C.$on(F.BookingPolicyCreated, Z), C.$on(F.BookingCreated, Q), C.$on(F.PaymentSuccess, X), C.$on(F.PrebookForm, (e) => {
231
+ i.value = e;
232
+ }), C.$on(
233
+ F.HotelRoomOfferRequestCreated,
234
+ (e) => {
235
+ m.value = e;
236
+ }
237
+ );
238
+ function U() {
239
+ d.value = -1, g(s.Idle), l.value = void 0, r.value = void 0, i.value = {};
240
+ }
241
+ function ee() {
242
+ d.value = -1, g(s.Prebook);
243
+ }
244
+ function oe() {
245
+ p.value ? v.value = !0 : y.value && (_.value ? U() : ee());
246
+ }
247
+ const R = ye({
248
+ fallbackValue: z,
249
+ prop: E(() => t.features)
250
+ });
251
+ return (e, P) => (k(), G("div", null, [
252
+ ve(n(D, null, {
253
+ default: a(() => [
254
+ n(h, null, {
255
+ default: a(() => [
256
+ n(L, {
257
+ variant: "plain",
258
+ size: "x-small",
259
+ onClick: oe
260
+ }, {
261
+ default: a(() => [
262
+ n(De, {
263
+ start: "",
264
+ size: "x-small"
265
+ }, {
266
+ default: a(() => P[1] || (P[1] = [
267
+ w(" fas fa-arrow-left ")
268
+ ])),
269
+ _: 1,
270
+ __: [1]
271
+ }),
272
+ w(" " + V(O.value), 1)
273
+ ]),
274
+ _: 1
275
+ })
276
+ ]),
277
+ _: 1
278
+ })
279
+ ]),
280
+ _: 1
281
+ }, 512), [
282
+ [_e, p.value || y.value]
283
+ ]),
284
+ p.value ? (k(), B(M, {
285
+ key: "prebook",
286
+ fluid: ""
287
+ }, {
288
+ default: a(() => [
289
+ n(D, null, {
290
+ default: a(() => [
291
+ n(h, null, {
292
+ default: a(() => [
293
+ l.value?.id ? (k(), B(re, H({ key: 0 }, j.value, {
294
+ "booking-policy-id": l.value?.id,
295
+ features: b(R).PrebookForm,
296
+ "hotel-room-offer": l.value?.hotelRoomOffer
297
+ }), null, 16, ["booking-policy-id", "features", "hotel-room-offer"])) : Ce("", !0)
298
+ ]),
299
+ _: 1
300
+ })
301
+ ]),
302
+ _: 1
303
+ }),
304
+ n(K, {
305
+ modelValue: v.value,
306
+ "onUpdate:modelValue": P[0] || (P[0] = (te) => v.value = te),
307
+ onConfirm: U
308
+ }, {
309
+ default: a(() => [
310
+ w(V(b(u)("FullBookingFlow.cancelConfirm")), 1)
311
+ ]),
312
+ _: 1
313
+ }, 8, ["modelValue"])
314
+ ]),
315
+ _: 1
316
+ })) : y.value ? (k(), B(M, {
317
+ key: "payment",
318
+ fluid: ""
319
+ }, {
320
+ default: a(() => [
321
+ n(D, null, {
322
+ default: a(() => [
323
+ n(h, null, {
324
+ default: a(() => [
325
+ n(fe, {
326
+ features: b(R).CreditCardPayment,
327
+ token: r.value?.token
328
+ }, null, 8, ["features", "token"])
329
+ ]),
330
+ _: 1
331
+ })
332
+ ]),
333
+ _: 1
334
+ })
335
+ ]),
336
+ _: 1
337
+ })) : (k(), B(ue, H({ key: 2 }, e.$props, {
338
+ features: b(R).HotelOffersView
339
+ }), null, 16, ["features"]))
340
+ ]));
341
+ }
342
+ });
343
+ function W(o) {
344
+ const t = o;
345
+ t.__i18n = t.__i18n || [], t.__i18n.push({
346
+ locale: "",
347
+ resource: {
348
+ "en-US": {
349
+ FullBookingFlow: {
350
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Go back" } },
351
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
352
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Make a new reservation" } },
353
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirm cancelation of reservation ?" } }
354
+ }
355
+ },
356
+ "fr-FR": {
357
+ FullBookingFlow: {
358
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Revenir en arrière" } },
359
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
360
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Effectuer une nouvelle reservation" } },
361
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirmer l'annulation de cette pré-réservation ?" } }
362
+ }
363
+ },
364
+ "de-DE": {
365
+ FullBookingFlow: {
366
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurück" } },
367
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
368
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Neue Reservierung erstellen" } },
369
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stornierung der Reservierung bestätigen?" } }
370
+ }
371
+ },
372
+ "es-ES": {
373
+ FullBookingFlow: {
374
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Volver" } },
375
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
376
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hacer una nueva reserva" } },
377
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¿Confirmar la cancelación de la reserva?" } }
378
+ }
379
+ },
380
+ "it-IT": {
381
+ FullBookingFlow: {
382
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Indietro" } },
383
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
384
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Effettua una nuova prenotazione" } },
385
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confermare l'annullamento della prenotazione?" } }
386
+ }
387
+ },
388
+ "nl-NL": {
389
+ FullBookingFlow: {
390
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Terug" } },
391
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
392
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Maak een nieuwe reservering" } },
393
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bevestig annulering van de reservering?" } }
394
+ }
395
+ },
396
+ "pt-PT": {
397
+ FullBookingFlow: {
398
+ back: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voltar" } },
399
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
400
+ makeNewBook: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fazer uma nova reserva" } },
401
+ cancelConfirm: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Confirmar o cancelamento da reserva?" } }
402
+ }
403
+ }
404
+ }
405
+ });
406
+ }
407
+ typeof W == "function" && W(J);
408
+ const he = N({
409
+ components: {
410
+ FullBookingFlow: J,
411
+ WebComponentWrapper: Re
412
+ },
413
+ props: q
414
+ });
415
+ function Le(o, t, u, r, l, i) {
416
+ const m = $("FullBookingFlow", !0), c = $("WebComponentWrapper");
417
+ return k(), B(c, null, {
418
+ default: a(() => [
419
+ n(m, Ee(Fe(o.$props)), null, 16)
420
+ ]),
421
+ _: 1
422
+ });
423
+ }
424
+ const Ze = /* @__PURE__ */ Te(he, [["render", Le]]);
425
+ ae("css/revolugo.fullbookingflow.Bm8JAQF7.css");
426
+ export {
427
+ Ze as default
428
+ };
429
+ //# sourceMappingURL=revolugo.fullbookingflow.DSJE_kaM.min.js.map