@revolugo/elements 6.9.3-beta.9 → 6.9.4-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.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.bookingdetailssidebar.Cp4sLBjD.css +1 -0
  7. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  8. package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
  9. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  10. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
  11. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
  12. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
  13. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
  14. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
  15. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  16. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
  17. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
  18. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
  19. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
  20. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  21. package/dist/css/revolugo.index.XNPQF1ia.css +5 -0
  22. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  23. package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
  24. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +1 -0
  25. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  26. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
  27. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  28. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  29. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  30. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  31. package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
  32. package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
  33. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
  34. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  35. package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
  36. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
  37. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  38. package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
  39. package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
  40. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
  41. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
  42. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
  43. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
  44. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
  45. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
  46. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  47. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
  48. package/dist/css/{revolugo.webcomponentwrapper.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
  49. package/dist/index.es.min.js +1518 -1275
  50. package/dist/index.es.min.js.map +1 -1
  51. package/dist/index.min.js +5 -5
  52. package/dist/index.min.js.map +1 -1
  53. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +247 -0
  54. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
  55. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
  56. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
  57. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
  58. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
  59. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
  60. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
  61. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
  62. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
  63. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
  64. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
  65. package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
  66. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
  67. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
  68. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
  69. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
  70. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  71. package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
  72. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  73. package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
  74. package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
  75. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
  76. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
  77. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
  78. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
  79. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
  80. package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
  81. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
  82. package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
  83. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
  84. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
  85. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  86. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
  87. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
  88. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
  89. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
  90. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
  91. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
  92. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
  93. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  94. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
  95. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
  96. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
  97. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
  98. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
  99. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
  100. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
  101. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
  102. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
  103. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
  104. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
  105. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
  106. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
  107. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
  108. package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
  109. package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
  110. package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
  111. package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
  112. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
  113. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
  114. package/dist/revolugo.min.js +1 -1
  115. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
  116. package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
  117. package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
  118. package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
  119. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
  120. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
  121. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
  122. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
  123. package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
  124. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
  125. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
  126. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
  127. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
  128. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
  129. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
  130. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
  131. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
  132. package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
  133. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
  134. package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
  135. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
  136. package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
  137. package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
  138. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
  139. package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
  140. package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
  141. package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
  142. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
  143. package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
  144. package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
  145. package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
  146. package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
  147. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
  148. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
  149. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
  150. package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
  151. package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
  152. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
  153. package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
  154. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
  155. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
  156. package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
  157. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
  158. package/package.json +5 -5
  159. package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
  160. package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
  161. package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
  162. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
  163. package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
  164. package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
  165. package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
  166. package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
  167. package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
  168. package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
  169. package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
  170. package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
  171. package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
  172. package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
  173. package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
  174. package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
  175. package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
  176. package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
  177. package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
  178. package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
  179. package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
  180. package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
  181. package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
  182. package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
  183. package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
  184. package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
  185. package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
  186. package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
  187. package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
  188. package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
  189. package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
  190. package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -0,0 +1,1299 @@
1
+ import { an as U, a9 as B, ap as K, a7 as fe, bw as p, a2 as E, k as P, a6 as Z, H as g, Y as me, c0 as et, af as k, aL as tt, b4 as ye, a1 as M, a as m, cn as nt, J as ge, K as at, a3 as _, O as lt, aK as Se, co as st, aH as it, D as Q, aM as he, a4 as x, F as re, t as oe, ac as rt, cp as be, a_ as pe, bY as ot, aZ as L, aa as ke, aV as ut, ck as ct } from "./revolugo.index.wc.DLkeXtka.min.js";
2
+ import { a as ee, d as dt, c as vt, R as ft, t as mt, s as Ce, v as we, m as Ie, g as yt, h as ue } from "./revolugo.index.DZEISB0K.min.js";
3
+ import { u as N, M as gt, e as G, m as D, A as St, n as Ve, D as ht, o as Ae, d as bt, b as pt } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
4
+ import { u as kt } from "./revolugo.ssrboot.D7k4-YG4.min.js";
5
+ import { c as Pe, u as Le, b as Oe, a as _e, m as Ee, d as Te } from "./revolugo.rounded.C-2ilaaW.min.js";
6
+ import { V as ce } from "./revolugo.vicon.mrg8OisO.min.js";
7
+ import { V as Ct } from "./revolugo.vdivider.D1ITKKuu.min.js";
8
+ function Qe(e) {
9
+ try {
10
+ if (typeof document < "u") {
11
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
+ sheets: [],
13
+ components: []
14
+ };
15
+ const l = import.meta.url, a = l.slice(0, l.lastIndexOf("/") + 1) + e;
16
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
17
+ for (const n of REVOLUGO_ELEMENTS_STYLES.components)
18
+ n(a);
19
+ if (e.indexOf("fonts") >= 0) {
20
+ const n = document.createElement("link");
21
+ n.rel = "stylesheet", linK.href = a, document.head.appendChild(n);
22
+ }
23
+ }
24
+ } catch (l) {
25
+ console.error("[revolugo-elements] ", l);
26
+ }
27
+ }
28
+ const te = Symbol.for("vuetify:list");
29
+ function Be() {
30
+ const e = U(te, {
31
+ hasPrepend: B(!1),
32
+ updateHasPrepend: () => null
33
+ }), l = {
34
+ hasPrepend: B(!1),
35
+ updateHasPrepend: (a) => {
36
+ a && (l.hasPrepend.value = a);
37
+ }
38
+ };
39
+ return K(te, l), e;
40
+ }
41
+ function Me() {
42
+ return U(te, null);
43
+ }
44
+ const ae = (e) => {
45
+ const l = {
46
+ activate: (a) => {
47
+ let {
48
+ id: n,
49
+ value: s,
50
+ activated: t
51
+ } = a;
52
+ return n = p(n), e && !s && t.size === 1 && t.has(n) || (s ? t.add(n) : t.delete(n)), t;
53
+ },
54
+ in: (a, n, s) => {
55
+ let t = /* @__PURE__ */ new Set();
56
+ if (a != null)
57
+ for (const i of fe(a))
58
+ t = l.activate({
59
+ id: i,
60
+ value: !0,
61
+ activated: new Set(t),
62
+ children: n,
63
+ parents: s
64
+ });
65
+ return t;
66
+ },
67
+ out: (a) => Array.from(a)
68
+ };
69
+ return l;
70
+ }, je = (e) => {
71
+ const l = ae(e);
72
+ return {
73
+ activate: (n) => {
74
+ let {
75
+ activated: s,
76
+ id: t,
77
+ ...i
78
+ } = n;
79
+ t = p(t);
80
+ const o = s.has(t) ? /* @__PURE__ */ new Set([t]) : /* @__PURE__ */ new Set();
81
+ return l.activate({
82
+ ...i,
83
+ id: t,
84
+ activated: o
85
+ });
86
+ },
87
+ in: (n, s, t) => {
88
+ let i = /* @__PURE__ */ new Set();
89
+ if (n != null) {
90
+ const o = fe(n);
91
+ o.length && (i = l.in(o.slice(0, 1), s, t));
92
+ }
93
+ return i;
94
+ },
95
+ out: (n, s, t) => l.out(n, s, t)
96
+ };
97
+ }, wt = (e) => {
98
+ const l = ae(e);
99
+ return {
100
+ activate: (n) => {
101
+ let {
102
+ id: s,
103
+ activated: t,
104
+ children: i,
105
+ ...o
106
+ } = n;
107
+ return s = p(s), i.has(s) ? t : l.activate({
108
+ id: s,
109
+ activated: t,
110
+ children: i,
111
+ ...o
112
+ });
113
+ },
114
+ in: l.in,
115
+ out: l.out
116
+ };
117
+ }, It = (e) => {
118
+ const l = je(e);
119
+ return {
120
+ activate: (n) => {
121
+ let {
122
+ id: s,
123
+ activated: t,
124
+ children: i,
125
+ ...o
126
+ } = n;
127
+ return s = p(s), i.has(s) ? t : l.activate({
128
+ id: s,
129
+ activated: t,
130
+ children: i,
131
+ ...o
132
+ });
133
+ },
134
+ in: l.in,
135
+ out: l.out
136
+ };
137
+ }, Vt = {
138
+ open: (e) => {
139
+ let {
140
+ id: l,
141
+ value: a,
142
+ opened: n,
143
+ parents: s
144
+ } = e;
145
+ if (a) {
146
+ const t = /* @__PURE__ */ new Set();
147
+ t.add(l);
148
+ let i = s.get(l);
149
+ for (; i != null; )
150
+ t.add(i), i = s.get(i);
151
+ return t;
152
+ } else
153
+ return n.delete(l), n;
154
+ },
155
+ select: () => null
156
+ }, xe = {
157
+ open: (e) => {
158
+ let {
159
+ id: l,
160
+ value: a,
161
+ opened: n,
162
+ parents: s
163
+ } = e;
164
+ if (a) {
165
+ let t = s.get(l);
166
+ for (n.add(l); t != null && t !== l; )
167
+ n.add(t), t = s.get(t);
168
+ return n;
169
+ } else
170
+ n.delete(l);
171
+ return n;
172
+ },
173
+ select: () => null
174
+ }, At = {
175
+ open: xe.open,
176
+ select: (e) => {
177
+ let {
178
+ id: l,
179
+ value: a,
180
+ opened: n,
181
+ parents: s
182
+ } = e;
183
+ if (!a) return n;
184
+ const t = [];
185
+ let i = s.get(l);
186
+ for (; i != null; )
187
+ t.push(i), i = s.get(i);
188
+ return new Set(t);
189
+ }
190
+ }, le = (e) => {
191
+ const l = {
192
+ select: (a) => {
193
+ let {
194
+ id: n,
195
+ value: s,
196
+ selected: t
197
+ } = a;
198
+ if (n = p(n), e && !s) {
199
+ const i = Array.from(t.entries()).reduce((o, d) => {
200
+ let [y, c] = d;
201
+ return c === "on" && o.push(y), o;
202
+ }, []);
203
+ if (i.length === 1 && i[0] === n) return t;
204
+ }
205
+ return t.set(n, s ? "on" : "off"), t;
206
+ },
207
+ in: (a, n, s) => {
208
+ const t = /* @__PURE__ */ new Map();
209
+ for (const i of a || [])
210
+ l.select({
211
+ id: i,
212
+ value: !0,
213
+ selected: t,
214
+ children: n,
215
+ parents: s
216
+ });
217
+ return t;
218
+ },
219
+ out: (a) => {
220
+ const n = [];
221
+ for (const [s, t] of a.entries())
222
+ t === "on" && n.push(s);
223
+ return n;
224
+ }
225
+ };
226
+ return l;
227
+ }, Fe = (e) => {
228
+ const l = le(e);
229
+ return {
230
+ select: (n) => {
231
+ let {
232
+ selected: s,
233
+ id: t,
234
+ ...i
235
+ } = n;
236
+ t = p(t);
237
+ const o = s.has(t) ? /* @__PURE__ */ new Map([[t, s.get(t)]]) : /* @__PURE__ */ new Map();
238
+ return l.select({
239
+ ...i,
240
+ id: t,
241
+ selected: o
242
+ });
243
+ },
244
+ in: (n, s, t) => n?.length ? l.in(n.slice(0, 1), s, t) : /* @__PURE__ */ new Map(),
245
+ out: (n, s, t) => l.out(n, s, t)
246
+ };
247
+ }, Pt = (e) => {
248
+ const l = le(e);
249
+ return {
250
+ select: (n) => {
251
+ let {
252
+ id: s,
253
+ selected: t,
254
+ children: i,
255
+ ...o
256
+ } = n;
257
+ return s = p(s), i.has(s) ? t : l.select({
258
+ id: s,
259
+ selected: t,
260
+ children: i,
261
+ ...o
262
+ });
263
+ },
264
+ in: l.in,
265
+ out: l.out
266
+ };
267
+ }, Lt = (e) => {
268
+ const l = Fe(e);
269
+ return {
270
+ select: (n) => {
271
+ let {
272
+ id: s,
273
+ selected: t,
274
+ children: i,
275
+ ...o
276
+ } = n;
277
+ return s = p(s), i.has(s) ? t : l.select({
278
+ id: s,
279
+ selected: t,
280
+ children: i,
281
+ ...o
282
+ });
283
+ },
284
+ in: l.in,
285
+ out: l.out
286
+ };
287
+ }, Ot = (e) => {
288
+ const l = {
289
+ select: (a) => {
290
+ let {
291
+ id: n,
292
+ value: s,
293
+ selected: t,
294
+ children: i,
295
+ parents: o
296
+ } = a;
297
+ n = p(n);
298
+ const d = new Map(t), y = [n];
299
+ for (; y.length; ) {
300
+ const v = y.shift();
301
+ t.set(p(v), s ? "on" : "off"), i.has(v) && y.push(...i.get(v));
302
+ }
303
+ let c = p(o.get(n));
304
+ for (; c; ) {
305
+ const v = i.get(c), h = v.every((r) => t.get(p(r)) === "on"), b = v.every((r) => !t.has(p(r)) || t.get(p(r)) === "off");
306
+ t.set(c, h ? "on" : b ? "off" : "indeterminate"), c = p(o.get(c));
307
+ }
308
+ return e && !s && Array.from(t.entries()).reduce((h, b) => {
309
+ let [r, u] = b;
310
+ return u === "on" && h.push(r), h;
311
+ }, []).length === 0 ? d : t;
312
+ },
313
+ in: (a, n, s) => {
314
+ let t = /* @__PURE__ */ new Map();
315
+ for (const i of a || [])
316
+ t = l.select({
317
+ id: i,
318
+ value: !0,
319
+ selected: t,
320
+ children: n,
321
+ parents: s
322
+ });
323
+ return t;
324
+ },
325
+ out: (a, n) => {
326
+ const s = [];
327
+ for (const [t, i] of a.entries())
328
+ i === "on" && !n.has(t) && s.push(t);
329
+ return s;
330
+ }
331
+ };
332
+ return l;
333
+ }, F = Symbol.for("vuetify:nested"), Ne = {
334
+ id: B(),
335
+ root: {
336
+ register: () => null,
337
+ unregister: () => null,
338
+ parents: P(/* @__PURE__ */ new Map()),
339
+ children: P(/* @__PURE__ */ new Map()),
340
+ open: () => null,
341
+ openOnSelect: () => null,
342
+ activate: () => null,
343
+ select: () => null,
344
+ activatable: P(!1),
345
+ selectable: P(!1),
346
+ opened: P(/* @__PURE__ */ new Set()),
347
+ activated: P(/* @__PURE__ */ new Set()),
348
+ selected: P(/* @__PURE__ */ new Map()),
349
+ selectedValues: P([]),
350
+ getPath: () => []
351
+ }
352
+ }, _t = E({
353
+ activatable: Boolean,
354
+ selectable: Boolean,
355
+ activeStrategy: [String, Function, Object],
356
+ selectStrategy: [String, Function, Object],
357
+ openStrategy: [String, Object],
358
+ opened: null,
359
+ activated: null,
360
+ selected: null,
361
+ mandatory: Boolean
362
+ }, "nested"), Et = (e) => {
363
+ let l = !1;
364
+ const a = P(/* @__PURE__ */ new Map()), n = P(/* @__PURE__ */ new Map()), s = Z(e, "opened", e.opened, (r) => new Set(r), (r) => [...r.values()]), t = g(() => {
365
+ if (typeof e.activeStrategy == "object") return e.activeStrategy;
366
+ if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
367
+ switch (e.activeStrategy) {
368
+ case "leaf":
369
+ return wt(e.mandatory);
370
+ case "single-leaf":
371
+ return It(e.mandatory);
372
+ case "independent":
373
+ return ae(e.mandatory);
374
+ case "single-independent":
375
+ default:
376
+ return je(e.mandatory);
377
+ }
378
+ }), i = g(() => {
379
+ if (typeof e.selectStrategy == "object") return e.selectStrategy;
380
+ if (typeof e.selectStrategy == "function") return e.selectStrategy(e.mandatory);
381
+ switch (e.selectStrategy) {
382
+ case "single-leaf":
383
+ return Lt(e.mandatory);
384
+ case "leaf":
385
+ return Pt(e.mandatory);
386
+ case "independent":
387
+ return le(e.mandatory);
388
+ case "single-independent":
389
+ return Fe(e.mandatory);
390
+ case "classic":
391
+ default:
392
+ return Ot(e.mandatory);
393
+ }
394
+ }), o = g(() => {
395
+ if (typeof e.openStrategy == "object") return e.openStrategy;
396
+ switch (e.openStrategy) {
397
+ case "list":
398
+ return At;
399
+ case "single":
400
+ return Vt;
401
+ case "multiple":
402
+ default:
403
+ return xe;
404
+ }
405
+ }), d = Z(e, "activated", e.activated, (r) => t.value.in(r, a.value, n.value), (r) => t.value.out(r, a.value, n.value)), y = Z(e, "selected", e.selected, (r) => i.value.in(r, a.value, n.value), (r) => i.value.out(r, a.value, n.value));
406
+ me(() => {
407
+ l = !0;
408
+ });
409
+ function c(r) {
410
+ const u = [];
411
+ let f = r;
412
+ for (; f != null; )
413
+ u.unshift(f), f = n.value.get(f);
414
+ return u;
415
+ }
416
+ const v = et("nested"), h = /* @__PURE__ */ new Set(), b = {
417
+ id: B(),
418
+ root: {
419
+ opened: s,
420
+ activatable: k(e, "activatable"),
421
+ selectable: k(e, "selectable"),
422
+ activated: d,
423
+ selected: y,
424
+ selectedValues: g(() => {
425
+ const r = [];
426
+ for (const [u, f] of y.value.entries())
427
+ f === "on" && r.push(u);
428
+ return r;
429
+ }),
430
+ register: (r, u, f) => {
431
+ if (h.has(r)) {
432
+ c(r).map(String).join(" -> "), c(u).concat(r).map(String).join(" -> ");
433
+ return;
434
+ } else
435
+ h.add(r);
436
+ u && r !== u && n.value.set(r, u), f && a.value.set(r, []), u != null && a.value.set(u, [...a.value.get(u) || [], r]);
437
+ },
438
+ unregister: (r) => {
439
+ if (l) return;
440
+ h.delete(r), a.value.delete(r);
441
+ const u = n.value.get(r);
442
+ if (u) {
443
+ const f = a.value.get(u) ?? [];
444
+ a.value.set(u, f.filter((S) => S !== r));
445
+ }
446
+ n.value.delete(r);
447
+ },
448
+ open: (r, u, f) => {
449
+ v.emit("click:open", {
450
+ id: r,
451
+ value: u,
452
+ path: c(r),
453
+ event: f
454
+ });
455
+ const S = o.value.open({
456
+ id: r,
457
+ value: u,
458
+ opened: new Set(s.value),
459
+ children: a.value,
460
+ parents: n.value,
461
+ event: f
462
+ });
463
+ S && (s.value = S);
464
+ },
465
+ openOnSelect: (r, u, f) => {
466
+ const S = o.value.select({
467
+ id: r,
468
+ value: u,
469
+ selected: new Map(y.value),
470
+ opened: new Set(s.value),
471
+ children: a.value,
472
+ parents: n.value,
473
+ event: f
474
+ });
475
+ S && (s.value = S);
476
+ },
477
+ select: (r, u, f) => {
478
+ v.emit("click:select", {
479
+ id: r,
480
+ value: u,
481
+ path: c(r),
482
+ event: f
483
+ });
484
+ const S = i.value.select({
485
+ id: r,
486
+ value: u,
487
+ selected: new Map(y.value),
488
+ children: a.value,
489
+ parents: n.value,
490
+ event: f
491
+ });
492
+ S && (y.value = S), b.root.openOnSelect(r, u, f);
493
+ },
494
+ activate: (r, u, f) => {
495
+ if (!e.activatable)
496
+ return b.root.select(r, !0, f);
497
+ v.emit("click:activate", {
498
+ id: r,
499
+ value: u,
500
+ path: c(r),
501
+ event: f
502
+ });
503
+ const S = t.value.activate({
504
+ id: r,
505
+ value: u,
506
+ activated: new Set(d.value),
507
+ children: a.value,
508
+ parents: n.value,
509
+ event: f
510
+ });
511
+ if (S.size !== d.value.size)
512
+ d.value = S;
513
+ else {
514
+ for (const I of S)
515
+ if (!d.value.has(I)) {
516
+ d.value = S;
517
+ return;
518
+ }
519
+ for (const I of d.value)
520
+ if (!S.has(I)) {
521
+ d.value = S;
522
+ return;
523
+ }
524
+ }
525
+ },
526
+ children: a,
527
+ parents: n,
528
+ getPath: c
529
+ }
530
+ };
531
+ return K(F, b), b.root;
532
+ }, Ge = (e, l) => {
533
+ const a = U(F, Ne), n = Symbol(tt()), s = g(() => e.value !== void 0 ? e.value : n), t = {
534
+ ...a,
535
+ id: s,
536
+ open: (i, o) => a.root.open(s.value, i, o),
537
+ openOnSelect: (i, o) => a.root.openOnSelect(s.value, i, o),
538
+ isOpen: g(() => a.root.opened.value.has(s.value)),
539
+ parent: g(() => a.root.parents.value.get(s.value)),
540
+ activate: (i, o) => a.root.activate(s.value, i, o),
541
+ isActivated: g(() => a.root.activated.value.has(p(s.value))),
542
+ select: (i, o) => a.root.select(s.value, i, o),
543
+ isSelected: g(() => a.root.selected.value.get(p(s.value)) === "on"),
544
+ isIndeterminate: g(() => a.root.selected.value.get(p(s.value)) === "indeterminate"),
545
+ isLeaf: g(() => !a.root.children.value.get(s.value)),
546
+ isGroupActivator: a.isGroupActivator
547
+ };
548
+ return ye(() => {
549
+ !a.isGroupActivator && a.root.register(s.value, a.id.value, l);
550
+ }), me(() => {
551
+ !a.isGroupActivator && a.root.unregister(s.value);
552
+ }), l && K(F, t), t;
553
+ }, Tt = () => {
554
+ const e = U(F, Ne);
555
+ K(F, {
556
+ ...e,
557
+ isGroupActivator: !0
558
+ });
559
+ }, Bt = nt({
560
+ name: "VListGroupActivator",
561
+ setup(e, l) {
562
+ let {
563
+ slots: a
564
+ } = l;
565
+ return Tt(), () => a.default?.();
566
+ }
567
+ }), Mt = E({
568
+ /* @deprecated */
569
+ activeColor: String,
570
+ baseColor: String,
571
+ color: String,
572
+ collapseIcon: {
573
+ type: _,
574
+ default: "$collapse"
575
+ },
576
+ expandIcon: {
577
+ type: _,
578
+ default: "$expand"
579
+ },
580
+ prependIcon: _,
581
+ appendIcon: _,
582
+ fluid: Boolean,
583
+ subgroup: Boolean,
584
+ title: String,
585
+ value: null,
586
+ ...D(),
587
+ ...G()
588
+ }, "VListGroup"), de = M()({
589
+ name: "VListGroup",
590
+ props: Mt(),
591
+ setup(e, l) {
592
+ let {
593
+ slots: a
594
+ } = l;
595
+ const {
596
+ isOpen: n,
597
+ open: s,
598
+ id: t
599
+ } = Ge(k(e, "value"), !0), i = g(() => `v-list-group--id-${String(t.value)}`), o = Me(), {
600
+ isBooted: d
601
+ } = kt();
602
+ function y(b) {
603
+ b.stopPropagation(), s(!n.value, b);
604
+ }
605
+ const c = g(() => ({
606
+ onClick: y,
607
+ class: "v-list-group__header",
608
+ id: i.value
609
+ })), v = g(() => n.value ? e.collapseIcon : e.expandIcon), h = g(() => ({
610
+ VListItem: {
611
+ active: n.value,
612
+ activeColor: e.activeColor,
613
+ baseColor: e.baseColor,
614
+ color: e.color,
615
+ prependIcon: e.prependIcon || e.subgroup && v.value,
616
+ appendIcon: e.appendIcon || !e.subgroup && v.value,
617
+ title: e.title,
618
+ value: e.value
619
+ }
620
+ }));
621
+ return N(() => m(e.tag, {
622
+ class: ["v-list-group", {
623
+ "v-list-group--prepend": o?.hasPrepend.value,
624
+ "v-list-group--fluid": e.fluid,
625
+ "v-list-group--subgroup": e.subgroup,
626
+ "v-list-group--open": n.value
627
+ }, e.class],
628
+ style: e.style
629
+ }, {
630
+ default: () => [a.activator && m(ee, {
631
+ defaults: h.value
632
+ }, {
633
+ default: () => [m(Bt, null, {
634
+ default: () => [a.activator({
635
+ props: c.value,
636
+ isOpen: n.value
637
+ })]
638
+ })]
639
+ }), m(gt, {
640
+ transition: {
641
+ component: dt
642
+ },
643
+ disabled: !d.value
644
+ }, {
645
+ default: () => [ge(m("div", {
646
+ class: "v-list-group__items",
647
+ role: "group",
648
+ "aria-labelledby": i.value
649
+ }, [a.default?.()]), [[at, n.value]])]
650
+ })]
651
+ })), {
652
+ isOpen: n
653
+ };
654
+ }
655
+ }), jt = E({
656
+ opacity: [Number, String],
657
+ ...D(),
658
+ ...G()
659
+ }, "VListItemSubtitle"), xt = M()({
660
+ name: "VListItemSubtitle",
661
+ props: jt(),
662
+ setup(e, l) {
663
+ let {
664
+ slots: a
665
+ } = l;
666
+ return N(() => m(e.tag, {
667
+ class: ["v-list-item-subtitle", e.class],
668
+ style: [{
669
+ "--v-list-item-subtitle-opacity": e.opacity
670
+ }, e.style]
671
+ }, a)), {};
672
+ }
673
+ }), Ft = vt("v-list-item-title"), Nt = E({
674
+ active: {
675
+ type: Boolean,
676
+ default: void 0
677
+ },
678
+ activeClass: String,
679
+ /* @deprecated */
680
+ activeColor: String,
681
+ appendAvatar: String,
682
+ appendIcon: _,
683
+ baseColor: String,
684
+ disabled: Boolean,
685
+ lines: [Boolean, String],
686
+ link: {
687
+ type: Boolean,
688
+ default: void 0
689
+ },
690
+ nav: Boolean,
691
+ prependAvatar: String,
692
+ prependIcon: _,
693
+ ripple: {
694
+ type: [Boolean, Object],
695
+ default: !0
696
+ },
697
+ slim: Boolean,
698
+ subtitle: {
699
+ type: [String, Number, Boolean],
700
+ default: void 0
701
+ },
702
+ title: {
703
+ type: [String, Number, Boolean],
704
+ default: void 0
705
+ },
706
+ value: null,
707
+ onClick: x(),
708
+ onClickOnce: x(),
709
+ ...Te(),
710
+ ...D(),
711
+ ...Ie(),
712
+ ...Ae(),
713
+ ...Ee(),
714
+ ..._e(),
715
+ ...ht(),
716
+ ...G(),
717
+ ...he(),
718
+ ...we({
719
+ variant: "text"
720
+ })
721
+ }, "VListItem"), ve = M()({
722
+ name: "VListItem",
723
+ directives: {
724
+ Ripple: ft
725
+ },
726
+ props: Nt(),
727
+ emits: {
728
+ click: (e) => !0
729
+ },
730
+ setup(e, l) {
731
+ let {
732
+ attrs: a,
733
+ slots: n,
734
+ emit: s
735
+ } = l;
736
+ const t = St(e, a), i = g(() => e.value === void 0 ? t.href.value : e.value), {
737
+ activate: o,
738
+ isActivated: d,
739
+ select: y,
740
+ isOpen: c,
741
+ isSelected: v,
742
+ isIndeterminate: h,
743
+ isGroupActivator: b,
744
+ root: r,
745
+ parent: u,
746
+ openOnSelect: f,
747
+ id: S
748
+ } = Ge(i, !1), I = Me(), V = g(() => e.active !== !1 && (e.active || t.isActive?.value || (r.activatable.value ? d.value : v.value))), j = g(() => e.link !== !1 && t.isLink.value), T = g(() => !!I && (r.selectable.value || r.activatable.value || e.value != null)), A = g(() => !e.disabled && e.link !== !1 && (e.link || t.isClickable.value || T.value)), $ = g(() => e.rounded || e.nav), Y = g(() => e.color ?? e.activeColor), H = g(() => ({
749
+ color: V.value ? Y.value ?? e.baseColor : e.baseColor,
750
+ variant: e.variant
751
+ }));
752
+ lt(() => t.isActive?.value, (w) => {
753
+ w && R();
754
+ }), ye(() => {
755
+ t.isActive?.value && R();
756
+ });
757
+ function R() {
758
+ u.value != null && r.open(u.value, !0), f(!0);
759
+ }
760
+ const {
761
+ themeClasses: z
762
+ } = Se(e), {
763
+ borderClasses: O
764
+ } = Pe(e), {
765
+ colorClasses: C,
766
+ colorStyles: q,
767
+ variantClasses: Ke
768
+ } = mt(H), {
769
+ densityClasses: $e
770
+ } = Ce(e), {
771
+ dimensionStyles: Ye
772
+ } = Ve(e), {
773
+ elevationClasses: He
774
+ } = Le(e), {
775
+ roundedClasses: ze
776
+ } = Oe($), qe = g(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), X = g(() => ({
777
+ isActive: V.value,
778
+ select: y,
779
+ isOpen: c.value,
780
+ isSelected: v.value,
781
+ isIndeterminate: h.value
782
+ }));
783
+ function Xe(w) {
784
+ s("click", w), A.value && (t.navigate?.(w), !b && (r.activatable.value ? o(!d.value, w) : (r.selectable.value || e.value != null) && y(!v.value, w)));
785
+ }
786
+ function Je(w) {
787
+ const J = w.target;
788
+ ["INPUT", "TEXTAREA"].includes(J.tagName) || (w.key === "Enter" || w.key === " ") && (w.preventDefault(), w.target.dispatchEvent(new MouseEvent("click", w)));
789
+ }
790
+ return N(() => {
791
+ const w = j.value ? "a" : e.tag, J = n.title || e.title != null, We = n.subtitle || e.subtitle != null, se = !!(e.appendAvatar || e.appendIcon), Ze = !!(se || n.append), ie = !!(e.prependAvatar || e.prependIcon), W = !!(ie || n.prepend);
792
+ return I?.updateHasPrepend(W), e.activeColor && st("active-color", ["color", "base-color"]), ge(m(w, Q({
793
+ class: ["v-list-item", {
794
+ "v-list-item--active": V.value,
795
+ "v-list-item--disabled": e.disabled,
796
+ "v-list-item--link": A.value,
797
+ "v-list-item--nav": e.nav,
798
+ "v-list-item--prepend": !W && I?.hasPrepend.value,
799
+ "v-list-item--slim": e.slim,
800
+ [`${e.activeClass}`]: e.activeClass && V.value
801
+ }, z.value, O.value, C.value, $e.value, He.value, qe.value, ze.value, Ke.value, e.class],
802
+ style: [q.value, Ye.value, e.style],
803
+ tabindex: A.value ? I ? -2 : 0 : void 0,
804
+ "aria-selected": T.value ? r.activatable.value ? d.value : r.selectable.value ? v.value : V.value : void 0,
805
+ onClick: Xe,
806
+ onKeydown: A.value && !j.value && Je
807
+ }, t.linkProps), {
808
+ default: () => [yt(A.value || V.value, "v-list-item"), W && m("div", {
809
+ key: "prepend",
810
+ class: "v-list-item__prepend"
811
+ }, [n.prepend ? m(ee, {
812
+ key: "prepend-defaults",
813
+ disabled: !ie,
814
+ defaults: {
815
+ VAvatar: {
816
+ density: e.density,
817
+ image: e.prependAvatar
818
+ },
819
+ VIcon: {
820
+ density: e.density,
821
+ icon: e.prependIcon
822
+ },
823
+ VListItemAction: {
824
+ start: !0
825
+ }
826
+ }
827
+ }, {
828
+ default: () => [n.prepend?.(X.value)]
829
+ }) : m(re, null, [e.prependAvatar && m(ue, {
830
+ key: "prepend-avatar",
831
+ density: e.density,
832
+ image: e.prependAvatar
833
+ }, null), e.prependIcon && m(ce, {
834
+ key: "prepend-icon",
835
+ density: e.density,
836
+ icon: e.prependIcon
837
+ }, null)]), m("div", {
838
+ class: "v-list-item__spacer"
839
+ }, null)]), m("div", {
840
+ class: "v-list-item__content",
841
+ "data-no-activator": ""
842
+ }, [J && m(Ft, {
843
+ key: "title"
844
+ }, {
845
+ default: () => [n.title?.({
846
+ title: e.title
847
+ }) ?? oe(e.title)]
848
+ }), We && m(xt, {
849
+ key: "subtitle"
850
+ }, {
851
+ default: () => [n.subtitle?.({
852
+ subtitle: e.subtitle
853
+ }) ?? oe(e.subtitle)]
854
+ }), n.default?.(X.value)]), Ze && m("div", {
855
+ key: "append",
856
+ class: "v-list-item__append"
857
+ }, [n.append ? m(ee, {
858
+ key: "append-defaults",
859
+ disabled: !se,
860
+ defaults: {
861
+ VAvatar: {
862
+ density: e.density,
863
+ image: e.appendAvatar
864
+ },
865
+ VIcon: {
866
+ density: e.density,
867
+ icon: e.appendIcon
868
+ },
869
+ VListItemAction: {
870
+ end: !0
871
+ }
872
+ }
873
+ }, {
874
+ default: () => [n.append?.(X.value)]
875
+ }) : m(re, null, [e.appendIcon && m(ce, {
876
+ key: "append-icon",
877
+ density: e.density,
878
+ icon: e.appendIcon
879
+ }, null), e.appendAvatar && m(ue, {
880
+ key: "append-avatar",
881
+ density: e.density,
882
+ image: e.appendAvatar
883
+ }, null)]), m("div", {
884
+ class: "v-list-item__spacer"
885
+ }, null)])]
886
+ }), [[it("ripple"), A.value && e.ripple]]);
887
+ }), {
888
+ activate: o,
889
+ isActivated: d,
890
+ isGroupActivator: b,
891
+ isSelected: v,
892
+ list: I,
893
+ select: y,
894
+ root: r,
895
+ id: S,
896
+ link: t
897
+ };
898
+ }
899
+ }), Gt = E({
900
+ color: String,
901
+ inset: Boolean,
902
+ sticky: Boolean,
903
+ title: String,
904
+ ...D(),
905
+ ...G()
906
+ }, "VListSubheader"), Dt = M()({
907
+ name: "VListSubheader",
908
+ props: Gt(),
909
+ setup(e, l) {
910
+ let {
911
+ slots: a
912
+ } = l;
913
+ const {
914
+ textColorClasses: n,
915
+ textColorStyles: s
916
+ } = bt(k(e, "color"));
917
+ return N(() => {
918
+ const t = !!(a.default || e.title);
919
+ return m(e.tag, {
920
+ class: ["v-list-subheader", {
921
+ "v-list-subheader--inset": e.inset,
922
+ "v-list-subheader--sticky": e.sticky
923
+ }, n.value, e.class],
924
+ style: [{
925
+ textColorStyles: s
926
+ }, e.style]
927
+ }, {
928
+ default: () => [t && m("div", {
929
+ class: "v-list-subheader__text"
930
+ }, [a.default?.() ?? e.title])]
931
+ });
932
+ }), {};
933
+ }
934
+ }), Rt = E({
935
+ items: Array,
936
+ returnObject: Boolean
937
+ }, "VListChildren"), De = M()({
938
+ name: "VListChildren",
939
+ props: Rt(),
940
+ setup(e, l) {
941
+ let {
942
+ slots: a
943
+ } = l;
944
+ return Be(), () => a.default?.() ?? e.items?.map((n) => {
945
+ let {
946
+ children: s,
947
+ props: t,
948
+ type: i,
949
+ raw: o
950
+ } = n;
951
+ if (i === "divider")
952
+ return a.divider?.({
953
+ props: t
954
+ }) ?? m(Ct, t, null);
955
+ if (i === "subheader")
956
+ return a.subheader?.({
957
+ props: t
958
+ }) ?? m(Dt, t, null);
959
+ const d = {
960
+ subtitle: a.subtitle ? (c) => a.subtitle?.({
961
+ ...c,
962
+ item: o
963
+ }) : void 0,
964
+ prepend: a.prepend ? (c) => a.prepend?.({
965
+ ...c,
966
+ item: o
967
+ }) : void 0,
968
+ append: a.append ? (c) => a.append?.({
969
+ ...c,
970
+ item: o
971
+ }) : void 0,
972
+ title: a.title ? (c) => a.title?.({
973
+ ...c,
974
+ item: o
975
+ }) : void 0
976
+ }, y = de.filterProps(t);
977
+ return s ? m(de, Q({
978
+ value: t?.value
979
+ }, y), {
980
+ activator: (c) => {
981
+ let {
982
+ props: v
983
+ } = c;
984
+ const h = {
985
+ ...t,
986
+ ...v,
987
+ value: e.returnObject ? o : t.value
988
+ };
989
+ return a.header ? a.header({
990
+ props: h
991
+ }) : m(ve, h, d);
992
+ },
993
+ default: () => m(De, {
994
+ items: s,
995
+ returnObject: e.returnObject
996
+ }, a)
997
+ }) : a.item ? a.item({
998
+ props: t
999
+ }) : m(ve, Q(t, {
1000
+ value: e.returnObject ? o : t.value
1001
+ }), d);
1002
+ });
1003
+ }
1004
+ }), Ut = E({
1005
+ items: {
1006
+ type: Array,
1007
+ default: () => []
1008
+ },
1009
+ itemTitle: {
1010
+ type: [String, Array, Function],
1011
+ default: "title"
1012
+ },
1013
+ itemValue: {
1014
+ type: [String, Array, Function],
1015
+ default: "value"
1016
+ },
1017
+ itemChildren: {
1018
+ type: [Boolean, String, Array, Function],
1019
+ default: "children"
1020
+ },
1021
+ itemProps: {
1022
+ type: [Boolean, String, Array, Function],
1023
+ default: "props"
1024
+ },
1025
+ returnObject: Boolean,
1026
+ valueComparator: Function
1027
+ }, "list-items");
1028
+ function ne(e, l) {
1029
+ const a = L(l, e.itemTitle, l), n = L(l, e.itemValue, a), s = L(l, e.itemChildren), t = e.itemProps === !0 ? typeof l == "object" && l != null && !Array.isArray(l) ? "children" in l ? ke(l, ["children"]) : l : void 0 : L(l, e.itemProps), i = {
1030
+ title: a,
1031
+ value: n,
1032
+ ...t
1033
+ };
1034
+ return {
1035
+ title: String(i.title ?? ""),
1036
+ value: i.value,
1037
+ props: i,
1038
+ children: Array.isArray(s) ? Re(e, s) : void 0,
1039
+ raw: l
1040
+ };
1041
+ }
1042
+ function Re(e, l) {
1043
+ const a = pe(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), n = [];
1044
+ for (const s of l)
1045
+ n.push(ne(a, s));
1046
+ return n;
1047
+ }
1048
+ function Qt(e) {
1049
+ const l = g(() => Re(e, e.items)), a = g(() => l.value.some((o) => o.value === null)), n = B(/* @__PURE__ */ new Map()), s = B([]);
1050
+ rt(() => {
1051
+ const o = l.value, d = /* @__PURE__ */ new Map(), y = [];
1052
+ for (let c = 0; c < o.length; c++) {
1053
+ const v = o[c];
1054
+ if (be(v.value) || v.value === null) {
1055
+ let h = d.get(v.value);
1056
+ h || (h = [], d.set(v.value, h)), h.push(v);
1057
+ } else
1058
+ y.push(v);
1059
+ }
1060
+ n.value = d, s.value = y;
1061
+ });
1062
+ function t(o) {
1063
+ const d = n.value, y = l.value, c = s.value, v = a.value, h = e.returnObject, b = !!e.valueComparator, r = e.valueComparator || ot, u = pe(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), f = [];
1064
+ e: for (const S of o) {
1065
+ if (!v && S === null) continue;
1066
+ if (h && typeof S == "string") {
1067
+ f.push(ne(u, S));
1068
+ continue;
1069
+ }
1070
+ const I = d.get(S);
1071
+ if (b || !I) {
1072
+ for (const V of b ? y : c)
1073
+ if (r(S, V.value)) {
1074
+ f.push(V);
1075
+ continue e;
1076
+ }
1077
+ f.push(ne(u, S));
1078
+ continue;
1079
+ }
1080
+ f.push(...I);
1081
+ }
1082
+ return f;
1083
+ }
1084
+ function i(o) {
1085
+ return e.returnObject ? o.map((d) => {
1086
+ let {
1087
+ raw: y
1088
+ } = d;
1089
+ return y;
1090
+ }) : o.map((d) => {
1091
+ let {
1092
+ value: y
1093
+ } = d;
1094
+ return y;
1095
+ });
1096
+ }
1097
+ return {
1098
+ items: l,
1099
+ transformIn: t,
1100
+ transformOut: i
1101
+ };
1102
+ }
1103
+ function Kt(e, l) {
1104
+ const a = L(l, e.itemType, "item"), n = be(l) ? l : L(l, e.itemTitle), s = L(l, e.itemValue, void 0), t = L(l, e.itemChildren), i = e.itemProps === !0 ? ke(l, ["children"]) : L(l, e.itemProps), o = {
1105
+ title: n,
1106
+ value: s,
1107
+ ...i
1108
+ };
1109
+ return {
1110
+ type: a,
1111
+ title: o.title,
1112
+ value: o.value,
1113
+ props: o,
1114
+ children: a === "item" && t ? Ue(e, t) : void 0,
1115
+ raw: l
1116
+ };
1117
+ }
1118
+ function Ue(e, l) {
1119
+ const a = [];
1120
+ for (const n of l)
1121
+ a.push(Kt(e, n));
1122
+ return a;
1123
+ }
1124
+ function $t(e) {
1125
+ return {
1126
+ items: g(() => Ue(e, e.items))
1127
+ };
1128
+ }
1129
+ const Yt = E({
1130
+ baseColor: String,
1131
+ /* @deprecated */
1132
+ activeColor: String,
1133
+ activeClass: String,
1134
+ bgColor: String,
1135
+ disabled: Boolean,
1136
+ expandIcon: _,
1137
+ collapseIcon: _,
1138
+ lines: {
1139
+ type: [Boolean, String],
1140
+ default: "one"
1141
+ },
1142
+ slim: Boolean,
1143
+ nav: Boolean,
1144
+ "onClick:open": x(),
1145
+ "onClick:select": x(),
1146
+ "onUpdate:opened": x(),
1147
+ ..._t({
1148
+ selectStrategy: "single-leaf",
1149
+ openStrategy: "list"
1150
+ }),
1151
+ ...Te(),
1152
+ ...D(),
1153
+ ...Ie(),
1154
+ ...Ae(),
1155
+ ...Ee(),
1156
+ itemType: {
1157
+ type: String,
1158
+ default: "type"
1159
+ },
1160
+ ...Ut(),
1161
+ ..._e(),
1162
+ ...G(),
1163
+ ...he(),
1164
+ ...we({
1165
+ variant: "text"
1166
+ })
1167
+ }, "VList"), en = M()({
1168
+ name: "VList",
1169
+ props: Yt(),
1170
+ emits: {
1171
+ "update:selected": (e) => !0,
1172
+ "update:activated": (e) => !0,
1173
+ "update:opened": (e) => !0,
1174
+ "click:open": (e) => !0,
1175
+ "click:activate": (e) => !0,
1176
+ "click:select": (e) => !0
1177
+ },
1178
+ setup(e, l) {
1179
+ let {
1180
+ slots: a
1181
+ } = l;
1182
+ const {
1183
+ items: n
1184
+ } = $t(e), {
1185
+ themeClasses: s
1186
+ } = Se(e), {
1187
+ backgroundColorClasses: t,
1188
+ backgroundColorStyles: i
1189
+ } = pt(k(e, "bgColor")), {
1190
+ borderClasses: o
1191
+ } = Pe(e), {
1192
+ densityClasses: d
1193
+ } = Ce(e), {
1194
+ dimensionStyles: y
1195
+ } = Ve(e), {
1196
+ elevationClasses: c
1197
+ } = Le(e), {
1198
+ roundedClasses: v
1199
+ } = Oe(e), {
1200
+ children: h,
1201
+ open: b,
1202
+ parents: r,
1203
+ select: u,
1204
+ getPath: f
1205
+ } = Et(e), S = g(() => e.lines ? `v-list--${e.lines}-line` : void 0), I = k(e, "activeColor"), V = k(e, "baseColor"), j = k(e, "color");
1206
+ Be(), ut({
1207
+ VListGroup: {
1208
+ activeColor: I,
1209
+ baseColor: V,
1210
+ color: j,
1211
+ expandIcon: k(e, "expandIcon"),
1212
+ collapseIcon: k(e, "collapseIcon")
1213
+ },
1214
+ VListItem: {
1215
+ activeClass: k(e, "activeClass"),
1216
+ activeColor: I,
1217
+ baseColor: V,
1218
+ color: j,
1219
+ density: k(e, "density"),
1220
+ disabled: k(e, "disabled"),
1221
+ lines: k(e, "lines"),
1222
+ nav: k(e, "nav"),
1223
+ slim: k(e, "slim"),
1224
+ variant: k(e, "variant")
1225
+ }
1226
+ });
1227
+ const T = B(!1), A = P();
1228
+ function $(C) {
1229
+ T.value = !0;
1230
+ }
1231
+ function Y(C) {
1232
+ T.value = !1;
1233
+ }
1234
+ function H(C) {
1235
+ !T.value && !(C.relatedTarget && A.value?.contains(C.relatedTarget)) && O();
1236
+ }
1237
+ function R(C) {
1238
+ const q = C.target;
1239
+ if (!(!A.value || ["INPUT", "TEXTAREA"].includes(q.tagName))) {
1240
+ if (C.key === "ArrowDown")
1241
+ O("next");
1242
+ else if (C.key === "ArrowUp")
1243
+ O("prev");
1244
+ else if (C.key === "Home")
1245
+ O("first");
1246
+ else if (C.key === "End")
1247
+ O("last");
1248
+ else
1249
+ return;
1250
+ C.preventDefault();
1251
+ }
1252
+ }
1253
+ function z(C) {
1254
+ T.value = !0;
1255
+ }
1256
+ function O(C) {
1257
+ if (A.value)
1258
+ return ct(A.value, C);
1259
+ }
1260
+ return N(() => m(e.tag, {
1261
+ ref: A,
1262
+ class: ["v-list", {
1263
+ "v-list--disabled": e.disabled,
1264
+ "v-list--nav": e.nav,
1265
+ "v-list--slim": e.slim
1266
+ }, s.value, t.value, o.value, d.value, c.value, S.value, v.value, e.class],
1267
+ style: [i.value, y.value, e.style],
1268
+ tabindex: e.disabled ? -1 : 0,
1269
+ role: "listbox",
1270
+ "aria-activedescendant": void 0,
1271
+ onFocusin: $,
1272
+ onFocusout: Y,
1273
+ onFocus: H,
1274
+ onKeydown: R,
1275
+ onMousedown: z
1276
+ }, {
1277
+ default: () => [m(De, {
1278
+ items: n.value,
1279
+ returnObject: e.returnObject
1280
+ }, a)]
1281
+ })), {
1282
+ open: b,
1283
+ select: u,
1284
+ focus: O,
1285
+ children: h,
1286
+ parents: r,
1287
+ getPath: f
1288
+ };
1289
+ }
1290
+ });
1291
+ Qe("css/revolugo.vlist.-Y4qkukF.css");
1292
+ export {
1293
+ ve as V,
1294
+ en as a,
1295
+ Ft as b,
1296
+ Ut as m,
1297
+ Qt as u
1298
+ };
1299
+ //# sourceMappingURL=revolugo.vlist.BwlPoH0e.min.js.map