@vanjana/vue-ui 0.1.116 → 0.1.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +1,151 @@
1
- import { createElementBlock as b, openBlock as f, createElementVNode as _, renderSlot as M, defineComponent as T, computed as V, normalizeClass as I, createBlock as P, createCommentVNode as L, createTextVNode as Ue, unref as $, toDisplayString as D, useSlots as Ut, ref as E, onMounted as Te, nextTick as he, onBeforeUnmount as Re, watch as N, resolveComponent as X, createVNode as R, normalizeStyle as G, Fragment as J, renderList as pe, mergeModels as Q, useModel as ue, withModifiers as U, provide as Kt, Teleport as Me, Transition as De, withCtx as K, createSlots as ct, resolveDynamicComponent as Nt, mergeProps as yn, shallowRef as wn, getCurrentScope as _n, onScopeDispose as xn, shallowReadonly as Ce, render as St, resolveDirective as Xt, withDirectives as ut, withKeys as Be, inject as dt, onUnmounted as kn, vModelText as Cn, toRef as lt, normalizeProps as Vn, guardReactiveProps as En, TransitionGroup as $n, isRef as Ln, createApp as Sn, h as Tn } from "vue";
2
- import { useRouter as Rn, useRoute as An } from "vue-router";
3
- const B = (e, n) => {
1
+ import { defineComponent as R, computed as k, createElementBlock as g, openBlock as f, normalizeClass as I, unref as $, createBlock as P, createCommentVNode as L, resolveDynamicComponent as ut, createElementVNode as _, createVNode as T, toDisplayString as O, Transition as Le, withCtx as N, renderSlot as M, createTextVNode as Ue, useSlots as Kt, ref as E, onMounted as Re, nextTick as he, onBeforeUnmount as Ae, watch as X, resolveComponent as q, normalizeStyle as G, Fragment as Q, renderList as pe, mergeModels as Y, useModel as se, withModifiers as U, provide as Xt, Teleport as Me, createSlots as dt, mergeProps as wn, shallowRef as _n, getCurrentScope as xn, onScopeDispose as kn, shallowReadonly as Ce, render as Rt, resolveDirective as qt, withDirectives as ft, withKeys as Be, inject as vt, onUnmounted as Cn, vModelText as Vn, toRef as lt, normalizeProps as En, guardReactiveProps as $n, TransitionGroup as Ln, isRef as Sn, createApp as Tn, h as Rn } from "vue";
2
+ import { useRouter as An, useRoute as On } from "vue-router";
3
+ var z = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(z || {}), K = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(K || {});
4
+ class Dn {
5
+ icons = /* @__PURE__ */ new Map();
6
+ /**
7
+ * Register an icon component
8
+ * @param name - Unique identifier for the icon
9
+ * @param component - Vue component to render
10
+ */
11
+ registerComponent(n, t) {
12
+ this.icons.set(n, { type: "component", value: t });
13
+ }
14
+ /**
15
+ * Register a string-based icon (e.g., FontAwesome)
16
+ * @param name - Unique identifier for the icon
17
+ * @param iconString - Icon string (e.g., 'fa-solid fa-house')
18
+ */
19
+ registerString(n, t) {
20
+ this.icons.set(n, { type: "string", value: t });
21
+ }
22
+ /**
23
+ * Register multiple icons at once
24
+ * @param icons - Object with name as key and icon definition as value
25
+ */
26
+ registerBatch(n) {
27
+ Object.entries(n).forEach(([t, o]) => {
28
+ typeof o == "string" ? this.registerString(t, o) : this.registerComponent(t, o);
29
+ });
30
+ }
31
+ /**
32
+ * Get a registered icon by name
33
+ */
34
+ getIcon(n) {
35
+ return this.icons.get(n);
36
+ }
37
+ /**
38
+ * Check if an icon is registered
39
+ */
40
+ has(n) {
41
+ return this.icons.has(n);
42
+ }
43
+ /**
44
+ * Get all registered icon names
45
+ */
46
+ getIconNames() {
47
+ return Array.from(this.icons.keys());
48
+ }
49
+ }
50
+ const at = new Dn(), Bn = /* @__PURE__ */ R({
51
+ __name: "icon",
52
+ props: {
53
+ icon: {},
54
+ size: {}
55
+ },
56
+ setup(e) {
57
+ const n = e, t = K.M, o = k(() => n.icon.startsWith("fa-") ? !0 : at.getIcon(n.icon)?.type === "string"), l = k(() => {
58
+ if (n.icon.startsWith("fa-"))
59
+ return n.icon;
60
+ const i = at.getIcon(n.icon);
61
+ return i?.type === "string" ? i.value : "";
62
+ }), a = k(() => {
63
+ const i = at.getIcon(n.icon);
64
+ return i?.type === "component" ? i.value : null;
65
+ });
66
+ return (i, c) => (f(), g("div", {
67
+ class: I(["icon-wrapper", n.size ?? $(t)])
68
+ }, [
69
+ o.value ? (f(), g("i", {
70
+ key: 0,
71
+ class: I(l.value)
72
+ }, null, 2)) : a.value ? (f(), P(ut(a.value), { key: 1 })) : L("", !0)
73
+ ], 2));
74
+ }
75
+ }), A = (e, n) => {
4
76
  const t = e.__vccOpts || e;
5
77
  for (const [o, l] of n)
6
78
  t[o] = l;
7
79
  return t;
8
- }, On = {}, Dn = { class: "button-bar" }, Bn = { class: "left" }, jn = { class: "right" };
9
- function Mn(e, n) {
10
- return f(), b("div", Dn, [
11
- _("div", Bn, [
80
+ }, te = /* @__PURE__ */ A(Bn, [["__scopeId", "data-v-64e345f0"]]), jn = ["aria-expanded", "disabled"], Mn = { class: "accordion-title" }, Pn = {
81
+ key: 0,
82
+ id: "accordion-panel",
83
+ class: "accordion-content",
84
+ role: "region"
85
+ }, Fn = { class: "accordion-body" }, zn = /* @__PURE__ */ R({
86
+ __name: "accordion",
87
+ props: {
88
+ title: {},
89
+ expanded: { type: Boolean, default: !1 },
90
+ disabled: { type: Boolean, default: !1 }
91
+ },
92
+ emits: ["update:expanded"],
93
+ setup(e, { emit: n }) {
94
+ const t = e, o = n, l = () => {
95
+ o("update:expanded", !t.expanded);
96
+ }, a = (c) => {
97
+ const s = c;
98
+ s.style.height = "0", s.offsetHeight, s.style.height = `${s.scrollHeight}px`;
99
+ }, i = (c) => {
100
+ const s = c;
101
+ s.style.height = `${s.scrollHeight}px`, s.offsetHeight, s.style.height = "0";
102
+ };
103
+ return (c, s) => (f(), g("div", {
104
+ class: I(["accordion", { "accordion--open": e.expanded, "accordion--disabled": e.disabled }])
105
+ }, [
106
+ _("button", {
107
+ type: "button",
108
+ class: "accordion-header",
109
+ onClick: l,
110
+ "aria-expanded": e.expanded,
111
+ disabled: e.disabled,
112
+ "aria-controls": "accordion-panel"
113
+ }, [
114
+ _("span", Mn, O(e.title), 1),
115
+ T(te, {
116
+ icon: $(z).CHEVRON_DOWN,
117
+ size: $(K).S,
118
+ class: "accordion-icon"
119
+ }, null, 8, ["icon", "size"])
120
+ ], 8, jn),
121
+ T(Le, {
122
+ name: "accordion",
123
+ onEnter: a,
124
+ onLeave: i
125
+ }, {
126
+ default: N(() => [
127
+ e.expanded ? (f(), g("div", Pn, [
128
+ _("div", Fn, [
129
+ M(c.$slots, "default", {}, void 0, !0)
130
+ ])
131
+ ])) : L("", !0)
132
+ ]),
133
+ _: 3
134
+ })
135
+ ], 2));
136
+ }
137
+ }), In = /* @__PURE__ */ A(zn, [["__scopeId", "data-v-8db9daae"]]), Hn = {}, Wn = { class: "button-bar" }, Un = { class: "left" }, Nn = { class: "right" };
138
+ function Kn(e, n) {
139
+ return f(), g("div", Wn, [
140
+ _("div", Un, [
12
141
  M(e.$slots, "left", {}, void 0, !0)
13
142
  ]),
14
- _("div", jn, [
143
+ _("div", Nn, [
15
144
  M(e.$slots, "default", {}, void 0, !0)
16
145
  ])
17
146
  ]);
18
147
  }
19
- const Pn = /* @__PURE__ */ B(On, [["render", Mn], ["__scopeId", "data-v-45a6ed1a"]]);
20
- var z = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(z || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
- const le = /* @__PURE__ */ T({
22
- __name: "icon",
23
- props: {
24
- icon: {},
25
- size: {}
26
- },
27
- setup(e) {
28
- const n = e, t = q.M, o = V(() => `${n.icon} ${n.size ?? t}`);
29
- return (l, a) => (f(), b("i", {
30
- class: I(o.value)
31
- }, null, 2));
32
- }
33
- }), Fn = ["disabled"], zn = /* @__PURE__ */ T({
148
+ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a"]]), qn = ["disabled"], Gn = /* @__PURE__ */ R({
34
149
  __name: "button",
35
150
  props: {
36
151
  label: {},
@@ -41,51 +156,51 @@ const le = /* @__PURE__ */ T({
41
156
  disabled: { type: Boolean }
42
157
  },
43
158
  setup(e) {
44
- const n = e, t = q.S, o = V(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = V(() => !n.label && !!n.icon);
45
- return (a, i) => (f(), b("button", {
159
+ const n = e, t = K.S, o = k(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = k(() => !n.label && !!n.icon);
160
+ return (a, i) => (f(), g("button", {
46
161
  class: I(["button", o.value, { "icon-only": l.value }]),
47
162
  disabled: e.disabled
48
163
  }, [
49
- e.icon ? (f(), P(le, {
164
+ e.icon ? (f(), P(te, {
50
165
  key: 0,
51
166
  icon: e.icon,
52
167
  size: $(t)
53
168
  }, null, 8, ["icon", "size"])) : L("", !0),
54
- Ue(" " + D(e.label), 1)
55
- ], 10, Fn));
169
+ Ue(" " + O(e.label), 1)
170
+ ], 10, qn));
56
171
  }
57
- }), Ge = /* @__PURE__ */ B(zn, [["__scopeId", "data-v-f31c33cf"]]), In = {
172
+ }), Ge = /* @__PURE__ */ A(Gn, [["__scopeId", "data-v-f31c33cf"]]), Yn = {
58
173
  key: 0,
59
174
  class: "header-actions"
60
- }, Hn = { key: 0 }, Wn = /* @__PURE__ */ T({
175
+ }, Jn = { key: 0 }, Qn = /* @__PURE__ */ R({
61
176
  __name: "card",
62
177
  props: {
63
178
  header: {},
64
179
  scrollable: { type: Boolean }
65
180
  },
66
181
  setup(e) {
67
- const n = Ut();
68
- return (t, o) => (f(), b("div", {
182
+ const n = Kt();
183
+ return (t, o) => (f(), g("div", {
69
184
  class: I(["card", { scrollable: e.scrollable }])
70
185
  }, [
71
186
  _("header", null, [
72
- _("h3", null, D(e.header), 1),
73
- $(n).headerActions ? (f(), b("span", In, [
187
+ _("h3", null, O(e.header), 1),
188
+ $(n).headerActions ? (f(), g("span", Yn, [
74
189
  M(t.$slots, "headerActions", {}, void 0, !0)
75
190
  ])) : L("", !0)
76
191
  ]),
77
192
  _("main", null, [
78
193
  M(t.$slots, "default", {}, void 0, !0)
79
194
  ]),
80
- $(n).footer ? (f(), b("footer", Hn, [
195
+ $(n).footer ? (f(), g("footer", Jn, [
81
196
  M(t.$slots, "footer", {}, void 0, !0)
82
197
  ])) : L("", !0)
83
198
  ], 2));
84
199
  }
85
- }), it = /* @__PURE__ */ B(Wn, [["__scopeId", "data-v-df450f32"]]), Un = ["aria-label"], Kn = {
200
+ }), st = /* @__PURE__ */ A(Qn, [["__scopeId", "data-v-df450f32"]]), Zn = ["aria-label"], eo = {
86
201
  key: 0,
87
202
  class: "carousel-indicators"
88
- }, Nn = /* @__PURE__ */ T({
203
+ }, to = /* @__PURE__ */ R({
89
204
  __name: "carousel",
90
205
  props: {
91
206
  autoplay: { type: Boolean },
@@ -99,99 +214,99 @@ const le = /* @__PURE__ */ T({
99
214
  const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, a = n.pauseOnHover ?? !0, i = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", s = E(Math.max(0, i)), r = E(null), u = E(null), d = E(0), v = E(0);
100
215
  let p = !1;
101
216
  const h = E(0), y = E(!1);
102
- let m = null, g = null;
217
+ let m = null, b = null;
103
218
  const x = E(null), w = E(null), S = () => {
104
219
  h.value = r.value ? r.value.children.length : 0, h.value === 0 ? s.value = 0 : s.value >= h.value && (s.value = l ? 0 : h.value - 1), H();
105
- }, j = V(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), H = () => {
106
- r.value && Array.from(r.value.children).forEach((O, ye) => {
220
+ }, j = k(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), H = () => {
221
+ r.value && Array.from(r.value.children).forEach((B, ye) => {
107
222
  try {
108
- ye === s.value ? O.removeAttribute("aria-hidden") : O.setAttribute("aria-hidden", "true");
223
+ ye === s.value ? B.removeAttribute("aria-hidden") : B.setAttribute("aria-hidden", "true");
109
224
  } catch {
110
225
  }
111
226
  });
112
- }, k = () => {
113
- C(), !(!t || h.value <= 1) && (a && y.value || (m = setTimeout(() => {
114
- F(), k();
115
- }, o)));
116
227
  }, C = () => {
228
+ V(), !(!t || h.value <= 1) && (a && y.value || (m = setTimeout(() => {
229
+ F(), C();
230
+ }, o)));
231
+ }, V = () => {
117
232
  m && (clearTimeout(m), m = null);
118
- }, A = () => {
233
+ }, D = () => {
119
234
  h.value !== 0 && (s.value <= 0 ? s.value = l ? h.value - 1 : 0 : s.value--);
120
235
  }, F = () => {
121
236
  h.value !== 0 && (s.value >= h.value - 1 ? s.value = l ? 0 : h.value - 1 : s.value++);
122
- }, W = (O) => {
123
- O < 0 || O >= h.value || (s.value = O);
124
- }, te = () => {
125
- y.value = !0, a && C();
237
+ }, W = (B) => {
238
+ B < 0 || B >= h.value || (s.value = B);
239
+ }, ne = () => {
240
+ y.value = !0, a && V();
126
241
  }, fe = () => {
127
- y.value = !1, k();
128
- }, ve = (O) => {
129
- O.key === "ArrowLeft" ? A() : O.key === "ArrowRight" && F();
242
+ y.value = !1, C();
243
+ }, ve = (B) => {
244
+ B.key === "ArrowLeft" ? D() : B.key === "ArrowRight" && F();
130
245
  };
131
- let ke = 0, ne = 0;
132
- const se = (O) => {
133
- ke = O.touches[0].clientX, ne = 0;
134
- }, Y = (O) => {
135
- ne = O.touches[0].clientX - ke;
136
- }, oe = () => {
137
- ne > 50 ? A() : ne < -50 && F(), ne = 0;
246
+ let ke = 0, oe = 0;
247
+ const re = (B) => {
248
+ ke = B.touches[0].clientX, oe = 0;
249
+ }, J = (B) => {
250
+ oe = B.touches[0].clientX - ke;
251
+ }, le = () => {
252
+ oe > 50 ? D() : oe < -50 && F(), oe = 0;
138
253
  };
139
254
  let He = 0;
140
- const Ct = (O) => {
141
- if (O.isPrimary !== !1 && !(O.pointerType === "mouse" && O.button !== 0)) {
142
- p = !0, He = O.clientX, v.value = 0, C();
255
+ const Et = (B) => {
256
+ if (B.isPrimary !== !1 && !(B.pointerType === "mouse" && B.button !== 0)) {
257
+ p = !0, He = B.clientX, v.value = 0, V();
143
258
  try {
144
- O.target?.setPointerCapture?.(O.pointerId);
259
+ B.target?.setPointerCapture?.(B.pointerId);
145
260
  } catch {
146
261
  }
147
262
  }
148
- }, Vt = (O) => {
149
- p && (v.value = O.clientX - He, O.preventDefault());
150
- }, Et = () => {
263
+ }, $t = (B) => {
264
+ p && (v.value = B.clientX - He, B.preventDefault());
265
+ }, Lt = () => {
151
266
  if (!p) return;
152
267
  p = !1;
153
- const O = Math.max(50, d.value * 0.15);
154
- v.value > O ? A() : v.value < -O && F(), v.value = 0, k();
155
- }, $t = (O) => {
268
+ const B = Math.max(50, d.value * 0.15);
269
+ v.value > B ? D() : v.value < -B && F(), v.value = 0, C();
270
+ }, St = (B) => {
156
271
  try {
157
- O.target?.releasePointerCapture?.(O.pointerId);
272
+ B.target?.releasePointerCapture?.(B.pointerId);
158
273
  } catch {
159
274
  }
160
- Et();
161
- }, Lt = () => Et();
162
- return Te(() => {
275
+ Lt();
276
+ }, Tt = () => Lt();
277
+ return Re(() => {
163
278
  he(() => {
164
- if (S(), r.value && (g = new MutationObserver(S), g.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", se, { passive: !0 }), r.value.addEventListener("touchmove", Y, { passive: !0 }), r.value.addEventListener("touchend", oe)), u.value) {
165
- const O = () => {
279
+ if (S(), r.value && (b = new MutationObserver(S), b.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", re, { passive: !0 }), r.value.addEventListener("touchmove", J, { passive: !0 }), r.value.addEventListener("touchend", le)), u.value) {
280
+ const B = () => {
166
281
  d.value = u.value ? u.value.clientWidth : 0;
167
282
  };
168
- O();
283
+ B();
169
284
  const ye = window.ResizeObserver;
170
285
  if (ye && u.value) {
171
- const we = new ye(() => O());
286
+ const we = new ye(() => B());
172
287
  we.observe(u.value), x.value = we;
173
288
  } else
174
- window.addEventListener("resize", O), w.value = O;
175
- u.value && (u.value.addEventListener("pointerdown", Ct), u.value.addEventListener("pointermove", Vt), u.value.addEventListener("pointerup", $t), u.value.addEventListener("pointercancel", Lt));
289
+ window.addEventListener("resize", B), w.value = B;
290
+ u.value && (u.value.addEventListener("pointerdown", Et), u.value.addEventListener("pointermove", $t), u.value.addEventListener("pointerup", St), u.value.addEventListener("pointercancel", Tt));
176
291
  }
177
- H(), k();
292
+ H(), C();
178
293
  });
179
- }), Re(() => {
180
- C(), g && r.value && g.disconnect(), r.value && (r.value.removeEventListener("touchstart", se), r.value.removeEventListener("touchmove", Y), r.value.removeEventListener("touchend", oe)), u.value && (x.value && x.value.disconnect && x.value.disconnect(), w.value && window.removeEventListener("resize", w.value), u.value.removeEventListener("pointerdown", Ct), u.value.removeEventListener("pointermove", Vt), u.value.removeEventListener("pointerup", $t), u.value.removeEventListener("pointercancel", Lt));
181
- }), N([s, () => h.value], () => {
294
+ }), Ae(() => {
295
+ V(), b && r.value && b.disconnect(), r.value && (r.value.removeEventListener("touchstart", re), r.value.removeEventListener("touchmove", J), r.value.removeEventListener("touchend", le)), u.value && (x.value && x.value.disconnect && x.value.disconnect(), w.value && window.removeEventListener("resize", w.value), u.value.removeEventListener("pointerdown", Et), u.value.removeEventListener("pointermove", $t), u.value.removeEventListener("pointerup", St), u.value.removeEventListener("pointercancel", Tt));
296
+ }), X([s, () => h.value], () => {
182
297
  H();
183
- }), N([() => y.value, s], () => {
184
- k();
185
- }), (O, ye) => {
186
- const we = X("VjButton");
187
- return f(), b("div", {
298
+ }), X([() => y.value, s], () => {
299
+ C();
300
+ }), (B, ye) => {
301
+ const we = q("VjButton");
302
+ return f(), g("div", {
188
303
  class: "carousel",
189
304
  role: "region",
190
305
  "aria-roledescription": "carousel",
191
306
  "aria-label": $(c),
192
307
  tabindex: "0",
193
308
  onKeydown: ve,
194
- onMouseenter: te,
309
+ onMouseenter: ne,
195
310
  onMouseleave: fe
196
311
  }, [
197
312
  _("div", {
@@ -205,42 +320,42 @@ const le = /* @__PURE__ */ T({
205
320
  ref: r,
206
321
  style: G(j.value)
207
322
  }, [
208
- M(O.$slots, "default", {}, void 0, !0)
323
+ M(B.$slots, "default", {}, void 0, !0)
209
324
  ], 4)
210
325
  ], 512),
211
- R(we, {
326
+ T(we, {
212
327
  class: "carousel-btn prev",
213
328
  icon: $(z).PREVIOUS,
214
- onClick: A,
329
+ onClick: D,
215
330
  type: "button",
216
331
  "aria-label": "Previous slide"
217
332
  }, null, 8, ["icon"]),
218
- R(we, {
333
+ T(we, {
219
334
  class: "carousel-btn next",
220
335
  icon: $(z).NEXT,
221
336
  onClick: F,
222
337
  type: "button",
223
338
  "aria-label": "Next slide"
224
339
  }, null, 8, ["icon"]),
225
- h.value > 1 ? (f(), b("div", Kn, [
226
- (f(!0), b(J, null, pe(h.value, (Ae) => (f(), P(we, {
227
- key: Ae - 1,
228
- class: I(["indicator", { active: Ae - 1 === s.value }]),
229
- onClick: (ts) => W(Ae - 1),
230
- "aria-current": Ae - 1 === s.value,
231
- "aria-label": `Go to slide ${Ae}`,
340
+ h.value > 1 ? (f(), g("div", eo, [
341
+ (f(!0), g(Q, null, pe(h.value, (Oe) => (f(), P(we, {
342
+ key: Oe - 1,
343
+ class: I(["indicator", { active: Oe - 1 === s.value }]),
344
+ onClick: (us) => W(Oe - 1),
345
+ "aria-current": Oe - 1 === s.value,
346
+ "aria-label": `Go to slide ${Oe}`,
232
347
  type: "button"
233
348
  }, null, 8, ["class", "onClick", "aria-current", "aria-label"]))), 128))
234
349
  ])) : L("", !0)
235
- ], 40, Un);
350
+ ], 40, Zn);
236
351
  };
237
352
  }
238
- }), ls = /* @__PURE__ */ B(Nn, [["__scopeId", "data-v-232abca2"]]), Xn = { class: "checkbox" }, qn = ["checked", "disabled"], Gn = {
353
+ }), vs = /* @__PURE__ */ A(to, [["__scopeId", "data-v-232abca2"]]), no = { class: "checkbox" }, oo = ["checked", "disabled"], lo = {
239
354
  key: 0,
240
355
  class: "checkbox-label"
241
- }, Yn = /* @__PURE__ */ T({
356
+ }, ao = /* @__PURE__ */ R({
242
357
  __name: "checkbox",
243
- props: /* @__PURE__ */ Q({
358
+ props: /* @__PURE__ */ Y({
244
359
  label: {},
245
360
  disabled: { type: Boolean }
246
361
  }, {
@@ -249,18 +364,18 @@ const le = /* @__PURE__ */ T({
249
364
  }),
250
365
  emits: ["update:modelValue"],
251
366
  setup(e) {
252
- const n = ue(e, "modelValue"), t = (o) => {
367
+ const n = se(e, "modelValue"), t = (o) => {
253
368
  const l = o.target;
254
369
  n.value = l.checked;
255
370
  };
256
- return (o, l) => (f(), b("label", Xn, [
371
+ return (o, l) => (f(), g("label", no, [
257
372
  _("input", {
258
373
  type: "checkbox",
259
374
  checked: n.value,
260
375
  onChange: t,
261
376
  disabled: e.disabled,
262
377
  class: "checkbox-input"
263
- }, null, 40, qn),
378
+ }, null, 40, oo),
264
379
  l[0] || (l[0] = _("span", { class: "checkbox-box" }, [
265
380
  _("svg", {
266
381
  class: "checkbox-icon",
@@ -278,15 +393,15 @@ const le = /* @__PURE__ */ T({
278
393
  })
279
394
  ])
280
395
  ], -1)),
281
- e.label ? (f(), b("span", Gn, D(e.label), 1)) : L("", !0)
396
+ e.label ? (f(), g("span", lo, O(e.label), 1)) : L("", !0)
282
397
  ]));
283
398
  }
284
- }), Jn = /* @__PURE__ */ B(Yn, [["__scopeId", "data-v-d44b45ff"]]), Qn = { class: "radio" }, Zn = ["checked", "disabled"], eo = {
399
+ }), io = /* @__PURE__ */ A(ao, [["__scopeId", "data-v-d44b45ff"]]), so = { class: "radio" }, ro = ["checked", "disabled"], co = {
285
400
  key: 0,
286
401
  class: "radio-label"
287
- }, to = /* @__PURE__ */ T({
402
+ }, uo = /* @__PURE__ */ R({
288
403
  __name: "radio",
289
- props: /* @__PURE__ */ Q({
404
+ props: /* @__PURE__ */ Y({
290
405
  label: {},
291
406
  disabled: { type: Boolean }
292
407
  }, {
@@ -295,30 +410,30 @@ const le = /* @__PURE__ */ T({
295
410
  }),
296
411
  emits: ["update:modelValue"],
297
412
  setup(e) {
298
- const n = ue(e, "modelValue"), t = (o) => {
413
+ const n = se(e, "modelValue"), t = (o) => {
299
414
  const l = o.target;
300
415
  n.value = l.checked;
301
416
  };
302
- return (o, l) => (f(), b("label", Qn, [
417
+ return (o, l) => (f(), g("label", so, [
303
418
  _("input", {
304
419
  type: "checkbox",
305
420
  checked: n.value,
306
421
  onChange: t,
307
422
  disabled: e.disabled,
308
423
  class: "radio-input"
309
- }, null, 40, Zn),
424
+ }, null, 40, ro),
310
425
  l[0] || (l[0] = _("span", { class: "radio-box" }, [
311
426
  _("span", {
312
427
  class: "radio-dot",
313
428
  "aria-hidden": "true"
314
429
  })
315
430
  ], -1)),
316
- e.label ? (f(), b("span", eo, D(e.label), 1)) : L("", !0)
431
+ e.label ? (f(), g("span", co, O(e.label), 1)) : L("", !0)
317
432
  ]));
318
433
  }
319
- }), as = /* @__PURE__ */ B(to, [["__scopeId", "data-v-f9e4bb65"]]), no = { class: "chip__label" }, oo = /* @__PURE__ */ T({
434
+ }), ms = /* @__PURE__ */ A(uo, [["__scopeId", "data-v-f9e4bb65"]]), fo = { class: "chip__label" }, vo = /* @__PURE__ */ R({
320
435
  __name: "chip",
321
- props: /* @__PURE__ */ Q({
436
+ props: /* @__PURE__ */ Y({
322
437
  label: {},
323
438
  dismissable: { type: Boolean },
324
439
  color: {}
@@ -326,41 +441,41 @@ const le = /* @__PURE__ */ T({
326
441
  modelValue: {},
327
442
  modelModifiers: {}
328
443
  }),
329
- emits: /* @__PURE__ */ Q(["update:modelValue", "dismiss", "click"], ["update:modelValue"]),
444
+ emits: /* @__PURE__ */ Y(["update:modelValue", "dismiss", "click"], ["update:modelValue"]),
330
445
  setup(e, { emit: n }) {
331
- const t = e, o = ue(e, "modelValue"), l = n, a = t.dismissable ?? !1, i = V(() => {
446
+ const t = e, o = se(e, "modelValue"), l = n, a = t.dismissable ?? !1, i = k(() => {
332
447
  const s = {};
333
448
  return t.color && (s.color = `var(--on-surface-${t.color})`, s.background = `var(--surface-${t.color})`), s;
334
449
  }), c = () => {
335
450
  l("dismiss", o.value);
336
451
  };
337
- return (s, r) => (f(), b("div", {
452
+ return (s, r) => (f(), g("div", {
338
453
  class: I(["chip", { "chip--dismissable": $(a) }]),
339
454
  style: G(i.value),
340
455
  onClick: r[0] || (r[0] = (u) => s.$emit("click"))
341
456
  }, [
342
- _("span", no, D(e.label), 1),
343
- $(a) ? (f(), b("button", {
457
+ _("span", fo, O(e.label), 1),
458
+ $(a) ? (f(), g("button", {
344
459
  key: 0,
345
460
  class: "chip__close",
346
461
  type: "button",
347
462
  onClick: U(c, ["stop"]),
348
463
  "aria-label": "Dismiss"
349
464
  }, [
350
- R(le, {
465
+ T(te, {
351
466
  icon: $(z).CLOSE,
352
- size: $(q).S
467
+ size: $(K).S
353
468
  }, null, 8, ["icon", "size"])
354
469
  ])) : L("", !0)
355
470
  ], 6));
356
471
  }
357
- }), qt = /* @__PURE__ */ B(oo, [["__scopeId", "data-v-c2014a3b"]]), lo = { class: "chip-group" }, ao = {
472
+ }), Gt = /* @__PURE__ */ A(vo, [["__scopeId", "data-v-c2014a3b"]]), mo = { class: "chip-group" }, po = {
358
473
  key: 0,
359
474
  class: "chip-group__label"
360
- }, io = { class: "chip-group__container" }, so = ["onDragover", "onDrop"], ro = ["onDragstart", "onDragover", "onDragenter", "onDrop"], co = ["onDragover", "onDrop"], uo = {
475
+ }, ho = { class: "chip-group__container" }, go = ["onDragover", "onDrop"], bo = ["onDragstart", "onDragover", "onDragenter", "onDrop"], yo = ["onDragover", "onDrop"], wo = {
361
476
  key: 1,
362
477
  class: "chip-group__hint"
363
- }, fo = /* @__PURE__ */ T({
478
+ }, _o = /* @__PURE__ */ R({
364
479
  __name: "chip-group",
365
480
  props: {
366
481
  items: { default: () => [] },
@@ -374,28 +489,28 @@ const le = /* @__PURE__ */ T({
374
489
  emits: ["update:items", "reorder", "dismiss", "chip-click"],
375
490
  setup(e, { emit: n }) {
376
491
  const t = e, o = n, l = E(null), a = E(null);
377
- function i(m, g) {
378
- return typeof m == "string" ? `${m}-${g}` : m[t.itemKey] !== void 0 ? String(m[t.itemKey]) : `item-${g}`;
492
+ function i(m, b) {
493
+ return typeof m == "string" ? `${m}-${b}` : m[t.itemKey] !== void 0 ? String(m[t.itemKey]) : `item-${b}`;
379
494
  }
380
495
  function c(m) {
381
496
  return typeof m == "string" ? m : m[t.itemLabel] !== void 0 ? String(m[t.itemLabel]) : String(m.value || "");
382
497
  }
383
- function s(m, g) {
384
- l.value = m, g.dataTransfer && (g.dataTransfer.effectAllowed = "move", g.dataTransfer.setData("text/plain", String(m)));
498
+ function s(m, b) {
499
+ l.value = m, b.dataTransfer && (b.dataTransfer.effectAllowed = "move", b.dataTransfer.setData("text/plain", String(m)));
385
500
  }
386
- function r(m, g) {
387
- l.value === null || l.value === m || (g.preventDefault(), g.dataTransfer && (g.dataTransfer.dropEffect = "move"));
501
+ function r(m, b) {
502
+ l.value === null || l.value === m || (b.preventDefault(), b.dataTransfer && (b.dataTransfer.dropEffect = "move"));
388
503
  }
389
504
  function u(m) {
390
505
  l.value === null || l.value === m || (a.value = m);
391
506
  }
392
507
  function d() {
393
508
  }
394
- function v(m, g) {
395
- return l.value === null || a.value === null || l.value === m ? !1 : g === "before" && a.value === m && l.value > m || g === "after" && a.value === m && l.value < m;
509
+ function v(m, b) {
510
+ return l.value === null || a.value === null || l.value === m ? !1 : b === "before" && a.value === m && l.value > m || b === "after" && a.value === m && l.value < m;
396
511
  }
397
- function p(m, g) {
398
- if (g.preventDefault(), l.value === null || l.value === m)
512
+ function p(m, b) {
513
+ if (b.preventDefault(), l.value === null || l.value === m)
399
514
  return;
400
515
  const x = [...t.items], w = x[l.value];
401
516
  x.splice(l.value, 1), x.splice(m, 0, w), o("update:items", x), o("reorder", x);
@@ -404,21 +519,21 @@ const le = /* @__PURE__ */ T({
404
519
  l.value = null, a.value = null;
405
520
  }
406
521
  function y(m) {
407
- const g = t.items[m], x = t.items.filter((w, S) => S !== m);
408
- o("update:items", x), o("dismiss", g, m);
522
+ const b = t.items[m], x = t.items.filter((w, S) => S !== m);
523
+ o("update:items", x), o("dismiss", b, m);
409
524
  }
410
- return (m, g) => (f(), b("div", lo, [
411
- e.label ? (f(), b("label", ao, D(e.label), 1)) : L("", !0),
412
- _("div", io, [
413
- (f(!0), b(J, null, pe(e.items, (x, w) => (f(), b(J, {
525
+ return (m, b) => (f(), g("div", mo, [
526
+ e.label ? (f(), g("label", po, O(e.label), 1)) : L("", !0),
527
+ _("div", ho, [
528
+ (f(!0), g(Q, null, pe(e.items, (x, w) => (f(), g(Q, {
414
529
  key: i(x, w)
415
530
  }, [
416
- v(w, "before") ? (f(), b("div", {
531
+ v(w, "before") ? (f(), g("div", {
417
532
  key: 0,
418
533
  class: "chip-group__drop-indicator",
419
534
  onDragover: U((S) => r(w, S), ["prevent"]),
420
535
  onDrop: (S) => p(w, S)
421
- }, null, 40, so)) : L("", !0),
536
+ }, null, 40, go)) : L("", !0),
422
537
  _("div", {
423
538
  class: I(["chip-group__item", { "chip-group__item--dragging": l.value === w }]),
424
539
  draggable: "true",
@@ -429,26 +544,26 @@ const le = /* @__PURE__ */ T({
429
544
  onDrop: (S) => p(w, S),
430
545
  onDragend: h
431
546
  }, [
432
- R(qt, {
547
+ T(Gt, {
433
548
  label: c(x),
434
549
  dismissable: typeof x == "string" ? e.dismissable : x.dismissable ?? e.dismissable,
435
550
  color: typeof x == "string" ? e.color : x.color ?? e.color,
436
551
  onDismiss: (S) => y(w),
437
552
  onClick: (S) => m.$emit("chip-click", x, w)
438
553
  }, null, 8, ["label", "dismissable", "color", "onDismiss", "onClick"])
439
- ], 42, ro),
440
- v(w, "after") ? (f(), b("div", {
554
+ ], 42, bo),
555
+ v(w, "after") ? (f(), g("div", {
441
556
  key: 1,
442
557
  class: "chip-group__drop-indicator",
443
558
  onDragover: U((S) => r(w, S), ["prevent"]),
444
559
  onDrop: (S) => p(w, S)
445
- }, null, 40, co)) : L("", !0)
560
+ }, null, 40, yo)) : L("", !0)
446
561
  ], 64))), 128))
447
562
  ]),
448
- e.hint ? (f(), b("div", uo, D(e.hint), 1)) : L("", !0)
563
+ e.hint ? (f(), g("div", wo, O(e.hint), 1)) : L("", !0)
449
564
  ]));
450
565
  }
451
- }), Gt = /* @__PURE__ */ B(fo, [["__scopeId", "data-v-66199d19"]]), Yt = /* @__PURE__ */ Symbol("VjDialogController"), vo = { class: "dialog-content" }, mo = { key: 1 }, po = { class: "dialog-footer" }, ho = /* @__PURE__ */ T({
566
+ }), Yt = /* @__PURE__ */ A(_o, [["__scopeId", "data-v-66199d19"]]), Jt = /* @__PURE__ */ Symbol("VjDialogController"), xo = { class: "dialog-content" }, ko = { key: 1 }, Co = { class: "dialog-footer" }, Vo = /* @__PURE__ */ R({
452
567
  __name: "dialog",
453
568
  props: {
454
569
  modelValue: { type: Boolean, default: !1 },
@@ -466,7 +581,7 @@ const le = /* @__PURE__ */ T({
466
581
  emits: ["update:modelValue", "confirm", "cancel", "close", "resolve"],
467
582
  setup(e, { emit: n }) {
468
583
  const t = e, o = n, l = E(t.modelValue);
469
- N(
584
+ X(
470
585
  () => t.modelValue,
471
586
  (d) => l.value = d
472
587
  );
@@ -479,7 +594,7 @@ const le = /* @__PURE__ */ T({
479
594
  }, s = () => {
480
595
  o("cancel"), a();
481
596
  };
482
- Kt(Yt, {
597
+ Xt(Jt, {
483
598
  close: a,
484
599
  resolve: i,
485
600
  cancel: s
@@ -489,56 +604,56 @@ const le = /* @__PURE__ */ T({
489
604
  }, u = (d) => {
490
605
  d.key === "Escape" && t.closeOnEscape && l.value && a();
491
606
  };
492
- return Te(() => {
607
+ return Re(() => {
493
608
  document.addEventListener("keydown", u);
494
- }), Re(() => {
609
+ }), Ae(() => {
495
610
  document.removeEventListener("keydown", u);
496
611
  }), (d, v) => {
497
- const p = X("VjIcon"), h = X("VjButton"), y = X("VjCard");
612
+ const p = q("VjIcon"), h = q("VjButton"), y = q("VjCard");
498
613
  return f(), P(Me, { to: "body" }, [
499
- R(De, { name: "dialog-fade" }, {
500
- default: K(() => [
501
- l.value ? (f(), b("div", {
614
+ T(Le, { name: "dialog-fade" }, {
615
+ default: N(() => [
616
+ l.value ? (f(), g("div", {
502
617
  key: 0,
503
618
  class: "dialog-backdrop",
504
619
  onClick: r
505
620
  }, [
506
- R(De, { name: "dialog-scale" }, {
507
- default: K(() => [
508
- l.value ? (f(), b("div", {
621
+ T(Le, { name: "dialog-scale" }, {
622
+ default: N(() => [
623
+ l.value ? (f(), g("div", {
509
624
  key: 0,
510
625
  class: "dialog-wrapper",
511
626
  onClick: v[0] || (v[0] = U(() => {
512
627
  }, ["stop"]))
513
628
  }, [
514
- R(y, {
629
+ T(y, {
515
630
  class: "dialog-card",
516
631
  header: e.title || ""
517
- }, ct({
518
- headerActions: K(() => [
519
- R(p, {
632
+ }, dt({
633
+ headerActions: N(() => [
634
+ T(p, {
520
635
  icon: $(z).CLOSE,
521
- size: $(q).S,
636
+ size: $(K).S,
522
637
  class: "dialog-close",
523
638
  onClick: a
524
639
  }, null, 8, ["icon", "size"])
525
640
  ]),
526
- default: K(() => [
527
- _("div", vo, [
528
- e.component ? (f(), P(Nt(e.component), yn({ key: 0 }, e.componentProps, {
641
+ default: N(() => [
642
+ _("div", xo, [
643
+ e.component ? (f(), P(ut(e.component), wn({ key: 0 }, e.componentProps, {
529
644
  onCancel: s,
530
645
  onClose: a,
531
646
  onConfirm: c,
532
647
  onResolve: i
533
- }), null, 16)) : e.message ? (f(), b("div", mo, D(e.message), 1)) : M(d.$slots, "default", { key: 2 }, void 0, !0)
648
+ }), null, 16)) : e.message ? (f(), g("div", ko, O(e.message), 1)) : M(d.$slots, "default", { key: 2 }, void 0, !0)
534
649
  ])
535
650
  ]),
536
651
  _: 2
537
652
  }, [
538
653
  e.showFooter ? {
539
654
  name: "footer",
540
- fn: K(() => [
541
- _("div", po, [
655
+ fn: N(() => [
656
+ _("div", Co, [
542
657
  M(d.$slots, "footer", {}, () => [
543
658
  e.showCancel ? (f(), P(h, {
544
659
  key: 0,
@@ -546,7 +661,7 @@ const le = /* @__PURE__ */ T({
546
661
  onClick: s,
547
662
  label: e.cancelText
548
663
  }, null, 8, ["label"])) : L("", !0),
549
- R(h, {
664
+ T(h, {
550
665
  primary: "",
551
666
  onClick: c,
552
667
  label: e.confirmText
@@ -568,10 +683,10 @@ const le = /* @__PURE__ */ T({
568
683
  ]);
569
684
  };
570
685
  }
571
- }), ft = /* @__PURE__ */ B(ho, [["__scopeId", "data-v-29d1729b"]]), go = { class: "vj-chip-selector" }, bo = { class: "options-grid" }, yo = ["onClick"], wo = {
686
+ }), mt = /* @__PURE__ */ A(Vo, [["__scopeId", "data-v-29d1729b"]]), Eo = { class: "vj-chip-selector" }, $o = { class: "options-grid" }, Lo = ["onClick"], So = {
572
687
  key: 0,
573
688
  class: "no-options"
574
- }, _o = /* @__PURE__ */ T({
689
+ }, To = /* @__PURE__ */ R({
575
690
  __name: "chip-selector",
576
691
  props: {
577
692
  items: { default: () => [] },
@@ -583,7 +698,7 @@ const le = /* @__PURE__ */ T({
583
698
  },
584
699
  emits: ["update:items"],
585
700
  setup(e, { emit: n }) {
586
- const t = e, o = n, l = E([...t.items]), a = E(!1), i = V(() => t.options.filter((r) => !l.value.includes(r.value)));
701
+ const t = e, o = n, l = E([...t.items]), a = E(!1), i = k(() => t.options.filter((r) => !l.value.includes(r.value)));
587
702
  function c(r) {
588
703
  const u = r;
589
704
  l.value = u, o("update:items", u);
@@ -594,14 +709,14 @@ const le = /* @__PURE__ */ T({
594
709
  l.value = u, o("update:items", u);
595
710
  }
596
711
  }
597
- return N(
712
+ return X(
598
713
  () => t.items,
599
714
  (r) => {
600
715
  JSON.stringify(r) !== JSON.stringify(l.value) && (l.value = [...r]);
601
716
  },
602
717
  { deep: !0 }
603
- ), (r, u) => (f(), b("div", go, [
604
- R(Gt, {
718
+ ), (r, u) => (f(), g("div", Eo, [
719
+ T(Yt, {
605
720
  items: l.value,
606
721
  "onUpdate:items": [
607
722
  u[0] || (u[0] = (d) => l.value = d),
@@ -614,42 +729,42 @@ const le = /* @__PURE__ */ T({
614
729
  type: "button",
615
730
  class: "add-button",
616
731
  onClick: u[1] || (u[1] = (d) => a.value = !0)
617
- }, D(e.addButtonText), 1),
618
- R(ft, {
732
+ }, O(e.addButtonText), 1),
733
+ T(mt, {
619
734
  modelValue: a.value,
620
735
  "onUpdate:modelValue": u[2] || (u[2] = (d) => a.value = d),
621
736
  title: e.dialogTitle || `Add ${e.label}`,
622
737
  "close-on-backdrop": ""
623
738
  }, {
624
- default: K(() => [
625
- _("div", bo, [
626
- (f(!0), b(J, null, pe(i.value, (d) => (f(), b("button", {
739
+ default: N(() => [
740
+ _("div", $o, [
741
+ (f(!0), g(Q, null, pe(i.value, (d) => (f(), g("button", {
627
742
  key: d.value,
628
743
  type: "button",
629
744
  class: "option-btn",
630
745
  onClick: (v) => s(d.value)
631
- }, "+ " + D(d.label), 9, yo))), 128))
746
+ }, "+ " + O(d.label), 9, Lo))), 128))
632
747
  ]),
633
- i.value.length === 0 ? (f(), b("div", wo, "All options already selected")) : L("", !0)
748
+ i.value.length === 0 ? (f(), g("div", So, "All options already selected")) : L("", !0)
634
749
  ]),
635
750
  _: 1
636
751
  }, 8, ["modelValue", "title"])
637
752
  ]));
638
753
  }
639
- }), xo = /* @__PURE__ */ B(_o, [["__scopeId", "data-v-f2e1b880"]]), Le = Math.min, Z = Math.max, Ke = Math.round, We = Math.floor, re = (e) => ({
754
+ }), Ro = /* @__PURE__ */ A(To, [["__scopeId", "data-v-f2e1b880"]]), Se = Math.min, Z = Math.max, Ne = Math.round, We = Math.floor, ce = (e) => ({
640
755
  x: e,
641
756
  y: e
642
- }), ko = {
757
+ }), Ao = {
643
758
  left: "right",
644
759
  right: "left",
645
760
  bottom: "top",
646
761
  top: "bottom"
647
- }, Co = {
762
+ }, Oo = {
648
763
  start: "end",
649
764
  end: "start"
650
765
  };
651
- function Tt(e, n, t) {
652
- return Z(e, Le(n, t));
766
+ function At(e, n, t) {
767
+ return Z(e, Se(n, t));
653
768
  }
654
769
  function Pe(e, n) {
655
770
  return typeof e == "function" ? e(n) : e;
@@ -660,54 +775,54 @@ function ge(e) {
660
775
  function Fe(e) {
661
776
  return e.split("-")[1];
662
777
  }
663
- function Jt(e) {
778
+ function Qt(e) {
664
779
  return e === "x" ? "y" : "x";
665
780
  }
666
- function Qt(e) {
781
+ function Zt(e) {
667
782
  return e === "y" ? "height" : "width";
668
783
  }
669
- const Vo = /* @__PURE__ */ new Set(["top", "bottom"]);
784
+ const Do = /* @__PURE__ */ new Set(["top", "bottom"]);
670
785
  function me(e) {
671
- return Vo.has(ge(e)) ? "y" : "x";
786
+ return Do.has(ge(e)) ? "y" : "x";
672
787
  }
673
- function Zt(e) {
674
- return Jt(me(e));
788
+ function en(e) {
789
+ return Qt(me(e));
675
790
  }
676
- function Eo(e, n, t) {
791
+ function Bo(e, n, t) {
677
792
  t === void 0 && (t = !1);
678
- const o = Fe(e), l = Zt(e), a = Qt(l);
793
+ const o = Fe(e), l = en(e), a = Zt(l);
679
794
  let i = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
680
- return n.reference[a] > n.floating[a] && (i = Ne(i)), [i, Ne(i)];
795
+ return n.reference[a] > n.floating[a] && (i = Ke(i)), [i, Ke(i)];
681
796
  }
682
- function $o(e) {
683
- const n = Ne(e);
684
- return [st(e), n, st(n)];
797
+ function jo(e) {
798
+ const n = Ke(e);
799
+ return [rt(e), n, rt(n)];
685
800
  }
686
- function st(e) {
687
- return e.replace(/start|end/g, (n) => Co[n]);
801
+ function rt(e) {
802
+ return e.replace(/start|end/g, (n) => Oo[n]);
688
803
  }
689
- const Rt = ["left", "right"], At = ["right", "left"], Lo = ["top", "bottom"], So = ["bottom", "top"];
690
- function To(e, n, t) {
804
+ const Ot = ["left", "right"], Dt = ["right", "left"], Mo = ["top", "bottom"], Po = ["bottom", "top"];
805
+ function Fo(e, n, t) {
691
806
  switch (e) {
692
807
  case "top":
693
808
  case "bottom":
694
- return t ? n ? At : Rt : n ? Rt : At;
809
+ return t ? n ? Dt : Ot : n ? Ot : Dt;
695
810
  case "left":
696
811
  case "right":
697
- return n ? Lo : So;
812
+ return n ? Mo : Po;
698
813
  default:
699
814
  return [];
700
815
  }
701
816
  }
702
- function Ro(e, n, t, o) {
817
+ function zo(e, n, t, o) {
703
818
  const l = Fe(e);
704
- let a = To(ge(e), t === "start", o);
705
- return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(st)))), a;
819
+ let a = Fo(ge(e), t === "start", o);
820
+ return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(rt)))), a;
706
821
  }
707
- function Ne(e) {
708
- return e.replace(/left|right|bottom|top/g, (n) => ko[n]);
822
+ function Ke(e) {
823
+ return e.replace(/left|right|bottom|top/g, (n) => Ao[n]);
709
824
  }
710
- function Ao(e) {
825
+ function Io(e) {
711
826
  return {
712
827
  top: 0,
713
828
  right: 0,
@@ -716,8 +831,8 @@ function Ao(e) {
716
831
  ...e
717
832
  };
718
833
  }
719
- function Oo(e) {
720
- return typeof e != "number" ? Ao(e) : {
834
+ function Ho(e) {
835
+ return typeof e != "number" ? Io(e) : {
721
836
  top: e,
722
837
  right: e,
723
838
  bottom: e,
@@ -742,12 +857,12 @@ function Xe(e) {
742
857
  y: t
743
858
  };
744
859
  }
745
- function Ot(e, n, t) {
860
+ function Bt(e, n, t) {
746
861
  let {
747
862
  reference: o,
748
863
  floating: l
749
864
  } = e;
750
- const a = me(n), i = Zt(n), c = Qt(i), s = ge(n), r = a === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, v = o[c] / 2 - l[c] / 2;
865
+ const a = me(n), i = en(n), c = Zt(i), s = ge(n), r = a === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, v = o[c] / 2 - l[c] / 2;
751
866
  let p;
752
867
  switch (s) {
753
868
  case "top":
@@ -790,7 +905,7 @@ function Ot(e, n, t) {
790
905
  }
791
906
  return p;
792
907
  }
793
- const Do = async (e, n, t) => {
908
+ const Wo = async (e, n, t) => {
794
909
  const {
795
910
  placement: o = "bottom",
796
911
  strategy: l = "absolute",
@@ -804,17 +919,17 @@ const Do = async (e, n, t) => {
804
919
  }), {
805
920
  x: u,
806
921
  y: d
807
- } = Ot(r, o, s), v = o, p = {}, h = 0;
922
+ } = Bt(r, o, s), v = o, p = {}, h = 0;
808
923
  for (let y = 0; y < c.length; y++) {
809
924
  const {
810
925
  name: m,
811
- fn: g
926
+ fn: b
812
927
  } = c[y], {
813
928
  x,
814
929
  y: w,
815
930
  data: S,
816
931
  reset: j
817
- } = await g({
932
+ } = await b({
818
933
  x: u,
819
934
  y: d,
820
935
  initialPlacement: o,
@@ -841,7 +956,7 @@ const Do = async (e, n, t) => {
841
956
  }) : j.rects), {
842
957
  x: u,
843
958
  y: d
844
- } = Ot(r, v, s)), y = -1);
959
+ } = Bt(r, v, s)), y = -1);
845
960
  }
846
961
  return {
847
962
  x: u,
@@ -851,7 +966,7 @@ const Do = async (e, n, t) => {
851
966
  middlewareData: p
852
967
  };
853
968
  };
854
- async function vt(e, n) {
969
+ async function pt(e, n) {
855
970
  var t;
856
971
  n === void 0 && (n = {});
857
972
  const {
@@ -867,7 +982,7 @@ async function vt(e, n) {
867
982
  elementContext: d = "floating",
868
983
  altBoundary: v = !1,
869
984
  padding: p = 0
870
- } = Pe(n, e), h = Oo(p), m = c[v ? d === "floating" ? "reference" : "floating" : d], g = Xe(await a.getClippingRect({
985
+ } = Pe(n, e), h = Ho(p), m = c[v ? d === "floating" ? "reference" : "floating" : d], b = Xe(await a.getClippingRect({
871
986
  element: (t = await (a.isElement == null ? void 0 : a.isElement(m))) == null || t ? m : m.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
872
987
  boundary: r,
873
988
  rootBoundary: u,
@@ -890,13 +1005,13 @@ async function vt(e, n) {
890
1005
  strategy: s
891
1006
  }) : x);
892
1007
  return {
893
- top: (g.top - j.top + h.top) / S.y,
894
- bottom: (j.bottom - g.bottom + h.bottom) / S.y,
895
- left: (g.left - j.left + h.left) / S.x,
896
- right: (j.right - g.right + h.right) / S.x
1008
+ top: (b.top - j.top + h.top) / S.y,
1009
+ bottom: (j.bottom - b.bottom + h.bottom) / S.y,
1010
+ left: (b.left - j.left + h.left) / S.x,
1011
+ right: (j.right - b.right + h.right) / S.x
897
1012
  };
898
1013
  }
899
- const Bo = function(e) {
1014
+ const Uo = function(e) {
900
1015
  return e === void 0 && (e = {}), {
901
1016
  name: "flip",
902
1017
  options: e,
@@ -920,23 +1035,23 @@ const Bo = function(e) {
920
1035
  } = Pe(e, n);
921
1036
  if ((t = a.arrow) != null && t.alignmentOffset)
922
1037
  return {};
923
- const g = ge(l), x = me(c), w = ge(c) === c, S = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), j = v || (w || !y ? [Ne(c)] : $o(c)), H = h !== "none";
924
- !v && H && j.push(...Ro(c, y, h, S));
925
- const k = [c, ...j], C = await vt(n, m), A = [];
1038
+ const b = ge(l), x = me(c), w = ge(c) === c, S = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), j = v || (w || !y ? [Ke(c)] : jo(c)), H = h !== "none";
1039
+ !v && H && j.push(...zo(c, y, h, S));
1040
+ const C = [c, ...j], V = await pt(n, m), D = [];
926
1041
  let F = ((o = a.flip) == null ? void 0 : o.overflows) || [];
927
- if (u && A.push(C[g]), d) {
928
- const ve = Eo(l, i, S);
929
- A.push(C[ve[0]], C[ve[1]]);
1042
+ if (u && D.push(V[b]), d) {
1043
+ const ve = Bo(l, i, S);
1044
+ D.push(V[ve[0]], V[ve[1]]);
930
1045
  }
931
1046
  if (F = [...F, {
932
1047
  placement: l,
933
- overflows: A
934
- }], !A.every((ve) => ve <= 0)) {
935
- var W, te;
936
- const ve = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ke = k[ve];
1048
+ overflows: D
1049
+ }], !D.every((ve) => ve <= 0)) {
1050
+ var W, ne;
1051
+ const ve = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ke = C[ve];
937
1052
  if (ke && (!(d === "alignment" ? x !== me(ke) : !1) || // We leave the current main axis only if every placement on that axis
938
1053
  // overflows the main axis.
939
- F.every((Y) => me(Y.placement) === x ? Y.overflows[0] > 0 : !0)))
1054
+ F.every((J) => me(J.placement) === x ? J.overflows[0] > 0 : !0)))
940
1055
  return {
941
1056
  data: {
942
1057
  index: ve,
@@ -946,44 +1061,44 @@ const Bo = function(e) {
946
1061
  placement: ke
947
1062
  }
948
1063
  };
949
- let ne = (te = F.filter((se) => se.overflows[0] <= 0).sort((se, Y) => se.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : te.placement;
950
- if (!ne)
1064
+ let oe = (ne = F.filter((re) => re.overflows[0] <= 0).sort((re, J) => re.overflows[1] - J.overflows[1])[0]) == null ? void 0 : ne.placement;
1065
+ if (!oe)
951
1066
  switch (p) {
952
1067
  case "bestFit": {
953
1068
  var fe;
954
- const se = (fe = F.filter((Y) => {
1069
+ const re = (fe = F.filter((J) => {
955
1070
  if (H) {
956
- const oe = me(Y.placement);
957
- return oe === x || // Create a bias to the `y` side axis due to horizontal
1071
+ const le = me(J.placement);
1072
+ return le === x || // Create a bias to the `y` side axis due to horizontal
958
1073
  // reading directions favoring greater width.
959
- oe === "y";
1074
+ le === "y";
960
1075
  }
961
1076
  return !0;
962
- }).map((Y) => [Y.placement, Y.overflows.filter((oe) => oe > 0).reduce((oe, He) => oe + He, 0)]).sort((Y, oe) => Y[1] - oe[1])[0]) == null ? void 0 : fe[0];
963
- se && (ne = se);
1077
+ }).map((J) => [J.placement, J.overflows.filter((le) => le > 0).reduce((le, He) => le + He, 0)]).sort((J, le) => J[1] - le[1])[0]) == null ? void 0 : fe[0];
1078
+ re && (oe = re);
964
1079
  break;
965
1080
  }
966
1081
  case "initialPlacement":
967
- ne = c;
1082
+ oe = c;
968
1083
  break;
969
1084
  }
970
- if (l !== ne)
1085
+ if (l !== oe)
971
1086
  return {
972
1087
  reset: {
973
- placement: ne
1088
+ placement: oe
974
1089
  }
975
1090
  };
976
1091
  }
977
1092
  return {};
978
1093
  }
979
1094
  };
980
- }, jo = /* @__PURE__ */ new Set(["left", "top"]);
981
- async function Mo(e, n) {
1095
+ }, No = /* @__PURE__ */ new Set(["left", "top"]);
1096
+ async function Ko(e, n) {
982
1097
  const {
983
1098
  placement: t,
984
1099
  platform: o,
985
1100
  elements: l
986
- } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = ge(t), c = Fe(t), s = me(t) === "y", r = jo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = Pe(n, e);
1101
+ } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = ge(t), c = Fe(t), s = me(t) === "y", r = No.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = Pe(n, e);
987
1102
  let {
988
1103
  mainAxis: v,
989
1104
  crossAxis: p,
@@ -1005,7 +1120,7 @@ async function Mo(e, n) {
1005
1120
  y: p * u
1006
1121
  };
1007
1122
  }
1008
- const Po = function(e) {
1123
+ const Xo = function(e) {
1009
1124
  return e === void 0 && (e = 0), {
1010
1125
  name: "offset",
1011
1126
  options: e,
@@ -1016,7 +1131,7 @@ const Po = function(e) {
1016
1131
  y: a,
1017
1132
  placement: i,
1018
1133
  middlewareData: c
1019
- } = n, s = await Mo(n, e);
1134
+ } = n, s = await Ko(n, e);
1020
1135
  return i === ((t = c.offset) == null ? void 0 : t.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
1021
1136
  x: l + s.x,
1022
1137
  y: a + s.y,
@@ -1027,7 +1142,7 @@ const Po = function(e) {
1027
1142
  };
1028
1143
  }
1029
1144
  };
1030
- }, Fo = function(e) {
1145
+ }, qo = function(e) {
1031
1146
  return e === void 0 && (e = {}), {
1032
1147
  name: "shift",
1033
1148
  options: e,
@@ -1042,11 +1157,11 @@ const Po = function(e) {
1042
1157
  limiter: c = {
1043
1158
  fn: (m) => {
1044
1159
  let {
1045
- x: g,
1160
+ x: b,
1046
1161
  y: x
1047
1162
  } = m;
1048
1163
  return {
1049
- x: g,
1164
+ x: b,
1050
1165
  y: x
1051
1166
  };
1052
1167
  }
@@ -1055,15 +1170,15 @@ const Po = function(e) {
1055
1170
  } = Pe(e, n), r = {
1056
1171
  x: t,
1057
1172
  y: o
1058
- }, u = await vt(n, s), d = me(ge(l)), v = Jt(d);
1173
+ }, u = await pt(n, s), d = me(ge(l)), v = Qt(d);
1059
1174
  let p = r[v], h = r[d];
1060
1175
  if (a) {
1061
- const m = v === "y" ? "top" : "left", g = v === "y" ? "bottom" : "right", x = p + u[m], w = p - u[g];
1062
- p = Tt(x, p, w);
1176
+ const m = v === "y" ? "top" : "left", b = v === "y" ? "bottom" : "right", x = p + u[m], w = p - u[b];
1177
+ p = At(x, p, w);
1063
1178
  }
1064
1179
  if (i) {
1065
- const m = d === "y" ? "top" : "left", g = d === "y" ? "bottom" : "right", x = h + u[m], w = h - u[g];
1066
- h = Tt(x, h, w);
1180
+ const m = d === "y" ? "top" : "left", b = d === "y" ? "bottom" : "right", x = h + u[m], w = h - u[b];
1181
+ h = At(x, h, w);
1067
1182
  }
1068
1183
  const y = c.fn({
1069
1184
  ...n,
@@ -1083,7 +1198,7 @@ const Po = function(e) {
1083
1198
  };
1084
1199
  }
1085
1200
  };
1086
- }, zo = function(e) {
1201
+ }, Go = function(e) {
1087
1202
  return e === void 0 && (e = {}), {
1088
1203
  name: "size",
1089
1204
  options: e,
@@ -1098,25 +1213,25 @@ const Po = function(e) {
1098
1213
  apply: s = () => {
1099
1214
  },
1100
1215
  ...r
1101
- } = Pe(e, n), u = await vt(n, r), d = ge(l), v = Fe(l), p = me(l) === "y", {
1216
+ } = Pe(e, n), u = await pt(n, r), d = ge(l), v = Fe(l), p = me(l) === "y", {
1102
1217
  width: h,
1103
1218
  height: y
1104
1219
  } = a.floating;
1105
- let m, g;
1106
- d === "top" || d === "bottom" ? (m = d, g = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (g = d, m = v === "end" ? "top" : "bottom");
1107
- const x = y - u.top - u.bottom, w = h - u.left - u.right, S = Le(y - u[m], x), j = Le(h - u[g], w), H = !n.middlewareData.shift;
1108
- let k = S, C = j;
1109
- if ((t = n.middlewareData.shift) != null && t.enabled.x && (C = w), (o = n.middlewareData.shift) != null && o.enabled.y && (k = x), H && !v) {
1110
- const F = Z(u.left, 0), W = Z(u.right, 0), te = Z(u.top, 0), fe = Z(u.bottom, 0);
1111
- p ? C = h - 2 * (F !== 0 || W !== 0 ? F + W : Z(u.left, u.right)) : k = y - 2 * (te !== 0 || fe !== 0 ? te + fe : Z(u.top, u.bottom));
1220
+ let m, b;
1221
+ d === "top" || d === "bottom" ? (m = d, b = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (b = d, m = v === "end" ? "top" : "bottom");
1222
+ const x = y - u.top - u.bottom, w = h - u.left - u.right, S = Se(y - u[m], x), j = Se(h - u[b], w), H = !n.middlewareData.shift;
1223
+ let C = S, V = j;
1224
+ if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = w), (o = n.middlewareData.shift) != null && o.enabled.y && (C = x), H && !v) {
1225
+ const F = Z(u.left, 0), W = Z(u.right, 0), ne = Z(u.top, 0), fe = Z(u.bottom, 0);
1226
+ p ? V = h - 2 * (F !== 0 || W !== 0 ? F + W : Z(u.left, u.right)) : C = y - 2 * (ne !== 0 || fe !== 0 ? ne + fe : Z(u.top, u.bottom));
1112
1227
  }
1113
1228
  await s({
1114
1229
  ...n,
1115
- availableWidth: C,
1116
- availableHeight: k
1230
+ availableWidth: V,
1231
+ availableHeight: C
1117
1232
  });
1118
- const A = await i.getDimensions(c.floating);
1119
- return h !== A.width || y !== A.height ? {
1233
+ const D = await i.getDimensions(c.floating);
1234
+ return h !== D.width || y !== D.height ? {
1120
1235
  reset: {
1121
1236
  rects: !0
1122
1237
  }
@@ -1128,7 +1243,7 @@ function Ye() {
1128
1243
  return typeof window < "u";
1129
1244
  }
1130
1245
  function xe(e) {
1131
- return mt(e) ? (e.nodeName || "").toLowerCase() : "#document";
1246
+ return ht(e) ? (e.nodeName || "").toLowerCase() : "#document";
1132
1247
  }
1133
1248
  function ee(e) {
1134
1249
  var n;
@@ -1136,21 +1251,21 @@ function ee(e) {
1136
1251
  }
1137
1252
  function de(e) {
1138
1253
  var n;
1139
- return (n = (mt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
1254
+ return (n = (ht(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
1140
1255
  }
1141
- function mt(e) {
1256
+ function ht(e) {
1142
1257
  return Ye() ? e instanceof Node || e instanceof ee(e).Node : !1;
1143
1258
  }
1144
1259
  function ae(e) {
1145
1260
  return Ye() ? e instanceof Element || e instanceof ee(e).Element : !1;
1146
1261
  }
1147
- function ce(e) {
1262
+ function ue(e) {
1148
1263
  return Ye() ? e instanceof HTMLElement || e instanceof ee(e).HTMLElement : !1;
1149
1264
  }
1150
- function Dt(e) {
1265
+ function jt(e) {
1151
1266
  return !Ye() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ee(e).ShadowRoot;
1152
1267
  }
1153
- const Io = /* @__PURE__ */ new Set(["inline", "contents"]);
1268
+ const Yo = /* @__PURE__ */ new Set(["inline", "contents"]);
1154
1269
  function ze(e) {
1155
1270
  const {
1156
1271
  overflow: n,
@@ -1158,15 +1273,15 @@ function ze(e) {
1158
1273
  overflowY: o,
1159
1274
  display: l
1160
1275
  } = ie(e);
1161
- return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !Io.has(l);
1276
+ return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !Yo.has(l);
1162
1277
  }
1163
- const Ho = /* @__PURE__ */ new Set(["table", "td", "th"]);
1164
- function Wo(e) {
1165
- return Ho.has(xe(e));
1278
+ const Jo = /* @__PURE__ */ new Set(["table", "td", "th"]);
1279
+ function Qo(e) {
1280
+ return Jo.has(xe(e));
1166
1281
  }
1167
- const Uo = [":popover-open", ":modal"];
1282
+ const Zo = [":popover-open", ":modal"];
1168
1283
  function Je(e) {
1169
- return Uo.some((n) => {
1284
+ return Zo.some((n) => {
1170
1285
  try {
1171
1286
  return e.matches(n);
1172
1287
  } catch {
@@ -1174,15 +1289,15 @@ function Je(e) {
1174
1289
  }
1175
1290
  });
1176
1291
  }
1177
- const Ko = ["transform", "translate", "scale", "rotate", "perspective"], No = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Xo = ["paint", "layout", "strict", "content"];
1178
- function pt(e) {
1179
- const n = ht(), t = ae(e) ? ie(e) : e;
1180
- return Ko.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || No.some((o) => (t.willChange || "").includes(o)) || Xo.some((o) => (t.contain || "").includes(o));
1292
+ const el = ["transform", "translate", "scale", "rotate", "perspective"], tl = ["transform", "translate", "scale", "rotate", "perspective", "filter"], nl = ["paint", "layout", "strict", "content"];
1293
+ function gt(e) {
1294
+ const n = bt(), t = ae(e) ? ie(e) : e;
1295
+ return el.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || tl.some((o) => (t.willChange || "").includes(o)) || nl.some((o) => (t.contain || "").includes(o));
1181
1296
  }
1182
- function qo(e) {
1297
+ function ol(e) {
1183
1298
  let n = be(e);
1184
- for (; ce(n) && !Se(n); ) {
1185
- if (pt(n))
1299
+ for (; ue(n) && !Te(n); ) {
1300
+ if (gt(n))
1186
1301
  return n;
1187
1302
  if (Je(n))
1188
1303
  return null;
@@ -1190,12 +1305,12 @@ function qo(e) {
1190
1305
  }
1191
1306
  return null;
1192
1307
  }
1193
- function ht() {
1308
+ function bt() {
1194
1309
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1195
1310
  }
1196
- const Go = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1197
- function Se(e) {
1198
- return Go.has(xe(e));
1311
+ const ll = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1312
+ function Te(e) {
1313
+ return ll.has(xe(e));
1199
1314
  }
1200
1315
  function ie(e) {
1201
1316
  return ee(e).getComputedStyle(e);
@@ -1216,80 +1331,80 @@ function be(e) {
1216
1331
  // Step into the shadow DOM of the parent of a slotted node.
1217
1332
  e.assignedSlot || // DOM Element detected.
1218
1333
  e.parentNode || // ShadowRoot detected.
1219
- Dt(e) && e.host || // Fallback.
1334
+ jt(e) && e.host || // Fallback.
1220
1335
  de(e)
1221
1336
  );
1222
- return Dt(n) ? n.host : n;
1337
+ return jt(n) ? n.host : n;
1223
1338
  }
1224
- function en(e) {
1339
+ function tn(e) {
1225
1340
  const n = be(e);
1226
- return Se(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : ce(n) && ze(n) ? n : en(n);
1341
+ return Te(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : ue(n) && ze(n) ? n : tn(n);
1227
1342
  }
1228
1343
  function je(e, n, t) {
1229
1344
  var o;
1230
1345
  n === void 0 && (n = []), t === void 0 && (t = !0);
1231
- const l = en(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = ee(l);
1346
+ const l = tn(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = ee(l);
1232
1347
  if (a) {
1233
- const c = rt(i);
1348
+ const c = ct(i);
1234
1349
  return n.concat(i, i.visualViewport || [], ze(l) ? l : [], c && t ? je(c) : []);
1235
1350
  }
1236
1351
  return n.concat(l, je(l, [], t));
1237
1352
  }
1238
- function rt(e) {
1353
+ function ct(e) {
1239
1354
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1240
1355
  }
1241
- function tn(e) {
1356
+ function nn(e) {
1242
1357
  const n = ie(e);
1243
1358
  let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
1244
- const l = ce(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = Ke(t) !== a || Ke(o) !== i;
1359
+ const l = ue(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = Ne(t) !== a || Ne(o) !== i;
1245
1360
  return c && (t = a, o = i), {
1246
1361
  width: t,
1247
1362
  height: o,
1248
1363
  $: c
1249
1364
  };
1250
1365
  }
1251
- function gt(e) {
1366
+ function yt(e) {
1252
1367
  return ae(e) ? e : e.contextElement;
1253
1368
  }
1254
1369
  function Ee(e) {
1255
- const n = gt(e);
1256
- if (!ce(n))
1257
- return re(1);
1370
+ const n = yt(e);
1371
+ if (!ue(n))
1372
+ return ce(1);
1258
1373
  const t = n.getBoundingClientRect(), {
1259
1374
  width: o,
1260
1375
  height: l,
1261
1376
  $: a
1262
- } = tn(n);
1263
- let i = (a ? Ke(t.width) : t.width) / o, c = (a ? Ke(t.height) : t.height) / l;
1377
+ } = nn(n);
1378
+ let i = (a ? Ne(t.width) : t.width) / o, c = (a ? Ne(t.height) : t.height) / l;
1264
1379
  return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1265
1380
  x: i,
1266
1381
  y: c
1267
1382
  };
1268
1383
  }
1269
- const Yo = /* @__PURE__ */ re(0);
1270
- function nn(e) {
1384
+ const al = /* @__PURE__ */ ce(0);
1385
+ function on(e) {
1271
1386
  const n = ee(e);
1272
- return !ht() || !n.visualViewport ? Yo : {
1387
+ return !bt() || !n.visualViewport ? al : {
1273
1388
  x: n.visualViewport.offsetLeft,
1274
1389
  y: n.visualViewport.offsetTop
1275
1390
  };
1276
1391
  }
1277
- function Jo(e, n, t) {
1392
+ function il(e, n, t) {
1278
1393
  return n === void 0 && (n = !1), !t || n && t !== ee(e) ? !1 : n;
1279
1394
  }
1280
1395
  function _e(e, n, t, o) {
1281
1396
  n === void 0 && (n = !1), t === void 0 && (t = !1);
1282
- const l = e.getBoundingClientRect(), a = gt(e);
1283
- let i = re(1);
1397
+ const l = e.getBoundingClientRect(), a = yt(e);
1398
+ let i = ce(1);
1284
1399
  n && (o ? ae(o) && (i = Ee(o)) : i = Ee(e));
1285
- const c = Jo(a, t, o) ? nn(a) : re(0);
1400
+ const c = il(a, t, o) ? on(a) : ce(0);
1286
1401
  let s = (l.left + c.x) / i.x, r = (l.top + c.y) / i.y, u = l.width / i.x, d = l.height / i.y;
1287
1402
  if (a) {
1288
1403
  const v = ee(a), p = o && ae(o) ? ee(o) : o;
1289
- let h = v, y = rt(h);
1404
+ let h = v, y = ct(h);
1290
1405
  for (; y && o && p !== h; ) {
1291
- const m = Ee(y), g = y.getBoundingClientRect(), x = ie(y), w = g.left + (y.clientLeft + parseFloat(x.paddingLeft)) * m.x, S = g.top + (y.clientTop + parseFloat(x.paddingTop)) * m.y;
1292
- s *= m.x, r *= m.y, u *= m.x, d *= m.y, s += w, r += S, h = ee(y), y = rt(h);
1406
+ const m = Ee(y), b = y.getBoundingClientRect(), x = ie(y), w = b.left + (y.clientLeft + parseFloat(x.paddingLeft)) * m.x, S = b.top + (y.clientTop + parseFloat(x.paddingTop)) * m.y;
1407
+ s *= m.x, r *= m.y, u *= m.x, d *= m.y, s += w, r += S, h = ee(y), y = ct(h);
1293
1408
  }
1294
1409
  }
1295
1410
  return Xe({
@@ -1303,14 +1418,14 @@ function Ze(e, n) {
1303
1418
  const t = Qe(e).scrollLeft;
1304
1419
  return n ? n.left + t : _e(de(e)).left + t;
1305
1420
  }
1306
- function on(e, n) {
1421
+ function ln(e, n) {
1307
1422
  const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Ze(e, t), l = t.top + n.scrollTop;
1308
1423
  return {
1309
1424
  x: o,
1310
1425
  y: l
1311
1426
  };
1312
1427
  }
1313
- function Qo(e) {
1428
+ function sl(e) {
1314
1429
  let {
1315
1430
  elements: n,
1316
1431
  rect: t,
@@ -1323,13 +1438,13 @@ function Qo(e) {
1323
1438
  let s = {
1324
1439
  scrollLeft: 0,
1325
1440
  scrollTop: 0
1326
- }, r = re(1);
1327
- const u = re(0), d = ce(o);
1328
- if ((d || !d && !a) && ((xe(o) !== "body" || ze(i)) && (s = Qe(o)), ce(o))) {
1441
+ }, r = ce(1);
1442
+ const u = ce(0), d = ue(o);
1443
+ if ((d || !d && !a) && ((xe(o) !== "body" || ze(i)) && (s = Qe(o)), ue(o))) {
1329
1444
  const p = _e(o);
1330
1445
  r = Ee(o), u.x = p.x + o.clientLeft, u.y = p.y + o.clientTop;
1331
1446
  }
1332
- const v = i && !d && !a ? on(i, s) : re(0);
1447
+ const v = i && !d && !a ? ln(i, s) : ce(0);
1333
1448
  return {
1334
1449
  width: t.width * r.x,
1335
1450
  height: t.height * r.y,
@@ -1337,10 +1452,10 @@ function Qo(e) {
1337
1452
  y: t.y * r.y - s.scrollTop * r.y + u.y + v.y
1338
1453
  };
1339
1454
  }
1340
- function Zo(e) {
1455
+ function rl(e) {
1341
1456
  return Array.from(e.getClientRects());
1342
1457
  }
1343
- function el(e) {
1458
+ function cl(e) {
1344
1459
  const n = de(e), t = Qe(e), o = e.ownerDocument.body, l = Z(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), a = Z(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1345
1460
  let i = -t.scrollLeft + Ze(e);
1346
1461
  const c = -t.scrollTop;
@@ -1351,20 +1466,20 @@ function el(e) {
1351
1466
  y: c
1352
1467
  };
1353
1468
  }
1354
- const Bt = 25;
1355
- function tl(e, n) {
1469
+ const Mt = 25;
1470
+ function ul(e, n) {
1356
1471
  const t = ee(e), o = de(e), l = t.visualViewport;
1357
1472
  let a = o.clientWidth, i = o.clientHeight, c = 0, s = 0;
1358
1473
  if (l) {
1359
1474
  a = l.width, i = l.height;
1360
- const u = ht();
1475
+ const u = bt();
1361
1476
  (!u || u && n === "fixed") && (c = l.offsetLeft, s = l.offsetTop);
1362
1477
  }
1363
1478
  const r = Ze(o);
1364
1479
  if (r <= 0) {
1365
1480
  const u = o.ownerDocument, d = u.body, v = getComputedStyle(d), p = u.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, h = Math.abs(o.clientWidth - d.clientWidth - p);
1366
- h <= Bt && (a -= h);
1367
- } else r <= Bt && (a += r);
1481
+ h <= Mt && (a -= h);
1482
+ } else r <= Mt && (a += r);
1368
1483
  return {
1369
1484
  width: a,
1370
1485
  height: i,
@@ -1372,9 +1487,9 @@ function tl(e, n) {
1372
1487
  y: s
1373
1488
  };
1374
1489
  }
1375
- const nl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1376
- function ol(e, n) {
1377
- const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = ce(e) ? Ee(e) : re(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1490
+ const dl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1491
+ function fl(e, n) {
1492
+ const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = ue(e) ? Ee(e) : ce(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1378
1493
  return {
1379
1494
  width: i,
1380
1495
  height: c,
@@ -1382,16 +1497,16 @@ function ol(e, n) {
1382
1497
  y: r
1383
1498
  };
1384
1499
  }
1385
- function jt(e, n, t) {
1500
+ function Pt(e, n, t) {
1386
1501
  let o;
1387
1502
  if (n === "viewport")
1388
- o = tl(e, t);
1503
+ o = ul(e, t);
1389
1504
  else if (n === "document")
1390
- o = el(de(e));
1505
+ o = cl(de(e));
1391
1506
  else if (ae(n))
1392
- o = ol(n, t);
1507
+ o = fl(n, t);
1393
1508
  else {
1394
- const l = nn(e);
1509
+ const l = on(e);
1395
1510
  o = {
1396
1511
  x: n.x - l.x,
1397
1512
  y: n.y - l.y,
@@ -1401,34 +1516,34 @@ function jt(e, n, t) {
1401
1516
  }
1402
1517
  return Xe(o);
1403
1518
  }
1404
- function ln(e, n) {
1519
+ function an(e, n) {
1405
1520
  const t = be(e);
1406
- return t === n || !ae(t) || Se(t) ? !1 : ie(t).position === "fixed" || ln(t, n);
1521
+ return t === n || !ae(t) || Te(t) ? !1 : ie(t).position === "fixed" || an(t, n);
1407
1522
  }
1408
- function ll(e, n) {
1523
+ function vl(e, n) {
1409
1524
  const t = n.get(e);
1410
1525
  if (t)
1411
1526
  return t;
1412
1527
  let o = je(e, [], !1).filter((c) => ae(c) && xe(c) !== "body"), l = null;
1413
1528
  const a = ie(e).position === "fixed";
1414
1529
  let i = a ? be(e) : e;
1415
- for (; ae(i) && !Se(i); ) {
1416
- const c = ie(i), s = pt(i);
1417
- !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && nl.has(l.position) || ze(i) && !s && ln(e, i)) ? o = o.filter((u) => u !== i) : l = c, i = be(i);
1530
+ for (; ae(i) && !Te(i); ) {
1531
+ const c = ie(i), s = gt(i);
1532
+ !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && dl.has(l.position) || ze(i) && !s && an(e, i)) ? o = o.filter((u) => u !== i) : l = c, i = be(i);
1418
1533
  }
1419
1534
  return n.set(e, o), o;
1420
1535
  }
1421
- function al(e) {
1536
+ function ml(e) {
1422
1537
  let {
1423
1538
  element: n,
1424
1539
  boundary: t,
1425
1540
  rootBoundary: o,
1426
1541
  strategy: l
1427
1542
  } = e;
1428
- const i = [...t === "clippingAncestors" ? Je(n) ? [] : ll(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1429
- const d = jt(n, u, l);
1430
- return r.top = Z(d.top, r.top), r.right = Le(d.right, r.right), r.bottom = Le(d.bottom, r.bottom), r.left = Z(d.left, r.left), r;
1431
- }, jt(n, c, l));
1543
+ const i = [...t === "clippingAncestors" ? Je(n) ? [] : vl(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1544
+ const d = Pt(n, u, l);
1545
+ return r.top = Z(d.top, r.top), r.right = Se(d.right, r.right), r.bottom = Se(d.bottom, r.bottom), r.left = Z(d.left, r.left), r;
1546
+ }, Pt(n, c, l));
1432
1547
  return {
1433
1548
  width: s.right - s.left,
1434
1549
  height: s.bottom - s.top,
@@ -1436,23 +1551,23 @@ function al(e) {
1436
1551
  y: s.top
1437
1552
  };
1438
1553
  }
1439
- function il(e) {
1554
+ function pl(e) {
1440
1555
  const {
1441
1556
  width: n,
1442
1557
  height: t
1443
- } = tn(e);
1558
+ } = nn(e);
1444
1559
  return {
1445
1560
  width: n,
1446
1561
  height: t
1447
1562
  };
1448
1563
  }
1449
- function sl(e, n, t) {
1450
- const o = ce(n), l = de(n), a = t === "fixed", i = _e(e, !0, a, n);
1564
+ function hl(e, n, t) {
1565
+ const o = ue(n), l = de(n), a = t === "fixed", i = _e(e, !0, a, n);
1451
1566
  let c = {
1452
1567
  scrollLeft: 0,
1453
1568
  scrollTop: 0
1454
1569
  };
1455
- const s = re(0);
1570
+ const s = ce(0);
1456
1571
  function r() {
1457
1572
  s.x = Ze(l);
1458
1573
  }
@@ -1462,7 +1577,7 @@ function sl(e, n, t) {
1462
1577
  s.x = p.x + n.clientLeft, s.y = p.y + n.clientTop;
1463
1578
  } else l && r();
1464
1579
  a && !o && l && r();
1465
- const u = l && !o && !a ? on(l, c) : re(0), d = i.left + c.scrollLeft - s.x - u.x, v = i.top + c.scrollTop - s.y - u.y;
1580
+ const u = l && !o && !a ? ln(l, c) : ce(0), d = i.left + c.scrollLeft - s.x - u.x, v = i.top + c.scrollTop - s.y - u.y;
1466
1581
  return {
1467
1582
  x: d,
1468
1583
  y: v,
@@ -1470,39 +1585,39 @@ function sl(e, n, t) {
1470
1585
  height: i.height
1471
1586
  };
1472
1587
  }
1473
- function at(e) {
1588
+ function it(e) {
1474
1589
  return ie(e).position === "static";
1475
1590
  }
1476
- function Mt(e, n) {
1477
- if (!ce(e) || ie(e).position === "fixed")
1591
+ function Ft(e, n) {
1592
+ if (!ue(e) || ie(e).position === "fixed")
1478
1593
  return null;
1479
1594
  if (n)
1480
1595
  return n(e);
1481
1596
  let t = e.offsetParent;
1482
1597
  return de(e) === t && (t = t.ownerDocument.body), t;
1483
1598
  }
1484
- function an(e, n) {
1599
+ function sn(e, n) {
1485
1600
  const t = ee(e);
1486
1601
  if (Je(e))
1487
1602
  return t;
1488
- if (!ce(e)) {
1603
+ if (!ue(e)) {
1489
1604
  let l = be(e);
1490
- for (; l && !Se(l); ) {
1491
- if (ae(l) && !at(l))
1605
+ for (; l && !Te(l); ) {
1606
+ if (ae(l) && !it(l))
1492
1607
  return l;
1493
1608
  l = be(l);
1494
1609
  }
1495
1610
  return t;
1496
1611
  }
1497
- let o = Mt(e, n);
1498
- for (; o && Wo(o) && at(o); )
1499
- o = Mt(o, n);
1500
- return o && Se(o) && at(o) && !pt(o) ? t : o || qo(e) || t;
1612
+ let o = Ft(e, n);
1613
+ for (; o && Qo(o) && it(o); )
1614
+ o = Ft(o, n);
1615
+ return o && Te(o) && it(o) && !gt(o) ? t : o || ol(e) || t;
1501
1616
  }
1502
- const rl = async function(e) {
1503
- const n = this.getOffsetParent || an, t = this.getDimensions, o = await t(e.floating);
1617
+ const gl = async function(e) {
1618
+ const n = this.getOffsetParent || sn, t = this.getDimensions, o = await t(e.floating);
1504
1619
  return {
1505
- reference: sl(e.reference, await n(e.floating), e.strategy),
1620
+ reference: hl(e.reference, await n(e.floating), e.strategy),
1506
1621
  floating: {
1507
1622
  x: 0,
1508
1623
  y: 0,
@@ -1511,25 +1626,25 @@ const rl = async function(e) {
1511
1626
  }
1512
1627
  };
1513
1628
  };
1514
- function cl(e) {
1629
+ function bl(e) {
1515
1630
  return ie(e).direction === "rtl";
1516
1631
  }
1517
- const ul = {
1518
- convertOffsetParentRelativeRectToViewportRelativeRect: Qo,
1632
+ const yl = {
1633
+ convertOffsetParentRelativeRectToViewportRelativeRect: sl,
1519
1634
  getDocumentElement: de,
1520
- getClippingRect: al,
1521
- getOffsetParent: an,
1522
- getElementRects: rl,
1523
- getClientRects: Zo,
1524
- getDimensions: il,
1635
+ getClippingRect: ml,
1636
+ getOffsetParent: sn,
1637
+ getElementRects: gl,
1638
+ getClientRects: rl,
1639
+ getDimensions: pl,
1525
1640
  getScale: Ee,
1526
1641
  isElement: ae,
1527
- isRTL: cl
1642
+ isRTL: bl
1528
1643
  };
1529
- function sn(e, n) {
1644
+ function rn(e, n) {
1530
1645
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
1531
1646
  }
1532
- function dl(e, n) {
1647
+ function wl(e, n) {
1533
1648
  let t = null, o;
1534
1649
  const l = de(e);
1535
1650
  function a() {
@@ -1546,21 +1661,21 @@ function dl(e, n) {
1546
1661
  } = r;
1547
1662
  if (c || n(), !v || !p)
1548
1663
  return;
1549
- const h = We(d), y = We(l.clientWidth - (u + v)), m = We(l.clientHeight - (d + p)), g = We(u), w = {
1550
- rootMargin: -h + "px " + -y + "px " + -m + "px " + -g + "px",
1551
- threshold: Z(0, Le(1, s)) || 1
1664
+ const h = We(d), y = We(l.clientWidth - (u + v)), m = We(l.clientHeight - (d + p)), b = We(u), w = {
1665
+ rootMargin: -h + "px " + -y + "px " + -m + "px " + -b + "px",
1666
+ threshold: Z(0, Se(1, s)) || 1
1552
1667
  };
1553
1668
  let S = !0;
1554
1669
  function j(H) {
1555
- const k = H[0].intersectionRatio;
1556
- if (k !== s) {
1670
+ const C = H[0].intersectionRatio;
1671
+ if (C !== s) {
1557
1672
  if (!S)
1558
1673
  return i();
1559
- k ? i(!1, k) : o = setTimeout(() => {
1674
+ C ? i(!1, C) : o = setTimeout(() => {
1560
1675
  i(!1, 1e-7);
1561
1676
  }, 1e3);
1562
1677
  }
1563
- k === 1 && !sn(r, e.getBoundingClientRect()) && i(), S = !1;
1678
+ C === 1 && !rn(r, e.getBoundingClientRect()) && i(), S = !1;
1564
1679
  }
1565
1680
  try {
1566
1681
  t = new IntersectionObserver(j, {
@@ -1583,16 +1698,16 @@ function et(e, n, t, o) {
1583
1698
  elementResize: i = typeof ResizeObserver == "function",
1584
1699
  layoutShift: c = typeof IntersectionObserver == "function",
1585
1700
  animationFrame: s = !1
1586
- } = o, r = gt(e), u = l || a ? [...r ? je(r) : [], ...je(n)] : [];
1587
- u.forEach((g) => {
1588
- l && g.addEventListener("scroll", t, {
1701
+ } = o, r = yt(e), u = l || a ? [...r ? je(r) : [], ...je(n)] : [];
1702
+ u.forEach((b) => {
1703
+ l && b.addEventListener("scroll", t, {
1589
1704
  passive: !0
1590
- }), a && g.addEventListener("resize", t);
1705
+ }), a && b.addEventListener("resize", t);
1591
1706
  });
1592
- const d = r && c ? dl(r, t) : null;
1707
+ const d = r && c ? wl(r, t) : null;
1593
1708
  let v = -1, p = null;
1594
- i && (p = new ResizeObserver((g) => {
1595
- let [x] = g;
1709
+ i && (p = new ResizeObserver((b) => {
1710
+ let [x] = b;
1596
1711
  x && x.target === r && p && (p.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
1597
1712
  var w;
1598
1713
  (w = p) == null || w.observe(n);
@@ -1601,95 +1716,95 @@ function et(e, n, t, o) {
1601
1716
  let h, y = s ? _e(e) : null;
1602
1717
  s && m();
1603
1718
  function m() {
1604
- const g = _e(e);
1605
- y && !sn(y, g) && t(), y = g, h = requestAnimationFrame(m);
1719
+ const b = _e(e);
1720
+ y && !rn(y, b) && t(), y = b, h = requestAnimationFrame(m);
1606
1721
  }
1607
1722
  return t(), () => {
1608
- var g;
1723
+ var b;
1609
1724
  u.forEach((x) => {
1610
1725
  l && x.removeEventListener("scroll", t), a && x.removeEventListener("resize", t);
1611
- }), d?.(), (g = p) == null || g.disconnect(), p = null, s && cancelAnimationFrame(h);
1726
+ }), d?.(), (b = p) == null || b.disconnect(), p = null, s && cancelAnimationFrame(h);
1612
1727
  };
1613
1728
  }
1614
- const tt = Po, nt = Fo, ot = Bo, fl = zo, rn = (e, n, t) => {
1729
+ const tt = Xo, nt = qo, ot = Uo, _l = Go, cn = (e, n, t) => {
1615
1730
  const o = /* @__PURE__ */ new Map(), l = {
1616
- platform: ul,
1731
+ platform: yl,
1617
1732
  ...t
1618
1733
  }, a = {
1619
1734
  ...l.platform,
1620
1735
  _c: o
1621
1736
  };
1622
- return Do(e, n, {
1737
+ return Wo(e, n, {
1623
1738
  ...l,
1624
1739
  platform: a
1625
1740
  });
1626
1741
  };
1627
- function vl(e) {
1742
+ function xl(e) {
1628
1743
  return e != null && typeof e == "object" && "$el" in e;
1629
1744
  }
1630
- function Pt(e) {
1631
- if (vl(e)) {
1745
+ function zt(e) {
1746
+ if (xl(e)) {
1632
1747
  const n = e.$el;
1633
- return mt(n) && xe(n) === "#comment" ? null : n;
1748
+ return ht(n) && xe(n) === "#comment" ? null : n;
1634
1749
  }
1635
1750
  return e;
1636
1751
  }
1637
- function Oe(e) {
1752
+ function De(e) {
1638
1753
  return typeof e == "function" ? e() : $(e);
1639
1754
  }
1640
- function cn(e) {
1755
+ function un(e) {
1641
1756
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1642
1757
  }
1643
- function Ft(e, n) {
1644
- const t = cn(e);
1758
+ function It(e, n) {
1759
+ const t = un(e);
1645
1760
  return Math.round(n * t) / t;
1646
1761
  }
1647
- function bt(e, n, t) {
1762
+ function wt(e, n, t) {
1648
1763
  t === void 0 && (t = {});
1649
- const o = t.whileElementsMounted, l = V(() => {
1650
- var k;
1651
- return (k = Oe(t.open)) != null ? k : !0;
1652
- }), a = V(() => Oe(t.middleware)), i = V(() => {
1653
- var k;
1654
- return (k = Oe(t.placement)) != null ? k : "bottom";
1655
- }), c = V(() => {
1656
- var k;
1657
- return (k = Oe(t.strategy)) != null ? k : "absolute";
1658
- }), s = V(() => {
1659
- var k;
1660
- return (k = Oe(t.transform)) != null ? k : !0;
1661
- }), r = V(() => Pt(e.value)), u = V(() => Pt(n.value)), d = E(0), v = E(0), p = E(c.value), h = E(i.value), y = wn({}), m = E(!1), g = V(() => {
1662
- const k = {
1764
+ const o = t.whileElementsMounted, l = k(() => {
1765
+ var C;
1766
+ return (C = De(t.open)) != null ? C : !0;
1767
+ }), a = k(() => De(t.middleware)), i = k(() => {
1768
+ var C;
1769
+ return (C = De(t.placement)) != null ? C : "bottom";
1770
+ }), c = k(() => {
1771
+ var C;
1772
+ return (C = De(t.strategy)) != null ? C : "absolute";
1773
+ }), s = k(() => {
1774
+ var C;
1775
+ return (C = De(t.transform)) != null ? C : !0;
1776
+ }), r = k(() => zt(e.value)), u = k(() => zt(n.value)), d = E(0), v = E(0), p = E(c.value), h = E(i.value), y = _n({}), m = E(!1), b = k(() => {
1777
+ const C = {
1663
1778
  position: p.value,
1664
1779
  left: "0",
1665
1780
  top: "0"
1666
1781
  };
1667
1782
  if (!u.value)
1668
- return k;
1669
- const C = Ft(u.value, d.value), A = Ft(u.value, v.value);
1783
+ return C;
1784
+ const V = It(u.value, d.value), D = It(u.value, v.value);
1670
1785
  return s.value ? {
1671
- ...k,
1672
- transform: "translate(" + C + "px, " + A + "px)",
1673
- ...cn(u.value) >= 1.5 && {
1786
+ ...C,
1787
+ transform: "translate(" + V + "px, " + D + "px)",
1788
+ ...un(u.value) >= 1.5 && {
1674
1789
  willChange: "transform"
1675
1790
  }
1676
1791
  } : {
1677
1792
  position: p.value,
1678
- left: C + "px",
1679
- top: A + "px"
1793
+ left: V + "px",
1794
+ top: D + "px"
1680
1795
  };
1681
1796
  });
1682
1797
  let x;
1683
1798
  function w() {
1684
1799
  if (r.value == null || u.value == null)
1685
1800
  return;
1686
- const k = l.value;
1687
- rn(r.value, u.value, {
1801
+ const C = l.value;
1802
+ cn(r.value, u.value, {
1688
1803
  middleware: a.value,
1689
1804
  placement: i.value,
1690
1805
  strategy: c.value
1691
- }).then((C) => {
1692
- d.value = C.x, v.value = C.y, p.value = C.strategy, h.value = C.placement, y.value = C.middlewareData, m.value = k !== !1;
1806
+ }).then((V) => {
1807
+ d.value = V.x, v.value = V.y, p.value = V.strategy, h.value = V.placement, y.value = V.middlewareData, m.value = C !== !1;
1693
1808
  });
1694
1809
  }
1695
1810
  function S() {
@@ -1708,31 +1823,31 @@ function bt(e, n, t) {
1708
1823
  function H() {
1709
1824
  l.value || (m.value = !1);
1710
1825
  }
1711
- return N([a, i, c, l], w, {
1826
+ return X([a, i, c, l], w, {
1712
1827
  flush: "sync"
1713
- }), N([r, u], j, {
1828
+ }), X([r, u], j, {
1714
1829
  flush: "sync"
1715
- }), N(l, H, {
1830
+ }), X(l, H, {
1716
1831
  flush: "sync"
1717
- }), _n() && xn(S), {
1832
+ }), xn() && kn(S), {
1718
1833
  x: Ce(d),
1719
1834
  y: Ce(v),
1720
1835
  strategy: Ce(p),
1721
1836
  placement: Ce(h),
1722
1837
  middlewareData: Ce(y),
1723
1838
  isPositioned: Ce(m),
1724
- floatingStyles: g,
1839
+ floatingStyles: b,
1725
1840
  update: w
1726
1841
  };
1727
1842
  }
1728
- const ml = /* @__PURE__ */ T({
1843
+ const kl = /* @__PURE__ */ R({
1729
1844
  inheritAttrs: !1,
1730
1845
  __name: "dot-menu",
1731
1846
  props: {
1732
1847
  icon: {}
1733
1848
  },
1734
1849
  setup(e) {
1735
- const n = e, t = E(!1), o = E(null), l = E(null), a = V(() => n.icon ?? z.DOT_MENU), { floatingStyles: i } = bt(o, l, {
1850
+ const n = e, t = E(!1), o = E(null), l = E(null), a = k(() => n.icon ?? z.DOT_MENU), { floatingStyles: i } = wt(o, l, {
1736
1851
  placement: "bottom-end",
1737
1852
  middleware: [tt(8), ot(), nt({ padding: 8 })],
1738
1853
  whileElementsMounted: et
@@ -1745,12 +1860,12 @@ const ml = /* @__PURE__ */ T({
1745
1860
  d && (d.closest(".menu-action") || d.closest('[role="menuitem"]') || d.closest("a")) && s();
1746
1861
  };
1747
1862
  return (u, d) => {
1748
- const v = X("VjButton"), p = X("VjMenu");
1749
- return f(), b(J, null, [
1863
+ const v = q("VjButton"), p = q("VjMenu");
1864
+ return f(), g(Q, null, [
1750
1865
  _("div", {
1751
1866
  class: I(["dot-menu-container", u.$attrs.class])
1752
1867
  }, [
1753
- R(v, {
1868
+ T(v, {
1754
1869
  ref_key: "buttonRef",
1755
1870
  ref: o,
1756
1871
  class: "dot-menu",
@@ -1758,8 +1873,8 @@ const ml = /* @__PURE__ */ T({
1758
1873
  icon: a.value,
1759
1874
  onClick: c
1760
1875
  }, null, 8, ["icon"]),
1761
- R(De, { name: "menu" }, {
1762
- default: K(() => [
1876
+ T(Le, { name: "menu" }, {
1877
+ default: N(() => [
1763
1878
  t.value ? (f(), P(p, {
1764
1879
  key: 0,
1765
1880
  ref_key: "floatingRef",
@@ -1769,7 +1884,7 @@ const ml = /* @__PURE__ */ T({
1769
1884
  onClose: s,
1770
1885
  onClickCapture: r
1771
1886
  }, {
1772
- default: K(() => [
1887
+ default: N(() => [
1773
1888
  M(u.$slots, "default", {}, void 0, !0)
1774
1889
  ]),
1775
1890
  _: 3
@@ -1779,7 +1894,7 @@ const ml = /* @__PURE__ */ T({
1779
1894
  })
1780
1895
  ], 2),
1781
1896
  (f(), P(Me, { to: "body" }, [
1782
- t.value ? (f(), b("div", {
1897
+ t.value ? (f(), g("div", {
1783
1898
  key: 0,
1784
1899
  class: "menu-backdrop",
1785
1900
  onClick: s
@@ -1788,7 +1903,7 @@ const ml = /* @__PURE__ */ T({
1788
1903
  ], 64);
1789
1904
  };
1790
1905
  }
1791
- }), pl = /* @__PURE__ */ B(ml, [["__scopeId", "data-v-3c400bfd"]]), hl = /* @__PURE__ */ T({
1906
+ }), Cl = /* @__PURE__ */ A(kl, [["__scopeId", "data-v-3c400bfd"]]), Vl = /* @__PURE__ */ R({
1792
1907
  __name: "link-button",
1793
1908
  props: {
1794
1909
  label: {},
@@ -1800,27 +1915,27 @@ const ml = /* @__PURE__ */ T({
1800
1915
  disabled: { type: Boolean }
1801
1916
  },
1802
1917
  setup(e) {
1803
- const n = e, t = q.S, o = V(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1918
+ const n = e, t = K.S, o = k(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1804
1919
  return (l, a) => {
1805
- const i = X("router-link");
1920
+ const i = q("router-link");
1806
1921
  return f(), P(i, {
1807
1922
  to: e.to,
1808
1923
  class: I(["button", o.value]),
1809
1924
  disabled: e.disabled
1810
1925
  }, {
1811
- default: K(() => [
1812
- e.icon ? (f(), P(le, {
1926
+ default: N(() => [
1927
+ e.icon ? (f(), P(te, {
1813
1928
  key: 0,
1814
1929
  icon: e.icon,
1815
1930
  size: $(t)
1816
1931
  }, null, 8, ["icon", "size"])) : L("", !0),
1817
- Ue(" " + D(e.label), 1)
1932
+ Ue(" " + O(e.label), 1)
1818
1933
  ]),
1819
1934
  _: 1
1820
1935
  }, 8, ["to", "class", "disabled"]);
1821
1936
  };
1822
1937
  }
1823
- }), gl = /* @__PURE__ */ B(hl, [["__scopeId", "data-v-bd3cf2f5"]]), bl = ["disabled"], yl = { class: "menu-action--icon" }, wl = /* @__PURE__ */ T({
1938
+ }), El = /* @__PURE__ */ A(Vl, [["__scopeId", "data-v-bd3cf2f5"]]), $l = ["disabled"], Ll = { class: "menu-action--icon" }, Sl = /* @__PURE__ */ R({
1824
1939
  __name: "menu-action",
1825
1940
  props: {
1826
1941
  label: {},
@@ -1828,35 +1943,35 @@ const ml = /* @__PURE__ */ T({
1828
1943
  disabled: { type: Boolean }
1829
1944
  },
1830
1945
  setup(e) {
1831
- const n = q.S;
1832
- return (t, o) => (f(), b("button", {
1946
+ const n = K.S;
1947
+ return (t, o) => (f(), g("button", {
1833
1948
  class: "menu-action button tertiary",
1834
1949
  disabled: e.disabled
1835
1950
  }, [
1836
- _("span", yl, [
1837
- e.icon ? (f(), P(le, {
1951
+ _("span", Ll, [
1952
+ e.icon ? (f(), P(te, {
1838
1953
  key: 0,
1839
1954
  icon: e.icon,
1840
1955
  size: $(n)
1841
1956
  }, null, 8, ["icon", "size"])) : L("", !0)
1842
1957
  ]),
1843
- _("span", null, D(e.label), 1)
1844
- ], 8, bl));
1958
+ _("span", null, O(e.label), 1)
1959
+ ], 8, $l));
1845
1960
  }
1846
- }), _l = /* @__PURE__ */ B(wl, [["__scopeId", "data-v-07850995"]]), xl = {}, kl = { class: "menu" };
1847
- function Cl(e, n) {
1848
- return f(), b("div", kl, [
1961
+ }), Tl = /* @__PURE__ */ A(Sl, [["__scopeId", "data-v-07850995"]]), Rl = {}, Al = { class: "menu" };
1962
+ function Ol(e, n) {
1963
+ return f(), g("div", Al, [
1849
1964
  M(e.$slots, "default", {}, void 0, !0)
1850
1965
  ]);
1851
1966
  }
1852
- const Vl = /* @__PURE__ */ B(xl, [["render", Cl], ["__scopeId", "data-v-259fec08"]]), El = {
1967
+ const Dl = /* @__PURE__ */ A(Rl, [["render", Ol], ["__scopeId", "data-v-259fec08"]]), Bl = {
1853
1968
  mounted(e) {
1854
1969
  e.classList.add("compact");
1855
1970
  },
1856
1971
  unmounted(e) {
1857
1972
  e.classList.remove("compact");
1858
1973
  }
1859
- }, un = [
1974
+ }, dn = [
1860
1975
  'input:not([disabled]):not([type="hidden"])',
1861
1976
  "select:not([disabled])",
1862
1977
  "textarea:not([disabled])",
@@ -1865,27 +1980,27 @@ const Vl = /* @__PURE__ */ B(xl, [["render", Cl], ["__scopeId", "data-v-259fec08
1865
1980
  '[tabindex]:not([tabindex="-1"])',
1866
1981
  '[contenteditable="true"]'
1867
1982
  ].join(", ");
1868
- function $l(e) {
1869
- const n = e.querySelectorAll(un);
1983
+ function jl(e) {
1984
+ const n = e.querySelectorAll(dn);
1870
1985
  for (const t of Array.from(n))
1871
1986
  if (t.offsetParent !== null || t.getClientRects().length > 0)
1872
1987
  return t;
1873
1988
  return null;
1874
1989
  }
1875
- const Ll = {
1990
+ const Ml = {
1876
1991
  mounted(e, n) {
1877
1992
  const t = typeof n.value == "number" ? n.value : 0, o = () => {
1878
- if (e.matches(un)) {
1993
+ if (e.matches(dn)) {
1879
1994
  e.focus();
1880
1995
  return;
1881
1996
  }
1882
- const l = $l(e);
1997
+ const l = jl(e);
1883
1998
  l && l.focus();
1884
1999
  };
1885
2000
  t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
1886
2001
  }
1887
2002
  };
1888
- class yt {
2003
+ class _t {
1889
2004
  static _instance = null;
1890
2005
  observer = null;
1891
2006
  targets = /* @__PURE__ */ new Map();
@@ -1893,7 +2008,7 @@ class yt {
1893
2008
  this.init();
1894
2009
  }
1895
2010
  static get instance() {
1896
- return this._instance || (this._instance = new yt()), this._instance;
2011
+ return this._instance || (this._instance = new _t()), this._instance;
1897
2012
  }
1898
2013
  init() {
1899
2014
  typeof window < "u" && "ResizeObserver" in window ? this.observer = new ResizeObserver((n) => {
@@ -1948,7 +2063,7 @@ class yt {
1948
2063
  o && (t && o.callbacks.delete(t), (!t || o.callbacks.size === 0) && (this.targets.delete(n), this.observer && this.observer.unobserve(n), o.currentClass && n.classList && n.classList.remove(o.currentClass)));
1949
2064
  }
1950
2065
  }
1951
- const Ve = yt.instance, Sl = {
2066
+ const Ve = _t.instance, Pl = {
1952
2067
  mounted(e, n) {
1953
2068
  const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, a = typeof t == "object" && !!t?.immediate, i = e;
1954
2069
  i.__resize_cb = o, i.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: a });
@@ -1965,20 +2080,20 @@ const Ve = yt.instance, Sl = {
1965
2080
  const n = e, t = n.__resize_cb;
1966
2081
  t && Ve.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
1967
2082
  }
1968
- }, Tl = {}, Rl = { class: "spinner" };
1969
- function Al(e, n) {
1970
- return f(), b("div", Rl);
2083
+ }, Fl = {}, zl = { class: "spinner" };
2084
+ function Il(e, n) {
2085
+ return f(), g("div", zl);
1971
2086
  }
1972
- const dn = /* @__PURE__ */ B(Tl, [["render", Al], ["__scopeId", "data-v-b957fb82"]]), Ol = 200, Dl = 120;
1973
- function zt(e, n) {
2087
+ const fn = /* @__PURE__ */ A(Fl, [["render", Il], ["__scopeId", "data-v-b957fb82"]]), Hl = 200, Wl = 120;
2088
+ function Ht(e, n) {
1974
2089
  const t = n.querySelector(".vj-loading-inner");
1975
2090
  if (!t) return;
1976
2091
  const o = e.clientHeight || e.getBoundingClientRect().height;
1977
2092
  t.classList.remove("vj-loading-inner--small", "vj-loading-inner--minimal");
1978
2093
  const l = t.querySelector(".vj-loading-text");
1979
- l && l.classList.remove("vj-loading-text--hidden"), o <= Dl ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= Ol && t.classList.add("vj-loading-inner--small");
2094
+ l && l.classList.remove("vj-loading-text--hidden"), o <= Wl ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= Hl && t.classList.add("vj-loading-inner--small");
1980
2095
  }
1981
- const Bl = {
2096
+ const Ul = {
1982
2097
  mounted(e, n) {
1983
2098
  let t, o;
1984
2099
  if (typeof n.value == "object" && n.value !== null) {
@@ -1993,9 +2108,9 @@ const Bl = {
1993
2108
  const c = document.createElement("div"), s = document.createElement("div");
1994
2109
  s.className = "vj-loading-inner", s.appendChild(c);
1995
2110
  let r;
1996
- o && (r = document.createElement("div"), r.className = "vj-loading-text", r.textContent = o, s.appendChild(r)), i.appendChild(s), zt(e, i);
1997
- const u = R(dn);
1998
- St(u, c), a.spinnerVnode = u, a.spinnerContainer = c, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(i);
2111
+ o && (r = document.createElement("div"), r.className = "vj-loading-text", r.textContent = o, s.appendChild(r)), i.appendChild(s), Ht(e, i);
2112
+ const u = T(fn);
2113
+ Rt(u, c), a.spinnerVnode = u, a.spinnerContainer = c, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(i);
1999
2114
  const d = e;
2000
2115
  d.__vjLoading = a;
2001
2116
  },
@@ -2020,34 +2135,34 @@ const Bl = {
2020
2135
  r.className = "vj-loading-text", r.textContent = i, c.appendChild(r);
2021
2136
  }
2022
2137
  }
2023
- zt(e, l);
2138
+ Ht(e, l);
2024
2139
  },
2025
2140
  unmounted(e) {
2026
2141
  const n = e, t = n.__vjLoading;
2027
2142
  if (!t) return;
2028
2143
  const { overlay: o, originalPosition: l } = t;
2029
2144
  try {
2030
- t.spinnerContainer && St(null, t.spinnerContainer);
2145
+ t.spinnerContainer && Rt(null, t.spinnerContainer);
2031
2146
  } catch {
2032
2147
  }
2033
2148
  o && o.parentElement === e && e.removeChild(o), l !== void 0 && (e.style.position = l), n.__vjLoading = void 0;
2034
2149
  }
2035
- }, jl = (e) => {
2150
+ }, Nl = (e) => {
2036
2151
  const n = document.createElement("div");
2037
2152
  return n.className = "vj-tooltip", n.setAttribute("role", "tooltip"), n.style.position = "absolute", n.style.top = "0", n.style.left = "0", n.style.pointerEvents = "none", n.style.zIndex = "10000", n.textContent = e, n;
2038
2153
  };
2039
- function It(e) {
2154
+ function Wt(e) {
2040
2155
  if (!e) return { content: "", placement: "top", delay: 200 };
2041
2156
  if (typeof e.value == "string") return { content: e.value, placement: "top", delay: 200 };
2042
2157
  const t = e.value || {}, o = t.placement ?? "top";
2043
2158
  return { content: t.content ?? "", placement: o, delay: t.delay ?? 200 };
2044
2159
  }
2045
- const fn = {
2160
+ const vn = {
2046
2161
  mounted(e, n) {
2047
- const t = It(n), o = jl(t.content);
2162
+ const t = Wt(n), o = Nl(t.content);
2048
2163
  document.body.appendChild(o);
2049
2164
  const l = { tooltip: o, cleanup: void 0, showTimer: null, hideTimer: null }, a = async () => {
2050
- const p = await rn(e, o, {
2165
+ const p = await cn(e, o, {
2051
2166
  placement: t.placement,
2052
2167
  middleware: [tt(6), ot(), nt({ padding: 8 })]
2053
2168
  }), { x: h, y } = p;
@@ -2083,7 +2198,7 @@ const fn = {
2083
2198
  updated(e, n) {
2084
2199
  const t = e.__vjTooltip;
2085
2200
  if (!t) return;
2086
- const o = It(n);
2201
+ const o = Wt(n);
2087
2202
  t.tooltip.textContent = o.content;
2088
2203
  },
2089
2204
  unmounted(e) {
@@ -2096,7 +2211,7 @@ const fn = {
2096
2211
  n.tooltip && n.tooltip.parentElement && n.tooltip.parentElement.removeChild(n.tooltip), n.onPointerEnter && e.removeEventListener("pointerenter", n.onPointerEnter), n.onPointerLeave && e.removeEventListener("pointerleave", n.onPointerLeave), n.onFocus && e.removeEventListener("focus", n.onFocus), n.onBlur && e.removeEventListener("blur", n.onBlur), n.onPointerDown && e.removeEventListener("pointerdown", n.onPointerDown), n.docHandler && document.removeEventListener("pointerdown", n.docHandler), e.__vjTooltip = void 0;
2097
2212
  }
2098
2213
  }
2099
- }, Ml = { class: "notification__container" }, Pl = { class: "notification__icon" }, Fl = { class: "notification__message" }, zl = { class: "notification__title" }, Il = { class: "notification__text" }, Hl = { class: "notification__action" }, Wl = /* @__PURE__ */ T({
2214
+ }, Kl = { class: "notification__container" }, Xl = { class: "notification__icon" }, ql = { class: "notification__message" }, Gl = { class: "notification__title" }, Yl = { class: "notification__text" }, Jl = { class: "notification__action" }, Ql = /* @__PURE__ */ R({
2100
2215
  __name: "notification",
2101
2216
  props: {
2102
2217
  type: {},
@@ -2105,7 +2220,7 @@ const fn = {
2105
2220
  },
2106
2221
  emits: ["close"],
2107
2222
  setup(e, { emit: n }) {
2108
- const t = e, o = n, l = V(() => {
2223
+ const t = e, o = n, l = k(() => {
2109
2224
  switch (t.type) {
2110
2225
  case "success":
2111
2226
  return z.CHECK;
@@ -2119,23 +2234,23 @@ const fn = {
2119
2234
  }), a = () => {
2120
2235
  o("close");
2121
2236
  };
2122
- return (i, c) => (f(), b("div", {
2237
+ return (i, c) => (f(), g("div", {
2123
2238
  class: I(["notification", `notification--${e.type}`]),
2124
2239
  onClick: a
2125
2240
  }, [
2126
- _("div", Ml, [
2241
+ _("div", Kl, [
2127
2242
  M(i.$slots, "default", {}, () => [
2128
- _("div", Pl, [
2129
- R(le, { icon: l.value }, null, 8, ["icon"])
2243
+ _("div", Xl, [
2244
+ T(te, { icon: l.value }, null, 8, ["icon"])
2130
2245
  ]),
2131
- _("div", Fl, [
2132
- _("div", zl, D(e.title), 1),
2133
- _("div", Il, D(e.message), 1)
2246
+ _("div", ql, [
2247
+ _("div", Gl, O(e.title), 1),
2248
+ _("div", Yl, O(e.message), 1)
2134
2249
  ])
2135
2250
  ], !0)
2136
2251
  ]),
2137
- _("div", Hl, [
2138
- R(Ge, {
2252
+ _("div", Jl, [
2253
+ T(Ge, {
2139
2254
  class: "notification__close compact",
2140
2255
  icon: $(z).CLOSE,
2141
2256
  onClick: U(a, ["stop"]),
@@ -2144,17 +2259,17 @@ const fn = {
2144
2259
  ])
2145
2260
  ], 2));
2146
2261
  }
2147
- }), wt = /* @__PURE__ */ B(Wl, [["__scopeId", "data-v-f9ee0c98"]]), Ul = { class: "page" }, Kl = { class: "header-left" }, Nl = { class: "header-titles" }, Xl = { key: 0 }, ql = { class: "header-actions" }, Gl = {
2262
+ }), xt = /* @__PURE__ */ A(Ql, [["__scopeId", "data-v-f9ee0c98"]]), Zl = { class: "page" }, ea = { class: "header-left" }, ta = { class: "header-titles" }, na = { key: 0 }, oa = { class: "header-actions" }, la = {
2148
2263
  key: 0,
2149
2264
  class: "page-error"
2150
- }, Yl = {
2265
+ }, aa = {
2151
2266
  key: 1,
2152
2267
  class: "contents"
2153
- }, Jl = {
2268
+ }, ia = {
2154
2269
  key: 2,
2155
2270
  class: "actions"
2156
- }, Ql = { key: 3 }, Zl = { key: 0 }, ea = /* @__PURE__ */ T({
2157
- directives: { loading: Bl },
2271
+ }, sa = { key: 3 }, ra = { key: 0 }, ca = /* @__PURE__ */ R({
2272
+ directives: { loading: Ul },
2158
2273
  __name: "page",
2159
2274
  props: {
2160
2275
  title: {},
@@ -2167,12 +2282,12 @@ const fn = {
2167
2282
  },
2168
2283
  emits: ["back"],
2169
2284
  setup(e, { emit: n }) {
2170
- const t = e, o = V(() => t.flow?.running?.value ?? !1), l = V(() => t.flow?.error?.value ?? null), a = V(() => t.errorMessage ?? (l.value ? String(l.value) : null));
2285
+ const t = e, o = k(() => t.flow?.running?.value ?? !1), l = k(() => t.flow?.error?.value ?? null), a = k(() => t.errorMessage ?? (l.value ? String(l.value) : null));
2171
2286
  return (i, c) => {
2172
- const s = X("VjButton"), r = Xt("loading");
2173
- return ut((f(), b("div", Ul, [
2287
+ const s = q("VjButton"), r = qt("loading");
2288
+ return ft((f(), g("div", Zl, [
2174
2289
  _("header", null, [
2175
- _("div", Kl, [
2290
+ _("div", ea, [
2176
2291
  e.backLabel ? (f(), P(s, {
2177
2292
  key: 0,
2178
2293
  tertiary: "",
@@ -2180,38 +2295,38 @@ const fn = {
2180
2295
  onClick: c[0] || (c[0] = (u) => i.$emit("back")),
2181
2296
  size: "small"
2182
2297
  }, null, 8, ["icon"])) : L("", !0),
2183
- _("div", Nl, [
2184
- _("h1", null, D(e.title), 1),
2185
- e.subTitle ? (f(), b("h2", Xl, D(e.subTitle), 1)) : L("", !0)
2298
+ _("div", ta, [
2299
+ _("h1", null, O(e.title), 1),
2300
+ e.subTitle ? (f(), g("h2", na, O(e.subTitle), 1)) : L("", !0)
2186
2301
  ])
2187
2302
  ]),
2188
- _("div", ql, [
2303
+ _("div", oa, [
2189
2304
  M(i.$slots, "headerActions", {}, void 0, !0)
2190
2305
  ])
2191
2306
  ]),
2192
2307
  _("main", {
2193
2308
  class: I({ scrollable: e.scrollable })
2194
2309
  }, [
2195
- a.value ? (f(), b("div", Gl, [
2310
+ a.value ? (f(), g("div", la, [
2196
2311
  M(i.$slots, "error", {}, () => [
2197
- R(wt, {
2312
+ T(xt, {
2198
2313
  type: "error",
2199
2314
  title: a.value,
2200
2315
  message: a.value
2201
2316
  }, null, 8, ["title", "message"])
2202
2317
  ], !0)
2203
2318
  ])) : L("", !0),
2204
- a.value ? L("", !0) : (f(), b("div", Yl, [
2319
+ a.value ? L("", !0) : (f(), g("div", aa, [
2205
2320
  M(i.$slots, "default", {}, void 0, !0)
2206
2321
  ])),
2207
- a.value ? L("", !0) : (f(), b("div", Jl, [
2322
+ a.value ? L("", !0) : (f(), g("div", ia, [
2208
2323
  M(i.$slots, "actions", {}, void 0, !0)
2209
2324
  ])),
2210
- i.$slots.flexFooter ? (f(), b("footer", Ql, [
2325
+ i.$slots.flexFooter ? (f(), g("footer", sa, [
2211
2326
  M(i.$slots, "flexFooter", {}, void 0, !0)
2212
2327
  ])) : L("", !0)
2213
2328
  ], 2),
2214
- i.$slots.footer ? (f(), b("footer", Zl, [
2329
+ i.$slots.footer ? (f(), g("footer", ra, [
2215
2330
  M(i.$slots, "footer", {}, void 0, !0)
2216
2331
  ])) : L("", !0)
2217
2332
  ])), [
@@ -2219,12 +2334,12 @@ const fn = {
2219
2334
  ]);
2220
2335
  };
2221
2336
  }
2222
- }), ta = /* @__PURE__ */ B(ea, [["__scopeId", "data-v-3e724555"]]), na = {
2337
+ }), ua = /* @__PURE__ */ A(ca, [["__scopeId", "data-v-3e724555"]]), da = {
2223
2338
  class: "paginator-info",
2224
2339
  "aria-live": "polite"
2225
- }, oa = /* @__PURE__ */ T({
2340
+ }, fa = /* @__PURE__ */ R({
2226
2341
  __name: "paginator",
2227
- props: /* @__PURE__ */ Q({
2342
+ props: /* @__PURE__ */ Y({
2228
2343
  totalItems: {},
2229
2344
  pageSize: {},
2230
2345
  labels: {}
@@ -2232,23 +2347,23 @@ const fn = {
2232
2347
  modelValue: { required: !0 },
2233
2348
  modelModifiers: {}
2234
2349
  }),
2235
- emits: /* @__PURE__ */ Q(["change"], ["update:modelValue"]),
2350
+ emits: /* @__PURE__ */ Y(["change"], ["update:modelValue"]),
2236
2351
  setup(e, { emit: n }) {
2237
- const t = e, o = ue(e, "modelValue"), l = n, a = V(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = V(() => Math.min(Math.max(1, o.value ?? 1), a.value)), c = V(() => i.value), s = V(() => i.value <= 1), r = V(() => i.value >= a.value), u = V(() => t.labels?.item ?? "Eintrag"), d = V(() => t.labels?.of ?? "von"), v = (g) => {
2238
- const x = Math.min(Math.max(1, Math.floor(g)), a.value);
2352
+ const t = e, o = se(e, "modelValue"), l = n, a = k(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = k(() => Math.min(Math.max(1, o.value ?? 1), a.value)), c = k(() => i.value), s = k(() => i.value <= 1), r = k(() => i.value >= a.value), u = k(() => t.labels?.item ?? "Eintrag"), d = k(() => t.labels?.of ?? "von"), v = (b) => {
2353
+ const x = Math.min(Math.max(1, Math.floor(b)), a.value);
2239
2354
  x !== o.value && (o.value = x, l("change", x));
2240
2355
  }, p = () => v(1), h = () => v(i.value - 1), y = () => v(i.value + 1), m = () => v(a.value);
2241
- return N([() => t.totalItems, () => t.pageSize], () => {
2356
+ return X([() => t.totalItems, () => t.pageSize], () => {
2242
2357
  o.value > a.value && v(a.value);
2243
- }), (g, x) => {
2244
- const w = X("VjButton");
2245
- return f(), b("nav", {
2358
+ }), (b, x) => {
2359
+ const w = q("VjButton");
2360
+ return f(), g("nav", {
2246
2361
  class: "paginator",
2247
2362
  "aria-label": "Pagination",
2248
2363
  onKeydown: x[0] || (x[0] = Be(U(() => {
2249
2364
  }, ["prevent"]), ["enter"]))
2250
2365
  }, [
2251
- R(w, {
2366
+ T(w, {
2252
2367
  tertiary: "",
2253
2368
  class: "paginator-btn",
2254
2369
  icon: $(z).FIRST,
@@ -2256,7 +2371,7 @@ const fn = {
2256
2371
  onClick: p,
2257
2372
  "aria-label": "First page"
2258
2373
  }, null, 8, ["icon", "disabled"]),
2259
- R(w, {
2374
+ T(w, {
2260
2375
  tertiary: "",
2261
2376
  class: "paginator-btn",
2262
2377
  icon: $(z).PREVIOUS,
@@ -2264,14 +2379,14 @@ const fn = {
2264
2379
  onClick: h,
2265
2380
  "aria-label": "Previous page"
2266
2381
  }, null, 8, ["icon", "disabled"]),
2267
- M(g.$slots, "info", {
2382
+ M(b.$slots, "info", {
2268
2383
  current: i.value,
2269
2384
  totalPages: a.value,
2270
2385
  goTo: v
2271
2386
  }, () => [
2272
- _("div", na, D(u.value) + " " + D(c.value) + " " + D(d.value) + " " + D(a.value), 1)
2387
+ _("div", da, O(u.value) + " " + O(c.value) + " " + O(d.value) + " " + O(a.value), 1)
2273
2388
  ], !0),
2274
- R(w, {
2389
+ T(w, {
2275
2390
  tertiary: "",
2276
2391
  class: "paginator-btn",
2277
2392
  icon: $(z).NEXT,
@@ -2279,7 +2394,7 @@ const fn = {
2279
2394
  onClick: y,
2280
2395
  "aria-label": "Next page"
2281
2396
  }, null, 8, ["icon", "disabled"]),
2282
- R(w, {
2397
+ T(w, {
2283
2398
  tertiary: "",
2284
2399
  class: "paginator-btn",
2285
2400
  icon: $(z).LAST,
@@ -2290,9 +2405,9 @@ const fn = {
2290
2405
  ], 32);
2291
2406
  };
2292
2407
  }
2293
- }), la = /* @__PURE__ */ B(oa, [["__scopeId", "data-v-b6fa8efe"]]), aa = { class: "search-field" }, ia = ["value", "placeholder"], sa = /* @__PURE__ */ T({
2408
+ }), va = /* @__PURE__ */ A(fa, [["__scopeId", "data-v-b6fa8efe"]]), ma = { class: "search-field" }, pa = ["value", "placeholder"], ha = /* @__PURE__ */ R({
2294
2409
  __name: "search-field",
2295
- props: /* @__PURE__ */ Q({
2410
+ props: /* @__PURE__ */ Y({
2296
2411
  placeholder: { default: "Search..." }
2297
2412
  }, {
2298
2413
  modelValue: {},
@@ -2300,64 +2415,64 @@ const fn = {
2300
2415
  }),
2301
2416
  emits: ["update:modelValue"],
2302
2417
  setup(e) {
2303
- const n = ue(e, "modelValue"), t = (a) => {
2418
+ const n = se(e, "modelValue"), t = (a) => {
2304
2419
  n.value = a.target.value;
2305
2420
  }, o = () => {
2306
2421
  n.value = "";
2307
- }, l = V(() => !n.value);
2422
+ }, l = k(() => !n.value);
2308
2423
  return (a, i) => {
2309
- const c = X("VjIcon");
2310
- return f(), b("div", aa, [
2311
- R(c, {
2424
+ const c = q("VjIcon");
2425
+ return f(), g("div", ma, [
2426
+ T(c, {
2312
2427
  icon: $(z).SEARCH,
2313
- size: $(q).S
2428
+ size: $(K).S
2314
2429
  }, null, 8, ["icon", "size"]),
2315
2430
  _("input", {
2316
2431
  value: n.value,
2317
2432
  onInput: t,
2318
2433
  type: "text",
2319
2434
  placeholder: e.placeholder
2320
- }, null, 40, ia),
2321
- R(c, {
2435
+ }, null, 40, pa),
2436
+ T(c, {
2322
2437
  class: I(["reset", { invisible: l.value }]),
2323
2438
  icon: $(z).CLOSE,
2324
- size: $(q).S,
2439
+ size: $(K).S,
2325
2440
  onClick: o
2326
2441
  }, null, 8, ["class", "icon", "size"])
2327
2442
  ]);
2328
2443
  };
2329
2444
  }
2330
- }), ra = /* @__PURE__ */ B(sa, [["__scopeId", "data-v-2771c8ed"]]), ca = /* @__PURE__ */ T({
2445
+ }), ga = /* @__PURE__ */ A(ha, [["__scopeId", "data-v-2771c8ed"]]), ba = /* @__PURE__ */ R({
2331
2446
  __name: "separator",
2332
2447
  props: {
2333
2448
  vertical: { type: Boolean }
2334
2449
  },
2335
2450
  setup(e) {
2336
- return (n, t) => (f(), b("div", {
2451
+ return (n, t) => (f(), g("div", {
2337
2452
  class: I(["separator", { vertical: e.vertical }])
2338
2453
  }, null, 2));
2339
2454
  }
2340
- }), ua = /* @__PURE__ */ B(ca, [["__scopeId", "data-v-e354bb4e"]]), da = {
2455
+ }), ya = /* @__PURE__ */ A(ba, [["__scopeId", "data-v-e354bb4e"]]), wa = {
2341
2456
  key: 0,
2342
2457
  class: "tab"
2343
- }, fa = /* @__PURE__ */ T({
2458
+ }, _a = /* @__PURE__ */ R({
2344
2459
  __name: "tab",
2345
2460
  props: {
2346
2461
  name: {},
2347
2462
  label: {}
2348
2463
  },
2349
2464
  setup(e) {
2350
- const n = e, t = dt("tabView"), o = V(() => t?.activeTab() === n.name);
2351
- return Te(() => {
2465
+ const n = e, t = vt("tabView"), o = k(() => t?.activeTab() === n.name);
2466
+ return Re(() => {
2352
2467
  t?.registerTab(n.name, n.label);
2353
- }), (l, a) => o.value ? (f(), b("div", da, [
2468
+ }), (l, a) => o.value ? (f(), g("div", wa, [
2354
2469
  M(l.$slots, "default")
2355
2470
  ])) : L("", !0);
2356
2471
  }
2357
- }), va = { class: "tab-view" }, ma = {
2472
+ }), xa = { class: "tab-view" }, ka = {
2358
2473
  ref: "headerRef",
2359
2474
  class: "tab-view-header"
2360
- }, pa = ["onClick"], ha = { class: "tab-view-content" }, ga = /* @__PURE__ */ T({
2475
+ }, Ca = ["onClick"], Va = { class: "tab-view-content" }, Ea = /* @__PURE__ */ R({
2361
2476
  __name: "tab-view",
2362
2477
  props: {
2363
2478
  modelValue: {},
@@ -2365,7 +2480,7 @@ const fn = {
2365
2480
  },
2366
2481
  emits: ["update:modelValue"],
2367
2482
  setup(e) {
2368
- const n = ue(e, "modelValue"), t = E([]), o = E([]), l = E({
2483
+ const n = se(e, "modelValue"), t = E([]), o = E([]), l = E({
2369
2484
  width: "0px",
2370
2485
  transform: "translateX(0px)"
2371
2486
  }), a = (r, u) => {
@@ -2386,34 +2501,34 @@ const fn = {
2386
2501
  }, s = (r) => {
2387
2502
  n.value = r;
2388
2503
  };
2389
- return N(n, () => {
2504
+ return X(n, () => {
2390
2505
  he(() => {
2391
2506
  i();
2392
2507
  });
2393
- }), Kt("tabView", {
2508
+ }), Xt("tabView", {
2394
2509
  activeTab: () => n.value,
2395
2510
  registerTab: c
2396
- }), (r, u) => (f(), b("div", va, [
2397
- _("div", ma, [
2398
- (f(!0), b(J, null, pe(t.value, (d, v) => (f(), b("div", {
2511
+ }), (r, u) => (f(), g("div", xa, [
2512
+ _("div", ka, [
2513
+ (f(!0), g(Q, null, pe(t.value, (d, v) => (f(), g("div", {
2399
2514
  key: d.name,
2400
2515
  ref_for: !0,
2401
2516
  ref: (p) => a(p, v),
2402
2517
  class: I(["tab-button", { active: n.value === d.name }]),
2403
2518
  onClick: (p) => s(d.name)
2404
- }, D(d.label), 11, pa))), 128)),
2519
+ }, O(d.label), 11, Ca))), 128)),
2405
2520
  u[0] || (u[0] = _("div", { class: "tab-line" }, null, -1)),
2406
2521
  _("div", {
2407
2522
  class: "tab-indicator",
2408
2523
  style: G(l.value)
2409
2524
  }, null, 4)
2410
2525
  ], 512),
2411
- _("div", ha, [
2526
+ _("div", Va, [
2412
2527
  M(r.$slots, "default", {}, void 0, !0)
2413
2528
  ])
2414
2529
  ]));
2415
2530
  }
2416
- }), ba = /* @__PURE__ */ B(ga, [["__scopeId", "data-v-3d4ee454"]]), ya = ["width", "height", "role", "tabindex", "aria-label", "onKeydown"], wa = ["cx", "cy", "r", "stroke-width"], _a = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xa = ["transform"], ka = ["x", "y", "width", "height", "rx"], Ca = ["x", "y", "width", "height", "rx"], Va = /* @__PURE__ */ T({
2531
+ }), $a = /* @__PURE__ */ A(Ea, [["__scopeId", "data-v-3d4ee454"]]), La = ["width", "height", "role", "tabindex", "aria-label", "onKeydown"], Sa = ["cx", "cy", "r", "stroke-width"], Ta = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ra = ["transform"], Aa = ["x", "y", "width", "height", "rx"], Oa = ["x", "y", "width", "height", "rx"], Da = /* @__PURE__ */ R({
2417
2532
  __name: "timer",
2418
2533
  props: {
2419
2534
  duration: { default: 5e3 },
@@ -2430,18 +2545,18 @@ const fn = {
2430
2545
  l: { size: 40, strokeWidth: 2, innerStrokeWidth: 6 },
2431
2546
  xl: { size: 64, strokeWidth: 2, innerStrokeWidth: 8 },
2432
2547
  xxl: { size: 92, strokeWidth: 2, innerStrokeWidth: 10 }
2433
- }, o = e, l = n, a = V(() => t[o.timerSize].size), i = V(() => t[o.timerSize].strokeWidth), c = V(() => t[o.timerSize].innerStrokeWidth), s = E(!1), r = E(100), u = E(!1), d = E(o.paused);
2548
+ }, o = e, l = n, a = k(() => t[o.timerSize].size), i = k(() => t[o.timerSize].strokeWidth), c = k(() => t[o.timerSize].innerStrokeWidth), s = E(!1), r = E(100), u = E(!1), d = E(o.paused);
2434
2549
  let v = null, p = null, h = 0;
2435
- const y = V(() => (a.value - Math.max(i.value, c.value)) / 2), m = V(() => 2 * Math.PI * y.value), g = V(() => m.value * (1 - r.value / 100));
2436
- N(
2550
+ const y = k(() => (a.value - Math.max(i.value, c.value)) / 2), m = k(() => 2 * Math.PI * y.value), b = k(() => m.value * (1 - r.value / 100));
2551
+ X(
2437
2552
  () => o.paused,
2438
2553
  (F) => {
2439
- d.value = F, F ? k() : C();
2554
+ d.value = F, F ? C() : V();
2440
2555
  }
2441
- ), Te(() => {
2556
+ ), Re(() => {
2442
2557
  w();
2443
- }), kn(() => {
2444
- A();
2558
+ }), Cn(() => {
2559
+ D();
2445
2560
  });
2446
2561
  function x() {
2447
2562
  o.pausable && (d.value = !d.value, l("update:paused", d.value));
@@ -2452,8 +2567,8 @@ const fn = {
2452
2567
  function S() {
2453
2568
  if (!p || d.value) return;
2454
2569
  h = performance.now() - p;
2455
- const W = Math.max(0, o.duration - h), te = W / o.duration * 100;
2456
- r.value = te, W > 0 ? v = requestAnimationFrame(S) : j();
2570
+ const W = Math.max(0, o.duration - h), ne = W / o.duration * 100;
2571
+ r.value = ne, W > 0 ? v = requestAnimationFrame(S) : j();
2457
2572
  }
2458
2573
  async function j() {
2459
2574
  if (!o.action) {
@@ -2476,16 +2591,16 @@ const fn = {
2476
2591
  });
2477
2592
  });
2478
2593
  }
2479
- function k() {
2594
+ function C() {
2480
2595
  v !== null && (cancelAnimationFrame(v), v = null);
2481
2596
  }
2482
- function C() {
2597
+ function V() {
2483
2598
  v === null && !s.value && w();
2484
2599
  }
2485
- function A() {
2600
+ function D() {
2486
2601
  v !== null && (cancelAnimationFrame(v), v = null);
2487
2602
  }
2488
- return (F, W) => (f(), b("svg", {
2603
+ return (F, W) => (f(), g("svg", {
2489
2604
  width: a.value,
2490
2605
  height: a.value,
2491
2606
  class: I([
@@ -2513,18 +2628,18 @@ const fn = {
2513
2628
  "stroke-width": i.value,
2514
2629
  class: "vj-timer__outer-ring",
2515
2630
  fill: "none"
2516
- }, null, 8, wa),
2631
+ }, null, 8, Sa),
2517
2632
  _("circle", {
2518
2633
  cx: a.value / 2,
2519
2634
  cy: a.value / 2,
2520
2635
  r: y.value,
2521
2636
  "stroke-width": c.value,
2522
2637
  "stroke-dasharray": m.value,
2523
- "stroke-dashoffset": g.value,
2638
+ "stroke-dashoffset": b.value,
2524
2639
  class: "vj-timer__progress-ring",
2525
2640
  fill: "none"
2526
- }, null, 8, _a),
2527
- d.value ? (f(), b("g", {
2641
+ }, null, 8, Ta),
2642
+ d.value ? (f(), g("g", {
2528
2643
  key: 0,
2529
2644
  class: "vj-timer__pause-icon",
2530
2645
  transform: `translate(${a.value / 2},${a.value / 2}) rotate(-90) scale(-1, 1)`
@@ -2536,7 +2651,7 @@ const fn = {
2536
2651
  height: a.value * 0.3,
2537
2652
  rx: a.value * 0.015,
2538
2653
  class: "vj-timer__pause-bar"
2539
- }, null, 8, ka),
2654
+ }, null, 8, Aa),
2540
2655
  _("rect", {
2541
2656
  x: a.value * 0.04,
2542
2657
  y: -a.value * 0.15,
@@ -2544,11 +2659,11 @@ const fn = {
2544
2659
  height: a.value * 0.3,
2545
2660
  rx: a.value * 0.015,
2546
2661
  class: "vj-timer__pause-bar"
2547
- }, null, 8, Ca)
2548
- ], 8, xa)) : L("", !0)
2549
- ], 42, ya));
2662
+ }, null, 8, Oa)
2663
+ ], 8, Ra)) : L("", !0)
2664
+ ], 42, La));
2550
2665
  }
2551
- }), Ea = /* @__PURE__ */ B(Va, [["__scopeId", "data-v-49a33853"]]), $a = ["onKeydown"], La = /* @__PURE__ */ T({
2666
+ }), Ba = /* @__PURE__ */ A(Da, [["__scopeId", "data-v-49a33853"]]), ja = ["onKeydown"], Ma = /* @__PURE__ */ R({
2552
2667
  __name: "editable-label",
2553
2668
  props: {
2554
2669
  modelValue: {},
@@ -2556,8 +2671,8 @@ const fn = {
2556
2671
  },
2557
2672
  emits: ["update:modelValue", "edit"],
2558
2673
  setup(e, { emit: n }) {
2559
- const t = e, o = n, l = V(() => t.modelValue ?? ""), a = E(l.value), i = E(!1), c = E(!1), s = E(null), r = V(() => !!t.showIcon);
2560
- N(l, (p) => {
2674
+ const t = e, o = n, l = k(() => t.modelValue ?? ""), a = E(l.value), i = E(!1), c = E(!1), s = E(null), r = k(() => !!t.showIcon);
2675
+ X(l, (p) => {
2561
2676
  a.value = p;
2562
2677
  });
2563
2678
  function u() {
@@ -2569,12 +2684,12 @@ const fn = {
2569
2684
  function v() {
2570
2685
  a.value = l.value, i.value = !1;
2571
2686
  }
2572
- return (p, h) => (f(), b("span", {
2687
+ return (p, h) => (f(), g("span", {
2573
2688
  class: I(["vj-editable-label", { editing: i.value }]),
2574
2689
  onMouseenter: h[1] || (h[1] = (y) => c.value = !0),
2575
2690
  onMouseleave: h[2] || (h[2] = (y) => c.value = !1)
2576
2691
  }, [
2577
- i.value ? ut((f(), b("input", {
2692
+ i.value ? ft((f(), g("input", {
2578
2693
  key: 1,
2579
2694
  ref_key: "inputRef",
2580
2695
  ref: s,
@@ -2585,27 +2700,27 @@ const fn = {
2585
2700
  Be(U(v, ["prevent"]), ["esc"])
2586
2701
  ],
2587
2702
  onBlur: d
2588
- }, null, 40, $a)), [
2589
- [Cn, a.value]
2590
- ]) : (f(), b(J, { key: 0 }, [
2703
+ }, null, 40, ja)), [
2704
+ [Vn, a.value]
2705
+ ]) : (f(), g(Q, { key: 0 }, [
2591
2706
  _("span", {
2592
2707
  class: "label-text",
2593
2708
  onClick: u,
2594
2709
  title: "Click to edit"
2595
- }, D(l.value), 1),
2596
- c.value || r.value ? (f(), b("span", {
2710
+ }, O(l.value), 1),
2711
+ c.value || r.value ? (f(), g("span", {
2597
2712
  key: 0,
2598
2713
  class: "edit-icon",
2599
2714
  onClick: U(u, ["stop"])
2600
2715
  }, [
2601
- R(le, {
2716
+ T(te, {
2602
2717
  icon: $(z).EDIT
2603
2718
  }, null, 8, ["icon"])
2604
2719
  ])) : L("", !0)
2605
2720
  ], 64))
2606
2721
  ], 34));
2607
2722
  }
2608
- }), is = /* @__PURE__ */ B(La, [["__scopeId", "data-v-cdc52c5b"]]), Sa = "200% 200%", Ta = /* @__PURE__ */ T({
2723
+ }), ps = /* @__PURE__ */ A(Ma, [["__scopeId", "data-v-cdc52c5b"]]), Pa = "200% 200%", Fa = /* @__PURE__ */ R({
2609
2724
  __name: "skeleton",
2610
2725
  props: {
2611
2726
  width: {},
@@ -2613,19 +2728,19 @@ const fn = {
2613
2728
  borderRadius: {}
2614
2729
  },
2615
2730
  setup(e) {
2616
- const n = e, t = V(() => n.width ?? "100%"), o = V(() => n.height ?? "16px"), l = V(() => n.borderRadius ?? "4px");
2617
- return (a, i) => (f(), b("div", {
2731
+ const n = e, t = k(() => n.width ?? "100%"), o = k(() => n.height ?? "16px"), l = k(() => n.borderRadius ?? "4px");
2732
+ return (a, i) => (f(), g("div", {
2618
2733
  class: "vj-skeleton",
2619
2734
  style: G({
2620
2735
  width: t.value,
2621
2736
  height: o.value,
2622
2737
  borderRadius: l.value,
2623
- backgroundSize: Sa
2738
+ backgroundSize: Pa
2624
2739
  }),
2625
2740
  "aria-hidden": "true"
2626
2741
  }, null, 4));
2627
2742
  }
2628
- }), Ra = /* @__PURE__ */ B(Ta, [["__scopeId", "data-v-ac05e016"]]), Aa = /* @__PURE__ */ T({
2743
+ }), za = /* @__PURE__ */ A(Fa, [["__scopeId", "data-v-ac05e016"]]), Ia = /* @__PURE__ */ R({
2629
2744
  __name: "amount-bar",
2630
2745
  props: {
2631
2746
  amount: {},
@@ -2634,12 +2749,12 @@ const fn = {
2634
2749
  colorMode: { default: "monochrome" }
2635
2750
  },
2636
2751
  setup(e) {
2637
- const n = e, t = V(() => n.amount / n.maxAmount * 100), o = (a) => {
2752
+ const n = e, t = k(() => n.amount / n.maxAmount * 100), o = (a) => {
2638
2753
  if (!n.segments) return !1;
2639
2754
  const i = 100 / n.segments, c = a * i;
2640
2755
  return t.value > c;
2641
2756
  }, l = (a) => (160 - a / (n.segments - 1 || 1) * 160).toString();
2642
- return (a, i) => (f(), b("div", {
2757
+ return (a, i) => (f(), g("div", {
2643
2758
  class: I([
2644
2759
  "amount-bar",
2645
2760
  {
@@ -2649,23 +2764,23 @@ const fn = {
2649
2764
  }
2650
2765
  ])
2651
2766
  }, [
2652
- e.segments ? (f(!0), b(J, { key: 0 }, pe(Array.from({ length: e.segments }), (c, s) => (f(), b("div", {
2767
+ e.segments ? (f(!0), g(Q, { key: 0 }, pe(Array.from({ length: e.segments }), (c, s) => (f(), g("div", {
2653
2768
  key: s,
2654
2769
  class: I(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2655
2770
  style: G(o(s) && e.colorMode === "hue-gradient" ? { backgroundColor: `hsl(${l(s)}, 100%, 45%)` } : {})
2656
- }, null, 6))), 128)) : (f(), b("div", {
2771
+ }, null, 6))), 128)) : (f(), g("div", {
2657
2772
  key: 1,
2658
2773
  class: "amount-bar__fill",
2659
2774
  style: G({ width: `${e.amount / e.maxAmount * 100}%` })
2660
2775
  }, null, 4))
2661
2776
  ], 2));
2662
2777
  }
2663
- }), Oa = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-7e89d03f"]]), Da = ["multiple", "accept", "disabled"], Ba = { class: "upload-text" }, ja = { class: "upload-title" }, Ma = { class: "upload-subtitle" }, Pa = {
2778
+ }), Ha = /* @__PURE__ */ A(Ia, [["__scopeId", "data-v-7e89d03f"]]), Wa = ["multiple", "accept", "disabled"], Ua = { class: "upload-text" }, Na = { class: "upload-title" }, Ka = { class: "upload-subtitle" }, Xa = {
2664
2779
  key: 0,
2665
2780
  class: "upload-files"
2666
- }, Fa = { class: "file-info" }, za = { class: "file-details" }, Ia = { class: "file-name" }, Ha = { class: "file-size" }, Wa = /* @__PURE__ */ T({
2781
+ }, qa = { class: "file-info" }, Ga = { class: "file-details" }, Ya = { class: "file-name" }, Ja = { class: "file-size" }, Qa = /* @__PURE__ */ R({
2667
2782
  __name: "upload",
2668
- props: /* @__PURE__ */ Q({
2783
+ props: /* @__PURE__ */ Y({
2669
2784
  multiple: { type: Boolean, default: !0 },
2670
2785
  accept: { default: "*" },
2671
2786
  disabled: { type: Boolean, default: !1 },
@@ -2680,11 +2795,11 @@ const fn = {
2680
2795
  },
2681
2796
  modelModifiers: {}
2682
2797
  }),
2683
- emits: /* @__PURE__ */ Q(["update:modelValue", "file-added", "file-removed"], ["update:modelValue"]),
2798
+ emits: /* @__PURE__ */ Y(["update:modelValue", "file-added", "file-removed"], ["update:modelValue"]),
2684
2799
  setup(e, { emit: n }) {
2685
- const t = e, o = n, l = ue(e, "modelValue"), a = E(), i = E(!1), c = E(!1), s = (y) => {
2686
- const m = y.target, g = Array.from(m.files || []);
2687
- v(g), a.value && (a.value.value = "");
2800
+ const t = e, o = n, l = se(e, "modelValue"), a = E(), i = E(!1), c = E(!1), s = (y) => {
2801
+ const m = y.target, b = Array.from(m.files || []);
2802
+ v(b), a.value && (a.value.value = "");
2688
2803
  }, r = () => {
2689
2804
  t.disabled || (i.value = !0, c.value = !0);
2690
2805
  }, u = () => {
@@ -2695,19 +2810,19 @@ const fn = {
2695
2810
  const m = Array.from(y.dataTransfer?.files || []);
2696
2811
  v(m);
2697
2812
  }, v = (y) => {
2698
- const m = y.filter((g) => !(g.size > t.maxSize));
2699
- t.multiple ? l.value = [...l.value, ...m] : l.value = m.slice(0, 1), m.forEach((g) => {
2700
- o("file-added", g);
2813
+ const m = y.filter((b) => !(b.size > t.maxSize));
2814
+ t.multiple ? l.value = [...l.value, ...m] : l.value = m.slice(0, 1), m.forEach((b) => {
2815
+ o("file-added", b);
2701
2816
  });
2702
2817
  }, p = (y) => {
2703
2818
  const m = l.value[y];
2704
2819
  l.value.splice(y, 1), o("file-removed", m);
2705
2820
  }, h = (y) => {
2706
2821
  if (y === 0) return "0 Bytes";
2707
- const m = 1024, g = ["Bytes", "KB", "MB", "GB"], x = Math.floor(Math.log(y) / Math.log(m));
2708
- return Math.round(y / Math.pow(m, x) * 100) / 100 + " " + g[x];
2822
+ const m = 1024, b = ["Bytes", "KB", "MB", "GB"], x = Math.floor(Math.log(y) / Math.log(m));
2823
+ return Math.round(y / Math.pow(m, x) * 100) / 100 + " " + b[x];
2709
2824
  };
2710
- return (y, m) => (f(), b("div", {
2825
+ return (y, m) => (f(), g("div", {
2711
2826
  class: I(["upload", { dragging: i.value, disabled: e.disabled }])
2712
2827
  }, [
2713
2828
  _("input", {
@@ -2722,49 +2837,49 @@ const fn = {
2722
2837
  onDragover: r,
2723
2838
  onDragleave: u,
2724
2839
  onDrop: d
2725
- }, null, 40, Da),
2840
+ }, null, 40, Wa),
2726
2841
  _("div", {
2727
2842
  class: "upload-content",
2728
- onClick: m[1] || (m[1] = (g) => a.value?.click()),
2843
+ onClick: m[1] || (m[1] = (b) => a.value?.click()),
2729
2844
  onDragover: U(r, ["prevent"]),
2730
2845
  onDragleave: U(u, ["prevent"]),
2731
2846
  onDrop: U(d, ["prevent"])
2732
2847
  }, [
2733
- R(le, {
2848
+ T(te, {
2734
2849
  icon: $(z).UPLOAD,
2735
- size: $(q).L,
2850
+ size: $(K).L,
2736
2851
  class: "upload-icon"
2737
2852
  }, null, 8, ["icon", "size"]),
2738
- _("div", Ba, [
2739
- _("p", ja, D(c.value ? e.dropText : e.uploadText), 1),
2740
- _("p", Ma, D(e.subtitleText), 1)
2853
+ _("div", Ua, [
2854
+ _("p", Na, O(c.value ? e.dropText : e.uploadText), 1),
2855
+ _("p", Ka, O(e.subtitleText), 1)
2741
2856
  ]),
2742
- R(Ge, {
2857
+ T(Ge, {
2743
2858
  label: e.browseText,
2744
2859
  primary: !0,
2745
2860
  disabled: e.disabled,
2746
- onClick: m[0] || (m[0] = U((g) => a.value?.click(), ["stop"]))
2861
+ onClick: m[0] || (m[0] = U((b) => a.value?.click(), ["stop"]))
2747
2862
  }, null, 8, ["label", "disabled"])
2748
2863
  ], 32),
2749
- l.value.length > 0 ? (f(), b("div", Pa, [
2750
- (f(!0), b(J, null, pe(l.value, (g, x) => (f(), b("div", {
2864
+ l.value.length > 0 ? (f(), g("div", Xa, [
2865
+ (f(!0), g(Q, null, pe(l.value, (b, x) => (f(), g("div", {
2751
2866
  key: x,
2752
2867
  class: "upload-file-item"
2753
2868
  }, [
2754
- _("div", Fa, [
2755
- R(le, {
2869
+ _("div", qa, [
2870
+ T(te, {
2756
2871
  icon: $(z).ATTACHMENT,
2757
- size: $(q).S
2872
+ size: $(K).S
2758
2873
  }, null, 8, ["icon", "size"]),
2759
- _("div", za, [
2760
- _("p", Ia, D(g.name), 1),
2761
- _("p", Ha, D(h(g.size)), 1)
2874
+ _("div", Ga, [
2875
+ _("p", Ya, O(b.name), 1),
2876
+ _("p", Ja, O(h(b.size)), 1)
2762
2877
  ])
2763
2878
  ]),
2764
- e.disabled ? L("", !0) : (f(), P(le, {
2879
+ e.disabled ? L("", !0) : (f(), P(te, {
2765
2880
  key: 0,
2766
2881
  icon: $(z).CLOSE,
2767
- size: $(q).S,
2882
+ size: $(K).S,
2768
2883
  class: "remove-icon",
2769
2884
  onClick: (w) => p(x)
2770
2885
  }, null, 8, ["icon", "size", "onClick"]))
@@ -2772,44 +2887,44 @@ const fn = {
2772
2887
  ])) : L("", !0)
2773
2888
  ], 2));
2774
2889
  }
2775
- }), Ua = /* @__PURE__ */ B(Wa, [["__scopeId", "data-v-2f7be5e5"]]), vn = {
2890
+ }), Za = /* @__PURE__ */ A(Qa, [["__scopeId", "data-v-2f7be5e5"]]), mn = {
2776
2891
  form: {
2777
2892
  labelPosition: "inline",
2778
2893
  appearance: "bordered"
2779
2894
  }
2780
2895
  };
2781
2896
  let qe = {};
2782
- function ss(e) {
2897
+ function hs(e) {
2783
2898
  qe = {
2784
2899
  ...qe,
2785
2900
  ...e,
2786
2901
  form: {
2787
- ...vn.form,
2902
+ ...mn.form,
2788
2903
  ...e.form
2789
2904
  }
2790
2905
  };
2791
2906
  }
2792
- function Ht() {
2907
+ function Ut() {
2793
2908
  return {
2794
2909
  form: {
2795
- ...vn.form,
2910
+ ...mn.form,
2796
2911
  ...qe.form
2797
2912
  }
2798
2913
  };
2799
2914
  }
2800
- function rs() {
2915
+ function gs() {
2801
2916
  qe = {};
2802
2917
  }
2803
- const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-field__wrapper" }, qa = ["for"], Ga = {
2918
+ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-field__wrapper" }, oi = ["for"], li = {
2804
2919
  key: 1,
2805
2920
  class: "form-field__error"
2806
- }, Ya = {
2921
+ }, ai = {
2807
2922
  key: 2,
2808
2923
  class: "form-field__help",
2809
2924
  type: "button",
2810
2925
  "aria-label": "Hilfe"
2811
- }, Ja = /* @__PURE__ */ T({
2812
- directives: { tooltip: fn },
2926
+ }, ii = /* @__PURE__ */ R({
2927
+ directives: { tooltip: vn },
2813
2928
  __name: "form-field",
2814
2929
  props: {
2815
2930
  modelValue: {},
@@ -2827,17 +2942,17 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2827
2942
  },
2828
2943
  emits: ["update:modelValue", "focus", "blur"],
2829
2944
  setup(e, { emit: n }) {
2830
- const t = e, o = n, l = E(t.modelValue), a = E(!1), i = V(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), c = V(() => t.labelPosition ?? Ht().form.labelPosition), s = V(() => t.appearance ?? Ht().form.appearance);
2831
- N(
2945
+ const t = e, o = n, l = E(t.modelValue), a = E(!1), i = k(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), c = k(() => t.labelPosition ?? Ut().form.labelPosition), s = k(() => t.appearance ?? Ut().form.appearance);
2946
+ X(
2832
2947
  () => t.modelValue,
2833
2948
  (h) => l.value = h
2834
2949
  );
2835
- const r = V(() => {
2950
+ const r = k(() => {
2836
2951
  if (c.value === "outline")
2837
2952
  return !0;
2838
2953
  const h = l.value !== "" && l.value !== null && l.value !== void 0;
2839
2954
  return a.value || h;
2840
- }), u = V(() => c.value === "outline" || r.value ? t.placeholder : "");
2955
+ }), u = k(() => c.value === "outline" || r.value ? t.placeholder : "");
2841
2956
  function d(h) {
2842
2957
  const m = h.target.value;
2843
2958
  l.value = m, o("update:modelValue", m);
@@ -2849,8 +2964,8 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2849
2964
  a.value = !1, o("blur", h);
2850
2965
  }
2851
2966
  return (h, y) => {
2852
- const m = X("VjIcon"), g = Xt("tooltip");
2853
- return f(), b("div", {
2967
+ const m = q("VjIcon"), b = qt("tooltip");
2968
+ return f(), g("div", {
2854
2969
  class: I([
2855
2970
  "form-field",
2856
2971
  `form-field--${c.value}`,
@@ -2863,12 +2978,12 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2863
2978
  "data-newline": t.spanRow || t.newLine ? "true" : void 0,
2864
2979
  style: G(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2865
2980
  }, [
2866
- e.label && c.value === "outline" ? (f(), b("label", {
2981
+ e.label && c.value === "outline" ? (f(), g("label", {
2867
2982
  key: 0,
2868
2983
  for: i.value,
2869
2984
  class: "form-field__label-outline"
2870
- }, D(e.label), 9, Na)) : L("", !0),
2871
- _("div", Xa, [
2985
+ }, O(e.label), 9, ti)) : L("", !0),
2986
+ _("div", ni, [
2872
2987
  M(h.$slots, "control", {
2873
2988
  id: i.value,
2874
2989
  value: l.value,
@@ -2878,24 +2993,24 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2878
2993
  disabled: e.disabled,
2879
2994
  placeholder: u.value
2880
2995
  }, void 0, !0),
2881
- e.label && c.value === "inline" ? (f(), b("label", {
2996
+ e.label && c.value === "inline" ? (f(), g("label", {
2882
2997
  key: 0,
2883
2998
  for: i.value,
2884
2999
  class: I(["form-field__label", { "form-field__label--float": r.value }])
2885
- }, D(e.label), 11, qa)) : L("", !0)
3000
+ }, O(e.label), 11, oi)) : L("", !0)
2886
3001
  ]),
2887
- e.error ? (f(), b("div", Ga, D(e.error), 1)) : L("", !0),
2888
- t.helpText ? ut((f(), b("button", Ya, [
2889
- R(m, {
3002
+ e.error ? (f(), g("div", li, O(e.error), 1)) : L("", !0),
3003
+ t.helpText ? ft((f(), g("button", ai, [
3004
+ T(m, {
2890
3005
  icon: $(z).HELP
2891
3006
  }, null, 8, ["icon"])
2892
3007
  ])), [
2893
- [g, t.helpText]
3008
+ [b, t.helpText]
2894
3009
  ]) : L("", !0)
2895
- ], 14, Ka);
3010
+ ], 14, ei);
2896
3011
  };
2897
3012
  }
2898
- }), Ie = /* @__PURE__ */ B(Ja, [["__scopeId", "data-v-19959d5e"]]), Qa = /* @__PURE__ */ T({
3013
+ }), Ie = /* @__PURE__ */ A(ii, [["__scopeId", "data-v-19959d5e"]]), si = /* @__PURE__ */ R({
2899
3014
  __name: "form-layout",
2900
3015
  props: {
2901
3016
  columns: { type: Number, default: 4 },
@@ -2911,19 +3026,19 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2911
3026
  r !== null && r !== "false" ? i.style.gridColumn = "1 / -1" : i.style.gridColumn = `span ${s}`;
2912
3027
  });
2913
3028
  }
2914
- return Te(() => {
3029
+ return Re(() => {
2915
3030
  he(() => {
2916
3031
  l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
2917
3032
  });
2918
- }), Re(() => {
3033
+ }), Ae(() => {
2919
3034
  o?.disconnect();
2920
- }), N(
3035
+ }), X(
2921
3036
  () => n.columns,
2922
3037
  () => he(l)
2923
- ), N(
3038
+ ), X(
2924
3039
  () => n.gap,
2925
3040
  () => he(l)
2926
- ), (a, i) => (f(), b("div", {
3041
+ ), (a, i) => (f(), g("div", {
2927
3042
  ref_key: "container",
2928
3043
  ref: t,
2929
3044
  class: "form-layout",
@@ -2932,28 +3047,28 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2932
3047
  M(a.$slots, "default", {}, void 0, !0)
2933
3048
  ], 4));
2934
3049
  }
2935
- }), Za = /* @__PURE__ */ B(Qa, [["__scopeId", "data-v-96f62ab7"]]), ei = {
3050
+ }), ri = /* @__PURE__ */ A(si, [["__scopeId", "data-v-96f62ab7"]]), ci = {
2936
3051
  key: 0,
2937
3052
  class: "form-section__title",
2938
3053
  "data-newline": ""
2939
- }, ti = /* @__PURE__ */ T({
3054
+ }, ui = /* @__PURE__ */ R({
2940
3055
  __name: "form-section",
2941
3056
  props: {
2942
3057
  title: {}
2943
3058
  },
2944
3059
  setup(e) {
2945
- return (n, t) => (f(), b(J, null, [
2946
- e.title ? (f(), b("h3", ei, D(e.title), 1)) : L("", !0),
3060
+ return (n, t) => (f(), g(Q, null, [
3061
+ e.title ? (f(), g("h3", ci, O(e.title), 1)) : L("", !0),
2947
3062
  M(n.$slots, "default", {}, void 0, !0)
2948
3063
  ], 64));
2949
3064
  }
2950
- }), ni = /* @__PURE__ */ B(ti, [["__scopeId", "data-v-69cff1d0"]]), oi = ["id", "disabled"], li = { class: "select-value" }, ai = {
3065
+ }), di = /* @__PURE__ */ A(ui, [["__scopeId", "data-v-69cff1d0"]]), fi = ["id", "disabled"], vi = { class: "select-value" }, mi = {
2951
3066
  key: 1,
2952
3067
  class: "select-placeholder"
2953
- }, ii = { class: "select-options" }, si = ["onClick", "onMouseenter"], ri = /* @__PURE__ */ T({
3068
+ }, pi = { class: "select-options" }, hi = ["onClick", "onMouseenter"], gi = /* @__PURE__ */ R({
2954
3069
  inheritAttrs: !1,
2955
3070
  __name: "select",
2956
- props: /* @__PURE__ */ Q({
3071
+ props: /* @__PURE__ */ Y({
2957
3072
  options: {},
2958
3073
  placeholder: {},
2959
3074
  disabled: { type: Boolean },
@@ -2968,13 +3083,13 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2968
3083
  }),
2969
3084
  emits: ["update:modelValue"],
2970
3085
  setup(e, { expose: n }) {
2971
- const t = e, o = ue(e, "modelValue"), l = E(!1), a = E(-1), i = E(null), c = E(null), s = E(null), { floatingStyles: r } = bt(c, s, {
3086
+ const t = e, o = se(e, "modelValue"), l = E(!1), a = E(-1), i = E(null), c = E(null), s = E(null), { floatingStyles: r } = wt(c, s, {
2972
3087
  placement: "bottom-start",
2973
3088
  middleware: [
2974
3089
  tt(4),
2975
3090
  ot(),
2976
3091
  nt({ padding: 8 }),
2977
- fl({
3092
+ _l({
2978
3093
  apply({ rects: w, elements: S }) {
2979
3094
  Object.assign(S.floating.style, {
2980
3095
  minWidth: `${w.reference.width}px`
@@ -2983,29 +3098,29 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
2983
3098
  })
2984
3099
  ],
2985
3100
  whileElementsMounted: et
2986
- }), u = (w) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(w) : String(w[t.optionLabel]) : String(w), d = (w) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(w) : w[t.optionValue] : w, v = V(() => t.options.find((w) => d(w) === o.value)), p = (w) => d(w) === o.value, h = () => {
3101
+ }), u = (w) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(w) : String(w[t.optionLabel]) : String(w), d = (w) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(w) : w[t.optionValue] : w, v = k(() => t.options.find((w) => d(w) === o.value)), p = (w) => d(w) === o.value, h = () => {
2987
3102
  t.disabled || (l.value = !l.value);
2988
3103
  }, y = () => {
2989
3104
  l.value = !1, a.value = -1;
2990
3105
  }, m = (w) => {
2991
3106
  o.value = d(w), y();
2992
- }, g = () => {
3107
+ }, b = () => {
2993
3108
  o.value = void 0;
2994
3109
  }, x = (w) => {
2995
3110
  l.value && i.value && !i.value.contains(w.target) && y();
2996
3111
  };
2997
- return Te(() => {
3112
+ return Re(() => {
2998
3113
  document.addEventListener("click", x);
2999
- }), Re(() => {
3114
+ }), Ae(() => {
3000
3115
  document.removeEventListener("click", x);
3001
- }), N(l, (w) => {
3116
+ }), X(l, (w) => {
3002
3117
  w && v.value && (a.value = t.options.findIndex((S) => p(S)));
3003
3118
  }), n({
3004
3119
  focus: () => c.value?.focus(),
3005
3120
  blur: () => c.value?.blur()
3006
3121
  }), (w, S) => {
3007
- const j = X("VjIcon");
3008
- return f(), b(J, null, [
3122
+ const j = q("VjIcon");
3123
+ return f(), g(Q, null, [
3009
3124
  _("div", {
3010
3125
  ref_key: "selectRef",
3011
3126
  ref: i,
@@ -3023,61 +3138,61 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3023
3138
  t.icon ? (f(), P(j, {
3024
3139
  key: 0,
3025
3140
  icon: t.icon,
3026
- size: $(q).S,
3141
+ size: $(K).S,
3027
3142
  class: "select-icon-left"
3028
3143
  }, null, 8, ["icon", "size"])) : L("", !0),
3029
- _("span", li, [
3144
+ _("span", vi, [
3030
3145
  v.value ? M(w.$slots, "selected", {
3031
3146
  key: 0,
3032
3147
  option: v.value
3033
3148
  }, () => [
3034
- Ue(D(u(v.value)), 1)
3035
- ], !0) : (f(), b("span", ai, D(e.placeholder), 1))
3149
+ Ue(O(u(v.value)), 1)
3150
+ ], !0) : (f(), g("span", mi, O(e.placeholder), 1))
3036
3151
  ]),
3037
3152
  t.clearable && v.value && !e.disabled ? (f(), P(j, {
3038
3153
  key: 1,
3039
3154
  icon: $(z).CLOSE,
3040
- size: $(q).S,
3155
+ size: $(K).S,
3041
3156
  class: "select-clear-icon",
3042
- onClick: U(g, ["stop"])
3157
+ onClick: U(b, ["stop"])
3043
3158
  }, null, 8, ["icon", "size"])) : L("", !0),
3044
- R(j, {
3159
+ T(j, {
3045
3160
  icon: $(z).CHEVRON_DOWN,
3046
- size: $(q).S,
3161
+ size: $(K).S,
3047
3162
  class: I(["select-icon-right", { open: l.value }])
3048
3163
  }, null, 8, ["icon", "size", "class"])
3049
- ], 8, oi)
3164
+ ], 8, fi)
3050
3165
  ], 2),
3051
3166
  (f(), P(Me, { to: "body" }, [
3052
- R(De, { name: "dropdown" }, {
3053
- default: K(() => [
3054
- l.value ? (f(), b("div", {
3167
+ T(Le, { name: "dropdown" }, {
3168
+ default: N(() => [
3169
+ l.value ? (f(), g("div", {
3055
3170
  key: 0,
3056
3171
  ref_key: "floatingRef",
3057
3172
  ref: s,
3058
3173
  style: G($(r)),
3059
3174
  class: "select-dropdown"
3060
3175
  }, [
3061
- _("div", ii, [
3062
- (f(!0), b(J, null, pe(e.options, (H, k) => (f(), b("div", {
3176
+ _("div", pi, [
3177
+ (f(!0), g(Q, null, pe(e.options, (H, C) => (f(), g("div", {
3063
3178
  key: String(d(H)),
3064
- class: I(["select-option", { selected: p(H), highlighted: a.value === k }]),
3065
- onClick: (C) => m(H),
3066
- onMouseenter: (C) => a.value = k
3179
+ class: I(["select-option", { selected: p(H), highlighted: a.value === C }]),
3180
+ onClick: (V) => m(H),
3181
+ onMouseenter: (V) => a.value = C
3067
3182
  }, [
3068
3183
  M(w.$slots, "option", {
3069
3184
  option: H,
3070
3185
  selected: p(H)
3071
3186
  }, () => [
3072
- Ue(D(u(H)), 1)
3187
+ Ue(O(u(H)), 1)
3073
3188
  ], !0)
3074
- ], 42, si))), 128))
3189
+ ], 42, hi))), 128))
3075
3190
  ])
3076
3191
  ], 4)) : L("", !0)
3077
3192
  ]),
3078
3193
  _: 3
3079
3194
  }),
3080
- l.value ? (f(), b("div", {
3195
+ l.value ? (f(), g("div", {
3081
3196
  key: 0,
3082
3197
  class: "select-backdrop",
3083
3198
  onClick: y
@@ -3086,7 +3201,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3086
3201
  ], 64);
3087
3202
  };
3088
3203
  }
3089
- }), mn = /* @__PURE__ */ B(ri, [["__scopeId", "data-v-cafc48d5"]]), ci = /* @__PURE__ */ T({
3204
+ }), pn = /* @__PURE__ */ A(gi, [["__scopeId", "data-v-cafc48d5"]]), bi = /* @__PURE__ */ R({
3090
3205
  __name: "input-select",
3091
3206
  props: {
3092
3207
  modelValue: {},
@@ -3106,7 +3221,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3106
3221
  emits: ["update:modelValue", "input", "focus", "blur"],
3107
3222
  setup(e, { emit: n }) {
3108
3223
  const t = e, o = n, l = E(t.modelValue);
3109
- N(
3224
+ X(
3110
3225
  () => t.modelValue,
3111
3226
  (i) => {
3112
3227
  l.value = i;
@@ -3130,8 +3245,8 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3130
3245
  labelPosition: t.labelPosition,
3131
3246
  appearance: t.appearance
3132
3247
  }, {
3133
- control: K(({ id: s, disabled: r, placeholder: u }) => [
3134
- R(mn, {
3248
+ control: N(({ id: s, disabled: r, placeholder: u }) => [
3249
+ T(pn, {
3135
3250
  id: s,
3136
3251
  modelValue: l.value,
3137
3252
  "onUpdate:modelValue": [
@@ -3144,17 +3259,17 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3144
3259
  "option-label": (d) => d.label,
3145
3260
  "option-value": (d) => d.value,
3146
3261
  clearable: ""
3147
- }, ct({ _: 2 }, [
3262
+ }, dt({ _: 2 }, [
3148
3263
  i.$slots.selected ? {
3149
3264
  name: "selected",
3150
- fn: K(({ option: d }) => [
3265
+ fn: N(({ option: d }) => [
3151
3266
  M(i.$slots, "selected", { option: d })
3152
3267
  ]),
3153
3268
  key: "0"
3154
3269
  } : void 0,
3155
3270
  i.$slots.option ? {
3156
3271
  name: "option",
3157
- fn: K(({ option: d }) => [
3272
+ fn: N(({ option: d }) => [
3158
3273
  M(i.$slots, "option", { option: d })
3159
3274
  ]),
3160
3275
  key: "1"
@@ -3164,7 +3279,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3164
3279
  _: 3
3165
3280
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
3166
3281
  }
3167
- }), ui = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], di = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], fi = /* @__PURE__ */ T({
3282
+ }), yi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], _i = /* @__PURE__ */ R({
3168
3283
  __name: "slider",
3169
3284
  props: {
3170
3285
  modelValue: { default: void 0 },
@@ -3175,57 +3290,57 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3175
3290
  },
3176
3291
  emits: ["update:modelValue", "change"],
3177
3292
  setup(e, { emit: n }) {
3178
- const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (k, C, A) => Math.min(Math.max(k, C), A), s = E(
3293
+ const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (C, V, D) => Math.min(Math.max(C, V), D), s = E(
3179
3294
  t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
3180
3295
  ), r = E(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
3181
- N(
3296
+ X(
3182
3297
  () => t.modelValue,
3183
- (k) => {
3184
- t.range ? Array.isArray(k) && (s.value = c(k[0], t.min, t.max), r.value = c(k[1], t.min, t.max)) : typeof k == "number" && (s.value = c(k, t.min, t.max));
3298
+ (C) => {
3299
+ t.range ? Array.isArray(C) && (s.value = c(C[0], t.min, t.max), r.value = c(C[1], t.min, t.max)) : typeof C == "number" && (s.value = c(C, t.min, t.max));
3185
3300
  },
3186
3301
  { immediate: !0 }
3187
3302
  );
3188
- const u = (k) => (k - t.min) / (t.max - t.min) * 100, d = V(() => ({ left: `${u(s.value)}%` })), v = V(() => ({ left: `${u(r.value)}%` })), p = V(() => {
3303
+ const u = (C) => (C - t.min) / (t.max - t.min) * 100, d = k(() => ({ left: `${u(s.value)}%` })), v = k(() => ({ left: `${u(r.value)}%` })), p = k(() => {
3189
3304
  if (!t.range) return { width: `${u(s.value)}%`, left: "0%" };
3190
- const k = u(s.value), C = u(r.value);
3191
- return { left: `${k}%`, width: `${Math.max(0, C - k)}%` };
3305
+ const C = u(s.value), V = u(r.value);
3306
+ return { left: `${C}%`, width: `${Math.max(0, V - C)}%` };
3192
3307
  });
3193
3308
  let h = null, y = null;
3194
- const m = async (k, C) => {
3195
- h = k, y = C.pointerId, k === "low" ? a.value = !0 : i.value = !0;
3309
+ const m = async (C, V) => {
3310
+ h = C, y = V.pointerId, C === "low" ? a.value = !0 : i.value = !0;
3196
3311
  try {
3197
- C.target.setPointerCapture(C.pointerId);
3312
+ V.target.setPointerCapture(V.pointerId);
3198
3313
  } catch {
3199
3314
  }
3200
- window.addEventListener("pointermove", x), window.addEventListener("pointerup", g);
3201
- }, g = (k) => {
3202
- if (y != null && k)
3315
+ window.addEventListener("pointermove", x), window.addEventListener("pointerup", b);
3316
+ }, b = (C) => {
3317
+ if (y != null && C)
3203
3318
  try {
3204
- k.target.releasePointerCapture(k.pointerId);
3319
+ C.target.releasePointerCapture(C.pointerId);
3205
3320
  } catch {
3206
3321
  }
3207
- h = null, y = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", g), j();
3208
- }, x = (k) => {
3322
+ h = null, y = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", b), j();
3323
+ }, x = (C) => {
3209
3324
  if (!h || !l.value) return;
3210
- const C = l.value.getBoundingClientRect(), A = c(k.clientX - C.left, 0, C.width), F = t.min + A / C.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
3325
+ const V = l.value.getBoundingClientRect(), D = c(C.clientX - V.left, 0, V.width), F = t.min + D / V.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
3211
3326
  h === "low" ? t.range ? s.value = Math.min(W, r.value) : s.value = c(W, t.min, t.max) : h === "high" && (r.value = Math.max(W, s.value));
3212
- }, w = (k) => {
3327
+ }, w = (C) => {
3213
3328
  if (!l.value) return;
3214
- const C = l.value.getBoundingClientRect(), A = c(k.clientX - C.left, 0, C.width), F = t.min + A / C.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
3329
+ const V = l.value.getBoundingClientRect(), D = c(C.clientX - V.left, 0, V.width), F = t.min + D / V.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
3215
3330
  if (t.range) {
3216
- const te = Math.abs(W - s.value), fe = Math.abs(W - r.value);
3217
- te <= fe ? s.value = Math.min(W, r.value) : r.value = Math.max(W, s.value);
3331
+ const ne = Math.abs(W - s.value), fe = Math.abs(W - r.value);
3332
+ ne <= fe ? s.value = Math.min(W, r.value) : r.value = Math.max(W, s.value);
3218
3333
  } else
3219
3334
  s.value = c(W, t.min, t.max);
3220
3335
  j();
3221
- }, S = (k, C) => {
3222
- const A = t.step, F = C.key === "ArrowLeft" || C.key === "ArrowDown" ? -1 : C.key === "ArrowRight" || C.key === "ArrowUp" ? 1 : 0;
3336
+ }, S = (C, V) => {
3337
+ const D = t.step, F = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
3223
3338
  if (F) {
3224
- if (k === "low") {
3225
- const W = c(s.value + F * A, t.min, t.range ? r.value : t.max);
3339
+ if (C === "low") {
3340
+ const W = c(s.value + F * D, t.min, t.range ? r.value : t.max);
3226
3341
  s.value = W, a.value = !0, setTimeout(() => a.value = !1, 800);
3227
3342
  } else {
3228
- const W = c(r.value + F * A, t.range ? s.value : t.max, t.max);
3343
+ const W = c(r.value + F * D, t.range ? s.value : t.max, t.max);
3229
3344
  r.value = W, i.value = !0, setTimeout(() => i.value = !1, 800);
3230
3345
  }
3231
3346
  j();
@@ -3233,17 +3348,17 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3233
3348
  }, j = () => {
3234
3349
  t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
3235
3350
  };
3236
- Re(() => {
3237
- window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", g);
3238
- }), N([() => t.min, () => t.max], () => {
3351
+ Ae(() => {
3352
+ window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", b);
3353
+ }), X([() => t.min, () => t.max], () => {
3239
3354
  s.value = c(s.value, t.min, t.max), r.value = c(r.value, t.min, t.max);
3240
3355
  });
3241
- const H = V(() => t.range);
3356
+ const H = k(() => t.range);
3242
3357
  return he(() => {
3243
3358
  t.modelValue === void 0 && (t.range ? o("update:modelValue", [s.value, r.value]) : o("update:modelValue", s.value));
3244
- }), (k, C) => (f(), b("div", {
3359
+ }), (C, V) => (f(), g("div", {
3245
3360
  class: "vj-slider",
3246
- onPointerdown: C[8] || (C[8] = U(() => {
3361
+ onPointerdown: V[8] || (V[8] = U(() => {
3247
3362
  }, ["stop"]))
3248
3363
  }, [
3249
3364
  _("div", {
@@ -3256,11 +3371,11 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3256
3371
  class: "range",
3257
3372
  style: G(p.value)
3258
3373
  }, null, 4),
3259
- a.value ? (f(), b("div", {
3374
+ a.value ? (f(), g("div", {
3260
3375
  key: 0,
3261
3376
  class: "tooltip",
3262
3377
  style: G({ left: d.value.left })
3263
- }, D(s.value), 5)) : L("", !0),
3378
+ }, O(s.value), 5)) : L("", !0),
3264
3379
  _("button", {
3265
3380
  class: "handle low",
3266
3381
  style: G(d.value),
@@ -3268,19 +3383,19 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3268
3383
  "aria-valuemax": e.max,
3269
3384
  "aria-valuenow": s.value,
3270
3385
  "aria-label": H.value ? "Lower value" : "Value",
3271
- onPointerdown: C[0] || (C[0] = U((A) => m("low", A), ["prevent"])),
3272
- onFocus: C[1] || (C[1] = (A) => a.value = !0),
3273
- onBlur: C[2] || (C[2] = (A) => a.value = !1),
3274
- onKeydown: C[3] || (C[3] = U((A) => S("low", A), ["stop", "prevent"])),
3386
+ onPointerdown: V[0] || (V[0] = U((D) => m("low", D), ["prevent"])),
3387
+ onFocus: V[1] || (V[1] = (D) => a.value = !0),
3388
+ onBlur: V[2] || (V[2] = (D) => a.value = !1),
3389
+ onKeydown: V[3] || (V[3] = U((D) => S("low", D), ["stop", "prevent"])),
3275
3390
  role: "slider",
3276
3391
  tabindex: "0"
3277
- }, null, 44, ui),
3278
- H.value && i.value ? (f(), b("div", {
3392
+ }, null, 44, yi),
3393
+ H.value && i.value ? (f(), g("div", {
3279
3394
  key: 1,
3280
3395
  class: "tooltip",
3281
3396
  style: G({ left: v.value.left })
3282
- }, D(r.value), 5)) : L("", !0),
3283
- H.value ? (f(), b("button", {
3397
+ }, O(r.value), 5)) : L("", !0),
3398
+ H.value ? (f(), g("button", {
3284
3399
  key: 2,
3285
3400
  class: "handle high",
3286
3401
  style: G(v.value),
@@ -3288,19 +3403,19 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3288
3403
  "aria-valuemax": e.max,
3289
3404
  "aria-valuenow": r.value,
3290
3405
  "aria-label": "Upper value",
3291
- onPointerdown: C[4] || (C[4] = U((A) => m("high", A), ["prevent"])),
3292
- onFocus: C[5] || (C[5] = (A) => i.value = !0),
3293
- onBlur: C[6] || (C[6] = (A) => i.value = !1),
3294
- onKeydown: C[7] || (C[7] = U((A) => S("high", A), ["stop", "prevent"])),
3406
+ onPointerdown: V[4] || (V[4] = U((D) => m("high", D), ["prevent"])),
3407
+ onFocus: V[5] || (V[5] = (D) => i.value = !0),
3408
+ onBlur: V[6] || (V[6] = (D) => i.value = !1),
3409
+ onKeydown: V[7] || (V[7] = U((D) => S("high", D), ["stop", "prevent"])),
3295
3410
  role: "slider",
3296
3411
  tabindex: "0"
3297
- }, null, 44, di)) : L("", !0)
3412
+ }, null, 44, wi)) : L("", !0)
3298
3413
  ], 512)
3299
3414
  ], 32));
3300
3415
  }
3301
- }), vi = /* @__PURE__ */ B(fi, [["__scopeId", "data-v-d47c7475"]]), mi = ["onFocusin", "onFocusout"], pi = /* @__PURE__ */ T({
3416
+ }), xi = /* @__PURE__ */ A(_i, [["__scopeId", "data-v-d47c7475"]]), ki = ["onFocusin", "onFocusout"], Ci = /* @__PURE__ */ R({
3302
3417
  __name: "input-slider",
3303
- props: {
3418
+ props: /* @__PURE__ */ Y({
3304
3419
  modelValue: {},
3305
3420
  label: {},
3306
3421
  id: {},
@@ -3316,16 +3431,23 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3316
3431
  min: {},
3317
3432
  max: {},
3318
3433
  step: {}
3319
- },
3320
- emits: ["update:modelValue", "input", "focus", "blur"],
3434
+ }, {
3435
+ modelValue: {},
3436
+ modelModifiers: {}
3437
+ }),
3438
+ emits: /* @__PURE__ */ Y(["update:modelValue", "input", "focus", "blur"], ["update:modelValue"]),
3321
3439
  setup(e, { emit: n }) {
3322
- const t = e, o = n, l = t.modelValue === void 0 ? 0 : Number(t.modelValue), a = E(Number.isNaN(l) ? 0 : l), i = (c) => {
3323
- const s = typeof c == "number" ? c : Number(c ?? 0);
3324
- a.value = Number.isNaN(s) ? 0 : s, o("update:modelValue", a.value), o("input", a.value);
3440
+ const t = e, o = se(e, "modelValue"), l = n, a = o === void 0 ? 0 : Number(o), i = E(Number.isNaN(a) ? 0 : a), c = (s) => {
3441
+ console.log("onUpdateModel", s);
3442
+ const r = typeof s == "number" ? s : Number(s ?? 0);
3443
+ i.value = Number.isNaN(r) ? 0 : r, l("update:modelValue", i.value), l("input", i.value);
3325
3444
  };
3326
- return (c, s) => (f(), P(Ie, {
3327
- modelValue: a.value,
3328
- "onUpdate:modelValue": i,
3445
+ return (s, r) => (f(), P(Ie, {
3446
+ modelValue: i.value,
3447
+ "onUpdate:modelValue": [
3448
+ r[1] || (r[1] = (u) => i.value = u),
3449
+ c
3450
+ ],
3329
3451
  label: t.label,
3330
3452
  id: t.id,
3331
3453
  placeholder: " ",
@@ -3335,30 +3457,33 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3335
3457
  spanRow: t.spanRow,
3336
3458
  error: t.error
3337
3459
  }, {
3338
- control: K(({ id: r, disabled: u, placeholder: d, onFocus: v, onBlur: p }) => [
3460
+ control: N(({ id: u, disabled: d, placeholder: v, onFocus: p, onBlur: h }) => [
3339
3461
  _("div", {
3340
3462
  class: "input-slider__control",
3341
- onFocusin: v,
3342
- onFocusout: p
3463
+ onFocusin: p,
3464
+ onFocusout: h
3343
3465
  }, [
3344
- R(vi, {
3345
- id: r,
3346
- modelValue: a.value,
3347
- "onUpdate:modelValue": s[0] || (s[0] = (h) => a.value = h),
3466
+ T(xi, {
3467
+ id: u,
3468
+ modelValue: i.value,
3469
+ "onUpdate:modelValue": [
3470
+ r[0] || (r[0] = (y) => i.value = y),
3471
+ c
3472
+ ],
3348
3473
  min: t.min,
3349
3474
  max: t.max,
3350
3475
  step: t.step,
3351
3476
  range: !1,
3352
- disabled: u
3477
+ disabled: d
3353
3478
  }, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
3354
- ], 40, mi)
3479
+ ], 40, ki)
3355
3480
  ]),
3356
3481
  _: 1
3357
3482
  }, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
3358
3483
  }
3359
- }), hi = /* @__PURE__ */ B(pi, [["__scopeId", "data-v-051e6d17"]]), gi = { class: "textarea" }, bi = ["value", "placeholder", "disabled", "rows"], yi = /* @__PURE__ */ T({
3484
+ }), Vi = /* @__PURE__ */ A(Ci, [["__scopeId", "data-v-33e78440"]]), Ei = { class: "textarea" }, $i = ["value", "placeholder", "disabled", "rows"], Li = /* @__PURE__ */ R({
3360
3485
  __name: "textarea",
3361
- props: /* @__PURE__ */ Q({
3486
+ props: /* @__PURE__ */ Y({
3362
3487
  icon: {},
3363
3488
  placeholder: {},
3364
3489
  disabled: { type: Boolean },
@@ -3368,9 +3493,9 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3368
3493
  modelValue: {},
3369
3494
  modelModifiers: {}
3370
3495
  }),
3371
- emits: /* @__PURE__ */ Q(["focus", "blur"], ["update:modelValue"]),
3496
+ emits: /* @__PURE__ */ Y(["focus", "blur"], ["update:modelValue"]),
3372
3497
  setup(e, { emit: n }) {
3373
- const t = n, o = ue(e, "modelValue"), l = (r) => {
3498
+ const t = n, o = se(e, "modelValue"), l = (r) => {
3374
3499
  o.value = r.target.value;
3375
3500
  }, a = () => {
3376
3501
  o.value = "";
@@ -3378,14 +3503,14 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3378
3503
  t("focus", r);
3379
3504
  }, c = (r) => {
3380
3505
  t("blur", r);
3381
- }, s = V(() => !o.value);
3506
+ }, s = k(() => !o.value);
3382
3507
  return (r, u) => {
3383
- const d = X("VjIcon");
3384
- return f(), b("div", gi, [
3508
+ const d = q("VjIcon");
3509
+ return f(), g("div", Ei, [
3385
3510
  e.icon ? (f(), P(d, {
3386
3511
  key: 0,
3387
3512
  icon: e.icon,
3388
- size: $(q).S,
3513
+ size: $(K).S,
3389
3514
  class: "textarea-icon"
3390
3515
  }, null, 8, ["icon", "size"])) : L("", !0),
3391
3516
  _("textarea", {
@@ -3396,18 +3521,18 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3396
3521
  placeholder: e.placeholder,
3397
3522
  disabled: e.disabled,
3398
3523
  rows: e.rows
3399
- }, null, 40, bi),
3524
+ }, null, 40, $i),
3400
3525
  e.clearable && !e.disabled ? (f(), P(d, {
3401
3526
  key: 1,
3402
3527
  class: I(["clear-icon", { invisible: s.value }]),
3403
3528
  icon: $(z).CLOSE,
3404
- size: $(q).S,
3529
+ size: $(K).S,
3405
3530
  onClick: a
3406
3531
  }, null, 8, ["class", "icon", "size"])) : L("", !0)
3407
3532
  ]);
3408
3533
  };
3409
3534
  }
3410
- }), pn = /* @__PURE__ */ B(yi, [["__scopeId", "data-v-2ea43716"]]), wi = /* @__PURE__ */ T({
3535
+ }), hn = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-2ea43716"]]), Si = /* @__PURE__ */ R({
3411
3536
  __name: "input-text-area",
3412
3537
  props: {
3413
3538
  modelValue: {},
@@ -3428,7 +3553,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3428
3553
  setup(e, { emit: n }) {
3429
3554
  const t = e, o = n, l = (u) => o("update:modelValue", u), a = (u) => o("input", u), i = (u) => o("focus", u), c = (u) => o("blur", u), s = (u) => {
3430
3555
  l(u ?? "");
3431
- }, r = V(() => {
3556
+ }, r = k(() => {
3432
3557
  const u = t.modelValue;
3433
3558
  return u == null ? "" : String(u);
3434
3559
  });
@@ -3450,16 +3575,16 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3450
3575
  helpText: t.helpText,
3451
3576
  appearance: t.appearance
3452
3577
  }, {
3453
- control: K(({ id: v, disabled: p, placeholder: h, onFocus: y, onBlur: m }) => [
3454
- R(pn, {
3578
+ control: N(({ id: v, disabled: p, placeholder: h, onFocus: y, onBlur: m }) => [
3579
+ T(hn, {
3455
3580
  id: v,
3456
3581
  modelValue: r.value,
3457
3582
  "onUpdate:modelValue": s,
3458
- onFocus: (g) => {
3459
- y(g), i(g);
3583
+ onFocus: (b) => {
3584
+ y(b), i(b);
3460
3585
  },
3461
- onBlur: (g) => {
3462
- m(g), c(g);
3586
+ onBlur: (b) => {
3587
+ m(b), c(b);
3463
3588
  },
3464
3589
  placeholder: h,
3465
3590
  disabled: p,
@@ -3470,9 +3595,9 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3470
3595
  _: 1
3471
3596
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "helpText", "appearance"]));
3472
3597
  }
3473
- }), _i = { class: "input" }, xi = ["value", "type", "placeholder", "disabled"], ki = /* @__PURE__ */ T({
3598
+ }), Ti = { class: "input" }, Ri = ["value", "type", "placeholder", "disabled"], Ai = /* @__PURE__ */ R({
3474
3599
  __name: "input",
3475
- props: /* @__PURE__ */ Q({
3600
+ props: /* @__PURE__ */ Y({
3476
3601
  icon: {},
3477
3602
  type: {},
3478
3603
  placeholder: {},
@@ -3482,9 +3607,9 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3482
3607
  modelValue: {},
3483
3608
  modelModifiers: {}
3484
3609
  }),
3485
- emits: /* @__PURE__ */ Q(["focus", "blur"], ["update:modelValue"]),
3610
+ emits: /* @__PURE__ */ Y(["focus", "blur"], ["update:modelValue"]),
3486
3611
  setup(e, { emit: n }) {
3487
- const t = n, o = ue(e, "modelValue"), l = (r) => {
3612
+ const t = n, o = se(e, "modelValue"), l = (r) => {
3488
3613
  o.value = r.target.value;
3489
3614
  }, a = () => {
3490
3615
  o.value = "";
@@ -3492,14 +3617,14 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3492
3617
  t("focus", r);
3493
3618
  }, c = (r) => {
3494
3619
  t("blur", r);
3495
- }, s = V(() => !o.value);
3620
+ }, s = k(() => !o.value);
3496
3621
  return (r, u) => {
3497
- const d = X("VjIcon");
3498
- return f(), b("div", _i, [
3622
+ const d = q("VjIcon");
3623
+ return f(), g("div", Ti, [
3499
3624
  e.icon ? (f(), P(d, {
3500
3625
  key: 0,
3501
3626
  icon: e.icon,
3502
- size: $(q).S
3627
+ size: $(K).S
3503
3628
  }, null, 8, ["icon", "size"])) : L("", !0),
3504
3629
  _("input", {
3505
3630
  value: o.value,
@@ -3509,18 +3634,18 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3509
3634
  type: e.type,
3510
3635
  placeholder: e.placeholder,
3511
3636
  disabled: e.disabled
3512
- }, null, 40, xi),
3637
+ }, null, 40, Ri),
3513
3638
  e.clearable && !e.disabled ? (f(), P(d, {
3514
3639
  key: 1,
3515
3640
  class: I(["clear-icon", { invisible: s.value }]),
3516
3641
  icon: $(z).CLOSE,
3517
- size: $(q).S,
3642
+ size: $(K).S,
3518
3643
  onClick: a
3519
3644
  }, null, 8, ["class", "icon", "size"])) : L("", !0)
3520
3645
  ]);
3521
3646
  };
3522
3647
  }
3523
- }), hn = /* @__PURE__ */ B(ki, [["__scopeId", "data-v-3187d49c"]]), Ci = /* @__PURE__ */ T({
3648
+ }), gn = /* @__PURE__ */ A(Ai, [["__scopeId", "data-v-3187d49c"]]), Oi = /* @__PURE__ */ R({
3524
3649
  __name: "input-text",
3525
3650
  props: {
3526
3651
  modelValue: {},
@@ -3560,8 +3685,8 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3560
3685
  labelPosition: e.labelPosition,
3561
3686
  appearance: e.appearance
3562
3687
  }, {
3563
- control: K(({ id: d, disabled: v, placeholder: p, onFocus: h, onBlur: y }) => [
3564
- R(hn, {
3688
+ control: N(({ id: d, disabled: v, placeholder: p, onFocus: h, onBlur: y }) => [
3689
+ T(gn, {
3565
3690
  id: d,
3566
3691
  modelValue: e.modelValue,
3567
3692
  type: e.type,
@@ -3580,10 +3705,10 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3580
3705
  _: 1
3581
3706
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
3582
3707
  }
3583
- }), Vi = { class: "shell-navigation-item" }, Ei = { class: "shell-navigation-item-label" }, $i = {
3708
+ }), Di = { class: "shell-navigation-item" }, Bi = { class: "shell-navigation-item-label" }, ji = {
3584
3709
  key: 1,
3585
3710
  class: "shell-navigation-item-link"
3586
- }, Li = ["aria-expanded"], Si = { class: "shell-navigation-item-label" }, Ti = /* @__PURE__ */ T({
3711
+ }, Mi = ["aria-expanded"], Pi = { class: "shell-navigation-item-label" }, Fi = /* @__PURE__ */ R({
3587
3712
  __name: "shell-navigation-item",
3588
3713
  props: {
3589
3714
  label: {},
@@ -3591,7 +3716,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3591
3716
  to: {}
3592
3717
  },
3593
3718
  setup(e) {
3594
- const n = Ut(), t = V(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = bt(l, a, {
3719
+ const n = Kt(), t = k(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = wt(l, a, {
3595
3720
  placement: "right-start",
3596
3721
  middleware: [tt(8), ot(), nt({ padding: 8 })],
3597
3722
  whileElementsMounted: et
@@ -3607,27 +3732,27 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3607
3732
  const p = v.target;
3608
3733
  p && (l.value && l.value.contains(p) || a.value && a.value.contains(p) || s());
3609
3734
  };
3610
- return N(o, (v) => {
3735
+ return X(o, (v) => {
3611
3736
  v ? (window.addEventListener("keydown", u), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d));
3612
- }), Re(() => {
3737
+ }), Ae(() => {
3613
3738
  window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d);
3614
3739
  }), (v, p) => {
3615
- const h = X("VjIcon"), y = X("RouterLink"), m = X("VjMenu");
3616
- return f(), b("li", Vi, [
3740
+ const h = q("VjIcon"), y = q("RouterLink"), m = q("VjMenu");
3741
+ return f(), g("li", Di, [
3617
3742
  e.to ? (f(), P(y, {
3618
3743
  key: 0,
3619
3744
  to: e.to,
3620
3745
  class: "shell-navigation-item-link"
3621
3746
  }, {
3622
- default: K(() => [
3623
- R(h, {
3747
+ default: N(() => [
3748
+ T(h, {
3624
3749
  icon: e.icon,
3625
3750
  class: "shell-navigation-item-icon"
3626
3751
  }, null, 8, ["icon"]),
3627
- _("label", Ei, D(e.label), 1)
3752
+ _("label", Bi, O(e.label), 1)
3628
3753
  ]),
3629
3754
  _: 1
3630
- }, 8, ["to"])) : (f(), b("div", $i, [
3755
+ }, 8, ["to"])) : (f(), g("div", ji, [
3631
3756
  _("button", {
3632
3757
  ref_key: "buttonRef",
3633
3758
  ref: l,
@@ -3636,14 +3761,14 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3636
3761
  "aria-expanded": o.value,
3637
3762
  type: "button"
3638
3763
  }, [
3639
- R(h, {
3764
+ T(h, {
3640
3765
  icon: e.icon,
3641
3766
  class: "shell-navigation-item-icon"
3642
3767
  }, null, 8, ["icon"]),
3643
- _("label", Si, D(e.label), 1)
3644
- ], 8, Li),
3645
- R(De, { name: "menu" }, {
3646
- default: K(() => [
3768
+ _("label", Pi, O(e.label), 1)
3769
+ ], 8, Mi),
3770
+ T(Le, { name: "menu" }, {
3771
+ default: N(() => [
3647
3772
  o.value ? (f(), P(m, {
3648
3773
  key: 0,
3649
3774
  ref_key: "floatingRef",
@@ -3653,7 +3778,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3653
3778
  onClose: s,
3654
3779
  onClick: U(r, ["stop"])
3655
3780
  }, {
3656
- default: K(() => [
3781
+ default: N(() => [
3657
3782
  M(v.$slots, "default", {}, void 0, !0)
3658
3783
  ]),
3659
3784
  _: 3
@@ -3662,7 +3787,7 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3662
3787
  _: 3
3663
3788
  }),
3664
3789
  (f(), P(Me, { to: "body" }, [
3665
- o.value ? (f(), b("div", {
3790
+ o.value ? (f(), g("div", {
3666
3791
  key: 0,
3667
3792
  class: "menu-backdrop",
3668
3793
  onClick: s
@@ -3672,39 +3797,39 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3672
3797
  ]);
3673
3798
  };
3674
3799
  }
3675
- }), Ri = /* @__PURE__ */ B(Ti, [["__scopeId", "data-v-3a50d1c2"]]), Ai = { class: "navigation-top" }, Oi = {
3800
+ }), zi = /* @__PURE__ */ A(Fi, [["__scopeId", "data-v-3a50d1c2"]]), Ii = { class: "navigation-top" }, Hi = {
3676
3801
  key: 0,
3677
3802
  class: "navigation-bottom"
3678
- }, Di = /* @__PURE__ */ T({
3803
+ }, Wi = /* @__PURE__ */ R({
3679
3804
  __name: "shell-navigation",
3680
3805
  setup(e) {
3681
- const n = dt(Ki, Xi()), t = V(() => n.showLabels);
3806
+ const n = vt(es, ns()), t = k(() => n.showLabels);
3682
3807
  return (o, l) => {
3683
- const a = X("VjShellNavigationItem");
3684
- return f(), b("nav", {
3808
+ const a = q("VjShellNavigationItem");
3809
+ return f(), g("nav", {
3685
3810
  class: I(["shell-navigation", { "with-labels": t.value }])
3686
3811
  }, [
3687
- _("ul", Ai, [
3812
+ _("ul", Ii, [
3688
3813
  $(n).hasParent && $(n).backRoute.value ? (f(), P(a, {
3689
3814
  key: 0,
3690
3815
  to: $(n).backRoute.value,
3691
3816
  label: "BACK",
3692
3817
  icon: $(z).HOME
3693
3818
  }, null, 8, ["to", "icon"])) : L("", !0),
3694
- (f(!0), b(J, null, pe($(n).childRoutes.value, (i) => (f(), P(a, {
3819
+ (f(!0), g(Q, null, pe($(n).childRoutes.value, (i) => (f(), P(a, {
3695
3820
  key: i.name,
3696
3821
  to: { name: i.name },
3697
3822
  label: i.meta.label,
3698
3823
  icon: i.meta.icon ?? $(z).HOME
3699
3824
  }, null, 8, ["to", "label", "icon"]))), 128))
3700
3825
  ]),
3701
- o.$slots.fixed ? (f(), b("ul", Oi, [
3826
+ o.$slots.fixed ? (f(), g("ul", Hi, [
3702
3827
  M(o.$slots, "fixed", {}, void 0, !0)
3703
3828
  ])) : L("", !0)
3704
3829
  ], 2);
3705
3830
  };
3706
3831
  }
3707
- }), gn = /* @__PURE__ */ B(Di, [["__scopeId", "data-v-306cfc22"]]), Bi = { class: "shell" }, ji = { class: "shell-title" }, Mi = ["src"], Pi = { class: "header-actions" }, Fi = /* @__PURE__ */ T({
3832
+ }), bn = /* @__PURE__ */ A(Wi, [["__scopeId", "data-v-306cfc22"]]), Ui = { class: "shell" }, Ni = { class: "shell-title" }, Ki = ["src"], Xi = { class: "header-actions" }, qi = /* @__PURE__ */ R({
3708
3833
  __name: "shell",
3709
3834
  props: {
3710
3835
  title: {},
@@ -3712,33 +3837,33 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3712
3837
  showNavigation: { type: Boolean }
3713
3838
  },
3714
3839
  setup(e) {
3715
- const n = Qi(), t = lt(n, "asideComponent"), o = lt(n, "hasAside"), l = lt(n, "asideData"), a = V(() => {
3840
+ const n = ss(), t = lt(n, "asideComponent"), o = lt(n, "hasAside"), l = lt(n, "asideData"), a = k(() => {
3716
3841
  const i = l.value;
3717
3842
  return i && typeof i == "object" ? i : {};
3718
3843
  });
3719
3844
  return (i, c) => {
3720
- const s = X("router-view");
3721
- return f(), b("div", Bi, [
3845
+ const s = q("router-view");
3846
+ return f(), g("div", Ui, [
3722
3847
  _("header", null, [
3723
- _("span", ji, [
3724
- e.icon ? (f(), b("img", {
3848
+ _("span", Ni, [
3849
+ e.icon ? (f(), g("img", {
3725
3850
  key: 0,
3726
3851
  src: e.icon,
3727
3852
  alt: "Shell Icon"
3728
- }, null, 8, Mi)) : L("", !0),
3729
- _("h1", null, D(e.title), 1)
3853
+ }, null, 8, Ki)) : L("", !0),
3854
+ _("h1", null, O(e.title), 1)
3730
3855
  ]),
3731
- _("div", Pi, [
3856
+ _("div", Xi, [
3732
3857
  M(i.$slots, "header-actions", {}, void 0, !0)
3733
3858
  ])
3734
3859
  ]),
3735
3860
  _("div", {
3736
3861
  class: I(["shell-content", { "with-navigation": e.showNavigation }])
3737
3862
  }, [
3738
- e.showNavigation ? (f(), P($(gn), { key: 0 }, ct({ _: 2 }, [
3863
+ e.showNavigation ? (f(), P($(bn), { key: 0 }, dt({ _: 2 }, [
3739
3864
  i.$slots?.["navigation-fixed"] ? {
3740
3865
  name: "fixed",
3741
- fn: K(() => [
3866
+ fn: N(() => [
3742
3867
  M(i.$slots, "navigation-fixed", {}, void 0, !0)
3743
3868
  ]),
3744
3869
  key: "0"
@@ -3746,21 +3871,21 @@ const Ka = ["data-colspan", "data-newline"], Na = ["for"], Xa = { class: "form-f
3746
3871
  ]), 1024)) : L("", !0),
3747
3872
  _("main", null, [
3748
3873
  M(i.$slots, "default", {}, () => [
3749
- R(s)
3874
+ T(s)
3750
3875
  ], !0)
3751
3876
  ]),
3752
3877
  _("aside", {
3753
3878
  class: I({ "aside-visible": o.value })
3754
3879
  }, [
3755
- (f(), P(Nt(t.value), Vn(En(a.value)), null, 16))
3880
+ (f(), P(ut(t.value), En($n(a.value)), null, 16))
3756
3881
  ], 2)
3757
3882
  ], 2),
3758
3883
  c[0] || (c[0] = _("footer", null, null, -1))
3759
3884
  ]);
3760
3885
  };
3761
3886
  }
3762
- }), zi = /* @__PURE__ */ B(Fi, [["__scopeId", "data-v-4dfd0097"]]);
3763
- class Ii {
3887
+ }), Gi = /* @__PURE__ */ A(qi, [["__scopeId", "data-v-4dfd0097"]]);
3888
+ class Yi {
3764
3889
  notifications = E([]);
3765
3890
  notificationIdCounter = 0;
3766
3891
  /**
@@ -3826,15 +3951,15 @@ class Ii {
3826
3951
  this.notifications.value = [];
3827
3952
  }
3828
3953
  }
3829
- const Wt = new Ii(), Hi = { class: "notifications" }, Wi = /* @__PURE__ */ T({
3954
+ const Nt = new Yi(), Ji = { class: "notifications" }, Qi = /* @__PURE__ */ R({
3830
3955
  __name: "notifications",
3831
3956
  setup(e) {
3832
- const n = Wt.getNotifications(), t = (o) => Wt.remove(o);
3957
+ const n = Nt.getNotifications(), t = (o) => Nt.remove(o);
3833
3958
  return (o, l) => (f(), P(Me, { to: "body" }, [
3834
- _("div", Hi, [
3835
- R($n, { name: "notification" }, {
3836
- default: K(() => [
3837
- (f(!0), b(J, null, pe($(n), (a) => (f(), P(wt, {
3959
+ _("div", Ji, [
3960
+ T(Ln, { name: "notification" }, {
3961
+ default: N(() => [
3962
+ (f(!0), g(Q, null, pe($(n), (a) => (f(), P(xt, {
3838
3963
  key: a.id,
3839
3964
  type: a.type,
3840
3965
  title: a.title,
@@ -3847,27 +3972,27 @@ const Wt = new Ii(), Hi = { class: "notifications" }, Wi = /* @__PURE__ */ T({
3847
3972
  ])
3848
3973
  ]));
3849
3974
  }
3850
- }), Ui = /* @__PURE__ */ B(Wi, [["__scopeId", "data-v-543c499f"]]), Ki = "navigationProvider";
3851
- function Ni(e) {
3975
+ }), Zi = /* @__PURE__ */ A(Qi, [["__scopeId", "data-v-543c499f"]]), es = "navigationProvider";
3976
+ function ts(e) {
3852
3977
  return !!e.meta && "icon" in e.meta && "label" in e.meta;
3853
3978
  }
3854
- const Xi = () => {
3855
- const e = Rn(), n = An(), t = !0, o = V(() => {
3979
+ const ns = () => {
3980
+ const e = An(), n = On(), t = !0, o = k(() => {
3856
3981
  const u = e.getRoutes();
3857
3982
  return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((p) => p.name === d.name)));
3858
- }), l = V(() => {
3983
+ }), l = k(() => {
3859
3984
  const u = n.matched;
3860
3985
  return u.length ? u[u.length - 1] : null;
3861
- }), a = V(() => {
3986
+ }), a = k(() => {
3862
3987
  const u = n.matched;
3863
3988
  return u.length > 1 ? u[u.length - 2] : null;
3864
- }), i = V(() => !!(l.value?.children?.length || a.value)), c = V(() => l.value?.children?.length ? l.value : a.value?.children?.length ? a.value : null), s = V(() => {
3989
+ }), i = k(() => !!(l.value?.children?.length || a.value)), c = k(() => l.value?.children?.length ? l.value : a.value?.children?.length ? a.value : null), s = k(() => {
3865
3990
  if (!c.value) return null;
3866
3991
  const d = e.getRoutes().find((v) => v.children?.some((p) => p.name === c.value.name));
3867
3992
  return d ? { name: d.name } : { path: "/" };
3868
- }), r = V(() => {
3993
+ }), r = k(() => {
3869
3994
  let u = [];
3870
- return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(Ni);
3995
+ return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(ts);
3871
3996
  });
3872
3997
  return {
3873
3998
  hasParent: i,
@@ -3875,21 +4000,21 @@ const Xi = () => {
3875
4000
  childRoutes: r,
3876
4001
  showLabels: t
3877
4002
  };
3878
- }, cs = (e, n = !0, t = void 0) => {
3879
- const o = Ln(e) ? e : E(e), l = !!t, a = E(t || null);
4003
+ }, bs = (e, n = !0, t = void 0) => {
4004
+ const o = Sn(e) ? e : E(e), l = !!t, a = E(t || null);
3880
4005
  return {
3881
4006
  hasParent: l,
3882
4007
  backRoute: a,
3883
4008
  childRoutes: o,
3884
4009
  showLabels: n
3885
4010
  };
3886
- }, _t = E(!1), xt = E(null), kt = E(null);
4011
+ }, kt = E(!1), Ct = E(null), Vt = E(null);
3887
4012
  let $e = [];
3888
- const bn = (e) => ($e.push(e), () => {
4013
+ const yn = (e) => ($e.push(e), () => {
3889
4014
  $e = $e.filter((n) => n !== e);
3890
- }), qi = (e, n) => ($e = [], xt.value = e, kt.value = n ?? null, _t.value = !0, {
3891
- onClose: (t) => bn(t)
3892
- }), Gi = (e) => {
4015
+ }), os = (e, n) => ($e = [], Ct.value = e, Vt.value = n ?? null, kt.value = !0, {
4016
+ onClose: (t) => yn(t)
4017
+ }), ls = (e) => {
3893
4018
  try {
3894
4019
  $e.forEach((n) => {
3895
4020
  try {
@@ -3899,18 +4024,18 @@ const bn = (e) => ($e.push(e), () => {
3899
4024
  }
3900
4025
  });
3901
4026
  } finally {
3902
- _t.value = !1, setTimeout(Yi, 1e3);
4027
+ kt.value = !1, setTimeout(as, 1e3);
3903
4028
  }
3904
- }, Yi = () => {
3905
- $e = [], xt.value = null, kt.value = null;
3906
- }, Ji = {
3907
- asideComponent: xt,
3908
- asideData: kt,
3909
- showAside: qi,
3910
- closeAside: Gi,
3911
- onAsideClose: bn,
3912
- hasAside: _t
3913
- }, Qi = () => Ji, us = (e, n) => {
4029
+ }, as = () => {
4030
+ $e = [], Ct.value = null, Vt.value = null;
4031
+ }, is = {
4032
+ asideComponent: Ct,
4033
+ asideData: Vt,
4034
+ showAside: os,
4035
+ closeAside: ls,
4036
+ onAsideClose: yn,
4037
+ hasAside: kt
4038
+ }, ss = () => is, ys = (e, n) => {
3914
4039
  let t = null;
3915
4040
  return (...l) => {
3916
4041
  t && clearTimeout(t), t = setTimeout(() => {
@@ -3918,7 +4043,7 @@ const bn = (e) => ($e.push(e), () => {
3918
4043
  }, n);
3919
4044
  };
3920
4045
  };
3921
- class Zi {
4046
+ class rs {
3922
4047
  containerElement = null;
3923
4048
  apps = [];
3924
4049
  mainApp = null;
@@ -3941,9 +4066,9 @@ class Zi {
3941
4066
  const s = this.apps.find((r) => r.element === l);
3942
4067
  s && (s.app.unmount(), this.apps = this.apps.filter((r) => r !== s)), l.remove();
3943
4068
  }, 300));
3944
- }, c = Sn({
4069
+ }, c = Tn({
3945
4070
  setup() {
3946
- return () => Tn(ft, {
4071
+ return () => Rn(mt, {
3947
4072
  modelValue: !0,
3948
4073
  title: n.title,
3949
4074
  message: n.message,
@@ -3970,7 +4095,7 @@ class Zi {
3970
4095
  });
3971
4096
  }
3972
4097
  });
3973
- this.inheritAppContext(c), c.component("VjCard", it), c.component("VjIcon", le), c.component("VjButton", Ge), c.mount(l), this.apps.push({ app: c, element: l });
4098
+ this.inheritAppContext(c), c.component("VjCard", st), c.component("VjIcon", te), c.component("VjButton", Ge), c.mount(l), this.apps.push({ app: c, element: l });
3974
4099
  });
3975
4100
  }
3976
4101
  confirm(n) {
@@ -3998,17 +4123,17 @@ class Zi {
3998
4123
  }), this.apps = [];
3999
4124
  }
4000
4125
  }
4001
- const es = new Zi();
4002
- function ds() {
4003
- return es;
4126
+ const cs = new rs();
4127
+ function ws() {
4128
+ return cs;
4004
4129
  }
4005
- function fs() {
4006
- const e = dt(Yt, null);
4130
+ function _s() {
4131
+ const e = vt(Jt, null);
4007
4132
  if (!e)
4008
4133
  throw new Error("useDialogController must be used inside a dialog component.");
4009
4134
  return e;
4010
4135
  }
4011
- const vs = () => {
4136
+ const xs = () => {
4012
4137
  const e = E(!1), n = E(null), t = () => {
4013
4138
  n.value = null;
4014
4139
  };
@@ -4048,74 +4173,76 @@ const vs = () => {
4048
4173
  return new o(a, i);
4049
4174
  }
4050
4175
  return { run: l, running: e, error: n, clearError: t };
4051
- }, ms = {
4176
+ }, ks = {
4052
4177
  install(e) {
4053
- e.component("VjAmountBar", Oa), e.component("VjButton", Ge), e.component("VjButtonBar", Pn), e.component("VjCard", it), e.component("VjChip", qt), e.component("VjChipGroup", Gt), e.component("VjChipSelector", xo), e.component("VjCarousel", it), e.component("VjCheckbox", Jn), e.component("VjDotMenu", pl), e.component("VjDialog", ft), e.component("VjIcon", le), e.component("VjLinkButton", gl), e.component("VjMenu", Vl), e.component("VjMenuAction", _l), e.component("VjPage", ta), e.component("VjPaginator", la), e.component("VjTab", fa), e.component("VjTabView", ba), e.component("VjTimer", Ea), e.component("VjSkeleton", Ra), e.component("VjSpinner", dn), e.component("VjNotifications", Ui), e.component("VjNotification", wt), e.component("VjUpload", Ua), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", Ie), e.component("VjFormLayout", Za), e.component("VjFormSection", ni), e.component("VjInputText", Ci), e.component("VjInputTextArea", wi), e.component("VjInputSelect", ci), e.component("VjInputSlider", hi), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", Ri), e.component("VjShell", zi), e.component("VjSearchField", ra), e.component("VjSeparator", ua), e.directive("focus", Ll), e.directive("resize", Sl), e.directive("compact", El), e.directive("tooltip", fn);
4178
+ e.component("VjAccordion", In), e.component("VjAmountBar", Ha), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip", Gt), e.component("VjChipGroup", Yt), e.component("VjChipSelector", Ro), e.component("VjCarousel", st), e.component("VjCheckbox", io), e.component("VjDotMenu", Cl), e.component("VjDialog", mt), e.component("VjIcon", te), e.component("VjLinkButton", El), e.component("VjMenu", Dl), e.component("VjMenuAction", Tl), e.component("VjPage", ua), e.component("VjPaginator", va), e.component("VjTab", _a), e.component("VjTabView", $a), e.component("VjTimer", Ba), e.component("VjSkeleton", za), e.component("VjSpinner", fn), e.component("VjNotifications", Zi), e.component("VjNotification", xt), e.component("VjUpload", Za), e.component("VjInput", gn), e.component("VjSelect", pn), e.component("VjTextArea", hn), e.component("VjFormField", Ie), e.component("VjFormLayout", ri), e.component("VjFormSection", di), e.component("VjInputText", Oi), e.component("VjInputTextArea", Si), e.component("VjInputSelect", bi), e.component("VjInputSlider", Vi), e.component("VjShellNavigation", bn), e.component("VjShellNavigationItem", zi), e.component("VjShell", Gi), e.component("VjSearchField", ga), e.component("VjSeparator", ya), e.directive("focus", Ml), e.directive("resize", Pl), e.directive("compact", Bl), e.directive("tooltip", vn);
4054
4179
  }
4055
4180
  };
4056
4181
  export {
4057
- Oa as AmountBar,
4182
+ In as Accordion,
4183
+ Ha as AmountBar,
4058
4184
  Ge as Button,
4059
- Pn as ButtonBar,
4060
- it as Card,
4061
- ls as Carousel,
4062
- Jn as Checkbox,
4063
- qt as Chip,
4064
- Gt as ChipGroup,
4065
- xo as ChipSelector,
4066
- ft as Dialog,
4067
- pl as DotMenu,
4068
- is as EditableLabel,
4069
- Ll as FocusFirstDirective,
4185
+ Xn as ButtonBar,
4186
+ st as Card,
4187
+ vs as Carousel,
4188
+ io as Checkbox,
4189
+ Gt as Chip,
4190
+ Yt as ChipGroup,
4191
+ Ro as ChipSelector,
4192
+ mt as Dialog,
4193
+ Cl as DotMenu,
4194
+ ps as EditableLabel,
4195
+ Ml as FocusFirstDirective,
4070
4196
  Ie as FormField,
4071
- Za as FormLayout,
4072
- ni as FormSection,
4073
- le as Icon,
4197
+ ri as FormLayout,
4198
+ di as FormSection,
4199
+ te as Icon,
4074
4200
  z as IconNames,
4075
- q as IconSize,
4076
- hn as Input,
4077
- ci as InputSelect,
4078
- hi as InputSlider,
4079
- Ci as InputText,
4080
- wi as InputTextArea,
4081
- gl as LinkButton,
4082
- Bl as LoadingDirective,
4083
- Vl as Menu,
4084
- _l as MenuAction,
4085
- wt as NotificationComponent,
4086
- Ui as Notifications,
4087
- ta as Page,
4088
- la as Paginator,
4089
- as as Radio,
4090
- Sl as ResizeDirective,
4091
- ra as SearchField,
4092
- mn as Select,
4093
- ua as Separator,
4094
- zi as Shell,
4095
- gn as ShellNavigation,
4096
- Ri as ShellNavigationItem,
4097
- Ra as Skeleton,
4098
- dn as Spinner,
4099
- fa as Tab,
4100
- ba as TabView,
4101
- pn as TextArea,
4102
- Ea as Timer,
4103
- fn as TooltipDirective,
4104
- Ua as Upload,
4105
- ms as VjComponents,
4106
- Yt as VjDialogControllerKey,
4107
- Ki as VjNavigationProviderKey,
4108
- El as compactDirective,
4109
- ss as configureVueUI,
4110
- es as dialogService,
4111
- Ht as getVueUIConfig,
4112
- Wt as notificationService,
4113
- rs as resetVueUIConfig,
4114
- Qi as useAsideService,
4115
- us as useDebounce,
4116
- ds as useDialog,
4117
- fs as useDialogController,
4118
- vs as useFlow,
4119
- Xi as useRouterNavigationProvider,
4120
- cs as useStaticNavigationProvider
4201
+ K as IconSize,
4202
+ gn as Input,
4203
+ bi as InputSelect,
4204
+ Vi as InputSlider,
4205
+ Oi as InputText,
4206
+ Si as InputTextArea,
4207
+ El as LinkButton,
4208
+ Ul as LoadingDirective,
4209
+ Dl as Menu,
4210
+ Tl as MenuAction,
4211
+ xt as NotificationComponent,
4212
+ Zi as Notifications,
4213
+ ua as Page,
4214
+ va as Paginator,
4215
+ ms as Radio,
4216
+ Pl as ResizeDirective,
4217
+ ga as SearchField,
4218
+ pn as Select,
4219
+ ya as Separator,
4220
+ Gi as Shell,
4221
+ bn as ShellNavigation,
4222
+ zi as ShellNavigationItem,
4223
+ za as Skeleton,
4224
+ fn as Spinner,
4225
+ _a as Tab,
4226
+ $a as TabView,
4227
+ hn as TextArea,
4228
+ Ba as Timer,
4229
+ vn as TooltipDirective,
4230
+ Za as Upload,
4231
+ ks as VjComponents,
4232
+ Jt as VjDialogControllerKey,
4233
+ es as VjNavigationProviderKey,
4234
+ Bl as compactDirective,
4235
+ hs as configureVueUI,
4236
+ cs as dialogService,
4237
+ Ut as getVueUIConfig,
4238
+ at as iconRegistry,
4239
+ Nt as notificationService,
4240
+ gs as resetVueUIConfig,
4241
+ ss as useAsideService,
4242
+ ys as useDebounce,
4243
+ ws as useDialog,
4244
+ _s as useDialogController,
4245
+ xs as useFlow,
4246
+ ns as useRouterNavigationProvider,
4247
+ bs as useStaticNavigationProvider
4121
4248
  };