@kong-ui-public/app-layout 0.11.9 → 0.11.11
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/app-layout.es.js +24 -24
- package/dist/app-layout.es.js.map +1 -1
- package/dist/app-layout.umd.js +2 -2
- package/dist/app-layout.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/app-layout.es.js
CHANGED
|
@@ -20,9 +20,9 @@ const On = { class: "kong-ui-app-navbar" }, En = { class: "header-content" }, Nn
|
|
|
20
20
|
setup(n) {
|
|
21
21
|
const t = n;
|
|
22
22
|
Qe((r) => ({
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"
|
|
23
|
+
"8335362e": h(a).top,
|
|
24
|
+
bcff8f38: h(a).zIndex,
|
|
25
|
+
"0e436ef3": h(a).left
|
|
26
26
|
}));
|
|
27
27
|
const a = x(() => ({
|
|
28
28
|
top: t.topOffset ? `${t.topOffset}px` : "0",
|
|
@@ -45,7 +45,7 @@ const q = (n, t) => {
|
|
|
45
45
|
for (const [r, c] of t)
|
|
46
46
|
a[r] = c;
|
|
47
47
|
return a;
|
|
48
|
-
}, $n = /* @__PURE__ */ q(An, [["__scopeId", "data-v-
|
|
48
|
+
}, $n = /* @__PURE__ */ q(An, [["__scopeId", "data-v-91e1a967"]]), Fn = ["title"], Dn = /* @__PURE__ */ Y({
|
|
49
49
|
__name: "ItemBadge",
|
|
50
50
|
props: {
|
|
51
51
|
count: {
|
|
@@ -63,7 +63,7 @@ const q = (n, t) => {
|
|
|
63
63
|
}, re(h(r)), 9, Fn)) : F("", !0);
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
const Bn = /* @__PURE__ */ q(Dn, [["__scopeId", "data-v-
|
|
66
|
+
const Bn = /* @__PURE__ */ q(Dn, [["__scopeId", "data-v-9e48c714"]]), Mn = ["data-testid"], Rn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Ln = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "sidebar-item-icon"
|
|
69
69
|
}, Zn = { class: "sidebar-item-name-container" }, Pn = { class: "sidebar-item-name has-tooltip" }, jn = {
|
|
@@ -169,7 +169,7 @@ const Bn = /* @__PURE__ */ q(Dn, [["__scopeId", "data-v-353c13e0"]]), Mn = ["dat
|
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
|
-
const Nt = /* @__PURE__ */ q(Kn, [["__scopeId", "data-v-
|
|
172
|
+
const Nt = /* @__PURE__ */ q(Kn, [["__scopeId", "data-v-673c8bf0"]]), zn = {}, Vn = {
|
|
173
173
|
class: "profile-icon",
|
|
174
174
|
fill: "none",
|
|
175
175
|
height: "30",
|
|
@@ -245,7 +245,7 @@ const Yn = /* @__PURE__ */ q(zn, [["render", qn]]), Xn = {
|
|
|
245
245
|
]));
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
|
-
const ir = /* @__PURE__ */ q(rr, [["__scopeId", "data-v-
|
|
248
|
+
const ir = /* @__PURE__ */ q(rr, [["__scopeId", "data-v-57607227"]]);
|
|
249
249
|
/*!
|
|
250
250
|
* tabbable 6.0.1
|
|
251
251
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -1402,16 +1402,16 @@ const Fr = Me, Dr = {
|
|
|
1402
1402
|
setup(n, { emit: t }) {
|
|
1403
1403
|
const a = n;
|
|
1404
1404
|
Qe((g) => ({
|
|
1405
|
-
|
|
1406
|
-
"
|
|
1407
|
-
"
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
"
|
|
1411
|
-
"
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
"
|
|
1405
|
+
"577f193b": h(s).mobileHeight,
|
|
1406
|
+
"256251c1": h(s).mobileTop,
|
|
1407
|
+
"48cd66e6": n.zIndex,
|
|
1408
|
+
e33eb90e: h(s).height,
|
|
1409
|
+
"88bdbf7a": h(s).top,
|
|
1410
|
+
"2976bed2": h(_).marginTop,
|
|
1411
|
+
"2bdaa995": h(b).display,
|
|
1412
|
+
edc373a8: h(b).minHeight,
|
|
1413
|
+
"3851b392": h(w).top,
|
|
1414
|
+
"185405ca": h(w).zIndex
|
|
1415
1415
|
}));
|
|
1416
1416
|
const r = Lt(), c = x(() => !!r.header), u = x(() => !!r.top), s = x(() => ({
|
|
1417
1417
|
mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
|
|
@@ -1553,7 +1553,7 @@ const Fr = Me, Dr = {
|
|
|
1553
1553
|
], 64));
|
|
1554
1554
|
}
|
|
1555
1555
|
});
|
|
1556
|
-
const Kr = /* @__PURE__ */ q(Hr, [["__scopeId", "data-v-
|
|
1556
|
+
const Kr = /* @__PURE__ */ q(Hr, [["__scopeId", "data-v-78c13edb"]]), nt = (n) => (tt("data-v-1df27f3d"), n = n(), at(), n), zr = ["aria-label", "onClick"], Vr = /* @__PURE__ */ nt(() => /* @__PURE__ */ T("span", { class: "line" }, null, -1)), Wr = /* @__PURE__ */ nt(() => /* @__PURE__ */ T("span", { class: "line" }, null, -1)), Gr = /* @__PURE__ */ nt(() => /* @__PURE__ */ T("span", { class: "line" }, null, -1)), Ur = [
|
|
1557
1557
|
Vr,
|
|
1558
1558
|
Wr,
|
|
1559
1559
|
Gr
|
|
@@ -1582,7 +1582,7 @@ const Kr = /* @__PURE__ */ q(Hr, [["__scopeId", "data-v-1c82e900"]]), nt = (n) =
|
|
|
1582
1582
|
}, Ur, 10, zr));
|
|
1583
1583
|
}
|
|
1584
1584
|
});
|
|
1585
|
-
const Yr = /* @__PURE__ */ q(qr, [["__scopeId", "data-v-
|
|
1585
|
+
const Yr = /* @__PURE__ */ q(qr, [["__scopeId", "data-v-1df27f3d"]]), Xr = (n) => (tt("data-v-8c7a1eb1"), n = n(), at(), n), Jr = { id: "kong-ui-app-layout-notification" }, Qr = { class: "mobile-logo" }, ei = { class: "kong-ui-app-layout-main" }, ti = { class: "kong-ui-app-layout-content" }, ai = /* @__PURE__ */ Xr(() => /* @__PURE__ */ T("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), ni = /* @__PURE__ */ Y({
|
|
1586
1586
|
__name: "AppLayout",
|
|
1587
1587
|
props: {
|
|
1588
1588
|
hideDefaultSlot: {
|
|
@@ -1624,7 +1624,7 @@ const Yr = /* @__PURE__ */ q(qr, [["__scopeId", "data-v-e9d81dd5"]]), Xr = (n) =
|
|
|
1624
1624
|
setup(n, { emit: t }) {
|
|
1625
1625
|
const a = n;
|
|
1626
1626
|
Qe(($) => ({
|
|
1627
|
-
|
|
1627
|
+
"28b780f6": h(P)
|
|
1628
1628
|
}));
|
|
1629
1629
|
const r = Lt(), c = Ye({
|
|
1630
1630
|
navbarMobileLogo: x(() => !!r["navbar-mobile-logo"]),
|
|
@@ -1741,7 +1741,7 @@ const Yr = /* @__PURE__ */ q(qr, [["__scopeId", "data-v-e9d81dd5"]]), Xr = (n) =
|
|
|
1741
1741
|
], 2));
|
|
1742
1742
|
}
|
|
1743
1743
|
});
|
|
1744
|
-
const ri = /* @__PURE__ */ q(ni, [["__scopeId", "data-v-
|
|
1744
|
+
const ri = /* @__PURE__ */ q(ni, [["__scopeId", "data-v-8c7a1eb1"]]), ii = /* @__PURE__ */ Y({
|
|
1745
1745
|
__name: "NavbarDropdownMenu",
|
|
1746
1746
|
props: {
|
|
1747
1747
|
options: {
|
|
@@ -1812,7 +1812,7 @@ const ki = /* @__PURE__ */ q(ii, [["__scopeId", "data-v-b5a37136"]]), oi = {}, s
|
|
|
1812
1812
|
function ui(n, t) {
|
|
1813
1813
|
return m(), E("svg", si, li);
|
|
1814
1814
|
}
|
|
1815
|
-
const di = /* @__PURE__ */ q(oi, [["render", ui]]), Ut = (n) => (tt("data-v-
|
|
1815
|
+
const di = /* @__PURE__ */ q(oi, [["render", ui]]), Ut = (n) => (tt("data-v-ff05f71e"), n = n(), at(), n), fi = { class: "kong-ui-app-error" }, vi = { class: "banana-icon" }, bi = { class: "kong-ui-app-error-content" }, pi = /* @__PURE__ */ Ut(() => /* @__PURE__ */ T("h2", null, "An unexpected error has occurred", -1)), hi = /* @__PURE__ */ Ut(() => /* @__PURE__ */ T("p", null, [
|
|
1816
1816
|
/* @__PURE__ */ $e("Go back to the previous page or "),
|
|
1817
1817
|
/* @__PURE__ */ T("a", { href: "/" }, "return home"),
|
|
1818
1818
|
/* @__PURE__ */ $e(".")
|
|
@@ -1832,7 +1832,7 @@ const di = /* @__PURE__ */ q(oi, [["render", ui]]), Ut = (n) => (tt("data-v-aaa5
|
|
|
1832
1832
|
]));
|
|
1833
1833
|
}
|
|
1834
1834
|
});
|
|
1835
|
-
const Si = /* @__PURE__ */ q(mi, [["__scopeId", "data-v-
|
|
1835
|
+
const Si = /* @__PURE__ */ q(mi, [["__scopeId", "data-v-ff05f71e"]]);
|
|
1836
1836
|
function gi(n) {
|
|
1837
1837
|
return !!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i").test(n);
|
|
1838
1838
|
}
|
|
@@ -1872,7 +1872,7 @@ const yi = ["href"], _i = /* @__PURE__ */ Y({
|
|
|
1872
1872
|
};
|
|
1873
1873
|
}
|
|
1874
1874
|
});
|
|
1875
|
-
const Ii = /* @__PURE__ */ q(_i, [["__scopeId", "data-v-
|
|
1875
|
+
const Ii = /* @__PURE__ */ q(_i, [["__scopeId", "data-v-e6d3fa76"]]), Ci = {
|
|
1876
1876
|
// Customize Vue plugin options as desired
|
|
1877
1877
|
// Providing a `name` property allows for customizing the registered
|
|
1878
1878
|
// name of your component (useful if exporting a single component).
|