@kong-ui-public/app-layout 0.15.20 → 0.16.0
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/README.md +0 -1
- package/dist/app-layout.es.js +436 -497
- 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/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/components/navbar/NavbarDropdownMenu.vue.d.ts +0 -56
- package/dist/types/components/navbar/NavbarDropdownMenu.vue.d.ts.map +0 -1
package/dist/app-layout.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ee, useCssVars as et, unref as m, useSlots as tt, computed as _, reactive as Ee, onMounted as Pe, openBlock as h, createElementBlock as A, createElementVNode as w, renderSlot as D, createCommentVNode as L, toDisplayString as ie, resolveComponent as oe, normalizeClass as Q, createBlock as z, resolveDynamicComponent as hn, withCtx as P, withKeys as mn, createVNode as Ze, Fragment as pe, renderList as _e, withModifiers as Pt, ref as U, watch as Ne, onUnmounted as gn, Comment as yn, cloneVNode as _n, onBeforeUnmount as Zt, createTextVNode as Fe, nextTick as wn, pushScopeId as at, popScopeId as nt, watchEffect as Tn, toRef as kn, createSlots as $t, createStaticVNode as Sn } from "vue";
|
|
2
2
|
const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, xn = { class: "mobile-header-left" }, On = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "app-navbar-logo"
|
|
5
|
-
}, An = { class: "navbar-content" }, $n = { class: "navbar-content-left" },
|
|
5
|
+
}, An = { class: "navbar-content" }, $n = { class: "navbar-content-left" }, En = { class: "navbar-content-center" }, Nn = { class: "navbar-content-right" }, Fn = /* @__PURE__ */ ee({
|
|
6
6
|
__name: "AppNavbar",
|
|
7
7
|
props: {
|
|
8
8
|
topOffset: {
|
|
@@ -41,23 +41,23 @@ const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, xn
|
|
|
41
41
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
42
42
|
zIndex: t.zIndex
|
|
43
43
|
}));
|
|
44
|
-
return (o, f) => (
|
|
44
|
+
return (o, f) => (h(), A("header", In, [
|
|
45
45
|
w("div", Cn, [
|
|
46
46
|
w("div", xn, [
|
|
47
47
|
D(o.$slots, "mobile-sidebar-toggle"),
|
|
48
48
|
D(o.$slots, "mobile-logo")
|
|
49
49
|
]),
|
|
50
|
-
m(r) ? (
|
|
50
|
+
m(r) ? (h(), A("div", On, [
|
|
51
51
|
D(o.$slots, "logo")
|
|
52
|
-
])) :
|
|
52
|
+
])) : L("", !0),
|
|
53
53
|
w("div", An, [
|
|
54
54
|
w("div", $n, [
|
|
55
55
|
D(o.$slots, "left")
|
|
56
56
|
]),
|
|
57
|
-
w("div",
|
|
57
|
+
w("div", En, [
|
|
58
58
|
D(o.$slots, "center")
|
|
59
59
|
]),
|
|
60
|
-
w("div",
|
|
60
|
+
w("div", Nn, [
|
|
61
61
|
D(o.$slots, "right")
|
|
62
62
|
])
|
|
63
63
|
])
|
|
@@ -65,12 +65,12 @@ const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, xn
|
|
|
65
65
|
]));
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
const
|
|
68
|
+
const J = (n, t) => {
|
|
69
69
|
const a = n.__vccOpts || n;
|
|
70
70
|
for (const [r, c] of t)
|
|
71
71
|
a[r] = c;
|
|
72
72
|
return a;
|
|
73
|
-
}, Dn = /* @__PURE__ */
|
|
73
|
+
}, Dn = /* @__PURE__ */ J(Fn, [["__scopeId", "data-v-b7131fb2"]]), Bn = ["title"], Ln = /* @__PURE__ */ ee({
|
|
74
74
|
__name: "ItemBadge",
|
|
75
75
|
props: {
|
|
76
76
|
count: {
|
|
@@ -81,20 +81,20 @@ const Y = (n, t) => {
|
|
|
81
81
|
},
|
|
82
82
|
setup(n) {
|
|
83
83
|
const t = n, a = 99, r = _(() => t.count ? t.count > a ? `${a}+` : t.count.toString() : "");
|
|
84
|
-
return (c, u) => m(r) ? (
|
|
84
|
+
return (c, u) => m(r) ? (h(), A("div", {
|
|
85
85
|
key: 0,
|
|
86
86
|
class: "item-badge",
|
|
87
87
|
title: (n.count || 0) > a ? String(n.count) : void 0
|
|
88
|
-
}, ie(m(r)), 9,
|
|
88
|
+
}, ie(m(r)), 9, Bn)) : L("", !0);
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
const
|
|
91
|
+
const Mn = /* @__PURE__ */ J(Ln, [["__scopeId", "data-v-9e48c714"]]), Rn = ["data-testid"], Pn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Zn = {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: "sidebar-item-icon"
|
|
94
94
|
}, jn = { class: "sidebar-item-name-container" }, Kn = { class: "sidebar-item-name has-tooltip" }, Hn = {
|
|
95
95
|
key: 2,
|
|
96
96
|
class: "sidebar-item-label truncate-text truncate-20"
|
|
97
|
-
}, zn = ["id"], Vn = /* @__PURE__ */
|
|
97
|
+
}, zn = ["id"], Vn = /* @__PURE__ */ ee({
|
|
98
98
|
__name: "SidebarItem",
|
|
99
99
|
props: {
|
|
100
100
|
item: {
|
|
@@ -110,91 +110,91 @@ const Ln = /* @__PURE__ */ Y(Bn, [["__scopeId", "data-v-9e48c714"]]), Rn = ["dat
|
|
|
110
110
|
setup(n, { emit: t }) {
|
|
111
111
|
const a = n, r = _(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), c = _(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), u = _(() => a.subnavItem && a.item.badgeCount !== void 0), o = (g) => {
|
|
112
112
|
t("click", g);
|
|
113
|
-
}, f = (g, T,
|
|
114
|
-
o(T), typeof
|
|
113
|
+
}, f = (g, T, N) => {
|
|
114
|
+
o(T), typeof N == "function" && (g.preventDefault(), N());
|
|
115
115
|
};
|
|
116
116
|
return (g, T) => {
|
|
117
|
-
var
|
|
118
|
-
const
|
|
119
|
-
return
|
|
120
|
-
class:
|
|
117
|
+
var O;
|
|
118
|
+
const N = oe("KIcon"), F = oe("KTooltip"), B = oe("SidebarItem", !0);
|
|
119
|
+
return h(), A("li", {
|
|
120
|
+
class: Q([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
|
|
121
121
|
"data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
|
|
122
122
|
}, [
|
|
123
|
-
(
|
|
123
|
+
(h(), z(hn(m(r) ? "div" : "router-link"), {
|
|
124
124
|
custom: m(r) ? void 0 : !0,
|
|
125
125
|
to: !m(r) && !m(c) ? n.item.to : void 0
|
|
126
126
|
}, {
|
|
127
|
-
default:
|
|
128
|
-
var
|
|
127
|
+
default: P(($) => {
|
|
128
|
+
var K, W;
|
|
129
129
|
return [
|
|
130
130
|
w("a", {
|
|
131
|
-
"aria-controls": (
|
|
132
|
-
"aria-expanded": (
|
|
133
|
-
class:
|
|
134
|
-
href: m(r) ? String(n.item.to || "#") :
|
|
131
|
+
"aria-controls": (K = n.item.items) != null && K.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
|
|
132
|
+
"aria-expanded": (W = n.item.items) != null && W.length && n.item.expanded ? !0 : void 0,
|
|
133
|
+
class: Q(["sidebar-item-link", { "sidebar-item-external-link": m(c), "router-link": !m(r) }]),
|
|
134
|
+
href: m(r) ? String(n.item.to || "#") : $ == null ? void 0 : $.href,
|
|
135
135
|
target: m(c) ? "_blank" : void 0,
|
|
136
|
-
onClick: (
|
|
137
|
-
onKeypress: mn((
|
|
136
|
+
onClick: (j) => f(j, n.item, $ == null ? void 0 : $.navigate),
|
|
137
|
+
onKeypress: mn((j) => f(j, n.item, $ == null ? void 0 : $.navigate), ["enter"])
|
|
138
138
|
}, [
|
|
139
139
|
w("div", {
|
|
140
|
-
class:
|
|
140
|
+
class: Q(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": m(u) }])
|
|
141
141
|
}, [
|
|
142
|
-
n.item.icon ? (
|
|
143
|
-
Ze(
|
|
142
|
+
n.item.icon ? (h(), A("div", Zn, [
|
|
143
|
+
Ze(N, {
|
|
144
144
|
color: n.item.active || n.item.expanded ? "var(--white, #fff)" : "#B5BECD",
|
|
145
145
|
icon: String(n.item.icon),
|
|
146
146
|
size: "20"
|
|
147
147
|
}, null, 8, ["color", "icon"])
|
|
148
|
-
])) :
|
|
148
|
+
])) : L("", !0),
|
|
149
149
|
w("div", jn, [
|
|
150
|
-
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (
|
|
150
|
+
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (h(), A("div", {
|
|
151
151
|
key: 0,
|
|
152
|
-
class:
|
|
153
|
-
}, ie(n.item.name), 3)) : (
|
|
152
|
+
class: Q(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
|
|
153
|
+
}, ie(n.item.name), 3)) : (h(), z(F, {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: "sidebar-item-tooltip",
|
|
156
156
|
label: n.item.name,
|
|
157
157
|
placement: "right",
|
|
158
158
|
"position-fixed": ""
|
|
159
159
|
}, {
|
|
160
|
-
default:
|
|
160
|
+
default: P(() => [
|
|
161
161
|
w("div", Kn, [
|
|
162
162
|
w("span", {
|
|
163
|
-
class:
|
|
163
|
+
class: Q(["truncate-text", [n.subnavItem ? "truncate-20" : "truncate-17", { "has-badge-max-width": m(u) }]])
|
|
164
164
|
}, ie(n.item.name), 3)
|
|
165
165
|
])
|
|
166
166
|
]),
|
|
167
167
|
_: 1
|
|
168
168
|
}, 8, ["label"])),
|
|
169
|
-
n.item.label && n.item.expanded ? (
|
|
169
|
+
n.item.label && n.item.expanded ? (h(), A("div", Hn, ie(n.item.label), 1)) : L("", !0)
|
|
170
170
|
]),
|
|
171
|
-
m(u) ? (
|
|
171
|
+
m(u) ? (h(), z(Mn, {
|
|
172
172
|
key: 1,
|
|
173
173
|
count: n.item.badgeCount
|
|
174
|
-
}, null, 8, ["count"])) :
|
|
174
|
+
}, null, 8, ["count"])) : L("", !0)
|
|
175
175
|
], 2)
|
|
176
176
|
], 42, Pn)
|
|
177
177
|
];
|
|
178
178
|
}),
|
|
179
179
|
_: 1
|
|
180
180
|
}, 8, ["custom", "to"])),
|
|
181
|
-
(
|
|
181
|
+
(O = n.item.items) != null && O.length && n.item.expanded ? (h(), A("ul", {
|
|
182
182
|
key: 0,
|
|
183
183
|
id: `subnav-${n.item.key}`,
|
|
184
184
|
class: "level-secondary"
|
|
185
185
|
}, [
|
|
186
|
-
(
|
|
187
|
-
key:
|
|
188
|
-
item:
|
|
186
|
+
(h(!0), A(pe, null, _e(n.item.items, ($) => (h(), z(B, {
|
|
187
|
+
key: $.name,
|
|
188
|
+
item: $,
|
|
189
189
|
"subnav-item": !0,
|
|
190
|
-
onClick: (
|
|
190
|
+
onClick: (K) => o($)
|
|
191
191
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
192
|
-
], 8, zn)) :
|
|
192
|
+
], 8, zn)) : L("", !0)
|
|
193
193
|
], 10, Rn);
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
-
const
|
|
197
|
+
const Et = /* @__PURE__ */ J(Vn, [["__scopeId", "data-v-a8253818"]]), Wn = {}, Gn = {
|
|
198
198
|
class: "profile-icon",
|
|
199
199
|
fill: "none",
|
|
200
200
|
height: "30",
|
|
@@ -211,16 +211,16 @@ const Nt = /* @__PURE__ */ Y(Vn, [["__scopeId", "data-v-a8253818"]]), Wn = {}, G
|
|
|
211
211
|
qn
|
|
212
212
|
];
|
|
213
213
|
function Xn(n, t) {
|
|
214
|
-
return
|
|
214
|
+
return h(), A("svg", Gn, Yn);
|
|
215
215
|
}
|
|
216
|
-
const Jn = /* @__PURE__ */
|
|
216
|
+
const Jn = /* @__PURE__ */ J(Wn, [["render", Xn]]), Qn = {
|
|
217
217
|
"aria-haspopup": "true",
|
|
218
218
|
"aria-label": "Profile Menu",
|
|
219
219
|
class: "sidebar-footer-nav"
|
|
220
220
|
}, er = { class: "sidebar-profile-link" }, tr = { class: "sidebar-item-icon" }, ar = { class: "sidebar-profile-item-container" }, nr = { class: "sidebar-profile-dropdown-container" }, rr = {
|
|
221
221
|
key: 0,
|
|
222
222
|
class: "sidebar-profile-name"
|
|
223
|
-
}, ir = { class: "sidebar-profile-name" }, or = /* @__PURE__ */
|
|
223
|
+
}, ir = { class: "sidebar-profile-name" }, or = /* @__PURE__ */ ee({
|
|
224
224
|
__name: "SidebarFooter",
|
|
225
225
|
props: {
|
|
226
226
|
name: {
|
|
@@ -236,23 +236,23 @@ const Jn = /* @__PURE__ */ Y(Wn, [["render", Xn]]), Qn = {
|
|
|
236
236
|
setup(n) {
|
|
237
237
|
const t = n, a = _(() => t.itemCount > 0);
|
|
238
238
|
return (r, c) => {
|
|
239
|
-
const u =
|
|
240
|
-
return
|
|
239
|
+
const u = oe("KDropdownMenu");
|
|
240
|
+
return h(), A("nav", Qn, [
|
|
241
241
|
w("div", er, [
|
|
242
242
|
w("div", tr, [
|
|
243
243
|
Ze(Jn)
|
|
244
244
|
]),
|
|
245
245
|
w("div", ar, [
|
|
246
246
|
w("div", nr, [
|
|
247
|
-
m(a) ? (
|
|
247
|
+
m(a) ? (h(), z(u, {
|
|
248
248
|
key: 1,
|
|
249
249
|
"kpop-attributes": { placement: "right", popoverClasses: "ml-5 sidebar-profile-menu-popover", target: ".sidebar-footer-nav" },
|
|
250
250
|
width: "240"
|
|
251
251
|
}, {
|
|
252
|
-
items:
|
|
252
|
+
items: P(() => [
|
|
253
253
|
D(r.$slots, "default", {}, void 0, !0)
|
|
254
254
|
]),
|
|
255
|
-
default:
|
|
255
|
+
default: P(() => [
|
|
256
256
|
w("a", {
|
|
257
257
|
"aria-label": "Open Profile Menu",
|
|
258
258
|
class: "profile-dropdown-trigger",
|
|
@@ -265,7 +265,7 @@ const Jn = /* @__PURE__ */ Y(Wn, [["render", Xn]]), Qn = {
|
|
|
265
265
|
])
|
|
266
266
|
]),
|
|
267
267
|
_: 3
|
|
268
|
-
}, 8, ["kpop-attributes"])) : (
|
|
268
|
+
}, 8, ["kpop-attributes"])) : (h(), A("div", rr, ie(n.name), 1))
|
|
269
269
|
])
|
|
270
270
|
])
|
|
271
271
|
])
|
|
@@ -273,18 +273,18 @@ const Jn = /* @__PURE__ */ Y(Wn, [["render", Xn]]), Qn = {
|
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
const sr = /* @__PURE__ */
|
|
276
|
+
const sr = /* @__PURE__ */ J(or, [["__scopeId", "data-v-efc446ab"]]);
|
|
277
277
|
/*!
|
|
278
278
|
* tabbable 6.1.1
|
|
279
279
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
280
280
|
*/
|
|
281
|
-
var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], De = /* @__PURE__ */ jt.join(","), Kt = typeof Element > "u",
|
|
282
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
281
|
+
var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], De = /* @__PURE__ */ jt.join(","), Kt = typeof Element > "u", ue = Kt ? function() {
|
|
282
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Be = !Kt && Element.prototype.getRootNode ? function(n) {
|
|
283
283
|
var t;
|
|
284
284
|
return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
|
|
285
285
|
} : function(n) {
|
|
286
286
|
return n == null ? void 0 : n.ownerDocument;
|
|
287
|
-
},
|
|
287
|
+
}, Le = function n(t, a) {
|
|
288
288
|
var r;
|
|
289
289
|
a === void 0 && (a = !0);
|
|
290
290
|
var c = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), u = c === "" || c === "true", o = u || a && t && n(t.parentNode);
|
|
@@ -293,14 +293,14 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
293
293
|
var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
294
294
|
return r === "" || r === "true";
|
|
295
295
|
}, Ht = function(t, a, r) {
|
|
296
|
-
if (
|
|
296
|
+
if (Le(t))
|
|
297
297
|
return [];
|
|
298
298
|
var c = Array.prototype.slice.apply(t.querySelectorAll(De));
|
|
299
|
-
return a &&
|
|
299
|
+
return a && ue.call(t, De) && c.unshift(t), c = c.filter(r), c;
|
|
300
300
|
}, zt = function n(t, a, r) {
|
|
301
301
|
for (var c = [], u = Array.from(t); u.length; ) {
|
|
302
302
|
var o = u.shift();
|
|
303
|
-
if (!
|
|
303
|
+
if (!Le(o, !1))
|
|
304
304
|
if (o.tagName === "SLOT") {
|
|
305
305
|
var f = o.assignedElements(), g = f.length ? f : o.children, T = n(g, !0, r);
|
|
306
306
|
r.flatten ? c.push.apply(c, T) : c.push({
|
|
@@ -308,15 +308,15 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
308
308
|
candidates: T
|
|
309
309
|
});
|
|
310
310
|
} else {
|
|
311
|
-
var
|
|
312
|
-
|
|
313
|
-
var
|
|
314
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(o),
|
|
315
|
-
if (
|
|
316
|
-
var
|
|
317
|
-
r.flatten ? c.push.apply(c,
|
|
311
|
+
var N = ue.call(o, De);
|
|
312
|
+
N && r.filter(o) && (a || !t.includes(o)) && c.push(o);
|
|
313
|
+
var F = o.shadowRoot || // check for an undisclosed shadow
|
|
314
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), B = !Le(F, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
|
|
315
|
+
if (F && B) {
|
|
316
|
+
var O = n(F === !0 ? o.children : F.children, !0, r);
|
|
317
|
+
r.flatten ? c.push.apply(c, O) : c.push({
|
|
318
318
|
scopeParent: o,
|
|
319
|
-
candidates:
|
|
319
|
+
candidates: O
|
|
320
320
|
});
|
|
321
321
|
} else
|
|
322
322
|
u.unshift.apply(u, o.children);
|
|
@@ -343,7 +343,7 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
343
343
|
}, vr = function(t) {
|
|
344
344
|
if (!t.name)
|
|
345
345
|
return !0;
|
|
346
|
-
var a = t.form ||
|
|
346
|
+
var a = t.form || Be(t), r = function(f) {
|
|
347
347
|
return a.querySelectorAll('input[type="radio"][name="' + f + '"]');
|
|
348
348
|
}, c;
|
|
349
349
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -361,31 +361,31 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
361
361
|
}, pr = function(t) {
|
|
362
362
|
return br(t) && !vr(t);
|
|
363
363
|
}, hr = function(t) {
|
|
364
|
-
var a, r = t &&
|
|
364
|
+
var a, r = t && Be(t), c = (a = r) === null || a === void 0 ? void 0 : a.host, u = !1;
|
|
365
365
|
if (r && r !== t) {
|
|
366
366
|
var o, f, g;
|
|
367
367
|
for (u = !!((o = c) !== null && o !== void 0 && (f = o.ownerDocument) !== null && f !== void 0 && f.contains(c) || t != null && (g = t.ownerDocument) !== null && g !== void 0 && g.contains(t)); !u && c; ) {
|
|
368
|
-
var T,
|
|
369
|
-
r =
|
|
368
|
+
var T, N, F;
|
|
369
|
+
r = Be(c), c = (T = r) === null || T === void 0 ? void 0 : T.host, u = !!((N = c) !== null && N !== void 0 && (F = N.ownerDocument) !== null && F !== void 0 && F.contains(c));
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
return u;
|
|
373
|
-
},
|
|
373
|
+
}, Nt = function(t) {
|
|
374
374
|
var a = t.getBoundingClientRect(), r = a.width, c = a.height;
|
|
375
375
|
return r === 0 && c === 0;
|
|
376
376
|
}, mr = function(t, a) {
|
|
377
377
|
var r = a.displayCheck, c = a.getShadowRoot;
|
|
378
378
|
if (getComputedStyle(t).visibility === "hidden")
|
|
379
379
|
return !0;
|
|
380
|
-
var u =
|
|
381
|
-
if (
|
|
380
|
+
var u = ue.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
|
|
381
|
+
if (ue.call(o, "details:not([open]) *"))
|
|
382
382
|
return !0;
|
|
383
383
|
if (!r || r === "full" || r === "legacy-full") {
|
|
384
384
|
if (typeof c == "function") {
|
|
385
385
|
for (var f = t; t; ) {
|
|
386
|
-
var g = t.parentElement, T =
|
|
386
|
+
var g = t.parentElement, T = Be(t);
|
|
387
387
|
if (g && !g.shadowRoot && c(g) === !0)
|
|
388
|
-
return
|
|
388
|
+
return Nt(t);
|
|
389
389
|
t.assignedSlot ? t = t.assignedSlot : !g && T !== t.ownerDocument ? t = T.host : t = g;
|
|
390
390
|
}
|
|
391
391
|
t = f;
|
|
@@ -395,7 +395,7 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
395
395
|
if (r !== "legacy-full")
|
|
396
396
|
return !0;
|
|
397
397
|
} else if (r === "non-zero-area")
|
|
398
|
-
return
|
|
398
|
+
return Nt(t);
|
|
399
399
|
return !1;
|
|
400
400
|
}, gr = function(t) {
|
|
401
401
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
@@ -404,21 +404,21 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
404
404
|
for (var r = 0; r < a.children.length; r++) {
|
|
405
405
|
var c = a.children.item(r);
|
|
406
406
|
if (c.tagName === "LEGEND")
|
|
407
|
-
return
|
|
407
|
+
return ue.call(a, "fieldset[disabled] *") ? !0 : !c.contains(t);
|
|
408
408
|
}
|
|
409
409
|
return !0;
|
|
410
410
|
}
|
|
411
411
|
a = a.parentElement;
|
|
412
412
|
}
|
|
413
413
|
return !1;
|
|
414
|
-
},
|
|
414
|
+
}, Me = function(t, a) {
|
|
415
415
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
416
416
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
417
417
|
// note related to `candidateSelectors`)
|
|
418
|
-
|
|
418
|
+
Le(a) || ur(a) || mr(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
419
419
|
dr(a) || gr(a));
|
|
420
420
|
}, Qe = function(t, a) {
|
|
421
|
-
return !(pr(a) || Vt(a) < 0 || !
|
|
421
|
+
return !(pr(a) || Vt(a) < 0 || !Me(t, a));
|
|
422
422
|
}, yr = function(t) {
|
|
423
423
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
424
424
|
return !!(isNaN(a) || a >= 0);
|
|
@@ -449,18 +449,18 @@ var jt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
449
449
|
a = a || {};
|
|
450
450
|
var r;
|
|
451
451
|
return a.getShadowRoot ? r = zt([t], a.includeContainer, {
|
|
452
|
-
filter:
|
|
452
|
+
filter: Me.bind(null, a),
|
|
453
453
|
flatten: !0,
|
|
454
454
|
getShadowRoot: a.getShadowRoot
|
|
455
|
-
}) : r = Ht(t, a.includeContainer,
|
|
456
|
-
},
|
|
455
|
+
}) : r = Ht(t, a.includeContainer, Me.bind(null, a)), r;
|
|
456
|
+
}, Oe = function(t, a) {
|
|
457
457
|
if (a = a || {}, !t)
|
|
458
458
|
throw new Error("No node provided");
|
|
459
|
-
return
|
|
459
|
+
return ue.call(t, De) === !1 ? !1 : Qe(a, t);
|
|
460
460
|
}, kr = /* @__PURE__ */ jt.concat("iframe").join(","), Ft = function(t, a) {
|
|
461
461
|
if (a = a || {}, !t)
|
|
462
462
|
throw new Error("No node provided");
|
|
463
|
-
return
|
|
463
|
+
return ue.call(t, kr) === !1 ? !1 : Me(a, t);
|
|
464
464
|
};
|
|
465
465
|
/*!
|
|
466
466
|
* focus-trap 7.4.0
|
|
@@ -476,7 +476,7 @@ function Dt(n, t) {
|
|
|
476
476
|
}
|
|
477
477
|
return a;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Bt(n) {
|
|
480
480
|
for (var t = 1; t < arguments.length; t++) {
|
|
481
481
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
482
482
|
t % 2 ? Dt(Object(a), !0).forEach(function(r) {
|
|
@@ -511,7 +511,7 @@ function Cr(n) {
|
|
|
511
511
|
var t = Ir(n, "string");
|
|
512
512
|
return typeof t == "symbol" ? t : String(t);
|
|
513
513
|
}
|
|
514
|
-
var
|
|
514
|
+
var Lt = {
|
|
515
515
|
activateTrap: function(t, a) {
|
|
516
516
|
if (t.length > 0) {
|
|
517
517
|
var r = t[t.length - 1];
|
|
@@ -534,21 +534,21 @@ var Bt = {
|
|
|
534
534
|
return we(t) && !t.shiftKey;
|
|
535
535
|
}, $r = function(t) {
|
|
536
536
|
return we(t) && t.shiftKey;
|
|
537
|
-
},
|
|
537
|
+
}, Mt = function(t) {
|
|
538
538
|
return setTimeout(t, 0);
|
|
539
539
|
}, Rt = function(t, a) {
|
|
540
540
|
var r = -1;
|
|
541
541
|
return t.every(function(c, u) {
|
|
542
542
|
return a(c) ? (r = u, !1) : !0;
|
|
543
543
|
}), r;
|
|
544
|
-
},
|
|
544
|
+
}, ye = function(t) {
|
|
545
545
|
for (var a = arguments.length, r = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
|
|
546
546
|
r[c - 1] = arguments[c];
|
|
547
547
|
return typeof t == "function" ? t.apply(void 0, r) : t;
|
|
548
|
-
},
|
|
548
|
+
}, Ae = function(t) {
|
|
549
549
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
550
|
-
},
|
|
551
|
-
var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) ||
|
|
550
|
+
}, Er = [], Nr = function(t, a) {
|
|
551
|
+
var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) || Er, u = Bt({
|
|
552
552
|
returnFocusOnDeactivate: !0,
|
|
553
553
|
escapeDeactivates: !0,
|
|
554
554
|
delayInitialFocus: !0,
|
|
@@ -589,33 +589,33 @@ var Bt = {
|
|
|
589
589
|
return l && l[d] !== void 0 ? l[d] : u[b || d];
|
|
590
590
|
}, T = function(l) {
|
|
591
591
|
return o.containerGroups.findIndex(function(d) {
|
|
592
|
-
var b = d.container,
|
|
592
|
+
var b = d.container, C = d.tabbableNodes;
|
|
593
593
|
return b.contains(l) || // fall back to explicit tabbable search which will take into consideration any
|
|
594
594
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
595
595
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
596
596
|
// look inside web components even if open)
|
|
597
|
-
|
|
598
|
-
return
|
|
597
|
+
C.find(function(p) {
|
|
598
|
+
return p === l;
|
|
599
599
|
});
|
|
600
600
|
});
|
|
601
|
-
},
|
|
601
|
+
}, N = function(l) {
|
|
602
602
|
var d = u[l];
|
|
603
603
|
if (typeof d == "function") {
|
|
604
|
-
for (var b = arguments.length,
|
|
605
|
-
|
|
606
|
-
d = d.apply(void 0,
|
|
604
|
+
for (var b = arguments.length, C = new Array(b > 1 ? b - 1 : 0), p = 1; p < b; p++)
|
|
605
|
+
C[p - 1] = arguments[p];
|
|
606
|
+
d = d.apply(void 0, C);
|
|
607
607
|
}
|
|
608
608
|
if (d === !0 && (d = void 0), !d) {
|
|
609
609
|
if (d === void 0 || d === !1)
|
|
610
610
|
return d;
|
|
611
611
|
throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
if (typeof d == "string" && (
|
|
613
|
+
var E = d;
|
|
614
|
+
if (typeof d == "string" && (E = r.querySelector(d), !E))
|
|
615
615
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
|
616
|
-
return
|
|
617
|
-
},
|
|
618
|
-
var l =
|
|
616
|
+
return E;
|
|
617
|
+
}, F = function() {
|
|
618
|
+
var l = N("initialFocus");
|
|
619
619
|
if (l === !1)
|
|
620
620
|
return !1;
|
|
621
621
|
if (l === void 0)
|
|
@@ -623,12 +623,12 @@ var Bt = {
|
|
|
623
623
|
l = r.activeElement;
|
|
624
624
|
else {
|
|
625
625
|
var d = o.tabbableGroups[0], b = d && d.firstTabbableNode;
|
|
626
|
-
l = b ||
|
|
626
|
+
l = b || N("fallbackFocus");
|
|
627
627
|
}
|
|
628
628
|
if (!l)
|
|
629
629
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
630
630
|
return l;
|
|
631
|
-
},
|
|
631
|
+
}, B = function() {
|
|
632
632
|
if (o.containerGroups = o.containers.map(function(l) {
|
|
633
633
|
var d = wr(l, u.tabbableOptions), b = Tr(l, u.tabbableOptions);
|
|
634
634
|
return {
|
|
@@ -645,39 +645,39 @@ var Bt = {
|
|
|
645
645
|
* in reverse.
|
|
646
646
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
647
647
|
*/
|
|
648
|
-
nextTabbableNode: function(
|
|
649
|
-
var
|
|
650
|
-
return
|
|
648
|
+
nextTabbableNode: function(p) {
|
|
649
|
+
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, y = b.findIndex(function(M) {
|
|
650
|
+
return M === p;
|
|
651
651
|
});
|
|
652
652
|
if (!(y < 0))
|
|
653
|
-
return
|
|
654
|
-
return
|
|
655
|
-
}) : b.slice(0, y).reverse().find(function(
|
|
656
|
-
return
|
|
653
|
+
return E ? b.slice(y + 1).find(function(M) {
|
|
654
|
+
return Oe(M, u.tabbableOptions);
|
|
655
|
+
}) : b.slice(0, y).reverse().find(function(M) {
|
|
656
|
+
return Oe(M, u.tabbableOptions);
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
660
|
}), o.tabbableGroups = o.containerGroups.filter(function(l) {
|
|
661
661
|
return l.tabbableNodes.length > 0;
|
|
662
|
-
}), o.tabbableGroups.length <= 0 && !
|
|
662
|
+
}), o.tabbableGroups.length <= 0 && !N("fallbackFocus"))
|
|
663
663
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
664
|
-
},
|
|
664
|
+
}, O = function I(l) {
|
|
665
665
|
if (l !== !1 && l !== r.activeElement) {
|
|
666
666
|
if (!l || !l.focus) {
|
|
667
|
-
|
|
667
|
+
I(F());
|
|
668
668
|
return;
|
|
669
669
|
}
|
|
670
670
|
l.focus({
|
|
671
671
|
preventScroll: !!u.preventScroll
|
|
672
672
|
}), o.mostRecentlyFocusedNode = l, xr(l) && l.select();
|
|
673
673
|
}
|
|
674
|
-
},
|
|
675
|
-
var d =
|
|
674
|
+
}, $ = function(l) {
|
|
675
|
+
var d = N("setReturnFocus", l);
|
|
676
676
|
return d || (d === !1 ? !1 : l);
|
|
677
|
-
},
|
|
678
|
-
var d =
|
|
677
|
+
}, K = function(l) {
|
|
678
|
+
var d = Ae(l);
|
|
679
679
|
if (!(T(d) >= 0)) {
|
|
680
|
-
if (
|
|
680
|
+
if (ye(u.clickOutsideDeactivates, l)) {
|
|
681
681
|
f.deactivate({
|
|
682
682
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
683
683
|
// which will result in the outside click setting focus to the node
|
|
@@ -689,72 +689,72 @@ var Bt = {
|
|
|
689
689
|
});
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
|
-
|
|
692
|
+
ye(u.allowOutsideClick, l) || l.preventDefault();
|
|
693
693
|
}
|
|
694
|
-
},
|
|
695
|
-
var d =
|
|
696
|
-
b || d instanceof Document ? b && (o.mostRecentlyFocusedNode = d) : (l.stopImmediatePropagation(),
|
|
697
|
-
},
|
|
698
|
-
var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, b =
|
|
699
|
-
|
|
700
|
-
var
|
|
694
|
+
}, W = function(l) {
|
|
695
|
+
var d = Ae(l), b = T(d) >= 0;
|
|
696
|
+
b || d instanceof Document ? b && (o.mostRecentlyFocusedNode = d) : (l.stopImmediatePropagation(), O(o.mostRecentlyFocusedNode || F()));
|
|
697
|
+
}, j = function(l) {
|
|
698
|
+
var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, b = Ae(l);
|
|
699
|
+
B();
|
|
700
|
+
var C = null;
|
|
701
701
|
if (o.tabbableGroups.length > 0) {
|
|
702
|
-
var
|
|
703
|
-
if (
|
|
704
|
-
d ?
|
|
702
|
+
var p = T(b), E = p >= 0 ? o.containerGroups[p] : void 0;
|
|
703
|
+
if (p < 0)
|
|
704
|
+
d ? C = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : C = o.tabbableGroups[0].firstTabbableNode;
|
|
705
705
|
else if (d) {
|
|
706
|
-
var y = Rt(o.tabbableGroups, function(
|
|
707
|
-
var
|
|
708
|
-
return b ===
|
|
706
|
+
var y = Rt(o.tabbableGroups, function(he) {
|
|
707
|
+
var x = he.firstTabbableNode;
|
|
708
|
+
return b === x;
|
|
709
709
|
});
|
|
710
|
-
if (y < 0 && (
|
|
711
|
-
var
|
|
712
|
-
|
|
710
|
+
if (y < 0 && (E.container === b || Ft(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !E.nextTabbableNode(b, !1)) && (y = p), y >= 0) {
|
|
711
|
+
var M = y === 0 ? o.tabbableGroups.length - 1 : y - 1, k = o.tabbableGroups[M];
|
|
712
|
+
C = k.lastTabbableNode;
|
|
713
713
|
} else
|
|
714
|
-
we(l) || (
|
|
714
|
+
we(l) || (C = E.nextTabbableNode(b, !1));
|
|
715
715
|
} else {
|
|
716
|
-
var
|
|
717
|
-
var
|
|
718
|
-
return b ===
|
|
716
|
+
var X = Rt(o.tabbableGroups, function(he) {
|
|
717
|
+
var x = he.lastTabbableNode;
|
|
718
|
+
return b === x;
|
|
719
719
|
});
|
|
720
|
-
if (
|
|
721
|
-
var
|
|
722
|
-
|
|
720
|
+
if (X < 0 && (E.container === b || Ft(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !E.nextTabbableNode(b)) && (X = p), X >= 0) {
|
|
721
|
+
var te = X === o.tabbableGroups.length - 1 ? 0 : X + 1, je = o.tabbableGroups[te];
|
|
722
|
+
C = je.firstTabbableNode;
|
|
723
723
|
} else
|
|
724
|
-
we(l) || (
|
|
724
|
+
we(l) || (C = E.nextTabbableNode(b));
|
|
725
725
|
}
|
|
726
726
|
} else
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
},
|
|
730
|
-
if (Or(l) &&
|
|
727
|
+
C = N("fallbackFocus");
|
|
728
|
+
C && (we(l) && l.preventDefault(), O(C));
|
|
729
|
+
}, Y = function(l) {
|
|
730
|
+
if (Or(l) && ye(u.escapeDeactivates, l) !== !1) {
|
|
731
731
|
l.preventDefault(), f.deactivate();
|
|
732
732
|
return;
|
|
733
733
|
}
|
|
734
|
-
(u.isKeyForward(l) || u.isKeyBackward(l)) &&
|
|
735
|
-
},
|
|
736
|
-
var d =
|
|
737
|
-
T(d) >= 0 ||
|
|
738
|
-
},
|
|
734
|
+
(u.isKeyForward(l) || u.isKeyBackward(l)) && j(l, u.isKeyBackward(l));
|
|
735
|
+
}, G = function(l) {
|
|
736
|
+
var d = Ae(l);
|
|
737
|
+
T(d) >= 0 || ye(u.clickOutsideDeactivates, l) || ye(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
|
|
738
|
+
}, S = function() {
|
|
739
739
|
if (o.active)
|
|
740
|
-
return
|
|
741
|
-
|
|
742
|
-
}) :
|
|
740
|
+
return Lt.activateTrap(c, f), o.delayInitialFocusTimer = u.delayInitialFocus ? Mt(function() {
|
|
741
|
+
O(F());
|
|
742
|
+
}) : O(F()), r.addEventListener("focusin", W, !0), r.addEventListener("mousedown", K, {
|
|
743
743
|
capture: !0,
|
|
744
744
|
passive: !1
|
|
745
|
-
}), r.addEventListener("touchstart",
|
|
745
|
+
}), r.addEventListener("touchstart", K, {
|
|
746
746
|
capture: !0,
|
|
747
747
|
passive: !1
|
|
748
|
-
}), r.addEventListener("click",
|
|
748
|
+
}), r.addEventListener("click", G, {
|
|
749
749
|
capture: !0,
|
|
750
750
|
passive: !1
|
|
751
|
-
}), r.addEventListener("keydown",
|
|
751
|
+
}), r.addEventListener("keydown", Y, {
|
|
752
752
|
capture: !0,
|
|
753
753
|
passive: !1
|
|
754
754
|
}), f;
|
|
755
755
|
}, Z = function() {
|
|
756
756
|
if (o.active)
|
|
757
|
-
return r.removeEventListener("focusin",
|
|
757
|
+
return r.removeEventListener("focusin", W, !0), r.removeEventListener("mousedown", K, !0), r.removeEventListener("touchstart", K, !0), r.removeEventListener("click", G, !0), r.removeEventListener("keydown", Y, !0), f;
|
|
758
758
|
};
|
|
759
759
|
return f = {
|
|
760
760
|
get active() {
|
|
@@ -766,30 +766,30 @@ var Bt = {
|
|
|
766
766
|
activate: function(l) {
|
|
767
767
|
if (o.active)
|
|
768
768
|
return this;
|
|
769
|
-
var d = g(l, "onActivate"), b = g(l, "onPostActivate"),
|
|
770
|
-
|
|
771
|
-
var
|
|
772
|
-
|
|
769
|
+
var d = g(l, "onActivate"), b = g(l, "onPostActivate"), C = g(l, "checkCanFocusTrap");
|
|
770
|
+
C || B(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, d == null || d();
|
|
771
|
+
var p = function() {
|
|
772
|
+
C && B(), S(), b == null || b();
|
|
773
773
|
};
|
|
774
|
-
return
|
|
774
|
+
return C ? (C(o.containers.concat()).then(p, p), this) : (p(), this);
|
|
775
775
|
},
|
|
776
776
|
deactivate: function(l) {
|
|
777
777
|
if (!o.active)
|
|
778
778
|
return this;
|
|
779
|
-
var d =
|
|
779
|
+
var d = Bt({
|
|
780
780
|
onDeactivate: u.onDeactivate,
|
|
781
781
|
onPostDeactivate: u.onPostDeactivate,
|
|
782
782
|
checkCanReturnFocus: u.checkCanReturnFocus
|
|
783
783
|
}, l);
|
|
784
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, Z(), o.active = !1, o.paused = !1,
|
|
785
|
-
var b = g(d, "onDeactivate"),
|
|
784
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, Z(), o.active = !1, o.paused = !1, Lt.deactivateTrap(c, f);
|
|
785
|
+
var b = g(d, "onDeactivate"), C = g(d, "onPostDeactivate"), p = g(d, "checkCanReturnFocus"), E = g(d, "returnFocus", "returnFocusOnDeactivate");
|
|
786
786
|
b == null || b();
|
|
787
787
|
var y = function() {
|
|
788
|
-
|
|
789
|
-
|
|
788
|
+
Mt(function() {
|
|
789
|
+
E && O($(o.nodeFocusedBeforeActivation)), C == null || C();
|
|
790
790
|
});
|
|
791
791
|
};
|
|
792
|
-
return
|
|
792
|
+
return E && p ? (p($(o.nodeFocusedBeforeActivation)).then(y, y), this) : (y(), this);
|
|
793
793
|
},
|
|
794
794
|
pause: function(l) {
|
|
795
795
|
if (o.paused || !o.active)
|
|
@@ -801,13 +801,13 @@ var Bt = {
|
|
|
801
801
|
if (!o.paused || !o.active)
|
|
802
802
|
return this;
|
|
803
803
|
var d = g(l, "onUnpause"), b = g(l, "onPostUnpause");
|
|
804
|
-
return o.paused = !1, d == null || d(),
|
|
804
|
+
return o.paused = !1, d == null || d(), B(), S(), b == null || b(), this;
|
|
805
805
|
},
|
|
806
806
|
updateContainerElements: function(l) {
|
|
807
807
|
var d = [].concat(l).filter(Boolean);
|
|
808
808
|
return o.containers = d.map(function(b) {
|
|
809
809
|
return typeof b == "string" ? r.querySelector(b) : b;
|
|
810
|
-
}), o.active &&
|
|
810
|
+
}), o.active && B(), this;
|
|
811
811
|
}
|
|
812
812
|
}, f.updateContainerElements(t), f;
|
|
813
813
|
};
|
|
@@ -842,7 +842,7 @@ const Fr = {
|
|
|
842
842
|
preventScroll: Boolean,
|
|
843
843
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
844
844
|
tabbableOptions: Object
|
|
845
|
-
}, Dr =
|
|
845
|
+
}, Dr = ee({
|
|
846
846
|
props: Object.assign({
|
|
847
847
|
active: {
|
|
848
848
|
// TODO: could be options for activate but what about the options for deactivating?
|
|
@@ -862,12 +862,12 @@ const Fr = {
|
|
|
862
862
|
},
|
|
863
863
|
setup(n, { slots: t, emit: a }) {
|
|
864
864
|
let r;
|
|
865
|
-
const c =
|
|
865
|
+
const c = U(null), u = _(() => {
|
|
866
866
|
const f = c.value;
|
|
867
867
|
return f && (f instanceof HTMLElement ? f : f.$el);
|
|
868
868
|
});
|
|
869
869
|
function o() {
|
|
870
|
-
return r || (r =
|
|
870
|
+
return r || (r = Nr(u.value, {
|
|
871
871
|
escapeDeactivates: n.escapeDeactivates,
|
|
872
872
|
allowOutsideClick: n.allowOutsideClick,
|
|
873
873
|
returnFocusOnDeactivate: n.returnFocusOnDeactivate,
|
|
@@ -887,7 +887,7 @@ const Fr = {
|
|
|
887
887
|
}));
|
|
888
888
|
}
|
|
889
889
|
return Pe(() => {
|
|
890
|
-
|
|
890
|
+
Ne(() => n.active, (f) => {
|
|
891
891
|
f && u.value ? o().activate() : r && (r.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (r = null));
|
|
892
892
|
}, { immediate: !0, flush: "post" });
|
|
893
893
|
}), gn(() => {
|
|
@@ -920,7 +920,7 @@ function Gt() {
|
|
|
920
920
|
}
|
|
921
921
|
};
|
|
922
922
|
}
|
|
923
|
-
var
|
|
923
|
+
var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Re = {}, Br = {
|
|
924
924
|
get exports() {
|
|
925
925
|
return Re;
|
|
926
926
|
},
|
|
@@ -929,9 +929,9 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
929
929
|
}
|
|
930
930
|
};
|
|
931
931
|
(function(n, t) {
|
|
932
|
-
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", T = "[object Error]",
|
|
933
|
-
|
|
934
|
-
var qt = typeof
|
|
932
|
+
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", T = "[object Error]", N = "[object Function]", F = "[object GeneratorFunction]", B = "[object Map]", O = "[object Number]", $ = "[object Object]", K = "[object Promise]", W = "[object RegExp]", j = "[object Set]", Y = "[object String]", G = "[object Symbol]", S = "[object WeakMap]", Z = "[object ArrayBuffer]", I = "[object DataView]", l = "[object Float32Array]", d = "[object Float64Array]", b = "[object Int8Array]", C = "[object Int16Array]", p = "[object Int32Array]", E = "[object Uint8Array]", y = "[object Uint8ClampedArray]", M = "[object Uint16Array]", k = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, te = /\w*$/, je = /^\[object .+?Constructor\]$/, he = /^(?:0|[1-9]\d*)$/, x = {};
|
|
933
|
+
x[u] = x[o] = x[Z] = x[I] = x[f] = x[g] = x[l] = x[d] = x[b] = x[C] = x[p] = x[B] = x[O] = x[$] = x[W] = x[j] = x[Y] = x[G] = x[E] = x[y] = x[M] = x[k] = !0, x[T] = x[N] = x[S] = !1;
|
|
934
|
+
var qt = typeof $e == "object" && $e && $e.Object === Object && $e, Yt = typeof self == "object" && self && self.Object === Object && self, ae = qt || Yt || Function("return this")(), it = t && !t.nodeType && t, ot = it && !0 && n && !n.nodeType && n, Xt = ot && ot.exports === it;
|
|
935
935
|
function Jt(e, i) {
|
|
936
936
|
return e.set(i[0], i[1]), e;
|
|
937
937
|
}
|
|
@@ -944,14 +944,14 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
944
944
|
return e;
|
|
945
945
|
}
|
|
946
946
|
function ta(e, i) {
|
|
947
|
-
for (var s = -1, v = i.length,
|
|
948
|
-
e[
|
|
947
|
+
for (var s = -1, v = i.length, R = e.length; ++s < v; )
|
|
948
|
+
e[R + s] = i[s];
|
|
949
949
|
return e;
|
|
950
950
|
}
|
|
951
951
|
function st(e, i, s, v) {
|
|
952
|
-
var
|
|
953
|
-
for (v &&
|
|
954
|
-
s = i(s, e[
|
|
952
|
+
var R = -1, H = e ? e.length : 0;
|
|
953
|
+
for (v && H && (s = e[++R]); ++R < H; )
|
|
954
|
+
s = i(s, e[R], R, e);
|
|
955
955
|
return s;
|
|
956
956
|
}
|
|
957
957
|
function aa(e, i) {
|
|
@@ -973,8 +973,8 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
973
973
|
}
|
|
974
974
|
function lt(e) {
|
|
975
975
|
var i = -1, s = Array(e.size);
|
|
976
|
-
return e.forEach(function(v,
|
|
977
|
-
s[++i] = [
|
|
976
|
+
return e.forEach(function(v, R) {
|
|
977
|
+
s[++i] = [R, v];
|
|
978
978
|
}), s;
|
|
979
979
|
}
|
|
980
980
|
function Ke(e, i) {
|
|
@@ -988,12 +988,12 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
988
988
|
s[++i] = v;
|
|
989
989
|
}), s;
|
|
990
990
|
}
|
|
991
|
-
var ra = Array.prototype, ia = Function.prototype,
|
|
991
|
+
var ra = Array.prototype, ia = Function.prototype, Te = Object.prototype, He = ae["__core-js_shared__"], dt = function() {
|
|
992
992
|
var e = /[^.]+$/.exec(He && He.keys && He.keys.IE_PROTO || "");
|
|
993
993
|
return e ? "Symbol(src)_1." + e : "";
|
|
994
|
-
}(), ft = ia.toString,
|
|
995
|
-
"^" + ft.call(
|
|
996
|
-
), vt = Xt ?
|
|
994
|
+
}(), ft = ia.toString, re = Te.hasOwnProperty, ke = Te.toString, oa = RegExp(
|
|
995
|
+
"^" + ft.call(re).replace(X, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
996
|
+
), vt = Xt ? ae.Buffer : void 0, bt = ae.Symbol, pt = ae.Uint8Array, sa = Ke(Object.getPrototypeOf, Object), ca = Object.create, la = Te.propertyIsEnumerable, ua = ra.splice, ht = Object.getOwnPropertySymbols, da = vt ? vt.isBuffer : void 0, fa = Ke(Object.keys, Object), ze = ve(ae, "DataView"), me = ve(ae, "Map"), Ve = ve(ae, "Promise"), We = ve(ae, "Set"), Ge = ve(ae, "WeakMap"), ge = ve(Object, "create"), va = le(ze), ba = le(me), pa = le(Ve), ha = le(We), ma = le(Ge), mt = bt ? bt.prototype : void 0, gt = mt ? mt.valueOf : void 0;
|
|
997
997
|
function se(e) {
|
|
998
998
|
var i = -1, s = e ? e.length : 0;
|
|
999
999
|
for (this.clear(); ++i < s; ) {
|
|
@@ -1002,29 +1002,29 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
function ga() {
|
|
1005
|
-
this.__data__ =
|
|
1005
|
+
this.__data__ = ge ? ge(null) : {};
|
|
1006
1006
|
}
|
|
1007
1007
|
function ya(e) {
|
|
1008
1008
|
return this.has(e) && delete this.__data__[e];
|
|
1009
1009
|
}
|
|
1010
1010
|
function _a(e) {
|
|
1011
1011
|
var i = this.__data__;
|
|
1012
|
-
if (
|
|
1012
|
+
if (ge) {
|
|
1013
1013
|
var s = i[e];
|
|
1014
1014
|
return s === r ? void 0 : s;
|
|
1015
1015
|
}
|
|
1016
|
-
return
|
|
1016
|
+
return re.call(i, e) ? i[e] : void 0;
|
|
1017
1017
|
}
|
|
1018
1018
|
function wa(e) {
|
|
1019
1019
|
var i = this.__data__;
|
|
1020
|
-
return
|
|
1020
|
+
return ge ? i[e] !== void 0 : re.call(i, e);
|
|
1021
1021
|
}
|
|
1022
1022
|
function Ta(e, i) {
|
|
1023
1023
|
var s = this.__data__;
|
|
1024
|
-
return s[e] =
|
|
1024
|
+
return s[e] = ge && i === void 0 ? r : i, this;
|
|
1025
1025
|
}
|
|
1026
1026
|
se.prototype.clear = ga, se.prototype.delete = ya, se.prototype.get = _a, se.prototype.has = wa, se.prototype.set = Ta;
|
|
1027
|
-
function
|
|
1027
|
+
function ne(e) {
|
|
1028
1028
|
var i = -1, s = e ? e.length : 0;
|
|
1029
1029
|
for (this.clear(); ++i < s; ) {
|
|
1030
1030
|
var v = e[i];
|
|
@@ -1035,25 +1035,25 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1035
1035
|
this.__data__ = [];
|
|
1036
1036
|
}
|
|
1037
1037
|
function Sa(e) {
|
|
1038
|
-
var i = this.__data__, s =
|
|
1038
|
+
var i = this.__data__, s = Se(i, e);
|
|
1039
1039
|
if (s < 0)
|
|
1040
1040
|
return !1;
|
|
1041
1041
|
var v = i.length - 1;
|
|
1042
1042
|
return s == v ? i.pop() : ua.call(i, s, 1), !0;
|
|
1043
1043
|
}
|
|
1044
1044
|
function Ia(e) {
|
|
1045
|
-
var i = this.__data__, s =
|
|
1045
|
+
var i = this.__data__, s = Se(i, e);
|
|
1046
1046
|
return s < 0 ? void 0 : i[s][1];
|
|
1047
1047
|
}
|
|
1048
1048
|
function Ca(e) {
|
|
1049
|
-
return
|
|
1049
|
+
return Se(this.__data__, e) > -1;
|
|
1050
1050
|
}
|
|
1051
1051
|
function xa(e, i) {
|
|
1052
|
-
var s = this.__data__, v =
|
|
1052
|
+
var s = this.__data__, v = Se(s, e);
|
|
1053
1053
|
return v < 0 ? s.push([e, i]) : s[v][1] = i, this;
|
|
1054
1054
|
}
|
|
1055
|
-
|
|
1056
|
-
function
|
|
1055
|
+
ne.prototype.clear = ka, ne.prototype.delete = Sa, ne.prototype.get = Ia, ne.prototype.has = Ca, ne.prototype.set = xa;
|
|
1056
|
+
function de(e) {
|
|
1057
1057
|
var i = -1, s = e ? e.length : 0;
|
|
1058
1058
|
for (this.clear(); ++i < s; ) {
|
|
1059
1059
|
var v = e[i];
|
|
@@ -1063,60 +1063,60 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1063
1063
|
function Oa() {
|
|
1064
1064
|
this.__data__ = {
|
|
1065
1065
|
hash: new se(),
|
|
1066
|
-
map: new (
|
|
1066
|
+
map: new (me || ne)(),
|
|
1067
1067
|
string: new se()
|
|
1068
1068
|
};
|
|
1069
1069
|
}
|
|
1070
1070
|
function Aa(e) {
|
|
1071
|
-
return
|
|
1071
|
+
return Ie(this, e).delete(e);
|
|
1072
1072
|
}
|
|
1073
1073
|
function $a(e) {
|
|
1074
|
-
return
|
|
1074
|
+
return Ie(this, e).get(e);
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1077
|
-
return
|
|
1076
|
+
function Ea(e) {
|
|
1077
|
+
return Ie(this, e).has(e);
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return
|
|
1079
|
+
function Na(e, i) {
|
|
1080
|
+
return Ie(this, e).set(e, i), this;
|
|
1081
1081
|
}
|
|
1082
|
-
|
|
1083
|
-
function
|
|
1084
|
-
this.__data__ = new
|
|
1082
|
+
de.prototype.clear = Oa, de.prototype.delete = Aa, de.prototype.get = $a, de.prototype.has = Ea, de.prototype.set = Na;
|
|
1083
|
+
function fe(e) {
|
|
1084
|
+
this.__data__ = new ne(e);
|
|
1085
1085
|
}
|
|
1086
1086
|
function Fa() {
|
|
1087
|
-
this.__data__ = new
|
|
1087
|
+
this.__data__ = new ne();
|
|
1088
1088
|
}
|
|
1089
1089
|
function Da(e) {
|
|
1090
1090
|
return this.__data__.delete(e);
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function Ba(e) {
|
|
1093
1093
|
return this.__data__.get(e);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function La(e) {
|
|
1096
1096
|
return this.__data__.has(e);
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function Ma(e, i) {
|
|
1099
1099
|
var s = this.__data__;
|
|
1100
|
-
if (s instanceof
|
|
1100
|
+
if (s instanceof ne) {
|
|
1101
1101
|
var v = s.__data__;
|
|
1102
|
-
if (!
|
|
1102
|
+
if (!me || v.length < a - 1)
|
|
1103
1103
|
return v.push([e, i]), this;
|
|
1104
|
-
s = this.__data__ = new
|
|
1104
|
+
s = this.__data__ = new de(v);
|
|
1105
1105
|
}
|
|
1106
1106
|
return s.set(e, i), this;
|
|
1107
1107
|
}
|
|
1108
|
-
|
|
1108
|
+
fe.prototype.clear = Fa, fe.prototype.delete = Da, fe.prototype.get = Ba, fe.prototype.has = La, fe.prototype.set = Ma;
|
|
1109
1109
|
function Ra(e, i) {
|
|
1110
|
-
var s = Ye(e) || ln(e) ? aa(e.length, String) : [], v = s.length,
|
|
1111
|
-
for (var
|
|
1112
|
-
(i ||
|
|
1110
|
+
var s = Ye(e) || ln(e) ? aa(e.length, String) : [], v = s.length, R = !!v;
|
|
1111
|
+
for (var H in e)
|
|
1112
|
+
(i || re.call(e, H)) && !(R && (H == "length" || rn(H, v))) && s.push(H);
|
|
1113
1113
|
return s;
|
|
1114
1114
|
}
|
|
1115
1115
|
function yt(e, i, s) {
|
|
1116
1116
|
var v = e[i];
|
|
1117
|
-
(!(
|
|
1117
|
+
(!(re.call(e, i) && kt(v, s)) || s === void 0 && !(i in e)) && (e[i] = s);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Se(e, i) {
|
|
1120
1120
|
for (var s = e.length; s--; )
|
|
1121
1121
|
if (kt(e[s][0], i))
|
|
1122
1122
|
return s;
|
|
@@ -1125,53 +1125,53 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1125
1125
|
function Pa(e, i) {
|
|
1126
1126
|
return e && _t(i, Xe(i), e);
|
|
1127
1127
|
}
|
|
1128
|
-
function Ue(e, i, s, v,
|
|
1128
|
+
function Ue(e, i, s, v, R, H, q) {
|
|
1129
1129
|
var V;
|
|
1130
|
-
if (v && (V =
|
|
1130
|
+
if (v && (V = H ? v(e, R, H, q) : v(e)), V !== void 0)
|
|
1131
1131
|
return V;
|
|
1132
|
-
if (!
|
|
1132
|
+
if (!Ce(e))
|
|
1133
1133
|
return e;
|
|
1134
1134
|
var Ct = Ye(e);
|
|
1135
1135
|
if (Ct) {
|
|
1136
1136
|
if (V = tn(e), !i)
|
|
1137
1137
|
return Ja(e, V);
|
|
1138
1138
|
} else {
|
|
1139
|
-
var
|
|
1139
|
+
var be = ce(e), xt = be == N || be == F;
|
|
1140
1140
|
if (dn(e))
|
|
1141
1141
|
return Va(e, i);
|
|
1142
|
-
if (
|
|
1142
|
+
if (be == $ || be == u || xt && !H) {
|
|
1143
1143
|
if (ct(e))
|
|
1144
|
-
return
|
|
1144
|
+
return H ? e : {};
|
|
1145
1145
|
if (V = an(xt ? {} : e), !i)
|
|
1146
1146
|
return Qa(e, Pa(V, e));
|
|
1147
1147
|
} else {
|
|
1148
|
-
if (!
|
|
1149
|
-
return
|
|
1150
|
-
V = nn(e,
|
|
1148
|
+
if (!x[be])
|
|
1149
|
+
return H ? e : {};
|
|
1150
|
+
V = nn(e, be, Ue, i);
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
|
-
q || (q = new
|
|
1153
|
+
q || (q = new fe());
|
|
1154
1154
|
var Ot = q.get(e);
|
|
1155
1155
|
if (Ot)
|
|
1156
1156
|
return Ot;
|
|
1157
1157
|
if (q.set(e, V), !Ct)
|
|
1158
1158
|
var At = s ? en(e) : Xe(e);
|
|
1159
|
-
return ea(At || e, function(Je,
|
|
1160
|
-
At && (
|
|
1159
|
+
return ea(At || e, function(Je, xe) {
|
|
1160
|
+
At && (xe = Je, Je = e[xe]), yt(V, xe, Ue(Je, i, s, v, xe, e, q));
|
|
1161
1161
|
}), V;
|
|
1162
1162
|
}
|
|
1163
1163
|
function Za(e) {
|
|
1164
|
-
return
|
|
1164
|
+
return Ce(e) ? ca(e) : {};
|
|
1165
1165
|
}
|
|
1166
1166
|
function ja(e, i, s) {
|
|
1167
1167
|
var v = i(e);
|
|
1168
1168
|
return Ye(e) ? v : ta(v, s(e));
|
|
1169
1169
|
}
|
|
1170
1170
|
function Ka(e) {
|
|
1171
|
-
return
|
|
1171
|
+
return ke.call(e);
|
|
1172
1172
|
}
|
|
1173
1173
|
function Ha(e) {
|
|
1174
|
-
if (!
|
|
1174
|
+
if (!Ce(e) || sn(e))
|
|
1175
1175
|
return !1;
|
|
1176
1176
|
var i = It(e) || ct(e) ? oa : je;
|
|
1177
1177
|
return i.test(le(e));
|
|
@@ -1181,7 +1181,7 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1181
1181
|
return fa(e);
|
|
1182
1182
|
var i = [];
|
|
1183
1183
|
for (var s in Object(e))
|
|
1184
|
-
|
|
1184
|
+
re.call(e, s) && s != "constructor" && i.push(s);
|
|
1185
1185
|
return i;
|
|
1186
1186
|
}
|
|
1187
1187
|
function Va(e, i) {
|
|
@@ -1203,7 +1203,7 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1203
1203
|
return st(v, Jt, new e.constructor());
|
|
1204
1204
|
}
|
|
1205
1205
|
function Ua(e) {
|
|
1206
|
-
var i = new e.constructor(e.source,
|
|
1206
|
+
var i = new e.constructor(e.source, te.exec(e));
|
|
1207
1207
|
return i.lastIndex = e.lastIndex, i;
|
|
1208
1208
|
}
|
|
1209
1209
|
function qa(e, i, s) {
|
|
@@ -1225,8 +1225,8 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1225
1225
|
}
|
|
1226
1226
|
function _t(e, i, s, v) {
|
|
1227
1227
|
s || (s = {});
|
|
1228
|
-
for (var
|
|
1229
|
-
var q = i[
|
|
1228
|
+
for (var R = -1, H = i.length; ++R < H; ) {
|
|
1229
|
+
var q = i[R], V = v ? v(s[q], e[q], q, s, e) : void 0;
|
|
1230
1230
|
yt(s, q, V === void 0 ? e[q] : V);
|
|
1231
1231
|
}
|
|
1232
1232
|
return s;
|
|
@@ -1237,74 +1237,74 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1237
1237
|
function en(e) {
|
|
1238
1238
|
return ja(e, Xe, wt);
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function Ie(e, i) {
|
|
1241
1241
|
var s = e.__data__;
|
|
1242
1242
|
return on(i) ? s[typeof i == "string" ? "string" : "hash"] : s.map;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function ve(e, i) {
|
|
1245
1245
|
var s = na(e, i);
|
|
1246
1246
|
return Ha(s) ? s : void 0;
|
|
1247
1247
|
}
|
|
1248
1248
|
var wt = ht ? Ke(ht, Object) : bn, ce = Ka;
|
|
1249
|
-
(ze && ce(new ze(new ArrayBuffer(1))) !=
|
|
1250
|
-
var i =
|
|
1249
|
+
(ze && ce(new ze(new ArrayBuffer(1))) != I || me && ce(new me()) != B || Ve && ce(Ve.resolve()) != K || We && ce(new We()) != j || Ge && ce(new Ge()) != S) && (ce = function(e) {
|
|
1250
|
+
var i = ke.call(e), s = i == $ ? e.constructor : void 0, v = s ? le(s) : void 0;
|
|
1251
1251
|
if (v)
|
|
1252
1252
|
switch (v) {
|
|
1253
1253
|
case va:
|
|
1254
|
-
return
|
|
1254
|
+
return I;
|
|
1255
1255
|
case ba:
|
|
1256
|
-
return
|
|
1256
|
+
return B;
|
|
1257
1257
|
case pa:
|
|
1258
|
-
return H;
|
|
1259
|
-
case ha:
|
|
1260
1258
|
return K;
|
|
1259
|
+
case ha:
|
|
1260
|
+
return j;
|
|
1261
1261
|
case ma:
|
|
1262
|
-
return
|
|
1262
|
+
return S;
|
|
1263
1263
|
}
|
|
1264
1264
|
return i;
|
|
1265
1265
|
});
|
|
1266
1266
|
function tn(e) {
|
|
1267
1267
|
var i = e.length, s = e.constructor(i);
|
|
1268
|
-
return i && typeof e[0] == "string" &&
|
|
1268
|
+
return i && typeof e[0] == "string" && re.call(e, "index") && (s.index = e.index, s.input = e.input), s;
|
|
1269
1269
|
}
|
|
1270
1270
|
function an(e) {
|
|
1271
1271
|
return typeof e.constructor == "function" && !Tt(e) ? Za(sa(e)) : {};
|
|
1272
1272
|
}
|
|
1273
1273
|
function nn(e, i, s, v) {
|
|
1274
|
-
var
|
|
1274
|
+
var R = e.constructor;
|
|
1275
1275
|
switch (i) {
|
|
1276
1276
|
case Z:
|
|
1277
1277
|
return qe(e);
|
|
1278
1278
|
case f:
|
|
1279
1279
|
case g:
|
|
1280
|
-
return new
|
|
1281
|
-
case
|
|
1280
|
+
return new R(+e);
|
|
1281
|
+
case I:
|
|
1282
1282
|
return Wa(e, v);
|
|
1283
1283
|
case l:
|
|
1284
1284
|
case d:
|
|
1285
1285
|
case b:
|
|
1286
|
-
case
|
|
1287
|
-
case
|
|
1288
|
-
case
|
|
1286
|
+
case C:
|
|
1287
|
+
case p:
|
|
1288
|
+
case E:
|
|
1289
1289
|
case y:
|
|
1290
|
-
case
|
|
1290
|
+
case M:
|
|
1291
1291
|
case k:
|
|
1292
1292
|
return Xa(e, v);
|
|
1293
|
-
case
|
|
1293
|
+
case B:
|
|
1294
1294
|
return Ga(e, v, s);
|
|
1295
|
-
case
|
|
1296
|
-
case
|
|
1297
|
-
return new
|
|
1298
|
-
case
|
|
1295
|
+
case O:
|
|
1296
|
+
case Y:
|
|
1297
|
+
return new R(e);
|
|
1298
|
+
case W:
|
|
1299
1299
|
return Ua(e);
|
|
1300
|
-
case
|
|
1300
|
+
case j:
|
|
1301
1301
|
return qa(e, v, s);
|
|
1302
|
-
case
|
|
1302
|
+
case G:
|
|
1303
1303
|
return Ya(e);
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
1306
1306
|
function rn(e, i) {
|
|
1307
|
-
return i = i ?? c, !!i && (typeof e == "number" ||
|
|
1307
|
+
return i = i ?? c, !!i && (typeof e == "number" || he.test(e)) && e > -1 && e % 1 == 0 && e < i;
|
|
1308
1308
|
}
|
|
1309
1309
|
function on(e) {
|
|
1310
1310
|
var i = typeof e;
|
|
@@ -1314,7 +1314,7 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1314
1314
|
return !!dt && dt in e;
|
|
1315
1315
|
}
|
|
1316
1316
|
function Tt(e) {
|
|
1317
|
-
var i = e && e.constructor, s = typeof i == "function" && i.prototype ||
|
|
1317
|
+
var i = e && e.constructor, s = typeof i == "function" && i.prototype || Te;
|
|
1318
1318
|
return e === s;
|
|
1319
1319
|
}
|
|
1320
1320
|
function le(e) {
|
|
@@ -1337,7 +1337,7 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1337
1337
|
return e === i || e !== e && i !== i;
|
|
1338
1338
|
}
|
|
1339
1339
|
function ln(e) {
|
|
1340
|
-
return un(e) &&
|
|
1340
|
+
return un(e) && re.call(e, "callee") && (!la.call(e, "callee") || ke.call(e) == u);
|
|
1341
1341
|
}
|
|
1342
1342
|
var Ye = Array.isArray;
|
|
1343
1343
|
function St(e) {
|
|
@@ -1348,13 +1348,13 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1348
1348
|
}
|
|
1349
1349
|
var dn = da || pn;
|
|
1350
1350
|
function It(e) {
|
|
1351
|
-
var i =
|
|
1352
|
-
return i ==
|
|
1351
|
+
var i = Ce(e) ? ke.call(e) : "";
|
|
1352
|
+
return i == N || i == F;
|
|
1353
1353
|
}
|
|
1354
1354
|
function fn(e) {
|
|
1355
1355
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Ce(e) {
|
|
1358
1358
|
var i = typeof e;
|
|
1359
1359
|
return !!e && (i == "object" || i == "function");
|
|
1360
1360
|
}
|
|
@@ -1371,8 +1371,8 @@ var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1371
1371
|
return !1;
|
|
1372
1372
|
}
|
|
1373
1373
|
n.exports = cn;
|
|
1374
|
-
})(
|
|
1375
|
-
const
|
|
1374
|
+
})(Br, Re);
|
|
1375
|
+
const Lr = Re, Mr = {
|
|
1376
1376
|
key: 0,
|
|
1377
1377
|
class: "sidebar-header"
|
|
1378
1378
|
}, Rr = { class: "sidebar-content-container" }, Pr = {
|
|
@@ -1388,7 +1388,7 @@ const Br = Re, Lr = {
|
|
|
1388
1388
|
}, Hr = {
|
|
1389
1389
|
key: 2,
|
|
1390
1390
|
class: "level-primary bottom-items"
|
|
1391
|
-
}, zr = { class: "sidebar-footer" }, Vr = ["href", "target"], Wr = /* @__PURE__ */
|
|
1391
|
+
}, zr = { class: "sidebar-footer" }, Vr = ["href", "target"], Wr = /* @__PURE__ */ ee({
|
|
1392
1392
|
__name: "AppSidebar",
|
|
1393
1393
|
props: {
|
|
1394
1394
|
topItems: {
|
|
@@ -1456,7 +1456,7 @@ const Br = Re, Lr = {
|
|
|
1456
1456
|
emits: ["click", "toggle"],
|
|
1457
1457
|
setup(n, { emit: t }) {
|
|
1458
1458
|
const a = n;
|
|
1459
|
-
et((
|
|
1459
|
+
et((p) => ({
|
|
1460
1460
|
"95fdfa38": m(o).mobileHeight,
|
|
1461
1461
|
"3083f0b8": m(o).mobileTop,
|
|
1462
1462
|
"77679b78": n.zIndex,
|
|
@@ -1481,49 +1481,49 @@ const Br = Re, Lr = {
|
|
|
1481
1481
|
})), T = _(() => ({
|
|
1482
1482
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1483
1483
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1484
|
-
})),
|
|
1485
|
-
var
|
|
1484
|
+
})), N = (p) => Lr(p).map((y) => {
|
|
1485
|
+
var M, k, X;
|
|
1486
1486
|
if (y) {
|
|
1487
|
-
(!y.key || !((
|
|
1488
|
-
for (const
|
|
1489
|
-
|
|
1487
|
+
(!y.key || !((M = y.key) != null && M.trim())) && (y.key = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!y.testId || !((k = y.testId) != null && k.trim())) && (y.testId = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1488
|
+
for (const te of y.items || [])
|
|
1489
|
+
te.parentKey = y.key, (!te.testId || !((X = te.testId) != null && X.trim())) && (te.testId = String(te.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1490
1490
|
}
|
|
1491
1491
|
return y;
|
|
1492
|
-
}),
|
|
1493
|
-
var
|
|
1494
|
-
|
|
1495
|
-
},
|
|
1496
|
-
a.mobileOverlayCloseOnClick &&
|
|
1497
|
-
},
|
|
1498
|
-
|
|
1499
|
-
|
|
1492
|
+
}), F = _(() => a.topItems.length ? N(a.topItems) : []), B = _(() => a.bottomItems.length ? N(a.bottomItems) : []), O = U(a.open), $ = (p) => {
|
|
1493
|
+
var E, y;
|
|
1494
|
+
O.value !== p && (O.value = p, t("toggle", p)), p ? (E = document == null ? void 0 : document.body) == null || E.classList.add("kong-ui-app-sidebar-open") : (y = document == null ? void 0 : document.body) == null || y.classList.remove("kong-ui-app-sidebar-open"), W.value = !1;
|
|
1495
|
+
}, K = () => {
|
|
1496
|
+
a.mobileOverlayCloseOnClick && $(!1);
|
|
1497
|
+
}, W = U(!1), j = (p) => {
|
|
1498
|
+
W.value = !0, t("click", p), setTimeout(() => {
|
|
1499
|
+
$(!1);
|
|
1500
1500
|
}, a.mobileCloseDelay);
|
|
1501
1501
|
};
|
|
1502
|
-
|
|
1503
|
-
|
|
1502
|
+
Ne(() => a.open, (p) => {
|
|
1503
|
+
$(p);
|
|
1504
1504
|
});
|
|
1505
|
-
const { debounce:
|
|
1506
|
-
|
|
1507
|
-
}, 200),
|
|
1508
|
-
Z.value || (Z.value = !0, clearTimeout(
|
|
1509
|
-
}, d =
|
|
1510
|
-
var
|
|
1511
|
-
|
|
1505
|
+
const { debounce: Y } = Gt(), G = Y(() => {
|
|
1506
|
+
O.value && S.value !== (window == null ? void 0 : window.innerWidth) && (S.value = window == null ? void 0 : window.innerWidth, $(!1));
|
|
1507
|
+
}, 200), S = U(), Z = U(!1), I = U(), l = () => {
|
|
1508
|
+
Z.value || (Z.value = !0, clearTimeout(I.value), I.value = setTimeout(() => Z.value = !1, 1300));
|
|
1509
|
+
}, d = U(null), b = _(() => O.value && a.mobileEnabled), C = async (p) => {
|
|
1510
|
+
var E, y;
|
|
1511
|
+
p ? (await wn(), await new Promise((M) => setTimeout(M, 300)), (E = d.value) == null || E.activate()) : (y = d.value) == null || y.deactivate();
|
|
1512
1512
|
};
|
|
1513
|
-
return
|
|
1514
|
-
|
|
1513
|
+
return Ne(b, async (p) => {
|
|
1514
|
+
p ? await C(!0) : await C(!1);
|
|
1515
1515
|
}, { immediate: !0 }), Pe(() => {
|
|
1516
|
-
|
|
1516
|
+
S.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", G), window.addEventListener("resize", l);
|
|
1517
1517
|
}), Zt(() => {
|
|
1518
|
-
window.removeEventListener("resize",
|
|
1519
|
-
}), (
|
|
1520
|
-
const y =
|
|
1521
|
-
return
|
|
1522
|
-
|
|
1518
|
+
window.removeEventListener("resize", G), window.removeEventListener("resize", l);
|
|
1519
|
+
}), (p, E) => {
|
|
1520
|
+
const y = oe("KIcon"), M = oe("KDropdownItem");
|
|
1521
|
+
return h(), A(pe, null, [
|
|
1522
|
+
O.value && n.mobileOverlay && n.mobileEnabled ? (h(), A("div", {
|
|
1523
1523
|
key: 0,
|
|
1524
1524
|
class: "kong-ui-app-sidebar-overlay",
|
|
1525
|
-
onClick:
|
|
1526
|
-
})) :
|
|
1525
|
+
onClick: K
|
|
1526
|
+
})) : L("", !0),
|
|
1527
1527
|
Ze(m(Dr), {
|
|
1528
1528
|
ref_key: "focusTrap",
|
|
1529
1529
|
ref: d,
|
|
@@ -1531,10 +1531,10 @@ const Br = Re, Lr = {
|
|
|
1531
1531
|
"allow-outside-click": "",
|
|
1532
1532
|
"fallback-focus": ".kong-ui-app-sidebar"
|
|
1533
1533
|
}, {
|
|
1534
|
-
default:
|
|
1534
|
+
default: P(() => [
|
|
1535
1535
|
w("aside", {
|
|
1536
|
-
class:
|
|
1537
|
-
"sidebar-open":
|
|
1536
|
+
class: Q(["kong-ui-app-sidebar", {
|
|
1537
|
+
"sidebar-open": O.value,
|
|
1538
1538
|
"no-sidebar-header": !m(c),
|
|
1539
1539
|
"mobile-header-hidden": n.mobileEnabled && (!m(c) || !n.mobileHeaderVisible),
|
|
1540
1540
|
"mobile-disabled": !n.mobileEnabled,
|
|
@@ -1542,69 +1542,69 @@ const Br = Re, Lr = {
|
|
|
1542
1542
|
}]),
|
|
1543
1543
|
tabindex: "-1"
|
|
1544
1544
|
}, [
|
|
1545
|
-
m(c) ? (
|
|
1546
|
-
D(
|
|
1547
|
-
])) :
|
|
1545
|
+
m(c) ? (h(), A("div", Mr, [
|
|
1546
|
+
D(p.$slots, "header", {}, void 0, !0)
|
|
1547
|
+
])) : L("", !0),
|
|
1548
1548
|
w("div", Rr, [
|
|
1549
|
-
m(u) ? (
|
|
1550
|
-
D(
|
|
1551
|
-
])) :
|
|
1549
|
+
m(u) ? (h(), A("div", Pr, [
|
|
1550
|
+
D(p.$slots, "top", {}, void 0, !0)
|
|
1551
|
+
])) : L("", !0),
|
|
1552
1552
|
w("nav", Zr, [
|
|
1553
|
-
m(
|
|
1554
|
-
(
|
|
1553
|
+
m(F).length ? (h(), A("ul", jr, [
|
|
1554
|
+
(h(!0), A(pe, null, _e(m(F), (k) => (h(), z(Et, {
|
|
1555
1555
|
key: k.name,
|
|
1556
1556
|
item: k,
|
|
1557
|
-
onClick:
|
|
1557
|
+
onClick: j
|
|
1558
1558
|
}, null, 8, ["item"]))), 128))
|
|
1559
|
-
])) :
|
|
1560
|
-
m(
|
|
1561
|
-
m(
|
|
1562
|
-
(
|
|
1559
|
+
])) : L("", !0),
|
|
1560
|
+
m(F).length && m(B).length ? (h(), A("div", Kr)) : L("", !0),
|
|
1561
|
+
m(B).length ? (h(), A("ul", Hr, [
|
|
1562
|
+
(h(!0), A(pe, null, _e(m(B), (k) => (h(), z(Et, {
|
|
1563
1563
|
key: k.name,
|
|
1564
1564
|
item: k,
|
|
1565
|
-
onClick:
|
|
1565
|
+
onClick: j
|
|
1566
1566
|
}, null, 8, ["item"]))), 128))
|
|
1567
|
-
])) :
|
|
1567
|
+
])) : L("", !0)
|
|
1568
1568
|
])
|
|
1569
1569
|
]),
|
|
1570
1570
|
w("div", zr, [
|
|
1571
|
-
D(
|
|
1572
|
-
n.profileName || n.profileItems.length ? (
|
|
1571
|
+
D(p.$slots, "footer", {}, () => [
|
|
1572
|
+
n.profileName || n.profileItems.length ? (h(), z(sr, {
|
|
1573
1573
|
key: 0,
|
|
1574
1574
|
class: "sidebar-profile-menu",
|
|
1575
1575
|
"item-count": n.profileItems.length,
|
|
1576
1576
|
name: n.profileName
|
|
1577
1577
|
}, {
|
|
1578
|
-
default:
|
|
1579
|
-
(
|
|
1578
|
+
default: P(() => [
|
|
1579
|
+
(h(!0), A(pe, null, _e(n.profileItems, (k) => (h(), z(M, {
|
|
1580
1580
|
key: k.name,
|
|
1581
|
-
class:
|
|
1581
|
+
class: Q([{ "has-divider": k.hasDivider }, { "external-profile-dropdown-link": (k.external || k.newWindow) && typeof k.to == "string" }]),
|
|
1582
1582
|
"has-divider": k.hasDivider,
|
|
1583
1583
|
item: (k.external || k.newWindow) && typeof k.to == "string" ? void 0 : { label: k.name, to: k.to },
|
|
1584
|
-
onClick: (
|
|
1584
|
+
onClick: (X) => j(k)
|
|
1585
1585
|
}, {
|
|
1586
|
-
default:
|
|
1587
|
-
(k.external || k.newWindow) && typeof k.to == "string" ? (
|
|
1586
|
+
default: P(() => [
|
|
1587
|
+
(k.external || k.newWindow) && typeof k.to == "string" ? (h(), A("a", {
|
|
1588
1588
|
key: 0,
|
|
1589
1589
|
class: "sidebar-item-external-link",
|
|
1590
1590
|
href: k.to,
|
|
1591
1591
|
target: k.newWindow ? "_blank" : void 0
|
|
1592
1592
|
}, [
|
|
1593
|
-
|
|
1594
|
-
k.newWindow ? (
|
|
1593
|
+
Fe(ie(k.name) + " ", 1),
|
|
1594
|
+
k.newWindow ? (h(), z(y, {
|
|
1595
1595
|
key: 0,
|
|
1596
1596
|
color: "var(--black-70, rgba(0,0,0,0.7))",
|
|
1597
1597
|
icon: "externalLink",
|
|
1598
1598
|
size: "20",
|
|
1599
1599
|
viewBox: "0 0 20 20"
|
|
1600
|
-
})) :
|
|
1601
|
-
], 8, Vr)) :
|
|
1600
|
+
})) : L("", !0)
|
|
1601
|
+
], 8, Vr)) : L("", !0)
|
|
1602
1602
|
]),
|
|
1603
1603
|
_: 2
|
|
1604
1604
|
}, 1032, ["class", "has-divider", "item", "onClick"]))), 128))
|
|
1605
1605
|
]),
|
|
1606
1606
|
_: 1
|
|
1607
|
-
}, 8, ["item-count", "name"])) :
|
|
1607
|
+
}, 8, ["item-count", "name"])) : L("", !0)
|
|
1608
1608
|
], !0)
|
|
1609
1609
|
])
|
|
1610
1610
|
], 2)
|
|
@@ -1615,11 +1615,11 @@ const Br = Re, Lr = {
|
|
|
1615
1615
|
};
|
|
1616
1616
|
}
|
|
1617
1617
|
});
|
|
1618
|
-
const Gr = /* @__PURE__ */
|
|
1618
|
+
const Gr = /* @__PURE__ */ J(Wr, [["__scopeId", "data-v-46293c41"]]), rt = (n) => (at("data-v-33b3f7c3"), n = n(), nt(), n), Ur = ["aria-label", "onClick"], qr = /* @__PURE__ */ rt(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), Yr = /* @__PURE__ */ rt(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), Xr = /* @__PURE__ */ rt(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), Jr = [
|
|
1619
1619
|
qr,
|
|
1620
1620
|
Yr,
|
|
1621
1621
|
Xr
|
|
1622
|
-
], Qr = /* @__PURE__ */
|
|
1622
|
+
], Qr = /* @__PURE__ */ ee({
|
|
1623
1623
|
__name: "SidebarToggle",
|
|
1624
1624
|
props: {
|
|
1625
1625
|
active: {
|
|
@@ -1629,28 +1629,28 @@ const Gr = /* @__PURE__ */ Y(Wr, [["__scopeId", "data-v-46293c41"]]), rt = (n) =
|
|
|
1629
1629
|
},
|
|
1630
1630
|
emits: ["toggle"],
|
|
1631
1631
|
setup(n, { emit: t }) {
|
|
1632
|
-
const a = n, r =
|
|
1632
|
+
const a = n, r = U(a.active || !1), c = () => {
|
|
1633
1633
|
r.value = !r.value, t("toggle", r.value);
|
|
1634
1634
|
};
|
|
1635
|
-
return
|
|
1635
|
+
return Ne(() => a.active, (u) => {
|
|
1636
1636
|
r.value = u;
|
|
1637
|
-
}), (u, o) => (
|
|
1637
|
+
}), (u, o) => (h(), A("a", {
|
|
1638
1638
|
"aria-haspopup": "true",
|
|
1639
1639
|
"aria-label": r.value ? "Close Main Menu" : "Open Main Menu",
|
|
1640
|
-
class:
|
|
1640
|
+
class: Q(["sidebar-menu-toggle", { active: r.value }]),
|
|
1641
1641
|
href: "#",
|
|
1642
1642
|
role: "button",
|
|
1643
1643
|
onClick: Pt(c, ["prevent"])
|
|
1644
1644
|
}, Jr, 10, Ur));
|
|
1645
1645
|
}
|
|
1646
1646
|
});
|
|
1647
|
-
const ei = /* @__PURE__ */
|
|
1647
|
+
const ei = /* @__PURE__ */ J(Qr, [["__scopeId", "data-v-33b3f7c3"]]), ti = (n) => (at("data-v-b58d040f"), n = n(), nt(), n), ai = { id: "kong-ui-app-layout-notification" }, ni = { class: "mobile-logo" }, ri = {
|
|
1648
1648
|
key: 0,
|
|
1649
1649
|
class: "navbar-logo"
|
|
1650
1650
|
}, ii = {
|
|
1651
1651
|
class: "kong-ui-app-layout-main",
|
|
1652
1652
|
"data-testid": "kong-ui-app-layout-main"
|
|
1653
|
-
}, oi = { class: "kong-ui-app-layout-content" }, si = /* @__PURE__ */ ti(() => /* @__PURE__ */ w("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), ci = /* @__PURE__ */
|
|
1653
|
+
}, oi = { class: "kong-ui-app-layout-content" }, si = /* @__PURE__ */ ti(() => /* @__PURE__ */ w("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), ci = /* @__PURE__ */ ee({
|
|
1654
1654
|
__name: "AppLayout",
|
|
1655
1655
|
props: {
|
|
1656
1656
|
hideDefaultSlot: {
|
|
@@ -1691,9 +1691,9 @@ const ei = /* @__PURE__ */ Y(Qr, [["__scopeId", "data-v-33b3f7c3"]]), ti = (n) =
|
|
|
1691
1691
|
emits: ["sidebar-click"],
|
|
1692
1692
|
setup(n, { emit: t }) {
|
|
1693
1693
|
const a = n;
|
|
1694
|
-
et((
|
|
1695
|
-
28036775: m(
|
|
1696
|
-
"7ec78228": m(
|
|
1694
|
+
et((S) => ({
|
|
1695
|
+
28036775: m(K),
|
|
1696
|
+
"7ec78228": m(W)
|
|
1697
1697
|
}));
|
|
1698
1698
|
const r = tt(), c = Ee({
|
|
1699
1699
|
navbarLeft: _(() => !!r["navbar-left"]),
|
|
@@ -1713,128 +1713,128 @@ const ei = /* @__PURE__ */ Y(Qr, [["__scopeId", "data-v-33b3f7c3"]]), ti = (n) =
|
|
|
1713
1713
|
profileName: _(() => a.sidebarProfileName),
|
|
1714
1714
|
open: _(() => a.sidebarOpen),
|
|
1715
1715
|
hidden: _(() => a.sidebarHidden)
|
|
1716
|
-
}), g = (
|
|
1717
|
-
t("sidebar-click",
|
|
1718
|
-
}, T =
|
|
1719
|
-
T.value =
|
|
1716
|
+
}), g = (S) => {
|
|
1717
|
+
t("sidebar-click", S);
|
|
1718
|
+
}, T = U(!1), N = (S) => {
|
|
1719
|
+
T.value = S;
|
|
1720
1720
|
};
|
|
1721
1721
|
Tn(() => {
|
|
1722
1722
|
T.value = kn(f, "open").value || !1;
|
|
1723
1723
|
});
|
|
1724
|
-
const
|
|
1725
|
-
if (
|
|
1724
|
+
const F = U(0), B = U(60), O = U(0), $ = _(() => o.hidden ? O.value : B.value + O.value), K = _(() => `${$.value}px`), W = _(() => f.hidden || o.hidden ? "0" : "16px"), { debounce: j } = Gt(), Y = j((S = !1) => {
|
|
1725
|
+
if (S || F.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1726
1726
|
const Z = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1727
|
-
Z && (
|
|
1727
|
+
Z && (O.value = Z.offsetHeight);
|
|
1728
1728
|
}
|
|
1729
|
-
}, 200),
|
|
1729
|
+
}, 200), G = U();
|
|
1730
1730
|
return Pe(() => {
|
|
1731
|
-
var Z,
|
|
1732
|
-
(Z = document == null ? void 0 : document.body) == null || Z.classList.add("kong-ui-app-layout-body"), (
|
|
1733
|
-
const
|
|
1734
|
-
|
|
1731
|
+
var Z, I;
|
|
1732
|
+
(Z = document == null ? void 0 : document.body) == null || Z.classList.add("kong-ui-app-layout-body"), (I = document == null ? void 0 : document.documentElement) == null || I.classList.add("kong-ui-app-layout-html"), F.value = window == null ? void 0 : window.innerWidth, Y(!0);
|
|
1733
|
+
const S = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1734
|
+
S && (G.value = new ResizeObserver((l) => {
|
|
1735
1735
|
for (const d of l) {
|
|
1736
1736
|
const b = d.contentRect.height;
|
|
1737
|
-
|
|
1737
|
+
O.value !== b && (O.value = b);
|
|
1738
1738
|
}
|
|
1739
|
-
}),
|
|
1739
|
+
}), G.value.observe(S)), window.addEventListener("resize", Y);
|
|
1740
1740
|
}), Zt(() => {
|
|
1741
|
-
|
|
1742
|
-
}), (
|
|
1743
|
-
class:
|
|
1741
|
+
G.value && G.value.disconnect(), window.removeEventListener("resize", Y);
|
|
1742
|
+
}), (S, Z) => (h(), A("div", {
|
|
1743
|
+
class: Q(["kong-ui-app-layout", [
|
|
1744
1744
|
{ "navbar-hidden": o.hidden },
|
|
1745
1745
|
{ "sidebar-hidden": f.hidden }
|
|
1746
1746
|
]])
|
|
1747
1747
|
}, [
|
|
1748
1748
|
w("div", ai, [
|
|
1749
|
-
D(
|
|
1749
|
+
D(S.$slots, "notification", {}, void 0, !0)
|
|
1750
1750
|
]),
|
|
1751
|
-
o.hidden ?
|
|
1751
|
+
o.hidden ? L("", !0) : (h(), z(Dn, {
|
|
1752
1752
|
key: String(f.hidden),
|
|
1753
1753
|
"left-offset": f.hidden ? 0 : void 0,
|
|
1754
|
-
"top-offset":
|
|
1754
|
+
"top-offset": O.value
|
|
1755
1755
|
}, $t({
|
|
1756
|
-
"mobile-sidebar-toggle":
|
|
1757
|
-
f.hidden ?
|
|
1756
|
+
"mobile-sidebar-toggle": P(() => [
|
|
1757
|
+
f.hidden ? L("", !0) : (h(), z(ei, {
|
|
1758
1758
|
key: 0,
|
|
1759
1759
|
active: T.value,
|
|
1760
|
-
onToggle:
|
|
1760
|
+
onToggle: N
|
|
1761
1761
|
}, null, 8, ["active"]))
|
|
1762
1762
|
]),
|
|
1763
1763
|
_: 2
|
|
1764
1764
|
}, [
|
|
1765
1765
|
c.navbarMobileLogo ? {
|
|
1766
1766
|
name: "mobile-logo",
|
|
1767
|
-
fn:
|
|
1767
|
+
fn: P(() => [
|
|
1768
1768
|
w("div", ni, [
|
|
1769
|
-
D(
|
|
1769
|
+
D(S.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1770
1770
|
])
|
|
1771
1771
|
]),
|
|
1772
1772
|
key: "0"
|
|
1773
1773
|
} : void 0,
|
|
1774
1774
|
c.navbarLogo ? {
|
|
1775
1775
|
name: "logo",
|
|
1776
|
-
fn:
|
|
1777
|
-
f.hidden ? (
|
|
1778
|
-
D(
|
|
1779
|
-
])) :
|
|
1776
|
+
fn: P(() => [
|
|
1777
|
+
f.hidden ? (h(), A("div", ri, [
|
|
1778
|
+
D(S.$slots, "navbar-logo", {}, void 0, !0)
|
|
1779
|
+
])) : L("", !0)
|
|
1780
1780
|
]),
|
|
1781
1781
|
key: "1"
|
|
1782
1782
|
} : void 0,
|
|
1783
1783
|
c.navbarLeft ? {
|
|
1784
1784
|
name: "left",
|
|
1785
|
-
fn:
|
|
1786
|
-
D(
|
|
1785
|
+
fn: P(() => [
|
|
1786
|
+
D(S.$slots, "navbar-left", {}, void 0, !0)
|
|
1787
1787
|
]),
|
|
1788
1788
|
key: "2"
|
|
1789
1789
|
} : void 0,
|
|
1790
1790
|
c.navbarCenter ? {
|
|
1791
1791
|
name: "center",
|
|
1792
|
-
fn:
|
|
1793
|
-
D(
|
|
1792
|
+
fn: P(() => [
|
|
1793
|
+
D(S.$slots, "navbar-center", {}, void 0, !0)
|
|
1794
1794
|
]),
|
|
1795
1795
|
key: "3"
|
|
1796
1796
|
} : void 0,
|
|
1797
1797
|
c.navbarRight ? {
|
|
1798
1798
|
name: "right",
|
|
1799
|
-
fn:
|
|
1800
|
-
D(
|
|
1799
|
+
fn: P(() => [
|
|
1800
|
+
D(S.$slots, "navbar-right", {}, void 0, !0)
|
|
1801
1801
|
]),
|
|
1802
1802
|
key: "4"
|
|
1803
1803
|
} : void 0
|
|
1804
1804
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1805
|
-
f.hidden ?
|
|
1805
|
+
f.hidden ? L("", !0) : (h(), z(Gr, {
|
|
1806
1806
|
key: 1,
|
|
1807
1807
|
"bottom-items": f.bottomItems,
|
|
1808
|
-
"header-height":
|
|
1808
|
+
"header-height": B.value,
|
|
1809
1809
|
"mobile-enabled": "",
|
|
1810
1810
|
"mobile-header-visible": !1,
|
|
1811
|
-
"mobile-top-offset": m(
|
|
1811
|
+
"mobile-top-offset": m($),
|
|
1812
1812
|
open: T.value,
|
|
1813
1813
|
"profile-items": f.profileItems,
|
|
1814
1814
|
"profile-name": f.profileName,
|
|
1815
1815
|
"top-items": f.topItems,
|
|
1816
|
-
"top-offset":
|
|
1816
|
+
"top-offset": O.value,
|
|
1817
1817
|
onClick: g,
|
|
1818
|
-
onToggle:
|
|
1818
|
+
onToggle: N
|
|
1819
1819
|
}, $t({ _: 2 }, [
|
|
1820
1820
|
c.sidebarHeader ? {
|
|
1821
1821
|
name: "header",
|
|
1822
|
-
fn:
|
|
1823
|
-
D(
|
|
1822
|
+
fn: P(() => [
|
|
1823
|
+
D(S.$slots, "sidebar-header", {}, void 0, !0)
|
|
1824
1824
|
]),
|
|
1825
1825
|
key: "0"
|
|
1826
1826
|
} : void 0,
|
|
1827
1827
|
c.sidebarTop ? {
|
|
1828
1828
|
name: "top",
|
|
1829
|
-
fn:
|
|
1830
|
-
D(
|
|
1829
|
+
fn: P(() => [
|
|
1830
|
+
D(S.$slots, "sidebar-top", {}, void 0, !0)
|
|
1831
1831
|
]),
|
|
1832
1832
|
key: "1"
|
|
1833
1833
|
} : void 0,
|
|
1834
1834
|
c.sidebarFooter ? {
|
|
1835
1835
|
name: "footer",
|
|
1836
|
-
fn:
|
|
1837
|
-
D(
|
|
1836
|
+
fn: P(() => [
|
|
1837
|
+
D(S.$slots, "sidebar-footer", {}, void 0, !0)
|
|
1838
1838
|
]),
|
|
1839
1839
|
key: "2"
|
|
1840
1840
|
} : void 0
|
|
@@ -1842,74 +1842,14 @@ const ei = /* @__PURE__ */ Y(Qr, [["__scopeId", "data-v-33b3f7c3"]]), ti = (n) =
|
|
|
1842
1842
|
w("main", ii, [
|
|
1843
1843
|
w("div", oi, [
|
|
1844
1844
|
si,
|
|
1845
|
-
D(
|
|
1846
|
-
m(u) ?
|
|
1845
|
+
D(S.$slots, "app-error", {}, void 0, !0),
|
|
1846
|
+
m(u) ? L("", !0) : D(S.$slots, "default", { key: 0 }, void 0, !0)
|
|
1847
1847
|
])
|
|
1848
1848
|
])
|
|
1849
1849
|
], 2));
|
|
1850
1850
|
}
|
|
1851
1851
|
});
|
|
1852
|
-
const li = /* @__PURE__ */
|
|
1853
|
-
__name: "NavbarDropdownMenu",
|
|
1854
|
-
props: {
|
|
1855
|
-
options: {
|
|
1856
|
-
type: Array,
|
|
1857
|
-
default: () => []
|
|
1858
|
-
},
|
|
1859
|
-
tooltip: {
|
|
1860
|
-
type: String,
|
|
1861
|
-
default: ""
|
|
1862
|
-
},
|
|
1863
|
-
width: {
|
|
1864
|
-
type: String,
|
|
1865
|
-
default: "175"
|
|
1866
|
-
},
|
|
1867
|
-
disabled: {
|
|
1868
|
-
type: Boolean,
|
|
1869
|
-
default: !1
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
emits: ["change"],
|
|
1873
|
-
setup(n, { emit: t }) {
|
|
1874
|
-
var u;
|
|
1875
|
-
const a = n, r = W(((u = a.options) == null ? void 0 : u.filter((o) => !!o.selected)[0]) || a.options[0]), c = (o) => {
|
|
1876
|
-
r.value = o, t("change", r.value);
|
|
1877
|
-
};
|
|
1878
|
-
return (o, f) => {
|
|
1879
|
-
const g = te("KDropdownItem"), T = te("KDropdownMenu");
|
|
1880
|
-
return p(), j(T, {
|
|
1881
|
-
appearance: "selectionMenu",
|
|
1882
|
-
class: "top-bar-dropdown-menu",
|
|
1883
|
-
disabled: n.disabled,
|
|
1884
|
-
"disabled-tooltip": n.tooltip,
|
|
1885
|
-
"kpop-attributes": { placement: "bottomStart", disabled: n.disabled },
|
|
1886
|
-
label: r.value.label,
|
|
1887
|
-
width: n.width,
|
|
1888
|
-
onChange: f[0] || (f[0] = (C) => c(C))
|
|
1889
|
-
}, {
|
|
1890
|
-
items: L(({ handleSelection: C }) => [
|
|
1891
|
-
D(o.$slots, "default", {}, () => [
|
|
1892
|
-
(p(!0), $(ue, null, he(n.options, (S) => (p(), j(g, {
|
|
1893
|
-
key: S.value,
|
|
1894
|
-
"data-testid": "select-" + S.value,
|
|
1895
|
-
selected: r.value.value === S.value,
|
|
1896
|
-
onClick: (M) => C(S)
|
|
1897
|
-
}, {
|
|
1898
|
-
default: L(() => [
|
|
1899
|
-
D(o.$slots, "default", { option: S }, () => [
|
|
1900
|
-
Te(ie(S.label), 1)
|
|
1901
|
-
], !0)
|
|
1902
|
-
]),
|
|
1903
|
-
_: 2
|
|
1904
|
-
}, 1032, ["data-testid", "selected", "onClick"]))), 128))
|
|
1905
|
-
], !0)
|
|
1906
|
-
]),
|
|
1907
|
-
_: 3
|
|
1908
|
-
}, 8, ["disabled", "disabled-tooltip", "kpop-attributes", "label", "width"]);
|
|
1909
|
-
};
|
|
1910
|
-
}
|
|
1911
|
-
});
|
|
1912
|
-
const Ii = /* @__PURE__ */ Y(ui, [["__scopeId", "data-v-760cb07f"]]), di = /* @__PURE__ */ Q({
|
|
1852
|
+
const li = /* @__PURE__ */ J(ci, [["__scopeId", "data-v-b58d040f"]]), ui = /* @__PURE__ */ ee({
|
|
1913
1853
|
__name: "AccountDropdown",
|
|
1914
1854
|
props: {
|
|
1915
1855
|
options: {
|
|
@@ -1929,26 +1869,26 @@ const Ii = /* @__PURE__ */ Y(ui, [["__scopeId", "data-v-760cb07f"]]), di = /* @_
|
|
|
1929
1869
|
},
|
|
1930
1870
|
setup(n) {
|
|
1931
1871
|
return (t, a) => {
|
|
1932
|
-
const r =
|
|
1933
|
-
return
|
|
1872
|
+
const r = oe("KDropdownItem"), c = oe("KDropdownMenu");
|
|
1873
|
+
return h(), z(c, {
|
|
1934
1874
|
class: "account-dropdown",
|
|
1935
1875
|
"kpop-attributes": { placement: "bottomStart" },
|
|
1936
1876
|
label: n.userInitials,
|
|
1937
1877
|
size: "small",
|
|
1938
1878
|
width: n.width
|
|
1939
1879
|
}, {
|
|
1940
|
-
items:
|
|
1880
|
+
items: P(({ handleSelection: u }) => [
|
|
1941
1881
|
D(t.$slots, "default", {}, () => [
|
|
1942
|
-
(
|
|
1882
|
+
(h(!0), A(pe, null, _e(n.options, (o) => (h(), z(r, {
|
|
1943
1883
|
key: o.value,
|
|
1944
|
-
class:
|
|
1884
|
+
class: Q({ "has-divider": o.hasDivider }),
|
|
1945
1885
|
"data-testid": "select-" + o.value,
|
|
1946
1886
|
"has-divider": o.hasDivider,
|
|
1947
1887
|
onClick: (f) => u(o)
|
|
1948
1888
|
}, {
|
|
1949
|
-
default:
|
|
1889
|
+
default: P(() => [
|
|
1950
1890
|
D(t.$slots, "default", { option: o }, () => [
|
|
1951
|
-
|
|
1891
|
+
Fe(ie(o.label), 1)
|
|
1952
1892
|
], !0)
|
|
1953
1893
|
]),
|
|
1954
1894
|
_: 2
|
|
@@ -1960,38 +1900,38 @@ const Ii = /* @__PURE__ */ Y(ui, [["__scopeId", "data-v-760cb07f"]]), di = /* @_
|
|
|
1960
1900
|
};
|
|
1961
1901
|
}
|
|
1962
1902
|
});
|
|
1963
|
-
const
|
|
1903
|
+
const Si = /* @__PURE__ */ J(ui, [["__scopeId", "data-v-6e34d3da"]]), di = {}, fi = {
|
|
1964
1904
|
fill: "none",
|
|
1965
1905
|
height: "130",
|
|
1966
1906
|
width: "130",
|
|
1967
1907
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1968
|
-
},
|
|
1969
|
-
|
|
1908
|
+
}, vi = /* @__PURE__ */ Sn('<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), bi = [
|
|
1909
|
+
vi
|
|
1970
1910
|
];
|
|
1971
|
-
function
|
|
1972
|
-
return
|
|
1911
|
+
function pi(n, t) {
|
|
1912
|
+
return h(), A("svg", fi, bi);
|
|
1973
1913
|
}
|
|
1974
|
-
const
|
|
1975
|
-
/* @__PURE__ */
|
|
1914
|
+
const hi = /* @__PURE__ */ J(di, [["render", pi]]), Ut = (n) => (at("data-v-ff05f71e"), n = n(), nt(), n), mi = { class: "kong-ui-app-error" }, gi = { class: "banana-icon" }, yi = { class: "kong-ui-app-error-content" }, _i = /* @__PURE__ */ Ut(() => /* @__PURE__ */ w("h2", null, "An unexpected error has occurred", -1)), wi = /* @__PURE__ */ Ut(() => /* @__PURE__ */ w("p", null, [
|
|
1915
|
+
/* @__PURE__ */ Fe("Go back to the previous page or "),
|
|
1976
1916
|
/* @__PURE__ */ w("a", { href: "/" }, "return home"),
|
|
1977
|
-
/* @__PURE__ */
|
|
1978
|
-
], -1)),
|
|
1917
|
+
/* @__PURE__ */ Fe(".")
|
|
1918
|
+
], -1)), Ti = /* @__PURE__ */ ee({
|
|
1979
1919
|
__name: "AppError",
|
|
1980
1920
|
setup(n) {
|
|
1981
|
-
return (t, a) => (
|
|
1982
|
-
w("div",
|
|
1983
|
-
Ze(
|
|
1921
|
+
return (t, a) => (h(), A("section", mi, [
|
|
1922
|
+
w("div", gi, [
|
|
1923
|
+
Ze(hi)
|
|
1984
1924
|
]),
|
|
1985
|
-
w("div",
|
|
1925
|
+
w("div", yi, [
|
|
1986
1926
|
D(t.$slots, "default", {}, () => [
|
|
1987
|
-
|
|
1988
|
-
|
|
1927
|
+
_i,
|
|
1928
|
+
wi
|
|
1989
1929
|
], !0)
|
|
1990
1930
|
])
|
|
1991
1931
|
]));
|
|
1992
1932
|
}
|
|
1993
1933
|
});
|
|
1994
|
-
const
|
|
1934
|
+
const Ii = /* @__PURE__ */ J(Ti, [["__scopeId", "data-v-ff05f71e"]]), Ci = {
|
|
1995
1935
|
// Customize Vue plugin options as desired
|
|
1996
1936
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
1997
1937
|
install: (n, t = {}) => {
|
|
@@ -1999,13 +1939,12 @@ const xi = /* @__PURE__ */ Y(ki, [["__scopeId", "data-v-ff05f71e"]]), Oi = {
|
|
|
1999
1939
|
}
|
|
2000
1940
|
};
|
|
2001
1941
|
export {
|
|
2002
|
-
|
|
2003
|
-
|
|
1942
|
+
Si as AccountDropdown,
|
|
1943
|
+
Ii as AppError,
|
|
2004
1944
|
li as AppLayout,
|
|
2005
1945
|
Dn as AppNavbar,
|
|
2006
1946
|
Gr as AppSidebar,
|
|
2007
|
-
Ii as NavbarDropdownMenu,
|
|
2008
1947
|
ei as SidebarToggle,
|
|
2009
|
-
|
|
1948
|
+
Ci as default
|
|
2010
1949
|
};
|
|
2011
1950
|
//# sourceMappingURL=app-layout.es.js.map
|