@maltjoy/core-vue 4.0.0-beta.1 → 4.0.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 B, computed as I, openBlock as d, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as Q, createTextVNode as W, toDisplayString as R, createCommentVNode as j, createBlock as L, resolveDynamicComponent as re, mergeProps as X, withCtx as O, renderSlot as k, unref as Y, renderList as te, inject as Ie, normalizeStyle as ie, useAttrs as Ee, useId as ct, resolveDirective as Vt, withDirectives as dt, getCurrentScope as It, onScopeDispose as Et, toRef as Yn, readonly as Zn, customRef as Xn, ref as C, shallowRef as fn, watch as ne, nextTick as Ue, getCurrentInstance as Qn, onMounted as se, h as eo, Teleport as Re, createVNode as q, useSlots as oe, withKeys as Ge, onBeforeUnmount as De, provide as ft, Transition as Lt, createSlots as At, normalizeProps as to, guardReactiveProps as no, mergeModels as oo, useModel as ao, createStaticVNode as yn, onBeforeMount as lo, shallowReadonly as Ae, onUnmounted as vn, vShow as ro, render as Ht, withModifiers as io, createApp as so } from "vue";
1
+ import { defineComponent as B, computed as I, openBlock as d, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as Q, createTextVNode as W, toDisplayString as D, createCommentVNode as j, createBlock as L, resolveDynamicComponent as re, mergeProps as X, withCtx as O, renderSlot as k, unref as Y, renderList as te, inject as Ie, normalizeStyle as ie, useAttrs as Ee, useId as ct, resolveDirective as Vt, withDirectives as dt, getCurrentScope as It, onScopeDispose as Et, toRef as Yn, readonly as Zn, customRef as Xn, ref as C, shallowRef as fn, watch as ne, nextTick as Ue, getCurrentInstance as Qn, onMounted as se, h as eo, Teleport as De, createVNode as q, useSlots as oe, withKeys as Ge, onBeforeUnmount as Re, provide as ft, Transition as Lt, createSlots as At, normalizeProps as to, guardReactiveProps as no, mergeModels as oo, useModel as ao, createStaticVNode as yn, onBeforeMount as lo, shallowReadonly as Ae, onUnmounted as vn, vShow as ro, render as Ht, withModifiers as io, createApp as so } from "vue";
2
2
  function Wt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -97,7 +97,7 @@ const Hu = {
97
97
  class: E(n.value)
98
98
  }, null, 2),
99
99
  e.label ? (d(), g(Q, { key: 0 }, [
100
- W(R(e.label), 1)
100
+ W(D(e.label), 1)
101
101
  ], 64)) : j("", !0)
102
102
  ], 10, po));
103
103
  }
@@ -243,10 +243,10 @@ const Hu = {
243
243
  loading: e.loading
244
244
  }, null, 8, bo)) : j("", !0),
245
245
  e.fullName ? (d(), g(Q, { key: 2 }, [
246
- W(R(u.value), 1)
246
+ W(D(u.value), 1)
247
247
  ], 64)) : j("", !0),
248
248
  e.totalNumber ? (d(), g(Q, { key: 3 }, [
249
- W(R("+" + e.totalNumber), 1)
249
+ W(D("+" + e.totalNumber), 1)
250
250
  ], 64)) : j("", !0)
251
251
  ]),
252
252
  _: 1
@@ -297,7 +297,7 @@ const Hu = {
297
297
  return (t, n) => (d(), g("div", {
298
298
  class: E(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": e.number }])
299
299
  }, [
300
- e.number ? (d(), g("span", $o, R(e.number > 99 ? "99+" : e.number), 1)) : j("", !0)
300
+ e.number ? (d(), g("span", $o, D(e.number > 99 ? "99+" : e.number), 1)) : j("", !0)
301
301
  ], 2));
302
302
  }
303
303
  }), Kt = /* @__PURE__ */ F(_o, [["__scopeId", "data-v-0dc5251e"]]), Co = /* @__PURE__ */ B({
@@ -344,7 +344,7 @@ const Hu = {
344
344
  variant: e.variant
345
345
  }, null, 8, ["variant"])) : j("", !0),
346
346
  k(t.$slots, "default", {}, () => [
347
- W(R(e.label), 1)
347
+ W(D(e.label), 1)
348
348
  ], !0)
349
349
  ], 2));
350
350
  }
@@ -485,7 +485,7 @@ const To = { class: "joy-badge-level" }, Vo = {
485
485
  ])
486
486
  }, [
487
487
  e.visibleText ? k(o.$slots, "default", { key: 0 }, () => [
488
- W(R(n.value), 1)
488
+ W(D(n.value), 1)
489
489
  ], !0) : j("", !0)
490
490
  ], 2)
491
491
  ]));
@@ -610,10 +610,13 @@ const No = /* @__PURE__ */ B({
610
610
  size: {
611
611
  type: String,
612
612
  default: "medium"
613
+ },
614
+ id: {
615
+ type: String
613
616
  }
614
617
  },
615
618
  setup(e, { expose: t }) {
616
- const n = e, o = Ee(), a = ct() + "--button", r = I(() => {
619
+ const n = e, o = Ee(), a = ct() + "--JoyButton", r = I(() => {
617
620
  switch (n.size) {
618
621
  case "xxsmall":
619
622
  return "xxsmall";
@@ -625,9 +628,10 @@ const No = /* @__PURE__ */ B({
625
628
  return "small";
626
629
  }
627
630
  }), l = I(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
628
- return t({ randomId: a }), (s, i) => {
631
+ return t({ generatedId: a }), (s, i) => {
629
632
  const u = Vt("joy-ripple");
630
633
  return dt((d(), L(re(Y(o).href ? "a" : "button"), {
634
+ id: e.id,
631
635
  disabled: e.loading || Y(o).disabled,
632
636
  type: Y(o).type || "button",
633
637
  class: E([
@@ -658,7 +662,7 @@ const No = /* @__PURE__ */ B({
658
662
  class: "joy-button--slot"
659
663
  }, [
660
664
  k(s.$slots, "default", {}, () => [
661
- W(R(e.label), 1)
665
+ W(D(e.label), 1)
662
666
  ], !0)
663
667
  ]),
664
668
  e.icon && e.iconPosition === "right" ? (d(), L(G, {
@@ -670,12 +674,12 @@ const No = /* @__PURE__ */ B({
670
674
  }, null, 8, ["name", "size"])) : j("", !0)
671
675
  ]),
672
676
  _: 3
673
- }, 8, ["disabled", "type", "class", "aria-labelledby"])), [
677
+ }, 8, ["id", "disabled", "type", "class", "aria-labelledby"])), [
674
678
  [u]
675
679
  ]);
676
680
  };
677
681
  }
678
- }), ce = /* @__PURE__ */ F(zo, [["__scopeId", "data-v-f67ebde1"]]);
682
+ }), ce = /* @__PURE__ */ F(zo, [["__scopeId", "data-v-c08989a8"]]);
679
683
  function vt(e) {
680
684
  return It() ? (Et(e), !0) : !1;
681
685
  }
@@ -685,12 +689,12 @@ function be(e) {
685
689
  const pt = typeof window < "u" && typeof document < "u";
686
690
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
687
691
  const Po = (e) => e != null, Oo = Object.prototype.toString, hn = (e) => Oo.call(e) === "[object Object]", Ne = () => {
688
- }, jt = /* @__PURE__ */ Ro();
689
- function Ro() {
692
+ }, jt = /* @__PURE__ */ Do();
693
+ function Do() {
690
694
  var e, t;
691
695
  return pt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
692
696
  }
693
- function Do(...e) {
697
+ function Ro(...e) {
694
698
  if (e.length !== 1)
695
699
  return Yn(...e);
696
700
  const t = e[0];
@@ -910,7 +914,7 @@ const Xe = /* @__PURE__ */ new WeakMap();
910
914
  function Xo(e, t = !1) {
911
915
  const n = C(t);
912
916
  let o = null, a;
913
- ne(Do(e), (s) => {
917
+ ne(Ro(e), (s) => {
914
918
  const i = wt(be(s));
915
919
  if (i) {
916
920
  const u = i;
@@ -1042,7 +1046,7 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1042
1046
  show: p,
1043
1047
  isOpen: u,
1044
1048
  moveContainer: P
1045
- }), (w, M) => s.value ? (d(), L(Re, {
1049
+ }), (w, M) => s.value ? (d(), L(De, {
1046
1050
  key: 0,
1047
1051
  to: e.teleport
1048
1052
  }, [
@@ -1217,7 +1221,7 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1217
1221
  ]),
1218
1222
  b("div", ra, [
1219
1223
  k(c.$slots, "default", {}, () => [
1220
- W(R(e.label), 1)
1224
+ W(D(e.label), 1)
1221
1225
  ], !0),
1222
1226
  b("div", ia, [
1223
1227
  k(c.$slots, "checkbox-content", {}, void 0, !0)
@@ -1307,7 +1311,7 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1307
1311
  color: "secondary",
1308
1312
  name: e.summaryIcon
1309
1313
  }, null, 8, ["name"])) : j("", !0),
1310
- W(" " + R(e.header), 1)
1314
+ W(" " + D(e.header), 1)
1311
1315
  ], 8, ua),
1312
1316
  b("div", ca, [
1313
1317
  k(u.$slots, "collapse-header-right")
@@ -1316,7 +1320,7 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1316
1320
  class: "joy-collapse-item__summary___marker",
1317
1321
  name: "chevron-down"
1318
1322
  }),
1319
- e.subheader ? (d(), g("span", da, R(e.subheader), 1)) : j("", !0),
1323
+ e.subheader ? (d(), g("span", da, D(e.subheader), 1)) : j("", !0),
1320
1324
  b("span", fa, [
1321
1325
  k(u.$slots, "collapse-preview")
1322
1326
  ])
@@ -1489,7 +1493,7 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1489
1493
  }),
1490
1494
  b("div", null, [
1491
1495
  k(t.$slots, "default", {}, () => [
1492
- W(R(e.noHtmlErrorText), 1)
1496
+ W(D(e.noHtmlErrorText), 1)
1493
1497
  ], !0)
1494
1498
  ])
1495
1499
  ], 10, wa));
@@ -1526,10 +1530,10 @@ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-shee
1526
1530
  }, t.$attrs), {
1527
1531
  default: O(() => [
1528
1532
  k(t.$slots, "default", {}, () => [
1529
- W(R(e.text), 1)
1533
+ W(D(e.text), 1)
1530
1534
  ], !0),
1531
1535
  e.required ? (d(), g("span", ja, "*")) : j("", !0),
1532
- e.optionalLabel ? (d(), g("span", Sa, "- " + R(e.optionalLabel), 1)) : j("", !0)
1536
+ e.optionalLabel ? (d(), g("span", Sa, "- " + D(e.optionalLabel), 1)) : j("", !0)
1533
1537
  ]),
1534
1538
  _: 3
1535
1539
  }, 16, ["class"]));
@@ -1539,7 +1543,7 @@ function _a(e) {
1539
1543
  const t = () => e();
1540
1544
  se(() => {
1541
1545
  window.addEventListener("resize", t);
1542
- }), De(() => {
1546
+ }), Re(() => {
1543
1547
  window.removeEventListener("resize", t);
1544
1548
  });
1545
1549
  }
@@ -1675,7 +1679,7 @@ const Ca = { class: "joy-counter" }, xa = ["aria-label", "disabled"], Ta = { cla
1675
1679
  }, {
1676
1680
  default: O(() => [
1677
1681
  k(h.$slots, "default", {}, () => [
1678
- W(R(e.label), 1)
1682
+ W(D(e.label), 1)
1679
1683
  ], !0)
1680
1684
  ]),
1681
1685
  _: 3
@@ -1804,9 +1808,9 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1804
1808
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
1805
1809
  }, _n = function(t) {
1806
1810
  return t.tagName === "INPUT";
1807
- }, Ra = function(t) {
1808
- return _n(t) && t.type === "hidden";
1809
1811
  }, Da = function(t) {
1812
+ return _n(t) && t.type === "hidden";
1813
+ }, Ra = function(t) {
1810
1814
  var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(o) {
1811
1815
  return o.tagName === "SUMMARY";
1812
1816
  });
@@ -1890,8 +1894,8 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1890
1894
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
1891
1895
  // because we're limited in the type of selectors we can use in JSDom (see related
1892
1896
  // note related to `candidateSelectors`)
1893
- lt(n) || Ra(n) || Ua(n, t) || // For a details element with a summary, the summary element gets the focus
1894
- Da(n) || Ka(n));
1897
+ lt(n) || Da(n) || Ua(n, t) || // For a details element with a summary, the summary element gets the focus
1898
+ Ra(n) || Ka(n));
1895
1899
  }, St = function(t, n) {
1896
1900
  return !(Ha(n) || Se(n) < 0 || !rt(t, n));
1897
1901
  }, Ga = function(t) {
@@ -2162,14 +2166,14 @@ var tn = {
2162
2166
  return _.posTabIndexesFound;
2163
2167
  }) && l.containerGroups.length > 1)
2164
2168
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
2165
- }, p = function D(_) {
2169
+ }, p = function R(_) {
2166
2170
  var x = _.activeElement;
2167
2171
  if (x)
2168
- return x.shadowRoot && x.shadowRoot.activeElement !== null ? D(x.shadowRoot) : x;
2169
- }, v = function D(_) {
2172
+ return x.shadowRoot && x.shadowRoot.activeElement !== null ? R(x.shadowRoot) : x;
2173
+ }, v = function R(_) {
2170
2174
  if (_ !== !1 && _ !== p(document)) {
2171
2175
  if (!_ || !_.focus) {
2172
- D(f());
2176
+ R(f());
2173
2177
  return;
2174
2178
  }
2175
2179
  _.focus({
@@ -2549,7 +2553,7 @@ const ul = /* @__PURE__ */ B({
2549
2553
  },
2550
2554
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2551
2555
  setup(e, { expose: t, emit: n }) {
2552
- const o = e, a = n, r = ct() + "--dialog", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2556
+ const o = e, a = n, r = ct() + "--JoyDialog", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2553
2557
  if (s.value)
2554
2558
  return f;
2555
2559
  }), p = I(() => {
@@ -2576,7 +2580,7 @@ const ul = /* @__PURE__ */ B({
2576
2580
  }
2577
2581
  return se(async () => {
2578
2582
  s.value = !0;
2579
- }), De(() => {
2583
+ }), Re(() => {
2580
2584
  u.value === !0 && (a("dialog:before-unmount"), he(!1));
2581
2585
  }), t({
2582
2586
  focusTrapReturn: c,
@@ -2584,7 +2588,7 @@ const ul = /* @__PURE__ */ B({
2584
2588
  hide: $,
2585
2589
  isOpen: u,
2586
2590
  show: S
2587
- }), (A, w) => s.value ? (d(), L(Re, {
2591
+ }), (A, w) => s.value ? (d(), L(De, {
2588
2592
  key: 0,
2589
2593
  to: e.teleport
2590
2594
  }, [
@@ -2690,7 +2694,7 @@ const ul = /* @__PURE__ */ B({
2690
2694
  onClick: w[1] || (w[1] = (M) => $())
2691
2695
  }, {
2692
2696
  default: O(() => [
2693
- W(R(e.cancelText), 1)
2697
+ W(D(e.cancelText), 1)
2694
2698
  ]),
2695
2699
  _: 1
2696
2700
  }, 8, ["size"])) : j("", !0)
@@ -2704,7 +2708,7 @@ const ul = /* @__PURE__ */ B({
2704
2708
  onClick: w[2] || (w[2] = (M) => a("dialog:confirm"))
2705
2709
  }, {
2706
2710
  default: O(() => [
2707
- W(R(e.confirmText), 1)
2711
+ W(D(e.confirmText), 1)
2708
2712
  ]),
2709
2713
  _: 1
2710
2714
  }, 8, ["size"])) : j("", !0)
@@ -2724,7 +2728,7 @@ const ul = /* @__PURE__ */ B({
2724
2728
  })
2725
2729
  ], 8, ["to"])) : j("", !0);
2726
2730
  }
2727
- }), tc = /* @__PURE__ */ F(bl, [["__scopeId", "data-v-08f7579d"]]), nc = /* @__PURE__ */ B({
2731
+ }), tc = /* @__PURE__ */ F(bl, [["__scopeId", "data-v-e41ea69b"]]), nc = /* @__PURE__ */ B({
2728
2732
  __name: "VJoyDialogTrigger",
2729
2733
  props: {
2730
2734
  dialog: {}
@@ -2834,7 +2838,7 @@ const ul = /* @__PURE__ */ B({
2834
2838
  },
2835
2839
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2836
2840
  setup(e, { expose: t, emit: n }) {
2837
- const o = e, a = n, r = ct() + "--drawer", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2841
+ const o = e, a = n, r = ct() + "--JoyDrawer", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2838
2842
  if (s.value)
2839
2843
  return f;
2840
2844
  }), p = I(() => {
@@ -2858,7 +2862,7 @@ const ul = /* @__PURE__ */ B({
2858
2862
  }
2859
2863
  return se(() => {
2860
2864
  s.value = !0;
2861
- }), De(() => {
2865
+ }), Re(() => {
2862
2866
  u.value === !0 && (a("drawer:before-unmount"), he(!1));
2863
2867
  }), t({
2864
2868
  focusTrapReturn: c,
@@ -2866,7 +2870,7 @@ const ul = /* @__PURE__ */ B({
2866
2870
  hide: h,
2867
2871
  isOpen: u,
2868
2872
  show: $
2869
- }), (z, A) => s.value ? (d(), L(Re, {
2873
+ }), (z, A) => s.value ? (d(), L(De, {
2870
2874
  key: 0,
2871
2875
  to: e.teleport
2872
2876
  }, [
@@ -2963,7 +2967,7 @@ const ul = /* @__PURE__ */ B({
2963
2967
  onClick: A[2] || (A[2] = (w) => h())
2964
2968
  }, {
2965
2969
  default: O(() => [
2966
- W(R(e.cancelText), 1)
2970
+ W(D(e.cancelText), 1)
2967
2971
  ]),
2968
2972
  _: 1
2969
2973
  }, 8, ["size"])) : j("", !0)
@@ -2977,7 +2981,7 @@ const ul = /* @__PURE__ */ B({
2977
2981
  onClick: A[3] || (A[3] = (w) => a("drawer:confirm"))
2978
2982
  }, {
2979
2983
  default: O(() => [
2980
- W(R(e.confirmText), 1)
2984
+ W(D(e.confirmText), 1)
2981
2985
  ]),
2982
2986
  _: 1
2983
2987
  }, 8, ["size"])) : j("", !0)
@@ -2994,7 +2998,7 @@ const ul = /* @__PURE__ */ B({
2994
2998
  })
2995
2999
  ], 8, ["to"])) : j("", !0);
2996
3000
  }
2997
- }), ac = /* @__PURE__ */ F(Vl, [["__scopeId", "data-v-ef1e7f29"]]), lc = /* @__PURE__ */ B({
3001
+ }), ac = /* @__PURE__ */ F(Vl, [["__scopeId", "data-v-731df0f1"]]), lc = /* @__PURE__ */ B({
2998
3002
  __name: "VJoyDrawerTrigger",
2999
3003
  props: {
3000
3004
  drawer: {}
@@ -3107,7 +3111,7 @@ const ul = /* @__PURE__ */ B({
3107
3111
  }
3108
3112
  return se(() => {
3109
3113
  window.addEventListener("keydown", f), u();
3110
- }), De(() => {
3114
+ }), Re(() => {
3111
3115
  window.removeEventListener("keydown", f);
3112
3116
  }), t({
3113
3117
  isSelected: l
@@ -3121,7 +3125,7 @@ const ul = /* @__PURE__ */ B({
3121
3125
  type: "button",
3122
3126
  class: "joy-dropdown-list__reset",
3123
3127
  onClick: p
3124
- }, R(e.resetLabel || "Reset"), 1)) : j("", !0),
3128
+ }, D(e.resetLabel || "Reset"), 1)) : j("", !0),
3125
3129
  k(v.$slots, "dropdown-list-header", {}, void 0, !0)
3126
3130
  ])) : j("", !0),
3127
3131
  b("div", {
@@ -3161,7 +3165,7 @@ const ul = /* @__PURE__ */ B({
3161
3165
  onClick: ($) => s(h)
3162
3166
  }, [
3163
3167
  k(v.$slots, "label", X({ ref_for: !0 }, h), () => [
3164
- b("span", null, R(h.label), 1)
3168
+ b("span", null, D(h.label), 1)
3165
3169
  ], !0)
3166
3170
  ], 46, Ll))), 128))
3167
3171
  ], 8, El)) : j("", !0)
@@ -3353,7 +3357,7 @@ const ul = /* @__PURE__ */ B({
3353
3357
  }, At({
3354
3358
  label: O((M) => [
3355
3359
  k(A.$slots, "dropdown-item", to(no(M)), () => [
3356
- b("span", null, R(M.label), 1)
3360
+ b("span", null, D(M.label), 1)
3357
3361
  ], !0)
3358
3362
  ]),
3359
3363
  _: 2
@@ -3399,7 +3403,7 @@ const ul = /* @__PURE__ */ B({
3399
3403
  }, null, 8, ["name"])
3400
3404
  ]));
3401
3405
  }
3402
- }), xn = /* @__PURE__ */ F(Pl, [["__scopeId", "data-v-5a2d1889"]]), Ol = { class: "joy-dropzone__file__description" }, Rl = { class: "joy-dropzone__file__name" }, Dl = {
3406
+ }), xn = /* @__PURE__ */ F(Pl, [["__scopeId", "data-v-5a2d1889"]]), Ol = { class: "joy-dropzone__file__description" }, Dl = { class: "joy-dropzone__file__name" }, Rl = {
3403
3407
  key: 0,
3404
3408
  class: "joy-dropzone__file__information"
3405
3409
  }, Ml = {
@@ -3431,11 +3435,11 @@ const ul = /* @__PURE__ */ B({
3431
3435
  class: "joy-dropzone__file__icon"
3432
3436
  }),
3433
3437
  b("div", Ol, [
3434
- b("span", Rl, R(n.file.name), 1),
3435
- t.information ? (d(), g("div", Dl, [
3438
+ b("span", Dl, D(n.file.name), 1),
3439
+ t.information ? (d(), g("div", Rl, [
3436
3440
  k(o.$slots, "information", { file: o.file }, void 0, !0)
3437
3441
  ])) : j("", !0),
3438
- o.error ? (d(), g("p", Ml, R(o.error), 1)) : j("", !0)
3442
+ o.error ? (d(), g("p", Ml, D(o.error), 1)) : j("", !0)
3439
3443
  ]),
3440
3444
  q(fe, {
3441
3445
  "column-gap": "1",
@@ -3504,17 +3508,17 @@ const ul = /* @__PURE__ */ B({
3504
3508
  return T.size < o.maxSize * 1024 * 1024;
3505
3509
  }
3506
3510
  function v(T) {
3507
- return T.filter((D) => D instanceof File).some((D) => !y(D) || !p(D));
3511
+ return T.filter((R) => R instanceof File).some((R) => !y(R) || !p(R));
3508
3512
  }
3509
3513
  function m(T) {
3510
3514
  if (!(T instanceof File))
3511
3515
  return;
3512
- const J = y(T), D = p(T);
3513
- if (!J && !D)
3516
+ const J = y(T), R = p(T);
3517
+ if (!J && !R)
3514
3518
  return o.errorTextFormatAndMaxSize;
3515
3519
  if (!J)
3516
3520
  return o.errorTextFormat;
3517
- if (!D)
3521
+ if (!R)
3518
3522
  return o.errorTextMaxSize;
3519
3523
  }
3520
3524
  function h() {
@@ -3524,8 +3528,8 @@ const ul = /* @__PURE__ */ B({
3524
3528
  i.value && (i.value.value = "");
3525
3529
  }
3526
3530
  function S(T) {
3527
- var D;
3528
- const J = (D = T.target) == null ? void 0 : D.files;
3531
+ var R;
3532
+ const J = (R = T.target) == null ? void 0 : R.files;
3529
3533
  !J || J.length === 0 || (l.value ? (M(l.value, Array.from(J)), l.value = void 0) : w(Array.from(J)));
3530
3534
  }
3531
3535
  function V(T) {
@@ -3543,10 +3547,10 @@ const ul = /* @__PURE__ */ B({
3543
3547
  function w(T) {
3544
3548
  o.multiple ? z([...a.value, ...T]) : z([T[0]]);
3545
3549
  }
3546
- function M(T, [J, ...D]) {
3550
+ function M(T, [J, ...R]) {
3547
3551
  if (o.multiple) {
3548
3552
  const _ = [...a.value];
3549
- _[a.value.indexOf(T)] = J, _.push(...D), z(_);
3553
+ _[a.value.indexOf(T)] = J, _.push(...R), z(_);
3550
3554
  } else
3551
3555
  z([J]);
3552
3556
  }
@@ -3580,26 +3584,26 @@ const ul = /* @__PURE__ */ B({
3580
3584
  class: "joy-dropzone__label"
3581
3585
  }, [
3582
3586
  a.value.length > 0 ? (d(), g("div", Ul, [
3583
- (d(!0), g(Q, null, te(a.value, (D, _) => (d(), L(ql, {
3584
- key: `${D.name}_${_}`,
3585
- file: D,
3586
- error: T.multiple ? m(D) : void 0,
3587
+ (d(!0), g(Q, null, te(a.value, (R, _) => (d(), L(ql, {
3588
+ key: `${R.name}_${_}`,
3589
+ file: R,
3590
+ error: T.multiple ? m(R) : void 0,
3587
3591
  "update-label": T.updateLabel,
3588
3592
  "delete-label": T.deleteLabel,
3589
- onUpdate: (x) => P(D),
3590
- onDelete: (x) => A(D)
3593
+ onUpdate: (x) => P(R),
3594
+ onDelete: (x) => A(R)
3591
3595
  }, At({ _: 2 }, [
3592
3596
  n["file-information"] ? {
3593
3597
  name: "information",
3594
3598
  fn: O(() => [
3595
- k(T.$slots, "file-information", { file: D }, void 0, !0)
3599
+ k(T.$slots, "file-information", { file: R }, void 0, !0)
3596
3600
  ]),
3597
3601
  key: "0"
3598
3602
  } : void 0,
3599
3603
  n["file-actions"] ? {
3600
3604
  name: "actions",
3601
3605
  fn: O(() => [
3602
- k(T.$slots, "file-actions", { file: D }, void 0, !0)
3606
+ k(T.$slots, "file-actions", { file: R }, void 0, !0)
3603
3607
  ]),
3604
3608
  key: "1"
3605
3609
  } : void 0
@@ -3680,7 +3684,7 @@ const ul = /* @__PURE__ */ B({
3680
3684
  class: E(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
3681
3685
  onClick: r
3682
3686
  }, [
3683
- W(R(e.label) + " ", 1),
3687
+ W(D(e.label) + " ", 1),
3684
3688
  k(l.$slots, "default", {}, void 0, !0),
3685
3689
  Y(a) ? (d(), L(G, {
3686
3690
  key: 0,
@@ -4102,7 +4106,7 @@ const ul = /* @__PURE__ */ B({
4102
4106
  }, {
4103
4107
  default: O(() => [
4104
4108
  k(V.$slots, "default", {}, () => [
4105
- W(R(e.label), 1)
4109
+ W(D(e.label), 1)
4106
4110
  ], !0)
4107
4111
  ]),
4108
4112
  _: 3
@@ -4198,7 +4202,7 @@ const ul = /* @__PURE__ */ B({
4198
4202
  }, null, 8, ["name"])) : j("", !0),
4199
4203
  b("span", _r, [
4200
4204
  k(t.$slots, "default", {}, () => [
4201
- W(R(e.text), 1)
4205
+ W(D(e.text), 1)
4202
4206
  ], !0)
4203
4207
  ])
4204
4208
  ], 16, $r));
@@ -4332,7 +4336,7 @@ const ul = /* @__PURE__ */ B({
4332
4336
  key: 0,
4333
4337
  name: m.icon
4334
4338
  }, null, 8, ["name"])) : j("", !0),
4335
- b("span", null, R(m.label), 1)
4339
+ b("span", null, D(m.label), 1)
4336
4340
  ], !0)
4337
4341
  ])
4338
4342
  ], 42, Lr)), [
@@ -4401,7 +4405,7 @@ const ul = /* @__PURE__ */ B({
4401
4405
  size: e.labelSize
4402
4406
  }, {
4403
4407
  default: O(() => [
4404
- W(R(e.label), 1)
4408
+ W(D(e.label), 1)
4405
4409
  ]),
4406
4410
  _: 1
4407
4411
  }, 8, ["required", "optional-label", "size"])) : j("", !0),
@@ -4416,7 +4420,7 @@ const ul = /* @__PURE__ */ B({
4416
4420
  }, {
4417
4421
  default: O(() => [
4418
4422
  k(l.$slots, "checkbox", X({ ref_for: !0 }, i), () => [
4419
- W(R(i.label), 1)
4423
+ W(D(i.label), 1)
4420
4424
  ], !0)
4421
4425
  ]),
4422
4426
  _: 2
@@ -4455,7 +4459,7 @@ const ul = /* @__PURE__ */ B({
4455
4459
  onClick: n[0] || (n[0] = (o) => t.$emit("click"))
4456
4460
  }, null, 8, ["label", "title", "icon", "disabled"]));
4457
4461
  }
4458
- }), Pr = ["aria-label", "data-current"], Or = ["onClick"], Rr = ["aria-current"], Dr = 6, Mr = /* @__PURE__ */ B({
4462
+ }), Pr = ["aria-label", "data-current"], Or = ["onClick"], Dr = ["aria-current"], Rr = 6, Mr = /* @__PURE__ */ B({
4459
4463
  __name: "VJoyPagination",
4460
4464
  props: {
4461
4465
  /** Current page number */
@@ -4489,7 +4493,7 @@ const ul = /* @__PURE__ */ B({
4489
4493
  const n = e, o = t, a = I(() => {
4490
4494
  const c = l.value.length;
4491
4495
  return l.value[c - 1] !== l.value[c - 2] + 1;
4492
- }), r = I(() => l.value[0] !== l.value[1] - 1), l = I(() => n.totalPages === 1 ? [1] : n.totalPages < Dr ? i(2, n.totalPages - 1) : u(n.currentPage));
4496
+ }), r = I(() => l.value[0] !== l.value[1] - 1), l = I(() => n.totalPages === 1 ? [1] : n.totalPages < Rr ? i(2, n.totalPages - 1) : u(n.currentPage));
4493
4497
  function s(c, f) {
4494
4498
  n.currentPage === 1 && f === "prev" || n.currentPage === n.totalPages && f === "next" || o("update:current-page", c);
4495
4499
  }
@@ -4539,7 +4543,7 @@ const ul = /* @__PURE__ */ B({
4539
4543
  b("button", {
4540
4544
  type: "button",
4541
4545
  "aria-current": y === e.currentPage ? "true" : "false"
4542
- }, R(y), 9, Rr)
4546
+ }, D(y), 9, Dr)
4543
4547
  ], !0)
4544
4548
  ], 10, Or))), 128))
4545
4549
  ])
@@ -4736,12 +4740,12 @@ function Ot(e) {
4736
4740
  function Te(e) {
4737
4741
  return ["top", "bottom"].includes(ge(e)) ? "y" : "x";
4738
4742
  }
4739
- function Rt(e) {
4743
+ function Dt(e) {
4740
4744
  return Pt(Te(e));
4741
4745
  }
4742
4746
  function ui(e, t, n) {
4743
4747
  n === void 0 && (n = !1);
4744
- const o = Ye(e), a = Rt(e), r = Ot(a);
4748
+ const o = Ye(e), a = Dt(e), r = Ot(a);
4745
4749
  let l = a === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
4746
4750
  return t.reference[r] > t.floating[r] && (l = it(l)), [l, it(l)];
4747
4751
  }
@@ -4813,7 +4817,7 @@ function ln(e, t, n) {
4813
4817
  reference: o,
4814
4818
  floating: a
4815
4819
  } = e;
4816
- const r = Te(t), l = Rt(t), s = Ot(l), i = ge(t), u = r === "y", c = o.x + o.width / 2 - a.width / 2, f = o.y + o.height / 2 - a.height / 2, y = o[s] / 2 - a[s] / 2;
4820
+ const r = Te(t), l = Dt(t), s = Ot(l), i = ge(t), u = r === "y", c = o.x + o.width / 2 - a.width / 2, f = o.y + o.height / 2 - a.height / 2, y = o[s] / 2 - a[s] / 2;
4817
4821
  let p;
4818
4822
  switch (i) {
4819
4823
  case "top":
@@ -4983,10 +4987,10 @@ const pi = (e) => ({
4983
4987
  const f = Vn(c), y = {
4984
4988
  x: n,
4985
4989
  y: o
4986
- }, p = Rt(a), v = Ot(p), m = await l.getDimensions(u), h = p === "y", $ = h ? "top" : "left", S = h ? "bottom" : "right", V = h ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4990
+ }, p = Dt(a), v = Ot(p), m = await l.getDimensions(u), h = p === "y", $ = h ? "top" : "left", S = h ? "bottom" : "right", V = h ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4987
4991
  let w = A ? A[V] : 0;
4988
4992
  (!w || !await (l.isElement == null ? void 0 : l.isElement(A))) && (w = s.floating[V] || r.floating[v]);
4989
- const M = P / 2 - z / 2, T = w / 2 - m[v] / 2 - 1, J = $t(f[$], T), D = $t(f[S], T), _ = J, x = w - m[v] - D, N = w / 2 - m[v] / 2 + M, U = _t(_, N, x), H = !i.arrow && Ye(a) != null && N !== U && r.reference[v] / 2 - (N < _ ? J : D) - m[v] / 2 < 0, K = H ? N < _ ? N - _ : N - x : 0;
4993
+ const M = P / 2 - z / 2, T = w / 2 - m[v] / 2 - 1, J = $t(f[$], T), R = $t(f[S], T), _ = J, x = w - m[v] - R, N = w / 2 - m[v] / 2 + M, U = _t(_, N, x), H = !i.arrow && Ye(a) != null && N !== U && r.reference[v] / 2 - (N < _ ? J : R) - m[v] / 2 < 0, K = H ? N < _ ? N - _ : N - x : 0;
4990
4994
  return {
4991
4995
  [p]: y[p] + K,
4992
4996
  data: {
@@ -5035,8 +5039,8 @@ const pi = (e) => ({
5035
5039
  placement: a,
5036
5040
  overflows: T
5037
5041
  }], !T.every((N) => N <= 0)) {
5038
- var D, _;
5039
- const N = (((D = r.flip) == null ? void 0 : D.index) || 0) + 1, U = w[N];
5042
+ var R, _;
5043
+ const N = (((R = r.flip) == null ? void 0 : R.index) || 0) + 1, U = w[N];
5040
5044
  if (U)
5041
5045
  return {
5042
5046
  data: {
@@ -5262,14 +5266,14 @@ function Ze(e) {
5262
5266
  function hi(e) {
5263
5267
  return ["table", "td", "th"].includes(ke(e));
5264
5268
  }
5265
- function Dt(e) {
5269
+ function Rt(e) {
5266
5270
  const t = Mt(), n = de(e);
5267
5271
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
5268
5272
  }
5269
5273
  function bi(e) {
5270
5274
  let t = Oe(e);
5271
5275
  for (; ye(t) && !mt(t); ) {
5272
- if (Dt(t))
5276
+ if (Rt(t))
5273
5277
  return t;
5274
5278
  t = Oe(t);
5275
5279
  }
@@ -5460,9 +5464,9 @@ function sn(e, t, n) {
5460
5464
  }
5461
5465
  return st(o);
5462
5466
  }
5463
- function Rn(e, t) {
5467
+ function Dn(e, t) {
5464
5468
  const n = Oe(e);
5465
- return n === t || !ve(n) || mt(n) ? !1 : de(n).position === "fixed" || Rn(n, t);
5469
+ return n === t || !ve(n) || mt(n) ? !1 : de(n).position === "fixed" || Dn(n, t);
5466
5470
  }
5467
5471
  function Ci(e, t) {
5468
5472
  const n = t.get(e);
@@ -5472,8 +5476,8 @@ function Ci(e, t) {
5472
5476
  const r = de(e).position === "fixed";
5473
5477
  let l = r ? Oe(e) : e;
5474
5478
  for (; ve(l) && !mt(l); ) {
5475
- const s = de(l), i = Dt(l);
5476
- !i && s.position === "fixed" && (a = null), (r ? !i && !a : !i && s.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || Ze(l) && !i && Rn(e, l)) ? o = o.filter((c) => c !== l) : a = s, l = Oe(l);
5479
+ const s = de(l), i = Rt(l);
5480
+ !i && s.position === "fixed" && (a = null), (r ? !i && !a : !i && s.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || Ze(l) && !i && Dn(e, l)) ? o = o.filter((c) => c !== l) : a = s, l = Oe(l);
5477
5481
  }
5478
5482
  return t.set(e, o), o;
5479
5483
  }
@@ -5520,14 +5524,14 @@ function Vi(e, t, n) {
5520
5524
  function un(e, t) {
5521
5525
  return !ye(e) || de(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
5522
5526
  }
5523
- function Dn(e, t) {
5527
+ function Rn(e, t) {
5524
5528
  const n = ue(e);
5525
5529
  if (!ye(e))
5526
5530
  return n;
5527
5531
  let o = un(e, t);
5528
5532
  for (; o && hi(o) && de(o).position === "static"; )
5529
5533
  o = un(o, t);
5530
- return o && (ke(o) === "html" || ke(o) === "body" && de(o).position === "static" && !Dt(o)) ? n : o || bi(e) || n;
5534
+ return o && (ke(o) === "html" || ke(o) === "body" && de(o).position === "static" && !Rt(o)) ? n : o || bi(e) || n;
5531
5535
  }
5532
5536
  const Ii = async function(e) {
5533
5537
  let {
@@ -5535,7 +5539,7 @@ const Ii = async function(e) {
5535
5539
  floating: n,
5536
5540
  strategy: o
5537
5541
  } = e;
5538
- const a = this.getOffsetParent || Dn, r = this.getDimensions;
5542
+ const a = this.getOffsetParent || Rn, r = this.getDimensions;
5539
5543
  return {
5540
5544
  reference: Vi(t, await a(n), o),
5541
5545
  floating: {
@@ -5552,7 +5556,7 @@ const Li = {
5552
5556
  convertOffsetParentRelativeRectToViewportRelativeRect: ki,
5553
5557
  getDocumentElement: pe,
5554
5558
  getClippingRect: xi,
5555
- getOffsetParent: Dn,
5559
+ getOffsetParent: Rn,
5556
5560
  getElementRects: Ii,
5557
5561
  getClientRects: ji,
5558
5562
  getDimensions: Ti,
@@ -5785,7 +5789,7 @@ const Oi = () => {
5785
5789
  },
5786
5790
  productToursRef: e
5787
5791
  };
5788
- }, Wn = Oi(), Ri = { class: "joy-product-tour__content" }, Di = { class: "joy-product-tour__header" }, Mi = {
5792
+ }, Wn = Oi(), Di = { class: "joy-product-tour__content" }, Ri = { class: "joy-product-tour__header" }, Mi = {
5789
5793
  key: 0,
5790
5794
  class: "joy-product-tour__footer"
5791
5795
  }, Ji = { class: "joy-product-tour__footer___steps" }, qi = "joy-product-tour-spotlight__wrapper", Hi = /* @__PURE__ */ B({
@@ -5922,7 +5926,7 @@ const Oi = () => {
5922
5926
  onClick: h
5923
5927
  })) : j("", !0)
5924
5928
  ], 2),
5925
- b("div", Ri, [
5929
+ b("div", Di, [
5926
5930
  w.icon ? (d(), L(G, {
5927
5931
  key: 0,
5928
5932
  class: "joy-product-tour__content___icon",
@@ -5930,7 +5934,7 @@ const Oi = () => {
5930
5934
  size: "medium"
5931
5935
  }, null, 8, ["name"])) : j("", !0),
5932
5936
  b("div", null, [
5933
- b("div", Di, [
5937
+ b("div", Ri, [
5934
5938
  k(w.$slots, "product-tour-header", {}, void 0, !0)
5935
5939
  ]),
5936
5940
  k(w.$slots, "product-tour-content", {}, void 0, !0)
@@ -5942,7 +5946,7 @@ const Oi = () => {
5942
5946
  ]),
5943
5947
  b("span", Ji, [
5944
5948
  w.steps > 1 ? (d(), g(Q, { key: 0 }, [
5945
- W(R(w.step) + "/" + R(w.steps), 1)
5949
+ W(D(w.step) + "/" + D(w.steps), 1)
5946
5950
  ], 64)) : j("", !0)
5947
5951
  ]),
5948
5952
  k(w.$slots, "product-tour-next", {}, void 0, !0)
@@ -5989,7 +5993,7 @@ const Oi = () => {
5989
5993
  }), t({
5990
5994
  show: f,
5991
5995
  hide: p
5992
- }), (v, m) => (d(), L(Re, { to: "body" }, [
5996
+ }), (v, m) => (d(), L(De, { to: "body" }, [
5993
5997
  q(Wi, X({ ...a, ...c.value }, {
5994
5998
  ref_key: "productTour",
5995
5999
  ref: i,
@@ -6276,7 +6280,7 @@ const Oi = () => {
6276
6280
  ]),
6277
6281
  b("div", os, [
6278
6282
  k(r.$slots, "rating-stars-content", {}, () => [
6279
- e.reviewCount ? (d(), g("span", as, "(" + R(e.reviewCount) + ")", 1)) : j("", !0)
6283
+ e.reviewCount ? (d(), g("span", as, "(" + D(e.reviewCount) + ")", 1)) : j("", !0)
6280
6284
  ], !0)
6281
6285
  ])
6282
6286
  ], 8, ts));
@@ -6384,7 +6388,7 @@ const Oi = () => {
6384
6388
  size: f.value
6385
6389
  }, {
6386
6390
  default: O(() => [
6387
- W(R(e.label), 1)
6391
+ W(D(e.label), 1)
6388
6392
  ]),
6389
6393
  _: 1
6390
6394
  }, 8, ["required", "optional-label", "for", "size"])) : j("", !0)
@@ -6420,7 +6424,7 @@ const Oi = () => {
6420
6424
  ref_for: !0
6421
6425
  }, $.props, {
6422
6426
  selected: ((V = $.props) == null ? void 0 : V.value) === e.modelValue
6423
- }), R($.children), 17, ss);
6427
+ }), D($.children), 17, ss);
6424
6428
  }), 128))
6425
6429
  ], 40, is),
6426
6430
  q(G, {
@@ -6565,7 +6569,7 @@ const Oi = () => {
6565
6569
  class: E([{ "joy-selectable-item__sublabel": u.$slots["selectable-item-sublabel"] }])
6566
6570
  }, [
6567
6571
  k(u.$slots, "selectable-item-sublabel", {}, () => [
6568
- W(R(e.subLabel), 1)
6572
+ W(D(e.subLabel), 1)
6569
6573
  ], !0)
6570
6574
  ], 2)
6571
6575
  ]),
@@ -6636,7 +6640,7 @@ const Oi = () => {
6636
6640
  size: e.labelSize
6637
6641
  }, {
6638
6642
  default: O(() => [
6639
- W(R(e.label), 1)
6643
+ W(D(e.label), 1)
6640
6644
  ]),
6641
6645
  _: 1
6642
6646
  }, 8, ["required", "optional-label", "size"])) : j("", !0),
@@ -6663,7 +6667,7 @@ const Oi = () => {
6663
6667
  }), At({
6664
6668
  default: O(() => [
6665
6669
  k(l.$slots, "item", X({ ref_for: !0 }, i), () => [
6666
- W(R(i.label), 1)
6670
+ W(D(i.label), 1)
6667
6671
  ], !0)
6668
6672
  ]),
6669
6673
  _: 2
@@ -6671,7 +6675,7 @@ const Oi = () => {
6671
6675
  i.subLabel ? {
6672
6676
  name: "selectable-item-sublabel",
6673
6677
  fn: O(() => [
6674
- W(R(i.subLabel), 1)
6678
+ W(D(i.subLabel), 1)
6675
6679
  ]),
6676
6680
  key: "0"
6677
6681
  } : void 0
@@ -6695,7 +6699,7 @@ const Oi = () => {
6695
6699
  return (t, n) => (d(), g("div", {
6696
6700
  class: E(["joy-separator", { "joy-separator__small": e.size === "small" }])
6697
6701
  }, [
6698
- b("span", null, R(e.text), 1)
6702
+ b("span", null, D(e.text), 1)
6699
6703
  ], 2));
6700
6704
  }
6701
6705
  }), Ec = /* @__PURE__ */ F(hs, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img joy-core-radius-6 joy-bgcolor-neutral-50" }, gs = { class: "joy-snackbar__content" }, ws = {
@@ -6804,13 +6808,13 @@ const Oi = () => {
6804
6808
  }, null, 8, ["name"])
6805
6809
  ]),
6806
6810
  b("div", gs, [
6807
- e.header ? (d(), g("strong", ws, R(e.header), 1)) : j("", !0),
6811
+ e.header ? (d(), g("strong", ws, D(e.header), 1)) : j("", !0),
6808
6812
  b("span", { innerHTML: e.message }, null, 8, ks),
6809
6813
  e.actionText ? (d(), g("p", {
6810
6814
  key: 1,
6811
6815
  class: "joy-snackbar__trigger___action",
6812
6816
  onClick: i
6813
- }, R(e.actionText), 1)) : j("", !0)
6817
+ }, D(e.actionText), 1)) : j("", !0)
6814
6818
  ]),
6815
6819
  e.closable ? (d(), g("button", {
6816
6820
  key: 0,
@@ -7057,7 +7061,7 @@ const Oi = () => {
7057
7061
  }, [
7058
7062
  b("button", Bs, [
7059
7063
  k(r.$slots, "default", {}, () => [
7060
- W(R(e.label), 1)
7064
+ W(D(e.label), 1)
7061
7065
  ], !0),
7062
7066
  e.notifications ? (d(), L(xo, {
7063
7067
  key: 0,
@@ -7107,7 +7111,7 @@ const Oi = () => {
7107
7111
  ), se(() => {
7108
7112
  var h;
7109
7113
  v(), (h = i.value) == null || h.addEventListener("scroll", v);
7110
- }), De(() => {
7114
+ }), Re(() => {
7111
7115
  var h;
7112
7116
  (h = i.value) == null || h.removeEventListener("scroll", v);
7113
7117
  }), t({
@@ -7155,7 +7159,7 @@ const Oi = () => {
7155
7159
  ])
7156
7160
  ]));
7157
7161
  }
7158
- }), Bc = /* @__PURE__ */ F(Ps, [["__scopeId", "data-v-9aea2d41"]]), Os = ["role"], Rs = /* @__PURE__ */ B({
7162
+ }), Bc = /* @__PURE__ */ F(Ps, [["__scopeId", "data-v-9aea2d41"]]), Os = ["id", "role"], Ds = /* @__PURE__ */ B({
7159
7163
  __name: "VJoyTag",
7160
7164
  props: {
7161
7165
  label: {},
@@ -7168,7 +7172,8 @@ const Oi = () => {
7168
7172
  link: { type: Boolean, default: !1 },
7169
7173
  value: { default: void 0 },
7170
7174
  strikethrough: { type: Boolean, default: !1 },
7171
- disabled: { type: Boolean, default: !1 }
7175
+ disabled: { type: Boolean, default: !1 },
7176
+ id: {}
7172
7177
  },
7173
7178
  emits: ["selected", "remove", "click"],
7174
7179
  setup(e, { emit: t }) {
@@ -7181,40 +7186,40 @@ const Oi = () => {
7181
7186
  "joy-tag__disabled": a.disabled,
7182
7187
  ["joy-tag__" + a.size]: !0,
7183
7188
  ["joy-tag__" + a.variant]: !0
7184
- })), l = ct() + "--tag";
7185
- function s() {
7189
+ })), l = ct() + "--JoyTag", s = I(() => a.id || l);
7190
+ function i() {
7186
7191
  o("remove", { value: a.value });
7187
7192
  }
7188
- function i() {
7193
+ function u() {
7189
7194
  a.disabled || (o("click"), a.selectable && n.includes(a.variant) && o("selected", { selected: !a.selected, value: a.value }));
7190
7195
  }
7191
- return (u, c) => (d(), g("span", {
7192
- id: l,
7196
+ return (c, f) => (d(), g("span", {
7197
+ id: s.value,
7193
7198
  class: E([r.value]),
7194
- role: u.link || u.selectable ? "button" : void 0,
7195
- onClick: i
7199
+ role: c.link || c.selectable ? "button" : void 0,
7200
+ onClick: u
7196
7201
  }, [
7197
- k(u.$slots, "default", {}, () => [
7198
- u.draggable ? (d(), L(G, {
7202
+ k(c.$slots, "default", {}, () => [
7203
+ c.draggable ? (d(), L(G, {
7199
7204
  key: 0,
7200
7205
  class: "joy-tag__drag",
7201
7206
  name: "drag",
7202
7207
  size: "xxsmall"
7203
7208
  })) : j("", !0),
7204
- W(" " + R(u.label), 1)
7209
+ W(" " + D(c.label), 1)
7205
7210
  ], !0),
7206
- u.removable ? (d(), L(G, {
7211
+ c.removable ? (d(), L(G, {
7207
7212
  key: 0,
7208
7213
  class: "joy-tag__removable",
7209
7214
  name: "cross",
7210
7215
  size: "xxsmall",
7211
7216
  role: "button",
7212
- onClick: io(s, ["stop"]),
7213
- onKeydown: Ge(s, ["enter"])
7217
+ onClick: io(i, ["stop"]),
7218
+ onKeydown: Ge(i, ["enter"])
7214
7219
  })) : j("", !0)
7215
7220
  ], 10, Os));
7216
7221
  }
7217
- }), Un = /* @__PURE__ */ F(Rs, [["__scopeId", "data-v-51fb5e92"]]);
7222
+ }), Un = /* @__PURE__ */ F(Ds, [["__scopeId", "data-v-9c079536"]]);
7218
7223
  var He = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(He || {});
7219
7224
  function dn(e) {
7220
7225
  if (!Array.isArray(e) && typeof e != "string")
@@ -7227,7 +7232,7 @@ function dn(e) {
7227
7232
  return o;
7228
7233
  }) === void 0 : t(e);
7229
7234
  }
7230
- const Ds = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholder"], Js = { key: 0 }, qs = { key: 1 }, Hs = /* @__PURE__ */ B({
7235
+ const Rs = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholder"], Js = { key: 0 }, qs = { key: 1 }, Hs = /* @__PURE__ */ B({
7231
7236
  __name: "VJoyTagsInput",
7232
7237
  props: {
7233
7238
  name: {},
@@ -7254,7 +7259,7 @@ const Ds = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholde
7254
7259
  m() && (u.value = He.DUPLICATED_ENTRY);
7255
7260
  }
7256
7261
  function $(w) {
7257
- var M, T, J, D;
7262
+ var M, T, J, R;
7258
7263
  if (["Enter", ","].includes(w.key)) {
7259
7264
  if (w.preventDefault(), A(), m()) {
7260
7265
  a("validation:error", He.DUPLICATED_ENTRY);
@@ -7266,7 +7271,7 @@ const Ds = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholde
7266
7271
  (T = s.value) != null && T.value && (r.value = [...r.value, (J = s.value) == null ? void 0 : J.value], s.value.value = "", a("update:modelValue", r.value));
7267
7272
  }
7268
7273
  if (["Backspace"].includes(w.key)) {
7269
- if (((D = s.value) == null ? void 0 : D.value) !== "")
7274
+ if (((R = s.value) == null ? void 0 : R.value) !== "")
7270
7275
  return;
7271
7276
  r.value.pop(), a("update:modelValue", r.value), A();
7272
7277
  }
@@ -7302,7 +7307,7 @@ const Ds = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholde
7302
7307
  ), t({
7303
7308
  isInvalid: i,
7304
7309
  hasDuplicates: m
7305
- }), (w, M) => (d(), g("div", Ds, [
7310
+ }), (w, M) => (d(), g("div", Rs, [
7306
7311
  w.$slots.default ? (d(), L(Le, {
7307
7312
  key: 0,
7308
7313
  id: w.name,
@@ -7354,8 +7359,8 @@ const Ds = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholde
7354
7359
  }, {
7355
7360
  default: O(() => [
7356
7361
  b("ul", null, [
7357
- y.value ? (d(), g("li", Js, R(w.duplicationError), 1)) : j("", !0),
7358
- f.value ? (d(), g("li", qs, R(w.invalidEmailError), 1)) : j("", !0)
7362
+ y.value ? (d(), g("li", Js, D(w.duplicationError), 1)) : j("", !0),
7363
+ f.value ? (d(), g("li", qs, D(w.invalidEmailError), 1)) : j("", !0)
7359
7364
  ])
7360
7365
  ]),
7361
7366
  _: 1
@@ -7492,7 +7497,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7492
7497
  },
7493
7498
  setup(e) {
7494
7499
  const t = e, n = oe(), o = I(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7495
- return (a, r) => (d(), g("main", {
7500
+ return (a, r) => (d(), g("div", {
7496
7501
  class: E(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7497
7502
  }, [
7498
7503
  e.shapes ? (d(), L(Ys, { key: 0 })) : j("", !0),
@@ -7541,7 +7546,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7541
7546
  }, 8, ["color"])) : j("", !0)
7542
7547
  ], 2));
7543
7548
  }
7544
- }), zc = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-72ffed7d"]]), iu = /* @__PURE__ */ B({
7549
+ }), zc = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-3c76ca88"]]), iu = /* @__PURE__ */ B({
7545
7550
  __name: "VJoyText",
7546
7551
  props: {
7547
7552
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7685,7 +7690,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7685
7690
  }, {
7686
7691
  default: O(() => [
7687
7692
  k(v.$slots, "default", {}, () => [
7688
- W(R(e.label), 1)
7693
+ W(D(e.label), 1)
7689
7694
  ], !0)
7690
7695
  ]),
7691
7696
  _: 3
@@ -7722,12 +7727,12 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7722
7727
  color: "neutral",
7723
7728
  size: "xxsmall"
7724
7729
  })),
7725
- W(" " + R(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
7730
+ W(" " + D(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
7726
7731
  ], 2)) : j("", !0),
7727
7732
  e.maxlength ? (d(), g("p", {
7728
7733
  key: 1,
7729
7734
  class: E(["joy-textarea-count", { "joy-textarea-count-invalid": c.value }])
7730
- }, R(e.modelValue.length + "/" + e.maxlength), 3)) : j("", !0)
7735
+ }, D(e.modelValue.length + "/" + e.maxlength), 3)) : j("", !0)
7731
7736
  ])) : j("", !0)
7732
7737
  ], 10, su));
7733
7738
  }
@@ -7812,7 +7817,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7812
7817
  l[3] || (l[3] = b("span", { class: "joy-toggle__symbol" }, null, -1)),
7813
7818
  b("span", hu, [
7814
7819
  k(r.$slots, "default", {}, () => [
7815
- W(R(e.label), 1)
7820
+ W(D(e.label), 1)
7816
7821
  ], !0)
7817
7822
  ]),
7818
7823
  l[4] || (l[4] = b("span", { class: "joy-toggle__smile" }, [
@@ -7833,7 +7838,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7833
7838
  ], 2)
7834
7839
  ]));
7835
7840
  }
7836
- }), Rc = /* @__PURE__ */ F(bu, [["__scopeId", "data-v-99a4c774"]]), gu = /* @__PURE__ */ B({
7841
+ }), Dc = /* @__PURE__ */ F(bu, [["__scopeId", "data-v-99a4c774"]]), gu = /* @__PURE__ */ B({
7837
7842
  __name: "VJoyTooltip",
7838
7843
  props: {
7839
7844
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -7928,7 +7933,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7928
7933
  });
7929
7934
  return se(() => {
7930
7935
  o.show && m();
7931
- }), De(() => {
7936
+ }), Re(() => {
7932
7937
  a.value = !1;
7933
7938
  }), t({
7934
7939
  tooltipVisible: a,
@@ -7952,7 +7957,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7952
7957
  onKeydown: S[0] || (S[0] = Ge((P) => m(!1), ["tab"]))
7953
7958
  }, [
7954
7959
  k($.$slots, "default", {}, void 0, !0),
7955
- (d(), L(Re, { to: "body" }, [
7960
+ (d(), L(De, { to: "body" }, [
7956
7961
  a.value && f.value ? (d(), g("div", {
7957
7962
  key: 0,
7958
7963
  ref_key: "tooltip",
@@ -7973,7 +7978,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7973
7978
  class: "joy-tooltip__content__inner"
7974
7979
  }, [
7975
7980
  k($.$slots, "tooltip-content", {}, () => [
7976
- W(R(e.text), 1)
7981
+ W(D(e.text), 1)
7977
7982
  ], !0)
7978
7983
  ], 512),
7979
7984
  b("div", {
@@ -7990,7 +7995,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
7990
7995
  _: 3
7991
7996
  }, 8, ["options"]));
7992
7997
  }
7993
- }), Dc = /* @__PURE__ */ F(gu, [["__scopeId", "data-v-ef1a62ec"]]), wu = { class: "joy-user-card__picture" }, ku = { class: "joy-user-card__informations" }, ju = { class: "joy-user-card__title" }, Su = { class: "joy-user-card__subtitle" }, $u = /* @__PURE__ */ B({
7998
+ }), Rc = /* @__PURE__ */ F(gu, [["__scopeId", "data-v-ef1a62ec"]]), wu = { class: "joy-user-card__picture" }, ku = { class: "joy-user-card__informations" }, ju = { class: "joy-user-card__title" }, Su = { class: "joy-user-card__subtitle" }, $u = /* @__PURE__ */ B({
7994
7999
  __name: "VJoyUserCard",
7995
8000
  props: {
7996
8001
  /**
@@ -8034,12 +8039,12 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8034
8039
  b("div", ku, [
8035
8040
  b("p", ju, [
8036
8041
  k(t.$slots, "user-card-title", {}, () => [
8037
- W(R(e.fullName), 1)
8042
+ W(D(e.fullName), 1)
8038
8043
  ], !0)
8039
8044
  ]),
8040
8045
  b("p", Su, [
8041
8046
  k(t.$slots, "user-card-subtitle", {}, () => [
8042
- W(R(e.subTitle), 1)
8047
+ W(D(e.subTitle), 1)
8043
8048
  ], !0)
8044
8049
  ]),
8045
8050
  k(t.$slots, "user-card-rating-stars", {}, () => [
@@ -8086,8 +8091,8 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8086
8091
  name: o.icon
8087
8092
  }, null, 8, ["name"])) : j("", !0),
8088
8093
  b("div", _u, [
8089
- o.title ? (d(), g("span", Cu, R(o.title), 1)) : j("", !0),
8090
- o.subtitle ? (d(), g("span", xu, R(o.subtitle), 1)) : j("", !0)
8094
+ o.title ? (d(), g("span", Cu, D(o.title), 1)) : j("", !0),
8095
+ o.subtitle ? (d(), g("span", xu, D(o.subtitle), 1)) : j("", !0)
8091
8096
  ]),
8092
8097
  q(G, {
8093
8098
  class: "joy-ml-3",
@@ -8143,7 +8148,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8143
8148
  }
8144
8149
  ), t({
8145
8150
  isOpen: l
8146
- }), (y, p) => (d(), L(Re, {
8151
+ }), (y, p) => (d(), L(De, {
8147
8152
  to: "body",
8148
8153
  disabled: y.disableTeleport
8149
8154
  }, [
@@ -8171,7 +8176,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8171
8176
  "no-margin": ""
8172
8177
  }, {
8173
8178
  default: O(() => [
8174
- W(R(y.triggerTitle) + " ", 1),
8179
+ W(D(y.triggerTitle) + " ", 1),
8175
8180
  q(G, {
8176
8181
  color: "white",
8177
8182
  name: l.value ? "chevron-down" : "chevron-up"
@@ -8209,7 +8214,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8209
8214
  class: "joy-mt-4"
8210
8215
  }, {
8211
8216
  default: O(() => [
8212
- b("span", Bu, R(y.progress + "%"), 1),
8217
+ b("span", Bu, D(y.progress + "%"), 1),
8213
8218
  b("div", Fu, [
8214
8219
  k(y.$slots, "walkthrough-progress", {}, void 0, !0)
8215
8220
  ])
@@ -8225,7 +8230,7 @@ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46
8225
8230
  class: "joy-walkthrough-modal__footer joy-p-6",
8226
8231
  onClick: c
8227
8232
  }, [
8228
- b("button", zu, R(y.footer), 1)
8233
+ b("button", zu, D(y.footer), 1)
8229
8234
  ])) : j("", !0)
8230
8235
  ], 16)) : j("", !0),
8231
8236
  l.value ? j("", !0) : (d(), L(Vu, X({ key: 1 }, y.triggerAttrs, {
@@ -8255,10 +8260,10 @@ function Ou(e) {
8255
8260
  });
8256
8261
  } };
8257
8262
  }
8258
- function Ru() {
8263
+ function Du() {
8259
8264
  return Ou();
8260
8265
  }
8261
- const Kn = "joy-snackbar__container", Du = "joy-snackbar__shell--";
8266
+ const Kn = "joy-snackbar__container", Ru = "joy-snackbar__shell--";
8262
8267
  let nt = 0, Gn = [];
8263
8268
  const Mu = {
8264
8269
  install: (e) => {
@@ -8290,7 +8295,7 @@ function Hc(e) {
8290
8295
  var r, l;
8291
8296
  nt++;
8292
8297
  let t, n;
8293
- const o = Ru();
8298
+ const o = Du();
8294
8299
  t = so(
8295
8300
  Ss,
8296
8301
  Object.assign(e.props, {
@@ -8299,7 +8304,7 @@ function Hc(e) {
8299
8304
  })
8300
8305
  );
8301
8306
  const a = document.createElement("div");
8302
- return a.classList.add("joy-snackbar__shell"), n = `${Du}${nt}`, a.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(a) : (l = document.getElementById(Kn)) == null || l.appendChild(a), t.use(Mu).mount("#" + n), Gn.push(t), o.on("snackbar:hide", () => {
8307
+ return a.classList.add("joy-snackbar__shell"), n = `${Ru}${nt}`, a.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(a) : (l = document.getElementById(Kn)) == null || l.appendChild(a), t.use(Mu).mount("#" + n), Gn.push(t), o.on("snackbar:hide", () => {
8303
8308
  var s;
8304
8309
  t.unmount(), (s = document.getElementById(n)) == null || s.remove();
8305
8310
  }), {
@@ -8350,8 +8355,8 @@ export {
8350
8355
  Ys as aa,
8351
8356
  Pc as ab,
8352
8357
  Oc as ac,
8353
- Rc as ad,
8354
- Dc as ae,
8358
+ Dc as ad,
8359
+ Rc as ae,
8355
8360
  Mc as af,
8356
8361
  Jc as ag,
8357
8362
  Vu as ah,