@maltjoy/core-vue 3.23.0 → 3.24.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.
Files changed (74) hide show
  1. package/dist/App.vue.d.ts +1 -1
  2. package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +1 -1
  3. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +1 -1
  4. package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +1 -1
  5. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +1 -1
  6. package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +1 -1
  7. package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +1 -1
  8. package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +1 -1
  9. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +9 -6
  10. package/dist/components/JoyButton/VJoyButton.vue.d.ts +1 -1
  11. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +1 -1
  12. package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +76 -109
  13. package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +5 -2
  14. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +1 -1
  15. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +1 -1
  16. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
  17. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +9 -6
  18. package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +1 -1
  19. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
  20. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +9 -6
  21. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +1 -1
  22. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +1 -1
  23. package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +1 -1
  24. package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +1 -1
  25. package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +5 -2
  26. package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +1 -1
  27. package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +1 -1
  28. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +7 -2
  29. package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +5 -2
  30. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +1 -1
  31. package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +1 -1
  32. package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +1 -1
  33. package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +5 -3
  34. package/dist/components/JoyInput/VJoyInput.vue.d.ts +1 -1
  35. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
  36. package/dist/components/JoyLink/VJoyLink.vue.d.ts +1 -1
  37. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +1 -1
  38. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +1 -1
  39. package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +1 -1
  40. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +1 -1
  41. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +1 -1
  42. package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +1 -1
  43. package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +1 -1
  44. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  45. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +1 -1
  46. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +1 -1
  47. package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +1 -1
  48. package/dist/components/JoySelect/VJoySelect.vue.d.ts +7 -2
  49. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +1 -1
  50. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +1 -1
  51. package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +1 -1
  52. package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +1 -1
  53. package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +1 -1
  54. package/dist/components/JoyStep/VJoyStep.vue.d.ts +1 -1
  55. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +73 -108
  56. package/dist/components/JoyTab/TabButton.vue.d.ts +1 -1
  57. package/dist/components/JoyTab/VJoyTab.vue.d.ts +11 -2
  58. package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +50 -80
  59. package/dist/components/JoyTag/VJoyTag.vue.d.ts +1 -1
  60. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +1 -1
  61. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +1 -1
  62. package/dist/components/JoyTemplateShape/VJoyTemplateShape.vue.d.ts +1 -1
  63. package/dist/components/JoyText/VJoyText.vue.d.ts +1 -1
  64. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  65. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +1 -1
  66. package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +1 -1
  67. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  68. package/dist/joy-vue.js +105 -111
  69. package/dist/joy-vue.umd.cjs +2 -2
  70. package/dist/pages/FunnelMode.vue.d.ts +1 -1
  71. package/dist/pages/IndexPage.vue.d.ts +1 -1
  72. package/dist/style.css +1 -1
  73. package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +1 -1
  74. package/package.json +4 -4
package/dist/joy-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as T, createElementVNode as h, Fragment as G, createTextVNode as H, toDisplayString as F, createCommentVNode as C, createBlock as N, resolveDynamicComponent as re, mergeProps as oe, withCtx as R, pushScopeId as st, popScopeId as ut, renderSlot as k, unref as E, renderList as Q, inject as Ue, normalizeStyle as ue, useAttrs as Fe, resolveDirective as Un, withDirectives as Kn, getCurrentScope as Vt, onScopeDispose as Tt, toRef as Gn, readonly as Yn, customRef as Zn, ref as $, watch as ee, nextTick as qe, getCurrentInstance as Xn, onMounted as se, h as Qn, Teleport as ct, createVNode as Y, useSlots as ne, onBeforeUnmount as Pe, Transition as dn, withKeys as dt, normalizeProps as we, guardReactiveProps as Se, provide as It, createSlots as fn, createStaticVNode as yn, onBeforeMount as ea, onUnmounted as ta, withModifiers as na, shallowRef as aa, shallowReadonly as Ee, createApp as oa } from "vue";
1
+ import { defineComponent as L, computed as V, openBlock as y, createElementBlock as g, normalizeClass as T, createElementVNode as h, Fragment as K, createTextVNode as H, toDisplayString as F, createCommentVNode as C, createBlock as N, resolveDynamicComponent as re, mergeProps as oe, withCtx as R, pushScopeId as st, popScopeId as ut, renderSlot as k, unref as E, renderList as Q, inject as Ue, normalizeStyle as ue, useAttrs as Fe, resolveDirective as Un, withDirectives as Gn, getCurrentScope as Vt, onScopeDispose as Tt, toRef as Kn, readonly as Yn, customRef as Zn, ref as $, watch as ee, nextTick as qe, getCurrentInstance as Xn, onMounted as se, h as Qn, Teleport as ct, createVNode as Y, useSlots as ne, onBeforeUnmount as Pe, Transition as dn, withKeys as dt, normalizeProps as we, guardReactiveProps as Se, provide as It, createSlots as fn, createStaticVNode as yn, onBeforeMount as ea, onUnmounted as ta, withModifiers as na, shallowRef as aa, shallowReadonly as Ee, createApp as oa } from "vue";
2
2
  function Ut(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -46,7 +46,7 @@ const la = {
46
46
  h("span", {
47
47
  class: T(n.value)
48
48
  }, null, 2),
49
- e.label ? (y(), g(G, { key: 0 }, [
49
+ e.label ? (y(), g(K, { key: 0 }, [
50
50
  H(F(e.label), 1)
51
51
  ], 64)) : C("", !0)
52
52
  ], 10, ia));
@@ -57,7 +57,7 @@ const J = (e, t) => {
57
57
  for (const [a, o] of t)
58
58
  n[a] = o;
59
59
  return n;
60
- }, sa = /* @__PURE__ */ J(ra, [["__scopeId", "data-v-3452c6e7"]]), ua = ["role", "tabindex", "aria-label", "title"], K = /* @__PURE__ */ L({
60
+ }, sa = /* @__PURE__ */ J(ra, [["__scopeId", "data-v-3452c6e7"]]), ua = ["role", "tabindex", "aria-label", "title"], G = /* @__PURE__ */ L({
61
61
  __name: "VJoyIcon",
62
62
  props: {
63
63
  ariaLabel: {
@@ -174,7 +174,7 @@ const ca = (e) => (st("data-v-bcb28746"), e = e(), ut(), e), da = {
174
174
  onClick: f
175
175
  }), {
176
176
  default: R(() => [
177
- r.value ? (y(), N(K, {
177
+ r.value ? (y(), N(G, {
178
178
  key: 0,
179
179
  name: "user-photo",
180
180
  color: "white",
@@ -187,10 +187,10 @@ const ca = (e) => (st("data-v-bcb28746"), e = e(), ut(), e), da = {
187
187
  alt: e.fullName || "",
188
188
  loading: "lazy"
189
189
  }, null, 8, fa)) : C("", !0),
190
- e.fullName ? (y(), g(G, { key: 2 }, [
190
+ e.fullName ? (y(), g(K, { key: 2 }, [
191
191
  H(F(c.value), 1)
192
192
  ], 64)) : C("", !0),
193
- e.totalNumber ? (y(), g(G, { key: 3 }, [
193
+ e.totalNumber ? (y(), g(K, { key: 3 }, [
194
194
  H(F("+" + e.totalNumber), 1)
195
195
  ], 64)) : C("", !0)
196
196
  ]),
@@ -376,7 +376,7 @@ const fe = (e) => (st("data-v-4187ebd6"), e = e(), ut(), e), ka = { class: "joy-
376
376
  }
377
377
  });
378
378
  return (a, o) => (y(), g("span", ka, [
379
- e.type === E(te).SUPER_MALTER ? (y(!0), g(G, { key: 0 }, Q(e.superMalterLevel, (i, l) => (y(), g("svg", {
379
+ e.type === E(te).SUPER_MALTER ? (y(!0), g(K, { key: 0 }, Q(e.superMalterLevel, (i, l) => (y(), g("svg", {
380
380
  key: l,
381
381
  class: "joy-badge-level__supermalter",
382
382
  xmlns: "http://www.w3.org/2000/svg",
@@ -456,7 +456,7 @@ function pn(e) {
456
456
  }
457
457
  return t;
458
458
  }
459
- function Ka(e) {
459
+ function Ga(e) {
460
460
  if (!e) {
461
461
  console.warn("Missing ref element for focusOnFirstFocusableFormField use");
462
462
  return;
@@ -472,13 +472,13 @@ const ke = function(e = 10) {
472
472
  function me(e) {
473
473
  e ? document.body.style.overflow = "hidden" : document.body.style.removeProperty("overflow");
474
474
  }
475
- const Ga = ["teal", "white"], Ya = /* @__PURE__ */ L({
475
+ const Ka = ["teal", "white"], Ya = /* @__PURE__ */ L({
476
476
  __name: "VJoySpinner",
477
477
  props: {
478
478
  color: {
479
479
  type: String,
480
480
  validator(e) {
481
- return Ga.includes(e);
481
+ return Ka.includes(e);
482
482
  }
483
483
  }
484
484
  },
@@ -551,7 +551,7 @@ const Et = /* @__PURE__ */ J(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
551
551
  }), l = V(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
552
552
  return t({ randomId: o }), (s, r) => {
553
553
  const c = Un("joy-ripple");
554
- return Kn((y(), N(re(E(a).href ? "a" : "button"), {
554
+ return Gn((y(), N(re(E(a).href ? "a" : "button"), {
555
555
  disabled: e.loading || E(a).disabled,
556
556
  type: E(a).type || "button",
557
557
  class: T([
@@ -566,7 +566,7 @@ const Et = /* @__PURE__ */ J(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
566
566
  "aria-labelledby": (s.$slots.default || e.label) && o
567
567
  }, {
568
568
  default: R(() => [
569
- e.icon && e.iconPosition === "left" ? (y(), N(K, {
569
+ e.icon && e.iconPosition === "left" ? (y(), N(G, {
570
570
  key: 0,
571
571
  class: "joy-button_icon joy-button_icon--left",
572
572
  name: e.icon,
@@ -585,7 +585,7 @@ const Et = /* @__PURE__ */ J(Ya, [["__scopeId", "data-v-127ef073"]]), Za = ["pri
585
585
  H(F(e.label), 1)
586
586
  ], !0)
587
587
  ]),
588
- e.icon && e.iconPosition === "right" ? (y(), N(K, {
588
+ e.icon && e.iconPosition === "right" ? (y(), N(G, {
589
589
  key: 2,
590
590
  class: "joy-button_icon joy-button_icon--right",
591
591
  name: e.icon,
@@ -617,7 +617,7 @@ function oo() {
617
617
  }
618
618
  function lo(...e) {
619
619
  if (e.length !== 1)
620
- return Gn(...e);
620
+ return Kn(...e);
621
621
  const t = e[0];
622
622
  return typeof t == "function" ? Yn(Zn(() => ({ get: t, set: Ae }))) : $(t);
623
623
  }
@@ -650,12 +650,12 @@ function bt(...e) {
650
650
  };
651
651
  return ft(c), c;
652
652
  }
653
- let Kt = !1;
653
+ let Gt = !1;
654
654
  function io(e, t, n = {}) {
655
655
  const { window: a = At, ignore: o = [], capture: i = !0, detectIframe: l = !1 } = n;
656
656
  if (!a)
657
657
  return Ae;
658
- _t && !Kt && (Kt = !0, Array.from(a.document.body.children).forEach((v) => v.addEventListener("click", Ae)), a.document.documentElement.addEventListener("click", Ae));
658
+ _t && !Gt && (Gt = !0, Array.from(a.document.body.children).forEach((v) => v.addEventListener("click", Ae)), a.document.documentElement.addEventListener("click", Ae));
659
659
  let s = !0;
660
660
  const r = (v) => o.some((p) => {
661
661
  if (typeof p == "string")
@@ -848,7 +848,7 @@ function bo() {
848
848
  bo();
849
849
  const gn = (e) => (st("data-v-ed8a60b0"), e = e(), ut(), e), go = /* @__PURE__ */ gn(() => /* @__PURE__ */ h("div", { class: "joy-bottom-sheet-overlay" }, null, -1)), ho = /* @__PURE__ */ gn(() => /* @__PURE__ */ h("div", { class: "joy-bottom-sheet_header-close" }, null, -1)), _o = [
850
850
  ho
851
- ], wo = { class: "joy-bottom-sheet_content" }, So = { class: "joy-bottom-sheet_footer" }, Gt = 75, Yt = "moving", ko = /* @__PURE__ */ L({
851
+ ], wo = { class: "joy-bottom-sheet_content" }, So = { class: "joy-bottom-sheet_footer" }, Kt = 75, Yt = "moving", ko = /* @__PURE__ */ L({
852
852
  inheritAttrs: !1,
853
853
  __name: "VJoyBottomSheet",
854
854
  props: {
@@ -897,12 +897,12 @@ const gn = (e) => (st("data-v-ed8a60b0"), e = e(), ut(), e), go = /* @__PURE__ *
897
897
  f.value = !0, u.value.classList.add(Yt), v = A(j);
898
898
  }
899
899
  function m(j) {
900
- f.value && (S(j) > Gt && d(), P());
900
+ f.value && (S(j) > Kt && d(), P());
901
901
  }
902
902
  function _(j) {
903
903
  if (f.value) {
904
904
  const D = S(j);
905
- D > Gt ? d() : D > 0 && O(D);
905
+ D > Kt ? d() : D > 0 && O(D);
906
906
  }
907
907
  }
908
908
  function S(j) {
@@ -991,12 +991,12 @@ const xo = /* @__PURE__ */ J(ko, [["__scopeId", "data-v-ed8a60b0"]]), Co = /* @_
991
991
  var r;
992
992
  a("click"), (r = o.value) == null || r.show();
993
993
  }
994
- return (r, c) => (y(!0), g(G, null, Q(l.value, (f) => (y(), N(re(f), {
994
+ return (r, c) => (y(!0), g(K, null, Q(l.value, (f) => (y(), N(re(f), {
995
995
  key: f,
996
996
  onClick: s
997
997
  }))), 128));
998
998
  }
999
- }), jo = ["aria-checked", "aria-hidden"], $o = { class: "joy-checkbox__input-wrapper" }, Vo = ["id", "name", "disabled", "checked", "required", "aria-checked", "value", "indeterminate"], To = { class: "joy-checkbox__content-wrapper" }, Io = { class: "joy-checkbox__content" }, Eo = /* @__PURE__ */ L({
999
+ }), jo = { class: "joy-checkbox__wrapper" }, $o = { class: "joy-checkbox__input-wrapper" }, Vo = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], To = { class: "joy-checkbox__content-wrapper" }, Io = { class: "joy-checkbox__content" }, Eo = /* @__PURE__ */ L({
1000
1000
  __name: "VJoyCheckbox",
1001
1001
  props: {
1002
1002
  /** 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 */
@@ -1065,11 +1065,7 @@ const xo = /* @__PURE__ */ J(ko, [["__scopeId", "data-v-ed8a60b0"]]), Co = /* @_
1065
1065
  };
1066
1066
  return t({
1067
1067
  isIndeterminate: l
1068
- }), (f, u) => (y(), g("div", {
1069
- class: "joy-checkbox__wrapper",
1070
- "aria-checked": e.checked,
1071
- "aria-hidden": e.disabled
1072
- }, [
1068
+ }), (f, u) => (y(), g("div", jo, [
1073
1069
  h("label", {
1074
1070
  class: T([
1075
1071
  "joy-checkbox",
@@ -1089,12 +1085,10 @@ const xo = /* @__PURE__ */ J(ko, [["__scopeId", "data-v-ed8a60b0"]]), Co = /* @_
1089
1085
  ref: i,
1090
1086
  type: "checkbox",
1091
1087
  class: "joy-checkbox__input",
1092
- role: "checkbox",
1093
1088
  name: e.name,
1094
1089
  disabled: e.disabled,
1095
1090
  checked: e.checked,
1096
1091
  required: e.required,
1097
- "aria-checked": e.checked,
1098
1092
  value: e.value,
1099
1093
  indeterminate: l.value,
1100
1094
  onChange: u[0] || (u[0] = //@ts-ignore
@@ -1114,10 +1108,10 @@ const xo = /* @__PURE__ */ J(ko, [["__scopeId", "data-v-ed8a60b0"]]), Co = /* @_
1114
1108
  ])
1115
1109
  ])
1116
1110
  ], 2)
1117
- ], 8, jo));
1111
+ ]));
1118
1112
  }
1119
1113
  });
1120
- const Nt = /* @__PURE__ */ J(Eo, [["__scopeId", "data-v-27cc9d8c"]]), Lo = ["aria-expanded"], Ao = ["id"], Bo = { class: "joy-collapse-item__header-right" }, No = ["aria-labelledby"], Jo = /* @__PURE__ */ L({
1114
+ const Nt = /* @__PURE__ */ J(Eo, [["__scopeId", "data-v-386bbe13"]]), Lo = ["aria-expanded"], Ao = ["id"], Bo = { class: "joy-collapse-item__header-right" }, No = ["aria-labelledby"], Jo = /* @__PURE__ */ L({
1121
1115
  __name: "VJoyCollapseItem",
1122
1116
  props: {
1123
1117
  header: {
@@ -1183,7 +1177,7 @@ const Nt = /* @__PURE__ */ J(Eo, [["__scopeId", "data-v-27cc9d8c"]]), Lo = ["ari
1183
1177
  id: e.id,
1184
1178
  class: "joy-collapse-item__summary___content"
1185
1179
  }, [
1186
- e.summaryIcon ? (y(), N(K, {
1180
+ e.summaryIcon ? (y(), N(G, {
1187
1181
  key: 0,
1188
1182
  "aria-hidden": "true",
1189
1183
  color: "secondary",
@@ -1194,7 +1188,7 @@ const Nt = /* @__PURE__ */ J(Eo, [["__scopeId", "data-v-27cc9d8c"]]), Lo = ["ari
1194
1188
  h("div", Bo, [
1195
1189
  k(c.$slots, "collapse-header-right")
1196
1190
  ]),
1197
- Y(K, {
1191
+ Y(G, {
1198
1192
  class: "joy-collapse-item__summary___marker",
1199
1193
  name: "chevron-down"
1200
1194
  })
@@ -1275,7 +1269,7 @@ const hn = /* @__PURE__ */ J(Jo, [["__scopeId", "data-v-6f53199c"]]), Fo = { cla
1275
1269
  items: s,
1276
1270
  openedCollapseItem: o
1277
1271
  }), (d, b) => (y(), g("div", Fo, [
1278
- (y(!0), g(G, null, Q(s.value, (m) => (y(), N(hn, oe(m.props, {
1272
+ (y(!0), g(K, null, Q(s.value, (m) => (y(), N(hn, oe(m.props, {
1279
1273
  key: m.props.id,
1280
1274
  open: f(m),
1281
1275
  mode: e.mode,
@@ -1283,10 +1277,10 @@ const hn = /* @__PURE__ */ J(Jo, [["__scopeId", "data-v-6f53199c"]]), Fo = { cla
1283
1277
  "onCollapseItem:close": (_) => v(m)
1284
1278
  }), {
1285
1279
  "collapse-header-right": R(() => [
1286
- (y(!0), g(G, null, Q(c(m, "collapse-header-right"), (_, S) => (y(), N(re(_), { key: S }))), 128))
1280
+ (y(!0), g(K, null, Q(c(m, "collapse-header-right"), (_, S) => (y(), N(re(_), { key: S }))), 128))
1287
1281
  ]),
1288
1282
  default: R(() => [
1289
- (y(!0), g(G, null, Q(c(m, "default"), (_, S) => (y(), N(re(_), { key: S }))), 128))
1283
+ (y(!0), g(K, null, Q(c(m, "default"), (_, S) => (y(), N(re(_), { key: S }))), 128))
1290
1284
  ]),
1291
1285
  _: 2
1292
1286
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
@@ -1325,7 +1319,7 @@ const Oo = /* @__PURE__ */ J(Po, [["__scopeId", "data-v-1a1c1015"]]), Ro = ["src
1325
1319
  src: e.imgSrc,
1326
1320
  alt: e.imgAlt || e.companyName,
1327
1321
  title: e.companyName
1328
- }, null, 8, Ro)) : (y(), N(E(K), {
1322
+ }, null, 8, Ro)) : (y(), N(E(G), {
1329
1323
  key: 1,
1330
1324
  name: "company-placeholder",
1331
1325
  size: n.value
@@ -1348,7 +1342,7 @@ function Jt(e, t) {
1348
1342
  t && ((n = e.value) == null || n.focus());
1349
1343
  });
1350
1344
  }
1351
- const qo = { class: "joy-counter" }, Ho = ["aria-label", "disabled"], Wo = { class: "joy-counter__input-wrapper" }, Uo = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Ko = ["aria-label", "disabled"], Go = {
1345
+ const qo = { class: "joy-counter" }, Ho = ["aria-label", "disabled"], Wo = { class: "joy-counter__input-wrapper" }, Uo = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Go = ["aria-label", "disabled"], Ko = {
1352
1346
  key: 0,
1353
1347
  class: "joy-counter_error"
1354
1348
  }, Yo = {
@@ -1489,7 +1483,7 @@ const qo = { class: "joy-counter" }, Ho = ["aria-label", "disabled"], Wo = { cla
1489
1483
  disabled: e.modelValue <= e.min,
1490
1484
  onClick: r
1491
1485
  }, [
1492
- Y(E(K), { name: "minus" })
1486
+ Y(E(G), { name: "minus" })
1493
1487
  ], 8, Ho),
1494
1488
  h("div", Wo, [
1495
1489
  h("input", oe({
@@ -1521,9 +1515,9 @@ const qo = { class: "joy-counter" }, Ho = ["aria-label", "disabled"], Wo = { cla
1521
1515
  disabled: e.max ? e.modelValue >= e.max : !1,
1522
1516
  onClick: c
1523
1517
  }, [
1524
- Y(E(K), { name: "add" })
1525
- ], 8, Ko),
1526
- e.invalid && e.errorMessage ? (y(), g("div", Go, [
1518
+ Y(E(G), { name: "add" })
1519
+ ], 8, Go),
1520
+ e.invalid && e.errorMessage ? (y(), g("div", Ko, [
1527
1521
  Y(E(Ft), { "no-html-error-text": e.errorMessage }, null, 8, ["no-html-error-text"])
1528
1522
  ])) : C("", !0)
1529
1523
  ], 2)
@@ -2200,7 +2194,7 @@ function jn(e, t = {}) {
2200
2194
  unpause: f
2201
2195
  };
2202
2196
  }
2203
- const Vl = ["id", "onKeydown"], Tl = { class: "joy-dialog__inner" }, Il = { class: "joy-dialog--header" }, El = {
2197
+ const Vl = ["id"], Tl = { class: "joy-dialog__inner" }, Il = { class: "joy-dialog--header" }, El = {
2204
2198
  id: "dialogDescription",
2205
2199
  class: "joy-dialog--subheader"
2206
2200
  }, Ll = {
@@ -2461,7 +2455,7 @@ const Nl = /* @__PURE__ */ J(Bl, [["__scopeId", "data-v-b0e082fd"]]), Jl = /* @_
2461
2455
  var r;
2462
2456
  o("click"), await ((r = a.value) == null ? void 0 : r.show());
2463
2457
  }
2464
- return (r, c) => (y(!0), g(G, null, Q(l.value, (f) => (y(), N(re(f), {
2458
+ return (r, c) => (y(!0), g(K, null, Q(l.value, (f) => (y(), N(re(f), {
2465
2459
  key: f,
2466
2460
  onClick: s
2467
2461
  }))), 128));
@@ -2481,7 +2475,7 @@ const Nl = /* @__PURE__ */ J(Bl, [["__scopeId", "data-v-b0e082fd"]]), Jl = /* @_
2481
2475
  disabled: e.disabled
2482
2476
  }, [
2483
2477
  h("div", Pl, [
2484
- Y(K, { name: "add" })
2478
+ Y(G, { name: "add" })
2485
2479
  ]),
2486
2480
  h("div", Ol, [
2487
2481
  h("p", Rl, [
@@ -2498,10 +2492,10 @@ const Ml = /* @__PURE__ */ J(Dl, [["__scopeId", "data-v-a3d693c3"]]), zl = ["id"
2498
2492
  }, Ul = {
2499
2493
  class: "joy-drawer--body",
2500
2494
  tabindex: "0"
2501
- }, Kl = {
2495
+ }, Gl = {
2502
2496
  key: 0,
2503
2497
  class: "joy-drawer--indicators"
2504
- }, Gl = /* @__PURE__ */ L({
2498
+ }, Kl = /* @__PURE__ */ L({
2505
2499
  inheritAttrs: !1,
2506
2500
  __name: "VJoyDrawer",
2507
2501
  props: {
@@ -2710,7 +2704,7 @@ const Ml = /* @__PURE__ */ J(Dl, [["__scopeId", "data-v-a3d693c3"]]), zl = ["id"
2710
2704
  _: 3
2711
2705
  })
2712
2706
  ], 2),
2713
- E(l)["drawer-indicators"] ? (y(), g("div", Kl, [
2707
+ E(l)["drawer-indicators"] ? (y(), g("div", Gl, [
2714
2708
  k(P.$slots, "drawer-indicators", {}, void 0, !0)
2715
2709
  ])) : C("", !0)
2716
2710
  ])
@@ -2722,7 +2716,7 @@ const Ml = /* @__PURE__ */ J(Dl, [["__scopeId", "data-v-a3d693c3"]]), zl = ["id"
2722
2716
  ], 8, ["to"])) : C("", !0);
2723
2717
  }
2724
2718
  });
2725
- const Yl = /* @__PURE__ */ J(Gl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @__PURE__ */ L({
2719
+ const Yl = /* @__PURE__ */ J(Kl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @__PURE__ */ L({
2726
2720
  __name: "VJoyDrawerTrigger",
2727
2721
  props: {
2728
2722
  drawer: {}
@@ -2734,7 +2728,7 @@ const Yl = /* @__PURE__ */ J(Gl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @_
2734
2728
  var r;
2735
2729
  a("click"), await ((r = o.value) == null ? void 0 : r.show());
2736
2730
  }
2737
- return (r, c) => (y(!0), g(G, null, Q(l.value, (f) => (y(), N(re(f), {
2731
+ return (r, c) => (y(!0), g(K, null, Q(l.value, (f) => (y(), N(re(f), {
2738
2732
  key: f,
2739
2733
  onClick: s
2740
2734
  }))), 128));
@@ -2870,7 +2864,7 @@ const Yl = /* @__PURE__ */ J(Gl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @_
2870
2864
  "aria-label": e.ariaLabel,
2871
2865
  "aria-labelledby": e.ariaLabelledBy
2872
2866
  }, [
2873
- (y(!0), g(G, null, Q(e.options, (m) => (y(), g("li", {
2867
+ (y(!0), g(K, null, Q(e.options, (m) => (y(), g("li", {
2874
2868
  id: m.id,
2875
2869
  key: m.id,
2876
2870
  style: ue({ "max-width": `${e.width}px` }),
@@ -2894,7 +2888,7 @@ const Yl = /* @__PURE__ */ J(Gl, [["__scopeId", "data-v-22b62515"]]), Zl = /* @_
2894
2888
  k(d.$slots, "label", we(Se(m)), () => [
2895
2889
  h("span", null, F(m.label), 1)
2896
2890
  ], !0)
2897
- ], 14, ei))), 128))
2891
+ ], 46, ei))), 128))
2898
2892
  ], 8, Ql)) : C("", !0)
2899
2893
  ], 6),
2900
2894
  d.$slots["dropdown-list-footer"] ? (y(), g("footer", ti, [
@@ -3003,7 +2997,7 @@ const Vn = /* @__PURE__ */ J(ni, [["__scopeId", "data-v-0127e896"]]), ai = /* @_
3003
2997
  ee(
3004
2998
  () => i.value,
3005
2999
  (I) => {
3006
- I && Ka(r);
3000
+ I && Ga(r);
3007
3001
  },
3008
3002
  { flush: "post" }
3009
3003
  );
@@ -3164,7 +3158,7 @@ const si = /* @__PURE__ */ J(ri, [["__scopeId", "data-v-114f8274"]]), ui = /* @_
3164
3158
  }, [
3165
3159
  H(F(e.label) + " ", 1),
3166
3160
  k(l.$slots, "default", {}, void 0, !0),
3167
- E(o) ? (y(), N(K, {
3161
+ E(o) ? (y(), N(G, {
3168
3162
  key: 0,
3169
3163
  class: "joy-filter-bar-button__icon",
3170
3164
  name: "chevron-down",
@@ -3204,7 +3198,7 @@ const pi = /* @__PURE__ */ J(vi, [["__scopeId", "data-v-e174785d"]]), mi = ["ari
3204
3198
  class: T(["joy-form-error", { "joy-has-error": e.visible }]),
3205
3199
  role: "alert"
3206
3200
  }, [
3207
- Y(K, {
3201
+ Y(G, {
3208
3202
  class: "joy-icon-error",
3209
3203
  name: "warning-triangle"
3210
3204
  }),
@@ -3372,7 +3366,7 @@ const Li = /* @__PURE__ */ J(Ei, [["__scopeId", "data-v-7928856e"]]), Ai = [...X
3372
3366
  }
3373
3367
  ])
3374
3368
  }, [
3375
- e.displayIcon ? (y(), N(K, {
3369
+ e.displayIcon ? (y(), N(G, {
3376
3370
  key: 0,
3377
3371
  name: a.value
3378
3372
  }, null, 8, ["name"])) : C("", !0),
@@ -3457,7 +3451,7 @@ const Tn = /* @__PURE__ */ J(Oi, [["__scopeId", "data-v-2babb982"]]), Ri = /* @_
3457
3451
  }), (u, v) => (y(), g("ul", {
3458
3452
  class: T(["joy-indicators", `joy-indicators--${e.variant}`])
3459
3453
  }, [
3460
- (y(!0), g(G, null, Q(s.value, (p) => (y(), N(E(Tn), oe({
3454
+ (y(!0), g(K, null, Q(s.value, (p) => (y(), N(E(Tn), oe({
3461
3455
  key: p.props.value
3462
3456
  }, { ...p.props, variant: e.variant }, {
3463
3457
  selected: r(p),
@@ -3510,7 +3504,7 @@ const Di = /* @__PURE__ */ J(Ri, [["__scopeId", "data-v-1bac2aa7"]]), Mi = ["sma
3510
3504
  }, 16, ["class"]));
3511
3505
  }
3512
3506
  });
3513
- const xe = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["large", "medium", "small"], Ui = ["id", "name", "required", "disabled", "readonly", "type", "value"], Ki = ["data-unit"], Gi = /* @__PURE__ */ L({
3507
+ const xe = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["large", "medium", "small"], Ui = ["id", "name", "required", "disabled", "readonly", "type", "value"], Gi = ["data-unit"], Ki = /* @__PURE__ */ L({
3514
3508
  inheritAttrs: !1,
3515
3509
  __name: "VJoyInput",
3516
3510
  props: {
@@ -3702,13 +3696,13 @@ const xe = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["lar
3702
3696
  icon: "cross",
3703
3697
  onClick: _.clearValue
3704
3698
  }, null, 8, ["onClick"])) : C("", !0),
3705
- b.value ? (y(), N(K, {
3699
+ b.value ? (y(), N(G, {
3706
3700
  key: 1,
3707
3701
  class: "joy-input--password-icon",
3708
3702
  name: f.value ? "eye-masked" : "eye",
3709
3703
  onClick: _.togglePassword
3710
3704
  }, null, 8, ["name", "onClick"])) : C("", !0),
3711
- e.icon ? (y(), N(K, {
3705
+ e.icon ? (y(), N(G, {
3712
3706
  key: 2,
3713
3707
  class: "joy-input--decorative-icon",
3714
3708
  name: e.icon
@@ -3717,13 +3711,13 @@ const xe = /* @__PURE__ */ J(Hi, [["__scopeId", "data-v-388a7c56"]]), Wi = ["lar
3717
3711
  key: 3,
3718
3712
  "data-unit": e.unit,
3719
3713
  class: "joy-input--unit"
3720
- }, null, 8, Ki)) : C("", !0)
3714
+ }, null, 8, Gi)) : C("", !0)
3721
3715
  ], 2)
3722
3716
  ], 2)
3723
3717
  ], 2));
3724
3718
  }
3725
3719
  });
3726
- const Yi = /* @__PURE__ */ J(Gi, [["__scopeId", "data-v-3dafc1cb"]]), Zi = ["teal", "white"], Xi = ["href"], Qi = /* @__PURE__ */ L({
3720
+ const Yi = /* @__PURE__ */ J(Ki, [["__scopeId", "data-v-3dafc1cb"]]), Zi = ["teal", "white"], Xi = ["href"], Qi = /* @__PURE__ */ L({
3727
3721
  __name: "VJoyLink",
3728
3722
  props: {
3729
3723
  href: {
@@ -3744,7 +3738,7 @@ const Yi = /* @__PURE__ */ J(Gi, [["__scopeId", "data-v-3dafc1cb"]]), Zi = ["tea
3744
3738
  return (t, n) => (y(), g("a", oe({ href: e.href }, t.$attrs, {
3745
3739
  class: ["joy-link", `joy-link_${e.color}`]
3746
3740
  }), [
3747
- e.icon ? (y(), N(K, {
3741
+ e.icon ? (y(), N(G, {
3748
3742
  key: 0,
3749
3743
  name: e.icon
3750
3744
  }, null, 8, ["name"])) : C("", !0),
@@ -3821,7 +3815,7 @@ const er = /* @__PURE__ */ J(Qi, [["__scopeId", "data-v-5540214e"]]), tr = ["tab
3821
3815
  role: "menu",
3822
3816
  onKeydown: u
3823
3817
  }, [
3824
- (y(!0), g(G, null, Q(e.items, (d) => (y(), g("li", {
3818
+ (y(!0), g(K, null, Q(e.items, (d) => (y(), g("li", {
3825
3819
  id: c(d),
3826
3820
  key: d.label,
3827
3821
  class: T([
@@ -3842,14 +3836,14 @@ const er = /* @__PURE__ */ J(Qi, [["__scopeId", "data-v-5540214e"]]), tr = ["tab
3842
3836
  }, [
3843
3837
  h("div", ar, [
3844
3838
  k(v.$slots, "menu-item", we(Se(d)), () => [
3845
- d.icon ? (y(), N(K, {
3839
+ d.icon ? (y(), N(G, {
3846
3840
  key: 0,
3847
3841
  name: d.icon
3848
3842
  }, null, 8, ["name"])) : C("", !0),
3849
3843
  h("span", null, F(d.label), 1)
3850
3844
  ], !0)
3851
3845
  ])
3852
- ], 10, nr))), 128))
3846
+ ], 42, nr))), 128))
3853
3847
  ], 40, tr));
3854
3848
  }
3855
3849
  });
@@ -3915,7 +3909,7 @@ const lr = /* @__PURE__ */ J(or, [["__scopeId", "data-v-4391a0bd"]]), ir = ["id"
3915
3909
  _: 1
3916
3910
  }, 8, ["required", "optional-label", "size"])) : C("", !0),
3917
3911
  h("div", rr, [
3918
- (y(!0), g(G, null, Q(e.options, (r) => (y(), N(E(Nt), {
3912
+ (y(!0), g(K, null, Q(e.options, (r) => (y(), N(E(Nt), {
3919
3913
  id: r.id,
3920
3914
  key: r.id,
3921
3915
  name: r.name,
@@ -4034,7 +4028,7 @@ const ur = /* @__PURE__ */ J(sr, [["__scopeId", "data-v-c278b02d"]]), an = /* @_
4034
4028
  ]),
4035
4029
  h("li", null, [
4036
4030
  h("ul", null, [
4037
- (y(!0), g(G, null, Q(l.value, (v) => (y(), g("li", {
4031
+ (y(!0), g(K, null, Q(l.value, (v) => (y(), g("li", {
4038
4032
  key: v,
4039
4033
  class: T({
4040
4034
  "joy-pagination__item": !0,
@@ -4398,21 +4392,21 @@ const Dr = /* @__PURE__ */ J(Rr, [["__scopeId", "data-v-a77e7f95"]]), Mr = ["ari
4398
4392
  ariaLabel: E(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
4399
4393
  }, [
4400
4394
  h("ul", zr, [
4401
- (y(!0), g(G, null, Q(o.value, (s, r) => (y(), g("li", {
4395
+ (y(!0), g(K, null, Q(o.value, (s, r) => (y(), g("li", {
4402
4396
  key: r,
4403
4397
  class: T([`joy-rating-stars--${e.size}`])
4404
4398
  }, [
4405
- s === "full" ? (y(), N(K, {
4399
+ s === "full" ? (y(), N(G, {
4406
4400
  key: 0,
4407
4401
  "aria-hidden": "true",
4408
4402
  name: "star-fill",
4409
4403
  color: "quaternary"
4410
- })) : s === "half" ? (y(), N(K, {
4404
+ })) : s === "half" ? (y(), N(G, {
4411
4405
  key: 1,
4412
4406
  "aria-hidden": "true",
4413
4407
  name: "star-half",
4414
4408
  color: "quaternary"
4415
- })) : (y(), N(K, {
4409
+ })) : (y(), N(G, {
4416
4410
  key: 2,
4417
4411
  "aria-hidden": "true",
4418
4412
  name: "star",
@@ -4428,10 +4422,10 @@ const Dr = /* @__PURE__ */ J(Rr, [["__scopeId", "data-v-a77e7f95"]]), Mr = ["ari
4428
4422
  ], 8, Mr));
4429
4423
  }
4430
4424
  });
4431
- const In = /* @__PURE__ */ J(Wr, [["__scopeId", "data-v-c9a5e140"]]), Ur = { class: "joy-screen-loader__content" }, Kr = {
4425
+ const In = /* @__PURE__ */ J(Wr, [["__scopeId", "data-v-c9a5e140"]]), Ur = { class: "joy-screen-loader__content" }, Gr = {
4432
4426
  key: 0,
4433
4427
  class: "joy-screen-loader__content"
4434
- }, Gr = /* @__PURE__ */ L({
4428
+ }, Kr = /* @__PURE__ */ L({
4435
4429
  __name: "VJoyScreenLoader",
4436
4430
  props: {
4437
4431
  /** Light or dark. Changes the spinner and background color */
@@ -4455,14 +4449,14 @@ const In = /* @__PURE__ */ J(Wr, [["__scopeId", "data-v-c9a5e140"]]), Ur = { cla
4455
4449
  color: e.color === "dark" ? "white" : "teal"
4456
4450
  }, null, 8, ["color"])
4457
4451
  ], !0),
4458
- t.$slots.content ? (y(), g("div", Kr, [
4452
+ t.$slots.content ? (y(), g("div", Gr, [
4459
4453
  k(t.$slots, "content", {}, void 0, !0)
4460
4454
  ])) : C("", !0)
4461
4455
  ])
4462
4456
  ], 2));
4463
4457
  }
4464
4458
  });
4465
- const Pt = /* @__PURE__ */ J(Gr, [["__scopeId", "data-v-1112514f"]]), Yr = ["id", "name", "aria-invalid", "required", "disabled"], Zr = ["selected"], Xr = /* @__PURE__ */ L({
4459
+ const Pt = /* @__PURE__ */ J(Kr, [["__scopeId", "data-v-1112514f"]]), Yr = ["id", "name", "aria-invalid", "required", "disabled"], Zr = ["selected"], Xr = /* @__PURE__ */ L({
4466
4460
  __name: "VJoySelect",
4467
4461
  props: {
4468
4462
  disabled: {
@@ -4594,7 +4588,7 @@ const Pt = /* @__PURE__ */ J(Gr, [["__scopeId", "data-v-1112514f"]]), Yr = ["id"
4594
4588
  onFocus: p,
4595
4589
  onBlur: d
4596
4590
  }, [
4597
- (y(!0), g(G, null, Q(l.value, (_) => {
4591
+ (y(!0), g(K, null, Q(l.value, (_) => {
4598
4592
  var S, A;
4599
4593
  return y(), g("option", oe({
4600
4594
  key: (S = _.props) == null ? void 0 : S.value
@@ -4603,7 +4597,7 @@ const Pt = /* @__PURE__ */ J(Gr, [["__scopeId", "data-v-1112514f"]]), Yr = ["id"
4603
4597
  }), F(_.children), 17, Zr);
4604
4598
  }), 128))
4605
4599
  ], 40, Yr),
4606
- Y(K, {
4600
+ Y(G, {
4607
4601
  class: "joy-select__chevron",
4608
4602
  name: "chevron-down"
4609
4603
  })
@@ -4830,7 +4824,7 @@ const En = /* @__PURE__ */ J(as, [["__scopeId", "data-v-a9411119"]]), os = ["id"
4830
4824
  }
4831
4825
  ])
4832
4826
  }, [
4833
- (y(!0), g(G, null, Q(e.options, (r) => (y(), N(E(En), oe(r.attrs, {
4827
+ (y(!0), g(K, null, Q(e.options, (r) => (y(), N(E(En), oe(r.attrs, {
4834
4828
  id: r.id,
4835
4829
  key: r.id,
4836
4830
  name: r.name,
@@ -4974,7 +4968,7 @@ const ss = /* @__PURE__ */ J(rs, [["__scopeId", "data-v-21db2899"]]), us = { cla
4974
4968
  class: T(["joy-snackbar", `joy-snackbar_${e.level}`])
4975
4969
  }, [
4976
4970
  h("div", us, [
4977
- Y(E(K), { name: s.value }, null, 8, ["name"])
4971
+ Y(E(G), { name: s.value }, null, 8, ["name"])
4978
4972
  ]),
4979
4973
  h("div", cs, [
4980
4974
  e.header ? (y(), g("strong", ds, F(e.header), 1)) : C("", !0),
@@ -5072,9 +5066,9 @@ const An = /* @__PURE__ */ J(bs, [["__scopeId", "data-v-7b9e5926"]]), gs = { cla
5072
5066
  });
5073
5067
  function i(u) {
5074
5068
  var v;
5075
- return ((v = u == null ? void 0 : u.type) == null ? void 0 : v.__name) === "VJoyStep";
5069
+ return ((v = u.type) == null ? void 0 : v.__name) === "VJoyStep";
5076
5070
  }
5077
- const l = V(() => n.step > 0 ? o.value[n.step - 1] : o.value[0]), s = V(() => !r.value && l.value.props === null ? !1 : n.subStep <= 0 || n.subStep > c.value), r = 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"]);
5071
+ 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), r = 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"]);
5078
5072
  function f(u) {
5079
5073
  return u !== n.step - 1 ? 0 : r.value;
5080
5074
  }
@@ -5083,7 +5077,7 @@ const An = /* @__PURE__ */ J(bs, [["__scopeId", "data-v-7b9e5926"]]), gs = { cla
5083
5077
  steps: o,
5084
5078
  invalidSubStepValue: s
5085
5079
  }), (u, v) => (y(), g("div", gs, [
5086
- (y(!0), g(G, null, Q(o.value, (p, d) => {
5080
+ (y(!0), g(K, null, Q(o.value, (p, d) => {
5087
5081
  var b;
5088
5082
  return y(), N(E(An), oe(p.props, {
5089
5083
  key: (b = p.props) == null ? void 0 : b.id,
@@ -5102,7 +5096,7 @@ const An = /* @__PURE__ */ J(bs, [["__scopeId", "data-v-7b9e5926"]]), gs = { cla
5102
5096
  ]));
5103
5097
  }
5104
5098
  });
5105
- const _s = /* @__PURE__ */ J(hs, [["__scopeId", "data-v-f3d35d3e"]]), ws = ["id", "aria-hidden", "aria-labelledby"], Ss = /* @__PURE__ */ L({
5099
+ const _s = /* @__PURE__ */ J(hs, [["__scopeId", "data-v-2436d4e8"]]), ws = ["id", "aria-hidden", "aria-labelledby"], Ss = /* @__PURE__ */ L({
5106
5100
  __name: "VJoyTab",
5107
5101
  props: {
5108
5102
  /**
@@ -5286,7 +5280,7 @@ const Vs = /* @__PURE__ */ J($s, [["__scopeId", "data-v-e2a02c1c"]]), Ts = { cla
5286
5280
  class: "joy-tabs-buttons",
5287
5281
  role: "tablist"
5288
5282
  }, [
5289
- (y(!0), g(G, null, Q(u.value, (S) => (y(), g("div", {
5283
+ (y(!0), g(K, null, Q(u.value, (S) => (y(), g("div", {
5290
5284
  key: S.props.tab
5291
5285
  }, [
5292
5286
  Y(Vs, {
@@ -5350,7 +5344,7 @@ const Es = /* @__PURE__ */ J(Is, [["__scopeId", "data-v-ff85775b"]]), Ls = ["id"
5350
5344
  onClick: s
5351
5345
  }, [
5352
5346
  k(r.$slots, "default", {}, () => [
5353
- r.draggable ? (y(), N(K, {
5347
+ r.draggable ? (y(), N(G, {
5354
5348
  key: 0,
5355
5349
  class: "joy-tag__drag",
5356
5350
  name: "drag",
@@ -5358,7 +5352,7 @@ const Es = /* @__PURE__ */ J(Is, [["__scopeId", "data-v-ff85775b"]]), Ls = ["id"
5358
5352
  })) : C("", !0),
5359
5353
  H(" " + F(r.label), 1)
5360
5354
  ], !0),
5361
- r.removable ? (y(), N(K, {
5355
+ r.removable ? (y(), N(G, {
5362
5356
  key: 0,
5363
5357
  class: "joy-tag__removable",
5364
5358
  name: "cross",
@@ -5366,7 +5360,7 @@ const Es = /* @__PURE__ */ J(Is, [["__scopeId", "data-v-ff85775b"]]), Ls = ["id"
5366
5360
  role: "button",
5367
5361
  onClick: na(l, ["stop"]),
5368
5362
  onKeydown: dt(l, ["enter"])
5369
- }, null, 8, ["onClick", "onKeydown"])) : C("", !0)
5363
+ })) : C("", !0)
5370
5364
  ], 10, Ls));
5371
5365
  }
5372
5366
  });
@@ -5478,7 +5472,7 @@ const Bs = { class: "joy-tags-input__wrapper" }, Ns = ["id", "name", "placeholde
5478
5472
  }
5479
5473
  ])
5480
5474
  }, [
5481
- (y(!0), g(G, null, Q(i.value, (U) => (y(), N(Ot, {
5475
+ (y(!0), g(K, null, Q(i.value, (U) => (y(), N(Ot, {
5482
5476
  key: U,
5483
5477
  variant: j.variant,
5484
5478
  removable: !0,
@@ -5575,7 +5569,7 @@ const Os = /* @__PURE__ */ J(Ps, [["__scopeId", "data-v-82308363"]]), Rs = /* @_
5575
5569
  return (c, f) => (y(), g("div", {
5576
5570
  class: T(["joy-tags-list", `joy-tags-list--${e.align}`])
5577
5571
  }, [
5578
- (y(!0), g(G, null, Q(e.tags, (u) => (y(), N(Ot, oe({
5572
+ (y(!0), g(K, null, Q(e.tags, (u) => (y(), N(Ot, oe({
5579
5573
  key: u.value || u.label
5580
5574
  }, u, {
5581
5575
  selectable: i(u),
@@ -5607,10 +5601,10 @@ const Ms = {}, zs = {
5607
5601
  function Ws(e, t) {
5608
5602
  return y(), g("div", zs, Hs);
5609
5603
  }
5610
- const Bn = /* @__PURE__ */ J(Ms, [["render", Ws], ["__scopeId", "data-v-8b258f92"]]), Us = { class: "joy-template__wrapper" }, Ks = {
5604
+ const Bn = /* @__PURE__ */ J(Ms, [["render", Ws], ["__scopeId", "data-v-8b258f92"]]), Us = { class: "joy-template__wrapper" }, Gs = {
5611
5605
  key: 0,
5612
5606
  class: "joy-template__heading"
5613
- }, Gs = {
5607
+ }, Ks = {
5614
5608
  key: 0,
5615
5609
  class: "joy-template-slot-back"
5616
5610
  }, Ys = { class: "joy-template__heading___headings" }, Zs = {
@@ -5653,8 +5647,8 @@ const Bn = /* @__PURE__ */ J(Ms, [["render", Ws], ["__scopeId", "data-v-8b258f92
5653
5647
  }, [
5654
5648
  e.shapes ? (y(), N(Bn, { key: 0 })) : C("", !0),
5655
5649
  h("div", Us, [
5656
- a.value ? (y(), g("div", Ks, [
5657
- E(n)["template-back"] ? (y(), g("div", Gs, [
5650
+ a.value ? (y(), g("div", Gs, [
5651
+ E(n)["template-back"] ? (y(), g("div", Ks, [
5658
5652
  k(o.$slots, "template-back", {}, void 0, !0)
5659
5653
  ])) : C("", !0),
5660
5654
  h("div", Ys, [
@@ -5860,7 +5854,7 @@ const lu = /* @__PURE__ */ J(ou, [["__scopeId", "data-v-1af4e700"]]), iu = ["ari
5860
5854
  key: 0,
5861
5855
  class: T(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
5862
5856
  }, [
5863
- f.value ? C("", !0) : (y(), N(K, {
5857
+ f.value ? C("", !0) : (y(), N(G, {
5864
5858
  key: 0,
5865
5859
  name: "check",
5866
5860
  color: "neutral",
@@ -5998,7 +5992,7 @@ function Ie(e, t) {
5998
5992
  function he(e) {
5999
5993
  return e.split("-")[0];
6000
5994
  }
6001
- function Ke(e) {
5995
+ function Ge(e) {
6002
5996
  return e.split("-")[1];
6003
5997
  }
6004
5998
  function Rt(e) {
@@ -6007,15 +6001,15 @@ function Rt(e) {
6007
6001
  function Dt(e) {
6008
6002
  return e === "y" ? "height" : "width";
6009
6003
  }
6010
- function Ge(e) {
6004
+ function Ke(e) {
6011
6005
  return ["top", "bottom"].includes(he(e)) ? "y" : "x";
6012
6006
  }
6013
6007
  function Mt(e) {
6014
- return Rt(Ge(e));
6008
+ return Rt(Ke(e));
6015
6009
  }
6016
6010
  function ku(e, t, n) {
6017
6011
  n === void 0 && (n = !1);
6018
- const a = Ke(e), o = Mt(e), i = Dt(o);
6012
+ const a = Ge(e), o = Mt(e), i = Dt(o);
6019
6013
  let l = o === "x" ? a === (n ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
6020
6014
  return t.reference[i] > t.floating[i] && (l = it(l)), [l, it(l)];
6021
6015
  }
@@ -6040,7 +6034,7 @@ function Cu(e, t, n) {
6040
6034
  }
6041
6035
  }
6042
6036
  function ju(e, t, n, a) {
6043
- const o = Ke(e);
6037
+ const o = Ge(e);
6044
6038
  let i = Cu(he(e), n === "start", a);
6045
6039
  return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(kt)))), i;
6046
6040
  }
@@ -6078,7 +6072,7 @@ function ln(e, t, n) {
6078
6072
  reference: a,
6079
6073
  floating: o
6080
6074
  } = e;
6081
- const i = Ge(t), l = Mt(t), s = Dt(l), r = he(t), c = i === "y", f = a.x + a.width / 2 - o.width / 2, u = a.y + a.height / 2 - o.height / 2, v = a[s] / 2 - o[s] / 2;
6075
+ const i = Ke(t), l = Mt(t), s = Dt(l), r = he(t), c = i === "y", f = a.x + a.width / 2 - o.width / 2, u = a.y + a.height / 2 - o.height / 2, v = a[s] / 2 - o[s] / 2;
6082
6076
  let p;
6083
6077
  switch (r) {
6084
6078
  case "top":
@@ -6111,7 +6105,7 @@ function ln(e, t, n) {
6111
6105
  y: a.y
6112
6106
  };
6113
6107
  }
6114
- switch (Ke(t)) {
6108
+ switch (Ge(t)) {
6115
6109
  case "start":
6116
6110
  p[l] -= v * (n && c ? -1 : 1);
6117
6111
  break;
@@ -6252,7 +6246,7 @@ const Tu = (e) => ({
6252
6246
  }, p = Mt(o), d = Dt(p), b = await l.getDimensions(c), m = p === "y", _ = m ? "top" : "left", S = m ? "bottom" : "right", A = m ? "clientHeight" : "clientWidth", O = i.reference[d] + i.reference[p] - v[p] - i.floating[d], P = v[p] - i.reference[p], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
6253
6247
  let j = I ? I[A] : 0;
6254
6248
  (!j || !await (l.isElement == null ? void 0 : l.isElement(I))) && (j = s.floating[A] || i.floating[d]);
6255
- const D = O / 2 - P / 2, U = j / 2 - b[d] / 2 - 1, X = He(u[_], U), q = He(u[S], U), w = X, x = j - b[d] - q, B = j / 2 - b[d] / 2 + D, M = St(w, B, x), z = !r.arrow && Ke(o) != null && B != M && i.reference[d] / 2 - (B < w ? X : q) - b[d] / 2 < 0, W = z ? B < w ? B - w : B - x : 0;
6249
+ const D = O / 2 - P / 2, U = j / 2 - b[d] / 2 - 1, X = He(u[_], U), q = He(u[S], U), w = X, x = j - b[d] - q, B = j / 2 - b[d] / 2 + D, M = St(w, B, x), z = !r.arrow && Ge(o) != null && B != M && i.reference[d] / 2 - (B < w ? X : q) - b[d] / 2 < 0, W = z ? B < w ? B - w : B - x : 0;
6256
6250
  return {
6257
6251
  [p]: v[p] + W,
6258
6252
  data: {
@@ -6342,7 +6336,7 @@ async function Eu(e, t) {
6342
6336
  placement: n,
6343
6337
  platform: a,
6344
6338
  elements: o
6345
- } = e, i = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = he(n), s = Ke(n), r = Ge(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, f = i && r ? -1 : 1, u = Ie(t, e);
6339
+ } = e, i = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = he(n), s = Ge(n), r = Ke(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, f = i && r ? -1 : 1, u = Ie(t, e);
6346
6340
  let {
6347
6341
  mainAxis: v,
6348
6342
  crossAxis: p,
@@ -6409,7 +6403,7 @@ const Lu = function(e) {
6409
6403
  } = Ie(e, t), c = {
6410
6404
  x: n,
6411
6405
  y: a
6412
- }, f = await Fn(t, r), u = Ge(he(o)), v = Rt(u);
6406
+ }, f = await Fn(t, r), u = Ke(he(o)), v = Rt(u);
6413
6407
  let p = c[v], d = c[u];
6414
6408
  if (i) {
6415
6409
  const m = v === "y" ? "top" : "left", _ = v === "y" ? "bottom" : "right", S = p + f[m], A = p - f[_];
@@ -6450,7 +6444,7 @@ const Lu = function(e) {
6450
6444
  } = Ie(e, t), f = {
6451
6445
  x: n,
6452
6446
  y: a
6453
- }, u = Ge(o), v = Rt(u);
6447
+ }, u = Ke(o), v = Rt(u);
6454
6448
  let p = f[v], d = f[u];
6455
6449
  const b = Ie(s, t), m = typeof b == "number" ? {
6456
6450
  mainAxis: b,
@@ -6779,7 +6773,7 @@ function Hn(e, t) {
6779
6773
  a = un(a, t);
6780
6774
  return a && (_e(a) === "html" || _e(a) === "body" && ce(a).position === "static" && !zt(a)) ? n : a || Ju(e) || n;
6781
6775
  }
6782
- const Ku = async function(e) {
6776
+ const Gu = async function(e) {
6783
6777
  let {
6784
6778
  reference: t,
6785
6779
  floating: n,
@@ -6795,7 +6789,7 @@ const Ku = async function(e) {
6795
6789
  }
6796
6790
  };
6797
6791
  };
6798
- function Gu(e) {
6792
+ function Ku(e) {
6799
6793
  return ce(e).direction === "rtl";
6800
6794
  }
6801
6795
  const Yu = {
@@ -6803,12 +6797,12 @@ const Yu = {
6803
6797
  getDocumentElement: Ce,
6804
6798
  getClippingRect: Hu,
6805
6799
  getOffsetParent: Hn,
6806
- getElementRects: Ku,
6800
+ getElementRects: Gu,
6807
6801
  getClientRects: Ru,
6808
6802
  getDimensions: Wu,
6809
6803
  getScale: Ne,
6810
6804
  isElement: ve,
6811
- isRTL: Gu
6805
+ isRTL: Ku
6812
6806
  }, Zu = (e, t, n) => {
6813
6807
  const a = /* @__PURE__ */ new Map(), o = {
6814
6808
  platform: Yu,
@@ -7226,7 +7220,7 @@ const Ht = /* @__PURE__ */ J(uc, [["__scopeId", "data-v-68d89412"]]), cc = /* @_
7226
7220
  VJoyFunnel: $i,
7227
7221
  VJoyHeader: Li,
7228
7222
  VJoyHighlight: Fi,
7229
- VJoyIcon: K,
7223
+ VJoyIcon: G,
7230
7224
  VJoyIndicator: Tn,
7231
7225
  VJoyIndicators: Di,
7232
7226
  VJoyInput: Yi,
@@ -7363,7 +7357,7 @@ export {
7363
7357
  $i as VJoyFunnel,
7364
7358
  Li as VJoyHeader,
7365
7359
  Fi as VJoyHighlight,
7366
- K as VJoyIcon,
7360
+ G as VJoyIcon,
7367
7361
  Tn as VJoyIndicator,
7368
7362
  Di as VJoyIndicators,
7369
7363
  Yi as VJoyInput,