@maltjoy/core-vue 5.22.1 → 5.22.2-next.1

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,26 +4200,30 @@ const Va = /* @__PURE__ */ B({
4200
4200
  },
4201
4201
  setup(e) {
4202
4202
  const t = Y();
4203
- return (n, o) => (c(), v("div", {
4204
- "data-joy-form-error": "",
4205
- "aria-hidden": e.visible,
4206
- class: I(["joy-form-error", { "joy-has-error": e.visible, "joy-form-error--no-margin": e.noMargin }]),
4207
- role: "alert"
4208
- }, [
4209
- D(N, {
4210
- class: "joy-icon-error",
4211
- name: "warning-triangle"
4212
- }),
4213
- h("div", null, [
4214
- t.default ? w(n.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", Ia, [
4215
- (c(!0), v(H, null, K(e.errors, (l) => (c(), v("li", { key: l }, J(l), 1))), 128))
4216
- ])) : (c(), v(H, { key: 2 }, [
4217
- R(J(e.noHtmlErrorText), 1)
4218
- ], 64))
4219
- ])
4220
- ], 10, Ta));
4203
+ return (n, o) => {
4204
+ var l;
4205
+ return t.default || (l = e.errors) != null && l.length || e.noHtmlErrorText ? (c(), v("div", {
4206
+ key: 0,
4207
+ "data-joy-form-error": "",
4208
+ "aria-hidden": e.visible,
4209
+ class: I(["joy-form-error", { "joy-has-error": e.visible, "joy-form-error--no-margin": e.noMargin }]),
4210
+ role: "alert"
4211
+ }, [
4212
+ D(N, {
4213
+ class: "joy-icon-error",
4214
+ name: "warning-triangle"
4215
+ }),
4216
+ h("div", null, [
4217
+ t.default ? w(n.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", Ia, [
4218
+ (c(!0), v(H, null, K(e.errors, (a) => (c(), v("li", { key: a }, J(a), 1))), 128))
4219
+ ])) : (c(), v(H, { key: 2 }, [
4220
+ R(J(e.noHtmlErrorText), 1)
4221
+ ], 64))
4222
+ ])
4223
+ ], 10, Ta)) : k("", !0);
4224
+ };
4221
4225
  }
4222
- }), _t = /* @__PURE__ */ E(La, [["__scopeId", "data-v-de16f6d9"]]), Ba = { class: "joy-dropzone__icon-wrapper" }, Aa = /* @__PURE__ */ B({
4226
+ }), _t = /* @__PURE__ */ E(La, [["__scopeId", "data-v-cc934fa8"]]), Ba = { class: "joy-dropzone__icon-wrapper" }, Aa = /* @__PURE__ */ B({
4223
4227
  __name: "VJoyDropzoneIcon",
4224
4228
  props: {
4225
4229
  name: { type: String, required: !0 },
@@ -4326,7 +4330,7 @@ const Va = /* @__PURE__ */ B({
4326
4330
  }
4327
4331
  },
4328
4332
  setup(e) {
4329
- return (t, n) => (c(), T(Q(e.href ? "a" : "button"), q({ href: e.href }, t.$attrs, {
4333
+ return (t, n) => (c(), T(X(e.href ? "a" : "button"), q({ href: e.href }, t.$attrs, {
4330
4334
  class: ["joy-link", `joy-link_${e.color}`],
4331
4335
  type: e.type
4332
4336
  }), {
@@ -4403,7 +4407,7 @@ const Va = /* @__PURE__ */ B({
4403
4407
  function x(O) {
4404
4408
  var G;
4405
4409
  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)));
4410
+ o.disabled || !U || U.length === 0 || (i.value ? (Q(i.value, Array.from(U)), i.value = void 0) : M(Array.from(U)));
4407
4411
  }
4408
4412
  function A(O) {
4409
4413
  o.disabled || !O || O.length === 0 || (i.value = void 0, M(O));
@@ -4420,7 +4424,7 @@ const Va = /* @__PURE__ */ B({
4420
4424
  function M(O) {
4421
4425
  o.multiple ? C([...l.value, ...O]) : C([O[0]]);
4422
4426
  }
4423
- function X(O, [U, ...G]) {
4427
+ function Q(O, [U, ...G]) {
4424
4428
  if (o.multiple) {
4425
4429
  const Z = [...l.value];
4426
4430
  Z[l.value.indexOf(O)] = U, Z.push(...G), C(Z);
@@ -4530,7 +4534,7 @@ const Va = /* @__PURE__ */ B({
4530
4534
  }, null, 8, ["no-html-error-text"])) : k("", !0)
4531
4535
  ], 2));
4532
4536
  }
4533
- }), zu = /* @__PURE__ */ E(Ka, [["__scopeId", "data-v-9f9a9756"]]), Ya = ["aria-label"], Za = { class: "joy-filter-bar__wrapper" }, Xa = /* @__PURE__ */ B({
4537
+ }), Eu = /* @__PURE__ */ E(Ka, [["__scopeId", "data-v-9f9a9756"]]), Ya = ["aria-label"], Za = { class: "joy-filter-bar__wrapper" }, Xa = /* @__PURE__ */ B({
4534
4538
  __name: "VJoyFilterBar",
4535
4539
  props: {
4536
4540
  /** To give a label to the whole component */
@@ -4547,7 +4551,7 @@ const Va = /* @__PURE__ */ B({
4547
4551
  ])
4548
4552
  ], 8, Ya));
4549
4553
  }
4550
- }), Ju = /* @__PURE__ */ E(Xa, [["__scopeId", "data-v-cb769d05"]]), Qa = /* @__PURE__ */ B({
4554
+ }), zu = /* @__PURE__ */ E(Xa, [["__scopeId", "data-v-cb769d05"]]), Qa = /* @__PURE__ */ B({
4551
4555
  __name: "VJoyFilterBarButton",
4552
4556
  props: {
4553
4557
  /** Label to inject inside the button */
@@ -4585,7 +4589,7 @@ const Va = /* @__PURE__ */ B({
4585
4589
  })) : k("", !0)
4586
4590
  ], 2));
4587
4591
  }
4588
- }), Pu = /* @__PURE__ */ E(Qa, [["__scopeId", "data-v-ef875842"]]), ei = { class: "floating-actions-bar__content" }, ti = { class: "floating-actions-bar__actions" }, oi = /* @__PURE__ */ B({
4592
+ }), Ju = /* @__PURE__ */ E(Qa, [["__scopeId", "data-v-ef875842"]]), ei = { class: "floating-actions-bar__content" }, ti = { class: "floating-actions-bar__actions" }, oi = /* @__PURE__ */ B({
4589
4593
  __name: "VJoyFloatingActionsBar",
4590
4594
  props: {
4591
4595
  height: { default: "92px" },
@@ -4626,7 +4630,7 @@ const Va = /* @__PURE__ */ B({
4626
4630
  ], 6)
4627
4631
  ], 8, ["to"])) : k("", !0);
4628
4632
  }
4629
- }), Mu = /* @__PURE__ */ E(oi, [["__scopeId", "data-v-2d398d78"]]), ni = /* @__PURE__ */ B({
4633
+ }), Pu = /* @__PURE__ */ E(oi, [["__scopeId", "data-v-2d398d78"]]), ni = /* @__PURE__ */ B({
4630
4634
  __name: "VJoyFormFieldSkeleton",
4631
4635
  props: {
4632
4636
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -4664,7 +4668,7 @@ const Va = /* @__PURE__ */ B({
4664
4668
  })
4665
4669
  }, null, 6));
4666
4670
  }
4667
- }), Fu = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-3004f370"]]), li = /* @__PURE__ */ B({
4671
+ }), Mu = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-3004f370"]]), li = /* @__PURE__ */ B({
4668
4672
  inheritAttrs: !1,
4669
4673
  __name: "VJoyFormGroup",
4670
4674
  setup(e) {
@@ -4672,7 +4676,7 @@ const Va = /* @__PURE__ */ B({
4672
4676
  w(t.$slots, "default", {}, void 0, !0)
4673
4677
  ], 16));
4674
4678
  }
4675
- }), Ou = /* @__PURE__ */ E(li, [["__scopeId", "data-v-0424f0f1"]]), ai = { class: "joy-funnel__header" }, ii = { class: "funnel__header__inner" }, ri = /* @__PURE__ */ B({
4679
+ }), Fu = /* @__PURE__ */ E(li, [["__scopeId", "data-v-0424f0f1"]]), ai = { class: "joy-funnel__header" }, ii = { class: "funnel__header__inner" }, ri = /* @__PURE__ */ B({
4676
4680
  __name: "VJoyFunnel",
4677
4681
  props: {
4678
4682
  /**
@@ -4745,7 +4749,7 @@ const Va = /* @__PURE__ */ B({
4745
4749
  ], 32)
4746
4750
  ], 2));
4747
4751
  }
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({
4752
+ }), 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
4753
  __name: "VJoyFunnelFooter",
4750
4754
  setup(e) {
4751
4755
  return (t, n) => (c(), v("footer", si, [
@@ -4757,7 +4761,7 @@ const Va = /* @__PURE__ */ B({
4757
4761
  ])
4758
4762
  ]));
4759
4763
  }
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({
4764
+ }), 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
4765
  __name: "VJoyFunnelHeader",
4762
4766
  setup(e) {
4763
4767
  return (t, n) => (c(), v("header", fi, [
@@ -4769,7 +4773,7 @@ const Va = /* @__PURE__ */ B({
4769
4773
  ])
4770
4774
  ]));
4771
4775
  }
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({
4776
+ }), 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
4777
  __name: "VJoyHighlight",
4774
4778
  props: {
4775
4779
  accent: {
@@ -4826,7 +4830,7 @@ const Va = /* @__PURE__ */ B({
4826
4830
  ])
4827
4831
  ], 2));
4828
4832
  }
4829
- }), qu = /* @__PURE__ */ E(bi, [["__scopeId", "data-v-e5c2ff23"]]), wi = ["aria-label"], ji = /* @__PURE__ */ B({
4833
+ }), Nu = /* @__PURE__ */ E(bi, [["__scopeId", "data-v-e5c2ff23"]]), wi = ["aria-label"], ji = /* @__PURE__ */ B({
4830
4834
  __name: "VJoyIndicator",
4831
4835
  props: {
4832
4836
  /** Value is used for the parent v-model. Mandatory */
@@ -4905,7 +4909,7 @@ const Va = /* @__PURE__ */ B({
4905
4909
  }), null, 16, ["selected", "onClick"]))), 128))
4906
4910
  ], 2));
4907
4911
  }
4908
- }), Hu = /* @__PURE__ */ E(_i, [["__scopeId", "data-v-f2dd63e9"]]), $i = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ci = ["data-unit"], Si = /* @__PURE__ */ B({
4912
+ }), qu = /* @__PURE__ */ E(_i, [["__scopeId", "data-v-f2dd63e9"]]), $i = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ci = ["data-unit"], Si = /* @__PURE__ */ B({
4909
4913
  inheritAttrs: !1,
4910
4914
  __name: "VJoyInput",
4911
4915
  props: {
@@ -5231,7 +5235,7 @@ const Va = /* @__PURE__ */ B({
5231
5235
  ], 2)
5232
5236
  ]));
5233
5237
  }
5234
- }), Wu = /* @__PURE__ */ E(Vi, [["__scopeId", "data-v-f359f1d1"]]), Ti = { class: "joy-input-unit" }, Ii = {
5238
+ }), Hu = /* @__PURE__ */ E(Vi, [["__scopeId", "data-v-f359f1d1"]]), Ti = { class: "joy-input-unit" }, Ii = {
5235
5239
  key: 0,
5236
5240
  class: "joy-input__unit___label"
5237
5241
  }, Li = { class: "joy-input__unit___label____text" }, Bi = /* @__PURE__ */ B({
@@ -5284,7 +5288,7 @@ const Va = /* @__PURE__ */ B({
5284
5288
  }, 16)
5285
5289
  ]));
5286
5290
  }
5287
- }), Uu = /* @__PURE__ */ E(Bi, [["__scopeId", "data-v-1c0b98ad"]]), Ai = { class: "joy-input-password" }, Ei = /* @__PURE__ */ B({
5291
+ }), Wu = /* @__PURE__ */ E(Bi, [["__scopeId", "data-v-1c0b98ad"]]), Ai = { class: "joy-input-password" }, Ei = /* @__PURE__ */ B({
5288
5292
  inheritAttrs: !1,
5289
5293
  __name: "VJoyInputPassword",
5290
5294
  props: {
@@ -5347,7 +5351,7 @@ const Va = /* @__PURE__ */ B({
5347
5351
  })) : k("", !0)
5348
5352
  ]));
5349
5353
  }
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({
5354
+ }), 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
5355
  __name: "VJoyListItem",
5352
5356
  props: {
5353
5357
  icon: {}
@@ -5383,7 +5387,7 @@ const Va = /* @__PURE__ */ B({
5383
5387
  })
5384
5388
  ]));
5385
5389
  }
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({
5390
+ }), 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
5391
  __name: "VJoyMenu",
5388
5392
  props: {
5389
5393
  /**
@@ -5487,7 +5491,7 @@ const Va = /* @__PURE__ */ B({
5487
5491
  ], 40, Fi);
5488
5492
  };
5489
5493
  }
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({
5494
+ }), 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
5495
  inheritAttrs: !1,
5492
5496
  __name: "VJoyMenuItem",
5493
5497
  props: {
@@ -5517,7 +5521,7 @@ const Va = /* @__PURE__ */ B({
5517
5521
  "aria-label": e.label,
5518
5522
  role: "menuitem"
5519
5523
  }, [
5520
- (c(), T(Q(e.disabled ? "div" : e.type), q({ ...r.value, ...u.$attrs }, {
5524
+ (c(), T(X(e.disabled ? "div" : e.type), q({ ...r.value, ...u.$attrs }, {
5521
5525
  class: [
5522
5526
  "joy-menu-item__inner",
5523
5527
  {
@@ -5546,7 +5550,7 @@ const Va = /* @__PURE__ */ B({
5546
5550
  }, 16, ["class", "type"]))
5547
5551
  ], 8, Ni));
5548
5552
  }
5549
- }), Zu = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-1a8cef6b"]]), Mt = /* @__PURE__ */ B({
5553
+ }), Yu = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-1a8cef6b"]]), Mt = /* @__PURE__ */ B({
5550
5554
  __name: "PaginationIcon",
5551
5555
  props: {
5552
5556
  label: {
@@ -5680,7 +5684,7 @@ const Va = /* @__PURE__ */ B({
5680
5684
  ])
5681
5685
  ], 8, Wi));
5682
5686
  }
5683
- }), Xu = /* @__PURE__ */ E(Yi, [["__scopeId", "data-v-7e82041f"]]), Zi = { class: "joy-screen-loader__content" }, Xi = {
5687
+ }), Zu = /* @__PURE__ */ E(Yi, [["__scopeId", "data-v-7e82041f"]]), Zi = { class: "joy-screen-loader__content" }, Xi = {
5684
5688
  key: 0,
5685
5689
  class: "joy-screen-loader__content"
5686
5690
  }, Qi = /* @__PURE__ */ B({
@@ -5810,7 +5814,7 @@ const Va = /* @__PURE__ */ B({
5810
5814
  }, 8, ["color"])) : k("", !0)
5811
5815
  ], 6));
5812
5816
  }
5813
- }), Qu = /* @__PURE__ */ E(ir, [["__scopeId", "data-v-b4158802"]]), rr = { class: "joy-panel-section" }, sr = {
5817
+ }), Xu = /* @__PURE__ */ E(ir, [["__scopeId", "data-v-b4158802"]]), rr = { class: "joy-panel-section" }, sr = {
5814
5818
  key: 0,
5815
5819
  class: "joy-panel-section__title"
5816
5820
  }, ur = {
@@ -5829,7 +5833,7 @@ const Va = /* @__PURE__ */ B({
5829
5833
  ])) : k("", !0)
5830
5834
  ]));
5831
5835
  }
5832
- }), ec = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-d88510ab"]]), dr = { class: "joy-password-requirement__label" }, fr = /* @__PURE__ */ B({
5836
+ }), Qu = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-d88510ab"]]), dr = { class: "joy-password-requirement__label" }, fr = /* @__PURE__ */ B({
5833
5837
  __name: "VJoyPasswordRequirement",
5834
5838
  props: {
5835
5839
  label: {},
@@ -5857,7 +5861,7 @@ const Va = /* @__PURE__ */ B({
5857
5861
  h("span", dr, J(t.label), 1)
5858
5862
  ], 16));
5859
5863
  }
5860
- }), tc = /* @__PURE__ */ E(fr, [["__scopeId", "data-v-57c149c0"]]), yr = /* @__PURE__ */ B({
5864
+ }), ec = /* @__PURE__ */ E(fr, [["__scopeId", "data-v-57c149c0"]]), yr = /* @__PURE__ */ B({
5861
5865
  __name: "VJoyProductTourSpotlight",
5862
5866
  props: {
5863
5867
  disableOverlay: { type: Boolean }
@@ -5917,7 +5921,7 @@ const Va = /* @__PURE__ */ B({
5917
5921
  ]
5918
5922
  })
5919
5923
  ), y = V(() => {
5920
- const { middlewareData: C, placement: P } = p.value, M = C.arrow, X = {
5924
+ const { middlewareData: C, placement: P } = p.value, M = C.arrow, Q = {
5921
5925
  top: "bottom",
5922
5926
  right: "left",
5923
5927
  bottom: "top",
@@ -5928,7 +5932,7 @@ const Va = /* @__PURE__ */ B({
5928
5932
  top: (M == null ? void 0 : M.y) && `${M == null ? void 0 : M.y}px`,
5929
5933
  right: "",
5930
5934
  bottom: "",
5931
- [X]: "-12px"
5935
+ [Q]: "-12px"
5932
5936
  };
5933
5937
  });
5934
5938
  function g() {
@@ -5953,8 +5957,8 @@ const Va = /* @__PURE__ */ B({
5953
5957
  function x() {
5954
5958
  if (!m.value)
5955
5959
  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";
5960
+ const { left: C, top: P, height: M, width: Q } = u.value.getBoundingClientRect();
5961
+ 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
5962
  }
5959
5963
  function A() {
5960
5964
  i.value && i.value.remove();
@@ -6047,7 +6051,7 @@ const Va = /* @__PURE__ */ B({
6047
6051
  ]);
6048
6052
  };
6049
6053
  }
6050
- }), kr = /* @__PURE__ */ E(jr, [["__scopeId", "data-v-a0dee67d"]]), oc = /* @__PURE__ */ B({
6054
+ }), kr = /* @__PURE__ */ E(jr, [["__scopeId", "data-v-a0dee67d"]]), tc = /* @__PURE__ */ B({
6051
6055
  inheritAttrs: !1,
6052
6056
  __name: "VJoyProductTour",
6053
6057
  props: {
@@ -6111,7 +6115,7 @@ const Va = /* @__PURE__ */ B({
6111
6115
  }, 16)
6112
6116
  ]));
6113
6117
  }
6114
- }), nc = /* @__PURE__ */ B({
6118
+ }), oc = /* @__PURE__ */ B({
6115
6119
  __name: "VJoyProductTourTrigger",
6116
6120
  props: {
6117
6121
  productTour: {}
@@ -6123,7 +6127,7 @@ const Va = /* @__PURE__ */ B({
6123
6127
  var u;
6124
6128
  o("click"), l.value && ((u = l.value) == null || u.show());
6125
6129
  }
6126
- return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(Q(m), {
6130
+ return (u, s) => (c(!0), v(H, null, K(r.value, (m) => (c(), T(X(m), {
6127
6131
  key: m,
6128
6132
  onClick: i
6129
6133
  }))), 128));
@@ -6188,7 +6192,7 @@ const Va = /* @__PURE__ */ B({
6188
6192
  _: 1
6189
6193
  }, 8, ["class"]));
6190
6194
  }
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({
6195
+ }), 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
6196
  __name: "VJoyRadio",
6193
6197
  props: {
6194
6198
  disabled: {
@@ -6305,7 +6309,7 @@ const Va = /* @__PURE__ */ B({
6305
6309
  ])
6306
6310
  ], 2));
6307
6311
  }
6308
- }), ac = /* @__PURE__ */ E(Br, [["__scopeId", "data-v-6efefd03"]]), Ar = ["form", "name"], Er = /* @__PURE__ */ B({
6312
+ }), lc = /* @__PURE__ */ E(Br, [["__scopeId", "data-v-6efefd03"]]), Ar = ["form", "name"], Er = /* @__PURE__ */ B({
6309
6313
  __name: "VJoyRadioGroup",
6310
6314
  props: {
6311
6315
  direction: { default: "horizontal" },
@@ -6329,7 +6333,7 @@ const Va = /* @__PURE__ */ B({
6329
6333
  ], 2)
6330
6334
  ], 8, Ar));
6331
6335
  }
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({
6336
+ }), 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
6337
  __name: "VJoyRatingStars",
6334
6338
  props: {
6335
6339
  /** Between 0 and 5 */
@@ -6547,7 +6551,7 @@ const Va = /* @__PURE__ */ B({
6547
6551
  ], 2)
6548
6552
  ], 512));
6549
6553
  }
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({
6554
+ }), 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
6555
  __name: "VJoySelectableItem",
6552
6556
  props: {
6553
6557
  disabled: { type: Boolean, default: !1 },
@@ -6614,7 +6618,7 @@ const Va = /* @__PURE__ */ B({
6614
6618
  onBlur: f[2] || (f[2] = //@ts-ignore
6615
6619
  (...p) => s.onBlur && s.onBlur(...p))
6616
6620
  }, null, 40, Hr)),
6617
- (c(), T(Q(F(i)), {
6621
+ (c(), T(X(F(i)), {
6618
6622
  for: u.value,
6619
6623
  class: I([
6620
6624
  "joy-selectable-item",
@@ -6758,7 +6762,7 @@ const Va = /* @__PURE__ */ B({
6758
6762
  }, null, 8, ["no-html-error-text"])) : k("", !0)
6759
6763
  ], 8, Kr));
6760
6764
  }
6761
- }), sc = /* @__PURE__ */ E(Yr, [["__scopeId", "data-v-83760d1d"]]), Zr = /* @__PURE__ */ B({
6765
+ }), rc = /* @__PURE__ */ E(Yr, [["__scopeId", "data-v-83760d1d"]]), Zr = /* @__PURE__ */ B({
6762
6766
  __name: "VJoySeparator",
6763
6767
  props: {
6764
6768
  /** Main text to apply in the central area */
@@ -6777,7 +6781,7 @@ const Va = /* @__PURE__ */ B({
6777
6781
  h("span", null, J(e.text), 1)
6778
6782
  ], 2));
6779
6783
  }
6780
- }), uc = /* @__PURE__ */ E(Zr, [["__scopeId", "data-v-21db2899"]]), Xr = ["id"], Qr = { class: "joy-step__stroke" }, es = {
6784
+ }), sc = /* @__PURE__ */ E(Zr, [["__scopeId", "data-v-21db2899"]]), Xr = ["id"], Qr = { class: "joy-step__stroke" }, es = {
6781
6785
  key: 0,
6782
6786
  class: "joy-step__label"
6783
6787
  }, ts = /* @__PURE__ */ B({
@@ -6890,7 +6894,7 @@ const Va = /* @__PURE__ */ B({
6890
6894
  default: z(() => {
6891
6895
  var $;
6892
6896
  return [
6893
- ($ = y.children) != null && $.default ? (c(), T(Q(y.children.default), { key: 0 })) : k("", !0)
6897
+ ($ = y.children) != null && $.default ? (c(), T(X(y.children.default), { key: 0 })) : k("", !0)
6894
6898
  ];
6895
6899
  }),
6896
6900
  _: 2
@@ -6898,7 +6902,7 @@ const Va = /* @__PURE__ */ B({
6898
6902
  }), 128))
6899
6903
  ]));
6900
6904
  }
6901
- }), cc = /* @__PURE__ */ E(ls, [["__scopeId", "data-v-22705668"]]), as = ["id", "aria-hidden", "aria-labelledby"], is = /* @__PURE__ */ B({
6905
+ }), uc = /* @__PURE__ */ E(ls, [["__scopeId", "data-v-22705668"]]), as = ["id", "aria-hidden", "aria-labelledby"], is = /* @__PURE__ */ B({
6902
6906
  __name: "VJoyTab",
6903
6907
  props: {
6904
6908
  /**
@@ -6931,7 +6935,7 @@ const Va = /* @__PURE__ */ B({
6931
6935
  setup(e) {
6932
6936
  const t = e, n = de("VJoyTabs", S("")), o = V(() => n.value === t.tab);
6933
6937
  return (l, a) => (c(), v("div", {
6934
- id: `joy-tab-${e.tab}`,
6938
+ id: `joy-tab-panel-${e.tab}`,
6935
6939
  role: "tabpanel",
6936
6940
  "aria-hidden": o.value ? void 0 : "true",
6937
6941
  "aria-labelledby": `joy-tab-${e.tab}`,
@@ -6943,10 +6947,7 @@ const Va = /* @__PURE__ */ B({
6943
6947
  w(l.$slots, "default", {}, void 0, !0)
6944
6948
  ], 10, as));
6945
6949
  }
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({
6950
+ }), cc = /* @__PURE__ */ E(is, [["__scopeId", "data-v-de41713d"]]), rs = { class: "joy-tab-button__content" }, ss = /* @__PURE__ */ B({
6950
6951
  __name: "TabButton",
6951
6952
  props: {
6952
6953
  /**
@@ -6990,23 +6991,21 @@ const Va = /* @__PURE__ */ B({
6990
6991
  function r(i) {
6991
6992
  (i.code === "Enter" || i.code === "NumpadEnter") && o("changeTab");
6992
6993
  }
6993
- return (i, u) => (c(), v("a", {
6994
+ return (i, u) => (c(), T(X(e.href ? "a" : "button"), {
6994
6995
  id: `joy-tab-${e.tab}`,
6996
+ type: e.href ? null : "button",
6995
6997
  href: e.href,
6996
6998
  "aria-selected": e.selected ? "true" : "false",
6997
- "aria-controls": `job-tab-${e.tab}`,
6998
- tabindex: "0",
6999
6999
  role: "tab",
7000
+ class: I({
7001
+ "joy-tab-button": !0,
7002
+ "joy-tab-button__selected": e.selected
7003
+ }),
7000
7004
  onClick: a,
7001
7005
  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, [
7006
+ }, {
7007
+ default: z(() => [
7008
+ h("div", rs, [
7010
7009
  w(i.$slots, "default", {}, () => [
7011
7010
  R(J(e.label), 1)
7012
7011
  ], !0),
@@ -7017,10 +7016,11 @@ const Va = /* @__PURE__ */ B({
7017
7016
  number: e.notifications
7018
7017
  }, null, 8, ["number"])) : k("", !0)
7019
7018
  ])
7020
- ], 2)
7021
- ], 40, rs));
7019
+ ]),
7020
+ _: 3
7021
+ }, 40, ["id", "type", "href", "aria-selected", "class"]));
7022
7022
  }
7023
- }), cs = /* @__PURE__ */ E(us, [["__scopeId", "data-v-358b26cc"]]), ds = { class: "joy-tabs" }, fs = /* @__PURE__ */ B({
7023
+ }), us = /* @__PURE__ */ E(ss, [["__scopeId", "data-v-07b24e2a"]]), cs = { class: "joy-tabs" }, ds = /* @__PURE__ */ B({
7024
7024
  __name: "VJoyTabs",
7025
7025
  props: {
7026
7026
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -7063,7 +7063,7 @@ const Va = /* @__PURE__ */ B({
7063
7063
  (b = u.value) == null || b.removeEventListener("scroll", y);
7064
7064
  }), t({
7065
7065
  tabs: d
7066
- }), (b, $) => (c(), v("div", ds, [
7066
+ }), (b, $) => (c(), v("div", cs, [
7067
7067
  h("div", {
7068
7068
  ref_key: "buttonListWrapper",
7069
7069
  ref: i,
@@ -7082,7 +7082,7 @@ const Va = /* @__PURE__ */ B({
7082
7082
  (c(!0), v(H, null, K(d.value, (_) => (c(), v("div", {
7083
7083
  key: _.props.tab
7084
7084
  }, [
7085
- D(cs, {
7085
+ D(us, {
7086
7086
  tab: _.props.tab,
7087
7087
  label: _.props.label,
7088
7088
  href: _.props.href,
@@ -7093,7 +7093,7 @@ const Va = /* @__PURE__ */ B({
7093
7093
  default: z(() => {
7094
7094
  var j;
7095
7095
  return [
7096
- (j = _.children) != null && j.header ? (c(), T(Q(_.children.header), { key: 0 })) : k("", !0)
7096
+ (j = _.children) != null && j.header ? (c(), T(X(_.children.header), { key: 0 })) : k("", !0)
7097
7097
  ];
7098
7098
  }),
7099
7099
  _: 2
@@ -7106,7 +7106,7 @@ const Va = /* @__PURE__ */ B({
7106
7106
  ])
7107
7107
  ]));
7108
7108
  }
7109
- }), fc = /* @__PURE__ */ E(fs, [["__scopeId", "data-v-9aea2d41"]]), ys = ["id", "role", "tabindex"], ms = /* @__PURE__ */ B({
7109
+ }), dc = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-9aea2d41"]]), fs = ["id", "role", "tabindex"], ys = /* @__PURE__ */ B({
7110
7110
  __name: "VJoyTag",
7111
7111
  props: {
7112
7112
  label: {},
@@ -7165,9 +7165,9 @@ const Va = /* @__PURE__ */ B({
7165
7165
  onClick: zo(u, ["stop"]),
7166
7166
  onKeydown: Re(u, ["enter"])
7167
7167
  })) : k("", !0)
7168
- ], 10, ys));
7168
+ ], 10, fs));
7169
7169
  }
7170
- }), ko = /* @__PURE__ */ E(ms, [["__scopeId", "data-v-4d8f5321"]]);
7170
+ }), ko = /* @__PURE__ */ E(ys, [["__scopeId", "data-v-4d8f5321"]]);
7171
7171
  var Me = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(Me || {});
7172
7172
  function Ft(e) {
7173
7173
  if (!Array.isArray(e) && typeof e != "string")
@@ -7180,7 +7180,7 @@ function Ft(e) {
7180
7180
  return o;
7181
7181
  }) === void 0 : t(e);
7182
7182
  }
7183
- const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholder"], hs = { key: 0 }, gs = { key: 1 }, bs = /* @__PURE__ */ B({
7183
+ const ms = { class: "joy-tags-input__wrapper" }, ps = ["id", "name", "placeholder"], vs = { key: 0 }, hs = { key: 1 }, gs = /* @__PURE__ */ B({
7184
7184
  __name: "VJoyTagsInput",
7185
7185
  props: {
7186
7186
  name: {},
@@ -7207,8 +7207,8 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7207
7207
  var P, M;
7208
7208
  let L = !1;
7209
7209
  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);
7210
+ let Q = a.value;
7211
+ (P = i.value) != null && P.value && (Q = [...Q, (M = i.value) == null ? void 0 : M.value]), L = !Ft(Q);
7212
7212
  }
7213
7213
  const C = y();
7214
7214
  u.value = L || C, C ? s.value = Me.DUPLICATED_ENTRY : L ? s.value = Me.INVALID_EMAIL : s.value = null;
@@ -7252,7 +7252,7 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7252
7252
  ), t({
7253
7253
  isInvalid: u,
7254
7254
  hasDuplicates: y
7255
- }), (L, C) => (c(), v("div", ps, [
7255
+ }), (L, C) => (c(), v("div", ms, [
7256
7256
  L.$slots.default ? (c(), T(Pe, {
7257
7257
  key: 0,
7258
7258
  id: e.name,
@@ -7297,7 +7297,7 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7297
7297
  onKeydown: _,
7298
7298
  onFocus: j,
7299
7299
  onBlur: x
7300
- }, null, 40, vs)
7300
+ }, null, 40, ps)
7301
7301
  ], 2),
7302
7302
  p.value ? (c(), T(_t, {
7303
7303
  key: 1,
@@ -7305,15 +7305,15 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7305
7305
  }, {
7306
7306
  default: z(() => [
7307
7307
  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)
7308
+ f.value ? (c(), v("li", vs, J(e.duplicationError), 1)) : k("", !0),
7309
+ d.value ? (c(), v("li", hs, J(e.invalidEmailError), 1)) : k("", !0)
7310
7310
  ])
7311
7311
  ]),
7312
7312
  _: 1
7313
7313
  })) : k("", !0)
7314
7314
  ]));
7315
7315
  }
7316
- }), yc = /* @__PURE__ */ E(bs, [["__scopeId", "data-v-efb84377"]]), ws = /* @__PURE__ */ B({
7316
+ }), fc = /* @__PURE__ */ E(gs, [["__scopeId", "data-v-efb84377"]]), bs = /* @__PURE__ */ B({
7317
7317
  __name: "VJoyTagsList",
7318
7318
  props: {
7319
7319
  align: {
@@ -7391,36 +7391,36 @@ const ps = { class: "joy-tags-input__wrapper" }, vs = ["id", "name", "placeholde
7391
7391
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
7392
7392
  ], 2));
7393
7393
  }
7394
- }), mc = /* @__PURE__ */ E(ws, [["__scopeId", "data-v-1d8003ef"]]), js = {}, ks = {
7394
+ }), yc = /* @__PURE__ */ E(bs, [["__scopeId", "data-v-1d8003ef"]]), ws = {}, js = {
7395
7395
  class: /* @__PURE__ */ I(["joy-template-shape__shapes"])
7396
7396
  };
7397
- function _s(e, t) {
7398
- return c(), v("div", ks, [...t[0] || (t[0] = [
7397
+ function ks(e, t) {
7398
+ return c(), v("div", js, [...t[0] || (t[0] = [
7399
7399
  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
7400
  ])]);
7401
7401
  }
7402
- const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e"]]), Cs = { class: "joy-template__wrapper" }, Ss = {
7402
+ const _s = /* @__PURE__ */ E(ws, [["render", ks], ["__scopeId", "data-v-2077977e"]]), $s = { class: "joy-template__wrapper" }, Cs = {
7403
7403
  key: 0,
7404
7404
  class: "joy-template__heading"
7405
- }, xs = {
7405
+ }, Ss = {
7406
7406
  key: 0,
7407
7407
  class: "joy-template-slot-back"
7408
- }, Vs = { class: "joy-template__heading___headings" }, Ts = {
7408
+ }, xs = { class: "joy-template__heading___headings" }, Vs = {
7409
7409
  key: 0,
7410
7410
  class: "joy-template-slot-title"
7411
- }, Is = {
7411
+ }, Ts = {
7412
7412
  key: 1,
7413
7413
  class: "joy-template-slot-subtitle"
7414
- }, Ls = {
7414
+ }, Is = {
7415
7415
  key: 1,
7416
7416
  class: "joy-template-slot-actions"
7417
- }, Bs = {
7417
+ }, Ls = {
7418
7418
  key: 0,
7419
7419
  class: "joy-template-slot-main"
7420
- }, As = {
7420
+ }, Bs = {
7421
7421
  key: 1,
7422
7422
  class: "joy-template-slot-sidebar"
7423
- }, Es = /* @__PURE__ */ B({
7423
+ }, As = /* @__PURE__ */ B({
7424
7424
  __name: "VJoyTemplate",
7425
7425
  props: {
7426
7426
  /** Takes 100% of free space */
@@ -7445,21 +7445,21 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7445
7445
  return (l, a) => (c(), v("div", {
7446
7446
  class: I(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7447
7447
  }, [
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, [
7448
+ e.shapes ? (c(), T(_s, { key: 0 })) : k("", !0),
7449
+ h("div", $s, [
7450
+ o.value ? (c(), v("div", Cs, [
7451
+ n["template-back"] ? (c(), v("div", Ss, [
7452
7452
  w(l.$slots, "template-back", {}, void 0, !0)
7453
7453
  ])) : k("", !0),
7454
- h("div", Vs, [
7455
- n["template-title"] ? (c(), v("div", Ts, [
7454
+ h("div", xs, [
7455
+ n["template-title"] ? (c(), v("div", Vs, [
7456
7456
  w(l.$slots, "template-title", {}, void 0, !0)
7457
7457
  ])) : k("", !0),
7458
- n["template-subtitle"] ? (c(), v("div", Is, [
7458
+ n["template-subtitle"] ? (c(), v("div", Ts, [
7459
7459
  w(l.$slots, "template-subtitle", {}, void 0, !0)
7460
7460
  ])) : k("", !0)
7461
7461
  ]),
7462
- n["template-actions"] ? (c(), v("div", Ls, [
7462
+ n["template-actions"] ? (c(), v("div", Is, [
7463
7463
  w(l.$slots, "template-actions", {}, void 0, !0)
7464
7464
  ])) : k("", !0)
7465
7465
  ])) : k("", !0),
@@ -7471,10 +7471,10 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7471
7471
  }
7472
7472
  ])
7473
7473
  }, [
7474
- l.$slots["template-main"] ? (c(), v("div", Bs, [
7474
+ l.$slots["template-main"] ? (c(), v("div", Ls, [
7475
7475
  w(l.$slots, "template-main", {}, void 0, !0)
7476
7476
  ])) : k("", !0),
7477
- l.$slots["template-sidebar"] ? (c(), v("div", As, [
7477
+ l.$slots["template-sidebar"] ? (c(), v("div", Bs, [
7478
7478
  w(l.$slots, "template-sidebar", {}, void 0, !0)
7479
7479
  ])) : k("", !0)
7480
7480
  ], 2)
@@ -7491,7 +7491,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7491
7491
  }, 8, ["color"])) : k("", !0)
7492
7492
  ], 2));
7493
7493
  }
7494
- }), pc = /* @__PURE__ */ E(Es, [["__scopeId", "data-v-37b74fad"]]), zs = /* @__PURE__ */ B({
7494
+ }), mc = /* @__PURE__ */ E(As, [["__scopeId", "data-v-37b74fad"]]), Es = /* @__PURE__ */ B({
7495
7495
  __name: "VJoyText",
7496
7496
  props: {
7497
7497
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7506,7 +7506,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7506
7506
  }
7507
7507
  },
7508
7508
  setup(e) {
7509
- return (t, n) => (c(), T(Q(e.tagName), {
7509
+ return (t, n) => (c(), T(X(e.tagName), {
7510
7510
  class: I(`joy-text joy-font-${e.preset}`)
7511
7511
  }, {
7512
7512
  default: z(() => [
@@ -7515,13 +7515,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7515
7515
  _: 3
7516
7516
  }, 8, ["class"]));
7517
7517
  }
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 = {
7518
+ }), 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
7519
  key: 1,
7520
7520
  class: "joy-textarea_helpers"
7521
- }, Os = {
7521
+ }, Fs = {
7522
7522
  inheritAttrs: !1
7523
- }, Ds = /* @__PURE__ */ B({
7524
- ...Os,
7523
+ }, Os = /* @__PURE__ */ B({
7524
+ ...Fs,
7525
7525
  __name: "VJoyTextarea",
7526
7526
  props: {
7527
7527
  autofocus: {
@@ -7643,7 +7643,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7643
7643
  ]),
7644
7644
  _: 3
7645
7645
  }, 8, ["for", "required", "optional-label", "size"])) : k("", !0),
7646
- h("div", Ps, [
7646
+ h("div", Js, [
7647
7647
  h("textarea", q(y.$attrs, {
7648
7648
  id: e.id,
7649
7649
  ref_key: "textarea",
@@ -7663,9 +7663,9 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7663
7663
  (...b) => p.onFocus && p.onFocus(...b)),
7664
7664
  onBlur: g[3] || (g[3] = //@ts-ignore
7665
7665
  (...b) => p.onBlur && p.onBlur(...b))
7666
- }), null, 16, Ms)
7666
+ }), null, 16, Ps)
7667
7667
  ]),
7668
- e.minlength || e.maxlength ? (c(), v("div", Fs, [
7668
+ e.minlength || e.maxlength ? (c(), v("div", Ms, [
7669
7669
  e.minlength ? (c(), v("p", {
7670
7670
  key: 0,
7671
7671
  class: I(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -7683,25 +7683,25 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7683
7683
  class: I(["joy-textarea-count", { "joy-textarea-count-invalid": m.value }])
7684
7684
  }, J(e.modelValue.length + "/" + e.maxlength), 3)) : k("", !0)
7685
7685
  ])) : k("", !0)
7686
- ], 10, Js));
7686
+ ], 10, zs));
7687
7687
  }
7688
- }), hc = /* @__PURE__ */ E(Ds, [["__scopeId", "data-v-f62629b6"]]), Rs = /* @__PURE__ */ B({
7688
+ }), vc = /* @__PURE__ */ E(Os, [["__scopeId", "data-v-f62629b6"]]), Ds = /* @__PURE__ */ B({
7689
7689
  __name: "VJoyTitleBrand",
7690
7690
  props: {
7691
7691
  tag: { default: "p" }
7692
7692
  },
7693
7693
  setup(e) {
7694
- return (t, n) => (c(), T(Q(e.tag), { class: "joy-title-brand joy-font-secondary-200" }, {
7694
+ return (t, n) => (c(), T(X(e.tag), { class: "joy-title-brand joy-font-secondary-200" }, {
7695
7695
  default: z(() => [
7696
7696
  w(t.$slots, "default", {}, void 0, !0)
7697
7697
  ]),
7698
7698
  _: 3
7699
7699
  }));
7700
7700
  }
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 = {
7701
+ }), 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
7702
  key: 0,
7703
7703
  class: "joy-toggle__symbol-smile"
7704
- }, Gs = { class: "joy-toggle__content-label" }, Ks = /* @__PURE__ */ B({
7704
+ }, Us = { class: "joy-toggle__content-label" }, Gs = /* @__PURE__ */ B({
7705
7705
  __name: "VJoyToggle",
7706
7706
  props: {
7707
7707
  modelValue: {
@@ -7760,7 +7760,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7760
7760
  o.value = !1;
7761
7761
  }
7762
7762
  };
7763
- return (a, r) => (c(), v("div", Ns, [
7763
+ return (a, r) => (c(), v("div", Rs, [
7764
7764
  h("label", {
7765
7765
  class: I([
7766
7766
  "joy-toggle",
@@ -7790,13 +7790,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7790
7790
  (...i) => l.onFocus && l.onFocus(...i)),
7791
7791
  onBlur: r[2] || (r[2] = //@ts-ignore
7792
7792
  (...i) => l.onBlur && l.onBlur(...i))
7793
- }, null, 40, qs),
7793
+ }, null, 40, Ns),
7794
7794
  h("p", {
7795
7795
  class: I(["joy-toggle__content", { "joy-toggle__content--label-left": e.labelPosition === "left" }])
7796
7796
  }, [
7797
- h("span", Hs, [
7798
- h("span", Ws, [
7799
- e.variant === "default" ? (c(), v("span", Us, [...r[3] || (r[3] = [
7797
+ h("span", qs, [
7798
+ h("span", Hs, [
7799
+ e.variant === "default" ? (c(), v("span", Ws, [...r[3] || (r[3] = [
7800
7800
  h("svg", {
7801
7801
  width: "18",
7802
7802
  height: "10",
@@ -7816,7 +7816,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7816
7816
  }))
7817
7817
  ])
7818
7818
  ]),
7819
- h("span", Gs, [
7819
+ h("span", Us, [
7820
7820
  w(a.$slots, "default", {}, () => [
7821
7821
  R(J(e.label), 1)
7822
7822
  ], !0)
@@ -7825,7 +7825,7 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7825
7825
  ], 2)
7826
7826
  ]));
7827
7827
  }
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({
7828
+ }), 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
7829
  __name: "VJoyUserCard",
7830
7830
  props: {
7831
7831
  /**
@@ -7852,13 +7852,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7852
7852
  }
7853
7853
  },
7854
7854
  setup(e) {
7855
- return (t, n) => (c(), T(Q(e.link ? "a" : "div"), q({
7855
+ return (t, n) => (c(), T(X(e.link ? "a" : "div"), q({
7856
7856
  class: "joy-user-card",
7857
7857
  href: e.link,
7858
7858
  title: e.fullName
7859
7859
  }, t.$attrs), {
7860
7860
  default: z(() => [
7861
- h("div", Ys, [
7861
+ h("div", Ks, [
7862
7862
  w(t.$slots, "user-card-avatar", {}, () => [
7863
7863
  D(un, {
7864
7864
  "photo-url": e.photoUrl,
@@ -7866,13 +7866,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7866
7866
  }, null, 8, ["photo-url", "full-name"])
7867
7867
  ], !0)
7868
7868
  ]),
7869
- h("div", Zs, [
7870
- h("p", Xs, [
7869
+ h("div", Ys, [
7870
+ h("p", Zs, [
7871
7871
  w(t.$slots, "user-card-title", {}, () => [
7872
7872
  R(J(e.fullName), 1)
7873
7873
  ], !0)
7874
7874
  ]),
7875
- h("p", Qs, [
7875
+ h("p", Xs, [
7876
7876
  w(t.$slots, "user-card-subtitle", {}, () => [
7877
7877
  R(J(e.subTitle), 1)
7878
7878
  ], !0)
@@ -7891,13 +7891,13 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7891
7891
  _: 3
7892
7892
  }, 16, ["href", "title"]));
7893
7893
  }
7894
- }), wc = /* @__PURE__ */ E(eu, [["__scopeId", "data-v-e0dba25f"]]), tu = { class: "joy-walkthrough-trigger__content" }, ou = {
7894
+ }), bc = /* @__PURE__ */ E(Qs, [["__scopeId", "data-v-e0dba25f"]]), eu = { class: "joy-walkthrough-trigger__content" }, tu = {
7895
7895
  key: 0,
7896
7896
  class: "joy-pr-3"
7897
- }, nu = {
7897
+ }, ou = {
7898
7898
  key: 1,
7899
7899
  class: "joy-pl-3"
7900
- }, lu = /* @__PURE__ */ B({
7900
+ }, nu = /* @__PURE__ */ B({
7901
7901
  __name: "VJoyWalkthroughTrigger",
7902
7902
  props: {
7903
7903
  icon: {},
@@ -7920,9 +7920,9 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7920
7920
  class: "joy-walkthrough-trigger__icon joy-mr-3",
7921
7921
  name: e.icon
7922
7922
  }, 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)
7923
+ h("div", eu, [
7924
+ e.title ? (c(), v("span", tu, J(e.title), 1)) : k("", !0),
7925
+ e.subtitle ? (c(), v("span", ou, J(e.subtitle), 1)) : k("", !0)
7926
7926
  ]),
7927
7927
  D(N, {
7928
7928
  class: "joy-ml-3",
@@ -7934,16 +7934,16 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
7934
7934
  ]);
7935
7935
  };
7936
7936
  }
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 = {
7937
+ }), 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
7938
  key: 0,
7939
7939
  class: "joy-mt-4"
7940
- }, du = {
7940
+ }, cu = {
7941
7941
  key: 1,
7942
7942
  class: "joy-mt-4 joy-walkthrough-modal__content-inner"
7943
- }, fu = {
7943
+ }, du = {
7944
7944
  type: "button",
7945
7945
  class: "joy-walkthrough-modal__footer-button joy-color-secondary-50 joy-font-primary-300"
7946
- }, yu = /* @__PURE__ */ B({
7946
+ }, fu = /* @__PURE__ */ B({
7947
7947
  __name: "VJoyWalkthrough",
7948
7948
  props: {
7949
7949
  open: { type: Boolean, default: !1 },
@@ -8027,24 +8027,24 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8027
8027
  wrap: "nowrap"
8028
8028
  }, {
8029
8029
  default: z(() => [
8030
- h("div", iu, [
8030
+ h("div", au, [
8031
8031
  w(f.$slots, "walkthrough-illustration", {}, void 0, !0)
8032
8032
  ]),
8033
- h("div", ru, [
8034
- h("div", su, [
8033
+ h("div", iu, [
8034
+ h("div", ru, [
8035
8035
  w(f.$slots, "walkthrough-title", {}, void 0, !0)
8036
8036
  ]),
8037
- h("div", uu, [
8037
+ h("div", su, [
8038
8038
  w(f.$slots, "walkthrough-subtitle", {}, void 0, !0)
8039
8039
  ])
8040
8040
  ])
8041
8041
  ]),
8042
8042
  _: 3
8043
8043
  }),
8044
- f.$slots["walkthrough-progress"] ? (c(), v("div", cu, [
8044
+ f.$slots["walkthrough-progress"] ? (c(), v("div", uu, [
8045
8045
  w(f.$slots, "walkthrough-progress", {}, void 0, !0)
8046
8046
  ])) : k("", !0),
8047
- f.$slots["walkthrough-content"] ? (c(), v("div", du, [
8047
+ f.$slots["walkthrough-content"] ? (c(), v("div", cu, [
8048
8048
  w(f.$slots, "walkthrough-content", {}, void 0, !0)
8049
8049
  ])) : k("", !0)
8050
8050
  ], 2),
@@ -8053,10 +8053,10 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8053
8053
  class: "joy-walkthrough-modal__footer joy-p-6",
8054
8054
  onClick: m
8055
8055
  }, [
8056
- h("button", fu, J(e.footer), 1)
8056
+ h("button", du, J(e.footer), 1)
8057
8057
  ])) : k("", !0)
8058
8058
  ], 16)) : k("", !0),
8059
- r.value ? k("", !0) : (c(), T(au, q({ key: 1 }, e.triggerAttrs, {
8059
+ r.value ? k("", !0) : (c(), T(lu, q({ key: 1 }, e.triggerAttrs, {
8060
8060
  title: e.triggerTitle,
8061
8061
  subtitle: e.triggerSubtitle,
8062
8062
  icon: e.triggerIcon,
@@ -8066,98 +8066,98 @@ const $s = /* @__PURE__ */ E(js, [["render", _s], ["__scopeId", "data-v-2077977e
8066
8066
  ], 2)
8067
8067
  ], 8, ["disabled"]));
8068
8068
  }
8069
- }), jc = /* @__PURE__ */ E(yu, [["__scopeId", "data-v-bfb1ca7c"]]), kc = {
8069
+ }), wc = /* @__PURE__ */ E(fu, [["__scopeId", "data-v-bfb1ca7c"]]), jc = {
8070
8070
  install: (e) => {
8071
8071
  typeof window < "u" && Yt(), e.directive("joy-ripple", Wt), e.directive("bind-once", Oo);
8072
8072
  }
8073
8073
  };
8074
8074
  export {
8075
- kc as JoyVueLightPlugin,
8076
- hu as VJoyAdminBanner,
8077
- gu as VJoyAvailability,
8075
+ jc as JoyVueLightPlugin,
8076
+ vu as VJoyAdminBanner,
8077
+ hu as VJoyAvailability,
8078
8078
  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,
8079
+ gu as VJoyAvatarsList,
8080
+ bu as VJoyBadge,
8081
+ wu as VJoyBadgeLevel,
8082
+ ju as VJoyBlockSkeleton,
8083
+ ku as VJoyBottomSheet,
8084
+ _u as VJoyBottomSheetTrigger,
8085
8085
  Ee as VJoyButton,
8086
- Cu as VJoyButtonCard,
8086
+ $u as VJoyButtonCard,
8087
8087
  vt as VJoyCheckbox,
8088
- Su as VJoyCheckboxCard,
8089
- xu as VJoyCheckboxGroup,
8090
- Vu as VJoyCollapse,
8088
+ Cu as VJoyCheckboxCard,
8089
+ Su as VJoyCheckboxGroup,
8090
+ xu as VJoyCollapse,
8091
8091
  Zl as VJoyCollapseItem,
8092
- Tu as VJoyCompanyAvatar,
8093
- Iu as VJoyDialog,
8094
- Lu as VJoyDialogTrigger,
8092
+ Vu as VJoyCompanyAvatar,
8093
+ Tu as VJoyDialog,
8094
+ Iu as VJoyDialogTrigger,
8095
8095
  Zt as VJoyDot,
8096
- Bu as VJoyDrawer,
8097
- Au as VJoyDrawerTrigger,
8098
- Eu as VJoyDropdown,
8096
+ Lu as VJoyDrawer,
8097
+ Bu as VJoyDrawerTrigger,
8098
+ Au as VJoyDropdown,
8099
8099
  Sa as VJoyDropdownList,
8100
- zu as VJoyDropzone,
8101
- Ju as VJoyFilterBar,
8102
- Pu as VJoyFilterBarButton,
8103
- Mu as VJoyFloatingActionsBar,
8100
+ Eu as VJoyDropzone,
8101
+ zu as VJoyFilterBar,
8102
+ Ju as VJoyFilterBarButton,
8103
+ Pu as VJoyFloatingActionsBar,
8104
8104
  _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,
8105
+ Mu as VJoyFormFieldSkeleton,
8106
+ Fu as VJoyFormGroup,
8107
+ Ou as VJoyFunnel,
8108
+ Du as VJoyFunnelFooter,
8109
+ Ru as VJoyFunnelHeader,
8110
+ Nu as VJoyHighlight,
8111
8111
  N as VJoyIcon,
8112
8112
  Ve as VJoyIconButton,
8113
8113
  ki as VJoyIndicator,
8114
- Hu as VJoyIndicators,
8114
+ qu as VJoyIndicators,
8115
8115
  $t as VJoyInput,
8116
- Wu as VJoyInputDigit,
8117
- Uu as VJoyInputNumber,
8118
- Gu as VJoyInputPassword,
8116
+ Hu as VJoyInputDigit,
8117
+ Wu as VJoyInputNumber,
8118
+ Uu as VJoyInputPassword,
8119
8119
  Pe as VJoyLabel,
8120
8120
  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,
8121
+ Gu as VJoyListItem,
8122
+ Ku as VJoyMenu,
8123
+ Yu as VJoyMenuItem,
8124
+ Su as VJoyMultiCheckbox,
8125
+ Zu as VJoyPagination,
8126
+ Xu as VJoyPanel,
8127
+ Qu as VJoyPanelSection,
8128
+ ec as VJoyPasswordRequirement,
8129
+ tc as VJoyProductTour,
8130
+ oc as VJoyProductTourTrigger,
8131
+ nc as VJoyProgressBar,
8132
+ lc as VJoyRadio,
8133
+ ac as VJoyRadioGroup,
8134
8134
  Or as VJoyRatingStars,
8135
8135
  wo as VJoyScreenLoader,
8136
- rc as VJoySelect,
8136
+ ic as VJoySelect,
8137
8137
  Gr as VJoySelectableItem,
8138
- sc as VJoySelectableItemGroup,
8139
- uc as VJoySeparator,
8138
+ rc as VJoySelectableItemGroup,
8139
+ sc as VJoySeparator,
8140
8140
  Go as VJoySnackbar,
8141
8141
  Xt as VJoySpinner,
8142
8142
  os as VJoyStep,
8143
- cc as VJoyStepper,
8144
- dc as VJoyTab,
8145
- fc as VJoyTabs,
8143
+ uc as VJoyStepper,
8144
+ cc as VJoyTab,
8145
+ dc as VJoyTabs,
8146
8146
  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,
8147
+ fc as VJoyTagsInput,
8148
+ yc as VJoyTagsList,
8149
+ mc as VJoyTemplate,
8150
+ pc as VJoyText,
8151
+ vc as VJoyTextarea,
8152
+ hc as VJoyTitleBrand,
8153
+ gc as VJoyToggle,
8154
8154
  Pl as VJoyTooltip,
8155
- wc as VJoyUserCard,
8156
- jc as VJoyWalkthrough,
8157
- au as VJoyWalkthroughTrigger,
8155
+ bc as VJoyUserCard,
8156
+ wc as VJoyWalkthrough,
8157
+ lu as VJoyWalkthroughTrigger,
8158
8158
  ue as VJoyWrapper,
8159
8159
  Yt as createAllSnackbarsContainer,
8160
- vu as pushVJoySnackbar,
8161
- pu as resetCount,
8160
+ pu as pushVJoySnackbar,
8161
+ mu as resetCount,
8162
8162
  Wt as vJoyRipple
8163
8163
  };