@kong-ui-public/app-layout 0.18.5 → 0.18.6
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 +107 -108
- package/dist/app-layout.es.js.map +1 -1
- package/dist/app-layout.umd.js +4 -4
- package/dist/app-layout.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/app-layout.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, useCssVars as Qe, unref as m, useSlots as et, computed as w, reactive as Ee, onMounted as
|
|
1
|
+
import { defineComponent as te, useCssVars as Qe, unref as m, useSlots as et, computed as w, reactive as Ee, onMounted as Me, openBlock as y, createElementBlock as N, createElementVNode as x, renderSlot as $, createCommentVNode as R, toDisplayString as me, resolveComponent as ge, normalizeClass as ee, createBlock as q, resolveDynamicComponent as hn, withCtx as K, withKeys as pn, createVNode as tt, Fragment as ye, renderList as Fe, ref as G, watch as Ne, onUnmounted as mn, Comment as gn, cloneVNode as yn, onBeforeUnmount as Zt, nextTick as _n, withModifiers as wn, pushScopeId as at, popScopeId as nt, watchEffect as Tn, toRef as Sn, createSlots as Et, createTextVNode as Xe, createStaticVNode as kn } from "vue";
|
|
2
2
|
const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, On = { class: "mobile-header-left" }, xn = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "app-navbar-logo"
|
|
@@ -32,7 +32,7 @@ const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, On
|
|
|
32
32
|
marginRight: "0",
|
|
33
33
|
width: "0"
|
|
34
34
|
});
|
|
35
|
-
|
|
35
|
+
Me(() => {
|
|
36
36
|
var o, f;
|
|
37
37
|
(f = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && f.length ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
|
|
38
38
|
});
|
|
@@ -88,7 +88,7 @@ const ae = (n, t) => {
|
|
|
88
88
|
}, me(m(r)), 9, Bn)) : R("", !0);
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]),
|
|
91
|
+
const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Mn = ["data-testid"], Zn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Pn = {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: "sidebar-item-icon"
|
|
94
94
|
}, jn = { class: "sidebar-item-name-container" }, Hn = { class: "sidebar-item-name has-tooltip" }, Kn = {
|
|
@@ -125,10 +125,10 @@ const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Zn = ["da
|
|
|
125
125
|
to: !m(r) && !m(c) ? n.item.to : void 0
|
|
126
126
|
}, {
|
|
127
127
|
default: K((O) => {
|
|
128
|
-
var
|
|
128
|
+
var Z, z;
|
|
129
129
|
return [
|
|
130
130
|
x("a", {
|
|
131
|
-
"aria-controls": (
|
|
131
|
+
"aria-controls": (Z = n.item.items) != null && Z.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
|
|
132
132
|
"aria-expanded": (z = n.item.items) != null && z.length && n.item.expanded ? !0 : void 0,
|
|
133
133
|
class: ee(["sidebar-item-link", { "sidebar-item-external-link": m(c), "router-link": !m(r) }]),
|
|
134
134
|
href: m(r) ? String(n.item.to || "#") : O == null ? void 0 : O.href,
|
|
@@ -173,7 +173,7 @@ const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Zn = ["da
|
|
|
173
173
|
count: n.item.badgeCount
|
|
174
174
|
}, null, 8, ["count"])) : R("", !0)
|
|
175
175
|
], 2)
|
|
176
|
-
], 42,
|
|
176
|
+
], 42, Zn)
|
|
177
177
|
];
|
|
178
178
|
}),
|
|
179
179
|
_: 1
|
|
@@ -187,10 +187,10 @@ const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Zn = ["da
|
|
|
187
187
|
key: O.name,
|
|
188
188
|
item: O,
|
|
189
189
|
"subnav-item": !0,
|
|
190
|
-
onClick: (
|
|
190
|
+
onClick: (Z) => o(O)
|
|
191
191
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
192
192
|
], 8, zn)) : R("", !0)
|
|
193
|
-
], 10,
|
|
193
|
+
], 10, Mn);
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
});
|
|
@@ -457,7 +457,7 @@ var Lt = {
|
|
|
457
457
|
return _e(t) && t.shiftKey;
|
|
458
458
|
}, Rt = function(t) {
|
|
459
459
|
return setTimeout(t, 0);
|
|
460
|
-
},
|
|
460
|
+
}, Mt = function(t, a) {
|
|
461
461
|
var r = -1;
|
|
462
462
|
return t.every(function(c, u) {
|
|
463
463
|
return a(c) ? (r = u, !1) : !0;
|
|
@@ -567,14 +567,14 @@ var Lt = {
|
|
|
567
567
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
568
568
|
*/
|
|
569
569
|
nextTabbableNode: function(h) {
|
|
570
|
-
var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, p = b.findIndex(function(
|
|
571
|
-
return
|
|
570
|
+
var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, p = b.findIndex(function(M) {
|
|
571
|
+
return M === h;
|
|
572
572
|
});
|
|
573
573
|
if (!(p < 0))
|
|
574
|
-
return A ? b.slice(p + 1).find(function(
|
|
575
|
-
return Oe(
|
|
576
|
-
}) : b.slice(0, p).reverse().find(function(
|
|
577
|
-
return Oe(
|
|
574
|
+
return A ? b.slice(p + 1).find(function(M) {
|
|
575
|
+
return Oe(M, u.tabbableOptions);
|
|
576
|
+
}) : b.slice(0, p).reverse().find(function(M) {
|
|
577
|
+
return Oe(M, u.tabbableOptions);
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
};
|
|
@@ -595,7 +595,7 @@ var Lt = {
|
|
|
595
595
|
}, O = function(l) {
|
|
596
596
|
var d = E("setReturnFocus", l);
|
|
597
597
|
return d || (d === !1 ? !1 : l);
|
|
598
|
-
},
|
|
598
|
+
}, Z = function(l) {
|
|
599
599
|
var d = xe(l);
|
|
600
600
|
if (!(_(d) >= 0)) {
|
|
601
601
|
if (pe(u.clickOutsideDeactivates, l)) {
|
|
@@ -624,23 +624,23 @@ var Lt = {
|
|
|
624
624
|
if (h < 0)
|
|
625
625
|
d ? k = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : k = o.tabbableGroups[0].firstTabbableNode;
|
|
626
626
|
else if (d) {
|
|
627
|
-
var p =
|
|
627
|
+
var p = Mt(o.tabbableGroups, function(ve) {
|
|
628
628
|
var I = ve.firstTabbableNode;
|
|
629
629
|
return b === I;
|
|
630
630
|
});
|
|
631
631
|
if (p < 0 && (A.container === b || $t(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !A.nextTabbableNode(b, !1)) && (p = h), p >= 0) {
|
|
632
|
-
var
|
|
632
|
+
var M = p === 0 ? o.tabbableGroups.length - 1 : p - 1, re = o.tabbableGroups[M];
|
|
633
633
|
k = re.lastTabbableNode;
|
|
634
634
|
} else
|
|
635
635
|
_e(l) || (k = A.nextTabbableNode(b, !1));
|
|
636
636
|
} else {
|
|
637
|
-
var Y =
|
|
637
|
+
var Y = Mt(o.tabbableGroups, function(ve) {
|
|
638
638
|
var I = ve.lastTabbableNode;
|
|
639
639
|
return b === I;
|
|
640
640
|
});
|
|
641
641
|
if (Y < 0 && (A.container === b || $t(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !A.nextTabbableNode(b)) && (Y = h), Y >= 0) {
|
|
642
|
-
var X = Y === o.tabbableGroups.length - 1 ? 0 : Y + 1,
|
|
643
|
-
k =
|
|
642
|
+
var X = Y === o.tabbableGroups.length - 1 ? 0 : Y + 1, Ze = o.tabbableGroups[X];
|
|
643
|
+
k = Ze.firstTabbableNode;
|
|
644
644
|
} else
|
|
645
645
|
_e(l) || (k = A.nextTabbableNode(b));
|
|
646
646
|
}
|
|
@@ -660,10 +660,10 @@ var Lt = {
|
|
|
660
660
|
if (o.active)
|
|
661
661
|
return Lt.activateTrap(c, f), o.delayInitialFocusTimer = u.delayInitialFocus ? Rt(function() {
|
|
662
662
|
C(F());
|
|
663
|
-
}) : C(F()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown",
|
|
663
|
+
}) : C(F()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", Z, {
|
|
664
664
|
capture: !0,
|
|
665
665
|
passive: !1
|
|
666
|
-
}), r.addEventListener("touchstart",
|
|
666
|
+
}), r.addEventListener("touchstart", Z, {
|
|
667
667
|
capture: !0,
|
|
668
668
|
passive: !1
|
|
669
669
|
}), r.addEventListener("click", V, {
|
|
@@ -675,7 +675,7 @@ var Lt = {
|
|
|
675
675
|
}), f;
|
|
676
676
|
}, L = function() {
|
|
677
677
|
if (o.active)
|
|
678
|
-
return r.removeEventListener("focusin", z, !0), r.removeEventListener("mousedown",
|
|
678
|
+
return r.removeEventListener("focusin", z, !0), r.removeEventListener("mousedown", Z, !0), r.removeEventListener("touchstart", Z, !0), r.removeEventListener("click", V, !0), r.removeEventListener("keydown", W, !0), f;
|
|
679
679
|
};
|
|
680
680
|
return f = {
|
|
681
681
|
get active() {
|
|
@@ -807,7 +807,7 @@ const mr = {
|
|
|
807
807
|
delayInitialFocus: n.delayInitialFocus
|
|
808
808
|
}));
|
|
809
809
|
}
|
|
810
|
-
return
|
|
810
|
+
return Me(() => {
|
|
811
811
|
Ne(() => n.active, (f) => {
|
|
812
812
|
f && u.value ? o().activate() : r && (r.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (r = null));
|
|
813
813
|
}, { immediate: !0, flush: "post" });
|
|
@@ -841,17 +841,15 @@ function Gt() {
|
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
}
|
|
851
|
-
};
|
|
844
|
+
var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
845
|
+
function yr(n) {
|
|
846
|
+
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
847
|
+
}
|
|
848
|
+
var Re = { exports: {} };
|
|
849
|
+
Re.exports;
|
|
852
850
|
(function(n, t) {
|
|
853
|
-
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", _ = "[object Error]", E = "[object Function]", F = "[object GeneratorFunction]", D = "[object Map]", C = "[object Number]", O = "[object Object]",
|
|
854
|
-
I[u] = I[o] = I[L] = I[S] = I[f] = I[g] = I[l] = I[d] = I[b] = I[k] = I[h] = I[D] = I[C] = I[O] = I[z] = I[P] = I[W] = I[V] = I[A] = I[p] = I[
|
|
851
|
+
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", _ = "[object Error]", E = "[object Function]", F = "[object GeneratorFunction]", D = "[object Map]", C = "[object Number]", O = "[object Object]", Z = "[object Promise]", z = "[object RegExp]", P = "[object Set]", W = "[object String]", V = "[object Symbol]", T = "[object WeakMap]", L = "[object ArrayBuffer]", S = "[object DataView]", l = "[object Float32Array]", d = "[object Float64Array]", b = "[object Int8Array]", k = "[object Int16Array]", h = "[object Int32Array]", A = "[object Uint8Array]", p = "[object Uint8ClampedArray]", M = "[object Uint16Array]", re = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, Ze = /^\[object .+?Constructor\]$/, ve = /^(?:0|[1-9]\d*)$/, I = {};
|
|
852
|
+
I[u] = I[o] = I[L] = I[S] = I[f] = I[g] = I[l] = I[d] = I[b] = I[k] = I[h] = I[D] = I[C] = I[O] = I[z] = I[P] = I[W] = I[V] = I[A] = I[p] = I[M] = I[re] = !0, I[_] = I[E] = I[T] = !1;
|
|
855
853
|
var Wt = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, qt = typeof self == "object" && self && self.Object === Object && self, J = Wt || qt || Function("return this")(), it = t && !t.nodeType && t, ot = it && !0 && n && !n.nodeType && n, Yt = ot && ot.exports === it;
|
|
856
854
|
function Xt(e, i) {
|
|
857
855
|
return e.set(i[0], i[1]), e;
|
|
@@ -1043,7 +1041,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1043
1041
|
return s;
|
|
1044
1042
|
return -1;
|
|
1045
1043
|
}
|
|
1046
|
-
function
|
|
1044
|
+
function Ma(e, i) {
|
|
1047
1045
|
return e && _t(i, qe(i), e);
|
|
1048
1046
|
}
|
|
1049
1047
|
function Ge(e, i, s, v, B, j, U) {
|
|
@@ -1064,7 +1062,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1064
1062
|
if (ct(e))
|
|
1065
1063
|
return j ? e : {};
|
|
1066
1064
|
if (H = tn(Ot ? {} : e), !i)
|
|
1067
|
-
return Ja(e,
|
|
1065
|
+
return Ja(e, Ma(H, e));
|
|
1068
1066
|
} else {
|
|
1069
1067
|
if (!I[fe])
|
|
1070
1068
|
return j ? e : {};
|
|
@@ -1081,7 +1079,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1081
1079
|
At && (Ce = Ye, Ye = e[Ce]), yt(H, Ce, Ge(Ye, i, s, v, Ce, e, U));
|
|
1082
1080
|
}), H;
|
|
1083
1081
|
}
|
|
1084
|
-
function
|
|
1082
|
+
function Za(e) {
|
|
1085
1083
|
return Ie(e) ? sa(e) : {};
|
|
1086
1084
|
}
|
|
1087
1085
|
function Pa(e, i, s) {
|
|
@@ -1094,7 +1092,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1094
1092
|
function Ha(e) {
|
|
1095
1093
|
if (!Ie(e) || on(e))
|
|
1096
1094
|
return !1;
|
|
1097
|
-
var i = It(e) || ct(e) ? ia :
|
|
1095
|
+
var i = It(e) || ct(e) ? ia : Ze;
|
|
1098
1096
|
return i.test(se(e));
|
|
1099
1097
|
}
|
|
1100
1098
|
function Ka(e) {
|
|
@@ -1167,7 +1165,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1167
1165
|
return Ha(s) ? s : void 0;
|
|
1168
1166
|
}
|
|
1169
1167
|
var wt = pt ? Pe(pt, Object) : vn, oe = ja;
|
|
1170
|
-
(He && oe(new He(new ArrayBuffer(1))) != S || be && oe(new be()) != D || Ke && oe(Ke.resolve()) !=
|
|
1168
|
+
(He && oe(new He(new ArrayBuffer(1))) != S || be && oe(new be()) != D || Ke && oe(Ke.resolve()) != Z || ze && oe(new ze()) != P || Ve && oe(new Ve()) != T) && (oe = function(e) {
|
|
1171
1169
|
var i = Te.call(e), s = i == O ? e.constructor : void 0, v = s ? se(s) : void 0;
|
|
1172
1170
|
if (v)
|
|
1173
1171
|
switch (v) {
|
|
@@ -1176,7 +1174,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1176
1174
|
case va:
|
|
1177
1175
|
return D;
|
|
1178
1176
|
case ba:
|
|
1179
|
-
return
|
|
1177
|
+
return Z;
|
|
1180
1178
|
case ha:
|
|
1181
1179
|
return P;
|
|
1182
1180
|
case pa:
|
|
@@ -1189,7 +1187,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1189
1187
|
return i && typeof e[0] == "string" && ne.call(e, "index") && (s.index = e.index, s.input = e.input), s;
|
|
1190
1188
|
}
|
|
1191
1189
|
function tn(e) {
|
|
1192
|
-
return typeof e.constructor == "function" && !Tt(e) ?
|
|
1190
|
+
return typeof e.constructor == "function" && !Tt(e) ? Za(oa(e)) : {};
|
|
1193
1191
|
}
|
|
1194
1192
|
function an(e, i, s, v) {
|
|
1195
1193
|
var B = e.constructor;
|
|
@@ -1208,7 +1206,7 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1208
1206
|
case h:
|
|
1209
1207
|
case A:
|
|
1210
1208
|
case p:
|
|
1211
|
-
case
|
|
1209
|
+
case M:
|
|
1212
1210
|
case re:
|
|
1213
1211
|
return Ya(e, v);
|
|
1214
1212
|
case D:
|
|
@@ -1292,24 +1290,25 @@ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1292
1290
|
return !1;
|
|
1293
1291
|
}
|
|
1294
1292
|
n.exports = sn;
|
|
1295
|
-
})(
|
|
1296
|
-
|
|
1293
|
+
})(Re, Re.exports);
|
|
1294
|
+
var _r = Re.exports;
|
|
1295
|
+
const wr = /* @__PURE__ */ yr(_r), Tr = {
|
|
1297
1296
|
key: 0,
|
|
1298
1297
|
class: "sidebar-header"
|
|
1299
|
-
},
|
|
1298
|
+
}, Sr = { class: "sidebar-content-container" }, kr = {
|
|
1300
1299
|
key: 0,
|
|
1301
1300
|
class: "sidebar-top"
|
|
1302
|
-
},
|
|
1301
|
+
}, Ir = { "aria-label": "Main menu" }, Cr = {
|
|
1303
1302
|
key: 0,
|
|
1304
1303
|
class: "level-primary top-items"
|
|
1305
|
-
},
|
|
1304
|
+
}, Or = {
|
|
1306
1305
|
key: 1,
|
|
1307
1306
|
class: "sidebar-level-divider",
|
|
1308
1307
|
role: "separator"
|
|
1309
|
-
},
|
|
1308
|
+
}, xr = {
|
|
1310
1309
|
key: 2,
|
|
1311
1310
|
class: "level-primary bottom-items"
|
|
1312
|
-
},
|
|
1311
|
+
}, Ar = { class: "sidebar-footer" }, Er = /* @__PURE__ */ te({
|
|
1313
1312
|
__name: "AppSidebar",
|
|
1314
1313
|
props: {
|
|
1315
1314
|
topItems: {
|
|
@@ -1394,10 +1393,10 @@ const _r = Re, wr = {
|
|
|
1394
1393
|
})), _ = w(() => ({
|
|
1395
1394
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1396
1395
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1397
|
-
})), E = (h) =>
|
|
1398
|
-
var
|
|
1396
|
+
})), E = (h) => wr(h).map((p) => {
|
|
1397
|
+
var M, re, Y;
|
|
1399
1398
|
if (p) {
|
|
1400
|
-
(!p.key || !((
|
|
1399
|
+
(!p.key || !((M = p.key) != null && M.trim())) && (p.key = String(p.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!p.testId || !((re = p.testId) != null && re.trim())) && (p.testId = String(p.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1401
1400
|
for (const X of p.items || [])
|
|
1402
1401
|
X.parentKey = p.key, (!X.testId || !((Y = X.testId) != null && Y.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1403
1402
|
}
|
|
@@ -1405,7 +1404,7 @@ const _r = Re, wr = {
|
|
|
1405
1404
|
}), F = w(() => a.topItems.length ? E(a.topItems) : []), D = w(() => a.bottomItems.length ? E(a.bottomItems) : []), C = G(a.open), O = (h) => {
|
|
1406
1405
|
var A, p;
|
|
1407
1406
|
C.value !== h && (C.value = h, t("toggle", h)), h ? (A = document == null ? void 0 : document.body) == null || A.classList.add("kong-ui-app-sidebar-open") : (p = document == null ? void 0 : document.body) == null || p.classList.remove("kong-ui-app-sidebar-open"), z.value = !1;
|
|
1408
|
-
},
|
|
1407
|
+
}, Z = () => {
|
|
1409
1408
|
a.mobileOverlayCloseOnClick && O(!1);
|
|
1410
1409
|
}, z = G(!1), P = (h) => {
|
|
1411
1410
|
z.value = !0, t("click", h), setTimeout(() => {
|
|
@@ -1421,19 +1420,19 @@ const _r = Re, wr = {
|
|
|
1421
1420
|
L.value || (L.value = !0, clearTimeout(S.value), S.value = setTimeout(() => L.value = !1, 1300));
|
|
1422
1421
|
}, d = G(null), b = w(() => C.value && a.mobileEnabled), k = async (h) => {
|
|
1423
1422
|
var A, p;
|
|
1424
|
-
h ? (await _n(), await new Promise((
|
|
1423
|
+
h ? (await _n(), await new Promise((M) => setTimeout(M, 300)), (A = d.value) == null || A.activate()) : (p = d.value) == null || p.deactivate();
|
|
1425
1424
|
};
|
|
1426
1425
|
return Ne(b, async (h) => {
|
|
1427
1426
|
h ? await k(!0) : await k(!1);
|
|
1428
|
-
}, { immediate: !0 }),
|
|
1427
|
+
}, { immediate: !0 }), Me(() => {
|
|
1429
1428
|
T.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", V), window.addEventListener("resize", l);
|
|
1430
|
-
}),
|
|
1429
|
+
}), Zt(() => {
|
|
1431
1430
|
window.removeEventListener("resize", V), window.removeEventListener("resize", l);
|
|
1432
1431
|
}), (h, A) => (y(), N(ye, null, [
|
|
1433
1432
|
C.value && n.mobileOverlay && n.mobileEnabled ? (y(), N("div", {
|
|
1434
1433
|
key: 0,
|
|
1435
1434
|
class: "kong-ui-app-sidebar-overlay",
|
|
1436
|
-
onClick:
|
|
1435
|
+
onClick: Z
|
|
1437
1436
|
})) : R("", !0),
|
|
1438
1437
|
tt(m(gr), {
|
|
1439
1438
|
ref_key: "focusTrap",
|
|
@@ -1453,23 +1452,23 @@ const _r = Re, wr = {
|
|
|
1453
1452
|
}]),
|
|
1454
1453
|
tabindex: "-1"
|
|
1455
1454
|
}, [
|
|
1456
|
-
m(c) ? (y(), N("div",
|
|
1455
|
+
m(c) ? (y(), N("div", Tr, [
|
|
1457
1456
|
$(h.$slots, "header", {}, void 0, !0)
|
|
1458
1457
|
])) : R("", !0),
|
|
1459
|
-
x("div",
|
|
1460
|
-
m(u) ? (y(), N("div",
|
|
1458
|
+
x("div", Sr, [
|
|
1459
|
+
m(u) ? (y(), N("div", kr, [
|
|
1461
1460
|
$(h.$slots, "top", {}, void 0, !0)
|
|
1462
1461
|
])) : R("", !0),
|
|
1463
|
-
x("nav",
|
|
1464
|
-
m(F).length ? (y(), N("ul",
|
|
1462
|
+
x("nav", Ir, [
|
|
1463
|
+
m(F).length ? (y(), N("ul", Cr, [
|
|
1465
1464
|
(y(!0), N(ye, null, Fe(m(F), (p) => (y(), q(Ft, {
|
|
1466
1465
|
key: p.name,
|
|
1467
1466
|
item: p,
|
|
1468
1467
|
onClick: P
|
|
1469
1468
|
}, null, 8, ["item"]))), 128))
|
|
1470
1469
|
])) : R("", !0),
|
|
1471
|
-
m(F).length && m(D).length ? (y(), N("div",
|
|
1472
|
-
m(D).length ? (y(), N("ul",
|
|
1470
|
+
m(F).length && m(D).length ? (y(), N("div", Or)) : R("", !0),
|
|
1471
|
+
m(D).length ? (y(), N("ul", xr, [
|
|
1473
1472
|
(y(!0), N(ye, null, Fe(m(D), (p) => (y(), q(Ft, {
|
|
1474
1473
|
key: p.name,
|
|
1475
1474
|
item: p,
|
|
@@ -1478,7 +1477,7 @@ const _r = Re, wr = {
|
|
|
1478
1477
|
])) : R("", !0)
|
|
1479
1478
|
])
|
|
1480
1479
|
]),
|
|
1481
|
-
x("div",
|
|
1480
|
+
x("div", Ar, [
|
|
1482
1481
|
$(h.$slots, "footer", {}, void 0, !0)
|
|
1483
1482
|
])
|
|
1484
1483
|
], 2)
|
|
@@ -1488,11 +1487,11 @@ const _r = Re, wr = {
|
|
|
1488
1487
|
], 64));
|
|
1489
1488
|
}
|
|
1490
1489
|
});
|
|
1491
|
-
const
|
|
1492
|
-
Nr,
|
|
1490
|
+
const Fr = /* @__PURE__ */ ae(Er, [["__scopeId", "data-v-6daf9f02"]]), rt = (n) => (at("data-v-33b3f7c3"), n = n(), nt(), n), Nr = ["aria-label", "onClick"], $r = /* @__PURE__ */ rt(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Dr = /* @__PURE__ */ rt(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Br = /* @__PURE__ */ rt(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Lr = [
|
|
1493
1491
|
$r,
|
|
1494
|
-
Dr
|
|
1495
|
-
|
|
1492
|
+
Dr,
|
|
1493
|
+
Br
|
|
1494
|
+
], Rr = /* @__PURE__ */ te({
|
|
1496
1495
|
__name: "SidebarToggle",
|
|
1497
1496
|
props: {
|
|
1498
1497
|
active: {
|
|
@@ -1514,16 +1513,16 @@ const Er = /* @__PURE__ */ ae(Ar, [["__scopeId", "data-v-6daf9f02"]]), rt = (n)
|
|
|
1514
1513
|
href: "#",
|
|
1515
1514
|
role: "button",
|
|
1516
1515
|
onClick: wn(c, ["prevent"])
|
|
1517
|
-
},
|
|
1516
|
+
}, Lr, 10, Nr));
|
|
1518
1517
|
}
|
|
1519
1518
|
});
|
|
1520
|
-
const
|
|
1519
|
+
const Mr = /* @__PURE__ */ ae(Rr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n) => (at("data-v-94724415"), n = n(), nt(), n), Pr = { id: "kong-ui-app-layout-notification" }, jr = { class: "mobile-logo" }, Hr = {
|
|
1521
1520
|
key: 0,
|
|
1522
1521
|
class: "navbar-logo"
|
|
1523
|
-
},
|
|
1522
|
+
}, Kr = {
|
|
1524
1523
|
class: "kong-ui-app-layout-main",
|
|
1525
1524
|
"data-testid": "kong-ui-app-layout-main"
|
|
1526
|
-
},
|
|
1525
|
+
}, zr = { class: "kong-ui-app-layout-content" }, Vr = /* @__PURE__ */ Zr(() => /* @__PURE__ */ x("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Gr = /* @__PURE__ */ te({
|
|
1527
1526
|
__name: "AppLayout",
|
|
1528
1527
|
props: {
|
|
1529
1528
|
hideDefaultSlot: {
|
|
@@ -1557,7 +1556,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1557
1556
|
setup(n, { emit: t }) {
|
|
1558
1557
|
const a = n;
|
|
1559
1558
|
Qe((T) => ({
|
|
1560
|
-
"1b158334": m(
|
|
1559
|
+
"1b158334": m(Z),
|
|
1561
1560
|
"78d53b27": m(z)
|
|
1562
1561
|
}));
|
|
1563
1562
|
const r = et(), c = Ee({
|
|
@@ -1584,13 +1583,13 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1584
1583
|
Tn(() => {
|
|
1585
1584
|
_.value = Sn(f, "open").value || !1;
|
|
1586
1585
|
});
|
|
1587
|
-
const F = G(0), D = G(60), C = G(0), O = w(() => o.hidden ? C.value : D.value + C.value),
|
|
1586
|
+
const F = G(0), D = G(60), C = G(0), O = w(() => o.hidden ? C.value : D.value + C.value), Z = w(() => `${O.value}px`), z = w(() => f.hidden || o.hidden ? "0" : "16px"), { debounce: P } = Gt(), W = P((T = !1) => {
|
|
1588
1587
|
if (T || F.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1589
1588
|
const L = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1590
1589
|
L && (C.value = L.offsetHeight);
|
|
1591
1590
|
}
|
|
1592
1591
|
}, 200), V = G();
|
|
1593
|
-
return
|
|
1592
|
+
return Me(() => {
|
|
1594
1593
|
var L, S;
|
|
1595
1594
|
(L = document == null ? void 0 : document.body) == null || L.classList.add("kong-ui-app-layout-body"), (S = document == null ? void 0 : document.documentElement) == null || S.classList.add("kong-ui-app-layout-html"), F.value = window == null ? void 0 : window.innerWidth, W(!0);
|
|
1596
1595
|
const T = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
@@ -1600,7 +1599,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1600
1599
|
C.value !== b && (C.value = b);
|
|
1601
1600
|
}
|
|
1602
1601
|
}), V.value.observe(T)), window.addEventListener("resize", W);
|
|
1603
|
-
}),
|
|
1602
|
+
}), Zt(() => {
|
|
1604
1603
|
V.value && V.value.disconnect(), window.removeEventListener("resize", W);
|
|
1605
1604
|
}), (T, L) => (y(), N("div", {
|
|
1606
1605
|
class: ee(["kong-ui-app-layout", [
|
|
@@ -1608,7 +1607,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1608
1607
|
{ "sidebar-hidden": f.hidden }
|
|
1609
1608
|
]])
|
|
1610
1609
|
}, [
|
|
1611
|
-
x("div",
|
|
1610
|
+
x("div", Pr, [
|
|
1612
1611
|
$(T.$slots, "notification", {}, void 0, !0)
|
|
1613
1612
|
]),
|
|
1614
1613
|
o.hidden ? R("", !0) : (y(), q(Dn, {
|
|
@@ -1617,7 +1616,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1617
1616
|
"top-offset": C.value
|
|
1618
1617
|
}, Et({
|
|
1619
1618
|
"mobile-sidebar-toggle": K(() => [
|
|
1620
|
-
f.hidden ? R("", !0) : (y(), q(
|
|
1619
|
+
f.hidden ? R("", !0) : (y(), q(Mr, {
|
|
1621
1620
|
key: 0,
|
|
1622
1621
|
active: _.value,
|
|
1623
1622
|
onToggle: E
|
|
@@ -1628,7 +1627,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1628
1627
|
c.navbarMobileLogo ? {
|
|
1629
1628
|
name: "mobile-logo",
|
|
1630
1629
|
fn: K(() => [
|
|
1631
|
-
x("div",
|
|
1630
|
+
x("div", jr, [
|
|
1632
1631
|
$(T.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1633
1632
|
])
|
|
1634
1633
|
]),
|
|
@@ -1637,7 +1636,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1637
1636
|
c.navbarLogo ? {
|
|
1638
1637
|
name: "logo",
|
|
1639
1638
|
fn: K(() => [
|
|
1640
|
-
f.hidden ? (y(), N("div",
|
|
1639
|
+
f.hidden ? (y(), N("div", Hr, [
|
|
1641
1640
|
$(T.$slots, "navbar-logo", {}, void 0, !0)
|
|
1642
1641
|
])) : R("", !0)
|
|
1643
1642
|
]),
|
|
@@ -1665,7 +1664,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1665
1664
|
key: "4"
|
|
1666
1665
|
} : void 0
|
|
1667
1666
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1668
|
-
f.hidden ? R("", !0) : (y(), q(
|
|
1667
|
+
f.hidden ? R("", !0) : (y(), q(Fr, {
|
|
1669
1668
|
key: 1,
|
|
1670
1669
|
"bottom-items": f.bottomItems,
|
|
1671
1670
|
"header-height": D.value,
|
|
@@ -1700,9 +1699,9 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1700
1699
|
key: "2"
|
|
1701
1700
|
} : void 0
|
|
1702
1701
|
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
1703
|
-
x("main",
|
|
1704
|
-
x("div",
|
|
1705
|
-
|
|
1702
|
+
x("main", Kr, [
|
|
1703
|
+
x("div", zr, [
|
|
1704
|
+
Vr,
|
|
1706
1705
|
$(T.$slots, "app-error", {}, void 0, !0),
|
|
1707
1706
|
m(u) ? R("", !0) : $(T.$slots, "default", { key: 0 }, void 0, !0)
|
|
1708
1707
|
])
|
|
@@ -1710,7 +1709,7 @@ const Rr = /* @__PURE__ */ ae(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
|
|
|
1710
1709
|
], 2));
|
|
1711
1710
|
}
|
|
1712
1711
|
});
|
|
1713
|
-
const
|
|
1712
|
+
const Ur = /* @__PURE__ */ ae(Gr, [["__scopeId", "data-v-94724415"]]), Wr = /* @__PURE__ */ te({
|
|
1714
1713
|
__name: "AccountDropdown",
|
|
1715
1714
|
props: {
|
|
1716
1715
|
options: {
|
|
@@ -1761,51 +1760,51 @@ const Gr = /* @__PURE__ */ ae(Vr, [["__scopeId", "data-v-94724415"]]), Ur = /* @
|
|
|
1761
1760
|
};
|
|
1762
1761
|
}
|
|
1763
1762
|
});
|
|
1764
|
-
const
|
|
1763
|
+
const ci = /* @__PURE__ */ ae(Wr, [["__scopeId", "data-v-6e34d3da"]]), qr = {}, Yr = {
|
|
1765
1764
|
fill: "none",
|
|
1766
1765
|
height: "130",
|
|
1767
1766
|
width: "130",
|
|
1768
1767
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1769
|
-
},
|
|
1770
|
-
|
|
1768
|
+
}, Xr = /* @__PURE__ */ kn('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5), Jr = [
|
|
1769
|
+
Xr
|
|
1771
1770
|
];
|
|
1772
|
-
function
|
|
1773
|
-
return y(), N("svg",
|
|
1771
|
+
function Qr(n, t) {
|
|
1772
|
+
return y(), N("svg", Yr, Jr);
|
|
1774
1773
|
}
|
|
1775
|
-
const
|
|
1774
|
+
const ei = /* @__PURE__ */ ae(qr, [["render", Qr]]), Ut = (n) => (at("data-v-ff05f71e"), n = n(), nt(), n), ti = { class: "kong-ui-app-error" }, ai = { class: "banana-icon" }, ni = { class: "kong-ui-app-error-content" }, ri = /* @__PURE__ */ Ut(() => /* @__PURE__ */ x("h2", null, "An unexpected error has occurred", -1)), ii = /* @__PURE__ */ Ut(() => /* @__PURE__ */ x("p", null, [
|
|
1776
1775
|
/* @__PURE__ */ Xe("Go back to the previous page or "),
|
|
1777
1776
|
/* @__PURE__ */ x("a", { href: "/" }, "return home"),
|
|
1778
1777
|
/* @__PURE__ */ Xe(".")
|
|
1779
|
-
], -1)),
|
|
1778
|
+
], -1)), oi = /* @__PURE__ */ te({
|
|
1780
1779
|
__name: "AppError",
|
|
1781
1780
|
setup(n) {
|
|
1782
|
-
return (t, a) => (y(), N("section",
|
|
1783
|
-
x("div", ti, [
|
|
1784
|
-
tt(Qr)
|
|
1785
|
-
]),
|
|
1781
|
+
return (t, a) => (y(), N("section", ti, [
|
|
1786
1782
|
x("div", ai, [
|
|
1783
|
+
tt(ei)
|
|
1784
|
+
]),
|
|
1785
|
+
x("div", ni, [
|
|
1787
1786
|
$(t.$slots, "default", {}, () => [
|
|
1788
|
-
|
|
1789
|
-
|
|
1787
|
+
ri,
|
|
1788
|
+
ii
|
|
1790
1789
|
], !0)
|
|
1791
1790
|
])
|
|
1792
1791
|
]));
|
|
1793
1792
|
}
|
|
1794
1793
|
});
|
|
1795
|
-
const
|
|
1794
|
+
const li = /* @__PURE__ */ ae(oi, [["__scopeId", "data-v-ff05f71e"]]), ui = {
|
|
1796
1795
|
// Customize Vue plugin options as desired
|
|
1797
1796
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
1798
1797
|
install: (n, t = {}) => {
|
|
1799
|
-
n.component(t.name || "AppLayout",
|
|
1798
|
+
n.component(t.name || "AppLayout", Ur);
|
|
1800
1799
|
}
|
|
1801
1800
|
};
|
|
1802
1801
|
export {
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1802
|
+
ci as AccountDropdown,
|
|
1803
|
+
li as AppError,
|
|
1804
|
+
Ur as AppLayout,
|
|
1806
1805
|
Dn as AppNavbar,
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1806
|
+
Fr as AppSidebar,
|
|
1807
|
+
Mr as SidebarToggle,
|
|
1808
|
+
ui as default
|
|
1810
1809
|
};
|
|
1811
1810
|
//# sourceMappingURL=app-layout.es.js.map
|