@kong-ui-public/app-layout 0.22.21 → 0.22.23-pr.782.1f0f888e.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-layout.es.js +691 -594
- package/dist/app-layout.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts +69 -0
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/app-layout.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const Cn = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as te, resolveComponent as ve, openBlock as h, createBlock as Q, withCtx as B, renderSlot as $, createElementBlock as m, Fragment as $e, renderList as Oe, normalizeClass as ie, createTextVNode as ct, toDisplayString as J, createSlots as Pe, createCommentVNode as C, createElementVNode as _, createStaticVNode as pn, createVNode as Ve, pushScopeId as Ge, popScopeId as Ue, useCssVars as ut, useSlots as dt, computed as y, reactive as Le, onMounted as We, resolveDynamicComponent as mn, withKeys as gn, ref as q, watch as Me, onUnmounted as yn, Comment as _n, cloneVNode as wn, onBeforeUnmount as Ht, unref as Tn, nextTick as kn, withModifiers as Sn, watchEffect as In, toRef as $n } from "vue";
|
|
2
|
+
const Cn = /* @__PURE__ */ te({
|
|
3
3
|
__name: "AccountDropdown",
|
|
4
4
|
props: {
|
|
5
5
|
options: {
|
|
@@ -19,26 +19,26 @@ const Cn = /* @__PURE__ */ ae({
|
|
|
19
19
|
},
|
|
20
20
|
setup(n) {
|
|
21
21
|
return (t, a) => {
|
|
22
|
-
const r =
|
|
23
|
-
return
|
|
22
|
+
const r = ve("KDropdownItem"), l = ve("KDropdownMenu");
|
|
23
|
+
return h(), Q(l, {
|
|
24
24
|
class: "account-dropdown",
|
|
25
25
|
"kpop-attributes": { placement: "bottomStart" },
|
|
26
26
|
label: n.userInitials,
|
|
27
27
|
size: "small",
|
|
28
28
|
width: n.width
|
|
29
29
|
}, {
|
|
30
|
-
items:
|
|
31
|
-
|
|
32
|
-
(
|
|
30
|
+
items: B(({ handleSelection: d }) => [
|
|
31
|
+
$(t.$slots, "default", {}, () => [
|
|
32
|
+
(h(!0), m($e, null, Oe(n.options, (o) => (h(), Q(r, {
|
|
33
33
|
key: o.value,
|
|
34
34
|
class: ie({ "has-divider": o.hasDivider }),
|
|
35
35
|
"data-testid": "select-" + o.value,
|
|
36
36
|
"has-divider": o.hasDivider,
|
|
37
37
|
onClick: (v) => d(o)
|
|
38
38
|
}, {
|
|
39
|
-
default:
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
default: B(() => [
|
|
40
|
+
$(t.$slots, "default", { option: o }, () => [
|
|
41
|
+
ct(J(o.label), 1)
|
|
42
42
|
], !0)
|
|
43
43
|
]),
|
|
44
44
|
_: 2
|
|
@@ -50,46 +50,142 @@ const Cn = /* @__PURE__ */ ae({
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
|
-
const
|
|
53
|
+
const ae = (n, t) => {
|
|
54
54
|
const a = n.__vccOpts || n;
|
|
55
55
|
for (const [r, l] of t)
|
|
56
56
|
a[r] = l;
|
|
57
57
|
return a;
|
|
58
|
-
},
|
|
58
|
+
}, Li = /* @__PURE__ */ ae(Cn, [["__scopeId", "data-v-c4652497"]]), On = { class: "about-section-title" }, An = { class: "about-section-header-end" }, Nn = {
|
|
59
|
+
key: 0,
|
|
60
|
+
class: "about-section-timestamps-created"
|
|
61
|
+
}, En = {
|
|
62
|
+
key: 1,
|
|
63
|
+
class: "about-section-timestamps-arrow"
|
|
64
|
+
}, Fn = {
|
|
65
|
+
key: 2,
|
|
66
|
+
class: "about-section-timestamps-modified"
|
|
67
|
+
}, xn = {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: "about-section-actions",
|
|
70
|
+
"data-testid": "about-section-actions"
|
|
71
|
+
}, Dn = {
|
|
72
|
+
key: 0,
|
|
73
|
+
class: "about-section-description"
|
|
74
|
+
}, Bn = {
|
|
75
|
+
key: 1,
|
|
76
|
+
class: "about-section-content"
|
|
77
|
+
}, Rn = { key: 2 }, Ln = {
|
|
78
|
+
key: 3,
|
|
79
|
+
class: "about-divider-section"
|
|
80
|
+
}, Pn = /* @__PURE__ */ te({
|
|
81
|
+
__name: "AppAboutSection",
|
|
82
|
+
props: {
|
|
83
|
+
title: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: ""
|
|
86
|
+
},
|
|
87
|
+
description: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: ""
|
|
90
|
+
},
|
|
91
|
+
created: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: ""
|
|
94
|
+
},
|
|
95
|
+
createdLabel: {
|
|
96
|
+
type: String,
|
|
97
|
+
default: ""
|
|
98
|
+
},
|
|
99
|
+
modified: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: ""
|
|
102
|
+
},
|
|
103
|
+
modifiedLabel: {
|
|
104
|
+
type: String,
|
|
105
|
+
default: ""
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
setup(n) {
|
|
109
|
+
return (t, a) => {
|
|
110
|
+
const r = ve("KCard");
|
|
111
|
+
return h(), Q(r, { class: "kong-ui-app-about-section" }, Pe({
|
|
112
|
+
body: B(() => [
|
|
113
|
+
n.description ? (h(), m("div", Dn, J(n.description), 1)) : C("", !0),
|
|
114
|
+
t.$slots.default ? (h(), m("div", Bn, [
|
|
115
|
+
$(t.$slots, "default", {}, void 0, !0)
|
|
116
|
+
])) : C("", !0),
|
|
117
|
+
t.$slots["divider-section"] ? (h(), m("hr", Rn)) : C("", !0),
|
|
118
|
+
t.$slots["divider-section"] ? (h(), m("div", Ln, [
|
|
119
|
+
$(t.$slots, "divider-section", {}, void 0, !0)
|
|
120
|
+
])) : C("", !0)
|
|
121
|
+
]),
|
|
122
|
+
_: 2
|
|
123
|
+
}, [
|
|
124
|
+
n.title ? {
|
|
125
|
+
name: "title",
|
|
126
|
+
fn: B(() => [
|
|
127
|
+
_("div", On, J(n.title), 1)
|
|
128
|
+
]),
|
|
129
|
+
key: "0"
|
|
130
|
+
} : void 0,
|
|
131
|
+
t.$slots.actions || n.created || n.modified ? {
|
|
132
|
+
name: "actions",
|
|
133
|
+
fn: B(() => [
|
|
134
|
+
_("div", An, [
|
|
135
|
+
n.created || n.modified ? (h(), m("div", {
|
|
136
|
+
key: 0,
|
|
137
|
+
class: ie(["about-section-timestamps", { "has-actions": t.$slots.actions }])
|
|
138
|
+
}, [
|
|
139
|
+
n.created ? (h(), m("span", Nn, J(n.createdLabel || "Created") + ": " + J(n.created), 1)) : C("", !0),
|
|
140
|
+
n.created && n.modified ? (h(), m("span", En, "->")) : C("", !0),
|
|
141
|
+
n.modified ? (h(), m("span", Fn, J(n.modifiedLabel || "Modified") + ": " + J(n.modified), 1)) : C("", !0)
|
|
142
|
+
], 2)) : C("", !0),
|
|
143
|
+
t.$slots.actions ? (h(), m("div", xn, [
|
|
144
|
+
$(t.$slots, "actions", {}, void 0, !0)
|
|
145
|
+
])) : C("", !0)
|
|
146
|
+
])
|
|
147
|
+
]),
|
|
148
|
+
key: "1"
|
|
149
|
+
} : void 0
|
|
150
|
+
]), 1024);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
const Pi = /* @__PURE__ */ ae(Pn, [["__scopeId", "data-v-0bc86cd6"]]), Mn = {}, Zn = {
|
|
59
155
|
fill: "none",
|
|
60
156
|
height: "130",
|
|
61
157
|
width: "130",
|
|
62
158
|
xmlns: "http://www.w3.org/2000/svg"
|
|
63
|
-
},
|
|
64
|
-
|
|
159
|
+
}, jn = /* @__PURE__ */ pn('<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), Kn = [
|
|
160
|
+
jn
|
|
65
161
|
];
|
|
66
|
-
function
|
|
67
|
-
return
|
|
162
|
+
function Hn(n, t) {
|
|
163
|
+
return h(), m("svg", Zn, Kn);
|
|
68
164
|
}
|
|
69
|
-
const
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
], -1)),
|
|
165
|
+
const zn = /* @__PURE__ */ ae(Mn, [["render", Hn]]), zt = (n) => (Ge("data-v-5cbccc66"), n = n(), Ue(), n), Vn = { class: "kong-ui-app-error" }, Gn = { class: "banana-icon" }, Un = { class: "kong-ui-app-error-content" }, Wn = /* @__PURE__ */ zt(() => /* @__PURE__ */ _("h2", null, "An unexpected error has occurred", -1)), qn = /* @__PURE__ */ zt(() => /* @__PURE__ */ _("p", null, [
|
|
166
|
+
/* @__PURE__ */ ct("Go back to the previous page or "),
|
|
167
|
+
/* @__PURE__ */ _("a", { href: "/" }, "return home"),
|
|
168
|
+
/* @__PURE__ */ ct(".")
|
|
169
|
+
], -1)), Yn = /* @__PURE__ */ te({
|
|
74
170
|
__name: "AppError",
|
|
75
171
|
setup(n) {
|
|
76
|
-
return (t, a) => (
|
|
77
|
-
|
|
78
|
-
|
|
172
|
+
return (t, a) => (h(), m("section", Vn, [
|
|
173
|
+
_("div", Gn, [
|
|
174
|
+
Ve(zn)
|
|
79
175
|
]),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
176
|
+
_("div", Un, [
|
|
177
|
+
$(t.$slots, "default", {}, () => [
|
|
178
|
+
Wn,
|
|
179
|
+
qn
|
|
84
180
|
], !0)
|
|
85
181
|
])
|
|
86
182
|
]));
|
|
87
183
|
}
|
|
88
184
|
});
|
|
89
|
-
const
|
|
185
|
+
const Mi = /* @__PURE__ */ ae(Yn, [["__scopeId", "data-v-5cbccc66"]]), Xn = { class: "kong-ui-app-navbar" }, Jn = { class: "header-content" }, Qn = { class: "mobile-header-left" }, er = {
|
|
90
186
|
key: 0,
|
|
91
187
|
class: "app-navbar-logo"
|
|
92
|
-
},
|
|
188
|
+
}, tr = { class: "navbar-content" }, ar = { class: "navbar-content-left" }, nr = { class: "navbar-content-center" }, rr = { class: "navbar-content-right" }, ir = /* @__PURE__ */ te({
|
|
93
189
|
__name: "AppNavbar",
|
|
94
190
|
props: {
|
|
95
191
|
topOffset: {
|
|
@@ -115,44 +211,44 @@ const Ci = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-5cbccc66"]]), Zn = { cl
|
|
|
115
211
|
"892c48d4": l.marginRight,
|
|
116
212
|
"62e3e64e": l.width
|
|
117
213
|
}));
|
|
118
|
-
const a = dt(), r =
|
|
214
|
+
const a = dt(), r = y(() => !!a.logo), l = Le({
|
|
119
215
|
marginRight: "0",
|
|
120
216
|
width: "0"
|
|
121
217
|
});
|
|
122
|
-
|
|
218
|
+
We(() => {
|
|
123
219
|
var o, v;
|
|
124
220
|
(v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (l.marginRight = "32px", l.width = "calc(240px - 32px)") : (l.marginRight = "0", l.width = "0");
|
|
125
221
|
});
|
|
126
|
-
const d =
|
|
222
|
+
const d = y(() => ({
|
|
127
223
|
top: t.topOffset ? `${t.topOffset}px` : "0",
|
|
128
224
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
129
225
|
zIndex: t.zIndex
|
|
130
226
|
}));
|
|
131
|
-
return (o, v) => (
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
227
|
+
return (o, v) => (h(), m("header", Xn, [
|
|
228
|
+
_("div", Jn, [
|
|
229
|
+
_("div", Qn, [
|
|
230
|
+
$(o.$slots, "mobile-sidebar-toggle"),
|
|
231
|
+
$(o.$slots, "mobile-logo")
|
|
136
232
|
]),
|
|
137
|
-
r.value ? (
|
|
138
|
-
|
|
139
|
-
])) :
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
233
|
+
r.value ? (h(), m("div", er, [
|
|
234
|
+
$(o.$slots, "logo")
|
|
235
|
+
])) : C("", !0),
|
|
236
|
+
_("div", tr, [
|
|
237
|
+
_("div", ar, [
|
|
238
|
+
$(o.$slots, "left")
|
|
143
239
|
]),
|
|
144
|
-
|
|
145
|
-
|
|
240
|
+
_("div", nr, [
|
|
241
|
+
$(o.$slots, "center")
|
|
146
242
|
]),
|
|
147
|
-
|
|
148
|
-
|
|
243
|
+
_("div", rr, [
|
|
244
|
+
$(o.$slots, "right")
|
|
149
245
|
])
|
|
150
246
|
])
|
|
151
247
|
])
|
|
152
248
|
]));
|
|
153
249
|
}
|
|
154
250
|
});
|
|
155
|
-
const
|
|
251
|
+
const or = /* @__PURE__ */ ae(ir, [["__scopeId", "data-v-7a2a459a"]]), sr = ["title"], ot = 99, cr = /* @__PURE__ */ te({
|
|
156
252
|
__name: "ItemBadge",
|
|
157
253
|
props: {
|
|
158
254
|
count: {
|
|
@@ -162,21 +258,21 @@ const qn = /* @__PURE__ */ ne(Wn, [["__scopeId", "data-v-7a2a459a"]]), Yn = ["ti
|
|
|
162
258
|
}
|
|
163
259
|
},
|
|
164
260
|
setup(n) {
|
|
165
|
-
const t = n, a =
|
|
166
|
-
return (r, l) => a.value ? (
|
|
261
|
+
const t = n, a = y(() => t.count ? t.count > ot ? `${ot}+` : t.count.toString() : "");
|
|
262
|
+
return (r, l) => a.value ? (h(), m("div", {
|
|
167
263
|
key: 0,
|
|
168
264
|
class: "item-badge",
|
|
169
|
-
title: (n.count || 0) >
|
|
170
|
-
},
|
|
265
|
+
title: (n.count || 0) > ot ? String(n.count) : void 0
|
|
266
|
+
}, J(a.value), 9, sr)) : C("", !0);
|
|
171
267
|
}
|
|
172
268
|
});
|
|
173
|
-
const
|
|
269
|
+
const lr = /* @__PURE__ */ ae(cr, [["__scopeId", "data-v-912b1a1b"]]), ur = ["data-testid"], dr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], fr = {
|
|
174
270
|
key: 0,
|
|
175
271
|
class: "sidebar-item-icon"
|
|
176
|
-
},
|
|
272
|
+
}, vr = { class: "sidebar-item-name-container" }, br = { class: "sidebar-item-name has-tooltip" }, hr = {
|
|
177
273
|
key: 2,
|
|
178
274
|
class: "sidebar-item-label truncate-text truncate-18"
|
|
179
|
-
},
|
|
275
|
+
}, pr = ["id"], mr = /* @__PURE__ */ te({
|
|
180
276
|
__name: "SidebarItem",
|
|
181
277
|
props: {
|
|
182
278
|
item: {
|
|
@@ -190,135 +286,135 @@ const Jn = /* @__PURE__ */ ne(Xn, [["__scopeId", "data-v-912b1a1b"]]), Qn = ["da
|
|
|
190
286
|
},
|
|
191
287
|
emits: ["click"],
|
|
192
288
|
setup(n, { emit: t }) {
|
|
193
|
-
const a = n, r =
|
|
194
|
-
t("click",
|
|
195
|
-
}, v = (
|
|
196
|
-
o(
|
|
289
|
+
const a = n, r = y(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), l = 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("/"))), d = y(() => a.subnavItem && a.item.badgeCount !== void 0), o = (p) => {
|
|
290
|
+
t("click", p);
|
|
291
|
+
}, v = (p, w, x) => {
|
|
292
|
+
o(w), typeof x == "function" && (p.preventDefault(), x());
|
|
197
293
|
};
|
|
198
|
-
return (
|
|
199
|
-
var
|
|
200
|
-
const
|
|
201
|
-
return
|
|
294
|
+
return (p, w) => {
|
|
295
|
+
var I;
|
|
296
|
+
const x = ve("KIcon"), N = ve("KTooltip"), D = ve("SidebarItem", !0);
|
|
297
|
+
return h(), m("li", {
|
|
202
298
|
class: ie([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
|
|
203
299
|
"data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
|
|
204
300
|
}, [
|
|
205
|
-
(
|
|
301
|
+
(h(), Q(mn(r.value ? "div" : "router-link"), {
|
|
206
302
|
custom: r.value ? void 0 : !0,
|
|
207
303
|
to: !r.value && !l.value ? n.item.to : void 0
|
|
208
304
|
}, {
|
|
209
|
-
default:
|
|
305
|
+
default: B((O) => {
|
|
210
306
|
var V, j;
|
|
211
307
|
return [
|
|
212
|
-
|
|
308
|
+
_("a", {
|
|
213
309
|
"aria-controls": (V = n.item.items) != null && V.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
|
|
214
310
|
"aria-expanded": (j = n.item.items) != null && j.length && n.item.expanded ? !0 : void 0,
|
|
215
311
|
class: ie(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !r.value }]),
|
|
216
312
|
href: r.value ? String(n.item.to || "#") : O == null ? void 0 : O.href,
|
|
217
313
|
target: l.value ? "_blank" : void 0,
|
|
218
|
-
onClick: (
|
|
219
|
-
onKeypress: gn((
|
|
314
|
+
onClick: (Z) => v(Z, n.item, O == null ? void 0 : O.navigate),
|
|
315
|
+
onKeypress: gn((Z) => v(Z, n.item, O == null ? void 0 : O.navigate), ["enter"])
|
|
220
316
|
}, [
|
|
221
|
-
|
|
317
|
+
_("div", {
|
|
222
318
|
class: ie(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": d.value }])
|
|
223
319
|
}, [
|
|
224
|
-
n.item.icon ? (
|
|
225
|
-
|
|
320
|
+
n.item.icon ? (h(), m("div", fr, [
|
|
321
|
+
Ve(x, {
|
|
226
322
|
icon: String(n.item.icon),
|
|
227
323
|
size: "20"
|
|
228
324
|
}, null, 8, ["icon"])
|
|
229
|
-
])) :
|
|
230
|
-
|
|
231
|
-
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (
|
|
325
|
+
])) : C("", !0),
|
|
326
|
+
_("div", vr, [
|
|
327
|
+
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (h(), m("div", {
|
|
232
328
|
key: 0,
|
|
233
329
|
class: ie(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
|
|
234
|
-
},
|
|
330
|
+
}, J(n.item.name), 3)) : (h(), Q(N, {
|
|
235
331
|
key: 1,
|
|
236
332
|
class: "sidebar-item-tooltip",
|
|
237
333
|
label: n.item.name,
|
|
238
334
|
placement: "right",
|
|
239
335
|
"position-fixed": ""
|
|
240
336
|
}, {
|
|
241
|
-
default:
|
|
242
|
-
|
|
243
|
-
|
|
337
|
+
default: B(() => [
|
|
338
|
+
_("div", br, [
|
|
339
|
+
_("span", {
|
|
244
340
|
class: ie(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": d.value }]])
|
|
245
|
-
},
|
|
341
|
+
}, J(n.item.name), 3)
|
|
246
342
|
])
|
|
247
343
|
]),
|
|
248
344
|
_: 1
|
|
249
345
|
}, 8, ["label"])),
|
|
250
|
-
n.item.label && n.item.expanded ? (
|
|
346
|
+
n.item.label && n.item.expanded ? (h(), m("div", hr, J(n.item.label), 1)) : C("", !0)
|
|
251
347
|
]),
|
|
252
|
-
d.value ? (
|
|
348
|
+
d.value ? (h(), Q(lr, {
|
|
253
349
|
key: 1,
|
|
254
350
|
count: n.item.badgeCount
|
|
255
|
-
}, null, 8, ["count"])) :
|
|
351
|
+
}, null, 8, ["count"])) : C("", !0)
|
|
256
352
|
], 2)
|
|
257
|
-
], 42,
|
|
353
|
+
], 42, dr)
|
|
258
354
|
];
|
|
259
355
|
}),
|
|
260
356
|
_: 1
|
|
261
357
|
}, 8, ["custom", "to"])),
|
|
262
|
-
(
|
|
358
|
+
(I = n.item.items) != null && I.length && n.item.expanded ? (h(), m("ul", {
|
|
263
359
|
key: 0,
|
|
264
360
|
id: `subnav-${n.item.key}`,
|
|
265
361
|
class: "level-secondary"
|
|
266
362
|
}, [
|
|
267
|
-
(
|
|
363
|
+
(h(!0), m($e, null, Oe(n.item.items, (O) => (h(), Q(D, {
|
|
268
364
|
key: O.name,
|
|
269
365
|
item: O,
|
|
270
366
|
"subnav-item": !0,
|
|
271
367
|
onClick: (V) => o(O)
|
|
272
368
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
273
|
-
], 8,
|
|
274
|
-
], 10,
|
|
369
|
+
], 8, pr)) : C("", !0)
|
|
370
|
+
], 10, ur);
|
|
275
371
|
};
|
|
276
372
|
}
|
|
277
373
|
});
|
|
278
|
-
const Rt = /* @__PURE__ */
|
|
374
|
+
const Rt = /* @__PURE__ */ ae(mr, [["__scopeId", "data-v-859aa5c3"]]);
|
|
279
375
|
/*!
|
|
280
376
|
* tabbable 6.2.0
|
|
281
377
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
282
378
|
*/
|
|
283
|
-
var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"],
|
|
284
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
379
|
+
var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ze = /* @__PURE__ */ Vt.join(","), Gt = typeof Element > "u", be = Gt ? function() {
|
|
380
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, je = !Gt && Element.prototype.getRootNode ? function(n) {
|
|
285
381
|
var t;
|
|
286
382
|
return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
|
|
287
383
|
} : function(n) {
|
|
288
384
|
return n == null ? void 0 : n.ownerDocument;
|
|
289
|
-
},
|
|
385
|
+
}, Ke = function n(t, a) {
|
|
290
386
|
var r;
|
|
291
387
|
a === void 0 && (a = !0);
|
|
292
388
|
var l = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), d = l === "" || l === "true", o = d || a && t && n(t.parentNode);
|
|
293
389
|
return o;
|
|
294
|
-
},
|
|
390
|
+
}, gr = function(t) {
|
|
295
391
|
var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
296
392
|
return r === "" || r === "true";
|
|
297
393
|
}, Ut = function(t, a, r) {
|
|
298
|
-
if (
|
|
394
|
+
if (Ke(t))
|
|
299
395
|
return [];
|
|
300
|
-
var l = Array.prototype.slice.apply(t.querySelectorAll(
|
|
301
|
-
return a &&
|
|
396
|
+
var l = Array.prototype.slice.apply(t.querySelectorAll(Ze));
|
|
397
|
+
return a && be.call(t, Ze) && l.unshift(t), l = l.filter(r), l;
|
|
302
398
|
}, Wt = function n(t, a, r) {
|
|
303
399
|
for (var l = [], d = Array.from(t); d.length; ) {
|
|
304
400
|
var o = d.shift();
|
|
305
|
-
if (!
|
|
401
|
+
if (!Ke(o, !1))
|
|
306
402
|
if (o.tagName === "SLOT") {
|
|
307
|
-
var v = o.assignedElements(),
|
|
308
|
-
r.flatten ? l.push.apply(l,
|
|
403
|
+
var v = o.assignedElements(), p = v.length ? v : o.children, w = n(p, !0, r);
|
|
404
|
+
r.flatten ? l.push.apply(l, w) : l.push({
|
|
309
405
|
scopeParent: o,
|
|
310
|
-
candidates:
|
|
406
|
+
candidates: w
|
|
311
407
|
});
|
|
312
408
|
} else {
|
|
313
|
-
var
|
|
314
|
-
|
|
315
|
-
var
|
|
316
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), D = !
|
|
317
|
-
if (
|
|
318
|
-
var
|
|
319
|
-
r.flatten ? l.push.apply(l,
|
|
409
|
+
var x = be.call(o, Ze);
|
|
410
|
+
x && r.filter(o) && (a || !t.includes(o)) && l.push(o);
|
|
411
|
+
var N = o.shadowRoot || // check for an undisclosed shadow
|
|
412
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), D = !Ke(N, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
|
|
413
|
+
if (N && D) {
|
|
414
|
+
var I = n(N === !0 ? o.children : N.children, !0, r);
|
|
415
|
+
r.flatten ? l.push.apply(l, I) : l.push({
|
|
320
416
|
scopeParent: o,
|
|
321
|
-
candidates:
|
|
417
|
+
candidates: I
|
|
322
418
|
});
|
|
323
419
|
} else
|
|
324
420
|
d.unshift.apply(d, o.children);
|
|
@@ -327,32 +423,32 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
327
423
|
return l;
|
|
328
424
|
}, qt = function(t) {
|
|
329
425
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
330
|
-
},
|
|
426
|
+
}, fe = function(t) {
|
|
331
427
|
if (!t)
|
|
332
428
|
throw new Error("No node provided");
|
|
333
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
334
|
-
},
|
|
335
|
-
var r =
|
|
429
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || gr(t)) && !qt(t) ? 0 : t.tabIndex;
|
|
430
|
+
}, yr = function(t, a) {
|
|
431
|
+
var r = fe(t);
|
|
336
432
|
return r < 0 && a && !qt(t) ? 0 : r;
|
|
337
|
-
},
|
|
433
|
+
}, _r = function(t, a) {
|
|
338
434
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
339
435
|
}, Yt = function(t) {
|
|
340
436
|
return t.tagName === "INPUT";
|
|
341
|
-
},
|
|
437
|
+
}, wr = function(t) {
|
|
342
438
|
return Yt(t) && t.type === "hidden";
|
|
343
|
-
},
|
|
439
|
+
}, Tr = function(t) {
|
|
344
440
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
345
441
|
return r.tagName === "SUMMARY";
|
|
346
442
|
});
|
|
347
443
|
return a;
|
|
348
|
-
},
|
|
444
|
+
}, kr = function(t, a) {
|
|
349
445
|
for (var r = 0; r < t.length; r++)
|
|
350
446
|
if (t[r].checked && t[r].form === a)
|
|
351
447
|
return t[r];
|
|
352
|
-
},
|
|
448
|
+
}, Sr = function(t) {
|
|
353
449
|
if (!t.name)
|
|
354
450
|
return !0;
|
|
355
|
-
var a = t.form ||
|
|
451
|
+
var a = t.form || je(t), r = function(v) {
|
|
356
452
|
return a.querySelectorAll('input[type="radio"][name="' + v + '"]');
|
|
357
453
|
}, l;
|
|
358
454
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -363,57 +459,57 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
363
459
|
} catch (o) {
|
|
364
460
|
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", o.message), !1;
|
|
365
461
|
}
|
|
366
|
-
var d =
|
|
462
|
+
var d = kr(l, t.form);
|
|
367
463
|
return !d || d === t;
|
|
368
|
-
},
|
|
464
|
+
}, Ir = function(t) {
|
|
369
465
|
return Yt(t) && t.type === "radio";
|
|
370
|
-
},
|
|
371
|
-
return
|
|
372
|
-
},
|
|
373
|
-
var a, r = t &&
|
|
466
|
+
}, $r = function(t) {
|
|
467
|
+
return Ir(t) && !Sr(t);
|
|
468
|
+
}, Cr = function(t) {
|
|
469
|
+
var a, r = t && je(t), l = (a = r) === null || a === void 0 ? void 0 : a.host, d = !1;
|
|
374
470
|
if (r && r !== t) {
|
|
375
|
-
var o, v,
|
|
376
|
-
for (d = !!((o = l) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(l) || t != null && (
|
|
377
|
-
var
|
|
378
|
-
r =
|
|
471
|
+
var o, v, p;
|
|
472
|
+
for (d = !!((o = l) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(l) || t != null && (p = t.ownerDocument) !== null && p !== void 0 && p.contains(t)); !d && l; ) {
|
|
473
|
+
var w, x, N;
|
|
474
|
+
r = je(l), l = (w = r) === null || w === void 0 ? void 0 : w.host, d = !!((x = l) !== null && x !== void 0 && (N = x.ownerDocument) !== null && N !== void 0 && N.contains(l));
|
|
379
475
|
}
|
|
380
476
|
}
|
|
381
477
|
return d;
|
|
382
478
|
}, Lt = function(t) {
|
|
383
479
|
var a = t.getBoundingClientRect(), r = a.width, l = a.height;
|
|
384
480
|
return r === 0 && l === 0;
|
|
385
|
-
},
|
|
481
|
+
}, Or = function(t, a) {
|
|
386
482
|
var r = a.displayCheck, l = a.getShadowRoot;
|
|
387
483
|
if (getComputedStyle(t).visibility === "hidden")
|
|
388
484
|
return !0;
|
|
389
|
-
var d =
|
|
390
|
-
if (
|
|
485
|
+
var d = be.call(t, "details>summary:first-of-type"), o = d ? t.parentElement : t;
|
|
486
|
+
if (be.call(o, "details:not([open]) *"))
|
|
391
487
|
return !0;
|
|
392
488
|
if (!r || r === "full" || r === "legacy-full") {
|
|
393
489
|
if (typeof l == "function") {
|
|
394
490
|
for (var v = t; t; ) {
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
491
|
+
var p = t.parentElement, w = je(t);
|
|
492
|
+
if (p && !p.shadowRoot && l(p) === !0)
|
|
397
493
|
return Lt(t);
|
|
398
|
-
t.assignedSlot ? t = t.assignedSlot : !
|
|
494
|
+
t.assignedSlot ? t = t.assignedSlot : !p && w !== t.ownerDocument ? t = w.host : t = p;
|
|
399
495
|
}
|
|
400
496
|
t = v;
|
|
401
497
|
}
|
|
402
|
-
if (
|
|
498
|
+
if (Cr(t))
|
|
403
499
|
return !t.getClientRects().length;
|
|
404
500
|
if (r !== "legacy-full")
|
|
405
501
|
return !0;
|
|
406
502
|
} else if (r === "non-zero-area")
|
|
407
503
|
return Lt(t);
|
|
408
504
|
return !1;
|
|
409
|
-
},
|
|
505
|
+
}, Ar = function(t) {
|
|
410
506
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
411
507
|
for (var a = t.parentElement; a; ) {
|
|
412
508
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
413
509
|
for (var r = 0; r < a.children.length; r++) {
|
|
414
510
|
var l = a.children.item(r);
|
|
415
511
|
if (l.tagName === "LEGEND")
|
|
416
|
-
return
|
|
512
|
+
return be.call(a, "fieldset[disabled] *") ? !0 : !l.contains(t);
|
|
417
513
|
}
|
|
418
514
|
return !0;
|
|
419
515
|
}
|
|
@@ -424,37 +520,37 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
424
520
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
425
521
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
426
522
|
// note related to `candidateSelectors`)
|
|
427
|
-
|
|
428
|
-
|
|
523
|
+
Ke(a) || wr(a) || Or(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
524
|
+
Tr(a) || Ar(a));
|
|
429
525
|
}, lt = function(t, a) {
|
|
430
|
-
return !(
|
|
431
|
-
},
|
|
526
|
+
return !($r(a) || fe(a) < 0 || !He(t, a));
|
|
527
|
+
}, Nr = function(t) {
|
|
432
528
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
433
529
|
return !!(isNaN(a) || a >= 0);
|
|
434
|
-
},
|
|
530
|
+
}, Er = function n(t) {
|
|
435
531
|
var a = [], r = [];
|
|
436
532
|
return t.forEach(function(l, d) {
|
|
437
|
-
var o = !!l.scopeParent, v = o ? l.scopeParent : l,
|
|
438
|
-
|
|
533
|
+
var o = !!l.scopeParent, v = o ? l.scopeParent : l, p = yr(v, o), w = o ? n(l.candidates) : v;
|
|
534
|
+
p === 0 ? o ? a.push.apply(a, w) : a.push(v) : r.push({
|
|
439
535
|
documentOrder: d,
|
|
440
|
-
tabIndex:
|
|
536
|
+
tabIndex: p,
|
|
441
537
|
item: l,
|
|
442
538
|
isScope: o,
|
|
443
|
-
content:
|
|
539
|
+
content: w
|
|
444
540
|
});
|
|
445
|
-
}), r.sort(
|
|
541
|
+
}), r.sort(_r).reduce(function(l, d) {
|
|
446
542
|
return d.isScope ? l.push.apply(l, d.content) : l.push(d.content), l;
|
|
447
543
|
}, []).concat(a);
|
|
448
|
-
},
|
|
544
|
+
}, Fr = function(t, a) {
|
|
449
545
|
a = a || {};
|
|
450
546
|
var r;
|
|
451
547
|
return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
|
|
452
548
|
filter: lt.bind(null, a),
|
|
453
549
|
flatten: !1,
|
|
454
550
|
getShadowRoot: a.getShadowRoot,
|
|
455
|
-
shadowRootFilter:
|
|
456
|
-
}) : r = Ut(t, a.includeContainer, lt.bind(null, a)),
|
|
457
|
-
},
|
|
551
|
+
shadowRootFilter: Nr
|
|
552
|
+
}) : r = Ut(t, a.includeContainer, lt.bind(null, a)), Er(r);
|
|
553
|
+
}, xr = function(t, a) {
|
|
458
554
|
a = a || {};
|
|
459
555
|
var r;
|
|
460
556
|
return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
|
|
@@ -462,14 +558,14 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
462
558
|
flatten: !0,
|
|
463
559
|
getShadowRoot: a.getShadowRoot
|
|
464
560
|
}) : r = Ut(t, a.includeContainer, He.bind(null, a)), r;
|
|
465
|
-
},
|
|
561
|
+
}, _e = function(t, a) {
|
|
466
562
|
if (a = a || {}, !t)
|
|
467
563
|
throw new Error("No node provided");
|
|
468
|
-
return
|
|
469
|
-
},
|
|
564
|
+
return be.call(t, Ze) === !1 ? !1 : lt(a, t);
|
|
565
|
+
}, Dr = /* @__PURE__ */ Vt.concat("iframe").join(","), st = function(t, a) {
|
|
470
566
|
if (a = a || {}, !t)
|
|
471
567
|
throw new Error("No node provided");
|
|
472
|
-
return
|
|
568
|
+
return be.call(t, Dr) === !1 ? !1 : He(a, t);
|
|
473
569
|
};
|
|
474
570
|
/*!
|
|
475
571
|
* focus-trap 7.5.2
|
|
@@ -489,22 +585,22 @@ function Mt(n) {
|
|
|
489
585
|
for (var t = 1; t < arguments.length; t++) {
|
|
490
586
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
491
587
|
t % 2 ? Pt(Object(a), !0).forEach(function(r) {
|
|
492
|
-
|
|
588
|
+
Br(n, r, a[r]);
|
|
493
589
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Pt(Object(a)).forEach(function(r) {
|
|
494
590
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(a, r));
|
|
495
591
|
});
|
|
496
592
|
}
|
|
497
593
|
return n;
|
|
498
594
|
}
|
|
499
|
-
function
|
|
500
|
-
return t =
|
|
595
|
+
function Br(n, t, a) {
|
|
596
|
+
return t = Lr(t), t in n ? Object.defineProperty(n, t, {
|
|
501
597
|
value: a,
|
|
502
598
|
enumerable: !0,
|
|
503
599
|
configurable: !0,
|
|
504
600
|
writable: !0
|
|
505
601
|
}) : n[t] = a, n;
|
|
506
602
|
}
|
|
507
|
-
function
|
|
603
|
+
function Rr(n, t) {
|
|
508
604
|
if (typeof n != "object" || n === null)
|
|
509
605
|
return n;
|
|
510
606
|
var a = n[Symbol.toPrimitive];
|
|
@@ -516,8 +612,8 @@ function Ir(n, t) {
|
|
|
516
612
|
}
|
|
517
613
|
return (t === "string" ? String : Number)(n);
|
|
518
614
|
}
|
|
519
|
-
function
|
|
520
|
-
var t =
|
|
615
|
+
function Lr(n) {
|
|
616
|
+
var t = Rr(n, "string");
|
|
521
617
|
return typeof t == "symbol" ? t : String(t);
|
|
522
618
|
}
|
|
523
619
|
var Zt = {
|
|
@@ -533,19 +629,19 @@ var Zt = {
|
|
|
533
629
|
var r = t.indexOf(a);
|
|
534
630
|
r !== -1 && t.splice(r, 1), t.length > 0 && t[t.length - 1].unpause();
|
|
535
631
|
}
|
|
536
|
-
},
|
|
632
|
+
}, Pr = function(t) {
|
|
537
633
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
538
|
-
},
|
|
634
|
+
}, Mr = function(t) {
|
|
539
635
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
540
636
|
}, Ce = function(t) {
|
|
541
637
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
542
|
-
},
|
|
638
|
+
}, Zr = function(t) {
|
|
543
639
|
return Ce(t) && !t.shiftKey;
|
|
544
|
-
},
|
|
640
|
+
}, jr = function(t) {
|
|
545
641
|
return Ce(t) && t.shiftKey;
|
|
546
642
|
}, jt = function(t) {
|
|
547
643
|
return setTimeout(t, 0);
|
|
548
|
-
},
|
|
644
|
+
}, Kt = function(t, a) {
|
|
549
645
|
var r = -1;
|
|
550
646
|
return t.every(function(l, d) {
|
|
551
647
|
return a(l) ? (r = d, !1) : !0;
|
|
@@ -556,13 +652,13 @@ var Zt = {
|
|
|
556
652
|
return typeof t == "function" ? t.apply(void 0, r) : t;
|
|
557
653
|
}, Be = function(t) {
|
|
558
654
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
559
|
-
},
|
|
560
|
-
var r = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) ||
|
|
655
|
+
}, Kr = [], Hr = function(t, a) {
|
|
656
|
+
var r = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || Kr, d = Mt({
|
|
561
657
|
returnFocusOnDeactivate: !0,
|
|
562
658
|
escapeDeactivates: !0,
|
|
563
659
|
delayInitialFocus: !0,
|
|
564
|
-
isKeyForward:
|
|
565
|
-
isKeyBackward:
|
|
660
|
+
isKeyForward: Zr,
|
|
661
|
+
isKeyBackward: jr
|
|
566
662
|
}, a), o = {
|
|
567
663
|
// containers given to createFocusTrap()
|
|
568
664
|
// @type {Array<HTMLElement>}
|
|
@@ -599,69 +695,69 @@ var Zt = {
|
|
|
599
695
|
delayInitialFocusTimer: void 0,
|
|
600
696
|
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
601
697
|
recentNavEvent: void 0
|
|
602
|
-
}, v,
|
|
698
|
+
}, v, p = function(s, u, f) {
|
|
603
699
|
return s && s[u] !== void 0 ? s[u] : d[f || u];
|
|
604
|
-
},
|
|
700
|
+
}, w = function(s, u) {
|
|
605
701
|
var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
|
|
606
|
-
return o.containerGroups.findIndex(function(
|
|
607
|
-
var
|
|
608
|
-
return
|
|
702
|
+
return o.containerGroups.findIndex(function(g) {
|
|
703
|
+
var k = g.container, E = g.tabbableNodes;
|
|
704
|
+
return k.contains(s) || // fall back to explicit tabbable search which will take into consideration any
|
|
609
705
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
610
706
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
611
707
|
// look inside web components even if open)
|
|
612
|
-
(f == null ? void 0 : f.includes(
|
|
613
|
-
return
|
|
708
|
+
(f == null ? void 0 : f.includes(k)) || E.find(function(F) {
|
|
709
|
+
return F === s;
|
|
614
710
|
});
|
|
615
711
|
});
|
|
616
|
-
},
|
|
712
|
+
}, x = function(s) {
|
|
617
713
|
var u = d[s];
|
|
618
714
|
if (typeof u == "function") {
|
|
619
|
-
for (var f = arguments.length,
|
|
620
|
-
|
|
621
|
-
u = u.apply(void 0,
|
|
715
|
+
for (var f = arguments.length, g = new Array(f > 1 ? f - 1 : 0), k = 1; k < f; k++)
|
|
716
|
+
g[k - 1] = arguments[k];
|
|
717
|
+
u = u.apply(void 0, g);
|
|
622
718
|
}
|
|
623
719
|
if (u === !0 && (u = void 0), !u) {
|
|
624
720
|
if (u === void 0 || u === !1)
|
|
625
721
|
return u;
|
|
626
722
|
throw new Error("`".concat(s, "` was specified but was not a node, or did not return a node"));
|
|
627
723
|
}
|
|
628
|
-
var
|
|
629
|
-
if (typeof u == "string" && (
|
|
724
|
+
var E = u;
|
|
725
|
+
if (typeof u == "string" && (E = r.querySelector(u), !E))
|
|
630
726
|
throw new Error("`".concat(s, "` as selector refers to no known node"));
|
|
631
|
-
return
|
|
632
|
-
},
|
|
633
|
-
var s =
|
|
727
|
+
return E;
|
|
728
|
+
}, N = function() {
|
|
729
|
+
var s = x("initialFocus");
|
|
634
730
|
if (s === !1)
|
|
635
731
|
return !1;
|
|
636
|
-
if (s === void 0 || !
|
|
637
|
-
if (
|
|
732
|
+
if (s === void 0 || !st(s, d.tabbableOptions))
|
|
733
|
+
if (w(r.activeElement) >= 0)
|
|
638
734
|
s = r.activeElement;
|
|
639
735
|
else {
|
|
640
736
|
var u = o.tabbableGroups[0], f = u && u.firstTabbableNode;
|
|
641
|
-
s = f ||
|
|
737
|
+
s = f || x("fallbackFocus");
|
|
642
738
|
}
|
|
643
739
|
if (!s)
|
|
644
740
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
645
741
|
return s;
|
|
646
742
|
}, D = function() {
|
|
647
743
|
if (o.containerGroups = o.containers.map(function(s) {
|
|
648
|
-
var u =
|
|
649
|
-
return
|
|
650
|
-
}),
|
|
651
|
-
return
|
|
652
|
-
}),
|
|
653
|
-
return
|
|
744
|
+
var u = Fr(s, d.tabbableOptions), f = xr(s, d.tabbableOptions), g = u.length > 0 ? u[0] : void 0, k = u.length > 0 ? u[u.length - 1] : void 0, E = f.find(function(R) {
|
|
745
|
+
return _e(R);
|
|
746
|
+
}), F = f.slice().reverse().find(function(R) {
|
|
747
|
+
return _e(R);
|
|
748
|
+
}), M = !!u.find(function(R) {
|
|
749
|
+
return fe(R) > 0;
|
|
654
750
|
});
|
|
655
751
|
return {
|
|
656
752
|
container: s,
|
|
657
753
|
tabbableNodes: u,
|
|
658
754
|
focusableNodes: f,
|
|
659
755
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
660
|
-
posTabIndexesFound:
|
|
756
|
+
posTabIndexesFound: M,
|
|
661
757
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
662
|
-
firstTabbableNode:
|
|
758
|
+
firstTabbableNode: g,
|
|
663
759
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
664
|
-
lastTabbableNode:
|
|
760
|
+
lastTabbableNode: k,
|
|
665
761
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
666
762
|
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
|
667
763
|
// because that API doesn't work with Shadow DOM as well as it should (@see
|
|
@@ -670,9 +766,9 @@ var Zt = {
|
|
|
670
766
|
// "close enough most of the time" alternative for positive tabindexes which should generally
|
|
671
767
|
// be avoided anyway...
|
|
672
768
|
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
673
|
-
firstDomTabbableNode:
|
|
769
|
+
firstDomTabbableNode: E,
|
|
674
770
|
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
675
|
-
lastDomTabbableNode:
|
|
771
|
+
lastDomTabbableNode: F,
|
|
676
772
|
/**
|
|
677
773
|
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
|
678
774
|
* in this container, if any.
|
|
@@ -681,71 +777,71 @@ var Zt = {
|
|
|
681
777
|
* in reverse.
|
|
682
778
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
683
779
|
*/
|
|
684
|
-
nextTabbableNode: function(
|
|
685
|
-
var
|
|
686
|
-
return
|
|
687
|
-
return
|
|
688
|
-
}) : f.slice(0, f.indexOf(
|
|
689
|
-
return
|
|
690
|
-
}) : u[
|
|
780
|
+
nextTabbableNode: function(T) {
|
|
781
|
+
var ce = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, re = u.indexOf(T);
|
|
782
|
+
return re < 0 ? ce ? f.slice(f.indexOf(T) + 1).find(function(K) {
|
|
783
|
+
return _e(K);
|
|
784
|
+
}) : f.slice(0, f.indexOf(T)).reverse().find(function(K) {
|
|
785
|
+
return _e(K);
|
|
786
|
+
}) : u[re + (ce ? 1 : -1)];
|
|
691
787
|
}
|
|
692
788
|
};
|
|
693
789
|
}), o.tabbableGroups = o.containerGroups.filter(function(s) {
|
|
694
790
|
return s.tabbableNodes.length > 0;
|
|
695
|
-
}), o.tabbableGroups.length <= 0 && !
|
|
791
|
+
}), o.tabbableGroups.length <= 0 && !x("fallbackFocus"))
|
|
696
792
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
697
793
|
if (o.containerGroups.find(function(s) {
|
|
698
794
|
return s.posTabIndexesFound;
|
|
699
795
|
}) && o.containerGroups.length > 1)
|
|
700
796
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
701
|
-
},
|
|
797
|
+
}, I = function A(s) {
|
|
702
798
|
if (s !== !1 && s !== r.activeElement) {
|
|
703
799
|
if (!s || !s.focus) {
|
|
704
|
-
|
|
800
|
+
A(N());
|
|
705
801
|
return;
|
|
706
802
|
}
|
|
707
803
|
s.focus({
|
|
708
804
|
preventScroll: !!d.preventScroll
|
|
709
|
-
}), o.mostRecentlyFocusedNode = s,
|
|
805
|
+
}), o.mostRecentlyFocusedNode = s, Pr(s) && s.select();
|
|
710
806
|
}
|
|
711
807
|
}, O = function(s) {
|
|
712
|
-
var u =
|
|
808
|
+
var u = x("setReturnFocus", s);
|
|
713
809
|
return u || (u === !1 ? !1 : s);
|
|
714
810
|
}, V = function(s) {
|
|
715
|
-
var u = s.target, f = s.event,
|
|
811
|
+
var u = s.target, f = s.event, g = s.isBackward, k = g === void 0 ? !1 : g;
|
|
716
812
|
u = u || Be(f), D();
|
|
717
|
-
var
|
|
813
|
+
var E = null;
|
|
718
814
|
if (o.tabbableGroups.length > 0) {
|
|
719
|
-
var
|
|
720
|
-
if (
|
|
721
|
-
|
|
722
|
-
else if (
|
|
723
|
-
var
|
|
724
|
-
var Te =
|
|
815
|
+
var F = w(u, f), M = F >= 0 ? o.containerGroups[F] : void 0;
|
|
816
|
+
if (F < 0)
|
|
817
|
+
k ? E = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : E = o.tabbableGroups[0].firstTabbableNode;
|
|
818
|
+
else if (k) {
|
|
819
|
+
var R = Kt(o.tabbableGroups, function(he) {
|
|
820
|
+
var Te = he.firstTabbableNode;
|
|
725
821
|
return u === Te;
|
|
726
822
|
});
|
|
727
|
-
if (
|
|
728
|
-
var
|
|
729
|
-
|
|
823
|
+
if (R < 0 && (M.container === u || st(u, d.tabbableOptions) && !_e(u, d.tabbableOptions) && !M.nextTabbableNode(u, !1)) && (R = F), R >= 0) {
|
|
824
|
+
var T = R === 0 ? o.tabbableGroups.length - 1 : R - 1, ce = o.tabbableGroups[T];
|
|
825
|
+
E = fe(u) >= 0 ? ce.lastTabbableNode : ce.lastDomTabbableNode;
|
|
730
826
|
} else
|
|
731
|
-
Ce(f) || (
|
|
827
|
+
Ce(f) || (E = M.nextTabbableNode(u, !1));
|
|
732
828
|
} else {
|
|
733
|
-
var
|
|
734
|
-
var Te =
|
|
829
|
+
var re = Kt(o.tabbableGroups, function(he) {
|
|
830
|
+
var Te = he.lastTabbableNode;
|
|
735
831
|
return u === Te;
|
|
736
832
|
});
|
|
737
|
-
if (
|
|
738
|
-
var
|
|
739
|
-
|
|
833
|
+
if (re < 0 && (M.container === u || st(u, d.tabbableOptions) && !_e(u, d.tabbableOptions) && !M.nextTabbableNode(u)) && (re = F), re >= 0) {
|
|
834
|
+
var K = re === o.tabbableGroups.length - 1 ? 0 : re + 1, we = o.tabbableGroups[K];
|
|
835
|
+
E = fe(u) >= 0 ? we.firstTabbableNode : we.firstDomTabbableNode;
|
|
740
836
|
} else
|
|
741
|
-
Ce(f) || (
|
|
837
|
+
Ce(f) || (E = M.nextTabbableNode(u));
|
|
742
838
|
}
|
|
743
839
|
} else
|
|
744
|
-
|
|
745
|
-
return
|
|
840
|
+
E = x("fallbackFocus");
|
|
841
|
+
return E;
|
|
746
842
|
}, j = function(s) {
|
|
747
843
|
var u = Be(s);
|
|
748
|
-
if (!(
|
|
844
|
+
if (!(w(u, s) >= 0)) {
|
|
749
845
|
if (Ie(d.clickOutsideDeactivates, s)) {
|
|
750
846
|
v.deactivate({
|
|
751
847
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
@@ -760,66 +856,66 @@ var Zt = {
|
|
|
760
856
|
}
|
|
761
857
|
Ie(d.allowOutsideClick, s) || s.preventDefault();
|
|
762
858
|
}
|
|
763
|
-
},
|
|
764
|
-
var u = Be(s), f =
|
|
859
|
+
}, Z = function(s) {
|
|
860
|
+
var u = Be(s), f = w(u, s) >= 0;
|
|
765
861
|
if (f || u instanceof Document)
|
|
766
862
|
f && (o.mostRecentlyFocusedNode = u);
|
|
767
863
|
else {
|
|
768
864
|
s.stopImmediatePropagation();
|
|
769
|
-
var
|
|
865
|
+
var g, k = !0;
|
|
770
866
|
if (o.mostRecentlyFocusedNode)
|
|
771
|
-
if (
|
|
772
|
-
var
|
|
773
|
-
if (
|
|
774
|
-
var
|
|
775
|
-
return
|
|
867
|
+
if (fe(o.mostRecentlyFocusedNode) > 0) {
|
|
868
|
+
var E = w(o.mostRecentlyFocusedNode), F = o.containerGroups[E].tabbableNodes;
|
|
869
|
+
if (F.length > 0) {
|
|
870
|
+
var M = F.findIndex(function(R) {
|
|
871
|
+
return R === o.mostRecentlyFocusedNode;
|
|
776
872
|
});
|
|
777
|
-
|
|
873
|
+
M >= 0 && (d.isKeyForward(o.recentNavEvent) ? M + 1 < F.length && (g = F[M + 1], k = !1) : M - 1 >= 0 && (g = F[M - 1], k = !1));
|
|
778
874
|
}
|
|
779
875
|
} else
|
|
780
|
-
o.containerGroups.some(function(
|
|
781
|
-
return
|
|
782
|
-
return
|
|
876
|
+
o.containerGroups.some(function(R) {
|
|
877
|
+
return R.tabbableNodes.some(function(T) {
|
|
878
|
+
return fe(T) > 0;
|
|
783
879
|
});
|
|
784
|
-
}) || (
|
|
880
|
+
}) || (k = !1);
|
|
785
881
|
else
|
|
786
|
-
|
|
787
|
-
|
|
882
|
+
k = !1;
|
|
883
|
+
k && (g = V({
|
|
788
884
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
789
885
|
// outside the trap causing the focus escape we're trying to fix)
|
|
790
886
|
target: o.mostRecentlyFocusedNode,
|
|
791
887
|
isBackward: d.isKeyBackward(o.recentNavEvent)
|
|
792
|
-
})),
|
|
888
|
+
})), I(g || o.mostRecentlyFocusedNode || N());
|
|
793
889
|
}
|
|
794
890
|
o.recentNavEvent = void 0;
|
|
795
|
-
},
|
|
891
|
+
}, ne = function(s) {
|
|
796
892
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
797
893
|
o.recentNavEvent = s;
|
|
798
894
|
var f = V({
|
|
799
895
|
event: s,
|
|
800
896
|
isBackward: u
|
|
801
897
|
});
|
|
802
|
-
f && (Ce(s) && s.preventDefault(),
|
|
898
|
+
f && (Ce(s) && s.preventDefault(), I(f));
|
|
803
899
|
}, G = function(s) {
|
|
804
|
-
if (
|
|
900
|
+
if (Mr(s) && Ie(d.escapeDeactivates, s) !== !1) {
|
|
805
901
|
s.preventDefault(), v.deactivate();
|
|
806
902
|
return;
|
|
807
903
|
}
|
|
808
|
-
(d.isKeyForward(s) || d.isKeyBackward(s)) &&
|
|
809
|
-
},
|
|
904
|
+
(d.isKeyForward(s) || d.isKeyBackward(s)) && ne(s, d.isKeyBackward(s));
|
|
905
|
+
}, S = function(s) {
|
|
810
906
|
var u = Be(s);
|
|
811
|
-
|
|
812
|
-
},
|
|
907
|
+
w(u, s) >= 0 || Ie(d.clickOutsideDeactivates, s) || Ie(d.allowOutsideClick, s) || (s.preventDefault(), s.stopImmediatePropagation());
|
|
908
|
+
}, P = function() {
|
|
813
909
|
if (o.active)
|
|
814
910
|
return Zt.activateTrap(l, v), o.delayInitialFocusTimer = d.delayInitialFocus ? jt(function() {
|
|
815
|
-
|
|
816
|
-
}) :
|
|
911
|
+
I(N());
|
|
912
|
+
}) : I(N()), r.addEventListener("focusin", Z, !0), r.addEventListener("mousedown", j, {
|
|
817
913
|
capture: !0,
|
|
818
914
|
passive: !1
|
|
819
915
|
}), r.addEventListener("touchstart", j, {
|
|
820
916
|
capture: !0,
|
|
821
917
|
passive: !1
|
|
822
|
-
}), r.addEventListener("click",
|
|
918
|
+
}), r.addEventListener("click", S, {
|
|
823
919
|
capture: !0,
|
|
824
920
|
passive: !1
|
|
825
921
|
}), r.addEventListener("keydown", G, {
|
|
@@ -828,16 +924,16 @@ var Zt = {
|
|
|
828
924
|
}), v;
|
|
829
925
|
}, U = function() {
|
|
830
926
|
if (o.active)
|
|
831
|
-
return r.removeEventListener("focusin",
|
|
832
|
-
},
|
|
927
|
+
return r.removeEventListener("focusin", Z, !0), r.removeEventListener("mousedown", j, !0), r.removeEventListener("touchstart", j, !0), r.removeEventListener("click", S, !0), r.removeEventListener("keydown", G, !0), v;
|
|
928
|
+
}, ee = function(s) {
|
|
833
929
|
var u = s.some(function(f) {
|
|
834
|
-
var
|
|
835
|
-
return
|
|
836
|
-
return
|
|
930
|
+
var g = Array.from(f.removedNodes);
|
|
931
|
+
return g.some(function(k) {
|
|
932
|
+
return k === o.mostRecentlyFocusedNode;
|
|
837
933
|
});
|
|
838
934
|
});
|
|
839
|
-
u &&
|
|
840
|
-
}, Y = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(
|
|
935
|
+
u && I(N());
|
|
936
|
+
}, Y = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ee) : void 0, W = function() {
|
|
841
937
|
Y && (Y.disconnect(), o.active && !o.paused && o.containers.map(function(s) {
|
|
842
938
|
Y.observe(s, {
|
|
843
939
|
subtree: !0,
|
|
@@ -855,12 +951,12 @@ var Zt = {
|
|
|
855
951
|
activate: function(s) {
|
|
856
952
|
if (o.active)
|
|
857
953
|
return this;
|
|
858
|
-
var u =
|
|
859
|
-
|
|
860
|
-
var
|
|
861
|
-
|
|
954
|
+
var u = p(s, "onActivate"), f = p(s, "onPostActivate"), g = p(s, "checkCanFocusTrap");
|
|
955
|
+
g || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, u == null || u();
|
|
956
|
+
var k = function() {
|
|
957
|
+
g && D(), P(), W(), f == null || f();
|
|
862
958
|
};
|
|
863
|
-
return
|
|
959
|
+
return g ? (g(o.containers.concat()).then(k, k), this) : (k(), this);
|
|
864
960
|
},
|
|
865
961
|
deactivate: function(s) {
|
|
866
962
|
if (!o.active)
|
|
@@ -871,26 +967,26 @@ var Zt = {
|
|
|
871
967
|
checkCanReturnFocus: d.checkCanReturnFocus
|
|
872
968
|
}, s);
|
|
873
969
|
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, U(), o.active = !1, o.paused = !1, W(), Zt.deactivateTrap(l, v);
|
|
874
|
-
var f =
|
|
970
|
+
var f = p(u, "onDeactivate"), g = p(u, "onPostDeactivate"), k = p(u, "checkCanReturnFocus"), E = p(u, "returnFocus", "returnFocusOnDeactivate");
|
|
875
971
|
f == null || f();
|
|
876
|
-
var
|
|
972
|
+
var F = function() {
|
|
877
973
|
jt(function() {
|
|
878
|
-
|
|
974
|
+
E && I(O(o.nodeFocusedBeforeActivation)), g == null || g();
|
|
879
975
|
});
|
|
880
976
|
};
|
|
881
|
-
return
|
|
977
|
+
return E && k ? (k(O(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
|
|
882
978
|
},
|
|
883
979
|
pause: function(s) {
|
|
884
980
|
if (o.paused || !o.active)
|
|
885
981
|
return this;
|
|
886
|
-
var u =
|
|
982
|
+
var u = p(s, "onPause"), f = p(s, "onPostPause");
|
|
887
983
|
return o.paused = !0, u == null || u(), U(), W(), f == null || f(), this;
|
|
888
984
|
},
|
|
889
985
|
unpause: function(s) {
|
|
890
986
|
if (!o.paused || !o.active)
|
|
891
987
|
return this;
|
|
892
|
-
var u =
|
|
893
|
-
return o.paused = !1, u == null || u(), D(),
|
|
988
|
+
var u = p(s, "onUnpause"), f = p(s, "onPostUnpause");
|
|
989
|
+
return o.paused = !1, u == null || u(), D(), P(), W(), f == null || f(), this;
|
|
894
990
|
},
|
|
895
991
|
updateContainerElements: function(s) {
|
|
896
992
|
var u = [].concat(s).filter(Boolean);
|
|
@@ -905,7 +1001,7 @@ var Zt = {
|
|
|
905
1001
|
* (c) 2023 Eduardo San Martin Morote
|
|
906
1002
|
* @license MIT
|
|
907
1003
|
*/
|
|
908
|
-
const
|
|
1004
|
+
const zr = {
|
|
909
1005
|
escapeDeactivates: {
|
|
910
1006
|
type: Boolean,
|
|
911
1007
|
default: !0
|
|
@@ -931,14 +1027,14 @@ const xr = {
|
|
|
931
1027
|
preventScroll: Boolean,
|
|
932
1028
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
933
1029
|
tabbableOptions: Object
|
|
934
|
-
},
|
|
1030
|
+
}, Vr = te({
|
|
935
1031
|
props: Object.assign({
|
|
936
1032
|
active: {
|
|
937
1033
|
// TODO: could be options for activate but what about the options for deactivating?
|
|
938
1034
|
type: Boolean,
|
|
939
1035
|
default: !0
|
|
940
1036
|
}
|
|
941
|
-
},
|
|
1037
|
+
}, zr),
|
|
942
1038
|
emits: [
|
|
943
1039
|
"update:active",
|
|
944
1040
|
"activate",
|
|
@@ -951,12 +1047,12 @@ const xr = {
|
|
|
951
1047
|
},
|
|
952
1048
|
setup(n, { slots: t, emit: a }) {
|
|
953
1049
|
let r;
|
|
954
|
-
const l = q(null), d =
|
|
1050
|
+
const l = q(null), d = y(() => {
|
|
955
1051
|
const v = l.value;
|
|
956
1052
|
return v && (v instanceof HTMLElement ? v : v.$el);
|
|
957
1053
|
});
|
|
958
1054
|
function o() {
|
|
959
|
-
return r || (r =
|
|
1055
|
+
return r || (r = Hr(d.value, {
|
|
960
1056
|
escapeDeactivates: n.escapeDeactivates,
|
|
961
1057
|
allowOutsideClick: n.allowOutsideClick,
|
|
962
1058
|
returnFocusOnDeactivate: n.returnFocusOnDeactivate,
|
|
@@ -975,8 +1071,8 @@ const xr = {
|
|
|
975
1071
|
delayInitialFocus: n.delayInitialFocus
|
|
976
1072
|
}));
|
|
977
1073
|
}
|
|
978
|
-
return
|
|
979
|
-
|
|
1074
|
+
return We(() => {
|
|
1075
|
+
Me(() => n.active, (v) => {
|
|
980
1076
|
v && d.value ? o().activate() : r && (r.deactivate(), (!d.value || d.value.nodeType === Node.COMMENT_NODE) && (r = null));
|
|
981
1077
|
}, { immediate: !0, flush: "post" });
|
|
982
1078
|
}), yn(() => {
|
|
@@ -991,7 +1087,7 @@ const xr = {
|
|
|
991
1087
|
renderImpl() {
|
|
992
1088
|
if (!t.default)
|
|
993
1089
|
return null;
|
|
994
|
-
const v = t.default().filter((
|
|
1090
|
+
const v = t.default().filter((w) => w.type !== _n);
|
|
995
1091
|
return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : wn(v[0], { ref: l });
|
|
996
1092
|
}
|
|
997
1093
|
};
|
|
@@ -1010,15 +1106,15 @@ function Xt() {
|
|
|
1010
1106
|
};
|
|
1011
1107
|
}
|
|
1012
1108
|
var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1013
|
-
function
|
|
1109
|
+
function Gr(n) {
|
|
1014
1110
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1015
1111
|
}
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1112
|
+
var ze = { exports: {} };
|
|
1113
|
+
ze.exports;
|
|
1018
1114
|
(function(n, t) {
|
|
1019
|
-
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]",
|
|
1020
|
-
|
|
1021
|
-
var
|
|
1115
|
+
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", p = "[object Date]", w = "[object Error]", x = "[object Function]", N = "[object GeneratorFunction]", D = "[object Map]", I = "[object Number]", O = "[object Object]", V = "[object Promise]", j = "[object RegExp]", Z = "[object Set]", ne = "[object String]", G = "[object Symbol]", S = "[object WeakMap]", P = "[object ArrayBuffer]", U = "[object DataView]", ee = "[object Float32Array]", Y = "[object Float64Array]", W = "[object Int8Array]", A = "[object Int16Array]", s = "[object Int32Array]", u = "[object Uint8Array]", f = "[object Uint8ClampedArray]", g = "[object Uint16Array]", k = "[object Uint32Array]", E = /[\\^$.*+?()[\]{}|]/g, F = /\w*$/, M = /^\[object .+?Constructor\]$/, R = /^(?:0|[1-9]\d*)$/, T = {};
|
|
1116
|
+
T[d] = T[o] = T[P] = T[U] = T[v] = T[p] = T[ee] = T[Y] = T[W] = T[A] = T[s] = T[D] = T[I] = T[O] = T[j] = T[Z] = T[ne] = T[G] = T[u] = T[f] = T[g] = T[k] = !0, T[w] = T[x] = T[S] = !1;
|
|
1117
|
+
var ce = typeof Re == "object" && Re && Re.Object === Object && Re, re = typeof self == "object" && self && self.Object === Object && self, K = ce || re || Function("return this")(), we = t && !t.nodeType && t, he = we && !0 && n && !n.nodeType && n, Te = he && he.exports === we;
|
|
1022
1118
|
function Jt(e, i) {
|
|
1023
1119
|
return e.set(i[0], i[1]), e;
|
|
1024
1120
|
}
|
|
@@ -1031,14 +1127,14 @@ Ke.exports;
|
|
|
1031
1127
|
return e;
|
|
1032
1128
|
}
|
|
1033
1129
|
function ta(e, i) {
|
|
1034
|
-
for (var c = -1, b = i.length,
|
|
1035
|
-
e[
|
|
1130
|
+
for (var c = -1, b = i.length, L = e.length; ++c < b; )
|
|
1131
|
+
e[L + c] = i[c];
|
|
1036
1132
|
return e;
|
|
1037
1133
|
}
|
|
1038
1134
|
function vt(e, i, c, b) {
|
|
1039
|
-
var
|
|
1040
|
-
for (b &&
|
|
1041
|
-
c = i(c, e[
|
|
1135
|
+
var L = -1, H = e ? e.length : 0;
|
|
1136
|
+
for (b && H && (c = e[++L]); ++L < H; )
|
|
1137
|
+
c = i(c, e[L], L, e);
|
|
1042
1138
|
return c;
|
|
1043
1139
|
}
|
|
1044
1140
|
function aa(e, i) {
|
|
@@ -1060,11 +1156,11 @@ Ke.exports;
|
|
|
1060
1156
|
}
|
|
1061
1157
|
function ht(e) {
|
|
1062
1158
|
var i = -1, c = Array(e.size);
|
|
1063
|
-
return e.forEach(function(b,
|
|
1064
|
-
c[++i] = [
|
|
1159
|
+
return e.forEach(function(b, L) {
|
|
1160
|
+
c[++i] = [L, b];
|
|
1065
1161
|
}), c;
|
|
1066
1162
|
}
|
|
1067
|
-
function
|
|
1163
|
+
function qe(e, i) {
|
|
1068
1164
|
return function(c) {
|
|
1069
1165
|
return e(i(c));
|
|
1070
1166
|
};
|
|
@@ -1075,13 +1171,13 @@ Ke.exports;
|
|
|
1075
1171
|
c[++i] = b;
|
|
1076
1172
|
}), c;
|
|
1077
1173
|
}
|
|
1078
|
-
var ra = Array.prototype, ia = Function.prototype,
|
|
1079
|
-
var e = /[^.]+$/.exec(
|
|
1174
|
+
var ra = Array.prototype, ia = Function.prototype, Ae = Object.prototype, Ye = K["__core-js_shared__"], mt = function() {
|
|
1175
|
+
var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
|
|
1080
1176
|
return e ? "Symbol(src)_1." + e : "";
|
|
1081
|
-
}(), gt = ia.toString,
|
|
1082
|
-
"^" + gt.call(
|
|
1083
|
-
), yt = Te ?
|
|
1084
|
-
function
|
|
1177
|
+
}(), gt = ia.toString, se = Ae.hasOwnProperty, Ne = Ae.toString, oa = RegExp(
|
|
1178
|
+
"^" + gt.call(se).replace(E, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1179
|
+
), yt = Te ? K.Buffer : void 0, _t = K.Symbol, wt = K.Uint8Array, sa = qe(Object.getPrototypeOf, Object), ca = Object.create, la = Ae.propertyIsEnumerable, ua = ra.splice, Tt = Object.getOwnPropertySymbols, da = yt ? yt.isBuffer : void 0, fa = qe(Object.keys, Object), Xe = ge(K, "DataView"), ke = ge(K, "Map"), Je = ge(K, "Promise"), Qe = ge(K, "Set"), et = ge(K, "WeakMap"), Se = ge(Object, "create"), va = de(Xe), ba = de(ke), ha = de(Je), pa = de(Qe), ma = de(et), kt = _t ? _t.prototype : void 0, St = kt ? kt.valueOf : void 0;
|
|
1180
|
+
function le(e) {
|
|
1085
1181
|
var i = -1, c = e ? e.length : 0;
|
|
1086
1182
|
for (this.clear(); ++i < c; ) {
|
|
1087
1183
|
var b = e[i];
|
|
@@ -1100,18 +1196,18 @@ Ke.exports;
|
|
|
1100
1196
|
var c = i[e];
|
|
1101
1197
|
return c === r ? void 0 : c;
|
|
1102
1198
|
}
|
|
1103
|
-
return
|
|
1199
|
+
return se.call(i, e) ? i[e] : void 0;
|
|
1104
1200
|
}
|
|
1105
1201
|
function wa(e) {
|
|
1106
1202
|
var i = this.__data__;
|
|
1107
|
-
return Se ? i[e] !== void 0 :
|
|
1203
|
+
return Se ? i[e] !== void 0 : se.call(i, e);
|
|
1108
1204
|
}
|
|
1109
1205
|
function Ta(e, i) {
|
|
1110
1206
|
var c = this.__data__;
|
|
1111
1207
|
return c[e] = Se && i === void 0 ? r : i, this;
|
|
1112
1208
|
}
|
|
1113
|
-
|
|
1114
|
-
function
|
|
1209
|
+
le.prototype.clear = ga, le.prototype.delete = ya, le.prototype.get = _a, le.prototype.has = wa, le.prototype.set = Ta;
|
|
1210
|
+
function oe(e) {
|
|
1115
1211
|
var i = -1, c = e ? e.length : 0;
|
|
1116
1212
|
for (this.clear(); ++i < c; ) {
|
|
1117
1213
|
var b = e[i];
|
|
@@ -1132,32 +1228,32 @@ Ke.exports;
|
|
|
1132
1228
|
var i = this.__data__, c = Ee(i, e);
|
|
1133
1229
|
return c < 0 ? void 0 : i[c][1];
|
|
1134
1230
|
}
|
|
1135
|
-
function
|
|
1231
|
+
function $a(e) {
|
|
1136
1232
|
return Ee(this.__data__, e) > -1;
|
|
1137
1233
|
}
|
|
1138
1234
|
function Ca(e, i) {
|
|
1139
1235
|
var c = this.__data__, b = Ee(c, e);
|
|
1140
1236
|
return b < 0 ? c.push([e, i]) : c[b][1] = i, this;
|
|
1141
1237
|
}
|
|
1142
|
-
|
|
1143
|
-
function
|
|
1238
|
+
oe.prototype.clear = ka, oe.prototype.delete = Sa, oe.prototype.get = Ia, oe.prototype.has = $a, oe.prototype.set = Ca;
|
|
1239
|
+
function pe(e) {
|
|
1144
1240
|
var i = -1, c = e ? e.length : 0;
|
|
1145
1241
|
for (this.clear(); ++i < c; ) {
|
|
1146
1242
|
var b = e[i];
|
|
1147
1243
|
this.set(b[0], b[1]);
|
|
1148
1244
|
}
|
|
1149
1245
|
}
|
|
1150
|
-
function
|
|
1246
|
+
function Oa() {
|
|
1151
1247
|
this.__data__ = {
|
|
1152
|
-
hash: new
|
|
1153
|
-
map: new (ke ||
|
|
1154
|
-
string: new
|
|
1248
|
+
hash: new le(),
|
|
1249
|
+
map: new (ke || oe)(),
|
|
1250
|
+
string: new le()
|
|
1155
1251
|
};
|
|
1156
1252
|
}
|
|
1157
|
-
function
|
|
1253
|
+
function Aa(e) {
|
|
1158
1254
|
return Fe(this, e).delete(e);
|
|
1159
1255
|
}
|
|
1160
|
-
function
|
|
1256
|
+
function Na(e) {
|
|
1161
1257
|
return Fe(this, e).get(e);
|
|
1162
1258
|
}
|
|
1163
1259
|
function Ea(e) {
|
|
@@ -1166,12 +1262,12 @@ Ke.exports;
|
|
|
1166
1262
|
function Fa(e, i) {
|
|
1167
1263
|
return Fe(this, e).set(e, i), this;
|
|
1168
1264
|
}
|
|
1169
|
-
|
|
1170
|
-
function
|
|
1171
|
-
this.__data__ = new
|
|
1265
|
+
pe.prototype.clear = Oa, pe.prototype.delete = Aa, pe.prototype.get = Na, pe.prototype.has = Ea, pe.prototype.set = Fa;
|
|
1266
|
+
function me(e) {
|
|
1267
|
+
this.__data__ = new oe(e);
|
|
1172
1268
|
}
|
|
1173
1269
|
function xa() {
|
|
1174
|
-
this.__data__ = new
|
|
1270
|
+
this.__data__ = new oe();
|
|
1175
1271
|
}
|
|
1176
1272
|
function Da(e) {
|
|
1177
1273
|
return this.__data__.delete(e);
|
|
@@ -1184,67 +1280,67 @@ Ke.exports;
|
|
|
1184
1280
|
}
|
|
1185
1281
|
function La(e, i) {
|
|
1186
1282
|
var c = this.__data__;
|
|
1187
|
-
if (c instanceof
|
|
1283
|
+
if (c instanceof oe) {
|
|
1188
1284
|
var b = c.__data__;
|
|
1189
1285
|
if (!ke || b.length < a - 1)
|
|
1190
1286
|
return b.push([e, i]), this;
|
|
1191
|
-
c = this.__data__ = new
|
|
1287
|
+
c = this.__data__ = new pe(b);
|
|
1192
1288
|
}
|
|
1193
1289
|
return c.set(e, i), this;
|
|
1194
1290
|
}
|
|
1195
|
-
|
|
1291
|
+
me.prototype.clear = xa, me.prototype.delete = Da, me.prototype.get = Ba, me.prototype.has = Ra, me.prototype.set = La;
|
|
1196
1292
|
function Pa(e, i) {
|
|
1197
|
-
var c =
|
|
1198
|
-
for (var
|
|
1199
|
-
(i ||
|
|
1293
|
+
var c = nt(e) || ln(e) ? aa(e.length, String) : [], b = c.length, L = !!b;
|
|
1294
|
+
for (var H in e)
|
|
1295
|
+
(i || se.call(e, H)) && !(L && (H == "length" || rn(H, b))) && c.push(H);
|
|
1200
1296
|
return c;
|
|
1201
1297
|
}
|
|
1202
1298
|
function It(e, i, c) {
|
|
1203
1299
|
var b = e[i];
|
|
1204
|
-
(!(
|
|
1300
|
+
(!(se.call(e, i) && At(b, c)) || c === void 0 && !(i in e)) && (e[i] = c);
|
|
1205
1301
|
}
|
|
1206
1302
|
function Ee(e, i) {
|
|
1207
1303
|
for (var c = e.length; c--; )
|
|
1208
|
-
if (
|
|
1304
|
+
if (At(e[c][0], i))
|
|
1209
1305
|
return c;
|
|
1210
1306
|
return -1;
|
|
1211
1307
|
}
|
|
1212
1308
|
function Ma(e, i) {
|
|
1213
|
-
return e &&
|
|
1309
|
+
return e && $t(i, rt(i), e);
|
|
1214
1310
|
}
|
|
1215
|
-
function
|
|
1311
|
+
function tt(e, i, c, b, L, H, X) {
|
|
1216
1312
|
var z;
|
|
1217
|
-
if (b && (z =
|
|
1313
|
+
if (b && (z = H ? b(e, L, H, X) : b(e)), z !== void 0)
|
|
1218
1314
|
return z;
|
|
1219
1315
|
if (!xe(e))
|
|
1220
1316
|
return e;
|
|
1221
|
-
var Ft =
|
|
1317
|
+
var Ft = nt(e);
|
|
1222
1318
|
if (Ft) {
|
|
1223
1319
|
if (z = tn(e), !i)
|
|
1224
1320
|
return Ja(e, z);
|
|
1225
1321
|
} else {
|
|
1226
|
-
var
|
|
1322
|
+
var ye = ue(e), xt = ye == x || ye == N;
|
|
1227
1323
|
if (dn(e))
|
|
1228
1324
|
return Va(e, i);
|
|
1229
|
-
if (
|
|
1325
|
+
if (ye == O || ye == d || xt && !H) {
|
|
1230
1326
|
if (bt(e))
|
|
1231
|
-
return
|
|
1327
|
+
return H ? e : {};
|
|
1232
1328
|
if (z = an(xt ? {} : e), !i)
|
|
1233
1329
|
return Qa(e, Ma(z, e));
|
|
1234
1330
|
} else {
|
|
1235
|
-
if (!
|
|
1236
|
-
return
|
|
1237
|
-
z = nn(e,
|
|
1331
|
+
if (!T[ye])
|
|
1332
|
+
return H ? e : {};
|
|
1333
|
+
z = nn(e, ye, tt, i);
|
|
1238
1334
|
}
|
|
1239
1335
|
}
|
|
1240
|
-
X || (X = new
|
|
1336
|
+
X || (X = new me());
|
|
1241
1337
|
var Dt = X.get(e);
|
|
1242
1338
|
if (Dt)
|
|
1243
1339
|
return Dt;
|
|
1244
1340
|
if (X.set(e, z), !Ft)
|
|
1245
|
-
var Bt = c ? en(e) :
|
|
1246
|
-
return ea(Bt || e, function(
|
|
1247
|
-
Bt && (De =
|
|
1341
|
+
var Bt = c ? en(e) : rt(e);
|
|
1342
|
+
return ea(Bt || e, function(it, De) {
|
|
1343
|
+
Bt && (De = it, it = e[De]), It(z, De, tt(it, i, c, b, De, e, X));
|
|
1248
1344
|
}), z;
|
|
1249
1345
|
}
|
|
1250
1346
|
function Za(e) {
|
|
@@ -1252,23 +1348,23 @@ Ke.exports;
|
|
|
1252
1348
|
}
|
|
1253
1349
|
function ja(e, i, c) {
|
|
1254
1350
|
var b = i(e);
|
|
1255
|
-
return
|
|
1256
|
-
}
|
|
1257
|
-
function Ha(e) {
|
|
1258
|
-
return Ae.call(e);
|
|
1351
|
+
return nt(e) ? b : ta(b, c(e));
|
|
1259
1352
|
}
|
|
1260
1353
|
function Ka(e) {
|
|
1354
|
+
return Ne.call(e);
|
|
1355
|
+
}
|
|
1356
|
+
function Ha(e) {
|
|
1261
1357
|
if (!xe(e) || sn(e))
|
|
1262
1358
|
return !1;
|
|
1263
|
-
var i = Et(e) || bt(e) ? oa :
|
|
1264
|
-
return i.test(
|
|
1359
|
+
var i = Et(e) || bt(e) ? oa : M;
|
|
1360
|
+
return i.test(de(e));
|
|
1265
1361
|
}
|
|
1266
1362
|
function za(e) {
|
|
1267
|
-
if (!
|
|
1363
|
+
if (!Ot(e))
|
|
1268
1364
|
return fa(e);
|
|
1269
1365
|
var i = [];
|
|
1270
1366
|
for (var c in Object(e))
|
|
1271
|
-
|
|
1367
|
+
se.call(e, c) && c != "constructor" && i.push(c);
|
|
1272
1368
|
return i;
|
|
1273
1369
|
}
|
|
1274
1370
|
function Va(e, i) {
|
|
@@ -1277,12 +1373,12 @@ Ke.exports;
|
|
|
1277
1373
|
var c = new e.constructor(e.length);
|
|
1278
1374
|
return e.copy(c), c;
|
|
1279
1375
|
}
|
|
1280
|
-
function
|
|
1376
|
+
function at(e) {
|
|
1281
1377
|
var i = new e.constructor(e.byteLength);
|
|
1282
1378
|
return new wt(i).set(new wt(e)), i;
|
|
1283
1379
|
}
|
|
1284
1380
|
function Ga(e, i) {
|
|
1285
|
-
var c = i ?
|
|
1381
|
+
var c = i ? at(e.buffer) : e.buffer;
|
|
1286
1382
|
return new e.constructor(c, e.byteOffset, e.byteLength);
|
|
1287
1383
|
}
|
|
1288
1384
|
function Ua(e, i, c) {
|
|
@@ -1290,7 +1386,7 @@ Ke.exports;
|
|
|
1290
1386
|
return vt(b, Jt, new e.constructor());
|
|
1291
1387
|
}
|
|
1292
1388
|
function Wa(e) {
|
|
1293
|
-
var i = new e.constructor(e.source,
|
|
1389
|
+
var i = new e.constructor(e.source, F.exec(e));
|
|
1294
1390
|
return i.lastIndex = e.lastIndex, i;
|
|
1295
1391
|
}
|
|
1296
1392
|
function qa(e, i, c) {
|
|
@@ -1301,7 +1397,7 @@ Ke.exports;
|
|
|
1301
1397
|
return St ? Object(St.call(e)) : {};
|
|
1302
1398
|
}
|
|
1303
1399
|
function Xa(e, i) {
|
|
1304
|
-
var c = i ?
|
|
1400
|
+
var c = i ? at(e.buffer) : e.buffer;
|
|
1305
1401
|
return new e.constructor(c, e.byteOffset, e.length);
|
|
1306
1402
|
}
|
|
1307
1403
|
function Ja(e, i) {
|
|
@@ -1310,31 +1406,31 @@ Ke.exports;
|
|
|
1310
1406
|
i[c] = e[c];
|
|
1311
1407
|
return i;
|
|
1312
1408
|
}
|
|
1313
|
-
function
|
|
1409
|
+
function $t(e, i, c, b) {
|
|
1314
1410
|
c || (c = {});
|
|
1315
|
-
for (var
|
|
1316
|
-
var X = i[
|
|
1411
|
+
for (var L = -1, H = i.length; ++L < H; ) {
|
|
1412
|
+
var X = i[L], z = b ? b(c[X], e[X], X, c, e) : void 0;
|
|
1317
1413
|
It(c, X, z === void 0 ? e[X] : z);
|
|
1318
1414
|
}
|
|
1319
1415
|
return c;
|
|
1320
1416
|
}
|
|
1321
1417
|
function Qa(e, i) {
|
|
1322
|
-
return
|
|
1418
|
+
return $t(e, Ct(e), i);
|
|
1323
1419
|
}
|
|
1324
1420
|
function en(e) {
|
|
1325
|
-
return ja(e,
|
|
1421
|
+
return ja(e, rt, Ct);
|
|
1326
1422
|
}
|
|
1327
1423
|
function Fe(e, i) {
|
|
1328
1424
|
var c = e.__data__;
|
|
1329
1425
|
return on(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
|
|
1330
1426
|
}
|
|
1331
|
-
function
|
|
1427
|
+
function ge(e, i) {
|
|
1332
1428
|
var c = na(e, i);
|
|
1333
|
-
return
|
|
1429
|
+
return Ha(c) ? c : void 0;
|
|
1334
1430
|
}
|
|
1335
|
-
var Ct = Tt ?
|
|
1336
|
-
(
|
|
1337
|
-
var i =
|
|
1431
|
+
var Ct = Tt ? qe(Tt, Object) : bn, ue = Ka;
|
|
1432
|
+
(Xe && ue(new Xe(new ArrayBuffer(1))) != U || ke && ue(new ke()) != D || Je && ue(Je.resolve()) != V || Qe && ue(new Qe()) != Z || et && ue(new et()) != S) && (ue = function(e) {
|
|
1433
|
+
var i = Ne.call(e), c = i == O ? e.constructor : void 0, b = c ? de(c) : void 0;
|
|
1338
1434
|
if (b)
|
|
1339
1435
|
switch (b) {
|
|
1340
1436
|
case va:
|
|
@@ -1344,54 +1440,54 @@ Ke.exports;
|
|
|
1344
1440
|
case ha:
|
|
1345
1441
|
return V;
|
|
1346
1442
|
case pa:
|
|
1347
|
-
return
|
|
1443
|
+
return Z;
|
|
1348
1444
|
case ma:
|
|
1349
|
-
return
|
|
1445
|
+
return S;
|
|
1350
1446
|
}
|
|
1351
1447
|
return i;
|
|
1352
1448
|
});
|
|
1353
1449
|
function tn(e) {
|
|
1354
1450
|
var i = e.length, c = e.constructor(i);
|
|
1355
|
-
return i && typeof e[0] == "string" &&
|
|
1451
|
+
return i && typeof e[0] == "string" && se.call(e, "index") && (c.index = e.index, c.input = e.input), c;
|
|
1356
1452
|
}
|
|
1357
1453
|
function an(e) {
|
|
1358
|
-
return typeof e.constructor == "function" && !
|
|
1454
|
+
return typeof e.constructor == "function" && !Ot(e) ? Za(sa(e)) : {};
|
|
1359
1455
|
}
|
|
1360
1456
|
function nn(e, i, c, b) {
|
|
1361
|
-
var
|
|
1457
|
+
var L = e.constructor;
|
|
1362
1458
|
switch (i) {
|
|
1363
|
-
case
|
|
1364
|
-
return
|
|
1459
|
+
case P:
|
|
1460
|
+
return at(e);
|
|
1365
1461
|
case v:
|
|
1366
|
-
case
|
|
1367
|
-
return new
|
|
1462
|
+
case p:
|
|
1463
|
+
return new L(+e);
|
|
1368
1464
|
case U:
|
|
1369
1465
|
return Ga(e, b);
|
|
1370
|
-
case
|
|
1466
|
+
case ee:
|
|
1371
1467
|
case Y:
|
|
1372
1468
|
case W:
|
|
1373
|
-
case
|
|
1469
|
+
case A:
|
|
1374
1470
|
case s:
|
|
1375
1471
|
case u:
|
|
1376
1472
|
case f:
|
|
1377
|
-
case
|
|
1378
|
-
case
|
|
1473
|
+
case g:
|
|
1474
|
+
case k:
|
|
1379
1475
|
return Xa(e, b);
|
|
1380
1476
|
case D:
|
|
1381
1477
|
return Ua(e, b, c);
|
|
1382
|
-
case
|
|
1383
|
-
case
|
|
1384
|
-
return new
|
|
1478
|
+
case I:
|
|
1479
|
+
case ne:
|
|
1480
|
+
return new L(e);
|
|
1385
1481
|
case j:
|
|
1386
1482
|
return Wa(e);
|
|
1387
|
-
case
|
|
1483
|
+
case Z:
|
|
1388
1484
|
return qa(e, b, c);
|
|
1389
1485
|
case G:
|
|
1390
1486
|
return Ya(e);
|
|
1391
1487
|
}
|
|
1392
1488
|
}
|
|
1393
1489
|
function rn(e, i) {
|
|
1394
|
-
return i = i ?? l, !!i && (typeof e == "number" ||
|
|
1490
|
+
return i = i ?? l, !!i && (typeof e == "number" || R.test(e)) && e > -1 && e % 1 == 0 && e < i;
|
|
1395
1491
|
}
|
|
1396
1492
|
function on(e) {
|
|
1397
1493
|
var i = typeof e;
|
|
@@ -1400,11 +1496,11 @@ Ke.exports;
|
|
|
1400
1496
|
function sn(e) {
|
|
1401
1497
|
return !!mt && mt in e;
|
|
1402
1498
|
}
|
|
1403
|
-
function
|
|
1404
|
-
var i = e && e.constructor, c = typeof i == "function" && i.prototype ||
|
|
1499
|
+
function Ot(e) {
|
|
1500
|
+
var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ae;
|
|
1405
1501
|
return e === c;
|
|
1406
1502
|
}
|
|
1407
|
-
function
|
|
1503
|
+
function de(e) {
|
|
1408
1504
|
if (e != null) {
|
|
1409
1505
|
try {
|
|
1410
1506
|
return gt.call(e);
|
|
@@ -1418,25 +1514,25 @@ Ke.exports;
|
|
|
1418
1514
|
return "";
|
|
1419
1515
|
}
|
|
1420
1516
|
function cn(e) {
|
|
1421
|
-
return
|
|
1517
|
+
return tt(e, !0, !0);
|
|
1422
1518
|
}
|
|
1423
|
-
function
|
|
1519
|
+
function At(e, i) {
|
|
1424
1520
|
return e === i || e !== e && i !== i;
|
|
1425
1521
|
}
|
|
1426
1522
|
function ln(e) {
|
|
1427
|
-
return un(e) &&
|
|
1523
|
+
return un(e) && se.call(e, "callee") && (!la.call(e, "callee") || Ne.call(e) == d);
|
|
1428
1524
|
}
|
|
1429
|
-
var
|
|
1430
|
-
function
|
|
1525
|
+
var nt = Array.isArray;
|
|
1526
|
+
function Nt(e) {
|
|
1431
1527
|
return e != null && fn(e.length) && !Et(e);
|
|
1432
1528
|
}
|
|
1433
1529
|
function un(e) {
|
|
1434
|
-
return vn(e) &&
|
|
1530
|
+
return vn(e) && Nt(e);
|
|
1435
1531
|
}
|
|
1436
1532
|
var dn = da || hn;
|
|
1437
1533
|
function Et(e) {
|
|
1438
|
-
var i = xe(e) ?
|
|
1439
|
-
return i ==
|
|
1534
|
+
var i = xe(e) ? Ne.call(e) : "";
|
|
1535
|
+
return i == x || i == N;
|
|
1440
1536
|
}
|
|
1441
1537
|
function fn(e) {
|
|
1442
1538
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
|
|
@@ -1448,8 +1544,8 @@ Ke.exports;
|
|
|
1448
1544
|
function vn(e) {
|
|
1449
1545
|
return !!e && typeof e == "object";
|
|
1450
1546
|
}
|
|
1451
|
-
function
|
|
1452
|
-
return
|
|
1547
|
+
function rt(e) {
|
|
1548
|
+
return Nt(e) ? Pa(e) : za(e);
|
|
1453
1549
|
}
|
|
1454
1550
|
function bn() {
|
|
1455
1551
|
return [];
|
|
@@ -1458,25 +1554,25 @@ Ke.exports;
|
|
|
1458
1554
|
return !1;
|
|
1459
1555
|
}
|
|
1460
1556
|
n.exports = cn;
|
|
1461
|
-
})(
|
|
1462
|
-
var
|
|
1463
|
-
const
|
|
1557
|
+
})(ze, ze.exports);
|
|
1558
|
+
var Ur = ze.exports;
|
|
1559
|
+
const Wr = /* @__PURE__ */ Gr(Ur), qr = {
|
|
1464
1560
|
key: 0,
|
|
1465
1561
|
class: "sidebar-header"
|
|
1466
|
-
},
|
|
1562
|
+
}, Yr = { class: "sidebar-content-container" }, Xr = {
|
|
1467
1563
|
key: 0,
|
|
1468
1564
|
class: "sidebar-top"
|
|
1469
|
-
},
|
|
1565
|
+
}, Jr = { "aria-label": "Main menu" }, Qr = {
|
|
1470
1566
|
key: 0,
|
|
1471
1567
|
class: "level-primary top-items"
|
|
1472
|
-
},
|
|
1568
|
+
}, ei = {
|
|
1473
1569
|
key: 1,
|
|
1474
1570
|
class: "sidebar-level-divider",
|
|
1475
1571
|
role: "separator"
|
|
1476
|
-
},
|
|
1572
|
+
}, ti = {
|
|
1477
1573
|
key: 2,
|
|
1478
1574
|
class: "level-primary bottom-items"
|
|
1479
|
-
},
|
|
1575
|
+
}, ai = { class: "sidebar-footer" }, ni = /* @__PURE__ */ te({
|
|
1480
1576
|
__name: "AppSidebar",
|
|
1481
1577
|
props: {
|
|
1482
1578
|
topItems: {
|
|
@@ -1542,111 +1638,111 @@ const Lr = /* @__PURE__ */ Br(Rr), Pr = {
|
|
|
1542
1638
|
bff1d830: n.zIndex,
|
|
1543
1639
|
"2c1e7484": o.value.height,
|
|
1544
1640
|
"68c4ac1e": o.value.top,
|
|
1545
|
-
cf2fa71c:
|
|
1641
|
+
cf2fa71c: p.value.marginTop,
|
|
1546
1642
|
f12a684c: v.value.display,
|
|
1547
1643
|
"412eeb31": v.value.minHeight,
|
|
1548
|
-
"290c7a2d":
|
|
1549
|
-
"29b826c0":
|
|
1644
|
+
"290c7a2d": w.value.top,
|
|
1645
|
+
"29b826c0": w.value.zIndex
|
|
1550
1646
|
}));
|
|
1551
|
-
const r = dt(), l =
|
|
1647
|
+
const r = dt(), l = y(() => !!r.header), d = y(() => !!r.top), o = y(() => ({
|
|
1552
1648
|
mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
|
|
1553
1649
|
top: a.topOffset ? `${a.topOffset}px` : "0",
|
|
1554
1650
|
mobileHeight: a.mobileTopOffset && a.mobileEnabled ? `calc(100% - ${a.mobileTopOffset}px)` : "100%",
|
|
1555
1651
|
height: a.topOffset ? `calc(100% - ${a.topOffset}px)` : "100%"
|
|
1556
|
-
})), v =
|
|
1652
|
+
})), v = y(() => ({
|
|
1557
1653
|
display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
|
|
1558
1654
|
minHeight: `${a.headerHeight}px`
|
|
1559
|
-
})),
|
|
1655
|
+
})), p = y(() => ({
|
|
1560
1656
|
marginTop: l.value ? `${a.headerHeight}px` : "0"
|
|
1561
|
-
})),
|
|
1657
|
+
})), w = y(() => ({
|
|
1562
1658
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1563
1659
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1564
|
-
})),
|
|
1565
|
-
var
|
|
1660
|
+
})), x = (s) => Wr(s).map((f) => {
|
|
1661
|
+
var g, k, E;
|
|
1566
1662
|
if (f) {
|
|
1567
|
-
(!f.key || !((
|
|
1568
|
-
for (const
|
|
1569
|
-
|
|
1663
|
+
(!f.key || !((g = f.key) != null && g.trim())) && (f.key = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!f.testId || !((k = f.testId) != null && k.trim())) && (f.testId = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1664
|
+
for (const F of f.items || [])
|
|
1665
|
+
F.parentKey = f.key, (!F.testId || !((E = F.testId) != null && E.trim())) && (F.testId = String(F.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1570
1666
|
}
|
|
1571
1667
|
return f;
|
|
1572
|
-
}),
|
|
1668
|
+
}), N = y(() => a.topItems.length ? x(a.topItems) : []), D = y(() => a.bottomItems.length ? x(a.bottomItems) : []), I = q(a.open), O = (s) => {
|
|
1573
1669
|
var u, f;
|
|
1574
|
-
|
|
1670
|
+
I.value !== s && (I.value = s, t("toggle", s)), s ? (u = document == null ? void 0 : document.body) == null || u.classList.add("kong-ui-app-sidebar-open") : (f = document == null ? void 0 : document.body) == null || f.classList.remove("kong-ui-app-sidebar-open"), j.value = !1;
|
|
1575
1671
|
}, V = () => {
|
|
1576
1672
|
a.mobileOverlayCloseOnClick && O(!1);
|
|
1577
|
-
}, j = q(!1),
|
|
1673
|
+
}, j = q(!1), Z = (s) => {
|
|
1578
1674
|
j.value = !0, t("click", s), setTimeout(() => {
|
|
1579
1675
|
O(!1);
|
|
1580
1676
|
}, a.mobileCloseDelay);
|
|
1581
1677
|
};
|
|
1582
|
-
|
|
1678
|
+
Me(() => a.open, (s) => {
|
|
1583
1679
|
O(s);
|
|
1584
1680
|
});
|
|
1585
|
-
const { debounce:
|
|
1586
|
-
|
|
1587
|
-
}, 200),
|
|
1588
|
-
|
|
1589
|
-
}, Y = q(null), W =
|
|
1681
|
+
const { debounce: ne } = Xt(), G = ne(() => {
|
|
1682
|
+
I.value && S.value !== (window == null ? void 0 : window.innerWidth) && (S.value = window == null ? void 0 : window.innerWidth, O(!1));
|
|
1683
|
+
}, 200), S = q(), P = q(!1), U = q(), ee = () => {
|
|
1684
|
+
P.value || (P.value = !0, clearTimeout(U.value), U.value = setTimeout(() => P.value = !1, 1300));
|
|
1685
|
+
}, Y = q(null), W = y(() => I.value && a.mobileEnabled), A = async (s) => {
|
|
1590
1686
|
var u, f;
|
|
1591
|
-
s ? (await kn(), await new Promise((
|
|
1687
|
+
s ? (await kn(), await new Promise((g) => setTimeout(g, 300)), (u = Y.value) == null || u.activate()) : (f = Y.value) == null || f.deactivate();
|
|
1592
1688
|
};
|
|
1593
|
-
return
|
|
1594
|
-
s ? await
|
|
1595
|
-
}, { immediate: !0 }),
|
|
1596
|
-
|
|
1597
|
-
}),
|
|
1598
|
-
window.removeEventListener("resize", G), window.removeEventListener("resize",
|
|
1599
|
-
}), (s, u) => (
|
|
1600
|
-
|
|
1689
|
+
return Me(W, async (s) => {
|
|
1690
|
+
s ? await A(!0) : await A(!1);
|
|
1691
|
+
}, { immediate: !0 }), We(() => {
|
|
1692
|
+
S.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", G), window.addEventListener("resize", ee);
|
|
1693
|
+
}), Ht(() => {
|
|
1694
|
+
window.removeEventListener("resize", G), window.removeEventListener("resize", ee);
|
|
1695
|
+
}), (s, u) => (h(), m($e, null, [
|
|
1696
|
+
I.value && n.mobileOverlay && n.mobileEnabled ? (h(), m("div", {
|
|
1601
1697
|
key: 0,
|
|
1602
1698
|
class: "kong-ui-app-sidebar-overlay",
|
|
1603
1699
|
onClick: V
|
|
1604
|
-
})) :
|
|
1605
|
-
|
|
1700
|
+
})) : C("", !0),
|
|
1701
|
+
Ve(Tn(Vr), {
|
|
1606
1702
|
ref_key: "focusTrap",
|
|
1607
1703
|
ref: Y,
|
|
1608
1704
|
active: !1,
|
|
1609
1705
|
"allow-outside-click": "",
|
|
1610
1706
|
"fallback-focus": ".kong-ui-app-sidebar"
|
|
1611
1707
|
}, {
|
|
1612
|
-
default:
|
|
1613
|
-
|
|
1708
|
+
default: B(() => [
|
|
1709
|
+
_("aside", {
|
|
1614
1710
|
class: ie(["kong-ui-app-sidebar", {
|
|
1615
|
-
"sidebar-open":
|
|
1711
|
+
"sidebar-open": I.value,
|
|
1616
1712
|
"no-sidebar-header": !l.value,
|
|
1617
1713
|
"mobile-header-hidden": n.mobileEnabled && (!l.value || !n.mobileHeaderVisible),
|
|
1618
1714
|
"mobile-disabled": !n.mobileEnabled,
|
|
1619
|
-
"disable-transitions":
|
|
1715
|
+
"disable-transitions": P.value
|
|
1620
1716
|
}]),
|
|
1621
1717
|
tabindex: "-1"
|
|
1622
1718
|
}, [
|
|
1623
|
-
l.value ? (
|
|
1624
|
-
|
|
1625
|
-
])) :
|
|
1626
|
-
|
|
1627
|
-
d.value ? (
|
|
1628
|
-
|
|
1629
|
-
])) :
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
(
|
|
1719
|
+
l.value ? (h(), m("div", qr, [
|
|
1720
|
+
$(s.$slots, "header", {}, void 0, !0)
|
|
1721
|
+
])) : C("", !0),
|
|
1722
|
+
_("div", Yr, [
|
|
1723
|
+
d.value ? (h(), m("div", Xr, [
|
|
1724
|
+
$(s.$slots, "top", {}, void 0, !0)
|
|
1725
|
+
])) : C("", !0),
|
|
1726
|
+
_("nav", Jr, [
|
|
1727
|
+
N.value.length ? (h(), m("ul", Qr, [
|
|
1728
|
+
(h(!0), m($e, null, Oe(N.value, (f) => (h(), Q(Rt, {
|
|
1633
1729
|
key: f.name,
|
|
1634
1730
|
item: f,
|
|
1635
|
-
onClick:
|
|
1731
|
+
onClick: Z
|
|
1636
1732
|
}, null, 8, ["item"]))), 128))
|
|
1637
|
-
])) :
|
|
1638
|
-
|
|
1639
|
-
D.value.length ? (
|
|
1640
|
-
(
|
|
1733
|
+
])) : C("", !0),
|
|
1734
|
+
N.value.length && D.value.length ? (h(), m("div", ei)) : C("", !0),
|
|
1735
|
+
D.value.length ? (h(), m("ul", ti, [
|
|
1736
|
+
(h(!0), m($e, null, Oe(D.value, (f) => (h(), Q(Rt, {
|
|
1641
1737
|
key: f.name,
|
|
1642
1738
|
item: f,
|
|
1643
|
-
onClick:
|
|
1739
|
+
onClick: Z
|
|
1644
1740
|
}, null, 8, ["item"]))), 128))
|
|
1645
|
-
])) :
|
|
1741
|
+
])) : C("", !0)
|
|
1646
1742
|
])
|
|
1647
1743
|
]),
|
|
1648
|
-
|
|
1649
|
-
|
|
1744
|
+
_("div", ai, [
|
|
1745
|
+
$(s.$slots, "footer", {}, void 0, !0)
|
|
1650
1746
|
])
|
|
1651
1747
|
], 2)
|
|
1652
1748
|
]),
|
|
@@ -1655,11 +1751,11 @@ const Lr = /* @__PURE__ */ Br(Rr), Pr = {
|
|
|
1655
1751
|
], 64));
|
|
1656
1752
|
}
|
|
1657
1753
|
});
|
|
1658
|
-
const
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
],
|
|
1754
|
+
const ri = /* @__PURE__ */ ae(ni, [["__scopeId", "data-v-00a9a4d3"]]), ft = (n) => (Ge("data-v-00a332e0"), n = n(), Ue(), n), ii = ["aria-label", "onClick"], oi = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), si = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), ci = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), li = [
|
|
1755
|
+
oi,
|
|
1756
|
+
si,
|
|
1757
|
+
ci
|
|
1758
|
+
], ui = /* @__PURE__ */ te({
|
|
1663
1759
|
__name: "SidebarToggle",
|
|
1664
1760
|
props: {
|
|
1665
1761
|
active: {
|
|
@@ -1672,25 +1768,25 @@ const Ur = /* @__PURE__ */ ne(Gr, [["__scopeId", "data-v-00a9a4d3"]]), ft = (n)
|
|
|
1672
1768
|
const a = n, r = q(a.active || !1), l = () => {
|
|
1673
1769
|
r.value = !r.value, t("toggle", r.value);
|
|
1674
1770
|
};
|
|
1675
|
-
return
|
|
1771
|
+
return Me(() => a.active, (d) => {
|
|
1676
1772
|
r.value = d;
|
|
1677
|
-
}), (d, o) => (
|
|
1773
|
+
}), (d, o) => (h(), m("a", {
|
|
1678
1774
|
"aria-haspopup": "true",
|
|
1679
1775
|
"aria-label": r.value ? "Close Main Menu" : "Open Main Menu",
|
|
1680
1776
|
class: ie(["sidebar-menu-toggle", { active: r.value }]),
|
|
1681
1777
|
href: "#",
|
|
1682
1778
|
role: "button",
|
|
1683
1779
|
onClick: Sn(l, ["prevent"])
|
|
1684
|
-
},
|
|
1780
|
+
}, li, 10, ii));
|
|
1685
1781
|
}
|
|
1686
1782
|
});
|
|
1687
|
-
const
|
|
1783
|
+
const di = /* @__PURE__ */ ae(ui, [["__scopeId", "data-v-00a332e0"]]), fi = "0px", vi = "16px", bi = (n) => (Ge("data-v-0a4e6b30"), n = n(), Ue(), n), hi = { id: "kong-ui-app-layout-notification" }, pi = { class: "mobile-logo" }, mi = {
|
|
1688
1784
|
key: 0,
|
|
1689
1785
|
class: "navbar-logo"
|
|
1690
|
-
},
|
|
1786
|
+
}, gi = {
|
|
1691
1787
|
class: "kong-ui-app-layout-main",
|
|
1692
1788
|
"data-testid": "kong-ui-app-layout-main"
|
|
1693
|
-
},
|
|
1789
|
+
}, yi = { class: "kong-ui-app-layout-content" }, _i = { class: "kong-ui-app-layout-content-inner" }, wi = /* @__PURE__ */ bi(() => /* @__PURE__ */ _("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Ti = /* @__PURE__ */ te({
|
|
1694
1790
|
__name: "AppLayout",
|
|
1695
1791
|
props: {
|
|
1696
1792
|
hideDefaultSlot: {
|
|
@@ -1723,187 +1819,187 @@ const ei = /* @__PURE__ */ ne(Qr, [["__scopeId", "data-v-00a332e0"]]), ti = "0px
|
|
|
1723
1819
|
emits: ["sidebar-click"],
|
|
1724
1820
|
setup(n, { emit: t }) {
|
|
1725
1821
|
const a = n;
|
|
1726
|
-
ut((
|
|
1822
|
+
ut((S) => ({
|
|
1727
1823
|
"65a18e83": V.value,
|
|
1728
1824
|
"6abaa094": j.value
|
|
1729
1825
|
}));
|
|
1730
1826
|
const r = dt(), l = Le({
|
|
1731
|
-
navbarLeft:
|
|
1732
|
-
navbarCenter:
|
|
1733
|
-
navbarRight:
|
|
1734
|
-
navbarLogo:
|
|
1735
|
-
navbarMobileLogo:
|
|
1736
|
-
sidebarHeader:
|
|
1737
|
-
sidebarTop:
|
|
1738
|
-
sidebarFooter:
|
|
1739
|
-
}), d =
|
|
1740
|
-
hidden:
|
|
1827
|
+
navbarLeft: y(() => !!r["navbar-left"]),
|
|
1828
|
+
navbarCenter: y(() => !!r["navbar-center"]),
|
|
1829
|
+
navbarRight: y(() => !!r["navbar-right"]),
|
|
1830
|
+
navbarLogo: y(() => !!r["navbar-logo"]),
|
|
1831
|
+
navbarMobileLogo: y(() => !!r["navbar-mobile-logo"]),
|
|
1832
|
+
sidebarHeader: y(() => !!r["sidebar-header"]),
|
|
1833
|
+
sidebarTop: y(() => !!r["sidebar-top"]),
|
|
1834
|
+
sidebarFooter: y(() => !!r["sidebar-footer"])
|
|
1835
|
+
}), d = y(() => a.hideDefaultSlot), o = Le({
|
|
1836
|
+
hidden: y(() => a.navbarHidden)
|
|
1741
1837
|
}), v = Le({
|
|
1742
|
-
topItems:
|
|
1743
|
-
bottomItems:
|
|
1744
|
-
open:
|
|
1745
|
-
hidden:
|
|
1746
|
-
}),
|
|
1747
|
-
t("sidebar-click",
|
|
1748
|
-
},
|
|
1749
|
-
|
|
1838
|
+
topItems: y(() => a.sidebarTopItems),
|
|
1839
|
+
bottomItems: y(() => a.sidebarBottomItems),
|
|
1840
|
+
open: y(() => a.sidebarOpen),
|
|
1841
|
+
hidden: y(() => a.sidebarHidden)
|
|
1842
|
+
}), p = (S) => {
|
|
1843
|
+
t("sidebar-click", S);
|
|
1844
|
+
}, w = q(!1), x = (S) => {
|
|
1845
|
+
w.value = S;
|
|
1750
1846
|
};
|
|
1751
1847
|
In(() => {
|
|
1752
|
-
|
|
1848
|
+
w.value = $n(v, "open").value || !1;
|
|
1753
1849
|
});
|
|
1754
|
-
const
|
|
1755
|
-
if (
|
|
1756
|
-
|
|
1757
|
-
const
|
|
1758
|
-
|
|
1850
|
+
const N = q(0), D = q(60), I = q(0), O = y(() => o.hidden ? I.value : D.value + I.value), V = y(() => `${O.value}px`), j = y(() => v.hidden || o.hidden ? fi : vi), { debounce: Z } = Xt(), ne = Z((S = !1) => {
|
|
1851
|
+
if (S || N.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1852
|
+
N.value = window == null ? void 0 : window.innerWidth;
|
|
1853
|
+
const P = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1854
|
+
P && (I.value = P.offsetHeight);
|
|
1759
1855
|
}
|
|
1760
1856
|
}, 200), G = q();
|
|
1761
|
-
return
|
|
1762
|
-
var
|
|
1763
|
-
(
|
|
1764
|
-
const
|
|
1765
|
-
|
|
1857
|
+
return We(() => {
|
|
1858
|
+
var P, U;
|
|
1859
|
+
(P = document == null ? void 0 : document.body) == null || P.classList.add("kong-ui-app-layout-body"), (U = document == null ? void 0 : document.documentElement) == null || U.classList.add("kong-ui-app-layout-html"), N.value = window == null ? void 0 : window.innerWidth, ne(!0);
|
|
1860
|
+
const S = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1861
|
+
S && (G.value = new ResizeObserver((ee) => {
|
|
1766
1862
|
window.requestAnimationFrame(() => {
|
|
1767
|
-
if (!(!Array.isArray(
|
|
1768
|
-
for (const Y of
|
|
1863
|
+
if (!(!Array.isArray(ee) || !ee.length))
|
|
1864
|
+
for (const Y of ee) {
|
|
1769
1865
|
const W = Y.contentRect.height;
|
|
1770
|
-
|
|
1866
|
+
I.value !== W && (I.value = W);
|
|
1771
1867
|
}
|
|
1772
1868
|
});
|
|
1773
|
-
}), G.value.observe(
|
|
1774
|
-
}),
|
|
1775
|
-
G.value && G.value.disconnect(), window.removeEventListener("resize",
|
|
1776
|
-
}), (
|
|
1869
|
+
}), G.value.observe(S)), window.addEventListener("resize", ne);
|
|
1870
|
+
}), Ht(() => {
|
|
1871
|
+
G.value && G.value.disconnect(), window.removeEventListener("resize", ne);
|
|
1872
|
+
}), (S, P) => (h(), m("div", {
|
|
1777
1873
|
class: ie(["kong-ui-app-layout", [
|
|
1778
1874
|
{ "navbar-hidden": o.hidden },
|
|
1779
1875
|
{ "sidebar-hidden": v.hidden }
|
|
1780
1876
|
]])
|
|
1781
1877
|
}, [
|
|
1782
|
-
|
|
1783
|
-
|
|
1878
|
+
_("div", hi, [
|
|
1879
|
+
$(S.$slots, "notification", {}, void 0, !0)
|
|
1784
1880
|
]),
|
|
1785
|
-
o.hidden ?
|
|
1881
|
+
o.hidden ? C("", !0) : (h(), Q(or, {
|
|
1786
1882
|
key: String(v.hidden),
|
|
1787
1883
|
"left-offset": v.hidden ? 0 : void 0,
|
|
1788
|
-
"top-offset":
|
|
1789
|
-
},
|
|
1790
|
-
"mobile-sidebar-toggle":
|
|
1791
|
-
v.hidden ?
|
|
1884
|
+
"top-offset": I.value
|
|
1885
|
+
}, Pe({
|
|
1886
|
+
"mobile-sidebar-toggle": B(() => [
|
|
1887
|
+
v.hidden ? C("", !0) : (h(), Q(di, {
|
|
1792
1888
|
key: 0,
|
|
1793
|
-
active:
|
|
1794
|
-
onToggle:
|
|
1889
|
+
active: w.value,
|
|
1890
|
+
onToggle: x
|
|
1795
1891
|
}, null, 8, ["active"]))
|
|
1796
1892
|
]),
|
|
1797
1893
|
_: 2
|
|
1798
1894
|
}, [
|
|
1799
1895
|
l.navbarMobileLogo ? {
|
|
1800
1896
|
name: "mobile-logo",
|
|
1801
|
-
fn:
|
|
1802
|
-
|
|
1803
|
-
|
|
1897
|
+
fn: B(() => [
|
|
1898
|
+
_("div", pi, [
|
|
1899
|
+
$(S.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1804
1900
|
])
|
|
1805
1901
|
]),
|
|
1806
1902
|
key: "0"
|
|
1807
1903
|
} : void 0,
|
|
1808
1904
|
l.navbarLogo ? {
|
|
1809
1905
|
name: "logo",
|
|
1810
|
-
fn:
|
|
1811
|
-
v.hidden ? (
|
|
1812
|
-
|
|
1813
|
-
])) :
|
|
1906
|
+
fn: B(() => [
|
|
1907
|
+
v.hidden ? (h(), m("div", mi, [
|
|
1908
|
+
$(S.$slots, "navbar-logo", {}, void 0, !0)
|
|
1909
|
+
])) : C("", !0)
|
|
1814
1910
|
]),
|
|
1815
1911
|
key: "1"
|
|
1816
1912
|
} : void 0,
|
|
1817
1913
|
l.navbarLeft ? {
|
|
1818
1914
|
name: "left",
|
|
1819
|
-
fn:
|
|
1820
|
-
|
|
1915
|
+
fn: B(() => [
|
|
1916
|
+
$(S.$slots, "navbar-left", {}, void 0, !0)
|
|
1821
1917
|
]),
|
|
1822
1918
|
key: "2"
|
|
1823
1919
|
} : void 0,
|
|
1824
1920
|
l.navbarCenter ? {
|
|
1825
1921
|
name: "center",
|
|
1826
|
-
fn:
|
|
1827
|
-
|
|
1922
|
+
fn: B(() => [
|
|
1923
|
+
$(S.$slots, "navbar-center", {}, void 0, !0)
|
|
1828
1924
|
]),
|
|
1829
1925
|
key: "3"
|
|
1830
1926
|
} : void 0,
|
|
1831
1927
|
l.navbarRight ? {
|
|
1832
1928
|
name: "right",
|
|
1833
|
-
fn:
|
|
1834
|
-
|
|
1929
|
+
fn: B(() => [
|
|
1930
|
+
$(S.$slots, "navbar-right", {}, void 0, !0)
|
|
1835
1931
|
]),
|
|
1836
1932
|
key: "4"
|
|
1837
1933
|
} : void 0
|
|
1838
1934
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1839
|
-
v.hidden ?
|
|
1935
|
+
v.hidden ? C("", !0) : (h(), Q(ri, {
|
|
1840
1936
|
key: 1,
|
|
1841
1937
|
"bottom-items": v.bottomItems,
|
|
1842
1938
|
"header-height": D.value,
|
|
1843
1939
|
"mobile-enabled": "",
|
|
1844
1940
|
"mobile-header-visible": !1,
|
|
1845
1941
|
"mobile-top-offset": O.value,
|
|
1846
|
-
open:
|
|
1942
|
+
open: w.value,
|
|
1847
1943
|
"top-items": v.topItems,
|
|
1848
|
-
"top-offset":
|
|
1849
|
-
onClick:
|
|
1850
|
-
onToggle:
|
|
1851
|
-
},
|
|
1944
|
+
"top-offset": I.value,
|
|
1945
|
+
onClick: p,
|
|
1946
|
+
onToggle: x
|
|
1947
|
+
}, Pe({ _: 2 }, [
|
|
1852
1948
|
l.sidebarHeader ? {
|
|
1853
1949
|
name: "header",
|
|
1854
|
-
fn:
|
|
1855
|
-
|
|
1950
|
+
fn: B(() => [
|
|
1951
|
+
$(S.$slots, "sidebar-header", {}, void 0, !0)
|
|
1856
1952
|
]),
|
|
1857
1953
|
key: "0"
|
|
1858
1954
|
} : void 0,
|
|
1859
1955
|
l.sidebarTop ? {
|
|
1860
1956
|
name: "top",
|
|
1861
|
-
fn:
|
|
1862
|
-
|
|
1957
|
+
fn: B(() => [
|
|
1958
|
+
$(S.$slots, "sidebar-top", {}, void 0, !0)
|
|
1863
1959
|
]),
|
|
1864
1960
|
key: "1"
|
|
1865
1961
|
} : void 0,
|
|
1866
1962
|
l.sidebarFooter ? {
|
|
1867
1963
|
name: "footer",
|
|
1868
|
-
fn:
|
|
1869
|
-
|
|
1964
|
+
fn: B(() => [
|
|
1965
|
+
$(S.$slots, "sidebar-footer", {}, void 0, !0)
|
|
1870
1966
|
]),
|
|
1871
1967
|
key: "2"
|
|
1872
1968
|
} : void 0
|
|
1873
1969
|
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
d.value ?
|
|
1970
|
+
_("main", gi, [
|
|
1971
|
+
_("div", yi, [
|
|
1972
|
+
_("div", _i, [
|
|
1973
|
+
wi,
|
|
1974
|
+
$(S.$slots, "app-error", {}, void 0, !0),
|
|
1975
|
+
d.value ? C("", !0) : $(S.$slots, "default", { key: 0 }, void 0, !0)
|
|
1880
1976
|
])
|
|
1881
1977
|
])
|
|
1882
1978
|
])
|
|
1883
1979
|
], 2));
|
|
1884
1980
|
}
|
|
1885
1981
|
});
|
|
1886
|
-
const
|
|
1982
|
+
const ki = /* @__PURE__ */ ae(Ti, [["__scopeId", "data-v-0a4e6b30"]]), Si = (n) => (Ge("data-v-d7e33427"), n = n(), Ue(), n), Ii = { class: "kong-ui-app-page-header" }, $i = {
|
|
1887
1983
|
key: 0,
|
|
1888
1984
|
class: "page-header-breadcrumbs",
|
|
1889
1985
|
"data-testid": "page-header-breadcrumbs"
|
|
1890
|
-
},
|
|
1986
|
+
}, Ci = /* @__PURE__ */ Si(() => /* @__PURE__ */ _("span", { class: "page-header-breadcrumb-divider" }, "/", -1)), Oi = { class: "page-header-title-section" }, Ai = { class: "page-header-title-wrapper" }, Ni = {
|
|
1891
1987
|
key: 0,
|
|
1892
1988
|
class: "page-header-title-before",
|
|
1893
1989
|
"data-testid": "page-header-title-before"
|
|
1894
|
-
},
|
|
1990
|
+
}, Ei = ["title"], Fi = {
|
|
1895
1991
|
key: 1,
|
|
1896
1992
|
class: "page-header-title-after",
|
|
1897
1993
|
"data-testid": "page-header-title-after"
|
|
1898
|
-
},
|
|
1994
|
+
}, xi = {
|
|
1899
1995
|
key: 0,
|
|
1900
1996
|
class: "page-header-actions",
|
|
1901
1997
|
"data-testid": "page-header-actions"
|
|
1902
|
-
},
|
|
1998
|
+
}, Di = {
|
|
1903
1999
|
key: 1,
|
|
1904
2000
|
class: "page-header-section-below",
|
|
1905
2001
|
"data-testid": "page-header-section-below"
|
|
1906
|
-
},
|
|
2002
|
+
}, Bi = /* @__PURE__ */ te({
|
|
1907
2003
|
__name: "AppPageHeader",
|
|
1908
2004
|
props: {
|
|
1909
2005
|
title: {
|
|
@@ -1916,67 +2012,68 @@ const fi = /* @__PURE__ */ ne(di, [["__scopeId", "data-v-0a4e6b30"]]), vi = (n)
|
|
|
1916
2012
|
}
|
|
1917
2013
|
},
|
|
1918
2014
|
setup(n) {
|
|
1919
|
-
const t = n, a =
|
|
2015
|
+
const t = n, a = y(() => {
|
|
1920
2016
|
var d;
|
|
1921
2017
|
return !!((d = t.breadcrumbs) != null && d.length);
|
|
1922
|
-
}), r = (d, o) => d.key || `breadcrumb-${o}`, l =
|
|
2018
|
+
}), r = (d, o) => d.key || `breadcrumb-${o}`, l = y(() => t.breadcrumbs.map((d, o) => `icon-${r(d, o)}`) || []);
|
|
1923
2019
|
return (d, o) => {
|
|
1924
|
-
const v =
|
|
1925
|
-
return
|
|
1926
|
-
a.value ? (
|
|
1927
|
-
|
|
1928
|
-
divider:
|
|
1929
|
-
|
|
2020
|
+
const v = ve("KBreadcrumbs");
|
|
2021
|
+
return h(), m("div", Ii, [
|
|
2022
|
+
a.value ? (h(), m("div", $i, [
|
|
2023
|
+
Ve(v, { items: n.breadcrumbs }, Pe({
|
|
2024
|
+
divider: B(() => [
|
|
2025
|
+
Ci
|
|
1930
2026
|
]),
|
|
1931
2027
|
_: 2
|
|
1932
2028
|
}, [
|
|
1933
|
-
|
|
1934
|
-
name:
|
|
1935
|
-
fn:
|
|
1936
|
-
|
|
2029
|
+
Oe(l.value, (p) => ({
|
|
2030
|
+
name: p,
|
|
2031
|
+
fn: B(() => [
|
|
2032
|
+
$(d.$slots, p, {}, void 0, !0)
|
|
1937
2033
|
])
|
|
1938
2034
|
}))
|
|
1939
2035
|
]), 1032, ["items"])
|
|
1940
|
-
])) :
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
d.$slots["title-before"] ? (
|
|
1944
|
-
|
|
1945
|
-
])) :
|
|
1946
|
-
|
|
2036
|
+
])) : C("", !0),
|
|
2037
|
+
_("div", Oi, [
|
|
2038
|
+
_("div", Ai, [
|
|
2039
|
+
d.$slots["title-before"] ? (h(), m("div", Ni, [
|
|
2040
|
+
$(d.$slots, "title-before", {}, void 0, !0)
|
|
2041
|
+
])) : C("", !0),
|
|
2042
|
+
_("h1", {
|
|
1947
2043
|
class: "page-header-title",
|
|
1948
2044
|
"data-testid": "page-header-title",
|
|
1949
2045
|
title: n.title
|
|
1950
|
-
},
|
|
1951
|
-
d.$slots["title-after"] ? (
|
|
1952
|
-
|
|
1953
|
-
])) :
|
|
2046
|
+
}, J(n.title), 9, Ei),
|
|
2047
|
+
d.$slots["title-after"] ? (h(), m("div", Fi, [
|
|
2048
|
+
$(d.$slots, "title-after", {}, void 0, !0)
|
|
2049
|
+
])) : C("", !0)
|
|
1954
2050
|
]),
|
|
1955
|
-
d.$slots.actions ? (
|
|
1956
|
-
|
|
1957
|
-
])) :
|
|
2051
|
+
d.$slots.actions ? (h(), m("div", xi, [
|
|
2052
|
+
$(d.$slots, "actions", {}, void 0, !0)
|
|
2053
|
+
])) : C("", !0)
|
|
1958
2054
|
]),
|
|
1959
|
-
d.$slots.below ? (
|
|
1960
|
-
|
|
1961
|
-
])) :
|
|
2055
|
+
d.$slots.below ? (h(), m("div", Di, [
|
|
2056
|
+
$(d.$slots, "below", {}, void 0, !0)
|
|
2057
|
+
])) : C("", !0)
|
|
1962
2058
|
]);
|
|
1963
2059
|
};
|
|
1964
2060
|
}
|
|
1965
2061
|
});
|
|
1966
|
-
const
|
|
2062
|
+
const Zi = /* @__PURE__ */ ae(Bi, [["__scopeId", "data-v-d7e33427"]]), ji = {
|
|
1967
2063
|
// Customize Vue plugin options as desired
|
|
1968
2064
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
1969
2065
|
install: (n, t = {}) => {
|
|
1970
|
-
n.component(t.name || "AppLayout",
|
|
2066
|
+
n.component(t.name || "AppLayout", ki);
|
|
1971
2067
|
}
|
|
1972
2068
|
};
|
|
1973
2069
|
export {
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
2070
|
+
Li as AccountDropdown,
|
|
2071
|
+
Pi as AppAboutSection,
|
|
2072
|
+
Mi as AppError,
|
|
2073
|
+
ki as AppLayout,
|
|
2074
|
+
or as AppNavbar,
|
|
2075
|
+
Zi as AppPageHeader,
|
|
2076
|
+
ri as AppSidebar,
|
|
2077
|
+
di as SidebarToggle,
|
|
2078
|
+
ji as default
|
|
1982
2079
|
};
|