@vanjana/vue-ui 0.1.132 → 0.1.134
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/vanjana-vue-ui.es.js +176 -178
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 Xt, 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 qt, Teleport as je, createSlots as dt, mergeProps as ft, shallowRef as _n, getCurrentScope as xn, onScopeDispose as kn, shallowReadonly as Ce, render as At, resolveDirective as Gt, withDirectives as vt, withKeys as Be, inject as mt, 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 {
|
|
@@ -181,7 +181,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
181
181
|
scrollable: { type: Boolean }
|
|
182
182
|
},
|
|
183
183
|
setup(e) {
|
|
184
|
-
const n =
|
|
184
|
+
const n = Xt();
|
|
185
185
|
return (t, o) => (f(), g("div", {
|
|
186
186
|
class: I(["card", { scrollable: e.scrollable }])
|
|
187
187
|
}, [
|
|
@@ -256,7 +256,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
256
256
|
le > 50 ? D() : le < -50 && F(), le = 0;
|
|
257
257
|
};
|
|
258
258
|
let He = 0;
|
|
259
|
-
const
|
|
259
|
+
const $t = (B) => {
|
|
260
260
|
if (B.isPrimary !== !1 && !(B.pointerType === "mouse" && B.button !== 0)) {
|
|
261
261
|
p = !0, He = B.clientX, v.value = 0, V();
|
|
262
262
|
try {
|
|
@@ -264,20 +264,20 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
264
264
|
} catch {
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, St = (B) => {
|
|
268
268
|
p && (v.value = B.clientX - He, B.preventDefault());
|
|
269
|
-
},
|
|
269
|
+
}, Lt = () => {
|
|
270
270
|
if (!p) return;
|
|
271
271
|
p = !1;
|
|
272
272
|
const B = Math.max(50, d.value * 0.15);
|
|
273
273
|
v.value > B ? D() : v.value < -B && F(), v.value = 0, C();
|
|
274
|
-
},
|
|
274
|
+
}, Tt = (B) => {
|
|
275
275
|
try {
|
|
276
276
|
B.target?.releasePointerCapture?.(B.pointerId);
|
|
277
277
|
} catch {
|
|
278
278
|
}
|
|
279
|
-
|
|
280
|
-
},
|
|
279
|
+
Lt();
|
|
280
|
+
}, Rt = () => Lt();
|
|
281
281
|
return Re(() => {
|
|
282
282
|
he(() => {
|
|
283
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) {
|
|
@@ -291,12 +291,12 @@ 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",
|
|
294
|
+
u.value && (u.value.addEventListener("pointerdown", $t), u.value.addEventListener("pointermove", St), u.value.addEventListener("pointerup", Tt), u.value.addEventListener("pointercancel", Rt));
|
|
295
295
|
}
|
|
296
296
|
H(), C();
|
|
297
297
|
});
|
|
298
298
|
}), Ae(() => {
|
|
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",
|
|
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", $t), u.value.removeEventListener("pointermove", St), u.value.removeEventListener("pointerup", Tt), u.value.removeEventListener("pointercancel", Rt));
|
|
300
300
|
}), K([r, () => h.value], () => {
|
|
301
301
|
H();
|
|
302
302
|
}), K([() => y.value, r], () => {
|
|
@@ -473,7 +473,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
473
473
|
])) : L("", !0)
|
|
474
474
|
], 6));
|
|
475
475
|
}
|
|
476
|
-
}),
|
|
476
|
+
}), Yt = /* @__PURE__ */ A(vo, [["__scopeId", "data-v-c2014a3b"]]), mo = { class: "chip-group" }, po = {
|
|
477
477
|
key: 0,
|
|
478
478
|
class: "chip-group__label"
|
|
479
479
|
}, ho = { class: "chip-group__container" }, go = ["onDragover", "onDrop"], bo = ["onDragstart", "onDragover", "onDragenter", "onDrop"], yo = ["onDragover", "onDrop"], wo = {
|
|
@@ -548,7 +548,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
548
548
|
onDrop: (E) => p(w, E),
|
|
549
549
|
onDragend: h
|
|
550
550
|
}, [
|
|
551
|
-
T(
|
|
551
|
+
T(Yt, {
|
|
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,
|
|
@@ -567,7 +567,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
567
567
|
e.hint ? (f(), g("div", wo, O(e.hint), 1)) : L("", !0)
|
|
568
568
|
]));
|
|
569
569
|
}
|
|
570
|
-
}),
|
|
570
|
+
}), Jt = /* @__PURE__ */ A(_o, [["__scopeId", "data-v-66199d19"]]), Qt = /* @__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 },
|
|
@@ -598,7 +598,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
598
598
|
}, r = () => {
|
|
599
599
|
o("cancel"), i();
|
|
600
600
|
};
|
|
601
|
-
|
|
601
|
+
qt(Qt, {
|
|
602
602
|
close: i,
|
|
603
603
|
resolve: a,
|
|
604
604
|
cancel: r
|
|
@@ -644,7 +644,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
644
644
|
]),
|
|
645
645
|
default: N(() => [
|
|
646
646
|
_("div", xo, [
|
|
647
|
-
e.component ? (f(), P(ut(e.component),
|
|
647
|
+
e.component ? (f(), P(ut(e.component), ft({ key: 0 }, e.componentProps, {
|
|
648
648
|
onCancel: r,
|
|
649
649
|
onClose: i,
|
|
650
650
|
onConfirm: c,
|
|
@@ -687,7 +687,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
687
687
|
]);
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
}),
|
|
690
|
+
}), pt = /* @__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({
|
|
@@ -720,7 +720,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
720
720
|
},
|
|
721
721
|
{ deep: !0 }
|
|
722
722
|
), (s, u) => (f(), g("div", Eo, [
|
|
723
|
-
T(
|
|
723
|
+
T(Jt, {
|
|
724
724
|
items: l.value,
|
|
725
725
|
"onUpdate:items": [
|
|
726
726
|
u[0] || (u[0] = (d) => l.value = d),
|
|
@@ -734,7 +734,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
734
734
|
class: "add-button",
|
|
735
735
|
onClick: u[1] || (u[1] = (d) => i.value = !0)
|
|
736
736
|
}, O(e.addButtonText), 1),
|
|
737
|
-
T(
|
|
737
|
+
T(pt, {
|
|
738
738
|
modelValue: i.value,
|
|
739
739
|
"onUpdate:modelValue": u[2] || (u[2] = (d) => i.value = d),
|
|
740
740
|
title: e.dialogTitle || `Add ${e.label}`,
|
|
@@ -767,7 +767,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
767
767
|
start: "end",
|
|
768
768
|
end: "start"
|
|
769
769
|
};
|
|
770
|
-
function
|
|
770
|
+
function Ot(e, n, t) {
|
|
771
771
|
return Z(e, Le(n, t));
|
|
772
772
|
}
|
|
773
773
|
function Pe(e, n) {
|
|
@@ -779,22 +779,22 @@ function ge(e) {
|
|
|
779
779
|
function Fe(e) {
|
|
780
780
|
return e.split("-")[1];
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Zt(e) {
|
|
783
783
|
return e === "x" ? "y" : "x";
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function en(e) {
|
|
786
786
|
return e === "y" ? "height" : "width";
|
|
787
787
|
}
|
|
788
788
|
const Do = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
789
789
|
function me(e) {
|
|
790
790
|
return Do.has(ge(e)) ? "y" : "x";
|
|
791
791
|
}
|
|
792
|
-
function
|
|
793
|
-
return
|
|
792
|
+
function tn(e) {
|
|
793
|
+
return Zt(me(e));
|
|
794
794
|
}
|
|
795
795
|
function Bo(e, n, t) {
|
|
796
796
|
t === void 0 && (t = !1);
|
|
797
|
-
const o = Fe(e), l =
|
|
797
|
+
const o = Fe(e), l = tn(e), i = en(l);
|
|
798
798
|
let a = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
799
799
|
return n.reference[i] > n.floating[i] && (a = Ke(a)), [a, Ke(a)];
|
|
800
800
|
}
|
|
@@ -805,12 +805,12 @@ function Mo(e) {
|
|
|
805
805
|
function rt(e) {
|
|
806
806
|
return e.replace(/start|end/g, (n) => Oo[n]);
|
|
807
807
|
}
|
|
808
|
-
const
|
|
808
|
+
const Dt = ["left", "right"], Bt = ["right", "left"], jo = ["top", "bottom"], Po = ["bottom", "top"];
|
|
809
809
|
function Fo(e, n, t) {
|
|
810
810
|
switch (e) {
|
|
811
811
|
case "top":
|
|
812
812
|
case "bottom":
|
|
813
|
-
return t ? n ?
|
|
813
|
+
return t ? n ? Bt : Dt : n ? Dt : Bt;
|
|
814
814
|
case "left":
|
|
815
815
|
case "right":
|
|
816
816
|
return n ? jo : Po;
|
|
@@ -861,12 +861,12 @@ function Xe(e) {
|
|
|
861
861
|
y: t
|
|
862
862
|
};
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function Mt(e, n, t) {
|
|
865
865
|
let {
|
|
866
866
|
reference: o,
|
|
867
867
|
floating: l
|
|
868
868
|
} = e;
|
|
869
|
-
const i = me(n), a =
|
|
869
|
+
const i = me(n), a = tn(n), c = en(a), r = ge(n), s = i === "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;
|
|
870
870
|
let p;
|
|
871
871
|
switch (r) {
|
|
872
872
|
case "top":
|
|
@@ -923,7 +923,7 @@ const Wo = async (e, n, t) => {
|
|
|
923
923
|
}), {
|
|
924
924
|
x: u,
|
|
925
925
|
y: d
|
|
926
|
-
} =
|
|
926
|
+
} = Mt(s, o, r), v = o, p = {}, h = 0;
|
|
927
927
|
for (let y = 0; y < c.length; y++) {
|
|
928
928
|
const {
|
|
929
929
|
name: m,
|
|
@@ -960,7 +960,7 @@ const Wo = async (e, n, t) => {
|
|
|
960
960
|
}) : j.rects), {
|
|
961
961
|
x: u,
|
|
962
962
|
y: d
|
|
963
|
-
} =
|
|
963
|
+
} = Mt(s, v, r)), y = -1);
|
|
964
964
|
}
|
|
965
965
|
return {
|
|
966
966
|
x: u,
|
|
@@ -970,7 +970,7 @@ const Wo = async (e, n, t) => {
|
|
|
970
970
|
middlewareData: p
|
|
971
971
|
};
|
|
972
972
|
};
|
|
973
|
-
async function
|
|
973
|
+
async function ht(e, n) {
|
|
974
974
|
var t;
|
|
975
975
|
n === void 0 && (n = {});
|
|
976
976
|
const {
|
|
@@ -1041,7 +1041,7 @@ const Uo = function(e) {
|
|
|
1041
1041
|
return {};
|
|
1042
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
1043
|
!v && H && j.push(...zo(c, y, h, E));
|
|
1044
|
-
const C = [c, ...j], V = await
|
|
1044
|
+
const C = [c, ...j], V = await ht(n, m), D = [];
|
|
1045
1045
|
let F = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
1046
1046
|
if (u && D.push(V[b]), d) {
|
|
1047
1047
|
const ve = Bo(l, a, E);
|
|
@@ -1174,15 +1174,15 @@ const Xo = function(e) {
|
|
|
1174
1174
|
} = Pe(e, n), s = {
|
|
1175
1175
|
x: t,
|
|
1176
1176
|
y: o
|
|
1177
|
-
}, u = await
|
|
1177
|
+
}, u = await ht(n, r), d = me(ge(l)), v = Zt(d);
|
|
1178
1178
|
let p = s[v], h = s[d];
|
|
1179
1179
|
if (i) {
|
|
1180
1180
|
const m = v === "y" ? "top" : "left", b = v === "y" ? "bottom" : "right", x = p + u[m], w = p - u[b];
|
|
1181
|
-
p =
|
|
1181
|
+
p = Ot(x, p, w);
|
|
1182
1182
|
}
|
|
1183
1183
|
if (a) {
|
|
1184
1184
|
const m = d === "y" ? "top" : "left", b = d === "y" ? "bottom" : "right", x = h + u[m], w = h - u[b];
|
|
1185
|
-
h =
|
|
1185
|
+
h = Ot(x, h, w);
|
|
1186
1186
|
}
|
|
1187
1187
|
const y = c.fn({
|
|
1188
1188
|
...n,
|
|
@@ -1217,7 +1217,7 @@ const Xo = function(e) {
|
|
|
1217
1217
|
apply: r = () => {
|
|
1218
1218
|
},
|
|
1219
1219
|
...s
|
|
1220
|
-
} = Pe(e, n), u = await
|
|
1220
|
+
} = Pe(e, n), u = await ht(n, s), d = ge(l), v = Fe(l), p = me(l) === "y", {
|
|
1221
1221
|
width: h,
|
|
1222
1222
|
height: y
|
|
1223
1223
|
} = i.floating;
|
|
@@ -1247,7 +1247,7 @@ function Ye() {
|
|
|
1247
1247
|
return typeof window < "u";
|
|
1248
1248
|
}
|
|
1249
1249
|
function xe(e) {
|
|
1250
|
-
return
|
|
1250
|
+
return gt(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1251
1251
|
}
|
|
1252
1252
|
function ee(e) {
|
|
1253
1253
|
var n;
|
|
@@ -1255,9 +1255,9 @@ function ee(e) {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
function de(e) {
|
|
1257
1257
|
var n;
|
|
1258
|
-
return (n = (
|
|
1258
|
+
return (n = (gt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function gt(e) {
|
|
1261
1261
|
return Ye() ? e instanceof Node || e instanceof ee(e).Node : !1;
|
|
1262
1262
|
}
|
|
1263
1263
|
function ie(e) {
|
|
@@ -1266,7 +1266,7 @@ function ie(e) {
|
|
|
1266
1266
|
function ue(e) {
|
|
1267
1267
|
return Ye() ? e instanceof HTMLElement || e instanceof ee(e).HTMLElement : !1;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function jt(e) {
|
|
1270
1270
|
return !Ye() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ee(e).ShadowRoot;
|
|
1271
1271
|
}
|
|
1272
1272
|
const Yo = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
@@ -1294,14 +1294,14 @@ function Je(e) {
|
|
|
1294
1294
|
});
|
|
1295
1295
|
}
|
|
1296
1296
|
const el = ["transform", "translate", "scale", "rotate", "perspective"], tl = ["transform", "translate", "scale", "rotate", "perspective", "filter"], nl = ["paint", "layout", "strict", "content"];
|
|
1297
|
-
function
|
|
1298
|
-
const n =
|
|
1297
|
+
function bt(e) {
|
|
1298
|
+
const n = yt(), t = ie(e) ? se(e) : e;
|
|
1299
1299
|
return el.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || tl.some((o) => (t.willChange || "").includes(o)) || nl.some((o) => (t.contain || "").includes(o));
|
|
1300
1300
|
}
|
|
1301
1301
|
function ol(e) {
|
|
1302
1302
|
let n = be(e);
|
|
1303
1303
|
for (; ue(n) && !Te(n); ) {
|
|
1304
|
-
if (
|
|
1304
|
+
if (bt(n))
|
|
1305
1305
|
return n;
|
|
1306
1306
|
if (Je(n))
|
|
1307
1307
|
return null;
|
|
@@ -1309,7 +1309,7 @@ function ol(e) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
return null;
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function yt() {
|
|
1313
1313
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1314
1314
|
}
|
|
1315
1315
|
const ll = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -1335,19 +1335,19 @@ function be(e) {
|
|
|
1335
1335
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
1336
1336
|
e.assignedSlot || // DOM Element detected.
|
|
1337
1337
|
e.parentNode || // ShadowRoot detected.
|
|
1338
|
-
|
|
1338
|
+
jt(e) && e.host || // Fallback.
|
|
1339
1339
|
de(e)
|
|
1340
1340
|
);
|
|
1341
|
-
return
|
|
1341
|
+
return jt(n) ? n.host : n;
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1343
|
+
function nn(e) {
|
|
1344
1344
|
const n = be(e);
|
|
1345
|
-
return Te(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : ue(n) && ze(n) ? n :
|
|
1345
|
+
return Te(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : ue(n) && ze(n) ? n : nn(n);
|
|
1346
1346
|
}
|
|
1347
1347
|
function Me(e, n, t) {
|
|
1348
1348
|
var o;
|
|
1349
1349
|
n === void 0 && (n = []), t === void 0 && (t = !0);
|
|
1350
|
-
const l =
|
|
1350
|
+
const l = nn(e), i = l === ((o = e.ownerDocument) == null ? void 0 : o.body), a = ee(l);
|
|
1351
1351
|
if (i) {
|
|
1352
1352
|
const c = ct(a);
|
|
1353
1353
|
return n.concat(a, a.visualViewport || [], ze(l) ? l : [], c && t ? Me(c) : []);
|
|
@@ -1357,7 +1357,7 @@ function Me(e, n, t) {
|
|
|
1357
1357
|
function ct(e) {
|
|
1358
1358
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function on(e) {
|
|
1361
1361
|
const n = se(e);
|
|
1362
1362
|
let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
|
|
1363
1363
|
const l = ue(e), i = l ? e.offsetWidth : t, a = l ? e.offsetHeight : o, c = Ne(t) !== i || Ne(o) !== a;
|
|
@@ -1367,18 +1367,18 @@ function nn(e) {
|
|
|
1367
1367
|
$: c
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function wt(e) {
|
|
1371
1371
|
return ie(e) ? e : e.contextElement;
|
|
1372
1372
|
}
|
|
1373
1373
|
function Ee(e) {
|
|
1374
|
-
const n =
|
|
1374
|
+
const n = wt(e);
|
|
1375
1375
|
if (!ue(n))
|
|
1376
1376
|
return ce(1);
|
|
1377
1377
|
const t = n.getBoundingClientRect(), {
|
|
1378
1378
|
width: o,
|
|
1379
1379
|
height: l,
|
|
1380
1380
|
$: i
|
|
1381
|
-
} =
|
|
1381
|
+
} = on(n);
|
|
1382
1382
|
let a = (i ? Ne(t.width) : t.width) / o, c = (i ? Ne(t.height) : t.height) / l;
|
|
1383
1383
|
return (!a || !Number.isFinite(a)) && (a = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
1384
1384
|
x: a,
|
|
@@ -1386,9 +1386,9 @@ function Ee(e) {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
}
|
|
1388
1388
|
const al = /* @__PURE__ */ ce(0);
|
|
1389
|
-
function
|
|
1389
|
+
function ln(e) {
|
|
1390
1390
|
const n = ee(e);
|
|
1391
|
-
return !
|
|
1391
|
+
return !yt() || !n.visualViewport ? al : {
|
|
1392
1392
|
x: n.visualViewport.offsetLeft,
|
|
1393
1393
|
y: n.visualViewport.offsetTop
|
|
1394
1394
|
};
|
|
@@ -1398,10 +1398,10 @@ function il(e, n, t) {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
function _e(e, n, t, o) {
|
|
1400
1400
|
n === void 0 && (n = !1), t === void 0 && (t = !1);
|
|
1401
|
-
const l = e.getBoundingClientRect(), i =
|
|
1401
|
+
const l = e.getBoundingClientRect(), i = wt(e);
|
|
1402
1402
|
let a = ce(1);
|
|
1403
1403
|
n && (o ? ie(o) && (a = Ee(o)) : a = Ee(e));
|
|
1404
|
-
const c = il(i, t, o) ?
|
|
1404
|
+
const c = il(i, t, o) ? ln(i) : ce(0);
|
|
1405
1405
|
let r = (l.left + c.x) / a.x, s = (l.top + c.y) / a.y, u = l.width / a.x, d = l.height / a.y;
|
|
1406
1406
|
if (i) {
|
|
1407
1407
|
const v = ee(i), p = o && ie(o) ? ee(o) : o;
|
|
@@ -1422,7 +1422,7 @@ function Ze(e, n) {
|
|
|
1422
1422
|
const t = Qe(e).scrollLeft;
|
|
1423
1423
|
return n ? n.left + t : _e(de(e)).left + t;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function an(e, n) {
|
|
1426
1426
|
const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Ze(e, t), l = t.top + n.scrollTop;
|
|
1427
1427
|
return {
|
|
1428
1428
|
x: o,
|
|
@@ -1448,7 +1448,7 @@ function sl(e) {
|
|
|
1448
1448
|
const p = _e(o);
|
|
1449
1449
|
s = Ee(o), u.x = p.x + o.clientLeft, u.y = p.y + o.clientTop;
|
|
1450
1450
|
}
|
|
1451
|
-
const v = a && !d && !i ?
|
|
1451
|
+
const v = a && !d && !i ? an(a, r) : ce(0);
|
|
1452
1452
|
return {
|
|
1453
1453
|
width: t.width * s.x,
|
|
1454
1454
|
height: t.height * s.y,
|
|
@@ -1470,20 +1470,20 @@ function cl(e) {
|
|
|
1470
1470
|
y: c
|
|
1471
1471
|
};
|
|
1472
1472
|
}
|
|
1473
|
-
const
|
|
1473
|
+
const Pt = 25;
|
|
1474
1474
|
function ul(e, n) {
|
|
1475
1475
|
const t = ee(e), o = de(e), l = t.visualViewport;
|
|
1476
1476
|
let i = o.clientWidth, a = o.clientHeight, c = 0, r = 0;
|
|
1477
1477
|
if (l) {
|
|
1478
1478
|
i = l.width, a = l.height;
|
|
1479
|
-
const u =
|
|
1479
|
+
const u = yt();
|
|
1480
1480
|
(!u || u && n === "fixed") && (c = l.offsetLeft, r = l.offsetTop);
|
|
1481
1481
|
}
|
|
1482
1482
|
const s = Ze(o);
|
|
1483
1483
|
if (s <= 0) {
|
|
1484
1484
|
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);
|
|
1485
|
-
h <=
|
|
1486
|
-
} else s <=
|
|
1485
|
+
h <= Pt && (i -= h);
|
|
1486
|
+
} else s <= Pt && (i += s);
|
|
1487
1487
|
return {
|
|
1488
1488
|
width: i,
|
|
1489
1489
|
height: a,
|
|
@@ -1501,7 +1501,7 @@ function fl(e, n) {
|
|
|
1501
1501
|
y: s
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function Ft(e, n, t) {
|
|
1505
1505
|
let o;
|
|
1506
1506
|
if (n === "viewport")
|
|
1507
1507
|
o = ul(e, t);
|
|
@@ -1510,7 +1510,7 @@ function Pt(e, n, t) {
|
|
|
1510
1510
|
else if (ie(n))
|
|
1511
1511
|
o = fl(n, t);
|
|
1512
1512
|
else {
|
|
1513
|
-
const l =
|
|
1513
|
+
const l = ln(e);
|
|
1514
1514
|
o = {
|
|
1515
1515
|
x: n.x - l.x,
|
|
1516
1516
|
y: n.y - l.y,
|
|
@@ -1520,9 +1520,9 @@ function Pt(e, n, t) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
return Xe(o);
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function sn(e, n) {
|
|
1524
1524
|
const t = be(e);
|
|
1525
|
-
return t === n || !ie(t) || Te(t) ? !1 : se(t).position === "fixed" ||
|
|
1525
|
+
return t === n || !ie(t) || Te(t) ? !1 : se(t).position === "fixed" || sn(t, n);
|
|
1526
1526
|
}
|
|
1527
1527
|
function vl(e, n) {
|
|
1528
1528
|
const t = n.get(e);
|
|
@@ -1532,8 +1532,8 @@ function vl(e, n) {
|
|
|
1532
1532
|
const i = se(e).position === "fixed";
|
|
1533
1533
|
let a = i ? be(e) : e;
|
|
1534
1534
|
for (; ie(a) && !Te(a); ) {
|
|
1535
|
-
const c = se(a), r =
|
|
1536
|
-
!r && c.position === "fixed" && (l = null), (i ? !r && !l : !r && c.position === "static" && !!l && dl.has(l.position) || ze(a) && !r &&
|
|
1535
|
+
const c = se(a), r = bt(a);
|
|
1536
|
+
!r && c.position === "fixed" && (l = null), (i ? !r && !l : !r && c.position === "static" && !!l && dl.has(l.position) || ze(a) && !r && sn(e, a)) ? o = o.filter((u) => u !== a) : l = c, a = be(a);
|
|
1537
1537
|
}
|
|
1538
1538
|
return n.set(e, o), o;
|
|
1539
1539
|
}
|
|
@@ -1545,9 +1545,9 @@ function ml(e) {
|
|
|
1545
1545
|
strategy: l
|
|
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
|
-
const d =
|
|
1548
|
+
const d = Ft(n, u, l);
|
|
1549
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
|
+
}, Ft(n, c, l));
|
|
1551
1551
|
return {
|
|
1552
1552
|
width: r.right - r.left,
|
|
1553
1553
|
height: r.bottom - r.top,
|
|
@@ -1559,7 +1559,7 @@ function pl(e) {
|
|
|
1559
1559
|
const {
|
|
1560
1560
|
width: n,
|
|
1561
1561
|
height: t
|
|
1562
|
-
} =
|
|
1562
|
+
} = on(e);
|
|
1563
1563
|
return {
|
|
1564
1564
|
width: n,
|
|
1565
1565
|
height: t
|
|
@@ -1581,7 +1581,7 @@ function hl(e, n, t) {
|
|
|
1581
1581
|
r.x = p.x + n.clientLeft, r.y = p.y + n.clientTop;
|
|
1582
1582
|
} else l && s();
|
|
1583
1583
|
i && !o && l && s();
|
|
1584
|
-
const u = l && !o && !i ?
|
|
1584
|
+
const u = l && !o && !i ? an(l, c) : ce(0), d = a.left + c.scrollLeft - r.x - u.x, v = a.top + c.scrollTop - r.y - u.y;
|
|
1585
1585
|
return {
|
|
1586
1586
|
x: d,
|
|
1587
1587
|
y: v,
|
|
@@ -1592,7 +1592,7 @@ function hl(e, n, t) {
|
|
|
1592
1592
|
function it(e) {
|
|
1593
1593
|
return se(e).position === "static";
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function zt(e, n) {
|
|
1596
1596
|
if (!ue(e) || se(e).position === "fixed")
|
|
1597
1597
|
return null;
|
|
1598
1598
|
if (n)
|
|
@@ -1600,7 +1600,7 @@ function Ft(e, n) {
|
|
|
1600
1600
|
let t = e.offsetParent;
|
|
1601
1601
|
return de(e) === t && (t = t.ownerDocument.body), t;
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function rn(e, n) {
|
|
1604
1604
|
const t = ee(e);
|
|
1605
1605
|
if (Je(e))
|
|
1606
1606
|
return t;
|
|
@@ -1613,13 +1613,13 @@ function sn(e, n) {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
return t;
|
|
1615
1615
|
}
|
|
1616
|
-
let o =
|
|
1616
|
+
let o = zt(e, n);
|
|
1617
1617
|
for (; o && Qo(o) && it(o); )
|
|
1618
|
-
o =
|
|
1619
|
-
return o && Te(o) && it(o) && !
|
|
1618
|
+
o = zt(o, n);
|
|
1619
|
+
return o && Te(o) && it(o) && !bt(o) ? t : o || ol(e) || t;
|
|
1620
1620
|
}
|
|
1621
1621
|
const gl = async function(e) {
|
|
1622
|
-
const n = this.getOffsetParent ||
|
|
1622
|
+
const n = this.getOffsetParent || rn, t = this.getDimensions, o = await t(e.floating);
|
|
1623
1623
|
return {
|
|
1624
1624
|
reference: hl(e.reference, await n(e.floating), e.strategy),
|
|
1625
1625
|
floating: {
|
|
@@ -1637,7 +1637,7 @@ const yl = {
|
|
|
1637
1637
|
convertOffsetParentRelativeRectToViewportRelativeRect: sl,
|
|
1638
1638
|
getDocumentElement: de,
|
|
1639
1639
|
getClippingRect: ml,
|
|
1640
|
-
getOffsetParent:
|
|
1640
|
+
getOffsetParent: rn,
|
|
1641
1641
|
getElementRects: gl,
|
|
1642
1642
|
getClientRects: rl,
|
|
1643
1643
|
getDimensions: pl,
|
|
@@ -1645,7 +1645,7 @@ const yl = {
|
|
|
1645
1645
|
isElement: ie,
|
|
1646
1646
|
isRTL: bl
|
|
1647
1647
|
};
|
|
1648
|
-
function
|
|
1648
|
+
function cn(e, n) {
|
|
1649
1649
|
return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
|
|
1650
1650
|
}
|
|
1651
1651
|
function wl(e, n) {
|
|
@@ -1679,7 +1679,7 @@ function wl(e, n) {
|
|
|
1679
1679
|
a(!1, 1e-7);
|
|
1680
1680
|
}, 1e3);
|
|
1681
1681
|
}
|
|
1682
|
-
C === 1 && !
|
|
1682
|
+
C === 1 && !cn(s, e.getBoundingClientRect()) && a(), E = !1;
|
|
1683
1683
|
}
|
|
1684
1684
|
try {
|
|
1685
1685
|
t = new IntersectionObserver(j, {
|
|
@@ -1702,7 +1702,7 @@ function et(e, n, t, o) {
|
|
|
1702
1702
|
elementResize: a = typeof ResizeObserver == "function",
|
|
1703
1703
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1704
1704
|
animationFrame: r = !1
|
|
1705
|
-
} = o, s =
|
|
1705
|
+
} = o, s = wt(e), u = l || i ? [...s ? Me(s) : [], ...Me(n)] : [];
|
|
1706
1706
|
u.forEach((b) => {
|
|
1707
1707
|
l && b.addEventListener("scroll", t, {
|
|
1708
1708
|
passive: !0
|
|
@@ -1721,7 +1721,7 @@ function et(e, n, t, o) {
|
|
|
1721
1721
|
r && m();
|
|
1722
1722
|
function m() {
|
|
1723
1723
|
const b = _e(e);
|
|
1724
|
-
y && !
|
|
1724
|
+
y && !cn(y, b) && t(), y = b, h = requestAnimationFrame(m);
|
|
1725
1725
|
}
|
|
1726
1726
|
return t(), () => {
|
|
1727
1727
|
var b;
|
|
@@ -1730,7 +1730,7 @@ function et(e, n, t, o) {
|
|
|
1730
1730
|
}), d?.(), (b = p) == null || b.disconnect(), p = null, r && cancelAnimationFrame(h);
|
|
1731
1731
|
};
|
|
1732
1732
|
}
|
|
1733
|
-
const tt = Xo, nt = qo, ot = Uo, _l = Go,
|
|
1733
|
+
const tt = Xo, nt = qo, ot = Uo, _l = Go, un = (e, n, t) => {
|
|
1734
1734
|
const o = /* @__PURE__ */ new Map(), l = {
|
|
1735
1735
|
platform: yl,
|
|
1736
1736
|
...t
|
|
@@ -1746,24 +1746,24 @@ const tt = Xo, nt = qo, ot = Uo, _l = Go, cn = (e, n, t) => {
|
|
|
1746
1746
|
function xl(e) {
|
|
1747
1747
|
return e != null && typeof e == "object" && "$el" in e;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1749
|
+
function It(e) {
|
|
1750
1750
|
if (xl(e)) {
|
|
1751
1751
|
const n = e.$el;
|
|
1752
|
-
return
|
|
1752
|
+
return gt(n) && xe(n) === "#comment" ? null : n;
|
|
1753
1753
|
}
|
|
1754
1754
|
return e;
|
|
1755
1755
|
}
|
|
1756
1756
|
function De(e) {
|
|
1757
1757
|
return typeof e == "function" ? e() : S(e);
|
|
1758
1758
|
}
|
|
1759
|
-
function
|
|
1759
|
+
function dn(e) {
|
|
1760
1760
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1763
|
-
const t =
|
|
1762
|
+
function Ht(e, n) {
|
|
1763
|
+
const t = dn(e);
|
|
1764
1764
|
return Math.round(n * t) / t;
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1766
|
+
function _t(e, n, t) {
|
|
1767
1767
|
t === void 0 && (t = {});
|
|
1768
1768
|
const o = t.whileElementsMounted, l = k(() => {
|
|
1769
1769
|
var C;
|
|
@@ -1777,7 +1777,7 @@ function wt(e, n, t) {
|
|
|
1777
1777
|
}), r = k(() => {
|
|
1778
1778
|
var C;
|
|
1779
1779
|
return (C = De(t.transform)) != null ? C : !0;
|
|
1780
|
-
}), s = k(() =>
|
|
1780
|
+
}), s = k(() => It(e.value)), u = k(() => It(n.value)), d = $(0), v = $(0), p = $(c.value), h = $(a.value), y = _n({}), m = $(!1), b = k(() => {
|
|
1781
1781
|
const C = {
|
|
1782
1782
|
position: p.value,
|
|
1783
1783
|
left: "0",
|
|
@@ -1785,11 +1785,11 @@ function wt(e, n, t) {
|
|
|
1785
1785
|
};
|
|
1786
1786
|
if (!u.value)
|
|
1787
1787
|
return C;
|
|
1788
|
-
const V =
|
|
1788
|
+
const V = Ht(u.value, d.value), D = Ht(u.value, v.value);
|
|
1789
1789
|
return r.value ? {
|
|
1790
1790
|
...C,
|
|
1791
1791
|
transform: "translate(" + V + "px, " + D + "px)",
|
|
1792
|
-
...
|
|
1792
|
+
...dn(u.value) >= 1.5 && {
|
|
1793
1793
|
willChange: "transform"
|
|
1794
1794
|
}
|
|
1795
1795
|
} : {
|
|
@@ -1803,7 +1803,7 @@ function wt(e, n, t) {
|
|
|
1803
1803
|
if (s.value == null || u.value == null)
|
|
1804
1804
|
return;
|
|
1805
1805
|
const C = l.value;
|
|
1806
|
-
|
|
1806
|
+
un(s.value, u.value, {
|
|
1807
1807
|
middleware: i.value,
|
|
1808
1808
|
placement: a.value,
|
|
1809
1809
|
strategy: c.value
|
|
@@ -1851,7 +1851,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1851
1851
|
icon: {}
|
|
1852
1852
|
},
|
|
1853
1853
|
setup(e) {
|
|
1854
|
-
const n = e, t = $(!1), o = $(null), l = $(null), i = k(() => n.icon ?? z.DOT_MENU), { floatingStyles: a } =
|
|
1854
|
+
const n = e, t = $(!1), o = $(null), l = $(null), i = k(() => n.icon ?? z.DOT_MENU), { floatingStyles: a } = _t(o, l, {
|
|
1855
1855
|
placement: "bottom-end",
|
|
1856
1856
|
middleware: [tt(8), ot(), nt({ padding: 8 })],
|
|
1857
1857
|
whileElementsMounted: et
|
|
@@ -1866,9 +1866,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1866
1866
|
return (u, d) => {
|
|
1867
1867
|
const v = q("VjButton"), p = q("VjMenu");
|
|
1868
1868
|
return f(), g(Q, null, [
|
|
1869
|
-
_("div", {
|
|
1870
|
-
class: I(["dot-menu-container", u.$attrs.class])
|
|
1871
|
-
}, [
|
|
1869
|
+
_("div", ft({ class: "dot-menu-container" }, u.$attrs), [
|
|
1872
1870
|
T(v, {
|
|
1873
1871
|
ref_key: "buttonRef",
|
|
1874
1872
|
ref: o,
|
|
@@ -1896,7 +1894,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1896
1894
|
]),
|
|
1897
1895
|
_: 3
|
|
1898
1896
|
})
|
|
1899
|
-
],
|
|
1897
|
+
], 16),
|
|
1900
1898
|
(f(), P(je, { to: "body" }, [
|
|
1901
1899
|
t.value ? (f(), g("div", {
|
|
1902
1900
|
key: 0,
|
|
@@ -1907,7 +1905,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1907
1905
|
], 64);
|
|
1908
1906
|
};
|
|
1909
1907
|
}
|
|
1910
|
-
}), Cl = /* @__PURE__ */ A(kl, [["__scopeId", "data-v-
|
|
1908
|
+
}), Cl = /* @__PURE__ */ A(kl, [["__scopeId", "data-v-d744e938"]]), Vl = /* @__PURE__ */ R({
|
|
1911
1909
|
__name: "link-button",
|
|
1912
1910
|
props: {
|
|
1913
1911
|
label: {},
|
|
@@ -1975,7 +1973,7 @@ const Dl = /* @__PURE__ */ A(Rl, [["render", Ol], ["__scopeId", "data-v-259fec08
|
|
|
1975
1973
|
unmounted(e) {
|
|
1976
1974
|
e.classList.remove("compact");
|
|
1977
1975
|
}
|
|
1978
|
-
},
|
|
1976
|
+
}, fn = [
|
|
1979
1977
|
'input:not([disabled]):not([type="hidden"])',
|
|
1980
1978
|
"select:not([disabled])",
|
|
1981
1979
|
"textarea:not([disabled])",
|
|
@@ -1985,7 +1983,7 @@ const Dl = /* @__PURE__ */ A(Rl, [["render", Ol], ["__scopeId", "data-v-259fec08
|
|
|
1985
1983
|
'[contenteditable="true"]'
|
|
1986
1984
|
].join(", ");
|
|
1987
1985
|
function Ml(e) {
|
|
1988
|
-
const n = e.querySelectorAll(
|
|
1986
|
+
const n = e.querySelectorAll(fn);
|
|
1989
1987
|
for (const t of Array.from(n))
|
|
1990
1988
|
if (t.offsetParent !== null || t.getClientRects().length > 0)
|
|
1991
1989
|
return t;
|
|
@@ -1994,7 +1992,7 @@ function Ml(e) {
|
|
|
1994
1992
|
const jl = {
|
|
1995
1993
|
mounted(e, n) {
|
|
1996
1994
|
const t = typeof n.value == "number" ? n.value : 0, o = () => {
|
|
1997
|
-
if (e.matches(
|
|
1995
|
+
if (e.matches(fn)) {
|
|
1998
1996
|
e.focus();
|
|
1999
1997
|
return;
|
|
2000
1998
|
}
|
|
@@ -2004,7 +2002,7 @@ const jl = {
|
|
|
2004
2002
|
t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
|
|
2005
2003
|
}
|
|
2006
2004
|
};
|
|
2007
|
-
class
|
|
2005
|
+
class xt {
|
|
2008
2006
|
static _instance = null;
|
|
2009
2007
|
observer = null;
|
|
2010
2008
|
targets = /* @__PURE__ */ new Map();
|
|
@@ -2012,7 +2010,7 @@ class _t {
|
|
|
2012
2010
|
this.init();
|
|
2013
2011
|
}
|
|
2014
2012
|
static get instance() {
|
|
2015
|
-
return this._instance || (this._instance = new
|
|
2013
|
+
return this._instance || (this._instance = new xt()), this._instance;
|
|
2016
2014
|
}
|
|
2017
2015
|
init() {
|
|
2018
2016
|
typeof window < "u" && "ResizeObserver" in window ? this.observer = new ResizeObserver((n) => {
|
|
@@ -2067,7 +2065,7 @@ class _t {
|
|
|
2067
2065
|
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
2066
|
}
|
|
2069
2067
|
}
|
|
2070
|
-
const Ve =
|
|
2068
|
+
const Ve = xt.instance, Pl = {
|
|
2071
2069
|
mounted(e, n) {
|
|
2072
2070
|
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
2071
|
a.__resize_cb = o, a.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: i });
|
|
@@ -2088,8 +2086,8 @@ const Ve = _t.instance, Pl = {
|
|
|
2088
2086
|
function Il(e, n) {
|
|
2089
2087
|
return f(), g("div", zl);
|
|
2090
2088
|
}
|
|
2091
|
-
const
|
|
2092
|
-
function
|
|
2089
|
+
const vn = /* @__PURE__ */ A(Fl, [["render", Il], ["__scopeId", "data-v-b957fb82"]]), Hl = 200, Wl = 120;
|
|
2090
|
+
function Wt(e, n) {
|
|
2093
2091
|
const t = n.querySelector(".vj-loading-inner");
|
|
2094
2092
|
if (!t) return;
|
|
2095
2093
|
const o = e.clientHeight || e.getBoundingClientRect().height;
|
|
@@ -2112,9 +2110,9 @@ const Ul = {
|
|
|
2112
2110
|
const c = document.createElement("div"), r = document.createElement("div");
|
|
2113
2111
|
r.className = "vj-loading-inner", r.appendChild(c);
|
|
2114
2112
|
let s;
|
|
2115
|
-
o && (s = document.createElement("div"), s.className = "vj-loading-text", s.textContent = o, r.appendChild(s)), a.appendChild(r),
|
|
2116
|
-
const u = T(
|
|
2117
|
-
|
|
2113
|
+
o && (s = document.createElement("div"), s.className = "vj-loading-text", s.textContent = o, r.appendChild(s)), a.appendChild(r), Wt(e, a);
|
|
2114
|
+
const u = T(vn);
|
|
2115
|
+
At(u, c), i.spinnerVnode = u, i.spinnerContainer = c, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(a);
|
|
2118
2116
|
const d = e;
|
|
2119
2117
|
d.__vjLoading = i;
|
|
2120
2118
|
},
|
|
@@ -2139,14 +2137,14 @@ const Ul = {
|
|
|
2139
2137
|
s.className = "vj-loading-text", s.textContent = a, c.appendChild(s);
|
|
2140
2138
|
}
|
|
2141
2139
|
}
|
|
2142
|
-
|
|
2140
|
+
Wt(e, l);
|
|
2143
2141
|
},
|
|
2144
2142
|
unmounted(e) {
|
|
2145
2143
|
const n = e, t = n.__vjLoading;
|
|
2146
2144
|
if (!t) return;
|
|
2147
2145
|
const { overlay: o, originalPosition: l } = t;
|
|
2148
2146
|
try {
|
|
2149
|
-
t.spinnerContainer &&
|
|
2147
|
+
t.spinnerContainer && At(null, t.spinnerContainer);
|
|
2150
2148
|
} catch {
|
|
2151
2149
|
}
|
|
2152
2150
|
o && o.parentElement === e && e.removeChild(o), l !== void 0 && (e.style.position = l), n.__vjLoading = void 0;
|
|
@@ -2155,18 +2153,18 @@ const Ul = {
|
|
|
2155
2153
|
const n = document.createElement("div");
|
|
2156
2154
|
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;
|
|
2157
2155
|
};
|
|
2158
|
-
function
|
|
2156
|
+
function Ut(e) {
|
|
2159
2157
|
if (!e) return { content: "", placement: "top", delay: 200 };
|
|
2160
2158
|
if (typeof e.value == "string") return { content: e.value, placement: "top", delay: 200 };
|
|
2161
2159
|
const t = e.value || {}, o = t.placement ?? "top";
|
|
2162
2160
|
return { content: t.content ?? "", placement: o, delay: t.delay ?? 200 };
|
|
2163
2161
|
}
|
|
2164
|
-
const
|
|
2162
|
+
const mn = {
|
|
2165
2163
|
mounted(e, n) {
|
|
2166
|
-
const t =
|
|
2164
|
+
const t = Ut(n), o = Nl(t.content);
|
|
2167
2165
|
document.body.appendChild(o);
|
|
2168
2166
|
const l = { tooltip: o, cleanup: void 0, showTimer: null, hideTimer: null }, i = async () => {
|
|
2169
|
-
const p = await
|
|
2167
|
+
const p = await un(e, o, {
|
|
2170
2168
|
placement: t.placement,
|
|
2171
2169
|
middleware: [tt(6), ot(), nt({ padding: 8 })]
|
|
2172
2170
|
}), { x: h, y } = p;
|
|
@@ -2202,7 +2200,7 @@ const vn = {
|
|
|
2202
2200
|
updated(e, n) {
|
|
2203
2201
|
const t = e.__vjTooltip;
|
|
2204
2202
|
if (!t) return;
|
|
2205
|
-
const o =
|
|
2203
|
+
const o = Ut(n);
|
|
2206
2204
|
t.tooltip.textContent = o.content;
|
|
2207
2205
|
},
|
|
2208
2206
|
unmounted(e) {
|
|
@@ -2263,7 +2261,7 @@ const vn = {
|
|
|
2263
2261
|
])
|
|
2264
2262
|
], 2));
|
|
2265
2263
|
}
|
|
2266
|
-
}),
|
|
2264
|
+
}), kt = /* @__PURE__ */ A(Ql, [["__scopeId", "data-v-f9ee0c98"]]), Zl = { class: "page" }, ea = {
|
|
2267
2265
|
key: 0,
|
|
2268
2266
|
class: "page-header"
|
|
2269
2267
|
}, ta = { class: "header-left" }, na = { class: "header-titles" }, oa = { key: 0 }, la = { class: "header-actions" }, aa = {
|
|
@@ -2291,8 +2289,8 @@ const vn = {
|
|
|
2291
2289
|
setup(e, { emit: n }) {
|
|
2292
2290
|
const t = e, o = k(() => t.flow?.running?.value ?? !1), l = k(() => t.flow?.error?.value ?? null), i = k(() => t.errorMessage ?? (l.value ? String(l.value) : null));
|
|
2293
2291
|
return (a, c) => {
|
|
2294
|
-
const r = q("VjButton"), s =
|
|
2295
|
-
return
|
|
2292
|
+
const r = q("VjButton"), s = Gt("loading");
|
|
2293
|
+
return vt((f(), g("div", Zl, [
|
|
2296
2294
|
e.title || e.subTitle || e.backLabel || a.$slots.headerActions ? (f(), g("header", ea, [
|
|
2297
2295
|
_("div", ta, [
|
|
2298
2296
|
e.backLabel ? (f(), P(r, {
|
|
@@ -2316,7 +2314,7 @@ const vn = {
|
|
|
2316
2314
|
}, [
|
|
2317
2315
|
i.value ? (f(), g("div", aa, [
|
|
2318
2316
|
M(a.$slots, "error", {}, () => [
|
|
2319
|
-
T(
|
|
2317
|
+
T(kt, {
|
|
2320
2318
|
type: "error",
|
|
2321
2319
|
title: i.value,
|
|
2322
2320
|
message: i.value
|
|
@@ -2469,7 +2467,7 @@ const vn = {
|
|
|
2469
2467
|
label: {}
|
|
2470
2468
|
},
|
|
2471
2469
|
setup(e) {
|
|
2472
|
-
const n = e, t =
|
|
2470
|
+
const n = e, t = mt("tabView"), o = k(() => t?.activeTab() === n.name);
|
|
2473
2471
|
return Re(() => {
|
|
2474
2472
|
t?.registerTab(n.name, n.label);
|
|
2475
2473
|
}), (l, i) => o.value ? (f(), g("div", _a, [
|
|
@@ -2512,7 +2510,7 @@ const vn = {
|
|
|
2512
2510
|
he(() => {
|
|
2513
2511
|
a();
|
|
2514
2512
|
});
|
|
2515
|
-
}),
|
|
2513
|
+
}), qt("tabView", {
|
|
2516
2514
|
activeTab: () => n.value,
|
|
2517
2515
|
registerTab: c
|
|
2518
2516
|
}), (s, u) => (f(), g("div", ka, [
|
|
@@ -2696,7 +2694,7 @@ const vn = {
|
|
|
2696
2694
|
onMouseenter: h[1] || (h[1] = (y) => c.value = !0),
|
|
2697
2695
|
onMouseleave: h[2] || (h[2] = (y) => c.value = !1)
|
|
2698
2696
|
}, [
|
|
2699
|
-
a.value ?
|
|
2697
|
+
a.value ? vt((f(), g("input", {
|
|
2700
2698
|
key: 1,
|
|
2701
2699
|
ref_key: "inputRef",
|
|
2702
2700
|
ref: r,
|
|
@@ -2894,7 +2892,7 @@ const vn = {
|
|
|
2894
2892
|
])) : L("", !0)
|
|
2895
2893
|
], 2));
|
|
2896
2894
|
}
|
|
2897
|
-
}), ei = /* @__PURE__ */ A(Za, [["__scopeId", "data-v-2f7be5e5"]]),
|
|
2895
|
+
}), ei = /* @__PURE__ */ A(Za, [["__scopeId", "data-v-2f7be5e5"]]), pn = {
|
|
2898
2896
|
form: {
|
|
2899
2897
|
labelPosition: "inline",
|
|
2900
2898
|
appearance: "bordered"
|
|
@@ -2906,15 +2904,15 @@ function gs(e) {
|
|
|
2906
2904
|
...qe,
|
|
2907
2905
|
...e,
|
|
2908
2906
|
form: {
|
|
2909
|
-
...
|
|
2907
|
+
...pn.form,
|
|
2910
2908
|
...e.form
|
|
2911
2909
|
}
|
|
2912
2910
|
};
|
|
2913
2911
|
}
|
|
2914
|
-
function
|
|
2912
|
+
function Nt() {
|
|
2915
2913
|
return {
|
|
2916
2914
|
form: {
|
|
2917
|
-
...
|
|
2915
|
+
...pn.form,
|
|
2918
2916
|
...qe.form
|
|
2919
2917
|
}
|
|
2920
2918
|
};
|
|
@@ -2931,7 +2929,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
2931
2929
|
type: "button",
|
|
2932
2930
|
"aria-label": "Hilfe"
|
|
2933
2931
|
}, si = /* @__PURE__ */ R({
|
|
2934
|
-
directives: { tooltip:
|
|
2932
|
+
directives: { tooltip: mn },
|
|
2935
2933
|
__name: "form-field",
|
|
2936
2934
|
props: {
|
|
2937
2935
|
modelValue: {},
|
|
@@ -2949,7 +2947,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
2949
2947
|
},
|
|
2950
2948
|
emits: ["update:modelValue", "focus", "blur"],
|
|
2951
2949
|
setup(e, { emit: n }) {
|
|
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 ??
|
|
2950
|
+
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 ?? Nt().form.labelPosition), r = k(() => t.appearance ?? Nt().form.appearance);
|
|
2953
2951
|
K(
|
|
2954
2952
|
() => t.modelValue,
|
|
2955
2953
|
(h) => l.value = h
|
|
@@ -2971,7 +2969,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
2971
2969
|
i.value = !1, o("blur", h);
|
|
2972
2970
|
}
|
|
2973
2971
|
return (h, y) => {
|
|
2974
|
-
const m = q("VjIcon"), b =
|
|
2972
|
+
const m = q("VjIcon"), b = Gt("tooltip");
|
|
2975
2973
|
return f(), g("div", {
|
|
2976
2974
|
class: I([
|
|
2977
2975
|
"form-field",
|
|
@@ -3007,7 +3005,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3007
3005
|
}, O(e.label), 11, li)) : L("", !0)
|
|
3008
3006
|
]),
|
|
3009
3007
|
e.error ? (f(), g("div", ai, O(e.error), 1)) : L("", !0),
|
|
3010
|
-
t.helpText ?
|
|
3008
|
+
t.helpText ? vt((f(), g("button", ii, [
|
|
3011
3009
|
T(m, {
|
|
3012
3010
|
icon: S(z).HELP
|
|
3013
3011
|
}, null, 8, ["icon"])
|
|
@@ -3114,7 +3112,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3114
3112
|
}),
|
|
3115
3113
|
emits: ["update:modelValue"],
|
|
3116
3114
|
setup(e, { expose: n }) {
|
|
3117
|
-
const t = e, o = ne(e, "modelValue"), l = $(!1), i = $(-1), a = $(null), c = $(null), r = $(null), { floatingStyles: s } =
|
|
3115
|
+
const t = e, o = ne(e, "modelValue"), l = $(!1), i = $(-1), a = $(null), c = $(null), r = $(null), { floatingStyles: s } = _t(c, r, {
|
|
3118
3116
|
placement: "bottom-start",
|
|
3119
3117
|
middleware: [
|
|
3120
3118
|
tt(4),
|
|
@@ -3158,11 +3156,11 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3158
3156
|
}), (w, E) => {
|
|
3159
3157
|
const j = q("VjIcon");
|
|
3160
3158
|
return f(), g(Q, null, [
|
|
3161
|
-
_("div", {
|
|
3159
|
+
_("div", ft({
|
|
3162
3160
|
ref_key: "selectRef",
|
|
3163
3161
|
ref: a,
|
|
3164
|
-
class:
|
|
3165
|
-
}, [
|
|
3162
|
+
class: "select"
|
|
3163
|
+
}, w.$attrs), [
|
|
3166
3164
|
_("button", {
|
|
3167
3165
|
ref_key: "buttonRef",
|
|
3168
3166
|
ref: c,
|
|
@@ -3199,7 +3197,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3199
3197
|
class: I(["select-icon-right", { open: l.value }])
|
|
3200
3198
|
}, null, 8, ["icon", "size", "class"])
|
|
3201
3199
|
], 8, vi)
|
|
3202
|
-
],
|
|
3200
|
+
], 16),
|
|
3203
3201
|
(f(), P(je, { to: "body" }, [
|
|
3204
3202
|
T(Se, { name: "dropdown" }, {
|
|
3205
3203
|
default: N(() => [
|
|
@@ -3238,7 +3236,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3238
3236
|
], 64);
|
|
3239
3237
|
};
|
|
3240
3238
|
}
|
|
3241
|
-
}),
|
|
3239
|
+
}), hn = /* @__PURE__ */ A(bi, [["__scopeId", "data-v-95354f61"]]), yi = /* @__PURE__ */ R({
|
|
3242
3240
|
__name: "input-select",
|
|
3243
3241
|
props: {
|
|
3244
3242
|
modelValue: {},
|
|
@@ -3283,7 +3281,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3283
3281
|
appearance: t.appearance
|
|
3284
3282
|
}, {
|
|
3285
3283
|
control: N(({ id: r, disabled: s, placeholder: u }) => [
|
|
3286
|
-
T(
|
|
3284
|
+
T(hn, {
|
|
3287
3285
|
id: r,
|
|
3288
3286
|
modelValue: l.value,
|
|
3289
3287
|
"onUpdate:modelValue": [
|
|
@@ -3574,7 +3572,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3574
3572
|
]);
|
|
3575
3573
|
};
|
|
3576
3574
|
}
|
|
3577
|
-
}),
|
|
3575
|
+
}), gn = /* @__PURE__ */ A(Li, [["__scopeId", "data-v-2ea43716"]]), Ti = /* @__PURE__ */ R({
|
|
3578
3576
|
__name: "input-text-area",
|
|
3579
3577
|
props: {
|
|
3580
3578
|
modelValue: {},
|
|
@@ -3618,7 +3616,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3618
3616
|
appearance: t.appearance
|
|
3619
3617
|
}, {
|
|
3620
3618
|
control: N(({ id: v, disabled: p, placeholder: h, onFocus: y, onBlur: m }) => [
|
|
3621
|
-
T(
|
|
3619
|
+
T(gn, {
|
|
3622
3620
|
id: v,
|
|
3623
3621
|
modelValue: s.value,
|
|
3624
3622
|
"onUpdate:modelValue": r,
|
|
@@ -3687,7 +3685,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3687
3685
|
]);
|
|
3688
3686
|
};
|
|
3689
3687
|
}
|
|
3690
|
-
}),
|
|
3688
|
+
}), bn = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-3187d49c"]]), Di = /* @__PURE__ */ R({
|
|
3691
3689
|
__name: "input-text",
|
|
3692
3690
|
props: {
|
|
3693
3691
|
modelValue: {},
|
|
@@ -3728,7 +3726,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3728
3726
|
appearance: e.appearance
|
|
3729
3727
|
}, {
|
|
3730
3728
|
control: N(({ id: d, disabled: v, placeholder: p, onFocus: h, onBlur: y }) => [
|
|
3731
|
-
T(
|
|
3729
|
+
T(bn, {
|
|
3732
3730
|
id: d,
|
|
3733
3731
|
modelValue: e.modelValue,
|
|
3734
3732
|
type: e.type,
|
|
@@ -3758,7 +3756,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3758
3756
|
to: {}
|
|
3759
3757
|
},
|
|
3760
3758
|
setup(e) {
|
|
3761
|
-
const n =
|
|
3759
|
+
const n = Xt(), t = k(() => !!n.default), o = $(!1), l = $(null), i = $(null), { floatingStyles: a } = _t(l, i, {
|
|
3762
3760
|
placement: "right-start",
|
|
3763
3761
|
middleware: [tt(8), ot(), nt({ padding: 8 })],
|
|
3764
3762
|
whileElementsMounted: et
|
|
@@ -3845,7 +3843,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3845
3843
|
}, Ui = /* @__PURE__ */ R({
|
|
3846
3844
|
__name: "shell-navigation",
|
|
3847
3845
|
setup(e) {
|
|
3848
|
-
const n =
|
|
3846
|
+
const n = mt(ts, os()), t = k(() => n.showLabels);
|
|
3849
3847
|
return (o, l) => {
|
|
3850
3848
|
const i = q("VjShellNavigationItem");
|
|
3851
3849
|
return f(), g("nav", {
|
|
@@ -3871,7 +3869,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3871
3869
|
], 2);
|
|
3872
3870
|
};
|
|
3873
3871
|
}
|
|
3874
|
-
}),
|
|
3872
|
+
}), yn = /* @__PURE__ */ A(Ui, [["__scopeId", "data-v-306cfc22"]]), Ni = { class: "shell" }, Ki = { class: "shell-title" }, Xi = ["src"], qi = { class: "header-actions" }, Gi = /* @__PURE__ */ R({
|
|
3875
3873
|
__name: "shell",
|
|
3876
3874
|
props: {
|
|
3877
3875
|
title: {},
|
|
@@ -3904,7 +3902,7 @@ const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-f
|
|
|
3904
3902
|
_("div", {
|
|
3905
3903
|
class: I(["shell-content", { "with-navigation": e.showNavigation }])
|
|
3906
3904
|
}, [
|
|
3907
|
-
e.showNavigation ? (f(), P(S(
|
|
3905
|
+
e.showNavigation ? (f(), P(S(yn), { key: 0 }, dt({ _: 2 }, [
|
|
3908
3906
|
a.$slots?.["navigation-fixed"] ? {
|
|
3909
3907
|
name: "fixed",
|
|
3910
3908
|
fn: N(() => [
|
|
@@ -3995,15 +3993,15 @@ class Ji {
|
|
|
3995
3993
|
this.notifications.value = [];
|
|
3996
3994
|
}
|
|
3997
3995
|
}
|
|
3998
|
-
const
|
|
3996
|
+
const Kt = new Ji(), Qi = { class: "notifications" }, Zi = /* @__PURE__ */ R({
|
|
3999
3997
|
__name: "notifications",
|
|
4000
3998
|
setup(e) {
|
|
4001
|
-
const n =
|
|
3999
|
+
const n = Kt.getNotifications(), t = (o) => Kt.remove(o);
|
|
4002
4000
|
return (o, l) => (f(), P(je, { to: "body" }, [
|
|
4003
4001
|
_("div", Qi, [
|
|
4004
4002
|
T(Sn, { name: "notification" }, {
|
|
4005
4003
|
default: N(() => [
|
|
4006
|
-
(f(!0), g(Q, null, pe(S(n), (i) => (f(), P(
|
|
4004
|
+
(f(!0), g(Q, null, pe(S(n), (i) => (f(), P(kt, {
|
|
4007
4005
|
key: i.id,
|
|
4008
4006
|
type: i.type,
|
|
4009
4007
|
title: i.title,
|
|
@@ -4052,12 +4050,12 @@ const os = () => {
|
|
|
4052
4050
|
childRoutes: o,
|
|
4053
4051
|
showLabels: n
|
|
4054
4052
|
};
|
|
4055
|
-
},
|
|
4053
|
+
}, Ct = $(!1), Vt = $(null), Et = $(null);
|
|
4056
4054
|
let $e = [];
|
|
4057
|
-
const
|
|
4055
|
+
const wn = (e) => ($e.push(e), () => {
|
|
4058
4056
|
$e = $e.filter((n) => n !== e);
|
|
4059
|
-
}), ls = (e, n) => ($e = [],
|
|
4060
|
-
onClose: (t) =>
|
|
4057
|
+
}), ls = (e, n) => ($e = [], Vt.value = e, Et.value = n ?? null, Ct.value = !0, {
|
|
4058
|
+
onClose: (t) => wn(t)
|
|
4061
4059
|
}), as = (e) => {
|
|
4062
4060
|
try {
|
|
4063
4061
|
$e.forEach((n) => {
|
|
@@ -4068,17 +4066,17 @@ const yn = (e) => ($e.push(e), () => {
|
|
|
4068
4066
|
}
|
|
4069
4067
|
});
|
|
4070
4068
|
} finally {
|
|
4071
|
-
|
|
4069
|
+
Ct.value = !1, setTimeout(is, 1e3);
|
|
4072
4070
|
}
|
|
4073
4071
|
}, is = () => {
|
|
4074
|
-
$e = [],
|
|
4072
|
+
$e = [], Vt.value = null, Et.value = null;
|
|
4075
4073
|
}, ss = {
|
|
4076
|
-
asideComponent:
|
|
4077
|
-
asideData:
|
|
4074
|
+
asideComponent: Vt,
|
|
4075
|
+
asideData: Et,
|
|
4078
4076
|
showAside: ls,
|
|
4079
4077
|
closeAside: as,
|
|
4080
|
-
onAsideClose:
|
|
4081
|
-
hasAside:
|
|
4078
|
+
onAsideClose: wn,
|
|
4079
|
+
hasAside: Ct
|
|
4082
4080
|
}, rs = () => ss, ws = (e, n) => {
|
|
4083
4081
|
let t = null;
|
|
4084
4082
|
return (...l) => {
|
|
@@ -4112,7 +4110,7 @@ class cs {
|
|
|
4112
4110
|
}, 300));
|
|
4113
4111
|
}, c = Tn({
|
|
4114
4112
|
setup() {
|
|
4115
|
-
return () => Rn(
|
|
4113
|
+
return () => Rn(pt, {
|
|
4116
4114
|
modelValue: !0,
|
|
4117
4115
|
title: n.title,
|
|
4118
4116
|
message: n.message,
|
|
@@ -4172,7 +4170,7 @@ function _s() {
|
|
|
4172
4170
|
return us;
|
|
4173
4171
|
}
|
|
4174
4172
|
function xs() {
|
|
4175
|
-
const e =
|
|
4173
|
+
const e = mt(Qt, null);
|
|
4176
4174
|
if (!e)
|
|
4177
4175
|
throw new Error("useDialogController must be used inside a dialog component.");
|
|
4178
4176
|
return e;
|
|
@@ -4219,7 +4217,7 @@ const ks = () => {
|
|
|
4219
4217
|
return { run: l, running: e, error: n, clearError: t };
|
|
4220
4218
|
}, Cs = {
|
|
4221
4219
|
install(e) {
|
|
4222
|
-
e.component("VjAccordion", In), e.component("VjAmountBar", Wa), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip",
|
|
4220
|
+
e.component("VjAccordion", In), e.component("VjAmountBar", Wa), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip", Yt), e.component("VjChipGroup", Jt), e.component("VjChipSelector", Ro), e.component("VjCarousel", st), e.component("VjCheckbox", io), e.component("VjDotMenu", Cl), e.component("VjDialog", pt), 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", vn), e.component("VjNotifications", es), e.component("VjNotification", kt), e.component("VjUpload", ei), e.component("VjInput", bn), e.component("VjSelect", hn), e.component("VjTextArea", gn), 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", yn), 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", mn);
|
|
4223
4221
|
}
|
|
4224
4222
|
};
|
|
4225
4223
|
export {
|
|
@@ -4230,10 +4228,10 @@ export {
|
|
|
4230
4228
|
st as Card,
|
|
4231
4229
|
ms as Carousel,
|
|
4232
4230
|
io as Checkbox,
|
|
4233
|
-
|
|
4234
|
-
|
|
4231
|
+
Yt as Chip,
|
|
4232
|
+
Jt as ChipGroup,
|
|
4235
4233
|
Ro as ChipSelector,
|
|
4236
|
-
|
|
4234
|
+
pt as Dialog,
|
|
4237
4235
|
Cl as DotMenu,
|
|
4238
4236
|
hs as EditableLabel,
|
|
4239
4237
|
jl as FocusFirstDirective,
|
|
@@ -4243,7 +4241,7 @@ export {
|
|
|
4243
4241
|
te as Icon,
|
|
4244
4242
|
z as IconNames,
|
|
4245
4243
|
X as IconSize,
|
|
4246
|
-
|
|
4244
|
+
bn as Input,
|
|
4247
4245
|
yi as InputSelect,
|
|
4248
4246
|
Ei as InputSlider,
|
|
4249
4247
|
Di as InputText,
|
|
@@ -4252,35 +4250,35 @@ export {
|
|
|
4252
4250
|
Ul as LoadingDirective,
|
|
4253
4251
|
Dl as Menu,
|
|
4254
4252
|
Tl as MenuAction,
|
|
4255
|
-
|
|
4253
|
+
kt as NotificationComponent,
|
|
4256
4254
|
es as Notifications,
|
|
4257
4255
|
da as Page,
|
|
4258
4256
|
ma as Paginator,
|
|
4259
4257
|
ps as Radio,
|
|
4260
4258
|
Pl as ResizeDirective,
|
|
4261
4259
|
ba as SearchField,
|
|
4262
|
-
|
|
4260
|
+
hn as Select,
|
|
4263
4261
|
wa as Separator,
|
|
4264
4262
|
Yi as Shell,
|
|
4265
|
-
|
|
4263
|
+
yn as ShellNavigation,
|
|
4266
4264
|
Ii as ShellNavigationItem,
|
|
4267
4265
|
Ia as Skeleton,
|
|
4268
|
-
|
|
4266
|
+
vn as Spinner,
|
|
4269
4267
|
xa as Tab,
|
|
4270
4268
|
Sa as TabView,
|
|
4271
|
-
|
|
4269
|
+
gn as TextArea,
|
|
4272
4270
|
Ma as Timer,
|
|
4273
|
-
|
|
4271
|
+
mn as TooltipDirective,
|
|
4274
4272
|
ei as Upload,
|
|
4275
4273
|
Cs as VjComponents,
|
|
4276
|
-
|
|
4274
|
+
Qt as VjDialogControllerKey,
|
|
4277
4275
|
ts as VjNavigationProviderKey,
|
|
4278
4276
|
Bl as compactDirective,
|
|
4279
4277
|
gs as configureVueUI,
|
|
4280
4278
|
us as dialogService,
|
|
4281
|
-
|
|
4279
|
+
Nt as getVueUIConfig,
|
|
4282
4280
|
at as iconRegistry,
|
|
4283
|
-
|
|
4281
|
+
Kt as notificationService,
|
|
4284
4282
|
bs as resetVueUIConfig,
|
|
4285
4283
|
rs as useAsideService,
|
|
4286
4284
|
ws as useDebounce,
|