@maltjoy/core-vue 3.22.1 → 3.23.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.
package/dist/joy-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as T, createElementVNode as h, Fragment as G, createTextVNode as H, toDisplayString as F, createCommentVNode as C, createBlock as N, resolveDynamicComponent as re, mergeProps as oe, withCtx as R, pushScopeId as st, popScopeId as ut, renderSlot as k, unref as E, renderList as Q, inject as Ue, normalizeStyle as ue, useAttrs as Fe, resolveDirective as Un, withDirectives as Kn, getCurrentScope as Vt, onScopeDispose as Tt, toRef as Gn, readonly as Yn, customRef as Zn, ref as $, watch as ee, nextTick as qe, getCurrentInstance as Xn, onMounted as se, h as Qn, Teleport as ct, createVNode as Y, useSlots as ne, onBeforeUnmount as Pe, Transition as dn, withKeys as dt, normalizeProps as Te, guardReactiveProps as Ie, provide as It, createSlots as fn, createStaticVNode as yn, onBeforeMount as ea, onUnmounted as ta, withModifiers as na, shallowRef as aa, shallowReadonly as Ee, createApp as oa } from "vue";
1
+ import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as T, createElementVNode as h, Fragment as G, createTextVNode as H, toDisplayString as F, createCommentVNode as C, createBlock as N, resolveDynamicComponent as re, mergeProps as oe, withCtx as R, pushScopeId as st, popScopeId as ut, renderSlot as k, unref as E, renderList as Q, inject as Ue, normalizeStyle as ue, useAttrs as Fe, resolveDirective as Un, withDirectives as Kn, getCurrentScope as Vt, onScopeDispose as Tt, toRef as Gn, readonly as Yn, customRef as Zn, ref as $, watch as ee, nextTick as qe, getCurrentInstance as Xn, onMounted as se, h as Qn, Teleport as ct, createVNode as Y, useSlots as ne, onBeforeUnmount as Pe, Transition as dn, withKeys as dt, normalizeProps as we, guardReactiveProps as Se, provide as It, createSlots as fn, createStaticVNode as yn, onBeforeMount as ea, onUnmounted as ta, withModifiers as na, shallowRef as aa, shallowReadonly as Ee, createApp as oa } from "vue";
2
2
  function Ut(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -466,7 +466,7 @@ function Ka(e) {
466
466
  if (n.length)
467
467
  return n[0].focus();
468
468
  }
469
- const we = function(e = 10) {
469
+ const ke = function(e = 10) {
470
470
  return Math.random().toString(36).substring(2, e + 2);
471
471
  };
472
472
  function me(e) {
@@ -537,7 +537,7 @@ const Et = /* @__PURE__ */ J(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
537
537
  }
538
538
  },
539
539
  setup(e, { expose: t }) {
540
- const n = e, a = Fe(), o = "joy-button--" + we(), i = V(() => {
540
+ const n = e, a = Fe(), o = "joy-button--" + ke(), i = V(() => {
541
541
  switch (n.size) {
542
542
  case "xxsmall":
543
543
  return "xxsmall";
@@ -621,7 +621,7 @@ function lo(...e) {
621
621
  const t = e[0];
622
622
  return typeof t == "function" ? Yn(Zn(() => ({ get: t, set: Ae }))) : $(t);
623
623
  }
624
- function je(e) {
624
+ function Ve(e) {
625
625
  var t;
626
626
  const n = be(e);
627
627
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
@@ -635,7 +635,7 @@ function bt(...e) {
635
635
  const i = [], l = () => {
636
636
  i.forEach((f) => f()), i.length = 0;
637
637
  }, s = (f, u, v, p) => (f.addEventListener(u, v, p), () => f.removeEventListener(u, v, p)), r = ee(
638
- () => [je(t), be(o)],
638
+ () => [Ve(t), be(o)],
639
639
  ([f, u]) => {
640
640
  if (l(), !f)
641
641
  return;
@@ -661,12 +661,12 @@ function io(e, t, n = {}) {
661
661
  if (typeof p == "string")
662
662
  return Array.from(a.document.querySelectorAll(p)).some((d) => d === v.target || v.composedPath().includes(d));
663
663
  {
664
- const d = je(p);
664
+ const d = Ve(p);
665
665
  return d && (v.target === d || v.composedPath().includes(d));
666
666
  }
667
667
  }), f = [
668
668
  bt(a, "click", (v) => {
669
- const p = je(e);
669
+ const p = Ve(e);
670
670
  if (!(!p || p === v.target || v.composedPath().includes(p))) {
671
671
  if (v.detail === 0 && (s = !r(v)), !s) {
672
672
  s = !0;
@@ -676,13 +676,13 @@ function io(e, t, n = {}) {
676
676
  }
677
677
  }, { passive: !0, capture: i }),
678
678
  bt(a, "pointerdown", (v) => {
679
- const p = je(e);
679
+ const p = Ve(e);
680
680
  s = !r(v) && !!(p && !v.composedPath().includes(p));
681
681
  }, { passive: !0 }),
682
682
  l && bt(a, "blur", (v) => {
683
683
  setTimeout(() => {
684
684
  var p;
685
- const d = je(e);
685
+ const d = Ve(e);
686
686
  ((p = a.document.activeElement) == null ? void 0 : p.tagName) === "IFRAME" && !(d != null && d.contains(a.document.activeElement)) && t(v);
687
687
  }, 0);
688
688
  })
@@ -704,7 +704,7 @@ function uo(e, t, n = {}) {
704
704
  let i;
705
705
  const l = so(() => a && "ResizeObserver" in a), s = () => {
706
706
  i && (i.disconnect(), i = void 0);
707
- }, r = V(() => Array.isArray(e) ? e.map((u) => je(u)) : [je(e)]), c = ee(
707
+ }, r = V(() => Array.isArray(e) ? e.map((u) => Ve(u)) : [Ve(e)]), c = ee(
708
708
  r,
709
709
  (u) => {
710
710
  if (s(), l.value && a) {
@@ -1465,7 +1465,7 @@ const qo = { class: "joy-counter" }, Ho = ["aria-label", "disabled"], Wo = { cla
1465
1465
  return t({
1466
1466
  props: o
1467
1467
  }), (m, _) => (y(), g("div", qo, [
1468
- e.label ? (y(), N(E(Se), {
1468
+ e.label ? (y(), N(E(xe), {
1469
1469
  key: 0,
1470
1470
  for: e.id,
1471
1471
  required: e.required && e.requiredMark,
@@ -1546,7 +1546,7 @@ function tl(e) {
1546
1546
  * tabbable 6.2.0
1547
1547
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
1548
1548
  */
1549
- var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], tt = /* @__PURE__ */ _n.join(","), wn = typeof Element > "u", $e = wn ? function() {
1549
+ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], tt = /* @__PURE__ */ _n.join(","), wn = typeof Element > "u", Te = wn ? function() {
1550
1550
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, nt = !wn && Element.prototype.getRootNode ? function(e) {
1551
1551
  var t;
1552
1552
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
@@ -1564,7 +1564,7 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1564
1564
  if (at(t))
1565
1565
  return [];
1566
1566
  var o = Array.prototype.slice.apply(t.querySelectorAll(tt));
1567
- return n && $e.call(t, tt) && o.unshift(t), o = o.filter(a), o;
1567
+ return n && Te.call(t, tt) && o.unshift(t), o = o.filter(a), o;
1568
1568
  }, kn = function e(t, n, a) {
1569
1569
  for (var o = [], i = Array.from(t); i.length; ) {
1570
1570
  var l = i.shift();
@@ -1576,7 +1576,7 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1576
1576
  candidates: c
1577
1577
  });
1578
1578
  } else {
1579
- var f = $e.call(l, tt);
1579
+ var f = Te.call(l, tt);
1580
1580
  f && a.filter(l) && (n || !t.includes(l)) && o.push(l);
1581
1581
  var u = l.shadowRoot || // check for an undisclosed shadow
1582
1582
  typeof a.getShadowRoot == "function" && a.getShadowRoot(l), v = !at(u, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
@@ -1593,12 +1593,12 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1593
1593
  return o;
1594
1594
  }, xn = function(t) {
1595
1595
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
1596
- }, Ce = function(t) {
1596
+ }, $e = function(t) {
1597
1597
  if (!t)
1598
1598
  throw new Error("No node provided");
1599
1599
  return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || nl(t)) && !xn(t) ? 0 : t.tabIndex;
1600
1600
  }, al = function(t, n) {
1601
- var a = Ce(t);
1601
+ var a = $e(t);
1602
1602
  return a < 0 && n && !xn(t) ? 0 : a;
1603
1603
  }, ol = function(t, n) {
1604
1604
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
@@ -1652,8 +1652,8 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1652
1652
  var a = n.displayCheck, o = n.getShadowRoot;
1653
1653
  if (getComputedStyle(t).visibility === "hidden")
1654
1654
  return !0;
1655
- var i = $e.call(t, "details>summary:first-of-type"), l = i ? t.parentElement : t;
1656
- if ($e.call(l, "details:not([open]) *"))
1655
+ var i = Te.call(t, "details>summary:first-of-type"), l = i ? t.parentElement : t;
1656
+ if (Te.call(l, "details:not([open]) *"))
1657
1657
  return !0;
1658
1658
  if (!a || a === "full" || a === "legacy-full") {
1659
1659
  if (typeof o == "function") {
@@ -1679,7 +1679,7 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1679
1679
  for (var a = 0; a < n.children.length; a++) {
1680
1680
  var o = n.children.item(a);
1681
1681
  if (o.tagName === "LEGEND")
1682
- return $e.call(n, "fieldset[disabled] *") ? !0 : !o.contains(t);
1682
+ return Te.call(n, "fieldset[disabled] *") ? !0 : !o.contains(t);
1683
1683
  }
1684
1684
  return !0;
1685
1685
  }
@@ -1693,7 +1693,7 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1693
1693
  at(n) || ll(n) || fl(n, t) || // For a details element with a summary, the summary element gets the focus
1694
1694
  il(n) || yl(n));
1695
1695
  }, wt = function(t, n) {
1696
- return !(cl(n) || Ce(n) < 0 || !ot(t, n));
1696
+ return !(cl(n) || $e(n) < 0 || !ot(t, n));
1697
1697
  }, vl = function(t) {
1698
1698
  var n = parseInt(t.getAttribute("tabindex"), 10);
1699
1699
  return !!(isNaN(n) || n >= 0);
@@ -1731,11 +1731,11 @@ var _n = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1731
1731
  }, Le = function(t, n) {
1732
1732
  if (n = n || {}, !t)
1733
1733
  throw new Error("No node provided");
1734
- return $e.call(t, tt) === !1 ? !1 : wt(n, t);
1734
+ return Te.call(t, tt) === !1 ? !1 : wt(n, t);
1735
1735
  }, gl = /* @__PURE__ */ _n.concat("iframe").join(","), ht = function(t, n) {
1736
1736
  if (n = n || {}, !t)
1737
1737
  throw new Error("No node provided");
1738
- return $e.call(t, gl) === !1 ? !1 : ot(n, t);
1738
+ return Te.call(t, gl) === !1 ? !1 : ot(n, t);
1739
1739
  };
1740
1740
  /*!
1741
1741
  * focus-trap 7.5.4
@@ -1916,7 +1916,7 @@ var en = {
1916
1916
  }), Z = B.slice().reverse().find(function(ae) {
1917
1917
  return Le(ae);
1918
1918
  }), le = !!x.find(function(ae) {
1919
- return Ce(ae) > 0;
1919
+ return $e(ae) > 0;
1920
1920
  });
1921
1921
  return {
1922
1922
  container: w,
@@ -1947,11 +1947,11 @@ var en = {
1947
1947
  * in reverse.
1948
1948
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
1949
1949
  */
1950
- nextTabbableNode: function(xe) {
1951
- var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = x.indexOf(xe);
1952
- return pe < 0 ? Oe ? B.slice(B.indexOf(xe) + 1).find(function(Re) {
1950
+ nextTabbableNode: function(je) {
1951
+ var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = x.indexOf(je);
1952
+ return pe < 0 ? Oe ? B.slice(B.indexOf(je) + 1).find(function(Re) {
1953
1953
  return Le(Re);
1954
- }) : B.slice(0, B.indexOf(xe)).reverse().find(function(Re) {
1954
+ }) : B.slice(0, B.indexOf(je)).reverse().find(function(Re) {
1955
1955
  return Le(Re);
1956
1956
  }) : x[pe + (Oe ? 1 : -1)];
1957
1957
  }
@@ -1995,8 +1995,8 @@ var en = {
1995
1995
  return x === mt;
1996
1996
  });
1997
1997
  if (ae < 0 && (le.container === x || ht(x, i.tabbableOptions) && !Le(x, i.tabbableOptions) && !le.nextTabbableNode(x, !1)) && (ae = Z), ae >= 0) {
1998
- var xe = ae === 0 ? l.tabbableGroups.length - 1 : ae - 1, Oe = l.tabbableGroups[xe];
1999
- W = Ce(x) >= 0 ? Oe.lastTabbableNode : Oe.lastDomTabbableNode;
1998
+ var je = ae === 0 ? l.tabbableGroups.length - 1 : ae - 1, Oe = l.tabbableGroups[je];
1999
+ W = $e(x) >= 0 ? Oe.lastTabbableNode : Oe.lastDomTabbableNode;
2000
2000
  } else
2001
2001
  ze(B) || (W = le.nextTabbableNode(x, !1));
2002
2002
  } else {
@@ -2006,7 +2006,7 @@ var en = {
2006
2006
  });
2007
2007
  if (pe < 0 && (le.container === x || ht(x, i.tabbableOptions) && !Le(x, i.tabbableOptions) && !le.nextTabbableNode(x)) && (pe = Z), pe >= 0) {
2008
2008
  var Re = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Wt = l.tabbableGroups[Re];
2009
- W = Ce(x) >= 0 ? Wt.firstTabbableNode : Wt.firstDomTabbableNode;
2009
+ W = $e(x) >= 0 ? Wt.firstTabbableNode : Wt.firstDomTabbableNode;
2010
2010
  } else
2011
2011
  ze(B) || (W = le.nextTabbableNode(x));
2012
2012
  }
@@ -2038,7 +2038,7 @@ var en = {
2038
2038
  w.stopImmediatePropagation();
2039
2039
  var M, z = !0;
2040
2040
  if (l.mostRecentlyFocusedNode)
2041
- if (Ce(l.mostRecentlyFocusedNode) > 0) {
2041
+ if ($e(l.mostRecentlyFocusedNode) > 0) {
2042
2042
  var W = c(l.mostRecentlyFocusedNode), Z = l.containerGroups[W].tabbableNodes;
2043
2043
  if (Z.length > 0) {
2044
2044
  var le = Z.findIndex(function(ae) {
@@ -2048,8 +2048,8 @@ var en = {
2048
2048
  }
2049
2049
  } else
2050
2050
  l.containerGroups.some(function(ae) {
2051
- return ae.tabbableNodes.some(function(xe) {
2052
- return Ce(xe) > 0;
2051
+ return ae.tabbableNodes.some(function(je) {
2052
+ return $e(je) > 0;
2053
2053
  });
2054
2054
  }) || (z = !1);
2055
2055
  else
@@ -2280,7 +2280,7 @@ const Vl = ["id", "onKeydown"], Tl = { class: "joy-dialog__inner" }, Il = { clas
2280
2280
  },
2281
2281
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2282
2282
  setup(e, { expose: t, emit: n }) {
2283
- const a = e, o = n, i = "joy-dialog--" + we(), l = ne(), s = $(!1), r = $(), c = $(a.open), f = jn(r), u = Fe(), v = V(() => {
2283
+ const a = e, o = n, i = "joy-dialog--" + ke(), l = ne(), s = $(!1), r = $(), c = $(a.open), f = jn(r), u = Fe(), v = V(() => {
2284
2284
  if (s.value)
2285
2285
  return u;
2286
2286
  }), p = V(() => {
@@ -2558,7 +2558,7 @@ const Ml = /* @__PURE__ */ J(Dl, [["__scopeId", "data-v-a3d693c3"]]), zl = ["id"
2558
2558
  },
2559
2559
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2560
2560
  setup(e, { expose: t, emit: n }) {
2561
- const a = e, o = n, i = "joy-drawer--" + we(), l = ne(), s = $(!1), r = $(), c = $(a.open), f = jn(r), u = Fe(), v = V(() => {
2561
+ const a = e, o = n, i = "joy-drawer--" + ke(), l = ne(), s = $(!1), r = $(), c = $(a.open), f = jn(r), u = Fe(), v = V(() => {
2562
2562
  if (s.value)
2563
2563
  return u;
2564
2564
  }), p = V(() => {
@@ -2891,7 +2891,7 @@ const Yl = /* @__PURE__ */ J(Gl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @_
2891
2891
  role: "option",
2892
2892
  onClick: (_) => s(m)
2893
2893
  }, [
2894
- k(d.$slots, "label", Te(Ie(m)), () => [
2894
+ k(d.$slots, "label", we(Se(m)), () => [
2895
2895
  h("span", null, F(m.label), 1)
2896
2896
  ], !0)
2897
2897
  ], 14, ei))), 128))
@@ -2994,7 +2994,7 @@ const Vn = /* @__PURE__ */ J(ni, [["__scopeId", "data-v-0127e896"]]), ai = /* @_
2994
2994
  },
2995
2995
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2996
2996
  setup(e, { expose: t, emit: n }) {
2997
- const a = n, o = e, i = $(!1), l = $(null), s = $(), r = $(null), c = $(null), f = $(!1), u = "joy-dropdown--" + we();
2997
+ const a = n, o = e, i = $(!1), l = $(null), s = $(), r = $(null), c = $(null), f = $(!1), u = "joy-dropdown--" + ke();
2998
2998
  It("VJoyDropdownContext", o);
2999
2999
  const v = {
3000
3000
  ignore: [s, ".joy-dropdown__list"]
@@ -3087,7 +3087,7 @@ const Vn = /* @__PURE__ */ J(ni, [["__scopeId", "data-v-0127e896"]]), ai = /* @_
3087
3087
  onReset: O
3088
3088
  }, fn({
3089
3089
  label: R((D) => [
3090
- k(I.$slots, "dropdown-item", Te(Ie(D)), () => [
3090
+ k(I.$slots, "dropdown-item", we(Se(D)), () => [
3091
3091
  h("span", null, F(D.label), 1)
3092
3092
  ], !0)
3093
3093
  ]),
@@ -3510,7 +3510,7 @@ const Di = /* @__PURE__ */ J(Ri, [["__scopeId", "data-v-1bac2aa7"]]), Mi = ["sma
3510
3510
  }, 16, ["class"]));
3511
3511
  }
3512
3512
  });
3513
- const Se = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["large", "medium", "small"], Ui = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ki = ["data-unit"], Gi = /* @__PURE__ */ L({
3513
+ const xe = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["large", "medium", "small"], Ui = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ki = ["data-unit"], Gi = /* @__PURE__ */ L({
3514
3514
  inheritAttrs: !1,
3515
3515
  __name: "VJoyInput",
3516
3516
  props: {
@@ -3643,7 +3643,7 @@ const Se = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["lar
3643
3643
  }
3644
3644
  ])
3645
3645
  }, [
3646
- v.value || e.label ? (y(), N(Se, {
3646
+ v.value || e.label ? (y(), N(xe, {
3647
3647
  key: 0,
3648
3648
  for: e.id || e.name,
3649
3649
  required: e.required && e.requiredMark,
@@ -3784,7 +3784,7 @@ const er = /* @__PURE__ */ J(Qi, [["__scopeId", "data-v-5540214e"]]), tr = ["tab
3784
3784
  return Array.from(((v = o.value) == null ? void 0 : v.querySelectorAll("li")) || []).filter((p) => p.getAttribute("aria-disabled") !== "true");
3785
3785
  }
3786
3786
  function c(v) {
3787
- return v.id || we();
3787
+ return v.id || ke();
3788
3788
  }
3789
3789
  function f() {
3790
3790
  return r().find((v) => v === document.activeElement);
@@ -3841,7 +3841,7 @@ const er = /* @__PURE__ */ J(Qi, [["__scopeId", "data-v-5540214e"]]), tr = ["tab
3841
3841
  onClick: (b) => s(d)
3842
3842
  }, [
3843
3843
  h("div", ar, [
3844
- k(v.$slots, "menu-item", Te(Ie(d)), () => [
3844
+ k(v.$slots, "menu-item", we(Se(d)), () => [
3845
3845
  d.icon ? (y(), N(K, {
3846
3846
  key: 0,
3847
3847
  name: d.icon
@@ -3902,7 +3902,7 @@ const lr = /* @__PURE__ */ J(or, [["__scopeId", "data-v-4391a0bd"]]), ir = ["id"
3902
3902
  id: e.id,
3903
3903
  class: "joy-multi-checkbox__wrapper"
3904
3904
  }, [
3905
- e.label ? (y(), N(E(Se), {
3905
+ e.label ? (y(), N(E(xe), {
3906
3906
  key: 0,
3907
3907
  "tag-name": "legend",
3908
3908
  required: e.required && e.requiredMark,
@@ -3924,7 +3924,7 @@ const lr = /* @__PURE__ */ J(or, [["__scopeId", "data-v-4391a0bd"]]), ir = ["id"
3924
3924
  "onUpdate:checked": (c) => i(r.value, c)
3925
3925
  }, {
3926
3926
  default: R(() => [
3927
- k(l.$slots, "checkbox", Te(Ie(r)), () => [
3927
+ k(l.$slots, "checkbox", we(Se(r)), () => [
3928
3928
  H(F(r.label), 1)
3929
3929
  ], !0)
3930
3930
  ]),
@@ -3965,7 +3965,7 @@ const ur = /* @__PURE__ */ J(sr, [["__scopeId", "data-v-c278b02d"]]), an = /* @_
3965
3965
  onClick: n[0] || (n[0] = (a) => t.$emit("click"))
3966
3966
  }, null, 8, ["aria-label", "title", "icon", "disabled"]));
3967
3967
  }
3968
- }), cr = ["aria-label", "data-current"], dr = { class: "joy-pagination__previous" }, fr = ["aria-current", "onClick"], yr = { class: "joy-pagination__next" }, vr = 6, pr = /* @__PURE__ */ L({
3968
+ }), cr = ["aria-label", "data-current"], dr = ["onClick"], fr = ["aria-current"], yr = 6, vr = /* @__PURE__ */ L({
3969
3969
  __name: "VJoyPagination",
3970
3970
  props: {
3971
3971
  /** Current page number */
@@ -3999,9 +3999,9 @@ const ur = /* @__PURE__ */ J(sr, [["__scopeId", "data-v-c278b02d"]]), an = /* @_
3999
3999
  const n = e, a = t, o = V(() => {
4000
4000
  const f = l.value.length;
4001
4001
  return l.value[f - 1] !== l.value[f - 2] + 1;
4002
- }), i = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < vr ? r(2, n.totalPages - 1) : c(n.currentPage));
4003
- function s(f) {
4004
- a("update:current-page", f);
4002
+ }), i = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < yr ? r(2, n.totalPages - 1) : c(n.currentPage));
4003
+ function s(f, u) {
4004
+ n.currentPage === 1 && u === "prev" || n.currentPage === n.totalPages && u === "next" || a("update:current-page", f);
4005
4005
  }
4006
4006
  function r(f, u) {
4007
4007
  const v = [];
@@ -4021,38 +4021,48 @@ const ur = /* @__PURE__ */ J(sr, [["__scopeId", "data-v-c278b02d"]]), an = /* @_
4021
4021
  "data-current": e.currentPage
4022
4022
  }, [
4023
4023
  h("ul", null, [
4024
- h("li", dr, [
4024
+ h("li", {
4025
+ class: "joy-pagination__item joy-pagination__previous",
4026
+ onClick: u[0] || (u[0] = (v) => s(e.currentPage - 1, "prev"))
4027
+ }, [
4025
4028
  k(f.$slots, "pagination-prev", {}, () => [
4026
4029
  Y(an, {
4027
4030
  label: e.labelPrev,
4028
- disabled: e.currentPage === 1,
4029
- onClick: u[0] || (u[0] = (v) => s(e.currentPage - 1))
4031
+ disabled: e.currentPage === 1
4030
4032
  }, null, 8, ["label", "disabled"])
4031
4033
  ], !0)
4032
4034
  ]),
4033
4035
  h("li", null, [
4034
4036
  h("ul", null, [
4035
- (y(!0), g(G, null, Q(l.value, (v) => (y(), g("li", { key: v }, [
4036
- h("button", {
4037
- type: "button",
4038
- "aria-current": v === e.currentPage ? "true" : "false",
4039
- class: T({
4040
- current: v === e.currentPage,
4041
- "joy-pagination__separator joy-pagination__separator-after": e.totalPages > 1 && v === 1 && i.value,
4042
- "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && v === e.totalPages && o.value
4043
- }),
4044
- onClick: (p) => s(v)
4045
- }, F(v), 11, fr)
4046
- ]))), 128))
4037
+ (y(!0), g(G, null, Q(l.value, (v) => (y(), g("li", {
4038
+ key: v,
4039
+ class: T({
4040
+ "joy-pagination__item": !0,
4041
+ "joy-pagination__page": !0,
4042
+ current: v === e.currentPage,
4043
+ "joy-pagination__separator joy-pagination__separator-after": e.totalPages > 1 && v === 1 && i.value,
4044
+ "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && v === e.totalPages && o.value
4045
+ }),
4046
+ onClick: (p) => s(v)
4047
+ }, [
4048
+ k(f.$slots, "page", we(Se({ page: v })), () => [
4049
+ h("button", {
4050
+ type: "button",
4051
+ "aria-current": v === e.currentPage ? "true" : "false"
4052
+ }, F(v), 9, fr)
4053
+ ], !0)
4054
+ ], 10, dr))), 128))
4047
4055
  ])
4048
4056
  ]),
4049
- h("li", yr, [
4057
+ h("li", {
4058
+ class: "joy-pagination__next",
4059
+ onClick: u[1] || (u[1] = (v) => s(e.currentPage + 1, "next"))
4060
+ }, [
4050
4061
  k(f.$slots, "pagination-next", {}, () => [
4051
4062
  Y(an, {
4052
4063
  next: "",
4053
4064
  label: e.labelNext,
4054
- disabled: e.currentPage === e.totalPages,
4055
- onClick: u[1] || (u[1] = (v) => s(e.currentPage + 1))
4065
+ disabled: e.currentPage === e.totalPages
4056
4066
  }, null, 8, ["label", "disabled"])
4057
4067
  ], !0)
4058
4068
  ])
@@ -4060,19 +4070,19 @@ const ur = /* @__PURE__ */ J(sr, [["__scopeId", "data-v-c278b02d"]]), an = /* @_
4060
4070
  ], 8, cr));
4061
4071
  }
4062
4072
  });
4063
- const mr = /* @__PURE__ */ J(pr, [["__scopeId", "data-v-ca6b555e"]]), br = ["small", "medium", "large"], gr = ["small", "large"], hr = {
4073
+ const pr = /* @__PURE__ */ J(vr, [["__scopeId", "data-v-8f0f7868"]]), mr = ["small", "medium", "large"], br = ["small", "large"], gr = {
4064
4074
  key: 0,
4065
4075
  class: /* @__PURE__ */ T(["joy-panel__header"])
4066
- }, _r = {
4076
+ }, hr = {
4067
4077
  key: 1,
4068
4078
  class: "joy-panel__header-action"
4069
- }, wr = {
4079
+ }, _r = {
4070
4080
  key: 2,
4071
4081
  class: "joy-panel__header-subtitle"
4072
- }, Sr = { class: "joy-panel__body" }, kr = {
4082
+ }, wr = { class: "joy-panel__body" }, Sr = {
4073
4083
  key: 1,
4074
4084
  class: "joy-panel__footer"
4075
- }, xr = /* @__PURE__ */ L({
4085
+ }, kr = /* @__PURE__ */ L({
4076
4086
  __name: "VJoyPanel",
4077
4087
  props: {
4078
4088
  flex: {
@@ -4086,14 +4096,14 @@ const mr = /* @__PURE__ */ J(pr, [["__scopeId", "data-v-ca6b555e"]]), br = ["sma
4086
4096
  type: String,
4087
4097
  default: "medium",
4088
4098
  validator(e) {
4089
- return br.includes(e);
4099
+ return mr.includes(e);
4090
4100
  }
4091
4101
  },
4092
4102
  titleSize: {
4093
4103
  type: String,
4094
4104
  default: "large",
4095
4105
  validator(e) {
4096
- return gr.includes(e);
4106
+ return br.includes(e);
4097
4107
  }
4098
4108
  },
4099
4109
  loading: {
@@ -4120,24 +4130,24 @@ const mr = /* @__PURE__ */ J(pr, [["__scopeId", "data-v-ca6b555e"]]), br = ["sma
4120
4130
  }
4121
4131
  ])
4122
4132
  }, [
4123
- i.value ? (y(), g("header", hr, [
4133
+ i.value ? (y(), g("header", gr, [
4124
4134
  E(a)["panel-title"] ? (y(), g("div", {
4125
4135
  key: 0,
4126
4136
  class: T(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4127
4137
  }, [
4128
4138
  k(l.$slots, "panel-title", {}, void 0, !0)
4129
4139
  ], 2)) : C("", !0),
4130
- E(a)["panel-title-action"] ? (y(), g("div", _r, [
4140
+ E(a)["panel-title-action"] ? (y(), g("div", hr, [
4131
4141
  k(l.$slots, "panel-title-action", {}, void 0, !0)
4132
4142
  ])) : C("", !0),
4133
- E(a)["panel-subtitle"] ? (y(), g("div", wr, [
4143
+ E(a)["panel-subtitle"] ? (y(), g("div", _r, [
4134
4144
  k(l.$slots, "panel-subtitle", {}, void 0, !0)
4135
4145
  ])) : C("", !0)
4136
4146
  ])) : C("", !0),
4137
- h("div", Sr, [
4147
+ h("div", wr, [
4138
4148
  k(l.$slots, "panel-body", {}, void 0, !0)
4139
4149
  ]),
4140
- E(a)["panel-action"] ? (y(), g("footer", kr, [
4150
+ E(a)["panel-action"] ? (y(), g("footer", Sr, [
4141
4151
  k(l.$slots, "panel-action", {}, void 0, !0)
4142
4152
  ])) : C("", !0),
4143
4153
  e.loading ? (y(), N(E(Pt), {
@@ -4153,27 +4163,27 @@ const mr = /* @__PURE__ */ J(pr, [["__scopeId", "data-v-ca6b555e"]]), br = ["sma
4153
4163
  ], 6));
4154
4164
  }
4155
4165
  });
4156
- const Cr = /* @__PURE__ */ J(xr, [["__scopeId", "data-v-4a8b703c"]]), jr = { class: "joy-panel-section" }, $r = {
4166
+ const xr = /* @__PURE__ */ J(kr, [["__scopeId", "data-v-4a8b703c"]]), Cr = { class: "joy-panel-section" }, jr = {
4157
4167
  key: 0,
4158
4168
  class: "joy-panel-section__title"
4159
- }, Vr = {
4169
+ }, $r = {
4160
4170
  key: 1,
4161
4171
  class: "joy-panel-section__content"
4162
- }, Tr = /* @__PURE__ */ L({
4172
+ }, Vr = /* @__PURE__ */ L({
4163
4173
  __name: "VJoyPanelSection",
4164
4174
  setup(e) {
4165
4175
  const t = ne();
4166
- return (n, a) => (y(), g("div", jr, [
4167
- E(t)["panel-section-title"] ? (y(), g("div", $r, [
4176
+ return (n, a) => (y(), g("div", Cr, [
4177
+ E(t)["panel-section-title"] ? (y(), g("div", jr, [
4168
4178
  k(n.$slots, "panel-section-title", {}, void 0, !0)
4169
4179
  ])) : C("", !0),
4170
- E(t)["panel-section-content"] ? (y(), g("div", Vr, [
4180
+ E(t)["panel-section-content"] ? (y(), g("div", $r, [
4171
4181
  k(n.$slots, "panel-section-content", {}, void 0, !0)
4172
4182
  ])) : C("", !0)
4173
4183
  ]));
4174
4184
  }
4175
4185
  });
4176
- const Ir = /* @__PURE__ */ J(Tr, [["__scopeId", "data-v-d88510ab"]]), Er = { class: "joy-progress-bar-wrapper" }, Lr = /* @__PURE__ */ L({
4186
+ const Tr = /* @__PURE__ */ J(Vr, [["__scopeId", "data-v-d88510ab"]]), Ir = { class: "joy-progress-bar-wrapper" }, Er = /* @__PURE__ */ L({
4177
4187
  __name: "VJoyProgressBar",
4178
4188
  props: {
4179
4189
  color: {
@@ -4207,7 +4217,7 @@ const Ir = /* @__PURE__ */ J(Tr, [["__scopeId", "data-v-d88510ab"]]), Er = { cla
4207
4217
  return t({
4208
4218
  computeInnerWidth: o,
4209
4219
  computedPercentage: a
4210
- }), (l, s) => (y(), g("div", Er, [
4220
+ }), (l, s) => (y(), g("div", Ir, [
4211
4221
  h("div", {
4212
4222
  class: T(["joy-progress-bar-inner", `joy-progress-bar-inner_${e.color}`]),
4213
4223
  style: ue({ width: o.value })
@@ -4215,7 +4225,7 @@ const Ir = /* @__PURE__ */ J(Tr, [["__scopeId", "data-v-d88510ab"]]), Er = { cla
4215
4225
  ]));
4216
4226
  }
4217
4227
  });
4218
- const Ar = /* @__PURE__ */ J(Lr, [["__scopeId", "data-v-1b2b3de8"]]), Br = ["id", "value", "checked", "disabled", "required", "name"], Nr = { class: "joy-radio-label" }, Jr = { class: "joy-radio-content__wrapper" }, Fr = { class: "joy-radio-content" }, Pr = /* @__PURE__ */ L({
4228
+ const Lr = /* @__PURE__ */ J(Er, [["__scopeId", "data-v-1b2b3de8"]]), Ar = ["id", "value", "checked", "disabled", "required", "name"], Br = { class: "joy-radio-label" }, Nr = { class: "joy-radio-content__wrapper" }, Jr = { class: "joy-radio-content" }, Fr = /* @__PURE__ */ L({
4219
4229
  __name: "VJoyRadio",
4220
4230
  props: {
4221
4231
  disabled: {
@@ -4301,12 +4311,12 @@ const Ar = /* @__PURE__ */ J(Lr, [["__scopeId", "data-v-1b2b3de8"]]), Br = ["id"
4301
4311
  onChange: v,
4302
4312
  onFocus: p,
4303
4313
  onBlur: d
4304
- }, null, 40, Br),
4305
- h("span", Nr, [
4314
+ }, null, 40, Ar),
4315
+ h("span", Br, [
4306
4316
  k(b.$slots, "default", {}, void 0, !0)
4307
4317
  ]),
4308
- h("div", Jr, [
4309
- h("div", Fr, [
4318
+ h("div", Nr, [
4319
+ h("div", Jr, [
4310
4320
  k(b.$slots, "radio-content", {}, void 0, !0)
4311
4321
  ]),
4312
4322
  h("div", {
@@ -4320,7 +4330,7 @@ const Ar = /* @__PURE__ */ J(Lr, [["__scopeId", "data-v-1b2b3de8"]]), Br = ["id"
4320
4330
  ], 2));
4321
4331
  }
4322
4332
  });
4323
- const Or = /* @__PURE__ */ J(Pr, [["__scopeId", "data-v-dd46e26a"]]), Rr = ["form", "name"], Dr = /* @__PURE__ */ L({
4333
+ const Pr = /* @__PURE__ */ J(Fr, [["__scopeId", "data-v-dd46e26a"]]), Or = ["form", "name"], Rr = /* @__PURE__ */ L({
4324
4334
  __name: "VJoyRadioGroup",
4325
4335
  props: {
4326
4336
  /**
@@ -4354,10 +4364,10 @@ const Or = /* @__PURE__ */ J(Pr, [["__scopeId", "data-v-dd46e26a"]]), Rr = ["for
4354
4364
  }, [
4355
4365
  k(t.$slots, "default", {}, void 0, !0)
4356
4366
  ], 2)
4357
- ], 8, Rr));
4367
+ ], 8, Or));
4358
4368
  }
4359
4369
  });
4360
- const Mr = /* @__PURE__ */ J(Dr, [["__scopeId", "data-v-a77e7f95"]]), zr = ["ariaLabel"], qr = { class: "joy-rating-stars" }, Hr = { class: "joy-rating-stars__content" }, Wr = { key: 0 }, Ur = /* @__PURE__ */ L({
4370
+ const Dr = /* @__PURE__ */ J(Rr, [["__scopeId", "data-v-a77e7f95"]]), Mr = ["ariaLabel"], zr = { class: "joy-rating-stars" }, qr = { class: "joy-rating-stars__content" }, Hr = { key: 0 }, Wr = /* @__PURE__ */ L({
4361
4371
  __name: "VJoyRatingStars",
4362
4372
  props: {
4363
4373
  ratingValue: {
@@ -4387,7 +4397,7 @@ const Mr = /* @__PURE__ */ J(Dr, [["__scopeId", "data-v-a77e7f95"]]), zr = ["ari
4387
4397
  class: "joy-rating-stars__wrapper",
4388
4398
  ariaLabel: E(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
4389
4399
  }, [
4390
- h("ul", qr, [
4400
+ h("ul", zr, [
4391
4401
  (y(!0), g(G, null, Q(o.value, (s, r) => (y(), g("li", {
4392
4402
  key: r,
4393
4403
  class: T([`joy-rating-stars--${e.size}`])
@@ -4410,18 +4420,18 @@ const Mr = /* @__PURE__ */ J(Dr, [["__scopeId", "data-v-a77e7f95"]]), zr = ["ari
4410
4420
  }))
4411
4421
  ], 2))), 128))
4412
4422
  ]),
4413
- h("div", Hr, [
4423
+ h("div", qr, [
4414
4424
  k(i.$slots, "rating-stars-content", {}, () => [
4415
- e.reviewCount ? (y(), g("span", Wr, "(" + F(e.reviewCount) + ")", 1)) : C("", !0)
4425
+ e.reviewCount ? (y(), g("span", Hr, "(" + F(e.reviewCount) + ")", 1)) : C("", !0)
4416
4426
  ], !0)
4417
4427
  ])
4418
- ], 8, zr));
4428
+ ], 8, Mr));
4419
4429
  }
4420
4430
  });
4421
- const In = /* @__PURE__ */ J(Ur, [["__scopeId", "data-v-c9a5e140"]]), Kr = { class: "joy-screen-loader__content" }, Gr = {
4431
+ const In = /* @__PURE__ */ J(Wr, [["__scopeId", "data-v-c9a5e140"]]), Ur = { class: "joy-screen-loader__content" }, Kr = {
4422
4432
  key: 0,
4423
4433
  class: "joy-screen-loader__content"
4424
- }, Yr = /* @__PURE__ */ L({
4434
+ }, Gr = /* @__PURE__ */ L({
4425
4435
  __name: "VJoyScreenLoader",
4426
4436
  props: {
4427
4437
  /** Light or dark. Changes the spinner and background color */
@@ -4439,20 +4449,20 @@ const In = /* @__PURE__ */ J(Ur, [["__scopeId", "data-v-c9a5e140"]]), Kr = { cla
4439
4449
  return (t, n) => (y(), g("div", {
4440
4450
  class: T(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4441
4451
  }, [
4442
- h("div", Kr, [
4452
+ h("div", Ur, [
4443
4453
  k(t.$slots, "spinner", {}, () => [
4444
4454
  Y(Et, {
4445
4455
  color: e.color === "dark" ? "white" : "teal"
4446
4456
  }, null, 8, ["color"])
4447
4457
  ], !0),
4448
- t.$slots.content ? (y(), g("div", Gr, [
4458
+ t.$slots.content ? (y(), g("div", Kr, [
4449
4459
  k(t.$slots, "content", {}, void 0, !0)
4450
4460
  ])) : C("", !0)
4451
4461
  ])
4452
4462
  ], 2));
4453
4463
  }
4454
4464
  });
4455
- const Pt = /* @__PURE__ */ J(Yr, [["__scopeId", "data-v-1112514f"]]), Zr = ["id", "name", "aria-invalid", "required", "disabled"], Xr = ["selected"], Qr = /* @__PURE__ */ L({
4465
+ const Pt = /* @__PURE__ */ J(Gr, [["__scopeId", "data-v-1112514f"]]), Yr = ["id", "name", "aria-invalid", "required", "disabled"], Zr = ["selected"], Xr = /* @__PURE__ */ L({
4456
4466
  __name: "VJoySelect",
4457
4467
  props: {
4458
4468
  disabled: {
@@ -4547,7 +4557,7 @@ const Pt = /* @__PURE__ */ J(Yr, [["__scopeId", "data-v-1112514f"]]), Zr = ["id"
4547
4557
  ref: r
4548
4558
  }, [
4549
4559
  k(b.$slots, "select-label", {}, () => [
4550
- e.label ? (y(), N(Se, {
4560
+ e.label ? (y(), N(xe, {
4551
4561
  key: 0,
4552
4562
  required: e.required && e.requiredMark,
4553
4563
  "optional-label": e.optionalLabel,
@@ -4590,9 +4600,9 @@ const Pt = /* @__PURE__ */ J(Yr, [["__scopeId", "data-v-1112514f"]]), Zr = ["id"
4590
4600
  key: (S = _.props) == null ? void 0 : S.value
4591
4601
  }, _.props, {
4592
4602
  selected: ((A = _.props) == null ? void 0 : A.value) === e.modelValue
4593
- }), F(_.children), 17, Xr);
4603
+ }), F(_.children), 17, Zr);
4594
4604
  }), 128))
4595
- ], 40, Zr),
4605
+ ], 40, Yr),
4596
4606
  Y(K, {
4597
4607
  class: "joy-select__chevron",
4598
4608
  name: "chevron-down"
@@ -4601,7 +4611,7 @@ const Pt = /* @__PURE__ */ J(Yr, [["__scopeId", "data-v-1112514f"]]), Zr = ["id"
4601
4611
  ], 512));
4602
4612
  }
4603
4613
  });
4604
- const es = /* @__PURE__ */ J(Qr, [["__scopeId", "data-v-b2b02d36"]]), ts = ["aria-disabled"], ns = ["id", "value", "checked", "disabled", "required", "name"], as = { class: "joy-selectable-item__label" }, os = /* @__PURE__ */ L({
4614
+ const Qr = /* @__PURE__ */ J(Xr, [["__scopeId", "data-v-b2b02d36"]]), es = ["aria-disabled"], ts = ["id", "value", "checked", "disabled", "required", "name"], ns = { class: "joy-selectable-item__label" }, as = /* @__PURE__ */ L({
4605
4615
  __name: "VJoySelectableItem",
4606
4616
  props: {
4607
4617
  disabled: {
@@ -4691,7 +4701,7 @@ const es = /* @__PURE__ */ J(Qr, [["__scopeId", "data-v-b2b02d36"]]), ts = ["ari
4691
4701
  (...v) => r.onFocus && r.onFocus(...v)),
4692
4702
  onBlur: u[2] || (u[2] = //@ts-ignore
4693
4703
  (...v) => r.onBlur && r.onBlur(...v))
4694
- }, null, 40, ns)),
4704
+ }, null, 40, ts)),
4695
4705
  (y(), N(re(E(s)), {
4696
4706
  for: e.id,
4697
4707
  class: T([
@@ -4727,7 +4737,7 @@ const es = /* @__PURE__ */ J(Qr, [["__scopeId", "data-v-b2b02d36"]]), ts = ["ari
4727
4737
  ]),
4728
4738
  _: 3
4729
4739
  }, 8, ["id", "checked", "disabled", "value", "name", "required", "onFocus", "onBlur"])) : C("", !0),
4730
- h("div", as, [
4740
+ h("div", ns, [
4731
4741
  e.multiple ? C("", !0) : k(f.$slots, "default", { key: 0 }, void 0, !0)
4732
4742
  ]),
4733
4743
  h("div", {
@@ -4740,10 +4750,10 @@ const es = /* @__PURE__ */ J(Qr, [["__scopeId", "data-v-b2b02d36"]]), ts = ["ari
4740
4750
  ]),
4741
4751
  _: 3
4742
4752
  }, 8, ["for", "class", "onClick"]))
4743
- ], 10, ts));
4753
+ ], 10, es));
4744
4754
  }
4745
4755
  });
4746
- const En = /* @__PURE__ */ J(os, [["__scopeId", "data-v-a9411119"]]), ls = ["id"], is = /* @__PURE__ */ L({
4756
+ const En = /* @__PURE__ */ J(as, [["__scopeId", "data-v-a9411119"]]), os = ["id"], ls = /* @__PURE__ */ L({
4747
4757
  __name: "VJoySelectableItemGroup",
4748
4758
  props: {
4749
4759
  options: {
@@ -4798,7 +4808,7 @@ const En = /* @__PURE__ */ J(os, [["__scopeId", "data-v-a9411119"]]), ls = ["id"
4798
4808
  id: e.id,
4799
4809
  class: "joy-selectable-item-group__wrapper"
4800
4810
  }, [
4801
- e.label ? (y(), N(E(Se), {
4811
+ e.label ? (y(), N(E(xe), {
4802
4812
  key: 0,
4803
4813
  "tag-name": "legend",
4804
4814
  required: e.required && e.requiredMark,
@@ -4831,7 +4841,7 @@ const En = /* @__PURE__ */ J(os, [["__scopeId", "data-v-a9411119"]]), ls = ["id"
4831
4841
  "onUpdate:checked": (c) => i(r.value, c)
4832
4842
  }), fn({
4833
4843
  default: R(() => [
4834
- k(l.$slots, "item", Te(Ie(r)), () => [
4844
+ k(l.$slots, "item", we(Se(r)), () => [
4835
4845
  H(F(r.label), 1)
4836
4846
  ], !0)
4837
4847
  ]),
@@ -4846,10 +4856,10 @@ const En = /* @__PURE__ */ J(os, [["__scopeId", "data-v-a9411119"]]), ls = ["id"
4846
4856
  } : void 0
4847
4857
  ]), 1040, ["id", "name", "disabled", "value", "multiple", "checked", "onUpdate:checked"]))), 128))
4848
4858
  ], 2)
4849
- ], 8, ls));
4859
+ ], 8, os));
4850
4860
  }
4851
4861
  });
4852
- const rs = /* @__PURE__ */ J(is, [["__scopeId", "data-v-2cbfc306"]]), ss = /* @__PURE__ */ L({
4862
+ const is = /* @__PURE__ */ J(ls, [["__scopeId", "data-v-2cbfc306"]]), rs = /* @__PURE__ */ L({
4853
4863
  __name: "VJoySeparator",
4854
4864
  props: {
4855
4865
  /** Main text to apply in the central area */
@@ -4869,7 +4879,7 @@ const rs = /* @__PURE__ */ J(is, [["__scopeId", "data-v-2cbfc306"]]), ss = /* @_
4869
4879
  ], 2));
4870
4880
  }
4871
4881
  });
4872
- const us = /* @__PURE__ */ J(ss, [["__scopeId", "data-v-21db2899"]]), cs = { class: "joy-snackbar__img" }, ds = { class: "joy-snackbar__content" }, fs = { key: 0 }, ys = ["innerHTML"], vs = /* @__PURE__ */ L({
4882
+ const ss = /* @__PURE__ */ J(rs, [["__scopeId", "data-v-21db2899"]]), us = { class: "joy-snackbar__img" }, cs = { class: "joy-snackbar__content" }, ds = { key: 0 }, fs = ["innerHTML"], ys = /* @__PURE__ */ L({
4873
4883
  __name: "VJoySnackbar",
4874
4884
  props: {
4875
4885
  level: {
@@ -4917,7 +4927,7 @@ const us = /* @__PURE__ */ J(ss, [["__scopeId", "data-v-21db2899"]]), cs = { cla
4917
4927
  setup(e, { expose: t }) {
4918
4928
  const n = e, a = $(!0);
4919
4929
  let o, i;
4920
- const l = "joy-snackbar-" + we(), s = V(() => pn(n.level));
4930
+ const l = "joy-snackbar-" + ke(), s = V(() => pn(n.level));
4921
4931
  function r() {
4922
4932
  var b;
4923
4933
  (b = n.bus) == null || b.emit("snackbar:action-click");
@@ -4963,12 +4973,12 @@ const us = /* @__PURE__ */ J(ss, [["__scopeId", "data-v-21db2899"]]), cs = { cla
4963
4973
  id: l,
4964
4974
  class: T(["joy-snackbar", `joy-snackbar_${e.level}`])
4965
4975
  }, [
4966
- h("div", cs, [
4976
+ h("div", us, [
4967
4977
  Y(E(K), { name: s.value }, null, 8, ["name"])
4968
4978
  ]),
4969
- h("div", ds, [
4970
- e.header ? (y(), g("strong", fs, F(e.header), 1)) : C("", !0),
4971
- h("span", { innerHTML: e.message }, null, 8, ys),
4979
+ h("div", cs, [
4980
+ e.header ? (y(), g("strong", ds, F(e.header), 1)) : C("", !0),
4981
+ h("span", { innerHTML: e.message }, null, 8, fs),
4972
4982
  e.actionText ? (y(), g("p", {
4973
4983
  key: 1,
4974
4984
  class: "joy-snackbar__trigger___action",
@@ -4988,7 +4998,7 @@ const us = /* @__PURE__ */ J(ss, [["__scopeId", "data-v-21db2899"]]), cs = { cla
4988
4998
  ], 2));
4989
4999
  }
4990
5000
  });
4991
- const Ln = /* @__PURE__ */ J(vs, [["__scopeId", "data-v-e9634d00"]]), ps = ["id"], ms = { class: "joy-step__stroke" }, bs = { class: "joy-step__label" }, gs = /* @__PURE__ */ L({
5001
+ const Ln = /* @__PURE__ */ J(ys, [["__scopeId", "data-v-e9634d00"]]), vs = ["id"], ps = { class: "joy-step__stroke" }, ms = { class: "joy-step__label" }, bs = /* @__PURE__ */ L({
4992
5002
  __name: "VJoyStep",
4993
5003
  props: {
4994
5004
  completed: {
@@ -5009,7 +5019,7 @@ const Ln = /* @__PURE__ */ J(vs, [["__scopeId", "data-v-e9634d00"]]), ps = ["id"
5009
5019
  },
5010
5020
  id: {
5011
5021
  type: String,
5012
- default: "joy-step-value--" + we()
5022
+ default: "joy-step-value--" + ke()
5013
5023
  }
5014
5024
  },
5015
5025
  emits: ["update:subSteps"],
@@ -5031,19 +5041,19 @@ const Ln = /* @__PURE__ */ J(vs, [["__scopeId", "data-v-e9634d00"]]), ps = ["id"
5031
5041
  }
5032
5042
  ])
5033
5043
  }, [
5034
- h("span", ms, [
5044
+ h("span", ps, [
5035
5045
  h("span", {
5036
5046
  class: "joy-step__stroke--filled",
5037
5047
  style: ue({ maxWidth: l.value })
5038
5048
  }, null, 4)
5039
5049
  ]),
5040
- h("span", bs, [
5050
+ h("span", ms, [
5041
5051
  k(c.$slots, "default", {}, void 0, !0)
5042
5052
  ])
5043
- ], 10, ps));
5053
+ ], 10, vs));
5044
5054
  }
5045
5055
  });
5046
- const An = /* @__PURE__ */ J(gs, [["__scopeId", "data-v-7b9e5926"]]), hs = { class: "joy-stepper" }, _s = /* @__PURE__ */ L({
5056
+ const An = /* @__PURE__ */ J(bs, [["__scopeId", "data-v-7b9e5926"]]), gs = { class: "joy-stepper" }, hs = /* @__PURE__ */ L({
5047
5057
  __name: "VJoyStepper",
5048
5058
  props: {
5049
5059
  step: {
@@ -5072,7 +5082,7 @@ const An = /* @__PURE__ */ J(gs, [["__scopeId", "data-v-7b9e5926"]]), hs = { cla
5072
5082
  currentItemSubStep: r,
5073
5083
  steps: o,
5074
5084
  invalidSubStepValue: s
5075
- }), (u, v) => (y(), g("div", hs, [
5085
+ }), (u, v) => (y(), g("div", gs, [
5076
5086
  (y(!0), g(G, null, Q(o.value, (p, d) => {
5077
5087
  var b;
5078
5088
  return y(), N(E(An), oe(p.props, {
@@ -5092,7 +5102,7 @@ const An = /* @__PURE__ */ J(gs, [["__scopeId", "data-v-7b9e5926"]]), hs = { cla
5092
5102
  ]));
5093
5103
  }
5094
5104
  });
5095
- const ws = /* @__PURE__ */ J(_s, [["__scopeId", "data-v-f3d35d3e"]]), Ss = ["id", "aria-hidden", "aria-labelledby"], ks = /* @__PURE__ */ L({
5105
+ const _s = /* @__PURE__ */ J(hs, [["__scopeId", "data-v-f3d35d3e"]]), ws = ["id", "aria-hidden", "aria-labelledby"], Ss = /* @__PURE__ */ L({
5096
5106
  __name: "VJoyTab",
5097
5107
  props: {
5098
5108
  /**
@@ -5135,16 +5145,16 @@ const ws = /* @__PURE__ */ J(_s, [["__scopeId", "data-v-f3d35d3e"]]), Ss = ["id"
5135
5145
  })
5136
5146
  }, [
5137
5147
  k(o.$slots, "default", {}, void 0, !0)
5138
- ], 10, Ss));
5148
+ ], 10, ws));
5139
5149
  }
5140
5150
  });
5141
- const xs = /* @__PURE__ */ J(ks, [["__scopeId", "data-v-a76a7c92"]]), Cs = ["id", "href", "aria-selected", "aria-controls"], js = {
5151
+ const ks = /* @__PURE__ */ J(Ss, [["__scopeId", "data-v-a76a7c92"]]), xs = ["id", "href", "aria-selected", "aria-controls"], Cs = {
5142
5152
  type: "button",
5143
5153
  tabindex: "-1"
5144
- }, $s = {
5154
+ }, js = {
5145
5155
  key: 0,
5146
5156
  class: "joy-tab-button__notification"
5147
- }, Vs = /* @__PURE__ */ L({
5157
+ }, $s = /* @__PURE__ */ L({
5148
5158
  __name: "TabButton",
5149
5159
  props: {
5150
5160
  /**
@@ -5205,19 +5215,19 @@ const xs = /* @__PURE__ */ J(ks, [["__scopeId", "data-v-a76a7c92"]]), Cs = ["id"
5205
5215
  "joy-tab-button__selected": e.selected
5206
5216
  })
5207
5217
  }, [
5208
- h("button", js, [
5218
+ h("button", Cs, [
5209
5219
  h("div", null, [
5210
5220
  k(i.$slots, "default", {}, () => [
5211
5221
  H(F(e.label), 1)
5212
5222
  ], !0),
5213
- e.notification ? (y(), g("div", $s)) : C("", !0)
5223
+ e.notification ? (y(), g("div", js)) : C("", !0)
5214
5224
  ])
5215
5225
  ])
5216
5226
  ], 2)
5217
- ], 40, Cs));
5227
+ ], 40, xs));
5218
5228
  }
5219
5229
  });
5220
- const Ts = /* @__PURE__ */ J(Vs, [["__scopeId", "data-v-e2a02c1c"]]), Is = { class: "joy-tabs" }, Es = /* @__PURE__ */ L({
5230
+ const Vs = /* @__PURE__ */ J($s, [["__scopeId", "data-v-e2a02c1c"]]), Ts = { class: "joy-tabs" }, Is = /* @__PURE__ */ L({
5221
5231
  __name: "VJoyTabs",
5222
5232
  props: {
5223
5233
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -5260,7 +5270,7 @@ const Ts = /* @__PURE__ */ J(Vs, [["__scopeId", "data-v-e2a02c1c"]]), Is = { cla
5260
5270
  (m = r.value) == null || m.removeEventListener("scroll", d);
5261
5271
  }), t({
5262
5272
  tabs: u
5263
- }), (m, _) => (y(), g("div", Is, [
5273
+ }), (m, _) => (y(), g("div", Ts, [
5264
5274
  h("div", {
5265
5275
  ref_key: "buttonListWrapper",
5266
5276
  ref: s,
@@ -5279,7 +5289,7 @@ const Ts = /* @__PURE__ */ J(Vs, [["__scopeId", "data-v-e2a02c1c"]]), Is = { cla
5279
5289
  (y(!0), g(G, null, Q(u.value, (S) => (y(), g("div", {
5280
5290
  key: S.props.tab
5281
5291
  }, [
5282
- Y(Ts, {
5292
+ Y(Vs, {
5283
5293
  tab: S.props.tab,
5284
5294
  label: S.props.label,
5285
5295
  href: S.props.href,
@@ -5304,7 +5314,7 @@ const Ts = /* @__PURE__ */ J(Vs, [["__scopeId", "data-v-e2a02c1c"]]), Is = { cla
5304
5314
  ]));
5305
5315
  }
5306
5316
  });
5307
- const Ls = /* @__PURE__ */ J(Es, [["__scopeId", "data-v-ff85775b"]]), As = ["id", "role"], Bs = /* @__PURE__ */ L({
5317
+ const Es = /* @__PURE__ */ J(Is, [["__scopeId", "data-v-ff85775b"]]), Ls = ["id", "role"], As = /* @__PURE__ */ L({
5308
5318
  __name: "VJoyTag",
5309
5319
  props: {
5310
5320
  label: {},
@@ -5315,7 +5325,7 @@ const Ls = /* @__PURE__ */ J(Es, [["__scopeId", "data-v-ff85775b"]]), As = ["id"
5315
5325
  selected: { type: Boolean },
5316
5326
  selectable: { type: Boolean },
5317
5327
  link: { type: Boolean, default: !1 },
5318
- value: { default: "joy-tag-value--" + we() }
5328
+ value: { default: "joy-tag-value--" + ke() }
5319
5329
  },
5320
5330
  emits: ["selected", "remove", "click"],
5321
5331
  setup(e, { emit: t }) {
@@ -5357,10 +5367,10 @@ const Ls = /* @__PURE__ */ J(Es, [["__scopeId", "data-v-ff85775b"]]), As = ["id"
5357
5367
  onClick: na(l, ["stop"]),
5358
5368
  onKeydown: dt(l, ["enter"])
5359
5369
  }, null, 8, ["onClick", "onKeydown"])) : C("", !0)
5360
- ], 10, As));
5370
+ ], 10, Ls));
5361
5371
  }
5362
5372
  });
5363
- const Ot = /* @__PURE__ */ J(Bs, [["__scopeId", "data-v-e924b86b"]]);
5373
+ const Ot = /* @__PURE__ */ J(As, [["__scopeId", "data-v-e924b86b"]]);
5364
5374
  var Me = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(Me || {});
5365
5375
  function on(e) {
5366
5376
  if (!Array.isArray(e) && typeof e != "string")
@@ -5373,7 +5383,7 @@ function on(e) {
5373
5383
  return a;
5374
5384
  }) === void 0 : t(e);
5375
5385
  }
5376
- const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholder"], Fs = { key: 0 }, Ps = { key: 1 }, Os = /* @__PURE__ */ L({
5386
+ const Bs = { class: "joy-tags-input__wrapper" }, Ns = ["id", "name", "placeholder"], Js = { key: 0 }, Fs = { key: 1 }, Ps = /* @__PURE__ */ L({
5377
5387
  __name: "VJoyTagsInput",
5378
5388
  props: {
5379
5389
  name: {},
@@ -5448,8 +5458,8 @@ const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
5448
5458
  ), t({
5449
5459
  isInvalid: r,
5450
5460
  hasDuplicates: b
5451
- }), (j, D) => (y(), g("div", Ns, [
5452
- j.$slots.default ? (y(), N(Se, {
5461
+ }), (j, D) => (y(), g("div", Bs, [
5462
+ j.$slots.default ? (y(), N(xe, {
5453
5463
  key: 0,
5454
5464
  id: j.name,
5455
5465
  class: "joy-tags-input__label"
@@ -5478,7 +5488,7 @@ const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
5478
5488
  onRemove: O
5479
5489
  }, {
5480
5490
  default: R(() => [
5481
- k(j.$slots, "tag", Te(Ie({ name: U })), void 0, !0)
5491
+ k(j.$slots, "tag", we(Se({ name: U })), void 0, !0)
5482
5492
  ]),
5483
5493
  _: 2
5484
5494
  }, 1032, ["variant", "size", "label", "value"]))), 128)),
@@ -5492,7 +5502,7 @@ const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
5492
5502
  onKeydown: _,
5493
5503
  onFocus: S,
5494
5504
  onBlur: A
5495
- }, null, 40, Js)
5505
+ }, null, 40, Ns)
5496
5506
  ], 2),
5497
5507
  p.value ? (y(), N(Ft, {
5498
5508
  key: 1,
@@ -5500,8 +5510,8 @@ const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
5500
5510
  }, {
5501
5511
  default: R(() => [
5502
5512
  h("ul", null, [
5503
- v.value ? (y(), g("li", Fs, F(j.duplicationError), 1)) : C("", !0),
5504
- u.value ? (y(), g("li", Ps, F(j.invalidEmailError), 1)) : C("", !0)
5513
+ v.value ? (y(), g("li", Js, F(j.duplicationError), 1)) : C("", !0),
5514
+ u.value ? (y(), g("li", Fs, F(j.invalidEmailError), 1)) : C("", !0)
5505
5515
  ])
5506
5516
  ]),
5507
5517
  _: 1
@@ -5509,7 +5519,7 @@ const Ns = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
5509
5519
  ]));
5510
5520
  }
5511
5521
  });
5512
- const Rs = /* @__PURE__ */ J(Os, [["__scopeId", "data-v-82308363"]]), Ds = /* @__PURE__ */ L({
5522
+ const Os = /* @__PURE__ */ J(Ps, [["__scopeId", "data-v-82308363"]]), Rs = /* @__PURE__ */ L({
5513
5523
  __name: "VJoyTagsList",
5514
5524
  props: {
5515
5525
  align: {
@@ -5576,7 +5586,7 @@ const Rs = /* @__PURE__ */ J(Os, [["__scopeId", "data-v-82308363"]]), Ds = /* @_
5576
5586
  onSelected: (v) => s(v, u)
5577
5587
  }), {
5578
5588
  default: R(() => [
5579
- k(c.$slots, "tag", Te(Ie({
5589
+ k(c.$slots, "tag", we(Se({
5580
5590
  ...u,
5581
5591
  selectable: i(u),
5582
5592
  selected: o(u),
@@ -5588,37 +5598,37 @@ const Rs = /* @__PURE__ */ J(Os, [["__scopeId", "data-v-82308363"]]), Ds = /* @_
5588
5598
  ], 2));
5589
5599
  }
5590
5600
  });
5591
- const Ms = /* @__PURE__ */ J(Ds, [["__scopeId", "data-v-1d8003ef"]]);
5592
- const zs = {}, qs = {
5601
+ const Ds = /* @__PURE__ */ J(Rs, [["__scopeId", "data-v-1d8003ef"]]);
5602
+ const Ms = {}, zs = {
5593
5603
  class: /* @__PURE__ */ T(["joy-template-shape__shapes"])
5594
- }, Hs = /* @__PURE__ */ yn('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), Ws = [
5595
- Hs
5604
+ }, qs = /* @__PURE__ */ yn('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), Hs = [
5605
+ qs
5596
5606
  ];
5597
- function Us(e, t) {
5598
- return y(), g("div", qs, Ws);
5607
+ function Ws(e, t) {
5608
+ return y(), g("div", zs, Hs);
5599
5609
  }
5600
- const Bn = /* @__PURE__ */ J(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Ks = { class: "joy-template__wrapper" }, Gs = {
5610
+ const Bn = /* @__PURE__ */ J(Ms, [["render", Ws], ["__scopeId", "data-v-8b258f92"]]), Us = { class: "joy-template__wrapper" }, Ks = {
5601
5611
  key: 0,
5602
5612
  class: "joy-template__heading"
5603
- }, Ys = {
5613
+ }, Gs = {
5604
5614
  key: 0,
5605
5615
  class: "joy-template-slot-back"
5606
- }, Zs = { class: "joy-template__heading___headings" }, Xs = {
5616
+ }, Ys = { class: "joy-template__heading___headings" }, Zs = {
5607
5617
  key: 0,
5608
5618
  class: "joy-template-slot-title"
5609
- }, Qs = {
5619
+ }, Xs = {
5610
5620
  key: 1,
5611
5621
  class: "joy-template-slot-subtitle"
5612
- }, eu = {
5622
+ }, Qs = {
5613
5623
  key: 1,
5614
5624
  class: "joy-template-slot-actions"
5615
- }, tu = {
5625
+ }, eu = {
5616
5626
  key: 0,
5617
5627
  class: "joy-template-slot-main"
5618
- }, nu = {
5628
+ }, tu = {
5619
5629
  key: 1,
5620
5630
  class: "joy-template-slot-sidebar"
5621
- }, au = /* @__PURE__ */ L({
5631
+ }, nu = /* @__PURE__ */ L({
5622
5632
  __name: "VJoyTemplate",
5623
5633
  props: {
5624
5634
  full: { type: Boolean, default: !1 },
@@ -5642,20 +5652,20 @@ const Bn = /* @__PURE__ */ J(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5642
5652
  class: T(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
5643
5653
  }, [
5644
5654
  e.shapes ? (y(), N(Bn, { key: 0 })) : C("", !0),
5645
- h("div", Ks, [
5646
- a.value ? (y(), g("div", Gs, [
5647
- E(n)["template-back"] ? (y(), g("div", Ys, [
5655
+ h("div", Us, [
5656
+ a.value ? (y(), g("div", Ks, [
5657
+ E(n)["template-back"] ? (y(), g("div", Gs, [
5648
5658
  k(o.$slots, "template-back", {}, void 0, !0)
5649
5659
  ])) : C("", !0),
5650
- h("div", Zs, [
5651
- E(n)["template-title"] ? (y(), g("div", Xs, [
5660
+ h("div", Ys, [
5661
+ E(n)["template-title"] ? (y(), g("div", Zs, [
5652
5662
  k(o.$slots, "template-title", {}, void 0, !0)
5653
5663
  ])) : C("", !0),
5654
- E(n)["template-subtitle"] ? (y(), g("div", Qs, [
5664
+ E(n)["template-subtitle"] ? (y(), g("div", Xs, [
5655
5665
  k(o.$slots, "template-subtitle", {}, void 0, !0)
5656
5666
  ])) : C("", !0)
5657
5667
  ]),
5658
- E(n)["template-actions"] ? (y(), g("div", eu, [
5668
+ E(n)["template-actions"] ? (y(), g("div", Qs, [
5659
5669
  k(o.$slots, "template-actions", {}, void 0, !0)
5660
5670
  ])) : C("", !0)
5661
5671
  ])) : C("", !0),
@@ -5667,10 +5677,10 @@ const Bn = /* @__PURE__ */ J(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5667
5677
  }
5668
5678
  ])
5669
5679
  }, [
5670
- o.$slots["template-main"] ? (y(), g("div", tu, [
5680
+ o.$slots["template-main"] ? (y(), g("div", eu, [
5671
5681
  k(o.$slots, "template-main", {}, void 0, !0)
5672
5682
  ])) : C("", !0),
5673
- o.$slots["template-sidebar"] ? (y(), g("div", nu, [
5683
+ o.$slots["template-sidebar"] ? (y(), g("div", tu, [
5674
5684
  k(o.$slots, "template-sidebar", {}, void 0, !0)
5675
5685
  ])) : C("", !0)
5676
5686
  ], 2)
@@ -5688,7 +5698,7 @@ const Bn = /* @__PURE__ */ J(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5688
5698
  ], 2));
5689
5699
  }
5690
5700
  });
5691
- const ou = /* @__PURE__ */ J(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5701
+ const au = /* @__PURE__ */ J(nu, [["__scopeId", "data-v-7c83eb21"]]), ou = /* @__PURE__ */ L({
5692
5702
  __name: "VJoyText",
5693
5703
  props: {
5694
5704
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -5713,13 +5723,13 @@ const ou = /* @__PURE__ */ J(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5713
5723
  }, 8, ["class"]));
5714
5724
  }
5715
5725
  });
5716
- const iu = /* @__PURE__ */ J(lu, [["__scopeId", "data-v-1af4e700"]]), ru = ["aria-disabled"], su = { class: "joy-textarea_wrapper" }, uu = ["id", "disabled", "name", "required", "minlength", "value"], cu = {
5726
+ const lu = /* @__PURE__ */ J(ou, [["__scopeId", "data-v-1af4e700"]]), iu = ["aria-disabled"], ru = { class: "joy-textarea_wrapper" }, su = ["id", "disabled", "name", "required", "minlength", "value"], uu = {
5717
5727
  key: 0,
5718
5728
  class: "joy-textarea_helpers"
5719
- }, du = {
5729
+ }, cu = {
5720
5730
  inheritAttrs: !1
5721
- }, fu = /* @__PURE__ */ L({
5722
- ...du,
5731
+ }, du = /* @__PURE__ */ L({
5732
+ ...cu,
5723
5733
  __name: "VJoyTextarea",
5724
5734
  props: {
5725
5735
  autofocus: {
@@ -5811,7 +5821,7 @@ const iu = /* @__PURE__ */ J(lu, [["__scopeId", "data-v-1af4e700"]]), ru = ["ari
5811
5821
  }
5812
5822
  ])
5813
5823
  }, [
5814
- Y(E(Se), {
5824
+ Y(E(xe), {
5815
5825
  for: e.id,
5816
5826
  required: e.required && e.requiredMark,
5817
5827
  "optional-label": e.optionalLabel,
@@ -5824,7 +5834,7 @@ const iu = /* @__PURE__ */ J(lu, [["__scopeId", "data-v-1af4e700"]]), ru = ["ari
5824
5834
  ]),
5825
5835
  _: 3
5826
5836
  }, 8, ["for", "required", "optional-label", "size"]),
5827
- h("div", su, [
5837
+ h("div", ru, [
5828
5838
  h("textarea", oe(v.$attrs, {
5829
5839
  id: e.id,
5830
5840
  ref_key: "textarea",
@@ -5843,9 +5853,9 @@ const iu = /* @__PURE__ */ J(lu, [["__scopeId", "data-v-1af4e700"]]), ru = ["ari
5843
5853
  (...d) => u.onFocus && u.onFocus(...d)),
5844
5854
  onBlur: p[3] || (p[3] = //@ts-ignore
5845
5855
  (...d) => u.onBlur && u.onBlur(...d))
5846
- }), null, 16, uu)
5856
+ }), null, 16, su)
5847
5857
  ]),
5848
- e.minlength || e.maxlength ? (y(), g("div", cu, [
5858
+ e.minlength || e.maxlength ? (y(), g("div", uu, [
5849
5859
  e.minlength ? (y(), g("p", {
5850
5860
  key: 0,
5851
5861
  class: T(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -5863,10 +5873,10 @@ const iu = /* @__PURE__ */ J(lu, [["__scopeId", "data-v-1af4e700"]]), ru = ["ari
5863
5873
  class: T(["joy-textarea-count", { "joy-textarea-count-invalid": c.value }])
5864
5874
  }, F(e.modelValue.length + "/" + e.maxlength), 3)) : C("", !0)
5865
5875
  ])) : C("", !0)
5866
- ], 10, ru));
5876
+ ], 10, iu));
5867
5877
  }
5868
5878
  });
5869
- const yu = /* @__PURE__ */ J(fu, [["__scopeId", "data-v-9b0d7d06"]]), Nn = (e) => (st("data-v-cf79d999"), e = e(), ut(), e), vu = { class: "joy-toggle__wrapper" }, pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], mu = { class: "joy-toggle__content" }, bu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ h("span", { class: "joy-toggle__symbol" }, null, -1)), gu = { class: "joy-toggle__content-label" }, hu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ h("span", { class: "joy-toggle__smile" }, [
5879
+ const fu = /* @__PURE__ */ J(du, [["__scopeId", "data-v-9b0d7d06"]]), Nn = (e) => (st("data-v-cf79d999"), e = e(), ut(), e), yu = { class: "joy-toggle__wrapper" }, vu = ["name", "disabled", "checked", "required", "aria-checked", "value"], pu = { class: "joy-toggle__content" }, mu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ h("span", { class: "joy-toggle__symbol" }, null, -1)), bu = { class: "joy-toggle__content-label" }, gu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ h("span", { class: "joy-toggle__smile" }, [
5870
5880
  /* @__PURE__ */ h("svg", {
5871
5881
  width: "18",
5872
5882
  height: "10",
@@ -5879,7 +5889,7 @@ const yu = /* @__PURE__ */ J(fu, [["__scopeId", "data-v-9b0d7d06"]]), Nn = (e) =
5879
5889
  fill: "currentColor"
5880
5890
  })
5881
5891
  ])
5882
- ], -1)), _u = /* @__PURE__ */ L({
5892
+ ], -1)), hu = /* @__PURE__ */ L({
5883
5893
  __name: "VJoyToggle",
5884
5894
  props: {
5885
5895
  modelValue: {
@@ -5925,7 +5935,7 @@ const yu = /* @__PURE__ */ J(fu, [["__scopeId", "data-v-9b0d7d06"]]), Nn = (e) =
5925
5935
  a.value = !1;
5926
5936
  }
5927
5937
  };
5928
- return (i, l) => (y(), g("div", vu, [
5938
+ return (i, l) => (y(), g("div", yu, [
5929
5939
  h("label", {
5930
5940
  class: T([
5931
5941
  "joy-toggle",
@@ -5953,36 +5963,36 @@ const yu = /* @__PURE__ */ J(fu, [["__scopeId", "data-v-9b0d7d06"]]), Nn = (e) =
5953
5963
  (...s) => o.onFocus && o.onFocus(...s)),
5954
5964
  onBlur: l[2] || (l[2] = //@ts-ignore
5955
5965
  (...s) => o.onBlur && o.onBlur(...s))
5956
- }, null, 40, pu),
5957
- h("p", mu, [
5958
- bu,
5959
- h("span", gu, [
5966
+ }, null, 40, vu),
5967
+ h("p", pu, [
5968
+ mu,
5969
+ h("span", bu, [
5960
5970
  k(i.$slots, "default", {}, () => [
5961
5971
  H(F(e.label), 1)
5962
5972
  ], !0)
5963
5973
  ]),
5964
- hu
5974
+ gu
5965
5975
  ])
5966
5976
  ], 2)
5967
5977
  ]));
5968
5978
  }
5969
5979
  });
5970
- const wu = /* @__PURE__ */ J(_u, [["__scopeId", "data-v-cf79d999"]]), He = Math.min, Be = Math.max, lt = Math.round, ge = (e) => ({
5980
+ const _u = /* @__PURE__ */ J(hu, [["__scopeId", "data-v-cf79d999"]]), He = Math.min, Be = Math.max, lt = Math.round, ge = (e) => ({
5971
5981
  x: e,
5972
5982
  y: e
5973
- }), Su = {
5983
+ }), wu = {
5974
5984
  left: "right",
5975
5985
  right: "left",
5976
5986
  bottom: "top",
5977
5987
  top: "bottom"
5978
- }, ku = {
5988
+ }, Su = {
5979
5989
  start: "end",
5980
5990
  end: "start"
5981
5991
  };
5982
5992
  function St(e, t, n) {
5983
5993
  return Be(e, He(t, n));
5984
5994
  }
5985
- function Ve(e, t) {
5995
+ function Ie(e, t) {
5986
5996
  return typeof e == "function" ? e(t) : e;
5987
5997
  }
5988
5998
  function he(e) {
@@ -6003,20 +6013,20 @@ function Ge(e) {
6003
6013
  function Mt(e) {
6004
6014
  return Rt(Ge(e));
6005
6015
  }
6006
- function xu(e, t, n) {
6016
+ function ku(e, t, n) {
6007
6017
  n === void 0 && (n = !1);
6008
6018
  const a = Ke(e), o = Mt(e), i = Dt(o);
6009
6019
  let l = o === "x" ? a === (n ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
6010
6020
  return t.reference[i] > t.floating[i] && (l = it(l)), [l, it(l)];
6011
6021
  }
6012
- function Cu(e) {
6022
+ function xu(e) {
6013
6023
  const t = it(e);
6014
6024
  return [kt(e), t, kt(t)];
6015
6025
  }
6016
6026
  function kt(e) {
6017
- return e.replace(/start|end/g, (t) => ku[t]);
6027
+ return e.replace(/start|end/g, (t) => Su[t]);
6018
6028
  }
6019
- function ju(e, t, n) {
6029
+ function Cu(e, t, n) {
6020
6030
  const a = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], l = ["bottom", "top"];
6021
6031
  switch (e) {
6022
6032
  case "top":
@@ -6029,15 +6039,15 @@ function ju(e, t, n) {
6029
6039
  return [];
6030
6040
  }
6031
6041
  }
6032
- function $u(e, t, n, a) {
6042
+ function ju(e, t, n, a) {
6033
6043
  const o = Ke(e);
6034
- let i = ju(he(e), n === "start", a);
6044
+ let i = Cu(he(e), n === "start", a);
6035
6045
  return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(kt)))), i;
6036
6046
  }
6037
6047
  function it(e) {
6038
- return e.replace(/left|right|bottom|top/g, (t) => Su[t]);
6048
+ return e.replace(/left|right|bottom|top/g, (t) => wu[t]);
6039
6049
  }
6040
- function Vu(e) {
6050
+ function $u(e) {
6041
6051
  return {
6042
6052
  top: 0,
6043
6053
  right: 0,
@@ -6047,7 +6057,7 @@ function Vu(e) {
6047
6057
  };
6048
6058
  }
6049
6059
  function Jn(e) {
6050
- return typeof e != "number" ? Vu(e) : {
6060
+ return typeof e != "number" ? $u(e) : {
6051
6061
  top: e,
6052
6062
  right: e,
6053
6063
  bottom: e,
@@ -6111,7 +6121,7 @@ function ln(e, t, n) {
6111
6121
  }
6112
6122
  return p;
6113
6123
  }
6114
- const Tu = async (e, t, n) => {
6124
+ const Vu = async (e, t, n) => {
6115
6125
  const {
6116
6126
  placement: a = "bottom",
6117
6127
  strategy: o = "absolute",
@@ -6191,7 +6201,7 @@ async function Fn(e, t) {
6191
6201
  elementContext: u = "floating",
6192
6202
  altBoundary: v = !1,
6193
6203
  padding: p = 0
6194
- } = Ve(t, e), d = Jn(p), m = s[v ? u === "floating" ? "reference" : "floating" : u], _ = rt(await i.getClippingRect({
6204
+ } = Ie(t, e), d = Jn(p), m = s[v ? u === "floating" ? "reference" : "floating" : u], _ = rt(await i.getClippingRect({
6195
6205
  element: (n = await (i.isElement == null ? void 0 : i.isElement(m))) == null || n ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
6196
6206
  boundary: c,
6197
6207
  rootBoundary: f,
@@ -6218,7 +6228,7 @@ async function Fn(e, t) {
6218
6228
  right: (P.right - _.right + d.right) / O.x
6219
6229
  };
6220
6230
  }
6221
- const Iu = (e) => ({
6231
+ const Tu = (e) => ({
6222
6232
  name: "arrow",
6223
6233
  options: e,
6224
6234
  async fn(t) {
@@ -6233,7 +6243,7 @@ const Iu = (e) => ({
6233
6243
  } = t, {
6234
6244
  element: c,
6235
6245
  padding: f = 0
6236
- } = Ve(e, t) || {};
6246
+ } = Ie(e, t) || {};
6237
6247
  if (c == null)
6238
6248
  return {};
6239
6249
  const u = Jn(f), v = {
@@ -6255,7 +6265,7 @@ const Iu = (e) => ({
6255
6265
  reset: z
6256
6266
  };
6257
6267
  }
6258
- }), Eu = function(e) {
6268
+ }), Iu = function(e) {
6259
6269
  return e === void 0 && (e = {}), {
6260
6270
  name: "flip",
6261
6271
  options: e,
@@ -6276,15 +6286,15 @@ const Iu = (e) => ({
6276
6286
  fallbackAxisSideDirection: d = "none",
6277
6287
  flipAlignment: b = !0,
6278
6288
  ...m
6279
- } = Ve(e, t);
6289
+ } = Ie(e, t);
6280
6290
  if ((n = i.arrow) != null && n.alignmentOffset)
6281
6291
  return {};
6282
- const _ = he(o), S = he(s) === s, A = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), O = v || (S || !b ? [it(s)] : Cu(s));
6283
- !v && d !== "none" && O.push(...$u(s, b, d, A));
6292
+ const _ = he(o), S = he(s) === s, A = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), O = v || (S || !b ? [it(s)] : xu(s));
6293
+ !v && d !== "none" && O.push(...ju(s, b, d, A));
6284
6294
  const P = [s, ...O], I = await Fn(t, m), j = [];
6285
6295
  let D = ((a = i.flip) == null ? void 0 : a.overflows) || [];
6286
6296
  if (f && j.push(I[_]), u) {
6287
- const w = xu(o, l, A);
6297
+ const w = ku(o, l, A);
6288
6298
  j.push(I[w[0]], I[w[1]]);
6289
6299
  }
6290
6300
  if (D = [...D, {
@@ -6327,12 +6337,12 @@ const Iu = (e) => ({
6327
6337
  }
6328
6338
  };
6329
6339
  };
6330
- async function Lu(e, t) {
6340
+ async function Eu(e, t) {
6331
6341
  const {
6332
6342
  placement: n,
6333
6343
  platform: a,
6334
6344
  elements: o
6335
- } = e, i = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = he(n), s = Ke(n), r = Ge(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, f = i && r ? -1 : 1, u = Ve(t, e);
6345
+ } = e, i = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = he(n), s = Ke(n), r = Ge(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, f = i && r ? -1 : 1, u = Ie(t, e);
6336
6346
  let {
6337
6347
  mainAxis: v,
6338
6348
  crossAxis: p,
@@ -6355,7 +6365,7 @@ async function Lu(e, t) {
6355
6365
  y: p * f
6356
6366
  };
6357
6367
  }
6358
- const Au = function(e) {
6368
+ const Lu = function(e) {
6359
6369
  return e === void 0 && (e = 0), {
6360
6370
  name: "offset",
6361
6371
  options: e,
@@ -6363,7 +6373,7 @@ const Au = function(e) {
6363
6373
  const {
6364
6374
  x: n,
6365
6375
  y: a
6366
- } = t, o = await Lu(t, e);
6376
+ } = t, o = await Eu(t, e);
6367
6377
  return {
6368
6378
  x: n + o.x,
6369
6379
  y: a + o.y,
@@ -6371,7 +6381,7 @@ const Au = function(e) {
6371
6381
  };
6372
6382
  }
6373
6383
  };
6374
- }, Bu = function(e) {
6384
+ }, Au = function(e) {
6375
6385
  return e === void 0 && (e = {}), {
6376
6386
  name: "shift",
6377
6387
  options: e,
@@ -6396,7 +6406,7 @@ const Au = function(e) {
6396
6406
  }
6397
6407
  },
6398
6408
  ...r
6399
- } = Ve(e, t), c = {
6409
+ } = Ie(e, t), c = {
6400
6410
  x: n,
6401
6411
  y: a
6402
6412
  }, f = await Fn(t, r), u = Ge(he(o)), v = Rt(u);
@@ -6423,7 +6433,7 @@ const Au = function(e) {
6423
6433
  };
6424
6434
  }
6425
6435
  };
6426
- }, Nu = function(e) {
6436
+ }, Bu = function(e) {
6427
6437
  return e === void 0 && (e = {}), {
6428
6438
  options: e,
6429
6439
  fn(t) {
@@ -6437,12 +6447,12 @@ const Au = function(e) {
6437
6447
  offset: s = 0,
6438
6448
  mainAxis: r = !0,
6439
6449
  crossAxis: c = !0
6440
- } = Ve(e, t), f = {
6450
+ } = Ie(e, t), f = {
6441
6451
  x: n,
6442
6452
  y: a
6443
6453
  }, u = Ge(o), v = Rt(u);
6444
6454
  let p = f[v], d = f[u];
6445
- const b = Ve(s, t), m = typeof b == "number" ? {
6455
+ const b = Ie(s, t), m = typeof b == "number" ? {
6446
6456
  mainAxis: b,
6447
6457
  crossAxis: 0
6448
6458
  } : {
@@ -6473,7 +6483,7 @@ function ie(e) {
6473
6483
  var t;
6474
6484
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
6475
6485
  }
6476
- function ke(e) {
6486
+ function Ce(e) {
6477
6487
  var t;
6478
6488
  return (t = (Pn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
6479
6489
  }
@@ -6498,14 +6508,14 @@ function Ye(e) {
6498
6508
  } = ce(e);
6499
6509
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(o);
6500
6510
  }
6501
- function Ju(e) {
6511
+ function Nu(e) {
6502
6512
  return ["table", "td", "th"].includes(_e(e));
6503
6513
  }
6504
6514
  function zt(e) {
6505
6515
  const t = qt(), n = ce(e);
6506
6516
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((a) => (n.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (n.contain || "").includes(a));
6507
6517
  }
6508
- function Fu(e) {
6518
+ function Ju(e) {
6509
6519
  let t = Je(e);
6510
6520
  for (; ye(t) && !yt(t); ) {
6511
6521
  if (zt(t))
@@ -6540,7 +6550,7 @@ function Je(e) {
6540
6550
  e.assignedSlot || // DOM Element detected.
6541
6551
  e.parentNode || // ShadowRoot detected.
6542
6552
  rn(e) && e.host || // Fallback.
6543
- ke(e)
6553
+ Ce(e)
6544
6554
  );
6545
6555
  return rn(t) ? t.host : t;
6546
6556
  }
@@ -6582,15 +6592,15 @@ function Ne(e) {
6582
6592
  y: s
6583
6593
  };
6584
6594
  }
6585
- const Pu = /* @__PURE__ */ ge(0);
6595
+ const Fu = /* @__PURE__ */ ge(0);
6586
6596
  function Mn(e) {
6587
6597
  const t = ie(e);
6588
- return !qt() || !t.visualViewport ? Pu : {
6598
+ return !qt() || !t.visualViewport ? Fu : {
6589
6599
  x: t.visualViewport.offsetLeft,
6590
6600
  y: t.visualViewport.offsetTop
6591
6601
  };
6592
6602
  }
6593
- function Ou(e, t, n) {
6603
+ function Pu(e, t, n) {
6594
6604
  return t === void 0 && (t = !1), !n || t && n !== ie(e) ? !1 : t;
6595
6605
  }
6596
6606
  function We(e, t, n, a) {
@@ -6598,7 +6608,7 @@ function We(e, t, n, a) {
6598
6608
  const o = e.getBoundingClientRect(), i = Dn(e);
6599
6609
  let l = ge(1);
6600
6610
  t && (a ? ve(a) && (l = Ne(a)) : l = Ne(e));
6601
- const s = Ou(i, n, a) ? Mn(i) : ge(0);
6611
+ const s = Pu(i, n, a) ? Mn(i) : ge(0);
6602
6612
  let r = (o.left + s.x) / l.x, c = (o.top + s.y) / l.y, f = o.width / l.x, u = o.height / l.y;
6603
6613
  if (i) {
6604
6614
  const v = ie(i), p = a && ve(a) ? ie(a) : a;
@@ -6615,13 +6625,13 @@ function We(e, t, n, a) {
6615
6625
  y: c
6616
6626
  });
6617
6627
  }
6618
- function Ru(e) {
6628
+ function Ou(e) {
6619
6629
  let {
6620
6630
  rect: t,
6621
6631
  offsetParent: n,
6622
6632
  strategy: a
6623
6633
  } = e;
6624
- const o = ye(n), i = ke(n);
6634
+ const o = ye(n), i = Ce(n);
6625
6635
  if (n === i)
6626
6636
  return t;
6627
6637
  let l = {
@@ -6640,14 +6650,14 @@ function Ru(e) {
6640
6650
  y: t.y * s.y - l.scrollTop * s.y + r.y
6641
6651
  };
6642
6652
  }
6643
- function Du(e) {
6653
+ function Ru(e) {
6644
6654
  return Array.from(e.getClientRects());
6645
6655
  }
6646
6656
  function zn(e) {
6647
- return We(ke(e)).left + vt(e).scrollLeft;
6657
+ return We(Ce(e)).left + vt(e).scrollLeft;
6648
6658
  }
6649
- function Mu(e) {
6650
- const t = ke(e), n = vt(e), a = e.ownerDocument.body, o = Be(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), i = Be(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6659
+ function Du(e) {
6660
+ const t = Ce(e), n = vt(e), a = e.ownerDocument.body, o = Be(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), i = Be(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6651
6661
  let l = -n.scrollLeft + zn(e);
6652
6662
  const s = -n.scrollTop;
6653
6663
  return ce(a).direction === "rtl" && (l += Be(t.clientWidth, a.clientWidth) - o), {
@@ -6657,8 +6667,8 @@ function Mu(e) {
6657
6667
  y: s
6658
6668
  };
6659
6669
  }
6660
- function zu(e, t) {
6661
- const n = ie(e), a = ke(e), o = n.visualViewport;
6670
+ function Mu(e, t) {
6671
+ const n = ie(e), a = Ce(e), o = n.visualViewport;
6662
6672
  let i = a.clientWidth, l = a.clientHeight, s = 0, r = 0;
6663
6673
  if (o) {
6664
6674
  i = o.width, l = o.height;
@@ -6672,7 +6682,7 @@ function zu(e, t) {
6672
6682
  y: r
6673
6683
  };
6674
6684
  }
6675
- function qu(e, t) {
6685
+ function zu(e, t) {
6676
6686
  const n = We(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, i = ye(e) ? Ne(e) : ge(1), l = e.clientWidth * i.x, s = e.clientHeight * i.y, r = o * i.x, c = a * i.y;
6677
6687
  return {
6678
6688
  width: l,
@@ -6684,11 +6694,11 @@ function qu(e, t) {
6684
6694
  function sn(e, t, n) {
6685
6695
  let a;
6686
6696
  if (t === "viewport")
6687
- a = zu(e, n);
6697
+ a = Mu(e, n);
6688
6698
  else if (t === "document")
6689
- a = Mu(ke(e));
6699
+ a = Du(Ce(e));
6690
6700
  else if (ve(t))
6691
- a = qu(t, n);
6701
+ a = zu(t, n);
6692
6702
  else {
6693
6703
  const o = Mn(e);
6694
6704
  a = {
@@ -6703,7 +6713,7 @@ function qn(e, t) {
6703
6713
  const n = Je(e);
6704
6714
  return n === t || !ve(n) || yt(n) ? !1 : ce(n).position === "fixed" || qn(n, t);
6705
6715
  }
6706
- function Hu(e, t) {
6716
+ function qu(e, t) {
6707
6717
  const n = t.get(e);
6708
6718
  if (n)
6709
6719
  return n;
@@ -6716,14 +6726,14 @@ function Hu(e, t) {
6716
6726
  }
6717
6727
  return t.set(e, a), a;
6718
6728
  }
6719
- function Wu(e) {
6729
+ function Hu(e) {
6720
6730
  let {
6721
6731
  element: t,
6722
6732
  boundary: n,
6723
6733
  rootBoundary: a,
6724
6734
  strategy: o
6725
6735
  } = e;
6726
- const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], s = l[0], r = l.reduce((c, f) => {
6736
+ const l = [...n === "clippingAncestors" ? qu(t, this._c) : [].concat(n), a], s = l[0], r = l.reduce((c, f) => {
6727
6737
  const u = sn(t, f, o);
6728
6738
  return c.top = Be(u.top, c.top), c.right = He(u.right, c.right), c.bottom = He(u.bottom, c.bottom), c.left = Be(u.left, c.left), c;
6729
6739
  }, sn(t, s, o));
@@ -6734,11 +6744,11 @@ function Wu(e) {
6734
6744
  y: r.top
6735
6745
  };
6736
6746
  }
6737
- function Uu(e) {
6747
+ function Wu(e) {
6738
6748
  return Rn(e);
6739
6749
  }
6740
- function Ku(e, t, n) {
6741
- const a = ye(t), o = ke(t), i = n === "fixed", l = We(e, !0, i, t);
6750
+ function Uu(e, t, n) {
6751
+ const a = ye(t), o = Ce(t), i = n === "fixed", l = We(e, !0, i, t);
6742
6752
  let s = {
6743
6753
  scrollLeft: 0,
6744
6754
  scrollTop: 0
@@ -6765,11 +6775,11 @@ function Hn(e, t) {
6765
6775
  if (!ye(e))
6766
6776
  return n;
6767
6777
  let a = un(e, t);
6768
- for (; a && Ju(a) && ce(a).position === "static"; )
6778
+ for (; a && Nu(a) && ce(a).position === "static"; )
6769
6779
  a = un(a, t);
6770
- return a && (_e(a) === "html" || _e(a) === "body" && ce(a).position === "static" && !zt(a)) ? n : a || Fu(e) || n;
6780
+ return a && (_e(a) === "html" || _e(a) === "body" && ce(a).position === "static" && !zt(a)) ? n : a || Ju(e) || n;
6771
6781
  }
6772
- const Gu = async function(e) {
6782
+ const Ku = async function(e) {
6773
6783
  let {
6774
6784
  reference: t,
6775
6785
  floating: n,
@@ -6777,7 +6787,7 @@ const Gu = async function(e) {
6777
6787
  } = e;
6778
6788
  const o = this.getOffsetParent || Hn, i = this.getDimensions;
6779
6789
  return {
6780
- reference: Ku(t, await o(n), a),
6790
+ reference: Uu(t, await o(n), a),
6781
6791
  floating: {
6782
6792
  x: 0,
6783
6793
  y: 0,
@@ -6785,29 +6795,29 @@ const Gu = async function(e) {
6785
6795
  }
6786
6796
  };
6787
6797
  };
6788
- function Yu(e) {
6798
+ function Gu(e) {
6789
6799
  return ce(e).direction === "rtl";
6790
6800
  }
6791
- const Zu = {
6792
- convertOffsetParentRelativeRectToViewportRelativeRect: Ru,
6793
- getDocumentElement: ke,
6794
- getClippingRect: Wu,
6801
+ const Yu = {
6802
+ convertOffsetParentRelativeRectToViewportRelativeRect: Ou,
6803
+ getDocumentElement: Ce,
6804
+ getClippingRect: Hu,
6795
6805
  getOffsetParent: Hn,
6796
- getElementRects: Gu,
6797
- getClientRects: Du,
6798
- getDimensions: Uu,
6806
+ getElementRects: Ku,
6807
+ getClientRects: Ru,
6808
+ getDimensions: Wu,
6799
6809
  getScale: Ne,
6800
6810
  isElement: ve,
6801
- isRTL: Yu
6802
- }, Xu = (e, t, n) => {
6811
+ isRTL: Gu
6812
+ }, Zu = (e, t, n) => {
6803
6813
  const a = /* @__PURE__ */ new Map(), o = {
6804
- platform: Zu,
6814
+ platform: Yu,
6805
6815
  ...n
6806
6816
  }, i = {
6807
6817
  ...o.platform,
6808
6818
  _c: a
6809
6819
  };
6810
- return Tu(e, t, {
6820
+ return Vu(e, t, {
6811
6821
  ...o,
6812
6822
  platform: i
6813
6823
  });
@@ -6816,13 +6826,13 @@ function Ct(e) {
6816
6826
  var t;
6817
6827
  return (t = e == null ? void 0 : e.$el) != null ? t : e;
6818
6828
  }
6819
- function Qu(e) {
6829
+ function Xu(e) {
6820
6830
  return {
6821
6831
  name: "arrow",
6822
6832
  options: e,
6823
6833
  fn(t) {
6824
6834
  const n = Ct(E(e.element));
6825
- return n == null ? {} : Iu({
6835
+ return n == null ? {} : Tu({
6826
6836
  element: n,
6827
6837
  padding: e.padding
6828
6838
  }).fn(t);
@@ -6836,7 +6846,7 @@ function cn(e, t) {
6836
6846
  const n = Wn(e);
6837
6847
  return Math.round(t * n) / n;
6838
6848
  }
6839
- function ec(e, t, n) {
6849
+ function Qu(e, t, n) {
6840
6850
  n === void 0 && (n = {});
6841
6851
  const a = n.whileElementsMounted, o = V(() => {
6842
6852
  var j;
@@ -6873,7 +6883,7 @@ function ec(e, t, n) {
6873
6883
  });
6874
6884
  let S;
6875
6885
  function A() {
6876
- c.value == null || f.value == null || Xu(c.value, f.value, {
6886
+ c.value == null || f.value == null || Zu(c.value, f.value, {
6877
6887
  middleware: i.value,
6878
6888
  placement: l.value,
6879
6889
  strategy: s.value
@@ -6914,7 +6924,7 @@ function ec(e, t, n) {
6914
6924
  update: A
6915
6925
  };
6916
6926
  }
6917
- const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6927
+ const ec = { class: "joy-tooltip__content__inner" }, tc = /* @__PURE__ */ L({
6918
6928
  __name: "VJoyTooltip",
6919
6929
  props: {
6920
6930
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -6953,18 +6963,18 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6953
6963
  },
6954
6964
  setup(e, { expose: t }) {
6955
6965
  const n = e, a = $(!1), o = $(null), i = $(null), l = $(), s = $(
6956
- ec(o, i, {
6966
+ Qu(o, i, {
6957
6967
  placement: n.placement,
6958
6968
  transform: !1,
6959
6969
  middleware: [
6960
- Au(10),
6961
- Bu({
6962
- limiter: Nu()
6970
+ Lu(10),
6971
+ Au({
6972
+ limiter: Bu()
6963
6973
  }),
6964
- Eu({
6974
+ Iu({
6965
6975
  fallbackPlacements: ["bottom", "top", "left", "right"]
6966
6976
  }),
6967
- Qu({ element: l, padding: 0 })
6977
+ Xu({ element: l, padding: 0 })
6968
6978
  ]
6969
6979
  })
6970
6980
  ), r = ne(), c = V(() => r["tooltip-content"] || n.text);
@@ -7038,7 +7048,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
7038
7048
  ]),
7039
7049
  style: ue({ ...(_ = s.value) == null ? void 0 : _.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7040
7050
  }, [
7041
- h("div", tc, [
7051
+ h("div", ec, [
7042
7052
  k(b.$slots, "tooltip-content", {}, () => [
7043
7053
  H(F(e.text), 1)
7044
7054
  ], !0)
@@ -7058,7 +7068,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
7058
7068
  }, 512));
7059
7069
  }
7060
7070
  });
7061
- const ac = /* @__PURE__ */ J(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { class: "joy-user-card__picture" }, lc = { class: "joy-user-card__informations" }, ic = { class: "joy-user-card__title" }, rc = { class: "joy-user-card__subtitle" }, sc = /* @__PURE__ */ L({
7071
+ const nc = /* @__PURE__ */ J(tc, [["__scopeId", "data-v-9fdad75d"]]), ac = { class: "joy-user-card__picture" }, oc = { class: "joy-user-card__informations" }, lc = { class: "joy-user-card__title" }, ic = { class: "joy-user-card__subtitle" }, rc = /* @__PURE__ */ L({
7062
7072
  __name: "VJoyUserCard",
7063
7073
  props: {
7064
7074
  /**
@@ -7090,7 +7100,7 @@ const ac = /* @__PURE__ */ J(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
7090
7100
  title: e.fullName
7091
7101
  }, t.$attrs), {
7092
7102
  default: R(() => [
7093
- h("div", oc, [
7103
+ h("div", ac, [
7094
7104
  k(t.$slots, "user-card-avatar", {}, () => [
7095
7105
  Y(E(vn), {
7096
7106
  "photo-url": e.photoUrl,
@@ -7098,13 +7108,13 @@ const ac = /* @__PURE__ */ J(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
7098
7108
  }, null, 8, ["photo-url", "full-name"])
7099
7109
  ], !0)
7100
7110
  ]),
7101
- h("div", lc, [
7102
- h("p", ic, [
7111
+ h("div", oc, [
7112
+ h("p", lc, [
7103
7113
  k(t.$slots, "user-card-title", {}, () => [
7104
7114
  H(F(e.fullName), 1)
7105
7115
  ], !0)
7106
7116
  ]),
7107
- h("p", rc, [
7117
+ h("p", ic, [
7108
7118
  k(t.$slots, "user-card-subtitle", {}, () => [
7109
7119
  H(F(e.subTitle), 1)
7110
7120
  ], !0)
@@ -7124,7 +7134,7 @@ const ac = /* @__PURE__ */ J(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
7124
7134
  }, 16, ["href", "title"]));
7125
7135
  }
7126
7136
  });
7127
- const uc = /* @__PURE__ */ J(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
7137
+ const sc = /* @__PURE__ */ J(rc, [["__scopeId", "data-v-2a8e1076"]]), uc = /* @__PURE__ */ L({
7128
7138
  __name: "VJoyWrapper",
7129
7139
  props: {
7130
7140
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -7185,7 +7195,7 @@ const uc = /* @__PURE__ */ J(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @_
7185
7195
  ], 2));
7186
7196
  }
7187
7197
  });
7188
- const Ht = /* @__PURE__ */ J(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7198
+ const Ht = /* @__PURE__ */ J(uc, [["__scopeId", "data-v-68d89412"]]), cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7189
7199
  __proto__: null,
7190
7200
  VJoyAvailability: sa,
7191
7201
  VJoyAvatar: vn,
@@ -7220,41 +7230,41 @@ const Ht = /* @__PURE__ */ J(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
7220
7230
  VJoyIndicator: Tn,
7221
7231
  VJoyIndicators: Di,
7222
7232
  VJoyInput: Yi,
7223
- VJoyLabel: Se,
7233
+ VJoyLabel: xe,
7224
7234
  VJoyLink: er,
7225
7235
  VJoyMenu: lr,
7226
7236
  VJoyMultiCheckbox: ur,
7227
- VJoyPagination: mr,
7228
- VJoyPanel: Cr,
7229
- VJoyPanelSection: Ir,
7230
- VJoyProgressBar: Ar,
7231
- VJoyRadio: Or,
7232
- VJoyRadioGroup: Mr,
7237
+ VJoyPagination: pr,
7238
+ VJoyPanel: xr,
7239
+ VJoyPanelSection: Tr,
7240
+ VJoyProgressBar: Lr,
7241
+ VJoyRadio: Pr,
7242
+ VJoyRadioGroup: Dr,
7233
7243
  VJoyRatingStars: In,
7234
7244
  VJoyScreenLoader: Pt,
7235
- VJoySelect: es,
7245
+ VJoySelect: Qr,
7236
7246
  VJoySelectableItem: En,
7237
- VJoySelectableItemGroup: rs,
7238
- VJoySeparator: us,
7247
+ VJoySelectableItemGroup: is,
7248
+ VJoySeparator: ss,
7239
7249
  VJoySnackbar: Ln,
7240
7250
  VJoySpinner: Et,
7241
7251
  VJoyStep: An,
7242
- VJoyStepper: ws,
7243
- VJoyTab: xs,
7244
- VJoyTabs: Ls,
7252
+ VJoyStepper: _s,
7253
+ VJoyTab: ks,
7254
+ VJoyTabs: Es,
7245
7255
  VJoyTag: Ot,
7246
- VJoyTagsInput: Rs,
7247
- VJoyTagsList: Ms,
7248
- VJoyTemplate: ou,
7256
+ VJoyTagsInput: Os,
7257
+ VJoyTagsList: Ds,
7258
+ VJoyTemplate: au,
7249
7259
  VJoyTemplateShape: Bn,
7250
- VJoyText: iu,
7251
- VJoyTextarea: yu,
7252
- VJoyToggle: wu,
7253
- VJoyTooltip: ac,
7254
- VJoyUserCard: uc,
7260
+ VJoyText: lu,
7261
+ VJoyTextarea: fu,
7262
+ VJoyToggle: _u,
7263
+ VJoyTooltip: nc,
7264
+ VJoyUserCard: sc,
7255
7265
  VJoyWrapper: Ht
7256
7266
  }, Symbol.toStringTag, { value: "Module" }));
7257
- function fc(e) {
7267
+ function dc(e) {
7258
7268
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
7259
7269
  var a = e.get(t);
7260
7270
  a ? a.push(n) : e.set(t, [n]);
@@ -7270,15 +7280,15 @@ function fc(e) {
7270
7280
  });
7271
7281
  } };
7272
7282
  }
7273
- function yc() {
7274
- return fc();
7283
+ function fc() {
7284
+ return dc();
7275
7285
  }
7276
- const jt = "joy-snackbar__container", vc = "joy-snackbar__shell--";
7286
+ const jt = "joy-snackbar__container", yc = "joy-snackbar__shell--";
7277
7287
  let et = 0, $t = [];
7278
- function pc() {
7288
+ function vc() {
7279
7289
  et = 0, $t = [];
7280
7290
  }
7281
- function mc(e = { appendTo: "body", defaultMountSelector: jt }) {
7291
+ function pc(e = { appendTo: "body", defaultMountSelector: jt }) {
7282
7292
  var a;
7283
7293
  const t = document.createElement("div");
7284
7294
  t.id = e.defaultMountSelector;
@@ -7294,11 +7304,11 @@ function mc(e = { appendTo: "body", defaultMountSelector: jt }) {
7294
7304
  }
7295
7305
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (a = document.body.querySelector(e.appendTo)) == null || a.appendChild(t));
7296
7306
  }
7297
- function hc(e) {
7307
+ function gc(e) {
7298
7308
  var i, l;
7299
- e.disableStacking && ($t.forEach((s) => s.unmount()), pc(), document.getElementById(jt).innerHTML = ""), et++;
7309
+ e.disableStacking && ($t.forEach((s) => s.unmount()), vc(), document.getElementById(jt).innerHTML = ""), et++;
7300
7310
  let t, n;
7301
- const a = yc();
7311
+ const a = fc();
7302
7312
  t = oa(
7303
7313
  Ln,
7304
7314
  Object.assign(e.props, {
@@ -7307,7 +7317,7 @@ function hc(e) {
7307
7317
  })
7308
7318
  );
7309
7319
  const o = document.createElement("div");
7310
- return o.classList.add("joy-snackbar__shell"), n = `${vc}${et}`, o.id = n, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(o) : (l = document.getElementById(jt)) == null || l.appendChild(o), t.use(bc).mount("#" + n), $t.push(t), a.on("snackbar:hide", () => {
7320
+ return o.classList.add("joy-snackbar__shell"), n = `${yc}${et}`, o.id = n, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(o) : (l = document.getElementById(jt)) == null || l.appendChild(o), t.use(mc).mount("#" + n), $t.push(t), a.on("snackbar:hide", () => {
7311
7321
  var s;
7312
7322
  t.unmount(), (s = document.getElementById(n)) == null || s.remove();
7313
7323
  }), {
@@ -7315,15 +7325,15 @@ function hc(e) {
7315
7325
  snackbarApp: t
7316
7326
  };
7317
7327
  }
7318
- const bc = {
7328
+ const mc = {
7319
7329
  install: (e, t = { env: "client" }) => {
7320
- Object.entries(dc).forEach(([n, a]) => {
7330
+ Object.entries(cc).forEach(([n, a]) => {
7321
7331
  e.component(n, a);
7322
- }), t.env === "client" && mc(), e.directive("joy-ripple", la);
7332
+ }), t.env === "client" && pc(), e.directive("joy-ripple", la);
7323
7333
  }
7324
7334
  };
7325
7335
  export {
7326
- bc as JoyVuePlugin,
7336
+ mc as JoyVuePlugin,
7327
7337
  sa as VJoyAvailability,
7328
7338
  vn as VJoyAvatar,
7329
7339
  ha as VJoyAvatarsList,
@@ -7357,41 +7367,41 @@ export {
7357
7367
  Tn as VJoyIndicator,
7358
7368
  Di as VJoyIndicators,
7359
7369
  Yi as VJoyInput,
7360
- Se as VJoyLabel,
7370
+ xe as VJoyLabel,
7361
7371
  er as VJoyLink,
7362
7372
  lr as VJoyMenu,
7363
7373
  ur as VJoyMultiCheckbox,
7364
- mr as VJoyPagination,
7365
- Cr as VJoyPanel,
7366
- Ir as VJoyPanelSection,
7367
- Ar as VJoyProgressBar,
7368
- Or as VJoyRadio,
7369
- Mr as VJoyRadioGroup,
7374
+ pr as VJoyPagination,
7375
+ xr as VJoyPanel,
7376
+ Tr as VJoyPanelSection,
7377
+ Lr as VJoyProgressBar,
7378
+ Pr as VJoyRadio,
7379
+ Dr as VJoyRadioGroup,
7370
7380
  In as VJoyRatingStars,
7371
7381
  Pt as VJoyScreenLoader,
7372
- es as VJoySelect,
7382
+ Qr as VJoySelect,
7373
7383
  En as VJoySelectableItem,
7374
- rs as VJoySelectableItemGroup,
7375
- us as VJoySeparator,
7384
+ is as VJoySelectableItemGroup,
7385
+ ss as VJoySeparator,
7376
7386
  Ln as VJoySnackbar,
7377
7387
  Et as VJoySpinner,
7378
7388
  An as VJoyStep,
7379
- ws as VJoyStepper,
7380
- xs as VJoyTab,
7381
- Ls as VJoyTabs,
7389
+ _s as VJoyStepper,
7390
+ ks as VJoyTab,
7391
+ Es as VJoyTabs,
7382
7392
  Ot as VJoyTag,
7383
- Rs as VJoyTagsInput,
7384
- Ms as VJoyTagsList,
7385
- ou as VJoyTemplate,
7393
+ Os as VJoyTagsInput,
7394
+ Ds as VJoyTagsList,
7395
+ au as VJoyTemplate,
7386
7396
  Bn as VJoyTemplateShape,
7387
- iu as VJoyText,
7388
- yu as VJoyTextarea,
7389
- wu as VJoyToggle,
7390
- ac as VJoyTooltip,
7391
- uc as VJoyUserCard,
7397
+ lu as VJoyText,
7398
+ fu as VJoyTextarea,
7399
+ _u as VJoyToggle,
7400
+ nc as VJoyTooltip,
7401
+ sc as VJoyUserCard,
7392
7402
  Ht as VJoyWrapper,
7393
- mc as createAllSnackbarsContainer,
7394
- hc as pushVJoySnackbar,
7395
- pc as resetCount,
7403
+ pc as createAllSnackbarsContainer,
7404
+ gc as pushVJoySnackbar,
7405
+ vc as resetCount,
7396
7406
  $t as snackbarMountedInstances
7397
7407
  };