@maltjoy/core-vue 5.11.0 → 5.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, computed as C, openBlock as c, createElementBlock as v, normalizeClass as L, createElementVNode as h, ref as _, onMounted as te, onUnmounted as zt, createVNode as N, toDisplayString as J, createCommentVNode as j, createApp as go, createTextVNode as R, Fragment as H, inject as be, unref as D, createBlock as V, resolveDynamicComponent as Z, mergeProps as W, withCtx as z, renderSlot as w, provide as Me, renderList as U, normalizeStyle as ee, useAttrs as we, useId as Oe, resolveDirective as ut, withDirectives as Ke, getCurrentScope as Jt, onScopeDispose as Pt, toRef as bo, readonly as wo, customRef as jo, shallowRef as Mt, watch as G, nextTick as Je, getCurrentInstance as ko, h as $o, Teleport as Be, useSlots as Y, withKeys as Fe, onBeforeUnmount as Ee, Transition as ct, createSlots as dt, normalizeProps as _o, guardReactiveProps as So, mergeModels as Co, useModel as xo, createStaticVNode as Ot, shallowReadonly as Ve, onBeforeMount as Vo, vShow as To, render as jt, withModifiers as Lo } from "vue";
1
+ import { defineComponent as B, computed as C, openBlock as c, createElementBlock as v, normalizeClass as L, createElementVNode as h, ref as S, onMounted as te, onUnmounted as Et, createVNode as N, toDisplayString as J, createCommentVNode as j, createApp as go, createTextVNode as R, Fragment as H, inject as de, unref as D, createBlock as V, resolveDynamicComponent as Z, mergeProps as W, withCtx as z, renderSlot as w, provide as Ae, renderList as U, normalizeStyle as ee, useAttrs as we, useId as Oe, resolveDirective as ut, withDirectives as Ke, getCurrentScope as zt, onScopeDispose as Jt, toRef as bo, readonly as wo, customRef as jo, shallowRef as Pt, watch as G, nextTick as Pe, getCurrentInstance as ko, h as $o, Teleport as Ee, useSlots as Y, withKeys as Fe, onBeforeUnmount as ze, Transition as ct, createSlots as dt, normalizeProps as _o, guardReactiveProps as So, mergeModels as Co, useModel as xo, createStaticVNode as Mt, shallowReadonly as Ve, onBeforeMount as Vo, vShow as To, render as jt, withModifiers as Lo } from "vue";
2
2
  function kt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -12,20 +12,20 @@ function kt(e) {
12
12
  const r = Math.sqrt(Math.pow(n.width, 2) + Math.pow(n.height, 2)) * 2;
13
13
  a.style.width = a.style.height = `${r}px`, a.style.left = `${e.clientX - n.left}px`, a.style.top = `${e.clientY - n.top}px`;
14
14
  }
15
- const Ft = {
15
+ const Ot = {
16
16
  mounted: (e) => {
17
17
  e.addEventListener("click", kt);
18
18
  },
19
19
  beforeUnmount: (e) => {
20
20
  e.removeEventListener("click", kt);
21
21
  }
22
- }, Io = /\d/, Ao = ["-", "_", "/", "."];
23
- function Bo(e = "") {
22
+ }, Io = /\d/, Bo = ["-", "_", "/", "."];
23
+ function Ao(e = "") {
24
24
  if (!Io.test(e))
25
25
  return e !== e.toLowerCase();
26
26
  }
27
27
  function Eo(e, t) {
28
- const n = Ao, l = [];
28
+ const n = Bo, l = [];
29
29
  if (!e || typeof e != "string")
30
30
  return l;
31
31
  let o = "", i, a;
@@ -35,7 +35,7 @@ function Eo(e, t) {
35
35
  l.push(o), o = "", i = void 0;
36
36
  continue;
37
37
  }
38
- const u = Bo(r);
38
+ const u = Ao(r);
39
39
  if (a === !1) {
40
40
  if (i === !1 && u === !0) {
41
41
  l.push(o), o = r, i = u;
@@ -70,7 +70,7 @@ const zo = {
70
70
  ) : {};
71
71
  }
72
72
  };
73
- function Dt(e) {
73
+ function Ft(e) {
74
74
  let t;
75
75
  switch (e) {
76
76
  case "error":
@@ -97,10 +97,10 @@ function Jo(e) {
97
97
  const Ze = function(e = 10) {
98
98
  return Math.random().toString(36).substring(2, e + 2);
99
99
  };
100
- function me(e) {
100
+ function pe(e) {
101
101
  e ? document.body.style.overflow = "hidden" : document.body.style.removeProperty("overflow");
102
102
  }
103
- const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ A({
103
+ const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ B({
104
104
  __name: "VJoyIcon",
105
105
  props: {
106
106
  ariaLabel: {
@@ -151,7 +151,7 @@ const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ A({
151
151
  }), Mo = { class: "joy-snackbar__img joy-core-radius-6" }, Oo = { class: "joy-snackbar__content" }, Fo = {
152
152
  key: 0,
153
153
  class: "joy-mb-1"
154
- }, Do = ["innerHTML"], Ro = /* @__PURE__ */ A({
154
+ }, Do = ["innerHTML"], Ro = /* @__PURE__ */ B({
155
155
  __name: "VJoySnackbar",
156
156
  props: {
157
157
  level: {
@@ -199,9 +199,9 @@ const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ A({
199
199
  }
200
200
  },
201
201
  setup(e, { expose: t }) {
202
- const n = e, l = _(!0);
202
+ const n = e, l = S(!0);
203
203
  let o, i;
204
- const a = "joy-snackbar-" + Ze(), r = C(() => Dt(n.level));
204
+ const a = "joy-snackbar-" + Ze(), r = C(() => Ft(n.level));
205
205
  function s() {
206
206
  var g;
207
207
  (g = n.bus) == null || g.emit("snackbar:action-click");
@@ -232,7 +232,7 @@ const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ A({
232
232
  const m = {
233
233
  destroySnackbarAfterTimeout: y
234
234
  };
235
- return zt(() => {
235
+ return Et(() => {
236
236
  u();
237
237
  }), t({
238
238
  isOpen: l,
@@ -277,12 +277,12 @@ const Po = ["role", "tabindex", "aria-label", "title"], q = /* @__PURE__ */ A({
277
277
  ], 2)
278
278
  ], 2));
279
279
  }
280
- }), B = (e, t) => {
280
+ }), A = (e, t) => {
281
281
  const n = e.__vccOpts || e;
282
282
  for (const [l, o] of t)
283
283
  n[l] = o;
284
284
  return n;
285
- }, No = /* @__PURE__ */ B(Ro, [["__scopeId", "data-v-544f38e7"]]);
285
+ }, No = /* @__PURE__ */ A(Ro, [["__scopeId", "data-v-544f38e7"]]);
286
286
  function qo(e) {
287
287
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
288
288
  var l = e.get(t);
@@ -302,17 +302,17 @@ function qo(e) {
302
302
  function Ho() {
303
303
  return qo();
304
304
  }
305
- const Rt = "joy-snackbar__container", Wo = "joy-snackbar__shell--";
306
- let He = 0, Nt = [];
305
+ const Dt = "joy-snackbar__container", Wo = "joy-snackbar__shell--";
306
+ let He = 0, Rt = [];
307
307
  const Uo = {
308
308
  install: (e) => {
309
- typeof window < "u" && qt(), e.directive("joy-ripple", Ft);
309
+ typeof window < "u" && Nt(), e.directive("joy-ripple", Ot);
310
310
  }
311
311
  };
312
- function Fs() {
313
- He = 0, Nt = [];
312
+ function Ms() {
313
+ He = 0, Rt = [];
314
314
  }
315
- function qt(e = { appendTo: "body", defaultMountSelector: Rt }) {
315
+ function Nt(e = { appendTo: "body", defaultMountSelector: Dt }) {
316
316
  var l;
317
317
  const t = document.createElement("div");
318
318
  t.id = e.defaultMountSelector;
@@ -330,7 +330,7 @@ function qt(e = { appendTo: "body", defaultMountSelector: Rt }) {
330
330
  }
331
331
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (l = document.body.querySelector(e.appendTo)) == null || l.appendChild(t));
332
332
  }
333
- function Ds(e) {
333
+ function Os(e) {
334
334
  var i, a;
335
335
  He++;
336
336
  let t, n;
@@ -343,7 +343,7 @@ function Ds(e) {
343
343
  })
344
344
  );
345
345
  const o = document.createElement("div");
346
- return o.classList.add("joy-snackbar__shell"), n = `${Wo}${He}`, o.id = n, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(o) : (a = document.getElementById(Rt)) == null || a.appendChild(o), t.use(Uo).mount("#" + n), Nt.push(t), l.on("snackbar:hide", () => {
346
+ return o.classList.add("joy-snackbar__shell"), n = `${Wo}${He}`, o.id = n, e.snackbarHostId ? (i = document.getElementById(e.snackbarHostId)) == null || i.appendChild(o) : (a = document.getElementById(Dt)) == null || a.appendChild(o), t.use(Uo).mount("#" + n), Rt.push(t), l.on("snackbar:hide", () => {
347
347
  var r;
348
348
  t.unmount(), (r = document.getElementById(n)) == null || r.remove();
349
349
  }), {
@@ -351,7 +351,7 @@ function Ds(e) {
351
351
  snackbarApp: t
352
352
  };
353
353
  }
354
- const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label joy-font-primary-350" }, Ko = /* @__PURE__ */ A({
354
+ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label joy-font-primary-350" }, Ko = /* @__PURE__ */ B({
355
355
  __name: "VJoyAdminBanner",
356
356
  props: {
357
357
  label: { default: "Admin view" }
@@ -364,7 +364,7 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
364
364
  ])
365
365
  ]));
366
366
  }
367
- }), Rs = /* @__PURE__ */ B(Ko, [["__scopeId", "data-v-114794fd"]]), Zo = ["title"], Xo = /* @__PURE__ */ A({
367
+ }), Fs = /* @__PURE__ */ A(Ko, [["__scopeId", "data-v-114794fd"]]), Zo = ["title"], Xo = /* @__PURE__ */ B({
368
368
  __name: "VJoyAvailability",
369
369
  props: {
370
370
  label: {},
@@ -389,10 +389,10 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
389
389
  ], 64)) : j("", !0)
390
390
  ], 10, Zo));
391
391
  }
392
- }), Ns = /* @__PURE__ */ B(Xo, [["__scopeId", "data-v-b3bb9092"]]), Qo = ["src", "title", "alt", "loading"], en = {
392
+ }), Ds = /* @__PURE__ */ A(Xo, [["__scopeId", "data-v-b3bb9092"]]), Qo = ["src", "title", "alt", "loading"], en = {
393
393
  key: 0,
394
394
  class: "joy-avatar__strategy"
395
- }, tn = ["height"], on = /* @__PURE__ */ A({
395
+ }, tn = ["height"], on = /* @__PURE__ */ B({
396
396
  __name: "VJoyAvatar",
397
397
  props: {
398
398
  size: { default: "medium" },
@@ -408,7 +408,7 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
408
408
  },
409
409
  emits: ["click"],
410
410
  setup(e, { expose: t, emit: n }) {
411
- const l = n, o = e, i = be("VJoyAvatarsList", { compress: !1 }), a = C(() => o.size === "large" || o.size === "xlarge" ? "medium" : o.size === "medium" ? "small" : o.size === "small" ? "xsmall" : "xxsmall"), r = C(() => o.link ? {
411
+ const l = n, o = e, i = de("VJoyAvatarsList", { compress: !1 }), a = C(() => o.size === "large" || o.size === "xlarge" ? "medium" : o.size === "medium" ? "small" : o.size === "small" ? "xsmall" : "xxsmall"), r = C(() => o.link ? {
412
412
  type: "button"
413
413
  } : null), s = C(() => ({
414
414
  "joy-avatar": !0,
@@ -487,7 +487,7 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
487
487
  ])) : j("", !0)
488
488
  ], 2));
489
489
  }
490
- }), nn = /* @__PURE__ */ B(on, [["__scopeId", "data-v-11bcdf50"]]), ln = /* @__PURE__ */ A({
490
+ }), nn = /* @__PURE__ */ A(on, [["__scopeId", "data-v-11bcdf50"]]), ln = /* @__PURE__ */ B({
491
491
  __name: "VJoyAvatarsList",
492
492
  props: {
493
493
  /** Renders a compact list of avatars */
@@ -497,31 +497,28 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
497
497
  }
498
498
  },
499
499
  setup(e) {
500
- return Me("VJoyAvatarsList", { compress: e.compress }), (n, l) => (c(), v("div", {
500
+ return Ae("VJoyAvatarsList", { compress: e.compress }), (n, l) => (c(), v("div", {
501
501
  ref: "avatarsList",
502
502
  class: L(["joy-avatars-list", { "joy-avatars-list--compressed": e.compress }])
503
503
  }, [
504
504
  w(n.$slots, "default", {}, void 0, !0)
505
505
  ], 2));
506
506
  }
507
- }), qs = /* @__PURE__ */ B(ln, [["__scopeId", "data-v-66e67dbb"]]), an = { key: 0 }, rn = /* @__PURE__ */ A({
507
+ }), Rs = /* @__PURE__ */ A(ln, [["__scopeId", "data-v-66e67dbb"]]), an = /* @__PURE__ */ B({
508
508
  __name: "VJoyDot",
509
509
  props: {
510
- number: Number,
511
- variant: {
512
- type: String,
513
- default: "info"
514
- }
510
+ number: { default: void 0 },
511
+ variant: { default: "info" }
515
512
  },
516
513
  setup(e) {
517
- const t = e, n = C(() => typeof t.number == "number");
514
+ const t = e, n = C(() => typeof t.number < "u");
518
515
  return (l, o) => (c(), v("div", {
519
516
  class: L(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": n.value }])
520
517
  }, [
521
- n.value ? (c(), v("span", an, J(e.number && e.number > 99 ? "99+" : e.number), 1)) : j("", !0)
518
+ h("span", null, J(e.number), 1)
522
519
  ], 2));
523
520
  }
524
- }), _t = /* @__PURE__ */ B(rn, [["__scopeId", "data-v-eee85230"]]), sn = /* @__PURE__ */ A({
521
+ }), qt = /* @__PURE__ */ A(an, [["__scopeId", "data-v-056a3587"]]), rn = /* @__PURE__ */ B({
525
522
  __name: "VJoyBadge",
526
523
  props: {
527
524
  /**
@@ -546,57 +543,50 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
546
543
  variant: {
547
544
  type: String,
548
545
  default: "info"
549
- },
550
- number: Number
546
+ }
551
547
  },
552
548
  setup(e) {
553
- const t = e, n = C(() => typeof t.number == "number");
554
- return (l, o) => n.value ? (c(), V(_t, {
555
- key: 0,
556
- variant: e.variant,
557
- number: e.number
558
- }, null, 8, ["variant", "number"])) : (c(), v("span", {
559
- key: 1,
549
+ return (t, n) => (c(), v("span", {
560
550
  class: L(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
561
551
  role: "status"
562
552
  }, [
563
- e.bulletpoint ? (c(), V(_t, {
553
+ e.bulletpoint ? (c(), V(qt, {
564
554
  key: 0,
565
555
  class: "joy-badge_dot",
566
556
  variant: e.variant
567
557
  }, null, 8, ["variant"])) : j("", !0),
568
- w(l.$slots, "default", {}, () => [
558
+ w(t.$slots, "default", {}, () => [
569
559
  R(J(e.label), 1)
570
560
  ], !0)
571
561
  ], 2));
572
562
  }
573
- }), un = /* @__PURE__ */ B(sn, [["__scopeId", "data-v-0036108b"]]);
563
+ }), Ns = /* @__PURE__ */ A(rn, [["__scopeId", "data-v-f3f82e51"]]);
574
564
  var X = /* @__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))(X || {}), We = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(We || {});
575
- const cn = { class: "joy-badge-level" }, dn = {
565
+ const sn = { class: "joy-badge-level" }, un = {
576
566
  key: 1,
577
567
  class: "joy-badge-level__highpotential",
578
568
  viewBox: "0 0 15 17",
579
569
  fill: "none",
580
570
  xmlns: "http://www.w3.org/2000/svg"
581
- }, fn = {
571
+ }, cn = {
582
572
  key: 2,
583
573
  class: "joy-badge-level__high-potential-auto",
584
574
  xmlns: "http://www.w3.org/2000/svg",
585
575
  viewBox: "0 0 64 64",
586
576
  "enable-background": "new 0 0 64 64"
587
- }, yn = {
577
+ }, dn = {
588
578
  key: 3,
589
579
  class: "joy-badge-level__maltlinker",
590
580
  viewBox: "0 0 23 11",
591
581
  fill: "none",
592
582
  xmlns: "http://www.w3.org/2000/svg"
593
- }, mn = {
583
+ }, fn = {
594
584
  key: 4,
595
585
  class: "joy-badge-level__highpotential-program",
596
586
  viewBox: "0 0 15 17",
597
587
  fill: "none",
598
588
  xmlns: "http://www.w3.org/2000/svg"
599
- }, pn = /* @__PURE__ */ A({
589
+ }, yn = /* @__PURE__ */ B({
600
590
  __name: "VJoyBadgeLevel",
601
591
  props: {
602
592
  /** type: `TJoyBadges` */
@@ -635,7 +625,7 @@ const cn = { class: "joy-badge-level" }, dn = {
635
625
  return "Supermalter";
636
626
  }
637
627
  });
638
- return (l, o) => (c(), v("span", cn, [
628
+ return (l, o) => (c(), v("span", sn, [
639
629
  e.type === D(X).SUPER_MALTER ? (c(!0), v(H, { key: 0 }, U(e.superMalterLevel, (i, a) => (c(), v("svg", {
640
630
  key: a,
641
631
  class: "joy-badge-level__supermalter",
@@ -656,13 +646,13 @@ const cn = { class: "joy-badge-level" }, dn = {
656
646
  d: "M11.4289 5.68249c-.0059-1.52434-.6069-2.9554-1.69067-4.02851C8.95862.882797 7.99681.362073 6.9506.132677 6.95037.132599 6.95021.132599 6.94998.132521c-.04337-.009516-.08681-.018408-.13041-.02691-.0057-.001092-.01147-.002184-.01724-.003276-.0383-.0073317-.07675-.0142735-.11529-.0208255-.01068-.001794-.02144-.00351-.03213-.005304-.03385-.0055379-.06778-.0108418-.10179-.0158338-.01505-.002184-.03011-.0042121-.04516-.0063181-.03011-.0041339-.06022-.008112-.0904-.0117779-.01857-.002262-.03721-.0042901-.05577-.006396C6.33472.0328377 6.30766.029952 6.28051.0273 6.25914.025194 6.23769.0233999 6.21624.0215279 6.19144.0194219 6.16671.017316 6.14183.015522 6.11851.013806 6.09511.0123239 6.07171.0109199 6.04831.00951588 6.02483.00811199 6.00135.006942 5.9771.00577201 5.95276.00483616 5.92842.00397816 5.90541.00312017 5.8824.00234019 5.85931.00179419c-.02433-.00062399-.04874-.0009362-.07316-.0012482C5.76267.000234 5.73912 0 5.71564 0c-.02355 0-.04703.000234-.07051.000546-.02442.000312-.04883.0006242-.07316.00124819-.02309.000546-.0461.00140398-.06911.00218397-.02434.000858-.04859.00179385-.07293.00296384-.02348.00116999-.04696.00257388-.07036.0039779-.0234.001404-.0468.0028861-.07012.0046021-.0248.001794-.0496.0038999-.07441.0060059-.02145.001872-.0429.0036661-.06427.0057721-.02714.002652-.05421.0055377-.08135.0085797-.01857.0021059-.03721.004134-.05577.006396-.03019.0036659-.06037.007644-.09048.0117779-.01506.002106-.03011.0041341-.04516.0063181-.03401.004992-.06794.0102959-.10179.0158338-.01077.001794-.02145.00351-.03214.005304-.03853.006552-.07699.0134938-.11528.0208255-.00578.001092-.01155.002184-.01724.003276-.0436.008502-.08705.017394-.13041.02691-.00024.000078-.00047.000078-.00071.000156C3.43424.361995 2.4725.882719 1.6929 1.65398.609098 2.72702.00811193 4.15815.00218397 5.68249L0 6.15064l.00171623.39226L5.71556 12.2962l5.71384-5.7533.0017-.39202-.0022-.46839Z"
657
647
  }, null, -1)
658
648
  ])]))), 128)) : j("", !0),
659
- e.type === D(X).HIGH_POTENTIAL ? (c(), v("svg", dn, [...o[1] || (o[1] = [
649
+ e.type === D(X).HIGH_POTENTIAL ? (c(), v("svg", un, [...o[1] || (o[1] = [
660
650
  h("path", {
661
651
  d: "M0.0635011 7.89462C0.0715011 5.91062 0.853501 4.04762 2.2645 2.65062C3.2795 1.64662 4.5315 0.96862 5.8925 0.67062H5.8935C5.9495 0.65862 6.0065 0.64662 6.0635 0.63562C6.0705 0.63362 6.0785 0.63262 6.0855 0.63062C6.1355 0.62062 6.1855 0.61162 6.2355 0.60362C6.2495 0.60162 6.2635 0.59862 6.2775 0.59662C6.3215 0.58962 6.3655 0.58262 6.4105 0.57662C6.4305 0.57362 6.4495 0.57062 6.4695 0.56862C6.5075 0.56262 6.5475 0.55762 6.5865 0.55262C6.6105 0.54962 6.6345 0.54662 6.6595 0.54462C6.6945 0.54062 6.7295 0.53662 6.7655 0.53362C6.7925 0.53062 6.8205 0.52762 6.8485 0.52562C6.8805 0.52262 6.9135 0.52062 6.9455 0.51762C6.9755 0.51562 7.0065 0.51362 7.0365 0.51162C7.0665 0.50962 7.0975 0.50762 7.1285 0.50662C7.1605 0.50462 7.1915 0.50362 7.2235 0.50262C7.2535 0.50162 7.2835 0.50062 7.3135 0.49962C7.3455 0.49862 7.3765 0.49862 7.4085 0.49762C7.4385 0.49762 7.4695 0.49762 7.5005 0.49762C7.5305 0.49762 7.5615 0.49762 7.5915 0.49862C7.6235 0.49862 7.6555 0.49962 7.6865 0.50062C7.7165 0.50162 7.7465 0.50262 7.7765 0.50362C7.8085 0.50362 7.8405 0.50562 7.8725 0.50662C7.9035 0.50762 7.9335 0.50962 7.9645 0.51162C7.9945 0.51362 8.0255 0.51562 8.0555 0.51762C8.0875 0.51962 8.1205 0.52262 8.1525 0.52562C8.1795 0.52762 8.2075 0.53062 8.2355 0.53362C8.2705 0.53662 8.3055 0.54062 8.3415 0.54462C8.3655 0.54762 8.3895 0.54962 8.4145 0.55262C8.4535 0.55762 8.4925 0.56262 8.5315 0.56762C8.5515 0.57062 8.5705 0.57362 8.5905 0.57662C8.6345 0.58262 8.6785 0.58962 8.7225 0.59762C8.7365 0.59962 8.7505 0.60162 8.7645 0.60362C8.8145 0.61262 8.8645 0.62162 8.9145 0.63062C8.9215 0.63162 8.9295 0.63362 8.9365 0.63462C8.9935 0.64662 9.0505 0.65762 9.1065 0.67062H9.1075C10.4695 0.96962 11.7215 1.64662 12.7355 2.65062C14.1465 4.04762 14.9285 5.91062 14.9365 7.89462L14.9395 8.50362L14.9375 9.01462L7.5005 16.5026L0.0625011 9.01462L0.0605011 8.50362L0.0635011 7.89462Z",
662
652
  fill: "#FFC200"
663
653
  }, null, -1)
664
654
  ])])) : j("", !0),
665
- e.type === D(X).HIGH_POTENTIAL_AUTO ? (c(), v("svg", fn, [...o[2] || (o[2] = [
655
+ e.type === D(X).HIGH_POTENTIAL_AUTO ? (c(), v("svg", cn, [...o[2] || (o[2] = [
666
656
  h("path", {
667
657
  fill: "#EF4E16",
668
658
  d: "M60 23.913s-8.76-2.903-14.05 1.058C44.256 17.449 45.203 8.674 34.688 2c-.712 9.413-12.856 9.891-15.691 22.005-1.86-3.319-2.227-7.716-9.28-9.871C11.615 25.513.415 31.3 5.199 47.68c2.699 9.246 12.72 13.651 21.047 14.217 16.527 1.123 31.896-6.848 32.258-24.148.155-7.437-2.975-8.343 1.496-13.836z"
@@ -680,7 +670,7 @@ const cn = { class: "joy-badge-level" }, dn = {
680
670
  d: "M37.182 54.939c0 2.188-12.427 2.188-12.427 0 0-5.849 12.427-5.849 12.427 0z"
681
671
  }, null, -1)
682
672
  ])])) : j("", !0),
683
- e.type === D(X).MALT_LINKER ? (c(), v("svg", yn, [...o[3] || (o[3] = [
673
+ e.type === D(X).MALT_LINKER ? (c(), v("svg", dn, [...o[3] || (o[3] = [
684
674
  h("path", {
685
675
  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",
686
676
  fill: "#E3F8FB"
@@ -690,7 +680,7 @@ const cn = { class: "joy-badge-level" }, dn = {
690
680
  fill: "#FF91F0"
691
681
  }, null, -1)
692
682
  ])])) : j("", !0),
693
- e.type === D(We).HIGH_POTENTIAL ? (c(), v("svg", mn, [...o[4] || (o[4] = [
683
+ e.type === D(We).HIGH_POTENTIAL ? (c(), v("svg", fn, [...o[4] || (o[4] = [
694
684
  h("path", {
695
685
  d: "M0.0635011 7.89462C0.0715011 5.91062 0.853501 4.04762 2.2645 2.65062C3.2795 1.64662 4.5315 0.96862 5.8925 0.67062H5.8935C5.9495 0.65862 6.0065 0.64662 6.0635 0.63562C6.0705 0.63362 6.0785 0.63262 6.0855 0.63062C6.1355 0.62062 6.1855 0.61162 6.2355 0.60362C6.2495 0.60162 6.2635 0.59862 6.2775 0.59662C6.3215 0.58962 6.3655 0.58262 6.4105 0.57662C6.4305 0.57362 6.4495 0.57062 6.4695 0.56862C6.5075 0.56262 6.5475 0.55762 6.5865 0.55262C6.6105 0.54962 6.6345 0.54662 6.6595 0.54462C6.6945 0.54062 6.7295 0.53662 6.7655 0.53362C6.7925 0.53062 6.8205 0.52762 6.8485 0.52562C6.8805 0.52262 6.9135 0.52062 6.9455 0.51762C6.9755 0.51562 7.0065 0.51362 7.0365 0.51162C7.0665 0.50962 7.0975 0.50762 7.1285 0.50662C7.1605 0.50462 7.1915 0.50362 7.2235 0.50262C7.2535 0.50162 7.2835 0.50062 7.3135 0.49962C7.3455 0.49862 7.3765 0.49862 7.4085 0.49762C7.4385 0.49762 7.4695 0.49762 7.5005 0.49762C7.5305 0.49762 7.5615 0.49762 7.5915 0.49862C7.6235 0.49862 7.6555 0.49962 7.6865 0.50062C7.7165 0.50162 7.7465 0.50262 7.7765 0.50362C7.8085 0.50362 7.8405 0.50562 7.8725 0.50662C7.9035 0.50762 7.9335 0.50962 7.9645 0.51162C7.9945 0.51362 8.0255 0.51562 8.0555 0.51762C8.0875 0.51962 8.1205 0.52262 8.1525 0.52562C8.1795 0.52762 8.2075 0.53062 8.2355 0.53362C8.2705 0.53662 8.3055 0.54062 8.3415 0.54462C8.3655 0.54762 8.3895 0.54962 8.4145 0.55262C8.4535 0.55762 8.4925 0.56262 8.5315 0.56762C8.5515 0.57062 8.5705 0.57362 8.5905 0.57662C8.6345 0.58262 8.6785 0.58962 8.7225 0.59762C8.7365 0.59962 8.7505 0.60162 8.7645 0.60362C8.8145 0.61262 8.8645 0.62162 8.9145 0.63062C8.9215 0.63162 8.9295 0.63362 8.9365 0.63462C8.9935 0.64662 9.0505 0.65762 9.1065 0.67062H9.1075C10.4695 0.96962 11.7215 1.64662 12.7355 2.65062C14.1465 4.04762 14.9285 5.91062 14.9365 7.89462L14.9395 8.50362L14.9375 9.01462L7.5005 16.5026L0.0625011 9.01462L0.0605011 8.50362L0.0635011 7.89462Z",
696
686
  fill: "#FFC200"
@@ -712,7 +702,7 @@ const cn = { class: "joy-badge-level" }, dn = {
712
702
  ], 2)
713
703
  ]));
714
704
  }
715
- }), Hs = /* @__PURE__ */ B(pn, [["__scopeId", "data-v-08a5e2c8"]]), vn = /* @__PURE__ */ A({
705
+ }), qs = /* @__PURE__ */ A(yn, [["__scopeId", "data-v-08a5e2c8"]]), mn = /* @__PURE__ */ B({
716
706
  __name: "VJoyBlockSkeleton",
717
707
  props: {
718
708
  /** If you want to use it properly you need to set fixed width and height */
@@ -730,7 +720,7 @@ const cn = { class: "joy-badge-level" }, dn = {
730
720
  }
731
721
  },
732
722
  setup(e) {
733
- const t = e, n = be("VJoyWrapperContext", {}), l = C(() => {
723
+ const t = e, n = de("VJoyWrapperContext", {}), l = C(() => {
734
724
  if (Object.keys(n).length === 0)
735
725
  return;
736
726
  let o = "1 0";
@@ -749,7 +739,7 @@ const cn = { class: "joy-badge-level" }, dn = {
749
739
  })
750
740
  }, null, 6));
751
741
  }
752
- }), Ws = /* @__PURE__ */ B(vn, [["__scopeId", "data-v-4da2c7cb"]]), hn = /* @__PURE__ */ A({
742
+ }), Hs = /* @__PURE__ */ A(mn, [["__scopeId", "data-v-4da2c7cb"]]), pn = /* @__PURE__ */ B({
753
743
  __name: "VJoySpinner",
754
744
  props: {
755
745
  color: {
@@ -761,7 +751,7 @@ const cn = { class: "joy-badge-level" }, dn = {
761
751
  class: L(["joy-spinner", `joy-spinner_${e.color}`])
762
752
  }, null, 2));
763
753
  }
764
- }), Ht = /* @__PURE__ */ B(hn, [["__scopeId", "data-v-52944a9b"]]), gn = /* @__PURE__ */ A({
754
+ }), Ht = /* @__PURE__ */ A(pn, [["__scopeId", "data-v-52944a9b"]]), vn = /* @__PURE__ */ B({
765
755
  __name: "VJoyButton",
766
756
  props: {
767
757
  /**
@@ -863,30 +853,30 @@ const cn = { class: "joy-badge-level" }, dn = {
863
853
  ]);
864
854
  };
865
855
  }
866
- }), ne = /* @__PURE__ */ B(gn, [["__scopeId", "data-v-7d8093b0"]]);
856
+ }), ne = /* @__PURE__ */ A(vn, [["__scopeId", "data-v-7d8093b0"]]);
867
857
  function Xe(e) {
868
- return Jt() ? (Pt(e), !0) : !1;
858
+ return zt() ? (Jt(e), !0) : !1;
869
859
  }
870
- function pe(e) {
860
+ function ve(e) {
871
861
  return typeof e == "function" ? e() : D(e);
872
862
  }
873
863
  const Qe = typeof window < "u" && typeof document < "u";
874
864
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
875
- const bn = (e) => e != null, wn = Object.prototype.toString, Wt = (e) => wn.call(e) === "[object Object]", Te = () => {
876
- }, nt = /* @__PURE__ */ jn();
877
- function jn() {
865
+ const hn = (e) => e != null, gn = Object.prototype.toString, Wt = (e) => gn.call(e) === "[object Object]", Te = () => {
866
+ }, nt = /* @__PURE__ */ bn();
867
+ function bn() {
878
868
  var e, t;
879
869
  return Qe && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
880
870
  }
881
- function kn(...e) {
871
+ function wn(...e) {
882
872
  if (e.length !== 1)
883
873
  return bo(...e);
884
874
  const t = e[0];
885
- return typeof t == "function" ? wo(jo(() => ({ get: t, set: Te }))) : _(t);
875
+ return typeof t == "function" ? wo(jo(() => ({ get: t, set: Te }))) : S(t);
886
876
  }
887
877
  function ke(e) {
888
878
  var t;
889
- const n = pe(e);
879
+ const n = ve(e);
890
880
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
891
881
  }
892
882
  const ft = Qe ? window : void 0;
@@ -898,7 +888,7 @@ function $e(...e) {
898
888
  const i = [], a = () => {
899
889
  i.forEach((f) => f()), i.length = 0;
900
890
  }, r = (f, d, y, p) => (f.addEventListener(d, y, p), () => f.removeEventListener(d, y, p)), s = G(
901
- () => [ke(t), pe(o)],
891
+ () => [ke(t), ve(o)],
902
892
  ([f, d]) => {
903
893
  if (a(), !f)
904
894
  return;
@@ -913,12 +903,12 @@ function $e(...e) {
913
903
  };
914
904
  return Xe(u), u;
915
905
  }
916
- let St = !1;
917
- function $n(e, t, n = {}) {
906
+ let _t = !1;
907
+ function jn(e, t, n = {}) {
918
908
  const { window: l = ft, ignore: o = [], capture: i = !0, detectIframe: a = !1 } = n;
919
909
  if (!l)
920
910
  return Te;
921
- nt && !St && (St = !0, Array.from(l.document.body.children).forEach((y) => y.addEventListener("click", Te)), l.document.documentElement.addEventListener("click", Te));
911
+ nt && !_t && (_t = !0, Array.from(l.document.body.children).forEach((y) => y.addEventListener("click", Te)), l.document.documentElement.addEventListener("click", Te));
922
912
  let r = !0;
923
913
  const s = (y) => o.some((p) => {
924
914
  if (typeof p == "string")
@@ -952,18 +942,18 @@ function $n(e, t, n = {}) {
952
942
  ].filter(Boolean);
953
943
  return () => f.forEach((y) => y());
954
944
  }
955
- function _n() {
956
- const e = _(!1), t = ko();
945
+ function kn() {
946
+ const e = S(!1), t = ko();
957
947
  return t && te(() => {
958
948
  e.value = !0;
959
949
  }, t), e;
960
950
  }
961
- function Sn(e) {
962
- const t = _n();
951
+ function $n(e) {
952
+ const t = kn();
963
953
  return C(() => (t.value, !!e()));
964
954
  }
965
- function Cn(e, t = {}) {
966
- const n = _(!1), l = Mt(null);
955
+ function _n(e, t = {}) {
956
+ const n = S(!1), l = Pt(null);
967
957
  let o = 0, i = !0;
968
958
  if (Qe) {
969
959
  const a = typeof t == "function" ? { onDrop: t } : t, r = (s) => {
@@ -973,7 +963,7 @@ function Cn(e, t = {}) {
973
963
  };
974
964
  $e(e, "dragenter", (s) => {
975
965
  var u, f;
976
- const d = Array.from(((u = s == null ? void 0 : s.dataTransfer) == null ? void 0 : u.items) || []).map((y) => y.kind === "file" ? y.type : null).filter(bn);
966
+ const d = Array.from(((u = s == null ? void 0 : s.dataTransfer) == null ? void 0 : u.items) || []).map((y) => y.kind === "file" ? y.type : null).filter(hn);
977
967
  if (a.dataTypes && s.dataTransfer) {
978
968
  const y = D(a.dataTypes);
979
969
  if (i = typeof y == "function" ? y(d) : y ? y.some((p) => d.includes(p)) : !0, !i)
@@ -996,10 +986,10 @@ function Cn(e, t = {}) {
996
986
  isOverDropZone: n
997
987
  };
998
988
  }
999
- function xn(e, t, n = {}) {
989
+ function Sn(e, t, n = {}) {
1000
990
  const { window: l = ft, ...o } = n;
1001
991
  let i;
1002
- const a = Sn(() => l && "ResizeObserver" in l), r = () => {
992
+ const a = $n(() => l && "ResizeObserver" in l), r = () => {
1003
993
  i && (i.disconnect(), i = void 0);
1004
994
  }, s = C(() => Array.isArray(e) ? e.map((d) => ke(d)) : [ke(e)]), u = G(
1005
995
  s,
@@ -1019,29 +1009,29 @@ function xn(e, t, n = {}) {
1019
1009
  stop: f
1020
1010
  };
1021
1011
  }
1022
- function Vn(e) {
1012
+ function Cn(e) {
1023
1013
  var t;
1024
- const n = _(e == null ? void 0 : e.element), l = _(e == null ? void 0 : e.input), o = (t = e == null ? void 0 : e.styleProp) != null ? t : "height", i = _(1);
1014
+ const n = S(e == null ? void 0 : e.element), l = S(e == null ? void 0 : e.input), o = (t = e == null ? void 0 : e.styleProp) != null ? t : "height", i = S(1);
1025
1015
  function a() {
1026
1016
  var r, s;
1027
1017
  if (!n.value)
1028
1018
  return;
1029
1019
  let u = "";
1030
- n.value.style[o] = "1px", i.value = (r = n.value) == null ? void 0 : r.scrollHeight, e != null && e.styleTarget ? pe(e.styleTarget).style[o] = `${i.value}px` : u = `${i.value}px`, n.value.style[o] = u, (s = e == null ? void 0 : e.onResize) == null || s.call(e);
1020
+ n.value.style[o] = "1px", i.value = (r = n.value) == null ? void 0 : r.scrollHeight, e != null && e.styleTarget ? ve(e.styleTarget).style[o] = `${i.value}px` : u = `${i.value}px`, n.value.style[o] = u, (s = e == null ? void 0 : e.onResize) == null || s.call(e);
1031
1021
  }
1032
- return G([l, n], () => Je(a), { immediate: !0 }), xn(n, () => a()), e != null && e.watch && G(e.watch, a, { immediate: !0, deep: !0 }), {
1022
+ return G([l, n], () => Pe(a), { immediate: !0 }), Sn(n, () => a()), e != null && e.watch && G(e.watch, a, { immediate: !0, deep: !0 }), {
1033
1023
  textarea: n,
1034
1024
  input: l,
1035
1025
  triggerResize: a
1036
1026
  };
1037
1027
  }
1038
- const yt = /* @__PURE__ */ A({
1028
+ const yt = /* @__PURE__ */ B({
1039
1029
  name: "OnClickOutside",
1040
1030
  props: ["as", "options"],
1041
1031
  emits: ["trigger"],
1042
1032
  setup(e, { slots: t, emit: n }) {
1043
- const l = _();
1044
- return $n(l, (o) => {
1033
+ const l = S();
1034
+ return jn(l, (o) => {
1045
1035
  n("trigger", o);
1046
1036
  }, e.options), () => {
1047
1037
  if (t.default)
@@ -1049,21 +1039,21 @@ const yt = /* @__PURE__ */ A({
1049
1039
  };
1050
1040
  }
1051
1041
  });
1052
- function Tn(e) {
1042
+ function xn(e) {
1053
1043
  var t;
1054
- const n = pe(e);
1044
+ const n = ve(e);
1055
1045
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
1056
1046
  }
1057
- const Ln = Qe ? window : void 0;
1058
- function In(...e) {
1047
+ const Vn = Qe ? window : void 0;
1048
+ function Tn(...e) {
1059
1049
  let t, n, l, o;
1060
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, l, o] = e, t = Ln) : [t, n, l, o] = e, !t)
1050
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, l, o] = e, t = Vn) : [t, n, l, o] = e, !t)
1061
1051
  return Te;
1062
1052
  Array.isArray(n) || (n = [n]), Array.isArray(l) || (l = [l]);
1063
1053
  const i = [], a = () => {
1064
1054
  i.forEach((f) => f()), i.length = 0;
1065
1055
  }, r = (f, d, y, p) => (f.addEventListener(d, y, p), () => f.removeEventListener(d, y, p)), s = G(
1066
- () => [Tn(t), pe(o)],
1056
+ () => [xn(t), ve(o)],
1067
1057
  ([f, d]) => {
1068
1058
  if (a(), !f)
1069
1059
  return;
@@ -1090,16 +1080,16 @@ function Ut(e) {
1090
1080
  return !n || n.tagName === "BODY" ? !1 : Ut(n);
1091
1081
  }
1092
1082
  }
1093
- function An(e) {
1083
+ function Ln(e) {
1094
1084
  const t = e || window.event, n = t.target;
1095
1085
  return Ut(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
1096
1086
  }
1097
1087
  const Ne = /* @__PURE__ */ new WeakMap();
1098
- function Bn(e, t = !1) {
1099
- const n = _(t);
1088
+ function In(e, t = !1) {
1089
+ const n = S(t);
1100
1090
  let l = null, o;
1101
- G(kn(e), (r) => {
1102
- const s = ot(pe(r));
1091
+ G(wn(e), (r) => {
1092
+ const s = ot(ve(r));
1103
1093
  if (s) {
1104
1094
  const u = s;
1105
1095
  Ne.get(u) || Ne.set(u, o), n.value && (u.style.overflow = "hidden");
@@ -1108,18 +1098,18 @@ function Bn(e, t = !1) {
1108
1098
  immediate: !0
1109
1099
  });
1110
1100
  const i = () => {
1111
- const r = ot(pe(e));
1112
- !r || n.value || (nt && (l = In(
1101
+ const r = ot(ve(e));
1102
+ !r || n.value || (nt && (l = Tn(
1113
1103
  r,
1114
1104
  "touchmove",
1115
1105
  (s) => {
1116
- An(s);
1106
+ Ln(s);
1117
1107
  },
1118
1108
  { passive: !1 }
1119
1109
  )), r.style.overflow = "hidden", n.value = !0);
1120
1110
  }, a = () => {
1121
1111
  var r;
1122
- const s = ot(pe(e));
1112
+ const s = ot(ve(e));
1123
1113
  !s || !n.value || (nt && (l == null || l()), s.style.overflow = (r = Ne.get(s)) != null ? r : "", Ne.delete(s), n.value = !1);
1124
1114
  };
1125
1115
  return Xe(a), C({
@@ -1131,19 +1121,19 @@ function Bn(e, t = !1) {
1131
1121
  }
1132
1122
  });
1133
1123
  }
1134
- function En() {
1124
+ function Bn() {
1135
1125
  let e = !1;
1136
- const t = _(!1);
1126
+ const t = S(!1);
1137
1127
  return (n, l) => {
1138
1128
  if (t.value = l.value, e)
1139
1129
  return;
1140
1130
  e = !0;
1141
- const o = Bn(n, l.value);
1131
+ const o = In(n, l.value);
1142
1132
  G(t, (i) => o.value = i);
1143
1133
  };
1144
1134
  }
1145
- En();
1146
- const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-sheet_footer" }, Ct = 75, xt = "moving", Pn = /* @__PURE__ */ A({
1135
+ Bn();
1136
+ const An = { class: "joy-bottom-sheet_content" }, En = { class: "joy-bottom-sheet_footer" }, St = 75, Ct = "moving", zn = /* @__PURE__ */ B({
1147
1137
  inheritAttrs: !1,
1148
1138
  __name: "VJoyBottomSheet",
1149
1139
  props: {
@@ -1160,26 +1150,26 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1160
1150
  return o;
1161
1151
  }), a = n, r = {
1162
1152
  ignore: ["[data-click-outside-ignore]"]
1163
- }, s = _(!1), u = _(!1), f = _(l.open), d = _(!1), y = _();
1153
+ }, s = S(!1), u = S(!1), f = S(l.open), d = S(!1), y = S();
1164
1154
  let p = 0;
1165
1155
  function m() {
1166
1156
  f.value = !0, x();
1167
1157
  }
1168
1158
  function g() {
1169
1159
  l.frozen || (u.value = !0, setTimeout(async () => {
1170
- d.value = !1, u.value = !1, f.value = !1, me(!1), a("bottom-sheet:close");
1160
+ d.value = !1, u.value = !1, f.value = !1, pe(!1), a("bottom-sheet:close");
1171
1161
  }, 300));
1172
1162
  }
1173
1163
  function b(O) {
1174
- d.value = !0, y.value.classList.add(xt), p = E(O);
1164
+ d.value = !0, y.value.classList.add(Ct), p = E(O);
1175
1165
  }
1176
- function S(O) {
1177
- d.value && (T(O) > Ct && g(), M());
1166
+ function $(O) {
1167
+ d.value && (T(O) > St && g(), M());
1178
1168
  }
1179
1169
  function k(O) {
1180
1170
  if (d.value) {
1181
- const $ = T(O);
1182
- $ > Ct ? g() : $ > 0 && I($);
1171
+ const _ = T(O);
1172
+ _ > St ? g() : _ > 0 && I(_);
1183
1173
  }
1184
1174
  }
1185
1175
  function T(O) {
@@ -1192,10 +1182,10 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1192
1182
  y.value.style.setProperty("transform", `translateY(${O}px)`);
1193
1183
  }
1194
1184
  function M() {
1195
- y.value.classList.remove(xt), y.value.style.removeProperty("transform"), d.value = !1;
1185
+ y.value.classList.remove(Ct), y.value.style.removeProperty("transform"), d.value = !1;
1196
1186
  }
1197
1187
  function x() {
1198
- l.preventBodyScroll && me(!0);
1188
+ l.preventBodyScroll && pe(!0);
1199
1189
  }
1200
1190
  return G(
1201
1191
  () => l.open,
@@ -1209,7 +1199,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1209
1199
  show: m,
1210
1200
  isOpen: f,
1211
1201
  moveContainer: I
1212
- }), (O, $) => s.value ? (c(), V(Be, {
1202
+ }), (O, _) => s.value ? (c(), V(Ee, {
1213
1203
  key: 0,
1214
1204
  to: e.teleport
1215
1205
  }, [
@@ -1223,7 +1213,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1223
1213
  }
1224
1214
  ]
1225
1215
  }), [
1226
- $[1] || ($[1] = h("div", { class: "joy-bottom-sheet-overlay" }, null, -1)),
1216
+ _[1] || (_[1] = h("div", { class: "joy-bottom-sheet-overlay" }, null, -1)),
1227
1217
  N(D(yt), {
1228
1218
  options: r,
1229
1219
  onTrigger: g
@@ -1237,19 +1227,19 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1237
1227
  h("div", {
1238
1228
  class: "joy-bottom-sheet_header",
1239
1229
  onMousedown: b,
1240
- onMouseup: S,
1230
+ onMouseup: $,
1241
1231
  onMousemove: k,
1242
- onMouseleave: S,
1232
+ onMouseleave: $,
1243
1233
  onTouchstart: b,
1244
- onTouchend: S,
1234
+ onTouchend: $,
1245
1235
  onTouchmove: k
1246
- }, [...$[0] || ($[0] = [
1236
+ }, [..._[0] || (_[0] = [
1247
1237
  h("div", { class: "joy-bottom-sheet_header-close" }, null, -1)
1248
1238
  ])], 32),
1249
- h("div", zn, [
1239
+ h("div", An, [
1250
1240
  w(O.$slots, "bottom-sheet-content", {}, void 0, !0)
1251
1241
  ]),
1252
- h("div", Jn, [
1242
+ h("div", En, [
1253
1243
  w(O.$slots, "bottom-sheet-cta", {}, () => [
1254
1244
  N(ne, {
1255
1245
  class: "joy-bottom-sheet_footer-close",
@@ -1265,7 +1255,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1265
1255
  ], 16)) : j("", !0)
1266
1256
  ], 8, ["to"])) : j("", !0);
1267
1257
  }
1268
- }), Us = /* @__PURE__ */ B(Pn, [["__scopeId", "data-v-0f122c0c"]]), Gs = /* @__PURE__ */ A({
1258
+ }), Ws = /* @__PURE__ */ A(zn, [["__scopeId", "data-v-0f122c0c"]]), Us = /* @__PURE__ */ B({
1269
1259
  __name: "VJoyBottomSheetTrigger",
1270
1260
  props: {
1271
1261
  bottomSheet: {}
@@ -1282,7 +1272,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1282
1272
  onClick: r
1283
1273
  }))), 128));
1284
1274
  }
1285
- }), Mn = { class: "joy-checkbox__wrapper" }, On = { class: "joy-checkbox__input-wrapper" }, Fn = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], Dn = { class: "joy-checkbox__content-wrapper" }, Rn = { class: "joy-checkbox__content" }, Nn = /* @__PURE__ */ A({
1275
+ }), Jn = { class: "joy-checkbox__wrapper" }, Pn = { class: "joy-checkbox__input-wrapper" }, Mn = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], On = { class: "joy-checkbox__content-wrapper" }, Fn = { class: "joy-checkbox__content" }, Dn = /* @__PURE__ */ B({
1286
1276
  __name: "VJoyCheckbox",
1287
1277
  props: {
1288
1278
  /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
@@ -1339,7 +1329,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1339
1329
  },
1340
1330
  emits: ["update:checked", "focus", "blur"],
1341
1331
  setup(e, { expose: t, emit: n }) {
1342
- const l = n, o = e, i = _(), a = _(o.indeterminate), r = _(o.invalid && !o.checked), s = _(!1);
1332
+ const l = n, o = e, i = S(), a = S(o.indeterminate), r = S(o.invalid && !o.checked), s = S(!1);
1343
1333
  G(
1344
1334
  () => o.invalid,
1345
1335
  (f) => {
@@ -1365,7 +1355,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1365
1355
  };
1366
1356
  return t({
1367
1357
  isIndeterminate: a
1368
- }), (f, d) => (c(), v("div", Mn, [
1358
+ }), (f, d) => (c(), v("div", Jn, [
1369
1359
  h("label", {
1370
1360
  class: L([
1371
1361
  "joy-checkbox",
@@ -1378,7 +1368,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1378
1368
  }
1379
1369
  ])
1380
1370
  }, [
1381
- h("div", On, [
1371
+ h("div", Pn, [
1382
1372
  h("input", {
1383
1373
  id: e.id,
1384
1374
  ref_key: "input",
@@ -1398,23 +1388,23 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1398
1388
  (...y) => u.onFocus && u.onFocus(...y)),
1399
1389
  onBlur: d[2] || (d[2] = //@ts-ignore
1400
1390
  (...y) => u.onBlur && u.onBlur(...y))
1401
- }, null, 40, Fn)
1391
+ }, null, 40, Mn)
1402
1392
  ]),
1403
- h("div", Dn, [
1393
+ h("div", On, [
1404
1394
  w(f.$slots, "default", {}, () => [
1405
1395
  R(J(e.label), 1)
1406
1396
  ], !0),
1407
- h("div", Rn, [
1397
+ h("div", Fn, [
1408
1398
  w(f.$slots, "checkbox-content", {}, void 0, !0)
1409
1399
  ])
1410
1400
  ])
1411
1401
  ], 2)
1412
1402
  ]));
1413
1403
  }
1414
- }), Gt = /* @__PURE__ */ B(Nn, [["__scopeId", "data-v-b08aada8"]]), qn = ["id"], Hn = { class: "joy-collapse-item__header-right" }, Wn = {
1404
+ }), Gt = /* @__PURE__ */ A(Dn, [["__scopeId", "data-v-b08aada8"]]), Rn = ["id"], Nn = { class: "joy-collapse-item__header-right" }, qn = {
1415
1405
  key: 0,
1416
1406
  class: "joy-collapse-item__summary___subheader"
1417
- }, Un = { class: "joy-collapse-item__summary___preview" }, Gn = ["aria-labelledby"], Yn = /* @__PURE__ */ A({
1407
+ }, Hn = { class: "joy-collapse-item__summary___preview" }, Wn = ["aria-labelledby"], Un = /* @__PURE__ */ B({
1418
1408
  __name: "VJoyCollapseItem",
1419
1409
  props: {
1420
1410
  /** Title of the collapse item */
@@ -1446,7 +1436,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1446
1436
  },
1447
1437
  emits: ["collapse-item:open", "collapse-item:close"],
1448
1438
  setup(e, { expose: t, emit: n }) {
1449
- const l = e, o = n, i = _(l.open), a = _(!1);
1439
+ const l = e, o = n, i = S(l.open), a = S(!1);
1450
1440
  G(
1451
1441
  () => l.open,
1452
1442
  (u) => {
@@ -1493,16 +1483,16 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1493
1483
  name: e.summaryIcon
1494
1484
  }, null, 8, ["name"])) : j("", !0),
1495
1485
  R(" " + J(e.header), 1)
1496
- ], 8, qn),
1497
- h("div", Hn, [
1486
+ ], 8, Rn),
1487
+ h("div", Nn, [
1498
1488
  w(u.$slots, "collapse-header-right")
1499
1489
  ]),
1500
1490
  N(q, {
1501
1491
  class: "joy-collapse-item__summary___marker joy-mt-1",
1502
1492
  name: "chevron-down"
1503
1493
  }),
1504
- e.subheader ? (c(), v("span", Wn, J(e.subheader), 1)) : j("", !0),
1505
- h("span", Un, [
1494
+ e.subheader ? (c(), v("span", qn, J(e.subheader), 1)) : j("", !0),
1495
+ h("span", Hn, [
1506
1496
  w(u.$slots, "collapse-preview")
1507
1497
  ])
1508
1498
  ], 32),
@@ -1518,10 +1508,10 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1518
1508
  ])
1519
1509
  }, [
1520
1510
  w(u.$slots, "default")
1521
- ], 10, Gn)) : j("", !0)
1511
+ ], 10, Wn)) : j("", !0)
1522
1512
  ], 2));
1523
1513
  }
1524
- }), Kn = /* @__PURE__ */ B(Yn, [["__scopeId", "data-v-382ef065"]]), Zn = { class: "joy-collapse" }, Xn = /* @__PURE__ */ A({
1514
+ }), Gn = /* @__PURE__ */ A(Un, [["__scopeId", "data-v-382ef065"]]), Yn = { class: "joy-collapse" }, Kn = /* @__PURE__ */ B({
1525
1515
  __name: "VJoyCollapse",
1526
1516
  props: {
1527
1517
  /** Open one item at a time. Works with modelValue */
@@ -1546,7 +1536,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1546
1536
  },
1547
1537
  emits: ["update:modelValue"],
1548
1538
  setup(e, { expose: t, emit: n }) {
1549
- const l = e, o = _(l.modelValue), i = Y(), a = n, r = C(() => {
1539
+ const l = e, o = S(l.modelValue), i = Y(), a = n, r = C(() => {
1550
1540
  const m = i.default();
1551
1541
  return m.length === 1 && typeof m[0].type != "object" ? m[0].children.filter(s) : m.filter(s);
1552
1542
  });
@@ -1582,8 +1572,8 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1582
1572
  isOpen: f,
1583
1573
  items: r,
1584
1574
  openedCollapseItem: o
1585
- }), (m, g) => (c(), v("div", Zn, [
1586
- (c(!0), v(H, null, U(r.value, (b) => (c(), V(Kn, W({ ref_for: !0 }, b.props, {
1575
+ }), (m, g) => (c(), v("div", Yn, [
1576
+ (c(!0), v(H, null, U(r.value, (b) => (c(), V(Gn, W({ ref_for: !0 }, b.props, {
1587
1577
  key: b.props.id,
1588
1578
  open: f(b),
1589
1579
  mode: e.mode,
@@ -1591,19 +1581,19 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1591
1581
  "onCollapseItem:close": () => y(b)
1592
1582
  }), {
1593
1583
  "collapse-header-right": z(() => [
1594
- (c(!0), v(H, null, U(u(b, "collapse-header-right"), (S, k) => (c(), V(Z(S), { key: k }))), 128))
1584
+ (c(!0), v(H, null, U(u(b, "collapse-header-right"), ($, k) => (c(), V(Z($), { key: k }))), 128))
1595
1585
  ]),
1596
1586
  "collapse-preview": z(() => [
1597
- (c(!0), v(H, null, U(u(b, "collapse-preview"), (S, k) => (c(), V(Z(S), { key: k }))), 128))
1587
+ (c(!0), v(H, null, U(u(b, "collapse-preview"), ($, k) => (c(), V(Z($), { key: k }))), 128))
1598
1588
  ]),
1599
1589
  default: z(() => [
1600
- (c(!0), v(H, null, U(u(b, "default"), (S, k) => (c(), V(Z(S), { key: k }))), 128))
1590
+ (c(!0), v(H, null, U(u(b, "default"), ($, k) => (c(), V(Z($), { key: k }))), 128))
1601
1591
  ]),
1602
1592
  _: 2
1603
1593
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1604
1594
  ]));
1605
1595
  }
1606
- }), Ys = /* @__PURE__ */ B(Xn, [["__scopeId", "data-v-35744932"]]), Qn = ["src", "alt", "title", "loading"], el = /* @__PURE__ */ A({
1596
+ }), Gs = /* @__PURE__ */ A(Kn, [["__scopeId", "data-v-35744932"]]), Zn = ["src", "alt", "title", "loading"], Xn = /* @__PURE__ */ B({
1607
1597
  __name: "VJoyCompanyAvatar",
1608
1598
  props: {
1609
1599
  /** Inject the URL of your image. Fallback will be the icon */
@@ -1644,14 +1634,14 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1644
1634
  alt: e.imgAlt || e.companyName,
1645
1635
  title: e.companyName,
1646
1636
  loading: e.loading
1647
- }, null, 8, Qn)) : (c(), V(q, {
1637
+ }, null, 8, Zn)) : (c(), V(q, {
1648
1638
  key: 1,
1649
1639
  name: "company-placeholder",
1650
1640
  size: n.value
1651
1641
  }, null, 8, ["size"]))
1652
1642
  ], 2));
1653
1643
  }
1654
- }), Ks = /* @__PURE__ */ B(el, [["__scopeId", "data-v-2f1289c1"]]), tl = /* @__PURE__ */ A({
1644
+ }), Ys = /* @__PURE__ */ A(Xn, [["__scopeId", "data-v-2f1289c1"]]), Qn = /* @__PURE__ */ B({
1655
1645
  __name: "VJoyWrapper",
1656
1646
  props: {
1657
1647
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -1695,7 +1685,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1695
1685
  }
1696
1686
  },
1697
1687
  setup(e) {
1698
- return Me("VJoyWrapperContext", e), (n, l) => (c(), v("div", {
1688
+ return Ae("VJoyWrapperContext", e), (n, l) => (c(), v("div", {
1699
1689
  class: L([
1700
1690
  "joy-wrapper",
1701
1691
  `joy-wrapper--justify-${e.justify}`,
@@ -1711,22 +1701,22 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1711
1701
  w(n.$slots, "default", {}, void 0, !0)
1712
1702
  ], 2));
1713
1703
  }
1714
- }), ie = /* @__PURE__ */ B(tl, [["__scopeId", "data-v-68d89412"]]), ol = ["id"], nl = { class: "joy-dialog__inner" }, ll = {
1704
+ }), ie = /* @__PURE__ */ A(Qn, [["__scopeId", "data-v-68d89412"]]), el = ["id"], tl = { class: "joy-dialog__inner" }, ol = {
1715
1705
  key: 0,
1716
1706
  class: "joy-dialog__shapes"
1717
- }, al = { class: "joy-dialog--header" }, il = {
1707
+ }, nl = { class: "joy-dialog--header" }, ll = {
1718
1708
  key: 0,
1719
1709
  class: "joy-dialog--preheader"
1720
- }, rl = {
1710
+ }, al = {
1721
1711
  id: "dialogDescription",
1722
1712
  class: "joy-dialog--subheader"
1723
- }, sl = {
1713
+ }, il = {
1724
1714
  class: "joy-dialog--body",
1725
1715
  tabindex: "0"
1726
- }, ul = {
1716
+ }, rl = {
1727
1717
  key: 2,
1728
1718
  class: "joy-dialog--indicators"
1729
- }, cl = /* @__PURE__ */ A({
1719
+ }, sl = /* @__PURE__ */ B({
1730
1720
  inheritAttrs: !1,
1731
1721
  __name: "VJoyDialog",
1732
1722
  props: {
@@ -1808,7 +1798,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1808
1798
  },
1809
1799
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
1810
1800
  setup(e, { expose: t, emit: n }) {
1811
- const l = e, o = n, i = Oe() + "--JoyDialog", a = Y(), r = _(!1), s = _(), u = _(l.open), f = we(), d = C(() => {
1801
+ const l = e, o = n, i = Oe() + "--JoyDialog", a = Y(), r = S(!1), s = S(), u = S(l.open), f = we(), d = C(() => {
1812
1802
  if (r.value)
1813
1803
  return f;
1814
1804
  }), y = C(() => {
@@ -1819,10 +1809,10 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1819
1809
  !l.patternConfirm && b();
1820
1810
  }
1821
1811
  async function b(I = { fireHideEvent: !0 }) {
1822
- l.demoMode || (u.value = !1, await Je(), me(!1), I.fireHideEvent && o("dialog:hide"));
1812
+ l.demoMode || (u.value = !1, await Pe(), pe(!1), I.fireHideEvent && o("dialog:hide"));
1823
1813
  }
1824
- async function S() {
1825
- u.value = !0, await Je(), l.preventBodyScroll && me(!0);
1814
+ async function $() {
1815
+ u.value = !0, await Pe(), l.preventBodyScroll && pe(!0);
1826
1816
  }
1827
1817
  function k() {
1828
1818
  o("dialog:open");
@@ -1835,14 +1825,14 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1835
1825
  }
1836
1826
  return te(async () => {
1837
1827
  r.value = !0;
1838
- }), Ee(() => {
1839
- u.value === !0 && (o("dialog:before-unmount"), me(!1));
1828
+ }), ze(() => {
1829
+ u.value === !0 && (o("dialog:before-unmount"), pe(!1));
1840
1830
  }), t({
1841
1831
  hasFooterSlots: y,
1842
1832
  hide: b,
1843
1833
  isOpen: u,
1844
- show: S
1845
- }), (I, M) => r.value ? (c(), V(Be, {
1834
+ show: $
1835
+ }), (I, M) => r.value ? (c(), V(Ee, {
1846
1836
  key: 0,
1847
1837
  to: e.teleport,
1848
1838
  disabled: e.disableTeleport
@@ -1884,8 +1874,8 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1884
1874
  }
1885
1875
  ])
1886
1876
  }, [
1887
- h("div", nl, [
1888
- e.patternBrand ? (c(), v("div", ll, [...M[3] || (M[3] = [
1877
+ h("div", tl, [
1878
+ e.patternBrand ? (c(), v("div", ol, [...M[3] || (M[3] = [
1889
1879
  h("div", { class: "joy-dialog__shapes___shape" }, null, -1),
1890
1880
  h("div", { class: "joy-dialog__shapes___shape" }, null, -1)
1891
1881
  ])])) : j("", !0),
@@ -1898,8 +1888,8 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1898
1888
  height: `${e.bannerHeight}px`
1899
1889
  })
1900
1890
  }, null, 4)) : j("", !0),
1901
- h("div", al, [
1902
- I.$slots["dialog-preheader"] ? (c(), v("div", il, [
1891
+ h("div", nl, [
1892
+ I.$slots["dialog-preheader"] ? (c(), v("div", ll, [
1903
1893
  w(I.$slots, "dialog-preheader", {}, void 0, !0)
1904
1894
  ])) : j("", !0),
1905
1895
  h("div", {
@@ -1908,7 +1898,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1908
1898
  }, [
1909
1899
  w(I.$slots, "dialog-header", {}, void 0, !0)
1910
1900
  ]),
1911
- h("p", rl, [
1901
+ h("p", al, [
1912
1902
  w(I.$slots, "dialog-subheader", {}, void 0, !0)
1913
1903
  ]),
1914
1904
  e.patternConfirm ? j("", !0) : (c(), V(ne, {
@@ -1924,7 +1914,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1924
1914
  onClick: M[0] || (M[0] = (x) => b())
1925
1915
  }, null, 8, ["label"]))
1926
1916
  ]),
1927
- h("div", sl, [
1917
+ h("div", il, [
1928
1918
  w(I.$slots, "dialog-body", {}, void 0, !0)
1929
1919
  ]),
1930
1920
  h("div", {
@@ -1972,18 +1962,18 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
1972
1962
  _: 3
1973
1963
  })
1974
1964
  ], 2),
1975
- D(a)["dialog-indicators"] ? (c(), v("div", ul, [
1965
+ D(a)["dialog-indicators"] ? (c(), v("div", rl, [
1976
1966
  w(I.$slots, "dialog-indicators", {}, void 0, !0)
1977
1967
  ])) : j("", !0)
1978
1968
  ])
1979
1969
  ], 2)
1980
- ], 16, ol)) : j("", !0)
1970
+ ], 16, el)) : j("", !0)
1981
1971
  ]),
1982
1972
  _: 3
1983
1973
  })
1984
1974
  ], 8, ["to", "disabled"])) : j("", !0);
1985
1975
  }
1986
- }), Zs = /* @__PURE__ */ B(cl, [["__scopeId", "data-v-0f773f72"]]), Xs = /* @__PURE__ */ A({
1976
+ }), Ks = /* @__PURE__ */ A(sl, [["__scopeId", "data-v-0f773f72"]]), Zs = /* @__PURE__ */ B({
1987
1977
  __name: "VJoyDialogTrigger",
1988
1978
  props: {
1989
1979
  dialog: {}
@@ -2000,13 +1990,13 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2000
1990
  onClick: r
2001
1991
  }))), 128));
2002
1992
  }
2003
- }), dl = ["id"], fl = { class: "joy-drawer__inner" }, yl = { class: "joy-drawer--header" }, ml = {
1993
+ }), ul = ["id"], cl = { class: "joy-drawer__inner" }, dl = { class: "joy-drawer--header" }, fl = {
2004
1994
  id: "drawerDescription",
2005
1995
  class: "joy-drawer--subheader"
2006
- }, pl = {
1996
+ }, yl = {
2007
1997
  class: "joy-drawer--body",
2008
1998
  tabindex: "0"
2009
- }, vl = /* @__PURE__ */ A({
1999
+ }, ml = /* @__PURE__ */ B({
2010
2000
  inheritAttrs: !1,
2011
2001
  __name: "VJoyDrawer",
2012
2002
  props: {
@@ -2072,7 +2062,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2072
2062
  },
2073
2063
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2074
2064
  setup(e, { expose: t, emit: n }) {
2075
- const l = e, o = n, i = Oe() + "--JoyDrawer", a = Y(), r = _(!1), s = _(), u = _(l.open), f = we(), d = C(() => {
2065
+ const l = e, o = n, i = Oe() + "--JoyDrawer", a = Y(), r = S(!1), s = S(), u = S(l.open), f = we(), d = C(() => {
2076
2066
  if (r.value)
2077
2067
  return f;
2078
2068
  }), y = C(() => {
@@ -2080,12 +2070,12 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2080
2070
  return !!E || !!I;
2081
2071
  }), p = C(() => l.id || i), m = p.value + "-header";
2082
2072
  async function g(E = { fireHideEvent: !0 }) {
2083
- l.demoMode || l.onBeforeHide && !await l.onBeforeHide() || (u.value = !1, await Je(), me(!1), E.fireHideEvent && o("drawer:hide"));
2073
+ l.demoMode || l.onBeforeHide && !await l.onBeforeHide() || (u.value = !1, await Pe(), pe(!1), E.fireHideEvent && o("drawer:hide"));
2084
2074
  }
2085
2075
  async function b() {
2086
- u.value = !0, await Je(), !l.elevated && l.preventBodyScroll && me(!0);
2076
+ u.value = !0, await Pe(), !l.elevated && l.preventBodyScroll && pe(!0);
2087
2077
  }
2088
- function S() {
2078
+ function $() {
2089
2079
  o("drawer:open");
2090
2080
  }
2091
2081
  function k() {
@@ -2096,14 +2086,14 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2096
2086
  }
2097
2087
  return te(() => {
2098
2088
  r.value = !0;
2099
- }), Ee(() => {
2100
- u.value === !0 && (o("drawer:before-unmount"), me(!1));
2089
+ }), ze(() => {
2090
+ u.value === !0 && (o("drawer:before-unmount"), pe(!1));
2101
2091
  }), t({
2102
2092
  hasFooterSlots: y,
2103
2093
  hide: g,
2104
2094
  isOpen: u,
2105
2095
  show: b
2106
- }), (E, I) => r.value ? (c(), V(Be, {
2096
+ }), (E, I) => r.value ? (c(), V(Ee, {
2107
2097
  key: 0,
2108
2098
  to: e.teleport,
2109
2099
  disabled: e.disableTeleport
@@ -2112,7 +2102,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2112
2102
  duration: { enter: 300, leave: 100 },
2113
2103
  name: "drawer",
2114
2104
  appear: "",
2115
- onEnter: S,
2105
+ onEnter: $,
2116
2106
  onAfterEnter: k,
2117
2107
  onAfterLeave: T
2118
2108
  }, {
@@ -2152,15 +2142,15 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2152
2142
  }
2153
2143
  ])
2154
2144
  }, [
2155
- h("div", fl, [
2156
- h("div", yl, [
2145
+ h("div", cl, [
2146
+ h("div", dl, [
2157
2147
  h("div", {
2158
2148
  id: m,
2159
2149
  class: "joy-drawer--header__title"
2160
2150
  }, [
2161
2151
  w(E.$slots, "drawer-header", {}, void 0, !0)
2162
2152
  ]),
2163
- h("p", ml, [
2153
+ h("p", fl, [
2164
2154
  w(E.$slots, "drawer-subheader", {}, void 0, !0)
2165
2155
  ]),
2166
2156
  N(ne, {
@@ -2175,7 +2165,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2175
2165
  onClick: I[1] || (I[1] = (M) => g())
2176
2166
  }, null, 8, ["label"])
2177
2167
  ]),
2178
- h("div", pl, [
2168
+ h("div", yl, [
2179
2169
  w(E.$slots, "drawer-body", {}, void 0, !0)
2180
2170
  ]),
2181
2171
  h("div", {
@@ -2226,13 +2216,13 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2226
2216
  ], 2)
2227
2217
  ])
2228
2218
  ], 2)
2229
- ], 16, dl)) : j("", !0)
2219
+ ], 16, ul)) : j("", !0)
2230
2220
  ]),
2231
2221
  _: 3
2232
2222
  })
2233
2223
  ], 8, ["to", "disabled"])) : j("", !0);
2234
2224
  }
2235
- }), Qs = /* @__PURE__ */ B(vl, [["__scopeId", "data-v-056f6134"]]), eu = /* @__PURE__ */ A({
2225
+ }), Xs = /* @__PURE__ */ A(ml, [["__scopeId", "data-v-056f6134"]]), Qs = /* @__PURE__ */ B({
2236
2226
  __name: "VJoyDrawerTrigger",
2237
2227
  props: {
2238
2228
  drawer: {}
@@ -2249,13 +2239,13 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2249
2239
  onClick: r
2250
2240
  }))), 128));
2251
2241
  }
2252
- }), hl = {
2242
+ }), pl = {
2253
2243
  key: 0,
2254
2244
  class: "joy-dropdown-list__header"
2255
- }, gl = ["aria-label", "aria-labelledby"], bl = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], wl = {
2245
+ }, vl = ["aria-label", "aria-labelledby"], hl = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], gl = {
2256
2246
  key: 1,
2257
2247
  class: "joy-dropdown-list__footer"
2258
- }, jl = /* @__PURE__ */ A({
2248
+ }, bl = /* @__PURE__ */ B({
2259
2249
  __name: "VJoyDropdownList",
2260
2250
  props: {
2261
2251
  /**
@@ -2299,7 +2289,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2299
2289
  },
2300
2290
  emits: ["update:modelValue", "close:dropdownList", "reset"],
2301
2291
  setup(e, { expose: t, emit: n }) {
2302
- const l = n, o = e, i = _(), a = C(() => (m) => !o.modelValue || !m.value && !m.id ? !1 : o.modelValue === m.value || o.modelValue === m.id);
2292
+ const l = n, o = e, i = S(), a = C(() => (m) => !o.modelValue || !m.value && !m.id ? !1 : o.modelValue === m.value || o.modelValue === m.id);
2303
2293
  function r(m) {
2304
2294
  m.disabled || l("update:modelValue", m.value || m.id);
2305
2295
  }
@@ -2328,8 +2318,8 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2328
2318
  l("update:modelValue", b.dataModel);
2329
2319
  }
2330
2320
  if (f() && m.key === " " && m.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(m.key)) {
2331
- const b = s(), S = f();
2332
- let k = b.indexOf(S);
2321
+ const b = s(), $ = f();
2322
+ let k = b.indexOf($);
2333
2323
  if (b.length) {
2334
2324
  m.preventDefault(), m.key === "ArrowDown" ? k++ : m.key === "ArrowUp" ? k-- : m.key === "Home" ? k = 0 : m.key === "End" && (k = b.length - 1), k < 0 && (k = b.length - 1), k > b.length - 1 && (k = 0), y(b[k]);
2335
2325
  return;
@@ -2345,7 +2335,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2345
2335
  }
2346
2336
  return te(() => {
2347
2337
  window.addEventListener("keydown", d), u();
2348
- }), Ee(() => {
2338
+ }), ze(() => {
2349
2339
  window.removeEventListener("keydown", d);
2350
2340
  }), t({
2351
2341
  isSelected: a
@@ -2353,7 +2343,7 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2353
2343
  class: "joy-dropdown-list",
2354
2344
  style: ee({ width: `${e.width}px`, "max-width": `${e.width}px` })
2355
2345
  }, [
2356
- m.$slots["dropdown-list-header"] || e.reset ? (c(), v("header", hl, [
2346
+ m.$slots["dropdown-list-header"] || e.reset ? (c(), v("header", pl, [
2357
2347
  e.reset ? (c(), v("button", {
2358
2348
  key: 0,
2359
2349
  type: "button",
@@ -2396,25 +2386,25 @@ const zn = { class: "joy-bottom-sheet_content" }, Jn = { class: "joy-bottom-shee
2396
2386
  "aria-label": b.label,
2397
2387
  ".dataModel": b.value || b.id,
2398
2388
  role: "option",
2399
- onClick: (S) => r(b)
2389
+ onClick: ($) => r(b)
2400
2390
  }, [
2401
2391
  w(m.$slots, "label", W({ ref_for: !0 }, b), () => [
2402
2392
  h("span", null, J(b.label), 1)
2403
2393
  ], !0)
2404
- ], 46, bl))), 128))
2405
- ], 8, gl)) : j("", !0)
2394
+ ], 46, hl))), 128))
2395
+ ], 8, vl)) : j("", !0)
2406
2396
  ], 6),
2407
- m.$slots["dropdown-list-footer"] ? (c(), v("footer", wl, [
2397
+ m.$slots["dropdown-list-footer"] ? (c(), v("footer", gl, [
2408
2398
  w(m.$slots, "dropdown-list-footer", {}, void 0, !0)
2409
2399
  ])) : j("", !0)
2410
2400
  ], 4));
2411
2401
  }
2412
- }), kl = /* @__PURE__ */ B(jl, [["__scopeId", "data-v-7a3292aa"]]);
2413
- function $l(e) {
2402
+ }), wl = /* @__PURE__ */ A(bl, [["__scopeId", "data-v-7a3292aa"]]);
2403
+ function jl(e) {
2414
2404
  const t = () => e();
2415
2405
  te(() => {
2416
2406
  window.addEventListener("resize", t);
2417
- }), Ee(() => {
2407
+ }), ze(() => {
2418
2408
  window.removeEventListener("resize", t);
2419
2409
  });
2420
2410
  }
@@ -2424,7 +2414,7 @@ function Yt(e, t) {
2424
2414
  t && ((n = e.value) == null || n.focus());
2425
2415
  });
2426
2416
  }
2427
- const _l = /* @__PURE__ */ A({
2417
+ const kl = /* @__PURE__ */ B({
2428
2418
  __name: "VJoyDropdown",
2429
2419
  props: {
2430
2420
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -2512,8 +2502,8 @@ const _l = /* @__PURE__ */ A({
2512
2502
  },
2513
2503
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
2514
2504
  setup(e, { expose: t, emit: n }) {
2515
- const l = n, o = e, i = _(!1), a = _(null), r = _(), s = _(null), u = _(null), f = _(!1), d = "joy-dropdown--" + Ze();
2516
- Me("VJoyDropdownContext", o);
2505
+ const l = n, o = e, i = S(!1), a = S(null), r = S(), s = S(null), u = S(null), f = S(!1), d = "joy-dropdown--" + Ze();
2506
+ Ae("VJoyDropdownContext", o);
2517
2507
  const y = {
2518
2508
  ignore: [r, ".joy-dropdown__list", "[data-click-outside-ignore]"]
2519
2509
  };
@@ -2539,7 +2529,7 @@ const _l = /* @__PURE__ */ A({
2539
2529
  function b() {
2540
2530
  f.value = !1, p && clearTimeout(p), i.value = !0, l("dropdown:open");
2541
2531
  }
2542
- function S(x) {
2532
+ function $(x) {
2543
2533
  x.stopPropagation(), i.value ? k() : b(), u.value = x.target;
2544
2534
  }
2545
2535
  function k() {
@@ -2557,7 +2547,7 @@ const _l = /* @__PURE__ */ A({
2557
2547
  function M() {
2558
2548
  !r.value || !r.value.children.length || (r.value.children[0].id = d);
2559
2549
  }
2560
- return $l(g), te(() => {
2550
+ return jl(g), te(() => {
2561
2551
  M();
2562
2552
  }), t({
2563
2553
  showDropdownList: i,
@@ -2575,7 +2565,7 @@ const _l = /* @__PURE__ */ A({
2575
2565
  ref: r,
2576
2566
  class: "joy-dropdown__button",
2577
2567
  "data-testid": "dropdown-trigger",
2578
- onClick: S
2568
+ onClick: $
2579
2569
  }, [
2580
2570
  w(x.$slots, "dropdown-button", {}, void 0, !0)
2581
2571
  ], 512),
@@ -2594,7 +2584,7 @@ const _l = /* @__PURE__ */ A({
2594
2584
  ]),
2595
2585
  style: ee(m.value)
2596
2586
  }, [
2597
- N(kl, {
2587
+ N(wl, {
2598
2588
  "model-value": e.modelValue,
2599
2589
  options: e.options,
2600
2590
  size: e.size,
@@ -2607,9 +2597,9 @@ const _l = /* @__PURE__ */ A({
2607
2597
  "onClose:dropdownList": k,
2608
2598
  onReset: I
2609
2599
  }, dt({
2610
- label: z(($) => [
2611
- w(x.$slots, "dropdown-item", _o(So($)), () => [
2612
- h("span", null, J($.label), 1)
2600
+ label: z((_) => [
2601
+ w(x.$slots, "dropdown-item", _o(So(_)), () => [
2602
+ h("span", null, J(_.label), 1)
2613
2603
  ], !0)
2614
2604
  ]),
2615
2605
  _: 2
@@ -2641,7 +2631,7 @@ const _l = /* @__PURE__ */ A({
2641
2631
  _: 3
2642
2632
  }, 512));
2643
2633
  }
2644
- }), tu = /* @__PURE__ */ B(_l, [["__scopeId", "data-v-91e88e50"]]), Sl = ["aria-hidden"], Cl = { key: 1 }, xl = /* @__PURE__ */ A({
2634
+ }), eu = /* @__PURE__ */ A(kl, [["__scopeId", "data-v-91e88e50"]]), $l = ["aria-hidden"], _l = { key: 1 }, Sl = /* @__PURE__ */ B({
2645
2635
  __name: "VJoyFormError",
2646
2636
  props: {
2647
2637
  /**
@@ -2663,14 +2653,21 @@ const _l = /* @__PURE__ */ A({
2663
2653
  * Error message to display. If you need a list of errors, use the slot instead
2664
2654
  * @deprecated Use the slot instead, or the errors prop.
2665
2655
  */
2666
- noHtmlErrorText: String
2656
+ noHtmlErrorText: String,
2657
+ /**
2658
+ * Allows to remove any bottom margin on the component
2659
+ */
2660
+ noMargin: {
2661
+ type: Boolean,
2662
+ default: !1
2663
+ }
2667
2664
  },
2668
2665
  setup(e) {
2669
2666
  const t = Y();
2670
2667
  return (n, l) => (c(), v("div", {
2671
2668
  "data-joy-form-error": "",
2672
2669
  "aria-hidden": e.visible,
2673
- class: L(["joy-form-error", { "joy-has-error": e.visible }]),
2670
+ class: L(["joy-form-error", { "joy-has-error": e.visible, "joy-form-error--no-margin": e.noMargin }]),
2674
2671
  role: "alert"
2675
2672
  }, [
2676
2673
  N(q, {
@@ -2678,21 +2675,21 @@ const _l = /* @__PURE__ */ A({
2678
2675
  name: "warning-triangle"
2679
2676
  }),
2680
2677
  h("div", null, [
2681
- t.default ? w(n.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", Cl, [
2678
+ t.default ? w(n.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", _l, [
2682
2679
  (c(!0), v(H, null, U(e.errors, (o) => (c(), v("li", { key: o }, J(o), 1))), 128))
2683
2680
  ])) : (c(), v(H, { key: 2 }, [
2684
2681
  R(J(e.noHtmlErrorText), 1)
2685
2682
  ], 64))
2686
2683
  ])
2687
- ], 10, Sl));
2684
+ ], 10, $l));
2688
2685
  }
2689
- }), mt = /* @__PURE__ */ B(xl, [["__scopeId", "data-v-ff064142"]]), Vl = { class: "joy-dropzone__icon-wrapper" }, Tl = /* @__PURE__ */ A({
2686
+ }), mt = /* @__PURE__ */ A(Sl, [["__scopeId", "data-v-de16f6d9"]]), Cl = { class: "joy-dropzone__icon-wrapper" }, xl = /* @__PURE__ */ B({
2690
2687
  __name: "VJoyDropzoneIcon",
2691
2688
  props: {
2692
2689
  name: { type: String, required: !0 }
2693
2690
  },
2694
2691
  setup(e) {
2695
- return (t, n) => (c(), v("div", Vl, [
2692
+ return (t, n) => (c(), v("div", Cl, [
2696
2693
  N(q, {
2697
2694
  "aria-hidden": "true",
2698
2695
  name: e.name,
@@ -2700,19 +2697,20 @@ const _l = /* @__PURE__ */ A({
2700
2697
  }, null, 8, ["name"])
2701
2698
  ]));
2702
2699
  }
2703
- }), Kt = /* @__PURE__ */ B(Tl, [["__scopeId", "data-v-5a2d1889"]]), Ll = { class: "joy-dropzone__file__description" }, Il = { class: "joy-dropzone__file__name" }, Al = {
2700
+ }), Kt = /* @__PURE__ */ A(xl, [["__scopeId", "data-v-5a2d1889"]]), Vl = { class: "joy-dropzone__file__description" }, Tl = { class: "joy-dropzone__file__name" }, Ll = {
2704
2701
  key: 0,
2705
2702
  class: "joy-dropzone__file__information"
2706
- }, Bl = {
2703
+ }, Il = {
2707
2704
  key: 1,
2708
2705
  class: "joy-dropzone__file__error"
2709
- }, El = /* @__PURE__ */ A({
2706
+ }, Bl = /* @__PURE__ */ B({
2710
2707
  __name: "VJoyDropzoneFileItem",
2711
2708
  props: {
2712
2709
  file: {},
2713
2710
  deleteLabel: {},
2714
2711
  updateLabel: {},
2715
- error: {}
2712
+ error: {},
2713
+ canDelete: { type: Boolean, default: !0 }
2716
2714
  },
2717
2715
  emits: ["delete", "update"],
2718
2716
  setup(e) {
@@ -2731,12 +2729,12 @@ const _l = /* @__PURE__ */ A({
2731
2729
  name: "file-check",
2732
2730
  class: "joy-dropzone__file__icon"
2733
2731
  }),
2734
- h("div", Ll, [
2735
- h("span", Il, J(n.file.name), 1),
2736
- t.information ? (c(), v("div", Al, [
2732
+ h("div", Vl, [
2733
+ h("span", Tl, J(n.file.name), 1),
2734
+ t.information ? (c(), v("div", Ll, [
2737
2735
  w(l.$slots, "information", { file: e.file }, void 0, !0)
2738
2736
  ])) : j("", !0),
2739
- e.error ? (c(), v("p", Bl, J(e.error), 1)) : j("", !0)
2737
+ e.error ? (c(), v("p", Il, J(e.error), 1)) : j("", !0)
2740
2738
  ]),
2741
2739
  N(ie, {
2742
2740
  "column-gap": "1",
@@ -2748,22 +2746,23 @@ const _l = /* @__PURE__ */ A({
2748
2746
  w(l.$slots, "actions", { file: e.file }, void 0, !0),
2749
2747
  N(ne, {
2750
2748
  circle: "",
2751
- size: "small",
2749
+ size: "medium",
2752
2750
  variant: "ghost",
2753
2751
  icon: "pen",
2754
2752
  title: e.updateLabel,
2755
2753
  "aria-label": e.updateLabel,
2756
2754
  onClick: o[0] || (o[0] = (i) => l.$emit("update"))
2757
2755
  }, null, 8, ["title", "aria-label"]),
2758
- N(ne, {
2756
+ e.canDelete ? (c(), V(ne, {
2757
+ key: 0,
2759
2758
  circle: "",
2760
- size: "small",
2759
+ size: "medium",
2761
2760
  variant: "ghost",
2762
2761
  icon: "trash",
2763
2762
  title: e.deleteLabel,
2764
2763
  "aria-label": e.deleteLabel,
2765
2764
  onClick: o[1] || (o[1] = (i) => l.$emit("delete"))
2766
- }, null, 8, ["title", "aria-label"])
2765
+ }, null, 8, ["title", "aria-label"])) : j("", !0)
2767
2766
  ]),
2768
2767
  _: 3
2769
2768
  })
@@ -2771,13 +2770,13 @@ const _l = /* @__PURE__ */ A({
2771
2770
  _: 3
2772
2771
  }));
2773
2772
  }
2774
- }), zl = /* @__PURE__ */ B(El, [["__scopeId", "data-v-791af482"]]), Jl = ["name", "accept", "multiple"], Pl = ["for"], Ml = {
2773
+ }), Al = /* @__PURE__ */ A(Bl, [["__scopeId", "data-v-0dcc3f7e"]]), El = ["name", "accept", "multiple"], zl = ["for"], Jl = {
2775
2774
  key: 0,
2776
2775
  class: "joy-dropzone__files"
2777
- }, Ol = { class: "joy-dropzone__instruction__text" }, Fl = {
2776
+ }, Pl = { class: "joy-dropzone__instruction__text" }, Ml = {
2778
2777
  key: 0,
2779
2778
  class: "joy-dropzone__legend"
2780
- }, Dl = /* @__PURE__ */ A({
2779
+ }, Ol = /* @__PURE__ */ B({
2781
2780
  __name: "VJoyDropzone",
2782
2781
  props: /* @__PURE__ */ Co({
2783
2782
  name: {},
@@ -2788,29 +2787,30 @@ const _l = /* @__PURE__ */ A({
2788
2787
  updateLabel: { default: "Update this file" },
2789
2788
  errorTextFormat: { default: "This format is not supported" },
2790
2789
  errorTextMaxSize: { default: (e) => `The file is over ${e.maxSize}MB. Upload a file smaller than ${e.maxSize}MB.` },
2791
- errorTextFormatAndMaxSize: { default: (e) => `The file format isn't correct and is over ${e.maxSize}MB. Upload a file smaller than ${e.maxSize}MB.` }
2790
+ errorTextFormatAndMaxSize: { default: (e) => `The file format isn't correct and is over ${e.maxSize}MB. Upload a file smaller than ${e.maxSize}MB.` },
2791
+ canDelete: { type: Boolean, default: !0 }
2792
2792
  }, {
2793
2793
  modelValue: { required: !0 },
2794
2794
  modelModifiers: {}
2795
2795
  }),
2796
2796
  emits: ["update:modelValue"],
2797
2797
  setup(e, { expose: t }) {
2798
- const n = Y(), l = e, o = xo(e, "modelValue"), i = _(m(o.value)), a = _(), r = _(), s = _(), { isOverDropZone: u } = Cn(r, {
2798
+ const n = Y(), l = e, o = xo(e, "modelValue"), i = S(m(o.value)), a = S(), r = S(), s = S(), { isOverDropZone: u } = _n(r, {
2799
2799
  onDrop: T
2800
- }), f = C(() => o.value.filter(($) => $ instanceof File)), d = C(() => l.multiple || f.value.length === 0 ? void 0 : g(f.value[0]));
2801
- function y($) {
2802
- return l.accept.length > 0 ? l.accept.includes($.type) : !0;
2800
+ }), f = C(() => o.value.filter((_) => _ instanceof File)), d = C(() => l.multiple || f.value.length === 0 ? void 0 : g(f.value[0]));
2801
+ function y(_) {
2802
+ return l.accept.length > 0 ? l.accept.includes(_.type) : !0;
2803
2803
  }
2804
- function p($) {
2805
- return $.size < l.maxSize * 1024 * 1024;
2804
+ function p(_) {
2805
+ return _.size < l.maxSize * 1024 * 1024;
2806
2806
  }
2807
- function m($) {
2808
- return $.filter((F) => F instanceof File).some((F) => !y(F) || !p(F));
2807
+ function m(_) {
2808
+ return _.filter((F) => F instanceof File).some((F) => !y(F) || !p(F));
2809
2809
  }
2810
- function g($) {
2811
- if (!($ instanceof File))
2810
+ function g(_) {
2811
+ if (!(_ instanceof File))
2812
2812
  return;
2813
- const P = y($), F = p($);
2813
+ const P = y(_), F = p(_);
2814
2814
  if (!P && !F)
2815
2815
  return l.errorTextFormatAndMaxSize;
2816
2816
  if (!P)
@@ -2821,39 +2821,39 @@ const _l = /* @__PURE__ */ A({
2821
2821
  function b() {
2822
2822
  a.value = void 0, s.value && s.value.click();
2823
2823
  }
2824
- function S() {
2824
+ function $() {
2825
2825
  s.value && (s.value.value = "");
2826
2826
  }
2827
- function k($) {
2827
+ function k(_) {
2828
2828
  var F;
2829
- const P = (F = $.target) == null ? void 0 : F.files;
2829
+ const P = (F = _.target) == null ? void 0 : F.files;
2830
2830
  !P || P.length === 0 || (a.value ? (O(a.value, Array.from(P)), a.value = void 0) : x(Array.from(P)));
2831
2831
  }
2832
- function T($) {
2833
- !$ || $.length === 0 || (a.value = void 0, x($));
2832
+ function T(_) {
2833
+ !_ || _.length === 0 || (a.value = void 0, x(_));
2834
2834
  }
2835
- function E($) {
2836
- a.value = $, s.value && s.value.click();
2835
+ function E(_) {
2836
+ a.value = _, s.value && s.value.click();
2837
2837
  }
2838
- function I($) {
2839
- i.value = m($), o.value = $;
2838
+ function I(_) {
2839
+ i.value = m(_), o.value = _;
2840
2840
  }
2841
- function M($) {
2842
- I(o.value.filter((P) => P !== $));
2841
+ function M(_) {
2842
+ I(o.value.filter((P) => P !== _));
2843
2843
  }
2844
- function x($) {
2845
- l.multiple ? I([...o.value, ...$]) : I([$[0]]);
2844
+ function x(_) {
2845
+ l.multiple ? I([...o.value, ..._]) : I([_[0]]);
2846
2846
  }
2847
- function O($, [P, ...F]) {
2847
+ function O(_, [P, ...F]) {
2848
2848
  if (l.multiple) {
2849
2849
  const K = [...o.value];
2850
- K[o.value.indexOf($)] = P, K.push(...F), I(K);
2850
+ K[o.value.indexOf(_)] = P, K.push(...F), I(K);
2851
2851
  } else
2852
2852
  I([P]);
2853
2853
  }
2854
2854
  return t({
2855
2855
  invalid: i
2856
- }), ($, P) => (c(), v("div", {
2856
+ }), (_, P) => (c(), v("div", {
2857
2857
  class: L(["joy-dropzone", {
2858
2858
  "joy-dropzone--dragover": D(u),
2859
2859
  "joy-dropzone--invalid": i.value,
@@ -2874,37 +2874,38 @@ const _l = /* @__PURE__ */ A({
2874
2874
  multiple: e.multiple,
2875
2875
  tabindex: "-1",
2876
2876
  onChange: k,
2877
- onClick: S
2878
- }, null, 40, Jl),
2877
+ onClick: $
2878
+ }, null, 40, El),
2879
2879
  h("label", {
2880
2880
  for: e.name,
2881
2881
  class: "joy-dropzone__label"
2882
2882
  }, [
2883
- o.value.length > 0 ? (c(), v("div", Ml, [
2884
- (c(!0), v(H, null, U(o.value, (F, K) => (c(), V(zl, {
2883
+ o.value.length > 0 ? (c(), v("div", Jl, [
2884
+ (c(!0), v(H, null, U(o.value, (F, K) => (c(), V(Al, {
2885
2885
  key: `${F.name}_${K}`,
2886
2886
  file: F,
2887
2887
  error: e.multiple ? g(F) : void 0,
2888
2888
  "update-label": e.updateLabel,
2889
2889
  "delete-label": e.deleteLabel,
2890
+ "can-delete": e.canDelete,
2890
2891
  onUpdate: (se) => E(F),
2891
2892
  onDelete: (se) => M(F)
2892
2893
  }, dt({ _: 2 }, [
2893
2894
  n["file-information"] ? {
2894
2895
  name: "information",
2895
2896
  fn: z(() => [
2896
- w($.$slots, "file-information", { file: F }, void 0, !0)
2897
+ w(_.$slots, "file-information", { file: F }, void 0, !0)
2897
2898
  ]),
2898
2899
  key: "0"
2899
2900
  } : void 0,
2900
2901
  n["file-actions"] ? {
2901
2902
  name: "actions",
2902
2903
  fn: z(() => [
2903
- w($.$slots, "file-actions", { file: F }, void 0, !0)
2904
+ w(_.$slots, "file-actions", { file: F }, void 0, !0)
2904
2905
  ]),
2905
2906
  key: "1"
2906
2907
  } : void 0
2907
- ]), 1032, ["file", "error", "update-label", "delete-label", "onUpdate", "onDelete"]))), 128))
2908
+ ]), 1032, ["file", "error", "update-label", "delete-label", "can-delete", "onUpdate", "onDelete"]))), 128))
2908
2909
  ])) : j("", !0),
2909
2910
  o.value.length === 0 || e.multiple ? (c(), V(ie, {
2910
2911
  key: 1,
@@ -2918,18 +2919,18 @@ const _l = /* @__PURE__ */ A({
2918
2919
  name: "add",
2919
2920
  class: "joy-dropzone__instruction__icon"
2920
2921
  }),
2921
- h("p", Ol, [
2922
- w($.$slots, "dropzone-description", {}, () => [
2922
+ h("p", Pl, [
2923
+ w(_.$slots, "dropzone-description", {}, () => [
2923
2924
  P[0] || (P[0] = R("Drop your file here or click here", -1))
2924
2925
  ], !0)
2925
2926
  ])
2926
2927
  ]),
2927
2928
  _: 3
2928
2929
  })) : j("", !0)
2929
- ], 8, Pl)
2930
+ ], 8, zl)
2930
2931
  ], 512),
2931
- n["dropzone-legend"] ? (c(), v("div", Fl, [
2932
- w($.$slots, "dropzone-legend", {}, void 0, !0)
2932
+ n["dropzone-legend"] ? (c(), v("div", Ml, [
2933
+ w(_.$slots, "dropzone-legend", {}, void 0, !0)
2933
2934
  ])) : j("", !0),
2934
2935
  d.value ? (c(), V(mt, {
2935
2936
  key: 1,
@@ -2938,7 +2939,7 @@ const _l = /* @__PURE__ */ A({
2938
2939
  }, null, 8, ["no-html-error-text"])) : j("", !0)
2939
2940
  ], 2));
2940
2941
  }
2941
- }), ou = /* @__PURE__ */ B(Dl, [["__scopeId", "data-v-b2a432e4"]]), Rl = ["aria-label"], Nl = { class: "joy-filter-bar__wrapper" }, ql = /* @__PURE__ */ A({
2942
+ }), tu = /* @__PURE__ */ A(Ol, [["__scopeId", "data-v-3c9052aa"]]), Fl = ["aria-label"], Dl = { class: "joy-filter-bar__wrapper" }, Rl = /* @__PURE__ */ B({
2942
2943
  __name: "VJoyFilterBar",
2943
2944
  props: {
2944
2945
  /** To give a label to the whole component */
@@ -2950,12 +2951,12 @@ const _l = /* @__PURE__ */ A({
2950
2951
  role: "group",
2951
2952
  "aria-label": e.ariaLabel || "Filter bar"
2952
2953
  }, [
2953
- h("div", Nl, [
2954
+ h("div", Dl, [
2954
2955
  w(t.$slots, "default", {}, void 0, !0)
2955
2956
  ])
2956
- ], 8, Rl));
2957
+ ], 8, Fl));
2957
2958
  }
2958
- }), nu = /* @__PURE__ */ B(ql, [["__scopeId", "data-v-cb769d05"]]), Hl = /* @__PURE__ */ A({
2959
+ }), ou = /* @__PURE__ */ A(Rl, [["__scopeId", "data-v-cb769d05"]]), Nl = /* @__PURE__ */ B({
2959
2960
  __name: "VJoyFilterBarButton",
2960
2961
  props: {
2961
2962
  /** Label to inject inside the button */
@@ -2972,7 +2973,7 @@ const _l = /* @__PURE__ */ A({
2972
2973
  },
2973
2974
  emits: ["filter"],
2974
2975
  setup(e, { emit: t }) {
2975
- const n = e, l = t, o = be("VJoyDropdownContext", null);
2976
+ const n = e, l = t, o = de("VJoyDropdownContext", null);
2976
2977
  function i() {
2977
2978
  l("filter", n.value);
2978
2979
  }
@@ -2993,7 +2994,7 @@ const _l = /* @__PURE__ */ A({
2993
2994
  })) : j("", !0)
2994
2995
  ], 2));
2995
2996
  }
2996
- }), lu = /* @__PURE__ */ B(Hl, [["__scopeId", "data-v-ef875842"]]), Wl = /* @__PURE__ */ A({
2997
+ }), nu = /* @__PURE__ */ A(Nl, [["__scopeId", "data-v-ef875842"]]), ql = /* @__PURE__ */ B({
2997
2998
  __name: "VJoyFormFieldSkeleton",
2998
2999
  props: {
2999
3000
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3013,7 +3014,7 @@ const _l = /* @__PURE__ */ A({
3013
3014
  }
3014
3015
  },
3015
3016
  setup(e, { expose: t }) {
3016
- const n = e, l = be("VJoyWrapperContext", {}), o = C(() => {
3017
+ const n = e, l = de("VJoyWrapperContext", {}), o = C(() => {
3017
3018
  const i = l.direction === "column" ? "auto" : null;
3018
3019
  if (!n.width && n.flex === "1") {
3019
3020
  const s = ["1", "0"];
@@ -3031,7 +3032,7 @@ const _l = /* @__PURE__ */ A({
3031
3032
  })
3032
3033
  }, null, 6));
3033
3034
  }
3034
- }), au = /* @__PURE__ */ B(Wl, [["__scopeId", "data-v-3004f370"]]), Ul = { class: "joy-funnel__header" }, Gl = { class: "funnel__header__inner" }, Yl = /* @__PURE__ */ A({
3035
+ }), lu = /* @__PURE__ */ A(ql, [["__scopeId", "data-v-3004f370"]]), Hl = { class: "joy-funnel__header" }, Wl = { class: "funnel__header__inner" }, Ul = /* @__PURE__ */ B({
3035
3036
  __name: "VJoyFunnel",
3036
3037
  props: {
3037
3038
  /**
@@ -3051,8 +3052,8 @@ const _l = /* @__PURE__ */ A({
3051
3052
  }
3052
3053
  },
3053
3054
  setup(e, { expose: t }) {
3054
- const n = _(!0), l = Y(), o = _(!0);
3055
- Me("VJoyStepperShowLabels", o);
3055
+ const n = S(!0), l = Y(), o = S(!0);
3056
+ Ae("VJoyStepperShowLabels", o);
3056
3057
  function i(s) {
3057
3058
  const u = s.currentTarget;
3058
3059
  n.value = u.scrollTop === 0, a.value && !n.value ? o.value = !1 : a.value && n.value && (o.value = !0);
@@ -3070,8 +3071,8 @@ const _l = /* @__PURE__ */ A({
3070
3071
  }
3071
3072
  ])
3072
3073
  }, [
3073
- h("div", Ul, [
3074
- h("div", Gl, [
3074
+ h("div", Hl, [
3075
+ h("div", Wl, [
3075
3076
  w(s.$slots, "funnel-header", {}, void 0, !0)
3076
3077
  ])
3077
3078
  ]),
@@ -3085,7 +3086,7 @@ const _l = /* @__PURE__ */ A({
3085
3086
  }
3086
3087
  ])
3087
3088
  }, [...u[0] || (u[0] = [
3088
- Ot('<div class="shapes__wrapper" data-v-e2fccb79><div class="shape_1" data-v-e2fccb79></div><div class="shape_2" data-v-e2fccb79></div><div class="shape_3" data-v-e2fccb79></div><div class="shape_4" data-v-e2fccb79></div></div>', 1)
3089
+ Mt('<div class="shapes__wrapper" data-v-e2fccb79><div class="shape_1" data-v-e2fccb79></div><div class="shape_2" data-v-e2fccb79></div><div class="shape_3" data-v-e2fccb79></div><div class="shape_4" data-v-e2fccb79></div></div>', 1)
3089
3090
  ])], 2)),
3090
3091
  h("div", {
3091
3092
  class: L(["joy-funnel__stepper", { "joy-funnel__stepper--medium": e.layoutWidth === "medium" }])
@@ -3104,31 +3105,31 @@ const _l = /* @__PURE__ */ A({
3104
3105
  ], 32)
3105
3106
  ], 2));
3106
3107
  }
3107
- }), iu = /* @__PURE__ */ B(Yl, [["__scopeId", "data-v-e2fccb79"]]), Kl = { class: "joy-funnel-footer" }, Zl = { class: "joy-funnel-footer__left" }, Xl = { class: "joy-funnel-footer__right" }, Ql = /* @__PURE__ */ A({
3108
+ }), au = /* @__PURE__ */ A(Ul, [["__scopeId", "data-v-e2fccb79"]]), Gl = { class: "joy-funnel-footer" }, Yl = { class: "joy-funnel-footer__left" }, Kl = { class: "joy-funnel-footer__right" }, Zl = /* @__PURE__ */ B({
3108
3109
  __name: "VJoyFunnelFooter",
3109
3110
  setup(e) {
3110
- return (t, n) => (c(), v("footer", Kl, [
3111
- h("div", Zl, [
3111
+ return (t, n) => (c(), v("footer", Gl, [
3112
+ h("div", Yl, [
3112
3113
  w(t.$slots, "footer-left", {}, void 0, !0)
3113
3114
  ]),
3114
- h("div", Xl, [
3115
+ h("div", Kl, [
3115
3116
  w(t.$slots, "footer-right", {}, void 0, !0)
3116
3117
  ])
3117
3118
  ]));
3118
3119
  }
3119
- }), ru = /* @__PURE__ */ B(Ql, [["__scopeId", "data-v-bdeeb2bd"]]), ea = { class: "joy-funnel-header" }, ta = { class: "joy-funnel-header__left" }, oa = { class: "joy-funnel-header__right" }, na = /* @__PURE__ */ A({
3120
+ }), iu = /* @__PURE__ */ A(Zl, [["__scopeId", "data-v-bdeeb2bd"]]), Xl = { class: "joy-funnel-header" }, Ql = { class: "joy-funnel-header__left" }, ea = { class: "joy-funnel-header__right" }, ta = /* @__PURE__ */ B({
3120
3121
  __name: "VJoyFunnelHeader",
3121
3122
  setup(e) {
3122
- return (t, n) => (c(), v("header", ea, [
3123
- h("div", ta, [
3123
+ return (t, n) => (c(), v("header", Xl, [
3124
+ h("div", Ql, [
3124
3125
  w(t.$slots, "funnel-header-left", {}, void 0, !0)
3125
3126
  ]),
3126
- h("div", oa, [
3127
+ h("div", ea, [
3127
3128
  w(t.$slots, "funnel-header-right", {}, void 0, !0)
3128
3129
  ])
3129
3130
  ]));
3130
3131
  }
3131
- }), su = /* @__PURE__ */ B(na, [["__scopeId", "data-v-e423038b"]]), la = { class: "joy-highlight__decorator" }, aa = { class: "joy-highlight__text" }, ia = { key: 0 }, ra = /* @__PURE__ */ A({
3132
+ }), ru = /* @__PURE__ */ A(ta, [["__scopeId", "data-v-e423038b"]]), oa = { class: "joy-highlight__decorator" }, na = { class: "joy-highlight__text" }, la = { key: 0 }, aa = /* @__PURE__ */ B({
3132
3133
  __name: "VJoyHighlight",
3133
3134
  props: {
3134
3135
  accent: {
@@ -3155,7 +3156,7 @@ const _l = /* @__PURE__ */ A({
3155
3156
  }
3156
3157
  },
3157
3158
  setup(e, { expose: t }) {
3158
- const n = e, l = C(() => n.icon ? n.icon : Dt(n.level));
3159
+ const n = e, l = C(() => n.icon ? n.icon : Ft(n.level));
3159
3160
  return t({
3160
3161
  getRelevantIcon: l
3161
3162
  }), (o, i) => (c(), v("div", {
@@ -3169,7 +3170,7 @@ const _l = /* @__PURE__ */ A({
3169
3170
  }
3170
3171
  ])
3171
3172
  }, [
3172
- h("div", la, [
3173
+ h("div", oa, [
3173
3174
  w(o.$slots, "highlight-decorator", {}, () => [
3174
3175
  e.displayIcon ? (c(), V(q, {
3175
3176
  key: 0,
@@ -3177,15 +3178,15 @@ const _l = /* @__PURE__ */ A({
3177
3178
  }, null, 8, ["name"])) : j("", !0)
3178
3179
  ], !0)
3179
3180
  ]),
3180
- h("div", aa, [
3181
- o.$slots["highlight-title"] ? (c(), v("strong", ia, [
3181
+ h("div", na, [
3182
+ o.$slots["highlight-title"] ? (c(), v("strong", la, [
3182
3183
  w(o.$slots, "highlight-title", {}, void 0, !0)
3183
3184
  ])) : j("", !0),
3184
3185
  w(o.$slots, "default", {}, void 0, !0)
3185
3186
  ])
3186
3187
  ], 2));
3187
3188
  }
3188
- }), uu = /* @__PURE__ */ B(ra, [["__scopeId", "data-v-e5c2ff23"]]), sa = ["aria-label"], ua = /* @__PURE__ */ A({
3189
+ }), su = /* @__PURE__ */ A(aa, [["__scopeId", "data-v-e5c2ff23"]]), ia = ["aria-label"], ra = /* @__PURE__ */ B({
3189
3190
  __name: "VJoyIndicator",
3190
3191
  props: {
3191
3192
  /** Value is used for the parent v-model. Mandatory */
@@ -3215,10 +3216,10 @@ const _l = /* @__PURE__ */ A({
3215
3216
  type: "button",
3216
3217
  class: L(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3217
3218
  "aria-label": e.ariaLabel || e.value.toString()
3218
- }, null, 10, sa)
3219
+ }, null, 10, ia)
3219
3220
  ], 2));
3220
3221
  }
3221
- }), ca = /* @__PURE__ */ B(ua, [["__scopeId", "data-v-5fbd653e"]]), da = /* @__PURE__ */ A({
3222
+ }), sa = /* @__PURE__ */ A(ra, [["__scopeId", "data-v-5fbd653e"]]), ua = /* @__PURE__ */ B({
3222
3223
  __name: "VJoyIndicators",
3223
3224
  props: {
3224
3225
  variant: {
@@ -3231,7 +3232,7 @@ const _l = /* @__PURE__ */ A({
3231
3232
  },
3232
3233
  emits: ["update:modelValue"],
3233
3234
  setup(e, { expose: t, emit: n }) {
3234
- const l = e, o = n, i = Y(), a = _(l.modelValue), r = C(() => {
3235
+ const l = e, o = n, i = Y(), a = S(l.modelValue), r = C(() => {
3235
3236
  const d = i.default();
3236
3237
  return d.length === 1 && typeof d[0].type != "object" ? d[0].children.filter(u) : d.filter(u);
3237
3238
  });
@@ -3256,7 +3257,7 @@ const _l = /* @__PURE__ */ A({
3256
3257
  }), (d, y) => (c(), v("ul", {
3257
3258
  class: L(["joy-indicators", `joy-indicators--${e.variant}`])
3258
3259
  }, [
3259
- (c(!0), v(H, null, U(r.value, (p) => (c(), V(ca, W({
3260
+ (c(!0), v(H, null, U(r.value, (p) => (c(), V(sa, W({
3260
3261
  key: p.props.value
3261
3262
  }, { ref_for: !0 }, { ...p.props, variant: e.variant }, {
3262
3263
  selected: s(p),
@@ -3264,22 +3265,22 @@ const _l = /* @__PURE__ */ A({
3264
3265
  }), null, 16, ["selected", "onClick"]))), 128))
3265
3266
  ], 2));
3266
3267
  }
3267
- }), cu = /* @__PURE__ */ B(da, [["__scopeId", "data-v-f2dd63e9"]]), lt = Math.min, fa = Math.max, ya = {
3268
+ }), uu = /* @__PURE__ */ A(ua, [["__scopeId", "data-v-f2dd63e9"]]), lt = Math.min, ca = Math.max, da = {
3268
3269
  left: "right",
3269
3270
  right: "left",
3270
3271
  bottom: "top",
3271
3272
  top: "bottom"
3272
- }, ma = {
3273
+ }, fa = {
3273
3274
  start: "end",
3274
3275
  end: "start"
3275
3276
  };
3276
3277
  function at(e, t, n) {
3277
- return fa(e, lt(t, n));
3278
+ return ca(e, lt(t, n));
3278
3279
  }
3279
3280
  function _e(e, t) {
3280
3281
  return typeof e == "function" ? e(t) : e;
3281
3282
  }
3282
- function ve(e) {
3283
+ function he(e) {
3283
3284
  return e.split("-")[0];
3284
3285
  }
3285
3286
  function De(e) {
@@ -3292,25 +3293,25 @@ function vt(e) {
3292
3293
  return e === "y" ? "height" : "width";
3293
3294
  }
3294
3295
  function Se(e) {
3295
- return ["top", "bottom"].includes(ve(e)) ? "y" : "x";
3296
+ return ["top", "bottom"].includes(he(e)) ? "y" : "x";
3296
3297
  }
3297
3298
  function ht(e) {
3298
3299
  return pt(Se(e));
3299
3300
  }
3300
- function pa(e, t, n) {
3301
+ function ya(e, t, n) {
3301
3302
  n === void 0 && (n = !1);
3302
3303
  const l = De(e), o = ht(e), i = vt(o);
3303
3304
  let a = o === "x" ? l === (n ? "end" : "start") ? "right" : "left" : l === "start" ? "bottom" : "top";
3304
3305
  return t.reference[i] > t.floating[i] && (a = Ue(a)), [a, Ue(a)];
3305
3306
  }
3306
- function va(e) {
3307
+ function ma(e) {
3307
3308
  const t = Ue(e);
3308
3309
  return [it(e), t, it(t)];
3309
3310
  }
3310
3311
  function it(e) {
3311
- return e.replace(/start|end/g, (t) => ma[t]);
3312
+ return e.replace(/start|end/g, (t) => fa[t]);
3312
3313
  }
3313
- function ha(e, t, n) {
3314
+ function pa(e, t, n) {
3314
3315
  const l = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], a = ["bottom", "top"];
3315
3316
  switch (e) {
3316
3317
  case "top":
@@ -3323,15 +3324,15 @@ function ha(e, t, n) {
3323
3324
  return [];
3324
3325
  }
3325
3326
  }
3326
- function ga(e, t, n, l) {
3327
+ function va(e, t, n, l) {
3327
3328
  const o = De(e);
3328
- let i = ha(ve(e), n === "start", l);
3329
+ let i = pa(he(e), n === "start", l);
3329
3330
  return o && (i = i.map((a) => a + "-" + o), t && (i = i.concat(i.map(it)))), i;
3330
3331
  }
3331
3332
  function Ue(e) {
3332
- return e.replace(/left|right|bottom|top/g, (t) => ya[t]);
3333
+ return e.replace(/left|right|bottom|top/g, (t) => da[t]);
3333
3334
  }
3334
- function ba(e) {
3335
+ function ha(e) {
3335
3336
  return {
3336
3337
  top: 0,
3337
3338
  right: 0,
@@ -3341,7 +3342,7 @@ function ba(e) {
3341
3342
  };
3342
3343
  }
3343
3344
  function Zt(e) {
3344
- return typeof e != "number" ? ba(e) : {
3345
+ return typeof e != "number" ? ha(e) : {
3345
3346
  top: e,
3346
3347
  right: e,
3347
3348
  bottom: e,
@@ -3366,12 +3367,12 @@ function Ge(e) {
3366
3367
  y: n
3367
3368
  };
3368
3369
  }
3369
- function Vt(e, t, n) {
3370
+ function xt(e, t, n) {
3370
3371
  let {
3371
3372
  reference: l,
3372
3373
  floating: o
3373
3374
  } = e;
3374
- const i = Se(t), a = ht(t), r = vt(a), s = ve(t), u = i === "y", f = l.x + l.width / 2 - o.width / 2, d = l.y + l.height / 2 - o.height / 2, y = l[r] / 2 - o[r] / 2;
3375
+ const i = Se(t), a = ht(t), r = vt(a), s = he(t), u = i === "y", f = l.x + l.width / 2 - o.width / 2, d = l.y + l.height / 2 - o.height / 2, y = l[r] / 2 - o[r] / 2;
3375
3376
  let p;
3376
3377
  switch (s) {
3377
3378
  case "top":
@@ -3414,7 +3415,7 @@ function Vt(e, t, n) {
3414
3415
  }
3415
3416
  return p;
3416
3417
  }
3417
- const wa = async (e, t, n) => {
3418
+ const ga = async (e, t, n) => {
3418
3419
  const {
3419
3420
  placement: l = "bottom",
3420
3421
  strategy: o = "absolute",
@@ -3428,17 +3429,17 @@ const wa = async (e, t, n) => {
3428
3429
  }), {
3429
3430
  x: f,
3430
3431
  y: d
3431
- } = Vt(u, l, s), y = l, p = {}, m = 0;
3432
+ } = xt(u, l, s), y = l, p = {}, m = 0;
3432
3433
  for (let g = 0; g < r.length; g++) {
3433
3434
  const {
3434
3435
  name: b,
3435
- fn: S
3436
+ fn: $
3436
3437
  } = r[g], {
3437
3438
  x: k,
3438
3439
  y: T,
3439
3440
  data: E,
3440
3441
  reset: I
3441
- } = await S({
3442
+ } = await $({
3442
3443
  x: f,
3443
3444
  y: d,
3444
3445
  initialPlacement: l,
@@ -3465,7 +3466,7 @@ const wa = async (e, t, n) => {
3465
3466
  }) : I.rects), {
3466
3467
  x: f,
3467
3468
  y: d
3468
- } = Vt(u, y, s)), g = -1);
3469
+ } = xt(u, y, s)), g = -1);
3469
3470
  }
3470
3471
  return {
3471
3472
  x: f,
@@ -3491,7 +3492,7 @@ async function Xt(e, t) {
3491
3492
  elementContext: d = "floating",
3492
3493
  altBoundary: y = !1,
3493
3494
  padding: p = 0
3494
- } = _e(t, e), m = Zt(p), b = r[y ? d === "floating" ? "reference" : "floating" : d], S = Ge(await i.getClippingRect({
3495
+ } = _e(t, e), m = Zt(p), b = r[y ? d === "floating" ? "reference" : "floating" : d], $ = Ge(await i.getClippingRect({
3495
3496
  element: (n = await (i.isElement == null ? void 0 : i.isElement(b))) == null || n ? b : b.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(r.floating)),
3496
3497
  boundary: u,
3497
3498
  rootBoundary: f,
@@ -3514,13 +3515,13 @@ async function Xt(e, t) {
3514
3515
  strategy: s
3515
3516
  }) : k);
3516
3517
  return {
3517
- top: (S.top - I.top + m.top) / E.y,
3518
- bottom: (I.bottom - S.bottom + m.bottom) / E.y,
3519
- left: (S.left - I.left + m.left) / E.x,
3520
- right: (I.right - S.right + m.right) / E.x
3518
+ top: ($.top - I.top + m.top) / E.y,
3519
+ bottom: (I.bottom - $.bottom + m.bottom) / E.y,
3520
+ left: ($.left - I.left + m.left) / E.x,
3521
+ right: (I.right - $.right + m.right) / E.x
3521
3522
  };
3522
3523
  }
3523
- const ja = (e) => ({
3524
+ const ba = (e) => ({
3524
3525
  name: "arrow",
3525
3526
  options: e,
3526
3527
  async fn(t) {
@@ -3541,10 +3542,10 @@ const ja = (e) => ({
3541
3542
  const d = Zt(f), y = {
3542
3543
  x: n,
3543
3544
  y: l
3544
- }, p = ht(o), m = vt(p), g = await a.getDimensions(u), b = p === "y", S = b ? "top" : "left", k = b ? "bottom" : "right", T = b ? "clientHeight" : "clientWidth", E = i.reference[m] + i.reference[p] - y[p] - i.floating[m], I = y[p] - i.reference[p], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
3545
+ }, p = ht(o), m = vt(p), g = await a.getDimensions(u), b = p === "y", $ = b ? "top" : "left", k = b ? "bottom" : "right", T = b ? "clientHeight" : "clientWidth", E = i.reference[m] + i.reference[p] - y[p] - i.floating[m], I = y[p] - i.reference[p], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
3545
3546
  let x = M ? M[T] : 0;
3546
3547
  (!x || !await (a.isElement == null ? void 0 : a.isElement(M))) && (x = r.floating[T] || i.floating[m]);
3547
- const O = E / 2 - I / 2, $ = x / 2 - g[m] / 2 - 1, P = lt(d[S], $), F = lt(d[k], $), K = P, se = x - g[m] - F, Q = x / 2 - g[m] / 2 + O, xe = at(K, Q, se), ue = !s.arrow && De(o) != null && Q !== xe && i.reference[m] / 2 - (Q < K ? P : F) - g[m] / 2 < 0, ae = ue ? Q < K ? Q - K : Q - se : 0;
3548
+ const O = E / 2 - I / 2, _ = x / 2 - g[m] / 2 - 1, P = lt(d[$], _), F = lt(d[k], _), K = P, se = x - g[m] - F, Q = x / 2 - g[m] / 2 + O, xe = at(K, Q, se), ue = !s.arrow && De(o) != null && Q !== xe && i.reference[m] / 2 - (Q < K ? P : F) - g[m] / 2 < 0, ae = ue ? Q < K ? Q - K : Q - se : 0;
3548
3549
  return {
3549
3550
  [p]: y[p] + ae,
3550
3551
  data: {
@@ -3581,18 +3582,18 @@ const ja = (e) => ({
3581
3582
  } = _e(e, t);
3582
3583
  if ((n = i.arrow) != null && n.alignmentOffset)
3583
3584
  return {};
3584
- const S = ve(o), k = Se(r), T = ve(r) === r, E = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), I = y || (T || !g ? [Ue(r)] : va(r)), M = m !== "none";
3585
- !y && M && I.push(...ga(r, g, m, E));
3586
- const x = [r, ...I], O = await Xt(t, b), $ = [];
3585
+ const $ = he(o), k = Se(r), T = he(r) === r, E = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), I = y || (T || !g ? [Ue(r)] : ma(r)), M = m !== "none";
3586
+ !y && M && I.push(...va(r, g, m, E));
3587
+ const x = [r, ...I], O = await Xt(t, b), _ = [];
3587
3588
  let P = ((l = i.flip) == null ? void 0 : l.overflows) || [];
3588
- if (f && $.push(O[S]), d) {
3589
- const Q = pa(o, a, E);
3590
- $.push(O[Q[0]], O[Q[1]]);
3589
+ if (f && _.push(O[$]), d) {
3590
+ const Q = ya(o, a, E);
3591
+ _.push(O[Q[0]], O[Q[1]]);
3591
3592
  }
3592
3593
  if (P = [...P, {
3593
3594
  placement: o,
3594
- overflows: $
3595
- }], !$.every((Q) => Q <= 0)) {
3595
+ overflows: _
3596
+ }], !_.every((Q) => Q <= 0)) {
3596
3597
  var F, K;
3597
3598
  const Q = (((F = i.flip) == null ? void 0 : F.index) || 0) + 1, xe = x[Q];
3598
3599
  if (xe)
@@ -3605,20 +3606,20 @@ const ja = (e) => ({
3605
3606
  placement: xe
3606
3607
  }
3607
3608
  };
3608
- let ue = (K = P.filter((ae) => ae.overflows[0] <= 0).sort((ae, fe) => ae.overflows[1] - fe.overflows[1])[0]) == null ? void 0 : K.placement;
3609
+ let ue = (K = P.filter((ae) => ae.overflows[0] <= 0).sort((ae, ye) => ae.overflows[1] - ye.overflows[1])[0]) == null ? void 0 : K.placement;
3609
3610
  if (!ue)
3610
3611
  switch (p) {
3611
3612
  case "bestFit": {
3612
3613
  var se;
3613
- const ae = (se = P.filter((fe) => {
3614
+ const ae = (se = P.filter((ye) => {
3614
3615
  if (M) {
3615
- const ye = Se(fe.placement);
3616
- return ye === k || // Create a bias to the `y` side axis due to horizontal
3616
+ const me = Se(ye.placement);
3617
+ return me === k || // Create a bias to the `y` side axis due to horizontal
3617
3618
  // reading directions favoring greater width.
3618
- ye === "y";
3619
+ me === "y";
3619
3620
  }
3620
3621
  return !0;
3621
- }).map((fe) => [fe.placement, fe.overflows.filter((ye) => ye > 0).reduce((ye, ho) => ye + ho, 0)]).sort((fe, ye) => fe[1] - ye[1])[0]) == null ? void 0 : se[0];
3622
+ }).map((ye) => [ye.placement, ye.overflows.filter((me) => me > 0).reduce((me, ho) => me + ho, 0)]).sort((ye, me) => ye[1] - me[1])[0]) == null ? void 0 : se[0];
3622
3623
  ae && (ue = ae);
3623
3624
  break;
3624
3625
  }
@@ -3637,12 +3638,12 @@ const ja = (e) => ({
3637
3638
  }
3638
3639
  };
3639
3640
  };
3640
- async function ka(e, t) {
3641
+ async function wa(e, t) {
3641
3642
  const {
3642
3643
  placement: n,
3643
3644
  platform: l,
3644
3645
  elements: o
3645
- } = e, i = await (l.isRTL == null ? void 0 : l.isRTL(o.floating)), a = ve(n), r = De(n), s = Se(n) === "y", u = ["left", "top"].includes(a) ? -1 : 1, f = i && s ? -1 : 1, d = _e(t, e);
3646
+ } = e, i = await (l.isRTL == null ? void 0 : l.isRTL(o.floating)), a = he(n), r = De(n), s = Se(n) === "y", u = ["left", "top"].includes(a) ? -1 : 1, f = i && s ? -1 : 1, d = _e(t, e);
3646
3647
  let {
3647
3648
  mainAxis: y,
3648
3649
  crossAxis: p,
@@ -3676,7 +3677,7 @@ const eo = function(e) {
3676
3677
  y: i,
3677
3678
  placement: a,
3678
3679
  middlewareData: r
3679
- } = t, s = await ka(t, e);
3680
+ } = t, s = await wa(t, e);
3680
3681
  return a === ((n = r.offset) == null ? void 0 : n.placement) && (l = r.arrow) != null && l.alignmentOffset ? {} : {
3681
3682
  x: o + s.x,
3682
3683
  y: i + s.y,
@@ -3702,11 +3703,11 @@ const eo = function(e) {
3702
3703
  limiter: r = {
3703
3704
  fn: (b) => {
3704
3705
  let {
3705
- x: S,
3706
+ x: $,
3706
3707
  y: k
3707
3708
  } = b;
3708
3709
  return {
3709
- x: S,
3710
+ x: $,
3710
3711
  y: k
3711
3712
  };
3712
3713
  }
@@ -3715,14 +3716,14 @@ const eo = function(e) {
3715
3716
  } = _e(e, t), u = {
3716
3717
  x: n,
3717
3718
  y: l
3718
- }, f = await Xt(t, s), d = Se(ve(o)), y = pt(d);
3719
+ }, f = await Xt(t, s), d = Se(he(o)), y = pt(d);
3719
3720
  let p = u[y], m = u[d];
3720
3721
  if (i) {
3721
- const b = y === "y" ? "top" : "left", S = y === "y" ? "bottom" : "right", k = p + f[b], T = p - f[S];
3722
+ const b = y === "y" ? "top" : "left", $ = y === "y" ? "bottom" : "right", k = p + f[b], T = p - f[$];
3722
3723
  p = at(k, p, T);
3723
3724
  }
3724
3725
  if (a) {
3725
- const b = d === "y" ? "top" : "left", S = d === "y" ? "bottom" : "right", k = m + f[b], T = m - f[S];
3726
+ const b = d === "y" ? "top" : "left", $ = d === "y" ? "bottom" : "right", k = m + f[b], T = m - f[$];
3726
3727
  m = at(k, m, T);
3727
3728
  }
3728
3729
  const g = r.fn({
@@ -3771,8 +3772,8 @@ const eo = function(e) {
3771
3772
  p < E ? p = E : p > I && (p = I);
3772
3773
  }
3773
3774
  if (u) {
3774
- var S, k;
3775
- const T = y === "y" ? "width" : "height", E = ["top", "left"].includes(ve(o)), I = i.reference[d] - i.floating[T] + (E && ((S = a.offset) == null ? void 0 : S[d]) || 0) + (E ? 0 : b.crossAxis), M = i.reference[d] + i.reference[T] + (E ? 0 : ((k = a.offset) == null ? void 0 : k[d]) || 0) - (E ? b.crossAxis : 0);
3775
+ var $, k;
3776
+ const T = y === "y" ? "width" : "height", E = ["top", "left"].includes(he(o)), I = i.reference[d] - i.floating[T] + (E && (($ = a.offset) == null ? void 0 : $[d]) || 0) + (E ? 0 : b.crossAxis), M = i.reference[d] + i.reference[T] + (E ? 0 : ((k = a.offset) == null ? void 0 : k[d]) || 0) - (E ? b.crossAxis : 0);
3776
3777
  m < I ? m = I : m > M && (m = M);
3777
3778
  }
3778
3779
  return {
@@ -3781,18 +3782,18 @@ const eo = function(e) {
3781
3782
  };
3782
3783
  }
3783
3784
  };
3784
- }, rt = Math.min, Le = Math.max, Ye = Math.round, qe = Math.floor, he = (e) => ({
3785
+ }, rt = Math.min, Le = Math.max, Ye = Math.round, qe = Math.floor, ge = (e) => ({
3785
3786
  x: e,
3786
3787
  y: e
3787
3788
  });
3788
- function ge(e) {
3789
+ function be(e) {
3789
3790
  return no(e) ? (e.nodeName || "").toLowerCase() : "#document";
3790
3791
  }
3791
3792
  function oe(e) {
3792
3793
  var t;
3793
3794
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
3794
3795
  }
3795
- function de(e) {
3796
+ function fe(e) {
3796
3797
  var t;
3797
3798
  return (t = (no(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
3798
3799
  }
@@ -3805,7 +3806,7 @@ function ce(e) {
3805
3806
  function re(e) {
3806
3807
  return e instanceof HTMLElement || e instanceof oe(e).HTMLElement;
3807
3808
  }
3808
- function Tt(e) {
3809
+ function Vt(e) {
3809
3810
  return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof oe(e).ShadowRoot;
3810
3811
  }
3811
3812
  function Re(e) {
@@ -3817,19 +3818,19 @@ function Re(e) {
3817
3818
  } = le(e);
3818
3819
  return /auto|scroll|overlay|hidden|clip/.test(t + l + n) && !["inline", "contents"].includes(o);
3819
3820
  }
3820
- function $a(e) {
3821
- return ["table", "td", "th"].includes(ge(e));
3821
+ function ja(e) {
3822
+ return ["table", "td", "th"].includes(be(e));
3822
3823
  }
3823
3824
  function gt(e) {
3824
3825
  const t = bt(), n = le(e);
3825
3826
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((l) => (n.willChange || "").includes(l)) || ["paint", "layout", "strict", "content"].some((l) => (n.contain || "").includes(l));
3826
3827
  }
3827
- function _a(e) {
3828
- let t = Ae(e);
3828
+ function ka(e) {
3829
+ let t = Be(e);
3829
3830
  for (; re(t) && !et(t); ) {
3830
3831
  if (gt(t))
3831
3832
  return t;
3832
- t = Ae(t);
3833
+ t = Be(t);
3833
3834
  }
3834
3835
  return null;
3835
3836
  }
@@ -3837,7 +3838,7 @@ function bt() {
3837
3838
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
3838
3839
  }
3839
3840
  function et(e) {
3840
- return ["html", "body", "#document"].includes(ge(e));
3841
+ return ["html", "body", "#document"].includes(be(e));
3841
3842
  }
3842
3843
  function le(e) {
3843
3844
  return oe(e).getComputedStyle(e);
@@ -3851,27 +3852,27 @@ function tt(e) {
3851
3852
  scrollTop: e.pageYOffset
3852
3853
  };
3853
3854
  }
3854
- function Ae(e) {
3855
- if (ge(e) === "html")
3855
+ function Be(e) {
3856
+ if (be(e) === "html")
3856
3857
  return e;
3857
3858
  const t = (
3858
3859
  // Step into the shadow DOM of the parent of a slotted node.
3859
3860
  e.assignedSlot || // DOM Element detected.
3860
3861
  e.parentNode || // ShadowRoot detected.
3861
- Tt(e) && e.host || // Fallback.
3862
- de(e)
3862
+ Vt(e) && e.host || // Fallback.
3863
+ fe(e)
3863
3864
  );
3864
- return Tt(t) ? t.host : t;
3865
+ return Vt(t) ? t.host : t;
3865
3866
  }
3866
3867
  function lo(e) {
3867
- const t = Ae(e);
3868
+ const t = Be(e);
3868
3869
  return et(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : re(t) && Re(t) ? t : lo(t);
3869
3870
  }
3870
- function Pe(e, t, n) {
3871
+ function Me(e, t, n) {
3871
3872
  var l;
3872
3873
  t === void 0 && (t = []), n === void 0 && (n = !0);
3873
3874
  const o = lo(e), i = o === ((l = e.ownerDocument) == null ? void 0 : l.body), a = oe(o);
3874
- return i ? t.concat(a, a.visualViewport || [], Re(o) ? o : [], a.frameElement && n ? Pe(a.frameElement) : []) : t.concat(o, Pe(o, [], n));
3875
+ return i ? t.concat(a, a.visualViewport || [], Re(o) ? o : [], a.frameElement && n ? Me(a.frameElement) : []) : t.concat(o, Me(o, [], n));
3875
3876
  }
3876
3877
  function ao(e) {
3877
3878
  const t = le(e);
@@ -3889,7 +3890,7 @@ function wt(e) {
3889
3890
  function Ie(e) {
3890
3891
  const t = wt(e);
3891
3892
  if (!re(t))
3892
- return he(1);
3893
+ return ge(1);
3893
3894
  const n = t.getBoundingClientRect(), {
3894
3895
  width: l,
3895
3896
  height: o,
@@ -3901,29 +3902,29 @@ function Ie(e) {
3901
3902
  y: r
3902
3903
  };
3903
3904
  }
3904
- const Sa = /* @__PURE__ */ he(0);
3905
+ const $a = /* @__PURE__ */ ge(0);
3905
3906
  function io(e) {
3906
3907
  const t = oe(e);
3907
- return !bt() || !t.visualViewport ? Sa : {
3908
+ return !bt() || !t.visualViewport ? $a : {
3908
3909
  x: t.visualViewport.offsetLeft,
3909
3910
  y: t.visualViewport.offsetTop
3910
3911
  };
3911
3912
  }
3912
- function Ca(e, t, n) {
3913
+ function _a(e, t, n) {
3913
3914
  return t === void 0 && (t = !1), !n || t && n !== oe(e) ? !1 : t;
3914
3915
  }
3915
3916
  function Ce(e, t, n, l) {
3916
3917
  t === void 0 && (t = !1), n === void 0 && (n = !1);
3917
3918
  const o = e.getBoundingClientRect(), i = wt(e);
3918
- let a = he(1);
3919
+ let a = ge(1);
3919
3920
  t && (l ? ce(l) && (a = Ie(l)) : a = Ie(e));
3920
- const r = Ca(i, n, l) ? io(i) : he(0);
3921
+ const r = _a(i, n, l) ? io(i) : ge(0);
3921
3922
  let s = (o.left + r.x) / a.x, u = (o.top + r.y) / a.y, f = o.width / a.x, d = o.height / a.y;
3922
3923
  if (i) {
3923
3924
  const y = oe(i), p = l && ce(l) ? oe(l) : l;
3924
3925
  let m = y.frameElement;
3925
3926
  for (; m && l && p !== y; ) {
3926
- const g = Ie(m), b = m.getBoundingClientRect(), S = le(m), k = b.left + (m.clientLeft + parseFloat(S.paddingLeft)) * g.x, T = b.top + (m.clientTop + parseFloat(S.paddingTop)) * g.y;
3927
+ const g = Ie(m), b = m.getBoundingClientRect(), $ = le(m), k = b.left + (m.clientLeft + parseFloat($.paddingLeft)) * g.x, T = b.top + (m.clientTop + parseFloat($.paddingTop)) * g.y;
3927
3928
  s *= g.x, u *= g.y, f *= g.x, d *= g.y, s += k, u += T, m = oe(m).frameElement;
3928
3929
  }
3929
3930
  }
@@ -3934,21 +3935,21 @@ function Ce(e, t, n, l) {
3934
3935
  y: u
3935
3936
  });
3936
3937
  }
3937
- function xa(e) {
3938
+ function Sa(e) {
3938
3939
  let {
3939
3940
  rect: t,
3940
3941
  offsetParent: n,
3941
3942
  strategy: l
3942
3943
  } = e;
3943
- const o = re(n), i = de(n);
3944
+ const o = re(n), i = fe(n);
3944
3945
  if (n === i)
3945
3946
  return t;
3946
3947
  let a = {
3947
3948
  scrollLeft: 0,
3948
3949
  scrollTop: 0
3949
- }, r = he(1);
3950
- const s = he(0);
3951
- if ((o || !o && l !== "fixed") && ((ge(n) !== "body" || Re(i)) && (a = tt(n)), re(n))) {
3950
+ }, r = ge(1);
3951
+ const s = ge(0);
3952
+ if ((o || !o && l !== "fixed") && ((be(n) !== "body" || Re(i)) && (a = tt(n)), re(n))) {
3952
3953
  const u = Ce(n);
3953
3954
  r = Ie(n), s.x = u.x + n.clientLeft, s.y = u.y + n.clientTop;
3954
3955
  }
@@ -3959,14 +3960,14 @@ function xa(e) {
3959
3960
  y: t.y * r.y - a.scrollTop * r.y + s.y
3960
3961
  };
3961
3962
  }
3962
- function Va(e) {
3963
+ function Ca(e) {
3963
3964
  return Array.from(e.getClientRects());
3964
3965
  }
3965
3966
  function ro(e) {
3966
- return Ce(de(e)).left + tt(e).scrollLeft;
3967
+ return Ce(fe(e)).left + tt(e).scrollLeft;
3967
3968
  }
3968
- function Ta(e) {
3969
- const t = de(e), n = tt(e), l = e.ownerDocument.body, o = Le(t.scrollWidth, t.clientWidth, l.scrollWidth, l.clientWidth), i = Le(t.scrollHeight, t.clientHeight, l.scrollHeight, l.clientHeight);
3969
+ function xa(e) {
3970
+ const t = fe(e), n = tt(e), l = e.ownerDocument.body, o = Le(t.scrollWidth, t.clientWidth, l.scrollWidth, l.clientWidth), i = Le(t.scrollHeight, t.clientHeight, l.scrollHeight, l.clientHeight);
3970
3971
  let a = -n.scrollLeft + ro(e);
3971
3972
  const r = -n.scrollTop;
3972
3973
  return le(l).direction === "rtl" && (a += Le(t.clientWidth, l.clientWidth) - o), {
@@ -3976,8 +3977,8 @@ function Ta(e) {
3976
3977
  y: r
3977
3978
  };
3978
3979
  }
3979
- function La(e, t) {
3980
- const n = oe(e), l = de(e), o = n.visualViewport;
3980
+ function Va(e, t) {
3981
+ const n = oe(e), l = fe(e), o = n.visualViewport;
3981
3982
  let i = l.clientWidth, a = l.clientHeight, r = 0, s = 0;
3982
3983
  if (o) {
3983
3984
  i = o.width, a = o.height;
@@ -3991,8 +3992,8 @@ function La(e, t) {
3991
3992
  y: s
3992
3993
  };
3993
3994
  }
3994
- function Ia(e, t) {
3995
- const n = Ce(e, !0, t === "fixed"), l = n.top + e.clientTop, o = n.left + e.clientLeft, i = re(e) ? Ie(e) : he(1), a = e.clientWidth * i.x, r = e.clientHeight * i.y, s = o * i.x, u = l * i.y;
3995
+ function Ta(e, t) {
3996
+ const n = Ce(e, !0, t === "fixed"), l = n.top + e.clientTop, o = n.left + e.clientLeft, i = re(e) ? Ie(e) : ge(1), a = e.clientWidth * i.x, r = e.clientHeight * i.y, s = o * i.x, u = l * i.y;
3996
3997
  return {
3997
3998
  width: a,
3998
3999
  height: r,
@@ -4000,14 +4001,14 @@ function Ia(e, t) {
4000
4001
  y: u
4001
4002
  };
4002
4003
  }
4003
- function Lt(e, t, n) {
4004
+ function Tt(e, t, n) {
4004
4005
  let l;
4005
4006
  if (t === "viewport")
4006
- l = La(e, n);
4007
+ l = Va(e, n);
4007
4008
  else if (t === "document")
4008
- l = Ta(de(e));
4009
+ l = xa(fe(e));
4009
4010
  else if (ce(t))
4010
- l = Ia(t, n);
4011
+ l = Ta(t, n);
4011
4012
  else {
4012
4013
  const o = io(e);
4013
4014
  l = {
@@ -4019,33 +4020,33 @@ function Lt(e, t, n) {
4019
4020
  return Ge(l);
4020
4021
  }
4021
4022
  function so(e, t) {
4022
- const n = Ae(e);
4023
+ const n = Be(e);
4023
4024
  return n === t || !ce(n) || et(n) ? !1 : le(n).position === "fixed" || so(n, t);
4024
4025
  }
4025
- function Aa(e, t) {
4026
+ function La(e, t) {
4026
4027
  const n = t.get(e);
4027
4028
  if (n)
4028
4029
  return n;
4029
- let l = Pe(e, [], !1).filter((r) => ce(r) && ge(r) !== "body"), o = null;
4030
+ let l = Me(e, [], !1).filter((r) => ce(r) && be(r) !== "body"), o = null;
4030
4031
  const i = le(e).position === "fixed";
4031
- let a = i ? Ae(e) : e;
4032
+ let a = i ? Be(e) : e;
4032
4033
  for (; ce(a) && !et(a); ) {
4033
4034
  const r = le(a), s = gt(a);
4034
- !s && r.position === "fixed" && (o = null), (i ? !s && !o : !s && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Re(a) && !s && so(e, a)) ? l = l.filter((f) => f !== a) : o = r, a = Ae(a);
4035
+ !s && r.position === "fixed" && (o = null), (i ? !s && !o : !s && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Re(a) && !s && so(e, a)) ? l = l.filter((f) => f !== a) : o = r, a = Be(a);
4035
4036
  }
4036
4037
  return t.set(e, l), l;
4037
4038
  }
4038
- function Ba(e) {
4039
+ function Ia(e) {
4039
4040
  let {
4040
4041
  element: t,
4041
4042
  boundary: n,
4042
4043
  rootBoundary: l,
4043
4044
  strategy: o
4044
4045
  } = e;
4045
- const a = [...n === "clippingAncestors" ? Aa(t, this._c) : [].concat(n), l], r = a[0], s = a.reduce((u, f) => {
4046
- const d = Lt(t, f, o);
4046
+ const a = [...n === "clippingAncestors" ? La(t, this._c) : [].concat(n), l], r = a[0], s = a.reduce((u, f) => {
4047
+ const d = Tt(t, f, o);
4047
4048
  return u.top = Le(d.top, u.top), u.right = rt(d.right, u.right), u.bottom = rt(d.bottom, u.bottom), u.left = Le(d.left, u.left), u;
4048
- }, Lt(t, r, o));
4049
+ }, Tt(t, r, o));
4049
4050
  return {
4050
4051
  width: s.right - s.left,
4051
4052
  height: s.bottom - s.top,
@@ -4053,18 +4054,18 @@ function Ba(e) {
4053
4054
  y: s.top
4054
4055
  };
4055
4056
  }
4056
- function Ea(e) {
4057
+ function Ba(e) {
4057
4058
  return ao(e);
4058
4059
  }
4059
- function za(e, t, n) {
4060
- const l = re(t), o = de(t), i = n === "fixed", a = Ce(e, !0, i, t);
4060
+ function Aa(e, t, n) {
4061
+ const l = re(t), o = fe(t), i = n === "fixed", a = Ce(e, !0, i, t);
4061
4062
  let r = {
4062
4063
  scrollLeft: 0,
4063
4064
  scrollTop: 0
4064
4065
  };
4065
- const s = he(0);
4066
+ const s = ge(0);
4066
4067
  if (l || !l && !i)
4067
- if ((ge(t) !== "body" || Re(o)) && (r = tt(t)), l) {
4068
+ if ((be(t) !== "body" || Re(o)) && (r = tt(t)), l) {
4068
4069
  const u = Ce(t, !0, i, t);
4069
4070
  s.x = u.x + t.clientLeft, s.y = u.y + t.clientTop;
4070
4071
  } else o && (s.x = ro(o));
@@ -4075,19 +4076,19 @@ function za(e, t, n) {
4075
4076
  height: a.height
4076
4077
  };
4077
4078
  }
4078
- function It(e, t) {
4079
+ function Lt(e, t) {
4079
4080
  return !re(e) || le(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
4080
4081
  }
4081
4082
  function uo(e, t) {
4082
4083
  const n = oe(e);
4083
4084
  if (!re(e))
4084
4085
  return n;
4085
- let l = It(e, t);
4086
- for (; l && $a(l) && le(l).position === "static"; )
4087
- l = It(l, t);
4088
- return l && (ge(l) === "html" || ge(l) === "body" && le(l).position === "static" && !gt(l)) ? n : l || _a(e) || n;
4086
+ let l = Lt(e, t);
4087
+ for (; l && ja(l) && le(l).position === "static"; )
4088
+ l = Lt(l, t);
4089
+ return l && (be(l) === "html" || be(l) === "body" && le(l).position === "static" && !gt(l)) ? n : l || ka(e) || n;
4089
4090
  }
4090
- const Ja = async function(e) {
4091
+ const Ea = async function(e) {
4091
4092
  let {
4092
4093
  reference: t,
4093
4094
  floating: n,
@@ -4095,7 +4096,7 @@ const Ja = async function(e) {
4095
4096
  } = e;
4096
4097
  const o = this.getOffsetParent || uo, i = this.getDimensions;
4097
4098
  return {
4098
- reference: za(t, await o(n), l),
4099
+ reference: Aa(t, await o(n), l),
4099
4100
  floating: {
4100
4101
  x: 0,
4101
4102
  y: 0,
@@ -4103,24 +4104,24 @@ const Ja = async function(e) {
4103
4104
  }
4104
4105
  };
4105
4106
  };
4106
- function Pa(e) {
4107
+ function za(e) {
4107
4108
  return le(e).direction === "rtl";
4108
4109
  }
4109
- const Ma = {
4110
- convertOffsetParentRelativeRectToViewportRelativeRect: xa,
4111
- getDocumentElement: de,
4112
- getClippingRect: Ba,
4110
+ const Ja = {
4111
+ convertOffsetParentRelativeRectToViewportRelativeRect: Sa,
4112
+ getDocumentElement: fe,
4113
+ getClippingRect: Ia,
4113
4114
  getOffsetParent: uo,
4114
- getElementRects: Ja,
4115
- getClientRects: Va,
4116
- getDimensions: Ea,
4115
+ getElementRects: Ea,
4116
+ getClientRects: Ca,
4117
+ getDimensions: Ba,
4117
4118
  getScale: Ie,
4118
4119
  isElement: ce,
4119
- isRTL: Pa
4120
+ isRTL: za
4120
4121
  };
4121
- function Oa(e, t) {
4122
+ function Pa(e, t) {
4122
4123
  let n = null, l;
4123
- const o = de(e);
4124
+ const o = fe(e);
4124
4125
  function i() {
4125
4126
  clearTimeout(l), n && n.disconnect(), n = null;
4126
4127
  }
@@ -4163,7 +4164,7 @@ function Oa(e, t) {
4163
4164
  }
4164
4165
  return a(!0), i;
4165
4166
  }
4166
- function Fa(e, t, n, l) {
4167
+ function Ma(e, t, n, l) {
4167
4168
  l === void 0 && (l = {});
4168
4169
  const {
4169
4170
  ancestorScroll: o = !0,
@@ -4171,16 +4172,16 @@ function Fa(e, t, n, l) {
4171
4172
  elementResize: a = typeof ResizeObserver == "function",
4172
4173
  layoutShift: r = typeof IntersectionObserver == "function",
4173
4174
  animationFrame: s = !1
4174
- } = l, u = wt(e), f = o || i ? [...u ? Pe(u) : [], ...Pe(t)] : [];
4175
- f.forEach((S) => {
4176
- o && S.addEventListener("scroll", n, {
4175
+ } = l, u = wt(e), f = o || i ? [...u ? Me(u) : [], ...Me(t)] : [];
4176
+ f.forEach(($) => {
4177
+ o && $.addEventListener("scroll", n, {
4177
4178
  passive: !0
4178
- }), i && S.addEventListener("resize", n);
4179
+ }), i && $.addEventListener("resize", n);
4179
4180
  });
4180
- const d = u && r ? Oa(u, n) : null;
4181
+ const d = u && r ? Pa(u, n) : null;
4181
4182
  let y = -1, p = null;
4182
- a && (p = new ResizeObserver((S) => {
4183
- let [k] = S;
4183
+ a && (p = new ResizeObserver(($) => {
4184
+ let [k] = $;
4184
4185
  k && k.target === u && p && (p.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
4185
4186
  p && p.observe(t);
4186
4187
  })), n();
@@ -4188,24 +4189,24 @@ function Fa(e, t, n, l) {
4188
4189
  let m, g = s ? Ce(e) : null;
4189
4190
  s && b();
4190
4191
  function b() {
4191
- const S = Ce(e);
4192
- g && (S.x !== g.x || S.y !== g.y || S.width !== g.width || S.height !== g.height) && n(), g = S, m = requestAnimationFrame(b);
4192
+ const $ = Ce(e);
4193
+ g && ($.x !== g.x || $.y !== g.y || $.width !== g.width || $.height !== g.height) && n(), g = $, m = requestAnimationFrame(b);
4193
4194
  }
4194
4195
  return n(), () => {
4195
- f.forEach((S) => {
4196
- o && S.removeEventListener("scroll", n), i && S.removeEventListener("resize", n);
4196
+ f.forEach(($) => {
4197
+ o && $.removeEventListener("scroll", n), i && $.removeEventListener("resize", n);
4197
4198
  }), d && d(), p && p.disconnect(), p = null, s && cancelAnimationFrame(m);
4198
4199
  };
4199
4200
  }
4200
- const Da = (e, t, n) => {
4201
+ const Oa = (e, t, n) => {
4201
4202
  const l = /* @__PURE__ */ new Map(), o = {
4202
- platform: Ma,
4203
+ platform: Ja,
4203
4204
  ...n
4204
4205
  }, i = {
4205
4206
  ...o.platform,
4206
4207
  _c: l
4207
4208
  };
4208
- return wa(e, t, {
4209
+ return ga(e, t, {
4209
4210
  ...o,
4210
4211
  platform: i
4211
4212
  });
@@ -4220,7 +4221,7 @@ function co(e) {
4220
4221
  options: e,
4221
4222
  fn(t) {
4222
4223
  const n = st(D(e.element));
4223
- return n == null ? {} : ja({
4224
+ return n == null ? {} : ba({
4224
4225
  element: n,
4225
4226
  padding: e.padding
4226
4227
  }).fn(t);
@@ -4230,7 +4231,7 @@ function co(e) {
4230
4231
  function fo(e) {
4231
4232
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
4232
4233
  }
4233
- function At(e, t) {
4234
+ function It(e, t) {
4234
4235
  const n = fo(e);
4235
4236
  return Math.round(t * n) / n;
4236
4237
  }
@@ -4248,7 +4249,7 @@ function yo(e, t, n) {
4248
4249
  }), s = C(() => {
4249
4250
  var x;
4250
4251
  return (x = D(n.transform)) != null ? x : !0;
4251
- }), u = C(() => st(e.value)), f = C(() => st(t.value)), d = _(0), y = _(0), p = _(r.value), m = _(a.value), g = Mt({}), b = _(!1), S = C(() => {
4252
+ }), u = C(() => st(e.value)), f = C(() => st(t.value)), d = S(0), y = S(0), p = S(r.value), m = S(a.value), g = Pt({}), b = S(!1), $ = C(() => {
4252
4253
  const x = {
4253
4254
  position: p.value,
4254
4255
  left: "0",
@@ -4256,22 +4257,22 @@ function yo(e, t, n) {
4256
4257
  };
4257
4258
  if (!f.value)
4258
4259
  return x;
4259
- const O = At(f.value, d.value), $ = At(f.value, y.value);
4260
+ const O = It(f.value, d.value), _ = It(f.value, y.value);
4260
4261
  return s.value ? {
4261
4262
  ...x,
4262
- transform: "translate(" + O + "px, " + $ + "px)",
4263
+ transform: "translate(" + O + "px, " + _ + "px)",
4263
4264
  ...fo(f.value) >= 1.5 && {
4264
4265
  willChange: "transform"
4265
4266
  }
4266
4267
  } : {
4267
4268
  position: p.value,
4268
4269
  left: O + "px",
4269
- top: $ + "px"
4270
+ top: _ + "px"
4270
4271
  };
4271
4272
  });
4272
4273
  let k;
4273
4274
  function T() {
4274
- u.value == null || f.value == null || Da(u.value, f.value, {
4275
+ u.value == null || f.value == null || Oa(u.value, f.value, {
4275
4276
  middleware: i.value,
4276
4277
  placement: a.value,
4277
4278
  strategy: r.value
@@ -4301,18 +4302,18 @@ function yo(e, t, n) {
4301
4302
  flush: "sync"
4302
4303
  }), G(o, M, {
4303
4304
  flush: "sync"
4304
- }), Jt() && Pt(E), {
4305
+ }), zt() && Jt(E), {
4305
4306
  x: Ve(d),
4306
4307
  y: Ve(y),
4307
4308
  strategy: Ve(p),
4308
4309
  placement: Ve(m),
4309
4310
  middlewareData: Ve(g),
4310
4311
  isPositioned: Ve(b),
4311
- floatingStyles: S,
4312
+ floatingStyles: $,
4312
4313
  update: T
4313
4314
  };
4314
4315
  }
4315
- const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4316
+ const Fa = ["aria-describedby"], Da = ["id"], Ra = /* @__PURE__ */ B({
4316
4317
  __name: "VJoyTooltip",
4317
4318
  props: {
4318
4319
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -4358,7 +4359,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4358
4359
  }
4359
4360
  },
4360
4361
  setup(e, { expose: t }) {
4361
- const n = Y(), l = e, o = _(!1), i = _(null), a = _(null), r = _(null), s = _(), u = _(
4362
+ const n = Y(), l = e, o = S(!1), i = S(null), a = S(null), r = S(null), s = S(), u = S(
4362
4363
  yo(i, r, {
4363
4364
  placement: l.placement,
4364
4365
  transform: !1,
@@ -4378,23 +4379,23 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4378
4379
  ignore: [a]
4379
4380
  } : {}
4380
4381
  ), d = C(() => n["tooltip-content"] || l.text);
4381
- function y(S) {
4382
- S.preventDefault(), S.stopPropagation(), !o.value && l.event !== "click" && g();
4382
+ function y($) {
4383
+ $.preventDefault(), $.stopPropagation(), !o.value && l.event !== "click" && g();
4383
4384
  }
4384
4385
  function p() {
4385
4386
  l.event !== "click" && g(!1);
4386
4387
  }
4387
- function m(S) {
4388
- !o.value && l.event === "click" && (S.preventDefault(), S.stopPropagation(), g());
4388
+ function m($) {
4389
+ !o.value && l.event === "click" && ($.preventDefault(), $.stopPropagation(), g());
4389
4390
  }
4390
- function g(S = !0) {
4391
+ function g($ = !0) {
4391
4392
  var k;
4392
4393
  (k = u.value) == null || k.update(), setTimeout(() => {
4393
- o.value = S;
4394
+ o.value = $;
4394
4395
  }, l.delay);
4395
4396
  }
4396
4397
  const b = C(() => {
4397
- const { middlewareData: S, placement: k } = u.value, T = S.arrow, E = {
4398
+ const { middlewareData: $, placement: k } = u.value, T = $.arrow, E = {
4398
4399
  top: "bottom",
4399
4400
  right: "left",
4400
4401
  bottom: "top",
@@ -4410,12 +4411,12 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4410
4411
  });
4411
4412
  return te(() => {
4412
4413
  l.show && g();
4413
- }), Ee(() => {
4414
+ }), ze(() => {
4414
4415
  o.value = !1;
4415
4416
  }), t({
4416
4417
  tooltipVisible: o,
4417
4418
  tooltip: r
4418
- }), (S, k) => (c(), V(D(yt), {
4419
+ }), ($, k) => (c(), V(D(yt), {
4419
4420
  ref: "tooltipClickOutside",
4420
4421
  class: "joy-tooltip__click-outside",
4421
4422
  options: f.value,
@@ -4434,8 +4435,8 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4434
4435
  onMouseleave: p,
4435
4436
  onKeydown: k[0] || (k[0] = Fe((E) => g(!1), ["tab"]))
4436
4437
  }, [
4437
- w(S.$slots, "default", {}, void 0, !0),
4438
- (c(), V(Be, { to: "body" }, [
4438
+ w($.$slots, "default", {}, void 0, !0),
4439
+ (c(), V(Ee, { to: "body" }, [
4439
4440
  o.value && d.value ? (c(), v("div", {
4440
4441
  key: 0,
4441
4442
  id: e.id,
@@ -4461,28 +4462,28 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4461
4462
  ref: a,
4462
4463
  class: "joy-tooltip__content__inner"
4463
4464
  }, [
4464
- w(S.$slots, "tooltip-content", {}, () => [
4465
+ w($.$slots, "tooltip-content", {}, () => [
4465
4466
  R(J(e.text), 1)
4466
4467
  ], !0)
4467
4468
  ], 512)
4468
- ], 14, Na)) : j("", !0)
4469
+ ], 14, Da)) : j("", !0)
4469
4470
  ]))
4470
- ], 40, Ra)
4471
+ ], 40, Fa)
4471
4472
  ];
4472
4473
  }),
4473
4474
  _: 3
4474
4475
  }, 8, ["options"]));
4475
4476
  }
4476
- }), Ha = /* @__PURE__ */ B(qa, [["__scopeId", "data-v-4ab73c2f"]]), Wa = { class: "joy-label__group" }, Ua = { class: "joy-label__group___main" }, Ga = {
4477
+ }), Na = /* @__PURE__ */ A(Ra, [["__scopeId", "data-v-4ab73c2f"]]), qa = { class: "joy-label__group" }, Ha = { class: "joy-label__group___main" }, Wa = {
4477
4478
  key: 0,
4478
4479
  class: "joy-label-required"
4479
- }, Ya = {
4480
+ }, Ua = {
4480
4481
  key: 1,
4481
4482
  class: "joy-label-optional joy-color-neutral-40"
4482
- }, Ka = {
4483
+ }, Ga = {
4483
4484
  key: 0,
4484
4485
  class: "joy-label__legend joy-font-primary-300 joy-color-neutral-40"
4485
- }, Za = /* @__PURE__ */ A({
4486
+ }, Ya = /* @__PURE__ */ B({
4486
4487
  __name: "VJoyLabel",
4487
4488
  props: {
4488
4489
  size: {
@@ -4503,8 +4504,8 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4503
4504
  text: String
4504
4505
  },
4505
4506
  setup(e) {
4506
- return (t, n) => (c(), v("div", Wa, [
4507
- h("div", Ua, [
4507
+ return (t, n) => (c(), v("div", qa, [
4508
+ h("div", Ha, [
4508
4509
  (c(), V(Z(e.tagName), W({
4509
4510
  "data-joy-form-label": "",
4510
4511
  class: ["joy-label", `joy-label--${e.size}`]
@@ -4513,12 +4514,12 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4513
4514
  w(t.$slots, "default", {}, () => [
4514
4515
  R(J(e.text), 1)
4515
4516
  ], !0),
4516
- e.required ? (c(), v("span", Ga, "*")) : j("", !0),
4517
- e.optionalLabel ? (c(), v("span", Ya, "- " + J(e.optionalLabel), 1)) : j("", !0)
4517
+ e.required ? (c(), v("span", Wa, "*")) : j("", !0),
4518
+ e.optionalLabel ? (c(), v("span", Ua, "- " + J(e.optionalLabel), 1)) : j("", !0)
4518
4519
  ]),
4519
4520
  _: 3
4520
4521
  }, 16, ["class"])),
4521
- t.$slots["label-tooltip"] ? (c(), V(Ha, {
4522
+ t.$slots["label-tooltip"] ? (c(), V(Na, {
4522
4523
  key: 0,
4523
4524
  class: "joy-label__tooltip joy-ml-2"
4524
4525
  }, {
@@ -4534,12 +4535,12 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4534
4535
  _: 3
4535
4536
  })) : j("", !0)
4536
4537
  ]),
4537
- t.$slots["label-legend"] ? (c(), v("span", Ka, [
4538
+ t.$slots["label-legend"] ? (c(), v("span", Ga, [
4538
4539
  w(t.$slots, "label-legend", {}, void 0, !0)
4539
4540
  ])) : j("", !0)
4540
4541
  ]));
4541
4542
  }
4542
- }), ze = /* @__PURE__ */ B(Za, [["__scopeId", "data-v-7f500306"]]), Xa = ["id", "name", "required", "disabled", "readonly", "type", "value"], Qa = ["data-unit"], ei = /* @__PURE__ */ A({
4543
+ }), Je = /* @__PURE__ */ A(Ya, [["__scopeId", "data-v-7f500306"]]), Ka = ["id", "name", "required", "disabled", "readonly", "type", "value"], Za = ["data-unit"], Xa = /* @__PURE__ */ B({
4543
4544
  inheritAttrs: !1,
4544
4545
  __name: "VJoyInput",
4545
4546
  props: {
@@ -4565,13 +4566,13 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4565
4566
  },
4566
4567
  emits: ["update:modelValue"],
4567
4568
  setup(e, { expose: t, emit: n }) {
4568
- const l = n, o = e, i = be("VJoyWrapperContext", {}), a = _(), r = _(), s = we(), u = Y(), f = _(!1), d = _(!1);
4569
+ const l = n, o = e, i = de("VJoyWrapperContext", {}), a = S(), r = S(), s = we(), u = Y(), f = S(!1), d = S(!1);
4569
4570
  Yt(a, o.autofocus);
4570
- const y = C(() => typeof o.modelValue == "number" || !o.clearable || o.unit || !o.modelValue ? !1 : o.modelValue.length > 0 && !o.unit), p = C(() => u.default && u.default()), m = C(() => Object.keys(i).length > 0), g = _(o.type), b = C(() => o.type === "password" && !!o.modelValue);
4571
+ const y = C(() => typeof o.modelValue == "number" || !o.clearable || o.unit || !o.modelValue ? !1 : o.modelValue.length > 0 && !o.unit), p = C(() => u.default && u.default()), m = C(() => Object.keys(i).length > 0), g = S(o.type), b = C(() => o.type === "password" && !!o.modelValue);
4571
4572
  Vo(() => {
4572
4573
  g.value = o.unit ? "number" : o.type;
4573
4574
  });
4574
- function S() {
4575
+ function $() {
4575
4576
  var T;
4576
4577
  o.readonly || (T = a.value) == null || T.focus();
4577
4578
  }
@@ -4601,7 +4602,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4601
4602
  }
4602
4603
  };
4603
4604
  return t({
4604
- focus: S
4605
+ focus: $
4605
4606
  }), (T, E) => (c(), v("div", {
4606
4607
  ref_key: "root",
4607
4608
  ref: r,
@@ -4619,7 +4620,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4619
4620
  }
4620
4621
  ])
4621
4622
  }, [
4622
- p.value || e.label ? (c(), V(ze, {
4623
+ p.value || e.label ? (c(), V(Je, {
4623
4624
  key: 0,
4624
4625
  for: e.id || e.name,
4625
4626
  required: e.required && e.requiredMark,
@@ -4671,7 +4672,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4671
4672
  (...I) => k.onChange && k.onChange(...I)),
4672
4673
  onWheel: E[4] || (E[4] = //@ts-ignore
4673
4674
  (...I) => k.onWheelScroll && k.onWheelScroll(...I))
4674
- }), null, 16, Xa),
4675
+ }), null, 16, Ka),
4675
4676
  y.value ? (c(), V(ne, {
4676
4677
  key: 0,
4677
4678
  class: "joy-input--clear",
@@ -4697,12 +4698,12 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4697
4698
  key: 3,
4698
4699
  "data-unit": e.unit,
4699
4700
  class: "joy-input--unit"
4700
- }, null, 8, Qa)) : j("", !0)
4701
+ }, null, 8, Za)) : j("", !0)
4701
4702
  ], 2)
4702
4703
  ], 2)
4703
4704
  ], 2));
4704
4705
  }
4705
- }), du = /* @__PURE__ */ B(ei, [["__scopeId", "data-v-7ae40801"]]), ti = { class: "joy-link__text" }, oi = /* @__PURE__ */ A({
4706
+ }), cu = /* @__PURE__ */ A(Xa, [["__scopeId", "data-v-7ae40801"]]), Qa = { class: "joy-link__text" }, ei = /* @__PURE__ */ B({
4706
4707
  __name: "VJoyLink",
4707
4708
  props: {
4708
4709
  href: {
@@ -4728,7 +4729,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4728
4729
  key: 0,
4729
4730
  name: e.icon
4730
4731
  }, null, 8, ["name"])) : j("", !0),
4731
- h("span", ti, [
4732
+ h("span", Qa, [
4732
4733
  w(t.$slots, "default", {}, () => [
4733
4734
  R(J(e.text), 1)
4734
4735
  ], !0)
@@ -4737,7 +4738,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4737
4738
  _: 3
4738
4739
  }, 16, ["href", "class", "type"]));
4739
4740
  }
4740
- }), fu = /* @__PURE__ */ B(oi, [["__scopeId", "data-v-19a65db4"]]), ni = { class: "joy-list-item__left" }, li = { class: "joy-font-primary-300 joy-m-0" }, ai = { class: "joy-list-item__right" }, ii = /* @__PURE__ */ A({
4741
+ }), du = /* @__PURE__ */ A(ei, [["__scopeId", "data-v-19a65db4"]]), ti = { class: "joy-list-item__left" }, oi = { class: "joy-font-primary-300 joy-m-0" }, ni = { class: "joy-list-item__right" }, li = /* @__PURE__ */ B({
4741
4742
  __name: "VJoyListItem",
4742
4743
  props: {
4743
4744
  icon: {}
@@ -4755,17 +4756,17 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4755
4756
  justify: "space-between"
4756
4757
  }, {
4757
4758
  default: z(() => [
4758
- h("div", ni, [
4759
+ h("div", ti, [
4759
4760
  e.icon ? (c(), V(q, {
4760
4761
  key: 0,
4761
4762
  class: "joy-p-3 joy-list-item__left-icon",
4762
4763
  name: e.icon
4763
4764
  }, null, 8, ["name"])) : j("", !0),
4764
- h("p", li, [
4765
+ h("p", oi, [
4765
4766
  w(t.$slots, "list-item-left", {}, void 0, !0)
4766
4767
  ])
4767
4768
  ]),
4768
- h("div", ai, [
4769
+ h("div", ni, [
4769
4770
  w(t.$slots, "list-item-right", {}, void 0, !0)
4770
4771
  ])
4771
4772
  ]),
@@ -4773,7 +4774,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4773
4774
  })
4774
4775
  ]));
4775
4776
  }
4776
- }), yu = /* @__PURE__ */ B(ii, [["__scopeId", "data-v-6c3750f0"]]), ri = ["aria-activedescendant", "aria-label"], si = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ui = { "aria-hidden": "true" }, ci = /* @__PURE__ */ A({
4777
+ }), fu = /* @__PURE__ */ A(li, [["__scopeId", "data-v-6c3750f0"]]), ai = ["aria-activedescendant", "aria-label"], ii = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ri = { "aria-hidden": "true" }, si = /* @__PURE__ */ B({
4777
4778
  __name: "VJoyMenu",
4778
4779
  props: {
4779
4780
  /**
@@ -4794,9 +4795,9 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4794
4795
  },
4795
4796
  emits: ["selectItem"],
4796
4797
  setup(e, { expose: t, emit: n }) {
4797
- const l = n, o = _();
4798
- _(0);
4799
- const i = _();
4798
+ const l = n, o = S();
4799
+ S(0);
4800
+ const i = S();
4800
4801
  function a(d) {
4801
4802
  d.disabled || l("selectItem", d);
4802
4803
  }
@@ -4862,7 +4863,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4862
4863
  role: "menuitem",
4863
4864
  onClick: (g) => a(m)
4864
4865
  }, [
4865
- h("div", ui, [
4866
+ h("div", ri, [
4866
4867
  w(d.$slots, "menu-item", W({ ref_for: !0 }, m), () => [
4867
4868
  m.icon ? (c(), V(q, {
4868
4869
  key: 0,
@@ -4871,13 +4872,13 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4871
4872
  h("span", null, J(m.label), 1)
4872
4873
  ], !0)
4873
4874
  ])
4874
- ], 42, si)), [
4875
+ ], 42, ii)), [
4875
4876
  [p, { id: s(m) }]
4876
4877
  ])), 128))
4877
- ], 40, ri);
4878
+ ], 40, ai);
4878
4879
  };
4879
4880
  }
4880
- }), mu = /* @__PURE__ */ B(ci, [["__scopeId", "data-v-b76ae1e8"]]), di = ["aria-disabled", "aria-current", "title", "aria-label"], fi = { class: "joy-menu-item__label joy-font-primary-400" }, yi = /* @__PURE__ */ A({
4881
+ }), yu = /* @__PURE__ */ A(si, [["__scopeId", "data-v-b76ae1e8"]]), ui = ["aria-disabled", "aria-current", "title", "aria-label"], ci = { class: "joy-menu-item__label joy-font-primary-400" }, di = /* @__PURE__ */ B({
4881
4882
  inheritAttrs: !1,
4882
4883
  __name: "VJoyMenuItem",
4883
4884
  props: {
@@ -4924,7 +4925,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4924
4925
  class: "joy-menu-item__icon-left",
4925
4926
  name: e.icon
4926
4927
  }, null, 8, ["name"])) : j("", !0),
4927
- h("span", fi, J(e.label), 1),
4928
+ h("span", ci, J(e.label), 1),
4928
4929
  e.status ? (c(), V(q, {
4929
4930
  key: 1,
4930
4931
  class: "joy-menu-item__icon-right",
@@ -4934,11 +4935,11 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4934
4935
  ]),
4935
4936
  _: 1
4936
4937
  }, 16, ["class", "type"]))
4937
- ], 8, di));
4938
+ ], 8, ui));
4938
4939
  }
4939
- }), pu = /* @__PURE__ */ B(yi, [["__scopeId", "data-v-283b560c"]]), mi = ["id"], pi = {
4940
+ }), mu = /* @__PURE__ */ A(di, [["__scopeId", "data-v-283b560c"]]), fi = ["id"], yi = {
4940
4941
  class: /* @__PURE__ */ L(["joy-multi-checkbox"])
4941
- }, vi = /* @__PURE__ */ A({
4942
+ }, mi = /* @__PURE__ */ B({
4942
4943
  __name: "VJoyMultiCheckbox",
4943
4944
  props: {
4944
4945
  options: {},
@@ -4964,7 +4965,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4964
4965
  id: e.id,
4965
4966
  class: "joy-multi-checkbox__wrapper"
4966
4967
  }, [
4967
- e.label ? (c(), V(ze, {
4968
+ e.label ? (c(), V(Je, {
4968
4969
  key: 0,
4969
4970
  "tag-name": "legend",
4970
4971
  required: e.required && e.requiredMark,
@@ -4976,7 +4977,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4976
4977
  ]),
4977
4978
  _: 1
4978
4979
  }, 8, ["required", "optional-label", "size"])) : j("", !0),
4979
- h("div", pi, [
4980
+ h("div", yi, [
4980
4981
  (c(!0), v(H, null, U(e.options, (s) => (c(), V(Gt, {
4981
4982
  id: s.id,
4982
4983
  key: s.id,
@@ -4993,9 +4994,9 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
4993
4994
  _: 2
4994
4995
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
4995
4996
  ])
4996
- ], 8, mi));
4997
+ ], 8, fi));
4997
4998
  }
4998
- }), vu = /* @__PURE__ */ B(vi, [["__scopeId", "data-v-e3d7a668"]]), Bt = /* @__PURE__ */ A({
4999
+ }), pu = /* @__PURE__ */ A(mi, [["__scopeId", "data-v-e3d7a668"]]), Bt = /* @__PURE__ */ B({
4999
5000
  __name: "PaginationIcon",
5000
5001
  props: {
5001
5002
  label: {
@@ -5026,7 +5027,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5026
5027
  onClick: n[0] || (n[0] = (l) => t.$emit("click"))
5027
5028
  }, null, 8, ["label", "title", "icon", "disabled"]));
5028
5029
  }
5029
- }), hi = ["aria-label", "data-current"], gi = ["onClick"], bi = ["aria-current"], wi = 6, ji = /* @__PURE__ */ A({
5030
+ }), pi = ["aria-label", "data-current"], vi = ["onClick"], hi = ["aria-current"], gi = 6, bi = /* @__PURE__ */ B({
5030
5031
  __name: "VJoyPagination",
5031
5032
  props: {
5032
5033
  /** Current page number */
@@ -5060,7 +5061,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5060
5061
  const n = e, l = t, o = C(() => {
5061
5062
  const f = a.value.length;
5062
5063
  return a.value[f - 1] !== a.value[f - 2] + 1;
5063
- }), i = C(() => a.value[0] !== a.value[1] - 1), a = C(() => n.totalPages === 1 ? [1] : n.totalPages < wi ? s(2, n.totalPages - 1) : u(n.currentPage));
5064
+ }), i = C(() => a.value[0] !== a.value[1] - 1), a = C(() => n.totalPages === 1 ? [1] : n.totalPages < gi ? s(2, n.totalPages - 1) : u(n.currentPage));
5064
5065
  function r(f, d) {
5065
5066
  n.currentPage === 1 && d === "prev" || n.currentPage === n.totalPages && d === "next" || l("update:current-page", f);
5066
5067
  }
@@ -5110,9 +5111,9 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5110
5111
  h("button", {
5111
5112
  type: "button",
5112
5113
  "aria-current": y === e.currentPage ? "true" : "false"
5113
- }, J(y), 9, bi)
5114
+ }, J(y), 9, hi)
5114
5115
  ], !0)
5115
- ], 10, gi))), 128))
5116
+ ], 10, vi))), 128))
5116
5117
  ])
5117
5118
  ]),
5118
5119
  h("li", {
@@ -5128,12 +5129,12 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5128
5129
  ], !0)
5129
5130
  ])
5130
5131
  ])
5131
- ], 8, hi));
5132
+ ], 8, pi));
5132
5133
  }
5133
- }), hu = /* @__PURE__ */ B(ji, [["__scopeId", "data-v-7e82041f"]]), ki = { class: "joy-screen-loader__content" }, $i = {
5134
+ }), vu = /* @__PURE__ */ A(bi, [["__scopeId", "data-v-7e82041f"]]), wi = { class: "joy-screen-loader__content" }, ji = {
5134
5135
  key: 0,
5135
5136
  class: "joy-screen-loader__content"
5136
- }, _i = /* @__PURE__ */ A({
5137
+ }, ki = /* @__PURE__ */ B({
5137
5138
  __name: "VJoyScreenLoader",
5138
5139
  props: {
5139
5140
  /** Light or dark. Changes the spinner and background color */
@@ -5151,34 +5152,34 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5151
5152
  return (t, n) => (c(), v("div", {
5152
5153
  class: L(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
5153
5154
  }, [
5154
- h("div", ki, [
5155
+ h("div", wi, [
5155
5156
  w(t.$slots, "spinner", {}, () => [
5156
5157
  N(Ht, {
5157
5158
  color: e.color === "dark" ? "white" : "teal"
5158
5159
  }, null, 8, ["color"])
5159
5160
  ], !0),
5160
- t.$slots.content ? (c(), v("div", $i, [
5161
+ t.$slots.content ? (c(), v("div", ji, [
5161
5162
  w(t.$slots, "content", {}, void 0, !0)
5162
5163
  ])) : j("", !0)
5163
5164
  ])
5164
5165
  ], 2));
5165
5166
  }
5166
- }), mo = /* @__PURE__ */ B(_i, [["__scopeId", "data-v-266b7e2a"]]), Si = {
5167
+ }), mo = /* @__PURE__ */ A(ki, [["__scopeId", "data-v-266b7e2a"]]), $i = {
5167
5168
  key: 0,
5168
5169
  class: /* @__PURE__ */ L(["joy-panel__header"])
5169
- }, Ci = {
5170
+ }, _i = {
5170
5171
  key: 0,
5171
5172
  class: "joy-panel__header-title-icon"
5172
- }, xi = {
5173
+ }, Si = {
5173
5174
  key: 1,
5174
5175
  class: "joy-panel__header-action"
5175
- }, Vi = {
5176
+ }, Ci = {
5176
5177
  key: 2,
5177
5178
  class: "joy-panel__header-subtitle"
5178
- }, Ti = { class: "joy-panel__body" }, Li = {
5179
+ }, xi = { class: "joy-panel__body" }, Vi = {
5179
5180
  key: 1,
5180
5181
  class: "joy-panel__footer"
5181
- }, Ii = /* @__PURE__ */ A({
5182
+ }, Ti = /* @__PURE__ */ B({
5182
5183
  __name: "VJoyPanel",
5183
5184
  props: {
5184
5185
  flex: {
@@ -5210,7 +5211,7 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5210
5211
  }
5211
5212
  },
5212
5213
  setup(e) {
5213
- const t = be("VJoyWrapperContext", {}), n = C(() => Object.keys(t).length > 0), l = Y(), o = _(), i = C(() => !!l["panel-title"] || !!l["panel-subtitle"] || !!l["panel-title-action"] || !!l["panel-title-icon"]);
5214
+ const t = de("VJoyWrapperContext", {}), n = C(() => Object.keys(t).length > 0), l = Y(), o = S(), i = C(() => !!l["panel-title"] || !!l["panel-subtitle"] || !!l["panel-title-action"] || !!l["panel-title-icon"]);
5214
5215
  return (a, r) => (c(), v("section", {
5215
5216
  ref_key: "panel",
5216
5217
  ref: o,
@@ -5225,27 +5226,27 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5225
5226
  }
5226
5227
  ])
5227
5228
  }, [
5228
- i.value ? (c(), v("header", Si, [
5229
+ i.value ? (c(), v("header", $i, [
5229
5230
  l["panel-title"] ? (c(), v("div", {
5230
5231
  key: 0,
5231
5232
  class: L(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
5232
5233
  }, [
5233
- l["panel-title-icon"] ? (c(), v("div", Ci, [
5234
+ l["panel-title-icon"] ? (c(), v("div", _i, [
5234
5235
  w(a.$slots, "panel-title-icon", {}, void 0, !0)
5235
5236
  ])) : j("", !0),
5236
5237
  w(a.$slots, "panel-title", {}, void 0, !0)
5237
5238
  ], 2)) : j("", !0),
5238
- l["panel-title-action"] ? (c(), v("div", xi, [
5239
+ l["panel-title-action"] ? (c(), v("div", Si, [
5239
5240
  w(a.$slots, "panel-title-action", {}, void 0, !0)
5240
5241
  ])) : j("", !0),
5241
- l["panel-subtitle"] ? (c(), v("div", Vi, [
5242
+ l["panel-subtitle"] ? (c(), v("div", Ci, [
5242
5243
  w(a.$slots, "panel-subtitle", {}, void 0, !0)
5243
5244
  ])) : j("", !0)
5244
5245
  ])) : j("", !0),
5245
- h("div", Ti, [
5246
+ h("div", xi, [
5246
5247
  w(a.$slots, "panel-body", {}, void 0, !0)
5247
5248
  ]),
5248
- l["panel-action"] ? (c(), v("footer", Li, [
5249
+ l["panel-action"] ? (c(), v("footer", Vi, [
5249
5250
  w(a.$slots, "panel-action", {}, void 0, !0)
5250
5251
  ])) : j("", !0),
5251
5252
  e.loading ? (c(), V(mo, {
@@ -5260,31 +5261,31 @@ const Ra = ["aria-describedby"], Na = ["id"], qa = /* @__PURE__ */ A({
5260
5261
  }, 8, ["color"])) : j("", !0)
5261
5262
  ], 6));
5262
5263
  }
5263
- }), gu = /* @__PURE__ */ B(Ii, [["__scopeId", "data-v-b4158802"]]), Ai = { class: "joy-panel-section" }, Bi = {
5264
+ }), hu = /* @__PURE__ */ A(Ti, [["__scopeId", "data-v-b4158802"]]), Li = { class: "joy-panel-section" }, Ii = {
5264
5265
  key: 0,
5265
5266
  class: "joy-panel-section__title"
5266
- }, Ei = {
5267
+ }, Bi = {
5267
5268
  key: 1,
5268
5269
  class: "joy-panel-section__content"
5269
- }, zi = /* @__PURE__ */ A({
5270
+ }, Ai = /* @__PURE__ */ B({
5270
5271
  __name: "VJoyPanelSection",
5271
5272
  setup(e) {
5272
5273
  const t = Y();
5273
- return (n, l) => (c(), v("div", Ai, [
5274
- D(t)["panel-section-title"] ? (c(), v("div", Bi, [
5274
+ return (n, l) => (c(), v("div", Li, [
5275
+ D(t)["panel-section-title"] ? (c(), v("div", Ii, [
5275
5276
  w(n.$slots, "panel-section-title", {}, void 0, !0)
5276
5277
  ])) : j("", !0),
5277
- D(t)["panel-section-content"] ? (c(), v("div", Ei, [
5278
+ D(t)["panel-section-content"] ? (c(), v("div", Bi, [
5278
5279
  w(n.$slots, "panel-section-content", {}, void 0, !0)
5279
5280
  ])) : j("", !0)
5280
5281
  ]));
5281
5282
  }
5282
- }), bu = /* @__PURE__ */ B(zi, [["__scopeId", "data-v-d88510ab"]]), Ji = {}, Pi = { class: "joy-product-tour-spotlight" };
5283
- function Mi(e, t) {
5284
- return c(), v("div", Pi);
5283
+ }), gu = /* @__PURE__ */ A(Ai, [["__scopeId", "data-v-d88510ab"]]), Ei = {}, zi = { class: "joy-product-tour-spotlight" };
5284
+ function Ji(e, t) {
5285
+ return c(), v("div", zi);
5285
5286
  }
5286
- const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78"]]), Fi = () => {
5287
- const e = _(null);
5287
+ const Pi = /* @__PURE__ */ A(Ei, [["render", Ji], ["__scopeId", "data-v-fbaf8e78"]]), Mi = () => {
5288
+ const e = S(null);
5288
5289
  return {
5289
5290
  clearProductTourRef: () => {
5290
5291
  e.value = null;
@@ -5295,10 +5296,10 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5295
5296
  },
5296
5297
  productToursRef: e
5297
5298
  };
5298
- }, po = Fi(), Di = { class: "joy-product-tour__content" }, Ri = { class: "joy-product-tour__header" }, Ni = {
5299
+ }, po = Mi(), Oi = { class: "joy-product-tour__content" }, Fi = { class: "joy-product-tour__header" }, Di = {
5299
5300
  key: 0,
5300
5301
  class: "joy-product-tour__footer"
5301
- }, qi = { class: "joy-product-tour__footer___steps" }, Hi = "joy-product-tour-spotlight__wrapper", Wi = /* @__PURE__ */ A({
5302
+ }, Ri = { class: "joy-product-tour__footer___steps" }, Ni = "joy-product-tour-spotlight__wrapper", qi = /* @__PURE__ */ B({
5302
5303
  __name: "VJoyProductTourInner",
5303
5304
  props: {
5304
5305
  icon: {},
@@ -5314,11 +5315,11 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5314
5315
  },
5315
5316
  emits: ["product-tour:hide"],
5316
5317
  setup(e, { expose: t, emit: n }) {
5317
- const l = n, o = e, { clearProductTourRef: i } = po, a = _(null), r = _(null), s = _(null), u = _(null), f = _(null), d = _(o.open), y = _(), p = _(
5318
+ const l = n, o = e, { clearProductTourRef: i } = po, a = S(null), r = S(null), s = S(null), u = S(null), f = S(null), d = S(o.open), y = S(), p = S(
5318
5319
  yo(s, a, {
5319
5320
  placement: o.position,
5320
5321
  whileElementsMounted(...x) {
5321
- return Fa(...x, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5322
+ return Ma(...x, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5322
5323
  },
5323
5324
  transform: !1,
5324
5325
  middleware: [
@@ -5333,15 +5334,15 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5333
5334
  ]
5334
5335
  })
5335
5336
  ), m = C(() => {
5336
- const { middlewareData: x, placement: O } = p.value, $ = x.arrow, P = {
5337
+ const { middlewareData: x, placement: O } = p.value, _ = x.arrow, P = {
5337
5338
  top: "bottom",
5338
5339
  right: "left",
5339
5340
  bottom: "top",
5340
5341
  left: "right"
5341
5342
  }[O.split("-")[0]];
5342
5343
  return {
5343
- left: ($ == null ? void 0 : $.x) && `${$ == null ? void 0 : $.x}px`,
5344
- top: ($ == null ? void 0 : $.y) && `${$ == null ? void 0 : $.y}px`,
5344
+ left: (_ == null ? void 0 : _.x) && `${_ == null ? void 0 : _.x}px`,
5345
+ top: (_ == null ? void 0 : _.y) && `${_ == null ? void 0 : _.y}px`,
5345
5346
  right: "",
5346
5347
  bottom: "",
5347
5348
  [P]: "-12px"
@@ -5349,7 +5350,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5349
5350
  });
5350
5351
  function g() {
5351
5352
  var x;
5352
- o.spotlightSelector && document.body.contains(document.querySelector(o.spotlightSelector)) && (s.value = document.querySelector(o.spotlightSelector), S({
5353
+ o.spotlightSelector && document.body.contains(document.querySelector(o.spotlightSelector)) && (s.value = document.querySelector(o.spotlightSelector), $({
5353
5354
  elementToHighlight: s.value,
5354
5355
  disableOverlay: o.disableOverlay
5355
5356
  }), (x = p.value) == null || x.update(), d.value = !0);
@@ -5357,20 +5358,20 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5357
5358
  function b() {
5358
5359
  d.value = !1, i(), M(), l("product-tour:hide");
5359
5360
  }
5360
- function S(x) {
5361
+ function $(x) {
5361
5362
  s.value && (x.disableOverlay || k(), T(x.elementToHighlight));
5362
5363
  }
5363
5364
  function k() {
5364
5365
  r.value = document.createElement("div"), r.value.classList.add("joy-product-tour__overlay"), r.value.addEventListener("click", b, { once: !0 }), r.value.style.position = "fixed", r.value.style.top = "0", r.value.style.left = "0", r.value.style.width = "100%", r.value.style.height = "100%", r.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(r.value);
5365
5366
  }
5366
5367
  function T(x) {
5367
- x && (x.style.position = "relative", x.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", u.value = N(Oi), f.value = document.createElement("div"), f.value.classList.add(Hi), document.body.appendChild(f.value), jt(u.value, f.value), E());
5368
+ x && (x.style.position = "relative", x.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", u.value = N(Pi), f.value = document.createElement("div"), f.value.classList.add(Ni), document.body.appendChild(f.value), jt(u.value, f.value), E());
5368
5369
  }
5369
5370
  function E() {
5370
5371
  if (!f.value)
5371
5372
  return;
5372
- const { left: x, top: O, height: $, width: P } = s.value.getBoundingClientRect();
5373
- f.value.style.left = `calc(${window.scrollX + x - o.spotlightPadding}px`, f.value.style.top = `${window.scrollY + O - o.spotlightPadding}px`, f.value.style.width = `${P}px`, f.value.style.height = `${$}px`, f.value.style.position = "absolute", f.value.style.padding = o.spotlightPadding + "px", f.value.style.boxSizing = "content-box";
5373
+ const { left: x, top: O, height: _, width: P } = s.value.getBoundingClientRect();
5374
+ f.value.style.left = `calc(${window.scrollX + x - o.spotlightPadding}px`, f.value.style.top = `${window.scrollY + O - o.spotlightPadding}px`, f.value.style.width = `${P}px`, f.value.style.height = `${_}px`, f.value.style.position = "absolute", f.value.style.padding = o.spotlightPadding + "px", f.value.style.boxSizing = "content-box";
5374
5375
  }
5375
5376
  function I() {
5376
5377
  r.value && r.value.remove();
@@ -5381,20 +5382,20 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5381
5382
  return G(p.value, () => {
5382
5383
  var x;
5383
5384
  u.value && ((x = a.value) != null && x.isConnected ? E() : b());
5384
- }), zt(() => {
5385
+ }), Et(() => {
5385
5386
  M();
5386
5387
  }), t({
5387
5388
  hide: b,
5388
5389
  show: g,
5389
5390
  isOpen: d
5390
5391
  }), (x, O) => {
5391
- var $;
5392
+ var _;
5392
5393
  return Ke((c(), v("div", {
5393
5394
  ref_key: "productTour",
5394
5395
  ref: a,
5395
5396
  class: "joy-product-tour__wrapper",
5396
5397
  role: "tooltip",
5397
- style: ee({ "--product-tour-width": e.maxWidth + "px", ...($ = p.value) == null ? void 0 : $.floatingStyles })
5398
+ style: ee({ "--product-tour-width": e.maxWidth + "px", ...(_ = p.value) == null ? void 0 : _.floatingStyles })
5398
5399
  }, [
5399
5400
  h("div", {
5400
5401
  ref_key: "productTourArrow",
@@ -5432,7 +5433,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5432
5433
  onClick: b
5433
5434
  })) : j("", !0)
5434
5435
  ], 2),
5435
- h("div", Di, [
5436
+ h("div", Oi, [
5436
5437
  e.icon ? (c(), V(q, {
5437
5438
  key: 0,
5438
5439
  class: "joy-product-tour__content___icon",
@@ -5440,17 +5441,17 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5440
5441
  size: "medium"
5441
5442
  }, null, 8, ["name"])) : j("", !0),
5442
5443
  h("div", null, [
5443
- h("div", Ri, [
5444
+ h("div", Fi, [
5444
5445
  w(x.$slots, "product-tour-header", {}, void 0, !0)
5445
5446
  ]),
5446
5447
  w(x.$slots, "product-tour-content", {}, void 0, !0)
5447
5448
  ])
5448
5449
  ]),
5449
- x.$slots["product-tour-dismiss"] || x.$slots["product-tour-next"] ? (c(), v("div", Ni, [
5450
+ x.$slots["product-tour-dismiss"] || x.$slots["product-tour-next"] ? (c(), v("div", Di, [
5450
5451
  h("div", { onClick: b }, [
5451
5452
  w(x.$slots, "product-tour-dismiss", {}, void 0, !0)
5452
5453
  ]),
5453
- h("span", qi, [
5454
+ h("span", Ri, [
5454
5455
  e.steps > 1 ? (c(), v(H, { key: 0 }, [
5455
5456
  R(J(e.step) + "/" + J(e.steps), 1)
5456
5457
  ], 64)) : j("", !0)
@@ -5463,7 +5464,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5463
5464
  ]);
5464
5465
  };
5465
5466
  }
5466
- }), Ui = /* @__PURE__ */ B(Wi, [["__scopeId", "data-v-3f8b3a2a"]]), wu = /* @__PURE__ */ A({
5467
+ }), Hi = /* @__PURE__ */ A(qi, [["__scopeId", "data-v-3f8b3a2a"]]), bu = /* @__PURE__ */ B({
5467
5468
  inheritAttrs: !1,
5468
5469
  __name: "VJoyProductTour",
5469
5470
  props: {
@@ -5480,7 +5481,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5480
5481
  },
5481
5482
  emits: ["product-tour:hide"],
5482
5483
  setup(e, { expose: t, emit: n }) {
5483
- const l = _(!1), o = e, i = n, { storeProductTourRef: a, clearProductTourRef: r } = po, s = _(), u = we(), f = C(() => {
5484
+ const l = S(!1), o = e, i = n, { storeProductTourRef: a, clearProductTourRef: r } = po, s = S(), u = we(), f = C(() => {
5484
5485
  if (l.value)
5485
5486
  return u;
5486
5487
  });
@@ -5499,8 +5500,8 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5499
5500
  }), t({
5500
5501
  show: d,
5501
5502
  hide: p
5502
- }), (m, g) => (c(), V(Be, { to: "body" }, [
5503
- N(Ui, W({ ...o, ...f.value }, {
5503
+ }), (m, g) => (c(), V(Ee, { to: "body" }, [
5504
+ N(Hi, W({ ...o, ...f.value }, {
5504
5505
  ref_key: "productTour",
5505
5506
  ref: s,
5506
5507
  "onProductTour:hide": y
@@ -5527,7 +5528,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5527
5528
  }, 16)
5528
5529
  ]));
5529
5530
  }
5530
- }), ju = /* @__PURE__ */ A({
5531
+ }), wu = /* @__PURE__ */ B({
5531
5532
  __name: "VJoyProductTourTrigger",
5532
5533
  props: {
5533
5534
  productTour: {}
@@ -5544,10 +5545,10 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5544
5545
  onClick: r
5545
5546
  }))), 128));
5546
5547
  }
5547
- }), Gi = { class: "joy-progress-bar-wrapper" }, Yi = {
5548
+ }), Wi = { class: "joy-progress-bar-wrapper" }, Ui = {
5548
5549
  key: 0,
5549
5550
  class: "joy-progress-bar-label joy-font-primary-250"
5550
- }, Ki = /* @__PURE__ */ A({
5551
+ }, Gi = /* @__PURE__ */ B({
5551
5552
  __name: "VJoyProgressBar",
5552
5553
  props: {
5553
5554
  /** import TJoyProgressBarColors */
@@ -5580,7 +5581,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5580
5581
  }
5581
5582
  },
5582
5583
  setup(e, { expose: t }) {
5583
- const n = e, l = _(0), o = C(() => i());
5584
+ const n = e, l = S(0), o = C(() => i());
5584
5585
  function i() {
5585
5586
  return n.percentage ? l.value = n.percentage : n.currentStep && n.steps ? l.value = Math.round(n.currentStep / n.steps * 100) : l.value = 0, l.value < 0 && (l.value = 0), l.value > 100 && (l.value = 100), l.value + "%";
5586
5587
  }
@@ -5594,18 +5595,18 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5594
5595
  class: L([`joy-progress-bar_${e.color}`])
5595
5596
  }, {
5596
5597
  default: z(() => [
5597
- h("div", Gi, [
5598
+ h("div", Wi, [
5598
5599
  h("div", {
5599
5600
  class: "joy-progress-bar-inner",
5600
5601
  style: ee({ width: o.value })
5601
5602
  }, null, 4)
5602
5603
  ]),
5603
- e.showLabel && e.percentage ? (c(), v("span", Yi, J(e.percentage + "%"), 1)) : j("", !0)
5604
+ e.showLabel && e.percentage ? (c(), v("span", Ui, J(e.percentage + "%"), 1)) : j("", !0)
5604
5605
  ]),
5605
5606
  _: 1
5606
5607
  }, 8, ["class"]));
5607
5608
  }
5608
- }), ku = /* @__PURE__ */ B(Ki, [["__scopeId", "data-v-1216eff6"]]), Zi = ["id", "value", "checked", "disabled", "required", "name"], Xi = { class: "joy-radio-label" }, Qi = { class: "joy-radio-header-right" }, er = { class: "joy-radio-sublabel" }, tr = { class: "joy-radio-content__wrapper" }, or = { class: "joy-radio-content" }, nr = /* @__PURE__ */ A({
5609
+ }), ju = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-1216eff6"]]), Yi = ["id", "value", "checked", "disabled", "required", "name"], Ki = { class: "joy-radio-label" }, Zi = { class: "joy-radio-header-right" }, Xi = { class: "joy-radio-sublabel" }, Qi = { class: "joy-radio-content__wrapper" }, er = { class: "joy-radio-content" }, tr = /* @__PURE__ */ B({
5609
5610
  __name: "VJoyRadio",
5610
5611
  props: {
5611
5612
  disabled: {
@@ -5633,35 +5634,45 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5633
5634
  value: {
5634
5635
  type: [String, Number],
5635
5636
  required: !0
5637
+ },
5638
+ /**
5639
+ * Invalid state of the component
5640
+ *
5641
+ * If not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.
5642
+ * Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).
5643
+ */
5644
+ invalid: {
5645
+ type: Boolean,
5646
+ default: void 0
5636
5647
  }
5637
5648
  },
5638
5649
  emits: ["update:modelValue"],
5639
5650
  setup(e, { expose: t, emit: n }) {
5640
- const l = n, o = e, i = _(!1), a = _(!1), r = _(null), s = _(null), u = Y(), f = C(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value);
5641
- function d() {
5651
+ const l = n, o = e, i = S(!1), a = S(!1), r = S(null), s = S(null), u = Y(), f = C(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value), d = de("VJoyRadioGroupInvalid", !1), y = C(() => o.invalid !== void 0 ? o.invalid : d), p = C(() => y.value);
5652
+ function m() {
5642
5653
  i.value = !!u["expandable-content"] && f.value;
5643
5654
  }
5644
- function y() {
5645
- l("update:modelValue", o.value), d();
5655
+ function g() {
5656
+ l("update:modelValue", o.value), m();
5646
5657
  }
5647
5658
  te(() => {
5648
- o.theme === "outline" && d();
5659
+ o.theme === "outline" && m();
5649
5660
  });
5650
- function p() {
5661
+ function b() {
5651
5662
  a.value = !0;
5652
5663
  }
5653
- function m() {
5664
+ function $() {
5654
5665
  a.value = !1;
5655
5666
  }
5656
5667
  return G(
5657
5668
  () => o.modelValue,
5658
5669
  () => {
5659
- d();
5670
+ m();
5660
5671
  }
5661
5672
  ), t({
5662
5673
  checked: f,
5663
5674
  isExpanded: i
5664
- }), (g, b) => (c(), v("label", {
5675
+ }), (k, T) => (c(), v("label", {
5665
5676
  ref_key: "root",
5666
5677
  ref: r,
5667
5678
  class: L([
@@ -5670,6 +5681,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5670
5681
  {
5671
5682
  "joy-radio--checked": f.value,
5672
5683
  "joy-radio--disabled": e.disabled,
5684
+ "joy-radio--invalid": p.value,
5673
5685
  "joy-radio--outline-focus": a.value && e.theme === "outline",
5674
5686
  "joy-radio--focus": a.value && e.theme === "default"
5675
5687
  }
@@ -5684,57 +5696,58 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5684
5696
  disabled: e.disabled,
5685
5697
  required: e.required,
5686
5698
  name: e.name,
5687
- onChange: y,
5688
- onFocus: p,
5689
- onBlur: m
5690
- }, null, 40, Zi),
5691
- h("span", Xi, [
5692
- w(g.$slots, "default", {}, void 0, !0),
5693
- h("div", Qi, [
5694
- w(g.$slots, "radio-header-right", {}, void 0, !0)
5699
+ onChange: g,
5700
+ onFocus: b,
5701
+ onBlur: $
5702
+ }, null, 40, Yi),
5703
+ h("span", Ki, [
5704
+ w(k.$slots, "default", {}, void 0, !0),
5705
+ h("div", Zi, [
5706
+ w(k.$slots, "radio-header-right", {}, void 0, !0)
5695
5707
  ])
5696
5708
  ]),
5697
- h("div", er, [
5698
- w(g.$slots, "radio-sublabel", {}, void 0, !0)
5709
+ h("div", Xi, [
5710
+ w(k.$slots, "radio-sublabel", {}, void 0, !0)
5699
5711
  ]),
5700
- h("div", tr, [
5712
+ h("div", Qi, [
5701
5713
  h("div", {
5702
5714
  ref_key: "expandableElement",
5703
5715
  ref: s,
5704
5716
  class: L(["joy-radio-expandable", { "joy-radio-expandable--expanded": i.value }])
5705
5717
  }, [
5706
- w(g.$slots, "expandable-content", {}, void 0, !0)
5718
+ w(k.$slots, "expandable-content", {}, void 0, !0)
5707
5719
  ], 2),
5708
- h("div", or, [
5709
- w(g.$slots, "radio-content", {}, void 0, !0)
5720
+ h("div", er, [
5721
+ w(k.$slots, "radio-content", {}, void 0, !0)
5710
5722
  ])
5711
5723
  ])
5712
5724
  ], 2));
5713
5725
  }
5714
- }), $u = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-c5b11e4c"]]), lr = ["form", "name"], ar = /* @__PURE__ */ A({
5726
+ }), ku = /* @__PURE__ */ A(tr, [["__scopeId", "data-v-6efefd03"]]), or = ["form", "name"], nr = /* @__PURE__ */ B({
5715
5727
  __name: "VJoyRadioGroup",
5716
5728
  props: {
5717
5729
  direction: { default: "horizontal" },
5718
5730
  form: {},
5719
- name: {}
5731
+ name: {},
5732
+ invalid: { type: Boolean, default: !1 }
5720
5733
  },
5721
5734
  setup(e) {
5722
- return (t, n) => (c(), v("fieldset", {
5735
+ return Ae("VJoyRadioGroupInvalid", e.invalid), (n, l) => (c(), v("fieldset", {
5723
5736
  ref: "root",
5724
5737
  class: "joy-radio-group-fieldset",
5725
5738
  role: "radiogroup",
5726
5739
  form: e.form,
5727
5740
  name: e.name
5728
5741
  }, [
5729
- w(t.$slots, "radio-group-legend", {}, void 0, !0),
5742
+ w(n.$slots, "radio-group-legend", {}, void 0, !0),
5730
5743
  h("div", {
5731
5744
  class: L(["joy-radio-group-container", `joy-radio-group-${e.direction}`])
5732
5745
  }, [
5733
- w(t.$slots, "default", {}, void 0, !0)
5746
+ w(n.$slots, "default", {}, void 0, !0)
5734
5747
  ], 2)
5735
- ], 8, lr));
5748
+ ], 8, or));
5736
5749
  }
5737
- }), _u = /* @__PURE__ */ B(ar, [["__scopeId", "data-v-ac4dd24e"]]), ir = ["aria-label"], rr = { class: "joy-rating-stars" }, sr = { class: "joy-rating-stars__content" }, ur = { key: 0 }, cr = /* @__PURE__ */ A({
5750
+ }), $u = /* @__PURE__ */ A(nr, [["__scopeId", "data-v-cc091c50"]]), lr = ["aria-label"], ar = { class: "joy-rating-stars" }, ir = { class: "joy-rating-stars__content" }, rr = { key: 0 }, sr = /* @__PURE__ */ B({
5738
5751
  __name: "VJoyRatingStars",
5739
5752
  props: {
5740
5753
  /** Between 0 and 5 */
@@ -5766,7 +5779,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5766
5779
  class: "joy-rating-stars__wrapper",
5767
5780
  "aria-label": D(l).ariaLabel || `Rating: ${e.ratingValue} out of 5`
5768
5781
  }, [
5769
- h("ul", rr, [
5782
+ h("ul", ar, [
5770
5783
  (c(!0), v(H, null, U(o.value, (r, s) => (c(), v("li", {
5771
5784
  key: s,
5772
5785
  class: L([`joy-rating-stars--${e.size}`])
@@ -5789,14 +5802,14 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5789
5802
  }))
5790
5803
  ], 2))), 128))
5791
5804
  ]),
5792
- h("div", sr, [
5805
+ h("div", ir, [
5793
5806
  w(i.$slots, "rating-stars-content", {}, () => [
5794
- e.reviewCount ? (c(), v("span", ur, "(" + J(e.reviewCount) + ")", 1)) : j("", !0)
5807
+ e.reviewCount ? (c(), v("span", rr, "(" + J(e.reviewCount) + ")", 1)) : j("", !0)
5795
5808
  ], !0)
5796
5809
  ])
5797
- ], 8, ir));
5810
+ ], 8, lr));
5798
5811
  }
5799
- }), dr = /* @__PURE__ */ B(cr, [["__scopeId", "data-v-df20c585"]]), fr = ["id", "name", "aria-label", "aria-invalid", "required", "disabled"], yr = ["selected"], mr = /* @__PURE__ */ A({
5812
+ }), ur = /* @__PURE__ */ A(sr, [["__scopeId", "data-v-df20c585"]]), cr = ["id", "name", "aria-label", "aria-invalid", "required", "disabled"], dr = ["selected"], fr = /* @__PURE__ */ B({
5800
5813
  __name: "VJoySelect",
5801
5814
  props: {
5802
5815
  /** aria-label is available only if 'label' property is undefined **/
@@ -5847,11 +5860,11 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5847
5860
  const l = e, o = n, i = Y(), a = C(() => {
5848
5861
  const g = (i == null ? void 0 : i.default) && (i == null ? void 0 : i.default());
5849
5862
  let b = [];
5850
- return g.forEach((S) => {
5851
- if (r(S))
5852
- b.push(S);
5863
+ return g.forEach(($) => {
5864
+ if (r($))
5865
+ b.push($);
5853
5866
  else {
5854
- const k = S.children;
5867
+ const k = $.children;
5855
5868
  if (typeof k == "string" || !k.length)
5856
5869
  return;
5857
5870
  const T = k.filter(r);
@@ -5862,15 +5875,15 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5862
5875
  function r(g) {
5863
5876
  return (g == null ? void 0 : g.type) === "option";
5864
5877
  }
5865
- const s = _(), u = _(), f = _(!1), d = C(() => l.labelSize ? l.labelSize : l.size !== "medium" ? "small" : "medium");
5878
+ const s = S(), u = S(), f = S(!1), d = C(() => l.labelSize ? l.labelSize : l.size !== "medium" ? "small" : "medium");
5866
5879
  te(() => {
5867
- var S;
5880
+ var $;
5868
5881
  const g = i["select-label"] && i["select-label"]();
5869
5882
  if (!g || !g.length)
5870
5883
  return;
5871
5884
  const b = g[0];
5872
5885
  if (b.type === "JoyLabel") {
5873
- const k = (S = b.props) == null ? void 0 : S.for;
5886
+ const k = ($ = b.props) == null ? void 0 : $.for;
5874
5887
  if (!k) {
5875
5888
  console.warn("JoyLabel for attribute is missing");
5876
5889
  return;
@@ -5895,7 +5908,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5895
5908
  ref: s
5896
5909
  }, [
5897
5910
  w(g.$slots, "select-label", {}, () => [
5898
- e.label ? (c(), V(ze, {
5911
+ e.label ? (c(), V(Je, {
5899
5912
  key: 0,
5900
5913
  required: e.required && e.requiredMark,
5901
5914
  "optional-label": e.optionalLabel,
@@ -5934,15 +5947,15 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5934
5947
  onFocus: p,
5935
5948
  onBlur: m
5936
5949
  }, [
5937
- (c(!0), v(H, null, U(a.value, (S) => {
5950
+ (c(!0), v(H, null, U(a.value, ($) => {
5938
5951
  var k, T;
5939
5952
  return c(), v("option", W({
5940
- key: (k = S.props) == null ? void 0 : k.value
5941
- }, { ref_for: !0 }, S.props, {
5942
- selected: ((T = S.props) == null ? void 0 : T.value) === e.modelValue
5943
- }), J(S.children), 17, yr);
5953
+ key: (k = $.props) == null ? void 0 : k.value
5954
+ }, { ref_for: !0 }, $.props, {
5955
+ selected: ((T = $.props) == null ? void 0 : T.value) === e.modelValue
5956
+ }), J($.children), 17, dr);
5944
5957
  }), 128))
5945
- ], 40, fr),
5958
+ ], 40, cr),
5946
5959
  N(q, {
5947
5960
  class: "joy-select__chevron",
5948
5961
  name: "chevron-down"
@@ -5950,7 +5963,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5950
5963
  ], 2)
5951
5964
  ], 512));
5952
5965
  }
5953
- }), Su = /* @__PURE__ */ B(mr, [["__scopeId", "data-v-a56560eb"]]), pr = ["aria-disabled"], vr = ["id", "value", "checked", "disabled", "required", "name"], hr = { class: "joy-selectable-item__label" }, gr = /* @__PURE__ */ A({
5966
+ }), _u = /* @__PURE__ */ A(fr, [["__scopeId", "data-v-a56560eb"]]), yr = ["aria-disabled"], mr = ["id", "value", "checked", "disabled", "required", "name"], pr = { class: "joy-selectable-item__label" }, vr = /* @__PURE__ */ B({
5954
5967
  __name: "VJoySelectableItem",
5955
5968
  props: {
5956
5969
  disabled: { type: Boolean, default: !1 },
@@ -5967,7 +5980,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
5967
5980
  },
5968
5981
  emits: ["update:checked"],
5969
5982
  setup(e, { emit: t }) {
5970
- const n = t, l = Oe() + "--JoySelectableItem", o = e, i = _(), a = _(!1), r = o.multiple ? "div" : "label", s = C(() => o.id || l), u = {
5983
+ const n = t, l = Oe() + "--JoySelectableItem", o = e, i = S(), a = S(!1), r = o.multiple ? "div" : "label", s = C(() => o.id || l), u = {
5971
5984
  onRadioChange: () => {
5972
5985
  n("update:checked", o.value);
5973
5986
  },
@@ -6016,7 +6029,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6016
6029
  (...p) => u.onFocus && u.onFocus(...p)),
6017
6030
  onBlur: y[2] || (y[2] = //@ts-ignore
6018
6031
  (...p) => u.onBlur && u.onBlur(...p))
6019
- }, null, 40, vr)),
6032
+ }, null, 40, mr)),
6020
6033
  (c(), V(Z(D(r)), {
6021
6034
  for: s.value,
6022
6035
  class: L([
@@ -6051,7 +6064,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6051
6064
  ]),
6052
6065
  _: 3
6053
6066
  }, 8, ["id", "checked", "disabled", "value", "name", "required", "invalid"])) : j("", !0),
6054
- h("div", hr, [
6067
+ h("div", pr, [
6055
6068
  e.multiple ? j("", !0) : w(d.$slots, "default", { key: 0 }, void 0, !0)
6056
6069
  ]),
6057
6070
  h("div", {
@@ -6064,9 +6077,9 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6064
6077
  ]),
6065
6078
  _: 3
6066
6079
  }, 8, ["for", "class", "onClick"]))
6067
- ], 10, pr));
6080
+ ], 10, yr));
6068
6081
  }
6069
- }), br = /* @__PURE__ */ B(gr, [["__scopeId", "data-v-1bc198e0"]]), wr = ["id"], jr = /* @__PURE__ */ A({
6082
+ }), hr = /* @__PURE__ */ A(vr, [["__scopeId", "data-v-1bc198e0"]]), gr = ["id"], br = /* @__PURE__ */ B({
6070
6083
  __name: "VJoySelectableItemGroup",
6071
6084
  props: {
6072
6085
  options: {},
@@ -6103,7 +6116,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6103
6116
  id: e.id,
6104
6117
  class: "joy-selectable-item-group__wrapper"
6105
6118
  }, [
6106
- e.label ? (c(), V(ze, {
6119
+ e.label ? (c(), V(Je, {
6107
6120
  key: 0,
6108
6121
  "tag-name": "legend",
6109
6122
  required: e.required && e.requiredMark,
@@ -6126,7 +6139,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6126
6139
  }
6127
6140
  ])
6128
6141
  }, [
6129
- (c(!0), v(H, null, U(e.options, (u) => (c(), V(br, W({ ref_for: !0 }, u.attrs, {
6142
+ (c(!0), v(H, null, U(e.options, (u) => (c(), V(hr, W({ ref_for: !0 }, u.attrs, {
6130
6143
  id: u.id,
6131
6144
  key: u.id,
6132
6145
  name: u.name,
@@ -6158,9 +6171,9 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6158
6171
  "no-html-error-text": e.errorMessage,
6159
6172
  class: "joy-mt-2"
6160
6173
  }, null, 8, ["no-html-error-text"])) : j("", !0)
6161
- ], 8, wr));
6174
+ ], 8, gr));
6162
6175
  }
6163
- }), Cu = /* @__PURE__ */ B(jr, [["__scopeId", "data-v-b1ae09f7"]]), kr = /* @__PURE__ */ A({
6176
+ }), Su = /* @__PURE__ */ A(br, [["__scopeId", "data-v-b1ae09f7"]]), wr = /* @__PURE__ */ B({
6164
6177
  __name: "VJoySeparator",
6165
6178
  props: {
6166
6179
  /** Main text to apply in the central area */
@@ -6179,10 +6192,10 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6179
6192
  h("span", null, J(e.text), 1)
6180
6193
  ], 2));
6181
6194
  }
6182
- }), xu = /* @__PURE__ */ B(kr, [["__scopeId", "data-v-21db2899"]]), $r = ["id"], _r = { class: "joy-step__stroke" }, Sr = {
6195
+ }), Cu = /* @__PURE__ */ A(wr, [["__scopeId", "data-v-21db2899"]]), jr = ["id"], kr = { class: "joy-step__stroke" }, $r = {
6183
6196
  key: 0,
6184
6197
  class: "joy-step__label"
6185
- }, Cr = /* @__PURE__ */ A({
6198
+ }, _r = /* @__PURE__ */ B({
6186
6199
  __name: "VJoyStep",
6187
6200
  props: {
6188
6201
  /** Set it to completed to change it's color */
@@ -6216,7 +6229,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6216
6229
  },
6217
6230
  emits: ["update:subSteps"],
6218
6231
  setup(e, { expose: t, emit: n }) {
6219
- const l = e, o = n, i = _(0.1), a = C(() => l.completed ? "100%" : r.value ? l.subSteps <= 1 || l.currentSubStep === 1 ? "10%" : (Math.min(l.currentSubStep / l.subSteps - i.value, 1 - i.value) * 100).toFixed(1) + "%" : "0%"), r = C(() => l.currentSubStep > 0);
6232
+ const l = e, o = n, i = S(0.1), a = C(() => l.completed ? "100%" : r.value ? l.subSteps <= 1 || l.currentSubStep === 1 ? "10%" : (Math.min(l.currentSubStep / l.subSteps - i.value, 1 - i.value) * 100).toFixed(1) + "%" : "0%"), r = C(() => l.currentSubStep > 0);
6220
6233
  function s(u) {
6221
6234
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), o("update:subSteps");
6222
6235
  }
@@ -6233,7 +6246,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6233
6246
  }
6234
6247
  ])
6235
6248
  }, [
6236
- h("span", _r, [
6249
+ h("span", kr, [
6237
6250
  h("span", {
6238
6251
  class: "joy-step__stroke--filled",
6239
6252
  style: ee({ maxWidth: a.value })
@@ -6241,15 +6254,15 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6241
6254
  ]),
6242
6255
  N(ct, { name: "joy-step__label" }, {
6243
6256
  default: z(() => [
6244
- e.showLabel ? (c(), v("span", Sr, [
6257
+ e.showLabel ? (c(), v("span", $r, [
6245
6258
  w(u.$slots, "default", {}, void 0, !0)
6246
6259
  ])) : j("", !0)
6247
6260
  ]),
6248
6261
  _: 3
6249
6262
  })
6250
- ], 10, $r));
6263
+ ], 10, jr));
6251
6264
  }
6252
- }), xr = /* @__PURE__ */ B(Cr, [["__scopeId", "data-v-3820cdf3"]]), Vr = { class: "joy-stepper" }, Tr = /* @__PURE__ */ A({
6265
+ }), Sr = /* @__PURE__ */ A(_r, [["__scopeId", "data-v-3820cdf3"]]), Cr = { class: "joy-stepper" }, xr = /* @__PURE__ */ B({
6253
6266
  __name: "VJoyStepper",
6254
6267
  props: {
6255
6268
  /** Current step value */
@@ -6264,7 +6277,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6264
6277
  }
6265
6278
  },
6266
6279
  setup(e, { expose: t }) {
6267
- const n = e, l = Y(), o = be("VJoyStepperShowLabels", !0), i = C(() => {
6280
+ const n = e, l = Y(), o = de("VJoyStepperShowLabels", !0), i = C(() => {
6268
6281
  const y = l.default();
6269
6282
  return y.length === 1 && typeof y[0].type != "object" ? y[0].children.filter(a) : y.filter(a);
6270
6283
  });
@@ -6280,19 +6293,19 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6280
6293
  currentItemSubStep: u,
6281
6294
  steps: i,
6282
6295
  invalidSubStepValue: s
6283
- }), (y, p) => (c(), v("div", Vr, [
6296
+ }), (y, p) => (c(), v("div", Cr, [
6284
6297
  (c(!0), v(H, null, U(i.value, (m, g) => {
6285
6298
  var b;
6286
- return c(), V(xr, W({ ref_for: !0 }, m.props, {
6299
+ return c(), V(Sr, W({ ref_for: !0 }, m.props, {
6287
6300
  key: (b = m.props) == null ? void 0 : b.id,
6288
6301
  completed: g < e.step - 1,
6289
6302
  "current-sub-step": d(g),
6290
6303
  "show-label": D(o)
6291
6304
  }), {
6292
6305
  default: z(() => {
6293
- var S;
6306
+ var $;
6294
6307
  return [
6295
- (S = m.children) != null && S.default ? (c(), V(Z(m.children.default), { key: 0 })) : j("", !0)
6308
+ ($ = m.children) != null && $.default ? (c(), V(Z(m.children.default), { key: 0 })) : j("", !0)
6296
6309
  ];
6297
6310
  }),
6298
6311
  _: 2
@@ -6300,7 +6313,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6300
6313
  }), 128))
6301
6314
  ]));
6302
6315
  }
6303
- }), Vu = /* @__PURE__ */ B(Tr, [["__scopeId", "data-v-22705668"]]), Lr = ["id", "aria-hidden", "aria-labelledby"], Ir = /* @__PURE__ */ A({
6316
+ }), xu = /* @__PURE__ */ A(xr, [["__scopeId", "data-v-22705668"]]), Vr = ["id", "aria-hidden", "aria-labelledby"], Tr = /* @__PURE__ */ B({
6304
6317
  __name: "VJoyTab",
6305
6318
  props: {
6306
6319
  /**
@@ -6331,7 +6344,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6331
6344
  }
6332
6345
  },
6333
6346
  setup(e) {
6334
- const t = e, n = be("VJoyTabs", _("")), l = C(() => n.value === t.tab);
6347
+ const t = e, n = de("VJoyTabs", S("")), l = C(() => n.value === t.tab);
6335
6348
  return (o, i) => (c(), v("div", {
6336
6349
  id: `joy-tab-${e.tab}`,
6337
6350
  role: "tabpanel",
@@ -6343,12 +6356,12 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6343
6356
  })
6344
6357
  }, [
6345
6358
  w(o.$slots, "default", {}, void 0, !0)
6346
- ], 10, Lr));
6359
+ ], 10, Vr));
6347
6360
  }
6348
- }), Tu = /* @__PURE__ */ B(Ir, [["__scopeId", "data-v-60bfe6bd"]]), Ar = ["id", "href", "aria-selected", "aria-controls"], Br = {
6361
+ }), Vu = /* @__PURE__ */ A(Tr, [["__scopeId", "data-v-60bfe6bd"]]), Lr = ["id", "href", "aria-selected", "aria-controls"], Ir = {
6349
6362
  type: "button",
6350
6363
  tabindex: "-1"
6351
- }, Er = /* @__PURE__ */ A({
6364
+ }, Br = /* @__PURE__ */ B({
6352
6365
  __name: "TabButton",
6353
6366
  props: {
6354
6367
  /**
@@ -6408,11 +6421,11 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6408
6421
  "joy-tab-button__selected": e.selected
6409
6422
  })
6410
6423
  }, [
6411
- h("button", Br, [
6424
+ h("button", Ir, [
6412
6425
  w(r.$slots, "default", {}, () => [
6413
6426
  R(J(e.label), 1)
6414
6427
  ], !0),
6415
- o.value ? (c(), V(un, {
6428
+ o.value ? (c(), V(qt, {
6416
6429
  key: 0,
6417
6430
  class: "joy-tab-button_notifications",
6418
6431
  variant: "pink",
@@ -6420,9 +6433,9 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6420
6433
  }, null, 8, ["number"])) : j("", !0)
6421
6434
  ])
6422
6435
  ], 2)
6423
- ], 40, Ar));
6436
+ ], 40, Lr));
6424
6437
  }
6425
- }), zr = /* @__PURE__ */ B(Er, [["__scopeId", "data-v-ba5481c7"]]), Jr = { class: "joy-tabs" }, Pr = /* @__PURE__ */ A({
6438
+ }), Ar = /* @__PURE__ */ A(Br, [["__scopeId", "data-v-358b26cc"]]), Er = { class: "joy-tabs" }, zr = /* @__PURE__ */ B({
6426
6439
  __name: "VJoyTabs",
6427
6440
  props: {
6428
6441
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -6432,15 +6445,15 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6432
6445
  },
6433
6446
  emits: ["update:selected-tab"],
6434
6447
  setup(e, { expose: t, emit: n }) {
6435
- const l = e, o = n, i = Y(), a = _(l.selectedTab);
6436
- Me("VJoyTabs", a);
6437
- const r = _(null), s = _(null), u = _(!1), f = _(!1), d = C(() => {
6448
+ const l = e, o = n, i = Y(), a = S(l.selectedTab);
6449
+ Ae("VJoyTabs", a);
6450
+ const r = S(null), s = S(null), u = S(!1), f = S(!1), d = C(() => {
6438
6451
  const b = i.default();
6439
6452
  return b.length === 1 && typeof b[0].type != "object" ? b[0].children.filter(y) : b.filter(y);
6440
6453
  });
6441
6454
  function y(b) {
6442
- var S;
6443
- return ((S = b == null ? void 0 : b.type) == null ? void 0 : S.__name) === "VJoyTab";
6455
+ var $;
6456
+ return (($ = b == null ? void 0 : b.type) == null ? void 0 : $.__name) === "VJoyTab";
6444
6457
  }
6445
6458
  function p(b) {
6446
6459
  return b.props.tab === a.value;
@@ -6448,8 +6461,8 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6448
6461
  function m() {
6449
6462
  s.value && r.value && s.value.scrollWidth > r.value.offsetWidth ? (f.value = s.value.scrollLeft > 0, u.value = s.value.scrollLeft + r.value.offsetWidth < s.value.scrollWidth) : (f.value = !1, u.value = !1);
6450
6463
  }
6451
- function g(b, S = !0) {
6452
- b && S && (a.value = b, o("update:selected-tab", b));
6464
+ function g(b, $ = !0) {
6465
+ b && $ && (a.value = b, o("update:selected-tab", b));
6453
6466
  }
6454
6467
  return G(
6455
6468
  () => l.selectedTab,
@@ -6460,12 +6473,12 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6460
6473
  ), te(() => {
6461
6474
  var b;
6462
6475
  m(), (b = s.value) == null || b.addEventListener("scroll", m);
6463
- }), Ee(() => {
6476
+ }), ze(() => {
6464
6477
  var b;
6465
6478
  (b = s.value) == null || b.removeEventListener("scroll", m);
6466
6479
  }), t({
6467
6480
  tabs: d
6468
- }), (b, S) => (c(), v("div", Jr, [
6481
+ }), (b, $) => (c(), v("div", Er, [
6469
6482
  h("div", {
6470
6483
  ref_key: "buttonListWrapper",
6471
6484
  ref: r,
@@ -6484,7 +6497,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6484
6497
  (c(!0), v(H, null, U(d.value, (k) => (c(), v("div", {
6485
6498
  key: k.props.tab
6486
6499
  }, [
6487
- N(zr, {
6500
+ N(Ar, {
6488
6501
  tab: k.props.tab,
6489
6502
  label: k.props.label,
6490
6503
  href: k.props.href,
@@ -6508,7 +6521,7 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6508
6521
  ])
6509
6522
  ]));
6510
6523
  }
6511
- }), Lu = /* @__PURE__ */ B(Pr, [["__scopeId", "data-v-9aea2d41"]]), Mr = ["id", "role", "tabindex"], Or = /* @__PURE__ */ A({
6524
+ }), Tu = /* @__PURE__ */ A(zr, [["__scopeId", "data-v-9aea2d41"]]), Jr = ["id", "role", "tabindex"], Pr = /* @__PURE__ */ B({
6512
6525
  __name: "VJoyTag",
6513
6526
  props: {
6514
6527
  label: {},
@@ -6567,11 +6580,11 @@ const Oi = /* @__PURE__ */ B(Ji, [["render", Mi], ["__scopeId", "data-v-fbaf8e78
6567
6580
  onClick: Lo(s, ["stop"]),
6568
6581
  onKeydown: Fe(s, ["enter"])
6569
6582
  })) : j("", !0)
6570
- ], 10, Mr));
6583
+ ], 10, Jr));
6571
6584
  }
6572
- }), vo = /* @__PURE__ */ B(Or, [["__scopeId", "data-v-4d8f5321"]]);
6585
+ }), vo = /* @__PURE__ */ A(Pr, [["__scopeId", "data-v-4d8f5321"]]);
6573
6586
  var je = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(je || {});
6574
- function Et(e) {
6587
+ function At(e) {
6575
6588
  if (!Array.isArray(e) && typeof e != "string")
6576
6589
  return console.warn("Values needs to be an array of emails, or email."), !1;
6577
6590
  function t(n) {
@@ -6582,7 +6595,7 @@ function Et(e) {
6582
6595
  return l;
6583
6596
  }) === void 0 : t(e);
6584
6597
  }
6585
- const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholder"], Rr = { key: 0 }, Nr = { key: 1 }, qr = /* @__PURE__ */ A({
6598
+ const Mr = { class: "joy-tags-input__wrapper" }, Or = ["id", "name", "placeholder"], Fr = { key: 0 }, Dr = { key: 1 }, Rr = /* @__PURE__ */ B({
6586
6599
  __name: "VJoyTagsInput",
6587
6600
  props: {
6588
6601
  name: {},
@@ -6597,51 +6610,51 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6597
6610
  },
6598
6611
  emits: ["update:modelValue", "validation:error"],
6599
6612
  setup(e, { expose: t, emit: n }) {
6600
- const l = e, o = n, i = _(l.modelValue), a = _(!1), r = _(null), s = _(l.invalid), u = _(null), f = C(() => l.validation === "email"), d = C(() => f.value && u.value === "INVALID_EMAIL" && !!l.invalidEmailError), y = C(() => u.value === "DUPLICATED_ENTRY" && !!l.duplicationError), p = C(() => s.value && (!!d.value || !!y.value));
6613
+ const l = e, o = n, i = S(l.modelValue), a = S(!1), r = S(null), s = S(l.invalid), u = S(null), f = C(() => l.validation === "email"), d = C(() => f.value && u.value === "INVALID_EMAIL" && !!l.invalidEmailError), y = C(() => u.value === "DUPLICATED_ENTRY" && !!l.duplicationError), p = C(() => s.value && (!!d.value || !!y.value));
6601
6614
  function m() {
6602
6615
  f.value && s.value === !0 && (u.value = je.INVALID_EMAIL);
6603
6616
  }
6604
6617
  function g() {
6605
6618
  var F;
6606
- const $ = i.value.map((K) => K.trim());
6607
- return $.filter((K, se) => $.indexOf(K) !== se).length ? !0 : (F = r.value) != null && F.value ? $.includes(r.value.value.trim()) : !1;
6619
+ const _ = i.value.map((K) => K.trim());
6620
+ return _.filter((K, se) => _.indexOf(K) !== se).length ? !0 : (F = r.value) != null && F.value ? _.includes(r.value.value.trim()) : !1;
6608
6621
  }
6609
6622
  function b() {
6610
6623
  g() && (u.value = je.DUPLICATED_ENTRY);
6611
6624
  }
6612
- function S($) {
6625
+ function $(_) {
6613
6626
  var P;
6614
- if (["Backspace"].includes($.key)) {
6627
+ if (["Backspace"].includes(_.key)) {
6615
6628
  if (((P = r.value) == null ? void 0 : P.value) !== "")
6616
6629
  return;
6617
6630
  i.value.pop(), o("update:modelValue", i.value), f.value && O();
6618
6631
  }
6619
6632
  }
6620
6633
  function k() {
6621
- var $, P;
6622
- ($ = r.value) != null && $.value && (i.value = [...i.value, (P = r.value) == null ? void 0 : P.value], r.value.value = "", o("update:modelValue", i.value));
6634
+ var _, P;
6635
+ (_ = r.value) != null && _.value && (i.value = [...i.value, (P = r.value) == null ? void 0 : P.value], r.value.value = "", o("update:modelValue", i.value));
6623
6636
  }
6624
- function T($) {
6637
+ function T(_) {
6625
6638
  var P;
6626
6639
  if (f.value) {
6627
- if (["Enter", ",", " "].includes($.key)) {
6628
- if ($.preventDefault(), O(), g()) {
6640
+ if (["Enter", ",", " "].includes(_.key)) {
6641
+ if (_.preventDefault(), O(), g()) {
6629
6642
  o("validation:error", je.DUPLICATED_ENTRY);
6630
6643
  return;
6631
- } else if ((P = r.value) != null && P.value && !Et(r.value.value)) {
6644
+ } else if ((P = r.value) != null && P.value && !At(r.value.value)) {
6632
6645
  o("validation:error", je.INVALID_EMAIL);
6633
6646
  return;
6634
6647
  }
6635
6648
  k();
6636
6649
  }
6637
- } else if (["Enter", ","].includes($.key)) {
6638
- if ($.preventDefault(), g()) {
6650
+ } else if (["Enter", ","].includes(_.key)) {
6651
+ if (_.preventDefault(), g()) {
6639
6652
  s.value = !0, u.value = je.DUPLICATED_ENTRY, o("validation:error", je.DUPLICATED_ENTRY);
6640
6653
  return;
6641
6654
  }
6642
6655
  k(), s.value = !1;
6643
6656
  }
6644
- S($);
6657
+ $(_);
6645
6658
  }
6646
6659
  function E() {
6647
6660
  a.value = !0;
@@ -6649,18 +6662,18 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6649
6662
  function I() {
6650
6663
  a.value = !1, O();
6651
6664
  }
6652
- function M($) {
6665
+ function M(_) {
6653
6666
  var P;
6654
- i.value = i.value.filter((F) => F !== $.value), o("update:modelValue", i.value), (P = r.value) == null || P.focus(), O();
6667
+ i.value = i.value.filter((F) => F !== _.value), o("update:modelValue", i.value), (P = r.value) == null || P.focus(), O();
6655
6668
  }
6656
6669
  function x() {
6657
6670
  var P, F;
6658
- let $ = !1;
6671
+ let _ = !1;
6659
6672
  if (f.value) {
6660
6673
  let K = i.value;
6661
- (P = r.value) != null && P.value && (K = [...K, (F = r.value) == null ? void 0 : F.value]), $ = !Et(K);
6674
+ (P = r.value) != null && P.value && (K = [...K, (F = r.value) == null ? void 0 : F.value]), _ = !At(K);
6662
6675
  }
6663
- s.value = $ || g(), !$ && g() && (u.value = null);
6676
+ s.value = _ || g(), !_ && g() && (u.value = null);
6664
6677
  }
6665
6678
  function O() {
6666
6679
  x(), m(), b();
@@ -6674,14 +6687,14 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6674
6687
  ), t({
6675
6688
  isInvalid: s,
6676
6689
  hasDuplicates: g
6677
- }), ($, P) => (c(), v("div", Fr, [
6678
- $.$slots.default ? (c(), V(ze, {
6690
+ }), (_, P) => (c(), v("div", Mr, [
6691
+ _.$slots.default ? (c(), V(Je, {
6679
6692
  key: 0,
6680
6693
  id: e.name,
6681
6694
  class: "joy-tags-input__label"
6682
6695
  }, {
6683
6696
  default: z(() => [
6684
- w($.$slots, "default", {}, void 0, !0)
6697
+ w(_.$slots, "default", {}, void 0, !0)
6685
6698
  ]),
6686
6699
  _: 3
6687
6700
  }, 8, ["id"])) : j("", !0),
@@ -6704,7 +6717,7 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6704
6717
  onRemove: M
6705
6718
  }, {
6706
6719
  default: z(() => [
6707
- w($.$slots, "tag", W({ ref_for: !0 }, { name: F }), void 0, !0)
6720
+ w(_.$slots, "tag", W({ ref_for: !0 }, { name: F }), void 0, !0)
6708
6721
  ]),
6709
6722
  _: 2
6710
6723
  }, 1032, ["variant", "size", "label", "value"]))), 128)),
@@ -6719,7 +6732,7 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6719
6732
  onKeydown: T,
6720
6733
  onFocus: E,
6721
6734
  onBlur: I
6722
- }, null, 40, Dr)
6735
+ }, null, 40, Or)
6723
6736
  ], 2),
6724
6737
  p.value ? (c(), V(mt, {
6725
6738
  key: 1,
@@ -6727,15 +6740,15 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6727
6740
  }, {
6728
6741
  default: z(() => [
6729
6742
  h("ul", null, [
6730
- y.value ? (c(), v("li", Rr, J(e.duplicationError), 1)) : j("", !0),
6731
- d.value ? (c(), v("li", Nr, J(e.invalidEmailError), 1)) : j("", !0)
6743
+ y.value ? (c(), v("li", Fr, J(e.duplicationError), 1)) : j("", !0),
6744
+ d.value ? (c(), v("li", Dr, J(e.invalidEmailError), 1)) : j("", !0)
6732
6745
  ])
6733
6746
  ]),
6734
6747
  _: 1
6735
6748
  })) : j("", !0)
6736
6749
  ]));
6737
6750
  }
6738
- }), Iu = /* @__PURE__ */ B(qr, [["__scopeId", "data-v-97e5c238"]]), Hr = /* @__PURE__ */ A({
6751
+ }), Lu = /* @__PURE__ */ A(Rr, [["__scopeId", "data-v-97e5c238"]]), Nr = /* @__PURE__ */ B({
6739
6752
  __name: "VJoyTagsList",
6740
6753
  props: {
6741
6754
  align: {
@@ -6813,36 +6826,36 @@ const Fr = { class: "joy-tags-input__wrapper" }, Dr = ["id", "name", "placeholde
6813
6826
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
6814
6827
  ], 2));
6815
6828
  }
6816
- }), Au = /* @__PURE__ */ B(Hr, [["__scopeId", "data-v-1d8003ef"]]), Wr = {}, Ur = {
6829
+ }), Iu = /* @__PURE__ */ A(Nr, [["__scopeId", "data-v-1d8003ef"]]), qr = {}, Hr = {
6817
6830
  class: /* @__PURE__ */ L(["joy-template-shape__shapes"])
6818
6831
  };
6819
- function Gr(e, t) {
6820
- return c(), v("div", Ur, [...t[0] || (t[0] = [
6821
- Ot('<div class="shapes__wrapper" data-v-da63aa46><div class="shape_1" data-v-da63aa46></div><div class="shape_2" data-v-da63aa46></div><div class="shape_3" data-v-da63aa46></div><div class="shape_4" data-v-da63aa46></div></div>', 1)
6832
+ function Wr(e, t) {
6833
+ return c(), v("div", Hr, [...t[0] || (t[0] = [
6834
+ Mt('<div class="shapes__wrapper" data-v-da63aa46><div class="shape_1" data-v-da63aa46></div><div class="shape_2" data-v-da63aa46></div><div class="shape_3" data-v-da63aa46></div><div class="shape_4" data-v-da63aa46></div></div>', 1)
6822
6835
  ])]);
6823
6836
  }
6824
- const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46"]]), Kr = { class: "joy-template__wrapper" }, Zr = {
6837
+ const Ur = /* @__PURE__ */ A(qr, [["render", Wr], ["__scopeId", "data-v-da63aa46"]]), Gr = { class: "joy-template__wrapper" }, Yr = {
6825
6838
  key: 0,
6826
6839
  class: "joy-template__heading"
6827
- }, Xr = {
6840
+ }, Kr = {
6828
6841
  key: 0,
6829
6842
  class: "joy-template-slot-back"
6830
- }, Qr = { class: "joy-template__heading___headings" }, es = {
6843
+ }, Zr = { class: "joy-template__heading___headings" }, Xr = {
6831
6844
  key: 0,
6832
6845
  class: "joy-template-slot-title"
6833
- }, ts = {
6846
+ }, Qr = {
6834
6847
  key: 1,
6835
6848
  class: "joy-template-slot-subtitle"
6836
- }, os = {
6849
+ }, es = {
6837
6850
  key: 1,
6838
6851
  class: "joy-template-slot-actions"
6839
- }, ns = {
6852
+ }, ts = {
6840
6853
  key: 0,
6841
6854
  class: "joy-template-slot-main"
6842
- }, ls = {
6855
+ }, os = {
6843
6856
  key: 1,
6844
6857
  class: "joy-template-slot-sidebar"
6845
- }, as = /* @__PURE__ */ A({
6858
+ }, ns = /* @__PURE__ */ B({
6846
6859
  __name: "VJoyTemplate",
6847
6860
  props: {
6848
6861
  /** Takes 100% of free space */
@@ -6867,21 +6880,21 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
6867
6880
  return (o, i) => (c(), v("div", {
6868
6881
  class: L(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
6869
6882
  }, [
6870
- e.shapes ? (c(), V(Yr, { key: 0 })) : j("", !0),
6871
- h("div", Kr, [
6872
- l.value ? (c(), v("div", Zr, [
6873
- n["template-back"] ? (c(), v("div", Xr, [
6883
+ e.shapes ? (c(), V(Ur, { key: 0 })) : j("", !0),
6884
+ h("div", Gr, [
6885
+ l.value ? (c(), v("div", Yr, [
6886
+ n["template-back"] ? (c(), v("div", Kr, [
6874
6887
  w(o.$slots, "template-back", {}, void 0, !0)
6875
6888
  ])) : j("", !0),
6876
- h("div", Qr, [
6877
- n["template-title"] ? (c(), v("div", es, [
6889
+ h("div", Zr, [
6890
+ n["template-title"] ? (c(), v("div", Xr, [
6878
6891
  w(o.$slots, "template-title", {}, void 0, !0)
6879
6892
  ])) : j("", !0),
6880
- n["template-subtitle"] ? (c(), v("div", ts, [
6893
+ n["template-subtitle"] ? (c(), v("div", Qr, [
6881
6894
  w(o.$slots, "template-subtitle", {}, void 0, !0)
6882
6895
  ])) : j("", !0)
6883
6896
  ]),
6884
- n["template-actions"] ? (c(), v("div", os, [
6897
+ n["template-actions"] ? (c(), v("div", es, [
6885
6898
  w(o.$slots, "template-actions", {}, void 0, !0)
6886
6899
  ])) : j("", !0)
6887
6900
  ])) : j("", !0),
@@ -6893,10 +6906,10 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
6893
6906
  }
6894
6907
  ])
6895
6908
  }, [
6896
- o.$slots["template-main"] ? (c(), v("div", ns, [
6909
+ o.$slots["template-main"] ? (c(), v("div", ts, [
6897
6910
  w(o.$slots, "template-main", {}, void 0, !0)
6898
6911
  ])) : j("", !0),
6899
- o.$slots["template-sidebar"] ? (c(), v("div", ls, [
6912
+ o.$slots["template-sidebar"] ? (c(), v("div", os, [
6900
6913
  w(o.$slots, "template-sidebar", {}, void 0, !0)
6901
6914
  ])) : j("", !0)
6902
6915
  ], 2)
@@ -6913,7 +6926,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
6913
6926
  }, 8, ["color"])) : j("", !0)
6914
6927
  ], 2));
6915
6928
  }
6916
- }), Bu = /* @__PURE__ */ B(as, [["__scopeId", "data-v-8e1d59ca"]]), is = /* @__PURE__ */ A({
6929
+ }), Bu = /* @__PURE__ */ A(ns, [["__scopeId", "data-v-8e1d59ca"]]), ls = /* @__PURE__ */ B({
6917
6930
  __name: "VJoyText",
6918
6931
  props: {
6919
6932
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -6937,13 +6950,13 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
6937
6950
  _: 3
6938
6951
  }, 8, ["class"]));
6939
6952
  }
6940
- }), Eu = /* @__PURE__ */ B(is, [["__scopeId", "data-v-8a40109a"]]), rs = ["aria-disabled"], ss = { class: "joy-textarea_wrapper" }, us = ["id", "disabled", "name", "required", "minlength", "value"], cs = {
6953
+ }), Au = /* @__PURE__ */ A(ls, [["__scopeId", "data-v-8a40109a"]]), as = ["aria-disabled"], is = { class: "joy-textarea_wrapper" }, rs = ["id", "disabled", "name", "required", "minlength", "value"], ss = {
6941
6954
  key: 1,
6942
6955
  class: "joy-textarea_helpers"
6943
- }, ds = {
6956
+ }, us = {
6944
6957
  inheritAttrs: !1
6945
- }, fs = /* @__PURE__ */ A({
6946
- ...ds,
6958
+ }, cs = /* @__PURE__ */ B({
6959
+ ...us,
6947
6960
  __name: "VJoyTextarea",
6948
6961
  props: {
6949
6962
  autofocus: {
@@ -7002,9 +7015,9 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7002
7015
  },
7003
7016
  emits: ["update:modelValue"],
7004
7017
  setup(e, { expose: t, emit: n }) {
7005
- const l = n, o = e, i = Y(), a = _(), { triggerResize: r } = Vn({
7018
+ const l = n, o = e, i = Y(), a = S(), { triggerResize: r } = Cn({
7006
7019
  element: o.autogrow ? a : void 0
7007
- }), s = _(!1), u = _(!1);
7020
+ }), s = S(!1), u = S(!1);
7008
7021
  Yt(a, o.autofocus);
7009
7022
  const f = C(() => o.maxlength ? o.modelValue.length > o.maxlength : !1), d = C(() => o.minlength ? o.modelValue.length < o.minlength : !1), y = C(() => !!(o.label || i.default)), p = {
7010
7023
  onInput: (m) => {
@@ -7049,7 +7062,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7049
7062
  }
7050
7063
  ])
7051
7064
  }, [
7052
- y.value ? (c(), V(ze, {
7065
+ y.value ? (c(), V(Je, {
7053
7066
  key: 0,
7054
7067
  for: e.id,
7055
7068
  required: e.required && e.requiredMark,
@@ -7063,7 +7076,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7063
7076
  ]),
7064
7077
  _: 3
7065
7078
  }, 8, ["for", "required", "optional-label", "size"])) : j("", !0),
7066
- h("div", ss, [
7079
+ h("div", is, [
7067
7080
  h("textarea", W(m.$attrs, {
7068
7081
  id: e.id,
7069
7082
  ref_key: "textarea",
@@ -7083,9 +7096,9 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7083
7096
  (...b) => p.onFocus && p.onFocus(...b)),
7084
7097
  onBlur: g[3] || (g[3] = //@ts-ignore
7085
7098
  (...b) => p.onBlur && p.onBlur(...b))
7086
- }), null, 16, us)
7099
+ }), null, 16, rs)
7087
7100
  ]),
7088
- e.minlength || e.maxlength ? (c(), v("div", cs, [
7101
+ e.minlength || e.maxlength ? (c(), v("div", ss, [
7089
7102
  e.minlength ? (c(), v("p", {
7090
7103
  key: 0,
7091
7104
  class: L(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -7103,9 +7116,9 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7103
7116
  class: L(["joy-textarea-count", { "joy-textarea-count-invalid": f.value }])
7104
7117
  }, J(e.modelValue.length + "/" + e.maxlength), 3)) : j("", !0)
7105
7118
  ])) : j("", !0)
7106
- ], 10, rs));
7119
+ ], 10, as));
7107
7120
  }
7108
- }), zu = /* @__PURE__ */ B(fs, [["__scopeId", "data-v-26da9592"]]), ys = /* @__PURE__ */ A({
7121
+ }), Eu = /* @__PURE__ */ A(cs, [["__scopeId", "data-v-26da9592"]]), ds = /* @__PURE__ */ B({
7109
7122
  __name: "VJoyTitleBrand",
7110
7123
  props: {
7111
7124
  tag: { default: "p" }
@@ -7118,10 +7131,10 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7118
7131
  _: 3
7119
7132
  }));
7120
7133
  }
7121
- }), Ju = /* @__PURE__ */ B(ys, [["__scopeId", "data-v-f1d5bf23"]]), ms = { class: "joy-toggle__wrapper" }, ps = ["name", "disabled", "checked", "required", "aria-checked", "value"], vs = { class: "joy-toggle__symbol" }, hs = { class: "joy-toggle__symbol-bubble" }, gs = {
7134
+ }), zu = /* @__PURE__ */ A(ds, [["__scopeId", "data-v-72b57f87"]]), fs = { class: "joy-toggle__wrapper" }, ys = ["name", "disabled", "checked", "required", "aria-checked", "value"], ms = { class: "joy-toggle__symbol" }, ps = { class: "joy-toggle__symbol-bubble" }, vs = {
7122
7135
  key: 0,
7123
7136
  class: "joy-toggle__symbol-smile"
7124
- }, bs = { class: "joy-toggle__content-label" }, ws = /* @__PURE__ */ A({
7137
+ }, hs = { class: "joy-toggle__content-label" }, gs = /* @__PURE__ */ B({
7125
7138
  __name: "VJoyToggle",
7126
7139
  props: {
7127
7140
  modelValue: {
@@ -7168,7 +7181,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7168
7181
  setup(e, { emit: t }) {
7169
7182
  const n = t;
7170
7183
  Y();
7171
- const l = _(!1), o = {
7184
+ const l = S(!1), o = {
7172
7185
  onChange: (i) => {
7173
7186
  const a = i.target.checked;
7174
7187
  n("update:modelValue", a);
@@ -7180,7 +7193,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7180
7193
  l.value = !1;
7181
7194
  }
7182
7195
  };
7183
- return (i, a) => (c(), v("div", ms, [
7196
+ return (i, a) => (c(), v("div", fs, [
7184
7197
  h("label", {
7185
7198
  class: L([
7186
7199
  "joy-toggle",
@@ -7210,13 +7223,13 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7210
7223
  (...r) => o.onFocus && o.onFocus(...r)),
7211
7224
  onBlur: a[2] || (a[2] = //@ts-ignore
7212
7225
  (...r) => o.onBlur && o.onBlur(...r))
7213
- }, null, 40, ps),
7226
+ }, null, 40, ys),
7214
7227
  h("p", {
7215
7228
  class: L(["joy-toggle__content", { "joy-toggle__content--label-left": e.labelPosition === "left" }])
7216
7229
  }, [
7217
- h("span", vs, [
7218
- h("span", hs, [
7219
- e.variant === "default" ? (c(), v("span", gs, [...a[3] || (a[3] = [
7230
+ h("span", ms, [
7231
+ h("span", ps, [
7232
+ e.variant === "default" ? (c(), v("span", vs, [...a[3] || (a[3] = [
7220
7233
  h("svg", {
7221
7234
  width: "18",
7222
7235
  height: "10",
@@ -7236,7 +7249,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7236
7249
  }))
7237
7250
  ])
7238
7251
  ]),
7239
- h("span", bs, [
7252
+ h("span", hs, [
7240
7253
  w(i.$slots, "default", {}, () => [
7241
7254
  R(J(e.label), 1)
7242
7255
  ], !0)
@@ -7245,7 +7258,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7245
7258
  ], 2)
7246
7259
  ]));
7247
7260
  }
7248
- }), Pu = /* @__PURE__ */ B(ws, [["__scopeId", "data-v-fbe68c0d"]]), js = { class: "joy-user-card__picture" }, ks = { class: "joy-user-card__informations" }, $s = { class: "joy-user-card__title" }, _s = { class: "joy-user-card__subtitle" }, Ss = /* @__PURE__ */ A({
7261
+ }), Ju = /* @__PURE__ */ A(gs, [["__scopeId", "data-v-fbe68c0d"]]), bs = { class: "joy-user-card__picture" }, ws = { class: "joy-user-card__informations" }, js = { class: "joy-user-card__title" }, ks = { class: "joy-user-card__subtitle" }, $s = /* @__PURE__ */ B({
7249
7262
  __name: "VJoyUserCard",
7250
7263
  props: {
7251
7264
  /**
@@ -7278,7 +7291,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7278
7291
  title: e.fullName
7279
7292
  }, t.$attrs), {
7280
7293
  default: z(() => [
7281
- h("div", js, [
7294
+ h("div", bs, [
7282
7295
  w(t.$slots, "user-card-avatar", {}, () => [
7283
7296
  N(nn, {
7284
7297
  "photo-url": e.photoUrl,
@@ -7286,19 +7299,19 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7286
7299
  }, null, 8, ["photo-url", "full-name"])
7287
7300
  ], !0)
7288
7301
  ]),
7289
- h("div", ks, [
7290
- h("p", $s, [
7302
+ h("div", ws, [
7303
+ h("p", js, [
7291
7304
  w(t.$slots, "user-card-title", {}, () => [
7292
7305
  R(J(e.fullName), 1)
7293
7306
  ], !0)
7294
7307
  ]),
7295
- h("p", _s, [
7308
+ h("p", ks, [
7296
7309
  w(t.$slots, "user-card-subtitle", {}, () => [
7297
7310
  R(J(e.subTitle), 1)
7298
7311
  ], !0)
7299
7312
  ]),
7300
7313
  w(t.$slots, "user-card-rating-stars", {}, () => [
7301
- e.ratingValue ? (c(), V(dr, {
7314
+ e.ratingValue ? (c(), V(ur, {
7302
7315
  key: 0,
7303
7316
  "rating-value": e.ratingValue
7304
7317
  }, null, 8, ["rating-value"])) : j("", !0)
@@ -7311,13 +7324,13 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7311
7324
  _: 3
7312
7325
  }, 16, ["href", "title"]));
7313
7326
  }
7314
- }), Mu = /* @__PURE__ */ B(Ss, [["__scopeId", "data-v-86acec3a"]]), Cs = { class: "joy-walkthrough-trigger__content" }, xs = {
7327
+ }), Pu = /* @__PURE__ */ A($s, [["__scopeId", "data-v-86acec3a"]]), _s = { class: "joy-walkthrough-trigger__content" }, Ss = {
7315
7328
  key: 0,
7316
7329
  class: "joy-pr-3"
7317
- }, Vs = {
7330
+ }, Cs = {
7318
7331
  key: 1,
7319
7332
  class: "joy-pl-3"
7320
- }, Ts = /* @__PURE__ */ A({
7333
+ }, xs = /* @__PURE__ */ B({
7321
7334
  __name: "VJoyWalkthroughTrigger",
7322
7335
  props: {
7323
7336
  icon: {},
@@ -7326,7 +7339,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7326
7339
  open: { type: Boolean }
7327
7340
  },
7328
7341
  setup(e) {
7329
- const n = _(e.open);
7342
+ const n = S(e.open);
7330
7343
  return (l, o) => {
7331
7344
  const i = ut("joy-ripple");
7332
7345
  return Ke((c(), v("button", W(l.$attrs, {
@@ -7340,9 +7353,9 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7340
7353
  class: "joy-walkthrough-trigger__icon joy-mr-3",
7341
7354
  name: e.icon
7342
7355
  }, null, 8, ["name"])) : j("", !0),
7343
- h("div", Cs, [
7344
- e.title ? (c(), v("span", xs, J(e.title), 1)) : j("", !0),
7345
- e.subtitle ? (c(), v("span", Vs, J(e.subtitle), 1)) : j("", !0)
7356
+ h("div", _s, [
7357
+ e.title ? (c(), v("span", Ss, J(e.title), 1)) : j("", !0),
7358
+ e.subtitle ? (c(), v("span", Cs, J(e.subtitle), 1)) : j("", !0)
7346
7359
  ]),
7347
7360
  N(q, {
7348
7361
  class: "joy-ml-3",
@@ -7354,16 +7367,16 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7354
7367
  ]);
7355
7368
  };
7356
7369
  }
7357
- }), Ls = /* @__PURE__ */ B(Ts, [["__scopeId", "data-v-e34e1407"]]), Is = { class: "joy-walkthrough-modal__illustration" }, As = { class: "joy-walkthrough-modal__content___titles" }, Bs = { class: "joy-walkthrough-modal__content___title" }, Es = { class: "joy-walkthrough-modal__content___subtitle" }, zs = {
7370
+ }), Vs = /* @__PURE__ */ A(xs, [["__scopeId", "data-v-e34e1407"]]), Ts = { class: "joy-walkthrough-modal__illustration" }, Ls = { class: "joy-walkthrough-modal__content___titles" }, Is = { class: "joy-walkthrough-modal__content___title" }, Bs = { class: "joy-walkthrough-modal__content___subtitle" }, As = {
7358
7371
  key: 0,
7359
7372
  class: "joy-mt-4"
7360
- }, Js = {
7373
+ }, Es = {
7361
7374
  key: 1,
7362
7375
  class: "joy-mt-4 joy-walkthrough-modal__content-inner"
7363
- }, Ps = {
7376
+ }, zs = {
7364
7377
  type: "button",
7365
7378
  class: "joy-walkthrough-modal__footer-button joy-color-secondary-50 joy-font-primary-300"
7366
- }, Ms = /* @__PURE__ */ A({
7379
+ }, Js = /* @__PURE__ */ B({
7367
7380
  __name: "VJoyWalkthrough",
7368
7381
  props: {
7369
7382
  open: { type: Boolean, default: !1 },
@@ -7378,7 +7391,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7378
7391
  setup(e, { expose: t, emit: n }) {
7379
7392
  const l = e, o = n;
7380
7393
  let i = null;
7381
- const a = _(l.open), r = _(!1);
7394
+ const a = S(l.open), r = S(!1);
7382
7395
  function s() {
7383
7396
  a.value ? d() : a.value = !0;
7384
7397
  }
@@ -7400,7 +7413,7 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7400
7413
  }
7401
7414
  ), t({
7402
7415
  isOpen: a
7403
- }), (y, p) => (c(), V(Be, {
7416
+ }), (y, p) => (c(), V(Ee, {
7404
7417
  to: "body",
7405
7418
  disabled: e.disableTeleport
7406
7419
  }, [
@@ -7447,24 +7460,24 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7447
7460
  wrap: "nowrap"
7448
7461
  }, {
7449
7462
  default: z(() => [
7450
- h("div", Is, [
7463
+ h("div", Ts, [
7451
7464
  w(y.$slots, "walkthrough-illustration", {}, void 0, !0)
7452
7465
  ]),
7453
- h("div", As, [
7454
- h("div", Bs, [
7466
+ h("div", Ls, [
7467
+ h("div", Is, [
7455
7468
  w(y.$slots, "walkthrough-title", {}, void 0, !0)
7456
7469
  ]),
7457
- h("div", Es, [
7470
+ h("div", Bs, [
7458
7471
  w(y.$slots, "walkthrough-subtitle", {}, void 0, !0)
7459
7472
  ])
7460
7473
  ])
7461
7474
  ]),
7462
7475
  _: 3
7463
7476
  }),
7464
- y.$slots["walkthrough-progress"] ? (c(), v("div", zs, [
7477
+ y.$slots["walkthrough-progress"] ? (c(), v("div", As, [
7465
7478
  w(y.$slots, "walkthrough-progress", {}, void 0, !0)
7466
7479
  ])) : j("", !0),
7467
- y.$slots["walkthrough-content"] ? (c(), v("div", Js, [
7480
+ y.$slots["walkthrough-content"] ? (c(), v("div", Es, [
7468
7481
  w(y.$slots, "walkthrough-content", {}, void 0, !0)
7469
7482
  ])) : j("", !0)
7470
7483
  ], 2),
@@ -7473,10 +7486,10 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7473
7486
  class: "joy-walkthrough-modal__footer joy-p-6",
7474
7487
  onClick: f
7475
7488
  }, [
7476
- h("button", Ps, J(e.footer), 1)
7489
+ h("button", zs, J(e.footer), 1)
7477
7490
  ])) : j("", !0)
7478
7491
  ], 16)) : j("", !0),
7479
- a.value ? j("", !0) : (c(), V(Ls, W({ key: 1 }, e.triggerAttrs, {
7492
+ a.value ? j("", !0) : (c(), V(Vs, W({ key: 1 }, e.triggerAttrs, {
7480
7493
  title: e.triggerTitle,
7481
7494
  subtitle: e.triggerSubtitle,
7482
7495
  icon: e.triggerIcon,
@@ -7486,89 +7499,89 @@ const Yr = /* @__PURE__ */ B(Wr, [["render", Gr], ["__scopeId", "data-v-da63aa46
7486
7499
  ], 2)
7487
7500
  ], 8, ["disabled"]));
7488
7501
  }
7489
- }), Ou = /* @__PURE__ */ B(Ms, [["__scopeId", "data-v-c1a50091"]]), Fu = {
7502
+ }), Mu = /* @__PURE__ */ A(Js, [["__scopeId", "data-v-c1a50091"]]), Ou = {
7490
7503
  install: (e) => {
7491
- typeof window < "u" && qt(), e.directive("joy-ripple", Ft), e.directive("bind-once", zo);
7504
+ typeof window < "u" && Nt(), e.directive("joy-ripple", Ot), e.directive("bind-once", zo);
7492
7505
  }
7493
7506
  };
7494
7507
  export {
7495
- Fu as JoyVueLightPlugin,
7496
- Rs as VJoyAdminBanner,
7497
- Ns as VJoyAvailability,
7508
+ Ou as JoyVueLightPlugin,
7509
+ Fs as VJoyAdminBanner,
7510
+ Ds as VJoyAvailability,
7498
7511
  nn as VJoyAvatar,
7499
- qs as VJoyAvatarsList,
7500
- un as VJoyBadge,
7501
- Hs as VJoyBadgeLevel,
7502
- Ws as VJoyBlockSkeleton,
7503
- Us as VJoyBottomSheet,
7504
- Gs as VJoyBottomSheetTrigger,
7512
+ Rs as VJoyAvatarsList,
7513
+ Ns as VJoyBadge,
7514
+ qs as VJoyBadgeLevel,
7515
+ Hs as VJoyBlockSkeleton,
7516
+ Ws as VJoyBottomSheet,
7517
+ Us as VJoyBottomSheetTrigger,
7505
7518
  ne as VJoyButton,
7506
7519
  Gt as VJoyCheckbox,
7507
- Ys as VJoyCollapse,
7508
- Kn as VJoyCollapseItem,
7509
- Ks as VJoyCompanyAvatar,
7510
- Zs as VJoyDialog,
7511
- Xs as VJoyDialogTrigger,
7512
- _t as VJoyDot,
7513
- Qs as VJoyDrawer,
7514
- eu as VJoyDrawerTrigger,
7515
- tu as VJoyDropdown,
7516
- kl as VJoyDropdownList,
7517
- ou as VJoyDropzone,
7518
- nu as VJoyFilterBar,
7519
- lu as VJoyFilterBarButton,
7520
+ Gs as VJoyCollapse,
7521
+ Gn as VJoyCollapseItem,
7522
+ Ys as VJoyCompanyAvatar,
7523
+ Ks as VJoyDialog,
7524
+ Zs as VJoyDialogTrigger,
7525
+ qt as VJoyDot,
7526
+ Xs as VJoyDrawer,
7527
+ Qs as VJoyDrawerTrigger,
7528
+ eu as VJoyDropdown,
7529
+ wl as VJoyDropdownList,
7530
+ tu as VJoyDropzone,
7531
+ ou as VJoyFilterBar,
7532
+ nu as VJoyFilterBarButton,
7520
7533
  mt as VJoyFormError,
7521
- au as VJoyFormFieldSkeleton,
7522
- iu as VJoyFunnel,
7523
- ru as VJoyFunnelFooter,
7524
- su as VJoyFunnelHeader,
7525
- uu as VJoyHighlight,
7534
+ lu as VJoyFormFieldSkeleton,
7535
+ au as VJoyFunnel,
7536
+ iu as VJoyFunnelFooter,
7537
+ ru as VJoyFunnelHeader,
7538
+ su as VJoyHighlight,
7526
7539
  q as VJoyIcon,
7527
- ca as VJoyIndicator,
7528
- cu as VJoyIndicators,
7529
- du as VJoyInput,
7530
- ze as VJoyLabel,
7531
- fu as VJoyLink,
7532
- yu as VJoyListItem,
7533
- mu as VJoyMenu,
7534
- pu as VJoyMenuItem,
7535
- vu as VJoyMultiCheckbox,
7536
- hu as VJoyPagination,
7537
- gu as VJoyPanel,
7538
- bu as VJoyPanelSection,
7539
- wu as VJoyProductTour,
7540
- ju as VJoyProductTourTrigger,
7541
- ku as VJoyProgressBar,
7542
- $u as VJoyRadio,
7543
- _u as VJoyRadioGroup,
7544
- dr as VJoyRatingStars,
7540
+ sa as VJoyIndicator,
7541
+ uu as VJoyIndicators,
7542
+ cu as VJoyInput,
7543
+ Je as VJoyLabel,
7544
+ du as VJoyLink,
7545
+ fu as VJoyListItem,
7546
+ yu as VJoyMenu,
7547
+ mu as VJoyMenuItem,
7548
+ pu as VJoyMultiCheckbox,
7549
+ vu as VJoyPagination,
7550
+ hu as VJoyPanel,
7551
+ gu as VJoyPanelSection,
7552
+ bu as VJoyProductTour,
7553
+ wu as VJoyProductTourTrigger,
7554
+ ju as VJoyProgressBar,
7555
+ ku as VJoyRadio,
7556
+ $u as VJoyRadioGroup,
7557
+ ur as VJoyRatingStars,
7545
7558
  mo as VJoyScreenLoader,
7546
- Su as VJoySelect,
7547
- br as VJoySelectableItem,
7548
- Cu as VJoySelectableItemGroup,
7549
- xu as VJoySeparator,
7559
+ _u as VJoySelect,
7560
+ hr as VJoySelectableItem,
7561
+ Su as VJoySelectableItemGroup,
7562
+ Cu as VJoySeparator,
7550
7563
  No as VJoySnackbar,
7551
7564
  Ht as VJoySpinner,
7552
- xr as VJoyStep,
7553
- Vu as VJoyStepper,
7554
- Tu as VJoyTab,
7555
- Lu as VJoyTabs,
7565
+ Sr as VJoyStep,
7566
+ xu as VJoyStepper,
7567
+ Vu as VJoyTab,
7568
+ Tu as VJoyTabs,
7556
7569
  vo as VJoyTag,
7557
- Iu as VJoyTagsInput,
7558
- Au as VJoyTagsList,
7570
+ Lu as VJoyTagsInput,
7571
+ Iu as VJoyTagsList,
7559
7572
  Bu as VJoyTemplate,
7560
- Yr as VJoyTemplateShape,
7561
- Eu as VJoyText,
7562
- zu as VJoyTextarea,
7563
- Ju as VJoyTitleBrand,
7564
- Pu as VJoyToggle,
7565
- Ha as VJoyTooltip,
7566
- Mu as VJoyUserCard,
7567
- Ou as VJoyWalkthrough,
7568
- Ls as VJoyWalkthroughTrigger,
7573
+ Ur as VJoyTemplateShape,
7574
+ Au as VJoyText,
7575
+ Eu as VJoyTextarea,
7576
+ zu as VJoyTitleBrand,
7577
+ Ju as VJoyToggle,
7578
+ Na as VJoyTooltip,
7579
+ Pu as VJoyUserCard,
7580
+ Mu as VJoyWalkthrough,
7581
+ Vs as VJoyWalkthroughTrigger,
7569
7582
  ie as VJoyWrapper,
7570
- qt as createAllSnackbarsContainer,
7571
- Ds as pushVJoySnackbar,
7572
- Fs as resetCount,
7573
- Ft as vJoyRipple
7583
+ Nt as createAllSnackbarsContainer,
7584
+ Os as pushVJoySnackbar,
7585
+ Ms as resetCount,
7586
+ Ot as vJoyRipple
7574
7587
  };