@maltjoy/core-vue 3.15.4 → 3.16.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 (64) hide show
  1. package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +1 -1
  2. package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +4 -4
  3. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +7 -7
  4. package/dist/components/JoyBadge/JoyBadge.types.d.ts +1 -1
  5. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +3 -3
  6. package/dist/components/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +1 -1
  7. package/dist/components/JoyButton/JoyButton.types.d.ts +14 -4
  8. package/dist/components/JoyButton/VJoyButton.vue.d.ts +11 -11
  9. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +2 -2
  10. package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +3 -3
  11. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +4 -4
  12. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +3 -3
  13. package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +2 -2
  14. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +6 -6
  15. package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +3 -3
  16. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +6 -6
  17. package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +10 -0
  18. package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +5 -0
  19. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +53 -0
  20. package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +10 -0
  21. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +3 -3
  22. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +6 -6
  23. package/dist/components/JoyIcon/JoyIcon.types.d.ts +4 -4
  24. package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +3 -3
  25. package/dist/components/JoyInput/JoyInput.types.d.ts +3 -3
  26. package/dist/components/JoyInput/VJoyInput.vue.d.ts +7 -7
  27. package/dist/components/JoyLabel/JoyLabel.types.d.ts +1 -1
  28. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +3 -3
  29. package/dist/components/JoyLink/VJoyLink.vue.d.ts +3 -3
  30. package/dist/components/JoyPanel/JoyPanel.types.d.ts +5 -5
  31. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +11 -11
  32. package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -2
  33. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  34. package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +3 -3
  35. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +4 -4
  36. package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +1 -1
  37. package/dist/components/JoySelect/JoySelect.types.d.ts +3 -3
  38. package/dist/components/JoySelect/VJoySelect.vue.d.ts +5 -5
  39. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +1 -1
  40. package/dist/components/JoySeparator/JoySeparator.types.d.ts +3 -3
  41. package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +4 -4
  42. package/dist/components/JoySpinner/JoySpinner.types.d.ts +1 -1
  43. package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +5 -5
  44. package/dist/components/JoyTag/JoyTag.types.d.ts +4 -4
  45. package/dist/components/JoyTag/VJoyTag.vue.d.ts +4 -4
  46. package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +1 -1
  47. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +1 -1
  48. package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +1 -1
  49. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  50. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
  51. package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +5 -5
  52. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +7 -7
  53. package/dist/components/components.types.d.ts +1 -0
  54. package/dist/components/index.d.ts +3 -1
  55. package/dist/helpers/index.d.ts +2 -2
  56. package/dist/joy-vue.js +1020 -935
  57. package/dist/joy-vue.umd.cjs +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +2 -2
  60. package/dist/tests/composables/test-components/GenericFormProps.vue.d.ts +1 -1
  61. package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +1 -1
  62. package/dist/types/index.d.ts +4 -0
  63. package/joy-components.d.ts +3 -0
  64. package/package.json +3 -3
package/dist/joy-vue.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as j, computed as V, openBlock as d, createElementBlock as m, normalizeClass as S, createElementVNode as _, Fragment as D, createTextVNode as B, toDisplayString as C, createCommentVNode as b, createBlock as x, resolveDynamicComponent as ne, mergeProps as Z, withCtx as O, pushScopeId as he, popScopeId as we, renderSlot as g, unref as k, renderList as G, createStaticVNode as lt, useAttrs as Se, resolveDirective as _t, withDirectives as bt, ref as w, createVNode as R, getCurrentScope as gt, onScopeDispose as ht, getCurrentInstance as wt, onMounted as Q, nextTick as at, watch as E, h as St, reactive as ve, onBeforeUnmount as je, normalizeStyle as K, normalizeProps as se, guardReactiveProps as ue, provide as $e, createSlots as nt, inject as de, useSlots as Y, onBeforeMount as jt, withModifiers as $t } from "vue";
2
- const kt = ["title"], Vt = /* @__PURE__ */ j({
1
+ import { defineComponent as $, computed as V, openBlock as u, createElementBlock as m, normalizeClass as S, createElementVNode as _, Fragment as D, createTextVNode as O, toDisplayString as C, createCommentVNode as h, createBlock as x, resolveDynamicComponent as oe, mergeProps as Q, withCtx as B, pushScopeId as ge, popScopeId as we, renderSlot as b, unref as k, renderList as G, createStaticVNode as Se, useAttrs as $e, resolveDirective as _t, withDirectives as bt, ref as w, createVNode as R, getCurrentScope as ht, onScopeDispose as gt, getCurrentInstance as wt, onMounted as Y, nextTick as at, watch as E, h as St, reactive as ve, onBeforeUnmount as je, normalizeStyle as Z, normalizeProps as se, guardReactiveProps as ue, provide as ke, createSlots as ot, inject as de, useSlots as K, onBeforeMount as $t, withModifiers as jt } from "vue";
2
+ const kt = ["title"], Vt = /* @__PURE__ */ $({
3
3
  __name: "VJoyAvailability",
4
4
  props: {
5
5
  /** Don't fill it and you'll only have the colored dot */
@@ -19,25 +19,25 @@ const kt = ["title"], Vt = /* @__PURE__ */ j({
19
19
  "joy-availability--partial": l.isPartial,
20
20
  [l.status]: !0
21
21
  }));
22
- return (a, n) => (d(), m("div", {
22
+ return (a, o) => (u(), m("div", {
23
23
  class: S(["joy-availability", { "joy-availability-has-label": !!e.label }]),
24
24
  title: e.label || void 0
25
25
  }, [
26
26
  _("span", {
27
27
  class: S(t.value)
28
28
  }, null, 2),
29
- e.label ? (d(), m(D, { key: 0 }, [
30
- B(C(e.label), 1)
31
- ], 64)) : b("", !0)
29
+ e.label ? (u(), m(D, { key: 0 }, [
30
+ O(C(e.label), 1)
31
+ ], 64)) : h("", !0)
32
32
  ], 10, kt));
33
33
  }
34
34
  });
35
- const $ = (e, l) => {
35
+ const j = (e, l) => {
36
36
  const t = e.__vccOpts || e;
37
- for (const [a, n] of l)
38
- t[a] = n;
37
+ for (const [a, o] of l)
38
+ t[a] = o;
39
39
  return t;
40
- }, xt = /* @__PURE__ */ $(Vt, [["__scopeId", "data-v-34b760ee"]]), T = /* @__PURE__ */ j({
40
+ }, xt = /* @__PURE__ */ j(Vt, [["__scopeId", "data-v-3452c6e7"]]), T = /* @__PURE__ */ $({
41
41
  __name: "VJoyIcon",
42
42
  props: {
43
43
  name: {
@@ -54,7 +54,7 @@ const $ = (e, l) => {
54
54
  }
55
55
  },
56
56
  setup(e) {
57
- return (l, t) => (d(), m("span", {
57
+ return (l, t) => (u(), m("span", {
58
58
  class: S(["joy-icon", `joy-icon--${e.color}`, `joy-icon--${e.size}`])
59
59
  }, [
60
60
  _("i", {
@@ -63,18 +63,18 @@ const $ = (e, l) => {
63
63
  ], 2));
64
64
  }
65
65
  });
66
- const It = (e) => (he("data-v-b3dcdecc"), e = e(), we(), e), Ct = {
66
+ const It = (e) => (ge("data-v-bcb28746"), e = e(), we(), e), Ct = {
67
67
  ref: "avatarEl",
68
68
  class: "joy-avatar__wrapper"
69
- }, Lt = ["src", "title", "alt"], Bt = {
69
+ }, Lt = ["src", "title", "alt"], Ot = {
70
70
  key: 0,
71
71
  class: "joy-avatar__strategy"
72
- }, Ot = ["height"], Tt = /* @__PURE__ */ It(() => /* @__PURE__ */ _("path", {
72
+ }, Bt = ["height"], Tt = /* @__PURE__ */ It(() => /* @__PURE__ */ _("path", {
73
73
  d: "M6.40531 15.88C5.29156 15.88 4.31531 15.6737 3.47656 15.2612C2.63781 14.8487 1.98469 14.2644 1.51719 13.5081C1.04969 12.7519 0.809061 11.8719 0.795311 10.8681L4.01281 10.3525C4.01281 11.2188 4.25344 11.9131 4.73469 12.4356C5.21594 12.9581 5.82781 13.2194 6.57031 13.2194C7.16156 13.2194 7.63594 13.0612 7.99344 12.745C8.36469 12.4288 8.55031 12.0231 8.55031 11.5281C8.55031 11.1156 8.40594 10.7719 8.11719 10.4969C7.84219 10.2081 7.38844 9.95375 6.75594 9.73375L4.96156 9.15625C3.65531 8.7575 2.70656 8.21438 2.11531 7.52687C1.53781 6.83937 1.24906 5.93187 1.24906 4.80437C1.24906 3.47062 1.68219 2.39812 2.54844 1.58687C3.41469 0.775624 4.63156 0.369999 6.19906 0.369999C7.65656 0.369999 8.83219 0.768749 9.72594 1.56625C10.6197 2.35 11.0803 3.41562 11.1078 4.76312L7.97281 5.36125C7.98656 4.64625 7.82156 4.07562 7.47781 3.64937C7.13406 3.20937 6.68719 2.98937 6.13719 2.98937C5.65594 2.98937 5.26406 3.14062 4.96156 3.44313C4.65906 3.73187 4.50781 4.10312 4.50781 4.55687C4.50781 4.99687 4.64531 5.36125 4.92031 5.65C5.20906 5.925 5.67656 6.15875 6.32281 6.35125L8.03469 6.92875C9.36844 7.3275 10.3309 7.87063 10.9222 8.55812C11.5272 9.23188 11.8297 10.1325 11.8297 11.26C11.8297 12.1538 11.6166 12.9513 11.1903 13.6525C10.7641 14.3538 10.1453 14.9038 9.33406 15.3025C8.52281 15.6875 7.54656 15.88 6.40531 15.88Z",
74
74
  fill: "#F7F7F5"
75
75
  }, null, -1)), Jt = [
76
76
  Tt
77
- ], Et = /* @__PURE__ */ j({
77
+ ], Et = /* @__PURE__ */ $({
78
78
  __name: "VJoyAvatar",
79
79
  props: {
80
80
  /** 3 different sizes of avatar */
@@ -103,85 +103,85 @@ const It = (e) => (he("data-v-b3dcdecc"), e = e(), we(), e), Ct = {
103
103
  },
104
104
  emits: ["click"],
105
105
  setup(e, { expose: l, emit: t }) {
106
- const a = e, n = V(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), r = V(() => a.link ? {
106
+ const a = e, o = V(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), r = V(() => a.link ? {
107
107
  type: "button"
108
108
  } : null), i = V(() => ({
109
109
  "joy-avatar": !0,
110
110
  "joy-avatar__link": a.link,
111
- "joy-avatar__placeholder": o.value,
111
+ "joy-avatar__placeholder": n.value,
112
112
  [`joy-avatar__${a.size}`]: !0,
113
113
  [`joy-avatar__${a.color}`]: !0
114
- })), o = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), y = V(() => {
114
+ })), n = V(() => !a.fullName && !a.photoUrl && !a.totalNumber), y = V(() => {
115
115
  function f(c) {
116
116
  return c.replace(/[';,:()]/g, "").charAt(0);
117
117
  }
118
- let u = a.fullName.split(" ");
119
- return u = u.slice(0, 2), u.forEach((c, s) => {
120
- u[s] = f(c);
121
- }), u.join("").toUpperCase();
118
+ let d = a.fullName.split(" ");
119
+ return d = d.slice(0, 2), d.forEach((c, s) => {
120
+ d[s] = f(c);
121
+ }), d.join("").toUpperCase();
122
122
  });
123
123
  function p() {
124
124
  t("click");
125
125
  }
126
126
  return l({
127
- isAnonymous: o,
127
+ isAnonymous: n,
128
128
  initials: y
129
- }), (f, u) => (d(), m("div", Ct, [
130
- (d(), x(ne(e.link ? "button" : "div"), Z(r.value, {
129
+ }), (f, d) => (u(), m("div", Ct, [
130
+ (u(), x(oe(e.link ? "button" : "div"), Q(r.value, {
131
131
  class: [i.value],
132
132
  onClick: p
133
133
  }), {
134
- default: O(() => [
135
- o.value ? (d(), x(T, {
134
+ default: B(() => [
135
+ n.value ? (u(), x(T, {
136
136
  key: 0,
137
137
  name: "user-photo",
138
138
  color: "white",
139
- size: n.value
140
- }, null, 8, ["size"])) : b("", !0),
141
- e.photoUrl ? (d(), m("img", {
139
+ size: o.value
140
+ }, null, 8, ["size"])) : h("", !0),
141
+ e.photoUrl ? (u(), m("img", {
142
142
  key: 1,
143
143
  src: e.photoUrl,
144
144
  title: e.fullName,
145
145
  alt: e.fullName || "",
146
146
  loading: "lazy"
147
- }, null, 8, Lt)) : b("", !0),
148
- e.fullName ? (d(), m(D, { key: 2 }, [
149
- B(C(y.value), 1)
150
- ], 64)) : b("", !0),
151
- e.totalNumber ? (d(), m(D, { key: 3 }, [
152
- B(C("+" + e.totalNumber), 1)
153
- ], 64)) : b("", !0)
147
+ }, null, 8, Lt)) : h("", !0),
148
+ e.fullName ? (u(), m(D, { key: 2 }, [
149
+ O(C(y.value), 1)
150
+ ], 64)) : h("", !0),
151
+ e.totalNumber ? (u(), m(D, { key: 3 }, [
152
+ O(C("+" + e.totalNumber), 1)
153
+ ], 64)) : h("", !0)
154
154
  ]),
155
155
  _: 1
156
156
  }, 16, ["class"])),
157
- e.profile === "strategy" ? (d(), m("span", Bt, [
158
- (d(), m("svg", {
157
+ e.profile === "strategy" ? (u(), m("span", Ot, [
158
+ (u(), m("svg", {
159
159
  width: "12",
160
160
  height: e.size === "small" ? "10" : "16",
161
161
  viewBox: "0 0 12 16",
162
162
  fill: "none",
163
163
  xmlns: "http://www.w3.org/2000/svg"
164
- }, Jt, 8, Ot))
165
- ])) : b("", !0)
164
+ }, Jt, 8, Bt))
165
+ ])) : h("", !0)
166
166
  ], 512));
167
167
  }
168
168
  });
169
- const Pt = /* @__PURE__ */ $(Et, [["__scopeId", "data-v-b3dcdecc"]]), At = /* @__PURE__ */ j({
169
+ const Pt = /* @__PURE__ */ j(Et, [["__scopeId", "data-v-bcb28746"]]), At = /* @__PURE__ */ $({
170
170
  __name: "VJoyAvatarsList",
171
171
  props: {
172
172
  /** Renders a compact list of avatars */
173
173
  compress: Boolean
174
174
  },
175
175
  setup(e) {
176
- return (l, t) => (d(), m("div", {
176
+ return (l, t) => (u(), m("div", {
177
177
  ref: "avatarsList",
178
178
  class: S(["joy-avatars-list", { "joy-avatars-list--compressed": e.compress }])
179
179
  }, [
180
- g(l.$slots, "default", {}, void 0, !0)
180
+ b(l.$slots, "default", {}, void 0, !0)
181
181
  ], 2));
182
182
  }
183
183
  });
184
- const zt = /* @__PURE__ */ $(At, [["__scopeId", "data-v-46e4547e"]]), qt = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], Ft = /* @__PURE__ */ j({
184
+ const zt = /* @__PURE__ */ j(At, [["__scopeId", "data-v-46e4547e"]]), Ft = ["info", "gray", "green", "orange", "red", "teal", "pink", "dark-blue", "yellow"], qt = /* @__PURE__ */ $({
185
185
  __name: "VJoyBadge",
186
186
  props: {
187
187
  /**
@@ -204,24 +204,24 @@ const zt = /* @__PURE__ */ $(At, [["__scopeId", "data-v-46e4547e"]]), qt = ["inf
204
204
  variant: {
205
205
  type: String,
206
206
  validator(e) {
207
- return qt.includes(e);
207
+ return Ft.includes(e);
208
208
  }
209
209
  }
210
210
  },
211
211
  setup(e) {
212
- return (l, t) => (d(), m("span", {
212
+ return (l, t) => (u(), m("span", {
213
213
  class: S(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
214
214
  role: "status"
215
215
  }, [
216
- g(l.$slots, "default", {}, () => [
217
- B(C(e.label), 1)
216
+ b(l.$slots, "default", {}, () => [
217
+ O(C(e.label), 1)
218
218
  ], !0)
219
219
  ], 2));
220
220
  }
221
221
  });
222
- const Mt = /* @__PURE__ */ $(Ft, [["__scopeId", "data-v-1ed08e27"]]);
222
+ const Mt = /* @__PURE__ */ j(qt, [["__scopeId", "data-v-4512c8c6"]]);
223
223
  var P = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(P || {}), re = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(re || {});
224
- const H = (e) => (he("data-v-f258a344"), e = e(), we(), e), Nt = { class: "joy-badge-level" }, Rt = /* @__PURE__ */ H(() => /* @__PURE__ */ _("path", {
224
+ const H = (e) => (ge("data-v-008b921b"), e = e(), we(), e), Nt = { class: "joy-badge-level" }, Rt = /* @__PURE__ */ H(() => /* @__PURE__ */ _("path", {
225
225
  fill: "#264FFA",
226
226
  d: "M5.71533 12.2962 11.4243 18l.0049-11.45716-5.71387 5.75336Z"
227
227
  }, null, -1)), Dt = /* @__PURE__ */ H(() => /* @__PURE__ */ _("path", {
@@ -285,8 +285,8 @@ const H = (e) => (he("data-v-f258a344"), e = e(), we(), e), Nt = { class: "joy-b
285
285
  xmlns: "http://www.w3.org/2000/svg",
286
286
  fill: "none",
287
287
  viewBox: "0 0 22 10"
288
- }, nl = /* @__PURE__ */ lt('<g clip-path="url(#a)" data-v-f258a344><path fill="var(--joy-color-tertiary-10)" d="M4.919 9.893c-1.32-.005-2.558-.526-3.487-1.464C.764 7.754.313 6.922.115 6.016v-.001c-.008-.037-.016-.074-.024-.112 0-.005-.001-.01-.002-.015-.006-.033-.012-.066-.018-.1C.069 5.779.068 5.77.066 5.76c-.005-.029-.009-.058-.014-.088-.002-.013-.003-.026-.005-.039-.004-.026-.007-.052-.01-.078l-.006-.048C.028 5.483.026 5.46.024 5.436.022 5.418.02 5.399.019 5.381c-.002-.022-.004-.043-.006-.065-.001-.02-.003-.04-.004-.061-.001-.02-.002-.041-.003-.061-.001-.02-.002-.041-.003-.062-.001-.02-.001-.04-.002-.06 0-.021 0-.043-.001-.064v-.122c0-.021.001-.042.001-.063 0-.02.001-.04.002-.06L.006 4.7c.001-.02.002-.041.003-.061.001-.02.002-.04.004-.061.002-.021.003-.043.005-.064.002-.019.004-.037.006-.056.002-.024.005-.047.007-.07l.006-.048c.003-.026.007-.052.01-.078.002-.014.003-.027.005-.04.004-.029.009-.059.014-.088.002-.009.003-.019.005-.028.006-.033.012-.067.018-.1l.003-.015c.007-.038.015-.075.023-.113v-.001c.198-.904.649-1.737 1.317-2.412C2.361.527 3.6.007 4.919.002L5.324 0l.34.001 4.98 4.946-4.98 4.946-.34.002-.405-.002Z" data-v-f258a344></path><path fill="var(--joy-color-brand-primary-50)" d="M16.3651.002c1.319.005 2.558.525 3.487 1.463.668.675 1.118 1.507 1.317 2.413v.001c.008.038.016.075.023.113l.003.015c.006.033.012.066.018.1.002.009.003.019.005.028.005.029.009.059.014.088.002.013.004.026.005.039.004.026.007.052.01.078l.006.048c.003.023.005.047.007.07.002.019.003.037.005.056.002.021.004.043.005.064.001.02.003.04.004.061.001.02.002.041.003.061l.003.063c.001.02.001.04.002.06.001.021.001.042.001.063v.122c0 .021-.001.042-.001.063 0 .02-.001.04-.002.06l-.003.063c-.001.02-.002.041-.003.061-.001.02-.002.04-.004.061-.002.021-.003.043-.005.064-.002.019-.003.037-.005.056-.002.024-.005.047-.007.07l-.006.048c-.003.026-.007.052-.01.078-.002.013-.004.026-.005.039-.004.029-.009.059-.014.088-.002.009-.003.019-.005.028-.006.033-.012.067-.018.1l-.003.015c-.007.038-.015.075-.023.113v.001c-.199.906-.649 1.738-1.317 2.413-.929.938-2.168 1.458-3.487 1.463l-.405.002-.34-.001-4.98-4.946 4.98-4.946.339-.001.406.002Z" data-v-f258a344></path></g><defs data-v-f258a344><clipPath id="a" data-v-f258a344><path fill="#fff" d="M0 0h21.283v9.895H0z" data-v-f258a344></path></clipPath></defs>', 2), ol = [
289
- nl
288
+ }, ol = /* @__PURE__ */ Se('<g clip-path="url(#a)" data-v-008b921b><path fill="var(--joy-color-tertiary-10)" d="M4.919 9.893c-1.32-.005-2.558-.526-3.487-1.464C.764 7.754.313 6.922.115 6.016v-.001c-.008-.037-.016-.074-.024-.112 0-.005-.001-.01-.002-.015-.006-.033-.012-.066-.018-.1C.069 5.779.068 5.77.066 5.76c-.005-.029-.009-.058-.014-.088-.002-.013-.003-.026-.005-.039-.004-.026-.007-.052-.01-.078l-.006-.048C.028 5.483.026 5.46.024 5.436.022 5.418.02 5.399.019 5.381c-.002-.022-.004-.043-.006-.065-.001-.02-.003-.04-.004-.061-.001-.02-.002-.041-.003-.061-.001-.02-.002-.041-.003-.062-.001-.02-.001-.04-.002-.06 0-.021 0-.043-.001-.064v-.122c0-.021.001-.042.001-.063 0-.02.001-.04.002-.06L.006 4.7c.001-.02.002-.041.003-.061.001-.02.002-.04.004-.061.002-.021.003-.043.005-.064.002-.019.004-.037.006-.056.002-.024.005-.047.007-.07l.006-.048c.003-.026.007-.052.01-.078.002-.014.003-.027.005-.04.004-.029.009-.059.014-.088.002-.009.003-.019.005-.028.006-.033.012-.067.018-.1l.003-.015c.007-.038.015-.075.023-.113v-.001c.198-.904.649-1.737 1.317-2.412C2.361.527 3.6.007 4.919.002L5.324 0l.34.001 4.98 4.946-4.98 4.946-.34.002-.405-.002Z" data-v-008b921b></path><path fill="var(--joy-color-brand-primary-50)" d="M16.3651.002c1.319.005 2.558.525 3.487 1.463.668.675 1.118 1.507 1.317 2.413v.001c.008.038.016.075.023.113l.003.015c.006.033.012.066.018.1.002.009.003.019.005.028.005.029.009.059.014.088.002.013.004.026.005.039.004.026.007.052.01.078l.006.048c.003.023.005.047.007.07.002.019.003.037.005.056.002.021.004.043.005.064.001.02.003.04.004.061.001.02.002.041.003.061l.003.063c.001.02.001.04.002.06.001.021.001.042.001.063v.122c0 .021-.001.042-.001.063 0 .02-.001.04-.002.06l-.003.063c-.001.02-.002.041-.003.061-.001.02-.002.04-.004.061-.002.021-.003.043-.005.064-.002.019-.003.037-.005.056-.002.024-.005.047-.007.07l-.006.048c-.003.026-.007.052-.01.078-.002.013-.004.026-.005.039-.004.029-.009.059-.014.088-.002.009-.003.019-.005.028-.006.033-.012.067-.018.1l-.003.015c-.007.038-.015.075-.023.113v.001c-.199.906-.649 1.738-1.317 2.413-.929.938-2.168 1.458-3.487 1.463l-.405.002-.34-.001-4.98-4.946 4.98-4.946.339-.001.406.002Z" data-v-008b921b></path></g><defs data-v-008b921b><clipPath id="a" data-v-008b921b><path fill="#fff" d="M0 0h21.283v9.895H0z" data-v-008b921b></path></clipPath></defs>', 2), nl = [
289
+ ol
290
290
  ], rl = {
291
291
  key: 4,
292
292
  class: "joy-badge-level__highpotential-program",
@@ -309,7 +309,7 @@ const H = (e) => (he("data-v-f258a344"), e = e(), we(), e), Nt = { class: "joy-b
309
309
  ], -1)), ul = [
310
310
  il,
311
311
  sl
312
- ], dl = /* @__PURE__ */ j({
312
+ ], dl = /* @__PURE__ */ $({
313
313
  __name: "VJoyBadgeLevel",
314
314
  props: {
315
315
  /** Badge type. HIGH_POTENTIAL, SUPERMALTER, etc... */
@@ -348,18 +348,18 @@ const H = (e) => (he("data-v-f258a344"), e = e(), we(), e), Nt = { class: "joy-b
348
348
  return "Supermalter";
349
349
  }
350
350
  });
351
- return (a, n) => (d(), m("span", Nt, [
352
- e.type === k(P).SUPER_MALTER ? (d(!0), m(D, { key: 0 }, G(e.superMalterLevel, (r, i) => (d(), m("svg", {
351
+ return (a, o) => (u(), m("span", Nt, [
352
+ e.type === k(P).SUPER_MALTER ? (u(!0), m(D, { key: 0 }, G(e.superMalterLevel, (r, i) => (u(), m("svg", {
353
353
  key: i,
354
354
  class: "joy-badge-level__supermalter",
355
355
  xmlns: "http://www.w3.org/2000/svg",
356
356
  fill: "none",
357
357
  viewBox: "0 0 12 18"
358
- }, Wt))), 128)) : b("", !0),
359
- e.type === k(P).HIGH_POTENTIAL ? (d(), m("svg", Ut, Zt)) : b("", !0),
360
- e.type === k(P).HIGH_POTENTIAL_AUTO ? (d(), m("svg", Qt, ll)) : b("", !0),
361
- e.type === k(P).MALT_LINKER ? (d(), m("svg", al, ol)) : b("", !0),
362
- e.type === k(re).HIGH_POTENTIAL ? (d(), m("svg", rl, ul)) : b("", !0),
358
+ }, Wt))), 128)) : h("", !0),
359
+ e.type === k(P).HIGH_POTENTIAL ? (u(), m("svg", Ut, Zt)) : h("", !0),
360
+ e.type === k(P).HIGH_POTENTIAL_AUTO ? (u(), m("svg", Qt, ll)) : h("", !0),
361
+ e.type === k(P).MALT_LINKER ? (u(), m("svg", al, nl)) : h("", !0),
362
+ e.type === k(re).HIGH_POTENTIAL ? (u(), m("svg", rl, ul)) : h("", !0),
363
363
  _("span", {
364
364
  class: S([
365
365
  {
@@ -370,14 +370,14 @@ const H = (e) => (he("data-v-f258a344"), e = e(), we(), e), Nt = { class: "joy-b
370
370
  }
371
371
  ])
372
372
  }, [
373
- e.visibleText ? g(a.$slots, "default", { key: 0 }, () => [
374
- B(C(t.value), 1)
375
- ], !0) : b("", !0)
373
+ e.visibleText ? b(a.$slots, "default", { key: 0 }, () => [
374
+ O(C(t.value), 1)
375
+ ], !0) : h("", !0)
376
376
  ], 2)
377
377
  ]));
378
378
  }
379
379
  });
380
- const cl = /* @__PURE__ */ $(dl, [["__scopeId", "data-v-f258a344"]]), fl = ["teal", "white"], yl = /* @__PURE__ */ j({
380
+ const cl = /* @__PURE__ */ j(dl, [["__scopeId", "data-v-008b921b"]]), fl = ["teal", "white"], yl = /* @__PURE__ */ $({
381
381
  __name: "VJoySpinner",
382
382
  props: {
383
383
  color: {
@@ -388,13 +388,13 @@ const cl = /* @__PURE__ */ $(dl, [["__scopeId", "data-v-f258a344"]]), fl = ["tea
388
388
  }
389
389
  },
390
390
  setup(e) {
391
- return (l, t) => (d(), m("div", {
391
+ return (l, t) => (u(), m("div", {
392
392
  class: S(["joy-spinner", `joy-spinner_${e.color}`])
393
393
  }, null, 2));
394
394
  }
395
395
  });
396
- const ke = /* @__PURE__ */ $(yl, [["__scopeId", "data-v-616a29d0"]]), vl = ["primary", "secondary"], pl = ["neutral", "success", "info", "warning", "error"], ml = ["main", "admin", "ghost", "white"], _l = [...vl, ...ml], bl = ["large", "medium", "small", "xsmall", "xxsmall"];
397
- function gl(e) {
396
+ const Ve = /* @__PURE__ */ j(yl, [["__scopeId", "data-v-127ef073"]]), vl = ["primary", "secondary"], pl = ["neutral", "success", "info", "warning", "error"], ml = ["main", "admin", "ghost", "white"], _l = [...vl, ...ml], bl = ["large", "medium", "small", "xsmall", "xxsmall"];
397
+ function hl(e) {
398
398
  let l;
399
399
  switch (e) {
400
400
  case "error":
@@ -408,7 +408,7 @@ function gl(e) {
408
408
  }
409
409
  return l;
410
410
  }
411
- function hl(e) {
411
+ function gl(e) {
412
412
  if (!e) {
413
413
  console.warn("Missing ref element for focusOnFirstFocusableFormField use");
414
414
  return;
@@ -418,9 +418,9 @@ function hl(e) {
418
418
  if (t.length)
419
419
  return t[0].focus();
420
420
  }
421
- const Ve = function(e = 10) {
421
+ const xe = function(e = 10) {
422
422
  return Math.random().toString(36).substring(2, e + 2);
423
- }, wl = /* @__PURE__ */ j({
423
+ }, wl = /* @__PURE__ */ $({
424
424
  __name: "VJoyButton",
425
425
  props: {
426
426
  /**
@@ -469,7 +469,7 @@ const Ve = function(e = 10) {
469
469
  }
470
470
  },
471
471
  setup(e, { expose: l }) {
472
- const t = e, a = Se(), n = "joy-button--" + Ve(), r = V(() => {
472
+ const t = e, a = $e(), o = "joy-button--" + xe(), r = V(() => {
473
473
  switch (t.size) {
474
474
  case "xxsmall":
475
475
  return "xxsmall";
@@ -481,9 +481,9 @@ const Ve = function(e = 10) {
481
481
  return "small";
482
482
  }
483
483
  }), i = V(() => ["white", "ghost", "secondary"].includes(t.variant) ? "teal" : "white");
484
- return l({ randomId: n }), (o, y) => {
484
+ return l({ randomId: o }), (n, y) => {
485
485
  const p = _t("joy-ripple");
486
- return bt((d(), x(ne(k(a).href ? "a" : "button"), {
486
+ return bt((u(), x(oe(k(a).href ? "a" : "button"), {
487
487
  disabled: e.loading || k(a).disabled,
488
488
  type: k(a).type || "button",
489
489
  class: S([
@@ -495,35 +495,35 @@ const Ve = function(e = 10) {
495
495
  "joy-button_loading": e.loading
496
496
  }
497
497
  ]),
498
- "aria-labelledby": (o.$slots.default || e.label) && n
498
+ "aria-labelledby": (n.$slots.default || e.label) && o
499
499
  }, {
500
- default: O(() => [
501
- e.icon && e.iconPosition === "left" ? (d(), x(T, {
500
+ default: B(() => [
501
+ e.icon && e.iconPosition === "left" ? (u(), x(T, {
502
502
  key: 0,
503
503
  class: "joy-button_icon joy-button_icon--left",
504
504
  name: e.icon,
505
505
  size: r.value,
506
506
  "aria-hidden": "true"
507
- }, null, 8, ["name", "size"])) : b("", !0),
508
- e.loading ? (d(), x(ke, {
507
+ }, null, 8, ["name", "size"])) : h("", !0),
508
+ e.loading ? (u(), x(Ve, {
509
509
  key: 1,
510
510
  color: i.value
511
- }, null, 8, ["color"])) : b("", !0),
511
+ }, null, 8, ["color"])) : h("", !0),
512
512
  _("span", {
513
- id: n,
513
+ id: o,
514
514
  class: "joy-button--slot"
515
515
  }, [
516
- g(o.$slots, "default", {}, () => [
517
- B(C(e.label), 1)
516
+ b(n.$slots, "default", {}, () => [
517
+ O(C(e.label), 1)
518
518
  ], !0)
519
519
  ]),
520
- e.icon && e.iconPosition === "right" ? (d(), x(T, {
520
+ e.icon && e.iconPosition === "right" ? (u(), x(T, {
521
521
  key: 2,
522
522
  class: "joy-button_icon joy-button_icon--right",
523
523
  name: e.icon,
524
524
  size: r.value,
525
525
  "aria-hidden": "true"
526
- }, null, 8, ["name", "size"])) : b("", !0)
526
+ }, null, 8, ["name", "size"])) : h("", !0)
527
527
  ]),
528
528
  _: 3
529
529
  }, 8, ["disabled", "type", "class", "aria-labelledby"])), [
@@ -532,7 +532,7 @@ const Ve = function(e = 10) {
532
532
  };
533
533
  }
534
534
  });
535
- const xe = /* @__PURE__ */ $(wl, [["__scopeId", "data-v-a31d0dc4"]]), Sl = ["aria-checked", "aria-hidden"], jl = { class: "joy-checkbox__input-wrapper" }, $l = ["id", "name", "disabled", "checked", "required", "aria-checked", "value", "indeterminate"], kl = { class: "joy-checkbox__content-wrapper" }, Vl = { class: "joy-checkbox__content" }, xl = /* @__PURE__ */ j({
535
+ const Ie = /* @__PURE__ */ j(wl, [["__scopeId", "data-v-25ba8bc2"]]), Sl = ["aria-checked", "aria-hidden"], $l = { class: "joy-checkbox__input-wrapper" }, jl = ["id", "name", "disabled", "checked", "required", "aria-checked", "value", "indeterminate"], kl = { class: "joy-checkbox__content-wrapper" }, Vl = { class: "joy-checkbox__content" }, xl = /* @__PURE__ */ $({
536
536
  __name: "VJoyCheckbox",
537
537
  props: {
538
538
  /** 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 */
@@ -587,21 +587,21 @@ const xe = /* @__PURE__ */ $(wl, [["__scopeId", "data-v-a31d0dc4"]]), Sl = ["ari
587
587
  },
588
588
  emits: ["update:checked", "focus", "blur"],
589
589
  setup(e, { expose: l, emit: t }) {
590
- const a = e, n = w(), r = w(a.indeterminate), i = w(a.invalid), o = w(!1), y = {
590
+ const a = e, o = w(), r = w(a.indeterminate), i = w(a.invalid), n = w(!1), y = {
591
591
  onChange: (p) => {
592
592
  const f = p.target.checked;
593
593
  r.value = !1, i.value = !1, t("update:checked", f);
594
594
  },
595
595
  onFocus: () => {
596
- o.value = !0, t("focus");
596
+ n.value = !0, t("focus");
597
597
  },
598
598
  onBlur: () => {
599
- o.value = !1, t("blur");
599
+ n.value = !1, t("blur");
600
600
  }
601
601
  };
602
602
  return l({
603
603
  isIndeterminate: r
604
- }), (p, f) => (d(), m("div", {
604
+ }), (p, f) => (u(), m("div", {
605
605
  class: "joy-checkbox__wrapper",
606
606
  "aria-checked": e.checked,
607
607
  "aria-hidden": e.disabled
@@ -614,15 +614,15 @@ const xe = /* @__PURE__ */ $(wl, [["__scopeId", "data-v-a31d0dc4"]]), Sl = ["ari
614
614
  "joy-checkbox__indeterminate": r.value,
615
615
  "joy-checkbox__disabled": e.disabled,
616
616
  "joy-checkbox__invalid": i.value,
617
- "joy-checkbox__focusing": o.value && e.displayFocus
617
+ "joy-checkbox__focusing": n.value && e.displayFocus
618
618
  }
619
619
  ])
620
620
  }, [
621
- _("div", jl, [
621
+ _("div", $l, [
622
622
  _("input", {
623
623
  id: e.id,
624
624
  ref_key: "input",
625
- ref: n,
625
+ ref: o,
626
626
  type: "checkbox",
627
627
  class: "joy-checkbox__input",
628
628
  role: "checkbox",
@@ -634,26 +634,26 @@ const xe = /* @__PURE__ */ $(wl, [["__scopeId", "data-v-a31d0dc4"]]), Sl = ["ari
634
634
  value: e.value,
635
635
  indeterminate: r.value,
636
636
  onChange: f[0] || (f[0] = //@ts-ignore
637
- (...u) => y.onChange && y.onChange(...u)),
637
+ (...d) => y.onChange && y.onChange(...d)),
638
638
  onFocus: f[1] || (f[1] = //@ts-ignore
639
- (...u) => y.onFocus && y.onFocus(...u)),
639
+ (...d) => y.onFocus && y.onFocus(...d)),
640
640
  onBlur: f[2] || (f[2] = //@ts-ignore
641
- (...u) => y.onBlur && y.onBlur(...u))
642
- }, null, 40, $l)
641
+ (...d) => y.onBlur && y.onBlur(...d))
642
+ }, null, 40, jl)
643
643
  ]),
644
644
  _("div", kl, [
645
- g(p.$slots, "default", {}, () => [
646
- B(C(e.label), 1)
645
+ b(p.$slots, "default", {}, () => [
646
+ O(C(e.label), 1)
647
647
  ], !0),
648
648
  _("div", Vl, [
649
- g(p.$slots, "checkbox-content", {}, void 0, !0)
649
+ b(p.$slots, "checkbox-content", {}, void 0, !0)
650
650
  ])
651
651
  ])
652
652
  ], 2)
653
653
  ], 8, Sl));
654
654
  }
655
655
  });
656
- const Ie = /* @__PURE__ */ $(xl, [["__scopeId", "data-v-27cc9d8c"]]), Il = ["src", "alt", "title"], Cl = /* @__PURE__ */ j({
656
+ const Ce = /* @__PURE__ */ j(xl, [["__scopeId", "data-v-27cc9d8c"]]), Il = ["src", "alt", "title"], Cl = /* @__PURE__ */ $({
657
657
  __name: "VJoyCompanyAvatar",
658
658
  props: {
659
659
  imgSrc: String,
@@ -677,15 +677,15 @@ const Ie = /* @__PURE__ */ $(xl, [["__scopeId", "data-v-27cc9d8c"]]), Il = ["src
677
677
  return "xsmall";
678
678
  }
679
679
  });
680
- return (a, n) => (d(), m("div", {
680
+ return (a, o) => (u(), m("div", {
681
681
  class: S(["joy-company-avatar", `joy-company-avatar--${e.size}`])
682
682
  }, [
683
- e.imgSrc ? (d(), m("img", {
683
+ e.imgSrc ? (u(), m("img", {
684
684
  key: 0,
685
685
  src: e.imgSrc,
686
686
  alt: e.imgAlt || e.companyName,
687
687
  title: e.companyName
688
- }, null, 8, Il)) : (d(), x(k(T), {
688
+ }, null, 8, Il)) : (u(), x(k(T), {
689
689
  key: 1,
690
690
  name: "company-placeholder",
691
691
  size: t.value
@@ -693,12 +693,12 @@ const Ie = /* @__PURE__ */ $(xl, [["__scopeId", "data-v-27cc9d8c"]]), Il = ["src
693
693
  ], 2));
694
694
  }
695
695
  });
696
- const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { class: "joy-counter" }, Ol = ["aria-label", "disabled"], Tl = { class: "joy-counter__input-wrapper" }, Jl = ["id", "min", "max", "aria-invalid", "name", "required", "value"], El = ["aria-label", "disabled"], Pl = {
696
+ const Ll = /* @__PURE__ */ j(Cl, [["__scopeId", "data-v-0f616ccb"]]), Ol = { class: "joy-counter" }, Bl = ["aria-label", "disabled"], Tl = { class: "joy-counter__input-wrapper" }, Jl = ["id", "min", "max", "aria-invalid", "name", "required", "value"], El = ["aria-label", "disabled"], Pl = {
697
697
  key: 0,
698
698
  class: "joy-counter_error"
699
699
  }, Al = {
700
700
  inheritAttrs: !1
701
- }, zl = /* @__PURE__ */ j({
701
+ }, zl = /* @__PURE__ */ $({
702
702
  ...Al,
703
703
  __name: "VJoyCounter",
704
704
  props: {
@@ -766,26 +766,26 @@ const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { cla
766
766
  },
767
767
  emits: ["update:modelValue"],
768
768
  setup(e, { expose: l, emit: t }) {
769
- const a = e, n = w(!1), r = w(!1);
769
+ const a = e, o = w(!1), r = w(!1);
770
770
  function i() {
771
771
  const v = p(!1);
772
772
  v >= 0 ? t("update:modelValue", v <= a.min ? a.min : v) : t("update:modelValue", 0), y();
773
773
  }
774
- function o() {
774
+ function n() {
775
775
  const v = p();
776
776
  a.max && v <= a.max ? t("update:modelValue", v >= a.max ? a.max : v) : a.max && v > a.max ? t("update:modelValue", a.max) : t("update:modelValue", v), y();
777
777
  }
778
778
  function y() {
779
- n.value = !f();
779
+ o.value = !f();
780
780
  }
781
781
  function p(v = !0) {
782
- const h = a.step.toString().split("."), I = h.length === 2 ? h[1].length : 0;
782
+ const g = a.step.toString().split("."), I = g.length === 2 ? g[1].length : 0;
783
783
  return parseFloat(v ? (a.modelValue + a.step).toFixed(I) : (a.modelValue - a.step).toFixed(I));
784
784
  }
785
785
  function f() {
786
- return u() && c();
786
+ return d() && c();
787
787
  }
788
- function u() {
788
+ function d() {
789
789
  return !a.max || a.modelValue <= a.max;
790
790
  }
791
791
  function c() {
@@ -793,7 +793,7 @@ const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { cla
793
793
  }
794
794
  const s = {
795
795
  onInput: (v) => {
796
- t("update:modelValue", +v.target.value || 0), n.value = !1;
796
+ t("update:modelValue", +v.target.value || 0), o.value = !1;
797
797
  },
798
798
  onFocus: () => {
799
799
  r.value = !0;
@@ -804,21 +804,21 @@ const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { cla
804
804
  };
805
805
  return l({
806
806
  props: a
807
- }), (v, h) => (d(), m("div", Bl, [
808
- e.label ? (d(), x(k(ee), {
807
+ }), (v, g) => (u(), m("div", Ol, [
808
+ e.label ? (u(), x(k(ee), {
809
809
  key: 0,
810
810
  for: e.id,
811
811
  required: e.required && e.requiredMark,
812
812
  "optional-label": e.optionalLabel,
813
813
  size: e.labelSize
814
814
  }, {
815
- default: O(() => [
816
- g(v.$slots, "default", {}, () => [
817
- B(C(e.label), 1)
815
+ default: B(() => [
816
+ b(v.$slots, "default", {}, () => [
817
+ O(C(e.label), 1)
818
818
  ], !0)
819
819
  ]),
820
820
  _: 3
821
- }, 8, ["for", "required", "optional-label", "size"])) : b("", !0),
821
+ }, 8, ["for", "required", "optional-label", "size"])) : h("", !0),
822
822
  _("div", {
823
823
  class: S(["joy-counter__wrapper", { "joy-counter--focusing": r.value }])
824
824
  }, [
@@ -830,26 +830,26 @@ const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { cla
830
830
  onClick: i
831
831
  }, [
832
832
  R(k(T), { name: "minus" })
833
- ], 8, Ol),
833
+ ], 8, Bl),
834
834
  _("div", Tl, [
835
- _("input", Z({
835
+ _("input", Q({
836
836
  id: e.id,
837
837
  ref: "input",
838
838
  type: "number",
839
- class: { "joy-counter__invalid": e.invalid || n.value },
839
+ class: { "joy-counter__invalid": e.invalid || o.value },
840
840
  min: e.min,
841
841
  max: e.max,
842
- "aria-invalid": e.invalid || n.value,
842
+ "aria-invalid": e.invalid || o.value,
843
843
  name: e.name,
844
844
  required: e.required,
845
845
  step: "any",
846
846
  value: e.modelValue
847
847
  }, v.$attrs, {
848
- onInput: h[0] || (h[0] = //@ts-ignore
848
+ onInput: g[0] || (g[0] = //@ts-ignore
849
849
  (...I) => s.onInput && s.onInput(...I)),
850
- onBlur: h[1] || (h[1] = //@ts-ignore
850
+ onBlur: g[1] || (g[1] = //@ts-ignore
851
851
  (...I) => s.onBlur && s.onBlur(...I)),
852
- onFocus: h[2] || (h[2] = //@ts-ignore
852
+ onFocus: g[2] || (g[2] = //@ts-ignore
853
853
  (...I) => s.onFocus && s.onFocus(...I))
854
854
  }), null, 16, Jl)
855
855
  ]),
@@ -858,18 +858,18 @@ const Ll = /* @__PURE__ */ $(Cl, [["__scopeId", "data-v-7ab52b19"]]), Bl = { cla
858
858
  type: "button",
859
859
  "aria-label": e.labelIncrement,
860
860
  disabled: e.max ? e.modelValue >= e.max : !1,
861
- onClick: o
861
+ onClick: n
862
862
  }, [
863
863
  R(k(T), { name: "add" })
864
864
  ], 8, El),
865
- e.invalid && e.errorMessage ? (d(), m("div", Pl, [
865
+ e.invalid && e.errorMessage ? (u(), m("div", Pl, [
866
866
  R(k(ft), { "no-html-error-text": e.errorMessage }, null, 8, ["no-html-error-text"])
867
- ])) : b("", !0)
867
+ ])) : h("", !0)
868
868
  ], 2)
869
869
  ]));
870
870
  }
871
871
  });
872
- const ql = /* @__PURE__ */ $(zl, [["__scopeId", "data-v-a59ac0ad"]]), Fl = ["disabled"], Ml = { class: "joy-divider-cta--icon" }, Nl = { class: "joy-divider-cta--content" }, Rl = { class: "joy-divider-cta--content---title" }, Dl = /* @__PURE__ */ j({
872
+ const Fl = /* @__PURE__ */ j(zl, [["__scopeId", "data-v-ebcfc48d"]]), ql = ["disabled"], Ml = { class: "joy-divider-cta--icon" }, Nl = { class: "joy-divider-cta--content" }, Rl = { class: "joy-divider-cta--content---title" }, Dl = /* @__PURE__ */ $({
873
873
  __name: "VJoyDividerCta",
874
874
  props: {
875
875
  disabled: {
@@ -878,7 +878,7 @@ const ql = /* @__PURE__ */ $(zl, [["__scopeId", "data-v-a59ac0ad"]]), Fl = ["dis
878
878
  }
879
879
  },
880
880
  setup(e) {
881
- return (l, t) => (d(), m("button", {
881
+ return (l, t) => (u(), m("button", {
882
882
  type: "button",
883
883
  class: S(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
884
884
  disabled: e.disabled
@@ -888,54 +888,54 @@ const ql = /* @__PURE__ */ $(zl, [["__scopeId", "data-v-a59ac0ad"]]), Fl = ["dis
888
888
  ]),
889
889
  _("div", Nl, [
890
890
  _("p", Rl, [
891
- g(l.$slots, "default", {}, void 0, !0)
891
+ b(l.$slots, "default", {}, void 0, !0)
892
892
  ]),
893
- g(l.$slots, "divider-content", {}, void 0, !0)
893
+ b(l.$slots, "divider-content", {}, void 0, !0)
894
894
  ])
895
- ], 10, Fl));
895
+ ], 10, ql));
896
896
  }
897
897
  });
898
- const Hl = /* @__PURE__ */ $(Dl, [["__scopeId", "data-v-a3d693c3"]]);
899
- var Oe;
900
- const le = typeof window < "u", ot = (e) => typeof e == "string", M = () => {
901
- }, ie = le && ((Oe = window == null ? void 0 : window.navigator) == null ? void 0 : Oe.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
898
+ const Hl = /* @__PURE__ */ j(Dl, [["__scopeId", "data-v-a3d693c3"]]);
899
+ var Te;
900
+ const le = typeof window < "u", nt = (e) => typeof e == "string", M = () => {
901
+ }, ie = le && ((Te = window == null ? void 0 : window.navigator) == null ? void 0 : Te.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
902
902
  function z(e) {
903
903
  return typeof e == "function" ? e() : k(e);
904
904
  }
905
905
  function rt(e, l) {
906
906
  function t(...a) {
907
- return new Promise((n, r) => {
908
- Promise.resolve(e(() => l.apply(this, a), { fn: l, thisArg: this, args: a })).then(n).catch(r);
907
+ return new Promise((o, r) => {
908
+ Promise.resolve(e(() => l.apply(this, a), { fn: l, thisArg: this, args: a })).then(o).catch(r);
909
909
  });
910
910
  }
911
911
  return t;
912
912
  }
913
913
  function Wl(e, l = {}) {
914
- let t, a, n = M;
915
- const r = (o) => {
916
- clearTimeout(o), n(), n = M;
914
+ let t, a, o = M;
915
+ const r = (n) => {
916
+ clearTimeout(n), o(), o = M;
917
917
  };
918
- return (o) => {
918
+ return (n) => {
919
919
  const y = z(e), p = z(l.maxWait);
920
- return t && r(t), y <= 0 || p !== void 0 && p <= 0 ? (a && (r(a), a = null), Promise.resolve(o())) : new Promise((f, u) => {
921
- n = l.rejectOnCancel ? u : f, p && !a && (a = setTimeout(() => {
922
- t && r(t), a = null, f(o());
920
+ return t && r(t), y <= 0 || p !== void 0 && p <= 0 ? (a && (r(a), a = null), Promise.resolve(n())) : new Promise((f, d) => {
921
+ o = l.rejectOnCancel ? d : f, p && !a && (a = setTimeout(() => {
922
+ t && r(t), a = null, f(n());
923
923
  }, p)), t = setTimeout(() => {
924
- a && r(a), a = null, f(o());
924
+ a && r(a), a = null, f(n());
925
925
  }, y);
926
926
  });
927
927
  };
928
928
  }
929
929
  function Ul(e, l = !0, t = !0, a = !1) {
930
- let n = 0, r, i = !0, o = M, y;
930
+ let o = 0, r, i = !0, n = M, y;
931
931
  const p = () => {
932
- r && (clearTimeout(r), r = void 0, o(), o = M);
932
+ r && (clearTimeout(r), r = void 0, n(), n = M);
933
933
  };
934
- return (u) => {
935
- const c = z(e), s = Date.now() - n, v = () => y = u();
936
- return p(), c <= 0 ? (n = Date.now(), v()) : (s > c && (t || !i) ? (n = Date.now(), v()) : l && (y = new Promise((h, I) => {
937
- o = a ? I : h, r = setTimeout(() => {
938
- n = Date.now(), i = !0, h(v()), p();
934
+ return (d) => {
935
+ const c = z(e), s = Date.now() - o, v = () => y = d();
936
+ return p(), c <= 0 ? (o = Date.now(), v()) : (s > c && (t || !i) ? (o = Date.now(), v()) : l && (y = new Promise((g, I) => {
937
+ n = a ? I : g, r = setTimeout(() => {
938
+ o = Date.now(), i = !0, g(v()), p();
939
939
  }, Math.max(0, c - s));
940
940
  })), !t && !r && (r = setTimeout(() => i = !0, c)), i = !1, y);
941
941
  };
@@ -949,51 +949,51 @@ function Gl(e) {
949
949
  return e;
950
950
  }
951
951
  function ae(e) {
952
- return gt() ? (ht(e), !0) : !1;
952
+ return ht() ? (gt(e), !0) : !1;
953
953
  }
954
954
  function Kl(e, l = 200, t = {}) {
955
955
  return rt(Wl(l, t), e);
956
956
  }
957
- function Zl(e, l = 200, t = !1, a = !0, n = !1) {
958
- return rt(Ul(l, t, a, n), e);
957
+ function Zl(e, l = 200, t = !1, a = !0, o = !1) {
958
+ return rt(Ul(l, t, a, o), e);
959
959
  }
960
960
  function Ql(e) {
961
961
  return typeof e == "function" ? V(e) : w(e);
962
962
  }
963
963
  function it(e, l = !0) {
964
- wt() ? Q(e) : l ? e() : at(e);
964
+ wt() ? Y(e) : l ? e() : at(e);
965
965
  }
966
966
  function te(e) {
967
967
  var l;
968
968
  const t = z(e);
969
969
  return (l = t == null ? void 0 : t.$el) != null ? l : t;
970
970
  }
971
- const Ce = le ? window : void 0;
971
+ const Le = le ? window : void 0;
972
972
  le && window.document;
973
973
  le && window.navigator;
974
974
  le && window.location;
975
975
  function ye(...e) {
976
- let l, t, a, n;
977
- if (ot(e[0]) || Array.isArray(e[0]) ? ([t, a, n] = e, l = Ce) : [l, t, a, n] = e, !l)
976
+ let l, t, a, o;
977
+ if (nt(e[0]) || Array.isArray(e[0]) ? ([t, a, o] = e, l = Le) : [l, t, a, o] = e, !l)
978
978
  return M;
979
979
  Array.isArray(t) || (t = [t]), Array.isArray(a) || (a = [a]);
980
980
  const r = [], i = () => {
981
981
  r.forEach((f) => f()), r.length = 0;
982
- }, o = (f, u, c, s) => (f.addEventListener(u, c, s), () => f.removeEventListener(u, c, s)), y = E(() => [te(l), z(n)], ([f, u]) => {
983
- i(), f && r.push(...t.flatMap((c) => a.map((s) => o(f, c, s, u))));
982
+ }, n = (f, d, c, s) => (f.addEventListener(d, c, s), () => f.removeEventListener(d, c, s)), y = E(() => [te(l), z(o)], ([f, d]) => {
983
+ i(), f && r.push(...t.flatMap((c) => a.map((s) => n(f, c, s, d))));
984
984
  }, { immediate: !0, flush: "post" }), p = () => {
985
985
  y(), i();
986
986
  };
987
987
  return ae(p), p;
988
988
  }
989
- let Te = !1;
989
+ let Je = !1;
990
990
  function Yl(e, l, t = {}) {
991
- const { window: a = Ce, ignore: n = [], capture: r = !0, detectIframe: i = !1 } = t;
991
+ const { window: a = Le, ignore: o = [], capture: r = !0, detectIframe: i = !1 } = t;
992
992
  if (!a)
993
993
  return;
994
- ie && !Te && (Te = !0, Array.from(a.document.body.children).forEach((c) => c.addEventListener("click", M)));
995
- let o = !0;
996
- const y = (c) => n.some((s) => {
994
+ ie && !Je && (Je = !0, Array.from(a.document.body.children).forEach((c) => c.addEventListener("click", M)));
995
+ let n = !0;
996
+ const y = (c) => o.some((s) => {
997
997
  if (typeof s == "string")
998
998
  return Array.from(a.document.querySelectorAll(s)).some((v) => v === c.target || c.composedPath().includes(v));
999
999
  {
@@ -1004,8 +1004,8 @@ function Yl(e, l, t = {}) {
1004
1004
  ye(a, "click", (c) => {
1005
1005
  const s = te(e);
1006
1006
  if (!(!s || s === c.target || c.composedPath().includes(s))) {
1007
- if (c.detail === 0 && (o = !y(c)), !o) {
1008
- o = !0;
1007
+ if (c.detail === 0 && (n = !y(c)), !n) {
1008
+ n = !0;
1009
1009
  return;
1010
1010
  }
1011
1011
  l(c);
@@ -1013,7 +1013,7 @@ function Yl(e, l, t = {}) {
1013
1013
  }, { passive: !0, capture: r }),
1014
1014
  ye(a, "pointerdown", (c) => {
1015
1015
  const s = te(e);
1016
- s && (o = !c.composedPath().includes(s) && !y(c));
1016
+ s && (n = !c.composedPath().includes(s) && !y(c));
1017
1017
  }, { passive: !0 }),
1018
1018
  i && ye(a, "blur", (c) => {
1019
1019
  var s;
@@ -1030,39 +1030,39 @@ function Xl(e, l = !1) {
1030
1030
  const pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, me = "__vueuse_ssr_handlers__";
1031
1031
  pe[me] = pe[me] || {};
1032
1032
  pe[me];
1033
- var Je = Object.getOwnPropertySymbols, ea = Object.prototype.hasOwnProperty, ta = Object.prototype.propertyIsEnumerable, la = (e, l) => {
1033
+ var Ee = Object.getOwnPropertySymbols, ea = Object.prototype.hasOwnProperty, ta = Object.prototype.propertyIsEnumerable, la = (e, l) => {
1034
1034
  var t = {};
1035
1035
  for (var a in e)
1036
1036
  ea.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1037
- if (e != null && Je)
1038
- for (var a of Je(e))
1037
+ if (e != null && Ee)
1038
+ for (var a of Ee(e))
1039
1039
  l.indexOf(a) < 0 && ta.call(e, a) && (t[a] = e[a]);
1040
1040
  return t;
1041
1041
  };
1042
1042
  function aa(e, l, t = {}) {
1043
- const a = t, { window: n = Ce } = a, r = la(a, ["window"]);
1043
+ const a = t, { window: o = Le } = a, r = la(a, ["window"]);
1044
1044
  let i;
1045
- const o = Xl(() => n && "ResizeObserver" in n), y = () => {
1045
+ const n = Xl(() => o && "ResizeObserver" in o), y = () => {
1046
1046
  i && (i.disconnect(), i = void 0);
1047
- }, p = E(() => te(e), (u) => {
1048
- y(), o.value && n && u && (i = new ResizeObserver(l), i.observe(u, r));
1047
+ }, p = E(() => te(e), (d) => {
1048
+ y(), n.value && o && d && (i = new ResizeObserver(l), i.observe(d, r));
1049
1049
  }, { immediate: !0, flush: "post" }), f = () => {
1050
1050
  y(), p();
1051
1051
  };
1052
1052
  return ae(f), {
1053
- isSupported: o,
1053
+ isSupported: n,
1054
1054
  stop: f
1055
1055
  };
1056
1056
  }
1057
- var Ee;
1057
+ var Pe;
1058
1058
  (function(e) {
1059
1059
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
1060
- })(Ee || (Ee = {}));
1061
- function na(e) {
1060
+ })(Pe || (Pe = {}));
1061
+ function oa(e) {
1062
1062
  const l = w(e == null ? void 0 : e.element), t = w(e == null ? void 0 : e.input);
1063
1063
  function a() {
1064
- var n, r;
1065
- l.value && (l.value.style.height = "1px", l.value.style.height = `${(n = l.value) == null ? void 0 : n.scrollHeight}px`, (r = e == null ? void 0 : e.onResize) == null || r.call(e));
1064
+ var o, r;
1065
+ l.value && (l.value.style.height = "1px", l.value.style.height = `${(o = l.value) == null ? void 0 : o.scrollHeight}px`, (r = e == null ? void 0 : e.onResize) == null || r.call(e));
1066
1066
  }
1067
1067
  return E([t, l], a, { immediate: !0 }), aa(l, () => a()), e != null && e.watch && E(e.watch, a, { immediate: !0, deep: !0 }), {
1068
1068
  textarea: l,
@@ -1070,12 +1070,12 @@ function na(e) {
1070
1070
  triggerResize: a
1071
1071
  };
1072
1072
  }
1073
- var oa = Object.defineProperty, Pe = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, ia = Object.prototype.propertyIsEnumerable, Ae = (e, l, t) => l in e ? oa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, sa = (e, l) => {
1073
+ var na = Object.defineProperty, Ae = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, ia = Object.prototype.propertyIsEnumerable, ze = (e, l, t) => l in e ? na(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, sa = (e, l) => {
1074
1074
  for (var t in l || (l = {}))
1075
- ra.call(l, t) && Ae(e, t, l[t]);
1076
- if (Pe)
1077
- for (var t of Pe(l))
1078
- ia.call(l, t) && Ae(e, t, l[t]);
1075
+ ra.call(l, t) && ze(e, t, l[t]);
1076
+ if (Ae)
1077
+ for (var t of Ae(l))
1078
+ ia.call(l, t) && ze(e, t, l[t]);
1079
1079
  return e;
1080
1080
  };
1081
1081
  const ua = {
@@ -1107,72 +1107,72 @@ const ua = {
1107
1107
  sa({
1108
1108
  linear: Gl
1109
1109
  }, ua);
1110
- const da = /* @__PURE__ */ j({
1110
+ const da = /* @__PURE__ */ $({
1111
1111
  name: "OnClickOutside",
1112
1112
  props: ["as", "options"],
1113
1113
  emits: ["trigger"],
1114
1114
  setup(e, { slots: l, emit: t }) {
1115
1115
  const a = w();
1116
- return Yl(a, (n) => {
1117
- t("trigger", n);
1116
+ return Yl(a, (o) => {
1117
+ t("trigger", o);
1118
1118
  }, e.options), () => {
1119
1119
  if (l.default)
1120
1120
  return St(e.as || "div", { ref: a }, l.default());
1121
1121
  };
1122
1122
  }
1123
1123
  });
1124
- function q(e) {
1124
+ function F(e) {
1125
1125
  var l;
1126
1126
  const t = z(e);
1127
1127
  return (l = t == null ? void 0 : t.$el) != null ? l : t;
1128
1128
  }
1129
1129
  const X = le ? window : void 0;
1130
1130
  function N(...e) {
1131
- let l, t, a, n;
1132
- if (ot(e[0]) || Array.isArray(e[0]) ? ([t, a, n] = e, l = X) : [l, t, a, n] = e, !l)
1131
+ let l, t, a, o;
1132
+ if (nt(e[0]) || Array.isArray(e[0]) ? ([t, a, o] = e, l = X) : [l, t, a, o] = e, !l)
1133
1133
  return M;
1134
1134
  Array.isArray(t) || (t = [t]), Array.isArray(a) || (a = [a]);
1135
1135
  const r = [], i = () => {
1136
1136
  r.forEach((f) => f()), r.length = 0;
1137
- }, o = (f, u, c, s) => (f.addEventListener(u, c, s), () => f.removeEventListener(u, c, s)), y = E(() => [q(l), z(n)], ([f, u]) => {
1138
- i(), f && r.push(...t.flatMap((c) => a.map((s) => o(f, c, s, u))));
1137
+ }, n = (f, d, c, s) => (f.addEventListener(d, c, s), () => f.removeEventListener(d, c, s)), y = E(() => [F(l), z(o)], ([f, d]) => {
1138
+ i(), f && r.push(...t.flatMap((c) => a.map((s) => n(f, c, s, d))));
1139
1139
  }, { immediate: !0, flush: "post" }), p = () => {
1140
1140
  y(), i();
1141
1141
  };
1142
1142
  return ae(p), p;
1143
1143
  }
1144
- let ze = !1;
1144
+ let Fe = !1;
1145
1145
  function qe(e, l, t = {}) {
1146
- const { window: a = X, ignore: n = [], capture: r = !0, detectIframe: i = !1 } = t;
1146
+ const { window: a = X, ignore: o = [], capture: r = !0, detectIframe: i = !1 } = t;
1147
1147
  if (!a)
1148
1148
  return;
1149
- ie && !ze && (ze = !0, Array.from(a.document.body.children).forEach((c) => c.addEventListener("click", M)));
1150
- let o = !0;
1151
- const y = (c) => n.some((s) => {
1149
+ ie && !Fe && (Fe = !0, Array.from(a.document.body.children).forEach((c) => c.addEventListener("click", M)));
1150
+ let n = !0;
1151
+ const y = (c) => o.some((s) => {
1152
1152
  if (typeof s == "string")
1153
1153
  return Array.from(a.document.querySelectorAll(s)).some((v) => v === c.target || c.composedPath().includes(v));
1154
1154
  {
1155
- const v = q(s);
1155
+ const v = F(s);
1156
1156
  return v && (c.target === v || c.composedPath().includes(v));
1157
1157
  }
1158
1158
  }), f = [
1159
1159
  N(a, "click", (c) => {
1160
- const s = q(e);
1160
+ const s = F(e);
1161
1161
  if (!(!s || s === c.target || c.composedPath().includes(s))) {
1162
- if (c.detail === 0 && (o = !y(c)), !o) {
1163
- o = !0;
1162
+ if (c.detail === 0 && (n = !y(c)), !n) {
1163
+ n = !0;
1164
1164
  return;
1165
1165
  }
1166
1166
  l(c);
1167
1167
  }
1168
1168
  }, { passive: !0, capture: r }),
1169
1169
  N(a, "pointerdown", (c) => {
1170
- const s = q(e);
1171
- s && (o = !c.composedPath().includes(s) && !y(c));
1170
+ const s = F(e);
1171
+ s && (n = !c.composedPath().includes(s) && !y(c));
1172
1172
  }, { passive: !0 }),
1173
1173
  i && N(a, "blur", (c) => {
1174
1174
  var s;
1175
- const v = q(e);
1175
+ const v = F(e);
1176
1176
  ((s = a.document.activeElement) == null ? void 0 : s.tagName) === "IFRAME" && !(v != null && v.contains(a.document.activeElement)) && l(c);
1177
1177
  })
1178
1178
  ].filter(Boolean);
@@ -1180,40 +1180,40 @@ function qe(e, l, t = {}) {
1180
1180
  }
1181
1181
  W.mounted + "", W.unmounted + "";
1182
1182
  const ca = (e) => typeof e == "function" ? e : typeof e == "string" ? (l) => l.key === e : Array.isArray(e) ? (l) => e.includes(l.key) : () => !0;
1183
- function Fe(...e) {
1183
+ function Me(...e) {
1184
1184
  let l, t, a = {};
1185
1185
  e.length === 3 ? (l = e[0], t = e[1], a = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (l = !0, t = e[0], a = e[1]) : (l = e[0], t = e[1]) : (l = !0, t = e[0]);
1186
- const { target: n = X, eventName: r = "keydown", passive: i = !1 } = a, o = ca(l);
1187
- return N(n, r, (p) => {
1188
- o(p) && t(p);
1186
+ const { target: o = X, eventName: r = "keydown", passive: i = !1 } = a, n = ca(l);
1187
+ return N(o, r, (p) => {
1188
+ n(p) && t(p);
1189
1189
  }, i);
1190
1190
  }
1191
- var fa = Object.defineProperty, Me = Object.getOwnPropertySymbols, ya = Object.prototype.hasOwnProperty, va = Object.prototype.propertyIsEnumerable, Ne = (e, l, t) => l in e ? fa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, pa = (e, l) => {
1191
+ var fa = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ya = Object.prototype.hasOwnProperty, va = Object.prototype.propertyIsEnumerable, Re = (e, l, t) => l in e ? fa(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, pa = (e, l) => {
1192
1192
  for (var t in l || (l = {}))
1193
- ya.call(l, t) && Ne(e, t, l[t]);
1194
- if (Me)
1195
- for (var t of Me(l))
1196
- va.call(l, t) && Ne(e, t, l[t]);
1193
+ ya.call(l, t) && Re(e, t, l[t]);
1194
+ if (Ne)
1195
+ for (var t of Ne(l))
1196
+ va.call(l, t) && Re(e, t, l[t]);
1197
1197
  return e;
1198
1198
  };
1199
1199
  W.mounted + "";
1200
1200
  const ma = 500;
1201
- function Re(e, l, t) {
1202
- var a, n;
1203
- const r = V(() => q(e));
1201
+ function De(e, l, t) {
1202
+ var a, o;
1203
+ const r = V(() => F(e));
1204
1204
  let i;
1205
- function o() {
1205
+ function n() {
1206
1206
  i && (clearTimeout(i), i = void 0);
1207
1207
  }
1208
1208
  function y(f) {
1209
- var u, c, s, v;
1210
- (u = t == null ? void 0 : t.modifiers) != null && u.self && f.target !== r.value || (o(), (c = t == null ? void 0 : t.modifiers) != null && c.prevent && f.preventDefault(), (s = t == null ? void 0 : t.modifiers) != null && s.stop && f.stopPropagation(), i = setTimeout(() => l(f), (v = t == null ? void 0 : t.delay) != null ? v : ma));
1209
+ var d, c, s, v;
1210
+ (d = t == null ? void 0 : t.modifiers) != null && d.self && f.target !== r.value || (n(), (c = t == null ? void 0 : t.modifiers) != null && c.prevent && f.preventDefault(), (s = t == null ? void 0 : t.modifiers) != null && s.stop && f.stopPropagation(), i = setTimeout(() => l(f), (v = t == null ? void 0 : t.delay) != null ? v : ma));
1211
1211
  }
1212
1212
  const p = {
1213
1213
  capture: (a = t == null ? void 0 : t.modifiers) == null ? void 0 : a.capture,
1214
- once: (n = t == null ? void 0 : t.modifiers) == null ? void 0 : n.once
1214
+ once: (o = t == null ? void 0 : t.modifiers) == null ? void 0 : o.once
1215
1215
  };
1216
- N(r, "pointerdown", y, p), N(r, "pointerup", o, p), N(r, "pointerleave", o, p);
1216
+ N(r, "pointerdown", y, p), N(r, "pointerup", n, p), N(r, "pointerleave", n, p);
1217
1217
  }
1218
1218
  W.mounted + "";
1219
1219
  const _e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, be = "__vueuse_ssr_handlers__";
@@ -1224,89 +1224,89 @@ function st(e, l = !1) {
1224
1224
  return a(), it(a, l), t;
1225
1225
  }
1226
1226
  function _a(e, l = {}) {
1227
- const t = l ? l.delayEnter : 0, a = l ? l.delayLeave : 0, n = w(!1);
1227
+ const t = l ? l.delayEnter : 0, a = l ? l.delayLeave : 0, o = w(!1);
1228
1228
  let r;
1229
- const i = (o) => {
1230
- const y = o ? t : a;
1231
- r && (clearTimeout(r), r = void 0), y ? r = setTimeout(() => n.value = o, y) : n.value = o;
1229
+ const i = (n) => {
1230
+ const y = n ? t : a;
1231
+ r && (clearTimeout(r), r = void 0), y ? r = setTimeout(() => o.value = n, y) : o.value = n;
1232
1232
  };
1233
- return window && (N(e, "mouseenter", () => i(!0), { passive: !0 }), N(e, "mouseleave", () => i(!1), { passive: !0 })), n;
1233
+ return window && (N(e, "mouseenter", () => i(!0), { passive: !0 }), N(e, "mouseleave", () => i(!1), { passive: !0 })), o;
1234
1234
  }
1235
1235
  W.mounted + "";
1236
- var De = Object.getOwnPropertySymbols, ba = Object.prototype.hasOwnProperty, ga = Object.prototype.propertyIsEnumerable, ha = (e, l) => {
1236
+ var He = Object.getOwnPropertySymbols, ba = Object.prototype.hasOwnProperty, ha = Object.prototype.propertyIsEnumerable, ga = (e, l) => {
1237
1237
  var t = {};
1238
1238
  for (var a in e)
1239
1239
  ba.call(e, a) && l.indexOf(a) < 0 && (t[a] = e[a]);
1240
- if (e != null && De)
1241
- for (var a of De(e))
1242
- l.indexOf(a) < 0 && ga.call(e, a) && (t[a] = e[a]);
1240
+ if (e != null && He)
1241
+ for (var a of He(e))
1242
+ l.indexOf(a) < 0 && ha.call(e, a) && (t[a] = e[a]);
1243
1243
  return t;
1244
1244
  };
1245
1245
  function wa(e, l, t = {}) {
1246
- const a = t, { window: n = X } = a, r = ha(a, ["window"]);
1246
+ const a = t, { window: o = X } = a, r = ga(a, ["window"]);
1247
1247
  let i;
1248
- const o = st(() => n && "ResizeObserver" in n), y = () => {
1248
+ const n = st(() => o && "ResizeObserver" in o), y = () => {
1249
1249
  i && (i.disconnect(), i = void 0);
1250
- }, p = E(() => q(e), (u) => {
1251
- y(), o.value && n && u && (i = new ResizeObserver(l), i.observe(u, r));
1250
+ }, p = E(() => F(e), (d) => {
1251
+ y(), n.value && o && d && (i = new ResizeObserver(l), i.observe(d, r));
1252
1252
  }, { immediate: !0, flush: "post" }), f = () => {
1253
1253
  y(), p();
1254
1254
  };
1255
1255
  return ae(f), {
1256
- isSupported: o,
1256
+ isSupported: n,
1257
1257
  stop: f
1258
1258
  };
1259
1259
  }
1260
1260
  function Sa(e, l = { width: 0, height: 0 }, t = {}) {
1261
- const { window: a = X, box: n = "content-box" } = t, r = V(() => {
1261
+ const { window: a = X, box: o = "content-box" } = t, r = V(() => {
1262
1262
  var y, p;
1263
- return (p = (y = q(e)) == null ? void 0 : y.namespaceURI) == null ? void 0 : p.includes("svg");
1264
- }), i = w(l.width), o = w(l.height);
1263
+ return (p = (y = F(e)) == null ? void 0 : y.namespaceURI) == null ? void 0 : p.includes("svg");
1264
+ }), i = w(l.width), n = w(l.height);
1265
1265
  return wa(e, ([y]) => {
1266
- const p = n === "border-box" ? y.borderBoxSize : n === "content-box" ? y.contentBoxSize : y.devicePixelContentBoxSize;
1266
+ const p = o === "border-box" ? y.borderBoxSize : o === "content-box" ? y.contentBoxSize : y.devicePixelContentBoxSize;
1267
1267
  if (a && r.value) {
1268
- const f = q(e);
1268
+ const f = F(e);
1269
1269
  if (f) {
1270
- const u = a.getComputedStyle(f);
1271
- i.value = parseFloat(u.width), o.value = parseFloat(u.height);
1270
+ const d = a.getComputedStyle(f);
1271
+ i.value = parseFloat(d.width), n.value = parseFloat(d.height);
1272
1272
  }
1273
1273
  } else if (p) {
1274
1274
  const f = Array.isArray(p) ? p : [p];
1275
- i.value = f.reduce((u, { inlineSize: c }) => u + c, 0), o.value = f.reduce((u, { blockSize: c }) => u + c, 0);
1275
+ i.value = f.reduce((d, { inlineSize: c }) => d + c, 0), n.value = f.reduce((d, { blockSize: c }) => d + c, 0);
1276
1276
  } else
1277
- i.value = y.contentRect.width, o.value = y.contentRect.height;
1278
- }, t), E(() => q(e), (y) => {
1279
- i.value = y ? l.width : 0, o.value = y ? l.height : 0;
1277
+ i.value = y.contentRect.width, n.value = y.contentRect.height;
1278
+ }, t), E(() => F(e), (y) => {
1279
+ i.value = y ? l.width : 0, n.value = y ? l.height : 0;
1280
1280
  }), {
1281
1281
  width: i,
1282
- height: o
1282
+ height: n
1283
1283
  };
1284
1284
  }
1285
1285
  W.mounted + "";
1286
- function He(e, { window: l = X, scrollTarget: t } = {}) {
1287
- const a = w(!1), n = () => {
1286
+ function We(e, { window: l = X, scrollTarget: t } = {}) {
1287
+ const a = w(!1), o = () => {
1288
1288
  if (!l)
1289
1289
  return;
1290
- const r = l.document, i = q(e);
1290
+ const r = l.document, i = F(e);
1291
1291
  if (!i)
1292
1292
  a.value = !1;
1293
1293
  else {
1294
- const o = i.getBoundingClientRect();
1295
- a.value = o.top <= (l.innerHeight || r.documentElement.clientHeight) && o.left <= (l.innerWidth || r.documentElement.clientWidth) && o.bottom >= 0 && o.right >= 0;
1294
+ const n = i.getBoundingClientRect();
1295
+ a.value = n.top <= (l.innerHeight || r.documentElement.clientHeight) && n.left <= (l.innerWidth || r.documentElement.clientWidth) && n.bottom >= 0 && n.right >= 0;
1296
1296
  }
1297
1297
  };
1298
- return E(() => q(e), () => n(), { immediate: !0, flush: "post" }), l && N(t || l, "scroll", n, {
1298
+ return E(() => F(e), () => o(), { immediate: !0, flush: "post" }), l && N(t || l, "scroll", o, {
1299
1299
  capture: !1,
1300
1300
  passive: !0
1301
1301
  }), a;
1302
1302
  }
1303
1303
  W.mounted + "";
1304
- const We = 1;
1305
- function ge(e, l = {}) {
1304
+ const Ue = 1;
1305
+ function he(e, l = {}) {
1306
1306
  const {
1307
1307
  throttle: t = 0,
1308
1308
  idle: a = 200,
1309
- onStop: n = M,
1309
+ onStop: o = M,
1310
1310
  onScroll: r = M,
1311
1311
  offset: i = {
1312
1312
  left: 0,
@@ -1314,12 +1314,12 @@ function ge(e, l = {}) {
1314
1314
  top: 0,
1315
1315
  bottom: 0
1316
1316
  },
1317
- eventListenerOptions: o = {
1317
+ eventListenerOptions: n = {
1318
1318
  capture: !1,
1319
1319
  passive: !0
1320
1320
  },
1321
1321
  behavior: y = "auto"
1322
- } = l, p = w(0), f = w(0), u = V({
1322
+ } = l, p = w(0), f = w(0), d = V({
1323
1323
  get() {
1324
1324
  return p.value;
1325
1325
  },
@@ -1335,15 +1335,15 @@ function ge(e, l = {}) {
1335
1335
  }
1336
1336
  });
1337
1337
  function s(A, L) {
1338
- var U, F, Be;
1338
+ var U, q, Be;
1339
1339
  const fe = z(e);
1340
1340
  fe && ((Be = fe instanceof Document ? document.body : fe) == null || Be.scrollTo({
1341
1341
  top: (U = z(L)) != null ? U : c.value,
1342
- left: (F = z(A)) != null ? F : u.value,
1342
+ left: (q = z(A)) != null ? q : d.value,
1343
1343
  behavior: z(y)
1344
1344
  }));
1345
1345
  }
1346
- const v = w(!1), h = ve({
1346
+ const v = w(!1), g = ve({
1347
1347
  left: !0,
1348
1348
  right: !1,
1349
1349
  top: !0,
@@ -1354,92 +1354,92 @@ function ge(e, l = {}) {
1354
1354
  top: !1,
1355
1355
  bottom: !1
1356
1356
  }), J = (A) => {
1357
- v.value && (v.value = !1, I.left = !1, I.right = !1, I.top = !1, I.bottom = !1, n(A));
1358
- }, ce = Kl(J, t + a), oe = (A) => {
1357
+ v.value && (v.value = !1, I.left = !1, I.right = !1, I.top = !1, I.bottom = !1, o(A));
1358
+ }, ce = Kl(J, t + a), ne = (A) => {
1359
1359
  const L = A.target === document ? A.target.documentElement : A.target, U = L.scrollLeft;
1360
- I.left = U < p.value, I.right = U > f.value, h.left = U <= 0 + (i.left || 0), h.right = U + L.clientWidth >= L.scrollWidth - (i.right || 0) - We, p.value = U;
1361
- let F = L.scrollTop;
1362
- A.target === document && !F && (F = document.body.scrollTop), I.top = F < f.value, I.bottom = F > f.value, h.top = F <= 0 + (i.top || 0), h.bottom = F + L.clientHeight >= L.scrollHeight - (i.bottom || 0) - We, f.value = F, v.value = !0, ce(A), r(A);
1360
+ I.left = U < p.value, I.right = U > f.value, g.left = U <= 0 + (i.left || 0), g.right = U + L.clientWidth >= L.scrollWidth - (i.right || 0) - Ue, p.value = U;
1361
+ let q = L.scrollTop;
1362
+ A.target === document && !q && (q = document.body.scrollTop), I.top = q < f.value, I.bottom = q > f.value, g.top = q <= 0 + (i.top || 0), g.bottom = q + L.clientHeight >= L.scrollHeight - (i.bottom || 0) - Ue, f.value = q, v.value = !0, ce(A), r(A);
1363
1363
  };
1364
- return N(e, "scroll", t ? Zl(oe, t, !0, !1) : oe, o), N(e, "scrollend", J, o), {
1365
- x: u,
1364
+ return N(e, "scroll", t ? Zl(ne, t, !0, !1) : ne, n), N(e, "scrollend", J, n), {
1365
+ x: d,
1366
1366
  y: c,
1367
1367
  isScrolling: v,
1368
- arrivedState: h,
1368
+ arrivedState: g,
1369
1369
  directions: I
1370
1370
  };
1371
1371
  }
1372
- var ja = Object.defineProperty, $a = Object.defineProperties, ka = Object.getOwnPropertyDescriptors, Ue = Object.getOwnPropertySymbols, Va = Object.prototype.hasOwnProperty, xa = Object.prototype.propertyIsEnumerable, Ge = (e, l, t) => l in e ? ja(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ke = (e, l) => {
1372
+ var $a = Object.defineProperty, ja = Object.defineProperties, ka = Object.getOwnPropertyDescriptors, Ge = Object.getOwnPropertySymbols, Va = Object.prototype.hasOwnProperty, xa = Object.prototype.propertyIsEnumerable, Ke = (e, l, t) => l in e ? $a(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ze = (e, l) => {
1373
1373
  for (var t in l || (l = {}))
1374
- Va.call(l, t) && Ge(e, t, l[t]);
1375
- if (Ue)
1376
- for (var t of Ue(l))
1377
- xa.call(l, t) && Ge(e, t, l[t]);
1374
+ Va.call(l, t) && Ke(e, t, l[t]);
1375
+ if (Ge)
1376
+ for (var t of Ge(l))
1377
+ xa.call(l, t) && Ke(e, t, l[t]);
1378
1378
  return e;
1379
- }, Ia = (e, l) => $a(e, ka(l));
1380
- function Ze(e, l, t = {}) {
1381
- var a, n;
1382
- const r = (a = t.direction) != null ? a : "bottom", i = ve(ge(e, Ia(Ke({}, t), {
1383
- offset: Ke({
1384
- [r]: (n = t.distance) != null ? n : 0
1379
+ }, Ia = (e, l) => ja(e, ka(l));
1380
+ function Qe(e, l, t = {}) {
1381
+ var a, o;
1382
+ const r = (a = t.direction) != null ? a : "bottom", i = ve(he(e, Ia(Ze({}, t), {
1383
+ offset: Ze({
1384
+ [r]: (o = t.distance) != null ? o : 0
1385
1385
  }, t.offset)
1386
1386
  })));
1387
- E(() => i.arrivedState[r], async (o) => {
1387
+ E(() => i.arrivedState[r], async (n) => {
1388
1388
  var y, p;
1389
- if (o) {
1390
- const f = z(e), u = {
1389
+ if (n) {
1390
+ const f = z(e), d = {
1391
1391
  height: (y = f == null ? void 0 : f.scrollHeight) != null ? y : 0,
1392
1392
  width: (p = f == null ? void 0 : f.scrollWidth) != null ? p : 0
1393
1393
  };
1394
1394
  await l(i), t.preserveScrollPosition && f && at(() => {
1395
1395
  f.scrollTo({
1396
- top: f.scrollHeight - u.height,
1397
- left: f.scrollWidth - u.width
1396
+ top: f.scrollHeight - d.height,
1397
+ left: f.scrollWidth - d.width
1398
1398
  });
1399
1399
  });
1400
1400
  }
1401
1401
  });
1402
1402
  }
1403
1403
  W.mounted + "";
1404
- function Qe(e, l, t = {}) {
1404
+ function Ye(e, l, t = {}) {
1405
1405
  const {
1406
1406
  root: a,
1407
- rootMargin: n = "0px",
1407
+ rootMargin: o = "0px",
1408
1408
  threshold: r = 0.1,
1409
1409
  window: i = X
1410
- } = t, o = st(() => i && "IntersectionObserver" in i);
1410
+ } = t, n = st(() => i && "IntersectionObserver" in i);
1411
1411
  let y = M;
1412
- const p = o.value ? E(() => ({
1413
- el: q(e),
1414
- root: q(a)
1415
- }), ({ el: u, root: c }) => {
1416
- if (y(), !u)
1412
+ const p = n.value ? E(() => ({
1413
+ el: F(e),
1414
+ root: F(a)
1415
+ }), ({ el: d, root: c }) => {
1416
+ if (y(), !d)
1417
1417
  return;
1418
1418
  const s = new IntersectionObserver(l, {
1419
1419
  root: c,
1420
- rootMargin: n,
1420
+ rootMargin: o,
1421
1421
  threshold: r
1422
1422
  });
1423
- s.observe(u), y = () => {
1423
+ s.observe(d), y = () => {
1424
1424
  s.disconnect(), y = M;
1425
1425
  };
1426
1426
  }, { immediate: !0, flush: "post" }) : M, f = () => {
1427
1427
  y(), p();
1428
1428
  };
1429
1429
  return ae(f), {
1430
- isSupported: o,
1430
+ isSupported: n,
1431
1431
  stop: f
1432
1432
  };
1433
1433
  }
1434
1434
  W.mounted + "";
1435
- var Ca = Object.defineProperty, La = Object.defineProperties, Ba = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Oa = Object.prototype.hasOwnProperty, Ta = Object.prototype.propertyIsEnumerable, Xe = (e, l, t) => l in e ? Ca(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ja = (e, l) => {
1435
+ var Ca = Object.defineProperty, La = Object.defineProperties, Oa = Object.getOwnPropertyDescriptors, Xe = Object.getOwnPropertySymbols, Ba = Object.prototype.hasOwnProperty, Ta = Object.prototype.propertyIsEnumerable, et = (e, l, t) => l in e ? Ca(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, Ja = (e, l) => {
1436
1436
  for (var t in l || (l = {}))
1437
- Oa.call(l, t) && Xe(e, t, l[t]);
1438
- if (Ye)
1439
- for (var t of Ye(l))
1440
- Ta.call(l, t) && Xe(e, t, l[t]);
1437
+ Ba.call(l, t) && et(e, t, l[t]);
1438
+ if (Xe)
1439
+ for (var t of Xe(l))
1440
+ Ta.call(l, t) && et(e, t, l[t]);
1441
1441
  return e;
1442
- }, Ea = (e, l) => La(e, Ba(l));
1442
+ }, Ea = (e, l) => La(e, Oa(l));
1443
1443
  W.mounted + "";
1444
1444
  function ut(e) {
1445
1445
  const l = window.getComputedStyle(e);
@@ -1456,30 +1456,30 @@ function Pa(e) {
1456
1456
  }
1457
1457
  function Aa(e, l = !1) {
1458
1458
  const t = w(l);
1459
- let a = null, n;
1460
- E(Ql(e), (o) => {
1461
- if (o) {
1462
- const y = o;
1463
- n = y.style.overflow, t.value && (y.style.overflow = "hidden");
1459
+ let a = null, o;
1460
+ E(Ql(e), (n) => {
1461
+ if (n) {
1462
+ const y = n;
1463
+ o = y.style.overflow, t.value && (y.style.overflow = "hidden");
1464
1464
  }
1465
1465
  }, {
1466
1466
  immediate: !0
1467
1467
  });
1468
1468
  const r = () => {
1469
- const o = z(e);
1470
- !o || t.value || (ie && (a = N(o, "touchmove", (y) => {
1469
+ const n = z(e);
1470
+ !n || t.value || (ie && (a = N(n, "touchmove", (y) => {
1471
1471
  Pa(y);
1472
- }, { passive: !1 })), o.style.overflow = "hidden", t.value = !0);
1472
+ }, { passive: !1 })), n.style.overflow = "hidden", t.value = !0);
1473
1473
  }, i = () => {
1474
- const o = z(e);
1475
- !o || !t.value || (ie && (a == null || a()), o.style.overflow = n, t.value = !1);
1474
+ const n = z(e);
1475
+ !n || !t.value || (ie && (a == null || a()), n.style.overflow = o, t.value = !1);
1476
1476
  };
1477
1477
  return ae(i), V({
1478
1478
  get() {
1479
1479
  return t.value;
1480
1480
  },
1481
- set(o) {
1482
- o ? r() : i();
1481
+ set(n) {
1482
+ n ? r() : i();
1483
1483
  }
1484
1484
  });
1485
1485
  }
@@ -1490,18 +1490,18 @@ const za = () => {
1490
1490
  if (l.value = a.value, e)
1491
1491
  return;
1492
1492
  e = !0;
1493
- const n = Aa(t, a.value);
1494
- E(l, (r) => n.value = r);
1493
+ const o = Aa(t, a.value);
1494
+ E(l, (r) => o.value = r);
1495
1495
  };
1496
1496
  };
1497
1497
  za();
1498
- const dt = ["medium", "small", "xsmall"], qa = {
1498
+ const dt = ["medium", "small", "xsmall"], Fa = {
1499
1499
  key: 0,
1500
1500
  class: "joy-dropdown-list__header"
1501
- }, Fa = ["aria-label", "aria-labelledby"], Ma = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Na = {
1501
+ }, qa = ["aria-label", "aria-labelledby"], Ma = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Na = {
1502
1502
  key: 1,
1503
1503
  class: "joy-dropdown-list__footer"
1504
- }, Ra = /* @__PURE__ */ j({
1504
+ }, Ra = /* @__PURE__ */ $({
1505
1505
  __name: "VJoyDropdownList",
1506
1506
  props: {
1507
1507
  /**
@@ -1551,127 +1551,127 @@ const dt = ["medium", "small", "xsmall"], qa = {
1551
1551
  },
1552
1552
  emits: ["update:modelValue", "close:dropdownList", "reset"],
1553
1553
  setup(e, { expose: l, emit: t }) {
1554
- const a = e, n = w(), r = V(() => (s) => !a.modelValue || !s.value && !s.id ? !1 : a.modelValue === s.value || a.modelValue === s.id);
1554
+ const a = e, o = w(), r = V(() => (s) => !a.modelValue || !s.value && !s.id ? !1 : a.modelValue === s.value || a.modelValue === s.id);
1555
1555
  function i(s) {
1556
1556
  s.disabled || t("update:modelValue", s.value || s.id);
1557
1557
  }
1558
- function o() {
1558
+ function n() {
1559
1559
  var s;
1560
- return Array.from(((s = n.value) == null ? void 0 : s.querySelectorAll("li")) || []);
1560
+ return Array.from(((s = o.value) == null ? void 0 : s.querySelectorAll("li")) || []);
1561
1561
  }
1562
1562
  function y() {
1563
- const s = o().find((v) => v.getAttribute("aria-selected") === "true");
1564
- s && (s.focus(), n.value.scrollTo({
1563
+ const s = n().find((v) => v.getAttribute("aria-selected") === "true");
1564
+ s && (s.focus(), o.value.scrollTo({
1565
1565
  top: s.offsetTop
1566
1566
  }));
1567
1567
  }
1568
1568
  function p() {
1569
- return o().find((s) => s === document.activeElement);
1569
+ return n().find((s) => s === document.activeElement);
1570
1570
  }
1571
1571
  function f(s) {
1572
1572
  var v;
1573
- if (!(n.value && !n.value.contains(document.activeElement) || !n.value)) {
1574
- if ((s.key === "Escape" || s.key === "Tab") && t("close:dropdownList"), (s.key === "Enter" || s.key === "enter") && (s.preventDefault(), p() && ((v = n.value) != null && v.contains(p())))) {
1575
- const h = p();
1576
- if (!h)
1573
+ if (!(o.value && !o.value.contains(document.activeElement) || !o.value)) {
1574
+ if ((s.key === "Escape" || s.key === "Tab") && t("close:dropdownList"), (s.key === "Enter" || s.key === "enter") && (s.preventDefault(), p() && ((v = o.value) != null && v.contains(p())))) {
1575
+ const g = p();
1576
+ if (!g)
1577
1577
  return;
1578
- if (h.querySelector("a"))
1579
- return h.querySelector("a").click();
1580
- t("update:modelValue", h.dataModel);
1578
+ if (g.querySelector("a"))
1579
+ return g.querySelector("a").click();
1580
+ t("update:modelValue", g.dataModel);
1581
1581
  }
1582
1582
  if (p() && s.key === " " && s.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key)) {
1583
- const h = o(), I = p();
1584
- let J = h.indexOf(I);
1585
- if (h.length) {
1586
- s.preventDefault(), s.key === "ArrowDown" ? J++ : s.key === "ArrowUp" ? J-- : s.key === "Home" ? J = 0 : s.key === "End" && (J = h.length - 1), J < 0 && (J = h.length - 1), J > h.length - 1 && (J = 0), u(h[J]);
1583
+ const g = n(), I = p();
1584
+ let J = g.indexOf(I);
1585
+ if (g.length) {
1586
+ s.preventDefault(), s.key === "ArrowDown" ? J++ : s.key === "ArrowUp" ? J-- : s.key === "Home" ? J = 0 : s.key === "End" && (J = g.length - 1), J < 0 && (J = g.length - 1), J > g.length - 1 && (J = 0), d(g[J]);
1587
1587
  return;
1588
1588
  }
1589
1589
  }
1590
1590
  }
1591
1591
  }
1592
- function u(s) {
1592
+ function d(s) {
1593
1593
  s.focus();
1594
1594
  }
1595
1595
  function c() {
1596
1596
  t("reset");
1597
1597
  }
1598
- return Q(() => {
1598
+ return Y(() => {
1599
1599
  window.addEventListener("keydown", f), y();
1600
1600
  }), je(() => {
1601
1601
  window.removeEventListener("keydown", f);
1602
1602
  }), l({
1603
1603
  isSelected: r
1604
- }), (s, v) => (d(), m("div", {
1604
+ }), (s, v) => (u(), m("div", {
1605
1605
  class: "joy-dropdown-list",
1606
- style: K({ width: `${e.width}px`, "max-width": `${e.width}px` })
1606
+ style: Z({ width: `${e.width}px`, "max-width": `${e.width}px` })
1607
1607
  }, [
1608
- s.$slots["dropdown-list-header"] || e.reset ? (d(), m("header", qa, [
1609
- e.reset ? (d(), m("button", {
1608
+ s.$slots["dropdown-list-header"] || e.reset ? (u(), m("header", Fa, [
1609
+ e.reset ? (u(), m("button", {
1610
1610
  key: 0,
1611
1611
  type: "button",
1612
1612
  class: "joy-dropdown-list__reset",
1613
1613
  onClick: c
1614
- }, C(e.resetLabel || "Reset"), 1)) : b("", !0),
1615
- g(s.$slots, "dropdown-list-header", {}, void 0, !0)
1616
- ])) : b("", !0),
1614
+ }, C(e.resetLabel || "Reset"), 1)) : h("", !0),
1615
+ b(s.$slots, "dropdown-list-header", {}, void 0, !0)
1616
+ ])) : h("", !0),
1617
1617
  _("div", {
1618
1618
  tabindex: "0",
1619
1619
  class: S(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": s.$slots["dropdown-list-items"] }]),
1620
- style: K({ "max-height": `${e.height}px` })
1620
+ style: Z({ "max-height": `${e.height}px` })
1621
1621
  }, [
1622
- g(s.$slots, "dropdown-list-items", {}, void 0, !0),
1623
- e.options.length ? (d(), m("ul", {
1622
+ b(s.$slots, "dropdown-list-items", {}, void 0, !0),
1623
+ e.options.length ? (u(), m("ul", {
1624
1624
  key: 0,
1625
1625
  ref_key: "listbox",
1626
- ref: n,
1626
+ ref: o,
1627
1627
  role: "listbox",
1628
1628
  "aria-expanded": "true",
1629
1629
  "aria-label": e.ariaLabel,
1630
1630
  "aria-labelledby": e.ariaLabelledBy
1631
1631
  }, [
1632
- (d(!0), m(D, null, G(e.options, (h) => (d(), m("li", {
1633
- id: h.id,
1634
- key: h.label,
1635
- style: K({ "max-width": `${e.width}px` }),
1632
+ (u(!0), m(D, null, G(e.options, (g) => (u(), m("li", {
1633
+ id: g.id,
1634
+ key: g.label,
1635
+ style: Z({ "max-width": `${e.width}px` }),
1636
1636
  class: S([
1637
1637
  "joy-dropdown-list__item",
1638
1638
  `joy-dropdown-list__item--${e.size}`,
1639
1639
  {
1640
- "joy-dropdown-list__item--selected": r.value(h),
1641
- "joy-dropdown-list__item--disabled": h.disabled
1640
+ "joy-dropdown-list__item--selected": r.value(g),
1641
+ "joy-dropdown-list__item--disabled": g.disabled
1642
1642
  }
1643
1643
  ]),
1644
- tabindex: h.disabled ? void 0 : -1,
1645
- "aria-disabled": h.disabled,
1646
- "aria-selected": r.value(h),
1647
- title: h.label,
1648
- "aria-label": h.label,
1649
- ".dataModel": h.value || h.id,
1644
+ tabindex: g.disabled ? void 0 : -1,
1645
+ "aria-disabled": g.disabled,
1646
+ "aria-selected": r.value(g),
1647
+ title: g.label,
1648
+ "aria-label": g.label,
1649
+ ".dataModel": g.value || g.id,
1650
1650
  role: "option",
1651
- onClick: (I) => i(h)
1651
+ onClick: (I) => i(g)
1652
1652
  }, [
1653
- g(s.$slots, "label", se(ue(h)), () => [
1654
- _("span", null, C(h.label), 1)
1653
+ b(s.$slots, "label", se(ue(g)), () => [
1654
+ _("span", null, C(g.label), 1)
1655
1655
  ], !0)
1656
1656
  ], 14, Ma))), 128))
1657
- ], 8, Fa)) : b("", !0)
1657
+ ], 8, qa)) : h("", !0)
1658
1658
  ], 6),
1659
- s.$slots["dropdown-list-footer"] ? (d(), m("footer", Na, [
1660
- g(s.$slots, "dropdown-list-footer", {}, void 0, !0)
1661
- ])) : b("", !0)
1659
+ s.$slots["dropdown-list-footer"] ? (u(), m("footer", Na, [
1660
+ b(s.$slots, "dropdown-list-footer", {}, void 0, !0)
1661
+ ])) : h("", !0)
1662
1662
  ], 4));
1663
1663
  }
1664
1664
  });
1665
- const ct = /* @__PURE__ */ $(Ra, [["__scopeId", "data-v-f46e79bc"]]);
1665
+ const ct = /* @__PURE__ */ j(Ra, [["__scopeId", "data-v-4e25408f"]]);
1666
1666
  function Da(e) {
1667
1667
  const l = () => e();
1668
- Q(() => {
1668
+ Y(() => {
1669
1669
  window.addEventListener("resize", l);
1670
1670
  }), je(() => {
1671
1671
  window.removeEventListener("resize", l);
1672
1672
  });
1673
1673
  }
1674
- const Ha = /* @__PURE__ */ j({
1674
+ const Ha = /* @__PURE__ */ $({
1675
1675
  __name: "VJoyDropdown",
1676
1676
  props: {
1677
1677
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -1765,16 +1765,16 @@ const Ha = /* @__PURE__ */ j({
1765
1765
  },
1766
1766
  emits: ["update:modelValue", "dropdown:open", "dropdown:hide", "dropdown:reset"],
1767
1767
  setup(e, { expose: l, emit: t }) {
1768
- const a = e, n = w(!1), r = w(null), i = w(), o = w(null), y = w(null), p = w(!1), f = "joy-dropdown--" + Ve();
1769
- $e("VJoyDropdownContext", a);
1770
- const u = {
1768
+ const a = e, o = w(!1), r = w(null), i = w(), n = w(null), y = w(null), p = w(!1), f = "joy-dropdown--" + xe();
1769
+ ke("VJoyDropdownContext", a);
1770
+ const d = {
1771
1771
  ignore: [i, ".joy-dropdown__list"]
1772
1772
  };
1773
1773
  let c = null;
1774
1774
  E(
1775
- () => n.value,
1775
+ () => o.value,
1776
1776
  (L) => {
1777
- L && hl(o);
1777
+ L && gl(n);
1778
1778
  },
1779
1779
  { flush: "post" }
1780
1780
  );
@@ -1786,11 +1786,11 @@ const Ha = /* @__PURE__ */ j({
1786
1786
  });
1787
1787
  function v() {
1788
1788
  c && clearTimeout(c), p.value = !0, c = setTimeout(() => {
1789
- n.value = !1, p.value = !1, t("dropdown:hide");
1789
+ o.value = !1, p.value = !1, t("dropdown:hide");
1790
1790
  }, 300);
1791
1791
  }
1792
- function h(L) {
1793
- p.value = !1, c && clearTimeout(c), y.value = L.target, n.value = !0, t("dropdown:open");
1792
+ function g(L) {
1793
+ p.value = !1, c && clearTimeout(c), y.value = L.target, o.value = !0, t("dropdown:open");
1794
1794
  }
1795
1795
  function I() {
1796
1796
  v(), J();
@@ -1801,38 +1801,38 @@ const Ha = /* @__PURE__ */ j({
1801
1801
  function ce(L) {
1802
1802
  t("update:modelValue", L), a.closeOnSelect && (v(), J());
1803
1803
  }
1804
- function oe() {
1804
+ function ne() {
1805
1805
  t("dropdown:reset");
1806
1806
  }
1807
1807
  function A() {
1808
1808
  !i.value || !i.value.children.length || (i.value.children[0].id = f);
1809
1809
  }
1810
- return Da(v), Q(() => {
1810
+ return Da(v), Y(() => {
1811
1811
  A();
1812
1812
  }), l({
1813
- showDropdownList: n,
1813
+ showDropdownList: o,
1814
1814
  generatedId: f
1815
- }), (L, U) => (d(), x(k(da), {
1815
+ }), (L, U) => (u(), x(k(da), {
1816
1816
  ref_key: "dropdown",
1817
1817
  ref: r,
1818
- options: u,
1818
+ options: d,
1819
1819
  class: "joy-dropdown",
1820
1820
  onTrigger: v
1821
1821
  }, {
1822
- default: O(() => [
1822
+ default: B(() => [
1823
1823
  _("div", {
1824
1824
  ref_key: "button",
1825
1825
  ref: i,
1826
1826
  class: "joy-dropdown__button",
1827
1827
  "data-testid": "dropdown-trigger",
1828
- onClick: h
1828
+ onClick: g
1829
1829
  }, [
1830
- g(L.$slots, "dropdown-button", {}, void 0, !0)
1830
+ b(L.$slots, "dropdown-button", {}, void 0, !0)
1831
1831
  ], 512),
1832
- n.value ? (d(), m("div", {
1832
+ o.value ? (u(), m("div", {
1833
1833
  key: 0,
1834
1834
  ref_key: "list",
1835
- ref: o,
1835
+ ref: n,
1836
1836
  class: S([
1837
1837
  "joy-dropdown__list",
1838
1838
  `joy-dropdown__list--${e.justify}`,
@@ -1842,7 +1842,7 @@ const Ha = /* @__PURE__ */ j({
1842
1842
  "joy-dropdown__list--hiding": p.value
1843
1843
  }
1844
1844
  ]),
1845
- style: K(s.value)
1845
+ style: Z(s.value)
1846
1846
  }, [
1847
1847
  R(ct, {
1848
1848
  "model-value": e.modelValue,
@@ -1855,61 +1855,61 @@ const Ha = /* @__PURE__ */ j({
1855
1855
  "aria-labelled-by": f,
1856
1856
  "onUpdate:modelValue": ce,
1857
1857
  "onClose:dropdownList": I,
1858
- onReset: oe
1859
- }, nt({
1860
- label: O((F) => [
1861
- g(L.$slots, "dropdown-item", se(ue(F)), () => [
1862
- _("span", null, C(F.label), 1)
1858
+ onReset: ne
1859
+ }, ot({
1860
+ label: B((q) => [
1861
+ b(L.$slots, "dropdown-item", se(ue(q)), () => [
1862
+ _("span", null, C(q.label), 1)
1863
1863
  ], !0)
1864
1864
  ]),
1865
1865
  _: 2
1866
1866
  }, [
1867
1867
  L.$slots["dropdown-header"] ? {
1868
1868
  name: "dropdown-list-header",
1869
- fn: O(() => [
1870
- g(L.$slots, "dropdown-header", {}, void 0, !0)
1869
+ fn: B(() => [
1870
+ b(L.$slots, "dropdown-header", {}, void 0, !0)
1871
1871
  ]),
1872
1872
  key: "0"
1873
1873
  } : void 0,
1874
1874
  L.$slots["dropdown-items"] ? {
1875
1875
  name: "dropdown-list-items",
1876
- fn: O(() => [
1877
- g(L.$slots, "dropdown-items", {}, void 0, !0)
1876
+ fn: B(() => [
1877
+ b(L.$slots, "dropdown-items", {}, void 0, !0)
1878
1878
  ]),
1879
1879
  key: "1"
1880
1880
  } : void 0,
1881
1881
  L.$slots["dropdown-footer"] ? {
1882
1882
  name: "dropdown-list-footer",
1883
- fn: O(() => [
1884
- g(L.$slots, "dropdown-footer", {}, void 0, !0)
1883
+ fn: B(() => [
1884
+ b(L.$slots, "dropdown-footer", {}, void 0, !0)
1885
1885
  ]),
1886
1886
  key: "2"
1887
1887
  } : void 0
1888
1888
  ]), 1032, ["model-value", "options", "size", "width", "height", "reset", "reset-label"])
1889
- ], 6)) : b("", !0)
1889
+ ], 6)) : h("", !0)
1890
1890
  ]),
1891
1891
  _: 3
1892
1892
  }, 512));
1893
1893
  }
1894
1894
  });
1895
- const Wa = /* @__PURE__ */ $(Ha, [["__scopeId", "data-v-df017105"]]), Ua = ["aria-label"], Ga = { class: "joy-filter-bar__wrapper" }, Ka = /* @__PURE__ */ j({
1895
+ const Wa = /* @__PURE__ */ j(Ha, [["__scopeId", "data-v-97d5db60"]]), Ua = ["aria-label"], Ga = { class: "joy-filter-bar__wrapper" }, Ka = /* @__PURE__ */ $({
1896
1896
  __name: "VJoyFilterBar",
1897
1897
  props: {
1898
1898
  ariaLabel: String
1899
1899
  },
1900
1900
  setup(e) {
1901
- return (l, t) => (d(), m("div", {
1901
+ return (l, t) => (u(), m("div", {
1902
1902
  class: "joy-filter-bar",
1903
1903
  role: "group",
1904
1904
  "aria-label": e.ariaLabel || "Filter bar"
1905
1905
  }, [
1906
1906
  _("div", Ga, [
1907
- g(l.$slots, "default", {}, void 0, !0)
1907
+ b(l.$slots, "default", {}, void 0, !0)
1908
1908
  ])
1909
1909
  ], 8, Ua));
1910
1910
  }
1911
1911
  });
1912
- const Za = /* @__PURE__ */ $(Ka, [["__scopeId", "data-v-114f8274"]]), Qa = /* @__PURE__ */ j({
1912
+ const Za = /* @__PURE__ */ j(Ka, [["__scopeId", "data-v-114f8274"]]), Qa = /* @__PURE__ */ $({
1913
1913
  __name: "VJoyFilterBarButton",
1914
1914
  props: {
1915
1915
  label: String,
@@ -1925,27 +1925,27 @@ const Za = /* @__PURE__ */ $(Ka, [["__scopeId", "data-v-114f8274"]]), Qa = /* @_
1925
1925
  emits: ["filter"],
1926
1926
  setup(e, { emit: l }) {
1927
1927
  const t = e, a = de("VJoyDropdownContext", null);
1928
- function n() {
1928
+ function o() {
1929
1929
  l("filter", t.value);
1930
1930
  }
1931
- return (r, i) => (d(), m("button", {
1931
+ return (r, i) => (u(), m("button", {
1932
1932
  type: "button",
1933
1933
  class: S(["joy-filter-bar-button", { "joy-filter-bar-button--active": e.active }]),
1934
- onClick: n
1934
+ onClick: o
1935
1935
  }, [
1936
- B(C(e.label) + " ", 1),
1937
- g(r.$slots, "default", {}, void 0, !0),
1938
- k(a) ? (d(), x(T, {
1936
+ O(C(e.label) + " ", 1),
1937
+ b(r.$slots, "default", {}, void 0, !0),
1938
+ k(a) ? (u(), x(T, {
1939
1939
  key: 0,
1940
1940
  class: "joy-filter-bar-button__icon",
1941
1941
  name: "chevron-down",
1942
1942
  size: "xxsmall",
1943
1943
  color: "neutral"
1944
- })) : b("", !0)
1944
+ })) : h("", !0)
1945
1945
  ], 2));
1946
1946
  }
1947
1947
  });
1948
- const Ya = /* @__PURE__ */ $(Qa, [["__scopeId", "data-v-8f87fed1"]]), Xa = ["aria-hidden"], en = /* @__PURE__ */ j({
1948
+ const Ya = /* @__PURE__ */ j(Qa, [["__scopeId", "data-v-8f87fed1"]]), Xa = ["aria-hidden"], eo = /* @__PURE__ */ $({
1949
1949
  __name: "VJoyFormError",
1950
1950
  props: {
1951
1951
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1957,7 +1957,7 @@ const Ya = /* @__PURE__ */ $(Qa, [["__scopeId", "data-v-8f87fed1"]]), Xa = ["ari
1957
1957
  noHtmlErrorText: String
1958
1958
  },
1959
1959
  setup(e) {
1960
- return (l, t) => (d(), m("div", {
1960
+ return (l, t) => (u(), m("div", {
1961
1961
  "aria-hidden": e.visible,
1962
1962
  class: S(["joy-form-error", { "joy-has-error": e.visible }]),
1963
1963
  role: "alert"
@@ -1967,14 +1967,14 @@ const Ya = /* @__PURE__ */ $(Qa, [["__scopeId", "data-v-8f87fed1"]]), Xa = ["ari
1967
1967
  name: "warning-triangle"
1968
1968
  }),
1969
1969
  _("div", null, [
1970
- g(l.$slots, "default", {}, () => [
1971
- B(C(e.noHtmlErrorText), 1)
1970
+ b(l.$slots, "default", {}, () => [
1971
+ O(C(e.noHtmlErrorText), 1)
1972
1972
  ], !0)
1973
1973
  ])
1974
1974
  ], 10, Xa));
1975
1975
  }
1976
1976
  });
1977
- const ft = /* @__PURE__ */ $(en, [["__scopeId", "data-v-581fd33b"]]), tn = /* @__PURE__ */ j({
1977
+ const ft = /* @__PURE__ */ j(eo, [["__scopeId", "data-v-581fd33b"]]), to = /* @__PURE__ */ $({
1978
1978
  __name: "VJoyFormFieldSkeleton",
1979
1979
  props: {
1980
1980
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1994,26 +1994,107 @@ const ft = /* @__PURE__ */ $(en, [["__scopeId", "data-v-581fd33b"]]), tn = /* @_
1994
1994
  }
1995
1995
  },
1996
1996
  setup(e, { expose: l }) {
1997
- const t = e, a = de("VJoyWrapperContext", {}), n = V(() => {
1997
+ const t = e, a = de("VJoyWrapperContext", {}), o = V(() => {
1998
1998
  const r = a.direction === "column" ? "auto" : null;
1999
1999
  if (!t.width && t.flex === "1") {
2000
2000
  const y = ["1", "0"];
2001
2001
  return r && y.push(r), y.join(" ");
2002
2002
  }
2003
- const i = [t.flex || "1", "0"], o = t.width || r;
2004
- return o && i.push(o), i.join(" ");
2003
+ const i = [t.flex || "1", "0"], n = t.width || r;
2004
+ return n && i.push(n), i.join(" ");
2005
2005
  });
2006
- return l({ flexStyle: n }), (r, i) => (d(), m("div", {
2006
+ return l({ flexStyle: o }), (r, i) => (u(), m("div", {
2007
2007
  "aria-hidden": "true",
2008
2008
  class: S(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
2009
- style: K({
2009
+ style: Z({
2010
2010
  "max-width": e.width,
2011
- flex: n.value
2011
+ flex: o.value
2012
2012
  })
2013
2013
  }, null, 6));
2014
2014
  }
2015
2015
  });
2016
- const ln = /* @__PURE__ */ $(tn, [["__scopeId", "data-v-8a4ecbad"]]), an = [...pl], nn = { class: "joy-highlight--text" }, on = { key: 0 }, rn = /* @__PURE__ */ j({
2016
+ const lo = /* @__PURE__ */ j(to, [["__scopeId", "data-v-8a4ecbad"]]), ao = { class: "joy-footer" }, oo = { class: "joy-footer__left" }, no = { class: "joy-footer__right" }, ro = /* @__PURE__ */ $({
2017
+ __name: "VJoyFooter",
2018
+ setup(e) {
2019
+ return (l, t) => (u(), m("footer", ao, [
2020
+ _("div", oo, [
2021
+ b(l.$slots, "footer-left", {}, void 0, !0)
2022
+ ]),
2023
+ _("div", no, [
2024
+ b(l.$slots, "footer-right", {}, void 0, !0)
2025
+ ])
2026
+ ]));
2027
+ }
2028
+ });
2029
+ const io = /* @__PURE__ */ j(ro, [["__scopeId", "data-v-1e11bcdc"]]), so = { class: "joy-funnel__header" }, uo = { class: "funnel__header__inner" }, co = { class: "joy-funnel__stepper" }, fo = /* @__PURE__ */ Se('<div class="shapes__wrapper" data-v-0abeb951><div class="shape_1" data-v-0abeb951></div><div class="shape_2" data-v-0abeb951></div><div class="shape_3" data-v-0abeb951></div><div class="shape_4" data-v-0abeb951></div></div>', 1), yo = [
2030
+ fo
2031
+ ], vo = { class: "joy-funnel__footer" }, po = /* @__PURE__ */ $({
2032
+ __name: "VJoyFunnel",
2033
+ props: {
2034
+ /**
2035
+ * Remove decorative shapes placed at the bottom right corner
2036
+ */
2037
+ hideShapes: {
2038
+ type: Boolean,
2039
+ default: !1
2040
+ },
2041
+ layoutWidth: {
2042
+ type: String,
2043
+ default: "large"
2044
+ },
2045
+ profile: {
2046
+ type: String,
2047
+ default: "default"
2048
+ }
2049
+ },
2050
+ setup(e, { expose: l }) {
2051
+ const t = w(!0), a = K();
2052
+ function o(i) {
2053
+ const n = i.currentTarget;
2054
+ t.value = n.scrollTop === 0;
2055
+ }
2056
+ const r = V(() => !!a["funnel-stepper"]);
2057
+ return l({
2058
+ scrollOnTop: t,
2059
+ hasStepperSlot: r
2060
+ }), (i, n) => (u(), m("div", {
2061
+ class: S([
2062
+ "joy-funnel",
2063
+ {
2064
+ "joy-funnel--no-border": t.value,
2065
+ "joy-funnel--no-stepper": !r.value
2066
+ }
2067
+ ])
2068
+ }, [
2069
+ _("div", so, [
2070
+ _("div", uo, [
2071
+ b(i.$slots, "funnel-header", {}, void 0, !0)
2072
+ ]),
2073
+ _("div", co, [
2074
+ b(i.$slots, "funnel-stepper", {}, void 0, !0)
2075
+ ])
2076
+ ]),
2077
+ e.hideShapes ? h("", !0) : (u(), m("div", {
2078
+ key: 0,
2079
+ class: S(["joy-funnel__shapes", { "joy-funnel__shapes--strategy": e.profile === "strategy" }])
2080
+ }, yo, 2)),
2081
+ _("div", {
2082
+ class: "joy-funnel__scrollable",
2083
+ onScroll: o
2084
+ }, [
2085
+ _("div", {
2086
+ class: S(["joy-funnel__content", { "joy-funnel__content--medium": e.layoutWidth === "medium" }])
2087
+ }, [
2088
+ b(i.$slots, "default", {}, void 0, !0)
2089
+ ], 2)
2090
+ ], 32),
2091
+ _("div", vo, [
2092
+ b(i.$slots, "funnel-footer", {}, void 0, !0)
2093
+ ])
2094
+ ], 2));
2095
+ }
2096
+ });
2097
+ const mo = /* @__PURE__ */ j(po, [["__scopeId", "data-v-0abeb951"]]), _o = [...pl], bo = { class: "joy-highlight--text" }, ho = { key: 0 }, go = /* @__PURE__ */ $({
2017
2098
  __name: "VJoyHighlight",
2018
2099
  props: {
2019
2100
  accent: {
@@ -2031,51 +2112,51 @@ const ln = /* @__PURE__ */ $(tn, [["__scopeId", "data-v-8a4ecbad"]]), an = [...p
2031
2112
  type: String,
2032
2113
  default: "neutral",
2033
2114
  validator(e) {
2034
- return an.includes(e);
2115
+ return _o.includes(e);
2035
2116
  }
2036
2117
  }
2037
2118
  },
2038
2119
  setup(e, { expose: l }) {
2039
- const t = e, a = V(() => t.icon ? t.icon : gl(t.level));
2120
+ const t = e, a = V(() => t.icon ? t.icon : hl(t.level));
2040
2121
  return l({
2041
2122
  getRelevantIcon: a
2042
- }), (n, r) => (d(), m("div", {
2123
+ }), (o, r) => (u(), m("div", {
2043
2124
  class: S([
2044
2125
  "joy-highlight",
2045
2126
  `joy-highlight_${e.level}`,
2046
2127
  {
2047
2128
  "joy-highlight__accent": e.accent,
2048
- "joy-highlight__titled": n.$slots["highlight-title"]
2129
+ "joy-highlight__titled": o.$slots["highlight-title"]
2049
2130
  }
2050
2131
  ])
2051
2132
  }, [
2052
- e.displayIcon ? (d(), x(T, {
2133
+ e.displayIcon ? (u(), x(T, {
2053
2134
  key: 0,
2054
2135
  name: a.value
2055
- }, null, 8, ["name"])) : b("", !0),
2056
- _("div", nn, [
2057
- n.$slots["highlight-title"] ? (d(), m("strong", on, [
2058
- g(n.$slots, "highlight-title", {}, void 0, !0)
2059
- ])) : b("", !0),
2060
- g(n.$slots, "default", {}, void 0, !0)
2136
+ }, null, 8, ["name"])) : h("", !0),
2137
+ _("div", bo, [
2138
+ o.$slots["highlight-title"] ? (u(), m("strong", ho, [
2139
+ b(o.$slots, "highlight-title", {}, void 0, !0)
2140
+ ])) : h("", !0),
2141
+ b(o.$slots, "default", {}, void 0, !0)
2061
2142
  ])
2062
2143
  ], 2));
2063
2144
  }
2064
2145
  });
2065
- const sn = /* @__PURE__ */ $(rn, [["__scopeId", "data-v-ba5e6101"]]), un = ["small", "medium", "large"], dn = {
2146
+ const wo = /* @__PURE__ */ j(go, [["__scopeId", "data-v-45c2fbf4"]]), So = ["small", "medium", "large"], $o = {
2066
2147
  key: 0,
2067
2148
  class: "joy-label-required"
2068
- }, cn = {
2149
+ }, jo = {
2069
2150
  key: 1,
2070
2151
  class: "joy-label-optional"
2071
- }, fn = /* @__PURE__ */ j({
2152
+ }, ko = /* @__PURE__ */ $({
2072
2153
  __name: "VJoyLabel",
2073
2154
  props: {
2074
2155
  size: {
2075
2156
  type: String,
2076
2157
  default: "medium",
2077
2158
  validator(e) {
2078
- return un.includes(e);
2159
+ return So.includes(e);
2079
2160
  }
2080
2161
  },
2081
2162
  tagName: {
@@ -2092,21 +2173,21 @@ const sn = /* @__PURE__ */ $(rn, [["__scopeId", "data-v-ba5e6101"]]), un = ["sma
2092
2173
  text: String
2093
2174
  },
2094
2175
  setup(e) {
2095
- return (l, t) => (d(), x(ne(e.tagName), Z({
2176
+ return (l, t) => (u(), x(oe(e.tagName), Q({
2096
2177
  class: ["joy-label", `joy-label--${e.size}`]
2097
2178
  }, l.$attrs), {
2098
- default: O(() => [
2099
- g(l.$slots, "default", {}, () => [
2100
- B(C(e.text), 1)
2179
+ default: B(() => [
2180
+ b(l.$slots, "default", {}, () => [
2181
+ O(C(e.text), 1)
2101
2182
  ], !0),
2102
- e.required ? (d(), m("span", dn, "*")) : b("", !0),
2103
- e.optionalLabel ? (d(), m("span", cn, "- " + C(e.optionalLabel), 1)) : b("", !0)
2183
+ e.required ? (u(), m("span", $o, "*")) : h("", !0),
2184
+ e.optionalLabel ? (u(), m("span", jo, "- " + C(e.optionalLabel), 1)) : h("", !0)
2104
2185
  ]),
2105
2186
  _: 3
2106
2187
  }, 16, ["class"]));
2107
2188
  }
2108
2189
  });
2109
- const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["large", "medium", "small"], vn = ["id", "required", "disabled", "type", "value"], pn = ["data-unit"], mn = /* @__PURE__ */ j({
2190
+ const ee = /* @__PURE__ */ j(ko, [["__scopeId", "data-v-388a7c56"]]), Vo = ["large", "medium", "small"], xo = ["id", "required", "disabled", "type", "value"], Io = ["data-unit"], Co = /* @__PURE__ */ $({
2110
2191
  inheritAttrs: !1,
2111
2192
  __name: "VJoyInput",
2112
2193
  props: {
@@ -2164,7 +2245,7 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2164
2245
  type: String,
2165
2246
  default: "medium",
2166
2247
  validator(e) {
2167
- return yn.includes(e);
2248
+ return Vo.includes(e);
2168
2249
  }
2169
2250
  },
2170
2251
  type: {
@@ -2176,19 +2257,19 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2176
2257
  },
2177
2258
  emits: ["update:modelValue"],
2178
2259
  setup(e, { emit: l }) {
2179
- const t = e, a = w(), n = w(), r = Se(), i = Y(), o = w(!1), y = V(() => typeof t.modelValue == "number" || !t.clearable || t.unit || !t.modelValue ? !1 : t.modelValue.length > 0 && !t.unit), p = V(() => i.default && i.default()), f = V(() => {
2260
+ const t = e, a = w(), o = w(), r = $e(), i = K(), n = w(!1), y = V(() => typeof t.modelValue == "number" || !t.clearable || t.unit || !t.modelValue ? !1 : t.modelValue.length > 0 && !t.unit), p = V(() => i.default && i.default()), f = V(() => {
2180
2261
  var s, v;
2181
- return !!((s = n.value) != null && s.closest("joy-wrapper")) || !!((v = n.value) != null && v.closest(".joy-wrapper"));
2182
- }), u = w(t.type);
2183
- jt(() => {
2184
- u.value = t.unit ? "number" : t.type;
2262
+ return !!((s = o.value) != null && s.closest("joy-wrapper")) || !!((v = o.value) != null && v.closest(".joy-wrapper"));
2263
+ }), d = w(t.type);
2264
+ $t(() => {
2265
+ d.value = t.unit ? "number" : t.type;
2185
2266
  });
2186
2267
  const c = {
2187
2268
  onFocus: () => {
2188
- o.value = !0;
2269
+ n.value = !0;
2189
2270
  },
2190
2271
  onBlur: () => {
2191
- o.value = !1;
2272
+ n.value = !1;
2192
2273
  },
2193
2274
  onInput: (s) => {
2194
2275
  let v = s.target.value;
@@ -2202,36 +2283,36 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2202
2283
  t.disabled || l("update:modelValue", "");
2203
2284
  }
2204
2285
  };
2205
- return (s, v) => (d(), m("div", {
2286
+ return (s, v) => (u(), m("div", {
2206
2287
  ref_key: "root",
2207
- ref: n,
2288
+ ref: o,
2208
2289
  class: S([`joy-input--${t.size}`])
2209
2290
  }, [
2210
2291
  _("div", {
2211
2292
  class: S([
2212
2293
  "joy-input",
2213
2294
  {
2214
- "joy-input--focusing": o.value,
2295
+ "joy-input--focusing": n.value,
2215
2296
  "joy-input--disabled": e.disabled,
2216
2297
  "joy-input--invalid": e.invalid,
2217
2298
  "joy-input--valid": !e.invalid && !k(r).disabled
2218
2299
  }
2219
2300
  ])
2220
2301
  }, [
2221
- p.value || e.label ? (d(), x(ee, {
2302
+ p.value || e.label ? (u(), x(ee, {
2222
2303
  key: 0,
2223
2304
  for: e.name,
2224
2305
  required: e.required && e.requiredMark,
2225
2306
  "optional-label": e.optionalLabel,
2226
2307
  size: e.labelSize
2227
2308
  }, {
2228
- default: O(() => [
2229
- g(s.$slots, "default", {}, () => [
2230
- B(C(e.label), 1)
2309
+ default: B(() => [
2310
+ b(s.$slots, "default", {}, () => [
2311
+ O(C(e.label), 1)
2231
2312
  ], !0)
2232
2313
  ]),
2233
2314
  _: 3
2234
- }, 8, ["for", "required", "optional-label", "size"])) : b("", !0),
2315
+ }, 8, ["for", "required", "optional-label", "size"])) : h("", !0),
2235
2316
  _("div", {
2236
2317
  class: S([
2237
2318
  "joy-input--wrapper",
@@ -2243,7 +2324,7 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2243
2324
  }
2244
2325
  ])
2245
2326
  }, [
2246
- _("input", Z(s.$attrs, {
2327
+ _("input", Q(s.$attrs, {
2247
2328
  id: t.name,
2248
2329
  ref_key: "input",
2249
2330
  ref: a,
@@ -2255,18 +2336,18 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2255
2336
  "joy-input--field-invalid": e.invalid
2256
2337
  }
2257
2338
  ],
2258
- type: u.value,
2339
+ type: d.value,
2259
2340
  value: e.modelValue,
2260
2341
  onFocus: v[0] || (v[0] = //@ts-ignore
2261
- (...h) => c.onFocus && c.onFocus(...h)),
2342
+ (...g) => c.onFocus && c.onFocus(...g)),
2262
2343
  onBlur: v[1] || (v[1] = //@ts-ignore
2263
- (...h) => c.onBlur && c.onBlur(...h)),
2344
+ (...g) => c.onBlur && c.onBlur(...g)),
2264
2345
  onInput: v[2] || (v[2] = //@ts-ignore
2265
- (...h) => c.onInput && c.onInput(...h)),
2346
+ (...g) => c.onInput && c.onInput(...g)),
2266
2347
  onChange: v[3] || (v[3] = //@ts-ignore
2267
- (...h) => c.onChange && c.onChange(...h))
2268
- }), null, 16, vn),
2269
- y.value ? (d(), x(xe, {
2348
+ (...g) => c.onChange && c.onChange(...g))
2349
+ }), null, 16, xo),
2350
+ y.value ? (u(), x(Ie, {
2270
2351
  key: 0,
2271
2352
  class: "joy-input--clear",
2272
2353
  circle: "",
@@ -2274,23 +2355,23 @@ const ee = /* @__PURE__ */ $(fn, [["__scopeId", "data-v-1265214a"]]), yn = ["lar
2274
2355
  size: "xxsmall",
2275
2356
  icon: "cross",
2276
2357
  onClick: c.clearValue
2277
- }, null, 8, ["onClick"])) : b("", !0),
2278
- e.icon ? (d(), x(T, {
2358
+ }, null, 8, ["onClick"])) : h("", !0),
2359
+ e.icon ? (u(), x(T, {
2279
2360
  key: 1,
2280
2361
  class: "joy-input--decorative-icon",
2281
2362
  name: e.icon
2282
- }, null, 8, ["name"])) : b("", !0),
2283
- e.unit ? (d(), m("div", {
2363
+ }, null, 8, ["name"])) : h("", !0),
2364
+ e.unit ? (u(), m("div", {
2284
2365
  key: 2,
2285
2366
  "data-unit": e.unit,
2286
2367
  class: "joy-input--unit"
2287
- }, null, 8, pn)) : b("", !0)
2368
+ }, null, 8, Io)) : h("", !0)
2288
2369
  ], 2)
2289
2370
  ], 2)
2290
2371
  ], 2));
2291
2372
  }
2292
2373
  });
2293
- const _n = /* @__PURE__ */ $(mn, [["__scopeId", "data-v-9f3d7271"]]), bn = ["teal", "white"], gn = ["href"], hn = /* @__PURE__ */ j({
2374
+ const Lo = /* @__PURE__ */ j(Co, [["__scopeId", "data-v-7ef7a9dd"]]), Oo = ["teal", "white"], Bo = ["href"], To = /* @__PURE__ */ $({
2294
2375
  __name: "VJoyLink",
2295
2376
  props: {
2296
2377
  href: {
@@ -2301,27 +2382,27 @@ const _n = /* @__PURE__ */ $(mn, [["__scopeId", "data-v-9f3d7271"]]), bn = ["tea
2301
2382
  type: String,
2302
2383
  default: "teal",
2303
2384
  validator(e) {
2304
- return bn.includes(e);
2385
+ return Oo.includes(e);
2305
2386
  }
2306
2387
  },
2307
2388
  icon: String,
2308
2389
  text: String
2309
2390
  },
2310
2391
  setup(e) {
2311
- return (l, t) => (d(), m("a", Z({ href: e.href }, l.$attrs, {
2392
+ return (l, t) => (u(), m("a", Q({ href: e.href }, l.$attrs, {
2312
2393
  class: ["joy-link", `joy-link_${e.color}`]
2313
2394
  }), [
2314
- e.icon ? (d(), x(T, {
2395
+ e.icon ? (u(), x(T, {
2315
2396
  key: 0,
2316
2397
  name: e.icon
2317
- }, null, 8, ["name"])) : b("", !0),
2318
- g(l.$slots, "default", {}, () => [
2319
- B(C(e.text), 1)
2398
+ }, null, 8, ["name"])) : h("", !0),
2399
+ b(l.$slots, "default", {}, () => [
2400
+ O(C(e.text), 1)
2320
2401
  ], !0)
2321
- ], 16, gn));
2402
+ ], 16, Bo));
2322
2403
  }
2323
2404
  });
2324
- const wn = /* @__PURE__ */ $(hn, [["__scopeId", "data-v-76f0342e"]]), Sn = ["tabindex", "aria-activedescendant", "aria-label"], jn = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], $n = { "aria-hidden": "true" }, kn = /* @__PURE__ */ j({
2405
+ const Jo = /* @__PURE__ */ j(To, [["__scopeId", "data-v-5540214e"]]), Eo = ["tabindex", "aria-activedescendant", "aria-label"], Po = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], Ao = { "aria-hidden": "true" }, zo = /* @__PURE__ */ $({
2325
2406
  __name: "VJoyMenu",
2326
2407
  props: {
2327
2408
  /**
@@ -2342,30 +2423,30 @@ const wn = /* @__PURE__ */ $(hn, [["__scopeId", "data-v-76f0342e"]]), Sn = ["tab
2342
2423
  },
2343
2424
  emits: ["selectItem"],
2344
2425
  setup(e, { expose: l, emit: t }) {
2345
- const a = w(), n = w(0), r = w();
2346
- function i(u) {
2347
- u.disabled || t("selectItem", u);
2426
+ const a = w(), o = w(0), r = w();
2427
+ function i(d) {
2428
+ d.disabled || t("selectItem", d);
2348
2429
  }
2349
- function o() {
2350
- var u;
2351
- return Array.from(((u = a.value) == null ? void 0 : u.querySelectorAll("li")) || []).filter((c) => c.getAttribute("aria-disabled") !== "true");
2430
+ function n() {
2431
+ var d;
2432
+ return Array.from(((d = a.value) == null ? void 0 : d.querySelectorAll("li")) || []).filter((c) => c.getAttribute("aria-disabled") !== "true");
2352
2433
  }
2353
- function y(u) {
2354
- return u.id || Ve();
2434
+ function y(d) {
2435
+ return d.id || xe();
2355
2436
  }
2356
2437
  function p() {
2357
- return o().find((u) => u === document.activeElement);
2438
+ return n().find((d) => d === document.activeElement);
2358
2439
  }
2359
- function f(u) {
2360
- if (p() && u.key === " " && u.preventDefault(), u.key === "Tab" && (r.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(u.key)) {
2361
- u.preventDefault();
2362
- const c = o(), s = p();
2440
+ function f(d) {
2441
+ if (p() && d.key === " " && d.preventDefault(), d.key === "Tab" && (r.value = void 0), ["ArrowDown", "ArrowUp", "Home", "End"].includes(d.key)) {
2442
+ d.preventDefault();
2443
+ const c = n(), s = p();
2363
2444
  let v = c.indexOf(s);
2364
- if (u.key === "ArrowDown" ? v++ : u.key === "ArrowUp" ? v-- : u.key === "Home" ? v = 0 : u.key === "End" && (v = c.length - 1), v < 0 && (v = 0), v > c.length - 1)
2445
+ if (d.key === "ArrowDown" ? v++ : d.key === "ArrowUp" ? v-- : d.key === "Home" ? v = 0 : d.key === "End" && (v = c.length - 1), v < 0 && (v = 0), v > c.length - 1)
2365
2446
  return;
2366
2447
  r.value = c[v].id, c[v].focus();
2367
2448
  }
2368
- if (u.key === "Enter") {
2449
+ if (d.key === "Enter") {
2369
2450
  const c = p();
2370
2451
  if (!c)
2371
2452
  return;
@@ -2375,20 +2456,20 @@ const wn = /* @__PURE__ */ $(hn, [["__scopeId", "data-v-76f0342e"]]), Sn = ["tab
2375
2456
  }
2376
2457
  return l({
2377
2458
  activeMenuItemId: r,
2378
- getItems: o,
2459
+ getItems: n,
2379
2460
  getItemId: y,
2380
2461
  getFocusedItem: p
2381
- }), (u, c) => (d(), m("ul", {
2462
+ }), (d, c) => (u(), m("ul", {
2382
2463
  ref_key: "menu",
2383
2464
  ref: a,
2384
2465
  class: "joy-menu-list joy-menu-list__items",
2385
- tabindex: n.value,
2466
+ tabindex: o.value,
2386
2467
  "aria-activedescendant": r.value,
2387
2468
  "aria-label": e.ariaLabel,
2388
2469
  role: "menu",
2389
2470
  onKeydown: f
2390
2471
  }, [
2391
- (d(!0), m(D, null, G(e.items, (s) => (d(), m("li", {
2472
+ (u(!0), m(D, null, G(e.items, (s) => (u(), m("li", {
2392
2473
  id: y(s),
2393
2474
  key: s.label,
2394
2475
  class: S([
@@ -2407,22 +2488,22 @@ const wn = /* @__PURE__ */ $(hn, [["__scopeId", "data-v-76f0342e"]]), Sn = ["tab
2407
2488
  role: "menuitem",
2408
2489
  onClick: (v) => i(s)
2409
2490
  }, [
2410
- _("div", $n, [
2411
- g(u.$slots, "menu-item", se(ue(s)), () => [
2412
- s.icon ? (d(), x(T, {
2491
+ _("div", Ao, [
2492
+ b(d.$slots, "menu-item", se(ue(s)), () => [
2493
+ s.icon ? (u(), x(T, {
2413
2494
  key: 0,
2414
2495
  name: s.icon
2415
- }, null, 8, ["name"])) : b("", !0),
2496
+ }, null, 8, ["name"])) : h("", !0),
2416
2497
  _("span", null, C(s.label), 1)
2417
2498
  ], !0)
2418
2499
  ])
2419
- ], 10, jn))), 128))
2420
- ], 40, Sn));
2500
+ ], 10, Po))), 128))
2501
+ ], 40, Eo));
2421
2502
  }
2422
2503
  });
2423
- const Vn = /* @__PURE__ */ $(kn, [["__scopeId", "data-v-4391a0bd"]]), xn = ["id"], In = {
2504
+ const Fo = /* @__PURE__ */ j(zo, [["__scopeId", "data-v-4391a0bd"]]), qo = ["id"], Mo = {
2424
2505
  class: /* @__PURE__ */ S(["joy-multi-checkbox"])
2425
- }, Cn = /* @__PURE__ */ j({
2506
+ }, No = /* @__PURE__ */ $({
2426
2507
  __name: "VJoyMultiCheckbox",
2427
2508
  props: {
2428
2509
  options: {
@@ -2461,47 +2542,47 @@ const Vn = /* @__PURE__ */ $(kn, [["__scopeId", "data-v-4391a0bd"]]), xn = ["id"
2461
2542
  function a(r) {
2462
2543
  return t.value.includes(r.value);
2463
2544
  }
2464
- function n(r, i) {
2465
- let o = [...t.value || []];
2466
- i ? o.push(r) : o.splice(o.indexOf(r), 1), l("update:value", o);
2545
+ function o(r, i) {
2546
+ let n = [...t.value || []];
2547
+ i ? n.push(r) : n.splice(n.indexOf(r), 1), l("update:value", n);
2467
2548
  }
2468
- return (r, i) => (d(), m("fieldset", {
2549
+ return (r, i) => (u(), m("fieldset", {
2469
2550
  id: e.id,
2470
2551
  class: "joy-multi-checkbox__wrapper"
2471
2552
  }, [
2472
- e.label ? (d(), x(k(ee), {
2553
+ e.label ? (u(), x(k(ee), {
2473
2554
  key: 0,
2474
2555
  "tag-name": "legend",
2475
2556
  required: e.required && e.requiredMark,
2476
2557
  "optional-label": e.optionalLabel,
2477
2558
  size: e.labelSize
2478
2559
  }, {
2479
- default: O(() => [
2480
- B(C(e.label), 1)
2560
+ default: B(() => [
2561
+ O(C(e.label), 1)
2481
2562
  ]),
2482
2563
  _: 1
2483
- }, 8, ["required", "optional-label", "size"])) : b("", !0),
2484
- _("div", In, [
2485
- (d(!0), m(D, null, G(e.options, (o) => (d(), x(k(Ie), {
2486
- id: o.id,
2487
- key: o.id,
2488
- name: o.name,
2489
- value: o.value,
2490
- checked: a(o),
2491
- "onUpdate:checked": (y) => n(o.value, y)
2564
+ }, 8, ["required", "optional-label", "size"])) : h("", !0),
2565
+ _("div", Mo, [
2566
+ (u(!0), m(D, null, G(e.options, (n) => (u(), x(k(Ce), {
2567
+ id: n.id,
2568
+ key: n.id,
2569
+ name: n.name,
2570
+ value: n.value,
2571
+ checked: a(n),
2572
+ "onUpdate:checked": (y) => o(n.value, y)
2492
2573
  }, {
2493
- default: O(() => [
2494
- g(r.$slots, "checkbox", se(ue(o)), () => [
2495
- B(C(o.label), 1)
2574
+ default: B(() => [
2575
+ b(r.$slots, "checkbox", se(ue(n)), () => [
2576
+ O(C(n.label), 1)
2496
2577
  ], !0)
2497
2578
  ]),
2498
2579
  _: 2
2499
2580
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
2500
2581
  ])
2501
- ], 8, xn));
2582
+ ], 8, qo));
2502
2583
  }
2503
2584
  });
2504
- const Ln = /* @__PURE__ */ $(Cn, [["__scopeId", "data-v-47574ced"]]), et = /* @__PURE__ */ j({
2585
+ const Ro = /* @__PURE__ */ j(No, [["__scopeId", "data-v-c278b02d"]]), tt = /* @__PURE__ */ $({
2505
2586
  __name: "PaginationIcon",
2506
2587
  props: {
2507
2588
  label: {
@@ -2519,7 +2600,7 @@ const Ln = /* @__PURE__ */ $(Cn, [["__scopeId", "data-v-47574ced"]]), et = /* @_
2519
2600
  },
2520
2601
  emits: ["click"],
2521
2602
  setup(e) {
2522
- return (l, t) => (d(), x(xe, {
2603
+ return (l, t) => (u(), x(Ie, {
2523
2604
  class: "joy-pagination__icon",
2524
2605
  "aria-label": e.label,
2525
2606
  title: e.label,
@@ -2532,7 +2613,7 @@ const Ln = /* @__PURE__ */ $(Cn, [["__scopeId", "data-v-47574ced"]]), et = /* @_
2532
2613
  onClick: t[0] || (t[0] = (a) => l.$emit("click", a))
2533
2614
  }, null, 8, ["aria-label", "title", "icon", "disabled"]));
2534
2615
  }
2535
- }), Bn = ["aria-label", "data-current"], On = { class: "joy-pagination__previous" }, Tn = ["aria-current", "onClick"], Jn = { class: "joy-pagination__next" }, En = 6, Pn = /* @__PURE__ */ j({
2616
+ }), Do = ["aria-label", "data-current"], Ho = { class: "joy-pagination__previous" }, Wo = ["aria-current", "onClick"], Uo = { class: "joy-pagination__next" }, Go = 6, Ko = /* @__PURE__ */ $({
2536
2617
  __name: "VJoyPagination",
2537
2618
  props: {
2538
2619
  /** Current page number */
@@ -2566,80 +2647,80 @@ const Ln = /* @__PURE__ */ $(Cn, [["__scopeId", "data-v-47574ced"]]), et = /* @_
2566
2647
  const t = e, a = V(() => {
2567
2648
  const p = r.value.length;
2568
2649
  return r.value[p - 1] !== r.value[p - 2] + 1;
2569
- }), n = V(() => r.value[0] !== r.value[1] - 1), r = V(() => t.totalPages < En ? o(2, t.totalPages - 1) : y(t.currentPage));
2650
+ }), o = V(() => r.value[0] !== r.value[1] - 1), r = V(() => t.totalPages < Go ? n(2, t.totalPages - 1) : y(t.currentPage));
2570
2651
  function i(p) {
2571
2652
  l("update:current-page", p);
2572
2653
  }
2573
- function o(p, f) {
2574
- const u = [];
2575
- u.push(1);
2654
+ function n(p, f) {
2655
+ const d = [];
2656
+ d.push(1);
2576
2657
  for (let c = p; c <= f; c++)
2577
- u.push(c);
2578
- return u.push(t.totalPages), u;
2658
+ d.push(c);
2659
+ return d.push(t.totalPages), d;
2579
2660
  }
2580
2661
  function y(p) {
2581
- let f = p - 2, u = p + 1;
2582
- return f <= 1 && (f = 2, u = 5), u >= t.totalPages && (u = t.totalPages - 1, f = u - 3), o(f, u);
2662
+ let f = p - 2, d = p + 1;
2663
+ return f <= 1 && (f = 2, d = 5), d >= t.totalPages && (d = t.totalPages - 1, f = d - 3), n(f, d);
2583
2664
  }
2584
- return (p, f) => (d(), m("nav", {
2665
+ return (p, f) => (u(), m("nav", {
2585
2666
  role: "navigation",
2586
2667
  "aria-label": e.labelPagination,
2587
2668
  class: "joy-pagination",
2588
2669
  "data-current": e.currentPage
2589
2670
  }, [
2590
2671
  _("ul", null, [
2591
- _("li", On, [
2592
- g(p.$slots, "pagination-prev", {}, () => [
2593
- R(et, {
2672
+ _("li", Ho, [
2673
+ b(p.$slots, "pagination-prev", {}, () => [
2674
+ R(tt, {
2594
2675
  label: e.labelPrev,
2595
2676
  disabled: e.currentPage === 1,
2596
- onClick: f[0] || (f[0] = (u) => i(e.currentPage - 1))
2677
+ onClick: f[0] || (f[0] = (d) => i(e.currentPage - 1))
2597
2678
  }, null, 8, ["label", "disabled"])
2598
2679
  ], !0)
2599
2680
  ]),
2600
2681
  _("li", null, [
2601
2682
  _("ul", null, [
2602
- (d(!0), m(D, null, G(r.value, (u) => (d(), m("li", { key: u }, [
2683
+ (u(!0), m(D, null, G(r.value, (d) => (u(), m("li", { key: d }, [
2603
2684
  _("button", {
2604
2685
  type: "button",
2605
- "aria-current": u === e.currentPage ? "true" : "false",
2686
+ "aria-current": d === e.currentPage ? "true" : "false",
2606
2687
  class: S({
2607
- current: u === e.currentPage,
2608
- "joy-pagination__separator joy-pagination__separator-after": u === 1 && n.value,
2609
- "joy-pagination__separator joy-pagination__separator-before": u === e.totalPages && a.value
2688
+ current: d === e.currentPage,
2689
+ "joy-pagination__separator joy-pagination__separator-after": d === 1 && o.value,
2690
+ "joy-pagination__separator joy-pagination__separator-before": d === e.totalPages && a.value
2610
2691
  }),
2611
- onClick: (c) => i(u)
2612
- }, C(u), 11, Tn)
2692
+ onClick: (c) => i(d)
2693
+ }, C(d), 11, Wo)
2613
2694
  ]))), 128))
2614
2695
  ])
2615
2696
  ]),
2616
- _("li", Jn, [
2617
- g(p.$slots, "pagination-next", {}, () => [
2618
- R(et, {
2697
+ _("li", Uo, [
2698
+ b(p.$slots, "pagination-next", {}, () => [
2699
+ R(tt, {
2619
2700
  next: "",
2620
2701
  label: e.labelNext,
2621
2702
  disabled: e.currentPage === e.totalPages,
2622
- onClick: f[1] || (f[1] = (u) => i(e.currentPage + 1))
2703
+ onClick: f[1] || (f[1] = (d) => i(e.currentPage + 1))
2623
2704
  }, null, 8, ["label", "disabled"])
2624
2705
  ], !0)
2625
2706
  ])
2626
2707
  ])
2627
- ], 8, Bn));
2708
+ ], 8, Do));
2628
2709
  }
2629
2710
  });
2630
- const An = /* @__PURE__ */ $(Pn, [["__scopeId", "data-v-e5b57944"]]), zn = ["small", "medium", "large"], qn = ["small", "large"], Fn = {
2711
+ const Zo = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-e5b57944"]]), Qo = ["small", "medium", "large"], Yo = ["small", "large"], Xo = {
2631
2712
  key: 0,
2632
2713
  class: /* @__PURE__ */ S(["joy-panel__header"])
2633
- }, Mn = {
2714
+ }, en = {
2634
2715
  key: 1,
2635
2716
  class: "joy-panel__header-action"
2636
- }, Nn = {
2717
+ }, tn = {
2637
2718
  key: 2,
2638
2719
  class: "joy-panel__header-subtitle"
2639
- }, Rn = { class: "joy-panel__body" }, Dn = {
2720
+ }, ln = { class: "joy-panel__body" }, an = {
2640
2721
  key: 1,
2641
2722
  class: "joy-panel__footer"
2642
- }, Hn = /* @__PURE__ */ j({
2723
+ }, on = /* @__PURE__ */ $({
2643
2724
  __name: "VJoyPanel",
2644
2725
  props: {
2645
2726
  flex: {
@@ -2653,14 +2734,14 @@ const An = /* @__PURE__ */ $(Pn, [["__scopeId", "data-v-e5b57944"]]), zn = ["sma
2653
2734
  type: String,
2654
2735
  default: "medium",
2655
2736
  validator(e) {
2656
- return zn.includes(e);
2737
+ return Qo.includes(e);
2657
2738
  }
2658
2739
  },
2659
2740
  titleSize: {
2660
2741
  type: String,
2661
2742
  default: "large",
2662
2743
  validator(e) {
2663
- return qn.includes(e);
2744
+ return Yo.includes(e);
2664
2745
  }
2665
2746
  },
2666
2747
  loading: {
@@ -2673,11 +2754,11 @@ const An = /* @__PURE__ */ $(Pn, [["__scopeId", "data-v-e5b57944"]]), zn = ["sma
2673
2754
  }
2674
2755
  },
2675
2756
  setup(e) {
2676
- const l = de("VJoyWrapperContext", {}), t = V(() => Object.keys(l).length > 0), a = Y(), n = w(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
2677
- return (i, o) => (d(), m("section", {
2757
+ const l = de("VJoyWrapperContext", {}), t = V(() => Object.keys(l).length > 0), a = K(), o = w(), r = V(() => a["panel-title"] || a["panel-subtitle"] || a["panel-title-action"]);
2758
+ return (i, n) => (u(), m("section", {
2678
2759
  ref_key: "panel",
2679
- ref: n,
2680
- style: K({ flex: e.flex }),
2760
+ ref: o,
2761
+ style: Z({ flex: e.flex }),
2681
2762
  class: S([
2682
2763
  "joy-panel",
2683
2764
  `joy-panel--${e.padding}`,
@@ -2687,60 +2768,60 @@ const An = /* @__PURE__ */ $(Pn, [["__scopeId", "data-v-e5b57944"]]), zn = ["sma
2687
2768
  }
2688
2769
  ])
2689
2770
  }, [
2690
- r.value ? (d(), m("header", Fn, [
2691
- k(a)["panel-title"] ? (d(), m("div", {
2771
+ r.value ? (u(), m("header", Xo, [
2772
+ k(a)["panel-title"] ? (u(), m("div", {
2692
2773
  key: 0,
2693
2774
  class: S(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
2694
2775
  }, [
2695
- g(i.$slots, "panel-title", {}, void 0, !0)
2696
- ], 2)) : b("", !0),
2697
- k(a)["panel-title-action"] ? (d(), m("div", Mn, [
2698
- g(i.$slots, "panel-title-action", {}, void 0, !0)
2699
- ])) : b("", !0),
2700
- k(a)["panel-subtitle"] ? (d(), m("div", Nn, [
2701
- g(i.$slots, "panel-subtitle", {}, void 0, !0)
2702
- ])) : b("", !0)
2703
- ])) : b("", !0),
2704
- _("div", Rn, [
2705
- g(i.$slots, "panel-body", {}, void 0, !0)
2776
+ b(i.$slots, "panel-title", {}, void 0, !0)
2777
+ ], 2)) : h("", !0),
2778
+ k(a)["panel-title-action"] ? (u(), m("div", en, [
2779
+ b(i.$slots, "panel-title-action", {}, void 0, !0)
2780
+ ])) : h("", !0),
2781
+ k(a)["panel-subtitle"] ? (u(), m("div", tn, [
2782
+ b(i.$slots, "panel-subtitle", {}, void 0, !0)
2783
+ ])) : h("", !0)
2784
+ ])) : h("", !0),
2785
+ _("div", ln, [
2786
+ b(i.$slots, "panel-body", {}, void 0, !0)
2706
2787
  ]),
2707
- k(a)["panel-action"] ? (d(), m("footer", Dn, [
2708
- g(i.$slots, "panel-action", {}, void 0, !0)
2709
- ])) : b("", !0),
2710
- e.loading ? (d(), x(k(Le), {
2788
+ k(a)["panel-action"] ? (u(), m("footer", an, [
2789
+ b(i.$slots, "panel-action", {}, void 0, !0)
2790
+ ])) : h("", !0),
2791
+ e.loading ? (u(), x(k(Oe), {
2711
2792
  key: 2,
2712
2793
  overlay: "",
2713
2794
  color: e.loadingColor
2714
2795
  }, {
2715
- content: O(() => [
2716
- g(i.$slots, "panel-loader-content", {}, void 0, !0)
2796
+ content: B(() => [
2797
+ b(i.$slots, "panel-loader-content", {}, void 0, !0)
2717
2798
  ]),
2718
2799
  _: 3
2719
- }, 8, ["color"])) : b("", !0)
2800
+ }, 8, ["color"])) : h("", !0)
2720
2801
  ], 6));
2721
2802
  }
2722
2803
  });
2723
- const Wn = /* @__PURE__ */ $(Hn, [["__scopeId", "data-v-2e3a2baa"]]), Un = { class: "joy-panel-section" }, Gn = {
2804
+ const nn = /* @__PURE__ */ j(on, [["__scopeId", "data-v-4a8b703c"]]), rn = { class: "joy-panel-section" }, sn = {
2724
2805
  key: 0,
2725
2806
  class: "joy-panel-section__title"
2726
- }, Kn = {
2807
+ }, un = {
2727
2808
  key: 1,
2728
2809
  class: "joy-panel-section__content"
2729
- }, Zn = /* @__PURE__ */ j({
2810
+ }, dn = /* @__PURE__ */ $({
2730
2811
  __name: "VJoyPanelSection",
2731
2812
  setup(e) {
2732
- const l = Y();
2733
- return (t, a) => (d(), m("div", Un, [
2734
- k(l)["panel-section-title"] ? (d(), m("div", Gn, [
2735
- g(t.$slots, "panel-section-title", {}, void 0, !0)
2736
- ])) : b("", !0),
2737
- k(l)["panel-section-content"] ? (d(), m("div", Kn, [
2738
- g(t.$slots, "panel-section-content", {}, void 0, !0)
2739
- ])) : b("", !0)
2813
+ const l = K();
2814
+ return (t, a) => (u(), m("div", rn, [
2815
+ k(l)["panel-section-title"] ? (u(), m("div", sn, [
2816
+ b(t.$slots, "panel-section-title", {}, void 0, !0)
2817
+ ])) : h("", !0),
2818
+ k(l)["panel-section-content"] ? (u(), m("div", un, [
2819
+ b(t.$slots, "panel-section-content", {}, void 0, !0)
2820
+ ])) : h("", !0)
2740
2821
  ]));
2741
2822
  }
2742
2823
  });
2743
- const Qn = /* @__PURE__ */ $(Zn, [["__scopeId", "data-v-d88510ab"]]), Yn = { class: "joy-progress-bar-wrapper" }, Xn = /* @__PURE__ */ j({
2824
+ const cn = /* @__PURE__ */ j(dn, [["__scopeId", "data-v-d88510ab"]]), fn = { class: "joy-progress-bar-wrapper" }, yn = /* @__PURE__ */ $({
2744
2825
  __name: "VJoyProgressBar",
2745
2826
  props: {
2746
2827
  color: {
@@ -2767,22 +2848,22 @@ const Qn = /* @__PURE__ */ $(Zn, [["__scopeId", "data-v-d88510ab"]]), Yn = { cla
2767
2848
  }
2768
2849
  },
2769
2850
  setup(e, { expose: l }) {
2770
- const t = e, a = w(0), n = V(() => r());
2851
+ const t = e, a = w(0), o = V(() => r());
2771
2852
  function r() {
2772
2853
  return t.percentage ? a.value = t.percentage : t.currentStep && t.steps ? a.value = Math.round(t.currentStep / t.steps * 100) : a.value = 0, a.value < 0 && (a.value = 0), a.value > 100 && (a.value = 100), a.value + "%";
2773
2854
  }
2774
2855
  return l({
2775
- computeInnerWidth: n,
2856
+ computeInnerWidth: o,
2776
2857
  computedPercentage: a
2777
- }), (i, o) => (d(), m("div", Yn, [
2858
+ }), (i, n) => (u(), m("div", fn, [
2778
2859
  _("div", {
2779
2860
  class: S(["joy-progress-bar-inner", `joy-progress-bar-inner_${e.color}`]),
2780
- style: K({ width: n.value })
2861
+ style: Z({ width: o.value })
2781
2862
  }, null, 6)
2782
2863
  ]));
2783
2864
  }
2784
2865
  });
2785
- const eo = /* @__PURE__ */ $(Xn, [["__scopeId", "data-v-a28eae43"]]), to = ["id", "value", "checked", "disabled", "required", "name"], lo = { class: "joy-radio-label" }, ao = { class: "joy-radio-content__wrapper" }, no = { class: "joy-radio-content" }, oo = /* @__PURE__ */ j({
2866
+ const vn = /* @__PURE__ */ j(yn, [["__scopeId", "data-v-1b2b3de8"]]), pn = ["id", "value", "checked", "disabled", "required", "name"], mn = { class: "joy-radio-label" }, _n = { class: "joy-radio-content__wrapper" }, bn = { class: "joy-radio-content" }, hn = /* @__PURE__ */ $({
2786
2867
  __name: "VJoyRadio",
2787
2868
  props: {
2788
2869
  disabled: {
@@ -2818,14 +2899,14 @@ const eo = /* @__PURE__ */ $(Xn, [["__scopeId", "data-v-a28eae43"]]), to = ["id"
2818
2899
  },
2819
2900
  emits: ["update:modelValue"],
2820
2901
  setup(e, { expose: l, emit: t }) {
2821
- const a = e, n = w(!1), r = w(!1), i = w(null), o = w(null), y = Y(), p = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
2902
+ const a = e, o = w(!1), r = w(!1), i = w(null), n = w(null), y = K(), p = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
2822
2903
  function f() {
2823
- n.value = !!y["expandable-content"] && p.value;
2904
+ o.value = !!y["expandable-content"] && p.value;
2824
2905
  }
2825
- function u() {
2906
+ function d() {
2826
2907
  t("update:modelValue", a.value), f();
2827
2908
  }
2828
- Q(() => {
2909
+ Y(() => {
2829
2910
  a.theme === "outline" && f();
2830
2911
  });
2831
2912
  function c() {
@@ -2841,8 +2922,8 @@ const eo = /* @__PURE__ */ $(Xn, [["__scopeId", "data-v-a28eae43"]]), to = ["id"
2841
2922
  }
2842
2923
  ), l({
2843
2924
  checked: p,
2844
- isExpanded: n
2845
- }), (v, h) => (d(), m("label", {
2925
+ isExpanded: o
2926
+ }), (v, g) => (u(), m("label", {
2846
2927
  ref_key: "root",
2847
2928
  ref: i,
2848
2929
  class: S([
@@ -2865,29 +2946,29 @@ const eo = /* @__PURE__ */ $(Xn, [["__scopeId", "data-v-a28eae43"]]), to = ["id"
2865
2946
  disabled: e.disabled,
2866
2947
  required: e.required,
2867
2948
  name: e.name,
2868
- onChange: u,
2949
+ onChange: d,
2869
2950
  onFocus: c,
2870
2951
  onBlur: s
2871
- }, null, 40, to),
2872
- _("span", lo, [
2873
- g(v.$slots, "default", {}, void 0, !0)
2952
+ }, null, 40, pn),
2953
+ _("span", mn, [
2954
+ b(v.$slots, "default", {}, void 0, !0)
2874
2955
  ]),
2875
- _("div", ao, [
2876
- _("div", no, [
2877
- g(v.$slots, "radio-content", {}, void 0, !0)
2956
+ _("div", _n, [
2957
+ _("div", bn, [
2958
+ b(v.$slots, "radio-content", {}, void 0, !0)
2878
2959
  ]),
2879
2960
  _("div", {
2880
2961
  ref_key: "expandableElement",
2881
- ref: o,
2882
- class: S(["joy-radio-expandable", { "joy-radio-expandable--expanded": n.value }])
2962
+ ref: n,
2963
+ class: S(["joy-radio-expandable", { "joy-radio-expandable--expanded": o.value }])
2883
2964
  }, [
2884
- g(v.$slots, "expandable-content", {}, void 0, !0)
2965
+ b(v.$slots, "expandable-content", {}, void 0, !0)
2885
2966
  ], 2)
2886
2967
  ])
2887
2968
  ], 2));
2888
2969
  }
2889
2970
  });
2890
- const ro = /* @__PURE__ */ $(oo, [["__scopeId", "data-v-24cea99b"]]), io = ["form", "name"], so = /* @__PURE__ */ j({
2971
+ const gn = /* @__PURE__ */ j(hn, [["__scopeId", "data-v-24cea99b"]]), wn = ["form", "name"], Sn = /* @__PURE__ */ $({
2891
2972
  __name: "VJoyRadioGroup",
2892
2973
  props: {
2893
2974
  /**
@@ -2908,23 +2989,23 @@ const ro = /* @__PURE__ */ $(oo, [["__scopeId", "data-v-24cea99b"]]), io = ["for
2908
2989
  }
2909
2990
  },
2910
2991
  setup(e) {
2911
- return (l, t) => (d(), m("fieldset", {
2992
+ return (l, t) => (u(), m("fieldset", {
2912
2993
  ref: "root",
2913
2994
  class: "joy-radio-group-fieldset",
2914
2995
  role: "radiogroup",
2915
2996
  form: e.form,
2916
2997
  name: e.name
2917
2998
  }, [
2918
- g(l.$slots, "radio-group-legend", {}, void 0, !0),
2999
+ b(l.$slots, "radio-group-legend", {}, void 0, !0),
2919
3000
  _("div", {
2920
3001
  class: S(["joy-radio-group-container", `joy-radio-group-${e.direction}`])
2921
3002
  }, [
2922
- g(l.$slots, "default", {}, void 0, !0)
3003
+ b(l.$slots, "default", {}, void 0, !0)
2923
3004
  ], 2)
2924
- ], 8, io));
3005
+ ], 8, wn));
2925
3006
  }
2926
3007
  });
2927
- const uo = /* @__PURE__ */ $(so, [["__scopeId", "data-v-a77e7f95"]]), co = ["ariaLabel"], fo = { class: "joy-rating-stars" }, yo = { class: "joy-rating-stars__content" }, vo = { key: 0 }, po = /* @__PURE__ */ j({
3008
+ const $n = /* @__PURE__ */ j(Sn, [["__scopeId", "data-v-a77e7f95"]]), jn = ["ariaLabel"], kn = { class: "joy-rating-stars" }, Vn = { class: "joy-rating-stars__content" }, xn = { key: 0 }, In = /* @__PURE__ */ $({
2928
3009
  __name: "VJoyRatingStars",
2929
3010
  props: {
2930
3011
  ratingValue: {
@@ -2941,35 +3022,35 @@ const uo = /* @__PURE__ */ $(so, [["__scopeId", "data-v-a77e7f95"]]), co = ["ari
2941
3022
  }
2942
3023
  },
2943
3024
  setup(e, { expose: l }) {
2944
- const t = e, a = Se(), n = V(() => {
2945
- let r = [], i = 0.24, o = 0.75;
3025
+ const t = e, a = $e(), o = V(() => {
3026
+ let r = [], i = 0.24, n = 0.75;
2946
3027
  for (let y = 0; y < 5; y++)
2947
- t.ratingValue > i ? r.push(t.ratingValue < o ? "half" : "full") : r.push("empty"), i += 1, o += 1;
3028
+ t.ratingValue > i ? r.push(t.ratingValue < n ? "half" : "full") : r.push("empty"), i += 1, n += 1;
2948
3029
  return r;
2949
3030
  });
2950
3031
  return l({
2951
- setStars: n
2952
- }), (r, i) => (d(), m("div", {
3032
+ setStars: o
3033
+ }), (r, i) => (u(), m("div", {
2953
3034
  role: "img",
2954
3035
  class: "joy-rating-stars__wrapper",
2955
3036
  ariaLabel: k(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
2956
3037
  }, [
2957
- _("ul", fo, [
2958
- (d(!0), m(D, null, G(n.value, (o, y) => (d(), m("li", {
3038
+ _("ul", kn, [
3039
+ (u(!0), m(D, null, G(o.value, (n, y) => (u(), m("li", {
2959
3040
  key: y,
2960
3041
  class: S([`joy-rating-stars--${e.size}`])
2961
3042
  }, [
2962
- o === "full" ? (d(), x(T, {
3043
+ n === "full" ? (u(), x(T, {
2963
3044
  key: 0,
2964
3045
  "aria-hidden": "true",
2965
3046
  name: "star-fill",
2966
3047
  color: "quaternary"
2967
- })) : o === "half" ? (d(), x(T, {
3048
+ })) : n === "half" ? (u(), x(T, {
2968
3049
  key: 1,
2969
3050
  "aria-hidden": "true",
2970
3051
  name: "star-half",
2971
3052
  color: "quaternary"
2972
- })) : (d(), x(T, {
3053
+ })) : (u(), x(T, {
2973
3054
  key: 2,
2974
3055
  "aria-hidden": "true",
2975
3056
  name: "star",
@@ -2977,18 +3058,18 @@ const uo = /* @__PURE__ */ $(so, [["__scopeId", "data-v-a77e7f95"]]), co = ["ari
2977
3058
  }))
2978
3059
  ], 2))), 128))
2979
3060
  ]),
2980
- _("div", yo, [
2981
- g(r.$slots, "rating-stars-content", {}, () => [
2982
- e.reviewCount ? (d(), m("span", vo, "(" + C(e.reviewCount) + ")", 1)) : b("", !0)
3061
+ _("div", Vn, [
3062
+ b(r.$slots, "rating-stars-content", {}, () => [
3063
+ e.reviewCount ? (u(), m("span", xn, "(" + C(e.reviewCount) + ")", 1)) : h("", !0)
2983
3064
  ], !0)
2984
3065
  ])
2985
- ], 8, co));
3066
+ ], 8, jn));
2986
3067
  }
2987
3068
  });
2988
- const mo = /* @__PURE__ */ $(po, [["__scopeId", "data-v-23927e1e"]]), _o = { class: "joy-screen-loader__content" }, bo = {
3069
+ const Cn = /* @__PURE__ */ j(In, [["__scopeId", "data-v-c9a5e140"]]), Ln = { class: "joy-screen-loader__content" }, On = {
2989
3070
  key: 0,
2990
3071
  class: "joy-screen-loader__content"
2991
- }, go = /* @__PURE__ */ j({
3072
+ }, Bn = /* @__PURE__ */ $({
2992
3073
  __name: "VJoyScreenLoader",
2993
3074
  props: {
2994
3075
  /** Light or dark. Changes the spinner and background color */
@@ -3003,23 +3084,23 @@ const mo = /* @__PURE__ */ $(po, [["__scopeId", "data-v-23927e1e"]]), _o = { cla
3003
3084
  }
3004
3085
  },
3005
3086
  setup(e) {
3006
- return (l, t) => (d(), m("div", {
3087
+ return (l, t) => (u(), m("div", {
3007
3088
  class: S(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
3008
3089
  }, [
3009
- _("div", _o, [
3010
- g(l.$slots, "spinner", {}, () => [
3011
- R(ke, {
3090
+ _("div", Ln, [
3091
+ b(l.$slots, "spinner", {}, () => [
3092
+ R(Ve, {
3012
3093
  color: e.color === "dark" ? "white" : "teal"
3013
3094
  }, null, 8, ["color"])
3014
3095
  ], !0),
3015
- l.$slots.content ? (d(), m("div", bo, [
3016
- g(l.$slots, "content", {}, void 0, !0)
3017
- ])) : b("", !0)
3096
+ l.$slots.content ? (u(), m("div", On, [
3097
+ b(l.$slots, "content", {}, void 0, !0)
3098
+ ])) : h("", !0)
3018
3099
  ])
3019
3100
  ], 2));
3020
3101
  }
3021
3102
  });
3022
- const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id", "name", "aria-invalid", "required", "disabled", "value"], wo = /* @__PURE__ */ j({
3103
+ const Oe = /* @__PURE__ */ j(Bn, [["__scopeId", "data-v-1112514f"]]), Tn = ["id", "name", "aria-invalid", "required", "disabled", "value"], Jn = /* @__PURE__ */ $({
3023
3104
  __name: "VJoySelect",
3024
3105
  props: {
3025
3106
  disabled: {
@@ -3062,13 +3143,13 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3062
3143
  },
3063
3144
  emits: ["update:modelValue"],
3064
3145
  setup(e, { emit: l }) {
3065
- const t = e, a = w(), n = w(), r = Y(), i = w(!1), o = V(() => t.labelSize ? t.labelSize : t.size !== "medium" ? "small" : "medium");
3066
- Q(() => {
3146
+ const t = e, a = w(), o = w(), r = K(), i = w(!1), n = V(() => t.labelSize ? t.labelSize : t.size !== "medium" ? "small" : "medium");
3147
+ Y(() => {
3067
3148
  var s;
3068
- const u = r.label && r.label();
3069
- if (!u || !u.length)
3149
+ const d = r.label && r.label();
3150
+ if (!d || !d.length)
3070
3151
  return;
3071
- const c = u[0];
3152
+ const c = d[0];
3072
3153
  if (c.type === "JoyLabel") {
3073
3154
  const v = (s = c.props) == null ? void 0 : s.for;
3074
3155
  if (!v) {
@@ -3078,8 +3159,8 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3078
3159
  v !== t.id && console.warn("JoyLabel for attribute does not match with JoySelect id");
3079
3160
  }
3080
3161
  });
3081
- function y(u) {
3082
- const c = u.target.value;
3162
+ function y(d) {
3163
+ const c = d.target.value;
3083
3164
  l("update:modelValue", c);
3084
3165
  }
3085
3166
  function p() {
@@ -3088,23 +3169,23 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3088
3169
  function f() {
3089
3170
  i.value = !1;
3090
3171
  }
3091
- return (u, c) => (d(), m("div", {
3172
+ return (d, c) => (u(), m("div", {
3092
3173
  ref_key: "root",
3093
3174
  ref: a
3094
3175
  }, [
3095
- g(u.$slots, "select-label", {}, () => [
3096
- e.label ? (d(), x(ee, {
3176
+ b(d.$slots, "select-label", {}, () => [
3177
+ e.label ? (u(), x(ee, {
3097
3178
  key: 0,
3098
3179
  required: e.required && e.requiredMark,
3099
3180
  "optional-label": e.optionalLabel,
3100
3181
  for: e.id || e.name,
3101
- size: o.value
3182
+ size: n.value
3102
3183
  }, {
3103
- default: O(() => [
3104
- B(C(e.label), 1)
3184
+ default: B(() => [
3185
+ O(C(e.label), 1)
3105
3186
  ]),
3106
3187
  _: 1
3107
- }, 8, ["required", "optional-label", "for", "size"])) : b("", !0)
3188
+ }, 8, ["required", "optional-label", "for", "size"])) : h("", !0)
3108
3189
  ], !0),
3109
3190
  _("div", {
3110
3191
  class: S([
@@ -3120,7 +3201,7 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3120
3201
  _("select", {
3121
3202
  id: e.id || e.name,
3122
3203
  ref_key: "select",
3123
- ref: n,
3204
+ ref: o,
3124
3205
  class: "joy-select",
3125
3206
  name: e.name,
3126
3207
  "aria-invalid": e.invalid,
@@ -3131,8 +3212,8 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3131
3212
  onFocus: p,
3132
3213
  onBlur: f
3133
3214
  }, [
3134
- g(u.$slots, "default", {}, void 0, !0)
3135
- ], 40, ho),
3215
+ b(d.$slots, "default", {}, void 0, !0)
3216
+ ], 40, Tn),
3136
3217
  R(T, {
3137
3218
  class: "joy-select__chevron",
3138
3219
  name: "chevron-down"
@@ -3141,7 +3222,7 @@ const Le = /* @__PURE__ */ $(go, [["__scopeId", "data-v-5c4f6d7f"]]), ho = ["id"
3141
3222
  ], 512));
3142
3223
  }
3143
3224
  });
3144
- const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["aria-disabled"], $o = ["id", "value", "checked", "disabled", "required", "name"], ko = /* @__PURE__ */ j({
3225
+ const En = /* @__PURE__ */ j(Jn, [["__scopeId", "data-v-24a7acca"]]), Pn = ["aria-disabled"], An = ["id", "value", "checked", "disabled", "required", "name"], zn = /* @__PURE__ */ $({
3145
3226
  __name: "VJoySelectableItem",
3146
3227
  props: {
3147
3228
  disabled: {
@@ -3178,7 +3259,7 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3178
3259
  },
3179
3260
  emits: ["update:checked"],
3180
3261
  setup(e, { emit: l }) {
3181
- const t = e, a = w(t.checked), n = w(), r = w(!1), i = t.multiple ? "div" : "label", o = {
3262
+ const t = e, a = w(t.checked), o = w(), r = w(!1), i = t.multiple ? "div" : "label", n = {
3182
3263
  onRadioChange: () => {
3183
3264
  l("update:checked", t.value);
3184
3265
  },
@@ -3198,7 +3279,7 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3198
3279
  function y(p) {
3199
3280
  l("update:checked", p);
3200
3281
  }
3201
- return (p, f) => (d(), m("div", {
3282
+ return (p, f) => (u(), m("div", {
3202
3283
  class: S([
3203
3284
  "joy-selectable-item__wrapper",
3204
3285
  {
@@ -3207,13 +3288,13 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3207
3288
  ]),
3208
3289
  "aria-disabled": e.disabled,
3209
3290
  onClick: f[4] || (f[4] = //@ts-ignore
3210
- (...u) => o.onClick && o.onClick(...u))
3291
+ (...d) => n.onClick && n.onClick(...d))
3211
3292
  }, [
3212
- e.multiple ? b("", !0) : (d(), m("input", {
3293
+ e.multiple ? h("", !0) : (u(), m("input", {
3213
3294
  key: 0,
3214
3295
  id: e.id,
3215
3296
  ref_key: "inputRadio",
3216
- ref: n,
3297
+ ref: o,
3217
3298
  type: "radio",
3218
3299
  value: e.value,
3219
3300
  checked: e.checked,
@@ -3221,13 +3302,13 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3221
3302
  required: e.required,
3222
3303
  name: e.name,
3223
3304
  onChange: f[0] || (f[0] = //@ts-ignore
3224
- (...u) => o.onRadioChange && o.onRadioChange(...u)),
3305
+ (...d) => n.onRadioChange && n.onRadioChange(...d)),
3225
3306
  onFocus: f[1] || (f[1] = //@ts-ignore
3226
- (...u) => o.onFocus && o.onFocus(...u)),
3307
+ (...d) => n.onFocus && n.onFocus(...d)),
3227
3308
  onBlur: f[2] || (f[2] = //@ts-ignore
3228
- (...u) => o.onBlur && o.onBlur(...u))
3229
- }, null, 40, $o)),
3230
- (d(), x(ne(k(i)), {
3309
+ (...d) => n.onBlur && n.onBlur(...d))
3310
+ }, null, 40, An)),
3311
+ (u(), x(oe(k(i)), {
3231
3312
  for: e.id,
3232
3313
  class: S([
3233
3314
  "joy-selectable-item",
@@ -3238,15 +3319,15 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3238
3319
  "joy-selectable-item--single": !e.multiple
3239
3320
  }
3240
3321
  ]),
3241
- onClick: o.onLabelClick
3322
+ onClick: n.onLabelClick
3242
3323
  }, {
3243
- default: O(() => [
3244
- e.multiple ? (d(), x(k(Ie), {
3324
+ default: B(() => [
3325
+ e.multiple ? (u(), x(k(Ce), {
3245
3326
  key: 0,
3246
3327
  id: e.id,
3247
3328
  checked: a.value,
3248
3329
  "onUpdate:checked": [
3249
- f[3] || (f[3] = (u) => a.value = u),
3330
+ f[3] || (f[3] = (d) => a.value = d),
3250
3331
  y
3251
3332
  ],
3252
3333
  disabled: e.disabled,
@@ -3254,27 +3335,27 @@ const So = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-3e9d2dae"]]), jo = ["ari
3254
3335
  name: e.name,
3255
3336
  "display-focus": !1,
3256
3337
  required: e.required,
3257
- onFocus: o.onFocus,
3258
- onBlur: o.onBlur
3338
+ onFocus: n.onFocus,
3339
+ onBlur: n.onBlur
3259
3340
  }, {
3260
- default: O(() => [
3261
- g(p.$slots, "default", {}, void 0, !0)
3341
+ default: B(() => [
3342
+ b(p.$slots, "default", {}, void 0, !0)
3262
3343
  ]),
3263
3344
  _: 3
3264
- }, 8, ["id", "checked", "disabled", "value", "name", "required", "onFocus", "onBlur"])) : b("", !0),
3265
- e.multiple ? b("", !0) : g(p.$slots, "default", { key: 1 }, void 0, !0),
3345
+ }, 8, ["id", "checked", "disabled", "value", "name", "required", "onFocus", "onBlur"])) : h("", !0),
3346
+ e.multiple ? h("", !0) : b(p.$slots, "default", { key: 1 }, void 0, !0),
3266
3347
  _("div", {
3267
3348
  class: S([{ "joy-selectable-item__sublabel": p.$slots["selectable-item-sublabel"] }])
3268
3349
  }, [
3269
- g(p.$slots, "selectable-item-sublabel", {}, void 0, !0)
3350
+ b(p.$slots, "selectable-item-sublabel", {}, void 0, !0)
3270
3351
  ], 2)
3271
3352
  ]),
3272
3353
  _: 3
3273
3354
  }, 8, ["for", "class", "onClick"]))
3274
- ], 10, jo));
3355
+ ], 10, Pn));
3275
3356
  }
3276
3357
  });
3277
- const yt = /* @__PURE__ */ $(ko, [["__scopeId", "data-v-cb2531c0"]]), Vo = ["id"], xo = /* @__PURE__ */ j({
3358
+ const yt = /* @__PURE__ */ j(zn, [["__scopeId", "data-v-cb2531c0"]]), Fn = ["id"], qn = /* @__PURE__ */ $({
3278
3359
  __name: "VJoySelectableItemGroup",
3279
3360
  props: {
3280
3361
  options: {
@@ -3319,28 +3400,28 @@ const yt = /* @__PURE__ */ $(ko, [["__scopeId", "data-v-cb2531c0"]]), Vo = ["id"
3319
3400
  function a(r) {
3320
3401
  return typeof t.value == "string" ? t.value === r.value : (t.value || []).includes(r.value);
3321
3402
  }
3322
- function n(r, i) {
3403
+ function o(r, i) {
3323
3404
  if (!t.multiple)
3324
3405
  return l("update:value", i);
3325
- let o = [...t.value || []];
3326
- i && typeof i == "boolean" ? o.push(r) : o.splice(o.indexOf(r), 1), l("update:value", o);
3406
+ let n = [...t.value || []];
3407
+ i && typeof i == "boolean" ? n.push(r) : n.splice(n.indexOf(r), 1), l("update:value", n);
3327
3408
  }
3328
- return (r, i) => (d(), m("fieldset", {
3409
+ return (r, i) => (u(), m("fieldset", {
3329
3410
  id: e.id,
3330
3411
  class: "joy-selectable-item-group__wrapper"
3331
3412
  }, [
3332
- e.label ? (d(), x(k(ee), {
3413
+ e.label ? (u(), x(k(ee), {
3333
3414
  key: 0,
3334
3415
  "tag-name": "legend",
3335
3416
  required: e.required && e.requiredMark,
3336
3417
  "optional-label": e.optionalLabel,
3337
3418
  size: e.labelSize
3338
3419
  }, {
3339
- default: O(() => [
3340
- B(C(e.label), 1)
3420
+ default: B(() => [
3421
+ O(C(e.label), 1)
3341
3422
  ]),
3342
3423
  _: 1
3343
- }, 8, ["required", "optional-label", "size"])) : b("", !0),
3424
+ }, 8, ["required", "optional-label", "size"])) : h("", !0),
3344
3425
  _("div", {
3345
3426
  class: S([
3346
3427
  "joy-selectable-item-group",
@@ -3351,34 +3432,34 @@ const yt = /* @__PURE__ */ $(ko, [["__scopeId", "data-v-cb2531c0"]]), Vo = ["id"
3351
3432
  }
3352
3433
  ])
3353
3434
  }, [
3354
- (d(!0), m(D, null, G(e.options, (o) => (d(), x(k(yt), {
3355
- id: o.id,
3356
- key: o.id,
3357
- name: o.name,
3358
- disabled: o.disabled,
3359
- value: o.value,
3435
+ (u(!0), m(D, null, G(e.options, (n) => (u(), x(k(yt), {
3436
+ id: n.id,
3437
+ key: n.id,
3438
+ name: n.name,
3439
+ disabled: n.disabled,
3440
+ value: n.value,
3360
3441
  multiple: e.multiple,
3361
- checked: a(o),
3362
- "onUpdate:checked": (y) => n(o.value, y)
3363
- }, nt({
3364
- default: O(() => [
3365
- B(C(o.label) + " ", 1)
3442
+ checked: a(n),
3443
+ "onUpdate:checked": (y) => o(n.value, y)
3444
+ }, ot({
3445
+ default: B(() => [
3446
+ O(C(n.label) + " ", 1)
3366
3447
  ]),
3367
3448
  _: 2
3368
3449
  }, [
3369
- o.subLabel ? {
3450
+ n.subLabel ? {
3370
3451
  name: "selectable-item-sublabel",
3371
- fn: O(() => [
3372
- B(C(o.subLabel), 1)
3452
+ fn: B(() => [
3453
+ O(C(n.subLabel), 1)
3373
3454
  ]),
3374
3455
  key: "0"
3375
3456
  } : void 0
3376
3457
  ]), 1032, ["id", "name", "disabled", "value", "multiple", "checked", "onUpdate:checked"]))), 128))
3377
3458
  ], 2)
3378
- ], 8, Vo));
3459
+ ], 8, Fn));
3379
3460
  }
3380
3461
  });
3381
- const Io = /* @__PURE__ */ $(xo, [["__scopeId", "data-v-0730aed0"]]), Co = /* @__PURE__ */ j({
3462
+ const Mn = /* @__PURE__ */ j(qn, [["__scopeId", "data-v-b0fd1c74"]]), Nn = /* @__PURE__ */ $({
3382
3463
  __name: "VJoySeparator",
3383
3464
  props: {
3384
3465
  /** Main text to apply in the central area */
@@ -3391,17 +3472,17 @@ const Io = /* @__PURE__ */ $(xo, [["__scopeId", "data-v-0730aed0"]]), Co = /* @_
3391
3472
  }
3392
3473
  },
3393
3474
  setup(e) {
3394
- return (l, t) => (d(), m("div", {
3475
+ return (l, t) => (u(), m("div", {
3395
3476
  class: S(["joy-separator", { "joy-separator__small": e.size === "small" }])
3396
3477
  }, [
3397
3478
  _("span", null, C(e.text), 1)
3398
3479
  ], 2));
3399
3480
  }
3400
3481
  });
3401
- const Lo = /* @__PURE__ */ $(Co, [["__scopeId", "data-v-d83b1859"]]), Bo = ["id", "href", "aria-selected", "aria-controls"], Oo = {
3482
+ const Rn = /* @__PURE__ */ j(Nn, [["__scopeId", "data-v-21db2899"]]), Dn = ["id", "href", "aria-selected", "aria-controls"], Hn = {
3402
3483
  type: "button",
3403
3484
  tabindex: "-1"
3404
- }, To = /* @__PURE__ */ j({
3485
+ }, Wn = /* @__PURE__ */ $({
3405
3486
  __name: "TabButton",
3406
3487
  props: {
3407
3488
  /**
@@ -3438,10 +3519,10 @@ const Lo = /* @__PURE__ */ $(Co, [["__scopeId", "data-v-d83b1859"]]), Bo = ["id"
3438
3519
  function t() {
3439
3520
  l("changeTab");
3440
3521
  }
3441
- function a(n) {
3442
- (n.code === "Enter" || n.code === "NumpadEnter") && l("changeTab");
3522
+ function a(o) {
3523
+ (o.code === "Enter" || o.code === "NumpadEnter") && l("changeTab");
3443
3524
  }
3444
- return (n, r) => (d(), m("a", {
3525
+ return (o, r) => (u(), m("a", {
3445
3526
  id: `joy-tab-${e.tab}`,
3446
3527
  href: e.href,
3447
3528
  "aria-selected": e.selected ? "true" : "false",
@@ -3458,18 +3539,18 @@ const Lo = /* @__PURE__ */ $(Co, [["__scopeId", "data-v-d83b1859"]]), Bo = ["id"
3458
3539
  "joy-tab-button__selected": e.selected
3459
3540
  })
3460
3541
  }, [
3461
- _("button", Oo, [
3542
+ _("button", Hn, [
3462
3543
  _("div", null, [
3463
- g(n.$slots, "default", {}, () => [
3464
- B(C(e.label), 1)
3544
+ b(o.$slots, "default", {}, () => [
3545
+ O(C(e.label), 1)
3465
3546
  ], !0)
3466
3547
  ])
3467
3548
  ])
3468
3549
  ], 2)
3469
- ], 40, Bo));
3550
+ ], 40, Dn));
3470
3551
  }
3471
3552
  });
3472
- const Jo = /* @__PURE__ */ $(To, [["__scopeId", "data-v-b1e62ec8"]]), Eo = { class: "joy-tabs" }, Po = /* @__PURE__ */ j({
3553
+ const Un = /* @__PURE__ */ j(Wn, [["__scopeId", "data-v-b1e62ec8"]]), Gn = { class: "joy-tabs" }, Kn = /* @__PURE__ */ $({
3473
3554
  __name: "VJoyTabs",
3474
3555
  props: {
3475
3556
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -3479,19 +3560,19 @@ const Jo = /* @__PURE__ */ $(To, [["__scopeId", "data-v-b1e62ec8"]]), Eo = { cla
3479
3560
  },
3480
3561
  emits: ["update:selected-tab"],
3481
3562
  setup(e, { emit: l }) {
3482
- const t = e, a = Y(), n = w(t.selectedTab), r = w(null), i = w(null), o = w(!1), y = w(!1), p = V(() => a.default().filter(f));
3563
+ const t = e, a = K(), o = w(t.selectedTab), r = w(null), i = w(null), n = w(!1), y = w(!1), p = V(() => a.default().filter(f));
3483
3564
  function f(v) {
3484
- var h;
3485
- return ((h = v == null ? void 0 : v.type) == null ? void 0 : h.__name) === "VJoyTab";
3565
+ var g;
3566
+ return ((g = v == null ? void 0 : v.type) == null ? void 0 : g.__name) === "VJoyTab";
3486
3567
  }
3487
- function u(v) {
3488
- return v.props.tab === n.value;
3568
+ function d(v) {
3569
+ return v.props.tab === o.value;
3489
3570
  }
3490
3571
  function c() {
3491
- i.value && r.value && i.value.scrollWidth > r.value.offsetWidth ? (y.value = i.value.scrollLeft > 0, o.value = i.value.scrollLeft + r.value.offsetWidth < i.value.scrollWidth) : (y.value = !1, o.value = !1);
3572
+ i.value && r.value && i.value.scrollWidth > r.value.offsetWidth ? (y.value = i.value.scrollLeft > 0, n.value = i.value.scrollLeft + r.value.offsetWidth < i.value.scrollWidth) : (y.value = !1, n.value = !1);
3492
3573
  }
3493
- function s(v, h = !0) {
3494
- v && h && (n.value = v, $e("VJoyTabs", n), l("update:selected-tab", v));
3574
+ function s(v, g = !0) {
3575
+ v && g && (o.value = v, ke("VJoyTabs", o), l("update:selected-tab", v));
3495
3576
  }
3496
3577
  return E(
3497
3578
  () => t.selectedTab,
@@ -3499,19 +3580,19 @@ const Jo = /* @__PURE__ */ $(To, [["__scopeId", "data-v-b1e62ec8"]]), Eo = { cla
3499
3580
  v && s(v);
3500
3581
  },
3501
3582
  { immediate: !0 }
3502
- ), Q(() => {
3583
+ ), Y(() => {
3503
3584
  var v;
3504
3585
  c(), (v = i.value) == null || v.addEventListener("scroll", c);
3505
3586
  }), je(() => {
3506
3587
  var v;
3507
3588
  (v = i.value) == null || v.removeEventListener("scroll", c);
3508
- }), (v, h) => (d(), m("div", Eo, [
3589
+ }), (v, g) => (u(), m("div", Gn, [
3509
3590
  _("div", {
3510
3591
  ref_key: "buttonListWrapper",
3511
3592
  ref: r,
3512
3593
  class: S({
3513
3594
  "joy-tabs-buttons__wrapper": !0,
3514
- "joy-tabs-buttons__wrapper--scroll-end": o.value,
3595
+ "joy-tabs-buttons__wrapper--scroll-end": n.value,
3515
3596
  "joy-tabs-buttons__wrapper--scroll-start": y.value
3516
3597
  })
3517
3598
  }, [
@@ -3521,20 +3602,20 @@ const Jo = /* @__PURE__ */ $(To, [["__scopeId", "data-v-b1e62ec8"]]), Eo = { cla
3521
3602
  class: "joy-tabs-buttons",
3522
3603
  role: "tablist"
3523
3604
  }, [
3524
- (d(!0), m(D, null, G(p.value, (I) => (d(), m("div", {
3605
+ (u(!0), m(D, null, G(p.value, (I) => (u(), m("div", {
3525
3606
  key: I.props.tab
3526
3607
  }, [
3527
- R(Jo, {
3608
+ R(Un, {
3528
3609
  tab: I.props.tab,
3529
3610
  label: I.props.label,
3530
3611
  href: I.props.href,
3531
- selected: u(I),
3612
+ selected: d(I),
3532
3613
  onChangeTab: (J) => s(I.props.tab, !I.props.href)
3533
3614
  }, {
3534
- default: O(() => {
3615
+ default: B(() => {
3535
3616
  var J;
3536
3617
  return [
3537
- (J = I.children) != null && J.header ? (d(), x(ne(I.children.header), { key: 0 })) : b("", !0)
3618
+ (J = I.children) != null && J.header ? (u(), x(oe(I.children.header), { key: 0 })) : h("", !0)
3538
3619
  ];
3539
3620
  }),
3540
3621
  _: 2
@@ -3543,12 +3624,12 @@ const Jo = /* @__PURE__ */ $(To, [["__scopeId", "data-v-b1e62ec8"]]), Eo = { cla
3543
3624
  ], 512)
3544
3625
  ], 2),
3545
3626
  _("div", null, [
3546
- g(v.$slots, "default", {}, void 0, !0)
3627
+ b(v.$slots, "default", {}, void 0, !0)
3547
3628
  ])
3548
3629
  ]));
3549
3630
  }
3550
3631
  });
3551
- const Ao = /* @__PURE__ */ $(Po, [["__scopeId", "data-v-e3dffafe"]]), zo = ["id", "aria-hidden", "aria-labelledby"], qo = /* @__PURE__ */ j({
3632
+ const Zn = /* @__PURE__ */ j(Kn, [["__scopeId", "data-v-e3dffafe"]]), Qn = ["id", "aria-hidden", "aria-labelledby"], Yn = /* @__PURE__ */ $({
3552
3633
  __name: "VJoyTab",
3553
3634
  props: {
3554
3635
  /**
@@ -3576,7 +3657,7 @@ const Ao = /* @__PURE__ */ $(Po, [["__scopeId", "data-v-e3dffafe"]]), zo = ["id"
3576
3657
  },
3577
3658
  setup(e) {
3578
3659
  const l = e, t = de("VJoyTabs", w("")), a = V(() => t.value === l.tab);
3579
- return (n, r) => (d(), m("div", {
3660
+ return (o, r) => (u(), m("div", {
3580
3661
  id: `joy-tab-${e.tab}`,
3581
3662
  role: "tabpanel",
3582
3663
  "aria-hidden": a.value ? void 0 : "true",
@@ -3586,11 +3667,11 @@ const Ao = /* @__PURE__ */ $(Po, [["__scopeId", "data-v-e3dffafe"]]), zo = ["id"
3586
3667
  "joy-tab__selected": a.value
3587
3668
  })
3588
3669
  }, [
3589
- g(n.$slots, "default", {}, void 0, !0)
3590
- ], 10, zo));
3670
+ b(o.$slots, "default", {}, void 0, !0)
3671
+ ], 10, Qn));
3591
3672
  }
3592
3673
  });
3593
- const Fo = /* @__PURE__ */ $(qo, [["__scopeId", "data-v-47a75127"]]), Mo = ["role"], No = /* @__PURE__ */ j({
3674
+ const Xn = /* @__PURE__ */ j(Yn, [["__scopeId", "data-v-47a75127"]]), er = ["role"], tr = /* @__PURE__ */ $({
3594
3675
  __name: "VJoyTag",
3595
3676
  props: {
3596
3677
  /** Text injected within the tag */
@@ -3629,7 +3710,7 @@ const Fo = /* @__PURE__ */ $(qo, [["__scopeId", "data-v-47a75127"]]), Mo = ["rol
3629
3710
  },
3630
3711
  emits: ["selected", "remove", "click"],
3631
3712
  setup(e, { emit: l }) {
3632
- const t = e, a = ["primary", "secondary"], n = V(() => ({
3713
+ const t = e, a = ["primary", "secondary"], o = V(() => ({
3633
3714
  "joy-tag": !0,
3634
3715
  "joy-tag__selected": t.selected,
3635
3716
  "joy-tag__selectable": t.selectable || t.link,
@@ -3643,29 +3724,29 @@ const Fo = /* @__PURE__ */ $(qo, [["__scopeId", "data-v-47a75127"]]), Mo = ["rol
3643
3724
  function i() {
3644
3725
  l("click"), t.selectable && a.includes(t.variant) && l("selected", { selected: !t.selected, value: t.value });
3645
3726
  }
3646
- return (o, y) => (d(), m("span", {
3647
- class: S([n.value]),
3727
+ return (n, y) => (u(), m("span", {
3728
+ class: S([o.value]),
3648
3729
  role: e.link || e.selectable ? "button" : void 0,
3649
3730
  onClick: i
3650
3731
  }, [
3651
- e.draggable ? (d(), x(T, {
3732
+ e.draggable ? (u(), x(T, {
3652
3733
  key: 0,
3653
3734
  class: "joy-tag__drag",
3654
3735
  name: "drag",
3655
3736
  size: "xxsmall"
3656
- })) : b("", !0),
3657
- B(" " + C(e.label) + " ", 1),
3658
- e.removable ? (d(), x(T, {
3737
+ })) : h("", !0),
3738
+ O(" " + C(e.label) + " ", 1),
3739
+ e.removable ? (u(), x(T, {
3659
3740
  key: 1,
3660
3741
  class: "joy-tag__removable",
3661
3742
  name: "cross",
3662
3743
  size: "xxsmall",
3663
- onClick: $t(r, ["stop"])
3664
- }, null, 8, ["onClick"])) : b("", !0)
3665
- ], 10, Mo));
3744
+ onClick: jt(r, ["stop"])
3745
+ }, null, 8, ["onClick"])) : h("", !0)
3746
+ ], 10, er));
3666
3747
  }
3667
3748
  });
3668
- const vt = /* @__PURE__ */ $(No, [["__scopeId", "data-v-01b9f7cc"]]), Ro = /* @__PURE__ */ j({
3749
+ const vt = /* @__PURE__ */ j(tr, [["__scopeId", "data-v-251410a4"]]), lr = /* @__PURE__ */ $({
3669
3750
  __name: "VJoyTagsList",
3670
3751
  props: {
3671
3752
  align: {
@@ -3692,62 +3773,62 @@ const vt = /* @__PURE__ */ $(No, [["__scopeId", "data-v-01b9f7cc"]]), Ro = /* @_
3692
3773
  setup(e, { emit: l }) {
3693
3774
  const t = e;
3694
3775
  function a(i) {
3695
- var o;
3696
- return t.removable ? !1 : (o = t.modelValue) == null ? void 0 : o.includes(i.value);
3776
+ var n;
3777
+ return t.removable ? !1 : (n = t.modelValue) == null ? void 0 : n.includes(i.value);
3697
3778
  }
3698
- function n(i, o) {
3779
+ function o(i, n) {
3699
3780
  let y = [];
3700
- i.selected && !a(o) ? y = [...t.modelValue || [], o.value] : y = (t.modelValue || []).filter((p) => p !== o.value), l("update:modelValue", y);
3781
+ i.selected && !a(n) ? y = [...t.modelValue || [], n.value] : y = (t.modelValue || []).filter((p) => p !== n.value), l("update:modelValue", y);
3701
3782
  }
3702
3783
  function r(i) {
3703
3784
  l("removeTag", i.value);
3704
3785
  }
3705
- return (i, o) => (d(), m("div", {
3786
+ return (i, n) => (u(), m("div", {
3706
3787
  class: S(["joy-tags-list", `joy-tags-list--${e.align}`])
3707
3788
  }, [
3708
- (d(!0), m(D, null, G(e.tags, (y) => (d(), x(k(vt), Z({
3789
+ (u(!0), m(D, null, G(e.tags, (y) => (u(), x(k(vt), Q({
3709
3790
  key: y.value,
3710
3791
  selectable: !!e.modelValue && !e.removable
3711
3792
  }, y, {
3712
3793
  removable: e.removable,
3713
3794
  selected: a(y),
3714
3795
  onRemove: r,
3715
- onSelected: (p) => n(p, y)
3796
+ onSelected: (p) => o(p, y)
3716
3797
  }), null, 16, ["selectable", "removable", "selected", "onSelected"]))), 128))
3717
3798
  ], 2));
3718
3799
  }
3719
3800
  });
3720
- const Do = /* @__PURE__ */ $(Ro, [["__scopeId", "data-v-510c6367"]]);
3721
- const Ho = {}, Wo = {
3801
+ const ar = /* @__PURE__ */ j(lr, [["__scopeId", "data-v-0b725ef6"]]);
3802
+ const or = {}, nr = {
3722
3803
  class: /* @__PURE__ */ S(["joy-template-shape__shapes"])
3723
- }, Uo = /* @__PURE__ */ lt('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), Go = [
3724
- Uo
3804
+ }, rr = /* @__PURE__ */ Se('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), ir = [
3805
+ rr
3725
3806
  ];
3726
- function Ko(e, l) {
3727
- return d(), m("div", Wo, Go);
3807
+ function sr(e, l) {
3808
+ return u(), m("div", nr, ir);
3728
3809
  }
3729
- const pt = /* @__PURE__ */ $(Ho, [["render", Ko], ["__scopeId", "data-v-8b258f92"]]), Zo = { class: "joy-template__wrapper" }, Qo = {
3810
+ const pt = /* @__PURE__ */ j(or, [["render", sr], ["__scopeId", "data-v-8b258f92"]]), ur = { class: "joy-template__wrapper" }, dr = {
3730
3811
  key: 0,
3731
3812
  class: "joy-template__heading"
3732
- }, Yo = {
3813
+ }, cr = {
3733
3814
  key: 0,
3734
3815
  class: "joy-template-slot-back"
3735
- }, Xo = { class: "joy-template__heading___headings" }, er = {
3816
+ }, fr = { class: "joy-template__heading___headings" }, yr = {
3736
3817
  key: 0,
3737
3818
  class: "joy-template-slot-title"
3738
- }, tr = {
3819
+ }, vr = {
3739
3820
  key: 1,
3740
3821
  class: "joy-template-slot-subtitle"
3741
- }, lr = {
3822
+ }, pr = {
3742
3823
  key: 1,
3743
3824
  class: "joy-template-slot-actions"
3744
- }, ar = {
3825
+ }, mr = {
3745
3826
  key: 0,
3746
3827
  class: "joy-template-slot-main"
3747
- }, nr = {
3828
+ }, _r = {
3748
3829
  key: 1,
3749
3830
  class: "joy-template-slot-sidebar"
3750
- }, or = /* @__PURE__ */ j({
3831
+ }, br = /* @__PURE__ */ $({
3751
3832
  __name: "VJoyTemplate",
3752
3833
  props: {
3753
3834
  full: { type: Boolean, default: !1 },
@@ -3766,28 +3847,28 @@ const pt = /* @__PURE__ */ $(Ho, [["render", Ko], ["__scopeId", "data-v-8b258f92
3766
3847
  }
3767
3848
  },
3768
3849
  setup(e) {
3769
- const l = e, t = Y(), a = V(() => !!t["template-back"] || !!t["template-title"] || !!t["template-subtitle"] || !!t["template-actions"]);
3770
- return (n, r) => (d(), m("main", {
3850
+ const l = e, t = K(), a = V(() => !!t["template-back"] || !!t["template-title"] || !!t["template-subtitle"] || !!t["template-actions"]);
3851
+ return (o, r) => (u(), m("main", {
3771
3852
  class: S(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
3772
3853
  }, [
3773
- e.shapes ? (d(), x(pt, { key: 0 })) : b("", !0),
3774
- _("div", Zo, [
3775
- a.value ? (d(), m("div", Qo, [
3776
- k(t)["template-back"] ? (d(), m("div", Yo, [
3777
- g(n.$slots, "template-back", {}, void 0, !0)
3778
- ])) : b("", !0),
3779
- _("div", Xo, [
3780
- k(t)["template-title"] ? (d(), m("div", er, [
3781
- g(n.$slots, "template-title", {}, void 0, !0)
3782
- ])) : b("", !0),
3783
- k(t)["template-subtitle"] ? (d(), m("div", tr, [
3784
- g(n.$slots, "template-subtitle", {}, void 0, !0)
3785
- ])) : b("", !0)
3854
+ e.shapes ? (u(), x(pt, { key: 0 })) : h("", !0),
3855
+ _("div", ur, [
3856
+ a.value ? (u(), m("div", dr, [
3857
+ k(t)["template-back"] ? (u(), m("div", cr, [
3858
+ b(o.$slots, "template-back", {}, void 0, !0)
3859
+ ])) : h("", !0),
3860
+ _("div", fr, [
3861
+ k(t)["template-title"] ? (u(), m("div", yr, [
3862
+ b(o.$slots, "template-title", {}, void 0, !0)
3863
+ ])) : h("", !0),
3864
+ k(t)["template-subtitle"] ? (u(), m("div", vr, [
3865
+ b(o.$slots, "template-subtitle", {}, void 0, !0)
3866
+ ])) : h("", !0)
3786
3867
  ]),
3787
- k(t)["template-actions"] ? (d(), m("div", lr, [
3788
- g(n.$slots, "template-actions", {}, void 0, !0)
3789
- ])) : b("", !0)
3790
- ])) : b("", !0),
3868
+ k(t)["template-actions"] ? (u(), m("div", pr, [
3869
+ b(o.$slots, "template-actions", {}, void 0, !0)
3870
+ ])) : h("", !0)
3871
+ ])) : h("", !0),
3791
3872
  _("div", {
3792
3873
  class: S([
3793
3874
  "joy-template__content",
@@ -3796,34 +3877,34 @@ const pt = /* @__PURE__ */ $(Ho, [["render", Ko], ["__scopeId", "data-v-8b258f92
3796
3877
  }
3797
3878
  ])
3798
3879
  }, [
3799
- n.$slots["template-main"] ? (d(), m("div", ar, [
3800
- g(n.$slots, "template-main", {}, void 0, !0)
3801
- ])) : b("", !0),
3802
- n.$slots["template-sidebar"] ? (d(), m("div", nr, [
3803
- g(n.$slots, "template-sidebar", {}, void 0, !0)
3804
- ])) : b("", !0)
3880
+ o.$slots["template-main"] ? (u(), m("div", mr, [
3881
+ b(o.$slots, "template-main", {}, void 0, !0)
3882
+ ])) : h("", !0),
3883
+ o.$slots["template-sidebar"] ? (u(), m("div", _r, [
3884
+ b(o.$slots, "template-sidebar", {}, void 0, !0)
3885
+ ])) : h("", !0)
3805
3886
  ], 2)
3806
3887
  ]),
3807
- e.loading ? (d(), x(Le, {
3888
+ e.loading ? (u(), x(Oe, {
3808
3889
  key: 1,
3809
3890
  overlay: "",
3810
3891
  color: e.loadingColor
3811
3892
  }, {
3812
- content: O(() => [
3813
- g(n.$slots, "template-loader-content", {}, void 0, !0)
3893
+ content: B(() => [
3894
+ b(o.$slots, "template-loader-content", {}, void 0, !0)
3814
3895
  ]),
3815
3896
  _: 3
3816
- }, 8, ["color"])) : b("", !0)
3897
+ }, 8, ["color"])) : h("", !0)
3817
3898
  ], 2));
3818
3899
  }
3819
3900
  });
3820
- const rr = /* @__PURE__ */ $(or, [["__scopeId", "data-v-750153b6"]]), ir = ["aria-disabled"], sr = { class: "joy-textarea_wrapper" }, ur = ["id", "disabled", "name", "required", "minlength", "value"], dr = {
3901
+ const hr = /* @__PURE__ */ j(br, [["__scopeId", "data-v-7c83eb21"]]), gr = ["aria-disabled"], wr = { class: "joy-textarea_wrapper" }, Sr = ["id", "disabled", "name", "required", "minlength", "value"], $r = {
3821
3902
  key: 0,
3822
3903
  class: "joy-textarea_helpers"
3823
- }, cr = {
3904
+ }, jr = {
3824
3905
  inheritAttrs: !1
3825
- }, fr = /* @__PURE__ */ j({
3826
- ...cr,
3906
+ }, kr = /* @__PURE__ */ $({
3907
+ ...jr,
3827
3908
  __name: "VJoyTextarea",
3828
3909
  props: {
3829
3910
  disabled: {
@@ -3877,27 +3958,27 @@ const rr = /* @__PURE__ */ $(or, [["__scopeId", "data-v-750153b6"]]), ir = ["ari
3877
3958
  },
3878
3959
  emits: ["update:modelValue"],
3879
3960
  setup(e, { expose: l, emit: t }) {
3880
- const a = e, n = w(), { triggerResize: r } = na({
3881
- element: a.autogrow ? n : void 0
3882
- }), i = w(!1), o = w(!1), y = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), p = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), f = {
3883
- onInput: (u) => {
3884
- a.modelModifiers.lazy || t("update:modelValue", u.target.value), r();
3961
+ const a = e, o = w(), { triggerResize: r } = oa({
3962
+ element: a.autogrow ? o : void 0
3963
+ }), i = w(!1), n = w(!1), y = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), p = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), f = {
3964
+ onInput: (d) => {
3965
+ a.modelModifiers.lazy || t("update:modelValue", d.target.value), r();
3885
3966
  },
3886
- onChange: (u) => {
3887
- a.modelModifiers.lazy && t("update:modelValue", u.target.value);
3967
+ onChange: (d) => {
3968
+ a.modelModifiers.lazy && t("update:modelValue", d.target.value);
3888
3969
  },
3889
3970
  onBlur: () => {
3890
- o.value = !1, i.value = y.value || p.value;
3971
+ n.value = !1, i.value = y.value || p.value;
3891
3972
  },
3892
3973
  onFocus: () => {
3893
- o.value = !0;
3974
+ n.value = !0;
3894
3975
  }
3895
3976
  };
3896
3977
  return l({
3897
3978
  isInvalid: i,
3898
3979
  valueOverMaxlength: y,
3899
3980
  valueUnderMinlength: p
3900
- }), (u, c) => (d(), m("div", {
3981
+ }), (d, c) => (u(), m("div", {
3901
3982
  "aria-disabled": e.disabled,
3902
3983
  class: S([
3903
3984
  "joy-textarea",
@@ -3905,7 +3986,7 @@ const rr = /* @__PURE__ */ $(or, [["__scopeId", "data-v-750153b6"]]), ir = ["ari
3905
3986
  "joy-textarea_invalid": i.value || e.invalid,
3906
3987
  "joy-textarea_disabled": e.disabled,
3907
3988
  "joy-textarea_autogrow": e.autogrow,
3908
- "joy-textarea_focusing": o.value
3989
+ "joy-textarea_focusing": n.value
3909
3990
  }
3910
3991
  ])
3911
3992
  }, [
@@ -3915,18 +3996,18 @@ const rr = /* @__PURE__ */ $(or, [["__scopeId", "data-v-750153b6"]]), ir = ["ari
3915
3996
  "optional-label": e.optionalLabel,
3916
3997
  size: e.labelSize
3917
3998
  }, {
3918
- default: O(() => [
3919
- g(u.$slots, "default", {}, () => [
3920
- B(C(e.label), 1)
3999
+ default: B(() => [
4000
+ b(d.$slots, "default", {}, () => [
4001
+ O(C(e.label), 1)
3921
4002
  ], !0)
3922
4003
  ]),
3923
4004
  _: 3
3924
4005
  }, 8, ["for", "required", "optional-label", "size"]),
3925
- _("div", sr, [
3926
- _("textarea", Z(u.$attrs, {
4006
+ _("div", wr, [
4007
+ _("textarea", Q(d.$attrs, {
3927
4008
  id: e.id,
3928
4009
  ref_key: "textarea",
3929
- ref: n,
4010
+ ref: o,
3930
4011
  class: "joy-native-textarea",
3931
4012
  disabled: e.disabled,
3932
4013
  name: e.name,
@@ -3941,30 +4022,30 @@ const rr = /* @__PURE__ */ $(or, [["__scopeId", "data-v-750153b6"]]), ir = ["ari
3941
4022
  (...s) => f.onFocus && f.onFocus(...s)),
3942
4023
  onBlur: c[3] || (c[3] = //@ts-ignore
3943
4024
  (...s) => f.onBlur && f.onBlur(...s))
3944
- }), null, 16, ur)
4025
+ }), null, 16, Sr)
3945
4026
  ]),
3946
- e.minlength || e.maxlength ? (d(), m("div", dr, [
3947
- e.minlength ? (d(), m("p", {
4027
+ e.minlength || e.maxlength ? (u(), m("div", $r, [
4028
+ e.minlength ? (u(), m("p", {
3948
4029
  key: 0,
3949
4030
  class: S(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
3950
4031
  }, [
3951
- p.value ? b("", !0) : (d(), x(T, {
4032
+ p.value ? h("", !0) : (u(), x(T, {
3952
4033
  key: 0,
3953
4034
  name: "check",
3954
4035
  color: "neutral",
3955
4036
  size: "xxsmall"
3956
4037
  })),
3957
- B(" " + C(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
3958
- ], 2)) : b("", !0),
3959
- e.maxlength ? (d(), m("p", {
4038
+ O(" " + C(e.minlengthLabel || `Minimum ${e.minlength} characters`), 1)
4039
+ ], 2)) : h("", !0),
4040
+ e.maxlength ? (u(), m("p", {
3960
4041
  key: 1,
3961
4042
  class: S(["joy-textarea-count", { "joy-textarea-count-invalid": y.value }])
3962
- }, C(e.modelValue.length + "/" + e.maxlength), 3)) : b("", !0)
3963
- ])) : b("", !0)
3964
- ], 10, ir));
4043
+ }, C(e.modelValue.length + "/" + e.maxlength), 3)) : h("", !0)
4044
+ ])) : h("", !0)
4045
+ ], 10, gr));
3965
4046
  }
3966
4047
  });
3967
- const yr = /* @__PURE__ */ $(fr, [["__scopeId", "data-v-1d2165ca"]]), mt = (e) => (he("data-v-cf79d999"), e = e(), we(), e), vr = { class: "joy-toggle__wrapper" }, pr = ["name", "disabled", "checked", "required", "aria-checked", "value"], mr = { class: "joy-toggle__content" }, _r = /* @__PURE__ */ mt(() => /* @__PURE__ */ _("span", { class: "joy-toggle__symbol" }, null, -1)), br = { class: "joy-toggle__content-label" }, gr = /* @__PURE__ */ mt(() => /* @__PURE__ */ _("span", { class: "joy-toggle__smile" }, [
4048
+ const Vr = /* @__PURE__ */ j(kr, [["__scopeId", "data-v-de43ee01"]]), mt = (e) => (ge("data-v-cf79d999"), e = e(), we(), e), xr = { class: "joy-toggle__wrapper" }, Ir = ["name", "disabled", "checked", "required", "aria-checked", "value"], Cr = { class: "joy-toggle__content" }, Lr = /* @__PURE__ */ mt(() => /* @__PURE__ */ _("span", { class: "joy-toggle__symbol" }, null, -1)), Or = { class: "joy-toggle__content-label" }, Br = /* @__PURE__ */ mt(() => /* @__PURE__ */ _("span", { class: "joy-toggle__smile" }, [
3968
4049
  /* @__PURE__ */ _("svg", {
3969
4050
  width: "18",
3970
4051
  height: "10",
@@ -3977,7 +4058,7 @@ const yr = /* @__PURE__ */ $(fr, [["__scopeId", "data-v-1d2165ca"]]), mt = (e) =
3977
4058
  fill: "currentColor"
3978
4059
  })
3979
4060
  ])
3980
- ], -1)), hr = /* @__PURE__ */ j({
4061
+ ], -1)), Tr = /* @__PURE__ */ $({
3981
4062
  __name: "VJoyToggle",
3982
4063
  props: {
3983
4064
  modelValue: {
@@ -4012,8 +4093,8 @@ const yr = /* @__PURE__ */ $(fr, [["__scopeId", "data-v-1d2165ca"]]), mt = (e) =
4012
4093
  emits: ["update:modelValue"],
4013
4094
  setup(e, { emit: l }) {
4014
4095
  const t = w(!1), a = {
4015
- onChange: (n) => {
4016
- const r = n.target.checked;
4096
+ onChange: (o) => {
4097
+ const r = o.target.checked;
4017
4098
  l("update:modelValue", r);
4018
4099
  },
4019
4100
  onFocus: () => {
@@ -4023,7 +4104,7 @@ const yr = /* @__PURE__ */ $(fr, [["__scopeId", "data-v-1d2165ca"]]), mt = (e) =
4023
4104
  t.value = !1;
4024
4105
  }
4025
4106
  };
4026
- return (n, r) => (d(), m("div", vr, [
4107
+ return (o, r) => (u(), m("div", xr, [
4027
4108
  _("label", {
4028
4109
  class: S([
4029
4110
  "joy-toggle",
@@ -4051,21 +4132,21 @@ const yr = /* @__PURE__ */ $(fr, [["__scopeId", "data-v-1d2165ca"]]), mt = (e) =
4051
4132
  (...i) => a.onFocus && a.onFocus(...i)),
4052
4133
  onBlur: r[2] || (r[2] = //@ts-ignore
4053
4134
  (...i) => a.onBlur && a.onBlur(...i))
4054
- }, null, 40, pr),
4055
- _("p", mr, [
4056
- _r,
4057
- _("span", br, [
4058
- g(n.$slots, "default", {}, () => [
4059
- B(C(e.label), 1)
4135
+ }, null, 40, Ir),
4136
+ _("p", Cr, [
4137
+ Lr,
4138
+ _("span", Or, [
4139
+ b(o.$slots, "default", {}, () => [
4140
+ O(C(e.label), 1)
4060
4141
  ], !0)
4061
4142
  ]),
4062
- gr
4143
+ Br
4063
4144
  ])
4064
4145
  ], 2)
4065
4146
  ]));
4066
4147
  }
4067
4148
  });
4068
- const wr = /* @__PURE__ */ $(hr, [["__scopeId", "data-v-cf79d999"]]), Sr = /* @__PURE__ */ j({
4149
+ const Jr = /* @__PURE__ */ j(Tr, [["__scopeId", "data-v-cf79d999"]]), Er = /* @__PURE__ */ $({
4069
4150
  __name: "VJoyWrapper",
4070
4151
  props: {
4071
4152
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -4109,7 +4190,7 @@ const wr = /* @__PURE__ */ $(hr, [["__scopeId", "data-v-cf79d999"]]), Sr = /* @_
4109
4190
  }
4110
4191
  },
4111
4192
  setup(e) {
4112
- return $e("VJoyWrapperContext", e), (t, a) => (d(), m("div", {
4193
+ return ke("VJoyWrapperContext", e), (t, a) => (u(), m("div", {
4113
4194
  class: S([
4114
4195
  "joy-wrapper",
4115
4196
  `joy-wrapper--justify-${e.justify}`,
@@ -4122,131 +4203,135 @@ const wr = /* @__PURE__ */ $(hr, [["__scopeId", "data-v-cf79d999"]]), Sr = /* @_
4122
4203
  { "joy-wrapper--has-margin": !e.noMargin }
4123
4204
  ])
4124
4205
  }, [
4125
- g(t.$slots, "default", {}, void 0, !0)
4206
+ b(t.$slots, "default", {}, void 0, !0)
4126
4207
  ], 2));
4127
4208
  }
4128
4209
  });
4129
- const jr = /* @__PURE__ */ $(Sr, [["__scopeId", "data-v-8a6c4326"]]), $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4210
+ const Pr = /* @__PURE__ */ j(Er, [["__scopeId", "data-v-68d89412"]]), Ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4130
4211
  __proto__: null,
4131
4212
  VJoyAvailability: xt,
4132
4213
  VJoyAvatar: Pt,
4133
4214
  VJoyAvatarsList: zt,
4134
4215
  VJoyBadge: Mt,
4135
4216
  VJoyBadgeLevel: cl,
4136
- VJoyButton: xe,
4137
- VJoyCheckbox: Ie,
4217
+ VJoyButton: Ie,
4218
+ VJoyCheckbox: Ce,
4138
4219
  VJoyCompanyAvatar: Ll,
4139
- VJoyCounter: ql,
4220
+ VJoyCounter: Fl,
4140
4221
  VJoyDividerCta: Hl,
4141
4222
  VJoyDropdown: Wa,
4142
4223
  VJoyDropdownList: ct,
4143
4224
  VJoyFilterBar: Za,
4144
4225
  VJoyFilterBarButton: Ya,
4226
+ VJoyFooter: io,
4145
4227
  VJoyFormError: ft,
4146
- VJoyFormFieldSkeleton: ln,
4147
- VJoyHighlight: sn,
4228
+ VJoyFormFieldSkeleton: lo,
4229
+ VJoyFunnel: mo,
4230
+ VJoyHighlight: wo,
4148
4231
  VJoyIcon: T,
4149
- VJoyInput: _n,
4232
+ VJoyInput: Lo,
4150
4233
  VJoyLabel: ee,
4151
- VJoyLink: wn,
4152
- VJoyMenu: Vn,
4153
- VJoyMultiCheckbox: Ln,
4154
- VJoyPagination: An,
4155
- VJoyPanel: Wn,
4156
- VJoyPanelSection: Qn,
4157
- VJoyProgressBar: eo,
4158
- VJoyRadio: ro,
4159
- VJoyRadioGroup: uo,
4160
- VJoyRatingStars: mo,
4161
- VJoyScreenLoader: Le,
4162
- VJoySelect: So,
4234
+ VJoyLink: Jo,
4235
+ VJoyMenu: Fo,
4236
+ VJoyMultiCheckbox: Ro,
4237
+ VJoyPagination: Zo,
4238
+ VJoyPanel: nn,
4239
+ VJoyPanelSection: cn,
4240
+ VJoyProgressBar: vn,
4241
+ VJoyRadio: gn,
4242
+ VJoyRadioGroup: $n,
4243
+ VJoyRatingStars: Cn,
4244
+ VJoyScreenLoader: Oe,
4245
+ VJoySelect: En,
4163
4246
  VJoySelectableItem: yt,
4164
- VJoySelectableItemGroup: Io,
4165
- VJoySeparator: Lo,
4166
- VJoySpinner: ke,
4167
- VJoyTab: Fo,
4168
- VJoyTabs: Ao,
4247
+ VJoySelectableItemGroup: Mn,
4248
+ VJoySeparator: Rn,
4249
+ VJoySpinner: Ve,
4250
+ VJoyTab: Xn,
4251
+ VJoyTabs: Zn,
4169
4252
  VJoyTag: vt,
4170
- VJoyTagsList: Do,
4171
- VJoyTemplate: rr,
4253
+ VJoyTagsList: ar,
4254
+ VJoyTemplate: hr,
4172
4255
  VJoyTemplateShape: pt,
4173
- VJoyTextarea: yr,
4174
- VJoyToggle: wr,
4175
- VJoyWrapper: jr
4256
+ VJoyTextarea: Vr,
4257
+ VJoyToggle: Jr,
4258
+ VJoyWrapper: Pr
4176
4259
  }, Symbol.toStringTag, { value: "Module" }));
4177
- function tt(e) {
4260
+ function lt(e) {
4178
4261
  const l = e.target;
4179
4262
  if (!l)
4180
4263
  return;
4181
4264
  const t = l.getBoundingClientRect(), a = "joy-ripple-effect";
4182
- let n;
4265
+ let o;
4183
4266
  const r = l.querySelector(`.${a}`);
4184
- r || (n = document.createElement("span"), n.classList.add(a));
4185
- const i = r || n;
4267
+ r || (o = document.createElement("span"), o.classList.add(a));
4268
+ const i = r || o;
4186
4269
  l.prepend(i);
4187
- const o = Math.sqrt(Math.pow(t.width, 2) + Math.pow(t.height, 2)) * 2;
4188
- i.style.width = i.style.height = `${o}px`, i.style.left = `${e.clientX - t.left}px`, i.style.top = `${e.clientY - t.top}px`;
4270
+ const n = Math.sqrt(Math.pow(t.width, 2) + Math.pow(t.height, 2)) * 2;
4271
+ i.style.width = i.style.height = `${n}px`, i.style.left = `${e.clientX - t.left}px`, i.style.top = `${e.clientY - t.top}px`;
4189
4272
  }
4190
- const kr = {
4273
+ const zr = {
4191
4274
  mounted: (e) => {
4192
- e.addEventListener("click", tt);
4275
+ e.addEventListener("click", lt);
4193
4276
  },
4194
4277
  beforeUnmount: (e) => {
4195
- e.removeEventListener("click", tt);
4278
+ e.removeEventListener("click", lt);
4196
4279
  }
4197
4280
  };
4198
- const xr = {
4281
+ const qr = {
4199
4282
  install: (e) => {
4200
- Object.entries($r).forEach(([l, t]) => {
4283
+ Object.entries(Ar).forEach(([l, t]) => {
4201
4284
  e.component(l, t);
4202
- }), e.directive("joy-ripple", kr);
4285
+ }), e.directive("joy-ripple", zr);
4203
4286
  }
4204
4287
  };
4205
4288
  export {
4206
- xr as JoyVuePlugin,
4289
+ qr as JoyVuePlugin,
4207
4290
  xt as VJoyAvailability,
4208
4291
  Pt as VJoyAvatar,
4209
4292
  zt as VJoyAvatarsList,
4210
4293
  Mt as VJoyBadge,
4211
4294
  cl as VJoyBadgeLevel,
4212
- xe as VJoyButton,
4213
- Ie as VJoyCheckbox,
4295
+ Ie as VJoyButton,
4296
+ Ce as VJoyCheckbox,
4214
4297
  Ll as VJoyCompanyAvatar,
4215
- ql as VJoyCounter,
4298
+ Fl as VJoyCounter,
4216
4299
  Hl as VJoyDividerCta,
4217
4300
  Wa as VJoyDropdown,
4218
4301
  ct as VJoyDropdownList,
4219
4302
  Za as VJoyFilterBar,
4220
4303
  Ya as VJoyFilterBarButton,
4304
+ io as VJoyFooter,
4221
4305
  ft as VJoyFormError,
4222
- ln as VJoyFormFieldSkeleton,
4223
- sn as VJoyHighlight,
4306
+ lo as VJoyFormFieldSkeleton,
4307
+ mo as VJoyFunnel,
4308
+ wo as VJoyHighlight,
4224
4309
  T as VJoyIcon,
4225
- _n as VJoyInput,
4310
+ Lo as VJoyInput,
4226
4311
  ee as VJoyLabel,
4227
- wn as VJoyLink,
4228
- Vn as VJoyMenu,
4229
- Ln as VJoyMultiCheckbox,
4230
- An as VJoyPagination,
4231
- Wn as VJoyPanel,
4232
- Qn as VJoyPanelSection,
4233
- eo as VJoyProgressBar,
4234
- ro as VJoyRadio,
4235
- uo as VJoyRadioGroup,
4236
- mo as VJoyRatingStars,
4237
- Le as VJoyScreenLoader,
4238
- So as VJoySelect,
4312
+ Jo as VJoyLink,
4313
+ Fo as VJoyMenu,
4314
+ Ro as VJoyMultiCheckbox,
4315
+ Zo as VJoyPagination,
4316
+ nn as VJoyPanel,
4317
+ cn as VJoyPanelSection,
4318
+ vn as VJoyProgressBar,
4319
+ gn as VJoyRadio,
4320
+ $n as VJoyRadioGroup,
4321
+ Cn as VJoyRatingStars,
4322
+ Oe as VJoyScreenLoader,
4323
+ En as VJoySelect,
4239
4324
  yt as VJoySelectableItem,
4240
- Io as VJoySelectableItemGroup,
4241
- Lo as VJoySeparator,
4242
- ke as VJoySpinner,
4243
- Fo as VJoyTab,
4244
- Ao as VJoyTabs,
4325
+ Mn as VJoySelectableItemGroup,
4326
+ Rn as VJoySeparator,
4327
+ Ve as VJoySpinner,
4328
+ Xn as VJoyTab,
4329
+ Zn as VJoyTabs,
4245
4330
  vt as VJoyTag,
4246
- Do as VJoyTagsList,
4247
- rr as VJoyTemplate,
4331
+ ar as VJoyTagsList,
4332
+ hr as VJoyTemplate,
4248
4333
  pt as VJoyTemplateShape,
4249
- yr as VJoyTextarea,
4250
- wr as VJoyToggle,
4251
- jr as VJoyWrapper
4334
+ Vr as VJoyTextarea,
4335
+ Jr as VJoyToggle,
4336
+ Pr as VJoyWrapper
4252
4337
  };