@revolugo/elements 6.8.3 → 6.9.0-rc.1

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
@@ -0,0 +1,829 @@
1
+ import { d as G, k as C, H as I, i as x, a as e, e as k, w as n, Z as ct, t as v, o as V, m as j, u as Q, l as q, Q as F, bN as mt, O as w, p as i, aB as ht, c as S, g as z, f as M, F as H, B as K, J as vt, bO as pt, D as W, R as ft, bP as bt, P as gt, q as N, j as Ct } from "./revolugo.index.wc.B-VISNof.min.js";
2
+ import { s as X } from "./revolugo.dates.CE3ChILc.min.js";
3
+ import { a as D } from "./revolugo.vbtn.ikEGbF2M.min.js";
4
+ import { V as L } from "./revolugo.vicon.0oYbTzMR.min.js";
5
+ import { u as tt } from "./revolugo.use-breakpoint-service.Bd-iL63O.min.js";
6
+ import { u as et } from "./revolugo.use-dialog-attach.CQ3SJvi2.min.js";
7
+ import { V as at } from "./revolugo.vmenu.DQI1PK0w.min.js";
8
+ import { V as st, b as Vt } from "./revolugo.vcard.k3F27b0_.min.js";
9
+ import { V as kt } from "./revolugo.vform.BuY4c-jG.min.js";
10
+ import { a as _t, V as U, b as P } from "./revolugo.vlist.Ds4pFDgs.min.js";
11
+ import { V as $, a as E, _ as nt } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
12
+ import { V as It } from "./revolugo.vinput.BhulYzYM.min.js";
13
+ import { V as At } from "./revolugo.vspacer.0M0DbPqW.min.js";
14
+ import { B as Mt } from "./revolugo.bdaterangepicker.CuXt5m8k.min.js";
15
+ import { V as yt } from "./revolugo.vbadge.DIKTZfYf.min.js";
16
+ import { V as xt } from "./revolugo.index.EVacDza9.min.js";
17
+ function dt(r) {
18
+ try {
19
+ if (typeof document < "u") {
20
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
21
+ sheets: [],
22
+ components: []
23
+ };
24
+ const t = import.meta.url, o = t.slice(0, t.lastIndexOf("/") + 1) + r;
25
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(o);
26
+ for (const l of REVOLUGO_ELEMENTS_STYLES.components)
27
+ l(o);
28
+ if (r.indexOf("fonts") >= 0) {
29
+ const l = document.createElement("link");
30
+ l.rel = "stylesheet", linK.href = o, document.head.appendChild(l);
31
+ }
32
+ }
33
+ } catch (t) {
34
+ console.error("[revolugo-elements] ", t);
35
+ }
36
+ }
37
+ const Dt = /\.\d*[09]{10}\d*$/u, Y = (r, t = 1e11) => Dt.test(String(r)) ? Math.round(r * t) / t : r, Bt = { class: "d-flex align-center" }, T = /* @__PURE__ */ G({
38
+ __name: "BNumberInput",
39
+ props: {
40
+ max: { default: Number.POSITIVE_INFINITY },
41
+ min: { default: Number.NEGATIVE_INFINITY },
42
+ step: { default: 1 },
43
+ modelValue: {}
44
+ },
45
+ emits: ["update:modelValue"],
46
+ setup(r, { emit: t }) {
47
+ const o = r, l = t, a = C(), c = C(0), m = C(200), h = I(
48
+ () => `${Math.max(String(o.modelValue).length, 3) + 4}ch`
49
+ );
50
+ function s() {
51
+ l(
52
+ "update:modelValue",
53
+ Y(o.modelValue - o.step)
54
+ );
55
+ }
56
+ function _() {
57
+ l(
58
+ "update:modelValue",
59
+ Y(o.modelValue + o.step)
60
+ );
61
+ }
62
+ function p(B) {
63
+ a.value = window.setInterval(() => {
64
+ B(), c.value += m.value, c.value > 1e3 && (a.value && clearInterval(a.value), a.value = void 0, m.value /= 2, c.value = 0, p(B));
65
+ }, m.value);
66
+ }
67
+ function d() {
68
+ a.value && clearInterval(a.value), a.value = void 0, m.value = 200, c.value = 0;
69
+ }
70
+ function b() {
71
+ _(), p(() => {
72
+ _();
73
+ });
74
+ }
75
+ function g() {
76
+ s(), p(() => {
77
+ s();
78
+ });
79
+ }
80
+ return (B, O) => (V(), x("div", Bt, [
81
+ e(D, {
82
+ color: "primary",
83
+ disabled: o.modelValue === o.min,
84
+ elevation: "0",
85
+ icon: "",
86
+ variant: "outlined",
87
+ size: "x-small",
88
+ onMousedown: g,
89
+ onMouseout: d,
90
+ onMouseup: d
91
+ }, {
92
+ default: n(() => [
93
+ e(L, { icon: "fas fa-minus" })
94
+ ]),
95
+ _: 1
96
+ }, 8, ["disabled"]),
97
+ k("b", {
98
+ class: "text-primary px-4 text-center",
99
+ style: ct({
100
+ width: h.value
101
+ })
102
+ }, v(o.modelValue), 5),
103
+ e(D, {
104
+ color: "primary",
105
+ disabled: o.modelValue === o.max,
106
+ elevation: "0",
107
+ icon: "",
108
+ variant: "outlined",
109
+ size: "x-small",
110
+ onMousedown: b,
111
+ onMouseout: d,
112
+ onMouseup: d
113
+ }, {
114
+ default: n(() => [
115
+ e(L, { icon: "fas fa-plus" })
116
+ ]),
117
+ _: 1
118
+ }, 8, ["disabled"])
119
+ ]));
120
+ }
121
+ }), Rt = { class: "d-flex align-center" }, wt = { class: "d-flex align-center" }, Et = { class: "d-block text-caption" }, St = ["onUpdate:modelValue"], Lt = {
122
+ value: "-1",
123
+ disabled: "",
124
+ selected: ""
125
+ }, Ot = ["value"], Ut = { class: "d-flex align-center" }, ot = /* @__PURE__ */ G({
126
+ __name: "BGuestsInputs",
127
+ props: /* @__PURE__ */ j({
128
+ maxAdultCount: { default: gt },
129
+ maxChildCount: { default: bt },
130
+ maxRoomCount: { default: ft }
131
+ }, {
132
+ modelValue: {
133
+ default: () => ({
134
+ adultCount: 0,
135
+ children: null,
136
+ roomCount: 0
137
+ })
138
+ },
139
+ modelModifiers: {}
140
+ }),
141
+ emits: ["update:modelValue"],
142
+ setup(r) {
143
+ const { t } = Q(), o = r, l = C(null), { $dialogAttach: a } = et(l), { $breakpointService: c } = tt(l), m = C(!1), h = q(r, "modelValue"), s = C({
144
+ adultCount: h.value.adultCount,
145
+ children: h.value.children?.split(",").map(Number) ?? [],
146
+ roomCount: h.value.roomCount
147
+ }), _ = I(() => [
148
+ s.value.roomCount,
149
+ Math.min(
150
+ o.maxAdultCount,
151
+ s.value.roomCount * F
152
+ )
153
+ ]), p = I(() => [
154
+ Math.ceil(s.value.adultCount / F),
155
+ Math.min(o.maxRoomCount, s.value.adultCount)
156
+ ]), d = I(() => h.value.children?.split(",").length), b = I(() => [
157
+ 0,
158
+ s.value.adultCount * mt
159
+ ]), g = C(
160
+ h.value.children?.split(",").length ?? 0
161
+ ), B = Array.from({ length: 18 }, (A, u) => ({
162
+ text: u === 0 ? t("BGuestsInputs.under12months").toString() : `${u} ${t("BGuestsInputs.age", { n: u })}`,
163
+ value: u
164
+ })), O = C(!0), ut = [
165
+ (A) => A > -1 ? !0 : t("BGuestsInputs.requiredChildAge")
166
+ ], it = C(), rt = () => {
167
+ O.value && (h.value = {
168
+ adultCount: s.value.adultCount,
169
+ children: s.value.children.length ? s.value.children.join(",") : null,
170
+ roomCount: s.value.roomCount
171
+ }, m.value = !1);
172
+ };
173
+ return w(g, () => {
174
+ s.value.children = Array.from(
175
+ { length: g.value },
176
+ (A, u) => s.value.children[u] ?? -1
177
+ );
178
+ }), w(m, (A) => {
179
+ A || (s.value = {
180
+ adultCount: h.value.adultCount,
181
+ children: h.value.children?.split(",").map(Number) ?? [],
182
+ roomCount: h.value.roomCount
183
+ }, g.value = s.value.children.length);
184
+ }), w(
185
+ () => s.value.adultCount,
186
+ () => {
187
+ g.value > b.value[1] && (g.value = b.value[1]), s.value.roomCount = Math.min(
188
+ Math.max(s.value.roomCount, p.value[0]),
189
+ p.value[1]
190
+ );
191
+ }
192
+ ), w(
193
+ () => s.value.roomCount,
194
+ () => {
195
+ s.value.adultCount = Math.min(
196
+ Math.max(s.value.adultCount, _.value[0]),
197
+ _.value[1]
198
+ );
199
+ }
200
+ ), (A, u) => (V(), x("div", {
201
+ ref_key: "root",
202
+ ref: l
203
+ }, [
204
+ e(at, {
205
+ modelValue: m.value,
206
+ "onUpdate:modelValue": u[5] || (u[5] = (f) => m.value = f),
207
+ attach: i(a),
208
+ "close-on-content-click": !1,
209
+ "max-width": i(c).xs ? "100%" : "340px",
210
+ "min-width": i(c).xs ? "100%" : "340px",
211
+ "offset-y": ""
212
+ }, {
213
+ activator: n(({ props: f }) => [
214
+ e(D, W(f, {
215
+ class: "w-100",
216
+ color: "primary",
217
+ "data-cy": "b-guests-inputs-button",
218
+ "data-attr": "b-guests-inputs-button",
219
+ elevation: "0",
220
+ size: "small"
221
+ }), {
222
+ default: n(() => [
223
+ e(L, {
224
+ class: "pr-2",
225
+ style: "font-size: 12px;"
226
+ }, {
227
+ default: n(() => u[6] || (u[6] = [
228
+ M(" fas fa-user ")
229
+ ])),
230
+ _: 1,
231
+ __: [6]
232
+ }),
233
+ k("b", null, v(h.value.adultCount) + " " + v(i(t)("BGuestsInputs.travelers", { n: h.value.adultCount })) + "   |    " + v(d.value ?? 0) + " " + v(i(t)("BGuestsInputs.children", { n: d.value ?? 0 })) + "   |    " + v(h.value.roomCount) + " " + v(i(t)("BGuestsInputs.rooms", { n: h.value.roomCount })), 1)
234
+ ]),
235
+ _: 2
236
+ }, 1040)
237
+ ]),
238
+ default: n(() => [
239
+ e(st, { elevation: "1" }, {
240
+ default: n(() => [
241
+ e(i(kt), {
242
+ ref_key: "form",
243
+ ref: it,
244
+ modelValue: O.value,
245
+ "onUpdate:modelValue": u[4] || (u[4] = (f) => O.value = f),
246
+ onSubmit: ht(rt, ["prevent"])
247
+ }, {
248
+ default: n(() => [
249
+ e(_t, { density: "compact" }, {
250
+ default: n(() => [
251
+ e(U, { "data-cy": "adult-count-input" }, {
252
+ default: n(() => [
253
+ k("div", Rt, [
254
+ e(P, { class: "font-weight-medium" }, {
255
+ default: n(() => [
256
+ M(v(i(t)("BGuestsInputs.travelers", { n: 2 })), 1)
257
+ ]),
258
+ _: 1
259
+ }),
260
+ e(T, {
261
+ class: "ml-auto",
262
+ modelValue: s.value.adultCount,
263
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => s.value.adultCount = f),
264
+ "data-cy": "b-guests-inputs-adult-count-input",
265
+ "data-attr": "b-guests-inputs-adult-count-input",
266
+ max: A.maxAdultCount,
267
+ min: 1
268
+ }, null, 8, ["modelValue", "max"])
269
+ ])
270
+ ]),
271
+ _: 1
272
+ }),
273
+ e(U, {
274
+ class: "mt-2",
275
+ "data-cy": "children-count-input"
276
+ }, {
277
+ default: n(() => [
278
+ k("div", wt, [
279
+ e(P, { class: "font-weight-medium" }, {
280
+ default: n(() => [
281
+ M(v(i(t)("BGuestsInputs.children", { n: 2 })) + " ", 1),
282
+ k("span", Et, v(i(t)("BGuestsInputs.childrenAgeRange")), 1)
283
+ ]),
284
+ _: 1
285
+ }),
286
+ e(T, {
287
+ class: "ml-auto",
288
+ modelValue: g.value,
289
+ "onUpdate:modelValue": u[1] || (u[1] = (f) => g.value = f),
290
+ "data-cy": "b-guests-inputs-child-count-input",
291
+ "data-attr": "b-guests-inputs-child-count-input",
292
+ max: b.value[1],
293
+ min: 0
294
+ }, null, 8, ["modelValue", "max"])
295
+ ])
296
+ ]),
297
+ _: 1
298
+ }),
299
+ g.value > 0 ? (V(), S(U, { key: 0 }, {
300
+ default: n(() => [
301
+ e($, { class: "mt-2" }, {
302
+ default: n(() => [
303
+ (V(!0), x(H, null, K(g.value, (f, R) => (V(), S(E, {
304
+ key: R,
305
+ class: "pt-0",
306
+ cols: "6",
307
+ sm: "6"
308
+ }, {
309
+ default: n(() => [
310
+ e(It, {
311
+ modelValue: s.value.children[R],
312
+ "onUpdate:modelValue": (y) => s.value.children[R] = y,
313
+ class: "child-age-input",
314
+ "hide-details": "auto",
315
+ rules: ut
316
+ }, {
317
+ default: n(() => [
318
+ vt(k("select", {
319
+ "onUpdate:modelValue": (y) => s.value.children[R] = y,
320
+ class: "child-age-input-select rounded w-full pa-2 text-body-2"
321
+ }, [
322
+ k("option", Lt, v(i(t)("BGuestsInputs.requiredChildAge")), 1),
323
+ (V(!0), x(H, null, K(i(B), (y) => (V(), x("option", {
324
+ value: y.value
325
+ }, v(y.text), 9, Ot))), 256))
326
+ ], 8, St), [
327
+ [pt, s.value.children[R]]
328
+ ])
329
+ ]),
330
+ _: 2
331
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
332
+ ]),
333
+ _: 2
334
+ }, 1024))), 128))
335
+ ]),
336
+ _: 1
337
+ })
338
+ ]),
339
+ _: 1
340
+ })) : z("", !0),
341
+ e(U, {
342
+ class: "mt-2",
343
+ "data-cy": "room-count-input"
344
+ }, {
345
+ default: n(() => [
346
+ k("div", Ut, [
347
+ e(P, { class: "font-weight-medium" }, {
348
+ default: n(() => [
349
+ M(v(i(t)("BGuestsInputs.rooms", { n: 2 })), 1)
350
+ ]),
351
+ _: 1
352
+ }),
353
+ e(T, {
354
+ class: "ml-auto",
355
+ modelValue: s.value.roomCount,
356
+ "onUpdate:modelValue": u[2] || (u[2] = (f) => s.value.roomCount = f),
357
+ "data-cy": "b-guests-inputs-room-count-input",
358
+ "data-attr": "b-guests-inputs-room-count-input",
359
+ max: A.maxRoomCount,
360
+ min: 1
361
+ }, null, 8, ["modelValue", "max"])
362
+ ])
363
+ ]),
364
+ _: 1
365
+ })
366
+ ]),
367
+ _: 1
368
+ }),
369
+ e(Vt, null, {
370
+ default: n(() => [
371
+ e(At),
372
+ e(D, {
373
+ class: "text-right",
374
+ color: "grey",
375
+ elevation: "0",
376
+ size: "small",
377
+ variant: "text",
378
+ onClick: u[3] || (u[3] = (f) => m.value = !1)
379
+ }, {
380
+ default: n(() => [
381
+ M(v(i(t)("BGuestsInputs.cancel")), 1)
382
+ ]),
383
+ _: 1
384
+ }),
385
+ e(D, {
386
+ class: "text-right",
387
+ color: "success",
388
+ elevation: "0",
389
+ size: "small",
390
+ type: "submit",
391
+ variant: "flat"
392
+ }, {
393
+ default: n(() => [
394
+ M(v(i(t)("BGuestsInputs.save")), 1)
395
+ ]),
396
+ _: 1
397
+ })
398
+ ]),
399
+ _: 1
400
+ })
401
+ ]),
402
+ _: 1
403
+ }, 8, ["modelValue"])
404
+ ]),
405
+ _: 1
406
+ })
407
+ ]),
408
+ _: 1
409
+ }, 8, ["modelValue", "attach", "max-width", "min-width"])
410
+ ], 512));
411
+ }
412
+ });
413
+ function Z(r) {
414
+ const t = r;
415
+ t.__i18n = t.__i18n || [], t.__i18n.push({
416
+ locale: "",
417
+ resource: {
418
+ "en-US": {
419
+ BGuestsInputs: {
420
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "year old" }, { t: 2, i: [{ t: 3 }], s: "years old" }] } },
421
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
422
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Child" }, { t: 2, i: [{ t: 3 }], s: "Children" }] } },
423
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ages 0 - 17" } },
424
+ 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." } },
425
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age required" } },
426
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Room" }, { t: 2, i: [{ t: 3 }], s: "Rooms" }] } },
427
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Save" } },
428
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adult" }, { t: 2, i: [{ t: 3 }], s: "Adults" }] } },
429
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Under 12 months" } }
430
+ }
431
+ },
432
+ "fr-FR": {
433
+ BGuestsInputs: {
434
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "an" }, { t: 2, i: [{ t: 3 }], s: "ans" }] } },
435
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
436
+ 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" }] } },
437
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De 0 à 17 ans" } },
438
+ 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." } },
439
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age requis" } },
440
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Chambre" }, { t: 2, i: [{ t: 3 }], s: "Chambres" }] } },
441
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Enregistrer" } },
442
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulte" }, { t: 2, i: [{ t: 3 }], s: "Adultes" }] } },
443
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moins de 12 mois" } }
444
+ }
445
+ },
446
+ "de-DE": {
447
+ BGuestsInputs: {
448
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Jahr alt" }, { t: 2, i: [{ t: 3 }], s: "Jahre alt" }] } },
449
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
450
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinder" }] } },
451
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter 0 - 17" } },
452
+ 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." } },
453
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter erforderlich" } },
454
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Zimmer" }, { t: 2, i: [{ t: 3 }], s: "Zimmer" }] } },
455
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Speichern" } },
456
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Erwachsener" }, { t: 2, i: [{ t: 3 }], s: "Erwachsene" }] } },
457
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unter 12 Monate" } }
458
+ }
459
+ },
460
+ "es-ES": {
461
+ BGuestsInputs: {
462
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "año" }, { t: 2, i: [{ t: 3 }], s: "años" }] } },
463
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
464
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Niño" }, { t: 2, i: [{ t: 3 }], s: "Niños" }] } },
465
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edades de 0 a 17" } },
466
+ 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." } },
467
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edad requerida" } },
468
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Habitación" }, { t: 2, i: [{ t: 3 }], s: "Habitaciones" }] } },
469
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
470
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
471
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
472
+ }
473
+ },
474
+ "it-IT": {
475
+ BGuestsInputs: {
476
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "anno" }, { t: 2, i: [{ t: 3 }], s: "anni" }] } },
477
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
478
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bambino" }, { t: 2, i: [{ t: 3 }], s: "Bambini" }] } },
479
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età 0 - 17" } },
480
+ 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." } },
481
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età richiesta" } },
482
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Camera" }, { t: 2, i: [{ t: 3 }], s: "Camere" }] } },
483
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salva" } },
484
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adulti" }] } },
485
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meno di 12 mesi" } }
486
+ }
487
+ },
488
+ "nl-NL": {
489
+ BGuestsInputs: {
490
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "jaar oud" }, { t: 2, i: [{ t: 3 }], s: "jaren oud" }] } },
491
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
492
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinderen" }] } },
493
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd 0 - 17" } },
494
+ 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." } },
495
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd vereist" } },
496
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kamer" }, { t: 2, i: [{ t: 3 }], s: "Kamers" }] } },
497
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Opslaan" } },
498
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Volwassene" }, { t: 2, i: [{ t: 3 }], s: "Volwassenen" }] } },
499
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Jonger dan 12 maanden" } }
500
+ }
501
+ },
502
+ "pt-PT": {
503
+ BGuestsInputs: {
504
+ age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "ano" }, { t: 2, i: [{ t: 3 }], s: "anos" }] } },
505
+ cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
506
+ children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Criança" }, { t: 2, i: [{ t: 3 }], s: "Crianças" }] } },
507
+ childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idades 0 - 17" } },
508
+ 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." } },
509
+ requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idade obrigatória" } },
510
+ rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Quarto" }, { t: 2, i: [{ t: 3 }], s: "Quartos" }] } },
511
+ save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
512
+ travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
513
+ under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
514
+ }
515
+ }
516
+ }
517
+ });
518
+ }
519
+ typeof Z == "function" && Z(ot);
520
+ const lt = /* @__PURE__ */ G({
521
+ __name: "BDateRangePickerMenu",
522
+ props: /* @__PURE__ */ j({
523
+ markerDates: {},
524
+ minDate: {}
525
+ }, {
526
+ modelValue: {},
527
+ modelModifiers: {}
528
+ }),
529
+ emits: ["update:modelValue"],
530
+ setup(r) {
531
+ const { locale: t, t: o } = Q(), l = q(r, "modelValue"), a = C(!1), c = C(null), { $dialogAttach: m } = et(c), { $breakpointService: h } = tt(c), s = I(
532
+ () => l.value?.map(
533
+ (p) => N(p).toDate().toLocaleString(t.value, {
534
+ day: "2-digit",
535
+ month: "short",
536
+ weekday: "short",
537
+ year: "numeric"
538
+ })
539
+ )
540
+ ), _ = I(() => !l.value || l.value.length < 2 ? 0 : N(l.value[1]).diff(N(l.value[0]), "day"));
541
+ return w(l, (p, d) => {
542
+ !p || d?.[0] === p[0] && d[1] === p[1] || (a.value = !1);
543
+ }), (p, d) => (V(), x("div", {
544
+ ref_key: "root",
545
+ ref: c
546
+ }, [
547
+ e(at, {
548
+ modelValue: a.value,
549
+ "onUpdate:modelValue": d[1] || (d[1] = (b) => a.value = b),
550
+ attach: i(m),
551
+ class: "date-range-picker",
552
+ "close-on-content-click": !1,
553
+ "min-width": i(h).xs ? "100%" : "570px"
554
+ }, {
555
+ activator: n(({ props: b }) => [
556
+ e(D, W(b, {
557
+ color: "primary",
558
+ "data-cy": "b-date-range-picker-btn",
559
+ "data-attr": "b-date-range-picker-btn",
560
+ elevation: "0",
561
+ "min-width": "100%",
562
+ size: "small"
563
+ }), {
564
+ default: n(() => [
565
+ e(L, { class: "pr-1" }, {
566
+ default: n(() => d[2] || (d[2] = [
567
+ M(" fas fa-calendar-days ")
568
+ ])),
569
+ _: 1,
570
+ __: [2]
571
+ }),
572
+ k("b", null, v(s.value && s.value[0] || i(o)("BDateRangePickerMenu.checkIn")), 1),
573
+ e(L, { class: "mx-1" }, {
574
+ default: n(() => d[3] || (d[3] = [
575
+ M(" fas fa-long-arrow-alt-right ")
576
+ ])),
577
+ _: 1,
578
+ __: [3]
579
+ }),
580
+ e(yt, {
581
+ bordered: "",
582
+ color: "secondary",
583
+ content: `${_.value} ${i(o)("BDateRangePickerMenu.nights", {
584
+ n: _.value
585
+ })}`,
586
+ "offset-x": "0",
587
+ "offset-y": "-5",
588
+ floating: "",
589
+ style: { "z-index": "1" },
590
+ "model-value": _.value > 0
591
+ }, {
592
+ default: n(() => [
593
+ k("b", null, v(s.value && s.value[1] || i(o)("BDateRangePickerMenu.checkOut")), 1)
594
+ ]),
595
+ _: 1
596
+ }, 8, ["content", "model-value"])
597
+ ]),
598
+ _: 2
599
+ }, 1040)
600
+ ]),
601
+ default: n(() => [
602
+ e(Mt, {
603
+ modelValue: l.value,
604
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => l.value = b),
605
+ "marker-dates": p.markerDates,
606
+ "min-date": p.minDate,
607
+ class: "ma-0"
608
+ }, null, 8, ["modelValue", "marker-dates", "min-date"])
609
+ ]),
610
+ _: 1
611
+ }, 8, ["modelValue", "attach", "min-width"])
612
+ ], 512));
613
+ }
614
+ });
615
+ function J(r) {
616
+ const t = r;
617
+ t.__i18n = t.__i18n || [], t.__i18n.push({
618
+ locale: "",
619
+ resource: {
620
+ "en-US": {
621
+ BDateRangePickerMenu: {
622
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
623
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
624
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
625
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "night" }, { t: 2, i: [{ t: 3 }], s: "nights" }] } },
626
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Travelers" } },
627
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooms" } }
628
+ }
629
+ },
630
+ "fr-FR": {
631
+ BDateRangePickerMenu: {
632
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Arrivée" } },
633
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Départ" } },
634
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
635
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nuit" }, { t: 2, i: [{ t: 3 }], s: "nuits" }] } },
636
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voyageurs" } },
637
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Chambres" } }
638
+ }
639
+ },
640
+ "de-DE": {
641
+ BDateRangePickerMenu: {
642
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
643
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
644
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Daten" } },
645
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nacht" }, { t: 2, i: [{ t: 3 }], s: "Nächte" }] } },
646
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reisende" } },
647
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmer" } }
648
+ }
649
+ },
650
+ "es-ES": {
651
+ BDateRangePickerMenu: {
652
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrada" } },
653
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salida" } },
654
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fechas" } },
655
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noche" }, { t: 2, i: [{ t: 3 }], s: "noches" }] } },
656
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajeros" } },
657
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Habitaciones" } }
658
+ }
659
+ },
660
+ "it-IT": {
661
+ BDateRangePickerMenu: {
662
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
663
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
664
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date" } },
665
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "notte" }, { t: 2, i: [{ t: 3 }], s: "notti" }] } },
666
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viaggiatori" } },
667
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Camere" } }
668
+ }
669
+ },
670
+ "nl-NL": {
671
+ BDateRangePickerMenu: {
672
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
673
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
674
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datums" } },
675
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nacht" }, { t: 2, i: [{ t: 3 }], s: "nachten" }] } },
676
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reizigers" } },
677
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamers" } }
678
+ }
679
+ },
680
+ "pt-PT": {
681
+ BDateRangePickerMenu: {
682
+ checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
683
+ checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
684
+ date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datas" } },
685
+ nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noite" }, { t: 2, i: [{ t: 3 }], s: "noites" }] } },
686
+ traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajantes" } },
687
+ room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quartos" } }
688
+ }
689
+ }
690
+ }
691
+ });
692
+ }
693
+ typeof J == "function" && J(lt);
694
+ const Gt = /* @__PURE__ */ nt(lt, [["__scopeId", "data-v-d8f8124e"]]), Nt = /* @__PURE__ */ G({
695
+ __name: "HotelOfferSearchMenuUI",
696
+ props: /* @__PURE__ */ j({
697
+ markerDates: {},
698
+ minDate: {},
699
+ maxAdultCount: {},
700
+ maxChildCount: {},
701
+ maxRoomCount: {},
702
+ isLoading: { type: Boolean },
703
+ isLoadingBarEnabled: { type: Boolean, default: !0 }
704
+ }, {
705
+ modelValue: {},
706
+ modelModifiers: {}
707
+ }),
708
+ emits: ["update:modelValue"],
709
+ setup(r) {
710
+ const t = q(r, "modelValue"), o = I({
711
+ get() {
712
+ return X(
713
+ t.value?.checkInDate ?? "",
714
+ t.value?.checkOutDate ?? ""
715
+ );
716
+ },
717
+ set(a) {
718
+ if (a[0] !== t.value?.checkInDate || a[1] !== t.value?.checkOutDate) {
719
+ const [c, m] = X(...a);
720
+ t.value && (t.value = {
721
+ ...t.value,
722
+ checkInDate: c,
723
+ checkOutDate: m
724
+ });
725
+ }
726
+ }
727
+ }), l = I({
728
+ get() {
729
+ return {
730
+ adultCount: t.value?.adultCount ?? 0,
731
+ children: t.value?.children ?? null,
732
+ roomCount: t.value?.roomCount ?? 0
733
+ };
734
+ },
735
+ set(a) {
736
+ (a.adultCount !== t.value?.adultCount || a.children !== t.value?.children || a.roomCount !== t.value?.roomCount) && t.value && (t.value = {
737
+ ...t.value,
738
+ adultCount: a.adultCount,
739
+ children: a.children,
740
+ roomCount: a.roomCount
741
+ });
742
+ }
743
+ });
744
+ return (a, c) => (V(), S(st, {
745
+ class: "pa-0",
746
+ color: "transparent",
747
+ elevation: "0",
748
+ style: {
749
+ overflow: "visible"
750
+ }
751
+ }, {
752
+ default: n(() => [
753
+ e($, { dense: "" }, {
754
+ default: n(() => [
755
+ e(E, {
756
+ "align-self": "end",
757
+ cols: "12",
758
+ sm: "6"
759
+ }, {
760
+ default: n(() => [
761
+ e(Gt, {
762
+ modelValue: o.value,
763
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => o.value = m),
764
+ "marker-dates": a.markerDates,
765
+ "min-date": a.minDate
766
+ }, null, 8, ["modelValue", "marker-dates", "min-date"])
767
+ ]),
768
+ _: 1
769
+ }),
770
+ e(E, {
771
+ "align-self": "end",
772
+ cols: "12",
773
+ sm: a.$slots.after ? "5" : "6"
774
+ }, {
775
+ default: n(() => [
776
+ e(ot, {
777
+ modelValue: l.value,
778
+ "onUpdate:modelValue": c[1] || (c[1] = (m) => l.value = m),
779
+ "max-adult-count": a.maxAdultCount,
780
+ "max-child-count": a.maxChildCount,
781
+ "max-room-count": a.maxRoomCount
782
+ }, null, 8, ["modelValue", "max-adult-count", "max-child-count", "max-room-count"])
783
+ ]),
784
+ _: 1
785
+ }, 8, ["sm"]),
786
+ a.$slots.after ? (V(), S(E, {
787
+ key: 0,
788
+ class: "text-right",
789
+ cols: "1"
790
+ }, {
791
+ default: n(() => [
792
+ Ct(a.$slots, "after", {}, void 0, !0)
793
+ ]),
794
+ _: 3
795
+ })) : z("", !0)
796
+ ]),
797
+ _: 3
798
+ }),
799
+ e($, {
800
+ "no-gutters": "",
801
+ style: { height: "5px" }
802
+ }, {
803
+ default: n(() => [
804
+ e(E, {
805
+ cols: "12",
806
+ sm: a.$slots.after ? "11" : "12"
807
+ }, {
808
+ default: n(() => [
809
+ a.isLoadingBarEnabled && a.isLoading ? (V(), S(xt, {
810
+ key: 0,
811
+ color: "secondary",
812
+ indeterminate: ""
813
+ })) : z("", !0)
814
+ ]),
815
+ _: 1
816
+ }, 8, ["sm"])
817
+ ]),
818
+ _: 1
819
+ })
820
+ ]),
821
+ _: 3
822
+ }));
823
+ }
824
+ }), ee = /* @__PURE__ */ nt(Nt, [["__scopeId", "data-v-ff7e2336"]]);
825
+ dt("css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css");
826
+ export {
827
+ ee as H
828
+ };
829
+ //# sourceMappingURL=revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js.map