@vanjana/vue-ui 0.1.130 → 0.1.132
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.
- package/dist/theme-light.css +1 -1
- package/dist/types/components/form/select.vue.d.ts +36 -11
- package/dist/types/stories/components/shell.stories.d.ts +2 -0
- package/dist/vanjana-vue-ui.es.js +293 -263
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
- package/themes/common/components/_page.scss +3 -0
- package/themes/common/components/_shell.scss +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as R, computed as k, createElementBlock as g, openBlock as f, normalizeClass as I, unref as
|
|
1
|
+
import { defineComponent as R, computed as k, createElementBlock as g, openBlock as f, normalizeClass as I, unref as S, createBlock as P, createCommentVNode as L, resolveDynamicComponent as ut, mergeModels as G, useModel as ne, createElementVNode as _, createVNode as T, toDisplayString as O, Transition as Se, withCtx as N, renderSlot as M, createTextVNode as Ue, useSlots as Kt, ref as $, onMounted as Re, nextTick as he, onBeforeUnmount as Ae, watch as K, resolveComponent as q, normalizeStyle as Y, Fragment as Q, renderList as pe, withModifiers as U, provide as Xt, Teleport as je, createSlots as dt, mergeProps as wn, shallowRef as _n, getCurrentScope as xn, onScopeDispose as kn, shallowReadonly as Ce, render as Rt, resolveDirective as qt, withDirectives as ft, withKeys as Be, inject as vt, onUnmounted as Cn, vModelText as Vn, toRef as lt, normalizeProps as En, guardReactiveProps as $n, TransitionGroup as Sn, isRef as Ln, createApp as Tn, h as Rn } from "vue";
|
|
2
2
|
import { useRouter as An, useRoute as On } from "vue-router";
|
|
3
3
|
var z = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(z || {}), X = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(X || {});
|
|
4
4
|
class Dn {
|
|
@@ -64,7 +64,7 @@ const at = new Dn(), Bn = /* @__PURE__ */ R({
|
|
|
64
64
|
return a?.type === "component" ? a.value : null;
|
|
65
65
|
});
|
|
66
66
|
return (a, c) => (f(), g("div", {
|
|
67
|
-
class: I(["icon-wrapper", n.size ??
|
|
67
|
+
class: I(["icon-wrapper", n.size ?? S(t)])
|
|
68
68
|
}, [
|
|
69
69
|
o.value ? (f(), g("i", {
|
|
70
70
|
key: 0,
|
|
@@ -115,12 +115,12 @@ const at = new Dn(), Bn = /* @__PURE__ */ R({
|
|
|
115
115
|
}, [
|
|
116
116
|
_("span", jn, O(e.title), 1),
|
|
117
117
|
T(te, {
|
|
118
|
-
icon:
|
|
119
|
-
size:
|
|
118
|
+
icon: S(z).CHEVRON_DOWN,
|
|
119
|
+
size: S(X).S,
|
|
120
120
|
class: "accordion-icon"
|
|
121
121
|
}, null, 8, ["icon", "size"])
|
|
122
122
|
], 8, Mn),
|
|
123
|
-
T(
|
|
123
|
+
T(Se, {
|
|
124
124
|
name: "accordion",
|
|
125
125
|
onEnter: o,
|
|
126
126
|
onLeave: l
|
|
@@ -166,7 +166,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
166
166
|
e.icon ? (f(), P(te, {
|
|
167
167
|
key: 0,
|
|
168
168
|
icon: e.icon,
|
|
169
|
-
size:
|
|
169
|
+
size: S(t)
|
|
170
170
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
171
171
|
Ue(" " + O(e.label), 1)
|
|
172
172
|
], 10, qn));
|
|
@@ -188,7 +188,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
188
188
|
_("header", null, [
|
|
189
189
|
M(t.$slots, "header", {}, () => [
|
|
190
190
|
_("h3", null, O(e.header), 1),
|
|
191
|
-
|
|
191
|
+
S(n).headerActions ? (f(), g("span", Yn, [
|
|
192
192
|
M(t.$slots, "headerActions", {}, void 0, !0)
|
|
193
193
|
])) : L("", !0)
|
|
194
194
|
], !0)
|
|
@@ -196,7 +196,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
196
196
|
_("main", null, [
|
|
197
197
|
M(t.$slots, "default", {}, void 0, !0)
|
|
198
198
|
]),
|
|
199
|
-
|
|
199
|
+
S(n).footer ? (f(), g("footer", Jn, [
|
|
200
200
|
M(t.$slots, "footer", {}, void 0, !0)
|
|
201
201
|
])) : L("", !0)
|
|
202
202
|
], 2));
|
|
@@ -215,11 +215,11 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
215
215
|
ariaLabel: {}
|
|
216
216
|
},
|
|
217
217
|
setup(e) {
|
|
218
|
-
const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, i = n.pauseOnHover ?? !0, a = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", r =
|
|
218
|
+
const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, i = n.pauseOnHover ?? !0, a = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", r = $(Math.max(0, a)), s = $(null), u = $(null), d = $(0), v = $(0);
|
|
219
219
|
let p = !1;
|
|
220
|
-
const h =
|
|
220
|
+
const h = $(0), y = $(!1);
|
|
221
221
|
let m = null, b = null;
|
|
222
|
-
const x =
|
|
222
|
+
const x = $(null), w = $(null), E = () => {
|
|
223
223
|
h.value = s.value ? s.value.children.length : 0, h.value === 0 ? r.value = 0 : r.value >= h.value && (r.value = l ? 0 : h.value - 1), H();
|
|
224
224
|
}, j = k(() => d.value > 0 ? { transform: `translateX(${-r.value * d.value + v.value}px)` } : { transform: `translateX(-${r.value * 100}%)` }), H = () => {
|
|
225
225
|
s.value && Array.from(s.value.children).forEach((B, ye) => {
|
|
@@ -228,11 +228,11 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
228
228
|
} catch {
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
|
-
}, V = () => {
|
|
232
|
-
C(), !(!t || h.value <= 1) && (i && y.value || (m = setTimeout(() => {
|
|
233
|
-
F(), V();
|
|
234
|
-
}, o)));
|
|
235
231
|
}, C = () => {
|
|
232
|
+
V(), !(!t || h.value <= 1) && (i && y.value || (m = setTimeout(() => {
|
|
233
|
+
F(), C();
|
|
234
|
+
}, o)));
|
|
235
|
+
}, V = () => {
|
|
236
236
|
m && (clearTimeout(m), m = null);
|
|
237
237
|
}, D = () => {
|
|
238
238
|
h.value !== 0 && (r.value <= 0 ? r.value = l ? h.value - 1 : 0 : r.value--);
|
|
@@ -241,9 +241,9 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
241
241
|
}, W = (B) => {
|
|
242
242
|
B < 0 || B >= h.value || (r.value = B);
|
|
243
243
|
}, oe = () => {
|
|
244
|
-
y.value = !0, i &&
|
|
244
|
+
y.value = !0, i && V();
|
|
245
245
|
}, fe = () => {
|
|
246
|
-
y.value = !1,
|
|
246
|
+
y.value = !1, C();
|
|
247
247
|
}, ve = (B) => {
|
|
248
248
|
B.key === "ArrowLeft" ? D() : B.key === "ArrowRight" && F();
|
|
249
249
|
};
|
|
@@ -258,7 +258,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
258
258
|
let He = 0;
|
|
259
259
|
const Et = (B) => {
|
|
260
260
|
if (B.isPrimary !== !1 && !(B.pointerType === "mouse" && B.button !== 0)) {
|
|
261
|
-
p = !0, He = B.clientX, v.value = 0,
|
|
261
|
+
p = !0, He = B.clientX, v.value = 0, V();
|
|
262
262
|
try {
|
|
263
263
|
B.target?.setPointerCapture?.(B.pointerId);
|
|
264
264
|
} catch {
|
|
@@ -266,21 +266,21 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
266
266
|
}
|
|
267
267
|
}, $t = (B) => {
|
|
268
268
|
p && (v.value = B.clientX - He, B.preventDefault());
|
|
269
|
-
},
|
|
269
|
+
}, St = () => {
|
|
270
270
|
if (!p) return;
|
|
271
271
|
p = !1;
|
|
272
272
|
const B = Math.max(50, d.value * 0.15);
|
|
273
|
-
v.value > B ? D() : v.value < -B && F(), v.value = 0,
|
|
274
|
-
},
|
|
273
|
+
v.value > B ? D() : v.value < -B && F(), v.value = 0, C();
|
|
274
|
+
}, Lt = (B) => {
|
|
275
275
|
try {
|
|
276
276
|
B.target?.releasePointerCapture?.(B.pointerId);
|
|
277
277
|
} catch {
|
|
278
278
|
}
|
|
279
|
-
|
|
280
|
-
}, Tt = () =>
|
|
279
|
+
St();
|
|
280
|
+
}, Tt = () => St();
|
|
281
281
|
return Re(() => {
|
|
282
282
|
he(() => {
|
|
283
|
-
if (
|
|
283
|
+
if (E(), s.value && (b = new MutationObserver(E), b.observe(s.value, { childList: !0 }), s.value.addEventListener("touchstart", re, { passive: !0 }), s.value.addEventListener("touchmove", J, { passive: !0 }), s.value.addEventListener("touchend", ae)), u.value) {
|
|
284
284
|
const B = () => {
|
|
285
285
|
d.value = u.value ? u.value.clientWidth : 0;
|
|
286
286
|
};
|
|
@@ -291,23 +291,23 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
291
291
|
we.observe(u.value), x.value = we;
|
|
292
292
|
} else
|
|
293
293
|
window.addEventListener("resize", B), w.value = B;
|
|
294
|
-
u.value && (u.value.addEventListener("pointerdown", Et), u.value.addEventListener("pointermove", $t), u.value.addEventListener("pointerup",
|
|
294
|
+
u.value && (u.value.addEventListener("pointerdown", Et), u.value.addEventListener("pointermove", $t), u.value.addEventListener("pointerup", Lt), u.value.addEventListener("pointercancel", Tt));
|
|
295
295
|
}
|
|
296
|
-
H(),
|
|
296
|
+
H(), C();
|
|
297
297
|
});
|
|
298
298
|
}), Ae(() => {
|
|
299
|
-
|
|
299
|
+
V(), b && s.value && b.disconnect(), s.value && (s.value.removeEventListener("touchstart", re), s.value.removeEventListener("touchmove", J), s.value.removeEventListener("touchend", ae)), u.value && (x.value && x.value.disconnect && x.value.disconnect(), w.value && window.removeEventListener("resize", w.value), u.value.removeEventListener("pointerdown", Et), u.value.removeEventListener("pointermove", $t), u.value.removeEventListener("pointerup", Lt), u.value.removeEventListener("pointercancel", Tt));
|
|
300
300
|
}), K([r, () => h.value], () => {
|
|
301
301
|
H();
|
|
302
302
|
}), K([() => y.value, r], () => {
|
|
303
|
-
|
|
303
|
+
C();
|
|
304
304
|
}), (B, ye) => {
|
|
305
305
|
const we = q("VjButton");
|
|
306
306
|
return f(), g("div", {
|
|
307
307
|
class: "carousel",
|
|
308
308
|
role: "region",
|
|
309
309
|
"aria-roledescription": "carousel",
|
|
310
|
-
"aria-label":
|
|
310
|
+
"aria-label": S(c),
|
|
311
311
|
tabindex: "0",
|
|
312
312
|
onKeydown: ve,
|
|
313
313
|
onMouseenter: oe,
|
|
@@ -329,14 +329,14 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
329
329
|
], 512),
|
|
330
330
|
T(we, {
|
|
331
331
|
class: "carousel-btn prev",
|
|
332
|
-
icon:
|
|
332
|
+
icon: S(z).PREVIOUS,
|
|
333
333
|
onClick: D,
|
|
334
334
|
type: "button",
|
|
335
335
|
"aria-label": "Previous slide"
|
|
336
336
|
}, null, 8, ["icon"]),
|
|
337
337
|
T(we, {
|
|
338
338
|
class: "carousel-btn next",
|
|
339
|
-
icon:
|
|
339
|
+
icon: S(z).NEXT,
|
|
340
340
|
onClick: F,
|
|
341
341
|
type: "button",
|
|
342
342
|
"aria-label": "Next slide"
|
|
@@ -454,12 +454,12 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
454
454
|
l("dismiss", o.value);
|
|
455
455
|
};
|
|
456
456
|
return (r, s) => (f(), g("div", {
|
|
457
|
-
class: I(["chip", { "chip--dismissable":
|
|
457
|
+
class: I(["chip", { "chip--dismissable": S(i) }]),
|
|
458
458
|
style: Y(a.value),
|
|
459
459
|
onClick: s[0] || (s[0] = (u) => r.$emit("click"))
|
|
460
460
|
}, [
|
|
461
461
|
_("span", fo, O(e.label), 1),
|
|
462
|
-
|
|
462
|
+
S(i) ? (f(), g("button", {
|
|
463
463
|
key: 0,
|
|
464
464
|
class: "chip__close",
|
|
465
465
|
type: "button",
|
|
@@ -467,8 +467,8 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
467
467
|
"aria-label": "Dismiss"
|
|
468
468
|
}, [
|
|
469
469
|
T(te, {
|
|
470
|
-
icon:
|
|
471
|
-
size:
|
|
470
|
+
icon: S(z).CLOSE,
|
|
471
|
+
size: S(X).S
|
|
472
472
|
}, null, 8, ["icon", "size"])
|
|
473
473
|
])) : L("", !0)
|
|
474
474
|
], 6));
|
|
@@ -492,7 +492,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
492
492
|
},
|
|
493
493
|
emits: ["update:items", "reorder", "dismiss", "chip-click"],
|
|
494
494
|
setup(e, { emit: n }) {
|
|
495
|
-
const t = e, o = n, l =
|
|
495
|
+
const t = e, o = n, l = $(null), i = $(null);
|
|
496
496
|
function a(m, b) {
|
|
497
497
|
return typeof m == "string" ? `${m}-${b}` : m[t.itemKey] !== void 0 ? String(m[t.itemKey]) : `item-${b}`;
|
|
498
498
|
}
|
|
@@ -523,7 +523,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
523
523
|
l.value = null, i.value = null;
|
|
524
524
|
}
|
|
525
525
|
function y(m) {
|
|
526
|
-
const b = t.items[m], x = t.items.filter((w,
|
|
526
|
+
const b = t.items[m], x = t.items.filter((w, E) => E !== m);
|
|
527
527
|
o("update:items", x), o("dismiss", b, m);
|
|
528
528
|
}
|
|
529
529
|
return (m, b) => (f(), g("div", mo, [
|
|
@@ -535,39 +535,39 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
535
535
|
v(w, "before") ? (f(), g("div", {
|
|
536
536
|
key: 0,
|
|
537
537
|
class: "chip-group__drop-indicator",
|
|
538
|
-
onDragover: U((
|
|
539
|
-
onDrop: (
|
|
538
|
+
onDragover: U((E) => s(w, E), ["prevent"]),
|
|
539
|
+
onDrop: (E) => p(w, E)
|
|
540
540
|
}, null, 40, go)) : L("", !0),
|
|
541
541
|
_("div", {
|
|
542
542
|
class: I(["chip-group__item", { "chip-group__item--dragging": l.value === w }]),
|
|
543
543
|
draggable: "true",
|
|
544
|
-
onDragstart: (
|
|
545
|
-
onDragover: U((
|
|
546
|
-
onDragenter: U((
|
|
544
|
+
onDragstart: (E) => r(w, E),
|
|
545
|
+
onDragover: U((E) => s(w, E), ["prevent"]),
|
|
546
|
+
onDragenter: U((E) => u(w), ["prevent"]),
|
|
547
547
|
onDragleave: d,
|
|
548
|
-
onDrop: (
|
|
548
|
+
onDrop: (E) => p(w, E),
|
|
549
549
|
onDragend: h
|
|
550
550
|
}, [
|
|
551
551
|
T(Gt, {
|
|
552
552
|
label: c(x),
|
|
553
553
|
dismissable: typeof x == "string" ? e.dismissable : x.dismissable ?? e.dismissable,
|
|
554
554
|
color: typeof x == "string" ? e.color : x.color ?? e.color,
|
|
555
|
-
onDismiss: (
|
|
556
|
-
onClick: (
|
|
555
|
+
onDismiss: (E) => y(w),
|
|
556
|
+
onClick: (E) => m.$emit("chip-click", x, w)
|
|
557
557
|
}, null, 8, ["label", "dismissable", "color", "onDismiss", "onClick"])
|
|
558
558
|
], 42, bo),
|
|
559
559
|
v(w, "after") ? (f(), g("div", {
|
|
560
560
|
key: 1,
|
|
561
561
|
class: "chip-group__drop-indicator",
|
|
562
|
-
onDragover: U((
|
|
563
|
-
onDrop: (
|
|
562
|
+
onDragover: U((E) => s(w, E), ["prevent"]),
|
|
563
|
+
onDrop: (E) => p(w, E)
|
|
564
564
|
}, null, 40, yo)) : L("", !0)
|
|
565
565
|
], 64))), 128))
|
|
566
566
|
]),
|
|
567
567
|
e.hint ? (f(), g("div", wo, O(e.hint), 1)) : L("", !0)
|
|
568
568
|
]));
|
|
569
569
|
}
|
|
570
|
-
}), Yt = /* @__PURE__ */ A(_o, [["__scopeId", "data-v-66199d19"]]), Jt = /* @__PURE__ */ Symbol("VjDialogController"), xo = { class: "dialog-content" }, ko = { key: 1 },
|
|
570
|
+
}), Yt = /* @__PURE__ */ A(_o, [["__scopeId", "data-v-66199d19"]]), Jt = /* @__PURE__ */ Symbol("VjDialogController"), xo = { class: "dialog-content" }, ko = { key: 1 }, Co = { class: "dialog-footer" }, Vo = /* @__PURE__ */ R({
|
|
571
571
|
__name: "dialog",
|
|
572
572
|
props: {
|
|
573
573
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -584,7 +584,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
584
584
|
},
|
|
585
585
|
emits: ["update:modelValue", "confirm", "cancel", "close", "resolve"],
|
|
586
586
|
setup(e, { emit: n }) {
|
|
587
|
-
const t = e, o = n, l =
|
|
587
|
+
const t = e, o = n, l = $(t.modelValue);
|
|
588
588
|
K(
|
|
589
589
|
() => t.modelValue,
|
|
590
590
|
(d) => l.value = d
|
|
@@ -615,14 +615,14 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
615
615
|
}), (d, v) => {
|
|
616
616
|
const p = q("VjIcon"), h = q("VjButton"), y = q("VjCard");
|
|
617
617
|
return f(), P(je, { to: "body" }, [
|
|
618
|
-
T(
|
|
618
|
+
T(Se, { name: "dialog-fade" }, {
|
|
619
619
|
default: N(() => [
|
|
620
620
|
l.value ? (f(), g("div", {
|
|
621
621
|
key: 0,
|
|
622
622
|
class: "dialog-backdrop",
|
|
623
623
|
onClick: s
|
|
624
624
|
}, [
|
|
625
|
-
T(
|
|
625
|
+
T(Se, { name: "dialog-scale" }, {
|
|
626
626
|
default: N(() => [
|
|
627
627
|
l.value ? (f(), g("div", {
|
|
628
628
|
key: 0,
|
|
@@ -636,8 +636,8 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
636
636
|
}, dt({
|
|
637
637
|
headerActions: N(() => [
|
|
638
638
|
T(p, {
|
|
639
|
-
icon:
|
|
640
|
-
size:
|
|
639
|
+
icon: S(z).CLOSE,
|
|
640
|
+
size: S(X).S,
|
|
641
641
|
class: "dialog-close",
|
|
642
642
|
onClick: i
|
|
643
643
|
}, null, 8, ["icon", "size"])
|
|
@@ -657,7 +657,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
657
657
|
e.showFooter ? {
|
|
658
658
|
name: "footer",
|
|
659
659
|
fn: N(() => [
|
|
660
|
-
_("div",
|
|
660
|
+
_("div", Co, [
|
|
661
661
|
M(d.$slots, "footer", {}, () => [
|
|
662
662
|
e.showCancel ? (f(), P(h, {
|
|
663
663
|
key: 0,
|
|
@@ -687,7 +687,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
687
687
|
]);
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
}), mt = /* @__PURE__ */ A(
|
|
690
|
+
}), mt = /* @__PURE__ */ A(Vo, [["__scopeId", "data-v-29d1729b"]]), Eo = { class: "vj-chip-selector" }, $o = { class: "options-grid" }, So = ["onClick"], Lo = {
|
|
691
691
|
key: 0,
|
|
692
692
|
class: "no-options"
|
|
693
693
|
}, To = /* @__PURE__ */ R({
|
|
@@ -702,7 +702,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
702
702
|
},
|
|
703
703
|
emits: ["update:items"],
|
|
704
704
|
setup(e, { emit: n }) {
|
|
705
|
-
const t = e, o = n, l =
|
|
705
|
+
const t = e, o = n, l = $([...t.items]), i = $(!1), a = k(() => t.options.filter((s) => !l.value.includes(s.value)));
|
|
706
706
|
function c(s) {
|
|
707
707
|
const u = s;
|
|
708
708
|
l.value = u, o("update:items", u);
|
|
@@ -747,15 +747,15 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
747
747
|
type: "button",
|
|
748
748
|
class: "option-btn",
|
|
749
749
|
onClick: (v) => r(d.value)
|
|
750
|
-
}, "+ " + O(d.label), 9,
|
|
750
|
+
}, "+ " + O(d.label), 9, So))), 128))
|
|
751
751
|
]),
|
|
752
|
-
a.value.length === 0 ? (f(), g("div",
|
|
752
|
+
a.value.length === 0 ? (f(), g("div", Lo, "All options already selected")) : L("", !0)
|
|
753
753
|
]),
|
|
754
754
|
_: 1
|
|
755
755
|
}, 8, ["modelValue", "title"])
|
|
756
756
|
]));
|
|
757
757
|
}
|
|
758
|
-
}), Ro = /* @__PURE__ */ A(To, [["__scopeId", "data-v-f2e1b880"]]),
|
|
758
|
+
}), Ro = /* @__PURE__ */ A(To, [["__scopeId", "data-v-f2e1b880"]]), Le = Math.min, Z = Math.max, Ne = Math.round, We = Math.floor, ce = (e) => ({
|
|
759
759
|
x: e,
|
|
760
760
|
y: e
|
|
761
761
|
}), Ao = {
|
|
@@ -768,7 +768,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
768
768
|
end: "start"
|
|
769
769
|
};
|
|
770
770
|
function At(e, n, t) {
|
|
771
|
-
return Z(e,
|
|
771
|
+
return Z(e, Le(n, t));
|
|
772
772
|
}
|
|
773
773
|
function Pe(e, n) {
|
|
774
774
|
return typeof e == "function" ? e(n) : e;
|
|
@@ -931,7 +931,7 @@ const Wo = async (e, n, t) => {
|
|
|
931
931
|
} = c[y], {
|
|
932
932
|
x,
|
|
933
933
|
y: w,
|
|
934
|
-
data:
|
|
934
|
+
data: E,
|
|
935
935
|
reset: j
|
|
936
936
|
} = await b({
|
|
937
937
|
x: u,
|
|
@@ -951,7 +951,7 @@ const Wo = async (e, n, t) => {
|
|
|
951
951
|
...p,
|
|
952
952
|
[m]: {
|
|
953
953
|
...p[m],
|
|
954
|
-
...
|
|
954
|
+
...E
|
|
955
955
|
}
|
|
956
956
|
}, j && h <= 50 && (h++, typeof j == "object" && (j.placement && (v = j.placement), j.rects && (s = j.rects === !0 ? await a.getElementRects({
|
|
957
957
|
reference: e,
|
|
@@ -996,7 +996,7 @@ async function pt(e, n) {
|
|
|
996
996
|
y: l,
|
|
997
997
|
width: a.floating.width,
|
|
998
998
|
height: a.floating.height
|
|
999
|
-
} : a.reference, w = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(c.floating)),
|
|
999
|
+
} : a.reference, w = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(c.floating)), E = await (i.isElement == null ? void 0 : i.isElement(w)) ? await (i.getScale == null ? void 0 : i.getScale(w)) || {
|
|
1000
1000
|
x: 1,
|
|
1001
1001
|
y: 1
|
|
1002
1002
|
} : {
|
|
@@ -1009,10 +1009,10 @@ async function pt(e, n) {
|
|
|
1009
1009
|
strategy: r
|
|
1010
1010
|
}) : x);
|
|
1011
1011
|
return {
|
|
1012
|
-
top: (b.top - j.top + h.top) /
|
|
1013
|
-
bottom: (j.bottom - b.bottom + h.bottom) /
|
|
1014
|
-
left: (b.left - j.left + h.left) /
|
|
1015
|
-
right: (j.right - b.right + h.right) /
|
|
1012
|
+
top: (b.top - j.top + h.top) / E.y,
|
|
1013
|
+
bottom: (j.bottom - b.bottom + h.bottom) / E.y,
|
|
1014
|
+
left: (b.left - j.left + h.left) / E.x,
|
|
1015
|
+
right: (j.right - b.right + h.right) / E.x
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
1018
|
const Uo = function(e) {
|
|
@@ -1039,20 +1039,20 @@ const Uo = function(e) {
|
|
|
1039
1039
|
} = Pe(e, n);
|
|
1040
1040
|
if ((t = i.arrow) != null && t.alignmentOffset)
|
|
1041
1041
|
return {};
|
|
1042
|
-
const b = ge(l), x = me(c), w = ge(c) === c,
|
|
1043
|
-
!v && H && j.push(...zo(c, y, h,
|
|
1044
|
-
const
|
|
1042
|
+
const b = ge(l), x = me(c), w = ge(c) === c, E = await (r.isRTL == null ? void 0 : r.isRTL(s.floating)), j = v || (w || !y ? [Ke(c)] : Mo(c)), H = h !== "none";
|
|
1043
|
+
!v && H && j.push(...zo(c, y, h, E));
|
|
1044
|
+
const C = [c, ...j], V = await pt(n, m), D = [];
|
|
1045
1045
|
let F = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
1046
|
-
if (u && D.push(
|
|
1047
|
-
const ve = Bo(l, a,
|
|
1048
|
-
D.push(
|
|
1046
|
+
if (u && D.push(V[b]), d) {
|
|
1047
|
+
const ve = Bo(l, a, E);
|
|
1048
|
+
D.push(V[ve[0]], V[ve[1]]);
|
|
1049
1049
|
}
|
|
1050
1050
|
if (F = [...F, {
|
|
1051
1051
|
placement: l,
|
|
1052
1052
|
overflows: D
|
|
1053
1053
|
}], !D.every((ve) => ve <= 0)) {
|
|
1054
1054
|
var W, oe;
|
|
1055
|
-
const ve = (((W = i.flip) == null ? void 0 : W.index) || 0) + 1, ke =
|
|
1055
|
+
const ve = (((W = i.flip) == null ? void 0 : W.index) || 0) + 1, ke = C[ve];
|
|
1056
1056
|
if (ke && (!(d === "alignment" ? x !== me(ke) : !1) || // We leave the current main axis only if every placement on that axis
|
|
1057
1057
|
// overflows the main axis.
|
|
1058
1058
|
F.every((J) => me(J.placement) === x ? J.overflows[0] > 0 : !0)))
|
|
@@ -1223,16 +1223,16 @@ const Xo = function(e) {
|
|
|
1223
1223
|
} = i.floating;
|
|
1224
1224
|
let m, b;
|
|
1225
1225
|
d === "top" || d === "bottom" ? (m = d, b = v === (await (a.isRTL == null ? void 0 : a.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (b = d, m = v === "end" ? "top" : "bottom");
|
|
1226
|
-
const x = y - u.top - u.bottom, w = h - u.left - u.right,
|
|
1227
|
-
let
|
|
1228
|
-
if ((t = n.middlewareData.shift) != null && t.enabled.x && (
|
|
1226
|
+
const x = y - u.top - u.bottom, w = h - u.left - u.right, E = Le(y - u[m], x), j = Le(h - u[b], w), H = !n.middlewareData.shift;
|
|
1227
|
+
let C = E, V = j;
|
|
1228
|
+
if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = w), (o = n.middlewareData.shift) != null && o.enabled.y && (C = x), H && !v) {
|
|
1229
1229
|
const F = Z(u.left, 0), W = Z(u.right, 0), oe = Z(u.top, 0), fe = Z(u.bottom, 0);
|
|
1230
|
-
p ?
|
|
1230
|
+
p ? V = h - 2 * (F !== 0 || W !== 0 ? F + W : Z(u.left, u.right)) : C = y - 2 * (oe !== 0 || fe !== 0 ? oe + fe : Z(u.top, u.bottom));
|
|
1231
1231
|
}
|
|
1232
1232
|
await r({
|
|
1233
1233
|
...n,
|
|
1234
|
-
availableWidth:
|
|
1235
|
-
availableHeight:
|
|
1234
|
+
availableWidth: V,
|
|
1235
|
+
availableHeight: C
|
|
1236
1236
|
});
|
|
1237
1237
|
const D = await a.getDimensions(c.floating);
|
|
1238
1238
|
return h !== D.width || y !== D.height ? {
|
|
@@ -1407,8 +1407,8 @@ function _e(e, n, t, o) {
|
|
|
1407
1407
|
const v = ee(i), p = o && ie(o) ? ee(o) : o;
|
|
1408
1408
|
let h = v, y = ct(h);
|
|
1409
1409
|
for (; y && o && p !== h; ) {
|
|
1410
|
-
const m = Ee(y), b = y.getBoundingClientRect(), x = se(y), w = b.left + (y.clientLeft + parseFloat(x.paddingLeft)) * m.x,
|
|
1411
|
-
r *= m.x, s *= m.y, u *= m.x, d *= m.y, r += w, s +=
|
|
1410
|
+
const m = Ee(y), b = y.getBoundingClientRect(), x = se(y), w = b.left + (y.clientLeft + parseFloat(x.paddingLeft)) * m.x, E = b.top + (y.clientTop + parseFloat(x.paddingTop)) * m.y;
|
|
1411
|
+
r *= m.x, s *= m.y, u *= m.x, d *= m.y, r += w, s += E, h = ee(y), y = ct(h);
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
1414
|
return Xe({
|
|
@@ -1546,7 +1546,7 @@ function ml(e) {
|
|
|
1546
1546
|
} = e;
|
|
1547
1547
|
const a = [...t === "clippingAncestors" ? Je(n) ? [] : vl(n, this._c) : [].concat(t), o], c = a[0], r = a.reduce((s, u) => {
|
|
1548
1548
|
const d = Pt(n, u, l);
|
|
1549
|
-
return s.top = Z(d.top, s.top), s.right =
|
|
1549
|
+
return s.top = Z(d.top, s.top), s.right = Le(d.right, s.right), s.bottom = Le(d.bottom, s.bottom), s.left = Z(d.left, s.left), s;
|
|
1550
1550
|
}, Pt(n, c, l));
|
|
1551
1551
|
return {
|
|
1552
1552
|
width: r.right - r.left,
|
|
@@ -1667,19 +1667,19 @@ function wl(e, n) {
|
|
|
1667
1667
|
return;
|
|
1668
1668
|
const h = We(d), y = We(l.clientWidth - (u + v)), m = We(l.clientHeight - (d + p)), b = We(u), w = {
|
|
1669
1669
|
rootMargin: -h + "px " + -y + "px " + -m + "px " + -b + "px",
|
|
1670
|
-
threshold: Z(0,
|
|
1670
|
+
threshold: Z(0, Le(1, r)) || 1
|
|
1671
1671
|
};
|
|
1672
|
-
let
|
|
1672
|
+
let E = !0;
|
|
1673
1673
|
function j(H) {
|
|
1674
|
-
const
|
|
1675
|
-
if (
|
|
1676
|
-
if (!
|
|
1674
|
+
const C = H[0].intersectionRatio;
|
|
1675
|
+
if (C !== r) {
|
|
1676
|
+
if (!E)
|
|
1677
1677
|
return a();
|
|
1678
|
-
|
|
1678
|
+
C ? a(!1, C) : o = setTimeout(() => {
|
|
1679
1679
|
a(!1, 1e-7);
|
|
1680
1680
|
}, 1e3);
|
|
1681
1681
|
}
|
|
1682
|
-
|
|
1682
|
+
C === 1 && !rn(s, e.getBoundingClientRect()) && a(), E = !1;
|
|
1683
1683
|
}
|
|
1684
1684
|
try {
|
|
1685
1685
|
t = new IntersectionObserver(j, {
|
|
@@ -1754,7 +1754,7 @@ function zt(e) {
|
|
|
1754
1754
|
return e;
|
|
1755
1755
|
}
|
|
1756
1756
|
function De(e) {
|
|
1757
|
-
return typeof e == "function" ? e() :
|
|
1757
|
+
return typeof e == "function" ? e() : S(e);
|
|
1758
1758
|
}
|
|
1759
1759
|
function un(e) {
|
|
1760
1760
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
@@ -1766,35 +1766,35 @@ function It(e, n) {
|
|
|
1766
1766
|
function wt(e, n, t) {
|
|
1767
1767
|
t === void 0 && (t = {});
|
|
1768
1768
|
const o = t.whileElementsMounted, l = k(() => {
|
|
1769
|
-
var
|
|
1770
|
-
return (
|
|
1769
|
+
var C;
|
|
1770
|
+
return (C = De(t.open)) != null ? C : !0;
|
|
1771
1771
|
}), i = k(() => De(t.middleware)), a = k(() => {
|
|
1772
|
-
var
|
|
1773
|
-
return (
|
|
1772
|
+
var C;
|
|
1773
|
+
return (C = De(t.placement)) != null ? C : "bottom";
|
|
1774
1774
|
}), c = k(() => {
|
|
1775
|
-
var
|
|
1776
|
-
return (
|
|
1775
|
+
var C;
|
|
1776
|
+
return (C = De(t.strategy)) != null ? C : "absolute";
|
|
1777
1777
|
}), r = k(() => {
|
|
1778
|
-
var
|
|
1779
|
-
return (
|
|
1780
|
-
}), s = k(() => zt(e.value)), u = k(() => zt(n.value)), d =
|
|
1781
|
-
const
|
|
1778
|
+
var C;
|
|
1779
|
+
return (C = De(t.transform)) != null ? C : !0;
|
|
1780
|
+
}), s = k(() => zt(e.value)), u = k(() => zt(n.value)), d = $(0), v = $(0), p = $(c.value), h = $(a.value), y = _n({}), m = $(!1), b = k(() => {
|
|
1781
|
+
const C = {
|
|
1782
1782
|
position: p.value,
|
|
1783
1783
|
left: "0",
|
|
1784
1784
|
top: "0"
|
|
1785
1785
|
};
|
|
1786
1786
|
if (!u.value)
|
|
1787
|
-
return
|
|
1788
|
-
const
|
|
1787
|
+
return C;
|
|
1788
|
+
const V = It(u.value, d.value), D = It(u.value, v.value);
|
|
1789
1789
|
return r.value ? {
|
|
1790
|
-
...
|
|
1791
|
-
transform: "translate(" +
|
|
1790
|
+
...C,
|
|
1791
|
+
transform: "translate(" + V + "px, " + D + "px)",
|
|
1792
1792
|
...un(u.value) >= 1.5 && {
|
|
1793
1793
|
willChange: "transform"
|
|
1794
1794
|
}
|
|
1795
1795
|
} : {
|
|
1796
1796
|
position: p.value,
|
|
1797
|
-
left:
|
|
1797
|
+
left: V + "px",
|
|
1798
1798
|
top: D + "px"
|
|
1799
1799
|
};
|
|
1800
1800
|
});
|
|
@@ -1802,20 +1802,20 @@ function wt(e, n, t) {
|
|
|
1802
1802
|
function w() {
|
|
1803
1803
|
if (s.value == null || u.value == null)
|
|
1804
1804
|
return;
|
|
1805
|
-
const
|
|
1805
|
+
const C = l.value;
|
|
1806
1806
|
cn(s.value, u.value, {
|
|
1807
1807
|
middleware: i.value,
|
|
1808
1808
|
placement: a.value,
|
|
1809
1809
|
strategy: c.value
|
|
1810
|
-
}).then((
|
|
1811
|
-
d.value =
|
|
1810
|
+
}).then((V) => {
|
|
1811
|
+
d.value = V.x, v.value = V.y, p.value = V.strategy, h.value = V.placement, y.value = V.middlewareData, m.value = C !== !1;
|
|
1812
1812
|
});
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function E() {
|
|
1815
1815
|
typeof x == "function" && (x(), x = void 0);
|
|
1816
1816
|
}
|
|
1817
1817
|
function j() {
|
|
1818
|
-
if (
|
|
1818
|
+
if (E(), o === void 0) {
|
|
1819
1819
|
w();
|
|
1820
1820
|
return;
|
|
1821
1821
|
}
|
|
@@ -1833,13 +1833,13 @@ function wt(e, n, t) {
|
|
|
1833
1833
|
flush: "sync"
|
|
1834
1834
|
}), K(l, H, {
|
|
1835
1835
|
flush: "sync"
|
|
1836
|
-
}), xn() && kn(
|
|
1837
|
-
x:
|
|
1838
|
-
y:
|
|
1839
|
-
strategy:
|
|
1840
|
-
placement:
|
|
1841
|
-
middlewareData:
|
|
1842
|
-
isPositioned:
|
|
1836
|
+
}), xn() && kn(E), {
|
|
1837
|
+
x: Ce(d),
|
|
1838
|
+
y: Ce(v),
|
|
1839
|
+
strategy: Ce(p),
|
|
1840
|
+
placement: Ce(h),
|
|
1841
|
+
middlewareData: Ce(y),
|
|
1842
|
+
isPositioned: Ce(m),
|
|
1843
1843
|
floatingStyles: b,
|
|
1844
1844
|
update: w
|
|
1845
1845
|
};
|
|
@@ -1851,7 +1851,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1851
1851
|
icon: {}
|
|
1852
1852
|
},
|
|
1853
1853
|
setup(e) {
|
|
1854
|
-
const n = e, t =
|
|
1854
|
+
const n = e, t = $(!1), o = $(null), l = $(null), i = k(() => n.icon ?? z.DOT_MENU), { floatingStyles: a } = wt(o, l, {
|
|
1855
1855
|
placement: "bottom-end",
|
|
1856
1856
|
middleware: [tt(8), ot(), nt({ padding: 8 })],
|
|
1857
1857
|
whileElementsMounted: et
|
|
@@ -1877,13 +1877,13 @@ const kl = /* @__PURE__ */ R({
|
|
|
1877
1877
|
icon: i.value,
|
|
1878
1878
|
onClick: c
|
|
1879
1879
|
}, null, 8, ["icon"]),
|
|
1880
|
-
T(
|
|
1880
|
+
T(Se, { name: "menu" }, {
|
|
1881
1881
|
default: N(() => [
|
|
1882
1882
|
t.value ? (f(), P(p, {
|
|
1883
1883
|
key: 0,
|
|
1884
1884
|
ref_key: "floatingRef",
|
|
1885
1885
|
ref: l,
|
|
1886
|
-
style: Y(
|
|
1886
|
+
style: Y(S(a)),
|
|
1887
1887
|
class: "menu-dropdown",
|
|
1888
1888
|
onClose: r,
|
|
1889
1889
|
onClickCapture: s
|
|
@@ -1907,7 +1907,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1907
1907
|
], 64);
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
|
-
}),
|
|
1910
|
+
}), Cl = /* @__PURE__ */ A(kl, [["__scopeId", "data-v-3c400bfd"]]), Vl = /* @__PURE__ */ R({
|
|
1911
1911
|
__name: "link-button",
|
|
1912
1912
|
props: {
|
|
1913
1913
|
label: {},
|
|
@@ -1931,7 +1931,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1931
1931
|
e.icon ? (f(), P(te, {
|
|
1932
1932
|
key: 0,
|
|
1933
1933
|
icon: e.icon,
|
|
1934
|
-
size:
|
|
1934
|
+
size: S(t)
|
|
1935
1935
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
1936
1936
|
Ue(" " + O(e.label), 1)
|
|
1937
1937
|
]),
|
|
@@ -1939,7 +1939,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1939
1939
|
}, 8, ["to", "class", "disabled"]);
|
|
1940
1940
|
};
|
|
1941
1941
|
}
|
|
1942
|
-
}), El = /* @__PURE__ */ A(
|
|
1942
|
+
}), El = /* @__PURE__ */ A(Vl, [["__scopeId", "data-v-bd3cf2f5"]]), $l = ["disabled"], Sl = { class: "menu-action--icon" }, Ll = /* @__PURE__ */ R({
|
|
1943
1943
|
__name: "menu-action",
|
|
1944
1944
|
props: {
|
|
1945
1945
|
label: {},
|
|
@@ -1952,17 +1952,17 @@ const kl = /* @__PURE__ */ R({
|
|
|
1952
1952
|
class: "menu-action button tertiary",
|
|
1953
1953
|
disabled: e.disabled
|
|
1954
1954
|
}, [
|
|
1955
|
-
_("span",
|
|
1955
|
+
_("span", Sl, [
|
|
1956
1956
|
e.icon ? (f(), P(te, {
|
|
1957
1957
|
key: 0,
|
|
1958
1958
|
icon: e.icon,
|
|
1959
|
-
size:
|
|
1959
|
+
size: S(n)
|
|
1960
1960
|
}, null, 8, ["icon", "size"])) : L("", !0)
|
|
1961
1961
|
]),
|
|
1962
1962
|
_("span", null, O(e.label), 1)
|
|
1963
1963
|
], 8, $l));
|
|
1964
1964
|
}
|
|
1965
|
-
}), Tl = /* @__PURE__ */ A(
|
|
1965
|
+
}), Tl = /* @__PURE__ */ A(Ll, [["__scopeId", "data-v-07850995"]]), Rl = {}, Al = { class: "menu" };
|
|
1966
1966
|
function Ol(e, n) {
|
|
1967
1967
|
return f(), g("div", Al, [
|
|
1968
1968
|
M(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2067,22 +2067,22 @@ class _t {
|
|
|
2067
2067
|
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)));
|
|
2068
2068
|
}
|
|
2069
2069
|
}
|
|
2070
|
-
const
|
|
2070
|
+
const Ve = _t.instance, Pl = {
|
|
2071
2071
|
mounted(e, n) {
|
|
2072
2072
|
const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, i = typeof t == "object" && !!t?.immediate, a = e;
|
|
2073
|
-
a.__resize_cb = o, a.__resize_breakpoints = l, o &&
|
|
2073
|
+
a.__resize_cb = o, a.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: i });
|
|
2074
2074
|
},
|
|
2075
2075
|
updated(e, n) {
|
|
2076
2076
|
const t = e, o = t.__resize_cb, l = t.__resize_breakpoints, i = n.value, a = typeof i == "function" ? i : i?.onResize, c = typeof i == "object" && i?.breakpoints ? i.breakpoints : void 0;
|
|
2077
2077
|
if (o !== a) {
|
|
2078
|
-
o &&
|
|
2078
|
+
o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: c, immediate: !!(i && typeof i == "object" && i.immediate) }), t.__resize_cb = a, t.__resize_breakpoints = c;
|
|
2079
2079
|
return;
|
|
2080
2080
|
}
|
|
2081
|
-
JSON.stringify(l || {}) !== JSON.stringify(c || {}) && (o &&
|
|
2081
|
+
JSON.stringify(l || {}) !== JSON.stringify(c || {}) && (o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: c, immediate: !0 }), t.__resize_breakpoints = c);
|
|
2082
2082
|
},
|
|
2083
2083
|
unmounted(e) {
|
|
2084
2084
|
const n = e, t = n.__resize_cb;
|
|
2085
|
-
t &&
|
|
2085
|
+
t && Ve.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
|
|
2086
2086
|
}
|
|
2087
2087
|
}, Fl = {}, zl = { class: "spinner" };
|
|
2088
2088
|
function Il(e, n) {
|
|
@@ -2256,7 +2256,7 @@ const vn = {
|
|
|
2256
2256
|
_("div", Jl, [
|
|
2257
2257
|
T(Ge, {
|
|
2258
2258
|
class: "notification__close compact",
|
|
2259
|
-
icon:
|
|
2259
|
+
icon: S(z).CLOSE,
|
|
2260
2260
|
onClick: U(i, ["stop"]),
|
|
2261
2261
|
tertiary: ""
|
|
2262
2262
|
}, null, 8, ["icon"])
|
|
@@ -2298,7 +2298,7 @@ const vn = {
|
|
|
2298
2298
|
e.backLabel ? (f(), P(r, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
tertiary: "",
|
|
2301
|
-
icon:
|
|
2301
|
+
icon: S(z).BACK,
|
|
2302
2302
|
onClick: c[0] || (c[0] = (u) => a.$emit("back")),
|
|
2303
2303
|
size: "small"
|
|
2304
2304
|
}, null, 8, ["icon"])) : L("", !0),
|
|
@@ -2373,7 +2373,7 @@ const vn = {
|
|
|
2373
2373
|
T(w, {
|
|
2374
2374
|
tertiary: "",
|
|
2375
2375
|
class: "paginator-btn",
|
|
2376
|
-
icon:
|
|
2376
|
+
icon: S(z).FIRST,
|
|
2377
2377
|
disabled: r.value,
|
|
2378
2378
|
onClick: p,
|
|
2379
2379
|
"aria-label": "First page"
|
|
@@ -2381,7 +2381,7 @@ const vn = {
|
|
|
2381
2381
|
T(w, {
|
|
2382
2382
|
tertiary: "",
|
|
2383
2383
|
class: "paginator-btn",
|
|
2384
|
-
icon:
|
|
2384
|
+
icon: S(z).PREVIOUS,
|
|
2385
2385
|
disabled: r.value,
|
|
2386
2386
|
onClick: h,
|
|
2387
2387
|
"aria-label": "Previous page"
|
|
@@ -2396,7 +2396,7 @@ const vn = {
|
|
|
2396
2396
|
T(w, {
|
|
2397
2397
|
tertiary: "",
|
|
2398
2398
|
class: "paginator-btn",
|
|
2399
|
-
icon:
|
|
2399
|
+
icon: S(z).NEXT,
|
|
2400
2400
|
disabled: s.value,
|
|
2401
2401
|
onClick: y,
|
|
2402
2402
|
"aria-label": "Next page"
|
|
@@ -2404,7 +2404,7 @@ const vn = {
|
|
|
2404
2404
|
T(w, {
|
|
2405
2405
|
tertiary: "",
|
|
2406
2406
|
class: "paginator-btn",
|
|
2407
|
-
icon:
|
|
2407
|
+
icon: S(z).LAST,
|
|
2408
2408
|
disabled: s.value,
|
|
2409
2409
|
onClick: m,
|
|
2410
2410
|
"aria-label": "Last page"
|
|
@@ -2431,8 +2431,8 @@ const vn = {
|
|
|
2431
2431
|
const c = q("VjIcon");
|
|
2432
2432
|
return f(), g("div", pa, [
|
|
2433
2433
|
T(c, {
|
|
2434
|
-
icon:
|
|
2435
|
-
size:
|
|
2434
|
+
icon: S(z).SEARCH,
|
|
2435
|
+
size: S(X).S
|
|
2436
2436
|
}, null, 8, ["icon", "size"]),
|
|
2437
2437
|
_("input", {
|
|
2438
2438
|
value: n.value,
|
|
@@ -2442,8 +2442,8 @@ const vn = {
|
|
|
2442
2442
|
}, null, 40, ha),
|
|
2443
2443
|
T(c, {
|
|
2444
2444
|
class: I(["reset", { invisible: l.value }]),
|
|
2445
|
-
icon:
|
|
2446
|
-
size:
|
|
2445
|
+
icon: S(z).CLOSE,
|
|
2446
|
+
size: S(X).S,
|
|
2447
2447
|
onClick: o
|
|
2448
2448
|
}, null, 8, ["class", "icon", "size"])
|
|
2449
2449
|
]);
|
|
@@ -2476,10 +2476,10 @@ const vn = {
|
|
|
2476
2476
|
M(l.$slots, "default")
|
|
2477
2477
|
])) : L("", !0);
|
|
2478
2478
|
}
|
|
2479
|
-
}), ka = { class: "tab-view" },
|
|
2479
|
+
}), ka = { class: "tab-view" }, Ca = {
|
|
2480
2480
|
ref: "headerRef",
|
|
2481
2481
|
class: "tab-view-header"
|
|
2482
|
-
},
|
|
2482
|
+
}, Va = ["onClick"], Ea = { class: "tab-view-content" }, $a = /* @__PURE__ */ R({
|
|
2483
2483
|
__name: "tab-view",
|
|
2484
2484
|
props: {
|
|
2485
2485
|
modelValue: {},
|
|
@@ -2487,7 +2487,7 @@ const vn = {
|
|
|
2487
2487
|
},
|
|
2488
2488
|
emits: ["update:modelValue"],
|
|
2489
2489
|
setup(e) {
|
|
2490
|
-
const n = ne(e, "modelValue"), t =
|
|
2490
|
+
const n = ne(e, "modelValue"), t = $([]), o = $([]), l = $({
|
|
2491
2491
|
width: "0px",
|
|
2492
2492
|
transform: "translateX(0px)"
|
|
2493
2493
|
}), i = (s, u) => {
|
|
@@ -2516,14 +2516,14 @@ const vn = {
|
|
|
2516
2516
|
activeTab: () => n.value,
|
|
2517
2517
|
registerTab: c
|
|
2518
2518
|
}), (s, u) => (f(), g("div", ka, [
|
|
2519
|
-
_("div",
|
|
2519
|
+
_("div", Ca, [
|
|
2520
2520
|
(f(!0), g(Q, null, pe(t.value, (d, v) => (f(), g("div", {
|
|
2521
2521
|
key: d.name,
|
|
2522
2522
|
ref_for: !0,
|
|
2523
2523
|
ref: (p) => i(p, v),
|
|
2524
2524
|
class: I(["tab-button", { active: n.value === d.name }]),
|
|
2525
2525
|
onClick: (p) => r(d.name)
|
|
2526
|
-
}, O(d.label), 11,
|
|
2526
|
+
}, O(d.label), 11, Va))), 128)),
|
|
2527
2527
|
u[0] || (u[0] = _("div", { class: "tab-line" }, null, -1)),
|
|
2528
2528
|
_("div", {
|
|
2529
2529
|
class: "tab-indicator",
|
|
@@ -2535,7 +2535,7 @@ const vn = {
|
|
|
2535
2535
|
])
|
|
2536
2536
|
]));
|
|
2537
2537
|
}
|
|
2538
|
-
}),
|
|
2538
|
+
}), Sa = /* @__PURE__ */ A($a, [["__scopeId", "data-v-3d4ee454"]]), La = ["width", "height", "role", "tabindex", "aria-label", "onKeydown"], Ta = ["cx", "cy", "r", "stroke-width"], Ra = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Aa = ["transform"], Oa = ["x", "y", "width", "height", "rx"], Da = ["x", "y", "width", "height", "rx"], Ba = /* @__PURE__ */ R({
|
|
2539
2539
|
__name: "timer",
|
|
2540
2540
|
props: {
|
|
2541
2541
|
duration: { default: 5e3 },
|
|
@@ -2552,30 +2552,30 @@ const vn = {
|
|
|
2552
2552
|
l: { size: 40, strokeWidth: 2, innerStrokeWidth: 6 },
|
|
2553
2553
|
xl: { size: 64, strokeWidth: 2, innerStrokeWidth: 8 },
|
|
2554
2554
|
xxl: { size: 92, strokeWidth: 2, innerStrokeWidth: 10 }
|
|
2555
|
-
}, o = e, l = n, i = k(() => t[o.timerSize].size), a = k(() => t[o.timerSize].strokeWidth), c = k(() => t[o.timerSize].innerStrokeWidth), r =
|
|
2555
|
+
}, o = e, l = n, i = k(() => t[o.timerSize].size), a = k(() => t[o.timerSize].strokeWidth), c = k(() => t[o.timerSize].innerStrokeWidth), r = $(!1), s = $(100), u = $(!1), d = $(o.paused);
|
|
2556
2556
|
let v = null, p = null, h = 0;
|
|
2557
2557
|
const y = k(() => (i.value - Math.max(a.value, c.value)) / 2), m = k(() => 2 * Math.PI * y.value), b = k(() => m.value * (1 - s.value / 100));
|
|
2558
2558
|
K(
|
|
2559
2559
|
() => o.paused,
|
|
2560
2560
|
(F) => {
|
|
2561
|
-
d.value = F, F ?
|
|
2561
|
+
d.value = F, F ? C() : V();
|
|
2562
2562
|
}
|
|
2563
2563
|
), Re(() => {
|
|
2564
2564
|
w();
|
|
2565
|
-
}),
|
|
2565
|
+
}), Cn(() => {
|
|
2566
2566
|
D();
|
|
2567
2567
|
});
|
|
2568
2568
|
function x() {
|
|
2569
2569
|
o.pausable && (d.value = !d.value, l("update:paused", d.value));
|
|
2570
2570
|
}
|
|
2571
2571
|
function w() {
|
|
2572
|
-
d.value || (p = performance.now() - h,
|
|
2572
|
+
d.value || (p = performance.now() - h, E());
|
|
2573
2573
|
}
|
|
2574
|
-
function
|
|
2574
|
+
function E() {
|
|
2575
2575
|
if (!p || d.value) return;
|
|
2576
2576
|
h = performance.now() - p;
|
|
2577
2577
|
const W = Math.max(0, o.duration - h), oe = W / o.duration * 100;
|
|
2578
|
-
s.value = oe, W > 0 ? v = requestAnimationFrame(
|
|
2578
|
+
s.value = oe, W > 0 ? v = requestAnimationFrame(E) : j();
|
|
2579
2579
|
}
|
|
2580
2580
|
async function j() {
|
|
2581
2581
|
if (!o.action) {
|
|
@@ -2598,10 +2598,10 @@ const vn = {
|
|
|
2598
2598
|
});
|
|
2599
2599
|
});
|
|
2600
2600
|
}
|
|
2601
|
-
function
|
|
2601
|
+
function C() {
|
|
2602
2602
|
v !== null && (cancelAnimationFrame(v), v = null);
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2604
|
+
function V() {
|
|
2605
2605
|
v === null && !r.value && w();
|
|
2606
2606
|
}
|
|
2607
2607
|
function D() {
|
|
@@ -2668,7 +2668,7 @@ const vn = {
|
|
|
2668
2668
|
class: "vj-timer__pause-bar"
|
|
2669
2669
|
}, null, 8, Da)
|
|
2670
2670
|
], 8, Aa)) : L("", !0)
|
|
2671
|
-
], 42,
|
|
2671
|
+
], 42, La));
|
|
2672
2672
|
}
|
|
2673
2673
|
}), Ma = /* @__PURE__ */ A(Ba, [["__scopeId", "data-v-49a33853"]]), ja = ["onKeydown"], Pa = /* @__PURE__ */ R({
|
|
2674
2674
|
__name: "editable-label",
|
|
@@ -2678,7 +2678,7 @@ const vn = {
|
|
|
2678
2678
|
},
|
|
2679
2679
|
emits: ["update:modelValue", "edit"],
|
|
2680
2680
|
setup(e, { emit: n }) {
|
|
2681
|
-
const t = e, o = n, l = k(() => t.modelValue ?? ""), i =
|
|
2681
|
+
const t = e, o = n, l = k(() => t.modelValue ?? ""), i = $(l.value), a = $(!1), c = $(!1), r = $(null), s = k(() => !!t.showIcon);
|
|
2682
2682
|
K(l, (p) => {
|
|
2683
2683
|
i.value = p;
|
|
2684
2684
|
});
|
|
@@ -2708,7 +2708,7 @@ const vn = {
|
|
|
2708
2708
|
],
|
|
2709
2709
|
onBlur: d
|
|
2710
2710
|
}, null, 40, ja)), [
|
|
2711
|
-
[
|
|
2711
|
+
[Vn, i.value]
|
|
2712
2712
|
]) : (f(), g(Q, { key: 0 }, [
|
|
2713
2713
|
_("span", {
|
|
2714
2714
|
class: "label-text",
|
|
@@ -2721,7 +2721,7 @@ const vn = {
|
|
|
2721
2721
|
onClick: U(u, ["stop"])
|
|
2722
2722
|
}, [
|
|
2723
2723
|
T(te, {
|
|
2724
|
-
icon:
|
|
2724
|
+
icon: S(z).EDIT
|
|
2725
2725
|
}, null, 8, ["icon"])
|
|
2726
2726
|
])) : L("", !0)
|
|
2727
2727
|
], 64))
|
|
@@ -2804,7 +2804,7 @@ const vn = {
|
|
|
2804
2804
|
}),
|
|
2805
2805
|
emits: /* @__PURE__ */ G(["update:modelValue", "file-added", "file-removed"], ["update:modelValue"]),
|
|
2806
2806
|
setup(e, { emit: n }) {
|
|
2807
|
-
const t = e, o = n, l = ne(e, "modelValue"), i =
|
|
2807
|
+
const t = e, o = n, l = ne(e, "modelValue"), i = $(), a = $(!1), c = $(!1), r = (y) => {
|
|
2808
2808
|
const m = y.target, b = Array.from(m.files || []);
|
|
2809
2809
|
v(b), i.value && (i.value.value = "");
|
|
2810
2810
|
}, s = () => {
|
|
@@ -2853,8 +2853,8 @@ const vn = {
|
|
|
2853
2853
|
onDrop: U(d, ["prevent"])
|
|
2854
2854
|
}, [
|
|
2855
2855
|
T(te, {
|
|
2856
|
-
icon:
|
|
2857
|
-
size:
|
|
2856
|
+
icon: S(z).UPLOAD,
|
|
2857
|
+
size: S(X).L,
|
|
2858
2858
|
class: "upload-icon"
|
|
2859
2859
|
}, null, 8, ["icon", "size"]),
|
|
2860
2860
|
_("div", Na, [
|
|
@@ -2875,8 +2875,8 @@ const vn = {
|
|
|
2875
2875
|
}, [
|
|
2876
2876
|
_("div", Ga, [
|
|
2877
2877
|
T(te, {
|
|
2878
|
-
icon:
|
|
2879
|
-
size:
|
|
2878
|
+
icon: S(z).ATTACHMENT,
|
|
2879
|
+
size: S(X).S
|
|
2880
2880
|
}, null, 8, ["icon", "size"]),
|
|
2881
2881
|
_("div", Ya, [
|
|
2882
2882
|
_("p", Ja, O(b.name), 1),
|
|
@@ -2885,8 +2885,8 @@ const vn = {
|
|
|
2885
2885
|
]),
|
|
2886
2886
|
e.disabled ? L("", !0) : (f(), P(te, {
|
|
2887
2887
|
key: 0,
|
|
2888
|
-
icon:
|
|
2889
|
-
size:
|
|
2888
|
+
icon: S(z).CLOSE,
|
|
2889
|
+
size: S(X).S,
|
|
2890
2890
|
class: "remove-icon",
|
|
2891
2891
|
onClick: (w) => p(x)
|
|
2892
2892
|
}, null, 8, ["icon", "size", "onClick"]))
|
|
@@ -2949,7 +2949,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
2949
2949
|
},
|
|
2950
2950
|
emits: ["update:modelValue", "focus", "blur"],
|
|
2951
2951
|
setup(e, { emit: n }) {
|
|
2952
|
-
const t = e, o = n, l =
|
|
2952
|
+
const t = e, o = n, l = $(t.modelValue), i = $(!1), a = k(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), c = k(() => t.labelPosition ?? Ut().form.labelPosition), r = k(() => t.appearance ?? Ut().form.appearance);
|
|
2953
2953
|
K(
|
|
2954
2954
|
() => t.modelValue,
|
|
2955
2955
|
(h) => l.value = h
|
|
@@ -3009,7 +3009,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3009
3009
|
e.error ? (f(), g("div", ai, O(e.error), 1)) : L("", !0),
|
|
3010
3010
|
t.helpText ? ft((f(), g("button", ii, [
|
|
3011
3011
|
T(m, {
|
|
3012
|
-
icon:
|
|
3012
|
+
icon: S(z).HELP
|
|
3013
3013
|
}, null, 8, ["icon"])
|
|
3014
3014
|
])), [
|
|
3015
3015
|
[b, t.helpText]
|
|
@@ -3024,7 +3024,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3024
3024
|
gap: { type: String, default: "0.75rem" }
|
|
3025
3025
|
},
|
|
3026
3026
|
setup(e) {
|
|
3027
|
-
const n = e, t =
|
|
3027
|
+
const n = e, t = $(null);
|
|
3028
3028
|
let o = null;
|
|
3029
3029
|
function l() {
|
|
3030
3030
|
if (!t.value) return;
|
|
@@ -3076,36 +3076,66 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3076
3076
|
inheritAttrs: !1,
|
|
3077
3077
|
__name: "select",
|
|
3078
3078
|
props: /* @__PURE__ */ G({
|
|
3079
|
-
options: {
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3079
|
+
options: {
|
|
3080
|
+
type: Array,
|
|
3081
|
+
required: !0
|
|
3082
|
+
},
|
|
3083
|
+
placeholder: {
|
|
3084
|
+
type: String,
|
|
3085
|
+
default: void 0
|
|
3086
|
+
},
|
|
3087
|
+
disabled: {
|
|
3088
|
+
type: Boolean,
|
|
3089
|
+
default: !1
|
|
3090
|
+
},
|
|
3091
|
+
optionLabel: {
|
|
3092
|
+
type: [String, Number, Symbol, Function],
|
|
3093
|
+
default: void 0
|
|
3094
|
+
},
|
|
3095
|
+
id: {
|
|
3096
|
+
type: String,
|
|
3097
|
+
default: void 0
|
|
3098
|
+
},
|
|
3099
|
+
optionValue: {
|
|
3100
|
+
type: [String, Number, Symbol, Function],
|
|
3101
|
+
default: void 0
|
|
3102
|
+
},
|
|
3103
|
+
icon: {
|
|
3104
|
+
type: String,
|
|
3105
|
+
default: void 0
|
|
3106
|
+
},
|
|
3107
|
+
clearable: {
|
|
3108
|
+
type: Boolean,
|
|
3109
|
+
default: !1
|
|
3110
|
+
}
|
|
3087
3111
|
}, {
|
|
3088
3112
|
modelValue: {},
|
|
3089
3113
|
modelModifiers: {}
|
|
3090
3114
|
}),
|
|
3091
3115
|
emits: ["update:modelValue"],
|
|
3092
3116
|
setup(e, { expose: n }) {
|
|
3093
|
-
const t = e, o = ne(e, "modelValue"), l =
|
|
3117
|
+
const t = e, o = ne(e, "modelValue"), l = $(!1), i = $(-1), a = $(null), c = $(null), r = $(null), { floatingStyles: s } = wt(c, r, {
|
|
3094
3118
|
placement: "bottom-start",
|
|
3095
3119
|
middleware: [
|
|
3096
3120
|
tt(4),
|
|
3097
3121
|
ot(),
|
|
3098
3122
|
nt({ padding: 8 }),
|
|
3099
3123
|
_l({
|
|
3100
|
-
apply({ rects: w, elements:
|
|
3101
|
-
Object.assign(
|
|
3124
|
+
apply({ rects: w, elements: E }) {
|
|
3125
|
+
Object.assign(E.floating.style, {
|
|
3102
3126
|
minWidth: `${w.reference.width}px`
|
|
3103
3127
|
});
|
|
3104
3128
|
}
|
|
3105
3129
|
})
|
|
3106
3130
|
],
|
|
3107
3131
|
whileElementsMounted: et
|
|
3108
|
-
}), u = (w) =>
|
|
3132
|
+
}), u = (w) => {
|
|
3133
|
+
const E = t.optionLabel;
|
|
3134
|
+
return E ? typeof E == "function" ? E(w) : String(w[E]) : String(w);
|
|
3135
|
+
}, d = (w) => {
|
|
3136
|
+
const E = t.optionValue;
|
|
3137
|
+
return E ? typeof E == "function" ? E(w) : w[E] : w;
|
|
3138
|
+
}, v = k(() => t.options.find((w) => d(w) === o.value)), p = (w) => d(w) === o.value, h = () => {
|
|
3109
3139
|
t.disabled || (l.value = !l.value);
|
|
3110
3140
|
}, y = () => {
|
|
3111
3141
|
l.value = !1, i.value = -1;
|
|
@@ -3121,11 +3151,11 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3121
3151
|
}), Ae(() => {
|
|
3122
3152
|
document.removeEventListener("click", x);
|
|
3123
3153
|
}), K(l, (w) => {
|
|
3124
|
-
w && v.value && (i.value = t.options.findIndex((
|
|
3154
|
+
w && v.value && (i.value = t.options.findIndex((E) => p(E)));
|
|
3125
3155
|
}), n({
|
|
3126
3156
|
focus: () => c.value?.focus(),
|
|
3127
3157
|
blur: () => c.value?.blur()
|
|
3128
|
-
}), (w,
|
|
3158
|
+
}), (w, E) => {
|
|
3129
3159
|
const j = q("VjIcon");
|
|
3130
3160
|
return f(), g(Q, null, [
|
|
3131
3161
|
_("div", {
|
|
@@ -3145,7 +3175,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3145
3175
|
t.icon ? (f(), P(j, {
|
|
3146
3176
|
key: 0,
|
|
3147
3177
|
icon: t.icon,
|
|
3148
|
-
size:
|
|
3178
|
+
size: S(X).S,
|
|
3149
3179
|
class: "select-icon-left"
|
|
3150
3180
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3151
3181
|
_("span", mi, [
|
|
@@ -3158,34 +3188,34 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3158
3188
|
]),
|
|
3159
3189
|
t.clearable && v.value && !e.disabled ? (f(), P(j, {
|
|
3160
3190
|
key: 1,
|
|
3161
|
-
icon:
|
|
3162
|
-
size:
|
|
3191
|
+
icon: S(z).CLOSE,
|
|
3192
|
+
size: S(X).S,
|
|
3163
3193
|
class: "select-clear-icon",
|
|
3164
3194
|
onClick: U(b, ["stop"])
|
|
3165
3195
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3166
3196
|
T(j, {
|
|
3167
|
-
icon:
|
|
3168
|
-
size:
|
|
3197
|
+
icon: S(z).CHEVRON_DOWN,
|
|
3198
|
+
size: S(X).S,
|
|
3169
3199
|
class: I(["select-icon-right", { open: l.value }])
|
|
3170
3200
|
}, null, 8, ["icon", "size", "class"])
|
|
3171
3201
|
], 8, vi)
|
|
3172
3202
|
], 2),
|
|
3173
3203
|
(f(), P(je, { to: "body" }, [
|
|
3174
|
-
T(
|
|
3204
|
+
T(Se, { name: "dropdown" }, {
|
|
3175
3205
|
default: N(() => [
|
|
3176
3206
|
l.value ? (f(), g("div", {
|
|
3177
3207
|
key: 0,
|
|
3178
3208
|
ref_key: "floatingRef",
|
|
3179
3209
|
ref: r,
|
|
3180
|
-
style: Y(
|
|
3210
|
+
style: Y(S(s)),
|
|
3181
3211
|
class: "select-dropdown"
|
|
3182
3212
|
}, [
|
|
3183
3213
|
_("div", hi, [
|
|
3184
|
-
(f(!0), g(Q, null, pe(e.options, (H,
|
|
3214
|
+
(f(!0), g(Q, null, pe(e.options, (H, C) => (f(), g("div", {
|
|
3185
3215
|
key: String(d(H)),
|
|
3186
|
-
class: I(["select-option", { selected: p(H), highlighted: i.value ===
|
|
3187
|
-
onClick: (
|
|
3188
|
-
onMouseenter: (
|
|
3216
|
+
class: I(["select-option", { selected: p(H), highlighted: i.value === C }]),
|
|
3217
|
+
onClick: (V) => m(H),
|
|
3218
|
+
onMouseenter: (V) => i.value = C
|
|
3189
3219
|
}, [
|
|
3190
3220
|
M(w.$slots, "option", {
|
|
3191
3221
|
option: H,
|
|
@@ -3208,7 +3238,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3208
3238
|
], 64);
|
|
3209
3239
|
};
|
|
3210
3240
|
}
|
|
3211
|
-
}), pn = /* @__PURE__ */ A(bi, [["__scopeId", "data-v-
|
|
3241
|
+
}), pn = /* @__PURE__ */ A(bi, [["__scopeId", "data-v-6e7767b7"]]), yi = /* @__PURE__ */ R({
|
|
3212
3242
|
__name: "input-select",
|
|
3213
3243
|
props: {
|
|
3214
3244
|
modelValue: {},
|
|
@@ -3227,7 +3257,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3227
3257
|
},
|
|
3228
3258
|
emits: ["update:modelValue", "input", "focus", "blur"],
|
|
3229
3259
|
setup(e, { emit: n }) {
|
|
3230
|
-
const t = e, o = n, l =
|
|
3260
|
+
const t = e, o = n, l = $(t.modelValue);
|
|
3231
3261
|
K(
|
|
3232
3262
|
() => t.modelValue,
|
|
3233
3263
|
(a) => {
|
|
@@ -3297,53 +3327,53 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3297
3327
|
},
|
|
3298
3328
|
emits: ["update:modelValue", "change"],
|
|
3299
3329
|
setup(e, { emit: n }) {
|
|
3300
|
-
const t = e, o = n, l =
|
|
3330
|
+
const t = e, o = n, l = $(null), i = $(!1), a = $(!1), c = (C, V, D) => Math.min(Math.max(C, V), D), r = $(
|
|
3301
3331
|
t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
|
|
3302
|
-
), s =
|
|
3332
|
+
), s = $(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
|
|
3303
3333
|
K(
|
|
3304
3334
|
() => t.modelValue,
|
|
3305
|
-
(
|
|
3306
|
-
t.range ? Array.isArray(
|
|
3335
|
+
(C) => {
|
|
3336
|
+
t.range ? Array.isArray(C) && (r.value = c(C[0], t.min, t.max), s.value = c(C[1], t.min, t.max)) : typeof C == "number" && (r.value = c(C, t.min, t.max));
|
|
3307
3337
|
},
|
|
3308
3338
|
{ immediate: !0 }
|
|
3309
3339
|
);
|
|
3310
|
-
const u = (
|
|
3340
|
+
const u = (C) => (C - t.min) / (t.max - t.min) * 100, d = k(() => ({ left: `${u(r.value)}%` })), v = k(() => ({ left: `${u(s.value)}%` })), p = k(() => {
|
|
3311
3341
|
if (!t.range) return { width: `${u(r.value)}%`, left: "0%" };
|
|
3312
|
-
const
|
|
3313
|
-
return { left: `${
|
|
3342
|
+
const C = u(r.value), V = u(s.value);
|
|
3343
|
+
return { left: `${C}%`, width: `${Math.max(0, V - C)}%` };
|
|
3314
3344
|
});
|
|
3315
3345
|
let h = null, y = null;
|
|
3316
|
-
const m = async (
|
|
3317
|
-
h =
|
|
3346
|
+
const m = async (C, V) => {
|
|
3347
|
+
h = C, y = V.pointerId, C === "low" ? i.value = !0 : a.value = !0;
|
|
3318
3348
|
try {
|
|
3319
|
-
|
|
3349
|
+
V.target.setPointerCapture(V.pointerId);
|
|
3320
3350
|
} catch {
|
|
3321
3351
|
}
|
|
3322
3352
|
window.addEventListener("pointermove", x), window.addEventListener("pointerup", b);
|
|
3323
|
-
}, b = (
|
|
3324
|
-
if (y != null &&
|
|
3353
|
+
}, b = (C) => {
|
|
3354
|
+
if (y != null && C)
|
|
3325
3355
|
try {
|
|
3326
|
-
|
|
3356
|
+
C.target.releasePointerCapture(C.pointerId);
|
|
3327
3357
|
} catch {
|
|
3328
3358
|
}
|
|
3329
3359
|
h = null, y = null, i.value = !1, a.value = !1, window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", b), j();
|
|
3330
|
-
}, x = (
|
|
3360
|
+
}, x = (C) => {
|
|
3331
3361
|
if (!h || !l.value) return;
|
|
3332
|
-
const
|
|
3362
|
+
const V = l.value.getBoundingClientRect(), D = c(C.clientX - V.left, 0, V.width), F = t.min + D / V.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
|
|
3333
3363
|
h === "low" ? t.range ? r.value = Math.min(W, s.value) : r.value = c(W, t.min, t.max) : h === "high" && (s.value = Math.max(W, r.value));
|
|
3334
|
-
}, w = (
|
|
3364
|
+
}, w = (C) => {
|
|
3335
3365
|
if (!l.value) return;
|
|
3336
|
-
const
|
|
3366
|
+
const V = l.value.getBoundingClientRect(), D = c(C.clientX - V.left, 0, V.width), F = t.min + D / V.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
|
|
3337
3367
|
if (t.range) {
|
|
3338
3368
|
const oe = Math.abs(W - r.value), fe = Math.abs(W - s.value);
|
|
3339
3369
|
oe <= fe ? r.value = Math.min(W, s.value) : s.value = Math.max(W, r.value);
|
|
3340
3370
|
} else
|
|
3341
3371
|
r.value = c(W, t.min, t.max);
|
|
3342
3372
|
j();
|
|
3343
|
-
},
|
|
3344
|
-
const D = t.step, F =
|
|
3373
|
+
}, E = (C, V) => {
|
|
3374
|
+
const D = t.step, F = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
|
|
3345
3375
|
if (F) {
|
|
3346
|
-
if (
|
|
3376
|
+
if (C === "low") {
|
|
3347
3377
|
const W = c(r.value + F * D, t.min, t.range ? s.value : t.max);
|
|
3348
3378
|
r.value = W, i.value = !0, setTimeout(() => i.value = !1, 800);
|
|
3349
3379
|
} else {
|
|
@@ -3363,9 +3393,9 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3363
3393
|
const H = k(() => t.range);
|
|
3364
3394
|
return he(() => {
|
|
3365
3395
|
t.modelValue === void 0 && (t.range ? o("update:modelValue", [r.value, s.value]) : o("update:modelValue", r.value));
|
|
3366
|
-
}), (
|
|
3396
|
+
}), (C, V) => (f(), g("div", {
|
|
3367
3397
|
class: "vj-slider",
|
|
3368
|
-
onPointerdown:
|
|
3398
|
+
onPointerdown: V[8] || (V[8] = U(() => {
|
|
3369
3399
|
}, ["stop"]))
|
|
3370
3400
|
}, [
|
|
3371
3401
|
_("div", {
|
|
@@ -3390,10 +3420,10 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3390
3420
|
"aria-valuemax": e.max,
|
|
3391
3421
|
"aria-valuenow": r.value,
|
|
3392
3422
|
"aria-label": H.value ? "Lower value" : "Value",
|
|
3393
|
-
onPointerdown:
|
|
3394
|
-
onFocus:
|
|
3395
|
-
onBlur:
|
|
3396
|
-
onKeydown:
|
|
3423
|
+
onPointerdown: V[0] || (V[0] = U((D) => m("low", D), ["prevent"])),
|
|
3424
|
+
onFocus: V[1] || (V[1] = (D) => i.value = !0),
|
|
3425
|
+
onBlur: V[2] || (V[2] = (D) => i.value = !1),
|
|
3426
|
+
onKeydown: V[3] || (V[3] = U((D) => E("low", D), ["stop", "prevent"])),
|
|
3397
3427
|
role: "slider",
|
|
3398
3428
|
tabindex: "0"
|
|
3399
3429
|
}, null, 44, wi),
|
|
@@ -3410,17 +3440,17 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3410
3440
|
"aria-valuemax": e.max,
|
|
3411
3441
|
"aria-valuenow": s.value,
|
|
3412
3442
|
"aria-label": "Upper value",
|
|
3413
|
-
onPointerdown:
|
|
3414
|
-
onFocus:
|
|
3415
|
-
onBlur:
|
|
3416
|
-
onKeydown:
|
|
3443
|
+
onPointerdown: V[4] || (V[4] = U((D) => m("high", D), ["prevent"])),
|
|
3444
|
+
onFocus: V[5] || (V[5] = (D) => a.value = !0),
|
|
3445
|
+
onBlur: V[6] || (V[6] = (D) => a.value = !1),
|
|
3446
|
+
onKeydown: V[7] || (V[7] = U((D) => E("high", D), ["stop", "prevent"])),
|
|
3417
3447
|
role: "slider",
|
|
3418
3448
|
tabindex: "0"
|
|
3419
3449
|
}, null, 44, _i)) : L("", !0)
|
|
3420
3450
|
], 512)
|
|
3421
3451
|
], 32));
|
|
3422
3452
|
}
|
|
3423
|
-
}), ki = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-d47c7475"]]),
|
|
3453
|
+
}), ki = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-d47c7475"]]), Ci = ["onFocusin", "onFocusout"], Vi = /* @__PURE__ */ R({
|
|
3424
3454
|
__name: "input-slider",
|
|
3425
3455
|
props: /* @__PURE__ */ G({
|
|
3426
3456
|
modelValue: {},
|
|
@@ -3444,7 +3474,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3444
3474
|
}),
|
|
3445
3475
|
emits: /* @__PURE__ */ G(["update:modelValue", "input", "focus", "blur"], ["update:modelValue"]),
|
|
3446
3476
|
setup(e, { emit: n }) {
|
|
3447
|
-
const t = e, o = ne(e, "modelValue"), l = n, i = o.value === void 0 ? 0 : Number(o.value), a =
|
|
3477
|
+
const t = e, o = ne(e, "modelValue"), l = n, i = o.value === void 0 ? 0 : Number(o.value), a = $(Number.isNaN(i) ? 0 : i);
|
|
3448
3478
|
K(o, (r) => {
|
|
3449
3479
|
const s = r === void 0 ? 0 : Number(r);
|
|
3450
3480
|
a.value = Number.isNaN(s) ? 0 : s;
|
|
@@ -3488,12 +3518,12 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3488
3518
|
range: !1,
|
|
3489
3519
|
disabled: d
|
|
3490
3520
|
}, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
|
|
3491
|
-
], 40,
|
|
3521
|
+
], 40, Ci)
|
|
3492
3522
|
]),
|
|
3493
3523
|
_: 1
|
|
3494
3524
|
}, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
|
|
3495
3525
|
}
|
|
3496
|
-
}), Ei = /* @__PURE__ */ A(
|
|
3526
|
+
}), Ei = /* @__PURE__ */ A(Vi, [["__scopeId", "data-v-8f16d318"]]), $i = { class: "textarea" }, Si = ["value", "placeholder", "disabled", "rows"], Li = /* @__PURE__ */ R({
|
|
3497
3527
|
__name: "textarea",
|
|
3498
3528
|
props: /* @__PURE__ */ G({
|
|
3499
3529
|
icon: {},
|
|
@@ -3522,7 +3552,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3522
3552
|
e.icon ? (f(), P(d, {
|
|
3523
3553
|
key: 0,
|
|
3524
3554
|
icon: e.icon,
|
|
3525
|
-
size:
|
|
3555
|
+
size: S(X).S,
|
|
3526
3556
|
class: "textarea-icon"
|
|
3527
3557
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3528
3558
|
_("textarea", {
|
|
@@ -3533,18 +3563,18 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3533
3563
|
placeholder: e.placeholder,
|
|
3534
3564
|
disabled: e.disabled,
|
|
3535
3565
|
rows: e.rows
|
|
3536
|
-
}, null, 40,
|
|
3566
|
+
}, null, 40, Si),
|
|
3537
3567
|
e.clearable && !e.disabled ? (f(), P(d, {
|
|
3538
3568
|
key: 1,
|
|
3539
3569
|
class: I(["clear-icon", { invisible: r.value }]),
|
|
3540
|
-
icon:
|
|
3541
|
-
size:
|
|
3570
|
+
icon: S(z).CLOSE,
|
|
3571
|
+
size: S(X).S,
|
|
3542
3572
|
onClick: i
|
|
3543
3573
|
}, null, 8, ["class", "icon", "size"])) : L("", !0)
|
|
3544
3574
|
]);
|
|
3545
3575
|
};
|
|
3546
3576
|
}
|
|
3547
|
-
}), hn = /* @__PURE__ */ A(
|
|
3577
|
+
}), hn = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-2ea43716"]]), Ti = /* @__PURE__ */ R({
|
|
3548
3578
|
__name: "input-text-area",
|
|
3549
3579
|
props: {
|
|
3550
3580
|
modelValue: {},
|
|
@@ -3636,7 +3666,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3636
3666
|
e.icon ? (f(), P(d, {
|
|
3637
3667
|
key: 0,
|
|
3638
3668
|
icon: e.icon,
|
|
3639
|
-
size:
|
|
3669
|
+
size: S(X).S
|
|
3640
3670
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3641
3671
|
_("input", {
|
|
3642
3672
|
value: o.value,
|
|
@@ -3650,8 +3680,8 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3650
3680
|
e.clearable && !e.disabled ? (f(), P(d, {
|
|
3651
3681
|
key: 1,
|
|
3652
3682
|
class: I(["clear-icon", { invisible: r.value }]),
|
|
3653
|
-
icon:
|
|
3654
|
-
size:
|
|
3683
|
+
icon: S(z).CLOSE,
|
|
3684
|
+
size: S(X).S,
|
|
3655
3685
|
onClick: i
|
|
3656
3686
|
}, null, 8, ["class", "icon", "size"])) : L("", !0)
|
|
3657
3687
|
]);
|
|
@@ -3728,7 +3758,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3728
3758
|
to: {}
|
|
3729
3759
|
},
|
|
3730
3760
|
setup(e) {
|
|
3731
|
-
const n = Kt(), t = k(() => !!n.default), o =
|
|
3761
|
+
const n = Kt(), t = k(() => !!n.default), o = $(!1), l = $(null), i = $(null), { floatingStyles: a } = wt(l, i, {
|
|
3732
3762
|
placement: "right-start",
|
|
3733
3763
|
middleware: [tt(8), ot(), nt({ padding: 8 })],
|
|
3734
3764
|
whileElementsMounted: et
|
|
@@ -3779,13 +3809,13 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3779
3809
|
}, null, 8, ["icon"]),
|
|
3780
3810
|
_("label", Fi, O(e.label), 1)
|
|
3781
3811
|
], 8, Pi),
|
|
3782
|
-
T(
|
|
3812
|
+
T(Se, { name: "menu" }, {
|
|
3783
3813
|
default: N(() => [
|
|
3784
3814
|
o.value ? (f(), P(m, {
|
|
3785
3815
|
key: 0,
|
|
3786
3816
|
ref_key: "floatingRef",
|
|
3787
3817
|
ref: i,
|
|
3788
|
-
style: Y(
|
|
3818
|
+
style: Y(S(a)),
|
|
3789
3819
|
class: "shell-navigation-item-menu",
|
|
3790
3820
|
onClose: r,
|
|
3791
3821
|
onClick: U(s, ["stop"])
|
|
@@ -3822,17 +3852,17 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3822
3852
|
class: I(["shell-navigation", { "with-labels": t.value }])
|
|
3823
3853
|
}, [
|
|
3824
3854
|
_("ul", Hi, [
|
|
3825
|
-
|
|
3855
|
+
S(n).hasParent && S(n).backRoute.value ? (f(), P(i, {
|
|
3826
3856
|
key: 0,
|
|
3827
|
-
to:
|
|
3857
|
+
to: S(n).backRoute.value,
|
|
3828
3858
|
label: "BACK",
|
|
3829
|
-
icon:
|
|
3859
|
+
icon: S(z).HOME
|
|
3830
3860
|
}, null, 8, ["to", "icon"])) : L("", !0),
|
|
3831
|
-
(f(!0), g(Q, null, pe(
|
|
3861
|
+
(f(!0), g(Q, null, pe(S(n).childRoutes.value, (a) => (f(), P(i, {
|
|
3832
3862
|
key: a.name,
|
|
3833
3863
|
to: { name: a.name },
|
|
3834
3864
|
label: a.meta.label,
|
|
3835
|
-
icon: a.meta.icon ??
|
|
3865
|
+
icon: a.meta.icon ?? S(z).HOME
|
|
3836
3866
|
}, null, 8, ["to", "label", "icon"]))), 128))
|
|
3837
3867
|
]),
|
|
3838
3868
|
o.$slots.fixed ? (f(), g("ul", Wi, [
|
|
@@ -3874,7 +3904,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3874
3904
|
_("div", {
|
|
3875
3905
|
class: I(["shell-content", { "with-navigation": e.showNavigation }])
|
|
3876
3906
|
}, [
|
|
3877
|
-
e.showNavigation ? (f(), P(
|
|
3907
|
+
e.showNavigation ? (f(), P(S(bn), { key: 0 }, dt({ _: 2 }, [
|
|
3878
3908
|
a.$slots?.["navigation-fixed"] ? {
|
|
3879
3909
|
name: "fixed",
|
|
3880
3910
|
fn: N(() => [
|
|
@@ -3900,7 +3930,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3900
3930
|
}
|
|
3901
3931
|
}), Yi = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-6a20620c"]]);
|
|
3902
3932
|
class Ji {
|
|
3903
|
-
notifications =
|
|
3933
|
+
notifications = $([]);
|
|
3904
3934
|
notificationIdCounter = 0;
|
|
3905
3935
|
/**
|
|
3906
3936
|
* Gibt die reaktive Liste der Notifications zurück
|
|
@@ -3971,9 +4001,9 @@ const Nt = new Ji(), Qi = { class: "notifications" }, Zi = /* @__PURE__ */ R({
|
|
|
3971
4001
|
const n = Nt.getNotifications(), t = (o) => Nt.remove(o);
|
|
3972
4002
|
return (o, l) => (f(), P(je, { to: "body" }, [
|
|
3973
4003
|
_("div", Qi, [
|
|
3974
|
-
T(
|
|
4004
|
+
T(Sn, { name: "notification" }, {
|
|
3975
4005
|
default: N(() => [
|
|
3976
|
-
(f(!0), g(Q, null, pe(
|
|
4006
|
+
(f(!0), g(Q, null, pe(S(n), (i) => (f(), P(xt, {
|
|
3977
4007
|
key: i.id,
|
|
3978
4008
|
type: i.type,
|
|
3979
4009
|
title: i.title,
|
|
@@ -4015,18 +4045,18 @@ const os = () => {
|
|
|
4015
4045
|
showLabels: t
|
|
4016
4046
|
};
|
|
4017
4047
|
}, ys = (e, n = !0, t = void 0) => {
|
|
4018
|
-
const o =
|
|
4048
|
+
const o = Ln(e) ? e : $(e), l = !!t, i = $(t || null);
|
|
4019
4049
|
return {
|
|
4020
4050
|
hasParent: l,
|
|
4021
4051
|
backRoute: i,
|
|
4022
4052
|
childRoutes: o,
|
|
4023
4053
|
showLabels: n
|
|
4024
4054
|
};
|
|
4025
|
-
}, kt =
|
|
4055
|
+
}, kt = $(!1), Ct = $(null), Vt = $(null);
|
|
4026
4056
|
let $e = [];
|
|
4027
4057
|
const yn = (e) => ($e.push(e), () => {
|
|
4028
4058
|
$e = $e.filter((n) => n !== e);
|
|
4029
|
-
}), ls = (e, n) => ($e = [],
|
|
4059
|
+
}), ls = (e, n) => ($e = [], Ct.value = e, Vt.value = n ?? null, kt.value = !0, {
|
|
4030
4060
|
onClose: (t) => yn(t)
|
|
4031
4061
|
}), as = (e) => {
|
|
4032
4062
|
try {
|
|
@@ -4041,10 +4071,10 @@ const yn = (e) => ($e.push(e), () => {
|
|
|
4041
4071
|
kt.value = !1, setTimeout(is, 1e3);
|
|
4042
4072
|
}
|
|
4043
4073
|
}, is = () => {
|
|
4044
|
-
$e = [],
|
|
4074
|
+
$e = [], Ct.value = null, Vt.value = null;
|
|
4045
4075
|
}, ss = {
|
|
4046
|
-
asideComponent:
|
|
4047
|
-
asideData:
|
|
4076
|
+
asideComponent: Ct,
|
|
4077
|
+
asideData: Vt,
|
|
4048
4078
|
showAside: ls,
|
|
4049
4079
|
closeAside: as,
|
|
4050
4080
|
onAsideClose: yn,
|
|
@@ -4148,7 +4178,7 @@ function xs() {
|
|
|
4148
4178
|
return e;
|
|
4149
4179
|
}
|
|
4150
4180
|
const ks = () => {
|
|
4151
|
-
const e =
|
|
4181
|
+
const e = $(!1), n = $(null), t = () => {
|
|
4152
4182
|
n.value = null;
|
|
4153
4183
|
};
|
|
4154
4184
|
class o {
|
|
@@ -4187,9 +4217,9 @@ const ks = () => {
|
|
|
4187
4217
|
return new o(i, a);
|
|
4188
4218
|
}
|
|
4189
4219
|
return { run: l, running: e, error: n, clearError: t };
|
|
4190
|
-
},
|
|
4220
|
+
}, Cs = {
|
|
4191
4221
|
install(e) {
|
|
4192
|
-
e.component("VjAccordion", In), e.component("VjAmountBar", Wa), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip", Gt), e.component("VjChipGroup", Yt), e.component("VjChipSelector", Ro), e.component("VjCarousel", st), e.component("VjCheckbox", io), e.component("VjDotMenu",
|
|
4222
|
+
e.component("VjAccordion", In), e.component("VjAmountBar", Wa), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip", Gt), e.component("VjChipGroup", Yt), e.component("VjChipSelector", Ro), e.component("VjCarousel", st), e.component("VjCheckbox", io), e.component("VjDotMenu", Cl), e.component("VjDialog", mt), e.component("VjIcon", te), e.component("VjLinkButton", El), e.component("VjMenu", Dl), e.component("VjMenuAction", Tl), e.component("VjPage", da), e.component("VjPaginator", ma), e.component("VjTab", xa), e.component("VjTabView", Sa), e.component("VjTimer", Ma), e.component("VjSkeleton", Ia), e.component("VjSpinner", fn), e.component("VjNotifications", es), e.component("VjNotification", xt), e.component("VjUpload", ei), e.component("VjInput", gn), e.component("VjSelect", pn), e.component("VjTextArea", hn), e.component("VjFormField", Ie), e.component("VjFormLayout", ci), e.component("VjFormSection", fi), e.component("VjInputText", Di), e.component("VjInputTextArea", Ti), e.component("VjInputSelect", yi), e.component("VjInputSlider", Ei), e.component("VjShellNavigation", bn), e.component("VjShellNavigationItem", Ii), e.component("VjShell", Yi), e.component("VjSearchField", ba), e.component("VjSeparator", wa), e.directive("focus", jl), e.directive("resize", Pl), e.directive("compact", Bl), e.directive("tooltip", vn);
|
|
4193
4223
|
}
|
|
4194
4224
|
};
|
|
4195
4225
|
export {
|
|
@@ -4204,7 +4234,7 @@ export {
|
|
|
4204
4234
|
Yt as ChipGroup,
|
|
4205
4235
|
Ro as ChipSelector,
|
|
4206
4236
|
mt as Dialog,
|
|
4207
|
-
|
|
4237
|
+
Cl as DotMenu,
|
|
4208
4238
|
hs as EditableLabel,
|
|
4209
4239
|
jl as FocusFirstDirective,
|
|
4210
4240
|
Ie as FormField,
|
|
@@ -4237,12 +4267,12 @@ export {
|
|
|
4237
4267
|
Ia as Skeleton,
|
|
4238
4268
|
fn as Spinner,
|
|
4239
4269
|
xa as Tab,
|
|
4240
|
-
|
|
4270
|
+
Sa as TabView,
|
|
4241
4271
|
hn as TextArea,
|
|
4242
4272
|
Ma as Timer,
|
|
4243
4273
|
vn as TooltipDirective,
|
|
4244
4274
|
ei as Upload,
|
|
4245
|
-
|
|
4275
|
+
Cs as VjComponents,
|
|
4246
4276
|
Jt as VjDialogControllerKey,
|
|
4247
4277
|
ts as VjNavigationProviderKey,
|
|
4248
4278
|
Bl as compactDirective,
|