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