@vanjana/vue-ui 0.1.108 → 0.1.112

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 f, createElementVNode as x, renderSlot as M, defineComponent as T, computed as C, normalizeClass as z, createBlock as P, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as B, useSlots as Wt, ref as E, onMounted as Be, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, provide as Nt, Teleport as je, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Kt, 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 lt, inject as ut, vModelText as kn, toRef as nt, normalizeProps as Vn, guardReactiveProps as Cn, TransitionGroup as En, isRef as Ln, createApp as $n, h as Sn } from "vue";
2
- import { useRouter as Rn, useRoute as Tn } from "vue-router";
3
- const D = (e, n) => {
1
+ import { createElementBlock as b, openBlock as f, createElementVNode as x, renderSlot as F, defineComponent as T, computed as V, normalizeClass as I, createBlock as M, 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
- }, An = {}, On = { class: "button-bar" }, Dn = { class: "left" }, Bn = { class: "right" };
9
- function jn(e, n) {
10
- return f(), g("div", On, [
11
- x("div", Dn, [
12
- M(e.$slots, "left", {}, void 0, !0)
13
- ]),
8
+ }, On = {}, Dn = { class: "button-bar" }, Bn = { class: "left" }, jn = { class: "right" };
9
+ function Mn(e, n) {
10
+ return f(), b("div", Dn, [
14
11
  x("div", Bn, [
15
- M(e.$slots, "default", {}, void 0, !0)
12
+ F(e.$slots, "left", {}, void 0, !0)
13
+ ]),
14
+ x("div", jn, [
15
+ F(e.$slots, "default", {}, void 0, !0)
16
16
  ])
17
17
  ]);
18
18
  }
19
- const Mn = /* @__PURE__ */ D(An, [["render", jn], ["__scopeId", "data-v-45a6ed1a"]]);
20
- var F = /* @__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))(F || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
- const be = /* @__PURE__ */ T({
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 = q.M, o = C(() => `${n.icon} ${n.size ?? t}`);
29
- return (l, a) => (f(), g("i", {
30
- class: z(o.value)
28
+ const n = e, t = q.M, o = V(() => `${n.icon} ${n.size ?? t}`);
29
+ return (l, a) => (f(), b("i", {
30
+ class: I(o.value)
31
31
  }, null, 2));
32
32
  }
33
- }), Pn = ["disabled"], Fn = /* @__PURE__ */ T({
33
+ }), Fn = ["disabled"], zn = /* @__PURE__ */ T({
34
34
  __name: "button",
35
35
  props: {
36
36
  label: {},
@@ -41,48 +41,48 @@ const be = /* @__PURE__ */ T({
41
41
  disabled: { type: Boolean }
42
42
  },
43
43
  setup(e) {
44
- const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = C(() => !n.label && !!n.icon);
45
- return (a, i) => (f(), g("button", {
46
- class: z(["button", o.value, { "icon-only": l.value }]),
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
+ class: I(["button", o.value, { "icon-only": l.value }]),
47
47
  disabled: e.disabled
48
48
  }, [
49
- e.icon ? (f(), P(be, {
49
+ e.icon ? (f(), M(le, {
50
50
  key: 0,
51
51
  icon: e.icon,
52
- size: S(t)
52
+ size: $(t)
53
53
  }, null, 8, ["icon", "size"])) : L("", !0),
54
- Ue(" " + B(e.label), 1)
55
- ], 10, Pn));
54
+ Ue(" " + D(e.label), 1)
55
+ ], 10, Fn));
56
56
  }
57
- }), dt = /* @__PURE__ */ D(Fn, [["__scopeId", "data-v-f31c33cf"]]), zn = {
57
+ }), Ge = /* @__PURE__ */ B(zn, [["__scopeId", "data-v-f31c33cf"]]), In = {
58
58
  key: 0,
59
59
  class: "header-actions"
60
- }, In = { key: 0 }, Hn = /* @__PURE__ */ T({
60
+ }, Hn = { key: 0 }, Wn = /* @__PURE__ */ T({
61
61
  __name: "card",
62
62
  props: {
63
63
  header: {},
64
64
  scrollable: { type: Boolean }
65
65
  },
66
66
  setup(e) {
67
- const n = Wt();
68
- return (t, o) => (f(), g("div", {
69
- class: z(["card", { scrollable: e.scrollable }])
67
+ const n = Ut();
68
+ return (t, o) => (f(), b("div", {
69
+ class: I(["card", { scrollable: e.scrollable }])
70
70
  }, [
71
71
  x("header", null, [
72
- x("h3", null, B(e.header), 1),
73
- S(n).headerActions ? (f(), g("span", zn, [
74
- M(t.$slots, "headerActions", {}, void 0, !0)
72
+ x("h3", null, D(e.header), 1),
73
+ $(n).headerActions ? (f(), b("span", In, [
74
+ F(t.$slots, "headerActions", {}, void 0, !0)
75
75
  ])) : L("", !0)
76
76
  ]),
77
77
  x("main", null, [
78
- M(t.$slots, "default", {}, void 0, !0)
78
+ F(t.$slots, "default", {}, void 0, !0)
79
79
  ]),
80
- S(n).footer ? (f(), g("footer", In, [
81
- M(t.$slots, "footer", {}, void 0, !0)
80
+ $(n).footer ? (f(), b("footer", Hn, [
81
+ F(t.$slots, "footer", {}, void 0, !0)
82
82
  ])) : L("", !0)
83
83
  ], 2));
84
84
  }
85
- }), at = /* @__PURE__ */ D(Hn, [["__scopeId", "data-v-ec6ab562"]]), Un = ["aria-label"], Wn = {
85
+ }), it = /* @__PURE__ */ B(Wn, [["__scopeId", "data-v-ec6ab562"]]), Un = ["aria-label"], Kn = {
86
86
  key: 0,
87
87
  class: "carousel-indicators"
88
88
  }, Nn = /* @__PURE__ */ T({
@@ -97,102 +97,102 @@ const be = /* @__PURE__ */ T({
97
97
  },
98
98
  setup(e) {
99
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 m = !1;
101
- const p = E(0), w = E(!1);
102
- let h = null, y = null;
103
- const _ = E(null), b = E(null), $ = () => {
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), I();
105
- }, j = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), I = () => {
106
- r.value && Array.from(r.value.children).forEach((R, ye) => {
100
+ let p = !1;
101
+ const h = E(0), y = E(!1);
102
+ let m = null, g = null;
103
+ const _ = 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 ? R.removeAttribute("aria-hidden") : R.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
- H(), k();
113
+ C(), !(!t || h.value <= 1) && (a && y.value || (m = setTimeout(() => {
114
+ P(), k();
115
115
  }, o)));
116
- }, V = () => {
117
- h && (clearTimeout(h), h = null);
116
+ }, C = () => {
117
+ m && (clearTimeout(m), m = null);
118
118
  }, A = () => {
119
- p.value !== 0 && (s.value <= 0 ? s.value = l ? p.value - 1 : 0 : s.value--);
120
- }, H = () => {
121
- p.value !== 0 && (s.value >= p.value - 1 ? s.value = l ? 0 : p.value - 1 : s.value++);
122
- }, U = (R) => {
123
- R < 0 || R >= p.value || (s.value = R);
124
- }, ce = () => {
125
- w.value = !0, a && V();
126
- }, ue = () => {
127
- w.value = !1, k();
128
- }, de = (R) => {
129
- R.key === "ArrowLeft" ? A() : R.key === "ArrowRight" && H();
119
+ h.value !== 0 && (s.value <= 0 ? s.value = l ? h.value - 1 : 0 : s.value--);
120
+ }, P = () => {
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
+ }, te = () => {
125
+ y.value = !0, a && C();
126
+ }, fe = () => {
127
+ y.value = !1, k();
128
+ }, ve = (O) => {
129
+ O.key === "ArrowLeft" ? A() : O.key === "ArrowRight" && P();
130
130
  };
131
- let ke = 0, te = 0;
132
- const ae = (R) => {
133
- ke = R.touches[0].clientX, te = 0;
134
- }, Y = (R) => {
135
- te = R.touches[0].clientX - ke;
136
- }, ne = () => {
137
- te > 50 ? A() : te < -50 && H(), te = 0;
131
+ let ke = 0, ne = 0;
132
+ const se = (O) => {
133
+ ke = O.touches[0].clientX, ne = 0;
134
+ }, Y = (O) => {
135
+ ne = O.touches[0].clientX - ke;
136
+ }, oe = () => {
137
+ ne > 50 ? A() : ne < -50 && P(), ne = 0;
138
138
  };
139
- let Ie = 0;
140
- const Vt = (R) => {
141
- if (R.isPrimary !== !1 && !(R.pointerType === "mouse" && R.button !== 0)) {
142
- m = !0, Ie = R.clientX, v.value = 0, V();
139
+ let He = 0;
140
+ const Ct = (O) => {
141
+ if (O.isPrimary !== !1 && !(O.pointerType === "mouse" && O.button !== 0)) {
142
+ p = !0, He = O.clientX, v.value = 0, C();
143
143
  try {
144
- R.target?.setPointerCapture?.(R.pointerId);
144
+ O.target?.setPointerCapture?.(O.pointerId);
145
145
  } catch {
146
146
  }
147
147
  }
148
- }, Ct = (R) => {
149
- m && (v.value = R.clientX - Ie, R.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 R = Math.max(50, d.value * 0.15);
154
- v.value > R ? A() : v.value < -R && H(), v.value = 0, k();
155
- }, Lt = (R) => {
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 && P(), v.value = 0, k();
155
+ }, $t = (O) => {
156
156
  try {
157
- R.target?.releasePointerCapture?.(R.pointerId);
157
+ O.target?.releasePointerCapture?.(O.pointerId);
158
158
  } catch {
159
159
  }
160
160
  Et();
161
- }, $t = () => Et();
162
- return Be(() => {
163
- me(() => {
164
- if ($(), r.value && (y = new MutationObserver($), y.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", ae, { passive: !0 }), r.value.addEventListener("touchmove", Y, { passive: !0 }), r.value.addEventListener("touchend", ne)), u.value) {
165
- const R = () => {
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
- R();
168
+ O();
169
169
  const ye = window.ResizeObserver;
170
170
  if (ye && u.value) {
171
- const we = new ye(() => R());
171
+ const we = new ye(() => O());
172
172
  we.observe(u.value), _.value = we;
173
173
  } else
174
- window.addEventListener("resize", R), b.value = R;
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
- I(), k();
177
+ H(), k();
178
178
  });
179
179
  }), Re(() => {
180
- V(), y && r.value && y.disconnect(), r.value && (r.value.removeEventListener("touchstart", ae), r.value.removeEventListener("touchmove", Y), r.value.removeEventListener("touchend", ne)), 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
- }), X([s, () => p.value], () => {
182
- I();
183
- }), X([() => w.value, s], () => {
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 && (_.value && _.value.disconnect && _.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
- }), (R, ye) => {
186
- const we = K("VjButton");
187
- return f(), g("div", {
185
+ }), (O, ye) => {
186
+ const we = X("VjButton");
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,
194
- onMouseenter: ce,
195
- onMouseleave: ue
193
+ onKeydown: ve,
194
+ onMouseenter: te,
195
+ onMouseleave: fe
196
196
  }, [
197
197
  x("div", {
198
198
  class: "carousel-window",
@@ -205,42 +205,42 @@ const be = /* @__PURE__ */ T({
205
205
  ref: r,
206
206
  style: G(j.value)
207
207
  }, [
208
- M(R.$slots, "default", {}, void 0, !0)
208
+ F(O.$slots, "default", {}, void 0, !0)
209
209
  ], 4)
210
210
  ], 512),
211
- O(we, {
211
+ R(we, {
212
212
  class: "carousel-btn prev",
213
- icon: S(F).PREVIOUS,
213
+ icon: $(z).PREVIOUS,
214
214
  onClick: A,
215
215
  type: "button",
216
216
  "aria-label": "Previous slide"
217
217
  }, null, 8, ["icon"]),
218
- O(we, {
218
+ R(we, {
219
219
  class: "carousel-btn next",
220
- icon: S(F).NEXT,
221
- onClick: H,
220
+ icon: $(z).NEXT,
221
+ onClick: P,
222
222
  type: "button",
223
223
  "aria-label": "Next slide"
224
224
  }, null, 8, ["icon"]),
225
- p.value > 1 ? (f(), g("div", Wn, [
226
- (f(!0), g(Z, null, ge(p.value, (Te) => (f(), P(we, {
227
- key: Te - 1,
228
- class: z(["indicator", { active: Te - 1 === s.value }]),
229
- onClick: (Oi) => U(Te - 1),
230
- "aria-current": Te - 1 === s.value,
231
- "aria-label": `Go to slide ${Te}`,
225
+ h.value > 1 ? (f(), b("div", Kn, [
226
+ (f(!0), b(J, null, pe(h.value, (Ae) => (f(), M(we, {
227
+ key: Ae - 1,
228
+ class: I(["indicator", { active: Ae - 1 === s.value }]),
229
+ onClick: (Zi) => W(Ae - 1),
230
+ "aria-current": Ae - 1 === s.value,
231
+ "aria-label": `Go to slide ${Ae}`,
232
232
  type: "button"
233
233
  }, null, 8, ["class", "onClick", "aria-current", "aria-label"]))), 128))
234
234
  ])) : L("", !0)
235
235
  ], 40, Un);
236
236
  };
237
237
  }
238
- }), ji = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-232abca2"]]), Kn = { class: "checkbox" }, Xn = ["checked", "disabled"], Gn = {
238
+ }), ns = /* @__PURE__ */ B(Nn, [["__scopeId", "data-v-232abca2"]]), Xn = { class: "checkbox" }, qn = ["checked", "disabled"], Gn = {
239
239
  key: 0,
240
240
  class: "checkbox-label"
241
- }, qn = /* @__PURE__ */ T({
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,18 +249,18 @@ const be = /* @__PURE__ */ T({
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) => (f(), g("label", Kn, [
256
+ return (o, l) => (f(), b("label", Xn, [
257
257
  x("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
- }, null, 40, Xn),
263
+ }, null, 40, qn),
264
264
  l[0] || (l[0] = x("span", { class: "checkbox-box" }, [
265
265
  x("svg", {
266
266
  class: "checkbox-icon",
@@ -278,15 +278,15 @@ const be = /* @__PURE__ */ T({
278
278
  })
279
279
  ])
280
280
  ], -1)),
281
- e.label ? (f(), g("span", Gn, B(e.label), 1)) : L("", !0)
281
+ e.label ? (f(), b("span", Gn, D(e.label), 1)) : L("", !0)
282
282
  ]));
283
283
  }
284
- }), Yn = /* @__PURE__ */ D(qn, [["__scopeId", "data-v-d44b45ff"]]), Jn = { class: "radio" }, Qn = ["checked", "disabled"], Zn = {
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
- }, eo = /* @__PURE__ */ T({
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__ */ T({
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) => (f(), g("label", Jn, [
302
+ return (o, l) => (f(), b("label", Qn, [
303
303
  x("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
- }, null, 40, Qn),
309
+ }, null, 40, Zn),
310
310
  l[0] || (l[0] = x("span", { class: "radio-box" }, [
311
311
  x("span", {
312
312
  class: "radio-dot",
313
313
  "aria-hidden": "true"
314
314
  })
315
315
  ], -1)),
316
- e.label ? (f(), g("span", Zn, B(e.label), 1)) : L("", !0)
316
+ e.label ? (f(), b("span", eo, D(e.label), 1)) : L("", !0)
317
317
  ]));
318
318
  }
319
- }), Mi = /* @__PURE__ */ D(eo, [["__scopeId", "data-v-f9e4bb65"]]), to = { class: "chip__label" }, no = /* @__PURE__ */ T({
319
+ }), os = /* @__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__ */ T({
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) => (f(), g("div", {
338
- class: z(["chip", { "chip--dismissable": S(a) }]),
337
+ return (s, r) => (f(), b("div", {
338
+ class: I(["chip", { "chip--dismissable": $(a) }]),
339
339
  style: G(i.value),
340
340
  onClick: r[0] || (r[0] = (u) => s.$emit("click"))
341
341
  }, [
342
- x("span", to, B(e.label), 1),
343
- S(a) ? (f(), g("button", {
342
+ x("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: N(c, ["stop"]),
347
+ onClick: U(c, ["stop"]),
348
348
  "aria-label": "Dismiss"
349
349
  }, [
350
- O(be, {
351
- icon: S(F).CLOSE,
352
- size: S(q).S
350
+ R(le, {
351
+ icon: $(z).CLOSE,
352
+ size: $(q).S
353
353
  }, null, 8, ["icon", "size"])
354
354
  ])) : L("", !0)
355
355
  ], 6));
356
356
  }
357
- }), Gt = /* @__PURE__ */ D(no, [["__scopeId", "data-v-c2014a3b"]]), oo = { class: "chip-group" }, lo = {
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
- }, ao = { class: "chip-group__container" }, io = ["onDragover", "onDrop"], so = ["onDragstart", "onDragover", "onDragenter", "onDrop"], ro = ["onDragover", "onDrop"], co = {
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
- }, uo = /* @__PURE__ */ T({
363
+ }, fo = /* @__PURE__ */ T({
364
364
  __name: "chip-group",
365
365
  props: {
366
366
  items: { default: () => [] },
@@ -374,81 +374,81 @@ const be = /* @__PURE__ */ T({
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 v(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 _ = [...t.items], w = _[l.value];
401
+ _.splice(l.value, 1), _.splice(m, 0, w), o("update:items", _), o("reorder", _);
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, $) => $ !== h);
408
- o("update:items", _), o("dismiss", y, h);
406
+ function y(m) {
407
+ const g = t.items[m], _ = t.items.filter((w, S) => S !== m);
408
+ o("update:items", _), o("dismiss", g, m);
409
409
  }
410
- return (h, y) => (f(), g("div", oo, [
411
- e.label ? (f(), g("label", lo, B(e.label), 1)) : L("", !0),
412
- x("div", ao, [
413
- (f(!0), g(Z, null, ge(e.items, (_, b) => (f(), 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
+ x("div", io, [
413
+ (f(!0), b(J, null, pe(e.items, (_, w) => (f(), b(J, {
414
+ key: i(_, w)
415
415
  }, [
416
- v(b, "before") ? (f(), g("div", {
416
+ v(w, "before") ? (f(), b("div", {
417
417
  key: 0,
418
418
  class: "chip-group__drop-indicator",
419
- onDragover: N(($) => r(b, $), ["prevent"]),
420
- onDrop: ($) => m(b, $)
421
- }, null, 40, io)) : L("", !0),
419
+ onDragover: U((S) => r(w, S), ["prevent"]),
420
+ onDrop: (S) => p(w, S)
421
+ }, null, 40, so)) : L("", !0),
422
422
  x("div", {
423
- class: z(["chip-group__item", { "chip-group__item--dragging": l.value === b }]),
423
+ class: I(["chip-group__item", { "chip-group__item--dragging": l.value === w }]),
424
424
  draggable: "true",
425
- onDragstart: ($) => s(b, $),
426
- onDragover: N(($) => r(b, $), ["prevent"]),
427
- onDragenter: N(($) => 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: ($) => m(b, $),
430
- onDragend: p
429
+ onDrop: (S) => p(w, S),
430
+ onDragend: h
431
431
  }, [
432
- O(Gt, {
432
+ R(qt, {
433
433
  label: c(_),
434
434
  dismissable: typeof _ == "string" ? e.dismissable : _.dismissable ?? e.dismissable,
435
435
  color: typeof _ == "string" ? e.color : _.color ?? e.color,
436
- onDismiss: ($) => w(b),
437
- onClick: ($) => h.$emit("chip-click", _, b)
436
+ onDismiss: (S) => y(w),
437
+ onClick: (S) => m.$emit("chip-click", _, w)
438
438
  }, null, 8, ["label", "dismissable", "color", "onDismiss", "onClick"])
439
- ], 42, so),
440
- v(b, "after") ? (f(), g("div", {
439
+ ], 42, ro),
440
+ v(w, "after") ? (f(), b("div", {
441
441
  key: 1,
442
442
  class: "chip-group__drop-indicator",
443
- onDragover: N(($) => r(b, $), ["prevent"]),
444
- onDrop: ($) => m(b, $)
445
- }, null, 40, ro)) : L("", !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 ? (f(), g("div", co, B(e.hint), 1)) : L("", !0)
448
+ e.hint ? (f(), b("div", uo, D(e.hint), 1)) : L("", !0)
449
449
  ]));
450
450
  }
451
- }), qt = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-66199d19"]]), Yt = /* @__PURE__ */ Symbol("VjDialogController"), fo = { class: "dialog-content" }, vo = { key: 1 }, mo = { class: "dialog-footer" }, po = /* @__PURE__ */ T({
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 },
@@ -466,7 +466,7 @@ const be = /* @__PURE__ */ T({
466
466
  emits: ["update:modelValue", "confirm", "cancel", "close", "resolve"],
467
467
  setup(e, { emit: n }) {
468
468
  const t = e, o = n, l = E(t.modelValue);
469
- X(
469
+ N(
470
470
  () => t.modelValue,
471
471
  (d) => l.value = d
472
472
  );
@@ -479,7 +479,7 @@ const be = /* @__PURE__ */ T({
479
479
  }, s = () => {
480
480
  o("cancel"), a();
481
481
  };
482
- Nt(Yt, {
482
+ Kt(Yt, {
483
483
  close: a,
484
484
  resolve: i,
485
485
  cancel: s
@@ -489,64 +489,64 @@ const be = /* @__PURE__ */ T({
489
489
  }, u = (d) => {
490
490
  d.key === "Escape" && t.closeOnEscape && l.value && a();
491
491
  };
492
- return Be(() => {
492
+ return Te(() => {
493
493
  document.addEventListener("keydown", u);
494
494
  }), Re(() => {
495
495
  document.removeEventListener("keydown", u);
496
496
  }), (d, v) => {
497
- const m = K("VjIcon"), p = K("VjButton"), w = K("VjCard");
498
- return f(), P(je, { to: "body" }, [
499
- O(Oe, { name: "dialog-fade" }, {
500
- default: W(() => [
501
- l.value ? (f(), g("div", {
497
+ const p = X("VjIcon"), h = X("VjButton"), y = X("VjCard");
498
+ return f(), M(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
- O(Oe, { name: "dialog-scale" }, {
507
- default: W(() => [
508
- l.value ? (f(), 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: v[0] || (v[0] = N(() => {
511
+ onClick: v[0] || (v[0] = U(() => {
512
512
  }, ["stop"]))
513
513
  }, [
514
- O(w, {
514
+ R(y, {
515
515
  class: "dialog-card",
516
516
  header: e.title || ""
517
- }, rt({
518
- headerActions: W(() => [
519
- O(m, {
520
- icon: S(F).CLOSE,
521
- size: S(q).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: W(() => [
527
- x("div", fo, [
528
- e.component ? (f(), P(Kt(e.component), yn({ key: 0 }, e.componentProps, {
526
+ default: K(() => [
527
+ x("div", vo, [
528
+ e.component ? (f(), M(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 ? (f(), g("div", vo, 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)) : F(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: W(() => [
541
- x("div", mo, [
542
- M(d.$slots, "footer", {}, () => [
543
- e.showCancel ? (f(), P(p, {
540
+ fn: K(() => [
541
+ x("div", po, [
542
+ F(d.$slots, "footer", {}, () => [
543
+ e.showCancel ? (f(), M(h, {
544
544
  key: 0,
545
545
  secondary: "",
546
546
  onClick: s,
547
547
  label: e.cancelText
548
548
  }, null, 8, ["label"])) : L("", !0),
549
- O(p, {
549
+ R(h, {
550
550
  primary: "",
551
551
  onClick: c,
552
552
  label: e.confirmText
@@ -568,10 +568,10 @@ const be = /* @__PURE__ */ T({
568
568
  ]);
569
569
  };
570
570
  }
571
- }), ft = /* @__PURE__ */ D(po, [["__scopeId", "data-v-29d1729b"]]), ho = { class: "vj-chip-selector" }, go = { class: "options-grid" }, bo = ["onClick"], yo = {
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
- }, wo = /* @__PURE__ */ T({
574
+ }, _o = /* @__PURE__ */ T({
575
575
  __name: "chip-selector",
576
576
  props: {
577
577
  items: { default: () => [] },
@@ -583,7 +583,7 @@ const be = /* @__PURE__ */ T({
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);
@@ -594,14 +594,14 @@ const be = /* @__PURE__ */ T({
594
594
  l.value = u, o("update:items", u);
595
595
  }
596
596
  }
597
- return X(
597
+ return N(
598
598
  () => t.items,
599
599
  (r) => {
600
600
  JSON.stringify(r) !== JSON.stringify(l.value) && (l.value = [...r]);
601
601
  },
602
602
  { deep: !0 }
603
- ), (r, u) => (f(), g("div", ho, [
604
- O(qt, {
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),
@@ -614,50 +614,50 @@ const be = /* @__PURE__ */ T({
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
- O(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: W(() => [
625
- x("div", go, [
626
- (f(!0), g(Z, null, ge(i.value, (d) => (f(), g("button", {
624
+ default: K(() => [
625
+ x("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
630
  onClick: (v) => s(d.value)
631
- }, "+ " + B(d.label), 9, bo))), 128))
631
+ }, "+ " + D(d.label), 9, yo))), 128))
632
632
  ]),
633
- i.value.length === 0 ? (f(), g("div", yo, "All options already selected")) : L("", !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
- }), _o = /* @__PURE__ */ D(wo, [["__scopeId", "data-v-f2e1b880"]]), $e = Math.min, J = Math.max, We = Math.round, He = Math.floor, ie = (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
- }), xo = {
642
+ }), ko = {
643
643
  left: "right",
644
644
  right: "left",
645
645
  bottom: "top",
646
646
  top: "bottom"
647
- }, ko = {
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
- function Pe(e) {
660
+ function Fe(e) {
661
661
  return e.split("-")[1];
662
662
  }
663
663
  function Jt(e) {
@@ -667,47 +667,47 @@ function Qt(e) {
667
667
  return e === "y" ? "height" : "width";
668
668
  }
669
669
  const Vo = /* @__PURE__ */ new Set(["top", "bottom"]);
670
- function fe(e) {
671
- return Vo.has(pe(e)) ? "y" : "x";
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
- function Co(e, n, t) {
676
+ function Eo(e, n, t) {
677
677
  t === void 0 && (t = !1);
678
- const o = Pe(e), l = Zt(e), a = Qt(l);
678
+ const o = Fe(e), l = Zt(e), a = Qt(l);
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 Eo(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) => ko[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"], Lo = ["top", "bottom"], $o = ["bottom", "top"];
690
- function So(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 ? Lo : $o;
697
+ return n ? Lo : So;
698
698
  default:
699
699
  return [];
700
700
  }
701
701
  }
702
702
  function Ro(e, n, t, o) {
703
- const l = Pe(e);
704
- let a = So(pe(e), t === "start", o);
705
- return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(it)))), a;
703
+ const l = Fe(e);
704
+ let a = To(ge(e), t === "start", o);
705
+ return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(st)))), a;
706
706
  }
707
707
  function Ne(e) {
708
- return e.replace(/left|right|bottom|top/g, (n) => xo[n]);
708
+ return e.replace(/left|right|bottom|top/g, (n) => ko[n]);
709
709
  }
710
- function To(e) {
710
+ function Ao(e) {
711
711
  return {
712
712
  top: 0,
713
713
  right: 0,
@@ -716,15 +716,15 @@ function To(e) {
716
716
  ...e
717
717
  };
718
718
  }
719
- function Ao(e) {
720
- return typeof e != "number" ? To(e) : {
719
+ function Oo(e) {
720
+ return typeof e != "number" ? Ao(e) : {
721
721
  top: e,
722
722
  right: e,
723
723
  bottom: e,
724
724
  left: e
725
725
  };
726
726
  }
727
- function Ke(e) {
727
+ function Xe(e) {
728
728
  const {
729
729
  x: n,
730
730
  y: t,
@@ -747,50 +747,50 @@ 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, v = 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
- switch (Pe(n)) {
783
+ switch (Fe(n)) {
784
784
  case "start":
785
- m[i] -= v * (t && r ? -1 : 1);
785
+ p[i] -= v * (t && r ? -1 : 1);
786
786
  break;
787
787
  case "end":
788
- m[i] += v * (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
- const Oo = async (e, n, t) => {
793
+ const Do = async (e, n, t) => {
794
794
  const {
795
795
  placement: o = "bottom",
796
796
  strategy: l = "absolute",
@@ -804,23 +804,23 @@ const Oo = async (e, n, t) => {
804
804
  }), {
805
805
  x: u,
806
806
  y: d
807
- } = Ot(r, o, s), v = 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], {
810
+ name: m,
811
+ fn: g
812
+ } = c[y], {
813
813
  x: _,
814
- y: b,
815
- data: $,
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
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 Oo = 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
- ...$
831
+ u = _ ?? 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 && (v = 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, v, s)), w = -1);
844
+ } = Ot(r, v, s)), y = -1);
845
845
  }
846
846
  return {
847
847
  x: u,
848
848
  y: d,
849
849
  placement: v,
850
850
  strategy: l,
851
- middlewareData: m
851
+ middlewareData: p
852
852
  };
853
853
  };
854
854
  async function vt(e, n) {
@@ -866,9 +866,9 @@ async function vt(e, n) {
866
866
  rootBoundary: u = "viewport",
867
867
  elementContext: d = "floating",
868
868
  altBoundary: v = !1,
869
- padding: m = 0
870
- } = Me(n, e), p = Ao(m), h = c[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(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)),
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
@@ -877,26 +877,26 @@ async function vt(e, n) {
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)), $ = 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
  } : {
884
884
  x: 1,
885
885
  y: 1
886
- }, j = Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
886
+ }, j = Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
887
887
  elements: c,
888
888
  rect: _,
889
- offsetParent: b,
889
+ offsetParent: w,
890
890
  strategy: s
891
891
  }) : _);
892
892
  return {
893
- top: (y.top - j.top + p.top) / $.y,
894
- bottom: (j.bottom - y.bottom + p.bottom) / $.y,
895
- left: (y.left - j.left + p.left) / $.x,
896
- right: (j.right - y.right + p.right) / $.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 Do = function(e) {
899
+ const Bo = function(e) {
900
900
  return e === void 0 && (e = {}), {
901
901
  name: "flip",
902
902
  options: e,
@@ -913,81 +913,81 @@ const Do = function(e) {
913
913
  mainAxis: u = !0,
914
914
  crossAxis: d = !0,
915
915
  fallbackPlacements: v,
916
- fallbackStrategy: m = "bestFit",
917
- fallbackAxisSideDirection: p = "none",
918
- flipAlignment: w = !0,
919
- ...h
920
- } = Me(e, n);
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, $ = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), j = v || (b || !w ? [Ne(c)] : Eo(c)), I = p !== "none";
924
- !v && I && j.push(...Ro(c, w, p, $));
925
- const k = [c, ...j], V = await vt(n, h), A = [];
926
- let H = ((o = a.flip) == null ? void 0 : o.overflows) || [];
927
- if (u && A.push(V[y]), d) {
928
- const de = Co(l, i, $);
929
- A.push(V[de[0]], V[de[1]]);
923
+ const g = ge(l), _ = 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 P = ((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 (H = [...H, {
931
+ if (P = [...P, {
932
932
  placement: l,
933
933
  overflows: A
934
- }], !A.every((de) => de <= 0)) {
935
- var U, ce;
936
- const de = (((U = a.flip) == null ? void 0 : U.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
934
+ }], !A.every((ve) => ve <= 0)) {
935
+ var W, te;
936
+ const ve = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ke = k[ve];
937
+ if (ke && (!(d === "alignment" ? _ !== me(ke) : !1) || // We leave the current main axis only if every placement on that axis
938
938
  // overflows the main axis.
939
- H.every((Y) => fe(Y.placement) === _ ? Y.overflows[0] > 0 : !0)))
939
+ P.every((Y) => me(Y.placement) === _ ? Y.overflows[0] > 0 : !0)))
940
940
  return {
941
941
  data: {
942
- index: de,
943
- overflows: H
942
+ index: ve,
943
+ overflows: P
944
944
  },
945
945
  reset: {
946
946
  placement: ke
947
947
  }
948
948
  };
949
- let te = (ce = H.filter((ae) => ae.overflows[0] <= 0).sort((ae, Y) => ae.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : ce.placement;
950
- if (!te)
951
- switch (m) {
949
+ let ne = (te = P.filter((se) => se.overflows[0] <= 0).sort((se, Y) => se.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : te.placement;
950
+ if (!ne)
951
+ switch (p) {
952
952
  case "bestFit": {
953
- var ue;
954
- const ae = (ue = H.filter((Y) => {
955
- if (I) {
956
- const ne = fe(Y.placement);
957
- return ne === _ || // Create a bias to the `y` side axis due to horizontal
953
+ var fe;
954
+ const se = (fe = P.filter((Y) => {
955
+ if (H) {
956
+ const oe = me(Y.placement);
957
+ return oe === _ || // Create a bias to the `y` side axis due to horizontal
958
958
  // reading directions favoring greater width.
959
- ne === "y";
959
+ oe === "y";
960
960
  }
961
961
  return !0;
962
- }).map((Y) => [Y.placement, Y.overflows.filter((ne) => ne > 0).reduce((ne, Ie) => ne + Ie, 0)]).sort((Y, ne) => Y[1] - ne[1])[0]) == null ? void 0 : ue[0];
963
- ae && (te = ae);
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":
967
- te = c;
967
+ ne = c;
968
968
  break;
969
969
  }
970
- if (l !== te)
970
+ if (l !== ne)
971
971
  return {
972
972
  reset: {
973
- placement: te
973
+ placement: ne
974
974
  }
975
975
  };
976
976
  }
977
977
  return {};
978
978
  }
979
979
  };
980
- }, Bo = /* @__PURE__ */ new Set(["left", "top"]);
981
- async function jo(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 = Pe(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
988
  mainAxis: v,
989
- crossAxis: m,
990
- alignmentAxis: p
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 jo(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,
1000
+ return c && typeof h == "number" && (p = c === "end" ? h * -1 : h), s ? {
1001
+ x: p * u,
1002
1002
  y: v * r
1003
1003
  } : {
1004
1004
  x: v * r,
1005
- y: m * u
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 jo(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,
@@ -1027,7 +1027,7 @@ const Mo = function(e) {
1027
1027
  };
1028
1028
  }
1029
1029
  };
1030
- }, Po = function(e) {
1030
+ }, Fo = function(e) {
1031
1031
  return e === void 0 && (e = {}), {
1032
1032
  name: "shift",
1033
1033
  options: e,
@@ -1040,41 +1040,41 @@ 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,
1045
+ x: g,
1046
1046
  y: _
1047
- } = h;
1047
+ } = m;
1048
1048
  return {
1049
- x: y,
1049
+ x: g,
1050
1050
  y: _
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)), v = Jt(d);
1059
- let m = r[v], 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 = v === "y" ? "top" : "left", y = v === "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", _ = p + u[m], w = p - u[g];
1062
+ p = Tt(_, 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", _ = h + u[m], w = h - u[g];
1066
+ h = Tt(_, h, w);
1067
1067
  }
1068
- const w = c.fn({
1068
+ const y = c.fn({
1069
1069
  ...n,
1070
- [v]: 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
1079
  [v]: a,
1080
1080
  [d]: i
@@ -1083,7 +1083,7 @@ const Mo = function(e) {
1083
1083
  };
1084
1084
  }
1085
1085
  };
1086
- }, Fo = function(e) {
1086
+ }, zo = function(e) {
1087
1087
  return e === void 0 && (e = {}), {
1088
1088
  name: "size",
1089
1089
  options: e,
@@ -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), v = Pe(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 = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = v === "end" ? "top" : "bottom");
1107
- const _ = w - u.top - u.bottom, b = p - u.left - u.right, $ = $e(w - u[h], _), j = $e(p - u[y], b), I = !n.middlewareData.shift;
1108
- let k = $, V = j;
1109
- if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = _), I && !v) {
1110
- const H = J(u.left, 0), U = J(u.right, 0), ce = J(u.top, 0), ue = J(u.bottom, 0);
1111
- m ? V = p - 2 * (H !== 0 || U !== 0 ? H + U : J(u.left, u.right)) : k = w - 2 * (ce !== 0 || ue !== 0 ? ce + 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 _ = y - u.top - u.bottom, w = h - u.left - u.right, S = Le(y - u[m], _), 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 = _), H && !v) {
1110
+ const P = Z(u.left, 0), W = Z(u.right, 0), te = Z(u.top, 0), fe = Z(u.bottom, 0);
1111
+ p ? C = h - 2 * (P !== 0 || W !== 0 ? P + 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
1118
  const A = await i.getDimensions(c.floating);
1119
- return p !== A.width || w !== A.height ? {
1119
+ return h !== A.width || y !== A.height ? {
1120
1120
  reset: {
1121
1121
  rects: !0
1122
1122
  }
@@ -1124,48 +1124,48 @@ 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 re(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 oe(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 se(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
- const zo = /* @__PURE__ */ new Set(["inline", "contents"]);
1154
- function Fe(e) {
1153
+ const Io = /* @__PURE__ */ new Set(["inline", "contents"]);
1154
+ function ze(e) {
1155
1155
  const {
1156
1156
  overflow: n,
1157
1157
  overflowX: t,
1158
1158
  overflowY: o,
1159
1159
  display: l
1160
- } = le(e);
1161
- return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !zo.has(l);
1160
+ } = ie(e);
1161
+ return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !Io.has(l);
1162
1162
  }
1163
- const Io = /* @__PURE__ */ new Set(["table", "td", "th"]);
1164
- function Ho(e) {
1165
- return Io.has(xe(e));
1163
+ const Ho = /* @__PURE__ */ new Set(["table", "td", "th"]);
1164
+ function Wo(e) {
1165
+ return Ho.has(xe(e));
1166
1166
  }
1167
1167
  const Uo = [":popover-open", ":modal"];
1168
- function qe(e) {
1168
+ function Je(e) {
1169
1169
  return Uo.some((n) => {
1170
1170
  try {
1171
1171
  return e.matches(n);
@@ -1174,19 +1174,19 @@ function qe(e) {
1174
1174
  }
1175
1175
  });
1176
1176
  }
1177
- const Wo = ["transform", "translate", "scale", "rotate", "perspective"], No = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ko = ["paint", "layout", "strict", "content"];
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 = oe(e) ? le(e) : e;
1180
- return Wo.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)) || Ko.some((o) => (t.contain || "").includes(o));
1179
+ const n = ht(), t = ae(e) ? ie(e) : e;
1180
+ return Ko.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || No.some((o) => (t.willChange || "").includes(o)) || Xo.some((o) => (t.contain || "").includes(o));
1181
1181
  }
1182
- function Xo(e) {
1183
- let n = he(e);
1184
- for (; se(n) && !Se(n); ) {
1182
+ function qo(e) {
1183
+ let n = be(e);
1184
+ for (; ce(n) && !Se(n); ) {
1185
1185
  if (pt(n))
1186
1186
  return n;
1187
- if (qe(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 le(e) {
1201
- return Q(e).getComputedStyle(e);
1200
+ function ie(e) {
1201
+ return ee(e).getComputedStyle(e);
1202
1202
  }
1203
- function Ye(e) {
1204
- return oe(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 Ye(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
- re(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 : se(n) && Fe(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 De(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 || [], Fe(l) ? l : [], c && t ? De(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, De(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 = le(e);
1242
+ const n = ie(e);
1243
1243
  let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
1244
- const l = se(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = We(t) !== a || We(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,87 +1249,87 @@ function tn(e) {
1249
1249
  };
1250
1250
  }
1251
1251
  function gt(e) {
1252
- return oe(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 (!se(n))
1257
- return ie(1);
1256
+ if (!ce(n))
1257
+ return re(1);
1258
1258
  const t = n.getBoundingClientRect(), {
1259
1259
  width: o,
1260
1260
  height: l,
1261
1261
  $: a
1262
1262
  } = tn(n);
1263
- let i = (a ? We(t.width) : t.width) / o, c = (a ? We(t.height) : t.height) / l;
1263
+ let i = (a ? Ke(t.width) : t.width) / o, c = (a ? Ke(t.height) : t.height) / l;
1264
1264
  return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1265
1265
  x: i,
1266
1266
  y: c
1267
1267
  };
1268
1268
  }
1269
- const qo = /* @__PURE__ */ ie(0);
1269
+ const Yo = /* @__PURE__ */ re(0);
1270
1270
  function nn(e) {
1271
- const n = Q(e);
1272
- return !ht() || !n.visualViewport ? qo : {
1271
+ const n = ee(e);
1272
+ return !ht() || !n.visualViewport ? Yo : {
1273
1273
  x: n.visualViewport.offsetLeft,
1274
1274
  y: n.visualViewport.offsetTop
1275
1275
  };
1276
1276
  }
1277
- function Yo(e, n, t) {
1278
- return n === void 0 && (n = !1), !t || n && t !== Q(e) ? !1 : n;
1277
+ function Jo(e, n, t) {
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 = ie(1);
1284
- n && (o ? oe(o) && (i = Ee(o)) : i = Ee(e));
1285
- const c = Yo(a, t, o) ? nn(a) : ie(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 v = Q(a), m = o && oe(o) ? Q(o) : o;
1289
- let p = v, w = st(p);
1290
- for (; w && o && m !== p; ) {
1291
- const h = Ee(w), y = w.getBoundingClientRect(), _ = le(w), b = y.left + (w.clientLeft + parseFloat(_.paddingLeft)) * h.x, $ = y.top + (w.clientTop + parseFloat(_.paddingTop)) * h.y;
1292
- s *= h.x, r *= h.y, u *= h.x, d *= h.y, s += b, r += $, 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(), _ = ie(y), w = g.left + (y.clientLeft + parseFloat(_.paddingLeft)) * m.x, S = g.top + (y.clientTop + parseFloat(_.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
- return Ke({
1295
+ return Xe({
1296
1296
  width: u,
1297
1297
  height: d,
1298
1298
  x: s,
1299
1299
  y: r
1300
1300
  });
1301
1301
  }
1302
- function Je(e, n) {
1303
- const t = Ye(e).scrollLeft;
1304
- return n ? n.left + t : _e(re(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 - Je(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
1311
1311
  };
1312
1312
  }
1313
- function Jo(e) {
1313
+ function Qo(e) {
1314
1314
  let {
1315
1315
  elements: n,
1316
1316
  rect: t,
1317
1317
  offsetParent: o,
1318
1318
  strategy: l
1319
1319
  } = e;
1320
- const a = l === "fixed", i = re(o), c = n ? qe(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 = ie(1);
1327
- const u = ie(0), d = se(o);
1328
- if ((d || !d && !a) && ((xe(o) !== "body" || Fe(i)) && (s = Ye(o)), se(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 v = i && !d && !a ? on(i, s) : ie(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,
@@ -1337,14 +1337,14 @@ function Jo(e) {
1337
1337
  y: t.y * r.y - s.scrollTop * r.y + u.y + v.y
1338
1338
  };
1339
1339
  }
1340
- function Qo(e) {
1340
+ function Zo(e) {
1341
1341
  return Array.from(e.getClientRects());
1342
1342
  }
1343
- function Zo(e) {
1344
- const n = re(e), t = Ye(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 + Je(e);
1343
+ function el(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 le(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,
@@ -1352,18 +1352,18 @@ function Zo(e) {
1352
1352
  };
1353
1353
  }
1354
1354
  const Bt = 25;
1355
- function el(e, n) {
1356
- const t = Q(e), o = re(e), l = t.visualViewport;
1355
+ function tl(e, n) {
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 = Je(o);
1363
+ const r = Ze(o);
1364
1364
  if (r <= 0) {
1365
- const u = o.ownerDocument, d = u.body, v = getComputedStyle(d), m = u.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
1366
- p <= Bt && (a -= p);
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
1367
  } else r <= Bt && (a += r);
1368
1368
  return {
1369
1369
  width: a,
@@ -1372,9 +1372,9 @@ function el(e, n) {
1372
1372
  y: s
1373
1373
  };
1374
1374
  }
1375
- const tl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1376
- function nl(e, n) {
1377
- const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = se(e) ? Ee(e) : ie(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1375
+ const nl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1376
+ function ol(e, n) {
1377
+ const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = ce(e) ? Ee(e) : re(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1378
1378
  return {
1379
1379
  width: i,
1380
1380
  height: c,
@@ -1385,11 +1385,11 @@ function nl(e, n) {
1385
1385
  function jt(e, n, t) {
1386
1386
  let o;
1387
1387
  if (n === "viewport")
1388
- o = el(e, t);
1388
+ o = tl(e, t);
1389
1389
  else if (n === "document")
1390
- o = Zo(re(e));
1391
- else if (oe(n))
1392
- o = nl(n, t);
1390
+ o = el(de(e));
1391
+ else if (ae(n))
1392
+ o = ol(n, t);
1393
1393
  else {
1394
1394
  const l = nn(e);
1395
1395
  o = {
@@ -1399,35 +1399,35 @@ function jt(e, n, t) {
1399
1399
  height: n.height
1400
1400
  };
1401
1401
  }
1402
- return Ke(o);
1402
+ return Xe(o);
1403
1403
  }
1404
1404
  function ln(e, n) {
1405
- const t = he(e);
1406
- return t === n || !oe(t) || Se(t) ? !1 : le(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
- function ol(e, n) {
1408
+ function ll(e, n) {
1409
1409
  const t = n.get(e);
1410
1410
  if (t)
1411
1411
  return t;
1412
- let o = De(e, [], !1).filter((c) => oe(c) && xe(c) !== "body"), l = null;
1413
- const a = le(e).position === "fixed";
1414
- let i = a ? he(e) : e;
1415
- for (; oe(i) && !Se(i); ) {
1416
- const c = le(i), s = pt(i);
1417
- !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && tl.has(l.position) || Fe(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
  }
1421
- function ll(e) {
1421
+ function al(e) {
1422
1422
  let {
1423
1423
  element: n,
1424
1424
  boundary: t,
1425
1425
  rootBoundary: o,
1426
1426
  strategy: l
1427
1427
  } = e;
1428
- const i = [...t === "clippingAncestors" ? qe(n) ? [] : ol(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1428
+ const i = [...t === "clippingAncestors" ? Je(n) ? [] : ll(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1429
1429
  const d = jt(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;
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
1431
  }, jt(n, c, l));
1432
1432
  return {
1433
1433
  width: s.right - s.left,
@@ -1436,7 +1436,7 @@ function ll(e) {
1436
1436
  y: s.top
1437
1437
  };
1438
1438
  }
1439
- function al(e) {
1439
+ function il(e) {
1440
1440
  const {
1441
1441
  width: n,
1442
1442
  height: t
@@ -1446,23 +1446,23 @@ function al(e) {
1446
1446
  height: t
1447
1447
  };
1448
1448
  }
1449
- function il(e, n, t) {
1450
- const o = se(n), l = re(n), a = t === "fixed", i = _e(e, !0, a, n);
1449
+ function sl(e, n, t) {
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 = ie(0);
1455
+ const s = re(0);
1456
1456
  function r() {
1457
- s.x = Je(l);
1457
+ s.x = Ze(l);
1458
1458
  }
1459
1459
  if (o || !o && !a)
1460
- if ((xe(n) !== "body" || Fe(l)) && (c = Ye(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) : ie(0), d = i.left + c.scrollLeft - s.x - u.x, v = 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
1468
  y: v,
@@ -1470,39 +1470,39 @@ function il(e, n, t) {
1470
1470
  height: i.height
1471
1471
  };
1472
1472
  }
1473
- function ot(e) {
1474
- return le(e).position === "static";
1473
+ function at(e) {
1474
+ return ie(e).position === "static";
1475
1475
  }
1476
1476
  function Mt(e, n) {
1477
- if (!se(e) || le(e).position === "fixed")
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 re(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 (qe(e))
1485
+ const t = ee(e);
1486
+ if (Je(e))
1487
1487
  return t;
1488
- if (!se(e)) {
1489
- let l = he(e);
1488
+ if (!ce(e)) {
1489
+ let l = be(e);
1490
1490
  for (; l && !Se(l); ) {
1491
- if (oe(l) && !ot(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
1497
  let o = Mt(e, n);
1498
- for (; o && Ho(o) && ot(o); )
1498
+ for (; o && Wo(o) && at(o); )
1499
1499
  o = Mt(o, n);
1500
- return o && Se(o) && ot(o) && !pt(o) ? t : o || Xo(e) || t;
1500
+ return o && Se(o) && at(o) && !pt(o) ? t : o || qo(e) || t;
1501
1501
  }
1502
- const sl = async function(e) {
1502
+ const rl = async function(e) {
1503
1503
  const n = this.getOffsetParent || an, t = this.getDimensions, o = await t(e.floating);
1504
1504
  return {
1505
- reference: il(e.reference, await n(e.floating), e.strategy),
1505
+ reference: sl(e.reference, await n(e.floating), e.strategy),
1506
1506
  floating: {
1507
1507
  x: 0,
1508
1508
  y: 0,
@@ -1511,27 +1511,27 @@ const sl = async function(e) {
1511
1511
  }
1512
1512
  };
1513
1513
  };
1514
- function rl(e) {
1515
- return le(e).direction === "rtl";
1514
+ function cl(e) {
1515
+ return ie(e).direction === "rtl";
1516
1516
  }
1517
- const cl = {
1518
- convertOffsetParentRelativeRectToViewportRelativeRect: Jo,
1519
- getDocumentElement: re,
1520
- getClippingRect: ll,
1517
+ const ul = {
1518
+ convertOffsetParentRelativeRectToViewportRelativeRect: Qo,
1519
+ getDocumentElement: de,
1520
+ getClippingRect: al,
1521
1521
  getOffsetParent: an,
1522
- getElementRects: sl,
1523
- getClientRects: Qo,
1524
- getDimensions: al,
1522
+ getElementRects: rl,
1523
+ getClientRects: Zo,
1524
+ getDimensions: il,
1525
1525
  getScale: Ee,
1526
- isElement: oe,
1527
- isRTL: rl
1526
+ isElement: ae,
1527
+ isRTL: cl
1528
1528
  };
1529
1529
  function sn(e, n) {
1530
1530
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
1531
1531
  }
1532
- function ul(e, n) {
1532
+ function dl(e, n) {
1533
1533
  let t = null, o;
1534
- const l = re(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;
@@ -1542,40 +1542,40 @@ function ul(e, n) {
1542
1542
  left: u,
1543
1543
  top: d,
1544
1544
  width: v,
1545
- height: m
1545
+ height: p
1546
1546
  } = r;
1547
- if (c || n(), !v || !m)
1547
+ if (c || n(), !v || !p)
1548
1548
  return;
1549
- const p = He(d), w = He(l.clientWidth - (u + v)), h = He(l.clientHeight - (d + m)), y = He(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 $ = !0;
1554
- function j(I) {
1555
- const k = I[0].intersectionRatio;
1553
+ let S = !0;
1554
+ function j(H) {
1555
+ const k = H[0].intersectionRatio;
1556
1556
  if (k !== s) {
1557
- if (!$)
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(), $ = !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 Qe(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,59 +1583,59 @@ function Qe(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 ? De(r) : [], ...De(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
- const d = r && c ? ul(r, t) : null;
1593
- let v = -1, m = null;
1594
- i && (m = new ResizeObserver((y) => {
1595
- let [_] = y;
1596
- _ && _.target === r && m && (m.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
1597
- var b;
1598
- (b = m) == null || b.observe(n);
1592
+ const d = r && c ? dl(r, t) : null;
1593
+ let v = -1, p = null;
1594
+ i && (p = new ResizeObserver((g) => {
1595
+ let [_] = g;
1596
+ _ && _.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;
1608
+ var g;
1609
1609
  u.forEach((_) => {
1610
1610
  l && _.removeEventListener("scroll", t), a && _.removeEventListener("resize", t);
1611
- }), d?.(), (y = m) == null || y.disconnect(), m = null, s && cancelAnimationFrame(p);
1611
+ }), d?.(), (g = p) == null || g.disconnect(), p = null, s && cancelAnimationFrame(h);
1612
1612
  };
1613
1613
  }
1614
- const Ze = Mo, et = Po, tt = Do, dl = Fo, 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
- platform: cl,
1616
+ platform: ul,
1617
1617
  ...t
1618
1618
  }, a = {
1619
1619
  ...l.platform,
1620
1620
  _c: o
1621
1621
  };
1622
- return Oo(e, n, {
1622
+ return Do(e, n, {
1623
1623
  ...l,
1624
1624
  platform: a
1625
1625
  });
1626
1626
  };
1627
- function fl(e) {
1627
+ function vl(e) {
1628
1628
  return e != null && typeof e == "object" && "$el" in e;
1629
1629
  }
1630
1630
  function Pt(e) {
1631
- if (fl(e)) {
1631
+ if (vl(e)) {
1632
1632
  const n = e.$el;
1633
1633
  return mt(n) && xe(n) === "#comment" ? null : n;
1634
1634
  }
1635
1635
  return e;
1636
1636
  }
1637
- function Ae(e) {
1638
- return typeof e == "function" ? e() : S(e);
1637
+ function Oe(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
- return (k = Ae(t.open)) != null ? k : !0;
1652
- }), a = C(() => Ae(t.middleware)), i = C(() => {
1651
+ return (k = Oe(t.open)) != null ? k : !0;
1652
+ }), a = V(() => Oe(t.middleware)), i = V(() => {
1653
1653
  var k;
1654
- return (k = Ae(t.placement)) != null ? k : "bottom";
1655
- }), c = C(() => {
1654
+ return (k = Oe(t.placement)) != null ? k : "bottom";
1655
+ }), c = V(() => {
1656
1656
  var k;
1657
- return (k = Ae(t.strategy)) != null ? k : "absolute";
1658
- }), s = C(() => {
1657
+ return (k = Oe(t.strategy)) != null ? k : "absolute";
1658
+ }), s = V(() => {
1659
1659
  var k;
1660
- return (k = Ae(t.transform)) != null ? k : !0;
1661
- }), r = C(() => Pt(e.value)), u = C(() => Pt(n.value)), d = E(0), v = E(0), m = E(c.value), p = E(i.value), w = wn({}), h = E(!1), y = C(() => {
1660
+ return (k = Oe(t.transform)) != null ? k : !0;
1661
+ }), r = V(() => Pt(e.value)), u = V(() => Pt(n.value)), d = E(0), v = E(0), p = E(c.value), h = E(i.value), y = wn({}), m = E(!1), g = V(() => {
1662
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), A = Ft(u.value, v.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, " + A + "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",
1677
+ position: p.value,
1678
+ left: C + "px",
1679
1679
  top: A + "px"
1680
1680
  };
1681
1681
  });
1682
1682
  let _;
1683
- function b() {
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, v.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 $() {
1695
+ function S() {
1696
1696
  typeof _ == "function" && (_(), _ = void 0);
1697
1697
  }
1698
1698
  function j() {
1699
- if ($(), 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
+ _ = o(r.value, u.value, w);
1705
1705
  return;
1706
1706
  }
1707
1707
  }
1708
- function I() {
1709
- l.value || (h.value = !1);
1708
+ function H() {
1709
+ l.value || (m.value = !1);
1710
1710
  }
1711
- return X([a, i, c, l], b, {
1711
+ return N([a, i, c, l], w, {
1712
1712
  flush: "sync"
1713
- }), X([r, u], j, {
1713
+ }), N([r, u], j, {
1714
1714
  flush: "sync"
1715
- }), X(l, I, {
1715
+ }), N(l, H, {
1716
1716
  flush: "sync"
1717
- }), _n() && xn($), {
1718
- x: Ve(d),
1719
- y: Ve(v),
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 vl = /* @__PURE__ */ T({
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 ?? F.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: [Ze(8), tt(), et({ padding: 8 })],
1738
- whileElementsMounted: Qe
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 vl = /* @__PURE__ */ T({
1745
1745
  d && (d.closest(".menu-action") || d.closest('[role="menuitem"]') || d.closest("a")) && s();
1746
1746
  };
1747
1747
  return (u, d) => {
1748
- const v = K("VjButton"), m = K("VjMenu");
1749
- return f(), g(Z, null, [
1748
+ const v = X("VjButton"), p = X("VjMenu");
1749
+ return f(), b(J, null, [
1750
1750
  x("div", {
1751
- class: z(["dot-menu-container", u.$attrs.class])
1751
+ class: I(["dot-menu-container", u.$attrs.class])
1752
1752
  }, [
1753
- O(v, {
1753
+ R(v, {
1754
1754
  ref_key: "buttonRef",
1755
1755
  ref: o,
1756
1756
  class: "dot-menu",
@@ -1758,19 +1758,19 @@ const vl = /* @__PURE__ */ T({
1758
1758
  icon: a.value,
1759
1759
  onClick: c
1760
1760
  }, null, 8, ["icon"]),
1761
- O(Oe, { name: "menu" }, {
1762
- default: W(() => [
1763
- t.value ? (f(), P(m, {
1761
+ R(De, { name: "menu" }, {
1762
+ default: K(() => [
1763
+ t.value ? (f(), M(p, {
1764
1764
  key: 0,
1765
1765
  ref_key: "floatingRef",
1766
1766
  ref: l,
1767
- style: G(S(i)),
1767
+ style: G($(i)),
1768
1768
  class: "menu-dropdown",
1769
1769
  onClose: s,
1770
1770
  onClickCapture: r
1771
1771
  }, {
1772
- default: W(() => [
1773
- M(u.$slots, "default", {}, void 0, !0)
1772
+ default: K(() => [
1773
+ F(u.$slots, "default", {}, void 0, !0)
1774
1774
  ]),
1775
1775
  _: 3
1776
1776
  }, 8, ["style"])) : L("", !0)
@@ -1778,8 +1778,8 @@ const vl = /* @__PURE__ */ T({
1778
1778
  _: 3
1779
1779
  })
1780
1780
  ], 2),
1781
- (f(), P(je, { to: "body" }, [
1782
- t.value ? (f(), g("div", {
1781
+ (f(), M(Me, { to: "body" }, [
1782
+ t.value ? (f(), b("div", {
1783
1783
  key: 0,
1784
1784
  class: "menu-backdrop",
1785
1785
  onClick: s
@@ -1788,7 +1788,7 @@ const vl = /* @__PURE__ */ T({
1788
1788
  ], 64);
1789
1789
  };
1790
1790
  }
1791
- }), ml = /* @__PURE__ */ D(vl, [["__scopeId", "data-v-3c400bfd"]]), pl = /* @__PURE__ */ T({
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 vl = /* @__PURE__ */ T({
1800
1800
  disabled: { type: Boolean }
1801
1801
  },
1802
1802
  setup(e) {
1803
- const n = e, t = q.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
- const i = K("router-link");
1806
- return f(), P(i, {
1805
+ const i = X("router-link");
1806
+ return f(), M(i, {
1807
1807
  to: e.to,
1808
- class: z(["button", o.value]),
1808
+ class: I(["button", o.value]),
1809
1809
  disabled: e.disabled
1810
1810
  }, {
1811
- default: W(() => [
1812
- e.icon ? (f(), P(be, {
1811
+ default: K(() => [
1812
+ e.icon ? (f(), M(le, {
1813
1813
  key: 0,
1814
1814
  icon: e.icon,
1815
- size: S(t)
1815
+ size: $(t)
1816
1816
  }, null, 8, ["icon", "size"])) : L("", !0),
1817
- Ue(" " + B(e.label), 1)
1817
+ Ue(" " + D(e.label), 1)
1818
1818
  ]),
1819
1819
  _: 1
1820
1820
  }, 8, ["to", "class", "disabled"]);
1821
1821
  };
1822
1822
  }
1823
- }), hl = /* @__PURE__ */ D(pl, [["__scopeId", "data-v-bd3cf2f5"]]), gl = ["disabled"], bl = { class: "menu-action--icon" }, yl = /* @__PURE__ */ T({
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: {},
@@ -1829,27 +1829,27 @@ const vl = /* @__PURE__ */ T({
1829
1829
  },
1830
1830
  setup(e) {
1831
1831
  const n = q.S;
1832
- return (t, o) => (f(), g("button", {
1832
+ return (t, o) => (f(), b("button", {
1833
1833
  class: "menu-action button tertiary",
1834
1834
  disabled: e.disabled
1835
1835
  }, [
1836
- x("span", bl, [
1837
- e.icon ? (f(), P(be, {
1836
+ x("span", yl, [
1837
+ e.icon ? (f(), M(le, {
1838
1838
  key: 0,
1839
1839
  icon: e.icon,
1840
- size: S(n)
1840
+ size: $(n)
1841
1841
  }, null, 8, ["icon", "size"])) : L("", !0)
1842
1842
  ]),
1843
- x("span", null, B(e.label), 1)
1844
- ], 8, gl));
1843
+ x("span", null, D(e.label), 1)
1844
+ ], 8, bl));
1845
1845
  }
1846
- }), wl = /* @__PURE__ */ D(yl, [["__scopeId", "data-v-07850995"]]), _l = {}, xl = { class: "menu" };
1847
- function kl(e, n) {
1848
- return f(), g("div", xl, [
1849
- M(e.$slots, "default", {}, void 0, !0)
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
+ F(e.$slots, "default", {}, void 0, !0)
1850
1850
  ]);
1851
1851
  }
1852
- const Vl = /* @__PURE__ */ D(_l, [["render", kl], ["__scopeId", "data-v-259fec08"]]), Cl = {
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,7 +1865,7 @@ const Vl = /* @__PURE__ */ D(_l, [["render", kl], ["__scopeId", "data-v-259fec08
1865
1865
  '[tabindex]:not([tabindex="-1"])',
1866
1866
  '[contenteditable="true"]'
1867
1867
  ].join(", ");
1868
- function El(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)
@@ -1879,7 +1879,7 @@ const Ll = {
1879
1879
  e.focus();
1880
1880
  return;
1881
1881
  }
1882
- const l = El(e);
1882
+ const l = $l(e);
1883
1883
  l && l.focus();
1884
1884
  };
1885
1885
  t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
@@ -1948,37 +1948,37 @@ 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, $l = {
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
- }, Sl = {}, Rl = { class: "spinner" };
1969
- function Tl(e, n) {
1970
- return f(), g("div", Rl);
1968
+ }, Tl = {}, Rl = { class: "spinner" };
1969
+ function Al(e, n) {
1970
+ return f(), b("div", Rl);
1971
1971
  }
1972
- const dn = /* @__PURE__ */ D(Sl, [["render", Tl], ["__scopeId", "data-v-b957fb82"]]), Al = 200, Ol = 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;
1976
1976
  const o = e.clientHeight || e.getBoundingClientRect().height;
1977
1977
  t.classList.remove("vj-loading-inner--small", "vj-loading-inner--minimal");
1978
1978
  const l = t.querySelector(".vj-loading-text");
1979
- l && l.classList.remove("vj-loading-text--hidden"), o <= Ol ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= Al && t.classList.add("vj-loading-inner--small");
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 Dl = {
1981
+ const Bl = {
1982
1982
  mounted(e, n) {
1983
1983
  let t, o;
1984
1984
  if (typeof n.value == "object" && n.value !== null) {
@@ -1994,7 +1994,7 @@ const Dl = {
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 = O(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 Dl = {
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: [Ze(6), tt(), et({ 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 = Qe(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,13 +2069,13 @@ 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(), v = (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
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;
@@ -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
- }, jl = { class: "notification__icon" }, Ml = { class: "notification__message" }, Pl = { class: "notification__title" }, Fl = { class: "notification__text" }, zl = /* @__PURE__ */ T({
2099
+ }, Ml = { class: "notification__icon" }, Pl = { class: "notification__message" }, Fl = { class: "notification__title" }, zl = { class: "notification__text" }, Il = /* @__PURE__ */ T({
2100
2100
  __name: "notification",
2101
2101
  props: {
2102
2102
  type: {},
@@ -2105,50 +2105,50 @@ 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 F.CHECK;
2111
+ return z.CHECK;
2112
2112
  case "warning":
2113
- return F.WARNING;
2113
+ return z.WARNING;
2114
2114
  case "error":
2115
- return F.ERROR;
2115
+ return z.ERROR;
2116
2116
  default:
2117
- return F.INFO;
2117
+ return z.INFO;
2118
2118
  }
2119
2119
  }), a = () => {
2120
2120
  o("close");
2121
2121
  };
2122
- return (i, c) => (f(), g("div", {
2123
- class: z(["notification", `notification--${e.type}`]),
2122
+ return (i, c) => (f(), b("div", {
2123
+ class: I(["notification", `notification--${e.type}`]),
2124
2124
  onClick: a
2125
2125
  }, [
2126
- x("div", jl, [
2127
- O(be, { icon: l.value }, null, 8, ["icon"])
2128
- ]),
2129
2126
  x("div", Ml, [
2130
- x("div", Pl, B(e.title), 1),
2131
- x("div", Fl, B(e.message), 1)
2127
+ R(le, { icon: l.value }, null, 8, ["icon"])
2128
+ ]),
2129
+ x("div", Pl, [
2130
+ x("div", Fl, D(e.title), 1),
2131
+ x("div", zl, D(e.message), 1)
2132
2132
  ]),
2133
- O(dt, {
2133
+ R(Ge, {
2134
2134
  class: "notification__close compact",
2135
- icon: S(F).CLOSE,
2136
- onClick: N(a, ["stop"]),
2135
+ icon: $(z).CLOSE,
2136
+ onClick: U(a, ["stop"]),
2137
2137
  tertiary: ""
2138
2138
  }, null, 8, ["icon"])
2139
2139
  ], 2));
2140
2140
  }
2141
- }), wt = /* @__PURE__ */ D(zl, [["__scopeId", "data-v-ca4451c0"]]), Il = { class: "page" }, Hl = { class: "header-left" }, Ul = { class: "header-titles" }, Wl = { key: 0 }, Nl = { class: "header-actions" }, Kl = {
2141
+ }), wt = /* @__PURE__ */ B(Il, [["__scopeId", "data-v-ca4451c0"]]), Hl = { class: "page" }, Wl = { class: "header-left" }, Ul = { class: "header-titles" }, Kl = { key: 0 }, Nl = { class: "header-actions" }, Xl = {
2142
2142
  key: 0,
2143
2143
  class: "page-error"
2144
- }, Xl = {
2144
+ }, ql = {
2145
2145
  key: 1,
2146
2146
  class: "contents"
2147
2147
  }, Gl = {
2148
2148
  key: 2,
2149
2149
  class: "actions"
2150
- }, ql = { key: 3 }, Yl = { key: 0 }, Jl = /* @__PURE__ */ T({
2151
- directives: { loading: Dl },
2150
+ }, Yl = { key: 3 }, Jl = { key: 0 }, Ql = /* @__PURE__ */ T({
2151
+ directives: { loading: Bl },
2152
2152
  __name: "page",
2153
2153
  props: {
2154
2154
  title: {},
@@ -2161,64 +2161,64 @@ const fn = {
2161
2161
  },
2162
2162
  emits: ["back"],
2163
2163
  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));
2164
+ 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
2165
  return (i, c) => {
2166
- const s = K("VjButton"), r = Xt("loading");
2167
- return ct((f(), g("div", Il, [
2166
+ const s = X("VjButton"), r = Xt("loading");
2167
+ return ut((f(), b("div", Hl, [
2168
2168
  x("header", null, [
2169
- x("div", Hl, [
2170
- e.backLabel ? (f(), P(s, {
2169
+ x("div", Wl, [
2170
+ e.backLabel ? (f(), M(s, {
2171
2171
  key: 0,
2172
2172
  tertiary: "",
2173
- icon: S(F).BACK,
2173
+ icon: $(z).BACK,
2174
2174
  onClick: c[0] || (c[0] = (u) => i.$emit("back")),
2175
2175
  size: "small"
2176
2176
  }, null, 8, ["icon"])) : L("", !0),
2177
2177
  x("div", Ul, [
2178
- x("h1", null, B(e.title), 1),
2179
- e.subTitle ? (f(), g("h2", Wl, B(e.subTitle), 1)) : L("", !0)
2178
+ x("h1", null, D(e.title), 1),
2179
+ e.subTitle ? (f(), b("h2", Kl, D(e.subTitle), 1)) : L("", !0)
2180
2180
  ])
2181
2181
  ]),
2182
2182
  x("div", Nl, [
2183
- M(i.$slots, "headerActions", {}, void 0, !0)
2183
+ F(i.$slots, "headerActions", {}, void 0, !0)
2184
2184
  ])
2185
2185
  ]),
2186
2186
  x("main", {
2187
- class: z({ scrollable: e.scrollable })
2187
+ class: I({ scrollable: e.scrollable })
2188
2188
  }, [
2189
- a.value ? (f(), g("div", Kl, [
2190
- M(i.$slots, "error", {}, () => [
2191
- O(wt, {
2189
+ a.value ? (f(), b("div", Xl, [
2190
+ F(i.$slots, "error", {}, () => [
2191
+ R(wt, {
2192
2192
  type: "error",
2193
2193
  title: a.value,
2194
2194
  message: a.value
2195
2195
  }, null, 8, ["title", "message"])
2196
2196
  ], !0)
2197
2197
  ])) : L("", !0),
2198
- a.value ? L("", !0) : (f(), g("div", Xl, [
2199
- M(i.$slots, "default", {}, void 0, !0)
2198
+ a.value ? L("", !0) : (f(), b("div", ql, [
2199
+ F(i.$slots, "default", {}, void 0, !0)
2200
2200
  ])),
2201
- a.value ? L("", !0) : (f(), g("div", Gl, [
2202
- M(i.$slots, "actions", {}, void 0, !0)
2201
+ a.value ? L("", !0) : (f(), b("div", Gl, [
2202
+ F(i.$slots, "actions", {}, void 0, !0)
2203
2203
  ])),
2204
- i.$slots.flexFooter ? (f(), g("footer", ql, [
2205
- M(i.$slots, "flexFooter", {}, void 0, !0)
2204
+ i.$slots.flexFooter ? (f(), b("footer", Yl, [
2205
+ F(i.$slots, "flexFooter", {}, void 0, !0)
2206
2206
  ])) : L("", !0)
2207
2207
  ], 2),
2208
- i.$slots.footer ? (f(), g("footer", Yl, [
2209
- M(i.$slots, "footer", {}, void 0, !0)
2208
+ i.$slots.footer ? (f(), b("footer", Jl, [
2209
+ F(i.$slots, "footer", {}, void 0, !0)
2210
2210
  ])) : L("", !0)
2211
2211
  ])), [
2212
2212
  [r, { active: o.value, text: t.loadingMessage }]
2213
2213
  ]);
2214
2214
  };
2215
2215
  }
2216
- }), Ql = /* @__PURE__ */ D(Jl, [["__scopeId", "data-v-3e724555"]]), Zl = {
2216
+ }), Zl = /* @__PURE__ */ B(Ql, [["__scopeId", "data-v-3e724555"]]), ea = {
2217
2217
  class: "paginator-info",
2218
2218
  "aria-live": "polite"
2219
- }, ea = /* @__PURE__ */ T({
2219
+ }, ta = /* @__PURE__ */ T({
2220
2220
  __name: "paginator",
2221
- props: /* @__PURE__ */ ee({
2221
+ props: /* @__PURE__ */ Q({
2222
2222
  totalItems: {},
2223
2223
  pageSize: {},
2224
2224
  labels: {}
@@ -2226,67 +2226,67 @@ const fn = {
2226
2226
  modelValue: { required: !0 },
2227
2227
  modelModifiers: {}
2228
2228
  }),
2229
- emits: /* @__PURE__ */ ee(["change"], ["update:modelValue"]),
2229
+ emits: /* @__PURE__ */ Q(["change"], ["update:modelValue"]),
2230
2230
  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"), v = (y) => {
2232
- const _ = Math.min(Math.max(1, Math.floor(y)), a.value);
2231
+ 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) => {
2232
+ const _ = Math.min(Math.max(1, Math.floor(g)), a.value);
2233
2233
  _ !== o.value && (o.value = _, l("change", _));
2234
- }, m = () => v(1), p = () => v(i.value - 1), w = () => v(i.value + 1), h = () => v(a.value);
2235
- return X([() => t.totalItems, () => t.pageSize], () => {
2234
+ }, p = () => v(1), h = () => v(i.value - 1), y = () => v(i.value + 1), m = () => v(a.value);
2235
+ return N([() => t.totalItems, () => t.pageSize], () => {
2236
2236
  o.value > a.value && v(a.value);
2237
- }), (y, _) => {
2238
- const b = K("VjButton");
2239
- return f(), g("nav", {
2237
+ }), (g, _) => {
2238
+ const w = X("VjButton");
2239
+ return f(), b("nav", {
2240
2240
  class: "paginator",
2241
2241
  "aria-label": "Pagination",
2242
- onKeydown: _[0] || (_[0] = lt(N(() => {
2242
+ onKeydown: _[0] || (_[0] = Be(U(() => {
2243
2243
  }, ["prevent"]), ["enter"]))
2244
2244
  }, [
2245
- O(b, {
2245
+ R(w, {
2246
2246
  tertiary: "",
2247
2247
  class: "paginator-btn",
2248
- icon: S(F).FIRST,
2248
+ icon: $(z).FIRST,
2249
2249
  disabled: s.value,
2250
- onClick: m,
2250
+ onClick: p,
2251
2251
  "aria-label": "First page"
2252
2252
  }, null, 8, ["icon", "disabled"]),
2253
- O(b, {
2253
+ R(w, {
2254
2254
  tertiary: "",
2255
2255
  class: "paginator-btn",
2256
- icon: S(F).PREVIOUS,
2256
+ icon: $(z).PREVIOUS,
2257
2257
  disabled: s.value,
2258
- onClick: p,
2258
+ onClick: h,
2259
2259
  "aria-label": "Previous page"
2260
2260
  }, null, 8, ["icon", "disabled"]),
2261
- M(y.$slots, "info", {
2261
+ F(g.$slots, "info", {
2262
2262
  current: i.value,
2263
2263
  totalPages: a.value,
2264
2264
  goTo: v
2265
2265
  }, () => [
2266
- x("div", Zl, B(u.value) + " " + B(c.value) + " " + B(d.value) + " " + B(a.value), 1)
2266
+ x("div", ea, D(u.value) + " " + D(c.value) + " " + D(d.value) + " " + D(a.value), 1)
2267
2267
  ], !0),
2268
- O(b, {
2268
+ R(w, {
2269
2269
  tertiary: "",
2270
2270
  class: "paginator-btn",
2271
- icon: S(F).NEXT,
2271
+ icon: $(z).NEXT,
2272
2272
  disabled: r.value,
2273
- onClick: w,
2273
+ onClick: y,
2274
2274
  "aria-label": "Next page"
2275
2275
  }, null, 8, ["icon", "disabled"]),
2276
- O(b, {
2276
+ R(w, {
2277
2277
  tertiary: "",
2278
2278
  class: "paginator-btn",
2279
- icon: S(F).LAST,
2279
+ icon: $(z).LAST,
2280
2280
  disabled: r.value,
2281
- onClick: h,
2281
+ onClick: m,
2282
2282
  "aria-label": "Last page"
2283
2283
  }, null, 8, ["icon", "disabled"])
2284
2284
  ], 32);
2285
2285
  };
2286
2286
  }
2287
- }), ta = /* @__PURE__ */ D(ea, [["__scopeId", "data-v-b6fa8efe"]]), na = { class: "search-field" }, oa = ["value", "placeholder"], la = /* @__PURE__ */ T({
2287
+ }), na = /* @__PURE__ */ B(ta, [["__scopeId", "data-v-b6fa8efe"]]), oa = { class: "search-field" }, la = ["value", "placeholder"], aa = /* @__PURE__ */ T({
2288
2288
  __name: "search-field",
2289
- props: /* @__PURE__ */ ee({
2289
+ props: /* @__PURE__ */ Q({
2290
2290
  placeholder: { default: "Search..." }
2291
2291
  }, {
2292
2292
  modelValue: {},
@@ -2294,47 +2294,64 @@ const fn = {
2294
2294
  }),
2295
2295
  emits: ["update:modelValue"],
2296
2296
  setup(e) {
2297
- const n = ve(e, "modelValue"), t = (a) => {
2297
+ const n = ue(e, "modelValue"), t = (a) => {
2298
2298
  n.value = a.target.value;
2299
2299
  }, o = () => {
2300
2300
  n.value = "";
2301
- }, l = C(() => !n.value);
2301
+ }, l = V(() => !n.value);
2302
2302
  return (a, i) => {
2303
- const c = K("VjIcon");
2304
- return f(), g("div", na, [
2305
- O(c, {
2306
- icon: S(F).SEARCH,
2307
- size: S(q).S
2303
+ const c = X("VjIcon");
2304
+ return f(), b("div", oa, [
2305
+ R(c, {
2306
+ icon: $(z).SEARCH,
2307
+ size: $(q).S
2308
2308
  }, null, 8, ["icon", "size"]),
2309
2309
  x("input", {
2310
2310
  value: n.value,
2311
2311
  onInput: t,
2312
2312
  type: "text",
2313
2313
  placeholder: e.placeholder
2314
- }, null, 40, oa),
2315
- O(c, {
2316
- class: z(["reset", { invisible: l.value }]),
2317
- icon: S(F).CLOSE,
2318
- size: S(q).S,
2314
+ }, null, 40, la),
2315
+ R(c, {
2316
+ class: I(["reset", { invisible: l.value }]),
2317
+ icon: $(z).CLOSE,
2318
+ size: $(q).S,
2319
2319
  onClick: o
2320
2320
  }, null, 8, ["class", "icon", "size"])
2321
2321
  ]);
2322
2322
  };
2323
2323
  }
2324
- }), aa = /* @__PURE__ */ D(la, [["__scopeId", "data-v-2771c8ed"]]), ia = /* @__PURE__ */ T({
2324
+ }), ia = /* @__PURE__ */ B(aa, [["__scopeId", "data-v-2771c8ed"]]), sa = /* @__PURE__ */ T({
2325
2325
  __name: "separator",
2326
2326
  props: {
2327
2327
  vertical: { type: Boolean }
2328
2328
  },
2329
2329
  setup(e) {
2330
- return (n, t) => (f(), g("div", {
2331
- class: z(["separator", { vertical: e.vertical }])
2330
+ return (n, t) => (f(), b("div", {
2331
+ class: I(["separator", { vertical: e.vertical }])
2332
2332
  }, null, 2));
2333
2333
  }
2334
- }), sa = /* @__PURE__ */ D(ia, [["__scopeId", "data-v-e354bb4e"]]), ra = { class: "tab-view" }, ca = {
2334
+ }), ra = /* @__PURE__ */ B(sa, [["__scopeId", "data-v-e354bb4e"]]), ca = {
2335
+ key: 0,
2336
+ class: "tab"
2337
+ }, ua = /* @__PURE__ */ T({
2338
+ __name: "tab",
2339
+ props: {
2340
+ name: {},
2341
+ label: {}
2342
+ },
2343
+ setup(e) {
2344
+ const n = e, t = dt("tabView"), o = V(() => t?.activeTab() === n.name);
2345
+ return Te(() => {
2346
+ t?.registerTab(n.name, n.label);
2347
+ }), (l, a) => o.value ? (f(), b("div", ca, [
2348
+ F(l.$slots, "default")
2349
+ ])) : L("", !0);
2350
+ }
2351
+ }), da = { class: "tab-view" }, fa = {
2335
2352
  ref: "headerRef",
2336
2353
  class: "tab-view-header"
2337
- }, ua = ["onClick"], da = { class: "tab-view-content" }, fa = /* @__PURE__ */ T({
2354
+ }, va = ["onClick"], ma = { class: "tab-view-content" }, pa = /* @__PURE__ */ T({
2338
2355
  __name: "tab-view",
2339
2356
  props: {
2340
2357
  modelValue: {},
@@ -2342,7 +2359,7 @@ const fn = {
2342
2359
  },
2343
2360
  emits: ["update:modelValue"],
2344
2361
  setup(e) {
2345
- const n = ve(e, "modelValue"), t = E([]), o = E([]), l = E({
2362
+ const n = ue(e, "modelValue"), t = E([]), o = E([]), l = E({
2346
2363
  width: "0px",
2347
2364
  transform: "translateX(0px)"
2348
2365
  }), a = (r, u) => {
@@ -2357,57 +2374,175 @@ const fn = {
2357
2374
  };
2358
2375
  }
2359
2376
  }, c = (r, u) => {
2360
- t.value.find((d) => d.name === r) || (t.value.push({ name: r, label: u }), me(() => {
2377
+ t.value.find((d) => d.name === r) || (t.value.push({ name: r, label: u }), he(() => {
2361
2378
  !n.value && t.value.length === 1 && (n.value = r), i();
2362
2379
  }));
2363
2380
  }, s = (r) => {
2364
2381
  n.value = r;
2365
2382
  };
2366
- return X(n, () => {
2367
- me(() => {
2383
+ return N(n, () => {
2384
+ he(() => {
2368
2385
  i();
2369
2386
  });
2370
- }), Nt("tabView", {
2387
+ }), Kt("tabView", {
2371
2388
  activeTab: () => n.value,
2372
2389
  registerTab: c
2373
- }), (r, u) => (f(), g("div", ra, [
2374
- x("div", ca, [
2375
- (f(!0), g(Z, null, ge(t.value, (d, v) => (f(), g("div", {
2390
+ }), (r, u) => (f(), b("div", da, [
2391
+ x("div", fa, [
2392
+ (f(!0), b(J, null, pe(t.value, (d, v) => (f(), b("div", {
2376
2393
  key: d.name,
2377
2394
  ref_for: !0,
2378
- ref: (m) => a(m, v),
2379
- class: z(["tab-button", { active: n.value === d.name }]),
2380
- onClick: (m) => s(d.name)
2381
- }, B(d.label), 11, ua))), 128)),
2395
+ ref: (p) => a(p, v),
2396
+ class: I(["tab-button", { active: n.value === d.name }]),
2397
+ onClick: (p) => s(d.name)
2398
+ }, D(d.label), 11, va))), 128)),
2382
2399
  u[0] || (u[0] = x("div", { class: "tab-line" }, null, -1)),
2383
2400
  x("div", {
2384
2401
  class: "tab-indicator",
2385
2402
  style: G(l.value)
2386
2403
  }, null, 4)
2387
2404
  ], 512),
2388
- x("div", da, [
2389
- M(r.$slots, "default", {}, void 0, !0)
2405
+ x("div", ma, [
2406
+ F(r.$slots, "default", {}, void 0, !0)
2390
2407
  ])
2391
2408
  ]));
2392
2409
  }
2393
- }), va = /* @__PURE__ */ D(fa, [["__scopeId", "data-v-3d4ee454"]]), ma = {
2394
- key: 0,
2395
- class: "tab"
2396
- }, pa = /* @__PURE__ */ T({
2397
- __name: "tab",
2410
+ }), ha = /* @__PURE__ */ B(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__ */ T({
2411
+ __name: "timer",
2398
2412
  props: {
2399
- name: {},
2400
- label: {}
2413
+ duration: { default: 5e3 },
2414
+ action: { type: Function, default: void 0 },
2415
+ pausable: { type: Boolean, default: !1 },
2416
+ paused: { type: Boolean, default: !1 },
2417
+ timerSize: { default: "m" }
2401
2418
  },
2402
- setup(e) {
2403
- const n = e, t = ut("tabView"), o = C(() => t?.activeTab() === n.name);
2404
- return Be(() => {
2405
- t?.registerTab(n.name, n.label);
2406
- }), (l, a) => o.value ? (f(), g("div", ma, [
2407
- M(l.$slots, "default")
2408
- ])) : L("", !0);
2419
+ emits: ["update:paused"],
2420
+ setup(e, { emit: n }) {
2421
+ const t = {
2422
+ s: { size: 24, strokeWidth: 1, innerStrokeWidth: 2 },
2423
+ m: { size: 32, strokeWidth: 1, innerStrokeWidth: 4 },
2424
+ l: { size: 40, strokeWidth: 2, innerStrokeWidth: 6 },
2425
+ xl: { size: 64, strokeWidth: 2, innerStrokeWidth: 8 },
2426
+ xxl: { size: 92, strokeWidth: 2, innerStrokeWidth: 10 }
2427
+ }, 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);
2428
+ let v = null, p = null, h = 0;
2429
+ 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
+ N(
2431
+ () => o.paused,
2432
+ (P) => {
2433
+ d.value = P, P ? k() : C();
2434
+ }
2435
+ ), Te(() => {
2436
+ w();
2437
+ }), kn(() => {
2438
+ A();
2439
+ });
2440
+ function _() {
2441
+ o.pausable && (d.value = !d.value, l("update:paused", d.value));
2442
+ }
2443
+ function w() {
2444
+ d.value || (p = performance.now() - h, S());
2445
+ }
2446
+ function S() {
2447
+ if (!p || d.value) return;
2448
+ h = performance.now() - p;
2449
+ const W = Math.max(0, o.duration - h), te = W / o.duration * 100;
2450
+ r.value = te, W > 0 ? v = requestAnimationFrame(S) : j();
2451
+ }
2452
+ async function j() {
2453
+ if (!o.action) {
2454
+ H();
2455
+ return;
2456
+ }
2457
+ s.value = !0;
2458
+ try {
2459
+ await o.action();
2460
+ } catch (P) {
2461
+ console.error("Timer action failed:", P);
2462
+ } finally {
2463
+ s.value = !1, H();
2464
+ }
2465
+ }
2466
+ function H() {
2467
+ u.value = !0, h = 0, requestAnimationFrame(() => {
2468
+ r.value = 100, requestAnimationFrame(() => {
2469
+ u.value = !1, w();
2470
+ });
2471
+ });
2472
+ }
2473
+ function k() {
2474
+ v !== null && (cancelAnimationFrame(v), v = null);
2475
+ }
2476
+ function C() {
2477
+ v === null && !s.value && w();
2478
+ }
2479
+ function A() {
2480
+ v !== null && (cancelAnimationFrame(v), v = null);
2481
+ }
2482
+ return (P, W) => (f(), b("svg", {
2483
+ width: a.value,
2484
+ height: a.value,
2485
+ class: I([
2486
+ "vj-timer",
2487
+ {
2488
+ "vj-timer--executing": s.value,
2489
+ "vj-timer--resetting": u.value,
2490
+ "vj-timer--pausable": e.pausable,
2491
+ "vj-timer--paused": d.value
2492
+ }
2493
+ ]),
2494
+ role: e.pausable ? "button" : void 0,
2495
+ tabindex: e.pausable ? 0 : void 0,
2496
+ "aria-label": e.pausable ? d.value ? "Resume timer" : "Pause timer" : void 0,
2497
+ onClick: _,
2498
+ onKeydown: [
2499
+ Be(U(_, ["prevent"]), ["space"]),
2500
+ Be(_, ["enter"])
2501
+ ]
2502
+ }, [
2503
+ x("circle", {
2504
+ cx: a.value / 2,
2505
+ cy: a.value / 2,
2506
+ r: y.value,
2507
+ "stroke-width": i.value,
2508
+ class: "vj-timer__outer-ring",
2509
+ fill: "none"
2510
+ }, null, 8, ba),
2511
+ x("circle", {
2512
+ cx: a.value / 2,
2513
+ cy: a.value / 2,
2514
+ r: y.value,
2515
+ "stroke-width": c.value,
2516
+ "stroke-dasharray": m.value,
2517
+ "stroke-dashoffset": g.value,
2518
+ class: "vj-timer__progress-ring",
2519
+ fill: "none"
2520
+ }, null, 8, ya),
2521
+ d.value ? (f(), b("g", {
2522
+ key: 0,
2523
+ class: "vj-timer__pause-icon",
2524
+ transform: `translate(${a.value / 2},${a.value / 2}) rotate(-90) scale(-1, 1)`
2525
+ }, [
2526
+ x("rect", {
2527
+ x: -a.value * 0.12,
2528
+ y: -a.value * 0.15,
2529
+ width: a.value * 0.08,
2530
+ height: a.value * 0.3,
2531
+ rx: a.value * 0.015,
2532
+ class: "vj-timer__pause-bar"
2533
+ }, null, 8, _a),
2534
+ x("rect", {
2535
+ x: a.value * 0.04,
2536
+ y: -a.value * 0.15,
2537
+ width: a.value * 0.08,
2538
+ height: a.value * 0.3,
2539
+ rx: a.value * 0.015,
2540
+ class: "vj-timer__pause-bar"
2541
+ }, null, 8, xa)
2542
+ ], 8, wa)) : L("", !0)
2543
+ ], 42, ga));
2409
2544
  }
2410
- }), ha = ["onKeydown"], ga = /* @__PURE__ */ T({
2545
+ }), Ca = /* @__PURE__ */ B(ka, [["__scopeId", "data-v-49a33853"]]), Va = ["onKeydown"], Ea = /* @__PURE__ */ T({
2411
2546
  __name: "editable-label",
2412
2547
  props: {
2413
2548
  modelValue: {},
@@ -2415,12 +2550,12 @@ const fn = {
2415
2550
  },
2416
2551
  emits: ["update:modelValue", "edit"],
2417
2552
  setup(e, { emit: n }) {
2418
- 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);
2419
- X(l, (m) => {
2420
- a.value = m;
2553
+ 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);
2554
+ N(l, (p) => {
2555
+ a.value = p;
2421
2556
  });
2422
2557
  function u() {
2423
- i.value = !0, me(() => s.value?.focus());
2558
+ i.value = !0, he(() => s.value?.focus());
2424
2559
  }
2425
2560
  function d() {
2426
2561
  i.value = !1, a.value !== l.value && (o("update:modelValue", a.value), o("edit", a.value));
@@ -2428,43 +2563,43 @@ const fn = {
2428
2563
  function v() {
2429
2564
  a.value = l.value, i.value = !1;
2430
2565
  }
2431
- return (m, p) => (f(), g("span", {
2432
- class: z(["vj-editable-label", { editing: i.value }]),
2433
- onMouseenter: p[1] || (p[1] = (w) => c.value = !0),
2434
- onMouseleave: p[2] || (p[2] = (w) => c.value = !1)
2566
+ return (p, h) => (f(), b("span", {
2567
+ class: I(["vj-editable-label", { editing: i.value }]),
2568
+ onMouseenter: h[1] || (h[1] = (y) => c.value = !0),
2569
+ onMouseleave: h[2] || (h[2] = (y) => c.value = !1)
2435
2570
  }, [
2436
- i.value ? ct((f(), g("input", {
2571
+ i.value ? ut((f(), b("input", {
2437
2572
  key: 1,
2438
2573
  ref_key: "inputRef",
2439
2574
  ref: s,
2440
2575
  class: "edit-input",
2441
- "onUpdate:modelValue": p[0] || (p[0] = (w) => a.value = w),
2576
+ "onUpdate:modelValue": h[0] || (h[0] = (y) => a.value = y),
2442
2577
  onKeydown: [
2443
- lt(N(d, ["prevent"]), ["enter"]),
2444
- lt(N(v, ["prevent"]), ["esc"])
2578
+ Be(U(d, ["prevent"]), ["enter"]),
2579
+ Be(U(v, ["prevent"]), ["esc"])
2445
2580
  ],
2446
2581
  onBlur: d
2447
- }, null, 40, ha)), [
2448
- [kn, a.value]
2449
- ]) : (f(), g(Z, { key: 0 }, [
2582
+ }, null, 40, Va)), [
2583
+ [Cn, a.value]
2584
+ ]) : (f(), b(J, { key: 0 }, [
2450
2585
  x("span", {
2451
2586
  class: "label-text",
2452
2587
  onClick: u,
2453
2588
  title: "Click to edit"
2454
- }, B(l.value), 1),
2455
- c.value || r.value ? (f(), g("span", {
2589
+ }, D(l.value), 1),
2590
+ c.value || r.value ? (f(), b("span", {
2456
2591
  key: 0,
2457
2592
  class: "edit-icon",
2458
- onClick: N(u, ["stop"])
2593
+ onClick: U(u, ["stop"])
2459
2594
  }, [
2460
- O(be, {
2461
- icon: S(F).EDIT
2595
+ R(le, {
2596
+ icon: $(z).EDIT
2462
2597
  }, null, 8, ["icon"])
2463
2598
  ])) : L("", !0)
2464
2599
  ], 64))
2465
2600
  ], 34));
2466
2601
  }
2467
- }), Pi = /* @__PURE__ */ D(ga, [["__scopeId", "data-v-cdc52c5b"]]), ba = "200% 200%", ya = /* @__PURE__ */ T({
2602
+ }), ls = /* @__PURE__ */ B(Ea, [["__scopeId", "data-v-cdc52c5b"]]), $a = "200% 200%", La = /* @__PURE__ */ T({
2468
2603
  __name: "skeleton",
2469
2604
  props: {
2470
2605
  width: {},
@@ -2472,19 +2607,19 @@ const fn = {
2472
2607
  borderRadius: {}
2473
2608
  },
2474
2609
  setup(e) {
2475
- const n = e, t = C(() => n.width ?? "100%"), o = C(() => n.height ?? "16px"), l = C(() => n.borderRadius ?? "4px");
2476
- return (a, i) => (f(), g("div", {
2610
+ const n = e, t = V(() => n.width ?? "100%"), o = V(() => n.height ?? "16px"), l = V(() => n.borderRadius ?? "4px");
2611
+ return (a, i) => (f(), b("div", {
2477
2612
  class: "vj-skeleton",
2478
2613
  style: G({
2479
2614
  width: t.value,
2480
2615
  height: o.value,
2481
2616
  borderRadius: l.value,
2482
- backgroundSize: ba
2617
+ backgroundSize: $a
2483
2618
  }),
2484
2619
  "aria-hidden": "true"
2485
2620
  }, null, 4));
2486
2621
  }
2487
- }), wa = /* @__PURE__ */ D(ya, [["__scopeId", "data-v-ac05e016"]]), _a = /* @__PURE__ */ T({
2622
+ }), Sa = /* @__PURE__ */ B(La, [["__scopeId", "data-v-ac05e016"]]), Ta = /* @__PURE__ */ T({
2488
2623
  __name: "amount-bar",
2489
2624
  props: {
2490
2625
  amount: {},
@@ -2493,13 +2628,13 @@ const fn = {
2493
2628
  colorMode: { default: "monochrome" }
2494
2629
  },
2495
2630
  setup(e) {
2496
- const n = e, t = C(() => n.amount / n.maxAmount * 100), o = (a) => {
2631
+ const n = e, t = V(() => n.amount / n.maxAmount * 100), o = (a) => {
2497
2632
  if (!n.segments) return !1;
2498
2633
  const i = 100 / n.segments, c = a * i;
2499
2634
  return t.value > c;
2500
2635
  }, l = (a) => (160 - a / (n.segments - 1 || 1) * 160).toString();
2501
- return (a, i) => (f(), g("div", {
2502
- class: z([
2636
+ return (a, i) => (f(), b("div", {
2637
+ class: I([
2503
2638
  "amount-bar",
2504
2639
  {
2505
2640
  "amount-bar--segmented": e.segments,
@@ -2508,27 +2643,139 @@ const fn = {
2508
2643
  }
2509
2644
  ])
2510
2645
  }, [
2511
- e.segments ? (f(!0), g(Z, { key: 0 }, ge(Array.from({ length: e.segments }), (c, s) => (f(), g("div", {
2646
+ e.segments ? (f(!0), b(J, { key: 0 }, pe(Array.from({ length: e.segments }), (c, s) => (f(), b("div", {
2512
2647
  key: s,
2513
- class: z(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2648
+ class: I(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2514
2649
  style: G(o(s) && e.colorMode === "hue-gradient" ? { backgroundColor: `hsl(${l(s)}, 100%, 45%)` } : {})
2515
- }, null, 6))), 128)) : (f(), g("div", {
2650
+ }, null, 6))), 128)) : (f(), b("div", {
2516
2651
  key: 1,
2517
2652
  class: "amount-bar__fill",
2518
2653
  style: G({ width: `${e.amount / e.maxAmount * 100}%` })
2519
2654
  }, null, 4))
2520
2655
  ], 2));
2521
2656
  }
2522
- }), xa = /* @__PURE__ */ D(_a, [["__scopeId", "data-v-7e89d03f"]]), vn = {
2657
+ }), Ra = /* @__PURE__ */ B(Ta, [["__scopeId", "data-v-7e89d03f"]]), Aa = ["multiple", "accept", "disabled"], Oa = { class: "upload-text" }, Da = { class: "upload-title" }, Ba = { class: "upload-subtitle" }, ja = {
2658
+ key: 0,
2659
+ class: "upload-files"
2660
+ }, Ma = { class: "file-info" }, Pa = { class: "file-details" }, Fa = { class: "file-name" }, za = { class: "file-size" }, Ia = /* @__PURE__ */ T({
2661
+ __name: "upload",
2662
+ props: /* @__PURE__ */ Q({
2663
+ multiple: { type: Boolean, default: !0 },
2664
+ accept: { default: "*" },
2665
+ disabled: { type: Boolean, default: !1 },
2666
+ uploadText: { default: "Drag and drop files here" },
2667
+ dropText: { default: "Drop files here" },
2668
+ browseText: { default: "Browse Files" },
2669
+ subtitleText: { default: "or click to select files" },
2670
+ maxSize: { default: 1 / 0 }
2671
+ }, {
2672
+ modelValue: {
2673
+ default: []
2674
+ },
2675
+ modelModifiers: {}
2676
+ }),
2677
+ emits: /* @__PURE__ */ Q(["update:modelValue", "file-added", "file-removed"], ["update:modelValue"]),
2678
+ setup(e, { emit: n }) {
2679
+ const t = e, o = n, l = ue(e, "modelValue"), a = E(), i = E(!1), c = E(!1), s = (y) => {
2680
+ const m = y.target, g = Array.from(m.files || []);
2681
+ v(g), a.value && (a.value.value = "");
2682
+ }, r = () => {
2683
+ t.disabled || (i.value = !0, c.value = !0);
2684
+ }, u = () => {
2685
+ i.value = !1, c.value = !1;
2686
+ }, d = (y) => {
2687
+ if (t.disabled) return;
2688
+ i.value = !1, c.value = !1;
2689
+ const m = Array.from(y.dataTransfer?.files || []);
2690
+ v(m);
2691
+ }, v = (y) => {
2692
+ const m = y.filter((g) => !(g.size > t.maxSize));
2693
+ t.multiple ? l.value = [...l.value, ...m] : l.value = m.slice(0, 1), m.forEach((g) => {
2694
+ o("file-added", g);
2695
+ });
2696
+ }, p = (y) => {
2697
+ const m = l.value[y];
2698
+ l.value.splice(y, 1), o("file-removed", m);
2699
+ }, h = (y) => {
2700
+ if (y === 0) return "0 Bytes";
2701
+ const m = 1024, g = ["Bytes", "KB", "MB", "GB"], _ = Math.floor(Math.log(y) / Math.log(m));
2702
+ return Math.round(y / Math.pow(m, _) * 100) / 100 + " " + g[_];
2703
+ };
2704
+ return (y, m) => (f(), b("div", {
2705
+ class: I(["upload", { dragging: i.value, disabled: e.disabled }])
2706
+ }, [
2707
+ x("input", {
2708
+ ref_key: "fileInput",
2709
+ ref: a,
2710
+ type: "file",
2711
+ multiple: e.multiple,
2712
+ accept: e.accept,
2713
+ disabled: e.disabled,
2714
+ class: "upload-input",
2715
+ onChange: s,
2716
+ onDragover: r,
2717
+ onDragleave: u,
2718
+ onDrop: d
2719
+ }, null, 40, Aa),
2720
+ x("div", {
2721
+ class: "upload-content",
2722
+ onClick: m[1] || (m[1] = (g) => a.value?.click()),
2723
+ onDragover: U(r, ["prevent"]),
2724
+ onDragleave: U(u, ["prevent"]),
2725
+ onDrop: U(d, ["prevent"])
2726
+ }, [
2727
+ R(le, {
2728
+ icon: $(z).UPLOAD,
2729
+ size: $(q).L,
2730
+ class: "upload-icon"
2731
+ }, null, 8, ["icon", "size"]),
2732
+ x("div", Oa, [
2733
+ x("p", Da, D(c.value ? e.dropText : e.uploadText), 1),
2734
+ x("p", Ba, D(e.subtitleText), 1)
2735
+ ]),
2736
+ R(Ge, {
2737
+ label: e.browseText,
2738
+ primary: !0,
2739
+ disabled: e.disabled,
2740
+ onClick: m[0] || (m[0] = U((g) => a.value?.click(), ["stop"]))
2741
+ }, null, 8, ["label", "disabled"])
2742
+ ], 32),
2743
+ l.value.length > 0 ? (f(), b("div", ja, [
2744
+ (f(!0), b(J, null, pe(l.value, (g, _) => (f(), b("div", {
2745
+ key: _,
2746
+ class: "upload-file-item"
2747
+ }, [
2748
+ x("div", Ma, [
2749
+ R(le, {
2750
+ icon: $(z).ATTACHMENT,
2751
+ size: $(q).S
2752
+ }, null, 8, ["icon", "size"]),
2753
+ x("div", Pa, [
2754
+ x("p", Fa, D(g.name), 1),
2755
+ x("p", za, D(h(g.size)), 1)
2756
+ ])
2757
+ ]),
2758
+ e.disabled ? L("", !0) : (f(), M(le, {
2759
+ key: 0,
2760
+ icon: $(z).CLOSE,
2761
+ size: $(q).S,
2762
+ class: "remove-icon",
2763
+ onClick: (w) => p(_)
2764
+ }, null, 8, ["icon", "size", "onClick"]))
2765
+ ]))), 128))
2766
+ ])) : L("", !0)
2767
+ ], 2));
2768
+ }
2769
+ }), Ha = /* @__PURE__ */ B(Ia, [["__scopeId", "data-v-2f7be5e5"]]), vn = {
2523
2770
  form: {
2524
2771
  labelPosition: "inline",
2525
2772
  appearance: "bordered"
2526
2773
  }
2527
2774
  };
2528
- let Xe = {};
2529
- function Fi(e) {
2530
- Xe = {
2531
- ...Xe,
2775
+ let qe = {};
2776
+ function as(e) {
2777
+ qe = {
2778
+ ...qe,
2532
2779
  ...e,
2533
2780
  form: {
2534
2781
  ...vn.form,
@@ -2540,22 +2787,22 @@ function Ht() {
2540
2787
  return {
2541
2788
  form: {
2542
2789
  ...vn.form,
2543
- ...Xe.form
2790
+ ...qe.form
2544
2791
  }
2545
2792
  };
2546
2793
  }
2547
- function zi() {
2548
- Xe = {};
2794
+ function is() {
2795
+ qe = {};
2549
2796
  }
2550
- const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-field__wrapper" }, Ea = ["for"], La = {
2797
+ const Wa = ["data-colspan", "data-newline"], Ua = ["for"], Ka = { class: "form-field__wrapper" }, Na = ["for"], Xa = {
2551
2798
  key: 1,
2552
2799
  class: "form-field__error"
2553
- }, $a = {
2800
+ }, qa = {
2554
2801
  key: 2,
2555
2802
  class: "form-field__help",
2556
2803
  type: "button",
2557
2804
  "aria-label": "Hilfe"
2558
- }, Sa = /* @__PURE__ */ T({
2805
+ }, Ga = /* @__PURE__ */ T({
2559
2806
  directives: { tooltip: fn },
2560
2807
  __name: "form-field",
2561
2808
  props: {
@@ -2574,31 +2821,31 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2574
2821
  },
2575
2822
  emits: ["update:modelValue", "focus", "blur"],
2576
2823
  setup(e, { emit: n }) {
2577
- 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);
2578
- X(
2824
+ 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);
2825
+ N(
2579
2826
  () => t.modelValue,
2580
- (p) => l.value = p
2827
+ (h) => l.value = h
2581
2828
  );
2582
- const r = C(() => {
2829
+ const r = V(() => {
2583
2830
  if (c.value === "outline")
2584
2831
  return !0;
2585
- const p = l.value !== "" && l.value !== null && l.value !== void 0;
2586
- return a.value || p;
2587
- }), u = C(() => c.value === "outline" || r.value ? t.placeholder : "");
2588
- function d(p) {
2589
- const h = p.target.value;
2590
- l.value = h, o("update:modelValue", h);
2832
+ const h = l.value !== "" && l.value !== null && l.value !== void 0;
2833
+ return a.value || h;
2834
+ }), u = V(() => c.value === "outline" || r.value ? t.placeholder : "");
2835
+ function d(h) {
2836
+ const m = h.target.value;
2837
+ l.value = m, o("update:modelValue", m);
2591
2838
  }
2592
- function v(p) {
2593
- a.value = !0, o("focus", p);
2839
+ function v(h) {
2840
+ a.value = !0, o("focus", h);
2594
2841
  }
2595
- function m(p) {
2596
- a.value = !1, o("blur", p);
2842
+ function p(h) {
2843
+ a.value = !1, o("blur", h);
2597
2844
  }
2598
- return (p, w) => {
2599
- const h = K("VjIcon"), y = Xt("tooltip");
2600
- return f(), g("div", {
2601
- class: z([
2845
+ return (h, y) => {
2846
+ const m = X("VjIcon"), g = Xt("tooltip");
2847
+ return f(), b("div", {
2848
+ class: I([
2602
2849
  "form-field",
2603
2850
  `form-field--${c.value}`,
2604
2851
  `form-field--${s.value}`,
@@ -2610,39 +2857,39 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2610
2857
  "data-newline": t.spanRow || t.newLine ? "true" : void 0,
2611
2858
  style: G(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2612
2859
  }, [
2613
- e.label && c.value === "outline" ? (f(), g("label", {
2860
+ e.label && c.value === "outline" ? (f(), b("label", {
2614
2861
  key: 0,
2615
2862
  for: i.value,
2616
2863
  class: "form-field__label-outline"
2617
- }, B(e.label), 9, Va)) : L("", !0),
2618
- x("div", Ca, [
2619
- M(p.$slots, "control", {
2864
+ }, D(e.label), 9, Ua)) : L("", !0),
2865
+ x("div", Ka, [
2866
+ F(h.$slots, "control", {
2620
2867
  id: i.value,
2621
2868
  value: l.value,
2622
2869
  onInput: d,
2623
2870
  onFocus: v,
2624
- onBlur: m,
2871
+ onBlur: p,
2625
2872
  disabled: e.disabled,
2626
2873
  placeholder: u.value
2627
2874
  }, void 0, !0),
2628
- e.label && c.value === "inline" ? (f(), g("label", {
2875
+ e.label && c.value === "inline" ? (f(), b("label", {
2629
2876
  key: 0,
2630
2877
  for: i.value,
2631
- class: z(["form-field__label", { "form-field__label--float": r.value }])
2632
- }, B(e.label), 11, Ea)) : L("", !0)
2878
+ class: I(["form-field__label", { "form-field__label--float": r.value }])
2879
+ }, D(e.label), 11, Na)) : L("", !0)
2633
2880
  ]),
2634
- e.error ? (f(), g("div", La, B(e.error), 1)) : L("", !0),
2635
- t.helpText ? ct((f(), g("button", $a, [
2636
- O(h, {
2637
- icon: S(F).HELP
2881
+ e.error ? (f(), b("div", Xa, D(e.error), 1)) : L("", !0),
2882
+ t.helpText ? ut((f(), b("button", qa, [
2883
+ R(m, {
2884
+ icon: $(z).HELP
2638
2885
  }, null, 8, ["icon"])
2639
2886
  ])), [
2640
- [y, t.helpText]
2887
+ [g, t.helpText]
2641
2888
  ]) : L("", !0)
2642
- ], 14, ka);
2889
+ ], 14, Wa);
2643
2890
  };
2644
2891
  }
2645
- }), ze = /* @__PURE__ */ D(Sa, [["__scopeId", "data-v-19959d5e"]]), Ra = /* @__PURE__ */ T({
2892
+ }), Ie = /* @__PURE__ */ B(Ga, [["__scopeId", "data-v-19959d5e"]]), Ya = /* @__PURE__ */ T({
2646
2893
  __name: "form-layout",
2647
2894
  props: {
2648
2895
  columns: { type: Number, default: 4 },
@@ -2658,49 +2905,49 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2658
2905
  r !== null && r !== "false" ? i.style.gridColumn = "1 / -1" : i.style.gridColumn = `span ${s}`;
2659
2906
  });
2660
2907
  }
2661
- return Be(() => {
2662
- me(() => {
2908
+ return Te(() => {
2909
+ he(() => {
2663
2910
  l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
2664
2911
  });
2665
2912
  }), Re(() => {
2666
2913
  o?.disconnect();
2667
- }), X(
2914
+ }), N(
2668
2915
  () => n.columns,
2669
- () => me(l)
2670
- ), X(
2916
+ () => he(l)
2917
+ ), N(
2671
2918
  () => n.gap,
2672
- () => me(l)
2673
- ), (a, i) => (f(), g("div", {
2919
+ () => he(l)
2920
+ ), (a, i) => (f(), b("div", {
2674
2921
  ref_key: "container",
2675
2922
  ref: t,
2676
2923
  class: "form-layout",
2677
2924
  style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2678
2925
  }, [
2679
- M(a.$slots, "default", {}, void 0, !0)
2926
+ F(a.$slots, "default", {}, void 0, !0)
2680
2927
  ], 4));
2681
2928
  }
2682
- }), Ta = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-96f62ab7"]]), Aa = {
2929
+ }), Ja = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-96f62ab7"]]), Qa = {
2683
2930
  key: 0,
2684
2931
  class: "form-section__title",
2685
2932
  "data-newline": ""
2686
- }, Oa = /* @__PURE__ */ T({
2933
+ }, Za = /* @__PURE__ */ T({
2687
2934
  __name: "form-section",
2688
2935
  props: {
2689
2936
  title: {}
2690
2937
  },
2691
2938
  setup(e) {
2692
- return (n, t) => (f(), g(Z, null, [
2693
- e.title ? (f(), g("h3", Aa, B(e.title), 1)) : L("", !0),
2694
- M(n.$slots, "default", {}, void 0, !0)
2939
+ return (n, t) => (f(), b(J, null, [
2940
+ e.title ? (f(), b("h3", Qa, D(e.title), 1)) : L("", !0),
2941
+ F(n.$slots, "default", {}, void 0, !0)
2695
2942
  ], 64));
2696
2943
  }
2697
- }), Da = /* @__PURE__ */ D(Oa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], ja = { class: "select-value" }, Ma = {
2944
+ }), ei = /* @__PURE__ */ B(Za, [["__scopeId", "data-v-69cff1d0"]]), ti = ["id", "disabled"], ni = { class: "select-value" }, oi = {
2698
2945
  key: 1,
2699
2946
  class: "select-placeholder"
2700
- }, Pa = { class: "select-options" }, Fa = ["onClick", "onMouseenter"], za = /* @__PURE__ */ T({
2947
+ }, li = { class: "select-options" }, ai = ["onClick", "onMouseenter"], ii = /* @__PURE__ */ T({
2701
2948
  inheritAttrs: !1,
2702
2949
  __name: "select",
2703
- props: /* @__PURE__ */ ee({
2950
+ props: /* @__PURE__ */ Q({
2704
2951
  options: {},
2705
2952
  placeholder: {},
2706
2953
  disabled: { type: Boolean },
@@ -2715,48 +2962,48 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2715
2962
  }),
2716
2963
  emits: ["update:modelValue"],
2717
2964
  setup(e, { expose: n }) {
2718
- 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, {
2965
+ 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, {
2719
2966
  placement: "bottom-start",
2720
2967
  middleware: [
2721
- Ze(4),
2722
- tt(),
2723
- et({ padding: 8 }),
2724
- dl({
2725
- apply({ rects: b, elements: $ }) {
2726
- Object.assign($.floating.style, {
2727
- minWidth: `${b.reference.width}px`
2968
+ tt(4),
2969
+ ot(),
2970
+ nt({ padding: 8 }),
2971
+ fl({
2972
+ apply({ rects: w, elements: S }) {
2973
+ Object.assign(S.floating.style, {
2974
+ minWidth: `${w.reference.width}px`
2728
2975
  });
2729
2976
  }
2730
2977
  })
2731
2978
  ],
2732
- whileElementsMounted: Qe
2733
- }), 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, v = C(() => t.options.find((b) => d(b) === o.value)), m = (b) => d(b) === o.value, p = () => {
2979
+ whileElementsMounted: et
2980
+ }), 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 = () => {
2734
2981
  t.disabled || (l.value = !l.value);
2735
- }, w = () => {
2736
- l.value = !1, a.value = -1;
2737
- }, h = (b) => {
2738
- o.value = d(b), w();
2739
2982
  }, y = () => {
2983
+ l.value = !1, a.value = -1;
2984
+ }, m = (w) => {
2985
+ o.value = d(w), y();
2986
+ }, g = () => {
2740
2987
  o.value = void 0;
2741
- }, _ = (b) => {
2742
- l.value && i.value && !i.value.contains(b.target) && w();
2988
+ }, _ = (w) => {
2989
+ l.value && i.value && !i.value.contains(w.target) && y();
2743
2990
  };
2744
- return Be(() => {
2991
+ return Te(() => {
2745
2992
  document.addEventListener("click", _);
2746
2993
  }), Re(() => {
2747
2994
  document.removeEventListener("click", _);
2748
- }), X(l, (b) => {
2749
- b && v.value && (a.value = t.options.findIndex(($) => m($)));
2995
+ }), N(l, (w) => {
2996
+ w && v.value && (a.value = t.options.findIndex((S) => p(S)));
2750
2997
  }), n({
2751
2998
  focus: () => c.value?.focus(),
2752
2999
  blur: () => c.value?.blur()
2753
- }), (b, $) => {
2754
- const j = K("VjIcon");
2755
- return f(), g(Z, null, [
3000
+ }), (w, S) => {
3001
+ const j = X("VjIcon");
3002
+ return f(), b(J, null, [
2756
3003
  x("div", {
2757
3004
  ref_key: "selectRef",
2758
3005
  ref: i,
2759
- class: z(["select", b.$attrs.class])
3006
+ class: I(["select", w.$attrs.class])
2760
3007
  }, [
2761
3008
  x("button", {
2762
3009
  ref_key: "buttonRef",
@@ -2764,76 +3011,76 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2764
3011
  type: "button",
2765
3012
  class: "select-trigger",
2766
3013
  id: t.id,
2767
- onClick: p,
3014
+ onClick: h,
2768
3015
  disabled: e.disabled
2769
3016
  }, [
2770
- t.icon ? (f(), P(j, {
3017
+ t.icon ? (f(), M(j, {
2771
3018
  key: 0,
2772
3019
  icon: t.icon,
2773
- size: S(q).S,
3020
+ size: $(q).S,
2774
3021
  class: "select-icon-left"
2775
3022
  }, null, 8, ["icon", "size"])) : L("", !0),
2776
- x("span", ja, [
2777
- v.value ? M(b.$slots, "selected", {
3023
+ x("span", ni, [
3024
+ v.value ? F(w.$slots, "selected", {
2778
3025
  key: 0,
2779
3026
  option: v.value
2780
3027
  }, () => [
2781
- Ue(B(u(v.value)), 1)
2782
- ], !0) : (f(), g("span", Ma, B(e.placeholder), 1))
3028
+ Ue(D(u(v.value)), 1)
3029
+ ], !0) : (f(), b("span", oi, D(e.placeholder), 1))
2783
3030
  ]),
2784
- t.clearable && v.value && !e.disabled ? (f(), P(j, {
3031
+ t.clearable && v.value && !e.disabled ? (f(), M(j, {
2785
3032
  key: 1,
2786
- icon: S(F).CLOSE,
2787
- size: S(q).S,
3033
+ icon: $(z).CLOSE,
3034
+ size: $(q).S,
2788
3035
  class: "select-clear-icon",
2789
- onClick: N(y, ["stop"])
3036
+ onClick: U(g, ["stop"])
2790
3037
  }, null, 8, ["icon", "size"])) : L("", !0),
2791
- O(j, {
2792
- icon: S(F).CHEVRON_DOWN,
2793
- size: S(q).S,
2794
- class: z(["select-icon-right", { open: l.value }])
3038
+ R(j, {
3039
+ icon: $(z).CHEVRON_DOWN,
3040
+ size: $(q).S,
3041
+ class: I(["select-icon-right", { open: l.value }])
2795
3042
  }, null, 8, ["icon", "size", "class"])
2796
- ], 8, Ba),
2797
- O(Oe, { name: "dropdown" }, {
2798
- default: W(() => [
2799
- l.value ? (f(), g("div", {
3043
+ ], 8, ti),
3044
+ R(De, { name: "dropdown" }, {
3045
+ default: K(() => [
3046
+ l.value ? (f(), b("div", {
2800
3047
  key: 0,
2801
3048
  ref_key: "floatingRef",
2802
3049
  ref: s,
2803
- style: G(S(r)),
3050
+ style: G($(r)),
2804
3051
  class: "select-dropdown"
2805
3052
  }, [
2806
- x("div", Pa, [
2807
- (f(!0), g(Z, null, ge(e.options, (I, k) => (f(), g("div", {
2808
- key: String(d(I)),
2809
- class: z(["select-option", { selected: m(I), highlighted: a.value === k }]),
2810
- onClick: (V) => h(I),
2811
- onMouseenter: (V) => a.value = k
3053
+ x("div", li, [
3054
+ (f(!0), b(J, null, pe(e.options, (H, k) => (f(), b("div", {
3055
+ key: String(d(H)),
3056
+ class: I(["select-option", { selected: p(H), highlighted: a.value === k }]),
3057
+ onClick: (C) => m(H),
3058
+ onMouseenter: (C) => a.value = k
2812
3059
  }, [
2813
- M(b.$slots, "option", {
2814
- option: I,
2815
- selected: m(I)
3060
+ F(w.$slots, "option", {
3061
+ option: H,
3062
+ selected: p(H)
2816
3063
  }, () => [
2817
- Ue(B(u(I)), 1)
3064
+ Ue(D(u(H)), 1)
2818
3065
  ], !0)
2819
- ], 42, Fa))), 128))
3066
+ ], 42, ai))), 128))
2820
3067
  ])
2821
3068
  ], 4)) : L("", !0)
2822
3069
  ]),
2823
3070
  _: 3
2824
3071
  })
2825
3072
  ], 2),
2826
- (f(), P(je, { to: "body" }, [
2827
- l.value ? (f(), g("div", {
3073
+ (f(), M(Me, { to: "body" }, [
3074
+ l.value ? (f(), b("div", {
2828
3075
  key: 0,
2829
3076
  class: "select-backdrop",
2830
- onClick: w
3077
+ onClick: y
2831
3078
  })) : L("", !0)
2832
3079
  ]))
2833
3080
  ], 64);
2834
3081
  };
2835
3082
  }
2836
- }), mn = /* @__PURE__ */ D(za, [["__scopeId", "data-v-fc22f0e9"]]), Ia = /* @__PURE__ */ T({
3083
+ }), mn = /* @__PURE__ */ B(ii, [["__scopeId", "data-v-fc22f0e9"]]), si = /* @__PURE__ */ T({
2837
3084
  __name: "input-select",
2838
3085
  props: {
2839
3086
  modelValue: {},
@@ -2853,7 +3100,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2853
3100
  emits: ["update:modelValue", "input", "focus", "blur"],
2854
3101
  setup(e, { emit: n }) {
2855
3102
  const t = e, o = n, l = E(t.modelValue);
2856
- X(
3103
+ N(
2857
3104
  () => t.modelValue,
2858
3105
  (i) => {
2859
3106
  l.value = i;
@@ -2862,7 +3109,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2862
3109
  const a = (i) => {
2863
3110
  l.value = i, o("update:modelValue", i);
2864
3111
  };
2865
- return (i, c) => (f(), P(ze, {
3112
+ return (i, c) => (f(), M(Ie, {
2866
3113
  modelValue: l.value,
2867
3114
  "onUpdate:modelValue": a,
2868
3115
  label: t.label,
@@ -2877,8 +3124,8 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2877
3124
  labelPosition: t.labelPosition,
2878
3125
  appearance: t.appearance
2879
3126
  }, {
2880
- control: W(({ id: s, disabled: r, placeholder: u }) => [
2881
- O(mn, {
3127
+ control: K(({ id: s, disabled: r, placeholder: u }) => [
3128
+ R(mn, {
2882
3129
  id: s,
2883
3130
  modelValue: l.value,
2884
3131
  "onUpdate:modelValue": [
@@ -2891,18 +3138,18 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2891
3138
  "option-label": (d) => d.label,
2892
3139
  "option-value": (d) => d.value,
2893
3140
  clearable: ""
2894
- }, rt({ _: 2 }, [
3141
+ }, ct({ _: 2 }, [
2895
3142
  i.$slots.selected ? {
2896
3143
  name: "selected",
2897
- fn: W(({ option: d }) => [
2898
- M(i.$slots, "selected", { option: d })
3144
+ fn: K(({ option: d }) => [
3145
+ F(i.$slots, "selected", { option: d })
2899
3146
  ]),
2900
3147
  key: "0"
2901
3148
  } : void 0,
2902
3149
  i.$slots.option ? {
2903
3150
  name: "option",
2904
- fn: W(({ option: d }) => [
2905
- M(i.$slots, "option", { option: d })
3151
+ fn: K(({ option: d }) => [
3152
+ F(i.$slots, "option", { option: d })
2906
3153
  ]),
2907
3154
  key: "1"
2908
3155
  } : void 0
@@ -2911,7 +3158,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2911
3158
  _: 3
2912
3159
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
2913
3160
  }
2914
- }), Ha = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Ua = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Wa = /* @__PURE__ */ T({
3161
+ }), ri = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], ci = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], ui = /* @__PURE__ */ T({
2915
3162
  __name: "slider",
2916
3163
  props: {
2917
3164
  modelValue: { default: void 0 },
@@ -2922,58 +3169,58 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2922
3169
  },
2923
3170
  emits: ["update:modelValue", "change"],
2924
3171
  setup(e, { emit: n }) {
2925
- const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (k, V, A) => Math.min(Math.max(k, V), A), s = E(
3172
+ 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(
2926
3173
  t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
2927
3174
  ), r = E(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2928
- X(
3175
+ N(
2929
3176
  () => t.modelValue,
2930
3177
  (k) => {
2931
3178
  t.range ? Array.isArray(k) && (s.value = c(k[0], t.min, t.max), r.value = c(k[1], t.min, t.max)) : typeof k == "number" && (s.value = c(k, t.min, t.max));
2932
3179
  },
2933
3180
  { immediate: !0 }
2934
3181
  );
2935
- const u = (k) => (k - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${u(s.value)}%` })), v = C(() => ({ left: `${u(r.value)}%` })), m = C(() => {
3182
+ 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(() => {
2936
3183
  if (!t.range) return { width: `${u(s.value)}%`, left: "0%" };
2937
- const k = u(s.value), V = u(r.value);
2938
- return { left: `${k}%`, width: `${Math.max(0, V - k)}%` };
3184
+ const k = u(s.value), C = u(r.value);
3185
+ return { left: `${k}%`, width: `${Math.max(0, C - k)}%` };
2939
3186
  });
2940
- let p = null, w = null;
2941
- const h = async (k, V) => {
2942
- p = k, w = V.pointerId, k === "low" ? a.value = !0 : i.value = !0;
3187
+ let h = null, y = null;
3188
+ const m = async (k, C) => {
3189
+ h = k, y = C.pointerId, k === "low" ? a.value = !0 : i.value = !0;
2943
3190
  try {
2944
- V.target.setPointerCapture(V.pointerId);
3191
+ C.target.setPointerCapture(C.pointerId);
2945
3192
  } catch {
2946
3193
  }
2947
- window.addEventListener("pointermove", _), window.addEventListener("pointerup", y);
2948
- }, y = (k) => {
2949
- if (w != null && k)
3194
+ window.addEventListener("pointermove", _), window.addEventListener("pointerup", g);
3195
+ }, g = (k) => {
3196
+ if (y != null && k)
2950
3197
  try {
2951
3198
  k.target.releasePointerCapture(k.pointerId);
2952
3199
  } catch {
2953
3200
  }
2954
- p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), j();
3201
+ h = null, y = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", g), j();
2955
3202
  }, _ = (k) => {
2956
- if (!p || !l.value) return;
2957
- const V = l.value.getBoundingClientRect(), A = c(k.clientX - V.left, 0, V.width), H = t.min + A / V.width * (t.max - t.min), U = Math.round(H / t.step) * t.step;
2958
- p === "low" ? t.range ? s.value = Math.min(U, r.value) : s.value = c(U, t.min, t.max) : p === "high" && (r.value = Math.max(U, s.value));
2959
- }, b = (k) => {
3203
+ if (!h || !l.value) return;
3204
+ const C = l.value.getBoundingClientRect(), A = c(k.clientX - C.left, 0, C.width), P = t.min + A / C.width * (t.max - t.min), W = Math.round(P / t.step) * t.step;
3205
+ 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));
3206
+ }, w = (k) => {
2960
3207
  if (!l.value) return;
2961
- const V = l.value.getBoundingClientRect(), A = c(k.clientX - V.left, 0, V.width), H = t.min + A / V.width * (t.max - t.min), U = Math.round(H / t.step) * t.step;
3208
+ const C = l.value.getBoundingClientRect(), A = c(k.clientX - C.left, 0, C.width), P = t.min + A / C.width * (t.max - t.min), W = Math.round(P / t.step) * t.step;
2962
3209
  if (t.range) {
2963
- const ce = Math.abs(U - s.value), ue = Math.abs(U - r.value);
2964
- ce <= ue ? s.value = Math.min(U, r.value) : r.value = Math.max(U, s.value);
3210
+ const te = Math.abs(W - s.value), fe = Math.abs(W - r.value);
3211
+ te <= fe ? s.value = Math.min(W, r.value) : r.value = Math.max(W, s.value);
2965
3212
  } else
2966
- s.value = c(U, t.min, t.max);
3213
+ s.value = c(W, t.min, t.max);
2967
3214
  j();
2968
- }, $ = (k, V) => {
2969
- const A = t.step, H = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
2970
- if (H) {
3215
+ }, S = (k, C) => {
3216
+ const A = t.step, P = C.key === "ArrowLeft" || C.key === "ArrowDown" ? -1 : C.key === "ArrowRight" || C.key === "ArrowUp" ? 1 : 0;
3217
+ if (P) {
2971
3218
  if (k === "low") {
2972
- const U = c(s.value + H * A, t.min, t.range ? r.value : t.max);
2973
- s.value = U, a.value = !0, setTimeout(() => a.value = !1, 800);
3219
+ const W = c(s.value + P * A, t.min, t.range ? r.value : t.max);
3220
+ s.value = W, a.value = !0, setTimeout(() => a.value = !1, 800);
2974
3221
  } else {
2975
- const U = c(r.value + H * A, t.range ? s.value : t.max, t.max);
2976
- r.value = U, i.value = !0, setTimeout(() => i.value = !1, 800);
3222
+ const W = c(r.value + P * A, t.range ? s.value : t.max, t.max);
3223
+ r.value = W, i.value = !0, setTimeout(() => i.value = !1, 800);
2977
3224
  }
2978
3225
  j();
2979
3226
  }
@@ -2981,53 +3228,53 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2981
3228
  t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
2982
3229
  };
2983
3230
  Re(() => {
2984
- window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y);
2985
- }), X([() => t.min, () => t.max], () => {
3231
+ window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", g);
3232
+ }), N([() => t.min, () => t.max], () => {
2986
3233
  s.value = c(s.value, t.min, t.max), r.value = c(r.value, t.min, t.max);
2987
3234
  });
2988
- const I = C(() => t.range);
2989
- return me(() => {
3235
+ const H = V(() => t.range);
3236
+ return he(() => {
2990
3237
  t.modelValue === void 0 && (t.range ? o("update:modelValue", [s.value, r.value]) : o("update:modelValue", s.value));
2991
- }), (k, V) => (f(), g("div", {
3238
+ }), (k, C) => (f(), b("div", {
2992
3239
  class: "vj-slider",
2993
- onPointerdown: V[8] || (V[8] = N(() => {
3240
+ onPointerdown: C[8] || (C[8] = U(() => {
2994
3241
  }, ["stop"]))
2995
3242
  }, [
2996
3243
  x("div", {
2997
3244
  class: "track",
2998
3245
  ref_key: "track",
2999
3246
  ref: l,
3000
- onClick: b
3247
+ onClick: w
3001
3248
  }, [
3002
3249
  x("div", {
3003
3250
  class: "range",
3004
- style: G(m.value)
3251
+ style: G(p.value)
3005
3252
  }, null, 4),
3006
- a.value ? (f(), g("div", {
3253
+ a.value ? (f(), b("div", {
3007
3254
  key: 0,
3008
3255
  class: "tooltip",
3009
3256
  style: G({ left: d.value.left })
3010
- }, B(s.value), 5)) : L("", !0),
3257
+ }, D(s.value), 5)) : L("", !0),
3011
3258
  x("button", {
3012
3259
  class: "handle low",
3013
3260
  style: G(d.value),
3014
3261
  "aria-valuemin": e.min,
3015
3262
  "aria-valuemax": e.max,
3016
3263
  "aria-valuenow": s.value,
3017
- "aria-label": I.value ? "Lower value" : "Value",
3018
- onPointerdown: V[0] || (V[0] = N((A) => h("low", A), ["prevent"])),
3019
- onFocus: V[1] || (V[1] = (A) => a.value = !0),
3020
- onBlur: V[2] || (V[2] = (A) => a.value = !1),
3021
- onKeydown: V[3] || (V[3] = N((A) => $("low", A), ["stop", "prevent"])),
3264
+ "aria-label": H.value ? "Lower value" : "Value",
3265
+ onPointerdown: C[0] || (C[0] = U((A) => m("low", A), ["prevent"])),
3266
+ onFocus: C[1] || (C[1] = (A) => a.value = !0),
3267
+ onBlur: C[2] || (C[2] = (A) => a.value = !1),
3268
+ onKeydown: C[3] || (C[3] = U((A) => S("low", A), ["stop", "prevent"])),
3022
3269
  role: "slider",
3023
3270
  tabindex: "0"
3024
- }, null, 44, Ha),
3025
- I.value && i.value ? (f(), g("div", {
3271
+ }, null, 44, ri),
3272
+ H.value && i.value ? (f(), b("div", {
3026
3273
  key: 1,
3027
3274
  class: "tooltip",
3028
3275
  style: G({ left: v.value.left })
3029
- }, B(r.value), 5)) : L("", !0),
3030
- I.value ? (f(), g("button", {
3276
+ }, D(r.value), 5)) : L("", !0),
3277
+ H.value ? (f(), b("button", {
3031
3278
  key: 2,
3032
3279
  class: "handle high",
3033
3280
  style: G(v.value),
@@ -3035,17 +3282,17 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3035
3282
  "aria-valuemax": e.max,
3036
3283
  "aria-valuenow": r.value,
3037
3284
  "aria-label": "Upper value",
3038
- onPointerdown: V[4] || (V[4] = N((A) => h("high", A), ["prevent"])),
3039
- onFocus: V[5] || (V[5] = (A) => i.value = !0),
3040
- onBlur: V[6] || (V[6] = (A) => i.value = !1),
3041
- onKeydown: V[7] || (V[7] = N((A) => $("high", A), ["stop", "prevent"])),
3285
+ onPointerdown: C[4] || (C[4] = U((A) => m("high", A), ["prevent"])),
3286
+ onFocus: C[5] || (C[5] = (A) => i.value = !0),
3287
+ onBlur: C[6] || (C[6] = (A) => i.value = !1),
3288
+ onKeydown: C[7] || (C[7] = U((A) => S("high", A), ["stop", "prevent"])),
3042
3289
  role: "slider",
3043
3290
  tabindex: "0"
3044
- }, null, 44, Ua)) : L("", !0)
3291
+ }, null, 44, ci)) : L("", !0)
3045
3292
  ], 512)
3046
3293
  ], 32));
3047
3294
  }
3048
- }), Na = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-d47c7475"]]), Ka = ["onFocusin", "onFocusout"], Xa = /* @__PURE__ */ T({
3295
+ }), di = /* @__PURE__ */ B(ui, [["__scopeId", "data-v-d47c7475"]]), fi = ["onFocusin", "onFocusout"], vi = /* @__PURE__ */ T({
3049
3296
  __name: "input-slider",
3050
3297
  props: {
3051
3298
  modelValue: {},
@@ -3070,7 +3317,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3070
3317
  const s = typeof c == "number" ? c : Number(c ?? 0);
3071
3318
  a.value = Number.isNaN(s) ? 0 : s, o("update:modelValue", a.value), o("input", a.value);
3072
3319
  };
3073
- return (c, s) => (f(), P(ze, {
3320
+ return (c, s) => (f(), M(Ie, {
3074
3321
  modelValue: a.value,
3075
3322
  "onUpdate:modelValue": i,
3076
3323
  label: t.label,
@@ -3082,30 +3329,30 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3082
3329
  spanRow: t.spanRow,
3083
3330
  error: t.error
3084
3331
  }, {
3085
- control: W(({ id: r, disabled: u, placeholder: d, onFocus: v, onBlur: m }) => [
3332
+ control: K(({ id: r, disabled: u, placeholder: d, onFocus: v, onBlur: p }) => [
3086
3333
  x("div", {
3087
3334
  class: "input-slider__control",
3088
3335
  onFocusin: v,
3089
- onFocusout: m
3336
+ onFocusout: p
3090
3337
  }, [
3091
- O(Na, {
3338
+ R(di, {
3092
3339
  id: r,
3093
3340
  modelValue: a.value,
3094
- "onUpdate:modelValue": s[0] || (s[0] = (p) => a.value = p),
3341
+ "onUpdate:modelValue": s[0] || (s[0] = (h) => a.value = h),
3095
3342
  min: t.min,
3096
3343
  max: t.max,
3097
3344
  step: t.step,
3098
3345
  range: !1,
3099
3346
  disabled: u
3100
3347
  }, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
3101
- ], 40, Ka)
3348
+ ], 40, fi)
3102
3349
  ]),
3103
3350
  _: 1
3104
3351
  }, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
3105
3352
  }
3106
- }), Ga = /* @__PURE__ */ D(Xa, [["__scopeId", "data-v-051e6d17"]]), qa = { class: "textarea" }, Ya = ["value", "placeholder", "disabled", "rows"], Ja = /* @__PURE__ */ T({
3353
+ }), mi = /* @__PURE__ */ B(vi, [["__scopeId", "data-v-051e6d17"]]), pi = { class: "textarea" }, hi = ["value", "placeholder", "disabled", "rows"], gi = /* @__PURE__ */ T({
3107
3354
  __name: "textarea",
3108
- props: /* @__PURE__ */ ee({
3355
+ props: /* @__PURE__ */ Q({
3109
3356
  icon: {},
3110
3357
  placeholder: {},
3111
3358
  disabled: { type: Boolean },
@@ -3115,9 +3362,9 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3115
3362
  modelValue: {},
3116
3363
  modelModifiers: {}
3117
3364
  }),
3118
- emits: /* @__PURE__ */ ee(["focus", "blur"], ["update:modelValue"]),
3365
+ emits: /* @__PURE__ */ Q(["focus", "blur"], ["update:modelValue"]),
3119
3366
  setup(e, { emit: n }) {
3120
- const t = n, o = ve(e, "modelValue"), l = (r) => {
3367
+ const t = n, o = ue(e, "modelValue"), l = (r) => {
3121
3368
  o.value = r.target.value;
3122
3369
  }, a = () => {
3123
3370
  o.value = "";
@@ -3125,14 +3372,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3125
3372
  t("focus", r);
3126
3373
  }, c = (r) => {
3127
3374
  t("blur", r);
3128
- }, s = C(() => !o.value);
3375
+ }, s = V(() => !o.value);
3129
3376
  return (r, u) => {
3130
- const d = K("VjIcon");
3131
- return f(), g("div", qa, [
3132
- e.icon ? (f(), P(d, {
3377
+ const d = X("VjIcon");
3378
+ return f(), b("div", pi, [
3379
+ e.icon ? (f(), M(d, {
3133
3380
  key: 0,
3134
3381
  icon: e.icon,
3135
- size: S(q).S,
3382
+ size: $(q).S,
3136
3383
  class: "textarea-icon"
3137
3384
  }, null, 8, ["icon", "size"])) : L("", !0),
3138
3385
  x("textarea", {
@@ -3143,18 +3390,18 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3143
3390
  placeholder: e.placeholder,
3144
3391
  disabled: e.disabled,
3145
3392
  rows: e.rows
3146
- }, null, 40, Ya),
3147
- e.clearable && !e.disabled ? (f(), P(d, {
3393
+ }, null, 40, hi),
3394
+ e.clearable && !e.disabled ? (f(), M(d, {
3148
3395
  key: 1,
3149
- class: z(["clear-icon", { invisible: s.value }]),
3150
- icon: S(F).CLOSE,
3151
- size: S(q).S,
3396
+ class: I(["clear-icon", { invisible: s.value }]),
3397
+ icon: $(z).CLOSE,
3398
+ size: $(q).S,
3152
3399
  onClick: a
3153
3400
  }, null, 8, ["class", "icon", "size"])) : L("", !0)
3154
3401
  ]);
3155
3402
  };
3156
3403
  }
3157
- }), pn = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-2ea43716"]]), Qa = /* @__PURE__ */ T({
3404
+ }), pn = /* @__PURE__ */ B(gi, [["__scopeId", "data-v-2ea43716"]]), bi = /* @__PURE__ */ T({
3158
3405
  __name: "input-text-area",
3159
3406
  props: {
3160
3407
  modelValue: {},
@@ -3175,11 +3422,11 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3175
3422
  setup(e, { emit: n }) {
3176
3423
  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) => {
3177
3424
  l(u ?? "");
3178
- }, r = C(() => {
3425
+ }, r = V(() => {
3179
3426
  const u = t.modelValue;
3180
3427
  return u == null ? "" : String(u);
3181
3428
  });
3182
- return (u, d) => (f(), P(ze, {
3429
+ return (u, d) => (f(), M(Ie, {
3183
3430
  modelValue: t.modelValue,
3184
3431
  "onUpdate:modelValue": l,
3185
3432
  onInput: a,
@@ -3197,19 +3444,19 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3197
3444
  helpText: t.helpText,
3198
3445
  appearance: t.appearance
3199
3446
  }, {
3200
- control: W(({ id: v, disabled: m, placeholder: p, onFocus: w, onBlur: h }) => [
3201
- O(pn, {
3447
+ control: K(({ id: v, disabled: p, placeholder: h, onFocus: y, onBlur: m }) => [
3448
+ R(pn, {
3202
3449
  id: v,
3203
3450
  modelValue: r.value,
3204
3451
  "onUpdate:modelValue": s,
3205
- onFocus: (y) => {
3206
- w(y), i(y);
3452
+ onFocus: (g) => {
3453
+ y(g), i(g);
3207
3454
  },
3208
- onBlur: (y) => {
3209
- h(y), c(y);
3455
+ onBlur: (g) => {
3456
+ m(g), c(g);
3210
3457
  },
3211
- placeholder: p,
3212
- disabled: m,
3458
+ placeholder: h,
3459
+ disabled: p,
3213
3460
  rows: t.rows,
3214
3461
  clearable: ""
3215
3462
  }, null, 8, ["id", "modelValue", "onFocus", "onBlur", "placeholder", "disabled", "rows"])
@@ -3217,9 +3464,9 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3217
3464
  _: 1
3218
3465
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "helpText", "appearance"]));
3219
3466
  }
3220
- }), Za = { class: "input" }, ei = ["value", "type", "placeholder", "disabled"], ti = /* @__PURE__ */ T({
3467
+ }), yi = { class: "input" }, wi = ["value", "type", "placeholder", "disabled"], _i = /* @__PURE__ */ T({
3221
3468
  __name: "input",
3222
- props: /* @__PURE__ */ ee({
3469
+ props: /* @__PURE__ */ Q({
3223
3470
  icon: {},
3224
3471
  type: {},
3225
3472
  placeholder: {},
@@ -3229,9 +3476,9 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3229
3476
  modelValue: {},
3230
3477
  modelModifiers: {}
3231
3478
  }),
3232
- emits: /* @__PURE__ */ ee(["focus", "blur"], ["update:modelValue"]),
3479
+ emits: /* @__PURE__ */ Q(["focus", "blur"], ["update:modelValue"]),
3233
3480
  setup(e, { emit: n }) {
3234
- const t = n, o = ve(e, "modelValue"), l = (r) => {
3481
+ const t = n, o = ue(e, "modelValue"), l = (r) => {
3235
3482
  o.value = r.target.value;
3236
3483
  }, a = () => {
3237
3484
  o.value = "";
@@ -3239,14 +3486,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3239
3486
  t("focus", r);
3240
3487
  }, c = (r) => {
3241
3488
  t("blur", r);
3242
- }, s = C(() => !o.value);
3489
+ }, s = V(() => !o.value);
3243
3490
  return (r, u) => {
3244
- const d = K("VjIcon");
3245
- return f(), g("div", Za, [
3246
- e.icon ? (f(), P(d, {
3491
+ const d = X("VjIcon");
3492
+ return f(), b("div", yi, [
3493
+ e.icon ? (f(), M(d, {
3247
3494
  key: 0,
3248
3495
  icon: e.icon,
3249
- size: S(q).S
3496
+ size: $(q).S
3250
3497
  }, null, 8, ["icon", "size"])) : L("", !0),
3251
3498
  x("input", {
3252
3499
  value: o.value,
@@ -3256,18 +3503,18 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3256
3503
  type: e.type,
3257
3504
  placeholder: e.placeholder,
3258
3505
  disabled: e.disabled
3259
- }, null, 40, ei),
3260
- e.clearable && !e.disabled ? (f(), P(d, {
3506
+ }, null, 40, wi),
3507
+ e.clearable && !e.disabled ? (f(), M(d, {
3261
3508
  key: 1,
3262
- class: z(["clear-icon", { invisible: s.value }]),
3263
- icon: S(F).CLOSE,
3264
- size: S(q).S,
3509
+ class: I(["clear-icon", { invisible: s.value }]),
3510
+ icon: $(z).CLOSE,
3511
+ size: $(q).S,
3265
3512
  onClick: a
3266
3513
  }, null, 8, ["class", "icon", "size"])) : L("", !0)
3267
3514
  ]);
3268
3515
  };
3269
3516
  }
3270
- }), hn = /* @__PURE__ */ D(ti, [["__scopeId", "data-v-3187d49c"]]), ni = /* @__PURE__ */ T({
3517
+ }), hn = /* @__PURE__ */ B(_i, [["__scopeId", "data-v-3187d49c"]]), xi = /* @__PURE__ */ T({
3271
3518
  __name: "input-text",
3272
3519
  props: {
3273
3520
  modelValue: {},
@@ -3289,7 +3536,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3289
3536
  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) => {
3290
3537
  l(r ?? "");
3291
3538
  };
3292
- return (r, u) => (f(), P(ze, {
3539
+ return (r, u) => (f(), M(Ie, {
3293
3540
  modelValue: e.modelValue,
3294
3541
  "onUpdate:modelValue": l,
3295
3542
  onInput: a,
@@ -3307,19 +3554,19 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3307
3554
  labelPosition: e.labelPosition,
3308
3555
  appearance: e.appearance
3309
3556
  }, {
3310
- control: W(({ id: d, disabled: v, placeholder: m, onFocus: p, onBlur: w }) => [
3311
- O(hn, {
3557
+ control: K(({ id: d, disabled: v, placeholder: p, onFocus: h, onBlur: y }) => [
3558
+ R(hn, {
3312
3559
  id: d,
3313
3560
  modelValue: e.modelValue,
3314
3561
  type: e.type,
3315
3562
  "onUpdate:modelValue": s,
3316
- onFocus: (h) => {
3317
- p(h), i(h);
3563
+ onFocus: (m) => {
3564
+ h(m), i(m);
3318
3565
  },
3319
- onBlur: (h) => {
3320
- w(h), c(h);
3566
+ onBlur: (m) => {
3567
+ y(m), c(m);
3321
3568
  },
3322
- placeholder: m,
3569
+ placeholder: p,
3323
3570
  disabled: v,
3324
3571
  clearable: ""
3325
3572
  }, null, 8, ["id", "modelValue", "type", "onFocus", "onBlur", "placeholder", "disabled"])
@@ -3327,10 +3574,10 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3327
3574
  _: 1
3328
3575
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
3329
3576
  }
3330
- }), oi = { class: "shell-navigation-item" }, li = { class: "shell-navigation-item-label" }, ai = {
3577
+ }), ki = { class: "shell-navigation-item" }, Ci = { class: "shell-navigation-item-label" }, Vi = {
3331
3578
  key: 1,
3332
3579
  class: "shell-navigation-item-link"
3333
- }, ii = ["aria-expanded"], si = { class: "shell-navigation-item-label" }, ri = /* @__PURE__ */ T({
3580
+ }, Ei = ["aria-expanded"], $i = { class: "shell-navigation-item-label" }, Li = /* @__PURE__ */ T({
3334
3581
  __name: "shell-navigation-item",
3335
3582
  props: {
3336
3583
  label: {},
@@ -3338,10 +3585,10 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3338
3585
  to: {}
3339
3586
  },
3340
3587
  setup(e) {
3341
- const n = Wt(), t = C(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = bt(l, a, {
3588
+ const n = Ut(), t = V(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = bt(l, a, {
3342
3589
  placement: "right-start",
3343
- middleware: [Ze(8), tt(), et({ padding: 8 })],
3344
- whileElementsMounted: Qe
3590
+ middleware: [tt(8), ot(), nt({ padding: 8 })],
3591
+ whileElementsMounted: et
3345
3592
  }), c = (v) => {
3346
3593
  t.value && (o.value = !o.value);
3347
3594
  }, s = () => {
@@ -3351,65 +3598,65 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3351
3598
  }, u = (v) => {
3352
3599
  (v.key === "Escape" || v.key === "Esc") && s();
3353
3600
  }, d = (v) => {
3354
- const m = v.target;
3355
- m && (l.value && l.value.contains(m) || a.value && a.value.contains(m) || s());
3601
+ const p = v.target;
3602
+ p && (l.value && l.value.contains(p) || a.value && a.value.contains(p) || s());
3356
3603
  };
3357
- return X(o, (v) => {
3604
+ return N(o, (v) => {
3358
3605
  v ? (window.addEventListener("keydown", u), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d));
3359
3606
  }), Re(() => {
3360
3607
  window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d);
3361
- }), (v, m) => {
3362
- const p = K("VjIcon"), w = K("RouterLink"), h = K("VjMenu");
3363
- return f(), g("li", oi, [
3364
- e.to ? (f(), P(w, {
3608
+ }), (v, p) => {
3609
+ const h = X("VjIcon"), y = X("RouterLink"), m = X("VjMenu");
3610
+ return f(), b("li", ki, [
3611
+ e.to ? (f(), M(y, {
3365
3612
  key: 0,
3366
3613
  to: e.to,
3367
3614
  class: "shell-navigation-item-link"
3368
3615
  }, {
3369
- default: W(() => [
3370
- O(p, {
3616
+ default: K(() => [
3617
+ R(h, {
3371
3618
  icon: e.icon,
3372
3619
  class: "shell-navigation-item-icon"
3373
3620
  }, null, 8, ["icon"]),
3374
- x("label", li, B(e.label), 1)
3621
+ x("label", Ci, D(e.label), 1)
3375
3622
  ]),
3376
3623
  _: 1
3377
- }, 8, ["to"])) : (f(), g("div", ai, [
3624
+ }, 8, ["to"])) : (f(), b("div", Vi, [
3378
3625
  x("button", {
3379
3626
  ref_key: "buttonRef",
3380
3627
  ref: l,
3381
3628
  class: "shell-navigation-item-button",
3382
- onClick: N(c, ["stop"]),
3629
+ onClick: U(c, ["stop"]),
3383
3630
  "aria-expanded": o.value,
3384
3631
  type: "button"
3385
3632
  }, [
3386
- O(p, {
3633
+ R(h, {
3387
3634
  icon: e.icon,
3388
3635
  class: "shell-navigation-item-icon"
3389
3636
  }, null, 8, ["icon"]),
3390
- x("label", si, B(e.label), 1)
3391
- ], 8, ii),
3392
- O(Oe, { name: "menu" }, {
3393
- default: W(() => [
3394
- o.value ? (f(), P(h, {
3637
+ x("label", $i, D(e.label), 1)
3638
+ ], 8, Ei),
3639
+ R(De, { name: "menu" }, {
3640
+ default: K(() => [
3641
+ o.value ? (f(), M(m, {
3395
3642
  key: 0,
3396
3643
  ref_key: "floatingRef",
3397
3644
  ref: a,
3398
- style: G(S(i)),
3645
+ style: G($(i)),
3399
3646
  class: "shell-navigation-item-menu",
3400
3647
  onClose: s,
3401
- onClick: N(r, ["stop"])
3648
+ onClick: U(r, ["stop"])
3402
3649
  }, {
3403
- default: W(() => [
3404
- M(v.$slots, "default", {}, void 0, !0)
3650
+ default: K(() => [
3651
+ F(v.$slots, "default", {}, void 0, !0)
3405
3652
  ]),
3406
3653
  _: 3
3407
3654
  }, 8, ["style"])) : L("", !0)
3408
3655
  ]),
3409
3656
  _: 3
3410
3657
  }),
3411
- (f(), P(je, { to: "body" }, [
3412
- o.value ? (f(), g("div", {
3658
+ (f(), M(Me, { to: "body" }, [
3659
+ o.value ? (f(), b("div", {
3413
3660
  key: 0,
3414
3661
  class: "menu-backdrop",
3415
3662
  onClick: s
@@ -3419,39 +3666,39 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3419
3666
  ]);
3420
3667
  };
3421
3668
  }
3422
- }), ci = /* @__PURE__ */ D(ri, [["__scopeId", "data-v-3a50d1c2"]]), ui = { class: "navigation-top" }, di = {
3669
+ }), Si = /* @__PURE__ */ B(Li, [["__scopeId", "data-v-3a50d1c2"]]), Ti = { class: "navigation-top" }, Ri = {
3423
3670
  key: 0,
3424
3671
  class: "navigation-bottom"
3425
- }, fi = /* @__PURE__ */ T({
3672
+ }, Ai = /* @__PURE__ */ T({
3426
3673
  __name: "shell-navigation",
3427
3674
  setup(e) {
3428
- const n = ut(ki, Ci()), t = C(() => n.showLabels);
3675
+ const n = dt(Wi, Ki()), t = V(() => n.showLabels);
3429
3676
  return (o, l) => {
3430
- const a = K("VjShellNavigationItem");
3431
- return f(), g("nav", {
3432
- class: z(["shell-navigation", { "with-labels": t.value }])
3677
+ const a = X("VjShellNavigationItem");
3678
+ return f(), b("nav", {
3679
+ class: I(["shell-navigation", { "with-labels": t.value }])
3433
3680
  }, [
3434
- x("ul", ui, [
3435
- S(n).hasParent && S(n).backRoute.value ? (f(), P(a, {
3681
+ x("ul", Ti, [
3682
+ $(n).hasParent && $(n).backRoute.value ? (f(), M(a, {
3436
3683
  key: 0,
3437
- to: S(n).backRoute.value,
3684
+ to: $(n).backRoute.value,
3438
3685
  label: "BACK",
3439
- icon: S(F).HOME
3686
+ icon: $(z).HOME
3440
3687
  }, null, 8, ["to", "icon"])) : L("", !0),
3441
- (f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), P(a, {
3688
+ (f(!0), b(J, null, pe($(n).childRoutes.value, (i) => (f(), M(a, {
3442
3689
  key: i.name,
3443
3690
  to: { name: i.name },
3444
3691
  label: i.meta.label,
3445
- icon: i.meta.icon ?? S(F).HOME
3692
+ icon: i.meta.icon ?? $(z).HOME
3446
3693
  }, null, 8, ["to", "label", "icon"]))), 128))
3447
3694
  ]),
3448
- o.$slots.fixed ? (f(), g("ul", di, [
3449
- M(o.$slots, "fixed", {}, void 0, !0)
3695
+ o.$slots.fixed ? (f(), b("ul", Ri, [
3696
+ F(o.$slots, "fixed", {}, void 0, !0)
3450
3697
  ])) : L("", !0)
3451
3698
  ], 2);
3452
3699
  };
3453
3700
  }
3454
- }), gn = /* @__PURE__ */ D(fi, [["__scopeId", "data-v-306cfc22"]]), vi = { class: "shell" }, mi = { class: "shell-title" }, pi = ["src"], hi = { class: "header-actions" }, gi = /* @__PURE__ */ T({
3701
+ }), gn = /* @__PURE__ */ B(Ai, [["__scopeId", "data-v-306cfc22"]]), Oi = { class: "shell" }, Di = { class: "shell-title" }, Bi = ["src"], ji = { class: "header-actions" }, Mi = /* @__PURE__ */ T({
3455
3702
  __name: "shell",
3456
3703
  props: {
3457
3704
  title: {},
@@ -3459,55 +3706,55 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3459
3706
  showNavigation: { type: Boolean }
3460
3707
  },
3461
3708
  setup(e) {
3462
- const n = Ri(), t = nt(n, "asideComponent"), o = nt(n, "hasAside"), l = nt(n, "asideData"), a = C(() => {
3709
+ const n = Yi(), t = lt(n, "asideComponent"), o = lt(n, "hasAside"), l = lt(n, "asideData"), a = V(() => {
3463
3710
  const i = l.value;
3464
3711
  return i && typeof i == "object" ? i : {};
3465
3712
  });
3466
3713
  return (i, c) => {
3467
- const s = K("router-view");
3468
- return f(), g("div", vi, [
3714
+ const s = X("router-view");
3715
+ return f(), b("div", Oi, [
3469
3716
  x("header", null, [
3470
- x("span", mi, [
3471
- e.icon ? (f(), g("img", {
3717
+ x("span", Di, [
3718
+ e.icon ? (f(), b("img", {
3472
3719
  key: 0,
3473
3720
  src: e.icon,
3474
3721
  alt: "Shell Icon"
3475
- }, null, 8, pi)) : L("", !0),
3476
- x("h1", null, B(e.title), 1)
3722
+ }, null, 8, Bi)) : L("", !0),
3723
+ x("h1", null, D(e.title), 1)
3477
3724
  ]),
3478
- x("div", hi, [
3479
- M(i.$slots, "header-actions", {}, void 0, !0)
3725
+ x("div", ji, [
3726
+ F(i.$slots, "header-actions", {}, void 0, !0)
3480
3727
  ])
3481
3728
  ]),
3482
3729
  x("div", {
3483
- class: z(["shell-content", { "with-navigation": e.showNavigation }])
3730
+ class: I(["shell-content", { "with-navigation": e.showNavigation }])
3484
3731
  }, [
3485
- e.showNavigation ? (f(), P(S(gn), { key: 0 }, rt({ _: 2 }, [
3732
+ e.showNavigation ? (f(), M($(gn), { key: 0 }, ct({ _: 2 }, [
3486
3733
  i.$slots?.["navigation-fixed"] ? {
3487
3734
  name: "fixed",
3488
- fn: W(() => [
3489
- M(i.$slots, "navigation-fixed", {}, void 0, !0)
3735
+ fn: K(() => [
3736
+ F(i.$slots, "navigation-fixed", {}, void 0, !0)
3490
3737
  ]),
3491
3738
  key: "0"
3492
3739
  } : void 0
3493
3740
  ]), 1024)) : L("", !0),
3494
3741
  x("main", null, [
3495
- M(i.$slots, "default", {}, () => [
3496
- O(s)
3742
+ F(i.$slots, "default", {}, () => [
3743
+ R(s)
3497
3744
  ], !0)
3498
3745
  ]),
3499
3746
  x("aside", {
3500
- class: z({ "aside-visible": o.value })
3747
+ class: I({ "aside-visible": o.value })
3501
3748
  }, [
3502
- (f(), P(Kt(t.value), Vn(Cn(a.value)), null, 16))
3749
+ (f(), M(Nt(t.value), Vn(En(a.value)), null, 16))
3503
3750
  ], 2)
3504
3751
  ], 2),
3505
3752
  c[0] || (c[0] = x("footer", null, null, -1))
3506
3753
  ]);
3507
3754
  };
3508
3755
  }
3509
- }), bi = /* @__PURE__ */ D(gi, [["__scopeId", "data-v-4dfd0097"]]);
3510
- class yi {
3756
+ }), Pi = /* @__PURE__ */ B(Mi, [["__scopeId", "data-v-4dfd0097"]]);
3757
+ class Fi {
3511
3758
  notifications = E([]);
3512
3759
  notificationIdCounter = 0;
3513
3760
  /**
@@ -3573,15 +3820,15 @@ class yi {
3573
3820
  this.notifications.value = [];
3574
3821
  }
3575
3822
  }
3576
- const Ut = new yi(), wi = { class: "notifications" }, _i = /* @__PURE__ */ T({
3823
+ const Wt = new Fi(), zi = { class: "notifications" }, Ii = /* @__PURE__ */ T({
3577
3824
  __name: "notifications",
3578
3825
  setup(e) {
3579
- const n = Ut.getNotifications(), t = (o) => Ut.remove(o);
3580
- return (o, l) => (f(), P(je, { to: "body" }, [
3581
- x("div", wi, [
3582
- O(En, { name: "notification" }, {
3583
- default: W(() => [
3584
- (f(!0), g(Z, null, ge(S(n), (a) => (f(), P(wt, {
3826
+ const n = Wt.getNotifications(), t = (o) => Wt.remove(o);
3827
+ return (o, l) => (f(), M(Me, { to: "body" }, [
3828
+ x("div", zi, [
3829
+ R($n, { name: "notification" }, {
3830
+ default: K(() => [
3831
+ (f(!0), b(J, null, pe($(n), (a) => (f(), M(wt, {
3585
3832
  key: a.id,
3586
3833
  type: a.type,
3587
3834
  title: a.title,
@@ -3594,27 +3841,27 @@ const Ut = new yi(), wi = { class: "notifications" }, _i = /* @__PURE__ */ T({
3594
3841
  ])
3595
3842
  ]));
3596
3843
  }
3597
- }), xi = /* @__PURE__ */ D(_i, [["__scopeId", "data-v-543c499f"]]), ki = "navigationProvider";
3598
- function Vi(e) {
3844
+ }), Hi = /* @__PURE__ */ B(Ii, [["__scopeId", "data-v-543c499f"]]), Wi = "navigationProvider";
3845
+ function Ui(e) {
3599
3846
  return !!e.meta && "icon" in e.meta && "label" in e.meta;
3600
3847
  }
3601
- const Ci = () => {
3602
- const e = Rn(), n = Tn(), t = !0, o = C(() => {
3848
+ const Ki = () => {
3849
+ const e = Rn(), n = An(), t = !0, o = V(() => {
3603
3850
  const u = e.getRoutes();
3604
- return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((m) => m.name === d.name)));
3605
- }), l = C(() => {
3851
+ return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((p) => p.name === d.name)));
3852
+ }), l = V(() => {
3606
3853
  const u = n.matched;
3607
3854
  return u.length ? u[u.length - 1] : null;
3608
- }), a = C(() => {
3855
+ }), a = V(() => {
3609
3856
  const u = n.matched;
3610
3857
  return u.length > 1 ? u[u.length - 2] : null;
3611
- }), 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(() => {
3858
+ }), 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(() => {
3612
3859
  if (!c.value) return null;
3613
- const d = e.getRoutes().find((v) => v.children?.some((m) => m.name === c.value.name));
3860
+ const d = e.getRoutes().find((v) => v.children?.some((p) => p.name === c.value.name));
3614
3861
  return d ? { name: d.name } : { path: "/" };
3615
- }), r = C(() => {
3862
+ }), r = V(() => {
3616
3863
  let u = [];
3617
- 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(Vi);
3864
+ 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(Ui);
3618
3865
  });
3619
3866
  return {
3620
3867
  hasParent: i,
@@ -3622,7 +3869,7 @@ const Ci = () => {
3622
3869
  childRoutes: r,
3623
3870
  showLabels: t
3624
3871
  };
3625
- }, Ii = (e, n = !0, t = void 0) => {
3872
+ }, ss = (e, n = !0, t = void 0) => {
3626
3873
  const o = Ln(e) ? e : E(e), l = !!t, a = E(t || null);
3627
3874
  return {
3628
3875
  hasParent: l,
@@ -3631,14 +3878,14 @@ const Ci = () => {
3631
3878
  showLabels: n
3632
3879
  };
3633
3880
  }, _t = E(!1), xt = E(null), kt = E(null);
3634
- let Le = [];
3635
- const bn = (e) => (Le.push(e), () => {
3636
- Le = Le.filter((n) => n !== e);
3637
- }), Ei = (e, n) => (Le = [], xt.value = e, kt.value = n ?? null, _t.value = !0, {
3881
+ let $e = [];
3882
+ const bn = (e) => ($e.push(e), () => {
3883
+ $e = $e.filter((n) => n !== e);
3884
+ }), Ni = (e, n) => ($e = [], xt.value = e, kt.value = n ?? null, _t.value = !0, {
3638
3885
  onClose: (t) => bn(t)
3639
- }), Li = (e) => {
3886
+ }), Xi = (e) => {
3640
3887
  try {
3641
- Le.forEach((n) => {
3888
+ $e.forEach((n) => {
3642
3889
  try {
3643
3890
  n(e);
3644
3891
  } catch (t) {
@@ -3646,18 +3893,18 @@ const bn = (e) => (Le.push(e), () => {
3646
3893
  }
3647
3894
  });
3648
3895
  } finally {
3649
- _t.value = !1, setTimeout($i, 1e3);
3896
+ _t.value = !1, setTimeout(qi, 1e3);
3650
3897
  }
3651
- }, $i = () => {
3652
- Le = [], xt.value = null, kt.value = null;
3653
- }, Si = {
3898
+ }, qi = () => {
3899
+ $e = [], xt.value = null, kt.value = null;
3900
+ }, Gi = {
3654
3901
  asideComponent: xt,
3655
3902
  asideData: kt,
3656
- showAside: Ei,
3657
- closeAside: Li,
3903
+ showAside: Ni,
3904
+ closeAside: Xi,
3658
3905
  onAsideClose: bn,
3659
3906
  hasAside: _t
3660
- }, Ri = () => Si, Hi = (e, n) => {
3907
+ }, Yi = () => Gi, rs = (e, n) => {
3661
3908
  let t = null;
3662
3909
  return (...l) => {
3663
3910
  t && clearTimeout(t), t = setTimeout(() => {
@@ -3665,7 +3912,7 @@ const bn = (e) => (Le.push(e), () => {
3665
3912
  }, n);
3666
3913
  };
3667
3914
  };
3668
- class Ti {
3915
+ class Ji {
3669
3916
  containerElement = null;
3670
3917
  apps = [];
3671
3918
  mainApp = null;
@@ -3688,9 +3935,9 @@ class Ti {
3688
3935
  const s = this.apps.find((r) => r.element === l);
3689
3936
  s && (s.app.unmount(), this.apps = this.apps.filter((r) => r !== s)), l.remove();
3690
3937
  }, 300));
3691
- }, c = $n({
3938
+ }, c = Sn({
3692
3939
  setup() {
3693
- return () => Sn(ft, {
3940
+ return () => Tn(ft, {
3694
3941
  modelValue: !0,
3695
3942
  title: n.title,
3696
3943
  message: n.message,
@@ -3717,7 +3964,7 @@ class Ti {
3717
3964
  });
3718
3965
  }
3719
3966
  });
3720
- 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 });
3967
+ 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 });
3721
3968
  });
3722
3969
  }
3723
3970
  confirm(n) {
@@ -3745,17 +3992,17 @@ class Ti {
3745
3992
  }), this.apps = [];
3746
3993
  }
3747
3994
  }
3748
- const Ai = new Ti();
3749
- function Ui() {
3750
- return Ai;
3995
+ const Qi = new Ji();
3996
+ function cs() {
3997
+ return Qi;
3751
3998
  }
3752
- function Wi() {
3753
- const e = ut(Yt, null);
3999
+ function us() {
4000
+ const e = dt(Yt, null);
3754
4001
  if (!e)
3755
4002
  throw new Error("useDialogController must be used inside a dialog component.");
3756
4003
  return e;
3757
4004
  }
3758
- const Ni = () => {
4005
+ const ds = () => {
3759
4006
  const e = E(!1), n = E(null), t = () => {
3760
4007
  n.value = null;
3761
4008
  };
@@ -3795,72 +4042,74 @@ const Ni = () => {
3795
4042
  return new o(a, i);
3796
4043
  }
3797
4044
  return { run: l, running: e, error: n, clearError: t };
3798
- }, Ki = {
4045
+ }, fs = {
3799
4046
  install(e) {
3800
- e.component("VjAmountBar", xa), e.component("VjButton", dt), e.component("VjButtonBar", Mn), e.component("VjCard", at), e.component("VjChip", Gt), e.component("VjChipGroup", qt), e.component("VjChipSelector", _o), e.component("VjCarousel", at), e.component("VjCheckbox", Yn), e.component("VjDotMenu", ml), e.component("VjDialog", ft), e.component("VjIcon", be), e.component("VjLinkButton", hl), e.component("VjMenu", Vl), e.component("VjMenuAction", wl), e.component("VjPage", Ql), e.component("VjPaginator", ta), e.component("VjTab", pa), e.component("VjTabView", va), e.component("VjSkeleton", wa), e.component("VjSpinner", dn), e.component("VjNotifications", xi), e.component("VjNotification", wt), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", ze), e.component("VjFormLayout", Ta), e.component("VjFormSection", Da), e.component("VjInputText", ni), e.component("VjInputTextArea", Qa), e.component("VjInputSelect", Ia), e.component("VjInputSlider", Ga), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", ci), e.component("VjShell", bi), e.component("VjSearchField", aa), e.component("VjSeparator", sa), e.directive("focus", Ll), e.directive("resize", $l), e.directive("compact", Cl), e.directive("tooltip", fn);
4047
+ e.component("VjAmountBar", Ra), 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", Zl), e.component("VjPaginator", na), e.component("VjTab", ua), e.component("VjTabView", ha), e.component("VjTimer", Ca), e.component("VjSkeleton", Sa), e.component("VjSpinner", dn), e.component("VjNotifications", Hi), e.component("VjNotification", wt), e.component("VjUpload", Ha), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", Ie), e.component("VjFormLayout", Ja), e.component("VjFormSection", ei), e.component("VjInputText", xi), e.component("VjInputTextArea", bi), e.component("VjInputSelect", si), e.component("VjInputSlider", mi), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", Si), e.component("VjShell", Pi), e.component("VjSearchField", ia), e.component("VjSeparator", ra), e.directive("focus", Ll), e.directive("resize", Sl), e.directive("compact", El), e.directive("tooltip", fn);
3801
4048
  }
3802
4049
  };
3803
4050
  export {
3804
- xa as AmountBar,
3805
- dt as Button,
3806
- Mn as ButtonBar,
3807
- at as Card,
3808
- ji as Carousel,
3809
- Yn as Checkbox,
3810
- Gt as Chip,
3811
- qt as ChipGroup,
3812
- _o as ChipSelector,
4051
+ Ra as AmountBar,
4052
+ Ge as Button,
4053
+ Pn as ButtonBar,
4054
+ it as Card,
4055
+ ns as Carousel,
4056
+ Jn as Checkbox,
4057
+ qt as Chip,
4058
+ Gt as ChipGroup,
4059
+ xo as ChipSelector,
3813
4060
  ft as Dialog,
3814
- ml as DotMenu,
3815
- Pi as EditableLabel,
4061
+ pl as DotMenu,
4062
+ ls as EditableLabel,
3816
4063
  Ll as FocusFirstDirective,
3817
- ze as FormField,
3818
- Ta as FormLayout,
3819
- Da as FormSection,
3820
- be as Icon,
3821
- F as IconNames,
4064
+ Ie as FormField,
4065
+ Ja as FormLayout,
4066
+ ei as FormSection,
4067
+ le as Icon,
4068
+ z as IconNames,
3822
4069
  q as IconSize,
3823
4070
  hn as Input,
3824
- Ia as InputSelect,
3825
- Ga as InputSlider,
3826
- ni as InputText,
3827
- Qa as InputTextArea,
3828
- hl as LinkButton,
3829
- Dl as LoadingDirective,
4071
+ si as InputSelect,
4072
+ mi as InputSlider,
4073
+ xi as InputText,
4074
+ bi as InputTextArea,
4075
+ gl as LinkButton,
4076
+ Bl as LoadingDirective,
3830
4077
  Vl as Menu,
3831
- wl as MenuAction,
4078
+ _l as MenuAction,
3832
4079
  wt as NotificationComponent,
3833
- xi as Notifications,
3834
- Ql as Page,
3835
- ta as Paginator,
3836
- Mi as Radio,
3837
- $l as ResizeDirective,
3838
- aa as SearchField,
4080
+ Hi as Notifications,
4081
+ Zl as Page,
4082
+ na as Paginator,
4083
+ os as Radio,
4084
+ Sl as ResizeDirective,
4085
+ ia as SearchField,
3839
4086
  mn as Select,
3840
- sa as Separator,
3841
- bi as Shell,
4087
+ ra as Separator,
4088
+ Pi as Shell,
3842
4089
  gn as ShellNavigation,
3843
- ci as ShellNavigationItem,
3844
- wa as Skeleton,
4090
+ Si as ShellNavigationItem,
4091
+ Sa as Skeleton,
3845
4092
  dn as Spinner,
3846
- pa as Tab,
3847
- va as TabView,
4093
+ ua as Tab,
4094
+ ha as TabView,
3848
4095
  pn as TextArea,
4096
+ Ca as Timer,
3849
4097
  fn as TooltipDirective,
3850
- Ki as VjComponents,
4098
+ Ha as Upload,
4099
+ fs as VjComponents,
3851
4100
  Yt as VjDialogControllerKey,
3852
- ki as VjNavigationProviderKey,
3853
- Cl as compactDirective,
3854
- Fi as configureVueUI,
3855
- Ai as dialogService,
4101
+ Wi as VjNavigationProviderKey,
4102
+ El as compactDirective,
4103
+ as as configureVueUI,
4104
+ Qi as dialogService,
3856
4105
  Ht as getVueUIConfig,
3857
- Ut as notificationService,
3858
- zi as resetVueUIConfig,
3859
- Ri as useAsideService,
3860
- Hi as useDebounce,
3861
- Ui as useDialog,
3862
- Wi as useDialogController,
3863
- Ni as useFlow,
3864
- Ci as useRouterNavigationProvider,
3865
- Ii as useStaticNavigationProvider
4106
+ Wt as notificationService,
4107
+ is as resetVueUIConfig,
4108
+ Yi as useAsideService,
4109
+ rs as useDebounce,
4110
+ cs as useDialog,
4111
+ us as useDialogController,
4112
+ ds as useFlow,
4113
+ Ki as useRouterNavigationProvider,
4114
+ ss as useStaticNavigationProvider
3866
4115
  };