@kong-ui-public/app-layout 4.10.10 → 4.10.11-pr.2683.0cde1a4e2.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 +533 -515
- package/dist/app-layout.umd.js +7 -7
- package/dist/types/components/AppLayout.vue.d.ts +17 -16
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts +8 -7
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts.map +1 -1
- package/dist/types/components/errors/AppError.vue.d.ts +5 -4
- package/dist/types/components/errors/AppError.vue.d.ts.map +1 -1
- package/dist/types/components/gradientBadge/GradientBadge.vue.d.ts +4 -3
- package/dist/types/components/gradientBadge/GradientBadge.vue.d.ts.map +1 -1
- package/dist/types/components/icons/BananaSplit.vue.d.ts +2 -1
- package/dist/types/components/icons/BananaSplit.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts +7 -6
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AppNavbar.vue.d.ts +4 -3
- package/dist/types/components/navbar/AppNavbar.vue.d.ts.map +1 -1
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts +10 -9
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts.map +1 -1
- package/dist/types/components/pageInfoSection/AppPageInfoSection.vue.d.ts +8 -7
- package/dist/types/components/pageInfoSection/AppPageInfoSection.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +11 -10
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts +3 -2
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts +7 -6
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts +3 -2
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/app-layout.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as ie, resolveComponent as he, createBlock as W, openBlock as p, withCtx as L, renderSlot as C, createElementBlock as
|
|
2
|
-
import { ChevronRightIcon as
|
|
3
|
-
import { KButton as
|
|
1
|
+
import { defineComponent as ie, resolveComponent as he, createBlock as W, openBlock as p, withCtx as L, renderSlot as C, createElementBlock as S, Fragment as Ee, renderList as pe, normalizeClass as re, createTextVNode as Be, toDisplayString as Q, computed as _, createSlots as Me, createVNode as Le, createCommentVNode as $, createElementVNode as E, createStaticVNode as $n, useCssVars as wt, reactive as Xe, useSlots as je, onMounted as Ke, getCurrentInstance as Qt, hasInjectionContext as Jt, inject as On, watch as Te, getCurrentScope as En, onScopeDispose as An, shallowRef as Ye, watchEffect as ea, toValue as Ae, unref as be, resolveDynamicComponent as Fe, withKeys as Fn, ref as ae, onUnmounted as Nn, Comment as Dn, cloneVNode as xn, nextTick as Wt, onBeforeUnmount as ta, withModifiers as Rn, toRef as Bn } from "vue";
|
|
2
|
+
import { ChevronRightIcon as aa, ChevronDownIcon as Mn } from "@kong/icons";
|
|
3
|
+
import { KButton as Ln, HeaderTags as Pn } from "@kong/kongponents";
|
|
4
4
|
const jn = /* @__PURE__ */ ie({
|
|
5
5
|
__name: "AccountDropdown",
|
|
6
6
|
props: {
|
|
@@ -30,7 +30,7 @@ const jn = /* @__PURE__ */ ie({
|
|
|
30
30
|
}, {
|
|
31
31
|
items: L(({ handleSelection: u }) => [
|
|
32
32
|
C(t.$slots, "default", {}, () => [
|
|
33
|
-
(p(!0),
|
|
33
|
+
(p(!0), S(Ee, null, pe(a.options, (o) => (p(), W(n, {
|
|
34
34
|
key: o.value,
|
|
35
35
|
class: re({ "has-divider": o.hasDivider }),
|
|
36
36
|
"data-testid": "select-" + o.value,
|
|
@@ -55,43 +55,43 @@ const jn = /* @__PURE__ */ ie({
|
|
|
55
55
|
for (const [n, s] of t)
|
|
56
56
|
r[n] = s;
|
|
57
57
|
return r;
|
|
58
|
-
}, wo = /* @__PURE__ */ oe(jn, [["__scopeId", "data-v-b33191a2"]]),
|
|
58
|
+
}, wo = /* @__PURE__ */ oe(jn, [["__scopeId", "data-v-b33191a2"]]), Kn = {
|
|
59
59
|
class: "about-section-title",
|
|
60
60
|
"data-testid": "about-section-title"
|
|
61
|
-
},
|
|
61
|
+
}, Zn = { class: "about-section-header-end" }, Hn = {
|
|
62
62
|
key: 0,
|
|
63
63
|
class: "about-section-timestamps-created",
|
|
64
64
|
"data-testid": "about-section-timestamps-created"
|
|
65
|
-
},
|
|
65
|
+
}, Wn = {
|
|
66
66
|
key: 1,
|
|
67
67
|
class: "about-section-timestamps-arrow"
|
|
68
|
-
},
|
|
68
|
+
}, Gn = {
|
|
69
69
|
key: 2,
|
|
70
70
|
class: "about-section-timestamps-modified",
|
|
71
71
|
"data-testid": "about-section-timestamps-modified"
|
|
72
|
-
},
|
|
72
|
+
}, zn = {
|
|
73
73
|
key: 1,
|
|
74
74
|
class: "about-section-actions",
|
|
75
75
|
"data-testid": "about-section-actions"
|
|
76
|
-
},
|
|
76
|
+
}, Vn = {
|
|
77
77
|
key: 0,
|
|
78
78
|
"data-testid": "about-section-loading-skeleton"
|
|
79
|
-
}, Un = { key: 1 },
|
|
79
|
+
}, Un = { key: 1 }, qn = {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: "about-section-description",
|
|
82
82
|
"data-testid": "about-section-description"
|
|
83
|
-
},
|
|
83
|
+
}, Xn = {
|
|
84
84
|
key: 1,
|
|
85
85
|
class: "about-section-content",
|
|
86
86
|
"data-testid": "about-section-content"
|
|
87
|
-
},
|
|
87
|
+
}, Yn = {
|
|
88
88
|
key: 2,
|
|
89
89
|
"data-testid": "about-divider-section-separator"
|
|
90
|
-
},
|
|
90
|
+
}, Qn = {
|
|
91
91
|
key: 3,
|
|
92
92
|
class: "about-divider-section",
|
|
93
93
|
"data-testid": "about-divider-section"
|
|
94
|
-
},
|
|
94
|
+
}, Jn = /* @__PURE__ */ ie({
|
|
95
95
|
__name: "AppAboutSection",
|
|
96
96
|
props: {
|
|
97
97
|
title: { default: "" },
|
|
@@ -111,7 +111,7 @@ const jn = /* @__PURE__ */ ie({
|
|
|
111
111
|
"title-tag": "h2"
|
|
112
112
|
}, Me({
|
|
113
113
|
default: L(() => [
|
|
114
|
-
a.isLoading ? (p(),
|
|
114
|
+
a.isLoading ? (p(), S("div", Vn, [
|
|
115
115
|
Le(u, {
|
|
116
116
|
height: "2",
|
|
117
117
|
width: "100"
|
|
@@ -120,13 +120,13 @@ const jn = /* @__PURE__ */ ie({
|
|
|
120
120
|
height: "2",
|
|
121
121
|
width: "100"
|
|
122
122
|
})
|
|
123
|
-
])) : (p(),
|
|
124
|
-
a.description ? (p(),
|
|
125
|
-
n.$slots.default ? (p(),
|
|
123
|
+
])) : (p(), S("div", Un, [
|
|
124
|
+
a.description ? (p(), S("p", qn, Q(a.description), 1)) : $("", !0),
|
|
125
|
+
n.$slots.default ? (p(), S("div", Xn, [
|
|
126
126
|
C(n.$slots, "default", {}, void 0, !0)
|
|
127
127
|
])) : $("", !0),
|
|
128
|
-
n.$slots["divider-section"] ? (p(),
|
|
129
|
-
n.$slots["divider-section"] ? (p(),
|
|
128
|
+
n.$slots["divider-section"] ? (p(), S("hr", Yn)) : $("", !0),
|
|
129
|
+
n.$slots["divider-section"] ? (p(), S("div", Qn, [
|
|
130
130
|
C(n.$slots, "divider-section", {}, void 0, !0)
|
|
131
131
|
])) : $("", !0)
|
|
132
132
|
]))
|
|
@@ -136,7 +136,7 @@ const jn = /* @__PURE__ */ ie({
|
|
|
136
136
|
n.$slots.title || a.title ? {
|
|
137
137
|
name: "title",
|
|
138
138
|
fn: L(() => [
|
|
139
|
-
E("span",
|
|
139
|
+
E("span", Kn, [
|
|
140
140
|
C(n.$slots, "title", {}, () => [
|
|
141
141
|
Be(Q(a.title), 1)
|
|
142
142
|
], !0)
|
|
@@ -147,16 +147,16 @@ const jn = /* @__PURE__ */ ie({
|
|
|
147
147
|
n.$slots.actions || a.created || a.modified ? {
|
|
148
148
|
name: "actions",
|
|
149
149
|
fn: L(() => [
|
|
150
|
-
E("div",
|
|
151
|
-
a.created || a.modified ? (p(),
|
|
150
|
+
E("div", Zn, [
|
|
151
|
+
a.created || a.modified ? (p(), S("div", {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: re(["about-section-timestamps", { "has-actions": n.$slots.actions }])
|
|
154
154
|
}, [
|
|
155
|
-
a.created ? (p(),
|
|
156
|
-
a.created && r.value ? (p(),
|
|
157
|
-
r.value ? (p(),
|
|
155
|
+
a.created ? (p(), S("span", Hn, Q(a.createdLabel) + ": " + Q(a.created), 1)) : $("", !0),
|
|
156
|
+
a.created && r.value ? (p(), S("span", Wn, "->")) : $("", !0),
|
|
157
|
+
r.value ? (p(), S("span", Gn, Q(a.modifiedLabel) + ": " + Q(a.modified), 1)) : $("", !0)
|
|
158
158
|
], 2)) : $("", !0),
|
|
159
|
-
n.$slots.actions ? (p(),
|
|
159
|
+
n.$slots.actions ? (p(), S("div", zn, [
|
|
160
160
|
C(n.$slots, "actions", {}, void 0, !0)
|
|
161
161
|
])) : $("", !0)
|
|
162
162
|
])
|
|
@@ -166,25 +166,25 @@ const jn = /* @__PURE__ */ ie({
|
|
|
166
166
|
]), 1024);
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
}), ko = /* @__PURE__ */ oe(
|
|
169
|
+
}), ko = /* @__PURE__ */ oe(Jn, [["__scopeId", "data-v-f5864a9c"]]), er = {}, tr = {
|
|
170
170
|
fill: "none",
|
|
171
171
|
height: "130",
|
|
172
172
|
width: "130",
|
|
173
173
|
xmlns: "http://www.w3.org/2000/svg"
|
|
174
174
|
};
|
|
175
|
-
function
|
|
176
|
-
return p(),
|
|
177
|
-
|
|
175
|
+
function ar(a, t) {
|
|
176
|
+
return p(), S("svg", tr, [...t[0] || (t[0] = [
|
|
177
|
+
$n('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5)
|
|
178
178
|
])]);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const nr = /* @__PURE__ */ oe(er, [["render", ar]]), rr = { class: "kong-ui-app-error" }, ir = { class: "banana-icon" }, or = { class: "kong-ui-app-error-content" }, sr = /* @__PURE__ */ ie({
|
|
181
181
|
__name: "AppError",
|
|
182
182
|
setup(a) {
|
|
183
|
-
return (t, r) => (p(),
|
|
184
|
-
E("div", rr, [
|
|
185
|
-
Le(ar)
|
|
186
|
-
]),
|
|
183
|
+
return (t, r) => (p(), S("section", rr, [
|
|
187
184
|
E("div", ir, [
|
|
185
|
+
Le(nr)
|
|
186
|
+
]),
|
|
187
|
+
E("div", or, [
|
|
188
188
|
C(t.$slots, "default", {}, () => [
|
|
189
189
|
r[0] || (r[0] = E("h2", null, "An unexpected error has occurred", -1)),
|
|
190
190
|
r[1] || (r[1] = E("p", null, [
|
|
@@ -196,10 +196,10 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
|
|
|
196
196
|
])
|
|
197
197
|
]));
|
|
198
198
|
}
|
|
199
|
-
}), To = /* @__PURE__ */ oe(
|
|
199
|
+
}), To = /* @__PURE__ */ oe(sr, [["__scopeId", "data-v-b6d8dc55"]]), lr = { class: "kong-ui-app-navbar" }, cr = { class: "header-content" }, ur = { class: "mobile-header-left" }, dr = {
|
|
200
200
|
key: 0,
|
|
201
201
|
class: "app-navbar-logo"
|
|
202
|
-
},
|
|
202
|
+
}, fr = { class: "navbar-content" }, vr = { class: "navbar-content-left" }, br = { class: "navbar-content-center" }, pr = { class: "navbar-content-right" }, hr = /* @__PURE__ */ ie({
|
|
203
203
|
__name: "AppNavbar",
|
|
204
204
|
props: {
|
|
205
205
|
topOffset: {
|
|
@@ -217,18 +217,18 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
setup(a) {
|
|
220
|
-
|
|
220
|
+
wt((o) => ({
|
|
221
221
|
v27c93a10: u.value.top,
|
|
222
222
|
v0f284bf5: u.value.zIndex,
|
|
223
223
|
d1659a78: u.value.left,
|
|
224
224
|
v3d9232e8: s.marginRight,
|
|
225
225
|
v038c3c78: s.width
|
|
226
226
|
}));
|
|
227
|
-
const t = a, r = je(), n = _(() => !!r.logo), s =
|
|
227
|
+
const t = a, r = je(), n = _(() => !!r.logo), s = Xe({
|
|
228
228
|
marginRight: "0",
|
|
229
229
|
width: "0"
|
|
230
230
|
});
|
|
231
|
-
|
|
231
|
+
Ke(() => {
|
|
232
232
|
var o, d;
|
|
233
233
|
(d = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && d.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
|
|
234
234
|
});
|
|
@@ -237,49 +237,49 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
|
|
|
237
237
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
238
238
|
zIndex: t.zIndex
|
|
239
239
|
}));
|
|
240
|
-
return (o, d) => (p(),
|
|
241
|
-
E("div",
|
|
242
|
-
E("div",
|
|
240
|
+
return (o, d) => (p(), S("header", lr, [
|
|
241
|
+
E("div", cr, [
|
|
242
|
+
E("div", ur, [
|
|
243
243
|
C(o.$slots, "mobile-sidebar-toggle"),
|
|
244
244
|
C(o.$slots, "mobile-logo")
|
|
245
245
|
]),
|
|
246
|
-
n.value ? (p(),
|
|
246
|
+
n.value ? (p(), S("div", dr, [
|
|
247
247
|
C(o.$slots, "logo")
|
|
248
248
|
])) : $("", !0),
|
|
249
|
-
E("div",
|
|
250
|
-
E("div",
|
|
249
|
+
E("div", fr, [
|
|
250
|
+
E("div", vr, [
|
|
251
251
|
C(o.$slots, "left")
|
|
252
252
|
]),
|
|
253
|
-
E("div",
|
|
253
|
+
E("div", br, [
|
|
254
254
|
C(o.$slots, "center")
|
|
255
255
|
]),
|
|
256
|
-
E("div",
|
|
256
|
+
E("div", pr, [
|
|
257
257
|
C(o.$slots, "right")
|
|
258
258
|
])
|
|
259
259
|
])
|
|
260
260
|
])
|
|
261
261
|
]));
|
|
262
262
|
}
|
|
263
|
-
}),
|
|
264
|
-
function
|
|
265
|
-
return
|
|
263
|
+
}), mr = /* @__PURE__ */ oe(hr, [["__scopeId", "data-v-2f6fc50f"]]);
|
|
264
|
+
function gr(a) {
|
|
265
|
+
return En() ? (An(a), !0) : !1;
|
|
266
266
|
}
|
|
267
|
-
const
|
|
267
|
+
const bt = /* @__PURE__ */ new WeakMap(), yr = (...a) => {
|
|
268
268
|
var t;
|
|
269
|
-
const r = a[0], n = (t =
|
|
270
|
-
if (n == null && !
|
|
269
|
+
const r = a[0], n = (t = Qt()) == null ? void 0 : t.proxy;
|
|
270
|
+
if (n == null && !Jt())
|
|
271
271
|
throw new Error("injectLocal must be called in setup");
|
|
272
|
-
return n &&
|
|
273
|
-
},
|
|
272
|
+
return n && bt.has(n) && r in bt.get(n) ? bt.get(n)[r] : On(...a);
|
|
273
|
+
}, wr = typeof window < "u" && typeof document < "u";
|
|
274
274
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
275
|
-
const
|
|
276
|
-
function
|
|
275
|
+
const kr = Object.prototype.toString, Tr = (a) => kr.call(a) === "[object Object]";
|
|
276
|
+
function Gt(a) {
|
|
277
277
|
return a.endsWith("rem") ? Number.parseFloat(a) * 16 : Number.parseFloat(a);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function pt(a) {
|
|
280
280
|
return Array.isArray(a) ? a : [a];
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function Sr(a, t, r) {
|
|
283
283
|
return Te(
|
|
284
284
|
a,
|
|
285
285
|
t,
|
|
@@ -289,37 +289,37 @@ function Tr(a, t, r) {
|
|
|
289
289
|
}
|
|
290
290
|
);
|
|
291
291
|
}
|
|
292
|
-
const
|
|
293
|
-
function
|
|
292
|
+
const na = wr ? window : void 0;
|
|
293
|
+
function _r(a) {
|
|
294
294
|
var t;
|
|
295
295
|
const r = Ae(a);
|
|
296
296
|
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Cr(...a) {
|
|
299
299
|
const t = [], r = () => {
|
|
300
300
|
t.forEach((d) => d()), t.length = 0;
|
|
301
|
-
}, n = (d, b,
|
|
302
|
-
const d =
|
|
301
|
+
}, n = (d, b, w, T) => (d.addEventListener(b, w, T), () => d.removeEventListener(b, w, T)), s = _(() => {
|
|
302
|
+
const d = pt(Ae(a[0])).filter((b) => b != null);
|
|
303
303
|
return d.every((b) => typeof b != "string") ? d : void 0;
|
|
304
|
-
}), u =
|
|
304
|
+
}), u = Sr(
|
|
305
305
|
() => {
|
|
306
306
|
var d, b;
|
|
307
307
|
return [
|
|
308
|
-
(b = (d = s.value) == null ? void 0 : d.map((
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
(b = (d = s.value) == null ? void 0 : d.map((w) => _r(w))) != null ? b : [na].filter((w) => w != null),
|
|
309
|
+
pt(Ae(s.value ? a[1] : a[0])),
|
|
310
|
+
pt(be(s.value ? a[2] : a[1])),
|
|
311
311
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
312
312
|
Ae(s.value ? a[3] : a[2])
|
|
313
313
|
];
|
|
314
314
|
},
|
|
315
|
-
([d, b,
|
|
316
|
-
if (r(), !(d != null && d.length) || !(b != null && b.length) || !(
|
|
315
|
+
([d, b, w, T]) => {
|
|
316
|
+
if (r(), !(d != null && d.length) || !(b != null && b.length) || !(w != null && w.length))
|
|
317
317
|
return;
|
|
318
|
-
const R =
|
|
318
|
+
const R = Tr(T) ? { ...T } : T;
|
|
319
319
|
t.push(
|
|
320
320
|
...d.flatMap(
|
|
321
321
|
(B) => b.flatMap(
|
|
322
|
-
(
|
|
322
|
+
(j) => w.map((A) => n(B, j, A, R))
|
|
323
323
|
)
|
|
324
324
|
)
|
|
325
325
|
);
|
|
@@ -328,42 +328,42 @@ function _r(...a) {
|
|
|
328
328
|
), o = () => {
|
|
329
329
|
u(), r();
|
|
330
330
|
};
|
|
331
|
-
return
|
|
331
|
+
return gr(r), o;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
const a =
|
|
335
|
-
return t &&
|
|
333
|
+
function Ir() {
|
|
334
|
+
const a = Ye(!1), t = Qt();
|
|
335
|
+
return t && Ke(() => {
|
|
336
336
|
a.value = !0;
|
|
337
337
|
}, t), a;
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
const t =
|
|
339
|
+
function $r(a) {
|
|
340
|
+
const t = Ir();
|
|
341
341
|
return _(() => (t.value, !!a()));
|
|
342
342
|
}
|
|
343
|
-
const
|
|
344
|
-
function
|
|
345
|
-
const a =
|
|
343
|
+
const Or = Symbol("vueuse-ssr-width");
|
|
344
|
+
function Er() {
|
|
345
|
+
const a = Jt() ? yr(Or, null) : null;
|
|
346
346
|
return typeof a == "number" ? a : void 0;
|
|
347
347
|
}
|
|
348
|
-
function
|
|
349
|
-
const { window: r =
|
|
350
|
-
d.value =
|
|
348
|
+
function Ar(a, t = {}) {
|
|
349
|
+
const { window: r = na, ssrWidth: n = Er() } = t, s = $r(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), u = Ye(typeof n == "number"), o = Ye(), d = Ye(!1), b = (w) => {
|
|
350
|
+
d.value = w.matches;
|
|
351
351
|
};
|
|
352
|
-
return
|
|
352
|
+
return ea(() => {
|
|
353
353
|
if (u.value) {
|
|
354
354
|
u.value = !s.value;
|
|
355
|
-
const
|
|
356
|
-
d.value =
|
|
357
|
-
const R =
|
|
358
|
-
let A = !!(B ||
|
|
359
|
-
return B && A && (A = n >=
|
|
355
|
+
const w = Ae(a).split(",");
|
|
356
|
+
d.value = w.some((T) => {
|
|
357
|
+
const R = T.includes("not all"), B = T.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), j = T.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
358
|
+
let A = !!(B || j);
|
|
359
|
+
return B && A && (A = n >= Gt(B[1])), j && A && (A = n <= Gt(j[1])), R ? !A : A;
|
|
360
360
|
});
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
363
|
s.value && (o.value = r.matchMedia(Ae(a)), d.value = o.value.matches);
|
|
364
|
-
}),
|
|
364
|
+
}), Cr(o, "change", b, { passive: !0 }), _(() => d.value);
|
|
365
365
|
}
|
|
366
|
-
const
|
|
366
|
+
const Fr = "#ffffff", Nr = "#000933", Dr = "#000933", xr = "#ffffff", Rr = "0px", Br = "4px", Mr = "640px", Lr = "16px", Pr = "#bee2ff", jr = ["title"], ht = 99, Kr = /* @__PURE__ */ ie({
|
|
367
367
|
__name: "ItemBadge",
|
|
368
368
|
props: {
|
|
369
369
|
count: {
|
|
@@ -373,23 +373,23 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
setup(a) {
|
|
376
|
-
const t = a, r = _(() => t.count ? t.count >
|
|
377
|
-
return (n, s) => r.value ? (p(),
|
|
376
|
+
const t = a, r = _(() => t.count ? t.count > ht ? `${ht}+` : t.count.toString() : "");
|
|
377
|
+
return (n, s) => r.value ? (p(), S("div", {
|
|
378
378
|
key: 0,
|
|
379
379
|
class: "item-badge",
|
|
380
|
-
title: (a.count || 0) >
|
|
380
|
+
title: (a.count || 0) > ht ? String(a.count) : void 0
|
|
381
381
|
}, Q(r.value), 9, jr)) : $("", !0);
|
|
382
382
|
}
|
|
383
|
-
}),
|
|
383
|
+
}), Zr = /* @__PURE__ */ oe(Kr, [["__scopeId", "data-v-afb0d903"]]), Hr = ["data-testid"], Wr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], Gr = {
|
|
384
384
|
key: 0,
|
|
385
385
|
class: "sidebar-item-icon"
|
|
386
|
-
},
|
|
386
|
+
}, zr = { class: "sidebar-item-name-container" }, Vr = { class: "sidebar-item-name has-tooltip" }, Ur = {
|
|
387
387
|
key: 2,
|
|
388
388
|
class: "sidebar-item-label truncate-text truncate-18"
|
|
389
|
-
},
|
|
389
|
+
}, qr = {
|
|
390
390
|
key: 1,
|
|
391
391
|
class: "sidebar-item-after"
|
|
392
|
-
},
|
|
392
|
+
}, Xr = ["id"], Yr = /* @__PURE__ */ ie({
|
|
393
393
|
__name: "SidebarItem",
|
|
394
394
|
props: {
|
|
395
395
|
item: {
|
|
@@ -408,15 +408,15 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
408
408
|
() => n.subnavItem && // item has non-zero badgeCount OR
|
|
409
409
|
n.item.badgeCount !== void 0 && n.item.badgeCount !== 0 || // slot content for the badge
|
|
410
410
|
!!s[`sidebar-after-${n.item.key}`]
|
|
411
|
-
), b = (
|
|
412
|
-
r("click",
|
|
413
|
-
},
|
|
414
|
-
b(R), typeof B == "function" && (
|
|
411
|
+
), b = (T) => {
|
|
412
|
+
r("click", T);
|
|
413
|
+
}, w = (T, R, B) => {
|
|
414
|
+
b(R), typeof B == "function" && (T.preventDefault(), B());
|
|
415
415
|
};
|
|
416
|
-
return (
|
|
416
|
+
return (T, R) => {
|
|
417
417
|
var A;
|
|
418
|
-
const B = he("KTooltip"),
|
|
419
|
-
return p(),
|
|
418
|
+
const B = he("KTooltip"), j = he("SidebarItem", !0);
|
|
419
|
+
return p(), S("li", {
|
|
420
420
|
class: re([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
|
|
421
421
|
"data-testid": a.item.testId ? `sidebar-item-${a.item.testId}` : void 0
|
|
422
422
|
}, [
|
|
@@ -424,7 +424,7 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
424
424
|
custom: u.value ? void 0 : !0,
|
|
425
425
|
to: !u.value && !o.value ? a.item.to : void 0
|
|
426
426
|
}, {
|
|
427
|
-
default: L((
|
|
427
|
+
default: L((P) => {
|
|
428
428
|
var ne, K;
|
|
429
429
|
return [
|
|
430
430
|
E("a", {
|
|
@@ -432,19 +432,19 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
432
432
|
"aria-current": a.item.active ? "page" : void 0,
|
|
433
433
|
"aria-expanded": (K = a.item.items) != null && K.length && a.item.expanded ? !0 : void 0,
|
|
434
434
|
class: re(["sidebar-item-link", { "sidebar-item-external-link": o.value, "router-link": !u.value }]),
|
|
435
|
-
href: u.value ? String(a.item.to || "#") :
|
|
435
|
+
href: u.value ? String(a.item.to || "#") : P == null ? void 0 : P.href,
|
|
436
436
|
target: o.value ? "_blank" : void 0,
|
|
437
|
-
onClick: (G) =>
|
|
438
|
-
onKeypress:
|
|
437
|
+
onClick: (G) => w(G, a.item, P == null ? void 0 : P.navigate),
|
|
438
|
+
onKeypress: Fn((G) => w(G, a.item, P == null ? void 0 : P.navigate), ["enter"])
|
|
439
439
|
}, [
|
|
440
440
|
E("div", {
|
|
441
441
|
class: re(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-after-content": d.value }])
|
|
442
442
|
}, [
|
|
443
|
-
|
|
444
|
-
a.subnavItem ? $("", !0) : C(
|
|
443
|
+
T.$slots[`sidebar-icon-${a.item.key}`] ? (p(), S("div", Gr, [
|
|
444
|
+
a.subnavItem ? $("", !0) : C(T.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
|
|
445
445
|
])) : $("", !0),
|
|
446
|
-
E("div",
|
|
447
|
-
(a.subnavItem && !d.value ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(),
|
|
446
|
+
E("div", zr, [
|
|
447
|
+
(a.subnavItem && !d.value ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), S("div", {
|
|
448
448
|
key: 0,
|
|
449
449
|
class: re(["sidebar-item-name truncate-text", [a.subnavItem ? "has-after-content-max-width truncate-24" : "truncate-17"]])
|
|
450
450
|
}, Q(a.item.name), 3)) : (p(), W(B, {
|
|
@@ -455,7 +455,7 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
455
455
|
text: a.item.name
|
|
456
456
|
}, {
|
|
457
457
|
default: L(() => [
|
|
458
|
-
E("div",
|
|
458
|
+
E("div", Vr, [
|
|
459
459
|
E("span", {
|
|
460
460
|
class: re(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-after-content-max-width": d.value }]])
|
|
461
461
|
}, Q(a.item.name), 3)
|
|
@@ -463,79 +463,79 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", xr = "0px"
|
|
|
463
463
|
]),
|
|
464
464
|
_: 1
|
|
465
465
|
}, 8, ["text"])),
|
|
466
|
-
a.item.label && a.item.expanded ? (p(),
|
|
466
|
+
a.item.label && a.item.expanded ? (p(), S("div", Ur, Q(a.item.label), 1)) : $("", !0)
|
|
467
467
|
]),
|
|
468
|
-
d.value ? (p(),
|
|
469
|
-
a.item.badgeCount ? (p(), W(
|
|
468
|
+
d.value ? (p(), S("div", qr, [
|
|
469
|
+
a.item.badgeCount ? (p(), W(Zr, {
|
|
470
470
|
key: 0,
|
|
471
471
|
count: a.item.badgeCount
|
|
472
|
-
}, null, 8, ["count"])) : C(
|
|
472
|
+
}, null, 8, ["count"])) : C(T.$slots, `sidebar-after-${a.item.key}`, { key: 1 }, void 0, !0)
|
|
473
473
|
])) : $("", !0)
|
|
474
474
|
], 2)
|
|
475
|
-
], 42,
|
|
475
|
+
], 42, Wr)
|
|
476
476
|
];
|
|
477
477
|
}),
|
|
478
478
|
_: 3
|
|
479
479
|
}, 8, ["custom", "to"])),
|
|
480
|
-
(A = a.item.items) != null && A.length && a.item.expanded ? (p(),
|
|
480
|
+
(A = a.item.items) != null && A.length && a.item.expanded ? (p(), S("ul", {
|
|
481
481
|
key: 0,
|
|
482
482
|
id: `subnav-${a.item.key}`,
|
|
483
483
|
class: "level-secondary"
|
|
484
484
|
}, [
|
|
485
|
-
(p(!0),
|
|
486
|
-
key:
|
|
487
|
-
item:
|
|
485
|
+
(p(!0), S(Ee, null, pe(a.item.items, (P) => (p(), W(j, {
|
|
486
|
+
key: P.name,
|
|
487
|
+
item: P,
|
|
488
488
|
"subnav-item": !0,
|
|
489
|
-
onClick: (ne) => b(
|
|
489
|
+
onClick: (ne) => b(P)
|
|
490
490
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
491
|
-
], 8,
|
|
492
|
-
], 10,
|
|
491
|
+
], 8, Xr)) : $("", !0)
|
|
492
|
+
], 10, Hr);
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
|
-
}),
|
|
495
|
+
}), zt = /* @__PURE__ */ oe(Yr, [["__scopeId", "data-v-7ea61d78"]]);
|
|
496
496
|
/*!
|
|
497
|
-
* tabbable 6.
|
|
497
|
+
* tabbable 6.3.0
|
|
498
498
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
499
499
|
*/
|
|
500
|
-
var
|
|
501
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
500
|
+
var ra = ["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])"], Qe = /* @__PURE__ */ ra.join(","), ia = typeof Element > "u", Se = ia ? function() {
|
|
501
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Je = !ia && Element.prototype.getRootNode ? function(a) {
|
|
502
502
|
var t;
|
|
503
503
|
return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
|
|
504
504
|
} : function(a) {
|
|
505
505
|
return a == null ? void 0 : a.ownerDocument;
|
|
506
|
-
},
|
|
506
|
+
}, Pe = function(t, r) {
|
|
507
507
|
var n;
|
|
508
508
|
r === void 0 && (r = !0);
|
|
509
|
-
var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), u = s === "" || s === "true", o = u || r && t &&
|
|
509
|
+
var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), u = s === "" || s === "true", o = u || r && t && Pe(t.parentNode);
|
|
510
510
|
return o;
|
|
511
|
-
},
|
|
511
|
+
}, Qr = function(t) {
|
|
512
512
|
var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
|
|
513
513
|
return n === "" || n === "true";
|
|
514
|
-
},
|
|
515
|
-
if (
|
|
514
|
+
}, oa = function(t, r, n) {
|
|
515
|
+
if (Pe(t))
|
|
516
516
|
return [];
|
|
517
|
-
var s = Array.prototype.slice.apply(t.querySelectorAll(
|
|
518
|
-
return r && Se.call(t,
|
|
519
|
-
},
|
|
517
|
+
var s = Array.prototype.slice.apply(t.querySelectorAll(Qe));
|
|
518
|
+
return r && Se.call(t, Qe) && s.unshift(t), s = s.filter(n), s;
|
|
519
|
+
}, et = function(t, r, n) {
|
|
520
520
|
for (var s = [], u = Array.from(t); u.length; ) {
|
|
521
521
|
var o = u.shift();
|
|
522
|
-
if (!
|
|
522
|
+
if (!Pe(o, !1))
|
|
523
523
|
if (o.tagName === "SLOT") {
|
|
524
|
-
var d = o.assignedElements(), b = d.length ? d : o.children,
|
|
525
|
-
n.flatten ? s.push.apply(s,
|
|
524
|
+
var d = o.assignedElements(), b = d.length ? d : o.children, w = et(b, !0, n);
|
|
525
|
+
n.flatten ? s.push.apply(s, w) : s.push({
|
|
526
526
|
scopeParent: o,
|
|
527
|
-
candidates:
|
|
527
|
+
candidates: w
|
|
528
528
|
});
|
|
529
529
|
} else {
|
|
530
|
-
var
|
|
531
|
-
|
|
530
|
+
var T = Se.call(o, Qe);
|
|
531
|
+
T && n.filter(o) && (r || !t.includes(o)) && s.push(o);
|
|
532
532
|
var R = o.shadowRoot || // check for an undisclosed shadow
|
|
533
|
-
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), B = !
|
|
533
|
+
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), B = !Pe(R, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
534
534
|
if (R && B) {
|
|
535
|
-
var
|
|
536
|
-
n.flatten ? s.push.apply(s,
|
|
535
|
+
var j = et(R === !0 ? o.children : R.children, !0, n);
|
|
536
|
+
n.flatten ? s.push.apply(s, j) : s.push({
|
|
537
537
|
scopeParent: o,
|
|
538
|
-
candidates:
|
|
538
|
+
candidates: j
|
|
539
539
|
});
|
|
540
540
|
} else
|
|
541
541
|
u.unshift.apply(u, o.children);
|
|
@@ -547,29 +547,29 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
547
547
|
}, ke = function(t) {
|
|
548
548
|
if (!t)
|
|
549
549
|
throw new Error("No node provided");
|
|
550
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
551
|
-
},
|
|
550
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Qr(t)) && !sa(t) ? 0 : t.tabIndex;
|
|
551
|
+
}, Jr = function(t, r) {
|
|
552
552
|
var n = ke(t);
|
|
553
553
|
return n < 0 && r && !sa(t) ? 0 : n;
|
|
554
|
-
},
|
|
554
|
+
}, ei = function(t, r) {
|
|
555
555
|
return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
|
|
556
556
|
}, la = function(t) {
|
|
557
557
|
return t.tagName === "INPUT";
|
|
558
|
-
}, ei = function(t) {
|
|
559
|
-
return la(t) && t.type === "hidden";
|
|
560
558
|
}, ti = function(t) {
|
|
559
|
+
return la(t) && t.type === "hidden";
|
|
560
|
+
}, ai = function(t) {
|
|
561
561
|
var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
562
562
|
return n.tagName === "SUMMARY";
|
|
563
563
|
});
|
|
564
564
|
return r;
|
|
565
|
-
},
|
|
565
|
+
}, ni = function(t, r) {
|
|
566
566
|
for (var n = 0; n < t.length; n++)
|
|
567
567
|
if (t[n].checked && t[n].form === r)
|
|
568
568
|
return t[n];
|
|
569
|
-
},
|
|
569
|
+
}, ri = function(t) {
|
|
570
570
|
if (!t.name)
|
|
571
571
|
return !0;
|
|
572
|
-
var r = t.form ||
|
|
572
|
+
var r = t.form || Je(t), n = function(d) {
|
|
573
573
|
return r.querySelectorAll('input[type="radio"][name="' + d + '"]');
|
|
574
574
|
}, s;
|
|
575
575
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -580,50 +580,68 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
580
580
|
} catch (o) {
|
|
581
581
|
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;
|
|
582
582
|
}
|
|
583
|
-
var u =
|
|
583
|
+
var u = ni(s, t.form);
|
|
584
584
|
return !u || u === t;
|
|
585
|
-
}, ri = function(t) {
|
|
586
|
-
return la(t) && t.type === "radio";
|
|
587
585
|
}, ii = function(t) {
|
|
588
|
-
return
|
|
586
|
+
return la(t) && t.type === "radio";
|
|
589
587
|
}, oi = function(t) {
|
|
590
|
-
|
|
588
|
+
return ii(t) && !ri(t);
|
|
589
|
+
}, si = function(t) {
|
|
590
|
+
var r, n = t && Je(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, u = !1;
|
|
591
591
|
if (n && n !== t) {
|
|
592
592
|
var o, d, b;
|
|
593
593
|
for (u = !!((o = s) !== null && o !== void 0 && (d = o.ownerDocument) !== null && d !== void 0 && d.contains(s) || t != null && (b = t.ownerDocument) !== null && b !== void 0 && b.contains(t)); !u && s; ) {
|
|
594
|
-
var
|
|
595
|
-
n =
|
|
594
|
+
var w, T, R;
|
|
595
|
+
n = Je(s), s = (w = n) === null || w === void 0 ? void 0 : w.host, u = !!((T = s) !== null && T !== void 0 && (R = T.ownerDocument) !== null && R !== void 0 && R.contains(s));
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
return u;
|
|
599
|
-
},
|
|
599
|
+
}, Vt = function(t) {
|
|
600
600
|
var r = t.getBoundingClientRect(), n = r.width, s = r.height;
|
|
601
601
|
return n === 0 && s === 0;
|
|
602
|
-
},
|
|
602
|
+
}, li = function(t, r) {
|
|
603
603
|
var n = r.displayCheck, s = r.getShadowRoot;
|
|
604
|
+
if (n === "full-native" && "checkVisibility" in t) {
|
|
605
|
+
var u = t.checkVisibility({
|
|
606
|
+
// Checking opacity might be desirable for some use cases, but natively,
|
|
607
|
+
// opacity zero elements _are_ focusable and tabbable.
|
|
608
|
+
checkOpacity: !1,
|
|
609
|
+
opacityProperty: !1,
|
|
610
|
+
contentVisibilityAuto: !0,
|
|
611
|
+
visibilityProperty: !0,
|
|
612
|
+
// This is an alias for `visibilityProperty`. Contemporary browsers
|
|
613
|
+
// support both. However, this alias has wider browser support (Chrome
|
|
614
|
+
// >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
|
|
615
|
+
// we include it anyway.
|
|
616
|
+
checkVisibilityCSS: !0
|
|
617
|
+
});
|
|
618
|
+
return !u;
|
|
619
|
+
}
|
|
604
620
|
if (getComputedStyle(t).visibility === "hidden")
|
|
605
621
|
return !0;
|
|
606
|
-
var
|
|
607
|
-
if (Se.call(
|
|
622
|
+
var o = Se.call(t, "details>summary:first-of-type"), d = o ? t.parentElement : t;
|
|
623
|
+
if (Se.call(d, "details:not([open]) *"))
|
|
608
624
|
return !0;
|
|
609
|
-
if (!n || n === "full" ||
|
|
625
|
+
if (!n || n === "full" || // full-native can run this branch when it falls through in case
|
|
626
|
+
// Element#checkVisibility is unsupported
|
|
627
|
+
n === "full-native" || n === "legacy-full") {
|
|
610
628
|
if (typeof s == "function") {
|
|
611
|
-
for (var
|
|
612
|
-
var
|
|
613
|
-
if (
|
|
614
|
-
return
|
|
615
|
-
t.assignedSlot ? t = t.assignedSlot : !
|
|
629
|
+
for (var b = t; t; ) {
|
|
630
|
+
var w = t.parentElement, T = Je(t);
|
|
631
|
+
if (w && !w.shadowRoot && s(w) === !0)
|
|
632
|
+
return Vt(t);
|
|
633
|
+
t.assignedSlot ? t = t.assignedSlot : !w && T !== t.ownerDocument ? t = T.host : t = w;
|
|
616
634
|
}
|
|
617
|
-
t =
|
|
635
|
+
t = b;
|
|
618
636
|
}
|
|
619
|
-
if (
|
|
637
|
+
if (si(t))
|
|
620
638
|
return !t.getClientRects().length;
|
|
621
639
|
if (n !== "legacy-full")
|
|
622
640
|
return !0;
|
|
623
641
|
} else if (n === "non-zero-area")
|
|
624
|
-
return
|
|
642
|
+
return Vt(t);
|
|
625
643
|
return !1;
|
|
626
|
-
},
|
|
644
|
+
}, ci = function(t) {
|
|
627
645
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
628
646
|
for (var r = t.parentElement; r; ) {
|
|
629
647
|
if (r.tagName === "FIELDSET" && r.disabled) {
|
|
@@ -637,68 +655,68 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
637
655
|
r = r.parentElement;
|
|
638
656
|
}
|
|
639
657
|
return !1;
|
|
640
|
-
},
|
|
658
|
+
}, tt = function(t, r) {
|
|
641
659
|
return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
642
660
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
643
661
|
// note related to `candidateSelectors`)
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
},
|
|
647
|
-
return !(
|
|
648
|
-
},
|
|
662
|
+
Pe(r) || ti(r) || li(r, t) || // For a details element with a summary, the summary element gets the focus
|
|
663
|
+
ai(r) || ci(r));
|
|
664
|
+
}, gt = function(t, r) {
|
|
665
|
+
return !(oi(r) || ke(r) < 0 || !tt(t, r));
|
|
666
|
+
}, ui = function(t) {
|
|
649
667
|
var r = parseInt(t.getAttribute("tabindex"), 10);
|
|
650
668
|
return !!(isNaN(r) || r >= 0);
|
|
651
|
-
},
|
|
669
|
+
}, ca = function(t) {
|
|
652
670
|
var r = [], n = [];
|
|
653
671
|
return t.forEach(function(s, u) {
|
|
654
|
-
var o = !!s.scopeParent, d = o ? s.scopeParent : s, b =
|
|
655
|
-
b === 0 ? o ? r.push.apply(r,
|
|
672
|
+
var o = !!s.scopeParent, d = o ? s.scopeParent : s, b = Jr(d, o), w = o ? ca(s.candidates) : d;
|
|
673
|
+
b === 0 ? o ? r.push.apply(r, w) : r.push(d) : n.push({
|
|
656
674
|
documentOrder: u,
|
|
657
675
|
tabIndex: b,
|
|
658
676
|
item: s,
|
|
659
677
|
isScope: o,
|
|
660
|
-
content:
|
|
678
|
+
content: w
|
|
661
679
|
});
|
|
662
|
-
}), n.sort(
|
|
680
|
+
}), n.sort(ei).reduce(function(s, u) {
|
|
663
681
|
return u.isScope ? s.push.apply(s, u.content) : s.push(u.content), s;
|
|
664
682
|
}, []).concat(r);
|
|
665
683
|
}, di = function(t, r) {
|
|
666
684
|
r = r || {};
|
|
667
685
|
var n;
|
|
668
|
-
return r.getShadowRoot ? n =
|
|
669
|
-
filter:
|
|
686
|
+
return r.getShadowRoot ? n = et([t], r.includeContainer, {
|
|
687
|
+
filter: gt.bind(null, r),
|
|
670
688
|
flatten: !1,
|
|
671
689
|
getShadowRoot: r.getShadowRoot,
|
|
672
|
-
shadowRootFilter:
|
|
673
|
-
}) : n =
|
|
690
|
+
shadowRootFilter: ui
|
|
691
|
+
}) : n = oa(t, r.includeContainer, gt.bind(null, r)), ca(n);
|
|
674
692
|
}, fi = function(t, r) {
|
|
675
693
|
r = r || {};
|
|
676
694
|
var n;
|
|
677
|
-
return r.getShadowRoot ? n =
|
|
678
|
-
filter:
|
|
695
|
+
return r.getShadowRoot ? n = et([t], r.includeContainer, {
|
|
696
|
+
filter: tt.bind(null, r),
|
|
679
697
|
flatten: !0,
|
|
680
698
|
getShadowRoot: r.getShadowRoot
|
|
681
|
-
}) : n =
|
|
699
|
+
}) : n = oa(t, r.includeContainer, tt.bind(null, r)), n;
|
|
682
700
|
}, Oe = function(t, r) {
|
|
683
701
|
if (r = r || {}, !t)
|
|
684
702
|
throw new Error("No node provided");
|
|
685
|
-
return Se.call(t,
|
|
686
|
-
}, vi = /* @__PURE__ */
|
|
703
|
+
return Se.call(t, Qe) === !1 ? !1 : gt(r, t);
|
|
704
|
+
}, vi = /* @__PURE__ */ ra.concat("iframe").join(","), mt = function(t, r) {
|
|
687
705
|
if (r = r || {}, !t)
|
|
688
706
|
throw new Error("No node provided");
|
|
689
|
-
return Se.call(t, vi) === !1 ? !1 :
|
|
707
|
+
return Se.call(t, vi) === !1 ? !1 : tt(r, t);
|
|
690
708
|
};
|
|
691
709
|
/*!
|
|
692
|
-
* focus-trap 7.6.
|
|
710
|
+
* focus-trap 7.6.6
|
|
693
711
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
694
712
|
*/
|
|
695
|
-
function
|
|
713
|
+
function yt(a, t) {
|
|
696
714
|
(t == null || t > a.length) && (t = a.length);
|
|
697
715
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = a[r];
|
|
698
716
|
return n;
|
|
699
717
|
}
|
|
700
718
|
function bi(a) {
|
|
701
|
-
if (Array.isArray(a)) return
|
|
719
|
+
if (Array.isArray(a)) return yt(a);
|
|
702
720
|
}
|
|
703
721
|
function pi(a, t, r) {
|
|
704
722
|
return (t = wi(t)) in a ? Object.defineProperty(a, t, {
|
|
@@ -725,7 +743,7 @@ function Ut(a, t) {
|
|
|
725
743
|
}
|
|
726
744
|
return r;
|
|
727
745
|
}
|
|
728
|
-
function
|
|
746
|
+
function qt(a) {
|
|
729
747
|
for (var t = 1; t < arguments.length; t++) {
|
|
730
748
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
731
749
|
t % 2 ? Ut(Object(r), !0).forEach(function(n) {
|
|
@@ -755,12 +773,12 @@ function wi(a) {
|
|
|
755
773
|
}
|
|
756
774
|
function ki(a, t) {
|
|
757
775
|
if (a) {
|
|
758
|
-
if (typeof a == "string") return
|
|
776
|
+
if (typeof a == "string") return yt(a, t);
|
|
759
777
|
var r = {}.toString.call(a).slice(8, -1);
|
|
760
|
-
return r === "Object" && a.constructor && (r = a.constructor.name), r === "Map" || r === "Set" ? Array.from(a) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ?
|
|
778
|
+
return r === "Object" && a.constructor && (r = a.constructor.name), r === "Map" || r === "Set" ? Array.from(a) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? yt(a, t) : void 0;
|
|
761
779
|
}
|
|
762
780
|
}
|
|
763
|
-
var
|
|
781
|
+
var Xt = {
|
|
764
782
|
activateTrap: function(t, r) {
|
|
765
783
|
if (t.length > 0) {
|
|
766
784
|
var n = t[t.length - 1];
|
|
@@ -783,7 +801,7 @@ var qt = {
|
|
|
783
801
|
return Re(t) && !t.shiftKey;
|
|
784
802
|
}, Ci = function(t) {
|
|
785
803
|
return Re(t) && t.shiftKey;
|
|
786
|
-
},
|
|
804
|
+
}, Yt = function(t) {
|
|
787
805
|
return setTimeout(t, 0);
|
|
788
806
|
}, xe = function(t) {
|
|
789
807
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
@@ -792,7 +810,7 @@ var qt = {
|
|
|
792
810
|
}, Ue = function(t) {
|
|
793
811
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
794
812
|
}, Ii = [], $i = function(t, r) {
|
|
795
|
-
var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ii, u =
|
|
813
|
+
var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ii, u = qt({
|
|
796
814
|
returnFocusOnDeactivate: !0,
|
|
797
815
|
escapeDeactivates: !0,
|
|
798
816
|
delayInitialFocus: !0,
|
|
@@ -837,7 +855,7 @@ var qt = {
|
|
|
837
855
|
recentNavEvent: void 0
|
|
838
856
|
}, d, b = function(l, f, m) {
|
|
839
857
|
return l && l[f] !== void 0 ? l[f] : u[m || f];
|
|
840
|
-
},
|
|
858
|
+
}, w = function(l, f) {
|
|
841
859
|
var m = typeof (f == null ? void 0 : f.composedPath) == "function" ? f.composedPath() : void 0;
|
|
842
860
|
return o.containerGroups.findIndex(function(F) {
|
|
843
861
|
var x = F.container, M = F.tabbableNodes;
|
|
@@ -849,38 +867,38 @@ var qt = {
|
|
|
849
867
|
return O === l;
|
|
850
868
|
});
|
|
851
869
|
});
|
|
852
|
-
},
|
|
870
|
+
}, T = function(l) {
|
|
853
871
|
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = f.hasFallback, F = m === void 0 ? !1 : m, x = f.params, M = x === void 0 ? [] : x, O = u[l];
|
|
854
872
|
if (typeof O == "function" && (O = O.apply(void 0, gi(M))), O === !0 && (O = void 0), !O) {
|
|
855
873
|
if (O === void 0 || O === !1)
|
|
856
874
|
return O;
|
|
857
875
|
throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
|
|
858
876
|
}
|
|
859
|
-
var
|
|
877
|
+
var k = O;
|
|
860
878
|
if (typeof O == "string") {
|
|
861
879
|
try {
|
|
862
|
-
|
|
880
|
+
k = n.querySelector(O);
|
|
863
881
|
} catch (v) {
|
|
864
882
|
throw new Error("`".concat(l, '` appears to be an invalid selector; error="').concat(v.message, '"'));
|
|
865
883
|
}
|
|
866
|
-
if (!
|
|
884
|
+
if (!k && !F)
|
|
867
885
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
|
868
886
|
}
|
|
869
|
-
return
|
|
887
|
+
return k;
|
|
870
888
|
}, R = function() {
|
|
871
|
-
var l =
|
|
889
|
+
var l = T("initialFocus", {
|
|
872
890
|
hasFallback: !0
|
|
873
891
|
});
|
|
874
892
|
if (l === !1)
|
|
875
893
|
return !1;
|
|
876
|
-
if (l === void 0 || l && !
|
|
877
|
-
if (
|
|
894
|
+
if (l === void 0 || l && !mt(l, u.tabbableOptions))
|
|
895
|
+
if (w(n.activeElement) >= 0)
|
|
878
896
|
l = n.activeElement;
|
|
879
897
|
else {
|
|
880
898
|
var f = o.tabbableGroups[0], m = f && f.firstTabbableNode;
|
|
881
|
-
l = m ||
|
|
899
|
+
l = m || T("fallbackFocus");
|
|
882
900
|
}
|
|
883
|
-
else l === null && (l =
|
|
901
|
+
else l === null && (l = T("fallbackFocus"));
|
|
884
902
|
if (!l)
|
|
885
903
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
886
904
|
return l;
|
|
@@ -890,7 +908,7 @@ var qt = {
|
|
|
890
908
|
return Oe(v);
|
|
891
909
|
}), O = m.slice().reverse().find(function(v) {
|
|
892
910
|
return Oe(v);
|
|
893
|
-
}),
|
|
911
|
+
}), k = !!f.find(function(v) {
|
|
894
912
|
return ke(v) > 0;
|
|
895
913
|
});
|
|
896
914
|
return {
|
|
@@ -898,7 +916,7 @@ var qt = {
|
|
|
898
916
|
tabbableNodes: f,
|
|
899
917
|
focusableNodes: m,
|
|
900
918
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
901
|
-
posTabIndexesFound:
|
|
919
|
+
posTabIndexesFound: k,
|
|
902
920
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
903
921
|
firstTabbableNode: F,
|
|
904
922
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
@@ -933,18 +951,18 @@ var qt = {
|
|
|
933
951
|
};
|
|
934
952
|
}), o.tabbableGroups = o.containerGroups.filter(function(l) {
|
|
935
953
|
return l.tabbableNodes.length > 0;
|
|
936
|
-
}), o.tabbableGroups.length <= 0 && !
|
|
954
|
+
}), o.tabbableGroups.length <= 0 && !T("fallbackFocus"))
|
|
937
955
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
938
956
|
if (o.containerGroups.find(function(l) {
|
|
939
957
|
return l.posTabIndexesFound;
|
|
940
958
|
}) && o.containerGroups.length > 1)
|
|
941
959
|
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.");
|
|
942
|
-
},
|
|
960
|
+
}, j = function(l) {
|
|
943
961
|
var f = l.activeElement;
|
|
944
962
|
if (f)
|
|
945
|
-
return f.shadowRoot && f.shadowRoot.activeElement !== null ?
|
|
963
|
+
return f.shadowRoot && f.shadowRoot.activeElement !== null ? j(f.shadowRoot) : f;
|
|
946
964
|
}, A = function(l) {
|
|
947
|
-
if (l !== !1 && l !==
|
|
965
|
+
if (l !== !1 && l !== j(document)) {
|
|
948
966
|
if (!l || !l.focus) {
|
|
949
967
|
A(R());
|
|
950
968
|
return;
|
|
@@ -953,8 +971,8 @@ var qt = {
|
|
|
953
971
|
preventScroll: !!u.preventScroll
|
|
954
972
|
}), o.mostRecentlyFocusedNode = l, Ti(l) && l.select();
|
|
955
973
|
}
|
|
956
|
-
},
|
|
957
|
-
var f =
|
|
974
|
+
}, P = function(l) {
|
|
975
|
+
var f = T("setReturnFocus", {
|
|
958
976
|
params: [l]
|
|
959
977
|
});
|
|
960
978
|
return f || (f === !1 ? !1 : l);
|
|
@@ -963,7 +981,7 @@ var qt = {
|
|
|
963
981
|
f = f || Ue(m), B();
|
|
964
982
|
var M = null;
|
|
965
983
|
if (o.tabbableGroups.length > 0) {
|
|
966
|
-
var O =
|
|
984
|
+
var O = w(f, m), k = O >= 0 ? o.containerGroups[O] : void 0;
|
|
967
985
|
if (O < 0)
|
|
968
986
|
x ? M = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : M = o.tabbableGroups[0].firstTabbableNode;
|
|
969
987
|
else if (x) {
|
|
@@ -971,26 +989,26 @@ var qt = {
|
|
|
971
989
|
var ce = X.firstTabbableNode;
|
|
972
990
|
return f === ce;
|
|
973
991
|
});
|
|
974
|
-
if (v < 0 && (
|
|
992
|
+
if (v < 0 && (k.container === f || mt(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !k.nextTabbableNode(f, !1)) && (v = O), v >= 0) {
|
|
975
993
|
var I = v === 0 ? o.tabbableGroups.length - 1 : v - 1, y = o.tabbableGroups[I];
|
|
976
994
|
M = ke(f) >= 0 ? y.lastTabbableNode : y.lastDomTabbableNode;
|
|
977
|
-
} else Re(m) || (M =
|
|
995
|
+
} else Re(m) || (M = k.nextTabbableNode(f, !1));
|
|
978
996
|
} else {
|
|
979
997
|
var g = o.tabbableGroups.findIndex(function(X) {
|
|
980
998
|
var ce = X.lastTabbableNode;
|
|
981
999
|
return f === ce;
|
|
982
1000
|
});
|
|
983
|
-
if (g < 0 && (
|
|
1001
|
+
if (g < 0 && (k.container === f || mt(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !k.nextTabbableNode(f)) && (g = O), g >= 0) {
|
|
984
1002
|
var Y = g === o.tabbableGroups.length - 1 ? 0 : g + 1, H = o.tabbableGroups[Y];
|
|
985
1003
|
M = ke(f) >= 0 ? H.firstTabbableNode : H.firstDomTabbableNode;
|
|
986
|
-
} else Re(m) || (M =
|
|
1004
|
+
} else Re(m) || (M = k.nextTabbableNode(f));
|
|
987
1005
|
}
|
|
988
1006
|
} else
|
|
989
|
-
M =
|
|
1007
|
+
M = T("fallbackFocus");
|
|
990
1008
|
return M;
|
|
991
1009
|
}, K = function(l) {
|
|
992
1010
|
var f = Ue(l);
|
|
993
|
-
if (!(
|
|
1011
|
+
if (!(w(f, l) >= 0)) {
|
|
994
1012
|
if (xe(u.clickOutsideDeactivates, l)) {
|
|
995
1013
|
d.deactivate({
|
|
996
1014
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
@@ -1006,7 +1024,7 @@ var qt = {
|
|
|
1006
1024
|
xe(u.allowOutsideClick, l) || l.preventDefault();
|
|
1007
1025
|
}
|
|
1008
1026
|
}, G = function(l) {
|
|
1009
|
-
var f = Ue(l), m =
|
|
1027
|
+
var f = Ue(l), m = w(f, l) >= 0;
|
|
1010
1028
|
if (m || f instanceof Document)
|
|
1011
1029
|
m && (o.mostRecentlyFocusedNode = f);
|
|
1012
1030
|
else {
|
|
@@ -1014,12 +1032,12 @@ var qt = {
|
|
|
1014
1032
|
var F, x = !0;
|
|
1015
1033
|
if (o.mostRecentlyFocusedNode)
|
|
1016
1034
|
if (ke(o.mostRecentlyFocusedNode) > 0) {
|
|
1017
|
-
var M =
|
|
1035
|
+
var M = w(o.mostRecentlyFocusedNode), O = o.containerGroups[M].tabbableNodes;
|
|
1018
1036
|
if (O.length > 0) {
|
|
1019
|
-
var
|
|
1037
|
+
var k = O.findIndex(function(v) {
|
|
1020
1038
|
return v === o.mostRecentlyFocusedNode;
|
|
1021
1039
|
});
|
|
1022
|
-
|
|
1040
|
+
k >= 0 && (u.isKeyForward(o.recentNavEvent) ? k + 1 < O.length && (F = O[k + 1], x = !1) : k - 1 >= 0 && (F = O[k - 1], x = !1));
|
|
1023
1041
|
}
|
|
1024
1042
|
} else
|
|
1025
1043
|
o.containerGroups.some(function(v) {
|
|
@@ -1051,10 +1069,10 @@ var qt = {
|
|
|
1051
1069
|
Si(l) && xe(u.escapeDeactivates, l) !== !1 && (l.preventDefault(), d.deactivate());
|
|
1052
1070
|
}, q = function(l) {
|
|
1053
1071
|
var f = Ue(l);
|
|
1054
|
-
|
|
1072
|
+
w(f, l) >= 0 || xe(u.clickOutsideDeactivates, l) || xe(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
|
|
1055
1073
|
}, se = function() {
|
|
1056
1074
|
if (o.active)
|
|
1057
|
-
return
|
|
1075
|
+
return Xt.activateTrap(s, d), o.delayInitialFocusTimer = u.delayInitialFocus ? Yt(function() {
|
|
1058
1076
|
A(R());
|
|
1059
1077
|
}) : A(R()), n.addEventListener("focusin", G, !0), n.addEventListener("mousedown", K, {
|
|
1060
1078
|
capture: !0,
|
|
@@ -1080,7 +1098,7 @@ var qt = {
|
|
|
1080
1098
|
});
|
|
1081
1099
|
});
|
|
1082
1100
|
f && A(R());
|
|
1083
|
-
}, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(z) : void 0,
|
|
1101
|
+
}, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(z) : void 0, V = function() {
|
|
1084
1102
|
Z && (Z.disconnect(), o.active && !o.paused && o.containers.map(function(l) {
|
|
1085
1103
|
Z.observe(l, {
|
|
1086
1104
|
subtree: !0,
|
|
@@ -1099,29 +1117,29 @@ var qt = {
|
|
|
1099
1117
|
if (o.active)
|
|
1100
1118
|
return this;
|
|
1101
1119
|
var f = b(l, "onActivate"), m = b(l, "onPostActivate"), F = b(l, "checkCanFocusTrap");
|
|
1102
|
-
F || B(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation =
|
|
1120
|
+
F || B(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = j(n), f == null || f();
|
|
1103
1121
|
var x = function() {
|
|
1104
|
-
F && B(), se(),
|
|
1122
|
+
F && B(), se(), V(), m == null || m();
|
|
1105
1123
|
};
|
|
1106
1124
|
return F ? (F(o.containers.concat()).then(x, x), this) : (x(), this);
|
|
1107
1125
|
},
|
|
1108
1126
|
deactivate: function(l) {
|
|
1109
1127
|
if (!o.active)
|
|
1110
1128
|
return this;
|
|
1111
|
-
var f =
|
|
1129
|
+
var f = qt({
|
|
1112
1130
|
onDeactivate: u.onDeactivate,
|
|
1113
1131
|
onPostDeactivate: u.onPostDeactivate,
|
|
1114
1132
|
checkCanReturnFocus: u.checkCanReturnFocus
|
|
1115
1133
|
}, l);
|
|
1116
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, N(), o.active = !1, o.paused = !1,
|
|
1134
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, N(), o.active = !1, o.paused = !1, V(), Xt.deactivateTrap(s, d);
|
|
1117
1135
|
var m = b(f, "onDeactivate"), F = b(f, "onPostDeactivate"), x = b(f, "checkCanReturnFocus"), M = b(f, "returnFocus", "returnFocusOnDeactivate");
|
|
1118
1136
|
m == null || m();
|
|
1119
1137
|
var O = function() {
|
|
1120
|
-
|
|
1121
|
-
M && A(
|
|
1138
|
+
Yt(function() {
|
|
1139
|
+
M && A(P(o.nodeFocusedBeforeActivation)), F == null || F();
|
|
1122
1140
|
});
|
|
1123
1141
|
};
|
|
1124
|
-
return M && x ? (x(
|
|
1142
|
+
return M && x ? (x(P(o.nodeFocusedBeforeActivation)).then(O, O), this) : (O(), this);
|
|
1125
1143
|
},
|
|
1126
1144
|
pause: function(l) {
|
|
1127
1145
|
return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, l)) : this;
|
|
@@ -1133,7 +1151,7 @@ var qt = {
|
|
|
1133
1151
|
var f = [].concat(l).filter(Boolean);
|
|
1134
1152
|
return o.containers = f.map(function(m) {
|
|
1135
1153
|
return typeof m == "string" ? n.querySelector(m) : m;
|
|
1136
|
-
}), o.active && B(),
|
|
1154
|
+
}), o.active && B(), V(), this;
|
|
1137
1155
|
}
|
|
1138
1156
|
}, Object.defineProperties(d, {
|
|
1139
1157
|
_isManuallyPaused: {
|
|
@@ -1147,10 +1165,10 @@ var qt = {
|
|
|
1147
1165
|
return this;
|
|
1148
1166
|
if (o.paused = l, l) {
|
|
1149
1167
|
var m = b(f, "onPause"), F = b(f, "onPostPause");
|
|
1150
|
-
m == null || m(), N(),
|
|
1168
|
+
m == null || m(), N(), V(), F == null || F();
|
|
1151
1169
|
} else {
|
|
1152
1170
|
var x = b(f, "onUnpause"), M = b(f, "onPostUnpause");
|
|
1153
|
-
x == null || x(), B(), se(),
|
|
1171
|
+
x == null || x(), B(), se(), V(), M == null || M();
|
|
1154
1172
|
}
|
|
1155
1173
|
return this;
|
|
1156
1174
|
}
|
|
@@ -1234,11 +1252,11 @@ const Oi = {
|
|
|
1234
1252
|
preventScroll: a.preventScroll
|
|
1235
1253
|
}));
|
|
1236
1254
|
}
|
|
1237
|
-
return
|
|
1255
|
+
return Ke(() => {
|
|
1238
1256
|
Te(() => a.active, (d) => {
|
|
1239
1257
|
d && u.value ? o().activate() : n && (n.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (n = null));
|
|
1240
1258
|
}, { immediate: !0, flush: "post" });
|
|
1241
|
-
}),
|
|
1259
|
+
}), Nn(() => {
|
|
1242
1260
|
n && n.deactivate(), n = null;
|
|
1243
1261
|
}), {
|
|
1244
1262
|
activate() {
|
|
@@ -1250,13 +1268,13 @@ const Oi = {
|
|
|
1250
1268
|
renderImpl() {
|
|
1251
1269
|
if (!t.default)
|
|
1252
1270
|
return null;
|
|
1253
|
-
const d = t.default().filter((
|
|
1254
|
-
return !d || !d.length || d.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), d) :
|
|
1271
|
+
const d = t.default().filter((w) => w.type !== Dn);
|
|
1272
|
+
return !d || !d.length || d.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), d) : xn(d[0], { ref: s });
|
|
1255
1273
|
}
|
|
1256
1274
|
};
|
|
1257
1275
|
}
|
|
1258
1276
|
});
|
|
1259
|
-
function
|
|
1277
|
+
function ua() {
|
|
1260
1278
|
return {
|
|
1261
1279
|
debounce: (t, r) => {
|
|
1262
1280
|
let n;
|
|
@@ -1268,46 +1286,46 @@ function ca() {
|
|
|
1268
1286
|
}
|
|
1269
1287
|
};
|
|
1270
1288
|
}
|
|
1271
|
-
var
|
|
1289
|
+
var qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1272
1290
|
function Ai(a) {
|
|
1273
1291
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1274
1292
|
}
|
|
1275
|
-
var
|
|
1276
|
-
|
|
1293
|
+
var at = { exports: {} };
|
|
1294
|
+
at.exports;
|
|
1277
1295
|
(function(a, t) {
|
|
1278
|
-
var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", d = "[object Boolean]", b = "[object Date]",
|
|
1279
|
-
|
|
1280
|
-
var v = typeof
|
|
1296
|
+
var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", d = "[object Boolean]", b = "[object Date]", w = "[object Error]", T = "[object Function]", R = "[object GeneratorFunction]", B = "[object Map]", j = "[object Number]", A = "[object Object]", P = "[object Promise]", ne = "[object RegExp]", K = "[object Set]", G = "[object String]", fe = "[object Symbol]", le = "[object WeakMap]", J = "[object ArrayBuffer]", q = "[object DataView]", se = "[object Float32Array]", N = "[object Float64Array]", z = "[object Int8Array]", Z = "[object Int16Array]", V = "[object Int32Array]", D = "[object Uint8Array]", l = "[object Uint8ClampedArray]", f = "[object Uint16Array]", m = "[object Uint32Array]", F = /[\\^$.*+?()[\]{}|]/g, x = /\w*$/, M = /^\[object .+?Constructor\]$/, O = /^(?:0|[1-9]\d*)$/, k = {};
|
|
1297
|
+
k[u] = k[o] = k[J] = k[q] = k[d] = k[b] = k[se] = k[N] = k[z] = k[Z] = k[V] = k[B] = k[j] = k[A] = k[ne] = k[K] = k[G] = k[fe] = k[D] = k[l] = k[f] = k[m] = !0, k[w] = k[T] = k[le] = !1;
|
|
1298
|
+
var v = typeof qe == "object" && qe && qe.Object === Object && qe, I = typeof self == "object" && self && self.Object === Object && self, y = v || I || Function("return this")(), g = t && !t.nodeType && t, Y = g && !0 && a && !a.nodeType && a, H = Y && Y.exports === g;
|
|
1281
1299
|
function X(e, i) {
|
|
1282
1300
|
return e.set(i[0], i[1]), e;
|
|
1283
1301
|
}
|
|
1284
1302
|
function ce(e, i) {
|
|
1285
1303
|
return e.add(i), e;
|
|
1286
1304
|
}
|
|
1287
|
-
function
|
|
1305
|
+
function da(e, i) {
|
|
1288
1306
|
for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
|
|
1289
1307
|
;
|
|
1290
1308
|
return e;
|
|
1291
1309
|
}
|
|
1292
|
-
function
|
|
1293
|
-
for (var c = -1, h = i.length,
|
|
1294
|
-
e[
|
|
1310
|
+
function fa(e, i) {
|
|
1311
|
+
for (var c = -1, h = i.length, U = e.length; ++c < h; )
|
|
1312
|
+
e[U + c] = i[c];
|
|
1295
1313
|
return e;
|
|
1296
1314
|
}
|
|
1297
|
-
function
|
|
1298
|
-
for (var
|
|
1299
|
-
c = i(c, e[
|
|
1315
|
+
function kt(e, i, c, h) {
|
|
1316
|
+
for (var U = -1, ee = e ? e.length : 0; ++U < ee; )
|
|
1317
|
+
c = i(c, e[U], U, e);
|
|
1300
1318
|
return c;
|
|
1301
1319
|
}
|
|
1302
|
-
function
|
|
1320
|
+
function va(e, i) {
|
|
1303
1321
|
for (var c = -1, h = Array(e); ++c < e; )
|
|
1304
1322
|
h[c] = i(c);
|
|
1305
1323
|
return h;
|
|
1306
1324
|
}
|
|
1307
|
-
function
|
|
1325
|
+
function ba(e, i) {
|
|
1308
1326
|
return e == null ? void 0 : e[i];
|
|
1309
1327
|
}
|
|
1310
|
-
function
|
|
1328
|
+
function Tt(e) {
|
|
1311
1329
|
var i = !1;
|
|
1312
1330
|
if (e != null && typeof e.toString != "function")
|
|
1313
1331
|
try {
|
|
@@ -1316,29 +1334,29 @@ tt.exports;
|
|
|
1316
1334
|
}
|
|
1317
1335
|
return i;
|
|
1318
1336
|
}
|
|
1319
|
-
function
|
|
1337
|
+
function St(e) {
|
|
1320
1338
|
var i = -1, c = Array(e.size);
|
|
1321
|
-
return e.forEach(function(h,
|
|
1322
|
-
c[++i] = [
|
|
1339
|
+
return e.forEach(function(h, U) {
|
|
1340
|
+
c[++i] = [U, h];
|
|
1323
1341
|
}), c;
|
|
1324
1342
|
}
|
|
1325
|
-
function
|
|
1343
|
+
function nt(e, i) {
|
|
1326
1344
|
return function(c) {
|
|
1327
1345
|
return e(i(c));
|
|
1328
1346
|
};
|
|
1329
1347
|
}
|
|
1330
|
-
function
|
|
1348
|
+
function _t(e) {
|
|
1331
1349
|
var i = -1, c = Array(e.size);
|
|
1332
1350
|
return e.forEach(function(h) {
|
|
1333
1351
|
c[++i] = h;
|
|
1334
1352
|
}), c;
|
|
1335
1353
|
}
|
|
1336
|
-
var
|
|
1337
|
-
var e = /[^.]+$/.exec(
|
|
1354
|
+
var pa = Array.prototype, ha = Function.prototype, Ze = Object.prototype, rt = y["__core-js_shared__"], Ct = function() {
|
|
1355
|
+
var e = /[^.]+$/.exec(rt && rt.keys && rt.keys.IE_PROTO || "");
|
|
1338
1356
|
return e ? "Symbol(src)_1." + e : "";
|
|
1339
|
-
}(),
|
|
1340
|
-
"^" +
|
|
1341
|
-
),
|
|
1357
|
+
}(), It = ha.toString, ve = Ze.hasOwnProperty, He = Ze.toString, ma = RegExp(
|
|
1358
|
+
"^" + It.call(ve).replace(F, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1359
|
+
), $t = H ? y.Buffer : void 0, Ot = y.Symbol, Et = y.Uint8Array, ga = nt(Object.getPrototypeOf, Object), ya = Object.create, wa = Ze.propertyIsEnumerable, ka = pa.splice, At = Object.getOwnPropertySymbols, Ta = $t ? $t.isBuffer : void 0, Sa = nt(Object.keys, Object), it = Ie(y, "DataView"), Ne = Ie(y, "Map"), ot = Ie(y, "Promise"), st = Ie(y, "Set"), lt = Ie(y, "WeakMap"), De = Ie(Object, "create"), _a = ye(it), Ca = ye(Ne), Ia = ye(ot), $a = ye(st), Oa = ye(lt), Ft = Ot ? Ot.prototype : void 0, Nt = Ft ? Ft.valueOf : void 0;
|
|
1342
1360
|
function me(e) {
|
|
1343
1361
|
var i = -1, c = e ? e.length : 0;
|
|
1344
1362
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1346,13 +1364,13 @@ tt.exports;
|
|
|
1346
1364
|
this.set(h[0], h[1]);
|
|
1347
1365
|
}
|
|
1348
1366
|
}
|
|
1349
|
-
function
|
|
1367
|
+
function Ea() {
|
|
1350
1368
|
this.__data__ = De ? De(null) : {};
|
|
1351
1369
|
}
|
|
1352
|
-
function
|
|
1370
|
+
function Aa(e) {
|
|
1353
1371
|
return this.has(e) && delete this.__data__[e];
|
|
1354
1372
|
}
|
|
1355
|
-
function
|
|
1373
|
+
function Fa(e) {
|
|
1356
1374
|
var i = this.__data__;
|
|
1357
1375
|
if (De) {
|
|
1358
1376
|
var c = i[e];
|
|
@@ -1360,15 +1378,15 @@ tt.exports;
|
|
|
1360
1378
|
}
|
|
1361
1379
|
return ve.call(i, e) ? i[e] : void 0;
|
|
1362
1380
|
}
|
|
1363
|
-
function
|
|
1381
|
+
function Na(e) {
|
|
1364
1382
|
var i = this.__data__;
|
|
1365
1383
|
return De ? i[e] !== void 0 : ve.call(i, e);
|
|
1366
1384
|
}
|
|
1367
|
-
function
|
|
1385
|
+
function Da(e, i) {
|
|
1368
1386
|
var c = this.__data__;
|
|
1369
1387
|
return c[e] = De && i === void 0 ? n : i, this;
|
|
1370
1388
|
}
|
|
1371
|
-
me.prototype.clear =
|
|
1389
|
+
me.prototype.clear = Ea, me.prototype.delete = Aa, me.prototype.get = Fa, me.prototype.has = Na, me.prototype.set = Da;
|
|
1372
1390
|
function ue(e) {
|
|
1373
1391
|
var i = -1, c = e ? e.length : 0;
|
|
1374
1392
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1376,28 +1394,28 @@ tt.exports;
|
|
|
1376
1394
|
this.set(h[0], h[1]);
|
|
1377
1395
|
}
|
|
1378
1396
|
}
|
|
1379
|
-
function
|
|
1397
|
+
function xa() {
|
|
1380
1398
|
this.__data__ = [];
|
|
1381
1399
|
}
|
|
1382
|
-
function
|
|
1383
|
-
var i = this.__data__, c =
|
|
1400
|
+
function Ra(e) {
|
|
1401
|
+
var i = this.__data__, c = We(i, e);
|
|
1384
1402
|
if (c < 0)
|
|
1385
1403
|
return !1;
|
|
1386
1404
|
var h = i.length - 1;
|
|
1387
|
-
return c == h ? i.pop() :
|
|
1405
|
+
return c == h ? i.pop() : ka.call(i, c, 1), !0;
|
|
1388
1406
|
}
|
|
1389
|
-
function
|
|
1390
|
-
var i = this.__data__, c =
|
|
1407
|
+
function Ba(e) {
|
|
1408
|
+
var i = this.__data__, c = We(i, e);
|
|
1391
1409
|
return c < 0 ? void 0 : i[c][1];
|
|
1392
1410
|
}
|
|
1393
|
-
function
|
|
1394
|
-
return
|
|
1411
|
+
function Ma(e) {
|
|
1412
|
+
return We(this.__data__, e) > -1;
|
|
1395
1413
|
}
|
|
1396
|
-
function
|
|
1397
|
-
var c = this.__data__, h =
|
|
1414
|
+
function La(e, i) {
|
|
1415
|
+
var c = this.__data__, h = We(c, e);
|
|
1398
1416
|
return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
|
|
1399
1417
|
}
|
|
1400
|
-
ue.prototype.clear =
|
|
1418
|
+
ue.prototype.clear = xa, ue.prototype.delete = Ra, ue.prototype.get = Ba, ue.prototype.has = Ma, ue.prototype.set = La;
|
|
1401
1419
|
function _e(e) {
|
|
1402
1420
|
var i = -1, c = e ? e.length : 0;
|
|
1403
1421
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1405,7 +1423,7 @@ tt.exports;
|
|
|
1405
1423
|
this.set(h[0], h[1]);
|
|
1406
1424
|
}
|
|
1407
1425
|
}
|
|
1408
|
-
function
|
|
1426
|
+
function Pa() {
|
|
1409
1427
|
this.__data__ = {
|
|
1410
1428
|
hash: new me(),
|
|
1411
1429
|
map: new (Ne || ue)(),
|
|
@@ -1413,31 +1431,31 @@ tt.exports;
|
|
|
1413
1431
|
};
|
|
1414
1432
|
}
|
|
1415
1433
|
function ja(e) {
|
|
1416
|
-
return
|
|
1417
|
-
}
|
|
1418
|
-
function Pa(e) {
|
|
1419
|
-
return We(this, e).get(e);
|
|
1434
|
+
return Ge(this, e).delete(e);
|
|
1420
1435
|
}
|
|
1421
1436
|
function Ka(e) {
|
|
1422
|
-
return
|
|
1437
|
+
return Ge(this, e).get(e);
|
|
1423
1438
|
}
|
|
1424
|
-
function Za(e
|
|
1425
|
-
return
|
|
1439
|
+
function Za(e) {
|
|
1440
|
+
return Ge(this, e).has(e);
|
|
1426
1441
|
}
|
|
1427
|
-
|
|
1442
|
+
function Ha(e, i) {
|
|
1443
|
+
return Ge(this, e).set(e, i), this;
|
|
1444
|
+
}
|
|
1445
|
+
_e.prototype.clear = Pa, _e.prototype.delete = ja, _e.prototype.get = Ka, _e.prototype.has = Za, _e.prototype.set = Ha;
|
|
1428
1446
|
function Ce(e) {
|
|
1429
1447
|
this.__data__ = new ue(e);
|
|
1430
1448
|
}
|
|
1431
|
-
function
|
|
1449
|
+
function Wa() {
|
|
1432
1450
|
this.__data__ = new ue();
|
|
1433
1451
|
}
|
|
1434
|
-
function
|
|
1452
|
+
function Ga(e) {
|
|
1435
1453
|
return this.__data__.delete(e);
|
|
1436
1454
|
}
|
|
1437
|
-
function
|
|
1455
|
+
function za(e) {
|
|
1438
1456
|
return this.__data__.get(e);
|
|
1439
1457
|
}
|
|
1440
|
-
function
|
|
1458
|
+
function Va(e) {
|
|
1441
1459
|
return this.__data__.has(e);
|
|
1442
1460
|
}
|
|
1443
1461
|
function Ua(e, i) {
|
|
@@ -1450,222 +1468,222 @@ tt.exports;
|
|
|
1450
1468
|
}
|
|
1451
1469
|
return c.set(e, i), this;
|
|
1452
1470
|
}
|
|
1453
|
-
Ce.prototype.clear =
|
|
1454
|
-
function
|
|
1455
|
-
var c =
|
|
1471
|
+
Ce.prototype.clear = Wa, Ce.prototype.delete = Ga, Ce.prototype.get = za, Ce.prototype.has = Va, Ce.prototype.set = Ua;
|
|
1472
|
+
function qa(e, i) {
|
|
1473
|
+
var c = dt(e) || wn(e) ? va(e.length, String) : [], h = c.length, U = !!h;
|
|
1456
1474
|
for (var ee in e)
|
|
1457
|
-
ve.call(e, ee) && !(
|
|
1475
|
+
ve.call(e, ee) && !(U && (ee == "length" || hn(ee, h))) && c.push(ee);
|
|
1458
1476
|
return c;
|
|
1459
1477
|
}
|
|
1460
|
-
function
|
|
1478
|
+
function Dt(e, i, c) {
|
|
1461
1479
|
var h = e[i];
|
|
1462
|
-
(!(ve.call(e, i) &&
|
|
1480
|
+
(!(ve.call(e, i) && Mt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
|
|
1463
1481
|
}
|
|
1464
|
-
function
|
|
1482
|
+
function We(e, i) {
|
|
1465
1483
|
for (var c = e.length; c--; )
|
|
1466
|
-
if (
|
|
1484
|
+
if (Mt(e[c][0], i))
|
|
1467
1485
|
return c;
|
|
1468
1486
|
return -1;
|
|
1469
1487
|
}
|
|
1470
|
-
function
|
|
1471
|
-
return e &&
|
|
1488
|
+
function Xa(e, i) {
|
|
1489
|
+
return e && xt(i, ft(i), e);
|
|
1472
1490
|
}
|
|
1473
|
-
function
|
|
1491
|
+
function ct(e, i, c, h, U, ee, de) {
|
|
1474
1492
|
var te;
|
|
1475
|
-
if (h && (te = ee ? h(e,
|
|
1493
|
+
if (h && (te = ee ? h(e, U, ee, de) : h(e)), te !== void 0)
|
|
1476
1494
|
return te;
|
|
1477
|
-
if (!
|
|
1495
|
+
if (!ze(e))
|
|
1478
1496
|
return e;
|
|
1479
|
-
var jt =
|
|
1497
|
+
var jt = dt(e);
|
|
1480
1498
|
if (jt) {
|
|
1481
|
-
if (te =
|
|
1482
|
-
return
|
|
1499
|
+
if (te = vn(e), !i)
|
|
1500
|
+
return un(e, te);
|
|
1483
1501
|
} else {
|
|
1484
|
-
var $e = ge(e),
|
|
1485
|
-
if (
|
|
1486
|
-
return
|
|
1487
|
-
if ($e == A || $e == u ||
|
|
1488
|
-
if (
|
|
1502
|
+
var $e = ge(e), Kt = $e == T || $e == R;
|
|
1503
|
+
if (Tn(e))
|
|
1504
|
+
return an(e, i);
|
|
1505
|
+
if ($e == A || $e == u || Kt && !ee) {
|
|
1506
|
+
if (Tt(e))
|
|
1489
1507
|
return ee ? e : {};
|
|
1490
|
-
if (te =
|
|
1491
|
-
return
|
|
1508
|
+
if (te = bn(Kt ? {} : e), !i)
|
|
1509
|
+
return dn(e, Xa(te, e));
|
|
1492
1510
|
} else {
|
|
1493
|
-
if (!
|
|
1511
|
+
if (!k[$e])
|
|
1494
1512
|
return ee ? e : {};
|
|
1495
|
-
te =
|
|
1513
|
+
te = pn(e, $e, ct, i);
|
|
1496
1514
|
}
|
|
1497
1515
|
}
|
|
1498
1516
|
de || (de = new Ce());
|
|
1499
|
-
var
|
|
1500
|
-
if (
|
|
1501
|
-
return
|
|
1517
|
+
var Zt = de.get(e);
|
|
1518
|
+
if (Zt)
|
|
1519
|
+
return Zt;
|
|
1502
1520
|
if (de.set(e, te), !jt)
|
|
1503
|
-
var
|
|
1504
|
-
return
|
|
1505
|
-
|
|
1521
|
+
var Ht = c ? fn(e) : ft(e);
|
|
1522
|
+
return da(Ht || e, function(vt, Ve) {
|
|
1523
|
+
Ht && (Ve = vt, vt = e[Ve]), Dt(te, Ve, ct(vt, i, c, h, Ve, e, de));
|
|
1506
1524
|
}), te;
|
|
1507
1525
|
}
|
|
1508
|
-
function
|
|
1509
|
-
return
|
|
1526
|
+
function Ya(e) {
|
|
1527
|
+
return ze(e) ? ya(e) : {};
|
|
1510
1528
|
}
|
|
1511
|
-
function
|
|
1529
|
+
function Qa(e, i, c) {
|
|
1512
1530
|
var h = i(e);
|
|
1513
|
-
return
|
|
1514
|
-
}
|
|
1515
|
-
function Qa(e) {
|
|
1516
|
-
return Ze.call(e);
|
|
1531
|
+
return dt(e) ? h : fa(h, c(e));
|
|
1517
1532
|
}
|
|
1518
1533
|
function Ja(e) {
|
|
1519
|
-
|
|
1534
|
+
return He.call(e);
|
|
1535
|
+
}
|
|
1536
|
+
function en(e) {
|
|
1537
|
+
if (!ze(e) || gn(e))
|
|
1520
1538
|
return !1;
|
|
1521
|
-
var i =
|
|
1539
|
+
var i = Pt(e) || Tt(e) ? ma : M;
|
|
1522
1540
|
return i.test(ye(e));
|
|
1523
1541
|
}
|
|
1524
|
-
function
|
|
1525
|
-
if (!
|
|
1526
|
-
return
|
|
1542
|
+
function tn(e) {
|
|
1543
|
+
if (!Bt(e))
|
|
1544
|
+
return Sa(e);
|
|
1527
1545
|
var i = [];
|
|
1528
1546
|
for (var c in Object(e))
|
|
1529
1547
|
ve.call(e, c) && c != "constructor" && i.push(c);
|
|
1530
1548
|
return i;
|
|
1531
1549
|
}
|
|
1532
|
-
function
|
|
1550
|
+
function an(e, i) {
|
|
1533
1551
|
if (i)
|
|
1534
1552
|
return e.slice();
|
|
1535
1553
|
var c = new e.constructor(e.length);
|
|
1536
1554
|
return e.copy(c), c;
|
|
1537
1555
|
}
|
|
1538
|
-
function
|
|
1556
|
+
function ut(e) {
|
|
1539
1557
|
var i = new e.constructor(e.byteLength);
|
|
1540
|
-
return new
|
|
1558
|
+
return new Et(i).set(new Et(e)), i;
|
|
1541
1559
|
}
|
|
1542
|
-
function
|
|
1543
|
-
var c = i ?
|
|
1560
|
+
function nn(e, i) {
|
|
1561
|
+
var c = i ? ut(e.buffer) : e.buffer;
|
|
1544
1562
|
return new e.constructor(c, e.byteOffset, e.byteLength);
|
|
1545
1563
|
}
|
|
1546
|
-
function
|
|
1547
|
-
var h = i ? c(
|
|
1548
|
-
return
|
|
1564
|
+
function rn(e, i, c) {
|
|
1565
|
+
var h = i ? c(St(e), !0) : St(e);
|
|
1566
|
+
return kt(h, X, new e.constructor());
|
|
1549
1567
|
}
|
|
1550
|
-
function
|
|
1568
|
+
function on(e) {
|
|
1551
1569
|
var i = new e.constructor(e.source, x.exec(e));
|
|
1552
1570
|
return i.lastIndex = e.lastIndex, i;
|
|
1553
1571
|
}
|
|
1554
|
-
function
|
|
1555
|
-
var h = i ? c(
|
|
1556
|
-
return
|
|
1572
|
+
function sn(e, i, c) {
|
|
1573
|
+
var h = i ? c(_t(e), !0) : _t(e);
|
|
1574
|
+
return kt(h, ce, new e.constructor());
|
|
1557
1575
|
}
|
|
1558
|
-
function
|
|
1559
|
-
return
|
|
1576
|
+
function ln(e) {
|
|
1577
|
+
return Nt ? Object(Nt.call(e)) : {};
|
|
1560
1578
|
}
|
|
1561
|
-
function
|
|
1562
|
-
var c = i ?
|
|
1579
|
+
function cn(e, i) {
|
|
1580
|
+
var c = i ? ut(e.buffer) : e.buffer;
|
|
1563
1581
|
return new e.constructor(c, e.byteOffset, e.length);
|
|
1564
1582
|
}
|
|
1565
|
-
function
|
|
1583
|
+
function un(e, i) {
|
|
1566
1584
|
var c = -1, h = e.length;
|
|
1567
1585
|
for (i || (i = Array(h)); ++c < h; )
|
|
1568
1586
|
i[c] = e[c];
|
|
1569
1587
|
return i;
|
|
1570
1588
|
}
|
|
1571
|
-
function
|
|
1589
|
+
function xt(e, i, c, h) {
|
|
1572
1590
|
c || (c = {});
|
|
1573
|
-
for (var
|
|
1574
|
-
var de = i[
|
|
1575
|
-
|
|
1591
|
+
for (var U = -1, ee = i.length; ++U < ee; ) {
|
|
1592
|
+
var de = i[U], te = void 0;
|
|
1593
|
+
Dt(c, de, te === void 0 ? e[de] : te);
|
|
1576
1594
|
}
|
|
1577
1595
|
return c;
|
|
1578
1596
|
}
|
|
1579
|
-
function
|
|
1580
|
-
return
|
|
1597
|
+
function dn(e, i) {
|
|
1598
|
+
return xt(e, Rt(e), i);
|
|
1581
1599
|
}
|
|
1582
|
-
function
|
|
1583
|
-
return
|
|
1600
|
+
function fn(e) {
|
|
1601
|
+
return Qa(e, ft, Rt);
|
|
1584
1602
|
}
|
|
1585
|
-
function
|
|
1603
|
+
function Ge(e, i) {
|
|
1586
1604
|
var c = e.__data__;
|
|
1587
|
-
return
|
|
1605
|
+
return mn(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
|
|
1588
1606
|
}
|
|
1589
1607
|
function Ie(e, i) {
|
|
1590
|
-
var c =
|
|
1591
|
-
return
|
|
1608
|
+
var c = ba(e, i);
|
|
1609
|
+
return en(c) ? c : void 0;
|
|
1592
1610
|
}
|
|
1593
|
-
var
|
|
1594
|
-
(
|
|
1595
|
-
var i =
|
|
1611
|
+
var Rt = At ? nt(At, Object) : Cn, ge = Ja;
|
|
1612
|
+
(it && ge(new it(new ArrayBuffer(1))) != q || Ne && ge(new Ne()) != B || ot && ge(ot.resolve()) != P || st && ge(new st()) != K || lt && ge(new lt()) != le) && (ge = function(e) {
|
|
1613
|
+
var i = He.call(e), c = i == A ? e.constructor : void 0, h = c ? ye(c) : void 0;
|
|
1596
1614
|
if (h)
|
|
1597
1615
|
switch (h) {
|
|
1598
|
-
case Sa:
|
|
1599
|
-
return q;
|
|
1600
1616
|
case _a:
|
|
1601
|
-
return
|
|
1617
|
+
return q;
|
|
1602
1618
|
case Ca:
|
|
1603
|
-
return
|
|
1619
|
+
return B;
|
|
1604
1620
|
case Ia:
|
|
1605
|
-
return
|
|
1621
|
+
return P;
|
|
1606
1622
|
case $a:
|
|
1623
|
+
return K;
|
|
1624
|
+
case Oa:
|
|
1607
1625
|
return le;
|
|
1608
1626
|
}
|
|
1609
1627
|
return i;
|
|
1610
1628
|
});
|
|
1611
|
-
function
|
|
1629
|
+
function vn(e) {
|
|
1612
1630
|
var i = e.length, c = e.constructor(i);
|
|
1613
1631
|
return i && typeof e[0] == "string" && ve.call(e, "index") && (c.index = e.index, c.input = e.input), c;
|
|
1614
1632
|
}
|
|
1615
|
-
function
|
|
1616
|
-
return typeof e.constructor == "function" && !
|
|
1633
|
+
function bn(e) {
|
|
1634
|
+
return typeof e.constructor == "function" && !Bt(e) ? Ya(ga(e)) : {};
|
|
1617
1635
|
}
|
|
1618
|
-
function
|
|
1619
|
-
var
|
|
1636
|
+
function pn(e, i, c, h) {
|
|
1637
|
+
var U = e.constructor;
|
|
1620
1638
|
switch (i) {
|
|
1621
1639
|
case J:
|
|
1622
|
-
return
|
|
1640
|
+
return ut(e);
|
|
1623
1641
|
case d:
|
|
1624
1642
|
case b:
|
|
1625
|
-
return new
|
|
1643
|
+
return new U(+e);
|
|
1626
1644
|
case q:
|
|
1627
|
-
return
|
|
1645
|
+
return nn(e, h);
|
|
1628
1646
|
case se:
|
|
1629
1647
|
case N:
|
|
1630
1648
|
case z:
|
|
1631
1649
|
case Z:
|
|
1632
|
-
case
|
|
1650
|
+
case V:
|
|
1633
1651
|
case D:
|
|
1634
1652
|
case l:
|
|
1635
1653
|
case f:
|
|
1636
1654
|
case m:
|
|
1637
|
-
return
|
|
1655
|
+
return cn(e, h);
|
|
1638
1656
|
case B:
|
|
1639
|
-
return
|
|
1640
|
-
case
|
|
1657
|
+
return rn(e, h, c);
|
|
1658
|
+
case j:
|
|
1641
1659
|
case G:
|
|
1642
|
-
return new
|
|
1660
|
+
return new U(e);
|
|
1643
1661
|
case ne:
|
|
1644
|
-
return
|
|
1662
|
+
return on(e);
|
|
1645
1663
|
case K:
|
|
1646
|
-
return
|
|
1664
|
+
return sn(e, h, c);
|
|
1647
1665
|
case fe:
|
|
1648
|
-
return
|
|
1666
|
+
return ln(e);
|
|
1649
1667
|
}
|
|
1650
1668
|
}
|
|
1651
|
-
function
|
|
1669
|
+
function hn(e, i) {
|
|
1652
1670
|
return i = i ?? s, !!i && (typeof e == "number" || O.test(e)) && e > -1 && e % 1 == 0 && e < i;
|
|
1653
1671
|
}
|
|
1654
|
-
function
|
|
1672
|
+
function mn(e) {
|
|
1655
1673
|
var i = typeof e;
|
|
1656
1674
|
return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
|
|
1657
1675
|
}
|
|
1658
|
-
function
|
|
1659
|
-
return !!
|
|
1676
|
+
function gn(e) {
|
|
1677
|
+
return !!Ct && Ct in e;
|
|
1660
1678
|
}
|
|
1661
|
-
function
|
|
1662
|
-
var i = e && e.constructor, c = typeof i == "function" && i.prototype ||
|
|
1679
|
+
function Bt(e) {
|
|
1680
|
+
var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ze;
|
|
1663
1681
|
return e === c;
|
|
1664
1682
|
}
|
|
1665
1683
|
function ye(e) {
|
|
1666
1684
|
if (e != null) {
|
|
1667
1685
|
try {
|
|
1668
|
-
return
|
|
1686
|
+
return It.call(e);
|
|
1669
1687
|
} catch {
|
|
1670
1688
|
}
|
|
1671
1689
|
try {
|
|
@@ -1675,60 +1693,60 @@ tt.exports;
|
|
|
1675
1693
|
}
|
|
1676
1694
|
return "";
|
|
1677
1695
|
}
|
|
1678
|
-
function gn(e) {
|
|
1679
|
-
return lt(e, !0, !0);
|
|
1680
|
-
}
|
|
1681
|
-
function Bt(e, i) {
|
|
1682
|
-
return e === i || e !== e && i !== i;
|
|
1683
|
-
}
|
|
1684
1696
|
function yn(e) {
|
|
1685
|
-
return
|
|
1697
|
+
return ct(e, !0, !0);
|
|
1686
1698
|
}
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
return e != null && Tn(e.length) && !Lt(e);
|
|
1699
|
+
function Mt(e, i) {
|
|
1700
|
+
return e === i || e !== e && i !== i;
|
|
1690
1701
|
}
|
|
1691
1702
|
function wn(e) {
|
|
1692
|
-
return
|
|
1703
|
+
return kn(e) && ve.call(e, "callee") && (!wa.call(e, "callee") || He.call(e) == u);
|
|
1693
1704
|
}
|
|
1694
|
-
var
|
|
1705
|
+
var dt = Array.isArray;
|
|
1695
1706
|
function Lt(e) {
|
|
1696
|
-
|
|
1697
|
-
|
|
1707
|
+
return e != null && Sn(e.length) && !Pt(e);
|
|
1708
|
+
}
|
|
1709
|
+
function kn(e) {
|
|
1710
|
+
return _n(e) && Lt(e);
|
|
1711
|
+
}
|
|
1712
|
+
var Tn = Ta || In;
|
|
1713
|
+
function Pt(e) {
|
|
1714
|
+
var i = ze(e) ? He.call(e) : "";
|
|
1715
|
+
return i == T || i == R;
|
|
1698
1716
|
}
|
|
1699
|
-
function
|
|
1717
|
+
function Sn(e) {
|
|
1700
1718
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
|
|
1701
1719
|
}
|
|
1702
|
-
function
|
|
1720
|
+
function ze(e) {
|
|
1703
1721
|
var i = typeof e;
|
|
1704
1722
|
return !!e && (i == "object" || i == "function");
|
|
1705
1723
|
}
|
|
1706
|
-
function
|
|
1724
|
+
function _n(e) {
|
|
1707
1725
|
return !!e && typeof e == "object";
|
|
1708
1726
|
}
|
|
1709
|
-
function
|
|
1710
|
-
return
|
|
1727
|
+
function ft(e) {
|
|
1728
|
+
return Lt(e) ? qa(e) : tn(e);
|
|
1711
1729
|
}
|
|
1712
|
-
function
|
|
1730
|
+
function Cn() {
|
|
1713
1731
|
return [];
|
|
1714
1732
|
}
|
|
1715
|
-
function
|
|
1733
|
+
function In() {
|
|
1716
1734
|
return !1;
|
|
1717
1735
|
}
|
|
1718
|
-
a.exports =
|
|
1719
|
-
})(
|
|
1720
|
-
var Fi =
|
|
1736
|
+
a.exports = yn;
|
|
1737
|
+
})(at, at.exports);
|
|
1738
|
+
var Fi = at.exports;
|
|
1721
1739
|
const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
1722
1740
|
key: 0,
|
|
1723
1741
|
class: "sidebar-header"
|
|
1724
1742
|
}, xi = { class: "sidebar-content-container" }, Ri = {
|
|
1725
1743
|
key: 0,
|
|
1726
1744
|
class: "sidebar-top"
|
|
1727
|
-
}, Bi = { "aria-label": "Main menu" }, Mi = ["id"], Li = ["aria-labelledby"],
|
|
1745
|
+
}, Bi = { "aria-label": "Main menu" }, Mi = ["id"], Li = ["aria-labelledby"], Pi = {
|
|
1728
1746
|
key: 1,
|
|
1729
1747
|
class: "sidebar-level-divider",
|
|
1730
1748
|
role: "separator"
|
|
1731
|
-
},
|
|
1749
|
+
}, ji = {
|
|
1732
1750
|
key: 2,
|
|
1733
1751
|
class: "level-primary bottom-items"
|
|
1734
1752
|
}, Ki = { class: "sidebar-footer" }, we = "_ungrouped", Zi = /* @__PURE__ */ ie({
|
|
@@ -1794,18 +1812,18 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1794
1812
|
},
|
|
1795
1813
|
emits: ["click", "toggle", "toggle-collapse"],
|
|
1796
1814
|
setup(a, { emit: t }) {
|
|
1797
|
-
|
|
1815
|
+
wt((v) => ({
|
|
1798
1816
|
v33776360: d.value.mobileHeight,
|
|
1799
1817
|
v7df1c1bc: d.value.mobileTop,
|
|
1800
1818
|
v4e4b4048: a.zIndex,
|
|
1801
1819
|
v3450ad5e: d.value.height,
|
|
1802
1820
|
v5096e87e: d.value.top,
|
|
1803
|
-
ff8b2e5c:
|
|
1821
|
+
ff8b2e5c: w.value.marginTop,
|
|
1804
1822
|
aafa0d52: O.value,
|
|
1805
1823
|
v5c6a990c: b.value.display,
|
|
1806
1824
|
v73336ad1: b.value.minHeight,
|
|
1807
|
-
v91fb62e6:
|
|
1808
|
-
v04cd8780:
|
|
1825
|
+
v91fb62e6: T.value.top,
|
|
1826
|
+
v04cd8780: T.value.zIndex
|
|
1809
1827
|
}));
|
|
1810
1828
|
const r = t, n = a, s = je(), u = _(() => !!s.header), o = _(() => !!s.top), d = _(() => ({
|
|
1811
1829
|
mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
|
|
@@ -1815,9 +1833,9 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1815
1833
|
})), b = _(() => ({
|
|
1816
1834
|
display: !n.mobileHeaderVisible && n.mobileEnabled ? "none" : "flex",
|
|
1817
1835
|
minHeight: `${n.headerHeight}px`
|
|
1818
|
-
})),
|
|
1836
|
+
})), w = _(() => ({
|
|
1819
1837
|
marginTop: u.value ? `${n.headerHeight}px` : "0"
|
|
1820
|
-
})),
|
|
1838
|
+
})), T = _(() => ({
|
|
1821
1839
|
top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
|
|
1822
1840
|
zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
|
|
1823
1841
|
})), R = (v) => Ni(v).map((y) => {
|
|
@@ -1828,7 +1846,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1828
1846
|
X.parentKey = y.key, (!X.testId || !((H = X.testId) != null && H.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1829
1847
|
}
|
|
1830
1848
|
return y;
|
|
1831
|
-
}), B = _(() => n.topItems.length ? R(n.topItems) : []),
|
|
1849
|
+
}), B = _(() => n.topItems.length ? R(n.topItems) : []), j = _(() => n.bottomItems.length ? R(n.bottomItems) : []), A = (v = "") => v.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), P = _(() => {
|
|
1832
1850
|
var I;
|
|
1833
1851
|
const v = /* @__PURE__ */ new Map();
|
|
1834
1852
|
v.set(we, []);
|
|
@@ -1837,7 +1855,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1837
1855
|
v.has(g) || v.set(g, []), (I = v.get(g)) == null || I.push(y);
|
|
1838
1856
|
}
|
|
1839
1857
|
return v;
|
|
1840
|
-
}), ne =
|
|
1858
|
+
}), ne = Ar(`max-width: ${Mr}`), K = (v = "") => {
|
|
1841
1859
|
if (v === we || !v.trim())
|
|
1842
1860
|
return null;
|
|
1843
1861
|
const I = {
|
|
@@ -1869,18 +1887,18 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1869
1887
|
Te(() => n.open, (v) => {
|
|
1870
1888
|
q(v);
|
|
1871
1889
|
});
|
|
1872
|
-
const { debounce: Z } =
|
|
1890
|
+
const { debounce: Z } = ua(), V = Z(() => {
|
|
1873
1891
|
J.value && D.value !== (window == null ? void 0 : window.innerWidth) && (D.value = window == null ? void 0 : window.innerWidth, q(!1));
|
|
1874
1892
|
}, 200), D = ae(), l = ae(!1), f = ae(), m = () => {
|
|
1875
1893
|
l.value || (l.value = !0, clearTimeout(f.value), f.value = setTimeout(() => l.value = !1, 1300));
|
|
1876
1894
|
}, F = ae(null), x = _(() => J.value && n.mobileEnabled), M = async (v) => {
|
|
1877
1895
|
var I, y;
|
|
1878
|
-
v ? (await
|
|
1896
|
+
v ? (await Wt(), await new Promise((g) => setTimeout(g, 300)), (I = F.value) == null || I.activate()) : (y = F.value) == null || y.deactivate();
|
|
1879
1897
|
};
|
|
1880
1898
|
Te(x, async (v) => {
|
|
1881
1899
|
v ? await M(!0) : await M(!1);
|
|
1882
1900
|
}, { immediate: !0 });
|
|
1883
|
-
const O = ae("0px"),
|
|
1901
|
+
const O = ae("0px"), k = () => {
|
|
1884
1902
|
var X;
|
|
1885
1903
|
if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((X = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : X.platform)))
|
|
1886
1904
|
return;
|
|
@@ -1893,21 +1911,21 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1893
1911
|
const Y = g.offsetWidth;
|
|
1894
1912
|
I.parentNode && I.parentNode.removeChild(I), y - Y === 0 && (O.value = "8px");
|
|
1895
1913
|
};
|
|
1896
|
-
return
|
|
1897
|
-
if (D.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize",
|
|
1914
|
+
return Ke(async () => {
|
|
1915
|
+
if (D.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", V), window.addEventListener("resize", m), n.groupConfig && ne.value)
|
|
1898
1916
|
for (const v in n.groupConfig) {
|
|
1899
1917
|
const I = n.groupConfig[v];
|
|
1900
1918
|
I.collapsed = !1;
|
|
1901
1919
|
}
|
|
1902
|
-
await
|
|
1903
|
-
}),
|
|
1904
|
-
window.removeEventListener("resize",
|
|
1920
|
+
await Wt(), k();
|
|
1921
|
+
}), ta(() => {
|
|
1922
|
+
window.removeEventListener("resize", V), window.removeEventListener("resize", m);
|
|
1905
1923
|
}), Te(() => n.groupConfig, (v) => {
|
|
1906
1924
|
console.log("groupConfig updated", v);
|
|
1907
1925
|
}), (v, I) => {
|
|
1908
1926
|
const y = he("KCollapse");
|
|
1909
|
-
return p(),
|
|
1910
|
-
J.value && a.mobileOverlay && a.mobileEnabled ? (p(),
|
|
1927
|
+
return p(), S(Ee, null, [
|
|
1928
|
+
J.value && a.mobileOverlay && a.mobileEnabled ? (p(), S("div", {
|
|
1911
1929
|
key: 0,
|
|
1912
1930
|
class: "kong-ui-app-sidebar-overlay",
|
|
1913
1931
|
onClick: se
|
|
@@ -1930,15 +1948,15 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1930
1948
|
}]),
|
|
1931
1949
|
tabindex: "-1"
|
|
1932
1950
|
}, [
|
|
1933
|
-
u.value ? (p(),
|
|
1951
|
+
u.value ? (p(), S("div", Di, [
|
|
1934
1952
|
C(v.$slots, "header", {}, void 0, !0)
|
|
1935
1953
|
])) : $("", !0),
|
|
1936
1954
|
E("div", xi, [
|
|
1937
|
-
o.value ? (p(),
|
|
1955
|
+
o.value ? (p(), S("div", Ri, [
|
|
1938
1956
|
C(v.$slots, "top", {}, void 0, !0)
|
|
1939
1957
|
])) : $("", !0),
|
|
1940
1958
|
E("nav", Bi, [
|
|
1941
|
-
|
|
1959
|
+
P.value.size > 0 ? (p(!0), S(Ee, { key: 0 }, pe(P.value, ([g, Y]) => (p(), W(y, {
|
|
1942
1960
|
key: g,
|
|
1943
1961
|
class: re(["level-primary-group-collapse", {
|
|
1944
1962
|
"not-collapsible": !G(g),
|
|
@@ -1948,7 +1966,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1948
1966
|
"model-value": G(g) && fe(g) || !1
|
|
1949
1967
|
}, {
|
|
1950
1968
|
trigger: L(({ isCollapsed: H, toggle: X }) => [
|
|
1951
|
-
(p(), W(Fe(G(g) ? be(
|
|
1969
|
+
(p(), W(Fe(G(g) ? be(Ln) : "div"), {
|
|
1952
1970
|
appearance: G(g) ? "none" : void 0,
|
|
1953
1971
|
class: "level-primary-group-collapse-trigger",
|
|
1954
1972
|
onClick: (ce) => G(g) ? le(g, H, X) : void 0
|
|
@@ -1956,19 +1974,19 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1956
1974
|
default: L(() => {
|
|
1957
1975
|
var ce;
|
|
1958
1976
|
return [
|
|
1959
|
-
g !== we ? (p(),
|
|
1977
|
+
g !== we ? (p(), S("div", {
|
|
1960
1978
|
key: 0,
|
|
1961
1979
|
id: `level-primary-group-${A(g)}`,
|
|
1962
1980
|
class: "level-primary-group-name",
|
|
1963
1981
|
"data-testid": "level-primary-group-name",
|
|
1964
1982
|
role: "presentation"
|
|
1965
1983
|
}, Q(((ce = K(g)) == null ? void 0 : ce.label) || g), 9, Mi)) : $("", !0),
|
|
1966
|
-
G(g) ? (p(), W(Fe(H ? be(
|
|
1984
|
+
G(g) ? (p(), W(Fe(H ? be(aa) : be(Mn)), {
|
|
1967
1985
|
key: 1,
|
|
1968
1986
|
class: "level-primary-group-collapse-icon",
|
|
1969
|
-
color: be(
|
|
1987
|
+
color: be(Pr),
|
|
1970
1988
|
"data-testid": "level-primary-group-collapse-icon",
|
|
1971
|
-
size: be(
|
|
1989
|
+
size: be(Lr)
|
|
1972
1990
|
}, null, 8, ["color", "size"])) : $("", !0)
|
|
1973
1991
|
];
|
|
1974
1992
|
}),
|
|
@@ -1980,7 +1998,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1980
1998
|
"aria-labelledby": g !== we ? `level-primary-group-${A(g)}` : void 0,
|
|
1981
1999
|
class: "level-primary top-items"
|
|
1982
2000
|
}, [
|
|
1983
|
-
(p(!0),
|
|
2001
|
+
(p(!0), S(Ee, null, pe(Y, (H) => (p(), W(zt, {
|
|
1984
2002
|
key: H.name,
|
|
1985
2003
|
item: H,
|
|
1986
2004
|
onClick: z
|
|
@@ -2002,9 +2020,9 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2002
2020
|
]),
|
|
2003
2021
|
_: 2
|
|
2004
2022
|
}, 1032, ["class", "data-testid", "model-value"]))), 128)) : $("", !0),
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
(p(!0),
|
|
2023
|
+
P.value.size > 0 && j.value.length ? (p(), S("div", Pi)) : $("", !0),
|
|
2024
|
+
j.value.length ? (p(), S("ul", ji, [
|
|
2025
|
+
(p(!0), S(Ee, null, pe(j.value, (g) => (p(), W(zt, {
|
|
2008
2026
|
key: g.name,
|
|
2009
2027
|
item: g,
|
|
2010
2028
|
onClick: z
|
|
@@ -2042,20 +2060,20 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2042
2060
|
};
|
|
2043
2061
|
return Te(() => n.active, (o) => {
|
|
2044
2062
|
s.value = o;
|
|
2045
|
-
}), (o, d) => (p(),
|
|
2063
|
+
}), (o, d) => (p(), S("a", {
|
|
2046
2064
|
"aria-haspopup": "true",
|
|
2047
2065
|
"aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
|
|
2048
2066
|
class: re(["sidebar-menu-toggle", { active: s.value }]),
|
|
2049
2067
|
href: "#",
|
|
2050
2068
|
role: "button",
|
|
2051
|
-
onClick:
|
|
2069
|
+
onClick: Rn(u, ["prevent"])
|
|
2052
2070
|
}, [...d[0] || (d[0] = [
|
|
2053
2071
|
E("span", { class: "line" }, null, -1),
|
|
2054
2072
|
E("span", { class: "line" }, null, -1),
|
|
2055
2073
|
E("span", { class: "line" }, null, -1)
|
|
2056
2074
|
])], 10, Wi));
|
|
2057
2075
|
}
|
|
2058
|
-
}), zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-cbb41bbd"]]),
|
|
2076
|
+
}), zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-cbb41bbd"]]), Vi = { id: "kong-ui-app-layout-notification" }, Ui = { class: "mobile-logo" }, qi = {
|
|
2059
2077
|
key: 0,
|
|
2060
2078
|
class: "navbar-logo"
|
|
2061
2079
|
}, Xi = {
|
|
@@ -2102,14 +2120,14 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2102
2120
|
},
|
|
2103
2121
|
emits: ["sidebar-click", "update:topOffset", "toggle-collapse"],
|
|
2104
2122
|
setup(a, { emit: t }) {
|
|
2105
|
-
|
|
2123
|
+
wt((N) => ({
|
|
2106
2124
|
v26cbc8ac: K.value,
|
|
2107
2125
|
v4eb9dde2: G.value,
|
|
2108
2126
|
v5f0811fa: ne.value,
|
|
2109
2127
|
v37ad0844: fe.value,
|
|
2110
2128
|
v999c315e: le.value
|
|
2111
2129
|
}));
|
|
2112
|
-
const r = a, n = t, s = je(), u =
|
|
2130
|
+
const r = a, n = t, s = je(), u = Xe({
|
|
2113
2131
|
navbarLeft: _(() => !!s["navbar-left"]),
|
|
2114
2132
|
navbarCenter: _(() => !!s["navbar-center"]),
|
|
2115
2133
|
navbarRight: _(() => !!s["navbar-right"]),
|
|
@@ -2118,22 +2136,22 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2118
2136
|
sidebarHeader: _(() => !!s["sidebar-header"]),
|
|
2119
2137
|
sidebarTop: _(() => !!s["sidebar-top"]),
|
|
2120
2138
|
sidebarFooter: _(() => !!s["sidebar-footer"])
|
|
2121
|
-
}), o = _(() => r.hideDefaultSlot), d =
|
|
2139
|
+
}), o = _(() => r.hideDefaultSlot), d = Xe({
|
|
2122
2140
|
hidden: _(() => r.navbarHidden)
|
|
2123
|
-
}), b =
|
|
2141
|
+
}), b = Xe({
|
|
2124
2142
|
topItems: _(() => r.sidebarTopItems),
|
|
2125
2143
|
bottomItems: _(() => r.sidebarBottomItems),
|
|
2126
2144
|
open: _(() => r.sidebarOpen),
|
|
2127
2145
|
hidden: _(() => r.sidebarHidden)
|
|
2128
|
-
}),
|
|
2146
|
+
}), w = (N) => {
|
|
2129
2147
|
n("sidebar-click", N);
|
|
2130
|
-
},
|
|
2131
|
-
|
|
2148
|
+
}, T = ae(!1), R = (N) => {
|
|
2149
|
+
T.value = N;
|
|
2132
2150
|
};
|
|
2133
|
-
|
|
2134
|
-
|
|
2151
|
+
ea(() => {
|
|
2152
|
+
T.value = Bn(b, "open").value || !1;
|
|
2135
2153
|
});
|
|
2136
|
-
const B = ae(0),
|
|
2154
|
+
const B = ae(0), j = ae(60), A = ae(0), P = _(() => d.hidden ? A.value : j.value + A.value), ne = _(() => r.theme === "light" ? Dr : xr), K = _(() => r.theme === "light" ? Fr : Nr), G = _(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), fe = _(() => `${P.value}px`), le = _(() => b.hidden || d.hidden ? Rr : Br), { debounce: J } = ua(), q = J((N = !1) => {
|
|
2137
2155
|
if (N || B.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
2138
2156
|
B.value = window == null ? void 0 : window.innerWidth;
|
|
2139
2157
|
const z = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
@@ -2142,31 +2160,31 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2142
2160
|
}, 200), se = ae();
|
|
2143
2161
|
return Te(A, (N) => {
|
|
2144
2162
|
n("update:topOffset", N || 0);
|
|
2145
|
-
}, { immediate: !0 }),
|
|
2163
|
+
}, { immediate: !0 }), Ke(() => {
|
|
2146
2164
|
var z, Z;
|
|
2147
2165
|
(z = document == null ? void 0 : document.body) == null || z.classList.add("kong-ui-app-layout-body"), (Z = document == null ? void 0 : document.documentElement) == null || Z.classList.add("kong-ui-app-layout-html"), B.value = window == null ? void 0 : window.innerWidth, q(!0);
|
|
2148
2166
|
const N = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
2149
|
-
N && (se.value = new ResizeObserver((
|
|
2167
|
+
N && (se.value = new ResizeObserver((V) => {
|
|
2150
2168
|
window.requestAnimationFrame(() => {
|
|
2151
|
-
if (!(!Array.isArray(
|
|
2152
|
-
for (const D of
|
|
2169
|
+
if (!(!Array.isArray(V) || !V.length))
|
|
2170
|
+
for (const D of V) {
|
|
2153
2171
|
const l = D.contentRect.height;
|
|
2154
2172
|
A.value !== l && (A.value = l);
|
|
2155
2173
|
}
|
|
2156
2174
|
});
|
|
2157
2175
|
}), se.value.observe(N)), window.addEventListener("resize", q);
|
|
2158
|
-
}),
|
|
2176
|
+
}), ta(() => {
|
|
2159
2177
|
se.value && se.value.disconnect(), window.removeEventListener("resize", q);
|
|
2160
|
-
}), (N, z) => (p(),
|
|
2178
|
+
}), (N, z) => (p(), S("div", {
|
|
2161
2179
|
class: re(["kong-ui-app-layout", [
|
|
2162
2180
|
{ "navbar-hidden": d.hidden },
|
|
2163
2181
|
{ "sidebar-hidden": b.hidden }
|
|
2164
2182
|
]])
|
|
2165
2183
|
}, [
|
|
2166
|
-
E("div",
|
|
2184
|
+
E("div", Vi, [
|
|
2167
2185
|
C(N.$slots, "notification", {}, void 0, !0)
|
|
2168
2186
|
]),
|
|
2169
|
-
d.hidden ? $("", !0) : (p(), W(
|
|
2187
|
+
d.hidden ? $("", !0) : (p(), W(mr, {
|
|
2170
2188
|
key: String(b.hidden),
|
|
2171
2189
|
"left-offset": b.hidden ? 0 : void 0,
|
|
2172
2190
|
"top-offset": A.value
|
|
@@ -2174,7 +2192,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2174
2192
|
"mobile-sidebar-toggle": L(() => [
|
|
2175
2193
|
b.hidden ? $("", !0) : (p(), W(zi, {
|
|
2176
2194
|
key: 0,
|
|
2177
|
-
active:
|
|
2195
|
+
active: T.value,
|
|
2178
2196
|
onToggle: R
|
|
2179
2197
|
}, null, 8, ["active"]))
|
|
2180
2198
|
]),
|
|
@@ -2183,7 +2201,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2183
2201
|
u.navbarMobileLogo ? {
|
|
2184
2202
|
name: "mobile-logo",
|
|
2185
2203
|
fn: L(() => [
|
|
2186
|
-
E("div",
|
|
2204
|
+
E("div", Ui, [
|
|
2187
2205
|
C(N.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
2188
2206
|
])
|
|
2189
2207
|
]),
|
|
@@ -2192,7 +2210,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2192
2210
|
u.navbarLogo ? {
|
|
2193
2211
|
name: "logo",
|
|
2194
2212
|
fn: L(() => [
|
|
2195
|
-
b.hidden ? (p(),
|
|
2213
|
+
b.hidden ? (p(), S("div", qi, [
|
|
2196
2214
|
C(N.$slots, "navbar-logo", {}, void 0, !0)
|
|
2197
2215
|
])) : $("", !0)
|
|
2198
2216
|
]),
|
|
@@ -2224,16 +2242,16 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2224
2242
|
key: 1,
|
|
2225
2243
|
"bottom-items": b.bottomItems,
|
|
2226
2244
|
"group-config": a.groupConfig,
|
|
2227
|
-
"header-height":
|
|
2245
|
+
"header-height": j.value,
|
|
2228
2246
|
"mobile-enabled": "",
|
|
2229
2247
|
"mobile-header-visible": !1,
|
|
2230
|
-
"mobile-top-offset":
|
|
2231
|
-
open:
|
|
2248
|
+
"mobile-top-offset": P.value,
|
|
2249
|
+
open: T.value,
|
|
2232
2250
|
"top-items": b.topItems,
|
|
2233
2251
|
"top-offset": A.value,
|
|
2234
|
-
onClick:
|
|
2252
|
+
onClick: w,
|
|
2235
2253
|
onToggle: R,
|
|
2236
|
-
onToggleCollapse: z[0] || (z[0] = (Z,
|
|
2254
|
+
onToggleCollapse: z[0] || (z[0] = (Z, V) => n("toggle-collapse", Z, V))
|
|
2237
2255
|
}, Me({ _: 2 }, [
|
|
2238
2256
|
u.sidebarHeader ? {
|
|
2239
2257
|
name: "header",
|
|
@@ -2320,8 +2338,8 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2320
2338
|
}), s = _(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
|
|
2321
2339
|
return (u, o) => {
|
|
2322
2340
|
const d = he("KBreadcrumbs");
|
|
2323
|
-
return p(),
|
|
2324
|
-
n.value ? (p(),
|
|
2341
|
+
return p(), S("div", to, [
|
|
2342
|
+
n.value ? (p(), S("div", ao, [
|
|
2325
2343
|
Le(d, {
|
|
2326
2344
|
"item-max-width": "150",
|
|
2327
2345
|
items: a.breadcrumbs
|
|
@@ -2336,7 +2354,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2336
2354
|
])) : $("", !0),
|
|
2337
2355
|
E("div", no, [
|
|
2338
2356
|
E("div", ro, [
|
|
2339
|
-
u.$slots["title-before"] ? (p(),
|
|
2357
|
+
u.$slots["title-before"] ? (p(), S("div", io, [
|
|
2340
2358
|
C(u.$slots, "title-before", {}, void 0, !0)
|
|
2341
2359
|
])) : $("", !0),
|
|
2342
2360
|
E("h1", {
|
|
@@ -2344,15 +2362,15 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2344
2362
|
"data-testid": "page-header-title",
|
|
2345
2363
|
title: a.title
|
|
2346
2364
|
}, Q(a.title), 9, oo),
|
|
2347
|
-
u.$slots["title-after"] ? (p(),
|
|
2365
|
+
u.$slots["title-after"] ? (p(), S("div", so, [
|
|
2348
2366
|
C(u.$slots, "title-after", {}, void 0, !0)
|
|
2349
2367
|
])) : $("", !0)
|
|
2350
2368
|
]),
|
|
2351
|
-
u.$slots.actions ? (p(),
|
|
2369
|
+
u.$slots.actions ? (p(), S("div", lo, [
|
|
2352
2370
|
C(u.$slots, "actions", {}, void 0, !0)
|
|
2353
2371
|
])) : $("", !0)
|
|
2354
2372
|
]),
|
|
2355
|
-
u.$slots.below ? (p(),
|
|
2373
|
+
u.$slots.below ? (p(), S("div", co, [
|
|
2356
2374
|
C(u.$slots, "below", {}, void 0, !0)
|
|
2357
2375
|
])) : $("", !0)
|
|
2358
2376
|
]);
|
|
@@ -2384,7 +2402,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2384
2402
|
titleTag: {
|
|
2385
2403
|
type: String,
|
|
2386
2404
|
default: "div",
|
|
2387
|
-
validator: (a) =>
|
|
2405
|
+
validator: (a) => Pn.includes(a)
|
|
2388
2406
|
}
|
|
2389
2407
|
},
|
|
2390
2408
|
setup(a) {
|
|
@@ -2410,10 +2428,10 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2410
2428
|
]),
|
|
2411
2429
|
_: 1
|
|
2412
2430
|
})) : $("", !0),
|
|
2413
|
-
a.description ? (p(),
|
|
2431
|
+
a.description ? (p(), S("div", vo, Q(a.description), 1)) : $("", !0)
|
|
2414
2432
|
])
|
|
2415
2433
|
]),
|
|
2416
|
-
a.collapsible ? (p(), W(be(
|
|
2434
|
+
a.collapsible ? (p(), W(be(aa), {
|
|
2417
2435
|
key: 0,
|
|
2418
2436
|
class: "app-page-info-section-chevron-icon",
|
|
2419
2437
|
decorative: ""
|
|
@@ -2421,7 +2439,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2421
2439
|
]),
|
|
2422
2440
|
_: 3
|
|
2423
2441
|
})),
|
|
2424
|
-
t.$slots.default ? (p(),
|
|
2442
|
+
t.$slots.default ? (p(), S("div", bo, [
|
|
2425
2443
|
C(t.$slots, "default")
|
|
2426
2444
|
])) : $("", !0)
|
|
2427
2445
|
]),
|
|
@@ -2441,7 +2459,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2441
2459
|
}
|
|
2442
2460
|
},
|
|
2443
2461
|
setup(a) {
|
|
2444
|
-
return (t, r) => (p(),
|
|
2462
|
+
return (t, r) => (p(), S("div", {
|
|
2445
2463
|
class: re(["gradient-badge", { inverse: a.inverse }])
|
|
2446
2464
|
}, [
|
|
2447
2465
|
E("div", {
|
|
@@ -2463,7 +2481,7 @@ export {
|
|
|
2463
2481
|
ko as AppAboutSection,
|
|
2464
2482
|
To as AppError,
|
|
2465
2483
|
eo as AppLayout,
|
|
2466
|
-
|
|
2484
|
+
mr as AppNavbar,
|
|
2467
2485
|
So as AppPageHeader,
|
|
2468
2486
|
_o as AppPageInfoSection,
|
|
2469
2487
|
Hi as AppSidebar,
|