@maltjoy/core-vue 3.19.5 → 3.19.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/joy-vue.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as $, createElementVNode as b, Fragment as K, createTextVNode as z, toDisplayString as J, createCommentVNode as x, createBlock as B, resolveDynamicComponent as oe, mergeProps as te, withCtx as D, pushScopeId as ot, popScopeId as lt, renderSlot as w, unref as T, renderList as Y, useAttrs as Ae, resolveDirective as Qn, withDirectives as Xn, getCurrentScope as kt, onScopeDispose as xt, ref as C, getCurrentInstance as ea, onMounted as le, nextTick as Re, watch as ee, h as ta, Teleport as rt, createVNode as U, useSlots as Q, onBeforeUnmount as Ne, Transition as vn, withKeys as Ct, normalizeStyle as ce, normalizeProps as ze, guardReactiveProps as qe, provide as jt, createSlots as pn, inject as it, createStaticVNode as mn, onBeforeMount as na, onUnmounted as aa, withModifiers as oa, shallowRef as la, shallowReadonly as $e, createApp as ra } from "vue";
2
- function Dt(e) {
1
+ import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as $, createElementVNode as b, Fragment as K, createTextVNode as z, toDisplayString as F, createCommentVNode as x, createBlock as B, resolveDynamicComponent as oe, mergeProps as te, withCtx as M, pushScopeId as ot, popScopeId as lt, renderSlot as k, unref as T, renderList as Y, useAttrs as Ae, resolveDirective as Qn, withDirectives as Xn, getCurrentScope as kt, onScopeDispose as xt, ref as C, getCurrentInstance as ea, onMounted as le, nextTick as Re, watch as Q, h as ta, Teleport as rt, createVNode as U, useSlots as X, onBeforeUnmount as Ne, Transition as vn, withKeys as Ct, normalizeStyle as ce, normalizeProps as ze, guardReactiveProps as qe, provide as jt, createSlots as pn, inject as it, createStaticVNode as mn, onBeforeMount as na, onUnmounted as aa, withModifiers as oa, shallowRef as la, shallowReadonly as $e, createApp as ra } from "vue";
2
+ function Mt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
5
5
  return;
@@ -14,10 +14,10 @@ function Dt(e) {
14
14
  }
15
15
  const ia = {
16
16
  mounted: (e) => {
17
- e.addEventListener("click", Dt);
17
+ e.addEventListener("click", Mt);
18
18
  },
19
19
  beforeUnmount: (e) => {
20
- e.removeEventListener("click", Dt);
20
+ e.removeEventListener("click", Mt);
21
21
  }
22
22
  }, sa = ["title"], ua = /* @__PURE__ */ L({
23
23
  __name: "VJoyAvailability",
@@ -47,17 +47,17 @@ const ia = {
47
47
  class: $(n.value)
48
48
  }, null, 2),
49
49
  e.label ? (y(), g(K, { key: 0 }, [
50
- z(J(e.label), 1)
50
+ z(F(e.label), 1)
51
51
  ], 64)) : x("", !0)
52
52
  ], 10, sa));
53
53
  }
54
54
  });
55
- const E = (e, t) => {
55
+ const A = (e, t) => {
56
56
  const n = e.__vccOpts || e;
57
57
  for (const [a, o] of t)
58
58
  n[a] = o;
59
59
  return n;
60
- }, ca = /* @__PURE__ */ E(ua, [["__scopeId", "data-v-3452c6e7"]]), da = ["role", "tabindex", "aria-label", "title"], W = /* @__PURE__ */ L({
60
+ }, ca = /* @__PURE__ */ A(ua, [["__scopeId", "data-v-3452c6e7"]]), da = ["role", "tabindex", "aria-label", "title"], W = /* @__PURE__ */ L({
61
61
  __name: "VJoyIcon",
62
62
  props: {
63
63
  ariaLabel: {
@@ -173,7 +173,7 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
173
173
  class: [l.value],
174
174
  onClick: d
175
175
  }), {
176
- default: D(() => [
176
+ default: M(() => [
177
177
  i.value ? (y(), B(W, {
178
178
  key: 0,
179
179
  name: "user-photo",
@@ -188,10 +188,10 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
188
188
  loading: "lazy"
189
189
  }, null, 8, va)) : x("", !0),
190
190
  e.fullName ? (y(), g(K, { key: 2 }, [
191
- z(J(u.value), 1)
191
+ z(F(u.value), 1)
192
192
  ], 64)) : x("", !0),
193
193
  e.totalNumber ? (y(), g(K, { key: 3 }, [
194
- z(J("+" + e.totalNumber), 1)
194
+ z(F("+" + e.totalNumber), 1)
195
195
  ], 64)) : x("", !0)
196
196
  ]),
197
197
  _: 1
@@ -208,7 +208,7 @@ const fa = (e) => (ot("data-v-bcb28746"), e = e(), lt(), e), ya = {
208
208
  ], 512));
209
209
  }
210
210
  });
211
- const bn = /* @__PURE__ */ E(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @__PURE__ */ L({
211
+ const bn = /* @__PURE__ */ A(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @__PURE__ */ L({
212
212
  __name: "VJoyAvatarsList",
213
213
  props: {
214
214
  /** Renders a compact list of avatars */
@@ -219,11 +219,11 @@ const bn = /* @__PURE__ */ E(ha, [["__scopeId", "data-v-bcb28746"]]), _a = /* @_
219
219
  ref: "avatarsList",
220
220
  class: $(["joy-avatars-list", { "joy-avatars-list--compressed": e.compress }])
221
221
  }, [
222
- w(t.$slots, "default", {}, void 0, !0)
222
+ k(t.$slots, "default", {}, void 0, !0)
223
223
  ], 2));
224
224
  }
225
225
  });
226
- const wa = /* @__PURE__ */ E(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], ka = /* @__PURE__ */ L({
226
+ const wa = /* @__PURE__ */ A(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], ka = /* @__PURE__ */ L({
227
227
  __name: "VJoyBadge",
228
228
  props: {
229
229
  /**
@@ -255,13 +255,13 @@ const wa = /* @__PURE__ */ E(_a, [["__scopeId", "data-v-46e4547e"]]), Sa = ["inf
255
255
  class: $(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
256
256
  role: "status"
257
257
  }, [
258
- w(t.$slots, "default", {}, () => [
259
- z(J(e.label), 1)
258
+ k(t.$slots, "default", {}, () => [
259
+ z(F(e.label), 1)
260
260
  ], !0)
261
261
  ], 2));
262
262
  }
263
263
  });
264
- const xa = /* @__PURE__ */ E(ka, [["__scopeId", "data-v-4512c8c6"]]);
264
+ const xa = /* @__PURE__ */ A(ka, [["__scopeId", "data-v-4512c8c6"]]);
265
265
  var Z = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(Z || {}), Ke = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(Ke || {});
266
266
  const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-badge-level" }, ja = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
267
267
  fill: "#264FFA",
@@ -319,12 +319,12 @@ const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-
319
319
  }, Ra = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
320
320
  d: "M5.77736 10.4456C4.45736 10.4406 3.21936 9.91961 2.29036 8.98161C1.62236 8.30661 1.17136 7.47461 0.97336 6.56861C0.97336 6.56861 0.97336 6.56861 0.97336 6.56761C0.96536 6.53061 0.95736 6.49361 0.94936 6.45561C0.94936 6.45061 0.94836 6.44561 0.94736 6.44061C0.94136 6.40761 0.93536 6.37461 0.92936 6.34061C0.92736 6.33161 0.92636 6.32261 0.92436 6.31261C0.91936 6.28361 0.91536 6.25461 0.91036 6.22461C0.90836 6.21161 0.90736 6.19861 0.90536 6.18561C0.90136 6.15961 0.89836 6.13361 0.89536 6.10761C0.89336 6.09161 0.89136 6.07561 0.88936 6.05961C0.88636 6.03561 0.88436 6.01261 0.88236 5.98861C0.88036 5.97061 0.87836 5.95161 0.87736 5.93361C0.87536 5.91161 0.87336 5.89061 0.87136 5.86861C0.87036 5.84861 0.86836 5.82861 0.86736 5.80761C0.86636 5.78761 0.86536 5.76661 0.86436 5.74661C0.86336 5.72661 0.86236 5.70561 0.86136 5.68461C0.86036 5.66461 0.86036 5.64461 0.85936 5.62461C0.85936 5.60361 0.85936 5.58161 0.85836 5.56061C0.85836 5.54061 0.85836 5.51961 0.85836 5.49961C0.85836 5.47961 0.85836 5.45861 0.85836 5.43861C0.85836 5.41761 0.85936 5.39661 0.85936 5.37561C0.85936 5.35561 0.86036 5.33561 0.86136 5.31561C0.86236 5.29461 0.86336 5.27361 0.86436 5.25261C0.86536 5.23261 0.86636 5.21161 0.86736 5.19161C0.86836 5.17161 0.86936 5.15161 0.87136 5.13061C0.87336 5.10961 0.87436 5.08761 0.87636 5.06661C0.87836 5.04761 0.88036 5.02961 0.88236 5.01061C0.88436 4.98661 0.88736 4.96361 0.88936 4.94061C0.89136 4.92461 0.89336 4.90861 0.89536 4.89261C0.89836 4.86661 0.90236 4.84061 0.90536 4.81461C0.90736 4.80061 0.90836 4.78761 0.91036 4.77461C0.91436 4.74561 0.91936 4.71561 0.92436 4.68661C0.92636 4.67761 0.92736 4.66761 0.92936 4.65861C0.93536 4.62561 0.94136 4.59161 0.94736 4.55861C0.94836 4.55361 0.94936 4.54861 0.95036 4.54361C0.95736 4.50561 0.96536 4.46861 0.97336 4.43061C0.97336 4.43061 0.97336 4.43061 0.97336 4.42961C1.17136 3.52561 1.62236 2.69261 2.29036 2.01761C3.21936 1.07961 4.45836 0.559612 5.77736 0.554612L6.18236 0.552612L6.52236 0.553612L11.5024 5.49961L6.52236 10.4456L6.18236 10.4476L5.77736 10.4456Z",
321
321
  fill: "#E3F8FB"
322
- }, null, -1)), Ma = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
322
+ }, null, -1)), Da = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
323
323
  d: "M17.2235 0.554612C18.5425 0.559612 19.7815 1.07961 20.7105 2.01761C21.3785 2.69261 21.8285 3.52461 22.0275 4.43061C22.0275 4.43061 22.0275 4.43061 22.0275 4.43161C22.0355 4.46961 22.0435 4.50661 22.0505 4.54461C22.0515 4.54961 22.0525 4.55461 22.0535 4.55961C22.0595 4.59261 22.0655 4.62561 22.0715 4.65961C22.0735 4.66861 22.0745 4.67861 22.0765 4.68761C22.0815 4.71661 22.0855 4.74661 22.0905 4.77561C22.0925 4.78861 22.0945 4.80161 22.0955 4.81461C22.0995 4.84061 22.1025 4.86661 22.1055 4.89261C22.1075 4.90861 22.1095 4.92461 22.1115 4.94061C22.1145 4.96361 22.1165 4.98761 22.1185 5.01061C22.1205 5.02961 22.1215 5.04761 22.1235 5.06661C22.1255 5.08761 22.1275 5.10961 22.1285 5.13061C22.1295 5.15061 22.1315 5.17061 22.1325 5.19161C22.1335 5.21161 22.1345 5.23261 22.1355 5.25261C22.1365 5.27361 22.1375 5.29461 22.1385 5.31561C22.1395 5.33561 22.1395 5.35561 22.1405 5.37561C22.1415 5.39661 22.1415 5.41761 22.1415 5.43861C22.1415 5.45861 22.1415 5.47961 22.1415 5.49961C22.1415 5.51961 22.1415 5.54061 22.1415 5.56061C22.1415 5.58161 22.1405 5.60261 22.1405 5.62361C22.1405 5.64361 22.1395 5.66361 22.1385 5.68361C22.1375 5.70461 22.1365 5.72561 22.1355 5.74661C22.1345 5.76661 22.1335 5.78761 22.1325 5.80761C22.1315 5.82761 22.1305 5.84761 22.1285 5.86861C22.1265 5.88961 22.1255 5.91161 22.1235 5.93261C22.1215 5.95161 22.1205 5.96961 22.1185 5.98861C22.1165 6.01261 22.1135 6.03561 22.1115 6.05861C22.1095 6.07461 22.1075 6.09061 22.1055 6.10661C22.1025 6.13261 22.0985 6.15861 22.0955 6.18461C22.0935 6.19761 22.0915 6.21061 22.0905 6.22361C22.0865 6.25261 22.0815 6.28261 22.0765 6.31161C22.0745 6.32061 22.0735 6.33061 22.0715 6.33961C22.0655 6.37261 22.0595 6.40661 22.0535 6.43961C22.0525 6.44461 22.0515 6.44961 22.0505 6.45461C22.0435 6.49261 22.0355 6.52961 22.0275 6.56761C22.0275 6.56761 22.0275 6.56761 22.0275 6.56861C21.8285 7.47461 21.3785 8.30661 20.7105 8.98161C19.7815 9.91961 18.5425 10.4396 17.2235 10.4446L16.8185 10.4466L16.4785 10.4456L11.4985 5.49961L16.4785 0.553612L16.8175 0.552612L17.2235 0.554612Z",
324
324
  fill: "#FF91F0"
325
- }, null, -1)), Da = [
325
+ }, null, -1)), Ma = [
326
326
  Ra,
327
- Ma
327
+ Da
328
328
  ], za = {
329
329
  key: 4,
330
330
  class: "joy-badge-level__highpotential-program",
@@ -385,7 +385,7 @@ const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-
385
385
  }, Ta))), 128)) : x("", !0),
386
386
  e.type === T(Z).HIGH_POTENTIAL ? (y(), g("svg", Ia, Ea)) : x("", !0),
387
387
  e.type === T(Z).HIGH_POTENTIAL_AUTO ? (y(), g("svg", Ba, Fa)) : x("", !0),
388
- e.type === T(Z).MALT_LINKER ? (y(), g("svg", Pa, Da)) : x("", !0),
388
+ e.type === T(Z).MALT_LINKER ? (y(), g("svg", Pa, Ma)) : x("", !0),
389
389
  e.type === T(Ke).HIGH_POTENTIAL ? (y(), g("svg", za, Ha)) : x("", !0),
390
390
  b("span", {
391
391
  class: $([
@@ -397,14 +397,14 @@ const fe = (e) => (ot("data-v-4187ebd6"), e = e(), lt(), e), Ca = { class: "joy-
397
397
  }
398
398
  ])
399
399
  }, [
400
- e.visibleText ? w(a.$slots, "default", { key: 0 }, () => [
401
- z(J(n.value), 1)
400
+ e.visibleText ? k(a.$slots, "default", { key: 0 }, () => [
401
+ z(F(n.value), 1)
402
402
  ], !0) : x("", !0)
403
403
  ], 2)
404
404
  ]));
405
405
  }
406
406
  });
407
- const Ua = /* @__PURE__ */ E(Wa, [["__scopeId", "data-v-4187ebd6"]]);
407
+ const Ua = /* @__PURE__ */ A(Wa, [["__scopeId", "data-v-4187ebd6"]]);
408
408
  function gn(e) {
409
409
  let t;
410
410
  switch (e) {
@@ -451,7 +451,7 @@ const Ka = ["teal", "white"], Ya = /* @__PURE__ */ L({
451
451
  }, null, 2));
452
452
  }
453
453
  });
454
- const $t = /* @__PURE__ */ E(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["primary", "secondary"], Qa = ["neutral", "success", "info", "warning", "error"], Xa = ["main", "admin", "ghost", "white"], eo = [...Za, ...Xa], to = ["large", "medium", "small", "xsmall", "xxsmall"], no = /* @__PURE__ */ L({
454
+ const $t = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["primary", "secondary"], Qa = ["neutral", "success", "info", "warning", "error"], Xa = ["main", "admin", "ghost", "white"], eo = [...Za, ...Xa], to = ["large", "medium", "small", "xsmall", "xxsmall"], no = /* @__PURE__ */ L({
455
455
  __name: "VJoyButton",
456
456
  props: {
457
457
  /**
@@ -528,7 +528,7 @@ const $t = /* @__PURE__ */ E(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
528
528
  ]),
529
529
  "aria-labelledby": (i.$slots.default || e.label) && o
530
530
  }, {
531
- default: D(() => [
531
+ default: M(() => [
532
532
  e.icon && e.iconPosition === "left" ? (y(), B(W, {
533
533
  key: 0,
534
534
  class: "joy-button_icon joy-button_icon--left",
@@ -544,8 +544,8 @@ const $t = /* @__PURE__ */ E(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
544
544
  id: o,
545
545
  class: "joy-button--slot"
546
546
  }, [
547
- w(i.$slots, "default", {}, () => [
548
- z(J(e.label), 1)
547
+ k(i.$slots, "default", {}, () => [
548
+ z(F(e.label), 1)
549
549
  ], !0)
550
550
  ]),
551
551
  e.icon && e.iconPosition === "right" ? (y(), B(W, {
@@ -563,7 +563,7 @@ const $t = /* @__PURE__ */ E(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
563
563
  };
564
564
  }
565
565
  });
566
- const de = /* @__PURE__ */ E(no, [["__scopeId", "data-v-25ba8bc2"]]);
566
+ const de = /* @__PURE__ */ A(no, [["__scopeId", "data-v-25ba8bc2"]]);
567
567
  var zt;
568
568
  const Vt = typeof window < "u", hn = (e) => typeof e == "string", Tt = () => {
569
569
  }, pt = Vt && ((zt = window == null ? void 0 : window.navigator) == null ? void 0 : zt.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -595,7 +595,7 @@ function yt(...e) {
595
595
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
596
596
  const r = [], l = () => {
597
597
  r.forEach((c) => c()), r.length = 0;
598
- }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = ee(() => [Te(t), Ee(o)], ([c, f]) => {
598
+ }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [Te(t), Ee(o)], ([c, f]) => {
599
599
  l(), c && r.push(...n.flatMap((p) => a.map((s) => i(c, p, s, f))));
600
600
  }, { immediate: !0, flush: "post" }), d = () => {
601
601
  u(), l();
@@ -659,7 +659,7 @@ function fo(e, t, n = {}) {
659
659
  let l;
660
660
  const i = io(() => o && "ResizeObserver" in o), u = () => {
661
661
  l && (l.disconnect(), l = void 0);
662
- }, d = ee(() => Te(e), (f) => {
662
+ }, d = Q(() => Te(e), (f) => {
663
663
  u(), i.value && o && f && (l = new ResizeObserver(t), l.observe(f, r));
664
664
  }, { immediate: !0, flush: "post" }), c = () => {
665
665
  u(), d();
@@ -679,7 +679,7 @@ function yo(e) {
679
679
  var o, r;
680
680
  t.value && (t.value.style.height = "1px", t.value.style.height = `${(o = t.value) == null ? void 0 : o.scrollHeight}px`, (r = e == null ? void 0 : e.onResize) == null || r.call(e));
681
681
  }
682
- return ee([n, t], a, { immediate: !0 }), fo(t, () => a()), e != null && e.watch && ee(e.watch, a, { immediate: !0, deep: !0 }), {
682
+ return Q([n, t], a, { immediate: !0 }), fo(t, () => a()), e != null && e.watch && Q(e.watch, a, { immediate: !0, deep: !0 }), {
683
683
  textarea: t,
684
684
  input: n,
685
685
  triggerResize: a
@@ -749,7 +749,7 @@ function wo(...e) {
749
749
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
750
750
  const r = [], l = () => {
751
751
  r.forEach((c) => c()), r.length = 0;
752
- }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = ee(() => [ho(t), Ee(o)], ([c, f]) => {
752
+ }, i = (c, f, p, s) => (c.addEventListener(f, p, s), () => c.removeEventListener(f, p, s)), u = Q(() => [ho(t), Ee(o)], ([c, f]) => {
753
753
  l(), c && r.push(...n.flatMap((p) => a.map((s) => i(c, p, s, f))));
754
754
  }, { immediate: !0, flush: "post" }), d = () => {
755
755
  u(), l();
@@ -774,7 +774,7 @@ function So(e) {
774
774
  function ko(e, t = !1) {
775
775
  const n = C(t);
776
776
  let a = null, o;
777
- ee(oo(e), (i) => {
777
+ Q(oo(e), (i) => {
778
778
  if (i) {
779
779
  const u = i;
780
780
  o = u.style.overflow, n.value && (u.style.overflow = "hidden");
@@ -808,7 +808,7 @@ const xo = () => {
808
808
  return;
809
809
  e = !0;
810
810
  const o = ko(n, a.value);
811
- ee(t, (r) => o.value = r);
811
+ Q(t, (r) => o.value = r);
812
812
  };
813
813
  };
814
814
  xo();
@@ -859,28 +859,28 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
859
859
  d.value = !1, i.value = !1, u.value = !1, me(!1), n("bottom-sheet:close");
860
860
  }, 300);
861
861
  }
862
- function m(N) {
863
- d.value = !0, c.value.classList.add(en), f = A(N);
862
+ function m(O) {
863
+ d.value = !0, c.value.classList.add(en), f = E(O);
864
864
  }
865
- function v(N) {
866
- d.value && (k(N) > Xt && s(), F());
865
+ function v(O) {
866
+ d.value && (h(O) > Xt && s(), P());
867
867
  }
868
- function S(N) {
868
+ function _(O) {
869
869
  if (d.value) {
870
- const O = k(N);
871
- O > Xt ? s() : O > 0 && P(O);
870
+ const J = h(O);
871
+ J > Xt ? s() : J > 0 && N(J);
872
872
  }
873
873
  }
874
- function k(N) {
875
- return A(N) - f;
874
+ function h(O) {
875
+ return E(O) - f;
876
876
  }
877
- function A(N) {
878
- return ["touchend", "touchmove", "touchstart"].includes(N.type) ? N.changedTouches[0].clientY : N.clientY;
877
+ function E(O) {
878
+ return ["touchend", "touchmove", "touchstart"].includes(O.type) ? O.changedTouches[0].clientY : O.clientY;
879
879
  }
880
- function P(N) {
881
- c.value.style.setProperty("transform", `translateY(${N}px)`);
880
+ function N(O) {
881
+ c.value.style.setProperty("transform", `translateY(${O}px)`);
882
882
  }
883
- function F() {
883
+ function P() {
884
884
  c.value.classList.remove(en), c.value.style.removeProperty("transform"), d.value = !1;
885
885
  }
886
886
  function j() {
@@ -892,8 +892,8 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
892
892
  hide: s,
893
893
  show: p,
894
894
  isOpen: u,
895
- moveContainer: P
896
- }), (N, O) => l.value ? (y(), B(rt, {
895
+ moveContainer: N
896
+ }), (O, J) => l.value ? (y(), B(rt, {
897
897
  key: 0,
898
898
  to: e.teleport
899
899
  }, [
@@ -909,7 +909,7 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
909
909
  }), [
910
910
  Co,
911
911
  U(T(Lt), { onTrigger: s }, {
912
- default: D(() => [
912
+ default: M(() => [
913
913
  b("div", {
914
914
  ref_key: "bottomSheetContainerElement",
915
915
  ref: c,
@@ -919,17 +919,17 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
919
919
  class: "joy-bottom-sheet_header",
920
920
  onMousedown: m,
921
921
  onMouseup: v,
922
- onMousemove: S,
922
+ onMousemove: _,
923
923
  onMouseleave: v,
924
924
  onTouchstart: m,
925
925
  onTouchend: v,
926
- onTouchmove: S
926
+ onTouchmove: _
927
927
  }, $o, 32),
928
928
  b("div", Vo, [
929
- w(N.$slots, "bottom-sheet-content", {}, void 0, !0)
929
+ k(O.$slots, "bottom-sheet-content", {}, void 0, !0)
930
930
  ]),
931
931
  b("div", To, [
932
- w(N.$slots, "bottom-sheet-cta", {}, () => [
932
+ k(O.$slots, "bottom-sheet-cta", {}, () => [
933
933
  U(de, {
934
934
  class: "joy-bottom-sheet_footer-close",
935
935
  label: e.closeLabel,
@@ -945,14 +945,14 @@ const wn = (e) => (ot("data-v-ed8a60b0"), e = e(), lt(), e), Co = /* @__PURE__ *
945
945
  ], 8, ["to"])) : x("", !0);
946
946
  }
947
947
  });
948
- const Lo = /* @__PURE__ */ E(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @__PURE__ */ L({
948
+ const Lo = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @__PURE__ */ L({
949
949
  __name: "VJoyBottomSheetTrigger",
950
950
  props: {
951
951
  bottomSheet: {}
952
952
  },
953
953
  emits: ["click"],
954
954
  setup(e, { emit: t }) {
955
- const n = e, a = V(() => n.bottomSheet), o = Q(), r = V(() => o.default());
955
+ const n = e, a = V(() => n.bottomSheet), o = X(), r = V(() => o.default());
956
956
  function l() {
957
957
  var i;
958
958
  t("click"), (i = a.value) == null || i.show();
@@ -1072,18 +1072,18 @@ const Lo = /* @__PURE__ */ E(Io, [["__scopeId", "data-v-ed8a60b0"]]), Eo = /* @_
1072
1072
  }, null, 40, No)
1073
1073
  ]),
1074
1074
  b("div", Oo, [
1075
- w(d.$slots, "default", {}, () => [
1076
- z(J(e.label), 1)
1075
+ k(d.$slots, "default", {}, () => [
1076
+ z(F(e.label), 1)
1077
1077
  ], !0),
1078
1078
  b("div", Jo, [
1079
- w(d.$slots, "checkbox-content", {}, void 0, !0)
1079
+ k(d.$slots, "checkbox-content", {}, void 0, !0)
1080
1080
  ])
1081
1081
  ])
1082
1082
  ], 2)
1083
1083
  ], 8, Bo));
1084
1084
  }
1085
1085
  });
1086
- const Et = /* @__PURE__ */ E(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["aria-expanded"], Ro = ["id"], Mo = { class: "joy-collapse-item__header-right" }, Do = ["aria-labelledby"], zo = /* @__PURE__ */ L({
1086
+ const Et = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["aria-expanded"], Ro = ["id"], Do = { class: "joy-collapse-item__header-right" }, Mo = ["aria-labelledby"], zo = /* @__PURE__ */ L({
1087
1087
  __name: "VJoyCollapseItem",
1088
1088
  props: {
1089
1089
  header: {
@@ -1104,7 +1104,7 @@ const Et = /* @__PURE__ */ E(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1104
1104
  emits: ["collapse-item:open", "collapse-item:close"],
1105
1105
  setup(e, { expose: t, emit: n }) {
1106
1106
  const a = e, o = C(a.open);
1107
- ee(
1107
+ Q(
1108
1108
  () => a.open,
1109
1109
  (i) => {
1110
1110
  o.value = i;
@@ -1144,10 +1144,10 @@ const Et = /* @__PURE__ */ E(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1144
1144
  color: "secondary",
1145
1145
  name: e.summaryIcon
1146
1146
  }, null, 8, ["name"])) : x("", !0),
1147
- z(" " + J(e.header), 1)
1147
+ z(" " + F(e.header), 1)
1148
1148
  ], 8, Ro),
1149
- b("div", Mo, [
1150
- w(i.$slots, "collapse-header-right")
1149
+ b("div", Do, [
1150
+ k(i.$slots, "collapse-header-right")
1151
1151
  ]),
1152
1152
  U(W, {
1153
1153
  class: "joy-collapse-item__summary___marker",
@@ -1165,12 +1165,12 @@ const Et = /* @__PURE__ */ E(Fo, [["__scopeId", "data-v-27cc9d8c"]]), Po = ["ari
1165
1165
  }
1166
1166
  ])
1167
1167
  }, [
1168
- w(i.$slots, "default")
1169
- ], 10, Do)) : x("", !0)
1168
+ k(i.$slots, "default")
1169
+ ], 10, Mo)) : x("", !0)
1170
1170
  ], 2));
1171
1171
  }
1172
1172
  });
1173
- const Sn = /* @__PURE__ */ E(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { class: "joy-collapse" }, Ho = /* @__PURE__ */ L({
1173
+ const Sn = /* @__PURE__ */ A(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { class: "joy-collapse" }, Ho = /* @__PURE__ */ L({
1174
1174
  __name: "VJoyCollapse",
1175
1175
  props: {
1176
1176
  accordion: {
@@ -1186,7 +1186,7 @@ const Sn = /* @__PURE__ */ E(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { cla
1186
1186
  },
1187
1187
  emits: ["update:modelValue"],
1188
1188
  setup(e, { expose: t, emit: n }) {
1189
- const a = e, o = C(a.modelValue), r = Q(), l = V(() => {
1189
+ const a = e, o = C(a.modelValue), r = X(), l = V(() => {
1190
1190
  const s = r.default();
1191
1191
  return s.length === 1 && typeof s[0].type != "object" ? s[0].children.filter(i) : s.filter(i);
1192
1192
  });
@@ -1226,21 +1226,21 @@ const Sn = /* @__PURE__ */ E(zo, [["__scopeId", "data-v-f41beb0a"]]), qo = { cla
1226
1226
  (y(!0), g(K, null, Y(l.value, (v) => (y(), B(Sn, te(v.props, {
1227
1227
  key: v.props.id,
1228
1228
  open: d(v),
1229
- "onCollapseItem:open": (S) => c(v),
1230
- "onCollapseItem:close": (S) => f(v)
1229
+ "onCollapseItem:open": (_) => c(v),
1230
+ "onCollapseItem:close": (_) => f(v)
1231
1231
  }), {
1232
- "collapse-header-right": D(() => [
1233
- (y(!0), g(K, null, Y(u(v, "collapse-header-right"), (S) => (y(), B(oe(S), { key: S }))), 128))
1232
+ "collapse-header-right": M(() => [
1233
+ (y(!0), g(K, null, Y(u(v, "collapse-header-right"), (_) => (y(), B(oe(_), { key: _ }))), 128))
1234
1234
  ]),
1235
- default: D(() => [
1236
- (y(!0), g(K, null, Y(u(v, "default"), (S) => (y(), B(oe(S), { key: S }))), 128))
1235
+ default: M(() => [
1236
+ (y(!0), g(K, null, Y(u(v, "default"), (_) => (y(), B(oe(_), { key: _ }))), 128))
1237
1237
  ]),
1238
1238
  _: 2
1239
1239
  }, 1040, ["open", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1240
1240
  ]));
1241
1241
  }
1242
1242
  });
1243
- const Wo = /* @__PURE__ */ E(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src", "alt", "title"], Go = /* @__PURE__ */ L({
1243
+ const Wo = /* @__PURE__ */ A(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src", "alt", "title"], Go = /* @__PURE__ */ L({
1244
1244
  __name: "VJoyCompanyAvatar",
1245
1245
  props: {
1246
1246
  imgSrc: String,
@@ -1280,7 +1280,7 @@ const Wo = /* @__PURE__ */ E(Ho, [["__scopeId", "data-v-5bd4f0f7"]]), Uo = ["src
1280
1280
  ], 2));
1281
1281
  }
1282
1282
  });
1283
- const Ko = /* @__PURE__ */ E(Go, [["__scopeId", "data-v-0f616ccb"]]);
1283
+ const Ko = /* @__PURE__ */ A(Go, [["__scopeId", "data-v-0f616ccb"]]);
1284
1284
  function Yo(e) {
1285
1285
  const t = () => e();
1286
1286
  le(() => {
@@ -1386,8 +1386,8 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1386
1386
  o.value = !f();
1387
1387
  }
1388
1388
  function c(v = !0) {
1389
- const S = a.step.toString().split("."), k = S.length === 2 ? S[1].length : 0;
1390
- return parseFloat(v ? (a.modelValue + a.step).toFixed(k) : (a.modelValue - a.step).toFixed(k));
1389
+ const _ = a.step.toString().split("."), h = _.length === 2 ? _[1].length : 0;
1390
+ return parseFloat(v ? (a.modelValue + a.step).toFixed(h) : (a.modelValue - a.step).toFixed(h));
1391
1391
  }
1392
1392
  function f() {
1393
1393
  return p() && s();
@@ -1411,7 +1411,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1411
1411
  };
1412
1412
  return t({
1413
1413
  props: a
1414
- }), (v, S) => (y(), g("div", Zo, [
1414
+ }), (v, _) => (y(), g("div", Zo, [
1415
1415
  e.label ? (y(), B(T(je), {
1416
1416
  key: 0,
1417
1417
  for: e.id,
@@ -1419,9 +1419,9 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1419
1419
  "optional-label": e.optionalLabel,
1420
1420
  size: e.labelSize
1421
1421
  }, {
1422
- default: D(() => [
1423
- w(v.$slots, "default", {}, () => [
1424
- z(J(e.label), 1)
1422
+ default: M(() => [
1423
+ k(v.$slots, "default", {}, () => [
1424
+ z(F(e.label), 1)
1425
1425
  ], !0)
1426
1426
  ]),
1427
1427
  _: 3
@@ -1453,12 +1453,12 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1453
1453
  step: "any",
1454
1454
  value: e.modelValue
1455
1455
  }, v.$attrs, {
1456
- onInput: S[0] || (S[0] = //@ts-ignore
1457
- (...k) => m.onInput && m.onInput(...k)),
1458
- onBlur: S[1] || (S[1] = //@ts-ignore
1459
- (...k) => m.onBlur && m.onBlur(...k)),
1460
- onFocus: S[2] || (S[2] = //@ts-ignore
1461
- (...k) => m.onFocus && m.onFocus(...k))
1456
+ onInput: _[0] || (_[0] = //@ts-ignore
1457
+ (...h) => m.onInput && m.onInput(...h)),
1458
+ onBlur: _[1] || (_[1] = //@ts-ignore
1459
+ (...h) => m.onBlur && m.onBlur(...h)),
1460
+ onFocus: _[2] || (_[2] = //@ts-ignore
1461
+ (...h) => m.onFocus && m.onFocus(...h))
1462
1462
  }), null, 16, el)
1463
1463
  ]),
1464
1464
  b("button", {
@@ -1477,7 +1477,7 @@ const Zo = { class: "joy-counter" }, Qo = ["aria-label", "disabled"], Xo = { cla
1477
1477
  ]));
1478
1478
  }
1479
1479
  });
1480
- const ll = /* @__PURE__ */ E(ol, [["__scopeId", "data-v-8ad5d56e"]]);
1480
+ const ll = /* @__PURE__ */ A(ol, [["__scopeId", "data-v-8ad5d56e"]]);
1481
1481
  function rl(e) {
1482
1482
  return kt() ? (xt(e), !0) : !1;
1483
1483
  }
@@ -1812,69 +1812,69 @@ var on = {
1812
1812
  delayInitialFocusTimer: void 0,
1813
1813
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
1814
1814
  recentNavEvent: void 0
1815
- }, i, u = function(h, _, I) {
1816
- return h && h[_] !== void 0 ? h[_] : r[I || _];
1817
- }, d = function(h, _) {
1818
- var I = typeof (_ == null ? void 0 : _.composedPath) == "function" ? _.composedPath() : void 0;
1815
+ }, i, u = function(w, S, I) {
1816
+ return w && w[S] !== void 0 ? w[S] : r[I || S];
1817
+ }, d = function(w, S) {
1818
+ var I = typeof (S == null ? void 0 : S.composedPath) == "function" ? S.composedPath() : void 0;
1819
1819
  return l.containerGroups.findIndex(function(R) {
1820
- var M = R.container, q = R.tabbableNodes;
1821
- return M.contains(h) || // fall back to explicit tabbable search which will take into consideration any
1820
+ var D = R.container, q = R.tabbableNodes;
1821
+ return D.contains(w) || // fall back to explicit tabbable search which will take into consideration any
1822
1822
  // web components if the `tabbableOptions.getShadowRoot` option was used for
1823
1823
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
1824
1824
  // look inside web components even if open)
1825
- (I == null ? void 0 : I.includes(M)) || q.find(function(G) {
1826
- return G === h;
1825
+ (I == null ? void 0 : I.includes(D)) || q.find(function(G) {
1826
+ return G === w;
1827
1827
  });
1828
1828
  });
1829
- }, c = function(h) {
1830
- var _ = r[h];
1831
- if (typeof _ == "function") {
1832
- for (var I = arguments.length, R = new Array(I > 1 ? I - 1 : 0), M = 1; M < I; M++)
1833
- R[M - 1] = arguments[M];
1834
- _ = _.apply(void 0, R);
1835
- }
1836
- if (_ === !0 && (_ = void 0), !_) {
1837
- if (_ === void 0 || _ === !1)
1838
- return _;
1839
- throw new Error("`".concat(h, "` was specified but was not a node, or did not return a node"));
1840
- }
1841
- var q = _;
1842
- if (typeof _ == "string" && (q = a.querySelector(_), !q))
1843
- throw new Error("`".concat(h, "` as selector refers to no known node"));
1829
+ }, c = function(w) {
1830
+ var S = r[w];
1831
+ if (typeof S == "function") {
1832
+ for (var I = arguments.length, R = new Array(I > 1 ? I - 1 : 0), D = 1; D < I; D++)
1833
+ R[D - 1] = arguments[D];
1834
+ S = S.apply(void 0, R);
1835
+ }
1836
+ if (S === !0 && (S = void 0), !S) {
1837
+ if (S === void 0 || S === !1)
1838
+ return S;
1839
+ throw new Error("`".concat(w, "` was specified but was not a node, or did not return a node"));
1840
+ }
1841
+ var q = S;
1842
+ if (typeof S == "string" && (q = a.querySelector(S), !q))
1843
+ throw new Error("`".concat(w, "` as selector refers to no known node"));
1844
1844
  return q;
1845
1845
  }, f = function() {
1846
- var h = c("initialFocus");
1847
- if (h === !1)
1846
+ var w = c("initialFocus");
1847
+ if (w === !1)
1848
1848
  return !1;
1849
- if (h === void 0 || !vt(h, r.tabbableOptions))
1849
+ if (w === void 0 || !vt(w, r.tabbableOptions))
1850
1850
  if (d(a.activeElement) >= 0)
1851
- h = a.activeElement;
1851
+ w = a.activeElement;
1852
1852
  else {
1853
- var _ = l.tabbableGroups[0], I = _ && _.firstTabbableNode;
1854
- h = I || c("fallbackFocus");
1853
+ var S = l.tabbableGroups[0], I = S && S.firstTabbableNode;
1854
+ w = I || c("fallbackFocus");
1855
1855
  }
1856
- if (!h)
1856
+ if (!w)
1857
1857
  throw new Error("Your focus-trap needs to have at least one focusable element");
1858
- return h;
1858
+ return w;
1859
1859
  }, p = function() {
1860
- if (l.containerGroups = l.containers.map(function(h) {
1861
- var _ = kl(h, r.tabbableOptions), I = xl(h, r.tabbableOptions), R = _.length > 0 ? _[0] : void 0, M = _.length > 0 ? _[_.length - 1] : void 0, q = I.find(function(X) {
1862
- return Ve(X);
1863
- }), G = I.slice().reverse().find(function(X) {
1864
- return Ve(X);
1865
- }), ne = !!_.find(function(X) {
1866
- return ke(X) > 0;
1860
+ if (l.containerGroups = l.containers.map(function(w) {
1861
+ var S = kl(w, r.tabbableOptions), I = xl(w, r.tabbableOptions), R = S.length > 0 ? S[0] : void 0, D = S.length > 0 ? S[S.length - 1] : void 0, q = I.find(function(ee) {
1862
+ return Ve(ee);
1863
+ }), G = I.slice().reverse().find(function(ee) {
1864
+ return Ve(ee);
1865
+ }), ne = !!S.find(function(ee) {
1866
+ return ke(ee) > 0;
1867
1867
  });
1868
1868
  return {
1869
- container: h,
1870
- tabbableNodes: _,
1869
+ container: w,
1870
+ tabbableNodes: S,
1871
1871
  focusableNodes: I,
1872
1872
  /** True if at least one node with positive `tabindex` was found in this container. */
1873
1873
  posTabIndexesFound: ne,
1874
1874
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
1875
1875
  firstTabbableNode: R,
1876
1876
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
1877
- lastTabbableNode: M,
1877
+ lastTabbableNode: D,
1878
1878
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
1879
1879
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
1880
1880
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -1895,75 +1895,75 @@ var on = {
1895
1895
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
1896
1896
  */
1897
1897
  nextTabbableNode: function(Se) {
1898
- var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = _.indexOf(Se);
1898
+ var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = S.indexOf(Se);
1899
1899
  return pe < 0 ? Oe ? I.slice(I.indexOf(Se) + 1).find(function(Je) {
1900
1900
  return Ve(Je);
1901
1901
  }) : I.slice(0, I.indexOf(Se)).reverse().find(function(Je) {
1902
1902
  return Ve(Je);
1903
- }) : _[pe + (Oe ? 1 : -1)];
1903
+ }) : S[pe + (Oe ? 1 : -1)];
1904
1904
  }
1905
1905
  };
1906
- }), l.tabbableGroups = l.containerGroups.filter(function(h) {
1907
- return h.tabbableNodes.length > 0;
1906
+ }), l.tabbableGroups = l.containerGroups.filter(function(w) {
1907
+ return w.tabbableNodes.length > 0;
1908
1908
  }), l.tabbableGroups.length <= 0 && !c("fallbackFocus"))
1909
1909
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
1910
- if (l.containerGroups.find(function(h) {
1911
- return h.posTabIndexesFound;
1910
+ if (l.containerGroups.find(function(w) {
1911
+ return w.posTabIndexesFound;
1912
1912
  }) && l.containerGroups.length > 1)
1913
1913
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
1914
- }, s = function H(h) {
1915
- var _ = h.activeElement;
1916
- if (_)
1917
- return _.shadowRoot && _.shadowRoot.activeElement !== null ? H(_.shadowRoot) : _;
1918
- }, m = function H(h) {
1919
- if (h !== !1 && h !== s(document)) {
1920
- if (!h || !h.focus) {
1914
+ }, s = function H(w) {
1915
+ var S = w.activeElement;
1916
+ if (S)
1917
+ return S.shadowRoot && S.shadowRoot.activeElement !== null ? H(S.shadowRoot) : S;
1918
+ }, m = function H(w) {
1919
+ if (w !== !1 && w !== s(document)) {
1920
+ if (!w || !w.focus) {
1921
1921
  H(f());
1922
1922
  return;
1923
1923
  }
1924
- h.focus({
1924
+ w.focus({
1925
1925
  preventScroll: !!r.preventScroll
1926
- }), l.mostRecentlyFocusedNode = h, Tl(h) && h.select();
1927
- }
1928
- }, v = function(h) {
1929
- var _ = c("setReturnFocus", h);
1930
- return _ || (_ === !1 ? !1 : h);
1931
- }, S = function(h) {
1932
- var _ = h.target, I = h.event, R = h.isBackward, M = R === void 0 ? !1 : R;
1933
- _ = _ || Ge(I), p();
1926
+ }), l.mostRecentlyFocusedNode = w, Tl(w) && w.select();
1927
+ }
1928
+ }, v = function(w) {
1929
+ var S = c("setReturnFocus", w);
1930
+ return S || (S === !1 ? !1 : w);
1931
+ }, _ = function(w) {
1932
+ var S = w.target, I = w.event, R = w.isBackward, D = R === void 0 ? !1 : R;
1933
+ S = S || Ge(I), p();
1934
1934
  var q = null;
1935
1935
  if (l.tabbableGroups.length > 0) {
1936
- var G = d(_, I), ne = G >= 0 ? l.containerGroups[G] : void 0;
1936
+ var G = d(S, I), ne = G >= 0 ? l.containerGroups[G] : void 0;
1937
1937
  if (G < 0)
1938
- M ? q = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : q = l.tabbableGroups[0].firstTabbableNode;
1939
- else if (M) {
1940
- var X = rn(l.tabbableGroups, function(dt) {
1938
+ D ? q = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : q = l.tabbableGroups[0].firstTabbableNode;
1939
+ else if (D) {
1940
+ var ee = rn(l.tabbableGroups, function(dt) {
1941
1941
  var ft = dt.firstTabbableNode;
1942
- return _ === ft;
1942
+ return S === ft;
1943
1943
  });
1944
- if (X < 0 && (ne.container === _ || vt(_, r.tabbableOptions) && !Ve(_, r.tabbableOptions) && !ne.nextTabbableNode(_, !1)) && (X = G), X >= 0) {
1945
- var Se = X === 0 ? l.tabbableGroups.length - 1 : X - 1, Oe = l.tabbableGroups[Se];
1946
- q = ke(_) >= 0 ? Oe.lastTabbableNode : Oe.lastDomTabbableNode;
1944
+ if (ee < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S, !1)) && (ee = G), ee >= 0) {
1945
+ var Se = ee === 0 ? l.tabbableGroups.length - 1 : ee - 1, Oe = l.tabbableGroups[Se];
1946
+ q = ke(S) >= 0 ? Oe.lastTabbableNode : Oe.lastDomTabbableNode;
1947
1947
  } else
1948
- Pe(I) || (q = ne.nextTabbableNode(_, !1));
1948
+ Pe(I) || (q = ne.nextTabbableNode(S, !1));
1949
1949
  } else {
1950
1950
  var pe = rn(l.tabbableGroups, function(dt) {
1951
1951
  var ft = dt.lastTabbableNode;
1952
- return _ === ft;
1952
+ return S === ft;
1953
1953
  });
1954
- if (pe < 0 && (ne.container === _ || vt(_, r.tabbableOptions) && !Ve(_, r.tabbableOptions) && !ne.nextTabbableNode(_)) && (pe = G), pe >= 0) {
1955
- var Je = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Mt = l.tabbableGroups[Je];
1956
- q = ke(_) >= 0 ? Mt.firstTabbableNode : Mt.firstDomTabbableNode;
1954
+ if (pe < 0 && (ne.container === S || vt(S, r.tabbableOptions) && !Ve(S, r.tabbableOptions) && !ne.nextTabbableNode(S)) && (pe = G), pe >= 0) {
1955
+ var Je = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Dt = l.tabbableGroups[Je];
1956
+ q = ke(S) >= 0 ? Dt.firstTabbableNode : Dt.firstDomTabbableNode;
1957
1957
  } else
1958
- Pe(I) || (q = ne.nextTabbableNode(_));
1958
+ Pe(I) || (q = ne.nextTabbableNode(S));
1959
1959
  }
1960
1960
  } else
1961
1961
  q = c("fallbackFocus");
1962
1962
  return q;
1963
- }, k = function(h) {
1964
- var _ = Ge(h);
1965
- if (!(d(_, h) >= 0)) {
1966
- if (Fe(r.clickOutsideDeactivates, h)) {
1963
+ }, h = function(w) {
1964
+ var S = Ge(w);
1965
+ if (!(d(S, w) >= 0)) {
1966
+ if (Fe(r.clickOutsideDeactivates, w)) {
1967
1967
  i.deactivate({
1968
1968
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
1969
1969
  // which will result in the outside click setting focus to the node
@@ -1975,33 +1975,33 @@ var on = {
1975
1975
  });
1976
1976
  return;
1977
1977
  }
1978
- Fe(r.allowOutsideClick, h) || h.preventDefault();
1978
+ Fe(r.allowOutsideClick, w) || w.preventDefault();
1979
1979
  }
1980
- }, A = function(h) {
1981
- var _ = Ge(h), I = d(_, h) >= 0;
1982
- if (I || _ instanceof Document)
1983
- I && (l.mostRecentlyFocusedNode = _);
1980
+ }, E = function(w) {
1981
+ var S = Ge(w), I = d(S, w) >= 0;
1982
+ if (I || S instanceof Document)
1983
+ I && (l.mostRecentlyFocusedNode = S);
1984
1984
  else {
1985
- h.stopImmediatePropagation();
1986
- var R, M = !0;
1985
+ w.stopImmediatePropagation();
1986
+ var R, D = !0;
1987
1987
  if (l.mostRecentlyFocusedNode)
1988
1988
  if (ke(l.mostRecentlyFocusedNode) > 0) {
1989
1989
  var q = d(l.mostRecentlyFocusedNode), G = l.containerGroups[q].tabbableNodes;
1990
1990
  if (G.length > 0) {
1991
- var ne = G.findIndex(function(X) {
1992
- return X === l.mostRecentlyFocusedNode;
1991
+ var ne = G.findIndex(function(ee) {
1992
+ return ee === l.mostRecentlyFocusedNode;
1993
1993
  });
1994
- ne >= 0 && (r.isKeyForward(l.recentNavEvent) ? ne + 1 < G.length && (R = G[ne + 1], M = !1) : ne - 1 >= 0 && (R = G[ne - 1], M = !1));
1994
+ ne >= 0 && (r.isKeyForward(l.recentNavEvent) ? ne + 1 < G.length && (R = G[ne + 1], D = !1) : ne - 1 >= 0 && (R = G[ne - 1], D = !1));
1995
1995
  }
1996
1996
  } else
1997
- l.containerGroups.some(function(X) {
1998
- return X.tabbableNodes.some(function(Se) {
1997
+ l.containerGroups.some(function(ee) {
1998
+ return ee.tabbableNodes.some(function(Se) {
1999
1999
  return ke(Se) > 0;
2000
2000
  });
2001
- }) || (M = !1);
2001
+ }) || (D = !1);
2002
2002
  else
2003
- M = !1;
2004
- M && (R = S({
2003
+ D = !1;
2004
+ D && (R = _({
2005
2005
  // move FROM the MRU node, not event-related node (which will be the node that is
2006
2006
  // outside the trap causing the focus escape we're trying to fix)
2007
2007
  target: l.mostRecentlyFocusedNode,
@@ -2009,54 +2009,54 @@ var on = {
2009
2009
  })), m(R || l.mostRecentlyFocusedNode || f());
2010
2010
  }
2011
2011
  l.recentNavEvent = void 0;
2012
- }, P = function(h) {
2013
- var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2014
- l.recentNavEvent = h;
2015
- var I = S({
2016
- event: h,
2017
- isBackward: _
2012
+ }, N = function(w) {
2013
+ var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2014
+ l.recentNavEvent = w;
2015
+ var I = _({
2016
+ event: w,
2017
+ isBackward: S
2018
2018
  });
2019
- I && (Pe(h) && h.preventDefault(), m(I));
2020
- }, F = function(h) {
2021
- if (Il(h) && Fe(r.escapeDeactivates, h) !== !1) {
2022
- h.preventDefault(), i.deactivate();
2019
+ I && (Pe(w) && w.preventDefault(), m(I));
2020
+ }, P = function(w) {
2021
+ if (Il(w) && Fe(r.escapeDeactivates, w) !== !1) {
2022
+ w.preventDefault(), i.deactivate();
2023
2023
  return;
2024
2024
  }
2025
- (r.isKeyForward(h) || r.isKeyBackward(h)) && P(h, r.isKeyBackward(h));
2026
- }, j = function(h) {
2027
- var _ = Ge(h);
2028
- d(_, h) >= 0 || Fe(r.clickOutsideDeactivates, h) || Fe(r.allowOutsideClick, h) || (h.preventDefault(), h.stopImmediatePropagation());
2029
- }, N = function() {
2025
+ (r.isKeyForward(w) || r.isKeyBackward(w)) && N(w, r.isKeyBackward(w));
2026
+ }, j = function(w) {
2027
+ var S = Ge(w);
2028
+ d(S, w) >= 0 || Fe(r.clickOutsideDeactivates, w) || Fe(r.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
2029
+ }, O = function() {
2030
2030
  if (l.active)
2031
2031
  return on.activateTrap(o, i), l.delayInitialFocusTimer = r.delayInitialFocus ? ln(function() {
2032
2032
  m(f());
2033
- }) : m(f()), a.addEventListener("focusin", A, !0), a.addEventListener("mousedown", k, {
2033
+ }) : m(f()), a.addEventListener("focusin", E, !0), a.addEventListener("mousedown", h, {
2034
2034
  capture: !0,
2035
2035
  passive: !1
2036
- }), a.addEventListener("touchstart", k, {
2036
+ }), a.addEventListener("touchstart", h, {
2037
2037
  capture: !0,
2038
2038
  passive: !1
2039
2039
  }), a.addEventListener("click", j, {
2040
2040
  capture: !0,
2041
2041
  passive: !1
2042
- }), a.addEventListener("keydown", F, {
2042
+ }), a.addEventListener("keydown", P, {
2043
2043
  capture: !0,
2044
2044
  passive: !1
2045
2045
  }), i;
2046
- }, O = function() {
2046
+ }, J = function() {
2047
2047
  if (l.active)
2048
- return a.removeEventListener("focusin", A, !0), a.removeEventListener("mousedown", k, !0), a.removeEventListener("touchstart", k, !0), a.removeEventListener("click", j, !0), a.removeEventListener("keydown", F, !0), i;
2049
- }, re = function(h) {
2050
- var _ = h.some(function(I) {
2048
+ return a.removeEventListener("focusin", E, !0), a.removeEventListener("mousedown", h, !0), a.removeEventListener("touchstart", h, !0), a.removeEventListener("click", j, !0), a.removeEventListener("keydown", P, !0), i;
2049
+ }, re = function(w) {
2050
+ var S = w.some(function(I) {
2051
2051
  var R = Array.from(I.removedNodes);
2052
- return R.some(function(M) {
2053
- return M === l.mostRecentlyFocusedNode;
2052
+ return R.some(function(D) {
2053
+ return D === l.mostRecentlyFocusedNode;
2054
2054
  });
2055
2055
  });
2056
- _ && m(f());
2056
+ S && m(f());
2057
2057
  }, ie = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(re) : void 0, ue = function() {
2058
- ie && (ie.disconnect(), l.active && !l.paused && l.containers.map(function(h) {
2059
- ie.observe(h, {
2058
+ ie && (ie.disconnect(), l.active && !l.paused && l.containers.map(function(w) {
2059
+ ie.observe(w, {
2060
2060
  subtree: !0,
2061
2061
  childList: !0
2062
2062
  });
@@ -2069,49 +2069,49 @@ var on = {
2069
2069
  get paused() {
2070
2070
  return l.paused;
2071
2071
  },
2072
- activate: function(h) {
2072
+ activate: function(w) {
2073
2073
  if (l.active)
2074
2074
  return this;
2075
- var _ = u(h, "onActivate"), I = u(h, "onPostActivate"), R = u(h, "checkCanFocusTrap");
2076
- R || p(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = a.activeElement, _ == null || _();
2077
- var M = function() {
2078
- R && p(), N(), ue(), I == null || I();
2075
+ var S = u(w, "onActivate"), I = u(w, "onPostActivate"), R = u(w, "checkCanFocusTrap");
2076
+ R || p(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = a.activeElement, S == null || S();
2077
+ var D = function() {
2078
+ R && p(), O(), ue(), I == null || I();
2079
2079
  };
2080
- return R ? (R(l.containers.concat()).then(M, M), this) : (M(), this);
2080
+ return R ? (R(l.containers.concat()).then(D, D), this) : (D(), this);
2081
2081
  },
2082
- deactivate: function(h) {
2082
+ deactivate: function(w) {
2083
2083
  if (!l.active)
2084
2084
  return this;
2085
- var _ = an({
2085
+ var S = an({
2086
2086
  onDeactivate: r.onDeactivate,
2087
2087
  onPostDeactivate: r.onPostDeactivate,
2088
2088
  checkCanReturnFocus: r.checkCanReturnFocus
2089
- }, h);
2090
- clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, O(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, i);
2091
- var I = u(_, "onDeactivate"), R = u(_, "onPostDeactivate"), M = u(_, "checkCanReturnFocus"), q = u(_, "returnFocus", "returnFocusOnDeactivate");
2089
+ }, w);
2090
+ clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, ue(), on.deactivateTrap(o, i);
2091
+ var I = u(S, "onDeactivate"), R = u(S, "onPostDeactivate"), D = u(S, "checkCanReturnFocus"), q = u(S, "returnFocus", "returnFocusOnDeactivate");
2092
2092
  I == null || I();
2093
2093
  var G = function() {
2094
2094
  ln(function() {
2095
2095
  q && m(v(l.nodeFocusedBeforeActivation)), R == null || R();
2096
2096
  });
2097
2097
  };
2098
- return q && M ? (M(v(l.nodeFocusedBeforeActivation)).then(G, G), this) : (G(), this);
2098
+ return q && D ? (D(v(l.nodeFocusedBeforeActivation)).then(G, G), this) : (G(), this);
2099
2099
  },
2100
- pause: function(h) {
2100
+ pause: function(w) {
2101
2101
  if (l.paused || !l.active)
2102
2102
  return this;
2103
- var _ = u(h, "onPause"), I = u(h, "onPostPause");
2104
- return l.paused = !0, _ == null || _(), O(), ue(), I == null || I(), this;
2103
+ var S = u(w, "onPause"), I = u(w, "onPostPause");
2104
+ return l.paused = !0, S == null || S(), J(), ue(), I == null || I(), this;
2105
2105
  },
2106
- unpause: function(h) {
2106
+ unpause: function(w) {
2107
2107
  if (!l.paused || !l.active)
2108
2108
  return this;
2109
- var _ = u(h, "onUnpause"), I = u(h, "onPostUnpause");
2110
- return l.paused = !1, _ == null || _(), p(), N(), ue(), I == null || I(), this;
2109
+ var S = u(w, "onUnpause"), I = u(w, "onPostUnpause");
2110
+ return l.paused = !1, S == null || S(), p(), O(), ue(), I == null || I(), this;
2111
2111
  },
2112
- updateContainerElements: function(h) {
2113
- var _ = [].concat(h).filter(Boolean);
2114
- return l.containers = _.map(function(I) {
2112
+ updateContainerElements: function(w) {
2113
+ var S = [].concat(w).filter(Boolean);
2114
+ return l.containers = S.map(function(I) {
2115
2115
  return typeof I == "string" ? a.querySelector(I) : I;
2116
2116
  }), l.active && p(), ue(), this;
2117
2117
  }
@@ -2124,7 +2124,7 @@ function Tn(e, t = {}) {
2124
2124
  }, c = () => {
2125
2125
  n && (n.unpause(), l.value = !1);
2126
2126
  };
2127
- return ee(
2127
+ return Q(
2128
2128
  () => sl(e),
2129
2129
  (f) => {
2130
2130
  f && (n = Al(f, {
@@ -2156,7 +2156,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2156
2156
  }, Rl = {
2157
2157
  key: 1,
2158
2158
  class: "joy-dialog--indicators"
2159
- }, Ml = /* @__PURE__ */ L({
2159
+ }, Dl = /* @__PURE__ */ L({
2160
2160
  inheritAttrs: !1,
2161
2161
  __name: "VJoyDialog",
2162
2162
  props: {
@@ -2227,29 +2227,29 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2227
2227
  },
2228
2228
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2229
2229
  setup(e, { expose: t, emit: n }) {
2230
- const a = e, o = "joy-dialog--" + _e(), r = Q(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2230
+ const a = e, o = "joy-dialog--" + _e(), r = X(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2231
2231
  if (l.value)
2232
2232
  return c;
2233
2233
  }), p = V(() => {
2234
- const j = r["dialog-cancel"] || r["dialog-confirm"], N = a.cancelText || a.confirmText;
2235
- return !!j || !!N;
2234
+ const j = r["dialog-cancel"] || r["dialog-confirm"], O = a.cancelText || a.confirmText;
2235
+ return !!j || !!O;
2236
2236
  }), m = V(() => a.id || o).value + "-header";
2237
2237
  function v() {
2238
- !a.patternConfirm && S();
2238
+ !a.patternConfirm && _();
2239
2239
  }
2240
- async function S(j = { fireHideEvent: !0 }) {
2240
+ async function _(j = { fireHideEvent: !0 }) {
2241
2241
  d.deactivate(), u.value = !1, await Re(), me(!1), j.fireHideEvent && n("dialog:hide");
2242
2242
  }
2243
- async function k() {
2243
+ async function h() {
2244
2244
  u.value = !0, await Re(), a.focusTrap && d.activate(), a.preventBodyScroll && me(!0);
2245
2245
  }
2246
- function A() {
2246
+ function E() {
2247
2247
  n("dialog:open");
2248
2248
  }
2249
- function P() {
2249
+ function N() {
2250
2250
  n("dialog:after-open");
2251
2251
  }
2252
- function F() {
2252
+ function P() {
2253
2253
  n("dialog:after-hide");
2254
2254
  }
2255
2255
  return le(async () => {
@@ -2259,10 +2259,10 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2259
2259
  }), t({
2260
2260
  focusTrapReturn: d,
2261
2261
  hasFooterSlots: p,
2262
- hide: S,
2262
+ hide: _,
2263
2263
  isOpen: u,
2264
- show: k
2265
- }), (j, N) => l.value ? (y(), B(rt, {
2264
+ show: h
2265
+ }), (j, O) => l.value ? (y(), B(rt, {
2266
2266
  key: 0,
2267
2267
  to: e.teleport
2268
2268
  }, [
@@ -2270,11 +2270,11 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2270
2270
  duration: { enter: 300, leave: 100 },
2271
2271
  name: "dialog",
2272
2272
  appear: "",
2273
- onEnter: A,
2274
- onAfterEnter: P,
2275
- onAfterLeave: F
2273
+ onEnter: E,
2274
+ onAfterEnter: N,
2275
+ onAfterLeave: P
2276
2276
  }, {
2277
- default: D(() => [
2277
+ default: M(() => [
2278
2278
  u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2279
2279
  id: e.id || o,
2280
2280
  ref_key: "dialogRef",
@@ -2318,10 +2318,10 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2318
2318
  id: m,
2319
2319
  class: "joy-dialog--header__title"
2320
2320
  }, [
2321
- w(j.$slots, "dialog-header", {}, void 0, !0)
2321
+ k(j.$slots, "dialog-header", {}, void 0, !0)
2322
2322
  ]),
2323
2323
  b("p", Fl, [
2324
- w(j.$slots, "dialog-subheader", {}, void 0, !0)
2324
+ k(j.$slots, "dialog-subheader", {}, void 0, !0)
2325
2325
  ]),
2326
2326
  e.patternConfirm ? x("", !0) : (y(), B(T(de), {
2327
2327
  key: 0,
@@ -2333,11 +2333,11 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2333
2333
  name: "cross",
2334
2334
  label: e.closeLabel,
2335
2335
  class: "joy-dialog--close",
2336
- onClick: N[0] || (N[0] = (O) => S())
2336
+ onClick: O[0] || (O[0] = (J) => _())
2337
2337
  }, null, 8, ["label"]))
2338
2338
  ]),
2339
2339
  b("div", Pl, [
2340
- w(j.$slots, "dialog-body", {}, void 0, !0)
2340
+ k(j.$slots, "dialog-body", {}, void 0, !0)
2341
2341
  ]),
2342
2342
  b("div", {
2343
2343
  class: $([
@@ -2351,31 +2351,31 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2351
2351
  justify: "flex-end",
2352
2352
  "no-margin": ""
2353
2353
  }, {
2354
- default: D(() => [
2355
- w(j.$slots, "dialog-cancel", {}, () => [
2354
+ default: M(() => [
2355
+ k(j.$slots, "dialog-cancel", {}, () => [
2356
2356
  e.cancelText ? (y(), B(T(de), {
2357
2357
  key: 0,
2358
2358
  class: "joy-dialog--cancel",
2359
2359
  variant: "ghost",
2360
2360
  size: e.buttonSize,
2361
- onClick: N[1] || (N[1] = (O) => S())
2361
+ onClick: O[1] || (O[1] = (J) => _())
2362
2362
  }, {
2363
- default: D(() => [
2364
- z(J(e.cancelText), 1)
2363
+ default: M(() => [
2364
+ z(F(e.cancelText), 1)
2365
2365
  ]),
2366
2366
  _: 1
2367
2367
  }, 8, ["size"])) : x("", !0)
2368
2368
  ], !0),
2369
- w(j.$slots, "dialog-confirm", {}, () => [
2369
+ k(j.$slots, "dialog-confirm", {}, () => [
2370
2370
  e.confirmText ? (y(), B(T(de), {
2371
2371
  key: 0,
2372
2372
  class: "joy-dialog--confirm",
2373
2373
  variant: "main",
2374
2374
  size: e.buttonSize,
2375
- onClick: N[2] || (N[2] = (O) => n("dialog:confirm"))
2375
+ onClick: O[2] || (O[2] = (J) => n("dialog:confirm"))
2376
2376
  }, {
2377
- default: D(() => [
2378
- z(J(e.confirmText), 1)
2377
+ default: M(() => [
2378
+ z(F(e.confirmText), 1)
2379
2379
  ]),
2380
2380
  _: 1
2381
2381
  }, 8, ["size"])) : x("", !0)
@@ -2385,7 +2385,7 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2385
2385
  })
2386
2386
  ], 2),
2387
2387
  T(r)["dialog-indicators"] ? (y(), g("div", Rl, [
2388
- w(j.$slots, "dialog-indicators", {}, void 0, !0)
2388
+ k(j.$slots, "dialog-indicators", {}, void 0, !0)
2389
2389
  ])) : x("", !0)
2390
2390
  ])
2391
2391
  ], 2)
@@ -2396,14 +2396,14 @@ const Nl = ["id", "onKeydown"], Ol = { class: "joy-dialog__inner" }, Jl = { clas
2396
2396
  ], 8, ["to"])) : x("", !0);
2397
2397
  }
2398
2398
  });
2399
- const Dl = /* @__PURE__ */ E(Ml, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @__PURE__ */ L({
2399
+ const Ml = /* @__PURE__ */ A(Dl, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @__PURE__ */ L({
2400
2400
  __name: "VJoyDialogTrigger",
2401
2401
  props: {
2402
2402
  dialog: {}
2403
2403
  },
2404
2404
  emits: ["click"],
2405
2405
  setup(e, { emit: t }) {
2406
- const n = e, a = V(() => n.dialog), o = Q(), r = V(() => o.default());
2406
+ const n = e, a = V(() => n.dialog), o = X(), r = V(() => o.default());
2407
2407
  async function l() {
2408
2408
  var i;
2409
2409
  t("click"), await ((i = a.value) == null ? void 0 : i.show());
@@ -2432,14 +2432,14 @@ const Dl = /* @__PURE__ */ E(Ml, [["__scopeId", "data-v-b0e082fd"]]), zl = /* @_
2432
2432
  ]),
2433
2433
  b("div", Wl, [
2434
2434
  b("p", Ul, [
2435
- w(t.$slots, "default", {}, void 0, !0)
2435
+ k(t.$slots, "default", {}, void 0, !0)
2436
2436
  ]),
2437
- w(t.$slots, "divider-content", {}, void 0, !0)
2437
+ k(t.$slots, "divider-content", {}, void 0, !0)
2438
2438
  ])
2439
2439
  ], 10, ql));
2440
2440
  }
2441
2441
  });
2442
- const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"], Zl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, Xl = {
2442
+ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"], Zl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, Xl = {
2443
2443
  id: "drawerDescription",
2444
2444
  class: "joy-drawer--subheader"
2445
2445
  }, er = {
@@ -2505,26 +2505,26 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2505
2505
  },
2506
2506
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2507
2507
  setup(e, { expose: t, emit: n }) {
2508
- const a = e, o = "joy-drawer--" + _e(), r = Q(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2508
+ const a = e, o = "joy-drawer--" + _e(), r = X(), l = C(!1), i = C(), u = C(a.open), d = Tn(i), c = Ae(), f = V(() => {
2509
2509
  if (l.value)
2510
2510
  return c;
2511
2511
  }), p = V(() => {
2512
- const F = r["drawer-cancel"] || r["drawer-confirm"], j = a.cancelText || a.confirmText;
2513
- return !!F || !!j;
2512
+ const P = r["drawer-cancel"] || r["drawer-confirm"], j = a.cancelText || a.confirmText;
2513
+ return !!P || !!j;
2514
2514
  }), s = V(() => a.id || o), m = s.value + "-header";
2515
- async function v(F = { fireHideEvent: !0 }) {
2516
- d.deactivate(), u.value = !1, await Re(), me(!1), F.fireHideEvent && n("drawer:hide");
2515
+ async function v(P = { fireHideEvent: !0 }) {
2516
+ d.deactivate(), u.value = !1, await Re(), me(!1), P.fireHideEvent && n("drawer:hide");
2517
2517
  }
2518
- async function S() {
2518
+ async function _() {
2519
2519
  u.value = !0, await Re(), a.focusTrap && !a.elevated && d.activate(), !a.elevated && a.preventBodyScroll && me(!0);
2520
2520
  }
2521
- function k() {
2521
+ function h() {
2522
2522
  n("drawer:open");
2523
2523
  }
2524
- function A() {
2524
+ function E() {
2525
2525
  n("drawer:after-open");
2526
2526
  }
2527
- function P() {
2527
+ function N() {
2528
2528
  n("drawer:after-hide");
2529
2529
  }
2530
2530
  return le(() => {
@@ -2536,8 +2536,8 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2536
2536
  hasFooterSlots: p,
2537
2537
  hide: v,
2538
2538
  isOpen: u,
2539
- show: S
2540
- }), (F, j) => l.value ? (y(), B(rt, {
2539
+ show: _
2540
+ }), (P, j) => l.value ? (y(), B(rt, {
2541
2541
  key: 0,
2542
2542
  to: e.teleport
2543
2543
  }, [
@@ -2545,11 +2545,11 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2545
2545
  duration: { enter: 300, leave: 100 },
2546
2546
  name: "drawer",
2547
2547
  appear: "",
2548
- onEnter: k,
2549
- onAfterEnter: A,
2550
- onAfterLeave: P
2548
+ onEnter: h,
2549
+ onAfterEnter: E,
2550
+ onAfterLeave: N
2551
2551
  }, {
2552
- default: D(() => [
2552
+ default: M(() => [
2553
2553
  u.value ? (y(), g("div", te({ key: 0 }, f.value, {
2554
2554
  id: s.value,
2555
2555
  ref_key: "drawerRef",
@@ -2565,7 +2565,7 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2565
2565
  }
2566
2566
  ],
2567
2567
  "aria-labelledby": m,
2568
- onKeydown: j[4] || (j[4] = Ct((N) => v(), ["esc"]))
2568
+ onKeydown: j[4] || (j[4] = Ct((O) => v(), ["esc"]))
2569
2569
  }), [
2570
2570
  e.elevated ? x("", !0) : (y(), g("div", {
2571
2571
  key: 0,
@@ -2575,7 +2575,7 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2575
2575
  "joy-drawer__overlay--open": u.value
2576
2576
  }
2577
2577
  ]),
2578
- onClick: j[0] || (j[0] = (N) => v())
2578
+ onClick: j[0] || (j[0] = (O) => v())
2579
2579
  }, null, 2)),
2580
2580
  b("div", {
2581
2581
  class: $([
@@ -2591,10 +2591,10 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2591
2591
  id: m,
2592
2592
  class: "joy-drawer--header__title"
2593
2593
  }, [
2594
- w(F.$slots, "drawer-header", {}, void 0, !0)
2594
+ k(P.$slots, "drawer-header", {}, void 0, !0)
2595
2595
  ]),
2596
2596
  b("p", Xl, [
2597
- w(F.$slots, "drawer-subheader", {}, void 0, !0)
2597
+ k(P.$slots, "drawer-subheader", {}, void 0, !0)
2598
2598
  ]),
2599
2599
  U(T(de), {
2600
2600
  id: "joy-drawer--close",
@@ -2605,11 +2605,11 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2605
2605
  name: "cross",
2606
2606
  label: e.closeLabel,
2607
2607
  class: "joy-drawer--close",
2608
- onClick: j[1] || (j[1] = (N) => v())
2608
+ onClick: j[1] || (j[1] = (O) => v())
2609
2609
  }, null, 8, ["label"])
2610
2610
  ]),
2611
2611
  b("div", er, [
2612
- w(F.$slots, "drawer-body", {}, void 0, !0)
2612
+ k(P.$slots, "drawer-body", {}, void 0, !0)
2613
2613
  ]),
2614
2614
  b("div", {
2615
2615
  class: $([
@@ -2623,31 +2623,31 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2623
2623
  justify: "flex-end",
2624
2624
  "no-margin": ""
2625
2625
  }, {
2626
- default: D(() => [
2627
- w(F.$slots, "drawer-cancel", {}, () => [
2626
+ default: M(() => [
2627
+ k(P.$slots, "drawer-cancel", {}, () => [
2628
2628
  e.cancelText ? (y(), B(T(de), {
2629
2629
  key: 0,
2630
2630
  class: "joy-drawer--cancel",
2631
2631
  variant: "ghost",
2632
2632
  size: e.buttonSize,
2633
- onClick: j[2] || (j[2] = (N) => v())
2633
+ onClick: j[2] || (j[2] = (O) => v())
2634
2634
  }, {
2635
- default: D(() => [
2636
- z(J(e.cancelText), 1)
2635
+ default: M(() => [
2636
+ z(F(e.cancelText), 1)
2637
2637
  ]),
2638
2638
  _: 1
2639
2639
  }, 8, ["size"])) : x("", !0)
2640
2640
  ], !0),
2641
- w(F.$slots, "drawer-confirm", {}, () => [
2641
+ k(P.$slots, "drawer-confirm", {}, () => [
2642
2642
  e.confirmText ? (y(), B(T(de), {
2643
2643
  key: 0,
2644
2644
  class: "joy-drawer--confirm",
2645
2645
  variant: "main",
2646
2646
  size: e.buttonSize,
2647
- onClick: j[3] || (j[3] = (N) => n("drawer:confirm"))
2647
+ onClick: j[3] || (j[3] = (O) => n("drawer:confirm"))
2648
2648
  }, {
2649
- default: D(() => [
2650
- z(J(e.confirmText), 1)
2649
+ default: M(() => [
2650
+ z(F(e.confirmText), 1)
2651
2651
  ]),
2652
2652
  _: 1
2653
2653
  }, 8, ["size"])) : x("", !0)
@@ -2657,7 +2657,7 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2657
2657
  })
2658
2658
  ], 2),
2659
2659
  T(r)["drawer-indicators"] ? (y(), g("div", tr, [
2660
- w(F.$slots, "drawer-indicators", {}, void 0, !0)
2660
+ k(P.$slots, "drawer-indicators", {}, void 0, !0)
2661
2661
  ])) : x("", !0)
2662
2662
  ])
2663
2663
  ], 2)
@@ -2668,14 +2668,14 @@ const Kl = /* @__PURE__ */ E(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2668
2668
  ], 8, ["to"])) : x("", !0);
2669
2669
  }
2670
2670
  });
2671
- const ar = /* @__PURE__ */ E(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2671
+ const ar = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @__PURE__ */ L({
2672
2672
  __name: "VJoyDrawerTrigger",
2673
2673
  props: {
2674
2674
  drawer: {}
2675
2675
  },
2676
2676
  emits: ["click"],
2677
2677
  setup(e, { emit: t }) {
2678
- const n = e, a = V(() => n.drawer), o = Q(), r = V(() => o.default());
2678
+ const n = e, a = V(() => n.drawer), o = X(), r = V(() => o.default());
2679
2679
  async function l() {
2680
2680
  var i;
2681
2681
  t("click"), await ((i = a.value) == null ? void 0 : i.show());
@@ -2767,10 +2767,10 @@ const ar = /* @__PURE__ */ E(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2767
2767
  n("update:modelValue", v.dataModel);
2768
2768
  }
2769
2769
  if (d() && s.key === " " && s.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key)) {
2770
- const v = i(), S = d();
2771
- let k = v.indexOf(S);
2770
+ const v = i(), _ = d();
2771
+ let h = v.indexOf(_);
2772
2772
  if (v.length) {
2773
- s.preventDefault(), s.key === "ArrowDown" ? k++ : s.key === "ArrowUp" ? k-- : s.key === "Home" ? k = 0 : s.key === "End" && (k = v.length - 1), k < 0 && (k = v.length - 1), k > v.length - 1 && (k = 0), f(v[k]);
2773
+ s.preventDefault(), s.key === "ArrowDown" ? h++ : s.key === "ArrowUp" ? h-- : s.key === "Home" ? h = 0 : s.key === "End" && (h = v.length - 1), h < 0 && (h = v.length - 1), h > v.length - 1 && (h = 0), f(v[h]);
2774
2774
  return;
2775
2775
  }
2776
2776
  }
@@ -2798,15 +2798,15 @@ const ar = /* @__PURE__ */ E(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2798
2798
  type: "button",
2799
2799
  class: "joy-dropdown-list__reset",
2800
2800
  onClick: p
2801
- }, J(e.resetLabel || "Reset"), 1)) : x("", !0),
2802
- w(s.$slots, "dropdown-list-header", {}, void 0, !0)
2801
+ }, F(e.resetLabel || "Reset"), 1)) : x("", !0),
2802
+ k(s.$slots, "dropdown-list-header", {}, void 0, !0)
2803
2803
  ])) : x("", !0),
2804
2804
  b("div", {
2805
2805
  tabindex: "0",
2806
2806
  class: $(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": s.$slots["dropdown-list-items"] }]),
2807
2807
  style: ce({ "max-height": `${e.height}px` })
2808
2808
  }, [
2809
- w(s.$slots, "dropdown-list-items", {}, void 0, !0),
2809
+ k(s.$slots, "dropdown-list-items", {}, void 0, !0),
2810
2810
  e.options.length ? (y(), g("ul", {
2811
2811
  key: 0,
2812
2812
  ref_key: "listbox",
@@ -2835,21 +2835,21 @@ const ar = /* @__PURE__ */ E(nr, [["__scopeId", "data-v-e5a3f673"]]), or = /* @_
2835
2835
  "aria-label": v.label,
2836
2836
  ".dataModel": v.value || v.id,
2837
2837
  role: "option",
2838
- onClick: (S) => l(v)
2838
+ onClick: (_) => l(v)
2839
2839
  }, [
2840
- w(s.$slots, "label", ze(qe(v)), () => [
2841
- b("span", null, J(v.label), 1)
2840
+ k(s.$slots, "label", ze(qe(v)), () => [
2841
+ b("span", null, F(v.label), 1)
2842
2842
  ], !0)
2843
2843
  ], 14, ir))), 128))
2844
2844
  ], 8, rr)) : x("", !0)
2845
2845
  ], 6),
2846
2846
  s.$slots["dropdown-list-footer"] ? (y(), g("footer", sr, [
2847
- w(s.$slots, "dropdown-list-footer", {}, void 0, !0)
2847
+ k(s.$slots, "dropdown-list-footer", {}, void 0, !0)
2848
2848
  ])) : x("", !0)
2849
2849
  ], 4));
2850
2850
  }
2851
2851
  });
2852
- const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2852
+ const Ln = /* @__PURE__ */ A(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @__PURE__ */ L({
2853
2853
  __name: "VJoyDropdown",
2854
2854
  props: {
2855
2855
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -2946,7 +2946,7 @@ const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2946
2946
  ignore: [l, ".joy-dropdown__list"]
2947
2947
  };
2948
2948
  let p = null;
2949
- ee(
2949
+ Q(
2950
2950
  () => o.value,
2951
2951
  (j) => {
2952
2952
  j && Ga(i);
@@ -2965,36 +2965,36 @@ const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
2965
2965
  }, 300);
2966
2966
  }
2967
2967
  function v(j) {
2968
- d.value = !1, p && clearTimeout(p), u.value = j.target, o.value = !0, n("dropdown:open");
2968
+ j.stopPropagation(), d.value = !1, p && clearTimeout(p), u.value = j.target, o.value = !0, n("dropdown:open");
2969
2969
  }
2970
- function S() {
2971
- m(), k();
2970
+ function _() {
2971
+ m(), h();
2972
2972
  }
2973
- function k() {
2973
+ function h() {
2974
2974
  u.value && u.value.focus();
2975
2975
  }
2976
- function A(j) {
2977
- n("update:modelValue", j), a.closeOnSelect && (m(), k());
2976
+ function E(j) {
2977
+ n("update:modelValue", j), a.closeOnSelect && (m(), h());
2978
2978
  }
2979
- function P() {
2979
+ function N() {
2980
2980
  n("dropdown:reset");
2981
2981
  }
2982
- function F() {
2982
+ function P() {
2983
2983
  !l.value || !l.value.children.length || (l.value.children[0].id = c);
2984
2984
  }
2985
2985
  return Yo(m), le(() => {
2986
- F();
2986
+ P();
2987
2987
  }), t({
2988
2988
  showDropdownList: o,
2989
2989
  generatedId: c
2990
- }), (j, N) => (y(), B(T(Lt), {
2990
+ }), (j, O) => (y(), B(T(Lt), {
2991
2991
  ref_key: "dropdown",
2992
2992
  ref: r,
2993
2993
  options: f,
2994
2994
  class: "joy-dropdown",
2995
2995
  onTrigger: m
2996
2996
  }, {
2997
- default: D(() => [
2997
+ default: M(() => [
2998
2998
  b("div", {
2999
2999
  ref_key: "button",
3000
3000
  ref: l,
@@ -3002,7 +3002,7 @@ const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3002
3002
  "data-testid": "dropdown-trigger",
3003
3003
  onClick: v
3004
3004
  }, [
3005
- w(j.$slots, "dropdown-button", {}, void 0, !0)
3005
+ k(j.$slots, "dropdown-button", {}, void 0, !0)
3006
3006
  ], 512),
3007
3007
  o.value ? (y(), g("div", {
3008
3008
  key: 0,
@@ -3028,35 +3028,35 @@ const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3028
3028
  reset: e.reset,
3029
3029
  "reset-label": e.resetLabel,
3030
3030
  "aria-labelled-by": c,
3031
- "onUpdate:modelValue": A,
3032
- "onClose:dropdownList": S,
3033
- onReset: P
3031
+ "onUpdate:modelValue": E,
3032
+ "onClose:dropdownList": _,
3033
+ onReset: N
3034
3034
  }, pn({
3035
- label: D((O) => [
3036
- w(j.$slots, "dropdown-item", ze(qe(O)), () => [
3037
- b("span", null, J(O.label), 1)
3035
+ label: M((J) => [
3036
+ k(j.$slots, "dropdown-item", ze(qe(J)), () => [
3037
+ b("span", null, F(J.label), 1)
3038
3038
  ], !0)
3039
3039
  ]),
3040
3040
  _: 2
3041
3041
  }, [
3042
3042
  j.$slots["dropdown-header"] ? {
3043
3043
  name: "dropdown-list-header",
3044
- fn: D(() => [
3045
- w(j.$slots, "dropdown-header", {}, void 0, !0)
3044
+ fn: M(() => [
3045
+ k(j.$slots, "dropdown-header", {}, void 0, !0)
3046
3046
  ]),
3047
3047
  key: "0"
3048
3048
  } : void 0,
3049
3049
  j.$slots["dropdown-items"] ? {
3050
3050
  name: "dropdown-list-items",
3051
- fn: D(() => [
3052
- w(j.$slots, "dropdown-items", {}, void 0, !0)
3051
+ fn: M(() => [
3052
+ k(j.$slots, "dropdown-items", {}, void 0, !0)
3053
3053
  ]),
3054
3054
  key: "1"
3055
3055
  } : void 0,
3056
3056
  j.$slots["dropdown-footer"] ? {
3057
3057
  name: "dropdown-list-footer",
3058
- fn: D(() => [
3059
- w(j.$slots, "dropdown-footer", {}, void 0, !0)
3058
+ fn: M(() => [
3059
+ k(j.$slots, "dropdown-footer", {}, void 0, !0)
3060
3060
  ]),
3061
3061
  key: "2"
3062
3062
  } : void 0
@@ -3067,7 +3067,7 @@ const Ln = /* @__PURE__ */ E(ur, [["__scopeId", "data-v-0127e896"]]), cr = /* @_
3067
3067
  }, 512));
3068
3068
  }
3069
3069
  });
3070
- const dr = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-1f0943e6"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3070
+ const dr = /* @__PURE__ */ A(cr, [["__scopeId", "data-v-a27687c9"]]), fr = ["aria-label"], yr = { class: "joy-filter-bar__wrapper" }, vr = /* @__PURE__ */ L({
3071
3071
  __name: "VJoyFilterBar",
3072
3072
  props: {
3073
3073
  ariaLabel: String
@@ -3079,12 +3079,12 @@ const dr = /* @__PURE__ */ E(cr, [["__scopeId", "data-v-1f0943e6"]]), fr = ["ari
3079
3079
  "aria-label": e.ariaLabel || "Filter bar"
3080
3080
  }, [
3081
3081
  b("div", yr, [
3082
- w(t.$slots, "default", {}, void 0, !0)
3082
+ k(t.$slots, "default", {}, void 0, !0)
3083
3083
  ])
3084
3084
  ], 8, fr));
3085
3085
  }
3086
3086
  });
3087
- const pr = /* @__PURE__ */ E(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3087
+ const pr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @__PURE__ */ L({
3088
3088
  __name: "VJoyFilterBarButton",
3089
3089
  props: {
3090
3090
  label: String,
@@ -3108,8 +3108,8 @@ const pr = /* @__PURE__ */ E(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3108
3108
  class: $(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3109
3109
  onClick: o
3110
3110
  }, [
3111
- z(J(e.label) + " ", 1),
3112
- w(r.$slots, "default", {}, void 0, !0),
3111
+ z(F(e.label) + " ", 1),
3112
+ k(r.$slots, "default", {}, void 0, !0),
3113
3113
  T(a) ? (y(), B(W, {
3114
3114
  key: 0,
3115
3115
  class: "joy-filter-bar-button__icon",
@@ -3120,20 +3120,20 @@ const pr = /* @__PURE__ */ E(vr, [["__scopeId", "data-v-114f8274"]]), mr = /* @_
3120
3120
  ], 2));
3121
3121
  }
3122
3122
  });
3123
- const br = /* @__PURE__ */ E(mr, [["__scopeId", "data-v-8f87fed1"]]), gr = { class: "joy-footer" }, hr = { class: "joy-footer__left" }, _r = { class: "joy-footer__right" }, wr = /* @__PURE__ */ L({
3123
+ const br = /* @__PURE__ */ A(mr, [["__scopeId", "data-v-8f87fed1"]]), gr = { class: "joy-footer" }, hr = { class: "joy-footer__left" }, _r = { class: "joy-footer__right" }, wr = /* @__PURE__ */ L({
3124
3124
  __name: "VJoyFooter",
3125
3125
  setup(e) {
3126
3126
  return (t, n) => (y(), g("footer", gr, [
3127
3127
  b("div", hr, [
3128
- w(t.$slots, "footer-left", {}, void 0, !0)
3128
+ k(t.$slots, "footer-left", {}, void 0, !0)
3129
3129
  ]),
3130
3130
  b("div", _r, [
3131
- w(t.$slots, "footer-right", {}, void 0, !0)
3131
+ k(t.$slots, "footer-right", {}, void 0, !0)
3132
3132
  ])
3133
3133
  ]));
3134
3134
  }
3135
3135
  });
3136
- const Sr = /* @__PURE__ */ E(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3136
+ const Sr = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["aria-hidden"], xr = /* @__PURE__ */ L({
3137
3137
  __name: "VJoyFormError",
3138
3138
  props: {
3139
3139
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3155,14 +3155,14 @@ const Sr = /* @__PURE__ */ E(wr, [["__scopeId", "data-v-e174785d"]]), kr = ["ari
3155
3155
  name: "warning-triangle"
3156
3156
  }),
3157
3157
  b("div", null, [
3158
- w(t.$slots, "default", {}, () => [
3159
- z(J(e.noHtmlErrorText), 1)
3158
+ k(t.$slots, "default", {}, () => [
3159
+ z(F(e.noHtmlErrorText), 1)
3160
3160
  ], !0)
3161
3161
  ])
3162
3162
  ], 10, kr));
3163
3163
  }
3164
3164
  });
3165
- const En = /* @__PURE__ */ E(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3165
+ const En = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @__PURE__ */ L({
3166
3166
  __name: "VJoyFormFieldSkeleton",
3167
3167
  props: {
3168
3168
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3201,7 +3201,7 @@ const En = /* @__PURE__ */ E(xr, [["__scopeId", "data-v-581fd33b"]]), Cr = /* @_
3201
3201
  }, null, 6));
3202
3202
  }
3203
3203
  });
3204
- const jr = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { class: "joy-funnel__header" }, Vr = { class: "funnel__header__inner" }, Tr = { class: "joy-funnel__stepper" }, Ir = /* @__PURE__ */ mn('<div class="shapes__wrapper" data-v-0abeb951><div class="shape_1" data-v-0abeb951></div><div class="shape_2" data-v-0abeb951></div><div class="shape_3" data-v-0abeb951></div><div class="shape_4" data-v-0abeb951></div></div>', 1), Lr = [
3204
+ const jr = /* @__PURE__ */ A(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { class: "joy-funnel__header" }, Vr = { class: "funnel__header__inner" }, Tr = { class: "joy-funnel__stepper" }, Ir = /* @__PURE__ */ mn('<div class="shapes__wrapper" data-v-0abeb951><div class="shape_1" data-v-0abeb951></div><div class="shape_2" data-v-0abeb951></div><div class="shape_3" data-v-0abeb951></div><div class="shape_4" data-v-0abeb951></div></div>', 1), Lr = [
3205
3205
  Ir
3206
3206
  ], Er = { class: "joy-funnel__footer" }, Br = /* @__PURE__ */ L({
3207
3207
  __name: "VJoyFunnel",
@@ -3223,7 +3223,7 @@ const jr = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3223
3223
  }
3224
3224
  },
3225
3225
  setup(e, { expose: t }) {
3226
- const n = C(!0), a = Q();
3226
+ const n = C(!0), a = X();
3227
3227
  function o(l) {
3228
3228
  const i = l.currentTarget;
3229
3229
  n.value = i.scrollTop === 0;
@@ -3243,10 +3243,10 @@ const jr = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3243
3243
  }, [
3244
3244
  b("div", $r, [
3245
3245
  b("div", Vr, [
3246
- w(l.$slots, "funnel-header", {}, void 0, !0)
3246
+ k(l.$slots, "funnel-header", {}, void 0, !0)
3247
3247
  ]),
3248
3248
  b("div", Tr, [
3249
- w(l.$slots, "funnel-stepper", {}, void 0, !0)
3249
+ k(l.$slots, "funnel-stepper", {}, void 0, !0)
3250
3250
  ])
3251
3251
  ]),
3252
3252
  e.hideShapes ? x("", !0) : (y(), g("div", {
@@ -3260,29 +3260,29 @@ const jr = /* @__PURE__ */ E(Cr, [["__scopeId", "data-v-8a4ecbad"]]), $r = { cla
3260
3260
  b("div", {
3261
3261
  class: $(["joy-funnel__content", { "joy-funnel__content--medium": e.layoutWidth === "medium" }])
3262
3262
  }, [
3263
- w(l.$slots, "default", {}, void 0, !0)
3263
+ k(l.$slots, "default", {}, void 0, !0)
3264
3264
  ], 2)
3265
3265
  ], 32),
3266
3266
  b("div", Er, [
3267
- w(l.$slots, "funnel-footer", {}, void 0, !0)
3267
+ k(l.$slots, "funnel-footer", {}, void 0, !0)
3268
3268
  ])
3269
3269
  ], 2));
3270
3270
  }
3271
3271
  });
3272
- const Ar = /* @__PURE__ */ E(Br, [["__scopeId", "data-v-0abeb951"]]), Nr = { class: "joy-header" }, Or = { class: "joy-header__left" }, Jr = { class: "joy-header__right" }, Fr = /* @__PURE__ */ L({
3272
+ const Ar = /* @__PURE__ */ A(Br, [["__scopeId", "data-v-0abeb951"]]), Nr = { class: "joy-header" }, Or = { class: "joy-header__left" }, Jr = { class: "joy-header__right" }, Fr = /* @__PURE__ */ L({
3273
3273
  __name: "VJoyHeader",
3274
3274
  setup(e) {
3275
3275
  return (t, n) => (y(), g("header", Nr, [
3276
3276
  b("div", Or, [
3277
- w(t.$slots, "header-left", {}, void 0, !0)
3277
+ k(t.$slots, "header-left", {}, void 0, !0)
3278
3278
  ]),
3279
3279
  b("div", Jr, [
3280
- w(t.$slots, "header-right", {}, void 0, !0)
3280
+ k(t.$slots, "header-right", {}, void 0, !0)
3281
3281
  ])
3282
3282
  ]));
3283
3283
  }
3284
3284
  });
3285
- const Pr = /* @__PURE__ */ E(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Mr = { class: "joy-highlight--text" }, Dr = { key: 0 }, zr = /* @__PURE__ */ L({
3285
+ const Pr = /* @__PURE__ */ A(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Qa], Dr = { class: "joy-highlight--text" }, Mr = { key: 0 }, zr = /* @__PURE__ */ L({
3286
3286
  __name: "VJoyHighlight",
3287
3287
  props: {
3288
3288
  accent: {
@@ -3322,21 +3322,21 @@ const Pr = /* @__PURE__ */ E(Fr, [["__scopeId", "data-v-7928856e"]]), Rr = [...Q
3322
3322
  key: 0,
3323
3323
  name: a.value
3324
3324
  }, null, 8, ["name"])) : x("", !0),
3325
- b("div", Mr, [
3326
- o.$slots["highlight-title"] ? (y(), g("strong", Dr, [
3327
- w(o.$slots, "highlight-title", {}, void 0, !0)
3325
+ b("div", Dr, [
3326
+ o.$slots["highlight-title"] ? (y(), g("strong", Mr, [
3327
+ k(o.$slots, "highlight-title", {}, void 0, !0)
3328
3328
  ])) : x("", !0),
3329
- w(o.$slots, "default", {}, void 0, !0)
3329
+ k(o.$slots, "default", {}, void 0, !0)
3330
3330
  ])
3331
3331
  ], 2));
3332
3332
  }
3333
3333
  });
3334
- const qr = /* @__PURE__ */ E(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3334
+ const qr = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ L({
3335
3335
  __name: "VJoyIndicator",
3336
3336
  props: {
3337
3337
  /** Value is used for the parent v-model. Mandatory */
3338
3338
  value: {
3339
- type: String,
3339
+ type: [String, Number],
3340
3340
  required: !0
3341
3341
  },
3342
3342
  /** Automatically handled by parent. No need to set it manually */
@@ -3360,12 +3360,12 @@ const qr = /* @__PURE__ */ E(zr, [["__scopeId", "data-v-45c2fbf4"]]), Hr = ["ari
3360
3360
  b("button", {
3361
3361
  type: "button",
3362
3362
  class: $(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3363
- "aria-label": e.ariaLabel || e.value
3363
+ "aria-label": e.ariaLabel || e.value.toString()
3364
3364
  }, null, 10, Hr)
3365
3365
  ], 2));
3366
3366
  }
3367
3367
  });
3368
- const Bn = /* @__PURE__ */ E(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @__PURE__ */ L({
3368
+ const Bn = /* @__PURE__ */ A(Wr, [["__scopeId", "data-v-2babb982"]]), Ur = /* @__PURE__ */ L({
3369
3369
  __name: "VJoyIndicators",
3370
3370
  props: {
3371
3371
  variant: {
@@ -3373,12 +3373,12 @@ const Bn = /* @__PURE__ */ E(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @_
3373
3373
  },
3374
3374
  /** Use the component with a v-model to easily handle selected items */
3375
3375
  modelValue: {
3376
- type: String
3376
+ type: [String, Number]
3377
3377
  }
3378
3378
  },
3379
3379
  emits: ["update:modelValue"],
3380
3380
  setup(e, { expose: t, emit: n }) {
3381
- const a = e, o = Q(), r = C(a.modelValue), l = V(() => {
3381
+ const a = e, o = X(), r = C(a.modelValue), l = V(() => {
3382
3382
  const c = o.default();
3383
3383
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(u) : c.filter(u);
3384
3384
  });
@@ -3392,7 +3392,12 @@ const Bn = /* @__PURE__ */ E(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @_
3392
3392
  function d(c) {
3393
3393
  n("update:modelValue", c.props.value), r.value = c.props.value;
3394
3394
  }
3395
- return t({
3395
+ return Q(
3396
+ () => a.modelValue,
3397
+ (c, f) => {
3398
+ c !== f && (r.value = c);
3399
+ }
3400
+ ), t({
3396
3401
  indicators: l,
3397
3402
  isSelected: i
3398
3403
  }), (c, f) => (y(), g("ul", {
@@ -3407,7 +3412,7 @@ const Bn = /* @__PURE__ */ E(Wr, [["__scopeId", "data-v-9b442c08"]]), Ur = /* @_
3407
3412
  ], 2));
3408
3413
  }
3409
3414
  });
3410
- const Gr = /* @__PURE__ */ E(Ur, [["__scopeId", "data-v-32ceef34"]]), Kr = ["small", "medium", "large"], Yr = {
3415
+ const Gr = /* @__PURE__ */ A(Ur, [["__scopeId", "data-v-1bac2aa7"]]), Kr = ["small", "medium", "large"], Yr = {
3411
3416
  key: 0,
3412
3417
  class: "joy-label-required"
3413
3418
  }, Zr = {
@@ -3440,18 +3445,18 @@ const Gr = /* @__PURE__ */ E(Ur, [["__scopeId", "data-v-32ceef34"]]), Kr = ["sma
3440
3445
  return (t, n) => (y(), B(oe(e.tagName), te({
3441
3446
  class: ["joy-label", `joy-label--${e.size}`]
3442
3447
  }, t.$attrs), {
3443
- default: D(() => [
3444
- w(t.$slots, "default", {}, () => [
3445
- z(J(e.text), 1)
3448
+ default: M(() => [
3449
+ k(t.$slots, "default", {}, () => [
3450
+ z(F(e.text), 1)
3446
3451
  ], !0),
3447
3452
  e.required ? (y(), g("span", Yr, "*")) : x("", !0),
3448
- e.optionalLabel ? (y(), g("span", Zr, "- " + J(e.optionalLabel), 1)) : x("", !0)
3453
+ e.optionalLabel ? (y(), g("span", Zr, "- " + F(e.optionalLabel), 1)) : x("", !0)
3449
3454
  ]),
3450
3455
  _: 3
3451
3456
  }, 16, ["class"]));
3452
3457
  }
3453
3458
  });
3454
- const je = /* @__PURE__ */ E(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["large", "medium", "small"], ei = ["id", "name", "required", "disabled", "readonly", "type", "value"], ti = ["data-unit"], ni = /* @__PURE__ */ L({
3459
+ const je = /* @__PURE__ */ A(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["large", "medium", "small"], ei = ["id", "name", "required", "disabled", "readonly", "type", "value"], ti = ["data-unit"], ni = /* @__PURE__ */ L({
3455
3460
  inheritAttrs: !1,
3456
3461
  __name: "VJoyInput",
3457
3462
  props: {
@@ -3529,62 +3534,71 @@ const je = /* @__PURE__ */ E(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3529
3534
  }
3530
3535
  },
3531
3536
  emits: ["update:modelValue"],
3532
- setup(e, { emit: t }) {
3533
- const n = e, a = C(), o = C(), r = Ae(), l = Q(), i = C(!1);
3534
- Bt(a, n.autofocus);
3535
- const u = V(() => typeof n.modelValue == "number" || !n.clearable || n.unit || !n.modelValue ? !1 : n.modelValue.length > 0 && !n.unit), d = V(() => l.default && l.default()), c = V(() => {
3536
- var s, m;
3537
- return !!((s = o.value) != null && s.closest("joy-wrapper")) || !!((m = o.value) != null && m.closest(".joy-wrapper"));
3538
- }), f = C(n.type);
3537
+ setup(e, { expose: t, emit: n }) {
3538
+ const a = e, o = C(), r = C(), l = Ae(), i = X(), u = C(!1), d = C(!1);
3539
+ Bt(o, a.autofocus);
3540
+ const c = V(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), f = V(() => i.default && i.default()), p = V(() => {
3541
+ var h, E;
3542
+ return !!((h = r.value) != null && h.closest("joy-wrapper")) || !!((E = r.value) != null && E.closest(".joy-wrapper"));
3543
+ }), s = C(a.type), m = V(() => a.type === "password" && !!a.modelValue);
3539
3544
  na(() => {
3540
- f.value = n.unit ? "number" : n.type;
3545
+ s.value = a.unit ? "number" : a.type;
3541
3546
  });
3542
- const p = {
3547
+ function v() {
3548
+ var h;
3549
+ a.readonly || (h = o.value) == null || h.focus();
3550
+ }
3551
+ const _ = {
3543
3552
  onFocus: () => {
3544
- n.readonly || (i.value = !0);
3553
+ a.readonly || (u.value = !0);
3545
3554
  },
3546
3555
  onBlur: () => {
3547
- i.value = !1;
3556
+ u.value = !1;
3548
3557
  },
3549
- onInput: (s) => {
3550
- let m = s.target.value;
3551
- n.modelModifiers.lazy || t("update:modelValue", m);
3558
+ onInput: (h) => {
3559
+ let E = h.target.value;
3560
+ a.modelModifiers.lazy || n("update:modelValue", E);
3552
3561
  },
3553
- onChange: (s) => {
3554
- let m = s.target.value;
3555
- n.modelModifiers.lazy && t("update:modelValue", m);
3562
+ onChange: (h) => {
3563
+ let E = h.target.value;
3564
+ a.modelModifiers.lazy && n("update:modelValue", E);
3556
3565
  },
3557
3566
  clearValue: () => {
3558
- n.disabled || t("update:modelValue", "");
3567
+ a.disabled || n("update:modelValue", "");
3568
+ },
3569
+ togglePassword: (h) => {
3570
+ h.preventDefault(), d.value = !d.value, d.value ? s.value = "text" : s.value = "password";
3559
3571
  }
3560
3572
  };
3561
- return (s, m) => (y(), g("div", {
3573
+ return t({
3574
+ focus: v
3575
+ }), (h, E) => (y(), g("div", {
3562
3576
  ref_key: "root",
3563
- ref: o,
3564
- class: $([`joy-input--${n.size}`])
3577
+ ref: r,
3578
+ class: $([`joy-input--${a.size}`])
3565
3579
  }, [
3566
3580
  b("div", {
3567
3581
  class: $([
3568
3582
  "joy-input",
3569
3583
  {
3570
- "joy-input--focusing": i.value,
3584
+ "joy-input--focusing": u.value,
3571
3585
  "joy-input--disabled": e.disabled,
3572
3586
  "joy-input--invalid": e.invalid,
3573
3587
  "joy-input--readonly": e.readonly,
3574
- "joy-input--valid": !e.invalid && !T(r).disabled
3588
+ "joy-input--valid": !e.invalid && !T(l).disabled
3575
3589
  }
3576
3590
  ])
3577
3591
  }, [
3578
- d.value || e.label ? (y(), B(je, {
3592
+ f.value || e.label ? (y(), B(je, {
3579
3593
  key: 0,
3580
3594
  for: e.id || e.name,
3581
3595
  required: e.required && e.requiredMark,
3582
3596
  "optional-label": e.optionalLabel,
3583
3597
  size: e.labelSize
3584
3598
  }, {
3585
- default: D(() => [
3586
- w(s.$slots, "default", {}, () => [
3587
- z(J(e.label), 1)
3599
+ default: M(() => [
3600
+ k(h.$slots, "default", {}, () => [
3601
+ z(F(e.label), 1)
3588
3602
  ], !0)
3589
3603
  ]),
3590
3604
  _: 3
@@ -3596,14 +3610,14 @@ const je = /* @__PURE__ */ E(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3596
3610
  "joy-input--wrapper-has-icon": !!e.icon,
3597
3611
  "joy-input--wrapper---clearable": e.clearable,
3598
3612
  "joy-input--wrapper-unit": !!e.unit,
3599
- "joy-input--wrapper-margin": !c.value
3613
+ "joy-input--wrapper-margin": !p.value
3600
3614
  }
3601
3615
  ])
3602
3616
  }, [
3603
- b("input", te(s.$attrs, {
3617
+ b("input", te(h.$attrs, {
3604
3618
  id: e.id || e.name,
3605
3619
  ref_key: "input",
3606
- ref: a,
3620
+ ref: o,
3607
3621
  name: e.name,
3608
3622
  required: e.required,
3609
3623
  disabled: e.disabled,
@@ -3614,33 +3628,39 @@ const je = /* @__PURE__ */ E(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3614
3628
  "joy-input--field-invalid": e.invalid
3615
3629
  }
3616
3630
  ],
3617
- type: f.value,
3631
+ type: s.value,
3618
3632
  value: e.modelValue,
3619
- onFocus: m[0] || (m[0] = //@ts-ignore
3620
- (...v) => p.onFocus && p.onFocus(...v)),
3621
- onBlur: m[1] || (m[1] = //@ts-ignore
3622
- (...v) => p.onBlur && p.onBlur(...v)),
3623
- onInput: m[2] || (m[2] = //@ts-ignore
3624
- (...v) => p.onInput && p.onInput(...v)),
3625
- onChange: m[3] || (m[3] = //@ts-ignore
3626
- (...v) => p.onChange && p.onChange(...v))
3633
+ onFocus: E[0] || (E[0] = //@ts-ignore
3634
+ (...N) => _.onFocus && _.onFocus(...N)),
3635
+ onBlur: E[1] || (E[1] = //@ts-ignore
3636
+ (...N) => _.onBlur && _.onBlur(...N)),
3637
+ onInput: E[2] || (E[2] = //@ts-ignore
3638
+ (...N) => _.onInput && _.onInput(...N)),
3639
+ onChange: E[3] || (E[3] = //@ts-ignore
3640
+ (...N) => _.onChange && _.onChange(...N))
3627
3641
  }), null, 16, ei),
3628
- u.value ? (y(), B(de, {
3642
+ c.value ? (y(), B(de, {
3629
3643
  key: 0,
3630
3644
  class: "joy-input--clear",
3631
3645
  circle: "",
3632
3646
  variant: "ghost",
3633
3647
  size: "xxsmall",
3634
3648
  icon: "cross",
3635
- onClick: p.clearValue
3649
+ onClick: _.clearValue
3636
3650
  }, null, 8, ["onClick"])) : x("", !0),
3637
- e.icon ? (y(), B(W, {
3651
+ m.value ? (y(), B(W, {
3638
3652
  key: 1,
3653
+ class: "joy-input--password-icon",
3654
+ name: d.value ? "eye-masked" : "eye",
3655
+ onClick: _.togglePassword
3656
+ }, null, 8, ["name", "onClick"])) : x("", !0),
3657
+ e.icon ? (y(), B(W, {
3658
+ key: 2,
3639
3659
  class: "joy-input--decorative-icon",
3640
3660
  name: e.icon
3641
3661
  }, null, 8, ["name"])) : x("", !0),
3642
3662
  e.unit ? (y(), g("div", {
3643
- key: 2,
3663
+ key: 3,
3644
3664
  "data-unit": e.unit,
3645
3665
  class: "joy-input--unit"
3646
3666
  }, null, 8, ti)) : x("", !0)
@@ -3649,7 +3669,7 @@ const je = /* @__PURE__ */ E(Qr, [["__scopeId", "data-v-388a7c56"]]), Xr = ["lar
3649
3669
  ], 2));
3650
3670
  }
3651
3671
  });
3652
- const ai = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-dfad36d7"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3672
+ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-3dafc1cb"]]), oi = ["teal", "white"], li = ["href"], ri = /* @__PURE__ */ L({
3653
3673
  __name: "VJoyLink",
3654
3674
  props: {
3655
3675
  href: {
@@ -3674,13 +3694,13 @@ const ai = /* @__PURE__ */ E(ni, [["__scopeId", "data-v-dfad36d7"]]), oi = ["tea
3674
3694
  key: 0,
3675
3695
  name: e.icon
3676
3696
  }, null, 8, ["name"])) : x("", !0),
3677
- w(t.$slots, "default", {}, () => [
3678
- z(J(e.text), 1)
3697
+ k(t.$slots, "default", {}, () => [
3698
+ z(F(e.text), 1)
3679
3699
  ], !0)
3680
3700
  ], 16, li));
3681
3701
  }
3682
3702
  });
3683
- const ii = /* @__PURE__ */ E(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tabindex", "aria-activedescendant", "aria-label"], ui = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ci = { "aria-hidden": "true" }, di = /* @__PURE__ */ L({
3703
+ const ii = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tabindex", "aria-activedescendant", "aria-label"], ui = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ci = { "aria-hidden": "true" }, di = /* @__PURE__ */ L({
3684
3704
  __name: "VJoyMenu",
3685
3705
  props: {
3686
3706
  /**
@@ -3767,19 +3787,19 @@ const ii = /* @__PURE__ */ E(ri, [["__scopeId", "data-v-5540214e"]]), si = ["tab
3767
3787
  onClick: (m) => l(s)
3768
3788
  }, [
3769
3789
  b("div", ci, [
3770
- w(f.$slots, "menu-item", ze(qe(s)), () => [
3790
+ k(f.$slots, "menu-item", ze(qe(s)), () => [
3771
3791
  s.icon ? (y(), B(W, {
3772
3792
  key: 0,
3773
3793
  name: s.icon
3774
3794
  }, null, 8, ["name"])) : x("", !0),
3775
- b("span", null, J(s.label), 1)
3795
+ b("span", null, F(s.label), 1)
3776
3796
  ], !0)
3777
3797
  ])
3778
3798
  ], 10, ui))), 128))
3779
3799
  ], 40, si));
3780
3800
  }
3781
3801
  });
3782
- const fi = /* @__PURE__ */ E(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3802
+ const fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"], vi = {
3783
3803
  class: /* @__PURE__ */ $(["joy-multi-checkbox"])
3784
3804
  }, pi = /* @__PURE__ */ L({
3785
3805
  __name: "VJoyMultiCheckbox",
@@ -3835,8 +3855,8 @@ const fi = /* @__PURE__ */ E(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3835
3855
  "optional-label": e.optionalLabel,
3836
3856
  size: e.labelSize
3837
3857
  }, {
3838
- default: D(() => [
3839
- z(J(e.label), 1)
3858
+ default: M(() => [
3859
+ z(F(e.label), 1)
3840
3860
  ]),
3841
3861
  _: 1
3842
3862
  }, 8, ["required", "optional-label", "size"])) : x("", !0),
@@ -3849,9 +3869,9 @@ const fi = /* @__PURE__ */ E(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3849
3869
  checked: a(i),
3850
3870
  "onUpdate:checked": (u) => o(i.value, u)
3851
3871
  }, {
3852
- default: D(() => [
3853
- w(r.$slots, "checkbox", ze(qe(i)), () => [
3854
- z(J(i.label), 1)
3872
+ default: M(() => [
3873
+ k(r.$slots, "checkbox", ze(qe(i)), () => [
3874
+ z(F(i.label), 1)
3855
3875
  ], !0)
3856
3876
  ]),
3857
3877
  _: 2
@@ -3860,7 +3880,7 @@ const fi = /* @__PURE__ */ E(di, [["__scopeId", "data-v-4391a0bd"]]), yi = ["id"
3860
3880
  ], 8, yi));
3861
3881
  }
3862
3882
  });
3863
- const mi = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3883
+ const mi = /* @__PURE__ */ A(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @__PURE__ */ L({
3864
3884
  __name: "PaginationIcon",
3865
3885
  props: {
3866
3886
  label: {
@@ -3948,7 +3968,7 @@ const mi = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3948
3968
  }, [
3949
3969
  b("ul", null, [
3950
3970
  b("li", gi, [
3951
- w(d.$slots, "pagination-prev", {}, () => [
3971
+ k(d.$slots, "pagination-prev", {}, () => [
3952
3972
  U(sn, {
3953
3973
  label: e.labelPrev,
3954
3974
  disabled: e.currentPage === 1,
@@ -3968,12 +3988,12 @@ const mi = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3968
3988
  "joy-pagination__separator joy-pagination__separator-before": e.totalPages > 1 && f === e.totalPages && a.value
3969
3989
  }),
3970
3990
  onClick: (p) => l(f)
3971
- }, J(f), 11, hi)
3991
+ }, F(f), 11, hi)
3972
3992
  ]))), 128))
3973
3993
  ])
3974
3994
  ]),
3975
3995
  b("li", _i, [
3976
- w(d.$slots, "pagination-next", {}, () => [
3996
+ k(d.$slots, "pagination-next", {}, () => [
3977
3997
  U(sn, {
3978
3998
  next: "",
3979
3999
  label: e.labelNext,
@@ -3986,7 +4006,7 @@ const mi = /* @__PURE__ */ E(pi, [["__scopeId", "data-v-c278b02d"]]), sn = /* @_
3986
4006
  ], 8, bi));
3987
4007
  }
3988
4008
  });
3989
- const ki = /* @__PURE__ */ E(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
4009
+ const ki = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["small", "medium", "large"], Ci = ["small", "large"], ji = {
3990
4010
  key: 0,
3991
4011
  class: /* @__PURE__ */ $(["joy-panel__header"])
3992
4012
  }, $i = {
@@ -4032,7 +4052,7 @@ const ki = /* @__PURE__ */ E(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4032
4052
  }
4033
4053
  },
4034
4054
  setup(e) {
4035
- const t = it("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = Q(), o = C(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
4055
+ const t = it("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = X(), o = C(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
4036
4056
  return (l, i) => (y(), g("section", {
4037
4057
  ref_key: "panel",
4038
4058
  ref: o,
@@ -4051,35 +4071,35 @@ const ki = /* @__PURE__ */ E(Si, [["__scopeId", "data-v-ca6b555e"]]), xi = ["sma
4051
4071
  key: 0,
4052
4072
  class: $(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4053
4073
  }, [
4054
- w(l.$slots, "panel-title", {}, void 0, !0)
4074
+ k(l.$slots, "panel-title", {}, void 0, !0)
4055
4075
  ], 2)) : x("", !0),
4056
4076
  T(a)["panel-title-action"] ? (y(), g("div", $i, [
4057
- w(l.$slots, "panel-title-action", {}, void 0, !0)
4077
+ k(l.$slots, "panel-title-action", {}, void 0, !0)
4058
4078
  ])) : x("", !0),
4059
4079
  T(a)["panel-subtitle"] ? (y(), g("div", Vi, [
4060
- w(l.$slots, "panel-subtitle", {}, void 0, !0)
4080
+ k(l.$slots, "panel-subtitle", {}, void 0, !0)
4061
4081
  ])) : x("", !0)
4062
4082
  ])) : x("", !0),
4063
4083
  b("div", Ti, [
4064
- w(l.$slots, "panel-body", {}, void 0, !0)
4084
+ k(l.$slots, "panel-body", {}, void 0, !0)
4065
4085
  ]),
4066
4086
  T(a)["panel-action"] ? (y(), g("footer", Ii, [
4067
- w(l.$slots, "panel-action", {}, void 0, !0)
4087
+ k(l.$slots, "panel-action", {}, void 0, !0)
4068
4088
  ])) : x("", !0),
4069
4089
  e.loading ? (y(), B(T(At), {
4070
4090
  key: 2,
4071
4091
  overlay: "",
4072
4092
  color: e.loadingColor
4073
4093
  }, {
4074
- content: D(() => [
4075
- w(l.$slots, "panel-loader-content", {}, void 0, !0)
4094
+ content: M(() => [
4095
+ k(l.$slots, "panel-loader-content", {}, void 0, !0)
4076
4096
  ]),
4077
4097
  _: 3
4078
4098
  }, 8, ["color"])) : x("", !0)
4079
4099
  ], 6));
4080
4100
  }
4081
4101
  });
4082
- const Ei = /* @__PURE__ */ E(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4102
+ const Ei = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { class: "joy-panel-section" }, Ai = {
4083
4103
  key: 0,
4084
4104
  class: "joy-panel-section__title"
4085
4105
  }, Ni = {
@@ -4088,18 +4108,18 @@ const Ei = /* @__PURE__ */ E(Li, [["__scopeId", "data-v-4a8b703c"]]), Bi = { cla
4088
4108
  }, Oi = /* @__PURE__ */ L({
4089
4109
  __name: "VJoyPanelSection",
4090
4110
  setup(e) {
4091
- const t = Q();
4111
+ const t = X();
4092
4112
  return (n, a) => (y(), g("div", Bi, [
4093
4113
  T(t)["panel-section-title"] ? (y(), g("div", Ai, [
4094
- w(n.$slots, "panel-section-title", {}, void 0, !0)
4114
+ k(n.$slots, "panel-section-title", {}, void 0, !0)
4095
4115
  ])) : x("", !0),
4096
4116
  T(t)["panel-section-content"] ? (y(), g("div", Ni, [
4097
- w(n.$slots, "panel-section-content", {}, void 0, !0)
4117
+ k(n.$slots, "panel-section-content", {}, void 0, !0)
4098
4118
  ])) : x("", !0)
4099
4119
  ]));
4100
4120
  }
4101
4121
  });
4102
- const Ji = /* @__PURE__ */ E(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4122
+ const Ji = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { class: "joy-progress-bar-wrapper" }, Pi = /* @__PURE__ */ L({
4103
4123
  __name: "VJoyProgressBar",
4104
4124
  props: {
4105
4125
  color: {
@@ -4141,7 +4161,7 @@ const Ji = /* @__PURE__ */ E(Oi, [["__scopeId", "data-v-d88510ab"]]), Fi = { cla
4141
4161
  ]));
4142
4162
  }
4143
4163
  });
4144
- const Ri = /* @__PURE__ */ E(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Mi = ["id", "value", "checked", "disabled", "required", "name"], Di = { class: "joy-radio-label" }, zi = { class: "joy-radio-content__wrapper" }, qi = { class: "joy-radio-content" }, Hi = /* @__PURE__ */ L({
4164
+ const Ri = /* @__PURE__ */ A(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Di = ["id", "value", "checked", "disabled", "required", "name"], Mi = { class: "joy-radio-label" }, zi = { class: "joy-radio-content__wrapper" }, qi = { class: "joy-radio-content" }, Hi = /* @__PURE__ */ L({
4145
4165
  __name: "VJoyRadio",
4146
4166
  props: {
4147
4167
  disabled: {
@@ -4164,20 +4184,20 @@ const Ri = /* @__PURE__ */ E(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Mi = ["id"
4164
4184
  },
4165
4185
  // ...FORM_BASED_PROPS,
4166
4186
  modelValue: {
4167
- type: String
4187
+ type: [String, Number]
4168
4188
  },
4169
4189
  theme: {
4170
4190
  type: String,
4171
4191
  default: "default"
4172
4192
  },
4173
4193
  value: {
4174
- type: String,
4194
+ type: [String, Number],
4175
4195
  required: !0
4176
4196
  }
4177
4197
  },
4178
4198
  emits: ["update:modelValue"],
4179
4199
  setup(e, { expose: t, emit: n }) {
4180
- const a = e, o = C(!1), r = C(!1), l = C(null), i = C(null), u = Q(), d = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
4200
+ const a = e, o = C(!1), r = C(!1), l = C(null), i = C(null), u = X(), d = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
4181
4201
  function c() {
4182
4202
  o.value = !!u["expandable-content"] && d.value;
4183
4203
  }
@@ -4193,7 +4213,7 @@ const Ri = /* @__PURE__ */ E(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Mi = ["id"
4193
4213
  function s() {
4194
4214
  r.value = !1;
4195
4215
  }
4196
- return ee(
4216
+ return Q(
4197
4217
  () => a.modelValue,
4198
4218
  () => {
4199
4219
  c();
@@ -4227,26 +4247,26 @@ const Ri = /* @__PURE__ */ E(Pi, [["__scopeId", "data-v-1b2b3de8"]]), Mi = ["id"
4227
4247
  onChange: f,
4228
4248
  onFocus: p,
4229
4249
  onBlur: s
4230
- }, null, 40, Mi),
4231
- b("span", Di, [
4232
- w(m.$slots, "default", {}, void 0, !0)
4250
+ }, null, 40, Di),
4251
+ b("span", Mi, [
4252
+ k(m.$slots, "default", {}, void 0, !0)
4233
4253
  ]),
4234
4254
  b("div", zi, [
4235
4255
  b("div", qi, [
4236
- w(m.$slots, "radio-content", {}, void 0, !0)
4256
+ k(m.$slots, "radio-content", {}, void 0, !0)
4237
4257
  ]),
4238
4258
  b("div", {
4239
4259
  ref_key: "expandableElement",
4240
4260
  ref: i,
4241
4261
  class: $(["joy-radio-expandable", { "joy-radio-expandable--expanded": o.value }])
4242
4262
  }, [
4243
- w(m.$slots, "expandable-content", {}, void 0, !0)
4263
+ k(m.$slots, "expandable-content", {}, void 0, !0)
4244
4264
  ], 2)
4245
4265
  ])
4246
4266
  ], 2));
4247
4267
  }
4248
4268
  });
4249
- const Wi = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-24cea99b"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4269
+ const Wi = /* @__PURE__ */ A(Hi, [["__scopeId", "data-v-dd46e26a"]]), Ui = ["form", "name"], Gi = /* @__PURE__ */ L({
4250
4270
  __name: "VJoyRadioGroup",
4251
4271
  props: {
4252
4272
  /**
@@ -4274,16 +4294,16 @@ const Wi = /* @__PURE__ */ E(Hi, [["__scopeId", "data-v-24cea99b"]]), Ui = ["for
4274
4294
  form: e.form,
4275
4295
  name: e.name
4276
4296
  }, [
4277
- w(t.$slots, "radio-group-legend", {}, void 0, !0),
4297
+ k(t.$slots, "radio-group-legend", {}, void 0, !0),
4278
4298
  b("div", {
4279
4299
  class: $(["joy-radio-group-container", `joy-radio-group-${e.direction}`])
4280
4300
  }, [
4281
- w(t.$slots, "default", {}, void 0, !0)
4301
+ k(t.$slots, "default", {}, void 0, !0)
4282
4302
  ], 2)
4283
4303
  ], 8, Ui));
4284
4304
  }
4285
4305
  });
4286
- const Ki = /* @__PURE__ */ E(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ariaLabel"], Zi = { class: "joy-rating-stars" }, Qi = { class: "joy-rating-stars__content" }, Xi = { key: 0 }, es = /* @__PURE__ */ L({
4306
+ const Ki = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ariaLabel"], Zi = { class: "joy-rating-stars" }, Qi = { class: "joy-rating-stars__content" }, Xi = { key: 0 }, es = /* @__PURE__ */ L({
4287
4307
  __name: "VJoyRatingStars",
4288
4308
  props: {
4289
4309
  ratingValue: {
@@ -4337,14 +4357,14 @@ const Ki = /* @__PURE__ */ E(Gi, [["__scopeId", "data-v-a77e7f95"]]), Yi = ["ari
4337
4357
  ], 2))), 128))
4338
4358
  ]),
4339
4359
  b("div", Qi, [
4340
- w(r.$slots, "rating-stars-content", {}, () => [
4341
- e.reviewCount ? (y(), g("span", Xi, "(" + J(e.reviewCount) + ")", 1)) : x("", !0)
4360
+ k(r.$slots, "rating-stars-content", {}, () => [
4361
+ e.reviewCount ? (y(), g("span", Xi, "(" + F(e.reviewCount) + ")", 1)) : x("", !0)
4342
4362
  ], !0)
4343
4363
  ])
4344
4364
  ], 8, Yi));
4345
4365
  }
4346
4366
  });
4347
- const An = /* @__PURE__ */ E(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
4367
+ const An = /* @__PURE__ */ A(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { class: "joy-screen-loader__content" }, ns = {
4348
4368
  key: 0,
4349
4369
  class: "joy-screen-loader__content"
4350
4370
  }, as = /* @__PURE__ */ L({
@@ -4366,19 +4386,19 @@ const An = /* @__PURE__ */ E(es, [["__scopeId", "data-v-c9a5e140"]]), ts = { cla
4366
4386
  class: $(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4367
4387
  }, [
4368
4388
  b("div", ts, [
4369
- w(t.$slots, "spinner", {}, () => [
4389
+ k(t.$slots, "spinner", {}, () => [
4370
4390
  U($t, {
4371
4391
  color: e.color === "dark" ? "white" : "teal"
4372
4392
  }, null, 8, ["color"])
4373
4393
  ], !0),
4374
4394
  t.$slots.content ? (y(), g("div", ns, [
4375
- w(t.$slots, "content", {}, void 0, !0)
4395
+ k(t.$slots, "content", {}, void 0, !0)
4376
4396
  ])) : x("", !0)
4377
4397
  ])
4378
4398
  ], 2));
4379
4399
  }
4380
4400
  });
4381
- const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4401
+ const At = /* @__PURE__ */ A(as, [["__scopeId", "data-v-1112514f"]]), os = ["id", "name", "aria-invalid", "required", "disabled"], ls = ["selected"], rs = /* @__PURE__ */ L({
4382
4402
  __name: "VJoySelect",
4383
4403
  props: {
4384
4404
  disabled: {
@@ -4422,18 +4442,18 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4422
4442
  },
4423
4443
  emits: ["update:modelValue"],
4424
4444
  setup(e, { expose: t, emit: n }) {
4425
- const a = e, o = Q(), r = V(() => {
4445
+ const a = e, o = X(), r = V(() => {
4426
4446
  const m = o.default();
4427
4447
  let v = [];
4428
- return m.forEach((S) => {
4429
- if (l(S))
4430
- v.push(S);
4448
+ return m.forEach((_) => {
4449
+ if (l(_))
4450
+ v.push(_);
4431
4451
  else {
4432
- const k = S.children;
4433
- if (typeof k == "string" || !k.length)
4452
+ const h = _.children;
4453
+ if (typeof h == "string" || !h.length)
4434
4454
  return;
4435
- const A = k.filter(l);
4436
- v = [...v, ...A];
4455
+ const E = h.filter(l);
4456
+ v = [...v, ...E];
4437
4457
  }
4438
4458
  }), v;
4439
4459
  });
@@ -4442,18 +4462,18 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4442
4462
  }
4443
4463
  const i = C(), u = C(), d = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
4444
4464
  le(() => {
4445
- var S;
4465
+ var _;
4446
4466
  const m = o["select-label"] && o["select-label"]();
4447
4467
  if (!m || !m.length)
4448
4468
  return;
4449
4469
  const v = m[0];
4450
4470
  if (v.type === "JoyLabel") {
4451
- const k = (S = v.props) == null ? void 0 : S.for;
4452
- if (!k) {
4471
+ const h = (_ = v.props) == null ? void 0 : _.for;
4472
+ if (!h) {
4453
4473
  console.warn("JoyLabel for attribute is missing");
4454
4474
  return;
4455
4475
  }
4456
- k !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
4476
+ h !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
4457
4477
  }
4458
4478
  });
4459
4479
  function f(m) {
@@ -4472,7 +4492,7 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4472
4492
  ref_key: "root",
4473
4493
  ref: i
4474
4494
  }, [
4475
- w(m.$slots, "select-label", {}, () => [
4495
+ k(m.$slots, "select-label", {}, () => [
4476
4496
  e.label ? (y(), B(je, {
4477
4497
  key: 0,
4478
4498
  required: e.required && e.requiredMark,
@@ -4480,8 +4500,8 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4480
4500
  for: e.id || e.name,
4481
4501
  size: c.value
4482
4502
  }, {
4483
- default: D(() => [
4484
- z(J(e.label), 1)
4503
+ default: M(() => [
4504
+ z(F(e.label), 1)
4485
4505
  ]),
4486
4506
  _: 1
4487
4507
  }, 8, ["required", "optional-label", "for", "size"])) : x("", !0)
@@ -4510,13 +4530,13 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4510
4530
  onFocus: p,
4511
4531
  onBlur: s
4512
4532
  }, [
4513
- (y(!0), g(K, null, Y(r.value, (S) => {
4514
- var k, A;
4533
+ (y(!0), g(K, null, Y(r.value, (_) => {
4534
+ var h, E;
4515
4535
  return y(), g("option", te({
4516
- key: (k = S.props) == null ? void 0 : k.value
4517
- }, S.props, {
4518
- selected: ((A = S.props) == null ? void 0 : A.value) === e.modelValue
4519
- }), J(S.children), 17, ls);
4536
+ key: (h = _.props) == null ? void 0 : h.value
4537
+ }, _.props, {
4538
+ selected: ((E = _.props) == null ? void 0 : E.value) === e.modelValue
4539
+ }), F(_.children), 17, ls);
4520
4540
  }), 128))
4521
4541
  ], 40, os),
4522
4542
  U(W, {
@@ -4527,7 +4547,7 @@ const At = /* @__PURE__ */ E(as, [["__scopeId", "data-v-1112514f"]]), os = ["id"
4527
4547
  ], 512));
4528
4548
  }
4529
4549
  });
4530
- const is = /* @__PURE__ */ E(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["aria-disabled"], us = ["id", "value", "checked", "disabled", "required", "name"], cs = { class: "joy-selectable-item__label" }, ds = /* @__PURE__ */ L({
4550
+ const is = /* @__PURE__ */ A(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["aria-disabled"], us = ["id", "value", "checked", "disabled", "required", "name"], cs = { class: "joy-selectable-item__label" }, ds = /* @__PURE__ */ L({
4531
4551
  __name: "VJoySelectableItem",
4532
4552
  props: {
4533
4553
  disabled: {
@@ -4631,7 +4651,7 @@ const is = /* @__PURE__ */ E(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4631
4651
  ]),
4632
4652
  onClick: i.onLabelClick
4633
4653
  }, {
4634
- default: D(() => [
4654
+ default: M(() => [
4635
4655
  e.multiple ? (y(), B(T(Et), {
4636
4656
  key: 0,
4637
4657
  id: e.id,
@@ -4648,19 +4668,19 @@ const is = /* @__PURE__ */ E(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4648
4668
  onFocus: i.onFocus,
4649
4669
  onBlur: i.onBlur
4650
4670
  }, {
4651
- default: D(() => [
4652
- w(d.$slots, "default", {}, void 0, !0)
4671
+ default: M(() => [
4672
+ k(d.$slots, "default", {}, void 0, !0)
4653
4673
  ]),
4654
4674
  _: 3
4655
4675
  }, 8, ["id", "checked", "disabled", "value", "name", "required", "onFocus", "onBlur"])) : x("", !0),
4656
4676
  b("div", cs, [
4657
- e.multiple ? x("", !0) : w(d.$slots, "default", { key: 0 }, void 0, !0)
4677
+ e.multiple ? x("", !0) : k(d.$slots, "default", { key: 0 }, void 0, !0)
4658
4678
  ]),
4659
4679
  b("div", {
4660
4680
  class: $([{ "joy-selectable-item__sublabel": d.$slots["selectable-item-sublabel"] }])
4661
4681
  }, [
4662
- w(d.$slots, "selectable-item-sublabel", {}, () => [
4663
- z(J(e.subLabel), 1)
4682
+ k(d.$slots, "selectable-item-sublabel", {}, () => [
4683
+ z(F(e.subLabel), 1)
4664
4684
  ], !0)
4665
4685
  ], 2)
4666
4686
  ]),
@@ -4669,7 +4689,7 @@ const is = /* @__PURE__ */ E(rs, [["__scopeId", "data-v-b2b02d36"]]), ss = ["ari
4669
4689
  ], 10, ss));
4670
4690
  }
4671
4691
  });
4672
- const Nn = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"], ys = /* @__PURE__ */ L({
4692
+ const Nn = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"], ys = /* @__PURE__ */ L({
4673
4693
  __name: "VJoySelectableItemGroup",
4674
4694
  props: {
4675
4695
  options: {
@@ -4731,8 +4751,8 @@ const Nn = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4731
4751
  "optional-label": e.optionalLabel,
4732
4752
  size: e.labelSize
4733
4753
  }, {
4734
- default: D(() => [
4735
- z(J(e.label), 1)
4754
+ default: M(() => [
4755
+ z(F(e.label), 1)
4736
4756
  ]),
4737
4757
  _: 1
4738
4758
  }, 8, ["required", "optional-label", "size"])) : x("", !0),
@@ -4756,17 +4776,17 @@ const Nn = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4756
4776
  checked: a(i),
4757
4777
  "onUpdate:checked": (u) => o(i.value, u)
4758
4778
  }), pn({
4759
- default: D(() => [
4760
- w(r.$slots, "item", ze(qe(i)), () => [
4761
- z(J(i.label), 1)
4779
+ default: M(() => [
4780
+ k(r.$slots, "item", ze(qe(i)), () => [
4781
+ z(F(i.label), 1)
4762
4782
  ], !0)
4763
4783
  ]),
4764
4784
  _: 2
4765
4785
  }, [
4766
4786
  i.subLabel ? {
4767
4787
  name: "selectable-item-sublabel",
4768
- fn: D(() => [
4769
- z(J(i.subLabel), 1)
4788
+ fn: M(() => [
4789
+ z(F(i.subLabel), 1)
4770
4790
  ]),
4771
4791
  key: "0"
4772
4792
  } : void 0
@@ -4775,7 +4795,7 @@ const Nn = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-a9411119"]]), fs = ["id"
4775
4795
  ], 8, fs));
4776
4796
  }
4777
4797
  });
4778
- const vs = /* @__PURE__ */ E(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @__PURE__ */ L({
4798
+ const vs = /* @__PURE__ */ A(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @__PURE__ */ L({
4779
4799
  __name: "VJoySeparator",
4780
4800
  props: {
4781
4801
  /** Main text to apply in the central area */
@@ -4791,11 +4811,11 @@ const vs = /* @__PURE__ */ E(ys, [["__scopeId", "data-v-2cbfc306"]]), ps = /* @_
4791
4811
  return (t, n) => (y(), g("div", {
4792
4812
  class: $(["joy-separator", { "joy-separator__small": e.size === "small" }])
4793
4813
  }, [
4794
- b("span", null, J(e.text), 1)
4814
+ b("span", null, F(e.text), 1)
4795
4815
  ], 2));
4796
4816
  }
4797
4817
  });
4798
- const ms = /* @__PURE__ */ E(ps, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img" }, gs = { class: "joy-snackbar__content" }, hs = { key: 0 }, _s = ["innerHTML"], ws = /* @__PURE__ */ L({
4818
+ const ms = /* @__PURE__ */ A(ps, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img" }, gs = { class: "joy-snackbar__content" }, hs = { key: 0 }, _s = ["innerHTML"], ws = /* @__PURE__ */ L({
4799
4819
  __name: "VJoySnackbar",
4800
4820
  props: {
4801
4821
  level: {
@@ -4879,7 +4899,7 @@ const ms = /* @__PURE__ */ E(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4879
4899
  }), t({
4880
4900
  isOpen: a,
4881
4901
  exposedMethods: m
4882
- }), (v, S) => (y(), g("div", {
4902
+ }), (v, _) => (y(), g("div", {
4883
4903
  class: $(["joy-snackbar_container", {
4884
4904
  "joy-snackbar__frozen": e.frozen === !0,
4885
4905
  "joy-snackbar__hiding": !a.value
@@ -4893,13 +4913,13 @@ const ms = /* @__PURE__ */ E(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4893
4913
  U(T(W), { name: i.value }, null, 8, ["name"])
4894
4914
  ]),
4895
4915
  b("div", gs, [
4896
- e.header ? (y(), g("strong", hs, J(e.header), 1)) : x("", !0),
4916
+ e.header ? (y(), g("strong", hs, F(e.header), 1)) : x("", !0),
4897
4917
  b("span", { innerHTML: e.message }, null, 8, _s),
4898
4918
  e.actionText ? (y(), g("p", {
4899
4919
  key: 1,
4900
4920
  class: "joy-snackbar__trigger___action",
4901
4921
  onClick: u
4902
- }, J(e.actionText), 1)) : x("", !0)
4922
+ }, F(e.actionText), 1)) : x("", !0)
4903
4923
  ]),
4904
4924
  e.closable ? (y(), B(T(de), {
4905
4925
  key: 0,
@@ -4914,7 +4934,7 @@ const ms = /* @__PURE__ */ E(ps, [["__scopeId", "data-v-21db2899"]]), bs = { cla
4914
4934
  ], 2));
4915
4935
  }
4916
4936
  });
4917
- const On = /* @__PURE__ */ E(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"], ks = { class: "joy-step__stroke" }, xs = { class: "joy-step__label" }, Cs = /* @__PURE__ */ L({
4937
+ const On = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"], ks = { class: "joy-step__stroke" }, xs = { class: "joy-step__label" }, Cs = /* @__PURE__ */ L({
4918
4938
  __name: "VJoyStep",
4919
4939
  props: {
4920
4940
  completed: {
@@ -4944,7 +4964,7 @@ const On = /* @__PURE__ */ E(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4944
4964
  function i(u) {
4945
4965
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), n("update:subSteps");
4946
4966
  }
4947
- return ee(() => a.subSteps, i), t({
4967
+ return Q(() => a.subSteps, i), t({
4948
4968
  progress: r
4949
4969
  }), (u, d) => (y(), g("div", {
4950
4970
  id: e.id,
@@ -4964,12 +4984,12 @@ const On = /* @__PURE__ */ E(ws, [["__scopeId", "data-v-e9634d00"]]), Ss = ["id"
4964
4984
  }, null, 4)
4965
4985
  ]),
4966
4986
  b("span", xs, [
4967
- w(u.$slots, "default", {}, void 0, !0)
4987
+ k(u.$slots, "default", {}, void 0, !0)
4968
4988
  ])
4969
4989
  ], 10, Ss));
4970
4990
  }
4971
4991
  });
4972
- const Jn = /* @__PURE__ */ E(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { class: "joy-stepper" }, $s = /* @__PURE__ */ L({
4992
+ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { class: "joy-stepper" }, $s = /* @__PURE__ */ L({
4973
4993
  __name: "VJoyStepper",
4974
4994
  props: {
4975
4995
  step: {
@@ -4982,7 +5002,7 @@ const Jn = /* @__PURE__ */ E(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
4982
5002
  }
4983
5003
  },
4984
5004
  setup(e, { expose: t }) {
4985
- const n = e, a = Q(), o = V(() => {
5005
+ const n = e, a = X(), o = V(() => {
4986
5006
  const c = a.default();
4987
5007
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(r) : c.filter(r);
4988
5008
  });
@@ -5006,7 +5026,7 @@ const Jn = /* @__PURE__ */ E(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5006
5026
  completed: s < e.step - 1,
5007
5027
  "current-sub-step": d(s)
5008
5028
  }), {
5009
- default: D(() => {
5029
+ default: M(() => {
5010
5030
  var v;
5011
5031
  return [
5012
5032
  (v = p.children) != null && v.default ? (y(), B(oe(p.children.default), { key: 0 })) : x("", !0)
@@ -5018,7 +5038,7 @@ const Jn = /* @__PURE__ */ E(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5018
5038
  ]));
5019
5039
  }
5020
5040
  });
5021
- const Vs = /* @__PURE__ */ E($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5041
+ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5022
5042
  __name: "VJoyTab",
5023
5043
  props: {
5024
5044
  /**
@@ -5056,11 +5076,11 @@ const Vs = /* @__PURE__ */ E($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id"
5056
5076
  "joy-tab__selected": a.value
5057
5077
  })
5058
5078
  }, [
5059
- w(o.$slots, "default", {}, void 0, !0)
5079
+ k(o.$slots, "default", {}, void 0, !0)
5060
5080
  ], 10, Ts));
5061
5081
  }
5062
5082
  });
5063
- const Ls = /* @__PURE__ */ E(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5083
+ const Ls = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id", "href", "aria-selected", "aria-controls"], Bs = {
5064
5084
  type: "button",
5065
5085
  tabindex: "-1"
5066
5086
  }, As = /* @__PURE__ */ L({
@@ -5122,8 +5142,8 @@ const Ls = /* @__PURE__ */ E(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5122
5142
  }, [
5123
5143
  b("button", Bs, [
5124
5144
  b("div", null, [
5125
- w(o.$slots, "default", {}, () => [
5126
- z(J(e.label), 1)
5145
+ k(o.$slots, "default", {}, () => [
5146
+ z(F(e.label), 1)
5127
5147
  ], !0)
5128
5148
  ])
5129
5149
  ])
@@ -5131,7 +5151,7 @@ const Ls = /* @__PURE__ */ E(Is, [["__scopeId", "data-v-e0455394"]]), Es = ["id"
5131
5151
  ], 40, Es));
5132
5152
  }
5133
5153
  });
5134
- const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5154
+ const Ns = /* @__PURE__ */ A(As, [["__scopeId", "data-v-3d323618"]]), Os = { class: "joy-tabs" }, Js = /* @__PURE__ */ L({
5135
5155
  __name: "VJoyTabs",
5136
5156
  props: {
5137
5157
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -5141,15 +5161,15 @@ const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5141
5161
  },
5142
5162
  emits: ["update:selected-tab"],
5143
5163
  setup(e, { expose: t, emit: n }) {
5144
- const a = e, o = Q(), r = C(a.selectedTab);
5164
+ const a = e, o = X(), r = C(a.selectedTab);
5145
5165
  jt("VJoyTabs", r);
5146
5166
  const l = C(null), i = C(null), u = C(!1), d = C(!1), c = V(() => {
5147
5167
  const v = o.default();
5148
5168
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(f) : v.filter(f);
5149
5169
  });
5150
5170
  function f(v) {
5151
- var S;
5152
- return ((S = v == null ? void 0 : v.type) == null ? void 0 : S.__name) === "VJoyTab";
5171
+ var _;
5172
+ return ((_ = v == null ? void 0 : v.type) == null ? void 0 : _.__name) === "VJoyTab";
5153
5173
  }
5154
5174
  function p(v) {
5155
5175
  return v.props.tab === r.value;
@@ -5157,10 +5177,10 @@ const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5157
5177
  function s() {
5158
5178
  i.value && l.value && i.value.scrollWidth > l.value.offsetWidth ? (d.value = i.value.scrollLeft > 0, u.value = i.value.scrollLeft + l.value.offsetWidth < i.value.scrollWidth) : (d.value = !1, u.value = !1);
5159
5179
  }
5160
- function m(v, S = !0) {
5161
- v && S && (r.value = v, n("update:selected-tab", v));
5180
+ function m(v, _ = !0) {
5181
+ v && _ && (r.value = v, n("update:selected-tab", v));
5162
5182
  }
5163
- return ee(
5183
+ return Q(
5164
5184
  () => a.selectedTab,
5165
5185
  (v) => {
5166
5186
  v && m(v);
@@ -5174,7 +5194,7 @@ const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5174
5194
  (v = i.value) == null || v.removeEventListener("scroll", s);
5175
5195
  }), t({
5176
5196
  tabs: c
5177
- }), (v, S) => (y(), g("div", Os, [
5197
+ }), (v, _) => (y(), g("div", Os, [
5178
5198
  b("div", {
5179
5199
  ref_key: "buttonListWrapper",
5180
5200
  ref: l,
@@ -5190,20 +5210,20 @@ const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5190
5210
  class: "joy-tabs-buttons",
5191
5211
  role: "tablist"
5192
5212
  }, [
5193
- (y(!0), g(K, null, Y(c.value, (k) => (y(), g("div", {
5194
- key: k.props.tab
5213
+ (y(!0), g(K, null, Y(c.value, (h) => (y(), g("div", {
5214
+ key: h.props.tab
5195
5215
  }, [
5196
5216
  U(Ns, {
5197
- tab: k.props.tab,
5198
- label: k.props.label,
5199
- href: k.props.href,
5200
- selected: p(k),
5201
- onChangeTab: (A) => m(k.props.tab, !k.props.href)
5217
+ tab: h.props.tab,
5218
+ label: h.props.label,
5219
+ href: h.props.href,
5220
+ selected: p(h),
5221
+ onChangeTab: (E) => m(h.props.tab, !h.props.href)
5202
5222
  }, {
5203
- default: D(() => {
5204
- var A;
5223
+ default: M(() => {
5224
+ var E;
5205
5225
  return [
5206
- (A = k.children) != null && A.header ? (y(), B(oe(k.children.header), { key: 0 })) : x("", !0)
5226
+ (E = h.children) != null && E.header ? (y(), B(oe(h.children.header), { key: 0 })) : x("", !0)
5207
5227
  ];
5208
5228
  }),
5209
5229
  _: 2
@@ -5212,18 +5232,17 @@ const Ns = /* @__PURE__ */ E(As, [["__scopeId", "data-v-3d323618"]]), Os = { cla
5212
5232
  ], 512)
5213
5233
  ], 2),
5214
5234
  b("div", null, [
5215
- w(v.$slots, "default", {}, void 0, !0)
5235
+ k(v.$slots, "default", {}, void 0, !0)
5216
5236
  ])
5217
5237
  ]));
5218
5238
  }
5219
5239
  });
5220
- const Fs = /* @__PURE__ */ E(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5240
+ const Fs = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id", "role"], Rs = /* @__PURE__ */ L({
5221
5241
  __name: "VJoyTag",
5222
5242
  props: {
5223
5243
  /** Text injected within the tag */
5224
5244
  label: {
5225
- type: String,
5226
- required: !0
5245
+ type: String
5227
5246
  },
5228
5247
  size: {
5229
5248
  type: String,
@@ -5276,24 +5295,27 @@ const Fs = /* @__PURE__ */ E(Js, [["__scopeId", "data-v-b70db3b8"]]), Ps = ["id"
5276
5295
  role: e.link || e.selectable ? "button" : void 0,
5277
5296
  onClick: l
5278
5297
  }, [
5279
- e.draggable ? (y(), B(W, {
5280
- key: 0,
5281
- class: "joy-tag__drag",
5282
- name: "drag",
5283
- size: "xxsmall"
5284
- })) : x("", !0),
5285
- z(" " + J(e.label) + " ", 1),
5286
- e.removable ? (y(), B(W, {
5287
- key: 1,
5288
- class: "joy-tag__removable",
5289
- name: "cross",
5290
- size: "xxsmall",
5291
- onClick: oa(r, ["stop"])
5292
- }, null, 8, ["onClick"])) : x("", !0)
5298
+ k(i.$slots, "default", {}, () => [
5299
+ e.draggable ? (y(), B(W, {
5300
+ key: 0,
5301
+ class: "joy-tag__drag",
5302
+ name: "drag",
5303
+ size: "xxsmall"
5304
+ })) : x("", !0),
5305
+ z(" " + F(e.label) + " ", 1),
5306
+ e.removable ? (y(), B(W, {
5307
+ key: 1,
5308
+ class: "joy-tag__removable",
5309
+ name: "cross",
5310
+ size: "xxsmall",
5311
+ role: "button",
5312
+ onClick: oa(r, ["stop"])
5313
+ }, null, 8, ["onClick"])) : x("", !0)
5314
+ ], !0)
5293
5315
  ], 10, Ps));
5294
5316
  }
5295
5317
  });
5296
- const Fn = /* @__PURE__ */ E(Rs, [["__scopeId", "data-v-9770b43b"]]), Ms = /* @__PURE__ */ L({
5318
+ const Fn = /* @__PURE__ */ A(Rs, [["__scopeId", "data-v-c04ebdea"]]), Ds = /* @__PURE__ */ L({
5297
5319
  __name: "VJoyTagsList",
5298
5320
  props: {
5299
5321
  align: {
@@ -5362,7 +5384,7 @@ const Fn = /* @__PURE__ */ E(Rs, [["__scopeId", "data-v-9770b43b"]]), Ms = /* @_
5362
5384
  ], 2));
5363
5385
  }
5364
5386
  });
5365
- const Ds = /* @__PURE__ */ E(Ms, [["__scopeId", "data-v-5be625a7"]]);
5387
+ const Ms = /* @__PURE__ */ A(Ds, [["__scopeId", "data-v-8d9a3ff0"]]);
5366
5388
  const zs = {}, qs = {
5367
5389
  class: /* @__PURE__ */ $(["joy-template-shape__shapes"])
5368
5390
  }, Hs = /* @__PURE__ */ mn('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), Ws = [
@@ -5371,7 +5393,7 @@ const zs = {}, qs = {
5371
5393
  function Us(e, t) {
5372
5394
  return y(), g("div", qs, Ws);
5373
5395
  }
5374
- const Pn = /* @__PURE__ */ E(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5396
+ const Pn = /* @__PURE__ */ A(zs, [["render", Us], ["__scopeId", "data-v-8b258f92"]]), Gs = { class: "joy-template__wrapper" }, Ks = {
5375
5397
  key: 0,
5376
5398
  class: "joy-template__heading"
5377
5399
  }, Ys = {
@@ -5411,7 +5433,7 @@ const Pn = /* @__PURE__ */ E(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5411
5433
  }
5412
5434
  },
5413
5435
  setup(e) {
5414
- const t = e, n = Q(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
5436
+ const t = e, n = X(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
5415
5437
  return (o, r) => (y(), g("main", {
5416
5438
  class: $(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
5417
5439
  }, [
@@ -5419,18 +5441,18 @@ const Pn = /* @__PURE__ */ E(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5419
5441
  b("div", Gs, [
5420
5442
  a.value ? (y(), g("div", Ks, [
5421
5443
  T(n)["template-back"] ? (y(), g("div", Ys, [
5422
- w(o.$slots, "template-back", {}, void 0, !0)
5444
+ k(o.$slots, "template-back", {}, void 0, !0)
5423
5445
  ])) : x("", !0),
5424
5446
  b("div", Zs, [
5425
5447
  T(n)["template-title"] ? (y(), g("div", Qs, [
5426
- w(o.$slots, "template-title", {}, void 0, !0)
5448
+ k(o.$slots, "template-title", {}, void 0, !0)
5427
5449
  ])) : x("", !0),
5428
5450
  T(n)["template-subtitle"] ? (y(), g("div", Xs, [
5429
- w(o.$slots, "template-subtitle", {}, void 0, !0)
5451
+ k(o.$slots, "template-subtitle", {}, void 0, !0)
5430
5452
  ])) : x("", !0)
5431
5453
  ]),
5432
5454
  T(n)["template-actions"] ? (y(), g("div", eu, [
5433
- w(o.$slots, "template-actions", {}, void 0, !0)
5455
+ k(o.$slots, "template-actions", {}, void 0, !0)
5434
5456
  ])) : x("", !0)
5435
5457
  ])) : x("", !0),
5436
5458
  b("div", {
@@ -5442,10 +5464,10 @@ const Pn = /* @__PURE__ */ E(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5442
5464
  ])
5443
5465
  }, [
5444
5466
  o.$slots["template-main"] ? (y(), g("div", tu, [
5445
- w(o.$slots, "template-main", {}, void 0, !0)
5467
+ k(o.$slots, "template-main", {}, void 0, !0)
5446
5468
  ])) : x("", !0),
5447
5469
  o.$slots["template-sidebar"] ? (y(), g("div", nu, [
5448
- w(o.$slots, "template-sidebar", {}, void 0, !0)
5470
+ k(o.$slots, "template-sidebar", {}, void 0, !0)
5449
5471
  ])) : x("", !0)
5450
5472
  ], 2)
5451
5473
  ]),
@@ -5454,15 +5476,15 @@ const Pn = /* @__PURE__ */ E(zs, [["render", Us], ["__scopeId", "data-v-8b258f92
5454
5476
  overlay: "",
5455
5477
  color: e.loadingColor
5456
5478
  }, {
5457
- content: D(() => [
5458
- w(o.$slots, "template-loader-content", {}, void 0, !0)
5479
+ content: M(() => [
5480
+ k(o.$slots, "template-loader-content", {}, void 0, !0)
5459
5481
  ]),
5460
5482
  _: 3
5461
5483
  }, 8, ["color"])) : x("", !0)
5462
5484
  ], 2));
5463
5485
  }
5464
5486
  });
5465
- const ou = /* @__PURE__ */ E(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5487
+ const ou = /* @__PURE__ */ A(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @__PURE__ */ L({
5466
5488
  __name: "VJoyText",
5467
5489
  props: {
5468
5490
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -5480,14 +5502,14 @@ const ou = /* @__PURE__ */ E(au, [["__scopeId", "data-v-7c83eb21"]]), lu = /* @_
5480
5502
  return (t, n) => (y(), B(oe(e.tagName), {
5481
5503
  class: $(`joy-text joy-font-${e.preset}`)
5482
5504
  }, {
5483
- default: D(() => [
5484
- w(t.$slots, "default", {}, void 0, !0)
5505
+ default: M(() => [
5506
+ k(t.$slots, "default", {}, void 0, !0)
5485
5507
  ]),
5486
5508
  _: 3
5487
5509
  }, 8, ["class"]));
5488
5510
  }
5489
5511
  });
5490
- const ru = /* @__PURE__ */ E(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["aria-disabled"], su = { class: "joy-textarea_wrapper" }, uu = ["id", "disabled", "name", "required", "minlength", "value"], cu = {
5512
+ const ru = /* @__PURE__ */ A(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["aria-disabled"], su = { class: "joy-textarea_wrapper" }, uu = ["id", "disabled", "name", "required", "minlength", "value"], cu = {
5491
5513
  key: 0,
5492
5514
  class: "joy-textarea_helpers"
5493
5515
  }, du = {
@@ -5591,9 +5613,9 @@ const ru = /* @__PURE__ */ E(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5591
5613
  "optional-label": e.optionalLabel,
5592
5614
  size: e.labelSize
5593
5615
  }, {
5594
- default: D(() => [
5595
- w(f.$slots, "default", {}, () => [
5596
- z(J(e.label), 1)
5616
+ default: M(() => [
5617
+ k(f.$slots, "default", {}, () => [
5618
+ z(F(e.label), 1)
5597
5619
  ], !0)
5598
5620
  ]),
5599
5621
  _: 3
@@ -5630,17 +5652,17 @@ const ru = /* @__PURE__ */ E(lu, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5630
5652
  color: "neutral",
5631
5653
  size: "xxsmall"
5632
5654
  })),
5633
- z(" " + J(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
5655
+ z(" " + F(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
5634
5656
  ], 2)) : x("", !0),
5635
5657
  e.maxlength ? (y(), g("p", {
5636
5658
  key: 1,
5637
5659
  class: $(["joy-textarea-count", { "joy-textarea-count-invalid": u.value }])
5638
- }, J(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5660
+ }, F(e.modelValue.length + "/" + e.maxlength), 3)) : x("", !0)
5639
5661
  ])) : x("", !0)
5640
5662
  ], 10, iu));
5641
5663
  }
5642
5664
  });
5643
- const yu = /* @__PURE__ */ E(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) => (ot("data-v-cf79d999"), e = e(), lt(), e), vu = { class: "joy-toggle__wrapper" }, pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], mu = { class: "joy-toggle__content" }, bu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), gu = { class: "joy-toggle__content-label" }, hu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
5665
+ const yu = /* @__PURE__ */ A(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) => (ot("data-v-cf79d999"), e = e(), lt(), e), vu = { class: "joy-toggle__wrapper" }, pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], mu = { class: "joy-toggle__content" }, bu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), gu = { class: "joy-toggle__content-label" }, hu = /* @__PURE__ */ Rn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
5644
5666
  /* @__PURE__ */ b("svg", {
5645
5667
  width: "18",
5646
5668
  height: "10",
@@ -5731,8 +5753,8 @@ const yu = /* @__PURE__ */ E(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5731
5753
  b("p", mu, [
5732
5754
  bu,
5733
5755
  b("span", gu, [
5734
- w(o.$slots, "default", {}, () => [
5735
- z(J(e.label), 1)
5756
+ k(o.$slots, "default", {}, () => [
5757
+ z(F(e.label), 1)
5736
5758
  ], !0)
5737
5759
  ]),
5738
5760
  hu
@@ -5741,7 +5763,7 @@ const yu = /* @__PURE__ */ E(fu, [["__scopeId", "data-v-9b0d7d06"]]), Rn = (e) =
5741
5763
  ]));
5742
5764
  }
5743
5765
  });
5744
- const wu = /* @__PURE__ */ E(_u, [["__scopeId", "data-v-cf79d999"]]), Me = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5766
+ const wu = /* @__PURE__ */ A(_u, [["__scopeId", "data-v-cf79d999"]]), De = Math.min, Ie = Math.max, tt = Math.round, be = (e) => ({
5745
5767
  x: e,
5746
5768
  y: e
5747
5769
  }), Su = {
@@ -5754,7 +5776,7 @@ const wu = /* @__PURE__ */ E(_u, [["__scopeId", "data-v-cf79d999"]]), Me = Math.
5754
5776
  end: "start"
5755
5777
  };
5756
5778
  function bt(e, t, n) {
5757
- return Ie(e, Me(t, n));
5779
+ return Ie(e, De(t, n));
5758
5780
  }
5759
5781
  function Ce(e, t) {
5760
5782
  return typeof e == "function" ? e(t) : e;
@@ -5820,7 +5842,7 @@ function Vu(e) {
5820
5842
  ...e
5821
5843
  };
5822
5844
  }
5823
- function Mn(e) {
5845
+ function Dn(e) {
5824
5846
  return typeof e != "number" ? Vu(e) : {
5825
5847
  top: e,
5826
5848
  right: e,
@@ -5902,14 +5924,14 @@ const Tu = async (e, t, n) => {
5902
5924
  } = un(d, a, u), p = a, s = {}, m = 0;
5903
5925
  for (let v = 0; v < i.length; v++) {
5904
5926
  const {
5905
- name: S,
5906
- fn: k
5927
+ name: _,
5928
+ fn: h
5907
5929
  } = i[v], {
5908
- x: A,
5909
- y: P,
5910
- data: F,
5930
+ x: E,
5931
+ y: N,
5932
+ data: P,
5911
5933
  reset: j
5912
- } = await k({
5934
+ } = await h({
5913
5935
  x: c,
5914
5936
  y: f,
5915
5937
  initialPlacement: a,
@@ -5923,11 +5945,11 @@ const Tu = async (e, t, n) => {
5923
5945
  floating: t
5924
5946
  }
5925
5947
  });
5926
- if (c = A ?? c, f = P ?? f, s = {
5948
+ if (c = E ?? c, f = N ?? f, s = {
5927
5949
  ...s,
5928
- [S]: {
5929
- ...s[S],
5930
- ...F
5950
+ [_]: {
5951
+ ...s[_],
5952
+ ...P
5931
5953
  }
5932
5954
  }, j && m <= 50) {
5933
5955
  m++, typeof j == "object" && (j.placement && (p = j.placement), j.rects && (d = j.rects === !0 ? await l.getElementRects({
@@ -5949,7 +5971,7 @@ const Tu = async (e, t, n) => {
5949
5971
  middlewareData: s
5950
5972
  };
5951
5973
  };
5952
- async function Dn(e, t) {
5974
+ async function Mn(e, t) {
5953
5975
  var n;
5954
5976
  t === void 0 && (t = {});
5955
5977
  const {
@@ -5965,31 +5987,31 @@ async function Dn(e, t) {
5965
5987
  elementContext: f = "floating",
5966
5988
  altBoundary: p = !1,
5967
5989
  padding: s = 0
5968
- } = Ce(t, e), m = Mn(s), S = i[p ? f === "floating" ? "reference" : "floating" : f], k = at(await r.getClippingRect({
5969
- element: (n = await (r.isElement == null ? void 0 : r.isElement(S))) == null || n ? S : S.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
5990
+ } = Ce(t, e), m = Dn(s), _ = i[p ? f === "floating" ? "reference" : "floating" : f], h = at(await r.getClippingRect({
5991
+ element: (n = await (r.isElement == null ? void 0 : r.isElement(_))) == null || n ? _ : _.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
5970
5992
  boundary: d,
5971
5993
  rootBoundary: c,
5972
5994
  strategy: u
5973
- })), A = f === "floating" ? {
5995
+ })), E = f === "floating" ? {
5974
5996
  ...l.floating,
5975
5997
  x: a,
5976
5998
  y: o
5977
- } : l.reference, P = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), F = await (r.isElement == null ? void 0 : r.isElement(P)) ? await (r.getScale == null ? void 0 : r.getScale(P)) || {
5999
+ } : l.reference, N = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), P = await (r.isElement == null ? void 0 : r.isElement(N)) ? await (r.getScale == null ? void 0 : r.getScale(N)) || {
5978
6000
  x: 1,
5979
6001
  y: 1
5980
6002
  } : {
5981
6003
  x: 1,
5982
6004
  y: 1
5983
6005
  }, j = at(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
5984
- rect: A,
5985
- offsetParent: P,
6006
+ rect: E,
6007
+ offsetParent: N,
5986
6008
  strategy: u
5987
- }) : A);
6009
+ }) : E);
5988
6010
  return {
5989
- top: (k.top - j.top + m.top) / F.y,
5990
- bottom: (j.bottom - k.bottom + m.bottom) / F.y,
5991
- left: (k.left - j.left + m.left) / F.x,
5992
- right: (j.right - k.right + m.right) / F.x
6011
+ top: (h.top - j.top + m.top) / P.y,
6012
+ bottom: (j.bottom - h.bottom + m.bottom) / P.y,
6013
+ left: (h.left - j.left + m.left) / P.x,
6014
+ right: (j.right - h.right + m.right) / P.x
5993
6015
  };
5994
6016
  }
5995
6017
  const Iu = (e) => ({
@@ -6010,23 +6032,23 @@ const Iu = (e) => ({
6010
6032
  } = Ce(e, t) || {};
6011
6033
  if (d == null)
6012
6034
  return {};
6013
- const f = Mn(c), p = {
6035
+ const f = Dn(c), p = {
6014
6036
  x: n,
6015
6037
  y: a
6016
- }, s = Jt(o), m = Ot(s), v = await l.getDimensions(d), S = s === "y", k = S ? "top" : "left", A = S ? "bottom" : "right", P = S ? "clientHeight" : "clientWidth", F = r.reference[m] + r.reference[s] - p[s] - r.floating[m], j = p[s] - r.reference[s], N = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6017
- let O = N ? N[P] : 0;
6018
- (!O || !await (l.isElement == null ? void 0 : l.isElement(N))) && (O = i.floating[P] || r.floating[m]);
6019
- const re = F / 2 - j / 2, ie = O / 2 - v[m] / 2 - 1, ue = Me(f[k], ie), H = Me(f[A], ie), h = ue, _ = O - v[m] - H, I = O / 2 - v[m] / 2 + re, R = bt(h, I, _), M = !u.arrow && He(o) != null && I != R && r.reference[m] / 2 - (I < h ? ue : H) - v[m] / 2 < 0, q = M ? I < h ? I - h : I - _ : 0;
6038
+ }, s = Jt(o), m = Ot(s), v = await l.getDimensions(d), _ = s === "y", h = _ ? "top" : "left", E = _ ? "bottom" : "right", N = _ ? "clientHeight" : "clientWidth", P = r.reference[m] + r.reference[s] - p[s] - r.floating[m], j = p[s] - r.reference[s], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6039
+ let J = O ? O[N] : 0;
6040
+ (!J || !await (l.isElement == null ? void 0 : l.isElement(O))) && (J = i.floating[N] || r.floating[m]);
6041
+ const re = P / 2 - j / 2, ie = J / 2 - v[m] / 2 - 1, ue = De(f[h], ie), H = De(f[E], ie), w = ue, S = J - v[m] - H, I = J / 2 - v[m] / 2 + re, R = bt(w, I, S), D = !u.arrow && He(o) != null && I != R && r.reference[m] / 2 - (I < w ? ue : H) - v[m] / 2 < 0, q = D ? I < w ? I - w : I - S : 0;
6020
6042
  return {
6021
6043
  [s]: p[s] + q,
6022
6044
  data: {
6023
6045
  [s]: R,
6024
6046
  centerOffset: I - R - q,
6025
- ...M && {
6047
+ ...D && {
6026
6048
  alignmentOffset: q
6027
6049
  }
6028
6050
  },
6029
- reset: M
6051
+ reset: D
6030
6052
  };
6031
6053
  }
6032
6054
  }), Lu = function(e) {
@@ -6049,40 +6071,40 @@ const Iu = (e) => ({
6049
6071
  fallbackStrategy: s = "bestFit",
6050
6072
  fallbackAxisSideDirection: m = "none",
6051
6073
  flipAlignment: v = !0,
6052
- ...S
6074
+ ..._
6053
6075
  } = Ce(e, t);
6054
6076
  if ((n = r.arrow) != null && n.alignmentOffset)
6055
6077
  return {};
6056
- const k = ge(o), A = ge(i) === i, P = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), F = p || (A || !v ? [nt(i)] : Cu(i));
6057
- !p && m !== "none" && F.push(...$u(i, v, m, P));
6058
- const j = [i, ...F], N = await Dn(t, S), O = [];
6078
+ const h = ge(o), E = ge(i) === i, N = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), P = p || (E || !v ? [nt(i)] : Cu(i));
6079
+ !p && m !== "none" && P.push(...$u(i, v, m, N));
6080
+ const j = [i, ...P], O = await Mn(t, _), J = [];
6059
6081
  let re = ((a = r.flip) == null ? void 0 : a.overflows) || [];
6060
- if (c && O.push(N[k]), f) {
6061
- const h = xu(o, l, P);
6062
- O.push(N[h[0]], N[h[1]]);
6082
+ if (c && J.push(O[h]), f) {
6083
+ const w = xu(o, l, N);
6084
+ J.push(O[w[0]], O[w[1]]);
6063
6085
  }
6064
6086
  if (re = [...re, {
6065
6087
  placement: o,
6066
- overflows: O
6067
- }], !O.every((h) => h <= 0)) {
6088
+ overflows: J
6089
+ }], !J.every((w) => w <= 0)) {
6068
6090
  var ie, ue;
6069
- const h = (((ie = r.flip) == null ? void 0 : ie.index) || 0) + 1, _ = j[h];
6070
- if (_)
6091
+ const w = (((ie = r.flip) == null ? void 0 : ie.index) || 0) + 1, S = j[w];
6092
+ if (S)
6071
6093
  return {
6072
6094
  data: {
6073
- index: h,
6095
+ index: w,
6074
6096
  overflows: re
6075
6097
  },
6076
6098
  reset: {
6077
- placement: _
6099
+ placement: S
6078
6100
  }
6079
6101
  };
6080
- let I = (ue = re.filter((R) => R.overflows[0] <= 0).sort((R, M) => R.overflows[1] - M.overflows[1])[0]) == null ? void 0 : ue.placement;
6102
+ let I = (ue = re.filter((R) => R.overflows[0] <= 0).sort((R, D) => R.overflows[1] - D.overflows[1])[0]) == null ? void 0 : ue.placement;
6081
6103
  if (!I)
6082
6104
  switch (s) {
6083
6105
  case "bestFit": {
6084
6106
  var H;
6085
- const R = (H = re.map((M) => [M.placement, M.overflows.filter((q) => q > 0).reduce((q, G) => q + G, 0)]).sort((M, q) => M[1] - q[1])[0]) == null ? void 0 : H[0];
6107
+ const R = (H = re.map((D) => [D.placement, D.overflows.filter((q) => q > 0).reduce((q, G) => q + G, 0)]).sort((D, q) => D[1] - q[1])[0]) == null ? void 0 : H[0];
6086
6108
  R && (I = R);
6087
6109
  break;
6088
6110
  }
@@ -6158,14 +6180,14 @@ const Bu = function(e) {
6158
6180
  mainAxis: r = !0,
6159
6181
  crossAxis: l = !1,
6160
6182
  limiter: i = {
6161
- fn: (S) => {
6183
+ fn: (_) => {
6162
6184
  let {
6163
- x: k,
6164
- y: A
6165
- } = S;
6185
+ x: h,
6186
+ y: E
6187
+ } = _;
6166
6188
  return {
6167
- x: k,
6168
- y: A
6189
+ x: h,
6190
+ y: E
6169
6191
  };
6170
6192
  }
6171
6193
  },
@@ -6173,15 +6195,15 @@ const Bu = function(e) {
6173
6195
  } = Ce(e, t), d = {
6174
6196
  x: n,
6175
6197
  y: a
6176
- }, c = await Dn(t, u), f = We(ge(o)), p = Nt(f);
6198
+ }, c = await Mn(t, u), f = We(ge(o)), p = Nt(f);
6177
6199
  let s = d[p], m = d[f];
6178
6200
  if (r) {
6179
- const S = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", A = s + c[S], P = s - c[k];
6180
- s = bt(A, s, P);
6201
+ const _ = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", E = s + c[_], N = s - c[h];
6202
+ s = bt(E, s, N);
6181
6203
  }
6182
6204
  if (l) {
6183
- const S = f === "y" ? "top" : "left", k = f === "y" ? "bottom" : "right", A = m + c[S], P = m - c[k];
6184
- m = bt(A, m, P);
6205
+ const _ = f === "y" ? "top" : "left", h = f === "y" ? "bottom" : "right", E = m + c[_], N = m - c[h];
6206
+ m = bt(E, m, N);
6185
6207
  }
6186
6208
  const v = i.fn({
6187
6209
  ...t,
@@ -6216,7 +6238,7 @@ const Bu = function(e) {
6216
6238
  y: a
6217
6239
  }, f = We(o), p = Nt(f);
6218
6240
  let s = c[p], m = c[f];
6219
- const v = Ce(i, t), S = typeof v == "number" ? {
6241
+ const v = Ce(i, t), _ = typeof v == "number" ? {
6220
6242
  mainAxis: v,
6221
6243
  crossAxis: 0
6222
6244
  } : {
@@ -6225,13 +6247,13 @@ const Bu = function(e) {
6225
6247
  ...v
6226
6248
  };
6227
6249
  if (u) {
6228
- const P = p === "y" ? "height" : "width", F = r.reference[p] - r.floating[P] + S.mainAxis, j = r.reference[p] + r.reference[P] - S.mainAxis;
6229
- s < F ? s = F : s > j && (s = j);
6250
+ const N = p === "y" ? "height" : "width", P = r.reference[p] - r.floating[N] + _.mainAxis, j = r.reference[p] + r.reference[N] - _.mainAxis;
6251
+ s < P ? s = P : s > j && (s = j);
6230
6252
  }
6231
6253
  if (d) {
6232
- var k, A;
6233
- const P = p === "y" ? "width" : "height", F = ["top", "left"].includes(ge(o)), j = r.reference[f] - r.floating[P] + (F && ((k = l.offset) == null ? void 0 : k[f]) || 0) + (F ? 0 : S.crossAxis), N = r.reference[f] + r.reference[P] + (F ? 0 : ((A = l.offset) == null ? void 0 : A[f]) || 0) - (F ? S.crossAxis : 0);
6234
- m < j ? m = j : m > N && (m = N);
6254
+ var h, E;
6255
+ const N = p === "y" ? "width" : "height", P = ["top", "left"].includes(ge(o)), j = r.reference[f] - r.floating[N] + (P && ((h = l.offset) == null ? void 0 : h[f]) || 0) + (P ? 0 : _.crossAxis), O = r.reference[f] + r.reference[N] + (P ? 0 : ((E = l.offset) == null ? void 0 : E[f]) || 0) - (P ? _.crossAxis : 0);
6256
+ m < j ? m = j : m > O && (m = O);
6235
6257
  }
6236
6258
  return {
6237
6259
  [p]: s,
@@ -6367,7 +6389,7 @@ function Un(e) {
6367
6389
  function Pu(e, t, n) {
6368
6390
  return t === void 0 && (t = !1), !n || t && n !== ae(e) ? !1 : t;
6369
6391
  }
6370
- function De(e, t, n, a) {
6392
+ function Me(e, t, n, a) {
6371
6393
  t === void 0 && (t = !1), n === void 0 && (n = !1);
6372
6394
  const o = e.getBoundingClientRect(), r = Wn(e);
6373
6395
  let l = be(1);
@@ -6378,8 +6400,8 @@ function De(e, t, n, a) {
6378
6400
  const p = ae(r), s = a && ve(a) ? ae(a) : a;
6379
6401
  let m = p.frameElement;
6380
6402
  for (; m && a && s !== p; ) {
6381
- const v = Le(m), S = m.getBoundingClientRect(), k = se(m), A = S.left + (m.clientLeft + parseFloat(k.paddingLeft)) * v.x, P = S.top + (m.clientTop + parseFloat(k.paddingTop)) * v.y;
6382
- u *= v.x, d *= v.y, c *= v.x, f *= v.y, u += A, d += P, m = ae(m).frameElement;
6403
+ const v = Le(m), _ = m.getBoundingClientRect(), h = se(m), E = _.left + (m.clientLeft + parseFloat(h.paddingLeft)) * v.x, N = _.top + (m.clientTop + parseFloat(h.paddingTop)) * v.y;
6404
+ u *= v.x, d *= v.y, c *= v.x, f *= v.y, u += E, d += N, m = ae(m).frameElement;
6383
6405
  }
6384
6406
  }
6385
6407
  return at({
@@ -6404,7 +6426,7 @@ function Ru(e) {
6404
6426
  }, i = be(1);
6405
6427
  const u = be(0);
6406
6428
  if ((o || !o && a !== "fixed") && ((he(n) !== "body" || Ue(r)) && (l = ct(n)), ye(n))) {
6407
- const d = De(n);
6429
+ const d = Me(n);
6408
6430
  i = Le(n), u.x = d.x + n.clientLeft, u.y = d.y + n.clientTop;
6409
6431
  }
6410
6432
  return {
@@ -6414,13 +6436,13 @@ function Ru(e) {
6414
6436
  y: t.y * i.y - l.scrollTop * i.y + u.y
6415
6437
  };
6416
6438
  }
6417
- function Mu(e) {
6439
+ function Du(e) {
6418
6440
  return Array.from(e.getClientRects());
6419
6441
  }
6420
6442
  function Gn(e) {
6421
- return De(we(e)).left + ct(e).scrollLeft;
6443
+ return Me(we(e)).left + ct(e).scrollLeft;
6422
6444
  }
6423
- function Du(e) {
6445
+ function Mu(e) {
6424
6446
  const t = we(e), n = ct(e), a = e.ownerDocument.body, o = Ie(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), r = Ie(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6425
6447
  let l = -n.scrollLeft + Gn(e);
6426
6448
  const i = -n.scrollTop;
@@ -6447,7 +6469,7 @@ function zu(e, t) {
6447
6469
  };
6448
6470
  }
6449
6471
  function qu(e, t) {
6450
- const n = De(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, r = ye(e) ? Le(e) : be(1), l = e.clientWidth * r.x, i = e.clientHeight * r.y, u = o * r.x, d = a * r.y;
6472
+ const n = Me(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, r = ye(e) ? Le(e) : be(1), l = e.clientWidth * r.x, i = e.clientHeight * r.y, u = o * r.x, d = a * r.y;
6451
6473
  return {
6452
6474
  width: l,
6453
6475
  height: i,
@@ -6460,7 +6482,7 @@ function dn(e, t, n) {
6460
6482
  if (t === "viewport")
6461
6483
  a = zu(e, n);
6462
6484
  else if (t === "document")
6463
- a = Du(we(e));
6485
+ a = Mu(we(e));
6464
6486
  else if (ve(t))
6465
6487
  a = qu(t, n);
6466
6488
  else {
@@ -6499,7 +6521,7 @@ function Wu(e) {
6499
6521
  } = e;
6500
6522
  const l = [...n === "clippingAncestors" ? Hu(t, this._c) : [].concat(n), a], i = l[0], u = l.reduce((d, c) => {
6501
6523
  const f = dn(t, c, o);
6502
- return d.top = Ie(f.top, d.top), d.right = Me(f.right, d.right), d.bottom = Me(f.bottom, d.bottom), d.left = Ie(f.left, d.left), d;
6524
+ return d.top = Ie(f.top, d.top), d.right = De(f.right, d.right), d.bottom = De(f.bottom, d.bottom), d.left = Ie(f.left, d.left), d;
6503
6525
  }, dn(t, i, o));
6504
6526
  return {
6505
6527
  width: u.right - u.left,
@@ -6512,7 +6534,7 @@ function Uu(e) {
6512
6534
  return Hn(e);
6513
6535
  }
6514
6536
  function Gu(e, t, n) {
6515
- const a = ye(t), o = we(t), r = n === "fixed", l = De(e, !0, r, t);
6537
+ const a = ye(t), o = we(t), r = n === "fixed", l = Me(e, !0, r, t);
6516
6538
  let i = {
6517
6539
  scrollLeft: 0,
6518
6540
  scrollTop: 0
@@ -6520,7 +6542,7 @@ function Gu(e, t, n) {
6520
6542
  const u = be(0);
6521
6543
  if (a || !a && !r)
6522
6544
  if ((he(t) !== "body" || Ue(o)) && (i = ct(t)), a) {
6523
- const d = De(t, !0, r, t);
6545
+ const d = Me(t, !0, r, t);
6524
6546
  u.x = d.x + t.clientLeft, u.y = d.y + t.clientTop;
6525
6547
  } else
6526
6548
  o && (u.x = Gn(o));
@@ -6568,7 +6590,7 @@ const Zu = {
6568
6590
  getClippingRect: Wu,
6569
6591
  getOffsetParent: Yn,
6570
6592
  getElementRects: Ku,
6571
- getClientRects: Mu,
6593
+ getClientRects: Du,
6572
6594
  getDimensions: Uu,
6573
6595
  getScale: Le,
6574
6596
  isElement: ve,
@@ -6613,28 +6635,28 @@ function yn(e, t) {
6613
6635
  function ec(e, t, n) {
6614
6636
  n === void 0 && (n = {});
6615
6637
  const a = n.whileElementsMounted, o = V(() => {
6616
- var O;
6617
- return (O = T(n.open)) != null ? O : !0;
6638
+ var J;
6639
+ return (J = T(n.open)) != null ? J : !0;
6618
6640
  }), r = V(() => T(n.middleware)), l = V(() => {
6619
- var O;
6620
- return (O = T(n.placement)) != null ? O : "bottom";
6641
+ var J;
6642
+ return (J = T(n.placement)) != null ? J : "bottom";
6621
6643
  }), i = V(() => {
6622
- var O;
6623
- return (O = T(n.strategy)) != null ? O : "absolute";
6644
+ var J;
6645
+ return (J = T(n.strategy)) != null ? J : "absolute";
6624
6646
  }), u = V(() => {
6625
- var O;
6626
- return (O = T(n.transform)) != null ? O : !0;
6627
- }), d = V(() => _t(e.value)), c = V(() => _t(t.value)), f = C(0), p = C(0), s = C(i.value), m = C(l.value), v = la({}), S = C(!1), k = V(() => {
6628
- const O = {
6647
+ var J;
6648
+ return (J = T(n.transform)) != null ? J : !0;
6649
+ }), d = V(() => _t(e.value)), c = V(() => _t(t.value)), f = C(0), p = C(0), s = C(i.value), m = C(l.value), v = la({}), _ = C(!1), h = V(() => {
6650
+ const J = {
6629
6651
  position: s.value,
6630
6652
  left: "0",
6631
6653
  top: "0"
6632
6654
  };
6633
6655
  if (!c.value)
6634
- return O;
6656
+ return J;
6635
6657
  const re = yn(c.value, f.value), ie = yn(c.value, p.value);
6636
6658
  return u.value ? {
6637
- ...O,
6659
+ ...J,
6638
6660
  transform: "translate(" + re + "px, " + ie + "px)",
6639
6661
  ...Zn(c.value) >= 1.5 && {
6640
6662
  willChange: "transform"
@@ -6645,47 +6667,47 @@ function ec(e, t, n) {
6645
6667
  top: ie + "px"
6646
6668
  };
6647
6669
  });
6648
- let A;
6649
- function P() {
6670
+ let E;
6671
+ function N() {
6650
6672
  d.value == null || c.value == null || Qu(d.value, c.value, {
6651
6673
  middleware: r.value,
6652
6674
  placement: l.value,
6653
6675
  strategy: i.value
6654
- }).then((O) => {
6655
- f.value = O.x, p.value = O.y, s.value = O.strategy, m.value = O.placement, v.value = O.middlewareData, S.value = !0;
6676
+ }).then((J) => {
6677
+ f.value = J.x, p.value = J.y, s.value = J.strategy, m.value = J.placement, v.value = J.middlewareData, _.value = !0;
6656
6678
  });
6657
6679
  }
6658
- function F() {
6659
- typeof A == "function" && (A(), A = void 0);
6680
+ function P() {
6681
+ typeof E == "function" && (E(), E = void 0);
6660
6682
  }
6661
6683
  function j() {
6662
- if (F(), a === void 0) {
6663
- P();
6684
+ if (P(), a === void 0) {
6685
+ N();
6664
6686
  return;
6665
6687
  }
6666
6688
  if (d.value != null && c.value != null) {
6667
- A = a(d.value, c.value, P);
6689
+ E = a(d.value, c.value, N);
6668
6690
  return;
6669
6691
  }
6670
6692
  }
6671
- function N() {
6672
- o.value || (S.value = !1);
6693
+ function O() {
6694
+ o.value || (_.value = !1);
6673
6695
  }
6674
- return ee([r, l, i], P, {
6696
+ return Q([r, l, i], N, {
6675
6697
  flush: "sync"
6676
- }), ee([d, c], j, {
6698
+ }), Q([d, c], j, {
6677
6699
  flush: "sync"
6678
- }), ee(o, N, {
6700
+ }), Q(o, O, {
6679
6701
  flush: "sync"
6680
- }), kt() && xt(F), {
6702
+ }), kt() && xt(P), {
6681
6703
  x: $e(f),
6682
6704
  y: $e(p),
6683
6705
  strategy: $e(s),
6684
6706
  placement: $e(m),
6685
6707
  middlewareData: $e(v),
6686
- isPositioned: $e(S),
6687
- floatingStyles: k,
6688
- update: P
6708
+ isPositioned: $e(_),
6709
+ floatingStyles: h,
6710
+ update: N
6689
6711
  };
6690
6712
  }
6691
6713
  const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
@@ -6741,7 +6763,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6741
6763
  Xu({ element: l, padding: 0 })
6742
6764
  ]
6743
6765
  })
6744
- ), u = Q(), d = V(() => u["tooltip-content"] || n.text);
6766
+ ), u = X(), d = V(() => u["tooltip-content"] || n.text);
6745
6767
  function c(v) {
6746
6768
  v.preventDefault(), v.stopPropagation(), !a.value && n.event !== "click" && s();
6747
6769
  }
@@ -6752,24 +6774,24 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6752
6774
  !a.value && n.event === "click" && (v.preventDefault(), v.stopPropagation(), s());
6753
6775
  }
6754
6776
  function s(v = !0) {
6755
- var S;
6756
- (S = i.value) == null || S.update(), setTimeout(() => {
6777
+ var _;
6778
+ (_ = i.value) == null || _.update(), setTimeout(() => {
6757
6779
  a.value = v;
6758
6780
  }, n.delay);
6759
6781
  }
6760
6782
  const m = V(() => {
6761
- const { middlewareData: v, placement: S } = i.value, k = v.arrow, A = {
6783
+ const { middlewareData: v, placement: _ } = i.value, h = v.arrow, E = {
6762
6784
  top: "bottom",
6763
6785
  right: "left",
6764
6786
  bottom: "top",
6765
6787
  left: "right"
6766
- }[S.split("-")[0]];
6788
+ }[_.split("-")[0]];
6767
6789
  return {
6768
- left: (k == null ? void 0 : k.x) && `${k == null ? void 0 : k.x}px`,
6769
- top: (k == null ? void 0 : k.y) && `${k == null ? void 0 : k.y}px`,
6790
+ left: (h == null ? void 0 : h.x) && `${h == null ? void 0 : h.x}px`,
6791
+ top: (h == null ? void 0 : h.y) && `${h == null ? void 0 : h.y}px`,
6770
6792
  right: "",
6771
6793
  bottom: "",
6772
- [A]: "-4px"
6794
+ [E]: "-4px"
6773
6795
  };
6774
6796
  });
6775
6797
  return le(() => {
@@ -6779,13 +6801,13 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6779
6801
  }), t({
6780
6802
  tooltipVisible: a,
6781
6803
  tooltip: r
6782
- }), (v, S) => (y(), B(T(Lt), {
6804
+ }), (v, _) => (y(), B(T(Lt), {
6783
6805
  ref: "tooltipClickOutside",
6784
6806
  class: "joy-tooltip__click-outside",
6785
- onTrigger: S[1] || (S[1] = (k) => s(!1))
6807
+ onTrigger: _[1] || (_[1] = (h) => s(!1))
6786
6808
  }, {
6787
- default: D(() => {
6788
- var k;
6809
+ default: M(() => {
6810
+ var h;
6789
6811
  return [
6790
6812
  b("div", {
6791
6813
  ref_key: "tooltipWrapper",
@@ -6794,9 +6816,9 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6794
6816
  onClick: p,
6795
6817
  onMouseenter: c,
6796
6818
  onMouseleave: f,
6797
- onKeydown: S[0] || (S[0] = Ct((A) => s(!1), ["tab"]))
6819
+ onKeydown: _[0] || (_[0] = Ct((E) => s(!1), ["tab"]))
6798
6820
  }, [
6799
- w(v.$slots, "default", {}, void 0, !0),
6821
+ k(v.$slots, "default", {}, void 0, !0),
6800
6822
  (y(), B(rt, { to: "body" }, [
6801
6823
  a.value && d.value ? (y(), g("div", {
6802
6824
  key: 0,
@@ -6810,11 +6832,11 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6810
6832
  "joy-tooltip__content--hiding": !a.value
6811
6833
  }
6812
6834
  ]),
6813
- style: ce({ ...(k = i.value) == null ? void 0 : k.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6835
+ style: ce({ ...(h = i.value) == null ? void 0 : h.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
6814
6836
  }, [
6815
6837
  b("div", tc, [
6816
- w(v.$slots, "tooltip-content", {}, () => [
6817
- z(J(e.text), 1)
6838
+ k(v.$slots, "tooltip-content", {}, () => [
6839
+ z(F(e.text), 1)
6818
6840
  ], !0)
6819
6841
  ]),
6820
6842
  b("div", {
@@ -6832,7 +6854,7 @@ const tc = { class: "joy-tooltip__content__inner" }, nc = /* @__PURE__ */ L({
6832
6854
  }, 512));
6833
6855
  }
6834
6856
  });
6835
- const ac = /* @__PURE__ */ E(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { class: "joy-user-card__picture" }, lc = { class: "joy-user-card__informations" }, rc = { class: "joy-user-card__title" }, ic = { class: "joy-user-card__subtitle" }, sc = /* @__PURE__ */ L({
6857
+ const ac = /* @__PURE__ */ A(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { class: "joy-user-card__picture" }, lc = { class: "joy-user-card__informations" }, rc = { class: "joy-user-card__title" }, ic = { class: "joy-user-card__subtitle" }, sc = /* @__PURE__ */ L({
6836
6858
  __name: "VJoyUserCard",
6837
6859
  props: {
6838
6860
  /**
@@ -6863,9 +6885,9 @@ const ac = /* @__PURE__ */ E(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6863
6885
  href: e.link,
6864
6886
  title: e.fullName
6865
6887
  }, t.$attrs), {
6866
- default: D(() => [
6888
+ default: M(() => [
6867
6889
  b("div", oc, [
6868
- w(t.$slots, "user-card-avatar", {}, () => [
6890
+ k(t.$slots, "user-card-avatar", {}, () => [
6869
6891
  U(T(bn), {
6870
6892
  "photo-url": e.photoUrl,
6871
6893
  "full-name": e.fullName
@@ -6874,23 +6896,23 @@ const ac = /* @__PURE__ */ E(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6874
6896
  ]),
6875
6897
  b("div", lc, [
6876
6898
  b("p", rc, [
6877
- w(t.$slots, "user-card-title", {}, () => [
6878
- z(J(e.fullName), 1)
6899
+ k(t.$slots, "user-card-title", {}, () => [
6900
+ z(F(e.fullName), 1)
6879
6901
  ], !0)
6880
6902
  ]),
6881
6903
  b("p", ic, [
6882
- w(t.$slots, "user-card-subtitle", {}, () => [
6883
- z(J(e.subTitle), 1)
6904
+ k(t.$slots, "user-card-subtitle", {}, () => [
6905
+ z(F(e.subTitle), 1)
6884
6906
  ], !0)
6885
6907
  ]),
6886
- w(t.$slots, "user-card-rating-stars", {}, () => [
6908
+ k(t.$slots, "user-card-rating-stars", {}, () => [
6887
6909
  e.ratingValue ? (y(), B(T(An), {
6888
6910
  key: 0,
6889
6911
  "rating-value": e.ratingValue
6890
6912
  }, null, 8, ["rating-value"])) : x("", !0)
6891
6913
  ], !0),
6892
6914
  b("div", null, [
6893
- w(t.$slots, "default", {}, void 0, !0)
6915
+ k(t.$slots, "default", {}, void 0, !0)
6894
6916
  ])
6895
6917
  ])
6896
6918
  ]),
@@ -6898,7 +6920,7 @@ const ac = /* @__PURE__ */ E(nc, [["__scopeId", "data-v-9fdad75d"]]), oc = { cla
6898
6920
  }, 16, ["href", "title"]));
6899
6921
  }
6900
6922
  });
6901
- const uc = /* @__PURE__ */ E(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6923
+ const uc = /* @__PURE__ */ A(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @__PURE__ */ L({
6902
6924
  __name: "VJoyWrapper",
6903
6925
  props: {
6904
6926
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -6955,11 +6977,11 @@ const uc = /* @__PURE__ */ E(sc, [["__scopeId", "data-v-2a8e1076"]]), cc = /* @_
6955
6977
  { "joy-wrapper--has-margin": !e.noMargin }
6956
6978
  ])
6957
6979
  }, [
6958
- w(n.$slots, "default", {}, void 0, !0)
6980
+ k(n.$slots, "default", {}, void 0, !0)
6959
6981
  ], 2));
6960
6982
  }
6961
6983
  });
6962
- const Rt = /* @__PURE__ */ E(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6984
+ const Rt = /* @__PURE__ */ A(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6963
6985
  __proto__: null,
6964
6986
  VJoyAvailability: ca,
6965
6987
  VJoyAvatar: bn,
@@ -6974,7 +6996,7 @@ const Rt = /* @__PURE__ */ E(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
6974
6996
  VJoyCollapseItem: Sn,
6975
6997
  VJoyCompanyAvatar: Ko,
6976
6998
  VJoyCounter: ll,
6977
- VJoyDialog: Dl,
6999
+ VJoyDialog: Ml,
6978
7000
  VJoyDialogTrigger: zl,
6979
7001
  VJoyDividerCta: Kl,
6980
7002
  VJoyDrawer: ar,
@@ -7016,7 +7038,7 @@ const Rt = /* @__PURE__ */ E(cc, [["__scopeId", "data-v-68d89412"]]), dc = /* @_
7016
7038
  VJoyTab: Ls,
7017
7039
  VJoyTabs: Fs,
7018
7040
  VJoyTag: Fn,
7019
- VJoyTagsList: Ds,
7041
+ VJoyTagsList: Ms,
7020
7042
  VJoyTemplate: ou,
7021
7043
  VJoyTemplateShape: Pn,
7022
7044
  VJoyText: ru,
@@ -7109,7 +7131,7 @@ export {
7109
7131
  Sn as VJoyCollapseItem,
7110
7132
  Ko as VJoyCompanyAvatar,
7111
7133
  ll as VJoyCounter,
7112
- Dl as VJoyDialog,
7134
+ Ml as VJoyDialog,
7113
7135
  zl as VJoyDialogTrigger,
7114
7136
  Kl as VJoyDividerCta,
7115
7137
  ar as VJoyDrawer,
@@ -7151,7 +7173,7 @@ export {
7151
7173
  Ls as VJoyTab,
7152
7174
  Fs as VJoyTabs,
7153
7175
  Fn as VJoyTag,
7154
- Ds as VJoyTagsList,
7176
+ Ms as VJoyTagsList,
7155
7177
  ou as VJoyTemplate,
7156
7178
  Pn as VJoyTemplateShape,
7157
7179
  ru as VJoyText,