@vanjana/vue-ui 0.1.99 → 0.1.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as
|
|
1
|
+
import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as j, defineComponent as T, computed as E, normalizeClass as z, createBlock as M, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as D, useSlots as Ut, ref as C, onMounted as De, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, Teleport as Pe, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Wt, mergeProps as gn, shallowRef as bn, getCurrentScope as yn, onScopeDispose as wn, shallowReadonly as Ve, render as $t, resolveDirective as Nt, withDirectives as ct, withKeys as lt, provide as _n, inject as Kt, vModelText as xn, toRef as nt, normalizeProps as kn, guardReactiveProps as Vn, TransitionGroup as En, isRef as Cn, createApp as Ln, h as $n } from "vue";
|
|
2
2
|
import { useRouter as Sn, useRoute as Rn } from "vue-router";
|
|
3
3
|
const B = (e, n) => {
|
|
4
4
|
const t = e.__vccOpts || e;
|
|
@@ -9,10 +9,10 @@ const B = (e, n) => {
|
|
|
9
9
|
function Dn(e, n) {
|
|
10
10
|
return f(), g("div", An, [
|
|
11
11
|
x("div", On, [
|
|
12
|
-
|
|
12
|
+
j(e.$slots, "left", {}, void 0, !0)
|
|
13
13
|
]),
|
|
14
14
|
x("div", Bn, [
|
|
15
|
-
|
|
15
|
+
j(e.$slots, "default", {}, void 0, !0)
|
|
16
16
|
])
|
|
17
17
|
]);
|
|
18
18
|
}
|
|
@@ -30,7 +30,7 @@ const be = /* @__PURE__ */ T({
|
|
|
30
30
|
class: z(o.value)
|
|
31
31
|
}, null, 2));
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), jn = ["disabled"], Mn = /* @__PURE__ */ T({
|
|
34
34
|
__name: "button",
|
|
35
35
|
props: {
|
|
36
36
|
label: {},
|
|
@@ -46,15 +46,15 @@ const be = /* @__PURE__ */ T({
|
|
|
46
46
|
class: z(["button", o.value, { "icon-only": l.value }]),
|
|
47
47
|
disabled: e.disabled
|
|
48
48
|
}, [
|
|
49
|
-
e.icon ? (f(),
|
|
49
|
+
e.icon ? (f(), M(be, {
|
|
50
50
|
key: 0,
|
|
51
51
|
icon: e.icon,
|
|
52
52
|
size: S(t)
|
|
53
53
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
54
54
|
Ue(" " + D(e.label), 1)
|
|
55
|
-
], 10,
|
|
55
|
+
], 10, jn));
|
|
56
56
|
}
|
|
57
|
-
}), ut = /* @__PURE__ */ B(
|
|
57
|
+
}), ut = /* @__PURE__ */ B(Mn, [["__scopeId", "data-v-f31c33cf"]]), Fn = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "header-actions"
|
|
60
60
|
}, zn = { key: 0 }, In = /* @__PURE__ */ T({
|
|
@@ -71,14 +71,14 @@ const be = /* @__PURE__ */ T({
|
|
|
71
71
|
x("header", null, [
|
|
72
72
|
x("h3", null, D(e.header), 1),
|
|
73
73
|
S(n).headerActions ? (f(), g("span", Fn, [
|
|
74
|
-
|
|
74
|
+
j(t.$slots, "headerActions", {}, void 0, !0)
|
|
75
75
|
])) : L("", !0)
|
|
76
76
|
]),
|
|
77
77
|
x("main", null, [
|
|
78
|
-
|
|
78
|
+
j(t.$slots, "default", {}, void 0, !0)
|
|
79
79
|
]),
|
|
80
80
|
S(n).footer ? (f(), g("footer", zn, [
|
|
81
|
-
|
|
81
|
+
j(t.$slots, "footer", {}, void 0, !0)
|
|
82
82
|
])) : L("", !0)
|
|
83
83
|
], 2));
|
|
84
84
|
}
|
|
@@ -205,7 +205,7 @@ const be = /* @__PURE__ */ T({
|
|
|
205
205
|
ref: s,
|
|
206
206
|
style: G(P.value)
|
|
207
207
|
}, [
|
|
208
|
-
|
|
208
|
+
j(R.$slots, "default", {}, void 0, !0)
|
|
209
209
|
], 4)
|
|
210
210
|
], 512),
|
|
211
211
|
O(we, {
|
|
@@ -223,7 +223,7 @@ const be = /* @__PURE__ */ T({
|
|
|
223
223
|
"aria-label": "Next slide"
|
|
224
224
|
}, null, 8, ["icon"]),
|
|
225
225
|
p.value > 1 ? (f(), g("div", Un, [
|
|
226
|
-
(f(!0), g(Z, null, ge(p.value, (Te) => (f(),
|
|
226
|
+
(f(!0), g(Z, null, ge(p.value, (Te) => (f(), M(we, {
|
|
227
227
|
key: Te - 1,
|
|
228
228
|
class: z(["indicator", { active: Te - 1 === c.value }]),
|
|
229
229
|
onClick: (Ai) => U(Te - 1),
|
|
@@ -487,7 +487,7 @@ const be = /* @__PURE__ */ T({
|
|
|
487
487
|
document.removeEventListener("keydown", s);
|
|
488
488
|
}), (u, d) => {
|
|
489
489
|
const v = K("VjIcon"), m = K("VjButton"), p = K("VjCard");
|
|
490
|
-
return f(),
|
|
490
|
+
return f(), M(Pe, { to: "body" }, [
|
|
491
491
|
O(Oe, { name: "dialog-fade" }, {
|
|
492
492
|
default: W(() => [
|
|
493
493
|
l.value ? (f(), g("div", {
|
|
@@ -517,7 +517,7 @@ const be = /* @__PURE__ */ T({
|
|
|
517
517
|
]),
|
|
518
518
|
default: W(() => [
|
|
519
519
|
x("div", uo, [
|
|
520
|
-
e.component ? (f(),
|
|
520
|
+
e.component ? (f(), M(Wt(e.component), gn({ key: 0 }, e.componentProps, { onClose: a }), null, 16)) : e.message ? (f(), g("div", fo, D(e.message), 1)) : j(u.$slots, "default", { key: 2 }, void 0, !0)
|
|
521
521
|
])
|
|
522
522
|
]),
|
|
523
523
|
_: 2
|
|
@@ -526,8 +526,8 @@ const be = /* @__PURE__ */ T({
|
|
|
526
526
|
name: "footer",
|
|
527
527
|
fn: W(() => [
|
|
528
528
|
x("div", vo, [
|
|
529
|
-
|
|
530
|
-
e.showCancel ? (f(),
|
|
529
|
+
j(u.$slots, "footer", {}, () => [
|
|
530
|
+
e.showCancel ? (f(), M(m, {
|
|
531
531
|
key: 0,
|
|
532
532
|
secondary: "",
|
|
533
533
|
onClick: r,
|
|
@@ -638,13 +638,13 @@ const be = /* @__PURE__ */ T({
|
|
|
638
638
|
function St(e, n, t) {
|
|
639
639
|
return J(e, $e(n, t));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function je(e, n) {
|
|
642
642
|
return typeof e == "function" ? e(n) : e;
|
|
643
643
|
}
|
|
644
644
|
function pe(e) {
|
|
645
645
|
return e.split("-")[0];
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function Me(e) {
|
|
648
648
|
return e.split("-")[1];
|
|
649
649
|
}
|
|
650
650
|
function qt(e) {
|
|
@@ -662,7 +662,7 @@ function Jt(e) {
|
|
|
662
662
|
}
|
|
663
663
|
function Vo(e, n, t) {
|
|
664
664
|
t === void 0 && (t = !1);
|
|
665
|
-
const o =
|
|
665
|
+
const o = Me(e), l = Jt(e), a = Yt(l);
|
|
666
666
|
let i = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
667
667
|
return n.reference[a] > n.floating[a] && (i = Ne(i)), [i, Ne(i)];
|
|
668
668
|
}
|
|
@@ -687,7 +687,7 @@ function $o(e, n, t) {
|
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
function So(e, n, t, o) {
|
|
690
|
-
const l =
|
|
690
|
+
const l = Me(e);
|
|
691
691
|
let a = $o(pe(e), t === "start", o);
|
|
692
692
|
return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(it)))), a;
|
|
693
693
|
}
|
|
@@ -767,7 +767,7 @@ function At(e, n, t) {
|
|
|
767
767
|
y: o.y
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
|
-
switch (
|
|
770
|
+
switch (Me(n)) {
|
|
771
771
|
case "start":
|
|
772
772
|
m[i] -= v * (t && s ? -1 : 1);
|
|
773
773
|
break;
|
|
@@ -854,7 +854,7 @@ async function ft(e, n) {
|
|
|
854
854
|
elementContext: d = "floating",
|
|
855
855
|
altBoundary: v = !1,
|
|
856
856
|
padding: m = 0
|
|
857
|
-
} =
|
|
857
|
+
} = je(n, e), p = To(m), h = r[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
|
|
858
858
|
element: (t = await (a.isElement == null ? void 0 : a.isElement(h))) == null || t ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(r.floating)),
|
|
859
859
|
boundary: s,
|
|
860
860
|
rootBoundary: u,
|
|
@@ -904,7 +904,7 @@ const Oo = function(e) {
|
|
|
904
904
|
fallbackAxisSideDirection: p = "none",
|
|
905
905
|
flipAlignment: _ = !0,
|
|
906
906
|
...h
|
|
907
|
-
} =
|
|
907
|
+
} = je(e, n);
|
|
908
908
|
if ((t = a.arrow) != null && t.alignmentOffset)
|
|
909
909
|
return {};
|
|
910
910
|
const y = pe(l), w = fe(r), b = pe(r) === r, $ = await (c.isRTL == null ? void 0 : c.isRTL(s.floating)), P = v || (b || !_ ? [Ne(r)] : Eo(r)), I = p !== "none";
|
|
@@ -970,7 +970,7 @@ async function Do(e, n) {
|
|
|
970
970
|
placement: t,
|
|
971
971
|
platform: o,
|
|
972
972
|
elements: l
|
|
973
|
-
} = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), r =
|
|
973
|
+
} = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), r = Me(t), c = fe(t) === "y", s = Bo.has(i) ? -1 : 1, u = a && c ? -1 : 1, d = je(n, e);
|
|
974
974
|
let {
|
|
975
975
|
mainAxis: v,
|
|
976
976
|
crossAxis: m,
|
|
@@ -1014,7 +1014,7 @@ const Po = function(e) {
|
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
1016
|
};
|
|
1017
|
-
},
|
|
1017
|
+
}, jo = function(e) {
|
|
1018
1018
|
return e === void 0 && (e = {}), {
|
|
1019
1019
|
name: "shift",
|
|
1020
1020
|
options: e,
|
|
@@ -1039,7 +1039,7 @@ const Po = function(e) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
},
|
|
1041
1041
|
...c
|
|
1042
|
-
} =
|
|
1042
|
+
} = je(e, n), s = {
|
|
1043
1043
|
x: t,
|
|
1044
1044
|
y: o
|
|
1045
1045
|
}, u = await ft(n, c), d = fe(pe(l)), v = qt(d);
|
|
@@ -1070,7 +1070,7 @@ const Po = function(e) {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
}
|
|
1072
1072
|
};
|
|
1073
|
-
},
|
|
1073
|
+
}, Mo = function(e) {
|
|
1074
1074
|
return e === void 0 && (e = {}), {
|
|
1075
1075
|
name: "size",
|
|
1076
1076
|
options: e,
|
|
@@ -1085,7 +1085,7 @@ const Po = function(e) {
|
|
|
1085
1085
|
apply: c = () => {
|
|
1086
1086
|
},
|
|
1087
1087
|
...s
|
|
1088
|
-
} =
|
|
1088
|
+
} = je(e, n), u = await ft(n, s), d = pe(l), v = Me(l), m = fe(l) === "y", {
|
|
1089
1089
|
width: p,
|
|
1090
1090
|
height: _
|
|
1091
1091
|
} = a.floating;
|
|
@@ -1598,7 +1598,7 @@ function Qe(e, n, t, o) {
|
|
|
1598
1598
|
}), d?.(), (y = m) == null || y.disconnect(), m = null, c && cancelAnimationFrame(p);
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
|
-
const Ze = Po, et =
|
|
1601
|
+
const Ze = Po, et = jo, tt = Oo, ul = Mo, an = (e, n, t) => {
|
|
1602
1602
|
const o = /* @__PURE__ */ new Map(), l = {
|
|
1603
1603
|
platform: rl,
|
|
1604
1604
|
...t
|
|
@@ -1614,7 +1614,7 @@ const Ze = Po, et = Mo, tt = Oo, ul = jo, an = (e, n, t) => {
|
|
|
1614
1614
|
function dl(e) {
|
|
1615
1615
|
return e != null && typeof e == "object" && "$el" in e;
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function jt(e) {
|
|
1618
1618
|
if (dl(e)) {
|
|
1619
1619
|
const n = e.$el;
|
|
1620
1620
|
return vt(n) && xe(n) === "#comment" ? null : n;
|
|
@@ -1627,7 +1627,7 @@ function Ae(e) {
|
|
|
1627
1627
|
function sn(e) {
|
|
1628
1628
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function Mt(e, n) {
|
|
1631
1631
|
const t = sn(e);
|
|
1632
1632
|
return Math.round(n * t) / t;
|
|
1633
1633
|
}
|
|
@@ -1645,7 +1645,7 @@ function gt(e, n, t) {
|
|
|
1645
1645
|
}), c = E(() => {
|
|
1646
1646
|
var k;
|
|
1647
1647
|
return (k = Ae(t.transform)) != null ? k : !0;
|
|
1648
|
-
}), s = E(() =>
|
|
1648
|
+
}), s = E(() => jt(e.value)), u = E(() => jt(n.value)), d = C(0), v = C(0), m = C(r.value), p = C(i.value), _ = bn({}), h = C(!1), y = E(() => {
|
|
1649
1649
|
const k = {
|
|
1650
1650
|
position: m.value,
|
|
1651
1651
|
left: "0",
|
|
@@ -1653,7 +1653,7 @@ function gt(e, n, t) {
|
|
|
1653
1653
|
};
|
|
1654
1654
|
if (!u.value)
|
|
1655
1655
|
return k;
|
|
1656
|
-
const V =
|
|
1656
|
+
const V = Mt(u.value, d.value), A = Mt(u.value, v.value);
|
|
1657
1657
|
return c.value ? {
|
|
1658
1658
|
...k,
|
|
1659
1659
|
transform: "translate(" + V + "px, " + A + "px)",
|
|
@@ -1747,7 +1747,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1747
1747
|
}, null, 8, ["icon"]),
|
|
1748
1748
|
O(Oe, { name: "menu" }, {
|
|
1749
1749
|
default: W(() => [
|
|
1750
|
-
t.value ? (f(),
|
|
1750
|
+
t.value ? (f(), M(m, {
|
|
1751
1751
|
key: 0,
|
|
1752
1752
|
ref_key: "floatingRef",
|
|
1753
1753
|
ref: l,
|
|
@@ -1757,7 +1757,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1757
1757
|
onClickCapture: s
|
|
1758
1758
|
}, {
|
|
1759
1759
|
default: W(() => [
|
|
1760
|
-
|
|
1760
|
+
j(u.$slots, "default", {}, void 0, !0)
|
|
1761
1761
|
]),
|
|
1762
1762
|
_: 3
|
|
1763
1763
|
}, 8, ["style"])) : L("", !0)
|
|
@@ -1765,7 +1765,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1765
1765
|
_: 3
|
|
1766
1766
|
})
|
|
1767
1767
|
], 2),
|
|
1768
|
-
(f(),
|
|
1768
|
+
(f(), M(Pe, { to: "body" }, [
|
|
1769
1769
|
t.value ? (f(), g("div", {
|
|
1770
1770
|
key: 0,
|
|
1771
1771
|
class: "menu-backdrop",
|
|
@@ -1790,13 +1790,13 @@ const fl = /* @__PURE__ */ T({
|
|
|
1790
1790
|
const n = e, t = q.S, o = E(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
|
|
1791
1791
|
return (l, a) => {
|
|
1792
1792
|
const i = K("router-link");
|
|
1793
|
-
return f(),
|
|
1793
|
+
return f(), M(i, {
|
|
1794
1794
|
to: e.to,
|
|
1795
1795
|
class: z(["button", o.value]),
|
|
1796
1796
|
disabled: e.disabled
|
|
1797
1797
|
}, {
|
|
1798
1798
|
default: W(() => [
|
|
1799
|
-
e.icon ? (f(),
|
|
1799
|
+
e.icon ? (f(), M(be, {
|
|
1800
1800
|
key: 0,
|
|
1801
1801
|
icon: e.icon,
|
|
1802
1802
|
size: S(t)
|
|
@@ -1821,7 +1821,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1821
1821
|
disabled: e.disabled
|
|
1822
1822
|
}, [
|
|
1823
1823
|
x("span", gl, [
|
|
1824
|
-
e.icon ? (f(),
|
|
1824
|
+
e.icon ? (f(), M(be, {
|
|
1825
1825
|
key: 0,
|
|
1826
1826
|
icon: e.icon,
|
|
1827
1827
|
size: S(n)
|
|
@@ -1833,7 +1833,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1833
1833
|
}), yl = /* @__PURE__ */ B(bl, [["__scopeId", "data-v-07850995"]]), wl = {}, _l = { class: "menu" };
|
|
1834
1834
|
function xl(e, n) {
|
|
1835
1835
|
return f(), g("div", _l, [
|
|
1836
|
-
|
|
1836
|
+
j(e.$slots, "default", {}, void 0, !0)
|
|
1837
1837
|
]);
|
|
1838
1838
|
}
|
|
1839
1839
|
const kl = /* @__PURE__ */ B(wl, [["render", xl], ["__scopeId", "data-v-259fec08"]]), Vl = {
|
|
@@ -2083,7 +2083,7 @@ const un = {
|
|
|
2083
2083
|
n.tooltip && n.tooltip.parentElement && n.tooltip.parentElement.removeChild(n.tooltip), n.onPointerEnter && e.removeEventListener("pointerenter", n.onPointerEnter), n.onPointerLeave && e.removeEventListener("pointerleave", n.onPointerLeave), n.onFocus && e.removeEventListener("focus", n.onFocus), n.onBlur && e.removeEventListener("blur", n.onBlur), n.onPointerDown && e.removeEventListener("pointerdown", n.onPointerDown), n.docHandler && document.removeEventListener("pointerdown", n.docHandler), e.__vjTooltip = void 0;
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
}, Dl = { class: "notification__icon" }, Pl = { class: "notification__message" },
|
|
2086
|
+
}, Dl = { class: "notification__icon" }, Pl = { class: "notification__message" }, jl = { class: "notification__title" }, Ml = { class: "notification__text" }, Fl = /* @__PURE__ */ T({
|
|
2087
2087
|
__name: "notification",
|
|
2088
2088
|
props: {
|
|
2089
2089
|
type: {},
|
|
@@ -2114,8 +2114,8 @@ const un = {
|
|
|
2114
2114
|
O(be, { icon: l.value }, null, 8, ["icon"])
|
|
2115
2115
|
]),
|
|
2116
2116
|
x("div", Pl, [
|
|
2117
|
-
x("div",
|
|
2118
|
-
x("div",
|
|
2117
|
+
x("div", jl, D(e.title), 1),
|
|
2118
|
+
x("div", Ml, D(e.message), 1)
|
|
2119
2119
|
]),
|
|
2120
2120
|
O(ut, {
|
|
2121
2121
|
class: "notification__close compact",
|
|
@@ -2154,7 +2154,7 @@ const un = {
|
|
|
2154
2154
|
return ct((f(), g("div", zl, [
|
|
2155
2155
|
x("header", null, [
|
|
2156
2156
|
x("div", Il, [
|
|
2157
|
-
e.backLabel ? (f(),
|
|
2157
|
+
e.backLabel ? (f(), M(c, {
|
|
2158
2158
|
key: 0,
|
|
2159
2159
|
tertiary: "",
|
|
2160
2160
|
icon: S(F).BACK,
|
|
@@ -2167,14 +2167,14 @@ const un = {
|
|
|
2167
2167
|
])
|
|
2168
2168
|
]),
|
|
2169
2169
|
x("div", Wl, [
|
|
2170
|
-
|
|
2170
|
+
j(i.$slots, "headerActions", {}, void 0, !0)
|
|
2171
2171
|
])
|
|
2172
2172
|
]),
|
|
2173
2173
|
x("main", {
|
|
2174
2174
|
class: z({ scrollable: e.scrollable })
|
|
2175
2175
|
}, [
|
|
2176
2176
|
a.value ? (f(), g("div", Nl, [
|
|
2177
|
-
|
|
2177
|
+
j(i.$slots, "error", {}, () => [
|
|
2178
2178
|
O(yt, {
|
|
2179
2179
|
type: "error",
|
|
2180
2180
|
title: a.value,
|
|
@@ -2183,17 +2183,17 @@ const un = {
|
|
|
2183
2183
|
], !0)
|
|
2184
2184
|
])) : L("", !0),
|
|
2185
2185
|
a.value ? L("", !0) : (f(), g("div", Kl, [
|
|
2186
|
-
|
|
2186
|
+
j(i.$slots, "default", {}, void 0, !0)
|
|
2187
2187
|
])),
|
|
2188
2188
|
a.value ? L("", !0) : (f(), g("div", Xl, [
|
|
2189
|
-
|
|
2189
|
+
j(i.$slots, "actions", {}, void 0, !0)
|
|
2190
2190
|
])),
|
|
2191
2191
|
i.$slots.flexFooter ? (f(), g("footer", Gl, [
|
|
2192
|
-
|
|
2192
|
+
j(i.$slots, "flexFooter", {}, void 0, !0)
|
|
2193
2193
|
])) : L("", !0)
|
|
2194
2194
|
], 2),
|
|
2195
2195
|
i.$slots.footer ? (f(), g("footer", ql, [
|
|
2196
|
-
|
|
2196
|
+
j(i.$slots, "footer", {}, void 0, !0)
|
|
2197
2197
|
])) : L("", !0)
|
|
2198
2198
|
])), [
|
|
2199
2199
|
[s, { active: o.value, text: t.loadingMessage }]
|
|
@@ -2245,7 +2245,7 @@ const un = {
|
|
|
2245
2245
|
onClick: p,
|
|
2246
2246
|
"aria-label": "Previous page"
|
|
2247
2247
|
}, null, 8, ["icon", "disabled"]),
|
|
2248
|
-
|
|
2248
|
+
j(y.$slots, "info", {
|
|
2249
2249
|
current: i.value,
|
|
2250
2250
|
totalPages: a.value,
|
|
2251
2251
|
goTo: v
|
|
@@ -2373,7 +2373,7 @@ const un = {
|
|
|
2373
2373
|
}, null, 4)
|
|
2374
2374
|
], 512),
|
|
2375
2375
|
x("div", ua, [
|
|
2376
|
-
|
|
2376
|
+
j(s.$slots, "default", {}, void 0, !0)
|
|
2377
2377
|
])
|
|
2378
2378
|
]));
|
|
2379
2379
|
}
|
|
@@ -2391,7 +2391,7 @@ const un = {
|
|
|
2391
2391
|
return De(() => {
|
|
2392
2392
|
t?.registerTab(n.name, n.label);
|
|
2393
2393
|
}), (l, a) => o.value ? (f(), g("div", va, [
|
|
2394
|
-
|
|
2394
|
+
j(l.$slots, "default")
|
|
2395
2395
|
])) : L("", !0);
|
|
2396
2396
|
}
|
|
2397
2397
|
}), pa = ["onKeydown"], ha = /* @__PURE__ */ T({
|
|
@@ -2451,7 +2451,7 @@ const un = {
|
|
|
2451
2451
|
], 64))
|
|
2452
2452
|
], 34));
|
|
2453
2453
|
}
|
|
2454
|
-
}),
|
|
2454
|
+
}), ji = /* @__PURE__ */ B(ha, [["__scopeId", "data-v-cdc52c5b"]]), ga = "200% 200%", ba = /* @__PURE__ */ T({
|
|
2455
2455
|
__name: "skeleton",
|
|
2456
2456
|
props: {
|
|
2457
2457
|
width: {},
|
|
@@ -2505,7 +2505,7 @@ const un = {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
};
|
|
2507
2507
|
let Xe = {};
|
|
2508
|
-
function
|
|
2508
|
+
function Mi(e) {
|
|
2509
2509
|
Xe = {
|
|
2510
2510
|
...Xe,
|
|
2511
2511
|
...e,
|
|
@@ -2595,7 +2595,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2595
2595
|
class: "form-field__label-outline"
|
|
2596
2596
|
}, D(e.label), 9, ka)) : L("", !0),
|
|
2597
2597
|
x("div", Va, [
|
|
2598
|
-
|
|
2598
|
+
j(p.$slots, "control", {
|
|
2599
2599
|
id: i.value,
|
|
2600
2600
|
value: l.value,
|
|
2601
2601
|
onInput: d,
|
|
@@ -2655,7 +2655,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2655
2655
|
class: "form-layout",
|
|
2656
2656
|
style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
|
|
2657
2657
|
}, [
|
|
2658
|
-
|
|
2658
|
+
j(a.$slots, "default", {}, void 0, !0)
|
|
2659
2659
|
], 4));
|
|
2660
2660
|
}
|
|
2661
2661
|
}), Ra = /* @__PURE__ */ B(Sa, [["__scopeId", "data-v-96f62ab7"]]), Ta = {
|
|
@@ -2670,13 +2670,13 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2670
2670
|
setup(e) {
|
|
2671
2671
|
return (n, t) => (f(), g(Z, null, [
|
|
2672
2672
|
e.title ? (f(), g("h3", Ta, D(e.title), 1)) : L("", !0),
|
|
2673
|
-
|
|
2673
|
+
j(n.$slots, "default", {}, void 0, !0)
|
|
2674
2674
|
], 64));
|
|
2675
2675
|
}
|
|
2676
2676
|
}), Oa = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], Da = { class: "select-value" }, Pa = {
|
|
2677
2677
|
key: 1,
|
|
2678
2678
|
class: "select-placeholder"
|
|
2679
|
-
},
|
|
2679
|
+
}, ja = { class: "select-options" }, Ma = ["onClick", "onMouseenter"], Fa = /* @__PURE__ */ T({
|
|
2680
2680
|
inheritAttrs: !1,
|
|
2681
2681
|
__name: "select",
|
|
2682
2682
|
props: /* @__PURE__ */ ee({
|
|
@@ -2746,21 +2746,21 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2746
2746
|
onClick: p,
|
|
2747
2747
|
disabled: e.disabled
|
|
2748
2748
|
}, [
|
|
2749
|
-
t.icon ? (f(),
|
|
2749
|
+
t.icon ? (f(), M(P, {
|
|
2750
2750
|
key: 0,
|
|
2751
2751
|
icon: t.icon,
|
|
2752
2752
|
size: S(q).S,
|
|
2753
2753
|
class: "select-icon-left"
|
|
2754
2754
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
2755
2755
|
x("span", Da, [
|
|
2756
|
-
v.value ?
|
|
2756
|
+
v.value ? j(b.$slots, "selected", {
|
|
2757
2757
|
key: 0,
|
|
2758
2758
|
option: v.value
|
|
2759
2759
|
}, () => [
|
|
2760
2760
|
Ue(D(u(v.value)), 1)
|
|
2761
2761
|
], !0) : (f(), g("span", Pa, D(e.placeholder), 1))
|
|
2762
2762
|
]),
|
|
2763
|
-
t.clearable && v.value && !e.disabled ? (f(),
|
|
2763
|
+
t.clearable && v.value && !e.disabled ? (f(), M(P, {
|
|
2764
2764
|
key: 1,
|
|
2765
2765
|
icon: S(F).CLOSE,
|
|
2766
2766
|
size: S(q).S,
|
|
@@ -2782,27 +2782,27 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2782
2782
|
style: G(S(s)),
|
|
2783
2783
|
class: "select-dropdown"
|
|
2784
2784
|
}, [
|
|
2785
|
-
x("div",
|
|
2785
|
+
x("div", ja, [
|
|
2786
2786
|
(f(!0), g(Z, null, ge(e.options, (I, k) => (f(), g("div", {
|
|
2787
2787
|
key: String(d(I)),
|
|
2788
2788
|
class: z(["select-option", { selected: m(I), highlighted: a.value === k }]),
|
|
2789
2789
|
onClick: (V) => h(I),
|
|
2790
2790
|
onMouseenter: (V) => a.value = k
|
|
2791
2791
|
}, [
|
|
2792
|
-
|
|
2792
|
+
j(b.$slots, "option", {
|
|
2793
2793
|
option: I,
|
|
2794
2794
|
selected: m(I)
|
|
2795
2795
|
}, () => [
|
|
2796
2796
|
Ue(D(u(I)), 1)
|
|
2797
2797
|
], !0)
|
|
2798
|
-
], 42,
|
|
2798
|
+
], 42, Ma))), 128))
|
|
2799
2799
|
])
|
|
2800
2800
|
], 4)) : L("", !0)
|
|
2801
2801
|
]),
|
|
2802
2802
|
_: 3
|
|
2803
2803
|
})
|
|
2804
2804
|
], 2),
|
|
2805
|
-
(f(),
|
|
2805
|
+
(f(), M(Pe, { to: "body" }, [
|
|
2806
2806
|
l.value ? (f(), g("div", {
|
|
2807
2807
|
key: 0,
|
|
2808
2808
|
class: "select-backdrop",
|
|
@@ -2841,7 +2841,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2841
2841
|
const a = (i) => {
|
|
2842
2842
|
l.value = i, o("update:modelValue", i);
|
|
2843
2843
|
};
|
|
2844
|
-
return (i, r) => (f(),
|
|
2844
|
+
return (i, r) => (f(), M(ze, {
|
|
2845
2845
|
modelValue: l.value,
|
|
2846
2846
|
"onUpdate:modelValue": a,
|
|
2847
2847
|
label: t.label,
|
|
@@ -2874,14 +2874,14 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
2874
2874
|
i.$slots.selected ? {
|
|
2875
2875
|
name: "selected",
|
|
2876
2876
|
fn: W(({ option: d }) => [
|
|
2877
|
-
|
|
2877
|
+
j(i.$slots, "selected", { option: d })
|
|
2878
2878
|
]),
|
|
2879
2879
|
key: "0"
|
|
2880
2880
|
} : void 0,
|
|
2881
2881
|
i.$slots.option ? {
|
|
2882
2882
|
name: "option",
|
|
2883
2883
|
fn: W(({ option: d }) => [
|
|
2884
|
-
|
|
2884
|
+
j(i.$slots, "option", { option: d })
|
|
2885
2885
|
]),
|
|
2886
2886
|
key: "1"
|
|
2887
2887
|
} : void 0
|
|
@@ -3049,7 +3049,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3049
3049
|
const c = typeof r == "number" ? r : Number(r ?? 0);
|
|
3050
3050
|
a.value = Number.isNaN(c) ? 0 : c, o("update:modelValue", a.value), o("input", a.value);
|
|
3051
3051
|
};
|
|
3052
|
-
return (r, c) => (f(),
|
|
3052
|
+
return (r, c) => (f(), M(ze, {
|
|
3053
3053
|
modelValue: a.value,
|
|
3054
3054
|
"onUpdate:modelValue": i,
|
|
3055
3055
|
label: t.label,
|
|
@@ -3108,7 +3108,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3108
3108
|
return (s, u) => {
|
|
3109
3109
|
const d = K("VjIcon");
|
|
3110
3110
|
return f(), g("div", Ga, [
|
|
3111
|
-
e.icon ? (f(),
|
|
3111
|
+
e.icon ? (f(), M(d, {
|
|
3112
3112
|
key: 0,
|
|
3113
3113
|
icon: e.icon,
|
|
3114
3114
|
size: S(q).S,
|
|
@@ -3123,7 +3123,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3123
3123
|
disabled: e.disabled,
|
|
3124
3124
|
rows: e.rows
|
|
3125
3125
|
}, null, 40, qa),
|
|
3126
|
-
e.clearable && !e.disabled ? (f(),
|
|
3126
|
+
e.clearable && !e.disabled ? (f(), M(d, {
|
|
3127
3127
|
key: 1,
|
|
3128
3128
|
class: z(["clear-icon", { invisible: c.value }]),
|
|
3129
3129
|
icon: S(F).CLOSE,
|
|
@@ -3158,7 +3158,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3158
3158
|
const u = t.modelValue;
|
|
3159
3159
|
return u == null ? "" : String(u);
|
|
3160
3160
|
});
|
|
3161
|
-
return (u, d) => (f(),
|
|
3161
|
+
return (u, d) => (f(), M(ze, {
|
|
3162
3162
|
modelValue: t.modelValue,
|
|
3163
3163
|
"onUpdate:modelValue": l,
|
|
3164
3164
|
onInput: a,
|
|
@@ -3222,7 +3222,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3222
3222
|
return (s, u) => {
|
|
3223
3223
|
const d = K("VjIcon");
|
|
3224
3224
|
return f(), g("div", Qa, [
|
|
3225
|
-
e.icon ? (f(),
|
|
3225
|
+
e.icon ? (f(), M(d, {
|
|
3226
3226
|
key: 0,
|
|
3227
3227
|
icon: e.icon,
|
|
3228
3228
|
size: S(q).S
|
|
@@ -3236,7 +3236,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3236
3236
|
placeholder: e.placeholder,
|
|
3237
3237
|
disabled: e.disabled
|
|
3238
3238
|
}, null, 40, Za),
|
|
3239
|
-
e.clearable && !e.disabled ? (f(),
|
|
3239
|
+
e.clearable && !e.disabled ? (f(), M(d, {
|
|
3240
3240
|
key: 1,
|
|
3241
3241
|
class: z(["clear-icon", { invisible: c.value }]),
|
|
3242
3242
|
icon: S(F).CLOSE,
|
|
@@ -3268,7 +3268,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3268
3268
|
const t = e, o = n, l = (s) => o("update:modelValue", s), a = (s) => o("input", s), i = (s) => o("focus", s), r = (s) => o("blur", s), c = (s) => {
|
|
3269
3269
|
l(s ?? "");
|
|
3270
3270
|
};
|
|
3271
|
-
return (s, u) => (f(),
|
|
3271
|
+
return (s, u) => (f(), M(ze, {
|
|
3272
3272
|
modelValue: e.modelValue,
|
|
3273
3273
|
"onUpdate:modelValue": l,
|
|
3274
3274
|
onInput: a,
|
|
@@ -3340,7 +3340,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3340
3340
|
}), (v, m) => {
|
|
3341
3341
|
const p = K("VjIcon"), _ = K("RouterLink"), h = K("VjMenu");
|
|
3342
3342
|
return f(), g("li", ni, [
|
|
3343
|
-
e.to ? (f(),
|
|
3343
|
+
e.to ? (f(), M(_, {
|
|
3344
3344
|
key: 0,
|
|
3345
3345
|
to: e.to,
|
|
3346
3346
|
class: "shell-navigation-item-link"
|
|
@@ -3370,7 +3370,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3370
3370
|
], 8, ai),
|
|
3371
3371
|
O(Oe, { name: "menu" }, {
|
|
3372
3372
|
default: W(() => [
|
|
3373
|
-
o.value ? (f(),
|
|
3373
|
+
o.value ? (f(), M(h, {
|
|
3374
3374
|
key: 0,
|
|
3375
3375
|
ref_key: "floatingRef",
|
|
3376
3376
|
ref: a,
|
|
@@ -3380,14 +3380,14 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3380
3380
|
onClick: N(s, ["stop"])
|
|
3381
3381
|
}, {
|
|
3382
3382
|
default: W(() => [
|
|
3383
|
-
|
|
3383
|
+
j(v.$slots, "default", {}, void 0, !0)
|
|
3384
3384
|
]),
|
|
3385
3385
|
_: 3
|
|
3386
3386
|
}, 8, ["style"])) : L("", !0)
|
|
3387
3387
|
]),
|
|
3388
3388
|
_: 3
|
|
3389
3389
|
}),
|
|
3390
|
-
(f(),
|
|
3390
|
+
(f(), M(Pe, { to: "body" }, [
|
|
3391
3391
|
o.value ? (f(), g("div", {
|
|
3392
3392
|
key: 0,
|
|
3393
3393
|
class: "menu-backdrop",
|
|
@@ -3411,13 +3411,13 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3411
3411
|
class: z(["shell-navigation", { "with-labels": t.value }])
|
|
3412
3412
|
}, [
|
|
3413
3413
|
x("ul", ci, [
|
|
3414
|
-
S(n).hasParent && S(n).backRoute.value ? (f(),
|
|
3414
|
+
S(n).hasParent && S(n).backRoute.value ? (f(), M(a, {
|
|
3415
3415
|
key: 0,
|
|
3416
3416
|
to: S(n).backRoute.value,
|
|
3417
3417
|
label: "BACK",
|
|
3418
3418
|
icon: S(F).HOME
|
|
3419
3419
|
}, null, 8, ["to", "icon"])) : L("", !0),
|
|
3420
|
-
(f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(),
|
|
3420
|
+
(f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), M(a, {
|
|
3421
3421
|
key: i.name,
|
|
3422
3422
|
to: { name: i.name },
|
|
3423
3423
|
label: i.meta.label,
|
|
@@ -3425,7 +3425,7 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3425
3425
|
}, null, 8, ["to", "label", "icon"]))), 128))
|
|
3426
3426
|
]),
|
|
3427
3427
|
o.$slots.fixed ? (f(), g("ul", ui, [
|
|
3428
|
-
|
|
3428
|
+
j(o.$slots, "fixed", {}, void 0, !0)
|
|
3429
3429
|
])) : L("", !0)
|
|
3430
3430
|
], 2);
|
|
3431
3431
|
};
|
|
@@ -3455,30 +3455,30 @@ const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-f
|
|
|
3455
3455
|
x("h1", null, D(e.title), 1)
|
|
3456
3456
|
]),
|
|
3457
3457
|
x("div", pi, [
|
|
3458
|
-
|
|
3458
|
+
j(i.$slots, "header-actions", {}, void 0, !0)
|
|
3459
3459
|
])
|
|
3460
3460
|
]),
|
|
3461
3461
|
x("div", {
|
|
3462
3462
|
class: z(["shell-content", { "with-navigation": e.showNavigation }])
|
|
3463
3463
|
}, [
|
|
3464
|
-
e.showNavigation ? (f(),
|
|
3464
|
+
e.showNavigation ? (f(), M(S(pn), { key: 0 }, rt({ _: 2 }, [
|
|
3465
3465
|
i.$slots?.["navigation-fixed"] ? {
|
|
3466
3466
|
name: "fixed",
|
|
3467
3467
|
fn: W(() => [
|
|
3468
|
-
|
|
3468
|
+
j(i.$slots, "navigation-fixed", {}, void 0, !0)
|
|
3469
3469
|
]),
|
|
3470
3470
|
key: "0"
|
|
3471
3471
|
} : void 0
|
|
3472
3472
|
]), 1024)) : L("", !0),
|
|
3473
3473
|
x("main", null, [
|
|
3474
|
-
|
|
3474
|
+
j(i.$slots, "default", {}, () => [
|
|
3475
3475
|
O(c)
|
|
3476
3476
|
], !0)
|
|
3477
3477
|
]),
|
|
3478
3478
|
x("aside", {
|
|
3479
3479
|
class: z({ "aside-visible": o.value })
|
|
3480
3480
|
}, [
|
|
3481
|
-
(f(),
|
|
3481
|
+
(f(), M(Wt(t.value), kn(Vn(a.value)), null, 16))
|
|
3482
3482
|
], 2)
|
|
3483
3483
|
], 2),
|
|
3484
3484
|
r[0] || (r[0] = x("footer", null, null, -1))
|
|
@@ -3556,11 +3556,11 @@ const Ht = new bi(), yi = { class: "notifications" }, wi = /* @__PURE__ */ T({
|
|
|
3556
3556
|
__name: "notifications",
|
|
3557
3557
|
setup(e) {
|
|
3558
3558
|
const n = Ht.getNotifications(), t = (o) => Ht.remove(o);
|
|
3559
|
-
return (o, l) => (f(),
|
|
3559
|
+
return (o, l) => (f(), M(Pe, { to: "body" }, [
|
|
3560
3560
|
x("div", yi, [
|
|
3561
3561
|
O(En, { name: "notification" }, {
|
|
3562
3562
|
default: W(() => [
|
|
3563
|
-
(f(!0), g(Z, null, ge(S(n), (a) => (f(),
|
|
3563
|
+
(f(!0), g(Z, null, ge(S(n), (a) => (f(), M(yt, {
|
|
3564
3564
|
key: a.id,
|
|
3565
3565
|
type: a.type,
|
|
3566
3566
|
title: a.title,
|
|
@@ -3647,6 +3647,10 @@ const hn = (e) => (Le.push(e), () => {
|
|
|
3647
3647
|
class Ri {
|
|
3648
3648
|
containerElement = null;
|
|
3649
3649
|
apps = [];
|
|
3650
|
+
mainApp = null;
|
|
3651
|
+
init(n) {
|
|
3652
|
+
this.mainApp = n;
|
|
3653
|
+
}
|
|
3650
3654
|
ensureContainer() {
|
|
3651
3655
|
return this.containerElement || (this.containerElement = document.createElement("div"), this.containerElement.id = "vj-dialog-container", document.body.appendChild(this.containerElement)), this.containerElement;
|
|
3652
3656
|
}
|
|
@@ -3686,7 +3690,7 @@ class Ri {
|
|
|
3686
3690
|
});
|
|
3687
3691
|
}
|
|
3688
3692
|
});
|
|
3689
|
-
r.component("VjCard", at), r.component("VjIcon", be), r.component("VjButton", ut), r.mount(l), this.apps.push({ app: r, element: l });
|
|
3693
|
+
this.mainApp && Object.assign(r.config.globalProperties, this.mainApp.config.globalProperties), r.component("VjCard", at), r.component("VjIcon", be), r.component("VjButton", ut), r.mount(l), this.apps.push({ app: r, element: l });
|
|
3690
3694
|
});
|
|
3691
3695
|
}
|
|
3692
3696
|
confirm(n) {
|
|
@@ -3775,7 +3779,7 @@ export {
|
|
|
3775
3779
|
wo as ChipSelector,
|
|
3776
3780
|
dt as Dialog,
|
|
3777
3781
|
vl as DotMenu,
|
|
3778
|
-
|
|
3782
|
+
ji as EditableLabel,
|
|
3779
3783
|
Cl as FocusFirstDirective,
|
|
3780
3784
|
ze as FormField,
|
|
3781
3785
|
Ra as FormLayout,
|
|
@@ -3813,7 +3817,7 @@ export {
|
|
|
3813
3817
|
Wi as VjComponents,
|
|
3814
3818
|
xi as VjNavigationProviderKey,
|
|
3815
3819
|
Vl as compactDirective,
|
|
3816
|
-
|
|
3820
|
+
Mi as configureVueUI,
|
|
3817
3821
|
Ti as dialogService,
|
|
3818
3822
|
It as getVueUIConfig,
|
|
3819
3823
|
Ht as notificationService,
|