@maltjoy/core-vue 3.19.7 → 3.19.9

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", {
@@ -2621,7 +2621,8 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2621
2621
  }, [
2622
2622
  U(T(Rt), {
2623
2623
  justify: "flex-end",
2624
- "no-margin": ""
2624
+ "no-margin": "",
2625
+ class: "joy-drawer--footer-wrapper"
2625
2626
  }, {
2626
2627
  default: M(() => [
2627
2628
  k(P.$slots, "drawer-cancel", {}, () => [
@@ -2656,7 +2657,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2656
2657
  _: 3
2657
2658
  })
2658
2659
  ], 2),
2659
- T(r)["drawer-indicators"] ? (y(), g("div", tr, [
2660
+ T(i)["drawer-indicators"] ? (y(), g("div", ti, [
2660
2661
  k(P.$slots, "drawer-indicators", {}, void 0, !0)
2661
2662
  ])) : x("", !0)
2662
2663
  ])
@@ -2668,30 +2669,30 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2668
2669
  ], 8, ["to"])) : x("", !0);
2669
2670
  }
2670
2671
  });
2671
- const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2672
+ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-22b62515"]]), oi = /* @__PURE__ */ L({
2672
2673
  __name: "VJoyDrawerTrigger",
2673
2674
  props: {
2674
2675
  drawer: {}
2675
2676
  },
2676
2677
  emits: ["click"],
2677
2678
  setup(e, { emit: t }) {
2678
- const n = e, a = V(() => n.drawer), o = X(), r = V(() => o.default());
2679
+ const n = e, a = V(() => n.drawer), o = X(), i = V(() => o.default());
2679
2680
  async function l() {
2680
- var i;
2681
- t("click"), await ((i = a.value) == null ? void 0 : i.show());
2681
+ var r;
2682
+ t("click"), await ((r = a.value) == null ? void 0 : r.show());
2682
2683
  }
2683
- return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
2684
+ return (r, u) => (y(!0), g(K, null, Y(i.value, (d) => (y(), B(oe(d), {
2684
2685
  key: d,
2685
2686
  onClick: l
2686
2687
  }))), 128));
2687
2688
  }
2688
- }), In = ["medium", "small", "xsmall"], lr = {
2689
+ }), In = ["medium", "small", "xsmall"], li = {
2689
2690
  key: 0,
2690
2691
  class: "joy-dropdown-list__header"
2691
- }, rr = ["aria-label", "aria-labelledby"], ir = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], sr = {
2692
+ }, ii = ["aria-label", "aria-labelledby"], ri = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], si = {
2692
2693
  key: 1,
2693
2694
  class: "joy-dropdown-list__footer"
2694
- }, ur = /* @__PURE__ */ L({
2695
+ }, ui = /* @__PURE__ */ L({
2695
2696
  __name: "VJoyDropdownList",
2696
2697
  props: {
2697
2698
  /**
@@ -2738,22 +2739,22 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2738
2739
  },
2739
2740
  emits: ["update:modelValue", "close:dropdownList", "reset"],
2740
2741
  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);
2742
+ const a = e, o = C(), i = V(() => (s) => !a.modelValue || !s.value && !s.id ? !1 : a.modelValue === s.value || a.modelValue === s.id);
2742
2743
  function l(s) {
2743
2744
  s.disabled || n("update:modelValue", s.value || s.id);
2744
2745
  }
2745
- function i() {
2746
+ function r() {
2746
2747
  var s;
2747
2748
  return Array.from(((s = o.value) == null ? void 0 : s.querySelectorAll("li")) || []);
2748
2749
  }
2749
2750
  function u() {
2750
- const s = i().find((m) => m.getAttribute("aria-selected") === "true");
2751
+ const s = r().find((m) => m.getAttribute("aria-selected") === "true");
2751
2752
  s && (s.focus(), o.value.scrollTo({
2752
2753
  top: s.offsetTop
2753
2754
  }));
2754
2755
  }
2755
2756
  function d() {
2756
- return i().find((s) => s === document.activeElement);
2757
+ return r().find((s) => s === document.activeElement);
2757
2758
  }
2758
2759
  function c(s) {
2759
2760
  var m;
@@ -2767,7 +2768,7 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2767
2768
  n("update:modelValue", v.dataModel);
2768
2769
  }
2769
2770
  if (d() && s.key === " " && s.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key)) {
2770
- const v = i(), _ = d();
2771
+ const v = r(), _ = d();
2771
2772
  let h = v.indexOf(_);
2772
2773
  if (v.length) {
2773
2774
  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 +2788,12 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2787
2788
  }), Ne(() => {
2788
2789
  window.removeEventListener("keydown", c);
2789
2790
  }), t({
2790
- isSelected: r
2791
+ isSelected: i
2791
2792
  }), (s, m) => (y(), g("div", {
2792
2793
  class: "joy-dropdown-list",
2793
2794
  style: ce({ width: `${e.width}px`, "max-width": `${e.width}px` })
2794
2795
  }, [
2795
- s.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", lr, [
2796
+ s.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", li, [
2796
2797
  e.reset ? (y(), g("button", {
2797
2798
  key: 0,
2798
2799
  type: "button",
@@ -2824,13 +2825,13 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2824
2825
  "joy-dropdown-list__item",
2825
2826
  `joy-dropdown-list__item--${e.size}`,
2826
2827
  {
2827
- "joy-dropdown-list__item--selected": r.value(v),
2828
+ "joy-dropdown-list__item--selected": i.value(v),
2828
2829
  "joy-dropdown-list__item--disabled": v.disabled
2829
2830
  }
2830
2831
  ]),
2831
2832
  tabindex: v.disabled ? void 0 : -1,
2832
2833
  "aria-disabled": v.disabled,
2833
- "aria-selected": r.value(v),
2834
+ "aria-selected": i.value(v),
2834
2835
  title: v.label,
2835
2836
  "aria-label": v.label,
2836
2837
  ".dataModel": v.value || v.id,
@@ -2840,16 +2841,16 @@ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2840
2841
  k(s.$slots, "label", ze(qe(v)), () => [
2841
2842
  b("span", null, F(v.label), 1)
2842
2843
  ], !0)
2843
- ], 14, ir))), 128))
2844
- ], 8, rr)) : x("", !0)
2844
+ ], 14, ri))), 128))
2845
+ ], 8, ii)) : x("", !0)
2845
2846
  ], 6),
2846
- s.$slots["dropdown-list-footer"] ? (y(), g("footer", sr, [
2847
+ s.$slots["dropdown-list-footer"] ? (y(), g("footer", si, [
2847
2848
  k(s.$slots, "dropdown-list-footer", {}, void 0, !0)
2848
2849
  ])) : x("", !0)
2849
2850
  ], 4));
2850
2851
  }
2851
2852
  });
2852
- const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2853
+ const Ln = /* @__PURE__ */ A(ui, [["__scopeId", "data-v-0127e896"]]), ci = /* @__PURE__ */ L({
2853
2854
  __name: "VJoyDropdown",
2854
2855
  props: {
2855
2856
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -2940,7 +2941,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2940
2941
  },
2941
2942
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2942
2943
  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();
2944
+ 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
2945
  jt("VJoyDropdownContext", a);
2945
2946
  const f = {
2946
2947
  ignore: [l, ".joy-dropdown__list"]
@@ -2949,7 +2950,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2949
2950
  Q(
2950
2951
  () => o.value,
2951
2952
  (j) => {
2952
- j && Ga(i);
2953
+ j && Ga(r);
2953
2954
  },
2954
2955
  { flush: "post" }
2955
2956
  );
@@ -2989,7 +2990,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2989
2990
  generatedId: c
2990
2991
  }), (j, O) => (y(), B(T(Lt), {
2991
2992
  ref_key: "dropdown",
2992
- ref: r,
2993
+ ref: i,
2993
2994
  options: f,
2994
2995
  class: "joy-dropdown",
2995
2996
  onTrigger: m
@@ -3007,7 +3008,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3007
3008
  o.value ? (y(), g("div", {
3008
3009
  key: 0,
3009
3010
  ref_key: "list",
3010
- ref: i,
3011
+ ref: r,
3011
3012
  class: $([
3012
3013
  "joy-dropdown__list",
3013
3014
  `joy-dropdown__list--${e.justify}`,
@@ -3067,7 +3068,7 @@ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3067
3068
  }, 512));
3068
3069
  }
3069
3070
  });
3070
- const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3071
+ const di = /* @__PURE__ */ A(ci, [["__scopeId", "data-v-a27687c9"]]), fi = ["aria-label"], yi = { class: "joy-filter-bar__wrapper" }, vi = /* @__PURE__ */ L({
3071
3072
  __name: "VJoyFilterBar",
3072
3073
  props: {
3073
3074
  ariaLabel: String
@@ -3078,13 +3079,13 @@ const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["ari
3078
3079
  role: "group",
3079
3080
  "aria-label": e.ariaLabel || "Filter bar"
3080
3081
  }, [
3081
- b("div", yr, [
3082
+ b("div", yi, [
3082
3083
  k(t.$slots, "default", {}, void 0, !0)
3083
3084
  ])
3084
- ], 8, fr));
3085
+ ], 8, fi));
3085
3086
  }
3086
3087
  });
3087
- const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3088
+ const pi = /* @__PURE__ */ A(vi, [["__scopeId", "data-v-114f8274"]]), mi = /* @__PURE__ */ L({
3088
3089
  __name: "VJoyFilterBarButton",
3089
3090
  props: {
3090
3091
  label: String,
@@ -3099,17 +3100,17 @@ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3099
3100
  },
3100
3101
  emits: ["filter"],
3101
3102
  setup(e, { emit: t }) {
3102
- const n = e, a = it("VJoyDropdownContext", null);
3103
+ const n = e, a = rt("VJoyDropdownContext", null);
3103
3104
  function o() {
3104
3105
  t("filter", n.value);
3105
3106
  }
3106
- return (r, l) => (y(), g("button", {
3107
+ return (i, l) => (y(), g("button", {
3107
3108
  type: "button",
3108
3109
  class: $(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3109
3110
  onClick: o
3110
3111
  }, [
3111
3112
  z(F(e.label) + " ", 1),
3112
- k(r.$slots, "default", {}, void 0, !0),
3113
+ k(i.$slots, "default", {}, void 0, !0),
3113
3114
  T(a) ? (y(), B(W, {
3114
3115
  key: 0,
3115
3116
  class: "joy-filter-bar-button__icon",
@@ -3120,20 +3121,20 @@ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3120
3121
  ], 2));
3121
3122
  }
3122
3123
  });
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({
3124
+ 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
3125
  __name: "VJoyFooter",
3125
3126
  setup(e) {
3126
- return (t, n) => (y(), g("footer", gr, [
3127
- b("div", hr, [
3127
+ return (t, n) => (y(), g("footer", gi, [
3128
+ b("div", hi, [
3128
3129
  k(t.$slots, "footer-left", {}, void 0, !0)
3129
3130
  ]),
3130
- b("div", _r, [
3131
+ b("div", _i, [
3131
3132
  k(t.$slots, "footer-right", {}, void 0, !0)
3132
3133
  ])
3133
3134
  ]));
3134
3135
  }
3135
3136
  });
3136
- const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3137
+ const Si = /* @__PURE__ */ A(wi, [["__scopeId", "data-v-e174785d"]]), ki = ["aria-hidden"], xi = /* @__PURE__ */ L({
3137
3138
  __name: "VJoyFormError",
3138
3139
  props: {
3139
3140
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3159,10 +3160,10 @@ const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["ari
3159
3160
  z(F(e.noHtmlErrorText), 1)
3160
3161
  ], !0)
3161
3162
  ])
3162
- ], 10, kr));
3163
+ ], 10, ki));
3163
3164
  }
3164
3165
  });
3165
- const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3166
+ const En = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-581fd33b"]]), Ci = /* @__PURE__ */ L({
3166
3167
  __name: "VJoyFormFieldSkeleton",
3167
3168
  props: {
3168
3169
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3182,16 +3183,16 @@ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3182
3183
  }
3183
3184
  },
3184
3185
  setup(e, { expose: t }) {
3185
- const n = e, a = it("VJoyWrapperContext", {}), o = V(() => {
3186
- const r = a.direction === "column" ? "auto" : null;
3186
+ const n = e, a = rt("VJoyWrapperContext", {}), o = V(() => {
3187
+ const i = a.direction === "column" ? "auto" : null;
3187
3188
  if (!n.width && n.flex === "1") {
3188
3189
  const u = ["1", "0"];
3189
- return r && u.push(r), u.join(" ");
3190
+ return i && u.push(i), u.join(" ");
3190
3191
  }
3191
- const l = [n.flex || "1", "0"], i = n.width || r;
3192
- return i && l.push(i), l.join(" ");
3192
+ const l = [n.flex || "1", "0"], r = n.width || i;
3193
+ return r && l.push(r), l.join(" ");
3193
3194
  });
3194
- return t({ flexStyle: o }), (r, l) => (y(), g("div", {
3195
+ return t({ flexStyle: o }), (i, l) => (y(), g("div", {
3195
3196
  "aria-hidden": "true",
3196
3197
  class: $(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3197
3198
  style: ce({
@@ -3201,9 +3202,9 @@ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3201
3202
  }, null, 6));
3202
3203
  }
3203
3204
  });
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({
3205
+ 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 = [
3206
+ Ii
3207
+ ], Ei = { class: "joy-funnel__footer" }, Bi = /* @__PURE__ */ L({
3207
3208
  __name: "VJoyFunnel",
3208
3209
  props: {
3209
3210
  /**
@@ -3225,34 +3226,34 @@ const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3225
3226
  setup(e, { expose: t }) {
3226
3227
  const n = C(!0), a = X();
3227
3228
  function o(l) {
3228
- const i = l.currentTarget;
3229
- n.value = i.scrollTop === 0;
3229
+ const r = l.currentTarget;
3230
+ n.value = r.scrollTop === 0;
3230
3231
  }
3231
- const r = V(() => !!a["funnel-stepper"]);
3232
+ const i = V(() => !!a["funnel-stepper"]);
3232
3233
  return t({
3233
3234
  scrollOnTop: n,
3234
- hasStepperSlot: r
3235
- }), (l, i) => (y(), g("div", {
3235
+ hasStepperSlot: i
3236
+ }), (l, r) => (y(), g("div", {
3236
3237
  class: $([
3237
3238
  "joy-funnel",
3238
3239
  {
3239
3240
  "joy-funnel--no-border": n.value,
3240
- "joy-funnel--no-stepper": !r.value
3241
+ "joy-funnel--no-stepper": !i.value
3241
3242
  }
3242
3243
  ])
3243
3244
  }, [
3244
- b("div", $r, [
3245
- b("div", Vr, [
3245
+ b("div", $i, [
3246
+ b("div", Vi, [
3246
3247
  k(l.$slots, "funnel-header", {}, void 0, !0)
3247
3248
  ]),
3248
- b("div", Tr, [
3249
+ b("div", Ti, [
3249
3250
  k(l.$slots, "funnel-stepper", {}, void 0, !0)
3250
3251
  ])
3251
3252
  ]),
3252
3253
  e.hideShapes ? x("", !0) : (y(), g("div", {
3253
3254
  key: 0,
3254
3255
  class: $(["joy-funnel__shapes", { "joy-funnel__shapes--strategy": e.profile === "strategy" }])
3255
- }, Lr, 2)),
3256
+ }, Li, 2)),
3256
3257
  b("div", {
3257
3258
  class: "joy-funnel__scrollable",
3258
3259
  onScroll: o
@@ -3263,26 +3264,26 @@ const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3263
3264
  k(l.$slots, "default", {}, void 0, !0)
3264
3265
  ], 2)
3265
3266
  ], 32),
3266
- b("div", Er, [
3267
+ b("div", Ei, [
3267
3268
  k(l.$slots, "funnel-footer", {}, void 0, !0)
3268
3269
  ])
3269
3270
  ], 2));
3270
3271
  }
3271
3272
  });
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({
3273
+ 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
3274
  __name: "VJoyHeader",
3274
3275
  setup(e) {
3275
- return (t, n) => (y(), g("header", Nr, [
3276
- b("div", Or, [
3276
+ return (t, n) => (y(), g("header", Ni, [
3277
+ b("div", Oi, [
3277
3278
  k(t.$slots, "header-left", {}, void 0, !0)
3278
3279
  ]),
3279
- b("div", Jr, [
3280
+ b("div", Ji, [
3280
3281
  k(t.$slots, "header-right", {}, void 0, !0)
3281
3282
  ])
3282
3283
  ]));
3283
3284
  }
3284
3285
  });
3285
- const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Dr = { class: "joy-highlight--text" }, Mr = { key: 0 }, zr = /* @__PURE__ */ L({
3286
+ const Pi = /* @__PURE__ */ A(Fi, [["__scopeId", "data-v-7928856e"]]), Ri = [...Qa], Di = { class: "joy-highlight--text" }, Mi = { key: 0 }, zi = /* @__PURE__ */ L({
3286
3287
  __name: "VJoyHighlight",
3287
3288
  props: {
3288
3289
  accent: {
@@ -3300,7 +3301,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3300
3301
  type: String,
3301
3302
  default: "neutral",
3302
3303
  validator(e) {
3303
- return Rr.includes(e);
3304
+ return Ri.includes(e);
3304
3305
  }
3305
3306
  }
3306
3307
  },
@@ -3308,7 +3309,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3308
3309
  const n = e, a = V(() => n.icon ? n.icon : gn(n.level));
3309
3310
  return t({
3310
3311
  getRelevantIcon: a
3311
- }), (o, r) => (y(), g("div", {
3312
+ }), (o, i) => (y(), g("div", {
3312
3313
  class: $([
3313
3314
  "joy-highlight",
3314
3315
  `joy-highlight_${e.level}`,
@@ -3322,8 +3323,8 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3322
3323
  key: 0,
3323
3324
  name: a.value
3324
3325
  }, null, 8, ["name"])) : x("", !0),
3325
- b("div", Dr, [
3326
- o.$slots["highlight-title"] ? (y(), g("strong", Mr, [
3326
+ b("div", Di, [
3327
+ o.$slots["highlight-title"] ? (y(), g("strong", Mi, [
3327
3328
  k(o.$slots, "highlight-title", {}, void 0, !0)
3328
3329
  ])) : x("", !0),
3329
3330
  k(o.$slots, "default", {}, void 0, !0)
@@ -3331,7 +3332,7 @@ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3331
3332
  ], 2));
3332
3333
  }
3333
3334
  });
3334
- const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3335
+ const qi = /* @__PURE__ */ A(zi, [["__scopeId", "data-v-45c2fbf4"]]), Hi = ["aria-label"], Wi = /* @__PURE__ */ L({
3335
3336
  __name: "VJoyIndicator",
3336
3337
  props: {
3337
3338
  /** Value is used for the parent v-model. Mandatory */
@@ -3361,11 +3362,11 @@ const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["ari
3361
3362
  type: "button",
3362
3363
  class: $(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3363
3364
  "aria-label": e.ariaLabel || e.value.toString()
3364
- }, null, 10, Hr)
3365
+ }, null, 10, Hi)
3365
3366
  ], 2));
3366
3367
  }
3367
3368
  });
3368
- const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @__PURE__ */ L({
3369
+ const Bn = /* @__PURE__ */ A(Wi, [["__scopeId", "data-v-2babb982"]]), Ui = /* @__PURE__ */ L({
3369
3370
  __name: "VJoyIndicators",
3370
3371
  props: {
3371
3372
  variant: {
@@ -3378,54 +3379,54 @@ const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @_
3378
3379
  },
3379
3380
  emits: ["update:modelValue"],
3380
3381
  setup(e, { expose: t, emit: n }) {
3381
- const a = e, o = X(), r = C(a.modelValue), l = V(() => {
3382
+ const a = e, o = X(), i = C(a.modelValue), l = V(() => {
3382
3383
  const c = o.default();
3383
3384
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(u) : c.filter(u);
3384
3385
  });
3385
- function i(c) {
3386
- return r.value === c.props.value;
3386
+ function r(c) {
3387
+ return i.value === c.props.value;
3387
3388
  }
3388
3389
  function u(c) {
3389
3390
  var f;
3390
3391
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyIndicator";
3391
3392
  }
3392
3393
  function d(c) {
3393
- n("update:modelValue", c.props.value), r.value = c.props.value;
3394
+ n("update:modelValue", c.props.value), i.value = c.props.value;
3394
3395
  }
3395
3396
  return Q(
3396
3397
  () => a.modelValue,
3397
3398
  (c, f) => {
3398
- c !== f && (r.value = c);
3399
+ c !== f && (i.value = c);
3399
3400
  }
3400
3401
  ), t({
3401
3402
  indicators: l,
3402
- isSelected: i
3403
+ isSelected: r
3403
3404
  }), (c, f) => (y(), g("ul", {
3404
3405
  class: $(["joy-indicators", `joy-indicators--${e.variant}`])
3405
3406
  }, [
3406
3407
  (y(!0), g(K, null, Y(l.value, (p) => (y(), B(T(Bn), te({
3407
3408
  key: p.props.value
3408
3409
  }, { ...p.props, variant: e.variant }, {
3409
- selected: i(p),
3410
+ selected: r(p),
3410
3411
  onClick: (s) => d(p)
3411
3412
  }), null, 16, ["selected", "onClick"]))), 128))
3412
3413
  ], 2));
3413
3414
  }
3414
3415
  });
3415
- const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["small", "medium", "large"], Yr = {
3416
+ const Gi = /* @__PURE__ */ A(Ui, [["__scopeId", "data-v-1bac2aa7"]]), Ki = ["small", "medium", "large"], Yi = {
3416
3417
  key: 0,
3417
3418
  class: "joy-label-required"
3418
- }, Zr = {
3419
+ }, Zi = {
3419
3420
  key: 1,
3420
3421
  class: "joy-label-optional"
3421
- }, Qr = /* @__PURE__ */ L({
3422
+ }, Qi = /* @__PURE__ */ L({
3422
3423
  __name: "VJoyLabel",
3423
3424
  props: {
3424
3425
  size: {
3425
3426
  type: String,
3426
3427
  default: "medium",
3427
3428
  validator(e) {
3428
- return Kr.includes(e);
3429
+ return Ki.includes(e);
3429
3430
  }
3430
3431
  },
3431
3432
  tagName: {
@@ -3449,14 +3450,14 @@ const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["sma
3449
3450
  k(t.$slots, "default", {}, () => [
3450
3451
  z(F(e.text), 1)
3451
3452
  ], !0),
3452
- e.required ? (y(), g("span", Yr, "*")) : x("", !0),
3453
- e.optionalLabel ? (y(), g("span", Zr, "- " + F(e.optionalLabel), 1)) : x("", !0)
3453
+ e.required ? (y(), g("span", Yi, "*")) : x("", !0),
3454
+ e.optionalLabel ? (y(), g("span", Zi, "- " + F(e.optionalLabel), 1)) : x("", !0)
3454
3455
  ]),
3455
3456
  _: 3
3456
3457
  }, 16, ["class"]));
3457
3458
  }
3458
3459
  });
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({
3460
+ 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
3461
  inheritAttrs: !1,
3461
3462
  __name: "VJoyInput",
3462
3463
  props: {
@@ -3518,7 +3519,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3518
3519
  type: String,
3519
3520
  default: "medium",
3520
3521
  validator(e) {
3521
- return Xr.includes(e);
3522
+ return Xi.includes(e);
3522
3523
  }
3523
3524
  },
3524
3525
  type: {
@@ -3535,11 +3536,11 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3535
3536
  },
3536
3537
  emits: ["update:modelValue"],
3537
3538
  setup(e, { expose: t, emit: n }) {
3538
- const a = e, o = C(), r = C(), l = Ae(), i = X(), u = C(!1), d = C(!1);
3539
+ const a = e, o = C(), i = C(), l = Ae(), r = X(), u = C(!1), d = C(!1);
3539
3540
  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(() => {
3541
+ 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
3542
  var h, E;
3542
- return !!((h = r.value) != null && h.closest("joy-wrapper")) || !!((E = r.value) != null && E.closest(".joy-wrapper"));
3543
+ return !!((h = i.value) != null && h.closest("joy-wrapper")) || !!((E = i.value) != null && E.closest(".joy-wrapper"));
3543
3544
  }), s = C(a.type), m = V(() => a.type === "password" && !!a.modelValue);
3544
3545
  na(() => {
3545
3546
  s.value = a.unit ? "number" : a.type;
@@ -3574,7 +3575,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3574
3575
  focus: v
3575
3576
  }), (h, E) => (y(), g("div", {
3576
3577
  ref_key: "root",
3577
- ref: r,
3578
+ ref: i,
3578
3579
  class: $([`joy-input--${a.size}`])
3579
3580
  }, [
3580
3581
  b("div", {
@@ -3638,7 +3639,7 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3638
3639
  (...N) => _.onInput && _.onInput(...N)),
3639
3640
  onChange: E[3] || (E[3] = //@ts-ignore
3640
3641
  (...N) => _.onChange && _.onChange(...N))
3641
- }), null, 16, ei),
3642
+ }), null, 16, er),
3642
3643
  c.value ? (y(), B(de, {
3643
3644
  key: 0,
3644
3645
  class: "joy-input--clear",
@@ -3663,13 +3664,13 @@ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3663
3664
  key: 3,
3664
3665
  "data-unit": e.unit,
3665
3666
  class: "joy-input--unit"
3666
- }, null, 8, ti)) : x("", !0)
3667
+ }, null, 8, tr)) : x("", !0)
3667
3668
  ], 2)
3668
3669
  ], 2)
3669
3670
  ], 2));
3670
3671
  }
3671
3672
  });
3672
- const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3673
+ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-3dafc1cb"]]), or = ["teal", "white"], lr = ["href"], ir = /* @__PURE__ */ L({
3673
3674
  __name: "VJoyLink",
3674
3675
  props: {
3675
3676
  href: {
@@ -3680,7 +3681,7 @@ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["tea
3680
3681
  type: String,
3681
3682
  default: "teal",
3682
3683
  validator(e) {
3683
- return oi.includes(e);
3684
+ return or.includes(e);
3684
3685
  }
3685
3686
  },
3686
3687
  icon: String,
@@ -3697,10 +3698,10 @@ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["tea
3697
3698
  k(t.$slots, "default", {}, () => [
3698
3699
  z(F(e.text), 1)
3699
3700
  ], !0)
3700
- ], 16, li));
3701
+ ], 16, lr));
3701
3702
  }
3702
3703
  });
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({
3704
+ 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
3705
  __name: "VJoyMenu",
3705
3706
  props: {
3706
3707
  /**
@@ -3721,11 +3722,11 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3721
3722
  },
3722
3723
  emits: ["selectItem"],
3723
3724
  setup(e, { expose: t, emit: n }) {
3724
- const a = C(), o = C(0), r = C();
3725
+ const a = C(), o = C(0), i = C();
3725
3726
  function l(f) {
3726
3727
  f.disabled || n("selectItem", f);
3727
3728
  }
3728
- function i() {
3729
+ function r() {
3729
3730
  var f;
3730
3731
  return Array.from(((f = a.value) == null ? void 0 : f.querySelectorAll("li")) || []).filter((p) => p.getAttribute("aria-disabled") !== "true");
3731
3732
  }
@@ -3733,16 +3734,16 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3733
3734
  return f.id || _e();
3734
3735
  }
3735
3736
  function d() {
3736
- return i().find((f) => f === document.activeElement);
3737
+ return r().find((f) => f === document.activeElement);
3737
3738
  }
3738
3739
  function c(f) {
3739
- if (d() && f.key === " " && f.preventDefault(), f.key === "Tab" && (r.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key)) {
3740
+ if (d() && f.key === " " && f.preventDefault(), f.key === "Tab" && (i.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key)) {
3740
3741
  f.preventDefault();
3741
- const p = i(), s = d();
3742
+ const p = r(), s = d();
3742
3743
  let m = p.indexOf(s);
3743
3744
  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
3745
  return;
3745
- r.value = p[m].id, p[m].focus();
3746
+ i.value = p[m].id, p[m].focus();
3746
3747
  }
3747
3748
  if (f.key === "Enter") {
3748
3749
  const p = d();
@@ -3753,8 +3754,8 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3753
3754
  }
3754
3755
  }
3755
3756
  return t({
3756
- activeMenuItemId: r,
3757
- getItems: i,
3757
+ activeMenuItemId: i,
3758
+ getItems: r,
3758
3759
  getItemId: u,
3759
3760
  getFocusedItem: d
3760
3761
  }), (f, p) => (y(), g("ul", {
@@ -3762,7 +3763,7 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3762
3763
  ref: a,
3763
3764
  class: "joy-menu-list joy-menu-list__items",
3764
3765
  tabindex: o.value,
3765
- "aria-activedescendant": r.value,
3766
+ "aria-activedescendant": i.value,
3766
3767
  "aria-label": e.ariaLabel,
3767
3768
  role: "menu",
3768
3769
  onKeydown: c
@@ -3786,7 +3787,7 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3786
3787
  role: "menuitem",
3787
3788
  onClick: (m) => l(s)
3788
3789
  }, [
3789
- b("div", ci, [
3790
+ b("div", cr, [
3790
3791
  k(f.$slots, "menu-item", ze(qe(s)), () => [
3791
3792
  s.icon ? (y(), B(W, {
3792
3793
  key: 0,
@@ -3795,13 +3796,13 @@ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3795
3796
  b("span", null, F(s.label), 1)
3796
3797
  ], !0)
3797
3798
  ])
3798
- ], 10, ui))), 128))
3799
- ], 40, si));
3799
+ ], 10, ur))), 128))
3800
+ ], 40, sr));
3800
3801
  }
3801
3802
  });
3802
- const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3803
+ const fr = /* @__PURE__ */ A(dr, [["__scopeId", "data-v-4391a0bd"]]), yr = ["id"], vr = {
3803
3804
  class: /* @__PURE__ */ $(["joy-multi-checkbox"])
3804
- }, pi = /* @__PURE__ */ L({
3805
+ }, pr = /* @__PURE__ */ L({
3805
3806
  __name: "VJoyMultiCheckbox",
3806
3807
  props: {
3807
3808
  options: {
@@ -3837,14 +3838,14 @@ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3837
3838
  emits: ["update:value"],
3838
3839
  setup(e, { emit: t }) {
3839
3840
  const n = e;
3840
- function a(r) {
3841
- return n.value.includes(r.value);
3841
+ function a(i) {
3842
+ return n.value.includes(i.value);
3842
3843
  }
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);
3844
+ function o(i, l) {
3845
+ let r = [...n.value || []];
3846
+ l ? r.push(i) : r.splice(r.indexOf(i), 1), t("update:value", r);
3846
3847
  }
3847
- return (r, l) => (y(), g("fieldset", {
3848
+ return (i, l) => (y(), g("fieldset", {
3848
3849
  id: e.id,
3849
3850
  class: "joy-multi-checkbox__wrapper"
3850
3851
  }, [
@@ -3860,27 +3861,27 @@ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3860
3861
  ]),
3861
3862
  _: 1
3862
3863
  }, 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)
3864
+ b("div", vr, [
3865
+ (y(!0), g(K, null, Y(e.options, (r) => (y(), B(T(Et), {
3866
+ id: r.id,
3867
+ key: r.id,
3868
+ name: r.name,
3869
+ value: r.value,
3870
+ checked: a(r),
3871
+ "onUpdate:checked": (u) => o(r.value, u)
3871
3872
  }, {
3872
3873
  default: M(() => [
3873
- k(r.$slots, "checkbox", ze(qe(i)), () => [
3874
- z(F(i.label), 1)
3874
+ k(i.$slots, "checkbox", ze(qe(r)), () => [
3875
+ z(F(r.label), 1)
3875
3876
  ], !0)
3876
3877
  ]),
3877
3878
  _: 2
3878
3879
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
3879
3880
  ])
3880
- ], 8, yi));
3881
+ ], 8, yr));
3881
3882
  }
3882
3883
  });
3883
- const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3884
+ const mr = /* @__PURE__ */ A(pr, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3884
3885
  __name: "PaginationIcon",
3885
3886
  props: {
3886
3887
  label: {
@@ -3911,7 +3912,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3911
3912
  onClick: n[0] || (n[0] = (a) => t.$emit("click"))
3912
3913
  }, null, 8, ["aria-label", "title", "icon", "disabled"]));
3913
3914
  }
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({
3915
+ }), 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
3916
  __name: "VJoyPagination",
3916
3917
  props: {
3917
3918
  /** Current page number */
@@ -3943,13 +3944,13 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3943
3944
  emits: ["update:current-page"],
3944
3945
  setup(e, { emit: t }) {
3945
3946
  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));
3947
+ const d = i.value.length;
3948
+ return i.value[d - 1] !== i.value[d - 2] + 1;
3949
+ }), 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
3950
  function l(d) {
3950
3951
  t("update:current-page", d);
3951
3952
  }
3952
- function i(d, c) {
3953
+ function r(d, c) {
3953
3954
  const f = [];
3954
3955
  f.push(1);
3955
3956
  for (let p = d; p <= c; p++)
@@ -3958,7 +3959,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3958
3959
  }
3959
3960
  function u(d) {
3960
3961
  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);
3962
+ return c <= 1 && (c = 2, f = 5), f >= n.totalPages && (f = n.totalPages - 1, c = f - 3), r(c, f);
3962
3963
  }
3963
3964
  return (d, c) => (y(), g("nav", {
3964
3965
  role: "navigation",
@@ -3967,7 +3968,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3967
3968
  "data-current": e.currentPage
3968
3969
  }, [
3969
3970
  b("ul", null, [
3970
- b("li", gi, [
3971
+ b("li", gr, [
3971
3972
  k(d.$slots, "pagination-prev", {}, () => [
3972
3973
  U(sn, {
3973
3974
  label: e.labelPrev,
@@ -3978,7 +3979,7 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3978
3979
  ]),
3979
3980
  b("li", null, [
3980
3981
  b("ul", null, [
3981
- (y(!0), g(K, null, Y(r.value, (f) => (y(), g("li", { key: f }, [
3982
+ (y(!0), g(K, null, Y(i.value, (f) => (y(), g("li", { key: f }, [
3982
3983
  b("button", {
3983
3984
  type: "button",
3984
3985
  "aria-current": f === e.currentPage ? "true" : "false",
@@ -3988,11 +3989,11 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3988
3989
  "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && f === e.totalPages && a.value
3989
3990
  }),
3990
3991
  onClick: (p) => l(f)
3991
- }, F(f), 11, hi)
3992
+ }, F(f), 11, hr)
3992
3993
  ]))), 128))
3993
3994
  ])
3994
3995
  ]),
3995
- b("li", _i, [
3996
+ b("li", _r, [
3996
3997
  k(d.$slots, "pagination-next", {}, () => [
3997
3998
  U(sn, {
3998
3999
  next: "",
@@ -4003,22 +4004,22 @@ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
4003
4004
  ], !0)
4004
4005
  ])
4005
4006
  ])
4006
- ], 8, bi));
4007
+ ], 8, br));
4007
4008
  }
4008
4009
  });
4009
- const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
4010
+ const kr = /* @__PURE__ */ A(Sr, [["__scopeId", "data-v-ca6b555e"]]), xr = ["small", "medium", "large"], Cr = ["small", "large"], jr = {
4010
4011
  key: 0,
4011
4012
  class: /* @__PURE__ */ $(["joy-panel__header"])
4012
- }, $i = {
4013
+ }, $r = {
4013
4014
  key: 1,
4014
4015
  class: "joy-panel__header-action"
4015
- }, Vi = {
4016
+ }, Vr = {
4016
4017
  key: 2,
4017
4018
  class: "joy-panel__header-subtitle"
4018
- }, Ti = { class: "joy-panel__body" }, Ii = {
4019
+ }, Tr = { class: "joy-panel__body" }, Ir = {
4019
4020
  key: 1,
4020
4021
  class: "joy-panel__footer"
4021
- }, Li = /* @__PURE__ */ L({
4022
+ }, Lr = /* @__PURE__ */ L({
4022
4023
  __name: "VJoyPanel",
4023
4024
  props: {
4024
4025
  flex: {
@@ -4032,14 +4033,14 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4032
4033
  type: String,
4033
4034
  default: "medium",
4034
4035
  validator(e) {
4035
- return xi.includes(e);
4036
+ return xr.includes(e);
4036
4037
  }
4037
4038
  },
4038
4039
  titleSize: {
4039
4040
  type: String,
4040
4041
  default: "large",
4041
4042
  validator(e) {
4042
- return Ci.includes(e);
4043
+ return Cr.includes(e);
4043
4044
  }
4044
4045
  },
4045
4046
  loading: {
@@ -4052,8 +4053,8 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4052
4053
  }
4053
4054
  },
4054
4055
  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", {
4056
+ 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"]);
4057
+ return (l, r) => (y(), g("section", {
4057
4058
  ref_key: "panel",
4058
4059
  ref: o,
4059
4060
  style: ce({ flex: e.flex }),
@@ -4066,24 +4067,24 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4066
4067
  }
4067
4068
  ])
4068
4069
  }, [
4069
- r.value ? (y(), g("header", ji, [
4070
+ i.value ? (y(), g("header", jr, [
4070
4071
  T(a)["panel-title"] ? (y(), g("div", {
4071
4072
  key: 0,
4072
4073
  class: $(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4073
4074
  }, [
4074
4075
  k(l.$slots, "panel-title", {}, void 0, !0)
4075
4076
  ], 2)) : x("", !0),
4076
- T(a)["panel-title-action"] ? (y(), g("div", $i, [
4077
+ T(a)["panel-title-action"] ? (y(), g("div", $r, [
4077
4078
  k(l.$slots, "panel-title-action", {}, void 0, !0)
4078
4079
  ])) : x("", !0),
4079
- T(a)["panel-subtitle"] ? (y(), g("div", Vi, [
4080
+ T(a)["panel-subtitle"] ? (y(), g("div", Vr, [
4080
4081
  k(l.$slots, "panel-subtitle", {}, void 0, !0)
4081
4082
  ])) : x("", !0)
4082
4083
  ])) : x("", !0),
4083
- b("div", Ti, [
4084
+ b("div", Tr, [
4084
4085
  k(l.$slots, "panel-body", {}, void 0, !0)
4085
4086
  ]),
4086
- T(a)["panel-action"] ? (y(), g("footer", Ii, [
4087
+ T(a)["panel-action"] ? (y(), g("footer", Ir, [
4087
4088
  k(l.$slots, "panel-action", {}, void 0, !0)
4088
4089
  ])) : x("", !0),
4089
4090
  e.loading ? (y(), B(T(At), {
@@ -4099,27 +4100,27 @@ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4099
4100
  ], 6));
4100
4101
  }
4101
4102
  });
4102
- const Ei = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4103
+ const Er = /* @__PURE__ */ A(Lr, [["__scopeId", "data-v-4a8b703c"]]), Br = { class: "joy-panel-section" }, Ar = {
4103
4104
  key: 0,
4104
4105
  class: "joy-panel-section__title"
4105
- }, Ni = {
4106
+ }, Nr = {
4106
4107
  key: 1,
4107
4108
  class: "joy-panel-section__content"
4108
- }, Oi = /* @__PURE__ */ L({
4109
+ }, Or = /* @__PURE__ */ L({
4109
4110
  __name: "VJoyPanelSection",
4110
4111
  setup(e) {
4111
4112
  const t = X();
4112
- return (n, a) => (y(), g("div", Bi, [
4113
- T(t)["panel-section-title"] ? (y(), g("div", Ai, [
4113
+ return (n, a) => (y(), g("div", Br, [
4114
+ T(t)["panel-section-title"] ? (y(), g("div", Ar, [
4114
4115
  k(n.$slots, "panel-section-title", {}, void 0, !0)
4115
4116
  ])) : x("", !0),
4116
- T(t)["panel-section-content"] ? (y(), g("div", Ni, [
4117
+ T(t)["panel-section-content"] ? (y(), g("div", Nr, [
4117
4118
  k(n.$slots, "panel-section-content", {}, void 0, !0)
4118
4119
  ])) : x("", !0)
4119
4120
  ]));
4120
4121
  }
4121
4122
  });
4122
- const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4123
+ const Jr = /* @__PURE__ */ A(Or, [["__scopeId", "data-v-d88510ab"]]), Fr = { class: "joy-progress-bar-wrapper" }, Pr = /* @__PURE__ */ L({
4123
4124
  __name: "VJoyProgressBar",
4124
4125
  props: {
4125
4126
  color: {
@@ -4146,14 +4147,14 @@ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4146
4147
  }
4147
4148
  },
4148
4149
  setup(e, { expose: t }) {
4149
- const n = e, a = C(0), o = V(() => r());
4150
- function r() {
4150
+ const n = e, a = C(0), o = V(() => i());
4151
+ function i() {
4151
4152
  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
4153
  }
4153
4154
  return t({
4154
4155
  computeInnerWidth: o,
4155
4156
  computedPercentage: a
4156
- }), (l, i) => (y(), g("div", Fi, [
4157
+ }), (l, r) => (y(), g("div", Fr, [
4157
4158
  b("div", {
4158
4159
  class: $(["joy-progress-bar-inner", `joy-progress-bar-inner_${e.color}`]),
4159
4160
  style: ce({ width: o.value })
@@ -4161,7 +4162,7 @@ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4161
4162
  ]));
4162
4163
  }
4163
4164
  });
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({
4165
+ 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
4166
  __name: "VJoyRadio",
4166
4167
  props: {
4167
4168
  disabled: {
@@ -4197,7 +4198,7 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4197
4198
  },
4198
4199
  emits: ["update:modelValue"],
4199
4200
  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);
4201
+ 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
4202
  function c() {
4202
4203
  o.value = !!u["expandable-content"] && d.value;
4203
4204
  }
@@ -4208,10 +4209,10 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4208
4209
  a.theme === "outline" && c();
4209
4210
  });
4210
4211
  function p() {
4211
- r.value = !0;
4212
+ i.value = !0;
4212
4213
  }
4213
4214
  function s() {
4214
- r.value = !1;
4215
+ i.value = !1;
4215
4216
  }
4216
4217
  return Q(
4217
4218
  () => a.modelValue,
@@ -4231,8 +4232,8 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4231
4232
  "joy-radio--checked": d.value,
4232
4233
  "joy-radio--disabled": e.disabled,
4233
4234
  "joy-radio--invalid": e.invalid,
4234
- "joy-radio--outline-focus": r.value && e.theme === "outline",
4235
- "joy-radio--focus": r.value && e.theme === "default"
4235
+ "joy-radio--outline-focus": i.value && e.theme === "outline",
4236
+ "joy-radio--focus": i.value && e.theme === "default"
4236
4237
  }
4237
4238
  ])
4238
4239
  }, [
@@ -4247,17 +4248,17 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4247
4248
  onChange: f,
4248
4249
  onFocus: p,
4249
4250
  onBlur: s
4250
- }, null, 40, Di),
4251
- b("span", Mi, [
4251
+ }, null, 40, Dr),
4252
+ b("span", Mr, [
4252
4253
  k(m.$slots, "default", {}, void 0, !0)
4253
4254
  ]),
4254
- b("div", zi, [
4255
- b("div", qi, [
4255
+ b("div", zr, [
4256
+ b("div", qr, [
4256
4257
  k(m.$slots, "radio-content", {}, void 0, !0)
4257
4258
  ]),
4258
4259
  b("div", {
4259
4260
  ref_key: "expandableElement",
4260
- ref: i,
4261
+ ref: r,
4261
4262
  class: $(["joy-radio-expandable", { "joy-radio-expandable--expanded": o.value }])
4262
4263
  }, [
4263
4264
  k(m.$slots, "expandable-content", {}, void 0, !0)
@@ -4266,7 +4267,7 @@ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4266
4267
  ], 2));
4267
4268
  }
4268
4269
  });
4269
- const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4270
+ const Wr = /* @__PURE__ */ A(Hr, [["__scopeId", "data-v-dd46e26a"]]), Ur = ["form", "name"], Gr = /* @__PURE__ */ L({
4270
4271
  __name: "VJoyRadioGroup",
4271
4272
  props: {
4272
4273
  /**
@@ -4300,10 +4301,10 @@ const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["for
4300
4301
  }, [
4301
4302
  k(t.$slots, "default", {}, void 0, !0)
4302
4303
  ], 2)
4303
- ], 8, Ui));
4304
+ ], 8, Ur));
4304
4305
  }
4305
4306
  });
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({
4307
+ 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
4308
  __name: "VJoyRatingStars",
4308
4309
  props: {
4309
4310
  ratingValue: {
@@ -4321,29 +4322,29 @@ const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4321
4322
  },
4322
4323
  setup(e, { expose: t }) {
4323
4324
  const n = e, a = Ae(), o = V(() => {
4324
- let r = [], l = 0.24, i = 0.75;
4325
+ let i = [], l = 0.24, r = 0.75;
4325
4326
  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;
4327
+ n.ratingValue > l ? i.push(n.ratingValue < r ? "half" : "full") : i.push("empty"), l += 1, r += 1;
4328
+ return i;
4328
4329
  });
4329
4330
  return t({
4330
4331
  setStars: o
4331
- }), (r, l) => (y(), g("div", {
4332
+ }), (i, l) => (y(), g("div", {
4332
4333
  role: "img",
4333
4334
  class: "joy-rating-stars__wrapper",
4334
4335
  ariaLabel: T(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
4335
4336
  }, [
4336
- b("ul", Zi, [
4337
- (y(!0), g(K, null, Y(o.value, (i, u) => (y(), g("li", {
4337
+ b("ul", Zr, [
4338
+ (y(!0), g(K, null, Y(o.value, (r, u) => (y(), g("li", {
4338
4339
  key: u,
4339
4340
  class: $([`joy-rating-stars--${e.size}`])
4340
4341
  }, [
4341
- i === "full" ? (y(), B(W, {
4342
+ r === "full" ? (y(), B(W, {
4342
4343
  key: 0,
4343
4344
  "aria-hidden": "true",
4344
4345
  name: "star-fill",
4345
4346
  color: "quaternary"
4346
- })) : i === "half" ? (y(), B(W, {
4347
+ })) : r === "half" ? (y(), B(W, {
4347
4348
  key: 1,
4348
4349
  "aria-hidden": "true",
4349
4350
  name: "star-half",
@@ -4356,12 +4357,12 @@ const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4356
4357
  }))
4357
4358
  ], 2))), 128))
4358
4359
  ]),
4359
- b("div", Qi, [
4360
- k(r.$slots, "rating-stars-content", {}, () => [
4361
- e.reviewCount ? (y(), g("span", Xi, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4360
+ b("div", Qr, [
4361
+ k(i.$slots, "rating-stars-content", {}, () => [
4362
+ e.reviewCount ? (y(), g("span", Xr, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4362
4363
  ], !0)
4363
4364
  ])
4364
- ], 8, Yi));
4365
+ ], 8, Yr));
4365
4366
  }
4366
4367
  });
4367
4368
  const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
@@ -4398,7 +4399,7 @@ const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { cla
4398
4399
  ], 2));
4399
4400
  }
4400
4401
  });
4401
- const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4402
+ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], is = /* @__PURE__ */ L({
4402
4403
  __name: "VJoySelect",
4403
4404
  props: {
4404
4405
  disabled: {
@@ -4442,7 +4443,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4442
4443
  },
4443
4444
  emits: ["update:modelValue"],
4444
4445
  setup(e, { expose: t, emit: n }) {
4445
- const a = e, o = X(), r = V(() => {
4446
+ const a = e, o = X(), i = V(() => {
4446
4447
  const m = o.default();
4447
4448
  let v = [];
4448
4449
  return m.forEach((_) => {
@@ -4460,7 +4461,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4460
4461
  function l(m) {
4461
4462
  return (m == null ? void 0 : m.type) === "option";
4462
4463
  }
4463
- const i = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4464
+ const r = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4464
4465
  le(() => {
4465
4466
  var _;
4466
4467
  const m = o["select-label"] && o["select-label"]();
@@ -4490,7 +4491,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4490
4491
  select: u
4491
4492
  }), (m, v) => (y(), g("div", {
4492
4493
  ref_key: "root",
4493
- ref: i
4494
+ ref: r
4494
4495
  }, [
4495
4496
  k(m.$slots, "select-label", {}, () => [
4496
4497
  e.label ? (y(), B(je, {
@@ -4530,7 +4531,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4530
4531
  onFocus: p,
4531
4532
  onBlur: s
4532
4533
  }, [
4533
- (y(!0), g(K, null, Y(r.value, (_) => {
4534
+ (y(!0), g(K, null, Y(i.value, (_) => {
4534
4535
  var h, E;
4535
4536
  return y(), g("option", te({
4536
4537
  key: (h = _.props) == null ? void 0 : h.value
@@ -4547,7 +4548,7 @@ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4547
4548
  ], 512));
4548
4549
  }
4549
4550
  });
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({
4551
+ 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
4552
  __name: "VJoySelectableItem",
4552
4553
  props: {
4553
4554
  disabled: {
@@ -4589,7 +4590,7 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4589
4590
  },
4590
4591
  emits: ["update:checked"],
4591
4592
  setup(e, { emit: t }) {
4592
- const n = e, a = C(n.checked), o = C(), r = C(!1), l = n.multiple ? "div" : "label", i = {
4593
+ const n = e, a = C(n.checked), o = C(), i = C(!1), l = n.multiple ? "div" : "label", r = {
4593
4594
  onRadioChange: () => {
4594
4595
  t("update:checked", n.value);
4595
4596
  },
@@ -4600,10 +4601,10 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4600
4601
  n.multiple || d.stopPropagation();
4601
4602
  },
4602
4603
  onFocus: () => {
4603
- r.value = !0;
4604
+ i.value = !0;
4604
4605
  },
4605
4606
  onBlur: () => {
4606
- r.value = !1;
4607
+ i.value = !1;
4607
4608
  }
4608
4609
  };
4609
4610
  function u(d) {
@@ -4613,12 +4614,12 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4613
4614
  class: $([
4614
4615
  "joy-selectable-item__wrapper",
4615
4616
  {
4616
- "joy-selectable-item--focusing": r.value
4617
+ "joy-selectable-item--focusing": i.value
4617
4618
  }
4618
4619
  ]),
4619
4620
  "aria-disabled": e.disabled,
4620
4621
  onClick: c[4] || (c[4] = //@ts-ignore
4621
- (...f) => i.onClick && i.onClick(...f))
4622
+ (...f) => r.onClick && r.onClick(...f))
4622
4623
  }, [
4623
4624
  e.multiple ? x("", !0) : (y(), g("input", {
4624
4625
  key: 0,
@@ -4632,11 +4633,11 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4632
4633
  required: e.required,
4633
4634
  name: e.name,
4634
4635
  onChange: c[0] || (c[0] = //@ts-ignore
4635
- (...f) => i.onRadioChange && i.onRadioChange(...f)),
4636
+ (...f) => r.onRadioChange && r.onRadioChange(...f)),
4636
4637
  onFocus: c[1] || (c[1] = //@ts-ignore
4637
- (...f) => i.onFocus && i.onFocus(...f)),
4638
+ (...f) => r.onFocus && r.onFocus(...f)),
4638
4639
  onBlur: c[2] || (c[2] = //@ts-ignore
4639
- (...f) => i.onBlur && i.onBlur(...f))
4640
+ (...f) => r.onBlur && r.onBlur(...f))
4640
4641
  }, null, 40, us)),
4641
4642
  (y(), B(oe(T(l)), {
4642
4643
  for: e.id,
@@ -4649,7 +4650,7 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4649
4650
  "joy-selectable-item--single": !e.multiple
4650
4651
  }
4651
4652
  ]),
4652
- onClick: i.onLabelClick
4653
+ onClick: r.onLabelClick
4653
4654
  }, {
4654
4655
  default: M(() => [
4655
4656
  e.multiple ? (y(), B(T(Et), {
@@ -4665,8 +4666,8 @@ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4665
4666
  name: e.name,
4666
4667
  "display-focus": !1,
4667
4668
  required: e.required,
4668
- onFocus: i.onFocus,
4669
- onBlur: i.onBlur
4669
+ onFocus: r.onFocus,
4670
+ onBlur: r.onBlur
4670
4671
  }, {
4671
4672
  default: M(() => [
4672
4673
  k(d.$slots, "default", {}, void 0, !0)
@@ -4731,16 +4732,16 @@ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4731
4732
  emits: ["update:value"],
4732
4733
  setup(e, { emit: t }) {
4733
4734
  const n = e;
4734
- function a(r) {
4735
- return typeof n.value == "string" ? n.value === r.value : (n.value || []).includes(r.value);
4735
+ function a(i) {
4736
+ return typeof n.value == "string" ? n.value === i.value : (n.value || []).includes(i.value);
4736
4737
  }
4737
- function o(r, l) {
4738
+ function o(i, l) {
4738
4739
  if (!n.multiple)
4739
4740
  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);
4741
+ let r = [...n.value || []];
4742
+ l && typeof l == "boolean" ? r.push(i) : r.splice(r.indexOf(i), 1), t("update:value", r);
4742
4743
  }
4743
- return (r, l) => (y(), g("fieldset", {
4744
+ return (i, l) => (y(), g("fieldset", {
4744
4745
  id: e.id,
4745
4746
  class: "joy-selectable-item-group__wrapper"
4746
4747
  }, [
@@ -4766,27 +4767,27 @@ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4766
4767
  }
4767
4768
  ])
4768
4769
  }, [
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,
4770
+ (y(!0), g(K, null, Y(e.options, (r) => (y(), B(T(Nn), te(r.attrs, {
4771
+ id: r.id,
4772
+ key: r.id,
4773
+ name: r.name,
4774
+ disabled: r.disabled,
4775
+ value: r.value,
4775
4776
  multiple: e.multiple,
4776
- checked: a(i),
4777
- "onUpdate:checked": (u) => o(i.value, u)
4777
+ checked: a(r),
4778
+ "onUpdate:checked": (u) => o(r.value, u)
4778
4779
  }), pn({
4779
4780
  default: M(() => [
4780
- k(r.$slots, "item", ze(qe(i)), () => [
4781
- z(F(i.label), 1)
4781
+ k(i.$slots, "item", ze(qe(r)), () => [
4782
+ z(F(r.label), 1)
4782
4783
  ], !0)
4783
4784
  ]),
4784
4785
  _: 2
4785
4786
  }, [
4786
- i.subLabel ? {
4787
+ r.subLabel ? {
4787
4788
  name: "selectable-item-sublabel",
4788
4789
  fn: M(() => [
4789
- z(F(i.subLabel), 1)
4790
+ z(F(r.subLabel), 1)
4790
4791
  ]),
4791
4792
  key: "0"
4792
4793
  } : void 0
@@ -4862,14 +4863,14 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4862
4863
  },
4863
4864
  setup(e, { expose: t }) {
4864
4865
  const n = e, a = C(!0);
4865
- let o, r;
4866
- const l = "joy-snackbar-" + _e(), i = V(() => gn(n.level));
4866
+ let o, i;
4867
+ const l = "joy-snackbar-" + _e(), r = V(() => gn(n.level));
4867
4868
  function u() {
4868
4869
  var v;
4869
4870
  (v = n.bus) == null || v.emit("snackbar:action-click");
4870
4871
  }
4871
4872
  function d() {
4872
- o && clearTimeout(o), r && clearTimeout(r);
4873
+ o && clearTimeout(o), i && clearTimeout(i);
4873
4874
  }
4874
4875
  function c() {
4875
4876
  var v;
@@ -4882,7 +4883,7 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4882
4883
  o = setTimeout(f, n.duration), s();
4883
4884
  }
4884
4885
  function s() {
4885
- r = setTimeout(function() {
4886
+ i = setTimeout(function() {
4886
4887
  var v;
4887
4888
  (v = n.bus) == null || v.emit("snackbar:hide");
4888
4889
  }, n.duration + 300);
@@ -4910,7 +4911,7 @@ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4910
4911
  class: $(["joy-snackbar", `joy-snackbar_${e.level}`])
4911
4912
  }, [
4912
4913
  b("div", bs, [
4913
- U(T(W), { name: i.value }, null, 8, ["name"])
4914
+ U(T(W), { name: r.value }, null, 8, ["name"])
4914
4915
  ]),
4915
4916
  b("div", gs, [
4916
4917
  e.header ? (y(), g("strong", hs, F(e.header), 1)) : x("", !0),
@@ -4960,12 +4961,12 @@ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4960
4961
  },
4961
4962
  emits: ["update:subSteps"],
4962
4963
  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) {
4964
+ 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);
4965
+ function r(u) {
4965
4966
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
4966
4967
  }
4967
- return Q(() => a.subSteps, i), t({
4968
- progress: r
4968
+ return Q(() => a.subSteps, r), t({
4969
+ progress: i
4969
4970
  }), (u, d) => (y(), g("div", {
4970
4971
  id: e.id,
4971
4972
  class: $([
@@ -4980,7 +4981,7 @@ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4980
4981
  b("span", ks, [
4981
4982
  b("span", {
4982
4983
  class: "joy-step__stroke--filled",
4983
- style: ce({ maxWidth: r.value })
4984
+ style: ce({ maxWidth: i.value })
4984
4985
  }, null, 4)
4985
4986
  ]),
4986
4987
  b("span", xs, [
@@ -5004,20 +5005,20 @@ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5004
5005
  setup(e, { expose: t }) {
5005
5006
  const n = e, a = X(), o = V(() => {
5006
5007
  const c = a.default();
5007
- return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(r) : c.filter(r);
5008
+ return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(i) : c.filter(i);
5008
5009
  });
5009
- function r(c) {
5010
+ function i(c) {
5010
5011
  var f;
5011
5012
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyStep";
5012
5013
  }
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);
5014
+ const l = V(() => n.step > 0 ? o.value[n.step - 1] : o.value[0]), 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 ? l.value.props["sub-steps"] : n.subStep);
5014
5015
  function d(c) {
5015
5016
  return c !== n.step - 1 ? 0 : u.value;
5016
5017
  }
5017
5018
  return t({
5018
5019
  currentItemSubStep: u,
5019
5020
  steps: o,
5020
- invalidSubStepValue: i
5021
+ invalidSubStepValue: r
5021
5022
  }), (c, f) => (y(), g("div", js, [
5022
5023
  (y(!0), g(K, null, Y(o.value, (p, s) => {
5023
5024
  var m;
@@ -5038,7 +5039,7 @@ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5038
5039
  ]));
5039
5040
  }
5040
5041
  });
5041
- const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5042
+ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-f0cfba61"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5042
5043
  __name: "VJoyTab",
5043
5044
  props: {
5044
5045
  /**
@@ -5053,8 +5054,7 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5053
5054
  * The title given to the button
5054
5055
  */
5055
5056
  label: {
5056
- type: [String, Number],
5057
- required: !0
5057
+ type: [String, Number]
5058
5058
  },
5059
5059
  /**
5060
5060
  * 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 +5062,16 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5062
5062
  href: {
5063
5063
  type: String,
5064
5064
  required: !1
5065
+ },
5066
+ /** Activates a little notification badge in the tab button. */
5067
+ notification: {
5068
+ type: Boolean,
5069
+ required: !1
5065
5070
  }
5066
5071
  },
5067
5072
  setup(e) {
5068
- const t = e, n = it("VJoyTabs", C("")), a = V(() => n.value === t.tab);
5069
- return (o, r) => (y(), g("div", {
5073
+ const t = e, n = rt("VJoyTabs", C("")), a = V(() => n.value === t.tab);
5074
+ return (o, i) => (y(), g("div", {
5070
5075
  id: `joy-tab-${e.tab}`,
5071
5076
  role: "tabpanel",
5072
5077
  "aria-hidden": a.value ? void 0 : "true",
@@ -5080,10 +5085,13 @@ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5080
5085
  ], 10, Ts));
5081
5086
  }
5082
5087
  });
5083
- const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5088
+ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-a76a7c92"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5084
5089
  type: "button",
5085
5090
  tabindex: "-1"
5086
- }, As = /* @__PURE__ */ L({
5091
+ }, As = {
5092
+ key: 0,
5093
+ class: "joy-tab-button__notification"
5094
+ }, Ns = /* @__PURE__ */ L({
5087
5095
  __name: "TabButton",
5088
5096
  props: {
5089
5097
  /**
@@ -5113,6 +5121,10 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5113
5121
  label: {
5114
5122
  type: [String, Number],
5115
5123
  required: !1
5124
+ },
5125
+ notification: {
5126
+ type: Boolean,
5127
+ required: !1
5116
5128
  }
5117
5129
  },
5118
5130
  emits: ["changeTab"],
@@ -5123,7 +5135,7 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5123
5135
  function a(o) {
5124
5136
  (o.code === "Enter" || o.code === "NumpadEnter") && t("changeTab");
5125
5137
  }
5126
- return (o, r) => (y(), g("a", {
5138
+ return (o, i) => (y(), g("a", {
5127
5139
  id: `joy-tab-${e.tab}`,
5128
5140
  href: e.href,
5129
5141
  "aria-selected": e.selected ? "true" : "false",
@@ -5131,10 +5143,9 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5131
5143
  tabindex: "0",
5132
5144
  role: "tab",
5133
5145
  onClick: n,
5134
- onKeydown: r[0] || (r[0] = (l) => a(l))
5146
+ onKeydown: i[0] || (i[0] = (l) => a(l))
5135
5147
  }, [
5136
5148
  b("div", {
5137
- part: "tab-button",
5138
5149
  class: $({
5139
5150
  "joy-tab-button": !0,
5140
5151
  "joy-tab-button__selected": e.selected
@@ -5144,14 +5155,15 @@ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5144
5155
  b("div", null, [
5145
5156
  k(o.$slots, "default", {}, () => [
5146
5157
  z(F(e.label), 1)
5147
- ], !0)
5158
+ ], !0),
5159
+ e.notification ? (y(), g("div", As)) : x("", !0)
5148
5160
  ])
5149
5161
  ])
5150
5162
  ], 2)
5151
5163
  ], 40, Es));
5152
5164
  }
5153
5165
  });
5154
- const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5166
+ const Os = /* @__PURE__ */ A(Ns, [["__scopeId", "data-v-e2a02c1c"]]), Js = { class: "joy-tabs" }, Fs = /* @__PURE__ */ L({
5155
5167
  __name: "VJoyTabs",
5156
5168
  props: {
5157
5169
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -5161,9 +5173,9 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5161
5173
  },
5162
5174
  emits: ["update:selected-tab"],
5163
5175
  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(() => {
5176
+ const a = e, o = X(), i = C(a.selectedTab);
5177
+ jt("VJoyTabs", i);
5178
+ const l = C(null), r = C(null), u = C(!1), d = C(!1), c = V(() => {
5167
5179
  const v = o.default();
5168
5180
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(f) : v.filter(f);
5169
5181
  });
@@ -5172,13 +5184,13 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5172
5184
  return ((_ = v == null ? void 0 : v.type) == null ? void 0 : _.__name) === "VJoyTab";
5173
5185
  }
5174
5186
  function p(v) {
5175
- return v.props.tab === r.value;
5187
+ return v.props.tab === i.value;
5176
5188
  }
5177
5189
  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);
5190
+ 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
5191
  }
5180
5192
  function m(v, _ = !0) {
5181
- v && _ && (r.value = v, n("update:selected-tab", v));
5193
+ v && _ && (i.value = v, n("update:selected-tab", v));
5182
5194
  }
5183
5195
  return Q(
5184
5196
  () => a.selectedTab,
@@ -5188,13 +5200,13 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5188
5200
  { immediate: !0 }
5189
5201
  ), le(() => {
5190
5202
  var v;
5191
- s(), (v = i.value) == null || v.addEventListener("scroll", s);
5203
+ s(), (v = r.value) == null || v.addEventListener("scroll", s);
5192
5204
  }), Ne(() => {
5193
5205
  var v;
5194
- (v = i.value) == null || v.removeEventListener("scroll", s);
5206
+ (v = r.value) == null || v.removeEventListener("scroll", s);
5195
5207
  }), t({
5196
5208
  tabs: c
5197
- }), (v, _) => (y(), g("div", Os, [
5209
+ }), (v, _) => (y(), g("div", Js, [
5198
5210
  b("div", {
5199
5211
  ref_key: "buttonListWrapper",
5200
5212
  ref: l,
@@ -5206,17 +5218,18 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5206
5218
  }, [
5207
5219
  b("div", {
5208
5220
  ref_key: "buttonList",
5209
- ref: i,
5221
+ ref: r,
5210
5222
  class: "joy-tabs-buttons",
5211
5223
  role: "tablist"
5212
5224
  }, [
5213
5225
  (y(!0), g(K, null, Y(c.value, (h) => (y(), g("div", {
5214
5226
  key: h.props.tab
5215
5227
  }, [
5216
- U(Ns, {
5228
+ U(Os, {
5217
5229
  tab: h.props.tab,
5218
5230
  label: h.props.label,
5219
5231
  href: h.props.href,
5232
+ notification: h.props.notification,
5220
5233
  selected: p(h),
5221
5234
  onChangeTab: (E) => m(h.props.tab, !h.props.href)
5222
5235
  }, {
@@ -5227,7 +5240,7 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5227
5240
  ];
5228
5241
  }),
5229
5242
  _: 2
5230
- }, 1032, ["tab", "label", "href", "selected", "onChangeTab"])
5243
+ }, 1032, ["tab", "label", "href", "notification", "selected", "onChangeTab"])
5231
5244
  ]))), 128))
5232
5245
  ], 512)
5233
5246
  ], 2),
@@ -5237,7 +5250,7 @@ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5237
5250
  ]));
5238
5251
  }
5239
5252
  });
5240
- const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5253
+ const Ps = /* @__PURE__ */ A(Fs, [["__scopeId", "data-v-ff85775b"]]), Rs = ["id", "role"], Ds = /* @__PURE__ */ L({
5241
5254
  __name: "VJoyTag",
5242
5255
  props: {
5243
5256
  /** Text injected within the tag */
@@ -5283,19 +5296,19 @@ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5283
5296
  ["joy-tag__" + n.size]: !0,
5284
5297
  ["joy-tag__" + n.variant]: !0
5285
5298
  }));
5286
- function r() {
5299
+ function i() {
5287
5300
  t("remove", { value: n.value });
5288
5301
  }
5289
5302
  function l() {
5290
5303
  t("click"), n.selectable && a.includes(n.variant) && t("selected", { selected: !n.selected, value: n.value });
5291
5304
  }
5292
- return (i, u) => (y(), g("span", {
5305
+ return (r, u) => (y(), g("span", {
5293
5306
  id: e.value,
5294
5307
  class: $([o.value]),
5295
5308
  role: e.link || e.selectable ? "button" : void 0,
5296
5309
  onClick: l
5297
5310
  }, [
5298
- k(i.$slots, "default", {}, () => [
5311
+ k(r.$slots, "default", {}, () => [
5299
5312
  e.draggable ? (y(), B(W, {
5300
5313
  key: 0,
5301
5314
  class: "joy-tag__drag",
@@ -5309,13 +5322,13 @@ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5309
5322
  name: "cross",
5310
5323
  size: "xxsmall",
5311
5324
  role: "button",
5312
- onClick: oa(r, ["stop"])
5325
+ onClick: oa(i, ["stop"])
5313
5326
  }, null, 8, ["onClick"])) : x("", !0)
5314
5327
  ], !0)
5315
- ], 10, Ps));
5328
+ ], 10, Rs));
5316
5329
  }
5317
5330
  });
5318
- const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @__PURE__ */ L({
5331
+ const Fn = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-c04ebdea"]]), Ms = /* @__PURE__ */ L({
5319
5332
  __name: "VJoyTagsList",
5320
5333
  props: {
5321
5334
  align: {
@@ -5358,14 +5371,14 @@ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @_
5358
5371
  function o(u) {
5359
5372
  return !n.modelValue || n.removable || u.removable ? !1 : u.selectable !== void 0 ? u.selectable : n.selectable;
5360
5373
  }
5361
- function r(u) {
5374
+ function i(u) {
5362
5375
  return u.removable !== void 0 ? u.removable : n.removable;
5363
5376
  }
5364
5377
  function l(u, d) {
5365
5378
  let c = [];
5366
5379
  u.selected && !a(d) ? c = [...n.modelValue || [], d.value] : c = (n.modelValue || []).filter((f) => f !== d.value), t("update:modelValue", c);
5367
5380
  }
5368
- function i(u) {
5381
+ function r(u) {
5369
5382
  t("removeTag", u.value);
5370
5383
  }
5371
5384
  return (u, d) => (y(), g("div", {
@@ -5375,46 +5388,46 @@ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @_
5375
5388
  key: c.value || c.label
5376
5389
  }, c, {
5377
5390
  selectable: o(c),
5378
- removable: r(c),
5391
+ removable: i(c),
5379
5392
  variant: c.variant ? c.variant : e.variant,
5380
5393
  selected: a(c),
5381
- onRemove: i,
5394
+ onRemove: r,
5382
5395
  onSelected: (f) => l(f, c)
5383
5396
  }), null, 16, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
5384
5397
  ], 2));
5385
5398
  }
5386
5399
  });
5387
- const Ms = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-8d9a3ff0"]]);
5388
- const zs = {}, qs = {
5400
+ const zs = /* @__PURE__ */ A(Ms, [["__scopeId", "data-v-8d9a3ff0"]]);
5401
+ const qs = {}, Hs = {
5389
5402
  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
5403
+ }, 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 = [
5404
+ Ws
5392
5405
  ];
5393
- function Us(e, t) {
5394
- return y(), g("div", qs, Ws);
5406
+ function Gs(e, t) {
5407
+ return y(), g("div", Hs, Us);
5395
5408
  }
5396
- const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5409
+ const Pn = /* @__PURE__ */ A(qs, [["render", Gs], ["__scopeId", "data-v-8b258f92"]]), Ks = { class: "joy-template__wrapper" }, Ys = {
5397
5410
  key: 0,
5398
5411
  class: "joy-template__heading"
5399
- }, Ys = {
5412
+ }, Zs = {
5400
5413
  key: 0,
5401
5414
  class: "joy-template-slot-back"
5402
- }, Zs = { class: "joy-template__heading___headings" }, Qs = {
5415
+ }, Qs = { class: "joy-template__heading___headings" }, Xs = {
5403
5416
  key: 0,
5404
5417
  class: "joy-template-slot-title"
5405
- }, Xs = {
5418
+ }, eu = {
5406
5419
  key: 1,
5407
5420
  class: "joy-template-slot-subtitle"
5408
- }, eu = {
5421
+ }, tu = {
5409
5422
  key: 1,
5410
5423
  class: "joy-template-slot-actions"
5411
- }, tu = {
5424
+ }, nu = {
5412
5425
  key: 0,
5413
5426
  class: "joy-template-slot-main"
5414
- }, nu = {
5427
+ }, au = {
5415
5428
  key: 1,
5416
5429
  class: "joy-template-slot-sidebar"
5417
- }, au = /* @__PURE__ */ L({
5430
+ }, ou = /* @__PURE__ */ L({
5418
5431
  __name: "VJoyTemplate",
5419
5432
  props: {
5420
5433
  full: { type: Boolean, default: !1 },
@@ -5434,24 +5447,24 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5434
5447
  },
5435
5448
  setup(e) {
5436
5449
  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", {
5450
+ return (o, i) => (y(), g("main", {
5438
5451
  class: $(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
5439
5452
  }, [
5440
5453
  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, [
5454
+ b("div", Ks, [
5455
+ a.value ? (y(), g("div", Ys, [
5456
+ T(n)["template-back"] ? (y(), g("div", Zs, [
5444
5457
  k(o.$slots, "template-back", {}, void 0, !0)
5445
5458
  ])) : x("", !0),
5446
- b("div", Zs, [
5447
- T(n)["template-title"] ? (y(), g("div", Qs, [
5459
+ b("div", Qs, [
5460
+ T(n)["template-title"] ? (y(), g("div", Xs, [
5448
5461
  k(o.$slots, "template-title", {}, void 0, !0)
5449
5462
  ])) : x("", !0),
5450
- T(n)["template-subtitle"] ? (y(), g("div", Xs, [
5463
+ T(n)["template-subtitle"] ? (y(), g("div", eu, [
5451
5464
  k(o.$slots, "template-subtitle", {}, void 0, !0)
5452
5465
  ])) : x("", !0)
5453
5466
  ]),
5454
- T(n)["template-actions"] ? (y(), g("div", eu, [
5467
+ T(n)["template-actions"] ? (y(), g("div", tu, [
5455
5468
  k(o.$slots, "template-actions", {}, void 0, !0)
5456
5469
  ])) : x("", !0)
5457
5470
  ])) : x("", !0),
@@ -5463,10 +5476,10 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5463
5476
  }
5464
5477
  ])
5465
5478
  }, [
5466
- o.$slots["template-main"] ? (y(), g("div", tu, [
5479
+ o.$slots["template-main"] ? (y(), g("div", nu, [
5467
5480
  k(o.$slots, "template-main", {}, void 0, !0)
5468
5481
  ])) : x("", !0),
5469
- o.$slots["template-sidebar"] ? (y(), g("div", nu, [
5482
+ o.$slots["template-sidebar"] ? (y(), g("div", au, [
5470
5483
  k(o.$slots, "template-sidebar", {}, void 0, !0)
5471
5484
  ])) : x("", !0)
5472
5485
  ], 2)
@@ -5484,7 +5497,7 @@ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5484
5497
  ], 2));
5485
5498
  }
5486
5499
  });
5487
- const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5500
+ const lu = /* @__PURE__ */ A(ou, [["__scopeId", "data-v-7c83eb21"]]), iu = /* @__PURE__ */ L({
5488
5501
  __name: "VJoyText",
5489
5502
  props: {
5490
5503
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -5509,13 +5522,13 @@ const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5509
5522
  }, 8, ["class"]));
5510
5523
  }
5511
5524
  });
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 = {
5525
+ 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
5526
  key: 0,
5514
5527
  class: "joy-textarea_helpers"
5515
- }, du = {
5528
+ }, fu = {
5516
5529
  inheritAttrs: !1
5517
- }, fu = /* @__PURE__ */ L({
5518
- ...du,
5530
+ }, yu = /* @__PURE__ */ L({
5531
+ ...fu,
5519
5532
  __name: "VJoyTextarea",
5520
5533
  props: {
5521
5534
  autofocus: {
@@ -5573,22 +5586,22 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5573
5586
  },
5574
5587
  emits: ["update:modelValue"],
5575
5588
  setup(e, { expose: t, emit: n }) {
5576
- const a = e, o = C(), { triggerResize: r } = yo({
5589
+ const a = e, o = C(), { triggerResize: i } = yo({
5577
5590
  element: a.autogrow ? o : void 0
5578
- }), l = C(!1), i = C(!1);
5591
+ }), l = C(!1), r = C(!1);
5579
5592
  Bt(o, a.autofocus);
5580
5593
  const u = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), d = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), c = {
5581
5594
  onInput: (f) => {
5582
- a.modelModifiers.lazy || n("update:modelValue", f.target.value), r();
5595
+ a.modelModifiers.lazy || n("update:modelValue", f.target.value), i();
5583
5596
  },
5584
5597
  onChange: (f) => {
5585
5598
  a.modelModifiers.lazy && n("update:modelValue", f.target.value);
5586
5599
  },
5587
5600
  onBlur: () => {
5588
- i.value = !1, l.value = u.value || d.value;
5601
+ r.value = !1, l.value = u.value || d.value;
5589
5602
  },
5590
5603
  onFocus: () => {
5591
- i.value = !0;
5604
+ r.value = !0;
5592
5605
  }
5593
5606
  };
5594
5607
  return t({
@@ -5603,7 +5616,7 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5603
5616
  "joy-textarea_invalid": l.value || e.invalid,
5604
5617
  "joy-textarea_disabled": e.disabled,
5605
5618
  "joy-textarea_autogrow": e.autogrow,
5606
- "joy-textarea_focusing": i.value
5619
+ "joy-textarea_focusing": r.value
5607
5620
  }
5608
5621
  ])
5609
5622
  }, [
@@ -5620,7 +5633,7 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5620
5633
  ]),
5621
5634
  _: 3
5622
5635
  }, 8, ["for", "required", "optional-label", "size"]),
5623
- b("div", su, [
5636
+ b("div", uu, [
5624
5637
  b("textarea", te(f.$attrs, {
5625
5638
  id: e.id,
5626
5639
  ref_key: "textarea",
@@ -5639,9 +5652,9 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5639
5652
  (...s) => c.onFocus && c.onFocus(...s)),
5640
5653
  onBlur: p[3] || (p[3] = //@ts-ignore
5641
5654
  (...s) => c.onBlur && c.onBlur(...s))
5642
- }), null, 16, uu)
5655
+ }), null, 16, cu)
5643
5656
  ]),
5644
- e.minlength || e.maxlength ? (y(), g("div", cu, [
5657
+ e.minlength || e.maxlength ? (y(), g("div", du, [
5645
5658
  e.minlength ? (y(), g("p", {
5646
5659
  key: 0,
5647
5660
  class: $(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -5659,10 +5672,10 @@ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5659
5672
  class: $(["joy-textarea-count", { "joy-textarea-count-invalid": u.value }])
5660
5673
  }, F(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5661
5674
  ])) : x("", !0)
5662
- ], 10, iu));
5675
+ ], 10, su));
5663
5676
  }
5664
5677
  });
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" }, [
5678
+ 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
5679
  /* @__PURE__ */ b("svg", {
5667
5680
  width: "18",
5668
5681
  height: "10",
@@ -5675,7 +5688,7 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5675
5688
  fill: "currentColor"
5676
5689
  })
5677
5690
  ])
5678
- ], -1)), _u = /* @__PURE__ */ L({
5691
+ ], -1)), wu = /* @__PURE__ */ L({
5679
5692
  __name: "VJoyToggle",
5680
5693
  props: {
5681
5694
  modelValue: {
@@ -5711,8 +5724,8 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5711
5724
  setup(e, { emit: t }) {
5712
5725
  const n = C(!1), a = {
5713
5726
  onChange: (o) => {
5714
- const r = o.target.checked;
5715
- t("update:modelValue", r);
5727
+ const i = o.target.checked;
5728
+ t("update:modelValue", i);
5716
5729
  },
5717
5730
  onFocus: () => {
5718
5731
  n.value = !0;
@@ -5721,7 +5734,7 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5721
5734
  n.value = !1;
5722
5735
  }
5723
5736
  };
5724
- return (o, r) => (y(), g("div", vu, [
5737
+ return (o, i) => (y(), g("div", pu, [
5725
5738
  b("label", {
5726
5739
  class: $([
5727
5740
  "joy-toggle",
@@ -5743,35 +5756,35 @@ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5743
5756
  required: e.required,
5744
5757
  "aria-checked": e.modelValue,
5745
5758
  value: e.value,
5746
- onChange: r[0] || (r[0] = //@ts-ignore
5759
+ onChange: i[0] || (i[0] = //@ts-ignore
5747
5760
  (...l) => a.onChange && a.onChange(...l)),
5748
- onFocus: r[1] || (r[1] = //@ts-ignore
5761
+ onFocus: i[1] || (i[1] = //@ts-ignore
5749
5762
  (...l) => a.onFocus && a.onFocus(...l)),
5750
- onBlur: r[2] || (r[2] = //@ts-ignore
5763
+ onBlur: i[2] || (i[2] = //@ts-ignore
5751
5764
  (...l) => a.onBlur && a.onBlur(...l))
5752
- }, null, 40, pu),
5753
- b("p", mu, [
5754
- bu,
5755
- b("span", gu, [
5765
+ }, null, 40, mu),
5766
+ b("p", bu, [
5767
+ gu,
5768
+ b("span", hu, [
5756
5769
  k(o.$slots, "default", {}, () => [
5757
5770
  z(F(e.label), 1)
5758
5771
  ], !0)
5759
5772
  ]),
5760
- hu
5773
+ _u
5761
5774
  ])
5762
5775
  ], 2)
5763
5776
  ]));
5764
5777
  }
5765
5778
  });
5766
- const wu = /* @__PURE__ */ A(_u, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5779
+ const Su = /* @__PURE__ */ A(wu, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5767
5780
  x: e,
5768
5781
  y: e
5769
- }), Su = {
5782
+ }), ku = {
5770
5783
  left: "right",
5771
5784
  right: "left",
5772
5785
  bottom: "top",
5773
5786
  top: "bottom"
5774
- }, ku = {
5787
+ }, xu = {
5775
5788
  start: "end",
5776
5789
  end: "start"
5777
5790
  };
@@ -5799,41 +5812,41 @@ function We(e) {
5799
5812
  function Jt(e) {
5800
5813
  return Nt(We(e));
5801
5814
  }
5802
- function xu(e, t, n) {
5815
+ function Cu(e, t, n) {
5803
5816
  n === void 0 && (n = !1);
5804
- const a = He(e), o = Jt(e), r = Ot(o);
5817
+ const a = He(e), o = Jt(e), i = Ot(o);
5805
5818
  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)];
5819
+ return t.reference[i] > t.floating[i] && (l = nt(l)), [l, nt(l)];
5807
5820
  }
5808
- function Cu(e) {
5821
+ function ju(e) {
5809
5822
  const t = nt(e);
5810
5823
  return [gt(e), t, gt(t)];
5811
5824
  }
5812
5825
  function gt(e) {
5813
- return e.replace(/start|end/g, (t) => ku[t]);
5826
+ return e.replace(/start|end/g, (t) => xu[t]);
5814
5827
  }
5815
- function ju(e, t, n) {
5816
- const a = ["left", "right"], o = ["right", "left"], r = ["top", "bottom"], l = ["bottom", "top"];
5828
+ function $u(e, t, n) {
5829
+ const a = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], l = ["bottom", "top"];
5817
5830
  switch (e) {
5818
5831
  case "top":
5819
5832
  case "bottom":
5820
5833
  return n ? t ? o : a : t ? a : o;
5821
5834
  case "left":
5822
5835
  case "right":
5823
- return t ? r : l;
5836
+ return t ? i : l;
5824
5837
  default:
5825
5838
  return [];
5826
5839
  }
5827
5840
  }
5828
- function $u(e, t, n, a) {
5841
+ function Vu(e, t, n, a) {
5829
5842
  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;
5843
+ let i = $u(ge(e), n === "start", a);
5844
+ return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(gt)))), i;
5832
5845
  }
5833
5846
  function nt(e) {
5834
- return e.replace(/left|right|bottom|top/g, (t) => Su[t]);
5847
+ return e.replace(/left|right|bottom|top/g, (t) => ku[t]);
5835
5848
  }
5836
- function Vu(e) {
5849
+ function Tu(e) {
5837
5850
  return {
5838
5851
  top: 0,
5839
5852
  right: 0,
@@ -5843,7 +5856,7 @@ function Vu(e) {
5843
5856
  };
5844
5857
  }
5845
5858
  function Dn(e) {
5846
- return typeof e != "number" ? Vu(e) : {
5859
+ return typeof e != "number" ? Tu(e) : {
5847
5860
  top: e,
5848
5861
  right: e,
5849
5862
  bottom: e,
@@ -5864,7 +5877,7 @@ function un(e, t, n) {
5864
5877
  reference: a,
5865
5878
  floating: o
5866
5879
  } = 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;
5880
+ 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
5881
  let s;
5869
5882
  switch (u) {
5870
5883
  case "top":
@@ -5907,13 +5920,13 @@ function un(e, t, n) {
5907
5920
  }
5908
5921
  return s;
5909
5922
  }
5910
- const Tu = async (e, t, n) => {
5923
+ const Iu = async (e, t, n) => {
5911
5924
  const {
5912
5925
  placement: a = "bottom",
5913
5926
  strategy: o = "absolute",
5914
- middleware: r = [],
5927
+ middleware: i = [],
5915
5928
  platform: l
5916
- } = n, i = r.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
5929
+ } = n, r = i.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
5917
5930
  let d = await l.getElementRects({
5918
5931
  reference: e,
5919
5932
  floating: t,
@@ -5922,11 +5935,11 @@ const Tu = async (e, t, n) => {
5922
5935
  x: c,
5923
5936
  y: f
5924
5937
  } = un(d, a, u), p = a, s = {}, m = 0;
5925
- for (let v = 0; v < i.length; v++) {
5938
+ for (let v = 0; v < r.length; v++) {
5926
5939
  const {
5927
5940
  name: _,
5928
5941
  fn: h
5929
- } = i[v], {
5942
+ } = r[v], {
5930
5943
  x: E,
5931
5944
  y: N,
5932
5945
  data: P,
@@ -5977,9 +5990,9 @@ async function Mn(e, t) {
5977
5990
  const {
5978
5991
  x: a,
5979
5992
  y: o,
5980
- platform: r,
5993
+ platform: i,
5981
5994
  rects: l,
5982
- elements: i,
5995
+ elements: r,
5983
5996
  strategy: u
5984
5997
  } = e, {
5985
5998
  boundary: d = "clippingAncestors",
@@ -5987,8 +6000,8 @@ async function Mn(e, t) {
5987
6000
  elementContext: f = "floating",
5988
6001
  altBoundary: p = !1,
5989
6002
  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)),
6003
+ } = Ce(t, e), m = Dn(s), _ = r[p ? f === "floating" ? "reference" : "floating" : f], h = at(await i.getClippingRect({
6004
+ element: (n = await (i.isElement == null ? void 0 : i.isElement(_))) == null || n ? _ : _.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(r.floating)),
5992
6005
  boundary: d,
5993
6006
  rootBoundary: c,
5994
6007
  strategy: u
@@ -5996,13 +6009,13 @@ async function Mn(e, t) {
5996
6009
  ...l.floating,
5997
6010
  x: a,
5998
6011
  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)) || {
6012
+ } : 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
6013
  x: 1,
6001
6014
  y: 1
6002
6015
  } : {
6003
6016
  x: 1,
6004
6017
  y: 1
6005
- }, j = at(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
6018
+ }, j = at(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6006
6019
  rect: E,
6007
6020
  offsetParent: N,
6008
6021
  strategy: u
@@ -6014,7 +6027,7 @@ async function Mn(e, t) {
6014
6027
  right: (j.right - h.right + m.right) / P.x
6015
6028
  };
6016
6029
  }
6017
- const Iu = (e) => ({
6030
+ const Lu = (e) => ({
6018
6031
  name: "arrow",
6019
6032
  options: e,
6020
6033
  async fn(t) {
@@ -6022,9 +6035,9 @@ const Iu = (e) => ({
6022
6035
  x: n,
6023
6036
  y: a,
6024
6037
  placement: o,
6025
- rects: r,
6038
+ rects: i,
6026
6039
  platform: l,
6027
- elements: i,
6040
+ elements: r,
6028
6041
  middlewareData: u
6029
6042
  } = t, {
6030
6043
  element: d,
@@ -6035,10 +6048,10 @@ const Iu = (e) => ({
6035
6048
  const f = Dn(c), p = {
6036
6049
  x: n,
6037
6050
  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));
6051
+ }, 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
6052
  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;
6053
+ (!J || !await (l.isElement == null ? void 0 : l.isElement(O))) && (J = r.floating[N] || i.floating[m]);
6054
+ 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
6055
  return {
6043
6056
  [s]: p[s] + q,
6044
6057
  data: {
@@ -6051,7 +6064,7 @@ const Iu = (e) => ({
6051
6064
  reset: D
6052
6065
  };
6053
6066
  }
6054
- }), Lu = function(e) {
6067
+ }), Eu = function(e) {
6055
6068
  return e === void 0 && (e = {}), {
6056
6069
  name: "flip",
6057
6070
  options: e,
@@ -6059,9 +6072,9 @@ const Iu = (e) => ({
6059
6072
  var n, a;
6060
6073
  const {
6061
6074
  placement: o,
6062
- middlewareData: r,
6075
+ middlewareData: i,
6063
6076
  rects: l,
6064
- initialPlacement: i,
6077
+ initialPlacement: r,
6065
6078
  platform: u,
6066
6079
  elements: d
6067
6080
  } = t, {
@@ -6073,43 +6086,43 @@ const Iu = (e) => ({
6073
6086
  flipAlignment: v = !0,
6074
6087
  ..._
6075
6088
  } = Ce(e, t);
6076
- if ((n = r.arrow) != null && n.alignmentOffset)
6089
+ if ((n = i.arrow) != null && n.alignmentOffset)
6077
6090
  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) || [];
6091
+ 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));
6092
+ !p && m !== "none" && P.push(...Vu(r, v, m, N));
6093
+ const j = [r, ...P], O = await Mn(t, _), J = [];
6094
+ let ie = ((a = i.flip) == null ? void 0 : a.overflows) || [];
6082
6095
  if (c && J.push(O[h]), f) {
6083
- const w = xu(o, l, N);
6096
+ const w = Cu(o, l, N);
6084
6097
  J.push(O[w[0]], O[w[1]]);
6085
6098
  }
6086
- if (re = [...re, {
6099
+ if (ie = [...ie, {
6087
6100
  placement: o,
6088
6101
  overflows: J
6089
6102
  }], !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];
6103
+ var re, ue;
6104
+ const w = (((re = i.flip) == null ? void 0 : re.index) || 0) + 1, S = j[w];
6092
6105
  if (S)
6093
6106
  return {
6094
6107
  data: {
6095
6108
  index: w,
6096
- overflows: re
6109
+ overflows: ie
6097
6110
  },
6098
6111
  reset: {
6099
6112
  placement: S
6100
6113
  }
6101
6114
  };
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;
6115
+ 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
6116
  if (!I)
6104
6117
  switch (s) {
6105
6118
  case "bestFit": {
6106
6119
  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];
6120
+ 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
6121
  R && (I = R);
6109
6122
  break;
6110
6123
  }
6111
6124
  case "initialPlacement":
6112
- I = i;
6125
+ I = r;
6113
6126
  break;
6114
6127
  }
6115
6128
  if (o !== I)
@@ -6123,12 +6136,12 @@ const Iu = (e) => ({
6123
6136
  }
6124
6137
  };
6125
6138
  };
6126
- async function Eu(e, t) {
6139
+ async function Bu(e, t) {
6127
6140
  const {
6128
6141
  placement: n,
6129
6142
  platform: a,
6130
6143
  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);
6144
+ } = 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
6145
  let {
6133
6146
  mainAxis: p,
6134
6147
  crossAxis: s,
@@ -6143,7 +6156,7 @@ async function Eu(e, t) {
6143
6156
  alignmentAxis: null,
6144
6157
  ...f
6145
6158
  };
6146
- return i && typeof m == "number" && (s = i === "end" ? m * -1 : m), u ? {
6159
+ return r && typeof m == "number" && (s = r === "end" ? m * -1 : m), u ? {
6147
6160
  x: s * c,
6148
6161
  y: p * d
6149
6162
  } : {
@@ -6151,7 +6164,7 @@ async function Eu(e, t) {
6151
6164
  y: s * c
6152
6165
  };
6153
6166
  }
6154
- const Bu = function(e) {
6167
+ const Au = function(e) {
6155
6168
  return e === void 0 && (e = 0), {
6156
6169
  name: "offset",
6157
6170
  options: e,
@@ -6159,7 +6172,7 @@ const Bu = function(e) {
6159
6172
  const {
6160
6173
  x: n,
6161
6174
  y: a
6162
- } = t, o = await Eu(t, e);
6175
+ } = t, o = await Bu(t, e);
6163
6176
  return {
6164
6177
  x: n + o.x,
6165
6178
  y: a + o.y,
@@ -6167,7 +6180,7 @@ const Bu = function(e) {
6167
6180
  };
6168
6181
  }
6169
6182
  };
6170
- }, Au = function(e) {
6183
+ }, Nu = function(e) {
6171
6184
  return e === void 0 && (e = {}), {
6172
6185
  name: "shift",
6173
6186
  options: e,
@@ -6177,9 +6190,9 @@ const Bu = function(e) {
6177
6190
  y: a,
6178
6191
  placement: o
6179
6192
  } = t, {
6180
- mainAxis: r = !0,
6193
+ mainAxis: i = !0,
6181
6194
  crossAxis: l = !1,
6182
- limiter: i = {
6195
+ limiter: r = {
6183
6196
  fn: (_) => {
6184
6197
  let {
6185
6198
  x: h,
@@ -6197,7 +6210,7 @@ const Bu = function(e) {
6197
6210
  y: a
6198
6211
  }, c = await Mn(t, u), f = We(ge(o)), p = Nt(f);
6199
6212
  let s = d[p], m = d[f];
6200
- if (r) {
6213
+ if (i) {
6201
6214
  const _ = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", E = s + c[_], N = s - c[h];
6202
6215
  s = bt(E, s, N);
6203
6216
  }
@@ -6205,7 +6218,7 @@ const Bu = function(e) {
6205
6218
  const _ = f === "y" ? "top" : "left", h = f === "y" ? "bottom" : "right", E = m + c[_], N = m - c[h];
6206
6219
  m = bt(E, m, N);
6207
6220
  }
6208
- const v = i.fn({
6221
+ const v = r.fn({
6209
6222
  ...t,
6210
6223
  [p]: s,
6211
6224
  [f]: m
@@ -6219,7 +6232,7 @@ const Bu = function(e) {
6219
6232
  };
6220
6233
  }
6221
6234
  };
6222
- }, Nu = function(e) {
6235
+ }, Ou = function(e) {
6223
6236
  return e === void 0 && (e = {}), {
6224
6237
  options: e,
6225
6238
  fn(t) {
@@ -6227,10 +6240,10 @@ const Bu = function(e) {
6227
6240
  x: n,
6228
6241
  y: a,
6229
6242
  placement: o,
6230
- rects: r,
6243
+ rects: i,
6231
6244
  middlewareData: l
6232
6245
  } = t, {
6233
- offset: i = 0,
6246
+ offset: r = 0,
6234
6247
  mainAxis: u = !0,
6235
6248
  crossAxis: d = !0
6236
6249
  } = Ce(e, t), c = {
@@ -6238,7 +6251,7 @@ const Bu = function(e) {
6238
6251
  y: a
6239
6252
  }, f = We(o), p = Nt(f);
6240
6253
  let s = c[p], m = c[f];
6241
- const v = Ce(i, t), _ = typeof v == "number" ? {
6254
+ const v = Ce(r, t), _ = typeof v == "number" ? {
6242
6255
  mainAxis: v,
6243
6256
  crossAxis: 0
6244
6257
  } : {
@@ -6247,12 +6260,12 @@ const Bu = function(e) {
6247
6260
  ...v
6248
6261
  };
6249
6262
  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;
6263
+ const N = p === "y" ? "height" : "width", P = i.reference[p] - i.floating[N] + _.mainAxis, j = i.reference[p] + i.reference[N] - _.mainAxis;
6251
6264
  s < P ? s = P : s > j && (s = j);
6252
6265
  }
6253
6266
  if (d) {
6254
6267
  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);
6268
+ 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
6269
  m < j ? m = j : m > O && (m = O);
6257
6270
  }
6258
6271
  return {
@@ -6294,14 +6307,14 @@ function Ue(e) {
6294
6307
  } = se(e);
6295
6308
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(o);
6296
6309
  }
6297
- function Ou(e) {
6310
+ function Ju(e) {
6298
6311
  return ["table", "td", "th"].includes(he(e));
6299
6312
  }
6300
6313
  function Ft(e) {
6301
6314
  const t = Pt(), n = se(e);
6302
6315
  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
6316
  }
6304
- function Ju(e) {
6317
+ function Fu(e) {
6305
6318
  let t = Be(e);
6306
6319
  for (; ye(t) && !ut(t); ) {
6307
6320
  if (Ft(t))
@@ -6347,17 +6360,17 @@ function qn(e) {
6347
6360
  function ht(e, t, n) {
6348
6361
  var a;
6349
6362
  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));
6363
+ const o = qn(e), i = o === ((a = e.ownerDocument) == null ? void 0 : a.body), l = ae(o);
6364
+ return i ? t.concat(l, l.visualViewport || [], Ue(o) ? o : [], l.frameElement && n ? ht(l.frameElement) : []) : t.concat(o, ht(o, [], n));
6352
6365
  }
6353
6366
  function Hn(e) {
6354
6367
  const t = se(e);
6355
6368
  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), {
6369
+ const o = ye(e), i = o ? e.offsetWidth : n, l = o ? e.offsetHeight : a, r = tt(n) !== i || tt(a) !== l;
6370
+ return r && (n = i, a = l), {
6358
6371
  width: n,
6359
6372
  height: a,
6360
- $: i
6373
+ $: r
6361
6374
  };
6362
6375
  }
6363
6376
  function Wn(e) {
@@ -6370,34 +6383,34 @@ function Le(e) {
6370
6383
  const n = t.getBoundingClientRect(), {
6371
6384
  width: a,
6372
6385
  height: o,
6373
- $: r
6386
+ $: i
6374
6387
  } = 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), {
6388
+ let l = (i ? tt(n.width) : n.width) / a, r = (i ? tt(n.height) : n.height) / o;
6389
+ return (!l || !Number.isFinite(l)) && (l = 1), (!r || !Number.isFinite(r)) && (r = 1), {
6377
6390
  x: l,
6378
- y: i
6391
+ y: r
6379
6392
  };
6380
6393
  }
6381
- const Fu = /* @__PURE__ */ be(0);
6394
+ const Pu = /* @__PURE__ */ be(0);
6382
6395
  function Un(e) {
6383
6396
  const t = ae(e);
6384
- return !Pt() || !t.visualViewport ? Fu : {
6397
+ return !Pt() || !t.visualViewport ? Pu : {
6385
6398
  x: t.visualViewport.offsetLeft,
6386
6399
  y: t.visualViewport.offsetTop
6387
6400
  };
6388
6401
  }
6389
- function Pu(e, t, n) {
6402
+ function Ru(e, t, n) {
6390
6403
  return t === void 0 && (t = !1), !n || t && n !== ae(e) ? !1 : t;
6391
6404
  }
6392
6405
  function Me(e, t, n, a) {
6393
6406
  t === void 0 && (t = !1), n === void 0 && (n = !1);
6394
- const o = e.getBoundingClientRect(), r = Wn(e);
6407
+ const o = e.getBoundingClientRect(), i = Wn(e);
6395
6408
  let l = be(1);
6396
6409
  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;
6410
+ const r = Ru(i, n, a) ? Un(i) : be(0);
6411
+ 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;
6412
+ if (i) {
6413
+ const p = ae(i), s = a && ve(a) ? ae(a) : a;
6401
6414
  let m = p.frameElement;
6402
6415
  for (; m && a && s !== p; ) {
6403
6416
  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 +6424,68 @@ function Me(e, t, n, a) {
6411
6424
  y: d
6412
6425
  });
6413
6426
  }
6414
- function Ru(e) {
6427
+ function Du(e) {
6415
6428
  let {
6416
6429
  rect: t,
6417
6430
  offsetParent: n,
6418
6431
  strategy: a
6419
6432
  } = e;
6420
- const o = ye(n), r = we(n);
6421
- if (n === r)
6433
+ const o = ye(n), i = we(n);
6434
+ if (n === i)
6422
6435
  return t;
6423
6436
  let l = {
6424
6437
  scrollLeft: 0,
6425
6438
  scrollTop: 0
6426
- }, i = be(1);
6439
+ }, r = be(1);
6427
6440
  const u = be(0);
6428
- if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(r)) && (l = ct(n)), ye(n))) {
6441
+ if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(i)) && (l = ct(n)), ye(n))) {
6429
6442
  const d = Me(n);
6430
- i = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6443
+ r = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6431
6444
  }
6432
6445
  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
6446
+ width: t.width * r.x,
6447
+ height: t.height * r.y,
6448
+ x: t.x * r.x - l.scrollLeft * r.x + u.x,
6449
+ y: t.y * r.y - l.scrollTop * r.y + u.y
6437
6450
  };
6438
6451
  }
6439
- function Du(e) {
6452
+ function Mu(e) {
6440
6453
  return Array.from(e.getClientRects());
6441
6454
  }
6442
6455
  function Gn(e) {
6443
6456
  return Me(we(e)).left + ct(e).scrollLeft;
6444
6457
  }
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);
6458
+ function zu(e) {
6459
+ 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
6460
  let l = -n.scrollLeft + Gn(e);
6448
- const i = -n.scrollTop;
6461
+ const r = -n.scrollTop;
6449
6462
  return se(a).direction === "rtl" && (l += Ie(t.clientWidth, a.clientWidth) - o), {
6450
6463
  width: o,
6451
- height: r,
6464
+ height: i,
6452
6465
  x: l,
6453
- y: i
6466
+ y: r
6454
6467
  };
6455
6468
  }
6456
- function zu(e, t) {
6469
+ function qu(e, t) {
6457
6470
  const n = ae(e), a = we(e), o = n.visualViewport;
6458
- let r = a.clientWidth, l = a.clientHeight, i = 0, u = 0;
6471
+ let i = a.clientWidth, l = a.clientHeight, r = 0, u = 0;
6459
6472
  if (o) {
6460
- r = o.width, l = o.height;
6473
+ i = o.width, l = o.height;
6461
6474
  const d = Pt();
6462
- (!d || d && t === "fixed") && (i = o.offsetLeft, u = o.offsetTop);
6475
+ (!d || d && t === "fixed") && (r = o.offsetLeft, u = o.offsetTop);
6463
6476
  }
6464
6477
  return {
6465
- width: r,
6478
+ width: i,
6466
6479
  height: l,
6467
- x: i,
6480
+ x: r,
6468
6481
  y: u
6469
6482
  };
6470
6483
  }
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;
6484
+ function Hu(e, t) {
6485
+ 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
6486
  return {
6474
6487
  width: l,
6475
- height: i,
6488
+ height: r,
6476
6489
  x: u,
6477
6490
  y: d
6478
6491
  };
@@ -6480,11 +6493,11 @@ function qu(e, t) {
6480
6493
  function dn(e, t, n) {
6481
6494
  let a;
6482
6495
  if (t === "viewport")
6483
- a = zu(e, n);
6496
+ a = qu(e, n);
6484
6497
  else if (t === "document")
6485
- a = Mu(we(e));
6498
+ a = zu(we(e));
6486
6499
  else if (ve(t))
6487
- a = qu(t, n);
6500
+ a = Hu(t, n);
6488
6501
  else {
6489
6502
  const o = Un(e);
6490
6503
  a = {
@@ -6499,30 +6512,30 @@ function Kn(e, t) {
6499
6512
  const n = Be(e);
6500
6513
  return n === t || !ve(n) || ut(n) ? !1 : se(n).position === "fixed" || Kn(n, t);
6501
6514
  }
6502
- function Hu(e, t) {
6515
+ function Wu(e, t) {
6503
6516
  const n = t.get(e);
6504
6517
  if (n)
6505
6518
  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;
6519
+ let a = ht(e, [], !1).filter((r) => ve(r) && he(r) !== "body"), o = null;
6520
+ const i = se(e).position === "fixed";
6521
+ let l = i ? Be(e) : e;
6509
6522
  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);
6523
+ const r = se(l), u = Ft(l);
6524
+ !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
6525
  }
6513
6526
  return t.set(e, a), a;
6514
6527
  }
6515
- function Wu(e) {
6528
+ function Uu(e) {
6516
6529
  let {
6517
6530
  element: t,
6518
6531
  boundary: n,
6519
6532
  rootBoundary: a,
6520
6533
  strategy: o
6521
6534
  } = e;
6522
- const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], i = l[0], u = l.reduce((d, c) => {
6535
+ const l = [...n === "clippingAncestors" ? Wu(t, this._c) : [].concat(n), a], r = l[0], u = l.reduce((d, c) => {
6523
6536
  const f = dn(t, c, o);
6524
6537
  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));
6538
+ }, dn(t, r, o));
6526
6539
  return {
6527
6540
  width: u.right - u.left,
6528
6541
  height: u.bottom - u.top,
@@ -6530,25 +6543,25 @@ function Wu(e) {
6530
6543
  y: u.top
6531
6544
  };
6532
6545
  }
6533
- function Uu(e) {
6546
+ function Gu(e) {
6534
6547
  return Hn(e);
6535
6548
  }
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 = {
6549
+ function Ku(e, t, n) {
6550
+ const a = ye(t), o = we(t), i = n === "fixed", l = Me(e, !0, i, t);
6551
+ let r = {
6539
6552
  scrollLeft: 0,
6540
6553
  scrollTop: 0
6541
6554
  };
6542
6555
  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);
6556
+ if (a || !a && !i)
6557
+ if ((he(t) !== "body" || Ue(o)) && (r = ct(t)), a) {
6558
+ const d = Me(t, !0, i, t);
6546
6559
  u.x = d.x + t.clientLeft, u.y = d.y + t.clientTop;
6547
6560
  } else
6548
6561
  o && (u.x = Gn(o));
6549
6562
  return {
6550
- x: l.left + i.scrollLeft - u.x,
6551
- y: l.top + i.scrollTop - u.y,
6563
+ x: l.left + r.scrollLeft - u.x,
6564
+ y: l.top + r.scrollTop - u.y,
6552
6565
  width: l.width,
6553
6566
  height: l.height
6554
6567
  };
@@ -6561,64 +6574,64 @@ function Yn(e, t) {
6561
6574
  if (!ye(e))
6562
6575
  return n;
6563
6576
  let a = fn(e, t);
6564
- for (; a && Ou(a) && se(a).position === "static"; )
6577
+ for (; a && Ju(a) && se(a).position === "static"; )
6565
6578
  a = fn(a, t);
6566
- return a && (he(a) === "html" || he(a) === "body" && se(a).position === "static" && !Ft(a)) ? n : a || Ju(e) || n;
6579
+ return a && (he(a) === "html" || he(a) === "body" && se(a).position === "static" && !Ft(a)) ? n : a || Fu(e) || n;
6567
6580
  }
6568
- const Ku = async function(e) {
6581
+ const Yu = async function(e) {
6569
6582
  let {
6570
6583
  reference: t,
6571
6584
  floating: n,
6572
6585
  strategy: a
6573
6586
  } = e;
6574
- const o = this.getOffsetParent || Yn, r = this.getDimensions;
6587
+ const o = this.getOffsetParent || Yn, i = this.getDimensions;
6575
6588
  return {
6576
- reference: Gu(t, await o(n), a),
6589
+ reference: Ku(t, await o(n), a),
6577
6590
  floating: {
6578
6591
  x: 0,
6579
6592
  y: 0,
6580
- ...await r(n)
6593
+ ...await i(n)
6581
6594
  }
6582
6595
  };
6583
6596
  };
6584
- function Yu(e) {
6597
+ function Zu(e) {
6585
6598
  return se(e).direction === "rtl";
6586
6599
  }
6587
- const Zu = {
6588
- convertOffsetParentRelativeRectToViewportRelativeRect: Ru,
6600
+ const Qu = {
6601
+ convertOffsetParentRelativeRectToViewportRelativeRect: Du,
6589
6602
  getDocumentElement: we,
6590
- getClippingRect: Wu,
6603
+ getClippingRect: Uu,
6591
6604
  getOffsetParent: Yn,
6592
- getElementRects: Ku,
6593
- getClientRects: Du,
6594
- getDimensions: Uu,
6605
+ getElementRects: Yu,
6606
+ getClientRects: Mu,
6607
+ getDimensions: Gu,
6595
6608
  getScale: Le,
6596
6609
  isElement: ve,
6597
- isRTL: Yu
6598
- }, Qu = (e, t, n) => {
6610
+ isRTL: Zu
6611
+ }, Xu = (e, t, n) => {
6599
6612
  const a = /* @__PURE__ */ new Map(), o = {
6600
- platform: Zu,
6613
+ platform: Qu,
6601
6614
  ...n
6602
- }, r = {
6615
+ }, i = {
6603
6616
  ...o.platform,
6604
6617
  _c: a
6605
6618
  };
6606
- return Tu(e, t, {
6619
+ return Iu(e, t, {
6607
6620
  ...o,
6608
- platform: r
6621
+ platform: i
6609
6622
  });
6610
6623
  };
6611
6624
  function _t(e) {
6612
6625
  var t;
6613
6626
  return (t = e == null ? void 0 : e.$el) != null ? t : e;
6614
6627
  }
6615
- function Xu(e) {
6628
+ function ec(e) {
6616
6629
  return {
6617
6630
  name: "arrow",
6618
6631
  options: e,
6619
6632
  fn(t) {
6620
6633
  const n = _t(T(e.element));
6621
- return n == null ? {} : Iu({
6634
+ return n == null ? {} : Lu({
6622
6635
  element: n,
6623
6636
  padding: e.padding
6624
6637
  }).fn(t);
@@ -6632,21 +6645,21 @@ function yn(e, t) {
6632
6645
  const n = Zn(e);
6633
6646
  return Math.round(t * n) / n;
6634
6647
  }
6635
- function ec(e, t, n) {
6648
+ function tc(e, t, n) {
6636
6649
  n === void 0 && (n = {});
6637
6650
  const a = n.whileElementsMounted, o = V(() => {
6638
6651
  var J;
6639
6652
  return (J = T(n.open)) != null ? J : !0;
6640
- }), r = V(() => T(n.middleware)), l = V(() => {
6653
+ }), i = V(() => T(n.middleware)), l = V(() => {
6641
6654
  var J;
6642
6655
  return (J = T(n.placement)) != null ? J : "bottom";
6643
- }), i = V(() => {
6656
+ }), r = V(() => {
6644
6657
  var J;
6645
6658
  return (J = T(n.strategy)) != null ? J : "absolute";
6646
6659
  }), u = V(() => {
6647
6660
  var J;
6648
6661
  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(() => {
6662
+ }), 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
6663
  const J = {
6651
6664
  position: s.value,
6652
6665
  left: "0",
@@ -6654,25 +6667,25 @@ function ec(e, t, n) {
6654
6667
  };
6655
6668
  if (!c.value)
6656
6669
  return J;
6657
- const re = yn(c.value, f.value), ie = yn(c.value, p.value);
6670
+ const ie = yn(c.value, f.value), re = yn(c.value, p.value);
6658
6671
  return u.value ? {
6659
6672
  ...J,
6660
- transform: "translate(" + re + "px, " + ie + "px)",
6673
+ transform: "translate(" + ie + "px, " + re + "px)",
6661
6674
  ...Zn(c.value) >= 1.5 && {
6662
6675
  willChange: "transform"
6663
6676
  }
6664
6677
  } : {
6665
6678
  position: s.value,
6666
- left: re + "px",
6667
- top: ie + "px"
6679
+ left: ie + "px",
6680
+ top: re + "px"
6668
6681
  };
6669
6682
  });
6670
6683
  let E;
6671
6684
  function N() {
6672
- d.value == null || c.value == null || Qu(d.value, c.value, {
6673
- middleware: r.value,
6685
+ d.value == null || c.value == null || Xu(d.value, c.value, {
6686
+ middleware: i.value,
6674
6687
  placement: l.value,
6675
- strategy: i.value
6688
+ strategy: r.value
6676
6689
  }).then((J) => {
6677
6690
  f.value = J.x, p.value = J.y, s.value = J.strategy, m.value = J.placement, v.value = J.middlewareData, _.value = !0;
6678
6691
  });
@@ -6693,7 +6706,7 @@ function ec(e, t, n) {
6693
6706
  function O() {
6694
6707
  o.value || (_.value = !1);
6695
6708
  }
6696
- return Q([r, l, i], N, {
6709
+ return Q([i, l, r], N, {
6697
6710
  flush: "sync"
6698
6711
  }), Q([d, c], j, {
6699
6712
  flush: "sync"
@@ -6710,7 +6723,7 @@ function ec(e, t, n) {
6710
6723
  update: N
6711
6724
  };
6712
6725
  }
6713
- const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6726
+ const nc = { class: "joy-tooltip__content__inner" }, ac = /* @__PURE__ */ L({
6714
6727
  __name: "VJoyTooltip",
6715
6728
  props: {
6716
6729
  /** 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 +6761,19 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6748
6761
  }
6749
6762
  },
6750
6763
  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, {
6764
+ const n = e, a = C(!1), o = C(null), i = C(null), l = C(), r = C(
6765
+ tc(o, i, {
6753
6766
  placement: n.placement,
6754
6767
  transform: !1,
6755
6768
  middleware: [
6756
- Bu(10),
6757
- Au({
6758
- limiter: Nu()
6769
+ Au(10),
6770
+ Nu({
6771
+ limiter: Ou()
6759
6772
  }),
6760
- Lu({
6773
+ Eu({
6761
6774
  fallbackPlacements: ["bottom", "top", "left", "right"]
6762
6775
  }),
6763
- Xu({ element: l, padding: 0 })
6776
+ ec({ element: l, padding: 0 })
6764
6777
  ]
6765
6778
  })
6766
6779
  ), u = X(), d = V(() => u["tooltip-content"] || n.text);
@@ -6775,12 +6788,12 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6775
6788
  }
6776
6789
  function s(v = !0) {
6777
6790
  var _;
6778
- (_ = i.value) == null || _.update(), setTimeout(() => {
6791
+ (_ = r.value) == null || _.update(), setTimeout(() => {
6779
6792
  a.value = v;
6780
6793
  }, n.delay);
6781
6794
  }
6782
6795
  const m = V(() => {
6783
- const { middlewareData: v, placement: _ } = i.value, h = v.arrow, E = {
6796
+ const { middlewareData: v, placement: _ } = r.value, h = v.arrow, E = {
6784
6797
  top: "bottom",
6785
6798
  right: "left",
6786
6799
  bottom: "top",
@@ -6800,7 +6813,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6800
6813
  a.value = !1;
6801
6814
  }), t({
6802
6815
  tooltipVisible: a,
6803
- tooltip: r
6816
+ tooltip: i
6804
6817
  }), (v, _) => (y(), B(T(Lt), {
6805
6818
  ref: "tooltipClickOutside",
6806
6819
  class: "joy-tooltip__click-outside",
@@ -6819,11 +6832,11 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6819
6832
  onKeydown: _[0] || (_[0] = Ct((E) => s(!1), ["tab"]))
6820
6833
  }, [
6821
6834
  k(v.$slots, "default", {}, void 0, !0),
6822
- (y(), B(rt, { to: "body" }, [
6835
+ (y(), B(it, { to: "body" }, [
6823
6836
  a.value && d.value ? (y(), g("div", {
6824
6837
  key: 0,
6825
6838
  ref_key: "tooltip",
6826
- ref: r,
6839
+ ref: i,
6827
6840
  role: "tooltip",
6828
6841
  class: $([
6829
6842
  "joy-tooltip__content",
@@ -6832,9 +6845,9 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6832
6845
  "joy-tooltip__content--hiding": !a.value
6833
6846
  }
6834
6847
  ]),
6835
- style: ce({ ...(h = i.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6848
+ style: ce({ ...(h = r.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6836
6849
  }, [
6837
- b("div", tc, [
6850
+ b("div", nc, [
6838
6851
  k(v.$slots, "tooltip-content", {}, () => [
6839
6852
  z(F(e.text), 1)
6840
6853
  ], !0)
@@ -6854,7 +6867,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6854
6867
  }, 512));
6855
6868
  }
6856
6869
  });
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({
6870
+ 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
6871
  __name: "VJoyUserCard",
6859
6872
  props: {
6860
6873
  /**
@@ -6886,7 +6899,7 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6886
6899
  title: e.fullName
6887
6900
  }, t.$attrs), {
6888
6901
  default: M(() => [
6889
- b("div", oc, [
6902
+ b("div", lc, [
6890
6903
  k(t.$slots, "user-card-avatar", {}, () => [
6891
6904
  U(T(bn), {
6892
6905
  "photo-url": e.photoUrl,
@@ -6894,13 +6907,13 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6894
6907
  }, null, 8, ["photo-url", "full-name"])
6895
6908
  ], !0)
6896
6909
  ]),
6897
- b("div", lc, [
6910
+ b("div", ic, [
6898
6911
  b("p", rc, [
6899
6912
  k(t.$slots, "user-card-title", {}, () => [
6900
6913
  z(F(e.fullName), 1)
6901
6914
  ], !0)
6902
6915
  ]),
6903
- b("p", ic, [
6916
+ b("p", sc, [
6904
6917
  k(t.$slots, "user-card-subtitle", {}, () => [
6905
6918
  z(F(e.subTitle), 1)
6906
6919
  ], !0)
@@ -6920,7 +6933,7 @@ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6920
6933
  }, 16, ["href", "title"]));
6921
6934
  }
6922
6935
  });
6923
- const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6936
+ const cc = /* @__PURE__ */ A(uc, [["__scopeId", "data-v-2a8e1076"]]), dc = /* @__PURE__ */ L({
6924
6937
  __name: "VJoyWrapper",
6925
6938
  props: {
6926
6939
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -6981,7 +6994,7 @@ const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @_
6981
6994
  ], 2));
6982
6995
  }
6983
6996
  });
6984
- const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6997
+ const Rt = /* @__PURE__ */ A(dc, [["__scopeId", "data-v-68d89412"]]), fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6985
6998
  __proto__: null,
6986
6999
  VJoyAvailability: ca,
6987
7000
  VJoyAvatar: bn,
@@ -6999,35 +7012,35 @@ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
6999
7012
  VJoyDialog: Ml,
7000
7013
  VJoyDialogTrigger: zl,
7001
7014
  VJoyDividerCta: Kl,
7002
- VJoyDrawer: ar,
7003
- VJoyDrawerTrigger: or,
7004
- VJoyDropdown: dr,
7015
+ VJoyDrawer: ai,
7016
+ VJoyDrawerTrigger: oi,
7017
+ VJoyDropdown: di,
7005
7018
  VJoyDropdownList: Ln,
7006
- VJoyFilterBar: pr,
7007
- VJoyFilterBarButton: br,
7008
- VJoyFooter: Sr,
7019
+ VJoyFilterBar: pi,
7020
+ VJoyFilterBarButton: bi,
7021
+ VJoyFooter: Si,
7009
7022
  VJoyFormError: En,
7010
- VJoyFormFieldSkeleton: jr,
7011
- VJoyFunnel: Ar,
7012
- VJoyHeader: Pr,
7013
- VJoyHighlight: qr,
7023
+ VJoyFormFieldSkeleton: ji,
7024
+ VJoyFunnel: Ai,
7025
+ VJoyHeader: Pi,
7026
+ VJoyHighlight: qi,
7014
7027
  VJoyIcon: W,
7015
7028
  VJoyIndicator: Bn,
7016
- VJoyIndicators: Gr,
7017
- VJoyInput: ai,
7029
+ VJoyIndicators: Gi,
7030
+ VJoyInput: ar,
7018
7031
  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,
7032
+ VJoyLink: rr,
7033
+ VJoyMenu: fr,
7034
+ VJoyMultiCheckbox: mr,
7035
+ VJoyPagination: kr,
7036
+ VJoyPanel: Er,
7037
+ VJoyPanelSection: Jr,
7038
+ VJoyProgressBar: Rr,
7039
+ VJoyRadio: Wr,
7040
+ VJoyRadioGroup: Kr,
7028
7041
  VJoyRatingStars: An,
7029
7042
  VJoyScreenLoader: At,
7030
- VJoySelect: is,
7043
+ VJoySelect: rs,
7031
7044
  VJoySelectableItem: Nn,
7032
7045
  VJoySelectableItemGroup: vs,
7033
7046
  VJoySeparator: ms,
@@ -7036,19 +7049,19 @@ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
7036
7049
  VJoyStep: Jn,
7037
7050
  VJoyStepper: Vs,
7038
7051
  VJoyTab: Ls,
7039
- VJoyTabs: Fs,
7052
+ VJoyTabs: Ps,
7040
7053
  VJoyTag: Fn,
7041
- VJoyTagsList: Ms,
7042
- VJoyTemplate: ou,
7054
+ VJoyTagsList: zs,
7055
+ VJoyTemplate: lu,
7043
7056
  VJoyTemplateShape: Pn,
7044
7057
  VJoyText: ru,
7045
- VJoyTextarea: yu,
7046
- VJoyToggle: wu,
7047
- VJoyTooltip: ac,
7048
- VJoyUserCard: uc,
7058
+ VJoyTextarea: vu,
7059
+ VJoyToggle: Su,
7060
+ VJoyTooltip: oc,
7061
+ VJoyUserCard: cc,
7049
7062
  VJoyWrapper: Rt
7050
7063
  }, Symbol.toStringTag, { value: "Module" }));
7051
- function fc(e) {
7064
+ function yc(e) {
7052
7065
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
7053
7066
  var a = e.get(t);
7054
7067
  a ? a.push(n) : e.set(t, [n]);
@@ -7064,15 +7077,15 @@ function fc(e) {
7064
7077
  });
7065
7078
  } };
7066
7079
  }
7067
- function yc() {
7068
- return fc();
7080
+ function vc() {
7081
+ return yc();
7069
7082
  }
7070
- const wt = "joy-snackbar__container", vc = "joy-snackbar__shell--";
7083
+ const wt = "joy-snackbar__container", pc = "joy-snackbar__shell--";
7071
7084
  let Ye = 0, St = [];
7072
- function pc() {
7085
+ function mc() {
7073
7086
  Ye = 0, St = [];
7074
7087
  }
7075
- function mc(e = { appendTo: "body", defaultMountSelector: wt }) {
7088
+ function bc(e = { appendTo: "body", defaultMountSelector: wt }) {
7076
7089
  var a;
7077
7090
  const t = document.createElement("div");
7078
7091
  t.id = e.defaultMountSelector;
@@ -7088,12 +7101,12 @@ function mc(e = { appendTo: "body", defaultMountSelector: wt }) {
7088
7101
  }
7089
7102
  `, 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
7103
  }
7091
- function hc(e) {
7092
- var r, l;
7093
- e.disableStacking && (St.forEach((i) => i.unmount()), pc(), document.getElementById(wt).innerHTML = ""), Ye++;
7104
+ function _c(e) {
7105
+ var i, l;
7106
+ e.disableStacking && (St.forEach((r) => r.unmount()), mc(), document.getElementById(wt).innerHTML = ""), Ye++;
7094
7107
  let t, n;
7095
- const a = yc();
7096
- t = ra(
7108
+ const a = vc();
7109
+ t = ia(
7097
7110
  On,
7098
7111
  Object.assign(e.props, {
7099
7112
  bus: a,
@@ -7101,23 +7114,23 @@ function hc(e) {
7101
7114
  })
7102
7115
  );
7103
7116
  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();
7117
+ 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", () => {
7118
+ var r;
7119
+ t.unmount(), (r = document.getElementById(n)) == null || r.remove();
7107
7120
  }), {
7108
7121
  snackbarEventBus: a,
7109
7122
  snackbarApp: t
7110
7123
  };
7111
7124
  }
7112
- const bc = {
7125
+ const gc = {
7113
7126
  install: (e, t = { env: "client" }) => {
7114
- Object.entries(dc).forEach(([n, a]) => {
7127
+ Object.entries(fc).forEach(([n, a]) => {
7115
7128
  e.component(n, a);
7116
- }), t.env === "client" && mc(), e.directive("joy-ripple", ia);
7129
+ }), t.env === "client" && bc(), e.directive("joy-ripple", ra);
7117
7130
  }
7118
7131
  };
7119
7132
  export {
7120
- bc as JoyVuePlugin,
7133
+ gc as JoyVuePlugin,
7121
7134
  ca as VJoyAvailability,
7122
7135
  bn as VJoyAvatar,
7123
7136
  wa as VJoyAvatarsList,
@@ -7134,35 +7147,35 @@ export {
7134
7147
  Ml as VJoyDialog,
7135
7148
  zl as VJoyDialogTrigger,
7136
7149
  Kl as VJoyDividerCta,
7137
- ar as VJoyDrawer,
7138
- or as VJoyDrawerTrigger,
7139
- dr as VJoyDropdown,
7150
+ ai as VJoyDrawer,
7151
+ oi as VJoyDrawerTrigger,
7152
+ di as VJoyDropdown,
7140
7153
  Ln as VJoyDropdownList,
7141
- pr as VJoyFilterBar,
7142
- br as VJoyFilterBarButton,
7143
- Sr as VJoyFooter,
7154
+ pi as VJoyFilterBar,
7155
+ bi as VJoyFilterBarButton,
7156
+ Si as VJoyFooter,
7144
7157
  En as VJoyFormError,
7145
- jr as VJoyFormFieldSkeleton,
7146
- Ar as VJoyFunnel,
7147
- Pr as VJoyHeader,
7148
- qr as VJoyHighlight,
7158
+ ji as VJoyFormFieldSkeleton,
7159
+ Ai as VJoyFunnel,
7160
+ Pi as VJoyHeader,
7161
+ qi as VJoyHighlight,
7149
7162
  W as VJoyIcon,
7150
7163
  Bn as VJoyIndicator,
7151
- Gr as VJoyIndicators,
7152
- ai as VJoyInput,
7164
+ Gi as VJoyIndicators,
7165
+ ar as VJoyInput,
7153
7166
  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,
7167
+ rr as VJoyLink,
7168
+ fr as VJoyMenu,
7169
+ mr as VJoyMultiCheckbox,
7170
+ kr as VJoyPagination,
7171
+ Er as VJoyPanel,
7172
+ Jr as VJoyPanelSection,
7173
+ Rr as VJoyProgressBar,
7174
+ Wr as VJoyRadio,
7175
+ Kr as VJoyRadioGroup,
7163
7176
  An as VJoyRatingStars,
7164
7177
  At as VJoyScreenLoader,
7165
- is as VJoySelect,
7178
+ rs as VJoySelect,
7166
7179
  Nn as VJoySelectableItem,
7167
7180
  vs as VJoySelectableItemGroup,
7168
7181
  ms as VJoySeparator,
@@ -7171,19 +7184,19 @@ export {
7171
7184
  Jn as VJoyStep,
7172
7185
  Vs as VJoyStepper,
7173
7186
  Ls as VJoyTab,
7174
- Fs as VJoyTabs,
7187
+ Ps as VJoyTabs,
7175
7188
  Fn as VJoyTag,
7176
- Ms as VJoyTagsList,
7177
- ou as VJoyTemplate,
7189
+ zs as VJoyTagsList,
7190
+ lu as VJoyTemplate,
7178
7191
  Pn as VJoyTemplateShape,
7179
7192
  ru as VJoyText,
7180
- yu as VJoyTextarea,
7181
- wu as VJoyToggle,
7182
- ac as VJoyTooltip,
7183
- uc as VJoyUserCard,
7193
+ vu as VJoyTextarea,
7194
+ Su as VJoyToggle,
7195
+ oc as VJoyTooltip,
7196
+ cc as VJoyUserCard,
7184
7197
  Rt as VJoyWrapper,
7185
- mc as createAllSnackbarsContainer,
7186
- hc as pushVJoySnackbar,
7187
- pc as resetCount,
7198
+ bc as createAllSnackbarsContainer,
7199
+ _c as pushVJoySnackbar,
7200
+ mc as resetCount,
7188
7201
  St as snackbarMountedInstances
7189
7202
  };