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