@kong-ui-public/app-layout 0.24.9-pr.913.9be25d8d.0 → 0.24.10
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as te, resolveComponent as ce, openBlock as h, createBlock as Q, withCtx as B, renderSlot as $, createElementBlock as m, Fragment as Ce, renderList as Ae, normalizeClass as ie, createTextVNode as ct, toDisplayString as J, computed as g, createSlots as Me, createVNode as we, createCommentVNode as C, createElementVNode as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as te, resolveComponent as ce, openBlock as h, createBlock as Q, withCtx as B, renderSlot as $, createElementBlock as m, Fragment as Ce, renderList as Ae, normalizeClass as ie, createTextVNode as ct, toDisplayString as J, computed as g, createSlots as Me, createVNode as we, createCommentVNode as C, createElementVNode as _, createStaticVNode as pn, pushScopeId as Ge, popScopeId as Ue, useCssVars as ut, useSlots as dt, reactive as Pe, onMounted as We, resolveDynamicComponent as mn, withKeys as gn, ref as q, watch as Ze, onUnmounted as yn, Comment as _n, cloneVNode as wn, onBeforeUnmount as Ht, unref as Tn, nextTick as kn, withModifiers as Sn, watchEffect as In, toRef as $n } from "vue";
|
|
2
|
+
const Cn = /* @__PURE__ */ te({
|
|
3
3
|
__name: "AccountDropdown",
|
|
4
4
|
props: {
|
|
5
5
|
options: {
|
|
@@ -55,43 +55,43 @@ const ae = (n, t) => {
|
|
|
55
55
|
for (const [r, l] of t)
|
|
56
56
|
a[r] = l;
|
|
57
57
|
return a;
|
|
58
|
-
},
|
|
58
|
+
}, Mi = /* @__PURE__ */ ae(Cn, [["__scopeId", "data-v-c4652497"]]), On = {
|
|
59
59
|
class: "about-section-title",
|
|
60
60
|
"data-testid": "about-section-title"
|
|
61
|
-
},
|
|
61
|
+
}, An = { class: "about-section-header-end" }, Nn = {
|
|
62
62
|
key: 0,
|
|
63
63
|
class: "about-section-timestamps-created",
|
|
64
64
|
"data-testid": "about-section-timestamps-created"
|
|
65
|
-
},
|
|
65
|
+
}, En = {
|
|
66
66
|
key: 1,
|
|
67
67
|
class: "about-section-timestamps-arrow"
|
|
68
|
-
},
|
|
68
|
+
}, Fn = {
|
|
69
69
|
key: 2,
|
|
70
70
|
class: "about-section-timestamps-modified",
|
|
71
71
|
"data-testid": "about-section-timestamps-modified"
|
|
72
|
-
},
|
|
72
|
+
}, xn = {
|
|
73
73
|
key: 1,
|
|
74
74
|
class: "about-section-actions",
|
|
75
75
|
"data-testid": "about-section-actions"
|
|
76
|
-
},
|
|
76
|
+
}, Dn = {
|
|
77
77
|
key: 0,
|
|
78
78
|
"data-testid": "about-section-loading-skeleton"
|
|
79
|
-
},
|
|
79
|
+
}, Bn = { key: 1 }, Rn = {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: "about-section-description",
|
|
82
82
|
"data-testid": "about-section-description"
|
|
83
|
-
},
|
|
83
|
+
}, Ln = {
|
|
84
84
|
key: 1,
|
|
85
85
|
class: "about-section-content",
|
|
86
86
|
"data-testid": "about-section-content"
|
|
87
|
-
},
|
|
87
|
+
}, Pn = {
|
|
88
88
|
key: 2,
|
|
89
89
|
"data-testid": "about-divider-section-separator"
|
|
90
|
-
},
|
|
90
|
+
}, Mn = {
|
|
91
91
|
key: 3,
|
|
92
92
|
class: "about-divider-section",
|
|
93
93
|
"data-testid": "about-divider-section"
|
|
94
|
-
},
|
|
94
|
+
}, Zn = /* @__PURE__ */ te({
|
|
95
95
|
__name: "AppAboutSection",
|
|
96
96
|
props: {
|
|
97
97
|
title: {
|
|
@@ -129,7 +129,7 @@ const ae = (n, t) => {
|
|
|
129
129
|
const d = ce("KSkeletonBox"), o = ce("KCard");
|
|
130
130
|
return h(), Q(o, { class: "kong-ui-app-about-section" }, Me({
|
|
131
131
|
body: B(() => [
|
|
132
|
-
n.isLoading ? (h(), m("div",
|
|
132
|
+
n.isLoading ? (h(), m("div", Dn, [
|
|
133
133
|
we(d, {
|
|
134
134
|
height: "2",
|
|
135
135
|
width: "100"
|
|
@@ -138,13 +138,13 @@ const ae = (n, t) => {
|
|
|
138
138
|
height: "2",
|
|
139
139
|
width: "100"
|
|
140
140
|
})
|
|
141
|
-
])) : (h(), m("div",
|
|
142
|
-
n.description ? (h(), m("p",
|
|
143
|
-
r.$slots.default ? (h(), m("div",
|
|
141
|
+
])) : (h(), m("div", Bn, [
|
|
142
|
+
n.description ? (h(), m("p", Rn, J(n.description), 1)) : C("", !0),
|
|
143
|
+
r.$slots.default ? (h(), m("div", Ln, [
|
|
144
144
|
$(r.$slots, "default", {}, void 0, !0)
|
|
145
145
|
])) : C("", !0),
|
|
146
|
-
r.$slots["divider-section"] ? (h(), m("hr",
|
|
147
|
-
r.$slots["divider-section"] ? (h(), m("div",
|
|
146
|
+
r.$slots["divider-section"] ? (h(), m("hr", Pn)) : C("", !0),
|
|
147
|
+
r.$slots["divider-section"] ? (h(), m("div", Mn, [
|
|
148
148
|
$(r.$slots, "divider-section", {}, void 0, !0)
|
|
149
149
|
])) : C("", !0)
|
|
150
150
|
]))
|
|
@@ -154,23 +154,23 @@ const ae = (n, t) => {
|
|
|
154
154
|
n.title ? {
|
|
155
155
|
name: "title",
|
|
156
156
|
fn: B(() => [
|
|
157
|
-
|
|
157
|
+
_("span", On, J(n.title), 1)
|
|
158
158
|
]),
|
|
159
159
|
key: "0"
|
|
160
160
|
} : void 0,
|
|
161
161
|
r.$slots.actions || n.created || n.modified ? {
|
|
162
162
|
name: "actions",
|
|
163
163
|
fn: B(() => [
|
|
164
|
-
|
|
164
|
+
_("div", An, [
|
|
165
165
|
n.created || n.modified ? (h(), m("div", {
|
|
166
166
|
key: 0,
|
|
167
167
|
class: ie(["about-section-timestamps", { "has-actions": r.$slots.actions }])
|
|
168
168
|
}, [
|
|
169
|
-
n.created ? (h(), m("span",
|
|
170
|
-
n.created && a.value ? (h(), m("span",
|
|
171
|
-
a.value ? (h(), m("span",
|
|
169
|
+
n.created ? (h(), m("span", Nn, J(n.createdLabel) + ": " + J(n.created), 1)) : C("", !0),
|
|
170
|
+
n.created && a.value ? (h(), m("span", En, "->")) : C("", !0),
|
|
171
|
+
a.value ? (h(), m("span", Fn, J(n.modifiedLabel) + ": " + J(n.modified), 1)) : C("", !0)
|
|
172
172
|
], 2)) : C("", !0),
|
|
173
|
-
r.$slots.actions ? (h(), m("div",
|
|
173
|
+
r.$slots.actions ? (h(), m("div", xn, [
|
|
174
174
|
$(r.$slots, "actions", {}, void 0, !0)
|
|
175
175
|
])) : C("", !0)
|
|
176
176
|
])
|
|
@@ -181,41 +181,41 @@ const ae = (n, t) => {
|
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const
|
|
184
|
+
const Zi = /* @__PURE__ */ ae(Zn, [["__scopeId", "data-v-f6ab802e"]]), jn = {}, Kn = {
|
|
185
185
|
fill: "none",
|
|
186
186
|
height: "130",
|
|
187
187
|
width: "130",
|
|
188
188
|
xmlns: "http://www.w3.org/2000/svg"
|
|
189
|
-
},
|
|
190
|
-
|
|
189
|
+
}, Hn = /* @__PURE__ */ pn('<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), zn = [
|
|
190
|
+
Hn
|
|
191
191
|
];
|
|
192
|
-
function
|
|
193
|
-
return h(), m("svg",
|
|
192
|
+
function Vn(n, t) {
|
|
193
|
+
return h(), m("svg", Kn, zn);
|
|
194
194
|
}
|
|
195
|
-
const
|
|
195
|
+
const Gn = /* @__PURE__ */ ae(jn, [["render", Vn]]), zt = (n) => (Ge("data-v-5cbccc66"), n = n(), Ue(), n), Un = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, qn = { class: "kong-ui-app-error-content" }, Yn = /* @__PURE__ */ zt(() => /* @__PURE__ */ _("h2", null, "An unexpected error has occurred", -1)), Xn = /* @__PURE__ */ zt(() => /* @__PURE__ */ _("p", null, [
|
|
196
196
|
/* @__PURE__ */ ct("Go back to the previous page or "),
|
|
197
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ _("a", { href: "/" }, "return home"),
|
|
198
198
|
/* @__PURE__ */ ct(".")
|
|
199
|
-
], -1)),
|
|
199
|
+
], -1)), Jn = /* @__PURE__ */ te({
|
|
200
200
|
__name: "AppError",
|
|
201
201
|
setup(n) {
|
|
202
|
-
return (t, a) => (h(), m("section",
|
|
203
|
-
|
|
204
|
-
we(
|
|
202
|
+
return (t, a) => (h(), m("section", Un, [
|
|
203
|
+
_("div", Wn, [
|
|
204
|
+
we(Gn)
|
|
205
205
|
]),
|
|
206
|
-
|
|
206
|
+
_("div", qn, [
|
|
207
207
|
$(t.$slots, "default", {}, () => [
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
Yn,
|
|
209
|
+
Xn
|
|
210
210
|
], !0)
|
|
211
211
|
])
|
|
212
212
|
]));
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
|
-
const
|
|
215
|
+
const ji = /* @__PURE__ */ ae(Jn, [["__scopeId", "data-v-5cbccc66"]]), Qn = { class: "kong-ui-app-navbar" }, er = { class: "header-content" }, tr = { class: "mobile-header-left" }, ar = {
|
|
216
216
|
key: 0,
|
|
217
217
|
class: "app-navbar-logo"
|
|
218
|
-
},
|
|
218
|
+
}, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ te({
|
|
219
219
|
__name: "AppNavbar",
|
|
220
220
|
props: {
|
|
221
221
|
topOffset: {
|
|
@@ -254,23 +254,23 @@ const Ki = /* @__PURE__ */ ae(Qn, [["__scopeId", "data-v-5cbccc66"]]), er = { cl
|
|
|
254
254
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
255
255
|
zIndex: t.zIndex
|
|
256
256
|
}));
|
|
257
|
-
return (o, v) => (h(), m("header",
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
return (o, v) => (h(), m("header", Qn, [
|
|
258
|
+
_("div", er, [
|
|
259
|
+
_("div", tr, [
|
|
260
260
|
$(o.$slots, "mobile-sidebar-toggle"),
|
|
261
261
|
$(o.$slots, "mobile-logo")
|
|
262
262
|
]),
|
|
263
|
-
r.value ? (h(), m("div",
|
|
263
|
+
r.value ? (h(), m("div", ar, [
|
|
264
264
|
$(o.$slots, "logo")
|
|
265
265
|
])) : C("", !0),
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
_("div", nr, [
|
|
267
|
+
_("div", rr, [
|
|
268
268
|
$(o.$slots, "left")
|
|
269
269
|
]),
|
|
270
|
-
|
|
270
|
+
_("div", ir, [
|
|
271
271
|
$(o.$slots, "center")
|
|
272
272
|
]),
|
|
273
|
-
|
|
273
|
+
_("div", or, [
|
|
274
274
|
$(o.$slots, "right")
|
|
275
275
|
])
|
|
276
276
|
])
|
|
@@ -278,7 +278,7 @@ const Ki = /* @__PURE__ */ ae(Qn, [["__scopeId", "data-v-5cbccc66"]]), er = { cl
|
|
|
278
278
|
]));
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
|
-
const
|
|
281
|
+
const cr = /* @__PURE__ */ ae(sr, [["__scopeId", "data-v-7a2a459a"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ te({
|
|
282
282
|
__name: "ItemBadge",
|
|
283
283
|
props: {
|
|
284
284
|
count: {
|
|
@@ -293,16 +293,16 @@ const lr = /* @__PURE__ */ ae(cr, [["__scopeId", "data-v-7a2a459a"]]), ur = ["ti
|
|
|
293
293
|
key: 0,
|
|
294
294
|
class: "item-badge",
|
|
295
295
|
title: (n.count || 0) > ot ? String(n.count) : void 0
|
|
296
|
-
}, J(a.value), 9,
|
|
296
|
+
}, J(a.value), 9, lr)) : C("", !0);
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
|
-
const
|
|
299
|
+
const dr = /* @__PURE__ */ ae(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
|
|
300
300
|
key: 0,
|
|
301
301
|
class: "sidebar-item-icon"
|
|
302
|
-
},
|
|
302
|
+
}, hr = { class: "sidebar-item-name-container" }, pr = { class: "sidebar-item-name has-tooltip" }, mr = {
|
|
303
303
|
key: 2,
|
|
304
304
|
class: "sidebar-item-label truncate-text truncate-18"
|
|
305
|
-
},
|
|
305
|
+
}, gr = ["id"], yr = /* @__PURE__ */ te({
|
|
306
306
|
__name: "SidebarItem",
|
|
307
307
|
props: {
|
|
308
308
|
item: {
|
|
@@ -328,32 +328,32 @@ const fr = /* @__PURE__ */ ae(dr, [["__scopeId", "data-v-912b1a1b"]]), vr = ["da
|
|
|
328
328
|
class: ie([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
|
|
329
329
|
"data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
|
|
330
330
|
}, [
|
|
331
|
-
(h(), Q(
|
|
331
|
+
(h(), Q(mn(r.value ? "div" : "router-link"), {
|
|
332
332
|
custom: r.value ? void 0 : !0,
|
|
333
333
|
to: !r.value && !l.value ? n.item.to : void 0
|
|
334
334
|
}, {
|
|
335
335
|
default: B((O) => {
|
|
336
336
|
var V, j;
|
|
337
337
|
return [
|
|
338
|
-
|
|
338
|
+
_("a", {
|
|
339
339
|
"aria-controls": (V = n.item.items) != null && V.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
|
|
340
340
|
"aria-expanded": (j = n.item.items) != null && j.length && n.item.expanded ? !0 : void 0,
|
|
341
341
|
class: ie(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !r.value }]),
|
|
342
342
|
href: r.value ? String(n.item.to || "#") : O == null ? void 0 : O.href,
|
|
343
343
|
target: l.value ? "_blank" : void 0,
|
|
344
344
|
onClick: (Z) => v(Z, n.item, O == null ? void 0 : O.navigate),
|
|
345
|
-
onKeypress:
|
|
345
|
+
onKeypress: gn((Z) => v(Z, n.item, O == null ? void 0 : O.navigate), ["enter"])
|
|
346
346
|
}, [
|
|
347
|
-
|
|
347
|
+
_("div", {
|
|
348
348
|
class: ie(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": d.value }])
|
|
349
349
|
}, [
|
|
350
|
-
n.item.icon ? (h(), m("div",
|
|
350
|
+
n.item.icon ? (h(), m("div", br, [
|
|
351
351
|
we(x, {
|
|
352
352
|
icon: String(n.item.icon),
|
|
353
353
|
size: "20"
|
|
354
354
|
}, null, 8, ["icon"])
|
|
355
355
|
])) : C("", !0),
|
|
356
|
-
|
|
356
|
+
_("div", hr, [
|
|
357
357
|
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (h(), m("div", {
|
|
358
358
|
key: 0,
|
|
359
359
|
class: ie(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
|
|
@@ -365,22 +365,22 @@ const fr = /* @__PURE__ */ ae(dr, [["__scopeId", "data-v-912b1a1b"]]), vr = ["da
|
|
|
365
365
|
"position-fixed": ""
|
|
366
366
|
}, {
|
|
367
367
|
default: B(() => [
|
|
368
|
-
|
|
369
|
-
|
|
368
|
+
_("div", pr, [
|
|
369
|
+
_("span", {
|
|
370
370
|
class: ie(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": d.value }]])
|
|
371
371
|
}, J(n.item.name), 3)
|
|
372
372
|
])
|
|
373
373
|
]),
|
|
374
374
|
_: 1
|
|
375
375
|
}, 8, ["label"])),
|
|
376
|
-
n.item.label && n.item.expanded ? (h(), m("div",
|
|
376
|
+
n.item.label && n.item.expanded ? (h(), m("div", mr, J(n.item.label), 1)) : C("", !0)
|
|
377
377
|
]),
|
|
378
|
-
d.value ? (h(), Q(
|
|
378
|
+
d.value ? (h(), Q(dr, {
|
|
379
379
|
key: 1,
|
|
380
380
|
count: n.item.badgeCount
|
|
381
381
|
}, null, 8, ["count"])) : C("", !0)
|
|
382
382
|
], 2)
|
|
383
|
-
], 42,
|
|
383
|
+
], 42, vr)
|
|
384
384
|
];
|
|
385
385
|
}),
|
|
386
386
|
_: 1
|
|
@@ -396,12 +396,12 @@ const fr = /* @__PURE__ */ ae(dr, [["__scopeId", "data-v-912b1a1b"]]), vr = ["da
|
|
|
396
396
|
"subnav-item": !0,
|
|
397
397
|
onClick: (V) => o(O)
|
|
398
398
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
399
|
-
], 8,
|
|
400
|
-
], 10,
|
|
399
|
+
], 8, gr)) : C("", !0)
|
|
400
|
+
], 10, fr);
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
403
|
});
|
|
404
|
-
const Rt = /* @__PURE__ */ ae(
|
|
404
|
+
const Rt = /* @__PURE__ */ ae(yr, [["__scopeId", "data-v-859aa5c3"]]);
|
|
405
405
|
/*!
|
|
406
406
|
* tabbable 6.2.0
|
|
407
407
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -417,7 +417,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
417
417
|
a === void 0 && (a = !0);
|
|
418
418
|
var l = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), d = l === "" || l === "true", o = d || a && t && n(t.parentNode);
|
|
419
419
|
return o;
|
|
420
|
-
},
|
|
420
|
+
}, _r = function(t) {
|
|
421
421
|
var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
422
422
|
return r === "" || r === "true";
|
|
423
423
|
}, Ut = function(t, a, r) {
|
|
@@ -456,26 +456,26 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
456
456
|
}, ve = function(t) {
|
|
457
457
|
if (!t)
|
|
458
458
|
throw new Error("No node provided");
|
|
459
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
460
|
-
},
|
|
459
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || _r(t)) && !qt(t) ? 0 : t.tabIndex;
|
|
460
|
+
}, wr = function(t, a) {
|
|
461
461
|
var r = ve(t);
|
|
462
462
|
return r < 0 && a && !qt(t) ? 0 : r;
|
|
463
|
-
},
|
|
463
|
+
}, Tr = function(t, a) {
|
|
464
464
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
465
465
|
}, Yt = function(t) {
|
|
466
466
|
return t.tagName === "INPUT";
|
|
467
|
-
},
|
|
467
|
+
}, kr = function(t) {
|
|
468
468
|
return Yt(t) && t.type === "hidden";
|
|
469
|
-
},
|
|
469
|
+
}, Sr = function(t) {
|
|
470
470
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
471
471
|
return r.tagName === "SUMMARY";
|
|
472
472
|
});
|
|
473
473
|
return a;
|
|
474
|
-
},
|
|
474
|
+
}, Ir = function(t, a) {
|
|
475
475
|
for (var r = 0; r < t.length; r++)
|
|
476
476
|
if (t[r].checked && t[r].form === a)
|
|
477
477
|
return t[r];
|
|
478
|
-
},
|
|
478
|
+
}, $r = function(t) {
|
|
479
479
|
if (!t.name)
|
|
480
480
|
return !0;
|
|
481
481
|
var a = t.form || Ke(t), r = function(v) {
|
|
@@ -489,13 +489,13 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
489
489
|
} catch (o) {
|
|
490
490
|
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;
|
|
491
491
|
}
|
|
492
|
-
var d =
|
|
492
|
+
var d = Ir(l, t.form);
|
|
493
493
|
return !d || d === t;
|
|
494
|
-
},
|
|
494
|
+
}, Cr = function(t) {
|
|
495
495
|
return Yt(t) && t.type === "radio";
|
|
496
|
+
}, Or = function(t) {
|
|
497
|
+
return Cr(t) && !$r(t);
|
|
496
498
|
}, Ar = function(t) {
|
|
497
|
-
return Or(t) && !Cr(t);
|
|
498
|
-
}, Nr = function(t) {
|
|
499
499
|
var a, r = t && Ke(t), l = (a = r) === null || a === void 0 ? void 0 : a.host, d = !1;
|
|
500
500
|
if (r && r !== t) {
|
|
501
501
|
var o, v, p;
|
|
@@ -508,7 +508,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
508
508
|
}, Lt = function(t) {
|
|
509
509
|
var a = t.getBoundingClientRect(), r = a.width, l = a.height;
|
|
510
510
|
return r === 0 && l === 0;
|
|
511
|
-
},
|
|
511
|
+
}, Nr = function(t, a) {
|
|
512
512
|
var r = a.displayCheck, l = a.getShadowRoot;
|
|
513
513
|
if (getComputedStyle(t).visibility === "hidden")
|
|
514
514
|
return !0;
|
|
@@ -525,14 +525,14 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
525
525
|
}
|
|
526
526
|
t = v;
|
|
527
527
|
}
|
|
528
|
-
if (
|
|
528
|
+
if (Ar(t))
|
|
529
529
|
return !t.getClientRects().length;
|
|
530
530
|
if (r !== "legacy-full")
|
|
531
531
|
return !0;
|
|
532
532
|
} else if (r === "non-zero-area")
|
|
533
533
|
return Lt(t);
|
|
534
534
|
return !1;
|
|
535
|
-
},
|
|
535
|
+
}, Er = function(t) {
|
|
536
536
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
537
537
|
for (var a = t.parentElement; a; ) {
|
|
538
538
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
@@ -550,17 +550,17 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
550
550
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
551
551
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
552
552
|
// note related to `candidateSelectors`)
|
|
553
|
-
He(a) ||
|
|
554
|
-
|
|
553
|
+
He(a) || kr(a) || Nr(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
554
|
+
Sr(a) || Er(a));
|
|
555
555
|
}, lt = function(t, a) {
|
|
556
|
-
return !(
|
|
557
|
-
},
|
|
556
|
+
return !(Or(a) || ve(a) < 0 || !ze(t, a));
|
|
557
|
+
}, Fr = function(t) {
|
|
558
558
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
559
559
|
return !!(isNaN(a) || a >= 0);
|
|
560
|
-
},
|
|
560
|
+
}, xr = function n(t) {
|
|
561
561
|
var a = [], r = [];
|
|
562
562
|
return t.forEach(function(l, d) {
|
|
563
|
-
var o = !!l.scopeParent, v = o ? l.scopeParent : l, p =
|
|
563
|
+
var o = !!l.scopeParent, v = o ? l.scopeParent : l, p = wr(v, o), w = o ? n(l.candidates) : v;
|
|
564
564
|
p === 0 ? o ? a.push.apply(a, w) : a.push(v) : r.push({
|
|
565
565
|
documentOrder: d,
|
|
566
566
|
tabIndex: p,
|
|
@@ -568,19 +568,19 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
568
568
|
isScope: o,
|
|
569
569
|
content: w
|
|
570
570
|
});
|
|
571
|
-
}), r.sort(
|
|
571
|
+
}), r.sort(Tr).reduce(function(l, d) {
|
|
572
572
|
return d.isScope ? l.push.apply(l, d.content) : l.push(d.content), l;
|
|
573
573
|
}, []).concat(a);
|
|
574
|
-
},
|
|
574
|
+
}, Dr = function(t, a) {
|
|
575
575
|
a = a || {};
|
|
576
576
|
var r;
|
|
577
577
|
return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
|
|
578
578
|
filter: lt.bind(null, a),
|
|
579
579
|
flatten: !1,
|
|
580
580
|
getShadowRoot: a.getShadowRoot,
|
|
581
|
-
shadowRootFilter:
|
|
582
|
-
}) : r = Ut(t, a.includeContainer, lt.bind(null, a)),
|
|
583
|
-
},
|
|
581
|
+
shadowRootFilter: Fr
|
|
582
|
+
}) : r = Ut(t, a.includeContainer, lt.bind(null, a)), xr(r);
|
|
583
|
+
}, Br = function(t, a) {
|
|
584
584
|
a = a || {};
|
|
585
585
|
var r;
|
|
586
586
|
return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
|
|
@@ -592,10 +592,10 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
592
592
|
if (a = a || {}, !t)
|
|
593
593
|
throw new Error("No node provided");
|
|
594
594
|
return be.call(t, je) === !1 ? !1 : lt(a, t);
|
|
595
|
-
},
|
|
595
|
+
}, Rr = /* @__PURE__ */ Vt.concat("iframe").join(","), st = function(t, a) {
|
|
596
596
|
if (a = a || {}, !t)
|
|
597
597
|
throw new Error("No node provided");
|
|
598
|
-
return be.call(t,
|
|
598
|
+
return be.call(t, Rr) === !1 ? !1 : ze(a, t);
|
|
599
599
|
};
|
|
600
600
|
/*!
|
|
601
601
|
* focus-trap 7.5.3
|
|
@@ -615,22 +615,22 @@ function Mt(n) {
|
|
|
615
615
|
for (var t = 1; t < arguments.length; t++) {
|
|
616
616
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
617
617
|
t % 2 ? Pt(Object(a), !0).forEach(function(r) {
|
|
618
|
-
|
|
618
|
+
Lr(n, r, a[r]);
|
|
619
619
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Pt(Object(a)).forEach(function(r) {
|
|
620
620
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(a, r));
|
|
621
621
|
});
|
|
622
622
|
}
|
|
623
623
|
return n;
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return t =
|
|
625
|
+
function Lr(n, t, a) {
|
|
626
|
+
return t = Mr(t), t in n ? Object.defineProperty(n, t, {
|
|
627
627
|
value: a,
|
|
628
628
|
enumerable: !0,
|
|
629
629
|
configurable: !0,
|
|
630
630
|
writable: !0
|
|
631
631
|
}) : n[t] = a, n;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Pr(n, t) {
|
|
634
634
|
if (typeof n != "object" || n === null)
|
|
635
635
|
return n;
|
|
636
636
|
var a = n[Symbol.toPrimitive];
|
|
@@ -642,8 +642,8 @@ function Mr(n, t) {
|
|
|
642
642
|
}
|
|
643
643
|
return (t === "string" ? String : Number)(n);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
var t =
|
|
645
|
+
function Mr(n) {
|
|
646
|
+
var t = Pr(n, "string");
|
|
647
647
|
return typeof t == "symbol" ? t : String(t);
|
|
648
648
|
}
|
|
649
649
|
var Zt = {
|
|
@@ -659,15 +659,15 @@ var Zt = {
|
|
|
659
659
|
var r = t.indexOf(a);
|
|
660
660
|
r !== -1 && t.splice(r, 1), t.length > 0 && t[t.length - 1].unpause();
|
|
661
661
|
}
|
|
662
|
-
},
|
|
662
|
+
}, Zr = function(t) {
|
|
663
663
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
664
|
-
},
|
|
664
|
+
}, jr = function(t) {
|
|
665
665
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
666
666
|
}, Oe = function(t) {
|
|
667
667
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
668
|
-
},
|
|
668
|
+
}, Kr = function(t) {
|
|
669
669
|
return Oe(t) && !t.shiftKey;
|
|
670
|
-
},
|
|
670
|
+
}, Hr = function(t) {
|
|
671
671
|
return Oe(t) && t.shiftKey;
|
|
672
672
|
}, jt = function(t) {
|
|
673
673
|
return setTimeout(t, 0);
|
|
@@ -682,13 +682,13 @@ var Zt = {
|
|
|
682
682
|
return typeof t == "function" ? t.apply(void 0, r) : t;
|
|
683
683
|
}, Re = function(t) {
|
|
684
684
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
685
|
-
},
|
|
686
|
-
var r = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) ||
|
|
685
|
+
}, zr = [], Vr = function(t, a) {
|
|
686
|
+
var r = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || zr, d = Mt({
|
|
687
687
|
returnFocusOnDeactivate: !0,
|
|
688
688
|
escapeDeactivates: !0,
|
|
689
689
|
delayInitialFocus: !0,
|
|
690
|
-
isKeyForward:
|
|
691
|
-
isKeyBackward:
|
|
690
|
+
isKeyForward: Kr,
|
|
691
|
+
isKeyBackward: Hr
|
|
692
692
|
}, a), o = {
|
|
693
693
|
// containers given to createFocusTrap()
|
|
694
694
|
// @type {Array<HTMLElement>}
|
|
@@ -729,8 +729,8 @@ var Zt = {
|
|
|
729
729
|
return s && s[u] !== void 0 ? s[u] : d[f || u];
|
|
730
730
|
}, w = function(s, u) {
|
|
731
731
|
var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
|
|
732
|
-
return o.containerGroups.findIndex(function(
|
|
733
|
-
var k =
|
|
732
|
+
return o.containerGroups.findIndex(function(y) {
|
|
733
|
+
var k = y.container, E = y.tabbableNodes;
|
|
734
734
|
return k.contains(s) || // fall back to explicit tabbable search which will take into consideration any
|
|
735
735
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
736
736
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
@@ -742,9 +742,9 @@ var Zt = {
|
|
|
742
742
|
}, x = function(s) {
|
|
743
743
|
var u = d[s];
|
|
744
744
|
if (typeof u == "function") {
|
|
745
|
-
for (var f = arguments.length,
|
|
746
|
-
|
|
747
|
-
u = u.apply(void 0,
|
|
745
|
+
for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), k = 1; k < f; k++)
|
|
746
|
+
y[k - 1] = arguments[k];
|
|
747
|
+
u = u.apply(void 0, y);
|
|
748
748
|
}
|
|
749
749
|
if (u === !0 && (u = void 0), !u) {
|
|
750
750
|
if (u === void 0 || u === !1)
|
|
@@ -771,7 +771,7 @@ var Zt = {
|
|
|
771
771
|
return s;
|
|
772
772
|
}, D = function() {
|
|
773
773
|
if (o.containerGroups = o.containers.map(function(s) {
|
|
774
|
-
var u =
|
|
774
|
+
var u = Dr(s, d.tabbableOptions), f = Br(s, d.tabbableOptions), y = u.length > 0 ? u[0] : void 0, k = u.length > 0 ? u[u.length - 1] : void 0, E = f.find(function(R) {
|
|
775
775
|
return _e(R);
|
|
776
776
|
}), F = f.slice().reverse().find(function(R) {
|
|
777
777
|
return _e(R);
|
|
@@ -785,7 +785,7 @@ var Zt = {
|
|
|
785
785
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
786
786
|
posTabIndexesFound: M,
|
|
787
787
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
788
|
-
firstTabbableNode:
|
|
788
|
+
firstTabbableNode: y,
|
|
789
789
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
790
790
|
lastTabbableNode: k,
|
|
791
791
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
@@ -832,13 +832,13 @@ var Zt = {
|
|
|
832
832
|
}
|
|
833
833
|
s.focus({
|
|
834
834
|
preventScroll: !!d.preventScroll
|
|
835
|
-
}), o.mostRecentlyFocusedNode = s,
|
|
835
|
+
}), o.mostRecentlyFocusedNode = s, Zr(s) && s.select();
|
|
836
836
|
}
|
|
837
837
|
}, O = function(s) {
|
|
838
838
|
var u = x("setReturnFocus", s);
|
|
839
839
|
return u || (u === !1 ? !1 : s);
|
|
840
840
|
}, V = function(s) {
|
|
841
|
-
var u = s.target, f = s.event,
|
|
841
|
+
var u = s.target, f = s.event, y = s.isBackward, k = y === void 0 ? !1 : y;
|
|
842
842
|
u = u || Re(f), D();
|
|
843
843
|
var E = null;
|
|
844
844
|
if (o.tabbableGroups.length > 0) {
|
|
@@ -892,7 +892,7 @@ var Zt = {
|
|
|
892
892
|
f && (o.mostRecentlyFocusedNode = u);
|
|
893
893
|
else {
|
|
894
894
|
s.stopImmediatePropagation();
|
|
895
|
-
var
|
|
895
|
+
var y, k = !0;
|
|
896
896
|
if (o.mostRecentlyFocusedNode)
|
|
897
897
|
if (ve(o.mostRecentlyFocusedNode) > 0) {
|
|
898
898
|
var E = w(o.mostRecentlyFocusedNode), F = o.containerGroups[E].tabbableNodes;
|
|
@@ -900,7 +900,7 @@ var Zt = {
|
|
|
900
900
|
var M = F.findIndex(function(R) {
|
|
901
901
|
return R === o.mostRecentlyFocusedNode;
|
|
902
902
|
});
|
|
903
|
-
M >= 0 && (d.isKeyForward(o.recentNavEvent) ? M + 1 < F.length && (
|
|
903
|
+
M >= 0 && (d.isKeyForward(o.recentNavEvent) ? M + 1 < F.length && (y = F[M + 1], k = !1) : M - 1 >= 0 && (y = F[M - 1], k = !1));
|
|
904
904
|
}
|
|
905
905
|
} else
|
|
906
906
|
o.containerGroups.some(function(R) {
|
|
@@ -910,12 +910,12 @@ var Zt = {
|
|
|
910
910
|
}) || (k = !1);
|
|
911
911
|
else
|
|
912
912
|
k = !1;
|
|
913
|
-
k && (
|
|
913
|
+
k && (y = V({
|
|
914
914
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
915
915
|
// outside the trap causing the focus escape we're trying to fix)
|
|
916
916
|
target: o.mostRecentlyFocusedNode,
|
|
917
917
|
isBackward: d.isKeyBackward(o.recentNavEvent)
|
|
918
|
-
})), I(
|
|
918
|
+
})), I(y || o.mostRecentlyFocusedNode || N());
|
|
919
919
|
}
|
|
920
920
|
o.recentNavEvent = void 0;
|
|
921
921
|
}, ne = function(s) {
|
|
@@ -927,7 +927,7 @@ var Zt = {
|
|
|
927
927
|
});
|
|
928
928
|
f && (Oe(s) && s.preventDefault(), I(f));
|
|
929
929
|
}, G = function(s) {
|
|
930
|
-
if (
|
|
930
|
+
if (jr(s) && $e(d.escapeDeactivates, s) !== !1) {
|
|
931
931
|
s.preventDefault(), v.deactivate();
|
|
932
932
|
return;
|
|
933
933
|
}
|
|
@@ -957,8 +957,8 @@ var Zt = {
|
|
|
957
957
|
return r.removeEventListener("focusin", Z, !0), r.removeEventListener("mousedown", j, !0), r.removeEventListener("touchstart", j, !0), r.removeEventListener("click", S, !0), r.removeEventListener("keydown", G, !0), v;
|
|
958
958
|
}, ee = function(s) {
|
|
959
959
|
var u = s.some(function(f) {
|
|
960
|
-
var
|
|
961
|
-
return
|
|
960
|
+
var y = Array.from(f.removedNodes);
|
|
961
|
+
return y.some(function(k) {
|
|
962
962
|
return k === o.mostRecentlyFocusedNode;
|
|
963
963
|
});
|
|
964
964
|
});
|
|
@@ -981,12 +981,12 @@ var Zt = {
|
|
|
981
981
|
activate: function(s) {
|
|
982
982
|
if (o.active)
|
|
983
983
|
return this;
|
|
984
|
-
var u = p(s, "onActivate"), f = p(s, "onPostActivate"),
|
|
985
|
-
|
|
984
|
+
var u = p(s, "onActivate"), f = p(s, "onPostActivate"), y = p(s, "checkCanFocusTrap");
|
|
985
|
+
y || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, u == null || u();
|
|
986
986
|
var k = function() {
|
|
987
|
-
|
|
987
|
+
y && D(), P(), W(), f == null || f();
|
|
988
988
|
};
|
|
989
|
-
return
|
|
989
|
+
return y ? (y(o.containers.concat()).then(k, k), this) : (k(), this);
|
|
990
990
|
},
|
|
991
991
|
deactivate: function(s) {
|
|
992
992
|
if (!o.active)
|
|
@@ -997,11 +997,11 @@ var Zt = {
|
|
|
997
997
|
checkCanReturnFocus: d.checkCanReturnFocus
|
|
998
998
|
}, s);
|
|
999
999
|
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, U(), o.active = !1, o.paused = !1, W(), Zt.deactivateTrap(l, v);
|
|
1000
|
-
var f = p(u, "onDeactivate"),
|
|
1000
|
+
var f = p(u, "onDeactivate"), y = p(u, "onPostDeactivate"), k = p(u, "checkCanReturnFocus"), E = p(u, "returnFocus", "returnFocusOnDeactivate");
|
|
1001
1001
|
f == null || f();
|
|
1002
1002
|
var F = function() {
|
|
1003
1003
|
jt(function() {
|
|
1004
|
-
E && I(O(o.nodeFocusedBeforeActivation)),
|
|
1004
|
+
E && I(O(o.nodeFocusedBeforeActivation)), y == null || y();
|
|
1005
1005
|
});
|
|
1006
1006
|
};
|
|
1007
1007
|
return E && k ? (k(O(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
|
|
@@ -1031,7 +1031,7 @@ var Zt = {
|
|
|
1031
1031
|
* (c) 2023 Eduardo San Martin Morote
|
|
1032
1032
|
* @license MIT
|
|
1033
1033
|
*/
|
|
1034
|
-
const
|
|
1034
|
+
const Gr = {
|
|
1035
1035
|
escapeDeactivates: {
|
|
1036
1036
|
type: Boolean,
|
|
1037
1037
|
default: !0
|
|
@@ -1057,14 +1057,14 @@ const Ur = {
|
|
|
1057
1057
|
preventScroll: Boolean,
|
|
1058
1058
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
1059
1059
|
tabbableOptions: Object
|
|
1060
|
-
},
|
|
1060
|
+
}, Ur = te({
|
|
1061
1061
|
props: Object.assign({
|
|
1062
1062
|
active: {
|
|
1063
1063
|
// TODO: could be options for activate but what about the options for deactivating?
|
|
1064
1064
|
type: Boolean,
|
|
1065
1065
|
default: !0
|
|
1066
1066
|
}
|
|
1067
|
-
},
|
|
1067
|
+
}, Gr),
|
|
1068
1068
|
emits: [
|
|
1069
1069
|
"update:active",
|
|
1070
1070
|
"activate",
|
|
@@ -1082,7 +1082,7 @@ const Ur = {
|
|
|
1082
1082
|
return v && (v instanceof HTMLElement ? v : v.$el);
|
|
1083
1083
|
});
|
|
1084
1084
|
function o() {
|
|
1085
|
-
return r || (r =
|
|
1085
|
+
return r || (r = Vr(d.value, {
|
|
1086
1086
|
escapeDeactivates: n.escapeDeactivates,
|
|
1087
1087
|
allowOutsideClick: n.allowOutsideClick,
|
|
1088
1088
|
returnFocusOnDeactivate: n.returnFocusOnDeactivate,
|
|
@@ -1105,7 +1105,7 @@ const Ur = {
|
|
|
1105
1105
|
Ze(() => n.active, (v) => {
|
|
1106
1106
|
v && d.value ? o().activate() : r && (r.deactivate(), (!d.value || d.value.nodeType === Node.COMMENT_NODE) && (r = null));
|
|
1107
1107
|
}, { immediate: !0, flush: "post" });
|
|
1108
|
-
}),
|
|
1108
|
+
}), yn(() => {
|
|
1109
1109
|
r && r.deactivate(), r = null;
|
|
1110
1110
|
}), {
|
|
1111
1111
|
activate() {
|
|
@@ -1117,8 +1117,8 @@ const Ur = {
|
|
|
1117
1117
|
renderImpl() {
|
|
1118
1118
|
if (!t.default)
|
|
1119
1119
|
return null;
|
|
1120
|
-
const v = t.default().filter((w) => w.type !==
|
|
1121
|
-
return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) :
|
|
1120
|
+
const v = t.default().filter((w) => w.type !== _n);
|
|
1121
|
+
return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : wn(v[0], { ref: l });
|
|
1122
1122
|
}
|
|
1123
1123
|
};
|
|
1124
1124
|
}
|
|
@@ -1136,27 +1136,27 @@ function Xt() {
|
|
|
1136
1136
|
};
|
|
1137
1137
|
}
|
|
1138
1138
|
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1139
|
-
function
|
|
1139
|
+
function Wr(n) {
|
|
1140
1140
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1141
1141
|
}
|
|
1142
1142
|
var Ve = { exports: {} };
|
|
1143
1143
|
Ve.exports;
|
|
1144
1144
|
(function(n, t) {
|
|
1145
|
-
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", p = "[object Date]", w = "[object Error]", x = "[object Function]", N = "[object GeneratorFunction]", D = "[object Map]", I = "[object Number]", O = "[object Object]", V = "[object Promise]", j = "[object RegExp]", Z = "[object Set]", ne = "[object String]", G = "[object Symbol]", S = "[object WeakMap]", P = "[object ArrayBuffer]", U = "[object DataView]", ee = "[object Float32Array]", Y = "[object Float64Array]", W = "[object Int8Array]", A = "[object Int16Array]", s = "[object Int32Array]", u = "[object Uint8Array]", f = "[object Uint8ClampedArray]",
|
|
1146
|
-
T[d] = T[o] = T[P] = T[U] = T[v] = T[p] = T[ee] = T[Y] = T[W] = T[A] = T[s] = T[D] = T[I] = T[O] = T[j] = T[Z] = T[ne] = T[G] = T[u] = T[f] = T[
|
|
1145
|
+
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", p = "[object Date]", w = "[object Error]", x = "[object Function]", N = "[object GeneratorFunction]", D = "[object Map]", I = "[object Number]", O = "[object Object]", V = "[object Promise]", j = "[object RegExp]", Z = "[object Set]", ne = "[object String]", G = "[object Symbol]", S = "[object WeakMap]", P = "[object ArrayBuffer]", U = "[object DataView]", ee = "[object Float32Array]", Y = "[object Float64Array]", W = "[object Int8Array]", A = "[object Int16Array]", s = "[object Int32Array]", u = "[object Uint8Array]", f = "[object Uint8ClampedArray]", y = "[object Uint16Array]", k = "[object Uint32Array]", E = /[\\^$.*+?()[\]{}|]/g, F = /\w*$/, M = /^\[object .+?Constructor\]$/, R = /^(?:0|[1-9]\d*)$/, T = {};
|
|
1146
|
+
T[d] = T[o] = T[P] = T[U] = T[v] = T[p] = T[ee] = T[Y] = T[W] = T[A] = T[s] = T[D] = T[I] = T[O] = T[j] = T[Z] = T[ne] = T[G] = T[u] = T[f] = T[y] = T[k] = !0, T[w] = T[x] = T[S] = !1;
|
|
1147
1147
|
var le = typeof Le == "object" && Le && Le.Object === Object && Le, re = typeof self == "object" && self && self.Object === Object && self, K = le || re || Function("return this")(), Te = t && !t.nodeType && t, he = Te && !0 && n && !n.nodeType && n, ke = he && he.exports === Te;
|
|
1148
|
-
function
|
|
1148
|
+
function Jt(e, i) {
|
|
1149
1149
|
return e.set(i[0], i[1]), e;
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function Qt(e, i) {
|
|
1152
1152
|
return e.add(i), e;
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function ea(e, i) {
|
|
1155
1155
|
for (var c = -1, b = e ? e.length : 0; ++c < b && i(e[c], c, e) !== !1; )
|
|
1156
1156
|
;
|
|
1157
1157
|
return e;
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function ta(e, i) {
|
|
1160
1160
|
for (var c = -1, b = i.length, L = e.length; ++c < b; )
|
|
1161
1161
|
e[L + c] = i[c];
|
|
1162
1162
|
return e;
|
|
@@ -1167,12 +1167,12 @@ Ve.exports;
|
|
|
1167
1167
|
c = i(c, e[L], L, e);
|
|
1168
1168
|
return c;
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function aa(e, i) {
|
|
1171
1171
|
for (var c = -1, b = Array(e); ++c < e; )
|
|
1172
1172
|
b[c] = i(c);
|
|
1173
1173
|
return b;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function na(e, i) {
|
|
1176
1176
|
return e == null ? void 0 : e[i];
|
|
1177
1177
|
}
|
|
1178
1178
|
function bt(e) {
|
|
@@ -1201,12 +1201,12 @@ Ve.exports;
|
|
|
1201
1201
|
c[++i] = b;
|
|
1202
1202
|
}), c;
|
|
1203
1203
|
}
|
|
1204
|
-
var
|
|
1204
|
+
var ra = Array.prototype, ia = Function.prototype, Ne = Object.prototype, Ye = K["__core-js_shared__"], mt = function() {
|
|
1205
1205
|
var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
|
|
1206
1206
|
return e ? "Symbol(src)_1." + e : "";
|
|
1207
|
-
}(), gt =
|
|
1207
|
+
}(), gt = ia.toString, se = Ne.hasOwnProperty, Ee = Ne.toString, oa = RegExp(
|
|
1208
1208
|
"^" + gt.call(se).replace(E, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1209
|
-
), yt = ke ? K.Buffer : void 0, _t = K.Symbol, wt = K.Uint8Array,
|
|
1209
|
+
), yt = ke ? K.Buffer : void 0, _t = K.Symbol, wt = K.Uint8Array, sa = qe(Object.getPrototypeOf, Object), ca = Object.create, la = Ne.propertyIsEnumerable, ua = ra.splice, Tt = Object.getOwnPropertySymbols, da = yt ? yt.isBuffer : void 0, fa = qe(Object.keys, Object), Xe = ge(K, "DataView"), Se = ge(K, "Map"), Je = ge(K, "Promise"), Qe = ge(K, "Set"), et = ge(K, "WeakMap"), Ie = ge(Object, "create"), va = fe(Xe), ba = fe(Se), ha = fe(Je), pa = fe(Qe), ma = fe(et), kt = _t ? _t.prototype : void 0, St = kt ? kt.valueOf : void 0;
|
|
1210
1210
|
function ue(e) {
|
|
1211
1211
|
var i = -1, c = e ? e.length : 0;
|
|
1212
1212
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1214,13 +1214,13 @@ Ve.exports;
|
|
|
1214
1214
|
this.set(b[0], b[1]);
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function ga() {
|
|
1218
1218
|
this.__data__ = Ie ? Ie(null) : {};
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1220
|
+
function ya(e) {
|
|
1221
1221
|
return this.has(e) && delete this.__data__[e];
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function _a(e) {
|
|
1224
1224
|
var i = this.__data__;
|
|
1225
1225
|
if (Ie) {
|
|
1226
1226
|
var c = i[e];
|
|
@@ -1228,15 +1228,15 @@ Ve.exports;
|
|
|
1228
1228
|
}
|
|
1229
1229
|
return se.call(i, e) ? i[e] : void 0;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function wa(e) {
|
|
1232
1232
|
var i = this.__data__;
|
|
1233
1233
|
return Ie ? i[e] !== void 0 : se.call(i, e);
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Ta(e, i) {
|
|
1236
1236
|
var c = this.__data__;
|
|
1237
1237
|
return c[e] = Ie && i === void 0 ? r : i, this;
|
|
1238
1238
|
}
|
|
1239
|
-
ue.prototype.clear =
|
|
1239
|
+
ue.prototype.clear = ga, ue.prototype.delete = ya, ue.prototype.get = _a, ue.prototype.has = wa, ue.prototype.set = Ta;
|
|
1240
1240
|
function oe(e) {
|
|
1241
1241
|
var i = -1, c = e ? e.length : 0;
|
|
1242
1242
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1244,28 +1244,28 @@ Ve.exports;
|
|
|
1244
1244
|
this.set(b[0], b[1]);
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function ka() {
|
|
1248
1248
|
this.__data__ = [];
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function Sa(e) {
|
|
1251
1251
|
var i = this.__data__, c = Fe(i, e);
|
|
1252
1252
|
if (c < 0)
|
|
1253
1253
|
return !1;
|
|
1254
1254
|
var b = i.length - 1;
|
|
1255
|
-
return c == b ? i.pop() :
|
|
1255
|
+
return c == b ? i.pop() : ua.call(i, c, 1), !0;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function Ia(e) {
|
|
1258
1258
|
var i = this.__data__, c = Fe(i, e);
|
|
1259
1259
|
return c < 0 ? void 0 : i[c][1];
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function $a(e) {
|
|
1262
1262
|
return Fe(this.__data__, e) > -1;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function Ca(e, i) {
|
|
1265
1265
|
var c = this.__data__, b = Fe(c, e);
|
|
1266
1266
|
return b < 0 ? c.push([e, i]) : c[b][1] = i, this;
|
|
1267
1267
|
}
|
|
1268
|
-
oe.prototype.clear =
|
|
1268
|
+
oe.prototype.clear = ka, oe.prototype.delete = Sa, oe.prototype.get = Ia, oe.prototype.has = $a, oe.prototype.set = Ca;
|
|
1269
1269
|
function pe(e) {
|
|
1270
1270
|
var i = -1, c = e ? e.length : 0;
|
|
1271
1271
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1273,42 +1273,42 @@ Ve.exports;
|
|
|
1273
1273
|
this.set(b[0], b[1]);
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function Oa() {
|
|
1277
1277
|
this.__data__ = {
|
|
1278
1278
|
hash: new ue(),
|
|
1279
1279
|
map: new (Se || oe)(),
|
|
1280
1280
|
string: new ue()
|
|
1281
1281
|
};
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function Aa(e) {
|
|
1284
1284
|
return xe(this, e).delete(e);
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function Na(e) {
|
|
1287
1287
|
return xe(this, e).get(e);
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function Ea(e) {
|
|
1290
1290
|
return xe(this, e).has(e);
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function Fa(e, i) {
|
|
1293
1293
|
return xe(this, e).set(e, i), this;
|
|
1294
1294
|
}
|
|
1295
|
-
pe.prototype.clear =
|
|
1295
|
+
pe.prototype.clear = Oa, pe.prototype.delete = Aa, pe.prototype.get = Na, pe.prototype.has = Ea, pe.prototype.set = Fa;
|
|
1296
1296
|
function me(e) {
|
|
1297
1297
|
this.__data__ = new oe(e);
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function xa() {
|
|
1300
1300
|
this.__data__ = new oe();
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1302
|
+
function Da(e) {
|
|
1303
1303
|
return this.__data__.delete(e);
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Ba(e) {
|
|
1306
1306
|
return this.__data__.get(e);
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Ra(e) {
|
|
1309
1309
|
return this.__data__.has(e);
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1311
|
+
function La(e, i) {
|
|
1312
1312
|
var c = this.__data__;
|
|
1313
1313
|
if (c instanceof oe) {
|
|
1314
1314
|
var b = c.__data__;
|
|
@@ -1318,11 +1318,11 @@ Ve.exports;
|
|
|
1318
1318
|
}
|
|
1319
1319
|
return c.set(e, i), this;
|
|
1320
1320
|
}
|
|
1321
|
-
me.prototype.clear =
|
|
1322
|
-
function
|
|
1323
|
-
var c = nt(e) ||
|
|
1321
|
+
me.prototype.clear = xa, me.prototype.delete = Da, me.prototype.get = Ba, me.prototype.has = Ra, me.prototype.set = La;
|
|
1322
|
+
function Pa(e, i) {
|
|
1323
|
+
var c = nt(e) || ln(e) ? aa(e.length, String) : [], b = c.length, L = !!b;
|
|
1324
1324
|
for (var H in e)
|
|
1325
|
-
(i || se.call(e, H)) && !(L && (H == "length" ||
|
|
1325
|
+
(i || se.call(e, H)) && !(L && (H == "length" || rn(H, b))) && c.push(H);
|
|
1326
1326
|
return c;
|
|
1327
1327
|
}
|
|
1328
1328
|
function It(e, i, c) {
|
|
@@ -1335,7 +1335,7 @@ Ve.exports;
|
|
|
1335
1335
|
return c;
|
|
1336
1336
|
return -1;
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function Ma(e, i) {
|
|
1339
1339
|
return e && $t(i, rt(i), e);
|
|
1340
1340
|
}
|
|
1341
1341
|
function tt(e, i, c, b, L, H, X) {
|
|
@@ -1346,21 +1346,21 @@ Ve.exports;
|
|
|
1346
1346
|
return e;
|
|
1347
1347
|
var Ft = nt(e);
|
|
1348
1348
|
if (Ft) {
|
|
1349
|
-
if (z =
|
|
1350
|
-
return
|
|
1349
|
+
if (z = tn(e), !i)
|
|
1350
|
+
return Ja(e, z);
|
|
1351
1351
|
} else {
|
|
1352
1352
|
var ye = de(e), xt = ye == x || ye == N;
|
|
1353
|
-
if (
|
|
1354
|
-
return
|
|
1353
|
+
if (dn(e))
|
|
1354
|
+
return Va(e, i);
|
|
1355
1355
|
if (ye == O || ye == d || xt && !H) {
|
|
1356
1356
|
if (bt(e))
|
|
1357
1357
|
return H ? e : {};
|
|
1358
|
-
if (z =
|
|
1359
|
-
return
|
|
1358
|
+
if (z = an(xt ? {} : e), !i)
|
|
1359
|
+
return Qa(e, Ma(z, e));
|
|
1360
1360
|
} else {
|
|
1361
1361
|
if (!T[ye])
|
|
1362
1362
|
return H ? e : {};
|
|
1363
|
-
z =
|
|
1363
|
+
z = nn(e, ye, tt, i);
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
X || (X = new me());
|
|
@@ -1368,36 +1368,36 @@ Ve.exports;
|
|
|
1368
1368
|
if (Dt)
|
|
1369
1369
|
return Dt;
|
|
1370
1370
|
if (X.set(e, z), !Ft)
|
|
1371
|
-
var Bt = c ?
|
|
1372
|
-
return
|
|
1371
|
+
var Bt = c ? en(e) : rt(e);
|
|
1372
|
+
return ea(Bt || e, function(it, Be) {
|
|
1373
1373
|
Bt && (Be = it, it = e[Be]), It(z, Be, tt(it, i, c, b, Be, e, X));
|
|
1374
1374
|
}), z;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1377
|
-
return De(e) ?
|
|
1376
|
+
function Za(e) {
|
|
1377
|
+
return De(e) ? ca(e) : {};
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function ja(e, i, c) {
|
|
1380
1380
|
var b = i(e);
|
|
1381
|
-
return nt(e) ? b :
|
|
1381
|
+
return nt(e) ? b : ta(b, c(e));
|
|
1382
1382
|
}
|
|
1383
|
-
function
|
|
1383
|
+
function Ka(e) {
|
|
1384
1384
|
return Ee.call(e);
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1387
|
-
if (!De(e) ||
|
|
1386
|
+
function Ha(e) {
|
|
1387
|
+
if (!De(e) || sn(e))
|
|
1388
1388
|
return !1;
|
|
1389
|
-
var i = Et(e) || bt(e) ?
|
|
1389
|
+
var i = Et(e) || bt(e) ? oa : M;
|
|
1390
1390
|
return i.test(fe(e));
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function za(e) {
|
|
1393
1393
|
if (!Ot(e))
|
|
1394
|
-
return
|
|
1394
|
+
return fa(e);
|
|
1395
1395
|
var i = [];
|
|
1396
1396
|
for (var c in Object(e))
|
|
1397
1397
|
se.call(e, c) && c != "constructor" && i.push(c);
|
|
1398
1398
|
return i;
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function Va(e, i) {
|
|
1401
1401
|
if (i)
|
|
1402
1402
|
return e.slice();
|
|
1403
1403
|
var c = new e.constructor(e.length);
|
|
@@ -1407,30 +1407,30 @@ Ve.exports;
|
|
|
1407
1407
|
var i = new e.constructor(e.byteLength);
|
|
1408
1408
|
return new wt(i).set(new wt(e)), i;
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function Ga(e, i) {
|
|
1411
1411
|
var c = i ? at(e.buffer) : e.buffer;
|
|
1412
1412
|
return new e.constructor(c, e.byteOffset, e.byteLength);
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function Ua(e, i, c) {
|
|
1415
1415
|
var b = i ? c(ht(e), !0) : ht(e);
|
|
1416
|
-
return vt(b,
|
|
1416
|
+
return vt(b, Jt, new e.constructor());
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function Wa(e) {
|
|
1419
1419
|
var i = new e.constructor(e.source, F.exec(e));
|
|
1420
1420
|
return i.lastIndex = e.lastIndex, i;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function qa(e, i, c) {
|
|
1423
1423
|
var b = i ? c(pt(e), !0) : pt(e);
|
|
1424
|
-
return vt(b,
|
|
1424
|
+
return vt(b, Qt, new e.constructor());
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1426
|
+
function Ya(e) {
|
|
1427
1427
|
return St ? Object(St.call(e)) : {};
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function Xa(e, i) {
|
|
1430
1430
|
var c = i ? at(e.buffer) : e.buffer;
|
|
1431
1431
|
return new e.constructor(c, e.byteOffset, e.length);
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function Ja(e, i) {
|
|
1434
1434
|
var c = -1, b = e.length;
|
|
1435
1435
|
for (i || (i = Array(b)); ++c < b; )
|
|
1436
1436
|
i[c] = e[c];
|
|
@@ -1444,46 +1444,46 @@ Ve.exports;
|
|
|
1444
1444
|
}
|
|
1445
1445
|
return c;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function Qa(e, i) {
|
|
1448
1448
|
return $t(e, Ct(e), i);
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1451
|
-
return
|
|
1450
|
+
function en(e) {
|
|
1451
|
+
return ja(e, rt, Ct);
|
|
1452
1452
|
}
|
|
1453
1453
|
function xe(e, i) {
|
|
1454
1454
|
var c = e.__data__;
|
|
1455
|
-
return
|
|
1455
|
+
return on(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
|
|
1456
1456
|
}
|
|
1457
1457
|
function ge(e, i) {
|
|
1458
|
-
var c =
|
|
1459
|
-
return
|
|
1458
|
+
var c = na(e, i);
|
|
1459
|
+
return Ha(c) ? c : void 0;
|
|
1460
1460
|
}
|
|
1461
|
-
var Ct = Tt ? qe(Tt, Object) :
|
|
1461
|
+
var Ct = Tt ? qe(Tt, Object) : bn, de = Ka;
|
|
1462
1462
|
(Xe && de(new Xe(new ArrayBuffer(1))) != U || Se && de(new Se()) != D || Je && de(Je.resolve()) != V || Qe && de(new Qe()) != Z || et && de(new et()) != S) && (de = function(e) {
|
|
1463
1463
|
var i = Ee.call(e), c = i == O ? e.constructor : void 0, b = c ? fe(c) : void 0;
|
|
1464
1464
|
if (b)
|
|
1465
1465
|
switch (b) {
|
|
1466
|
-
case
|
|
1466
|
+
case va:
|
|
1467
1467
|
return U;
|
|
1468
|
-
case
|
|
1468
|
+
case ba:
|
|
1469
1469
|
return D;
|
|
1470
|
-
case
|
|
1470
|
+
case ha:
|
|
1471
1471
|
return V;
|
|
1472
|
-
case
|
|
1472
|
+
case pa:
|
|
1473
1473
|
return Z;
|
|
1474
|
-
case
|
|
1474
|
+
case ma:
|
|
1475
1475
|
return S;
|
|
1476
1476
|
}
|
|
1477
1477
|
return i;
|
|
1478
1478
|
});
|
|
1479
|
-
function
|
|
1479
|
+
function tn(e) {
|
|
1480
1480
|
var i = e.length, c = e.constructor(i);
|
|
1481
1481
|
return i && typeof e[0] == "string" && se.call(e, "index") && (c.index = e.index, c.input = e.input), c;
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return typeof e.constructor == "function" && !Ot(e) ?
|
|
1483
|
+
function an(e) {
|
|
1484
|
+
return typeof e.constructor == "function" && !Ot(e) ? Za(sa(e)) : {};
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1486
|
+
function nn(e, i, c, b) {
|
|
1487
1487
|
var L = e.constructor;
|
|
1488
1488
|
switch (i) {
|
|
1489
1489
|
case P:
|
|
@@ -1492,7 +1492,7 @@ Ve.exports;
|
|
|
1492
1492
|
case p:
|
|
1493
1493
|
return new L(+e);
|
|
1494
1494
|
case U:
|
|
1495
|
-
return
|
|
1495
|
+
return Ga(e, b);
|
|
1496
1496
|
case ee:
|
|
1497
1497
|
case Y:
|
|
1498
1498
|
case W:
|
|
@@ -1500,30 +1500,30 @@ Ve.exports;
|
|
|
1500
1500
|
case s:
|
|
1501
1501
|
case u:
|
|
1502
1502
|
case f:
|
|
1503
|
-
case
|
|
1503
|
+
case y:
|
|
1504
1504
|
case k:
|
|
1505
|
-
return
|
|
1505
|
+
return Xa(e, b);
|
|
1506
1506
|
case D:
|
|
1507
|
-
return
|
|
1507
|
+
return Ua(e, b, c);
|
|
1508
1508
|
case I:
|
|
1509
1509
|
case ne:
|
|
1510
1510
|
return new L(e);
|
|
1511
1511
|
case j:
|
|
1512
|
-
return
|
|
1512
|
+
return Wa(e);
|
|
1513
1513
|
case Z:
|
|
1514
|
-
return
|
|
1514
|
+
return qa(e, b, c);
|
|
1515
1515
|
case G:
|
|
1516
|
-
return
|
|
1516
|
+
return Ya(e);
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function rn(e, i) {
|
|
1520
1520
|
return i = i ?? l, !!i && (typeof e == "number" || R.test(e)) && e > -1 && e % 1 == 0 && e < i;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function on(e) {
|
|
1523
1523
|
var i = typeof e;
|
|
1524
1524
|
return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function sn(e) {
|
|
1527
1527
|
return !!mt && mt in e;
|
|
1528
1528
|
}
|
|
1529
1529
|
function Ot(e) {
|
|
@@ -1543,66 +1543,66 @@ Ve.exports;
|
|
|
1543
1543
|
}
|
|
1544
1544
|
return "";
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1546
|
+
function cn(e) {
|
|
1547
1547
|
return tt(e, !0, !0);
|
|
1548
1548
|
}
|
|
1549
1549
|
function At(e, i) {
|
|
1550
1550
|
return e === i || e !== e && i !== i;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1553
|
-
return
|
|
1552
|
+
function ln(e) {
|
|
1553
|
+
return un(e) && se.call(e, "callee") && (!la.call(e, "callee") || Ee.call(e) == d);
|
|
1554
1554
|
}
|
|
1555
1555
|
var nt = Array.isArray;
|
|
1556
1556
|
function Nt(e) {
|
|
1557
|
-
return e != null &&
|
|
1557
|
+
return e != null && fn(e.length) && !Et(e);
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return
|
|
1559
|
+
function un(e) {
|
|
1560
|
+
return vn(e) && Nt(e);
|
|
1561
1561
|
}
|
|
1562
|
-
var
|
|
1562
|
+
var dn = da || hn;
|
|
1563
1563
|
function Et(e) {
|
|
1564
1564
|
var i = De(e) ? Ee.call(e) : "";
|
|
1565
1565
|
return i == x || i == N;
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function fn(e) {
|
|
1568
1568
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
|
|
1569
1569
|
}
|
|
1570
1570
|
function De(e) {
|
|
1571
1571
|
var i = typeof e;
|
|
1572
1572
|
return !!e && (i == "object" || i == "function");
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1574
|
+
function vn(e) {
|
|
1575
1575
|
return !!e && typeof e == "object";
|
|
1576
1576
|
}
|
|
1577
1577
|
function rt(e) {
|
|
1578
|
-
return Nt(e) ?
|
|
1578
|
+
return Nt(e) ? Pa(e) : za(e);
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function bn() {
|
|
1581
1581
|
return [];
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function hn() {
|
|
1584
1584
|
return !1;
|
|
1585
1585
|
}
|
|
1586
|
-
n.exports =
|
|
1586
|
+
n.exports = cn;
|
|
1587
1587
|
})(Ve, Ve.exports);
|
|
1588
|
-
var
|
|
1589
|
-
const
|
|
1588
|
+
var qr = Ve.exports;
|
|
1589
|
+
const Yr = /* @__PURE__ */ Wr(qr), Xr = {
|
|
1590
1590
|
key: 0,
|
|
1591
1591
|
class: "sidebar-header"
|
|
1592
|
-
},
|
|
1592
|
+
}, Jr = { class: "sidebar-content-container" }, Qr = {
|
|
1593
1593
|
key: 0,
|
|
1594
1594
|
class: "sidebar-top"
|
|
1595
|
-
},
|
|
1595
|
+
}, ei = { "aria-label": "Main menu" }, ti = {
|
|
1596
1596
|
key: 0,
|
|
1597
1597
|
class: "level-primary top-items"
|
|
1598
|
-
},
|
|
1598
|
+
}, ai = {
|
|
1599
1599
|
key: 1,
|
|
1600
1600
|
class: "sidebar-level-divider",
|
|
1601
1601
|
role: "separator"
|
|
1602
|
-
},
|
|
1602
|
+
}, ni = {
|
|
1603
1603
|
key: 2,
|
|
1604
1604
|
class: "level-primary bottom-items"
|
|
1605
|
-
},
|
|
1605
|
+
}, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ te({
|
|
1606
1606
|
__name: "AppSidebar",
|
|
1607
1607
|
props: {
|
|
1608
1608
|
topItems: {
|
|
@@ -1687,10 +1687,10 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1687
1687
|
})), w = g(() => ({
|
|
1688
1688
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1689
1689
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1690
|
-
})), x = (s) =>
|
|
1691
|
-
var
|
|
1690
|
+
})), x = (s) => Yr(s).map((f) => {
|
|
1691
|
+
var y, k, E;
|
|
1692
1692
|
if (f) {
|
|
1693
|
-
(!f.key || !((
|
|
1693
|
+
(!f.key || !((y = f.key) != null && y.trim())) && (f.key = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!f.testId || !((k = f.testId) != null && k.trim())) && (f.testId = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1694
1694
|
for (const F of f.items || [])
|
|
1695
1695
|
F.parentKey = f.key, (!F.testId || !((E = F.testId) != null && E.trim())) && (F.testId = String(F.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1696
1696
|
}
|
|
@@ -1714,7 +1714,7 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1714
1714
|
P.value || (P.value = !0, clearTimeout(U.value), U.value = setTimeout(() => P.value = !1, 1300));
|
|
1715
1715
|
}, Y = q(null), W = g(() => I.value && a.mobileEnabled), A = async (s) => {
|
|
1716
1716
|
var u, f;
|
|
1717
|
-
s ? (await
|
|
1717
|
+
s ? (await kn(), await new Promise((y) => setTimeout(y, 300)), (u = Y.value) == null || u.activate()) : (f = Y.value) == null || f.deactivate();
|
|
1718
1718
|
};
|
|
1719
1719
|
return Ze(W, async (s) => {
|
|
1720
1720
|
s ? await A(!0) : await A(!1);
|
|
@@ -1728,7 +1728,7 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1728
1728
|
class: "kong-ui-app-sidebar-overlay",
|
|
1729
1729
|
onClick: V
|
|
1730
1730
|
})) : C("", !0),
|
|
1731
|
-
we(
|
|
1731
|
+
we(Tn(Ur), {
|
|
1732
1732
|
ref_key: "focusTrap",
|
|
1733
1733
|
ref: Y,
|
|
1734
1734
|
active: !1,
|
|
@@ -1736,7 +1736,7 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1736
1736
|
"fallback-focus": ".kong-ui-app-sidebar"
|
|
1737
1737
|
}, {
|
|
1738
1738
|
default: B(() => [
|
|
1739
|
-
|
|
1739
|
+
_("aside", {
|
|
1740
1740
|
class: ie(["kong-ui-app-sidebar", {
|
|
1741
1741
|
"sidebar-open": I.value,
|
|
1742
1742
|
"no-sidebar-header": !l.value,
|
|
@@ -1746,23 +1746,23 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1746
1746
|
}]),
|
|
1747
1747
|
tabindex: "-1"
|
|
1748
1748
|
}, [
|
|
1749
|
-
l.value ? (h(), m("div",
|
|
1749
|
+
l.value ? (h(), m("div", Xr, [
|
|
1750
1750
|
$(s.$slots, "header", {}, void 0, !0)
|
|
1751
1751
|
])) : C("", !0),
|
|
1752
|
-
|
|
1753
|
-
d.value ? (h(), m("div",
|
|
1752
|
+
_("div", Jr, [
|
|
1753
|
+
d.value ? (h(), m("div", Qr, [
|
|
1754
1754
|
$(s.$slots, "top", {}, void 0, !0)
|
|
1755
1755
|
])) : C("", !0),
|
|
1756
|
-
|
|
1757
|
-
N.value.length ? (h(), m("ul",
|
|
1756
|
+
_("nav", ei, [
|
|
1757
|
+
N.value.length ? (h(), m("ul", ti, [
|
|
1758
1758
|
(h(!0), m(Ce, null, Ae(N.value, (f) => (h(), Q(Rt, {
|
|
1759
1759
|
key: f.name,
|
|
1760
1760
|
item: f,
|
|
1761
1761
|
onClick: Z
|
|
1762
1762
|
}, null, 8, ["item"]))), 128))
|
|
1763
1763
|
])) : C("", !0),
|
|
1764
|
-
N.value.length && D.value.length ? (h(), m("div",
|
|
1765
|
-
D.value.length ? (h(), m("ul",
|
|
1764
|
+
N.value.length && D.value.length ? (h(), m("div", ai)) : C("", !0),
|
|
1765
|
+
D.value.length ? (h(), m("ul", ni, [
|
|
1766
1766
|
(h(!0), m(Ce, null, Ae(D.value, (f) => (h(), Q(Rt, {
|
|
1767
1767
|
key: f.name,
|
|
1768
1768
|
item: f,
|
|
@@ -1771,7 +1771,7 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1771
1771
|
])) : C("", !0)
|
|
1772
1772
|
])
|
|
1773
1773
|
]),
|
|
1774
|
-
|
|
1774
|
+
_("div", ri, [
|
|
1775
1775
|
$(s.$slots, "footer", {}, void 0, !0)
|
|
1776
1776
|
])
|
|
1777
1777
|
], 2)
|
|
@@ -1781,11 +1781,11 @@ const Xr = /* @__PURE__ */ qr(Yr), Jr = {
|
|
|
1781
1781
|
], 64));
|
|
1782
1782
|
}
|
|
1783
1783
|
});
|
|
1784
|
-
const
|
|
1784
|
+
const oi = /* @__PURE__ */ ae(ii, [["__scopeId", "data-v-00a9a4d3"]]), ft = (n) => (Ge("data-v-00a332e0"), n = n(), Ue(), n), si = ["aria-label", "onClick"], ci = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), li = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), ui = /* @__PURE__ */ ft(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), di = [
|
|
1785
|
+
ci,
|
|
1785
1786
|
li,
|
|
1786
|
-
ui
|
|
1787
|
-
|
|
1788
|
-
], vi = /* @__PURE__ */ te({
|
|
1787
|
+
ui
|
|
1788
|
+
], fi = /* @__PURE__ */ te({
|
|
1789
1789
|
__name: "SidebarToggle",
|
|
1790
1790
|
props: {
|
|
1791
1791
|
active: {
|
|
@@ -1806,17 +1806,17 @@ const si = /* @__PURE__ */ ae(oi, [["__scopeId", "data-v-00a9a4d3"]]), ft = (n)
|
|
|
1806
1806
|
class: ie(["sidebar-menu-toggle", { active: r.value }]),
|
|
1807
1807
|
href: "#",
|
|
1808
1808
|
role: "button",
|
|
1809
|
-
onClick:
|
|
1810
|
-
},
|
|
1809
|
+
onClick: Sn(l, ["prevent"])
|
|
1810
|
+
}, di, 10, si));
|
|
1811
1811
|
}
|
|
1812
1812
|
});
|
|
1813
|
-
const
|
|
1813
|
+
const vi = /* @__PURE__ */ ae(fi, [["__scopeId", "data-v-00a332e0"]]), bi = "0px", hi = "16px", pi = (n) => (Ge("data-v-d3167918"), n = n(), Ue(), n), mi = { id: "kong-ui-app-layout-notification" }, gi = { class: "mobile-logo" }, yi = {
|
|
1814
1814
|
key: 0,
|
|
1815
1815
|
class: "navbar-logo"
|
|
1816
|
-
},
|
|
1816
|
+
}, _i = {
|
|
1817
1817
|
class: "kong-ui-app-layout-main",
|
|
1818
1818
|
"data-testid": "kong-ui-app-layout-main"
|
|
1819
|
-
},
|
|
1819
|
+
}, wi = { class: "kong-ui-app-layout-content" }, Ti = { class: "kong-ui-app-layout-content-inner" }, ki = /* @__PURE__ */ pi(() => /* @__PURE__ */ _("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Si = /* @__PURE__ */ te({
|
|
1820
1820
|
__name: "AppLayout",
|
|
1821
1821
|
props: {
|
|
1822
1822
|
hideDefaultSlot: {
|
|
@@ -1874,10 +1874,10 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1874
1874
|
}, w = q(!1), x = (S) => {
|
|
1875
1875
|
w.value = S;
|
|
1876
1876
|
};
|
|
1877
|
-
|
|
1878
|
-
w.value =
|
|
1877
|
+
In(() => {
|
|
1878
|
+
w.value = $n(v, "open").value || !1;
|
|
1879
1879
|
});
|
|
1880
|
-
const N = q(0), D = q(60), I = q(0), O = g(() => o.hidden ? I.value : D.value + I.value), V = g(() => `${O.value}px`), j = g(() => v.hidden || o.hidden ?
|
|
1880
|
+
const N = q(0), D = q(60), I = q(0), O = g(() => o.hidden ? I.value : D.value + I.value), V = g(() => `${O.value}px`), j = g(() => v.hidden || o.hidden ? bi : hi), { debounce: Z } = Xt(), ne = Z((S = !1) => {
|
|
1881
1881
|
if (S || N.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1882
1882
|
N.value = window == null ? void 0 : window.innerWidth;
|
|
1883
1883
|
const P = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
@@ -1905,16 +1905,16 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1905
1905
|
{ "sidebar-hidden": v.hidden }
|
|
1906
1906
|
]])
|
|
1907
1907
|
}, [
|
|
1908
|
-
|
|
1908
|
+
_("div", mi, [
|
|
1909
1909
|
$(S.$slots, "notification", {}, void 0, !0)
|
|
1910
1910
|
]),
|
|
1911
|
-
o.hidden ? C("", !0) : (h(), Q(
|
|
1911
|
+
o.hidden ? C("", !0) : (h(), Q(cr, {
|
|
1912
1912
|
key: String(v.hidden),
|
|
1913
1913
|
"left-offset": v.hidden ? 0 : void 0,
|
|
1914
1914
|
"top-offset": I.value
|
|
1915
1915
|
}, Me({
|
|
1916
1916
|
"mobile-sidebar-toggle": B(() => [
|
|
1917
|
-
v.hidden ? C("", !0) : (h(), Q(
|
|
1917
|
+
v.hidden ? C("", !0) : (h(), Q(vi, {
|
|
1918
1918
|
key: 0,
|
|
1919
1919
|
active: w.value,
|
|
1920
1920
|
onToggle: x
|
|
@@ -1925,7 +1925,7 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1925
1925
|
l.navbarMobileLogo ? {
|
|
1926
1926
|
name: "mobile-logo",
|
|
1927
1927
|
fn: B(() => [
|
|
1928
|
-
|
|
1928
|
+
_("div", gi, [
|
|
1929
1929
|
$(S.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1930
1930
|
])
|
|
1931
1931
|
]),
|
|
@@ -1934,7 +1934,7 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1934
1934
|
l.navbarLogo ? {
|
|
1935
1935
|
name: "logo",
|
|
1936
1936
|
fn: B(() => [
|
|
1937
|
-
v.hidden ? (h(), m("div",
|
|
1937
|
+
v.hidden ? (h(), m("div", yi, [
|
|
1938
1938
|
$(S.$slots, "navbar-logo", {}, void 0, !0)
|
|
1939
1939
|
])) : C("", !0)
|
|
1940
1940
|
]),
|
|
@@ -1962,7 +1962,7 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1962
1962
|
key: "4"
|
|
1963
1963
|
} : void 0
|
|
1964
1964
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1965
|
-
v.hidden ? C("", !0) : (h(), Q(
|
|
1965
|
+
v.hidden ? C("", !0) : (h(), Q(oi, {
|
|
1966
1966
|
key: 1,
|
|
1967
1967
|
"bottom-items": v.bottomItems,
|
|
1968
1968
|
"header-height": D.value,
|
|
@@ -1997,10 +1997,10 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
1997
1997
|
key: "2"
|
|
1998
1998
|
} : void 0
|
|
1999
1999
|
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2000
|
+
_("main", _i, [
|
|
2001
|
+
_("div", wi, [
|
|
2002
|
+
_("div", Ti, [
|
|
2003
|
+
ki,
|
|
2004
2004
|
$(S.$slots, "app-error", {}, void 0, !0),
|
|
2005
2005
|
d.value ? C("", !0) : $(S.$slots, "default", { key: 0 }, void 0, !0)
|
|
2006
2006
|
])
|
|
@@ -2009,11 +2009,11 @@ const bi = /* @__PURE__ */ ae(vi, [["__scopeId", "data-v-00a332e0"]]), hi = "0px
|
|
|
2009
2009
|
], 2));
|
|
2010
2010
|
}
|
|
2011
2011
|
});
|
|
2012
|
-
const
|
|
2012
|
+
const Ii = /* @__PURE__ */ ae(Si, [["__scopeId", "data-v-d3167918"]]), $i = (n) => (Ge("data-v-d7e33427"), n = n(), Ue(), n), Ci = { class: "kong-ui-app-page-header" }, Oi = {
|
|
2013
2013
|
key: 0,
|
|
2014
2014
|
class: "page-header-breadcrumbs",
|
|
2015
2015
|
"data-testid": "page-header-breadcrumbs"
|
|
2016
|
-
}, Ai = /* @__PURE__ */
|
|
2016
|
+
}, Ai = /* @__PURE__ */ $i(() => /* @__PURE__ */ _("span", { class: "page-header-breadcrumb-divider" }, "/", -1)), Ni = { class: "page-header-title-section" }, Ei = { class: "page-header-title-wrapper" }, Fi = {
|
|
2017
2017
|
key: 0,
|
|
2018
2018
|
class: "page-header-title-before",
|
|
2019
2019
|
"data-testid": "page-header-title-before"
|
|
@@ -2025,11 +2025,11 @@ const $i = /* @__PURE__ */ ae(Ii, [["__scopeId", "data-v-d3167918"]]), Jt = (n)
|
|
|
2025
2025
|
key: 0,
|
|
2026
2026
|
class: "page-header-actions",
|
|
2027
2027
|
"data-testid": "page-header-actions"
|
|
2028
|
-
}, Ri =
|
|
2028
|
+
}, Ri = {
|
|
2029
2029
|
key: 1,
|
|
2030
2030
|
class: "page-header-section-below",
|
|
2031
2031
|
"data-testid": "page-header-section-below"
|
|
2032
|
-
},
|
|
2032
|
+
}, Li = /* @__PURE__ */ te({
|
|
2033
2033
|
__name: "AppPageHeader",
|
|
2034
2034
|
props: {
|
|
2035
2035
|
title: {
|
|
@@ -2064,12 +2064,12 @@ const $i = /* @__PURE__ */ ae(Ii, [["__scopeId", "data-v-d3167918"]]), Jt = (n)
|
|
|
2064
2064
|
}))
|
|
2065
2065
|
]), 1032, ["items"])
|
|
2066
2066
|
])) : C("", !0),
|
|
2067
|
-
|
|
2068
|
-
|
|
2067
|
+
_("div", Ni, [
|
|
2068
|
+
_("div", Ei, [
|
|
2069
2069
|
d.$slots["title-before"] ? (h(), m("div", Fi, [
|
|
2070
2070
|
$(d.$slots, "title-before", {}, void 0, !0)
|
|
2071
2071
|
])) : C("", !0),
|
|
2072
|
-
|
|
2072
|
+
_("h1", {
|
|
2073
2073
|
class: "page-header-title",
|
|
2074
2074
|
"data-testid": "page-header-title",
|
|
2075
2075
|
title: n.title
|
|
@@ -2079,32 +2079,31 @@ const $i = /* @__PURE__ */ ae(Ii, [["__scopeId", "data-v-d3167918"]]), Jt = (n)
|
|
|
2079
2079
|
])) : C("", !0)
|
|
2080
2080
|
]),
|
|
2081
2081
|
d.$slots.actions ? (h(), m("div", Bi, [
|
|
2082
|
-
$(d.$slots, "actions", {}, void 0, !0)
|
|
2083
|
-
Ri
|
|
2082
|
+
$(d.$slots, "actions", {}, void 0, !0)
|
|
2084
2083
|
])) : C("", !0)
|
|
2085
2084
|
]),
|
|
2086
|
-
d.$slots.below ? (h(), m("div",
|
|
2085
|
+
d.$slots.below ? (h(), m("div", Ri, [
|
|
2087
2086
|
$(d.$slots, "below", {}, void 0, !0)
|
|
2088
2087
|
])) : C("", !0)
|
|
2089
2088
|
]);
|
|
2090
2089
|
};
|
|
2091
2090
|
}
|
|
2092
2091
|
});
|
|
2093
|
-
const
|
|
2092
|
+
const Ki = /* @__PURE__ */ ae(Li, [["__scopeId", "data-v-d7e33427"]]), Hi = {
|
|
2094
2093
|
// Customize Vue plugin options as desired
|
|
2095
2094
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
2096
2095
|
install: (n, t = {}) => {
|
|
2097
|
-
n.component(t.name || "AppLayout",
|
|
2096
|
+
n.component(t.name || "AppLayout", Ii);
|
|
2098
2097
|
}
|
|
2099
2098
|
};
|
|
2100
2099
|
export {
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2100
|
+
Mi as AccountDropdown,
|
|
2101
|
+
Zi as AppAboutSection,
|
|
2102
|
+
ji as AppError,
|
|
2103
|
+
Ii as AppLayout,
|
|
2104
|
+
cr as AppNavbar,
|
|
2105
|
+
Ki as AppPageHeader,
|
|
2106
|
+
oi as AppSidebar,
|
|
2107
|
+
vi as SidebarToggle,
|
|
2108
|
+
Hi as default
|
|
2110
2109
|
};
|