@revolugo/elements 6.8.2-beta.3 → 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 (174) hide show
  1. package/dist/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
  2. package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +1 -0
  3. package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
  4. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
  5. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  6. package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BQ3adGPS.css} +1 -1
  7. package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +1 -0
  8. package/dist/css/{revolugo.hotelroomofferlist.DI_s2G5c.css → revolugo.hotelroomofferlist.CCKyS5V3.css} +1 -1
  9. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  10. package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +1 -0
  11. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  12. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  13. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  14. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  15. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  16. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  17. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  18. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  19. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  20. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
  21. package/dist/index.es.min.js +1954 -2161
  22. package/dist/index.es.min.js.map +1 -1
  23. package/dist/index.min.js +6 -6
  24. package/dist/index.min.js.map +1 -1
  25. package/dist/revolugo._baseiteratee.Bxmf2YBQ.min.js +247 -0
  26. package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
  27. package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
  28. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js +145 -0
  29. package/dist/revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js +4724 -0
  30. package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +87 -90
  31. package/dist/{revolugo.bhotelsearchbar.CZZ7nrV4.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
  32. package/dist/{revolugo.bimagecarousel.B0c13uQA.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +178 -188
  33. package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
  34. package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
  35. package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
  36. package/dist/{revolugo.bpricesummaryskeleton.8052AuK3.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.min.js} +4 -4
  37. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js} +148 -157
  38. package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
  39. package/dist/revolugo.cancellationpoliciesbadge.BMTMxB84.min.js +198 -0
  40. package/dist/revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js +28 -0
  41. package/dist/revolugo.cancellationpolicieslist.BlIDNloM.min.js +25 -0
  42. package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +70 -98
  43. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  44. package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
  45. package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
  46. package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +53 -66
  47. package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
  48. package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -160
  49. package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.mpJHETlw.min.js} +8 -8
  50. package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
  51. package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
  52. package/dist/{revolugo.defaultsdeep.CCR2LAoW.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +32 -32
  53. package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
  54. package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
  55. package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
  56. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  57. package/dist/{revolugo.fullbookingflow.B3R9Mi6f.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
  58. package/dist/revolugo.hotel-offer-request.08Q8GaoF.min.js +98 -0
  59. package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +595 -645
  60. package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
  61. package/dist/{revolugo.hotelofferitemlayout.CpMoPSRH.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
  62. package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1566 -1703
  63. package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
  64. package/dist/{revolugo.hotelofferrequestcreator.f8olJbDW.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +16 -15
  65. package/dist/revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js +47 -0
  66. package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +570 -582
  67. package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
  68. package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +121 -124
  69. package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
  70. package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
  71. package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +742 -799
  72. package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
  73. package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +332 -357
  74. package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
  75. package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
  76. package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
  77. package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
  78. package/dist/revolugo.index.bIefP9Di.min.js +1232 -0
  79. package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +11067 -11546
  80. package/dist/revolugo.langpicker.Ccsg-lEF.min.js +96 -0
  81. package/dist/revolugo.langpickerbtn.CM2mTy7Y.min.js +29 -0
  82. package/dist/revolugo.langpickerbtn.DyJ4Olno.min.js +125 -0
  83. package/dist/revolugo.min.js +1 -1
  84. package/dist/revolugo.pathify.BlrRHScz.min.js +58 -0
  85. package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
  86. package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.fhOF5rTL.min.js} +98 -102
  87. package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
  88. package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
  89. package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
  90. package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.D-F25G2D.min.js} +4 -4
  91. package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +144 -144
  92. package/dist/{revolugo.termsandconditions.BSpX2Wim.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
  93. package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
  94. package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
  95. package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
  96. package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
  97. package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
  98. package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
  99. package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
  100. package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
  101. package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
  102. package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
  103. package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
  104. package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
  105. package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
  106. package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
  107. package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
  108. package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
  109. package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
  110. package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
  111. package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.C7bJI8gr.min.js} +10 -10
  112. package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
  113. package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
  114. package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
  115. package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
  116. package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +361 -371
  117. package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
  118. package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
  119. package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
  120. package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
  121. package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
  122. package/dist/{revolugo.webcomponentwrapper.Ci87Oown.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +775 -821
  123. package/package.json +1 -1
  124. package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
  125. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
  126. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  127. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  128. package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
  129. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  130. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  131. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  132. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  133. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  134. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  135. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  136. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  137. package/dist/revolugo.bdaterangepicker.CTD21Xkh.min.js +0 -8435
  138. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
  139. package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
  140. package/dist/revolugo.btag.BWSoB2pK.min.js +0 -387
  141. package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
  142. package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
  143. package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
  144. package/dist/revolugo.case-transformers.Oo4YCZeL.min.js +0 -123
  145. package/dist/revolugo.dialog-transition.Cot8jmLN.min.js +0 -114
  146. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  147. package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
  148. package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
  149. package/dist/revolugo.index.D5-DO18f.min.js +0 -13
  150. package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
  151. package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
  152. package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
  153. package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
  154. package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
  155. package/dist/revolugo.vautocomplete.DNxDeH8S.min.js +0 -466
  156. package/dist/revolugo.vbadge.DqpIeIfj.min.js +0 -118
  157. package/dist/revolugo.vbtn.DsvUpshD.min.js +0 -417
  158. package/dist/revolugo.vcard.D1VwO30r.min.js +0 -329
  159. package/dist/revolugo.vcheckboxbtn.BnbOlneq.min.js +0 -491
  160. package/dist/revolugo.vdialog.rsw4VlQE.min.js +0 -139
  161. package/dist/revolugo.vexpansionpanels.Cy-T-RLA.min.js +0 -276
  162. package/dist/revolugo.vform.CO-9AfdO.min.js +0 -50
  163. package/dist/revolugo.vinput.DEbpex7C.min.js +0 -477
  164. package/dist/revolugo.vlabel.CBGmCU1C.min.js +0 -51
  165. package/dist/revolugo.vlist.BzvP4Aad.min.js +0 -1348
  166. package/dist/revolugo.vmenu.CIfiL0Ib.min.js +0 -152
  167. package/dist/revolugo.vselect.CDieig82.min.js +0 -688
  168. package/dist/revolugo.vsnackbar.D5nwTNfd.min.js +0 -202
  169. package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
  170. package/dist/revolugo.vtextfield.Br_yyf1t.min.js +0 -509
  171. package/dist/revolugo.vtoolbar.VPqzB-yU.min.js +0 -188
  172. package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
  173. package/dist/revolugo.vwindowitem.IF1zLcjR.min.js +0 -329
  174. package/dist/revolugo.watch-list.BD0XoO1O.min.js +0 -16
@@ -0,0 +1,445 @@
1
+ import { u as ke, m as be, a as we } from "./revolugo.vselect.Dzd6zNRa.min.js";
2
+ import { c as Fe, V as $ } from "./revolugo.vtextfield.CnjNadCm.min.js";
3
+ import { d as Ce, u as xe, p as Ee } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
4
+ import { Z as ae, a4 as L, G as V, K as U, a7 as Me, a2 as Z, aX as Ie, Y as Le, ab as _e, D as j, a1 as X, M as B, a5 as Ae, a as c, z as A, bP as J, bQ as q, bR as Oe, R as ee, bx as Re, F as G, bS as Pe, bT as Te, f as De } from "./revolugo.index.wc.CVg-U7Gx.min.js";
5
+ import { b as Ke } from "./revolugo.vinput.Bh9hEdMF.min.js";
6
+ import { f as Ne } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
7
+ import { u as Ue, a as je, V as te } from "./revolugo.vlist.BMwn1ihP.min.js";
8
+ import { V as le } from "./revolugo.vicon.DGbfBJIw.min.js";
9
+ import { V as Be } from "./revolugo.vmenu.ByEEPO9y.min.js";
10
+ import { a as Ge } from "./revolugo.vcheckboxbtn.DLdpGWrK.min.js";
11
+ import { h as Ye, a as ze } from "./revolugo.index.bIefP9Di.min.js";
12
+ import { V as He } from "./revolugo.btag.D9PcRagV.min.js";
13
+ function Se(e) {
14
+ try {
15
+ if (typeof document < "u") {
16
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
17
+ sheets: [],
18
+ components: []
19
+ };
20
+ const s = import.meta.url, l = s.slice(0, s.lastIndexOf("/") + 1) + e;
21
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(l);
22
+ for (const p of REVOLUGO_ELEMENTS_STYLES.components)
23
+ p(l);
24
+ if (e.indexOf("fonts") >= 0) {
25
+ const p = document.createElement("link");
26
+ p.rel = "stylesheet", linK.href = l, document.head.appendChild(p);
27
+ }
28
+ }
29
+ } catch (s) {
30
+ console.error("[revolugo-elements] ", s);
31
+ }
32
+ }
33
+ const Qe = (e, s, l) => e == null || s == null ? -1 : e.toString().toLocaleLowerCase().indexOf(s.toString().toLocaleLowerCase()), We = ae({
34
+ customFilter: Function,
35
+ customKeyFilter: Object,
36
+ filterKeys: [Array, String],
37
+ filterMode: {
38
+ type: String,
39
+ default: "intersection"
40
+ },
41
+ noFilter: Boolean
42
+ }, "filter");
43
+ function Xe(e, s, l) {
44
+ const p = [], d = l?.default ?? Qe, m = l?.filterKeys ? Z(l.filterKeys) : !1, g = Object.keys(l?.customKeyFilter ?? {}).length;
45
+ if (!e?.length) return p;
46
+ e: for (let S = 0; S < e.length; S++) {
47
+ const [h, F = h] = Z(e[S]), b = {}, i = {};
48
+ let n = -1;
49
+ if ((s || g > 0) && !l?.noFilter) {
50
+ if (typeof h == "object") {
51
+ const _ = m || Object.keys(F);
52
+ for (const E of _) {
53
+ const M = Ie(F, E), O = l?.customKeyFilter?.[E];
54
+ if (n = O ? O(M, s, h) : d(M, s, h), n !== -1 && n !== !1)
55
+ O ? b[E] = n : i[E] = n;
56
+ else if (l?.filterMode === "every")
57
+ continue e;
58
+ }
59
+ } else
60
+ n = d(h, s, h), n !== -1 && n !== !1 && (i.title = n);
61
+ const C = Object.keys(i).length, x = Object.keys(b).length;
62
+ if (!C && !x || l?.filterMode === "union" && x !== g && !C || l?.filterMode === "intersection" && (x !== g || !C)) continue;
63
+ }
64
+ p.push({
65
+ index: S,
66
+ matches: {
67
+ ...i,
68
+ ...b
69
+ }
70
+ });
71
+ }
72
+ return p;
73
+ }
74
+ function Ze(e, s, l, p) {
75
+ const d = L([]), m = L(/* @__PURE__ */ new Map()), g = V(() => U(s));
76
+ Me(() => {
77
+ const h = typeof l == "function" ? l() : U(l), F = typeof h != "string" && typeof h != "number" ? "" : String(h), b = Xe(g.value, F, {
78
+ customKeyFilter: {
79
+ ...e.customKeyFilter,
80
+ ...U(p?.customKeyFilter)
81
+ },
82
+ default: e.customFilter,
83
+ filterKeys: e.filterKeys,
84
+ filterMode: e.filterMode,
85
+ noFilter: e.noFilter
86
+ }), i = U(s), n = [], C = /* @__PURE__ */ new Map();
87
+ b.forEach((x) => {
88
+ let {
89
+ index: _,
90
+ matches: E
91
+ } = x;
92
+ const M = i[_];
93
+ n.push(M), C.set(M.value, E);
94
+ }), d.value = n, m.value = C;
95
+ });
96
+ function S(h) {
97
+ return m.value.get(h.value);
98
+ }
99
+ return {
100
+ filteredItems: d,
101
+ filteredMatches: m,
102
+ getMatches: S
103
+ };
104
+ }
105
+ function $e(e, s, l) {
106
+ if (s == null) return e;
107
+ if (Array.isArray(s)) throw new Error("Multiple matches is not implemented");
108
+ return typeof s == "number" && ~s ? c(G, null, [c("span", {
109
+ class: "v-autocomplete__unmask"
110
+ }, [e.substr(0, s)]), c("span", {
111
+ class: "v-autocomplete__mask"
112
+ }, [e.substr(s, l)]), c("span", {
113
+ class: "v-autocomplete__unmask"
114
+ }, [e.substr(s + l)])]) : e;
115
+ }
116
+ const Je = ae({
117
+ autoSelectFirst: {
118
+ type: [Boolean, String]
119
+ },
120
+ clearOnSelect: Boolean,
121
+ search: String,
122
+ ...We({
123
+ filterKeys: ["title"]
124
+ }),
125
+ ...be(),
126
+ ...Ae(Fe({
127
+ modelValue: null,
128
+ role: "combobox"
129
+ }), ["validationValue", "dirty", "appendInnerIcon"]),
130
+ ...Ee({
131
+ transition: !1
132
+ })
133
+ }, "VAutocomplete"), ft = Le()({
134
+ name: "VAutocomplete",
135
+ props: Je(),
136
+ emits: {
137
+ "update:focused": (e) => !0,
138
+ "update:search": (e) => !0,
139
+ "update:modelValue": (e) => !0,
140
+ "update:menu": (e) => !0
141
+ },
142
+ setup(e, s) {
143
+ let {
144
+ slots: l
145
+ } = s;
146
+ const {
147
+ t: p
148
+ } = _e(), d = j(), m = L(!1), g = L(!0), S = L(!1), h = j(), F = j(), b = X(e, "menu"), i = V({
149
+ get: () => b.value,
150
+ set: (t) => {
151
+ b.value && !t && h.value?.ΨopenChildren.size || (b.value = t);
152
+ }
153
+ }), n = L(-1), C = V(() => d.value?.color), x = V(() => i.value ? e.closeText : e.openText), {
154
+ items: _,
155
+ transformIn: E,
156
+ transformOut: M
157
+ } = Ue(e), {
158
+ textColorClasses: O,
159
+ textColorStyles: ne
160
+ } = Ce(C), v = X(e, "search", ""), u = X(e, "modelValue", [], (t) => E(t === null ? [null] : Z(t)), (t) => {
161
+ const r = M(t);
162
+ return e.multiple ? r : r[0] ?? null;
163
+ }), ue = V(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : u.value.length), D = Ke(e), {
164
+ filteredItems: Y,
165
+ getMatches: oe
166
+ } = Ze(e, _, () => g.value ? "" : v.value), w = V(() => e.hideSelected ? Y.value.filter((t) => !u.value.some((r) => r.value === t.value)) : Y.value), K = V(() => !!(e.chips || l.chip)), R = V(() => K.value || !!l.selection), se = V(() => u.value.map((t) => t.props.value)), z = V(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && v.value === w.value[0]?.title) && w.value.length > 0 && !g.value && !S.value), H = V(() => e.hideNoData && !w.value.length || D.isReadonly.value || D.isDisabled.value), Q = j(), ie = ke(Q, d);
167
+ function re(t) {
168
+ e.openOnClear && (i.value = !0), v.value = "";
169
+ }
170
+ function ce() {
171
+ H.value || (i.value = !0);
172
+ }
173
+ function fe(t) {
174
+ H.value || (m.value && (t.preventDefault(), t.stopPropagation()), i.value = !i.value);
175
+ }
176
+ function ve(t) {
177
+ t.key !== " " && J(t) && d.value?.focus();
178
+ }
179
+ function de(t) {
180
+ if (D.isReadonly.value) return;
181
+ const r = d.value.selectionStart, f = u.value.length;
182
+ if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (i.value = !0), ["Escape"].includes(t.key) && (i.value = !1), z.value && ["Enter", "Tab"].includes(t.key) && !u.value.some((a) => {
183
+ let {
184
+ value: o
185
+ } = a;
186
+ return o === w.value[0].value;
187
+ }) && I(w.value[0]), t.key === "ArrowDown" && z.value && Q.value?.focus("next"), ["Backspace", "Delete"].includes(t.key)) {
188
+ if (!e.multiple && R.value && u.value.length > 0 && !v.value) return I(u.value[0], !1);
189
+ if (~n.value) {
190
+ t.preventDefault();
191
+ const a = n.value;
192
+ I(u.value[n.value], !1), n.value = a >= f - 1 ? f - 2 : a;
193
+ } else t.key === "Backspace" && !v.value && (n.value = f - 1);
194
+ return;
195
+ }
196
+ if (e.multiple)
197
+ if (t.key === "ArrowLeft") {
198
+ if (n.value < 0 && r > 0) return;
199
+ const a = n.value > -1 ? n.value - 1 : f - 1;
200
+ u.value[a] ? n.value = a : (n.value = -1, d.value.setSelectionRange(v.value?.length, v.value?.length));
201
+ } else if (t.key === "ArrowRight") {
202
+ if (n.value < 0) return;
203
+ const a = n.value + 1;
204
+ u.value[a] ? n.value = a : (n.value = -1, d.value.setSelectionRange(0, 0));
205
+ } else ~n.value && J(t) && (n.value = -1);
206
+ }
207
+ function me(t) {
208
+ if (q(d.value, ":autofill") || q(d.value, ":-webkit-autofill")) {
209
+ const r = _.value.find((f) => f.title === t.target.value);
210
+ r && I(r);
211
+ }
212
+ }
213
+ function he() {
214
+ e.eager && F.value?.calculateVisibleItems();
215
+ }
216
+ function pe() {
217
+ m.value && (g.value = !0, d.value?.focus());
218
+ }
219
+ function ge(t) {
220
+ m.value = !0, setTimeout(() => {
221
+ S.value = !0;
222
+ });
223
+ }
224
+ function ye(t) {
225
+ S.value = !1;
226
+ }
227
+ function Ve(t) {
228
+ (t == null || t === "" && !e.multiple && !R.value) && (u.value = []);
229
+ }
230
+ const W = L(!1);
231
+ function I(t) {
232
+ let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
233
+ if (!(!t || t.props.disabled))
234
+ if (e.multiple) {
235
+ const f = u.value.findIndex((o) => (e.valueComparator || Oe)(o.value, t.value)), a = r ?? !~f;
236
+ if (~f) {
237
+ const o = a ? [...u.value, t] : [...u.value];
238
+ o.splice(f, 1), u.value = o;
239
+ } else a && (u.value = [...u.value, t]);
240
+ e.clearOnSelect && (v.value = "");
241
+ } else {
242
+ const f = r !== !1;
243
+ u.value = f ? [t] : [], v.value = f && !R.value ? t.title : "", ee(() => {
244
+ i.value = !1, g.value = !0;
245
+ });
246
+ }
247
+ }
248
+ return B(m, (t, r) => {
249
+ t !== r && (t ? (W.value = !0, v.value = e.multiple || R.value ? "" : String(u.value.at(-1)?.props.title ?? ""), g.value = !0, ee(() => W.value = !1)) : (!e.multiple && v.value == null && (u.value = []), i.value = !1, u.value.some((f) => {
250
+ let {
251
+ title: a
252
+ } = f;
253
+ return a === v.value;
254
+ }) || (v.value = ""), n.value = -1));
255
+ }), B(v, (t) => {
256
+ !m.value || W.value || (t && (i.value = !0), g.value = !t);
257
+ }), B(i, () => {
258
+ if (!e.hideSelected && i.value && u.value.length) {
259
+ const t = w.value.findIndex((r) => u.value.some((f) => r.value === f.value));
260
+ Re && window.requestAnimationFrame(() => {
261
+ t >= 0 && F.value?.scrollToIndex(t);
262
+ });
263
+ }
264
+ }), B(() => e.items, (t, r) => {
265
+ i.value || m.value && !r.length && t.length && (i.value = !0);
266
+ }), xe(() => {
267
+ const t = !!(!e.hideNoData || w.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), r = u.value.length > 0, f = $.filterProps(e);
268
+ return c($, A({
269
+ ref: d
270
+ }, f, {
271
+ modelValue: v.value,
272
+ "onUpdate:modelValue": [(a) => v.value = a, Ve],
273
+ focused: m.value,
274
+ "onUpdate:focused": (a) => m.value = a,
275
+ validationValue: u.externalValue,
276
+ counterValue: ue.value,
277
+ dirty: r,
278
+ onChange: me,
279
+ class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
280
+ "v-autocomplete--active-menu": i.value,
281
+ "v-autocomplete--chips": !!e.chips,
282
+ "v-autocomplete--selection-slot": !!R.value,
283
+ "v-autocomplete--selecting-index": n.value > -1
284
+ }, e.class],
285
+ style: e.style,
286
+ readonly: D.isReadonly.value,
287
+ placeholder: r ? void 0 : e.placeholder,
288
+ "onClick:clear": re,
289
+ "onMousedown:control": ce,
290
+ onKeydown: de
291
+ }), {
292
+ ...l,
293
+ default: () => c(G, null, [c(Be, A({
294
+ ref: h,
295
+ modelValue: i.value,
296
+ "onUpdate:modelValue": (a) => i.value = a,
297
+ activator: "parent",
298
+ contentClass: "v-autocomplete__content",
299
+ disabled: H.value,
300
+ eager: e.eager,
301
+ maxHeight: 310,
302
+ openOnClick: !1,
303
+ closeOnContentClick: !1,
304
+ transition: e.transition,
305
+ onAfterEnter: he,
306
+ onAfterLeave: pe
307
+ }, e.menuProps), {
308
+ default: () => [t && c(je, A({
309
+ ref: Q,
310
+ selected: se.value,
311
+ selectStrategy: e.multiple ? "independent" : "single-independent",
312
+ onMousedown: (a) => a.preventDefault(),
313
+ onKeydown: ve,
314
+ onFocusin: ge,
315
+ onFocusout: ye,
316
+ tabindex: "-1",
317
+ "aria-live": "polite",
318
+ color: e.itemColor ?? e.color
319
+ }, ie, e.listProps), {
320
+ default: () => [l["prepend-item"]?.(), !w.value.length && !e.hideNoData && (l["no-data"]?.() ?? c(te, {
321
+ key: "no-data",
322
+ title: p(e.noDataText)
323
+ }, null)), c(we, {
324
+ ref: F,
325
+ renderless: !0,
326
+ items: w.value
327
+ }, {
328
+ default: (a) => {
329
+ let {
330
+ item: o,
331
+ index: k,
332
+ itemRef: N
333
+ } = a;
334
+ const P = A(o.props, {
335
+ ref: N,
336
+ key: o.value,
337
+ active: z.value && k === 0 ? !0 : void 0,
338
+ onClick: () => I(o, null)
339
+ });
340
+ return l.item?.({
341
+ item: o,
342
+ index: k,
343
+ props: P
344
+ }) ?? c(te, A(P, {
345
+ role: "option"
346
+ }), {
347
+ prepend: (T) => {
348
+ let {
349
+ isSelected: y
350
+ } = T;
351
+ return c(G, null, [e.multiple && !e.hideSelected ? c(Ge, {
352
+ key: o.value,
353
+ modelValue: y,
354
+ ripple: !1,
355
+ tabindex: "-1"
356
+ }, null) : void 0, o.props.prependAvatar && c(Ye, {
357
+ image: o.props.prependAvatar
358
+ }, null), o.props.prependIcon && c(le, {
359
+ icon: o.props.prependIcon
360
+ }, null)]);
361
+ },
362
+ title: () => g.value ? o.title : $e(o.title, oe(o)?.title, v.value?.length ?? 0)
363
+ });
364
+ }
365
+ }), l["append-item"]?.()]
366
+ })]
367
+ }), u.value.map((a, o) => {
368
+ function k(y) {
369
+ y.stopPropagation(), y.preventDefault(), I(a, !1);
370
+ }
371
+ const N = {
372
+ "onClick:close": k,
373
+ onKeydown(y) {
374
+ y.key !== "Enter" && y.key !== " " || (y.preventDefault(), y.stopPropagation(), k(y));
375
+ },
376
+ onMousedown(y) {
377
+ y.preventDefault(), y.stopPropagation();
378
+ },
379
+ modelValue: !0,
380
+ "onUpdate:modelValue": void 0
381
+ }, P = K.value ? !!l.chip : !!l.selection, T = P ? Te(K.value ? l.chip({
382
+ item: a,
383
+ index: o,
384
+ props: N
385
+ }) : l.selection({
386
+ item: a,
387
+ index: o
388
+ })) : void 0;
389
+ if (!(P && !T))
390
+ return c("div", {
391
+ key: a.value,
392
+ class: ["v-autocomplete__selection", o === n.value && ["v-autocomplete__selection--selected", O.value]],
393
+ style: o === n.value ? ne.value : {}
394
+ }, [K.value ? l.chip ? c(ze, {
395
+ key: "chip-defaults",
396
+ defaults: {
397
+ VChip: {
398
+ closable: e.closableChips,
399
+ size: "small",
400
+ text: a.title
401
+ }
402
+ }
403
+ }, {
404
+ default: () => [T]
405
+ }) : c(He, A({
406
+ key: "chip",
407
+ closable: e.closableChips,
408
+ size: "small",
409
+ text: a.title,
410
+ disabled: a.props.disabled
411
+ }, N), null) : T ?? c("span", {
412
+ class: "v-autocomplete__selection-text"
413
+ }, [a.title, e.multiple && o < u.value.length - 1 && c("span", {
414
+ class: "v-autocomplete__selection-comma"
415
+ }, [De(",")])])]);
416
+ })]),
417
+ "append-inner": function() {
418
+ for (var a = arguments.length, o = new Array(a), k = 0; k < a; k++)
419
+ o[k] = arguments[k];
420
+ return c(G, null, [l["append-inner"]?.(...o), e.menuIcon ? c(le, {
421
+ class: "v-autocomplete__menu-icon",
422
+ icon: e.menuIcon,
423
+ onMousedown: fe,
424
+ onClick: Pe,
425
+ "aria-label": p(x.value),
426
+ title: p(x.value),
427
+ tabindex: "-1"
428
+ }, null) : void 0]);
429
+ }
430
+ });
431
+ }), Ne({
432
+ isFocused: m,
433
+ isPristine: g,
434
+ menu: i,
435
+ search: v,
436
+ filteredItems: Y,
437
+ select: I
438
+ }, d);
439
+ }
440
+ });
441
+ Se("css/revolugo.vautocomplete.CuVjyvcC.css");
442
+ export {
443
+ ft as V
444
+ };
445
+ //# sourceMappingURL=revolugo.vautocomplete.DBPq0WdQ.min.js.map
@@ -0,0 +1,112 @@
1
+ import { Y as E, Z as h, aa as i, ab as y, bI as C, bJ as L, a as s, z as r, aK as N, _ as V, I as T, J as k } from "./revolugo.index.wc.CVg-U7Gx.min.js";
2
+ import { b as _, d as x, u as B, p as O, e as w, m as R, M as P } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
3
+ import { l as Y, p as M } from "./revolugo.index.bIefP9Di.min.js";
4
+ import { b as I, a as U } from "./revolugo.rounded.CdTdATPg.min.js";
5
+ import { V as G } from "./revolugo.vicon.DGbfBJIw.min.js";
6
+ function S(e) {
7
+ try {
8
+ if (typeof document < "u") {
9
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
+ sheets: [],
11
+ components: []
12
+ };
13
+ const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
14
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
15
+ for (const o of REVOLUGO_ELEMENTS_STYLES.components)
16
+ o(n);
17
+ if (e.indexOf("fonts") >= 0) {
18
+ const o = document.createElement("link");
19
+ o.rel = "stylesheet", linK.href = n, document.head.appendChild(o);
20
+ }
21
+ }
22
+ } catch (t) {
23
+ console.error("[revolugo-elements] ", t);
24
+ }
25
+ }
26
+ const A = h({
27
+ bordered: Boolean,
28
+ color: String,
29
+ content: [Number, String],
30
+ dot: Boolean,
31
+ floating: Boolean,
32
+ icon: V,
33
+ inline: Boolean,
34
+ label: {
35
+ type: String,
36
+ default: "$vuetify.badge"
37
+ },
38
+ max: [Number, String],
39
+ modelValue: {
40
+ type: Boolean,
41
+ default: !0
42
+ },
43
+ offsetX: [Number, String],
44
+ offsetY: [Number, String],
45
+ textColor: String,
46
+ ...R(),
47
+ ...M({
48
+ location: "top end"
49
+ }),
50
+ ...U(),
51
+ ...w(),
52
+ ...N(),
53
+ ...O({
54
+ transition: "scale-rotate-transition"
55
+ })
56
+ }, "VBadge"), j = E()({
57
+ name: "VBadge",
58
+ inheritAttrs: !1,
59
+ props: A(),
60
+ setup(e, t) {
61
+ const {
62
+ backgroundColorClasses: n,
63
+ backgroundColorStyles: o
64
+ } = _(i(e, "color")), {
65
+ roundedClasses: d
66
+ } = I(e), {
67
+ t: c
68
+ } = y(), {
69
+ textColorClasses: u,
70
+ textColorStyles: m
71
+ } = x(i(e, "textColor")), {
72
+ themeClasses: b
73
+ } = C(), {
74
+ locationStyles: f
75
+ } = Y(e, !0, (a) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(a) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(a) ? Number(e.offsetX ?? 0) : 0));
76
+ return B(() => {
77
+ const a = Number(e.content), l = !e.max || isNaN(a) ? e.content : a <= Number(e.max) ? a : `${e.max}+`, [g, v] = L(t.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
78
+ return s(e.tag, r({
79
+ class: ["v-badge", {
80
+ "v-badge--bordered": e.bordered,
81
+ "v-badge--dot": e.dot,
82
+ "v-badge--floating": e.floating,
83
+ "v-badge--inline": e.inline
84
+ }, e.class]
85
+ }, v, {
86
+ style: e.style
87
+ }), {
88
+ default: () => [s("div", {
89
+ class: "v-badge__wrapper"
90
+ }, [t.slots.default?.(), s(P, {
91
+ transition: e.transition
92
+ }, {
93
+ default: () => [T(s("span", r({
94
+ class: ["v-badge__badge", b.value, n.value, d.value, u.value],
95
+ style: [o.value, m.value, e.inline ? {} : f.value],
96
+ "aria-atomic": "true",
97
+ "aria-label": c(e.label, a),
98
+ "aria-live": "polite",
99
+ role: "status"
100
+ }, g), [e.dot ? void 0 : t.slots.badge ? t.slots.badge?.() : e.icon ? s(G, {
101
+ icon: e.icon
102
+ }, null) : l]), [[k, e.modelValue]])]
103
+ })])]
104
+ });
105
+ }), {};
106
+ }
107
+ });
108
+ S("css/revolugo.vbadge.C45eZpxy.css");
109
+ export {
110
+ j as V
111
+ };
112
+ //# sourceMappingURL=revolugo.vbadge.CU5xYZyW.min.js.map