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