@maltjoy/core-vue 3.19.6 → 3.19.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/joy-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as $, createElementVNode as b, Fragment as K, createTextVNode as z, toDisplayString as J, createCommentVNode as x, createBlock as E, 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 ee, h as ta, Teleport as rt, createVNode as U, useSlots as Q, 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 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";
2
2
  function Mt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -47,17 +47,17 @@ const ia = {
47
47
  class: $(n.value)
48
48
  }, null, 2),
49
49
  e.label ? (y(), g(K, { key: 0 }, [
50
- z(J(e.label), 1)
50
+ z(F(e.label), 1)
51
51
  ], 64)) : x("", !0)
52
52
  ], 10, sa));
53
53
  }
54
54
  });
55
- const B = (e, t) => {
55
+ const A = (e, t) => {
56
56
  const n = e.__vccOpts || e;
57
57
  for (const [a, o] of t)
58
58
  n[a] = o;
59
59
  return n;
60
- }, ca = /* @__PURE__ */ B(ua, [["__scopeId", "data-v-3452c6e7"]]), da = ["role", "tabindex", "aria-label", "title"], W = /* @__PURE__ */ L({
60
+ }, ca = /* @__PURE__ */ A(ua, [["__scopeId", "data-v-3452c6e7"]]), da = ["role", "tabindex", "aria-label", "title"], W = /* @__PURE__ */ L({
61
61
  __name: "VJoyIcon",
62
62
  props: {
63
63
  ariaLabel: {
@@ -153,13 +153,13 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
153
153
  "joy-avatar__placeholder": i.value,
154
154
  [`joy-avatar__${a.size}`]: !0,
155
155
  [`joy-avatar__${a.color}`]: !0
156
- })), i = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), s = V(() => {
156
+ })), i = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), u = V(() => {
157
157
  function c(p) {
158
158
  return p.replace(/[';,:()]/g, "").charAt(0);
159
159
  }
160
160
  let f = a.fullName.split(" ");
161
- return f = f.slice(0, 2), f.forEach((p, u) => {
162
- f[u] = c(p);
161
+ return f = f.slice(0, 2), f.forEach((p, s) => {
162
+ f[s] = c(p);
163
163
  }), f.join("").toUpperCase();
164
164
  });
165
165
  function d() {
@@ -167,14 +167,14 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
167
167
  }
168
168
  return t({
169
169
  isAnonymous: i,
170
- initials: s
170
+ initials: u
171
171
  }), (c, f) => (y(), g("div", ya, [
172
- (y(), E(oe(e.link ? "button" : "div"), te(r.value, {
172
+ (y(), B(oe(e.link ? "button" : "div"), te(r.value, {
173
173
  class: [l.value],
174
174
  onClick: d
175
175
  }), {
176
176
  default: M(() => [
177
- i.value ? (y(), E(W, {
177
+ i.value ? (y(), B(W, {
178
178
  key: 0,
179
179
  name: "user-photo",
180
180
  color: "white",
@@ -188,10 +188,10 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
188
188
  loading: "lazy"
189
189
  }, null, 8, va)) : x("", !0),
190
190
  e.fullName ? (y(), g(K, { key: 2 }, [
191
- z(J(s.value), 1)
191
+ z(F(u.value), 1)
192
192
  ], 64)) : x("", !0),
193
193
  e.totalNumber ? (y(), g(K, { key: 3 }, [
194
- z(J("+" + e.totalNumber), 1)
194
+ z(F("+" + e.totalNumber), 1)
195
195
  ], 64)) : x("", !0)
196
196
  ]),
197
197
  _: 1
@@ -208,7 +208,7 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
208
208
  ], 512));
209
209
  }
210
210
  });
211
- const bn = /* @__PURE__ */ B(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @__PURE__ */ L({
211
+ const bn = /* @__PURE__ */ A(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @__PURE__ */ L({
212
212
  __name: "VJoyAvatarsList",
213
213
  props: {
214
214
  /** Renders a compact list of avatars */
@@ -223,7 +223,7 @@ const bn = /* @__PURE__ */ B(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @_
223
223
  ], 2));
224
224
  }
225
225
  });
226
- const wa = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], ka = /* @__PURE__ */ L({
226
+ const wa = /* @__PURE__ */ A(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], ka = /* @__PURE__ */ L({
227
227
  __name: "VJoyBadge",
228
228
  props: {
229
229
  /**
@@ -256,12 +256,12 @@ const wa = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["inf
256
256
  role: "status"
257
257
  }, [
258
258
  k(t.$slots, "default", {}, () => [
259
- z(J(e.label), 1)
259
+ z(F(e.label), 1)
260
260
  ], !0)
261
261
  ], 2));
262
262
  }
263
263
  });
264
- const xa = /* @__PURE__ */ B(ka, [["__scopeId", "data-v-4512c8c6"]]);
264
+ const xa = /* @__PURE__ */ A(ka, [["__scopeId", "data-v-4512c8c6"]]);
265
265
  var Z = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(Z || {}), Ke = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(Ke || {});
266
266
  const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-badge-level" }, ja = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
267
267
  fill: "#264FFA",
@@ -398,13 +398,13 @@ const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-
398
398
  ])
399
399
  }, [
400
400
  e.visibleText ? k(a.$slots, "default", { key: 0 }, () => [
401
- z(J(n.value), 1)
401
+ z(F(n.value), 1)
402
402
  ], !0) : x("", !0)
403
403
  ], 2)
404
404
  ]));
405
405
  }
406
406
  });
407
- const Ua = /* @__PURE__ */ B(Wa, [["__scopeId", "data-v-4187ebd6"]]);
407
+ const Ua = /* @__PURE__ */ A(Wa, [["__scopeId", "data-v-4187ebd6"]]);
408
408
  function gn(e) {
409
409
  let t;
410
410
  switch (e) {
@@ -451,7 +451,7 @@ const Ka = ["teal", "white"], Ya = /* @__PURE__ */ L({
451
451
  }, null, 2));
452
452
  }
453
453
  });
454
- const $t = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["primary", "secondary"], Qa = ["neutral", "success", "info", "warning", "error"], Xa = ["main", "admin", "ghost", "white"], eo = [...Za, ...Xa], to = ["large", "medium", "small", "xsmall", "xxsmall"], no = /* @__PURE__ */ L({
454
+ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["primary", "secondary"], Qa = ["neutral", "success", "info", "warning", "error"], Xa = ["main", "admin", "ghost", "white"], eo = [...Za, ...Xa], to = ["large", "medium", "small", "xsmall", "xxsmall"], no = /* @__PURE__ */ L({
455
455
  __name: "VJoyButton",
456
456
  props: {
457
457
  /**
@@ -512,9 +512,9 @@ const $t = /* @__PURE__ */ B(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, s) => {
515
+ return t({ randomId: o }), (i, u) => {
516
516
  const d = Qn("joy-ripple");
517
- return Xn((y(), E(oe(T(a).href ? "a" : "button"), {
517
+ return Xn((y(), B(oe(T(a).href ? "a" : "button"), {
518
518
  disabled: e.loading || T(a).disabled,
519
519
  type: T(a).type || "button",
520
520
  class: $([
@@ -529,14 +529,14 @@ const $t = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
529
529
  "aria-labelledby": (i.$slots.default || e.label) && o
530
530
  }, {
531
531
  default: M(() => [
532
- e.icon && e.iconPosition === "left" ? (y(), E(W, {
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
536
  size: r.value,
537
537
  "aria-hidden": "true"
538
538
  }, null, 8, ["name", "size"])) : x("", !0),
539
- e.loading ? (y(), E($t, {
539
+ e.loading ? (y(), B($t, {
540
540
  key: 1,
541
541
  color: l.value
542
542
  }, null, 8, ["color"])) : x("", !0),
@@ -545,10 +545,10 @@ const $t = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
545
545
  class: "joy-button--slot"
546
546
  }, [
547
547
  k(i.$slots, "default", {}, () => [
548
- z(J(e.label), 1)
548
+ z(F(e.label), 1)
549
549
  ], !0)
550
550
  ]),
551
- e.icon && e.iconPosition === "right" ? (y(), E(W, {
551
+ e.icon && e.iconPosition === "right" ? (y(), B(W, {
552
552
  key: 2,
553
553
  class: "joy-button_icon joy-button_icon--right",
554
554
  name: e.icon,
@@ -563,7 +563,7 @@ const $t = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
563
563
  };
564
564
  }
565
565
  });
566
- const de = /* @__PURE__ */ B(no, [["__scopeId", "data-v-25ba8bc2"]]);
566
+ const de = /* @__PURE__ */ A(no, [["__scopeId", "data-v-25ba8bc2"]]);
567
567
  var zt;
568
568
  const Vt = typeof window < "u", hn = (e) => typeof e == "string", Tt = () => {
569
569
  }, pt = Vt && ((zt = window == null ? void 0 : window.navigator) == null ? void 0 : zt.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -595,10 +595,10 @@ function yt(...e) {
595
595
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
596
596
  const r = [], l = () => {
597
597
  r.forEach((c) => c()), r.length = 0;
598
- }, i = (c, f, p, u) => (c.addEventListener(f, p, u), () => c.removeEventListener(f, p, u)), s = ee(() => [Te(t), Ee(o)], ([c, f]) => {
599
- l(), c && r.push(...n.flatMap((p) => a.map((u) => i(c, p, u, f))));
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))));
600
600
  }, { immediate: !0, flush: "post" }), d = () => {
601
- s(), l();
601
+ u(), l();
602
602
  };
603
603
  return st(d), d;
604
604
  }
@@ -609,18 +609,18 @@ function ro(e, t, n = {}) {
609
609
  return;
610
610
  pt && !qt && (qt = !0, Array.from(a.document.body.children).forEach((p) => p.addEventListener("click", Tt)));
611
611
  let i = !0;
612
- const s = (p) => o.some((u) => {
613
- if (typeof u == "string")
614
- return Array.from(a.document.querySelectorAll(u)).some((m) => m === p.target || p.composedPath().includes(m));
612
+ const u = (p) => o.some((s) => {
613
+ if (typeof s == "string")
614
+ return Array.from(a.document.querySelectorAll(s)).some((m) => m === p.target || p.composedPath().includes(m));
615
615
  {
616
- const m = Te(u);
616
+ const m = Te(s);
617
617
  return m && (p.target === m || p.composedPath().includes(m));
618
618
  }
619
619
  }), c = [
620
620
  yt(a, "click", (p) => {
621
- const u = Te(e);
622
- if (!(!u || u === p.target || p.composedPath().includes(u))) {
623
- if (p.detail === 0 && (i = !s(p)), !i) {
621
+ const s = Te(e);
622
+ if (!(!s || s === p.target || p.composedPath().includes(s))) {
623
+ if (p.detail === 0 && (i = !u(p)), !i) {
624
624
  i = !0;
625
625
  return;
626
626
  }
@@ -628,13 +628,13 @@ function ro(e, t, n = {}) {
628
628
  }
629
629
  }, { passive: !0, capture: r }),
630
630
  yt(a, "pointerdown", (p) => {
631
- const u = Te(e);
632
- u && (i = !p.composedPath().includes(u) && !s(p));
631
+ const s = Te(e);
632
+ s && (i = !p.composedPath().includes(s) && !u(p));
633
633
  }, { passive: !0 }),
634
634
  l && yt(a, "blur", (p) => {
635
- var u;
635
+ var s;
636
636
  const m = Te(e);
637
- ((u = a.document.activeElement) == null ? void 0 : u.tagName) === "IFRAME" && !(m != null && m.contains(a.document.activeElement)) && t(p);
637
+ ((s = a.document.activeElement) == null ? void 0 : s.tagName) === "IFRAME" && !(m != null && m.contains(a.document.activeElement)) && t(p);
638
638
  })
639
639
  ].filter(Boolean);
640
640
  return () => c.forEach((p) => p());
@@ -657,12 +657,12 @@ var Ut = Object.getOwnPropertySymbols, so = Object.prototype.hasOwnProperty, uo
657
657
  function fo(e, t, n = {}) {
658
658
  const a = n, { window: o = It } = a, r = co(a, ["window"]);
659
659
  let l;
660
- const i = io(() => o && "ResizeObserver" in o), s = () => {
660
+ const i = io(() => o && "ResizeObserver" in o), u = () => {
661
661
  l && (l.disconnect(), l = void 0);
662
- }, d = ee(() => Te(e), (f) => {
663
- s(), i.value && o && f && (l = new ResizeObserver(t), l.observe(f, r));
662
+ }, d = Q(() => Te(e), (f) => {
663
+ u(), i.value && o && f && (l = new ResizeObserver(t), l.observe(f, r));
664
664
  }, { immediate: !0, flush: "post" }), c = () => {
665
- s(), d();
665
+ u(), d();
666
666
  };
667
667
  return st(c), {
668
668
  isSupported: i,
@@ -679,7 +679,7 @@ function yo(e) {
679
679
  var o, r;
680
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));
681
681
  }
682
- return ee([n, t], a, { immediate: !0 }), fo(t, () => a()), e != null && e.watch && ee(e.watch, a, { immediate: !0, deep: !0 }), {
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,
684
684
  input: n,
685
685
  triggerResize: a
@@ -749,10 +749,10 @@ function wo(...e) {
749
749
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
750
750
  const r = [], l = () => {
751
751
  r.forEach((c) => c()), r.length = 0;
752
- }, i = (c, f, p, u) => (c.addEventListener(f, p, u), () => c.removeEventListener(f, p, u)), s = ee(() => [ho(t), Ee(o)], ([c, f]) => {
753
- l(), c && r.push(...n.flatMap((p) => a.map((u) => i(c, p, u, f))));
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))));
754
754
  }, { immediate: !0, flush: "post" }), d = () => {
755
- s(), l();
755
+ u(), l();
756
756
  };
757
757
  return st(d), d;
758
758
  }
@@ -774,18 +774,18 @@ function So(e) {
774
774
  function ko(e, t = !1) {
775
775
  const n = C(t);
776
776
  let a = null, o;
777
- ee(oo(e), (i) => {
777
+ Q(oo(e), (i) => {
778
778
  if (i) {
779
- const s = i;
780
- o = s.style.overflow, n.value && (s.style.overflow = "hidden");
779
+ const u = i;
780
+ o = u.style.overflow, n.value && (u.style.overflow = "hidden");
781
781
  }
782
782
  }, {
783
783
  immediate: !0
784
784
  });
785
785
  const r = () => {
786
786
  const i = Ee(e);
787
- !i || n.value || (pt && (a = wo(i, "touchmove", (s) => {
788
- So(s);
787
+ !i || n.value || (pt && (a = wo(i, "touchmove", (u) => {
788
+ So(u);
789
789
  }, { passive: !1 })), i.style.overflow = "hidden", n.value = !0);
790
790
  }, l = () => {
791
791
  const i = Ee(e);
@@ -808,7 +808,7 @@ const xo = () => {
808
808
  return;
809
809
  e = !0;
810
810
  const o = ko(n, a.value);
811
- ee(t, (r) => o.value = r);
811
+ Q(t, (r) => o.value = r);
812
812
  };
813
813
  };
814
814
  xo();
@@ -849,38 +849,38 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
849
849
  const a = e, o = Ae(), r = V(() => {
850
850
  if (l.value)
851
851
  return o;
852
- }), l = C(!1), i = C(!1), s = C(a.open), d = C(!1), c = C();
852
+ }), l = C(!1), i = C(!1), u = C(a.open), d = C(!1), c = C();
853
853
  let f = 0;
854
854
  function p() {
855
- s.value = !0, j();
855
+ u.value = !0, j();
856
856
  }
857
- function u() {
857
+ function s() {
858
858
  i.value = !0, setTimeout(async () => {
859
- d.value = !1, i.value = !1, s.value = !1, me(!1), n("bottom-sheet:close");
859
+ d.value = !1, i.value = !1, u.value = !1, me(!1), n("bottom-sheet:close");
860
860
  }, 300);
861
861
  }
862
- function m(N) {
863
- d.value = !0, c.value.classList.add(en), f = A(N);
862
+ function m(O) {
863
+ d.value = !0, c.value.classList.add(en), f = E(O);
864
864
  }
865
- function v(N) {
866
- d.value && (w(N) > Xt && u(), F());
865
+ function v(O) {
866
+ d.value && (h(O) > Xt && s(), P());
867
867
  }
868
- function h(N) {
868
+ function _(O) {
869
869
  if (d.value) {
870
- const O = w(N);
871
- O > Xt ? u() : O > 0 && P(O);
870
+ const J = h(O);
871
+ J > Xt ? s() : J > 0 && N(J);
872
872
  }
873
873
  }
874
- function w(N) {
875
- return A(N) - f;
874
+ function h(O) {
875
+ return E(O) - f;
876
876
  }
877
- function A(N) {
878
- return ["touchend", "touchmove", "touchstart"].includes(N.type) ? N.changedTouches[0].clientY : N.clientY;
877
+ function E(O) {
878
+ return ["touchend", "touchmove", "touchstart"].includes(O.type) ? O.changedTouches[0].clientY : O.clientY;
879
879
  }
880
- function P(N) {
881
- c.value.style.setProperty("transform", `translateY(${N}px)`);
880
+ function N(O) {
881
+ c.value.style.setProperty("transform", `translateY(${O}px)`);
882
882
  }
883
- function F() {
883
+ function P() {
884
884
  c.value.classList.remove(en), c.value.style.removeProperty("transform"), d.value = !1;
885
885
  }
886
886
  function j() {
@@ -889,26 +889,26 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
889
889
  return le(() => {
890
890
  l.value = !0, a.open && j();
891
891
  }), t({
892
- hide: u,
892
+ hide: s,
893
893
  show: p,
894
- isOpen: s,
895
- moveContainer: P
896
- }), (N, O) => l.value ? (y(), E(rt, {
894
+ isOpen: u,
895
+ moveContainer: N
896
+ }), (O, J) => l.value ? (y(), B(rt, {
897
897
  key: 0,
898
898
  to: e.teleport
899
899
  }, [
900
- s.value ? (y(), g("div", te({ key: 0 }, r.value, {
900
+ u.value ? (y(), g("div", te({ key: 0 }, r.value, {
901
901
  class: [
902
902
  "joy-bottom-sheet",
903
903
  {
904
- "joy-bottom-sheet--open": s.value,
905
- "joy-bottom-sheet--hiding": i.value && s.value,
904
+ "joy-bottom-sheet--open": u.value,
905
+ "joy-bottom-sheet--hiding": i.value && u.value,
906
906
  "joy-bottom-sheet--frozen": e.frozen
907
907
  }
908
908
  ]
909
909
  }), [
910
910
  Co,
911
- U(T(Lt), { onTrigger: u }, {
911
+ U(T(Lt), { onTrigger: s }, {
912
912
  default: M(() => [
913
913
  b("div", {
914
914
  ref_key: "bottomSheetContainerElement",
@@ -919,21 +919,21 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
919
919
  class: "joy-bottom-sheet_header",
920
920
  onMousedown: m,
921
921
  onMouseup: v,
922
- onMousemove: h,
922
+ onMousemove: _,
923
923
  onMouseleave: v,
924
924
  onTouchstart: m,
925
925
  onTouchend: v,
926
- onTouchmove: h
926
+ onTouchmove: _
927
927
  }, $o, 32),
928
928
  b("div", Vo, [
929
- k(N.$slots, "bottom-sheet-content", {}, void 0, !0)
929
+ k(O.$slots, "bottom-sheet-content", {}, void 0, !0)
930
930
  ]),
931
931
  b("div", To, [
932
- k(N.$slots, "bottom-sheet-cta", {}, () => [
932
+ k(O.$slots, "bottom-sheet-cta", {}, () => [
933
933
  U(de, {
934
934
  class: "joy-bottom-sheet_footer-close",
935
935
  label: e.closeLabel,
936
- onClick: u
936
+ onClick: s
937
937
  }, null, 8, ["label"])
938
938
  ], !0)
939
939
  ])
@@ -945,19 +945,19 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
945
945
  ], 8, ["to"])) : x("", !0);
946
946
  }
947
947
  });
948
- const Lo = /* @__PURE__ */ B(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @__PURE__ */ L({
948
+ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @__PURE__ */ L({
949
949
  __name: "VJoyBottomSheetTrigger",
950
950
  props: {
951
951
  bottomSheet: {}
952
952
  },
953
953
  emits: ["click"],
954
954
  setup(e, { emit: t }) {
955
- const n = e, a = V(() => n.bottomSheet), o = Q(), r = V(() => o.default());
955
+ const n = e, a = V(() => n.bottomSheet), o = X(), r = V(() => o.default());
956
956
  function l() {
957
957
  var i;
958
958
  t("click"), (i = a.value) == null || i.show();
959
959
  }
960
- return (i, s) => (y(!0), g(K, null, Y(r.value, (d) => (y(), E(oe(d), {
960
+ return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
961
961
  key: d,
962
962
  onClick: l
963
963
  }))), 128));
@@ -1017,7 +1017,7 @@ const Lo = /* @__PURE__ */ B(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), s = {
1020
+ const a = e, o = C(), r = C(a.indeterminate), l = C(a.invalid), i = C(!1), u = {
1021
1021
  onChange: (d) => {
1022
1022
  const c = d.target.checked;
1023
1023
  r.value = !1, l.value = !1, n("update:checked", c);
@@ -1064,16 +1064,16 @@ const Lo = /* @__PURE__ */ B(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1064
1064
  value: e.value,
1065
1065
  indeterminate: r.value,
1066
1066
  onChange: c[0] || (c[0] = //@ts-ignore
1067
- (...f) => s.onChange && s.onChange(...f)),
1067
+ (...f) => u.onChange && u.onChange(...f)),
1068
1068
  onFocus: c[1] || (c[1] = //@ts-ignore
1069
- (...f) => s.onFocus && s.onFocus(...f)),
1069
+ (...f) => u.onFocus && u.onFocus(...f)),
1070
1070
  onBlur: c[2] || (c[2] = //@ts-ignore
1071
- (...f) => s.onBlur && s.onBlur(...f))
1071
+ (...f) => u.onBlur && u.onBlur(...f))
1072
1072
  }, null, 40, No)
1073
1073
  ]),
1074
1074
  b("div", Oo, [
1075
1075
  k(d.$slots, "default", {}, () => [
1076
- z(J(e.label), 1)
1076
+ z(F(e.label), 1)
1077
1077
  ], !0),
1078
1078
  b("div", Jo, [
1079
1079
  k(d.$slots, "checkbox-content", {}, void 0, !0)
@@ -1083,7 +1083,7 @@ const Lo = /* @__PURE__ */ B(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1083
1083
  ], 8, Bo));
1084
1084
  }
1085
1085
  });
1086
- const Et = /* @__PURE__ */ B(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["aria-expanded"], Ro = ["id"], Do = { class: "joy-collapse-item__header-right" }, Mo = ["aria-labelledby"], zo = /* @__PURE__ */ L({
1086
+ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["aria-expanded"], Ro = ["id"], Do = { class: "joy-collapse-item__header-right" }, Mo = ["aria-labelledby"], zo = /* @__PURE__ */ L({
1087
1087
  __name: "VJoyCollapseItem",
1088
1088
  props: {
1089
1089
  header: {
@@ -1104,7 +1104,7 @@ const Et = /* @__PURE__ */ B(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1104
1104
  emits: ["collapse-item:open", "collapse-item:close"],
1105
1105
  setup(e, { expose: t, emit: n }) {
1106
1106
  const a = e, o = C(a.open);
1107
- ee(
1107
+ Q(
1108
1108
  () => a.open,
1109
1109
  (i) => {
1110
1110
  o.value = i;
@@ -1120,7 +1120,7 @@ const Et = /* @__PURE__ */ B(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1120
1120
  isOpen: o,
1121
1121
  onToggle: r,
1122
1122
  props: a
1123
- }), (i, s) => (y(), g("div", {
1123
+ }), (i, u) => (y(), g("div", {
1124
1124
  class: $([
1125
1125
  "joy-collapse-item",
1126
1126
  {
@@ -1138,13 +1138,13 @@ const Et = /* @__PURE__ */ B(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1138
1138
  id: e.id,
1139
1139
  class: "joy-collapse-item__summary___content"
1140
1140
  }, [
1141
- e.summaryIcon ? (y(), E(W, {
1141
+ e.summaryIcon ? (y(), B(W, {
1142
1142
  key: 0,
1143
1143
  "aria-hidden": "true",
1144
1144
  color: "secondary",
1145
1145
  name: e.summaryIcon
1146
1146
  }, null, 8, ["name"])) : x("", !0),
1147
- z(" " + J(e.header), 1)
1147
+ z(" " + F(e.header), 1)
1148
1148
  ], 8, Ro),
1149
1149
  b("div", Do, [
1150
1150
  k(i.$slots, "collapse-header-right")
@@ -1170,7 +1170,7 @@ const Et = /* @__PURE__ */ B(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1170
1170
  ], 2));
1171
1171
  }
1172
1172
  });
1173
- const Sn = /* @__PURE__ */ B(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { class: "joy-collapse" }, Ho = /* @__PURE__ */ L({
1173
+ const Sn = /* @__PURE__ */ A(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { class: "joy-collapse" }, Ho = /* @__PURE__ */ L({
1174
1174
  __name: "VJoyCollapse",
1175
1175
  props: {
1176
1176
  accordion: {
@@ -1186,35 +1186,35 @@ const Sn = /* @__PURE__ */ B(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 = Q(), l = V(() => {
1190
- const u = r.default();
1191
- return u.length === 1 && typeof u[0].type != "object" ? u[0].children.filter(i) : u.filter(i);
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);
1192
1192
  });
1193
- function i(u) {
1193
+ function i(s) {
1194
1194
  var m;
1195
- return ((m = u == null ? void 0 : u.type) == null ? void 0 : m.__name) === "VJoyCollapseItem";
1195
+ return ((m = s == null ? void 0 : s.type) == null ? void 0 : m.__name) === "VJoyCollapseItem";
1196
1196
  }
1197
- function s(u, m) {
1198
- if (!(!u.children || !u.children[m]))
1199
- return u.children[m]();
1197
+ function u(s, m) {
1198
+ if (!(!s.children || !s.children[m]))
1199
+ return s.children[m]();
1200
1200
  }
1201
- function d(u) {
1202
- return a.modelValue.length ? a.modelValue.includes(p(u)) : u.props.open;
1201
+ function d(s) {
1202
+ return a.modelValue.length ? a.modelValue.includes(p(s)) : s.props.open;
1203
1203
  }
1204
- async function c(u) {
1204
+ async function c(s) {
1205
1205
  if (a.accordion) {
1206
1206
  let m = [];
1207
- m.push(p(u)), o.value = m;
1207
+ m.push(p(s)), o.value = m;
1208
1208
  }
1209
- o.value.indexOf(p(u)) === -1 && o.value.push(p(u)), n("update:modelValue", o.value);
1209
+ o.value.indexOf(p(s)) === -1 && o.value.push(p(s)), n("update:modelValue", o.value);
1210
1210
  }
1211
- function f(u) {
1211
+ function f(s) {
1212
1212
  a.accordion && (o.value = []);
1213
- const m = o.value.indexOf(p(u));
1213
+ const m = o.value.indexOf(p(s));
1214
1214
  m !== -1 && o.value.splice(m, 1), n("update:modelValue", o.value);
1215
1215
  }
1216
- function p(u) {
1217
- return u.props.id || u.props.header;
1216
+ function p(s) {
1217
+ return s.props.id || s.props.header;
1218
1218
  }
1219
1219
  return t({
1220
1220
  getValForModel: p,
@@ -1222,25 +1222,25 @@ const Sn = /* @__PURE__ */ B(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { cla
1222
1222
  isOpen: d,
1223
1223
  items: l,
1224
1224
  openedCollapseItem: o
1225
- }), (u, m) => (y(), g("div", qo, [
1226
- (y(!0), g(K, null, Y(l.value, (v) => (y(), E(Sn, te(v.props, {
1225
+ }), (s, m) => (y(), g("div", qo, [
1226
+ (y(!0), g(K, null, Y(l.value, (v) => (y(), B(Sn, te(v.props, {
1227
1227
  key: v.props.id,
1228
1228
  open: d(v),
1229
- "onCollapseItem:open": (h) => c(v),
1230
- "onCollapseItem:close": (h) => f(v)
1229
+ "onCollapseItem:open": (_) => c(v),
1230
+ "onCollapseItem:close": (_) => f(v)
1231
1231
  }), {
1232
1232
  "collapse-header-right": M(() => [
1233
- (y(!0), g(K, null, Y(s(v, "collapse-header-right"), (h) => (y(), E(oe(h), { key: h }))), 128))
1233
+ (y(!0), g(K, null, Y(u(v, "collapse-header-right"), (_) => (y(), B(oe(_), { key: _ }))), 128))
1234
1234
  ]),
1235
1235
  default: M(() => [
1236
- (y(!0), g(K, null, Y(s(v, "default"), (h) => (y(), E(oe(h), { key: h }))), 128))
1236
+ (y(!0), g(K, null, Y(u(v, "default"), (_) => (y(), B(oe(_), { key: _ }))), 128))
1237
1237
  ]),
1238
1238
  _: 2
1239
1239
  }, 1040, ["open", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1240
1240
  ]));
1241
1241
  }
1242
1242
  });
1243
- const Wo = /* @__PURE__ */ B(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src", "alt", "title"], Go = /* @__PURE__ */ L({
1243
+ const Wo = /* @__PURE__ */ A(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src", "alt", "title"], Go = /* @__PURE__ */ L({
1244
1244
  __name: "VJoyCompanyAvatar",
1245
1245
  props: {
1246
1246
  imgSrc: String,
@@ -1272,7 +1272,7 @@ const Wo = /* @__PURE__ */ B(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src
1272
1272
  src: e.imgSrc,
1273
1273
  alt: e.imgAlt || e.companyName,
1274
1274
  title: e.companyName
1275
- }, null, 8, Uo)) : (y(), E(T(W), {
1275
+ }, null, 8, Uo)) : (y(), B(T(W), {
1276
1276
  key: 1,
1277
1277
  name: "company-placeholder",
1278
1278
  size: n.value
@@ -1280,7 +1280,7 @@ const Wo = /* @__PURE__ */ B(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src
1280
1280
  ], 2));
1281
1281
  }
1282
1282
  });
1283
- const Ko = /* @__PURE__ */ B(Go, [["__scopeId", "data-v-0f616ccb"]]);
1283
+ const Ko = /* @__PURE__ */ A(Go, [["__scopeId", "data-v-0f616ccb"]]);
1284
1284
  function Yo(e) {
1285
1285
  const t = () => e();
1286
1286
  le(() => {
@@ -1378,7 +1378,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
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
  }
1381
- function s() {
1381
+ function u() {
1382
1382
  const v = c();
1383
1383
  a.max && v <= a.max ? n("update:modelValue", v >= a.max ? a.max : v) : a.max && v > a.max ? n("update:modelValue", a.max) : n("update:modelValue", v), d();
1384
1384
  }
@@ -1386,16 +1386,16 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1386
1386
  o.value = !f();
1387
1387
  }
1388
1388
  function c(v = !0) {
1389
- const h = a.step.toString().split("."), w = h.length === 2 ? h[1].length : 0;
1390
- return parseFloat(v ? (a.modelValue + a.step).toFixed(w) : (a.modelValue - a.step).toFixed(w));
1389
+ const _ = a.step.toString().split("."), h = _.length === 2 ? _[1].length : 0;
1390
+ return parseFloat(v ? (a.modelValue + a.step).toFixed(h) : (a.modelValue - a.step).toFixed(h));
1391
1391
  }
1392
1392
  function f() {
1393
- return p() && u();
1393
+ return p() && s();
1394
1394
  }
1395
1395
  function p() {
1396
1396
  return !a.max || a.modelValue <= a.max;
1397
1397
  }
1398
- function u() {
1398
+ function s() {
1399
1399
  return a.min <= a.modelValue;
1400
1400
  }
1401
1401
  const m = {
@@ -1411,8 +1411,8 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1411
1411
  };
1412
1412
  return t({
1413
1413
  props: a
1414
- }), (v, h) => (y(), g("div", Zo, [
1415
- e.label ? (y(), E(T(je), {
1414
+ }), (v, _) => (y(), g("div", Zo, [
1415
+ e.label ? (y(), B(T(je), {
1416
1416
  key: 0,
1417
1417
  for: e.id,
1418
1418
  required: e.required && e.requiredMark,
@@ -1421,7 +1421,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1421
1421
  }, {
1422
1422
  default: M(() => [
1423
1423
  k(v.$slots, "default", {}, () => [
1424
- z(J(e.label), 1)
1424
+ z(F(e.label), 1)
1425
1425
  ], !0)
1426
1426
  ]),
1427
1427
  _: 3
@@ -1453,12 +1453,12 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1453
1453
  step: "any",
1454
1454
  value: e.modelValue
1455
1455
  }, v.$attrs, {
1456
- onInput: h[0] || (h[0] = //@ts-ignore
1457
- (...w) => m.onInput && m.onInput(...w)),
1458
- onBlur: h[1] || (h[1] = //@ts-ignore
1459
- (...w) => m.onBlur && m.onBlur(...w)),
1460
- onFocus: h[2] || (h[2] = //@ts-ignore
1461
- (...w) => m.onFocus && m.onFocus(...w))
1456
+ onInput: _[0] || (_[0] = //@ts-ignore
1457
+ (...h) => m.onInput && m.onInput(...h)),
1458
+ onBlur: _[1] || (_[1] = //@ts-ignore
1459
+ (...h) => m.onBlur && m.onBlur(...h)),
1460
+ onFocus: _[2] || (_[2] = //@ts-ignore
1461
+ (...h) => m.onFocus && m.onFocus(...h))
1462
1462
  }), null, 16, el)
1463
1463
  ]),
1464
1464
  b("button", {
@@ -1466,7 +1466,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1466
1466
  type: "button",
1467
1467
  "aria-label": e.labelIncrement,
1468
1468
  disabled: e.max ? e.modelValue >= e.max : !1,
1469
- onClick: s
1469
+ onClick: u
1470
1470
  }, [
1471
1471
  U(T(W), { name: "add" })
1472
1472
  ], 8, tl),
@@ -1477,7 +1477,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1477
1477
  ]));
1478
1478
  }
1479
1479
  });
1480
- const ll = /* @__PURE__ */ B(ol, [["__scopeId", "data-v-8ad5d56e"]]);
1480
+ const ll = /* @__PURE__ */ A(ol, [["__scopeId", "data-v-8ad5d56e"]]);
1481
1481
  function rl(e) {
1482
1482
  return kt() ? (xt(e), !0) : !1;
1483
1483
  }
@@ -1517,7 +1517,7 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1517
1517
  var l = r.shift();
1518
1518
  if (!Xe(l, !1))
1519
1519
  if (l.tagName === "SLOT") {
1520
- var i = l.assignedElements(), s = i.length ? i : l.children, d = e(s, !0, a);
1520
+ var i = l.assignedElements(), u = i.length ? i : 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
@@ -1528,10 +1528,10 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1528
1528
  var f = l.shadowRoot || // check for an undisclosed shadow
1529
1529
  typeof a.getShadowRoot == "function" && a.getShadowRoot(l), p = !Xe(f, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
1530
1530
  if (f && p) {
1531
- var u = e(f === !0 ? l.children : f.children, !0, a);
1532
- a.flatten ? o.push.apply(o, u) : o.push({
1531
+ var s = e(f === !0 ? l.children : f.children, !0, a);
1532
+ a.flatten ? o.push.apply(o, s) : o.push({
1533
1533
  scopeParent: l,
1534
- candidates: u
1534
+ candidates: s
1535
1535
  });
1536
1536
  } else
1537
1537
  r.unshift.apply(r, l.children);
@@ -1585,8 +1585,8 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1585
1585
  }, gl = function(t) {
1586
1586
  var n, a = t && Qe(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
1587
1587
  if (a && a !== t) {
1588
- var l, i, s;
1589
- for (r = !!((l = o) !== null && l !== void 0 && (i = l.ownerDocument) !== null && i !== void 0 && i.contains(o) || t != null && (s = t.ownerDocument) !== null && s !== void 0 && s.contains(t)); !r && o; ) {
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; ) {
1590
1590
  var d, c, f;
1591
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));
1592
1592
  }
@@ -1605,10 +1605,10 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1605
1605
  if (!a || a === "full" || a === "legacy-full") {
1606
1606
  if (typeof o == "function") {
1607
1607
  for (var i = t; t; ) {
1608
- var s = t.parentElement, d = Qe(t);
1609
- if (s && !s.shadowRoot && o(s) === !0)
1608
+ var u = t.parentElement, d = Qe(t);
1609
+ if (u && !u.shadowRoot && o(u) === !0)
1610
1610
  return tn(t);
1611
- t.assignedSlot ? t = t.assignedSlot : !s && d !== t.ownerDocument ? t = d.host : t = s;
1611
+ t.assignedSlot ? t = t.assignedSlot : !u && d !== t.ownerDocument ? t = d.host : t = u;
1612
1612
  }
1613
1613
  t = i;
1614
1614
  }
@@ -1647,10 +1647,10 @@ var kn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1647
1647
  }, Sl = function e(t) {
1648
1648
  var n = [], a = [];
1649
1649
  return t.forEach(function(o, r) {
1650
- var l = !!o.scopeParent, i = l ? o.scopeParent : o, s = cl(i, l), d = l ? e(o.candidates) : i;
1651
- s === 0 ? l ? n.push.apply(n, d) : n.push(i) : a.push({
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
1652
  documentOrder: r,
1653
- tabIndex: s,
1653
+ tabIndex: u,
1654
1654
  item: o,
1655
1655
  isScope: l,
1656
1656
  content: d
@@ -1812,22 +1812,22 @@ 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, s = function(_, S, I) {
1816
- return _ && _[S] !== void 0 ? _[S] : r[I || S];
1817
- }, d = function(_, S) {
1815
+ }, i, u = function(w, S, I) {
1816
+ return w && w[S] !== void 0 ? w[S] : r[I || S];
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) {
1820
1820
  var D = R.container, q = R.tabbableNodes;
1821
- return D.contains(_) || // fall back to explicit tabbable search which will take into consideration any
1821
+ return D.contains(w) || // fall back to explicit tabbable search which will take into consideration any
1822
1822
  // web components if the `tabbableOptions.getShadowRoot` option was used for
1823
1823
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
1824
1824
  // look inside web components even if open)
1825
1825
  (I == null ? void 0 : I.includes(D)) || q.find(function(G) {
1826
- return G === _;
1826
+ return G === w;
1827
1827
  });
1828
1828
  });
1829
- }, c = function(_) {
1830
- var S = r[_];
1829
+ }, c = function(w) {
1830
+ var S = r[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];
@@ -1836,37 +1836,37 @@ var on = {
1836
1836
  if (S === !0 && (S = void 0), !S) {
1837
1837
  if (S === void 0 || S === !1)
1838
1838
  return S;
1839
- throw new Error("`".concat(_, "` was specified but was not a node, or did not return a node"));
1839
+ throw new Error("`".concat(w, "` was specified but was not a node, or did not return a node"));
1840
1840
  }
1841
1841
  var q = S;
1842
1842
  if (typeof S == "string" && (q = a.querySelector(S), !q))
1843
- throw new Error("`".concat(_, "` as selector refers to no known node"));
1843
+ throw new Error("`".concat(w, "` as selector refers to no known node"));
1844
1844
  return q;
1845
1845
  }, f = function() {
1846
- var _ = c("initialFocus");
1847
- if (_ === !1)
1846
+ var w = c("initialFocus");
1847
+ if (w === !1)
1848
1848
  return !1;
1849
- if (_ === void 0 || !vt(_, r.tabbableOptions))
1849
+ if (w === void 0 || !vt(w, r.tabbableOptions))
1850
1850
  if (d(a.activeElement) >= 0)
1851
- _ = a.activeElement;
1851
+ w = a.activeElement;
1852
1852
  else {
1853
1853
  var S = l.tabbableGroups[0], I = S && S.firstTabbableNode;
1854
- _ = I || c("fallbackFocus");
1854
+ w = I || c("fallbackFocus");
1855
1855
  }
1856
- if (!_)
1856
+ if (!w)
1857
1857
  throw new Error("Your focus-trap needs to have at least one focusable element");
1858
- return _;
1858
+ return w;
1859
1859
  }, p = function() {
1860
- if (l.containerGroups = l.containers.map(function(_) {
1861
- var S = kl(_, r.tabbableOptions), I = xl(_, r.tabbableOptions), R = S.length > 0 ? S[0] : void 0, D = S.length > 0 ? S[S.length - 1] : void 0, q = I.find(function(X) {
1862
- return Ve(X);
1863
- }), G = I.slice().reverse().find(function(X) {
1864
- return Ve(X);
1865
- }), ne = !!S.find(function(X) {
1866
- return ke(X) > 0;
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) {
1862
+ return Ve(ee);
1863
+ }), G = I.slice().reverse().find(function(ee) {
1864
+ return Ve(ee);
1865
+ }), ne = !!S.find(function(ee) {
1866
+ return ke(ee) > 0;
1867
1867
  });
1868
1868
  return {
1869
- container: _,
1869
+ container: w,
1870
1870
  tabbableNodes: S,
1871
1871
  focusableNodes: I,
1872
1872
  /** True if at least one node with positive `tabindex` was found in this container. */
@@ -1903,33 +1903,33 @@ var on = {
1903
1903
  }) : S[pe + (Oe ? 1 : -1)];
1904
1904
  }
1905
1905
  };
1906
- }), l.tabbableGroups = l.containerGroups.filter(function(_) {
1907
- return _.tabbableNodes.length > 0;
1906
+ }), l.tabbableGroups = l.containerGroups.filter(function(w) {
1907
+ return w.tabbableNodes.length > 0;
1908
1908
  }), l.tabbableGroups.length <= 0 && !c("fallbackFocus"))
1909
1909
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
1910
- if (l.containerGroups.find(function(_) {
1911
- return _.posTabIndexesFound;
1910
+ if (l.containerGroups.find(function(w) {
1911
+ return w.posTabIndexesFound;
1912
1912
  }) && l.containerGroups.length > 1)
1913
1913
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
1914
- }, u = function H(_) {
1915
- var S = _.activeElement;
1914
+ }, s = function H(w) {
1915
+ var S = w.activeElement;
1916
1916
  if (S)
1917
1917
  return S.shadowRoot && S.shadowRoot.activeElement !== null ? H(S.shadowRoot) : S;
1918
- }, m = function H(_) {
1919
- if (_ !== !1 && _ !== u(document)) {
1920
- if (!_ || !_.focus) {
1918
+ }, m = function H(w) {
1919
+ if (w !== !1 && w !== s(document)) {
1920
+ if (!w || !w.focus) {
1921
1921
  H(f());
1922
1922
  return;
1923
1923
  }
1924
- _.focus({
1924
+ w.focus({
1925
1925
  preventScroll: !!r.preventScroll
1926
- }), l.mostRecentlyFocusedNode = _, Tl(_) && _.select();
1926
+ }), l.mostRecentlyFocusedNode = w, Tl(w) && w.select();
1927
1927
  }
1928
- }, v = function(_) {
1929
- var S = c("setReturnFocus", _);
1930
- return S || (S === !1 ? !1 : _);
1931
- }, h = function(_) {
1932
- var S = _.target, I = _.event, R = _.isBackward, D = R === void 0 ? !1 : R;
1928
+ }, v = function(w) {
1929
+ var S = c("setReturnFocus", w);
1930
+ return S || (S === !1 ? !1 : w);
1931
+ }, _ = function(w) {
1932
+ var S = w.target, I = w.event, R = w.isBackward, D = R === void 0 ? !1 : R;
1933
1933
  S = S || Ge(I), p();
1934
1934
  var q = null;
1935
1935
  if (l.tabbableGroups.length > 0) {
@@ -1937,12 +1937,12 @@ var on = {
1937
1937
  if (G < 0)
1938
1938
  D ? q = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : q = l.tabbableGroups[0].firstTabbableNode;
1939
1939
  else if (D) {
1940
- var X = rn(l.tabbableGroups, function(dt) {
1940
+ var ee = rn(l.tabbableGroups, function(dt) {
1941
1941
  var ft = dt.firstTabbableNode;
1942
1942
  return S === ft;
1943
1943
  });
1944
- if (X < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S, !1)) && (X = G), X >= 0) {
1945
- var Se = X === 0 ? l.tabbableGroups.length - 1 : X - 1, Oe = l.tabbableGroups[Se];
1944
+ if (ee < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S, !1)) && (ee = G), ee >= 0) {
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
1948
1948
  Pe(I) || (q = ne.nextTabbableNode(S, !1));
@@ -1960,10 +1960,10 @@ var on = {
1960
1960
  } else
1961
1961
  q = c("fallbackFocus");
1962
1962
  return q;
1963
- }, w = function(_) {
1964
- var S = Ge(_);
1965
- if (!(d(S, _) >= 0)) {
1966
- if (Fe(r.clickOutsideDeactivates, _)) {
1963
+ }, h = function(w) {
1964
+ var S = Ge(w);
1965
+ if (!(d(S, w) >= 0)) {
1966
+ if (Fe(r.clickOutsideDeactivates, w)) {
1967
1967
  i.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
@@ -1975,33 +1975,33 @@ var on = {
1975
1975
  });
1976
1976
  return;
1977
1977
  }
1978
- Fe(r.allowOutsideClick, _) || _.preventDefault();
1978
+ Fe(r.allowOutsideClick, w) || w.preventDefault();
1979
1979
  }
1980
- }, A = function(_) {
1981
- var S = Ge(_), I = d(S, _) >= 0;
1980
+ }, E = function(w) {
1981
+ var S = Ge(w), I = d(S, w) >= 0;
1982
1982
  if (I || S instanceof Document)
1983
1983
  I && (l.mostRecentlyFocusedNode = S);
1984
1984
  else {
1985
- _.stopImmediatePropagation();
1985
+ w.stopImmediatePropagation();
1986
1986
  var R, D = !0;
1987
1987
  if (l.mostRecentlyFocusedNode)
1988
1988
  if (ke(l.mostRecentlyFocusedNode) > 0) {
1989
1989
  var q = d(l.mostRecentlyFocusedNode), G = l.containerGroups[q].tabbableNodes;
1990
1990
  if (G.length > 0) {
1991
- var ne = G.findIndex(function(X) {
1992
- return X === l.mostRecentlyFocusedNode;
1991
+ var ne = G.findIndex(function(ee) {
1992
+ return ee === l.mostRecentlyFocusedNode;
1993
1993
  });
1994
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));
1995
1995
  }
1996
1996
  } else
1997
- l.containerGroups.some(function(X) {
1998
- return X.tabbableNodes.some(function(Se) {
1997
+ l.containerGroups.some(function(ee) {
1998
+ return ee.tabbableNodes.some(function(Se) {
1999
1999
  return ke(Se) > 0;
2000
2000
  });
2001
2001
  }) || (D = !1);
2002
2002
  else
2003
2003
  D = !1;
2004
- D && (R = h({
2004
+ D && (R = _({
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,
@@ -2009,45 +2009,45 @@ var on = {
2009
2009
  })), m(R || l.mostRecentlyFocusedNode || f());
2010
2010
  }
2011
2011
  l.recentNavEvent = void 0;
2012
- }, P = function(_) {
2012
+ }, N = function(w) {
2013
2013
  var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2014
- l.recentNavEvent = _;
2015
- var I = h({
2016
- event: _,
2014
+ l.recentNavEvent = w;
2015
+ var I = _({
2016
+ event: w,
2017
2017
  isBackward: S
2018
2018
  });
2019
- I && (Pe(_) && _.preventDefault(), m(I));
2020
- }, F = function(_) {
2021
- if (Il(_) && Fe(r.escapeDeactivates, _) !== !1) {
2022
- _.preventDefault(), i.deactivate();
2019
+ I && (Pe(w) && w.preventDefault(), m(I));
2020
+ }, P = function(w) {
2021
+ if (Il(w) && Fe(r.escapeDeactivates, w) !== !1) {
2022
+ w.preventDefault(), i.deactivate();
2023
2023
  return;
2024
2024
  }
2025
- (r.isKeyForward(_) || r.isKeyBackward(_)) && P(_, r.isKeyBackward(_));
2026
- }, j = function(_) {
2027
- var S = Ge(_);
2028
- d(S, _) >= 0 || Fe(r.clickOutsideDeactivates, _) || Fe(r.allowOutsideClick, _) || (_.preventDefault(), _.stopImmediatePropagation());
2029
- }, N = function() {
2025
+ (r.isKeyForward(w) || r.isKeyBackward(w)) && N(w, r.isKeyBackward(w));
2026
+ }, j = function(w) {
2027
+ var S = Ge(w);
2028
+ d(S, w) >= 0 || Fe(r.clickOutsideDeactivates, w) || Fe(r.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
2029
+ }, O = function() {
2030
2030
  if (l.active)
2031
2031
  return on.activateTrap(o, i), l.delayInitialFocusTimer = r.delayInitialFocus ? ln(function() {
2032
2032
  m(f());
2033
- }) : m(f()), a.addEventListener("focusin", A, !0), a.addEventListener("mousedown", w, {
2033
+ }) : m(f()), a.addEventListener("focusin", E, !0), a.addEventListener("mousedown", h, {
2034
2034
  capture: !0,
2035
2035
  passive: !1
2036
- }), a.addEventListener("touchstart", w, {
2036
+ }), a.addEventListener("touchstart", h, {
2037
2037
  capture: !0,
2038
2038
  passive: !1
2039
2039
  }), a.addEventListener("click", j, {
2040
2040
  capture: !0,
2041
2041
  passive: !1
2042
- }), a.addEventListener("keydown", F, {
2042
+ }), a.addEventListener("keydown", P, {
2043
2043
  capture: !0,
2044
2044
  passive: !1
2045
2045
  }), i;
2046
- }, O = function() {
2046
+ }, J = function() {
2047
2047
  if (l.active)
2048
- return a.removeEventListener("focusin", A, !0), a.removeEventListener("mousedown", w, !0), a.removeEventListener("touchstart", w, !0), a.removeEventListener("click", j, !0), a.removeEventListener("keydown", F, !0), i;
2049
- }, re = function(_) {
2050
- var S = _.some(function(I) {
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) {
2050
+ var S = w.some(function(I) {
2051
2051
  var R = Array.from(I.removedNodes);
2052
2052
  return R.some(function(D) {
2053
2053
  return D === l.mostRecentlyFocusedNode;
@@ -2055,8 +2055,8 @@ var on = {
2055
2055
  });
2056
2056
  S && m(f());
2057
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(_) {
2059
- ie.observe(_, {
2058
+ ie && (ie.disconnect(), l.active && !l.paused && l.containers.map(function(w) {
2059
+ ie.observe(w, {
2060
2060
  subtree: !0,
2061
2061
  childList: !0
2062
2062
  });
@@ -2069,26 +2069,26 @@ var on = {
2069
2069
  get paused() {
2070
2070
  return l.paused;
2071
2071
  },
2072
- activate: function(_) {
2072
+ activate: function(w) {
2073
2073
  if (l.active)
2074
2074
  return this;
2075
- var S = s(_, "onActivate"), I = s(_, "onPostActivate"), R = s(_, "checkCanFocusTrap");
2075
+ var S = u(w, "onActivate"), I = u(w, "onPostActivate"), R = u(w, "checkCanFocusTrap");
2076
2076
  R || p(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = a.activeElement, S == null || S();
2077
2077
  var D = function() {
2078
- R && p(), N(), ue(), I == null || I();
2078
+ R && p(), O(), ue(), I == null || I();
2079
2079
  };
2080
2080
  return R ? (R(l.containers.concat()).then(D, D), this) : (D(), this);
2081
2081
  },
2082
- deactivate: function(_) {
2082
+ deactivate: function(w) {
2083
2083
  if (!l.active)
2084
2084
  return this;
2085
2085
  var S = an({
2086
2086
  onDeactivate: r.onDeactivate,
2087
2087
  onPostDeactivate: r.onPostDeactivate,
2088
2088
  checkCanReturnFocus: r.checkCanReturnFocus
2089
- }, _);
2090
- clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, O(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, i);
2091
- var I = s(S, "onDeactivate"), R = s(S, "onPostDeactivate"), D = s(S, "checkCanReturnFocus"), q = s(S, "returnFocus", "returnFocusOnDeactivate");
2089
+ }, w);
2090
+ clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, i);
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() {
2094
2094
  ln(function() {
@@ -2097,20 +2097,20 @@ var on = {
2097
2097
  };
2098
2098
  return q && D ? (D(v(l.nodeFocusedBeforeActivation)).then(G, G), this) : (G(), this);
2099
2099
  },
2100
- pause: function(_) {
2100
+ pause: function(w) {
2101
2101
  if (l.paused || !l.active)
2102
2102
  return this;
2103
- var S = s(_, "onPause"), I = s(_, "onPostPause");
2104
- return l.paused = !0, S == null || S(), O(), ue(), I == null || I(), this;
2103
+ var S = u(w, "onPause"), I = u(w, "onPostPause");
2104
+ return l.paused = !0, S == null || S(), J(), ue(), I == null || I(), this;
2105
2105
  },
2106
- unpause: function(_) {
2106
+ unpause: function(w) {
2107
2107
  if (!l.paused || !l.active)
2108
2108
  return this;
2109
- var S = s(_, "onUnpause"), I = s(_, "onPostUnpause");
2110
- return l.paused = !1, S == null || S(), p(), N(), ue(), I == null || I(), this;
2109
+ var S = u(w, "onUnpause"), I = u(w, "onPostUnpause");
2110
+ return l.paused = !1, S == null || S(), p(), O(), ue(), I == null || I(), this;
2111
2111
  },
2112
- updateContainerElements: function(_) {
2113
- var S = [].concat(_).filter(Boolean);
2112
+ updateContainerElements: function(w) {
2113
+ var S = [].concat(w).filter(Boolean);
2114
2114
  return l.containers = S.map(function(I) {
2115
2115
  return typeof I == "string" ? a.querySelector(I) : I;
2116
2116
  }), l.active && p(), ue(), this;
@@ -2119,12 +2119,12 @@ var on = {
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), s = (f) => n && n.deactivate(f), d = () => {
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 = () => {
2123
2123
  n && (n.pause(), l.value = !0);
2124
2124
  }, c = () => {
2125
2125
  n && (n.unpause(), l.value = !1);
2126
2126
  };
2127
- return ee(
2127
+ return Q(
2128
2128
  () => sl(e),
2129
2129
  (f) => {
2130
2130
  f && (n = Al(f, {
@@ -2138,11 +2138,11 @@ function Tn(e, t = {}) {
2138
2138
  }), a && i());
2139
2139
  },
2140
2140
  { flush: "post" }
2141
- ), rl(() => s()), {
2141
+ ), rl(() => u()), {
2142
2142
  hasFocus: r,
2143
2143
  isPaused: l,
2144
2144
  activate: i,
2145
- deactivate: s,
2145
+ deactivate: u,
2146
2146
  pause: d,
2147
2147
  unpause: c
2148
2148
  };
@@ -2227,42 +2227,42 @@ 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 = Q(), l = C(!1), i = C(), s = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
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(() => {
2231
2231
  if (l.value)
2232
2232
  return c;
2233
2233
  }), p = V(() => {
2234
- const j = r["dialog-cancel"] || r["dialog-confirm"], N = a.cancelText || a.confirmText;
2235
- return !!j || !!N;
2234
+ const j = r["dialog-cancel"] || r["dialog-confirm"], O = a.cancelText || a.confirmText;
2235
+ return !!j || !!O;
2236
2236
  }), m = V(() => a.id || o).value + "-header";
2237
2237
  function v() {
2238
- !a.patternConfirm && h();
2238
+ !a.patternConfirm && _();
2239
2239
  }
2240
- async function h(j = { fireHideEvent: !0 }) {
2241
- d.deactivate(), s.value = !1, await Re(), me(!1), j.fireHideEvent && n("dialog:hide");
2240
+ async function _(j = { fireHideEvent: !0 }) {
2241
+ d.deactivate(), u.value = !1, await Re(), me(!1), j.fireHideEvent && n("dialog:hide");
2242
2242
  }
2243
- async function w() {
2244
- s.value = !0, await Re(), a.focusTrap && d.activate(), a.preventBodyScroll && me(!0);
2243
+ async function h() {
2244
+ u.value = !0, await Re(), a.focusTrap && d.activate(), a.preventBodyScroll && me(!0);
2245
2245
  }
2246
- function A() {
2246
+ function E() {
2247
2247
  n("dialog:open");
2248
2248
  }
2249
- function P() {
2249
+ function N() {
2250
2250
  n("dialog:after-open");
2251
2251
  }
2252
- function F() {
2252
+ function P() {
2253
2253
  n("dialog:after-hide");
2254
2254
  }
2255
2255
  return le(async () => {
2256
2256
  l.value = !0;
2257
2257
  }), Ne(() => {
2258
- s.value === !0 && (n("dialog:before-unmount"), me(!1));
2258
+ u.value === !0 && (n("dialog:before-unmount"), me(!1));
2259
2259
  }), t({
2260
2260
  focusTrapReturn: d,
2261
2261
  hasFooterSlots: p,
2262
- hide: h,
2263
- isOpen: s,
2264
- show: w
2265
- }), (j, N) => l.value ? (y(), E(rt, {
2262
+ hide: _,
2263
+ isOpen: u,
2264
+ show: h
2265
+ }), (j, O) => l.value ? (y(), B(rt, {
2266
2266
  key: 0,
2267
2267
  to: e.teleport
2268
2268
  }, [
@@ -2270,18 +2270,18 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2270
2270
  duration: { enter: 300, leave: 100 },
2271
2271
  name: "dialog",
2272
2272
  appear: "",
2273
- onEnter: A,
2274
- onAfterEnter: P,
2275
- onAfterLeave: F
2273
+ onEnter: E,
2274
+ onAfterEnter: N,
2275
+ onAfterLeave: P
2276
2276
  }, {
2277
2277
  default: M(() => [
2278
- s.value ? (y(), g("div", te({ key: 0 }, f.value, {
2278
+ u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2279
2279
  id: e.id || o,
2280
2280
  ref_key: "dialogRef",
2281
2281
  ref: i,
2282
2282
  role: "dialog",
2283
2283
  "aria-modal": "true",
2284
- class: ["joy-dialog", `joy-dialog--${e.size}`, { "joy-dialog--open": s.value }],
2284
+ class: ["joy-dialog", `joy-dialog--${e.size}`, { "joy-dialog--open": u.value }],
2285
2285
  "aria-labelledby": m,
2286
2286
  onKeydown: Ct(v, ["esc"])
2287
2287
  }), [
@@ -2289,7 +2289,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2289
2289
  class: $([
2290
2290
  {
2291
2291
  "joy-dialog__overlay": !0,
2292
- "joy-dialog__overlay--open": s.value,
2292
+ "joy-dialog__overlay--open": u.value,
2293
2293
  "joy-dialog__overlay___disabled": e.patternConfirm
2294
2294
  }
2295
2295
  ]),
@@ -2299,7 +2299,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2299
2299
  class: $([
2300
2300
  {
2301
2301
  "joy-dialog--wrapper": !0,
2302
- "joy-dialog--wrapper-open": s.value
2302
+ "joy-dialog--wrapper-open": u.value
2303
2303
  }
2304
2304
  ])
2305
2305
  }, [
@@ -2323,7 +2323,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2323
2323
  b("p", Fl, [
2324
2324
  k(j.$slots, "dialog-subheader", {}, void 0, !0)
2325
2325
  ]),
2326
- e.patternConfirm ? x("", !0) : (y(), E(T(de), {
2326
+ e.patternConfirm ? x("", !0) : (y(), B(T(de), {
2327
2327
  key: 0,
2328
2328
  id: "joy-dialog--close",
2329
2329
  circle: "",
@@ -2333,7 +2333,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2333
2333
  name: "cross",
2334
2334
  label: e.closeLabel,
2335
2335
  class: "joy-dialog--close",
2336
- onClick: N[0] || (N[0] = (O) => h())
2336
+ onClick: O[0] || (O[0] = (J) => _())
2337
2337
  }, null, 8, ["label"]))
2338
2338
  ]),
2339
2339
  b("div", Pl, [
@@ -2353,29 +2353,29 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2353
2353
  }, {
2354
2354
  default: M(() => [
2355
2355
  k(j.$slots, "dialog-cancel", {}, () => [
2356
- e.cancelText ? (y(), E(T(de), {
2356
+ e.cancelText ? (y(), B(T(de), {
2357
2357
  key: 0,
2358
2358
  class: "joy-dialog--cancel",
2359
2359
  variant: "ghost",
2360
2360
  size: e.buttonSize,
2361
- onClick: N[1] || (N[1] = (O) => h())
2361
+ onClick: O[1] || (O[1] = (J) => _())
2362
2362
  }, {
2363
2363
  default: M(() => [
2364
- z(J(e.cancelText), 1)
2364
+ z(F(e.cancelText), 1)
2365
2365
  ]),
2366
2366
  _: 1
2367
2367
  }, 8, ["size"])) : x("", !0)
2368
2368
  ], !0),
2369
2369
  k(j.$slots, "dialog-confirm", {}, () => [
2370
- e.confirmText ? (y(), E(T(de), {
2370
+ e.confirmText ? (y(), B(T(de), {
2371
2371
  key: 0,
2372
2372
  class: "joy-dialog--confirm",
2373
2373
  variant: "main",
2374
2374
  size: e.buttonSize,
2375
- onClick: N[2] || (N[2] = (O) => n("dialog:confirm"))
2375
+ onClick: O[2] || (O[2] = (J) => n("dialog:confirm"))
2376
2376
  }, {
2377
2377
  default: M(() => [
2378
- z(J(e.confirmText), 1)
2378
+ z(F(e.confirmText), 1)
2379
2379
  ]),
2380
2380
  _: 1
2381
2381
  }, 8, ["size"])) : x("", !0)
@@ -2396,19 +2396,19 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2396
2396
  ], 8, ["to"])) : x("", !0);
2397
2397
  }
2398
2398
  });
2399
- const Ml = /* @__PURE__ */ B(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @__PURE__ */ L({
2399
+ const Ml = /* @__PURE__ */ A(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @__PURE__ */ L({
2400
2400
  __name: "VJoyDialogTrigger",
2401
2401
  props: {
2402
2402
  dialog: {}
2403
2403
  },
2404
2404
  emits: ["click"],
2405
2405
  setup(e, { emit: t }) {
2406
- const n = e, a = V(() => n.dialog), o = Q(), r = V(() => o.default());
2406
+ const n = e, a = V(() => n.dialog), o = X(), r = V(() => o.default());
2407
2407
  async function l() {
2408
2408
  var i;
2409
2409
  t("click"), await ((i = a.value) == null ? void 0 : i.show());
2410
2410
  }
2411
- return (i, s) => (y(!0), g(K, null, Y(r.value, (d) => (y(), E(oe(d), {
2411
+ return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
2412
2412
  key: d,
2413
2413
  onClick: l
2414
2414
  }))), 128));
@@ -2439,7 +2439,7 @@ const Ml = /* @__PURE__ */ B(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @_
2439
2439
  ], 10, ql));
2440
2440
  }
2441
2441
  });
2442
- const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"], Zl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, Xl = {
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
2445
  }, er = {
@@ -2505,39 +2505,39 @@ const Kl = /* @__PURE__ */ B(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 = Q(), l = C(!1), i = C(), s = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
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(() => {
2509
2509
  if (l.value)
2510
2510
  return c;
2511
2511
  }), p = V(() => {
2512
- const F = r["drawer-cancel"] || r["drawer-confirm"], j = a.cancelText || a.confirmText;
2513
- return !!F || !!j;
2514
- }), u = V(() => a.id || o), m = u.value + "-header";
2515
- async function v(F = { fireHideEvent: !0 }) {
2516
- d.deactivate(), s.value = !1, await Re(), me(!1), F.fireHideEvent && n("drawer:hide");
2512
+ const P = r["drawer-cancel"] || r["drawer-confirm"], j = a.cancelText || a.confirmText;
2513
+ return !!P || !!j;
2514
+ }), s = V(() => a.id || o), m = s.value + "-header";
2515
+ async function v(P = { fireHideEvent: !0 }) {
2516
+ d.deactivate(), u.value = !1, await Re(), me(!1), P.fireHideEvent && n("drawer:hide");
2517
2517
  }
2518
- async function h() {
2519
- s.value = !0, await Re(), a.focusTrap && !a.elevated && d.activate(), !a.elevated && a.preventBodyScroll && me(!0);
2518
+ async function _() {
2519
+ u.value = !0, await Re(), a.focusTrap && !a.elevated && d.activate(), !a.elevated && a.preventBodyScroll && me(!0);
2520
2520
  }
2521
- function w() {
2521
+ function h() {
2522
2522
  n("drawer:open");
2523
2523
  }
2524
- function A() {
2524
+ function E() {
2525
2525
  n("drawer:after-open");
2526
2526
  }
2527
- function P() {
2527
+ function N() {
2528
2528
  n("drawer:after-hide");
2529
2529
  }
2530
2530
  return le(() => {
2531
2531
  l.value = !0;
2532
2532
  }), Ne(() => {
2533
- s.value === !0 && (n("drawer:before-unmount"), me(!1));
2533
+ u.value === !0 && (n("drawer:before-unmount"), me(!1));
2534
2534
  }), t({
2535
2535
  focusTrapReturn: d,
2536
2536
  hasFooterSlots: p,
2537
2537
  hide: v,
2538
- isOpen: s,
2539
- show: h
2540
- }), (F, j) => l.value ? (y(), E(rt, {
2538
+ isOpen: u,
2539
+ show: _
2540
+ }), (P, j) => l.value ? (y(), B(rt, {
2541
2541
  key: 0,
2542
2542
  to: e.teleport
2543
2543
  }, [
@@ -2545,13 +2545,13 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2545
2545
  duration: { enter: 300, leave: 100 },
2546
2546
  name: "drawer",
2547
2547
  appear: "",
2548
- onEnter: w,
2549
- onAfterEnter: A,
2550
- onAfterLeave: P
2548
+ onEnter: h,
2549
+ onAfterEnter: E,
2550
+ onAfterLeave: N
2551
2551
  }, {
2552
2552
  default: M(() => [
2553
- s.value ? (y(), g("div", te({ key: 0 }, f.value, {
2554
- id: u.value,
2553
+ u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2554
+ id: s.value,
2555
2555
  ref_key: "drawerRef",
2556
2556
  ref: i,
2557
2557
  role: "dialog",
@@ -2560,28 +2560,28 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2560
2560
  "joy-drawer",
2561
2561
  `joy-drawer--${e.size}`,
2562
2562
  {
2563
- "joy-drawer--open": s.value,
2563
+ "joy-drawer--open": u.value,
2564
2564
  "joy-drawer--elevated": e.elevated
2565
2565
  }
2566
2566
  ],
2567
2567
  "aria-labelledby": m,
2568
- onKeydown: j[4] || (j[4] = Ct((N) => v(), ["esc"]))
2568
+ onKeydown: j[4] || (j[4] = Ct((O) => v(), ["esc"]))
2569
2569
  }), [
2570
2570
  e.elevated ? x("", !0) : (y(), g("div", {
2571
2571
  key: 0,
2572
2572
  class: $([
2573
2573
  {
2574
2574
  "joy-drawer__overlay": !0,
2575
- "joy-drawer__overlay--open": s.value
2575
+ "joy-drawer__overlay--open": u.value
2576
2576
  }
2577
2577
  ]),
2578
- onClick: j[0] || (j[0] = (N) => v())
2578
+ onClick: j[0] || (j[0] = (O) => v())
2579
2579
  }, null, 2)),
2580
2580
  b("div", {
2581
2581
  class: $([
2582
2582
  {
2583
2583
  "joy-drawer--wrapper": !0,
2584
- "joy-drawer--wrapper-open": s.value
2584
+ "joy-drawer--wrapper-open": u.value
2585
2585
  }
2586
2586
  ])
2587
2587
  }, [
@@ -2591,10 +2591,10 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2591
2591
  id: m,
2592
2592
  class: "joy-drawer--header__title"
2593
2593
  }, [
2594
- k(F.$slots, "drawer-header", {}, void 0, !0)
2594
+ k(P.$slots, "drawer-header", {}, void 0, !0)
2595
2595
  ]),
2596
2596
  b("p", Xl, [
2597
- k(F.$slots, "drawer-subheader", {}, void 0, !0)
2597
+ k(P.$slots, "drawer-subheader", {}, void 0, !0)
2598
2598
  ]),
2599
2599
  U(T(de), {
2600
2600
  id: "joy-drawer--close",
@@ -2605,11 +2605,11 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2605
2605
  name: "cross",
2606
2606
  label: e.closeLabel,
2607
2607
  class: "joy-drawer--close",
2608
- onClick: j[1] || (j[1] = (N) => v())
2608
+ onClick: j[1] || (j[1] = (O) => v())
2609
2609
  }, null, 8, ["label"])
2610
2610
  ]),
2611
2611
  b("div", er, [
2612
- k(F.$slots, "drawer-body", {}, void 0, !0)
2612
+ k(P.$slots, "drawer-body", {}, void 0, !0)
2613
2613
  ]),
2614
2614
  b("div", {
2615
2615
  class: $([
@@ -2624,30 +2624,30 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2624
2624
  "no-margin": ""
2625
2625
  }, {
2626
2626
  default: M(() => [
2627
- k(F.$slots, "drawer-cancel", {}, () => [
2628
- e.cancelText ? (y(), E(T(de), {
2627
+ k(P.$slots, "drawer-cancel", {}, () => [
2628
+ e.cancelText ? (y(), B(T(de), {
2629
2629
  key: 0,
2630
2630
  class: "joy-drawer--cancel",
2631
2631
  variant: "ghost",
2632
2632
  size: e.buttonSize,
2633
- onClick: j[2] || (j[2] = (N) => v())
2633
+ onClick: j[2] || (j[2] = (O) => v())
2634
2634
  }, {
2635
2635
  default: M(() => [
2636
- z(J(e.cancelText), 1)
2636
+ z(F(e.cancelText), 1)
2637
2637
  ]),
2638
2638
  _: 1
2639
2639
  }, 8, ["size"])) : x("", !0)
2640
2640
  ], !0),
2641
- k(F.$slots, "drawer-confirm", {}, () => [
2642
- e.confirmText ? (y(), E(T(de), {
2641
+ k(P.$slots, "drawer-confirm", {}, () => [
2642
+ e.confirmText ? (y(), B(T(de), {
2643
2643
  key: 0,
2644
2644
  class: "joy-drawer--confirm",
2645
2645
  variant: "main",
2646
2646
  size: e.buttonSize,
2647
- onClick: j[3] || (j[3] = (N) => n("drawer:confirm"))
2647
+ onClick: j[3] || (j[3] = (O) => n("drawer:confirm"))
2648
2648
  }, {
2649
2649
  default: M(() => [
2650
- z(J(e.confirmText), 1)
2650
+ z(F(e.confirmText), 1)
2651
2651
  ]),
2652
2652
  _: 1
2653
2653
  }, 8, ["size"])) : x("", !0)
@@ -2657,7 +2657,7 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2657
2657
  })
2658
2658
  ], 2),
2659
2659
  T(r)["drawer-indicators"] ? (y(), g("div", tr, [
2660
- k(F.$slots, "drawer-indicators", {}, void 0, !0)
2660
+ k(P.$slots, "drawer-indicators", {}, void 0, !0)
2661
2661
  ])) : x("", !0)
2662
2662
  ])
2663
2663
  ], 2)
@@ -2668,19 +2668,19 @@ const Kl = /* @__PURE__ */ B(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2668
2668
  ], 8, ["to"])) : x("", !0);
2669
2669
  }
2670
2670
  });
2671
- const ar = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2671
+ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2672
2672
  __name: "VJoyDrawerTrigger",
2673
2673
  props: {
2674
2674
  drawer: {}
2675
2675
  },
2676
2676
  emits: ["click"],
2677
2677
  setup(e, { emit: t }) {
2678
- const n = e, a = V(() => n.drawer), o = Q(), r = V(() => o.default());
2678
+ const n = e, a = V(() => n.drawer), o = X(), r = V(() => o.default());
2679
2679
  async function l() {
2680
2680
  var i;
2681
2681
  t("click"), await ((i = a.value) == null ? void 0 : i.show());
2682
2682
  }
2683
- return (i, s) => (y(!0), g(K, null, Y(r.value, (d) => (y(), E(oe(d), {
2683
+ return (i, u) => (y(!0), g(K, null, Y(r.value, (d) => (y(), B(oe(d), {
2684
2684
  key: d,
2685
2685
  onClick: l
2686
2686
  }))), 128));
@@ -2738,27 +2738,27 @@ const ar = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2738
2738
  },
2739
2739
  emits: ["update:modelValue", "close:dropdownList", "reset"],
2740
2740
  setup(e, { expose: t, emit: n }) {
2741
- const a = e, o = C(), r = V(() => (u) => !a.modelValue || !u.value && !u.id ? !1 : a.modelValue === u.value || a.modelValue === u.id);
2742
- function l(u) {
2743
- u.disabled || n("update:modelValue", u.value || u.id);
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
+ function l(s) {
2743
+ s.disabled || n("update:modelValue", s.value || s.id);
2744
2744
  }
2745
2745
  function i() {
2746
- var u;
2747
- return Array.from(((u = o.value) == null ? void 0 : u.querySelectorAll("li")) || []);
2746
+ var s;
2747
+ return Array.from(((s = o.value) == null ? void 0 : s.querySelectorAll("li")) || []);
2748
2748
  }
2749
- function s() {
2750
- const u = i().find((m) => m.getAttribute("aria-selected") === "true");
2751
- u && (u.focus(), o.value.scrollTo({
2752
- top: u.offsetTop
2749
+ function u() {
2750
+ const s = i().find((m) => m.getAttribute("aria-selected") === "true");
2751
+ s && (s.focus(), o.value.scrollTo({
2752
+ top: s.offsetTop
2753
2753
  }));
2754
2754
  }
2755
2755
  function d() {
2756
- return i().find((u) => u === document.activeElement);
2756
+ return i().find((s) => s === document.activeElement);
2757
2757
  }
2758
- function c(u) {
2758
+ function c(s) {
2759
2759
  var m;
2760
2760
  if (!(o.value && !o.value.contains(document.activeElement) || !o.value)) {
2761
- if ((u.key === "Escape" || u.key === "Tab") && n("close:dropdownList"), (u.key === "Enter" || u.key === "enter") && (u.preventDefault(), d() && ((m = o.value) != null && m.contains(d())))) {
2761
+ if ((s.key === "Escape" || s.key === "Tab") && n("close:dropdownList"), (s.key === "Enter" || s.key === "enter") && (s.preventDefault(), d() && ((m = o.value) != null && m.contains(d())))) {
2762
2762
  const v = d();
2763
2763
  if (!v)
2764
2764
  return;
@@ -2766,47 +2766,47 @@ const ar = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2766
2766
  return v.querySelector("a").click();
2767
2767
  n("update:modelValue", v.dataModel);
2768
2768
  }
2769
- if (d() && u.key === " " && u.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(u.key)) {
2770
- const v = i(), h = d();
2771
- let w = v.indexOf(h);
2769
+ if (d() && s.key === " " && s.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key)) {
2770
+ const v = i(), _ = d();
2771
+ let h = v.indexOf(_);
2772
2772
  if (v.length) {
2773
- u.preventDefault(), u.key === "ArrowDown" ? w++ : u.key === "ArrowUp" ? w-- : u.key === "Home" ? w = 0 : u.key === "End" && (w = v.length - 1), w < 0 && (w = v.length - 1), w > v.length - 1 && (w = 0), f(v[w]);
2773
+ s.preventDefault(), s.key === "ArrowDown" ? h++ : s.key === "ArrowUp" ? h-- : s.key === "Home" ? h = 0 : s.key === "End" && (h = v.length - 1), h < 0 && (h = v.length - 1), h > v.length - 1 && (h = 0), f(v[h]);
2774
2774
  return;
2775
2775
  }
2776
2776
  }
2777
2777
  }
2778
2778
  }
2779
- function f(u) {
2780
- u.focus();
2779
+ function f(s) {
2780
+ s.focus();
2781
2781
  }
2782
2782
  function p() {
2783
2783
  n("reset");
2784
2784
  }
2785
2785
  return le(() => {
2786
- window.addEventListener("keydown", c), s();
2786
+ window.addEventListener("keydown", c), u();
2787
2787
  }), Ne(() => {
2788
2788
  window.removeEventListener("keydown", c);
2789
2789
  }), t({
2790
2790
  isSelected: r
2791
- }), (u, m) => (y(), g("div", {
2791
+ }), (s, m) => (y(), g("div", {
2792
2792
  class: "joy-dropdown-list",
2793
2793
  style: ce({ width: `${e.width}px`, "max-width": `${e.width}px` })
2794
2794
  }, [
2795
- u.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", lr, [
2795
+ s.$slots["dropdown-list-header"] || e.reset ? (y(), g("header", lr, [
2796
2796
  e.reset ? (y(), g("button", {
2797
2797
  key: 0,
2798
2798
  type: "button",
2799
2799
  class: "joy-dropdown-list__reset",
2800
2800
  onClick: p
2801
- }, J(e.resetLabel || "Reset"), 1)) : x("", !0),
2802
- k(u.$slots, "dropdown-list-header", {}, void 0, !0)
2801
+ }, F(e.resetLabel || "Reset"), 1)) : x("", !0),
2802
+ k(s.$slots, "dropdown-list-header", {}, void 0, !0)
2803
2803
  ])) : x("", !0),
2804
2804
  b("div", {
2805
2805
  tabindex: "0",
2806
- class: $(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": u.$slots["dropdown-list-items"] }]),
2806
+ class: $(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": s.$slots["dropdown-list-items"] }]),
2807
2807
  style: ce({ "max-height": `${e.height}px` })
2808
2808
  }, [
2809
- k(u.$slots, "dropdown-list-items", {}, void 0, !0),
2809
+ k(s.$slots, "dropdown-list-items", {}, void 0, !0),
2810
2810
  e.options.length ? (y(), g("ul", {
2811
2811
  key: 0,
2812
2812
  ref_key: "listbox",
@@ -2835,21 +2835,21 @@ const ar = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2835
2835
  "aria-label": v.label,
2836
2836
  ".dataModel": v.value || v.id,
2837
2837
  role: "option",
2838
- onClick: (h) => l(v)
2838
+ onClick: (_) => l(v)
2839
2839
  }, [
2840
- k(u.$slots, "label", ze(qe(v)), () => [
2841
- b("span", null, J(v.label), 1)
2840
+ k(s.$slots, "label", ze(qe(v)), () => [
2841
+ b("span", null, F(v.label), 1)
2842
2842
  ], !0)
2843
2843
  ], 14, ir))), 128))
2844
2844
  ], 8, rr)) : x("", !0)
2845
2845
  ], 6),
2846
- u.$slots["dropdown-list-footer"] ? (y(), g("footer", sr, [
2847
- k(u.$slots, "dropdown-list-footer", {}, void 0, !0)
2846
+ s.$slots["dropdown-list-footer"] ? (y(), g("footer", sr, [
2847
+ k(s.$slots, "dropdown-list-footer", {}, void 0, !0)
2848
2848
  ])) : x("", !0)
2849
2849
  ], 4));
2850
2850
  }
2851
2851
  });
2852
- const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2852
+ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2853
2853
  __name: "VJoyDropdown",
2854
2854
  props: {
2855
2855
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -2940,20 +2940,20 @@ const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2940
2940
  },
2941
2941
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2942
2942
  setup(e, { expose: t, emit: n }) {
2943
- const a = e, o = C(!1), r = C(null), l = C(), i = C(null), s = C(null), d = C(!1), c = "joy-dropdown--" + _e();
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
2944
  jt("VJoyDropdownContext", a);
2945
2945
  const f = {
2946
2946
  ignore: [l, ".joy-dropdown__list"]
2947
2947
  };
2948
2948
  let p = null;
2949
- ee(
2949
+ Q(
2950
2950
  () => o.value,
2951
2951
  (j) => {
2952
2952
  j && Ga(i);
2953
2953
  },
2954
2954
  { flush: "post" }
2955
2955
  );
2956
- const u = V(() => {
2956
+ const s = V(() => {
2957
2957
  let j = `${a.dropdownGap}px`;
2958
2958
  return a.direction === "up" && (j = "-" + j), {
2959
2959
  marginTop: j
@@ -2965,29 +2965,29 @@ const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2965
2965
  }, 300);
2966
2966
  }
2967
2967
  function v(j) {
2968
- j.stopPropagation(), d.value = !1, p && clearTimeout(p), s.value = j.target, o.value = !0, n("dropdown:open");
2968
+ j.stopPropagation(), d.value = !1, p && clearTimeout(p), u.value = j.target, o.value = !0, n("dropdown:open");
2969
2969
  }
2970
- function h() {
2971
- m(), w();
2970
+ function _() {
2971
+ m(), h();
2972
2972
  }
2973
- function w() {
2974
- s.value && s.value.focus();
2973
+ function h() {
2974
+ u.value && u.value.focus();
2975
2975
  }
2976
- function A(j) {
2977
- n("update:modelValue", j), a.closeOnSelect && (m(), w());
2976
+ function E(j) {
2977
+ n("update:modelValue", j), a.closeOnSelect && (m(), h());
2978
2978
  }
2979
- function P() {
2979
+ function N() {
2980
2980
  n("dropdown:reset");
2981
2981
  }
2982
- function F() {
2982
+ function P() {
2983
2983
  !l.value || !l.value.children.length || (l.value.children[0].id = c);
2984
2984
  }
2985
2985
  return Yo(m), le(() => {
2986
- F();
2986
+ P();
2987
2987
  }), t({
2988
2988
  showDropdownList: o,
2989
2989
  generatedId: c
2990
- }), (j, N) => (y(), E(T(Lt), {
2990
+ }), (j, O) => (y(), B(T(Lt), {
2991
2991
  ref_key: "dropdown",
2992
2992
  ref: r,
2993
2993
  options: f,
@@ -3017,7 +3017,7 @@ const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3017
3017
  "joy-dropdown__list--hiding": d.value
3018
3018
  }
3019
3019
  ]),
3020
- style: ce(u.value)
3020
+ style: ce(s.value)
3021
3021
  }, [
3022
3022
  U(Ln, {
3023
3023
  "model-value": e.modelValue,
@@ -3028,13 +3028,13 @@ const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3028
3028
  reset: e.reset,
3029
3029
  "reset-label": e.resetLabel,
3030
3030
  "aria-labelled-by": c,
3031
- "onUpdate:modelValue": A,
3032
- "onClose:dropdownList": h,
3033
- onReset: P
3031
+ "onUpdate:modelValue": E,
3032
+ "onClose:dropdownList": _,
3033
+ onReset: N
3034
3034
  }, pn({
3035
- label: M((O) => [
3036
- k(j.$slots, "dropdown-item", ze(qe(O)), () => [
3037
- b("span", null, J(O.label), 1)
3035
+ label: M((J) => [
3036
+ k(j.$slots, "dropdown-item", ze(qe(J)), () => [
3037
+ b("span", null, F(J.label), 1)
3038
3038
  ], !0)
3039
3039
  ]),
3040
3040
  _: 2
@@ -3067,7 +3067,7 @@ const Ln = /* @__PURE__ */ B(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3067
3067
  }, 512));
3068
3068
  }
3069
3069
  });
3070
- const dr = /* @__PURE__ */ B(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3070
+ const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3071
3071
  __name: "VJoyFilterBar",
3072
3072
  props: {
3073
3073
  ariaLabel: String
@@ -3084,7 +3084,7 @@ const dr = /* @__PURE__ */ B(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["ari
3084
3084
  ], 8, fr));
3085
3085
  }
3086
3086
  });
3087
- const pr = /* @__PURE__ */ B(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3087
+ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3088
3088
  __name: "VJoyFilterBarButton",
3089
3089
  props: {
3090
3090
  label: String,
@@ -3108,9 +3108,9 @@ const pr = /* @__PURE__ */ B(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3108
3108
  class: $(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3109
3109
  onClick: o
3110
3110
  }, [
3111
- z(J(e.label) + " ", 1),
3111
+ z(F(e.label) + " ", 1),
3112
3112
  k(r.$slots, "default", {}, void 0, !0),
3113
- T(a) ? (y(), E(W, {
3113
+ T(a) ? (y(), B(W, {
3114
3114
  key: 0,
3115
3115
  class: "joy-filter-bar-button__icon",
3116
3116
  name: "chevron-down",
@@ -3120,7 +3120,7 @@ const pr = /* @__PURE__ */ B(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3120
3120
  ], 2));
3121
3121
  }
3122
3122
  });
3123
- const br = /* @__PURE__ */ B(mr, [["__scopeId", "data-v-8f87fed1"]]), gr = { class: "joy-footer" }, hr = { class: "joy-footer__left" }, _r = { class: "joy-footer__right" }, wr = /* @__PURE__ */ L({
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
3124
  __name: "VJoyFooter",
3125
3125
  setup(e) {
3126
3126
  return (t, n) => (y(), g("footer", gr, [
@@ -3133,7 +3133,7 @@ const br = /* @__PURE__ */ B(mr, [["__scopeId", "data-v-8f87fed1"]]), gr = { cla
3133
3133
  ]));
3134
3134
  }
3135
3135
  });
3136
- const Sr = /* @__PURE__ */ B(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3136
+ const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3137
3137
  __name: "VJoyFormError",
3138
3138
  props: {
3139
3139
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3156,13 +3156,13 @@ const Sr = /* @__PURE__ */ B(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["ari
3156
3156
  }),
3157
3157
  b("div", null, [
3158
3158
  k(t.$slots, "default", {}, () => [
3159
- z(J(e.noHtmlErrorText), 1)
3159
+ z(F(e.noHtmlErrorText), 1)
3160
3160
  ], !0)
3161
3161
  ])
3162
3162
  ], 10, kr));
3163
3163
  }
3164
3164
  });
3165
- const En = /* @__PURE__ */ B(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3165
+ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3166
3166
  __name: "VJoyFormFieldSkeleton",
3167
3167
  props: {
3168
3168
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3185,8 +3185,8 @@ const En = /* @__PURE__ */ B(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3185
3185
  const n = e, a = it("VJoyWrapperContext", {}), o = V(() => {
3186
3186
  const r = a.direction === "column" ? "auto" : null;
3187
3187
  if (!n.width && n.flex === "1") {
3188
- const s = ["1", "0"];
3189
- return r && s.push(r), s.join(" ");
3188
+ const u = ["1", "0"];
3189
+ return r && u.push(r), u.join(" ");
3190
3190
  }
3191
3191
  const l = [n.flex || "1", "0"], i = n.width || r;
3192
3192
  return i && l.push(i), l.join(" ");
@@ -3201,7 +3201,7 @@ const En = /* @__PURE__ */ B(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3201
3201
  }, null, 6));
3202
3202
  }
3203
3203
  });
3204
- const jr = /* @__PURE__ */ B(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 = [
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
3205
  Ir
3206
3206
  ], Er = { class: "joy-funnel__footer" }, Br = /* @__PURE__ */ L({
3207
3207
  __name: "VJoyFunnel",
@@ -3223,7 +3223,7 @@ const jr = /* @__PURE__ */ B(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3223
3223
  }
3224
3224
  },
3225
3225
  setup(e, { expose: t }) {
3226
- const n = C(!0), a = Q();
3226
+ const n = C(!0), a = X();
3227
3227
  function o(l) {
3228
3228
  const i = l.currentTarget;
3229
3229
  n.value = i.scrollTop === 0;
@@ -3269,7 +3269,7 @@ const jr = /* @__PURE__ */ B(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3269
3269
  ], 2));
3270
3270
  }
3271
3271
  });
3272
- const Ar = /* @__PURE__ */ B(Br, [["__scopeId", "data-v-0abeb951"]]), Nr = { class: "joy-header" }, Or = { class: "joy-header__left" }, Jr = { class: "joy-header__right" }, Fr = /* @__PURE__ */ L({
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
3273
  __name: "VJoyHeader",
3274
3274
  setup(e) {
3275
3275
  return (t, n) => (y(), g("header", Nr, [
@@ -3282,7 +3282,7 @@ const Ar = /* @__PURE__ */ B(Br, [["__scopeId", "data-v-0abeb951"]]), Nr = { cla
3282
3282
  ]));
3283
3283
  }
3284
3284
  });
3285
- const Pr = /* @__PURE__ */ B(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Dr = { class: "joy-highlight--text" }, Mr = { key: 0 }, zr = /* @__PURE__ */ L({
3285
+ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Dr = { class: "joy-highlight--text" }, Mr = { key: 0 }, zr = /* @__PURE__ */ L({
3286
3286
  __name: "VJoyHighlight",
3287
3287
  props: {
3288
3288
  accent: {
@@ -3318,7 +3318,7 @@ const Pr = /* @__PURE__ */ B(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3318
3318
  }
3319
3319
  ])
3320
3320
  }, [
3321
- e.displayIcon ? (y(), E(W, {
3321
+ e.displayIcon ? (y(), B(W, {
3322
3322
  key: 0,
3323
3323
  name: a.value
3324
3324
  }, null, 8, ["name"])) : x("", !0),
@@ -3331,12 +3331,12 @@ const Pr = /* @__PURE__ */ B(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3331
3331
  ], 2));
3332
3332
  }
3333
3333
  });
3334
- const qr = /* @__PURE__ */ B(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3334
+ const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3335
3335
  __name: "VJoyIndicator",
3336
3336
  props: {
3337
3337
  /** Value is used for the parent v-model. Mandatory */
3338
3338
  value: {
3339
- type: String,
3339
+ type: [String, Number],
3340
3340
  required: !0
3341
3341
  },
3342
3342
  /** Automatically handled by parent. No need to set it manually */
@@ -3360,12 +3360,12 @@ const qr = /* @__PURE__ */ B(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["ari
3360
3360
  b("button", {
3361
3361
  type: "button",
3362
3362
  class: $(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3363
- "aria-label": e.ariaLabel || e.value
3363
+ "aria-label": e.ariaLabel || e.value.toString()
3364
3364
  }, null, 10, Hr)
3365
3365
  ], 2));
3366
3366
  }
3367
3367
  });
3368
- const Bn = /* @__PURE__ */ B(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @__PURE__ */ L({
3368
+ const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @__PURE__ */ L({
3369
3369
  __name: "VJoyIndicators",
3370
3370
  props: {
3371
3371
  variant: {
@@ -3373,41 +3373,46 @@ const Bn = /* @__PURE__ */ B(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @_
3373
3373
  },
3374
3374
  /** Use the component with a v-model to easily handle selected items */
3375
3375
  modelValue: {
3376
- type: String
3376
+ type: [String, Number]
3377
3377
  }
3378
3378
  },
3379
3379
  emits: ["update:modelValue"],
3380
3380
  setup(e, { expose: t, emit: n }) {
3381
- const a = e, o = Q(), r = C(a.modelValue), l = V(() => {
3381
+ const a = e, o = X(), r = C(a.modelValue), l = V(() => {
3382
3382
  const c = o.default();
3383
- return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(s) : c.filter(s);
3383
+ return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(u) : c.filter(u);
3384
3384
  });
3385
3385
  function i(c) {
3386
3386
  return r.value === c.props.value;
3387
3387
  }
3388
- function s(c) {
3388
+ function u(c) {
3389
3389
  var f;
3390
3390
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyIndicator";
3391
3391
  }
3392
3392
  function d(c) {
3393
3393
  n("update:modelValue", c.props.value), r.value = c.props.value;
3394
3394
  }
3395
- return t({
3395
+ return Q(
3396
+ () => a.modelValue,
3397
+ (c, f) => {
3398
+ c !== f && (r.value = c);
3399
+ }
3400
+ ), t({
3396
3401
  indicators: l,
3397
3402
  isSelected: i
3398
3403
  }), (c, f) => (y(), g("ul", {
3399
3404
  class: $(["joy-indicators", `joy-indicators--${e.variant}`])
3400
3405
  }, [
3401
- (y(!0), g(K, null, Y(l.value, (p) => (y(), E(T(Bn), te({
3406
+ (y(!0), g(K, null, Y(l.value, (p) => (y(), B(T(Bn), te({
3402
3407
  key: p.props.value
3403
3408
  }, { ...p.props, variant: e.variant }, {
3404
3409
  selected: i(p),
3405
- onClick: (u) => d(p)
3410
+ onClick: (s) => d(p)
3406
3411
  }), null, 16, ["selected", "onClick"]))), 128))
3407
3412
  ], 2));
3408
3413
  }
3409
3414
  });
3410
- const Gr = /* @__PURE__ */ B(Ur, [["__scopeId", "data-v-32ceef34"]]), Kr = ["small", "medium", "large"], Yr = {
3415
+ const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["small", "medium", "large"], Yr = {
3411
3416
  key: 0,
3412
3417
  class: "joy-label-required"
3413
3418
  }, Zr = {
@@ -3437,21 +3442,21 @@ const Gr = /* @__PURE__ */ B(Ur, [["__scopeId", "data-v-32ceef34"]]), Kr = ["sma
3437
3442
  text: String
3438
3443
  },
3439
3444
  setup(e) {
3440
- return (t, n) => (y(), E(oe(e.tagName), te({
3445
+ return (t, n) => (y(), B(oe(e.tagName), te({
3441
3446
  class: ["joy-label", `joy-label--${e.size}`]
3442
3447
  }, t.$attrs), {
3443
3448
  default: M(() => [
3444
3449
  k(t.$slots, "default", {}, () => [
3445
- z(J(e.text), 1)
3450
+ z(F(e.text), 1)
3446
3451
  ], !0),
3447
3452
  e.required ? (y(), g("span", Yr, "*")) : x("", !0),
3448
- e.optionalLabel ? (y(), g("span", Zr, "- " + J(e.optionalLabel), 1)) : x("", !0)
3453
+ e.optionalLabel ? (y(), g("span", Zr, "- " + F(e.optionalLabel), 1)) : x("", !0)
3449
3454
  ]),
3450
3455
  _: 3
3451
3456
  }, 16, ["class"]));
3452
3457
  }
3453
3458
  });
3454
- const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["large", "medium", "small"], ei = ["id", "name", "required", "disabled", "readonly", "type", "value"], ti = ["data-unit"], ni = /* @__PURE__ */ L({
3459
+ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["large", "medium", "small"], ei = ["id", "name", "required", "disabled", "readonly", "type", "value"], ti = ["data-unit"], ni = /* @__PURE__ */ L({
3455
3460
  inheritAttrs: !1,
3456
3461
  __name: "VJoyInput",
3457
3462
  props: {
@@ -3529,56 +3534,62 @@ const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3529
3534
  }
3530
3535
  },
3531
3536
  emits: ["update:modelValue"],
3532
- setup(e, { emit: t }) {
3533
- const n = e, a = C(), o = C(), r = Ae(), l = Q(), i = C(!1), s = C(!1);
3534
- Bt(a, n.autofocus);
3535
- const d = V(() => typeof n.modelValue == "number" || !n.clearable || n.unit || !n.modelValue ? !1 : n.modelValue.length > 0 && !n.unit), c = V(() => l.default && l.default()), f = V(() => {
3536
- var v, h;
3537
- return !!((v = o.value) != null && v.closest("joy-wrapper")) || !!((h = o.value) != null && h.closest(".joy-wrapper"));
3538
- }), p = C(n.type), u = V(() => n.type === "password" && !!n.modelValue);
3537
+ setup(e, { expose: t, emit: n }) {
3538
+ const a = e, o = C(), r = C(), l = Ae(), i = X(), u = C(!1), d = C(!1);
3539
+ Bt(o, a.autofocus);
3540
+ const c = V(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), f = V(() => i.default && i.default()), p = V(() => {
3541
+ var h, E;
3542
+ return !!((h = r.value) != null && h.closest("joy-wrapper")) || !!((E = r.value) != null && E.closest(".joy-wrapper"));
3543
+ }), s = C(a.type), m = V(() => a.type === "password" && !!a.modelValue);
3539
3544
  na(() => {
3540
- p.value = n.unit ? "number" : n.type;
3545
+ s.value = a.unit ? "number" : a.type;
3541
3546
  });
3542
- const m = {
3547
+ function v() {
3548
+ var h;
3549
+ a.readonly || (h = o.value) == null || h.focus();
3550
+ }
3551
+ const _ = {
3543
3552
  onFocus: () => {
3544
- n.readonly || (i.value = !0);
3553
+ a.readonly || (u.value = !0);
3545
3554
  },
3546
3555
  onBlur: () => {
3547
- i.value = !1;
3556
+ u.value = !1;
3548
3557
  },
3549
- onInput: (v) => {
3550
- let h = v.target.value;
3551
- n.modelModifiers.lazy || t("update:modelValue", h);
3558
+ onInput: (h) => {
3559
+ let E = h.target.value;
3560
+ a.modelModifiers.lazy || n("update:modelValue", E);
3552
3561
  },
3553
- onChange: (v) => {
3554
- let h = v.target.value;
3555
- n.modelModifiers.lazy && t("update:modelValue", h);
3562
+ onChange: (h) => {
3563
+ let E = h.target.value;
3564
+ a.modelModifiers.lazy && n("update:modelValue", E);
3556
3565
  },
3557
3566
  clearValue: () => {
3558
- n.disabled || t("update:modelValue", "");
3567
+ a.disabled || n("update:modelValue", "");
3559
3568
  },
3560
- togglePassword: (v) => {
3561
- v.preventDefault(), s.value = !s.value, s.value ? p.value = "text" : p.value = "password";
3569
+ togglePassword: (h) => {
3570
+ h.preventDefault(), d.value = !d.value, d.value ? s.value = "text" : s.value = "password";
3562
3571
  }
3563
3572
  };
3564
- return (v, h) => (y(), g("div", {
3573
+ return t({
3574
+ focus: v
3575
+ }), (h, E) => (y(), g("div", {
3565
3576
  ref_key: "root",
3566
- ref: o,
3567
- class: $([`joy-input--${n.size}`])
3577
+ ref: r,
3578
+ class: $([`joy-input--${a.size}`])
3568
3579
  }, [
3569
3580
  b("div", {
3570
3581
  class: $([
3571
3582
  "joy-input",
3572
3583
  {
3573
- "joy-input--focusing": i.value,
3584
+ "joy-input--focusing": u.value,
3574
3585
  "joy-input--disabled": e.disabled,
3575
3586
  "joy-input--invalid": e.invalid,
3576
3587
  "joy-input--readonly": e.readonly,
3577
- "joy-input--valid": !e.invalid && !T(r).disabled
3588
+ "joy-input--valid": !e.invalid && !T(l).disabled
3578
3589
  }
3579
3590
  ])
3580
3591
  }, [
3581
- c.value || e.label ? (y(), E(je, {
3592
+ f.value || e.label ? (y(), B(je, {
3582
3593
  key: 0,
3583
3594
  for: e.id || e.name,
3584
3595
  required: e.required && e.requiredMark,
@@ -3586,8 +3597,8 @@ const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3586
3597
  size: e.labelSize
3587
3598
  }, {
3588
3599
  default: M(() => [
3589
- k(v.$slots, "default", {}, () => [
3590
- z(J(e.label), 1)
3600
+ k(h.$slots, "default", {}, () => [
3601
+ z(F(e.label), 1)
3591
3602
  ], !0)
3592
3603
  ]),
3593
3604
  _: 3
@@ -3599,14 +3610,14 @@ const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3599
3610
  "joy-input--wrapper-has-icon": !!e.icon,
3600
3611
  "joy-input--wrapper---clearable": e.clearable,
3601
3612
  "joy-input--wrapper-unit": !!e.unit,
3602
- "joy-input--wrapper-margin": !f.value
3613
+ "joy-input--wrapper-margin": !p.value
3603
3614
  }
3604
3615
  ])
3605
3616
  }, [
3606
- b("input", te(v.$attrs, {
3617
+ b("input", te(h.$attrs, {
3607
3618
  id: e.id || e.name,
3608
3619
  ref_key: "input",
3609
- ref: a,
3620
+ ref: o,
3610
3621
  name: e.name,
3611
3622
  required: e.required,
3612
3623
  disabled: e.disabled,
@@ -3617,33 +3628,33 @@ const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3617
3628
  "joy-input--field-invalid": e.invalid
3618
3629
  }
3619
3630
  ],
3620
- type: p.value,
3631
+ type: s.value,
3621
3632
  value: e.modelValue,
3622
- onFocus: h[0] || (h[0] = //@ts-ignore
3623
- (...w) => m.onFocus && m.onFocus(...w)),
3624
- onBlur: h[1] || (h[1] = //@ts-ignore
3625
- (...w) => m.onBlur && m.onBlur(...w)),
3626
- onInput: h[2] || (h[2] = //@ts-ignore
3627
- (...w) => m.onInput && m.onInput(...w)),
3628
- onChange: h[3] || (h[3] = //@ts-ignore
3629
- (...w) => m.onChange && m.onChange(...w))
3633
+ onFocus: E[0] || (E[0] = //@ts-ignore
3634
+ (...N) => _.onFocus && _.onFocus(...N)),
3635
+ onBlur: E[1] || (E[1] = //@ts-ignore
3636
+ (...N) => _.onBlur && _.onBlur(...N)),
3637
+ onInput: E[2] || (E[2] = //@ts-ignore
3638
+ (...N) => _.onInput && _.onInput(...N)),
3639
+ onChange: E[3] || (E[3] = //@ts-ignore
3640
+ (...N) => _.onChange && _.onChange(...N))
3630
3641
  }), null, 16, ei),
3631
- d.value ? (y(), E(de, {
3642
+ c.value ? (y(), B(de, {
3632
3643
  key: 0,
3633
3644
  class: "joy-input--clear",
3634
3645
  circle: "",
3635
3646
  variant: "ghost",
3636
3647
  size: "xxsmall",
3637
3648
  icon: "cross",
3638
- onClick: m.clearValue
3649
+ onClick: _.clearValue
3639
3650
  }, null, 8, ["onClick"])) : x("", !0),
3640
- u.value ? (y(), E(W, {
3651
+ m.value ? (y(), B(W, {
3641
3652
  key: 1,
3642
3653
  class: "joy-input--password-icon",
3643
- name: s.value ? "eye-masked" : "eye",
3644
- onClick: m.togglePassword
3654
+ name: d.value ? "eye-masked" : "eye",
3655
+ onClick: _.togglePassword
3645
3656
  }, null, 8, ["name", "onClick"])) : x("", !0),
3646
- e.icon ? (y(), E(W, {
3657
+ e.icon ? (y(), B(W, {
3647
3658
  key: 2,
3648
3659
  class: "joy-input--decorative-icon",
3649
3660
  name: e.icon
@@ -3658,7 +3669,7 @@ const je = /* @__PURE__ */ B(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3658
3669
  ], 2));
3659
3670
  }
3660
3671
  });
3661
- const ai = /* @__PURE__ */ B(ni, [["__scopeId", "data-v-6067c536"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3672
+ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3662
3673
  __name: "VJoyLink",
3663
3674
  props: {
3664
3675
  href: {
@@ -3679,17 +3690,17 @@ const ai = /* @__PURE__ */ B(ni, [["__scopeId", "data-v-6067c536"]]), oi = ["tea
3679
3690
  return (t, n) => (y(), g("a", te({ href: e.href }, t.$attrs, {
3680
3691
  class: ["joy-link", `joy-link_${e.color}`]
3681
3692
  }), [
3682
- e.icon ? (y(), E(W, {
3693
+ e.icon ? (y(), B(W, {
3683
3694
  key: 0,
3684
3695
  name: e.icon
3685
3696
  }, null, 8, ["name"])) : x("", !0),
3686
3697
  k(t.$slots, "default", {}, () => [
3687
- z(J(e.text), 1)
3698
+ z(F(e.text), 1)
3688
3699
  ], !0)
3689
3700
  ], 16, li));
3690
3701
  }
3691
3702
  });
3692
- const ii = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tabindex", "aria-activedescendant", "aria-label"], ui = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ci = { "aria-hidden": "true" }, di = /* @__PURE__ */ L({
3703
+ const 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({
3693
3704
  __name: "VJoyMenu",
3694
3705
  props: {
3695
3706
  /**
@@ -3718,7 +3729,7 @@ const ii = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3718
3729
  var f;
3719
3730
  return Array.from(((f = a.value) == null ? void 0 : f.querySelectorAll("li")) || []).filter((p) => p.getAttribute("aria-disabled") !== "true");
3720
3731
  }
3721
- function s(f) {
3732
+ function u(f) {
3722
3733
  return f.id || _e();
3723
3734
  }
3724
3735
  function d() {
@@ -3727,8 +3738,8 @@ const ii = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3727
3738
  function c(f) {
3728
3739
  if (d() && f.key === " " && f.preventDefault(), f.key === "Tab" && (r.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key)) {
3729
3740
  f.preventDefault();
3730
- const p = i(), u = d();
3731
- let m = p.indexOf(u);
3741
+ const p = i(), s = d();
3742
+ let m = p.indexOf(s);
3732
3743
  if (f.key === "ArrowDown" ? m++ : f.key === "ArrowUp" ? m-- : f.key === "Home" ? m = 0 : f.key === "End" && (m = p.length - 1), m < 0 && (m = 0), m > p.length - 1)
3733
3744
  return;
3734
3745
  r.value = p[m].id, p[m].focus();
@@ -3737,14 +3748,14 @@ const ii = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3737
3748
  const p = d();
3738
3749
  if (!p)
3739
3750
  return;
3740
- const u = p.querySelector("a");
3741
- p && u ? u.click() : p.click();
3751
+ const s = p.querySelector("a");
3752
+ p && s ? s.click() : p.click();
3742
3753
  }
3743
3754
  }
3744
3755
  return t({
3745
3756
  activeMenuItemId: r,
3746
3757
  getItems: i,
3747
- getItemId: s,
3758
+ getItemId: u,
3748
3759
  getFocusedItem: d
3749
3760
  }), (f, p) => (y(), g("ul", {
3750
3761
  ref_key: "menu",
@@ -3756,39 +3767,39 @@ const ii = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3756
3767
  role: "menu",
3757
3768
  onKeydown: c
3758
3769
  }, [
3759
- (y(!0), g(K, null, Y(e.items, (u) => (y(), g("li", {
3760
- id: s(u),
3761
- key: u.label,
3770
+ (y(!0), g(K, null, Y(e.items, (s) => (y(), g("li", {
3771
+ id: u(s),
3772
+ key: s.label,
3762
3773
  class: $([
3763
3774
  "joy-menu-list__item",
3764
3775
  {
3765
- "joy-menu-list__item--current": u.current,
3766
- "joy-menu-list__item--disabled": u.disabled
3776
+ "joy-menu-list__item--current": s.current,
3777
+ "joy-menu-list__item--disabled": s.disabled
3767
3778
  }
3768
3779
  ]),
3769
3780
  tabindex: "-1",
3770
- "aria-disabled": u.disabled,
3771
- "aria-current": u.current,
3772
- title: u.label,
3773
- "aria-label": u.label,
3774
- ".dataModel": u.value || u.id,
3781
+ "aria-disabled": s.disabled,
3782
+ "aria-current": s.current,
3783
+ title: s.label,
3784
+ "aria-label": s.label,
3785
+ ".dataModel": s.value || s.id,
3775
3786
  role: "menuitem",
3776
- onClick: (m) => l(u)
3787
+ onClick: (m) => l(s)
3777
3788
  }, [
3778
3789
  b("div", ci, [
3779
- k(f.$slots, "menu-item", ze(qe(u)), () => [
3780
- u.icon ? (y(), E(W, {
3790
+ k(f.$slots, "menu-item", ze(qe(s)), () => [
3791
+ s.icon ? (y(), B(W, {
3781
3792
  key: 0,
3782
- name: u.icon
3793
+ name: s.icon
3783
3794
  }, null, 8, ["name"])) : x("", !0),
3784
- b("span", null, J(u.label), 1)
3795
+ b("span", null, F(s.label), 1)
3785
3796
  ], !0)
3786
3797
  ])
3787
3798
  ], 10, ui))), 128))
3788
3799
  ], 40, si));
3789
3800
  }
3790
3801
  });
3791
- const fi = /* @__PURE__ */ B(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3802
+ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3792
3803
  class: /* @__PURE__ */ $(["joy-multi-checkbox"])
3793
3804
  }, pi = /* @__PURE__ */ L({
3794
3805
  __name: "VJoyMultiCheckbox",
@@ -3837,7 +3848,7 @@ const fi = /* @__PURE__ */ B(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3837
3848
  id: e.id,
3838
3849
  class: "joy-multi-checkbox__wrapper"
3839
3850
  }, [
3840
- e.label ? (y(), E(T(je), {
3851
+ e.label ? (y(), B(T(je), {
3841
3852
  key: 0,
3842
3853
  "tag-name": "legend",
3843
3854
  required: e.required && e.requiredMark,
@@ -3845,22 +3856,22 @@ const fi = /* @__PURE__ */ B(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3845
3856
  size: e.labelSize
3846
3857
  }, {
3847
3858
  default: M(() => [
3848
- z(J(e.label), 1)
3859
+ z(F(e.label), 1)
3849
3860
  ]),
3850
3861
  _: 1
3851
3862
  }, 8, ["required", "optional-label", "size"])) : x("", !0),
3852
3863
  b("div", vi, [
3853
- (y(!0), g(K, null, Y(e.options, (i) => (y(), E(T(Et), {
3864
+ (y(!0), g(K, null, Y(e.options, (i) => (y(), B(T(Et), {
3854
3865
  id: i.id,
3855
3866
  key: i.id,
3856
3867
  name: i.name,
3857
3868
  value: i.value,
3858
3869
  checked: a(i),
3859
- "onUpdate:checked": (s) => o(i.value, s)
3870
+ "onUpdate:checked": (u) => o(i.value, u)
3860
3871
  }, {
3861
3872
  default: M(() => [
3862
3873
  k(r.$slots, "checkbox", ze(qe(i)), () => [
3863
- z(J(i.label), 1)
3874
+ z(F(i.label), 1)
3864
3875
  ], !0)
3865
3876
  ]),
3866
3877
  _: 2
@@ -3869,7 +3880,7 @@ const fi = /* @__PURE__ */ B(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3869
3880
  ], 8, yi));
3870
3881
  }
3871
3882
  });
3872
- const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3883
+ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3873
3884
  __name: "PaginationIcon",
3874
3885
  props: {
3875
3886
  label: {
@@ -3887,7 +3898,7 @@ const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3887
3898
  },
3888
3899
  emits: ["click"],
3889
3900
  setup(e) {
3890
- return (t, n) => (y(), E(de, {
3901
+ return (t, n) => (y(), B(de, {
3891
3902
  class: "joy-pagination__icon",
3892
3903
  "aria-label": e.label,
3893
3904
  title: e.label,
@@ -3934,7 +3945,7 @@ const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3934
3945
  const n = e, a = V(() => {
3935
3946
  const d = r.value.length;
3936
3947
  return r.value[d - 1] !== r.value[d - 2] + 1;
3937
- }), o = V(() => r.value[0] !== r.value[1] - 1), r = V(() => n.totalPages === 1 ? [1] : n.totalPages < wi ? i(2, n.totalPages - 1) : s(n.currentPage));
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));
3938
3949
  function l(d) {
3939
3950
  t("update:current-page", d);
3940
3951
  }
@@ -3945,7 +3956,7 @@ const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3945
3956
  f.push(p);
3946
3957
  return f.push(n.totalPages), f;
3947
3958
  }
3948
- function s(d) {
3959
+ function u(d) {
3949
3960
  let c = d - 2, f = d + 1;
3950
3961
  return c <= 1 && (c = 2, f = 5), f >= n.totalPages && (f = n.totalPages - 1, c = f - 3), i(c, f);
3951
3962
  }
@@ -3977,7 +3988,7 @@ const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3977
3988
  "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && f === e.totalPages && a.value
3978
3989
  }),
3979
3990
  onClick: (p) => l(f)
3980
- }, J(f), 11, hi)
3991
+ }, F(f), 11, hi)
3981
3992
  ]))), 128))
3982
3993
  ])
3983
3994
  ]),
@@ -3995,7 +4006,7 @@ const mi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3995
4006
  ], 8, bi));
3996
4007
  }
3997
4008
  });
3998
- const ki = /* @__PURE__ */ B(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
4009
+ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
3999
4010
  key: 0,
4000
4011
  class: /* @__PURE__ */ $(["joy-panel__header"])
4001
4012
  }, $i = {
@@ -4041,7 +4052,7 @@ const ki = /* @__PURE__ */ B(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4041
4052
  }
4042
4053
  },
4043
4054
  setup(e) {
4044
- const t = it("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = Q(), o = C(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
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"]);
4045
4056
  return (l, i) => (y(), g("section", {
4046
4057
  ref_key: "panel",
4047
4058
  ref: o,
@@ -4075,7 +4086,7 @@ const ki = /* @__PURE__ */ B(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4075
4086
  T(a)["panel-action"] ? (y(), g("footer", Ii, [
4076
4087
  k(l.$slots, "panel-action", {}, void 0, !0)
4077
4088
  ])) : x("", !0),
4078
- e.loading ? (y(), E(T(At), {
4089
+ e.loading ? (y(), B(T(At), {
4079
4090
  key: 2,
4080
4091
  overlay: "",
4081
4092
  color: e.loadingColor
@@ -4088,7 +4099,7 @@ const ki = /* @__PURE__ */ B(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4088
4099
  ], 6));
4089
4100
  }
4090
4101
  });
4091
- const Ei = /* @__PURE__ */ B(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4102
+ const Ei = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4092
4103
  key: 0,
4093
4104
  class: "joy-panel-section__title"
4094
4105
  }, Ni = {
@@ -4097,7 +4108,7 @@ const Ei = /* @__PURE__ */ B(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { cla
4097
4108
  }, Oi = /* @__PURE__ */ L({
4098
4109
  __name: "VJoyPanelSection",
4099
4110
  setup(e) {
4100
- const t = Q();
4111
+ const t = X();
4101
4112
  return (n, a) => (y(), g("div", Bi, [
4102
4113
  T(t)["panel-section-title"] ? (y(), g("div", Ai, [
4103
4114
  k(n.$slots, "panel-section-title", {}, void 0, !0)
@@ -4108,7 +4119,7 @@ const Ei = /* @__PURE__ */ B(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { cla
4108
4119
  ]));
4109
4120
  }
4110
4121
  });
4111
- const Ji = /* @__PURE__ */ B(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4122
+ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4112
4123
  __name: "VJoyProgressBar",
4113
4124
  props: {
4114
4125
  color: {
@@ -4150,7 +4161,7 @@ const Ji = /* @__PURE__ */ B(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4150
4161
  ]));
4151
4162
  }
4152
4163
  });
4153
- const Ri = /* @__PURE__ */ B(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id", "value", "checked", "disabled", "required", "name"], Mi = { class: "joy-radio-label" }, zi = { class: "joy-radio-content__wrapper" }, qi = { class: "joy-radio-content" }, Hi = /* @__PURE__ */ L({
4164
+ const 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({
4154
4165
  __name: "VJoyRadio",
4155
4166
  props: {
4156
4167
  disabled: {
@@ -4173,22 +4184,22 @@ const Ri = /* @__PURE__ */ B(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4173
4184
  },
4174
4185
  // ...FORM_BASED_PROPS,
4175
4186
  modelValue: {
4176
- type: String
4187
+ type: [String, Number]
4177
4188
  },
4178
4189
  theme: {
4179
4190
  type: String,
4180
4191
  default: "default"
4181
4192
  },
4182
4193
  value: {
4183
- type: String,
4194
+ type: [String, Number],
4184
4195
  required: !0
4185
4196
  }
4186
4197
  },
4187
4198
  emits: ["update:modelValue"],
4188
4199
  setup(e, { expose: t, emit: n }) {
4189
- const a = e, o = C(!1), r = C(!1), l = C(null), i = C(null), s = Q(), d = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
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);
4190
4201
  function c() {
4191
- o.value = !!s["expandable-content"] && d.value;
4202
+ o.value = !!u["expandable-content"] && d.value;
4192
4203
  }
4193
4204
  function f() {
4194
4205
  n("update:modelValue", a.value), c();
@@ -4199,10 +4210,10 @@ const Ri = /* @__PURE__ */ B(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4199
4210
  function p() {
4200
4211
  r.value = !0;
4201
4212
  }
4202
- function u() {
4213
+ function s() {
4203
4214
  r.value = !1;
4204
4215
  }
4205
- return ee(
4216
+ return Q(
4206
4217
  () => a.modelValue,
4207
4218
  () => {
4208
4219
  c();
@@ -4235,7 +4246,7 @@ const Ri = /* @__PURE__ */ B(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4235
4246
  name: e.name,
4236
4247
  onChange: f,
4237
4248
  onFocus: p,
4238
- onBlur: u
4249
+ onBlur: s
4239
4250
  }, null, 40, Di),
4240
4251
  b("span", Mi, [
4241
4252
  k(m.$slots, "default", {}, void 0, !0)
@@ -4255,7 +4266,7 @@ const Ri = /* @__PURE__ */ B(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id"
4255
4266
  ], 2));
4256
4267
  }
4257
4268
  });
4258
- const Wi = /* @__PURE__ */ B(Hi, [["__scopeId", "data-v-24cea99b"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4269
+ const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4259
4270
  __name: "VJoyRadioGroup",
4260
4271
  props: {
4261
4272
  /**
@@ -4292,7 +4303,7 @@ const Wi = /* @__PURE__ */ B(Hi, [["__scopeId", "data-v-24cea99b"]]), Ui = ["for
4292
4303
  ], 8, Ui));
4293
4304
  }
4294
4305
  });
4295
- const Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ariaLabel"], Zi = { class: "joy-rating-stars" }, Qi = { class: "joy-rating-stars__content" }, Xi = { key: 0 }, es = /* @__PURE__ */ L({
4306
+ const 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({
4296
4307
  __name: "VJoyRatingStars",
4297
4308
  props: {
4298
4309
  ratingValue: {
@@ -4311,7 +4322,7 @@ const Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4311
4322
  setup(e, { expose: t }) {
4312
4323
  const n = e, a = Ae(), o = V(() => {
4313
4324
  let r = [], l = 0.24, i = 0.75;
4314
- for (let s = 0; s < 5; s++)
4325
+ for (let u = 0; u < 5; u++)
4315
4326
  n.ratingValue > l ? r.push(n.ratingValue < i ? "half" : "full") : r.push("empty"), l += 1, i += 1;
4316
4327
  return r;
4317
4328
  });
@@ -4323,21 +4334,21 @@ const Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4323
4334
  ariaLabel: T(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
4324
4335
  }, [
4325
4336
  b("ul", Zi, [
4326
- (y(!0), g(K, null, Y(o.value, (i, s) => (y(), g("li", {
4327
- key: s,
4337
+ (y(!0), g(K, null, Y(o.value, (i, u) => (y(), g("li", {
4338
+ key: u,
4328
4339
  class: $([`joy-rating-stars--${e.size}`])
4329
4340
  }, [
4330
- i === "full" ? (y(), E(W, {
4341
+ i === "full" ? (y(), B(W, {
4331
4342
  key: 0,
4332
4343
  "aria-hidden": "true",
4333
4344
  name: "star-fill",
4334
4345
  color: "quaternary"
4335
- })) : i === "half" ? (y(), E(W, {
4346
+ })) : i === "half" ? (y(), B(W, {
4336
4347
  key: 1,
4337
4348
  "aria-hidden": "true",
4338
4349
  name: "star-half",
4339
4350
  color: "quaternary"
4340
- })) : (y(), E(W, {
4351
+ })) : (y(), B(W, {
4341
4352
  key: 2,
4342
4353
  "aria-hidden": "true",
4343
4354
  name: "star",
@@ -4347,13 +4358,13 @@ const Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4347
4358
  ]),
4348
4359
  b("div", Qi, [
4349
4360
  k(r.$slots, "rating-stars-content", {}, () => [
4350
- e.reviewCount ? (y(), g("span", Xi, "(" + J(e.reviewCount) + ")", 1)) : x("", !0)
4361
+ e.reviewCount ? (y(), g("span", Xi, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4351
4362
  ], !0)
4352
4363
  ])
4353
4364
  ], 8, Yi));
4354
4365
  }
4355
4366
  });
4356
- const An = /* @__PURE__ */ B(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
4367
+ const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
4357
4368
  key: 0,
4358
4369
  class: "joy-screen-loader__content"
4359
4370
  }, as = /* @__PURE__ */ L({
@@ -4387,7 +4398,7 @@ const An = /* @__PURE__ */ B(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { cla
4387
4398
  ], 2));
4388
4399
  }
4389
4400
  });
4390
- const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4401
+ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4391
4402
  __name: "VJoySelect",
4392
4403
  props: {
4393
4404
  disabled: {
@@ -4431,38 +4442,38 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4431
4442
  },
4432
4443
  emits: ["update:modelValue"],
4433
4444
  setup(e, { expose: t, emit: n }) {
4434
- const a = e, o = Q(), r = V(() => {
4445
+ const a = e, o = X(), r = V(() => {
4435
4446
  const m = o.default();
4436
4447
  let v = [];
4437
- return m.forEach((h) => {
4438
- if (l(h))
4439
- v.push(h);
4448
+ return m.forEach((_) => {
4449
+ if (l(_))
4450
+ v.push(_);
4440
4451
  else {
4441
- const w = h.children;
4442
- if (typeof w == "string" || !w.length)
4452
+ const h = _.children;
4453
+ if (typeof h == "string" || !h.length)
4443
4454
  return;
4444
- const A = w.filter(l);
4445
- v = [...v, ...A];
4455
+ const E = h.filter(l);
4456
+ v = [...v, ...E];
4446
4457
  }
4447
4458
  }), v;
4448
4459
  });
4449
4460
  function l(m) {
4450
4461
  return (m == null ? void 0 : m.type) === "option";
4451
4462
  }
4452
- const i = C(), s = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4463
+ const i = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4453
4464
  le(() => {
4454
- var h;
4465
+ var _;
4455
4466
  const m = o["select-label"] && o["select-label"]();
4456
4467
  if (!m || !m.length)
4457
4468
  return;
4458
4469
  const v = m[0];
4459
4470
  if (v.type === "JoyLabel") {
4460
- const w = (h = v.props) == null ? void 0 : h.for;
4461
- if (!w) {
4471
+ const h = (_ = v.props) == null ? void 0 : _.for;
4472
+ if (!h) {
4462
4473
  console.warn("JoyLabel for attribute is missing");
4463
4474
  return;
4464
4475
  }
4465
- w !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
4476
+ h !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
4466
4477
  }
4467
4478
  });
4468
4479
  function f(m) {
@@ -4472,17 +4483,17 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4472
4483
  function p() {
4473
4484
  d.value = !0;
4474
4485
  }
4475
- function u() {
4486
+ function s() {
4476
4487
  d.value = !1;
4477
4488
  }
4478
4489
  return t({
4479
- select: s
4490
+ select: u
4480
4491
  }), (m, v) => (y(), g("div", {
4481
4492
  ref_key: "root",
4482
4493
  ref: i
4483
4494
  }, [
4484
4495
  k(m.$slots, "select-label", {}, () => [
4485
- e.label ? (y(), E(je, {
4496
+ e.label ? (y(), B(je, {
4486
4497
  key: 0,
4487
4498
  required: e.required && e.requiredMark,
4488
4499
  "optional-label": e.optionalLabel,
@@ -4490,7 +4501,7 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4490
4501
  size: c.value
4491
4502
  }, {
4492
4503
  default: M(() => [
4493
- z(J(e.label), 1)
4504
+ z(F(e.label), 1)
4494
4505
  ]),
4495
4506
  _: 1
4496
4507
  }, 8, ["required", "optional-label", "for", "size"])) : x("", !0)
@@ -4509,7 +4520,7 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4509
4520
  b("select", {
4510
4521
  id: e.id || e.name,
4511
4522
  ref_key: "select",
4512
- ref: s,
4523
+ ref: u,
4513
4524
  class: "joy-select",
4514
4525
  name: e.name,
4515
4526
  "aria-invalid": e.invalid,
@@ -4517,15 +4528,15 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4517
4528
  disabled: e.disabled,
4518
4529
  onChange: f,
4519
4530
  onFocus: p,
4520
- onBlur: u
4531
+ onBlur: s
4521
4532
  }, [
4522
- (y(!0), g(K, null, Y(r.value, (h) => {
4523
- var w, A;
4533
+ (y(!0), g(K, null, Y(r.value, (_) => {
4534
+ var h, E;
4524
4535
  return y(), g("option", te({
4525
- key: (w = h.props) == null ? void 0 : w.value
4526
- }, h.props, {
4527
- selected: ((A = h.props) == null ? void 0 : A.value) === e.modelValue
4528
- }), J(h.children), 17, ls);
4536
+ key: (h = _.props) == null ? void 0 : h.value
4537
+ }, _.props, {
4538
+ selected: ((E = _.props) == null ? void 0 : E.value) === e.modelValue
4539
+ }), F(_.children), 17, ls);
4529
4540
  }), 128))
4530
4541
  ], 40, os),
4531
4542
  U(W, {
@@ -4536,7 +4547,7 @@ const At = /* @__PURE__ */ B(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4536
4547
  ], 512));
4537
4548
  }
4538
4549
  });
4539
- const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["aria-disabled"], us = ["id", "value", "checked", "disabled", "required", "name"], cs = { class: "joy-selectable-item__label" }, ds = /* @__PURE__ */ L({
4550
+ const 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({
4540
4551
  __name: "VJoySelectableItem",
4541
4552
  props: {
4542
4553
  disabled: {
@@ -4595,7 +4606,7 @@ const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4595
4606
  r.value = !1;
4596
4607
  }
4597
4608
  };
4598
- function s(d) {
4609
+ function u(d) {
4599
4610
  t("update:checked", d);
4600
4611
  }
4601
4612
  return (d, c) => (y(), g("div", {
@@ -4627,7 +4638,7 @@ const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4627
4638
  onBlur: c[2] || (c[2] = //@ts-ignore
4628
4639
  (...f) => i.onBlur && i.onBlur(...f))
4629
4640
  }, null, 40, us)),
4630
- (y(), E(oe(T(l)), {
4641
+ (y(), B(oe(T(l)), {
4631
4642
  for: e.id,
4632
4643
  class: $([
4633
4644
  "joy-selectable-item",
@@ -4641,13 +4652,13 @@ const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4641
4652
  onClick: i.onLabelClick
4642
4653
  }, {
4643
4654
  default: M(() => [
4644
- e.multiple ? (y(), E(T(Et), {
4655
+ e.multiple ? (y(), B(T(Et), {
4645
4656
  key: 0,
4646
4657
  id: e.id,
4647
4658
  checked: a.value,
4648
4659
  "onUpdate:checked": [
4649
4660
  c[3] || (c[3] = (f) => a.value = f),
4650
- s
4661
+ u
4651
4662
  ],
4652
4663
  disabled: e.disabled,
4653
4664
  value: e.value,
@@ -4669,7 +4680,7 @@ const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4669
4680
  class: $([{ "joy-selectable-item__sublabel": d.$slots["selectable-item-sublabel"] }])
4670
4681
  }, [
4671
4682
  k(d.$slots, "selectable-item-sublabel", {}, () => [
4672
- z(J(e.subLabel), 1)
4683
+ z(F(e.subLabel), 1)
4673
4684
  ], !0)
4674
4685
  ], 2)
4675
4686
  ]),
@@ -4678,7 +4689,7 @@ const is = /* @__PURE__ */ B(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4678
4689
  ], 10, ss));
4679
4690
  }
4680
4691
  });
4681
- const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"], ys = /* @__PURE__ */ L({
4692
+ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"], ys = /* @__PURE__ */ L({
4682
4693
  __name: "VJoySelectableItemGroup",
4683
4694
  props: {
4684
4695
  options: {
@@ -4733,7 +4744,7 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4733
4744
  id: e.id,
4734
4745
  class: "joy-selectable-item-group__wrapper"
4735
4746
  }, [
4736
- e.label ? (y(), E(T(je), {
4747
+ e.label ? (y(), B(T(je), {
4737
4748
  key: 0,
4738
4749
  "tag-name": "legend",
4739
4750
  required: e.required && e.requiredMark,
@@ -4741,7 +4752,7 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4741
4752
  size: e.labelSize
4742
4753
  }, {
4743
4754
  default: M(() => [
4744
- z(J(e.label), 1)
4755
+ z(F(e.label), 1)
4745
4756
  ]),
4746
4757
  _: 1
4747
4758
  }, 8, ["required", "optional-label", "size"])) : x("", !0),
@@ -4755,7 +4766,7 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4755
4766
  }
4756
4767
  ])
4757
4768
  }, [
4758
- (y(!0), g(K, null, Y(e.options, (i) => (y(), E(T(Nn), te(i.attrs, {
4769
+ (y(!0), g(K, null, Y(e.options, (i) => (y(), B(T(Nn), te(i.attrs, {
4759
4770
  id: i.id,
4760
4771
  key: i.id,
4761
4772
  name: i.name,
@@ -4763,11 +4774,11 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4763
4774
  value: i.value,
4764
4775
  multiple: e.multiple,
4765
4776
  checked: a(i),
4766
- "onUpdate:checked": (s) => o(i.value, s)
4777
+ "onUpdate:checked": (u) => o(i.value, u)
4767
4778
  }), pn({
4768
4779
  default: M(() => [
4769
4780
  k(r.$slots, "item", ze(qe(i)), () => [
4770
- z(J(i.label), 1)
4781
+ z(F(i.label), 1)
4771
4782
  ], !0)
4772
4783
  ]),
4773
4784
  _: 2
@@ -4775,7 +4786,7 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4775
4786
  i.subLabel ? {
4776
4787
  name: "selectable-item-sublabel",
4777
4788
  fn: M(() => [
4778
- z(J(i.subLabel), 1)
4789
+ z(F(i.subLabel), 1)
4779
4790
  ]),
4780
4791
  key: "0"
4781
4792
  } : void 0
@@ -4784,7 +4795,7 @@ const Nn = /* @__PURE__ */ B(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4784
4795
  ], 8, fs));
4785
4796
  }
4786
4797
  });
4787
- const vs = /* @__PURE__ */ B(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @__PURE__ */ L({
4798
+ const vs = /* @__PURE__ */ A(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @__PURE__ */ L({
4788
4799
  __name: "VJoySeparator",
4789
4800
  props: {
4790
4801
  /** Main text to apply in the central area */
@@ -4800,11 +4811,11 @@ const vs = /* @__PURE__ */ B(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @_
4800
4811
  return (t, n) => (y(), g("div", {
4801
4812
  class: $(["joy-separator", { "joy-separator__small": e.size === "small" }])
4802
4813
  }, [
4803
- b("span", null, J(e.text), 1)
4814
+ b("span", null, F(e.text), 1)
4804
4815
  ], 2));
4805
4816
  }
4806
4817
  });
4807
- const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img" }, gs = { class: "joy-snackbar__content" }, hs = { key: 0 }, _s = ["innerHTML"], ws = /* @__PURE__ */ L({
4818
+ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img" }, gs = { class: "joy-snackbar__content" }, hs = { key: 0 }, _s = ["innerHTML"], ws = /* @__PURE__ */ L({
4808
4819
  __name: "VJoySnackbar",
4809
4820
  props: {
4810
4821
  level: {
@@ -4853,7 +4864,7 @@ const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4853
4864
  const n = e, a = C(!0);
4854
4865
  let o, r;
4855
4866
  const l = "joy-snackbar-" + _e(), i = V(() => gn(n.level));
4856
- function s() {
4867
+ function u() {
4857
4868
  var v;
4858
4869
  (v = n.bus) == null || v.emit("snackbar:action-click");
4859
4870
  }
@@ -4868,9 +4879,9 @@ const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4868
4879
  a.value = !1;
4869
4880
  }
4870
4881
  function p() {
4871
- o = setTimeout(f, n.duration), u();
4882
+ o = setTimeout(f, n.duration), s();
4872
4883
  }
4873
- function u() {
4884
+ function s() {
4874
4885
  r = setTimeout(function() {
4875
4886
  var v;
4876
4887
  (v = n.bus) == null || v.emit("snackbar:hide");
@@ -4888,7 +4899,7 @@ const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4888
4899
  }), t({
4889
4900
  isOpen: a,
4890
4901
  exposedMethods: m
4891
- }), (v, h) => (y(), g("div", {
4902
+ }), (v, _) => (y(), g("div", {
4892
4903
  class: $(["joy-snackbar_container", {
4893
4904
  "joy-snackbar__frozen": e.frozen === !0,
4894
4905
  "joy-snackbar__hiding": !a.value
@@ -4902,15 +4913,15 @@ const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4902
4913
  U(T(W), { name: i.value }, null, 8, ["name"])
4903
4914
  ]),
4904
4915
  b("div", gs, [
4905
- e.header ? (y(), g("strong", hs, J(e.header), 1)) : x("", !0),
4916
+ e.header ? (y(), g("strong", hs, F(e.header), 1)) : x("", !0),
4906
4917
  b("span", { innerHTML: e.message }, null, 8, _s),
4907
4918
  e.actionText ? (y(), g("p", {
4908
4919
  key: 1,
4909
4920
  class: "joy-snackbar__trigger___action",
4910
- onClick: s
4911
- }, J(e.actionText), 1)) : x("", !0)
4921
+ onClick: u
4922
+ }, F(e.actionText), 1)) : x("", !0)
4912
4923
  ]),
4913
- e.closable ? (y(), E(T(de), {
4924
+ e.closable ? (y(), B(T(de), {
4914
4925
  key: 0,
4915
4926
  class: "joy-snackbar__close-icon",
4916
4927
  circle: "",
@@ -4923,7 +4934,7 @@ const ms = /* @__PURE__ */ B(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4923
4934
  ], 2));
4924
4935
  }
4925
4936
  });
4926
- const On = /* @__PURE__ */ B(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"], ks = { class: "joy-step__stroke" }, xs = { class: "joy-step__label" }, Cs = /* @__PURE__ */ L({
4937
+ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"], ks = { class: "joy-step__stroke" }, xs = { class: "joy-step__label" }, Cs = /* @__PURE__ */ L({
4927
4938
  __name: "VJoyStep",
4928
4939
  props: {
4929
4940
  completed: {
@@ -4950,12 +4961,12 @@ const On = /* @__PURE__ */ B(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4950
4961
  emits: ["update:subSteps"],
4951
4962
  setup(e, { expose: t, emit: n }) {
4952
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);
4953
- function i(s) {
4954
- s <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
4964
+ function i(u) {
4965
+ u <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
4955
4966
  }
4956
- return ee(() => a.subSteps, i), t({
4967
+ return Q(() => a.subSteps, i), t({
4957
4968
  progress: r
4958
- }), (s, d) => (y(), g("div", {
4969
+ }), (u, d) => (y(), g("div", {
4959
4970
  id: e.id,
4960
4971
  class: $([
4961
4972
  "joy-step",
@@ -4973,12 +4984,12 @@ const On = /* @__PURE__ */ B(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4973
4984
  }, null, 4)
4974
4985
  ]),
4975
4986
  b("span", xs, [
4976
- k(s.$slots, "default", {}, void 0, !0)
4987
+ k(u.$slots, "default", {}, void 0, !0)
4977
4988
  ])
4978
4989
  ], 10, Ss));
4979
4990
  }
4980
4991
  });
4981
- const Jn = /* @__PURE__ */ B(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { class: "joy-stepper" }, $s = /* @__PURE__ */ L({
4992
+ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { class: "joy-stepper" }, $s = /* @__PURE__ */ L({
4982
4993
  __name: "VJoyStepper",
4983
4994
  props: {
4984
4995
  step: {
@@ -4991,7 +5002,7 @@ const Jn = /* @__PURE__ */ B(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
4991
5002
  }
4992
5003
  },
4993
5004
  setup(e, { expose: t }) {
4994
- const n = e, a = Q(), o = V(() => {
5005
+ const n = e, a = X(), o = V(() => {
4995
5006
  const c = a.default();
4996
5007
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(r) : c.filter(r);
4997
5008
  });
@@ -4999,26 +5010,26 @@ const Jn = /* @__PURE__ */ B(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
4999
5010
  var f;
5000
5011
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyStep";
5001
5012
  }
5002
- const l = V(() => o.value[n.step - 1]), i = V(() => !s.value && !l.value.props ? !1 : n.subStep <= 0 || n.subStep > l.value.props["sub-steps"]), s = V(() => i.value ? l.value.props["sub-steps"] : n.subStep);
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);
5003
5014
  function d(c) {
5004
- return c !== n.step - 1 ? 0 : s.value;
5015
+ return c !== n.step - 1 ? 0 : u.value;
5005
5016
  }
5006
5017
  return t({
5007
- currentItemSubStep: s,
5018
+ currentItemSubStep: u,
5008
5019
  steps: o,
5009
5020
  invalidSubStepValue: i
5010
5021
  }), (c, f) => (y(), g("div", js, [
5011
- (y(!0), g(K, null, Y(o.value, (p, u) => {
5022
+ (y(!0), g(K, null, Y(o.value, (p, s) => {
5012
5023
  var m;
5013
- return y(), E(T(Jn), te(p.props, {
5024
+ return y(), B(T(Jn), te(p.props, {
5014
5025
  key: (m = p.props) == null ? void 0 : m.id,
5015
- completed: u < e.step - 1,
5016
- "current-sub-step": d(u)
5026
+ completed: s < e.step - 1,
5027
+ "current-sub-step": d(s)
5017
5028
  }), {
5018
5029
  default: M(() => {
5019
5030
  var v;
5020
5031
  return [
5021
- (v = p.children) != null && v.default ? (y(), E(oe(p.children.default), { key: 0 })) : x("", !0)
5032
+ (v = p.children) != null && v.default ? (y(), B(oe(p.children.default), { key: 0 })) : x("", !0)
5022
5033
  ];
5023
5034
  }),
5024
5035
  _: 2
@@ -5027,7 +5038,7 @@ const Jn = /* @__PURE__ */ B(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5027
5038
  ]));
5028
5039
  }
5029
5040
  });
5030
- const Vs = /* @__PURE__ */ B($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5041
+ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5031
5042
  __name: "VJoyTab",
5032
5043
  props: {
5033
5044
  /**
@@ -5069,7 +5080,7 @@ const Vs = /* @__PURE__ */ B($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5069
5080
  ], 10, Ts));
5070
5081
  }
5071
5082
  });
5072
- const Ls = /* @__PURE__ */ B(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5083
+ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5073
5084
  type: "button",
5074
5085
  tabindex: "-1"
5075
5086
  }, As = /* @__PURE__ */ L({
@@ -5132,7 +5143,7 @@ const Ls = /* @__PURE__ */ B(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5132
5143
  b("button", Bs, [
5133
5144
  b("div", null, [
5134
5145
  k(o.$slots, "default", {}, () => [
5135
- z(J(e.label), 1)
5146
+ z(F(e.label), 1)
5136
5147
  ], !0)
5137
5148
  ])
5138
5149
  ])
@@ -5140,7 +5151,7 @@ const Ls = /* @__PURE__ */ B(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5140
5151
  ], 40, Es));
5141
5152
  }
5142
5153
  });
5143
- const Ns = /* @__PURE__ */ B(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5154
+ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5144
5155
  __name: "VJoyTabs",
5145
5156
  props: {
5146
5157
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -5150,26 +5161,26 @@ const Ns = /* @__PURE__ */ B(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5150
5161
  },
5151
5162
  emits: ["update:selected-tab"],
5152
5163
  setup(e, { expose: t, emit: n }) {
5153
- const a = e, o = Q(), r = C(a.selectedTab);
5164
+ const a = e, o = X(), r = C(a.selectedTab);
5154
5165
  jt("VJoyTabs", r);
5155
- const l = C(null), i = C(null), s = C(!1), d = C(!1), c = V(() => {
5166
+ const l = C(null), i = C(null), u = C(!1), d = C(!1), c = V(() => {
5156
5167
  const v = o.default();
5157
5168
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(f) : v.filter(f);
5158
5169
  });
5159
5170
  function f(v) {
5160
- var h;
5161
- return ((h = v == null ? void 0 : v.type) == null ? void 0 : h.__name) === "VJoyTab";
5171
+ var _;
5172
+ return ((_ = v == null ? void 0 : v.type) == null ? void 0 : _.__name) === "VJoyTab";
5162
5173
  }
5163
5174
  function p(v) {
5164
5175
  return v.props.tab === r.value;
5165
5176
  }
5166
- function u() {
5167
- i.value && l.value && i.value.scrollWidth > l.value.offsetWidth ? (d.value = i.value.scrollLeft > 0, s.value = i.value.scrollLeft + l.value.offsetWidth < i.value.scrollWidth) : (d.value = !1, s.value = !1);
5177
+ 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);
5168
5179
  }
5169
- function m(v, h = !0) {
5170
- v && h && (r.value = v, n("update:selected-tab", v));
5180
+ function m(v, _ = !0) {
5181
+ v && _ && (r.value = v, n("update:selected-tab", v));
5171
5182
  }
5172
- return ee(
5183
+ return Q(
5173
5184
  () => a.selectedTab,
5174
5185
  (v) => {
5175
5186
  v && m(v);
@@ -5177,19 +5188,19 @@ const Ns = /* @__PURE__ */ B(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5177
5188
  { immediate: !0 }
5178
5189
  ), le(() => {
5179
5190
  var v;
5180
- u(), (v = i.value) == null || v.addEventListener("scroll", u);
5191
+ s(), (v = i.value) == null || v.addEventListener("scroll", s);
5181
5192
  }), Ne(() => {
5182
5193
  var v;
5183
- (v = i.value) == null || v.removeEventListener("scroll", u);
5194
+ (v = i.value) == null || v.removeEventListener("scroll", s);
5184
5195
  }), t({
5185
5196
  tabs: c
5186
- }), (v, h) => (y(), g("div", Os, [
5197
+ }), (v, _) => (y(), g("div", Os, [
5187
5198
  b("div", {
5188
5199
  ref_key: "buttonListWrapper",
5189
5200
  ref: l,
5190
5201
  class: $({
5191
5202
  "joy-tabs-buttons__wrapper": !0,
5192
- "joy-tabs-buttons__wrapper--scroll-end": s.value,
5203
+ "joy-tabs-buttons__wrapper--scroll-end": u.value,
5193
5204
  "joy-tabs-buttons__wrapper--scroll-start": d.value
5194
5205
  })
5195
5206
  }, [
@@ -5199,20 +5210,20 @@ const Ns = /* @__PURE__ */ B(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5199
5210
  class: "joy-tabs-buttons",
5200
5211
  role: "tablist"
5201
5212
  }, [
5202
- (y(!0), g(K, null, Y(c.value, (w) => (y(), g("div", {
5203
- key: w.props.tab
5213
+ (y(!0), g(K, null, Y(c.value, (h) => (y(), g("div", {
5214
+ key: h.props.tab
5204
5215
  }, [
5205
5216
  U(Ns, {
5206
- tab: w.props.tab,
5207
- label: w.props.label,
5208
- href: w.props.href,
5209
- selected: p(w),
5210
- onChangeTab: (A) => m(w.props.tab, !w.props.href)
5217
+ tab: h.props.tab,
5218
+ label: h.props.label,
5219
+ href: h.props.href,
5220
+ selected: p(h),
5221
+ onChangeTab: (E) => m(h.props.tab, !h.props.href)
5211
5222
  }, {
5212
5223
  default: M(() => {
5213
- var A;
5224
+ var E;
5214
5225
  return [
5215
- (A = w.children) != null && A.header ? (y(), E(oe(w.children.header), { key: 0 })) : x("", !0)
5226
+ (E = h.children) != null && E.header ? (y(), B(oe(h.children.header), { key: 0 })) : x("", !0)
5216
5227
  ];
5217
5228
  }),
5218
5229
  _: 2
@@ -5226,13 +5237,12 @@ const Ns = /* @__PURE__ */ B(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5226
5237
  ]));
5227
5238
  }
5228
5239
  });
5229
- const Fs = /* @__PURE__ */ B(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5240
+ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5230
5241
  __name: "VJoyTag",
5231
5242
  props: {
5232
5243
  /** Text injected within the tag */
5233
5244
  label: {
5234
- type: String,
5235
- required: !0
5245
+ type: String
5236
5246
  },
5237
5247
  size: {
5238
5248
  type: String,
@@ -5279,30 +5289,33 @@ const Fs = /* @__PURE__ */ B(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5279
5289
  function l() {
5280
5290
  t("click"), n.selectable && a.includes(n.variant) && t("selected", { selected: !n.selected, value: n.value });
5281
5291
  }
5282
- return (i, s) => (y(), g("span", {
5292
+ return (i, u) => (y(), g("span", {
5283
5293
  id: e.value,
5284
5294
  class: $([o.value]),
5285
5295
  role: e.link || e.selectable ? "button" : void 0,
5286
5296
  onClick: l
5287
5297
  }, [
5288
- e.draggable ? (y(), E(W, {
5289
- key: 0,
5290
- class: "joy-tag__drag",
5291
- name: "drag",
5292
- size: "xxsmall"
5293
- })) : x("", !0),
5294
- z(" " + J(e.label) + " ", 1),
5295
- e.removable ? (y(), E(W, {
5296
- key: 1,
5297
- class: "joy-tag__removable",
5298
- name: "cross",
5299
- size: "xxsmall",
5300
- onClick: oa(r, ["stop"])
5301
- }, null, 8, ["onClick"])) : x("", !0)
5298
+ k(i.$slots, "default", {}, () => [
5299
+ e.draggable ? (y(), B(W, {
5300
+ key: 0,
5301
+ class: "joy-tag__drag",
5302
+ name: "drag",
5303
+ size: "xxsmall"
5304
+ })) : x("", !0),
5305
+ z(" " + F(e.label) + " ", 1),
5306
+ e.removable ? (y(), B(W, {
5307
+ key: 1,
5308
+ class: "joy-tag__removable",
5309
+ name: "cross",
5310
+ size: "xxsmall",
5311
+ role: "button",
5312
+ onClick: oa(r, ["stop"])
5313
+ }, null, 8, ["onClick"])) : x("", !0)
5314
+ ], !0)
5302
5315
  ], 10, Ps));
5303
5316
  }
5304
5317
  });
5305
- const Fn = /* @__PURE__ */ B(Rs, [["__scopeId", "data-v-9770b43b"]]), Ds = /* @__PURE__ */ L({
5318
+ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @__PURE__ */ L({
5306
5319
  __name: "VJoyTagsList",
5307
5320
  props: {
5308
5321
  align: {
@@ -5338,27 +5351,27 @@ const Fn = /* @__PURE__ */ B(Rs, [["__scopeId", "data-v-9770b43b"]]), Ds = /* @_
5338
5351
  emits: ["update:modelValue", "removeTag"],
5339
5352
  setup(e, { emit: t }) {
5340
5353
  const n = e;
5341
- function a(s) {
5354
+ function a(u) {
5342
5355
  var d;
5343
- return n.removable ? !1 : (d = n.modelValue) == null ? void 0 : d.includes(s.value);
5356
+ return n.removable ? !1 : (d = n.modelValue) == null ? void 0 : d.includes(u.value);
5344
5357
  }
5345
- function o(s) {
5346
- return !n.modelValue || n.removable || s.removable ? !1 : s.selectable !== void 0 ? s.selectable : n.selectable;
5358
+ function o(u) {
5359
+ return !n.modelValue || n.removable || u.removable ? !1 : u.selectable !== void 0 ? u.selectable : n.selectable;
5347
5360
  }
5348
- function r(s) {
5349
- return s.removable !== void 0 ? s.removable : n.removable;
5361
+ function r(u) {
5362
+ return u.removable !== void 0 ? u.removable : n.removable;
5350
5363
  }
5351
- function l(s, d) {
5364
+ function l(u, d) {
5352
5365
  let c = [];
5353
- s.selected && !a(d) ? c = [...n.modelValue || [], d.value] : c = (n.modelValue || []).filter((f) => f !== d.value), t("update:modelValue", c);
5366
+ u.selected && !a(d) ? c = [...n.modelValue || [], d.value] : c = (n.modelValue || []).filter((f) => f !== d.value), t("update:modelValue", c);
5354
5367
  }
5355
- function i(s) {
5356
- t("removeTag", s.value);
5368
+ function i(u) {
5369
+ t("removeTag", u.value);
5357
5370
  }
5358
- return (s, d) => (y(), g("div", {
5371
+ return (u, d) => (y(), g("div", {
5359
5372
  class: $(["joy-tags-list", `joy-tags-list--${e.align}`])
5360
5373
  }, [
5361
- (y(!0), g(K, null, Y(e.tags, (c) => (y(), E(Fn, te({
5374
+ (y(!0), g(K, null, Y(e.tags, (c) => (y(), B(Fn, te({
5362
5375
  key: c.value || c.label
5363
5376
  }, c, {
5364
5377
  selectable: o(c),
@@ -5371,7 +5384,7 @@ const Fn = /* @__PURE__ */ B(Rs, [["__scopeId", "data-v-9770b43b"]]), Ds = /* @_
5371
5384
  ], 2));
5372
5385
  }
5373
5386
  });
5374
- const Ms = /* @__PURE__ */ B(Ds, [["__scopeId", "data-v-5be625a7"]]);
5387
+ const Ms = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-8d9a3ff0"]]);
5375
5388
  const zs = {}, qs = {
5376
5389
  class: /* @__PURE__ */ $(["joy-template-shape__shapes"])
5377
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 = [
@@ -5380,7 +5393,7 @@ const zs = {}, qs = {
5380
5393
  function Us(e, t) {
5381
5394
  return y(), g("div", qs, Ws);
5382
5395
  }
5383
- const Pn = /* @__PURE__ */ B(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5396
+ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5384
5397
  key: 0,
5385
5398
  class: "joy-template__heading"
5386
5399
  }, Ys = {
@@ -5420,11 +5433,11 @@ const Pn = /* @__PURE__ */ B(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5420
5433
  }
5421
5434
  },
5422
5435
  setup(e) {
5423
- const t = e, n = Q(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
5436
+ const t = e, n = X(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
5424
5437
  return (o, r) => (y(), g("main", {
5425
5438
  class: $(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
5426
5439
  }, [
5427
- e.shapes ? (y(), E(Pn, { key: 0 })) : x("", !0),
5440
+ e.shapes ? (y(), B(Pn, { key: 0 })) : x("", !0),
5428
5441
  b("div", Gs, [
5429
5442
  a.value ? (y(), g("div", Ks, [
5430
5443
  T(n)["template-back"] ? (y(), g("div", Ys, [
@@ -5458,7 +5471,7 @@ const Pn = /* @__PURE__ */ B(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5458
5471
  ])) : x("", !0)
5459
5472
  ], 2)
5460
5473
  ]),
5461
- e.loading ? (y(), E(At, {
5474
+ e.loading ? (y(), B(At, {
5462
5475
  key: 1,
5463
5476
  overlay: "",
5464
5477
  color: e.loadingColor
@@ -5471,7 +5484,7 @@ const Pn = /* @__PURE__ */ B(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5471
5484
  ], 2));
5472
5485
  }
5473
5486
  });
5474
- const ou = /* @__PURE__ */ B(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5487
+ const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5475
5488
  __name: "VJoyText",
5476
5489
  props: {
5477
5490
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -5486,7 +5499,7 @@ const ou = /* @__PURE__ */ B(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5486
5499
  }
5487
5500
  },
5488
5501
  setup(e) {
5489
- return (t, n) => (y(), E(oe(e.tagName), {
5502
+ return (t, n) => (y(), B(oe(e.tagName), {
5490
5503
  class: $(`joy-text joy-font-${e.preset}`)
5491
5504
  }, {
5492
5505
  default: M(() => [
@@ -5496,7 +5509,7 @@ const ou = /* @__PURE__ */ B(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5496
5509
  }, 8, ["class"]));
5497
5510
  }
5498
5511
  });
5499
- const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["aria-disabled"], su = { class: "joy-textarea_wrapper" }, uu = ["id", "disabled", "name", "required", "minlength", "value"], cu = {
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 = {
5500
5513
  key: 0,
5501
5514
  class: "joy-textarea_helpers"
5502
5515
  }, du = {
@@ -5564,7 +5577,7 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5564
5577
  element: a.autogrow ? o : void 0
5565
5578
  }), l = C(!1), i = C(!1);
5566
5579
  Bt(o, a.autofocus);
5567
- const s = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), d = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), c = {
5580
+ const u = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), d = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), c = {
5568
5581
  onInput: (f) => {
5569
5582
  a.modelModifiers.lazy || n("update:modelValue", f.target.value), r();
5570
5583
  },
@@ -5572,7 +5585,7 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5572
5585
  a.modelModifiers.lazy && n("update:modelValue", f.target.value);
5573
5586
  },
5574
5587
  onBlur: () => {
5575
- i.value = !1, l.value = s.value || d.value;
5588
+ i.value = !1, l.value = u.value || d.value;
5576
5589
  },
5577
5590
  onFocus: () => {
5578
5591
  i.value = !0;
@@ -5580,7 +5593,7 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5580
5593
  };
5581
5594
  return t({
5582
5595
  isInvalid: l,
5583
- valueOverMaxlength: s,
5596
+ valueOverMaxlength: u,
5584
5597
  valueUnderMinlength: d
5585
5598
  }), (f, p) => (y(), g("div", {
5586
5599
  "aria-disabled": e.disabled,
@@ -5602,7 +5615,7 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5602
5615
  }, {
5603
5616
  default: M(() => [
5604
5617
  k(f.$slots, "default", {}, () => [
5605
- z(J(e.label), 1)
5618
+ z(F(e.label), 1)
5606
5619
  ], !0)
5607
5620
  ]),
5608
5621
  _: 3
@@ -5619,13 +5632,13 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5619
5632
  minlength: e.minlength,
5620
5633
  value: e.modelValue,
5621
5634
  onInput: p[0] || (p[0] = //@ts-ignore
5622
- (...u) => c.onInput && c.onInput(...u)),
5635
+ (...s) => c.onInput && c.onInput(...s)),
5623
5636
  onChange: p[1] || (p[1] = //@ts-ignore
5624
- (...u) => c.onChange && c.onChange(...u)),
5637
+ (...s) => c.onChange && c.onChange(...s)),
5625
5638
  onFocus: p[2] || (p[2] = //@ts-ignore
5626
- (...u) => c.onFocus && c.onFocus(...u)),
5639
+ (...s) => c.onFocus && c.onFocus(...s)),
5627
5640
  onBlur: p[3] || (p[3] = //@ts-ignore
5628
- (...u) => c.onBlur && c.onBlur(...u))
5641
+ (...s) => c.onBlur && c.onBlur(...s))
5629
5642
  }), null, 16, uu)
5630
5643
  ]),
5631
5644
  e.minlength || e.maxlength ? (y(), g("div", cu, [
@@ -5633,23 +5646,23 @@ const ru = /* @__PURE__ */ B(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5633
5646
  key: 0,
5634
5647
  class: $(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
5635
5648
  }, [
5636
- d.value ? x("", !0) : (y(), E(W, {
5649
+ d.value ? x("", !0) : (y(), B(W, {
5637
5650
  key: 0,
5638
5651
  name: "check",
5639
5652
  color: "neutral",
5640
5653
  size: "xxsmall"
5641
5654
  })),
5642
- z(" " + J(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
5655
+ z(" " + F(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
5643
5656
  ], 2)) : x("", !0),
5644
5657
  e.maxlength ? (y(), g("p", {
5645
5658
  key: 1,
5646
- class: $(["joy-textarea-count", { "joy-textarea-count-invalid": s.value }])
5647
- }, J(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5659
+ class: $(["joy-textarea-count", { "joy-textarea-count-invalid": u.value }])
5660
+ }, F(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5648
5661
  ])) : x("", !0)
5649
5662
  ], 10, iu));
5650
5663
  }
5651
5664
  });
5652
- const yu = /* @__PURE__ */ B(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" }, [
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" }, [
5653
5666
  /* @__PURE__ */ b("svg", {
5654
5667
  width: "18",
5655
5668
  height: "10",
@@ -5741,7 +5754,7 @@ const yu = /* @__PURE__ */ B(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5741
5754
  bu,
5742
5755
  b("span", gu, [
5743
5756
  k(o.$slots, "default", {}, () => [
5744
- z(J(e.label), 1)
5757
+ z(F(e.label), 1)
5745
5758
  ], !0)
5746
5759
  ]),
5747
5760
  hu
@@ -5750,7 +5763,7 @@ const yu = /* @__PURE__ */ B(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5750
5763
  ]));
5751
5764
  }
5752
5765
  });
5753
- const wu = /* @__PURE__ */ B(_u, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5766
+ const wu = /* @__PURE__ */ A(_u, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5754
5767
  x: e,
5755
5768
  y: e
5756
5769
  }), Su = {
@@ -5851,48 +5864,48 @@ function un(e, t, n) {
5851
5864
  reference: a,
5852
5865
  floating: o
5853
5866
  } = e;
5854
- const r = We(t), l = Jt(t), i = Ot(l), s = 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;
5855
- let u;
5856
- switch (s) {
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;
5868
+ let s;
5869
+ switch (u) {
5857
5870
  case "top":
5858
- u = {
5871
+ s = {
5859
5872
  x: c,
5860
5873
  y: a.y - o.height
5861
5874
  };
5862
5875
  break;
5863
5876
  case "bottom":
5864
- u = {
5877
+ s = {
5865
5878
  x: c,
5866
5879
  y: a.y + a.height
5867
5880
  };
5868
5881
  break;
5869
5882
  case "right":
5870
- u = {
5883
+ s = {
5871
5884
  x: a.x + a.width,
5872
5885
  y: f
5873
5886
  };
5874
5887
  break;
5875
5888
  case "left":
5876
- u = {
5889
+ s = {
5877
5890
  x: a.x - o.width,
5878
5891
  y: f
5879
5892
  };
5880
5893
  break;
5881
5894
  default:
5882
- u = {
5895
+ s = {
5883
5896
  x: a.x,
5884
5897
  y: a.y
5885
5898
  };
5886
5899
  }
5887
5900
  switch (He(t)) {
5888
5901
  case "start":
5889
- u[l] -= p * (n && d ? -1 : 1);
5902
+ s[l] -= p * (n && d ? -1 : 1);
5890
5903
  break;
5891
5904
  case "end":
5892
- u[l] += p * (n && d ? -1 : 1);
5905
+ s[l] += p * (n && d ? -1 : 1);
5893
5906
  break;
5894
5907
  }
5895
- return u;
5908
+ return s;
5896
5909
  }
5897
5910
  const Tu = async (e, t, n) => {
5898
5911
  const {
@@ -5900,7 +5913,7 @@ const Tu = async (e, t, n) => {
5900
5913
  strategy: o = "absolute",
5901
5914
  middleware: r = [],
5902
5915
  platform: l
5903
- } = n, i = r.filter(Boolean), s = await (l.isRTL == null ? void 0 : l.isRTL(t));
5916
+ } = n, i = r.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
5904
5917
  let d = await l.getElementRects({
5905
5918
  reference: e,
5906
5919
  floating: t,
@@ -5908,23 +5921,23 @@ const Tu = async (e, t, n) => {
5908
5921
  }), {
5909
5922
  x: c,
5910
5923
  y: f
5911
- } = un(d, a, s), p = a, u = {}, m = 0;
5924
+ } = un(d, a, u), p = a, s = {}, m = 0;
5912
5925
  for (let v = 0; v < i.length; v++) {
5913
5926
  const {
5914
- name: h,
5915
- fn: w
5927
+ name: _,
5928
+ fn: h
5916
5929
  } = i[v], {
5917
- x: A,
5918
- y: P,
5919
- data: F,
5930
+ x: E,
5931
+ y: N,
5932
+ data: P,
5920
5933
  reset: j
5921
- } = await w({
5934
+ } = await h({
5922
5935
  x: c,
5923
5936
  y: f,
5924
5937
  initialPlacement: a,
5925
5938
  placement: p,
5926
5939
  strategy: o,
5927
- middlewareData: u,
5940
+ middlewareData: s,
5928
5941
  rects: d,
5929
5942
  platform: l,
5930
5943
  elements: {
@@ -5932,11 +5945,11 @@ const Tu = async (e, t, n) => {
5932
5945
  floating: t
5933
5946
  }
5934
5947
  });
5935
- if (c = A ?? c, f = P ?? f, u = {
5936
- ...u,
5937
- [h]: {
5938
- ...u[h],
5939
- ...F
5948
+ if (c = E ?? c, f = N ?? f, s = {
5949
+ ...s,
5950
+ [_]: {
5951
+ ...s[_],
5952
+ ...P
5940
5953
  }
5941
5954
  }, j && m <= 50) {
5942
5955
  m++, typeof j == "object" && (j.placement && (p = j.placement), j.rects && (d = j.rects === !0 ? await l.getElementRects({
@@ -5946,7 +5959,7 @@ const Tu = async (e, t, n) => {
5946
5959
  }) : j.rects), {
5947
5960
  x: c,
5948
5961
  y: f
5949
- } = un(d, p, s)), v = -1;
5962
+ } = un(d, p, u)), v = -1;
5950
5963
  continue;
5951
5964
  }
5952
5965
  }
@@ -5955,7 +5968,7 @@ const Tu = async (e, t, n) => {
5955
5968
  y: f,
5956
5969
  placement: p,
5957
5970
  strategy: o,
5958
- middlewareData: u
5971
+ middlewareData: s
5959
5972
  };
5960
5973
  };
5961
5974
  async function Mn(e, t) {
@@ -5967,38 +5980,38 @@ async function Mn(e, t) {
5967
5980
  platform: r,
5968
5981
  rects: l,
5969
5982
  elements: i,
5970
- strategy: s
5983
+ strategy: u
5971
5984
  } = e, {
5972
5985
  boundary: d = "clippingAncestors",
5973
5986
  rootBoundary: c = "viewport",
5974
5987
  elementContext: f = "floating",
5975
5988
  altBoundary: p = !1,
5976
- padding: u = 0
5977
- } = Ce(t, e), m = Dn(u), h = i[p ? f === "floating" ? "reference" : "floating" : f], w = at(await r.getClippingRect({
5978
- element: (n = await (r.isElement == null ? void 0 : r.isElement(h))) == null || n ? h : h.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
5989
+ 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)),
5979
5992
  boundary: d,
5980
5993
  rootBoundary: c,
5981
- strategy: s
5982
- })), A = f === "floating" ? {
5994
+ strategy: u
5995
+ })), E = f === "floating" ? {
5983
5996
  ...l.floating,
5984
5997
  x: a,
5985
5998
  y: o
5986
- } : l.reference, P = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), F = await (r.isElement == null ? void 0 : r.isElement(P)) ? await (r.getScale == null ? void 0 : r.getScale(P)) || {
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)) || {
5987
6000
  x: 1,
5988
6001
  y: 1
5989
6002
  } : {
5990
6003
  x: 1,
5991
6004
  y: 1
5992
6005
  }, j = at(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
5993
- rect: A,
5994
- offsetParent: P,
5995
- strategy: s
5996
- }) : A);
6006
+ rect: E,
6007
+ offsetParent: N,
6008
+ strategy: u
6009
+ }) : E);
5997
6010
  return {
5998
- top: (w.top - j.top + m.top) / F.y,
5999
- bottom: (j.bottom - w.bottom + m.bottom) / F.y,
6000
- left: (w.left - j.left + m.left) / F.x,
6001
- right: (j.right - w.right + m.right) / F.x
6011
+ top: (h.top - j.top + m.top) / P.y,
6012
+ bottom: (j.bottom - h.bottom + m.bottom) / P.y,
6013
+ left: (h.left - j.left + m.left) / P.x,
6014
+ right: (j.right - h.right + m.right) / P.x
6002
6015
  };
6003
6016
  }
6004
6017
  const Iu = (e) => ({
@@ -6012,7 +6025,7 @@ const Iu = (e) => ({
6012
6025
  rects: r,
6013
6026
  platform: l,
6014
6027
  elements: i,
6015
- middlewareData: s
6028
+ middlewareData: u
6016
6029
  } = t, {
6017
6030
  element: d,
6018
6031
  padding: c = 0
@@ -6022,14 +6035,14 @@ const Iu = (e) => ({
6022
6035
  const f = Dn(c), p = {
6023
6036
  x: n,
6024
6037
  y: a
6025
- }, u = Jt(o), m = Ot(u), v = await l.getDimensions(d), h = u === "y", w = h ? "top" : "left", A = h ? "bottom" : "right", P = h ? "clientHeight" : "clientWidth", F = r.reference[m] + r.reference[u] - p[u] - r.floating[m], j = p[u] - r.reference[u], N = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6026
- let O = N ? N[P] : 0;
6027
- (!O || !await (l.isElement == null ? void 0 : l.isElement(N))) && (O = i.floating[P] || r.floating[m]);
6028
- const re = F / 2 - j / 2, ie = O / 2 - v[m] / 2 - 1, ue = De(f[w], ie), H = De(f[A], ie), _ = ue, S = O - v[m] - H, I = O / 2 - v[m] / 2 + re, R = bt(_, I, S), D = !s.arrow && He(o) != null && I != R && r.reference[m] / 2 - (I < _ ? ue : H) - v[m] / 2 < 0, q = D ? I < _ ? I - _ : I - S : 0;
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));
6039
+ 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;
6029
6042
  return {
6030
- [u]: p[u] + q,
6043
+ [s]: p[s] + q,
6031
6044
  data: {
6032
- [u]: R,
6045
+ [s]: R,
6033
6046
  centerOffset: I - R - q,
6034
6047
  ...D && {
6035
6048
  alignmentOffset: q
@@ -6049,37 +6062,37 @@ const Iu = (e) => ({
6049
6062
  middlewareData: r,
6050
6063
  rects: l,
6051
6064
  initialPlacement: i,
6052
- platform: s,
6065
+ platform: u,
6053
6066
  elements: d
6054
6067
  } = t, {
6055
6068
  mainAxis: c = !0,
6056
6069
  crossAxis: f = !0,
6057
6070
  fallbackPlacements: p,
6058
- fallbackStrategy: u = "bestFit",
6071
+ fallbackStrategy: s = "bestFit",
6059
6072
  fallbackAxisSideDirection: m = "none",
6060
6073
  flipAlignment: v = !0,
6061
- ...h
6074
+ ..._
6062
6075
  } = Ce(e, t);
6063
6076
  if ((n = r.arrow) != null && n.alignmentOffset)
6064
6077
  return {};
6065
- const w = ge(o), A = ge(i) === i, P = await (s.isRTL == null ? void 0 : s.isRTL(d.floating)), F = p || (A || !v ? [nt(i)] : Cu(i));
6066
- !p && m !== "none" && F.push(...$u(i, v, m, P));
6067
- const j = [i, ...F], N = await Mn(t, h), O = [];
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 = [];
6068
6081
  let re = ((a = r.flip) == null ? void 0 : a.overflows) || [];
6069
- if (c && O.push(N[w]), f) {
6070
- const _ = xu(o, l, P);
6071
- O.push(N[_[0]], N[_[1]]);
6082
+ if (c && J.push(O[h]), f) {
6083
+ const w = xu(o, l, N);
6084
+ J.push(O[w[0]], O[w[1]]);
6072
6085
  }
6073
6086
  if (re = [...re, {
6074
6087
  placement: o,
6075
- overflows: O
6076
- }], !O.every((_) => _ <= 0)) {
6088
+ overflows: J
6089
+ }], !J.every((w) => w <= 0)) {
6077
6090
  var ie, ue;
6078
- const _ = (((ie = r.flip) == null ? void 0 : ie.index) || 0) + 1, S = j[_];
6091
+ const w = (((ie = r.flip) == null ? void 0 : ie.index) || 0) + 1, S = j[w];
6079
6092
  if (S)
6080
6093
  return {
6081
6094
  data: {
6082
- index: _,
6095
+ index: w,
6083
6096
  overflows: re
6084
6097
  },
6085
6098
  reset: {
@@ -6088,7 +6101,7 @@ const Iu = (e) => ({
6088
6101
  };
6089
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;
6090
6103
  if (!I)
6091
- switch (u) {
6104
+ switch (s) {
6092
6105
  case "bestFit": {
6093
6106
  var H;
6094
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];
@@ -6115,10 +6128,10 @@ async function Eu(e, t) {
6115
6128
  placement: n,
6116
6129
  platform: a,
6117
6130
  elements: o
6118
- } = e, r = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = ge(n), i = He(n), s = We(n) === "y", d = ["left", "top"].includes(l) ? -1 : 1, c = r && s ? -1 : 1, f = Ce(t, e);
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);
6119
6132
  let {
6120
6133
  mainAxis: p,
6121
- crossAxis: u,
6134
+ crossAxis: s,
6122
6135
  alignmentAxis: m
6123
6136
  } = typeof f == "number" ? {
6124
6137
  mainAxis: f,
@@ -6130,12 +6143,12 @@ async function Eu(e, t) {
6130
6143
  alignmentAxis: null,
6131
6144
  ...f
6132
6145
  };
6133
- return i && typeof m == "number" && (u = i === "end" ? m * -1 : m), s ? {
6134
- x: u * c,
6146
+ return i && typeof m == "number" && (s = i === "end" ? m * -1 : m), u ? {
6147
+ x: s * c,
6135
6148
  y: p * d
6136
6149
  } : {
6137
6150
  x: p * d,
6138
- y: u * c
6151
+ y: s * c
6139
6152
  };
6140
6153
  }
6141
6154
  const Bu = function(e) {
@@ -6167,34 +6180,34 @@ const Bu = function(e) {
6167
6180
  mainAxis: r = !0,
6168
6181
  crossAxis: l = !1,
6169
6182
  limiter: i = {
6170
- fn: (h) => {
6183
+ fn: (_) => {
6171
6184
  let {
6172
- x: w,
6173
- y: A
6174
- } = h;
6185
+ x: h,
6186
+ y: E
6187
+ } = _;
6175
6188
  return {
6176
- x: w,
6177
- y: A
6189
+ x: h,
6190
+ y: E
6178
6191
  };
6179
6192
  }
6180
6193
  },
6181
- ...s
6194
+ ...u
6182
6195
  } = Ce(e, t), d = {
6183
6196
  x: n,
6184
6197
  y: a
6185
- }, c = await Mn(t, s), f = We(ge(o)), p = Nt(f);
6186
- let u = d[p], m = d[f];
6198
+ }, c = await Mn(t, u), f = We(ge(o)), p = Nt(f);
6199
+ let s = d[p], m = d[f];
6187
6200
  if (r) {
6188
- const h = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", A = u + c[h], P = u - c[w];
6189
- u = bt(A, u, P);
6201
+ const _ = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", E = s + c[_], N = s - c[h];
6202
+ s = bt(E, s, N);
6190
6203
  }
6191
6204
  if (l) {
6192
- const h = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", A = m + c[h], P = m - c[w];
6193
- m = bt(A, m, P);
6205
+ const _ = f === "y" ? "top" : "left", h = f === "y" ? "bottom" : "right", E = m + c[_], N = m - c[h];
6206
+ m = bt(E, m, N);
6194
6207
  }
6195
6208
  const v = i.fn({
6196
6209
  ...t,
6197
- [p]: u,
6210
+ [p]: s,
6198
6211
  [f]: m
6199
6212
  });
6200
6213
  return {
@@ -6218,14 +6231,14 @@ const Bu = function(e) {
6218
6231
  middlewareData: l
6219
6232
  } = t, {
6220
6233
  offset: i = 0,
6221
- mainAxis: s = !0,
6234
+ mainAxis: u = !0,
6222
6235
  crossAxis: d = !0
6223
6236
  } = Ce(e, t), c = {
6224
6237
  x: n,
6225
6238
  y: a
6226
6239
  }, f = We(o), p = Nt(f);
6227
- let u = c[p], m = c[f];
6228
- const v = Ce(i, t), h = typeof v == "number" ? {
6240
+ let s = c[p], m = c[f];
6241
+ const v = Ce(i, t), _ = typeof v == "number" ? {
6229
6242
  mainAxis: v,
6230
6243
  crossAxis: 0
6231
6244
  } : {
@@ -6233,17 +6246,17 @@ const Bu = function(e) {
6233
6246
  crossAxis: 0,
6234
6247
  ...v
6235
6248
  };
6236
- if (s) {
6237
- const P = p === "y" ? "height" : "width", F = r.reference[p] - r.floating[P] + h.mainAxis, j = r.reference[p] + r.reference[P] - h.mainAxis;
6238
- u < F ? u = F : u > j && (u = j);
6249
+ 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;
6251
+ s < P ? s = P : s > j && (s = j);
6239
6252
  }
6240
6253
  if (d) {
6241
- var w, A;
6242
- const P = p === "y" ? "width" : "height", F = ["top", "left"].includes(ge(o)), j = r.reference[f] - r.floating[P] + (F && ((w = l.offset) == null ? void 0 : w[f]) || 0) + (F ? 0 : h.crossAxis), N = r.reference[f] + r.reference[P] + (F ? 0 : ((A = l.offset) == null ? void 0 : A[f]) || 0) - (F ? h.crossAxis : 0);
6243
- m < j ? m = j : m > N && (m = N);
6254
+ 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);
6256
+ m < j ? m = j : m > O && (m = O);
6244
6257
  }
6245
6258
  return {
6246
- [p]: u,
6259
+ [p]: s,
6247
6260
  [f]: m
6248
6261
  };
6249
6262
  }
@@ -6382,19 +6395,19 @@ function Me(e, t, n, a) {
6382
6395
  let l = be(1);
6383
6396
  t && (a ? ve(a) && (l = Le(a)) : l = Le(e));
6384
6397
  const i = Pu(r, n, a) ? Un(r) : be(0);
6385
- let s = (o.left + i.x) / l.x, d = (o.top + i.y) / l.y, c = o.width / l.x, f = o.height / l.y;
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;
6386
6399
  if (r) {
6387
- const p = ae(r), u = a && ve(a) ? ae(a) : a;
6400
+ const p = ae(r), s = a && ve(a) ? ae(a) : a;
6388
6401
  let m = p.frameElement;
6389
- for (; m && a && u !== p; ) {
6390
- const v = Le(m), h = m.getBoundingClientRect(), w = se(m), A = h.left + (m.clientLeft + parseFloat(w.paddingLeft)) * v.x, P = h.top + (m.clientTop + parseFloat(w.paddingTop)) * v.y;
6391
- s *= v.x, d *= v.y, c *= v.x, f *= v.y, s += A, d += P, m = ae(m).frameElement;
6402
+ for (; m && a && s !== p; ) {
6403
+ 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;
6404
+ u *= v.x, d *= v.y, c *= v.x, f *= v.y, u += E, d += N, m = ae(m).frameElement;
6392
6405
  }
6393
6406
  }
6394
6407
  return at({
6395
6408
  width: c,
6396
6409
  height: f,
6397
- x: s,
6410
+ x: u,
6398
6411
  y: d
6399
6412
  });
6400
6413
  }
@@ -6411,16 +6424,16 @@ function Ru(e) {
6411
6424
  scrollLeft: 0,
6412
6425
  scrollTop: 0
6413
6426
  }, i = be(1);
6414
- const s = be(0);
6427
+ const u = be(0);
6415
6428
  if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(r)) && (l = ct(n)), ye(n))) {
6416
6429
  const d = Me(n);
6417
- i = Le(n), s.x = d.x + n.clientLeft, s.y = d.y + n.clientTop;
6430
+ i = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6418
6431
  }
6419
6432
  return {
6420
6433
  width: t.width * i.x,
6421
6434
  height: t.height * i.y,
6422
- x: t.x * i.x - l.scrollLeft * i.x + s.x,
6423
- y: t.y * i.y - l.scrollTop * i.y + s.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
6424
6437
  };
6425
6438
  }
6426
6439
  function Du(e) {
@@ -6442,25 +6455,25 @@ function Mu(e) {
6442
6455
  }
6443
6456
  function zu(e, t) {
6444
6457
  const n = ae(e), a = we(e), o = n.visualViewport;
6445
- let r = a.clientWidth, l = a.clientHeight, i = 0, s = 0;
6458
+ let r = a.clientWidth, l = a.clientHeight, i = 0, u = 0;
6446
6459
  if (o) {
6447
6460
  r = o.width, l = o.height;
6448
6461
  const d = Pt();
6449
- (!d || d && t === "fixed") && (i = o.offsetLeft, s = o.offsetTop);
6462
+ (!d || d && t === "fixed") && (i = o.offsetLeft, u = o.offsetTop);
6450
6463
  }
6451
6464
  return {
6452
6465
  width: r,
6453
6466
  height: l,
6454
6467
  x: i,
6455
- y: s
6468
+ y: u
6456
6469
  };
6457
6470
  }
6458
6471
  function qu(e, t) {
6459
- 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, s = o * r.x, d = a * r.y;
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;
6460
6473
  return {
6461
6474
  width: l,
6462
6475
  height: i,
6463
- x: s,
6476
+ x: u,
6464
6477
  y: d
6465
6478
  };
6466
6479
  }
@@ -6494,8 +6507,8 @@ function Hu(e, t) {
6494
6507
  const r = se(e).position === "fixed";
6495
6508
  let l = r ? Be(e) : e;
6496
6509
  for (; ve(l) && !ut(l); ) {
6497
- const i = se(l), s = Ft(l);
6498
- !s && i.position === "fixed" && (o = null), (r ? !s && !o : !s && i.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ue(l) && !s && Kn(e, l)) ? a = a.filter((c) => c !== l) : o = i, l = Be(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);
6499
6512
  }
6500
6513
  return t.set(e, a), a;
6501
6514
  }
@@ -6506,15 +6519,15 @@ function Wu(e) {
6506
6519
  rootBoundary: a,
6507
6520
  strategy: o
6508
6521
  } = e;
6509
- const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], i = l[0], s = l.reduce((d, c) => {
6522
+ const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], i = l[0], u = l.reduce((d, c) => {
6510
6523
  const f = dn(t, c, o);
6511
6524
  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;
6512
6525
  }, dn(t, i, o));
6513
6526
  return {
6514
- width: s.right - s.left,
6515
- height: s.bottom - s.top,
6516
- x: s.left,
6517
- y: s.top
6527
+ width: u.right - u.left,
6528
+ height: u.bottom - u.top,
6529
+ x: u.left,
6530
+ y: u.top
6518
6531
  };
6519
6532
  }
6520
6533
  function Uu(e) {
@@ -6526,16 +6539,16 @@ function Gu(e, t, n) {
6526
6539
  scrollLeft: 0,
6527
6540
  scrollTop: 0
6528
6541
  };
6529
- const s = be(0);
6542
+ const u = be(0);
6530
6543
  if (a || !a && !r)
6531
6544
  if ((he(t) !== "body" || Ue(o)) && (i = ct(t)), a) {
6532
6545
  const d = Me(t, !0, r, t);
6533
- s.x = d.x + t.clientLeft, s.y = d.y + t.clientTop;
6546
+ u.x = d.x + t.clientLeft, u.y = d.y + t.clientTop;
6534
6547
  } else
6535
- o && (s.x = Gn(o));
6548
+ o && (u.x = Gn(o));
6536
6549
  return {
6537
- x: l.left + i.scrollLeft - s.x,
6538
- y: l.top + i.scrollTop - s.y,
6550
+ x: l.left + i.scrollLeft - u.x,
6551
+ y: l.top + i.scrollTop - u.y,
6539
6552
  width: l.width,
6540
6553
  height: l.height
6541
6554
  };
@@ -6622,79 +6635,79 @@ function yn(e, t) {
6622
6635
  function ec(e, t, n) {
6623
6636
  n === void 0 && (n = {});
6624
6637
  const a = n.whileElementsMounted, o = V(() => {
6625
- var O;
6626
- return (O = T(n.open)) != null ? O : !0;
6638
+ var J;
6639
+ return (J = T(n.open)) != null ? J : !0;
6627
6640
  }), r = V(() => T(n.middleware)), l = V(() => {
6628
- var O;
6629
- return (O = T(n.placement)) != null ? O : "bottom";
6641
+ var J;
6642
+ return (J = T(n.placement)) != null ? J : "bottom";
6630
6643
  }), i = V(() => {
6631
- var O;
6632
- return (O = T(n.strategy)) != null ? O : "absolute";
6633
- }), s = V(() => {
6634
- var O;
6635
- return (O = T(n.transform)) != null ? O : !0;
6636
- }), d = V(() => _t(e.value)), c = V(() => _t(t.value)), f = C(0), p = C(0), u = C(i.value), m = C(l.value), v = la({}), h = C(!1), w = V(() => {
6637
- const O = {
6638
- position: u.value,
6644
+ var J;
6645
+ return (J = T(n.strategy)) != null ? J : "absolute";
6646
+ }), u = V(() => {
6647
+ var J;
6648
+ 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(() => {
6650
+ const J = {
6651
+ position: s.value,
6639
6652
  left: "0",
6640
6653
  top: "0"
6641
6654
  };
6642
6655
  if (!c.value)
6643
- return O;
6656
+ return J;
6644
6657
  const re = yn(c.value, f.value), ie = yn(c.value, p.value);
6645
- return s.value ? {
6646
- ...O,
6658
+ return u.value ? {
6659
+ ...J,
6647
6660
  transform: "translate(" + re + "px, " + ie + "px)",
6648
6661
  ...Zn(c.value) >= 1.5 && {
6649
6662
  willChange: "transform"
6650
6663
  }
6651
6664
  } : {
6652
- position: u.value,
6665
+ position: s.value,
6653
6666
  left: re + "px",
6654
6667
  top: ie + "px"
6655
6668
  };
6656
6669
  });
6657
- let A;
6658
- function P() {
6670
+ let E;
6671
+ function N() {
6659
6672
  d.value == null || c.value == null || Qu(d.value, c.value, {
6660
6673
  middleware: r.value,
6661
6674
  placement: l.value,
6662
6675
  strategy: i.value
6663
- }).then((O) => {
6664
- f.value = O.x, p.value = O.y, u.value = O.strategy, m.value = O.placement, v.value = O.middlewareData, h.value = !0;
6676
+ }).then((J) => {
6677
+ f.value = J.x, p.value = J.y, s.value = J.strategy, m.value = J.placement, v.value = J.middlewareData, _.value = !0;
6665
6678
  });
6666
6679
  }
6667
- function F() {
6668
- typeof A == "function" && (A(), A = void 0);
6680
+ function P() {
6681
+ typeof E == "function" && (E(), E = void 0);
6669
6682
  }
6670
6683
  function j() {
6671
- if (F(), a === void 0) {
6672
- P();
6684
+ if (P(), a === void 0) {
6685
+ N();
6673
6686
  return;
6674
6687
  }
6675
6688
  if (d.value != null && c.value != null) {
6676
- A = a(d.value, c.value, P);
6689
+ E = a(d.value, c.value, N);
6677
6690
  return;
6678
6691
  }
6679
6692
  }
6680
- function N() {
6681
- o.value || (h.value = !1);
6693
+ function O() {
6694
+ o.value || (_.value = !1);
6682
6695
  }
6683
- return ee([r, l, i], P, {
6696
+ return Q([r, l, i], N, {
6684
6697
  flush: "sync"
6685
- }), ee([d, c], j, {
6698
+ }), Q([d, c], j, {
6686
6699
  flush: "sync"
6687
- }), ee(o, N, {
6700
+ }), Q(o, O, {
6688
6701
  flush: "sync"
6689
- }), kt() && xt(F), {
6702
+ }), kt() && xt(P), {
6690
6703
  x: $e(f),
6691
6704
  y: $e(p),
6692
- strategy: $e(u),
6705
+ strategy: $e(s),
6693
6706
  placement: $e(m),
6694
6707
  middlewareData: $e(v),
6695
- isPositioned: $e(h),
6696
- floatingStyles: w,
6697
- update: P
6708
+ isPositioned: $e(_),
6709
+ floatingStyles: h,
6710
+ update: N
6698
6711
  };
6699
6712
  }
6700
6713
  const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
@@ -6750,51 +6763,51 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6750
6763
  Xu({ element: l, padding: 0 })
6751
6764
  ]
6752
6765
  })
6753
- ), s = Q(), d = V(() => s["tooltip-content"] || n.text);
6766
+ ), u = X(), d = V(() => u["tooltip-content"] || n.text);
6754
6767
  function c(v) {
6755
- v.preventDefault(), v.stopPropagation(), !a.value && n.event !== "click" && u();
6768
+ v.preventDefault(), v.stopPropagation(), !a.value && n.event !== "click" && s();
6756
6769
  }
6757
6770
  function f() {
6758
- n.event !== "click" && u(!1);
6771
+ n.event !== "click" && s(!1);
6759
6772
  }
6760
6773
  function p(v) {
6761
- !a.value && n.event === "click" && (v.preventDefault(), v.stopPropagation(), u());
6774
+ !a.value && n.event === "click" && (v.preventDefault(), v.stopPropagation(), s());
6762
6775
  }
6763
- function u(v = !0) {
6764
- var h;
6765
- (h = i.value) == null || h.update(), setTimeout(() => {
6776
+ function s(v = !0) {
6777
+ var _;
6778
+ (_ = i.value) == null || _.update(), setTimeout(() => {
6766
6779
  a.value = v;
6767
6780
  }, n.delay);
6768
6781
  }
6769
6782
  const m = V(() => {
6770
- const { middlewareData: v, placement: h } = i.value, w = v.arrow, A = {
6783
+ const { middlewareData: v, placement: _ } = i.value, h = v.arrow, E = {
6771
6784
  top: "bottom",
6772
6785
  right: "left",
6773
6786
  bottom: "top",
6774
6787
  left: "right"
6775
- }[h.split("-")[0]];
6788
+ }[_.split("-")[0]];
6776
6789
  return {
6777
- left: (w == null ? void 0 : w.x) && `${w == null ? void 0 : w.x}px`,
6778
- top: (w == null ? void 0 : w.y) && `${w == null ? void 0 : w.y}px`,
6790
+ left: (h == null ? void 0 : h.x) && `${h == null ? void 0 : h.x}px`,
6791
+ top: (h == null ? void 0 : h.y) && `${h == null ? void 0 : h.y}px`,
6779
6792
  right: "",
6780
6793
  bottom: "",
6781
- [A]: "-4px"
6794
+ [E]: "-4px"
6782
6795
  };
6783
6796
  });
6784
6797
  return le(() => {
6785
- n.show && u();
6798
+ n.show && s();
6786
6799
  }), Ne(() => {
6787
6800
  a.value = !1;
6788
6801
  }), t({
6789
6802
  tooltipVisible: a,
6790
6803
  tooltip: r
6791
- }), (v, h) => (y(), E(T(Lt), {
6804
+ }), (v, _) => (y(), B(T(Lt), {
6792
6805
  ref: "tooltipClickOutside",
6793
6806
  class: "joy-tooltip__click-outside",
6794
- onTrigger: h[1] || (h[1] = (w) => u(!1))
6807
+ onTrigger: _[1] || (_[1] = (h) => s(!1))
6795
6808
  }, {
6796
6809
  default: M(() => {
6797
- var w;
6810
+ var h;
6798
6811
  return [
6799
6812
  b("div", {
6800
6813
  ref_key: "tooltipWrapper",
@@ -6803,10 +6816,10 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6803
6816
  onClick: p,
6804
6817
  onMouseenter: c,
6805
6818
  onMouseleave: f,
6806
- onKeydown: h[0] || (h[0] = Ct((A) => u(!1), ["tab"]))
6819
+ onKeydown: _[0] || (_[0] = Ct((E) => s(!1), ["tab"]))
6807
6820
  }, [
6808
6821
  k(v.$slots, "default", {}, void 0, !0),
6809
- (y(), E(rt, { to: "body" }, [
6822
+ (y(), B(rt, { to: "body" }, [
6810
6823
  a.value && d.value ? (y(), g("div", {
6811
6824
  key: 0,
6812
6825
  ref_key: "tooltip",
@@ -6819,11 +6832,11 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6819
6832
  "joy-tooltip__content--hiding": !a.value
6820
6833
  }
6821
6834
  ]),
6822
- style: ce({ ...(w = i.value) == null ? void 0 : w.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6835
+ style: ce({ ...(h = i.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6823
6836
  }, [
6824
6837
  b("div", tc, [
6825
6838
  k(v.$slots, "tooltip-content", {}, () => [
6826
- z(J(e.text), 1)
6839
+ z(F(e.text), 1)
6827
6840
  ], !0)
6828
6841
  ]),
6829
6842
  b("div", {
@@ -6841,7 +6854,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6841
6854
  }, 512));
6842
6855
  }
6843
6856
  });
6844
- const ac = /* @__PURE__ */ B(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({
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({
6845
6858
  __name: "VJoyUserCard",
6846
6859
  props: {
6847
6860
  /**
@@ -6867,7 +6880,7 @@ const ac = /* @__PURE__ */ B(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6867
6880
  }
6868
6881
  },
6869
6882
  setup(e) {
6870
- return (t, n) => (y(), E(oe(e.link ? "a" : "div"), te({
6883
+ return (t, n) => (y(), B(oe(e.link ? "a" : "div"), te({
6871
6884
  class: "joy-user-card",
6872
6885
  href: e.link,
6873
6886
  title: e.fullName
@@ -6884,16 +6897,16 @@ const ac = /* @__PURE__ */ B(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6884
6897
  b("div", lc, [
6885
6898
  b("p", rc, [
6886
6899
  k(t.$slots, "user-card-title", {}, () => [
6887
- z(J(e.fullName), 1)
6900
+ z(F(e.fullName), 1)
6888
6901
  ], !0)
6889
6902
  ]),
6890
6903
  b("p", ic, [
6891
6904
  k(t.$slots, "user-card-subtitle", {}, () => [
6892
- z(J(e.subTitle), 1)
6905
+ z(F(e.subTitle), 1)
6893
6906
  ], !0)
6894
6907
  ]),
6895
6908
  k(t.$slots, "user-card-rating-stars", {}, () => [
6896
- e.ratingValue ? (y(), E(T(An), {
6909
+ e.ratingValue ? (y(), B(T(An), {
6897
6910
  key: 0,
6898
6911
  "rating-value": e.ratingValue
6899
6912
  }, null, 8, ["rating-value"])) : x("", !0)
@@ -6907,7 +6920,7 @@ const ac = /* @__PURE__ */ B(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6907
6920
  }, 16, ["href", "title"]));
6908
6921
  }
6909
6922
  });
6910
- const uc = /* @__PURE__ */ B(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6923
+ const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6911
6924
  __name: "VJoyWrapper",
6912
6925
  props: {
6913
6926
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -6968,7 +6981,7 @@ const uc = /* @__PURE__ */ B(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @_
6968
6981
  ], 2));
6969
6982
  }
6970
6983
  });
6971
- const Rt = /* @__PURE__ */ B(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6984
+ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6972
6985
  __proto__: null,
6973
6986
  VJoyAvailability: ca,
6974
6987
  VJoyAvatar: bn,