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