@vanjana/vue-ui 0.1.110 → 0.1.114

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