@maltjoy/core-vue 4.2.1-next → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,12 +5,12 @@ function $t(e) {
5
5
  return;
6
6
  const l = t.getBoundingClientRect(), o = "joy-ripple-effect";
7
7
  let n;
8
- const r = t.querySelector(`.${o}`);
9
- r || (n = document.createElement("span"), n.classList.add(o));
10
- const a = r || n;
8
+ const i = t.querySelector(`.${o}`);
9
+ i || (n = document.createElement("span"), n.classList.add(o));
10
+ const a = i || n;
11
11
  t.prepend(a);
12
- const i = Math.sqrt(Math.pow(l.width, 2) + Math.pow(l.height, 2)) * 2;
13
- a.style.width = a.style.height = `${i}px`, a.style.left = `${e.clientX - l.left}px`, a.style.top = `${e.clientY - l.top}px`;
12
+ const r = Math.sqrt(Math.pow(l.width, 2) + Math.pow(l.height, 2)) * 2;
13
+ a.style.width = a.style.height = `${r}px`, a.style.left = `${e.clientX - l.left}px`, a.style.top = `${e.clientY - l.top}px`;
14
14
  }
15
15
  const Lo = {
16
16
  mounted: (e) => {
@@ -28,26 +28,26 @@ function zo(e, t) {
28
28
  const l = Ao, o = [];
29
29
  if (!e || typeof e != "string")
30
30
  return o;
31
- let n = "", r, a;
32
- for (const i of e) {
33
- const s = l.includes(i);
31
+ let n = "", i, a;
32
+ for (const r of e) {
33
+ const s = l.includes(r);
34
34
  if (s === !0) {
35
- o.push(n), n = "", r = void 0;
35
+ o.push(n), n = "", i = void 0;
36
36
  continue;
37
37
  }
38
- const u = Eo(i);
38
+ const u = Eo(r);
39
39
  if (a === !1) {
40
- if (r === !1 && u === !0) {
41
- o.push(n), n = i, r = u;
40
+ if (i === !1 && u === !0) {
41
+ o.push(n), n = r, i = u;
42
42
  continue;
43
43
  }
44
- if (r === !0 && u === !1 && n.length > 1) {
44
+ if (i === !0 && u === !1 && n.length > 1) {
45
45
  const p = n.at(-1);
46
- o.push(n.slice(0, Math.max(0, n.length - 1))), n = p + i, r = u;
46
+ o.push(n.slice(0, Math.max(0, n.length - 1))), n = p + r, i = u;
47
47
  continue;
48
48
  }
49
49
  }
50
- n += i, r = u, a = s;
50
+ n += r, i = u, a = s;
51
51
  }
52
52
  return o.push(n), o;
53
53
  }
@@ -165,9 +165,9 @@ const Ps = {
165
165
  },
166
166
  emits: ["click"],
167
167
  setup(e, { expose: t, emit: l }) {
168
- const o = l, n = e, r = V(() => n.size === "large" ? "medium" : n.size === "medium" ? "small" : n.size === "small" ? "xsmall" : "small"), a = V(() => n.link ? {
168
+ const o = l, n = e, i = V(() => n.size === "large" ? "medium" : n.size === "medium" ? "small" : n.size === "small" ? "xsmall" : "small"), a = V(() => n.link ? {
169
169
  type: "button"
170
- } : null), i = V(() => ({
170
+ } : null), r = V(() => ({
171
171
  "joy-avatar": !0,
172
172
  "joy-avatar__link": n.link,
173
173
  "joy-avatar__placeholder": s.value,
@@ -194,7 +194,7 @@ const Ps = {
194
194
  class: T(["joy-avatar__wrapper", [`joy-avatar__wrapper--${d.size}`]])
195
195
  }, [
196
196
  (f(), I(Q(d.link ? "button" : "div"), H(a.value, {
197
- class: [i.value],
197
+ class: [r.value],
198
198
  onClick: p
199
199
  }), {
200
200
  default: z(() => [
@@ -202,7 +202,7 @@ const Ps = {
202
202
  key: 0,
203
203
  name: "user-photo",
204
204
  color: "white",
205
- size: r.value
205
+ size: i.value
206
206
  }, null, 8, ["size"])) : _("", !0),
207
207
  d.photoUrl ? (f(), b("img", {
208
208
  key: 1,
@@ -263,13 +263,14 @@ const Ps = {
263
263
  }
264
264
  },
265
265
  setup(e) {
266
- return (t, l) => (f(), b("div", {
267
- class: T(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": e.number }])
266
+ const t = e, l = V(() => typeof t.number == "number");
267
+ return (o, n) => (f(), b("div", {
268
+ class: T(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": l.value }])
268
269
  }, [
269
- e.number ? (f(), b("span", Ho, M(e.number > 99 ? "99+" : e.number), 1)) : _("", !0)
270
+ l.value ? (f(), b("span", Ho, M(e.number && e.number > 99 ? "99+" : e.number), 1)) : _("", !0)
270
271
  ], 2));
271
272
  }
272
- }), Ct = /* @__PURE__ */ A(Wo, [["__scopeId", "data-v-0dc5251e"]]), Uo = /* @__PURE__ */ B({
273
+ }), Ct = /* @__PURE__ */ A(Wo, [["__scopeId", "data-v-49daa300"]]), Uo = /* @__PURE__ */ B({
273
274
  __name: "VJoyBadge",
274
275
  props: {
275
276
  /**
@@ -298,7 +299,8 @@ const Ps = {
298
299
  number: Number
299
300
  },
300
301
  setup(e) {
301
- return (t, l) => e.number ? (f(), I(Ct, {
302
+ const t = e, l = V(() => typeof t.number == "number");
303
+ return (o, n) => l.value ? (f(), I(Ct, {
302
304
  key: 0,
303
305
  variant: e.variant,
304
306
  number: e.number
@@ -312,12 +314,12 @@ const Ps = {
312
314
  class: "joy-badge_dot",
313
315
  variant: e.variant
314
316
  }, null, 8, ["variant"])) : _("", !0),
315
- w(t.$slots, "default", {}, () => [
317
+ w(o.$slots, "default", {}, () => [
316
318
  D(M(e.label), 1)
317
319
  ], !0)
318
320
  ], 2));
319
321
  }
320
- }), Go = /* @__PURE__ */ A(Uo, [["__scopeId", "data-v-80e93664"]]);
322
+ }), Go = /* @__PURE__ */ A(Uo, [["__scopeId", "data-v-f159ad49"]]);
321
323
  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 || {}), He = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(He || {});
322
324
  const Yo = { class: "joy-badge-level" }, Ko = {
323
325
  key: 1,
@@ -383,7 +385,7 @@ const Yo = { class: "joy-badge-level" }, Ko = {
383
385
  }
384
386
  });
385
387
  return (o, n) => (f(), b("span", Yo, [
386
- e.type === q(Z).SUPER_MALTER ? (f(!0), b(W, { key: 0 }, U(e.superMalterLevel, (r, a) => (f(), b("svg", {
388
+ e.type === q(Z).SUPER_MALTER ? (f(!0), b(W, { key: 0 }, U(e.superMalterLevel, (i, a) => (f(), b("svg", {
387
389
  key: a,
388
390
  class: "joy-badge-level__supermalter",
389
391
  xmlns: "http://www.w3.org/2000/svg",
@@ -483,7 +485,7 @@ const Yo = { class: "joy-badge-level" }, Ko = {
483
485
  let n = "1 0";
484
486
  return t.width && (n += ` ${t.width}`), n;
485
487
  });
486
- return (n, r) => (f(), b("div", {
488
+ return (n, i) => (f(), b("div", {
487
489
  "aria-hidden": "true",
488
490
  class: T({
489
491
  "joy-block-skeleton": !0,
@@ -585,7 +587,7 @@ const nn = /* @__PURE__ */ B({
585
587
  }
586
588
  },
587
589
  setup(e, { expose: t }) {
588
- const l = e, o = Ce(), n = Fe() + "--JoyButton", r = V(() => {
590
+ const l = e, o = Ce(), n = Fe() + "--JoyButton", i = V(() => {
589
591
  switch (l.size) {
590
592
  case "xxsmall":
591
593
  return "xxsmall";
@@ -599,7 +601,7 @@ const nn = /* @__PURE__ */ B({
599
601
  return "small";
600
602
  }
601
603
  }), a = V(() => ["white", "ghost", "secondary"].includes(l.variant) ? "teal" : "white");
602
- return t({ generatedId: n }), (i, s) => {
604
+ return t({ generatedId: n }), (r, s) => {
603
605
  const u = dt("joy-ripple");
604
606
  return Ke((f(), I(Q(q(o).href ? "a" : "button"), {
605
607
  id: e.id,
@@ -614,14 +616,14 @@ const nn = /* @__PURE__ */ B({
614
616
  "joy-button_loading": e.loading
615
617
  }
616
618
  ]),
617
- "aria-labelledby": (i.$slots.default || e.label) && n
619
+ "aria-labelledby": (r.$slots.default || e.label) && n
618
620
  }, {
619
621
  default: z(() => [
620
622
  e.icon && e.iconPosition === "left" ? (f(), I(N, {
621
623
  key: 0,
622
624
  class: "joy-button_icon joy-button_icon--left",
623
625
  name: e.icon,
624
- size: r.value,
626
+ size: i.value,
625
627
  "aria-hidden": "true"
626
628
  }, null, 8, ["name", "size"])) : _("", !0),
627
629
  e.loading ? (f(), I(Nt, {
@@ -632,7 +634,7 @@ const nn = /* @__PURE__ */ B({
632
634
  id: n,
633
635
  class: "joy-button--slot"
634
636
  }, [
635
- w(i.$slots, "default", {}, () => [
637
+ w(r.$slots, "default", {}, () => [
636
638
  D(M(e.label), 1)
637
639
  ], !0)
638
640
  ]),
@@ -640,7 +642,7 @@ const nn = /* @__PURE__ */ B({
640
642
  key: 2,
641
643
  class: "joy-button_icon joy-button_icon--right",
642
644
  name: e.icon,
643
- size: r.value,
645
+ size: i.value,
644
646
  "aria-hidden": "true"
645
647
  }, null, 8, ["name", "size"])) : _("", !0)
646
648
  ]),
@@ -682,16 +684,16 @@ function _e(...e) {
682
684
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([l, o, n] = e, t = pt) : [t, l, o, n] = e, !t)
683
685
  return Le;
684
686
  Array.isArray(l) || (l = [l]), Array.isArray(o) || (o = [o]);
685
- const r = [], a = () => {
686
- r.forEach((p) => p()), r.length = 0;
687
- }, i = (p, d, c, m) => (p.addEventListener(d, c, m), () => p.removeEventListener(d, c, m)), s = K(
687
+ const i = [], a = () => {
688
+ i.forEach((p) => p()), i.length = 0;
689
+ }, r = (p, d, c, m) => (p.addEventListener(d, c, m), () => p.removeEventListener(d, c, m)), s = K(
688
690
  () => [we(t), me(n)],
689
691
  ([p, d]) => {
690
692
  if (a(), !p)
691
693
  return;
692
694
  const c = qt(d) ? { ...d } : d;
693
- r.push(
694
- ...l.flatMap((m) => o.map((y) => i(p, m, y, c)))
695
+ i.push(
696
+ ...l.flatMap((m) => o.map((y) => r(p, m, y, c)))
695
697
  );
696
698
  },
697
699
  { immediate: !0, flush: "post" }
@@ -702,11 +704,11 @@ function _e(...e) {
702
704
  }
703
705
  let Vt = !1;
704
706
  function dn(e, t, l = {}) {
705
- const { window: o = pt, ignore: n = [], capture: r = !0, detectIframe: a = !1 } = l;
707
+ const { window: o = pt, ignore: n = [], capture: i = !0, detectIframe: a = !1 } = l;
706
708
  if (!o)
707
709
  return Le;
708
710
  lt && !Vt && (Vt = !0, Array.from(o.document.body.children).forEach((c) => c.addEventListener("click", Le)), o.document.documentElement.addEventListener("click", Le));
709
- let i = !0;
711
+ let r = !0;
710
712
  const s = (c) => n.some((m) => {
711
713
  if (typeof m == "string")
712
714
  return Array.from(o.document.querySelectorAll(m)).some((y) => y === c.target || c.composedPath().includes(y));
@@ -718,16 +720,16 @@ function dn(e, t, l = {}) {
718
720
  _e(o, "click", (c) => {
719
721
  const m = we(e);
720
722
  if (!(!m || m === c.target || c.composedPath().includes(m))) {
721
- if (c.detail === 0 && (i = !s(c)), !i) {
722
- i = !0;
723
+ if (c.detail === 0 && (r = !s(c)), !r) {
724
+ r = !0;
723
725
  return;
724
726
  }
725
727
  t(c);
726
728
  }
727
- }, { passive: !0, capture: r }),
729
+ }, { passive: !0, capture: i }),
728
730
  _e(o, "pointerdown", (c) => {
729
731
  const m = we(e);
730
- i = !s(c) && !!(m && !c.composedPath().includes(m));
732
+ r = !s(c) && !!(m && !c.composedPath().includes(m));
731
733
  }, { passive: !0 }),
732
734
  a && _e(o, "blur", (c) => {
733
735
  setTimeout(() => {
@@ -751,9 +753,9 @@ function fn(e) {
751
753
  }
752
754
  function pn(e, t = {}) {
753
755
  const l = C(!1), o = Ft(null);
754
- let n = 0, r = !0;
756
+ let n = 0, i = !0;
755
757
  if (et) {
756
- const a = typeof t == "function" ? { onDrop: t } : t, i = (s) => {
758
+ const a = typeof t == "function" ? { onDrop: t } : t, r = (s) => {
757
759
  var u, p;
758
760
  const d = Array.from((p = (u = s.dataTransfer) == null ? void 0 : u.files) != null ? p : []);
759
761
  return o.value = d.length === 0 ? null : d;
@@ -763,19 +765,19 @@ function pn(e, t = {}) {
763
765
  const d = Array.from(((u = s == null ? void 0 : s.dataTransfer) == null ? void 0 : u.items) || []).map((c) => c.kind === "file" ? c.type : null).filter(an);
764
766
  if (a.dataTypes && s.dataTransfer) {
765
767
  const c = q(a.dataTypes);
766
- if (r = typeof c == "function" ? c(d) : c ? c.some((m) => d.includes(m)) : !0, !r)
768
+ if (i = typeof c == "function" ? c(d) : c ? c.some((m) => d.includes(m)) : !0, !i)
767
769
  return;
768
770
  }
769
- s.preventDefault(), n += 1, l.value = !0, (p = a.onEnter) == null || p.call(a, i(s), s);
771
+ s.preventDefault(), n += 1, l.value = !0, (p = a.onEnter) == null || p.call(a, r(s), s);
770
772
  }), _e(e, "dragover", (s) => {
771
773
  var u;
772
- r && (s.preventDefault(), (u = a.onOver) == null || u.call(a, i(s), s));
774
+ i && (s.preventDefault(), (u = a.onOver) == null || u.call(a, r(s), s));
773
775
  }), _e(e, "dragleave", (s) => {
774
776
  var u;
775
- r && (s.preventDefault(), n -= 1, n === 0 && (l.value = !1), (u = a.onLeave) == null || u.call(a, i(s), s));
777
+ i && (s.preventDefault(), n -= 1, n === 0 && (l.value = !1), (u = a.onLeave) == null || u.call(a, r(s), s));
776
778
  }), _e(e, "drop", (s) => {
777
779
  var u;
778
- s.preventDefault(), n = 0, l.value = !1, (u = a.onDrop) == null || u.call(a, i(s), s);
780
+ s.preventDefault(), n = 0, l.value = !1, (u = a.onDrop) == null || u.call(a, r(s), s);
779
781
  });
780
782
  }
781
783
  return {
@@ -785,21 +787,21 @@ function pn(e, t = {}) {
785
787
  }
786
788
  function yn(e, t, l = {}) {
787
789
  const { window: o = pt, ...n } = l;
788
- let r;
789
- const a = fn(() => o && "ResizeObserver" in o), i = () => {
790
- r && (r.disconnect(), r = void 0);
790
+ let i;
791
+ const a = fn(() => o && "ResizeObserver" in o), r = () => {
792
+ i && (i.disconnect(), i = void 0);
791
793
  }, s = V(() => Array.isArray(e) ? e.map((d) => we(d)) : [we(e)]), u = K(
792
794
  s,
793
795
  (d) => {
794
- if (i(), a.value && o) {
795
- r = new ResizeObserver(t);
796
+ if (r(), a.value && o) {
797
+ i = new ResizeObserver(t);
796
798
  for (const c of d)
797
- c && r.observe(c, n);
799
+ c && i.observe(c, n);
798
800
  }
799
801
  },
800
802
  { immediate: !0, flush: "post" }
801
803
  ), p = () => {
802
- i(), u();
804
+ r(), u();
803
805
  };
804
806
  return Qe(p), {
805
807
  isSupported: a,
@@ -808,13 +810,13 @@ function yn(e, t, l = {}) {
808
810
  }
809
811
  function mn(e) {
810
812
  var t;
811
- const l = C(e == null ? void 0 : e.element), o = C(e == null ? void 0 : e.input), n = (t = e == null ? void 0 : e.styleProp) != null ? t : "height", r = C(1);
813
+ const l = C(e == null ? void 0 : e.element), o = C(e == null ? void 0 : e.input), n = (t = e == null ? void 0 : e.styleProp) != null ? t : "height", i = C(1);
812
814
  function a() {
813
- var i, s;
815
+ var r, s;
814
816
  if (!l.value)
815
817
  return;
816
818
  let u = "";
817
- l.value.style[n] = "1px", r.value = (i = l.value) == null ? void 0 : i.scrollHeight, e != null && e.styleTarget ? me(e.styleTarget).style[n] = `${r.value}px` : u = `${r.value}px`, l.value.style[n] = u, (s = e == null ? void 0 : e.onResize) == null || s.call(e);
819
+ l.value.style[n] = "1px", i.value = (r = l.value) == null ? void 0 : r.scrollHeight, e != null && e.styleTarget ? me(e.styleTarget).style[n] = `${i.value}px` : u = `${i.value}px`, l.value.style[n] = u, (s = e == null ? void 0 : e.onResize) == null || s.call(e);
818
820
  }
819
821
  return K([o, l], () => Je(a), { immediate: !0 }), yn(l, () => a()), e != null && e.watch && K(e.watch, a, { immediate: !0, deep: !0 }), {
820
822
  textarea: l,
@@ -847,16 +849,16 @@ function gn(...e) {
847
849
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([l, o, n] = e, t = hn) : [t, l, o, n] = e, !t)
848
850
  return Le;
849
851
  Array.isArray(l) || (l = [l]), Array.isArray(o) || (o = [o]);
850
- const r = [], a = () => {
851
- r.forEach((p) => p()), r.length = 0;
852
- }, i = (p, d, c, m) => (p.addEventListener(d, c, m), () => p.removeEventListener(d, c, m)), s = K(
852
+ const i = [], a = () => {
853
+ i.forEach((p) => p()), i.length = 0;
854
+ }, r = (p, d, c, m) => (p.addEventListener(d, c, m), () => p.removeEventListener(d, c, m)), s = K(
853
855
  () => [vn(t), me(n)],
854
856
  ([p, d]) => {
855
857
  if (a(), !p)
856
858
  return;
857
859
  const c = qt(d) ? { ...d } : d;
858
- r.push(
859
- ...l.flatMap((m) => o.map((y) => i(p, m, y, c)))
860
+ i.push(
861
+ ...l.flatMap((m) => o.map((y) => r(p, m, y, c)))
860
862
  );
861
863
  },
862
864
  { immediate: !0, flush: "post" }
@@ -885,8 +887,8 @@ const Ne = /* @__PURE__ */ new WeakMap();
885
887
  function wn(e, t = !1) {
886
888
  const l = C(t);
887
889
  let o = null, n;
888
- K(un(e), (i) => {
889
- const s = nt(me(i));
890
+ K(un(e), (r) => {
891
+ const s = nt(me(r));
890
892
  if (s) {
891
893
  const u = s;
892
894
  Ne.get(u) || Ne.set(u, n), l.value && (u.style.overflow = "hidden");
@@ -894,27 +896,27 @@ function wn(e, t = !1) {
894
896
  }, {
895
897
  immediate: !0
896
898
  });
897
- const r = () => {
898
- const i = nt(me(e));
899
- !i || l.value || (lt && (o = gn(
900
- i,
899
+ const i = () => {
900
+ const r = nt(me(e));
901
+ !r || l.value || (lt && (o = gn(
902
+ r,
901
903
  "touchmove",
902
904
  (s) => {
903
905
  bn(s);
904
906
  },
905
907
  { passive: !1 }
906
- )), i.style.overflow = "hidden", l.value = !0);
908
+ )), r.style.overflow = "hidden", l.value = !0);
907
909
  }, a = () => {
908
- var i;
910
+ var r;
909
911
  const s = nt(me(e));
910
- !s || !l.value || (lt && (o == null || o()), s.style.overflow = (i = Ne.get(s)) != null ? i : "", Ne.delete(s), l.value = !1);
912
+ !s || !l.value || (lt && (o == null || o()), s.style.overflow = (r = Ne.get(s)) != null ? r : "", Ne.delete(s), l.value = !1);
911
913
  };
912
914
  return Qe(a), V({
913
915
  get() {
914
916
  return l.value;
915
917
  },
916
- set(i) {
917
- i ? r() : a();
918
+ set(r) {
919
+ r ? i() : a();
918
920
  }
919
921
  });
920
922
  }
@@ -926,7 +928,7 @@ function _n() {
926
928
  return;
927
929
  e = !0;
928
930
  const n = wn(l, o.value);
929
- K(t, (r) => n.value = r);
931
+ K(t, (i) => n.value = i);
930
932
  };
931
933
  }
932
934
  _n();
@@ -942,10 +944,10 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
942
944
  },
943
945
  emits: ["bottom-sheet:close"],
944
946
  setup(e, { expose: t, emit: l }) {
945
- const o = e, n = Ce(), r = V(() => {
946
- if (i.value)
947
+ const o = e, n = Ce(), i = V(() => {
948
+ if (r.value)
947
949
  return n;
948
- }), a = l, i = C(!1), s = C(!1), u = C(o.open), p = C(!1), d = C();
950
+ }), a = l, r = C(!1), s = C(!1), u = C(o.open), p = C(!1), d = C();
949
951
  let c = 0;
950
952
  function m() {
951
953
  u.value = !0, P();
@@ -988,17 +990,17 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
988
990
  k === !0 ? m() : y();
989
991
  }
990
992
  ), te(() => {
991
- i.value = !0, o.open && P();
993
+ r.value = !0, o.open && P();
992
994
  }), t({
993
995
  hide: y,
994
996
  show: m,
995
997
  isOpen: u,
996
998
  moveContainer: E
997
- }), (k, R) => i.value ? (f(), I(ze, {
999
+ }), (k, R) => r.value ? (f(), I(ze, {
998
1000
  key: 0,
999
1001
  to: k.teleport
1000
1002
  }, [
1001
- u.value ? (f(), b("div", H({ key: 0 }, r.value, {
1003
+ u.value ? (f(), b("div", H({ key: 0 }, i.value, {
1002
1004
  class: [
1003
1005
  "joy-bottom-sheet",
1004
1006
  {
@@ -1054,14 +1056,14 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1054
1056
  },
1055
1057
  emits: ["click"],
1056
1058
  setup(e, { emit: t }) {
1057
- const l = e, o = t, n = V(() => l.bottomSheet), r = G(), a = V(() => r.default());
1058
- function i() {
1059
+ const l = e, o = t, n = V(() => l.bottomSheet), i = G(), a = V(() => i.default());
1060
+ function r() {
1059
1061
  var s;
1060
1062
  o("click"), (s = n.value) == null || s.show();
1061
1063
  }
1062
1064
  return (s, u) => (f(!0), b(W, null, U(a.value, (p) => (f(), I(Q(p), {
1063
1065
  key: p,
1064
- onClick: i
1066
+ onClick: r
1065
1067
  }))), 128));
1066
1068
  }
1067
1069
  }), Sn = { class: "joy-checkbox__wrapper" }, Cn = { class: "joy-checkbox__input-wrapper" }, Vn = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], xn = { class: "joy-checkbox__content-wrapper" }, Tn = { class: "joy-checkbox__content" }, In = /* @__PURE__ */ B({
@@ -1119,10 +1121,10 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1119
1121
  },
1120
1122
  emits: ["update:checked", "focus", "blur"],
1121
1123
  setup(e, { expose: t, emit: l }) {
1122
- const o = l, n = e, r = C(), a = C(n.indeterminate), i = C(n.invalid), s = C(!1), u = {
1124
+ const o = l, n = e, i = C(), a = C(n.indeterminate), r = C(n.invalid), s = C(!1), u = {
1123
1125
  onChange: (p) => {
1124
1126
  const d = p.target.checked;
1125
- a.value = !1, i.value = !1, o("update:checked", d);
1127
+ a.value = !1, r.value = !1, o("update:checked", d);
1126
1128
  },
1127
1129
  onFocus: () => {
1128
1130
  s.value = !0, o("focus");
@@ -1141,7 +1143,7 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1141
1143
  "joy-checkbox__checked": e.checked,
1142
1144
  "joy-checkbox__indeterminate": a.value,
1143
1145
  "joy-checkbox__disabled": e.disabled,
1144
- "joy-checkbox__invalid": i.value,
1146
+ "joy-checkbox__invalid": r.value,
1145
1147
  "joy-checkbox__focusing": s.value && e.displayFocus
1146
1148
  }
1147
1149
  ])
@@ -1150,7 +1152,7 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1150
1152
  h("input", {
1151
1153
  id: e.id,
1152
1154
  ref_key: "input",
1153
- ref: r,
1155
+ ref: i,
1154
1156
  type: "checkbox",
1155
1157
  class: "joy-checkbox__input",
1156
1158
  name: e.name,
@@ -1213,28 +1215,28 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1213
1215
  },
1214
1216
  emits: ["collapse-item:open", "collapse-item:close"],
1215
1217
  setup(e, { expose: t, emit: l }) {
1216
- const o = e, n = l, r = C(o.open), a = C(!1);
1218
+ const o = e, n = l, i = C(o.open), a = C(!1);
1217
1219
  K(
1218
1220
  () => o.open,
1219
1221
  (u) => {
1220
- r.value = u;
1222
+ i.value = u;
1221
1223
  }
1222
1224
  );
1223
- function i() {
1224
- r.value = !r.value, s();
1225
+ function r() {
1226
+ i.value = !i.value, s();
1225
1227
  }
1226
1228
  function s() {
1227
- r.value ? n("collapse-item:open") : n("collapse-item:close");
1229
+ i.value ? n("collapse-item:open") : n("collapse-item:close");
1228
1230
  }
1229
1231
  return t({
1230
- isOpen: r,
1231
- onToggle: i,
1232
+ isOpen: i,
1233
+ onToggle: r,
1232
1234
  props: o
1233
1235
  }), (u, p) => (f(), b("div", {
1234
1236
  class: T([
1235
1237
  "joy-collapse-item",
1236
1238
  {
1237
- "joy-collapse-item--open": r.value,
1239
+ "joy-collapse-item--open": i.value,
1238
1240
  "joy-collapse-item--outline": e.mode === "outline",
1239
1241
  "joy-collapse-item--focusing": a.value
1240
1242
  }
@@ -1244,8 +1246,8 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1244
1246
  role: "button",
1245
1247
  tabindex: "0",
1246
1248
  class: "joy-collapse-item__summary",
1247
- onClick: i,
1248
- onKeydown: Oe(i, ["enter"]),
1249
+ onClick: r,
1250
+ onKeydown: Oe(r, ["enter"]),
1249
1251
  onFocus: p[0] || (p[0] = (d) => a.value = !0),
1250
1252
  onBlur: p[1] || (p[1] = (d) => a.value = !1)
1251
1253
  }, [
@@ -1273,14 +1275,14 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1273
1275
  w(u.$slots, "collapse-preview")
1274
1276
  ])
1275
1277
  ], 32),
1276
- r.value ? (f(), b("div", {
1278
+ i.value ? (f(), b("div", {
1277
1279
  key: 0,
1278
1280
  role: "region",
1279
1281
  "aria-labelledby": e.id,
1280
1282
  class: T([
1281
1283
  "joy-collapse-item__detail",
1282
1284
  {
1283
- "joy-collapse-item__detail--open": r.value
1285
+ "joy-collapse-item__detail--open": i.value
1284
1286
  }
1285
1287
  ])
1286
1288
  }, [
@@ -1313,8 +1315,8 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1313
1315
  },
1314
1316
  emits: ["update:modelValue"],
1315
1317
  setup(e, { expose: t, emit: l }) {
1316
- const o = e, n = C(o.modelValue), r = G(), a = l, i = V(() => {
1317
- const y = r.default();
1318
+ const o = e, n = C(o.modelValue), i = G(), a = l, r = V(() => {
1319
+ const y = i.default();
1318
1320
  return y.length === 1 && typeof y[0].type != "object" ? y[0].children.filter(s) : y.filter(s);
1319
1321
  });
1320
1322
  function s(y) {
@@ -1347,10 +1349,10 @@ const jn = { class: "joy-bottom-sheet_content" }, kn = { class: "joy-bottom-shee
1347
1349
  getValForModel: m,
1348
1350
  isItem: s,
1349
1351
  isOpen: p,
1350
- items: i,
1352
+ items: r,
1351
1353
  openedCollapseItem: n
1352
1354
  }), (y, v) => (f(), b("div", Pn, [
1353
- (f(!0), b(W, null, U(i.value, (g) => (f(), I(Jn, H({ ref_for: !0 }, g.props, {
1355
+ (f(!0), b(W, null, U(r.value, (g) => (f(), I(Jn, H({ ref_for: !0 }, g.props, {
1354
1356
  key: g.props.id,
1355
1357
  open: p(g),
1356
1358
  mode: e.mode,
@@ -1578,8 +1580,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1578
1580
  },
1579
1581
  emits: ["update:modelValue"],
1580
1582
  setup(e, { expose: t, emit: l }) {
1581
- const o = l, n = e, r = C(!1), a = C(!1), i = C();
1582
- vt(i, n.autofocus);
1583
+ const o = l, n = e, i = C(!1), a = C(!1), r = C();
1584
+ vt(r, n.autofocus);
1583
1585
  function s() {
1584
1586
  const g = d(!1);
1585
1587
  g >= 0 ? o("update:modelValue", g <= n.min ? n.min : g) : o("update:modelValue", 0), p();
@@ -1589,7 +1591,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1589
1591
  n.max && g <= n.max ? o("update:modelValue", g >= n.max ? n.max : g) : n.max && g > n.max ? o("update:modelValue", n.max) : o("update:modelValue", g), p();
1590
1592
  }
1591
1593
  function p() {
1592
- r.value = !c();
1594
+ i.value = !c();
1593
1595
  }
1594
1596
  function d(g = !0) {
1595
1597
  const $ = n.step.toString().split("."), j = $.length === 2 ? $[1].length : 0;
@@ -1606,7 +1608,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1606
1608
  }
1607
1609
  const v = {
1608
1610
  onInput: (g) => {
1609
- o("update:modelValue", +g.target.value || 0), r.value = !1;
1611
+ o("update:modelValue", +g.target.value || 0), i.value = !1;
1610
1612
  },
1611
1613
  onFocus: () => {
1612
1614
  a.value = !0;
@@ -1648,12 +1650,12 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1648
1650
  h("input", H({
1649
1651
  id: e.id,
1650
1652
  ref_key: "input",
1651
- ref: i,
1653
+ ref: r,
1652
1654
  type: "number",
1653
- class: { "joy-counter__invalid": e.invalid || r.value },
1655
+ class: { "joy-counter__invalid": e.invalid || i.value },
1654
1656
  min: e.min,
1655
1657
  max: e.max,
1656
- "aria-invalid": e.invalid || r.value,
1658
+ "aria-invalid": e.invalid || i.value,
1657
1659
  name: e.name,
1658
1660
  required: e.required,
1659
1661
  step: "any",
@@ -1768,11 +1770,6 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1768
1770
  type: String,
1769
1771
  default: "default"
1770
1772
  },
1771
- /** Allows to set a focus-trap within the dialog. It means you can loop over all interactive elements within the open dialog. */
1772
- focusTrap: {
1773
- type: Boolean,
1774
- default: !1
1775
- },
1776
1773
  /** By default the dialog is teleported to the end of body tag */
1777
1774
  teleport: {
1778
1775
  type: String,
@@ -1789,6 +1786,10 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1789
1786
  type: Boolean,
1790
1787
  default: !0
1791
1788
  },
1789
+ disableTeleport: {
1790
+ type: Boolean,
1791
+ default: !1
1792
+ },
1792
1793
  /** Mostly for documentation purpose, it prevents the component from being hidden */
1793
1794
  demoMode: {
1794
1795
  type: Boolean,
@@ -1840,13 +1841,13 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1840
1841
  },
1841
1842
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
1842
1843
  setup(e, { expose: t, emit: l }) {
1843
- const o = e, n = l, r = Fe() + "--JoyDialog", a = G(), i = C(!1), s = C(), u = C(o.open), p = Ce(), d = V(() => {
1844
- if (i.value)
1844
+ const o = e, n = l, i = Fe() + "--JoyDialog", a = G(), r = C(!1), s = C(), u = C(o.open), p = Ce(), d = V(() => {
1845
+ if (r.value)
1845
1846
  return p;
1846
1847
  }), c = V(() => {
1847
1848
  const L = a["dialog-cancel"] || a["dialog-confirm"], P = o.cancelText || o.confirmText;
1848
1849
  return !!L || !!P;
1849
- }), y = V(() => o.id || r).value + "-header";
1850
+ }), y = V(() => o.id || i).value + "-header";
1850
1851
  function v() {
1851
1852
  !o.patternConfirm && g();
1852
1853
  }
@@ -1866,7 +1867,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1866
1867
  n("dialog:after-hide");
1867
1868
  }
1868
1869
  return te(async () => {
1869
- i.value = !0;
1870
+ r.value = !0;
1870
1871
  }), Me(() => {
1871
1872
  u.value === !0 && (n("dialog:before-unmount"), ye(!1));
1872
1873
  }), t({
@@ -1874,10 +1875,10 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1874
1875
  hide: g,
1875
1876
  isOpen: u,
1876
1877
  show: $
1877
- }), (L, P) => i.value ? (f(), I(ze, {
1878
+ }), (L, P) => r.value ? (f(), I(ze, {
1878
1879
  key: 0,
1879
1880
  to: e.teleport,
1880
- disabled: e.demoMode
1881
+ disabled: e.disableTeleport
1881
1882
  }, [
1882
1883
  O(ct, {
1883
1884
  duration: { enter: 300, leave: 100 },
@@ -1889,7 +1890,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
1889
1890
  }, {
1890
1891
  default: z(() => [
1891
1892
  u.value ? (f(), b("div", H({ key: 0 }, d.value, {
1892
- id: e.id || r,
1893
+ id: e.id || i,
1893
1894
  ref_key: "dialogRef",
1894
1895
  ref: s,
1895
1896
  role: "dialog",
@@ -2015,21 +2016,21 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2015
2016
  })
2016
2017
  ], 8, ["to", "disabled"])) : _("", !0);
2017
2018
  }
2018
- }), Gs = /* @__PURE__ */ A(cl, [["__scopeId", "data-v-ea61c4f8"]]), Ys = /* @__PURE__ */ B({
2019
+ }), Gs = /* @__PURE__ */ A(cl, [["__scopeId", "data-v-04cca18d"]]), Ys = /* @__PURE__ */ B({
2019
2020
  __name: "VJoyDialogTrigger",
2020
2021
  props: {
2021
2022
  dialog: {}
2022
2023
  },
2023
2024
  emits: ["click"],
2024
2025
  setup(e, { emit: t }) {
2025
- const l = e, o = V(() => l.dialog), n = t, r = G(), a = V(() => r.default());
2026
- async function i() {
2026
+ const l = e, o = V(() => l.dialog), n = t, i = G(), a = V(() => i.default());
2027
+ async function r() {
2027
2028
  var s;
2028
2029
  n("click"), await ((s = o.value) == null ? void 0 : s.show());
2029
2030
  }
2030
2031
  return (s, u) => (f(!0), b(W, null, U(a.value, (p) => (f(), I(Q(p), {
2031
2032
  key: p,
2032
- onClick: i
2033
+ onClick: r
2033
2034
  }))), 128));
2034
2035
  }
2035
2036
  }), fl = ["disabled"], pl = { class: "joy-divider-cta--icon" }, yl = { class: "joy-divider-cta--content" }, ml = { class: "joy-divider-cta--content---title" }, vl = /* @__PURE__ */ B({
@@ -2070,11 +2071,6 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2070
2071
  id: {
2071
2072
  type: String
2072
2073
  },
2073
- /** Allows to set a focus-trap within the drawer. It means you can loop over all interactive elements within the open drawer. */
2074
- focusTrap: {
2075
- type: Boolean,
2076
- default: !1
2077
- },
2078
2074
  size: {
2079
2075
  type: String,
2080
2076
  default: "default"
@@ -2088,7 +2084,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2088
2084
  type: Boolean,
2089
2085
  default: !1
2090
2086
  },
2091
- /** Removes the overlay and allows interacting with background content. It deactivates the focusTrap as well. */
2087
+ /** Removes the overlay and allows interacting with background content.*/
2092
2088
  elevated: {
2093
2089
  type: Boolean,
2094
2090
  default: !1
@@ -2100,6 +2096,10 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2100
2096
  type: Boolean,
2101
2097
  default: !0
2102
2098
  },
2099
+ disableTeleport: {
2100
+ type: Boolean,
2101
+ default: !1
2102
+ },
2103
2103
  /** Mostly for documentation purpose, it prevents the component from being hidden */
2104
2104
  demoMode: {
2105
2105
  type: Boolean,
@@ -2130,13 +2130,13 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2130
2130
  },
2131
2131
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2132
2132
  setup(e, { expose: t, emit: l }) {
2133
- const o = e, n = l, r = Fe() + "--JoyDrawer", a = G(), i = C(!1), s = C(), u = C(o.open), p = Ce(), d = V(() => {
2134
- if (i.value)
2133
+ const o = e, n = l, i = Fe() + "--JoyDrawer", a = G(), r = C(!1), s = C(), u = C(o.open), p = Ce(), d = V(() => {
2134
+ if (r.value)
2135
2135
  return p;
2136
2136
  }), c = V(() => {
2137
2137
  const E = a["drawer-cancel"] || a["drawer-confirm"], L = o.cancelText || o.confirmText;
2138
2138
  return !!E || !!L;
2139
- }), m = V(() => o.id || r), y = m.value + "-header";
2139
+ }), m = V(() => o.id || i), y = m.value + "-header";
2140
2140
  async function v(E = { fireHideEvent: !0 }) {
2141
2141
  o.demoMode || o.onBeforeHide && !await o.onBeforeHide() || (u.value = !1, await Je(), ye(!1), E.fireHideEvent && n("drawer:hide"));
2142
2142
  }
@@ -2153,7 +2153,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2153
2153
  n("drawer:after-hide");
2154
2154
  }
2155
2155
  return te(() => {
2156
- i.value = !0;
2156
+ r.value = !0;
2157
2157
  }), Me(() => {
2158
2158
  u.value === !0 && (n("drawer:before-unmount"), ye(!1));
2159
2159
  }), t({
@@ -2161,10 +2161,10 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2161
2161
  hide: v,
2162
2162
  isOpen: u,
2163
2163
  show: g
2164
- }), (E, L) => i.value ? (f(), I(ze, {
2164
+ }), (E, L) => r.value ? (f(), I(ze, {
2165
2165
  key: 0,
2166
2166
  to: e.teleport,
2167
- disabled: e.demoMode
2167
+ disabled: e.disableTeleport
2168
2168
  }, [
2169
2169
  O(ct, {
2170
2170
  duration: { enter: 300, leave: 100 },
@@ -2290,21 +2290,21 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2290
2290
  })
2291
2291
  ], 8, ["to", "disabled"])) : _("", !0);
2292
2292
  }
2293
- }), Zs = /* @__PURE__ */ A(jl, [["__scopeId", "data-v-c1760194"]]), Xs = /* @__PURE__ */ B({
2293
+ }), Zs = /* @__PURE__ */ A(jl, [["__scopeId", "data-v-056f6134"]]), Xs = /* @__PURE__ */ B({
2294
2294
  __name: "VJoyDrawerTrigger",
2295
2295
  props: {
2296
2296
  drawer: {}
2297
2297
  },
2298
2298
  emits: ["click"],
2299
2299
  setup(e, { emit: t }) {
2300
- const l = e, o = t, n = V(() => l.drawer), r = G(), a = V(() => r.default());
2301
- async function i() {
2300
+ const l = e, o = t, n = V(() => l.drawer), i = G(), a = V(() => i.default());
2301
+ async function r() {
2302
2302
  var s;
2303
2303
  o("click"), await ((s = n.value) == null ? void 0 : s.show());
2304
2304
  }
2305
2305
  return (s, u) => (f(!0), b(W, null, U(a.value, (p) => (f(), I(Q(p), {
2306
2306
  key: p,
2307
- onClick: i
2307
+ onClick: r
2308
2308
  }))), 128));
2309
2309
  }
2310
2310
  }), kl = {
@@ -2357,17 +2357,17 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2357
2357
  },
2358
2358
  emits: ["update:modelValue", "close:dropdownList", "reset"],
2359
2359
  setup(e, { expose: t, emit: l }) {
2360
- const o = l, n = e, r = C(), a = V(() => (y) => !n.modelValue || !y.value && !y.id ? !1 : n.modelValue === y.value || n.modelValue === y.id);
2361
- function i(y) {
2360
+ const o = l, n = e, i = C(), a = V(() => (y) => !n.modelValue || !y.value && !y.id ? !1 : n.modelValue === y.value || n.modelValue === y.id);
2361
+ function r(y) {
2362
2362
  y.disabled || o("update:modelValue", y.value || y.id);
2363
2363
  }
2364
2364
  function s() {
2365
2365
  var y;
2366
- return Array.from(((y = r.value) == null ? void 0 : y.querySelectorAll("li")) || []);
2366
+ return Array.from(((y = i.value) == null ? void 0 : y.querySelectorAll("li")) || []);
2367
2367
  }
2368
2368
  function u() {
2369
2369
  const y = s().find((v) => v.getAttribute("aria-selected") === "true");
2370
- y && (y.focus(), r.value.scrollTo({
2370
+ y && (y.focus(), i.value.scrollTo({
2371
2371
  top: y.offsetTop
2372
2372
  }));
2373
2373
  }
@@ -2376,8 +2376,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2376
2376
  }
2377
2377
  function d(y) {
2378
2378
  var v;
2379
- if (!(r.value && !r.value.contains(document.activeElement) || !r.value)) {
2380
- if ((y.key === "Escape" || y.key === "Tab") && o("close:dropdownList"), (y.key === "Enter" || y.key === "enter") && (y.preventDefault(), p() && ((v = r.value) != null && v.contains(p())))) {
2379
+ if (!(i.value && !i.value.contains(document.activeElement) || !i.value)) {
2380
+ if ((y.key === "Escape" || y.key === "Tab") && o("close:dropdownList"), (y.key === "Enter" || y.key === "enter") && (y.preventDefault(), p() && ((v = i.value) != null && v.contains(p())))) {
2381
2381
  const g = p();
2382
2382
  if (!g)
2383
2383
  return;
@@ -2429,7 +2429,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2429
2429
  e.options.length ? (f(), b("ul", {
2430
2430
  key: 0,
2431
2431
  ref_key: "listbox",
2432
- ref: r,
2432
+ ref: i,
2433
2433
  role: "listbox",
2434
2434
  "aria-expanded": "true",
2435
2435
  "aria-label": e.ariaLabel,
@@ -2454,7 +2454,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2454
2454
  "aria-label": g.label,
2455
2455
  ".dataModel": g.value || g.id,
2456
2456
  role: "option",
2457
- onClick: ($) => i(g)
2457
+ onClick: ($) => r(g)
2458
2458
  }, [
2459
2459
  w(y.$slots, "label", H({ ref_for: !0 }, g), () => [
2460
2460
  h("span", null, M(g.label), 1)
@@ -2555,14 +2555,14 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2555
2555
  },
2556
2556
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2557
2557
  setup(e, { expose: t, emit: l }) {
2558
- const o = l, n = e, r = C(!1), a = C(null), i = C(), s = C(null), u = C(null), p = C(!1), d = "joy-dropdown--" + Xe();
2558
+ const o = l, n = e, i = C(!1), a = C(null), r = C(), s = C(null), u = C(null), p = C(!1), d = "joy-dropdown--" + Xe();
2559
2559
  Ze("VJoyDropdownContext", n);
2560
2560
  const c = {
2561
- ignore: [i, ".joy-dropdown__list"]
2561
+ ignore: [r, ".joy-dropdown__list"]
2562
2562
  };
2563
2563
  let m = null;
2564
2564
  K(
2565
- () => r.value,
2565
+ () => i.value,
2566
2566
  (k) => {
2567
2567
  k && on(s);
2568
2568
  },
@@ -2576,14 +2576,14 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2576
2576
  });
2577
2577
  function v() {
2578
2578
  m && clearTimeout(m), p.value = !0, m = setTimeout(() => {
2579
- r.value = !1, p.value = !1, o("dropdown:hide");
2579
+ i.value = !1, p.value = !1, o("dropdown:hide");
2580
2580
  }, 300);
2581
2581
  }
2582
2582
  function g() {
2583
- p.value = !1, m && clearTimeout(m), r.value = !0, o("dropdown:open");
2583
+ p.value = !1, m && clearTimeout(m), i.value = !0, o("dropdown:open");
2584
2584
  }
2585
2585
  function $(k) {
2586
- k.stopPropagation(), r.value ? j() : g(), u.value = k.target;
2586
+ k.stopPropagation(), i.value ? j() : g(), u.value = k.target;
2587
2587
  }
2588
2588
  function j() {
2589
2589
  v(), x();
@@ -2598,12 +2598,12 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2598
2598
  o("dropdown:reset");
2599
2599
  }
2600
2600
  function P() {
2601
- !i.value || !i.value.children.length || (i.value.children[0].id = d);
2601
+ !r.value || !r.value.children.length || (r.value.children[0].id = d);
2602
2602
  }
2603
2603
  return Un(v), te(() => {
2604
2604
  P();
2605
2605
  }), t({
2606
- showDropdownList: r,
2606
+ showDropdownList: i,
2607
2607
  generatedId: d
2608
2608
  }), (k, R) => (f(), I(q(yt), {
2609
2609
  ref_key: "dropdown",
@@ -2615,14 +2615,14 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2615
2615
  default: z(() => [
2616
2616
  h("div", {
2617
2617
  ref_key: "button",
2618
- ref: i,
2618
+ ref: r,
2619
2619
  class: "joy-dropdown__button",
2620
2620
  "data-testid": "dropdown-trigger",
2621
2621
  onClick: $
2622
2622
  }, [
2623
2623
  w(k.$slots, "dropdown-button", {}, void 0, !0)
2624
2624
  ], 512),
2625
- r.value ? (f(), b("div", {
2625
+ i.value ? (f(), b("div", {
2626
2626
  key: 0,
2627
2627
  ref_key: "list",
2628
2628
  ref: s,
@@ -2751,7 +2751,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2751
2751
  icon: "pen",
2752
2752
  title: o.updateLabel,
2753
2753
  "aria-label": o.updateLabel,
2754
- onClick: n[0] || (n[0] = (r) => o.$emit("update"))
2754
+ onClick: n[0] || (n[0] = (i) => o.$emit("update"))
2755
2755
  }, null, 8, ["title", "aria-label"]),
2756
2756
  O(ne, {
2757
2757
  circle: "",
@@ -2760,7 +2760,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2760
2760
  icon: "trash",
2761
2761
  title: o.deleteLabel,
2762
2762
  "aria-label": o.deleteLabel,
2763
- onClick: n[1] || (n[1] = (r) => o.$emit("delete"))
2763
+ onClick: n[1] || (n[1] = (i) => o.$emit("delete"))
2764
2764
  }, null, 8, ["title", "aria-label"])
2765
2765
  ]),
2766
2766
  _: 3
@@ -2793,7 +2793,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2793
2793
  }),
2794
2794
  emits: ["update:modelValue"],
2795
2795
  setup(e, { expose: t }) {
2796
- const l = G(), o = e, n = Co(e, "modelValue"), r = C(y(n.value)), a = C(), i = C(), s = C(), { isOverDropZone: u } = pn(i, {
2796
+ const l = G(), o = e, n = Co(e, "modelValue"), i = C(y(n.value)), a = C(), r = C(), s = C(), { isOverDropZone: u } = pn(r, {
2797
2797
  onDrop: x
2798
2798
  }), p = V(() => n.value.filter((S) => S instanceof File)), d = V(() => o.multiple || p.value.length === 0 ? void 0 : v(p.value[0]));
2799
2799
  function c(S) {
@@ -2834,7 +2834,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2834
2834
  a.value = S, s.value && s.value.click();
2835
2835
  }
2836
2836
  function L(S) {
2837
- r.value = y(S), n.value = S;
2837
+ i.value = y(S), n.value = S;
2838
2838
  }
2839
2839
  function P(S) {
2840
2840
  L(n.value.filter((J) => J !== S));
@@ -2850,17 +2850,17 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2850
2850
  L([J]);
2851
2851
  }
2852
2852
  return t({
2853
- invalid: r
2853
+ invalid: i
2854
2854
  }), (S, J) => (f(), b("div", {
2855
2855
  class: T(["joy-dropzone", {
2856
2856
  "joy-dropzone--dragover": q(u),
2857
- "joy-dropzone--invalid": r.value,
2857
+ "joy-dropzone--invalid": i.value,
2858
2858
  "joy-dropzone--empty": n.value.length === 0
2859
2859
  }])
2860
2860
  }, [
2861
2861
  h("div", {
2862
2862
  ref_key: "dropzoneAreaRef",
2863
- ref: i,
2863
+ ref: r,
2864
2864
  class: "joy-dropzone__area"
2865
2865
  }, [
2866
2866
  h("input", {
@@ -2936,7 +2936,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2936
2936
  }, null, 8, ["no-html-error-text"])) : _("", !0)
2937
2937
  ], 2));
2938
2938
  }
2939
- }), eu = /* @__PURE__ */ A(Nl, [["__scopeId", "data-v-ee77e9fc"]]), ql = ["aria-label"], Hl = { class: "joy-filter-bar__wrapper" }, Wl = /* @__PURE__ */ B({
2939
+ }), eu = /* @__PURE__ */ A(Nl, [["__scopeId", "data-v-b0b187bf"]]), ql = ["aria-label"], Hl = { class: "joy-filter-bar__wrapper" }, Wl = /* @__PURE__ */ B({
2940
2940
  __name: "VJoyFilterBar",
2941
2941
  props: {
2942
2942
  /** To give a label to the whole component */
@@ -2971,13 +2971,13 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
2971
2971
  emits: ["filter"],
2972
2972
  setup(e, { emit: t }) {
2973
2973
  const l = e, o = t, n = Se("VJoyDropdownContext", null);
2974
- function r() {
2974
+ function i() {
2975
2975
  o("filter", l.value);
2976
2976
  }
2977
- return (a, i) => (f(), b("button", {
2977
+ return (a, r) => (f(), b("button", {
2978
2978
  type: "button",
2979
2979
  class: T(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
2980
- onClick: r
2980
+ onClick: i
2981
2981
  }, [
2982
2982
  D(M(e.label) + " ", 1),
2983
2983
  w(a.$slots, "default", {}, void 0, !0),
@@ -3011,15 +3011,15 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3011
3011
  },
3012
3012
  setup(e, { expose: t }) {
3013
3013
  const l = e, o = Se("VJoyWrapperContext", {}), n = V(() => {
3014
- const r = o.direction === "column" ? "auto" : null;
3014
+ const i = o.direction === "column" ? "auto" : null;
3015
3015
  if (!l.width && l.flex === "1") {
3016
3016
  const s = ["1", "0"];
3017
- return r && s.push(r), s.join(" ");
3017
+ return i && s.push(i), s.join(" ");
3018
3018
  }
3019
- const a = [l.flex || "1", "0"], i = l.width || r;
3020
- return i && a.push(i), a.join(" ");
3019
+ const a = [l.flex || "1", "0"], r = l.width || i;
3020
+ return r && a.push(r), a.join(" ");
3021
3021
  });
3022
- return t({ flexStyle: n }), (r, a) => (f(), b("div", {
3022
+ return t({ flexStyle: n }), (i, a) => (f(), b("div", {
3023
3023
  "aria-hidden": "true",
3024
3024
  class: T(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3025
3025
  style: ee({
@@ -3050,15 +3050,15 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3050
3050
  setup(e, { expose: t }) {
3051
3051
  const l = C(!0), o = G(), n = C(!0);
3052
3052
  Ze("VJoyStepperShowLabels", n);
3053
- function r(s) {
3053
+ function i(s) {
3054
3054
  const u = s.currentTarget;
3055
3055
  l.value = u.scrollTop === 0, a.value && !l.value ? n.value = !1 : a.value && l.value && (n.value = !0);
3056
3056
  }
3057
- const a = V(() => !!o["funnel-stepper"]), i = V(() => o["funnel-footer"] ? o["funnel-footer"]().length > 0 : !1);
3057
+ const a = V(() => !!o["funnel-stepper"]), r = V(() => o["funnel-footer"] ? o["funnel-footer"]().length > 0 : !1);
3058
3058
  return t({
3059
3059
  scrollOnTop: l,
3060
3060
  hasStepperSlot: a,
3061
- hasFooterSlot: i
3061
+ hasFooterSlot: r
3062
3062
  }), (s, u) => (f(), b("div", {
3063
3063
  class: T([
3064
3064
  "joy-funnel",
@@ -3078,7 +3078,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3078
3078
  "joy-funnel__shapes",
3079
3079
  {
3080
3080
  "joy-funnel__shapes--strategy": e.profile === "strategy",
3081
- "joy-funnel__shapes--no-footer": !i.value
3081
+ "joy-funnel__shapes--no-footer": !r.value
3082
3082
  }
3083
3083
  ])
3084
3084
  }, u[0] || (u[0] = [
@@ -3091,7 +3091,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3091
3091
  ], 2),
3092
3092
  h("div", {
3093
3093
  class: "joy-funnel__scrollable",
3094
- onScroll: r
3094
+ onScroll: i
3095
3095
  }, [
3096
3096
  h("div", {
3097
3097
  class: T(["joy-funnel__content", { "joy-funnel__content--medium": e.layoutWidth === "medium" }])
@@ -3155,7 +3155,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3155
3155
  const l = e, o = V(() => l.icon ? l.icon : Rt(l.level));
3156
3156
  return t({
3157
3157
  getRelevantIcon: o
3158
- }), (n, r) => (f(), b("div", {
3158
+ }), (n, i) => (f(), b("div", {
3159
3159
  class: T([
3160
3160
  "joy-highlight",
3161
3161
  `joy-highlight_${e.level}`,
@@ -3228,8 +3228,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3228
3228
  },
3229
3229
  emits: ["update:modelValue"],
3230
3230
  setup(e, { expose: t, emit: l }) {
3231
- const o = e, n = l, r = G(), a = C(o.modelValue), i = V(() => {
3232
- const d = r.default();
3231
+ const o = e, n = l, i = G(), a = C(o.modelValue), r = V(() => {
3232
+ const d = i.default();
3233
3233
  return d.length === 1 && typeof d[0].type != "object" ? d[0].children.filter(u) : d.filter(u);
3234
3234
  });
3235
3235
  function s(d) {
@@ -3248,12 +3248,12 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3248
3248
  d !== c && (a.value = d);
3249
3249
  }
3250
3250
  ), t({
3251
- indicators: i,
3251
+ indicators: r,
3252
3252
  isSelected: s
3253
3253
  }), (d, c) => (f(), b("ul", {
3254
3254
  class: T(["joy-indicators", `joy-indicators--${e.variant}`])
3255
3255
  }, [
3256
- (f(!0), b(W, null, U(i.value, (m) => (f(), I(fa, H({
3256
+ (f(!0), b(W, null, U(r.value, (m) => (f(), I(fa, H({
3257
3257
  key: m.props.value,
3258
3258
  ref_for: !0
3259
3259
  }, { ...m.props, variant: e.variant }, {
@@ -3339,9 +3339,9 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3339
3339
  },
3340
3340
  emits: ["update:modelValue"],
3341
3341
  setup(e, { expose: t, emit: l }) {
3342
- const o = l, n = e, r = Se("VJoyWrapperContext", {}), a = C(), i = C(), s = Ce(), u = G(), p = C(!1), d = C(!1);
3342
+ const o = l, n = e, i = Se("VJoyWrapperContext", {}), a = C(), r = C(), s = Ce(), u = G(), p = C(!1), d = C(!1);
3343
3343
  vt(a, n.autofocus);
3344
- const c = V(() => typeof n.modelValue == "number" || !n.clearable || n.unit || !n.modelValue ? !1 : n.modelValue.length > 0 && !n.unit), m = V(() => u.default && u.default()), y = V(() => Object.keys(r).length > 0), v = C(n.type), g = V(() => n.type === "password" && !!n.modelValue);
3344
+ const c = V(() => typeof n.modelValue == "number" || !n.clearable || n.unit || !n.modelValue ? !1 : n.modelValue.length > 0 && !n.unit), m = V(() => u.default && u.default()), y = V(() => Object.keys(i).length > 0), v = C(n.type), g = V(() => n.type === "password" && !!n.modelValue);
3345
3345
  Vo(() => {
3346
3346
  v.value = n.unit ? "number" : n.type;
3347
3347
  });
@@ -3378,7 +3378,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3378
3378
  focus: $
3379
3379
  }), (x, E) => (f(), b("div", {
3380
3380
  ref_key: "root",
3381
- ref: i,
3381
+ ref: r,
3382
3382
  class: T([`joy-input--${n.size}`])
3383
3383
  }, [
3384
3384
  h("div", {
@@ -3560,8 +3560,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3560
3560
  },
3561
3561
  emits: ["selectItem"],
3562
3562
  setup(e, { expose: t, emit: l }) {
3563
- const o = l, n = C(), r = C(0), a = C();
3564
- function i(c) {
3563
+ const o = l, n = C(), i = C(0), a = C();
3564
+ function r(c) {
3565
3565
  c.disabled || o("selectItem", c);
3566
3566
  }
3567
3567
  function s() {
@@ -3602,7 +3602,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3602
3602
  ref_key: "menu",
3603
3603
  ref: n,
3604
3604
  class: "joy-menu-list joy-menu-list__items",
3605
- tabindex: r.value,
3605
+ tabindex: i.value,
3606
3606
  "aria-activedescendant": a.value,
3607
3607
  "aria-label": e.ariaLabel,
3608
3608
  role: "menu",
@@ -3624,7 +3624,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3624
3624
  "aria-label": v.label,
3625
3625
  ".dataModel": v.value || v.id,
3626
3626
  role: "menuitem",
3627
- onClick: (g) => i(v)
3627
+ onClick: (g) => r(v)
3628
3628
  }, [
3629
3629
  h("div", Ca, [
3630
3630
  w(c.$slots, "menu-item", H({ ref_for: !0 }, v), () => [
@@ -3661,11 +3661,11 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3661
3661
  function n(a) {
3662
3662
  return o.value.includes(a.value);
3663
3663
  }
3664
- function r(a, i) {
3664
+ function i(a, r) {
3665
3665
  let s = [...o.value || []];
3666
- i ? s.push(a) : s.splice(s.indexOf(a), 1), l("update:value", s);
3666
+ r ? s.push(a) : s.splice(s.indexOf(a), 1), l("update:value", s);
3667
3667
  }
3668
- return (a, i) => (f(), b("fieldset", {
3668
+ return (a, r) => (f(), b("fieldset", {
3669
3669
  id: a.id,
3670
3670
  class: "joy-multi-checkbox__wrapper"
3671
3671
  }, [
@@ -3688,7 +3688,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3688
3688
  name: s.name,
3689
3689
  value: s.value,
3690
3690
  checked: n(s),
3691
- "onUpdate:checked": (u) => r(s.value, u)
3691
+ "onUpdate:checked": (u) => i(s.value, u)
3692
3692
  }, {
3693
3693
  default: z(() => [
3694
3694
  w(a.$slots, "checkbox", H({ ref_for: !0 }, s), () => [
@@ -3765,8 +3765,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3765
3765
  const l = e, o = t, n = V(() => {
3766
3766
  const p = a.value.length;
3767
3767
  return a.value[p - 1] !== a.value[p - 2] + 1;
3768
- }), r = V(() => a.value[0] !== a.value[1] - 1), a = V(() => l.totalPages === 1 ? [1] : l.totalPages < Ea ? s(2, l.totalPages - 1) : u(l.currentPage));
3769
- function i(p, d) {
3768
+ }), i = V(() => a.value[0] !== a.value[1] - 1), a = V(() => l.totalPages === 1 ? [1] : l.totalPages < Ea ? s(2, l.totalPages - 1) : u(l.currentPage));
3769
+ function r(p, d) {
3770
3770
  l.currentPage === 1 && d === "prev" || l.currentPage === l.totalPages && d === "next" || o("update:current-page", p);
3771
3771
  }
3772
3772
  function s(p, d) {
@@ -3789,7 +3789,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3789
3789
  h("ul", null, [
3790
3790
  h("li", {
3791
3791
  class: "joy-pagination__item joy-pagination__previous",
3792
- onClick: d[0] || (d[0] = (c) => i(e.currentPage - 1, "prev"))
3792
+ onClick: d[0] || (d[0] = (c) => r(e.currentPage - 1, "prev"))
3793
3793
  }, [
3794
3794
  w(p.$slots, "pagination-prev", {}, () => [
3795
3795
  O(It, {
@@ -3806,10 +3806,10 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3806
3806
  "joy-pagination__item": !0,
3807
3807
  "joy-pagination__page": !0,
3808
3808
  current: c === e.currentPage,
3809
- "joy-pagination__separator joy-pagination__separator-after": e.totalPages > 1 && c === 1 && r.value,
3809
+ "joy-pagination__separator joy-pagination__separator-after": e.totalPages > 1 && c === 1 && i.value,
3810
3810
  "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && c === e.totalPages && n.value
3811
3811
  }),
3812
- onClick: (m) => i(c)
3812
+ onClick: (m) => r(c)
3813
3813
  }, [
3814
3814
  w(p.$slots, "page", H({ ref_for: !0 }, { page: c }), () => [
3815
3815
  h("button", {
@@ -3822,7 +3822,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3822
3822
  ]),
3823
3823
  h("li", {
3824
3824
  class: "joy-pagination__next",
3825
- onClick: d[1] || (d[1] = (c) => i(e.currentPage + 1, "next"))
3825
+ onClick: d[1] || (d[1] = (c) => r(e.currentPage + 1, "next"))
3826
3826
  }, [
3827
3827
  w(p.$slots, "pagination-next", {}, () => [
3828
3828
  O(It, {
@@ -3912,8 +3912,8 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3912
3912
  }
3913
3913
  },
3914
3914
  setup(e) {
3915
- const t = Se("VJoyWrapperContext", {}), l = V(() => Object.keys(t).length > 0), o = G(), n = C(), r = V(() => !!o["panel-title"] || !!o["panel-subtitle"] || !!o["panel-title-action"]);
3916
- return (a, i) => (f(), b("section", {
3915
+ const t = Se("VJoyWrapperContext", {}), l = V(() => Object.keys(t).length > 0), o = G(), n = C(), i = V(() => !!o["panel-title"] || !!o["panel-subtitle"] || !!o["panel-title-action"]);
3916
+ return (a, r) => (f(), b("section", {
3917
3917
  ref_key: "panel",
3918
3918
  ref: n,
3919
3919
  style: ee({ flex: e.flex }),
@@ -3927,7 +3927,7 @@ const Gn = { class: "joy-counter" }, Yn = ["aria-label", "disabled"], Kn = { cla
3927
3927
  }
3928
3928
  ])
3929
3929
  }, [
3930
- r.value ? (f(), b("header", Fa, [
3930
+ i.value ? (f(), b("header", Fa, [
3931
3931
  o["panel-title"] ? (f(), b("div", {
3932
3932
  key: 0,
3933
3933
  class: T(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
@@ -4017,9 +4017,9 @@ function bt(e) {
4017
4017
  }
4018
4018
  function or(e, t, l) {
4019
4019
  l === void 0 && (l = !1);
4020
- const o = De(e), n = bt(e), r = gt(n);
4020
+ const o = De(e), n = bt(e), i = gt(n);
4021
4021
  let a = n === "x" ? o === (l ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
4022
- return t.reference[r] > t.floating[r] && (a = Ue(a)), [a, Ue(a)];
4022
+ return t.reference[i] > t.floating[i] && (a = Ue(a)), [a, Ue(a)];
4023
4023
  }
4024
4024
  function nr(e) {
4025
4025
  const t = Ue(e);
@@ -4029,22 +4029,22 @@ function it(e) {
4029
4029
  return e.replace(/start|end/g, (t) => tr[t]);
4030
4030
  }
4031
4031
  function lr(e, t, l) {
4032
- const o = ["left", "right"], n = ["right", "left"], r = ["top", "bottom"], a = ["bottom", "top"];
4032
+ const o = ["left", "right"], n = ["right", "left"], i = ["top", "bottom"], a = ["bottom", "top"];
4033
4033
  switch (e) {
4034
4034
  case "top":
4035
4035
  case "bottom":
4036
4036
  return l ? t ? n : o : t ? o : n;
4037
4037
  case "left":
4038
4038
  case "right":
4039
- return t ? r : a;
4039
+ return t ? i : a;
4040
4040
  default:
4041
4041
  return [];
4042
4042
  }
4043
4043
  }
4044
4044
  function ar(e, t, l, o) {
4045
4045
  const n = De(e);
4046
- let r = lr(ve(e), l === "start", o);
4047
- return n && (r = r.map((a) => a + "-" + n), t && (r = r.concat(r.map(it)))), r;
4046
+ let i = lr(ve(e), l === "start", o);
4047
+ return n && (i = i.map((a) => a + "-" + n), t && (i = i.concat(i.map(it)))), i;
4048
4048
  }
4049
4049
  function Ue(e) {
4050
4050
  return e.replace(/left|right|bottom|top/g, (t) => er[t]);
@@ -4089,7 +4089,7 @@ function Lt(e, t, l) {
4089
4089
  reference: o,
4090
4090
  floating: n
4091
4091
  } = e;
4092
- const r = ke(t), a = bt(t), i = gt(a), s = ve(t), u = r === "y", p = o.x + o.width / 2 - n.width / 2, d = o.y + o.height / 2 - n.height / 2, c = o[i] / 2 - n[i] / 2;
4092
+ const i = ke(t), a = bt(t), r = gt(a), s = ve(t), u = i === "y", p = o.x + o.width / 2 - n.width / 2, d = o.y + o.height / 2 - n.height / 2, c = o[r] / 2 - n[r] / 2;
4093
4093
  let m;
4094
4094
  switch (s) {
4095
4095
  case "top":
@@ -4136,9 +4136,9 @@ const ir = async (e, t, l) => {
4136
4136
  const {
4137
4137
  placement: o = "bottom",
4138
4138
  strategy: n = "absolute",
4139
- middleware: r = [],
4139
+ middleware: i = [],
4140
4140
  platform: a
4141
- } = l, i = r.filter(Boolean), s = await (a.isRTL == null ? void 0 : a.isRTL(t));
4141
+ } = l, r = i.filter(Boolean), s = await (a.isRTL == null ? void 0 : a.isRTL(t));
4142
4142
  let u = await a.getElementRects({
4143
4143
  reference: e,
4144
4144
  floating: t,
@@ -4147,11 +4147,11 @@ const ir = async (e, t, l) => {
4147
4147
  x: p,
4148
4148
  y: d
4149
4149
  } = Lt(u, o, s), c = o, m = {}, y = 0;
4150
- for (let v = 0; v < i.length; v++) {
4150
+ for (let v = 0; v < r.length; v++) {
4151
4151
  const {
4152
4152
  name: g,
4153
4153
  fn: $
4154
- } = i[v], {
4154
+ } = r[v], {
4155
4155
  x: j,
4156
4156
  y: x,
4157
4157
  data: E,
@@ -4199,9 +4199,9 @@ async function Kt(e, t) {
4199
4199
  const {
4200
4200
  x: o,
4201
4201
  y: n,
4202
- platform: r,
4202
+ platform: i,
4203
4203
  rects: a,
4204
- elements: i,
4204
+ elements: r,
4205
4205
  strategy: s
4206
4206
  } = e, {
4207
4207
  boundary: u = "clippingAncestors",
@@ -4209,8 +4209,8 @@ async function Kt(e, t) {
4209
4209
  elementContext: d = "floating",
4210
4210
  altBoundary: c = !1,
4211
4211
  padding: m = 0
4212
- } = je(t, e), y = Yt(m), g = i[c ? d === "floating" ? "reference" : "floating" : d], $ = Ge(await r.getClippingRect({
4213
- element: (l = await (r.isElement == null ? void 0 : r.isElement(g))) == null || l ? g : g.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
4212
+ } = je(t, e), y = Yt(m), g = r[c ? d === "floating" ? "reference" : "floating" : d], $ = Ge(await i.getClippingRect({
4213
+ element: (l = await (i.isElement == null ? void 0 : i.isElement(g))) == null || l ? g : g.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(r.floating)),
4214
4214
  boundary: u,
4215
4215
  rootBoundary: p,
4216
4216
  strategy: s
@@ -4219,14 +4219,14 @@ async function Kt(e, t) {
4219
4219
  y: n,
4220
4220
  width: a.floating.width,
4221
4221
  height: a.floating.height
4222
- } : a.reference, x = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), E = await (r.isElement == null ? void 0 : r.isElement(x)) ? await (r.getScale == null ? void 0 : r.getScale(x)) || {
4222
+ } : a.reference, x = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(r.floating)), E = await (i.isElement == null ? void 0 : i.isElement(x)) ? await (i.getScale == null ? void 0 : i.getScale(x)) || {
4223
4223
  x: 1,
4224
4224
  y: 1
4225
4225
  } : {
4226
4226
  x: 1,
4227
4227
  y: 1
4228
- }, L = Ge(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
4229
- elements: i,
4228
+ }, L = Ge(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4229
+ elements: r,
4230
4230
  rect: j,
4231
4231
  offsetParent: x,
4232
4232
  strategy: s
@@ -4246,9 +4246,9 @@ const sr = (e) => ({
4246
4246
  x: l,
4247
4247
  y: o,
4248
4248
  placement: n,
4249
- rects: r,
4249
+ rects: i,
4250
4250
  platform: a,
4251
- elements: i,
4251
+ elements: r,
4252
4252
  middlewareData: s
4253
4253
  } = t, {
4254
4254
  element: u,
@@ -4259,10 +4259,10 @@ const sr = (e) => ({
4259
4259
  const d = Yt(p), c = {
4260
4260
  x: l,
4261
4261
  y: o
4262
- }, m = bt(n), y = gt(m), v = await a.getDimensions(u), g = m === "y", $ = g ? "top" : "left", j = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", E = r.reference[y] + r.reference[m] - c[m] - r.floating[y], L = c[m] - r.reference[m], P = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
4262
+ }, m = bt(n), y = gt(m), v = await a.getDimensions(u), g = m === "y", $ = g ? "top" : "left", j = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", E = i.reference[y] + i.reference[m] - c[m] - i.floating[y], L = c[m] - i.reference[m], P = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
4263
4263
  let k = P ? P[x] : 0;
4264
- (!k || !await (a.isElement == null ? void 0 : a.isElement(P))) && (k = i.floating[x] || r.floating[y]);
4265
- const R = E / 2 - L / 2, S = k / 2 - v[y] / 2 - 1, J = at(d[$], S), F = at(d[j], S), Y = J, se = k - v[y] - F, X = k / 2 - v[y] / 2 + R, xe = rt(Y, X, se), ue = !s.arrow && De(n) != null && X !== xe && r.reference[y] / 2 - (X < Y ? J : F) - v[y] / 2 < 0, ae = ue ? X < Y ? X - Y : X - se : 0;
4264
+ (!k || !await (a.isElement == null ? void 0 : a.isElement(P))) && (k = r.floating[x] || i.floating[y]);
4265
+ const R = E / 2 - L / 2, S = k / 2 - v[y] / 2 - 1, J = at(d[$], S), F = at(d[j], S), Y = J, se = k - v[y] - F, X = k / 2 - v[y] / 2 + R, xe = rt(Y, X, se), ue = !s.arrow && De(n) != null && X !== xe && i.reference[y] / 2 - (X < Y ? J : F) - v[y] / 2 < 0, ae = ue ? X < Y ? X - Y : X - se : 0;
4266
4266
  return {
4267
4267
  [m]: c[m] + ae,
4268
4268
  data: {
@@ -4283,9 +4283,9 @@ const sr = (e) => ({
4283
4283
  var l, o;
4284
4284
  const {
4285
4285
  placement: n,
4286
- middlewareData: r,
4286
+ middlewareData: i,
4287
4287
  rects: a,
4288
- initialPlacement: i,
4288
+ initialPlacement: r,
4289
4289
  platform: s,
4290
4290
  elements: u
4291
4291
  } = t, {
@@ -4297,12 +4297,12 @@ const sr = (e) => ({
4297
4297
  flipAlignment: v = !0,
4298
4298
  ...g
4299
4299
  } = je(e, t);
4300
- if ((l = r.arrow) != null && l.alignmentOffset)
4300
+ if ((l = i.arrow) != null && l.alignmentOffset)
4301
4301
  return {};
4302
- const $ = ve(n), j = ke(i), x = ve(i) === i, E = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), L = c || (x || !v ? [Ue(i)] : nr(i)), P = y !== "none";
4303
- !c && P && L.push(...ar(i, v, y, E));
4304
- const k = [i, ...L], R = await Kt(t, g), S = [];
4305
- let J = ((o = r.flip) == null ? void 0 : o.overflows) || [];
4302
+ const $ = ve(n), j = ke(r), x = ve(r) === r, E = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), L = c || (x || !v ? [Ue(r)] : nr(r)), P = y !== "none";
4303
+ !c && P && L.push(...ar(r, v, y, E));
4304
+ const k = [r, ...L], R = await Kt(t, g), S = [];
4305
+ let J = ((o = i.flip) == null ? void 0 : o.overflows) || [];
4306
4306
  if (p && S.push(R[$]), d) {
4307
4307
  const X = or(n, a, E);
4308
4308
  S.push(R[X[0]], R[X[1]]);
@@ -4312,7 +4312,7 @@ const sr = (e) => ({
4312
4312
  overflows: S
4313
4313
  }], !S.every((X) => X <= 0)) {
4314
4314
  var F, Y;
4315
- const X = (((F = r.flip) == null ? void 0 : F.index) || 0) + 1, xe = k[X];
4315
+ const X = (((F = i.flip) == null ? void 0 : F.index) || 0) + 1, xe = k[X];
4316
4316
  if (xe)
4317
4317
  return {
4318
4318
  data: {
@@ -4341,7 +4341,7 @@ const sr = (e) => ({
4341
4341
  break;
4342
4342
  }
4343
4343
  case "initialPlacement":
4344
- ue = i;
4344
+ ue = r;
4345
4345
  break;
4346
4346
  }
4347
4347
  if (n !== ue)
@@ -4360,7 +4360,7 @@ async function ur(e, t) {
4360
4360
  placement: l,
4361
4361
  platform: o,
4362
4362
  elements: n
4363
- } = e, r = await (o.isRTL == null ? void 0 : o.isRTL(n.floating)), a = ve(l), i = De(l), s = ke(l) === "y", u = ["left", "top"].includes(a) ? -1 : 1, p = r && s ? -1 : 1, d = je(t, e);
4363
+ } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(n.floating)), a = ve(l), r = De(l), s = ke(l) === "y", u = ["left", "top"].includes(a) ? -1 : 1, p = i && s ? -1 : 1, d = je(t, e);
4364
4364
  let {
4365
4365
  mainAxis: c,
4366
4366
  crossAxis: m,
@@ -4375,7 +4375,7 @@ async function ur(e, t) {
4375
4375
  alignmentAxis: null,
4376
4376
  ...d
4377
4377
  };
4378
- return i && typeof y == "number" && (m = i === "end" ? y * -1 : y), s ? {
4378
+ return r && typeof y == "number" && (m = r === "end" ? y * -1 : y), s ? {
4379
4379
  x: m * p,
4380
4380
  y: c * u
4381
4381
  } : {
@@ -4391,13 +4391,13 @@ const Xt = function(e) {
4391
4391
  var l, o;
4392
4392
  const {
4393
4393
  x: n,
4394
- y: r,
4394
+ y: i,
4395
4395
  placement: a,
4396
- middlewareData: i
4396
+ middlewareData: r
4397
4397
  } = t, s = await ur(t, e);
4398
- return a === ((l = i.offset) == null ? void 0 : l.placement) && (o = i.arrow) != null && o.alignmentOffset ? {} : {
4398
+ return a === ((l = r.offset) == null ? void 0 : l.placement) && (o = r.arrow) != null && o.alignmentOffset ? {} : {
4399
4399
  x: n + s.x,
4400
- y: r + s.y,
4400
+ y: i + s.y,
4401
4401
  data: {
4402
4402
  ...s,
4403
4403
  placement: a
@@ -4415,9 +4415,9 @@ const Xt = function(e) {
4415
4415
  y: o,
4416
4416
  placement: n
4417
4417
  } = t, {
4418
- mainAxis: r = !0,
4418
+ mainAxis: i = !0,
4419
4419
  crossAxis: a = !1,
4420
- limiter: i = {
4420
+ limiter: r = {
4421
4421
  fn: (g) => {
4422
4422
  let {
4423
4423
  x: $,
@@ -4435,7 +4435,7 @@ const Xt = function(e) {
4435
4435
  y: o
4436
4436
  }, p = await Kt(t, s), d = ke(ve(n)), c = ht(d);
4437
4437
  let m = u[c], y = u[d];
4438
- if (r) {
4438
+ if (i) {
4439
4439
  const g = c === "y" ? "top" : "left", $ = c === "y" ? "bottom" : "right", j = m + p[g], x = m - p[$];
4440
4440
  m = rt(j, m, x);
4441
4441
  }
@@ -4443,7 +4443,7 @@ const Xt = function(e) {
4443
4443
  const g = d === "y" ? "top" : "left", $ = d === "y" ? "bottom" : "right", j = y + p[g], x = y - p[$];
4444
4444
  y = rt(j, y, x);
4445
4445
  }
4446
- const v = i.fn({
4446
+ const v = r.fn({
4447
4447
  ...t,
4448
4448
  [c]: m,
4449
4449
  [d]: y
@@ -4465,10 +4465,10 @@ const Xt = function(e) {
4465
4465
  x: l,
4466
4466
  y: o,
4467
4467
  placement: n,
4468
- rects: r,
4468
+ rects: i,
4469
4469
  middlewareData: a
4470
4470
  } = t, {
4471
- offset: i = 0,
4471
+ offset: r = 0,
4472
4472
  mainAxis: s = !0,
4473
4473
  crossAxis: u = !0
4474
4474
  } = je(e, t), p = {
@@ -4476,7 +4476,7 @@ const Xt = function(e) {
4476
4476
  y: o
4477
4477
  }, d = ke(n), c = ht(d);
4478
4478
  let m = p[c], y = p[d];
4479
- const v = je(i, t), g = typeof v == "number" ? {
4479
+ const v = je(r, t), g = typeof v == "number" ? {
4480
4480
  mainAxis: v,
4481
4481
  crossAxis: 0
4482
4482
  } : {
@@ -4485,12 +4485,12 @@ const Xt = function(e) {
4485
4485
  ...v
4486
4486
  };
4487
4487
  if (s) {
4488
- const x = c === "y" ? "height" : "width", E = r.reference[c] - r.floating[x] + g.mainAxis, L = r.reference[c] + r.reference[x] - g.mainAxis;
4488
+ const x = c === "y" ? "height" : "width", E = i.reference[c] - i.floating[x] + g.mainAxis, L = i.reference[c] + i.reference[x] - g.mainAxis;
4489
4489
  m < E ? m = E : m > L && (m = L);
4490
4490
  }
4491
4491
  if (u) {
4492
4492
  var $, j;
4493
- const x = c === "y" ? "width" : "height", E = ["top", "left"].includes(ve(n)), L = r.reference[d] - r.floating[x] + (E && (($ = a.offset) == null ? void 0 : $[d]) || 0) + (E ? 0 : g.crossAxis), P = r.reference[d] + r.reference[x] + (E ? 0 : ((j = a.offset) == null ? void 0 : j[d]) || 0) - (E ? g.crossAxis : 0);
4493
+ const x = c === "y" ? "width" : "height", E = ["top", "left"].includes(ve(n)), L = i.reference[d] - i.floating[x] + (E && (($ = a.offset) == null ? void 0 : $[d]) || 0) + (E ? 0 : g.crossAxis), P = i.reference[d] + i.reference[x] + (E ? 0 : ((j = a.offset) == null ? void 0 : j[d]) || 0) - (E ? g.crossAxis : 0);
4494
4494
  y < L ? y = L : y > P && (y = P);
4495
4495
  }
4496
4496
  return {
@@ -4588,17 +4588,17 @@ function oo(e) {
4588
4588
  function Pe(e, t, l) {
4589
4589
  var o;
4590
4590
  t === void 0 && (t = []), l === void 0 && (l = !0);
4591
- const n = oo(e), r = n === ((o = e.ownerDocument) == null ? void 0 : o.body), a = oe(n);
4592
- return r ? t.concat(a, a.visualViewport || [], Re(n) ? n : [], a.frameElement && l ? Pe(a.frameElement) : []) : t.concat(n, Pe(n, [], l));
4591
+ const n = oo(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), a = oe(n);
4592
+ return i ? t.concat(a, a.visualViewport || [], Re(n) ? n : [], a.frameElement && l ? Pe(a.frameElement) : []) : t.concat(n, Pe(n, [], l));
4593
4593
  }
4594
4594
  function no(e) {
4595
4595
  const t = le(e);
4596
4596
  let l = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
4597
- const n = ie(e), r = n ? e.offsetWidth : l, a = n ? e.offsetHeight : o, i = Ye(l) !== r || Ye(o) !== a;
4598
- return i && (l = r, o = a), {
4597
+ const n = ie(e), i = n ? e.offsetWidth : l, a = n ? e.offsetHeight : o, r = Ye(l) !== i || Ye(o) !== a;
4598
+ return r && (l = i, o = a), {
4599
4599
  width: l,
4600
4600
  height: o,
4601
- $: i
4601
+ $: r
4602
4602
  };
4603
4603
  }
4604
4604
  function jt(e) {
@@ -4611,12 +4611,12 @@ function Ae(e) {
4611
4611
  const l = t.getBoundingClientRect(), {
4612
4612
  width: o,
4613
4613
  height: n,
4614
- $: r
4614
+ $: i
4615
4615
  } = no(t);
4616
- let a = (r ? Ye(l.width) : l.width) / o, i = (r ? Ye(l.height) : l.height) / n;
4617
- return (!a || !Number.isFinite(a)) && (a = 1), (!i || !Number.isFinite(i)) && (i = 1), {
4616
+ let a = (i ? Ye(l.width) : l.width) / o, r = (i ? Ye(l.height) : l.height) / n;
4617
+ return (!a || !Number.isFinite(a)) && (a = 1), (!r || !Number.isFinite(r)) && (r = 1), {
4618
4618
  x: a,
4619
- y: i
4619
+ y: r
4620
4620
  };
4621
4621
  }
4622
4622
  const fr = /* @__PURE__ */ he(0);
@@ -4632,13 +4632,13 @@ function pr(e, t, l) {
4632
4632
  }
4633
4633
  function $e(e, t, l, o) {
4634
4634
  t === void 0 && (t = !1), l === void 0 && (l = !1);
4635
- const n = e.getBoundingClientRect(), r = jt(e);
4635
+ const n = e.getBoundingClientRect(), i = jt(e);
4636
4636
  let a = he(1);
4637
4637
  t && (o ? de(o) && (a = Ae(o)) : a = Ae(e));
4638
- const i = pr(r, l, o) ? lo(r) : he(0);
4639
- let s = (n.left + i.x) / a.x, u = (n.top + i.y) / a.y, p = n.width / a.x, d = n.height / a.y;
4640
- if (r) {
4641
- const c = oe(r), m = o && de(o) ? oe(o) : o;
4638
+ const r = pr(i, l, o) ? lo(i) : he(0);
4639
+ let s = (n.left + r.x) / a.x, u = (n.top + r.y) / a.y, p = n.width / a.x, d = n.height / a.y;
4640
+ if (i) {
4641
+ const c = oe(i), m = o && de(o) ? oe(o) : o;
4642
4642
  let y = c.frameElement;
4643
4643
  for (; y && o && m !== c; ) {
4644
4644
  const v = Ae(y), g = y.getBoundingClientRect(), $ = le(y), j = g.left + (y.clientLeft + parseFloat($.paddingLeft)) * v.x, x = g.top + (y.clientTop + parseFloat($.paddingTop)) * v.y;
@@ -4658,23 +4658,23 @@ function yr(e) {
4658
4658
  offsetParent: l,
4659
4659
  strategy: o
4660
4660
  } = e;
4661
- const n = ie(l), r = ce(l);
4662
- if (l === r)
4661
+ const n = ie(l), i = ce(l);
4662
+ if (l === i)
4663
4663
  return t;
4664
4664
  let a = {
4665
4665
  scrollLeft: 0,
4666
4666
  scrollTop: 0
4667
- }, i = he(1);
4667
+ }, r = he(1);
4668
4668
  const s = he(0);
4669
- if ((n || !n && o !== "fixed") && ((ge(l) !== "body" || Re(r)) && (a = ot(l)), ie(l))) {
4669
+ if ((n || !n && o !== "fixed") && ((ge(l) !== "body" || Re(i)) && (a = ot(l)), ie(l))) {
4670
4670
  const u = $e(l);
4671
- i = Ae(l), s.x = u.x + l.clientLeft, s.y = u.y + l.clientTop;
4671
+ r = Ae(l), s.x = u.x + l.clientLeft, s.y = u.y + l.clientTop;
4672
4672
  }
4673
4673
  return {
4674
- width: t.width * i.x,
4675
- height: t.height * i.y,
4676
- x: t.x * i.x - a.scrollLeft * i.x + s.x,
4677
- y: t.y * i.y - a.scrollTop * i.y + s.y
4674
+ width: t.width * r.x,
4675
+ height: t.height * r.y,
4676
+ x: t.x * r.x - a.scrollLeft * r.x + s.x,
4677
+ y: t.y * r.y - a.scrollTop * r.y + s.y
4678
4678
  };
4679
4679
  }
4680
4680
  function mr(e) {
@@ -4684,36 +4684,36 @@ function ao(e) {
4684
4684
  return $e(ce(e)).left + ot(e).scrollLeft;
4685
4685
  }
4686
4686
  function vr(e) {
4687
- const t = ce(e), l = ot(e), o = e.ownerDocument.body, n = Be(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), r = Be(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4687
+ const t = ce(e), l = ot(e), o = e.ownerDocument.body, n = Be(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), i = Be(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4688
4688
  let a = -l.scrollLeft + ao(e);
4689
- const i = -l.scrollTop;
4689
+ const r = -l.scrollTop;
4690
4690
  return le(o).direction === "rtl" && (a += Be(t.clientWidth, o.clientWidth) - n), {
4691
4691
  width: n,
4692
- height: r,
4692
+ height: i,
4693
4693
  x: a,
4694
- y: i
4694
+ y: r
4695
4695
  };
4696
4696
  }
4697
4697
  function hr(e, t) {
4698
4698
  const l = oe(e), o = ce(e), n = l.visualViewport;
4699
- let r = o.clientWidth, a = o.clientHeight, i = 0, s = 0;
4699
+ let i = o.clientWidth, a = o.clientHeight, r = 0, s = 0;
4700
4700
  if (n) {
4701
- r = n.width, a = n.height;
4701
+ i = n.width, a = n.height;
4702
4702
  const u = _t();
4703
- (!u || u && t === "fixed") && (i = n.offsetLeft, s = n.offsetTop);
4703
+ (!u || u && t === "fixed") && (r = n.offsetLeft, s = n.offsetTop);
4704
4704
  }
4705
4705
  return {
4706
- width: r,
4706
+ width: i,
4707
4707
  height: a,
4708
- x: i,
4708
+ x: r,
4709
4709
  y: s
4710
4710
  };
4711
4711
  }
4712
4712
  function gr(e, t) {
4713
- const l = $e(e, !0, t === "fixed"), o = l.top + e.clientTop, n = l.left + e.clientLeft, r = ie(e) ? Ae(e) : he(1), a = e.clientWidth * r.x, i = e.clientHeight * r.y, s = n * r.x, u = o * r.y;
4713
+ const l = $e(e, !0, t === "fixed"), o = l.top + e.clientTop, n = l.left + e.clientLeft, i = ie(e) ? Ae(e) : he(1), a = e.clientWidth * i.x, r = e.clientHeight * i.y, s = n * i.x, u = o * i.y;
4714
4714
  return {
4715
4715
  width: a,
4716
- height: i,
4716
+ height: r,
4717
4717
  x: s,
4718
4718
  y: u
4719
4719
  };
@@ -4744,12 +4744,12 @@ function br(e, t) {
4744
4744
  const l = t.get(e);
4745
4745
  if (l)
4746
4746
  return l;
4747
- let o = Pe(e, [], !1).filter((i) => de(i) && ge(i) !== "body"), n = null;
4748
- const r = le(e).position === "fixed";
4749
- let a = r ? Ee(e) : e;
4747
+ let o = Pe(e, [], !1).filter((r) => de(r) && ge(r) !== "body"), n = null;
4748
+ const i = le(e).position === "fixed";
4749
+ let a = i ? Ee(e) : e;
4750
4750
  for (; de(a) && !tt(a); ) {
4751
- const i = le(a), s = wt(a);
4752
- !s && i.position === "fixed" && (n = null), (r ? !s && !n : !s && i.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Re(a) && !s && ro(e, a)) ? o = o.filter((p) => p !== a) : n = i, a = Ee(a);
4751
+ const r = le(a), s = wt(a);
4752
+ !s && r.position === "fixed" && (n = null), (i ? !s && !n : !s && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Re(a) && !s && ro(e, a)) ? o = o.filter((p) => p !== a) : n = r, a = Ee(a);
4753
4753
  }
4754
4754
  return t.set(e, o), o;
4755
4755
  }
@@ -4760,10 +4760,10 @@ function wr(e) {
4760
4760
  rootBoundary: o,
4761
4761
  strategy: n
4762
4762
  } = e;
4763
- const a = [...l === "clippingAncestors" ? br(t, this._c) : [].concat(l), o], i = a[0], s = a.reduce((u, p) => {
4763
+ const a = [...l === "clippingAncestors" ? br(t, this._c) : [].concat(l), o], r = a[0], s = a.reduce((u, p) => {
4764
4764
  const d = At(t, p, n);
4765
4765
  return u.top = Be(d.top, u.top), u.right = st(d.right, u.right), u.bottom = st(d.bottom, u.bottom), u.left = Be(d.left, u.left), u;
4766
- }, At(t, i, n));
4766
+ }, At(t, r, n));
4767
4767
  return {
4768
4768
  width: s.right - s.left,
4769
4769
  height: s.bottom - s.top,
@@ -4775,20 +4775,20 @@ function _r(e) {
4775
4775
  return no(e);
4776
4776
  }
4777
4777
  function jr(e, t, l) {
4778
- const o = ie(t), n = ce(t), r = l === "fixed", a = $e(e, !0, r, t);
4779
- let i = {
4778
+ const o = ie(t), n = ce(t), i = l === "fixed", a = $e(e, !0, i, t);
4779
+ let r = {
4780
4780
  scrollLeft: 0,
4781
4781
  scrollTop: 0
4782
4782
  };
4783
4783
  const s = he(0);
4784
- if (o || !o && !r)
4785
- if ((ge(t) !== "body" || Re(n)) && (i = ot(t)), o) {
4786
- const u = $e(t, !0, r, t);
4784
+ if (o || !o && !i)
4785
+ if ((ge(t) !== "body" || Re(n)) && (r = ot(t)), o) {
4786
+ const u = $e(t, !0, i, t);
4787
4787
  s.x = u.x + t.clientLeft, s.y = u.y + t.clientTop;
4788
4788
  } else n && (s.x = ao(n));
4789
4789
  return {
4790
- x: a.left + i.scrollLeft - s.x,
4791
- y: a.top + i.scrollTop - s.y,
4790
+ x: a.left + r.scrollLeft - s.x,
4791
+ y: a.top + r.scrollTop - s.y,
4792
4792
  width: a.width,
4793
4793
  height: a.height
4794
4794
  };
@@ -4811,13 +4811,13 @@ const kr = async function(e) {
4811
4811
  floating: l,
4812
4812
  strategy: o
4813
4813
  } = e;
4814
- const n = this.getOffsetParent || io, r = this.getDimensions;
4814
+ const n = this.getOffsetParent || io, i = this.getDimensions;
4815
4815
  return {
4816
4816
  reference: jr(t, await n(l), o),
4817
4817
  floating: {
4818
4818
  x: 0,
4819
4819
  y: 0,
4820
- ...await r(l)
4820
+ ...await i(l)
4821
4821
  }
4822
4822
  };
4823
4823
  };
@@ -4839,18 +4839,18 @@ const Sr = {
4839
4839
  function Cr(e, t) {
4840
4840
  let l = null, o;
4841
4841
  const n = ce(e);
4842
- function r() {
4842
+ function i() {
4843
4843
  clearTimeout(o), l && l.disconnect(), l = null;
4844
4844
  }
4845
- function a(i, s) {
4846
- i === void 0 && (i = !1), s === void 0 && (s = 1), r();
4845
+ function a(r, s) {
4846
+ r === void 0 && (r = !1), s === void 0 && (s = 1), i();
4847
4847
  const {
4848
4848
  left: u,
4849
4849
  top: p,
4850
4850
  width: d,
4851
4851
  height: c
4852
4852
  } = e.getBoundingClientRect();
4853
- if (i || t(), !d || !c)
4853
+ if (r || t(), !d || !c)
4854
4854
  return;
4855
4855
  const m = qe(p), y = qe(n.clientWidth - (u + d)), v = qe(n.clientHeight - (p + c)), g = qe(u), j = {
4856
4856
  rootMargin: -m + "px " + -y + "px " + -v + "px " + -g + "px",
@@ -4879,23 +4879,23 @@ function Cr(e, t) {
4879
4879
  }
4880
4880
  l.observe(e);
4881
4881
  }
4882
- return a(!0), r;
4882
+ return a(!0), i;
4883
4883
  }
4884
4884
  function Vr(e, t, l, o) {
4885
4885
  o === void 0 && (o = {});
4886
4886
  const {
4887
4887
  ancestorScroll: n = !0,
4888
- ancestorResize: r = !0,
4888
+ ancestorResize: i = !0,
4889
4889
  elementResize: a = typeof ResizeObserver == "function",
4890
- layoutShift: i = typeof IntersectionObserver == "function",
4890
+ layoutShift: r = typeof IntersectionObserver == "function",
4891
4891
  animationFrame: s = !1
4892
- } = o, u = jt(e), p = n || r ? [...u ? Pe(u) : [], ...Pe(t)] : [];
4892
+ } = o, u = jt(e), p = n || i ? [...u ? Pe(u) : [], ...Pe(t)] : [];
4893
4893
  p.forEach(($) => {
4894
4894
  n && $.addEventListener("scroll", l, {
4895
4895
  passive: !0
4896
- }), r && $.addEventListener("resize", l);
4896
+ }), i && $.addEventListener("resize", l);
4897
4897
  });
4898
- const d = u && i ? Cr(u, l) : null;
4898
+ const d = u && r ? Cr(u, l) : null;
4899
4899
  let c = -1, m = null;
4900
4900
  a && (m = new ResizeObserver(($) => {
4901
4901
  let [j] = $;
@@ -4911,7 +4911,7 @@ function Vr(e, t, l, o) {
4911
4911
  }
4912
4912
  return l(), () => {
4913
4913
  p.forEach(($) => {
4914
- n && $.removeEventListener("scroll", l), r && $.removeEventListener("resize", l);
4914
+ n && $.removeEventListener("scroll", l), i && $.removeEventListener("resize", l);
4915
4915
  }), d && d(), m && m.disconnect(), m = null, s && cancelAnimationFrame(y);
4916
4916
  };
4917
4917
  }
@@ -4919,13 +4919,13 @@ const xr = (e, t, l) => {
4919
4919
  const o = /* @__PURE__ */ new Map(), n = {
4920
4920
  platform: Sr,
4921
4921
  ...l
4922
- }, r = {
4922
+ }, i = {
4923
4923
  ...n.platform,
4924
4924
  _c: o
4925
4925
  };
4926
4926
  return ir(e, t, {
4927
4927
  ...n,
4928
- platform: r
4928
+ platform: i
4929
4929
  });
4930
4930
  };
4931
4931
  function Tr(e) {
@@ -4976,16 +4976,16 @@ function fo(e, t, l) {
4976
4976
  const o = l.whileElementsMounted, n = V(() => {
4977
4977
  var k;
4978
4978
  return (k = Ie(l.open)) != null ? k : !0;
4979
- }), r = V(() => Ie(l.middleware)), a = V(() => {
4979
+ }), i = V(() => Ie(l.middleware)), a = V(() => {
4980
4980
  var k;
4981
4981
  return (k = Ie(l.placement)) != null ? k : "bottom";
4982
- }), i = V(() => {
4982
+ }), r = V(() => {
4983
4983
  var k;
4984
4984
  return (k = Ie(l.strategy)) != null ? k : "absolute";
4985
4985
  }), s = V(() => {
4986
4986
  var k;
4987
4987
  return (k = Ie(l.transform)) != null ? k : !0;
4988
- }), u = V(() => ut(e.value)), p = V(() => ut(t.value)), d = C(0), c = C(0), m = C(i.value), y = C(a.value), v = Ft({}), g = C(!1), $ = V(() => {
4988
+ }), u = V(() => ut(e.value)), p = V(() => ut(t.value)), d = C(0), c = C(0), m = C(r.value), y = C(a.value), v = Ft({}), g = C(!1), $ = V(() => {
4989
4989
  const k = {
4990
4990
  position: m.value,
4991
4991
  left: "0",
@@ -5009,9 +5009,9 @@ function fo(e, t, l) {
5009
5009
  let j;
5010
5010
  function x() {
5011
5011
  u.value == null || p.value == null || xr(u.value, p.value, {
5012
- middleware: r.value,
5012
+ middleware: i.value,
5013
5013
  placement: a.value,
5014
- strategy: i.value
5014
+ strategy: r.value
5015
5015
  }).then((k) => {
5016
5016
  d.value = k.x, c.value = k.y, m.value = k.strategy, y.value = k.placement, v.value = k.middlewareData, g.value = !0;
5017
5017
  });
@@ -5032,7 +5032,7 @@ function fo(e, t, l) {
5032
5032
  function P() {
5033
5033
  n.value || (g.value = !1);
5034
5034
  }
5035
- return K([r, a, i], x, {
5035
+ return K([i, a, r], x, {
5036
5036
  flush: "sync"
5037
5037
  }), K([u, p], L, {
5038
5038
  flush: "sync"
@@ -5080,7 +5080,7 @@ const Br = () => {
5080
5080
  },
5081
5081
  emits: ["product-tour:hide"],
5082
5082
  setup(e, { expose: t, emit: l }) {
5083
- const o = l, n = e, { clearProductTourRef: r } = po, a = C(null), i = C(null), s = C(null), u = C(null), p = C(null), d = C(n.open), c = C(), m = C(
5083
+ const o = l, n = e, { clearProductTourRef: i } = po, a = C(null), r = C(null), s = C(null), u = C(null), p = C(null), d = C(n.open), c = C(), m = C(
5084
5084
  fo(s, a, {
5085
5085
  placement: n.position,
5086
5086
  whileElementsMounted(...k) {
@@ -5121,13 +5121,13 @@ const Br = () => {
5121
5121
  }), (k = m.value) == null || k.update(), d.value = !0);
5122
5122
  }
5123
5123
  function g() {
5124
- d.value = !1, r(), P(), o("product-tour:hide");
5124
+ d.value = !1, i(), P(), o("product-tour:hide");
5125
5125
  }
5126
5126
  function $(k) {
5127
5127
  s.value && (k.disableOverlay || j(), x(k.elementToHighlight));
5128
5128
  }
5129
5129
  function j() {
5130
- i.value = document.createElement("div"), i.value.classList.add("joy-product-tour__overlay"), i.value.addEventListener("click", g, { once: !0 }), i.value.style.position = "fixed", i.value.style.top = "0", i.value.style.left = "0", i.value.style.width = "100%", i.value.style.height = "100%", i.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(i.value);
5130
+ r.value = document.createElement("div"), r.value.classList.add("joy-product-tour__overlay"), r.value.addEventListener("click", g, { once: !0 }), r.value.style.position = "fixed", r.value.style.top = "0", r.value.style.left = "0", r.value.style.width = "100%", r.value.style.height = "100%", r.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(r.value);
5131
5131
  }
5132
5132
  function x(k) {
5133
5133
  k && (k.style.position = "relative", k.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", u.value = O(Xa), p.value = document.createElement("div"), p.value.classList.add(Jr), document.body.appendChild(p.value), kt(u.value, p.value), E());
@@ -5139,7 +5139,7 @@ const Br = () => {
5139
5139
  p.value.style.left = `calc(${window.scrollX + k - n.spotlightPadding}px`, p.value.style.top = `${window.scrollY + R - n.spotlightPadding}px`, p.value.style.width = `${J}px`, p.value.style.height = `${S}px`, p.value.style.position = "absolute", p.value.style.padding = n.spotlightPadding + "px", p.value.style.boxSizing = "content-box";
5140
5140
  }
5141
5141
  function L() {
5142
- i.value && i.value.remove();
5142
+ r.value && r.value.remove();
5143
5143
  }
5144
5144
  function P() {
5145
5145
  L(), s.value && (s.value.style.position = "", s.value.style.zIndex = ""), p.value && (kt(null, p.value), p.value.remove());
@@ -5246,7 +5246,7 @@ const Br = () => {
5246
5246
  },
5247
5247
  emits: ["product-tour:hide"],
5248
5248
  setup(e, { expose: t, emit: l }) {
5249
- const o = C(!1), n = e, r = l, { storeProductTourRef: a, clearProductTourRef: i } = po, s = C(), u = Ce(), p = V(() => {
5249
+ const o = C(!1), n = e, i = l, { storeProductTourRef: a, clearProductTourRef: r } = po, s = C(), u = Ce(), p = V(() => {
5250
5250
  if (o.value)
5251
5251
  return u;
5252
5252
  });
@@ -5254,11 +5254,11 @@ const Br = () => {
5254
5254
  a(s.value);
5255
5255
  }
5256
5256
  function c() {
5257
- r("product-tour:hide");
5257
+ i("product-tour:hide");
5258
5258
  }
5259
5259
  function m(y = { fireHideEvent: !1 }) {
5260
5260
  var v;
5261
- (v = s.value) == null || v.hide(), i(), y.fireHideEvent && c();
5261
+ (v = s.value) == null || v.hide(), r(), y.fireHideEvent && c();
5262
5262
  }
5263
5263
  return te(() => {
5264
5264
  o.value = !0, n.open && a(s.value);
@@ -5300,17 +5300,20 @@ const Br = () => {
5300
5300
  },
5301
5301
  emits: ["click"],
5302
5302
  setup(e, { emit: t }) {
5303
- const l = e, o = t, n = V(() => l.productTour), r = G(), a = V(() => r.default());
5304
- async function i() {
5303
+ const l = e, o = t, n = V(() => l.productTour), i = G(), a = V(() => i.default());
5304
+ async function r() {
5305
5305
  var s;
5306
5306
  o("click"), n.value && ((s = n.value) == null || s.show());
5307
5307
  }
5308
5308
  return (s, u) => (f(!0), b(W, null, U(a.value, (p) => (f(), I(Q(p), {
5309
5309
  key: p,
5310
- onClick: i
5310
+ onClick: r
5311
5311
  }))), 128));
5312
5312
  }
5313
- }), Or = /* @__PURE__ */ B({
5313
+ }), Or = {
5314
+ key: 0,
5315
+ class: "joy-progress-bar-label joy-font-primary-450"
5316
+ }, Dr = /* @__PURE__ */ B({
5314
5317
  __name: "VJoyProgressBar",
5315
5318
  props: {
5316
5319
  /** import TJoyProgressBarColors */
@@ -5335,26 +5338,40 @@ const Br = () => {
5335
5338
  */
5336
5339
  percentage: {
5337
5340
  type: Number
5341
+ },
5342
+ /** Display the actual progress value next to the bar */
5343
+ showLabel: {
5344
+ type: Boolean,
5345
+ default: !1
5338
5346
  }
5339
5347
  },
5340
5348
  setup(e, { expose: t }) {
5341
- const l = e, o = C(0), n = V(() => r());
5342
- function r() {
5349
+ const l = e, o = C(0), n = V(() => i());
5350
+ function i() {
5343
5351
  return l.percentage ? o.value = l.percentage : l.currentStep && l.steps ? o.value = Math.round(l.currentStep / l.steps * 100) : o.value = 0, o.value < 0 && (o.value = 0), o.value > 100 && (o.value = 100), o.value + "%";
5344
5352
  }
5345
5353
  return t({
5346
5354
  computeInnerWidth: n,
5347
5355
  computedPercentage: o
5348
- }), (a, i) => (f(), b("div", {
5349
- class: T(["joy-progress-bar-wrapper", [`joy-progress-bar_${e.color}`]])
5350
- }, [
5351
- h("div", {
5352
- class: "joy-progress-bar-inner",
5353
- style: ee({ width: n.value })
5354
- }, null, 4)
5355
- ], 2));
5356
+ }), (a, r) => (f(), I(re, {
5357
+ wrap: "nowrap",
5358
+ align: "center"
5359
+ }, {
5360
+ default: z(() => [
5361
+ e.showLabel && e.percentage ? (f(), b("span", Or, M(e.percentage + "%"), 1)) : _("", !0),
5362
+ h("div", {
5363
+ class: T(["joy-progress-bar-wrapper", [`joy-progress-bar_${e.color}`]])
5364
+ }, [
5365
+ h("div", {
5366
+ class: "joy-progress-bar-inner",
5367
+ style: ee({ width: n.value })
5368
+ }, null, 4)
5369
+ ], 2)
5370
+ ]),
5371
+ _: 1
5372
+ }));
5356
5373
  }
5357
- }), bu = /* @__PURE__ */ A(Or, [["__scopeId", "data-v-14b07f95"]]), Dr = ["id", "value", "checked", "disabled", "required", "name"], Rr = { class: "joy-radio-label" }, Nr = { class: "joy-radio-content__wrapper" }, qr = { class: "joy-radio-content" }, Hr = /* @__PURE__ */ B({
5374
+ }), bu = /* @__PURE__ */ A(Dr, [["__scopeId", "data-v-59de6407"]]), Rr = ["id", "value", "checked", "disabled", "required", "name"], Nr = { class: "joy-radio-label" }, qr = { class: "joy-radio-content__wrapper" }, Hr = { class: "joy-radio-content" }, Wr = /* @__PURE__ */ B({
5358
5375
  __name: "VJoyRadio",
5359
5376
  props: {
5360
5377
  disabled: {
@@ -5387,9 +5404,9 @@ const Br = () => {
5387
5404
  },
5388
5405
  emits: ["update:modelValue"],
5389
5406
  setup(e, { expose: t, emit: l }) {
5390
- const o = l, n = e, r = C(!1), a = C(!1), i = C(null), s = C(null), u = G(), p = V(() => !n.modelValue || !n.value ? !1 : n.modelValue === n.value);
5407
+ const o = l, n = e, i = C(!1), a = C(!1), r = C(null), s = C(null), u = G(), p = V(() => !n.modelValue || !n.value ? !1 : n.modelValue === n.value);
5391
5408
  function d() {
5392
- r.value = !!u["expandable-content"] && p.value;
5409
+ i.value = !!u["expandable-content"] && p.value;
5393
5410
  }
5394
5411
  function c() {
5395
5412
  o("update:modelValue", n.value), d();
@@ -5410,10 +5427,10 @@ const Br = () => {
5410
5427
  }
5411
5428
  ), t({
5412
5429
  checked: p,
5413
- isExpanded: r
5430
+ isExpanded: i
5414
5431
  }), (v, g) => (f(), b("label", {
5415
5432
  ref_key: "root",
5416
- ref: i,
5433
+ ref: r,
5417
5434
  class: T([
5418
5435
  "joy-radio",
5419
5436
  `joy-radio--${e.theme}`,
@@ -5436,25 +5453,25 @@ const Br = () => {
5436
5453
  onChange: c,
5437
5454
  onFocus: m,
5438
5455
  onBlur: y
5439
- }, null, 40, Dr),
5440
- h("span", Rr, [
5456
+ }, null, 40, Rr),
5457
+ h("span", Nr, [
5441
5458
  w(v.$slots, "default", {}, void 0, !0)
5442
5459
  ]),
5443
- h("div", Nr, [
5444
- h("div", qr, [
5460
+ h("div", qr, [
5461
+ h("div", Hr, [
5445
5462
  w(v.$slots, "radio-content", {}, void 0, !0)
5446
5463
  ]),
5447
5464
  h("div", {
5448
5465
  ref_key: "expandableElement",
5449
5466
  ref: s,
5450
- class: T(["joy-radio-expandable", { "joy-radio-expandable--expanded": r.value }])
5467
+ class: T(["joy-radio-expandable", { "joy-radio-expandable--expanded": i.value }])
5451
5468
  }, [
5452
5469
  w(v.$slots, "expandable-content", {}, void 0, !0)
5453
5470
  ], 2)
5454
5471
  ])
5455
5472
  ], 2));
5456
5473
  }
5457
- }), wu = /* @__PURE__ */ A(Hr, [["__scopeId", "data-v-d684b26e"]]), Wr = ["form", "name"], Ur = /* @__PURE__ */ B({
5474
+ }), wu = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-d684b26e"]]), Ur = ["form", "name"], Gr = /* @__PURE__ */ B({
5458
5475
  __name: "VJoyRadioGroup",
5459
5476
  props: {
5460
5477
  direction: { default: "horizontal" },
@@ -5475,9 +5492,9 @@ const Br = () => {
5475
5492
  }, [
5476
5493
  w(t.$slots, "default", {}, void 0, !0)
5477
5494
  ], 2)
5478
- ], 8, Wr));
5495
+ ], 8, Ur));
5479
5496
  }
5480
- }), _u = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-ac4dd24e"]]), Gr = ["ariaLabel"], Yr = { class: "joy-rating-stars" }, Kr = { class: "joy-rating-stars__content" }, Zr = { key: 0 }, Xr = /* @__PURE__ */ B({
5497
+ }), _u = /* @__PURE__ */ A(Gr, [["__scopeId", "data-v-ac4dd24e"]]), Yr = ["ariaLabel"], Kr = { class: "joy-rating-stars" }, Zr = { class: "joy-rating-stars__content" }, Xr = { key: 0 }, Qr = /* @__PURE__ */ B({
5481
5498
  __name: "VJoyRatingStars",
5482
5499
  props: {
5483
5500
  /** Between 0 and 5 */
@@ -5497,29 +5514,29 @@ const Br = () => {
5497
5514
  },
5498
5515
  setup(e, { expose: t }) {
5499
5516
  const l = e, o = Ce(), n = V(() => {
5500
- let r = [], a = 0.24, i = 0.75;
5517
+ let i = [], a = 0.24, r = 0.75;
5501
5518
  for (let s = 0; s < 5; s++)
5502
- l.ratingValue > a ? r.push(l.ratingValue < i ? "half" : "full") : r.push("empty"), a += 1, i += 1;
5503
- return r;
5519
+ l.ratingValue > a ? i.push(l.ratingValue < r ? "half" : "full") : i.push("empty"), a += 1, r += 1;
5520
+ return i;
5504
5521
  });
5505
5522
  return t({
5506
5523
  setStars: n
5507
- }), (r, a) => (f(), b("div", {
5524
+ }), (i, a) => (f(), b("div", {
5508
5525
  role: "img",
5509
5526
  class: "joy-rating-stars__wrapper",
5510
5527
  ariaLabel: q(o).ariaLabel || `Rating: ${e.ratingValue} out of 5`
5511
5528
  }, [
5512
- h("ul", Yr, [
5513
- (f(!0), b(W, null, U(n.value, (i, s) => (f(), b("li", {
5529
+ h("ul", Kr, [
5530
+ (f(!0), b(W, null, U(n.value, (r, s) => (f(), b("li", {
5514
5531
  key: s,
5515
5532
  class: T([`joy-rating-stars--${e.size}`])
5516
5533
  }, [
5517
- i === "full" ? (f(), I(N, {
5534
+ r === "full" ? (f(), I(N, {
5518
5535
  key: 0,
5519
5536
  "aria-hidden": "true",
5520
5537
  name: "star-fill",
5521
5538
  color: "quaternary"
5522
- })) : i === "half" ? (f(), I(N, {
5539
+ })) : r === "half" ? (f(), I(N, {
5523
5540
  key: 1,
5524
5541
  "aria-hidden": "true",
5525
5542
  name: "star-half",
@@ -5532,14 +5549,14 @@ const Br = () => {
5532
5549
  }))
5533
5550
  ], 2))), 128))
5534
5551
  ]),
5535
- h("div", Kr, [
5536
- w(r.$slots, "rating-stars-content", {}, () => [
5537
- e.reviewCount ? (f(), b("span", Zr, "(" + M(e.reviewCount) + ")", 1)) : _("", !0)
5552
+ h("div", Zr, [
5553
+ w(i.$slots, "rating-stars-content", {}, () => [
5554
+ e.reviewCount ? (f(), b("span", Xr, "(" + M(e.reviewCount) + ")", 1)) : _("", !0)
5538
5555
  ], !0)
5539
5556
  ])
5540
- ], 8, Gr));
5557
+ ], 8, Yr));
5541
5558
  }
5542
- }), Qr = /* @__PURE__ */ A(Xr, [["__scopeId", "data-v-4c9a1026"]]), ei = ["id", "name", "aria-invalid", "required", "disabled"], ti = ["selected"], oi = /* @__PURE__ */ B({
5559
+ }), ei = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-4c9a1026"]]), ti = ["id", "name", "aria-invalid", "required", "disabled"], oi = ["selected"], ni = /* @__PURE__ */ B({
5543
5560
  __name: "VJoySelect",
5544
5561
  props: {
5545
5562
  disabled: {
@@ -5583,28 +5600,28 @@ const Br = () => {
5583
5600
  },
5584
5601
  emits: ["update:modelValue"],
5585
5602
  setup(e, { expose: t, emit: l }) {
5586
- const o = e, n = l, r = G(), a = V(() => {
5587
- const v = r.default();
5603
+ const o = e, n = l, i = G(), a = V(() => {
5604
+ const v = i.default();
5588
5605
  let g = [];
5589
5606
  return v.forEach(($) => {
5590
- if (i($))
5607
+ if (r($))
5591
5608
  g.push($);
5592
5609
  else {
5593
5610
  const j = $.children;
5594
5611
  if (typeof j == "string" || !j.length)
5595
5612
  return;
5596
- const x = j.filter(i);
5613
+ const x = j.filter(r);
5597
5614
  g = [...g, ...x];
5598
5615
  }
5599
5616
  }), g;
5600
5617
  });
5601
- function i(v) {
5618
+ function r(v) {
5602
5619
  return (v == null ? void 0 : v.type) === "option";
5603
5620
  }
5604
5621
  const s = C(), u = C(), p = C(!1), d = V(() => o.labelSize ? o.labelSize : o.size !== "medium" ? "small" : "medium");
5605
5622
  te(() => {
5606
5623
  var $;
5607
- const v = r["select-label"] && r["select-label"]();
5624
+ const v = i["select-label"] && i["select-label"]();
5608
5625
  if (!v || !v.length)
5609
5626
  return;
5610
5627
  const g = v[0];
@@ -5678,9 +5695,9 @@ const Br = () => {
5678
5695
  ref_for: !0
5679
5696
  }, $.props, {
5680
5697
  selected: ((x = $.props) == null ? void 0 : x.value) === e.modelValue
5681
- }), M($.children), 17, ti);
5698
+ }), M($.children), 17, oi);
5682
5699
  }), 128))
5683
- ], 40, ei),
5700
+ ], 40, ti),
5684
5701
  O(N, {
5685
5702
  class: "joy-select__chevron",
5686
5703
  name: "chevron-down"
@@ -5688,7 +5705,7 @@ const Br = () => {
5688
5705
  ], 2)
5689
5706
  ], 512));
5690
5707
  }
5691
- }), ju = /* @__PURE__ */ A(oi, [["__scopeId", "data-v-7e3adcd9"]]), ni = ["aria-disabled"], li = ["id", "value", "checked", "disabled", "required", "name"], ai = { class: "joy-selectable-item__label" }, ri = /* @__PURE__ */ B({
5708
+ }), ju = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-7e3adcd9"]]), li = ["aria-disabled"], ai = ["id", "value", "checked", "disabled", "required", "name"], ri = { class: "joy-selectable-item__label" }, ii = /* @__PURE__ */ B({
5692
5709
  __name: "VJoySelectableItem",
5693
5710
  props: {
5694
5711
  disabled: { type: Boolean, default: !1 },
@@ -5706,7 +5723,7 @@ const Br = () => {
5706
5723
  },
5707
5724
  emits: ["update:checked"],
5708
5725
  setup(e, { emit: t }) {
5709
- const l = t, o = Fe() + "--JoySelectableItem", n = e, r = C(), a = C(!1), i = n.multiple ? "div" : "label", s = V(() => n.id || o), u = {
5726
+ const l = t, o = Fe() + "--JoySelectableItem", n = e, i = C(), a = C(!1), r = n.multiple ? "div" : "label", s = V(() => n.id || o), u = {
5710
5727
  onRadioChange: () => {
5711
5728
  l("update:checked", n.value);
5712
5729
  },
@@ -5741,7 +5758,7 @@ const Br = () => {
5741
5758
  key: 0,
5742
5759
  id: s.value,
5743
5760
  ref_key: "inputRadio",
5744
- ref: r,
5761
+ ref: i,
5745
5762
  type: "radio",
5746
5763
  value: d.value,
5747
5764
  checked: d.checked,
@@ -5754,8 +5771,8 @@ const Br = () => {
5754
5771
  (...m) => u.onFocus && u.onFocus(...m)),
5755
5772
  onBlur: c[2] || (c[2] = //@ts-ignore
5756
5773
  (...m) => u.onBlur && u.onBlur(...m))
5757
- }, null, 40, li)),
5758
- (f(), I(Q(q(i)), {
5774
+ }, null, 40, ai)),
5775
+ (f(), I(Q(q(r)), {
5759
5776
  for: s.value,
5760
5777
  class: T([
5761
5778
  "joy-selectable-item",
@@ -5788,7 +5805,7 @@ const Br = () => {
5788
5805
  ]),
5789
5806
  _: 3
5790
5807
  }, 8, ["id", "checked", "disabled", "value", "name", "required"])) : _("", !0),
5791
- h("div", ai, [
5808
+ h("div", ri, [
5792
5809
  d.multiple ? _("", !0) : w(d.$slots, "default", { key: 0 }, void 0, !0)
5793
5810
  ]),
5794
5811
  h("div", {
@@ -5801,9 +5818,9 @@ const Br = () => {
5801
5818
  ]),
5802
5819
  _: 3
5803
5820
  }, 8, ["for", "class", "onClick"]))
5804
- ], 10, ni));
5821
+ ], 10, li));
5805
5822
  }
5806
- }), ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-ce43afb6"]]), si = ["id"], ui = /* @__PURE__ */ B({
5823
+ }), si = /* @__PURE__ */ A(ii, [["__scopeId", "data-v-ce43afb6"]]), ui = ["id"], di = /* @__PURE__ */ B({
5807
5824
  __name: "VJoySelectableItemGroup",
5808
5825
  props: {
5809
5826
  options: {},
@@ -5822,31 +5839,31 @@ const Br = () => {
5822
5839
  emits: ["update:value"],
5823
5840
  setup(e, { emit: t }) {
5824
5841
  const l = t, o = e;
5825
- function n(i) {
5826
- return typeof o.value == "string" ? o.value === a(i) : (o.value || []).includes(a(i));
5842
+ function n(r) {
5843
+ return typeof o.value == "string" ? o.value === a(r) : (o.value || []).includes(a(r));
5827
5844
  }
5828
- function r(i, s) {
5845
+ function i(r, s) {
5829
5846
  if (!o.multiple)
5830
5847
  return l("update:value", s);
5831
5848
  let u = [...o.value || []];
5832
- s && typeof s == "boolean" ? u.push(i) : u.splice(u.indexOf(i), 1), l("update:value", u);
5849
+ s && typeof s == "boolean" ? u.push(r) : u.splice(u.indexOf(r), 1), l("update:value", u);
5833
5850
  }
5834
- function a(i) {
5835
- return o.valueKey && Object.prototype.hasOwnProperty.call(i, o.valueKey) ? i[o.valueKey] : i.value;
5851
+ function a(r) {
5852
+ return o.valueKey && Object.prototype.hasOwnProperty.call(r, o.valueKey) ? r[o.valueKey] : r.value;
5836
5853
  }
5837
- return (i, s) => (f(), b("fieldset", {
5838
- id: i.id,
5854
+ return (r, s) => (f(), b("fieldset", {
5855
+ id: r.id,
5839
5856
  class: "joy-selectable-item-group__wrapper"
5840
5857
  }, [
5841
- i.label ? (f(), I(Ve, {
5858
+ r.label ? (f(), I(Ve, {
5842
5859
  key: 0,
5843
5860
  "tag-name": "legend",
5844
- required: i.required && i.requiredMark,
5845
- "optional-label": i.optionalLabel,
5846
- size: i.labelSize
5861
+ required: r.required && r.requiredMark,
5862
+ "optional-label": r.optionalLabel,
5863
+ size: r.labelSize
5847
5864
  }, {
5848
5865
  default: z(() => [
5849
- D(M(i.label), 1)
5866
+ D(M(r.label), 1)
5850
5867
  ]),
5851
5868
  _: 1
5852
5869
  }, 8, ["required", "optional-label", "size"])) : _("", !0),
@@ -5854,26 +5871,26 @@ const Br = () => {
5854
5871
  class: T([
5855
5872
  "joy-selectable-item-group",
5856
5873
  {
5857
- "joy-selectable-item-group--multiple": i.multiple,
5858
- "joy-selectable-item-group--single": !i.multiple,
5859
- "joy-selectable-item-group--full": i.fullWidth
5874
+ "joy-selectable-item-group--multiple": r.multiple,
5875
+ "joy-selectable-item-group--single": !r.multiple,
5876
+ "joy-selectable-item-group--full": r.fullWidth
5860
5877
  }
5861
5878
  ])
5862
5879
  }, [
5863
- (f(!0), b(W, null, U(i.options, (u) => (f(), I(ii, H({ ref_for: !0 }, u.attrs, {
5880
+ (f(!0), b(W, null, U(r.options, (u) => (f(), I(si, H({ ref_for: !0 }, u.attrs, {
5864
5881
  id: u.id,
5865
5882
  key: u.id,
5866
5883
  name: u.name,
5867
5884
  disabled: u.disabled,
5868
5885
  value: a(u),
5869
- multiple: i.multiple,
5886
+ multiple: r.multiple,
5870
5887
  variant: u.variant,
5871
5888
  checked: n(u),
5872
- "onUpdate:checked": (p) => r(a(u), p)
5889
+ "onUpdate:checked": (p) => i(a(u), p)
5873
5890
  }), ft({
5874
5891
  default: z(() => [
5875
- w(i.$slots, "item", H({ ref_for: !0 }, u), () => [
5876
- D(M(i.labelKey && u[i.labelKey] || u.label), 1)
5892
+ w(r.$slots, "item", H({ ref_for: !0 }, u), () => [
5893
+ D(M(r.labelKey && u[r.labelKey] || u.label), 1)
5877
5894
  ], !0)
5878
5895
  ]),
5879
5896
  _: 2
@@ -5887,9 +5904,9 @@ const Br = () => {
5887
5904
  } : void 0
5888
5905
  ]), 1040, ["id", "name", "disabled", "value", "multiple", "variant", "checked", "onUpdate:checked"]))), 128))
5889
5906
  ], 2)
5890
- ], 8, si));
5907
+ ], 8, ui));
5891
5908
  }
5892
- }), ku = /* @__PURE__ */ A(ui, [["__scopeId", "data-v-55121685"]]), di = /* @__PURE__ */ B({
5909
+ }), ku = /* @__PURE__ */ A(di, [["__scopeId", "data-v-55121685"]]), ci = /* @__PURE__ */ B({
5893
5910
  __name: "VJoySeparator",
5894
5911
  props: {
5895
5912
  /** Main text to apply in the central area */
@@ -5908,10 +5925,10 @@ const Br = () => {
5908
5925
  h("span", null, M(e.text), 1)
5909
5926
  ], 2));
5910
5927
  }
5911
- }), $u = /* @__PURE__ */ A(di, [["__scopeId", "data-v-21db2899"]]), ci = { class: "joy-snackbar__img joy-core-radius-6" }, fi = { class: "joy-snackbar__content" }, pi = {
5928
+ }), $u = /* @__PURE__ */ A(ci, [["__scopeId", "data-v-21db2899"]]), fi = { class: "joy-snackbar__img joy-core-radius-6" }, pi = { class: "joy-snackbar__content" }, yi = {
5912
5929
  key: 0,
5913
5930
  class: "joy-mb-1"
5914
- }, yi = ["innerHTML"], mi = /* @__PURE__ */ B({
5931
+ }, mi = ["innerHTML"], vi = /* @__PURE__ */ B({
5915
5932
  __name: "VJoySnackbar",
5916
5933
  props: {
5917
5934
  level: {
@@ -5960,14 +5977,14 @@ const Br = () => {
5960
5977
  },
5961
5978
  setup(e, { expose: t }) {
5962
5979
  const l = e, o = C(!0);
5963
- let n, r;
5964
- const a = "joy-snackbar-" + Xe(), i = V(() => Rt(l.level));
5980
+ let n, i;
5981
+ const a = "joy-snackbar-" + Xe(), r = V(() => Rt(l.level));
5965
5982
  function s() {
5966
5983
  var v;
5967
5984
  (v = l.bus) == null || v.emit("snackbar:action-click");
5968
5985
  }
5969
5986
  function u() {
5970
- n && clearTimeout(n), r && clearTimeout(r);
5987
+ n && clearTimeout(n), i && clearTimeout(i);
5971
5988
  }
5972
5989
  function p() {
5973
5990
  var v;
@@ -5980,7 +5997,7 @@ const Br = () => {
5980
5997
  n = setTimeout(d, l.duration), m();
5981
5998
  }
5982
5999
  function m() {
5983
- r = setTimeout(function() {
6000
+ i = setTimeout(function() {
5984
6001
  var v;
5985
6002
  (v = l.bus) == null || v.emit("snackbar:hide");
5986
6003
  }, l.duration + 300);
@@ -6007,16 +6024,16 @@ const Br = () => {
6007
6024
  id: a,
6008
6025
  class: T(["joy-snackbar", `joy-snackbar_${e.level}`])
6009
6026
  }, [
6010
- h("div", ci, [
6027
+ h("div", fi, [
6011
6028
  O(N, {
6012
6029
  color: "white",
6013
- name: i.value,
6030
+ name: r.value,
6014
6031
  size: "small"
6015
6032
  }, null, 8, ["name"])
6016
6033
  ]),
6017
- h("div", fi, [
6018
- e.header ? (f(), b("strong", pi, M(e.header), 1)) : _("", !0),
6019
- h("span", { innerHTML: e.message }, null, 8, yi),
6034
+ h("div", pi, [
6035
+ e.header ? (f(), b("strong", yi, M(e.header), 1)) : _("", !0),
6036
+ h("span", { innerHTML: e.message }, null, 8, mi),
6020
6037
  e.actionText ? (f(), b("p", {
6021
6038
  key: 1,
6022
6039
  class: "joy-snackbar__trigger___action",
@@ -6037,10 +6054,10 @@ const Br = () => {
6037
6054
  ], 2)
6038
6055
  ], 2));
6039
6056
  }
6040
- }), vi = /* @__PURE__ */ A(mi, [["__scopeId", "data-v-544f38e7"]]), hi = ["id"], gi = { class: "joy-step__stroke" }, bi = {
6057
+ }), hi = /* @__PURE__ */ A(vi, [["__scopeId", "data-v-544f38e7"]]), gi = ["id"], bi = { class: "joy-step__stroke" }, wi = {
6041
6058
  key: 0,
6042
6059
  class: "joy-step__label"
6043
- }, wi = /* @__PURE__ */ B({
6060
+ }, _i = /* @__PURE__ */ B({
6044
6061
  __name: "VJoyStep",
6045
6062
  props: {
6046
6063
  /** Set it to completed to change it's color */
@@ -6074,7 +6091,7 @@ const Br = () => {
6074
6091
  },
6075
6092
  emits: ["update:subSteps"],
6076
6093
  setup(e, { expose: t, emit: l }) {
6077
- const o = e, n = l, r = C(0.1), a = V(() => o.completed ? "100%" : i.value ? o.subSteps <= 1 || o.currentSubStep === 1 ? "10%" : (Math.min(o.currentSubStep / o.subSteps - r.value, 1 - r.value) * 100).toFixed(1) + "%" : "0%"), i = V(() => o.currentSubStep > 0);
6094
+ const o = e, n = l, i = C(0.1), a = V(() => o.completed ? "100%" : r.value ? o.subSteps <= 1 || o.currentSubStep === 1 ? "10%" : (Math.min(o.currentSubStep / o.subSteps - i.value, 1 - i.value) * 100).toFixed(1) + "%" : "0%"), r = V(() => o.currentSubStep > 0);
6078
6095
  function s(u) {
6079
6096
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
6080
6097
  }
@@ -6087,11 +6104,11 @@ const Br = () => {
6087
6104
  `joy-step--size-${e.size}`,
6088
6105
  {
6089
6106
  "joy-step--completed": e.completed,
6090
- "joy-step--ongoing": i.value
6107
+ "joy-step--ongoing": r.value
6091
6108
  }
6092
6109
  ])
6093
6110
  }, [
6094
- h("span", gi, [
6111
+ h("span", bi, [
6095
6112
  h("span", {
6096
6113
  class: "joy-step__stroke--filled",
6097
6114
  style: ee({ maxWidth: a.value })
@@ -6099,15 +6116,15 @@ const Br = () => {
6099
6116
  ]),
6100
6117
  O(ct, { name: "joy-step__label" }, {
6101
6118
  default: z(() => [
6102
- e.showLabel ? (f(), b("span", bi, [
6119
+ e.showLabel ? (f(), b("span", wi, [
6103
6120
  w(u.$slots, "default", {}, void 0, !0)
6104
6121
  ])) : _("", !0)
6105
6122
  ]),
6106
6123
  _: 3
6107
6124
  })
6108
- ], 10, hi));
6125
+ ], 10, gi));
6109
6126
  }
6110
- }), _i = /* @__PURE__ */ A(wi, [["__scopeId", "data-v-3820cdf3"]]), ji = { class: "joy-stepper" }, ki = /* @__PURE__ */ B({
6127
+ }), ji = /* @__PURE__ */ A(_i, [["__scopeId", "data-v-3820cdf3"]]), ki = { class: "joy-stepper" }, $i = /* @__PURE__ */ B({
6111
6128
  __name: "VJoyStepper",
6112
6129
  props: {
6113
6130
  /** Current step value */
@@ -6122,7 +6139,7 @@ const Br = () => {
6122
6139
  }
6123
6140
  },
6124
6141
  setup(e, { expose: t }) {
6125
- const l = e, o = G(), n = Se("VJoyStepperShowLabels", !0), r = V(() => {
6142
+ const l = e, o = G(), n = Se("VJoyStepperShowLabels", !0), i = V(() => {
6126
6143
  const c = o.default();
6127
6144
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(a) : c.filter(a);
6128
6145
  });
@@ -6130,18 +6147,18 @@ const Br = () => {
6130
6147
  var m;
6131
6148
  return ((m = c.type) == null ? void 0 : m.__name) === "VJoyStep";
6132
6149
  }
6133
- const i = V(() => l.step > 0 ? r.value[l.step - 1] : r.value[0]), s = V(() => i.value.props === null ? !1 : l.subStep <= 0 || l.subStep > p.value), u = V(() => s.value && i.value.props ? i.value.props["sub-steps"] : l.subStep), p = V(() => i.value.props === null ? i.value.type.props.subSteps.default : i.value.props["sub-steps"]);
6150
+ const r = V(() => l.step > 0 ? i.value[l.step - 1] : i.value[0]), s = V(() => r.value.props === null ? !1 : l.subStep <= 0 || l.subStep > p.value), u = V(() => s.value && r.value.props ? r.value.props["sub-steps"] : l.subStep), p = V(() => r.value.props === null ? r.value.type.props.subSteps.default : r.value.props["sub-steps"]);
6134
6151
  function d(c) {
6135
6152
  return c !== l.step - 1 ? 0 : u.value;
6136
6153
  }
6137
6154
  return t({
6138
6155
  currentItemSubStep: u,
6139
- steps: r,
6156
+ steps: i,
6140
6157
  invalidSubStepValue: s
6141
- }), (c, m) => (f(), b("div", ji, [
6142
- (f(!0), b(W, null, U(r.value, (y, v) => {
6158
+ }), (c, m) => (f(), b("div", ki, [
6159
+ (f(!0), b(W, null, U(i.value, (y, v) => {
6143
6160
  var g;
6144
- return f(), I(_i, H({ ref_for: !0 }, y.props, {
6161
+ return f(), I(ji, H({ ref_for: !0 }, y.props, {
6145
6162
  key: (g = y.props) == null ? void 0 : g.id,
6146
6163
  completed: v < e.step - 1,
6147
6164
  "current-sub-step": d(v),
@@ -6158,7 +6175,7 @@ const Br = () => {
6158
6175
  }), 128))
6159
6176
  ]));
6160
6177
  }
6161
- }), Su = /* @__PURE__ */ A(ki, [["__scopeId", "data-v-22705668"]]), $i = ["id", "aria-hidden", "aria-labelledby"], Si = /* @__PURE__ */ B({
6178
+ }), Su = /* @__PURE__ */ A($i, [["__scopeId", "data-v-22705668"]]), Si = ["id", "aria-hidden", "aria-labelledby"], Ci = /* @__PURE__ */ B({
6162
6179
  __name: "VJoyTab",
6163
6180
  props: {
6164
6181
  /**
@@ -6190,7 +6207,7 @@ const Br = () => {
6190
6207
  },
6191
6208
  setup(e) {
6192
6209
  const t = e, l = Se("VJoyTabs", C("")), o = V(() => l.value === t.tab);
6193
- return (n, r) => (f(), b("div", {
6210
+ return (n, i) => (f(), b("div", {
6194
6211
  id: `joy-tab-${e.tab}`,
6195
6212
  role: "tabpanel",
6196
6213
  "aria-hidden": o.value ? void 0 : "true",
@@ -6201,12 +6218,12 @@ const Br = () => {
6201
6218
  })
6202
6219
  }, [
6203
6220
  w(n.$slots, "default", {}, void 0, !0)
6204
- ], 10, $i));
6221
+ ], 10, Si));
6205
6222
  }
6206
- }), Cu = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-a76a7c92"]]), Ci = ["id", "href", "aria-selected", "aria-controls"], Vi = {
6223
+ }), Cu = /* @__PURE__ */ A(Ci, [["__scopeId", "data-v-a76a7c92"]]), Vi = ["id", "href", "aria-selected", "aria-controls"], xi = {
6207
6224
  type: "button",
6208
6225
  tabindex: "-1"
6209
- }, xi = /* @__PURE__ */ B({
6226
+ }, Ti = /* @__PURE__ */ B({
6210
6227
  __name: "TabButton",
6211
6228
  props: {
6212
6229
  /**
@@ -6243,22 +6260,22 @@ const Br = () => {
6243
6260
  },
6244
6261
  emits: ["changeTab"],
6245
6262
  setup(e, { emit: t }) {
6246
- const l = t;
6247
- function o() {
6248
- l("changeTab");
6263
+ const l = e, o = t, n = V(() => typeof l.notifications == "number");
6264
+ function i() {
6265
+ o("changeTab");
6249
6266
  }
6250
- function n(r) {
6251
- (r.code === "Enter" || r.code === "NumpadEnter") && l("changeTab");
6267
+ function a(r) {
6268
+ (r.code === "Enter" || r.code === "NumpadEnter") && o("changeTab");
6252
6269
  }
6253
- return (r, a) => (f(), b("a", {
6270
+ return (r, s) => (f(), b("a", {
6254
6271
  id: `joy-tab-${e.tab}`,
6255
6272
  href: e.href,
6256
6273
  "aria-selected": e.selected ? "true" : "false",
6257
6274
  "aria-controls": `job-tab-${e.tab}`,
6258
6275
  tabindex: "0",
6259
6276
  role: "tab",
6260
- onClick: o,
6261
- onKeydown: a[0] || (a[0] = (i) => n(i))
6277
+ onClick: i,
6278
+ onKeydown: s[0] || (s[0] = (u) => a(u))
6262
6279
  }, [
6263
6280
  h("div", {
6264
6281
  class: T({
@@ -6266,11 +6283,11 @@ const Br = () => {
6266
6283
  "joy-tab-button__selected": e.selected
6267
6284
  })
6268
6285
  }, [
6269
- h("button", Vi, [
6286
+ h("button", xi, [
6270
6287
  w(r.$slots, "default", {}, () => [
6271
6288
  D(M(e.label), 1)
6272
6289
  ], !0),
6273
- e.notifications ? (f(), I(Go, {
6290
+ n.value ? (f(), I(Go, {
6274
6291
  key: 0,
6275
6292
  class: "joy-tab-button_notifications",
6276
6293
  variant: "red",
@@ -6278,9 +6295,9 @@ const Br = () => {
6278
6295
  }, null, 8, ["number"])) : _("", !0)
6279
6296
  ])
6280
6297
  ], 2)
6281
- ], 40, Ci));
6298
+ ], 40, Vi));
6282
6299
  }
6283
- }), Ti = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-26b80ed6"]]), Ii = { class: "joy-tabs" }, Li = /* @__PURE__ */ B({
6300
+ }), Ii = /* @__PURE__ */ A(Ti, [["__scopeId", "data-v-8424823d"]]), Li = { class: "joy-tabs" }, Bi = /* @__PURE__ */ B({
6284
6301
  __name: "VJoyTabs",
6285
6302
  props: {
6286
6303
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -6290,10 +6307,10 @@ const Br = () => {
6290
6307
  },
6291
6308
  emits: ["update:selected-tab"],
6292
6309
  setup(e, { expose: t, emit: l }) {
6293
- const o = e, n = l, r = G(), a = C(o.selectedTab);
6310
+ const o = e, n = l, i = G(), a = C(o.selectedTab);
6294
6311
  Ze("VJoyTabs", a);
6295
- const i = C(null), s = C(null), u = C(!1), p = C(!1), d = V(() => {
6296
- const g = r.default();
6312
+ const r = C(null), s = C(null), u = C(!1), p = C(!1), d = V(() => {
6313
+ const g = i.default();
6297
6314
  return g.length === 1 && typeof g[0].type != "object" ? g[0].children.filter(c) : g.filter(c);
6298
6315
  });
6299
6316
  function c(g) {
@@ -6304,7 +6321,7 @@ const Br = () => {
6304
6321
  return g.props.tab === a.value;
6305
6322
  }
6306
6323
  function y() {
6307
- s.value && i.value && s.value.scrollWidth > i.value.offsetWidth ? (p.value = s.value.scrollLeft > 0, u.value = s.value.scrollLeft + i.value.offsetWidth < s.value.scrollWidth) : (p.value = !1, u.value = !1);
6324
+ s.value && r.value && s.value.scrollWidth > r.value.offsetWidth ? (p.value = s.value.scrollLeft > 0, u.value = s.value.scrollLeft + r.value.offsetWidth < s.value.scrollWidth) : (p.value = !1, u.value = !1);
6308
6325
  }
6309
6326
  function v(g, $ = !0) {
6310
6327
  g && $ && (a.value = g, n("update:selected-tab", g));
@@ -6323,10 +6340,10 @@ const Br = () => {
6323
6340
  (g = s.value) == null || g.removeEventListener("scroll", y);
6324
6341
  }), t({
6325
6342
  tabs: d
6326
- }), (g, $) => (f(), b("div", Ii, [
6343
+ }), (g, $) => (f(), b("div", Li, [
6327
6344
  h("div", {
6328
6345
  ref_key: "buttonListWrapper",
6329
- ref: i,
6346
+ ref: r,
6330
6347
  class: T({
6331
6348
  "joy-tabs-buttons__wrapper": !0,
6332
6349
  "joy-tabs-buttons__wrapper--scroll-end": u.value,
@@ -6342,7 +6359,7 @@ const Br = () => {
6342
6359
  (f(!0), b(W, null, U(d.value, (j) => (f(), b("div", {
6343
6360
  key: j.props.tab
6344
6361
  }, [
6345
- O(Ti, {
6362
+ O(Ii, {
6346
6363
  tab: j.props.tab,
6347
6364
  label: j.props.label,
6348
6365
  href: j.props.href,
@@ -6366,7 +6383,7 @@ const Br = () => {
6366
6383
  ])
6367
6384
  ]));
6368
6385
  }
6369
- }), Vu = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-9aea2d41"]]), Bi = ["id", "role"], Ai = /* @__PURE__ */ B({
6386
+ }), Vu = /* @__PURE__ */ A(Bi, [["__scopeId", "data-v-9aea2d41"]]), Ai = ["id", "role"], Ei = /* @__PURE__ */ B({
6370
6387
  __name: "VJoyTag",
6371
6388
  props: {
6372
6389
  label: {},
@@ -6384,7 +6401,7 @@ const Br = () => {
6384
6401
  },
6385
6402
  emits: ["selected", "remove", "click"],
6386
6403
  setup(e, { emit: t }) {
6387
- const l = ["primary", "secondary"], o = t, n = e, r = V(() => ({
6404
+ const l = ["primary", "secondary"], o = t, n = e, i = V(() => ({
6388
6405
  "joy-tag": !0,
6389
6406
  "joy-tag__selected": n.selected,
6390
6407
  "joy-tag__selectable": n.selectable || n.link,
@@ -6393,7 +6410,7 @@ const Br = () => {
6393
6410
  "joy-tag__disabled": n.disabled,
6394
6411
  ["joy-tag__" + n.size]: !0,
6395
6412
  ["joy-tag__" + n.variant]: !0
6396
- })), a = Fe() + "--JoyTag", i = V(() => n.id || a);
6413
+ })), a = Fe() + "--JoyTag", r = V(() => n.id || a);
6397
6414
  function s() {
6398
6415
  o("remove", { value: n.value });
6399
6416
  }
@@ -6401,8 +6418,8 @@ const Br = () => {
6401
6418
  n.disabled || (o("click"), n.selectable && l.includes(n.variant) && o("selected", { selected: !n.selected, value: n.value }));
6402
6419
  }
6403
6420
  return (p, d) => (f(), b("span", {
6404
- id: i.value,
6405
- class: T([r.value]),
6421
+ id: r.value,
6422
+ class: T([i.value]),
6406
6423
  role: p.link || p.selectable ? "button" : void 0,
6407
6424
  onClick: u
6408
6425
  }, [
@@ -6424,9 +6441,9 @@ const Br = () => {
6424
6441
  onClick: To(s, ["stop"]),
6425
6442
  onKeydown: Oe(s, ["enter"])
6426
6443
  })) : _("", !0)
6427
- ], 10, Bi));
6444
+ ], 10, Ai));
6428
6445
  }
6429
- }), yo = /* @__PURE__ */ A(Ai, [["__scopeId", "data-v-9c079536"]]);
6446
+ }), yo = /* @__PURE__ */ A(Ei, [["__scopeId", "data-v-9c079536"]]);
6430
6447
  var be = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(be || {});
6431
6448
  function Mt(e) {
6432
6449
  if (!Array.isArray(e) && typeof e != "string")
@@ -6439,7 +6456,7 @@ function Mt(e) {
6439
6456
  return o;
6440
6457
  }) === void 0 : t(e);
6441
6458
  }
6442
- const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholder"], Mi = { key: 0 }, Ji = { key: 1 }, Pi = /* @__PURE__ */ B({
6459
+ const zi = { class: "joy-tags-input__wrapper" }, Mi = ["id", "name", "placeholder"], Ji = { key: 0 }, Pi = { key: 1 }, Fi = /* @__PURE__ */ B({
6443
6460
  __name: "VJoyTagsInput",
6444
6461
  props: {
6445
6462
  name: {},
@@ -6454,14 +6471,14 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6454
6471
  },
6455
6472
  emits: ["update:modelValue", "validation:error"],
6456
6473
  setup(e, { expose: t, emit: l }) {
6457
- const o = e, n = l, r = C(o.modelValue), a = C(!1), i = C(null), s = C(o.invalid), u = C(null), p = V(() => o.validation === "email"), d = V(() => p.value && u.value === "INVALID_EMAIL" && !!o.invalidEmailError), c = V(() => u.value === "DUPLICATED_ENTRY" && !!o.duplicationError), m = V(() => s.value && (!!d.value || !!c.value));
6474
+ const o = e, n = l, i = C(o.modelValue), a = C(!1), r = C(null), s = C(o.invalid), u = C(null), p = V(() => o.validation === "email"), d = V(() => p.value && u.value === "INVALID_EMAIL" && !!o.invalidEmailError), c = V(() => u.value === "DUPLICATED_ENTRY" && !!o.duplicationError), m = V(() => s.value && (!!d.value || !!c.value));
6458
6475
  function y() {
6459
6476
  p.value && s.value === !0 && (u.value = be.INVALID_EMAIL);
6460
6477
  }
6461
6478
  function v() {
6462
6479
  var F;
6463
- const S = r.value.map((Y) => Y.trim());
6464
- return S.filter((Y, se) => S.indexOf(Y) !== se).length ? !0 : (F = i.value) != null && F.value ? S.includes(i.value.value.trim()) : !1;
6480
+ const S = i.value.map((Y) => Y.trim());
6481
+ return S.filter((Y, se) => S.indexOf(Y) !== se).length ? !0 : (F = r.value) != null && F.value ? S.includes(r.value.value.trim()) : !1;
6465
6482
  }
6466
6483
  function g() {
6467
6484
  v() && (u.value = be.DUPLICATED_ENTRY);
@@ -6469,14 +6486,14 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6469
6486
  function $(S) {
6470
6487
  var J;
6471
6488
  if (["Backspace"].includes(S.key)) {
6472
- if (((J = i.value) == null ? void 0 : J.value) !== "")
6489
+ if (((J = r.value) == null ? void 0 : J.value) !== "")
6473
6490
  return;
6474
- r.value.pop(), n("update:modelValue", r.value), p.value && R();
6491
+ i.value.pop(), n("update:modelValue", i.value), p.value && R();
6475
6492
  }
6476
6493
  }
6477
6494
  function j() {
6478
6495
  var S, J;
6479
- (S = i.value) != null && S.value && (r.value = [...r.value, (J = i.value) == null ? void 0 : J.value], i.value.value = "", n("update:modelValue", r.value));
6496
+ (S = r.value) != null && S.value && (i.value = [...i.value, (J = r.value) == null ? void 0 : J.value], r.value.value = "", n("update:modelValue", i.value));
6480
6497
  }
6481
6498
  function x(S) {
6482
6499
  var J;
@@ -6485,7 +6502,7 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6485
6502
  if (S.preventDefault(), R(), v()) {
6486
6503
  n("validation:error", be.DUPLICATED_ENTRY);
6487
6504
  return;
6488
- } else if ((J = i.value) != null && J.value && !Mt(i.value.value)) {
6505
+ } else if ((J = r.value) != null && J.value && !Mt(r.value.value)) {
6489
6506
  n("validation:error", be.INVALID_EMAIL);
6490
6507
  return;
6491
6508
  }
@@ -6508,14 +6525,14 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6508
6525
  }
6509
6526
  function P(S) {
6510
6527
  var J;
6511
- r.value = r.value.filter((F) => F !== S.value), n("update:modelValue", r.value), (J = i.value) == null || J.focus(), R();
6528
+ i.value = i.value.filter((F) => F !== S.value), n("update:modelValue", i.value), (J = r.value) == null || J.focus(), R();
6512
6529
  }
6513
6530
  function k() {
6514
6531
  var J, F;
6515
6532
  let S = !1;
6516
6533
  if (p.value) {
6517
- let Y = r.value;
6518
- (J = i.value) != null && J.value && (Y = [...Y, (F = i.value) == null ? void 0 : F.value]), S = !Mt(Y);
6534
+ let Y = i.value;
6535
+ (J = r.value) != null && J.value && (Y = [...Y, (F = r.value) == null ? void 0 : F.value]), S = !Mt(Y);
6519
6536
  }
6520
6537
  s.value = S || v(), !S && v() && (u.value = null);
6521
6538
  }
@@ -6531,7 +6548,7 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6531
6548
  ), t({
6532
6549
  isInvalid: s,
6533
6550
  hasDuplicates: v
6534
- }), (S, J) => (f(), b("div", Ei, [
6551
+ }), (S, J) => (f(), b("div", zi, [
6535
6552
  S.$slots.default ? (f(), I(Ve, {
6536
6553
  key: 0,
6537
6554
  id: S.name,
@@ -6551,7 +6568,7 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6551
6568
  }
6552
6569
  ])
6553
6570
  }, [
6554
- (f(!0), b(W, null, U(r.value, (F) => (f(), I(yo, {
6571
+ (f(!0), b(W, null, U(i.value, (F) => (f(), I(yo, {
6555
6572
  key: F,
6556
6573
  variant: S.variant,
6557
6574
  removable: !0,
@@ -6568,14 +6585,14 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6568
6585
  h("input", {
6569
6586
  id: S.name,
6570
6587
  ref_key: "inputEl",
6571
- ref: i,
6588
+ ref: r,
6572
6589
  type: "text",
6573
6590
  name: S.name,
6574
6591
  placeholder: S.placeholder,
6575
6592
  onKeydown: x,
6576
6593
  onFocus: E,
6577
6594
  onBlur: L
6578
- }, null, 40, zi)
6595
+ }, null, 40, Mi)
6579
6596
  ], 2),
6580
6597
  m.value ? (f(), I(mt, {
6581
6598
  key: 1,
@@ -6583,15 +6600,15 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6583
6600
  }, {
6584
6601
  default: z(() => [
6585
6602
  h("ul", null, [
6586
- c.value ? (f(), b("li", Mi, M(S.duplicationError), 1)) : _("", !0),
6587
- d.value ? (f(), b("li", Ji, M(S.invalidEmailError), 1)) : _("", !0)
6603
+ c.value ? (f(), b("li", Ji, M(S.duplicationError), 1)) : _("", !0),
6604
+ d.value ? (f(), b("li", Pi, M(S.invalidEmailError), 1)) : _("", !0)
6588
6605
  ])
6589
6606
  ]),
6590
6607
  _: 1
6591
6608
  })) : _("", !0)
6592
6609
  ]));
6593
6610
  }
6594
- }), xu = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-f00760e9"]]), Fi = /* @__PURE__ */ B({
6611
+ }), xu = /* @__PURE__ */ A(Fi, [["__scopeId", "data-v-f00760e9"]]), Oi = /* @__PURE__ */ B({
6595
6612
  __name: "VJoyTagsList",
6596
6613
  props: {
6597
6614
  align: {
@@ -6631,13 +6648,13 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6631
6648
  var p;
6632
6649
  return o.removable ? !1 : (p = o.modelValue) == null ? void 0 : p.includes(u.value);
6633
6650
  }
6634
- function r(u) {
6651
+ function i(u) {
6635
6652
  return !o.modelValue || o.removable || u.removable ? !1 : u.selectable !== void 0 ? u.selectable : o.selectable;
6636
6653
  }
6637
6654
  function a(u) {
6638
6655
  return u.removable !== void 0 ? u.removable : o.removable;
6639
6656
  }
6640
- function i(u, p) {
6657
+ function r(u, p) {
6641
6658
  let d = [];
6642
6659
  u.selected && !n(p) ? d = [...o.modelValue || [], p.value] : d = (o.modelValue || []).filter((c) => c !== p.value), l("update:modelValue", d);
6643
6660
  }
@@ -6651,17 +6668,17 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6651
6668
  key: d.value || d.label,
6652
6669
  ref_for: !0
6653
6670
  }, d, {
6654
- selectable: r(d),
6671
+ selectable: i(d),
6655
6672
  removable: a(d),
6656
6673
  variant: d.variant ? d.variant : e.variant,
6657
6674
  selected: n(d),
6658
6675
  onRemove: s,
6659
- onSelected: (c) => i(c, d)
6676
+ onSelected: (c) => r(c, d)
6660
6677
  }), {
6661
6678
  default: z(() => [
6662
6679
  w(u.$slots, "tag", H({ ref_for: !0 }, {
6663
6680
  ...d,
6664
- selectable: r(d),
6681
+ selectable: i(d),
6665
6682
  selected: n(d),
6666
6683
  removable: a(d)
6667
6684
  }), void 0, !0)
@@ -6670,36 +6687,36 @@ const Ei = { class: "joy-tags-input__wrapper" }, zi = ["id", "name", "placeholde
6670
6687
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
6671
6688
  ], 2));
6672
6689
  }
6673
- }), Tu = /* @__PURE__ */ A(Fi, [["__scopeId", "data-v-1d8003ef"]]), Oi = {}, Di = {
6690
+ }), Tu = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-1d8003ef"]]), Di = {}, Ri = {
6674
6691
  class: /* @__PURE__ */ T(["joy-template-shape__shapes"])
6675
6692
  };
6676
- function Ri(e, t) {
6677
- return f(), b("div", Di, t[0] || (t[0] = [
6693
+ function Ni(e, t) {
6694
+ return f(), b("div", Ri, t[0] || (t[0] = [
6678
6695
  Ot('<div class="shapes__wrapper" data-v-da63aa46><div class="shape_1" data-v-da63aa46></div><div class="shape_2" data-v-da63aa46></div><div class="shape_3" data-v-da63aa46></div><div class="shape_4" data-v-da63aa46></div></div>', 1)
6679
6696
  ]));
6680
6697
  }
6681
- const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46"]]), qi = { class: "joy-template__wrapper" }, Hi = {
6698
+ const qi = /* @__PURE__ */ A(Di, [["render", Ni], ["__scopeId", "data-v-da63aa46"]]), Hi = { class: "joy-template__wrapper" }, Wi = {
6682
6699
  key: 0,
6683
6700
  class: "joy-template__heading"
6684
- }, Wi = {
6701
+ }, Ui = {
6685
6702
  key: 0,
6686
6703
  class: "joy-template-slot-back"
6687
- }, Ui = { class: "joy-template__heading___headings" }, Gi = {
6704
+ }, Gi = { class: "joy-template__heading___headings" }, Yi = {
6688
6705
  key: 0,
6689
6706
  class: "joy-template-slot-title"
6690
- }, Yi = {
6707
+ }, Ki = {
6691
6708
  key: 1,
6692
6709
  class: "joy-template-slot-subtitle"
6693
- }, Ki = {
6710
+ }, Zi = {
6694
6711
  key: 1,
6695
6712
  class: "joy-template-slot-actions"
6696
- }, Zi = {
6713
+ }, Xi = {
6697
6714
  key: 0,
6698
6715
  class: "joy-template-slot-main"
6699
- }, Xi = {
6716
+ }, Qi = {
6700
6717
  key: 1,
6701
6718
  class: "joy-template-slot-sidebar"
6702
- }, Qi = /* @__PURE__ */ B({
6719
+ }, es = /* @__PURE__ */ B({
6703
6720
  __name: "VJoyTemplate",
6704
6721
  props: {
6705
6722
  /** Takes 100% of free space */
@@ -6721,24 +6738,24 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6721
6738
  },
6722
6739
  setup(e) {
6723
6740
  const t = e, l = G(), o = V(() => !!l["template-back"] || !!l["template-title"] || !!l["template-subtitle"] || !!l["template-actions"]);
6724
- return (n, r) => (f(), b("div", {
6741
+ return (n, i) => (f(), b("div", {
6725
6742
  class: T(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
6726
6743
  }, [
6727
- e.shapes ? (f(), I(Ni, { key: 0 })) : _("", !0),
6728
- h("div", qi, [
6729
- o.value ? (f(), b("div", Hi, [
6730
- l["template-back"] ? (f(), b("div", Wi, [
6744
+ e.shapes ? (f(), I(qi, { key: 0 })) : _("", !0),
6745
+ h("div", Hi, [
6746
+ o.value ? (f(), b("div", Wi, [
6747
+ l["template-back"] ? (f(), b("div", Ui, [
6731
6748
  w(n.$slots, "template-back", {}, void 0, !0)
6732
6749
  ])) : _("", !0),
6733
- h("div", Ui, [
6734
- l["template-title"] ? (f(), b("div", Gi, [
6750
+ h("div", Gi, [
6751
+ l["template-title"] ? (f(), b("div", Yi, [
6735
6752
  w(n.$slots, "template-title", {}, void 0, !0)
6736
6753
  ])) : _("", !0),
6737
- l["template-subtitle"] ? (f(), b("div", Yi, [
6754
+ l["template-subtitle"] ? (f(), b("div", Ki, [
6738
6755
  w(n.$slots, "template-subtitle", {}, void 0, !0)
6739
6756
  ])) : _("", !0)
6740
6757
  ]),
6741
- l["template-actions"] ? (f(), b("div", Ki, [
6758
+ l["template-actions"] ? (f(), b("div", Zi, [
6742
6759
  w(n.$slots, "template-actions", {}, void 0, !0)
6743
6760
  ])) : _("", !0)
6744
6761
  ])) : _("", !0),
@@ -6750,10 +6767,10 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6750
6767
  }
6751
6768
  ])
6752
6769
  }, [
6753
- n.$slots["template-main"] ? (f(), b("div", Zi, [
6770
+ n.$slots["template-main"] ? (f(), b("div", Xi, [
6754
6771
  w(n.$slots, "template-main", {}, void 0, !0)
6755
6772
  ])) : _("", !0),
6756
- n.$slots["template-sidebar"] ? (f(), b("div", Xi, [
6773
+ n.$slots["template-sidebar"] ? (f(), b("div", Qi, [
6757
6774
  w(n.$slots, "template-sidebar", {}, void 0, !0)
6758
6775
  ])) : _("", !0)
6759
6776
  ], 2)
@@ -6770,7 +6787,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6770
6787
  }, 8, ["color"])) : _("", !0)
6771
6788
  ], 2));
6772
6789
  }
6773
- }), Iu = /* @__PURE__ */ A(Qi, [["__scopeId", "data-v-8e1d59ca"]]), es = /* @__PURE__ */ B({
6790
+ }), Iu = /* @__PURE__ */ A(es, [["__scopeId", "data-v-8e1d59ca"]]), ts = /* @__PURE__ */ B({
6774
6791
  __name: "VJoyText",
6775
6792
  props: {
6776
6793
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -6794,13 +6811,13 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6794
6811
  _: 3
6795
6812
  }, 8, ["class"]));
6796
6813
  }
6797
- }), Lu = /* @__PURE__ */ A(es, [["__scopeId", "data-v-6295f9ec"]]), ts = ["aria-disabled"], os = { class: "joy-textarea_wrapper" }, ns = ["id", "disabled", "name", "required", "minlength", "value"], ls = {
6814
+ }), Lu = /* @__PURE__ */ A(ts, [["__scopeId", "data-v-6295f9ec"]]), os = ["aria-disabled"], ns = { class: "joy-textarea_wrapper" }, ls = ["id", "disabled", "name", "required", "minlength", "value"], as = {
6798
6815
  key: 1,
6799
6816
  class: "joy-textarea_helpers"
6800
- }, as = {
6817
+ }, rs = {
6801
6818
  inheritAttrs: !1
6802
- }, rs = /* @__PURE__ */ B({
6803
- ...as,
6819
+ }, is = /* @__PURE__ */ B({
6820
+ ...rs,
6804
6821
  __name: "VJoyTextarea",
6805
6822
  props: {
6806
6823
  autofocus: {
@@ -6858,11 +6875,11 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6858
6875
  },
6859
6876
  emits: ["update:modelValue"],
6860
6877
  setup(e, { expose: t, emit: l }) {
6861
- const o = l, n = e, r = G(), a = C(), { triggerResize: i } = mn({
6878
+ const o = l, n = e, i = G(), a = C(), { triggerResize: r } = mn({
6862
6879
  element: n.autogrow ? a : void 0
6863
6880
  }), s = C(!1), u = C(!1);
6864
6881
  vt(a, n.autofocus);
6865
- const p = V(() => n.maxlength ? n.modelValue.length > n.maxlength : !1), d = V(() => n.minlength ? n.modelValue.length < n.minlength : !1), c = V(() => !!(n.label || r.default)), m = {
6882
+ const p = V(() => n.maxlength ? n.modelValue.length > n.maxlength : !1), d = V(() => n.minlength ? n.modelValue.length < n.minlength : !1), c = V(() => !!(n.label || i.default)), m = {
6866
6883
  onInput: (y) => {
6867
6884
  n.modelModifiers.lazy || o("update:modelValue", y.target.value), m.triggerResize();
6868
6885
  },
@@ -6879,7 +6896,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6879
6896
  * Here we store the function in an object to more easily test it with vitest.
6880
6897
  * There is an issue when we try to use spyOn vm object directly.
6881
6898
  * */
6882
- triggerResize: i
6899
+ triggerResize: r
6883
6900
  };
6884
6901
  return K(
6885
6902
  () => n.modelValue,
@@ -6891,7 +6908,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6891
6908
  isInvalid: s,
6892
6909
  valueOverMaxlength: p,
6893
6910
  valueUnderMinlength: d,
6894
- triggerResize: i,
6911
+ triggerResize: r,
6895
6912
  eventHandlers: m
6896
6913
  }), (y, v) => (f(), b("div", {
6897
6914
  "aria-disabled": e.disabled,
@@ -6919,7 +6936,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6919
6936
  ]),
6920
6937
  _: 3
6921
6938
  }, 8, ["for", "required", "optional-label", "size"])) : _("", !0),
6922
- h("div", os, [
6939
+ h("div", ns, [
6923
6940
  h("textarea", H(y.$attrs, {
6924
6941
  id: e.id,
6925
6942
  ref_key: "textarea",
@@ -6938,9 +6955,9 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6938
6955
  (...g) => m.onFocus && m.onFocus(...g)),
6939
6956
  onBlur: v[3] || (v[3] = //@ts-ignore
6940
6957
  (...g) => m.onBlur && m.onBlur(...g))
6941
- }), null, 16, ns)
6958
+ }), null, 16, ls)
6942
6959
  ]),
6943
- e.minlength || e.maxlength ? (f(), b("div", ls, [
6960
+ e.minlength || e.maxlength ? (f(), b("div", as, [
6944
6961
  e.minlength ? (f(), b("p", {
6945
6962
  key: 0,
6946
6963
  class: T(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -6958,9 +6975,9 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6958
6975
  class: T(["joy-textarea-count", { "joy-textarea-count-invalid": p.value }])
6959
6976
  }, M(e.modelValue.length + "/" + e.maxlength), 3)) : _("", !0)
6960
6977
  ])) : _("", !0)
6961
- ], 10, ts));
6978
+ ], 10, os));
6962
6979
  }
6963
- }), Bu = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-52e4553a"]]), is = { class: "joy-toggle__wrapper" }, ss = ["name", "disabled", "checked", "required", "aria-checked", "value"], us = { class: "joy-toggle__content" }, ds = { class: "joy-toggle__content-label" }, cs = /* @__PURE__ */ B({
6980
+ }), Bu = /* @__PURE__ */ A(is, [["__scopeId", "data-v-52e4553a"]]), ss = { class: "joy-toggle__wrapper" }, us = ["name", "disabled", "checked", "required", "aria-checked", "value"], ds = { class: "joy-toggle__content" }, cs = { class: "joy-toggle__content-label" }, fs = /* @__PURE__ */ B({
6964
6981
  __name: "VJoyToggle",
6965
6982
  props: {
6966
6983
  modelValue: {
@@ -6997,8 +7014,8 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
6997
7014
  const l = t;
6998
7015
  G();
6999
7016
  const o = C(!1), n = {
7000
- onChange: (r) => {
7001
- const a = r.target.checked;
7017
+ onChange: (i) => {
7018
+ const a = i.target.checked;
7002
7019
  l("update:modelValue", a);
7003
7020
  },
7004
7021
  onFocus: () => {
@@ -7008,7 +7025,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7008
7025
  o.value = !1;
7009
7026
  }
7010
7027
  };
7011
- return (r, a) => (f(), b("div", is, [
7028
+ return (i, a) => (f(), b("div", ss, [
7012
7029
  h("label", {
7013
7030
  class: T([
7014
7031
  "joy-toggle",
@@ -7031,16 +7048,16 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7031
7048
  "aria-checked": e.modelValue,
7032
7049
  value: e.value,
7033
7050
  onChange: a[0] || (a[0] = //@ts-ignore
7034
- (...i) => n.onChange && n.onChange(...i)),
7051
+ (...r) => n.onChange && n.onChange(...r)),
7035
7052
  onFocus: a[1] || (a[1] = //@ts-ignore
7036
- (...i) => n.onFocus && n.onFocus(...i)),
7053
+ (...r) => n.onFocus && n.onFocus(...r)),
7037
7054
  onBlur: a[2] || (a[2] = //@ts-ignore
7038
- (...i) => n.onBlur && n.onBlur(...i))
7039
- }, null, 40, ss),
7040
- h("p", us, [
7055
+ (...r) => n.onBlur && n.onBlur(...r))
7056
+ }, null, 40, us),
7057
+ h("p", ds, [
7041
7058
  a[3] || (a[3] = h("span", { class: "joy-toggle__symbol" }, null, -1)),
7042
- h("span", ds, [
7043
- w(r.$slots, "default", {}, () => [
7059
+ h("span", cs, [
7060
+ w(i.$slots, "default", {}, () => [
7044
7061
  D(M(e.label), 1)
7045
7062
  ], !0)
7046
7063
  ]),
@@ -7062,7 +7079,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7062
7079
  ], 2)
7063
7080
  ]));
7064
7081
  }
7065
- }), Au = /* @__PURE__ */ A(cs, [["__scopeId", "data-v-99a4c774"]]), fs = /* @__PURE__ */ B({
7082
+ }), Au = /* @__PURE__ */ A(fs, [["__scopeId", "data-v-99a4c774"]]), ps = /* @__PURE__ */ B({
7066
7083
  __name: "VJoyTooltip",
7067
7084
  props: {
7068
7085
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -7106,8 +7123,8 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7106
7123
  }
7107
7124
  },
7108
7125
  setup(e, { expose: t }) {
7109
- const l = G(), o = e, n = C(!1), r = C(null), a = C(null), i = C(null), s = C(), u = C(
7110
- fo(r, i, {
7126
+ const l = G(), o = e, n = C(!1), i = C(null), a = C(null), r = C(null), s = C(), u = C(
7127
+ fo(i, r, {
7111
7128
  placement: o.placement,
7112
7129
  transform: !1,
7113
7130
  middleware: [
@@ -7162,7 +7179,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7162
7179
  n.value = !1;
7163
7180
  }), t({
7164
7181
  tooltipVisible: n,
7165
- tooltip: i
7182
+ tooltip: r
7166
7183
  }), ($, j) => (f(), I(q(yt), {
7167
7184
  ref: "tooltipClickOutside",
7168
7185
  class: "joy-tooltip__click-outside",
@@ -7174,7 +7191,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7174
7191
  return [
7175
7192
  h("div", {
7176
7193
  ref_key: "tooltipWrapper",
7177
- ref: r,
7194
+ ref: i,
7178
7195
  class: "joy-tooltip__wrapper",
7179
7196
  onClick: y,
7180
7197
  onMouseenter: c,
@@ -7186,7 +7203,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7186
7203
  n.value && d.value ? (f(), b("div", {
7187
7204
  key: 0,
7188
7205
  ref_key: "tooltip",
7189
- ref: i,
7206
+ ref: r,
7190
7207
  role: "tooltip",
7191
7208
  class: T([
7192
7209
  "joy-tooltip__content",
@@ -7220,7 +7237,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7220
7237
  _: 3
7221
7238
  }, 8, ["options"]));
7222
7239
  }
7223
- }), Eu = /* @__PURE__ */ A(fs, [["__scopeId", "data-v-711b68c7"]]), ps = { class: "joy-user-card__picture" }, ys = { class: "joy-user-card__informations" }, ms = { class: "joy-user-card__title" }, vs = { class: "joy-user-card__subtitle" }, hs = /* @__PURE__ */ B({
7240
+ }), Eu = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-711b68c7"]]), ys = { class: "joy-user-card__picture" }, ms = { class: "joy-user-card__informations" }, vs = { class: "joy-user-card__title" }, hs = { class: "joy-user-card__subtitle" }, gs = /* @__PURE__ */ B({
7224
7241
  __name: "VJoyUserCard",
7225
7242
  props: {
7226
7243
  /**
@@ -7253,7 +7270,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7253
7270
  title: e.fullName
7254
7271
  }, t.$attrs), {
7255
7272
  default: z(() => [
7256
- h("div", ps, [
7273
+ h("div", ys, [
7257
7274
  w(t.$slots, "user-card-avatar", {}, () => [
7258
7275
  O(No, {
7259
7276
  "photo-url": e.photoUrl,
@@ -7261,19 +7278,19 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7261
7278
  }, null, 8, ["photo-url", "full-name"])
7262
7279
  ], !0)
7263
7280
  ]),
7264
- h("div", ys, [
7265
- h("p", ms, [
7281
+ h("div", ms, [
7282
+ h("p", vs, [
7266
7283
  w(t.$slots, "user-card-title", {}, () => [
7267
7284
  D(M(e.fullName), 1)
7268
7285
  ], !0)
7269
7286
  ]),
7270
- h("p", vs, [
7287
+ h("p", hs, [
7271
7288
  w(t.$slots, "user-card-subtitle", {}, () => [
7272
7289
  D(M(e.subTitle), 1)
7273
7290
  ], !0)
7274
7291
  ]),
7275
7292
  w(t.$slots, "user-card-rating-stars", {}, () => [
7276
- e.ratingValue ? (f(), I(Qr, {
7293
+ e.ratingValue ? (f(), I(ei, {
7277
7294
  key: 0,
7278
7295
  "rating-value": e.ratingValue
7279
7296
  }, null, 8, ["rating-value"])) : _("", !0)
@@ -7286,13 +7303,13 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7286
7303
  _: 3
7287
7304
  }, 16, ["href", "title"]));
7288
7305
  }
7289
- }), zu = /* @__PURE__ */ A(hs, [["__scopeId", "data-v-86acec3a"]]), gs = { class: "joy-walkthrough-trigger__content" }, bs = {
7306
+ }), zu = /* @__PURE__ */ A(gs, [["__scopeId", "data-v-86acec3a"]]), bs = { class: "joy-walkthrough-trigger__content" }, ws = {
7290
7307
  key: 0,
7291
7308
  class: "joy-pr-3"
7292
- }, ws = {
7309
+ }, _s = {
7293
7310
  key: 1,
7294
7311
  class: "joy-pl-3"
7295
- }, _s = /* @__PURE__ */ B({
7312
+ }, js = /* @__PURE__ */ B({
7296
7313
  __name: "VJoyWalkthroughTrigger",
7297
7314
  props: {
7298
7315
  icon: {},
@@ -7303,7 +7320,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7303
7320
  setup(e) {
7304
7321
  const l = C(e.open);
7305
7322
  return (o, n) => {
7306
- const r = dt("joy-ripple");
7323
+ const i = dt("joy-ripple");
7307
7324
  return Ke((f(), b("button", H(o.$attrs, {
7308
7325
  type: "button",
7309
7326
  class: "joy-walkthrough-trigger joy-bgcolor-neutral-60 joy-core-radius-5",
@@ -7315,9 +7332,9 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7315
7332
  class: "joy-walkthrough-trigger__icon joy-mr-3",
7316
7333
  name: o.icon
7317
7334
  }, null, 8, ["name"])) : _("", !0),
7318
- h("div", gs, [
7319
- o.title ? (f(), b("span", bs, M(o.title), 1)) : _("", !0),
7320
- o.subtitle ? (f(), b("span", ws, M(o.subtitle), 1)) : _("", !0)
7335
+ h("div", bs, [
7336
+ o.title ? (f(), b("span", ws, M(o.title), 1)) : _("", !0),
7337
+ o.subtitle ? (f(), b("span", _s, M(o.subtitle), 1)) : _("", !0)
7321
7338
  ]),
7322
7339
  O(N, {
7323
7340
  class: "joy-ml-3",
@@ -7325,12 +7342,15 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7325
7342
  name: l.value ? "chevron-down" : "chevron-up"
7326
7343
  }, null, 8, ["name"])
7327
7344
  ], 16)), [
7328
- [r]
7345
+ [i]
7329
7346
  ]);
7330
7347
  };
7331
7348
  }
7332
- }), js = /* @__PURE__ */ A(_s, [["__scopeId", "data-v-56824d11"]]), ks = { class: "joy-walkthrough-modal__illustration" }, $s = { class: "joy-walkthrough-modal__content___titles" }, Ss = { class: "joy-walkthrough-modal__content___title" }, Cs = { class: "joy-walkthrough-modal__content___subtitle" }, Vs = { class: "joy-font-primary-450" }, xs = { style: { flex: "1" } }, Ts = {
7349
+ }), ks = /* @__PURE__ */ A(js, [["__scopeId", "data-v-56824d11"]]), $s = { class: "joy-walkthrough-modal__illustration" }, Ss = { class: "joy-walkthrough-modal__content___titles" }, Cs = { class: "joy-walkthrough-modal__content___title" }, Vs = { class: "joy-walkthrough-modal__content___subtitle" }, xs = {
7333
7350
  key: 0,
7351
+ class: "joy-mt-4"
7352
+ }, Ts = {
7353
+ key: 1,
7334
7354
  class: "joy-mt-4 joy-walkthrough-modal__content-inner"
7335
7355
  }, Is = {
7336
7356
  type: "button",
@@ -7342,7 +7362,6 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7342
7362
  triggerTitle: {},
7343
7363
  triggerSubtitle: {},
7344
7364
  triggerIcon: {},
7345
- progress: { default: 0 },
7346
7365
  footer: {},
7347
7366
  triggerAttrs: {},
7348
7367
  disableTeleport: { type: Boolean }
@@ -7350,8 +7369,8 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7350
7369
  emits: ["hide", "hide:header", "hide:footer"],
7351
7370
  setup(e, { expose: t, emit: l }) {
7352
7371
  const o = e, n = l;
7353
- let r = null;
7354
- const a = C(o.open), i = C(!1);
7372
+ let i = null;
7373
+ const a = C(o.open), r = C(!1);
7355
7374
  function s() {
7356
7375
  a.value ? d() : a.value = !0;
7357
7376
  }
@@ -7362,8 +7381,8 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7362
7381
  d(), n("hide"), n("hide:footer");
7363
7382
  }
7364
7383
  function d() {
7365
- r && clearTimeout(r), i.value = !0, r = setTimeout(() => {
7366
- a.value = !1, i.value = !1;
7384
+ i && clearTimeout(i), r.value = !0, i = setTimeout(() => {
7385
+ a.value = !1, r.value = !1;
7367
7386
  }, 200);
7368
7387
  }
7369
7388
  return K(
@@ -7381,7 +7400,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7381
7400
  class: T(["joy-walkthrough joy-core-radius-4", { "joy-walkthrough--collapsed": !a.value }])
7382
7401
  }, [
7383
7402
  a.value ? (f(), b("div", H({ key: 0 }, c.$attrs, {
7384
- class: ["joy-walkthrough-modal joy-core-elevation-4", { "joy-walkthrough-modal--hiding": i.value }]
7403
+ class: ["joy-walkthrough-modal joy-core-elevation-4", { "joy-walkthrough-modal--hiding": r.value }]
7385
7404
  }), [
7386
7405
  O(re, {
7387
7406
  "no-margin": "",
@@ -7420,32 +7439,23 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7420
7439
  wrap: "nowrap"
7421
7440
  }, {
7422
7441
  default: z(() => [
7423
- h("div", ks, [
7442
+ h("div", $s, [
7424
7443
  w(c.$slots, "walkthrough-illustration", {}, void 0, !0)
7425
7444
  ]),
7426
- h("div", $s, [
7427
- h("div", Ss, [
7445
+ h("div", Ss, [
7446
+ h("div", Cs, [
7428
7447
  w(c.$slots, "walkthrough-title", {}, void 0, !0)
7429
7448
  ]),
7430
- h("div", Cs, [
7449
+ h("div", Vs, [
7431
7450
  w(c.$slots, "walkthrough-subtitle", {}, void 0, !0)
7432
7451
  ])
7433
7452
  ])
7434
7453
  ]),
7435
7454
  _: 3
7436
7455
  }),
7437
- O(re, {
7438
- "no-margin": "",
7439
- class: "joy-mt-4"
7440
- }, {
7441
- default: z(() => [
7442
- h("span", Vs, M(c.progress + "%"), 1),
7443
- h("div", xs, [
7444
- w(c.$slots, "walkthrough-progress", {}, void 0, !0)
7445
- ])
7446
- ]),
7447
- _: 3
7448
- }),
7456
+ c.$slots["walkthrough-progress"] ? (f(), b("div", xs, [
7457
+ w(c.$slots, "walkthrough-progress", {}, void 0, !0)
7458
+ ])) : _("", !0),
7449
7459
  c.$slots["walkthrough-content"] ? (f(), b("div", Ts, [
7450
7460
  w(c.$slots, "walkthrough-content", {}, void 0, !0)
7451
7461
  ])) : _("", !0)
@@ -7458,7 +7468,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7458
7468
  h("button", Is, M(c.footer), 1)
7459
7469
  ])) : _("", !0)
7460
7470
  ], 16)) : _("", !0),
7461
- a.value ? _("", !0) : (f(), I(js, H({ key: 1 }, c.triggerAttrs, {
7471
+ a.value ? _("", !0) : (f(), I(ks, H({ key: 1 }, c.triggerAttrs, {
7462
7472
  title: c.triggerTitle,
7463
7473
  subtitle: c.triggerSubtitle,
7464
7474
  icon: c.triggerIcon,
@@ -7468,7 +7478,7 @@ const Ni = /* @__PURE__ */ A(Oi, [["render", Ri], ["__scopeId", "data-v-da63aa46
7468
7478
  ], 2)
7469
7479
  ], 8, ["disabled"]));
7470
7480
  }
7471
- }), Mu = /* @__PURE__ */ A(Ls, [["__scopeId", "data-v-a781459b"]]);
7481
+ }), Mu = /* @__PURE__ */ A(Ls, [["__scopeId", "data-v-c1a50091"]]);
7472
7482
  function Bs(e) {
7473
7483
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, l) {
7474
7484
  var o = e.get(t);
@@ -7517,21 +7527,21 @@ function Ms(e = { appendTo: "body", defaultMountSelector: mo }) {
7517
7527
  `, document.head.appendChild(l), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (o = document.body.querySelector(e.appendTo)) == null || o.appendChild(t));
7518
7528
  }
7519
7529
  function Pu(e) {
7520
- var r, a;
7530
+ var i, a;
7521
7531
  We++;
7522
7532
  let t, l;
7523
7533
  const o = As();
7524
7534
  t = Io(
7525
- vi,
7535
+ hi,
7526
7536
  Object.assign(e.props, {
7527
7537
  bus: o,
7528
7538
  instanceNb: We
7529
7539
  })
7530
7540
  );
7531
7541
  const n = document.createElement("div");
7532
- return n.classList.add("joy-snackbar__shell"), l = `${Es}${We}`, n.id = l, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(n) : (a = document.getElementById(mo)) == null || a.appendChild(n), t.use(zs).mount("#" + l), vo.push(t), o.on("snackbar:hide", () => {
7533
- var i;
7534
- t.unmount(), (i = document.getElementById(l)) == null || i.remove();
7542
+ return n.classList.add("joy-snackbar__shell"), l = `${Es}${We}`, n.id = l, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(n) : (a = document.getElementById(mo)) == null || a.appendChild(n), t.use(zs).mount("#" + l), vo.push(t), o.on("snackbar:hide", () => {
7543
+ var r;
7544
+ t.unmount(), (r = document.getElementById(l)) == null || r.remove();
7535
7545
  }), {
7536
7546
  snackbarEventBus: o,
7537
7547
  snackbarApp: t
@@ -7559,17 +7569,17 @@ export {
7559
7569
  bu as R,
7560
7570
  wu as S,
7561
7571
  _u as T,
7562
- Qr as U,
7572
+ ei as U,
7563
7573
  Fs as V,
7564
7574
  Gt as W,
7565
7575
  ju as X,
7566
- ii as Y,
7576
+ si as Y,
7567
7577
  ku as Z,
7568
7578
  qs as _,
7569
7579
  No as a,
7570
- vi as a0,
7580
+ hi as a0,
7571
7581
  Nt as a1,
7572
- _i as a2,
7582
+ ji as a2,
7573
7583
  Su as a3,
7574
7584
  Cu as a4,
7575
7585
  Vu as a5,
@@ -7577,14 +7587,14 @@ export {
7577
7587
  xu as a7,
7578
7588
  Tu as a8,
7579
7589
  Iu as a9,
7580
- Ni as aa,
7590
+ qi as aa,
7581
7591
  Lu as ab,
7582
7592
  Bu as ac,
7583
7593
  Au as ad,
7584
7594
  Eu as ae,
7585
7595
  zu as af,
7586
7596
  Mu as ag,
7587
- js as ah,
7597
+ ks as ah,
7588
7598
  re as ai,
7589
7599
  Ms as aj,
7590
7600
  Lo as ak,