@maltjoy/core-vue 3.19.7 → 3.19.8

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,18 +1,18 @@
1
- import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as $, createElementVNode as b, Fragment as K, createTextVNode as z, toDisplayString as F, createCommentVNode as x, createBlock as B, resolveDynamicComponent as oe, mergeProps as te, withCtx as M, pushScopeId as ot, popScopeId as lt, renderSlot as k, unref as T, renderList as Y, useAttrs as Ae, resolveDirective as Qn, withDirectives as Xn, getCurrentScope as kt, onScopeDispose as xt, ref as C, getCurrentInstance as ea, onMounted as le, nextTick as Re, watch as Q, h as ta, Teleport as rt, createVNode as U, useSlots as X, onBeforeUnmount as Ne, Transition as vn, withKeys as Ct, normalizeStyle as ce, normalizeProps as ze, guardReactiveProps as qe, provide as jt, createSlots as pn, inject as it, createStaticVNode as mn, onBeforeMount as na, onUnmounted as aa, withModifiers as oa, shallowRef as la, shallowReadonly as $e, createApp as ra } from "vue";
1
+ import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as $, createElementVNode as b, Fragment as K, createTextVNode as z, toDisplayString as F, createCommentVNode as x, createBlock as B, resolveDynamicComponent as oe, mergeProps as te, withCtx as M, pushScopeId as ot, popScopeId as lt, renderSlot as k, unref as T, renderList as Y, useAttrs as Ae, resolveDirective as Qn, withDirectives as Xn, getCurrentScope as kt, onScopeDispose as xt, ref as C, getCurrentInstance as ea, onMounted as le, nextTick as Re, watch as Q, h as ta, Teleport as it, createVNode as U, useSlots as X, onBeforeUnmount as Ne, Transition as vn, withKeys as Ct, normalizeStyle as ce, normalizeProps as ze, guardReactiveProps as qe, provide as jt, createSlots as pn, inject as rt, createStaticVNode as mn, onBeforeMount as na, onUnmounted as aa, withModifiers as oa, shallowRef as la, shallowReadonly as $e, createApp as ia } from "vue";
2
2
  function Mt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
5
5
  return;
6
6
  const n = t.getBoundingClientRect(), a = "joy-ripple-effect";
7
7
  let o;
8
- const r = t.querySelector(`.${a}`);
9
- r || (o = document.createElement("span"), o.classList.add(a));
10
- const l = r || o;
8
+ const i = t.querySelector(`.${a}`);
9
+ i || (o = document.createElement("span"), o.classList.add(a));
10
+ const l = i || o;
11
11
  t.prepend(l);
12
- const i = Math.sqrt(Math.pow(n.width, 2) + Math.pow(n.height, 2)) * 2;
13
- l.style.width = l.style.height = `${i}px`, l.style.left = `${e.clientX - n.left}px`, l.style.top = `${e.clientY - n.top}px`;
12
+ const r = Math.sqrt(Math.pow(n.width, 2) + Math.pow(n.height, 2)) * 2;
13
+ l.style.width = l.style.height = `${r}px`, l.style.left = `${e.clientX - n.left}px`, l.style.top = `${e.clientY - n.top}px`;
14
14
  }
15
- const ia = {
15
+ const ra = {
16
16
  mounted: (e) => {
17
17
  e.addEventListener("click", Mt);
18
18
  },
@@ -145,15 +145,15 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
145
145
  },
146
146
  emits: ["click"],
147
147
  setup(e, { expose: t, emit: n }) {
148
- const a = e, o = V(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), r = V(() => a.link ? {
148
+ const a = e, o = V(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), i = V(() => a.link ? {
149
149
  type: "button"
150
150
  } : null), l = V(() => ({
151
151
  "joy-avatar": !0,
152
152
  "joy-avatar__link": a.link,
153
- "joy-avatar__placeholder": i.value,
153
+ "joy-avatar__placeholder": r.value,
154
154
  [`joy-avatar__${a.size}`]: !0,
155
155
  [`joy-avatar__${a.color}`]: !0
156
- })), i = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), u = V(() => {
156
+ })), r = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), u = V(() => {
157
157
  function c(p) {
158
158
  return p.replace(/[';,:()]/g, "").charAt(0);
159
159
  }
@@ -166,15 +166,15 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
166
166
  n("click");
167
167
  }
168
168
  return t({
169
- isAnonymous: i,
169
+ isAnonymous: r,
170
170
  initials: u
171
171
  }), (c, f) => (y(), g("div", ya, [
172
- (y(), B(oe(e.link ? "button" : "div"), te(r.value, {
172
+ (y(), B(oe(e.link ? "button" : "div"), te(i.value, {
173
173
  class: [l.value],
174
174
  onClick: d
175
175
  }), {
176
176
  default: M(() => [
177
- i.value ? (y(), B(W, {
177
+ r.value ? (y(), B(W, {
178
178
  key: 0,
179
179
  name: "user-photo",
180
180
  color: "white",
@@ -376,7 +376,7 @@ const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-
376
376
  }
377
377
  });
378
378
  return (a, o) => (y(), g("span", Ca, [
379
- e.type === T(Z).SUPER_MALTER ? (y(!0), g(K, { key: 0 }, Y(e.superMalterLevel, (r, l) => (y(), g("svg", {
379
+ e.type === T(Z).SUPER_MALTER ? (y(!0), g(K, { key: 0 }, Y(e.superMalterLevel, (i, l) => (y(), g("svg", {
380
380
  key: l,
381
381
  class: "joy-badge-level__supermalter",
382
382
  xmlns: "http://www.w3.org/2000/svg",
@@ -500,7 +500,7 @@ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
500
500
  }
501
501
  },
502
502
  setup(e, { expose: t }) {
503
- const n = e, a = Ae(), o = "joy-button--" + _e(), r = V(() => {
503
+ const n = e, a = Ae(), o = "joy-button--" + _e(), i = V(() => {
504
504
  switch (n.size) {
505
505
  case "xxsmall":
506
506
  return "xxsmall";
@@ -512,7 +512,7 @@ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
512
512
  return "small";
513
513
  }
514
514
  }), l = V(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
515
- return t({ randomId: o }), (i, u) => {
515
+ return t({ randomId: o }), (r, u) => {
516
516
  const d = Qn("joy-ripple");
517
517
  return Xn((y(), B(oe(T(a).href ? "a" : "button"), {
518
518
  disabled: e.loading || T(a).disabled,
@@ -526,14 +526,14 @@ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
526
526
  "joy-button_loading": e.loading
527
527
  }
528
528
  ]),
529
- "aria-labelledby": (i.$slots.default || e.label) && o
529
+ "aria-labelledby": (r.$slots.default || e.label) && o
530
530
  }, {
531
531
  default: M(() => [
532
532
  e.icon && e.iconPosition === "left" ? (y(), B(W, {
533
533
  key: 0,
534
534
  class: "joy-button_icon joy-button_icon--left",
535
535
  name: e.icon,
536
- size: r.value,
536
+ size: i.value,
537
537
  "aria-hidden": "true"
538
538
  }, null, 8, ["name", "size"])) : x("", !0),
539
539
  e.loading ? (y(), B($t, {
@@ -544,7 +544,7 @@ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
544
544
  id: o,
545
545
  class: "joy-button--slot"
546
546
  }, [
547
- k(i.$slots, "default", {}, () => [
547
+ k(r.$slots, "default", {}, () => [
548
548
  z(F(e.label), 1)
549
549
  ], !0)
550
550
  ]),
@@ -552,7 +552,7 @@ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
552
552
  key: 2,
553
553
  class: "joy-button_icon joy-button_icon--right",
554
554
  name: e.icon,
555
- size: r.value,
555
+ size: i.value,
556
556
  "aria-hidden": "true"
557
557
  }, null, 8, ["name", "size"])) : x("", !0)
558
558
  ]),
@@ -593,22 +593,22 @@ function yt(...e) {
593
593
  if (hn(e[0]) || Array.isArray(e[0]) ? ([n, a, o] = e, t = It) : [t, n, a, o] = e, !t)
594
594
  return Tt;
595
595
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
596
- const r = [], l = () => {
597
- r.forEach((c) => c()), r.length = 0;
598
- }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [Te(t), Ee(o)], ([c, f]) => {
599
- l(), c && r.push(...n.flatMap((p) => a.map((s) => i(c, p, s, f))));
596
+ const i = [], l = () => {
597
+ i.forEach((c) => c()), i.length = 0;
598
+ }, r = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [Te(t), Ee(o)], ([c, f]) => {
599
+ l(), c && i.push(...n.flatMap((p) => a.map((s) => r(c, p, s, f))));
600
600
  }, { immediate: !0, flush: "post" }), d = () => {
601
601
  u(), l();
602
602
  };
603
603
  return st(d), d;
604
604
  }
605
605
  let qt = !1;
606
- function ro(e, t, n = {}) {
607
- const { window: a = It, ignore: o = [], capture: r = !0, detectIframe: l = !1 } = n;
606
+ function io(e, t, n = {}) {
607
+ const { window: a = It, ignore: o = [], capture: i = !0, detectIframe: l = !1 } = n;
608
608
  if (!a)
609
609
  return;
610
610
  pt && !qt && (qt = !0, Array.from(a.document.body.children).forEach((p) => p.addEventListener("click", Tt)));
611
- let i = !0;
611
+ let r = !0;
612
612
  const u = (p) => o.some((s) => {
613
613
  if (typeof s == "string")
614
614
  return Array.from(a.document.querySelectorAll(s)).some((m) => m === p.target || p.composedPath().includes(m));
@@ -620,16 +620,16 @@ function ro(e, t, n = {}) {
620
620
  yt(a, "click", (p) => {
621
621
  const s = Te(e);
622
622
  if (!(!s || s === p.target || p.composedPath().includes(s))) {
623
- if (p.detail === 0 && (i = !u(p)), !i) {
624
- i = !0;
623
+ if (p.detail === 0 && (r = !u(p)), !r) {
624
+ r = !0;
625
625
  return;
626
626
  }
627
627
  t(p);
628
628
  }
629
- }, { passive: !0, capture: r }),
629
+ }, { passive: !0, capture: i }),
630
630
  yt(a, "pointerdown", (p) => {
631
631
  const s = Te(e);
632
- s && (i = !p.composedPath().includes(s) && !u(p));
632
+ s && (r = !p.composedPath().includes(s) && !u(p));
633
633
  }, { passive: !0 }),
634
634
  l && yt(a, "blur", (p) => {
635
635
  var s;
@@ -639,7 +639,7 @@ function ro(e, t, n = {}) {
639
639
  ].filter(Boolean);
640
640
  return () => c.forEach((p) => p());
641
641
  }
642
- function io(e, t = !1) {
642
+ function ro(e, t = !1) {
643
643
  const n = C(), a = () => n.value = !!e();
644
644
  return a(), lo(a, t), n;
645
645
  }
@@ -655,17 +655,17 @@ var Ut = Object.getOwnPropertySymbols, so = Object.prototype.hasOwnProperty, uo
655
655
  return n;
656
656
  };
657
657
  function fo(e, t, n = {}) {
658
- const a = n, { window: o = It } = a, r = co(a, ["window"]);
658
+ const a = n, { window: o = It } = a, i = co(a, ["window"]);
659
659
  let l;
660
- const i = io(() => o && "ResizeObserver" in o), u = () => {
660
+ const r = ro(() => o && "ResizeObserver" in o), u = () => {
661
661
  l && (l.disconnect(), l = void 0);
662
662
  }, d = Q(() => Te(e), (f) => {
663
- u(), i.value && o && f && (l = new ResizeObserver(t), l.observe(f, r));
663
+ u(), r.value && o && f && (l = new ResizeObserver(t), l.observe(f, i));
664
664
  }, { immediate: !0, flush: "post" }), c = () => {
665
665
  u(), d();
666
666
  };
667
667
  return st(c), {
668
- isSupported: i,
668
+ isSupported: r,
669
669
  stop: c
670
670
  };
671
671
  }
@@ -676,8 +676,8 @@ var Gt;
676
676
  function yo(e) {
677
677
  const t = C(e == null ? void 0 : e.element), n = C(e == null ? void 0 : e.input);
678
678
  function a() {
679
- var o, r;
680
- t.value && (t.value.style.height = "1px", t.value.style.height = `${(o = t.value) == null ? void 0 : o.scrollHeight}px`, (r = e == null ? void 0 : e.onResize) == null || r.call(e));
679
+ var o, i;
680
+ t.value && (t.value.style.height = "1px", t.value.style.height = `${(o = t.value) == null ? void 0 : o.scrollHeight}px`, (i = e == null ? void 0 : e.onResize) == null || i.call(e));
681
681
  }
682
682
  return Q([n, t], a, { immediate: !0 }), fo(t, () => a()), e != null && e.watch && Q(e.watch, a, { immediate: !0, deep: !0 }), {
683
683
  textarea: t,
@@ -728,7 +728,7 @@ const Lt = /* @__PURE__ */ L({
728
728
  emits: ["trigger"],
729
729
  setup(e, { slots: t, emit: n }) {
730
730
  const a = C();
731
- return ro(a, (o) => {
731
+ return io(a, (o) => {
732
732
  n("trigger", o);
733
733
  }, e.options), () => {
734
734
  if (t.default)
@@ -747,10 +747,10 @@ function wo(...e) {
747
747
  if (hn(e[0]) || Array.isArray(e[0]) ? ([n, a, o] = e, t = _o) : [t, n, a, o] = e, !t)
748
748
  return Tt;
749
749
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
750
- const r = [], l = () => {
751
- r.forEach((c) => c()), r.length = 0;
752
- }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [ho(t), Ee(o)], ([c, f]) => {
753
- l(), c && r.push(...n.flatMap((p) => a.map((s) => i(c, p, s, f))));
750
+ const i = [], l = () => {
751
+ i.forEach((c) => c()), i.length = 0;
752
+ }, r = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [ho(t), Ee(o)], ([c, f]) => {
753
+ l(), c && i.push(...n.flatMap((p) => a.map((s) => r(c, p, s, f))));
754
754
  }, { immediate: !0, flush: "post" }), d = () => {
755
755
  u(), l();
756
756
  };
@@ -774,29 +774,29 @@ function So(e) {
774
774
  function ko(e, t = !1) {
775
775
  const n = C(t);
776
776
  let a = null, o;
777
- Q(oo(e), (i) => {
778
- if (i) {
779
- const u = i;
777
+ Q(oo(e), (r) => {
778
+ if (r) {
779
+ const u = r;
780
780
  o = u.style.overflow, n.value && (u.style.overflow = "hidden");
781
781
  }
782
782
  }, {
783
783
  immediate: !0
784
784
  });
785
- const r = () => {
786
- const i = Ee(e);
787
- !i || n.value || (pt && (a = wo(i, "touchmove", (u) => {
785
+ const i = () => {
786
+ const r = Ee(e);
787
+ !r || n.value || (pt && (a = wo(r, "touchmove", (u) => {
788
788
  So(u);
789
- }, { passive: !1 })), i.style.overflow = "hidden", n.value = !0);
789
+ }, { passive: !1 })), r.style.overflow = "hidden", n.value = !0);
790
790
  }, l = () => {
791
- const i = Ee(e);
792
- !i || !n.value || (pt && (a == null || a()), i.style.overflow = o, n.value = !1);
791
+ const r = Ee(e);
792
+ !r || !n.value || (pt && (a == null || a()), r.style.overflow = o, n.value = !1);
793
793
  };
794
794
  return st(l), V({
795
795
  get() {
796
796
  return n.value;
797
797
  },
798
- set(i) {
799
- i ? r() : l();
798
+ set(r) {
799
+ r ? i() : l();
800
800
  }
801
801
  });
802
802
  }
@@ -808,7 +808,7 @@ const xo = () => {
808
808
  return;
809
809
  e = !0;
810
810
  const o = ko(n, a.value);
811
- Q(t, (r) => o.value = r);
811
+ Q(t, (i) => o.value = i);
812
812
  };
813
813
  };
814
814
  xo();
@@ -846,17 +846,17 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
846
846
  },
847
847
  emits: ["bottom-sheet:close"],
848
848
  setup(e, { expose: t, emit: n }) {
849
- const a = e, o = Ae(), r = V(() => {
849
+ const a = e, o = Ae(), i = V(() => {
850
850
  if (l.value)
851
851
  return o;
852
- }), l = C(!1), i = C(!1), u = C(a.open), d = C(!1), c = C();
852
+ }), l = C(!1), r = C(!1), u = C(a.open), d = C(!1), c = C();
853
853
  let f = 0;
854
854
  function p() {
855
855
  u.value = !0, j();
856
856
  }
857
857
  function s() {
858
- i.value = !0, setTimeout(async () => {
859
- d.value = !1, i.value = !1, u.value = !1, me(!1), n("bottom-sheet:close");
858
+ r.value = !0, setTimeout(async () => {
859
+ d.value = !1, r.value = !1, u.value = !1, me(!1), n("bottom-sheet:close");
860
860
  }, 300);
861
861
  }
862
862
  function m(O) {
@@ -893,16 +893,16 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
893
893
  show: p,
894
894
  isOpen: u,
895
895
  moveContainer: N
896
- }), (O, J) => l.value ? (y(), B(rt, {
896
+ }), (O, J) => l.value ? (y(), B(it, {
897
897
  key: 0,
898
898
  to: e.teleport
899
899
  }, [
900
- u.value ? (y(), g("div", te({ key: 0 }, r.value, {
900
+ u.value ? (y(), g("div", te({ key: 0 }, i.value, {
901
901
  class: [
902
902
  "joy-bottom-sheet",
903
903
  {
904
904
  "joy-bottom-sheet--open": u.value,
905
- "joy-bottom-sheet--hiding": i.value && u.value,
905
+ "joy-bottom-sheet--hiding": r.value && u.value,
906
906
  "joy-bottom-sheet--frozen": e.frozen
907
907
  }
908
908
  ]
@@ -952,12 +952,12 @@ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
952
952
  },
953
953
  emits: ["click"],
954
954
  setup(e, { emit: t }) {
955
- const n = e, a = V(() => n.bottomSheet), o = X(), r = V(() => o.default());
955
+ const n = e, a = V(() => n.bottomSheet), o = X(), i = V(() => o.default());
956
956
  function l() {
957
- var i;
958
- t("click"), (i = a.value) == null || i.show();
957
+ var r;
958
+ t("click"), (r = a.value) == null || r.show();
959
959
  }
960
- return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
960
+ return (r, u) => (y(!0), g(K, null, Y(i.value, (d) => (y(), B(oe(d), {
961
961
  key: d,
962
962
  onClick: l
963
963
  }))), 128));
@@ -1017,20 +1017,20 @@ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1017
1017
  },
1018
1018
  emits: ["update:checked", "focus", "blur"],
1019
1019
  setup(e, { expose: t, emit: n }) {
1020
- const a = e, o = C(), r = C(a.indeterminate), l = C(a.invalid), i = C(!1), u = {
1020
+ const a = e, o = C(), i = C(a.indeterminate), l = C(a.invalid), r = C(!1), u = {
1021
1021
  onChange: (d) => {
1022
1022
  const c = d.target.checked;
1023
- r.value = !1, l.value = !1, n("update:checked", c);
1023
+ i.value = !1, l.value = !1, n("update:checked", c);
1024
1024
  },
1025
1025
  onFocus: () => {
1026
- i.value = !0, n("focus");
1026
+ r.value = !0, n("focus");
1027
1027
  },
1028
1028
  onBlur: () => {
1029
- i.value = !1, n("blur");
1029
+ r.value = !1, n("blur");
1030
1030
  }
1031
1031
  };
1032
1032
  return t({
1033
- isIndeterminate: r
1033
+ isIndeterminate: i
1034
1034
  }), (d, c) => (y(), g("div", {
1035
1035
  class: "joy-checkbox__wrapper",
1036
1036
  "aria-checked": e.checked,
@@ -1041,10 +1041,10 @@ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1041
1041
  "joy-checkbox",
1042
1042
  {
1043
1043
  "joy-checkbox__checked": e.checked,
1044
- "joy-checkbox__indeterminate": r.value,
1044
+ "joy-checkbox__indeterminate": i.value,
1045
1045
  "joy-checkbox__disabled": e.disabled,
1046
1046
  "joy-checkbox__invalid": l.value,
1047
- "joy-checkbox__focusing": i.value && e.displayFocus
1047
+ "joy-checkbox__focusing": r.value && e.displayFocus
1048
1048
  }
1049
1049
  ])
1050
1050
  }, [
@@ -1062,7 +1062,7 @@ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1062
1062
  required: e.required,
1063
1063
  "aria-checked": e.checked,
1064
1064
  value: e.value,
1065
- indeterminate: r.value,
1065
+ indeterminate: i.value,
1066
1066
  onChange: c[0] || (c[0] = //@ts-ignore
1067
1067
  (...f) => u.onChange && u.onChange(...f)),
1068
1068
  onFocus: c[1] || (c[1] = //@ts-ignore
@@ -1106,11 +1106,11 @@ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1106
1106
  const a = e, o = C(a.open);
1107
1107
  Q(
1108
1108
  () => a.open,
1109
- (i) => {
1110
- o.value = i;
1109
+ (r) => {
1110
+ o.value = r;
1111
1111
  }
1112
1112
  );
1113
- function r() {
1113
+ function i() {
1114
1114
  o.value = !o.value, l();
1115
1115
  }
1116
1116
  function l() {
@@ -1118,9 +1118,9 @@ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1118
1118
  }
1119
1119
  return t({
1120
1120
  isOpen: o,
1121
- onToggle: r,
1121
+ onToggle: i,
1122
1122
  props: a
1123
- }), (i, u) => (y(), g("div", {
1123
+ }), (r, u) => (y(), g("div", {
1124
1124
  class: $([
1125
1125
  "joy-collapse-item",
1126
1126
  {
@@ -1132,7 +1132,7 @@ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1132
1132
  "aria-expanded": o.value,
1133
1133
  type: "button",
1134
1134
  class: "joy-collapse-item__summary",
1135
- onClick: r
1135
+ onClick: i
1136
1136
  }, [
1137
1137
  b("div", {
1138
1138
  id: e.id,
@@ -1147,7 +1147,7 @@ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1147
1147
  z(" " + F(e.header), 1)
1148
1148
  ], 8, Ro),
1149
1149
  b("div", Do, [
1150
- k(i.$slots, "collapse-header-right")
1150
+ k(r.$slots, "collapse-header-right")
1151
1151
  ]),
1152
1152
  U(W, {
1153
1153
  class: "joy-collapse-item__summary___marker",
@@ -1165,7 +1165,7 @@ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1165
1165
  }
1166
1166
  ])
1167
1167
  }, [
1168
- k(i.$slots, "default")
1168
+ k(r.$slots, "default")
1169
1169
  ], 10, Mo)) : x("", !0)
1170
1170
  ], 2));
1171
1171
  }
@@ -1186,11 +1186,11 @@ const Sn = /* @__PURE__ */ A(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { cla
1186
1186
  },
1187
1187
  emits: ["update:modelValue"],
1188
1188
  setup(e, { expose: t, emit: n }) {
1189
- const a = e, o = C(a.modelValue), r = X(), l = V(() => {
1190
- const s = r.default();
1191
- return s.length === 1 && typeof s[0].type != "object" ? s[0].children.filter(i) : s.filter(i);
1189
+ const a = e, o = C(a.modelValue), i = X(), l = V(() => {
1190
+ const s = i.default();
1191
+ return s.length === 1 && typeof s[0].type != "object" ? s[0].children.filter(r) : s.filter(r);
1192
1192
  });
1193
- function i(s) {
1193
+ function r(s) {
1194
1194
  var m;
1195
1195
  return ((m = s == null ? void 0 : s.type) == null ? void 0 : m.__name) === "VJoyCollapseItem";
1196
1196
  }
@@ -1218,7 +1218,7 @@ const Sn = /* @__PURE__ */ A(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { cla
1218
1218
  }
1219
1219
  return t({
1220
1220
  getValForModel: p,
1221
- isItem: i,
1221
+ isItem: r,
1222
1222
  isOpen: d,
1223
1223
  items: l,
1224
1224
  openedCollapseItem: o
@@ -1372,9 +1372,9 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1372
1372
  },
1373
1373
  emits: ["update:modelValue"],
1374
1374
  setup(e, { expose: t, emit: n }) {
1375
- const a = e, o = C(!1), r = C(!1), l = C();
1375
+ const a = e, o = C(!1), i = C(!1), l = C();
1376
1376
  Bt(l, a.autofocus);
1377
- function i() {
1377
+ function r() {
1378
1378
  const v = c(!1);
1379
1379
  v >= 0 ? n("update:modelValue", v <= a.min ? a.min : v) : n("update:modelValue", 0), d();
1380
1380
  }
@@ -1403,10 +1403,10 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1403
1403
  n("update:modelValue", +v.target.value || 0), o.value = !1;
1404
1404
  },
1405
1405
  onFocus: () => {
1406
- r.value = !0;
1406
+ i.value = !0;
1407
1407
  },
1408
1408
  onBlur: () => {
1409
- r.value = !1, d();
1409
+ i.value = !1, d();
1410
1410
  }
1411
1411
  };
1412
1412
  return t({
@@ -1427,14 +1427,14 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1427
1427
  _: 3
1428
1428
  }, 8, ["for", "required", "optional-label", "size"])) : x("", !0),
1429
1429
  b("div", {
1430
- class: $(["joy-counter__wrapper", { "joy-counter--focusing": r.value }])
1430
+ class: $(["joy-counter__wrapper", { "joy-counter--focusing": i.value }])
1431
1431
  }, [
1432
1432
  b("button", {
1433
1433
  class: "joy-counter__decrement",
1434
1434
  type: "button",
1435
1435
  "aria-label": e.labelDecrement,
1436
1436
  disabled: e.modelValue <= e.min,
1437
- onClick: i
1437
+ onClick: r
1438
1438
  }, [
1439
1439
  U(T(W), { name: "minus" })
1440
1440
  ], 8, Qo),
@@ -1478,15 +1478,15 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1478
1478
  }
1479
1479
  });
1480
1480
  const ll = /* @__PURE__ */ A(ol, [["__scopeId", "data-v-8ad5d56e"]]);
1481
- function rl(e) {
1481
+ function il(e) {
1482
1482
  return kt() ? (xt(e), !0) : !1;
1483
1483
  }
1484
- function il(e) {
1484
+ function rl(e) {
1485
1485
  return typeof e == "function" ? e() : T(e);
1486
1486
  }
1487
1487
  function sl(e) {
1488
1488
  var t;
1489
- const n = il(e);
1489
+ const n = rl(e);
1490
1490
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
1491
1491
  }
1492
1492
  /*!
@@ -1502,7 +1502,7 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1502
1502
  }, Xe = function e(t, n) {
1503
1503
  var a;
1504
1504
  n === void 0 && (n = !0);
1505
- var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = o === "" || o === "true", l = r || n && t && e(t.parentNode);
1505
+ var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), i = o === "" || o === "true", l = i || n && t && e(t.parentNode);
1506
1506
  return l;
1507
1507
  }, ul = function(t) {
1508
1508
  var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
@@ -1513,11 +1513,11 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1513
1513
  var o = Array.prototype.slice.apply(t.querySelectorAll(Ze));
1514
1514
  return n && xe.call(t, Ze) && o.unshift(t), o = o.filter(a), o;
1515
1515
  }, jn = function e(t, n, a) {
1516
- for (var o = [], r = Array.from(t); r.length; ) {
1517
- var l = r.shift();
1516
+ for (var o = [], i = Array.from(t); i.length; ) {
1517
+ var l = i.shift();
1518
1518
  if (!Xe(l, !1))
1519
1519
  if (l.tagName === "SLOT") {
1520
- var i = l.assignedElements(), u = i.length ? i : l.children, d = e(u, !0, a);
1520
+ var r = l.assignedElements(), u = r.length ? r : l.children, d = e(u, !0, a);
1521
1521
  a.flatten ? o.push.apply(o, d) : o.push({
1522
1522
  scopeParent: l,
1523
1523
  candidates: d
@@ -1534,7 +1534,7 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1534
1534
  candidates: s
1535
1535
  });
1536
1536
  } else
1537
- r.unshift.apply(r, l.children);
1537
+ i.unshift.apply(i, l.children);
1538
1538
  }
1539
1539
  }
1540
1540
  return o;
@@ -1565,8 +1565,8 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1565
1565
  }, pl = function(t) {
1566
1566
  if (!t.name)
1567
1567
  return !0;
1568
- var n = t.form || Qe(t), a = function(i) {
1569
- return n.querySelectorAll('input[type="radio"][name="' + i + '"]');
1568
+ var n = t.form || Qe(t), a = function(r) {
1569
+ return n.querySelectorAll('input[type="radio"][name="' + r + '"]');
1570
1570
  }, o;
1571
1571
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
1572
1572
  o = a(window.CSS.escape(t.name));
@@ -1576,22 +1576,22 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1576
1576
  } catch (l) {
1577
1577
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", l.message), !1;
1578
1578
  }
1579
- var r = vl(o, t.form);
1580
- return !r || r === t;
1579
+ var i = vl(o, t.form);
1580
+ return !i || i === t;
1581
1581
  }, ml = function(t) {
1582
1582
  return Vn(t) && t.type === "radio";
1583
1583
  }, bl = function(t) {
1584
1584
  return ml(t) && !pl(t);
1585
1585
  }, gl = function(t) {
1586
- var n, a = t && Qe(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
1586
+ var n, a = t && Qe(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, i = !1;
1587
1587
  if (a && a !== t) {
1588
- var l, i, u;
1589
- for (r = !!((l = o) !== null && l !== void 0 && (i = l.ownerDocument) !== null && i !== void 0 && i.contains(o) || t != null && (u = t.ownerDocument) !== null && u !== void 0 && u.contains(t)); !r && o; ) {
1588
+ var l, r, u;
1589
+ for (i = !!((l = o) !== null && l !== void 0 && (r = l.ownerDocument) !== null && r !== void 0 && r.contains(o) || t != null && (u = t.ownerDocument) !== null && u !== void 0 && u.contains(t)); !i && o; ) {
1590
1590
  var d, c, f;
1591
- a = Qe(o), o = (d = a) === null || d === void 0 ? void 0 : d.host, r = !!((c = o) !== null && c !== void 0 && (f = c.ownerDocument) !== null && f !== void 0 && f.contains(o));
1591
+ a = Qe(o), o = (d = a) === null || d === void 0 ? void 0 : d.host, i = !!((c = o) !== null && c !== void 0 && (f = c.ownerDocument) !== null && f !== void 0 && f.contains(o));
1592
1592
  }
1593
1593
  }
1594
- return r;
1594
+ return i;
1595
1595
  }, tn = function(t) {
1596
1596
  var n = t.getBoundingClientRect(), a = n.width, o = n.height;
1597
1597
  return a === 0 && o === 0;
@@ -1599,18 +1599,18 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1599
1599
  var a = n.displayCheck, o = n.getShadowRoot;
1600
1600
  if (getComputedStyle(t).visibility === "hidden")
1601
1601
  return !0;
1602
- var r = xe.call(t, "details>summary:first-of-type"), l = r ? t.parentElement : t;
1602
+ var i = xe.call(t, "details>summary:first-of-type"), l = i ? t.parentElement : t;
1603
1603
  if (xe.call(l, "details:not([open]) *"))
1604
1604
  return !0;
1605
1605
  if (!a || a === "full" || a === "legacy-full") {
1606
1606
  if (typeof o == "function") {
1607
- for (var i = t; t; ) {
1607
+ for (var r = t; t; ) {
1608
1608
  var u = t.parentElement, d = Qe(t);
1609
1609
  if (u && !u.shadowRoot && o(u) === !0)
1610
1610
  return tn(t);
1611
1611
  t.assignedSlot ? t = t.assignedSlot : !u && d !== t.ownerDocument ? t = d.host : t = u;
1612
1612
  }
1613
- t = i;
1613
+ t = r;
1614
1614
  }
1615
1615
  if (gl(t))
1616
1616
  return !t.getClientRects().length;
@@ -1646,17 +1646,17 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1646
1646
  return !!(isNaN(n) || n >= 0);
1647
1647
  }, Sl = function e(t) {
1648
1648
  var n = [], a = [];
1649
- return t.forEach(function(o, r) {
1650
- var l = !!o.scopeParent, i = l ? o.scopeParent : o, u = cl(i, l), d = l ? e(o.candidates) : i;
1651
- u === 0 ? l ? n.push.apply(n, d) : n.push(i) : a.push({
1652
- documentOrder: r,
1649
+ return t.forEach(function(o, i) {
1650
+ var l = !!o.scopeParent, r = l ? o.scopeParent : o, u = cl(r, l), d = l ? e(o.candidates) : r;
1651
+ u === 0 ? l ? n.push.apply(n, d) : n.push(r) : a.push({
1652
+ documentOrder: i,
1653
1653
  tabIndex: u,
1654
1654
  item: o,
1655
1655
  isScope: l,
1656
1656
  content: d
1657
1657
  });
1658
- }), a.sort(dl).reduce(function(o, r) {
1659
- return r.isScope ? o.push.apply(o, r.content) : o.push(r.content), o;
1658
+ }), a.sort(dl).reduce(function(o, i) {
1659
+ return i.isScope ? o.push.apply(o, i.content) : o.push(i.content), o;
1660
1660
  }, []).concat(n);
1661
1661
  }, kl = function(t, n) {
1662
1662
  n = n || {};
@@ -1760,8 +1760,8 @@ var on = {
1760
1760
  return setTimeout(t, 0);
1761
1761
  }, rn = function(t, n) {
1762
1762
  var a = -1;
1763
- return t.every(function(o, r) {
1764
- return n(o) ? (a = r, !1) : !0;
1763
+ return t.every(function(o, i) {
1764
+ return n(o) ? (a = i, !1) : !0;
1765
1765
  }), a;
1766
1766
  }, Fe = function(t) {
1767
1767
  for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
@@ -1770,7 +1770,7 @@ var on = {
1770
1770
  }, Ge = function(t) {
1771
1771
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
1772
1772
  }, Bl = [], Al = function(t, n) {
1773
- var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Bl, r = an({
1773
+ var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Bl, i = an({
1774
1774
  returnFocusOnDeactivate: !0,
1775
1775
  escapeDeactivates: !0,
1776
1776
  delayInitialFocus: !0,
@@ -1812,8 +1812,8 @@ var on = {
1812
1812
  delayInitialFocusTimer: void 0,
1813
1813
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
1814
1814
  recentNavEvent: void 0
1815
- }, i, u = function(w, S, I) {
1816
- return w && w[S] !== void 0 ? w[S] : r[I || S];
1815
+ }, r, u = function(w, S, I) {
1816
+ return w && w[S] !== void 0 ? w[S] : i[I || S];
1817
1817
  }, d = function(w, S) {
1818
1818
  var I = typeof (S == null ? void 0 : S.composedPath) == "function" ? S.composedPath() : void 0;
1819
1819
  return l.containerGroups.findIndex(function(R) {
@@ -1827,7 +1827,7 @@ var on = {
1827
1827
  });
1828
1828
  });
1829
1829
  }, c = function(w) {
1830
- var S = r[w];
1830
+ var S = i[w];
1831
1831
  if (typeof S == "function") {
1832
1832
  for (var I = arguments.length, R = new Array(I > 1 ? I - 1 : 0), D = 1; D < I; D++)
1833
1833
  R[D - 1] = arguments[D];
@@ -1846,7 +1846,7 @@ var on = {
1846
1846
  var w = c("initialFocus");
1847
1847
  if (w === !1)
1848
1848
  return !1;
1849
- if (w === void 0 || !vt(w, r.tabbableOptions))
1849
+ if (w === void 0 || !vt(w, i.tabbableOptions))
1850
1850
  if (d(a.activeElement) >= 0)
1851
1851
  w = a.activeElement;
1852
1852
  else {
@@ -1858,7 +1858,7 @@ var on = {
1858
1858
  return w;
1859
1859
  }, p = function() {
1860
1860
  if (l.containerGroups = l.containers.map(function(w) {
1861
- var S = kl(w, r.tabbableOptions), I = xl(w, r.tabbableOptions), R = S.length > 0 ? S[0] : void 0, D = S.length > 0 ? S[S.length - 1] : void 0, q = I.find(function(ee) {
1861
+ var S = kl(w, i.tabbableOptions), I = xl(w, i.tabbableOptions), R = S.length > 0 ? S[0] : void 0, D = S.length > 0 ? S[S.length - 1] : void 0, q = I.find(function(ee) {
1862
1862
  return Ve(ee);
1863
1863
  }), G = I.slice().reverse().find(function(ee) {
1864
1864
  return Ve(ee);
@@ -1922,7 +1922,7 @@ var on = {
1922
1922
  return;
1923
1923
  }
1924
1924
  w.focus({
1925
- preventScroll: !!r.preventScroll
1925
+ preventScroll: !!i.preventScroll
1926
1926
  }), l.mostRecentlyFocusedNode = w, Tl(w) && w.select();
1927
1927
  }
1928
1928
  }, v = function(w) {
@@ -1941,7 +1941,7 @@ var on = {
1941
1941
  var ft = dt.firstTabbableNode;
1942
1942
  return S === ft;
1943
1943
  });
1944
- if (ee < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S, !1)) && (ee = G), ee >= 0) {
1944
+ if (ee < 0 && (ne.container === S || vt(S, i.tabbableOptions) && !Ve(S, i.tabbableOptions) && !ne.nextTabbableNode(S, !1)) && (ee = G), ee >= 0) {
1945
1945
  var Se = ee === 0 ? l.tabbableGroups.length - 1 : ee - 1, Oe = l.tabbableGroups[Se];
1946
1946
  q = ke(S) >= 0 ? Oe.lastTabbableNode : Oe.lastDomTabbableNode;
1947
1947
  } else
@@ -1951,7 +1951,7 @@ var on = {
1951
1951
  var ft = dt.lastTabbableNode;
1952
1952
  return S === ft;
1953
1953
  });
1954
- if (pe < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S)) && (pe = G), pe >= 0) {
1954
+ if (pe < 0 && (ne.container === S || vt(S, i.tabbableOptions) && !Ve(S, i.tabbableOptions) && !ne.nextTabbableNode(S)) && (pe = G), pe >= 0) {
1955
1955
  var Je = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Dt = l.tabbableGroups[Je];
1956
1956
  q = ke(S) >= 0 ? Dt.firstTabbableNode : Dt.firstDomTabbableNode;
1957
1957
  } else
@@ -1963,19 +1963,19 @@ var on = {
1963
1963
  }, h = function(w) {
1964
1964
  var S = Ge(w);
1965
1965
  if (!(d(S, w) >= 0)) {
1966
- if (Fe(r.clickOutsideDeactivates, w)) {
1967
- i.deactivate({
1966
+ if (Fe(i.clickOutsideDeactivates, w)) {
1967
+ r.deactivate({
1968
1968
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
1969
1969
  // which will result in the outside click setting focus to the node
1970
1970
  // that was clicked (and if not focusable, to "nothing"); by setting
1971
1971
  // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
1972
1972
  // on activation (or the configured `setReturnFocus` node), whether the
1973
1973
  // outside click was on a focusable node or not
1974
- returnFocus: r.returnFocusOnDeactivate
1974
+ returnFocus: i.returnFocusOnDeactivate
1975
1975
  });
1976
1976
  return;
1977
1977
  }
1978
- Fe(r.allowOutsideClick, w) || w.preventDefault();
1978
+ Fe(i.allowOutsideClick, w) || w.preventDefault();
1979
1979
  }
1980
1980
  }, E = function(w) {
1981
1981
  var S = Ge(w), I = d(S, w) >= 0;
@@ -1991,7 +1991,7 @@ var on = {
1991
1991
  var ne = G.findIndex(function(ee) {
1992
1992
  return ee === l.mostRecentlyFocusedNode;
1993
1993
  });
1994
- ne >= 0 && (r.isKeyForward(l.recentNavEvent) ? ne + 1 < G.length && (R = G[ne + 1], D = !1) : ne - 1 >= 0 && (R = G[ne - 1], D = !1));
1994
+ ne >= 0 && (i.isKeyForward(l.recentNavEvent) ? ne + 1 < G.length && (R = G[ne + 1], D = !1) : ne - 1 >= 0 && (R = G[ne - 1], D = !1));
1995
1995
  }
1996
1996
  } else
1997
1997
  l.containerGroups.some(function(ee) {
@@ -2005,7 +2005,7 @@ var on = {
2005
2005
  // move FROM the MRU node, not event-related node (which will be the node that is
2006
2006
  // outside the trap causing the focus escape we're trying to fix)
2007
2007
  target: l.mostRecentlyFocusedNode,
2008
- isBackward: r.isKeyBackward(l.recentNavEvent)
2008
+ isBackward: i.isKeyBackward(l.recentNavEvent)
2009
2009
  })), m(R || l.mostRecentlyFocusedNode || f());
2010
2010
  }
2011
2011
  l.recentNavEvent = void 0;
@@ -2018,17 +2018,17 @@ var on = {
2018
2018
  });
2019
2019
  I && (Pe(w) && w.preventDefault(), m(I));
2020
2020
  }, P = function(w) {
2021
- if (Il(w) && Fe(r.escapeDeactivates, w) !== !1) {
2022
- w.preventDefault(), i.deactivate();
2021
+ if (Il(w) && Fe(i.escapeDeactivates, w) !== !1) {
2022
+ w.preventDefault(), r.deactivate();
2023
2023
  return;
2024
2024
  }
2025
- (r.isKeyForward(w) || r.isKeyBackward(w)) && N(w, r.isKeyBackward(w));
2025
+ (i.isKeyForward(w) || i.isKeyBackward(w)) && N(w, i.isKeyBackward(w));
2026
2026
  }, j = function(w) {
2027
2027
  var S = Ge(w);
2028
- d(S, w) >= 0 || Fe(r.clickOutsideDeactivates, w) || Fe(r.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
2028
+ d(S, w) >= 0 || Fe(i.clickOutsideDeactivates, w) || Fe(i.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
2029
2029
  }, O = function() {
2030
2030
  if (l.active)
2031
- return on.activateTrap(o, i), l.delayInitialFocusTimer = r.delayInitialFocus ? ln(function() {
2031
+ return on.activateTrap(o, r), l.delayInitialFocusTimer = i.delayInitialFocus ? ln(function() {
2032
2032
  m(f());
2033
2033
  }) : m(f()), a.addEventListener("focusin", E, !0), a.addEventListener("mousedown", h, {
2034
2034
  capture: !0,
@@ -2042,11 +2042,11 @@ var on = {
2042
2042
  }), a.addEventListener("keydown", P, {
2043
2043
  capture: !0,
2044
2044
  passive: !1
2045
- }), i;
2045
+ }), r;
2046
2046
  }, J = function() {
2047
2047
  if (l.active)
2048
- return a.removeEventListener("focusin", E, !0), a.removeEventListener("mousedown", h, !0), a.removeEventListener("touchstart", h, !0), a.removeEventListener("click", j, !0), a.removeEventListener("keydown", P, !0), i;
2049
- }, re = function(w) {
2048
+ return a.removeEventListener("focusin", E, !0), a.removeEventListener("mousedown", h, !0), a.removeEventListener("touchstart", h, !0), a.removeEventListener("click", j, !0), a.removeEventListener("keydown", P, !0), r;
2049
+ }, ie = function(w) {
2050
2050
  var S = w.some(function(I) {
2051
2051
  var R = Array.from(I.removedNodes);
2052
2052
  return R.some(function(D) {
@@ -2054,15 +2054,15 @@ var on = {
2054
2054
  });
2055
2055
  });
2056
2056
  S && m(f());
2057
- }, ie = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(re) : void 0, ue = function() {
2058
- ie && (ie.disconnect(), l.active && !l.paused && l.containers.map(function(w) {
2059
- ie.observe(w, {
2057
+ }, re = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ie) : void 0, ue = function() {
2058
+ re && (re.disconnect(), l.active && !l.paused && l.containers.map(function(w) {
2059
+ re.observe(w, {
2060
2060
  subtree: !0,
2061
2061
  childList: !0
2062
2062
  });
2063
2063
  }));
2064
2064
  };
2065
- return i = {
2065
+ return r = {
2066
2066
  get active() {
2067
2067
  return l.active;
2068
2068
  },
@@ -2083,11 +2083,11 @@ var on = {
2083
2083
  if (!l.active)
2084
2084
  return this;
2085
2085
  var S = an({
2086
- onDeactivate: r.onDeactivate,
2087
- onPostDeactivate: r.onPostDeactivate,
2088
- checkCanReturnFocus: r.checkCanReturnFocus
2086
+ onDeactivate: i.onDeactivate,
2087
+ onPostDeactivate: i.onPostDeactivate,
2088
+ checkCanReturnFocus: i.checkCanReturnFocus
2089
2089
  }, w);
2090
- clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, i);
2090
+ clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, r);
2091
2091
  var I = u(S, "onDeactivate"), R = u(S, "onPostDeactivate"), D = u(S, "checkCanReturnFocus"), q = u(S, "returnFocus", "returnFocusOnDeactivate");
2092
2092
  I == null || I();
2093
2093
  var G = function() {
@@ -2115,11 +2115,11 @@ var on = {
2115
2115
  return typeof I == "string" ? a.querySelector(I) : I;
2116
2116
  }), l.active && p(), ue(), this;
2117
2117
  }
2118
- }, i.updateContainerElements(t), i;
2118
+ }, r.updateContainerElements(t), r;
2119
2119
  };
2120
2120
  function Tn(e, t = {}) {
2121
2121
  let n;
2122
- const { immediate: a, ...o } = t, r = C(!1), l = C(!1), i = (f) => n && n.activate(f), u = (f) => n && n.deactivate(f), d = () => {
2122
+ const { immediate: a, ...o } = t, i = C(!1), l = C(!1), r = (f) => n && n.activate(f), u = (f) => n && n.deactivate(f), d = () => {
2123
2123
  n && (n.pause(), l.value = !0);
2124
2124
  }, c = () => {
2125
2125
  n && (n.unpause(), l.value = !1);
@@ -2130,18 +2130,18 @@ function Tn(e, t = {}) {
2130
2130
  f && (n = Al(f, {
2131
2131
  ...o,
2132
2132
  onActivate() {
2133
- r.value = !0, t.onActivate && t.onActivate();
2133
+ i.value = !0, t.onActivate && t.onActivate();
2134
2134
  },
2135
2135
  onDeactivate() {
2136
- r.value = !1, t.onDeactivate && t.onDeactivate();
2136
+ i.value = !1, t.onDeactivate && t.onDeactivate();
2137
2137
  }
2138
- }), a && i());
2138
+ }), a && r());
2139
2139
  },
2140
2140
  { flush: "post" }
2141
- ), rl(() => u()), {
2142
- hasFocus: r,
2141
+ ), il(() => u()), {
2142
+ hasFocus: i,
2143
2143
  isPaused: l,
2144
- activate: i,
2144
+ activate: r,
2145
2145
  deactivate: u,
2146
2146
  pause: d,
2147
2147
  unpause: c
@@ -2227,11 +2227,11 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2227
2227
  },
2228
2228
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2229
2229
  setup(e, { expose: t, emit: n }) {
2230
- const a = e, o = "joy-dialog--" + _e(), r = X(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2230
+ const a = e, o = "joy-dialog--" + _e(), i = X(), l = C(!1), r = C(), u = C(a.open), d = Tn(r), c = Ae(), f = V(() => {
2231
2231
  if (l.value)
2232
2232
  return c;
2233
2233
  }), p = V(() => {
2234
- const j = r["dialog-cancel"] || r["dialog-confirm"], O = a.cancelText || a.confirmText;
2234
+ const j = i["dialog-cancel"] || i["dialog-confirm"], O = a.cancelText || a.confirmText;
2235
2235
  return !!j || !!O;
2236
2236
  }), m = V(() => a.id || o).value + "-header";
2237
2237
  function v() {
@@ -2262,7 +2262,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2262
2262
  hide: _,
2263
2263
  isOpen: u,
2264
2264
  show: h
2265
- }), (j, O) => l.value ? (y(), B(rt, {
2265
+ }), (j, O) => l.value ? (y(), B(it, {
2266
2266
  key: 0,
2267
2267
  to: e.teleport
2268
2268
  }, [
@@ -2278,7 +2278,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2278
2278
  u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2279
2279
  id: e.id || o,
2280
2280
  ref_key: "dialogRef",
2281
- ref: i,
2281
+ ref: r,
2282
2282
  role: "dialog",
2283
2283
  "aria-modal": "true",
2284
2284
  class: ["joy-dialog", `joy-dialog--${e.size}`, { "joy-dialog--open": u.value }],
@@ -2384,7 +2384,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2384
2384
  _: 3
2385
2385
  })
2386
2386
  ], 2),
2387
- T(r)["dialog-indicators"] ? (y(), g("div", Rl, [
2387
+ T(i)["dialog-indicators"] ? (y(), g("div", Rl, [
2388
2388
  k(j.$slots, "dialog-indicators", {}, void 0, !0)
2389
2389
  ])) : x("", !0)
2390
2390
  ])
@@ -2403,12 +2403,12 @@ const Ml = /* @__PURE__ */ A(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @_
2403
2403
  },
2404
2404
  emits: ["click"],
2405
2405
  setup(e, { emit: t }) {
2406
- const n = e, a = V(() => n.dialog), o = X(), r = V(() => o.default());
2406
+ const n = e, a = V(() => n.dialog), o = X(), i = V(() => o.default());
2407
2407
  async function l() {
2408
- var i;
2409
- t("click"), await ((i = a.value) == null ? void 0 : i.show());
2408
+ var r;
2409
+ t("click"), await ((r = a.value) == null ? void 0 : r.show());
2410
2410
  }
2411
- return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
2411
+ return (r, u) => (y(!0), g(K, null, Y(i.value, (d) => (y(), B(oe(d), {
2412
2412
  key: d,
2413
2413
  onClick: l
2414
2414
  }))), 128));
@@ -2442,13 +2442,13 @@ const Ml = /* @__PURE__ */ A(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @_
2442
2442
  const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"], Zl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, Xl = {
2443
2443
  id: "drawerDescription",
2444
2444
  class: "joy-drawer--subheader"
2445
- }, er = {
2445
+ }, ei = {
2446
2446
  class: "joy-drawer--body",
2447
2447
  tabindex: "0"
2448
- }, tr = {
2448
+ }, ti = {
2449
2449
  key: 0,
2450
2450
  class: "joy-drawer--indicators"
2451
- }, nr = /* @__PURE__ */ L({
2451
+ }, ni = /* @__PURE__ */ L({
2452
2452
  inheritAttrs: !1,
2453
2453
  __name: "VJoyDrawer",
2454
2454
  props: {
@@ -2505,11 +2505,11 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2505
2505
  },
2506
2506
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2507
2507
  setup(e, { expose: t, emit: n }) {
2508
- const a = e, o = "joy-drawer--" + _e(), r = X(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2508
+ const a = e, o = "joy-drawer--" + _e(), i = X(), l = C(!1), r = C(), u = C(a.open), d = Tn(r), c = Ae(), f = V(() => {
2509
2509
  if (l.value)
2510
2510
  return c;
2511
2511
  }), p = V(() => {
2512
- const P = r["drawer-cancel"] || r["drawer-confirm"], j = a.cancelText || a.confirmText;
2512
+ const P = i["drawer-cancel"] || i["drawer-confirm"], j = a.cancelText || a.confirmText;
2513
2513
  return !!P || !!j;
2514
2514
  }), s = V(() => a.id || o), m = s.value + "-header";
2515
2515
  async function v(P = { fireHideEvent: !0 }) {
@@ -2537,7 +2537,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2537
2537
  hide: v,
2538
2538
  isOpen: u,
2539
2539
  show: _
2540
- }), (P, j) => l.value ? (y(), B(rt, {
2540
+ }), (P, j) => l.value ? (y(), B(it, {
2541
2541
  key: 0,
2542
2542
  to: e.teleport
2543
2543
  }, [
@@ -2553,7 +2553,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2553
2553
  u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2554
2554
  id: s.value,
2555
2555
  ref_key: "drawerRef",
2556
- ref: i,
2556
+ ref: r,
2557
2557
  role: "dialog",
2558
2558
  "aria-modal": "true",
2559
2559
  class: [
@@ -2608,7 +2608,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2608
2608
  onClick: j[1] || (j[1] = (O) => v())
2609
2609
  }, null, 8, ["label"])
2610
2610
  ]),
2611
- b("div", er, [
2611
+ b("div", ei, [
2612
2612
  k(P.$slots, "drawer-body", {}, void 0, !0)
2613
2613
  ]),
2614
2614
  b("div", {
@@ -2656,7 +2656,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2656
2656
  _: 3
2657
2657
  })
2658
2658
  ], 2),
2659
- T(r)["drawer-indicators"] ? (y(), g("div", tr, [
2659
+ T(i)["drawer-indicators"] ? (y(), g("div", ti, [
2660
2660
  k(P.$slots, "drawer-indicators", {}, void 0, !0)
2661
2661
  ])) : x("", !0)
2662
2662
  ])
@@ -2668,30 +2668,30 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2668
2668
  ], 8, ["to"])) : x("", !0);
2669
2669
  }
2670
2670
  });
2671
- const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2671
+ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-e5a3f673"]]), oi = /* @__PURE__ */ L({
2672
2672
  __name: "VJoyDrawerTrigger",
2673
2673
  props: {
2674
2674
  drawer: {}
2675
2675
  },
2676
2676
  emits: ["click"],
2677
2677
  setup(e, { emit: t }) {
2678
- const n = e, a = V(() => n.drawer), o = X(), r = V(() => o.default());
2678
+ const n = e, a = V(() => n.drawer), o = X(), i = V(() => o.default());
2679
2679
  async function l() {
2680
- var i;
2681
- t("click"), await ((i = a.value) == null ? void 0 : i.show());
2680
+ var r;
2681
+ t("click"), await ((r = a.value) == null ? void 0 : r.show());
2682
2682
  }
2683
- return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
2683
+ return (r, u) => (y(!0), g(K, null, Y(i.value, (d) => (y(), B(oe(d), {
2684
2684
  key: d,
2685
2685
  onClick: l
2686
2686
  }))), 128));
2687
2687
  }
2688
- }), In = ["medium", "small", "xsmall"], lr = {
2688
+ }), In = ["medium", "small", "xsmall"], li = {
2689
2689
  key: 0,
2690
2690
  class: "joy-dropdown-list__header"
2691
- }, rr = ["aria-label", "aria-labelledby"], ir = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], sr = {
2691
+ }, ii = ["aria-label", "aria-labelledby"], ri = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], si = {
2692
2692
  key: 1,
2693
2693
  class: "joy-dropdown-list__footer"
2694
- }, ur = /* @__PURE__ */ L({
2694
+ }, ui = /* @__PURE__ */ L({
2695
2695
  __name: "VJoyDropdownList",
2696
2696
  props: {
2697
2697
  /**
@@ -2738,22 +2738,22 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2738
2738
  },
2739
2739
  emits: ["update:modelValue", "close:dropdownList", "reset"],
2740
2740
  setup(e, { expose: t, emit: n }) {
2741
- const a = e, o = C(), r = V(() => (s) => !a.modelValue || !s.value && !s.id ? !1 : a.modelValue === s.value || a.modelValue === s.id);
2741
+ const a = e, o = C(), i = V(() => (s) => !a.modelValue || !s.value && !s.id ? !1 : a.modelValue === s.value || a.modelValue === s.id);
2742
2742
  function l(s) {
2743
2743
  s.disabled || n("update:modelValue", s.value || s.id);
2744
2744
  }
2745
- function i() {
2745
+ function r() {
2746
2746
  var s;
2747
2747
  return Array.from(((s = o.value) == null ? void 0 : s.querySelectorAll("li")) || []);
2748
2748
  }
2749
2749
  function u() {
2750
- const s = i().find((m) => m.getAttribute("aria-selected") === "true");
2750
+ const s = r().find((m) => m.getAttribute("aria-selected") === "true");
2751
2751
  s && (s.focus(), o.value.scrollTo({
2752
2752
  top: s.offsetTop
2753
2753
  }));
2754
2754
  }
2755
2755
  function d() {
2756
- return i().find((s) => s === document.activeElement);
2756
+ return r().find((s) => s === document.activeElement);
2757
2757
  }
2758
2758
  function c(s) {
2759
2759
  var m;
@@ -2767,7 +2767,7 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2767
2767
  n("update:modelValue", v.dataModel);
2768
2768
  }
2769
2769
  if (d() && s.key === " " && s.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key)) {
2770
- const v = i(), _ = d();
2770
+ const v = r(), _ = d();
2771
2771
  let h = v.indexOf(_);
2772
2772
  if (v.length) {
2773
2773
  s.preventDefault(), s.key === "ArrowDown" ? h++ : s.key === "ArrowUp" ? h-- : s.key === "Home" ? h = 0 : s.key === "End" && (h = v.length - 1), h < 0 && (h = v.length - 1), h > v.length - 1 && (h = 0), f(v[h]);
@@ -2787,12 +2787,12 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2787
2787
  }), Ne(() => {
2788
2788
  window.removeEventListener("keydown", c);
2789
2789
  }), t({
2790
- isSelected: r
2790
+ isSelected: i
2791
2791
  }), (s, m) => (y(), g("div", {
2792
2792
  class: "joy-dropdown-list",
2793
2793
  style: ce({ width: `${e.width}px`, "max-width": `${e.width}px` })
2794
2794
  }, [
2795
- s.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", lr, [
2795
+ s.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", li, [
2796
2796
  e.reset ? (y(), g("button", {
2797
2797
  key: 0,
2798
2798
  type: "button",
@@ -2824,13 +2824,13 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2824
2824
  "joy-dropdown-list__item",
2825
2825
  `joy-dropdown-list__item--${e.size}`,
2826
2826
  {
2827
- "joy-dropdown-list__item--selected": r.value(v),
2827
+ "joy-dropdown-list__item--selected": i.value(v),
2828
2828
  "joy-dropdown-list__item--disabled": v.disabled
2829
2829
  }
2830
2830
  ]),
2831
2831
  tabindex: v.disabled ? void 0 : -1,
2832
2832
  "aria-disabled": v.disabled,
2833
- "aria-selected": r.value(v),
2833
+ "aria-selected": i.value(v),
2834
2834
  title: v.label,
2835
2835
  "aria-label": v.label,
2836
2836
  ".dataModel": v.value || v.id,
@@ -2840,16 +2840,16 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2840
2840
  k(s.$slots, "label", ze(qe(v)), () => [
2841
2841
  b("span", null, F(v.label), 1)
2842
2842
  ], !0)
2843
- ], 14, ir))), 128))
2844
- ], 8, rr)) : x("", !0)
2843
+ ], 14, ri))), 128))
2844
+ ], 8, ii)) : x("", !0)
2845
2845
  ], 6),
2846
- s.$slots["dropdown-list-footer"] ? (y(), g("footer", sr, [
2846
+ s.$slots["dropdown-list-footer"] ? (y(), g("footer", si, [
2847
2847
  k(s.$slots, "dropdown-list-footer", {}, void 0, !0)
2848
2848
  ])) : x("", !0)
2849
2849
  ], 4));
2850
2850
  }
2851
2851
  });
2852
- const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2852
+ const Ln = /* @__PURE__ */ A(ui, [["__scopeId", "data-v-0127e896"]]), ci = /* @__PURE__ */ L({
2853
2853
  __name: "VJoyDropdown",
2854
2854
  props: {
2855
2855
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -2940,7 +2940,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2940
2940
  },
2941
2941
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2942
2942
  setup(e, { expose: t, emit: n }) {
2943
- const a = e, o = C(!1), r = C(null), l = C(), i = C(null), u = C(null), d = C(!1), c = "joy-dropdown--" + _e();
2943
+ const a = e, o = C(!1), i = C(null), l = C(), r = C(null), u = C(null), d = C(!1), c = "joy-dropdown--" + _e();
2944
2944
  jt("VJoyDropdownContext", a);
2945
2945
  const f = {
2946
2946
  ignore: [l, ".joy-dropdown__list"]
@@ -2949,7 +2949,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2949
2949
  Q(
2950
2950
  () => o.value,
2951
2951
  (j) => {
2952
- j && Ga(i);
2952
+ j && Ga(r);
2953
2953
  },
2954
2954
  { flush: "post" }
2955
2955
  );
@@ -2989,7 +2989,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2989
2989
  generatedId: c
2990
2990
  }), (j, O) => (y(), B(T(Lt), {
2991
2991
  ref_key: "dropdown",
2992
- ref: r,
2992
+ ref: i,
2993
2993
  options: f,
2994
2994
  class: "joy-dropdown",
2995
2995
  onTrigger: m
@@ -3007,7 +3007,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3007
3007
  o.value ? (y(), g("div", {
3008
3008
  key: 0,
3009
3009
  ref_key: "list",
3010
- ref: i,
3010
+ ref: r,
3011
3011
  class: $([
3012
3012
  "joy-dropdown__list",
3013
3013
  `joy-dropdown__list--${e.justify}`,
@@ -3067,7 +3067,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3067
3067
  }, 512));
3068
3068
  }
3069
3069
  });
3070
- const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3070
+ const di = /* @__PURE__ */ A(ci, [["__scopeId", "data-v-a27687c9"]]), fi = ["aria-label"], yi = { class: "joy-filter-bar__wrapper" }, vi = /* @__PURE__ */ L({
3071
3071
  __name: "VJoyFilterBar",
3072
3072
  props: {
3073
3073
  ariaLabel: String
@@ -3078,13 +3078,13 @@ const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["ari
3078
3078
  role: "group",
3079
3079
  "aria-label": e.ariaLabel || "Filter bar"
3080
3080
  }, [
3081
- b("div", yr, [
3081
+ b("div", yi, [
3082
3082
  k(t.$slots, "default", {}, void 0, !0)
3083
3083
  ])
3084
- ], 8, fr));
3084
+ ], 8, fi));
3085
3085
  }
3086
3086
  });
3087
- const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3087
+ const pi = /* @__PURE__ */ A(vi, [["__scopeId", "data-v-114f8274"]]), mi = /* @__PURE__ */ L({
3088
3088
  __name: "VJoyFilterBarButton",
3089
3089
  props: {
3090
3090
  label: String,
@@ -3099,17 +3099,17 @@ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3099
3099
  },
3100
3100
  emits: ["filter"],
3101
3101
  setup(e, { emit: t }) {
3102
- const n = e, a = it("VJoyDropdownContext", null);
3102
+ const n = e, a = rt("VJoyDropdownContext", null);
3103
3103
  function o() {
3104
3104
  t("filter", n.value);
3105
3105
  }
3106
- return (r, l) => (y(), g("button", {
3106
+ return (i, l) => (y(), g("button", {
3107
3107
  type: "button",
3108
3108
  class: $(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3109
3109
  onClick: o
3110
3110
  }, [
3111
3111
  z(F(e.label) + " ", 1),
3112
- k(r.$slots, "default", {}, void 0, !0),
3112
+ k(i.$slots, "default", {}, void 0, !0),
3113
3113
  T(a) ? (y(), B(W, {
3114
3114
  key: 0,
3115
3115
  class: "joy-filter-bar-button__icon",
@@ -3120,20 +3120,20 @@ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3120
3120
  ], 2));
3121
3121
  }
3122
3122
  });
3123
- const br = /* @__PURE__ */ A(mr, [["__scopeId", "data-v-8f87fed1"]]), gr = { class: "joy-footer" }, hr = { class: "joy-footer__left" }, _r = { class: "joy-footer__right" }, wr = /* @__PURE__ */ L({
3123
+ const bi = /* @__PURE__ */ A(mi, [["__scopeId", "data-v-8f87fed1"]]), gi = { class: "joy-footer" }, hi = { class: "joy-footer__left" }, _i = { class: "joy-footer__right" }, wi = /* @__PURE__ */ L({
3124
3124
  __name: "VJoyFooter",
3125
3125
  setup(e) {
3126
- return (t, n) => (y(), g("footer", gr, [
3127
- b("div", hr, [
3126
+ return (t, n) => (y(), g("footer", gi, [
3127
+ b("div", hi, [
3128
3128
  k(t.$slots, "footer-left", {}, void 0, !0)
3129
3129
  ]),
3130
- b("div", _r, [
3130
+ b("div", _i, [
3131
3131
  k(t.$slots, "footer-right", {}, void 0, !0)
3132
3132
  ])
3133
3133
  ]));
3134
3134
  }
3135
3135
  });
3136
- const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3136
+ const Si = /* @__PURE__ */ A(wi, [["__scopeId", "data-v-e174785d"]]), ki = ["aria-hidden"], xi = /* @__PURE__ */ L({
3137
3137
  __name: "VJoyFormError",
3138
3138
  props: {
3139
3139
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3159,10 +3159,10 @@ const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["ari
3159
3159
  z(F(e.noHtmlErrorText), 1)
3160
3160
  ], !0)
3161
3161
  ])
3162
- ], 10, kr));
3162
+ ], 10, ki));
3163
3163
  }
3164
3164
  });
3165
- const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3165
+ const En = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-581fd33b"]]), Ci = /* @__PURE__ */ L({
3166
3166
  __name: "VJoyFormFieldSkeleton",
3167
3167
  props: {
3168
3168
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3182,16 +3182,16 @@ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3182
3182
  }
3183
3183
  },
3184
3184
  setup(e, { expose: t }) {
3185
- const n = e, a = it("VJoyWrapperContext", {}), o = V(() => {
3186
- const r = a.direction === "column" ? "auto" : null;
3185
+ const n = e, a = rt("VJoyWrapperContext", {}), o = V(() => {
3186
+ const i = a.direction === "column" ? "auto" : null;
3187
3187
  if (!n.width && n.flex === "1") {
3188
3188
  const u = ["1", "0"];
3189
- return r && u.push(r), u.join(" ");
3189
+ return i && u.push(i), u.join(" ");
3190
3190
  }
3191
- const l = [n.flex || "1", "0"], i = n.width || r;
3192
- return i && l.push(i), l.join(" ");
3191
+ const l = [n.flex || "1", "0"], r = n.width || i;
3192
+ return r && l.push(r), l.join(" ");
3193
3193
  });
3194
- return t({ flexStyle: o }), (r, l) => (y(), g("div", {
3194
+ return t({ flexStyle: o }), (i, l) => (y(), g("div", {
3195
3195
  "aria-hidden": "true",
3196
3196
  class: $(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3197
3197
  style: ce({
@@ -3201,9 +3201,9 @@ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3201
3201
  }, null, 6));
3202
3202
  }
3203
3203
  });
3204
- const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { class: "joy-funnel__header" }, Vr = { class: "funnel__header__inner" }, Tr = { class: "joy-funnel__stepper" }, Ir = /* @__PURE__ */ mn('<div class="shapes__wrapper" data-v-0abeb951><div class="shape_1" data-v-0abeb951></div><div class="shape_2" data-v-0abeb951></div><div class="shape_3" data-v-0abeb951></div><div class="shape_4" data-v-0abeb951></div></div>', 1), Lr = [
3205
- Ir
3206
- ], Er = { class: "joy-funnel__footer" }, Br = /* @__PURE__ */ L({
3204
+ const ji = /* @__PURE__ */ A(Ci, [["__scopeId", "data-v-8a4ecbad"]]), $i = { class: "joy-funnel__header" }, Vi = { class: "funnel__header__inner" }, Ti = { class: "joy-funnel__stepper" }, Ii = /* @__PURE__ */ mn('<div class="shapes__wrapper" data-v-0abeb951><div class="shape_1" data-v-0abeb951></div><div class="shape_2" data-v-0abeb951></div><div class="shape_3" data-v-0abeb951></div><div class="shape_4" data-v-0abeb951></div></div>', 1), Li = [
3205
+ Ii
3206
+ ], Ei = { class: "joy-funnel__footer" }, Bi = /* @__PURE__ */ L({
3207
3207
  __name: "VJoyFunnel",
3208
3208
  props: {
3209
3209
  /**
@@ -3225,34 +3225,34 @@ const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3225
3225
  setup(e, { expose: t }) {
3226
3226
  const n = C(!0), a = X();
3227
3227
  function o(l) {
3228
- const i = l.currentTarget;
3229
- n.value = i.scrollTop === 0;
3228
+ const r = l.currentTarget;
3229
+ n.value = r.scrollTop === 0;
3230
3230
  }
3231
- const r = V(() => !!a["funnel-stepper"]);
3231
+ const i = V(() => !!a["funnel-stepper"]);
3232
3232
  return t({
3233
3233
  scrollOnTop: n,
3234
- hasStepperSlot: r
3235
- }), (l, i) => (y(), g("div", {
3234
+ hasStepperSlot: i
3235
+ }), (l, r) => (y(), g("div", {
3236
3236
  class: $([
3237
3237
  "joy-funnel",
3238
3238
  {
3239
3239
  "joy-funnel--no-border": n.value,
3240
- "joy-funnel--no-stepper": !r.value
3240
+ "joy-funnel--no-stepper": !i.value
3241
3241
  }
3242
3242
  ])
3243
3243
  }, [
3244
- b("div", $r, [
3245
- b("div", Vr, [
3244
+ b("div", $i, [
3245
+ b("div", Vi, [
3246
3246
  k(l.$slots, "funnel-header", {}, void 0, !0)
3247
3247
  ]),
3248
- b("div", Tr, [
3248
+ b("div", Ti, [
3249
3249
  k(l.$slots, "funnel-stepper", {}, void 0, !0)
3250
3250
  ])
3251
3251
  ]),
3252
3252
  e.hideShapes ? x("", !0) : (y(), g("div", {
3253
3253
  key: 0,
3254
3254
  class: $(["joy-funnel__shapes", { "joy-funnel__shapes--strategy": e.profile === "strategy" }])
3255
- }, Lr, 2)),
3255
+ }, Li, 2)),
3256
3256
  b("div", {
3257
3257
  class: "joy-funnel__scrollable",
3258
3258
  onScroll: o
@@ -3263,26 +3263,26 @@ const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3263
3263
  k(l.$slots, "default", {}, void 0, !0)
3264
3264
  ], 2)
3265
3265
  ], 32),
3266
- b("div", Er, [
3266
+ b("div", Ei, [
3267
3267
  k(l.$slots, "funnel-footer", {}, void 0, !0)
3268
3268
  ])
3269
3269
  ], 2));
3270
3270
  }
3271
3271
  });
3272
- const Ar = /* @__PURE__ */ A(Br, [["__scopeId", "data-v-0abeb951"]]), Nr = { class: "joy-header" }, Or = { class: "joy-header__left" }, Jr = { class: "joy-header__right" }, Fr = /* @__PURE__ */ L({
3272
+ const Ai = /* @__PURE__ */ A(Bi, [["__scopeId", "data-v-0abeb951"]]), Ni = { class: "joy-header" }, Oi = { class: "joy-header__left" }, Ji = { class: "joy-header__right" }, Fi = /* @__PURE__ */ L({
3273
3273
  __name: "VJoyHeader",
3274
3274
  setup(e) {
3275
- return (t, n) => (y(), g("header", Nr, [
3276
- b("div", Or, [
3275
+ return (t, n) => (y(), g("header", Ni, [
3276
+ b("div", Oi, [
3277
3277
  k(t.$slots, "header-left", {}, void 0, !0)
3278
3278
  ]),
3279
- b("div", Jr, [
3279
+ b("div", Ji, [
3280
3280
  k(t.$slots, "header-right", {}, void 0, !0)
3281
3281
  ])
3282
3282
  ]));
3283
3283
  }
3284
3284
  });
3285
- const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Dr = { class: "joy-highlight--text" }, Mr = { key: 0 }, zr = /* @__PURE__ */ L({
3285
+ const Pi = /* @__PURE__ */ A(Fi, [["__scopeId", "data-v-7928856e"]]), Ri = [...Qa], Di = { class: "joy-highlight--text" }, Mi = { key: 0 }, zi = /* @__PURE__ */ L({
3286
3286
  __name: "VJoyHighlight",
3287
3287
  props: {
3288
3288
  accent: {
@@ -3300,7 +3300,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3300
3300
  type: String,
3301
3301
  default: "neutral",
3302
3302
  validator(e) {
3303
- return Rr.includes(e);
3303
+ return Ri.includes(e);
3304
3304
  }
3305
3305
  }
3306
3306
  },
@@ -3308,7 +3308,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3308
3308
  const n = e, a = V(() => n.icon ? n.icon : gn(n.level));
3309
3309
  return t({
3310
3310
  getRelevantIcon: a
3311
- }), (o, r) => (y(), g("div", {
3311
+ }), (o, i) => (y(), g("div", {
3312
3312
  class: $([
3313
3313
  "joy-highlight",
3314
3314
  `joy-highlight_${e.level}`,
@@ -3322,8 +3322,8 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3322
3322
  key: 0,
3323
3323
  name: a.value
3324
3324
  }, null, 8, ["name"])) : x("", !0),
3325
- b("div", Dr, [
3326
- o.$slots["highlight-title"] ? (y(), g("strong", Mr, [
3325
+ b("div", Di, [
3326
+ o.$slots["highlight-title"] ? (y(), g("strong", Mi, [
3327
3327
  k(o.$slots, "highlight-title", {}, void 0, !0)
3328
3328
  ])) : x("", !0),
3329
3329
  k(o.$slots, "default", {}, void 0, !0)
@@ -3331,7 +3331,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3331
3331
  ], 2));
3332
3332
  }
3333
3333
  });
3334
- const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3334
+ const qi = /* @__PURE__ */ A(zi, [["__scopeId", "data-v-45c2fbf4"]]), Hi = ["aria-label"], Wi = /* @__PURE__ */ L({
3335
3335
  __name: "VJoyIndicator",
3336
3336
  props: {
3337
3337
  /** Value is used for the parent v-model. Mandatory */
@@ -3361,11 +3361,11 @@ const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["ari
3361
3361
  type: "button",
3362
3362
  class: $(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3363
3363
  "aria-label": e.ariaLabel || e.value.toString()
3364
- }, null, 10, Hr)
3364
+ }, null, 10, Hi)
3365
3365
  ], 2));
3366
3366
  }
3367
3367
  });
3368
- const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @__PURE__ */ L({
3368
+ const Bn = /* @__PURE__ */ A(Wi, [["__scopeId", "data-v-2babb982"]]), Ui = /* @__PURE__ */ L({
3369
3369
  __name: "VJoyIndicators",
3370
3370
  props: {
3371
3371
  variant: {
@@ -3378,54 +3378,54 @@ const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @_
3378
3378
  },
3379
3379
  emits: ["update:modelValue"],
3380
3380
  setup(e, { expose: t, emit: n }) {
3381
- const a = e, o = X(), r = C(a.modelValue), l = V(() => {
3381
+ const a = e, o = X(), i = C(a.modelValue), l = V(() => {
3382
3382
  const c = o.default();
3383
3383
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(u) : c.filter(u);
3384
3384
  });
3385
- function i(c) {
3386
- return r.value === c.props.value;
3385
+ function r(c) {
3386
+ return i.value === c.props.value;
3387
3387
  }
3388
3388
  function u(c) {
3389
3389
  var f;
3390
3390
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyIndicator";
3391
3391
  }
3392
3392
  function d(c) {
3393
- n("update:modelValue", c.props.value), r.value = c.props.value;
3393
+ n("update:modelValue", c.props.value), i.value = c.props.value;
3394
3394
  }
3395
3395
  return Q(
3396
3396
  () => a.modelValue,
3397
3397
  (c, f) => {
3398
- c !== f && (r.value = c);
3398
+ c !== f && (i.value = c);
3399
3399
  }
3400
3400
  ), t({
3401
3401
  indicators: l,
3402
- isSelected: i
3402
+ isSelected: r
3403
3403
  }), (c, f) => (y(), g("ul", {
3404
3404
  class: $(["joy-indicators", `joy-indicators--${e.variant}`])
3405
3405
  }, [
3406
3406
  (y(!0), g(K, null, Y(l.value, (p) => (y(), B(T(Bn), te({
3407
3407
  key: p.props.value
3408
3408
  }, { ...p.props, variant: e.variant }, {
3409
- selected: i(p),
3409
+ selected: r(p),
3410
3410
  onClick: (s) => d(p)
3411
3411
  }), null, 16, ["selected", "onClick"]))), 128))
3412
3412
  ], 2));
3413
3413
  }
3414
3414
  });
3415
- const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["small", "medium", "large"], Yr = {
3415
+ const Gi = /* @__PURE__ */ A(Ui, [["__scopeId", "data-v-1bac2aa7"]]), Ki = ["small", "medium", "large"], Yi = {
3416
3416
  key: 0,
3417
3417
  class: "joy-label-required"
3418
- }, Zr = {
3418
+ }, Zi = {
3419
3419
  key: 1,
3420
3420
  class: "joy-label-optional"
3421
- }, Qr = /* @__PURE__ */ L({
3421
+ }, Qi = /* @__PURE__ */ L({
3422
3422
  __name: "VJoyLabel",
3423
3423
  props: {
3424
3424
  size: {
3425
3425
  type: String,
3426
3426
  default: "medium",
3427
3427
  validator(e) {
3428
- return Kr.includes(e);
3428
+ return Ki.includes(e);
3429
3429
  }
3430
3430
  },
3431
3431
  tagName: {
@@ -3449,14 +3449,14 @@ const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["sma
3449
3449
  k(t.$slots, "default", {}, () => [
3450
3450
  z(F(e.text), 1)
3451
3451
  ], !0),
3452
- e.required ? (y(), g("span", Yr, "*")) : x("", !0),
3453
- e.optionalLabel ? (y(), g("span", Zr, "- " + F(e.optionalLabel), 1)) : x("", !0)
3452
+ e.required ? (y(), g("span", Yi, "*")) : x("", !0),
3453
+ e.optionalLabel ? (y(), g("span", Zi, "- " + F(e.optionalLabel), 1)) : x("", !0)
3454
3454
  ]),
3455
3455
  _: 3
3456
3456
  }, 16, ["class"]));
3457
3457
  }
3458
3458
  });
3459
- const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["large", "medium", "small"], ei = ["id", "name", "required", "disabled", "readonly", "type", "value"], ti = ["data-unit"], ni = /* @__PURE__ */ L({
3459
+ const je = /* @__PURE__ */ A(Qi, [["__scopeId", "data-v-388a7c56"]]), Xi = ["large", "medium", "small"], er = ["id", "name", "required", "disabled", "readonly", "type", "value"], tr = ["data-unit"], nr = /* @__PURE__ */ L({
3460
3460
  inheritAttrs: !1,
3461
3461
  __name: "VJoyInput",
3462
3462
  props: {
@@ -3518,7 +3518,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3518
3518
  type: String,
3519
3519
  default: "medium",
3520
3520
  validator(e) {
3521
- return Xr.includes(e);
3521
+ return Xi.includes(e);
3522
3522
  }
3523
3523
  },
3524
3524
  type: {
@@ -3535,11 +3535,11 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3535
3535
  },
3536
3536
  emits: ["update:modelValue"],
3537
3537
  setup(e, { expose: t, emit: n }) {
3538
- const a = e, o = C(), r = C(), l = Ae(), i = X(), u = C(!1), d = C(!1);
3538
+ const a = e, o = C(), i = C(), l = Ae(), r = X(), u = C(!1), d = C(!1);
3539
3539
  Bt(o, a.autofocus);
3540
- const c = V(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), f = V(() => i.default && i.default()), p = V(() => {
3540
+ const c = V(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), f = V(() => r.default && r.default()), p = V(() => {
3541
3541
  var h, E;
3542
- return !!((h = r.value) != null && h.closest("joy-wrapper")) || !!((E = r.value) != null && E.closest(".joy-wrapper"));
3542
+ return !!((h = i.value) != null && h.closest("joy-wrapper")) || !!((E = i.value) != null && E.closest(".joy-wrapper"));
3543
3543
  }), s = C(a.type), m = V(() => a.type === "password" && !!a.modelValue);
3544
3544
  na(() => {
3545
3545
  s.value = a.unit ? "number" : a.type;
@@ -3574,7 +3574,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3574
3574
  focus: v
3575
3575
  }), (h, E) => (y(), g("div", {
3576
3576
  ref_key: "root",
3577
- ref: r,
3577
+ ref: i,
3578
3578
  class: $([`joy-input--${a.size}`])
3579
3579
  }, [
3580
3580
  b("div", {
@@ -3638,7 +3638,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3638
3638
  (...N) => _.onInput && _.onInput(...N)),
3639
3639
  onChange: E[3] || (E[3] = //@ts-ignore
3640
3640
  (...N) => _.onChange && _.onChange(...N))
3641
- }), null, 16, ei),
3641
+ }), null, 16, er),
3642
3642
  c.value ? (y(), B(de, {
3643
3643
  key: 0,
3644
3644
  class: "joy-input--clear",
@@ -3663,13 +3663,13 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3663
3663
  key: 3,
3664
3664
  "data-unit": e.unit,
3665
3665
  class: "joy-input--unit"
3666
- }, null, 8, ti)) : x("", !0)
3666
+ }, null, 8, tr)) : x("", !0)
3667
3667
  ], 2)
3668
3668
  ], 2)
3669
3669
  ], 2));
3670
3670
  }
3671
3671
  });
3672
- const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3672
+ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-3dafc1cb"]]), or = ["teal", "white"], lr = ["href"], ir = /* @__PURE__ */ L({
3673
3673
  __name: "VJoyLink",
3674
3674
  props: {
3675
3675
  href: {
@@ -3680,7 +3680,7 @@ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["tea
3680
3680
  type: String,
3681
3681
  default: "teal",
3682
3682
  validator(e) {
3683
- return oi.includes(e);
3683
+ return or.includes(e);
3684
3684
  }
3685
3685
  },
3686
3686
  icon: String,
@@ -3697,10 +3697,10 @@ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["tea
3697
3697
  k(t.$slots, "default", {}, () => [
3698
3698
  z(F(e.text), 1)
3699
3699
  ], !0)
3700
- ], 16, li));
3700
+ ], 16, lr));
3701
3701
  }
3702
3702
  });
3703
- const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tabindex", "aria-activedescendant", "aria-label"], ui = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ci = { "aria-hidden": "true" }, di = /* @__PURE__ */ L({
3703
+ const rr = /* @__PURE__ */ A(ir, [["__scopeId", "data-v-5540214e"]]), sr = ["tabindex", "aria-activedescendant", "aria-label"], ur = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], cr = { "aria-hidden": "true" }, dr = /* @__PURE__ */ L({
3704
3704
  __name: "VJoyMenu",
3705
3705
  props: {
3706
3706
  /**
@@ -3721,11 +3721,11 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3721
3721
  },
3722
3722
  emits: ["selectItem"],
3723
3723
  setup(e, { expose: t, emit: n }) {
3724
- const a = C(), o = C(0), r = C();
3724
+ const a = C(), o = C(0), i = C();
3725
3725
  function l(f) {
3726
3726
  f.disabled || n("selectItem", f);
3727
3727
  }
3728
- function i() {
3728
+ function r() {
3729
3729
  var f;
3730
3730
  return Array.from(((f = a.value) == null ? void 0 : f.querySelectorAll("li")) || []).filter((p) => p.getAttribute("aria-disabled") !== "true");
3731
3731
  }
@@ -3733,16 +3733,16 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3733
3733
  return f.id || _e();
3734
3734
  }
3735
3735
  function d() {
3736
- return i().find((f) => f === document.activeElement);
3736
+ return r().find((f) => f === document.activeElement);
3737
3737
  }
3738
3738
  function c(f) {
3739
- if (d() && f.key === " " && f.preventDefault(), f.key === "Tab" && (r.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key)) {
3739
+ if (d() && f.key === " " && f.preventDefault(), f.key === "Tab" && (i.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key)) {
3740
3740
  f.preventDefault();
3741
- const p = i(), s = d();
3741
+ const p = r(), s = d();
3742
3742
  let m = p.indexOf(s);
3743
3743
  if (f.key === "ArrowDown" ? m++ : f.key === "ArrowUp" ? m-- : f.key === "Home" ? m = 0 : f.key === "End" && (m = p.length - 1), m < 0 && (m = 0), m > p.length - 1)
3744
3744
  return;
3745
- r.value = p[m].id, p[m].focus();
3745
+ i.value = p[m].id, p[m].focus();
3746
3746
  }
3747
3747
  if (f.key === "Enter") {
3748
3748
  const p = d();
@@ -3753,8 +3753,8 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3753
3753
  }
3754
3754
  }
3755
3755
  return t({
3756
- activeMenuItemId: r,
3757
- getItems: i,
3756
+ activeMenuItemId: i,
3757
+ getItems: r,
3758
3758
  getItemId: u,
3759
3759
  getFocusedItem: d
3760
3760
  }), (f, p) => (y(), g("ul", {
@@ -3762,7 +3762,7 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3762
3762
  ref: a,
3763
3763
  class: "joy-menu-list joy-menu-list__items",
3764
3764
  tabindex: o.value,
3765
- "aria-activedescendant": r.value,
3765
+ "aria-activedescendant": i.value,
3766
3766
  "aria-label": e.ariaLabel,
3767
3767
  role: "menu",
3768
3768
  onKeydown: c
@@ -3786,7 +3786,7 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3786
3786
  role: "menuitem",
3787
3787
  onClick: (m) => l(s)
3788
3788
  }, [
3789
- b("div", ci, [
3789
+ b("div", cr, [
3790
3790
  k(f.$slots, "menu-item", ze(qe(s)), () => [
3791
3791
  s.icon ? (y(), B(W, {
3792
3792
  key: 0,
@@ -3795,13 +3795,13 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3795
3795
  b("span", null, F(s.label), 1)
3796
3796
  ], !0)
3797
3797
  ])
3798
- ], 10, ui))), 128))
3799
- ], 40, si));
3798
+ ], 10, ur))), 128))
3799
+ ], 40, sr));
3800
3800
  }
3801
3801
  });
3802
- const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3802
+ const fr = /* @__PURE__ */ A(dr, [["__scopeId", "data-v-4391a0bd"]]), yr = ["id"], vr = {
3803
3803
  class: /* @__PURE__ */ $(["joy-multi-checkbox"])
3804
- }, pi = /* @__PURE__ */ L({
3804
+ }, pr = /* @__PURE__ */ L({
3805
3805
  __name: "VJoyMultiCheckbox",
3806
3806
  props: {
3807
3807
  options: {
@@ -3837,14 +3837,14 @@ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3837
3837
  emits: ["update:value"],
3838
3838
  setup(e, { emit: t }) {
3839
3839
  const n = e;
3840
- function a(r) {
3841
- return n.value.includes(r.value);
3840
+ function a(i) {
3841
+ return n.value.includes(i.value);
3842
3842
  }
3843
- function o(r, l) {
3844
- let i = [...n.value || []];
3845
- l ? i.push(r) : i.splice(i.indexOf(r), 1), t("update:value", i);
3843
+ function o(i, l) {
3844
+ let r = [...n.value || []];
3845
+ l ? r.push(i) : r.splice(r.indexOf(i), 1), t("update:value", r);
3846
3846
  }
3847
- return (r, l) => (y(), g("fieldset", {
3847
+ return (i, l) => (y(), g("fieldset", {
3848
3848
  id: e.id,
3849
3849
  class: "joy-multi-checkbox__wrapper"
3850
3850
  }, [
@@ -3860,27 +3860,27 @@ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3860
3860
  ]),
3861
3861
  _: 1
3862
3862
  }, 8, ["required", "optional-label", "size"])) : x("", !0),
3863
- b("div", vi, [
3864
- (y(!0), g(K, null, Y(e.options, (i) => (y(), B(T(Et), {
3865
- id: i.id,
3866
- key: i.id,
3867
- name: i.name,
3868
- value: i.value,
3869
- checked: a(i),
3870
- "onUpdate:checked": (u) => o(i.value, u)
3863
+ b("div", vr, [
3864
+ (y(!0), g(K, null, Y(e.options, (r) => (y(), B(T(Et), {
3865
+ id: r.id,
3866
+ key: r.id,
3867
+ name: r.name,
3868
+ value: r.value,
3869
+ checked: a(r),
3870
+ "onUpdate:checked": (u) => o(r.value, u)
3871
3871
  }, {
3872
3872
  default: M(() => [
3873
- k(r.$slots, "checkbox", ze(qe(i)), () => [
3874
- z(F(i.label), 1)
3873
+ k(i.$slots, "checkbox", ze(qe(r)), () => [
3874
+ z(F(r.label), 1)
3875
3875
  ], !0)
3876
3876
  ]),
3877
3877
  _: 2
3878
3878
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
3879
3879
  ])
3880
- ], 8, yi));
3880
+ ], 8, yr));
3881
3881
  }
3882
3882
  });
3883
- const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3883
+ const mr = /* @__PURE__ */ A(pr, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3884
3884
  __name: "PaginationIcon",
3885
3885
  props: {
3886
3886
  label: {
@@ -3911,7 +3911,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3911
3911
  onClick: n[0] || (n[0] = (a) => t.$emit("click"))
3912
3912
  }, null, 8, ["aria-label", "title", "icon", "disabled"]));
3913
3913
  }
3914
- }), bi = ["aria-label", "data-current"], gi = { class: "joy-pagination__previous" }, hi = ["aria-current", "onClick"], _i = { class: "joy-pagination__next" }, wi = 6, Si = /* @__PURE__ */ L({
3914
+ }), br = ["aria-label", "data-current"], gr = { class: "joy-pagination__previous" }, hr = ["aria-current", "onClick"], _r = { class: "joy-pagination__next" }, wr = 6, Sr = /* @__PURE__ */ L({
3915
3915
  __name: "VJoyPagination",
3916
3916
  props: {
3917
3917
  /** Current page number */
@@ -3943,13 +3943,13 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3943
3943
  emits: ["update:current-page"],
3944
3944
  setup(e, { emit: t }) {
3945
3945
  const n = e, a = V(() => {
3946
- const d = r.value.length;
3947
- return r.value[d - 1] !== r.value[d - 2] + 1;
3948
- }), o = V(() => r.value[0] !== r.value[1] - 1), r = V(() => n.totalPages === 1 ? [1] : n.totalPages < wi ? i(2, n.totalPages - 1) : u(n.currentPage));
3946
+ const d = i.value.length;
3947
+ return i.value[d - 1] !== i.value[d - 2] + 1;
3948
+ }), o = V(() => i.value[0] !== i.value[1] - 1), i = V(() => n.totalPages === 1 ? [1] : n.totalPages < wr ? r(2, n.totalPages - 1) : u(n.currentPage));
3949
3949
  function l(d) {
3950
3950
  t("update:current-page", d);
3951
3951
  }
3952
- function i(d, c) {
3952
+ function r(d, c) {
3953
3953
  const f = [];
3954
3954
  f.push(1);
3955
3955
  for (let p = d; p <= c; p++)
@@ -3958,7 +3958,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3958
3958
  }
3959
3959
  function u(d) {
3960
3960
  let c = d - 2, f = d + 1;
3961
- return c <= 1 && (c = 2, f = 5), f >= n.totalPages && (f = n.totalPages - 1, c = f - 3), i(c, f);
3961
+ return c <= 1 && (c = 2, f = 5), f >= n.totalPages && (f = n.totalPages - 1, c = f - 3), r(c, f);
3962
3962
  }
3963
3963
  return (d, c) => (y(), g("nav", {
3964
3964
  role: "navigation",
@@ -3967,7 +3967,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3967
3967
  "data-current": e.currentPage
3968
3968
  }, [
3969
3969
  b("ul", null, [
3970
- b("li", gi, [
3970
+ b("li", gr, [
3971
3971
  k(d.$slots, "pagination-prev", {}, () => [
3972
3972
  U(sn, {
3973
3973
  label: e.labelPrev,
@@ -3978,7 +3978,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3978
3978
  ]),
3979
3979
  b("li", null, [
3980
3980
  b("ul", null, [
3981
- (y(!0), g(K, null, Y(r.value, (f) => (y(), g("li", { key: f }, [
3981
+ (y(!0), g(K, null, Y(i.value, (f) => (y(), g("li", { key: f }, [
3982
3982
  b("button", {
3983
3983
  type: "button",
3984
3984
  "aria-current": f === e.currentPage ? "true" : "false",
@@ -3988,11 +3988,11 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3988
3988
  "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && f === e.totalPages && a.value
3989
3989
  }),
3990
3990
  onClick: (p) => l(f)
3991
- }, F(f), 11, hi)
3991
+ }, F(f), 11, hr)
3992
3992
  ]))), 128))
3993
3993
  ])
3994
3994
  ]),
3995
- b("li", _i, [
3995
+ b("li", _r, [
3996
3996
  k(d.$slots, "pagination-next", {}, () => [
3997
3997
  U(sn, {
3998
3998
  next: "",
@@ -4003,22 +4003,22 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
4003
4003
  ], !0)
4004
4004
  ])
4005
4005
  ])
4006
- ], 8, bi));
4006
+ ], 8, br));
4007
4007
  }
4008
4008
  });
4009
- const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
4009
+ const kr = /* @__PURE__ */ A(Sr, [["__scopeId", "data-v-ca6b555e"]]), xr = ["small", "medium", "large"], Cr = ["small", "large"], jr = {
4010
4010
  key: 0,
4011
4011
  class: /* @__PURE__ */ $(["joy-panel__header"])
4012
- }, $i = {
4012
+ }, $r = {
4013
4013
  key: 1,
4014
4014
  class: "joy-panel__header-action"
4015
- }, Vi = {
4015
+ }, Vr = {
4016
4016
  key: 2,
4017
4017
  class: "joy-panel__header-subtitle"
4018
- }, Ti = { class: "joy-panel__body" }, Ii = {
4018
+ }, Tr = { class: "joy-panel__body" }, Ir = {
4019
4019
  key: 1,
4020
4020
  class: "joy-panel__footer"
4021
- }, Li = /* @__PURE__ */ L({
4021
+ }, Lr = /* @__PURE__ */ L({
4022
4022
  __name: "VJoyPanel",
4023
4023
  props: {
4024
4024
  flex: {
@@ -4032,14 +4032,14 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4032
4032
  type: String,
4033
4033
  default: "medium",
4034
4034
  validator(e) {
4035
- return xi.includes(e);
4035
+ return xr.includes(e);
4036
4036
  }
4037
4037
  },
4038
4038
  titleSize: {
4039
4039
  type: String,
4040
4040
  default: "large",
4041
4041
  validator(e) {
4042
- return Ci.includes(e);
4042
+ return Cr.includes(e);
4043
4043
  }
4044
4044
  },
4045
4045
  loading: {
@@ -4052,8 +4052,8 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4052
4052
  }
4053
4053
  },
4054
4054
  setup(e) {
4055
- const t = it("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = X(), o = C(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
4056
- return (l, i) => (y(), g("section", {
4055
+ const t = rt("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = X(), o = C(), i = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
4056
+ return (l, r) => (y(), g("section", {
4057
4057
  ref_key: "panel",
4058
4058
  ref: o,
4059
4059
  style: ce({ flex: e.flex }),
@@ -4066,24 +4066,24 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4066
4066
  }
4067
4067
  ])
4068
4068
  }, [
4069
- r.value ? (y(), g("header", ji, [
4069
+ i.value ? (y(), g("header", jr, [
4070
4070
  T(a)["panel-title"] ? (y(), g("div", {
4071
4071
  key: 0,
4072
4072
  class: $(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4073
4073
  }, [
4074
4074
  k(l.$slots, "panel-title", {}, void 0, !0)
4075
4075
  ], 2)) : x("", !0),
4076
- T(a)["panel-title-action"] ? (y(), g("div", $i, [
4076
+ T(a)["panel-title-action"] ? (y(), g("div", $r, [
4077
4077
  k(l.$slots, "panel-title-action", {}, void 0, !0)
4078
4078
  ])) : x("", !0),
4079
- T(a)["panel-subtitle"] ? (y(), g("div", Vi, [
4079
+ T(a)["panel-subtitle"] ? (y(), g("div", Vr, [
4080
4080
  k(l.$slots, "panel-subtitle", {}, void 0, !0)
4081
4081
  ])) : x("", !0)
4082
4082
  ])) : x("", !0),
4083
- b("div", Ti, [
4083
+ b("div", Tr, [
4084
4084
  k(l.$slots, "panel-body", {}, void 0, !0)
4085
4085
  ]),
4086
- T(a)["panel-action"] ? (y(), g("footer", Ii, [
4086
+ T(a)["panel-action"] ? (y(), g("footer", Ir, [
4087
4087
  k(l.$slots, "panel-action", {}, void 0, !0)
4088
4088
  ])) : x("", !0),
4089
4089
  e.loading ? (y(), B(T(At), {
@@ -4099,27 +4099,27 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4099
4099
  ], 6));
4100
4100
  }
4101
4101
  });
4102
- const Ei = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4102
+ const Er = /* @__PURE__ */ A(Lr, [["__scopeId", "data-v-4a8b703c"]]), Br = { class: "joy-panel-section" }, Ar = {
4103
4103
  key: 0,
4104
4104
  class: "joy-panel-section__title"
4105
- }, Ni = {
4105
+ }, Nr = {
4106
4106
  key: 1,
4107
4107
  class: "joy-panel-section__content"
4108
- }, Oi = /* @__PURE__ */ L({
4108
+ }, Or = /* @__PURE__ */ L({
4109
4109
  __name: "VJoyPanelSection",
4110
4110
  setup(e) {
4111
4111
  const t = X();
4112
- return (n, a) => (y(), g("div", Bi, [
4113
- T(t)["panel-section-title"] ? (y(), g("div", Ai, [
4112
+ return (n, a) => (y(), g("div", Br, [
4113
+ T(t)["panel-section-title"] ? (y(), g("div", Ar, [
4114
4114
  k(n.$slots, "panel-section-title", {}, void 0, !0)
4115
4115
  ])) : x("", !0),
4116
- T(t)["panel-section-content"] ? (y(), g("div", Ni, [
4116
+ T(t)["panel-section-content"] ? (y(), g("div", Nr, [
4117
4117
  k(n.$slots, "panel-section-content", {}, void 0, !0)
4118
4118
  ])) : x("", !0)
4119
4119
  ]));
4120
4120
  }
4121
4121
  });
4122
- const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4122
+ const Jr = /* @__PURE__ */ A(Or, [["__scopeId", "data-v-d88510ab"]]), Fr = { class: "joy-progress-bar-wrapper" }, Pr = /* @__PURE__ */ L({
4123
4123
  __name: "VJoyProgressBar",
4124
4124
  props: {
4125
4125
  color: {
@@ -4146,14 +4146,14 @@ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4146
4146
  }
4147
4147
  },
4148
4148
  setup(e, { expose: t }) {
4149
- const n = e, a = C(0), o = V(() => r());
4150
- function r() {
4149
+ const n = e, a = C(0), o = V(() => i());
4150
+ function i() {
4151
4151
  return n.percentage ? a.value = n.percentage : n.currentStep && n.steps ? a.value = Math.round(n.currentStep / n.steps * 100) : a.value = 0, a.value < 0 && (a.value = 0), a.value > 100 && (a.value = 100), a.value + "%";
4152
4152
  }
4153
4153
  return t({
4154
4154
  computeInnerWidth: o,
4155
4155
  computedPercentage: a
4156
- }), (l, i) => (y(), g("div", Fi, [
4156
+ }), (l, r) => (y(), g("div", Fr, [
4157
4157
  b("div", {
4158
4158
  class: $(["joy-progress-bar-inner", `joy-progress-bar-inner_${e.color}`]),
4159
4159
  style: ce({ width: o.value })
@@ -4161,7 +4161,7 @@ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4161
4161
  ]));
4162
4162
  }
4163
4163
  });
4164
- const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id", "value", "checked", "disabled", "required", "name"], Mi = { class: "joy-radio-label" }, zi = { class: "joy-radio-content__wrapper" }, qi = { class: "joy-radio-content" }, Hi = /* @__PURE__ */ L({
4164
+ const Rr = /* @__PURE__ */ A(Pr, [["__scopeId", "data-v-1b2b3de8"]]), Dr = ["id", "value", "checked", "disabled", "required", "name"], Mr = { class: "joy-radio-label" }, zr = { class: "joy-radio-content__wrapper" }, qr = { class: "joy-radio-content" }, Hr = /* @__PURE__ */ L({
4165
4165
  __name: "VJoyRadio",
4166
4166
  props: {
4167
4167
  disabled: {
@@ -4197,7 +4197,7 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4197
4197
  },
4198
4198
  emits: ["update:modelValue"],
4199
4199
  setup(e, { expose: t, emit: n }) {
4200
- const a = e, o = C(!1), r = C(!1), l = C(null), i = C(null), u = X(), d = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
4200
+ const a = e, o = C(!1), i = C(!1), l = C(null), r = C(null), u = X(), d = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
4201
4201
  function c() {
4202
4202
  o.value = !!u["expandable-content"] && d.value;
4203
4203
  }
@@ -4208,10 +4208,10 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4208
4208
  a.theme === "outline" && c();
4209
4209
  });
4210
4210
  function p() {
4211
- r.value = !0;
4211
+ i.value = !0;
4212
4212
  }
4213
4213
  function s() {
4214
- r.value = !1;
4214
+ i.value = !1;
4215
4215
  }
4216
4216
  return Q(
4217
4217
  () => a.modelValue,
@@ -4231,8 +4231,8 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4231
4231
  "joy-radio--checked": d.value,
4232
4232
  "joy-radio--disabled": e.disabled,
4233
4233
  "joy-radio--invalid": e.invalid,
4234
- "joy-radio--outline-focus": r.value && e.theme === "outline",
4235
- "joy-radio--focus": r.value && e.theme === "default"
4234
+ "joy-radio--outline-focus": i.value && e.theme === "outline",
4235
+ "joy-radio--focus": i.value && e.theme === "default"
4236
4236
  }
4237
4237
  ])
4238
4238
  }, [
@@ -4247,17 +4247,17 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4247
4247
  onChange: f,
4248
4248
  onFocus: p,
4249
4249
  onBlur: s
4250
- }, null, 40, Di),
4251
- b("span", Mi, [
4250
+ }, null, 40, Dr),
4251
+ b("span", Mr, [
4252
4252
  k(m.$slots, "default", {}, void 0, !0)
4253
4253
  ]),
4254
- b("div", zi, [
4255
- b("div", qi, [
4254
+ b("div", zr, [
4255
+ b("div", qr, [
4256
4256
  k(m.$slots, "radio-content", {}, void 0, !0)
4257
4257
  ]),
4258
4258
  b("div", {
4259
4259
  ref_key: "expandableElement",
4260
- ref: i,
4260
+ ref: r,
4261
4261
  class: $(["joy-radio-expandable", { "joy-radio-expandable--expanded": o.value }])
4262
4262
  }, [
4263
4263
  k(m.$slots, "expandable-content", {}, void 0, !0)
@@ -4266,7 +4266,7 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4266
4266
  ], 2));
4267
4267
  }
4268
4268
  });
4269
- const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4269
+ const Wr = /* @__PURE__ */ A(Hr, [["__scopeId", "data-v-dd46e26a"]]), Ur = ["form", "name"], Gr = /* @__PURE__ */ L({
4270
4270
  __name: "VJoyRadioGroup",
4271
4271
  props: {
4272
4272
  /**
@@ -4300,10 +4300,10 @@ const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["for
4300
4300
  }, [
4301
4301
  k(t.$slots, "default", {}, void 0, !0)
4302
4302
  ], 2)
4303
- ], 8, Ui));
4303
+ ], 8, Ur));
4304
4304
  }
4305
4305
  });
4306
- const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ariaLabel"], Zi = { class: "joy-rating-stars" }, Qi = { class: "joy-rating-stars__content" }, Xi = { key: 0 }, es = /* @__PURE__ */ L({
4306
+ const Kr = /* @__PURE__ */ A(Gr, [["__scopeId", "data-v-a77e7f95"]]), Yr = ["ariaLabel"], Zr = { class: "joy-rating-stars" }, Qr = { class: "joy-rating-stars__content" }, Xr = { key: 0 }, es = /* @__PURE__ */ L({
4307
4307
  __name: "VJoyRatingStars",
4308
4308
  props: {
4309
4309
  ratingValue: {
@@ -4321,29 +4321,29 @@ const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4321
4321
  },
4322
4322
  setup(e, { expose: t }) {
4323
4323
  const n = e, a = Ae(), o = V(() => {
4324
- let r = [], l = 0.24, i = 0.75;
4324
+ let i = [], l = 0.24, r = 0.75;
4325
4325
  for (let u = 0; u < 5; u++)
4326
- n.ratingValue > l ? r.push(n.ratingValue < i ? "half" : "full") : r.push("empty"), l += 1, i += 1;
4327
- return r;
4326
+ n.ratingValue > l ? i.push(n.ratingValue < r ? "half" : "full") : i.push("empty"), l += 1, r += 1;
4327
+ return i;
4328
4328
  });
4329
4329
  return t({
4330
4330
  setStars: o
4331
- }), (r, l) => (y(), g("div", {
4331
+ }), (i, l) => (y(), g("div", {
4332
4332
  role: "img",
4333
4333
  class: "joy-rating-stars__wrapper",
4334
4334
  ariaLabel: T(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
4335
4335
  }, [
4336
- b("ul", Zi, [
4337
- (y(!0), g(K, null, Y(o.value, (i, u) => (y(), g("li", {
4336
+ b("ul", Zr, [
4337
+ (y(!0), g(K, null, Y(o.value, (r, u) => (y(), g("li", {
4338
4338
  key: u,
4339
4339
  class: $([`joy-rating-stars--${e.size}`])
4340
4340
  }, [
4341
- i === "full" ? (y(), B(W, {
4341
+ r === "full" ? (y(), B(W, {
4342
4342
  key: 0,
4343
4343
  "aria-hidden": "true",
4344
4344
  name: "star-fill",
4345
4345
  color: "quaternary"
4346
- })) : i === "half" ? (y(), B(W, {
4346
+ })) : r === "half" ? (y(), B(W, {
4347
4347
  key: 1,
4348
4348
  "aria-hidden": "true",
4349
4349
  name: "star-half",
@@ -4356,12 +4356,12 @@ const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4356
4356
  }))
4357
4357
  ], 2))), 128))
4358
4358
  ]),
4359
- b("div", Qi, [
4360
- k(r.$slots, "rating-stars-content", {}, () => [
4361
- e.reviewCount ? (y(), g("span", Xi, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4359
+ b("div", Qr, [
4360
+ k(i.$slots, "rating-stars-content", {}, () => [
4361
+ e.reviewCount ? (y(), g("span", Xr, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4362
4362
  ], !0)
4363
4363
  ])
4364
- ], 8, Yi));
4364
+ ], 8, Yr));
4365
4365
  }
4366
4366
  });
4367
4367
  const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
@@ -4398,7 +4398,7 @@ const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { cla
4398
4398
  ], 2));
4399
4399
  }
4400
4400
  });
4401
- const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4401
+ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], is = /* @__PURE__ */ L({
4402
4402
  __name: "VJoySelect",
4403
4403
  props: {
4404
4404
  disabled: {
@@ -4442,7 +4442,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4442
4442
  },
4443
4443
  emits: ["update:modelValue"],
4444
4444
  setup(e, { expose: t, emit: n }) {
4445
- const a = e, o = X(), r = V(() => {
4445
+ const a = e, o = X(), i = V(() => {
4446
4446
  const m = o.default();
4447
4447
  let v = [];
4448
4448
  return m.forEach((_) => {
@@ -4460,7 +4460,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4460
4460
  function l(m) {
4461
4461
  return (m == null ? void 0 : m.type) === "option";
4462
4462
  }
4463
- const i = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4463
+ const r = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4464
4464
  le(() => {
4465
4465
  var _;
4466
4466
  const m = o["select-label"] && o["select-label"]();
@@ -4490,7 +4490,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4490
4490
  select: u
4491
4491
  }), (m, v) => (y(), g("div", {
4492
4492
  ref_key: "root",
4493
- ref: i
4493
+ ref: r
4494
4494
  }, [
4495
4495
  k(m.$slots, "select-label", {}, () => [
4496
4496
  e.label ? (y(), B(je, {
@@ -4530,7 +4530,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4530
4530
  onFocus: p,
4531
4531
  onBlur: s
4532
4532
  }, [
4533
- (y(!0), g(K, null, Y(r.value, (_) => {
4533
+ (y(!0), g(K, null, Y(i.value, (_) => {
4534
4534
  var h, E;
4535
4535
  return y(), g("option", te({
4536
4536
  key: (h = _.props) == null ? void 0 : h.value
@@ -4547,7 +4547,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4547
4547
  ], 512));
4548
4548
  }
4549
4549
  });
4550
- const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["aria-disabled"], us = ["id", "value", "checked", "disabled", "required", "name"], cs = { class: "joy-selectable-item__label" }, ds = /* @__PURE__ */ L({
4550
+ const rs = /* @__PURE__ */ A(is, [["__scopeId", "data-v-b2b02d36"]]), ss = ["aria-disabled"], us = ["id", "value", "checked", "disabled", "required", "name"], cs = { class: "joy-selectable-item__label" }, ds = /* @__PURE__ */ L({
4551
4551
  __name: "VJoySelectableItem",
4552
4552
  props: {
4553
4553
  disabled: {
@@ -4589,7 +4589,7 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4589
4589
  },
4590
4590
  emits: ["update:checked"],
4591
4591
  setup(e, { emit: t }) {
4592
- const n = e, a = C(n.checked), o = C(), r = C(!1), l = n.multiple ? "div" : "label", i = {
4592
+ const n = e, a = C(n.checked), o = C(), i = C(!1), l = n.multiple ? "div" : "label", r = {
4593
4593
  onRadioChange: () => {
4594
4594
  t("update:checked", n.value);
4595
4595
  },
@@ -4600,10 +4600,10 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4600
4600
  n.multiple || d.stopPropagation();
4601
4601
  },
4602
4602
  onFocus: () => {
4603
- r.value = !0;
4603
+ i.value = !0;
4604
4604
  },
4605
4605
  onBlur: () => {
4606
- r.value = !1;
4606
+ i.value = !1;
4607
4607
  }
4608
4608
  };
4609
4609
  function u(d) {
@@ -4613,12 +4613,12 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4613
4613
  class: $([
4614
4614
  "joy-selectable-item__wrapper",
4615
4615
  {
4616
- "joy-selectable-item--focusing": r.value
4616
+ "joy-selectable-item--focusing": i.value
4617
4617
  }
4618
4618
  ]),
4619
4619
  "aria-disabled": e.disabled,
4620
4620
  onClick: c[4] || (c[4] = //@ts-ignore
4621
- (...f) => i.onClick && i.onClick(...f))
4621
+ (...f) => r.onClick && r.onClick(...f))
4622
4622
  }, [
4623
4623
  e.multiple ? x("", !0) : (y(), g("input", {
4624
4624
  key: 0,
@@ -4632,11 +4632,11 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4632
4632
  required: e.required,
4633
4633
  name: e.name,
4634
4634
  onChange: c[0] || (c[0] = //@ts-ignore
4635
- (...f) => i.onRadioChange && i.onRadioChange(...f)),
4635
+ (...f) => r.onRadioChange && r.onRadioChange(...f)),
4636
4636
  onFocus: c[1] || (c[1] = //@ts-ignore
4637
- (...f) => i.onFocus && i.onFocus(...f)),
4637
+ (...f) => r.onFocus && r.onFocus(...f)),
4638
4638
  onBlur: c[2] || (c[2] = //@ts-ignore
4639
- (...f) => i.onBlur && i.onBlur(...f))
4639
+ (...f) => r.onBlur && r.onBlur(...f))
4640
4640
  }, null, 40, us)),
4641
4641
  (y(), B(oe(T(l)), {
4642
4642
  for: e.id,
@@ -4649,7 +4649,7 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4649
4649
  "joy-selectable-item--single": !e.multiple
4650
4650
  }
4651
4651
  ]),
4652
- onClick: i.onLabelClick
4652
+ onClick: r.onLabelClick
4653
4653
  }, {
4654
4654
  default: M(() => [
4655
4655
  e.multiple ? (y(), B(T(Et), {
@@ -4665,8 +4665,8 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4665
4665
  name: e.name,
4666
4666
  "display-focus": !1,
4667
4667
  required: e.required,
4668
- onFocus: i.onFocus,
4669
- onBlur: i.onBlur
4668
+ onFocus: r.onFocus,
4669
+ onBlur: r.onBlur
4670
4670
  }, {
4671
4671
  default: M(() => [
4672
4672
  k(d.$slots, "default", {}, void 0, !0)
@@ -4731,16 +4731,16 @@ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4731
4731
  emits: ["update:value"],
4732
4732
  setup(e, { emit: t }) {
4733
4733
  const n = e;
4734
- function a(r) {
4735
- return typeof n.value == "string" ? n.value === r.value : (n.value || []).includes(r.value);
4734
+ function a(i) {
4735
+ return typeof n.value == "string" ? n.value === i.value : (n.value || []).includes(i.value);
4736
4736
  }
4737
- function o(r, l) {
4737
+ function o(i, l) {
4738
4738
  if (!n.multiple)
4739
4739
  return t("update:value", l);
4740
- let i = [...n.value || []];
4741
- l && typeof l == "boolean" ? i.push(r) : i.splice(i.indexOf(r), 1), t("update:value", i);
4740
+ let r = [...n.value || []];
4741
+ l && typeof l == "boolean" ? r.push(i) : r.splice(r.indexOf(i), 1), t("update:value", r);
4742
4742
  }
4743
- return (r, l) => (y(), g("fieldset", {
4743
+ return (i, l) => (y(), g("fieldset", {
4744
4744
  id: e.id,
4745
4745
  class: "joy-selectable-item-group__wrapper"
4746
4746
  }, [
@@ -4766,27 +4766,27 @@ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4766
4766
  }
4767
4767
  ])
4768
4768
  }, [
4769
- (y(!0), g(K, null, Y(e.options, (i) => (y(), B(T(Nn), te(i.attrs, {
4770
- id: i.id,
4771
- key: i.id,
4772
- name: i.name,
4773
- disabled: i.disabled,
4774
- value: i.value,
4769
+ (y(!0), g(K, null, Y(e.options, (r) => (y(), B(T(Nn), te(r.attrs, {
4770
+ id: r.id,
4771
+ key: r.id,
4772
+ name: r.name,
4773
+ disabled: r.disabled,
4774
+ value: r.value,
4775
4775
  multiple: e.multiple,
4776
- checked: a(i),
4777
- "onUpdate:checked": (u) => o(i.value, u)
4776
+ checked: a(r),
4777
+ "onUpdate:checked": (u) => o(r.value, u)
4778
4778
  }), pn({
4779
4779
  default: M(() => [
4780
- k(r.$slots, "item", ze(qe(i)), () => [
4781
- z(F(i.label), 1)
4780
+ k(i.$slots, "item", ze(qe(r)), () => [
4781
+ z(F(r.label), 1)
4782
4782
  ], !0)
4783
4783
  ]),
4784
4784
  _: 2
4785
4785
  }, [
4786
- i.subLabel ? {
4786
+ r.subLabel ? {
4787
4787
  name: "selectable-item-sublabel",
4788
4788
  fn: M(() => [
4789
- z(F(i.subLabel), 1)
4789
+ z(F(r.subLabel), 1)
4790
4790
  ]),
4791
4791
  key: "0"
4792
4792
  } : void 0
@@ -4862,14 +4862,14 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4862
4862
  },
4863
4863
  setup(e, { expose: t }) {
4864
4864
  const n = e, a = C(!0);
4865
- let o, r;
4866
- const l = "joy-snackbar-" + _e(), i = V(() => gn(n.level));
4865
+ let o, i;
4866
+ const l = "joy-snackbar-" + _e(), r = V(() => gn(n.level));
4867
4867
  function u() {
4868
4868
  var v;
4869
4869
  (v = n.bus) == null || v.emit("snackbar:action-click");
4870
4870
  }
4871
4871
  function d() {
4872
- o && clearTimeout(o), r && clearTimeout(r);
4872
+ o && clearTimeout(o), i && clearTimeout(i);
4873
4873
  }
4874
4874
  function c() {
4875
4875
  var v;
@@ -4882,7 +4882,7 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4882
4882
  o = setTimeout(f, n.duration), s();
4883
4883
  }
4884
4884
  function s() {
4885
- r = setTimeout(function() {
4885
+ i = setTimeout(function() {
4886
4886
  var v;
4887
4887
  (v = n.bus) == null || v.emit("snackbar:hide");
4888
4888
  }, n.duration + 300);
@@ -4910,7 +4910,7 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4910
4910
  class: $(["joy-snackbar", `joy-snackbar_${e.level}`])
4911
4911
  }, [
4912
4912
  b("div", bs, [
4913
- U(T(W), { name: i.value }, null, 8, ["name"])
4913
+ U(T(W), { name: r.value }, null, 8, ["name"])
4914
4914
  ]),
4915
4915
  b("div", gs, [
4916
4916
  e.header ? (y(), g("strong", hs, F(e.header), 1)) : x("", !0),
@@ -4960,12 +4960,12 @@ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4960
4960
  },
4961
4961
  emits: ["update:subSteps"],
4962
4962
  setup(e, { expose: t, emit: n }) {
4963
- const a = e, o = C(0.1), r = V(() => a.completed ? "100%" : l.value ? a.subSteps <= 1 || a.currentSubStep === 1 ? "10%" : (Math.min(a.currentSubStep / a.subSteps - o.value, 1 - o.value) * 100).toFixed(1) + "%" : "0%"), l = V(() => a.currentSubStep > 0);
4964
- function i(u) {
4963
+ const a = e, o = C(0.1), i = V(() => a.completed ? "100%" : l.value ? a.subSteps <= 1 || a.currentSubStep === 1 ? "10%" : (Math.min(a.currentSubStep / a.subSteps - o.value, 1 - o.value) * 100).toFixed(1) + "%" : "0%"), l = V(() => a.currentSubStep > 0);
4964
+ function r(u) {
4965
4965
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
4966
4966
  }
4967
- return Q(() => a.subSteps, i), t({
4968
- progress: r
4967
+ return Q(() => a.subSteps, r), t({
4968
+ progress: i
4969
4969
  }), (u, d) => (y(), g("div", {
4970
4970
  id: e.id,
4971
4971
  class: $([
@@ -4980,7 +4980,7 @@ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4980
4980
  b("span", ks, [
4981
4981
  b("span", {
4982
4982
  class: "joy-step__stroke--filled",
4983
- style: ce({ maxWidth: r.value })
4983
+ style: ce({ maxWidth: i.value })
4984
4984
  }, null, 4)
4985
4985
  ]),
4986
4986
  b("span", xs, [
@@ -5004,20 +5004,20 @@ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5004
5004
  setup(e, { expose: t }) {
5005
5005
  const n = e, a = X(), o = V(() => {
5006
5006
  const c = a.default();
5007
- return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(r) : c.filter(r);
5007
+ return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(i) : c.filter(i);
5008
5008
  });
5009
- function r(c) {
5009
+ function i(c) {
5010
5010
  var f;
5011
5011
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyStep";
5012
5012
  }
5013
- const l = V(() => o.value[n.step - 1]), i = V(() => !u.value && !l.value.props ? !1 : n.subStep <= 0 || n.subStep > l.value.props["sub-steps"]), u = V(() => i.value ? l.value.props["sub-steps"] : n.subStep);
5013
+ const l = V(() => o.value[n.step - 1]), r = V(() => !u.value && !l.value.props ? !1 : n.subStep <= 0 || n.subStep > l.value.props["sub-steps"]), u = V(() => r.value ? l.value.props["sub-steps"] : n.subStep);
5014
5014
  function d(c) {
5015
5015
  return c !== n.step - 1 ? 0 : u.value;
5016
5016
  }
5017
5017
  return t({
5018
5018
  currentItemSubStep: u,
5019
5019
  steps: o,
5020
- invalidSubStepValue: i
5020
+ invalidSubStepValue: r
5021
5021
  }), (c, f) => (y(), g("div", js, [
5022
5022
  (y(!0), g(K, null, Y(o.value, (p, s) => {
5023
5023
  var m;
@@ -5053,8 +5053,7 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5053
5053
  * The title given to the button
5054
5054
  */
5055
5055
  label: {
5056
- type: [String, Number],
5057
- required: !0
5056
+ type: [String, Number]
5058
5057
  },
5059
5058
  /**
5060
5059
  * Allow to have a link on the button. When clicking on the button, you will be redirected to the target of the URL.
@@ -5062,11 +5061,16 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5062
5061
  href: {
5063
5062
  type: String,
5064
5063
  required: !1
5064
+ },
5065
+ /** Activates a little notification badge in the tab button. */
5066
+ notification: {
5067
+ type: Boolean,
5068
+ required: !1
5065
5069
  }
5066
5070
  },
5067
5071
  setup(e) {
5068
- const t = e, n = it("VJoyTabs", C("")), a = V(() => n.value === t.tab);
5069
- return (o, r) => (y(), g("div", {
5072
+ const t = e, n = rt("VJoyTabs", C("")), a = V(() => n.value === t.tab);
5073
+ return (o, i) => (y(), g("div", {
5070
5074
  id: `joy-tab-${e.tab}`,
5071
5075
  role: "tabpanel",
5072
5076
  "aria-hidden": a.value ? void 0 : "true",
@@ -5080,10 +5084,13 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5080
5084
  ], 10, Ts));
5081
5085
  }
5082
5086
  });
5083
- const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5087
+ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-a76a7c92"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5084
5088
  type: "button",
5085
5089
  tabindex: "-1"
5086
- }, As = /* @__PURE__ */ L({
5090
+ }, As = {
5091
+ key: 0,
5092
+ class: "joy-tab-button__notification"
5093
+ }, Ns = /* @__PURE__ */ L({
5087
5094
  __name: "TabButton",
5088
5095
  props: {
5089
5096
  /**
@@ -5113,6 +5120,10 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5113
5120
  label: {
5114
5121
  type: [String, Number],
5115
5122
  required: !1
5123
+ },
5124
+ notification: {
5125
+ type: Boolean,
5126
+ required: !1
5116
5127
  }
5117
5128
  },
5118
5129
  emits: ["changeTab"],
@@ -5123,7 +5134,7 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5123
5134
  function a(o) {
5124
5135
  (o.code === "Enter" || o.code === "NumpadEnter") && t("changeTab");
5125
5136
  }
5126
- return (o, r) => (y(), g("a", {
5137
+ return (o, i) => (y(), g("a", {
5127
5138
  id: `joy-tab-${e.tab}`,
5128
5139
  href: e.href,
5129
5140
  "aria-selected": e.selected ? "true" : "false",
@@ -5131,10 +5142,9 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5131
5142
  tabindex: "0",
5132
5143
  role: "tab",
5133
5144
  onClick: n,
5134
- onKeydown: r[0] || (r[0] = (l) => a(l))
5145
+ onKeydown: i[0] || (i[0] = (l) => a(l))
5135
5146
  }, [
5136
5147
  b("div", {
5137
- part: "tab-button",
5138
5148
  class: $({
5139
5149
  "joy-tab-button": !0,
5140
5150
  "joy-tab-button__selected": e.selected
@@ -5144,14 +5154,15 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5144
5154
  b("div", null, [
5145
5155
  k(o.$slots, "default", {}, () => [
5146
5156
  z(F(e.label), 1)
5147
- ], !0)
5157
+ ], !0),
5158
+ e.notification ? (y(), g("div", As)) : x("", !0)
5148
5159
  ])
5149
5160
  ])
5150
5161
  ], 2)
5151
5162
  ], 40, Es));
5152
5163
  }
5153
5164
  });
5154
- const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5165
+ const Os = /* @__PURE__ */ A(Ns, [["__scopeId", "data-v-e2a02c1c"]]), Js = { class: "joy-tabs" }, Fs = /* @__PURE__ */ L({
5155
5166
  __name: "VJoyTabs",
5156
5167
  props: {
5157
5168
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -5161,9 +5172,9 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5161
5172
  },
5162
5173
  emits: ["update:selected-tab"],
5163
5174
  setup(e, { expose: t, emit: n }) {
5164
- const a = e, o = X(), r = C(a.selectedTab);
5165
- jt("VJoyTabs", r);
5166
- const l = C(null), i = C(null), u = C(!1), d = C(!1), c = V(() => {
5175
+ const a = e, o = X(), i = C(a.selectedTab);
5176
+ jt("VJoyTabs", i);
5177
+ const l = C(null), r = C(null), u = C(!1), d = C(!1), c = V(() => {
5167
5178
  const v = o.default();
5168
5179
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(f) : v.filter(f);
5169
5180
  });
@@ -5172,13 +5183,13 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5172
5183
  return ((_ = v == null ? void 0 : v.type) == null ? void 0 : _.__name) === "VJoyTab";
5173
5184
  }
5174
5185
  function p(v) {
5175
- return v.props.tab === r.value;
5186
+ return v.props.tab === i.value;
5176
5187
  }
5177
5188
  function s() {
5178
- i.value && l.value && i.value.scrollWidth > l.value.offsetWidth ? (d.value = i.value.scrollLeft > 0, u.value = i.value.scrollLeft + l.value.offsetWidth < i.value.scrollWidth) : (d.value = !1, u.value = !1);
5189
+ r.value && l.value && r.value.scrollWidth > l.value.offsetWidth ? (d.value = r.value.scrollLeft > 0, u.value = r.value.scrollLeft + l.value.offsetWidth < r.value.scrollWidth) : (d.value = !1, u.value = !1);
5179
5190
  }
5180
5191
  function m(v, _ = !0) {
5181
- v && _ && (r.value = v, n("update:selected-tab", v));
5192
+ v && _ && (i.value = v, n("update:selected-tab", v));
5182
5193
  }
5183
5194
  return Q(
5184
5195
  () => a.selectedTab,
@@ -5188,13 +5199,13 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5188
5199
  { immediate: !0 }
5189
5200
  ), le(() => {
5190
5201
  var v;
5191
- s(), (v = i.value) == null || v.addEventListener("scroll", s);
5202
+ s(), (v = r.value) == null || v.addEventListener("scroll", s);
5192
5203
  }), Ne(() => {
5193
5204
  var v;
5194
- (v = i.value) == null || v.removeEventListener("scroll", s);
5205
+ (v = r.value) == null || v.removeEventListener("scroll", s);
5195
5206
  }), t({
5196
5207
  tabs: c
5197
- }), (v, _) => (y(), g("div", Os, [
5208
+ }), (v, _) => (y(), g("div", Js, [
5198
5209
  b("div", {
5199
5210
  ref_key: "buttonListWrapper",
5200
5211
  ref: l,
@@ -5206,17 +5217,18 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5206
5217
  }, [
5207
5218
  b("div", {
5208
5219
  ref_key: "buttonList",
5209
- ref: i,
5220
+ ref: r,
5210
5221
  class: "joy-tabs-buttons",
5211
5222
  role: "tablist"
5212
5223
  }, [
5213
5224
  (y(!0), g(K, null, Y(c.value, (h) => (y(), g("div", {
5214
5225
  key: h.props.tab
5215
5226
  }, [
5216
- U(Ns, {
5227
+ U(Os, {
5217
5228
  tab: h.props.tab,
5218
5229
  label: h.props.label,
5219
5230
  href: h.props.href,
5231
+ notification: h.props.notification,
5220
5232
  selected: p(h),
5221
5233
  onChangeTab: (E) => m(h.props.tab, !h.props.href)
5222
5234
  }, {
@@ -5227,7 +5239,7 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5227
5239
  ];
5228
5240
  }),
5229
5241
  _: 2
5230
- }, 1032, ["tab", "label", "href", "selected", "onChangeTab"])
5242
+ }, 1032, ["tab", "label", "href", "notification", "selected", "onChangeTab"])
5231
5243
  ]))), 128))
5232
5244
  ], 512)
5233
5245
  ], 2),
@@ -5237,7 +5249,7 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5237
5249
  ]));
5238
5250
  }
5239
5251
  });
5240
- const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5252
+ const Ps = /* @__PURE__ */ A(Fs, [["__scopeId", "data-v-ff85775b"]]), Rs = ["id", "role"], Ds = /* @__PURE__ */ L({
5241
5253
  __name: "VJoyTag",
5242
5254
  props: {
5243
5255
  /** Text injected within the tag */
@@ -5283,19 +5295,19 @@ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5283
5295
  ["joy-tag__" + n.size]: !0,
5284
5296
  ["joy-tag__" + n.variant]: !0
5285
5297
  }));
5286
- function r() {
5298
+ function i() {
5287
5299
  t("remove", { value: n.value });
5288
5300
  }
5289
5301
  function l() {
5290
5302
  t("click"), n.selectable && a.includes(n.variant) && t("selected", { selected: !n.selected, value: n.value });
5291
5303
  }
5292
- return (i, u) => (y(), g("span", {
5304
+ return (r, u) => (y(), g("span", {
5293
5305
  id: e.value,
5294
5306
  class: $([o.value]),
5295
5307
  role: e.link || e.selectable ? "button" : void 0,
5296
5308
  onClick: l
5297
5309
  }, [
5298
- k(i.$slots, "default", {}, () => [
5310
+ k(r.$slots, "default", {}, () => [
5299
5311
  e.draggable ? (y(), B(W, {
5300
5312
  key: 0,
5301
5313
  class: "joy-tag__drag",
@@ -5309,13 +5321,13 @@ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5309
5321
  name: "cross",
5310
5322
  size: "xxsmall",
5311
5323
  role: "button",
5312
- onClick: oa(r, ["stop"])
5324
+ onClick: oa(i, ["stop"])
5313
5325
  }, null, 8, ["onClick"])) : x("", !0)
5314
5326
  ], !0)
5315
- ], 10, Ps));
5327
+ ], 10, Rs));
5316
5328
  }
5317
5329
  });
5318
- const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @__PURE__ */ L({
5330
+ const Fn = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-c04ebdea"]]), Ms = /* @__PURE__ */ L({
5319
5331
  __name: "VJoyTagsList",
5320
5332
  props: {
5321
5333
  align: {
@@ -5358,14 +5370,14 @@ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @_
5358
5370
  function o(u) {
5359
5371
  return !n.modelValue || n.removable || u.removable ? !1 : u.selectable !== void 0 ? u.selectable : n.selectable;
5360
5372
  }
5361
- function r(u) {
5373
+ function i(u) {
5362
5374
  return u.removable !== void 0 ? u.removable : n.removable;
5363
5375
  }
5364
5376
  function l(u, d) {
5365
5377
  let c = [];
5366
5378
  u.selected && !a(d) ? c = [...n.modelValue || [], d.value] : c = (n.modelValue || []).filter((f) => f !== d.value), t("update:modelValue", c);
5367
5379
  }
5368
- function i(u) {
5380
+ function r(u) {
5369
5381
  t("removeTag", u.value);
5370
5382
  }
5371
5383
  return (u, d) => (y(), g("div", {
@@ -5375,46 +5387,46 @@ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @_
5375
5387
  key: c.value || c.label
5376
5388
  }, c, {
5377
5389
  selectable: o(c),
5378
- removable: r(c),
5390
+ removable: i(c),
5379
5391
  variant: c.variant ? c.variant : e.variant,
5380
5392
  selected: a(c),
5381
- onRemove: i,
5393
+ onRemove: r,
5382
5394
  onSelected: (f) => l(f, c)
5383
5395
  }), null, 16, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
5384
5396
  ], 2));
5385
5397
  }
5386
5398
  });
5387
- const Ms = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-8d9a3ff0"]]);
5388
- const zs = {}, qs = {
5399
+ const zs = /* @__PURE__ */ A(Ms, [["__scopeId", "data-v-8d9a3ff0"]]);
5400
+ const qs = {}, Hs = {
5389
5401
  class: /* @__PURE__ */ $(["joy-template-shape__shapes"])
5390
- }, Hs = /* @__PURE__ */ mn('<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 = [
5391
- Hs
5402
+ }, Ws = /* @__PURE__ */ mn('<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), Us = [
5403
+ Ws
5392
5404
  ];
5393
- function Us(e, t) {
5394
- return y(), g("div", qs, Ws);
5405
+ function Gs(e, t) {
5406
+ return y(), g("div", Hs, Us);
5395
5407
  }
5396
- const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5408
+ const Pn = /* @__PURE__ */ A(qs, [["render", Gs], ["__scopeId", "data-v-8b258f92"]]), Ks = { class: "joy-template__wrapper" }, Ys = {
5397
5409
  key: 0,
5398
5410
  class: "joy-template__heading"
5399
- }, Ys = {
5411
+ }, Zs = {
5400
5412
  key: 0,
5401
5413
  class: "joy-template-slot-back"
5402
- }, Zs = { class: "joy-template__heading___headings" }, Qs = {
5414
+ }, Qs = { class: "joy-template__heading___headings" }, Xs = {
5403
5415
  key: 0,
5404
5416
  class: "joy-template-slot-title"
5405
- }, Xs = {
5417
+ }, eu = {
5406
5418
  key: 1,
5407
5419
  class: "joy-template-slot-subtitle"
5408
- }, eu = {
5420
+ }, tu = {
5409
5421
  key: 1,
5410
5422
  class: "joy-template-slot-actions"
5411
- }, tu = {
5423
+ }, nu = {
5412
5424
  key: 0,
5413
5425
  class: "joy-template-slot-main"
5414
- }, nu = {
5426
+ }, au = {
5415
5427
  key: 1,
5416
5428
  class: "joy-template-slot-sidebar"
5417
- }, au = /* @__PURE__ */ L({
5429
+ }, ou = /* @__PURE__ */ L({
5418
5430
  __name: "VJoyTemplate",
5419
5431
  props: {
5420
5432
  full: { type: Boolean, default: !1 },
@@ -5434,24 +5446,24 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5434
5446
  },
5435
5447
  setup(e) {
5436
5448
  const t = e, n = X(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
5437
- return (o, r) => (y(), g("main", {
5449
+ return (o, i) => (y(), g("main", {
5438
5450
  class: $(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
5439
5451
  }, [
5440
5452
  e.shapes ? (y(), B(Pn, { key: 0 })) : x("", !0),
5441
- b("div", Gs, [
5442
- a.value ? (y(), g("div", Ks, [
5443
- T(n)["template-back"] ? (y(), g("div", Ys, [
5453
+ b("div", Ks, [
5454
+ a.value ? (y(), g("div", Ys, [
5455
+ T(n)["template-back"] ? (y(), g("div", Zs, [
5444
5456
  k(o.$slots, "template-back", {}, void 0, !0)
5445
5457
  ])) : x("", !0),
5446
- b("div", Zs, [
5447
- T(n)["template-title"] ? (y(), g("div", Qs, [
5458
+ b("div", Qs, [
5459
+ T(n)["template-title"] ? (y(), g("div", Xs, [
5448
5460
  k(o.$slots, "template-title", {}, void 0, !0)
5449
5461
  ])) : x("", !0),
5450
- T(n)["template-subtitle"] ? (y(), g("div", Xs, [
5462
+ T(n)["template-subtitle"] ? (y(), g("div", eu, [
5451
5463
  k(o.$slots, "template-subtitle", {}, void 0, !0)
5452
5464
  ])) : x("", !0)
5453
5465
  ]),
5454
- T(n)["template-actions"] ? (y(), g("div", eu, [
5466
+ T(n)["template-actions"] ? (y(), g("div", tu, [
5455
5467
  k(o.$slots, "template-actions", {}, void 0, !0)
5456
5468
  ])) : x("", !0)
5457
5469
  ])) : x("", !0),
@@ -5463,10 +5475,10 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5463
5475
  }
5464
5476
  ])
5465
5477
  }, [
5466
- o.$slots["template-main"] ? (y(), g("div", tu, [
5478
+ o.$slots["template-main"] ? (y(), g("div", nu, [
5467
5479
  k(o.$slots, "template-main", {}, void 0, !0)
5468
5480
  ])) : x("", !0),
5469
- o.$slots["template-sidebar"] ? (y(), g("div", nu, [
5481
+ o.$slots["template-sidebar"] ? (y(), g("div", au, [
5470
5482
  k(o.$slots, "template-sidebar", {}, void 0, !0)
5471
5483
  ])) : x("", !0)
5472
5484
  ], 2)
@@ -5484,7 +5496,7 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5484
5496
  ], 2));
5485
5497
  }
5486
5498
  });
5487
- const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5499
+ const lu = /* @__PURE__ */ A(ou, [["__scopeId", "data-v-7c83eb21"]]), iu = /* @__PURE__ */ L({
5488
5500
  __name: "VJoyText",
5489
5501
  props: {
5490
5502
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -5509,13 +5521,13 @@ const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5509
5521
  }, 8, ["class"]));
5510
5522
  }
5511
5523
  });
5512
- const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["aria-disabled"], su = { class: "joy-textarea_wrapper" }, uu = ["id", "disabled", "name", "required", "minlength", "value"], cu = {
5524
+ const ru = /* @__PURE__ */ A(iu, [["__scopeId", "data-v-1af4e700"]]), su = ["aria-disabled"], uu = { class: "joy-textarea_wrapper" }, cu = ["id", "disabled", "name", "required", "minlength", "value"], du = {
5513
5525
  key: 0,
5514
5526
  class: "joy-textarea_helpers"
5515
- }, du = {
5527
+ }, fu = {
5516
5528
  inheritAttrs: !1
5517
- }, fu = /* @__PURE__ */ L({
5518
- ...du,
5529
+ }, yu = /* @__PURE__ */ L({
5530
+ ...fu,
5519
5531
  __name: "VJoyTextarea",
5520
5532
  props: {
5521
5533
  autofocus: {
@@ -5573,22 +5585,22 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5573
5585
  },
5574
5586
  emits: ["update:modelValue"],
5575
5587
  setup(e, { expose: t, emit: n }) {
5576
- const a = e, o = C(), { triggerResize: r } = yo({
5588
+ const a = e, o = C(), { triggerResize: i } = yo({
5577
5589
  element: a.autogrow ? o : void 0
5578
- }), l = C(!1), i = C(!1);
5590
+ }), l = C(!1), r = C(!1);
5579
5591
  Bt(o, a.autofocus);
5580
5592
  const u = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), d = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), c = {
5581
5593
  onInput: (f) => {
5582
- a.modelModifiers.lazy || n("update:modelValue", f.target.value), r();
5594
+ a.modelModifiers.lazy || n("update:modelValue", f.target.value), i();
5583
5595
  },
5584
5596
  onChange: (f) => {
5585
5597
  a.modelModifiers.lazy && n("update:modelValue", f.target.value);
5586
5598
  },
5587
5599
  onBlur: () => {
5588
- i.value = !1, l.value = u.value || d.value;
5600
+ r.value = !1, l.value = u.value || d.value;
5589
5601
  },
5590
5602
  onFocus: () => {
5591
- i.value = !0;
5603
+ r.value = !0;
5592
5604
  }
5593
5605
  };
5594
5606
  return t({
@@ -5603,7 +5615,7 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5603
5615
  "joy-textarea_invalid": l.value || e.invalid,
5604
5616
  "joy-textarea_disabled": e.disabled,
5605
5617
  "joy-textarea_autogrow": e.autogrow,
5606
- "joy-textarea_focusing": i.value
5618
+ "joy-textarea_focusing": r.value
5607
5619
  }
5608
5620
  ])
5609
5621
  }, [
@@ -5620,7 +5632,7 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5620
5632
  ]),
5621
5633
  _: 3
5622
5634
  }, 8, ["for", "required", "optional-label", "size"]),
5623
- b("div", su, [
5635
+ b("div", uu, [
5624
5636
  b("textarea", te(f.$attrs, {
5625
5637
  id: e.id,
5626
5638
  ref_key: "textarea",
@@ -5639,9 +5651,9 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5639
5651
  (...s) => c.onFocus && c.onFocus(...s)),
5640
5652
  onBlur: p[3] || (p[3] = //@ts-ignore
5641
5653
  (...s) => c.onBlur && c.onBlur(...s))
5642
- }), null, 16, uu)
5654
+ }), null, 16, cu)
5643
5655
  ]),
5644
- e.minlength || e.maxlength ? (y(), g("div", cu, [
5656
+ e.minlength || e.maxlength ? (y(), g("div", du, [
5645
5657
  e.minlength ? (y(), g("p", {
5646
5658
  key: 0,
5647
5659
  class: $(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -5659,10 +5671,10 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5659
5671
  class: $(["joy-textarea-count", { "joy-textarea-count-invalid": u.value }])
5660
5672
  }, F(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5661
5673
  ])) : x("", !0)
5662
- ], 10, iu));
5674
+ ], 10, su));
5663
5675
  }
5664
5676
  });
5665
- const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) => (ot("data-v-cf79d999"), e = e(), lt(), e), vu = { class: "joy-toggle__wrapper" }, pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], mu = { class: "joy-toggle__content" }, bu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), gu = { class: "joy-toggle__content-label" }, hu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
5677
+ const vu = /* @__PURE__ */ A(yu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) => (ot("data-v-cf79d999"), e = e(), lt(), e), pu = { class: "joy-toggle__wrapper" }, mu = ["name", "disabled", "checked", "required", "aria-checked", "value"], bu = { class: "joy-toggle__content" }, gu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), hu = { class: "joy-toggle__content-label" }, _u = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
5666
5678
  /* @__PURE__ */ b("svg", {
5667
5679
  width: "18",
5668
5680
  height: "10",
@@ -5675,7 +5687,7 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5675
5687
  fill: "currentColor"
5676
5688
  })
5677
5689
  ])
5678
- ], -1)), _u = /* @__PURE__ */ L({
5690
+ ], -1)), wu = /* @__PURE__ */ L({
5679
5691
  __name: "VJoyToggle",
5680
5692
  props: {
5681
5693
  modelValue: {
@@ -5711,8 +5723,8 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5711
5723
  setup(e, { emit: t }) {
5712
5724
  const n = C(!1), a = {
5713
5725
  onChange: (o) => {
5714
- const r = o.target.checked;
5715
- t("update:modelValue", r);
5726
+ const i = o.target.checked;
5727
+ t("update:modelValue", i);
5716
5728
  },
5717
5729
  onFocus: () => {
5718
5730
  n.value = !0;
@@ -5721,7 +5733,7 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5721
5733
  n.value = !1;
5722
5734
  }
5723
5735
  };
5724
- return (o, r) => (y(), g("div", vu, [
5736
+ return (o, i) => (y(), g("div", pu, [
5725
5737
  b("label", {
5726
5738
  class: $([
5727
5739
  "joy-toggle",
@@ -5743,35 +5755,35 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5743
5755
  required: e.required,
5744
5756
  "aria-checked": e.modelValue,
5745
5757
  value: e.value,
5746
- onChange: r[0] || (r[0] = //@ts-ignore
5758
+ onChange: i[0] || (i[0] = //@ts-ignore
5747
5759
  (...l) => a.onChange && a.onChange(...l)),
5748
- onFocus: r[1] || (r[1] = //@ts-ignore
5760
+ onFocus: i[1] || (i[1] = //@ts-ignore
5749
5761
  (...l) => a.onFocus && a.onFocus(...l)),
5750
- onBlur: r[2] || (r[2] = //@ts-ignore
5762
+ onBlur: i[2] || (i[2] = //@ts-ignore
5751
5763
  (...l) => a.onBlur && a.onBlur(...l))
5752
- }, null, 40, pu),
5753
- b("p", mu, [
5754
- bu,
5755
- b("span", gu, [
5764
+ }, null, 40, mu),
5765
+ b("p", bu, [
5766
+ gu,
5767
+ b("span", hu, [
5756
5768
  k(o.$slots, "default", {}, () => [
5757
5769
  z(F(e.label), 1)
5758
5770
  ], !0)
5759
5771
  ]),
5760
- hu
5772
+ _u
5761
5773
  ])
5762
5774
  ], 2)
5763
5775
  ]));
5764
5776
  }
5765
5777
  });
5766
- const wu = /* @__PURE__ */ A(_u, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5778
+ const Su = /* @__PURE__ */ A(wu, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5767
5779
  x: e,
5768
5780
  y: e
5769
- }), Su = {
5781
+ }), ku = {
5770
5782
  left: "right",
5771
5783
  right: "left",
5772
5784
  bottom: "top",
5773
5785
  top: "bottom"
5774
- }, ku = {
5786
+ }, xu = {
5775
5787
  start: "end",
5776
5788
  end: "start"
5777
5789
  };
@@ -5799,41 +5811,41 @@ function We(e) {
5799
5811
  function Jt(e) {
5800
5812
  return Nt(We(e));
5801
5813
  }
5802
- function xu(e, t, n) {
5814
+ function Cu(e, t, n) {
5803
5815
  n === void 0 && (n = !1);
5804
- const a = He(e), o = Jt(e), r = Ot(o);
5816
+ const a = He(e), o = Jt(e), i = Ot(o);
5805
5817
  let l = o === "x" ? a === (n ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
5806
- return t.reference[r] > t.floating[r] && (l = nt(l)), [l, nt(l)];
5818
+ return t.reference[i] > t.floating[i] && (l = nt(l)), [l, nt(l)];
5807
5819
  }
5808
- function Cu(e) {
5820
+ function ju(e) {
5809
5821
  const t = nt(e);
5810
5822
  return [gt(e), t, gt(t)];
5811
5823
  }
5812
5824
  function gt(e) {
5813
- return e.replace(/start|end/g, (t) => ku[t]);
5825
+ return e.replace(/start|end/g, (t) => xu[t]);
5814
5826
  }
5815
- function ju(e, t, n) {
5816
- const a = ["left", "right"], o = ["right", "left"], r = ["top", "bottom"], l = ["bottom", "top"];
5827
+ function $u(e, t, n) {
5828
+ const a = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], l = ["bottom", "top"];
5817
5829
  switch (e) {
5818
5830
  case "top":
5819
5831
  case "bottom":
5820
5832
  return n ? t ? o : a : t ? a : o;
5821
5833
  case "left":
5822
5834
  case "right":
5823
- return t ? r : l;
5835
+ return t ? i : l;
5824
5836
  default:
5825
5837
  return [];
5826
5838
  }
5827
5839
  }
5828
- function $u(e, t, n, a) {
5840
+ function Vu(e, t, n, a) {
5829
5841
  const o = He(e);
5830
- let r = ju(ge(e), n === "start", a);
5831
- return o && (r = r.map((l) => l + "-" + o), t && (r = r.concat(r.map(gt)))), r;
5842
+ let i = $u(ge(e), n === "start", a);
5843
+ return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(gt)))), i;
5832
5844
  }
5833
5845
  function nt(e) {
5834
- return e.replace(/left|right|bottom|top/g, (t) => Su[t]);
5846
+ return e.replace(/left|right|bottom|top/g, (t) => ku[t]);
5835
5847
  }
5836
- function Vu(e) {
5848
+ function Tu(e) {
5837
5849
  return {
5838
5850
  top: 0,
5839
5851
  right: 0,
@@ -5843,7 +5855,7 @@ function Vu(e) {
5843
5855
  };
5844
5856
  }
5845
5857
  function Dn(e) {
5846
- return typeof e != "number" ? Vu(e) : {
5858
+ return typeof e != "number" ? Tu(e) : {
5847
5859
  top: e,
5848
5860
  right: e,
5849
5861
  bottom: e,
@@ -5864,7 +5876,7 @@ function un(e, t, n) {
5864
5876
  reference: a,
5865
5877
  floating: o
5866
5878
  } = e;
5867
- const r = We(t), l = Jt(t), i = Ot(l), u = ge(t), d = r === "y", c = a.x + a.width / 2 - o.width / 2, f = a.y + a.height / 2 - o.height / 2, p = a[i] / 2 - o[i] / 2;
5879
+ const i = We(t), l = Jt(t), r = Ot(l), u = ge(t), d = i === "y", c = a.x + a.width / 2 - o.width / 2, f = a.y + a.height / 2 - o.height / 2, p = a[r] / 2 - o[r] / 2;
5868
5880
  let s;
5869
5881
  switch (u) {
5870
5882
  case "top":
@@ -5907,13 +5919,13 @@ function un(e, t, n) {
5907
5919
  }
5908
5920
  return s;
5909
5921
  }
5910
- const Tu = async (e, t, n) => {
5922
+ const Iu = async (e, t, n) => {
5911
5923
  const {
5912
5924
  placement: a = "bottom",
5913
5925
  strategy: o = "absolute",
5914
- middleware: r = [],
5926
+ middleware: i = [],
5915
5927
  platform: l
5916
- } = n, i = r.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
5928
+ } = n, r = i.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
5917
5929
  let d = await l.getElementRects({
5918
5930
  reference: e,
5919
5931
  floating: t,
@@ -5922,11 +5934,11 @@ const Tu = async (e, t, n) => {
5922
5934
  x: c,
5923
5935
  y: f
5924
5936
  } = un(d, a, u), p = a, s = {}, m = 0;
5925
- for (let v = 0; v < i.length; v++) {
5937
+ for (let v = 0; v < r.length; v++) {
5926
5938
  const {
5927
5939
  name: _,
5928
5940
  fn: h
5929
- } = i[v], {
5941
+ } = r[v], {
5930
5942
  x: E,
5931
5943
  y: N,
5932
5944
  data: P,
@@ -5977,9 +5989,9 @@ async function Mn(e, t) {
5977
5989
  const {
5978
5990
  x: a,
5979
5991
  y: o,
5980
- platform: r,
5992
+ platform: i,
5981
5993
  rects: l,
5982
- elements: i,
5994
+ elements: r,
5983
5995
  strategy: u
5984
5996
  } = e, {
5985
5997
  boundary: d = "clippingAncestors",
@@ -5987,8 +5999,8 @@ async function Mn(e, t) {
5987
5999
  elementContext: f = "floating",
5988
6000
  altBoundary: p = !1,
5989
6001
  padding: s = 0
5990
- } = Ce(t, e), m = Dn(s), _ = i[p ? f === "floating" ? "reference" : "floating" : f], h = at(await r.getClippingRect({
5991
- element: (n = await (r.isElement == null ? void 0 : r.isElement(_))) == null || n ? _ : _.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
6002
+ } = Ce(t, e), m = Dn(s), _ = r[p ? f === "floating" ? "reference" : "floating" : f], h = at(await i.getClippingRect({
6003
+ element: (n = await (i.isElement == null ? void 0 : i.isElement(_))) == null || n ? _ : _.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(r.floating)),
5992
6004
  boundary: d,
5993
6005
  rootBoundary: c,
5994
6006
  strategy: u
@@ -5996,13 +6008,13 @@ async function Mn(e, t) {
5996
6008
  ...l.floating,
5997
6009
  x: a,
5998
6010
  y: o
5999
- } : l.reference, N = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), P = await (r.isElement == null ? void 0 : r.isElement(N)) ? await (r.getScale == null ? void 0 : r.getScale(N)) || {
6011
+ } : l.reference, N = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(r.floating)), P = await (i.isElement == null ? void 0 : i.isElement(N)) ? await (i.getScale == null ? void 0 : i.getScale(N)) || {
6000
6012
  x: 1,
6001
6013
  y: 1
6002
6014
  } : {
6003
6015
  x: 1,
6004
6016
  y: 1
6005
- }, j = at(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
6017
+ }, j = at(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6006
6018
  rect: E,
6007
6019
  offsetParent: N,
6008
6020
  strategy: u
@@ -6014,7 +6026,7 @@ async function Mn(e, t) {
6014
6026
  right: (j.right - h.right + m.right) / P.x
6015
6027
  };
6016
6028
  }
6017
- const Iu = (e) => ({
6029
+ const Lu = (e) => ({
6018
6030
  name: "arrow",
6019
6031
  options: e,
6020
6032
  async fn(t) {
@@ -6022,9 +6034,9 @@ const Iu = (e) => ({
6022
6034
  x: n,
6023
6035
  y: a,
6024
6036
  placement: o,
6025
- rects: r,
6037
+ rects: i,
6026
6038
  platform: l,
6027
- elements: i,
6039
+ elements: r,
6028
6040
  middlewareData: u
6029
6041
  } = t, {
6030
6042
  element: d,
@@ -6035,10 +6047,10 @@ const Iu = (e) => ({
6035
6047
  const f = Dn(c), p = {
6036
6048
  x: n,
6037
6049
  y: a
6038
- }, s = Jt(o), m = Ot(s), v = await l.getDimensions(d), _ = s === "y", h = _ ? "top" : "left", E = _ ? "bottom" : "right", N = _ ? "clientHeight" : "clientWidth", P = r.reference[m] + r.reference[s] - p[s] - r.floating[m], j = p[s] - r.reference[s], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6050
+ }, s = Jt(o), m = Ot(s), v = await l.getDimensions(d), _ = s === "y", h = _ ? "top" : "left", E = _ ? "bottom" : "right", N = _ ? "clientHeight" : "clientWidth", P = i.reference[m] + i.reference[s] - p[s] - i.floating[m], j = p[s] - i.reference[s], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6039
6051
  let J = O ? O[N] : 0;
6040
- (!J || !await (l.isElement == null ? void 0 : l.isElement(O))) && (J = i.floating[N] || r.floating[m]);
6041
- const re = P / 2 - j / 2, ie = J / 2 - v[m] / 2 - 1, ue = De(f[h], ie), H = De(f[E], ie), w = ue, S = J - v[m] - H, I = J / 2 - v[m] / 2 + re, R = bt(w, I, S), D = !u.arrow && He(o) != null && I != R && r.reference[m] / 2 - (I < w ? ue : H) - v[m] / 2 < 0, q = D ? I < w ? I - w : I - S : 0;
6052
+ (!J || !await (l.isElement == null ? void 0 : l.isElement(O))) && (J = r.floating[N] || i.floating[m]);
6053
+ const ie = P / 2 - j / 2, re = J / 2 - v[m] / 2 - 1, ue = De(f[h], re), H = De(f[E], re), w = ue, S = J - v[m] - H, I = J / 2 - v[m] / 2 + ie, R = bt(w, I, S), D = !u.arrow && He(o) != null && I != R && i.reference[m] / 2 - (I < w ? ue : H) - v[m] / 2 < 0, q = D ? I < w ? I - w : I - S : 0;
6042
6054
  return {
6043
6055
  [s]: p[s] + q,
6044
6056
  data: {
@@ -6051,7 +6063,7 @@ const Iu = (e) => ({
6051
6063
  reset: D
6052
6064
  };
6053
6065
  }
6054
- }), Lu = function(e) {
6066
+ }), Eu = function(e) {
6055
6067
  return e === void 0 && (e = {}), {
6056
6068
  name: "flip",
6057
6069
  options: e,
@@ -6059,9 +6071,9 @@ const Iu = (e) => ({
6059
6071
  var n, a;
6060
6072
  const {
6061
6073
  placement: o,
6062
- middlewareData: r,
6074
+ middlewareData: i,
6063
6075
  rects: l,
6064
- initialPlacement: i,
6076
+ initialPlacement: r,
6065
6077
  platform: u,
6066
6078
  elements: d
6067
6079
  } = t, {
@@ -6073,43 +6085,43 @@ const Iu = (e) => ({
6073
6085
  flipAlignment: v = !0,
6074
6086
  ..._
6075
6087
  } = Ce(e, t);
6076
- if ((n = r.arrow) != null && n.alignmentOffset)
6088
+ if ((n = i.arrow) != null && n.alignmentOffset)
6077
6089
  return {};
6078
- const h = ge(o), E = ge(i) === i, N = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), P = p || (E || !v ? [nt(i)] : Cu(i));
6079
- !p && m !== "none" && P.push(...$u(i, v, m, N));
6080
- const j = [i, ...P], O = await Mn(t, _), J = [];
6081
- let re = ((a = r.flip) == null ? void 0 : a.overflows) || [];
6090
+ const h = ge(o), E = ge(r) === r, N = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), P = p || (E || !v ? [nt(r)] : ju(r));
6091
+ !p && m !== "none" && P.push(...Vu(r, v, m, N));
6092
+ const j = [r, ...P], O = await Mn(t, _), J = [];
6093
+ let ie = ((a = i.flip) == null ? void 0 : a.overflows) || [];
6082
6094
  if (c && J.push(O[h]), f) {
6083
- const w = xu(o, l, N);
6095
+ const w = Cu(o, l, N);
6084
6096
  J.push(O[w[0]], O[w[1]]);
6085
6097
  }
6086
- if (re = [...re, {
6098
+ if (ie = [...ie, {
6087
6099
  placement: o,
6088
6100
  overflows: J
6089
6101
  }], !J.every((w) => w <= 0)) {
6090
- var ie, ue;
6091
- const w = (((ie = r.flip) == null ? void 0 : ie.index) || 0) + 1, S = j[w];
6102
+ var re, ue;
6103
+ const w = (((re = i.flip) == null ? void 0 : re.index) || 0) + 1, S = j[w];
6092
6104
  if (S)
6093
6105
  return {
6094
6106
  data: {
6095
6107
  index: w,
6096
- overflows: re
6108
+ overflows: ie
6097
6109
  },
6098
6110
  reset: {
6099
6111
  placement: S
6100
6112
  }
6101
6113
  };
6102
- let I = (ue = re.filter((R) => R.overflows[0] <= 0).sort((R, D) => R.overflows[1] - D.overflows[1])[0]) == null ? void 0 : ue.placement;
6114
+ let I = (ue = ie.filter((R) => R.overflows[0] <= 0).sort((R, D) => R.overflows[1] - D.overflows[1])[0]) == null ? void 0 : ue.placement;
6103
6115
  if (!I)
6104
6116
  switch (s) {
6105
6117
  case "bestFit": {
6106
6118
  var H;
6107
- const R = (H = re.map((D) => [D.placement, D.overflows.filter((q) => q > 0).reduce((q, G) => q + G, 0)]).sort((D, q) => D[1] - q[1])[0]) == null ? void 0 : H[0];
6119
+ const R = (H = ie.map((D) => [D.placement, D.overflows.filter((q) => q > 0).reduce((q, G) => q + G, 0)]).sort((D, q) => D[1] - q[1])[0]) == null ? void 0 : H[0];
6108
6120
  R && (I = R);
6109
6121
  break;
6110
6122
  }
6111
6123
  case "initialPlacement":
6112
- I = i;
6124
+ I = r;
6113
6125
  break;
6114
6126
  }
6115
6127
  if (o !== I)
@@ -6123,12 +6135,12 @@ const Iu = (e) => ({
6123
6135
  }
6124
6136
  };
6125
6137
  };
6126
- async function Eu(e, t) {
6138
+ async function Bu(e, t) {
6127
6139
  const {
6128
6140
  placement: n,
6129
6141
  platform: a,
6130
6142
  elements: o
6131
- } = e, r = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = ge(n), i = He(n), u = We(n) === "y", d = ["left", "top"].includes(l) ? -1 : 1, c = r && u ? -1 : 1, f = Ce(t, e);
6143
+ } = e, i = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = ge(n), r = He(n), u = We(n) === "y", d = ["left", "top"].includes(l) ? -1 : 1, c = i && u ? -1 : 1, f = Ce(t, e);
6132
6144
  let {
6133
6145
  mainAxis: p,
6134
6146
  crossAxis: s,
@@ -6143,7 +6155,7 @@ async function Eu(e, t) {
6143
6155
  alignmentAxis: null,
6144
6156
  ...f
6145
6157
  };
6146
- return i && typeof m == "number" && (s = i === "end" ? m * -1 : m), u ? {
6158
+ return r && typeof m == "number" && (s = r === "end" ? m * -1 : m), u ? {
6147
6159
  x: s * c,
6148
6160
  y: p * d
6149
6161
  } : {
@@ -6151,7 +6163,7 @@ async function Eu(e, t) {
6151
6163
  y: s * c
6152
6164
  };
6153
6165
  }
6154
- const Bu = function(e) {
6166
+ const Au = function(e) {
6155
6167
  return e === void 0 && (e = 0), {
6156
6168
  name: "offset",
6157
6169
  options: e,
@@ -6159,7 +6171,7 @@ const Bu = function(e) {
6159
6171
  const {
6160
6172
  x: n,
6161
6173
  y: a
6162
- } = t, o = await Eu(t, e);
6174
+ } = t, o = await Bu(t, e);
6163
6175
  return {
6164
6176
  x: n + o.x,
6165
6177
  y: a + o.y,
@@ -6167,7 +6179,7 @@ const Bu = function(e) {
6167
6179
  };
6168
6180
  }
6169
6181
  };
6170
- }, Au = function(e) {
6182
+ }, Nu = function(e) {
6171
6183
  return e === void 0 && (e = {}), {
6172
6184
  name: "shift",
6173
6185
  options: e,
@@ -6177,9 +6189,9 @@ const Bu = function(e) {
6177
6189
  y: a,
6178
6190
  placement: o
6179
6191
  } = t, {
6180
- mainAxis: r = !0,
6192
+ mainAxis: i = !0,
6181
6193
  crossAxis: l = !1,
6182
- limiter: i = {
6194
+ limiter: r = {
6183
6195
  fn: (_) => {
6184
6196
  let {
6185
6197
  x: h,
@@ -6197,7 +6209,7 @@ const Bu = function(e) {
6197
6209
  y: a
6198
6210
  }, c = await Mn(t, u), f = We(ge(o)), p = Nt(f);
6199
6211
  let s = d[p], m = d[f];
6200
- if (r) {
6212
+ if (i) {
6201
6213
  const _ = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", E = s + c[_], N = s - c[h];
6202
6214
  s = bt(E, s, N);
6203
6215
  }
@@ -6205,7 +6217,7 @@ const Bu = function(e) {
6205
6217
  const _ = f === "y" ? "top" : "left", h = f === "y" ? "bottom" : "right", E = m + c[_], N = m - c[h];
6206
6218
  m = bt(E, m, N);
6207
6219
  }
6208
- const v = i.fn({
6220
+ const v = r.fn({
6209
6221
  ...t,
6210
6222
  [p]: s,
6211
6223
  [f]: m
@@ -6219,7 +6231,7 @@ const Bu = function(e) {
6219
6231
  };
6220
6232
  }
6221
6233
  };
6222
- }, Nu = function(e) {
6234
+ }, Ou = function(e) {
6223
6235
  return e === void 0 && (e = {}), {
6224
6236
  options: e,
6225
6237
  fn(t) {
@@ -6227,10 +6239,10 @@ const Bu = function(e) {
6227
6239
  x: n,
6228
6240
  y: a,
6229
6241
  placement: o,
6230
- rects: r,
6242
+ rects: i,
6231
6243
  middlewareData: l
6232
6244
  } = t, {
6233
- offset: i = 0,
6245
+ offset: r = 0,
6234
6246
  mainAxis: u = !0,
6235
6247
  crossAxis: d = !0
6236
6248
  } = Ce(e, t), c = {
@@ -6238,7 +6250,7 @@ const Bu = function(e) {
6238
6250
  y: a
6239
6251
  }, f = We(o), p = Nt(f);
6240
6252
  let s = c[p], m = c[f];
6241
- const v = Ce(i, t), _ = typeof v == "number" ? {
6253
+ const v = Ce(r, t), _ = typeof v == "number" ? {
6242
6254
  mainAxis: v,
6243
6255
  crossAxis: 0
6244
6256
  } : {
@@ -6247,12 +6259,12 @@ const Bu = function(e) {
6247
6259
  ...v
6248
6260
  };
6249
6261
  if (u) {
6250
- const N = p === "y" ? "height" : "width", P = r.reference[p] - r.floating[N] + _.mainAxis, j = r.reference[p] + r.reference[N] - _.mainAxis;
6262
+ const N = p === "y" ? "height" : "width", P = i.reference[p] - i.floating[N] + _.mainAxis, j = i.reference[p] + i.reference[N] - _.mainAxis;
6251
6263
  s < P ? s = P : s > j && (s = j);
6252
6264
  }
6253
6265
  if (d) {
6254
6266
  var h, E;
6255
- const N = p === "y" ? "width" : "height", P = ["top", "left"].includes(ge(o)), j = r.reference[f] - r.floating[N] + (P && ((h = l.offset) == null ? void 0 : h[f]) || 0) + (P ? 0 : _.crossAxis), O = r.reference[f] + r.reference[N] + (P ? 0 : ((E = l.offset) == null ? void 0 : E[f]) || 0) - (P ? _.crossAxis : 0);
6267
+ const N = p === "y" ? "width" : "height", P = ["top", "left"].includes(ge(o)), j = i.reference[f] - i.floating[N] + (P && ((h = l.offset) == null ? void 0 : h[f]) || 0) + (P ? 0 : _.crossAxis), O = i.reference[f] + i.reference[N] + (P ? 0 : ((E = l.offset) == null ? void 0 : E[f]) || 0) - (P ? _.crossAxis : 0);
6256
6268
  m < j ? m = j : m > O && (m = O);
6257
6269
  }
6258
6270
  return {
@@ -6294,14 +6306,14 @@ function Ue(e) {
6294
6306
  } = se(e);
6295
6307
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(o);
6296
6308
  }
6297
- function Ou(e) {
6309
+ function Ju(e) {
6298
6310
  return ["table", "td", "th"].includes(he(e));
6299
6311
  }
6300
6312
  function Ft(e) {
6301
6313
  const t = Pt(), n = se(e);
6302
6314
  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));
6303
6315
  }
6304
- function Ju(e) {
6316
+ function Fu(e) {
6305
6317
  let t = Be(e);
6306
6318
  for (; ye(t) && !ut(t); ) {
6307
6319
  if (Ft(t))
@@ -6347,17 +6359,17 @@ function qn(e) {
6347
6359
  function ht(e, t, n) {
6348
6360
  var a;
6349
6361
  t === void 0 && (t = []), n === void 0 && (n = !0);
6350
- const o = qn(e), r = o === ((a = e.ownerDocument) == null ? void 0 : a.body), l = ae(o);
6351
- return r ? t.concat(l, l.visualViewport || [], Ue(o) ? o : [], l.frameElement && n ? ht(l.frameElement) : []) : t.concat(o, ht(o, [], n));
6362
+ const o = qn(e), i = o === ((a = e.ownerDocument) == null ? void 0 : a.body), l = ae(o);
6363
+ return i ? t.concat(l, l.visualViewport || [], Ue(o) ? o : [], l.frameElement && n ? ht(l.frameElement) : []) : t.concat(o, ht(o, [], n));
6352
6364
  }
6353
6365
  function Hn(e) {
6354
6366
  const t = se(e);
6355
6367
  let n = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
6356
- const o = ye(e), r = o ? e.offsetWidth : n, l = o ? e.offsetHeight : a, i = tt(n) !== r || tt(a) !== l;
6357
- return i && (n = r, a = l), {
6368
+ const o = ye(e), i = o ? e.offsetWidth : n, l = o ? e.offsetHeight : a, r = tt(n) !== i || tt(a) !== l;
6369
+ return r && (n = i, a = l), {
6358
6370
  width: n,
6359
6371
  height: a,
6360
- $: i
6372
+ $: r
6361
6373
  };
6362
6374
  }
6363
6375
  function Wn(e) {
@@ -6370,34 +6382,34 @@ function Le(e) {
6370
6382
  const n = t.getBoundingClientRect(), {
6371
6383
  width: a,
6372
6384
  height: o,
6373
- $: r
6385
+ $: i
6374
6386
  } = Hn(t);
6375
- let l = (r ? tt(n.width) : n.width) / a, i = (r ? tt(n.height) : n.height) / o;
6376
- return (!l || !Number.isFinite(l)) && (l = 1), (!i || !Number.isFinite(i)) && (i = 1), {
6387
+ let l = (i ? tt(n.width) : n.width) / a, r = (i ? tt(n.height) : n.height) / o;
6388
+ return (!l || !Number.isFinite(l)) && (l = 1), (!r || !Number.isFinite(r)) && (r = 1), {
6377
6389
  x: l,
6378
- y: i
6390
+ y: r
6379
6391
  };
6380
6392
  }
6381
- const Fu = /* @__PURE__ */ be(0);
6393
+ const Pu = /* @__PURE__ */ be(0);
6382
6394
  function Un(e) {
6383
6395
  const t = ae(e);
6384
- return !Pt() || !t.visualViewport ? Fu : {
6396
+ return !Pt() || !t.visualViewport ? Pu : {
6385
6397
  x: t.visualViewport.offsetLeft,
6386
6398
  y: t.visualViewport.offsetTop
6387
6399
  };
6388
6400
  }
6389
- function Pu(e, t, n) {
6401
+ function Ru(e, t, n) {
6390
6402
  return t === void 0 && (t = !1), !n || t && n !== ae(e) ? !1 : t;
6391
6403
  }
6392
6404
  function Me(e, t, n, a) {
6393
6405
  t === void 0 && (t = !1), n === void 0 && (n = !1);
6394
- const o = e.getBoundingClientRect(), r = Wn(e);
6406
+ const o = e.getBoundingClientRect(), i = Wn(e);
6395
6407
  let l = be(1);
6396
6408
  t && (a ? ve(a) && (l = Le(a)) : l = Le(e));
6397
- const i = Pu(r, n, a) ? Un(r) : be(0);
6398
- let u = (o.left + i.x) / l.x, d = (o.top + i.y) / l.y, c = o.width / l.x, f = o.height / l.y;
6399
- if (r) {
6400
- const p = ae(r), s = a && ve(a) ? ae(a) : a;
6409
+ const r = Ru(i, n, a) ? Un(i) : be(0);
6410
+ let u = (o.left + r.x) / l.x, d = (o.top + r.y) / l.y, c = o.width / l.x, f = o.height / l.y;
6411
+ if (i) {
6412
+ const p = ae(i), s = a && ve(a) ? ae(a) : a;
6401
6413
  let m = p.frameElement;
6402
6414
  for (; m && a && s !== p; ) {
6403
6415
  const v = Le(m), _ = m.getBoundingClientRect(), h = se(m), E = _.left + (m.clientLeft + parseFloat(h.paddingLeft)) * v.x, N = _.top + (m.clientTop + parseFloat(h.paddingTop)) * v.y;
@@ -6411,68 +6423,68 @@ function Me(e, t, n, a) {
6411
6423
  y: d
6412
6424
  });
6413
6425
  }
6414
- function Ru(e) {
6426
+ function Du(e) {
6415
6427
  let {
6416
6428
  rect: t,
6417
6429
  offsetParent: n,
6418
6430
  strategy: a
6419
6431
  } = e;
6420
- const o = ye(n), r = we(n);
6421
- if (n === r)
6432
+ const o = ye(n), i = we(n);
6433
+ if (n === i)
6422
6434
  return t;
6423
6435
  let l = {
6424
6436
  scrollLeft: 0,
6425
6437
  scrollTop: 0
6426
- }, i = be(1);
6438
+ }, r = be(1);
6427
6439
  const u = be(0);
6428
- if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(r)) && (l = ct(n)), ye(n))) {
6440
+ if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(i)) && (l = ct(n)), ye(n))) {
6429
6441
  const d = Me(n);
6430
- i = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6442
+ r = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6431
6443
  }
6432
6444
  return {
6433
- width: t.width * i.x,
6434
- height: t.height * i.y,
6435
- x: t.x * i.x - l.scrollLeft * i.x + u.x,
6436
- y: t.y * i.y - l.scrollTop * i.y + u.y
6445
+ width: t.width * r.x,
6446
+ height: t.height * r.y,
6447
+ x: t.x * r.x - l.scrollLeft * r.x + u.x,
6448
+ y: t.y * r.y - l.scrollTop * r.y + u.y
6437
6449
  };
6438
6450
  }
6439
- function Du(e) {
6451
+ function Mu(e) {
6440
6452
  return Array.from(e.getClientRects());
6441
6453
  }
6442
6454
  function Gn(e) {
6443
6455
  return Me(we(e)).left + ct(e).scrollLeft;
6444
6456
  }
6445
- function Mu(e) {
6446
- const t = we(e), n = ct(e), a = e.ownerDocument.body, o = Ie(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), r = Ie(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6457
+ function zu(e) {
6458
+ const t = we(e), n = ct(e), a = e.ownerDocument.body, o = Ie(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), i = Ie(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6447
6459
  let l = -n.scrollLeft + Gn(e);
6448
- const i = -n.scrollTop;
6460
+ const r = -n.scrollTop;
6449
6461
  return se(a).direction === "rtl" && (l += Ie(t.clientWidth, a.clientWidth) - o), {
6450
6462
  width: o,
6451
- height: r,
6463
+ height: i,
6452
6464
  x: l,
6453
- y: i
6465
+ y: r
6454
6466
  };
6455
6467
  }
6456
- function zu(e, t) {
6468
+ function qu(e, t) {
6457
6469
  const n = ae(e), a = we(e), o = n.visualViewport;
6458
- let r = a.clientWidth, l = a.clientHeight, i = 0, u = 0;
6470
+ let i = a.clientWidth, l = a.clientHeight, r = 0, u = 0;
6459
6471
  if (o) {
6460
- r = o.width, l = o.height;
6472
+ i = o.width, l = o.height;
6461
6473
  const d = Pt();
6462
- (!d || d && t === "fixed") && (i = o.offsetLeft, u = o.offsetTop);
6474
+ (!d || d && t === "fixed") && (r = o.offsetLeft, u = o.offsetTop);
6463
6475
  }
6464
6476
  return {
6465
- width: r,
6477
+ width: i,
6466
6478
  height: l,
6467
- x: i,
6479
+ x: r,
6468
6480
  y: u
6469
6481
  };
6470
6482
  }
6471
- function qu(e, t) {
6472
- const n = Me(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, r = ye(e) ? Le(e) : be(1), l = e.clientWidth * r.x, i = e.clientHeight * r.y, u = o * r.x, d = a * r.y;
6483
+ function Hu(e, t) {
6484
+ const n = Me(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, i = ye(e) ? Le(e) : be(1), l = e.clientWidth * i.x, r = e.clientHeight * i.y, u = o * i.x, d = a * i.y;
6473
6485
  return {
6474
6486
  width: l,
6475
- height: i,
6487
+ height: r,
6476
6488
  x: u,
6477
6489
  y: d
6478
6490
  };
@@ -6480,11 +6492,11 @@ function qu(e, t) {
6480
6492
  function dn(e, t, n) {
6481
6493
  let a;
6482
6494
  if (t === "viewport")
6483
- a = zu(e, n);
6495
+ a = qu(e, n);
6484
6496
  else if (t === "document")
6485
- a = Mu(we(e));
6497
+ a = zu(we(e));
6486
6498
  else if (ve(t))
6487
- a = qu(t, n);
6499
+ a = Hu(t, n);
6488
6500
  else {
6489
6501
  const o = Un(e);
6490
6502
  a = {
@@ -6499,30 +6511,30 @@ function Kn(e, t) {
6499
6511
  const n = Be(e);
6500
6512
  return n === t || !ve(n) || ut(n) ? !1 : se(n).position === "fixed" || Kn(n, t);
6501
6513
  }
6502
- function Hu(e, t) {
6514
+ function Wu(e, t) {
6503
6515
  const n = t.get(e);
6504
6516
  if (n)
6505
6517
  return n;
6506
- let a = ht(e, [], !1).filter((i) => ve(i) && he(i) !== "body"), o = null;
6507
- const r = se(e).position === "fixed";
6508
- let l = r ? Be(e) : e;
6518
+ let a = ht(e, [], !1).filter((r) => ve(r) && he(r) !== "body"), o = null;
6519
+ const i = se(e).position === "fixed";
6520
+ let l = i ? Be(e) : e;
6509
6521
  for (; ve(l) && !ut(l); ) {
6510
- const i = se(l), u = Ft(l);
6511
- !u && i.position === "fixed" && (o = null), (r ? !u && !o : !u && i.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ue(l) && !u && Kn(e, l)) ? a = a.filter((c) => c !== l) : o = i, l = Be(l);
6522
+ const r = se(l), u = Ft(l);
6523
+ !u && r.position === "fixed" && (o = null), (i ? !u && !o : !u && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ue(l) && !u && Kn(e, l)) ? a = a.filter((c) => c !== l) : o = r, l = Be(l);
6512
6524
  }
6513
6525
  return t.set(e, a), a;
6514
6526
  }
6515
- function Wu(e) {
6527
+ function Uu(e) {
6516
6528
  let {
6517
6529
  element: t,
6518
6530
  boundary: n,
6519
6531
  rootBoundary: a,
6520
6532
  strategy: o
6521
6533
  } = e;
6522
- const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], i = l[0], u = l.reduce((d, c) => {
6534
+ const l = [...n === "clippingAncestors" ? Wu(t, this._c) : [].concat(n), a], r = l[0], u = l.reduce((d, c) => {
6523
6535
  const f = dn(t, c, o);
6524
6536
  return d.top = Ie(f.top, d.top), d.right = De(f.right, d.right), d.bottom = De(f.bottom, d.bottom), d.left = Ie(f.left, d.left), d;
6525
- }, dn(t, i, o));
6537
+ }, dn(t, r, o));
6526
6538
  return {
6527
6539
  width: u.right - u.left,
6528
6540
  height: u.bottom - u.top,
@@ -6530,25 +6542,25 @@ function Wu(e) {
6530
6542
  y: u.top
6531
6543
  };
6532
6544
  }
6533
- function Uu(e) {
6545
+ function Gu(e) {
6534
6546
  return Hn(e);
6535
6547
  }
6536
- function Gu(e, t, n) {
6537
- const a = ye(t), o = we(t), r = n === "fixed", l = Me(e, !0, r, t);
6538
- let i = {
6548
+ function Ku(e, t, n) {
6549
+ const a = ye(t), o = we(t), i = n === "fixed", l = Me(e, !0, i, t);
6550
+ let r = {
6539
6551
  scrollLeft: 0,
6540
6552
  scrollTop: 0
6541
6553
  };
6542
6554
  const u = be(0);
6543
- if (a || !a && !r)
6544
- if ((he(t) !== "body" || Ue(o)) && (i = ct(t)), a) {
6545
- const d = Me(t, !0, r, t);
6555
+ if (a || !a && !i)
6556
+ if ((he(t) !== "body" || Ue(o)) && (r = ct(t)), a) {
6557
+ const d = Me(t, !0, i, t);
6546
6558
  u.x = d.x + t.clientLeft, u.y = d.y + t.clientTop;
6547
6559
  } else
6548
6560
  o && (u.x = Gn(o));
6549
6561
  return {
6550
- x: l.left + i.scrollLeft - u.x,
6551
- y: l.top + i.scrollTop - u.y,
6562
+ x: l.left + r.scrollLeft - u.x,
6563
+ y: l.top + r.scrollTop - u.y,
6552
6564
  width: l.width,
6553
6565
  height: l.height
6554
6566
  };
@@ -6561,64 +6573,64 @@ function Yn(e, t) {
6561
6573
  if (!ye(e))
6562
6574
  return n;
6563
6575
  let a = fn(e, t);
6564
- for (; a && Ou(a) && se(a).position === "static"; )
6576
+ for (; a && Ju(a) && se(a).position === "static"; )
6565
6577
  a = fn(a, t);
6566
- return a && (he(a) === "html" || he(a) === "body" && se(a).position === "static" && !Ft(a)) ? n : a || Ju(e) || n;
6578
+ return a && (he(a) === "html" || he(a) === "body" && se(a).position === "static" && !Ft(a)) ? n : a || Fu(e) || n;
6567
6579
  }
6568
- const Ku = async function(e) {
6580
+ const Yu = async function(e) {
6569
6581
  let {
6570
6582
  reference: t,
6571
6583
  floating: n,
6572
6584
  strategy: a
6573
6585
  } = e;
6574
- const o = this.getOffsetParent || Yn, r = this.getDimensions;
6586
+ const o = this.getOffsetParent || Yn, i = this.getDimensions;
6575
6587
  return {
6576
- reference: Gu(t, await o(n), a),
6588
+ reference: Ku(t, await o(n), a),
6577
6589
  floating: {
6578
6590
  x: 0,
6579
6591
  y: 0,
6580
- ...await r(n)
6592
+ ...await i(n)
6581
6593
  }
6582
6594
  };
6583
6595
  };
6584
- function Yu(e) {
6596
+ function Zu(e) {
6585
6597
  return se(e).direction === "rtl";
6586
6598
  }
6587
- const Zu = {
6588
- convertOffsetParentRelativeRectToViewportRelativeRect: Ru,
6599
+ const Qu = {
6600
+ convertOffsetParentRelativeRectToViewportRelativeRect: Du,
6589
6601
  getDocumentElement: we,
6590
- getClippingRect: Wu,
6602
+ getClippingRect: Uu,
6591
6603
  getOffsetParent: Yn,
6592
- getElementRects: Ku,
6593
- getClientRects: Du,
6594
- getDimensions: Uu,
6604
+ getElementRects: Yu,
6605
+ getClientRects: Mu,
6606
+ getDimensions: Gu,
6595
6607
  getScale: Le,
6596
6608
  isElement: ve,
6597
- isRTL: Yu
6598
- }, Qu = (e, t, n) => {
6609
+ isRTL: Zu
6610
+ }, Xu = (e, t, n) => {
6599
6611
  const a = /* @__PURE__ */ new Map(), o = {
6600
- platform: Zu,
6612
+ platform: Qu,
6601
6613
  ...n
6602
- }, r = {
6614
+ }, i = {
6603
6615
  ...o.platform,
6604
6616
  _c: a
6605
6617
  };
6606
- return Tu(e, t, {
6618
+ return Iu(e, t, {
6607
6619
  ...o,
6608
- platform: r
6620
+ platform: i
6609
6621
  });
6610
6622
  };
6611
6623
  function _t(e) {
6612
6624
  var t;
6613
6625
  return (t = e == null ? void 0 : e.$el) != null ? t : e;
6614
6626
  }
6615
- function Xu(e) {
6627
+ function ec(e) {
6616
6628
  return {
6617
6629
  name: "arrow",
6618
6630
  options: e,
6619
6631
  fn(t) {
6620
6632
  const n = _t(T(e.element));
6621
- return n == null ? {} : Iu({
6633
+ return n == null ? {} : Lu({
6622
6634
  element: n,
6623
6635
  padding: e.padding
6624
6636
  }).fn(t);
@@ -6632,21 +6644,21 @@ function yn(e, t) {
6632
6644
  const n = Zn(e);
6633
6645
  return Math.round(t * n) / n;
6634
6646
  }
6635
- function ec(e, t, n) {
6647
+ function tc(e, t, n) {
6636
6648
  n === void 0 && (n = {});
6637
6649
  const a = n.whileElementsMounted, o = V(() => {
6638
6650
  var J;
6639
6651
  return (J = T(n.open)) != null ? J : !0;
6640
- }), r = V(() => T(n.middleware)), l = V(() => {
6652
+ }), i = V(() => T(n.middleware)), l = V(() => {
6641
6653
  var J;
6642
6654
  return (J = T(n.placement)) != null ? J : "bottom";
6643
- }), i = V(() => {
6655
+ }), r = V(() => {
6644
6656
  var J;
6645
6657
  return (J = T(n.strategy)) != null ? J : "absolute";
6646
6658
  }), u = V(() => {
6647
6659
  var J;
6648
6660
  return (J = T(n.transform)) != null ? J : !0;
6649
- }), d = V(() => _t(e.value)), c = V(() => _t(t.value)), f = C(0), p = C(0), s = C(i.value), m = C(l.value), v = la({}), _ = C(!1), h = V(() => {
6661
+ }), d = V(() => _t(e.value)), c = V(() => _t(t.value)), f = C(0), p = C(0), s = C(r.value), m = C(l.value), v = la({}), _ = C(!1), h = V(() => {
6650
6662
  const J = {
6651
6663
  position: s.value,
6652
6664
  left: "0",
@@ -6654,25 +6666,25 @@ function ec(e, t, n) {
6654
6666
  };
6655
6667
  if (!c.value)
6656
6668
  return J;
6657
- const re = yn(c.value, f.value), ie = yn(c.value, p.value);
6669
+ const ie = yn(c.value, f.value), re = yn(c.value, p.value);
6658
6670
  return u.value ? {
6659
6671
  ...J,
6660
- transform: "translate(" + re + "px, " + ie + "px)",
6672
+ transform: "translate(" + ie + "px, " + re + "px)",
6661
6673
  ...Zn(c.value) >= 1.5 && {
6662
6674
  willChange: "transform"
6663
6675
  }
6664
6676
  } : {
6665
6677
  position: s.value,
6666
- left: re + "px",
6667
- top: ie + "px"
6678
+ left: ie + "px",
6679
+ top: re + "px"
6668
6680
  };
6669
6681
  });
6670
6682
  let E;
6671
6683
  function N() {
6672
- d.value == null || c.value == null || Qu(d.value, c.value, {
6673
- middleware: r.value,
6684
+ d.value == null || c.value == null || Xu(d.value, c.value, {
6685
+ middleware: i.value,
6674
6686
  placement: l.value,
6675
- strategy: i.value
6687
+ strategy: r.value
6676
6688
  }).then((J) => {
6677
6689
  f.value = J.x, p.value = J.y, s.value = J.strategy, m.value = J.placement, v.value = J.middlewareData, _.value = !0;
6678
6690
  });
@@ -6693,7 +6705,7 @@ function ec(e, t, n) {
6693
6705
  function O() {
6694
6706
  o.value || (_.value = !1);
6695
6707
  }
6696
- return Q([r, l, i], N, {
6708
+ return Q([i, l, r], N, {
6697
6709
  flush: "sync"
6698
6710
  }), Q([d, c], j, {
6699
6711
  flush: "sync"
@@ -6710,7 +6722,7 @@ function ec(e, t, n) {
6710
6722
  update: N
6711
6723
  };
6712
6724
  }
6713
- const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6725
+ const nc = { class: "joy-tooltip__content__inner" }, ac = /* @__PURE__ */ L({
6714
6726
  __name: "VJoyTooltip",
6715
6727
  props: {
6716
6728
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -6748,19 +6760,19 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6748
6760
  }
6749
6761
  },
6750
6762
  setup(e, { expose: t }) {
6751
- const n = e, a = C(!1), o = C(null), r = C(null), l = C(), i = C(
6752
- ec(o, r, {
6763
+ const n = e, a = C(!1), o = C(null), i = C(null), l = C(), r = C(
6764
+ tc(o, i, {
6753
6765
  placement: n.placement,
6754
6766
  transform: !1,
6755
6767
  middleware: [
6756
- Bu(10),
6757
- Au({
6758
- limiter: Nu()
6768
+ Au(10),
6769
+ Nu({
6770
+ limiter: Ou()
6759
6771
  }),
6760
- Lu({
6772
+ Eu({
6761
6773
  fallbackPlacements: ["bottom", "top", "left", "right"]
6762
6774
  }),
6763
- Xu({ element: l, padding: 0 })
6775
+ ec({ element: l, padding: 0 })
6764
6776
  ]
6765
6777
  })
6766
6778
  ), u = X(), d = V(() => u["tooltip-content"] || n.text);
@@ -6775,12 +6787,12 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6775
6787
  }
6776
6788
  function s(v = !0) {
6777
6789
  var _;
6778
- (_ = i.value) == null || _.update(), setTimeout(() => {
6790
+ (_ = r.value) == null || _.update(), setTimeout(() => {
6779
6791
  a.value = v;
6780
6792
  }, n.delay);
6781
6793
  }
6782
6794
  const m = V(() => {
6783
- const { middlewareData: v, placement: _ } = i.value, h = v.arrow, E = {
6795
+ const { middlewareData: v, placement: _ } = r.value, h = v.arrow, E = {
6784
6796
  top: "bottom",
6785
6797
  right: "left",
6786
6798
  bottom: "top",
@@ -6800,7 +6812,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6800
6812
  a.value = !1;
6801
6813
  }), t({
6802
6814
  tooltipVisible: a,
6803
- tooltip: r
6815
+ tooltip: i
6804
6816
  }), (v, _) => (y(), B(T(Lt), {
6805
6817
  ref: "tooltipClickOutside",
6806
6818
  class: "joy-tooltip__click-outside",
@@ -6819,11 +6831,11 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6819
6831
  onKeydown: _[0] || (_[0] = Ct((E) => s(!1), ["tab"]))
6820
6832
  }, [
6821
6833
  k(v.$slots, "default", {}, void 0, !0),
6822
- (y(), B(rt, { to: "body" }, [
6834
+ (y(), B(it, { to: "body" }, [
6823
6835
  a.value && d.value ? (y(), g("div", {
6824
6836
  key: 0,
6825
6837
  ref_key: "tooltip",
6826
- ref: r,
6838
+ ref: i,
6827
6839
  role: "tooltip",
6828
6840
  class: $([
6829
6841
  "joy-tooltip__content",
@@ -6832,9 +6844,9 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6832
6844
  "joy-tooltip__content--hiding": !a.value
6833
6845
  }
6834
6846
  ]),
6835
- style: ce({ ...(h = i.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6847
+ style: ce({ ...(h = r.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6836
6848
  }, [
6837
- b("div", tc, [
6849
+ b("div", nc, [
6838
6850
  k(v.$slots, "tooltip-content", {}, () => [
6839
6851
  z(F(e.text), 1)
6840
6852
  ], !0)
@@ -6854,7 +6866,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6854
6866
  }, 512));
6855
6867
  }
6856
6868
  });
6857
- const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { class: "joy-user-card__picture" }, lc = { class: "joy-user-card__informations" }, rc = { class: "joy-user-card__title" }, ic = { class: "joy-user-card__subtitle" }, sc = /* @__PURE__ */ L({
6869
+ const oc = /* @__PURE__ */ A(ac, [["__scopeId", "data-v-9fdad75d"]]), lc = { class: "joy-user-card__picture" }, ic = { class: "joy-user-card__informations" }, rc = { class: "joy-user-card__title" }, sc = { class: "joy-user-card__subtitle" }, uc = /* @__PURE__ */ L({
6858
6870
  __name: "VJoyUserCard",
6859
6871
  props: {
6860
6872
  /**
@@ -6886,7 +6898,7 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6886
6898
  title: e.fullName
6887
6899
  }, t.$attrs), {
6888
6900
  default: M(() => [
6889
- b("div", oc, [
6901
+ b("div", lc, [
6890
6902
  k(t.$slots, "user-card-avatar", {}, () => [
6891
6903
  U(T(bn), {
6892
6904
  "photo-url": e.photoUrl,
@@ -6894,13 +6906,13 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6894
6906
  }, null, 8, ["photo-url", "full-name"])
6895
6907
  ], !0)
6896
6908
  ]),
6897
- b("div", lc, [
6909
+ b("div", ic, [
6898
6910
  b("p", rc, [
6899
6911
  k(t.$slots, "user-card-title", {}, () => [
6900
6912
  z(F(e.fullName), 1)
6901
6913
  ], !0)
6902
6914
  ]),
6903
- b("p", ic, [
6915
+ b("p", sc, [
6904
6916
  k(t.$slots, "user-card-subtitle", {}, () => [
6905
6917
  z(F(e.subTitle), 1)
6906
6918
  ], !0)
@@ -6920,7 +6932,7 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6920
6932
  }, 16, ["href", "title"]));
6921
6933
  }
6922
6934
  });
6923
- const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6935
+ const cc = /* @__PURE__ */ A(uc, [["__scopeId", "data-v-2a8e1076"]]), dc = /* @__PURE__ */ L({
6924
6936
  __name: "VJoyWrapper",
6925
6937
  props: {
6926
6938
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -6981,7 +6993,7 @@ const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @_
6981
6993
  ], 2));
6982
6994
  }
6983
6995
  });
6984
- const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6996
+ const Rt = /* @__PURE__ */ A(dc, [["__scopeId", "data-v-68d89412"]]), fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6985
6997
  __proto__: null,
6986
6998
  VJoyAvailability: ca,
6987
6999
  VJoyAvatar: bn,
@@ -6999,35 +7011,35 @@ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
6999
7011
  VJoyDialog: Ml,
7000
7012
  VJoyDialogTrigger: zl,
7001
7013
  VJoyDividerCta: Kl,
7002
- VJoyDrawer: ar,
7003
- VJoyDrawerTrigger: or,
7004
- VJoyDropdown: dr,
7014
+ VJoyDrawer: ai,
7015
+ VJoyDrawerTrigger: oi,
7016
+ VJoyDropdown: di,
7005
7017
  VJoyDropdownList: Ln,
7006
- VJoyFilterBar: pr,
7007
- VJoyFilterBarButton: br,
7008
- VJoyFooter: Sr,
7018
+ VJoyFilterBar: pi,
7019
+ VJoyFilterBarButton: bi,
7020
+ VJoyFooter: Si,
7009
7021
  VJoyFormError: En,
7010
- VJoyFormFieldSkeleton: jr,
7011
- VJoyFunnel: Ar,
7012
- VJoyHeader: Pr,
7013
- VJoyHighlight: qr,
7022
+ VJoyFormFieldSkeleton: ji,
7023
+ VJoyFunnel: Ai,
7024
+ VJoyHeader: Pi,
7025
+ VJoyHighlight: qi,
7014
7026
  VJoyIcon: W,
7015
7027
  VJoyIndicator: Bn,
7016
- VJoyIndicators: Gr,
7017
- VJoyInput: ai,
7028
+ VJoyIndicators: Gi,
7029
+ VJoyInput: ar,
7018
7030
  VJoyLabel: je,
7019
- VJoyLink: ii,
7020
- VJoyMenu: fi,
7021
- VJoyMultiCheckbox: mi,
7022
- VJoyPagination: ki,
7023
- VJoyPanel: Ei,
7024
- VJoyPanelSection: Ji,
7025
- VJoyProgressBar: Ri,
7026
- VJoyRadio: Wi,
7027
- VJoyRadioGroup: Ki,
7031
+ VJoyLink: rr,
7032
+ VJoyMenu: fr,
7033
+ VJoyMultiCheckbox: mr,
7034
+ VJoyPagination: kr,
7035
+ VJoyPanel: Er,
7036
+ VJoyPanelSection: Jr,
7037
+ VJoyProgressBar: Rr,
7038
+ VJoyRadio: Wr,
7039
+ VJoyRadioGroup: Kr,
7028
7040
  VJoyRatingStars: An,
7029
7041
  VJoyScreenLoader: At,
7030
- VJoySelect: is,
7042
+ VJoySelect: rs,
7031
7043
  VJoySelectableItem: Nn,
7032
7044
  VJoySelectableItemGroup: vs,
7033
7045
  VJoySeparator: ms,
@@ -7036,19 +7048,19 @@ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
7036
7048
  VJoyStep: Jn,
7037
7049
  VJoyStepper: Vs,
7038
7050
  VJoyTab: Ls,
7039
- VJoyTabs: Fs,
7051
+ VJoyTabs: Ps,
7040
7052
  VJoyTag: Fn,
7041
- VJoyTagsList: Ms,
7042
- VJoyTemplate: ou,
7053
+ VJoyTagsList: zs,
7054
+ VJoyTemplate: lu,
7043
7055
  VJoyTemplateShape: Pn,
7044
7056
  VJoyText: ru,
7045
- VJoyTextarea: yu,
7046
- VJoyToggle: wu,
7047
- VJoyTooltip: ac,
7048
- VJoyUserCard: uc,
7057
+ VJoyTextarea: vu,
7058
+ VJoyToggle: Su,
7059
+ VJoyTooltip: oc,
7060
+ VJoyUserCard: cc,
7049
7061
  VJoyWrapper: Rt
7050
7062
  }, Symbol.toStringTag, { value: "Module" }));
7051
- function fc(e) {
7063
+ function yc(e) {
7052
7064
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
7053
7065
  var a = e.get(t);
7054
7066
  a ? a.push(n) : e.set(t, [n]);
@@ -7064,15 +7076,15 @@ function fc(e) {
7064
7076
  });
7065
7077
  } };
7066
7078
  }
7067
- function yc() {
7068
- return fc();
7079
+ function vc() {
7080
+ return yc();
7069
7081
  }
7070
- const wt = "joy-snackbar__container", vc = "joy-snackbar__shell--";
7082
+ const wt = "joy-snackbar__container", pc = "joy-snackbar__shell--";
7071
7083
  let Ye = 0, St = [];
7072
- function pc() {
7084
+ function mc() {
7073
7085
  Ye = 0, St = [];
7074
7086
  }
7075
- function mc(e = { appendTo: "body", defaultMountSelector: wt }) {
7087
+ function bc(e = { appendTo: "body", defaultMountSelector: wt }) {
7076
7088
  var a;
7077
7089
  const t = document.createElement("div");
7078
7090
  t.id = e.defaultMountSelector;
@@ -7088,12 +7100,12 @@ function mc(e = { appendTo: "body", defaultMountSelector: wt }) {
7088
7100
  }
7089
7101
  `, 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));
7090
7102
  }
7091
- function hc(e) {
7092
- var r, l;
7093
- e.disableStacking && (St.forEach((i) => i.unmount()), pc(), document.getElementById(wt).innerHTML = ""), Ye++;
7103
+ function _c(e) {
7104
+ var i, l;
7105
+ e.disableStacking && (St.forEach((r) => r.unmount()), mc(), document.getElementById(wt).innerHTML = ""), Ye++;
7094
7106
  let t, n;
7095
- const a = yc();
7096
- t = ra(
7107
+ const a = vc();
7108
+ t = ia(
7097
7109
  On,
7098
7110
  Object.assign(e.props, {
7099
7111
  bus: a,
@@ -7101,23 +7113,23 @@ function hc(e) {
7101
7113
  })
7102
7114
  );
7103
7115
  const o = document.createElement("div");
7104
- return o.classList.add("joy-snackbar__shell"), n = `${vc}${Ye}`, o.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(o) : (l = document.getElementById(wt)) == null || l.appendChild(o), t.use(bc).mount("#" + n), St.push(t), a.on("snackbar:hide", () => {
7105
- var i;
7106
- t.unmount(), (i = document.getElementById(n)) == null || i.remove();
7116
+ return o.classList.add("joy-snackbar__shell"), n = `${pc}${Ye}`, o.id = n, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(o) : (l = document.getElementById(wt)) == null || l.appendChild(o), t.use(gc).mount("#" + n), St.push(t), a.on("snackbar:hide", () => {
7117
+ var r;
7118
+ t.unmount(), (r = document.getElementById(n)) == null || r.remove();
7107
7119
  }), {
7108
7120
  snackbarEventBus: a,
7109
7121
  snackbarApp: t
7110
7122
  };
7111
7123
  }
7112
- const bc = {
7124
+ const gc = {
7113
7125
  install: (e, t = { env: "client" }) => {
7114
- Object.entries(dc).forEach(([n, a]) => {
7126
+ Object.entries(fc).forEach(([n, a]) => {
7115
7127
  e.component(n, a);
7116
- }), t.env === "client" && mc(), e.directive("joy-ripple", ia);
7128
+ }), t.env === "client" && bc(), e.directive("joy-ripple", ra);
7117
7129
  }
7118
7130
  };
7119
7131
  export {
7120
- bc as JoyVuePlugin,
7132
+ gc as JoyVuePlugin,
7121
7133
  ca as VJoyAvailability,
7122
7134
  bn as VJoyAvatar,
7123
7135
  wa as VJoyAvatarsList,
@@ -7134,35 +7146,35 @@ export {
7134
7146
  Ml as VJoyDialog,
7135
7147
  zl as VJoyDialogTrigger,
7136
7148
  Kl as VJoyDividerCta,
7137
- ar as VJoyDrawer,
7138
- or as VJoyDrawerTrigger,
7139
- dr as VJoyDropdown,
7149
+ ai as VJoyDrawer,
7150
+ oi as VJoyDrawerTrigger,
7151
+ di as VJoyDropdown,
7140
7152
  Ln as VJoyDropdownList,
7141
- pr as VJoyFilterBar,
7142
- br as VJoyFilterBarButton,
7143
- Sr as VJoyFooter,
7153
+ pi as VJoyFilterBar,
7154
+ bi as VJoyFilterBarButton,
7155
+ Si as VJoyFooter,
7144
7156
  En as VJoyFormError,
7145
- jr as VJoyFormFieldSkeleton,
7146
- Ar as VJoyFunnel,
7147
- Pr as VJoyHeader,
7148
- qr as VJoyHighlight,
7157
+ ji as VJoyFormFieldSkeleton,
7158
+ Ai as VJoyFunnel,
7159
+ Pi as VJoyHeader,
7160
+ qi as VJoyHighlight,
7149
7161
  W as VJoyIcon,
7150
7162
  Bn as VJoyIndicator,
7151
- Gr as VJoyIndicators,
7152
- ai as VJoyInput,
7163
+ Gi as VJoyIndicators,
7164
+ ar as VJoyInput,
7153
7165
  je as VJoyLabel,
7154
- ii as VJoyLink,
7155
- fi as VJoyMenu,
7156
- mi as VJoyMultiCheckbox,
7157
- ki as VJoyPagination,
7158
- Ei as VJoyPanel,
7159
- Ji as VJoyPanelSection,
7160
- Ri as VJoyProgressBar,
7161
- Wi as VJoyRadio,
7162
- Ki as VJoyRadioGroup,
7166
+ rr as VJoyLink,
7167
+ fr as VJoyMenu,
7168
+ mr as VJoyMultiCheckbox,
7169
+ kr as VJoyPagination,
7170
+ Er as VJoyPanel,
7171
+ Jr as VJoyPanelSection,
7172
+ Rr as VJoyProgressBar,
7173
+ Wr as VJoyRadio,
7174
+ Kr as VJoyRadioGroup,
7163
7175
  An as VJoyRatingStars,
7164
7176
  At as VJoyScreenLoader,
7165
- is as VJoySelect,
7177
+ rs as VJoySelect,
7166
7178
  Nn as VJoySelectableItem,
7167
7179
  vs as VJoySelectableItemGroup,
7168
7180
  ms as VJoySeparator,
@@ -7171,19 +7183,19 @@ export {
7171
7183
  Jn as VJoyStep,
7172
7184
  Vs as VJoyStepper,
7173
7185
  Ls as VJoyTab,
7174
- Fs as VJoyTabs,
7186
+ Ps as VJoyTabs,
7175
7187
  Fn as VJoyTag,
7176
- Ms as VJoyTagsList,
7177
- ou as VJoyTemplate,
7188
+ zs as VJoyTagsList,
7189
+ lu as VJoyTemplate,
7178
7190
  Pn as VJoyTemplateShape,
7179
7191
  ru as VJoyText,
7180
- yu as VJoyTextarea,
7181
- wu as VJoyToggle,
7182
- ac as VJoyTooltip,
7183
- uc as VJoyUserCard,
7192
+ vu as VJoyTextarea,
7193
+ Su as VJoyToggle,
7194
+ oc as VJoyTooltip,
7195
+ cc as VJoyUserCard,
7184
7196
  Rt as VJoyWrapper,
7185
- mc as createAllSnackbarsContainer,
7186
- hc as pushVJoySnackbar,
7187
- pc as resetCount,
7197
+ bc as createAllSnackbarsContainer,
7198
+ _c as pushVJoySnackbar,
7199
+ mc as resetCount,
7188
7200
  St as snackbarMountedInstances
7189
7201
  };