@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,947 +0,0 @@
1
- import { d as B, b as w, u as _, k as I, i as v, a as s, w as n, c as b, g as M, r as y, y as F, e as h, f as p, t as i, o as d, C as S, D as Z, A as W, H as x, v as L, F as N, j as tt } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { s as O } from "./revolugo.use-breakpoint-service.CJltQiSH.min.js";
3
- import { B as et } from "./revolugo.bdaterangepicker.XZNoMSi5.min.js";
4
- import { d as z } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
5
- import { _ as U, C as nt, V as $, a as C } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
6
- import { a as g } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
7
- import { V } from "./revolugo.index.gIPq0z7C.min.js";
8
- import { V as st } from "./revolugo.vbadge.D1RCkHoZ.min.js";
9
- import { V as q } from "./revolugo.vmenu.BRFw3Jzk.min.js";
10
- import { V as Y, b as at } from "./revolugo.vcard.DNU4i52n.min.js";
11
- import { b as ot, V as R, a as E } from "./revolugo.vlist.hRQlcp5M.min.js";
12
- import { V as it } from "./revolugo.vinput.P34xrpIC.min.js";
13
- import { V as lt } from "./revolugo.vspacer.CPbtu_-W.min.js";
14
- import { V as ut } from "./revolugo.vform.Bw9rddZZ.min.js";
15
- import { V as rt } from "./revolugo.position.hqKd4K_h.min.js";
16
- function Q(t) {
17
- try {
18
- if (typeof document < "u") {
19
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
20
- sheets: [],
21
- components: []
22
- };
23
- const e = import.meta.url, a = e.slice(0, e.lastIndexOf("/") + 1) + t;
24
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
25
- for (const l of REVOLUGO_ELEMENTS_STYLES.components)
26
- l(a);
27
- if (t.indexOf("fonts") >= 0) {
28
- const l = document.createElement("link");
29
- l.rel = "stylesheet", linK.href = a, document.head.appendChild(l);
30
- }
31
- }
32
- } catch (e) {
33
- console.error("[revolugo-elements] ", e);
34
- }
35
- }
36
- const dt = {
37
- modelValue: {
38
- type: Array
39
- }
40
- }, H = B({
41
- components: {
42
- BDateRangePicker: et
43
- },
44
- computed: {
45
- nightCount() {
46
- return !this.model || this.model.length < 2 ? 0 : I(this.model[1]).diff(I(this.model[0]), "day");
47
- },
48
- readableDateRange() {
49
- return this.model && this.model.map(
50
- (t) => I(t).toDate().toLocaleString(this.$i18n.locale, {
51
- day: "2-digit",
52
- month: "short",
53
- weekday: "short",
54
- year: "numeric"
55
- })
56
- );
57
- },
58
- today() {
59
- return I().format("YYYY-MM-DD");
60
- }
61
- },
62
- data() {
63
- return {
64
- isMenuOpen: !1,
65
- model: this.modelValue
66
- };
67
- },
68
- methods: {
69
- dateRangeUpdated() {
70
- this.isMenuOpen = !1, this.$emit("update:modelValue", this.model);
71
- }
72
- },
73
- mixins: [w, z],
74
- name: "DateRangePickerMenu",
75
- props: dt,
76
- setup() {
77
- const { t } = _();
78
- return {
79
- t
80
- };
81
- },
82
- watch: {
83
- model() {
84
- this.dateRangeUpdated();
85
- },
86
- modelValue: {
87
- deep: !0,
88
- handler(t) {
89
- t && (this.model = O(t[0], t[1]));
90
- },
91
- immediate: !0
92
- }
93
- }
94
- });
95
- function G(t) {
96
- const e = t;
97
- e.__i18n = e.__i18n || [], e.__i18n.push({
98
- locale: "",
99
- resource: {
100
- "en-US": {
101
- BDateRangePickerMenu: {
102
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
103
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
104
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
105
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "night" }, { t: 2, i: [{ t: 3 }], s: "nights" }] } },
106
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Travelers" } },
107
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooms" } }
108
- }
109
- },
110
- "fr-FR": {
111
- BDateRangePickerMenu: {
112
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Arrivée" } },
113
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Départ" } },
114
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
115
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nuit" }, { t: 2, i: [{ t: 3 }], s: "nuits" }] } },
116
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voyageurs" } },
117
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Chambres" } }
118
- }
119
- },
120
- "de-DE": {
121
- BDateRangePickerMenu: {
122
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
123
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
124
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Daten" } },
125
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nacht" }, { t: 2, i: [{ t: 3 }], s: "Nächte" }] } },
126
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reisende" } },
127
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmer" } }
128
- }
129
- },
130
- "es-ES": {
131
- BDateRangePickerMenu: {
132
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrada" } },
133
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salida" } },
134
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fechas" } },
135
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noche" }, { t: 2, i: [{ t: 3 }], s: "noches" }] } },
136
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajeros" } },
137
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Habitaciones" } }
138
- }
139
- },
140
- "it-IT": {
141
- BDateRangePickerMenu: {
142
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
143
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
144
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date" } },
145
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "notte" }, { t: 2, i: [{ t: 3 }], s: "notti" }] } },
146
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viaggiatori" } },
147
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Camere" } }
148
- }
149
- },
150
- "nl-NL": {
151
- BDateRangePickerMenu: {
152
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
153
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
154
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datums" } },
155
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nacht" }, { t: 2, i: [{ t: 3 }], s: "nachten" }] } },
156
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reizigers" } },
157
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamers" } }
158
- }
159
- },
160
- "pt-PT": {
161
- BDateRangePickerMenu: {
162
- checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
163
- checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
164
- date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datas" } },
165
- nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noite" }, { t: 2, i: [{ t: 3 }], s: "noites" }] } },
166
- traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajantes" } },
167
- room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quartos" } }
168
- }
169
- }
170
- }
171
- });
172
- }
173
- function mt(t, e, a, l, r, c) {
174
- const u = y("BDateRangePicker");
175
- return d(), v("div", null, [
176
- s(q, {
177
- modelValue: t.isMenuOpen,
178
- "onUpdate:modelValue": e[1] || (e[1] = (o) => t.isMenuOpen = o),
179
- attach: t.$dialogAttach,
180
- class: "date-range-picker",
181
- "close-on-content-click": !1,
182
- "min-width": t.$breakpointService.xs ? "100%" : "570px"
183
- }, {
184
- activator: n(({ props: o }) => [
185
- s(g, F(o, {
186
- color: "primary",
187
- "data-cy": "b-date-range-picker-btn",
188
- "data-attr": "b-date-range-picker-btn",
189
- elevation: "0",
190
- "min-width": "100%",
191
- size: "small"
192
- }), {
193
- default: n(() => [
194
- s(V, { class: "pr-1" }, {
195
- default: n(() => e[2] || (e[2] = [
196
- p(" fas fa-calendar-days ")
197
- ])),
198
- _: 1,
199
- __: [2]
200
- }),
201
- h("b", null, i(t.readableDateRange && t.readableDateRange[0] || t.t("BDateRangePickerMenu.checkIn")), 1),
202
- s(V, { class: "mx-1" }, {
203
- default: n(() => e[3] || (e[3] = [
204
- p(" fas fa-long-arrow-alt-right ")
205
- ])),
206
- _: 1,
207
- __: [3]
208
- }),
209
- s(st, {
210
- bordered: "",
211
- color: "secondary",
212
- content: `${t.nightCount} ${t.t("BDateRangePickerMenu.nights", {
213
- n: t.nightCount
214
- })}`,
215
- "offset-x": "0",
216
- "offset-y": "-5",
217
- floating: "",
218
- style: { "z-index": "1" },
219
- "model-value": t.nightCount > 0
220
- }, {
221
- default: n(() => [
222
- h("b", null, i(t.readableDateRange && t.readableDateRange[1] || t.t("BDateRangePickerMenu.checkOut")), 1)
223
- ]),
224
- _: 1
225
- }, 8, ["content", "model-value"])
226
- ]),
227
- _: 2
228
- }, 1040)
229
- ]),
230
- default: n(() => [
231
- t.isMenuOpen ? (d(), b(u, {
232
- key: 0,
233
- modelValue: t.model,
234
- "onUpdate:modelValue": e[0] || (e[0] = (o) => t.model = o),
235
- class: "ma-0"
236
- }, null, 8, ["modelValue"])) : M("", !0)
237
- ]),
238
- _: 1
239
- }, 8, ["modelValue", "attach", "min-width"])
240
- ]);
241
- }
242
- typeof G == "function" && G(H);
243
- const ct = /* @__PURE__ */ U(H, [["render", mt], ["__scopeId", "data-v-f0602770"]]), ht = /\.\d*[09]{10}\d*$/u, P = (t, e = 1e11) => ht.test(String(t)) ? Math.round(t * e) / e : t, pt = { class: "d-flex align-center" }, bt = /* @__PURE__ */ B({
244
- __name: "BNumberInput",
245
- props: {
246
- max: { default: Number.POSITIVE_INFINITY },
247
- min: { default: Number.NEGATIVE_INFINITY },
248
- step: { default: 1 },
249
- modelValue: {}
250
- },
251
- emits: ["update:modelValue"],
252
- setup(t, { emit: e }) {
253
- const a = t, l = e, r = S(), c = S(0), u = S(200), o = Z(
254
- () => `${Math.max(String(a.modelValue).length, 3) + 4}ch`
255
- );
256
- function m() {
257
- l(
258
- "update:modelValue",
259
- P(a.modelValue - a.step)
260
- );
261
- }
262
- function f() {
263
- l(
264
- "update:modelValue",
265
- P(a.modelValue + a.step)
266
- );
267
- }
268
- function A(D) {
269
- r.value = window.setInterval(() => {
270
- D(), c.value += u.value, c.value > 1e3 && (r.value && clearInterval(r.value), r.value = void 0, u.value /= 2, c.value = 0, A(D));
271
- }, u.value);
272
- }
273
- function k() {
274
- r.value && clearInterval(r.value), r.value = void 0, u.value = 200, c.value = 0;
275
- }
276
- function X() {
277
- f(), A(() => {
278
- f();
279
- });
280
- }
281
- function J() {
282
- m(), A(() => {
283
- m();
284
- });
285
- }
286
- return (D, _t) => (d(), v("div", pt, [
287
- s(g, {
288
- color: "primary",
289
- disabled: a.modelValue === a.min,
290
- elevation: "0",
291
- icon: "",
292
- variant: "outlined",
293
- size: "x-small",
294
- onMousedown: J,
295
- onMouseout: k,
296
- onMouseup: k
297
- }, {
298
- default: n(() => [
299
- s(V, { icon: "fas fa-minus" })
300
- ]),
301
- _: 1
302
- }, 8, ["disabled"]),
303
- h("b", {
304
- class: "text-primary px-4 text-center",
305
- style: W({
306
- width: o.value
307
- })
308
- }, i(a.modelValue), 5),
309
- s(g, {
310
- color: "primary",
311
- disabled: a.modelValue === a.max,
312
- elevation: "0",
313
- icon: "",
314
- variant: "outlined",
315
- size: "x-small",
316
- onMousedown: X,
317
- onMouseout: k,
318
- onMouseup: k
319
- }, {
320
- default: n(() => [
321
- s(V, { icon: "fas fa-plus" })
322
- ]),
323
- _: 1
324
- }, 8, ["disabled"])
325
- ]));
326
- }
327
- }), ft = 200, gt = 200, Ct = 5, vt = 200, T = 4, Vt = {
328
- maxAdultCount: {
329
- default: ft,
330
- type: Number
331
- },
332
- maxChildCount: {
333
- default: gt,
334
- type: Number
335
- },
336
- maxRoomCount: {
337
- default: vt,
338
- type: Number
339
- },
340
- modelValue: { type: Object }
341
- }, kt = /^(?:[0-9]|0[1-9]|1[0-7])(,(?:[1-9]|0[1-9]|1[0-7]))*,*$/u, K = B({
342
- components: {
343
- BNumberInput: bt
344
- },
345
- computed: {
346
- adultCountRange() {
347
- return [
348
- this.roomCount,
349
- Math.min(this.maxAdultCount, this.roomCount * T)
350
- ];
351
- },
352
- childCount: {
353
- get() {
354
- return this.childrenFormatted.length;
355
- },
356
- set(t) {
357
- this.children = t > this.childrenFormatted.length ? [...this.childrenFormatted, -1].join(",") : this.childrenFormatted.slice(0, -1).join(",");
358
- }
359
- },
360
- childCountRange() {
361
- return [0, this.adultCount * Ct];
362
- },
363
- childrenFormatted: {
364
- get() {
365
- var t;
366
- return (t = this.children) != null && t.length ? this.children.split(",").map(Number) : [];
367
- },
368
- set(t) {
369
- this.children = t.join(",");
370
- }
371
- },
372
- childrenSelectOptions() {
373
- return Array.from({ length: 18 }, (t, e) => ({
374
- text: e === 0 ? this.t("BGuestsInputs.under12months").toString() : `${e} ${this.t("BGuestsInputs.age", { n: e })}`,
375
- value: e
376
- }));
377
- },
378
- roomCountRange() {
379
- return [
380
- Math.ceil(this.adultCount / T),
381
- Math.min(this.maxRoomCount, this.adultCount)
382
- ];
383
- }
384
- },
385
- data() {
386
- var t, e, a, l, r, c;
387
- return {
388
- adultCount: ((t = this.modelValue) == null ? void 0 : t.adultCount) ?? 1,
389
- children: ((e = this.modelValue) == null ? void 0 : e.children) ?? null,
390
- childrenRules: [(u) => u > -1],
391
- isMenuOpen: !1,
392
- previousState: {
393
- adultCount: ((a = this.modelValue) == null ? void 0 : a.adultCount) ?? 1,
394
- children: ((l = this.modelValue) == null ? void 0 : l.children) ?? null,
395
- roomCount: ((r = this.modelValue) == null ? void 0 : r.roomCount) ?? 1
396
- },
397
- roomCount: ((c = this.modelValue) == null ? void 0 : c.roomCount) ?? 1,
398
- valid: !1
399
- };
400
- },
401
- methods: {
402
- adultCountUpdated(t) {
403
- this.adultCount = t, this.roomCount = Math.min(
404
- Math.max(this.roomCount, this.roomCountRange[0]),
405
- this.roomCountRange[1]
406
- );
407
- },
408
- emitValue() {
409
- this.$emit("update:modelValue", {
410
- adultCount: this.adultCount,
411
- children: this.children,
412
- roomCount: this.roomCount
413
- });
414
- },
415
- onCancel(t) {
416
- this.adultCount = this.previousState.adultCount, this.children = this.previousState.children, this.roomCount = this.previousState.roomCount, t === !0 && (this.isMenuOpen = !1);
417
- },
418
- onChildAgeUpdate(t, e) {
419
- const a = t.target, l = Number(a.value);
420
- this.childrenFormatted = [
421
- ...this.childrenFormatted.slice(0, e),
422
- l,
423
- ...this.childrenFormatted.slice(e + 1)
424
- ];
425
- },
426
- onSave() {
427
- var t;
428
- (t = this.$refs.form) != null && t.validate() && (this.previousState = {
429
- adultCount: this.adultCount,
430
- children: this.children,
431
- roomCount: this.roomCount
432
- }, this.emitValue(), this.isMenuOpen = !1);
433
- },
434
- roomCountUpdated(t) {
435
- this.roomCount = t, this.adultCount = Math.min(
436
- Math.max(this.adultCount, this.adultCountRange[0]),
437
- this.adultCountRange[1]
438
- );
439
- }
440
- },
441
- mixins: [w, z],
442
- name: "BGuestsInputs",
443
- props: Vt,
444
- setup() {
445
- const { t } = _();
446
- return {
447
- t
448
- };
449
- },
450
- watch: {
451
- isMenuOpen(t) {
452
- t === !1 ? this.emitValue() : this.previousState = {
453
- adultCount: this.adultCount,
454
- children: this.children,
455
- roomCount: this.roomCount
456
- };
457
- },
458
- modelValue: {
459
- deep: !0,
460
- handler(t, e) {
461
- t && (t.children && kt.test(t.children) ? (this.children = t.children.replace(/(^,*)|(,*$)/gu, ""), this.childrenFormatted.length > this.childCountRange[1] && (this.children = this.childrenFormatted.slice(this.childCountRange[1]).join(","))) : this.children = null, t.adultCount && (!e || t.adultCount !== e.adultCount) ? (this.adultCount = Math.min(t.adultCount, this.maxAdultCount), this.roomCount = Math.min(
462
- Math.max(t.roomCount || 0, this.roomCountRange[0]),
463
- this.roomCountRange[1]
464
- )) : t.roomCount && (!e || t.roomCount !== e.roomCount) && (this.roomCount = Math.min(t.roomCount, this.maxRoomCount), this.adultCount = Math.min(
465
- Math.max(t.adultCount || 0, this.adultCountRange[0]),
466
- this.adultCountRange[1]
467
- )), this.emitValue());
468
- },
469
- immediate: !0
470
- }
471
- }
472
- });
473
- function j(t) {
474
- const e = t;
475
- e.__i18n = e.__i18n || [], e.__i18n.push({
476
- locale: "",
477
- resource: {
478
- "en-US": {
479
- BGuestsInputs: {
480
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "year old" }, { t: 2, i: [{ t: 3 }], s: "years old" }] } },
481
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
482
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Child" }, { t: 2, i: [{ t: 3 }], s: "Children" }] } },
483
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ages 0 - 17" } },
484
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "To find a place to stay that fits your entire group along with correct prices, we need to know how old your children will be at check-out." } },
485
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age required" } },
486
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Room" }, { t: 2, i: [{ t: 3 }], s: "Rooms" }] } },
487
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Save" } },
488
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adult" }, { t: 2, i: [{ t: 3 }], s: "Adults" }] } },
489
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Under 12 months" } }
490
- }
491
- },
492
- "fr-FR": {
493
- BGuestsInputs: {
494
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "an" }, { t: 2, i: [{ t: 3 }], s: "ans" }] } },
495
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
496
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Enfant" }, { t: 2, i: [{ t: 3 }], s: "Enfant" }, { t: 2, i: [{ t: 3 }], s: "Enfants" }] } },
497
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De 0 à 17 ans" } },
498
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pour trouver un hébergement pouvant accueillir votre groupe et afficher les bons tarifs, nous avons besoin de connaître l'âge qu'auront vos enfants à la fin du séjour." } },
499
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age requis" } },
500
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Chambre" }, { t: 2, i: [{ t: 3 }], s: "Chambres" }] } },
501
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Enregistrer" } },
502
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulte" }, { t: 2, i: [{ t: 3 }], s: "Adultes" }] } },
503
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moins de 12 mois" } }
504
- }
505
- },
506
- "de-DE": {
507
- BGuestsInputs: {
508
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Jahr alt" }, { t: 2, i: [{ t: 3 }], s: "Jahre alt" }] } },
509
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
510
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinder" }] } },
511
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter 0 - 17" } },
512
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Um eine Unterkunft zu finden, die für Ihre gesamte Gruppe geeignet ist und die korrekten Preise anzeigt, müssen wir wissen, wie alt Ihre Kinder beim Check-out sein werden." } },
513
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter erforderlich" } },
514
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Zimmer" }, { t: 2, i: [{ t: 3 }], s: "Zimmer" }] } },
515
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Speichern" } },
516
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Erwachsener" }, { t: 2, i: [{ t: 3 }], s: "Erwachsene" }] } },
517
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unter 12 Monate" } }
518
- }
519
- },
520
- "es-ES": {
521
- BGuestsInputs: {
522
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "año" }, { t: 2, i: [{ t: 3 }], s: "años" }] } },
523
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
524
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Niño" }, { t: 2, i: [{ t: 3 }], s: "Niños" }] } },
525
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edades de 0 a 17" } },
526
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Para encontrar un alojamiento que se adapte a todo tu grupo y mostrar los precios correctos, necesitamos saber cuántos años tendrán tus hijos al hacer el check-out." } },
527
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edad requerida" } },
528
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Habitación" }, { t: 2, i: [{ t: 3 }], s: "Habitaciones" }] } },
529
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
530
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
531
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
532
- }
533
- },
534
- "it-IT": {
535
- BGuestsInputs: {
536
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "anno" }, { t: 2, i: [{ t: 3 }], s: "anni" }] } },
537
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
538
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bambino" }, { t: 2, i: [{ t: 3 }], s: "Bambini" }] } },
539
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età 0 - 17" } },
540
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Per trovare un alloggio adatto a tutto il tuo gruppo e visualizzare i prezzi corretti, dobbiamo sapere quanti anni avranno i tuoi figli al momento del check-out." } },
541
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età richiesta" } },
542
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Camera" }, { t: 2, i: [{ t: 3 }], s: "Camere" }] } },
543
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salva" } },
544
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adulti" }] } },
545
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meno di 12 mesi" } }
546
- }
547
- },
548
- "nl-NL": {
549
- BGuestsInputs: {
550
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "jaar oud" }, { t: 2, i: [{ t: 3 }], s: "jaren oud" }] } },
551
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
552
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinderen" }] } },
553
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd 0 - 17" } },
554
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Om een verblijfplaats te vinden die geschikt is voor uw hele groep en de juiste prijzen weergeeft, moeten we weten hoe oud uw kinderen zijn bij het uitchecken." } },
555
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd vereist" } },
556
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kamer" }, { t: 2, i: [{ t: 3 }], s: "Kamers" }] } },
557
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Opslaan" } },
558
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Volwassene" }, { t: 2, i: [{ t: 3 }], s: "Volwassenen" }] } },
559
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Jonger dan 12 maanden" } }
560
- }
561
- },
562
- "pt-PT": {
563
- BGuestsInputs: {
564
- age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "ano" }, { t: 2, i: [{ t: 3 }], s: "anos" }] } },
565
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
566
- children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Criança" }, { t: 2, i: [{ t: 3 }], s: "Crianças" }] } },
567
- childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idades 0 - 17" } },
568
- childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Para encontrar um alojamento adequado a todo o seu grupo e apresentar os preços corretos, precisamos de saber quantos anos terão os seus filhos no check-out." } },
569
- requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idade obrigatória" } },
570
- rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Quarto" }, { t: 2, i: [{ t: 3 }], s: "Quartos" }] } },
571
- save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
572
- travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
573
- under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
574
- }
575
- }
576
- }
577
- });
578
- }
579
- const It = { class: "d-flex align-center" }, Rt = { class: "d-flex align-center" }, Mt = { class: "d-block text-caption" }, yt = ["value", "onInput"], Bt = {
580
- value: "-1",
581
- disabled: "",
582
- selected: ""
583
- }, At = ["value"], Dt = { class: "d-flex align-center" };
584
- function St(t, e, a, l, r, c) {
585
- const u = y("BNumberInput");
586
- return d(), b(q, {
587
- modelValue: t.isMenuOpen,
588
- "onUpdate:modelValue": e[5] || (e[5] = (o) => t.isMenuOpen = o),
589
- attach: t.$dialogAttach,
590
- "close-on-content-click": !1,
591
- "max-width": t.$breakpointService.xs ? "100%" : "340px",
592
- "min-width": t.$breakpointService.xs ? "100%" : "340px",
593
- "offset-y": ""
594
- }, {
595
- activator: n(({ props: o }) => [
596
- s(g, F(o, {
597
- block: "",
598
- color: "primary",
599
- "data-cy": "b-guests-inputs-button",
600
- "data-attr": "b-guests-inputs-button",
601
- elevation: "0",
602
- size: "small"
603
- }), {
604
- default: n(() => [
605
- s(V, {
606
- class: "pr-2",
607
- style: "font-size: 12px;"
608
- }, {
609
- default: n(() => e[6] || (e[6] = [
610
- p(" fas fa-user ")
611
- ])),
612
- _: 1,
613
- __: [6]
614
- }),
615
- h("b", null, i(t.adultCount) + " " + i(t.t("BGuestsInputs.travelers", { n: t.adultCount })) + "   |    " + i(t.childCount) + " " + i(t.t("BGuestsInputs.children", { n: t.childCount })) + "   |    " + i(t.roomCount) + " " + i(t.t("BGuestsInputs.rooms", { n: t.roomCount })), 1)
616
- ]),
617
- _: 2
618
- }, 1040)
619
- ]),
620
- default: n(() => [
621
- x((d(), b(Y, { elevation: "1" }, {
622
- default: n(() => [
623
- s(ut, {
624
- ref: "form",
625
- modelValue: t.valid,
626
- "onUpdate:modelValue": e[4] || (e[4] = (o) => t.valid = o)
627
- }, {
628
- default: n(() => [
629
- s(ot, { density: "compact" }, {
630
- default: n(() => [
631
- s(R, { "data-cy": "adult-count-input" }, {
632
- default: n(() => [
633
- h("div", It, [
634
- s(E, { class: "font-weight-medium" }, {
635
- default: n(() => [
636
- p(i(t.t("BGuestsInputs.travelers", { n: 2 })), 1)
637
- ]),
638
- _: 1
639
- }),
640
- s(u, {
641
- class: "ml-auto",
642
- modelValue: t.adultCount,
643
- "onUpdate:modelValue": [
644
- e[0] || (e[0] = (o) => t.adultCount = o),
645
- t.adultCountUpdated
646
- ],
647
- "data-cy": "b-guests-inputs-adult-count-input",
648
- "data-attr": "b-guests-inputs-adult-count-input",
649
- max: t.maxAdultCount,
650
- min: 1
651
- }, null, 8, ["modelValue", "max", "onUpdate:modelValue"])
652
- ])
653
- ]),
654
- _: 1
655
- }),
656
- s(R, {
657
- class: "mt-2",
658
- "data-cy": "children-count-input"
659
- }, {
660
- default: n(() => [
661
- h("div", Rt, [
662
- s(E, { class: "font-weight-medium" }, {
663
- default: n(() => [
664
- p(i(t.t("BGuestsInputs.children", { n: 2 })) + " ", 1),
665
- h("span", Mt, i(t.t("BGuestsInputs.childrenAgeRange")), 1)
666
- ]),
667
- _: 1
668
- }),
669
- s(u, {
670
- class: "ml-auto",
671
- modelValue: t.childCount,
672
- "onUpdate:modelValue": e[1] || (e[1] = (o) => t.childCount = o),
673
- "data-cy": "b-guests-inputs-child-count-input",
674
- "data-attr": "b-guests-inputs-child-count-input",
675
- max: t.childCountRange[1],
676
- min: 0
677
- }, null, 8, ["modelValue", "max"])
678
- ])
679
- ]),
680
- _: 1
681
- }),
682
- t.childCount > 0 ? (d(), b(R, { key: 0 }, {
683
- default: n(() => [
684
- s($, { class: "mt-2" }, {
685
- default: n(() => [
686
- (d(!0), v(N, null, L(t.childrenFormatted, (o, m) => (d(), b(C, {
687
- key: m,
688
- class: "pt-0",
689
- cols: "6",
690
- sm: "6"
691
- }, {
692
- default: n(() => [
693
- s(it, {
694
- class: "child-age-input",
695
- "model-value": t.childrenFormatted[m],
696
- rules: t.childrenRules,
697
- "hide-details": ""
698
- }, {
699
- default: n(() => [
700
- h("select", {
701
- class: "child-age-input-select rounded w-full pa-2 text-body-2",
702
- value: t.childrenFormatted[m],
703
- onInput: (f) => t.onChildAgeUpdate(f, m)
704
- }, [
705
- h("option", Bt, i(t.t("BGuestsInputs.requiredChildAge")), 1),
706
- (d(!0), v(N, null, L(t.childrenSelectOptions, (f) => (d(), v("option", {
707
- value: f.value
708
- }, i(f.text), 9, At))), 256))
709
- ], 40, yt)
710
- ]),
711
- _: 2
712
- }, 1032, ["model-value", "rules"])
713
- ]),
714
- _: 2
715
- }, 1024))), 128))
716
- ]),
717
- _: 1
718
- })
719
- ]),
720
- _: 1
721
- })) : M("", !0),
722
- s(R, {
723
- class: "mt-2",
724
- "data-cy": "room-count-input"
725
- }, {
726
- default: n(() => [
727
- h("div", Dt, [
728
- s(E, { class: "font-weight-medium" }, {
729
- default: n(() => [
730
- p(i(t.t("BGuestsInputs.rooms", { n: 2 })), 1)
731
- ]),
732
- _: 1
733
- }),
734
- s(u, {
735
- class: "ml-auto",
736
- modelValue: t.roomCount,
737
- "onUpdate:modelValue": [
738
- e[2] || (e[2] = (o) => t.roomCount = o),
739
- t.roomCountUpdated
740
- ],
741
- "data-cy": "b-guests-inputs-room-count-input",
742
- "data-attr": "b-guests-inputs-room-count-input",
743
- max: t.maxRoomCount,
744
- min: 1
745
- }, null, 8, ["modelValue", "max", "onUpdate:modelValue"])
746
- ])
747
- ]),
748
- _: 1
749
- })
750
- ]),
751
- _: 1
752
- }),
753
- s(at, null, {
754
- default: n(() => [
755
- s(lt),
756
- s(g, {
757
- class: "text-right",
758
- color: "primary",
759
- elevation: "0",
760
- size: "small",
761
- variant: "text",
762
- onClick: e[3] || (e[3] = (o) => t.onCancel(!0))
763
- }, {
764
- default: n(() => [
765
- p(i(t.t("BGuestsInputs.cancel")), 1)
766
- ]),
767
- _: 1
768
- }),
769
- s(g, {
770
- class: "text-right",
771
- color: "primary",
772
- elevation: "0",
773
- size: "small",
774
- onClick: t.onSave
775
- }, {
776
- default: n(() => [
777
- p(i(t.t("BGuestsInputs.save")), 1)
778
- ]),
779
- _: 1
780
- }, 8, ["onClick"])
781
- ]),
782
- _: 1
783
- })
784
- ]),
785
- _: 1
786
- }, 8, ["modelValue"])
787
- ]),
788
- _: 1
789
- })), [
790
- [nt, t.onCancel]
791
- ])
792
- ]),
793
- _: 1
794
- }, 8, ["modelValue", "attach", "max-width", "min-width"]);
795
- }
796
- typeof j == "function" && j(K);
797
- const Et = /* @__PURE__ */ U(K, [["render", St], ["__scopeId", "data-v-bd00fed9"]]), Ot = {
798
- isFetching: { type: Boolean },
799
- loadingBarEnabled: {
800
- default: !0,
801
- type: Boolean
802
- },
803
- modelValue: {
804
- required: !0,
805
- type: Object
806
- },
807
- withBorder: {
808
- default: !1,
809
- type: Boolean
810
- }
811
- }, $t = B({
812
- components: {
813
- BDateRangePickerMenu: ct,
814
- BGuestsInputs: Et
815
- },
816
- computed: {
817
- dateRange: {
818
- get() {
819
- return O(
820
- this.modelValue.checkInDate,
821
- this.modelValue.checkOutDate
822
- );
823
- },
824
- set(t) {
825
- if (t[0] !== this.modelValue.checkInDate || t[1] !== this.modelValue.checkOutDate) {
826
- const [e, a] = O(...t);
827
- this.emitValue({
828
- ...this.modelValue,
829
- checkInDate: e,
830
- checkOutDate: a
831
- });
832
- }
833
- }
834
- },
835
- guestsInputsValue: {
836
- get() {
837
- return {
838
- adultCount: this.modelValue.adultCount,
839
- children: this.modelValue.children,
840
- roomCount: this.modelValue.roomCount
841
- };
842
- },
843
- set(t) {
844
- (t.adultCount !== this.modelValue.adultCount || t.children !== this.modelValue.children || t.roomCount !== this.modelValue.roomCount) && this.emitValue({
845
- ...this.modelValue,
846
- adultCount: t.adultCount,
847
- children: t.children,
848
- roomCount: t.roomCount
849
- });
850
- }
851
- }
852
- },
853
- methods: {
854
- emitValue(t) {
855
- this.$emit("update:modelValue", t);
856
- }
857
- },
858
- mixins: [w],
859
- name: "HotelSearchBar",
860
- props: Ot,
861
- setup() {
862
- const { t } = _();
863
- return {
864
- t
865
- };
866
- }
867
- });
868
- function wt(t, e, a, l, r, c) {
869
- const u = y("BDateRangePickerMenu"), o = y("BGuestsInputs");
870
- return d(), b(Y, {
871
- class: "pa-0",
872
- color: "transparent",
873
- elevation: "0",
874
- style: {
875
- overflow: "visible"
876
- }
877
- }, {
878
- default: n(() => [
879
- s($, { dense: "" }, {
880
- default: n(() => [
881
- s(C, {
882
- "align-self": "end",
883
- cols: "12",
884
- sm: "6"
885
- }, {
886
- default: n(() => [
887
- s(u, {
888
- modelValue: t.dateRange,
889
- "onUpdate:modelValue": e[0] || (e[0] = (m) => t.dateRange = m)
890
- }, null, 8, ["modelValue"])
891
- ]),
892
- _: 1
893
- }),
894
- s(C, {
895
- "align-self": "end",
896
- cols: "12",
897
- sm: t.$slots.after ? "5" : "6"
898
- }, {
899
- default: n(() => [
900
- s(o, {
901
- modelValue: t.guestsInputsValue,
902
- "onUpdate:modelValue": e[1] || (e[1] = (m) => t.guestsInputsValue = m)
903
- }, null, 8, ["modelValue"])
904
- ]),
905
- _: 1
906
- }, 8, ["sm"]),
907
- t.$slots.after ? (d(), b(C, {
908
- key: 0,
909
- class: "text-right",
910
- cols: "1"
911
- }, {
912
- default: n(() => [
913
- tt(t.$slots, "after", {}, void 0, !0)
914
- ]),
915
- _: 3
916
- })) : M("", !0)
917
- ]),
918
- _: 3
919
- }),
920
- s($, { "no-gutters": "" }, {
921
- default: n(() => [
922
- s(C, {
923
- cols: "12",
924
- sm: t.$slots.after ? "11" : "12"
925
- }, {
926
- default: n(() => [
927
- t.loadingBarEnabled && t.isFetching ? (d(), b(rt, {
928
- key: 0,
929
- color: "secondary",
930
- indeterminate: ""
931
- })) : M("", !0)
932
- ]),
933
- _: 1
934
- }, 8, ["sm"])
935
- ]),
936
- _: 1
937
- })
938
- ]),
939
- _: 3
940
- });
941
- }
942
- const Qt = /* @__PURE__ */ U($t, [["render", wt], ["__scopeId", "data-v-56630038"]]);
943
- Q("css/revolugo.bhotelsearchbar.Bl5_UFe8.css");
944
- export {
945
- Qt as B
946
- };
947
- //# sourceMappingURL=revolugo.bhotelsearchbar.DxxqZWkN.min.js.map