@kong-ui-public/app-layout 0.13.9 → 0.13.10
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 +790 -785
- 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/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarFooter.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/app-layout.es.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
const xn = { class: "kong-ui-app-navbar" }, $n = { class: "header-content" }, En = { class: "mobile-header-left" }, Nn = {
|
|
1
|
+
import { defineComponent as Q, useCssVars as et, unref as m, useSlots as tt, computed as y, reactive as Ne, onMounted as Le, openBlock as p, createElementBlock as $, createElementVNode as _, renderSlot as R, createCommentVNode as B, toDisplayString as ie, resolveComponent as oe, normalizeClass as ne, createBlock as z, resolveDynamicComponent as pn, withCtx as P, withKeys as hn, createVNode as Ze, Fragment as pe, renderList as _e, withModifiers as Lt, ref as W, watch as Ae, onUnmounted as mn, Comment as gn, cloneVNode as yn, onBeforeUnmount as Zt, createTextVNode as Fe, nextTick as _n, pushScopeId as at, popScopeId as nt, watchEffect as wn, toRef as Tn, createSlots as Et, createStaticVNode as kn } from "vue";
|
|
2
|
+
const Sn = { class: "kong-ui-app-navbar" }, In = { class: "header-content" }, Cn = { class: "mobile-header-left" }, On = {
|
|
4
3
|
key: 0,
|
|
5
4
|
class: "app-navbar-logo"
|
|
6
|
-
},
|
|
5
|
+
}, xn = { class: "navbar-content" }, $n = { class: "navbar-content-left" }, En = { class: "navbar-content-center" }, Nn = { class: "navbar-content-right" }, An = /* @__PURE__ */ Q({
|
|
7
6
|
__name: "AppNavbar",
|
|
8
7
|
props: {
|
|
9
8
|
topOffset: {
|
|
@@ -23,17 +22,17 @@ const xn = { class: "kong-ui-app-navbar" }, $n = { class: "header-content" }, En
|
|
|
23
22
|
setup(n) {
|
|
24
23
|
const t = n;
|
|
25
24
|
et((s) => ({
|
|
26
|
-
e7993570:
|
|
27
|
-
"591d67a5":
|
|
28
|
-
"0b950b18":
|
|
25
|
+
e7993570: m(u).top,
|
|
26
|
+
"591d67a5": m(u).zIndex,
|
|
27
|
+
"0b950b18": m(u).left,
|
|
29
28
|
74170388: c.marginRight,
|
|
30
29
|
"482efd74": c.width
|
|
31
30
|
}));
|
|
32
|
-
const a = tt(), r = y(() => !!a.logo), c =
|
|
31
|
+
const a = tt(), r = y(() => !!a.logo), c = Ne({
|
|
33
32
|
marginRight: "0",
|
|
34
33
|
width: "0"
|
|
35
34
|
});
|
|
36
|
-
|
|
35
|
+
Le(() => {
|
|
37
36
|
var s, f;
|
|
38
37
|
(f = (s = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : s.children) != null && f.length ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
|
|
39
38
|
});
|
|
@@ -42,36 +41,36 @@ const xn = { class: "kong-ui-app-navbar" }, $n = { class: "header-content" }, En
|
|
|
42
41
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
43
42
|
zIndex: t.zIndex
|
|
44
43
|
}));
|
|
45
|
-
return (s, f) => (
|
|
46
|
-
_("div",
|
|
47
|
-
_("div",
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
return (s, f) => (p(), $("header", Sn, [
|
|
45
|
+
_("div", In, [
|
|
46
|
+
_("div", Cn, [
|
|
47
|
+
R(s.$slots, "mobile-sidebar-toggle"),
|
|
48
|
+
R(s.$slots, "mobile-logo")
|
|
50
49
|
]),
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
])) :
|
|
54
|
-
_("div",
|
|
55
|
-
_("div",
|
|
56
|
-
|
|
50
|
+
m(r) ? (p(), $("div", On, [
|
|
51
|
+
R(s.$slots, "logo")
|
|
52
|
+
])) : B("", !0),
|
|
53
|
+
_("div", xn, [
|
|
54
|
+
_("div", $n, [
|
|
55
|
+
R(s.$slots, "left")
|
|
57
56
|
]),
|
|
58
|
-
_("div",
|
|
59
|
-
|
|
57
|
+
_("div", En, [
|
|
58
|
+
R(s.$slots, "center")
|
|
60
59
|
]),
|
|
61
|
-
_("div",
|
|
62
|
-
|
|
60
|
+
_("div", Nn, [
|
|
61
|
+
R(s.$slots, "right")
|
|
63
62
|
])
|
|
64
63
|
])
|
|
65
64
|
])
|
|
66
65
|
]));
|
|
67
66
|
}
|
|
68
67
|
});
|
|
69
|
-
const
|
|
68
|
+
const J = (n, t) => {
|
|
70
69
|
const a = n.__vccOpts || n;
|
|
71
70
|
for (const [r, c] of t)
|
|
72
71
|
a[r] = c;
|
|
73
72
|
return a;
|
|
74
|
-
},
|
|
73
|
+
}, Fn = /* @__PURE__ */ J(An, [["__scopeId", "data-v-b7131fb2"]]), Dn = ["title"], Rn = /* @__PURE__ */ Q({
|
|
75
74
|
__name: "ItemBadge",
|
|
76
75
|
props: {
|
|
77
76
|
count: {
|
|
@@ -82,20 +81,20 @@ const q = (n, t) => {
|
|
|
82
81
|
},
|
|
83
82
|
setup(n) {
|
|
84
83
|
const t = n, a = 99, r = y(() => t.count ? t.count > a ? `${a}+` : t.count.toString() : "");
|
|
85
|
-
return (c, u) =>
|
|
84
|
+
return (c, u) => m(r) ? (p(), $("div", {
|
|
86
85
|
key: 0,
|
|
87
86
|
class: "item-badge",
|
|
88
87
|
title: (n.count || 0) > a ? String(n.count) : void 0
|
|
89
|
-
},
|
|
88
|
+
}, ie(m(r)), 9, Dn)) : B("", !0);
|
|
90
89
|
}
|
|
91
90
|
});
|
|
92
|
-
const
|
|
91
|
+
const Bn = /* @__PURE__ */ J(Rn, [["__scopeId", "data-v-9e48c714"]]), Mn = ["data-testid"], Ln = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Zn = {
|
|
93
92
|
key: 0,
|
|
94
93
|
class: "sidebar-item-icon"
|
|
95
|
-
},
|
|
94
|
+
}, Pn = { class: "sidebar-item-name-container" }, jn = { class: "sidebar-item-name has-tooltip" }, Hn = {
|
|
96
95
|
key: 2,
|
|
97
96
|
class: "sidebar-item-label truncate-text truncate-20"
|
|
98
|
-
},
|
|
97
|
+
}, Kn = ["id"], zn = /* @__PURE__ */ Q({
|
|
99
98
|
__name: "SidebarItem",
|
|
100
99
|
props: {
|
|
101
100
|
item: {
|
|
@@ -109,119 +108,119 @@ const Pn = /* @__PURE__ */ q(Zn, [["__scopeId", "data-v-9e48c714"]]), jn = ["dat
|
|
|
109
108
|
},
|
|
110
109
|
emits: ["click"],
|
|
111
110
|
setup(n, { emit: t }) {
|
|
112
|
-
const a = n, r = y(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), c = y(() => !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 = y(() => a.subnavItem && a.item.badgeCount !== void 0), s = (
|
|
113
|
-
t("click",
|
|
114
|
-
}, f = (
|
|
115
|
-
s(k), typeof
|
|
111
|
+
const a = n, r = y(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), c = y(() => !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 = y(() => a.subnavItem && a.item.badgeCount !== void 0), s = (w) => {
|
|
112
|
+
t("click", w);
|
|
113
|
+
}, f = (w, k, F) => {
|
|
114
|
+
s(k), typeof F == "function" && (w.preventDefault(), F());
|
|
116
115
|
};
|
|
117
|
-
return (
|
|
118
|
-
var
|
|
119
|
-
const
|
|
120
|
-
return
|
|
121
|
-
class:
|
|
116
|
+
return (w, k) => {
|
|
117
|
+
var O;
|
|
118
|
+
const F = oe("KIcon"), N = oe("KTooltip"), D = oe("SidebarItem", !0);
|
|
119
|
+
return p(), $("li", {
|
|
120
|
+
class: ne([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
|
|
122
121
|
"data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
|
|
123
122
|
}, [
|
|
124
|
-
(
|
|
125
|
-
custom:
|
|
126
|
-
to: !
|
|
123
|
+
(p(), z(pn(m(r) ? "div" : "router-link"), {
|
|
124
|
+
custom: m(r) ? void 0 : !0,
|
|
125
|
+
to: !m(r) && !m(c) ? n.item.to : void 0
|
|
127
126
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
var
|
|
127
|
+
default: P((E) => {
|
|
128
|
+
var H, G;
|
|
130
129
|
return [
|
|
131
130
|
_("a", {
|
|
132
|
-
"aria-controls": (
|
|
133
|
-
"aria-expanded": (
|
|
134
|
-
class:
|
|
135
|
-
href:
|
|
136
|
-
target:
|
|
137
|
-
onClick: (
|
|
138
|
-
onKeypress:
|
|
131
|
+
"aria-controls": (H = n.item.items) != null && H.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
|
|
132
|
+
"aria-expanded": (G = n.item.items) != null && G.length && n.item.expanded ? !0 : void 0,
|
|
133
|
+
class: ne(["sidebar-item-link", { "sidebar-item-external-link": m(c), "router-link": !m(r) }]),
|
|
134
|
+
href: m(r) ? String(n.item.to || "#") : E == null ? void 0 : E.href,
|
|
135
|
+
target: m(c) ? "_blank" : void 0,
|
|
136
|
+
onClick: (j) => f(j, n.item, E == null ? void 0 : E.navigate),
|
|
137
|
+
onKeypress: hn((j) => f(j, n.item, E == null ? void 0 : E.navigate), ["enter"])
|
|
139
138
|
}, [
|
|
140
139
|
_("div", {
|
|
141
|
-
class:
|
|
140
|
+
class: ne(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": m(u) }])
|
|
142
141
|
}, [
|
|
143
|
-
n.item.icon ? (
|
|
144
|
-
|
|
142
|
+
n.item.icon ? (p(), $("div", Zn, [
|
|
143
|
+
Ze(F, {
|
|
145
144
|
color: n.item.active || n.item.expanded ? "var(--white, #fff)" : "#B5BECD",
|
|
146
145
|
icon: String(n.item.icon),
|
|
147
146
|
size: "20"
|
|
148
147
|
}, null, 8, ["color", "icon"])
|
|
149
|
-
])) :
|
|
150
|
-
_("div",
|
|
151
|
-
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (
|
|
148
|
+
])) : B("", !0),
|
|
149
|
+
_("div", Pn, [
|
|
150
|
+
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (p(), $("div", {
|
|
152
151
|
key: 0,
|
|
153
|
-
class:
|
|
154
|
-
},
|
|
152
|
+
class: ne(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
|
|
153
|
+
}, ie(n.item.name), 3)) : (p(), z(N, {
|
|
155
154
|
key: 1,
|
|
156
155
|
class: "sidebar-item-tooltip",
|
|
157
156
|
label: n.item.name,
|
|
158
157
|
placement: "right",
|
|
159
158
|
"position-fixed": ""
|
|
160
159
|
}, {
|
|
161
|
-
default:
|
|
162
|
-
_("div",
|
|
160
|
+
default: P(() => [
|
|
161
|
+
_("div", jn, [
|
|
163
162
|
_("span", {
|
|
164
|
-
class:
|
|
165
|
-
},
|
|
163
|
+
class: ne(["truncate-text", [n.subnavItem ? "truncate-20" : "truncate-17", { "has-badge-max-width": m(u) }]])
|
|
164
|
+
}, ie(n.item.name), 3)
|
|
166
165
|
])
|
|
167
166
|
]),
|
|
168
167
|
_: 1
|
|
169
168
|
}, 8, ["label"])),
|
|
170
|
-
n.item.label && n.item.expanded ? (
|
|
169
|
+
n.item.label && n.item.expanded ? (p(), $("div", Hn, ie(n.item.label), 1)) : B("", !0)
|
|
171
170
|
]),
|
|
172
|
-
|
|
171
|
+
m(u) ? (p(), z(Bn, {
|
|
173
172
|
key: 1,
|
|
174
173
|
count: n.item.badgeCount
|
|
175
|
-
}, null, 8, ["count"])) :
|
|
174
|
+
}, null, 8, ["count"])) : B("", !0)
|
|
176
175
|
], 2)
|
|
177
|
-
], 42,
|
|
176
|
+
], 42, Ln)
|
|
178
177
|
];
|
|
179
178
|
}),
|
|
180
179
|
_: 1
|
|
181
180
|
}, 8, ["custom", "to"])),
|
|
182
|
-
(
|
|
181
|
+
(O = n.item.items) != null && O.length && n.item.expanded ? (p(), $("ul", {
|
|
183
182
|
key: 0,
|
|
184
183
|
id: `subnav-${n.item.key}`,
|
|
185
184
|
class: "level-secondary"
|
|
186
185
|
}, [
|
|
187
|
-
(
|
|
188
|
-
key:
|
|
189
|
-
item:
|
|
186
|
+
(p(!0), $(pe, null, _e(n.item.items, (E) => (p(), z(D, {
|
|
187
|
+
key: E.name,
|
|
188
|
+
item: E,
|
|
190
189
|
"subnav-item": !0,
|
|
191
|
-
onClick: (
|
|
190
|
+
onClick: (H) => s(E)
|
|
192
191
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
193
|
-
], 8,
|
|
194
|
-
], 10,
|
|
192
|
+
], 8, Kn)) : B("", !0)
|
|
193
|
+
], 10, Mn);
|
|
195
194
|
};
|
|
196
195
|
}
|
|
197
196
|
});
|
|
198
|
-
const Nt = /* @__PURE__ */
|
|
197
|
+
const Nt = /* @__PURE__ */ J(zn, [["__scopeId", "data-v-b0428668"]]), Vn = {}, Wn = {
|
|
199
198
|
class: "profile-icon",
|
|
200
199
|
fill: "none",
|
|
201
200
|
height: "30",
|
|
202
201
|
width: "30",
|
|
203
202
|
xmlns: "http://www.w3.org/2000/svg"
|
|
204
|
-
},
|
|
203
|
+
}, Gn = /* @__PURE__ */ _("path", {
|
|
205
204
|
d: "M0 15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15Z",
|
|
206
205
|
fill: "#0A7FAE"
|
|
207
|
-
}, null, -1),
|
|
206
|
+
}, null, -1), Un = /* @__PURE__ */ _("path", {
|
|
208
207
|
d: "M12.613 15 8.5 18.115V23h13v-4.885L17.648 15h-5.035ZM15 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",
|
|
209
208
|
fill: "#fff"
|
|
210
|
-
}, null, -1),
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
}, null, -1), qn = [
|
|
210
|
+
Gn,
|
|
211
|
+
Un
|
|
213
212
|
];
|
|
214
|
-
function
|
|
215
|
-
return
|
|
213
|
+
function Yn(n, t) {
|
|
214
|
+
return p(), $("svg", Wn, qn);
|
|
216
215
|
}
|
|
217
|
-
const
|
|
216
|
+
const Xn = /* @__PURE__ */ J(Vn, [["render", Yn]]), Jn = {
|
|
218
217
|
"aria-haspopup": "true",
|
|
219
218
|
"aria-label": "Profile Menu",
|
|
220
219
|
class: "sidebar-footer"
|
|
221
|
-
},
|
|
220
|
+
}, Qn = { class: "sidebar-profile-link" }, er = { class: "sidebar-item-icon" }, tr = { class: "sidebar-profile-item-container" }, ar = { class: "sidebar-profile-dropdown-container" }, nr = {
|
|
222
221
|
key: 0,
|
|
223
222
|
class: "sidebar-profile-name"
|
|
224
|
-
},
|
|
223
|
+
}, rr = { class: "sidebar-profile-name" }, ir = /* @__PURE__ */ Q({
|
|
225
224
|
__name: "SidebarFooter",
|
|
226
225
|
props: {
|
|
227
226
|
name: {
|
|
@@ -236,100 +235,103 @@ const tr = /* @__PURE__ */ q(qn, [["render", er]]), ar = {
|
|
|
236
235
|
},
|
|
237
236
|
setup(n) {
|
|
238
237
|
const t = n, a = y(() => t.itemCount > 0);
|
|
239
|
-
return (r, c) =>
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
238
|
+
return (r, c) => {
|
|
239
|
+
const u = oe("KDropdownMenu");
|
|
240
|
+
return p(), $("nav", Jn, [
|
|
241
|
+
_("div", Qn, [
|
|
242
|
+
_("div", er, [
|
|
243
|
+
Ze(Xn)
|
|
244
|
+
]),
|
|
245
|
+
_("div", tr, [
|
|
246
|
+
_("div", ar, [
|
|
247
|
+
m(a) ? (p(), z(u, {
|
|
248
|
+
key: 1,
|
|
249
|
+
"kpop-attributes": { placement: "right", popoverClasses: "ml-5 sidebar-profile-menu-popover", target: ".sidebar-footer" },
|
|
250
|
+
width: "240"
|
|
251
|
+
}, {
|
|
252
|
+
items: P(() => [
|
|
253
|
+
R(r.$slots, "default", {}, void 0, !0)
|
|
254
|
+
]),
|
|
255
|
+
default: P(() => [
|
|
256
|
+
_("a", {
|
|
257
|
+
"aria-label": "Open Profile Menu",
|
|
258
|
+
class: "profile-dropdown-trigger",
|
|
259
|
+
role: "button",
|
|
260
|
+
tabindex: "0",
|
|
261
|
+
onClick: c[0] || (c[0] = Lt(() => {
|
|
262
|
+
}, ["prevent"]))
|
|
263
|
+
}, [
|
|
264
|
+
_("span", rr, ie(n.name), 1)
|
|
265
|
+
])
|
|
266
|
+
]),
|
|
267
|
+
_: 3
|
|
268
|
+
}, 8, ["kpop-attributes"])) : (p(), $("div", nr, ie(n.name), 1))
|
|
269
|
+
])
|
|
268
270
|
])
|
|
269
271
|
])
|
|
270
|
-
])
|
|
271
|
-
|
|
272
|
+
]);
|
|
273
|
+
};
|
|
272
274
|
}
|
|
273
275
|
});
|
|
274
|
-
const
|
|
276
|
+
const or = /* @__PURE__ */ J(ir, [["__scopeId", "data-v-9af03aea"]]);
|
|
275
277
|
/*!
|
|
276
278
|
* tabbable 6.0.1
|
|
277
279
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
278
280
|
*/
|
|
279
|
-
var
|
|
280
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
281
|
+
var Pt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], De = /* @__PURE__ */ Pt.join(","), jt = typeof Element > "u", ue = jt ? function() {
|
|
282
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Re = !jt && Element.prototype.getRootNode ? function(n) {
|
|
281
283
|
return n.getRootNode();
|
|
282
284
|
} : function(n) {
|
|
283
285
|
return n.ownerDocument;
|
|
284
|
-
},
|
|
285
|
-
var c = Array.prototype.slice.apply(t.querySelectorAll(
|
|
286
|
-
return a &&
|
|
287
|
-
},
|
|
286
|
+
}, Ht = function(t, a, r) {
|
|
287
|
+
var c = Array.prototype.slice.apply(t.querySelectorAll(De));
|
|
288
|
+
return a && ue.call(t, De) && c.unshift(t), c = c.filter(r), c;
|
|
289
|
+
}, Kt = function n(t, a, r) {
|
|
288
290
|
for (var c = [], u = Array.from(t); u.length; ) {
|
|
289
291
|
var s = u.shift();
|
|
290
292
|
if (s.tagName === "SLOT") {
|
|
291
|
-
var f = s.assignedElements(),
|
|
293
|
+
var f = s.assignedElements(), w = f.length ? f : s.children, k = n(w, !0, r);
|
|
292
294
|
r.flatten ? c.push.apply(c, k) : c.push({
|
|
293
295
|
scopeParent: s,
|
|
294
296
|
candidates: k
|
|
295
297
|
});
|
|
296
298
|
} else {
|
|
297
|
-
var
|
|
298
|
-
|
|
299
|
-
var
|
|
300
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(s),
|
|
301
|
-
if (
|
|
302
|
-
var
|
|
303
|
-
r.flatten ? c.push.apply(c,
|
|
299
|
+
var F = ue.call(s, De);
|
|
300
|
+
F && r.filter(s) && (a || !t.includes(s)) && c.push(s);
|
|
301
|
+
var N = s.shadowRoot || // check for an undisclosed shadow
|
|
302
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(s), D = !r.shadowRootFilter || r.shadowRootFilter(s);
|
|
303
|
+
if (N && D) {
|
|
304
|
+
var O = n(N === !0 ? s.children : N.children, !0, r);
|
|
305
|
+
r.flatten ? c.push.apply(c, O) : c.push({
|
|
304
306
|
scopeParent: s,
|
|
305
|
-
candidates:
|
|
307
|
+
candidates: O
|
|
306
308
|
});
|
|
307
309
|
} else
|
|
308
310
|
u.unshift.apply(u, s.children);
|
|
309
311
|
}
|
|
310
312
|
}
|
|
311
313
|
return c;
|
|
312
|
-
},
|
|
314
|
+
}, zt = function(t, a) {
|
|
313
315
|
return t.tabIndex < 0 && (a || /^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || t.isContentEditable) && isNaN(parseInt(t.getAttribute("tabindex"), 10)) ? 0 : t.tabIndex;
|
|
314
|
-
},
|
|
316
|
+
}, sr = function(t, a) {
|
|
315
317
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
316
|
-
},
|
|
318
|
+
}, Vt = function(t) {
|
|
317
319
|
return t.tagName === "INPUT";
|
|
318
|
-
},
|
|
319
|
-
return
|
|
320
|
-
},
|
|
320
|
+
}, cr = function(t) {
|
|
321
|
+
return Vt(t) && t.type === "hidden";
|
|
322
|
+
}, lr = function(t) {
|
|
321
323
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
322
324
|
return r.tagName === "SUMMARY";
|
|
323
325
|
});
|
|
324
326
|
return a;
|
|
325
|
-
},
|
|
327
|
+
}, ur = function(t, a) {
|
|
326
328
|
for (var r = 0; r < t.length; r++)
|
|
327
329
|
if (t[r].checked && t[r].form === a)
|
|
328
330
|
return t[r];
|
|
329
|
-
},
|
|
331
|
+
}, dr = function(t) {
|
|
330
332
|
if (!t.name)
|
|
331
333
|
return !0;
|
|
332
|
-
var a = t.form ||
|
|
334
|
+
var a = t.form || Re(t), r = function(f) {
|
|
333
335
|
return a.querySelectorAll('input[type="radio"][name="' + f + '"]');
|
|
334
336
|
}, c;
|
|
335
337
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -340,106 +342,106 @@ var jt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
|
340
342
|
} catch (s) {
|
|
341
343
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", s.message), !1;
|
|
342
344
|
}
|
|
343
|
-
var u =
|
|
345
|
+
var u = ur(c, t.form);
|
|
344
346
|
return !u || u === t;
|
|
345
|
-
},
|
|
346
|
-
return
|
|
347
|
-
},
|
|
348
|
-
return
|
|
349
|
-
},
|
|
350
|
-
for (var a, r =
|
|
347
|
+
}, fr = function(t) {
|
|
348
|
+
return Vt(t) && t.type === "radio";
|
|
349
|
+
}, vr = function(t) {
|
|
350
|
+
return fr(t) && !dr(t);
|
|
351
|
+
}, br = function(t) {
|
|
352
|
+
for (var a, r = Re(t).host, c = !!((a = r) !== null && a !== void 0 && a.ownerDocument.contains(r) || t.ownerDocument.contains(t)); !c && r; ) {
|
|
351
353
|
var u;
|
|
352
|
-
r =
|
|
354
|
+
r = Re(r).host, c = !!((u = r) !== null && u !== void 0 && u.ownerDocument.contains(r));
|
|
353
355
|
}
|
|
354
356
|
return c;
|
|
355
357
|
}, At = function(t) {
|
|
356
358
|
var a = t.getBoundingClientRect(), r = a.width, c = a.height;
|
|
357
359
|
return r === 0 && c === 0;
|
|
358
|
-
},
|
|
360
|
+
}, pr = function(t, a) {
|
|
359
361
|
var r = a.displayCheck, c = a.getShadowRoot;
|
|
360
362
|
if (getComputedStyle(t).visibility === "hidden")
|
|
361
363
|
return !0;
|
|
362
|
-
var u =
|
|
363
|
-
if (
|
|
364
|
+
var u = ue.call(t, "details>summary:first-of-type"), s = u ? t.parentElement : t;
|
|
365
|
+
if (ue.call(s, "details:not([open]) *"))
|
|
364
366
|
return !0;
|
|
365
367
|
if (!r || r === "full" || r === "legacy-full") {
|
|
366
368
|
if (typeof c == "function") {
|
|
367
369
|
for (var f = t; t; ) {
|
|
368
|
-
var
|
|
369
|
-
if (
|
|
370
|
+
var w = t.parentElement, k = Re(t);
|
|
371
|
+
if (w && !w.shadowRoot && c(w) === !0)
|
|
370
372
|
return At(t);
|
|
371
|
-
t.assignedSlot ? t = t.assignedSlot : !
|
|
373
|
+
t.assignedSlot ? t = t.assignedSlot : !w && k !== t.ownerDocument ? t = k.host : t = w;
|
|
372
374
|
}
|
|
373
375
|
t = f;
|
|
374
376
|
}
|
|
375
|
-
if (
|
|
377
|
+
if (br(t))
|
|
376
378
|
return !t.getClientRects().length;
|
|
377
379
|
if (r !== "legacy-full")
|
|
378
380
|
return !0;
|
|
379
381
|
} else if (r === "non-zero-area")
|
|
380
382
|
return At(t);
|
|
381
383
|
return !1;
|
|
382
|
-
},
|
|
384
|
+
}, hr = function(t) {
|
|
383
385
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
384
386
|
for (var a = t.parentElement; a; ) {
|
|
385
387
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
386
388
|
for (var r = 0; r < a.children.length; r++) {
|
|
387
389
|
var c = a.children.item(r);
|
|
388
390
|
if (c.tagName === "LEGEND")
|
|
389
|
-
return
|
|
391
|
+
return ue.call(a, "fieldset[disabled] *") ? !0 : !c.contains(t);
|
|
390
392
|
}
|
|
391
393
|
return !0;
|
|
392
394
|
}
|
|
393
395
|
a = a.parentElement;
|
|
394
396
|
}
|
|
395
397
|
return !1;
|
|
396
|
-
},
|
|
397
|
-
return !(a.disabled ||
|
|
398
|
-
|
|
398
|
+
}, Be = function(t, a) {
|
|
399
|
+
return !(a.disabled || cr(a) || pr(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
400
|
+
lr(a) || hr(a));
|
|
399
401
|
}, Qe = function(t, a) {
|
|
400
|
-
return !(
|
|
401
|
-
},
|
|
402
|
+
return !(vr(a) || zt(a) < 0 || !Be(t, a));
|
|
403
|
+
}, mr = function(t) {
|
|
402
404
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
403
405
|
return !!(isNaN(a) || a >= 0);
|
|
404
|
-
},
|
|
406
|
+
}, gr = function n(t) {
|
|
405
407
|
var a = [], r = [];
|
|
406
408
|
return t.forEach(function(c, u) {
|
|
407
|
-
var s = !!c.scopeParent, f = s ? c.scopeParent : c,
|
|
408
|
-
|
|
409
|
+
var s = !!c.scopeParent, f = s ? c.scopeParent : c, w = zt(f, s), k = s ? n(c.candidates) : f;
|
|
410
|
+
w === 0 ? s ? a.push.apply(a, k) : a.push(f) : r.push({
|
|
409
411
|
documentOrder: u,
|
|
410
|
-
tabIndex:
|
|
412
|
+
tabIndex: w,
|
|
411
413
|
item: c,
|
|
412
414
|
isScope: s,
|
|
413
415
|
content: k
|
|
414
416
|
});
|
|
415
|
-
}), r.sort(
|
|
417
|
+
}), r.sort(sr).reduce(function(c, u) {
|
|
416
418
|
return u.isScope ? c.push.apply(c, u.content) : c.push(u.content), c;
|
|
417
419
|
}, []).concat(a);
|
|
418
|
-
},
|
|
420
|
+
}, yr = function(t, a) {
|
|
419
421
|
a = a || {};
|
|
420
422
|
var r;
|
|
421
|
-
return a.getShadowRoot ? r =
|
|
423
|
+
return a.getShadowRoot ? r = Kt([t], a.includeContainer, {
|
|
422
424
|
filter: Qe.bind(null, a),
|
|
423
425
|
flatten: !1,
|
|
424
426
|
getShadowRoot: a.getShadowRoot,
|
|
425
|
-
shadowRootFilter:
|
|
426
|
-
}) : r =
|
|
427
|
-
},
|
|
427
|
+
shadowRootFilter: mr
|
|
428
|
+
}) : r = Ht(t, a.includeContainer, Qe.bind(null, a)), gr(r);
|
|
429
|
+
}, _r = function(t, a) {
|
|
428
430
|
a = a || {};
|
|
429
431
|
var r;
|
|
430
|
-
return a.getShadowRoot ? r =
|
|
431
|
-
filter:
|
|
432
|
+
return a.getShadowRoot ? r = Kt([t], a.includeContainer, {
|
|
433
|
+
filter: Be.bind(null, a),
|
|
432
434
|
flatten: !0,
|
|
433
435
|
getShadowRoot: a.getShadowRoot
|
|
434
|
-
}) : r =
|
|
435
|
-
},
|
|
436
|
+
}) : r = Ht(t, a.includeContainer, Be.bind(null, a)), r;
|
|
437
|
+
}, xe = function(t, a) {
|
|
436
438
|
if (a = a || {}, !t)
|
|
437
439
|
throw new Error("No node provided");
|
|
438
|
-
return
|
|
439
|
-
},
|
|
440
|
+
return ue.call(t, De) === !1 ? !1 : Qe(a, t);
|
|
441
|
+
}, wr = /* @__PURE__ */ Pt.concat("iframe").join(","), Je = function(t, a) {
|
|
440
442
|
if (a = a || {}, !t)
|
|
441
443
|
throw new Error("No node provided");
|
|
442
|
-
return
|
|
444
|
+
return ue.call(t, wr) === !1 ? !1 : Be(a, t);
|
|
443
445
|
};
|
|
444
446
|
/*!
|
|
445
447
|
* focus-trap 7.2.0
|
|
@@ -459,22 +461,22 @@ function Dt(n) {
|
|
|
459
461
|
for (var t = 1; t < arguments.length; t++) {
|
|
460
462
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
461
463
|
t % 2 ? Ft(Object(a), !0).forEach(function(r) {
|
|
462
|
-
|
|
464
|
+
Tr(n, r, a[r]);
|
|
463
465
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Ft(Object(a)).forEach(function(r) {
|
|
464
466
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(a, r));
|
|
465
467
|
});
|
|
466
468
|
}
|
|
467
469
|
return n;
|
|
468
470
|
}
|
|
469
|
-
function
|
|
470
|
-
return t =
|
|
471
|
+
function Tr(n, t, a) {
|
|
472
|
+
return t = Sr(t), t in n ? Object.defineProperty(n, t, {
|
|
471
473
|
value: a,
|
|
472
474
|
enumerable: !0,
|
|
473
475
|
configurable: !0,
|
|
474
476
|
writable: !0
|
|
475
477
|
}) : n[t] = a, n;
|
|
476
478
|
}
|
|
477
|
-
function
|
|
479
|
+
function kr(n, t) {
|
|
478
480
|
if (typeof n != "object" || n === null)
|
|
479
481
|
return n;
|
|
480
482
|
var a = n[Symbol.toPrimitive];
|
|
@@ -486,8 +488,8 @@ function Or(n, t) {
|
|
|
486
488
|
}
|
|
487
489
|
return (t === "string" ? String : Number)(n);
|
|
488
490
|
}
|
|
489
|
-
function
|
|
490
|
-
var t =
|
|
491
|
+
function Sr(n) {
|
|
492
|
+
var t = kr(n, "string");
|
|
491
493
|
return typeof t == "symbol" ? t : String(t);
|
|
492
494
|
}
|
|
493
495
|
var Rt = {
|
|
@@ -503,16 +505,16 @@ var Rt = {
|
|
|
503
505
|
var r = t.indexOf(a);
|
|
504
506
|
r !== -1 && t.splice(r, 1), t.length > 0 && t[t.length - 1].unpause();
|
|
505
507
|
}
|
|
506
|
-
},
|
|
508
|
+
}, Ir = function(t) {
|
|
507
509
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
508
|
-
},
|
|
510
|
+
}, Cr = function(t) {
|
|
509
511
|
return t.key === "Escape" || t.key === "Esc" || t.keyCode === 27;
|
|
510
|
-
},
|
|
512
|
+
}, we = function(t) {
|
|
511
513
|
return t.key === "Tab" || t.keyCode === 9;
|
|
512
|
-
},
|
|
513
|
-
return
|
|
514
|
-
},
|
|
515
|
-
return
|
|
514
|
+
}, Or = function(t) {
|
|
515
|
+
return we(t) && !t.shiftKey;
|
|
516
|
+
}, xr = function(t) {
|
|
517
|
+
return we(t) && t.shiftKey;
|
|
516
518
|
}, Bt = function(t) {
|
|
517
519
|
return setTimeout(t, 0);
|
|
518
520
|
}, Mt = function(t, a) {
|
|
@@ -520,19 +522,19 @@ var Rt = {
|
|
|
520
522
|
return t.every(function(c, u) {
|
|
521
523
|
return a(c) ? (r = u, !1) : !0;
|
|
522
524
|
}), r;
|
|
523
|
-
},
|
|
525
|
+
}, ye = function(t) {
|
|
524
526
|
for (var a = arguments.length, r = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
|
|
525
527
|
r[c - 1] = arguments[c];
|
|
526
528
|
return typeof t == "function" ? t.apply(void 0, r) : t;
|
|
527
|
-
},
|
|
529
|
+
}, $e = function(t) {
|
|
528
530
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
529
|
-
},
|
|
530
|
-
var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) ||
|
|
531
|
+
}, $r = [], Er = function(t, a) {
|
|
532
|
+
var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) || $r, u = Dt({
|
|
531
533
|
returnFocusOnDeactivate: !0,
|
|
532
534
|
escapeDeactivates: !0,
|
|
533
535
|
delayInitialFocus: !0,
|
|
534
|
-
isKeyForward:
|
|
535
|
-
isKeyBackward:
|
|
536
|
+
isKeyForward: Or,
|
|
537
|
+
isKeyBackward: xr
|
|
536
538
|
}, a), s = {
|
|
537
539
|
// containers given to createFocusTrap()
|
|
538
540
|
// @type {Array<HTMLElement>}
|
|
@@ -564,24 +566,24 @@ var Rt = {
|
|
|
564
566
|
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
|
565
567
|
// has been delayed during activation
|
|
566
568
|
delayInitialFocusTimer: void 0
|
|
567
|
-
}, f,
|
|
568
|
-
return l && l[d] !== void 0 ? l[d] : u[
|
|
569
|
+
}, f, w = function(l, d, b) {
|
|
570
|
+
return l && l[d] !== void 0 ? l[d] : u[b || d];
|
|
569
571
|
}, k = function(l) {
|
|
570
572
|
return s.containerGroups.findIndex(function(d) {
|
|
571
|
-
var
|
|
572
|
-
return
|
|
573
|
+
var b = d.container, x = d.tabbableNodes;
|
|
574
|
+
return b.contains(l) || // fall back to explicit tabbable search which will take into consideration any
|
|
573
575
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
574
576
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
575
577
|
// look inside web components even if open)
|
|
576
|
-
x.find(function(
|
|
577
|
-
return
|
|
578
|
+
x.find(function(h) {
|
|
579
|
+
return h === l;
|
|
578
580
|
});
|
|
579
581
|
});
|
|
580
|
-
},
|
|
582
|
+
}, F = function(l) {
|
|
581
583
|
var d = u[l];
|
|
582
584
|
if (typeof d == "function") {
|
|
583
|
-
for (var
|
|
584
|
-
x[
|
|
585
|
+
for (var b = arguments.length, x = new Array(b > 1 ? b - 1 : 0), h = 1; h < b; h++)
|
|
586
|
+
x[h - 1] = arguments[h];
|
|
585
587
|
d = d.apply(void 0, x);
|
|
586
588
|
}
|
|
587
589
|
if (d === !0 && (d = void 0), !d) {
|
|
@@ -589,31 +591,31 @@ var Rt = {
|
|
|
589
591
|
return d;
|
|
590
592
|
throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
|
|
591
593
|
}
|
|
592
|
-
var
|
|
593
|
-
if (typeof d == "string" && (
|
|
594
|
+
var A = d;
|
|
595
|
+
if (typeof d == "string" && (A = r.querySelector(d), !A))
|
|
594
596
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
|
595
|
-
return
|
|
596
|
-
},
|
|
597
|
-
var l =
|
|
597
|
+
return A;
|
|
598
|
+
}, N = function() {
|
|
599
|
+
var l = F("initialFocus");
|
|
598
600
|
if (l === !1)
|
|
599
601
|
return !1;
|
|
600
602
|
if (l === void 0)
|
|
601
603
|
if (k(r.activeElement) >= 0)
|
|
602
604
|
l = r.activeElement;
|
|
603
605
|
else {
|
|
604
|
-
var d = s.tabbableGroups[0],
|
|
605
|
-
l =
|
|
606
|
+
var d = s.tabbableGroups[0], b = d && d.firstTabbableNode;
|
|
607
|
+
l = b || F("fallbackFocus");
|
|
606
608
|
}
|
|
607
609
|
if (!l)
|
|
608
610
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
609
611
|
return l;
|
|
610
|
-
},
|
|
612
|
+
}, D = function() {
|
|
611
613
|
if (s.containerGroups = s.containers.map(function(l) {
|
|
612
|
-
var d =
|
|
614
|
+
var d = yr(l, u.tabbableOptions), b = _r(l, u.tabbableOptions);
|
|
613
615
|
return {
|
|
614
616
|
container: l,
|
|
615
617
|
tabbableNodes: d,
|
|
616
|
-
focusableNodes:
|
|
618
|
+
focusableNodes: b,
|
|
617
619
|
firstTabbableNode: d.length > 0 ? d[0] : null,
|
|
618
620
|
lastTabbableNode: d.length > 0 ? d[d.length - 1] : null,
|
|
619
621
|
/**
|
|
@@ -624,39 +626,39 @@ var Rt = {
|
|
|
624
626
|
* in reverse.
|
|
625
627
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
626
628
|
*/
|
|
627
|
-
nextTabbableNode: function(
|
|
628
|
-
var
|
|
629
|
-
return
|
|
629
|
+
nextTabbableNode: function(h) {
|
|
630
|
+
var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = b.findIndex(function(M) {
|
|
631
|
+
return M === h;
|
|
630
632
|
});
|
|
631
|
-
if (!(
|
|
632
|
-
return
|
|
633
|
-
return
|
|
634
|
-
}) :
|
|
635
|
-
return
|
|
633
|
+
if (!(g < 0))
|
|
634
|
+
return A ? b.slice(g + 1).find(function(M) {
|
|
635
|
+
return xe(M, u.tabbableOptions);
|
|
636
|
+
}) : b.slice(0, g).reverse().find(function(M) {
|
|
637
|
+
return xe(M, u.tabbableOptions);
|
|
636
638
|
});
|
|
637
639
|
}
|
|
638
640
|
};
|
|
639
641
|
}), s.tabbableGroups = s.containerGroups.filter(function(l) {
|
|
640
642
|
return l.tabbableNodes.length > 0;
|
|
641
|
-
}), s.tabbableGroups.length <= 0 && !
|
|
643
|
+
}), s.tabbableGroups.length <= 0 && !F("fallbackFocus"))
|
|
642
644
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
643
|
-
},
|
|
645
|
+
}, O = function I(l) {
|
|
644
646
|
if (l !== !1 && l !== r.activeElement) {
|
|
645
647
|
if (!l || !l.focus) {
|
|
646
|
-
|
|
648
|
+
I(N());
|
|
647
649
|
return;
|
|
648
650
|
}
|
|
649
651
|
l.focus({
|
|
650
652
|
preventScroll: !!u.preventScroll
|
|
651
|
-
}), s.mostRecentlyFocusedNode = l,
|
|
653
|
+
}), s.mostRecentlyFocusedNode = l, Ir(l) && l.select();
|
|
652
654
|
}
|
|
653
|
-
},
|
|
654
|
-
var d =
|
|
655
|
+
}, E = function(l) {
|
|
656
|
+
var d = F("setReturnFocus", l);
|
|
655
657
|
return d || (d === !1 ? !1 : l);
|
|
656
|
-
},
|
|
657
|
-
var d =
|
|
658
|
+
}, H = function(l) {
|
|
659
|
+
var d = $e(l);
|
|
658
660
|
if (!(k(d) >= 0)) {
|
|
659
|
-
if (
|
|
661
|
+
if (ye(u.clickOutsideDeactivates, l)) {
|
|
660
662
|
f.deactivate({
|
|
661
663
|
// if, on deactivation, we should return focus to the node originally-focused
|
|
662
664
|
// when the trap was activated (or the configured `setReturnFocus` node),
|
|
@@ -669,76 +671,76 @@ var Rt = {
|
|
|
669
671
|
// that was clicked, whether it's focusable or not; by setting
|
|
670
672
|
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
|
671
673
|
// on activation (or the configured `setReturnFocus` node)
|
|
672
|
-
returnFocus: u.returnFocusOnDeactivate && !
|
|
674
|
+
returnFocus: u.returnFocusOnDeactivate && !Je(d, u.tabbableOptions)
|
|
673
675
|
});
|
|
674
676
|
return;
|
|
675
677
|
}
|
|
676
|
-
|
|
678
|
+
ye(u.allowOutsideClick, l) || l.preventDefault();
|
|
677
679
|
}
|
|
678
|
-
},
|
|
679
|
-
var d =
|
|
680
|
-
|
|
681
|
-
},
|
|
682
|
-
var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
|
|
683
|
-
|
|
680
|
+
}, G = function(l) {
|
|
681
|
+
var d = $e(l), b = k(d) >= 0;
|
|
682
|
+
b || d instanceof Document ? b && (s.mostRecentlyFocusedNode = d) : (l.stopImmediatePropagation(), O(s.mostRecentlyFocusedNode || N()));
|
|
683
|
+
}, j = function(l) {
|
|
684
|
+
var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, b = $e(l);
|
|
685
|
+
D();
|
|
684
686
|
var x = null;
|
|
685
687
|
if (s.tabbableGroups.length > 0) {
|
|
686
|
-
var
|
|
687
|
-
if (
|
|
688
|
+
var h = k(b), A = h >= 0 ? s.containerGroups[h] : void 0;
|
|
689
|
+
if (h < 0)
|
|
688
690
|
d ? x = s.tabbableGroups[s.tabbableGroups.length - 1].lastTabbableNode : x = s.tabbableGroups[0].firstTabbableNode;
|
|
689
691
|
else if (d) {
|
|
690
|
-
var
|
|
691
|
-
var
|
|
692
|
-
return
|
|
692
|
+
var g = Mt(s.tabbableGroups, function(he) {
|
|
693
|
+
var C = he.firstTabbableNode;
|
|
694
|
+
return b === C;
|
|
693
695
|
});
|
|
694
|
-
if (
|
|
695
|
-
var
|
|
696
|
-
x =
|
|
696
|
+
if (g < 0 && (A.container === b || Je(b, u.tabbableOptions) && !xe(b, u.tabbableOptions) && !A.nextTabbableNode(b, !1)) && (g = h), g >= 0) {
|
|
697
|
+
var M = g === 0 ? s.tabbableGroups.length - 1 : g - 1, T = s.tabbableGroups[M];
|
|
698
|
+
x = T.lastTabbableNode;
|
|
697
699
|
} else
|
|
698
|
-
|
|
700
|
+
we(l) || (x = A.nextTabbableNode(b, !1));
|
|
699
701
|
} else {
|
|
700
|
-
var X = Mt(s.tabbableGroups, function(
|
|
701
|
-
var
|
|
702
|
-
return
|
|
702
|
+
var X = Mt(s.tabbableGroups, function(he) {
|
|
703
|
+
var C = he.lastTabbableNode;
|
|
704
|
+
return b === C;
|
|
703
705
|
});
|
|
704
|
-
if (X < 0 && (
|
|
705
|
-
var
|
|
706
|
-
x =
|
|
706
|
+
if (X < 0 && (A.container === b || Je(b, u.tabbableOptions) && !xe(b, u.tabbableOptions) && !A.nextTabbableNode(b)) && (X = h), X >= 0) {
|
|
707
|
+
var ee = X === s.tabbableGroups.length - 1 ? 0 : X + 1, Pe = s.tabbableGroups[ee];
|
|
708
|
+
x = Pe.firstTabbableNode;
|
|
707
709
|
} else
|
|
708
|
-
|
|
710
|
+
we(l) || (x = A.nextTabbableNode(b));
|
|
709
711
|
}
|
|
710
712
|
} else
|
|
711
|
-
x =
|
|
712
|
-
x && (
|
|
713
|
-
},
|
|
714
|
-
if (
|
|
713
|
+
x = F("fallbackFocus");
|
|
714
|
+
x && (we(l) && l.preventDefault(), O(x));
|
|
715
|
+
}, Y = function(l) {
|
|
716
|
+
if (Cr(l) && ye(u.escapeDeactivates, l) !== !1) {
|
|
715
717
|
l.preventDefault(), f.deactivate();
|
|
716
718
|
return;
|
|
717
719
|
}
|
|
718
|
-
(u.isKeyForward(l) || u.isKeyBackward(l)) &&
|
|
719
|
-
},
|
|
720
|
-
var d =
|
|
721
|
-
k(d) >= 0 ||
|
|
720
|
+
(u.isKeyForward(l) || u.isKeyBackward(l)) && j(l, u.isKeyBackward(l));
|
|
721
|
+
}, U = function(l) {
|
|
722
|
+
var d = $e(l);
|
|
723
|
+
k(d) >= 0 || ye(u.clickOutsideDeactivates, l) || ye(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
|
|
722
724
|
}, S = function() {
|
|
723
725
|
if (s.active)
|
|
724
726
|
return Rt.activateTrap(c, f), s.delayInitialFocusTimer = u.delayInitialFocus ? Bt(function() {
|
|
725
|
-
|
|
726
|
-
}) :
|
|
727
|
+
O(N());
|
|
728
|
+
}) : O(N()), r.addEventListener("focusin", G, !0), r.addEventListener("mousedown", H, {
|
|
727
729
|
capture: !0,
|
|
728
730
|
passive: !1
|
|
729
|
-
}), r.addEventListener("touchstart",
|
|
731
|
+
}), r.addEventListener("touchstart", H, {
|
|
730
732
|
capture: !0,
|
|
731
733
|
passive: !1
|
|
732
|
-
}), r.addEventListener("click",
|
|
734
|
+
}), r.addEventListener("click", U, {
|
|
733
735
|
capture: !0,
|
|
734
736
|
passive: !1
|
|
735
|
-
}), r.addEventListener("keydown",
|
|
737
|
+
}), r.addEventListener("keydown", Y, {
|
|
736
738
|
capture: !0,
|
|
737
739
|
passive: !1
|
|
738
740
|
}), f;
|
|
739
|
-
},
|
|
741
|
+
}, Z = function() {
|
|
740
742
|
if (s.active)
|
|
741
|
-
return r.removeEventListener("focusin",
|
|
743
|
+
return r.removeEventListener("focusin", G, !0), r.removeEventListener("mousedown", H, !0), r.removeEventListener("touchstart", H, !0), r.removeEventListener("click", U, !0), r.removeEventListener("keydown", Y, !0), f;
|
|
742
744
|
};
|
|
743
745
|
return f = {
|
|
744
746
|
get active() {
|
|
@@ -750,12 +752,12 @@ var Rt = {
|
|
|
750
752
|
activate: function(l) {
|
|
751
753
|
if (s.active)
|
|
752
754
|
return this;
|
|
753
|
-
var d =
|
|
754
|
-
x ||
|
|
755
|
-
var
|
|
756
|
-
x &&
|
|
755
|
+
var d = w(l, "onActivate"), b = w(l, "onPostActivate"), x = w(l, "checkCanFocusTrap");
|
|
756
|
+
x || D(), s.active = !0, s.paused = !1, s.nodeFocusedBeforeActivation = r.activeElement, d && d();
|
|
757
|
+
var h = function() {
|
|
758
|
+
x && D(), S(), b && b();
|
|
757
759
|
};
|
|
758
|
-
return x ? (x(s.containers.concat()).then(
|
|
760
|
+
return x ? (x(s.containers.concat()).then(h, h), this) : (h(), this);
|
|
759
761
|
},
|
|
760
762
|
deactivate: function(l) {
|
|
761
763
|
if (!s.active)
|
|
@@ -765,27 +767,27 @@ var Rt = {
|
|
|
765
767
|
onPostDeactivate: u.onPostDeactivate,
|
|
766
768
|
checkCanReturnFocus: u.checkCanReturnFocus
|
|
767
769
|
}, l);
|
|
768
|
-
clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0,
|
|
769
|
-
var
|
|
770
|
-
|
|
771
|
-
var
|
|
770
|
+
clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, Z(), s.active = !1, s.paused = !1, Rt.deactivateTrap(c, f);
|
|
771
|
+
var b = w(d, "onDeactivate"), x = w(d, "onPostDeactivate"), h = w(d, "checkCanReturnFocus"), A = w(d, "returnFocus", "returnFocusOnDeactivate");
|
|
772
|
+
b && b();
|
|
773
|
+
var g = function() {
|
|
772
774
|
Bt(function() {
|
|
773
|
-
|
|
775
|
+
A && O(E(s.nodeFocusedBeforeActivation)), x && x();
|
|
774
776
|
});
|
|
775
777
|
};
|
|
776
|
-
return
|
|
778
|
+
return A && h ? (h(E(s.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
|
|
777
779
|
},
|
|
778
780
|
pause: function() {
|
|
779
|
-
return s.paused || !s.active ? this : (s.paused = !0,
|
|
781
|
+
return s.paused || !s.active ? this : (s.paused = !0, Z(), this);
|
|
780
782
|
},
|
|
781
783
|
unpause: function() {
|
|
782
|
-
return !s.paused || !s.active ? this : (s.paused = !1,
|
|
784
|
+
return !s.paused || !s.active ? this : (s.paused = !1, D(), S(), this);
|
|
783
785
|
},
|
|
784
786
|
updateContainerElements: function(l) {
|
|
785
787
|
var d = [].concat(l).filter(Boolean);
|
|
786
|
-
return s.containers = d.map(function(
|
|
787
|
-
return typeof
|
|
788
|
-
}), s.active &&
|
|
788
|
+
return s.containers = d.map(function(b) {
|
|
789
|
+
return typeof b == "string" ? r.querySelector(b) : b;
|
|
790
|
+
}), s.active && D(), this;
|
|
789
791
|
}
|
|
790
792
|
}, f.updateContainerElements(t), f;
|
|
791
793
|
};
|
|
@@ -794,7 +796,7 @@ var Rt = {
|
|
|
794
796
|
* (c) 2022 Eduardo San Martin Morote
|
|
795
797
|
* @license MIT
|
|
796
798
|
*/
|
|
797
|
-
const
|
|
799
|
+
const Nr = {
|
|
798
800
|
escapeDeactivates: {
|
|
799
801
|
type: Boolean,
|
|
800
802
|
default: !0
|
|
@@ -817,14 +819,14 @@ const Rr = {
|
|
|
817
819
|
preventScroll: Boolean,
|
|
818
820
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
819
821
|
tabbableOptions: Object
|
|
820
|
-
},
|
|
822
|
+
}, Ar = Q({
|
|
821
823
|
props: Object.assign({
|
|
822
824
|
active: {
|
|
823
825
|
// TODO: could be options for activate but what about the options for deactivating?
|
|
824
826
|
type: Boolean,
|
|
825
827
|
default: !0
|
|
826
828
|
}
|
|
827
|
-
},
|
|
829
|
+
}, Nr),
|
|
828
830
|
emits: [
|
|
829
831
|
"update:active",
|
|
830
832
|
"activate",
|
|
@@ -837,10 +839,10 @@ const Rr = {
|
|
|
837
839
|
},
|
|
838
840
|
setup(n, { slots: t, emit: a }) {
|
|
839
841
|
let r;
|
|
840
|
-
const c =
|
|
842
|
+
const c = W(null), u = y(() => {
|
|
841
843
|
const f = c.value;
|
|
842
844
|
return f && (f instanceof HTMLElement ? f : f.$el);
|
|
843
|
-
}), s = () => r || (r =
|
|
845
|
+
}), s = () => r || (r = Er(u.value, {
|
|
844
846
|
escapeDeactivates: n.escapeDeactivates,
|
|
845
847
|
allowOutsideClick: n.allowOutsideClick,
|
|
846
848
|
returnFocusOnDeactivate: n.returnFocusOnDeactivate,
|
|
@@ -857,11 +859,11 @@ const Rr = {
|
|
|
857
859
|
fallbackFocus: n.fallbackFocus,
|
|
858
860
|
tabbableOptions: n.tabbableOptions
|
|
859
861
|
}));
|
|
860
|
-
return
|
|
861
|
-
|
|
862
|
+
return Le(() => {
|
|
863
|
+
Ae(() => n.active, (f) => {
|
|
862
864
|
f && u.value ? s().activate() : r && (r.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (r = null));
|
|
863
865
|
}, { immediate: !0, flush: "post" });
|
|
864
|
-
}),
|
|
866
|
+
}), mn(() => {
|
|
865
867
|
r && r.deactivate(), r = null;
|
|
866
868
|
}), {
|
|
867
869
|
activate() {
|
|
@@ -873,13 +875,13 @@ const Rr = {
|
|
|
873
875
|
renderImpl() {
|
|
874
876
|
if (!t.default)
|
|
875
877
|
return null;
|
|
876
|
-
const f = t.default().filter((k) => k.type !==
|
|
877
|
-
return !f || !f.length || f.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), f) :
|
|
878
|
+
const f = t.default().filter((k) => k.type !== gn);
|
|
879
|
+
return !f || !f.length || f.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), f) : yn(f[0], { ref: c });
|
|
878
880
|
}
|
|
879
881
|
};
|
|
880
882
|
}
|
|
881
883
|
});
|
|
882
|
-
function
|
|
884
|
+
function Wt() {
|
|
883
885
|
return {
|
|
884
886
|
debounce: (t, a) => {
|
|
885
887
|
let r;
|
|
@@ -891,46 +893,46 @@ function Gt() {
|
|
|
891
893
|
}
|
|
892
894
|
};
|
|
893
895
|
}
|
|
894
|
-
var
|
|
896
|
+
var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Me = {}, Fr = {
|
|
895
897
|
get exports() {
|
|
896
|
-
return
|
|
898
|
+
return Me;
|
|
897
899
|
},
|
|
898
900
|
set exports(n) {
|
|
899
|
-
|
|
901
|
+
Me = n;
|
|
900
902
|
}
|
|
901
903
|
};
|
|
902
904
|
(function(n, t) {
|
|
903
|
-
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", s = "[object Array]", f = "[object Boolean]",
|
|
904
|
-
|
|
905
|
-
var
|
|
906
|
-
function
|
|
905
|
+
var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", s = "[object Array]", f = "[object Boolean]", w = "[object Date]", k = "[object Error]", F = "[object Function]", N = "[object GeneratorFunction]", D = "[object Map]", O = "[object Number]", E = "[object Object]", H = "[object Promise]", G = "[object RegExp]", j = "[object Set]", Y = "[object String]", U = "[object Symbol]", S = "[object WeakMap]", Z = "[object ArrayBuffer]", I = "[object DataView]", l = "[object Float32Array]", d = "[object Float64Array]", b = "[object Int8Array]", x = "[object Int16Array]", h = "[object Int32Array]", A = "[object Uint8Array]", g = "[object Uint8ClampedArray]", M = "[object Uint16Array]", T = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, ee = /\w*$/, Pe = /^\[object .+?Constructor\]$/, he = /^(?:0|[1-9]\d*)$/, C = {};
|
|
906
|
+
C[u] = C[s] = C[Z] = C[I] = C[f] = C[w] = C[l] = C[d] = C[b] = C[x] = C[h] = C[D] = C[O] = C[E] = C[G] = C[j] = C[Y] = C[U] = C[A] = C[g] = C[M] = C[T] = !0, C[k] = C[F] = C[S] = !1;
|
|
907
|
+
var Ut = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, qt = typeof self == "object" && self && self.Object === Object && self, te = Ut || qt || Function("return this")(), it = t && !t.nodeType && t, ot = it && !0 && n && !n.nodeType && n, Yt = ot && ot.exports === it;
|
|
908
|
+
function Xt(e, i) {
|
|
907
909
|
return e.set(i[0], i[1]), e;
|
|
908
910
|
}
|
|
909
|
-
function
|
|
911
|
+
function Jt(e, i) {
|
|
910
912
|
return e.add(i), e;
|
|
911
913
|
}
|
|
912
|
-
function
|
|
913
|
-
for (var o = -1,
|
|
914
|
+
function Qt(e, i) {
|
|
915
|
+
for (var o = -1, v = e ? e.length : 0; ++o < v && i(e[o], o, e) !== !1; )
|
|
914
916
|
;
|
|
915
917
|
return e;
|
|
916
918
|
}
|
|
917
|
-
function
|
|
918
|
-
for (var o = -1,
|
|
919
|
-
e[
|
|
919
|
+
function ea(e, i) {
|
|
920
|
+
for (var o = -1, v = i.length, L = e.length; ++o < v; )
|
|
921
|
+
e[L + o] = i[o];
|
|
920
922
|
return e;
|
|
921
923
|
}
|
|
922
|
-
function st(e, i, o,
|
|
923
|
-
var
|
|
924
|
-
for (
|
|
925
|
-
o = i(o, e[
|
|
924
|
+
function st(e, i, o, v) {
|
|
925
|
+
var L = -1, K = e ? e.length : 0;
|
|
926
|
+
for (v && K && (o = e[++L]); ++L < K; )
|
|
927
|
+
o = i(o, e[L], L, e);
|
|
926
928
|
return o;
|
|
927
929
|
}
|
|
928
|
-
function
|
|
929
|
-
for (var o = -1,
|
|
930
|
-
|
|
931
|
-
return
|
|
930
|
+
function ta(e, i) {
|
|
931
|
+
for (var o = -1, v = Array(e); ++o < e; )
|
|
932
|
+
v[o] = i(o);
|
|
933
|
+
return v;
|
|
932
934
|
}
|
|
933
|
-
function
|
|
935
|
+
function aa(e, i) {
|
|
934
936
|
return e == null ? void 0 : e[i];
|
|
935
937
|
}
|
|
936
938
|
function ct(e) {
|
|
@@ -944,351 +946,351 @@ var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
944
946
|
}
|
|
945
947
|
function lt(e) {
|
|
946
948
|
var i = -1, o = Array(e.size);
|
|
947
|
-
return e.forEach(function(
|
|
948
|
-
o[++i] = [
|
|
949
|
+
return e.forEach(function(v, L) {
|
|
950
|
+
o[++i] = [L, v];
|
|
949
951
|
}), o;
|
|
950
952
|
}
|
|
951
|
-
function
|
|
953
|
+
function je(e, i) {
|
|
952
954
|
return function(o) {
|
|
953
955
|
return e(i(o));
|
|
954
956
|
};
|
|
955
957
|
}
|
|
956
958
|
function ut(e) {
|
|
957
959
|
var i = -1, o = Array(e.size);
|
|
958
|
-
return e.forEach(function(
|
|
959
|
-
o[++i] =
|
|
960
|
+
return e.forEach(function(v) {
|
|
961
|
+
o[++i] = v;
|
|
960
962
|
}), o;
|
|
961
963
|
}
|
|
962
|
-
var
|
|
963
|
-
var e = /[^.]+$/.exec(
|
|
964
|
+
var na = Array.prototype, ra = Function.prototype, Te = Object.prototype, He = te["__core-js_shared__"], dt = function() {
|
|
965
|
+
var e = /[^.]+$/.exec(He && He.keys && He.keys.IE_PROTO || "");
|
|
964
966
|
return e ? "Symbol(src)_1." + e : "";
|
|
965
|
-
}(), ft =
|
|
966
|
-
"^" + ft.call(
|
|
967
|
-
), vt =
|
|
968
|
-
function
|
|
967
|
+
}(), ft = ra.toString, re = Te.hasOwnProperty, ke = Te.toString, ia = RegExp(
|
|
968
|
+
"^" + ft.call(re).replace(X, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
969
|
+
), vt = Yt ? te.Buffer : void 0, bt = te.Symbol, pt = te.Uint8Array, oa = je(Object.getPrototypeOf, Object), sa = Object.create, ca = Te.propertyIsEnumerable, la = na.splice, ht = Object.getOwnPropertySymbols, ua = vt ? vt.isBuffer : void 0, da = je(Object.keys, Object), Ke = ve(te, "DataView"), me = ve(te, "Map"), ze = ve(te, "Promise"), Ve = ve(te, "Set"), We = ve(te, "WeakMap"), ge = ve(Object, "create"), fa = le(Ke), va = le(me), ba = le(ze), pa = le(Ve), ha = le(We), mt = bt ? bt.prototype : void 0, gt = mt ? mt.valueOf : void 0;
|
|
970
|
+
function se(e) {
|
|
969
971
|
var i = -1, o = e ? e.length : 0;
|
|
970
972
|
for (this.clear(); ++i < o; ) {
|
|
971
|
-
var
|
|
972
|
-
this.set(
|
|
973
|
+
var v = e[i];
|
|
974
|
+
this.set(v[0], v[1]);
|
|
973
975
|
}
|
|
974
976
|
}
|
|
975
|
-
function
|
|
976
|
-
this.__data__ =
|
|
977
|
+
function ma() {
|
|
978
|
+
this.__data__ = ge ? ge(null) : {};
|
|
977
979
|
}
|
|
978
|
-
function
|
|
980
|
+
function ga(e) {
|
|
979
981
|
return this.has(e) && delete this.__data__[e];
|
|
980
982
|
}
|
|
981
|
-
function
|
|
983
|
+
function ya(e) {
|
|
982
984
|
var i = this.__data__;
|
|
983
|
-
if (
|
|
985
|
+
if (ge) {
|
|
984
986
|
var o = i[e];
|
|
985
987
|
return o === r ? void 0 : o;
|
|
986
988
|
}
|
|
987
|
-
return
|
|
989
|
+
return re.call(i, e) ? i[e] : void 0;
|
|
988
990
|
}
|
|
989
|
-
function
|
|
991
|
+
function _a(e) {
|
|
990
992
|
var i = this.__data__;
|
|
991
|
-
return
|
|
993
|
+
return ge ? i[e] !== void 0 : re.call(i, e);
|
|
992
994
|
}
|
|
993
|
-
function
|
|
995
|
+
function wa(e, i) {
|
|
994
996
|
var o = this.__data__;
|
|
995
|
-
return o[e] =
|
|
997
|
+
return o[e] = ge && i === void 0 ? r : i, this;
|
|
996
998
|
}
|
|
997
|
-
|
|
998
|
-
function
|
|
999
|
+
se.prototype.clear = ma, se.prototype.delete = ga, se.prototype.get = ya, se.prototype.has = _a, se.prototype.set = wa;
|
|
1000
|
+
function ae(e) {
|
|
999
1001
|
var i = -1, o = e ? e.length : 0;
|
|
1000
1002
|
for (this.clear(); ++i < o; ) {
|
|
1001
|
-
var
|
|
1002
|
-
this.set(
|
|
1003
|
+
var v = e[i];
|
|
1004
|
+
this.set(v[0], v[1]);
|
|
1003
1005
|
}
|
|
1004
1006
|
}
|
|
1005
|
-
function
|
|
1007
|
+
function Ta() {
|
|
1006
1008
|
this.__data__ = [];
|
|
1007
1009
|
}
|
|
1008
|
-
function
|
|
1009
|
-
var i = this.__data__, o =
|
|
1010
|
+
function ka(e) {
|
|
1011
|
+
var i = this.__data__, o = Se(i, e);
|
|
1010
1012
|
if (o < 0)
|
|
1011
1013
|
return !1;
|
|
1012
|
-
var
|
|
1013
|
-
return o ==
|
|
1014
|
+
var v = i.length - 1;
|
|
1015
|
+
return o == v ? i.pop() : la.call(i, o, 1), !0;
|
|
1014
1016
|
}
|
|
1015
|
-
function
|
|
1016
|
-
var i = this.__data__, o =
|
|
1017
|
+
function Sa(e) {
|
|
1018
|
+
var i = this.__data__, o = Se(i, e);
|
|
1017
1019
|
return o < 0 ? void 0 : i[o][1];
|
|
1018
1020
|
}
|
|
1019
|
-
function
|
|
1020
|
-
return
|
|
1021
|
+
function Ia(e) {
|
|
1022
|
+
return Se(this.__data__, e) > -1;
|
|
1021
1023
|
}
|
|
1022
|
-
function
|
|
1023
|
-
var o = this.__data__,
|
|
1024
|
-
return
|
|
1024
|
+
function Ca(e, i) {
|
|
1025
|
+
var o = this.__data__, v = Se(o, e);
|
|
1026
|
+
return v < 0 ? o.push([e, i]) : o[v][1] = i, this;
|
|
1025
1027
|
}
|
|
1026
|
-
|
|
1027
|
-
function
|
|
1028
|
+
ae.prototype.clear = Ta, ae.prototype.delete = ka, ae.prototype.get = Sa, ae.prototype.has = Ia, ae.prototype.set = Ca;
|
|
1029
|
+
function de(e) {
|
|
1028
1030
|
var i = -1, o = e ? e.length : 0;
|
|
1029
1031
|
for (this.clear(); ++i < o; ) {
|
|
1030
|
-
var
|
|
1031
|
-
this.set(
|
|
1032
|
+
var v = e[i];
|
|
1033
|
+
this.set(v[0], v[1]);
|
|
1032
1034
|
}
|
|
1033
1035
|
}
|
|
1034
|
-
function
|
|
1036
|
+
function Oa() {
|
|
1035
1037
|
this.__data__ = {
|
|
1036
|
-
hash: new
|
|
1037
|
-
map: new (
|
|
1038
|
-
string: new
|
|
1038
|
+
hash: new se(),
|
|
1039
|
+
map: new (me || ae)(),
|
|
1040
|
+
string: new se()
|
|
1039
1041
|
};
|
|
1040
1042
|
}
|
|
1043
|
+
function xa(e) {
|
|
1044
|
+
return Ie(this, e).delete(e);
|
|
1045
|
+
}
|
|
1041
1046
|
function $a(e) {
|
|
1042
|
-
return
|
|
1047
|
+
return Ie(this, e).get(e);
|
|
1043
1048
|
}
|
|
1044
1049
|
function Ea(e) {
|
|
1045
|
-
return
|
|
1046
|
-
}
|
|
1047
|
-
function Na(e) {
|
|
1048
|
-
return Se(this, e).has(e);
|
|
1050
|
+
return Ie(this, e).has(e);
|
|
1049
1051
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return
|
|
1052
|
+
function Na(e, i) {
|
|
1053
|
+
return Ie(this, e).set(e, i), this;
|
|
1052
1054
|
}
|
|
1053
|
-
|
|
1054
|
-
function
|
|
1055
|
-
this.__data__ = new
|
|
1055
|
+
de.prototype.clear = Oa, de.prototype.delete = xa, de.prototype.get = $a, de.prototype.has = Ea, de.prototype.set = Na;
|
|
1056
|
+
function fe(e) {
|
|
1057
|
+
this.__data__ = new ae(e);
|
|
1056
1058
|
}
|
|
1057
|
-
function
|
|
1058
|
-
this.__data__ = new
|
|
1059
|
+
function Aa() {
|
|
1060
|
+
this.__data__ = new ae();
|
|
1059
1061
|
}
|
|
1060
|
-
function
|
|
1062
|
+
function Fa(e) {
|
|
1061
1063
|
return this.__data__.delete(e);
|
|
1062
1064
|
}
|
|
1063
|
-
function
|
|
1065
|
+
function Da(e) {
|
|
1064
1066
|
return this.__data__.get(e);
|
|
1065
1067
|
}
|
|
1066
|
-
function
|
|
1068
|
+
function Ra(e) {
|
|
1067
1069
|
return this.__data__.has(e);
|
|
1068
1070
|
}
|
|
1069
|
-
function
|
|
1071
|
+
function Ba(e, i) {
|
|
1070
1072
|
var o = this.__data__;
|
|
1071
|
-
if (o instanceof
|
|
1072
|
-
var
|
|
1073
|
-
if (!
|
|
1074
|
-
return
|
|
1075
|
-
o = this.__data__ = new
|
|
1073
|
+
if (o instanceof ae) {
|
|
1074
|
+
var v = o.__data__;
|
|
1075
|
+
if (!me || v.length < a - 1)
|
|
1076
|
+
return v.push([e, i]), this;
|
|
1077
|
+
o = this.__data__ = new de(v);
|
|
1076
1078
|
}
|
|
1077
1079
|
return o.set(e, i), this;
|
|
1078
1080
|
}
|
|
1079
|
-
|
|
1080
|
-
function
|
|
1081
|
-
var o =
|
|
1082
|
-
for (var
|
|
1083
|
-
(i ||
|
|
1081
|
+
fe.prototype.clear = Aa, fe.prototype.delete = Fa, fe.prototype.get = Da, fe.prototype.has = Ra, fe.prototype.set = Ba;
|
|
1082
|
+
function Ma(e, i) {
|
|
1083
|
+
var o = qe(e) || cn(e) ? ta(e.length, String) : [], v = o.length, L = !!v;
|
|
1084
|
+
for (var K in e)
|
|
1085
|
+
(i || re.call(e, K)) && !(L && (K == "length" || nn(K, v))) && o.push(K);
|
|
1084
1086
|
return o;
|
|
1085
1087
|
}
|
|
1086
1088
|
function yt(e, i, o) {
|
|
1087
|
-
var
|
|
1088
|
-
(!(
|
|
1089
|
+
var v = e[i];
|
|
1090
|
+
(!(re.call(e, i) && kt(v, o)) || o === void 0 && !(i in e)) && (e[i] = o);
|
|
1089
1091
|
}
|
|
1090
|
-
function
|
|
1092
|
+
function Se(e, i) {
|
|
1091
1093
|
for (var o = e.length; o--; )
|
|
1092
1094
|
if (kt(e[o][0], i))
|
|
1093
1095
|
return o;
|
|
1094
1096
|
return -1;
|
|
1095
1097
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return e && _t(i,
|
|
1098
|
+
function La(e, i) {
|
|
1099
|
+
return e && _t(i, Ye(i), e);
|
|
1098
1100
|
}
|
|
1099
|
-
function
|
|
1100
|
-
var
|
|
1101
|
-
if (
|
|
1102
|
-
return
|
|
1103
|
-
if (!
|
|
1101
|
+
function Ge(e, i, o, v, L, K, q) {
|
|
1102
|
+
var V;
|
|
1103
|
+
if (v && (V = K ? v(e, L, K, q) : v(e)), V !== void 0)
|
|
1104
|
+
return V;
|
|
1105
|
+
if (!Ce(e))
|
|
1104
1106
|
return e;
|
|
1105
|
-
var Ct =
|
|
1107
|
+
var Ct = qe(e);
|
|
1106
1108
|
if (Ct) {
|
|
1107
|
-
if (
|
|
1108
|
-
return
|
|
1109
|
+
if (V = en(e), !i)
|
|
1110
|
+
return Xa(e, V);
|
|
1109
1111
|
} else {
|
|
1110
|
-
var
|
|
1111
|
-
if (
|
|
1112
|
-
return
|
|
1113
|
-
if (
|
|
1112
|
+
var be = ce(e), Ot = be == F || be == N;
|
|
1113
|
+
if (un(e))
|
|
1114
|
+
return za(e, i);
|
|
1115
|
+
if (be == E || be == u || Ot && !K) {
|
|
1114
1116
|
if (ct(e))
|
|
1115
|
-
return
|
|
1116
|
-
if (
|
|
1117
|
-
return
|
|
1117
|
+
return K ? e : {};
|
|
1118
|
+
if (V = tn(Ot ? {} : e), !i)
|
|
1119
|
+
return Ja(e, La(V, e));
|
|
1118
1120
|
} else {
|
|
1119
|
-
if (!
|
|
1120
|
-
return
|
|
1121
|
-
|
|
1121
|
+
if (!C[be])
|
|
1122
|
+
return K ? e : {};
|
|
1123
|
+
V = an(e, be, Ge, i);
|
|
1122
1124
|
}
|
|
1123
1125
|
}
|
|
1124
|
-
|
|
1125
|
-
var xt =
|
|
1126
|
+
q || (q = new fe());
|
|
1127
|
+
var xt = q.get(e);
|
|
1126
1128
|
if (xt)
|
|
1127
1129
|
return xt;
|
|
1128
|
-
if (
|
|
1129
|
-
var $t = o ?
|
|
1130
|
-
return
|
|
1131
|
-
$t && (
|
|
1132
|
-
}),
|
|
1130
|
+
if (q.set(e, V), !Ct)
|
|
1131
|
+
var $t = o ? Qa(e) : Ye(e);
|
|
1132
|
+
return Qt($t || e, function(Xe, Oe) {
|
|
1133
|
+
$t && (Oe = Xe, Xe = e[Oe]), yt(V, Oe, Ge(Xe, i, o, v, Oe, e, q));
|
|
1134
|
+
}), V;
|
|
1133
1135
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return
|
|
1136
|
+
function Za(e) {
|
|
1137
|
+
return Ce(e) ? sa(e) : {};
|
|
1136
1138
|
}
|
|
1137
|
-
function
|
|
1138
|
-
var
|
|
1139
|
-
return
|
|
1139
|
+
function Pa(e, i, o) {
|
|
1140
|
+
var v = i(e);
|
|
1141
|
+
return qe(e) ? v : ea(v, o(e));
|
|
1140
1142
|
}
|
|
1141
|
-
function
|
|
1142
|
-
return
|
|
1143
|
+
function ja(e) {
|
|
1144
|
+
return ke.call(e);
|
|
1143
1145
|
}
|
|
1144
|
-
function
|
|
1145
|
-
if (!
|
|
1146
|
+
function Ha(e) {
|
|
1147
|
+
if (!Ce(e) || on(e))
|
|
1146
1148
|
return !1;
|
|
1147
|
-
var i = It(e) || ct(e) ?
|
|
1148
|
-
return i.test(
|
|
1149
|
+
var i = It(e) || ct(e) ? ia : Pe;
|
|
1150
|
+
return i.test(le(e));
|
|
1149
1151
|
}
|
|
1150
|
-
function
|
|
1152
|
+
function Ka(e) {
|
|
1151
1153
|
if (!Tt(e))
|
|
1152
|
-
return
|
|
1154
|
+
return da(e);
|
|
1153
1155
|
var i = [];
|
|
1154
1156
|
for (var o in Object(e))
|
|
1155
|
-
|
|
1157
|
+
re.call(e, o) && o != "constructor" && i.push(o);
|
|
1156
1158
|
return i;
|
|
1157
1159
|
}
|
|
1158
|
-
function
|
|
1160
|
+
function za(e, i) {
|
|
1159
1161
|
if (i)
|
|
1160
1162
|
return e.slice();
|
|
1161
1163
|
var o = new e.constructor(e.length);
|
|
1162
1164
|
return e.copy(o), o;
|
|
1163
1165
|
}
|
|
1164
|
-
function
|
|
1166
|
+
function Ue(e) {
|
|
1165
1167
|
var i = new e.constructor(e.byteLength);
|
|
1166
1168
|
return new pt(i).set(new pt(e)), i;
|
|
1167
1169
|
}
|
|
1168
|
-
function
|
|
1169
|
-
var o = i ?
|
|
1170
|
+
function Va(e, i) {
|
|
1171
|
+
var o = i ? Ue(e.buffer) : e.buffer;
|
|
1170
1172
|
return new e.constructor(o, e.byteOffset, e.byteLength);
|
|
1171
1173
|
}
|
|
1172
|
-
function
|
|
1173
|
-
var
|
|
1174
|
-
return st(
|
|
1174
|
+
function Wa(e, i, o) {
|
|
1175
|
+
var v = i ? o(lt(e), !0) : lt(e);
|
|
1176
|
+
return st(v, Xt, new e.constructor());
|
|
1175
1177
|
}
|
|
1176
|
-
function
|
|
1177
|
-
var i = new e.constructor(e.source,
|
|
1178
|
+
function Ga(e) {
|
|
1179
|
+
var i = new e.constructor(e.source, ee.exec(e));
|
|
1178
1180
|
return i.lastIndex = e.lastIndex, i;
|
|
1179
1181
|
}
|
|
1180
|
-
function
|
|
1181
|
-
var
|
|
1182
|
-
return st(
|
|
1182
|
+
function Ua(e, i, o) {
|
|
1183
|
+
var v = i ? o(ut(e), !0) : ut(e);
|
|
1184
|
+
return st(v, Jt, new e.constructor());
|
|
1183
1185
|
}
|
|
1184
|
-
function
|
|
1186
|
+
function qa(e) {
|
|
1185
1187
|
return gt ? Object(gt.call(e)) : {};
|
|
1186
1188
|
}
|
|
1187
|
-
function
|
|
1188
|
-
var o = i ?
|
|
1189
|
+
function Ya(e, i) {
|
|
1190
|
+
var o = i ? Ue(e.buffer) : e.buffer;
|
|
1189
1191
|
return new e.constructor(o, e.byteOffset, e.length);
|
|
1190
1192
|
}
|
|
1191
|
-
function
|
|
1192
|
-
var o = -1,
|
|
1193
|
-
for (i || (i = Array(
|
|
1193
|
+
function Xa(e, i) {
|
|
1194
|
+
var o = -1, v = e.length;
|
|
1195
|
+
for (i || (i = Array(v)); ++o < v; )
|
|
1194
1196
|
i[o] = e[o];
|
|
1195
1197
|
return i;
|
|
1196
1198
|
}
|
|
1197
|
-
function _t(e, i, o,
|
|
1199
|
+
function _t(e, i, o, v) {
|
|
1198
1200
|
o || (o = {});
|
|
1199
|
-
for (var
|
|
1200
|
-
var
|
|
1201
|
-
yt(o,
|
|
1201
|
+
for (var L = -1, K = i.length; ++L < K; ) {
|
|
1202
|
+
var q = i[L], V = v ? v(o[q], e[q], q, o, e) : void 0;
|
|
1203
|
+
yt(o, q, V === void 0 ? e[q] : V);
|
|
1202
1204
|
}
|
|
1203
1205
|
return o;
|
|
1204
1206
|
}
|
|
1205
|
-
function
|
|
1207
|
+
function Ja(e, i) {
|
|
1206
1208
|
return _t(e, wt(e), i);
|
|
1207
1209
|
}
|
|
1208
|
-
function
|
|
1209
|
-
return
|
|
1210
|
+
function Qa(e) {
|
|
1211
|
+
return Pa(e, Ye, wt);
|
|
1210
1212
|
}
|
|
1211
|
-
function
|
|
1213
|
+
function Ie(e, i) {
|
|
1212
1214
|
var o = e.__data__;
|
|
1213
|
-
return
|
|
1214
|
-
}
|
|
1215
|
-
function
|
|
1216
|
-
var o =
|
|
1217
|
-
return
|
|
1218
|
-
}
|
|
1219
|
-
var wt = ht ?
|
|
1220
|
-
(
|
|
1221
|
-
var i =
|
|
1222
|
-
if (
|
|
1223
|
-
switch (
|
|
1215
|
+
return rn(i) ? o[typeof i == "string" ? "string" : "hash"] : o.map;
|
|
1216
|
+
}
|
|
1217
|
+
function ve(e, i) {
|
|
1218
|
+
var o = aa(e, i);
|
|
1219
|
+
return Ha(o) ? o : void 0;
|
|
1220
|
+
}
|
|
1221
|
+
var wt = ht ? je(ht, Object) : vn, ce = ja;
|
|
1222
|
+
(Ke && ce(new Ke(new ArrayBuffer(1))) != I || me && ce(new me()) != D || ze && ce(ze.resolve()) != H || Ve && ce(new Ve()) != j || We && ce(new We()) != S) && (ce = function(e) {
|
|
1223
|
+
var i = ke.call(e), o = i == E ? e.constructor : void 0, v = o ? le(o) : void 0;
|
|
1224
|
+
if (v)
|
|
1225
|
+
switch (v) {
|
|
1226
|
+
case fa:
|
|
1227
|
+
return I;
|
|
1224
1228
|
case va:
|
|
1225
|
-
return
|
|
1229
|
+
return D;
|
|
1226
1230
|
case ba:
|
|
1227
|
-
return
|
|
1231
|
+
return H;
|
|
1228
1232
|
case pa:
|
|
1229
|
-
return
|
|
1233
|
+
return j;
|
|
1230
1234
|
case ha:
|
|
1231
|
-
return W;
|
|
1232
|
-
case ma:
|
|
1233
1235
|
return S;
|
|
1234
1236
|
}
|
|
1235
1237
|
return i;
|
|
1236
1238
|
});
|
|
1237
|
-
function
|
|
1239
|
+
function en(e) {
|
|
1238
1240
|
var i = e.length, o = e.constructor(i);
|
|
1239
|
-
return i && typeof e[0] == "string" &&
|
|
1241
|
+
return i && typeof e[0] == "string" && re.call(e, "index") && (o.index = e.index, o.input = e.input), o;
|
|
1240
1242
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return typeof e.constructor == "function" && !Tt(e) ?
|
|
1243
|
+
function tn(e) {
|
|
1244
|
+
return typeof e.constructor == "function" && !Tt(e) ? Za(oa(e)) : {};
|
|
1243
1245
|
}
|
|
1244
|
-
function
|
|
1245
|
-
var
|
|
1246
|
+
function an(e, i, o, v) {
|
|
1247
|
+
var L = e.constructor;
|
|
1246
1248
|
switch (i) {
|
|
1247
|
-
case
|
|
1248
|
-
return
|
|
1249
|
+
case Z:
|
|
1250
|
+
return Ue(e);
|
|
1249
1251
|
case f:
|
|
1250
|
-
case
|
|
1251
|
-
return new
|
|
1252
|
-
case
|
|
1253
|
-
return
|
|
1252
|
+
case w:
|
|
1253
|
+
return new L(+e);
|
|
1254
|
+
case I:
|
|
1255
|
+
return Va(e, v);
|
|
1254
1256
|
case l:
|
|
1255
1257
|
case d:
|
|
1256
|
-
case
|
|
1258
|
+
case b:
|
|
1257
1259
|
case x:
|
|
1260
|
+
case h:
|
|
1261
|
+
case A:
|
|
1258
1262
|
case g:
|
|
1259
|
-
case
|
|
1260
|
-
case
|
|
1261
|
-
|
|
1262
|
-
case
|
|
1263
|
-
return
|
|
1264
|
-
case
|
|
1265
|
-
return Ga(e, b, o);
|
|
1266
|
-
case I:
|
|
1267
|
-
case U:
|
|
1268
|
-
return new R(e);
|
|
1263
|
+
case M:
|
|
1264
|
+
case T:
|
|
1265
|
+
return Ya(e, v);
|
|
1266
|
+
case D:
|
|
1267
|
+
return Wa(e, v, o);
|
|
1268
|
+
case O:
|
|
1269
1269
|
case Y:
|
|
1270
|
-
return
|
|
1271
|
-
case
|
|
1272
|
-
return
|
|
1273
|
-
case
|
|
1274
|
-
return
|
|
1270
|
+
return new L(e);
|
|
1271
|
+
case G:
|
|
1272
|
+
return Ga(e);
|
|
1273
|
+
case j:
|
|
1274
|
+
return Ua(e, v, o);
|
|
1275
|
+
case U:
|
|
1276
|
+
return qa(e);
|
|
1275
1277
|
}
|
|
1276
1278
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return i = i ?? c, !!i && (typeof e == "number" ||
|
|
1279
|
+
function nn(e, i) {
|
|
1280
|
+
return i = i ?? c, !!i && (typeof e == "number" || he.test(e)) && e > -1 && e % 1 == 0 && e < i;
|
|
1279
1281
|
}
|
|
1280
|
-
function
|
|
1282
|
+
function rn(e) {
|
|
1281
1283
|
var i = typeof e;
|
|
1282
1284
|
return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
|
|
1283
1285
|
}
|
|
1284
|
-
function
|
|
1286
|
+
function on(e) {
|
|
1285
1287
|
return !!dt && dt in e;
|
|
1286
1288
|
}
|
|
1287
1289
|
function Tt(e) {
|
|
1288
|
-
var i = e && e.constructor, o = typeof i == "function" && i.prototype ||
|
|
1290
|
+
var i = e && e.constructor, o = typeof i == "function" && i.prototype || Te;
|
|
1289
1291
|
return e === o;
|
|
1290
1292
|
}
|
|
1291
|
-
function
|
|
1293
|
+
function le(e) {
|
|
1292
1294
|
if (e != null) {
|
|
1293
1295
|
try {
|
|
1294
1296
|
return ft.call(e);
|
|
@@ -1301,65 +1303,65 @@ var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1301
1303
|
}
|
|
1302
1304
|
return "";
|
|
1303
1305
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return
|
|
1306
|
+
function sn(e) {
|
|
1307
|
+
return Ge(e, !0, !0);
|
|
1306
1308
|
}
|
|
1307
1309
|
function kt(e, i) {
|
|
1308
1310
|
return e === i || e !== e && i !== i;
|
|
1309
1311
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return
|
|
1312
|
+
function cn(e) {
|
|
1313
|
+
return ln(e) && re.call(e, "callee") && (!ca.call(e, "callee") || ke.call(e) == u);
|
|
1312
1314
|
}
|
|
1313
|
-
var
|
|
1315
|
+
var qe = Array.isArray;
|
|
1314
1316
|
function St(e) {
|
|
1315
|
-
return e != null &&
|
|
1317
|
+
return e != null && dn(e.length) && !It(e);
|
|
1316
1318
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return
|
|
1319
|
+
function ln(e) {
|
|
1320
|
+
return fn(e) && St(e);
|
|
1319
1321
|
}
|
|
1320
|
-
var
|
|
1322
|
+
var un = ua || bn;
|
|
1321
1323
|
function It(e) {
|
|
1322
|
-
var i =
|
|
1323
|
-
return i ==
|
|
1324
|
+
var i = Ce(e) ? ke.call(e) : "";
|
|
1325
|
+
return i == F || i == N;
|
|
1324
1326
|
}
|
|
1325
|
-
function
|
|
1327
|
+
function dn(e) {
|
|
1326
1328
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
|
|
1327
1329
|
}
|
|
1328
|
-
function
|
|
1330
|
+
function Ce(e) {
|
|
1329
1331
|
var i = typeof e;
|
|
1330
1332
|
return !!e && (i == "object" || i == "function");
|
|
1331
1333
|
}
|
|
1332
|
-
function
|
|
1334
|
+
function fn(e) {
|
|
1333
1335
|
return !!e && typeof e == "object";
|
|
1334
1336
|
}
|
|
1335
|
-
function
|
|
1336
|
-
return St(e) ?
|
|
1337
|
+
function Ye(e) {
|
|
1338
|
+
return St(e) ? Ma(e) : Ka(e);
|
|
1337
1339
|
}
|
|
1338
|
-
function
|
|
1340
|
+
function vn() {
|
|
1339
1341
|
return [];
|
|
1340
1342
|
}
|
|
1341
|
-
function
|
|
1343
|
+
function bn() {
|
|
1342
1344
|
return !1;
|
|
1343
1345
|
}
|
|
1344
|
-
n.exports =
|
|
1345
|
-
})(
|
|
1346
|
-
const
|
|
1346
|
+
n.exports = sn;
|
|
1347
|
+
})(Fr, Me);
|
|
1348
|
+
const Dr = Me, Rr = {
|
|
1347
1349
|
key: 0,
|
|
1348
1350
|
class: "sidebar-header"
|
|
1349
|
-
},
|
|
1351
|
+
}, Br = { class: "sidebar-content-container" }, Mr = {
|
|
1350
1352
|
key: 0,
|
|
1351
1353
|
class: "sidebar-top"
|
|
1352
|
-
},
|
|
1354
|
+
}, Lr = { "aria-label": "Main menu" }, Zr = {
|
|
1353
1355
|
key: 0,
|
|
1354
1356
|
class: "level-primary top-items"
|
|
1355
|
-
},
|
|
1357
|
+
}, Pr = {
|
|
1356
1358
|
key: 1,
|
|
1357
1359
|
class: "sidebar-level-divider",
|
|
1358
1360
|
role: "separator"
|
|
1359
|
-
},
|
|
1361
|
+
}, jr = {
|
|
1360
1362
|
key: 2,
|
|
1361
1363
|
class: "level-primary bottom-items"
|
|
1362
|
-
},
|
|
1364
|
+
}, Hr = ["href", "target"], Kr = /* @__PURE__ */ Q({
|
|
1363
1365
|
__name: "AppSidebar",
|
|
1364
1366
|
props: {
|
|
1365
1367
|
topItems: {
|
|
@@ -1427,17 +1429,17 @@ const Lr = Be, Zr = {
|
|
|
1427
1429
|
emits: ["click", "toggle"],
|
|
1428
1430
|
setup(n, { emit: t }) {
|
|
1429
1431
|
const a = n;
|
|
1430
|
-
et((
|
|
1431
|
-
"
|
|
1432
|
-
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1435
|
-
"
|
|
1436
|
-
|
|
1437
|
-
"
|
|
1438
|
-
|
|
1439
|
-
"
|
|
1440
|
-
|
|
1432
|
+
et((h) => ({
|
|
1433
|
+
"2f16a480": m(s).mobileHeight,
|
|
1434
|
+
b641d6c8: m(s).mobileTop,
|
|
1435
|
+
"124a6b28": n.zIndex,
|
|
1436
|
+
"243f467e": m(s).height,
|
|
1437
|
+
"3d33e35e": m(s).top,
|
|
1438
|
+
"6cd763b2": m(w).marginTop,
|
|
1439
|
+
"7c8d66cc": m(f).display,
|
|
1440
|
+
"21e03bf1": m(f).minHeight,
|
|
1441
|
+
"0260816d": m(k).top,
|
|
1442
|
+
b6c8c540: m(k).zIndex
|
|
1441
1443
|
}));
|
|
1442
1444
|
const r = tt(), c = y(() => !!r.header), u = y(() => !!r.top), s = y(() => ({
|
|
1443
1445
|
mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
|
|
@@ -1447,143 +1449,146 @@ const Lr = Be, Zr = {
|
|
|
1447
1449
|
})), f = y(() => ({
|
|
1448
1450
|
display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
|
|
1449
1451
|
minHeight: `${a.headerHeight}px`
|
|
1450
|
-
})),
|
|
1452
|
+
})), w = y(() => ({
|
|
1451
1453
|
marginTop: c.value ? `${a.headerHeight}px` : "0"
|
|
1452
1454
|
})), k = y(() => ({
|
|
1453
1455
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1454
1456
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1455
|
-
})),
|
|
1456
|
-
var
|
|
1457
|
-
if (
|
|
1458
|
-
(!
|
|
1459
|
-
for (const
|
|
1460
|
-
|
|
1457
|
+
})), F = (h) => Dr(h).map((g) => {
|
|
1458
|
+
var M, T, X;
|
|
1459
|
+
if (g) {
|
|
1460
|
+
(!g.key || !((M = g.key) != null && M.trim())) && (g.key = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!g.testId || !((T = g.testId) != null && T.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1461
|
+
for (const ee of g.items || [])
|
|
1462
|
+
ee.parentKey = g.key, (!ee.testId || !((X = ee.testId) != null && X.trim())) && (ee.testId = String(ee.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1461
1463
|
}
|
|
1462
|
-
return
|
|
1463
|
-
}),
|
|
1464
|
-
var
|
|
1465
|
-
|
|
1466
|
-
},
|
|
1467
|
-
a.mobileOverlayCloseOnClick &&
|
|
1468
|
-
},
|
|
1469
|
-
|
|
1470
|
-
|
|
1464
|
+
return g;
|
|
1465
|
+
}), N = y(() => a.topItems.length ? F(a.topItems) : []), D = y(() => a.bottomItems.length ? F(a.bottomItems) : []), O = W(a.open), E = (h) => {
|
|
1466
|
+
var A, g;
|
|
1467
|
+
O.value !== h && (O.value = h, t("toggle", h)), h ? (A = document == null ? void 0 : document.body) == null || A.classList.add("kong-ui-app-sidebar-open") : (g = document == null ? void 0 : document.body) == null || g.classList.remove("kong-ui-app-sidebar-open"), G.value = !1;
|
|
1468
|
+
}, H = () => {
|
|
1469
|
+
a.mobileOverlayCloseOnClick && E(!1);
|
|
1470
|
+
}, G = W(!1), j = (h) => {
|
|
1471
|
+
G.value = !0, t("click", h), setTimeout(() => {
|
|
1472
|
+
E(!1);
|
|
1471
1473
|
}, a.mobileCloseDelay);
|
|
1472
1474
|
};
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
+
Ae(() => a.open, (h) => {
|
|
1476
|
+
E(h);
|
|
1475
1477
|
});
|
|
1476
|
-
const { debounce:
|
|
1477
|
-
|
|
1478
|
-
}, 200), S =
|
|
1479
|
-
|
|
1480
|
-
}, d =
|
|
1481
|
-
var
|
|
1482
|
-
|
|
1478
|
+
const { debounce: Y } = Wt(), U = Y(() => {
|
|
1479
|
+
O.value && S.value !== (window == null ? void 0 : window.innerWidth) && (S.value = window == null ? void 0 : window.innerWidth, E(!1));
|
|
1480
|
+
}, 200), S = W(), Z = W(!1), I = W(), l = () => {
|
|
1481
|
+
Z.value || (Z.value = !0, clearTimeout(I.value), I.value = setTimeout(() => Z.value = !1, 1300));
|
|
1482
|
+
}, d = W(null), b = y(() => O.value && a.mobileEnabled), x = async (h) => {
|
|
1483
|
+
var A, g;
|
|
1484
|
+
h ? (await _n(), await new Promise((M) => setTimeout(M, 300)), (A = d.value) == null || A.activate()) : (g = d.value) == null || g.deactivate();
|
|
1483
1485
|
};
|
|
1484
|
-
return
|
|
1485
|
-
|
|
1486
|
-
}, { immediate: !0 }),
|
|
1487
|
-
S.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize",
|
|
1486
|
+
return Ae(b, async (h) => {
|
|
1487
|
+
h ? await x(!0) : await x(!1);
|
|
1488
|
+
}, { immediate: !0 }), Le(() => {
|
|
1489
|
+
S.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", U), window.addEventListener("resize", l);
|
|
1488
1490
|
}), Zt(() => {
|
|
1489
|
-
window.removeEventListener("resize",
|
|
1490
|
-
}), (
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
"
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
key: 1,
|
|
1541
|
-
class: "sidebar-profile-menu",
|
|
1542
|
-
"item-count": n.profileItems.length,
|
|
1543
|
-
name: n.profileName
|
|
1544
|
-
}, {
|
|
1545
|
-
default: Z(() => [
|
|
1546
|
-
(m(!0), $(be, null, ye(n.profileItems, (v) => (m(), H(h(On), {
|
|
1547
|
-
key: v.name,
|
|
1548
|
-
class: ae([{ "has-divider": v.hasDivider }, { "external-profile-dropdown-link": (v.external || v.newWindow) && typeof v.to == "string" }]),
|
|
1549
|
-
"has-divider": v.hasDivider,
|
|
1550
|
-
item: (v.external || v.newWindow) && typeof v.to == "string" ? void 0 : { label: v.name, to: v.to },
|
|
1551
|
-
onClick: (L) => W(v)
|
|
1552
|
-
}, {
|
|
1553
|
-
default: Z(() => [
|
|
1554
|
-
(v.external || v.newWindow) && typeof v.to == "string" ? (m(), $("a", {
|
|
1555
|
-
key: 0,
|
|
1556
|
-
class: "sidebar-item-external-link",
|
|
1557
|
-
href: v.to,
|
|
1558
|
-
target: v.newWindow ? "_blank" : void 0
|
|
1559
|
-
}, [
|
|
1560
|
-
Ae(re(v.name) + " ", 1),
|
|
1561
|
-
v.newWindow ? (m(), H(h(Pt), {
|
|
1562
|
-
key: 0,
|
|
1563
|
-
color: "var(--black-70, rgba(0,0,0,0.7))",
|
|
1564
|
-
icon: "externalLink",
|
|
1565
|
-
size: "20",
|
|
1566
|
-
viewBox: "0 0 20 20"
|
|
1567
|
-
})) : D("", !0)
|
|
1568
|
-
], 8, Wr)) : D("", !0)
|
|
1569
|
-
]),
|
|
1570
|
-
_: 2
|
|
1571
|
-
}, 1032, ["class", "has-divider", "item", "onClick"]))), 128))
|
|
1491
|
+
window.removeEventListener("resize", U), window.removeEventListener("resize", l);
|
|
1492
|
+
}), (h, A) => {
|
|
1493
|
+
const g = oe("KIcon"), M = oe("KDropdownItem");
|
|
1494
|
+
return p(), $(pe, null, [
|
|
1495
|
+
O.value && n.mobileOverlay && n.mobileEnabled ? (p(), $("div", {
|
|
1496
|
+
key: 0,
|
|
1497
|
+
class: "kong-ui-app-sidebar-overlay",
|
|
1498
|
+
onClick: H
|
|
1499
|
+
})) : B("", !0),
|
|
1500
|
+
Ze(m(Ar), {
|
|
1501
|
+
ref_key: "focusTrap",
|
|
1502
|
+
ref: d,
|
|
1503
|
+
active: !1,
|
|
1504
|
+
"allow-outside-click": "",
|
|
1505
|
+
"fallback-focus": ".kong-ui-app-sidebar"
|
|
1506
|
+
}, {
|
|
1507
|
+
default: P(() => [
|
|
1508
|
+
_("aside", {
|
|
1509
|
+
class: ne(["kong-ui-app-sidebar", {
|
|
1510
|
+
"sidebar-open": O.value,
|
|
1511
|
+
"no-sidebar-header": !m(c),
|
|
1512
|
+
"mobile-header-hidden": n.mobileEnabled && (!m(c) || !n.mobileHeaderVisible),
|
|
1513
|
+
"mobile-disabled": !n.mobileEnabled,
|
|
1514
|
+
"disable-transitions": Z.value
|
|
1515
|
+
}]),
|
|
1516
|
+
tabindex: "-1"
|
|
1517
|
+
}, [
|
|
1518
|
+
m(c) ? (p(), $("div", Rr, [
|
|
1519
|
+
R(h.$slots, "header", {}, void 0, !0)
|
|
1520
|
+
])) : B("", !0),
|
|
1521
|
+
_("div", Br, [
|
|
1522
|
+
m(u) ? (p(), $("div", Mr, [
|
|
1523
|
+
R(h.$slots, "top", {}, void 0, !0)
|
|
1524
|
+
])) : B("", !0),
|
|
1525
|
+
_("nav", Lr, [
|
|
1526
|
+
m(N).length ? (p(), $("ul", Zr, [
|
|
1527
|
+
(p(!0), $(pe, null, _e(m(N), (T) => (p(), z(Nt, {
|
|
1528
|
+
key: T.name,
|
|
1529
|
+
item: T,
|
|
1530
|
+
onClick: j
|
|
1531
|
+
}, null, 8, ["item"]))), 128))
|
|
1532
|
+
])) : B("", !0),
|
|
1533
|
+
m(N).length && m(D).length ? (p(), $("div", Pr)) : B("", !0),
|
|
1534
|
+
m(D).length ? (p(), $("ul", jr, [
|
|
1535
|
+
(p(!0), $(pe, null, _e(m(D), (T) => (p(), z(Nt, {
|
|
1536
|
+
key: T.name,
|
|
1537
|
+
item: T,
|
|
1538
|
+
onClick: j
|
|
1539
|
+
}, null, 8, ["item"]))), 128))
|
|
1540
|
+
])) : B("", !0)
|
|
1541
|
+
])
|
|
1572
1542
|
]),
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1543
|
+
n.profileName || n.profileItems.length ? (p(), z(or, {
|
|
1544
|
+
key: 1,
|
|
1545
|
+
class: "sidebar-profile-menu",
|
|
1546
|
+
"item-count": n.profileItems.length,
|
|
1547
|
+
name: n.profileName
|
|
1548
|
+
}, {
|
|
1549
|
+
default: P(() => [
|
|
1550
|
+
(p(!0), $(pe, null, _e(n.profileItems, (T) => (p(), z(M, {
|
|
1551
|
+
key: T.name,
|
|
1552
|
+
class: ne([{ "has-divider": T.hasDivider }, { "external-profile-dropdown-link": (T.external || T.newWindow) && typeof T.to == "string" }]),
|
|
1553
|
+
"has-divider": T.hasDivider,
|
|
1554
|
+
item: (T.external || T.newWindow) && typeof T.to == "string" ? void 0 : { label: T.name, to: T.to },
|
|
1555
|
+
onClick: (X) => j(T)
|
|
1556
|
+
}, {
|
|
1557
|
+
default: P(() => [
|
|
1558
|
+
(T.external || T.newWindow) && typeof T.to == "string" ? (p(), $("a", {
|
|
1559
|
+
key: 0,
|
|
1560
|
+
class: "sidebar-item-external-link",
|
|
1561
|
+
href: T.to,
|
|
1562
|
+
target: T.newWindow ? "_blank" : void 0
|
|
1563
|
+
}, [
|
|
1564
|
+
Fe(ie(T.name) + " ", 1),
|
|
1565
|
+
T.newWindow ? (p(), z(g, {
|
|
1566
|
+
key: 0,
|
|
1567
|
+
color: "var(--black-70, rgba(0,0,0,0.7))",
|
|
1568
|
+
icon: "externalLink",
|
|
1569
|
+
size: "20",
|
|
1570
|
+
viewBox: "0 0 20 20"
|
|
1571
|
+
})) : B("", !0)
|
|
1572
|
+
], 8, Hr)) : B("", !0)
|
|
1573
|
+
]),
|
|
1574
|
+
_: 2
|
|
1575
|
+
}, 1032, ["class", "has-divider", "item", "onClick"]))), 128))
|
|
1576
|
+
]),
|
|
1577
|
+
_: 1
|
|
1578
|
+
}, 8, ["item-count", "name"])) : B("", !0)
|
|
1579
|
+
], 2)
|
|
1580
|
+
]),
|
|
1581
|
+
_: 3
|
|
1582
|
+
}, 512)
|
|
1583
|
+
], 64);
|
|
1584
|
+
};
|
|
1580
1585
|
}
|
|
1581
1586
|
});
|
|
1582
|
-
const
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
],
|
|
1587
|
+
const zr = /* @__PURE__ */ J(Kr, [["__scopeId", "data-v-38b80087"]]), rt = (n) => (at("data-v-33b3f7c3"), n = n(), nt(), n), Vr = ["aria-label", "onClick"], Wr = /* @__PURE__ */ rt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), Gr = /* @__PURE__ */ rt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), Ur = /* @__PURE__ */ rt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), qr = [
|
|
1588
|
+
Wr,
|
|
1589
|
+
Gr,
|
|
1590
|
+
Ur
|
|
1591
|
+
], Yr = /* @__PURE__ */ Q({
|
|
1587
1592
|
__name: "SidebarToggle",
|
|
1588
1593
|
props: {
|
|
1589
1594
|
active: {
|
|
@@ -1593,28 +1598,28 @@ const Ur = /* @__PURE__ */ q(Gr, [["__scopeId", "data-v-fe465cf7"]]), rt = (n) =
|
|
|
1593
1598
|
},
|
|
1594
1599
|
emits: ["toggle"],
|
|
1595
1600
|
setup(n, { emit: t }) {
|
|
1596
|
-
const a = n, r =
|
|
1601
|
+
const a = n, r = W(a.active || !1), c = () => {
|
|
1597
1602
|
r.value = !r.value, t("toggle", r.value);
|
|
1598
1603
|
};
|
|
1599
|
-
return
|
|
1604
|
+
return Ae(() => a.active, (u) => {
|
|
1600
1605
|
r.value = u;
|
|
1601
|
-
}), (u, s) => (
|
|
1606
|
+
}), (u, s) => (p(), $("a", {
|
|
1602
1607
|
"aria-haspopup": "true",
|
|
1603
1608
|
"aria-label": r.value ? "Close Main Menu" : "Open Main Menu",
|
|
1604
|
-
class:
|
|
1609
|
+
class: ne(["sidebar-menu-toggle", { active: r.value }]),
|
|
1605
1610
|
href: "#",
|
|
1606
1611
|
role: "button",
|
|
1607
1612
|
onClick: Lt(c, ["prevent"])
|
|
1608
|
-
},
|
|
1613
|
+
}, qr, 10, Vr));
|
|
1609
1614
|
}
|
|
1610
1615
|
});
|
|
1611
|
-
const
|
|
1616
|
+
const Xr = /* @__PURE__ */ J(Yr, [["__scopeId", "data-v-33b3f7c3"]]), Jr = (n) => (at("data-v-c8f90c1e"), n = n(), nt(), n), Qr = { id: "kong-ui-app-layout-notification" }, ei = { class: "mobile-logo" }, ti = {
|
|
1612
1617
|
key: 0,
|
|
1613
1618
|
class: "navbar-logo"
|
|
1614
|
-
},
|
|
1619
|
+
}, ai = {
|
|
1615
1620
|
class: "kong-ui-app-layout-main",
|
|
1616
1621
|
"data-testid": "kong-ui-app-layout-main"
|
|
1617
|
-
},
|
|
1622
|
+
}, ni = { class: "kong-ui-app-layout-content" }, ri = /* @__PURE__ */ Jr(() => /* @__PURE__ */ _("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), ii = /* @__PURE__ */ Q({
|
|
1618
1623
|
__name: "AppLayout",
|
|
1619
1624
|
props: {
|
|
1620
1625
|
hideDefaultSlot: {
|
|
@@ -1656,10 +1661,10 @@ const ti = /* @__PURE__ */ q(ei, [["__scopeId", "data-v-33b3f7c3"]]), ai = (n) =
|
|
|
1656
1661
|
setup(n, { emit: t }) {
|
|
1657
1662
|
const a = n;
|
|
1658
1663
|
et((S) => ({
|
|
1659
|
-
aa60aac2:
|
|
1660
|
-
"3ae158d2":
|
|
1664
|
+
aa60aac2: m(H),
|
|
1665
|
+
"3ae158d2": m(G)
|
|
1661
1666
|
}));
|
|
1662
|
-
const r = tt(), c =
|
|
1667
|
+
const r = tt(), c = Ne({
|
|
1663
1668
|
navbarLeft: y(() => !!r["navbar-left"]),
|
|
1664
1669
|
navbarCenter: y(() => !!r["navbar-center"]),
|
|
1665
1670
|
navbarRight: y(() => !!r["navbar-right"]),
|
|
@@ -1667,145 +1672,145 @@ const ti = /* @__PURE__ */ q(ei, [["__scopeId", "data-v-33b3f7c3"]]), ai = (n) =
|
|
|
1667
1672
|
navbarMobileLogo: y(() => !!r["navbar-mobile-logo"]),
|
|
1668
1673
|
sidebarHeader: y(() => !!r["sidebar-header"]),
|
|
1669
1674
|
sidebarTop: y(() => !!r["sidebar-top"])
|
|
1670
|
-
}), u = y(() => a.hideDefaultSlot), s =
|
|
1675
|
+
}), u = y(() => a.hideDefaultSlot), s = Ne({
|
|
1671
1676
|
hidden: y(() => a.navbarHidden)
|
|
1672
|
-
}), f =
|
|
1677
|
+
}), f = Ne({
|
|
1673
1678
|
topItems: y(() => a.sidebarTopItems),
|
|
1674
1679
|
bottomItems: y(() => a.sidebarBottomItems),
|
|
1675
1680
|
profileItems: y(() => a.sidebarProfileItems),
|
|
1676
1681
|
profileName: y(() => a.sidebarProfileName),
|
|
1677
1682
|
open: y(() => a.sidebarOpen),
|
|
1678
1683
|
hidden: y(() => a.sidebarHidden)
|
|
1679
|
-
}),
|
|
1684
|
+
}), w = (S) => {
|
|
1680
1685
|
t("sidebar-click", S);
|
|
1681
|
-
}, k =
|
|
1686
|
+
}, k = W(!1), F = (S) => {
|
|
1682
1687
|
k.value = S;
|
|
1683
1688
|
};
|
|
1684
|
-
|
|
1685
|
-
k.value =
|
|
1689
|
+
wn(() => {
|
|
1690
|
+
k.value = Tn(f, "open").value || !1;
|
|
1686
1691
|
});
|
|
1687
|
-
const
|
|
1688
|
-
if (S ||
|
|
1689
|
-
const
|
|
1690
|
-
|
|
1692
|
+
const N = W(0), D = W(60), O = W(0), E = y(() => s.hidden ? O.value : D.value + O.value), H = y(() => `${E.value}px`), G = y(() => f.hidden || s.hidden ? "0" : "16px"), { debounce: j } = Wt(), Y = j((S = !1) => {
|
|
1693
|
+
if (S || N.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1694
|
+
const Z = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1695
|
+
Z && (O.value = Z.offsetHeight);
|
|
1691
1696
|
}
|
|
1692
|
-
}, 200),
|
|
1693
|
-
return
|
|
1694
|
-
var
|
|
1695
|
-
(
|
|
1697
|
+
}, 200), U = W();
|
|
1698
|
+
return Le(() => {
|
|
1699
|
+
var Z, I;
|
|
1700
|
+
(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"), N.value = window == null ? void 0 : window.innerWidth, Y(!0);
|
|
1696
1701
|
const S = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1697
|
-
S && (
|
|
1702
|
+
S && (U.value = new ResizeObserver((l) => {
|
|
1698
1703
|
for (const d of l) {
|
|
1699
|
-
const
|
|
1700
|
-
|
|
1704
|
+
const b = d.contentRect.height;
|
|
1705
|
+
O.value !== b && (O.value = b);
|
|
1701
1706
|
}
|
|
1702
|
-
}),
|
|
1707
|
+
}), U.value.observe(S)), window.addEventListener("resize", Y);
|
|
1703
1708
|
}), Zt(() => {
|
|
1704
|
-
|
|
1705
|
-
}), (S,
|
|
1706
|
-
class:
|
|
1709
|
+
U.value && U.value.disconnect(), window.removeEventListener("resize", Y);
|
|
1710
|
+
}), (S, Z) => (p(), $("div", {
|
|
1711
|
+
class: ne(["kong-ui-app-layout", [
|
|
1707
1712
|
{ "navbar-hidden": s.hidden },
|
|
1708
1713
|
{ "sidebar-hidden": f.hidden }
|
|
1709
1714
|
]])
|
|
1710
1715
|
}, [
|
|
1711
|
-
_("div",
|
|
1712
|
-
|
|
1716
|
+
_("div", Qr, [
|
|
1717
|
+
R(S.$slots, "notification", {}, void 0, !0)
|
|
1713
1718
|
]),
|
|
1714
|
-
s.hidden ?
|
|
1719
|
+
s.hidden ? B("", !0) : (p(), z(Fn, {
|
|
1715
1720
|
key: String(f.hidden),
|
|
1716
1721
|
"left-offset": f.hidden ? 0 : void 0,
|
|
1717
|
-
"top-offset":
|
|
1722
|
+
"top-offset": O.value
|
|
1718
1723
|
}, Et({
|
|
1719
|
-
"mobile-sidebar-toggle":
|
|
1720
|
-
f.hidden ?
|
|
1724
|
+
"mobile-sidebar-toggle": P(() => [
|
|
1725
|
+
f.hidden ? B("", !0) : (p(), z(Xr, {
|
|
1721
1726
|
key: 0,
|
|
1722
1727
|
active: k.value,
|
|
1723
|
-
onToggle:
|
|
1728
|
+
onToggle: F
|
|
1724
1729
|
}, null, 8, ["active"]))
|
|
1725
1730
|
]),
|
|
1726
1731
|
_: 2
|
|
1727
1732
|
}, [
|
|
1728
1733
|
c.navbarMobileLogo ? {
|
|
1729
1734
|
name: "mobile-logo",
|
|
1730
|
-
fn:
|
|
1731
|
-
_("div",
|
|
1732
|
-
|
|
1735
|
+
fn: P(() => [
|
|
1736
|
+
_("div", ei, [
|
|
1737
|
+
R(S.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1733
1738
|
])
|
|
1734
1739
|
]),
|
|
1735
1740
|
key: "0"
|
|
1736
1741
|
} : void 0,
|
|
1737
1742
|
c.navbarLogo ? {
|
|
1738
1743
|
name: "logo",
|
|
1739
|
-
fn:
|
|
1740
|
-
f.hidden ? (
|
|
1741
|
-
|
|
1742
|
-
])) :
|
|
1744
|
+
fn: P(() => [
|
|
1745
|
+
f.hidden ? (p(), $("div", ti, [
|
|
1746
|
+
R(S.$slots, "navbar-logo", {}, void 0, !0)
|
|
1747
|
+
])) : B("", !0)
|
|
1743
1748
|
]),
|
|
1744
1749
|
key: "1"
|
|
1745
1750
|
} : void 0,
|
|
1746
1751
|
c.navbarLeft ? {
|
|
1747
1752
|
name: "left",
|
|
1748
|
-
fn:
|
|
1749
|
-
|
|
1753
|
+
fn: P(() => [
|
|
1754
|
+
R(S.$slots, "navbar-left", {}, void 0, !0)
|
|
1750
1755
|
]),
|
|
1751
1756
|
key: "2"
|
|
1752
1757
|
} : void 0,
|
|
1753
1758
|
c.navbarCenter ? {
|
|
1754
1759
|
name: "center",
|
|
1755
|
-
fn:
|
|
1756
|
-
|
|
1760
|
+
fn: P(() => [
|
|
1761
|
+
R(S.$slots, "navbar-center", {}, void 0, !0)
|
|
1757
1762
|
]),
|
|
1758
1763
|
key: "3"
|
|
1759
1764
|
} : void 0,
|
|
1760
1765
|
c.navbarRight ? {
|
|
1761
1766
|
name: "right",
|
|
1762
|
-
fn:
|
|
1763
|
-
|
|
1767
|
+
fn: P(() => [
|
|
1768
|
+
R(S.$slots, "navbar-right", {}, void 0, !0)
|
|
1764
1769
|
]),
|
|
1765
1770
|
key: "4"
|
|
1766
1771
|
} : void 0
|
|
1767
1772
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1768
|
-
f.hidden ?
|
|
1773
|
+
f.hidden ? B("", !0) : (p(), z(zr, {
|
|
1769
1774
|
key: 1,
|
|
1770
1775
|
"bottom-items": f.bottomItems,
|
|
1771
|
-
"header-height":
|
|
1776
|
+
"header-height": D.value,
|
|
1772
1777
|
"mobile-enabled": "",
|
|
1773
1778
|
"mobile-header-visible": !1,
|
|
1774
|
-
"mobile-top-offset":
|
|
1779
|
+
"mobile-top-offset": m(E),
|
|
1775
1780
|
open: k.value,
|
|
1776
1781
|
"profile-items": f.profileItems,
|
|
1777
1782
|
"profile-name": f.profileName,
|
|
1778
1783
|
"top-items": f.topItems,
|
|
1779
|
-
"top-offset":
|
|
1780
|
-
onClick:
|
|
1781
|
-
onToggle:
|
|
1784
|
+
"top-offset": O.value,
|
|
1785
|
+
onClick: w,
|
|
1786
|
+
onToggle: F
|
|
1782
1787
|
}, Et({ _: 2 }, [
|
|
1783
1788
|
c.sidebarHeader ? {
|
|
1784
1789
|
name: "header",
|
|
1785
|
-
fn:
|
|
1786
|
-
|
|
1790
|
+
fn: P(() => [
|
|
1791
|
+
R(S.$slots, "sidebar-header", {}, void 0, !0)
|
|
1787
1792
|
]),
|
|
1788
1793
|
key: "0"
|
|
1789
1794
|
} : void 0,
|
|
1790
1795
|
c.sidebarTop ? {
|
|
1791
1796
|
name: "top",
|
|
1792
|
-
fn:
|
|
1793
|
-
|
|
1797
|
+
fn: P(() => [
|
|
1798
|
+
R(S.$slots, "sidebar-top", {}, void 0, !0)
|
|
1794
1799
|
]),
|
|
1795
1800
|
key: "1"
|
|
1796
1801
|
} : void 0
|
|
1797
1802
|
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "profile-items", "profile-name", "top-items", "top-offset"])),
|
|
1798
|
-
_("main",
|
|
1799
|
-
_("div",
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
+
_("main", ai, [
|
|
1804
|
+
_("div", ni, [
|
|
1805
|
+
ri,
|
|
1806
|
+
R(S.$slots, "app-error", {}, void 0, !0),
|
|
1807
|
+
m(u) ? B("", !0) : R(S.$slots, "default", { key: 0 }, void 0, !0)
|
|
1803
1808
|
])
|
|
1804
1809
|
])
|
|
1805
1810
|
], 2));
|
|
1806
1811
|
}
|
|
1807
1812
|
});
|
|
1808
|
-
const
|
|
1813
|
+
const oi = /* @__PURE__ */ J(ii, [["__scopeId", "data-v-c8f90c1e"]]), si = /* @__PURE__ */ Q({
|
|
1809
1814
|
__name: "NavbarDropdownMenu",
|
|
1810
1815
|
props: {
|
|
1811
1816
|
options: {
|
|
@@ -1828,12 +1833,12 @@ const ui = /* @__PURE__ */ q(li, [["__scopeId", "data-v-c8f90c1e"]]), di = /* @_
|
|
|
1828
1833
|
emits: ["change"],
|
|
1829
1834
|
setup(n, { emit: t }) {
|
|
1830
1835
|
var u;
|
|
1831
|
-
const a = n, r =
|
|
1836
|
+
const a = n, r = W(((u = a.options) == null ? void 0 : u.filter((s) => !!s.selected)[0]) || a.options[0]), c = (s) => {
|
|
1832
1837
|
r.value = s, t("change", r.value);
|
|
1833
1838
|
};
|
|
1834
1839
|
return (s, f) => {
|
|
1835
|
-
const
|
|
1836
|
-
return
|
|
1840
|
+
const w = oe("KDropdownItem"), k = oe("KDropdownMenu");
|
|
1841
|
+
return p(), z(k, {
|
|
1837
1842
|
appearance: "selectionMenu",
|
|
1838
1843
|
class: "top-bar-dropdown-menu",
|
|
1839
1844
|
disabled: n.disabled,
|
|
@@ -1841,19 +1846,19 @@ const ui = /* @__PURE__ */ q(li, [["__scopeId", "data-v-c8f90c1e"]]), di = /* @_
|
|
|
1841
1846
|
"kpop-attributes": { placement: "bottomStart", disabled: n.disabled },
|
|
1842
1847
|
label: r.value.label,
|
|
1843
1848
|
width: n.width,
|
|
1844
|
-
onChange: f[0] || (f[0] = (
|
|
1849
|
+
onChange: f[0] || (f[0] = (F) => c(F))
|
|
1845
1850
|
}, {
|
|
1846
|
-
items:
|
|
1847
|
-
|
|
1848
|
-
(
|
|
1849
|
-
key:
|
|
1850
|
-
"data-testid": "select-" +
|
|
1851
|
-
selected: r.value.value ===
|
|
1852
|
-
onClick: (
|
|
1851
|
+
items: P(({ handleSelection: F }) => [
|
|
1852
|
+
R(s.$slots, "default", {}, () => [
|
|
1853
|
+
(p(!0), $(pe, null, _e(n.options, (N) => (p(), z(w, {
|
|
1854
|
+
key: N.value,
|
|
1855
|
+
"data-testid": "select-" + N.value,
|
|
1856
|
+
selected: r.value.value === N.value,
|
|
1857
|
+
onClick: (D) => F(N)
|
|
1853
1858
|
}, {
|
|
1854
|
-
default:
|
|
1855
|
-
|
|
1856
|
-
|
|
1859
|
+
default: P(() => [
|
|
1860
|
+
R(s.$slots, "default", { option: N }, () => [
|
|
1861
|
+
Fe(ie(N.label), 1)
|
|
1857
1862
|
], !0)
|
|
1858
1863
|
]),
|
|
1859
1864
|
_: 2
|
|
@@ -1865,52 +1870,52 @@ const ui = /* @__PURE__ */ q(li, [["__scopeId", "data-v-c8f90c1e"]]), di = /* @_
|
|
|
1865
1870
|
};
|
|
1866
1871
|
}
|
|
1867
1872
|
});
|
|
1868
|
-
const
|
|
1873
|
+
const wi = /* @__PURE__ */ J(si, [["__scopeId", "data-v-b5a37136"]]), ci = {}, li = {
|
|
1869
1874
|
fill: "none",
|
|
1870
1875
|
height: "130",
|
|
1871
1876
|
width: "130",
|
|
1872
1877
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1873
|
-
},
|
|
1874
|
-
|
|
1878
|
+
}, ui = /* @__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), di = [
|
|
1879
|
+
ui
|
|
1875
1880
|
];
|
|
1876
|
-
function
|
|
1877
|
-
return
|
|
1881
|
+
function fi(n, t) {
|
|
1882
|
+
return p(), $("svg", li, di);
|
|
1878
1883
|
}
|
|
1879
|
-
const
|
|
1880
|
-
/* @__PURE__ */
|
|
1884
|
+
const vi = /* @__PURE__ */ J(ci, [["render", fi]]), Gt = (n) => (at("data-v-ff05f71e"), n = n(), nt(), n), bi = { class: "kong-ui-app-error" }, pi = { class: "banana-icon" }, hi = { class: "kong-ui-app-error-content" }, mi = /* @__PURE__ */ Gt(() => /* @__PURE__ */ _("h2", null, "An unexpected error has occurred", -1)), gi = /* @__PURE__ */ Gt(() => /* @__PURE__ */ _("p", null, [
|
|
1885
|
+
/* @__PURE__ */ Fe("Go back to the previous page or "),
|
|
1881
1886
|
/* @__PURE__ */ _("a", { href: "/" }, "return home"),
|
|
1882
|
-
/* @__PURE__ */
|
|
1883
|
-
], -1)),
|
|
1887
|
+
/* @__PURE__ */ Fe(".")
|
|
1888
|
+
], -1)), yi = /* @__PURE__ */ Q({
|
|
1884
1889
|
__name: "AppError",
|
|
1885
1890
|
setup(n) {
|
|
1886
|
-
return (t, a) => (
|
|
1887
|
-
_("div",
|
|
1888
|
-
|
|
1891
|
+
return (t, a) => (p(), $("section", bi, [
|
|
1892
|
+
_("div", pi, [
|
|
1893
|
+
Ze(vi)
|
|
1889
1894
|
]),
|
|
1890
|
-
_("div",
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1895
|
+
_("div", hi, [
|
|
1896
|
+
R(t.$slots, "default", {}, () => [
|
|
1897
|
+
mi,
|
|
1898
|
+
gi
|
|
1894
1899
|
], !0)
|
|
1895
1900
|
])
|
|
1896
1901
|
]));
|
|
1897
1902
|
}
|
|
1898
1903
|
});
|
|
1899
|
-
const
|
|
1904
|
+
const Ti = /* @__PURE__ */ J(yi, [["__scopeId", "data-v-ff05f71e"]]), ki = {
|
|
1900
1905
|
// Customize Vue plugin options as desired
|
|
1901
1906
|
// Providing a `name` property allows for customizing the registered
|
|
1902
1907
|
// name of your component (useful if exporting a single component).
|
|
1903
1908
|
install: (n, t = {}) => {
|
|
1904
|
-
n.component(t.name || "AppLayout",
|
|
1909
|
+
n.component(t.name || "AppLayout", oi);
|
|
1905
1910
|
}
|
|
1906
1911
|
};
|
|
1907
1912
|
export {
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1913
|
+
Ti as AppError,
|
|
1914
|
+
oi as AppLayout,
|
|
1915
|
+
Fn as AppNavbar,
|
|
1916
|
+
zr as AppSidebar,
|
|
1917
|
+
wi as NavbarDropdownMenu,
|
|
1918
|
+
Xr as SidebarToggle,
|
|
1919
|
+
ki as default
|
|
1915
1920
|
};
|
|
1916
1921
|
//# sourceMappingURL=app-layout.es.js.map
|