@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.31

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 (150) hide show
  1. package/dist/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
  2. package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
  3. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
  4. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  5. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  6. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  7. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  8. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  9. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  10. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  11. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
  12. package/dist/index.es.min.js +1927 -2144
  13. package/dist/index.es.min.js.map +1 -1
  14. package/dist/index.min.js +6 -6
  15. package/dist/index.min.js.map +1 -1
  16. package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.Bxmf2YBQ.min.js} +3 -3
  17. package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
  18. package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
  19. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js} +30 -34
  20. package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js} +1672 -1766
  21. package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +72 -76
  22. package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
  23. package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +165 -174
  24. package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
  25. package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
  26. package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
  27. package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.min.js} +4 -4
  28. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js} +148 -157
  29. package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
  30. package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.BMTMxB84.min.js} +86 -95
  31. package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js} +4 -4
  32. package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.BlIDNloM.min.js} +4 -4
  33. package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +6 -6
  34. package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
  35. package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
  36. package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +56 -69
  37. package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
  38. package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -162
  39. package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.mpJHETlw.min.js} +6 -6
  40. package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
  41. package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
  42. package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +2 -2
  43. package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
  44. package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
  45. package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
  46. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  47. package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
  48. package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.08Q8GaoF.min.js} +18 -18
  49. package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +588 -620
  50. package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
  51. package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
  52. package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1563 -1693
  53. package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
  54. package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +5 -5
  55. package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js} +7 -7
  56. package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +563 -574
  57. package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
  58. package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +125 -130
  59. package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
  60. package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
  61. package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +727 -785
  62. package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
  63. package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +333 -358
  64. package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
  65. package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
  66. package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
  67. package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
  68. package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.bIefP9Di.min.js} +396 -419
  69. package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +6415 -6523
  70. package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.Ccsg-lEF.min.js} +24 -27
  71. package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.CM2mTy7Y.min.js} +4 -4
  72. package/dist/{revolugo.langpickerbtn.DmoEWum3.min.js → revolugo.langpickerbtn.DyJ4Olno.min.js} +31 -32
  73. package/dist/revolugo.min.js +1 -1
  74. package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BlrRHScz.min.js} +4 -4
  75. package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
  76. package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.fhOF5rTL.min.js} +97 -101
  77. package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
  78. package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
  79. package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
  80. package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.D-F25G2D.min.js} +2 -2
  81. package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +90 -94
  82. package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
  83. package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
  84. package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
  85. package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
  86. package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
  87. package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
  88. package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
  89. package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
  90. package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
  91. package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
  92. package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
  93. package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
  94. package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
  95. package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
  96. package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
  97. package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
  98. package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
  99. package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
  100. package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
  101. package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.C7bJI8gr.min.js} +5 -5
  102. package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
  103. package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
  104. package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
  105. package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
  106. package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +353 -363
  107. package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
  108. package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
  109. package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
  110. package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
  111. package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
  112. package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +786 -832
  113. package/package.json +1 -1
  114. package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
  115. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  116. package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
  117. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  118. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  119. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  120. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  121. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  122. package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
  123. package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
  124. package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
  125. package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
  126. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  127. package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
  128. package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
  129. package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
  130. package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
  131. package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
  132. package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
  133. package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
  134. package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
  135. package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
  136. package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
  137. package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
  138. package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
  139. package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
  140. package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
  141. package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
  142. package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
  143. package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
  144. package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
  145. package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
  146. package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
  147. package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
  148. package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
  149. package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
  150. package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
@@ -1,6 +1,6 @@
1
- import { d as o, u as p, i as r, a as t, o as i } from "./revolugo.index.wc.BaFPloEH.min.js";
2
- import { _ as a } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
3
- import { V as l } from "./revolugo.vskeletonloader.B-Qq0740.min.js";
1
+ import { d as o, u as p, i as r, a as t, o as i } from "./revolugo.index.wc.CVg-U7Gx.min.js";
2
+ import { _ as a } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
3
+ import { V as l } from "./revolugo.vskeletonloader.DcVdfRoT.min.js";
4
4
  const u = {
5
5
  boilerplate: { type: Boolean }
6
6
  }, d = o({
@@ -76,4 +76,4 @@ export {
76
76
  S as B,
77
77
  k as a
78
78
  };
79
- //# sourceMappingURL=revolugo.bpricesummaryskeleton.BcgNLGYX.min.js.map
79
+ //# sourceMappingURL=revolugo.bpricesummaryskeleton.C-X2i-r7.min.js.map
@@ -1,11 +1,11 @@
1
- import { c as _, C as z } from "./revolugo.case-transformers.VM7X_9Q1.min.js";
2
- import { d as B, bw as N, u as V, D as q, i as u, a as n, w as s, c as p, g as w, e as c, t as d, J as g, F as R, v as P, x as F, y as M, o as r } from "./revolugo.index.wc.BaFPloEH.min.js";
3
- import { d as D } from "./revolugo.defaultsdeep.z9urzKAp.min.js";
4
- import { V as W } from "./revolugo.vtooltip.CvplYWvb.min.js";
5
- import { a as m, V as h, _ as j } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
6
- import { V as T } from "./revolugo.vicon.CuIGTijn.min.js";
7
- import { V as U } from "./revolugo.index.Dyr1hnew.min.js";
8
- function O(a) {
1
+ import { c as y, C } from "./revolugo.case-transformers.wj5dY-62.min.js";
2
+ import { d as R, bw as L, u as O, G as N, i as u, a as n, w as s, c as h, g as p, e as c, t as d, K as v, F as w, x as _, y as V, z as q, o as l } from "./revolugo.index.wc.CVg-U7Gx.min.js";
3
+ import { d as F } from "./revolugo.defaultsdeep.B15U6I23.min.js";
4
+ import { V as M } from "./revolugo.vtooltip.F6cVVKxe.min.js";
5
+ import { a as m, V as f, _ as D } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
6
+ import { V as z } from "./revolugo.vicon.DGbfBJIw.min.js";
7
+ import { V as W } from "./revolugo.index.bIefP9Di.min.js";
8
+ function G(a) {
9
9
  try {
10
10
  if (typeof document < "u") {
11
11
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -25,10 +25,10 @@ function O(a) {
25
25
  console.error("[revolugo-elements] ", e);
26
26
  }
27
27
  }
28
- function Z(a, e, o) {
28
+ function j(a, e, o) {
29
29
  if (!a)
30
30
  return e;
31
- const i = o || ((l) => l);
31
+ const i = o || ((b) => b);
32
32
  if (typeof a == "string")
33
33
  try {
34
34
  return i(JSON.parse(a));
@@ -37,29 +37,29 @@ function Z(a, e, o) {
37
37
  }
38
38
  return i(a);
39
39
  }
40
- const bt = ({
40
+ const rt = ({
41
41
  cb: a,
42
42
  fallbackValue: e,
43
43
  propsName: o
44
44
  }) => {
45
- const i = _(o, z.Pascal);
46
- return B({
45
+ const i = y(o, C.Pascal);
46
+ return R({
47
47
  computed: {
48
48
  [`parsed${i}`]() {
49
- const l = Z(
49
+ const b = j(
50
50
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
51
51
  this[o],
52
52
  e,
53
53
  a
54
54
  );
55
- return l && e ? D(structuredClone(N(l)), e) : l;
55
+ return b && e ? F(structuredClone(L(b)), e) : b;
56
56
  }
57
57
  }
58
58
  });
59
- }, $ = { class: "d-inline-block" }, Q = { class: "reviewCard font-weight-bold" }, I = { class: "text-grey-darken-2 d-inline-block" }, K = {
59
+ }, U = { class: "d-inline-block" }, Z = { class: "reviewCard font-weight-bold" }, $ = { class: "text-grey-darken-2 d-inline-block" }, Q = {
60
60
  key: 1,
61
61
  class: "reviewCard font-weight-bold"
62
- }, H = { class: "text-center" }, Y = { class: "ml-1 text-subtitle-2 text-primary font-weight-bold" }, J = { class: "text-caption text-white mb-0" }, X = { class: "text-caption text-secondary font-weight-bold mb-0" }, tt = { class: "text-caption text-white" }, x = /* @__PURE__ */ B({
62
+ }, I = { class: "text-center" }, K = { class: "ml-1 text-subtitle-2 text-primary font-weight-bold" }, H = { class: "text-caption text-white mb-0" }, Y = { class: "text-caption text-secondary font-weight-bold mb-0" }, J = { class: "text-caption text-white" }, P = /* @__PURE__ */ R({
63
63
  __name: "BReviewRating",
64
64
  props: {
65
65
  features: {},
@@ -68,162 +68,153 @@ const bt = ({
68
68
  tooltipPosition: { default: "bottom" }
69
69
  },
70
70
  setup(a) {
71
- const e = a, { t: o } = V(), i = q(
72
- () => {
73
- var t;
74
- return ((t = e.hotel.hotelReviewRatings) == null ? void 0 : t.find(
75
- (v) => v.category === "overall"
76
- )) ?? null;
77
- }
71
+ const e = a, { t: o } = O(), i = N(
72
+ () => e.hotel.hotelReviewRatings?.find(
73
+ (t) => t.category === "overall"
74
+ ) ?? null
78
75
  );
79
- function l(t) {
76
+ function b(t) {
80
77
  if (t) {
81
- const v = Number(t.toFixed(1)) * 4;
82
- return v >= 13 ? o(
83
- `BReviewRating.ratingToText.${Math.floor(v)}`
78
+ const g = Number(t.toFixed(1)) * 4;
79
+ return g >= 13 ? o(
80
+ `BReviewRating.ratingToText.${Math.floor(g)}`
84
81
  ) : o("BReviewRating.ratingToText.13");
85
82
  }
86
83
  return o("BReviewRating.ratingToText.13");
87
84
  }
88
- function E(t) {
85
+ function T(t) {
89
86
  return Math.floor(t) / 20;
90
87
  }
91
- function S(t) {
88
+ function B(t) {
92
89
  return t === "recommendation_percent";
93
90
  }
94
- function k(t) {
95
- return t.category ? S(t.category) ? t.rating : t.rating * 20 : null;
91
+ function x(t) {
92
+ return t.category ? B(t.category) ? t.rating : t.rating * 20 : null;
96
93
  }
97
- function A(t) {
98
- return t.category ? S(t.category) ? E(t.rating).toFixed(1) : t.rating.toFixed(1) : null;
94
+ function E(t) {
95
+ return t.category ? B(t.category) ? T(t.rating).toFixed(1) : t.rating.toFixed(1) : null;
99
96
  }
100
- function L(t) {
101
- return t ? _(t, z.Camel) : "";
97
+ function k(t) {
98
+ return t ? y(t, C.Camel) : "";
102
99
  }
103
- return (t, v) => {
104
- var y;
105
- return r(), u("div", $, [
106
- n(W, {
107
- location: t.tooltipPosition,
108
- attach: ((y = t.$parent) == null ? void 0 : y.$el) || t.$el,
109
- color: "white",
110
- "content-class": "elevation-1",
111
- disabled: !t.features.ReviewRatingDetails || !i.value,
112
- "max-width": "600"
113
- }, {
114
- activator: s(({ props: f }) => [
115
- c("div", M(f, {
116
- class: ["d-flex", {
117
- "cursor-pointer": t.features.ReviewRatingDetails,
118
- "flex-row-reverse": !t.reverse
119
- }],
120
- color: "white",
121
- outlined: ""
122
- }), [
123
- i.value ? (r(), u(R, { key: 0 }, [
124
- c("span", Q, d(i.value.rating.toFixed(1)), 1),
125
- i.value ? (r(), u("span", {
126
- key: 0,
127
- class: F(t.reverse ? "ml-1" : "mr-1")
128
- }, [
129
- c("small", I, d(l(i.value.rating)), 1)
130
- ], 2)) : w("", !0)
131
- ], 64)) : (r(), u("small", K, d(g(o)("BReviewRating.new")), 1))
132
- ], 16)
133
- ]),
134
- default: s(() => [
135
- i.value ? (r(), p(h, {
136
- key: 0,
137
- dense: ""
138
- }, {
139
- default: s(() => {
140
- var f;
141
- return [
142
- n(m, { cols: "12" }, {
143
- default: s(() => [
144
- c("div", H, [
145
- n(T, {
146
- color: "primary",
147
- icon: "fas fa-comment-alt",
148
- size: "14"
149
- }),
150
- c("span", Y, d(g(o)("BReviewRating.reviews.title")), 1)
151
- ])
152
- ]),
153
- _: 1
154
- }),
155
- (r(!0), u(R, null, P((f = t.hotel.hotelReviewRatings) == null ? void 0 : f.filter(
156
- (b) => b.rating > 0 && b.rating <= 5
157
- ), (b, G) => (r(), p(m, {
158
- key: `${b.category}${G}`,
159
- cols: "6",
160
- lg: "6"
161
- }, {
100
+ return (t, g) => (l(), u("div", U, [
101
+ n(M, {
102
+ location: t.tooltipPosition,
103
+ attach: t.$parent?.$el || t.$el,
104
+ color: "white",
105
+ "content-class": "elevation-1",
106
+ disabled: !t.features.ReviewRatingDetails || !i.value,
107
+ "max-width": "600"
108
+ }, {
109
+ activator: s(({ props: r }) => [
110
+ c("div", q(r, {
111
+ class: ["d-flex", {
112
+ "cursor-pointer": t.features.ReviewRatingDetails,
113
+ "flex-row-reverse": !t.reverse
114
+ }],
115
+ color: "white",
116
+ outlined: ""
117
+ }), [
118
+ i.value ? (l(), u(w, { key: 0 }, [
119
+ c("span", Z, d(i.value.rating.toFixed(1)), 1),
120
+ i.value ? (l(), u("span", {
121
+ key: 0,
122
+ class: V(t.reverse ? "ml-1" : "mr-1")
123
+ }, [
124
+ c("small", $, d(b(i.value.rating)), 1)
125
+ ], 2)) : p("", !0)
126
+ ], 64)) : (l(), u("small", Q, d(v(o)("BReviewRating.new")), 1))
127
+ ], 16)
128
+ ]),
129
+ default: s(() => [
130
+ i.value ? (l(), h(f, {
131
+ key: 0,
132
+ dense: ""
133
+ }, {
134
+ default: s(() => [
135
+ n(m, { cols: "12" }, {
136
+ default: s(() => [
137
+ c("div", I, [
138
+ n(z, {
139
+ color: "primary",
140
+ icon: "fas fa-comment-alt",
141
+ size: "14"
142
+ }),
143
+ c("span", K, d(v(o)("BReviewRating.reviews.title")), 1)
144
+ ])
145
+ ]),
146
+ _: 1
147
+ }),
148
+ (l(!0), u(w, null, _(t.hotel.hotelReviewRatings?.filter(
149
+ (r) => r.rating > 0 && r.rating <= 5
150
+ ), (r, A) => (l(), h(m, {
151
+ key: `${r.category}${A}`,
152
+ cols: "6",
153
+ lg: "6"
154
+ }, {
155
+ default: s(() => [
156
+ n(f, { "no-gutters": "" }, {
162
157
  default: s(() => [
163
- n(h, { "no-gutters": "" }, {
158
+ n(m, { class: "text-left" }, {
164
159
  default: s(() => [
165
- n(m, { class: "text-left" }, {
166
- default: s(() => [
167
- c("small", J, d(g(o)(
168
- `BReviewRating.reviews.categories.${L(
169
- b.category ?? ""
170
- )}`
171
- )), 1)
172
- ]),
173
- _: 2
174
- }, 1024)
160
+ c("small", H, d(v(o)(
161
+ `BReviewRating.reviews.categories.${k(
162
+ r.category ?? ""
163
+ )}`
164
+ )), 1)
175
165
  ]),
176
166
  _: 2
177
- }, 1024),
178
- n(h, { "no-gutters": "" }, {
167
+ }, 1024)
168
+ ]),
169
+ _: 2
170
+ }, 1024),
171
+ n(f, { "no-gutters": "" }, {
172
+ default: s(() => [
173
+ n(m, null, {
179
174
  default: s(() => [
180
- n(m, null, {
181
- default: s(() => [
182
- n(U, {
183
- color: "secondary",
184
- "model-value": k(b) ?? 0
185
- }, null, 8, ["model-value"])
186
- ]),
187
- _: 2
188
- }, 1024)
175
+ n(W, {
176
+ color: "secondary",
177
+ "model-value": x(r) ?? 0
178
+ }, null, 8, ["model-value"])
189
179
  ]),
190
180
  _: 2
191
- }, 1024),
192
- n(h, { "no-gutters": "" }, {
181
+ }, 1024)
182
+ ]),
183
+ _: 2
184
+ }, 1024),
185
+ n(f, { "no-gutters": "" }, {
186
+ default: s(() => [
187
+ n(m, null, {
193
188
  default: s(() => [
194
- n(m, null, {
195
- default: s(() => [
196
- c("p", X, d(A(b)) + " " + d(l(b.rating)), 1)
197
- ]),
198
- _: 2
199
- }, 1024)
189
+ c("p", Y, d(E(r)) + " " + d(b(r.rating)), 1)
200
190
  ]),
201
191
  _: 2
202
192
  }, 1024)
203
193
  ]),
204
194
  _: 2
205
- }, 1024))), 128)),
206
- n(m, {
207
- class: "text-left",
208
- cols: "12"
209
- }, {
210
- default: s(() => [
211
- c("span", tt, d(g(o)("BReviewRating.reviews.tooltip")), 1)
212
- ]),
213
- _: 1
214
- })
215
- ];
216
- }),
217
- _: 1
218
- })) : w("", !0)
219
- ]),
220
- _: 1
221
- }, 8, ["location", "attach", "disabled"])
222
- ]);
223
- };
195
+ }, 1024)
196
+ ]),
197
+ _: 2
198
+ }, 1024))), 128)),
199
+ n(m, {
200
+ class: "text-left",
201
+ cols: "12"
202
+ }, {
203
+ default: s(() => [
204
+ c("span", J, d(v(o)("BReviewRating.reviews.tooltip")), 1)
205
+ ]),
206
+ _: 1
207
+ })
208
+ ]),
209
+ _: 1
210
+ })) : p("", !0)
211
+ ]),
212
+ _: 1
213
+ }, 8, ["location", "attach", "disabled"])
214
+ ]));
224
215
  }
225
216
  });
226
- function C(a) {
217
+ function S(a) {
227
218
  const e = a;
228
219
  e.__i18n = e.__i18n || [], e.__i18n.push({
229
220
  locale: "",
@@ -581,32 +572,32 @@ function C(a) {
581
572
  }
582
573
  });
583
574
  }
584
- typeof C == "function" && C(x);
585
- const ct = /* @__PURE__ */ j(x, [["__scopeId", "data-v-36ec6734"]]), et = {
575
+ typeof S == "function" && S(P);
576
+ const lt = /* @__PURE__ */ D(P, [["__scopeId", "data-v-36ec6734"]]), X = {
586
577
  key: 0,
587
578
  class: "stars text-no-wrap"
588
- }, dt = /* @__PURE__ */ B({
579
+ }, bt = /* @__PURE__ */ R({
589
580
  __name: "BStarRating",
590
581
  props: {
591
582
  count: {}
592
583
  },
593
584
  setup(a) {
594
- return (e, o) => e.count ? (r(), u("span", et, [
595
- (r(!0), u(R, null, P(e.count, (i) => (r(), p(T, {
585
+ return (e, o) => e.count ? (l(), u("span", X, [
586
+ (l(!0), u(w, null, _(e.count, (i) => (l(), h(z, {
596
587
  key: i,
597
588
  class: "mb-1",
598
589
  color: "yellow-darken-2",
599
590
  icon: "fas fa-star",
600
591
  size: "14"
601
592
  }))), 128))
602
- ])) : w("", !0);
593
+ ])) : p("", !0);
603
594
  }
604
595
  });
605
- O("css/revolugo.bstarrating.Dxd1LjMb.css");
596
+ G("css/revolugo.bstarrating.Dxd1LjMb.css");
606
597
  export {
607
- ct as B,
608
- dt as _,
609
- Z as a,
610
- bt as p
598
+ lt as B,
599
+ bt as _,
600
+ j as a,
601
+ rt as p
611
602
  };
612
- //# sourceMappingURL=revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js.map
603
+ //# sourceMappingURL=revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js.map