@maltjoy/core-vue 3.34.2 → 3.35.0-beta.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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, computed as V, openBlock as f, createElementBlock as g, normalizeClass as I, createElementVNode as b, Fragment as Z, createTextVNode as H, toDisplayString as R, createCommentVNode as $, createBlock as L, resolveDynamicComponent as re, mergeProps as ee, withCtx as D, pushScopeId as Ye, popScopeId as Ze, renderSlot as _, unref as K, renderList as te, inject as De, normalizeStyle as se, ref as C, onMounted as ie, useAttrs as Ee, resolveDirective as Qn, withDirectives as cn, getCurrentScope as Vt, onScopeDispose as It, toRef as ea, readonly as ta, customRef as na, shallowRef as dn, watch as ae, nextTick as Ue, getCurrentInstance as aa, h as oa, Teleport as Xe, createVNode as G, useSlots as ne, withKeys as Qe, onBeforeUnmount as Re, provide as Et, Transition as fn, createSlots as Lt, normalizeProps as la, guardReactiveProps as ra, mergeModels as ia, useModel as sa, createStaticVNode as vn, onBeforeMount as ua, shallowReadonly as Ae, onUnmounted as yn, vShow as ca, render as qt, withModifiers as da, createApp as fa } from "vue";
1
+ import { defineComponent as B, computed as I, openBlock as f, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as Z, createTextVNode as H, toDisplayString as R, createCommentVNode as $, createBlock as A, resolveDynamicComponent as re, mergeProps as ee, withCtx as D, pushScopeId as Ye, popScopeId as Ze, renderSlot as _, unref as K, renderList as te, inject as De, normalizeStyle as se, ref as C, onMounted as ie, useAttrs as Ee, resolveDirective as Qn, withDirectives as cn, getCurrentScope as Vt, onScopeDispose as It, toRef as ea, readonly as ta, customRef as na, shallowRef as dn, watch as ae, nextTick as Ue, getCurrentInstance as aa, h as oa, Teleport as Xe, createVNode as G, useSlots as ne, withKeys as Qe, onBeforeUnmount as Re, provide as Et, Transition as fn, createSlots as Lt, normalizeProps as la, guardReactiveProps as ra, mergeModels as ia, useModel as sa, createStaticVNode as vn, onBeforeMount as ua, shallowReadonly as Ae, onUnmounted as yn, vShow as ca, render as qt, withModifiers as da, createApp as fa } from "vue";
2
2
  function Ht(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -19,7 +19,7 @@ const va = {
19
19
  beforeUnmount: (e) => {
20
20
  e.removeEventListener("click", Ht);
21
21
  }
22
- }, ya = ["title"], pa = /* @__PURE__ */ A({
22
+ }, ya = ["title"], pa = /* @__PURE__ */ B({
23
23
  __name: "VJoyAvailability",
24
24
  props: {
25
25
  /** Don't fill it and you'll only have the colored dot */
@@ -34,17 +34,17 @@ const va = {
34
34
  isPartial: Boolean
35
35
  },
36
36
  setup(e) {
37
- const t = e, n = V(() => ({
37
+ const t = e, n = I(() => ({
38
38
  "joy-availability__dot": !0,
39
39
  "joy-availability--partial": t.isPartial,
40
40
  [t.status]: !0
41
41
  }));
42
42
  return (a, o) => (f(), g("div", {
43
- class: I(["joy-availability", { "joy-availability-has-label": !!e.label }]),
43
+ class: E(["joy-availability", { "joy-availability-has-label": !!e.label }]),
44
44
  title: e.label || void 0
45
45
  }, [
46
46
  b("span", {
47
- class: I(n.value)
47
+ class: E(n.value)
48
48
  }, null, 2),
49
49
  e.label ? (f(), g(Z, { key: 0 }, [
50
50
  H(R(e.label), 1)
@@ -56,7 +56,7 @@ const va = {
56
56
  for (const [a, o] of t)
57
57
  n[a] = o;
58
58
  return n;
59
- }, fc = /* @__PURE__ */ F(pa, [["__scopeId", "data-v-3452c6e7"]]), ma = ["role", "tabindex", "aria-label", "title"], X = /* @__PURE__ */ A({
59
+ }, dc = /* @__PURE__ */ F(pa, [["__scopeId", "data-v-3452c6e7"]]), ma = ["role", "tabindex", "aria-label", "title"], X = /* @__PURE__ */ B({
60
60
  __name: "VJoyIcon",
61
61
  props: {
62
62
  ariaLabel: {
@@ -87,19 +87,19 @@ const va = {
87
87
  }
88
88
  },
89
89
  setup(e) {
90
- const t = e, n = V(() => {
90
+ const t = e, n = I(() => {
91
91
  if (t.role === "button")
92
92
  return t.tabIndex;
93
93
  });
94
94
  return (a, o) => (f(), g("span", {
95
- class: I(["joy-icon", `joy-icon--${e.color}`, `joy-icon--${e.size}`, { "joy-icon--button": e.role === "button" }]),
95
+ class: E(["joy-icon", `joy-icon--${e.color}`, `joy-icon--${e.size}`, { "joy-icon--button": e.role === "button" }]),
96
96
  role: e.role,
97
97
  tabindex: n.value,
98
98
  "aria-label": e.ariaLabel || e.title,
99
99
  title: e.title || e.ariaLabel
100
100
  }, [
101
101
  b("i", {
102
- class: I(["icon", `icon-${e.name}`]),
102
+ class: E(["icon", `icon-${e.name}`]),
103
103
  "aria-hidden": "true"
104
104
  }, null, 2)
105
105
  ], 10, ma));
@@ -112,7 +112,7 @@ const va = {
112
112
  fill: "#F7F7F5"
113
113
  }, null, -1)), Sa = [
114
114
  _a
115
- ], ka = /* @__PURE__ */ A({
115
+ ], ka = /* @__PURE__ */ B({
116
116
  __name: "VJoyAvatar",
117
117
  props: {
118
118
  /** 3 different sizes of avatar */
@@ -151,16 +151,16 @@ const va = {
151
151
  },
152
152
  emits: ["click"],
153
153
  setup(e, { expose: t, emit: n }) {
154
- const a = n, o = e, r = V(() => o.size === "large" ? "medium" : o.size === "medium" ? "small" : o.size === "small" ? "xsmall" : "small"), l = V(() => o.link ? {
154
+ const a = n, o = e, r = I(() => o.size === "large" ? "medium" : o.size === "medium" ? "small" : o.size === "small" ? "xsmall" : "small"), l = I(() => o.link ? {
155
155
  type: "button"
156
- } : null), s = V(() => ({
156
+ } : null), s = I(() => ({
157
157
  "joy-avatar": !0,
158
158
  "joy-avatar__link": o.link,
159
159
  "joy-avatar__placeholder": i.value,
160
160
  [`joy-avatar__${o.size}`]: !0,
161
161
  [`joy-avatar__${o.color}`]: !0,
162
162
  "joy-avatar--empty": o.isEmpty
163
- })), i = V(() => !o.fullName && !o.photoUrl && !o.totalNumber && !o.isEmpty), c = V(() => {
163
+ })), i = I(() => !o.fullName && !o.photoUrl && !o.totalNumber && !o.isEmpty), c = I(() => {
164
164
  function u(p) {
165
165
  return p.replace(/[';,:()]/g, "").charAt(0);
166
166
  }
@@ -177,14 +177,14 @@ const va = {
177
177
  initials: c
178
178
  }), (u, y) => (f(), g("div", {
179
179
  ref: "avatarEl",
180
- class: I(["joy-avatar__wrapper", [`joy-avatar__wrapper--${e.size}`]])
180
+ class: E(["joy-avatar__wrapper", [`joy-avatar__wrapper--${e.size}`]])
181
181
  }, [
182
- (f(), L(re(e.link ? "button" : "div"), ee(l.value, {
182
+ (f(), A(re(e.link ? "button" : "div"), ee(l.value, {
183
183
  class: [s.value],
184
184
  onClick: d
185
185
  }), {
186
186
  default: D(() => [
187
- i.value ? (f(), L(X, {
187
+ i.value ? (f(), A(X, {
188
188
  key: 0,
189
189
  name: "user-photo",
190
190
  color: "white",
@@ -217,7 +217,7 @@ const va = {
217
217
  ])) : $("", !0)
218
218
  ], 2));
219
219
  }
220
- }), $a = /* @__PURE__ */ F(ka, [["__scopeId", "data-v-7c6c11df"]]), ja = /* @__PURE__ */ A({
220
+ }), $a = /* @__PURE__ */ F(ka, [["__scopeId", "data-v-7c6c11df"]]), ja = /* @__PURE__ */ B({
221
221
  __name: "VJoyAvatarsList",
222
222
  props: {
223
223
  /** Renders a compact list of avatars */
@@ -229,12 +229,12 @@ const va = {
229
229
  setup(e) {
230
230
  return (t, n) => (f(), g("div", {
231
231
  ref: "avatarsList",
232
- class: I(["joy-avatars-list", { "joy-avatars-list--compressed": e.compress }])
232
+ class: E(["joy-avatars-list", { "joy-avatars-list--compressed": e.compress }])
233
233
  }, [
234
234
  _(t.$slots, "default", {}, void 0, !0)
235
235
  ], 2));
236
236
  }
237
- }), vc = /* @__PURE__ */ F(ja, [["__scopeId", "data-v-c985cccf"]]), Ca = { key: 0 }, xa = /* @__PURE__ */ A({
237
+ }), fc = /* @__PURE__ */ F(ja, [["__scopeId", "data-v-c985cccf"]]), Ca = { key: 0 }, xa = /* @__PURE__ */ B({
238
238
  __name: "VJoyDot",
239
239
  props: {
240
240
  number: Number,
@@ -245,12 +245,12 @@ const va = {
245
245
  },
246
246
  setup(e) {
247
247
  return (t, n) => (f(), g("div", {
248
- class: I(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": e.number }])
248
+ class: E(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": e.number }])
249
249
  }, [
250
250
  e.number ? (f(), g("span", Ca, R(e.number > 99 ? "99+" : e.number), 1)) : $("", !0)
251
251
  ], 2));
252
252
  }
253
- }), Wt = /* @__PURE__ */ F(xa, [["__scopeId", "data-v-0dc5251e"]]), Ta = /* @__PURE__ */ A({
253
+ }), Wt = /* @__PURE__ */ F(xa, [["__scopeId", "data-v-0dc5251e"]]), Ta = /* @__PURE__ */ B({
254
254
  __name: "VJoyBadge",
255
255
  props: {
256
256
  /**
@@ -279,16 +279,16 @@ const va = {
279
279
  number: Number
280
280
  },
281
281
  setup(e) {
282
- return (t, n) => e.number ? (f(), L(Wt, {
282
+ return (t, n) => e.number ? (f(), A(Wt, {
283
283
  key: 0,
284
284
  variant: e.variant,
285
285
  number: e.number
286
286
  }, null, 8, ["variant", "number"])) : (f(), g("span", {
287
287
  key: 1,
288
- class: I(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
288
+ class: E(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
289
289
  role: "status"
290
290
  }, [
291
- e.bulletpoint ? (f(), L(Wt, {
291
+ e.bulletpoint ? (f(), A(Wt, {
292
292
  key: 0,
293
293
  class: "joy-badge_dot",
294
294
  variant: e.variant
@@ -373,7 +373,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
373
373
  fill: "#FFC200"
374
374
  }, null, -1)), Ya = [
375
375
  Ga
376
- ], Za = /* @__PURE__ */ A({
376
+ ], Za = /* @__PURE__ */ B({
377
377
  __name: "VJoyBadgeLevel",
378
378
  props: {
379
379
  /** type: `TJoyBadges` */
@@ -393,7 +393,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
393
393
  }
394
394
  },
395
395
  setup(e) {
396
- const t = e, n = V(() => {
396
+ const t = e, n = I(() => {
397
397
  switch (t.type) {
398
398
  case lt.HIGH_POTENTIAL:
399
399
  case le.HIGH_POTENTIAL:
@@ -425,7 +425,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
425
425
  e.type === K(le).MALT_LINKER ? (f(), g("svg", qa, Ua)) : $("", !0),
426
426
  e.type === K(lt).HIGH_POTENTIAL ? (f(), g("svg", Ka, Ya)) : $("", !0),
427
427
  b("span", {
428
- class: I([
428
+ class: E([
429
429
  {
430
430
  "joy-badge-level__tag": e.visibleText,
431
431
  red: e.type === K(le).NEW || e.type === K(le).MALT_LINKER || e.type === K(le).HIGH_POTENTIAL_AUTO,
@@ -440,7 +440,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
440
440
  ], 2)
441
441
  ]));
442
442
  }
443
- }), yc = /* @__PURE__ */ F(Za, [["__scopeId", "data-v-08a5e2c8"]]), Xa = /* @__PURE__ */ A({
443
+ }), vc = /* @__PURE__ */ F(Za, [["__scopeId", "data-v-08a5e2c8"]]), Xa = /* @__PURE__ */ B({
444
444
  __name: "VJoyBlockSkeleton",
445
445
  props: {
446
446
  /** If you want to use it properly you need to set fixed width and height */
@@ -458,7 +458,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
458
458
  }
459
459
  },
460
460
  setup(e) {
461
- const t = e, n = De("VJoyWrapperContext", {}), a = V(() => {
461
+ const t = e, n = De("VJoyWrapperContext", {}), a = I(() => {
462
462
  if (Object.keys(n).length === 0)
463
463
  return;
464
464
  let o = "1 0";
@@ -466,7 +466,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
466
466
  });
467
467
  return (o, r) => (f(), g("div", {
468
468
  "aria-hidden": "true",
469
- class: I({
469
+ class: E({
470
470
  "joy-block-skeleton": !0,
471
471
  "joy-block-skeleton--circle": e.circle
472
472
  }),
@@ -477,7 +477,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ia = { class: "joy-
477
477
  })
478
478
  }, null, 6));
479
479
  }
480
- }), pc = /* @__PURE__ */ F(Xa, [["__scopeId", "data-v-4da2c7cb"]]);
480
+ }), yc = /* @__PURE__ */ F(Xa, [["__scopeId", "data-v-4da2c7cb"]]);
481
481
  function pn(e) {
482
482
  let t;
483
483
  switch (e) {
@@ -508,7 +508,7 @@ const Se = function(e = 10) {
508
508
  function he(e) {
509
509
  e ? document.body.style.overflow = "hidden" : document.body.style.removeProperty("overflow");
510
510
  }
511
- const eo = /* @__PURE__ */ A({
511
+ const eo = /* @__PURE__ */ B({
512
512
  __name: "VJoySpinner",
513
513
  props: {
514
514
  color: {
@@ -517,7 +517,7 @@ const eo = /* @__PURE__ */ A({
517
517
  },
518
518
  setup(e) {
519
519
  return (t, n) => (f(), g("div", {
520
- class: I(["joy-spinner", `joy-spinner_${e.color}`])
520
+ class: E(["joy-spinner", `joy-spinner_${e.color}`])
521
521
  }, null, 2));
522
522
  }
523
523
  }), mn = /* @__PURE__ */ F(eo, [["__scopeId", "data-v-52944a9b"]]);
@@ -529,7 +529,7 @@ function to() {
529
529
  randomId: e
530
530
  };
531
531
  }
532
- const no = ["id"], ao = /* @__PURE__ */ A({
532
+ const no = ["id"], ao = /* @__PURE__ */ B({
533
533
  __name: "VJoyButton",
534
534
  props: {
535
535
  /**
@@ -572,7 +572,7 @@ const no = ["id"], ao = /* @__PURE__ */ A({
572
572
  }
573
573
  },
574
574
  setup(e, { expose: t }) {
575
- const n = e, a = Ee(), { randomId: o } = to(), r = V(() => {
575
+ const n = e, a = Ee(), { randomId: o } = to(), r = I(() => {
576
576
  switch (n.size) {
577
577
  case "xxsmall":
578
578
  return "xxsmall";
@@ -583,13 +583,13 @@ const no = ["id"], ao = /* @__PURE__ */ A({
583
583
  default:
584
584
  return "small";
585
585
  }
586
- }), l = V(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
586
+ }), l = I(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
587
587
  return t({ randomId: o }), (s, i) => {
588
588
  const c = Qn("joy-ripple");
589
- return cn((f(), L(re(K(a).href ? "a" : "button"), {
589
+ return cn((f(), A(re(K(a).href ? "a" : "button"), {
590
590
  disabled: e.loading || K(a).disabled,
591
591
  type: K(a).type || "button",
592
- class: I([
592
+ class: E([
593
593
  "joy-button",
594
594
  `joy-button_${e.variant}`,
595
595
  `joy-button_${e.size}`,
@@ -601,14 +601,14 @@ const no = ["id"], ao = /* @__PURE__ */ A({
601
601
  "aria-labelledby": (s.$slots.default || e.label) && K(o)
602
602
  }, {
603
603
  default: D(() => [
604
- e.icon && e.iconPosition === "left" ? (f(), L(X, {
604
+ e.icon && e.iconPosition === "left" ? (f(), A(X, {
605
605
  key: 0,
606
606
  class: "joy-button_icon joy-button_icon--left",
607
607
  name: e.icon,
608
608
  size: r.value,
609
609
  "aria-hidden": "true"
610
610
  }, null, 8, ["name", "size"])) : $("", !0),
611
- e.loading ? (f(), L(mn, {
611
+ e.loading ? (f(), A(mn, {
612
612
  key: 1,
613
613
  color: l.value
614
614
  }, null, 8, ["color"])) : $("", !0),
@@ -620,7 +620,7 @@ const no = ["id"], ao = /* @__PURE__ */ A({
620
620
  H(R(e.label), 1)
621
621
  ], !0)
622
622
  ], 8, no),
623
- e.icon && e.iconPosition === "right" ? (f(), L(X, {
623
+ e.icon && e.iconPosition === "right" ? (f(), A(X, {
624
624
  key: 2,
625
625
  class: "joy-button_icon joy-button_icon--right",
626
626
  name: e.icon,
@@ -731,7 +731,7 @@ function uo() {
731
731
  }
732
732
  function co(e) {
733
733
  const t = uo();
734
- return V(() => (t.value, !!e()));
734
+ return I(() => (t.value, !!e()));
735
735
  }
736
736
  function fo(e, t = {}) {
737
737
  const n = C(!1), a = dn(null);
@@ -772,7 +772,7 @@ function vo(e, t, n = {}) {
772
772
  let r;
773
773
  const l = co(() => a && "ResizeObserver" in a), s = () => {
774
774
  r && (r.disconnect(), r = void 0);
775
- }, i = V(() => Array.isArray(e) ? e.map((u) => je(u)) : [je(e)]), c = ae(
775
+ }, i = I(() => Array.isArray(e) ? e.map((u) => je(u)) : [je(e)]), c = ae(
776
776
  i,
777
777
  (u) => {
778
778
  if (s(), l.value && a) {
@@ -806,7 +806,7 @@ function yo(e) {
806
806
  triggerResize: l
807
807
  };
808
808
  }
809
- const Bt = /* @__PURE__ */ A({
809
+ const Bt = /* @__PURE__ */ B({
810
810
  name: "OnClickOutside",
811
811
  props: ["as", "options"],
812
812
  emits: ["trigger"],
@@ -893,7 +893,7 @@ function go(e, t = !1) {
893
893
  const i = wt(be(e));
894
894
  !i || !n.value || (St && (a == null || a()), i.style.overflow = (s = nt.get(i)) != null ? s : "", nt.delete(i), n.value = !1);
895
895
  };
896
- return yt(l), V({
896
+ return yt(l), I({
897
897
  get() {
898
898
  return n.value;
899
899
  },
@@ -916,7 +916,7 @@ function wo() {
916
916
  wo();
917
917
  const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ */ gn(() => /* @__PURE__ */ b("div", { class: "joy-bottom-sheet-overlay" }, null, -1)), So = /* @__PURE__ */ gn(() => /* @__PURE__ */ b("div", { class: "joy-bottom-sheet_header-close" }, null, -1)), ko = [
918
918
  So
919
- ], $o = { class: "joy-bottom-sheet_content" }, jo = { class: "joy-bottom-sheet_footer" }, Kt = 75, Gt = "moving", Co = /* @__PURE__ */ A({
919
+ ], $o = { class: "joy-bottom-sheet_content" }, jo = { class: "joy-bottom-sheet_footer" }, Kt = 75, Gt = "moving", Co = /* @__PURE__ */ B({
920
920
  inheritAttrs: !1,
921
921
  __name: "VJoyBottomSheet",
922
922
  props: {
@@ -951,13 +951,13 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
951
951
  },
952
952
  emits: ["bottom-sheet:close"],
953
953
  setup(e, { expose: t, emit: n }) {
954
- const a = e, o = Ee(), r = V(() => {
954
+ const a = e, o = Ee(), r = I(() => {
955
955
  if (s.value)
956
956
  return o;
957
957
  }), l = n, s = C(!1), i = C(!1), c = C(a.open), d = C(!1), u = C();
958
958
  let y = 0;
959
959
  function p() {
960
- c.value = !0, E();
960
+ c.value = !0, L();
961
961
  }
962
962
  function v() {
963
963
  i.value = !0, setTimeout(async () => {
@@ -965,21 +965,21 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
965
965
  }, 300);
966
966
  }
967
967
  function h(w) {
968
- d.value = !0, u.value.classList.add(Gt), y = B(w);
968
+ d.value = !0, u.value.classList.add(Gt), y = V(w);
969
969
  }
970
970
  function m(w) {
971
- d.value && (k(w) > Kt && v(), z());
971
+ d.value && (S(w) > Kt && v(), z());
972
972
  }
973
- function S(w) {
973
+ function k(w) {
974
974
  if (d.value) {
975
- const M = k(w);
975
+ const M = S(w);
976
976
  M > Kt ? v() : M > 0 && P(M);
977
977
  }
978
978
  }
979
- function k(w) {
980
- return B(w) - y;
979
+ function S(w) {
980
+ return V(w) - y;
981
981
  }
982
- function B(w) {
982
+ function V(w) {
983
983
  return ["touchend", "touchmove", "touchstart"].includes(w.type) ? w.changedTouches[0].clientY : w.clientY;
984
984
  }
985
985
  function P(w) {
@@ -988,7 +988,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
988
988
  function z() {
989
989
  u.value.classList.remove(Gt), u.value.style.removeProperty("transform"), d.value = !1;
990
990
  }
991
- function E() {
991
+ function L() {
992
992
  a.preventBodyScroll && he(!0);
993
993
  }
994
994
  return ae(
@@ -997,13 +997,13 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
997
997
  w === !0 ? p() : v();
998
998
  }
999
999
  ), ie(() => {
1000
- s.value = !0, a.open && E();
1000
+ s.value = !0, a.open && L();
1001
1001
  }), t({
1002
1002
  hide: v,
1003
1003
  show: p,
1004
1004
  isOpen: c,
1005
1005
  moveContainer: P
1006
- }), (w, M) => s.value ? (f(), L(Xe, {
1006
+ }), (w, M) => s.value ? (f(), A(Xe, {
1007
1007
  key: 0,
1008
1008
  to: e.teleport
1009
1009
  }, [
@@ -1029,11 +1029,11 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1029
1029
  class: "joy-bottom-sheet_header",
1030
1030
  onMousedown: h,
1031
1031
  onMouseup: m,
1032
- onMousemove: S,
1032
+ onMousemove: k,
1033
1033
  onMouseleave: m,
1034
1034
  onTouchstart: h,
1035
1035
  onTouchend: m,
1036
- onTouchmove: S
1036
+ onTouchmove: k
1037
1037
  }, ko, 32),
1038
1038
  b("div", $o, [
1039
1039
  _(w.$slots, "bottom-sheet-content", {}, void 0, !0)
@@ -1054,24 +1054,24 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1054
1054
  ], 16)) : $("", !0)
1055
1055
  ], 8, ["to"])) : $("", !0);
1056
1056
  }
1057
- }), mc = /* @__PURE__ */ F(Co, [["__scopeId", "data-v-4ea29b12"]]), hc = /* @__PURE__ */ A({
1057
+ }), pc = /* @__PURE__ */ F(Co, [["__scopeId", "data-v-4ea29b12"]]), mc = /* @__PURE__ */ B({
1058
1058
  __name: "VJoyBottomSheetTrigger",
1059
1059
  props: {
1060
1060
  bottomSheet: {}
1061
1061
  },
1062
1062
  emits: ["click"],
1063
1063
  setup(e, { emit: t }) {
1064
- const n = e, a = t, o = V(() => n.bottomSheet), r = ne(), l = V(() => r.default());
1064
+ const n = e, a = t, o = I(() => n.bottomSheet), r = ne(), l = I(() => r.default());
1065
1065
  function s() {
1066
1066
  var i;
1067
1067
  a("click"), (i = o.value) == null || i.show();
1068
1068
  }
1069
- return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), L(re(d), {
1069
+ return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), A(re(d), {
1070
1070
  key: d,
1071
1071
  onClick: s
1072
1072
  }))), 128));
1073
1073
  }
1074
- }), xo = { class: "joy-checkbox__wrapper" }, To = { class: "joy-checkbox__input-wrapper" }, Vo = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], Io = { class: "joy-checkbox__content-wrapper" }, Eo = { class: "joy-checkbox__content" }, Lo = /* @__PURE__ */ A({
1074
+ }), xo = { class: "joy-checkbox__wrapper" }, To = { class: "joy-checkbox__input-wrapper" }, Vo = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], Io = { class: "joy-checkbox__content-wrapper" }, Eo = { class: "joy-checkbox__content" }, Lo = /* @__PURE__ */ B({
1075
1075
  __name: "VJoyCheckbox",
1076
1076
  props: {
1077
1077
  /** 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 */
@@ -1142,7 +1142,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1142
1142
  isIndeterminate: l
1143
1143
  }), (d, u) => (f(), g("div", xo, [
1144
1144
  b("label", {
1145
- class: I([
1145
+ class: E([
1146
1146
  "joy-checkbox",
1147
1147
  {
1148
1148
  "joy-checkbox__checked": e.checked,
@@ -1188,7 +1188,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1188
1188
  }), wn = /* @__PURE__ */ F(Lo, [["__scopeId", "data-v-8391ace5"]]), Ao = ["id"], Bo = { class: "joy-collapse-item__header-right" }, Fo = {
1189
1189
  key: 0,
1190
1190
  class: "joy-collapse-item__summary___subheader"
1191
- }, No = { class: "joy-collapse-item__summary___preview" }, zo = ["aria-labelledby"], Po = /* @__PURE__ */ A({
1191
+ }, No = { class: "joy-collapse-item__summary___preview" }, zo = ["aria-labelledby"], Po = /* @__PURE__ */ B({
1192
1192
  __name: "VJoyCollapseItem",
1193
1193
  props: {
1194
1194
  /** Title of the collapse item */
@@ -1238,7 +1238,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1238
1238
  onToggle: s,
1239
1239
  props: a
1240
1240
  }), (c, d) => (f(), g("div", {
1241
- class: I([
1241
+ class: E([
1242
1242
  "joy-collapse-item",
1243
1243
  {
1244
1244
  "joy-collapse-item--open": r.value,
@@ -1260,7 +1260,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1260
1260
  id: e.id,
1261
1261
  class: "joy-collapse-item__summary___content"
1262
1262
  }, [
1263
- e.summaryIcon ? (f(), L(X, {
1263
+ e.summaryIcon ? (f(), A(X, {
1264
1264
  key: 0,
1265
1265
  "aria-hidden": "true",
1266
1266
  color: "secondary",
@@ -1284,7 +1284,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1284
1284
  key: 0,
1285
1285
  role: "region",
1286
1286
  "aria-labelledby": e.id,
1287
- class: I([
1287
+ class: E([
1288
1288
  "joy-collapse-item__detail",
1289
1289
  {
1290
1290
  "joy-collapse-item__detail--open": r.value
@@ -1295,7 +1295,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1295
1295
  ], 10, zo)) : $("", !0)
1296
1296
  ], 2));
1297
1297
  }
1298
- }), Oo = /* @__PURE__ */ F(Po, [["__scopeId", "data-v-71c8a78d"]]), Do = { class: "joy-collapse" }, Ro = /* @__PURE__ */ A({
1298
+ }), Oo = /* @__PURE__ */ F(Po, [["__scopeId", "data-v-71c8a78d"]]), Do = { class: "joy-collapse" }, Ro = /* @__PURE__ */ B({
1299
1299
  __name: "VJoyCollapse",
1300
1300
  props: {
1301
1301
  /** Open one item at a time. Works with modelValue */
@@ -1320,7 +1320,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1320
1320
  },
1321
1321
  emits: ["update:modelValue"],
1322
1322
  setup(e, { expose: t, emit: n }) {
1323
- const a = e, o = C(a.modelValue), r = ne(), l = n, s = V(() => {
1323
+ const a = e, o = C(a.modelValue), r = ne(), l = n, s = I(() => {
1324
1324
  const v = r.default();
1325
1325
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(i) : v.filter(i);
1326
1326
  });
@@ -1357,7 +1357,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1357
1357
  items: s,
1358
1358
  openedCollapseItem: o
1359
1359
  }), (v, h) => (f(), g("div", Do, [
1360
- (f(!0), g(Z, null, te(s.value, (m) => (f(), L(Oo, ee({ ref_for: !0 }, m.props, {
1360
+ (f(!0), g(Z, null, te(s.value, (m) => (f(), A(Oo, ee({ ref_for: !0 }, m.props, {
1361
1361
  key: m.props.id,
1362
1362
  open: d(m),
1363
1363
  mode: e.mode,
@@ -1365,19 +1365,19 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1365
1365
  "onCollapseItem:close": () => y(m)
1366
1366
  }), {
1367
1367
  "collapse-header-right": D(() => [
1368
- (f(!0), g(Z, null, te(c(m, "collapse-header-right"), (S, k) => (f(), L(re(S), { key: k }))), 128))
1368
+ (f(!0), g(Z, null, te(c(m, "collapse-header-right"), (k, S) => (f(), A(re(k), { key: S }))), 128))
1369
1369
  ]),
1370
1370
  "collapse-preview": D(() => [
1371
- (f(!0), g(Z, null, te(c(m, "collapse-preview"), (S, k) => (f(), L(re(S), { key: k }))), 128))
1371
+ (f(!0), g(Z, null, te(c(m, "collapse-preview"), (k, S) => (f(), A(re(k), { key: S }))), 128))
1372
1372
  ]),
1373
1373
  default: D(() => [
1374
- (f(!0), g(Z, null, te(c(m, "default"), (S, k) => (f(), L(re(S), { key: k }))), 128))
1374
+ (f(!0), g(Z, null, te(c(m, "default"), (k, S) => (f(), A(re(k), { key: S }))), 128))
1375
1375
  ]),
1376
1376
  _: 2
1377
1377
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1378
1378
  ]));
1379
1379
  }
1380
- }), bc = /* @__PURE__ */ F(Ro, [["__scopeId", "data-v-35744932"]]), Mo = ["src", "alt", "title", "loading"], Jo = /* @__PURE__ */ A({
1380
+ }), hc = /* @__PURE__ */ F(Ro, [["__scopeId", "data-v-35744932"]]), Mo = ["src", "alt", "title", "loading"], Jo = /* @__PURE__ */ B({
1381
1381
  __name: "VJoyCompanyAvatar",
1382
1382
  props: {
1383
1383
  /** Inject the URL of your image. Fallback will be the icon */
@@ -1397,7 +1397,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1397
1397
  }
1398
1398
  },
1399
1399
  setup(e) {
1400
- const t = e, n = V(() => {
1400
+ const t = e, n = I(() => {
1401
1401
  switch (t.size) {
1402
1402
  case "large":
1403
1403
  return "small";
@@ -1410,7 +1410,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1410
1410
  }
1411
1411
  });
1412
1412
  return (a, o) => (f(), g("div", {
1413
- class: I(["joy-company-avatar", `joy-company-avatar--${e.size}`])
1413
+ class: E(["joy-company-avatar", `joy-company-avatar--${e.size}`])
1414
1414
  }, [
1415
1415
  e.imgSrc ? (f(), g("img", {
1416
1416
  key: 0,
@@ -1418,14 +1418,14 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1418
1418
  alt: e.imgAlt || e.companyName,
1419
1419
  title: e.companyName,
1420
1420
  loading: e.loading
1421
- }, null, 8, Mo)) : (f(), L(X, {
1421
+ }, null, 8, Mo)) : (f(), A(X, {
1422
1422
  key: 1,
1423
1423
  name: "company-placeholder",
1424
1424
  size: n.value
1425
1425
  }, null, 8, ["size"]))
1426
1426
  ], 2));
1427
1427
  }
1428
- }), gc = /* @__PURE__ */ F(Jo, [["__scopeId", "data-v-2f1289c1"]]), qo = ["aria-hidden"], Ho = /* @__PURE__ */ A({
1428
+ }), bc = /* @__PURE__ */ F(Jo, [["__scopeId", "data-v-2f1289c1"]]), qo = ["aria-hidden"], Ho = /* @__PURE__ */ B({
1429
1429
  __name: "VJoyFormError",
1430
1430
  props: {
1431
1431
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1439,7 +1439,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1439
1439
  setup(e) {
1440
1440
  return (t, n) => (f(), g("div", {
1441
1441
  "aria-hidden": e.visible,
1442
- class: I(["joy-form-error", { "joy-has-error": e.visible }]),
1442
+ class: E(["joy-form-error", { "joy-has-error": e.visible }]),
1443
1443
  role: "alert"
1444
1444
  }, [
1445
1445
  G(X, {
@@ -1459,7 +1459,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1459
1459
  }, Uo = {
1460
1460
  key: 1,
1461
1461
  class: "joy-label-optional"
1462
- }, Ko = /* @__PURE__ */ A({
1462
+ }, Ko = /* @__PURE__ */ B({
1463
1463
  __name: "VJoyLabel",
1464
1464
  props: {
1465
1465
  size: {
@@ -1480,7 +1480,7 @@ const gn = (e) => (Ye("data-v-4ea29b12"), e = e(), Ze(), e), _o = /* @__PURE__ *
1480
1480
  text: String
1481
1481
  },
1482
1482
  setup(e) {
1483
- return (t, n) => (f(), L(re(e.tagName), ee({
1483
+ return (t, n) => (f(), A(re(e.tagName), ee({
1484
1484
  class: ["joy-label", `joy-label--${e.size}`]
1485
1485
  }, t.$attrs), {
1486
1486
  default: D(() => [
@@ -1513,7 +1513,7 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1513
1513
  class: "joy-counter_error"
1514
1514
  }, nl = {
1515
1515
  inheritAttrs: !1
1516
- }, al = /* @__PURE__ */ A({
1516
+ }, al = /* @__PURE__ */ B({
1517
1517
  ...nl,
1518
1518
  __name: "VJoyCounter",
1519
1519
  props: {
@@ -1599,8 +1599,8 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1599
1599
  r.value = !y();
1600
1600
  }
1601
1601
  function u(m = !0) {
1602
- const S = o.step.toString().split("."), k = S.length === 2 ? S[1].length : 0;
1603
- return parseFloat(m ? (o.modelValue + o.step).toFixed(k) : (o.modelValue - o.step).toFixed(k));
1602
+ const k = o.step.toString().split("."), S = k.length === 2 ? k[1].length : 0;
1603
+ return parseFloat(m ? (o.modelValue + o.step).toFixed(S) : (o.modelValue - o.step).toFixed(S));
1604
1604
  }
1605
1605
  function y() {
1606
1606
  return p() && v();
@@ -1624,8 +1624,8 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1624
1624
  };
1625
1625
  return t({
1626
1626
  props: o
1627
- }), (m, S) => (f(), g("div", Yo, [
1628
- e.label ? (f(), L(Le, {
1627
+ }), (m, k) => (f(), g("div", Yo, [
1628
+ e.label ? (f(), A(Le, {
1629
1629
  key: 0,
1630
1630
  for: e.id,
1631
1631
  required: e.required && e.requiredMark,
@@ -1640,7 +1640,7 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1640
1640
  _: 3
1641
1641
  }, 8, ["for", "required", "optional-label", "size"])) : $("", !0),
1642
1642
  b("div", {
1643
- class: I(["joy-counter__wrapper", { "joy-counter--focusing": l.value }])
1643
+ class: E(["joy-counter__wrapper", { "joy-counter--focusing": l.value }])
1644
1644
  }, [
1645
1645
  b("button", {
1646
1646
  class: "joy-counter__decrement",
@@ -1666,12 +1666,12 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1666
1666
  step: "any",
1667
1667
  value: e.modelValue
1668
1668
  }, m.$attrs, {
1669
- onInput: S[0] || (S[0] = //@ts-ignore
1670
- (...k) => h.onInput && h.onInput(...k)),
1671
- onBlur: S[1] || (S[1] = //@ts-ignore
1672
- (...k) => h.onBlur && h.onBlur(...k)),
1673
- onFocus: S[2] || (S[2] = //@ts-ignore
1674
- (...k) => h.onFocus && h.onFocus(...k))
1669
+ onInput: k[0] || (k[0] = //@ts-ignore
1670
+ (...S) => h.onInput && h.onInput(...S)),
1671
+ onBlur: k[1] || (k[1] = //@ts-ignore
1672
+ (...S) => h.onBlur && h.onBlur(...S)),
1673
+ onFocus: k[2] || (k[2] = //@ts-ignore
1674
+ (...S) => h.onFocus && h.onFocus(...S))
1675
1675
  }), null, 16, Qo)
1676
1676
  ]),
1677
1677
  b("button", {
@@ -1689,7 +1689,7 @@ const Yo = { class: "joy-counter" }, Zo = ["aria-label", "disabled"], Xo = { cla
1689
1689
  ], 2)
1690
1690
  ]));
1691
1691
  }
1692
- }), wc = /* @__PURE__ */ F(al, [["__scopeId", "data-v-556fd173"]]);
1692
+ }), gc = /* @__PURE__ */ F(al, [["__scopeId", "data-v-556fd173"]]);
1693
1693
  function ol(e) {
1694
1694
  return Vt() ? (It(e), !0) : !1;
1695
1695
  }
@@ -2172,7 +2172,7 @@ var Qt = {
2172
2172
  } else
2173
2173
  U = d("fallbackFocus");
2174
2174
  return U;
2175
- }, S = function(j) {
2175
+ }, k = function(j) {
2176
2176
  var x = at(j);
2177
2177
  if (!(c(x, j) >= 0)) {
2178
2178
  if (qe(r.clickOutsideDeactivates, j)) {
@@ -2189,7 +2189,7 @@ var Qt = {
2189
2189
  }
2190
2190
  qe(r.allowOutsideClick, j) || j.preventDefault();
2191
2191
  }
2192
- }, k = function(j) {
2192
+ }, S = function(j) {
2193
2193
  var x = at(j), N = c(x, j) >= 0;
2194
2194
  if (N || x instanceof Document)
2195
2195
  N && (l.mostRecentlyFocusedNode = x);
@@ -2221,7 +2221,7 @@ var Qt = {
2221
2221
  })), v(W || l.mostRecentlyFocusedNode || u());
2222
2222
  }
2223
2223
  l.recentNavEvent = void 0;
2224
- }, B = function(j) {
2224
+ }, V = function(j) {
2225
2225
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2226
2226
  l.recentNavEvent = j;
2227
2227
  var N = m({
@@ -2234,18 +2234,18 @@ var Qt = {
2234
2234
  j.preventDefault(), s.deactivate();
2235
2235
  return;
2236
2236
  }
2237
- (r.isKeyForward(j) || r.isKeyBackward(j)) && B(j, r.isKeyBackward(j));
2237
+ (r.isKeyForward(j) || r.isKeyBackward(j)) && V(j, r.isKeyBackward(j));
2238
2238
  }, z = function(j) {
2239
2239
  var x = at(j);
2240
2240
  c(x, j) >= 0 || qe(r.clickOutsideDeactivates, j) || qe(r.allowOutsideClick, j) || (j.preventDefault(), j.stopImmediatePropagation());
2241
- }, E = function() {
2241
+ }, L = function() {
2242
2242
  if (l.active)
2243
2243
  return Qt.activateTrap(o, s), l.delayInitialFocusTimer = r.delayInitialFocus ? en(function() {
2244
2244
  v(u());
2245
- }) : v(u()), a.addEventListener("focusin", k, !0), a.addEventListener("mousedown", S, {
2245
+ }) : v(u()), a.addEventListener("focusin", S, !0), a.addEventListener("mousedown", k, {
2246
2246
  capture: !0,
2247
2247
  passive: !1
2248
- }), a.addEventListener("touchstart", S, {
2248
+ }), a.addEventListener("touchstart", k, {
2249
2249
  capture: !0,
2250
2250
  passive: !1
2251
2251
  }), a.addEventListener("click", z, {
@@ -2257,7 +2257,7 @@ var Qt = {
2257
2257
  }), s;
2258
2258
  }, w = function() {
2259
2259
  if (l.active)
2260
- return a.removeEventListener("focusin", k, !0), a.removeEventListener("mousedown", S, !0), a.removeEventListener("touchstart", S, !0), a.removeEventListener("click", z, !0), a.removeEventListener("keydown", P, !0), s;
2260
+ return a.removeEventListener("focusin", S, !0), a.removeEventListener("mousedown", k, !0), a.removeEventListener("touchstart", k, !0), a.removeEventListener("click", z, !0), a.removeEventListener("keydown", P, !0), s;
2261
2261
  }, M = function(j) {
2262
2262
  var x = j.some(function(N) {
2263
2263
  var W = Array.from(N.removedNodes);
@@ -2287,7 +2287,7 @@ var Qt = {
2287
2287
  var x = i(j, "onActivate"), N = i(j, "onPostActivate"), W = i(j, "checkCanFocusTrap");
2288
2288
  W || y(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = a.activeElement, x == null || x();
2289
2289
  var q = function() {
2290
- W && y(), E(), J(), N == null || N();
2290
+ W && y(), L(), J(), N == null || N();
2291
2291
  };
2292
2292
  return W ? (W(l.containers.concat()).then(q, q), this) : (q(), this);
2293
2293
  },
@@ -2319,7 +2319,7 @@ var Qt = {
2319
2319
  if (!l.paused || !l.active)
2320
2320
  return this;
2321
2321
  var x = i(j, "onUnpause"), N = i(j, "onPostUnpause");
2322
- return l.paused = !1, x == null || x(), y(), E(), J(), N == null || N(), this;
2322
+ return l.paused = !1, x == null || x(), y(), L(), J(), N == null || N(), this;
2323
2323
  },
2324
2324
  updateContainerElements: function(j) {
2325
2325
  var x = [].concat(j).filter(Boolean);
@@ -2359,7 +2359,7 @@ function xn(e, t = {}) {
2359
2359
  unpause: d
2360
2360
  };
2361
2361
  }
2362
- const Al = /* @__PURE__ */ A({
2362
+ const Al = /* @__PURE__ */ B({
2363
2363
  __name: "VJoyWrapper",
2364
2364
  props: {
2365
2365
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -2404,7 +2404,7 @@ const Al = /* @__PURE__ */ A({
2404
2404
  },
2405
2405
  setup(e) {
2406
2406
  return Et("VJoyWrapperContext", e), (n, a) => (f(), g("div", {
2407
- class: I([
2407
+ class: E([
2408
2408
  "joy-wrapper",
2409
2409
  `joy-wrapper--justify-${e.justify}`,
2410
2410
  `joy-wrapper--align-${e.align}`,
@@ -2437,7 +2437,7 @@ const Al = /* @__PURE__ */ A({
2437
2437
  }, ql = {
2438
2438
  key: 2,
2439
2439
  class: "joy-dialog--indicators"
2440
- }, Hl = /* @__PURE__ */ A({
2440
+ }, Hl = /* @__PURE__ */ B({
2441
2441
  inheritAttrs: !1,
2442
2442
  __name: "VJoyDialog",
2443
2443
  props: {
@@ -2515,23 +2515,23 @@ const Al = /* @__PURE__ */ A({
2515
2515
  },
2516
2516
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2517
2517
  setup(e, { expose: t, emit: n }) {
2518
- const a = e, o = n, r = "joy-dialog--" + Se(), l = ne(), s = C(!1), i = C(), c = C(a.open), d = xn(i), u = Ee(), y = V(() => {
2518
+ const a = e, o = n, r = "joy-dialog--" + Se(), l = ne(), s = C(!1), i = C(), c = C(a.open), d = xn(i), u = Ee(), y = I(() => {
2519
2519
  if (s.value)
2520
2520
  return u;
2521
- }), p = V(() => {
2522
- const E = l["dialog-cancel"] || l["dialog-confirm"], w = a.cancelText || a.confirmText;
2523
- return !!E || !!w;
2524
- }), h = V(() => a.id || r).value + "-header";
2521
+ }), p = I(() => {
2522
+ const L = l["dialog-cancel"] || l["dialog-confirm"], w = a.cancelText || a.confirmText;
2523
+ return !!L || !!w;
2524
+ }), h = I(() => a.id || r).value + "-header";
2525
2525
  function m() {
2526
- !a.patternConfirm && S();
2526
+ !a.patternConfirm && k();
2527
2527
  }
2528
- async function S(E = { fireHideEvent: !0 }) {
2529
- d.deactivate(), c.value = !1, await Ue(), he(!1), E.fireHideEvent && o("dialog:hide");
2528
+ async function k(L = { fireHideEvent: !0 }) {
2529
+ d.deactivate(), c.value = !1, await Ue(), he(!1), L.fireHideEvent && o("dialog:hide");
2530
2530
  }
2531
- async function k() {
2531
+ async function S() {
2532
2532
  c.value = !0, await Ue(), a.focusTrap && d.activate(), a.preventBodyScroll && he(!0);
2533
2533
  }
2534
- function B() {
2534
+ function V() {
2535
2535
  o("dialog:open");
2536
2536
  }
2537
2537
  function P() {
@@ -2547,10 +2547,10 @@ const Al = /* @__PURE__ */ A({
2547
2547
  }), t({
2548
2548
  focusTrapReturn: d,
2549
2549
  hasFooterSlots: p,
2550
- hide: S,
2550
+ hide: k,
2551
2551
  isOpen: c,
2552
- show: k
2553
- }), (E, w) => s.value ? (f(), L(Xe, {
2552
+ show: S
2553
+ }), (L, w) => s.value ? (f(), A(Xe, {
2554
2554
  key: 0,
2555
2555
  to: e.teleport
2556
2556
  }, [
@@ -2558,7 +2558,7 @@ const Al = /* @__PURE__ */ A({
2558
2558
  duration: { enter: 300, leave: 100 },
2559
2559
  name: "dialog",
2560
2560
  appear: "",
2561
- onEnter: B,
2561
+ onEnter: V,
2562
2562
  onAfterEnter: P,
2563
2563
  onAfterLeave: z
2564
2564
  }, {
@@ -2574,7 +2574,7 @@ const Al = /* @__PURE__ */ A({
2574
2574
  onKeydown: Qe(m, ["esc"])
2575
2575
  }), [
2576
2576
  b("div", {
2577
- class: I([
2577
+ class: E([
2578
2578
  {
2579
2579
  "joy-dialog__overlay": !0,
2580
2580
  "joy-dialog__overlay--open": c.value,
@@ -2584,7 +2584,7 @@ const Al = /* @__PURE__ */ A({
2584
2584
  onClick: m
2585
2585
  }, null, 2),
2586
2586
  b("div", {
2587
- class: I([
2587
+ class: E([
2588
2588
  {
2589
2589
  "joy-dialog--wrapper": !0,
2590
2590
  "joy-dialog--wrapper-open": c.value
@@ -2603,19 +2603,19 @@ const Al = /* @__PURE__ */ A({
2603
2603
  })
2604
2604
  }, null, 4)) : $("", !0),
2605
2605
  b("div", Dl, [
2606
- E.$slots["dialog-preheader"] ? (f(), g("div", Rl, [
2607
- _(E.$slots, "dialog-preheader", {}, void 0, !0)
2606
+ L.$slots["dialog-preheader"] ? (f(), g("div", Rl, [
2607
+ _(L.$slots, "dialog-preheader", {}, void 0, !0)
2608
2608
  ])) : $("", !0),
2609
2609
  b("div", {
2610
2610
  id: h,
2611
2611
  class: "joy-dialog--header__title"
2612
2612
  }, [
2613
- _(E.$slots, "dialog-header", {}, void 0, !0)
2613
+ _(L.$slots, "dialog-header", {}, void 0, !0)
2614
2614
  ]),
2615
2615
  b("p", Ml, [
2616
- _(E.$slots, "dialog-subheader", {}, void 0, !0)
2616
+ _(L.$slots, "dialog-subheader", {}, void 0, !0)
2617
2617
  ]),
2618
- e.patternConfirm ? $("", !0) : (f(), L(ue, {
2618
+ e.patternConfirm ? $("", !0) : (f(), A(ue, {
2619
2619
  key: 1,
2620
2620
  id: "joy-dialog--close",
2621
2621
  circle: "",
@@ -2625,14 +2625,14 @@ const Al = /* @__PURE__ */ A({
2625
2625
  name: "cross",
2626
2626
  label: e.closeLabel,
2627
2627
  class: "joy-dialog--close",
2628
- onClick: w[0] || (w[0] = (M) => S())
2628
+ onClick: w[0] || (w[0] = (M) => k())
2629
2629
  }, null, 8, ["label"]))
2630
2630
  ]),
2631
2631
  b("div", Jl, [
2632
- _(E.$slots, "dialog-body", {}, void 0, !0)
2632
+ _(L.$slots, "dialog-body", {}, void 0, !0)
2633
2633
  ]),
2634
2634
  b("div", {
2635
- class: I([
2635
+ class: E([
2636
2636
  {
2637
2637
  "joy-dialog--footer": !0,
2638
2638
  "joy-dialog--footer-filled": p.value
@@ -2644,13 +2644,13 @@ const Al = /* @__PURE__ */ A({
2644
2644
  "no-margin": ""
2645
2645
  }, {
2646
2646
  default: D(() => [
2647
- _(E.$slots, "dialog-cancel", {}, () => [
2648
- e.cancelText ? (f(), L(ue, {
2647
+ _(L.$slots, "dialog-cancel", {}, () => [
2648
+ e.cancelText ? (f(), A(ue, {
2649
2649
  key: 0,
2650
2650
  class: "joy-dialog--cancel",
2651
2651
  variant: "ghost",
2652
2652
  size: e.buttonSize,
2653
- onClick: w[1] || (w[1] = (M) => S())
2653
+ onClick: w[1] || (w[1] = (M) => k())
2654
2654
  }, {
2655
2655
  default: D(() => [
2656
2656
  H(R(e.cancelText), 1)
@@ -2658,8 +2658,8 @@ const Al = /* @__PURE__ */ A({
2658
2658
  _: 1
2659
2659
  }, 8, ["size"])) : $("", !0)
2660
2660
  ], !0),
2661
- _(E.$slots, "dialog-confirm", {}, () => [
2662
- e.confirmText ? (f(), L(ue, {
2661
+ _(L.$slots, "dialog-confirm", {}, () => [
2662
+ e.confirmText ? (f(), A(ue, {
2663
2663
  key: 0,
2664
2664
  class: "joy-dialog--confirm",
2665
2665
  variant: "main",
@@ -2677,7 +2677,7 @@ const Al = /* @__PURE__ */ A({
2677
2677
  })
2678
2678
  ], 2),
2679
2679
  K(l)["dialog-indicators"] ? (f(), g("div", ql, [
2680
- _(E.$slots, "dialog-indicators", {}, void 0, !0)
2680
+ _(L.$slots, "dialog-indicators", {}, void 0, !0)
2681
2681
  ])) : $("", !0)
2682
2682
  ])
2683
2683
  ], 2)
@@ -2687,24 +2687,24 @@ const Al = /* @__PURE__ */ A({
2687
2687
  })
2688
2688
  ], 8, ["to"])) : $("", !0);
2689
2689
  }
2690
- }), _c = /* @__PURE__ */ F(Hl, [["__scopeId", "data-v-37136d78"]]), Sc = /* @__PURE__ */ A({
2690
+ }), wc = /* @__PURE__ */ F(Hl, [["__scopeId", "data-v-37136d78"]]), _c = /* @__PURE__ */ B({
2691
2691
  __name: "VJoyDialogTrigger",
2692
2692
  props: {
2693
2693
  dialog: {}
2694
2694
  },
2695
2695
  emits: ["click"],
2696
2696
  setup(e, { emit: t }) {
2697
- const n = e, a = V(() => n.dialog), o = t, r = ne(), l = V(() => r.default());
2697
+ const n = e, a = I(() => n.dialog), o = t, r = ne(), l = I(() => r.default());
2698
2698
  async function s() {
2699
2699
  var i;
2700
2700
  o("click"), await ((i = a.value) == null ? void 0 : i.show());
2701
2701
  }
2702
- return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), L(re(d), {
2702
+ return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), A(re(d), {
2703
2703
  key: d,
2704
2704
  onClick: s
2705
2705
  }))), 128));
2706
2706
  }
2707
- }), Wl = ["disabled"], Ul = { class: "joy-divider-cta--icon" }, Kl = { class: "joy-divider-cta--content" }, Gl = { class: "joy-divider-cta--content---title" }, Yl = /* @__PURE__ */ A({
2707
+ }), Wl = ["disabled"], Ul = { class: "joy-divider-cta--icon" }, Kl = { class: "joy-divider-cta--content" }, Gl = { class: "joy-divider-cta--content---title" }, Yl = /* @__PURE__ */ B({
2708
2708
  __name: "VJoyDividerCta",
2709
2709
  props: {
2710
2710
  disabled: {
@@ -2715,7 +2715,7 @@ const Al = /* @__PURE__ */ A({
2715
2715
  setup(e) {
2716
2716
  return (t, n) => (f(), g("button", {
2717
2717
  type: "button",
2718
- class: I(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
2718
+ class: E(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
2719
2719
  disabled: e.disabled
2720
2720
  }, [
2721
2721
  b("div", Ul, [
@@ -2729,13 +2729,13 @@ const Al = /* @__PURE__ */ A({
2729
2729
  ])
2730
2730
  ], 10, Wl));
2731
2731
  }
2732
- }), kc = /* @__PURE__ */ F(Yl, [["__scopeId", "data-v-aa93710e"]]), Zl = ["id"], Xl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, er = {
2732
+ }), Sc = /* @__PURE__ */ F(Yl, [["__scopeId", "data-v-aa93710e"]]), Zl = ["id"], Xl = { class: "joy-drawer__inner" }, Ql = { class: "joy-drawer--header" }, er = {
2733
2733
  id: "drawerDescription",
2734
2734
  class: "joy-drawer--subheader"
2735
2735
  }, tr = {
2736
2736
  class: "joy-drawer--body",
2737
2737
  tabindex: "0"
2738
- }, nr = /* @__PURE__ */ A({
2738
+ }, nr = /* @__PURE__ */ B({
2739
2739
  inheritAttrs: !1,
2740
2740
  __name: "VJoyDrawer",
2741
2741
  props: {
@@ -2797,23 +2797,23 @@ const Al = /* @__PURE__ */ A({
2797
2797
  },
2798
2798
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2799
2799
  setup(e, { expose: t, emit: n }) {
2800
- const a = e, o = n, r = "joy-drawer--" + Se(), l = ne(), s = C(!1), i = C(), c = C(a.open), d = xn(i), u = Ee(), y = V(() => {
2800
+ const a = e, o = n, r = "joy-drawer--" + Se(), l = ne(), s = C(!1), i = C(), c = C(a.open), d = xn(i), u = Ee(), y = I(() => {
2801
2801
  if (s.value)
2802
2802
  return u;
2803
- }), p = V(() => {
2804
- const z = l["drawer-cancel"] || l["drawer-confirm"], E = a.cancelText || a.confirmText;
2805
- return !!z || !!E;
2806
- }), v = V(() => a.id || r), h = v.value + "-header";
2803
+ }), p = I(() => {
2804
+ const z = l["drawer-cancel"] || l["drawer-confirm"], L = a.cancelText || a.confirmText;
2805
+ return !!z || !!L;
2806
+ }), v = I(() => a.id || r), h = v.value + "-header";
2807
2807
  async function m(z = { fireHideEvent: !0 }) {
2808
2808
  a.onBeforeHide && !await a.onBeforeHide() || (d.deactivate(), c.value = !1, await Ue(), he(!1), z.fireHideEvent && o("drawer:hide"));
2809
2809
  }
2810
- async function S() {
2810
+ async function k() {
2811
2811
  c.value = !0, await Ue(), a.focusTrap && !a.elevated && d.activate(), !a.elevated && a.preventBodyScroll && he(!0);
2812
2812
  }
2813
- function k() {
2813
+ function S() {
2814
2814
  o("drawer:open");
2815
2815
  }
2816
- function B() {
2816
+ function V() {
2817
2817
  o("drawer:after-open");
2818
2818
  }
2819
2819
  function P() {
@@ -2828,8 +2828,8 @@ const Al = /* @__PURE__ */ A({
2828
2828
  hasFooterSlots: p,
2829
2829
  hide: m,
2830
2830
  isOpen: c,
2831
- show: S
2832
- }), (z, E) => s.value ? (f(), L(Xe, {
2831
+ show: k
2832
+ }), (z, L) => s.value ? (f(), A(Xe, {
2833
2833
  key: 0,
2834
2834
  to: e.teleport
2835
2835
  }, [
@@ -2837,8 +2837,8 @@ const Al = /* @__PURE__ */ A({
2837
2837
  duration: { enter: 300, leave: 100 },
2838
2838
  name: "drawer",
2839
2839
  appear: "",
2840
- onEnter: k,
2841
- onAfterEnter: B,
2840
+ onEnter: S,
2841
+ onAfterEnter: V,
2842
2842
  onAfterLeave: P
2843
2843
  }, {
2844
2844
  default: D(() => [
@@ -2857,20 +2857,20 @@ const Al = /* @__PURE__ */ A({
2857
2857
  }
2858
2858
  ],
2859
2859
  "aria-labelledby": h,
2860
- onKeydown: E[4] || (E[4] = Qe((w) => m(), ["esc"]))
2860
+ onKeydown: L[4] || (L[4] = Qe((w) => m(), ["esc"]))
2861
2861
  }), [
2862
2862
  e.elevated ? $("", !0) : (f(), g("div", {
2863
2863
  key: 0,
2864
- class: I([
2864
+ class: E([
2865
2865
  {
2866
2866
  "joy-drawer__overlay": !0,
2867
2867
  "joy-drawer__overlay--open": c.value
2868
2868
  }
2869
2869
  ]),
2870
- onClick: E[0] || (E[0] = (w) => m())
2870
+ onClick: L[0] || (L[0] = (w) => m())
2871
2871
  }, null, 2)),
2872
2872
  b("div", {
2873
- class: I([
2873
+ class: E([
2874
2874
  {
2875
2875
  "joy-drawer--wrapper": !0,
2876
2876
  "joy-drawer--wrapper-open": c.value
@@ -2897,14 +2897,14 @@ const Al = /* @__PURE__ */ A({
2897
2897
  name: "cross",
2898
2898
  label: e.closeLabel,
2899
2899
  class: "joy-drawer--close",
2900
- onClick: E[1] || (E[1] = (w) => m())
2900
+ onClick: L[1] || (L[1] = (w) => m())
2901
2901
  }, null, 8, ["label"])
2902
2902
  ]),
2903
2903
  b("div", tr, [
2904
2904
  _(z.$slots, "drawer-body", {}, void 0, !0)
2905
2905
  ]),
2906
2906
  b("div", {
2907
- class: I([
2907
+ class: E([
2908
2908
  {
2909
2909
  "joy-drawer--footer": !0,
2910
2910
  "joy-drawer--footer-filled": p.value
@@ -2918,12 +2918,12 @@ const Al = /* @__PURE__ */ A({
2918
2918
  }, {
2919
2919
  default: D(() => [
2920
2920
  _(z.$slots, "drawer-cancel", {}, () => [
2921
- e.cancelText ? (f(), L(ue, {
2921
+ e.cancelText ? (f(), A(ue, {
2922
2922
  key: 0,
2923
2923
  class: "joy-drawer--cancel",
2924
2924
  variant: "ghost",
2925
2925
  size: e.buttonSize,
2926
- onClick: E[2] || (E[2] = (w) => m())
2926
+ onClick: L[2] || (L[2] = (w) => m())
2927
2927
  }, {
2928
2928
  default: D(() => [
2929
2929
  H(R(e.cancelText), 1)
@@ -2932,12 +2932,12 @@ const Al = /* @__PURE__ */ A({
2932
2932
  }, 8, ["size"])) : $("", !0)
2933
2933
  ], !0),
2934
2934
  _(z.$slots, "drawer-confirm", {}, () => [
2935
- e.confirmText ? (f(), L(ue, {
2935
+ e.confirmText ? (f(), A(ue, {
2936
2936
  key: 0,
2937
2937
  class: "joy-drawer--confirm",
2938
2938
  variant: "main",
2939
2939
  size: e.buttonSize,
2940
- onClick: E[3] || (E[3] = (w) => o("drawer:confirm"))
2940
+ onClick: L[3] || (L[3] = (w) => o("drawer:confirm"))
2941
2941
  }, {
2942
2942
  default: D(() => [
2943
2943
  H(R(e.confirmText), 1)
@@ -2957,19 +2957,19 @@ const Al = /* @__PURE__ */ A({
2957
2957
  })
2958
2958
  ], 8, ["to"])) : $("", !0);
2959
2959
  }
2960
- }), $c = /* @__PURE__ */ F(nr, [["__scopeId", "data-v-73384607"]]), jc = /* @__PURE__ */ A({
2960
+ }), kc = /* @__PURE__ */ F(nr, [["__scopeId", "data-v-73384607"]]), $c = /* @__PURE__ */ B({
2961
2961
  __name: "VJoyDrawerTrigger",
2962
2962
  props: {
2963
2963
  drawer: {}
2964
2964
  },
2965
2965
  emits: ["click"],
2966
2966
  setup(e, { emit: t }) {
2967
- const n = e, a = t, o = V(() => n.drawer), r = ne(), l = V(() => r.default());
2967
+ const n = e, a = t, o = I(() => n.drawer), r = ne(), l = I(() => r.default());
2968
2968
  async function s() {
2969
2969
  var i;
2970
2970
  a("click"), await ((i = o.value) == null ? void 0 : i.show());
2971
2971
  }
2972
- return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), L(re(d), {
2972
+ return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), A(re(d), {
2973
2973
  key: d,
2974
2974
  onClick: s
2975
2975
  }))), 128));
@@ -2980,7 +2980,7 @@ const Al = /* @__PURE__ */ A({
2980
2980
  }, or = ["aria-label", "aria-labelledby"], lr = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], rr = {
2981
2981
  key: 1,
2982
2982
  class: "joy-dropdown-list__footer"
2983
- }, ir = /* @__PURE__ */ A({
2983
+ }, ir = /* @__PURE__ */ B({
2984
2984
  __name: "VJoyDropdownList",
2985
2985
  props: {
2986
2986
  /**
@@ -3024,7 +3024,7 @@ const Al = /* @__PURE__ */ A({
3024
3024
  },
3025
3025
  emits: ["update:modelValue", "close:dropdownList", "reset"],
3026
3026
  setup(e, { expose: t, emit: n }) {
3027
- const a = n, o = e, r = C(), l = V(() => (v) => !o.modelValue || !v.value && !v.id ? !1 : o.modelValue === v.value || o.modelValue === v.id);
3027
+ const a = n, o = e, r = C(), l = I(() => (v) => !o.modelValue || !v.value && !v.id ? !1 : o.modelValue === v.value || o.modelValue === v.id);
3028
3028
  function s(v) {
3029
3029
  v.disabled || a("update:modelValue", v.value || v.id);
3030
3030
  }
@@ -3053,10 +3053,10 @@ const Al = /* @__PURE__ */ A({
3053
3053
  a("update:modelValue", m.dataModel);
3054
3054
  }
3055
3055
  if (d() && v.key === " " && v.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(v.key)) {
3056
- const m = i(), S = d();
3057
- let k = m.indexOf(S);
3056
+ const m = i(), k = d();
3057
+ let S = m.indexOf(k);
3058
3058
  if (m.length) {
3059
- v.preventDefault(), v.key === "ArrowDown" ? k++ : v.key === "ArrowUp" ? k-- : v.key === "Home" ? k = 0 : v.key === "End" && (k = m.length - 1), k < 0 && (k = m.length - 1), k > m.length - 1 && (k = 0), y(m[k]);
3059
+ v.preventDefault(), v.key === "ArrowDown" ? S++ : v.key === "ArrowUp" ? S-- : v.key === "Home" ? S = 0 : v.key === "End" && (S = m.length - 1), S < 0 && (S = m.length - 1), S > m.length - 1 && (S = 0), y(m[S]);
3060
3060
  return;
3061
3061
  }
3062
3062
  }
@@ -3089,7 +3089,7 @@ const Al = /* @__PURE__ */ A({
3089
3089
  ])) : $("", !0),
3090
3090
  b("div", {
3091
3091
  tabindex: "0",
3092
- class: I(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": v.$slots["dropdown-list-items"] }]),
3092
+ class: E(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": v.$slots["dropdown-list-items"] }]),
3093
3093
  style: se({ "max-height": `${e.height}px` })
3094
3094
  }, [
3095
3095
  _(v.$slots, "dropdown-list-items", {}, void 0, !0),
@@ -3106,7 +3106,7 @@ const Al = /* @__PURE__ */ A({
3106
3106
  id: m.id,
3107
3107
  key: m.id,
3108
3108
  style: se({ "max-width": `${e.width}px` }),
3109
- class: I([
3109
+ class: E([
3110
3110
  "joy-dropdown-list__item",
3111
3111
  `joy-dropdown-list__item--${e.size}`,
3112
3112
  {
@@ -3121,7 +3121,7 @@ const Al = /* @__PURE__ */ A({
3121
3121
  "aria-label": m.label,
3122
3122
  ".dataModel": m.value || m.id,
3123
3123
  role: "option",
3124
- onClick: (S) => s(m)
3124
+ onClick: (k) => s(m)
3125
3125
  }, [
3126
3126
  _(v.$slots, "label", ee({ ref_for: !0 }, m), () => [
3127
3127
  b("span", null, R(m.label), 1)
@@ -3134,7 +3134,7 @@ const Al = /* @__PURE__ */ A({
3134
3134
  ])) : $("", !0)
3135
3135
  ], 4));
3136
3136
  }
3137
- }), sr = /* @__PURE__ */ F(ir, [["__scopeId", "data-v-7a3292aa"]]), ur = /* @__PURE__ */ A({
3137
+ }), sr = /* @__PURE__ */ F(ir, [["__scopeId", "data-v-7a3292aa"]]), ur = /* @__PURE__ */ B({
3138
3138
  __name: "VJoyDropdown",
3139
3139
  props: {
3140
3140
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -3230,15 +3230,15 @@ const Al = /* @__PURE__ */ A({
3230
3230
  let p = null;
3231
3231
  ae(
3232
3232
  () => r.value,
3233
- (E) => {
3234
- E && Qa(i);
3233
+ (L) => {
3234
+ L && Qa(i);
3235
3235
  },
3236
3236
  { flush: "post" }
3237
3237
  );
3238
- const v = V(() => {
3239
- let E = `${o.dropdownGap}px`;
3240
- return o.direction === "up" && (E = "-" + E), {
3241
- marginTop: E
3238
+ const v = I(() => {
3239
+ let L = `${o.dropdownGap}px`;
3240
+ return o.direction === "up" && (L = "-" + L), {
3241
+ marginTop: L
3242
3242
  };
3243
3243
  });
3244
3244
  function h() {
@@ -3246,17 +3246,17 @@ const Al = /* @__PURE__ */ A({
3246
3246
  r.value = !1, d.value = !1, a("dropdown:hide");
3247
3247
  }, 300);
3248
3248
  }
3249
- function m(E) {
3250
- E.stopPropagation(), d.value = !1, p && clearTimeout(p), c.value = E.target, r.value = !0, a("dropdown:open");
3251
- }
3252
- function S() {
3253
- h(), k();
3249
+ function m(L) {
3250
+ L.stopPropagation(), d.value = !1, p && clearTimeout(p), c.value = L.target, r.value = !0, a("dropdown:open");
3254
3251
  }
3255
3252
  function k() {
3253
+ h(), S();
3254
+ }
3255
+ function S() {
3256
3256
  c.value && c.value.focus();
3257
3257
  }
3258
- function B(E) {
3259
- a("update:modelValue", E), o.closeOnSelect && (h(), k());
3258
+ function V(L) {
3259
+ a("update:modelValue", L), o.closeOnSelect && (h(), S());
3260
3260
  }
3261
3261
  function P() {
3262
3262
  a("dropdown:reset");
@@ -3269,7 +3269,7 @@ const Al = /* @__PURE__ */ A({
3269
3269
  }), t({
3270
3270
  showDropdownList: r,
3271
3271
  generatedId: u
3272
- }), (E, w) => (f(), L(K(Bt), {
3272
+ }), (L, w) => (f(), A(K(Bt), {
3273
3273
  ref_key: "dropdown",
3274
3274
  ref: l,
3275
3275
  options: y,
@@ -3284,13 +3284,13 @@ const Al = /* @__PURE__ */ A({
3284
3284
  "data-testid": "dropdown-trigger",
3285
3285
  onClick: m
3286
3286
  }, [
3287
- _(E.$slots, "dropdown-button", {}, void 0, !0)
3287
+ _(L.$slots, "dropdown-button", {}, void 0, !0)
3288
3288
  ], 512),
3289
3289
  r.value ? (f(), g("div", {
3290
3290
  key: 0,
3291
3291
  ref_key: "list",
3292
3292
  ref: i,
3293
- class: I([
3293
+ class: E([
3294
3294
  "joy-dropdown__list",
3295
3295
  `joy-dropdown__list--${e.justify}`,
3296
3296
  `joy-dropdown__list--${e.direction}`,
@@ -3310,35 +3310,35 @@ const Al = /* @__PURE__ */ A({
3310
3310
  reset: e.reset,
3311
3311
  "reset-label": e.resetLabel,
3312
3312
  "aria-labelled-by": u,
3313
- "onUpdate:modelValue": B,
3314
- "onClose:dropdownList": S,
3313
+ "onUpdate:modelValue": V,
3314
+ "onClose:dropdownList": k,
3315
3315
  onReset: P
3316
3316
  }, Lt({
3317
3317
  label: D((M) => [
3318
- _(E.$slots, "dropdown-item", la(ra(M)), () => [
3318
+ _(L.$slots, "dropdown-item", la(ra(M)), () => [
3319
3319
  b("span", null, R(M.label), 1)
3320
3320
  ], !0)
3321
3321
  ]),
3322
3322
  _: 2
3323
3323
  }, [
3324
- E.$slots["dropdown-header"] ? {
3324
+ L.$slots["dropdown-header"] ? {
3325
3325
  name: "dropdown-list-header",
3326
3326
  fn: D(() => [
3327
- _(E.$slots, "dropdown-header", {}, void 0, !0)
3327
+ _(L.$slots, "dropdown-header", {}, void 0, !0)
3328
3328
  ]),
3329
3329
  key: "0"
3330
3330
  } : void 0,
3331
- E.$slots["dropdown-items"] ? {
3331
+ L.$slots["dropdown-items"] ? {
3332
3332
  name: "dropdown-list-items",
3333
3333
  fn: D(() => [
3334
- _(E.$slots, "dropdown-items", {}, void 0, !0)
3334
+ _(L.$slots, "dropdown-items", {}, void 0, !0)
3335
3335
  ]),
3336
3336
  key: "1"
3337
3337
  } : void 0,
3338
- E.$slots["dropdown-footer"] ? {
3338
+ L.$slots["dropdown-footer"] ? {
3339
3339
  name: "dropdown-list-footer",
3340
3340
  fn: D(() => [
3341
- _(E.$slots, "dropdown-footer", {}, void 0, !0)
3341
+ _(L.$slots, "dropdown-footer", {}, void 0, !0)
3342
3342
  ]),
3343
3343
  key: "2"
3344
3344
  } : void 0
@@ -3348,7 +3348,7 @@ const Al = /* @__PURE__ */ A({
3348
3348
  _: 3
3349
3349
  }, 512));
3350
3350
  }
3351
- }), Cc = /* @__PURE__ */ F(ur, [["__scopeId", "data-v-3b33b526"]]), cr = { class: "joy-dropzone__icon-wrapper" }, dr = /* @__PURE__ */ A({
3351
+ }), jc = /* @__PURE__ */ F(ur, [["__scopeId", "data-v-3b33b526"]]), cr = { class: "joy-dropzone__icon-wrapper" }, dr = /* @__PURE__ */ B({
3352
3352
  __name: "VJoyDropzoneIcon",
3353
3353
  props: {
3354
3354
  name: { type: String, required: !0 }
@@ -3368,7 +3368,7 @@ const Al = /* @__PURE__ */ A({
3368
3368
  }, pr = {
3369
3369
  key: 1,
3370
3370
  class: "joy-dropzone__file__error"
3371
- }, mr = /* @__PURE__ */ A({
3371
+ }, mr = /* @__PURE__ */ B({
3372
3372
  __name: "VJoyDropzoneFileItem",
3373
3373
  props: {
3374
3374
  file: {},
@@ -3379,7 +3379,7 @@ const Al = /* @__PURE__ */ A({
3379
3379
  emits: ["delete", "update"],
3380
3380
  setup(e) {
3381
3381
  const t = ne(), n = e;
3382
- return (a, o) => (f(), L(Ke, {
3382
+ return (a, o) => (f(), A(Ke, {
3383
3383
  "column-gap": "6",
3384
3384
  "row-gap": "4",
3385
3385
  justify: "flex-start",
@@ -3439,7 +3439,7 @@ const Al = /* @__PURE__ */ A({
3439
3439
  }, _r = { class: "joy-dropzone__instruction__text" }, Sr = {
3440
3440
  key: 0,
3441
3441
  class: "joy-dropzone__legend"
3442
- }, kr = /* @__PURE__ */ A({
3442
+ }, kr = /* @__PURE__ */ B({
3443
3443
  __name: "VJoyDropzone",
3444
3444
  props: /* @__PURE__ */ ia({
3445
3445
  name: {},
@@ -3458,8 +3458,8 @@ const Al = /* @__PURE__ */ A({
3458
3458
  emits: ["update:modelValue"],
3459
3459
  setup(e, { expose: t }) {
3460
3460
  const n = ne(), a = e, o = sa(e, "modelValue"), r = C(v(o.value)), l = C(), s = C(), i = C(), { isOverDropZone: c } = fo(s, {
3461
- onDrop: B
3462
- }), d = V(() => o.value.filter((T) => T instanceof File)), u = V(() => a.multiple || d.value.length === 0 ? void 0 : h(d.value[0]));
3461
+ onDrop: V
3462
+ }), d = I(() => o.value.filter((T) => T instanceof File)), u = I(() => a.multiple || d.value.length === 0 ? void 0 : h(d.value[0]));
3463
3463
  function y(T) {
3464
3464
  return a.accept.length > 0 ? a.accept.includes(T.type) : !0;
3465
3465
  }
@@ -3483,15 +3483,15 @@ const Al = /* @__PURE__ */ A({
3483
3483
  function m() {
3484
3484
  l.value = void 0, i.value && i.value.click();
3485
3485
  }
3486
- function S() {
3486
+ function k() {
3487
3487
  i.value && (i.value.value = "");
3488
3488
  }
3489
- function k(T) {
3489
+ function S(T) {
3490
3490
  var O;
3491
3491
  const J = (O = T.target) == null ? void 0 : O.files;
3492
3492
  !J || J.length === 0 || (l.value ? (M(l.value, Array.from(J)), l.value = void 0) : w(Array.from(J)));
3493
3493
  }
3494
- function B(T) {
3494
+ function V(T) {
3495
3495
  !T || T.length === 0 || (l.value = void 0, w(T));
3496
3496
  }
3497
3497
  function P(T) {
@@ -3500,7 +3500,7 @@ const Al = /* @__PURE__ */ A({
3500
3500
  function z(T) {
3501
3501
  r.value = v(T), o.value = T;
3502
3502
  }
3503
- function E(T) {
3503
+ function L(T) {
3504
3504
  z(o.value.filter((J) => J !== T));
3505
3505
  }
3506
3506
  function w(T) {
@@ -3516,7 +3516,7 @@ const Al = /* @__PURE__ */ A({
3516
3516
  return t({
3517
3517
  invalid: r
3518
3518
  }), (T, J) => (f(), g("div", {
3519
- class: I(["joy-dropzone", {
3519
+ class: E(["joy-dropzone", {
3520
3520
  "joy-dropzone--dragover": K(c),
3521
3521
  "joy-dropzone--invalid": r.value,
3522
3522
  "joy-dropzone--empty": o.value.length === 0
@@ -3535,22 +3535,22 @@ const Al = /* @__PURE__ */ A({
3535
3535
  accept: T.accept.join(","),
3536
3536
  multiple: T.multiple,
3537
3537
  tabindex: "-1",
3538
- onChange: k,
3539
- onClick: S
3538
+ onChange: S,
3539
+ onClick: k
3540
3540
  }, null, 40, br),
3541
3541
  b("label", {
3542
3542
  for: T.name,
3543
3543
  class: "joy-dropzone__label"
3544
3544
  }, [
3545
3545
  o.value.length > 0 ? (f(), g("div", wr, [
3546
- (f(!0), g(Z, null, te(o.value, (O, j) => (f(), L(hr, {
3546
+ (f(!0), g(Z, null, te(o.value, (O, j) => (f(), A(hr, {
3547
3547
  key: `${O.name}_${j}`,
3548
3548
  file: O,
3549
3549
  error: T.multiple ? h(O) : void 0,
3550
3550
  "update-label": T.updateLabel,
3551
3551
  "delete-label": T.deleteLabel,
3552
3552
  onUpdate: (x) => P(O),
3553
- onDelete: (x) => E(O)
3553
+ onDelete: (x) => L(O)
3554
3554
  }, Lt({ _: 2 }, [
3555
3555
  n["file-information"] ? {
3556
3556
  name: "information",
@@ -3568,7 +3568,7 @@ const Al = /* @__PURE__ */ A({
3568
3568
  } : void 0
3569
3569
  ]), 1032, ["file", "error", "update-label", "delete-label", "onUpdate", "onDelete"]))), 128))
3570
3570
  ])) : $("", !0),
3571
- o.value.length === 0 || T.multiple ? (f(), L(Ke, {
3571
+ o.value.length === 0 || T.multiple ? (f(), A(Ke, {
3572
3572
  key: 1,
3573
3573
  wrap: "nowrap",
3574
3574
  "no-margin": "",
@@ -3593,14 +3593,14 @@ const Al = /* @__PURE__ */ A({
3593
3593
  n["dropzone-legend"] ? (f(), g("div", Sr, [
3594
3594
  _(T.$slots, "dropzone-legend", {}, void 0, !0)
3595
3595
  ])) : $("", !0),
3596
- u.value ? (f(), L(Ft, {
3596
+ u.value ? (f(), A(Ft, {
3597
3597
  key: 1,
3598
3598
  "no-html-error-text": u.value,
3599
3599
  class: "joy-dropzone__error"
3600
3600
  }, null, 8, ["no-html-error-text"])) : $("", !0)
3601
3601
  ], 2));
3602
3602
  }
3603
- }), xc = /* @__PURE__ */ F(kr, [["__scopeId", "data-v-ee77e9fc"]]), $r = ["aria-label"], jr = { class: "joy-filter-bar__wrapper" }, Cr = /* @__PURE__ */ A({
3603
+ }), Cc = /* @__PURE__ */ F(kr, [["__scopeId", "data-v-ee77e9fc"]]), $r = ["aria-label"], jr = { class: "joy-filter-bar__wrapper" }, Cr = /* @__PURE__ */ B({
3604
3604
  __name: "VJoyFilterBar",
3605
3605
  props: {
3606
3606
  /** To give a label to the whole component */
@@ -3617,7 +3617,7 @@ const Al = /* @__PURE__ */ A({
3617
3617
  ])
3618
3618
  ], 8, $r));
3619
3619
  }
3620
- }), Tc = /* @__PURE__ */ F(Cr, [["__scopeId", "data-v-cb769d05"]]), xr = /* @__PURE__ */ A({
3620
+ }), xc = /* @__PURE__ */ F(Cr, [["__scopeId", "data-v-cb769d05"]]), xr = /* @__PURE__ */ B({
3621
3621
  __name: "VJoyFilterBarButton",
3622
3622
  props: {
3623
3623
  /** Label to inject inside the button */
@@ -3640,12 +3640,12 @@ const Al = /* @__PURE__ */ A({
3640
3640
  }
3641
3641
  return (l, s) => (f(), g("button", {
3642
3642
  type: "button",
3643
- class: I(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3643
+ class: E(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3644
3644
  onClick: r
3645
3645
  }, [
3646
3646
  H(R(e.label) + " ", 1),
3647
3647
  _(l.$slots, "default", {}, void 0, !0),
3648
- K(o) ? (f(), L(X, {
3648
+ K(o) ? (f(), A(X, {
3649
3649
  key: 0,
3650
3650
  class: "joy-filter-bar-button__icon",
3651
3651
  name: "chevron-down",
@@ -3654,7 +3654,7 @@ const Al = /* @__PURE__ */ A({
3654
3654
  })) : $("", !0)
3655
3655
  ], 2));
3656
3656
  }
3657
- }), Vc = /* @__PURE__ */ F(xr, [["__scopeId", "data-v-44f9dbfc"]]), Tr = { class: "joy-footer" }, Vr = { class: "joy-footer__left" }, Ir = { class: "joy-footer__right" }, Er = /* @__PURE__ */ A({
3657
+ }), Tc = /* @__PURE__ */ F(xr, [["__scopeId", "data-v-44f9dbfc"]]), Tr = { class: "joy-footer" }, Vr = { class: "joy-footer__left" }, Ir = { class: "joy-footer__right" }, Er = /* @__PURE__ */ B({
3658
3658
  __name: "VJoyFooter",
3659
3659
  setup(e) {
3660
3660
  return (t, n) => (f(), g("footer", Tr, [
@@ -3666,7 +3666,7 @@ const Al = /* @__PURE__ */ A({
3666
3666
  ])
3667
3667
  ]));
3668
3668
  }
3669
- }), Ic = /* @__PURE__ */ F(Er, [["__scopeId", "data-v-e1cd31ef"]]), Lr = /* @__PURE__ */ A({
3669
+ }), Vc = /* @__PURE__ */ F(Er, [["__scopeId", "data-v-e1cd31ef"]]), Lr = /* @__PURE__ */ B({
3670
3670
  __name: "VJoyFormFieldSkeleton",
3671
3671
  props: {
3672
3672
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3686,7 +3686,7 @@ const Al = /* @__PURE__ */ A({
3686
3686
  }
3687
3687
  },
3688
3688
  setup(e, { expose: t }) {
3689
- const n = e, a = De("VJoyWrapperContext", {}), o = V(() => {
3689
+ const n = e, a = De("VJoyWrapperContext", {}), o = I(() => {
3690
3690
  const r = a.direction === "column" ? "auto" : null;
3691
3691
  if (!n.width && n.flex === "1") {
3692
3692
  const i = ["1", "0"];
@@ -3697,16 +3697,16 @@ const Al = /* @__PURE__ */ A({
3697
3697
  });
3698
3698
  return t({ flexStyle: o }), (r, l) => (f(), g("div", {
3699
3699
  "aria-hidden": "true",
3700
- class: I(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3700
+ class: E(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3701
3701
  style: se({
3702
3702
  "max-width": e.width,
3703
3703
  flex: o.value
3704
3704
  })
3705
3705
  }, null, 6));
3706
3706
  }
3707
- }), Ec = /* @__PURE__ */ F(Lr, [["__scopeId", "data-v-235a3b9e"]]), Ar = { class: "joy-funnel__header" }, Br = { class: "funnel__header__inner" }, Fr = { class: "joy-funnel__stepper" }, Nr = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-ef6c5019><div class="shape_1" data-v-ef6c5019></div><div class="shape_2" data-v-ef6c5019></div><div class="shape_3" data-v-ef6c5019></div><div class="shape_4" data-v-ef6c5019></div></div>', 1), zr = [
3707
+ }), Ic = /* @__PURE__ */ F(Lr, [["__scopeId", "data-v-235a3b9e"]]), Ar = { class: "joy-funnel__header" }, Br = { class: "funnel__header__inner" }, Fr = { class: "joy-funnel__stepper" }, Nr = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-ef6c5019><div class="shape_1" data-v-ef6c5019></div><div class="shape_2" data-v-ef6c5019></div><div class="shape_3" data-v-ef6c5019></div><div class="shape_4" data-v-ef6c5019></div></div>', 1), zr = [
3708
3708
  Nr
3709
- ], Pr = { class: "joy-funnel__footer" }, Or = /* @__PURE__ */ A({
3709
+ ], Pr = { class: "joy-funnel__footer" }, Or = /* @__PURE__ */ B({
3710
3710
  __name: "VJoyFunnel",
3711
3711
  props: {
3712
3712
  /**
@@ -3731,13 +3731,13 @@ const Al = /* @__PURE__ */ A({
3731
3731
  const i = s.currentTarget;
3732
3732
  n.value = i.scrollTop === 0;
3733
3733
  }
3734
- const r = V(() => !!a["funnel-stepper"]), l = V(() => a["funnel-footer"] ? a["funnel-footer"]().length > 0 : !1);
3734
+ const r = I(() => !!a["funnel-stepper"]), l = I(() => a["funnel-footer"] ? a["funnel-footer"]().length > 0 : !1);
3735
3735
  return t({
3736
3736
  scrollOnTop: n,
3737
3737
  hasStepperSlot: r,
3738
3738
  hasFooterSlot: l
3739
3739
  }), (s, i) => (f(), g("div", {
3740
- class: I([
3740
+ class: E([
3741
3741
  "joy-funnel",
3742
3742
  {
3743
3743
  "joy-funnel--no-border": n.value,
@@ -3755,7 +3755,7 @@ const Al = /* @__PURE__ */ A({
3755
3755
  ]),
3756
3756
  e.hideShapes ? $("", !0) : (f(), g("div", {
3757
3757
  key: 0,
3758
- class: I([
3758
+ class: E([
3759
3759
  "joy-funnel__shapes",
3760
3760
  {
3761
3761
  "joy-funnel__shapes--strategy": e.profile === "strategy",
@@ -3768,7 +3768,7 @@ const Al = /* @__PURE__ */ A({
3768
3768
  onScroll: o
3769
3769
  }, [
3770
3770
  b("div", {
3771
- class: I(["joy-funnel__content", { "joy-funnel__content--medium": e.layoutWidth === "medium" }])
3771
+ class: E(["joy-funnel__content", { "joy-funnel__content--medium": e.layoutWidth === "medium" }])
3772
3772
  }, [
3773
3773
  _(s.$slots, "default", {}, void 0, !0)
3774
3774
  ], 2)
@@ -3778,7 +3778,7 @@ const Al = /* @__PURE__ */ A({
3778
3778
  ])
3779
3779
  ], 2));
3780
3780
  }
3781
- }), Lc = /* @__PURE__ */ F(Or, [["__scopeId", "data-v-ef6c5019"]]), Dr = { class: "joy-funnel-footer" }, Rr = { class: "joy-funnel-footer__left" }, Mr = { class: "joy-funnel-footer__right" }, Jr = /* @__PURE__ */ A({
3781
+ }), Ec = /* @__PURE__ */ F(Or, [["__scopeId", "data-v-ef6c5019"]]), Dr = { class: "joy-funnel-footer" }, Rr = { class: "joy-funnel-footer__left" }, Mr = { class: "joy-funnel-footer__right" }, Jr = /* @__PURE__ */ B({
3782
3782
  __name: "VJoyFunnelFooter",
3783
3783
  setup(e) {
3784
3784
  return (t, n) => (f(), g("footer", Dr, [
@@ -3790,7 +3790,7 @@ const Al = /* @__PURE__ */ A({
3790
3790
  ])
3791
3791
  ]));
3792
3792
  }
3793
- }), Ac = /* @__PURE__ */ F(Jr, [["__scopeId", "data-v-bdeeb2bd"]]), qr = { class: "joy-header" }, Hr = { class: "joy-header__left" }, Wr = { class: "joy-header__right" }, Ur = /* @__PURE__ */ A({
3793
+ }), Lc = /* @__PURE__ */ F(Jr, [["__scopeId", "data-v-bdeeb2bd"]]), qr = { class: "joy-header" }, Hr = { class: "joy-header__left" }, Wr = { class: "joy-header__right" }, Ur = /* @__PURE__ */ B({
3794
3794
  __name: "VJoyHeader",
3795
3795
  setup(e) {
3796
3796
  return (t, n) => (f(), g("header", qr, [
@@ -3802,7 +3802,7 @@ const Al = /* @__PURE__ */ A({
3802
3802
  ])
3803
3803
  ]));
3804
3804
  }
3805
- }), Bc = /* @__PURE__ */ F(Ur, [["__scopeId", "data-v-7928856e"]]), Kr = { class: "joy-highlight__decorator" }, Gr = { class: "joy-highlight__text" }, Yr = { key: 0 }, Zr = /* @__PURE__ */ A({
3805
+ }), Ac = /* @__PURE__ */ F(Ur, [["__scopeId", "data-v-7928856e"]]), Kr = { class: "joy-highlight__decorator" }, Gr = { class: "joy-highlight__text" }, Yr = { key: 0 }, Zr = /* @__PURE__ */ B({
3806
3806
  __name: "VJoyHighlight",
3807
3807
  props: {
3808
3808
  accent: {
@@ -3829,11 +3829,11 @@ const Al = /* @__PURE__ */ A({
3829
3829
  }
3830
3830
  },
3831
3831
  setup(e, { expose: t }) {
3832
- const n = e, a = V(() => n.icon ? n.icon : pn(n.level));
3832
+ const n = e, a = I(() => n.icon ? n.icon : pn(n.level));
3833
3833
  return t({
3834
3834
  getRelevantIcon: a
3835
3835
  }), (o, r) => (f(), g("div", {
3836
- class: I([
3836
+ class: E([
3837
3837
  "joy-highlight",
3838
3838
  `joy-highlight_${e.level}`,
3839
3839
  `joy-highlight_${e.variant}`,
@@ -3845,7 +3845,7 @@ const Al = /* @__PURE__ */ A({
3845
3845
  }, [
3846
3846
  b("div", Kr, [
3847
3847
  _(o.$slots, "highlight-decorator", {}, () => [
3848
- e.displayIcon ? (f(), L(X, {
3848
+ e.displayIcon ? (f(), A(X, {
3849
3849
  key: 0,
3850
3850
  name: a.value
3851
3851
  }, null, 8, ["name"])) : $("", !0)
@@ -3859,7 +3859,7 @@ const Al = /* @__PURE__ */ A({
3859
3859
  ])
3860
3860
  ], 2));
3861
3861
  }
3862
- }), Fc = /* @__PURE__ */ F(Zr, [["__scopeId", "data-v-53c18803"]]), Xr = ["aria-label"], Qr = /* @__PURE__ */ A({
3862
+ }), Bc = /* @__PURE__ */ F(Zr, [["__scopeId", "data-v-53c18803"]]), Xr = ["aria-label"], Qr = /* @__PURE__ */ B({
3863
3863
  __name: "VJoyIndicator",
3864
3864
  props: {
3865
3865
  /** Value is used for the parent v-model. Mandatory */
@@ -3883,16 +3883,16 @@ const Al = /* @__PURE__ */ A({
3883
3883
  },
3884
3884
  setup(e) {
3885
3885
  return (t, n) => (f(), g("li", {
3886
- class: I(["joy-indicator", `joy-indicator--${e.variant}`, { "joy-indicator--selected": e.selected }])
3886
+ class: E(["joy-indicator", `joy-indicator--${e.variant}`, { "joy-indicator--selected": e.selected }])
3887
3887
  }, [
3888
3888
  b("button", {
3889
3889
  type: "button",
3890
- class: I(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3890
+ class: E(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3891
3891
  "aria-label": e.ariaLabel || e.value.toString()
3892
3892
  }, null, 10, Xr)
3893
3893
  ], 2));
3894
3894
  }
3895
- }), ei = /* @__PURE__ */ F(Qr, [["__scopeId", "data-v-2babb982"]]), ti = /* @__PURE__ */ A({
3895
+ }), ei = /* @__PURE__ */ F(Qr, [["__scopeId", "data-v-2babb982"]]), ti = /* @__PURE__ */ B({
3896
3896
  __name: "VJoyIndicators",
3897
3897
  props: {
3898
3898
  variant: {
@@ -3905,7 +3905,7 @@ const Al = /* @__PURE__ */ A({
3905
3905
  },
3906
3906
  emits: ["update:modelValue"],
3907
3907
  setup(e, { expose: t, emit: n }) {
3908
- const a = e, o = n, r = ne(), l = C(a.modelValue), s = V(() => {
3908
+ const a = e, o = n, r = ne(), l = C(a.modelValue), s = I(() => {
3909
3909
  const u = r.default();
3910
3910
  return u.length === 1 && typeof u[0].type != "object" ? u[0].children.filter(c) : u.filter(c);
3911
3911
  });
@@ -3928,9 +3928,9 @@ const Al = /* @__PURE__ */ A({
3928
3928
  indicators: s,
3929
3929
  isSelected: i
3930
3930
  }), (u, y) => (f(), g("ul", {
3931
- class: I(["joy-indicators", `joy-indicators--${e.variant}`])
3931
+ class: E(["joy-indicators", `joy-indicators--${e.variant}`])
3932
3932
  }, [
3933
- (f(!0), g(Z, null, te(s.value, (p) => (f(), L(ei, ee({
3933
+ (f(!0), g(Z, null, te(s.value, (p) => (f(), A(ei, ee({
3934
3934
  key: p.props.value,
3935
3935
  ref_for: !0
3936
3936
  }, { ...p.props, variant: e.variant }, {
@@ -3939,7 +3939,7 @@ const Al = /* @__PURE__ */ A({
3939
3939
  }), null, 16, ["selected", "onClick"]))), 128))
3940
3940
  ], 2));
3941
3941
  }
3942
- }), Nc = /* @__PURE__ */ F(ti, [["__scopeId", "data-v-f2dd63e9"]]), ni = ["id", "name", "required", "disabled", "readonly", "type", "value"], ai = ["data-unit"], oi = /* @__PURE__ */ A({
3942
+ }), Fc = /* @__PURE__ */ F(ti, [["__scopeId", "data-v-f2dd63e9"]]), ni = ["id", "name", "required", "disabled", "readonly", "type", "value"], ai = ["data-unit"], oi = /* @__PURE__ */ B({
3943
3943
  inheritAttrs: !1,
3944
3944
  __name: "VJoyInput",
3945
3945
  props: {
@@ -4017,48 +4017,48 @@ const Al = /* @__PURE__ */ A({
4017
4017
  setup(e, { expose: t, emit: n }) {
4018
4018
  const a = n, o = e, r = De("VJoyWrapperContext", {}), l = C(), s = C(), i = Ee(), c = ne(), d = C(!1), u = C(!1);
4019
4019
  Nt(l, o.autofocus);
4020
- const y = V(() => typeof o.modelValue == "number" || !o.clearable || o.unit || !o.modelValue ? !1 : o.modelValue.length > 0 && !o.unit), p = V(() => c.default && c.default()), v = V(() => Object.keys(r).length > 0), h = C(o.type), m = V(() => o.type === "password" && !!o.modelValue);
4020
+ const y = I(() => typeof o.modelValue == "number" || !o.clearable || o.unit || !o.modelValue ? !1 : o.modelValue.length > 0 && !o.unit), p = I(() => c.default && c.default()), v = I(() => Object.keys(r).length > 0), h = C(o.type), m = I(() => o.type === "password" && !!o.modelValue);
4021
4021
  ua(() => {
4022
4022
  h.value = o.unit ? "number" : o.type;
4023
4023
  });
4024
- function S() {
4025
- var B;
4026
- o.readonly || (B = l.value) == null || B.focus();
4024
+ function k() {
4025
+ var V;
4026
+ o.readonly || (V = l.value) == null || V.focus();
4027
4027
  }
4028
- const k = {
4028
+ const S = {
4029
4029
  onFocus: () => {
4030
4030
  o.readonly || (d.value = !0);
4031
4031
  },
4032
4032
  onBlur: () => {
4033
4033
  d.value = !1;
4034
4034
  },
4035
- onWheelScroll(B) {
4036
- B.preventDefault();
4035
+ onWheelScroll(V) {
4036
+ V.preventDefault();
4037
4037
  },
4038
- onInput: (B) => {
4039
- let P = B.target.value;
4038
+ onInput: (V) => {
4039
+ let P = V.target.value;
4040
4040
  o.modelModifiers.lazy || a("update:modelValue", P);
4041
4041
  },
4042
- onChange: (B) => {
4043
- let P = B.target.value;
4042
+ onChange: (V) => {
4043
+ let P = V.target.value;
4044
4044
  o.modelModifiers.lazy && a("update:modelValue", P);
4045
4045
  },
4046
4046
  clearValue: () => {
4047
4047
  o.disabled || a("update:modelValue", "");
4048
4048
  },
4049
- togglePassword: (B) => {
4050
- B.preventDefault(), u.value = !u.value, u.value ? h.value = "text" : h.value = "password";
4049
+ togglePassword: (V) => {
4050
+ V.preventDefault(), u.value = !u.value, u.value ? h.value = "text" : h.value = "password";
4051
4051
  }
4052
4052
  };
4053
4053
  return t({
4054
- focus: S
4055
- }), (B, P) => (f(), g("div", {
4054
+ focus: k
4055
+ }), (V, P) => (f(), g("div", {
4056
4056
  ref_key: "root",
4057
4057
  ref: s,
4058
- class: I([`joy-input--${o.size}`])
4058
+ class: E([`joy-input--${o.size}`])
4059
4059
  }, [
4060
4060
  b("div", {
4061
- class: I([
4061
+ class: E([
4062
4062
  "joy-input",
4063
4063
  {
4064
4064
  "joy-input--focusing": d.value,
@@ -4069,7 +4069,7 @@ const Al = /* @__PURE__ */ A({
4069
4069
  }
4070
4070
  ])
4071
4071
  }, [
4072
- p.value || e.label ? (f(), L(Le, {
4072
+ p.value || e.label ? (f(), A(Le, {
4073
4073
  key: 0,
4074
4074
  for: e.id || e.name,
4075
4075
  required: e.required && e.requiredMark,
@@ -4077,14 +4077,14 @@ const Al = /* @__PURE__ */ A({
4077
4077
  size: e.labelSize
4078
4078
  }, {
4079
4079
  default: D(() => [
4080
- _(B.$slots, "default", {}, () => [
4080
+ _(V.$slots, "default", {}, () => [
4081
4081
  H(R(e.label), 1)
4082
4082
  ], !0)
4083
4083
  ]),
4084
4084
  _: 3
4085
4085
  }, 8, ["for", "required", "optional-label", "size"])) : $("", !0),
4086
4086
  b("div", {
4087
- class: I([
4087
+ class: E([
4088
4088
  "joy-input--wrapper",
4089
4089
  {
4090
4090
  "joy-input--wrapper-has-icon": !!e.icon,
@@ -4094,7 +4094,7 @@ const Al = /* @__PURE__ */ A({
4094
4094
  }
4095
4095
  ])
4096
4096
  }, [
4097
- b("input", ee(B.$attrs, {
4097
+ b("input", ee(V.$attrs, {
4098
4098
  id: e.id || e.name,
4099
4099
  ref_key: "input",
4100
4100
  ref: l,
@@ -4111,32 +4111,32 @@ const Al = /* @__PURE__ */ A({
4111
4111
  type: h.value,
4112
4112
  value: e.modelValue,
4113
4113
  onFocus: P[0] || (P[0] = //@ts-ignore
4114
- (...z) => k.onFocus && k.onFocus(...z)),
4114
+ (...z) => S.onFocus && S.onFocus(...z)),
4115
4115
  onBlur: P[1] || (P[1] = //@ts-ignore
4116
- (...z) => k.onBlur && k.onBlur(...z)),
4116
+ (...z) => S.onBlur && S.onBlur(...z)),
4117
4117
  onInput: P[2] || (P[2] = //@ts-ignore
4118
- (...z) => k.onInput && k.onInput(...z)),
4118
+ (...z) => S.onInput && S.onInput(...z)),
4119
4119
  onChange: P[3] || (P[3] = //@ts-ignore
4120
- (...z) => k.onChange && k.onChange(...z)),
4120
+ (...z) => S.onChange && S.onChange(...z)),
4121
4121
  onWheel: P[4] || (P[4] = //@ts-ignore
4122
- (...z) => k.onWheelScroll && k.onWheelScroll(...z))
4122
+ (...z) => S.onWheelScroll && S.onWheelScroll(...z))
4123
4123
  }), null, 16, ni),
4124
- y.value ? (f(), L(ue, {
4124
+ y.value ? (f(), A(ue, {
4125
4125
  key: 0,
4126
4126
  class: "joy-input--clear",
4127
4127
  circle: "",
4128
4128
  variant: "ghost",
4129
4129
  size: "xxsmall",
4130
4130
  icon: "cross",
4131
- onClick: k.clearValue
4131
+ onClick: S.clearValue
4132
4132
  }, null, 8, ["onClick"])) : $("", !0),
4133
- m.value ? (f(), L(X, {
4133
+ m.value ? (f(), A(X, {
4134
4134
  key: 1,
4135
4135
  class: "joy-input--password-icon",
4136
4136
  name: u.value ? "eye-masked" : "eye",
4137
- onClick: k.togglePassword
4137
+ onClick: S.togglePassword
4138
4138
  }, null, 8, ["name", "onClick"])) : $("", !0),
4139
- e.icon ? (f(), L(X, {
4139
+ e.icon ? (f(), A(X, {
4140
4140
  key: 2,
4141
4141
  class: "joy-input--decorative-icon",
4142
4142
  name: e.icon
@@ -4150,7 +4150,7 @@ const Al = /* @__PURE__ */ A({
4150
4150
  ], 2)
4151
4151
  ], 2));
4152
4152
  }
4153
- }), zc = /* @__PURE__ */ F(oi, [["__scopeId", "data-v-d3a103e3"]]), li = ["href"], ri = /* @__PURE__ */ A({
4153
+ }), Nc = /* @__PURE__ */ F(oi, [["__scopeId", "data-v-d3a103e3"]]), li = ["href"], ri = /* @__PURE__ */ B({
4154
4154
  __name: "VJoyLink",
4155
4155
  props: {
4156
4156
  href: {
@@ -4168,7 +4168,7 @@ const Al = /* @__PURE__ */ A({
4168
4168
  return (t, n) => (f(), g("a", ee({ href: e.href }, t.$attrs, {
4169
4169
  class: ["joy-link", `joy-link_${e.color}`]
4170
4170
  }), [
4171
- e.icon ? (f(), L(X, {
4171
+ e.icon ? (f(), A(X, {
4172
4172
  key: 0,
4173
4173
  name: e.icon
4174
4174
  }, null, 8, ["name"])) : $("", !0),
@@ -4177,7 +4177,7 @@ const Al = /* @__PURE__ */ A({
4177
4177
  ], !0)
4178
4178
  ], 16, li));
4179
4179
  }
4180
- }), Pc = /* @__PURE__ */ F(ri, [["__scopeId", "data-v-8dcab8fb"]]), ii = ["tabindex", "aria-activedescendant", "aria-label"], si = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ui = { "aria-hidden": "true" }, ci = /* @__PURE__ */ A({
4180
+ }), zc = /* @__PURE__ */ F(ri, [["__scopeId", "data-v-8dcab8fb"]]), ii = ["tabindex", "aria-activedescendant", "aria-label"], si = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ui = { "aria-hidden": "true" }, ci = /* @__PURE__ */ B({
4181
4181
  __name: "VJoyMenu",
4182
4182
  props: {
4183
4183
  /**
@@ -4247,7 +4247,7 @@ const Al = /* @__PURE__ */ A({
4247
4247
  (f(!0), g(Z, null, te(e.items, (v) => (f(), g("li", {
4248
4248
  id: c(v),
4249
4249
  key: v.label,
4250
- class: I([
4250
+ class: E([
4251
4251
  "joy-menu-list__item",
4252
4252
  {
4253
4253
  "joy-menu-list__item--current": v.current,
@@ -4265,7 +4265,7 @@ const Al = /* @__PURE__ */ A({
4265
4265
  }, [
4266
4266
  b("div", ui, [
4267
4267
  _(y.$slots, "menu-item", ee({ ref_for: !0 }, v), () => [
4268
- v.icon ? (f(), L(X, {
4268
+ v.icon ? (f(), A(X, {
4269
4269
  key: 0,
4270
4270
  name: v.icon
4271
4271
  }, null, 8, ["name"])) : $("", !0),
@@ -4275,9 +4275,9 @@ const Al = /* @__PURE__ */ A({
4275
4275
  ], 42, si))), 128))
4276
4276
  ], 40, ii));
4277
4277
  }
4278
- }), Oc = /* @__PURE__ */ F(ci, [["__scopeId", "data-v-782c4573"]]), di = ["id"], fi = {
4279
- class: /* @__PURE__ */ I(["joy-multi-checkbox"])
4280
- }, vi = /* @__PURE__ */ A({
4278
+ }), Pc = /* @__PURE__ */ F(ci, [["__scopeId", "data-v-782c4573"]]), di = ["id"], fi = {
4279
+ class: /* @__PURE__ */ E(["joy-multi-checkbox"])
4280
+ }, vi = /* @__PURE__ */ B({
4281
4281
  __name: "VJoyMultiCheckbox",
4282
4282
  props: {
4283
4283
  /** To render the list of checkboxes you have to use this property. See "Controls" for object model */
@@ -4327,7 +4327,7 @@ const Al = /* @__PURE__ */ A({
4327
4327
  id: e.id,
4328
4328
  class: "joy-multi-checkbox__wrapper"
4329
4329
  }, [
4330
- e.label ? (f(), L(Le, {
4330
+ e.label ? (f(), A(Le, {
4331
4331
  key: 0,
4332
4332
  "tag-name": "legend",
4333
4333
  required: e.required && e.requiredMark,
@@ -4340,7 +4340,7 @@ const Al = /* @__PURE__ */ A({
4340
4340
  _: 1
4341
4341
  }, 8, ["required", "optional-label", "size"])) : $("", !0),
4342
4342
  b("div", fi, [
4343
- (f(!0), g(Z, null, te(e.options, (i) => (f(), L(wn, {
4343
+ (f(!0), g(Z, null, te(e.options, (i) => (f(), A(wn, {
4344
4344
  id: i.id,
4345
4345
  key: i.id,
4346
4346
  name: i.name,
@@ -4358,7 +4358,7 @@ const Al = /* @__PURE__ */ A({
4358
4358
  ])
4359
4359
  ], 8, di));
4360
4360
  }
4361
- }), Dc = /* @__PURE__ */ F(vi, [["__scopeId", "data-v-04da9dc2"]]), nn = /* @__PURE__ */ A({
4361
+ }), Oc = /* @__PURE__ */ F(vi, [["__scopeId", "data-v-04da9dc2"]]), nn = /* @__PURE__ */ B({
4362
4362
  __name: "PaginationIcon",
4363
4363
  props: {
4364
4364
  label: {
@@ -4376,7 +4376,7 @@ const Al = /* @__PURE__ */ A({
4376
4376
  },
4377
4377
  emits: ["click"],
4378
4378
  setup(e) {
4379
- return (t, n) => (f(), L(ue, {
4379
+ return (t, n) => (f(), A(ue, {
4380
4380
  class: "joy-pagination__icon",
4381
4381
  label: e.label,
4382
4382
  title: e.label,
@@ -4389,7 +4389,7 @@ const Al = /* @__PURE__ */ A({
4389
4389
  onClick: n[0] || (n[0] = (a) => t.$emit("click"))
4390
4390
  }, null, 8, ["label", "title", "icon", "disabled"]));
4391
4391
  }
4392
- }), yi = ["aria-label", "data-current"], pi = ["onClick"], mi = ["aria-current"], hi = 6, bi = /* @__PURE__ */ A({
4392
+ }), yi = ["aria-label", "data-current"], pi = ["onClick"], mi = ["aria-current"], hi = 6, bi = /* @__PURE__ */ B({
4393
4393
  __name: "VJoyPagination",
4394
4394
  props: {
4395
4395
  /** Current page number */
@@ -4420,10 +4420,10 @@ const Al = /* @__PURE__ */ A({
4420
4420
  },
4421
4421
  emits: ["update:current-page"],
4422
4422
  setup(e, { emit: t }) {
4423
- const n = e, a = t, o = V(() => {
4423
+ const n = e, a = t, o = I(() => {
4424
4424
  const d = l.value.length;
4425
4425
  return l.value[d - 1] !== l.value[d - 2] + 1;
4426
- }), r = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < hi ? i(2, n.totalPages - 1) : c(n.currentPage));
4426
+ }), r = I(() => l.value[0] !== l.value[1] - 1), l = I(() => n.totalPages === 1 ? [1] : n.totalPages < hi ? i(2, n.totalPages - 1) : c(n.currentPage));
4427
4427
  function s(d, u) {
4428
4428
  n.currentPage === 1 && u === "prev" || n.currentPage === n.totalPages && u === "next" || a("update:current-page", d);
4429
4429
  }
@@ -4460,7 +4460,7 @@ const Al = /* @__PURE__ */ A({
4460
4460
  b("ul", null, [
4461
4461
  (f(!0), g(Z, null, te(l.value, (y) => (f(), g("li", {
4462
4462
  key: y,
4463
- class: I({
4463
+ class: E({
4464
4464
  "joy-pagination__item": !0,
4465
4465
  "joy-pagination__page": !0,
4466
4466
  current: y === e.currentPage,
@@ -4493,10 +4493,10 @@ const Al = /* @__PURE__ */ A({
4493
4493
  ])
4494
4494
  ], 8, yi));
4495
4495
  }
4496
- }), Rc = /* @__PURE__ */ F(bi, [["__scopeId", "data-v-7e82041f"]]), gi = { class: "joy-screen-loader__content" }, wi = {
4496
+ }), Dc = /* @__PURE__ */ F(bi, [["__scopeId", "data-v-7e82041f"]]), gi = { class: "joy-screen-loader__content" }, wi = {
4497
4497
  key: 0,
4498
4498
  class: "joy-screen-loader__content"
4499
- }, _i = /* @__PURE__ */ A({
4499
+ }, _i = /* @__PURE__ */ B({
4500
4500
  __name: "VJoyScreenLoader",
4501
4501
  props: {
4502
4502
  /** Light or dark. Changes the spinner and background color */
@@ -4512,7 +4512,7 @@ const Al = /* @__PURE__ */ A({
4512
4512
  },
4513
4513
  setup(e) {
4514
4514
  return (t, n) => (f(), g("div", {
4515
- class: I(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4515
+ class: E(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4516
4516
  }, [
4517
4517
  b("div", gi, [
4518
4518
  _(t.$slots, "spinner", {}, () => [
@@ -4528,7 +4528,7 @@ const Al = /* @__PURE__ */ A({
4528
4528
  }
4529
4529
  }), In = /* @__PURE__ */ F(_i, [["__scopeId", "data-v-266b7e2a"]]), Si = {
4530
4530
  key: 0,
4531
- class: /* @__PURE__ */ I(["joy-panel__header"])
4531
+ class: /* @__PURE__ */ E(["joy-panel__header"])
4532
4532
  }, ki = {
4533
4533
  key: 1,
4534
4534
  class: "joy-panel__header-action"
@@ -4538,7 +4538,7 @@ const Al = /* @__PURE__ */ A({
4538
4538
  }, ji = { class: "joy-panel__body" }, Ci = {
4539
4539
  key: 1,
4540
4540
  class: "joy-panel__footer"
4541
- }, xi = /* @__PURE__ */ A({
4541
+ }, xi = /* @__PURE__ */ B({
4542
4542
  __name: "VJoyPanel",
4543
4543
  props: {
4544
4544
  flex: {
@@ -4570,12 +4570,12 @@ const Al = /* @__PURE__ */ A({
4570
4570
  }
4571
4571
  },
4572
4572
  setup(e) {
4573
- const t = De("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = ne(), o = C(), r = V(() => !!a["panel-title"] || !!a["panel-subtitle"] || !!a["panel-title-action"]);
4573
+ const t = De("VJoyWrapperContext", {}), n = I(() => Object.keys(t).length > 0), a = ne(), o = C(), r = I(() => !!a["panel-title"] || !!a["panel-subtitle"] || !!a["panel-title-action"]);
4574
4574
  return (l, s) => (f(), g("section", {
4575
4575
  ref_key: "panel",
4576
4576
  ref: o,
4577
4577
  style: se({ flex: e.flex }),
4578
- class: I([
4578
+ class: E([
4579
4579
  "joy-panel",
4580
4580
  `joy-panel--${e.padding}`,
4581
4581
  `joy-panel--${e.variant}`,
@@ -4588,7 +4588,7 @@ const Al = /* @__PURE__ */ A({
4588
4588
  r.value ? (f(), g("header", Si, [
4589
4589
  a["panel-title"] ? (f(), g("div", {
4590
4590
  key: 0,
4591
- class: I(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4591
+ class: E(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4592
4592
  }, [
4593
4593
  _(l.$slots, "panel-title", {}, void 0, !0)
4594
4594
  ], 2)) : $("", !0),
@@ -4605,7 +4605,7 @@ const Al = /* @__PURE__ */ A({
4605
4605
  a["panel-action"] ? (f(), g("footer", Ci, [
4606
4606
  _(l.$slots, "panel-action", {}, void 0, !0)
4607
4607
  ])) : $("", !0),
4608
- e.loading ? (f(), L(In, {
4608
+ e.loading ? (f(), A(In, {
4609
4609
  key: 2,
4610
4610
  overlay: "",
4611
4611
  color: e.loadingColor
@@ -4617,13 +4617,13 @@ const Al = /* @__PURE__ */ A({
4617
4617
  }, 8, ["color"])) : $("", !0)
4618
4618
  ], 6));
4619
4619
  }
4620
- }), Mc = /* @__PURE__ */ F(xi, [["__scopeId", "data-v-bf00f207"]]), Ti = { class: "joy-panel-section" }, Vi = {
4620
+ }), Rc = /* @__PURE__ */ F(xi, [["__scopeId", "data-v-bf00f207"]]), Ti = { class: "joy-panel-section" }, Vi = {
4621
4621
  key: 0,
4622
4622
  class: "joy-panel-section__title"
4623
4623
  }, Ii = {
4624
4624
  key: 1,
4625
4625
  class: "joy-panel-section__content"
4626
- }, Ei = /* @__PURE__ */ A({
4626
+ }, Ei = /* @__PURE__ */ B({
4627
4627
  __name: "VJoyPanelSection",
4628
4628
  setup(e) {
4629
4629
  const t = ne();
@@ -4636,7 +4636,7 @@ const Al = /* @__PURE__ */ A({
4636
4636
  ])) : $("", !0)
4637
4637
  ]));
4638
4638
  }
4639
- }), Jc = /* @__PURE__ */ F(Ei, [["__scopeId", "data-v-d88510ab"]]), Li = {}, Ai = { class: "joy-product-tour-spotlight" };
4639
+ }), Mc = /* @__PURE__ */ F(Ei, [["__scopeId", "data-v-d88510ab"]]), Li = {}, Ai = { class: "joy-product-tour-spotlight" };
4640
4640
  function Bi(e, t) {
4641
4641
  return f(), g("div", Ai);
4642
4642
  }
@@ -4808,13 +4808,13 @@ const qi = async (e, t, n) => {
4808
4808
  for (let h = 0; h < s.length; h++) {
4809
4809
  const {
4810
4810
  name: m,
4811
- fn: S
4811
+ fn: k
4812
4812
  } = s[h], {
4813
- x: k,
4814
- y: B,
4813
+ x: S,
4814
+ y: V,
4815
4815
  data: P,
4816
4816
  reset: z
4817
- } = await S({
4817
+ } = await k({
4818
4818
  x: d,
4819
4819
  y: u,
4820
4820
  initialPlacement: a,
@@ -4828,7 +4828,7 @@ const qi = async (e, t, n) => {
4828
4828
  floating: t
4829
4829
  }
4830
4830
  });
4831
- d = k ?? d, u = B ?? u, p = {
4831
+ d = S ?? d, u = V ?? u, p = {
4832
4832
  ...p,
4833
4833
  [m]: {
4834
4834
  ...p[m],
@@ -4867,17 +4867,17 @@ async function Ln(e, t) {
4867
4867
  elementContext: u = "floating",
4868
4868
  altBoundary: y = !1,
4869
4869
  padding: p = 0
4870
- } = Te(t, e), v = En(p), m = s[y ? u === "floating" ? "reference" : "floating" : u], S = ft(await r.getClippingRect({
4870
+ } = Te(t, e), v = En(p), m = s[y ? u === "floating" ? "reference" : "floating" : u], k = ft(await r.getClippingRect({
4871
4871
  element: (n = await (r.isElement == null ? void 0 : r.isElement(m))) == null || n ? m : m.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(s.floating)),
4872
4872
  boundary: c,
4873
4873
  rootBoundary: d,
4874
4874
  strategy: i
4875
- })), k = u === "floating" ? {
4875
+ })), S = u === "floating" ? {
4876
4876
  x: a,
4877
4877
  y: o,
4878
4878
  width: l.floating.width,
4879
4879
  height: l.floating.height
4880
- } : l.reference, B = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(B)) ? await (r.getScale == null ? void 0 : r.getScale(B)) || {
4880
+ } : l.reference, V = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(V)) ? await (r.getScale == null ? void 0 : r.getScale(V)) || {
4881
4881
  x: 1,
4882
4882
  y: 1
4883
4883
  } : {
@@ -4885,15 +4885,15 @@ async function Ln(e, t) {
4885
4885
  y: 1
4886
4886
  }, z = ft(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
4887
4887
  elements: s,
4888
- rect: k,
4889
- offsetParent: B,
4888
+ rect: S,
4889
+ offsetParent: V,
4890
4890
  strategy: i
4891
- }) : k);
4891
+ }) : S);
4892
4892
  return {
4893
- top: (S.top - z.top + v.top) / P.y,
4894
- bottom: (z.bottom - S.bottom + v.bottom) / P.y,
4895
- left: (S.left - z.left + v.left) / P.x,
4896
- right: (z.right - S.right + v.right) / P.x
4893
+ top: (k.top - z.top + v.top) / P.y,
4894
+ bottom: (z.bottom - k.bottom + v.bottom) / P.y,
4895
+ left: (k.left - z.left + v.left) / P.x,
4896
+ right: (z.right - k.right + v.right) / P.x
4897
4897
  };
4898
4898
  }
4899
4899
  const Hi = (e) => ({
@@ -4917,10 +4917,10 @@ const Hi = (e) => ({
4917
4917
  const u = En(d), y = {
4918
4918
  x: n,
4919
4919
  y: a
4920
- }, p = Ot(o), v = Pt(p), h = await l.getDimensions(c), m = p === "y", S = m ? "top" : "left", k = m ? "bottom" : "right", B = m ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], E = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
4921
- let w = E ? E[B] : 0;
4922
- (!w || !await (l.isElement == null ? void 0 : l.isElement(E))) && (w = s.floating[B] || r.floating[v]);
4923
- const M = P / 2 - z / 2, T = w / 2 - h[v] / 2 - 1, J = $t(u[S], T), O = $t(u[k], T), j = J, x = w - h[v] - O, N = w / 2 - h[v] / 2 + M, W = jt(j, N, x), q = !i.arrow && et(o) != null && N !== W && r.reference[v] / 2 - (N < j ? J : O) - h[v] / 2 < 0, U = q ? N < j ? N - j : N - x : 0;
4920
+ }, p = Ot(o), v = Pt(p), h = await l.getDimensions(c), m = p === "y", k = m ? "top" : "left", S = m ? "bottom" : "right", V = m ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], L = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
4921
+ let w = L ? L[V] : 0;
4922
+ (!w || !await (l.isElement == null ? void 0 : l.isElement(L))) && (w = s.floating[V] || r.floating[v]);
4923
+ const M = P / 2 - z / 2, T = w / 2 - h[v] / 2 - 1, J = $t(u[k], T), O = $t(u[S], T), j = J, x = w - h[v] - O, N = w / 2 - h[v] / 2 + M, W = jt(j, N, x), q = !i.arrow && et(o) != null && N !== W && r.reference[v] / 2 - (N < j ? J : O) - h[v] / 2 < 0, U = q ? N < j ? N - j : N - x : 0;
4924
4924
  return {
4925
4925
  [p]: y[p] + U,
4926
4926
  data: {
@@ -4957,11 +4957,11 @@ const Hi = (e) => ({
4957
4957
  } = Te(e, t);
4958
4958
  if ((n = r.arrow) != null && n.alignmentOffset)
4959
4959
  return {};
4960
- const S = ge(o), k = Ve(s), B = ge(s) === s, P = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), z = y || (B || !h ? [dt(s)] : Di(s)), E = v !== "none";
4961
- !y && E && z.push(...Mi(s, h, v, P));
4960
+ const k = ge(o), S = Ve(s), V = ge(s) === s, P = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), z = y || (V || !h ? [dt(s)] : Di(s)), L = v !== "none";
4961
+ !y && L && z.push(...Mi(s, h, v, P));
4962
4962
  const w = [s, ...z], M = await Ln(t, m), T = [];
4963
4963
  let J = ((a = r.flip) == null ? void 0 : a.overflows) || [];
4964
- if (d && T.push(M[S]), u) {
4964
+ if (d && T.push(M[k]), u) {
4965
4965
  const N = Oi(o, l, P);
4966
4966
  T.push(M[N[0]], M[N[1]]);
4967
4967
  }
@@ -4987,9 +4987,9 @@ const Hi = (e) => ({
4987
4987
  case "bestFit": {
4988
4988
  var x;
4989
4989
  const U = (x = J.filter((Y) => {
4990
- if (E) {
4990
+ if (L) {
4991
4991
  const Q = Ve(Y.placement);
4992
- return Q === k || // Create a bias to the `y` side axis due to horizontal
4992
+ return Q === S || // Create a bias to the `y` side axis due to horizontal
4993
4993
  // reading directions favoring greater width.
4994
4994
  Q === "y";
4995
4995
  }
@@ -5078,12 +5078,12 @@ const Bn = function(e) {
5078
5078
  limiter: s = {
5079
5079
  fn: (m) => {
5080
5080
  let {
5081
- x: S,
5082
- y: k
5081
+ x: k,
5082
+ y: S
5083
5083
  } = m;
5084
5084
  return {
5085
- x: S,
5086
- y: k
5085
+ x: k,
5086
+ y: S
5087
5087
  };
5088
5088
  }
5089
5089
  },
@@ -5094,12 +5094,12 @@ const Bn = function(e) {
5094
5094
  }, d = await Ln(t, i), u = Ve(ge(o)), y = zt(u);
5095
5095
  let p = c[y], v = c[u];
5096
5096
  if (r) {
5097
- const m = y === "y" ? "top" : "left", S = y === "y" ? "bottom" : "right", k = p + d[m], B = p - d[S];
5098
- p = jt(k, p, B);
5097
+ const m = y === "y" ? "top" : "left", k = y === "y" ? "bottom" : "right", S = p + d[m], V = p - d[k];
5098
+ p = jt(S, p, V);
5099
5099
  }
5100
5100
  if (l) {
5101
- const m = u === "y" ? "top" : "left", S = u === "y" ? "bottom" : "right", k = v + d[m], B = v - d[S];
5102
- v = jt(k, v, B);
5101
+ const m = u === "y" ? "top" : "left", k = u === "y" ? "bottom" : "right", S = v + d[m], V = v - d[k];
5102
+ v = jt(S, v, V);
5103
5103
  }
5104
5104
  const h = s.fn({
5105
5105
  ...t,
@@ -5143,13 +5143,13 @@ const Bn = function(e) {
5143
5143
  ...h
5144
5144
  };
5145
5145
  if (i) {
5146
- const B = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[B] + m.mainAxis, z = r.reference[y] + r.reference[B] - m.mainAxis;
5146
+ const V = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[V] + m.mainAxis, z = r.reference[y] + r.reference[V] - m.mainAxis;
5147
5147
  p < P ? p = P : p > z && (p = z);
5148
5148
  }
5149
5149
  if (c) {
5150
- var S, k;
5151
- const B = y === "y" ? "width" : "height", P = ["top", "left"].includes(ge(o)), z = r.reference[u] - r.floating[B] + (P && ((S = l.offset) == null ? void 0 : S[u]) || 0) + (P ? 0 : m.crossAxis), E = r.reference[u] + r.reference[B] + (P ? 0 : ((k = l.offset) == null ? void 0 : k[u]) || 0) - (P ? m.crossAxis : 0);
5152
- v < z ? v = z : v > E && (v = E);
5150
+ var k, S;
5151
+ const V = y === "y" ? "width" : "height", P = ["top", "left"].includes(ge(o)), z = r.reference[u] - r.floating[V] + (P && ((k = l.offset) == null ? void 0 : k[u]) || 0) + (P ? 0 : m.crossAxis), L = r.reference[u] + r.reference[V] + (P ? 0 : ((S = l.offset) == null ? void 0 : S[u]) || 0) - (P ? m.crossAxis : 0);
5152
+ v < z ? v = z : v > L && (v = L);
5153
5153
  }
5154
5154
  return {
5155
5155
  [y]: p,
@@ -5299,8 +5299,8 @@ function Ie(e, t, n, a) {
5299
5299
  const y = ce(r), p = a && ye(a) ? ce(a) : a;
5300
5300
  let v = y.frameElement;
5301
5301
  for (; v && a && p !== y; ) {
5302
- const h = Pe(v), m = v.getBoundingClientRect(), S = de(v), k = m.left + (v.clientLeft + parseFloat(S.paddingLeft)) * h.x, B = m.top + (v.clientTop + parseFloat(S.paddingTop)) * h.y;
5303
- i *= h.x, c *= h.y, d *= h.x, u *= h.y, i += k, c += B, v = ce(v).frameElement;
5302
+ const h = Pe(v), m = v.getBoundingClientRect(), k = de(v), S = m.left + (v.clientLeft + parseFloat(k.paddingLeft)) * h.x, V = m.top + (v.clientTop + parseFloat(k.paddingTop)) * h.y;
5303
+ i *= h.x, c *= h.y, d *= h.x, u *= h.y, i += S, c += V, v = ce(v).frameElement;
5304
5304
  }
5305
5305
  }
5306
5306
  return ft({
@@ -5511,30 +5511,30 @@ function us(e, t) {
5511
5511
  } = e.getBoundingClientRect();
5512
5512
  if (s || t(), !u || !y)
5513
5513
  return;
5514
- const p = ot(d), v = ot(o.clientWidth - (c + u)), h = ot(o.clientHeight - (d + y)), m = ot(c), k = {
5514
+ const p = ot(d), v = ot(o.clientWidth - (c + u)), h = ot(o.clientHeight - (d + y)), m = ot(c), S = {
5515
5515
  rootMargin: -p + "px " + -v + "px " + -h + "px " + -m + "px",
5516
5516
  threshold: ze(0, xt(1, i)) || 1
5517
5517
  };
5518
- let B = !0;
5518
+ let V = !0;
5519
5519
  function P(z) {
5520
- const E = z[0].intersectionRatio;
5521
- if (E !== i) {
5522
- if (!B)
5520
+ const L = z[0].intersectionRatio;
5521
+ if (L !== i) {
5522
+ if (!V)
5523
5523
  return l();
5524
- E ? l(!1, E) : a = setTimeout(() => {
5524
+ L ? l(!1, L) : a = setTimeout(() => {
5525
5525
  l(!1, 1e-7);
5526
5526
  }, 100);
5527
5527
  }
5528
- B = !1;
5528
+ V = !1;
5529
5529
  }
5530
5530
  try {
5531
5531
  n = new IntersectionObserver(P, {
5532
- ...k,
5532
+ ...S,
5533
5533
  // Handle <iframe>s
5534
5534
  root: o.ownerDocument
5535
5535
  });
5536
5536
  } catch {
5537
- n = new IntersectionObserver(P, k);
5537
+ n = new IntersectionObserver(P, S);
5538
5538
  }
5539
5539
  n.observe(e);
5540
5540
  }
@@ -5549,28 +5549,28 @@ function cs(e, t, n, a) {
5549
5549
  layoutShift: s = typeof IntersectionObserver == "function",
5550
5550
  animationFrame: i = !1
5551
5551
  } = a, c = Mt(e), d = o || r ? [...c ? Ge(c) : [], ...Ge(t)] : [];
5552
- d.forEach((S) => {
5553
- o && S.addEventListener("scroll", n, {
5552
+ d.forEach((k) => {
5553
+ o && k.addEventListener("scroll", n, {
5554
5554
  passive: !0
5555
- }), r && S.addEventListener("resize", n);
5555
+ }), r && k.addEventListener("resize", n);
5556
5556
  });
5557
5557
  const u = c && s ? us(c, n) : null;
5558
5558
  let y = -1, p = null;
5559
- l && (p = new ResizeObserver((S) => {
5560
- let [k] = S;
5561
- k && k.target === c && p && (p.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
5559
+ l && (p = new ResizeObserver((k) => {
5560
+ let [S] = k;
5561
+ S && S.target === c && p && (p.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
5562
5562
  p && p.observe(t);
5563
5563
  })), n();
5564
5564
  }), c && !i && p.observe(c), p.observe(t));
5565
5565
  let v, h = i ? Ie(e) : null;
5566
5566
  i && m();
5567
5567
  function m() {
5568
- const S = Ie(e);
5569
- h && (S.x !== h.x || S.y !== h.y || S.width !== h.width || S.height !== h.height) && n(), h = S, v = requestAnimationFrame(m);
5568
+ const k = Ie(e);
5569
+ h && (k.x !== h.x || k.y !== h.y || k.width !== h.width || k.height !== h.height) && n(), h = k, v = requestAnimationFrame(m);
5570
5570
  }
5571
5571
  return n(), () => {
5572
- d.forEach((S) => {
5573
- o && S.removeEventListener("scroll", n), r && S.removeEventListener("resize", n);
5572
+ d.forEach((k) => {
5573
+ o && k.removeEventListener("scroll", n), r && k.removeEventListener("resize", n);
5574
5574
  }), u && u(), p && p.disconnect(), p = null, i && cancelAnimationFrame(v);
5575
5575
  };
5576
5576
  }
@@ -5632,19 +5632,19 @@ function sn(e, t) {
5632
5632
  }
5633
5633
  function Un(e, t, n) {
5634
5634
  n === void 0 && (n = {});
5635
- const a = n.whileElementsMounted, o = V(() => {
5635
+ const a = n.whileElementsMounted, o = I(() => {
5636
5636
  var w;
5637
5637
  return (w = Fe(n.open)) != null ? w : !0;
5638
- }), r = V(() => Fe(n.middleware)), l = V(() => {
5638
+ }), r = I(() => Fe(n.middleware)), l = I(() => {
5639
5639
  var w;
5640
5640
  return (w = Fe(n.placement)) != null ? w : "bottom";
5641
- }), s = V(() => {
5641
+ }), s = I(() => {
5642
5642
  var w;
5643
5643
  return (w = Fe(n.strategy)) != null ? w : "absolute";
5644
- }), i = V(() => {
5644
+ }), i = I(() => {
5645
5645
  var w;
5646
5646
  return (w = Fe(n.transform)) != null ? w : !0;
5647
- }), c = V(() => Tt(e.value)), d = V(() => Tt(t.value)), u = C(0), y = C(0), p = C(s.value), v = C(l.value), h = dn({}), m = C(!1), S = V(() => {
5647
+ }), c = I(() => Tt(e.value)), d = I(() => Tt(t.value)), u = C(0), y = C(0), p = C(s.value), v = C(l.value), h = dn({}), m = C(!1), k = I(() => {
5648
5648
  const w = {
5649
5649
  position: p.value,
5650
5650
  left: "0",
@@ -5665,8 +5665,8 @@ function Un(e, t, n) {
5665
5665
  top: T + "px"
5666
5666
  };
5667
5667
  });
5668
- let k;
5669
- function B() {
5668
+ let S;
5669
+ function V() {
5670
5670
  c.value == null || d.value == null || ds(c.value, d.value, {
5671
5671
  middleware: r.value,
5672
5672
  placement: l.value,
@@ -5676,26 +5676,26 @@ function Un(e, t, n) {
5676
5676
  });
5677
5677
  }
5678
5678
  function P() {
5679
- typeof k == "function" && (k(), k = void 0);
5679
+ typeof S == "function" && (S(), S = void 0);
5680
5680
  }
5681
5681
  function z() {
5682
5682
  if (P(), a === void 0) {
5683
- B();
5683
+ V();
5684
5684
  return;
5685
5685
  }
5686
5686
  if (c.value != null && d.value != null) {
5687
- k = a(c.value, d.value, B);
5687
+ S = a(c.value, d.value, V);
5688
5688
  return;
5689
5689
  }
5690
5690
  }
5691
- function E() {
5691
+ function L() {
5692
5692
  o.value || (m.value = !1);
5693
5693
  }
5694
- return ae([r, l, s], B, {
5694
+ return ae([r, l, s], V, {
5695
5695
  flush: "sync"
5696
5696
  }), ae([c, d], z, {
5697
5697
  flush: "sync"
5698
- }), ae(o, E, {
5698
+ }), ae(o, L, {
5699
5699
  flush: "sync"
5700
5700
  }), Vt() && It(P), {
5701
5701
  x: Ae(u),
@@ -5704,8 +5704,8 @@ function Un(e, t, n) {
5704
5704
  placement: Ae(v),
5705
5705
  middlewareData: Ae(h),
5706
5706
  isPositioned: Ae(m),
5707
- floatingStyles: S,
5708
- update: B
5707
+ floatingStyles: k,
5708
+ update: V
5709
5709
  };
5710
5710
  }
5711
5711
  const ps = () => {
@@ -5723,7 +5723,7 @@ const ps = () => {
5723
5723
  }, Kn = ps(), ms = { class: "joy-product-tour__content" }, hs = { class: "joy-product-tour__header" }, bs = {
5724
5724
  key: 0,
5725
5725
  class: "joy-product-tour__footer"
5726
- }, gs = { class: "joy-product-tour__footer___steps" }, ws = "joy-product-tour-spotlight__wrapper", _s = /* @__PURE__ */ A({
5726
+ }, gs = { class: "joy-product-tour__footer___steps" }, ws = "joy-product-tour-spotlight__wrapper", _s = /* @__PURE__ */ B({
5727
5727
  __name: "VJoyProductTourInner",
5728
5728
  props: {
5729
5729
  icon: {},
@@ -5756,7 +5756,7 @@ const ps = () => {
5756
5756
  Hn({ element: y, padding: 0 })
5757
5757
  ]
5758
5758
  })
5759
- ), v = V(() => {
5759
+ ), v = I(() => {
5760
5760
  const { middlewareData: w, placement: M } = p.value, T = w.arrow, J = {
5761
5761
  top: "bottom",
5762
5762
  right: "left",
@@ -5773,21 +5773,21 @@ const ps = () => {
5773
5773
  });
5774
5774
  function h() {
5775
5775
  var w;
5776
- o.spotlightSelector && document.body.contains(document.querySelector(o.spotlightSelector)) && (i.value = document.querySelector(o.spotlightSelector), S({
5776
+ o.spotlightSelector && document.body.contains(document.querySelector(o.spotlightSelector)) && (i.value = document.querySelector(o.spotlightSelector), k({
5777
5777
  elementToHighlight: i.value,
5778
5778
  disableOverlay: o.disableOverlay
5779
5779
  }), (w = p.value) == null || w.update(), u.value = !0);
5780
5780
  }
5781
5781
  function m() {
5782
- u.value = !1, r(), E(), a("product-tour:hide");
5782
+ u.value = !1, r(), L(), a("product-tour:hide");
5783
5783
  }
5784
- function S(w) {
5785
- i.value && (w.disableOverlay || k(), B(w.elementToHighlight));
5784
+ function k(w) {
5785
+ i.value && (w.disableOverlay || S(), V(w.elementToHighlight));
5786
5786
  }
5787
- function k() {
5787
+ function S() {
5788
5788
  s.value = document.createElement("div"), s.value.classList.add("joy-product-tour__overlay"), s.value.addEventListener("click", m, { once: !0 }), s.value.style.position = "fixed", s.value.style.top = "0", s.value.style.left = "0", s.value.style.width = "100%", s.value.style.height = "100%", s.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(s.value);
5789
5789
  }
5790
- function B(w) {
5790
+ function V(w) {
5791
5791
  w && (w.style.position = "relative", w.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", c.value = G(Fi), d.value = document.createElement("div"), d.value.classList.add(ws), document.body.appendChild(d.value), qt(c.value, d.value), P());
5792
5792
  }
5793
5793
  function P() {
@@ -5799,14 +5799,14 @@ const ps = () => {
5799
5799
  function z() {
5800
5800
  s.value && s.value.remove();
5801
5801
  }
5802
- function E() {
5802
+ function L() {
5803
5803
  z(), i.value && (i.value.style.position = "", i.value.style.zIndex = ""), d.value && (qt(null, d.value), d.value.remove());
5804
5804
  }
5805
5805
  return ae(p.value, () => {
5806
5806
  var w;
5807
5807
  c.value && ((w = l.value) != null && w.isConnected ? P() : m());
5808
5808
  }), yn(() => {
5809
- E();
5809
+ L();
5810
5810
  }), t({
5811
5811
  hide: m,
5812
5812
  show: h,
@@ -5827,7 +5827,7 @@ const ps = () => {
5827
5827
  style: se(v.value)
5828
5828
  }, null, 4),
5829
5829
  b("div", {
5830
- class: I([
5830
+ class: E([
5831
5831
  "joy-product-tour",
5832
5832
  `joy-product-tour--${w.position}`,
5833
5833
  {
@@ -5836,12 +5836,12 @@ const ps = () => {
5836
5836
  ])
5837
5837
  }, [
5838
5838
  b("div", {
5839
- class: I(["joy-product-tour__banner", { "joy-product-tour__hasBanner": w.$slots["product-tour-banner"] }])
5839
+ class: E(["joy-product-tour__banner", { "joy-product-tour__hasBanner": w.$slots["product-tour-banner"] }])
5840
5840
  }, [
5841
5841
  _(w.$slots, "product-tour-banner", {}, void 0, !0)
5842
5842
  ], 2),
5843
5843
  b("div", {
5844
- class: I(["joy-product-tour__preheader", { "joy-product-tour__hasPreheader": w.$slots["product-tour-preheader"] }])
5844
+ class: E(["joy-product-tour__preheader", { "joy-product-tour__hasPreheader": w.$slots["product-tour-preheader"] }])
5845
5845
  }, [
5846
5846
  b("div", null, [
5847
5847
  _(w.$slots, "product-tour-preheader", {}, void 0, !0)
@@ -5856,7 +5856,7 @@ const ps = () => {
5856
5856
  })
5857
5857
  ], 2),
5858
5858
  b("div", ms, [
5859
- w.icon ? (f(), L(X, {
5859
+ w.icon ? (f(), A(X, {
5860
5860
  key: 0,
5861
5861
  class: "joy-product-tour__content___icon",
5862
5862
  name: w.icon,
@@ -5886,7 +5886,7 @@ const ps = () => {
5886
5886
  ]);
5887
5887
  };
5888
5888
  }
5889
- }), Ss = /* @__PURE__ */ F(_s, [["__scopeId", "data-v-08f2b2df"]]), qc = /* @__PURE__ */ A({
5889
+ }), Ss = /* @__PURE__ */ F(_s, [["__scopeId", "data-v-08f2b2df"]]), Jc = /* @__PURE__ */ B({
5890
5890
  inheritAttrs: !1,
5891
5891
  __name: "VJoyProductTour",
5892
5892
  props: {
@@ -5902,7 +5902,7 @@ const ps = () => {
5902
5902
  },
5903
5903
  emits: ["product-tour:hide"],
5904
5904
  setup(e, { expose: t, emit: n }) {
5905
- const a = C(!1), o = e, r = n, { storeProductTourRef: l, clearProductTourRef: s } = Kn, i = C(), c = Ee(), d = V(() => {
5905
+ const a = C(!1), o = e, r = n, { storeProductTourRef: l, clearProductTourRef: s } = Kn, i = C(), c = Ee(), d = I(() => {
5906
5906
  if (a.value)
5907
5907
  return c;
5908
5908
  });
@@ -5921,7 +5921,7 @@ const ps = () => {
5921
5921
  }), t({
5922
5922
  show: u,
5923
5923
  hide: p
5924
- }), (v, h) => (f(), L(Xe, { to: "body" }, [
5924
+ }), (v, h) => (f(), A(Xe, { to: "body" }, [
5925
5925
  G(Ss, ee({ ...o, ...d.value }, {
5926
5926
  ref_key: "productTour",
5927
5927
  ref: i,
@@ -5949,24 +5949,24 @@ const ps = () => {
5949
5949
  }, 16)
5950
5950
  ]));
5951
5951
  }
5952
- }), Hc = /* @__PURE__ */ A({
5952
+ }), qc = /* @__PURE__ */ B({
5953
5953
  __name: "VJoyProductTourTrigger",
5954
5954
  props: {
5955
5955
  productTour: {}
5956
5956
  },
5957
5957
  emits: ["click"],
5958
5958
  setup(e, { emit: t }) {
5959
- const n = e, a = t, o = V(() => n.productTour), r = ne(), l = V(() => r.default());
5959
+ const n = e, a = t, o = I(() => n.productTour), r = ne(), l = I(() => r.default());
5960
5960
  async function s() {
5961
5961
  var i;
5962
5962
  a("click"), o.value && ((i = o.value) == null || i.show());
5963
5963
  }
5964
- return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), L(re(d), {
5964
+ return (i, c) => (f(!0), g(Z, null, te(l.value, (d) => (f(), A(re(d), {
5965
5965
  key: d,
5966
5966
  onClick: s
5967
5967
  }))), 128));
5968
5968
  }
5969
- }), ks = /* @__PURE__ */ A({
5969
+ }), ks = /* @__PURE__ */ B({
5970
5970
  __name: "VJoyProgressBar",
5971
5971
  props: {
5972
5972
  /** import TJoyProgressBarColors */
@@ -5994,7 +5994,7 @@ const ps = () => {
5994
5994
  }
5995
5995
  },
5996
5996
  setup(e, { expose: t }) {
5997
- const n = e, a = C(0), o = V(() => r());
5997
+ const n = e, a = C(0), o = I(() => r());
5998
5998
  function r() {
5999
5999
  return n.percentage ? a.value = n.percentage : n.currentStep && n.steps ? a.value = Math.round(n.currentStep / n.steps * 100) : a.value = 0, a.value < 0 && (a.value = 0), a.value > 100 && (a.value = 100), a.value + "%";
6000
6000
  }
@@ -6002,7 +6002,7 @@ const ps = () => {
6002
6002
  computeInnerWidth: o,
6003
6003
  computedPercentage: a
6004
6004
  }), (l, s) => (f(), g("div", {
6005
- class: I(["joy-progress-bar-wrapper", [`joy-progress-bar_${e.color}`]])
6005
+ class: E(["joy-progress-bar-wrapper", [`joy-progress-bar_${e.color}`]])
6006
6006
  }, [
6007
6007
  b("div", {
6008
6008
  class: "joy-progress-bar-inner",
@@ -6010,7 +6010,7 @@ const ps = () => {
6010
6010
  }, null, 4)
6011
6011
  ], 2));
6012
6012
  }
6013
- }), Wc = /* @__PURE__ */ F(ks, [["__scopeId", "data-v-14b07f95"]]), $s = ["id", "value", "checked", "disabled", "required", "name"], js = { class: "joy-radio-label" }, Cs = { class: "joy-radio-content__wrapper" }, xs = { class: "joy-radio-content" }, Ts = /* @__PURE__ */ A({
6013
+ }), Hc = /* @__PURE__ */ F(ks, [["__scopeId", "data-v-14b07f95"]]), $s = ["id", "value", "checked", "disabled", "required", "name"], js = { class: "joy-radio-label" }, Cs = { class: "joy-radio-content__wrapper" }, xs = { class: "joy-radio-content" }, Ts = /* @__PURE__ */ B({
6014
6014
  __name: "VJoyRadio",
6015
6015
  props: {
6016
6016
  disabled: {
@@ -6047,7 +6047,7 @@ const ps = () => {
6047
6047
  },
6048
6048
  emits: ["update:modelValue"],
6049
6049
  setup(e, { expose: t, emit: n }) {
6050
- const a = n, o = e, r = C(!1), l = C(!1), s = C(null), i = C(null), c = ne(), d = V(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value);
6050
+ const a = n, o = e, r = C(!1), l = C(!1), s = C(null), i = C(null), c = ne(), d = I(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value);
6051
6051
  function u() {
6052
6052
  r.value = !!c["expandable-content"] && d.value;
6053
6053
  }
@@ -6074,7 +6074,7 @@ const ps = () => {
6074
6074
  }), (h, m) => (f(), g("label", {
6075
6075
  ref_key: "root",
6076
6076
  ref: s,
6077
- class: I([
6077
+ class: E([
6078
6078
  "joy-radio",
6079
6079
  `joy-radio--${e.theme}`,
6080
6080
  {
@@ -6108,14 +6108,14 @@ const ps = () => {
6108
6108
  b("div", {
6109
6109
  ref_key: "expandableElement",
6110
6110
  ref: i,
6111
- class: I(["joy-radio-expandable", { "joy-radio-expandable--expanded": r.value }])
6111
+ class: E(["joy-radio-expandable", { "joy-radio-expandable--expanded": r.value }])
6112
6112
  }, [
6113
6113
  _(h.$slots, "expandable-content", {}, void 0, !0)
6114
6114
  ], 2)
6115
6115
  ])
6116
6116
  ], 2));
6117
6117
  }
6118
- }), Uc = /* @__PURE__ */ F(Ts, [["__scopeId", "data-v-7ee19b20"]]), Vs = ["form", "name"], Is = /* @__PURE__ */ A({
6118
+ }), Wc = /* @__PURE__ */ F(Ts, [["__scopeId", "data-v-7ee19b20"]]), Vs = ["form", "name"], Is = /* @__PURE__ */ B({
6119
6119
  __name: "VJoyRadioGroup",
6120
6120
  props: {
6121
6121
  /**
@@ -6145,13 +6145,13 @@ const ps = () => {
6145
6145
  }, [
6146
6146
  _(t.$slots, "radio-group-legend", {}, void 0, !0),
6147
6147
  b("div", {
6148
- class: I(["joy-radio-group-container", `joy-radio-group-${e.direction}`])
6148
+ class: E(["joy-radio-group-container", `joy-radio-group-${e.direction}`])
6149
6149
  }, [
6150
6150
  _(t.$slots, "default", {}, void 0, !0)
6151
6151
  ], 2)
6152
6152
  ], 8, Vs));
6153
6153
  }
6154
- }), Kc = /* @__PURE__ */ F(Is, [["__scopeId", "data-v-1b870a4c"]]), Es = ["ariaLabel"], Ls = { class: "joy-rating-stars" }, As = { class: "joy-rating-stars__content" }, Bs = { key: 0 }, Fs = /* @__PURE__ */ A({
6154
+ }), Uc = /* @__PURE__ */ F(Is, [["__scopeId", "data-v-1b870a4c"]]), Es = ["ariaLabel"], Ls = { class: "joy-rating-stars" }, As = { class: "joy-rating-stars__content" }, Bs = { key: 0 }, Fs = /* @__PURE__ */ B({
6155
6155
  __name: "VJoyRatingStars",
6156
6156
  props: {
6157
6157
  /** Between 0 and 5 */
@@ -6170,7 +6170,7 @@ const ps = () => {
6170
6170
  }
6171
6171
  },
6172
6172
  setup(e, { expose: t }) {
6173
- const n = e, a = Ee(), o = V(() => {
6173
+ const n = e, a = Ee(), o = I(() => {
6174
6174
  let r = [], l = 0.24, s = 0.75;
6175
6175
  for (let i = 0; i < 5; i++)
6176
6176
  n.ratingValue > l ? r.push(n.ratingValue < s ? "half" : "full") : r.push("empty"), l += 1, s += 1;
@@ -6186,19 +6186,19 @@ const ps = () => {
6186
6186
  b("ul", Ls, [
6187
6187
  (f(!0), g(Z, null, te(o.value, (s, i) => (f(), g("li", {
6188
6188
  key: i,
6189
- class: I([`joy-rating-stars--${e.size}`])
6189
+ class: E([`joy-rating-stars--${e.size}`])
6190
6190
  }, [
6191
- s === "full" ? (f(), L(X, {
6191
+ s === "full" ? (f(), A(X, {
6192
6192
  key: 0,
6193
6193
  "aria-hidden": "true",
6194
6194
  name: "star-fill",
6195
6195
  color: "quaternary"
6196
- })) : s === "half" ? (f(), L(X, {
6196
+ })) : s === "half" ? (f(), A(X, {
6197
6197
  key: 1,
6198
6198
  "aria-hidden": "true",
6199
6199
  name: "star-half",
6200
6200
  color: "quaternary"
6201
- })) : (f(), L(X, {
6201
+ })) : (f(), A(X, {
6202
6202
  key: 2,
6203
6203
  "aria-hidden": "true",
6204
6204
  name: "star",
@@ -6213,7 +6213,7 @@ const ps = () => {
6213
6213
  ])
6214
6214
  ], 8, Es));
6215
6215
  }
6216
- }), Ns = /* @__PURE__ */ F(Fs, [["__scopeId", "data-v-4c9a1026"]]), zs = ["id", "name", "aria-invalid", "required", "disabled"], Ps = ["selected"], Os = /* @__PURE__ */ A({
6216
+ }), Ns = /* @__PURE__ */ F(Fs, [["__scopeId", "data-v-4c9a1026"]]), zs = ["id", "name", "aria-invalid", "required", "disabled"], Ps = ["selected"], Os = /* @__PURE__ */ B({
6217
6217
  __name: "VJoySelect",
6218
6218
  props: {
6219
6219
  disabled: {
@@ -6257,38 +6257,38 @@ const ps = () => {
6257
6257
  },
6258
6258
  emits: ["update:modelValue"],
6259
6259
  setup(e, { expose: t, emit: n }) {
6260
- const a = e, o = n, r = ne(), l = V(() => {
6260
+ const a = e, o = n, r = ne(), l = I(() => {
6261
6261
  const h = r.default();
6262
6262
  let m = [];
6263
- return h.forEach((S) => {
6264
- if (s(S))
6265
- m.push(S);
6263
+ return h.forEach((k) => {
6264
+ if (s(k))
6265
+ m.push(k);
6266
6266
  else {
6267
- const k = S.children;
6268
- if (typeof k == "string" || !k.length)
6267
+ const S = k.children;
6268
+ if (typeof S == "string" || !S.length)
6269
6269
  return;
6270
- const B = k.filter(s);
6271
- m = [...m, ...B];
6270
+ const V = S.filter(s);
6271
+ m = [...m, ...V];
6272
6272
  }
6273
6273
  }), m;
6274
6274
  });
6275
6275
  function s(h) {
6276
6276
  return (h == null ? void 0 : h.type) === "option";
6277
6277
  }
6278
- const i = C(), c = C(), d = C(!1), u = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
6278
+ const i = C(), c = C(), d = C(!1), u = I(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
6279
6279
  ie(() => {
6280
- var S;
6280
+ var k;
6281
6281
  const h = r["select-label"] && r["select-label"]();
6282
6282
  if (!h || !h.length)
6283
6283
  return;
6284
6284
  const m = h[0];
6285
6285
  if (m.type === "JoyLabel") {
6286
- const k = (S = m.props) == null ? void 0 : S.for;
6287
- if (!k) {
6286
+ const S = (k = m.props) == null ? void 0 : k.for;
6287
+ if (!S) {
6288
6288
  console.warn("JoyLabel for attribute is missing");
6289
6289
  return;
6290
6290
  }
6291
- k !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
6291
+ S !== a.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
6292
6292
  }
6293
6293
  });
6294
6294
  function y(h) {
@@ -6308,7 +6308,7 @@ const ps = () => {
6308
6308
  ref: i
6309
6309
  }, [
6310
6310
  _(h.$slots, "select-label", {}, () => [
6311
- e.label ? (f(), L(Le, {
6311
+ e.label ? (f(), A(Le, {
6312
6312
  key: 0,
6313
6313
  required: e.required && e.requiredMark,
6314
6314
  "optional-label": e.optionalLabel,
@@ -6322,7 +6322,7 @@ const ps = () => {
6322
6322
  }, 8, ["required", "optional-label", "for", "size"])) : $("", !0)
6323
6323
  ], !0),
6324
6324
  b("div", {
6325
- class: I([
6325
+ class: E([
6326
6326
  `joy-select--${e.size}`,
6327
6327
  {
6328
6328
  "joy-select__wrapper": !0,
@@ -6345,14 +6345,14 @@ const ps = () => {
6345
6345
  onFocus: p,
6346
6346
  onBlur: v
6347
6347
  }, [
6348
- (f(!0), g(Z, null, te(l.value, (S) => {
6349
- var k, B;
6348
+ (f(!0), g(Z, null, te(l.value, (k) => {
6349
+ var S, V;
6350
6350
  return f(), g("option", ee({
6351
- key: (k = S.props) == null ? void 0 : k.value,
6351
+ key: (S = k.props) == null ? void 0 : S.value,
6352
6352
  ref_for: !0
6353
- }, S.props, {
6354
- selected: ((B = S.props) == null ? void 0 : B.value) === e.modelValue
6355
- }), R(S.children), 17, Ps);
6353
+ }, k.props, {
6354
+ selected: ((V = k.props) == null ? void 0 : V.value) === e.modelValue
6355
+ }), R(k.children), 17, Ps);
6356
6356
  }), 128))
6357
6357
  ], 40, zs),
6358
6358
  G(X, {
@@ -6362,7 +6362,7 @@ const ps = () => {
6362
6362
  ], 2)
6363
6363
  ], 512));
6364
6364
  }
6365
- }), Gc = /* @__PURE__ */ F(Os, [["__scopeId", "data-v-7e3adcd9"]]), Ds = ["aria-disabled"], Rs = ["id", "value", "checked", "disabled", "required", "name"], Ms = { class: "joy-selectable-item__label" }, Js = /* @__PURE__ */ A({
6365
+ }), Kc = /* @__PURE__ */ F(Os, [["__scopeId", "data-v-7e3adcd9"]]), Ds = ["aria-disabled"], Rs = ["id", "value", "checked", "disabled", "required", "name"], Ms = { class: "joy-selectable-item__label" }, Js = /* @__PURE__ */ B({
6366
6366
  __name: "VJoySelectableItem",
6367
6367
  props: {
6368
6368
  disabled: {
@@ -6429,7 +6429,7 @@ const ps = () => {
6429
6429
  n("update:checked", d);
6430
6430
  }
6431
6431
  return (d, u) => (f(), g("div", {
6432
- class: I([
6432
+ class: E([
6433
6433
  "joy-selectable-item__wrapper",
6434
6434
  {
6435
6435
  "joy-selectable-item--focusing": l.value
@@ -6457,9 +6457,9 @@ const ps = () => {
6457
6457
  onBlur: u[2] || (u[2] = //@ts-ignore
6458
6458
  (...y) => i.onBlur && i.onBlur(...y))
6459
6459
  }, null, 40, Rs)),
6460
- (f(), L(re(K(s)), {
6460
+ (f(), A(re(K(s)), {
6461
6461
  for: e.id,
6462
- class: I([
6462
+ class: E([
6463
6463
  "joy-selectable-item",
6464
6464
  [`joy-selectable-item--${e.variant}`],
6465
6465
  {
@@ -6472,7 +6472,7 @@ const ps = () => {
6472
6472
  onClick: i.onLabelClick
6473
6473
  }, {
6474
6474
  default: D(() => [
6475
- e.multiple ? (f(), L(wn, {
6475
+ e.multiple ? (f(), A(wn, {
6476
6476
  key: 0,
6477
6477
  id: e.id,
6478
6478
  checked: o.value,
@@ -6497,7 +6497,7 @@ const ps = () => {
6497
6497
  e.multiple ? $("", !0) : _(d.$slots, "default", { key: 0 }, void 0, !0)
6498
6498
  ]),
6499
6499
  b("div", {
6500
- class: I([{ "joy-selectable-item__sublabel": d.$slots["selectable-item-sublabel"] }])
6500
+ class: E([{ "joy-selectable-item__sublabel": d.$slots["selectable-item-sublabel"] }])
6501
6501
  }, [
6502
6502
  _(d.$slots, "selectable-item-sublabel", {}, () => [
6503
6503
  H(R(e.subLabel), 1)
@@ -6508,7 +6508,7 @@ const ps = () => {
6508
6508
  }, 8, ["for", "class", "onClick"]))
6509
6509
  ], 10, Ds));
6510
6510
  }
6511
- }), qs = /* @__PURE__ */ F(Js, [["__scopeId", "data-v-75192ab4"]]), Hs = ["id"], Ws = /* @__PURE__ */ A({
6511
+ }), qs = /* @__PURE__ */ F(Js, [["__scopeId", "data-v-75192ab4"]]), Hs = ["id"], Ws = /* @__PURE__ */ B({
6512
6512
  __name: "VJoySelectableItemGroup",
6513
6513
  props: {
6514
6514
  options: {
@@ -6563,7 +6563,7 @@ const ps = () => {
6563
6563
  id: e.id,
6564
6564
  class: "joy-selectable-item-group__wrapper"
6565
6565
  }, [
6566
- e.label ? (f(), L(Le, {
6566
+ e.label ? (f(), A(Le, {
6567
6567
  key: 0,
6568
6568
  "tag-name": "legend",
6569
6569
  required: e.required && e.requiredMark,
@@ -6576,7 +6576,7 @@ const ps = () => {
6576
6576
  _: 1
6577
6577
  }, 8, ["required", "optional-label", "size"])) : $("", !0),
6578
6578
  b("div", {
6579
- class: I([
6579
+ class: E([
6580
6580
  "joy-selectable-item-group",
6581
6581
  {
6582
6582
  "joy-selectable-item-group--multiple": e.multiple,
@@ -6585,7 +6585,7 @@ const ps = () => {
6585
6585
  }
6586
6586
  ])
6587
6587
  }, [
6588
- (f(!0), g(Z, null, te(e.options, (i) => (f(), L(qs, ee({ ref_for: !0 }, i.attrs, {
6588
+ (f(!0), g(Z, null, te(e.options, (i) => (f(), A(qs, ee({ ref_for: !0 }, i.attrs, {
6589
6589
  id: i.id,
6590
6590
  key: i.id,
6591
6591
  name: i.name,
@@ -6614,7 +6614,7 @@ const ps = () => {
6614
6614
  ], 2)
6615
6615
  ], 8, Hs));
6616
6616
  }
6617
- }), Yc = /* @__PURE__ */ F(Ws, [["__scopeId", "data-v-9c23de38"]]), Us = /* @__PURE__ */ A({
6617
+ }), Gc = /* @__PURE__ */ F(Ws, [["__scopeId", "data-v-9c23de38"]]), Us = /* @__PURE__ */ B({
6618
6618
  __name: "VJoySeparator",
6619
6619
  props: {
6620
6620
  /** Main text to apply in the central area */
@@ -6628,12 +6628,12 @@ const ps = () => {
6628
6628
  },
6629
6629
  setup(e) {
6630
6630
  return (t, n) => (f(), g("div", {
6631
- class: I(["joy-separator", { "joy-separator__small": e.size === "small" }])
6631
+ class: E(["joy-separator", { "joy-separator__small": e.size === "small" }])
6632
6632
  }, [
6633
6633
  b("span", null, R(e.text), 1)
6634
6634
  ], 2));
6635
6635
  }
6636
- }), Zc = /* @__PURE__ */ F(Us, [["__scopeId", "data-v-21db2899"]]), Ks = { class: "joy-snackbar__img" }, Gs = { class: "joy-snackbar__content" }, Ys = { key: 0 }, Zs = ["innerHTML"], Xs = /* @__PURE__ */ A({
6636
+ }), Yc = /* @__PURE__ */ F(Us, [["__scopeId", "data-v-21db2899"]]), Ks = { class: "joy-snackbar__img" }, Gs = { class: "joy-snackbar__content" }, Ys = { key: 0 }, Zs = ["innerHTML"], Xs = /* @__PURE__ */ B({
6637
6637
  __name: "VJoySnackbar",
6638
6638
  props: {
6639
6639
  level: {
@@ -6683,7 +6683,7 @@ const ps = () => {
6683
6683
  setup(e, { expose: t }) {
6684
6684
  const n = e, a = C(!0);
6685
6685
  let o, r;
6686
- const l = "joy-snackbar-" + Se(), s = V(() => pn(n.level));
6686
+ const l = "joy-snackbar-" + Se(), s = I(() => pn(n.level));
6687
6687
  function i() {
6688
6688
  var h;
6689
6689
  (h = n.bus) == null || h.emit("snackbar:action-click");
@@ -6720,14 +6720,14 @@ const ps = () => {
6720
6720
  isOpen: a,
6721
6721
  exposedMethods: v
6722
6722
  }), (h, m) => (f(), g("div", {
6723
- class: I(["joy-snackbar_container", {
6723
+ class: E(["joy-snackbar_container", {
6724
6724
  "joy-snackbar__frozen": e.frozen === !0,
6725
6725
  "joy-snackbar__hiding": !a.value
6726
6726
  }])
6727
6727
  }, [
6728
6728
  b("div", {
6729
6729
  id: l,
6730
- class: I(["joy-snackbar", `joy-snackbar_${e.level}`])
6730
+ class: E(["joy-snackbar", `joy-snackbar_${e.level}`])
6731
6731
  }, [
6732
6732
  b("div", Ks, [
6733
6733
  G(X, { name: s.value }, null, 8, ["name"])
@@ -6741,7 +6741,7 @@ const ps = () => {
6741
6741
  onClick: i
6742
6742
  }, R(e.actionText), 1)) : $("", !0)
6743
6743
  ]),
6744
- e.closable ? (f(), L(ue, {
6744
+ e.closable ? (f(), A(ue, {
6745
6745
  key: 0,
6746
6746
  class: "joy-snackbar__close-icon",
6747
6747
  circle: "",
@@ -6753,7 +6753,7 @@ const ps = () => {
6753
6753
  ], 2)
6754
6754
  ], 2));
6755
6755
  }
6756
- }), Qs = /* @__PURE__ */ F(Xs, [["__scopeId", "data-v-d93e38fe"]]), eu = ["id"], tu = { class: "joy-step__stroke" }, nu = { class: "joy-step__label" }, au = /* @__PURE__ */ A({
6756
+ }), Qs = /* @__PURE__ */ F(Xs, [["__scopeId", "data-v-d93e38fe"]]), eu = ["id"], tu = { class: "joy-step__stroke" }, nu = { class: "joy-step__label" }, au = /* @__PURE__ */ B({
6757
6757
  __name: "VJoyStep",
6758
6758
  props: {
6759
6759
  /** Set it to completed to change it's color */
@@ -6783,7 +6783,7 @@ const ps = () => {
6783
6783
  },
6784
6784
  emits: ["update:subSteps"],
6785
6785
  setup(e, { expose: t, emit: n }) {
6786
- const a = e, o = n, r = C(0.1), l = V(() => a.completed ? "100%" : s.value ? a.subSteps <= 1 || a.currentSubStep === 1 ? "10%" : (Math.min(a.currentSubStep / a.subSteps - r.value, 1 - r.value) * 100).toFixed(1) + "%" : "0%"), s = V(() => a.currentSubStep > 0);
6786
+ const a = e, o = n, r = C(0.1), l = I(() => a.completed ? "100%" : s.value ? a.subSteps <= 1 || a.currentSubStep === 1 ? "10%" : (Math.min(a.currentSubStep / a.subSteps - r.value, 1 - r.value) * 100).toFixed(1) + "%" : "0%"), s = I(() => a.currentSubStep > 0);
6787
6787
  function i(c) {
6788
6788
  c <= 0 && console.warn("subSteps must be equal or greater than 1"), o("update:subSteps");
6789
6789
  }
@@ -6791,7 +6791,7 @@ const ps = () => {
6791
6791
  progress: l
6792
6792
  }), (c, d) => (f(), g("div", {
6793
6793
  id: e.id,
6794
- class: I([
6794
+ class: E([
6795
6795
  "joy-step",
6796
6796
  `joy-step--size-${e.size}`,
6797
6797
  {
@@ -6811,7 +6811,7 @@ const ps = () => {
6811
6811
  ])
6812
6812
  ], 10, eu));
6813
6813
  }
6814
- }), ou = /* @__PURE__ */ F(au, [["__scopeId", "data-v-b63419a7"]]), lu = { class: "joy-stepper" }, ru = /* @__PURE__ */ A({
6814
+ }), ou = /* @__PURE__ */ F(au, [["__scopeId", "data-v-b63419a7"]]), lu = { class: "joy-stepper" }, ru = /* @__PURE__ */ B({
6815
6815
  __name: "VJoyStepper",
6816
6816
  props: {
6817
6817
  /** Current step value */
@@ -6826,7 +6826,7 @@ const ps = () => {
6826
6826
  }
6827
6827
  },
6828
6828
  setup(e, { expose: t }) {
6829
- const n = e, a = ne(), o = V(() => {
6829
+ const n = e, a = ne(), o = I(() => {
6830
6830
  const u = a.default();
6831
6831
  return u.length === 1 && typeof u[0].type != "object" ? u[0].children.filter(r) : u.filter(r);
6832
6832
  });
@@ -6834,7 +6834,7 @@ const ps = () => {
6834
6834
  var y;
6835
6835
  return ((y = u.type) == null ? void 0 : y.__name) === "VJoyStep";
6836
6836
  }
6837
- const l = V(() => n.step > 0 ? o.value[n.step - 1] : o.value[0]), s = V(() => l.value.props === null ? !1 : n.subStep <= 0 || n.subStep > c.value), i = V(() => s.value && l.value.props ? l.value.props["sub-steps"] : n.subStep), c = V(() => l.value.props === null ? l.value.type.props.subSteps.default : l.value.props["sub-steps"]);
6837
+ const l = I(() => n.step > 0 ? o.value[n.step - 1] : o.value[0]), s = I(() => l.value.props === null ? !1 : n.subStep <= 0 || n.subStep > c.value), i = I(() => s.value && l.value.props ? l.value.props["sub-steps"] : n.subStep), c = I(() => l.value.props === null ? l.value.type.props.subSteps.default : l.value.props["sub-steps"]);
6838
6838
  function d(u) {
6839
6839
  return u !== n.step - 1 ? 0 : i.value;
6840
6840
  }
@@ -6845,7 +6845,7 @@ const ps = () => {
6845
6845
  }), (u, y) => (f(), g("div", lu, [
6846
6846
  (f(!0), g(Z, null, te(o.value, (p, v) => {
6847
6847
  var h;
6848
- return f(), L(ou, ee({ ref_for: !0 }, p.props, {
6848
+ return f(), A(ou, ee({ ref_for: !0 }, p.props, {
6849
6849
  key: (h = p.props) == null ? void 0 : h.id,
6850
6850
  completed: v < e.step - 1,
6851
6851
  "current-sub-step": d(v)
@@ -6853,7 +6853,7 @@ const ps = () => {
6853
6853
  default: D(() => {
6854
6854
  var m;
6855
6855
  return [
6856
- (m = p.children) != null && m.default ? (f(), L(re(p.children.default), { key: 0 })) : $("", !0)
6856
+ (m = p.children) != null && m.default ? (f(), A(re(p.children.default), { key: 0 })) : $("", !0)
6857
6857
  ];
6858
6858
  }),
6859
6859
  _: 2
@@ -6861,7 +6861,7 @@ const ps = () => {
6861
6861
  }), 128))
6862
6862
  ]));
6863
6863
  }
6864
- }), Xc = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-dcd87434"]]), iu = ["id", "aria-hidden", "aria-labelledby"], su = /* @__PURE__ */ A({
6864
+ }), Zc = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-dcd87434"]]), iu = ["id", "aria-hidden", "aria-labelledby"], su = /* @__PURE__ */ B({
6865
6865
  __name: "VJoyTab",
6866
6866
  props: {
6867
6867
  /**
@@ -6892,13 +6892,13 @@ const ps = () => {
6892
6892
  }
6893
6893
  },
6894
6894
  setup(e) {
6895
- const t = e, n = De("VJoyTabs", C("")), a = V(() => n.value === t.tab);
6895
+ const t = e, n = De("VJoyTabs", C("")), a = I(() => n.value === t.tab);
6896
6896
  return (o, r) => (f(), g("div", {
6897
6897
  id: `joy-tab-${e.tab}`,
6898
6898
  role: "tabpanel",
6899
6899
  "aria-hidden": a.value ? void 0 : "true",
6900
6900
  "aria-labelledby": `joy-tab-${e.tab}`,
6901
- class: I({
6901
+ class: E({
6902
6902
  "joy-tab": !0,
6903
6903
  "joy-tab__selected": a.value
6904
6904
  })
@@ -6906,10 +6906,10 @@ const ps = () => {
6906
6906
  _(o.$slots, "default", {}, void 0, !0)
6907
6907
  ], 10, iu));
6908
6908
  }
6909
- }), Qc = /* @__PURE__ */ F(su, [["__scopeId", "data-v-a76a7c92"]]), uu = ["id", "href", "aria-selected", "aria-controls"], cu = {
6909
+ }), Xc = /* @__PURE__ */ F(su, [["__scopeId", "data-v-a76a7c92"]]), uu = ["id", "href", "aria-selected", "aria-controls"], cu = {
6910
6910
  type: "button",
6911
6911
  tabindex: "-1"
6912
- }, du = /* @__PURE__ */ A({
6912
+ }, du = /* @__PURE__ */ B({
6913
6913
  __name: "TabButton",
6914
6914
  props: {
6915
6915
  /**
@@ -6964,7 +6964,7 @@ const ps = () => {
6964
6964
  onKeydown: l[0] || (l[0] = (s) => o(s))
6965
6965
  }, [
6966
6966
  b("div", {
6967
- class: I({
6967
+ class: E({
6968
6968
  "joy-tab-button": !0,
6969
6969
  "joy-tab-button__selected": e.selected
6970
6970
  })
@@ -6973,7 +6973,7 @@ const ps = () => {
6973
6973
  _(r.$slots, "default", {}, () => [
6974
6974
  H(R(e.label), 1)
6975
6975
  ], !0),
6976
- e.notifications ? (f(), L(Va, {
6976
+ e.notifications ? (f(), A(Va, {
6977
6977
  key: 0,
6978
6978
  class: "joy-tab-button_notifications",
6979
6979
  variant: "red",
@@ -6983,7 +6983,7 @@ const ps = () => {
6983
6983
  ], 2)
6984
6984
  ], 40, uu));
6985
6985
  }
6986
- }), fu = /* @__PURE__ */ F(du, [["__scopeId", "data-v-26b80ed6"]]), vu = { class: "joy-tabs" }, yu = /* @__PURE__ */ A({
6986
+ }), fu = /* @__PURE__ */ F(du, [["__scopeId", "data-v-26b80ed6"]]), vu = { class: "joy-tabs" }, yu = /* @__PURE__ */ B({
6987
6987
  __name: "VJoyTabs",
6988
6988
  props: {
6989
6989
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -6995,13 +6995,13 @@ const ps = () => {
6995
6995
  setup(e, { expose: t, emit: n }) {
6996
6996
  const a = e, o = n, r = ne(), l = C(a.selectedTab);
6997
6997
  Et("VJoyTabs", l);
6998
- const s = C(null), i = C(null), c = C(!1), d = C(!1), u = V(() => {
6998
+ const s = C(null), i = C(null), c = C(!1), d = C(!1), u = I(() => {
6999
6999
  const m = r.default();
7000
7000
  return m.length === 1 && typeof m[0].type != "object" ? m[0].children.filter(y) : m.filter(y);
7001
7001
  });
7002
7002
  function y(m) {
7003
- var S;
7004
- return ((S = m == null ? void 0 : m.type) == null ? void 0 : S.__name) === "VJoyTab";
7003
+ var k;
7004
+ return ((k = m == null ? void 0 : m.type) == null ? void 0 : k.__name) === "VJoyTab";
7005
7005
  }
7006
7006
  function p(m) {
7007
7007
  return m.props.tab === l.value;
@@ -7009,8 +7009,8 @@ const ps = () => {
7009
7009
  function v() {
7010
7010
  i.value && s.value && i.value.scrollWidth > s.value.offsetWidth ? (d.value = i.value.scrollLeft > 0, c.value = i.value.scrollLeft + s.value.offsetWidth < i.value.scrollWidth) : (d.value = !1, c.value = !1);
7011
7011
  }
7012
- function h(m, S = !0) {
7013
- m && S && (l.value = m, o("update:selected-tab", m));
7012
+ function h(m, k = !0) {
7013
+ m && k && (l.value = m, o("update:selected-tab", m));
7014
7014
  }
7015
7015
  return ae(
7016
7016
  () => a.selectedTab,
@@ -7026,11 +7026,11 @@ const ps = () => {
7026
7026
  (m = i.value) == null || m.removeEventListener("scroll", v);
7027
7027
  }), t({
7028
7028
  tabs: u
7029
- }), (m, S) => (f(), g("div", vu, [
7029
+ }), (m, k) => (f(), g("div", vu, [
7030
7030
  b("div", {
7031
7031
  ref_key: "buttonListWrapper",
7032
7032
  ref: s,
7033
- class: I({
7033
+ class: E({
7034
7034
  "joy-tabs-buttons__wrapper": !0,
7035
7035
  "joy-tabs-buttons__wrapper--scroll-end": c.value,
7036
7036
  "joy-tabs-buttons__wrapper--scroll-start": d.value
@@ -7042,21 +7042,21 @@ const ps = () => {
7042
7042
  class: "joy-tabs-buttons",
7043
7043
  role: "tablist"
7044
7044
  }, [
7045
- (f(!0), g(Z, null, te(u.value, (k) => (f(), g("div", {
7046
- key: k.props.tab
7045
+ (f(!0), g(Z, null, te(u.value, (S) => (f(), g("div", {
7046
+ key: S.props.tab
7047
7047
  }, [
7048
7048
  G(fu, {
7049
- tab: k.props.tab,
7050
- label: k.props.label,
7051
- href: k.props.href,
7052
- notifications: k.props.notifications,
7053
- selected: p(k),
7054
- onChangeTab: () => h(k.props.tab, !k.props.href)
7049
+ tab: S.props.tab,
7050
+ label: S.props.label,
7051
+ href: S.props.href,
7052
+ notifications: S.props.notifications,
7053
+ selected: p(S),
7054
+ onChangeTab: () => h(S.props.tab, !S.props.href)
7055
7055
  }, {
7056
7056
  default: D(() => {
7057
- var B;
7057
+ var V;
7058
7058
  return [
7059
- (B = k.children) != null && B.header ? (f(), L(re(k.children.header), { key: 0 })) : $("", !0)
7059
+ (V = S.children) != null && V.header ? (f(), A(re(S.children.header), { key: 0 })) : $("", !0)
7060
7060
  ];
7061
7061
  }),
7062
7062
  _: 2
@@ -7069,7 +7069,7 @@ const ps = () => {
7069
7069
  ])
7070
7070
  ]));
7071
7071
  }
7072
- }), ed = /* @__PURE__ */ F(yu, [["__scopeId", "data-v-9aea2d41"]]), pu = ["id", "role"], mu = /* @__PURE__ */ A({
7072
+ }), Qc = /* @__PURE__ */ F(yu, [["__scopeId", "data-v-9aea2d41"]]), pu = ["id", "role"], mu = /* @__PURE__ */ B({
7073
7073
  __name: "VJoyTag",
7074
7074
  props: {
7075
7075
  label: {},
@@ -7086,7 +7086,7 @@ const ps = () => {
7086
7086
  },
7087
7087
  emits: ["selected", "remove", "click"],
7088
7088
  setup(e, { emit: t }) {
7089
- const n = ["primary", "secondary"], a = t, o = e, r = V(() => ({
7089
+ const n = ["primary", "secondary"], a = t, o = e, r = I(() => ({
7090
7090
  "joy-tag": !0,
7091
7091
  "joy-tag__selected": o.selected,
7092
7092
  "joy-tag__selectable": o.selectable || o.link,
@@ -7104,12 +7104,12 @@ const ps = () => {
7104
7104
  }
7105
7105
  return (i, c) => (f(), g("span", {
7106
7106
  id: i.value.toString(),
7107
- class: I([r.value]),
7107
+ class: E([r.value]),
7108
7108
  role: i.link || i.selectable ? "button" : void 0,
7109
7109
  onClick: s
7110
7110
  }, [
7111
7111
  _(i.$slots, "default", {}, () => [
7112
- i.draggable ? (f(), L(X, {
7112
+ i.draggable ? (f(), A(X, {
7113
7113
  key: 0,
7114
7114
  class: "joy-tag__drag",
7115
7115
  name: "drag",
@@ -7117,7 +7117,7 @@ const ps = () => {
7117
7117
  })) : $("", !0),
7118
7118
  H(" " + R(i.label), 1)
7119
7119
  ], !0),
7120
- i.removable ? (f(), L(X, {
7120
+ i.removable ? (f(), A(X, {
7121
7121
  key: 0,
7122
7122
  class: "joy-tag__removable",
7123
7123
  name: "cross",
@@ -7141,7 +7141,7 @@ function un(e) {
7141
7141
  return a;
7142
7142
  }) === void 0 : t(e);
7143
7143
  }
7144
- const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholder"], gu = { key: 0 }, wu = { key: 1 }, _u = /* @__PURE__ */ A({
7144
+ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholder"], gu = { key: 0 }, wu = { key: 1 }, _u = /* @__PURE__ */ B({
7145
7145
  __name: "VJoyTagsInput",
7146
7146
  props: {
7147
7147
  name: {},
@@ -7156,7 +7156,7 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7156
7156
  },
7157
7157
  emits: ["update:modelValue", "validation:error"],
7158
7158
  setup(e, { expose: t, emit: n }) {
7159
- const a = e, o = n, r = C(a.modelValue), l = C(!1), s = C(null), i = C(a.invalid), c = C(null), d = V(() => a.validation === "email"), u = V(() => d.value && c.value === "INVALID_EMAIL" && !!a.invalidEmailError), y = V(() => c.value === "DUPLICATED_ENTRY" && !!a.duplicationError), p = V(() => i.value && (!!u.value || !!y.value));
7159
+ const a = e, o = n, r = C(a.modelValue), l = C(!1), s = C(null), i = C(a.invalid), c = C(null), d = I(() => a.validation === "email"), u = I(() => d.value && c.value === "INVALID_EMAIL" && !!a.invalidEmailError), y = I(() => c.value === "DUPLICATED_ENTRY" && !!a.duplicationError), p = I(() => i.value && (!!u.value || !!y.value));
7160
7160
  function v() {
7161
7161
  d.value && i.value === !0 && (c.value = He.INVALID_EMAIL);
7162
7162
  }
@@ -7167,10 +7167,10 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7167
7167
  function m() {
7168
7168
  h() && (c.value = He.DUPLICATED_ENTRY);
7169
7169
  }
7170
- function S(w) {
7170
+ function k(w) {
7171
7171
  var M, T, J, O;
7172
7172
  if (["Enter", ","].includes(w.key)) {
7173
- if (w.preventDefault(), E(), h()) {
7173
+ if (w.preventDefault(), L(), h()) {
7174
7174
  o("validation:error", He.DUPLICATED_ENTRY);
7175
7175
  return;
7176
7176
  } else if ((M = s.value) != null && M.value && !un(s.value.value) && d.value) {
@@ -7182,18 +7182,18 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7182
7182
  if (["Backspace"].includes(w.key)) {
7183
7183
  if (((O = s.value) == null ? void 0 : O.value) !== "")
7184
7184
  return;
7185
- r.value.pop(), o("update:modelValue", r.value), E();
7185
+ r.value.pop(), o("update:modelValue", r.value), L();
7186
7186
  }
7187
7187
  }
7188
- function k() {
7188
+ function S() {
7189
7189
  l.value = !0;
7190
7190
  }
7191
- function B() {
7192
- l.value = !1, E();
7191
+ function V() {
7192
+ l.value = !1, L();
7193
7193
  }
7194
7194
  function P(w) {
7195
7195
  var M;
7196
- r.value = r.value.filter((T) => T !== w.value), o("update:modelValue", r.value), (M = s.value) == null || M.focus(), E();
7196
+ r.value = r.value.filter((T) => T !== w.value), o("update:modelValue", r.value), (M = s.value) == null || M.focus(), L();
7197
7197
  }
7198
7198
  function z() {
7199
7199
  var M, T;
@@ -7204,20 +7204,20 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7204
7204
  }
7205
7205
  i.value = w || h(), !w && h() && (c.value = null);
7206
7206
  }
7207
- function E() {
7207
+ function L() {
7208
7208
  z(), v(), m();
7209
7209
  }
7210
7210
  return ae(
7211
7211
  () => a.modelValue,
7212
7212
  () => {
7213
- E();
7213
+ L();
7214
7214
  },
7215
7215
  { immediate: !0 }
7216
7216
  ), t({
7217
7217
  isInvalid: i,
7218
7218
  hasDuplicates: h
7219
7219
  }), (w, M) => (f(), g("div", hu, [
7220
- w.$slots.default ? (f(), L(Le, {
7220
+ w.$slots.default ? (f(), A(Le, {
7221
7221
  key: 0,
7222
7222
  id: w.name,
7223
7223
  class: "joy-tags-input__label"
@@ -7228,7 +7228,7 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7228
7228
  _: 3
7229
7229
  }, 8, ["id"])) : $("", !0),
7230
7230
  b("div", {
7231
- class: I([
7231
+ class: E([
7232
7232
  "joy-tags-input__inner",
7233
7233
  {
7234
7234
  "joy-tags-input__inner--focused": l.value,
@@ -7236,7 +7236,7 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7236
7236
  }
7237
7237
  ])
7238
7238
  }, [
7239
- (f(!0), g(Z, null, te(r.value, (T) => (f(), L(Gn, {
7239
+ (f(!0), g(Z, null, te(r.value, (T) => (f(), A(Gn, {
7240
7240
  key: T,
7241
7241
  variant: w.variant,
7242
7242
  removable: !0,
@@ -7257,12 +7257,12 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7257
7257
  type: "text",
7258
7258
  name: w.name,
7259
7259
  placeholder: w.placeholder,
7260
- onKeydown: S,
7261
- onFocus: k,
7262
- onBlur: B
7260
+ onKeydown: k,
7261
+ onFocus: S,
7262
+ onBlur: V
7263
7263
  }, null, 40, bu)
7264
7264
  ], 2),
7265
- p.value ? (f(), L(Ft, {
7265
+ p.value ? (f(), A(Ft, {
7266
7266
  key: 1,
7267
7267
  class: "joy-tags-input__error"
7268
7268
  }, {
@@ -7276,7 +7276,7 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7276
7276
  })) : $("", !0)
7277
7277
  ]));
7278
7278
  }
7279
- }), td = /* @__PURE__ */ F(_u, [["__scopeId", "data-v-3576a764"]]), Su = /* @__PURE__ */ A({
7279
+ }), ed = /* @__PURE__ */ F(_u, [["__scopeId", "data-v-3576a764"]]), Su = /* @__PURE__ */ B({
7280
7280
  __name: "VJoyTagsList",
7281
7281
  props: {
7282
7282
  align: {
@@ -7330,9 +7330,9 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7330
7330
  n("removeTag", c.value);
7331
7331
  }
7332
7332
  return (c, d) => (f(), g("div", {
7333
- class: I(["joy-tags-list", `joy-tags-list--${e.align}`])
7333
+ class: E(["joy-tags-list", `joy-tags-list--${e.align}`])
7334
7334
  }, [
7335
- (f(!0), g(Z, null, te(e.tags, (u) => (f(), L(Gn, ee({
7335
+ (f(!0), g(Z, null, te(e.tags, (u) => (f(), A(Gn, ee({
7336
7336
  key: u.value || u.label,
7337
7337
  ref_for: !0
7338
7338
  }, u, {
@@ -7355,8 +7355,8 @@ const hu = { class: "joy-tags-input__wrapper" }, bu = ["id", "name", "placeholde
7355
7355
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
7356
7356
  ], 2));
7357
7357
  }
7358
- }), nd = /* @__PURE__ */ F(Su, [["__scopeId", "data-v-1d8003ef"]]), ku = {}, $u = {
7359
- class: /* @__PURE__ */ I(["joy-template-shape__shapes"])
7358
+ }), td = /* @__PURE__ */ F(Su, [["__scopeId", "data-v-1d8003ef"]]), ku = {}, $u = {
7359
+ class: /* @__PURE__ */ E(["joy-template-shape__shapes"])
7360
7360
  }, ju = /* @__PURE__ */ vn('<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), Cu = [
7361
7361
  ju
7362
7362
  ];
@@ -7384,7 +7384,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7384
7384
  }, zu = {
7385
7385
  key: 1,
7386
7386
  class: "joy-template-slot-sidebar"
7387
- }, Pu = /* @__PURE__ */ A({
7387
+ }, Pu = /* @__PURE__ */ B({
7388
7388
  __name: "VJoyTemplate",
7389
7389
  props: {
7390
7390
  /** Takes 100% of free space */
@@ -7405,11 +7405,11 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7405
7405
  }
7406
7406
  },
7407
7407
  setup(e) {
7408
- const t = e, n = ne(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7408
+ const t = e, n = ne(), a = I(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7409
7409
  return (o, r) => (f(), g("main", {
7410
- class: I(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7410
+ class: E(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7411
7411
  }, [
7412
- e.shapes ? (f(), L(Tu, { key: 0 })) : $("", !0),
7412
+ e.shapes ? (f(), A(Tu, { key: 0 })) : $("", !0),
7413
7413
  b("div", Vu, [
7414
7414
  a.value ? (f(), g("div", Iu, [
7415
7415
  n["template-back"] ? (f(), g("div", Eu, [
@@ -7428,7 +7428,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7428
7428
  ])) : $("", !0)
7429
7429
  ])) : $("", !0),
7430
7430
  b("div", {
7431
- class: I([
7431
+ class: E([
7432
7432
  "joy-template__content",
7433
7433
  {
7434
7434
  "joy-template__content--reverse": t.sidebar === "left"
@@ -7443,7 +7443,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7443
7443
  ])) : $("", !0)
7444
7444
  ], 2)
7445
7445
  ]),
7446
- e.loading ? (f(), L(In, {
7446
+ e.loading ? (f(), A(In, {
7447
7447
  key: 1,
7448
7448
  overlay: "",
7449
7449
  color: e.loadingColor
@@ -7455,7 +7455,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7455
7455
  }, 8, ["color"])) : $("", !0)
7456
7456
  ], 2));
7457
7457
  }
7458
- }), ad = /* @__PURE__ */ F(Pu, [["__scopeId", "data-v-72ffed7d"]]), Ou = /* @__PURE__ */ A({
7458
+ }), nd = /* @__PURE__ */ F(Pu, [["__scopeId", "data-v-72ffed7d"]]), Ou = /* @__PURE__ */ B({
7459
7459
  __name: "VJoyText",
7460
7460
  props: {
7461
7461
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7470,8 +7470,8 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7470
7470
  }
7471
7471
  },
7472
7472
  setup(e) {
7473
- return (t, n) => (f(), L(re(e.tagName), {
7474
- class: I(`joy-text joy-font-${e.preset}`)
7473
+ return (t, n) => (f(), A(re(e.tagName), {
7474
+ class: E(`joy-text joy-font-${e.preset}`)
7475
7475
  }, {
7476
7476
  default: D(() => [
7477
7477
  _(t.$slots, "default", {}, void 0, !0)
@@ -7479,12 +7479,12 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7479
7479
  _: 3
7480
7480
  }, 8, ["class"]));
7481
7481
  }
7482
- }), od = /* @__PURE__ */ F(Ou, [["__scopeId", "data-v-6295f9ec"]]), Du = ["aria-disabled"], Ru = { class: "joy-textarea_wrapper" }, Mu = ["id", "disabled", "name", "required", "minlength", "value"], Ju = {
7482
+ }), ad = /* @__PURE__ */ F(Ou, [["__scopeId", "data-v-6295f9ec"]]), Du = ["aria-disabled"], Ru = { class: "joy-textarea_wrapper" }, Mu = ["id", "disabled", "name", "required", "minlength", "value"], Ju = {
7483
7483
  key: 1,
7484
7484
  class: "joy-textarea_helpers"
7485
7485
  }, qu = {
7486
7486
  inheritAttrs: !1
7487
- }, Hu = /* @__PURE__ */ A({
7487
+ }, Hu = /* @__PURE__ */ B({
7488
7488
  ...qu,
7489
7489
  __name: "VJoyTextarea",
7490
7490
  props: {
@@ -7547,7 +7547,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7547
7547
  element: o.autogrow ? l : void 0
7548
7548
  }), i = C(!1), c = C(!1);
7549
7549
  Nt(l, o.autofocus);
7550
- const d = V(() => o.maxlength ? o.modelValue.length > o.maxlength : !1), u = V(() => o.minlength ? o.modelValue.length < o.minlength : !1), y = V(() => !!(o.label || r.default)), p = {
7550
+ const d = I(() => o.maxlength ? o.modelValue.length > o.maxlength : !1), u = I(() => o.minlength ? o.modelValue.length < o.minlength : !1), y = I(() => !!(o.label || r.default)), p = {
7551
7551
  onInput: (v) => {
7552
7552
  o.modelModifiers.lazy || a("update:modelValue", v.target.value), p.triggerResize();
7553
7553
  },
@@ -7580,7 +7580,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7580
7580
  eventHandlers: p
7581
7581
  }), (v, h) => (f(), g("div", {
7582
7582
  "aria-disabled": e.disabled,
7583
- class: I([
7583
+ class: E([
7584
7584
  "joy-textarea",
7585
7585
  {
7586
7586
  "joy-textarea_invalid": i.value || e.invalid,
@@ -7590,7 +7590,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7590
7590
  }
7591
7591
  ])
7592
7592
  }, [
7593
- y.value ? (f(), L(Le, {
7593
+ y.value ? (f(), A(Le, {
7594
7594
  key: 0,
7595
7595
  for: e.id,
7596
7596
  required: e.required && e.requiredMark,
@@ -7628,9 +7628,9 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7628
7628
  e.minlength || e.maxlength ? (f(), g("div", Ju, [
7629
7629
  e.minlength ? (f(), g("p", {
7630
7630
  key: 0,
7631
- class: I(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
7631
+ class: E(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
7632
7632
  }, [
7633
- u.value ? $("", !0) : (f(), L(X, {
7633
+ u.value ? $("", !0) : (f(), A(X, {
7634
7634
  key: 0,
7635
7635
  name: "check",
7636
7636
  color: "neutral",
@@ -7640,12 +7640,12 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7640
7640
  ], 2)) : $("", !0),
7641
7641
  e.maxlength ? (f(), g("p", {
7642
7642
  key: 1,
7643
- class: I(["joy-textarea-count", { "joy-textarea-count-invalid": d.value }])
7643
+ class: E(["joy-textarea-count", { "joy-textarea-count-invalid": d.value }])
7644
7644
  }, R(e.modelValue.length + "/" + e.maxlength), 3)) : $("", !0)
7645
7645
  ])) : $("", !0)
7646
7646
  ], 10, Du));
7647
7647
  }
7648
- }), ld = /* @__PURE__ */ F(Hu, [["__scopeId", "data-v-52e4553a"]]), Yn = (e) => (Ye("data-v-99a4c774"), e = e(), Ze(), e), Wu = { class: "joy-toggle__wrapper" }, Uu = ["name", "disabled", "checked", "required", "aria-checked", "value"], Ku = { class: "joy-toggle__content" }, Gu = /* @__PURE__ */ Yn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), Yu = { class: "joy-toggle__content-label" }, Zu = /* @__PURE__ */ Yn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
7648
+ }), od = /* @__PURE__ */ F(Hu, [["__scopeId", "data-v-52e4553a"]]), Yn = (e) => (Ye("data-v-99a4c774"), e = e(), Ze(), e), Wu = { class: "joy-toggle__wrapper" }, Uu = ["name", "disabled", "checked", "required", "aria-checked", "value"], Ku = { class: "joy-toggle__content" }, Gu = /* @__PURE__ */ Yn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), Yu = { class: "joy-toggle__content-label" }, Zu = /* @__PURE__ */ Yn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
7649
7649
  /* @__PURE__ */ b("svg", {
7650
7650
  width: "18",
7651
7651
  height: "10",
@@ -7658,7 +7658,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7658
7658
  fill: "currentColor"
7659
7659
  })
7660
7660
  ])
7661
- ], -1)), Xu = /* @__PURE__ */ A({
7661
+ ], -1)), Xu = /* @__PURE__ */ B({
7662
7662
  __name: "VJoyToggle",
7663
7663
  props: {
7664
7664
  modelValue: {
@@ -7708,7 +7708,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7708
7708
  };
7709
7709
  return (r, l) => (f(), g("div", Wu, [
7710
7710
  b("label", {
7711
- class: I([
7711
+ class: E([
7712
7712
  "joy-toggle",
7713
7713
  {
7714
7714
  "joy-toggle__checked": e.modelValue,
@@ -7747,7 +7747,7 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7747
7747
  ], 2)
7748
7748
  ]));
7749
7749
  }
7750
- }), rd = /* @__PURE__ */ F(Xu, [["__scopeId", "data-v-99a4c774"]]), Qu = { class: "joy-tooltip__content__inner" }, ec = /* @__PURE__ */ A({
7750
+ }), ld = /* @__PURE__ */ F(Xu, [["__scopeId", "data-v-99a4c774"]]), Qu = /* @__PURE__ */ B({
7751
7751
  __name: "VJoyTooltip",
7752
7752
  props: {
7753
7753
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -7782,11 +7782,16 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7782
7782
  tooltipWidth: {
7783
7783
  type: Number,
7784
7784
  default: 250
7785
+ },
7786
+ /** Enable click in content. */
7787
+ enableClickInContent: {
7788
+ type: Boolean,
7789
+ default: !1
7785
7790
  }
7786
7791
  },
7787
7792
  setup(e, { expose: t }) {
7788
- const n = ne(), a = e, o = C(!1), r = C(null), l = C(null), s = C(), i = C(
7789
- Un(r, l, {
7793
+ const n = ne(), a = e, o = C(!1), r = C(null), l = C(null), s = C(null), i = C(), c = C(
7794
+ Un(r, s, {
7790
7795
  placement: a.placement,
7791
7796
  transform: !1,
7792
7797
  middleware: [
@@ -7797,90 +7802,99 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7797
7802
  An({
7798
7803
  fallbackPlacements: ["bottom", "top", "left", "right"]
7799
7804
  }),
7800
- Hn({ element: s, padding: 0 })
7805
+ Hn({ element: i, padding: 0 })
7801
7806
  ]
7802
7807
  })
7803
- ), c = V(() => n["tooltip-content"] || a.text);
7804
- function d(h) {
7805
- h.preventDefault(), h.stopPropagation(), !o.value && a.event !== "click" && p();
7808
+ ), d = I(
7809
+ () => a.enableClickInContent ? {
7810
+ ignore: [l]
7811
+ } : {}
7812
+ ), u = I(() => n["tooltip-content"] || a.text);
7813
+ function y(k) {
7814
+ k.preventDefault(), k.stopPropagation(), !o.value && a.event !== "click" && h();
7806
7815
  }
7807
- function u() {
7808
- a.event !== "click" && p(!1);
7816
+ function p() {
7817
+ a.event !== "click" && h(!1);
7809
7818
  }
7810
- function y(h) {
7811
- !o.value && a.event === "click" && (h.preventDefault(), h.stopPropagation(), p());
7819
+ function v(k) {
7820
+ !o.value && a.event === "click" && (k.preventDefault(), k.stopPropagation(), h());
7812
7821
  }
7813
- function p(h = !0) {
7814
- var m;
7815
- (m = i.value) == null || m.update(), setTimeout(() => {
7816
- o.value = h;
7822
+ function h(k = !0) {
7823
+ var S;
7824
+ (S = c.value) == null || S.update(), setTimeout(() => {
7825
+ o.value = k;
7817
7826
  }, a.delay);
7818
7827
  }
7819
- const v = V(() => {
7820
- const { middlewareData: h, placement: m } = i.value, S = h.arrow, k = {
7828
+ const m = I(() => {
7829
+ const { middlewareData: k, placement: S } = c.value, V = k.arrow, P = {
7821
7830
  top: "bottom",
7822
7831
  right: "left",
7823
7832
  bottom: "top",
7824
7833
  left: "right"
7825
- }[m.split("-")[0]];
7834
+ }[S.split("-")[0]];
7826
7835
  return {
7827
- left: (S == null ? void 0 : S.x) && `${S == null ? void 0 : S.x}px`,
7828
- top: (S == null ? void 0 : S.y) && `${S == null ? void 0 : S.y}px`,
7836
+ left: (V == null ? void 0 : V.x) && `${V == null ? void 0 : V.x}px`,
7837
+ top: (V == null ? void 0 : V.y) && `${V == null ? void 0 : V.y}px`,
7829
7838
  right: "",
7830
7839
  bottom: "",
7831
- [k]: "-4px"
7840
+ [P]: "-4px"
7832
7841
  };
7833
7842
  });
7834
7843
  return ie(() => {
7835
- a.show && p();
7844
+ a.show && h();
7836
7845
  }), Re(() => {
7837
7846
  o.value = !1;
7838
7847
  }), t({
7839
7848
  tooltipVisible: o,
7840
- tooltip: l
7841
- }), (h, m) => (f(), L(K(Bt), {
7849
+ tooltip: s
7850
+ }), (k, S) => (f(), A(K(Bt), {
7842
7851
  ref: "tooltipClickOutside",
7843
7852
  class: "joy-tooltip__click-outside",
7844
- onTrigger: m[1] || (m[1] = (S) => p(!1))
7853
+ options: d.value,
7854
+ onTrigger: S[1] || (S[1] = (V) => h(!1))
7845
7855
  }, {
7846
7856
  default: D(() => {
7847
- var S;
7857
+ var V;
7848
7858
  return [
7849
7859
  b("div", {
7850
7860
  ref_key: "tooltipWrapper",
7851
7861
  ref: r,
7852
7862
  class: "joy-tooltip__wrapper",
7853
- onClick: y,
7854
- onMouseenter: d,
7855
- onMouseleave: u,
7856
- onKeydown: m[0] || (m[0] = Qe((k) => p(!1), ["tab"]))
7863
+ onClick: v,
7864
+ onMouseenter: y,
7865
+ onMouseleave: p,
7866
+ onKeydown: S[0] || (S[0] = Qe((P) => h(!1), ["tab"]))
7857
7867
  }, [
7858
- _(h.$slots, "default", {}, void 0, !0),
7859
- (f(), L(Xe, { to: "body" }, [
7860
- o.value && c.value ? (f(), g("div", {
7868
+ _(k.$slots, "default", {}, void 0, !0),
7869
+ (f(), A(Xe, { to: "body" }, [
7870
+ o.value && u.value ? (f(), g("div", {
7861
7871
  key: 0,
7862
7872
  ref_key: "tooltip",
7863
- ref: l,
7873
+ ref: s,
7864
7874
  role: "tooltip",
7865
- class: I([
7875
+ class: E([
7866
7876
  "joy-tooltip__content",
7867
7877
  `joy-tooltip--${e.variant}`,
7868
7878
  {
7869
7879
  "joy-tooltip__content--hiding": !o.value
7870
7880
  }
7871
7881
  ]),
7872
- style: se({ ...(S = i.value) == null ? void 0 : S.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7882
+ style: se({ ...(V = c.value) == null ? void 0 : V.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7873
7883
  }, [
7874
- b("div", Qu, [
7875
- _(h.$slots, "tooltip-content", {}, () => [
7884
+ b("div", {
7885
+ ref_key: "tooltipContent",
7886
+ ref: l,
7887
+ class: "joy-tooltip__content__inner"
7888
+ }, [
7889
+ _(k.$slots, "tooltip-content", {}, () => [
7876
7890
  H(R(e.text), 1)
7877
7891
  ], !0)
7878
- ]),
7892
+ ], 512),
7879
7893
  b("div", {
7880
7894
  ref_key: "tooltipArrow",
7881
- ref: s,
7895
+ ref: i,
7882
7896
  class: "joy-tooltip__arrow",
7883
- style: se(v.value)
7897
+ style: se(m.value)
7884
7898
  }, null, 4)
7885
7899
  ], 6)) : $("", !0)
7886
7900
  ]))
@@ -7888,9 +7902,9 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7888
7902
  ];
7889
7903
  }),
7890
7904
  _: 3
7891
- }, 512));
7905
+ }, 8, ["options"]));
7892
7906
  }
7893
- }), id = /* @__PURE__ */ F(ec, [["__scopeId", "data-v-d54d6979"]]), tc = { class: "joy-user-card__picture" }, nc = { class: "joy-user-card__informations" }, ac = { class: "joy-user-card__title" }, oc = { class: "joy-user-card__subtitle" }, lc = /* @__PURE__ */ A({
7907
+ }), rd = /* @__PURE__ */ F(Qu, [["__scopeId", "data-v-ef1a62ec"]]), ec = { class: "joy-user-card__picture" }, tc = { class: "joy-user-card__informations" }, nc = { class: "joy-user-card__title" }, ac = { class: "joy-user-card__subtitle" }, oc = /* @__PURE__ */ B({
7894
7908
  __name: "VJoyUserCard",
7895
7909
  props: {
7896
7910
  /**
@@ -7917,13 +7931,13 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7917
7931
  }
7918
7932
  },
7919
7933
  setup(e) {
7920
- return (t, n) => (f(), L(re(e.link ? "a" : "div"), ee({
7934
+ return (t, n) => (f(), A(re(e.link ? "a" : "div"), ee({
7921
7935
  class: "joy-user-card",
7922
7936
  href: e.link,
7923
7937
  title: e.fullName
7924
7938
  }, t.$attrs), {
7925
7939
  default: D(() => [
7926
- b("div", tc, [
7940
+ b("div", ec, [
7927
7941
  _(t.$slots, "user-card-avatar", {}, () => [
7928
7942
  G($a, {
7929
7943
  "photo-url": e.photoUrl,
@@ -7931,19 +7945,19 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7931
7945
  }, null, 8, ["photo-url", "full-name"])
7932
7946
  ], !0)
7933
7947
  ]),
7934
- b("div", nc, [
7935
- b("p", ac, [
7948
+ b("div", tc, [
7949
+ b("p", nc, [
7936
7950
  _(t.$slots, "user-card-title", {}, () => [
7937
7951
  H(R(e.fullName), 1)
7938
7952
  ], !0)
7939
7953
  ]),
7940
- b("p", oc, [
7954
+ b("p", ac, [
7941
7955
  _(t.$slots, "user-card-subtitle", {}, () => [
7942
7956
  H(R(e.subTitle), 1)
7943
7957
  ], !0)
7944
7958
  ]),
7945
7959
  _(t.$slots, "user-card-rating-stars", {}, () => [
7946
- e.ratingValue ? (f(), L(Ns, {
7960
+ e.ratingValue ? (f(), A(Ns, {
7947
7961
  key: 0,
7948
7962
  "rating-value": e.ratingValue
7949
7963
  }, null, 8, ["rating-value"])) : $("", !0)
@@ -7956,8 +7970,8 @@ const Tu = /* @__PURE__ */ F(ku, [["render", xu], ["__scopeId", "data-v-da63aa46
7956
7970
  _: 3
7957
7971
  }, 16, ["href", "title"]));
7958
7972
  }
7959
- }), sd = /* @__PURE__ */ F(lc, [["__scopeId", "data-v-86acec3a"]]);
7960
- function rc(e) {
7973
+ }), id = /* @__PURE__ */ F(oc, [["__scopeId", "data-v-86acec3a"]]);
7974
+ function lc(e) {
7961
7975
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
7962
7976
  var a = e.get(t);
7963
7977
  a ? a.push(n) : e.set(t, [n]);
@@ -7973,20 +7987,20 @@ function rc(e) {
7973
7987
  });
7974
7988
  } };
7975
7989
  }
7976
- function ic() {
7977
- return rc();
7990
+ function rc() {
7991
+ return lc();
7978
7992
  }
7979
- const Zn = "joy-snackbar__container", sc = "joy-snackbar__shell--";
7993
+ const Zn = "joy-snackbar__container", ic = "joy-snackbar__shell--";
7980
7994
  let rt = 0, Xn = [];
7981
- const uc = {
7995
+ const sc = {
7982
7996
  install: (e) => {
7983
- typeof window < "u" && cc(), e.directive("joy-ripple", va);
7997
+ typeof window < "u" && uc(), e.directive("joy-ripple", va);
7984
7998
  }
7985
7999
  };
7986
- function ud() {
8000
+ function sd() {
7987
8001
  rt = 0, Xn = [];
7988
8002
  }
7989
- function cc(e = { appendTo: "body", defaultMountSelector: Zn }) {
8003
+ function uc(e = { appendTo: "body", defaultMountSelector: Zn }) {
7990
8004
  var a;
7991
8005
  const t = document.createElement("div");
7992
8006
  t.id = e.defaultMountSelector;
@@ -8002,11 +8016,11 @@ function cc(e = { appendTo: "body", defaultMountSelector: Zn }) {
8002
8016
  }
8003
8017
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (a = document.body.querySelector(e.appendTo)) == null || a.appendChild(t));
8004
8018
  }
8005
- function cd(e) {
8019
+ function ud(e) {
8006
8020
  var r, l;
8007
8021
  rt++;
8008
8022
  let t, n;
8009
- const a = ic();
8023
+ const a = rc();
8010
8024
  t = fa(
8011
8025
  Qs,
8012
8026
  Object.assign(e.props, {
@@ -8015,7 +8029,7 @@ function cd(e) {
8015
8029
  })
8016
8030
  );
8017
8031
  const o = document.createElement("div");
8018
- return o.classList.add("joy-snackbar__shell"), n = `${sc}${rt}`, o.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(o) : (l = document.getElementById(Zn)) == null || l.appendChild(o), t.use(uc).mount("#" + n), Xn.push(t), a.on("snackbar:hide", () => {
8032
+ return o.classList.add("joy-snackbar__shell"), n = `${ic}${rt}`, o.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(o) : (l = document.getElementById(Zn)) == null || l.appendChild(o), t.use(sc).mount("#" + n), Xn.push(t), a.on("snackbar:hide", () => {
8019
8033
  var s;
8020
8034
  t.unmount(), (s = document.getElementById(n)) == null || s.remove();
8021
8035
  }), {
@@ -8024,79 +8038,79 @@ function cd(e) {
8024
8038
  };
8025
8039
  }
8026
8040
  export {
8027
- Zc as $,
8028
- Ac as A,
8029
- Bc as B,
8030
- Fc as C,
8041
+ Yc as $,
8042
+ Lc as A,
8043
+ Ac as B,
8044
+ Bc as C,
8031
8045
  X as D,
8032
8046
  ei as E,
8033
- Nc as F,
8034
- zc as G,
8047
+ Fc as F,
8048
+ Nc as G,
8035
8049
  Le as H,
8036
- Pc as I,
8050
+ zc as I,
8037
8051
  sr as J,
8038
- Oc as K,
8039
- Dc as L,
8040
- Rc as M,
8041
- Mc as N,
8042
- Jc as O,
8043
- qc as P,
8044
- Hc as Q,
8045
- Wc as R,
8046
- Uc as S,
8047
- Kc as T,
8052
+ Pc as K,
8053
+ Oc as L,
8054
+ Dc as M,
8055
+ Rc as N,
8056
+ Mc as O,
8057
+ Jc as P,
8058
+ qc as Q,
8059
+ Hc as R,
8060
+ Wc as S,
8061
+ Uc as T,
8048
8062
  Ns as U,
8049
- fc as V,
8063
+ dc as V,
8050
8064
  In as W,
8051
- Gc as X,
8065
+ Kc as X,
8052
8066
  qs as Y,
8053
- Yc as Z,
8054
- hc as _,
8067
+ Gc as Z,
8068
+ mc as _,
8055
8069
  $a as a,
8056
8070
  Qs as a0,
8057
8071
  mn as a1,
8058
8072
  ou as a2,
8059
- Xc as a3,
8060
- Qc as a4,
8061
- ed as a5,
8073
+ Zc as a3,
8074
+ Xc as a4,
8075
+ Qc as a5,
8062
8076
  Gn as a6,
8063
- td as a7,
8064
- nd as a8,
8065
- ad as a9,
8077
+ ed as a7,
8078
+ td as a8,
8079
+ nd as a9,
8066
8080
  Tu as aa,
8067
- od as ab,
8068
- ld as ac,
8069
- rd as ad,
8070
- id as ae,
8071
- sd as af,
8081
+ ad as ab,
8082
+ od as ac,
8083
+ ld as ad,
8084
+ rd as ae,
8085
+ id as af,
8072
8086
  Ke as ag,
8073
- cc as ah,
8087
+ uc as ah,
8074
8088
  va as ai,
8075
- cd as aj,
8076
- ud as ak,
8077
- vc as b,
8089
+ ud as aj,
8090
+ sd as ak,
8091
+ fc as b,
8078
8092
  Va as c,
8079
- yc as d,
8080
- pc as e,
8081
- mc as f,
8093
+ vc as d,
8094
+ yc as e,
8095
+ pc as f,
8082
8096
  ue as g,
8083
8097
  wn as h,
8084
- bc as i,
8098
+ hc as i,
8085
8099
  Oo as j,
8086
- gc as k,
8087
- wc as l,
8088
- _c as m,
8089
- Sc as n,
8090
- kc as o,
8100
+ bc as k,
8101
+ gc as l,
8102
+ wc as m,
8103
+ _c as n,
8104
+ Sc as o,
8091
8105
  Wt as p,
8092
- $c as q,
8093
- jc as r,
8094
- Cc as s,
8095
- xc as t,
8096
- Tc as u,
8097
- Vc as v,
8098
- Ic as w,
8106
+ kc as q,
8107
+ $c as r,
8108
+ jc as s,
8109
+ Cc as t,
8110
+ xc as u,
8111
+ Tc as v,
8112
+ Vc as w,
8099
8113
  Ft as x,
8100
- Ec as y,
8101
- Lc as z
8114
+ Ic as y,
8115
+ Ec as z
8102
8116
  };