@kong-ui-public/app-layout 4.6.6-pr.2439.d811ba0e3.0 → 4.6.6-pr.2439.f67d17066.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 +145 -138
- package/dist/app-layout.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/types/components/AppLayout.vue.d.ts +10 -1
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/app-layout.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ne, resolveComponent as fe, createBlock as Z, openBlock as p, withCtx as x, renderSlot as T, createElementBlock as
|
|
1
|
+
import { defineComponent as ne, resolveComponent as fe, createBlock as Z, openBlock as p, withCtx as x, renderSlot as T, createElementBlock as k, Fragment as Ce, renderList as ye, normalizeClass as ie, createTextVNode as Re, toDisplayString as V, computed as _, createSlots as Ue, createVNode as xe, createCommentVNode as I, createElementVNode as C, createStaticVNode as mn, useCssVars as pt, reactive as Ge, useSlots as Je, onMounted as Qe, resolveDynamicComponent as Oe, withKeys as gn, ref as Q, watch as Be, onUnmounted as yn, Comment as wn, cloneVNode as kn, nextTick as Pt, onBeforeUnmount as Ut, unref as me, withModifiers as _n, watchEffect as Tn, toRef as Sn } from "vue";
|
|
2
2
|
import { ChevronRightIcon as Wt, ChevronDownIcon as In } from "@kong/icons";
|
|
3
3
|
import { KButton as Cn, HeaderTags as On } from "@kong/kongponents";
|
|
4
4
|
const $n = /* @__PURE__ */ ne({
|
|
@@ -30,7 +30,7 @@ const $n = /* @__PURE__ */ ne({
|
|
|
30
30
|
}, {
|
|
31
31
|
items: x(({ handleSelection: u }) => [
|
|
32
32
|
T(t.$slots, "default", {}, () => [
|
|
33
|
-
(p(!0),
|
|
33
|
+
(p(!0), k(Ce, null, ye(n.options, (o) => (p(), Z(a, {
|
|
34
34
|
key: o.value,
|
|
35
35
|
class: ie({ "has-divider": o.hasDivider }),
|
|
36
36
|
"data-testid": "select-" + o.value,
|
|
@@ -111,7 +111,7 @@ const $n = /* @__PURE__ */ ne({
|
|
|
111
111
|
"title-tag": "h2"
|
|
112
112
|
}, Ue({
|
|
113
113
|
default: x(() => [
|
|
114
|
-
a.isLoading ? (p(),
|
|
114
|
+
a.isLoading ? (p(), k("div", xn, [
|
|
115
115
|
xe(u, {
|
|
116
116
|
height: "2",
|
|
117
117
|
width: "100"
|
|
@@ -120,13 +120,13 @@ const $n = /* @__PURE__ */ ne({
|
|
|
120
120
|
height: "2",
|
|
121
121
|
width: "100"
|
|
122
122
|
})
|
|
123
|
-
])) : (p(),
|
|
124
|
-
a.description ? (p(),
|
|
125
|
-
a.$slots.default ? (p(),
|
|
123
|
+
])) : (p(), k("div", Bn, [
|
|
124
|
+
a.description ? (p(), k("p", Ln, V(a.description), 1)) : I("", !0),
|
|
125
|
+
a.$slots.default ? (p(), k("div", Mn, [
|
|
126
126
|
T(a.$slots, "default", {}, void 0, !0)
|
|
127
127
|
])) : I("", !0),
|
|
128
|
-
a.$slots["divider-section"] ? (p(),
|
|
129
|
-
a.$slots["divider-section"] ? (p(),
|
|
128
|
+
a.$slots["divider-section"] ? (p(), k("hr", Pn)) : I("", !0),
|
|
129
|
+
a.$slots["divider-section"] ? (p(), k("div", jn, [
|
|
130
130
|
T(a.$slots, "divider-section", {}, void 0, !0)
|
|
131
131
|
])) : I("", !0)
|
|
132
132
|
]))
|
|
@@ -148,15 +148,15 @@ const $n = /* @__PURE__ */ ne({
|
|
|
148
148
|
name: "actions",
|
|
149
149
|
fn: x(() => [
|
|
150
150
|
C("div", An, [
|
|
151
|
-
a.created || a.modified ? (p(),
|
|
151
|
+
a.created || a.modified ? (p(), k("div", {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: ie(["about-section-timestamps", { "has-actions": a.$slots.actions }])
|
|
154
154
|
}, [
|
|
155
|
-
a.created ? (p(),
|
|
156
|
-
a.created && r.value ? (p(),
|
|
157
|
-
r.value ? (p(),
|
|
155
|
+
a.created ? (p(), k("span", Fn, V(a.createdLabel) + ": " + V(a.created), 1)) : I("", !0),
|
|
156
|
+
a.created && r.value ? (p(), k("span", Nn, "->")) : I("", !0),
|
|
157
|
+
r.value ? (p(), k("span", Dn, V(a.modifiedLabel) + ": " + V(a.modified), 1)) : I("", !0)
|
|
158
158
|
], 2)) : I("", !0),
|
|
159
|
-
a.$slots.actions ? (p(),
|
|
159
|
+
a.$slots.actions ? (p(), k("div", Rn, [
|
|
160
160
|
T(a.$slots, "actions", {}, void 0, !0)
|
|
161
161
|
])) : I("", !0)
|
|
162
162
|
])
|
|
@@ -173,14 +173,14 @@ const $n = /* @__PURE__ */ ne({
|
|
|
173
173
|
xmlns: "http://www.w3.org/2000/svg"
|
|
174
174
|
};
|
|
175
175
|
function zn(n, t) {
|
|
176
|
-
return p(),
|
|
176
|
+
return p(), k("svg", Hn, t[0] || (t[0] = [
|
|
177
177
|
mn('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5)
|
|
178
178
|
]));
|
|
179
179
|
}
|
|
180
180
|
const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, Vn = { class: "kong-ui-app-error-content" }, qn = /* @__PURE__ */ ne({
|
|
181
181
|
__name: "AppError",
|
|
182
182
|
setup(n) {
|
|
183
|
-
return (t, r) => (p(),
|
|
183
|
+
return (t, r) => (p(), k("section", Un, [
|
|
184
184
|
C("div", Wn, [
|
|
185
185
|
xe(Gn)
|
|
186
186
|
]),
|
|
@@ -237,13 +237,13 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
237
237
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
238
238
|
zIndex: t.zIndex
|
|
239
239
|
}));
|
|
240
|
-
return (o, b) => (p(),
|
|
240
|
+
return (o, b) => (p(), k("header", Xn, [
|
|
241
241
|
C("div", Yn, [
|
|
242
242
|
C("div", Jn, [
|
|
243
243
|
T(o.$slots, "mobile-sidebar-toggle"),
|
|
244
244
|
T(o.$slots, "mobile-logo")
|
|
245
245
|
]),
|
|
246
|
-
a.value ? (p(),
|
|
246
|
+
a.value ? (p(), k("div", Qn, [
|
|
247
247
|
T(o.$slots, "logo")
|
|
248
248
|
])) : I("", !0),
|
|
249
249
|
C("div", er, [
|
|
@@ -271,7 +271,7 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
271
271
|
},
|
|
272
272
|
setup(n) {
|
|
273
273
|
const t = n, r = _(() => t.count ? t.count > dt ? `${dt}+` : t.count.toString() : "");
|
|
274
|
-
return (a, s) => r.value ? (p(),
|
|
274
|
+
return (a, s) => r.value ? (p(), k("div", {
|
|
275
275
|
key: 0,
|
|
276
276
|
class: "item-badge",
|
|
277
277
|
title: (n.count || 0) > dt ? String(n.count) : void 0
|
|
@@ -306,7 +306,7 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
306
306
|
return ($, R) => {
|
|
307
307
|
var j;
|
|
308
308
|
const N = fe("KTooltip"), P = fe("SidebarItem", !0);
|
|
309
|
-
return p(),
|
|
309
|
+
return p(), k("li", {
|
|
310
310
|
class: ie([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
|
|
311
311
|
"data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
|
|
312
312
|
}, [
|
|
@@ -330,11 +330,11 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
330
330
|
C("div", {
|
|
331
331
|
class: ie(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": o.value }])
|
|
332
332
|
}, [
|
|
333
|
-
$.$slots[`sidebar-icon-${n.item.key}`] ? (p(),
|
|
333
|
+
$.$slots[`sidebar-icon-${n.item.key}`] ? (p(), k("div", yr, [
|
|
334
334
|
n.subnavItem ? I("", !0) : T($.$slots, `sidebar-icon-${n.item.key}`, { key: 0 }, void 0, !0)
|
|
335
335
|
])) : I("", !0),
|
|
336
336
|
C("div", wr, [
|
|
337
|
-
(n.subnavItem && !o.value ? n.item.name.length < 25 : n.item.name.length < 18) ? (p(),
|
|
337
|
+
(n.subnavItem && !o.value ? n.item.name.length < 25 : n.item.name.length < 18) ? (p(), k("div", {
|
|
338
338
|
key: 0,
|
|
339
339
|
class: ie(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
|
|
340
340
|
}, V(n.item.name), 3)) : (p(), Z(N, {
|
|
@@ -353,7 +353,7 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
353
353
|
]),
|
|
354
354
|
_: 1
|
|
355
355
|
}, 8, ["text"])),
|
|
356
|
-
n.item.label && n.item.expanded ? (p(),
|
|
356
|
+
n.item.label && n.item.expanded ? (p(), k("div", _r, V(n.item.label), 1)) : I("", !0)
|
|
357
357
|
]),
|
|
358
358
|
o.value ? (p(), Z(hr, {
|
|
359
359
|
key: 1,
|
|
@@ -365,12 +365,12 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
365
365
|
}),
|
|
366
366
|
_: 3
|
|
367
367
|
}, 8, ["custom", "to"])),
|
|
368
|
-
(j = n.item.items) != null && j.length && n.item.expanded ? (p(),
|
|
368
|
+
(j = n.item.items) != null && j.length && n.item.expanded ? (p(), k("ul", {
|
|
369
369
|
key: 0,
|
|
370
370
|
id: `subnav-${n.item.key}`,
|
|
371
371
|
class: "level-secondary"
|
|
372
372
|
}, [
|
|
373
|
-
(p(!0),
|
|
373
|
+
(p(!0), k(Ce, null, ye(n.item.items, (S) => (p(), Z(P, {
|
|
374
374
|
key: S.name,
|
|
375
375
|
item: S,
|
|
376
376
|
"subnav-item": !0,
|
|
@@ -385,7 +385,7 @@ const Gn = /* @__PURE__ */ re(Zn, [["render", zn]]), Un = { class: "kong-ui-app-
|
|
|
385
385
|
* tabbable 6.2.0
|
|
386
386
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
387
387
|
*/
|
|
388
|
-
var Vt = ["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])"], We = /* @__PURE__ */ Vt.join(","), qt = typeof Element > "u",
|
|
388
|
+
var Vt = ["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])"], We = /* @__PURE__ */ Vt.join(","), qt = typeof Element > "u", we = qt ? function() {
|
|
389
389
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ve = !qt && Element.prototype.getRootNode ? function(n) {
|
|
390
390
|
var t;
|
|
391
391
|
return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
|
|
@@ -403,7 +403,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
403
403
|
if (qe(t))
|
|
404
404
|
return [];
|
|
405
405
|
var s = Array.prototype.slice.apply(t.querySelectorAll(We));
|
|
406
|
-
return r &&
|
|
406
|
+
return r && we.call(t, We) && s.unshift(t), s = s.filter(a), s;
|
|
407
407
|
}, Yt = function n(t, r, a) {
|
|
408
408
|
for (var s = [], u = Array.from(t); u.length; ) {
|
|
409
409
|
var o = u.shift();
|
|
@@ -415,7 +415,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
415
415
|
candidates: $
|
|
416
416
|
});
|
|
417
417
|
} else {
|
|
418
|
-
var R =
|
|
418
|
+
var R = we.call(o, We);
|
|
419
419
|
R && a.filter(o) && (r || !t.includes(o)) && s.push(o);
|
|
420
420
|
var N = o.shadowRoot || // check for an undisclosed shadow
|
|
421
421
|
typeof a.getShadowRoot == "function" && a.getShadowRoot(o), P = !qe(N, !1) && (!a.shadowRootFilter || a.shadowRootFilter(o));
|
|
@@ -432,12 +432,12 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
432
432
|
return s;
|
|
433
433
|
}, Jt = function(t) {
|
|
434
434
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
435
|
-
},
|
|
435
|
+
}, ge = function(t) {
|
|
436
436
|
if (!t)
|
|
437
437
|
throw new Error("No node provided");
|
|
438
438
|
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ir(t)) && !Jt(t) ? 0 : t.tabIndex;
|
|
439
439
|
}, Cr = function(t, r) {
|
|
440
|
-
var a =
|
|
440
|
+
var a = ge(t);
|
|
441
441
|
return a < 0 && r && !Jt(t) ? 0 : a;
|
|
442
442
|
}, Or = function(t, r) {
|
|
443
443
|
return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
|
|
@@ -491,8 +491,8 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
491
491
|
var a = r.displayCheck, s = r.getShadowRoot;
|
|
492
492
|
if (getComputedStyle(t).visibility === "hidden")
|
|
493
493
|
return !0;
|
|
494
|
-
var u =
|
|
495
|
-
if (
|
|
494
|
+
var u = we.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
|
|
495
|
+
if (we.call(o, "details:not([open]) *"))
|
|
496
496
|
return !0;
|
|
497
497
|
if (!a || a === "full" || a === "legacy-full") {
|
|
498
498
|
if (typeof s == "function") {
|
|
@@ -518,7 +518,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
518
518
|
for (var a = 0; a < r.children.length; a++) {
|
|
519
519
|
var s = r.children.item(a);
|
|
520
520
|
if (s.tagName === "LEGEND")
|
|
521
|
-
return
|
|
521
|
+
return we.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
|
|
522
522
|
}
|
|
523
523
|
return !0;
|
|
524
524
|
}
|
|
@@ -532,7 +532,7 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
532
532
|
qe(r) || $r(r) || xr(r, t) || // For a details element with a summary, the summary element gets the focus
|
|
533
533
|
Er(r) || Br(r));
|
|
534
534
|
}, vt = function(t, r) {
|
|
535
|
-
return !(Dr(r) ||
|
|
535
|
+
return !(Dr(r) || ge(r) < 0 || !Xe(t, r));
|
|
536
536
|
}, Lr = function(t) {
|
|
537
537
|
var r = parseInt(t.getAttribute("tabindex"), 10);
|
|
538
538
|
return !!(isNaN(r) || r >= 0);
|
|
@@ -567,14 +567,14 @@ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
567
567
|
flatten: !0,
|
|
568
568
|
getShadowRoot: r.getShadowRoot
|
|
569
569
|
}) : a = Xt(t, r.includeContainer, Xe.bind(null, r)), a;
|
|
570
|
-
},
|
|
570
|
+
}, Ie = function(t, r) {
|
|
571
571
|
if (r = r || {}, !t)
|
|
572
572
|
throw new Error("No node provided");
|
|
573
|
-
return
|
|
573
|
+
return we.call(t, We) === !1 ? !1 : vt(r, t);
|
|
574
574
|
}, Kr = /* @__PURE__ */ Vt.concat("iframe").join(","), ft = function(t, r) {
|
|
575
575
|
if (r = r || {}, !t)
|
|
576
576
|
throw new Error("No node provided");
|
|
577
|
-
return
|
|
577
|
+
return we.call(t, Kr) === !1 ? !1 : Xe(r, t);
|
|
578
578
|
};
|
|
579
579
|
/*!
|
|
580
580
|
* focus-trap 7.6.5
|
|
@@ -775,11 +775,11 @@ var zt = {
|
|
|
775
775
|
}, P = function() {
|
|
776
776
|
if (o.containerGroups = o.containers.map(function(c) {
|
|
777
777
|
var d = Pr(c, u.tabbableOptions), g = jr(c, u.tabbableOptions), O = d.length > 0 ? d[0] : void 0, E = d.length > 0 ? d[d.length - 1] : void 0, D = g.find(function(y) {
|
|
778
|
-
return
|
|
778
|
+
return Ie(y);
|
|
779
779
|
}), v = g.slice().reverse().find(function(y) {
|
|
780
|
-
return
|
|
780
|
+
return Ie(y);
|
|
781
781
|
}), f = !!d.find(function(y) {
|
|
782
|
-
return
|
|
782
|
+
return ge(y) > 0;
|
|
783
783
|
});
|
|
784
784
|
return {
|
|
785
785
|
container: c,
|
|
@@ -810,12 +810,12 @@ var zt = {
|
|
|
810
810
|
* in reverse.
|
|
811
811
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
812
812
|
*/
|
|
813
|
-
nextTabbableNode: function(
|
|
814
|
-
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = d.indexOf(
|
|
815
|
-
return L < 0 ? B ? g.slice(g.indexOf(
|
|
816
|
-
return
|
|
817
|
-
}) : g.slice(0, g.indexOf(
|
|
818
|
-
return
|
|
813
|
+
nextTabbableNode: function(w) {
|
|
814
|
+
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = d.indexOf(w);
|
|
815
|
+
return L < 0 ? B ? g.slice(g.indexOf(w) + 1).find(function(K) {
|
|
816
|
+
return Ie(K);
|
|
817
|
+
}) : g.slice(0, g.indexOf(w)).reverse().find(function(K) {
|
|
818
|
+
return Ie(K);
|
|
819
819
|
}) : d[L + (B ? 1 : -1)];
|
|
820
820
|
}
|
|
821
821
|
};
|
|
@@ -859,18 +859,18 @@ var zt = {
|
|
|
859
859
|
var Ee = $e.firstTabbableNode;
|
|
860
860
|
return d === Ee;
|
|
861
861
|
});
|
|
862
|
-
if (y < 0 && (f.container === d || ft(d, u.tabbableOptions) && !
|
|
863
|
-
var
|
|
864
|
-
D =
|
|
862
|
+
if (y < 0 && (f.container === d || ft(d, u.tabbableOptions) && !Ie(d, u.tabbableOptions) && !f.nextTabbableNode(d, !1)) && (y = v), y >= 0) {
|
|
863
|
+
var w = y === 0 ? o.tabbableGroups.length - 1 : y - 1, B = o.tabbableGroups[w];
|
|
864
|
+
D = ge(d) >= 0 ? B.lastTabbableNode : B.lastDomTabbableNode;
|
|
865
865
|
} else De(g) || (D = f.nextTabbableNode(d, !1));
|
|
866
866
|
} else {
|
|
867
867
|
var L = o.tabbableGroups.findIndex(function($e) {
|
|
868
868
|
var Ee = $e.lastTabbableNode;
|
|
869
869
|
return d === Ee;
|
|
870
870
|
});
|
|
871
|
-
if (L < 0 && (f.container === d || ft(d, u.tabbableOptions) && !
|
|
871
|
+
if (L < 0 && (f.container === d || ft(d, u.tabbableOptions) && !Ie(d, u.tabbableOptions) && !f.nextTabbableNode(d)) && (L = v), L >= 0) {
|
|
872
872
|
var K = L === o.tabbableGroups.length - 1 ? 0 : L + 1, ue = o.tabbableGroups[K];
|
|
873
|
-
D =
|
|
873
|
+
D = ge(d) >= 0 ? ue.firstTabbableNode : ue.firstDomTabbableNode;
|
|
874
874
|
} else De(g) || (D = f.nextTabbableNode(d));
|
|
875
875
|
}
|
|
876
876
|
} else
|
|
@@ -901,7 +901,7 @@ var zt = {
|
|
|
901
901
|
c.stopImmediatePropagation();
|
|
902
902
|
var O, E = !0;
|
|
903
903
|
if (o.mostRecentlyFocusedNode)
|
|
904
|
-
if (
|
|
904
|
+
if (ge(o.mostRecentlyFocusedNode) > 0) {
|
|
905
905
|
var D = $(o.mostRecentlyFocusedNode), v = o.containerGroups[D].tabbableNodes;
|
|
906
906
|
if (v.length > 0) {
|
|
907
907
|
var f = v.findIndex(function(y) {
|
|
@@ -911,8 +911,8 @@ var zt = {
|
|
|
911
911
|
}
|
|
912
912
|
} else
|
|
913
913
|
o.containerGroups.some(function(y) {
|
|
914
|
-
return y.tabbableNodes.some(function(
|
|
915
|
-
return
|
|
914
|
+
return y.tabbableNodes.some(function(w) {
|
|
915
|
+
return ge(w) > 0;
|
|
916
916
|
});
|
|
917
917
|
}) || (E = !1);
|
|
918
918
|
else
|
|
@@ -1165,7 +1165,7 @@ Ye.exports;
|
|
|
1165
1165
|
(function(n, t) {
|
|
1166
1166
|
var r = 200, a = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", b = "[object Boolean]", m = "[object Date]", $ = "[object Error]", R = "[object Function]", N = "[object GeneratorFunction]", P = "[object Map]", j = "[object Number]", S = "[object Object]", G = "[object Promise]", q = "[object RegExp]", M = "[object Set]", oe = "[object String]", ee = "[object Symbol]", te = "[object WeakMap]", se = "[object ArrayBuffer]", X = "[object DataView]", ae = "[object Float32Array]", F = "[object Float64Array]", U = "[object Int8Array]", W = "[object Int16Array]", H = "[object Int32Array]", A = "[object Uint8Array]", c = "[object Uint8ClampedArray]", d = "[object Uint16Array]", g = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, E = /\w*$/, D = /^\[object .+?Constructor\]$/, v = /^(?:0|[1-9]\d*)$/, f = {};
|
|
1167
1167
|
f[u] = f[o] = f[se] = f[X] = f[b] = f[m] = f[ae] = f[F] = f[U] = f[W] = f[H] = f[P] = f[j] = f[S] = f[q] = f[M] = f[oe] = f[ee] = f[A] = f[c] = f[d] = f[g] = !0, f[$] = f[R] = f[te] = !1;
|
|
1168
|
-
var y = typeof ze == "object" && ze && ze.Object === Object && ze,
|
|
1168
|
+
var y = typeof ze == "object" && ze && ze.Object === Object && ze, w = typeof self == "object" && self && self.Object === Object && self, B = y || w || Function("return this")(), L = t && !t.nodeType && t, K = L && !0 && n && !n.nodeType && n, ue = K && K.exports === L;
|
|
1169
1169
|
function $e(e, i) {
|
|
1170
1170
|
return e.set(i[0], i[1]), e;
|
|
1171
1171
|
}
|
|
@@ -1226,7 +1226,7 @@ Ye.exports;
|
|
|
1226
1226
|
return e ? "Symbol(src)_1." + e : "";
|
|
1227
1227
|
}(), kt = oa.toString, de = Le.hasOwnProperty, Me = Le.toString, sa = RegExp(
|
|
1228
1228
|
"^" + kt.call(de).replace(O, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1229
|
-
), _t = ue ? B.Buffer : void 0, Tt = B.Symbol, St = B.Uint8Array, la = et(Object.getPrototypeOf, Object), ca = Object.create, ua = Le.propertyIsEnumerable, da = ia.splice, It = Object.getOwnPropertySymbols, fa = _t ? _t.isBuffer : void 0, va = et(Object.keys, Object), at =
|
|
1229
|
+
), _t = ue ? B.Buffer : void 0, Tt = B.Symbol, St = B.Uint8Array, la = et(Object.getPrototypeOf, Object), ca = Object.create, ua = Le.propertyIsEnumerable, da = ia.splice, It = Object.getOwnPropertySymbols, fa = _t ? _t.isBuffer : void 0, va = et(Object.keys, Object), at = Te(B, "DataView"), Ae = Te(B, "Map"), nt = Te(B, "Promise"), rt = Te(B, "Set"), it = Te(B, "WeakMap"), Fe = Te(Object, "create"), ba = pe(at), pa = pe(Ae), ha = pe(nt), ma = pe(rt), ga = pe(it), Ct = Tt ? Tt.prototype : void 0, Ot = Ct ? Ct.valueOf : void 0;
|
|
1230
1230
|
function ve(e) {
|
|
1231
1231
|
var i = -1, l = e ? e.length : 0;
|
|
1232
1232
|
for (this.clear(); ++i < l; ) {
|
|
@@ -1286,7 +1286,7 @@ Ye.exports;
|
|
|
1286
1286
|
return h < 0 ? l.push([e, i]) : l[h][1] = i, this;
|
|
1287
1287
|
}
|
|
1288
1288
|
le.prototype.clear = Sa, le.prototype.delete = Ia, le.prototype.get = Ca, le.prototype.has = Oa, le.prototype.set = $a;
|
|
1289
|
-
function
|
|
1289
|
+
function ke(e) {
|
|
1290
1290
|
var i = -1, l = e ? e.length : 0;
|
|
1291
1291
|
for (this.clear(); ++i < l; ) {
|
|
1292
1292
|
var h = e[i];
|
|
@@ -1312,8 +1312,8 @@ Ye.exports;
|
|
|
1312
1312
|
function Da(e, i) {
|
|
1313
1313
|
return je(this, e).set(e, i), this;
|
|
1314
1314
|
}
|
|
1315
|
-
|
|
1316
|
-
function
|
|
1315
|
+
ke.prototype.clear = Ea, ke.prototype.delete = Aa, ke.prototype.get = Fa, ke.prototype.has = Na, ke.prototype.set = Da;
|
|
1316
|
+
function _e(e) {
|
|
1317
1317
|
this.__data__ = new le(e);
|
|
1318
1318
|
}
|
|
1319
1319
|
function Ra() {
|
|
@@ -1334,11 +1334,11 @@ Ye.exports;
|
|
|
1334
1334
|
var h = l.__data__;
|
|
1335
1335
|
if (!Ae || h.length < r - 1)
|
|
1336
1336
|
return h.push([e, i]), this;
|
|
1337
|
-
l = this.__data__ = new
|
|
1337
|
+
l = this.__data__ = new ke(h);
|
|
1338
1338
|
}
|
|
1339
1339
|
return l.set(e, i), this;
|
|
1340
1340
|
}
|
|
1341
|
-
|
|
1341
|
+
_e.prototype.clear = Ra, _e.prototype.delete = xa, _e.prototype.get = Ba, _e.prototype.has = La, _e.prototype.set = Ma;
|
|
1342
1342
|
function Pa(e, i) {
|
|
1343
1343
|
var l = lt(e) || un(e) ? na(e.length, String) : [], h = l.length, z = !!h;
|
|
1344
1344
|
for (var Y in e)
|
|
@@ -1369,21 +1369,21 @@ Ye.exports;
|
|
|
1369
1369
|
if (J = an(e), !i)
|
|
1370
1370
|
return Qa(e, J);
|
|
1371
1371
|
} else {
|
|
1372
|
-
var
|
|
1372
|
+
var Se = be(e), Bt = Se == R || Se == N;
|
|
1373
1373
|
if (fn(e))
|
|
1374
1374
|
return Ua(e, i);
|
|
1375
|
-
if (
|
|
1375
|
+
if (Se == S || Se == u || Bt && !Y) {
|
|
1376
1376
|
if (mt(e))
|
|
1377
1377
|
return Y ? e : {};
|
|
1378
1378
|
if (J = nn(Bt ? {} : e), !i)
|
|
1379
1379
|
return en(e, ja(J, e));
|
|
1380
1380
|
} else {
|
|
1381
|
-
if (!f[
|
|
1381
|
+
if (!f[Se])
|
|
1382
1382
|
return Y ? e : {};
|
|
1383
|
-
J = rn(e,
|
|
1383
|
+
J = rn(e, Se, ot, i);
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
|
-
ce || (ce = new
|
|
1386
|
+
ce || (ce = new _e());
|
|
1387
1387
|
var Lt = ce.get(e);
|
|
1388
1388
|
if (Lt)
|
|
1389
1389
|
return Lt;
|
|
@@ -1474,7 +1474,7 @@ Ye.exports;
|
|
|
1474
1474
|
var l = e.__data__;
|
|
1475
1475
|
return sn(i) ? l[typeof i == "string" ? "string" : "hash"] : l.map;
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function Te(e, i) {
|
|
1478
1478
|
var l = ra(e, i);
|
|
1479
1479
|
return za(l) ? l : void 0;
|
|
1480
1480
|
}
|
|
@@ -1619,7 +1619,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1619
1619
|
}, bi = {
|
|
1620
1620
|
key: 2,
|
|
1621
1621
|
class: "level-primary bottom-items"
|
|
1622
|
-
}, pi = { class: "sidebar-footer" },
|
|
1622
|
+
}, pi = { class: "sidebar-footer" }, he = "_ungrouped", hi = /* @__PURE__ */ ne({
|
|
1623
1623
|
__name: "AppSidebar",
|
|
1624
1624
|
props: {
|
|
1625
1625
|
topItems: {
|
|
@@ -1683,17 +1683,17 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1683
1683
|
emits: ["click", "toggle"],
|
|
1684
1684
|
setup(n, { emit: t }) {
|
|
1685
1685
|
pt((v) => ({
|
|
1686
|
-
"
|
|
1687
|
-
|
|
1688
|
-
"
|
|
1689
|
-
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"
|
|
1693
|
-
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
1696
|
-
"
|
|
1686
|
+
"50ae2fde": b.value.mobileHeight,
|
|
1687
|
+
c94e3aaa: b.value.mobileTop,
|
|
1688
|
+
"55462df7": n.zIndex,
|
|
1689
|
+
ab286a62: b.value.height,
|
|
1690
|
+
"4e6928ad": b.value.top,
|
|
1691
|
+
"7e0ca901": $.value.marginTop,
|
|
1692
|
+
"6531d070": E.value,
|
|
1693
|
+
"47e5d0eb": m.value.display,
|
|
1694
|
+
"62061ffc": m.value.minHeight,
|
|
1695
|
+
"0774ce7c": R.value.top,
|
|
1696
|
+
"8be1fc1e": R.value.zIndex
|
|
1697
1697
|
}));
|
|
1698
1698
|
const r = t, a = n, s = Je(), u = _(() => !!s.header), o = _(() => !!s.top), b = _(() => ({
|
|
1699
1699
|
mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
|
|
@@ -1709,9 +1709,9 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1709
1709
|
top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
|
|
1710
1710
|
zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
|
|
1711
1711
|
})), N = (v) => oi(v).map((y) => {
|
|
1712
|
-
var
|
|
1712
|
+
var w, B, L;
|
|
1713
1713
|
if (y) {
|
|
1714
|
-
(!y.key || !((
|
|
1714
|
+
(!y.key || !((w = y.key) != null && w.trim())) && (y.key = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!y.testId || !((B = y.testId) != null && B.trim())) && (y.testId = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1715
1715
|
for (const K of y.items || [])
|
|
1716
1716
|
K.parentKey = y.key, (!K.testId || !((L = K.testId) != null && L.trim())) && (K.testId = String(K.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1717
1717
|
}
|
|
@@ -1719,14 +1719,14 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1719
1719
|
}), P = _(() => a.topItems.length ? N(a.topItems) : []), j = _(() => a.bottomItems.length ? N(a.bottomItems) : []), S = (v = "") => v.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), G = _(() => {
|
|
1720
1720
|
var f;
|
|
1721
1721
|
const v = /* @__PURE__ */ new Map();
|
|
1722
|
-
v.set(
|
|
1722
|
+
v.set(he, []);
|
|
1723
1723
|
for (const y of P.value) {
|
|
1724
|
-
const
|
|
1725
|
-
v.has(
|
|
1724
|
+
const w = y.group || he;
|
|
1725
|
+
v.has(w) || v.set(w, []), (f = v.get(w)) == null || f.push(y);
|
|
1726
1726
|
}
|
|
1727
1727
|
return v;
|
|
1728
1728
|
}), q = (v) => {
|
|
1729
|
-
if (v ===
|
|
1729
|
+
if (v === he)
|
|
1730
1730
|
return null;
|
|
1731
1731
|
const f = {
|
|
1732
1732
|
label: v,
|
|
@@ -1759,7 +1759,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1759
1759
|
H.value || (H.value = !0, clearTimeout(A.value), A.value = setTimeout(() => H.value = !1, 1300));
|
|
1760
1760
|
}, d = Q(null), g = _(() => ee.value && a.mobileEnabled), O = async (v) => {
|
|
1761
1761
|
var f, y;
|
|
1762
|
-
v ? (await Pt(), await new Promise((
|
|
1762
|
+
v ? (await Pt(), await new Promise((w) => setTimeout(w, 300)), (f = d.value) == null || f.activate()) : (y = d.value) == null || y.deactivate();
|
|
1763
1763
|
};
|
|
1764
1764
|
Be(g, async (v) => {
|
|
1765
1765
|
v ? await O(!0) : await O(!1);
|
|
@@ -1772,9 +1772,9 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1772
1772
|
f.style.visibility = "hidden", f.style.width = "100px", document.body.appendChild(f);
|
|
1773
1773
|
const y = f.offsetWidth;
|
|
1774
1774
|
f.style.overflow = "scroll";
|
|
1775
|
-
const
|
|
1776
|
-
|
|
1777
|
-
const B =
|
|
1775
|
+
const w = document.createElement("div");
|
|
1776
|
+
w.style.width = "100%", f.appendChild(w);
|
|
1777
|
+
const B = w.offsetWidth;
|
|
1778
1778
|
f.parentNode && f.parentNode.removeChild(f), y - B === 0 && (E.value = "8px");
|
|
1779
1779
|
};
|
|
1780
1780
|
return Qe(async () => {
|
|
@@ -1783,13 +1783,13 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1783
1783
|
window.removeEventListener("resize", U), window.removeEventListener("resize", c);
|
|
1784
1784
|
}), (v, f) => {
|
|
1785
1785
|
const y = fe("KCollapse");
|
|
1786
|
-
return p(),
|
|
1787
|
-
ee.value && n.mobileOverlay && n.mobileEnabled ? (p(),
|
|
1786
|
+
return p(), k(Ce, null, [
|
|
1787
|
+
ee.value && n.mobileOverlay && n.mobileEnabled ? (p(), k("div", {
|
|
1788
1788
|
key: 0,
|
|
1789
1789
|
class: "kong-ui-app-sidebar-overlay",
|
|
1790
1790
|
onClick: se
|
|
1791
1791
|
})) : I("", !0),
|
|
1792
|
-
xe(
|
|
1792
|
+
xe(me(ni), {
|
|
1793
1793
|
ref_key: "focusTrap",
|
|
1794
1794
|
ref: d,
|
|
1795
1795
|
active: !1,
|
|
@@ -1807,43 +1807,45 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1807
1807
|
}]),
|
|
1808
1808
|
tabindex: "-1"
|
|
1809
1809
|
}, [
|
|
1810
|
-
u.value ? (p(),
|
|
1810
|
+
u.value ? (p(), k("div", si, [
|
|
1811
1811
|
T(v.$slots, "header", {}, void 0, !0)
|
|
1812
1812
|
])) : I("", !0),
|
|
1813
1813
|
C("div", li, [
|
|
1814
|
-
o.value ? (p(),
|
|
1814
|
+
o.value ? (p(), k("div", ci, [
|
|
1815
1815
|
T(v.$slots, "top", {}, void 0, !0)
|
|
1816
1816
|
])) : I("", !0),
|
|
1817
1817
|
C("nav", ui, [
|
|
1818
|
-
G.value.size > 0 ? (p(!0),
|
|
1819
|
-
key:
|
|
1818
|
+
G.value.size > 0 ? (p(!0), k(Ce, { key: 0 }, ye(G.value, ([w, B]) => (p(), Z(y, {
|
|
1819
|
+
key: w,
|
|
1820
1820
|
class: ie(["level-primary-group-collapse", {
|
|
1821
|
-
"not-collapsible": !M(
|
|
1822
|
-
ungrouped:
|
|
1821
|
+
"not-collapsible": !M(w),
|
|
1822
|
+
ungrouped: w === he
|
|
1823
1823
|
}]),
|
|
1824
|
-
"
|
|
1824
|
+
"data-testid": w === he ? "level-primary-group-collapse-ungrouped" : `level-primary-group-collapse-${w}`,
|
|
1825
|
+
"model-value": M(w) && oe(w) || !1
|
|
1825
1826
|
}, {
|
|
1826
1827
|
trigger: x(({ isCollapsed: L, toggle: K }) => [
|
|
1827
|
-
(p(), Z(Oe(M(
|
|
1828
|
+
(p(), Z(Oe(M(w) ? me(Cn) : "div"), {
|
|
1828
1829
|
appearance: "none",
|
|
1829
1830
|
class: "level-primary-group-collapse-trigger",
|
|
1830
|
-
onClick: (ue) => M(
|
|
1831
|
+
onClick: (ue) => M(w) ? K() : void 0
|
|
1831
1832
|
}, {
|
|
1832
1833
|
default: x(() => {
|
|
1833
1834
|
var ue;
|
|
1834
1835
|
return [
|
|
1835
|
-
|
|
1836
|
+
w !== he ? (p(), k("div", {
|
|
1836
1837
|
key: 0,
|
|
1837
|
-
id: `level-primary-group-${S(
|
|
1838
|
+
id: `level-primary-group-${S(w)}`,
|
|
1838
1839
|
class: "level-primary-group-name",
|
|
1839
1840
|
"data-testid": "level-primary-group-name",
|
|
1840
1841
|
role: "presentation"
|
|
1841
|
-
}, V(((ue = q(
|
|
1842
|
-
M(
|
|
1842
|
+
}, V(((ue = q(w)) == null ? void 0 : ue.label) || w), 9, di)) : I("", !0),
|
|
1843
|
+
M(w) ? (p(), Z(Oe(L ? me(Wt) : me(In)), {
|
|
1843
1844
|
key: 1,
|
|
1844
1845
|
class: "level-primary-group-collapse-icon",
|
|
1845
|
-
color:
|
|
1846
|
-
|
|
1846
|
+
color: me(vr),
|
|
1847
|
+
"data-testid": "level-primary-group-collapse-icon",
|
|
1848
|
+
size: me(fr)
|
|
1847
1849
|
}, null, 8, ["color", "size"])) : I("", !0)
|
|
1848
1850
|
];
|
|
1849
1851
|
}),
|
|
@@ -1852,10 +1854,10 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1852
1854
|
]),
|
|
1853
1855
|
default: x(() => [
|
|
1854
1856
|
C("ul", {
|
|
1855
|
-
"aria-labelledby":
|
|
1857
|
+
"aria-labelledby": w !== he ? `level-primary-group-${S(w)}` : void 0,
|
|
1856
1858
|
class: "level-primary top-items"
|
|
1857
1859
|
}, [
|
|
1858
|
-
(p(!0),
|
|
1860
|
+
(p(!0), k(Ce, null, ye(B, (L) => (p(), Z(jt, {
|
|
1859
1861
|
key: L.name,
|
|
1860
1862
|
item: L,
|
|
1861
1863
|
onClick: ae
|
|
@@ -1868,16 +1870,16 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1868
1870
|
], 8, fi)
|
|
1869
1871
|
]),
|
|
1870
1872
|
_: 2
|
|
1871
|
-
}, 1032, ["class", "model-value"]))), 128)) : I("", !0),
|
|
1872
|
-
G.value.size > 0 && j.value.length ? (p(),
|
|
1873
|
-
j.value.length ? (p(),
|
|
1874
|
-
(p(!0),
|
|
1875
|
-
key:
|
|
1876
|
-
item:
|
|
1873
|
+
}, 1032, ["class", "data-testid", "model-value"]))), 128)) : I("", !0),
|
|
1874
|
+
G.value.size > 0 && j.value.length ? (p(), k("div", vi)) : I("", !0),
|
|
1875
|
+
j.value.length ? (p(), k("ul", bi, [
|
|
1876
|
+
(p(!0), k(Ce, null, ye(j.value, (w) => (p(), Z(jt, {
|
|
1877
|
+
key: w.name,
|
|
1878
|
+
item: w,
|
|
1877
1879
|
onClick: ae
|
|
1878
1880
|
}, {
|
|
1879
|
-
[`sidebar-icon-${
|
|
1880
|
-
T(v.$slots, `sidebar-icon-${
|
|
1881
|
+
[`sidebar-icon-${w.key}`]: x(() => [
|
|
1882
|
+
T(v.$slots, `sidebar-icon-${w.key}`, {}, void 0, !0)
|
|
1881
1883
|
]),
|
|
1882
1884
|
_: 2
|
|
1883
1885
|
}, 1032, ["item"]))), 128))
|
|
@@ -1894,7 +1896,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1894
1896
|
], 64);
|
|
1895
1897
|
};
|
|
1896
1898
|
}
|
|
1897
|
-
}), mi = /* @__PURE__ */ re(hi, [["__scopeId", "data-v-
|
|
1899
|
+
}), mi = /* @__PURE__ */ re(hi, [["__scopeId", "data-v-23aeec06"]]), gi = ["aria-label"], yi = /* @__PURE__ */ ne({
|
|
1898
1900
|
__name: "SidebarToggle",
|
|
1899
1901
|
props: {
|
|
1900
1902
|
active: {
|
|
@@ -1909,7 +1911,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1909
1911
|
};
|
|
1910
1912
|
return Be(() => a.active, (o) => {
|
|
1911
1913
|
s.value = o;
|
|
1912
|
-
}), (o, b) => (p(),
|
|
1914
|
+
}), (o, b) => (p(), k("a", {
|
|
1913
1915
|
"aria-haspopup": "true",
|
|
1914
1916
|
"aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
|
|
1915
1917
|
class: ie(["sidebar-menu-toggle", { active: s.value }]),
|
|
@@ -1957,6 +1959,10 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1957
1959
|
type: Array,
|
|
1958
1960
|
default: () => []
|
|
1959
1961
|
},
|
|
1962
|
+
groupConfig: {
|
|
1963
|
+
type: Object,
|
|
1964
|
+
default: () => ({})
|
|
1965
|
+
},
|
|
1960
1966
|
theme: {
|
|
1961
1967
|
type: String,
|
|
1962
1968
|
default: "light",
|
|
@@ -1966,11 +1972,11 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
1966
1972
|
emits: ["sidebar-click", "update:topOffset"],
|
|
1967
1973
|
setup(n, { emit: t }) {
|
|
1968
1974
|
pt((F) => ({
|
|
1969
|
-
"
|
|
1970
|
-
"
|
|
1971
|
-
"
|
|
1972
|
-
|
|
1973
|
-
"
|
|
1975
|
+
"339157e9": M.value,
|
|
1976
|
+
"05b6dedf": oe.value,
|
|
1977
|
+
"0001cd12": q.value,
|
|
1978
|
+
c9b3064a: ee.value,
|
|
1979
|
+
"9018dfe4": te.value
|
|
1974
1980
|
}));
|
|
1975
1981
|
const r = n, a = t, s = Je(), u = Ge({
|
|
1976
1982
|
navbarLeft: _(() => !!s["navbar-left"]),
|
|
@@ -2020,7 +2026,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2020
2026
|
}), ae.value.observe(F)), window.addEventListener("resize", X);
|
|
2021
2027
|
}), Ut(() => {
|
|
2022
2028
|
ae.value && ae.value.disconnect(), window.removeEventListener("resize", X);
|
|
2023
|
-
}), (F, U) => (p(),
|
|
2029
|
+
}), (F, U) => (p(), k("div", {
|
|
2024
2030
|
class: ie(["kong-ui-app-layout", [
|
|
2025
2031
|
{ "navbar-hidden": b.hidden },
|
|
2026
2032
|
{ "sidebar-hidden": m.hidden }
|
|
@@ -2055,7 +2061,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2055
2061
|
u.navbarLogo ? {
|
|
2056
2062
|
name: "logo",
|
|
2057
2063
|
fn: x(() => [
|
|
2058
|
-
m.hidden ? (p(),
|
|
2064
|
+
m.hidden ? (p(), k("div", Ti, [
|
|
2059
2065
|
T(F.$slots, "navbar-logo", {}, void 0, !0)
|
|
2060
2066
|
])) : I("", !0)
|
|
2061
2067
|
]),
|
|
@@ -2086,6 +2092,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2086
2092
|
m.hidden ? I("", !0) : (p(), Z(mi, {
|
|
2087
2093
|
key: 1,
|
|
2088
2094
|
"bottom-items": m.bottomItems,
|
|
2095
|
+
"group-config": n.groupConfig,
|
|
2089
2096
|
"header-height": j.value,
|
|
2090
2097
|
"mobile-enabled": "",
|
|
2091
2098
|
"mobile-header-visible": !1,
|
|
@@ -2117,13 +2124,13 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2117
2124
|
]),
|
|
2118
2125
|
key: "2"
|
|
2119
2126
|
} : void 0,
|
|
2120
|
-
|
|
2127
|
+
ye([...m.topItems || [], ...m.bottomItems || []], (W) => ({
|
|
2121
2128
|
name: `sidebar-icon-${W.key}`,
|
|
2122
2129
|
fn: x(() => [
|
|
2123
2130
|
T(F.$slots, `sidebar-icon-${W.key}`, {}, void 0, !0)
|
|
2124
2131
|
])
|
|
2125
2132
|
}))
|
|
2126
|
-
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
2133
|
+
]), 1032, ["bottom-items", "group-config", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
2127
2134
|
C("main", Si, [
|
|
2128
2135
|
C("div", Ii, [
|
|
2129
2136
|
C("div", Ci, [
|
|
@@ -2135,7 +2142,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2135
2142
|
])
|
|
2136
2143
|
], 2));
|
|
2137
2144
|
}
|
|
2138
|
-
}), $i = /* @__PURE__ */ re(Oi, [["__scopeId", "data-v-
|
|
2145
|
+
}), $i = /* @__PURE__ */ re(Oi, [["__scopeId", "data-v-06f5fa03"]]), Ei = { class: "kong-ui-app-page-header" }, Ai = {
|
|
2139
2146
|
key: 0,
|
|
2140
2147
|
class: "page-header-breadcrumbs",
|
|
2141
2148
|
"data-testid": "page-header-breadcrumbs"
|
|
@@ -2175,13 +2182,13 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2175
2182
|
}), s = _(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
|
|
2176
2183
|
return (u, o) => {
|
|
2177
2184
|
const b = fe("KBreadcrumbs");
|
|
2178
|
-
return p(),
|
|
2179
|
-
a.value ? (p(),
|
|
2185
|
+
return p(), k("div", Ei, [
|
|
2186
|
+
a.value ? (p(), k("div", Ai, [
|
|
2180
2187
|
xe(b, {
|
|
2181
2188
|
"item-max-width": "150",
|
|
2182
2189
|
items: n.breadcrumbs
|
|
2183
2190
|
}, Ue({ _: 2 }, [
|
|
2184
|
-
|
|
2191
|
+
ye(s.value, (m) => ({
|
|
2185
2192
|
name: m,
|
|
2186
2193
|
fn: x(() => [
|
|
2187
2194
|
T(u.$slots, m, {}, void 0, !0)
|
|
@@ -2191,7 +2198,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2191
2198
|
])) : I("", !0),
|
|
2192
2199
|
C("div", Fi, [
|
|
2193
2200
|
C("div", Ni, [
|
|
2194
|
-
u.$slots["title-before"] ? (p(),
|
|
2201
|
+
u.$slots["title-before"] ? (p(), k("div", Di, [
|
|
2195
2202
|
T(u.$slots, "title-before", {}, void 0, !0)
|
|
2196
2203
|
])) : I("", !0),
|
|
2197
2204
|
C("h1", {
|
|
@@ -2199,15 +2206,15 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2199
2206
|
"data-testid": "page-header-title",
|
|
2200
2207
|
title: n.title
|
|
2201
2208
|
}, V(n.title), 9, Ri),
|
|
2202
|
-
u.$slots["title-after"] ? (p(),
|
|
2209
|
+
u.$slots["title-after"] ? (p(), k("div", xi, [
|
|
2203
2210
|
T(u.$slots, "title-after", {}, void 0, !0)
|
|
2204
2211
|
])) : I("", !0)
|
|
2205
2212
|
]),
|
|
2206
|
-
u.$slots.actions ? (p(),
|
|
2213
|
+
u.$slots.actions ? (p(), k("div", Bi, [
|
|
2207
2214
|
T(u.$slots, "actions", {}, void 0, !0)
|
|
2208
2215
|
])) : I("", !0)
|
|
2209
2216
|
]),
|
|
2210
|
-
u.$slots.below ? (p(),
|
|
2217
|
+
u.$slots.below ? (p(), k("div", Li, [
|
|
2211
2218
|
T(u.$slots, "below", {}, void 0, !0)
|
|
2212
2219
|
])) : I("", !0)
|
|
2213
2220
|
]);
|
|
@@ -2265,10 +2272,10 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2265
2272
|
]),
|
|
2266
2273
|
_: 1
|
|
2267
2274
|
})) : I("", !0),
|
|
2268
|
-
n.description ? (p(),
|
|
2275
|
+
n.description ? (p(), k("div", ji, V(n.description), 1)) : I("", !0)
|
|
2269
2276
|
])
|
|
2270
2277
|
]),
|
|
2271
|
-
n.collapsible ? (p(), Z(
|
|
2278
|
+
n.collapsible ? (p(), Z(me(Wt), {
|
|
2272
2279
|
key: 0,
|
|
2273
2280
|
class: "app-page-info-section-chevron-icon",
|
|
2274
2281
|
decorative: ""
|
|
@@ -2276,7 +2283,7 @@ const oi = /* @__PURE__ */ ri(ii), si = {
|
|
|
2276
2283
|
]),
|
|
2277
2284
|
_: 3
|
|
2278
2285
|
})),
|
|
2279
|
-
t.$slots.default ? (p(),
|
|
2286
|
+
t.$slots.default ? (p(), k("div", Ki, [
|
|
2280
2287
|
T(t.$slots, "default")
|
|
2281
2288
|
])) : I("", !0)
|
|
2282
2289
|
]),
|