@revolugo/elements 6.7.3 → 6.8.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/index.es.min.js +2619 -2554
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.BBkYrDrP.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.DSJE5n7Z.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DwrYTxiv.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.jJmgFO6V.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DgBdyH6X.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.DQXXM5CL.min.js} +36 -36
  13. package/dist/revolugo.bookingdetailssidebar.CKrtgLGZ.min.js +24 -0
  14. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.Dm6EGehl.min.js} +184 -202
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.ra4Fie13.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.qpy47Wsi.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DD4SRw7w.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.WMRlt8-8.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BWHDapkN.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.C6zxRPaZ.min.js +24 -0
  21. package/dist/revolugo.cancellationpolicieslist.B-nwKXUj.min.js +24 -0
  22. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.CHhCIAQS.min.js} +28 -47
  23. package/dist/revolugo.case-transformers.CEdbnlE-.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.698oFnsf.min.js} +652 -903
  26. package/dist/revolugo.creditcardform.CpSNG8oP.min.js +24 -0
  27. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.6u4OCU4A.min.js} +138 -154
  28. package/dist/revolugo.creditcardpayment.BLosL1aA.min.js +24 -0
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.BXsQGdbF.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.D-42MaaK.min.js +163 -0
  31. package/dist/revolugo.currencypickerbtn.NVqcx7mQ.min.js +24 -0
  32. package/dist/revolugo.dialog-attach.BuUfn9u6.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.2P5jpnv2.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.CFE4HRID.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.DbPlQAXx.min.js} +77 -75
  37. package/dist/revolugo.hoteldescriptionview.DyHypnsO.min.js +24 -0
  38. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.FAMKFv9n.min.js} +363 -379
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.BXdHFzt5.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.BsjYGZdX.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.D-sHFvFQ.min.js} +1005 -1053
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.oZhVIBxs.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.Cun9amyl.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.BP4Jp5xL.min.js +24 -0
  45. package/dist/revolugo.hoteloffersmap.CVTv2jVD.min.js +8394 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.B5nONm_1.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.DacCdu_b.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.DVGmJT59.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DmOEadSF.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js} +40 -39
  52. package/dist/revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js +25 -0
  53. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js} +29 -49
  54. package/dist/revolugo.hotelroomoffersview.BkR60ueU.min.js +24 -0
  55. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DHjinkWP.min.js} +71 -91
  56. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.B7z0g8al.min.js} +6 -6
  57. package/dist/revolugo.index.s-onPvC0.min.js +1037 -0
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.CsrQl9B8.min.js} +12812 -13151
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.BiuzuhH0.min.js} +15 -15
  60. package/dist/revolugo.langpickerbtn.DagJBVfO.min.js +24 -0
  61. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.cw-Pilxv.min.js} +53 -71
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DLEaIEKi.min.js} +45 -44
  64. package/dist/revolugo.prebookform.CqX9sVfX.min.js +24 -0
  65. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.YQbaVaOP.min.js} +94 -114
  66. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.5YqKPUFg.min.js} +82 -101
  67. package/dist/revolugo.roominglisteditor.CTnsjWFF.min.js +24 -0
  68. package/dist/revolugo.rounded.M5NbwQ-2.min.js +68 -0
  69. package/dist/revolugo.ssrboot.CPwQ4mY-.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.DU-Au-P6.min.js} +110 -108
  71. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.B8wFEMtY.min.js} +90 -108
  72. package/dist/revolugo.termsandconditions.DdvsS1Nr.min.js +23 -0
  73. package/dist/revolugo.use-breakpoint-service.CZ9QX96a.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.6G-7p4XB.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BxaNSjJA.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.BPIAO9U5.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.BCX-G8mX.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.Q30XKYRx.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.CMYISGau.min.js} +26 -25
  80. package/dist/revolugo.vdivider.CLbZrEbe.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.BD89Tllc.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bk5MumIG.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.CSdGREv4.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.D8YLLgkd.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.B_sxyWMf.min.js} +90 -88
  86. package/dist/revolugo.vmenu.B0HL9TEG.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.DjrnZ68P.min.js} +133 -132
  88. package/dist/revolugo.vsheet.cNM_MdEY.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.MnCR2qht.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CTGdiOPz.min.js} +46 -44
  91. package/dist/revolugo.vspacer.D6ZThXFV.min.js +7 -0
  92. package/dist/revolugo.vtextarea._NoUVeyJ.min.js +2102 -0
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.C5IuUTNN.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.DkBiOuPH.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CNASNy8U.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.DWDP8yX4.min.js} +41 -41
  97. package/dist/revolugo.watch-list.DFagwB6N.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.CyN0tjOk.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
  110. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  111. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  112. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  113. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,8 +1,10 @@
1
- import { a1 as Y, _ as M, aa as z, Y as ye, aV as C, p as T, r as L, S as Z, J as g, T as ge, ax as nt, t as w, aw as at, az as Se, a as N, c as m, aW as lt, D as he, F as it, I as E, V as st, b as be, u as pe, d as ke, e as Ce, aX as rt, a9 as ut, C as ee, m as we, f as Ie, h as Ve, i as Ae, E as G, Q as oe, O as ce, a6 as ot, aY as Pe, ab as Le, am as ct, aJ as O, a5 as Oe, $ as dt, aZ as vt } from "./revolugo.rounded.u4maswiM.min.js";
2
- import { b as te, d as ft, R as mt, u as yt, l as _e, m as Ee, k as Te, g as gt, a as de, V as ve } from "./revolugo.index.Ds7GPsGI.min.js";
3
- import { u as R, M as St, c as U, m as $, n as ht, b as Be, o as bt, d as Me, e as pt, a as kt } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
4
- import { u as Ct, V as wt } from "./revolugo.ssrboot.DrkbeeFe.min.js";
5
- import { c as It } from "./revolugo.position.CEExVEE8.min.js";
1
+ import { ai as H, a5 as M, ak as Y, a3 as ye, bV as C, _ as T, C as L, a2 as J, D as g, W as ge, bN as nt, ab as w, aE as at, b1 as Se, Z as N, a as m, bW as lt, H as he, I as it, $ as E, M as st, aD as be, bX as rt, aA as ut, y as ee, aF as pe, a0 as G, F as oe, t as ce, a8 as ot, bY as ke, aV as Ce, bI as ct, aU as O, a6 as we, aQ as dt, bS as vt } from "./revolugo.index.wc.CsrQl9B8.min.js";
2
+ import { a as te, c as ft, R as mt, p as yt, n as Ie, q as Ve, e as Ae, g as gt, h as de, V as ve } from "./revolugo.index.s-onPvC0.min.js";
3
+ import { u as R, M as St, e as U, m as $, A as ht, n as Pe, D as bt, o as Le, d as pt, b as kt } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
4
+ import { u as Ct } from "./revolugo.ssrboot.CPwQ4mY-.min.js";
5
+ import { c as wt } from "./revolugo.position.DLEaIEKi.min.js";
6
+ import { c as Oe, u as _e, b as Ee, a as Te, m as Be, d as Me } from "./revolugo.rounded.M5NbwQ-2.min.js";
7
+ import { V as It } from "./revolugo.vdivider.CLbZrEbe.min.js";
6
8
  function tt(e) {
7
9
  try {
8
10
  if (typeof document < "u") {
@@ -25,7 +27,7 @@ function tt(e) {
25
27
  }
26
28
  const ne = Symbol.for("vuetify:list");
27
29
  function je() {
28
- const e = Y(ne, {
30
+ const e = H(ne, {
29
31
  hasPrepend: M(!1),
30
32
  updateHasPrepend: () => null
31
33
  }), l = {
@@ -34,10 +36,10 @@ function je() {
34
36
  t && (l.hasPrepend.value = t);
35
37
  }
36
38
  };
37
- return z(ne, l), e;
39
+ return Y(ne, l), e;
38
40
  }
39
41
  function xe() {
40
- return Y(ne, null);
42
+ return H(ne, null);
41
43
  }
42
44
  const le = (e) => {
43
45
  const l = {
@@ -359,7 +361,7 @@ const le = (e) => {
359
361
  mandatory: Boolean
360
362
  }, "nested"), Bt = (e) => {
361
363
  let l = !1;
362
- const t = L(/* @__PURE__ */ new Map()), n = L(/* @__PURE__ */ new Map()), i = Z(e, "opened", e.opened, (s) => new Set(s), (s) => [...s.values()]), a = g(() => {
364
+ const t = L(/* @__PURE__ */ new Map()), n = L(/* @__PURE__ */ new Map()), i = J(e, "opened", e.opened, (s) => new Set(s), (s) => [...s.values()]), a = g(() => {
363
365
  if (typeof e.activeStrategy == "object") return e.activeStrategy;
364
366
  if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
365
367
  switch (e.activeStrategy) {
@@ -400,7 +402,7 @@ const le = (e) => {
400
402
  default:
401
403
  return Fe;
402
404
  }
403
- }), v = Z(e, "activated", e.activated, (s) => a.value.in(s, t.value, n.value), (s) => a.value.out(s, t.value, n.value)), c = Z(e, "selected", e.selected, (s) => r.value.in(s, t.value, n.value), (s) => r.value.out(s, t.value, n.value));
405
+ }), v = J(e, "activated", e.activated, (s) => a.value.in(s, t.value, n.value), (s) => a.value.out(s, t.value, n.value)), c = J(e, "selected", e.selected, (s) => r.value.in(s, t.value, n.value), (s) => r.value.out(s, t.value, n.value));
404
406
  ge(() => {
405
407
  l = !0;
406
408
  });
@@ -526,9 +528,9 @@ const le = (e) => {
526
528
  getPath: y
527
529
  }
528
530
  };
529
- return z(D, h), h.root;
531
+ return Y(D, h), h.root;
530
532
  }, Re = (e, l) => {
531
- const t = Y(D, De), n = Symbol(at()), i = g(() => e.value !== void 0 ? e.value : n), a = {
533
+ const t = H(D, De), n = Symbol(at()), i = g(() => e.value !== void 0 ? e.value : n), a = {
532
534
  ...t,
533
535
  id: i,
534
536
  open: (r, u) => t.root.open(i.value, r, u),
@@ -547,10 +549,10 @@ const le = (e) => {
547
549
  !t.isGroupActivator && t.root.register(i.value, t.id.value, l);
548
550
  }), ge(() => {
549
551
  !t.isGroupActivator && t.root.unregister(i.value);
550
- }), l && z(D, a), a;
552
+ }), l && Y(D, a), a;
551
553
  }, Mt = () => {
552
- const e = Y(D, De);
553
- z(D, {
554
+ const e = H(D, De);
555
+ Y(D, {
554
556
  ...e,
555
557
  isGroupActivator: !0
556
558
  });
@@ -674,7 +676,7 @@ const le = (e) => {
674
676
  }, e.style]
675
677
  }, t)), {};
676
678
  }
677
- }), Gt = It("v-list-item-title"), Dt = T({
679
+ }), Gt = wt("v-list-item-title"), Dt = T({
678
680
  active: {
679
681
  type: Boolean,
680
682
  default: void 0
@@ -710,16 +712,16 @@ const le = (e) => {
710
712
  value: null,
711
713
  onClick: G(),
712
714
  onClickOnce: G(),
713
- ...Ae(),
715
+ ...Me(),
714
716
  ...$(),
717
+ ...Ae(),
718
+ ...Le(),
719
+ ...Be(),
715
720
  ...Te(),
716
- ...Me(),
717
- ...Ve(),
718
- ...Ie(),
719
721
  ...bt(),
720
722
  ...U(),
721
- ...we(),
722
- ...Ee({
723
+ ...pe(),
724
+ ...Ve({
723
725
  variant: "text"
724
726
  })
725
727
  }, "VListItem"), me = N()({
@@ -752,8 +754,8 @@ const le = (e) => {
752
754
  } = Re(r, !1), k = xe(), V = g(() => {
753
755
  var b;
754
756
  return e.active !== !1 && (e.active || ((b = a.isActive) == null ? void 0 : b.value) || (s.activatable.value ? v.value : f.value));
755
- }), F = g(() => e.link !== !1 && a.isLink.value), B = g(() => !!k && (s.selectable.value || s.activatable.value || e.value != null)), A = g(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || B.value)), H = g(() => e.rounded || e.nav), X = g(() => e.color ?? e.activeColor), q = g(() => ({
756
- color: V.value ? X.value ?? e.baseColor : e.baseColor,
757
+ }), F = g(() => e.link !== !1 && a.isLink.value), B = g(() => !!k && (s.selectable.value || s.activatable.value || e.value != null)), A = g(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || B.value)), q = g(() => e.rounded || e.nav), z = g(() => e.color ?? e.activeColor), W = g(() => ({
758
+ color: V.value ? z.value ?? e.baseColor : e.baseColor,
757
759
  variant: e.variant
758
760
  }));
759
761
  st(() => {
@@ -769,57 +771,57 @@ const le = (e) => {
769
771
  o.value != null && s.open(o.value, !0), d(!0);
770
772
  }
771
773
  const {
772
- themeClasses: J
774
+ themeClasses: X
773
775
  } = be(e), {
774
776
  borderClasses: _
775
- } = pe(e), {
777
+ } = Oe(e), {
776
778
  colorClasses: I,
777
779
  colorStyles: j,
778
- variantClasses: Ye
779
- } = yt(q), {
780
- densityClasses: ze
780
+ variantClasses: He
781
+ } = yt(W), {
782
+ densityClasses: Ye
783
+ } = Ie(e), {
784
+ dimensionStyles: qe
785
+ } = Pe(e), {
786
+ elevationClasses: ze
781
787
  } = _e(e), {
782
- dimensionStyles: He
783
- } = Be(e), {
784
- elevationClasses: Xe
785
- } = ke(e), {
786
- roundedClasses: qe
787
- } = Ce(H), Je = g(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), W = g(() => ({
788
+ roundedClasses: We
789
+ } = Ee(q), Xe = g(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), Q = g(() => ({
788
790
  isActive: V.value,
789
791
  select: c,
790
792
  isOpen: y.value,
791
793
  isSelected: f.value,
792
794
  isIndeterminate: p.value
793
795
  }));
794
- function We(b) {
796
+ function Qe(b) {
795
797
  var x;
796
798
  i("click", b), A.value && ((x = a.navigate) == null || x.call(a, b), !h && (s.activatable.value ? u(!v.value, b) : (s.selectable.value || e.value != null) && c(!f.value, b)));
797
799
  }
798
- function Qe(b) {
800
+ function Ze(b) {
799
801
  const x = b.target;
800
802
  ["INPUT", "TEXTAREA"].includes(x.tagName) || (b.key === "Enter" || b.key === " ") && (b.preventDefault(), b.target.dispatchEvent(new MouseEvent("click", b)));
801
803
  }
802
804
  return R(() => {
803
- const b = F.value ? "a" : e.tag, x = n.title || e.title != null, Ze = n.subtitle || e.subtitle != null, se = !!(e.appendAvatar || e.appendIcon), et = !!(se || n.append), re = !!(e.prependAvatar || e.prependIcon), Q = !!(re || n.prepend);
804
- return k == null || k.updateHasPrepend(Q), e.activeColor && rt("active-color", ["color", "base-color"]), he(m(b, ee({
805
+ const b = F.value ? "a" : e.tag, x = n.title || e.title != null, Je = n.subtitle || e.subtitle != null, se = !!(e.appendAvatar || e.appendIcon), et = !!(se || n.append), re = !!(e.prependAvatar || e.prependIcon), Z = !!(re || n.prepend);
806
+ return k == null || k.updateHasPrepend(Z), e.activeColor && rt("active-color", ["color", "base-color"]), he(m(b, ee({
805
807
  class: ["v-list-item", {
806
808
  "v-list-item--active": V.value,
807
809
  "v-list-item--disabled": e.disabled,
808
810
  "v-list-item--link": A.value,
809
811
  "v-list-item--nav": e.nav,
810
- "v-list-item--prepend": !Q && (k == null ? void 0 : k.hasPrepend.value),
812
+ "v-list-item--prepend": !Z && (k == null ? void 0 : k.hasPrepend.value),
811
813
  "v-list-item--slim": e.slim,
812
814
  [`${e.activeClass}`]: e.activeClass && V.value
813
- }, J.value, _.value, I.value, ze.value, Xe.value, Je.value, qe.value, Ye.value, e.class],
814
- style: [j.value, He.value, e.style],
815
+ }, X.value, _.value, I.value, Ye.value, ze.value, Xe.value, We.value, He.value, e.class],
816
+ style: [j.value, qe.value, e.style],
815
817
  tabindex: A.value ? k ? -2 : 0 : void 0,
816
818
  "aria-selected": B.value ? s.activatable.value ? v.value : s.selectable.value ? f.value : V.value : void 0,
817
- onClick: We,
818
- onKeydown: A.value && !F.value && Qe
819
+ onClick: Qe,
820
+ onKeydown: A.value && !F.value && Ze
819
821
  }, a.linkProps), {
820
822
  default: () => {
821
823
  var ue;
822
- return [gt(A.value || V.value, "v-list-item"), Q && m("div", {
824
+ return [gt(A.value || V.value, "v-list-item"), Z && m("div", {
823
825
  key: "prepend",
824
826
  class: "v-list-item__prepend"
825
827
  }, [n.prepend ? m(te, {
@@ -841,7 +843,7 @@ const le = (e) => {
841
843
  }, {
842
844
  default: () => {
843
845
  var P;
844
- return [(P = n.prepend) == null ? void 0 : P.call(n, W.value)];
846
+ return [(P = n.prepend) == null ? void 0 : P.call(n, Q.value)];
845
847
  }
846
848
  }) : m(oe, null, [e.prependAvatar && m(de, {
847
849
  key: "prepend-avatar",
@@ -865,7 +867,7 @@ const le = (e) => {
865
867
  title: e.title
866
868
  })) ?? ce(e.title)];
867
869
  }
868
- }), Ze && m(Ft, {
870
+ }), Je && m(Ft, {
869
871
  key: "subtitle"
870
872
  }, {
871
873
  default: () => {
@@ -874,7 +876,7 @@ const le = (e) => {
874
876
  subtitle: e.subtitle
875
877
  })) ?? ce(e.subtitle)];
876
878
  }
877
- }), (ue = n.default) == null ? void 0 : ue.call(n, W.value)]), et && m("div", {
879
+ }), (ue = n.default) == null ? void 0 : ue.call(n, Q.value)]), et && m("div", {
878
880
  key: "append",
879
881
  class: "v-list-item__append"
880
882
  }, [n.append ? m(te, {
@@ -896,7 +898,7 @@ const le = (e) => {
896
898
  }, {
897
899
  default: () => {
898
900
  var P;
899
- return [(P = n.append) == null ? void 0 : P.call(n, W.value)];
901
+ return [(P = n.append) == null ? void 0 : P.call(n, Q.value)];
900
902
  }
901
903
  }) : m(oe, null, [e.appendIcon && m(ve, {
902
904
  key: "append-icon",
@@ -984,7 +986,7 @@ const le = (e) => {
984
986
  if (v === "divider")
985
987
  return ((p = t.divider) == null ? void 0 : p.call(t, {
986
988
  props: u
987
- })) ?? m(wt, u, null);
989
+ })) ?? m(It, u, null);
988
990
  if (v === "subheader")
989
991
  return ((h = t.subheader) == null ? void 0 : h.call(t, {
990
992
  props: u
@@ -1072,7 +1074,7 @@ const le = (e) => {
1072
1074
  valueComparator: Function
1073
1075
  }, "list-items");
1074
1076
  function ae(e, l) {
1075
- const t = O(l, e.itemTitle, l), n = O(l, e.itemValue, t), i = O(l, e.itemChildren), a = e.itemProps === !0 ? typeof l == "object" && l != null && !Array.isArray(l) ? "children" in l ? Oe(l, ["children"]) : l : void 0 : O(l, e.itemProps), r = {
1077
+ const t = O(l, e.itemTitle, l), n = O(l, e.itemValue, t), i = O(l, e.itemChildren), a = e.itemProps === !0 ? typeof l == "object" && l != null && !Array.isArray(l) ? "children" in l ? we(l, ["children"]) : l : void 0 : O(l, e.itemProps), r = {
1076
1078
  title: t,
1077
1079
  value: n,
1078
1080
  ...a
@@ -1086,18 +1088,18 @@ function ae(e, l) {
1086
1088
  };
1087
1089
  }
1088
1090
  function $e(e, l) {
1089
- const t = Le(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), n = [];
1091
+ const t = Ce(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), n = [];
1090
1092
  for (const i of l)
1091
1093
  n.push(ae(t, i));
1092
1094
  return n;
1093
1095
  }
1094
- function Zt(e) {
1096
+ function tn(e) {
1095
1097
  const l = g(() => $e(e, e.items)), t = g(() => l.value.some((u) => u.value === null)), n = M(/* @__PURE__ */ new Map()), i = M([]);
1096
1098
  ot(() => {
1097
1099
  const u = l.value, v = /* @__PURE__ */ new Map(), c = [];
1098
1100
  for (let y = 0; y < u.length; y++) {
1099
1101
  const f = u[y];
1100
- if (Pe(f.value) || f.value === null) {
1102
+ if (ke(f.value) || f.value === null) {
1101
1103
  let p = v.get(f.value);
1102
1104
  p || (p = [], v.set(f.value, p)), p.push(f);
1103
1105
  } else
@@ -1106,7 +1108,7 @@ function Zt(e) {
1106
1108
  n.value = v, i.value = c;
1107
1109
  });
1108
1110
  function a(u) {
1109
- const v = n.value, c = l.value, y = i.value, f = t.value, p = e.returnObject, h = !!e.valueComparator, s = e.valueComparator || ct, o = Le(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), d = [];
1111
+ const v = n.value, c = l.value, y = i.value, f = t.value, p = e.returnObject, h = !!e.valueComparator, s = e.valueComparator || ct, o = Ce(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), d = [];
1110
1112
  e: for (const S of u) {
1111
1113
  if (!f && S === null) continue;
1112
1114
  if (p && typeof S == "string") {
@@ -1146,8 +1148,8 @@ function Zt(e) {
1146
1148
  transformOut: r
1147
1149
  };
1148
1150
  }
1149
- function Yt(e, l) {
1150
- const t = O(l, e.itemType, "item"), n = Pe(l) ? l : O(l, e.itemTitle), i = O(l, e.itemValue, void 0), a = O(l, e.itemChildren), r = e.itemProps === !0 ? Oe(l, ["children"]) : O(l, e.itemProps), u = {
1151
+ function Ht(e, l) {
1152
+ const t = O(l, e.itemType, "item"), n = ke(l) ? l : O(l, e.itemTitle), i = O(l, e.itemValue, void 0), a = O(l, e.itemChildren), r = e.itemProps === !0 ? we(l, ["children"]) : O(l, e.itemProps), u = {
1151
1153
  title: n,
1152
1154
  value: i,
1153
1155
  ...r
@@ -1164,15 +1166,15 @@ function Yt(e, l) {
1164
1166
  function Ke(e, l) {
1165
1167
  const t = [];
1166
1168
  for (const n of l)
1167
- t.push(Yt(e, n));
1169
+ t.push(Ht(e, n));
1168
1170
  return t;
1169
1171
  }
1170
- function zt(e) {
1172
+ function Yt(e) {
1171
1173
  return {
1172
1174
  items: g(() => Ke(e, e.items))
1173
1175
  };
1174
1176
  }
1175
- const Ht = T({
1177
+ const qt = T({
1176
1178
  baseColor: String,
1177
1179
  /* @deprecated */
1178
1180
  activeColor: String,
@@ -1194,25 +1196,25 @@ const Ht = T({
1194
1196
  selectStrategy: "single-leaf",
1195
1197
  openStrategy: "list"
1196
1198
  }),
1197
- ...Ae(),
1198
- ...$(),
1199
- ...Te(),
1200
1199
  ...Me(),
1201
- ...Ve(),
1200
+ ...$(),
1201
+ ...Ae(),
1202
+ ...Le(),
1203
+ ...Be(),
1202
1204
  itemType: {
1203
1205
  type: String,
1204
1206
  default: "type"
1205
1207
  },
1206
1208
  ...Kt(),
1207
- ...Ie(),
1209
+ ...Te(),
1208
1210
  ...U(),
1209
- ...we(),
1210
- ...Ee({
1211
+ ...pe(),
1212
+ ...Ve({
1211
1213
  variant: "text"
1212
1214
  })
1213
- }, "VList"), en = N()({
1215
+ }, "VList"), nn = N()({
1214
1216
  name: "VList",
1215
- props: Ht(),
1217
+ props: qt(),
1216
1218
  emits: {
1217
1219
  "update:selected": (e) => !0,
1218
1220
  "update:activated": (e) => !0,
@@ -1227,22 +1229,22 @@ const Ht = T({
1227
1229
  } = l;
1228
1230
  const {
1229
1231
  items: n
1230
- } = zt(e), {
1232
+ } = Yt(e), {
1231
1233
  themeClasses: i
1232
1234
  } = be(e), {
1233
1235
  backgroundColorClasses: a,
1234
1236
  backgroundColorStyles: r
1235
1237
  } = kt(w(e, "bgColor")), {
1236
1238
  borderClasses: u
1237
- } = pe(e), {
1239
+ } = Oe(e), {
1238
1240
  densityClasses: v
1239
- } = _e(e), {
1241
+ } = Ie(e), {
1240
1242
  dimensionStyles: c
1241
- } = Be(e), {
1243
+ } = Pe(e), {
1242
1244
  elevationClasses: y
1243
- } = ke(e), {
1245
+ } = _e(e), {
1244
1246
  roundedClasses: f
1245
- } = Ce(e), {
1247
+ } = Ee(e), {
1246
1248
  children: p,
1247
1249
  open: h,
1248
1250
  parents: s,
@@ -1271,13 +1273,13 @@ const Ht = T({
1271
1273
  }
1272
1274
  });
1273
1275
  const B = M(!1), A = L();
1274
- function H(I) {
1276
+ function q(I) {
1275
1277
  B.value = !0;
1276
1278
  }
1277
- function X(I) {
1279
+ function z(I) {
1278
1280
  B.value = !1;
1279
1281
  }
1280
- function q(I) {
1282
+ function W(I) {
1281
1283
  var j;
1282
1284
  !B.value && !(I.relatedTarget && ((j = A.value) != null && j.contains(I.relatedTarget))) && _();
1283
1285
  }
@@ -1297,7 +1299,7 @@ const Ht = T({
1297
1299
  I.preventDefault();
1298
1300
  }
1299
1301
  }
1300
- function J(I) {
1302
+ function X(I) {
1301
1303
  B.value = !0;
1302
1304
  }
1303
1305
  function _(I) {
@@ -1315,11 +1317,11 @@ const Ht = T({
1315
1317
  tabindex: e.disabled ? -1 : 0,
1316
1318
  role: "listbox",
1317
1319
  "aria-activedescendant": void 0,
1318
- onFocusin: H,
1319
- onFocusout: X,
1320
- onFocus: q,
1320
+ onFocusin: q,
1321
+ onFocusout: z,
1322
+ onFocus: W,
1321
1323
  onKeydown: K,
1322
- onMousedown: J
1324
+ onMousedown: X
1323
1325
  }, {
1324
1326
  default: () => [m(Ue, {
1325
1327
  items: n.value,
@@ -1337,10 +1339,10 @@ const Ht = T({
1337
1339
  });
1338
1340
  tt("css/revolugo.vlist.BkGS0yqt.css");
1339
1341
  export {
1340
- en as V,
1341
- me as a,
1342
- Gt as b,
1342
+ me as V,
1343
+ Gt as a,
1344
+ nn as b,
1343
1345
  Kt as m,
1344
- Zt as u
1346
+ tn as u
1345
1347
  };
1346
- //# sourceMappingURL=revolugo.vlist.DCvg08Wu.min.js.map
1348
+ //# sourceMappingURL=revolugo.vlist.B_sxyWMf.min.js.map
@@ -0,0 +1,152 @@
1
+ import { g as D, u as M, l as b, y as U, z as p } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
2
+ import { f as I } from "./revolugo.forwardrefs.-bfQnFea.min.js";
3
+ import { Z as K, _ as N, a2 as _, ax as G, aE as Y, D as h, C as j, ai as B, a5 as z, W as F, bQ as H, R as W, bR as S, M as Q, y as L, a as V, a6 as Z, bS as g, bT as $, bo as T, ak as q, bU as J } from "./revolugo.index.wc.CsrQl9B8.min.js";
4
+ import { V as X } from "./revolugo.dialog-transition.2P5jpnv2.min.js";
5
+ import { a as ee } from "./revolugo.index.s-onPvC0.min.js";
6
+ function C(t) {
7
+ try {
8
+ if (typeof document < "u") {
9
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
+ sheets: [],
11
+ components: []
12
+ };
13
+ const c = import.meta.url, i = c.slice(0, c.lastIndexOf("/") + 1) + t;
14
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
15
+ for (const n of REVOLUGO_ELEMENTS_STYLES.components)
16
+ n(i);
17
+ if (t.indexOf("fonts") >= 0) {
18
+ const n = document.createElement("link");
19
+ n.rel = "stylesheet", linK.href = i, document.head.appendChild(n);
20
+ }
21
+ }
22
+ } catch (c) {
23
+ console.error("[revolugo-elements] ", c);
24
+ }
25
+ }
26
+ const te = N({
27
+ // TODO
28
+ // disableKeys: Boolean,
29
+ id: String,
30
+ submenu: Boolean,
31
+ ...Z(U({
32
+ closeDelay: 250,
33
+ closeOnContentClick: !0,
34
+ locationStrategy: "connected",
35
+ location: void 0,
36
+ openDelay: 300,
37
+ scrim: !1,
38
+ scrollStrategy: "reposition",
39
+ transition: {
40
+ component: X
41
+ }
42
+ }), ["absolute"])
43
+ }, "VMenu"), re = K()({
44
+ name: "VMenu",
45
+ props: te(),
46
+ emits: {
47
+ "update:modelValue": (t) => !0
48
+ },
49
+ setup(t, c) {
50
+ let {
51
+ slots: i
52
+ } = c;
53
+ const n = _(t, "modelValue"), {
54
+ scopeId: k
55
+ } = D(), {
56
+ isRtl: d
57
+ } = G(), v = Y(), E = h(() => t.id || `v-menu-${v}`), s = j(), a = B(p, null), m = z(/* @__PURE__ */ new Set());
58
+ q(p, {
59
+ register() {
60
+ m.value.add(v);
61
+ },
62
+ unregister() {
63
+ m.value.delete(v);
64
+ },
65
+ closeParents(e) {
66
+ setTimeout(() => {
67
+ var o;
68
+ !m.value.size && !t.persistent && (e == null || (o = s.value) != null && o.contentEl && !J(e, s.value.contentEl)) && (n.value = !1, a == null || a.closeParents());
69
+ }, 40);
70
+ }
71
+ }), F(() => {
72
+ a == null || a.unregister(), document.removeEventListener("focusin", y);
73
+ }), H(() => n.value = !1);
74
+ async function y(e) {
75
+ var r, u, f;
76
+ const o = e.relatedTarget, l = e.target;
77
+ await W(), n.value && o !== l && ((r = s.value) != null && r.contentEl) && // We're the topmost menu
78
+ ((u = s.value) != null && u.globalTop) && // It isn't the document or the menu body
79
+ ![document, s.value.contentEl].includes(l) && // It isn't inside the menu body
80
+ !s.value.contentEl.contains(l) && ((f = S(s.value.contentEl)[0]) == null || f.focus());
81
+ }
82
+ Q(n, (e) => {
83
+ e ? (a == null || a.register(), T && document.addEventListener("focusin", y, {
84
+ once: !0
85
+ })) : (a == null || a.unregister(), T && document.removeEventListener("focusin", y));
86
+ }, {
87
+ immediate: !0
88
+ });
89
+ function R(e) {
90
+ a == null || a.closeParents(e);
91
+ }
92
+ function A(e) {
93
+ var o, l, r, u, f;
94
+ if (!t.disabled)
95
+ if (e.key === "Tab" || e.key === "Enter" && !t.closeOnContentClick) {
96
+ if (e.key === "Enter" && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && e.target.closest("form"))) return;
97
+ e.key === "Enter" && e.preventDefault(), $(S((o = s.value) == null ? void 0 : o.contentEl, !1), e.shiftKey ? "prev" : "next", (x) => x.tabIndex >= 0) || (n.value = !1, (r = (l = s.value) == null ? void 0 : l.activatorEl) == null || r.focus());
98
+ } else t.submenu && e.key === (d.value ? "ArrowRight" : "ArrowLeft") && (n.value = !1, (f = (u = s.value) == null ? void 0 : u.activatorEl) == null || f.focus());
99
+ }
100
+ function w(e) {
101
+ var l;
102
+ if (t.disabled) return;
103
+ const o = (l = s.value) == null ? void 0 : l.contentEl;
104
+ o && n.value ? e.key === "ArrowDown" ? (e.preventDefault(), e.stopImmediatePropagation(), g(o, "next")) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopImmediatePropagation(), g(o, "prev")) : t.submenu && (e.key === (d.value ? "ArrowRight" : "ArrowLeft") ? n.value = !1 : e.key === (d.value ? "ArrowLeft" : "ArrowRight") && (e.preventDefault(), g(o, "first"))) : (t.submenu ? e.key === (d.value ? "ArrowLeft" : "ArrowRight") : ["ArrowDown", "ArrowUp"].includes(e.key)) && (n.value = !0, e.preventDefault(), setTimeout(() => setTimeout(() => w(e))));
105
+ }
106
+ const O = h(() => L({
107
+ "aria-haspopup": "menu",
108
+ "aria-expanded": String(n.value),
109
+ "aria-controls": E.value,
110
+ onKeydown: w
111
+ }, t.activatorProps));
112
+ return M(() => {
113
+ const e = b.filterProps(t);
114
+ return V(b, L({
115
+ ref: s,
116
+ id: E.value,
117
+ class: ["v-menu", t.class],
118
+ style: t.style
119
+ }, e, {
120
+ modelValue: n.value,
121
+ "onUpdate:modelValue": (o) => n.value = o,
122
+ absolute: !0,
123
+ activatorProps: O.value,
124
+ location: t.location ?? (t.submenu ? "end" : "bottom"),
125
+ "onClick:outside": R,
126
+ onKeydown: A
127
+ }, k), {
128
+ activator: i.activator,
129
+ default: function() {
130
+ for (var o = arguments.length, l = new Array(o), r = 0; r < o; r++)
131
+ l[r] = arguments[r];
132
+ return V(ee, {
133
+ root: "VMenu"
134
+ }, {
135
+ default: () => {
136
+ var u;
137
+ return [(u = i.default) == null ? void 0 : u.call(i, ...l)];
138
+ }
139
+ });
140
+ }
141
+ });
142
+ }), I({
143
+ id: E,
144
+ ΨopenChildren: m
145
+ }, s);
146
+ }
147
+ });
148
+ C("css/revolugo.vmenu.DvKwEp1j.css");
149
+ export {
150
+ re as V
151
+ };
152
+ //# sourceMappingURL=revolugo.vmenu.B0HL9TEG.min.js.map