@maltjoy/core-vue 3.14.0 → 3.15.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.
package/dist/joy-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as V, openBlock as s, createElementBlock as m, normalizeClass as S, createElementVNode as _, Fragment as H, createTextVNode as B, toDisplayString as L, createCommentVNode as h, createBlock as C, resolveDynamicComponent as oe, mergeProps as K, withCtx as O, pushScopeId as se, popScopeId as ue, renderSlot as g, unref as j, renderList as G, createStaticVNode as tt, useAttrs as we, ref as w, createVNode as R, getCurrentScope as _t, onScopeDispose as ht, getCurrentInstance as gt, onMounted as Q, nextTick as lt, watch as P, h as bt, reactive as pe, onBeforeUnmount as Se, normalizeStyle as Z, normalizeProps as $e, guardReactiveProps as je, provide as ke, createSlots as at, inject as de, useSlots as Y, onBeforeMount as wt, withModifiers as St } from "vue";
1
+ import { defineComponent as $, computed as V, openBlock as s, createElementBlock as m, normalizeClass as S, createElementVNode as _, Fragment as H, createTextVNode as B, toDisplayString as L, createCommentVNode as h, createBlock as C, resolveDynamicComponent as oe, mergeProps as K, withCtx as O, pushScopeId as se, popScopeId as ue, renderSlot as g, unref as j, renderList as U, createStaticVNode as tt, useAttrs as we, ref as w, createVNode as R, getCurrentScope as _t, onScopeDispose as ht, getCurrentInstance as gt, onMounted as Q, nextTick as lt, watch as P, h as bt, reactive as pe, onBeforeUnmount as Se, normalizeStyle as Z, normalizeProps as $e, guardReactiveProps as je, provide as ke, createSlots as at, inject as de, useSlots as Y, onBeforeMount as wt, withModifiers as St } from "vue";
2
2
  const $t = ["title"], jt = /* @__PURE__ */ $({
3
3
  __name: "VJoyAvailability",
4
4
  props: {
@@ -245,7 +245,7 @@ const D = (e) => (se("data-v-f258a344"), e = e(), ue(), e), qt = { class: "joy-b
245
245
  fill: "#FFC200",
246
246
  d: "M.00241952 6.50818C.00887156 4.89669.639559 3.38347 1.77754 2.24877c.8186-.8155 1.82835-1.366202 2.926-1.608251h.00081c.04516-.009747.09113-.019494.1371-.028429.00565-.001625.0121-.002437.01775-.004061.04032-.008123.08065-.015433.12097-.021931.0113-.001624.02259-.004061.03388-.005686.03548-.005685.07097-.011371.10726-.016245.01613-.002436.03146-.004873.04759-.006498.03064-.004873.0629-.008934.09436-.012995.01935-.002437.03871-.004874.05887-.006498.02823-.003249.05646-.006498.08549-.008935.02178-.002437.04436-.004874.06694-.006498.02581-.002437.05242-.004061.07823-.006498.0242-.001625.0492-.003249.07339-.004874.0242-.001624.0492-.003249.0742-.004061.02581-.001624.05081-.002437.07662-.003249.0242-.000812.04839-.001624.07259-.002437C5.87539.500812 5.9004.500812 5.92621.5h.07419c.0242 0 .0492 0 .0734.000812.0258 0 .05161.000812.07661.001625.0242.000812.04839.001624.07259.002436.02581 0 .05162.001625.07742.002437.02501.000812.0492.002437.0742.004061.0242.001625.0492.003249.07339.004874.02581.001624.05243.004061.07824.006498.02177.001624.04435.004061.06694.006498.02822.002437.05645.005686.08549.008935.01935.002436.03871.004061.05887.006498.03145.004061.06291.008122.09436.012183.01613.002437.03145.004874.04758.00731.03549.004874.07098.01056.10646.017058.01129.001624.02259.003249.03388.004873.04032.00731.08065.014621.12097.021931.00565.000812.0121.002436.01775.003249.04597.009747.09194.018681.1371.029241h.00081c1.09846.242861 2.1082.792751 2.92604 1.608251 1.1379 1.1347 1.7686 2.64792 1.7751 4.25941L12 7.00284l-.0016.41506L6.0004 13.5.00161301 7.4179 0 7.00284l.00241952-.49466Z"
247
247
  })
248
- ], -1)), Ut = /* @__PURE__ */ D(() => /* @__PURE__ */ _("defs", null, [
248
+ ], -1)), Gt = /* @__PURE__ */ D(() => /* @__PURE__ */ _("defs", null, [
249
249
  /* @__PURE__ */ _("clipPath", { id: "a" }, [
250
250
  /* @__PURE__ */ _("path", {
251
251
  fill: "#fff",
@@ -253,9 +253,9 @@ const D = (e) => (se("data-v-f258a344"), e = e(), ue(), e), qt = { class: "joy-b
253
253
  transform: "translate(0 .5)"
254
254
  })
255
255
  ])
256
- ], -1)), Gt = [
256
+ ], -1)), Ut = [
257
257
  Wt,
258
- Ut
258
+ Gt
259
259
  ], Zt = {
260
260
  key: 2,
261
261
  class: "joy-badge-level__high-potential-auto",
@@ -349,14 +349,14 @@ const D = (e) => (se("data-v-f258a344"), e = e(), ue(), e), qt = { class: "joy-b
349
349
  }
350
350
  });
351
351
  return (a, o) => (s(), m("span", qt, [
352
- e.type === j(J).SUPER_MALTER ? (s(!0), m(H, { key: 0 }, G(e.superMalterLevel, (i, r) => (s(), m("svg", {
352
+ e.type === j(J).SUPER_MALTER ? (s(!0), m(H, { key: 0 }, U(e.superMalterLevel, (i, r) => (s(), m("svg", {
353
353
  key: r,
354
354
  class: "joy-badge-level__supermalter",
355
355
  xmlns: "http://www.w3.org/2000/svg",
356
356
  fill: "none",
357
357
  viewBox: "0 0 12 18"
358
358
  }, Ht))), 128)) : h("", !0),
359
- e.type === j(J).HIGH_POTENTIAL ? (s(), m("svg", Dt, Gt)) : h("", !0),
359
+ e.type === j(J).HIGH_POTENTIAL ? (s(), m("svg", Dt, Ut)) : h("", !0),
360
360
  e.type === j(J).HIGH_POTENTIAL_AUTO ? (s(), m("svg", Zt, el)) : h("", !0),
361
361
  e.type === j(J).MALT_LINKER ? (s(), m("svg", tl, al)) : h("", !0),
362
362
  e.type === j(ie).HIGH_POTENTIAL ? (s(), m("svg", ol, rl)) : h("", !0),
@@ -394,8 +394,33 @@ const ul = /* @__PURE__ */ k(sl, [["__scopeId", "data-v-f258a344"]]), dl = ["tea
394
394
  }
395
395
  });
396
396
  const Ve = /* @__PURE__ */ k(cl, [["__scopeId", "data-v-616a29d0"]]), fl = ["primary", "secondary"], yl = ["neutral", "success", "info", "warning", "error"], vl = ["main", "admin", "ghost", "white"], pl = [...fl, ...vl], ml = ["large", "medium", "small", "xsmall", "xxsmall"];
397
- let ot = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((l, t) => (t &= 63, t < 36 ? l += t.toString(36) : t < 62 ? l += (t - 26).toString(36).toUpperCase() : t > 62 ? l += "-" : l += "_", l), "");
398
- const _l = /* @__PURE__ */ $({
397
+ function _l(e) {
398
+ let l;
399
+ switch (e) {
400
+ case "error":
401
+ l = "warning-triangle";
402
+ break;
403
+ case "success":
404
+ l = "check";
405
+ break;
406
+ default:
407
+ l = "info-circle";
408
+ }
409
+ return l;
410
+ }
411
+ function hl(e) {
412
+ if (!e) {
413
+ console.warn("Missing ref element for focusOnFirstFocusableFormField use");
414
+ return;
415
+ }
416
+ let l = ["input", "textarea", "select"];
417
+ const t = (e.value ?? e).querySelectorAll(l.join(","));
418
+ if (t.length)
419
+ return t[0].focus();
420
+ }
421
+ const ot = function(e = 10) {
422
+ return Math.random().toString(36).substring(2, e + 2);
423
+ }, gl = /* @__PURE__ */ $({
399
424
  __name: "VJoyButton",
400
425
  props: {
401
426
  /**
@@ -443,9 +468,9 @@ const _l = /* @__PURE__ */ $({
443
468
  }
444
469
  }
445
470
  },
446
- setup(e) {
447
- const l = e, t = we(), a = "joy-button--" + ot(), o = V(() => {
448
- switch (l.size) {
471
+ setup(e, { expose: l }) {
472
+ const t = e, a = we(), o = "joy-button--" + ot(), i = V(() => {
473
+ switch (t.size) {
449
474
  case "xxsmall":
450
475
  return "xxsmall";
451
476
  case "xsmall":
@@ -455,10 +480,10 @@ const _l = /* @__PURE__ */ $({
455
480
  default:
456
481
  return "small";
457
482
  }
458
- }), i = V(() => ["white", "ghost", "secondary"].includes(l.variant) ? "teal" : "white");
459
- return (r, n) => (s(), C(oe(j(t).href ? "a" : "button"), {
460
- disabled: e.loading || j(t).disabled,
461
- type: j(t).type || "button",
483
+ }), r = V(() => ["white", "ghost", "secondary"].includes(t.variant) ? "teal" : "white");
484
+ return l({ randomId: o }), (n, c) => (s(), C(oe(j(a).href ? "a" : "button"), {
485
+ disabled: e.loading || j(a).disabled,
486
+ type: j(a).type || "button",
462
487
  class: S([
463
488
  "joy-button",
464
489
  `joy-button_${e.variant}`,
@@ -468,25 +493,25 @@ const _l = /* @__PURE__ */ $({
468
493
  "joy-button_loading": e.loading
469
494
  }
470
495
  ]),
471
- "aria-labelledby": (r.$slots.default || e.label) && a
496
+ "aria-labelledby": (n.$slots.default || e.label) && o
472
497
  }, {
473
498
  default: O(() => [
474
499
  e.icon && e.iconPosition === "left" ? (s(), C(E, {
475
500
  key: 0,
476
501
  class: "joy-button_icon joy-button_icon--left",
477
502
  name: e.icon,
478
- size: o.value,
503
+ size: i.value,
479
504
  "aria-hidden": "true"
480
505
  }, null, 8, ["name", "size"])) : h("", !0),
481
506
  e.loading ? (s(), C(Ve, {
482
507
  key: 1,
483
- color: i.value
508
+ color: r.value
484
509
  }, null, 8, ["color"])) : h("", !0),
485
510
  _("span", {
486
- id: a,
511
+ id: o,
487
512
  class: "joy-button--slot"
488
513
  }, [
489
- g(r.$slots, "default", {}, () => [
514
+ g(n.$slots, "default", {}, () => [
490
515
  B(L(e.label), 1)
491
516
  ], !0)
492
517
  ]),
@@ -494,7 +519,7 @@ const _l = /* @__PURE__ */ $({
494
519
  key: 2,
495
520
  class: "joy-button_icon joy-button_icon--right",
496
521
  name: e.icon,
497
- size: o.value,
522
+ size: i.value,
498
523
  "aria-hidden": "true"
499
524
  }, null, 8, ["name", "size"])) : h("", !0)
500
525
  ]),
@@ -502,7 +527,7 @@ const _l = /* @__PURE__ */ $({
502
527
  }, 8, ["disabled", "type", "class", "aria-labelledby"]));
503
528
  }
504
529
  });
505
- const xe = /* @__PURE__ */ k(_l, [["__scopeId", "data-v-41fbf260"]]), hl = ["aria-checked", "aria-hidden"], gl = { class: "joy-checkbox__input-wrapper" }, bl = ["id", "name", "disabled", "checked", "required", "aria-checked", "value", "indeterminate"], wl = { class: "joy-checkbox__content-wrapper" }, Sl = { class: "joy-checkbox__content" }, $l = /* @__PURE__ */ $({
530
+ const xe = /* @__PURE__ */ k(gl, [["__scopeId", "data-v-a1870b08"]]), bl = ["aria-checked", "aria-hidden"], wl = { class: "joy-checkbox__input-wrapper" }, Sl = ["id", "name", "disabled", "checked", "required", "aria-checked", "value", "indeterminate"], $l = { class: "joy-checkbox__content-wrapper" }, jl = { class: "joy-checkbox__content" }, kl = /* @__PURE__ */ $({
506
531
  __name: "VJoyCheckbox",
507
532
  props: {
508
533
  /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
@@ -588,7 +613,7 @@ const xe = /* @__PURE__ */ k(_l, [["__scopeId", "data-v-41fbf260"]]), hl = ["ari
588
613
  }
589
614
  ])
590
615
  }, [
591
- _("div", gl, [
616
+ _("div", wl, [
592
617
  _("input", {
593
618
  id: e.id,
594
619
  ref_key: "input",
@@ -609,21 +634,21 @@ const xe = /* @__PURE__ */ k(_l, [["__scopeId", "data-v-41fbf260"]]), hl = ["ari
609
634
  (...y) => c.onFocus && c.onFocus(...y)),
610
635
  onBlur: d[2] || (d[2] = //@ts-ignore
611
636
  (...y) => c.onBlur && c.onBlur(...y))
612
- }, null, 40, bl)
637
+ }, null, 40, Sl)
613
638
  ]),
614
- _("div", wl, [
639
+ _("div", $l, [
615
640
  g(v.$slots, "default", {}, () => [
616
641
  B(L(e.label), 1)
617
642
  ], !0),
618
- _("div", Sl, [
643
+ _("div", jl, [
619
644
  g(v.$slots, "checkbox-content", {}, void 0, !0)
620
645
  ])
621
646
  ])
622
647
  ], 2)
623
- ], 8, hl));
648
+ ], 8, bl));
624
649
  }
625
650
  });
626
- const Ce = /* @__PURE__ */ k($l, [["__scopeId", "data-v-27cc9d8c"]]), jl = ["src", "alt", "title"], kl = /* @__PURE__ */ $({
651
+ const Ce = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-27cc9d8c"]]), Vl = ["src", "alt", "title"], xl = /* @__PURE__ */ $({
627
652
  __name: "VJoyCompanyAvatar",
628
653
  props: {
629
654
  imgSrc: String,
@@ -655,7 +680,7 @@ const Ce = /* @__PURE__ */ k($l, [["__scopeId", "data-v-27cc9d8c"]]), jl = ["src
655
680
  src: e.imgSrc,
656
681
  alt: e.imgAlt || e.companyName,
657
682
  title: e.companyName
658
- }, null, 8, jl)) : (s(), C(j(E), {
683
+ }, null, 8, Vl)) : (s(), C(j(E), {
659
684
  key: 1,
660
685
  name: "company-placeholder",
661
686
  size: t.value
@@ -663,13 +688,13 @@ const Ce = /* @__PURE__ */ k($l, [["__scopeId", "data-v-27cc9d8c"]]), jl = ["src
663
688
  ], 2));
664
689
  }
665
690
  });
666
- const Vl = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-7ab52b19"]]), xl = { class: "joy-counter" }, Cl = ["aria-label", "disabled"], Ll = { class: "joy-counter__input-wrapper" }, Il = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Bl = ["aria-label", "disabled"], Ol = {
691
+ const Cl = /* @__PURE__ */ k(xl, [["__scopeId", "data-v-7ab52b19"]]), Ll = { class: "joy-counter" }, Il = ["aria-label", "disabled"], Bl = { class: "joy-counter__input-wrapper" }, Ol = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Tl = ["aria-label", "disabled"], Pl = {
667
692
  key: 0,
668
693
  class: "joy-counter_error"
669
- }, Tl = {
694
+ }, Jl = {
670
695
  inheritAttrs: !1
671
- }, Pl = /* @__PURE__ */ $({
672
- ...Tl,
696
+ }, El = /* @__PURE__ */ $({
697
+ ...Jl,
673
698
  __name: "VJoyCounter",
674
699
  props: {
675
700
  /** Removes any interactivity */
@@ -774,7 +799,7 @@ const Vl = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-7ab52b19"]]), xl = { cla
774
799
  };
775
800
  return l({
776
801
  props: a
777
- }), (p, b) => (s(), m("div", xl, [
802
+ }), (p, b) => (s(), m("div", Ll, [
778
803
  e.label ? (s(), C(j(ee), {
779
804
  key: 0,
780
805
  for: e.id,
@@ -800,8 +825,8 @@ const Vl = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-7ab52b19"]]), xl = { cla
800
825
  onClick: r
801
826
  }, [
802
827
  R(j(E), { name: "minus" })
803
- ], 8, Cl),
804
- _("div", Ll, [
828
+ ], 8, Il),
829
+ _("div", Bl, [
805
830
  _("input", K({
806
831
  id: e.id,
807
832
  ref: "input",
@@ -821,7 +846,7 @@ const Vl = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-7ab52b19"]]), xl = { cla
821
846
  (...x) => u.onBlur && u.onBlur(...x)),
822
847
  onFocus: b[2] || (b[2] = //@ts-ignore
823
848
  (...x) => u.onFocus && u.onFocus(...x))
824
- }), null, 16, Il)
849
+ }), null, 16, Ol)
825
850
  ]),
826
851
  _("button", {
827
852
  class: "joy-counter__increment",
@@ -831,15 +856,15 @@ const Vl = /* @__PURE__ */ k(kl, [["__scopeId", "data-v-7ab52b19"]]), xl = { cla
831
856
  onClick: n
832
857
  }, [
833
858
  R(j(E), { name: "add" })
834
- ], 8, Bl),
835
- e.invalid && e.errorMessage ? (s(), m("div", Ol, [
859
+ ], 8, Tl),
860
+ e.invalid && e.errorMessage ? (s(), m("div", Pl, [
836
861
  R(j(ft), { "no-html-error-text": e.errorMessage }, null, 8, ["no-html-error-text"])
837
862
  ])) : h("", !0)
838
863
  ], 2)
839
864
  ]));
840
865
  }
841
866
  });
842
- const Jl = /* @__PURE__ */ k(Pl, [["__scopeId", "data-v-a59ac0ad"]]), El = ["disabled"], zl = { class: "joy-divider-cta--icon" }, Al = { class: "joy-divider-cta--content" }, Fl = { class: "joy-divider-cta--content---title" }, ql = /* @__PURE__ */ $({
867
+ const zl = /* @__PURE__ */ k(El, [["__scopeId", "data-v-a59ac0ad"]]), Al = ["disabled"], Fl = { class: "joy-divider-cta--icon" }, ql = { class: "joy-divider-cta--content" }, Nl = { class: "joy-divider-cta--content---title" }, Ml = /* @__PURE__ */ $({
843
868
  __name: "VJoyDividerCta",
844
869
  props: {
845
870
  disabled: {
@@ -853,19 +878,19 @@ const Jl = /* @__PURE__ */ k(Pl, [["__scopeId", "data-v-a59ac0ad"]]), El = ["dis
853
878
  class: S(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
854
879
  disabled: e.disabled
855
880
  }, [
856
- _("div", zl, [
881
+ _("div", Fl, [
857
882
  R(E, { name: "add" })
858
883
  ]),
859
- _("div", Al, [
860
- _("p", Fl, [
884
+ _("div", ql, [
885
+ _("p", Nl, [
861
886
  g(l.$slots, "default", {}, void 0, !0)
862
887
  ]),
863
888
  g(l.$slots, "divider-content", {}, void 0, !0)
864
889
  ])
865
- ], 10, El));
890
+ ], 10, Al));
866
891
  }
867
892
  });
868
- const Nl = /* @__PURE__ */ k(ql, [["__scopeId", "data-v-a3d693c3"]]);
893
+ const Rl = /* @__PURE__ */ k(Ml, [["__scopeId", "data-v-a3d693c3"]]);
869
894
  var Oe;
870
895
  const le = typeof window < "u", nt = (e) => typeof e == "string", N = () => {
871
896
  }, re = le && ((Oe = window == null ? void 0 : window.navigator) == null ? void 0 : Oe.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -880,7 +905,7 @@ function it(e, l) {
880
905
  }
881
906
  return t;
882
907
  }
883
- function Ml(e, l = {}) {
908
+ function Hl(e, l = {}) {
884
909
  let t, a, o = N;
885
910
  const i = (n) => {
886
911
  clearTimeout(n), o(), o = N;
@@ -896,7 +921,7 @@ function Ml(e, l = {}) {
896
921
  });
897
922
  };
898
923
  }
899
- function Rl(e, l = !0, t = !0, a = !1) {
924
+ function Dl(e, l = !0, t = !0, a = !1) {
900
925
  let o = 0, i, r = !0, n = N, c;
901
926
  const v = () => {
902
927
  i && (clearTimeout(i), i = void 0, n(), n = N);
@@ -915,19 +940,19 @@ const W = {
915
940
  updated: "updated",
916
941
  unmounted: "unmounted"
917
942
  };
918
- function Hl(e) {
943
+ function Wl(e) {
919
944
  return e;
920
945
  }
921
946
  function ae(e) {
922
947
  return _t() ? (ht(e), !0) : !1;
923
948
  }
924
- function Dl(e, l = 200, t = {}) {
925
- return it(Ml(l, t), e);
949
+ function Gl(e, l = 200, t = {}) {
950
+ return it(Hl(l, t), e);
926
951
  }
927
- function Wl(e, l = 200, t = !1, a = !0, o = !1) {
928
- return it(Rl(l, t, a, o), e);
952
+ function Ul(e, l = 200, t = !1, a = !0, o = !1) {
953
+ return it(Dl(l, t, a, o), e);
929
954
  }
930
- function Ul(e) {
955
+ function Zl(e) {
931
956
  return typeof e == "function" ? V(e) : w(e);
932
957
  }
933
958
  function rt(e, l = !0) {
@@ -957,7 +982,7 @@ function ve(...e) {
957
982
  return ae(v), v;
958
983
  }
959
984
  let Te = !1;
960
- function Gl(e, l, t = {}) {
985
+ function Kl(e, l, t = {}) {
961
986
  const { window: a = Le, ignore: o = [], capture: i = !0, detectIframe: r = !1 } = t;
962
987
  if (!a)
963
988
  return;
@@ -993,26 +1018,26 @@ function Gl(e, l, t = {}) {
993
1018
  ].filter(Boolean);
994
1019
  return () => d.forEach((f) => f());
995
1020
  }
996
- function Zl(e, l = !1) {
1021
+ function Ql(e, l = !1) {
997
1022
  const t = w(), a = () => t.value = Boolean(e());
998
1023
  return a(), rt(a, l), t;
999
1024
  }
1000
1025
  const me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, _e = "__vueuse_ssr_handlers__";
1001
1026
  me[_e] = me[_e] || {};
1002
1027
  me[_e];
1003
- var Pe = Object.getOwnPropertySymbols, Kl = Object.prototype.hasOwnProperty, Ql = Object.prototype.propertyIsEnumerable, Yl = (e, l) => {
1028
+ var Pe = Object.getOwnPropertySymbols, Yl = Object.prototype.hasOwnProperty, Xl = Object.prototype.propertyIsEnumerable, ea = (e, l) => {
1004
1029
  var t = {};
1005
1030
  for (var a in e)
1006
- Kl.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1031
+ Yl.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1007
1032
  if (e != null && Pe)
1008
1033
  for (var a of Pe(e))
1009
- l.indexOf(a) < 0 && Ql.call(e, a) && (t[a] = e[a]);
1034
+ l.indexOf(a) < 0 && Xl.call(e, a) && (t[a] = e[a]);
1010
1035
  return t;
1011
1036
  };
1012
- function Xl(e, l, t = {}) {
1013
- const a = t, { window: o = Le } = a, i = Yl(a, ["window"]);
1037
+ function ta(e, l, t = {}) {
1038
+ const a = t, { window: o = Le } = a, i = ea(a, ["window"]);
1014
1039
  let r;
1015
- const n = Zl(() => o && "ResizeObserver" in o), c = () => {
1040
+ const n = Ql(() => o && "ResizeObserver" in o), c = () => {
1016
1041
  r && (r.disconnect(), r = void 0);
1017
1042
  }, v = P(() => te(e), (y) => {
1018
1043
  c(), n.value && o && y && (r = new ResizeObserver(l), r.observe(y, i));
@@ -1028,27 +1053,27 @@ var Je;
1028
1053
  (function(e) {
1029
1054
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
1030
1055
  })(Je || (Je = {}));
1031
- function ea(e) {
1056
+ function la(e) {
1032
1057
  const l = w(e == null ? void 0 : e.element), t = w(e == null ? void 0 : e.input);
1033
1058
  function a() {
1034
1059
  var o, i;
1035
1060
  l.value && (l.value.style.height = "1px", l.value.style.height = `${(o = l.value) == null ? void 0 : o.scrollHeight}px`, (i = e == null ? void 0 : e.onResize) == null || i.call(e));
1036
1061
  }
1037
- return P([t, l], a, { immediate: !0 }), Xl(l, () => a()), e != null && e.watch && P(e.watch, a, { immediate: !0, deep: !0 }), {
1062
+ return P([t, l], a, { immediate: !0 }), ta(l, () => a()), e != null && e.watch && P(e.watch, a, { immediate: !0, deep: !0 }), {
1038
1063
  textarea: l,
1039
1064
  input: t,
1040
1065
  triggerResize: a
1041
1066
  };
1042
1067
  }
1043
- var ta = Object.defineProperty, Ee = Object.getOwnPropertySymbols, la = Object.prototype.hasOwnProperty, aa = Object.prototype.propertyIsEnumerable, ze = (e, l, t) => l in e ? ta(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, oa = (e, l) => {
1068
+ var aa = Object.defineProperty, Ee = Object.getOwnPropertySymbols, oa = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, ze = (e, l, t) => l in e ? aa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, ia = (e, l) => {
1044
1069
  for (var t in l || (l = {}))
1045
- la.call(l, t) && ze(e, t, l[t]);
1070
+ oa.call(l, t) && ze(e, t, l[t]);
1046
1071
  if (Ee)
1047
1072
  for (var t of Ee(l))
1048
- aa.call(l, t) && ze(e, t, l[t]);
1073
+ na.call(l, t) && ze(e, t, l[t]);
1049
1074
  return e;
1050
1075
  };
1051
- const na = {
1076
+ const ra = {
1052
1077
  easeInSine: [0.12, 0, 0.39, 0],
1053
1078
  easeOutSine: [0.61, 1, 0.88, 1],
1054
1079
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1074,16 +1099,16 @@ const na = {
1074
1099
  easeOutBack: [0.34, 1.56, 0.64, 1],
1075
1100
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1076
1101
  };
1077
- oa({
1078
- linear: Hl
1079
- }, na);
1080
- const ia = /* @__PURE__ */ $({
1102
+ ia({
1103
+ linear: Wl
1104
+ }, ra);
1105
+ const sa = /* @__PURE__ */ $({
1081
1106
  name: "OnClickOutside",
1082
1107
  props: ["as", "options"],
1083
1108
  emits: ["trigger"],
1084
1109
  setup(e, { slots: l, emit: t }) {
1085
1110
  const a = w();
1086
- return Gl(a, (o) => {
1111
+ return Kl(a, (o) => {
1087
1112
  t("trigger", o);
1088
1113
  }, e.options), () => {
1089
1114
  if (l.default)
@@ -1149,25 +1174,25 @@ function Fe(e, l, t = {}) {
1149
1174
  return () => d.forEach((f) => f());
1150
1175
  }
1151
1176
  W.mounted + "", W.unmounted + "";
1152
- const ra = (e) => typeof e == "function" ? e : typeof e == "string" ? (l) => l.key === e : Array.isArray(e) ? (l) => e.includes(l.key) : () => !0;
1177
+ const ua = (e) => typeof e == "function" ? e : typeof e == "string" ? (l) => l.key === e : Array.isArray(e) ? (l) => e.includes(l.key) : () => !0;
1153
1178
  function qe(...e) {
1154
1179
  let l, t, a = {};
1155
1180
  e.length === 3 ? (l = e[0], t = e[1], a = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (l = !0, t = e[0], a = e[1]) : (l = e[0], t = e[1]) : (l = !0, t = e[0]);
1156
- const { target: o = X, eventName: i = "keydown", passive: r = !1 } = a, n = ra(l);
1181
+ const { target: o = X, eventName: i = "keydown", passive: r = !1 } = a, n = ua(l);
1157
1182
  return M(o, i, (v) => {
1158
1183
  n(v) && t(v);
1159
1184
  }, r);
1160
1185
  }
1161
- var sa = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ua = Object.prototype.hasOwnProperty, da = Object.prototype.propertyIsEnumerable, Me = (e, l, t) => l in e ? sa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, ca = (e, l) => {
1186
+ var da = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ca = Object.prototype.hasOwnProperty, fa = Object.prototype.propertyIsEnumerable, Me = (e, l, t) => l in e ? da(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, ya = (e, l) => {
1162
1187
  for (var t in l || (l = {}))
1163
- ua.call(l, t) && Me(e, t, l[t]);
1188
+ ca.call(l, t) && Me(e, t, l[t]);
1164
1189
  if (Ne)
1165
1190
  for (var t of Ne(l))
1166
- da.call(l, t) && Me(e, t, l[t]);
1191
+ fa.call(l, t) && Me(e, t, l[t]);
1167
1192
  return e;
1168
1193
  };
1169
1194
  W.mounted + "";
1170
- const fa = 500;
1195
+ const va = 500;
1171
1196
  function Re(e, l, t) {
1172
1197
  var a, o;
1173
1198
  const i = V(() => F(e));
@@ -1177,7 +1202,7 @@ function Re(e, l, t) {
1177
1202
  }
1178
1203
  function c(d) {
1179
1204
  var y, f, u, p;
1180
- (y = t == null ? void 0 : t.modifiers) != null && y.self && d.target !== i.value || (n(), (f = t == null ? void 0 : t.modifiers) != null && f.prevent && d.preventDefault(), (u = t == null ? void 0 : t.modifiers) != null && u.stop && d.stopPropagation(), r = setTimeout(() => l(d), (p = t == null ? void 0 : t.delay) != null ? p : fa));
1205
+ (y = t == null ? void 0 : t.modifiers) != null && y.self && d.target !== i.value || (n(), (f = t == null ? void 0 : t.modifiers) != null && f.prevent && d.preventDefault(), (u = t == null ? void 0 : t.modifiers) != null && u.stop && d.stopPropagation(), r = setTimeout(() => l(d), (p = t == null ? void 0 : t.delay) != null ? p : va));
1181
1206
  }
1182
1207
  const v = {
1183
1208
  capture: (a = t == null ? void 0 : t.modifiers) == null ? void 0 : a.capture,
@@ -1193,7 +1218,7 @@ function st(e, l = !1) {
1193
1218
  const t = w(), a = () => t.value = Boolean(e());
1194
1219
  return a(), rt(a, l), t;
1195
1220
  }
1196
- function ya(e, l = {}) {
1221
+ function pa(e, l = {}) {
1197
1222
  const t = l ? l.delayEnter : 0, a = l ? l.delayLeave : 0, o = w(!1);
1198
1223
  let i;
1199
1224
  const r = (n) => {
@@ -1203,17 +1228,17 @@ function ya(e, l = {}) {
1203
1228
  return window && (M(e, "mouseenter", () => r(!0), { passive: !0 }), M(e, "mouseleave", () => r(!1), { passive: !0 })), o;
1204
1229
  }
1205
1230
  W.mounted + "";
1206
- var He = Object.getOwnPropertySymbols, va = Object.prototype.hasOwnProperty, pa = Object.prototype.propertyIsEnumerable, ma = (e, l) => {
1231
+ var He = Object.getOwnPropertySymbols, ma = Object.prototype.hasOwnProperty, _a = Object.prototype.propertyIsEnumerable, ha = (e, l) => {
1207
1232
  var t = {};
1208
1233
  for (var a in e)
1209
- va.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1234
+ ma.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1210
1235
  if (e != null && He)
1211
1236
  for (var a of He(e))
1212
- l.indexOf(a) < 0 && pa.call(e, a) && (t[a] = e[a]);
1237
+ l.indexOf(a) < 0 && _a.call(e, a) && (t[a] = e[a]);
1213
1238
  return t;
1214
1239
  };
1215
- function _a(e, l, t = {}) {
1216
- const a = t, { window: o = X } = a, i = ma(a, ["window"]);
1240
+ function ga(e, l, t = {}) {
1241
+ const a = t, { window: o = X } = a, i = ha(a, ["window"]);
1217
1242
  let r;
1218
1243
  const n = st(() => o && "ResizeObserver" in o), c = () => {
1219
1244
  r && (r.disconnect(), r = void 0);
@@ -1227,12 +1252,12 @@ function _a(e, l, t = {}) {
1227
1252
  stop: d
1228
1253
  };
1229
1254
  }
1230
- function ha(e, l = { width: 0, height: 0 }, t = {}) {
1255
+ function ba(e, l = { width: 0, height: 0 }, t = {}) {
1231
1256
  const { window: a = X, box: o = "content-box" } = t, i = V(() => {
1232
1257
  var c, v;
1233
1258
  return (v = (c = F(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : v.includes("svg");
1234
1259
  }), r = w(l.width), n = w(l.height);
1235
- return _a(e, ([c]) => {
1260
+ return ga(e, ([c]) => {
1236
1261
  const v = o === "border-box" ? c.borderBoxSize : o === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
1237
1262
  if (a && i.value) {
1238
1263
  const d = F(e);
@@ -1305,10 +1330,10 @@ function be(e, l = {}) {
1305
1330
  }
1306
1331
  });
1307
1332
  function u(z, I) {
1308
- var U, q, Be;
1333
+ var G, q, Be;
1309
1334
  const ye = A(e);
1310
1335
  ye && ((Be = ye instanceof Document ? document.body : ye) == null || Be.scrollTo({
1311
- top: (U = A(I)) != null ? U : f.value,
1336
+ top: (G = A(I)) != null ? G : f.value,
1312
1337
  left: (q = A(z)) != null ? q : y.value,
1313
1338
  behavior: A(c)
1314
1339
  }));
@@ -1325,13 +1350,13 @@ function be(e, l = {}) {
1325
1350
  bottom: !1
1326
1351
  }), T = (z) => {
1327
1352
  p.value && (p.value = !1, x.left = !1, x.right = !1, x.top = !1, x.bottom = !1, o(z));
1328
- }, fe = Dl(T, t + a), ne = (z) => {
1329
- const I = z.target === document ? z.target.documentElement : z.target, U = I.scrollLeft;
1330
- x.left = U < v.value, x.right = U > d.value, b.left = U <= 0 + (r.left || 0), b.right = U + I.clientWidth >= I.scrollWidth - (r.right || 0) - We, v.value = U;
1353
+ }, fe = Gl(T, t + a), ne = (z) => {
1354
+ const I = z.target === document ? z.target.documentElement : z.target, G = I.scrollLeft;
1355
+ x.left = G < v.value, x.right = G > d.value, b.left = G <= 0 + (r.left || 0), b.right = G + I.clientWidth >= I.scrollWidth - (r.right || 0) - We, v.value = G;
1331
1356
  let q = I.scrollTop;
1332
1357
  z.target === document && !q && (q = document.body.scrollTop), x.top = q < d.value, x.bottom = q > d.value, b.top = q <= 0 + (r.top || 0), b.bottom = q + I.clientHeight >= I.scrollHeight - (r.bottom || 0) - We, d.value = q, p.value = !0, fe(z), i(z);
1333
1358
  };
1334
- return M(e, "scroll", t ? Wl(ne, t, !0, !1) : ne, n), M(e, "scrollend", T, n), {
1359
+ return M(e, "scroll", t ? Ul(ne, t, !0, !1) : ne, n), M(e, "scrollend", T, n), {
1335
1360
  x: y,
1336
1361
  y: f,
1337
1362
  isScrolling: p,
@@ -1339,17 +1364,17 @@ function be(e, l = {}) {
1339
1364
  directions: x
1340
1365
  };
1341
1366
  }
1342
- var ga = Object.defineProperty, ba = Object.defineProperties, wa = Object.getOwnPropertyDescriptors, Ue = Object.getOwnPropertySymbols, Sa = Object.prototype.hasOwnProperty, $a = Object.prototype.propertyIsEnumerable, Ge = (e, l, t) => l in e ? ga(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ze = (e, l) => {
1367
+ var wa = Object.defineProperty, Sa = Object.defineProperties, $a = Object.getOwnPropertyDescriptors, Ge = Object.getOwnPropertySymbols, ja = Object.prototype.hasOwnProperty, ka = Object.prototype.propertyIsEnumerable, Ue = (e, l, t) => l in e ? wa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ze = (e, l) => {
1343
1368
  for (var t in l || (l = {}))
1344
- Sa.call(l, t) && Ge(e, t, l[t]);
1345
- if (Ue)
1346
- for (var t of Ue(l))
1347
- $a.call(l, t) && Ge(e, t, l[t]);
1369
+ ja.call(l, t) && Ue(e, t, l[t]);
1370
+ if (Ge)
1371
+ for (var t of Ge(l))
1372
+ ka.call(l, t) && Ue(e, t, l[t]);
1348
1373
  return e;
1349
- }, ja = (e, l) => ba(e, wa(l));
1374
+ }, Va = (e, l) => Sa(e, $a(l));
1350
1375
  function Ke(e, l, t = {}) {
1351
1376
  var a, o;
1352
- const i = (a = t.direction) != null ? a : "bottom", r = pe(be(e, ja(Ze({}, t), {
1377
+ const i = (a = t.direction) != null ? a : "bottom", r = pe(be(e, Va(Ze({}, t), {
1353
1378
  offset: Ze({
1354
1379
  [i]: (o = t.distance) != null ? o : 0
1355
1380
  }, t.offset)
@@ -1402,14 +1427,14 @@ function Qe(e, l, t = {}) {
1402
1427
  };
1403
1428
  }
1404
1429
  W.mounted + "";
1405
- var ka = Object.defineProperty, Va = Object.defineProperties, xa = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Ca = Object.prototype.hasOwnProperty, La = Object.prototype.propertyIsEnumerable, Xe = (e, l, t) => l in e ? ka(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ia = (e, l) => {
1430
+ var xa = Object.defineProperty, Ca = Object.defineProperties, La = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Ia = Object.prototype.hasOwnProperty, Ba = Object.prototype.propertyIsEnumerable, Xe = (e, l, t) => l in e ? xa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Oa = (e, l) => {
1406
1431
  for (var t in l || (l = {}))
1407
- Ca.call(l, t) && Xe(e, t, l[t]);
1432
+ Ia.call(l, t) && Xe(e, t, l[t]);
1408
1433
  if (Ye)
1409
1434
  for (var t of Ye(l))
1410
- La.call(l, t) && Xe(e, t, l[t]);
1435
+ Ba.call(l, t) && Xe(e, t, l[t]);
1411
1436
  return e;
1412
- }, Ba = (e, l) => Va(e, xa(l));
1437
+ }, Ta = (e, l) => Ca(e, La(l));
1413
1438
  W.mounted + "";
1414
1439
  function ut(e) {
1415
1440
  const l = window.getComputedStyle(e);
@@ -1420,14 +1445,14 @@ function ut(e) {
1420
1445
  return !t || t.tagName === "BODY" ? !1 : ut(t);
1421
1446
  }
1422
1447
  }
1423
- function Oa(e) {
1448
+ function Pa(e) {
1424
1449
  const l = e || window.event, t = l.target;
1425
1450
  return ut(t) ? !1 : l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
1426
1451
  }
1427
- function Ta(e, l = !1) {
1452
+ function Ja(e, l = !1) {
1428
1453
  const t = w(l);
1429
1454
  let a = null, o;
1430
- P(Ul(e), (n) => {
1455
+ P(Zl(e), (n) => {
1431
1456
  if (n) {
1432
1457
  const c = n;
1433
1458
  o = c.style.overflow, t.value && (c.style.overflow = "hidden");
@@ -1438,7 +1463,7 @@ function Ta(e, l = !1) {
1438
1463
  const i = () => {
1439
1464
  const n = A(e);
1440
1465
  !n || t.value || (re && (a = M(n, "touchmove", (c) => {
1441
- Oa(c);
1466
+ Pa(c);
1442
1467
  }, { passive: !1 })), n.style.overflow = "hidden", t.value = !0);
1443
1468
  }, r = () => {
1444
1469
  const n = A(e);
@@ -1453,25 +1478,25 @@ function Ta(e, l = !1) {
1453
1478
  }
1454
1479
  });
1455
1480
  }
1456
- const Pa = () => {
1481
+ const Ea = () => {
1457
1482
  let e = !1;
1458
1483
  const l = w(!1);
1459
1484
  return (t, a) => {
1460
1485
  if (l.value = a.value, e)
1461
1486
  return;
1462
1487
  e = !0;
1463
- const o = Ta(t, a.value);
1488
+ const o = Ja(t, a.value);
1464
1489
  P(l, (i) => o.value = i);
1465
1490
  };
1466
1491
  };
1467
- Pa();
1468
- const dt = ["medium", "small", "xsmall"], Ja = {
1492
+ Ea();
1493
+ const dt = ["medium", "small", "xsmall"], za = {
1469
1494
  key: 0,
1470
1495
  class: "joy-dropdown-list__header"
1471
- }, Ea = ["aria-label", "aria-labelledby"], za = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Aa = {
1496
+ }, Aa = ["aria-label", "aria-labelledby"], Fa = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], qa = {
1472
1497
  key: 1,
1473
1498
  class: "joy-dropdown-list__footer"
1474
- }, Fa = /* @__PURE__ */ $({
1499
+ }, Na = /* @__PURE__ */ $({
1475
1500
  __name: "VJoyDropdownList",
1476
1501
  props: {
1477
1502
  /**
@@ -1575,7 +1600,7 @@ const dt = ["medium", "small", "xsmall"], Ja = {
1575
1600
  class: "joy-dropdown-list",
1576
1601
  style: Z({ width: `${e.width}px`, "max-width": `${e.width}px` })
1577
1602
  }, [
1578
- u.$slots["dropdown-list-header"] || e.reset ? (s(), m("header", Ja, [
1603
+ u.$slots["dropdown-list-header"] || e.reset ? (s(), m("header", za, [
1579
1604
  e.reset ? (s(), m("button", {
1580
1605
  key: 0,
1581
1606
  type: "button",
@@ -1599,7 +1624,7 @@ const dt = ["medium", "small", "xsmall"], Ja = {
1599
1624
  "aria-label": e.ariaLabel,
1600
1625
  "aria-labelledby": e.ariaLabelledBy
1601
1626
  }, [
1602
- (s(!0), m(H, null, G(e.options, (b) => (s(), m("li", {
1627
+ (s(!0), m(H, null, U(e.options, (b) => (s(), m("li", {
1603
1628
  id: b.id,
1604
1629
  key: b.label,
1605
1630
  style: Z({ "max-width": `${e.width}px` }),
@@ -1623,17 +1648,17 @@ const dt = ["medium", "small", "xsmall"], Ja = {
1623
1648
  g(u.$slots, "label", $e(je(b)), () => [
1624
1649
  _("span", null, L(b.label), 1)
1625
1650
  ], !0)
1626
- ], 14, za))), 128))
1627
- ], 8, Ea)) : h("", !0)
1651
+ ], 14, Fa))), 128))
1652
+ ], 8, Aa)) : h("", !0)
1628
1653
  ], 6),
1629
- u.$slots["dropdown-list-footer"] ? (s(), m("footer", Aa, [
1654
+ u.$slots["dropdown-list-footer"] ? (s(), m("footer", qa, [
1630
1655
  g(u.$slots, "dropdown-list-footer", {}, void 0, !0)
1631
1656
  ])) : h("", !0)
1632
1657
  ], 4));
1633
1658
  }
1634
1659
  });
1635
- const ct = /* @__PURE__ */ k(Fa, [["__scopeId", "data-v-f46e79bc"]]);
1636
- function qa(e) {
1660
+ const ct = /* @__PURE__ */ k(Na, [["__scopeId", "data-v-f46e79bc"]]);
1661
+ function Ma(e) {
1637
1662
  const l = () => e();
1638
1663
  Q(() => {
1639
1664
  window.addEventListener("resize", l);
@@ -1641,30 +1666,6 @@ function qa(e) {
1641
1666
  window.removeEventListener("resize", l);
1642
1667
  });
1643
1668
  }
1644
- function Na(e) {
1645
- let l;
1646
- switch (e) {
1647
- case "error":
1648
- l = "warning-triangle";
1649
- break;
1650
- case "success":
1651
- l = "check";
1652
- break;
1653
- default:
1654
- l = "info-circle";
1655
- }
1656
- return l;
1657
- }
1658
- function Ma(e) {
1659
- if (!e) {
1660
- console.warn("Missing ref element for focusOnFirstFocusableFormField use");
1661
- return;
1662
- }
1663
- let l = ["input", "textarea", "select"];
1664
- const t = (e.value ?? e).querySelectorAll(l.join(","));
1665
- if (t.length)
1666
- return t[0].focus();
1667
- }
1668
1669
  const Ra = /* @__PURE__ */ $({
1669
1670
  __name: "VJoyDropdown",
1670
1671
  props: {
@@ -1768,7 +1769,7 @@ const Ra = /* @__PURE__ */ $({
1768
1769
  P(
1769
1770
  () => o.value,
1770
1771
  (I) => {
1771
- I && Ma(n);
1772
+ I && hl(n);
1772
1773
  },
1773
1774
  { flush: "post" }
1774
1775
  );
@@ -1801,12 +1802,12 @@ const Ra = /* @__PURE__ */ $({
1801
1802
  function z() {
1802
1803
  !r.value || !r.value.children.length || (r.value.children[0].id = d);
1803
1804
  }
1804
- return qa(p), Q(() => {
1805
+ return Ma(p), Q(() => {
1805
1806
  z();
1806
1807
  }), l({
1807
1808
  showDropdownList: o,
1808
1809
  generatedId: d
1809
- }), (I, U) => (s(), C(j(ia), {
1810
+ }), (I, G) => (s(), C(j(sa), {
1810
1811
  ref_key: "dropdown",
1811
1812
  ref: i,
1812
1813
  options: y,
@@ -1886,7 +1887,7 @@ const Ra = /* @__PURE__ */ $({
1886
1887
  }, 512));
1887
1888
  }
1888
1889
  });
1889
- const Ha = /* @__PURE__ */ k(Ra, [["__scopeId", "data-v-887e17ba"]]), Da = ["aria-label"], Wa = { class: "joy-filter-bar__wrapper" }, Ua = /* @__PURE__ */ $({
1890
+ const Ha = /* @__PURE__ */ k(Ra, [["__scopeId", "data-v-df017105"]]), Da = ["aria-label"], Wa = { class: "joy-filter-bar__wrapper" }, Ga = /* @__PURE__ */ $({
1890
1891
  __name: "VJoyFilterBar",
1891
1892
  props: {
1892
1893
  ariaLabel: String
@@ -1903,7 +1904,7 @@ const Ha = /* @__PURE__ */ k(Ra, [["__scopeId", "data-v-887e17ba"]]), Da = ["ari
1903
1904
  ], 8, Da));
1904
1905
  }
1905
1906
  });
1906
- const Ga = /* @__PURE__ */ k(Ua, [["__scopeId", "data-v-114f8274"]]), Za = /* @__PURE__ */ $({
1907
+ const Ua = /* @__PURE__ */ k(Ga, [["__scopeId", "data-v-114f8274"]]), Za = /* @__PURE__ */ $({
1907
1908
  __name: "VJoyFilterBarButton",
1908
1909
  props: {
1909
1910
  label: String,
@@ -2030,7 +2031,7 @@ const eo = /* @__PURE__ */ k(Xa, [["__scopeId", "data-v-8a4ecbad"]]), to = [...y
2030
2031
  }
2031
2032
  },
2032
2033
  setup(e, { expose: l }) {
2033
- const t = e, a = V(() => t.icon ? t.icon : Na(t.level));
2034
+ const t = e, a = V(() => t.icon ? t.icon : _l(t.level));
2034
2035
  return l({
2035
2036
  getRelevantIcon: a
2036
2037
  }), (o, i) => (s(), m("div", {
@@ -2104,6 +2105,9 @@ const ee = /* @__PURE__ */ k(uo, [["__scopeId", "data-v-1265214a"]]), co = ["lar
2104
2105
  inheritAttrs: !1,
2105
2106
  __name: "VJoyInput",
2106
2107
  props: {
2108
+ modelValue: {
2109
+ type: [String, Number]
2110
+ },
2107
2111
  disabled: {
2108
2112
  type: Boolean,
2109
2113
  default: !1
@@ -2137,9 +2141,6 @@ const ee = /* @__PURE__ */ k(uo, [["__scopeId", "data-v-1265214a"]]), co = ["lar
2137
2141
  type: Boolean,
2138
2142
  default: !1
2139
2143
  },
2140
- modelValue: {
2141
- type: [String, Number]
2142
- },
2143
2144
  modelModifiers: {
2144
2145
  default: () => ({
2145
2146
  lazy: !1
@@ -2284,7 +2285,7 @@ const ee = /* @__PURE__ */ k(uo, [["__scopeId", "data-v-1265214a"]]), co = ["lar
2284
2285
  ], 2));
2285
2286
  }
2286
2287
  });
2287
- const po = /* @__PURE__ */ k(vo, [["__scopeId", "data-v-534f3025"]]), mo = ["teal", "white"], _o = ["href"], ho = /* @__PURE__ */ $({
2288
+ const po = /* @__PURE__ */ k(vo, [["__scopeId", "data-v-9f3d7271"]]), mo = ["teal", "white"], _o = ["href"], ho = /* @__PURE__ */ $({
2288
2289
  __name: "VJoyLink",
2289
2290
  props: {
2290
2291
  href: {
@@ -2377,7 +2378,7 @@ const go = /* @__PURE__ */ k(ho, [["__scopeId", "data-v-76f0342e"]]), bo = ["id"
2377
2378
  _: 1
2378
2379
  }, 8, ["required", "optional-label", "size"])) : h("", !0),
2379
2380
  _("div", wo, [
2380
- (s(!0), m(H, null, G(e.options, (n) => (s(), C(j(Ce), {
2381
+ (s(!0), m(H, null, U(e.options, (n) => (s(), C(j(Ce), {
2381
2382
  id: n.id,
2382
2383
  key: n.id,
2383
2384
  name: n.name,
@@ -2494,7 +2495,7 @@ const $o = /* @__PURE__ */ k(So, [["__scopeId", "data-v-47574ced"]]), et = /* @_
2494
2495
  ]),
2495
2496
  _("li", null, [
2496
2497
  _("ul", null, [
2497
- (s(!0), m(H, null, G(i.value, (y) => (s(), m("li", { key: y }, [
2498
+ (s(!0), m(H, null, U(i.value, (y) => (s(), m("li", { key: y }, [
2498
2499
  _("button", {
2499
2500
  type: "button",
2500
2501
  "aria-current": y === e.currentPage ? "true" : "false",
@@ -2677,7 +2678,7 @@ const Ho = /* @__PURE__ */ k(Ro, [["__scopeId", "data-v-d88510ab"]]), Do = { cla
2677
2678
  ]));
2678
2679
  }
2679
2680
  });
2680
- const Uo = /* @__PURE__ */ k(Wo, [["__scopeId", "data-v-a28eae43"]]), Go = ["id", "value", "checked", "disabled", "required", "name"], Zo = { class: "joy-radio-label" }, Ko = { class: "joy-radio-content__wrapper" }, Qo = { class: "joy-radio-content" }, Yo = /* @__PURE__ */ $({
2681
+ const Go = /* @__PURE__ */ k(Wo, [["__scopeId", "data-v-a28eae43"]]), Uo = ["id", "value", "checked", "disabled", "required", "name"], Zo = { class: "joy-radio-label" }, Ko = { class: "joy-radio-content__wrapper" }, Qo = { class: "joy-radio-content" }, Yo = /* @__PURE__ */ $({
2681
2682
  __name: "VJoyRadio",
2682
2683
  props: {
2683
2684
  disabled: {
@@ -2763,7 +2764,7 @@ const Uo = /* @__PURE__ */ k(Wo, [["__scopeId", "data-v-a28eae43"]]), Go = ["id"
2763
2764
  onChange: y,
2764
2765
  onFocus: f,
2765
2766
  onBlur: u
2766
- }, null, 40, Go),
2767
+ }, null, 40, Uo),
2767
2768
  _("span", Zo, [
2768
2769
  g(p.$slots, "default", {}, void 0, !0)
2769
2770
  ]),
@@ -2886,7 +2887,7 @@ const ln = /* @__PURE__ */ k(tn, [["__scopeId", "data-v-a77e7f95"]]), ce = (e) =
2886
2887
  ariaLabel: j(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
2887
2888
  }, [
2888
2889
  _("ul", on, [
2889
- (s(!0), m(H, null, G(i.value, (c, v) => (s(), m("li", { key: v }, [
2890
+ (s(!0), m(H, null, U(i.value, (c, v) => (s(), m("li", { key: v }, [
2890
2891
  c === "full" ? (s(), m("svg", {
2891
2892
  key: 0,
2892
2893
  "aria-hidden": "true",
@@ -3067,7 +3068,7 @@ const Ie = /* @__PURE__ */ k(Sn, [["__scopeId", "data-v-5c4f6d7f"]]), $n = ["id"
3067
3068
  required: e.required,
3068
3069
  disabled: e.disabled,
3069
3070
  value: e.modelValue,
3070
- onInput: c,
3071
+ onChange: c,
3071
3072
  onFocus: v,
3072
3073
  onBlur: d
3073
3074
  }, [
@@ -3081,7 +3082,7 @@ const Ie = /* @__PURE__ */ k(Sn, [["__scopeId", "data-v-5c4f6d7f"]]), $n = ["id"
3081
3082
  ], 512));
3082
3083
  }
3083
3084
  });
3084
- const kn = /* @__PURE__ */ k(jn, [["__scopeId", "data-v-26bd5a41"]]), Vn = ["aria-disabled"], xn = ["id", "value", "checked", "disabled", "required", "name"], Cn = /* @__PURE__ */ $({
3085
+ const kn = /* @__PURE__ */ k(jn, [["__scopeId", "data-v-3e9d2dae"]]), Vn = ["aria-disabled"], xn = ["id", "value", "checked", "disabled", "required", "name"], Cn = /* @__PURE__ */ $({
3085
3086
  __name: "VJoySelectableItem",
3086
3087
  props: {
3087
3088
  disabled: {
@@ -3291,7 +3292,7 @@ const yt = /* @__PURE__ */ k(Cn, [["__scopeId", "data-v-cb2531c0"]]), Ln = ["id"
3291
3292
  }
3292
3293
  ])
3293
3294
  }, [
3294
- (s(!0), m(H, null, G(e.options, (n) => (s(), C(j(yt), {
3295
+ (s(!0), m(H, null, U(e.options, (n) => (s(), C(j(yt), {
3295
3296
  id: n.id,
3296
3297
  key: n.id,
3297
3298
  name: n.name,
@@ -3522,7 +3523,7 @@ const Fn = /* @__PURE__ */ k(An, [["__scopeId", "data-v-b1e62ec8"]]), qn = { cla
3522
3523
  class: "joy-tabs-buttons",
3523
3524
  role: "tablist"
3524
3525
  }, [
3525
- (s(!0), m(H, null, G(v.value, (x) => (s(), m("div", {
3526
+ (s(!0), m(H, null, U(v.value, (x) => (s(), m("div", {
3526
3527
  key: x.props.tab
3527
3528
  }, [
3528
3529
  R(Fn, {
@@ -3591,7 +3592,7 @@ const Mn = /* @__PURE__ */ k(Nn, [["__scopeId", "data-v-e3dffafe"]]), Rn = ["id"
3591
3592
  ], 10, Rn));
3592
3593
  }
3593
3594
  });
3594
- const Dn = /* @__PURE__ */ k(Hn, [["__scopeId", "data-v-47a75127"]]), Wn = ["role"], Un = /* @__PURE__ */ $({
3595
+ const Dn = /* @__PURE__ */ k(Hn, [["__scopeId", "data-v-47a75127"]]), Wn = ["role"], Gn = /* @__PURE__ */ $({
3595
3596
  __name: "VJoyTag",
3596
3597
  props: {
3597
3598
  /** Text injected within the tag */
@@ -3666,7 +3667,7 @@ const Dn = /* @__PURE__ */ k(Hn, [["__scopeId", "data-v-47a75127"]]), Wn = ["rol
3666
3667
  ], 10, Wn));
3667
3668
  }
3668
3669
  });
3669
- const vt = /* @__PURE__ */ k(Un, [["__scopeId", "data-v-01b9f7cc"]]), Gn = /* @__PURE__ */ $({
3670
+ const vt = /* @__PURE__ */ k(Gn, [["__scopeId", "data-v-01b9f7cc"]]), Un = /* @__PURE__ */ $({
3670
3671
  __name: "VJoyTagsList",
3671
3672
  props: {
3672
3673
  align: {
@@ -3706,7 +3707,7 @@ const vt = /* @__PURE__ */ k(Un, [["__scopeId", "data-v-01b9f7cc"]]), Gn = /* @_
3706
3707
  return (r, n) => (s(), m("div", {
3707
3708
  class: S(["joy-tags-list", `joy-tags-list--${e.align}`])
3708
3709
  }, [
3709
- (s(!0), m(H, null, G(e.tags, (c) => (s(), C(j(vt), K({
3710
+ (s(!0), m(H, null, U(e.tags, (c) => (s(), C(j(vt), K({
3710
3711
  key: c.value,
3711
3712
  selectable: !!e.modelValue && !e.removable
3712
3713
  }, c, {
@@ -3718,7 +3719,7 @@ const vt = /* @__PURE__ */ k(Un, [["__scopeId", "data-v-01b9f7cc"]]), Gn = /* @_
3718
3719
  ], 2));
3719
3720
  }
3720
3721
  });
3721
- const Zn = /* @__PURE__ */ k(Gn, [["__scopeId", "data-v-510c6367"]]);
3722
+ const Zn = /* @__PURE__ */ k(Un, [["__scopeId", "data-v-510c6367"]]);
3722
3723
  const Kn = {}, Qn = {
3723
3724
  class: /* @__PURE__ */ S(["joy-template-shape__shapes"])
3724
3725
  }, Yn = /* @__PURE__ */ tt('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), Xn = [
@@ -3878,7 +3879,7 @@ const ci = /* @__PURE__ */ k(di, [["__scopeId", "data-v-750153b6"]]), fi = ["ari
3878
3879
  },
3879
3880
  emits: ["update:modelValue"],
3880
3881
  setup(e, { expose: l, emit: t }) {
3881
- const a = e, o = w(), { triggerResize: i } = ea({
3882
+ const a = e, o = w(), { triggerResize: i } = la({
3882
3883
  element: a.autogrow ? o : void 0
3883
3884
  }), r = w(!1), n = w(!1), c = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), v = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), d = {
3884
3885
  onInput: (y) => {
@@ -4075,12 +4076,12 @@ const Vi = /* @__PURE__ */ k(ki, [["__scopeId", "data-v-cf79d999"]]), xi = /* @_
4075
4076
  VJoyBadgeLevel: ul,
4076
4077
  VJoyButton: xe,
4077
4078
  VJoyCheckbox: Ce,
4078
- VJoyCompanyAvatar: Vl,
4079
- VJoyCounter: Jl,
4080
- VJoyDividerCta: Nl,
4079
+ VJoyCompanyAvatar: Cl,
4080
+ VJoyCounter: zl,
4081
+ VJoyDividerCta: Rl,
4081
4082
  VJoyDropdown: Ha,
4082
4083
  VJoyDropdownList: ct,
4083
- VJoyFilterBar: Ga,
4084
+ VJoyFilterBar: Ua,
4084
4085
  VJoyFilterBarButton: Ka,
4085
4086
  VJoyFormError: ft,
4086
4087
  VJoyFormFieldSkeleton: eo,
@@ -4093,7 +4094,7 @@ const Vi = /* @__PURE__ */ k(ki, [["__scopeId", "data-v-cf79d999"]]), xi = /* @_
4093
4094
  VJoyPagination: Io,
4094
4095
  VJoyPanel: Fo,
4095
4096
  VJoyPanelSection: Ho,
4096
- VJoyProgressBar: Uo,
4097
+ VJoyProgressBar: Go,
4097
4098
  VJoyRadio: Xo,
4098
4099
  VJoyRadioGroup: ln,
4099
4100
  VJoyRatingStars: gn,
@@ -4128,12 +4129,12 @@ export {
4128
4129
  ul as VJoyBadgeLevel,
4129
4130
  xe as VJoyButton,
4130
4131
  Ce as VJoyCheckbox,
4131
- Vl as VJoyCompanyAvatar,
4132
- Jl as VJoyCounter,
4133
- Nl as VJoyDividerCta,
4132
+ Cl as VJoyCompanyAvatar,
4133
+ zl as VJoyCounter,
4134
+ Rl as VJoyDividerCta,
4134
4135
  Ha as VJoyDropdown,
4135
4136
  ct as VJoyDropdownList,
4136
- Ga as VJoyFilterBar,
4137
+ Ua as VJoyFilterBar,
4137
4138
  Ka as VJoyFilterBarButton,
4138
4139
  ft as VJoyFormError,
4139
4140
  eo as VJoyFormFieldSkeleton,
@@ -4146,7 +4147,7 @@ export {
4146
4147
  Io as VJoyPagination,
4147
4148
  Fo as VJoyPanel,
4148
4149
  Ho as VJoyPanelSection,
4149
- Uo as VJoyProgressBar,
4150
+ Go as VJoyProgressBar,
4150
4151
  Xo as VJoyRadio,
4151
4152
  ln as VJoyRadioGroup,
4152
4153
  gn as VJoyRatingStars,