@maltjoy/core-vue 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/joy-vue.js CHANGED
@@ -272,7 +272,7 @@ const Vt = /* @__PURE__ */ V($t, [["__scopeId", "data-v-44b223fb"]]), xt = ["ari
272
272
  ], 8, xt));
273
273
  }
274
274
  });
275
- const he = /* @__PURE__ */ V(Lt, [["__scopeId", "data-v-e8b172ed"]]), Ue = (e) => (te("data-v-0d1ab3f2"), e = e(), le(), e), Ct = { class: "joy-counter" }, Pt = ["aria-label", "disabled"], Jt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ h("joy-icon", {
275
+ const he = /* @__PURE__ */ V(Lt, [["__scopeId", "data-v-e8b172ed"]]), Ue = (e) => (te("data-v-9aab3fa1"), e = e(), le(), e), Ct = { class: "joy-counter" }, Pt = ["aria-label", "disabled"], Jt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ h("joy-icon", {
276
276
  name: "minus",
277
277
  color: "teal",
278
278
  lazy: !1
@@ -287,7 +287,10 @@ const he = /* @__PURE__ */ V(Lt, [["__scopeId", "data-v-e8b172ed"]]), Ue = (e) =
287
287
  ], Rt = {
288
288
  key: 0,
289
289
  class: "joy-counter_error"
290
- }, Mt = /* @__PURE__ */ $({
290
+ }, Mt = {
291
+ inheritAttrs: !1
292
+ }, Nt = /* @__PURE__ */ $({
293
+ ...Mt,
291
294
  __name: "VJoyCounter",
292
295
  props: {
293
296
  /** Removes any interactivity */
@@ -453,7 +456,7 @@ const he = /* @__PURE__ */ V(Lt, [["__scopeId", "data-v-e8b172ed"]]), Ue = (e) =
453
456
  ]));
454
457
  }
455
458
  });
456
- const Nt = /* @__PURE__ */ V(Mt, [["__scopeId", "data-v-0d1ab3f2"]]);
459
+ const Ht = /* @__PURE__ */ V(Nt, [["__scopeId", "data-v-9aab3fa1"]]);
457
460
  var _e;
458
461
  const U = typeof window < "u", Ge = (e) => typeof e == "string", z = () => {
459
462
  }, ee = U && ((_e = window == null ? void 0 : window.navigator) == null ? void 0 : _e.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -468,7 +471,7 @@ function Ke(e, l) {
468
471
  }
469
472
  return t;
470
473
  }
471
- function Ht(e, l = {}) {
474
+ function Wt(e, l = {}) {
472
475
  let t, o, a = z;
473
476
  const r = (n) => {
474
477
  clearTimeout(n), a(), a = z;
@@ -484,7 +487,7 @@ function Ht(e, l = {}) {
484
487
  });
485
488
  };
486
489
  }
487
- function Wt(e, l = !0, t = !0, o = !1) {
490
+ function Ut(e, l = !0, t = !0, o = !1) {
488
491
  let a = 0, r, s = !0, n = z, c;
489
492
  const f = () => {
490
493
  r && (clearTimeout(r), r = void 0, n(), n = z);
@@ -503,19 +506,19 @@ const R = {
503
506
  updated: "updated",
504
507
  unmounted: "unmounted"
505
508
  };
506
- function Ut(e) {
509
+ function Gt(e) {
507
510
  return e;
508
511
  }
509
512
  function G(e) {
510
513
  return nt() ? (at(e), !0) : !1;
511
514
  }
512
- function Gt(e, l = 200, t = {}) {
513
- return Ke(Ht(l, t), e);
515
+ function Kt(e, l = 200, t = {}) {
516
+ return Ke(Wt(l, t), e);
514
517
  }
515
- function Kt(e, l = 200, t = !1, o = !0, a = !1) {
516
- return Ke(Wt(l, t, o, a), e);
518
+ function Qt(e, l = 200, t = !1, o = !0, a = !1) {
519
+ return Ke(Ut(l, t, o, a), e);
517
520
  }
518
- function Qt(e) {
521
+ function Zt(e) {
519
522
  return typeof e == "function" ? I(e) : g(e);
520
523
  }
521
524
  function Qe(e, l = !0) {
@@ -545,7 +548,7 @@ function ae(...e) {
545
548
  return G(f), f;
546
549
  }
547
550
  let we = !1;
548
- function Zt(e, l, t = {}) {
551
+ function Yt(e, l, t = {}) {
549
552
  const { window: o = be, ignore: a = [], capture: r = !0, detectIframe: s = !1 } = t;
550
553
  if (!o)
551
554
  return;
@@ -581,26 +584,26 @@ function Zt(e, l, t = {}) {
581
584
  ].filter(Boolean);
582
585
  return () => u.forEach((i) => i());
583
586
  }
584
- function Yt(e, l = !1) {
587
+ function Xt(e, l = !1) {
585
588
  const t = g(), o = () => t.value = Boolean(e());
586
589
  return o(), Qe(o, l), t;
587
590
  }
588
591
  const ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = "__vueuse_ssr_handlers__";
589
592
  ie[re] = ie[re] || {};
590
593
  ie[re];
591
- var Se = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, el = Object.prototype.propertyIsEnumerable, tl = (e, l) => {
594
+ var Se = Object.getOwnPropertySymbols, el = Object.prototype.hasOwnProperty, tl = Object.prototype.propertyIsEnumerable, ll = (e, l) => {
592
595
  var t = {};
593
596
  for (var o in e)
594
- Xt.call(e, o) && l.indexOf(o) < 0 && (t[o] = e[o]);
597
+ el.call(e, o) && l.indexOf(o) < 0 && (t[o] = e[o]);
595
598
  if (e != null && Se)
596
599
  for (var o of Se(e))
597
- l.indexOf(o) < 0 && el.call(e, o) && (t[o] = e[o]);
600
+ l.indexOf(o) < 0 && tl.call(e, o) && (t[o] = e[o]);
598
601
  return t;
599
602
  };
600
- function ll(e, l, t = {}) {
601
- const o = t, { window: a = be } = o, r = tl(o, ["window"]);
603
+ function ol(e, l, t = {}) {
604
+ const o = t, { window: a = be } = o, r = ll(o, ["window"]);
602
605
  let s;
603
- const n = Yt(() => a && "ResizeObserver" in a), c = () => {
606
+ const n = Xt(() => a && "ResizeObserver" in a), c = () => {
604
607
  s && (s.disconnect(), s = void 0);
605
608
  }, f = C(() => H(e), (m) => {
606
609
  c(), n.value && a && m && (s = new ResizeObserver(l), s.observe(m, r));
@@ -616,27 +619,27 @@ var je;
616
619
  (function(e) {
617
620
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
618
621
  })(je || (je = {}));
619
- function ol(e) {
622
+ function nl(e) {
620
623
  const l = g(e == null ? void 0 : e.element), t = g(e == null ? void 0 : e.input);
621
624
  function o() {
622
625
  var a, r;
623
626
  l.value && (l.value.style.height = "1px", l.value.style.height = `${(a = l.value) == null ? void 0 : a.scrollHeight}px`, (r = e == null ? void 0 : e.onResize) == null || r.call(e));
624
627
  }
625
- return C([t, l], o, { immediate: !0 }), ll(l, () => o()), e != null && e.watch && C(e.watch, o, { immediate: !0, deep: !0 }), {
628
+ return C([t, l], o, { immediate: !0 }), ol(l, () => o()), e != null && e.watch && C(e.watch, o, { immediate: !0, deep: !0 }), {
626
629
  textarea: l,
627
630
  input: t,
628
631
  triggerResize: o
629
632
  };
630
633
  }
631
- var nl = Object.defineProperty, ke = Object.getOwnPropertySymbols, al = Object.prototype.hasOwnProperty, il = Object.prototype.propertyIsEnumerable, $e = (e, l, t) => l in e ? nl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, rl = (e, l) => {
634
+ var al = Object.defineProperty, ke = Object.getOwnPropertySymbols, il = Object.prototype.hasOwnProperty, rl = Object.prototype.propertyIsEnumerable, $e = (e, l, t) => l in e ? al(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, sl = (e, l) => {
632
635
  for (var t in l || (l = {}))
633
- al.call(l, t) && $e(e, t, l[t]);
636
+ il.call(l, t) && $e(e, t, l[t]);
634
637
  if (ke)
635
638
  for (var t of ke(l))
636
- il.call(l, t) && $e(e, t, l[t]);
639
+ rl.call(l, t) && $e(e, t, l[t]);
637
640
  return e;
638
641
  };
639
- const sl = {
642
+ const ul = {
640
643
  easeInSine: [0.12, 0, 0.39, 0],
641
644
  easeOutSine: [0.61, 1, 0.88, 1],
642
645
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -662,16 +665,16 @@ const sl = {
662
665
  easeOutBack: [0.34, 1.56, 0.64, 1],
663
666
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
664
667
  };
665
- rl({
666
- linear: Ut
667
- }, sl);
668
- const ul = /* @__PURE__ */ $({
668
+ sl({
669
+ linear: Gt
670
+ }, ul);
671
+ const dl = /* @__PURE__ */ $({
669
672
  name: "OnClickOutside",
670
673
  props: ["as", "options"],
671
674
  emits: ["trigger"],
672
675
  setup(e, { slots: l, emit: t }) {
673
676
  const o = g();
674
- return Zt(o, (a) => {
677
+ return Yt(o, (a) => {
675
678
  t("trigger", a);
676
679
  }, e.options), () => {
677
680
  if (l.default)
@@ -737,25 +740,25 @@ function xe(e, l, t = {}) {
737
740
  return () => u.forEach((i) => i());
738
741
  }
739
742
  R.mounted + "", R.unmounted + "";
740
- const dl = (e) => typeof e == "function" ? e : typeof e == "string" ? (l) => l.key === e : Array.isArray(e) ? (l) => e.includes(l.key) : () => !0;
743
+ const cl = (e) => typeof e == "function" ? e : typeof e == "string" ? (l) => l.key === e : Array.isArray(e) ? (l) => e.includes(l.key) : () => !0;
741
744
  function Oe(...e) {
742
745
  let l, t, o = {};
743
746
  e.length === 3 ? (l = e[0], t = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (l = !0, t = e[0], o = e[1]) : (l = e[0], t = e[1]) : (l = !0, t = e[0]);
744
- const { target: a = M, eventName: r = "keydown", passive: s = !1 } = o, n = dl(l);
747
+ const { target: a = M, eventName: r = "keydown", passive: s = !1 } = o, n = cl(l);
745
748
  return A(a, r, (f) => {
746
749
  n(f) && t(f);
747
750
  }, s);
748
751
  }
749
- var cl = Object.defineProperty, Ie = Object.getOwnPropertySymbols, fl = Object.prototype.hasOwnProperty, yl = Object.prototype.propertyIsEnumerable, Be = (e, l, t) => l in e ? cl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, ml = (e, l) => {
752
+ var fl = Object.defineProperty, Ie = Object.getOwnPropertySymbols, yl = Object.prototype.hasOwnProperty, ml = Object.prototype.propertyIsEnumerable, Be = (e, l, t) => l in e ? fl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, vl = (e, l) => {
750
753
  for (var t in l || (l = {}))
751
- fl.call(l, t) && Be(e, t, l[t]);
754
+ yl.call(l, t) && Be(e, t, l[t]);
752
755
  if (Ie)
753
756
  for (var t of Ie(l))
754
- yl.call(l, t) && Be(e, t, l[t]);
757
+ ml.call(l, t) && Be(e, t, l[t]);
755
758
  return e;
756
759
  };
757
760
  R.mounted + "";
758
- const vl = 500;
761
+ const pl = 500;
759
762
  function Ee(e, l, t) {
760
763
  var o, a;
761
764
  const r = I(() => J(e));
@@ -765,7 +768,7 @@ function Ee(e, l, t) {
765
768
  }
766
769
  function c(u) {
767
770
  var m, i, y, d;
768
- (m = t == null ? void 0 : t.modifiers) != null && m.self && u.target !== r.value || (n(), (i = t == null ? void 0 : t.modifiers) != null && i.prevent && u.preventDefault(), (y = t == null ? void 0 : t.modifiers) != null && y.stop && u.stopPropagation(), s = setTimeout(() => l(u), (d = t == null ? void 0 : t.delay) != null ? d : vl));
771
+ (m = t == null ? void 0 : t.modifiers) != null && m.self && u.target !== r.value || (n(), (i = t == null ? void 0 : t.modifiers) != null && i.prevent && u.preventDefault(), (y = t == null ? void 0 : t.modifiers) != null && y.stop && u.stopPropagation(), s = setTimeout(() => l(u), (d = t == null ? void 0 : t.delay) != null ? d : pl));
769
772
  }
770
773
  const f = {
771
774
  capture: (o = t == null ? void 0 : t.modifiers) == null ? void 0 : o.capture,
@@ -781,7 +784,7 @@ function Ze(e, l = !1) {
781
784
  const t = g(), o = () => t.value = Boolean(e());
782
785
  return o(), Qe(o, l), t;
783
786
  }
784
- function pl(e, l = {}) {
787
+ function hl(e, l = {}) {
785
788
  const t = l ? l.delayEnter : 0, o = l ? l.delayLeave : 0, a = g(!1);
786
789
  let r;
787
790
  const s = (n) => {
@@ -791,17 +794,17 @@ function pl(e, l = {}) {
791
794
  return window && (A(e, "mouseenter", () => s(!0), { passive: !0 }), A(e, "mouseleave", () => s(!1), { passive: !0 })), a;
792
795
  }
793
796
  R.mounted + "";
794
- var Le = Object.getOwnPropertySymbols, hl = Object.prototype.hasOwnProperty, bl = Object.prototype.propertyIsEnumerable, gl = (e, l) => {
797
+ var Le = Object.getOwnPropertySymbols, bl = Object.prototype.hasOwnProperty, gl = Object.prototype.propertyIsEnumerable, _l = (e, l) => {
795
798
  var t = {};
796
799
  for (var o in e)
797
- hl.call(e, o) && l.indexOf(o) < 0 && (t[o] = e[o]);
800
+ bl.call(e, o) && l.indexOf(o) < 0 && (t[o] = e[o]);
798
801
  if (e != null && Le)
799
802
  for (var o of Le(e))
800
- l.indexOf(o) < 0 && bl.call(e, o) && (t[o] = e[o]);
803
+ l.indexOf(o) < 0 && gl.call(e, o) && (t[o] = e[o]);
801
804
  return t;
802
805
  };
803
- function _l(e, l, t = {}) {
804
- const o = t, { window: a = M } = o, r = gl(o, ["window"]);
806
+ function wl(e, l, t = {}) {
807
+ const o = t, { window: a = M } = o, r = _l(o, ["window"]);
805
808
  let s;
806
809
  const n = Ze(() => a && "ResizeObserver" in a), c = () => {
807
810
  s && (s.disconnect(), s = void 0);
@@ -815,12 +818,12 @@ function _l(e, l, t = {}) {
815
818
  stop: u
816
819
  };
817
820
  }
818
- function wl(e, l = { width: 0, height: 0 }, t = {}) {
821
+ function Sl(e, l = { width: 0, height: 0 }, t = {}) {
819
822
  const { window: o = M, box: a = "content-box" } = t, r = I(() => {
820
823
  var c, f;
821
824
  return (f = (c = J(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : f.includes("svg");
822
825
  }), s = g(l.width), n = g(l.height);
823
- return _l(e, ([c]) => {
826
+ return wl(e, ([c]) => {
824
827
  const f = a === "border-box" ? c.borderBoxSize : a === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
825
828
  if (o && r.value) {
826
829
  const u = J(e);
@@ -913,13 +916,13 @@ function de(e, l = {}) {
913
916
  bottom: !1
914
917
  }), Y = (B) => {
915
918
  d.value && (d.value = !1, S.left = !1, S.right = !1, S.top = !1, S.bottom = !1, a(B));
916
- }, oe = Gt(Y, t + o), O = (B) => {
919
+ }, oe = Kt(Y, t + o), O = (B) => {
917
920
  const q = B.target === document ? B.target.documentElement : B.target, D = q.scrollLeft;
918
921
  S.left = D < f.value, S.right = D > u.value, j.left = D <= 0 + (s.left || 0), j.right = D + q.clientWidth >= q.scrollWidth - (s.right || 0) - Pe, f.value = D;
919
922
  let F = q.scrollTop;
920
923
  B.target === document && !F && (F = document.body.scrollTop), S.top = F < u.value, S.bottom = F > u.value, j.top = F <= 0 + (s.top || 0), j.bottom = F + q.clientHeight >= q.scrollHeight - (s.bottom || 0) - Pe, u.value = F, d.value = !0, oe(B), r(B);
921
924
  };
922
- return A(e, "scroll", t ? Kt(O, t, !0, !1) : O, n), A(e, "scrollend", Y, n), {
925
+ return A(e, "scroll", t ? Qt(O, t, !0, !1) : O, n), A(e, "scrollend", Y, n), {
923
926
  x: m,
924
927
  y: i,
925
928
  isScrolling: d,
@@ -927,17 +930,17 @@ function de(e, l = {}) {
927
930
  directions: S
928
931
  };
929
932
  }
930
- var Sl = Object.defineProperty, jl = Object.defineProperties, kl = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, $l = Object.prototype.hasOwnProperty, Vl = Object.prototype.propertyIsEnumerable, Te = (e, l, t) => l in e ? Sl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, qe = (e, l) => {
933
+ var jl = Object.defineProperty, kl = Object.defineProperties, $l = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Vl = Object.prototype.hasOwnProperty, xl = Object.prototype.propertyIsEnumerable, Te = (e, l, t) => l in e ? jl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, qe = (e, l) => {
931
934
  for (var t in l || (l = {}))
932
- $l.call(l, t) && Te(e, t, l[t]);
935
+ Vl.call(l, t) && Te(e, t, l[t]);
933
936
  if (Je)
934
937
  for (var t of Je(l))
935
- Vl.call(l, t) && Te(e, t, l[t]);
938
+ xl.call(l, t) && Te(e, t, l[t]);
936
939
  return e;
937
- }, xl = (e, l) => jl(e, kl(l));
940
+ }, Ol = (e, l) => kl(e, $l(l));
938
941
  function ze(e, l, t = {}) {
939
942
  var o, a;
940
- const r = (o = t.direction) != null ? o : "bottom", s = X(de(e, xl(qe({}, t), {
943
+ const r = (o = t.direction) != null ? o : "bottom", s = X(de(e, Ol(qe({}, t), {
941
944
  offset: qe({
942
945
  [r]: (a = t.distance) != null ? a : 0
943
946
  }, t.offset)
@@ -990,14 +993,14 @@ function Ae(e, l, t = {}) {
990
993
  };
991
994
  }
992
995
  R.mounted + "";
993
- var Ol = Object.defineProperty, Il = Object.defineProperties, Bl = Object.getOwnPropertyDescriptors, Fe = Object.getOwnPropertySymbols, El = Object.prototype.hasOwnProperty, Ll = Object.prototype.propertyIsEnumerable, De = (e, l, t) => l in e ? Ol(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Cl = (e, l) => {
996
+ var Il = Object.defineProperty, Bl = Object.defineProperties, El = Object.getOwnPropertyDescriptors, Fe = Object.getOwnPropertySymbols, Ll = Object.prototype.hasOwnProperty, Cl = Object.prototype.propertyIsEnumerable, De = (e, l, t) => l in e ? Il(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Pl = (e, l) => {
994
997
  for (var t in l || (l = {}))
995
- El.call(l, t) && De(e, t, l[t]);
998
+ Ll.call(l, t) && De(e, t, l[t]);
996
999
  if (Fe)
997
1000
  for (var t of Fe(l))
998
- Ll.call(l, t) && De(e, t, l[t]);
1001
+ Cl.call(l, t) && De(e, t, l[t]);
999
1002
  return e;
1000
- }, Pl = (e, l) => Il(e, Bl(l));
1003
+ }, Jl = (e, l) => Bl(e, El(l));
1001
1004
  R.mounted + "";
1002
1005
  function Ye(e) {
1003
1006
  const l = window.getComputedStyle(e);
@@ -1008,14 +1011,14 @@ function Ye(e) {
1008
1011
  return !t || t.tagName === "BODY" ? !1 : Ye(t);
1009
1012
  }
1010
1013
  }
1011
- function Jl(e) {
1014
+ function Tl(e) {
1012
1015
  const l = e || window.event, t = l.target;
1013
1016
  return Ye(t) ? !1 : l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
1014
1017
  }
1015
- function Tl(e, l = !1) {
1018
+ function ql(e, l = !1) {
1016
1019
  const t = g(l);
1017
1020
  let o = null, a;
1018
- C(Qt(e), (n) => {
1021
+ C(Zt(e), (n) => {
1019
1022
  if (n) {
1020
1023
  const c = n;
1021
1024
  a = c.style.overflow, t.value && (c.style.overflow = "hidden");
@@ -1026,7 +1029,7 @@ function Tl(e, l = !1) {
1026
1029
  const r = () => {
1027
1030
  const n = P(e);
1028
1031
  !n || t.value || (ee && (o = A(n, "touchmove", (c) => {
1029
- Jl(c);
1032
+ Tl(c);
1030
1033
  }, { passive: !1 })), n.style.overflow = "hidden", t.value = !0);
1031
1034
  }, s = () => {
1032
1035
  const n = P(e);
@@ -1041,25 +1044,25 @@ function Tl(e, l = !1) {
1041
1044
  }
1042
1045
  });
1043
1046
  }
1044
- const ql = () => {
1047
+ const zl = () => {
1045
1048
  let e = !1;
1046
1049
  const l = g(!1);
1047
1050
  return (t, o) => {
1048
1051
  if (l.value = o.value, e)
1049
1052
  return;
1050
1053
  e = !0;
1051
- const a = Tl(t, o.value);
1054
+ const a = ql(t, o.value);
1052
1055
  C(l, (r) => a.value = r);
1053
1056
  };
1054
1057
  };
1055
- ql();
1056
- const Xe = ["medium", "small"], zl = {
1058
+ zl();
1059
+ const Xe = ["medium", "small"], Al = {
1057
1060
  key: 0,
1058
1061
  class: "joy-dropdown-list__header"
1059
- }, Al = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Fl = {
1062
+ }, Fl = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Dl = {
1060
1063
  key: 1,
1061
1064
  class: "joy-dropdown-list__footer"
1062
- }, Dl = /* @__PURE__ */ $({
1065
+ }, Rl = /* @__PURE__ */ $({
1063
1066
  __name: "VJoyDropdownList",
1064
1067
  props: {
1065
1068
  /**
@@ -1144,7 +1147,7 @@ const Xe = ["medium", "small"], zl = {
1144
1147
  class: "joy-dropdown-list",
1145
1148
  style: K({ width: `${e.width}px`, "max-width": `${e.width}px` })
1146
1149
  }, [
1147
- i.$slots["dropdown-list-header"] ? (v(), p("header", zl, [
1150
+ i.$slots["dropdown-list-header"] ? (v(), p("header", Al, [
1148
1151
  b(i.$slots, "dropdown-list-header", {}, void 0, !0)
1149
1152
  ])) : w("", !0),
1150
1153
  h("div", {
@@ -1182,17 +1185,17 @@ const Xe = ["medium", "small"], zl = {
1182
1185
  b(i.$slots, "label", ve(pe(d)), () => [
1183
1186
  h("span", null, x(d.label), 1)
1184
1187
  ], !0)
1185
- ], 14, Al))), 128))
1188
+ ], 14, Fl))), 128))
1186
1189
  ], 512)) : w("", !0)
1187
1190
  ], 6),
1188
- i.$slots["dropdown-list-footer"] ? (v(), p("footer", Fl, [
1191
+ i.$slots["dropdown-list-footer"] ? (v(), p("footer", Dl, [
1189
1192
  b(i.$slots, "dropdown-list-footer", {}, void 0, !0)
1190
1193
  ])) : w("", !0)
1191
1194
  ], 4));
1192
1195
  }
1193
1196
  });
1194
- const et = /* @__PURE__ */ V(Dl, [["__scopeId", "data-v-63134a7f"]]);
1195
- function Rl(e) {
1197
+ const et = /* @__PURE__ */ V(Rl, [["__scopeId", "data-v-63134a7f"]]);
1198
+ function Ml(e) {
1196
1199
  const l = () => e();
1197
1200
  Z(() => {
1198
1201
  window.addEventListener("resize", l);
@@ -1200,7 +1203,7 @@ function Rl(e) {
1200
1203
  window.removeEventListener("resize", l);
1201
1204
  });
1202
1205
  }
1203
- const Ml = /* @__PURE__ */ $({
1206
+ const Nl = /* @__PURE__ */ $({
1204
1207
  __name: "VJoyDropdown",
1205
1208
  props: {
1206
1209
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -1309,9 +1312,9 @@ const Ml = /* @__PURE__ */ $({
1309
1312
  function oe(O) {
1310
1313
  t("update:modelValue", O), o.closeOnSelect && (y(), S());
1311
1314
  }
1312
- return Rl(y), l({
1315
+ return Ml(y), l({
1313
1316
  showDropdownList: a
1314
- }), (O, B) => (v(), T(_(ul), {
1317
+ }), (O, B) => (v(), T(_(dl), {
1315
1318
  ref_key: "dropdown",
1316
1319
  ref: r,
1317
1320
  options: u,
@@ -1393,10 +1396,10 @@ const Ml = /* @__PURE__ */ $({
1393
1396
  }, 512));
1394
1397
  }
1395
1398
  });
1396
- const Nl = /* @__PURE__ */ V(Ml, [["__scopeId", "data-v-2657fbc4"]]), Hl = (e) => (te("data-v-50e209d6"), e = e(), le(), e), Wl = ["aria-hidden"], Ul = /* @__PURE__ */ Hl(() => /* @__PURE__ */ h("joy-icon", {
1399
+ const Hl = /* @__PURE__ */ V(Nl, [["__scopeId", "data-v-2657fbc4"]]), Wl = (e) => (te("data-v-50e209d6"), e = e(), le(), e), Ul = ["aria-hidden"], Gl = /* @__PURE__ */ Wl(() => /* @__PURE__ */ h("joy-icon", {
1397
1400
  "custom-class": "joy-icon-error",
1398
1401
  name: "warning-triangle"
1399
- }, null, -1)), Gl = /* @__PURE__ */ $({
1402
+ }, null, -1)), Kl = /* @__PURE__ */ $({
1400
1403
  __name: "VJoyFormError",
1401
1404
  props: {
1402
1405
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1413,17 +1416,17 @@ const Nl = /* @__PURE__ */ V(Ml, [["__scopeId", "data-v-2657fbc4"]]), Hl = (e) =
1413
1416
  class: k(["joy-form-error", { "joy-has-error": e.visible }]),
1414
1417
  role: "alert"
1415
1418
  }, [
1416
- Ul,
1419
+ Gl,
1417
1420
  h("div", null, [
1418
1421
  b(l.$slots, "default", {}, () => [
1419
1422
  L(x(e.noHtmlErrorText), 1)
1420
1423
  ], !0)
1421
1424
  ])
1422
- ], 10, Wl));
1425
+ ], 10, Ul));
1423
1426
  }
1424
1427
  });
1425
- const tt = /* @__PURE__ */ V(Gl, [["__scopeId", "data-v-50e209d6"]]);
1426
- function Kl(e) {
1428
+ const tt = /* @__PURE__ */ V(Kl, [["__scopeId", "data-v-50e209d6"]]);
1429
+ function Ql(e) {
1427
1430
  let l;
1428
1431
  switch (e) {
1429
1432
  case "error":
@@ -1437,7 +1440,7 @@ function Kl(e) {
1437
1440
  }
1438
1441
  return l;
1439
1442
  }
1440
- const Ql = [...bt], Zl = ["name"], Yl = { class: "joy-highlight--text" }, Xl = /* @__PURE__ */ $({
1443
+ const Zl = [...bt], Yl = ["name"], Xl = { class: "joy-highlight--text" }, eo = /* @__PURE__ */ $({
1441
1444
  __name: "VJoyHighlight",
1442
1445
  props: {
1443
1446
  accent: {
@@ -1453,12 +1456,12 @@ const Ql = [...bt], Zl = ["name"], Yl = { class: "joy-highlight--text" }, Xl = /
1453
1456
  type: String,
1454
1457
  default: "neutral",
1455
1458
  validator(e) {
1456
- return Ql.includes(e);
1459
+ return Zl.includes(e);
1457
1460
  }
1458
1461
  }
1459
1462
  },
1460
1463
  setup(e, { expose: l }) {
1461
- const t = e, o = I(() => t.icon ? t.icon : Kl(t.level));
1464
+ const t = e, o = I(() => t.icon ? t.icon : Ql(t.level));
1462
1465
  return l({
1463
1466
  getRelevantIcon: o
1464
1467
  }), (a, r) => (v(), p("div", {
@@ -1474,8 +1477,8 @@ const Ql = [...bt], Zl = ["name"], Yl = { class: "joy-highlight--text" }, Xl = /
1474
1477
  e.displayIcon ? (v(), p("joy-icon", {
1475
1478
  key: 0,
1476
1479
  name: _(o)
1477
- }, null, 8, Zl)) : w("", !0),
1478
- h("div", Yl, [
1480
+ }, null, 8, Yl)) : w("", !0),
1481
+ h("div", Xl, [
1479
1482
  h("strong", null, [
1480
1483
  b(a.$slots, "highlight-title", {}, void 0, !0)
1481
1484
  ]),
@@ -1484,20 +1487,20 @@ const Ql = [...bt], Zl = ["name"], Yl = { class: "joy-highlight--text" }, Xl = /
1484
1487
  ], 2));
1485
1488
  }
1486
1489
  });
1487
- const eo = /* @__PURE__ */ V(Xl, [["__scopeId", "data-v-a0ff7a60"]]), to = ["small", "medium", "large"], lo = {
1490
+ const to = /* @__PURE__ */ V(eo, [["__scopeId", "data-v-a0ff7a60"]]), lo = ["small", "medium", "large"], oo = {
1488
1491
  key: 0,
1489
1492
  class: "joy-label-required"
1490
- }, oo = {
1493
+ }, no = {
1491
1494
  key: 1,
1492
1495
  class: "joy-label-optional"
1493
- }, no = /* @__PURE__ */ $({
1496
+ }, ao = /* @__PURE__ */ $({
1494
1497
  __name: "VJoyLabel",
1495
1498
  props: {
1496
1499
  size: {
1497
1500
  type: String,
1498
1501
  default: "medium",
1499
1502
  validator(e) {
1500
- return to.includes(e);
1503
+ return lo.includes(e);
1501
1504
  }
1502
1505
  },
1503
1506
  tagName: {
@@ -1521,14 +1524,17 @@ const eo = /* @__PURE__ */ V(Xl, [["__scopeId", "data-v-a0ff7a60"]]), to = ["sma
1521
1524
  b(l.$slots, "default", {}, () => [
1522
1525
  L(x(e.text), 1)
1523
1526
  ], !0),
1524
- e.required ? (v(), p("span", lo, "*")) : w("", !0),
1525
- e.optionalLabel ? (v(), p("span", oo, "- " + x(e.optionalLabel), 1)) : w("", !0)
1527
+ e.required ? (v(), p("span", oo, "*")) : w("", !0),
1528
+ e.optionalLabel ? (v(), p("span", no, "- " + x(e.optionalLabel), 1)) : w("", !0)
1526
1529
  ]),
1527
1530
  _: 3
1528
1531
  }, 16, ["class"]));
1529
1532
  }
1530
1533
  });
1531
- const N = /* @__PURE__ */ V(no, [["__scopeId", "data-v-1265214a"]]), ao = ["large", "medium", "small"], io = ["id", "disabled", "type", "value"], ro = ["name"], so = ["data-unit"], uo = /* @__PURE__ */ $({
1534
+ const N = /* @__PURE__ */ V(ao, [["__scopeId", "data-v-1265214a"]]), io = ["large", "medium", "small"], ro = ["id", "disabled", "type", "value"], so = ["name"], uo = ["data-unit"], co = {
1535
+ inheritAttrs: !1
1536
+ }, fo = /* @__PURE__ */ $({
1537
+ ...co,
1532
1538
  __name: "VJoyInput",
1533
1539
  props: {
1534
1540
  disabled: {
@@ -1578,7 +1584,7 @@ const N = /* @__PURE__ */ V(no, [["__scopeId", "data-v-1265214a"]]), ao = ["larg
1578
1584
  type: String,
1579
1585
  default: "medium",
1580
1586
  validator(e) {
1581
- return ao.includes(e);
1587
+ return io.includes(e);
1582
1588
  }
1583
1589
  },
1584
1590
  type: String,
@@ -1669,7 +1675,7 @@ const N = /* @__PURE__ */ V(no, [["__scopeId", "data-v-1265214a"]]), ao = ["larg
1669
1675
  (...j) => i.onBlur && i.onBlur(...j)),
1670
1676
  onInput: d[2] || (d[2] = //@ts-ignore
1671
1677
  (...j) => i.onInput && i.onInput(...j))
1672
- }), null, 16, io),
1678
+ }), null, 16, ro),
1673
1679
  _(c) ? (v(), p("joy-icon", {
1674
1680
  key: 0,
1675
1681
  size: "xxsmall",
@@ -1683,18 +1689,18 @@ const N = /* @__PURE__ */ V(no, [["__scopeId", "data-v-1265214a"]]), ao = ["larg
1683
1689
  role: "img",
1684
1690
  class: "joy-input--decorative-icon",
1685
1691
  name: e.icon
1686
- }, null, 8, ro)) : w("", !0),
1692
+ }, null, 8, so)) : w("", !0),
1687
1693
  e.unit ? (v(), p("div", {
1688
1694
  key: 2,
1689
1695
  "data-unit": e.unit,
1690
1696
  class: "joy-input--unit"
1691
- }, null, 8, so)) : w("", !0)
1697
+ }, null, 8, uo)) : w("", !0)
1692
1698
  ], 2)
1693
1699
  ], 2)
1694
1700
  ], 2));
1695
1701
  }
1696
1702
  });
1697
- const co = /* @__PURE__ */ V(uo, [["__scopeId", "data-v-4155cc79"]]), fo = ["teal", "white"], yo = ["href"], mo = ["color", "name"], vo = /* @__PURE__ */ $({
1703
+ const yo = /* @__PURE__ */ V(fo, [["__scopeId", "data-v-35fce715"]]), mo = ["teal", "white"], vo = ["href"], po = ["color", "name"], ho = /* @__PURE__ */ $({
1698
1704
  __name: "VJoyLink",
1699
1705
  props: {
1700
1706
  href: {
@@ -1705,7 +1711,7 @@ const co = /* @__PURE__ */ V(uo, [["__scopeId", "data-v-4155cc79"]]), fo = ["tea
1705
1711
  type: String,
1706
1712
  default: "teal",
1707
1713
  validator(e) {
1708
- return fo.includes(e);
1714
+ return mo.includes(e);
1709
1715
  }
1710
1716
  },
1711
1717
  icon: String,
@@ -1720,16 +1726,16 @@ const co = /* @__PURE__ */ V(uo, [["__scopeId", "data-v-4155cc79"]]), fo = ["tea
1720
1726
  key: 0,
1721
1727
  color: _(t),
1722
1728
  name: e.icon
1723
- }, null, 8, mo)) : w("", !0),
1729
+ }, null, 8, po)) : w("", !0),
1724
1730
  b(o.$slots, "default", {}, () => [
1725
1731
  L(x(e.text), 1)
1726
1732
  ], !0)
1727
- ], 16, yo));
1733
+ ], 16, vo));
1728
1734
  }
1729
1735
  });
1730
- const po = /* @__PURE__ */ V(vo, [["__scopeId", "data-v-920769ba"]]), ho = ["id"], bo = {
1736
+ const bo = /* @__PURE__ */ V(ho, [["__scopeId", "data-v-920769ba"]]), go = ["id"], _o = {
1731
1737
  class: /* @__PURE__ */ k(["joy-multi-checkbox"])
1732
- }, go = /* @__PURE__ */ $({
1738
+ }, wo = /* @__PURE__ */ $({
1733
1739
  __name: "VJoyMultiCheckbox",
1734
1740
  props: {
1735
1741
  options: {
@@ -1788,7 +1794,7 @@ const po = /* @__PURE__ */ V(vo, [["__scopeId", "data-v-920769ba"]]), ho = ["id"
1788
1794
  ]),
1789
1795
  _: 1
1790
1796
  }, 8, ["required", "optional-label", "size"])) : w("", !0),
1791
- h("div", bo, [
1797
+ h("div", _o, [
1792
1798
  (v(!0), p(ye, null, me(e.options, (n) => (v(), T(_(he), {
1793
1799
  id: n.id,
1794
1800
  key: n.id,
@@ -1805,22 +1811,22 @@ const po = /* @__PURE__ */ V(vo, [["__scopeId", "data-v-920769ba"]]), ho = ["id"
1805
1811
  _: 2
1806
1812
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
1807
1813
  ])
1808
- ], 8, ho));
1814
+ ], 8, go));
1809
1815
  }
1810
1816
  });
1811
- const _o = /* @__PURE__ */ V(go, [["__scopeId", "data-v-47574ced"]]), wo = ["small", "medium", "large"], So = ["small", "large"], jo = {
1817
+ const So = /* @__PURE__ */ V(wo, [["__scopeId", "data-v-47574ced"]]), jo = ["small", "medium", "large"], ko = ["small", "large"], $o = {
1812
1818
  key: 0,
1813
1819
  class: /* @__PURE__ */ k(["joy-panel__header"])
1814
- }, ko = {
1820
+ }, Vo = {
1815
1821
  key: 1,
1816
1822
  class: "joy-panel__header-action"
1817
- }, $o = {
1823
+ }, xo = {
1818
1824
  key: 2,
1819
1825
  class: "joy-panel__header-subtitle"
1820
- }, Vo = { class: "joy-panel__body" }, xo = {
1826
+ }, Oo = { class: "joy-panel__body" }, Io = {
1821
1827
  key: 1,
1822
1828
  class: "joy-panel__footer"
1823
- }, Oo = /* @__PURE__ */ $({
1829
+ }, Bo = /* @__PURE__ */ $({
1824
1830
  __name: "VJoyPanel",
1825
1831
  props: {
1826
1832
  flex: {
@@ -1834,14 +1840,14 @@ const _o = /* @__PURE__ */ V(go, [["__scopeId", "data-v-47574ced"]]), wo = ["sma
1834
1840
  type: String,
1835
1841
  default: "medium",
1836
1842
  validator(e) {
1837
- return wo.includes(e);
1843
+ return jo.includes(e);
1838
1844
  }
1839
1845
  },
1840
1846
  titleSize: {
1841
1847
  type: String,
1842
1848
  default: "large",
1843
1849
  validator(e) {
1844
- return So.includes(e);
1850
+ return ko.includes(e);
1845
1851
  }
1846
1852
  }
1847
1853
  },
@@ -1859,50 +1865,50 @@ const _o = /* @__PURE__ */ V(go, [["__scopeId", "data-v-47574ced"]]), wo = ["sma
1859
1865
  }
1860
1866
  ])
1861
1867
  }, [
1862
- _(r) ? (v(), p("header", jo, [
1868
+ _(r) ? (v(), p("header", $o, [
1863
1869
  _(o)["panel-title"] ? (v(), p("div", {
1864
1870
  key: 0,
1865
1871
  class: k(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
1866
1872
  }, [
1867
1873
  b(s.$slots, "panel-title", {}, void 0, !0)
1868
1874
  ], 2)) : w("", !0),
1869
- _(o)["panel-title-action"] ? (v(), p("div", ko, [
1875
+ _(o)["panel-title-action"] ? (v(), p("div", Vo, [
1870
1876
  b(s.$slots, "panel-title-action", {}, void 0, !0)
1871
1877
  ])) : w("", !0),
1872
- _(o)["panel-subtitle"] ? (v(), p("div", $o, [
1878
+ _(o)["panel-subtitle"] ? (v(), p("div", xo, [
1873
1879
  b(s.$slots, "panel-subtitle", {}, void 0, !0)
1874
1880
  ])) : w("", !0)
1875
1881
  ])) : w("", !0),
1876
- h("div", Vo, [
1882
+ h("div", Oo, [
1877
1883
  b(s.$slots, "panel-body", {}, void 0, !0)
1878
1884
  ]),
1879
- _(o)["panel-action"] ? (v(), p("footer", xo, [
1885
+ _(o)["panel-action"] ? (v(), p("footer", Io, [
1880
1886
  b(s.$slots, "panel-action", {}, void 0, !0)
1881
1887
  ])) : w("", !0)
1882
1888
  ], 6));
1883
1889
  }
1884
1890
  });
1885
- const Io = /* @__PURE__ */ V(Oo, [["__scopeId", "data-v-49d83306"]]), Bo = { class: "joy-panel-section" }, Eo = {
1891
+ const Eo = /* @__PURE__ */ V(Bo, [["__scopeId", "data-v-49d83306"]]), Lo = { class: "joy-panel-section" }, Co = {
1886
1892
  key: 0,
1887
1893
  class: "joy-panel-section__title"
1888
- }, Lo = {
1894
+ }, Po = {
1889
1895
  key: 1,
1890
1896
  class: "joy-panel-section__content"
1891
- }, Co = /* @__PURE__ */ $({
1897
+ }, Jo = /* @__PURE__ */ $({
1892
1898
  __name: "VJoyPanelSection",
1893
1899
  setup(e) {
1894
1900
  const l = W();
1895
- return (t, o) => (v(), p("div", Bo, [
1896
- _(l)["panel-section-title"] ? (v(), p("div", Eo, [
1901
+ return (t, o) => (v(), p("div", Lo, [
1902
+ _(l)["panel-section-title"] ? (v(), p("div", Co, [
1897
1903
  b(t.$slots, "panel-section-title", {}, void 0, !0)
1898
1904
  ])) : w("", !0),
1899
- _(l)["panel-section-content"] ? (v(), p("div", Lo, [
1905
+ _(l)["panel-section-content"] ? (v(), p("div", Po, [
1900
1906
  b(t.$slots, "panel-section-content", {}, void 0, !0)
1901
1907
  ])) : w("", !0)
1902
1908
  ]));
1903
1909
  }
1904
1910
  });
1905
- const Po = /* @__PURE__ */ V(Co, [["__scopeId", "data-v-d88510ab"]]), Jo = ["id", "value", "checked", "disabled", "required", "name"], To = { class: "joy-radio-label" }, qo = { class: "joy-radio-content__wrapper" }, zo = { class: "joy-radio-content" }, Ao = /* @__PURE__ */ $({
1911
+ const To = /* @__PURE__ */ V(Jo, [["__scopeId", "data-v-d88510ab"]]), qo = ["id", "value", "checked", "disabled", "required", "name"], zo = { class: "joy-radio-label" }, Ao = { class: "joy-radio-content__wrapper" }, Fo = { class: "joy-radio-content" }, Do = /* @__PURE__ */ $({
1906
1912
  __name: "VJoyRadio",
1907
1913
  props: {
1908
1914
  disabled: {
@@ -1988,12 +1994,12 @@ const Po = /* @__PURE__ */ V(Co, [["__scopeId", "data-v-d88510ab"]]), Jo = ["id"
1988
1994
  onChange: m,
1989
1995
  onFocus: i,
1990
1996
  onBlur: y
1991
- }, null, 40, Jo),
1992
- h("span", To, [
1997
+ }, null, 40, qo),
1998
+ h("span", zo, [
1993
1999
  b(d.$slots, "default", {}, void 0, !0)
1994
2000
  ]),
1995
- h("div", qo, [
1996
- h("div", zo, [
2001
+ h("div", Ao, [
2002
+ h("div", Fo, [
1997
2003
  b(d.$slots, "radio-content", {}, void 0, !0)
1998
2004
  ]),
1999
2005
  h("div", {
@@ -2007,7 +2013,7 @@ const Po = /* @__PURE__ */ V(Co, [["__scopeId", "data-v-d88510ab"]]), Jo = ["id"
2007
2013
  ], 2));
2008
2014
  }
2009
2015
  });
2010
- const Fo = /* @__PURE__ */ V(Ao, [["__scopeId", "data-v-24cea99b"]]), Do = ["form", "name"], Ro = /* @__PURE__ */ $({
2016
+ const Ro = /* @__PURE__ */ V(Do, [["__scopeId", "data-v-24cea99b"]]), Mo = ["form", "name"], No = /* @__PURE__ */ $({
2011
2017
  __name: "VJoyRadioGroup",
2012
2018
  props: {
2013
2019
  direction: {
@@ -2035,13 +2041,13 @@ const Fo = /* @__PURE__ */ V(Ao, [["__scopeId", "data-v-24cea99b"]]), Do = ["for
2035
2041
  }, [
2036
2042
  b(l.$slots, "default", {}, void 0, !0)
2037
2043
  ], 2)
2038
- ], 8, Do));
2044
+ ], 8, Mo));
2039
2045
  }
2040
2046
  });
2041
- const Mo = /* @__PURE__ */ V(Ro, [["__scopeId", "data-v-ace1a80f"]]), No = (e) => (te("data-v-ab4d0113"), e = e(), le(), e), Ho = ["id", "name", "aria-invalid", "required", "disabled", "value"], Wo = /* @__PURE__ */ No(() => /* @__PURE__ */ h("joy-icon", {
2047
+ const Ho = /* @__PURE__ */ V(No, [["__scopeId", "data-v-ace1a80f"]]), Wo = (e) => (te("data-v-ab4d0113"), e = e(), le(), e), Uo = ["id", "name", "aria-invalid", "required", "disabled", "value"], Go = /* @__PURE__ */ Wo(() => /* @__PURE__ */ h("joy-icon", {
2042
2048
  class: "joy-select__chevron",
2043
2049
  name: "chevron-down"
2044
- }, null, -1)), Uo = /* @__PURE__ */ $({
2050
+ }, null, -1)), Ko = /* @__PURE__ */ $({
2045
2051
  __name: "VJoySelect",
2046
2052
  props: {
2047
2053
  disabled: {
@@ -2149,13 +2155,13 @@ const Mo = /* @__PURE__ */ V(Ro, [["__scopeId", "data-v-ace1a80f"]]), No = (e) =
2149
2155
  onBlur: f
2150
2156
  }, [
2151
2157
  b(u.$slots, "default", {}, void 0, !0)
2152
- ], 40, Ho),
2153
- Wo
2158
+ ], 40, Uo),
2159
+ Go
2154
2160
  ], 2)
2155
2161
  ], 512));
2156
2162
  }
2157
2163
  });
2158
- const Go = /* @__PURE__ */ V(Uo, [["__scopeId", "data-v-ab4d0113"]]), Ko = ["aria-disabled"], Qo = ["id", "value", "checked", "disabled", "required", "name"], Zo = /* @__PURE__ */ $({
2164
+ const Qo = /* @__PURE__ */ V(Ko, [["__scopeId", "data-v-ab4d0113"]]), Zo = ["aria-disabled"], Yo = ["id", "value", "checked", "disabled", "required", "name"], Xo = /* @__PURE__ */ $({
2159
2165
  __name: "VJoySelectableItem",
2160
2166
  props: {
2161
2167
  disabled: {
@@ -2240,7 +2246,7 @@ const Go = /* @__PURE__ */ V(Uo, [["__scopeId", "data-v-ab4d0113"]]), Ko = ["ari
2240
2246
  (...m) => n.onFocus && n.onFocus(...m)),
2241
2247
  onBlur: u[2] || (u[2] = //@ts-ignore
2242
2248
  (...m) => n.onBlur && n.onBlur(...m))
2243
- }, null, 40, Qo)),
2249
+ }, null, 40, Yo)),
2244
2250
  (v(), T(ce(_(s)), {
2245
2251
  for: e.id,
2246
2252
  class: k([
@@ -2285,10 +2291,10 @@ const Go = /* @__PURE__ */ V(Uo, [["__scopeId", "data-v-ab4d0113"]]), Ko = ["ari
2285
2291
  ]),
2286
2292
  _: 3
2287
2293
  }, 8, ["for", "class", "onClick"]))
2288
- ], 10, Ko));
2294
+ ], 10, Zo));
2289
2295
  }
2290
2296
  });
2291
- const lt = /* @__PURE__ */ V(Zo, [["__scopeId", "data-v-cb2531c0"]]), Yo = ["id"], Xo = /* @__PURE__ */ $({
2297
+ const lt = /* @__PURE__ */ V(Xo, [["__scopeId", "data-v-cb2531c0"]]), en = ["id"], tn = /* @__PURE__ */ $({
2292
2298
  __name: "VJoySelectableItemGroup",
2293
2299
  props: {
2294
2300
  options: {
@@ -2388,10 +2394,10 @@ const lt = /* @__PURE__ */ V(Zo, [["__scopeId", "data-v-cb2531c0"]]), Yo = ["id"
2388
2394
  } : void 0
2389
2395
  ]), 1032, ["id", "name", "value", "multiple", "checked", "onUpdate:checked"]))), 128))
2390
2396
  ], 2)
2391
- ], 8, Yo));
2397
+ ], 8, en));
2392
2398
  }
2393
2399
  });
2394
- const en = /* @__PURE__ */ V(Xo, [["__scopeId", "data-v-3ba17434"]]), tn = /* @__PURE__ */ $({
2400
+ const ln = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-3ba17434"]]), on = /* @__PURE__ */ $({
2395
2401
  __name: "VJoyWrapper",
2396
2402
  props: {
2397
2403
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -2414,9 +2420,14 @@ const en = /* @__PURE__ */ V(Xo, [["__scopeId", "data-v-3ba17434"]]), tn = /* @_
2414
2420
  type: String,
2415
2421
  default: "wrap"
2416
2422
  },
2417
- /** Apply a flex-grow to children in order to stretch them all along horizontal space */
2423
+ /** Applies a flex-grow to children in order to stretch them all along horizontal space */
2418
2424
  itemStretch: {
2419
2425
  type: Boolean
2426
+ },
2427
+ /** Removes the default bottom margin applied to the wrapper */
2428
+ noMargin: {
2429
+ type: Boolean,
2430
+ default: !1
2420
2431
  }
2421
2432
  },
2422
2433
  setup(e) {
@@ -2427,35 +2438,36 @@ const en = /* @__PURE__ */ V(Xo, [["__scopeId", "data-v-3ba17434"]]), tn = /* @_
2427
2438
  `joy-wrapper--align-${e.align}`,
2428
2439
  `joy-wrapper--direction-${e.direction}`,
2429
2440
  `joy-wrapper--wrap-${e.wrap}`,
2430
- { "joy-wrapper--item-stretch": e.itemStretch }
2441
+ { "joy-wrapper--item-stretch": e.itemStretch },
2442
+ { "joy-wrapper--has-margin": !e.noMargin }
2431
2443
  ])
2432
2444
  }, [
2433
2445
  b(t.$slots, "default", {}, void 0, !0)
2434
2446
  ], 2));
2435
2447
  }
2436
2448
  });
2437
- const ln = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-ff154744"]]), on = { class: "joy-template__wrapper" }, nn = {
2449
+ const nn = /* @__PURE__ */ V(on, [["__scopeId", "data-v-e2f29698"]]), an = { class: "joy-template__wrapper" }, rn = {
2438
2450
  key: 0,
2439
2451
  class: "joy-template__heading"
2440
- }, an = {
2452
+ }, sn = {
2441
2453
  key: 0,
2442
2454
  class: "joy-template-slot-back"
2443
- }, rn = { class: "joy-template__heading___headings" }, sn = {
2455
+ }, un = { class: "joy-template__heading___headings" }, dn = {
2444
2456
  key: 0,
2445
2457
  class: "joy-template-slot-title"
2446
- }, un = {
2458
+ }, cn = {
2447
2459
  key: 1,
2448
2460
  class: "joy-template-slot-subtitle"
2449
- }, dn = {
2461
+ }, fn = {
2450
2462
  key: 1,
2451
2463
  class: "joy-template-slot-actions"
2452
- }, cn = {
2464
+ }, yn = {
2453
2465
  key: 0,
2454
2466
  class: "joy-template-slot-main"
2455
- }, fn = {
2467
+ }, mn = {
2456
2468
  key: 1,
2457
2469
  class: "joy-template-slot-sidebar"
2458
- }, yn = /* @__PURE__ */ $({
2470
+ }, vn = /* @__PURE__ */ $({
2459
2471
  __name: "VJoyTemplate",
2460
2472
  props: {
2461
2473
  full: { type: Boolean, default: !1 },
@@ -2466,20 +2478,20 @@ const ln = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-ff154744"]]), on = { cla
2466
2478
  return (a, r) => (v(), p("main", {
2467
2479
  class: k(["joy-template", { "joy-template--full": l.full }])
2468
2480
  }, [
2469
- h("div", on, [
2470
- _(o) ? (v(), p("div", nn, [
2471
- _(t)["template-back"] ? (v(), p("div", an, [
2481
+ h("div", an, [
2482
+ _(o) ? (v(), p("div", rn, [
2483
+ _(t)["template-back"] ? (v(), p("div", sn, [
2472
2484
  b(a.$slots, "template-back", {}, void 0, !0)
2473
2485
  ])) : w("", !0),
2474
- h("div", rn, [
2475
- _(t)["template-title"] ? (v(), p("div", sn, [
2486
+ h("div", un, [
2487
+ _(t)["template-title"] ? (v(), p("div", dn, [
2476
2488
  b(a.$slots, "template-title", {}, void 0, !0)
2477
2489
  ])) : w("", !0),
2478
- _(t)["template-subtitle"] ? (v(), p("div", un, [
2490
+ _(t)["template-subtitle"] ? (v(), p("div", cn, [
2479
2491
  b(a.$slots, "template-subtitle", {}, void 0, !0)
2480
2492
  ])) : w("", !0)
2481
2493
  ]),
2482
- _(t)["template-actions"] ? (v(), p("div", dn, [
2494
+ _(t)["template-actions"] ? (v(), p("div", fn, [
2483
2495
  b(a.$slots, "template-actions", {}, void 0, !0)
2484
2496
  ])) : w("", !0)
2485
2497
  ])) : w("", !0),
@@ -2491,10 +2503,10 @@ const ln = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-ff154744"]]), on = { cla
2491
2503
  }
2492
2504
  ])
2493
2505
  }, [
2494
- a.$slots["template-main"] ? (v(), p("div", cn, [
2506
+ a.$slots["template-main"] ? (v(), p("div", yn, [
2495
2507
  b(a.$slots, "template-main", {}, void 0, !0)
2496
2508
  ])) : w("", !0),
2497
- a.$slots["template-sidebar"] ? (v(), p("div", fn, [
2509
+ a.$slots["template-sidebar"] ? (v(), p("div", mn, [
2498
2510
  b(a.$slots, "template-sidebar", {}, void 0, !0)
2499
2511
  ])) : w("", !0)
2500
2512
  ], 2)
@@ -2502,15 +2514,18 @@ const ln = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-ff154744"]]), on = { cla
2502
2514
  ], 2));
2503
2515
  }
2504
2516
  });
2505
- const mn = /* @__PURE__ */ V(yn, [["__scopeId", "data-v-85e0d8cf"]]), vn = ["aria-disabled"], pn = { class: "joy-textarea_wrapper" }, hn = ["id", "disabled", "name", "required", "minlength", "value"], bn = {
2517
+ const pn = /* @__PURE__ */ V(vn, [["__scopeId", "data-v-85e0d8cf"]]), hn = ["aria-disabled"], bn = { class: "joy-textarea_wrapper" }, gn = ["id", "disabled", "name", "required", "minlength", "value"], _n = {
2506
2518
  key: 0,
2507
2519
  class: "joy-textarea_helpers"
2508
- }, gn = {
2520
+ }, wn = {
2509
2521
  key: 0,
2510
2522
  name: "check",
2511
2523
  color: "grey",
2512
2524
  size: "xxsmall"
2513
- }, _n = /* @__PURE__ */ $({
2525
+ }, Sn = {
2526
+ inheritAttrs: !1
2527
+ }, jn = /* @__PURE__ */ $({
2528
+ ...Sn,
2514
2529
  __name: "VJoyTextarea",
2515
2530
  props: {
2516
2531
  disabled: {
@@ -2559,7 +2574,7 @@ const mn = /* @__PURE__ */ V(yn, [["__scopeId", "data-v-85e0d8cf"]]), vn = ["ari
2559
2574
  },
2560
2575
  emits: ["update:modelValue"],
2561
2576
  setup(e, { expose: l, emit: t }) {
2562
- const o = e, a = g(), { triggerResize: r } = ol({
2577
+ const o = e, a = g(), { triggerResize: r } = nl({
2563
2578
  element: o.autogrow ? a : void 0
2564
2579
  }), s = g(!1), n = g(!1), c = I(() => o.maxlength ? o.modelValue.length > o.maxlength : !1), f = I(() => o.minlength ? o.modelValue.length < o.minlength : !1), u = {
2565
2580
  onInput: (m) => {
@@ -2601,7 +2616,7 @@ const mn = /* @__PURE__ */ V(yn, [["__scopeId", "data-v-85e0d8cf"]]), vn = ["ari
2601
2616
  ]),
2602
2617
  _: 3
2603
2618
  }, 8, ["for", "required", "optional-label", "size"]),
2604
- h("div", pn, [
2619
+ h("div", bn, [
2605
2620
  h("textarea", Q(m.$attrs, {
2606
2621
  id: e.id,
2607
2622
  ref_key: "textarea",
@@ -2618,14 +2633,14 @@ const mn = /* @__PURE__ */ V(yn, [["__scopeId", "data-v-85e0d8cf"]]), vn = ["ari
2618
2633
  (...y) => u.onFocus && u.onFocus(...y)),
2619
2634
  onBlur: i[2] || (i[2] = //@ts-ignore
2620
2635
  (...y) => u.onBlur && u.onBlur(...y))
2621
- }), null, 16, hn)
2636
+ }), null, 16, gn)
2622
2637
  ]),
2623
- e.minlength || e.maxlength ? (v(), p("div", bn, [
2638
+ e.minlength || e.maxlength ? (v(), p("div", _n, [
2624
2639
  e.minlength ? (v(), p("p", {
2625
2640
  key: 0,
2626
2641
  class: k(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
2627
2642
  }, [
2628
- _(f) ? w("", !0) : (v(), p("joy-icon", gn)),
2643
+ _(f) ? w("", !0) : (v(), p("joy-icon", wn)),
2629
2644
  L(" " + x(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
2630
2645
  ], 2)) : w("", !0),
2631
2646
  e.maxlength ? (v(), p("p", {
@@ -2633,10 +2648,10 @@ const mn = /* @__PURE__ */ V(yn, [["__scopeId", "data-v-85e0d8cf"]]), vn = ["ari
2633
2648
  class: k(["joy-textarea-count", { "joy-textarea-count-invalid": _(c) }])
2634
2649
  }, x(e.modelValue.length + "/" + e.maxlength), 3)) : w("", !0)
2635
2650
  ])) : w("", !0)
2636
- ], 10, vn));
2651
+ ], 10, hn));
2637
2652
  }
2638
2653
  });
2639
- const wn = /* @__PURE__ */ V(_n, [["__scopeId", "data-v-1496c389"]]), ot = (e) => (te("data-v-cf79d999"), e = e(), le(), e), Sn = { class: "joy-toggle__wrapper" }, jn = ["name", "disabled", "checked", "required", "aria-checked", "value"], kn = { class: "joy-toggle__content" }, $n = /* @__PURE__ */ ot(() => /* @__PURE__ */ h("span", { class: "joy-toggle__symbol" }, null, -1)), Vn = { class: "joy-toggle__content-label" }, xn = /* @__PURE__ */ ot(() => /* @__PURE__ */ h("span", { class: "joy-toggle__smile" }, [
2654
+ const kn = /* @__PURE__ */ V(jn, [["__scopeId", "data-v-627a255b"]]), ot = (e) => (te("data-v-cf79d999"), e = e(), le(), e), $n = { class: "joy-toggle__wrapper" }, Vn = ["name", "disabled", "checked", "required", "aria-checked", "value"], xn = { class: "joy-toggle__content" }, On = /* @__PURE__ */ ot(() => /* @__PURE__ */ h("span", { class: "joy-toggle__symbol" }, null, -1)), In = { class: "joy-toggle__content-label" }, Bn = /* @__PURE__ */ ot(() => /* @__PURE__ */ h("span", { class: "joy-toggle__smile" }, [
2640
2655
  /* @__PURE__ */ h("svg", {
2641
2656
  width: "18",
2642
2657
  height: "10",
@@ -2649,7 +2664,7 @@ const wn = /* @__PURE__ */ V(_n, [["__scopeId", "data-v-1496c389"]]), ot = (e) =
2649
2664
  fill: "currentColor"
2650
2665
  })
2651
2666
  ])
2652
- ], -1)), On = /* @__PURE__ */ $({
2667
+ ], -1)), En = /* @__PURE__ */ $({
2653
2668
  __name: "VJoyToggle",
2654
2669
  props: {
2655
2670
  modelValue: {
@@ -2695,7 +2710,7 @@ const wn = /* @__PURE__ */ V(_n, [["__scopeId", "data-v-1496c389"]]), ot = (e) =
2695
2710
  t.value = !1;
2696
2711
  }
2697
2712
  };
2698
- return (a, r) => (v(), p("div", Sn, [
2713
+ return (a, r) => (v(), p("div", $n, [
2699
2714
  h("label", {
2700
2715
  class: k([
2701
2716
  "joy-toggle",
@@ -2723,77 +2738,77 @@ const wn = /* @__PURE__ */ V(_n, [["__scopeId", "data-v-1496c389"]]), ot = (e) =
2723
2738
  (...s) => o.onFocus && o.onFocus(...s)),
2724
2739
  onBlur: r[2] || (r[2] = //@ts-ignore
2725
2740
  (...s) => o.onBlur && o.onBlur(...s))
2726
- }, null, 40, jn),
2727
- h("p", kn, [
2728
- $n,
2729
- h("span", Vn, [
2741
+ }, null, 40, Vn),
2742
+ h("p", xn, [
2743
+ On,
2744
+ h("span", In, [
2730
2745
  b(a.$slots, "default", {}, () => [
2731
2746
  L(x(e.label), 1)
2732
2747
  ], !0)
2733
2748
  ]),
2734
- xn
2749
+ Bn
2735
2750
  ])
2736
2751
  ], 2)
2737
2752
  ]));
2738
2753
  }
2739
2754
  });
2740
- const In = /* @__PURE__ */ V(On, [["__scopeId", "data-v-cf79d999"]]), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2755
+ const Ln = /* @__PURE__ */ V(En, [["__scopeId", "data-v-cf79d999"]]), Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2741
2756
  __proto__: null,
2742
2757
  VJoyBadge: mt,
2743
2758
  VJoyButton: Vt,
2744
2759
  VJoyCheckbox: he,
2745
- VJoyCounter: Nt,
2746
- VJoyDropdown: Nl,
2760
+ VJoyCounter: Ht,
2761
+ VJoyDropdown: Hl,
2747
2762
  VJoyDropdownList: et,
2748
2763
  VJoyFormError: tt,
2749
- VJoyHighlight: eo,
2750
- VJoyInput: co,
2764
+ VJoyHighlight: to,
2765
+ VJoyInput: yo,
2751
2766
  VJoyLabel: N,
2752
- VJoyLink: po,
2753
- VJoyMultiCheckbox: _o,
2754
- VJoyPanel: Io,
2755
- VJoyPanelSection: Po,
2756
- VJoyRadio: Fo,
2757
- VJoyRadioGroup: Mo,
2758
- VJoySelect: Go,
2767
+ VJoyLink: bo,
2768
+ VJoyMultiCheckbox: So,
2769
+ VJoyPanel: Eo,
2770
+ VJoyPanelSection: To,
2771
+ VJoyRadio: Ro,
2772
+ VJoyRadioGroup: Ho,
2773
+ VJoySelect: Qo,
2759
2774
  VJoySelectableItem: lt,
2760
- VJoySelectableItemGroup: en,
2775
+ VJoySelectableItemGroup: ln,
2761
2776
  VJoySpinner: We,
2762
- VJoyTemplate: mn,
2763
- VJoyTextarea: wn,
2764
- VJoyToggle: In,
2765
- VJoyWrapper: ln
2766
- }, Symbol.toStringTag, { value: "Module" })), Ln = {
2777
+ VJoyTemplate: pn,
2778
+ VJoyTextarea: kn,
2779
+ VJoyToggle: Ln,
2780
+ VJoyWrapper: nn
2781
+ }, Symbol.toStringTag, { value: "Module" })), Jn = {
2767
2782
  install: (e) => {
2768
- Object.entries(Bn).forEach(([l, t]) => {
2783
+ Object.entries(Cn).forEach(([l, t]) => {
2769
2784
  e.component(l, t);
2770
2785
  });
2771
2786
  }
2772
2787
  };
2773
2788
  export {
2774
- Ln as JoyVuePlugin,
2789
+ Jn as JoyVuePlugin,
2775
2790
  mt as VJoyBadge,
2776
2791
  Vt as VJoyButton,
2777
2792
  he as VJoyCheckbox,
2778
- Nt as VJoyCounter,
2779
- Nl as VJoyDropdown,
2793
+ Ht as VJoyCounter,
2794
+ Hl as VJoyDropdown,
2780
2795
  et as VJoyDropdownList,
2781
2796
  tt as VJoyFormError,
2782
- eo as VJoyHighlight,
2783
- co as VJoyInput,
2797
+ to as VJoyHighlight,
2798
+ yo as VJoyInput,
2784
2799
  N as VJoyLabel,
2785
- po as VJoyLink,
2786
- _o as VJoyMultiCheckbox,
2787
- Io as VJoyPanel,
2788
- Po as VJoyPanelSection,
2789
- Fo as VJoyRadio,
2790
- Mo as VJoyRadioGroup,
2791
- Go as VJoySelect,
2800
+ bo as VJoyLink,
2801
+ So as VJoyMultiCheckbox,
2802
+ Eo as VJoyPanel,
2803
+ To as VJoyPanelSection,
2804
+ Ro as VJoyRadio,
2805
+ Ho as VJoyRadioGroup,
2806
+ Qo as VJoySelect,
2792
2807
  lt as VJoySelectableItem,
2793
- en as VJoySelectableItemGroup,
2808
+ ln as VJoySelectableItemGroup,
2794
2809
  We as VJoySpinner,
2795
- mn as VJoyTemplate,
2796
- wn as VJoyTextarea,
2797
- In as VJoyToggle,
2798
- ln as VJoyWrapper
2810
+ pn as VJoyTemplate,
2811
+ kn as VJoyTextarea,
2812
+ Ln as VJoyToggle,
2813
+ nn as VJoyWrapper
2799
2814
  };