@revolugo/elements 6.8.3-rc.0 → 6.9.0-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 (198) hide show
  1. package/README.md +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  7. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.T7X_iIkW.css} +1 -1
  8. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  9. package/dist/css/{revolugo.hoteldescriptionview.DWuzEuGF.css → revolugo.hoteldescriptionview.Dfi-84To.css} +1 -1
  10. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  11. package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
  12. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
  13. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
  14. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  15. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  16. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  17. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  18. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  19. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  20. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  21. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  22. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  23. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  24. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  25. package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
  26. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  27. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +2 -2
  28. package/dist/index.es.min.js +2081 -2223
  29. package/dist/index.es.min.js.map +1 -1
  30. package/dist/index.min.js +6 -6
  31. package/dist/index.min.js.map +1 -1
  32. package/dist/revolugo._baseiteratee.BQAqIqmD.min.js +247 -0
  33. package/dist/{revolugo.banktransferdetails.BdulCgI5.min.js → revolugo.banktransferdetails.0j9oc308.min.js} +9 -9
  34. package/dist/revolugo.bdaterangepicker.CuXt5m8k.min.js +8324 -0
  35. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js +143 -0
  36. package/dist/revolugo.bhoteloffersfilterbar.JyThxTJT.min.js +4896 -0
  37. package/dist/{revolugo.bhotelroomsdetails.orWBBD_o.min.js → revolugo.bhotelroomsdetails.ziCA0uqt.min.js} +359 -407
  38. package/dist/revolugo.bimagecarousel.LON3YyDv.min.js +566 -0
  39. package/dist/{revolugo.bookingdetailssidebar.CD4SMOkC.min.js → revolugo.bookingdetailssidebar.CLb15O8T.min.js} +4 -4
  40. package/dist/{revolugo.bookingdetailssidebar.JOU68R1_.min.js → revolugo.bookingdetailssidebar.CQF8f2p5.min.js} +207 -221
  41. package/dist/{revolugo.bookingmanager.B5cM9Mi5.min.js → revolugo.bookingmanager.BEFqmO93.min.js} +426 -460
  42. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.k5o2Io4n.min.js +91 -0
  43. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js} +164 -183
  44. package/dist/revolugo.btag.CZ9KR3bN.min.js +375 -0
  45. package/dist/revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js +28 -0
  46. package/dist/revolugo.cancellationpoliciesbadge.gXl0amBL.min.js +198 -0
  47. package/dist/{revolugo.cancellationpolicieslist.D097ASNF.min.js → revolugo.cancellationpolicieslist.BYH8J8e1.min.js} +70 -98
  48. package/dist/revolugo.cancellationpolicieslist.CVTMLJs5.min.js +25 -0
  49. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  50. package/dist/revolugo.case-transformers.Ca4kmzjy.min.js +123 -0
  51. package/dist/{revolugo.creditcardform.DvHcDx2P.min.js → revolugo.creditcardform.8N0BWYbc.min.js} +4 -4
  52. package/dist/{revolugo.creditcardform.DNOMVOgZ.min.js → revolugo.creditcardform.DawvObHo.min.js} +81 -94
  53. package/dist/{revolugo.creditcardpayment.BLP3RXk4.min.js → revolugo.creditcardpayment.-uEi7Rky.min.js} +152 -160
  54. package/dist/{revolugo.creditcardpayment.D3lPKmx1.min.js → revolugo.creditcardpayment.CYrmSY04.min.js} +4 -4
  55. package/dist/{revolugo.currencypicker.CzzS1Adp.min.js → revolugo.currencypicker.sqbxVvvs.min.js} +15 -15
  56. package/dist/{revolugo.currencypickerbtn.DWnyc54P.min.js → revolugo.currencypickerbtn.BSUDuF7M.min.js} +4 -4
  57. package/dist/{revolugo.currencypickerbtn.ChUEouGw.min.js → revolugo.currencypickerbtn.BoXjqXbM.min.js} +41 -47
  58. package/dist/revolugo.dates.CE3ChILc.min.js +31 -0
  59. package/dist/revolugo.defaultsdeep.ChES_MUh.min.js +104 -0
  60. package/dist/{revolugo.dialog-attach.O2HXPGzj.min.js → revolugo.dialog-attach.BogqVGDT.min.js} +5 -6
  61. package/dist/revolugo.dialog-transition.EGNOTJLZ.min.js +111 -0
  62. package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.Crr6eF_n.min.js} +6 -6
  63. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  64. package/dist/revolugo.fullbookingflow.CzofWe_h.min.js +429 -0
  65. package/dist/revolugo.hotel-offer-request.BrgYCPvB.min.js +98 -0
  66. package/dist/{revolugo.hoteldescriptionview.CbtxEPGG.min.js → revolugo.hoteldescriptionview.BaN6Jn_K.min.js} +801 -937
  67. package/dist/{revolugo.hoteldescriptionview.D3JTbFxn.min.js → revolugo.hoteldescriptionview.BfUYrAbK.min.js} +4 -4
  68. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js +241 -0
  69. package/dist/{revolugo.hotelofferlist.BVySEYbq.min.js → revolugo.hotelofferlist.CEtclWHx.min.js} +1485 -1590
  70. package/dist/{revolugo.hotelofferlist.puK2FNBR.min.js → revolugo.hotelofferlist.DGO-YnB3.min.js} +4 -4
  71. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  72. package/dist/revolugo.hoteloffersearchmenu.9ePsLejx.min.js +202 -0
  73. package/dist/revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js +829 -0
  74. package/dist/{revolugo.hoteloffersmap.BRVm5s6N.min.js → revolugo.hoteloffersmap.DFUv89P-.min.js} +799 -864
  75. package/dist/{revolugo.hoteloffersmap.DqKpfjbt.min.js → revolugo.hoteloffersmap.DbfMieYw.min.js} +4 -4
  76. package/dist/{revolugo.hoteloffersview.DsGyT5s7.min.js → revolugo.hoteloffersview.CMQC6sEW.min.js} +4 -4
  77. package/dist/{revolugo.hoteloffersview.3LJ-m6BY.min.js → revolugo.hoteloffersview.DR-NQds9.min.js} +163 -169
  78. package/dist/{revolugo.hotelroomofferlist.M-3bowQa.min.js → revolugo.hotelroomofferlist.BDmmTZzY.min.js} +1316 -1439
  79. package/dist/{revolugo.hotelroomofferlist.DdMr5qEZ.min.js → revolugo.hotelroomofferlist.VfQvHfAJ.min.js} +4 -4
  80. package/dist/{revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js → revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js} +6 -6
  81. package/dist/{revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js → revolugo.hotelroomoffersbookingflow.BdI11kxD.min.js} +333 -358
  82. package/dist/{revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js → revolugo.hotelroomoffersearchmenu.Be69MN7I.min.js} +35 -36
  83. package/dist/{revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js → revolugo.hotelroomoffersearchmenu.i97dxjV4.min.js} +5 -5
  84. package/dist/{revolugo.hotelroomoffersview.oxTgBMSk.min.js → revolugo.hotelroomoffersview.CZRrXMrq.min.js} +4 -4
  85. package/dist/{revolugo.hotelroomoffersview.BSth8Xsz.min.js → revolugo.hotelroomoffersview.QIikXLmz.min.js} +141 -156
  86. package/dist/revolugo.index.BkZCIWDs.min.js +67 -0
  87. package/dist/revolugo.index.EVacDza9.min.js +1232 -0
  88. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.B-VISNof.min.js} +12139 -12346
  89. package/dist/revolugo.langpicker.Dqh1HLSM.min.js +99 -0
  90. package/dist/revolugo.langpickerbtn.BHidyFm0.min.js +29 -0
  91. package/dist/revolugo.langpickerbtn.D2BROzmF.min.js +131 -0
  92. package/dist/revolugo.min.js +1 -1
  93. package/dist/revolugo.pathify.Cj2pWNwI.min.js +36 -0
  94. package/dist/{revolugo.prebookform.CxK0iSDo.min.js → revolugo.prebookform.BEoRLmXN.min.js} +4 -4
  95. package/dist/{revolugo.prebookform.B8aMLMuG.min.js → revolugo.prebookform.DJtQZk4h.min.js} +130 -134
  96. package/dist/{revolugo.roominglisteditor.D7WzDtw6.min.js → revolugo.roominglisteditor.Bde6fZE4.min.js} +4 -4
  97. package/dist/{revolugo.roominglisteditor.Do-pe811.min.js → revolugo.roominglisteditor.DOIoiZUZ.min.js} +98 -104
  98. package/dist/{revolugo.rounded.Dnxang6X.min.js → revolugo.rounded.CuDW7ReX.min.js} +2 -2
  99. package/dist/{revolugo.ssrboot.ByGq44eI.min.js → revolugo.ssrboot.BkAAdgIG.min.js} +2 -2
  100. package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.BrYrYQ9u.min.js} +142 -143
  101. package/dist/revolugo.termsandconditions.DdFCvyY1.min.js +405 -0
  102. package/dist/{revolugo.termsandconditions.DfGTVPYa.min.js → revolugo.termsandconditions.DsQqeMuQ.min.js} +4 -4
  103. package/dist/revolugo.use-breakpoint-service.Bd-iL63O.min.js +39 -0
  104. package/dist/revolugo.use-dialog-attach.CQ3SJvi2.min.js +16 -0
  105. package/dist/revolugo.use-html-element.DSBxvQwo.min.js +11 -0
  106. package/dist/revolugo.vautocomplete.3H62FFlI.min.js +445 -0
  107. package/dist/revolugo.vbadge.DIKTZfYf.min.js +112 -0
  108. package/dist/revolugo.vbtn.ikEGbF2M.min.js +398 -0
  109. package/dist/revolugo.vcard.k3F27b0_.min.js +313 -0
  110. package/dist/revolugo.vcheckboxbtn.DUDck9Jj.min.js +478 -0
  111. package/dist/revolugo.vdialog.I9viR6u_.min.js +133 -0
  112. package/dist/{revolugo.vdivider.Cp9bHPnI.min.js → revolugo.vdivider.BU_Qpn1Y.min.js} +8 -8
  113. package/dist/revolugo.vexpansionpanels.BlsPrY5r.min.js +262 -0
  114. package/dist/revolugo.vform.BuY4c-jG.min.js +46 -0
  115. package/dist/revolugo.vicon.0oYbTzMR.min.js +105 -0
  116. package/dist/revolugo.vinput.BhulYzYM.min.js +463 -0
  117. package/dist/revolugo.vlabel.C7Tnm2IP.min.js +48 -0
  118. package/dist/revolugo.vlist.Ds4pFDgs.min.js +1299 -0
  119. package/dist/revolugo.vmenu.DQI1PK0w.min.js +145 -0
  120. package/dist/revolugo.vselect.rRp_6FBN.min.js +660 -0
  121. package/dist/{revolugo.vsheet.8UeU7qQn.min.js → revolugo.vsheet.n_e1sEwZ.min.js} +14 -14
  122. package/dist/{revolugo.vskeletonloader.Dk0enVo6.min.js → revolugo.vskeletonloader.nVyGxNEH.min.js} +54 -55
  123. package/dist/revolugo.vslidegroup.CTyaEfLB.min.js +325 -0
  124. package/dist/revolugo.vsnackbar.DTgtMyMg.min.js +198 -0
  125. package/dist/revolugo.vspacer.0M0DbPqW.min.js +7 -0
  126. package/dist/{revolugo.vtextarea.Cjuqcka5.min.js → revolugo.vtextarea.mqbZT0AH.min.js} +354 -364
  127. package/dist/revolugo.vtextfield.C3PH47E4.min.js +501 -0
  128. package/dist/revolugo.vtoolbar.BTinlkeA.min.js +180 -0
  129. package/dist/revolugo.vtooltip.CvIhH6aP.min.js +89 -0
  130. package/dist/revolugo.vwindowitem.Cf667i7i.min.js +317 -0
  131. package/dist/revolugo.watch-list.BVepdYEA.min.js +16 -0
  132. package/dist/revolugo.webcomponentwrapper.BZSwKZDU.min.js +2088 -0
  133. package/package.json +5 -5
  134. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  135. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  136. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  137. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  138. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  139. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  140. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  141. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  142. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  143. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  144. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  145. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  146. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  147. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  148. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  149. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  150. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  151. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  152. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  153. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  154. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  155. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  156. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  157. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  158. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  159. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  160. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  161. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  162. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  163. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  164. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  165. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  166. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  167. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  168. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  169. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  170. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  171. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  172. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  173. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  174. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  175. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  176. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  177. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  178. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  179. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  180. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  181. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  182. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  183. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  184. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  185. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  186. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  187. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  188. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  189. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  190. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  191. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  192. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  193. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  194. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  195. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  196. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  197. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  198. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,29 +1,29 @@
1
- import { d as S, b as W, u as E, i as k, a as e, w as i, j as r, e as n, o as c, c as w, f as l, t as a, E as z, k as P, s as at, l as ot, m as st, T as h, p as lt, g as v, q as rt, F as q, v as ct, r as g, x as ut, n as dt, h as bt } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { k as gt, C as mt } from "./revolugo.case-transformers.Dr1oSJkZ.min.js";
3
- import { H as pt } from "./revolugo.hotelofferitemlayout.tBOOIdeT.min.js";
4
- import { _ as A, a as u, V as m, B as ht, W as kt } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
5
- import { V as B, a as $, b as Y, c as _ } from "./revolugo.vcard.DNU4i52n.min.js";
6
- import { V as y } from "./revolugo.vdivider.Cp9bHPnI.min.js";
7
- import { V as s } from "./revolugo.vskeletonloader.Dk0enVo6.min.js";
8
- import { C as ft } from "./revolugo.cancellationpolicieslist.D097ASNF.min.js";
9
- import { R as vt } from "./revolugo.roominglisteditor.Do-pe811.min.js";
10
- import { B as yt, a as Bt } from "./revolugo.bhotelroomsdetails.orWBBD_o.min.js";
11
- import { _ as wt } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js";
12
- import { B as Dt, a as Ct, m as Nt } from "./revolugo.bimagecarousel.DIPN99VA.min.js";
13
- import { d as It } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
14
- import { a as M } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
15
- import { V as J } from "./revolugo.vdialog.CjEajxIC.min.js";
16
- import { B as Mt } from "./revolugo.btag.DjjDRtQ7.min.js";
17
- import { V } from "./revolugo.index.gIPq0z7C.min.js";
18
- import { V as Pt } from "./revolugo.vtoolbar.CvbAGFXR.min.js";
19
- import { V as U } from "./revolugo.vsheet.8UeU7qQn.min.js";
1
+ import { d as V, b as W, u as E, i as g, a as e, w as i, j as r, e as n, o as c, m as it, k as nt, l as at, p as S, f as l, t as a, E as R, q as P, s as ot, v as st, x as lt, y as m, z as rt, c as C, g as h, A as ct, F, B as ut, r as d, C as dt, n as bt, h as gt } from "./revolugo.index.wc.B-VISNof.min.js";
2
+ import { k as mt, C as pt } from "./revolugo.case-transformers.Ca4kmzjy.min.js";
3
+ import { _ as ht } from "./revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js";
4
+ import { _ as j, a as u, V as b, B as kt, W as ft } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
5
+ import { V as v, a as z, b as Y, c as q } from "./revolugo.vcard.k3F27b0_.min.js";
6
+ import { V as k } from "./revolugo.vdivider.BU_Qpn1Y.min.js";
7
+ import { V as s } from "./revolugo.vskeletonloader.nVyGxNEH.min.js";
8
+ import { _ as vt } from "./revolugo.cancellationpolicieslist.BYH8J8e1.min.js";
9
+ import { R as yt } from "./revolugo.roominglisteditor.DOIoiZUZ.min.js";
10
+ import { B as Bt, _ as wt } from "./revolugo.bhotelroomsdetails.ziCA0uqt.min.js";
11
+ import { _ as Dt } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js";
12
+ import { B as Ct, a as Nt, m as It } from "./revolugo.bimagecarousel.LON3YyDv.min.js";
13
+ import { u as Mt } from "./revolugo.use-dialog-attach.CQ3SJvi2.min.js";
14
+ import { V as J } from "./revolugo.vdialog.I9viR6u_.min.js";
15
+ import { a as N } from "./revolugo.vbtn.ikEGbF2M.min.js";
16
+ import { B as Pt } from "./revolugo.btag.CZ9KR3bN.min.js";
17
+ import { V as _ } from "./revolugo.vicon.0oYbTzMR.min.js";
18
+ import { V as zt } from "./revolugo.vtoolbar.BTinlkeA.min.js";
19
+ import { V as U } from "./revolugo.vsheet.n_e1sEwZ.min.js";
20
20
  const K = {
21
21
  token: {
22
22
  type: String
23
23
  }
24
- }, $t = S({
24
+ }, $t = V({
25
25
  components: {
26
- HotelOfferItemLayout: pt
26
+ HotelOfferItemLayout: ht
27
27
  },
28
28
  mixins: [W],
29
29
  name: "BookingManagerLayout",
@@ -36,10 +36,10 @@ const K = {
36
36
  t
37
37
  };
38
38
  }
39
- }), zt = { class: "px-4 py-2" }, St = { class: "px-4 py-2" }, At = { class: "px-4 py-2" }, Rt = { class: "px-4 py-2" }, Vt = { class: "px-4 py-2" }, Et = { class: "px-4 py-2" }, jt = { class: "px-4 py-2" }, Lt = { class: "px-4 py-2" }, Ot = { class: "px-4 py-2" }, Tt = { class: "px-4 py-2 bg-grey-lighten-4" }, Ft = { class: "px-4 py-2 d-flex justify-center" }, qt = { class: "px-4 py-2" }, _t = { class: "text-center" }, Ut = { class: "d-flex justify-center align-center mt-3 mb-5" }, Ht = { class: "d-flex align-center flex-column" };
40
- function Gt(t, o, d, p, D, C) {
41
- return c(), k("div", null, [
42
- e(m, { class: "pt-2 px-2" }, {
39
+ }), At = { class: "px-4 py-2" }, St = { class: "px-4 py-2" }, Rt = { class: "px-4 py-2" }, Vt = { class: "px-4 py-2" }, _t = { class: "px-4 py-2" }, Et = { class: "px-4 py-2" }, jt = { class: "px-4 py-2" }, Lt = { class: "px-4 py-2" }, Ot = { class: "px-4 py-2" }, Tt = { class: "px-4 py-2 bg-grey-lighten-4" }, Ft = { class: "px-4 py-2 d-flex justify-center" }, qt = { class: "px-4 py-2" }, Ut = { class: "text-center" }, Ht = { class: "d-flex justify-center align-center mt-3 mb-5" }, Gt = { class: "d-flex align-center flex-column" };
40
+ function Wt(t, o, f, I, $, y) {
41
+ return c(), g("div", null, [
42
+ e(b, { class: "pt-2 px-2" }, {
43
43
  default: i(() => [
44
44
  e(u, {
45
45
  class: "order-2",
@@ -47,16 +47,16 @@ function Gt(t, o, d, p, D, C) {
47
47
  lg: "8"
48
48
  }, {
49
49
  default: i(() => [
50
- e(m, null, {
50
+ e(b, null, {
51
51
  default: i(() => [
52
52
  e(u, null, {
53
53
  default: i(() => [
54
54
  r(t.$slots, "hotel-resume", {}, () => [
55
- e(B, { border: "" }, {
55
+ e(v, { border: "" }, {
56
56
  default: i(() => [
57
- e($, { class: "pa-3" }, {
57
+ e(z, { class: "pa-3" }, {
58
58
  default: i(() => [
59
- e(m, null, {
59
+ e(b, null, {
60
60
  default: i(() => [
61
61
  e(u, {
62
62
  class: "pa-0 mr-sm-n1 mb-n1 mb-sm-0",
@@ -78,7 +78,7 @@ function Gt(t, o, d, p, D, C) {
78
78
  }),
79
79
  e(u, { class: "d-flex flex-column" }, {
80
80
  default: i(() => [
81
- e(m, null, {
81
+ e(b, null, {
82
82
  default: i(() => [
83
83
  e(u, null, {
84
84
  default: i(() => [
@@ -96,7 +96,7 @@ function Gt(t, o, d, p, D, C) {
96
96
  ]),
97
97
  _: 1
98
98
  }),
99
- e(m, {
99
+ e(b, {
100
100
  class: "my-0",
101
101
  "no-gutters": ""
102
102
  }, {
@@ -149,13 +149,13 @@ function Gt(t, o, d, p, D, C) {
149
149
  ]),
150
150
  _: 3
151
151
  }),
152
- e(m, null, {
152
+ e(b, null, {
153
153
  default: i(() => [
154
154
  e(u, null, {
155
155
  default: i(() => [
156
- e(B, { border: "" }, {
156
+ e(v, { border: "" }, {
157
157
  default: i(() => [
158
- n("div", zt, [
158
+ n("div", At, [
159
159
  r(t.$slots, "check-in-date", {}, () => [
160
160
  e(s, {
161
161
  boilerplate: t.boilerplate,
@@ -174,7 +174,7 @@ function Gt(t, o, d, p, D, C) {
174
174
  }, null, 8, ["boilerplate"])
175
175
  ])
176
176
  ]),
177
- e(y),
177
+ e(k),
178
178
  n("div", St, [
179
179
  r(t.$slots, "check-out-date", {}, () => [
180
180
  e(s, {
@@ -194,8 +194,8 @@ function Gt(t, o, d, p, D, C) {
194
194
  }, null, 8, ["boilerplate"])
195
195
  ])
196
196
  ]),
197
- e(y),
198
- n("div", At, [
197
+ e(k),
198
+ n("div", Rt, [
199
199
  r(t.$slots, "room-details", {}, () => [
200
200
  e(s, {
201
201
  boilerplate: t.boilerplate,
@@ -214,8 +214,8 @@ function Gt(t, o, d, p, D, C) {
214
214
  }, null, 8, ["boilerplate"])
215
215
  ])
216
216
  ]),
217
- e(y),
218
- n("div", Rt, [
217
+ e(k),
218
+ n("div", Vt, [
219
219
  r(t.$slots, "breakfast", {}, () => [
220
220
  e(s, {
221
221
  boilerplate: t.boilerplate,
@@ -234,8 +234,8 @@ function Gt(t, o, d, p, D, C) {
234
234
  }, null, 8, ["boilerplate"])
235
235
  ])
236
236
  ]),
237
- e(y),
238
- n("div", Vt, [
237
+ e(k),
238
+ n("div", _t, [
239
239
  r(t.$slots, "cancellation-policy", {}, () => [
240
240
  e(s, {
241
241
  boilerplate: t.boilerplate,
@@ -271,7 +271,7 @@ function Gt(t, o, d, p, D, C) {
271
271
  ]),
272
272
  _: 3
273
273
  }),
274
- e(m, null, {
274
+ e(b, null, {
275
275
  default: i(() => [
276
276
  e(u, null, {
277
277
  default: i(() => [
@@ -291,7 +291,7 @@ function Gt(t, o, d, p, D, C) {
291
291
  lg: "4"
292
292
  }, {
293
293
  default: i(() => [
294
- e(m, { align: "center" }, {
294
+ e(b, { align: "center" }, {
295
295
  default: i(() => [
296
296
  e(u, {
297
297
  cols: "12",
@@ -299,7 +299,7 @@ function Gt(t, o, d, p, D, C) {
299
299
  sm: "6"
300
300
  }, {
301
301
  default: i(() => [
302
- e(B, { border: "" }, {
302
+ e(v, { border: "" }, {
303
303
  default: i(() => [
304
304
  n("div", Et, [
305
305
  r(t.$slots, "customer-reference", {}, () => [
@@ -313,7 +313,7 @@ function Gt(t, o, d, p, D, C) {
313
313
  }, null, 8, ["boilerplate"])
314
314
  ])
315
315
  ]),
316
- e(y),
316
+ e(k),
317
317
  n("div", jt, [
318
318
  r(t.$slots, "customer-name", {}, () => [
319
319
  e(s, {
@@ -326,7 +326,7 @@ function Gt(t, o, d, p, D, C) {
326
326
  }, null, 8, ["boilerplate"])
327
327
  ])
328
328
  ]),
329
- e(y),
329
+ e(k),
330
330
  n("div", Lt, [
331
331
  r(t.$slots, "booking-reference", {}, () => [
332
332
  e(s, {
@@ -339,7 +339,7 @@ function Gt(t, o, d, p, D, C) {
339
339
  }, null, 8, ["boilerplate"])
340
340
  ])
341
341
  ]),
342
- e(y),
342
+ e(k),
343
343
  n("div", Ot, [
344
344
  r(t.$slots, "booking-datetime", {}, () => [
345
345
  e(s, {
@@ -360,7 +360,7 @@ function Gt(t, o, d, p, D, C) {
360
360
  }),
361
361
  e(u, null, {
362
362
  default: i(() => [
363
- e(B, { border: "" }, {
363
+ e(v, { border: "" }, {
364
364
  default: i(() => [
365
365
  n("div", Tt, [
366
366
  n("div", Ft, [
@@ -375,10 +375,10 @@ function Gt(t, o, d, p, D, C) {
375
375
  ])
376
376
  ])
377
377
  ]),
378
- e(y),
378
+ e(k),
379
379
  n("div", qt, [
380
- n("div", _t, [
381
- n("div", Ut, [
380
+ n("div", Ut, [
381
+ n("div", Ht, [
382
382
  r(t.$slots, "price", {}, () => [
383
383
  e(s, {
384
384
  boilerplate: t.boilerplate,
@@ -397,7 +397,7 @@ function Gt(t, o, d, p, D, C) {
397
397
  }, null, 8, ["boilerplate"])
398
398
  ])
399
399
  ]),
400
- n("div", Ht, [
400
+ n("div", Gt, [
401
401
  r(t.$slots, "booking-status", {}, () => [
402
402
  e(s, {
403
403
  boilerplate: t.boilerplate,
@@ -416,7 +416,7 @@ function Gt(t, o, d, p, D, C) {
416
416
  }, null, 8, ["boilerplate"])
417
417
  ])
418
418
  ]),
419
- e(m, {
419
+ e(b, {
420
420
  class: "mt-0",
421
421
  justify: "center"
422
422
  }, {
@@ -466,7 +466,7 @@ function Gt(t, o, d, p, D, C) {
466
466
  ]),
467
467
  _: 3
468
468
  }),
469
- e(m, null, {
469
+ e(b, null, {
470
470
  default: i(() => [
471
471
  e(u, { cols: "12" }, {
472
472
  default: i(() => [
@@ -492,7 +492,7 @@ function Gt(t, o, d, p, D, C) {
492
492
  ]),
493
493
  _: 3
494
494
  }),
495
- e(m, null, {
495
+ e(b, null, {
496
496
  default: i(() => [
497
497
  e(u, { cols: "12" }, {
498
498
  default: i(() => [
@@ -513,32 +513,74 @@ function Gt(t, o, d, p, D, C) {
513
513
  })
514
514
  ]);
515
515
  }
516
- const Wt = /* @__PURE__ */ A($t, [["render", Gt]]), Yt = {
517
- modelValue: { type: Boolean }
518
- }, Z = S({
519
- computed: {
520
- isShowed: {
521
- get() {
522
- return this.modelValue;
523
- },
524
- set(t) {
525
- this.$emit("update:modelValue", t);
526
- }
527
- }
516
+ const Yt = /* @__PURE__ */ j($t, [["render", Wt]]), Jt = { class: "px-10 pt-10" }, Kt = ["innerHTML"], Z = /* @__PURE__ */ V({
517
+ __name: "BNewBookingDialog",
518
+ props: {
519
+ modelValue: { type: Boolean },
520
+ modelModifiers: {}
528
521
  },
529
- methods: {
530
- handleConfirm() {
531
- this.isShowed = !1, this.$emit("confirm");
522
+ emits: /* @__PURE__ */ it(["confirm"], ["update:modelValue"]),
523
+ setup(t, { emit: o }) {
524
+ const f = o, I = nt(null), { $dialogAttach: $ } = Mt(I), y = at(t, "modelValue"), { t: B } = E();
525
+ function M() {
526
+ f("confirm"), y.value = !1;
532
527
  }
533
- },
534
- mixins: [It],
535
- name: "BNewBookingDialog",
536
- props: Yt,
537
- setup() {
538
- const { t } = E();
539
- return {
540
- t
541
- };
528
+ return (L, w) => (c(), g("div", {
529
+ ref_key: "root",
530
+ ref: I
531
+ }, [
532
+ e(J, {
533
+ modelValue: y.value,
534
+ "onUpdate:modelValue": w[1] || (w[1] = (A) => y.value = A),
535
+ "max-width": "600px",
536
+ attach: S($)
537
+ }, {
538
+ default: i(() => [
539
+ e(v, null, {
540
+ default: i(() => [
541
+ e(z, null, {
542
+ default: i(() => [
543
+ n("div", Jt, [
544
+ n("p", {
545
+ class: "text-body-1 ma-0",
546
+ innerHTML: S(B)("BNewBookingDialog.message")
547
+ }, null, 8, Kt)
548
+ ])
549
+ ]),
550
+ _: 1
551
+ }),
552
+ e(Y, { class: "justify-end" }, {
553
+ default: i(() => [
554
+ e(N, {
555
+ color: "primary",
556
+ variant: "text",
557
+ onClick: M
558
+ }, {
559
+ default: i(() => [
560
+ l(a(S(B)("BNewBookingDialog.confirm")), 1)
561
+ ]),
562
+ _: 1
563
+ }),
564
+ e(N, {
565
+ color: "error",
566
+ variant: "text",
567
+ onClick: w[0] || (w[0] = (A) => y.value = !1)
568
+ }, {
569
+ default: i(() => [
570
+ l(a(S(B)("BNewBookingDialog.cancel")), 1)
571
+ ]),
572
+ _: 1
573
+ })
574
+ ]),
575
+ _: 1
576
+ })
577
+ ]),
578
+ _: 1
579
+ })
580
+ ]),
581
+ _: 1
582
+ }, 8, ["modelValue", "attach"])
583
+ ], 512));
542
584
  }
543
585
  });
544
586
  function H(t) {
@@ -598,119 +640,57 @@ function H(t) {
598
640
  }
599
641
  });
600
642
  }
601
- const Jt = { class: "px-10 pt-10" }, Kt = ["innerHTML"];
602
- function Zt(t, o, d, p, D, C) {
603
- return c(), w(J, {
604
- modelValue: t.isShowed,
605
- "onUpdate:modelValue": o[1] || (o[1] = (N) => t.isShowed = N),
606
- attach: t.$dialogAttach,
607
- "max-width": "600px",
608
- persistent: ""
609
- }, {
610
- default: i(() => [
611
- n("template", null, [
612
- e(B, null, {
613
- default: i(() => [
614
- e($, null, {
615
- default: i(() => [
616
- n("div", Jt, [
617
- n("p", {
618
- class: "text-body-1 ma-0",
619
- innerHTML: t.t("BNewBookingDialog.message")
620
- }, null, 8, Kt)
621
- ])
622
- ]),
623
- _: 1
624
- }),
625
- e(Y, { class: "justify-end" }, {
626
- default: i(() => [
627
- e(M, {
628
- color: "primary",
629
- variant: "text",
630
- onClick: t.handleConfirm
631
- }, {
632
- default: i(() => [
633
- l(a(t.t("BNewBookingDialog.confirm")), 1)
634
- ]),
635
- _: 1
636
- }, 8, ["onClick"]),
637
- e(M, {
638
- color: "error",
639
- variant: "text",
640
- onClick: o[0] || (o[0] = (N) => t.isShowed = !1)
641
- }, {
642
- default: i(() => [
643
- l(a(t.t("BNewBookingDialog.cancel")), 1)
644
- ]),
645
- _: 1
646
- })
647
- ]),
648
- _: 1
649
- })
650
- ]),
651
- _: 1
652
- })
653
- ])
654
- ]),
655
- _: 1
656
- }, 8, ["modelValue", "attach"]);
657
- }
658
643
  typeof H == "function" && H(Z);
659
- const Qt = /* @__PURE__ */ A(Z, [["render", Zt]]), Q = S({
644
+ const Q = V({
660
645
  components: {
661
- BBreakfastOptionBadge: Bt,
662
- BErrorOverlay: ht,
663
- BFormattedAmount: wt,
664
- BGoogleMapIframe: Ct,
665
- BHotelRoomsDetails: yt,
666
- BImageCarousel: Dt,
667
- BNewBookingDialog: Qt,
668
- BTag: Mt,
669
- BookingManagerLayout: Wt,
670
- CancellationPoliciesList: ft,
671
- RoomingListEditor: vt
646
+ BBreakfastOptionBadge: wt,
647
+ BErrorOverlay: kt,
648
+ BFormattedAmount: Dt,
649
+ BGoogleMapIframe: Nt,
650
+ BHotelRoomsDetails: Bt,
651
+ BImageCarousel: Ct,
652
+ BNewBookingDialog: Z,
653
+ BTag: Pt,
654
+ BookingManagerLayout: Yt,
655
+ CancellationPoliciesList: vt,
656
+ RoomingListEditor: yt
672
657
  },
673
658
  computed: {
674
659
  bookingStatusColor() {
675
- var t;
676
- switch ((t = this.booking) == null ? void 0 : t.status) {
677
- case h.Cx:
678
- case h.Af:
660
+ switch (this.booking?.status) {
661
+ case m.Cx:
662
+ case m.Af:
679
663
  return "error--text";
680
- case h.Cf:
681
- case h.Created:
664
+ case m.Cf:
665
+ case m.Created:
682
666
  return "success--text";
683
- case h.Ip:
684
- case h.Pp:
667
+ case m.Ip:
668
+ case m.Pp:
685
669
  return "warning--text";
686
- case h.Pc:
687
- case h.Qr:
670
+ case m.Pc:
671
+ case m.Qr:
688
672
  case void 0:
689
673
  default:
690
674
  return "";
691
675
  }
692
676
  },
693
677
  breakfastCount() {
694
- var t, o;
695
- return ((o = (t = this.booking) == null ? void 0 : t.hotelRoomOffer) == null ? void 0 : o.breakfastCount) || 0;
678
+ return this.booking?.hotelRoomOffer?.breakfastCount || 0;
696
679
  },
697
680
  customerName() {
698
- var d, p, D, C;
699
- if (!((p = (d = this.booking) == null ? void 0 : d.contactPerson) != null && p.firstName) || !((C = (D = this.booking) == null ? void 0 : D.contactPerson) != null && C.lastName))
681
+ if (!this.booking?.contactPerson?.firstName || !this.booking?.contactPerson?.lastName)
700
682
  return "";
701
- const t = this.booking.contactPerson.lastName.toUpperCase(), o = lt(this.booking.contactPerson.firstName);
683
+ const t = this.booking.contactPerson.lastName.toUpperCase(), o = rt(this.booking.contactPerson.firstName);
702
684
  return `${t} ${o}`;
703
685
  },
704
686
  imageUrls() {
705
- var t;
706
- return Nt((t = this.hotel) == null ? void 0 : t.hotelImages);
687
+ return It(this.hotel?.hotelImages);
707
688
  },
708
689
  invoices() {
709
- var t;
710
- return ((t = this.booking) == null ? void 0 : t.invoices) || [];
690
+ return this.booking?.invoices || [];
711
691
  },
712
692
  isBookingAvailable() {
713
- return !!this.booking && this.booking.status !== h.Af && this.booking.status !== h.Cx;
693
+ return !!this.booking && this.booking.status !== m.Af && this.booking.status !== m.Cx;
714
694
  },
715
695
  nightCount() {
716
696
  return this.booking ? P(this.booking.checkOutDate).startOf("day").diff(P(this.booking.checkInDate).startOf("day"), "day") : 0;
@@ -718,7 +698,7 @@ const Qt = /* @__PURE__ */ A(Z, [["render", Zt]]), Q = S({
718
698
  penaltyAmount() {
719
699
  if (!this.booking)
720
700
  return 0;
721
- const t = st({
701
+ const t = lt({
722
702
  bookingDatetime: P(this.booking.createdAt).format(),
723
703
  cancellationPolicies: this.booking.cancellationPolicies,
724
704
  checkInDate: this.booking.checkInDate,
@@ -733,21 +713,20 @@ const Qt = /* @__PURE__ */ A(Z, [["render", Zt]]), Q = S({
733
713
  return this.booking.taxIncludedPrice - this.penaltyAmount;
734
714
  },
735
715
  roomCount() {
736
- return ot(this.rooms, "count");
716
+ return st(this.rooms, "count");
737
717
  },
738
718
  rooms() {
739
719
  return this.booking ? this.booking.hotelRoomOffer.hotelRooms : [];
740
720
  },
741
721
  sanitizedCancellationPolicies() {
742
- var t, o, d;
743
- return !((t = this.booking) != null && t.cancellationPolicies) || !((o = this.hotel) != null && o.timezone) ? [] : gt(
744
- at({
722
+ return !this.booking?.cancellationPolicies || !this.hotel?.timezone ? [] : mt(
723
+ ot({
745
724
  bookingDatetime: this.booking.createdAt,
746
725
  cancellationPolicies: this.booking.cancellationPolicies,
747
726
  checkInDate: this.booking.checkInDate,
748
- timezone: (d = this.hotel) == null ? void 0 : d.timezone
727
+ timezone: this.hotel?.timezone
749
728
  }),
750
- mt.Camel
729
+ pt.Camel
751
730
  );
752
731
  }
753
732
  },
@@ -778,16 +757,15 @@ const Qt = /* @__PURE__ */ A(Z, [["render", Zt]]), Q = S({
778
757
  }) : "";
779
758
  },
780
759
  newBooking() {
781
- this.$eventBus.$emit(z.BookingManagerNewBooking);
760
+ this.$eventBus.$emit(R.BookingManagerNewBooking);
782
761
  },
783
762
  async onCancelConfirm() {
784
- var t;
785
763
  if (this.booking) {
786
764
  this.booking = null, this.hasError = !1;
787
765
  try {
788
- this.booking = await ((t = this.bookingApiClient) == null ? void 0 : t.bookings.delete({
766
+ this.booking = await this.bookingApiClient?.bookings.delete({
789
767
  token: this.token
790
- }));
768
+ });
791
769
  } catch {
792
770
  this.hasError = !0;
793
771
  } finally {
@@ -799,26 +777,24 @@ const Qt = /* @__PURE__ */ A(Z, [["render", Zt]]), Q = S({
799
777
  this.token && (this.booking = null, this.hotel = null, this.booking = await this.retrieveBooking(this.token), this.booking && this.booking.hotelId && (this.hotel = await this.retrieveHotel(this.booking.hotelId)));
800
778
  },
801
779
  async retrieveBooking(t) {
802
- var d;
803
780
  let o = null;
804
781
  this.hasError = !1;
805
782
  try {
806
- o = await ((d = this.bookingApiClient) == null ? void 0 : d.bookings.retrievePublic({
783
+ o = await this.bookingApiClient?.bookings.retrievePublic({
807
784
  token: t
808
- })), this.$eventBus.$emit(z.BookingManagerRetrieve, o);
809
- } catch (p) {
810
- this.hasError = !0, console.error(p), this.$eventBus.$emit(z.BookingManagerRetrieveFail);
785
+ }), this.$eventBus.$emit(R.BookingManagerRetrieve, o);
786
+ } catch (f) {
787
+ this.hasError = !0, console.error(f), this.$eventBus.$emit(R.BookingManagerRetrieveFail);
811
788
  }
812
789
  return o;
813
790
  },
814
791
  async retrieveHotel(t) {
815
- var d;
816
792
  let o = null;
817
793
  this.hasError = !1;
818
794
  try {
819
- o = await ((d = this.bookingApiClient) == null ? void 0 : d.hotels.retrieve({ id: t })), this.$eventBus.$emit(z.HotelRetrieved, o);
820
- } catch (p) {
821
- this.hasError = !0, console.error(p);
795
+ o = await this.bookingApiClient?.hotels.retrieve({ id: t }), this.$eventBus.$emit(R.HotelRetrieved, o);
796
+ } catch (f) {
797
+ this.hasError = !0, console.error(f);
822
798
  }
823
799
  return o;
824
800
  }
@@ -1268,40 +1244,39 @@ function G(t) {
1268
1244
  }
1269
1245
  });
1270
1246
  }
1271
- const Xt = { class: "position-relative" }, xt = { class: "text-body-1" }, te = ["href"], ee = {
1247
+ const Zt = { class: "position-relative" }, Qt = { class: "text-body-1" }, Xt = ["href"], xt = {
1272
1248
  key: 0,
1273
1249
  class: "ma-0 text-center"
1274
- }, ie = { class: "mb-0" }, ne = { class: "font-weight-bold" }, ae = { class: "mb-0" }, oe = { class: "font-weight-bold" }, se = { class: "mb-0" }, le = { class: "font-weight-bold" }, re = { class: "mb-0" }, ce = { class: "font-weight-bold" }, ue = { class: "font-weight-bold" }, de = { class: "font-weight-bold" }, be = { key: 0 }, ge = { class: "text-primary" }, me = { class: "text-primary" }, pe = { class: "text-primary" }, he = { key: 0 }, ke = { class: "text-primary" }, fe = { key: 1 }, ve = { class: "mr-2" }, ye = { class: "text-h5 font-weight-bold text-success" }, Be = { class: "text-error" }, we = { class: "text-success" }, De = { key: 0 }, Ce = { class: "ma-0" }, Ne = { class: "text-caption" };
1275
- function Ie(t, o, d, p, D, C) {
1276
- var O;
1277
- const N = g("BImageCarousel"), R = g("BHotelRoomsDetails"), X = g("BBreakfastOptionBadge"), j = g("CancellationPoliciesList"), x = g("RoomingListEditor"), I = g("BFormattedAmount"), L = g("BTag"), tt = g("BNewBookingDialog"), et = g("BGoogleMapIframe"), it = g("BookingManagerLayout"), nt = g("BErrorOverlay");
1278
- return c(), k("div", Xt, [
1279
- e(it, null, rt({
1250
+ }, te = { class: "mb-0" }, ee = { class: "font-weight-bold" }, ie = { class: "mb-0" }, ne = { class: "font-weight-bold" }, ae = { class: "mb-0" }, oe = { class: "font-weight-bold" }, se = { class: "mb-0" }, le = { class: "font-weight-bold" }, re = { class: "font-weight-bold" }, ce = { class: "font-weight-bold" }, ue = { key: 0 }, de = { class: "text-primary" }, be = { class: "text-primary" }, ge = { class: "text-primary" }, me = { key: 0 }, pe = { class: "text-primary" }, he = { key: 1 }, ke = { class: "mr-2" }, fe = { class: "text-h5 font-weight-bold text-success" }, ve = { class: "text-error" }, ye = { class: "text-success" }, Be = { key: 0 }, we = { class: "ma-0" }, De = { class: "text-caption" };
1251
+ function Ce(t, o, f, I, $, y) {
1252
+ const B = d("BImageCarousel"), M = d("BHotelRoomsDetails"), L = d("BBreakfastOptionBadge"), w = d("CancellationPoliciesList"), A = d("RoomingListEditor"), D = d("BFormattedAmount"), O = d("BTag"), X = d("BNewBookingDialog"), x = d("BGoogleMapIframe"), tt = d("BookingManagerLayout"), et = d("BErrorOverlay");
1253
+ return c(), g("div", Zt, [
1254
+ e(tt, null, ct({
1280
1255
  "booking-datetime": i(() => [
1281
- t.booking && t.booking.confirmedAt ? (c(), k("small", he, [
1256
+ t.booking && t.booking.confirmedAt ? (c(), g("small", me, [
1282
1257
  l(a(t.t("BookingManager.bookingDatetime")) + " ", 1),
1283
- n("b", ke, a(t.formatDateHour(t.booking.confirmedAt)), 1)
1284
- ])) : (c(), k("span", fe))
1258
+ n("b", pe, a(t.formatDateHour(t.booking.confirmedAt)), 1)
1259
+ ])) : (c(), g("span", he))
1285
1260
  ]),
1286
1261
  map: i(() => [
1287
- t.hotel ? (c(), w(et, {
1262
+ t.hotel ? (c(), C(x, {
1288
1263
  key: 0,
1289
1264
  address: t.hotel.address,
1290
1265
  city: t.hotel.city,
1291
1266
  height: "350px",
1292
1267
  width: "100%"
1293
- }, null, 8, ["address", "city"])) : v("", !0)
1268
+ }, null, 8, ["address", "city"])) : h("", !0)
1294
1269
  ]),
1295
1270
  _: 2
1296
1271
  }, [
1297
1272
  t.booking ? {
1298
1273
  name: "invoices",
1299
1274
  fn: i(() => [
1300
- e(B, null, {
1275
+ e(v, null, {
1301
1276
  default: i(() => [
1302
- e(_, { class: "d-flex justify-center pa-3 bg-grey-lighten-4" }, {
1277
+ e(q, { class: "d-flex justify-center pa-3 bg-grey-lighten-4" }, {
1303
1278
  default: i(() => [
1304
- e(V, {
1279
+ e(_, {
1305
1280
  color: "grey-darken-4",
1306
1281
  start: "",
1307
1282
  size: "x-small"
@@ -1312,24 +1287,24 @@ function Ie(t, o, d, p, D, C) {
1312
1287
  _: 1,
1313
1288
  __: [6]
1314
1289
  }),
1315
- n("span", xt, a(t.t("BookingManager.invoices")), 1)
1290
+ n("span", Qt, a(t.t("BookingManager.invoices")), 1)
1316
1291
  ]),
1317
1292
  _: 1
1318
1293
  }),
1319
- e(y),
1320
- e($, null, {
1294
+ e(k),
1295
+ e(z, null, {
1321
1296
  default: i(() => [
1322
- (c(!0), k(q, null, ct(t.invoices, (b, f) => (c(), k("p", {
1323
- key: f,
1297
+ (c(!0), g(F, null, ut(t.invoices, (p, T) => (c(), g("p", {
1298
+ key: T,
1324
1299
  class: "ma-0"
1325
1300
  }, [
1326
1301
  n("a", {
1327
1302
  class: "text-grey-darken-4",
1328
- href: b.url,
1303
+ href: p.url,
1329
1304
  rel: "noopener",
1330
1305
  target: "_blank"
1331
1306
  }, [
1332
- e(V, {
1307
+ e(_, {
1333
1308
  class: "text-grey-darken-3",
1334
1309
  start: "",
1335
1310
  size: "small"
@@ -1340,10 +1315,10 @@ function Ie(t, o, d, p, D, C) {
1340
1315
  _: 1,
1341
1316
  __: [7]
1342
1317
  }),
1343
- l(" " + a(t.t("BookingManager.document")) + " " + a(f + 1), 1)
1344
- ], 8, te)
1318
+ l(" " + a(t.t("BookingManager.document")) + " " + a(T + 1), 1)
1319
+ ], 8, Xt)
1345
1320
  ]))), 128)),
1346
- t.invoices.length === 0 ? (c(), k("p", ee, a(t.t("BookingManager.ppNoInvoices")), 1)) : v("", !0)
1321
+ t.invoices.length === 0 ? (c(), g("p", xt, a(t.t("BookingManager.ppNoInvoices")), 1)) : h("", !0)
1347
1322
  ]),
1348
1323
  _: 1
1349
1324
  })
@@ -1356,53 +1331,50 @@ function Ie(t, o, d, p, D, C) {
1356
1331
  t.hotel ? {
1357
1332
  name: "hotel-resume",
1358
1333
  fn: i(() => [
1359
- e(B, {
1334
+ e(v, {
1360
1335
  class: "d-flex flex-column flex-sm-row justify-start",
1361
1336
  border: ""
1362
1337
  }, {
1363
- default: i(() => {
1364
- var b;
1365
- return [
1366
- n("div", null, [
1367
- e(N, {
1368
- height: t.$breakpointService.xs ? "180px" : "100%",
1369
- "image-urls": (b = t.imageUrls) == null ? void 0 : b.lowres,
1370
- lazy: 2,
1371
- "thumbnails-height": "70px",
1372
- width: t.$breakpointService.xs ? "" : "200px"
1373
- }, null, 8, ["height", "image-urls", "width"])
1374
- ]),
1375
- n("div", null, [
1376
- e(_, null, {
1377
- default: i(() => [
1378
- l(a(t.hotel.name), 1)
1338
+ default: i(() => [
1339
+ n("div", null, [
1340
+ e(B, {
1341
+ height: t.$breakpointService.xs ? "180px" : "100%",
1342
+ "image-urls": t.imageUrls?.lowres,
1343
+ lazy: 2,
1344
+ "thumbnails-height": "70px",
1345
+ width: t.$breakpointService.xs ? "" : "200px"
1346
+ }, null, 8, ["height", "image-urls", "width"])
1347
+ ]),
1348
+ n("div", null, [
1349
+ e(q, null, {
1350
+ default: i(() => [
1351
+ l(a(t.hotel.name), 1)
1352
+ ]),
1353
+ _: 1
1354
+ }),
1355
+ e(z, null, {
1356
+ default: i(() => [
1357
+ n("p", te, [
1358
+ n("span", ee, a(t.t("BookingManager.hotel.city")) + " ", 1),
1359
+ l(" " + a(t.hotel.city), 1)
1379
1360
  ]),
1380
- _: 1
1381
- }),
1382
- e($, null, {
1383
- default: i(() => [
1384
- n("p", ie, [
1385
- n("span", ne, a(t.t("BookingManager.hotel.city")) + " ", 1),
1386
- l(" " + a(t.hotel.city), 1)
1387
- ]),
1388
- n("p", ae, [
1389
- n("span", oe, a(t.t("BookingManager.hotel.address")) + " ", 1),
1390
- l(" " + a(t.hotel.address), 1)
1391
- ]),
1392
- n("p", se, [
1393
- n("span", le, a(t.t("BookingManager.hotel.phone")) + " ", 1),
1394
- l(" " + a(t.hotel.phone), 1)
1395
- ]),
1396
- n("p", re, [
1397
- n("span", ce, a(t.t("BookingManager.hotel.coordinates")) + " ", 1),
1398
- l(" lat. " + a(t.hotel.latitude) + ", long. " + a(t.hotel.longitude), 1)
1399
- ])
1361
+ n("p", ie, [
1362
+ n("span", ne, a(t.t("BookingManager.hotel.address")) + " ", 1),
1363
+ l(" " + a(t.hotel.address), 1)
1400
1364
  ]),
1401
- _: 1
1402
- })
1403
- ])
1404
- ];
1405
- }),
1365
+ n("p", ae, [
1366
+ n("span", oe, a(t.t("BookingManager.hotel.phone")) + " ", 1),
1367
+ l(" " + a(t.hotel.phone), 1)
1368
+ ]),
1369
+ n("p", se, [
1370
+ n("span", le, a(t.t("BookingManager.hotel.coordinates")) + " ", 1),
1371
+ l(" lat. " + a(t.hotel.latitude) + ", long. " + a(t.hotel.longitude), 1)
1372
+ ])
1373
+ ]),
1374
+ _: 1
1375
+ })
1376
+ ])
1377
+ ]),
1406
1378
  _: 1
1407
1379
  })
1408
1380
  ]),
@@ -1412,7 +1384,7 @@ function Ie(t, o, d, p, D, C) {
1412
1384
  name: "check-in-date",
1413
1385
  fn: i(() => [
1414
1386
  l(a(t.t("BookingManager.checkIn")) + " ", 1),
1415
- n("div", ue, a(t.formatDate(t.booking.checkInDate)), 1)
1387
+ n("div", re, a(t.formatDate(t.booking.checkInDate)), 1)
1416
1388
  ]),
1417
1389
  key: "2"
1418
1390
  } : void 0,
@@ -1420,14 +1392,14 @@ function Ie(t, o, d, p, D, C) {
1420
1392
  name: "check-out-date",
1421
1393
  fn: i(() => [
1422
1394
  l(a(t.t("BookingManager.checkOut")) + " ", 1),
1423
- n("div", de, a(t.formatDate(t.booking.checkOutDate)), 1)
1395
+ n("div", ce, a(t.formatDate(t.booking.checkOutDate)), 1)
1424
1396
  ]),
1425
1397
  key: "3"
1426
1398
  } : void 0,
1427
1399
  t.booking ? {
1428
1400
  name: "room-details",
1429
1401
  fn: i(() => [
1430
- e(R, { "hotel-rooms": t.rooms }, null, 8, ["hotel-rooms"])
1402
+ e(M, { "hotel-rooms": t.rooms }, null, 8, ["hotel-rooms"])
1431
1403
  ]),
1432
1404
  key: "4"
1433
1405
  } : void 0,
@@ -1435,7 +1407,7 @@ function Ie(t, o, d, p, D, C) {
1435
1407
  name: "breakfast",
1436
1408
  fn: i(() => [
1437
1409
  l(a(t.t("BookingManager.breakfast")) + " ", 1),
1438
- e(X, {
1410
+ e(L, {
1439
1411
  "breakfast-count": t.breakfastCount,
1440
1412
  "breakfast-option": t.breakfastCount && t.breakfastCount > 0 ? "INCLUDED" : "NOT_INCLUDED",
1441
1413
  class: "mr-n1"
@@ -1445,27 +1417,24 @@ function Ie(t, o, d, p, D, C) {
1445
1417
  } : void 0,
1446
1418
  t.sanitizedCancellationPolicies.length > 0 ? {
1447
1419
  name: "cancellation-policy",
1448
- fn: i(() => {
1449
- var b, f, T, F;
1450
- return [
1451
- l(a(t.t("BookingManager.cancellationPolicy")) + " ", 1),
1452
- (b = t.hotel) != null && b.timezone ? (c(), k("div", be, [
1453
- e(j, {
1454
- class: "text-grey-darken-1",
1455
- "cancellation-policies": t.sanitizedCancellationPolicies,
1456
- "check-in-date": (f = t.booking) == null ? void 0 : f.checkInDate,
1457
- "initial-date": (T = t.booking) == null ? void 0 : T.createdAt,
1458
- timezone: (F = t.hotel) == null ? void 0 : F.timezone
1459
- }, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
1460
- ])) : v("", !0)
1461
- ];
1462
- }),
1420
+ fn: i(() => [
1421
+ l(a(t.t("BookingManager.cancellationPolicy")) + " ", 1),
1422
+ t.hotel?.timezone ? (c(), g("div", ue, [
1423
+ e(w, {
1424
+ class: "text-grey-darken-1",
1425
+ "cancellation-policies": t.sanitizedCancellationPolicies,
1426
+ "check-in-date": t.booking?.checkInDate,
1427
+ "initial-date": t.booking?.createdAt,
1428
+ timezone: t.hotel?.timezone
1429
+ }, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
1430
+ ])) : h("", !0)
1431
+ ]),
1463
1432
  key: "6"
1464
1433
  } : void 0,
1465
- t.booking && ((O = t.booking.hotelRoomingLists) != null && O.length) ? {
1434
+ t.booking && t.booking.hotelRoomingLists?.length ? {
1466
1435
  name: "rooming-list",
1467
1436
  fn: i(() => [
1468
- e(x, { token: t.token }, null, 8, ["token"])
1437
+ e(A, { token: t.token }, null, 8, ["token"])
1469
1438
  ]),
1470
1439
  key: "7"
1471
1440
  } : void 0,
@@ -1474,7 +1443,7 @@ function Ie(t, o, d, p, D, C) {
1474
1443
  fn: i(() => [
1475
1444
  n("small", null, [
1476
1445
  l(a(t.t("BookingManager.customerReference")) + " ", 1),
1477
- n("b", ge, a(t.booking.customerReference ? t.booking.customerReference : "N/A"), 1)
1446
+ n("b", de, a(t.booking.customerReference ? t.booking.customerReference : "N/A"), 1)
1478
1447
  ])
1479
1448
  ]),
1480
1449
  key: "8"
@@ -1484,7 +1453,7 @@ function Ie(t, o, d, p, D, C) {
1484
1453
  fn: i(() => [
1485
1454
  n("small", null, [
1486
1455
  l(a(t.t("BookingManager.customerName")) + " ", 1),
1487
- n("b", me, a(t.customerName ? t.customerName : "N/A"), 1)
1456
+ n("b", be, a(t.customerName ? t.customerName : "N/A"), 1)
1488
1457
  ])
1489
1458
  ]),
1490
1459
  key: "9"
@@ -1494,7 +1463,7 @@ function Ie(t, o, d, p, D, C) {
1494
1463
  fn: i(() => [
1495
1464
  n("small", null, [
1496
1465
  l(a(t.t("BookingManager.bookingReference")) + " ", 1),
1497
- n("b", pe, a(t.booking.reference), 1)
1466
+ n("b", ge, a(t.booking.reference), 1)
1498
1467
  ])
1499
1468
  ]),
1500
1469
  key: "10"
@@ -1509,9 +1478,9 @@ function Ie(t, o, d, p, D, C) {
1509
1478
  t.booking ? {
1510
1479
  name: "price",
1511
1480
  fn: i(() => [
1512
- n("div", ve, a(t.t("BookingManager.price")), 1),
1513
- n("div", ye, [
1514
- e(I, {
1481
+ n("div", ke, a(t.t("BookingManager.price")), 1),
1482
+ n("div", fe, [
1483
+ e(D, {
1515
1484
  amount: t.booking.taxIncludedPrice,
1516
1485
  currency: t.booking.currency
1517
1486
  }, null, 8, ["amount", "currency"])
@@ -1524,16 +1493,16 @@ function Ie(t, o, d, p, D, C) {
1524
1493
  fn: i(() => [
1525
1494
  l(a(t.t("BookingManager.status")) + " ", 1),
1526
1495
  n("div", {
1527
- class: ut(["text-h5 font-weight-bold", t.bookingStatusColor])
1496
+ class: dt(["text-h5 font-weight-bold", t.bookingStatusColor])
1528
1497
  }, a(t.t("BookingManager.statuses." + t.booking.status)), 3),
1529
- t.booking.status === "bkg-cx" ? (c(), k(q, { key: 0 }, [
1498
+ t.booking.status === "bkg-cx" ? (c(), g(F, { key: 0 }, [
1530
1499
  n("small", null, [
1531
1500
  l(a(t.t("BookingManager.cancellationDate")) + ": ", 1),
1532
1501
  n("b", null, a(t.formatDateHour(t.booking.canceledAt)), 1)
1533
1502
  ]),
1534
- n("small", Be, [
1503
+ n("small", ve, [
1535
1504
  l(a(t.t("BookingManager.cancellationFee")) + ": ", 1),
1536
- e(I, {
1505
+ e(D, {
1537
1506
  amount: Math.ceil(
1538
1507
  (t.booking.penaltyPercentage ?? 0) / 100 * t.booking.taxIncludedPrice
1539
1508
  ),
@@ -1541,9 +1510,9 @@ function Ie(t, o, d, p, D, C) {
1541
1510
  currency: t.booking.currency
1542
1511
  }, null, 8, ["amount", "currency"])
1543
1512
  ]),
1544
- n("small", we, [
1513
+ n("small", ye, [
1545
1514
  l(a(t.t("BookingManager.refundAmount")) + ": ", 1),
1546
- e(I, {
1515
+ e(D, {
1547
1516
  amount: Math.floor(
1548
1517
  (1 - (t.booking.penaltyPercentage ?? 0) / 100) * t.booking.taxIncludedPrice
1549
1518
  ),
@@ -1551,184 +1520,181 @@ function Ie(t, o, d, p, D, C) {
1551
1520
  currency: t.booking.currency
1552
1521
  }, null, 8, ["amount", "currency"])
1553
1522
  ])
1554
- ], 64)) : v("", !0)
1523
+ ], 64)) : h("", !0)
1555
1524
  ]),
1556
1525
  key: "13"
1557
1526
  } : void 0,
1558
1527
  t.booking && t.hotel ? {
1559
1528
  name: "actions",
1560
1529
  fn: i(() => [
1561
- e(m, null, {
1530
+ e(b, null, {
1562
1531
  default: i(() => [
1563
- t.isBookingAvailable ? (c(), w(u, {
1532
+ t.isBookingAvailable ? (c(), C(u, {
1564
1533
  key: 0,
1565
1534
  cols: "12"
1566
1535
  }, {
1567
- default: i(() => {
1568
- var b;
1569
- return [
1570
- e(M, {
1571
- class: "text-none font-weight-bold",
1572
- color: "error",
1573
- onClick: o[0] || (o[0] = (f) => t.isCancelModalDisplayed = !0)
1574
- }, {
1575
- default: i(() => [
1576
- l(a(t.t("BookingManager.actions.cancel")), 1)
1577
- ]),
1578
- _: 1
1579
- }),
1580
- e(J, {
1581
- modelValue: t.isCancelModalDisplayed,
1582
- "onUpdate:modelValue": o[2] || (o[2] = (f) => t.isCancelModalDisplayed = f),
1583
- attach: (b = t.$parent) == null ? void 0 : b.$el,
1584
- "max-width": "600px"
1585
- }, {
1586
- default: i(() => [
1587
- e(B, null, {
1588
- default: i(() => [
1589
- e(Pt, {
1590
- color: "grey-lighten-3",
1591
- elevation: "0",
1592
- height: "100%"
1593
- }, {
1594
- default: i(() => [
1595
- n("h3", null, a(t.t("BookingManager.cancelDialog.title", {
1596
- hotelName: t.hotel.name
1597
- })), 1)
1598
- ]),
1599
- _: 1
1600
- }),
1601
- e($, { class: "mt-5" }, {
1602
- default: i(() => [
1603
- e(U, {
1604
- class: "pa-4",
1605
- border: "",
1606
- rounded: ""
1607
- }, {
1608
- default: i(() => [
1609
- n("p", null, [
1610
- n("b", null, a(t.t("BookingManager.cancellationPolicy")), 1)
1611
- ]),
1612
- t.hotel.timezone ? (c(), k("div", De, [
1613
- e(j, {
1614
- class: "text-grey-darken-1",
1615
- "cancellation-policies": t.sanitizedCancellationPolicies,
1616
- "check-in-date": t.booking.checkInDate,
1617
- "initial-date": t.booking.createdAt,
1618
- timezone: t.hotel.timezone
1619
- }, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
1620
- ])) : v("", !0)
1621
- ]),
1622
- _: 1
1623
- }),
1624
- e(U, {
1625
- class: "mt-2 pa-4",
1626
- border: "",
1627
- rounded: ""
1628
- }, {
1629
- default: i(() => [
1630
- n("p", null, a(t.t("BookingManager.cancelDialog.cancelDetail")), 1),
1631
- n("p", null, [
1632
- n("b", null, a(t.t("BookingManager.cancelDialog.penaltyAmount")), 1),
1633
- e(L, {
1634
- color: "error",
1635
- regular: "",
1636
- style: { "vertical-align": "bottom" },
1637
- "text-color": "white"
1638
- }, {
1639
- default: i(() => [
1640
- e(I, {
1641
- amount: t.penaltyAmount,
1642
- class: "font-weight-bold",
1643
- currency: t.booking.currency
1644
- }, null, 8, ["amount", "currency"])
1645
- ]),
1646
- _: 1
1647
- })
1648
- ]),
1649
- n("p", Ce, [
1650
- n("b", null, a(t.t("BookingManager.cancelDialog.refundAmount")), 1),
1651
- e(L, {
1652
- color: "success",
1653
- regular: "",
1654
- style: { "vertical-align": "bottom" },
1655
- "text-color": "white"
1656
- }, {
1657
- default: i(() => [
1658
- e(I, {
1659
- amount: t.refundAmount,
1660
- class: "font-weight-bold",
1661
- currency: t.booking.currency
1662
- }, null, 8, ["amount", "currency"])
1663
- ]),
1664
- _: 1
1665
- })
1666
- ])
1667
- ]),
1668
- _: 1
1669
- }),
1670
- n("small", Ne, a(t.t("BookingManager.cancelDialog.details")), 1)
1671
- ]),
1672
- _: 1
1673
- }),
1674
- e(Y, { class: "justify-end" }, {
1675
- default: i(() => [
1676
- e(M, {
1677
- class: "text-none",
1678
- color: "error",
1679
- onClick: t.onCancelConfirm
1680
- }, {
1681
- default: i(() => [
1682
- l(a(t.t("BookingManager.cancelDialog.confirm", {
1683
- n: t.penaltyAmount
1684
- })) + " ", 1),
1685
- o[8] || (o[8] = n("span", { class: "mx-1" }, null, -1)),
1686
- t.penaltyAmount ? (c(), w(I, {
1687
- key: 0,
1688
- amount: t.penaltyAmount,
1689
- class: "font-weight-bold",
1690
- currency: t.booking.currency
1691
- }, null, 8, ["amount", "currency"])) : v("", !0)
1536
+ default: i(() => [
1537
+ e(N, {
1538
+ class: "text-none font-weight-bold",
1539
+ color: "error",
1540
+ onClick: o[0] || (o[0] = (p) => t.isCancelModalDisplayed = !0)
1541
+ }, {
1542
+ default: i(() => [
1543
+ l(a(t.t("BookingManager.actions.cancel")), 1)
1544
+ ]),
1545
+ _: 1
1546
+ }),
1547
+ e(J, {
1548
+ modelValue: t.isCancelModalDisplayed,
1549
+ "onUpdate:modelValue": o[2] || (o[2] = (p) => t.isCancelModalDisplayed = p),
1550
+ attach: t.$parent?.$el,
1551
+ "max-width": "600px"
1552
+ }, {
1553
+ default: i(() => [
1554
+ e(v, null, {
1555
+ default: i(() => [
1556
+ e(zt, {
1557
+ color: "grey-lighten-3",
1558
+ elevation: "0",
1559
+ height: "100%"
1560
+ }, {
1561
+ default: i(() => [
1562
+ n("h3", null, a(t.t("BookingManager.cancelDialog.title", {
1563
+ hotelName: t.hotel.name
1564
+ })), 1)
1565
+ ]),
1566
+ _: 1
1567
+ }),
1568
+ e(z, { class: "mt-5" }, {
1569
+ default: i(() => [
1570
+ e(U, {
1571
+ class: "pa-4",
1572
+ border: "",
1573
+ rounded: ""
1574
+ }, {
1575
+ default: i(() => [
1576
+ n("p", null, [
1577
+ n("b", null, a(t.t("BookingManager.cancellationPolicy")), 1)
1692
1578
  ]),
1693
- _: 1,
1694
- __: [8]
1695
- }, 8, ["onClick"]),
1696
- e(M, {
1697
- color: "secondary",
1698
- variant: "text",
1699
- onClick: o[1] || (o[1] = (f) => t.isCancelModalDisplayed = !1)
1700
- }, {
1701
- default: i(() => [
1702
- l(a(t.t("BookingManager.cancelDialog.cancel")), 1)
1579
+ t.hotel.timezone ? (c(), g("div", Be, [
1580
+ e(w, {
1581
+ class: "text-grey-darken-1",
1582
+ "cancellation-policies": t.sanitizedCancellationPolicies,
1583
+ "check-in-date": t.booking.checkInDate,
1584
+ "initial-date": t.booking.createdAt,
1585
+ timezone: t.hotel.timezone
1586
+ }, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
1587
+ ])) : h("", !0)
1588
+ ]),
1589
+ _: 1
1590
+ }),
1591
+ e(U, {
1592
+ class: "mt-2 pa-4",
1593
+ border: "",
1594
+ rounded: ""
1595
+ }, {
1596
+ default: i(() => [
1597
+ n("p", null, a(t.t("BookingManager.cancelDialog.cancelDetail")), 1),
1598
+ n("p", null, [
1599
+ n("b", null, a(t.t("BookingManager.cancelDialog.penaltyAmount")), 1),
1600
+ e(O, {
1601
+ color: "error",
1602
+ regular: "",
1603
+ style: { "vertical-align": "bottom" },
1604
+ "text-color": "white"
1605
+ }, {
1606
+ default: i(() => [
1607
+ e(D, {
1608
+ amount: t.penaltyAmount,
1609
+ class: "font-weight-bold",
1610
+ currency: t.booking.currency
1611
+ }, null, 8, ["amount", "currency"])
1612
+ ]),
1613
+ _: 1
1614
+ })
1703
1615
  ]),
1704
- _: 1
1705
- })
1706
- ]),
1707
- _: 1
1708
- })
1709
- ]),
1710
- _: 1
1711
- })
1712
- ]),
1713
- _: 1
1714
- }, 8, ["modelValue", "attach"])
1715
- ];
1716
- }),
1616
+ n("p", we, [
1617
+ n("b", null, a(t.t("BookingManager.cancelDialog.refundAmount")), 1),
1618
+ e(O, {
1619
+ color: "success",
1620
+ regular: "",
1621
+ style: { "vertical-align": "bottom" },
1622
+ "text-color": "white"
1623
+ }, {
1624
+ default: i(() => [
1625
+ e(D, {
1626
+ amount: t.refundAmount,
1627
+ class: "font-weight-bold",
1628
+ currency: t.booking.currency
1629
+ }, null, 8, ["amount", "currency"])
1630
+ ]),
1631
+ _: 1
1632
+ })
1633
+ ])
1634
+ ]),
1635
+ _: 1
1636
+ }),
1637
+ n("small", De, a(t.t("BookingManager.cancelDialog.details")), 1)
1638
+ ]),
1639
+ _: 1
1640
+ }),
1641
+ e(Y, { class: "justify-end" }, {
1642
+ default: i(() => [
1643
+ e(N, {
1644
+ class: "text-none",
1645
+ color: "error",
1646
+ onClick: t.onCancelConfirm
1647
+ }, {
1648
+ default: i(() => [
1649
+ l(a(t.t("BookingManager.cancelDialog.confirm", {
1650
+ n: t.penaltyAmount
1651
+ })) + " ", 1),
1652
+ o[8] || (o[8] = n("span", { class: "mx-1" }, null, -1)),
1653
+ t.penaltyAmount ? (c(), C(D, {
1654
+ key: 0,
1655
+ amount: t.penaltyAmount,
1656
+ class: "font-weight-bold",
1657
+ currency: t.booking.currency
1658
+ }, null, 8, ["amount", "currency"])) : h("", !0)
1659
+ ]),
1660
+ _: 1,
1661
+ __: [8]
1662
+ }, 8, ["onClick"]),
1663
+ e(N, {
1664
+ color: "secondary",
1665
+ variant: "text",
1666
+ onClick: o[1] || (o[1] = (p) => t.isCancelModalDisplayed = !1)
1667
+ }, {
1668
+ default: i(() => [
1669
+ l(a(t.t("BookingManager.cancelDialog.cancel")), 1)
1670
+ ]),
1671
+ _: 1
1672
+ })
1673
+ ]),
1674
+ _: 1
1675
+ })
1676
+ ]),
1677
+ _: 1
1678
+ })
1679
+ ]),
1680
+ _: 1
1681
+ }, 8, ["modelValue", "attach"])
1682
+ ]),
1717
1683
  _: 1
1718
- })) : v("", !0),
1719
- t.isBookingAvailable ? (c(), w(u, {
1684
+ })) : h("", !0),
1685
+ t.isBookingAvailable ? (c(), C(u, {
1720
1686
  key: 1,
1721
1687
  class: "py-0",
1722
1688
  cols: "12"
1723
1689
  }, {
1724
1690
  default: i(() => [
1725
- e(M, {
1691
+ e(N, {
1726
1692
  class: "text-none font-weight-bold",
1727
1693
  variant: "text",
1728
- onClick: o[3] || (o[3] = (b) => t.isNewModalDisplayed = !0)
1694
+ onClick: o[3] || (o[3] = (p) => t.isNewModalDisplayed = !0)
1729
1695
  }, {
1730
1696
  default: i(() => [
1731
- e(V, { start: "" }, {
1697
+ e(_, { start: "" }, {
1732
1698
  default: i(() => o[9] || (o[9] = [
1733
1699
  l(" fas fa-edit ")
1734
1700
  ])),
@@ -1739,14 +1705,14 @@ function Ie(t, o, d, p, D, C) {
1739
1705
  ]),
1740
1706
  _: 1
1741
1707
  }),
1742
- e(tt, {
1708
+ e(X, {
1743
1709
  modelValue: t.isNewModalDisplayed,
1744
- "onUpdate:modelValue": o[4] || (o[4] = (b) => t.isNewModalDisplayed = b),
1745
- onConfirm: o[5] || (o[5] = (b) => t.isCancelModalDisplayed = !0)
1710
+ "onUpdate:modelValue": o[4] || (o[4] = (p) => t.isNewModalDisplayed = p),
1711
+ onConfirm: o[5] || (o[5] = (p) => t.isCancelModalDisplayed = !0)
1746
1712
  }, null, 8, ["modelValue"])
1747
1713
  ]),
1748
1714
  _: 1
1749
- })) : v("", !0)
1715
+ })) : h("", !0)
1750
1716
  ]),
1751
1717
  _: 1
1752
1718
  })
@@ -1754,7 +1720,7 @@ function Ie(t, o, d, p, D, C) {
1754
1720
  key: "14"
1755
1721
  } : void 0
1756
1722
  ]), 1024),
1757
- t.hasError ? (c(), w(nt, { key: 0 }, {
1723
+ t.hasError ? (c(), C(et, { key: 0 }, {
1758
1724
  title: i(() => [
1759
1725
  l(a(t.t("BookingManager.error.title")), 1)
1760
1726
  ]),
@@ -1762,28 +1728,28 @@ function Ie(t, o, d, p, D, C) {
1762
1728
  l(a(t.t("BookingManager.error.description")), 1)
1763
1729
  ]),
1764
1730
  _: 1
1765
- })) : v("", !0)
1731
+ })) : h("", !0)
1766
1732
  ]);
1767
1733
  }
1768
1734
  typeof G == "function" && G(Q);
1769
- const Me = /* @__PURE__ */ A(Q, [["render", Ie]]), Pe = S({
1735
+ const Ne = /* @__PURE__ */ j(Q, [["render", Ce]]), Ie = V({
1770
1736
  components: {
1771
- BookingManager: Me,
1772
- WebComponentWrapper: kt
1737
+ BookingManager: Ne,
1738
+ WebComponentWrapper: ft
1773
1739
  },
1774
1740
  props: K
1775
1741
  });
1776
- function $e(t, o, d, p, D, C) {
1777
- const N = g("BookingManager", !0), R = g("WebComponentWrapper");
1778
- return c(), w(R, null, {
1742
+ function Me(t, o, f, I, $, y) {
1743
+ const B = d("BookingManager", !0), M = d("WebComponentWrapper");
1744
+ return c(), C(M, null, {
1779
1745
  default: i(() => [
1780
- e(N, dt(bt(t.$props)), null, 16)
1746
+ e(B, bt(gt(t.$props)), null, 16)
1781
1747
  ]),
1782
1748
  _: 1
1783
1749
  });
1784
1750
  }
1785
- const Ke = /* @__PURE__ */ A(Pe, [["render", $e]]);
1751
+ const Ye = /* @__PURE__ */ j(Ie, [["render", Me]]);
1786
1752
  export {
1787
- Ke as default
1753
+ Ye as default
1788
1754
  };
1789
- //# sourceMappingURL=revolugo.bookingmanager.B5cM9Mi5.min.js.map
1755
+ //# sourceMappingURL=revolugo.bookingmanager.BEFqmO93.min.js.map