@maltjoy/core-vue 5.22.1 → 5.22.2-next

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/core-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, computed as V, openBlock as c, createElementBlock as v, normalizeClass as I, createElementVNode as h, ref as S, onMounted as oe, onUnmounted as Ot, createVNode as D, toDisplayString as J, createCommentVNode as k, createApp as $o, createTextVNode as R, Fragment as H, useSlots as Y, inject as de, unref as F, createBlock as T, resolveDynamicComponent as Q, mergeProps as q, withCtx as z, renderSlot as w, provide as ne, renderList as K, normalizeStyle as te, useAttrs as le, useId as De, resolveDirective as dt, withDirectives as Xe, getCurrentScope as Dt, onScopeDispose as Rt, toRef as Co, readonly as So, customRef as xo, shallowRef as Nt, watch as W, nextTick as Fe, getCurrentInstance as Vo, h as To, Teleport as Te, shallowReadonly as Ie, onBeforeUnmount as Je, withKeys as Re, normalizeProps as qt, Transition as ft, createSlots as yt, guardReactiveProps as Io, useModel as Lo, mergeModels as Bo, createStaticVNode as Ht, createPropsRestProxy as Ao, vShow as Eo, render as Ct, withModifiers as zo } from "vue";
1
+ import { defineComponent as B, computed as V, openBlock as c, createElementBlock as v, normalizeClass as I, createElementVNode as h, ref as S, onMounted as oe, onUnmounted as Ot, createVNode as D, toDisplayString as J, createCommentVNode as k, createApp as $o, createTextVNode as R, Fragment as H, useSlots as Y, inject as de, unref as F, createBlock as T, resolveDynamicComponent as X, mergeProps as q, withCtx as z, renderSlot as w, provide as ne, renderList as K, normalizeStyle as te, useAttrs as le, useId as De, resolveDirective as dt, withDirectives as Xe, getCurrentScope as Dt, onScopeDispose as Rt, toRef as Co, readonly as So, customRef as xo, shallowRef as Nt, watch as W, nextTick as Fe, getCurrentInstance as Vo, h as To, Teleport as Te, shallowReadonly as Ie, onBeforeUnmount as Je, withKeys as Re, normalizeProps as qt, Transition as ft, createSlots as yt, guardReactiveProps as Io, useModel as Lo, mergeModels as Bo, createStaticVNode as Ht, createPropsRestProxy as Ao, vShow as Eo, render as Ct, withModifiers as zo } from "vue";
2
2
  function St(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -309,7 +309,7 @@ const Xo = {
309
309
  typeof window < "u" && Yt(), e.directive("joy-ripple", Wt);
310
310
  }
311
311
  };
312
- function pu() {
312
+ function mu() {
313
313
  Ue = 0, Kt = [];
314
314
  }
315
315
  function Yt(e = { appendTo: "body", defaultMountSelector: Gt }) {
@@ -330,7 +330,7 @@ function Yt(e = { appendTo: "body", defaultMountSelector: Gt }) {
330
330
  }
331
331
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (o = document.body.querySelector(e.appendTo)) == null || o.appendChild(t));
332
332
  }
333
- function vu(e) {
333
+ function pu(e) {
334
334
  var a, r;
335
335
  Ue++;
336
336
  let t, n;
@@ -364,7 +364,7 @@ const Qo = { class: "joy-admin-banner" }, en = { class: "joy-admin-banner__label
364
364
  ])
365
365
  ]));
366
366
  }
367
- }), hu = /* @__PURE__ */ E(tn, [["__scopeId", "data-v-114794fd"]]), on = ["title"], nn = /* @__PURE__ */ B({
367
+ }), vu = /* @__PURE__ */ E(tn, [["__scopeId", "data-v-114794fd"]]), on = ["title"], nn = /* @__PURE__ */ B({
368
368
  __name: "VJoyAvailability",
369
369
  props: {
370
370
  label: {},
@@ -389,7 +389,7 @@ const Qo = { class: "joy-admin-banner" }, en = { class: "joy-admin-banner__label
389
389
  ], 64)) : k("", !0)
390
390
  ], 10, on));
391
391
  }
392
- }), gu = /* @__PURE__ */ E(nn, [["__scopeId", "data-v-b3bb9092"]]), ln = ["src", "title", "alt", "loading"], an = {
392
+ }), hu = /* @__PURE__ */ E(nn, [["__scopeId", "data-v-b3bb9092"]]), ln = ["src", "title", "alt", "loading"], an = {
393
393
  key: 0,
394
394
  class: "joy-avatar__strategy"
395
395
  }, rn = ["height"], sn = /* @__PURE__ */ B({
@@ -445,7 +445,7 @@ const Qo = { class: "joy-admin-banner" }, en = { class: "joy-admin-banner__label
445
445
  "joy-avatar__wrapper--has-photo": f.value
446
446
  }])
447
447
  }, [
448
- (c(), T(Q(e.link ? "button" : "div"), q(s.value, {
448
+ (c(), T(X(e.link ? "button" : "div"), q(s.value, {
449
449
  title: e.fullName,
450
450
  class: [m.value],
451
451
  onClick: y
@@ -509,7 +509,7 @@ const Qo = { class: "joy-admin-banner" }, en = { class: "joy-admin-banner__label
509
509
  w(n.$slots, "default", {}, void 0, !0)
510
510
  ], 2));
511
511
  }
512
- }), bu = /* @__PURE__ */ E(cn, [["__scopeId", "data-v-66e67dbb"]]), dn = /* @__PURE__ */ B({
512
+ }), gu = /* @__PURE__ */ E(cn, [["__scopeId", "data-v-66e67dbb"]]), dn = /* @__PURE__ */ B({
513
513
  __name: "VJoyDot",
514
514
  props: {
515
515
  number: { default: void 0 },
@@ -565,7 +565,7 @@ const Qo = { class: "joy-admin-banner" }, en = { class: "joy-admin-banner__label
565
565
  ], !0)
566
566
  ], 2));
567
567
  }
568
- }), wu = /* @__PURE__ */ E(fn, [["__scopeId", "data-v-f3f82e51"]]);
568
+ }), bu = /* @__PURE__ */ E(fn, [["__scopeId", "data-v-f3f82e51"]]);
569
569
  var ee = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(ee || {}), Ge = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(Ge || {});
570
570
  const yn = { class: "joy-badge-level" }, mn = {
571
571
  key: 1,
@@ -707,7 +707,7 @@ const yn = { class: "joy-badge-level" }, mn = {
707
707
  ], 2)
708
708
  ]));
709
709
  }
710
- }), ju = /* @__PURE__ */ E(gn, [["__scopeId", "data-v-08a5e2c8"]]), bn = /* @__PURE__ */ B({
710
+ }), wu = /* @__PURE__ */ E(gn, [["__scopeId", "data-v-08a5e2c8"]]), bn = /* @__PURE__ */ B({
711
711
  __name: "VJoyBlockSkeleton",
712
712
  props: {
713
713
  /** If you want to use it properly you need to set fixed width and height */
@@ -744,7 +744,7 @@ const yn = { class: "joy-badge-level" }, mn = {
744
744
  })
745
745
  }, null, 6));
746
746
  }
747
- }), ku = /* @__PURE__ */ E(bn, [["__scopeId", "data-v-4da2c7cb"]]), wn = /* @__PURE__ */ B({
747
+ }), ju = /* @__PURE__ */ E(bn, [["__scopeId", "data-v-4da2c7cb"]]), wn = /* @__PURE__ */ B({
748
748
  __name: "VJoySpinner",
749
749
  props: {
750
750
  color: {
@@ -811,7 +811,7 @@ const yn = { class: "joy-badge-level" }, mn = {
811
811
  const n = e, o = le(), l = De() + "--JoyButton", a = V(() => ["ghost", "secondary"].includes(n.variant) ? "teal" : "white");
812
812
  return t({ generatedId: l }), (r, i) => {
813
813
  const u = dt("joy-ripple");
814
- return Xe((c(), T(Q(F(o).href ? "a" : "button"), {
814
+ return Xe((c(), T(X(F(o).href ? "a" : "button"), {
815
815
  id: e.id,
816
816
  disabled: e.loading || F(o).disabled,
817
817
  type: F(o).type || "button",
@@ -1261,7 +1261,7 @@ const Mn = { class: "joy-bottom-sheet_content" }, Fn = { class: "joy-bottom-shee
1261
1261
  ], 16)) : k("", !0)
1262
1262
  ], 8, ["to"])) : k("", !0);
1263
1263
  }
1264
- }), _u = /* @__PURE__ */ E(On, [["__scopeId", "data-v-0f122c0c"]]), $u = /* @__PURE__ */ B({
1264
+ }), ku = /* @__PURE__ */ E(On, [["__scopeId", "data-v-0f122c0c"]]), _u = /* @__PURE__ */ B({
1265
1265
  __name: "VJoyBottomSheetTrigger",
1266
1266
  props: {
1267
1267
  bottomSheet: {}
@@ -1273,7 +1273,7 @@ const Mn = { class: "joy-bottom-sheet_content" }, Fn = { class: "joy-bottom-shee
1273
1273
  var u;
1274
1274
  o("click"), (u = l.value) == null || u.show();
1275
1275
  }
1276
- return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(Q(m), {
1276
+ return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(X(m), {
1277
1277
  key: m,
1278
1278
  onClick: i
1279
1279
  }))), 128));
@@ -1301,7 +1301,7 @@ const Mn = { class: "joy-bottom-sheet_content" }, Fn = { class: "joy-bottom-shee
1301
1301
  var m;
1302
1302
  a.value && (s.key !== "Enter" && s.key !== " " || (s.preventDefault(), !t.disabled && ((m = s.currentTarget) == null || m.click())));
1303
1303
  }
1304
- return (s, m) => (c(), T(Q(o.value), q(F(n), {
1304
+ return (s, m) => (c(), T(X(o.value), q(F(n), {
1305
1305
  class: [
1306
1306
  "joy-button-card",
1307
1307
  `joy-button-card--align-${e.align}`,
@@ -1322,7 +1322,7 @@ const Mn = { class: "joy-bottom-sheet_content" }, Fn = { class: "joy-bottom-shee
1322
1322
  _: 3
1323
1323
  }, 16, ["class", "href", "role", "aria-disabled", "tabindex"]));
1324
1324
  }
1325
- }), Cu = /* @__PURE__ */ E(Dn, [["__scopeId", "data-v-c87dff4c"]]), ve = "JoyFormElementContext", Rn = { class: "joy-checkbox__wrapper" }, Nn = { class: "joy-checkbox__input-wrapper" }, qn = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], Hn = { class: "joy-checkbox__content-wrapper" }, Wn = { class: "joy-checkbox__content" }, Un = /* @__PURE__ */ B({
1325
+ }), $u = /* @__PURE__ */ E(Dn, [["__scopeId", "data-v-c87dff4c"]]), ve = "JoyFormElementContext", Rn = { class: "joy-checkbox__wrapper" }, Nn = { class: "joy-checkbox__input-wrapper" }, qn = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], Hn = { class: "joy-checkbox__content-wrapper" }, Wn = { class: "joy-checkbox__content" }, Un = /* @__PURE__ */ B({
1326
1326
  __name: "VJoyCheckbox",
1327
1327
  props: {
1328
1328
  indeterminate: { type: Boolean, default: !1 },
@@ -1533,7 +1533,7 @@ const Mn = { class: "joy-bottom-sheet_content" }, Fn = { class: "joy-bottom-shee
1533
1533
  }, 16, ["onUpdate:checked", "onFocus", "onBlur"])
1534
1534
  ], 34));
1535
1535
  }
1536
- }), Su = /* @__PURE__ */ E(el, [["__scopeId", "data-v-2598ae39"]]), it = Math.min, tl = Math.max, ol = {
1536
+ }), Cu = /* @__PURE__ */ E(el, [["__scopeId", "data-v-2598ae39"]]), it = Math.min, tl = Math.max, ol = {
1537
1537
  left: "right",
1538
1538
  right: "left",
1539
1539
  bottom: "top",
@@ -1815,7 +1815,7 @@ const dl = 50, fl = async (e, t, n) => {
1815
1815
  }, p = bt(l), y = gt(p), g = await r.getDimensions(s), b = p === "y", $ = b ? "top" : "left", _ = b ? "bottom" : "right", j = b ? "clientHeight" : "clientWidth", x = a.reference[y] + a.reference[p] - f[p] - a.floating[y], A = f[p] - a.reference[p], L = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s));
1816
1816
  let C = L ? L[j] : 0;
1817
1817
  (!C || !await (r.isElement == null ? void 0 : r.isElement(L))) && (C = i.floating[j] || a.floating[y]);
1818
- const P = x / 2 - A / 2, M = C / 2 - g[y] / 2 - 1, X = it(d[$], M), O = it(d[_], M), U = X, G = C - g[y] - O, Z = C / 2 - g[y] / 2 + P, fe = rt(U, Z, G), ye = !u.arrow && Ne(l) != null && Z !== fe && a.reference[y] / 2 - (Z < U ? X : O) - g[y] / 2 < 0, re = ye ? Z < U ? Z - U : Z - G : 0;
1818
+ const P = x / 2 - A / 2, M = C / 2 - g[y] / 2 - 1, Q = it(d[$], M), O = it(d[_], M), U = Q, G = C - g[y] - O, Z = C / 2 - g[y] / 2 + P, fe = rt(U, Z, G), ye = !u.arrow && Ne(l) != null && Z !== fe && a.reference[y] / 2 - (Z < U ? Q : O) - g[y] / 2 < 0, re = ye ? Z < U ? Z - U : Z - G : 0;
1819
1819
  return {
1820
1820
  [p]: f[p] + re,
1821
1821
  data: {
@@ -1855,12 +1855,12 @@ const dl = 50, fl = async (e, t, n) => {
1855
1855
  const $ = je(l), _ = me(i), j = je(i) === i, x = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), A = f || (j || !g ? [Ke(i)] : ll(i)), L = y !== "none";
1856
1856
  !f && L && A.push(...sl(i, g, y, x));
1857
1857
  const C = [i, ...A], P = await u.detectOverflow(t, b), M = [];
1858
- let X = ((o = a.flip) == null ? void 0 : o.overflows) || [];
1858
+ let Q = ((o = a.flip) == null ? void 0 : o.overflows) || [];
1859
1859
  if (m && M.push(P[$]), d) {
1860
1860
  const Z = nl(l, r, x);
1861
1861
  M.push(P[Z[0]], P[Z[1]]);
1862
1862
  }
1863
- if (X = [...X, {
1863
+ if (Q = [...Q, {
1864
1864
  placement: l,
1865
1865
  overflows: M
1866
1866
  }], !M.every((Z) => Z <= 0)) {
@@ -1868,22 +1868,22 @@ const dl = 50, fl = async (e, t, n) => {
1868
1868
  const Z = (((O = a.flip) == null ? void 0 : O.index) || 0) + 1, fe = C[Z];
1869
1869
  if (fe && (!(d === "alignment" ? _ !== me(fe) : !1) || // We leave the current main axis only if every placement on that axis
1870
1870
  // overflows the main axis.
1871
- X.every((se) => me(se.placement) === _ ? se.overflows[0] > 0 : !0)))
1871
+ Q.every((se) => me(se.placement) === _ ? se.overflows[0] > 0 : !0)))
1872
1872
  return {
1873
1873
  data: {
1874
1874
  index: Z,
1875
- overflows: X
1875
+ overflows: Q
1876
1876
  },
1877
1877
  reset: {
1878
1878
  placement: fe
1879
1879
  }
1880
1880
  };
1881
- let ye = (U = X.filter((re) => re.overflows[0] <= 0).sort((re, se) => re.overflows[1] - se.overflows[1])[0]) == null ? void 0 : U.placement;
1881
+ let ye = (U = Q.filter((re) => re.overflows[0] <= 0).sort((re, se) => re.overflows[1] - se.overflows[1])[0]) == null ? void 0 : U.placement;
1882
1882
  if (!ye)
1883
1883
  switch (p) {
1884
1884
  case "bestFit": {
1885
1885
  var G;
1886
- const re = (G = X.filter((se) => {
1886
+ const re = (G = Q.filter((se) => {
1887
1887
  if (L) {
1888
1888
  const ge = me(se.placement);
1889
1889
  return ge === _ || // Create a bias to the `y` side axis due to horizontal
@@ -2785,7 +2785,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
2785
2785
  class: I(["joy-label__group", { "joy-label__group--standalone": !F(t) }])
2786
2786
  }, [
2787
2787
  h("div", Ml, [
2788
- (c(), T(Q(e.tagName), q({
2788
+ (c(), T(X(e.tagName), q({
2789
2789
  "data-joy-form-label": "",
2790
2790
  class: ["joy-label", `joy-label--${e.size}`]
2791
2791
  }, n.$attrs), {
@@ -2885,7 +2885,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
2885
2885
  ], 2)
2886
2886
  ], 8, Nl));
2887
2887
  }
2888
- }), xu = /* @__PURE__ */ E(ql, [["__scopeId", "data-v-70dbe1be"]]), Hl = ["id"], Wl = { class: "joy-collapse-item__header-right" }, Ul = {
2888
+ }), Su = /* @__PURE__ */ E(ql, [["__scopeId", "data-v-70dbe1be"]]), Hl = ["id"], Wl = { class: "joy-collapse-item__header-right" }, Ul = {
2889
2889
  key: 0,
2890
2890
  class: "joy-collapse-item__summary___subheader"
2891
2891
  }, Gl = { class: "joy-collapse-item__summary___preview" }, Kl = ["aria-labelledby"], Yl = /* @__PURE__ */ B({
@@ -3065,19 +3065,19 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3065
3065
  "onCollapseItem:close": () => f(b)
3066
3066
  }), {
3067
3067
  "collapse-header-right": z(() => [
3068
- (c(!0), v(H, null, K(s(b, "collapse-header-right"), ($, _) => (c(), T(Q($), { key: _ }))), 128))
3068
+ (c(!0), v(H, null, K(s(b, "collapse-header-right"), ($, _) => (c(), T(X($), { key: _ }))), 128))
3069
3069
  ]),
3070
3070
  "collapse-preview": z(() => [
3071
- (c(!0), v(H, null, K(s(b, "collapse-preview"), ($, _) => (c(), T(Q($), { key: _ }))), 128))
3071
+ (c(!0), v(H, null, K(s(b, "collapse-preview"), ($, _) => (c(), T(X($), { key: _ }))), 128))
3072
3072
  ]),
3073
3073
  default: z(() => [
3074
- (c(!0), v(H, null, K(s(b, "default"), ($, _) => (c(), T(Q($), { key: _ }))), 128))
3074
+ (c(!0), v(H, null, K(s(b, "default"), ($, _) => (c(), T(X($), { key: _ }))), 128))
3075
3075
  ]),
3076
3076
  _: 2
3077
3077
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
3078
3078
  ]));
3079
3079
  }
3080
- }), Vu = /* @__PURE__ */ E(Ql, [["__scopeId", "data-v-35744932"]]), ea = ["src", "alt", "title", "loading"], ta = /* @__PURE__ */ B({
3080
+ }), xu = /* @__PURE__ */ E(Ql, [["__scopeId", "data-v-35744932"]]), ea = ["src", "alt", "title", "loading"], ta = /* @__PURE__ */ B({
3081
3081
  __name: "VJoyCompanyAvatar",
3082
3082
  props: {
3083
3083
  /** Inject the URL of your image. Fallback will be the icon */
@@ -3125,7 +3125,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3125
3125
  }, null, 8, ["size"]))
3126
3126
  ], 2));
3127
3127
  }
3128
- }), Tu = /* @__PURE__ */ E(ta, [["__scopeId", "data-v-2f1289c1"]]), oa = /* @__PURE__ */ B({
3128
+ }), Vu = /* @__PURE__ */ E(ta, [["__scopeId", "data-v-2f1289c1"]]), oa = /* @__PURE__ */ B({
3129
3129
  __name: "VJoyIconButton",
3130
3130
  props: {
3131
3131
  /** Name of the icon displayed inside the button */
@@ -3510,7 +3510,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3510
3510
  })
3511
3511
  ], 8, ["to", "disabled"])) : k("", !0);
3512
3512
  }
3513
- }), Iu = /* @__PURE__ */ E(ya, [["__scopeId", "data-v-86fff334"]]), Lu = /* @__PURE__ */ B({
3513
+ }), Tu = /* @__PURE__ */ E(ya, [["__scopeId", "data-v-86fff334"]]), Iu = /* @__PURE__ */ B({
3514
3514
  __name: "VJoyDialogTrigger",
3515
3515
  props: {
3516
3516
  dialog: {}
@@ -3522,7 +3522,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3522
3522
  var u;
3523
3523
  l("click"), await ((u = o.value) == null ? void 0 : u.show());
3524
3524
  }
3525
- return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(Q(m), {
3525
+ return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(X(m), {
3526
3526
  key: m,
3527
3527
  onClick: i
3528
3528
  }))), 128));
@@ -3758,7 +3758,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3758
3758
  })
3759
3759
  ], 8, ["to", "disabled"])) : k("", !0);
3760
3760
  }
3761
- }), Bu = /* @__PURE__ */ E(wa, [["__scopeId", "data-v-29200965"]]), Au = /* @__PURE__ */ B({
3761
+ }), Lu = /* @__PURE__ */ E(wa, [["__scopeId", "data-v-29200965"]]), Bu = /* @__PURE__ */ B({
3762
3762
  __name: "VJoyDrawerTrigger",
3763
3763
  props: {
3764
3764
  drawer: {}
@@ -3770,7 +3770,7 @@ const El = ["aria-describedby"], zl = ["id"], Jl = /* @__PURE__ */ B({
3770
3770
  var u;
3771
3771
  o("click"), await ((u = l.value) == null ? void 0 : u.show());
3772
3772
  }
3773
- return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(Q(m), {
3773
+ return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(X(m), {
3774
3774
  key: m,
3775
3775
  onClick: i
3776
3776
  }))), 128));
@@ -4167,7 +4167,7 @@ const Va = /* @__PURE__ */ B({
4167
4167
  _: 3
4168
4168
  }, 512));
4169
4169
  }
4170
- }), Eu = /* @__PURE__ */ E(Va, [["__scopeId", "data-v-b597f860"]]), Ta = ["aria-hidden"], Ia = { key: 1 }, La = /* @__PURE__ */ B({
4170
+ }), Au = /* @__PURE__ */ E(Va, [["__scopeId", "data-v-b597f860"]]), Ta = ["aria-hidden"], Ia = { key: 1 }, La = /* @__PURE__ */ B({
4171
4171
  __name: "VJoyFormError",
4172
4172
  props: {
4173
4173
  /**
@@ -4200,7 +4200,8 @@ const Va = /* @__PURE__ */ B({
4200
4200
  },
4201
4201
  setup(e) {
4202
4202
  const t = Y();
4203
- return (n, o) => (c(), v("div", {
4203
+ return (n, o) => t.default || e.errors || e.noHtmlErrorText ? (c(), v("div", {
4204
+ key: 0,
4204
4205
  "data-joy-form-error": "",
4205
4206
  "aria-hidden": e.visible,
4206
4207
  class: I(["joy-form-error", { "joy-has-error": e.visible, "joy-form-error--no-margin": e.noMargin }]),
@@ -4217,9 +4218,9 @@ const Va = /* @__PURE__ */ B({
4217
4218
  R(J(e.noHtmlErrorText), 1)
4218
4219
  ], 64))
4219
4220
  ])
4220
- ], 10, Ta));
4221
+ ], 10, Ta)) : k("", !0);
4221
4222
  }
4222
- }), _t = /* @__PURE__ */ E(La, [["__scopeId", "data-v-de16f6d9"]]), Ba = { class: "joy-dropzone__icon-wrapper" }, Aa = /* @__PURE__ */ B({
4223
+ }), _t = /* @__PURE__ */ E(La, [["__scopeId", "data-v-ed0c8568"]]), Ba = { class: "joy-dropzone__icon-wrapper" }, Aa = /* @__PURE__ */ B({
4223
4224
  __name: "VJoyDropzoneIcon",
4224
4225
  props: {
4225
4226
  name: { type: String, required: !0 },
@@ -4326,7 +4327,7 @@ const Va = /* @__PURE__ */ B({
4326
4327
  }
4327
4328
  },
4328
4329
  setup(e) {
4329
- return (t, n) => (c(), T(Q(e.href ? "a" : "button"), q({ href: e.href }, t.$attrs, {
4330
+ return (t, n) => (c(), T(X(e.href ? "a" : "button"), q({ href: e.href }, t.$attrs, {
4330
4331
  class: ["joy-link", `joy-link_${e.color}`],
4331
4332
  type: e.type
4332
4333
  }), {
@@ -4403,7 +4404,7 @@ const Va = /* @__PURE__ */ B({
4403
4404
  function x(O) {
4404
4405
  var G;
4405
4406
  const U = (G = O.target) == null ? void 0 : G.files;
4406
- o.disabled || !U || U.length === 0 || (i.value ? (X(i.value, Array.from(U)), i.value = void 0) : M(Array.from(U)));
4407
+ o.disabled || !U || U.length === 0 || (i.value ? (Q(i.value, Array.from(U)), i.value = void 0) : M(Array.from(U)));
4407
4408
  }
4408
4409
  function A(O) {
4409
4410
  o.disabled || !O || O.length === 0 || (i.value = void 0, M(O));
@@ -4420,7 +4421,7 @@ const Va = /* @__PURE__ */ B({
4420
4421
  function M(O) {
4421
4422
  o.multiple ? C([...l.value, ...O]) : C([O[0]]);
4422
4423
  }
4423
- function X(O, [U, ...G]) {
4424
+ function Q(O, [U, ...G]) {
4424
4425
  if (o.multiple) {
4425
4426
  const Z = [...l.value];
4426
4427
  Z[l.value.indexOf(O)] = U, Z.push(...G), C(Z);
@@ -4530,7 +4531,7 @@ const Va = /* @__PURE__ */ B({
4530
4531
  }, null, 8, ["no-html-error-text"])) : k("", !0)
4531
4532
  ], 2));
4532
4533
  }
4533
- }), zu = /* @__PURE__ */ E(Ka, [["__scopeId", "data-v-9f9a9756"]]), Ya = ["aria-label"], Za = { class: "joy-filter-bar__wrapper" }, Xa = /* @__PURE__ */ B({
4534
+ }), Eu = /* @__PURE__ */ E(Ka, [["__scopeId", "data-v-9f9a9756"]]), Ya = ["aria-label"], Za = { class: "joy-filter-bar__wrapper" }, Xa = /* @__PURE__ */ B({
4534
4535
  __name: "VJoyFilterBar",
4535
4536
  props: {
4536
4537
  /** To give a label to the whole component */
@@ -4547,7 +4548,7 @@ const Va = /* @__PURE__ */ B({
4547
4548
  ])
4548
4549
  ], 8, Ya));
4549
4550
  }
4550
- }), Ju = /* @__PURE__ */ E(Xa, [["__scopeId", "data-v-cb769d05"]]), Qa = /* @__PURE__ */ B({
4551
+ }), zu = /* @__PURE__ */ E(Xa, [["__scopeId", "data-v-cb769d05"]]), Qa = /* @__PURE__ */ B({
4551
4552
  __name: "VJoyFilterBarButton",
4552
4553
  props: {
4553
4554
  /** Label to inject inside the button */
@@ -4585,7 +4586,7 @@ const Va = /* @__PURE__ */ B({
4585
4586
  })) : k("", !0)
4586
4587
  ], 2));
4587
4588
  }
4588
- }), Pu = /* @__PURE__ */ E(Qa, [["__scopeId", "data-v-ef875842"]]), ei = { class: "floating-actions-bar__content" }, ti = { class: "floating-actions-bar__actions" }, oi = /* @__PURE__ */ B({
4589
+ }), Ju = /* @__PURE__ */ E(Qa, [["__scopeId", "data-v-ef875842"]]), ei = { class: "floating-actions-bar__content" }, ti = { class: "floating-actions-bar__actions" }, oi = /* @__PURE__ */ B({
4589
4590
  __name: "VJoyFloatingActionsBar",
4590
4591
  props: {
4591
4592
  height: { default: "92px" },
@@ -4626,7 +4627,7 @@ const Va = /* @__PURE__ */ B({
4626
4627
  ], 6)
4627
4628
  ], 8, ["to"])) : k("", !0);
4628
4629
  }
4629
- }), Mu = /* @__PURE__ */ E(oi, [["__scopeId", "data-v-2d398d78"]]), ni = /* @__PURE__ */ B({
4630
+ }), Pu = /* @__PURE__ */ E(oi, [["__scopeId", "data-v-2d398d78"]]), ni = /* @__PURE__ */ B({
4630
4631
  __name: "VJoyFormFieldSkeleton",
4631
4632
  props: {
4632
4633
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -4664,7 +4665,7 @@ const Va = /* @__PURE__ */ B({
4664
4665
  })
4665
4666
  }, null, 6));
4666
4667
  }
4667
- }), Fu = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-3004f370"]]), li = /* @__PURE__ */ B({
4668
+ }), Mu = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-3004f370"]]), li = /* @__PURE__ */ B({
4668
4669
  inheritAttrs: !1,
4669
4670
  __name: "VJoyFormGroup",
4670
4671
  setup(e) {
@@ -4672,7 +4673,7 @@ const Va = /* @__PURE__ */ B({
4672
4673
  w(t.$slots, "default", {}, void 0, !0)
4673
4674
  ], 16));
4674
4675
  }
4675
- }), Ou = /* @__PURE__ */ E(li, [["__scopeId", "data-v-0424f0f1"]]), ai = { class: "joy-funnel__header" }, ii = { class: "funnel__header__inner" }, ri = /* @__PURE__ */ B({
4676
+ }), Fu = /* @__PURE__ */ E(li, [["__scopeId", "data-v-0424f0f1"]]), ai = { class: "joy-funnel__header" }, ii = { class: "funnel__header__inner" }, ri = /* @__PURE__ */ B({
4676
4677
  __name: "VJoyFunnel",
4677
4678
  props: {
4678
4679
  /**
@@ -4745,7 +4746,7 @@ const Va = /* @__PURE__ */ B({
4745
4746
  ], 32)
4746
4747
  ], 2));
4747
4748
  }
4748
- }), Du = /* @__PURE__ */ E(ri, [["__scopeId", "data-v-e2fccb79"]]), si = { class: "joy-funnel-footer" }, ui = { class: "joy-funnel-footer__left" }, ci = { class: "joy-funnel-footer__right" }, di = /* @__PURE__ */ B({
4749
+ }), Ou = /* @__PURE__ */ E(ri, [["__scopeId", "data-v-e2fccb79"]]), si = { class: "joy-funnel-footer" }, ui = { class: "joy-funnel-footer__left" }, ci = { class: "joy-funnel-footer__right" }, di = /* @__PURE__ */ B({
4749
4750
  __name: "VJoyFunnelFooter",
4750
4751
  setup(e) {
4751
4752
  return (t, n) => (c(), v("footer", si, [
@@ -4757,7 +4758,7 @@ const Va = /* @__PURE__ */ B({
4757
4758
  ])
4758
4759
  ]));
4759
4760
  }
4760
- }), Ru = /* @__PURE__ */ E(di, [["__scopeId", "data-v-bdeeb2bd"]]), fi = { class: "joy-funnel-header" }, yi = { class: "joy-funnel-header__left" }, mi = { class: "joy-funnel-header__right" }, pi = /* @__PURE__ */ B({
4761
+ }), Du = /* @__PURE__ */ E(di, [["__scopeId", "data-v-bdeeb2bd"]]), fi = { class: "joy-funnel-header" }, yi = { class: "joy-funnel-header__left" }, mi = { class: "joy-funnel-header__right" }, pi = /* @__PURE__ */ B({
4761
4762
  __name: "VJoyFunnelHeader",
4762
4763
  setup(e) {
4763
4764
  return (t, n) => (c(), v("header", fi, [
@@ -4769,7 +4770,7 @@ const Va = /* @__PURE__ */ B({
4769
4770
  ])
4770
4771
  ]));
4771
4772
  }
4772
- }), Nu = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-e423038b"]]), vi = { class: "joy-highlight__decorator" }, hi = { class: "joy-highlight__text" }, gi = { key: 0 }, bi = /* @__PURE__ */ B({
4773
+ }), Ru = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-e423038b"]]), vi = { class: "joy-highlight__decorator" }, hi = { class: "joy-highlight__text" }, gi = { key: 0 }, bi = /* @__PURE__ */ B({
4773
4774
  __name: "VJoyHighlight",
4774
4775
  props: {
4775
4776
  accent: {
@@ -4826,7 +4827,7 @@ const Va = /* @__PURE__ */ B({
4826
4827
  ])
4827
4828
  ], 2));
4828
4829
  }
4829
- }), qu = /* @__PURE__ */ E(bi, [["__scopeId", "data-v-e5c2ff23"]]), wi = ["aria-label"], ji = /* @__PURE__ */ B({
4830
+ }), Nu = /* @__PURE__ */ E(bi, [["__scopeId", "data-v-e5c2ff23"]]), wi = ["aria-label"], ji = /* @__PURE__ */ B({
4830
4831
  __name: "VJoyIndicator",
4831
4832
  props: {
4832
4833
  /** Value is used for the parent v-model. Mandatory */
@@ -4905,7 +4906,7 @@ const Va = /* @__PURE__ */ B({
4905
4906
  }), null, 16, ["selected", "onClick"]))), 128))
4906
4907
  ], 2));
4907
4908
  }
4908
- }), Hu = /* @__PURE__ */ E(_i, [["__scopeId", "data-v-f2dd63e9"]]), $i = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ci = ["data-unit"], Si = /* @__PURE__ */ B({
4909
+ }), qu = /* @__PURE__ */ E(_i, [["__scopeId", "data-v-f2dd63e9"]]), $i = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ci = ["data-unit"], Si = /* @__PURE__ */ B({
4909
4910
  inheritAttrs: !1,
4910
4911
  __name: "VJoyInput",
4911
4912
  props: {
@@ -5231,7 +5232,7 @@ const Va = /* @__PURE__ */ B({
5231
5232
  ], 2)
5232
5233
  ]));
5233
5234
  }
5234
- }), Wu = /* @__PURE__ */ E(Vi, [["__scopeId", "data-v-f359f1d1"]]), Ti = { class: "joy-input-unit" }, Ii = {
5235
+ }), Hu = /* @__PURE__ */ E(Vi, [["__scopeId", "data-v-f359f1d1"]]), Ti = { class: "joy-input-unit" }, Ii = {
5235
5236
  key: 0,
5236
5237
  class: "joy-input__unit___label"
5237
5238
  }, Li = { class: "joy-input__unit___label____text" }, Bi = /* @__PURE__ */ B({
@@ -5284,7 +5285,7 @@ const Va = /* @__PURE__ */ B({
5284
5285
  }, 16)
5285
5286
  ]));
5286
5287
  }
5287
- }), Uu = /* @__PURE__ */ E(Bi, [["__scopeId", "data-v-1c0b98ad"]]), Ai = { class: "joy-input-password" }, Ei = /* @__PURE__ */ B({
5288
+ }), Wu = /* @__PURE__ */ E(Bi, [["__scopeId", "data-v-1c0b98ad"]]), Ai = { class: "joy-input-password" }, Ei = /* @__PURE__ */ B({
5288
5289
  inheritAttrs: !1,
5289
5290
  __name: "VJoyInputPassword",
5290
5291
  props: {
@@ -5347,7 +5348,7 @@ const Va = /* @__PURE__ */ B({
5347
5348
  })) : k("", !0)
5348
5349
  ]));
5349
5350
  }
5350
- }), Gu = /* @__PURE__ */ E(Ei, [["__scopeId", "data-v-48cbd09c"]]), zi = { class: "joy-list-item__left" }, Ji = { class: "joy-font-primary-300 joy-m-0" }, Pi = { class: "joy-list-item__right" }, Mi = /* @__PURE__ */ B({
5351
+ }), Uu = /* @__PURE__ */ E(Ei, [["__scopeId", "data-v-48cbd09c"]]), zi = { class: "joy-list-item__left" }, Ji = { class: "joy-font-primary-300 joy-m-0" }, Pi = { class: "joy-list-item__right" }, Mi = /* @__PURE__ */ B({
5351
5352
  __name: "VJoyListItem",
5352
5353
  props: {
5353
5354
  icon: {}
@@ -5383,7 +5384,7 @@ const Va = /* @__PURE__ */ B({
5383
5384
  })
5384
5385
  ]));
5385
5386
  }
5386
- }), Ku = /* @__PURE__ */ E(Mi, [["__scopeId", "data-v-6c3750f0"]]), Fi = ["aria-activedescendant", "aria-label"], Oi = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], Di = { "aria-hidden": "true" }, Ri = /* @__PURE__ */ B({
5387
+ }), Gu = /* @__PURE__ */ E(Mi, [["__scopeId", "data-v-6c3750f0"]]), Fi = ["aria-activedescendant", "aria-label"], Oi = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], Di = { "aria-hidden": "true" }, Ri = /* @__PURE__ */ B({
5387
5388
  __name: "VJoyMenu",
5388
5389
  props: {
5389
5390
  /**
@@ -5487,7 +5488,7 @@ const Va = /* @__PURE__ */ B({
5487
5488
  ], 40, Fi);
5488
5489
  };
5489
5490
  }
5490
- }), Yu = /* @__PURE__ */ E(Ri, [["__scopeId", "data-v-b76ae1e8"]]), Ni = ["aria-disabled", "aria-current", "title", "aria-label"], qi = { class: "joy-menu-item__label joy-font-primary-400" }, Hi = /* @__PURE__ */ B({
5491
+ }), Ku = /* @__PURE__ */ E(Ri, [["__scopeId", "data-v-b76ae1e8"]]), Ni = ["aria-disabled", "aria-current", "title", "aria-label"], qi = { class: "joy-menu-item__label joy-font-primary-400" }, Hi = /* @__PURE__ */ B({
5491
5492
  inheritAttrs: !1,
5492
5493
  __name: "VJoyMenuItem",
5493
5494
  props: {
@@ -5517,7 +5518,7 @@ const Va = /* @__PURE__ */ B({
5517
5518
  "aria-label": e.label,
5518
5519
  role: "menuitem"
5519
5520
  }, [
5520
- (c(), T(Q(e.disabled ? "div" : e.type), q({ ...r.value, ...u.$attrs }, {
5521
+ (c(), T(X(e.disabled ? "div" : e.type), q({ ...r.value, ...u.$attrs }, {
5521
5522
  class: [
5522
5523
  "joy-menu-item__inner",
5523
5524
  {
@@ -5546,7 +5547,7 @@ const Va = /* @__PURE__ */ B({
5546
5547
  }, 16, ["class", "type"]))
5547
5548
  ], 8, Ni));
5548
5549
  }
5549
- }), Zu = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-1a8cef6b"]]), Mt = /* @__PURE__ */ B({
5550
+ }), Yu = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-1a8cef6b"]]), Mt = /* @__PURE__ */ B({
5550
5551
  __name: "PaginationIcon",
5551
5552
  props: {
5552
5553
  label: {
@@ -5680,7 +5681,7 @@ const Va = /* @__PURE__ */ B({
5680
5681
  ])
5681
5682
  ], 8, Wi));
5682
5683
  }
5683
- }), Xu = /* @__PURE__ */ E(Yi, [["__scopeId", "data-v-7e82041f"]]), Zi = { class: "joy-screen-loader__content" }, Xi = {
5684
+ }), Zu = /* @__PURE__ */ E(Yi, [["__scopeId", "data-v-7e82041f"]]), Zi = { class: "joy-screen-loader__content" }, Xi = {
5684
5685
  key: 0,
5685
5686
  class: "joy-screen-loader__content"
5686
5687
  }, Qi = /* @__PURE__ */ B({
@@ -5810,7 +5811,7 @@ const Va = /* @__PURE__ */ B({
5810
5811
  }, 8, ["color"])) : k("", !0)
5811
5812
  ], 6));
5812
5813
  }
5813
- }), Qu = /* @__PURE__ */ E(ir, [["__scopeId", "data-v-b4158802"]]), rr = { class: "joy-panel-section" }, sr = {
5814
+ }), Xu = /* @__PURE__ */ E(ir, [["__scopeId", "data-v-b4158802"]]), rr = { class: "joy-panel-section" }, sr = {
5814
5815
  key: 0,
5815
5816
  class: "joy-panel-section__title"
5816
5817
  }, ur = {
@@ -5829,7 +5830,7 @@ const Va = /* @__PURE__ */ B({
5829
5830
  ])) : k("", !0)
5830
5831
  ]));
5831
5832
  }
5832
- }), ec = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-d88510ab"]]), dr = { class: "joy-password-requirement__label" }, fr = /* @__PURE__ */ B({
5833
+ }), Qu = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-d88510ab"]]), dr = { class: "joy-password-requirement__label" }, fr = /* @__PURE__ */ B({
5833
5834
  __name: "VJoyPasswordRequirement",
5834
5835
  props: {
5835
5836
  label: {},
@@ -5857,7 +5858,7 @@ const Va = /* @__PURE__ */ B({
5857
5858
  h("span", dr, J(t.label), 1)
5858
5859
  ], 16));
5859
5860
  }
5860
- }), tc = /* @__PURE__ */ E(fr, [["__scopeId", "data-v-57c149c0"]]), yr = /* @__PURE__ */ B({
5861
+ }), ec = /* @__PURE__ */ E(fr, [["__scopeId", "data-v-57c149c0"]]), yr = /* @__PURE__ */ B({
5861
5862
  __name: "VJoyProductTourSpotlight",
5862
5863
  props: {
5863
5864
  disableOverlay: { type: Boolean }
@@ -5917,7 +5918,7 @@ const Va = /* @__PURE__ */ B({
5917
5918
  ]
5918
5919
  })
5919
5920
  ), y = V(() => {
5920
- const { middlewareData: C, placement: P } = p.value, M = C.arrow, X = {
5921
+ const { middlewareData: C, placement: P } = p.value, M = C.arrow, Q = {
5921
5922
  top: "bottom",
5922
5923
  right: "left",
5923
5924
  bottom: "top",
@@ -5928,7 +5929,7 @@ const Va = /* @__PURE__ */ B({
5928
5929
  top: (M == null ? void 0 : M.y) && `${M == null ? void 0 : M.y}px`,
5929
5930
  right: "",
5930
5931
  bottom: "",
5931
- [X]: "-12px"
5932
+ [Q]: "-12px"
5932
5933
  };
5933
5934
  });
5934
5935
  function g() {
@@ -5953,8 +5954,8 @@ const Va = /* @__PURE__ */ B({
5953
5954
  function x() {
5954
5955
  if (!m.value)
5955
5956
  return;
5956
- const { left: C, top: P, height: M, width: X } = u.value.getBoundingClientRect();
5957
- m.value.style.left = `calc(${window.scrollX + C - l.spotlightPadding}px`, m.value.style.top = `${window.scrollY + P - l.spotlightPadding}px`, m.value.style.width = `${X}px`, m.value.style.height = `${M}px`, m.value.style.position = "absolute", m.value.style.padding = l.spotlightPadding + "px", m.value.style.boxSizing = "content-box";
5957
+ const { left: C, top: P, height: M, width: Q } = u.value.getBoundingClientRect();
5958
+ m.value.style.left = `calc(${window.scrollX + C - l.spotlightPadding}px`, m.value.style.top = `${window.scrollY + P - l.spotlightPadding}px`, m.value.style.width = `${Q}px`, m.value.style.height = `${M}px`, m.value.style.position = "absolute", m.value.style.padding = l.spotlightPadding + "px", m.value.style.boxSizing = "content-box";
5958
5959
  }
5959
5960
  function A() {
5960
5961
  i.value && i.value.remove();
@@ -6047,7 +6048,7 @@ const Va = /* @__PURE__ */ B({
6047
6048
  ]);
6048
6049
  };
6049
6050
  }
6050
- }), kr = /* @__PURE__ */ E(jr, [["__scopeId", "data-v-a0dee67d"]]), oc = /* @__PURE__ */ B({
6051
+ }), kr = /* @__PURE__ */ E(jr, [["__scopeId", "data-v-a0dee67d"]]), tc = /* @__PURE__ */ B({
6051
6052
  inheritAttrs: !1,
6052
6053
  __name: "VJoyProductTour",
6053
6054
  props: {
@@ -6111,7 +6112,7 @@ const Va = /* @__PURE__ */ B({
6111
6112
  }, 16)
6112
6113
  ]));
6113
6114
  }
6114
- }), nc = /* @__PURE__ */ B({
6115
+ }), oc = /* @__PURE__ */ B({
6115
6116
  __name: "VJoyProductTourTrigger",
6116
6117
  props: {
6117
6118
  productTour: {}
@@ -6123,7 +6124,7 @@ const Va = /* @__PURE__ */ B({
6123
6124
  var u;
6124
6125
  o("click"), l.value && ((u = l.value) == null || u.show());
6125
6126
  }
6126
- return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(Q(m), {
6127
+ return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(X(m), {
6127
6128
  key: m,
6128
6129
  onClick: i
6129
6130
  }))), 128));
@@ -6188,7 +6189,7 @@ const Va = /* @__PURE__ */ B({
6188
6189
  _: 1
6189
6190
  }, 8, ["class"]));
6190
6191
  }
6191
- }), lc = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-fb2f0e09"]]), Sr = ["id", "value", "checked", "disabled", "required", "name"], xr = { class: "joy-radio-label" }, Vr = { class: "joy-radio-header-right" }, Tr = { class: "joy-radio-sublabel" }, Ir = { class: "joy-radio-content__wrapper" }, Lr = { class: "joy-radio-content" }, Br = /* @__PURE__ */ B({
6192
+ }), nc = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-fb2f0e09"]]), Sr = ["id", "value", "checked", "disabled", "required", "name"], xr = { class: "joy-radio-label" }, Vr = { class: "joy-radio-header-right" }, Tr = { class: "joy-radio-sublabel" }, Ir = { class: "joy-radio-content__wrapper" }, Lr = { class: "joy-radio-content" }, Br = /* @__PURE__ */ B({
6192
6193
  __name: "VJoyRadio",
6193
6194
  props: {
6194
6195
  disabled: {
@@ -6305,7 +6306,7 @@ const Va = /* @__PURE__ */ B({
6305
6306
  ])
6306
6307
  ], 2));
6307
6308
  }
6308
- }), ac = /* @__PURE__ */ E(Br, [["__scopeId", "data-v-6efefd03"]]), Ar = ["form", "name"], Er = /* @__PURE__ */ B({
6309
+ }), lc = /* @__PURE__ */ E(Br, [["__scopeId", "data-v-6efefd03"]]), Ar = ["form", "name"], Er = /* @__PURE__ */ B({
6309
6310
  __name: "VJoyRadioGroup",
6310
6311
  props: {
6311
6312
  direction: { default: "horizontal" },
@@ -6329,7 +6330,7 @@ const Va = /* @__PURE__ */ B({
6329
6330
  ], 2)
6330
6331
  ], 8, Ar));
6331
6332
  }
6332
- }), ic = /* @__PURE__ */ E(Er, [["__scopeId", "data-v-cc091c50"]]), zr = ["aria-label"], Jr = { class: "joy-rating-stars" }, Pr = { class: "joy-rating-stars__content" }, Mr = { key: 0 }, Fr = /* @__PURE__ */ B({
6333
+ }), ac = /* @__PURE__ */ E(Er, [["__scopeId", "data-v-cc091c50"]]), zr = ["aria-label"], Jr = { class: "joy-rating-stars" }, Pr = { class: "joy-rating-stars__content" }, Mr = { key: 0 }, Fr = /* @__PURE__ */ B({
6333
6334
  __name: "VJoyRatingStars",
6334
6335
  props: {
6335
6336
  /** Between 0 and 5 */
@@ -6547,7 +6548,7 @@ const Va = /* @__PURE__ */ B({
6547
6548
  ], 2)
6548
6549
  ], 512));
6549
6550
  }
6550
- }), rc = /* @__PURE__ */ E(Nr, [["__scopeId", "data-v-d5d840bc"]]), qr = ["aria-disabled"], Hr = ["id", "value", "checked", "disabled", "required", "name"], Wr = { class: "joy-selectable-item__label" }, Ur = /* @__PURE__ */ B({
6551
+ }), ic = /* @__PURE__ */ E(Nr, [["__scopeId", "data-v-d5d840bc"]]), qr = ["aria-disabled"], Hr = ["id", "value", "checked", "disabled", "required", "name"], Wr = { class: "joy-selectable-item__label" }, Ur = /* @__PURE__ */ B({
6551
6552
  __name: "VJoySelectableItem",
6552
6553
  props: {
6553
6554
  disabled: { type: Boolean, default: !1 },
@@ -6614,7 +6615,7 @@ const Va = /* @__PURE__ */ B({
6614
6615
  onBlur: f[2] || (f[2] = //@ts-ignore
6615
6616
  (...p) => s.onBlur && s.onBlur(...p))
6616
6617
  }, null, 40, Hr)),
6617
- (c(), T(Q(F(i)), {
6618
+ (c(), T(X(F(i)), {
6618
6619
  for: u.value,
6619
6620
  class: I([
6620
6621
  "joy-selectable-item",
@@ -6758,7 +6759,7 @@ const Va = /* @__PURE__ */ B({
6758
6759
  }, null, 8, ["no-html-error-text"])) : k("", !0)
6759
6760
  ], 8, Kr));
6760
6761
  }
6761
- }), sc = /* @__PURE__ */ E(Yr, [["__scopeId", "data-v-83760d1d"]]), Zr = /* @__PURE__ */ B({
6762
+ }), rc = /* @__PURE__ */ E(Yr, [["__scopeId", "data-v-83760d1d"]]), Zr = /* @__PURE__ */ B({
6762
6763
  __name: "VJoySeparator",
6763
6764
  props: {
6764
6765
  /** Main text to apply in the central area */
@@ -6777,7 +6778,7 @@ const Va = /* @__PURE__ */ B({
6777
6778
  h("span", null, J(e.text), 1)
6778
6779
  ], 2));
6779
6780
  }
6780
- }), uc = /* @__PURE__ */ E(Zr, [["__scopeId", "data-v-21db2899"]]), Xr = ["id"], Qr = { class: "joy-step__stroke" }, es = {
6781
+ }), sc = /* @__PURE__ */ E(Zr, [["__scopeId", "data-v-21db2899"]]), Xr = ["id"], Qr = { class: "joy-step__stroke" }, es = {
6781
6782
  key: 0,
6782
6783
  class: "joy-step__label"
6783
6784
  }, ts = /* @__PURE__ */ B({
@@ -6890,7 +6891,7 @@ const Va = /* @__PURE__ */ B({
6890
6891
  default: z(() => {
6891
6892
  var $;
6892
6893
  return [
6893
- ($ = y.children) != null && $.default ? (c(), T(Q(y.children.default), { key: 0 })) : k("", !0)
6894
+ ($ = y.children) != null && $.default ? (c(), T(X(y.children.default), { key: 0 })) : k("", !0)
6894
6895
  ];
6895
6896
  }),
6896
6897
  _: 2
@@ -6898,7 +6899,7 @@ const Va = /* @__PURE__ */ B({
6898
6899
  }), 128))
6899
6900
  ]));
6900
6901
  }
6901
- }), cc = /* @__PURE__ */ E(ls, [["__scopeId", "data-v-22705668"]]), as = ["id", "aria-hidden", "aria-labelledby"], is = /* @__PURE__ */ B({
6902
+ }), uc = /* @__PURE__ */ E(ls, [["__scopeId", "data-v-22705668"]]), as = ["id", "aria-hidden", "aria-labelledby"], is = /* @__PURE__ */ B({
6902
6903
  __name: "VJoyTab",
6903
6904
  props: {
6904
6905
  /**
@@ -6931,7 +6932,7 @@ const Va = /* @__PURE__ */ B({
6931
6932
  setup(e) {
6932
6933
  const t = e, n = de("VJoyTabs", S("")), o = V(() => n.value === t.tab);
6933
6934
  return (l, a) => (c(), v("div", {
6934
- id: `joy-tab-${e.tab}`,
6935
+ id: `joy-tab-panel-${e.tab}`,
6935
6936
  role: "tabpanel",
6936
6937
  "aria-hidden": o.value ? void 0 : "true",
6937
6938
  "aria-labelledby": `joy-tab-${e.tab}`,
@@ -6943,10 +6944,7 @@ const Va = /* @__PURE__ */ B({
6943
6944
  w(l.$slots, "default", {}, void 0, !0)
6944
6945
  ], 10, as));
6945
6946
  }
6946
- }), dc = /* @__PURE__ */ E(is, [["__scopeId", "data-v-60bfe6bd"]]), rs = ["id", "href", "aria-selected", "aria-controls"], ss = {
6947
- type: "button",
6948
- tabindex: "-1"
6949
- }, us = /* @__PURE__ */ B({
6947
+ }), cc = /* @__PURE__ */ E(is, [["__scopeId", "data-v-de41713d"]]), rs = { class: "joy-tab-button__content" }, ss = /* @__PURE__ */ B({
6950
6948
  __name: "TabButton",
6951
6949
  props: {
6952
6950
  /**
@@ -6990,23 +6988,21 @@ const Va = /* @__PURE__ */ B({
6990
6988
  function r(i) {
6991
6989
  (i.code === "Enter" || i.code === "NumpadEnter") && o("changeTab");
6992
6990
  }
6993
- return (i, u) => (c(), v("a", {
6991
+ return (i, u) => (c(), T(X(e.href ? "a" : "button"), {
6994
6992
  id: `joy-tab-${e.tab}`,
6993
+ type: e.href ? null : "button",
6995
6994
  href: e.href,
6996
6995
  "aria-selected": e.selected ? "true" : "false",
6997
- "aria-controls": `job-tab-${e.tab}`,
6998
- tabindex: "0",
6999
6996
  role: "tab",
6997
+ class: I({
6998
+ "joy-tab-button": !0,
6999
+ "joy-tab-button__selected": e.selected
7000
+ }),
7000
7001
  onClick: a,
7001
7002
  onKeydown: u[0] || (u[0] = (s) => r(s))
7002
- }, [
7003
- h("div", {
7004
- class: I({
7005
- "joy-tab-button": !0,
7006
- "joy-tab-button__selected": e.selected
7007
- })
7008
- }, [
7009
- h("button", ss, [
7003
+ }, {
7004
+ default: z(() => [
7005
+ h("div", rs, [
7010
7006
  w(i.$slots, "default", {}, () => [
7011
7007
  R(J(e.label), 1)
7012
7008
  ], !0),
@@ -7017,10 +7013,11 @@ const Va = /* @__PURE__ */ B({
7017
7013
  number: e.notifications
7018
7014
  }, null, 8, ["number"])) : k("", !0)
7019
7015
  ])
7020
- ], 2)
7021
- ], 40, rs));
7016
+ ]),
7017
+ _: 3
7018
+ }, 40, ["id", "type", "href", "aria-selected", "class"]));
7022
7019
  }
7023
- }), cs = /* @__PURE__ */ E(us, [["__scopeId", "data-v-358b26cc"]]), ds = { class: "joy-tabs" }, fs = /* @__PURE__ */ B({
7020
+ }), us = /* @__PURE__ */ E(ss, [["__scopeId", "data-v-07b24e2a"]]), cs = { class: "joy-tabs" }, ds = /* @__PURE__ */ B({
7024
7021
  __name: "VJoyTabs",
7025
7022
  props: {
7026
7023
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -7063,7 +7060,7 @@ const Va = /* @__PURE__ */ B({
7063
7060
  (b = u.value) == null || b.removeEventListener("scroll", y);
7064
7061
  }), t({
7065
7062
  tabs: d
7066
- }), (b, $) => (c(), v("div", ds, [
7063
+ }), (b, $) => (c(), v("div", cs, [
7067
7064
  h("div", {
7068
7065
  ref_key: "buttonListWrapper",
7069
7066
  ref: i,
@@ -7082,7 +7079,7 @@ const Va = /* @__PURE__ */ B({
7082
7079
  (c(!0), v(H, null, K(d.value, (_) => (c(), v("div", {
7083
7080
  key: _.props.tab
7084
7081
  }, [
7085
- D(cs, {
7082
+ D(us, {
7086
7083
  tab: _.props.tab,
7087
7084
  label: _.props.label,
7088
7085
  href: _.props.href,
@@ -7093,7 +7090,7 @@ const Va = /* @__PURE__ */ B({
7093
7090
  default: z(() => {
7094
7091
  var j;
7095
7092
  return [
7096
- (j = _.children) != null && j.header ? (c(), T(Q(_.children.header), { key: 0 })) : k("", !0)
7093
+ (j = _.children) != null && j.header ? (c(), T(X(_.children.header), { key: 0 })) : k("", !0)
7097
7094
  ];
7098
7095
  }),
7099
7096
  _: 2
@@ -7106,7 +7103,7 @@ const Va = /* @__PURE__ */ B({
7106
7103
  ])
7107
7104
  ]));
7108
7105
  }
7109
- }), fc = /* @__PURE__ */ E(fs, [["__scopeId", "data-v-9aea2d41"]]), ys = ["id", "role", "tabindex"], ms = /* @__PURE__ */ B({
7106
+ }), dc = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-9aea2d41"]]), fs = ["id", "role", "tabindex"], ys = /* @__PURE__ */ B({
7110
7107
  __name: "VJoyTag",
7111
7108
  props: {
7112
7109
  label: {},
@@ -7165,9 +7162,9 @@ const Va = /* @__PURE__ */ B({
7165
7162
  onClick: zo(u, ["stop"]),
7166
7163
  onKeydown: Re(u, ["enter"])
7167
7164
  })) : k("", !0)
7168
- ], 10, ys));
7165
+ ], 10, fs));
7169
7166
  }
7170
- }), ko = /* @__PURE__ */ E(ms, [["__scopeId", "data-v-4d8f5321"]]);
7167
+ }), ko = /* @__PURE__ */ E(ys, [["__scopeId", "data-v-4d8f5321"]]);
7171
7168
  var Me = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(Me || {});
7172
7169
  function Ft(e) {
7173
7170
  if (!Array.isArray(e) && typeof e != "string")
@@ -7180,7 +7177,7 @@ function Ft(e) {
7180
7177
  return o;
7181
7178
  }) === void 0 : t(e);
7182
7179
  }
7183
- const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholder"], hs = { key: 0 }, gs = { key: 1 }, bs = /* @__PURE__ */ B({
7180
+ const ms = { class: "joy-tags-input__wrapper" }, ps = ["id", "name", "placeholder"], vs = { key: 0 }, hs = { key: 1 }, gs = /* @__PURE__ */ B({
7184
7181
  __name: "VJoyTagsInput",
7185
7182
  props: {
7186
7183
  name: {},
@@ -7207,8 +7204,8 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7207
7204
  var P, M;
7208
7205
  let L = !1;
7209
7206
  if (m.value) {
7210
- let X = a.value;
7211
- (P = i.value) != null && P.value && (X = [...X, (M = i.value) == null ? void 0 : M.value]), L = !Ft(X);
7207
+ let Q = a.value;
7208
+ (P = i.value) != null && P.value && (Q = [...Q, (M = i.value) == null ? void 0 : M.value]), L = !Ft(Q);
7212
7209
  }
7213
7210
  const C = y();
7214
7211
  u.value = L || C, C ? s.value = Me.DUPLICATED_ENTRY : L ? s.value = Me.INVALID_EMAIL : s.value = null;
@@ -7252,7 +7249,7 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7252
7249
  ), t({
7253
7250
  isInvalid: u,
7254
7251
  hasDuplicates: y
7255
- }), (L, C) => (c(), v("div", ps, [
7252
+ }), (L, C) => (c(), v("div", ms, [
7256
7253
  L.$slots.default ? (c(), T(Pe, {
7257
7254
  key: 0,
7258
7255
  id: e.name,
@@ -7297,7 +7294,7 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7297
7294
  onKeydown: _,
7298
7295
  onFocus: j,
7299
7296
  onBlur: x
7300
- }, null, 40, vs)
7297
+ }, null, 40, ps)
7301
7298
  ], 2),
7302
7299
  p.value ? (c(), T(_t, {
7303
7300
  key: 1,
@@ -7305,15 +7302,15 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7305
7302
  }, {
7306
7303
  default: z(() => [
7307
7304
  h("ul", null, [
7308
- f.value ? (c(), v("li", hs, J(e.duplicationError), 1)) : k("", !0),
7309
- d.value ? (c(), v("li", gs, J(e.invalidEmailError), 1)) : k("", !0)
7305
+ f.value ? (c(), v("li", vs, J(e.duplicationError), 1)) : k("", !0),
7306
+ d.value ? (c(), v("li", hs, J(e.invalidEmailError), 1)) : k("", !0)
7310
7307
  ])
7311
7308
  ]),
7312
7309
  _: 1
7313
7310
  })) : k("", !0)
7314
7311
  ]));
7315
7312
  }
7316
- }), yc = /* @__PURE__ */ E(bs, [["__scopeId", "data-v-efb84377"]]), ws = /* @__PURE__ */ B({
7313
+ }), fc = /* @__PURE__ */ E(gs, [["__scopeId", "data-v-efb84377"]]), bs = /* @__PURE__ */ B({
7317
7314
  __name: "VJoyTagsList",
7318
7315
  props: {
7319
7316
  align: {
@@ -7391,36 +7388,36 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7391
7388
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
7392
7389
  ], 2));
7393
7390
  }
7394
- }), mc = /* @__PURE__ */ E(ws, [["__scopeId", "data-v-1d8003ef"]]), js = {}, ks = {
7391
+ }), yc = /* @__PURE__ */ E(bs, [["__scopeId", "data-v-1d8003ef"]]), ws = {}, js = {
7395
7392
  class: /* @__PURE__ */ I(["joy-template-shape__shapes"])
7396
7393
  };
7397
- function _s(e, t) {
7398
- return c(), v("div", ks, [...t[0] || (t[0] = [
7394
+ function ks(e, t) {
7395
+ return c(), v("div", js, [...t[0] || (t[0] = [
7399
7396
  Ht('<div class="shapes__wrapper" data-v-2077977e><div class="shape_1" data-v-2077977e></div><div class="shape_2" data-v-2077977e></div><div class="shape_3" data-v-2077977e></div><div class="shape_4" data-v-2077977e></div></div>', 1)
7400
7397
  ])]);
7401
7398
  }
7402
- const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e"]]), Cs = { class: "joy-template__wrapper" }, Ss = {
7399
+ const _s = /* @__PURE__ */ E(ws, [["render", ks], ["__scopeId", "data-v-2077977e"]]), $s = { class: "joy-template__wrapper" }, Cs = {
7403
7400
  key: 0,
7404
7401
  class: "joy-template__heading"
7405
- }, xs = {
7402
+ }, Ss = {
7406
7403
  key: 0,
7407
7404
  class: "joy-template-slot-back"
7408
- }, Vs = { class: "joy-template__heading___headings" }, Ts = {
7405
+ }, xs = { class: "joy-template__heading___headings" }, Vs = {
7409
7406
  key: 0,
7410
7407
  class: "joy-template-slot-title"
7411
- }, Is = {
7408
+ }, Ts = {
7412
7409
  key: 1,
7413
7410
  class: "joy-template-slot-subtitle"
7414
- }, Ls = {
7411
+ }, Is = {
7415
7412
  key: 1,
7416
7413
  class: "joy-template-slot-actions"
7417
- }, Bs = {
7414
+ }, Ls = {
7418
7415
  key: 0,
7419
7416
  class: "joy-template-slot-main"
7420
- }, As = {
7417
+ }, Bs = {
7421
7418
  key: 1,
7422
7419
  class: "joy-template-slot-sidebar"
7423
- }, Es = /* @__PURE__ */ B({
7420
+ }, As = /* @__PURE__ */ B({
7424
7421
  __name: "VJoyTemplate",
7425
7422
  props: {
7426
7423
  /** Takes 100% of free space */
@@ -7445,21 +7442,21 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7445
7442
  return (l, a) => (c(), v("div", {
7446
7443
  class: I(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7447
7444
  }, [
7448
- e.shapes ? (c(), T($s, { key: 0 })) : k("", !0),
7449
- h("div", Cs, [
7450
- o.value ? (c(), v("div", Ss, [
7451
- n["template-back"] ? (c(), v("div", xs, [
7445
+ e.shapes ? (c(), T(_s, { key: 0 })) : k("", !0),
7446
+ h("div", $s, [
7447
+ o.value ? (c(), v("div", Cs, [
7448
+ n["template-back"] ? (c(), v("div", Ss, [
7452
7449
  w(l.$slots, "template-back", {}, void 0, !0)
7453
7450
  ])) : k("", !0),
7454
- h("div", Vs, [
7455
- n["template-title"] ? (c(), v("div", Ts, [
7451
+ h("div", xs, [
7452
+ n["template-title"] ? (c(), v("div", Vs, [
7456
7453
  w(l.$slots, "template-title", {}, void 0, !0)
7457
7454
  ])) : k("", !0),
7458
- n["template-subtitle"] ? (c(), v("div", Is, [
7455
+ n["template-subtitle"] ? (c(), v("div", Ts, [
7459
7456
  w(l.$slots, "template-subtitle", {}, void 0, !0)
7460
7457
  ])) : k("", !0)
7461
7458
  ]),
7462
- n["template-actions"] ? (c(), v("div", Ls, [
7459
+ n["template-actions"] ? (c(), v("div", Is, [
7463
7460
  w(l.$slots, "template-actions", {}, void 0, !0)
7464
7461
  ])) : k("", !0)
7465
7462
  ])) : k("", !0),
@@ -7471,10 +7468,10 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7471
7468
  }
7472
7469
  ])
7473
7470
  }, [
7474
- l.$slots["template-main"] ? (c(), v("div", Bs, [
7471
+ l.$slots["template-main"] ? (c(), v("div", Ls, [
7475
7472
  w(l.$slots, "template-main", {}, void 0, !0)
7476
7473
  ])) : k("", !0),
7477
- l.$slots["template-sidebar"] ? (c(), v("div", As, [
7474
+ l.$slots["template-sidebar"] ? (c(), v("div", Bs, [
7478
7475
  w(l.$slots, "template-sidebar", {}, void 0, !0)
7479
7476
  ])) : k("", !0)
7480
7477
  ], 2)
@@ -7491,7 +7488,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7491
7488
  }, 8, ["color"])) : k("", !0)
7492
7489
  ], 2));
7493
7490
  }
7494
- }), pc = /* @__PURE__ */ E(Es, [["__scopeId", "data-v-37b74fad"]]), zs = /* @__PURE__ */ B({
7491
+ }), mc = /* @__PURE__ */ E(As, [["__scopeId", "data-v-37b74fad"]]), Es = /* @__PURE__ */ B({
7495
7492
  __name: "VJoyText",
7496
7493
  props: {
7497
7494
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7506,7 +7503,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7506
7503
  }
7507
7504
  },
7508
7505
  setup(e) {
7509
- return (t, n) => (c(), T(Q(e.tagName), {
7506
+ return (t, n) => (c(), T(X(e.tagName), {
7510
7507
  class: I(`joy-text joy-font-${e.preset}`)
7511
7508
  }, {
7512
7509
  default: z(() => [
@@ -7515,13 +7512,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7515
7512
  _: 3
7516
7513
  }, 8, ["class"]));
7517
7514
  }
7518
- }), vc = /* @__PURE__ */ E(zs, [["__scopeId", "data-v-8a40109a"]]), Js = ["aria-disabled"], Ps = { class: "joy-textarea_wrapper" }, Ms = ["id", "disabled", "name", "required", "minlength", "value"], Fs = {
7515
+ }), pc = /* @__PURE__ */ E(Es, [["__scopeId", "data-v-8a40109a"]]), zs = ["aria-disabled"], Js = { class: "joy-textarea_wrapper" }, Ps = ["id", "disabled", "name", "required", "minlength", "value"], Ms = {
7519
7516
  key: 1,
7520
7517
  class: "joy-textarea_helpers"
7521
- }, Os = {
7518
+ }, Fs = {
7522
7519
  inheritAttrs: !1
7523
- }, Ds = /* @__PURE__ */ B({
7524
- ...Os,
7520
+ }, Os = /* @__PURE__ */ B({
7521
+ ...Fs,
7525
7522
  __name: "VJoyTextarea",
7526
7523
  props: {
7527
7524
  autofocus: {
@@ -7643,7 +7640,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7643
7640
  ]),
7644
7641
  _: 3
7645
7642
  }, 8, ["for", "required", "optional-label", "size"])) : k("", !0),
7646
- h("div", Ps, [
7643
+ h("div", Js, [
7647
7644
  h("textarea", q(y.$attrs, {
7648
7645
  id: e.id,
7649
7646
  ref_key: "textarea",
@@ -7663,9 +7660,9 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7663
7660
  (...b) => p.onFocus && p.onFocus(...b)),
7664
7661
  onBlur: g[3] || (g[3] = //@ts-ignore
7665
7662
  (...b) => p.onBlur && p.onBlur(...b))
7666
- }), null, 16, Ms)
7663
+ }), null, 16, Ps)
7667
7664
  ]),
7668
- e.minlength || e.maxlength ? (c(), v("div", Fs, [
7665
+ e.minlength || e.maxlength ? (c(), v("div", Ms, [
7669
7666
  e.minlength ? (c(), v("p", {
7670
7667
  key: 0,
7671
7668
  class: I(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -7683,25 +7680,25 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7683
7680
  class: I(["joy-textarea-count", { "joy-textarea-count-invalid": m.value }])
7684
7681
  }, J(e.modelValue.length + "/" + e.maxlength), 3)) : k("", !0)
7685
7682
  ])) : k("", !0)
7686
- ], 10, Js));
7683
+ ], 10, zs));
7687
7684
  }
7688
- }), hc = /* @__PURE__ */ E(Ds, [["__scopeId", "data-v-f62629b6"]]), Rs = /* @__PURE__ */ B({
7685
+ }), vc = /* @__PURE__ */ E(Os, [["__scopeId", "data-v-f62629b6"]]), Ds = /* @__PURE__ */ B({
7689
7686
  __name: "VJoyTitleBrand",
7690
7687
  props: {
7691
7688
  tag: { default: "p" }
7692
7689
  },
7693
7690
  setup(e) {
7694
- return (t, n) => (c(), T(Q(e.tag), { class: "joy-title-brand joy-font-secondary-200" }, {
7691
+ return (t, n) => (c(), T(X(e.tag), { class: "joy-title-brand joy-font-secondary-200" }, {
7695
7692
  default: z(() => [
7696
7693
  w(t.$slots, "default", {}, void 0, !0)
7697
7694
  ]),
7698
7695
  _: 3
7699
7696
  }));
7700
7697
  }
7701
- }), gc = /* @__PURE__ */ E(Rs, [["__scopeId", "data-v-72b57f87"]]), Ns = { class: "joy-toggle__wrapper" }, qs = ["name", "disabled", "checked", "required", "aria-checked", "value"], Hs = { class: "joy-toggle__symbol" }, Ws = { class: "joy-toggle__symbol-bubble" }, Us = {
7698
+ }), hc = /* @__PURE__ */ E(Ds, [["__scopeId", "data-v-72b57f87"]]), Rs = { class: "joy-toggle__wrapper" }, Ns = ["name", "disabled", "checked", "required", "aria-checked", "value"], qs = { class: "joy-toggle__symbol" }, Hs = { class: "joy-toggle__symbol-bubble" }, Ws = {
7702
7699
  key: 0,
7703
7700
  class: "joy-toggle__symbol-smile"
7704
- }, Gs = { class: "joy-toggle__content-label" }, Ks = /* @__PURE__ */ B({
7701
+ }, Us = { class: "joy-toggle__content-label" }, Gs = /* @__PURE__ */ B({
7705
7702
  __name: "VJoyToggle",
7706
7703
  props: {
7707
7704
  modelValue: {
@@ -7760,7 +7757,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7760
7757
  o.value = !1;
7761
7758
  }
7762
7759
  };
7763
- return (a, r) => (c(), v("div", Ns, [
7760
+ return (a, r) => (c(), v("div", Rs, [
7764
7761
  h("label", {
7765
7762
  class: I([
7766
7763
  "joy-toggle",
@@ -7790,13 +7787,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7790
7787
  (...i) => l.onFocus && l.onFocus(...i)),
7791
7788
  onBlur: r[2] || (r[2] = //@ts-ignore
7792
7789
  (...i) => l.onBlur && l.onBlur(...i))
7793
- }, null, 40, qs),
7790
+ }, null, 40, Ns),
7794
7791
  h("p", {
7795
7792
  class: I(["joy-toggle__content", { "joy-toggle__content--label-left": e.labelPosition === "left" }])
7796
7793
  }, [
7797
- h("span", Hs, [
7798
- h("span", Ws, [
7799
- e.variant === "default" ? (c(), v("span", Us, [...r[3] || (r[3] = [
7794
+ h("span", qs, [
7795
+ h("span", Hs, [
7796
+ e.variant === "default" ? (c(), v("span", Ws, [...r[3] || (r[3] = [
7800
7797
  h("svg", {
7801
7798
  width: "18",
7802
7799
  height: "10",
@@ -7816,7 +7813,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7816
7813
  }))
7817
7814
  ])
7818
7815
  ]),
7819
- h("span", Gs, [
7816
+ h("span", Us, [
7820
7817
  w(a.$slots, "default", {}, () => [
7821
7818
  R(J(e.label), 1)
7822
7819
  ], !0)
@@ -7825,7 +7822,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7825
7822
  ], 2)
7826
7823
  ]));
7827
7824
  }
7828
- }), bc = /* @__PURE__ */ E(Ks, [["__scopeId", "data-v-71b1ca7c"]]), Ys = { class: "joy-user-card__picture" }, Zs = { class: "joy-user-card__informations" }, Xs = { class: "joy-user-card__title" }, Qs = { class: "joy-user-card__subtitle joy-font-primary-450" }, eu = /* @__PURE__ */ B({
7825
+ }), gc = /* @__PURE__ */ E(Gs, [["__scopeId", "data-v-71b1ca7c"]]), Ks = { class: "joy-user-card__picture" }, Ys = { class: "joy-user-card__informations" }, Zs = { class: "joy-user-card__title" }, Xs = { class: "joy-user-card__subtitle joy-font-primary-450" }, Qs = /* @__PURE__ */ B({
7829
7826
  __name: "VJoyUserCard",
7830
7827
  props: {
7831
7828
  /**
@@ -7852,13 +7849,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7852
7849
  }
7853
7850
  },
7854
7851
  setup(e) {
7855
- return (t, n) => (c(), T(Q(e.link ? "a" : "div"), q({
7852
+ return (t, n) => (c(), T(X(e.link ? "a" : "div"), q({
7856
7853
  class: "joy-user-card",
7857
7854
  href: e.link,
7858
7855
  title: e.fullName
7859
7856
  }, t.$attrs), {
7860
7857
  default: z(() => [
7861
- h("div", Ys, [
7858
+ h("div", Ks, [
7862
7859
  w(t.$slots, "user-card-avatar", {}, () => [
7863
7860
  D(un, {
7864
7861
  "photo-url": e.photoUrl,
@@ -7866,13 +7863,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7866
7863
  }, null, 8, ["photo-url", "full-name"])
7867
7864
  ], !0)
7868
7865
  ]),
7869
- h("div", Zs, [
7870
- h("p", Xs, [
7866
+ h("div", Ys, [
7867
+ h("p", Zs, [
7871
7868
  w(t.$slots, "user-card-title", {}, () => [
7872
7869
  R(J(e.fullName), 1)
7873
7870
  ], !0)
7874
7871
  ]),
7875
- h("p", Qs, [
7872
+ h("p", Xs, [
7876
7873
  w(t.$slots, "user-card-subtitle", {}, () => [
7877
7874
  R(J(e.subTitle), 1)
7878
7875
  ], !0)
@@ -7891,13 +7888,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7891
7888
  _: 3
7892
7889
  }, 16, ["href", "title"]));
7893
7890
  }
7894
- }), wc = /* @__PURE__ */ E(eu, [["__scopeId", "data-v-e0dba25f"]]), tu = { class: "joy-walkthrough-trigger__content" }, ou = {
7891
+ }), bc = /* @__PURE__ */ E(Qs, [["__scopeId", "data-v-e0dba25f"]]), eu = { class: "joy-walkthrough-trigger__content" }, tu = {
7895
7892
  key: 0,
7896
7893
  class: "joy-pr-3"
7897
- }, nu = {
7894
+ }, ou = {
7898
7895
  key: 1,
7899
7896
  class: "joy-pl-3"
7900
- }, lu = /* @__PURE__ */ B({
7897
+ }, nu = /* @__PURE__ */ B({
7901
7898
  __name: "VJoyWalkthroughTrigger",
7902
7899
  props: {
7903
7900
  icon: {},
@@ -7920,9 +7917,9 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7920
7917
  class: "joy-walkthrough-trigger__icon joy-mr-3",
7921
7918
  name: e.icon
7922
7919
  }, null, 8, ["name"])) : k("", !0),
7923
- h("div", tu, [
7924
- e.title ? (c(), v("span", ou, J(e.title), 1)) : k("", !0),
7925
- e.subtitle ? (c(), v("span", nu, J(e.subtitle), 1)) : k("", !0)
7920
+ h("div", eu, [
7921
+ e.title ? (c(), v("span", tu, J(e.title), 1)) : k("", !0),
7922
+ e.subtitle ? (c(), v("span", ou, J(e.subtitle), 1)) : k("", !0)
7926
7923
  ]),
7927
7924
  D(N, {
7928
7925
  class: "joy-ml-3",
@@ -7934,16 +7931,16 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7934
7931
  ]);
7935
7932
  };
7936
7933
  }
7937
- }), au = /* @__PURE__ */ E(lu, [["__scopeId", "data-v-e34e1407"]]), iu = { class: "joy-walkthrough-modal__illustration" }, ru = { class: "joy-walkthrough-modal__content___titles" }, su = { class: "joy-walkthrough-modal__content___title" }, uu = { class: "joy-walkthrough-modal__content___subtitle" }, cu = {
7934
+ }), lu = /* @__PURE__ */ E(nu, [["__scopeId", "data-v-e34e1407"]]), au = { class: "joy-walkthrough-modal__illustration" }, iu = { class: "joy-walkthrough-modal__content___titles" }, ru = { class: "joy-walkthrough-modal__content___title" }, su = { class: "joy-walkthrough-modal__content___subtitle" }, uu = {
7938
7935
  key: 0,
7939
7936
  class: "joy-mt-4"
7940
- }, du = {
7937
+ }, cu = {
7941
7938
  key: 1,
7942
7939
  class: "joy-mt-4 joy-walkthrough-modal__content-inner"
7943
- }, fu = {
7940
+ }, du = {
7944
7941
  type: "button",
7945
7942
  class: "joy-walkthrough-modal__footer-button joy-color-secondary-50 joy-font-primary-300"
7946
- }, yu = /* @__PURE__ */ B({
7943
+ }, fu = /* @__PURE__ */ B({
7947
7944
  __name: "VJoyWalkthrough",
7948
7945
  props: {
7949
7946
  open: { type: Boolean, default: !1 },
@@ -8027,24 +8024,24 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8027
8024
  wrap: "nowrap"
8028
8025
  }, {
8029
8026
  default: z(() => [
8030
- h("div", iu, [
8027
+ h("div", au, [
8031
8028
  w(f.$slots, "walkthrough-illustration", {}, void 0, !0)
8032
8029
  ]),
8033
- h("div", ru, [
8034
- h("div", su, [
8030
+ h("div", iu, [
8031
+ h("div", ru, [
8035
8032
  w(f.$slots, "walkthrough-title", {}, void 0, !0)
8036
8033
  ]),
8037
- h("div", uu, [
8034
+ h("div", su, [
8038
8035
  w(f.$slots, "walkthrough-subtitle", {}, void 0, !0)
8039
8036
  ])
8040
8037
  ])
8041
8038
  ]),
8042
8039
  _: 3
8043
8040
  }),
8044
- f.$slots["walkthrough-progress"] ? (c(), v("div", cu, [
8041
+ f.$slots["walkthrough-progress"] ? (c(), v("div", uu, [
8045
8042
  w(f.$slots, "walkthrough-progress", {}, void 0, !0)
8046
8043
  ])) : k("", !0),
8047
- f.$slots["walkthrough-content"] ? (c(), v("div", du, [
8044
+ f.$slots["walkthrough-content"] ? (c(), v("div", cu, [
8048
8045
  w(f.$slots, "walkthrough-content", {}, void 0, !0)
8049
8046
  ])) : k("", !0)
8050
8047
  ], 2),
@@ -8053,10 +8050,10 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8053
8050
  class: "joy-walkthrough-modal__footer joy-p-6",
8054
8051
  onClick: m
8055
8052
  }, [
8056
- h("button", fu, J(e.footer), 1)
8053
+ h("button", du, J(e.footer), 1)
8057
8054
  ])) : k("", !0)
8058
8055
  ], 16)) : k("", !0),
8059
- r.value ? k("", !0) : (c(), T(au, q({ key: 1 }, e.triggerAttrs, {
8056
+ r.value ? k("", !0) : (c(), T(lu, q({ key: 1 }, e.triggerAttrs, {
8060
8057
  title: e.triggerTitle,
8061
8058
  subtitle: e.triggerSubtitle,
8062
8059
  icon: e.triggerIcon,
@@ -8066,98 +8063,98 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8066
8063
  ], 2)
8067
8064
  ], 8, ["disabled"]));
8068
8065
  }
8069
- }), jc = /* @__PURE__ */ E(yu, [["__scopeId", "data-v-bfb1ca7c"]]), kc = {
8066
+ }), wc = /* @__PURE__ */ E(fu, [["__scopeId", "data-v-bfb1ca7c"]]), jc = {
8070
8067
  install: (e) => {
8071
8068
  typeof window < "u" && Yt(), e.directive("joy-ripple", Wt), e.directive("bind-once", Oo);
8072
8069
  }
8073
8070
  };
8074
8071
  export {
8075
- kc as JoyVueLightPlugin,
8076
- hu as VJoyAdminBanner,
8077
- gu as VJoyAvailability,
8072
+ jc as JoyVueLightPlugin,
8073
+ vu as VJoyAdminBanner,
8074
+ hu as VJoyAvailability,
8078
8075
  un as VJoyAvatar,
8079
- bu as VJoyAvatarsList,
8080
- wu as VJoyBadge,
8081
- ju as VJoyBadgeLevel,
8082
- ku as VJoyBlockSkeleton,
8083
- _u as VJoyBottomSheet,
8084
- $u as VJoyBottomSheetTrigger,
8076
+ gu as VJoyAvatarsList,
8077
+ bu as VJoyBadge,
8078
+ wu as VJoyBadgeLevel,
8079
+ ju as VJoyBlockSkeleton,
8080
+ ku as VJoyBottomSheet,
8081
+ _u as VJoyBottomSheetTrigger,
8085
8082
  Ee as VJoyButton,
8086
- Cu as VJoyButtonCard,
8083
+ $u as VJoyButtonCard,
8087
8084
  vt as VJoyCheckbox,
8088
- Su as VJoyCheckboxCard,
8089
- xu as VJoyCheckboxGroup,
8090
- Vu as VJoyCollapse,
8085
+ Cu as VJoyCheckboxCard,
8086
+ Su as VJoyCheckboxGroup,
8087
+ xu as VJoyCollapse,
8091
8088
  Zl as VJoyCollapseItem,
8092
- Tu as VJoyCompanyAvatar,
8093
- Iu as VJoyDialog,
8094
- Lu as VJoyDialogTrigger,
8089
+ Vu as VJoyCompanyAvatar,
8090
+ Tu as VJoyDialog,
8091
+ Iu as VJoyDialogTrigger,
8095
8092
  Zt as VJoyDot,
8096
- Bu as VJoyDrawer,
8097
- Au as VJoyDrawerTrigger,
8098
- Eu as VJoyDropdown,
8093
+ Lu as VJoyDrawer,
8094
+ Bu as VJoyDrawerTrigger,
8095
+ Au as VJoyDropdown,
8099
8096
  Sa as VJoyDropdownList,
8100
- zu as VJoyDropzone,
8101
- Ju as VJoyFilterBar,
8102
- Pu as VJoyFilterBarButton,
8103
- Mu as VJoyFloatingActionsBar,
8097
+ Eu as VJoyDropzone,
8098
+ zu as VJoyFilterBar,
8099
+ Ju as VJoyFilterBarButton,
8100
+ Pu as VJoyFloatingActionsBar,
8104
8101
  _t as VJoyFormError,
8105
- Fu as VJoyFormFieldSkeleton,
8106
- Ou as VJoyFormGroup,
8107
- Du as VJoyFunnel,
8108
- Ru as VJoyFunnelFooter,
8109
- Nu as VJoyFunnelHeader,
8110
- qu as VJoyHighlight,
8102
+ Mu as VJoyFormFieldSkeleton,
8103
+ Fu as VJoyFormGroup,
8104
+ Ou as VJoyFunnel,
8105
+ Du as VJoyFunnelFooter,
8106
+ Ru as VJoyFunnelHeader,
8107
+ Nu as VJoyHighlight,
8111
8108
  N as VJoyIcon,
8112
8109
  Ve as VJoyIconButton,
8113
8110
  ki as VJoyIndicator,
8114
- Hu as VJoyIndicators,
8111
+ qu as VJoyIndicators,
8115
8112
  $t as VJoyInput,
8116
- Wu as VJoyInputDigit,
8117
- Uu as VJoyInputNumber,
8118
- Gu as VJoyInputPassword,
8113
+ Hu as VJoyInputDigit,
8114
+ Wu as VJoyInputNumber,
8115
+ Uu as VJoyInputPassword,
8119
8116
  Pe as VJoyLabel,
8120
8117
  Ra as VJoyLink,
8121
- Ku as VJoyListItem,
8122
- Yu as VJoyMenu,
8123
- Zu as VJoyMenuItem,
8124
- xu as VJoyMultiCheckbox,
8125
- Xu as VJoyPagination,
8126
- Qu as VJoyPanel,
8127
- ec as VJoyPanelSection,
8128
- tc as VJoyPasswordRequirement,
8129
- oc as VJoyProductTour,
8130
- nc as VJoyProductTourTrigger,
8131
- lc as VJoyProgressBar,
8132
- ac as VJoyRadio,
8133
- ic as VJoyRadioGroup,
8118
+ Gu as VJoyListItem,
8119
+ Ku as VJoyMenu,
8120
+ Yu as VJoyMenuItem,
8121
+ Su as VJoyMultiCheckbox,
8122
+ Zu as VJoyPagination,
8123
+ Xu as VJoyPanel,
8124
+ Qu as VJoyPanelSection,
8125
+ ec as VJoyPasswordRequirement,
8126
+ tc as VJoyProductTour,
8127
+ oc as VJoyProductTourTrigger,
8128
+ nc as VJoyProgressBar,
8129
+ lc as VJoyRadio,
8130
+ ac as VJoyRadioGroup,
8134
8131
  Or as VJoyRatingStars,
8135
8132
  wo as VJoyScreenLoader,
8136
- rc as VJoySelect,
8133
+ ic as VJoySelect,
8137
8134
  Gr as VJoySelectableItem,
8138
- sc as VJoySelectableItemGroup,
8139
- uc as VJoySeparator,
8135
+ rc as VJoySelectableItemGroup,
8136
+ sc as VJoySeparator,
8140
8137
  Go as VJoySnackbar,
8141
8138
  Xt as VJoySpinner,
8142
8139
  os as VJoyStep,
8143
- cc as VJoyStepper,
8144
- dc as VJoyTab,
8145
- fc as VJoyTabs,
8140
+ uc as VJoyStepper,
8141
+ cc as VJoyTab,
8142
+ dc as VJoyTabs,
8146
8143
  ko as VJoyTag,
8147
- yc as VJoyTagsInput,
8148
- mc as VJoyTagsList,
8149
- pc as VJoyTemplate,
8150
- vc as VJoyText,
8151
- hc as VJoyTextarea,
8152
- gc as VJoyTitleBrand,
8153
- bc as VJoyToggle,
8144
+ fc as VJoyTagsInput,
8145
+ yc as VJoyTagsList,
8146
+ mc as VJoyTemplate,
8147
+ pc as VJoyText,
8148
+ vc as VJoyTextarea,
8149
+ hc as VJoyTitleBrand,
8150
+ gc as VJoyToggle,
8154
8151
  Pl as VJoyTooltip,
8155
- wc as VJoyUserCard,
8156
- jc as VJoyWalkthrough,
8157
- au as VJoyWalkthroughTrigger,
8152
+ bc as VJoyUserCard,
8153
+ wc as VJoyWalkthrough,
8154
+ lu as VJoyWalkthroughTrigger,
8158
8155
  ue as VJoyWrapper,
8159
8156
  Yt as createAllSnackbarsContainer,
8160
- vu as pushVJoySnackbar,
8161
- pu as resetCount,
8157
+ pu as pushVJoySnackbar,
8158
+ mu as resetCount,
8162
8159
  Wt as vJoyRipple
8163
8160
  };