@kong-ui-public/app-layout 4.9.3-pr.2577.25462c94d.0 → 4.9.3-pr.2577.f224c72c1.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 +374 -363
- package/dist/app-layout.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/{gradientBadge/GradientBadge.vue.d.ts → newBadge/NewBadge.vue.d.ts} +2 -12
- package/dist/types/components/newBadge/NewBadge.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/index.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +9 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +5 -3
- package/dist/types/components/gradientBadge/GradientBadge.vue.d.ts.map +0 -1
package/dist/app-layout.es.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as ie, resolveComponent as he, createBlock as W, openBlock as p, withCtx as L, renderSlot as
|
|
1
|
+
import { defineComponent as ie, resolveComponent as he, createBlock as W, openBlock as p, withCtx as L, renderSlot as I, createElementBlock as k, Fragment as Ee, renderList as pe, normalizeClass as re, createTextVNode as xe, toDisplayString as Y, computed as S, createSlots as Me, createVNode as Le, createCommentVNode as $, createElementVNode as E, createStaticVNode as In, useCssVars as yt, reactive as qe, useSlots as je, onMounted as Pe, getCurrentInstance as Yt, hasInjectionContext as Qt, inject as $n, watch as Te, getCurrentScope as On, onScopeDispose as En, shallowRef as Xe, watchEffect as Jt, toValue as Ae, unref as fe, resolveDynamicComponent as Fe, withKeys as An, ref as ae, onUnmounted as Fn, Comment as Nn, cloneVNode as Dn, nextTick as Ht, onBeforeUnmount as ea, withModifiers as Rn, toRef as Bn } from "vue";
|
|
2
2
|
import { ChevronRightIcon as ta, ChevronDownIcon as xn } from "@kong/icons";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { createI18n as Mn, i18nTComponent as Ln } from "@kong-ui-public/i18n";
|
|
4
|
+
import { KButton as jn, HeaderTags as Pn } from "@kong/kongponents";
|
|
5
|
+
const Kn = /* @__PURE__ */ ie({
|
|
5
6
|
__name: "AccountDropdown",
|
|
6
7
|
props: {
|
|
7
8
|
options: {
|
|
@@ -29,7 +30,7 @@ const jn = /* @__PURE__ */ ie({
|
|
|
29
30
|
width: a.width
|
|
30
31
|
}, {
|
|
31
32
|
items: L(({ handleSelection: u }) => [
|
|
32
|
-
|
|
33
|
+
I(t.$slots, "default", {}, () => [
|
|
33
34
|
(p(!0), k(Ee, null, pe(a.options, (o) => (p(), W(n, {
|
|
34
35
|
key: o.value,
|
|
35
36
|
class: re({ "has-divider": o.hasDivider }),
|
|
@@ -38,8 +39,8 @@ const jn = /* @__PURE__ */ ie({
|
|
|
38
39
|
onClick: (d) => u(o)
|
|
39
40
|
}, {
|
|
40
41
|
default: L(() => [
|
|
41
|
-
|
|
42
|
-
xe(
|
|
42
|
+
I(t.$slots, "default", { option: o }, () => [
|
|
43
|
+
xe(Y(o.label), 1)
|
|
43
44
|
], !0)
|
|
44
45
|
]),
|
|
45
46
|
_: 2
|
|
@@ -55,43 +56,43 @@ const jn = /* @__PURE__ */ ie({
|
|
|
55
56
|
for (const [n, s] of t)
|
|
56
57
|
r[n] = s;
|
|
57
58
|
return r;
|
|
58
|
-
},
|
|
59
|
+
}, Co = /* @__PURE__ */ oe(Kn, [["__scopeId", "data-v-b33191a2"]]), Zn = {
|
|
59
60
|
class: "about-section-title",
|
|
60
61
|
"data-testid": "about-section-title"
|
|
61
|
-
},
|
|
62
|
+
}, Hn = { class: "about-section-header-end" }, Wn = {
|
|
62
63
|
key: 0,
|
|
63
64
|
class: "about-section-timestamps-created",
|
|
64
65
|
"data-testid": "about-section-timestamps-created"
|
|
65
|
-
},
|
|
66
|
+
}, zn = {
|
|
66
67
|
key: 1,
|
|
67
68
|
class: "about-section-timestamps-arrow"
|
|
68
|
-
},
|
|
69
|
+
}, Gn = {
|
|
69
70
|
key: 2,
|
|
70
71
|
class: "about-section-timestamps-modified",
|
|
71
72
|
"data-testid": "about-section-timestamps-modified"
|
|
72
|
-
},
|
|
73
|
+
}, Un = {
|
|
73
74
|
key: 1,
|
|
74
75
|
class: "about-section-actions",
|
|
75
76
|
"data-testid": "about-section-actions"
|
|
76
|
-
},
|
|
77
|
+
}, Vn = {
|
|
77
78
|
key: 0,
|
|
78
79
|
"data-testid": "about-section-loading-skeleton"
|
|
79
|
-
},
|
|
80
|
+
}, qn = { key: 1 }, Xn = {
|
|
80
81
|
key: 0,
|
|
81
82
|
class: "about-section-description",
|
|
82
83
|
"data-testid": "about-section-description"
|
|
83
|
-
},
|
|
84
|
+
}, Yn = {
|
|
84
85
|
key: 1,
|
|
85
86
|
class: "about-section-content",
|
|
86
87
|
"data-testid": "about-section-content"
|
|
87
|
-
},
|
|
88
|
+
}, Qn = {
|
|
88
89
|
key: 2,
|
|
89
90
|
"data-testid": "about-divider-section-separator"
|
|
90
|
-
},
|
|
91
|
+
}, Jn = {
|
|
91
92
|
key: 3,
|
|
92
93
|
class: "about-divider-section",
|
|
93
94
|
"data-testid": "about-divider-section"
|
|
94
|
-
},
|
|
95
|
+
}, er = /* @__PURE__ */ ie({
|
|
95
96
|
__name: "AppAboutSection",
|
|
96
97
|
props: {
|
|
97
98
|
title: { default: "" },
|
|
@@ -111,7 +112,7 @@ const jn = /* @__PURE__ */ ie({
|
|
|
111
112
|
"title-tag": "h2"
|
|
112
113
|
}, Me({
|
|
113
114
|
default: L(() => [
|
|
114
|
-
n.isLoading ? (p(), k("div",
|
|
115
|
+
n.isLoading ? (p(), k("div", Vn, [
|
|
115
116
|
Le(u, {
|
|
116
117
|
height: "2",
|
|
117
118
|
width: "100"
|
|
@@ -120,14 +121,14 @@ const jn = /* @__PURE__ */ ie({
|
|
|
120
121
|
height: "2",
|
|
121
122
|
width: "100"
|
|
122
123
|
})
|
|
123
|
-
])) : (p(), k("div",
|
|
124
|
-
n.description ? (p(), k("p",
|
|
125
|
-
n.$slots.default ? (p(), k("div",
|
|
126
|
-
|
|
124
|
+
])) : (p(), k("div", qn, [
|
|
125
|
+
n.description ? (p(), k("p", Xn, Y(n.description), 1)) : $("", !0),
|
|
126
|
+
n.$slots.default ? (p(), k("div", Yn, [
|
|
127
|
+
I(n.$slots, "default", {}, void 0, !0)
|
|
127
128
|
])) : $("", !0),
|
|
128
|
-
n.$slots["divider-section"] ? (p(), k("hr",
|
|
129
|
-
n.$slots["divider-section"] ? (p(), k("div",
|
|
130
|
-
|
|
129
|
+
n.$slots["divider-section"] ? (p(), k("hr", Qn)) : $("", !0),
|
|
130
|
+
n.$slots["divider-section"] ? (p(), k("div", Jn, [
|
|
131
|
+
I(n.$slots, "divider-section", {}, void 0, !0)
|
|
131
132
|
])) : $("", !0)
|
|
132
133
|
]))
|
|
133
134
|
]),
|
|
@@ -136,9 +137,9 @@ const jn = /* @__PURE__ */ ie({
|
|
|
136
137
|
n.$slots.title || n.title ? {
|
|
137
138
|
name: "title",
|
|
138
139
|
fn: L(() => [
|
|
139
|
-
E("span",
|
|
140
|
-
|
|
141
|
-
xe(
|
|
140
|
+
E("span", Zn, [
|
|
141
|
+
I(n.$slots, "title", {}, () => [
|
|
142
|
+
xe(Y(n.title), 1)
|
|
142
143
|
], !0)
|
|
143
144
|
])
|
|
144
145
|
]),
|
|
@@ -147,17 +148,17 @@ const jn = /* @__PURE__ */ ie({
|
|
|
147
148
|
n.$slots.actions || n.created || n.modified ? {
|
|
148
149
|
name: "actions",
|
|
149
150
|
fn: L(() => [
|
|
150
|
-
E("div",
|
|
151
|
+
E("div", Hn, [
|
|
151
152
|
n.created || n.modified ? (p(), k("div", {
|
|
152
153
|
key: 0,
|
|
153
154
|
class: re(["about-section-timestamps", { "has-actions": n.$slots.actions }])
|
|
154
155
|
}, [
|
|
155
|
-
n.created ? (p(), k("span",
|
|
156
|
-
n.created && r.value ? (p(), k("span",
|
|
157
|
-
r.value ? (p(), k("span",
|
|
156
|
+
n.created ? (p(), k("span", Wn, Y(n.createdLabel) + ": " + Y(n.created), 1)) : $("", !0),
|
|
157
|
+
n.created && r.value ? (p(), k("span", zn, "->")) : $("", !0),
|
|
158
|
+
r.value ? (p(), k("span", Gn, Y(n.modifiedLabel) + ": " + Y(n.modified), 1)) : $("", !0)
|
|
158
159
|
], 2)) : $("", !0),
|
|
159
|
-
n.$slots.actions ? (p(), k("div",
|
|
160
|
-
|
|
160
|
+
n.$slots.actions ? (p(), k("div", Un, [
|
|
161
|
+
I(n.$slots, "actions", {}, void 0, !0)
|
|
161
162
|
])) : $("", !0)
|
|
162
163
|
])
|
|
163
164
|
]),
|
|
@@ -166,26 +167,26 @@ const jn = /* @__PURE__ */ ie({
|
|
|
166
167
|
]), 1024);
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
|
-
}),
|
|
170
|
+
}), Io = /* @__PURE__ */ oe(er, [["__scopeId", "data-v-f5864a9c"]]), tr = {}, ar = {
|
|
170
171
|
fill: "none",
|
|
171
172
|
height: "130",
|
|
172
173
|
width: "130",
|
|
173
174
|
xmlns: "http://www.w3.org/2000/svg"
|
|
174
175
|
};
|
|
175
|
-
function
|
|
176
|
-
return p(), k("svg",
|
|
176
|
+
function nr(a, t) {
|
|
177
|
+
return p(), k("svg", ar, t[0] || (t[0] = [
|
|
177
178
|
In('<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
179
|
]));
|
|
179
180
|
}
|
|
180
|
-
const
|
|
181
|
+
const rr = /* @__PURE__ */ oe(tr, [["render", nr]]), ir = { class: "kong-ui-app-error" }, or = { class: "banana-icon" }, sr = { class: "kong-ui-app-error-content" }, lr = /* @__PURE__ */ ie({
|
|
181
182
|
__name: "AppError",
|
|
182
183
|
setup(a) {
|
|
183
|
-
return (t, r) => (p(), k("section",
|
|
184
|
-
E("div",
|
|
185
|
-
Le(
|
|
184
|
+
return (t, r) => (p(), k("section", ir, [
|
|
185
|
+
E("div", or, [
|
|
186
|
+
Le(rr)
|
|
186
187
|
]),
|
|
187
|
-
E("div",
|
|
188
|
-
|
|
188
|
+
E("div", sr, [
|
|
189
|
+
I(t.$slots, "default", {}, () => [
|
|
189
190
|
r[0] || (r[0] = E("h2", null, "An unexpected error has occurred", -1)),
|
|
190
191
|
r[1] || (r[1] = E("p", null, [
|
|
191
192
|
xe("Go back to the previous page or "),
|
|
@@ -196,10 +197,10 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
|
|
|
196
197
|
])
|
|
197
198
|
]));
|
|
198
199
|
}
|
|
199
|
-
}),
|
|
200
|
+
}), $o = /* @__PURE__ */ oe(lr, [["__scopeId", "data-v-b6d8dc55"]]), cr = { class: "kong-ui-app-navbar" }, ur = { class: "header-content" }, dr = { class: "mobile-header-left" }, fr = {
|
|
200
201
|
key: 0,
|
|
201
202
|
class: "app-navbar-logo"
|
|
202
|
-
},
|
|
203
|
+
}, vr = { class: "navbar-content" }, br = { class: "navbar-content-left" }, pr = { class: "navbar-content-center" }, hr = { class: "navbar-content-right" }, mr = /* @__PURE__ */ ie({
|
|
203
204
|
__name: "AppNavbar",
|
|
204
205
|
props: {
|
|
205
206
|
topOffset: {
|
|
@@ -237,49 +238,49 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
|
|
|
237
238
|
left: t.leftOffset ? `${t.leftOffset}px` : "0",
|
|
238
239
|
zIndex: t.zIndex
|
|
239
240
|
}));
|
|
240
|
-
return (o, d) => (p(), k("header",
|
|
241
|
-
E("div",
|
|
242
|
-
E("div",
|
|
243
|
-
|
|
244
|
-
|
|
241
|
+
return (o, d) => (p(), k("header", cr, [
|
|
242
|
+
E("div", ur, [
|
|
243
|
+
E("div", dr, [
|
|
244
|
+
I(o.$slots, "mobile-sidebar-toggle"),
|
|
245
|
+
I(o.$slots, "mobile-logo")
|
|
245
246
|
]),
|
|
246
|
-
n.value ? (p(), k("div",
|
|
247
|
-
|
|
247
|
+
n.value ? (p(), k("div", fr, [
|
|
248
|
+
I(o.$slots, "logo")
|
|
248
249
|
])) : $("", !0),
|
|
249
|
-
E("div",
|
|
250
|
-
E("div",
|
|
251
|
-
|
|
250
|
+
E("div", vr, [
|
|
251
|
+
E("div", br, [
|
|
252
|
+
I(o.$slots, "left")
|
|
252
253
|
]),
|
|
253
|
-
E("div",
|
|
254
|
-
|
|
254
|
+
E("div", pr, [
|
|
255
|
+
I(o.$slots, "center")
|
|
255
256
|
]),
|
|
256
|
-
E("div",
|
|
257
|
-
|
|
257
|
+
E("div", hr, [
|
|
258
|
+
I(o.$slots, "right")
|
|
258
259
|
])
|
|
259
260
|
])
|
|
260
261
|
])
|
|
261
262
|
]));
|
|
262
263
|
}
|
|
263
|
-
}),
|
|
264
|
-
function
|
|
264
|
+
}), gr = /* @__PURE__ */ oe(mr, [["__scopeId", "data-v-2f6fc50f"]]);
|
|
265
|
+
function yr(a) {
|
|
265
266
|
return On() ? (En(a), !0) : !1;
|
|
266
267
|
}
|
|
267
|
-
const vt = /* @__PURE__ */ new WeakMap(),
|
|
268
|
+
const vt = /* @__PURE__ */ new WeakMap(), wr = (...a) => {
|
|
268
269
|
var t;
|
|
269
270
|
const r = a[0], n = (t = Yt()) == null ? void 0 : t.proxy;
|
|
270
271
|
if (n == null && !Qt())
|
|
271
272
|
throw new Error("injectLocal must be called in setup");
|
|
272
273
|
return n && vt.has(n) && r in vt.get(n) ? vt.get(n)[r] : $n(...a);
|
|
273
|
-
},
|
|
274
|
+
}, kr = typeof window < "u" && typeof document < "u";
|
|
274
275
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
275
|
-
const
|
|
276
|
+
const Tr = Object.prototype.toString, _r = (a) => Tr.call(a) === "[object Object]";
|
|
276
277
|
function Wt(a) {
|
|
277
278
|
return a.endsWith("rem") ? Number.parseFloat(a) * 16 : Number.parseFloat(a);
|
|
278
279
|
}
|
|
279
280
|
function bt(a) {
|
|
280
281
|
return Array.isArray(a) ? a : [a];
|
|
281
282
|
}
|
|
282
|
-
function
|
|
283
|
+
function Sr(a, t, r) {
|
|
283
284
|
return Te(
|
|
284
285
|
a,
|
|
285
286
|
t,
|
|
@@ -289,25 +290,25 @@ function Tr(a, t, r) {
|
|
|
289
290
|
}
|
|
290
291
|
);
|
|
291
292
|
}
|
|
292
|
-
const aa =
|
|
293
|
-
function
|
|
293
|
+
const aa = kr ? window : void 0;
|
|
294
|
+
function Cr(a) {
|
|
294
295
|
var t;
|
|
295
296
|
const r = Ae(a);
|
|
296
297
|
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
297
298
|
}
|
|
298
|
-
function
|
|
299
|
+
function Ir(...a) {
|
|
299
300
|
const t = [], r = () => {
|
|
300
301
|
t.forEach((d) => d()), t.length = 0;
|
|
301
302
|
}, n = (d, b, T, _) => (d.addEventListener(b, T, _), () => d.removeEventListener(b, T, _)), s = S(() => {
|
|
302
303
|
const d = bt(Ae(a[0])).filter((b) => b != null);
|
|
303
304
|
return d.every((b) => typeof b != "string") ? d : void 0;
|
|
304
|
-
}), u =
|
|
305
|
+
}), u = Sr(
|
|
305
306
|
() => {
|
|
306
307
|
var d, b;
|
|
307
308
|
return [
|
|
308
|
-
(b = (d = s.value) == null ? void 0 : d.map((T) =>
|
|
309
|
+
(b = (d = s.value) == null ? void 0 : d.map((T) => Cr(T))) != null ? b : [aa].filter((T) => T != null),
|
|
309
310
|
bt(Ae(s.value ? a[1] : a[0])),
|
|
310
|
-
bt(
|
|
311
|
+
bt(fe(s.value ? a[2] : a[1])),
|
|
311
312
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
312
313
|
Ae(s.value ? a[3] : a[2])
|
|
313
314
|
];
|
|
@@ -315,7 +316,7 @@ function Sr(...a) {
|
|
|
315
316
|
([d, b, T, _]) => {
|
|
316
317
|
if (r(), !(d != null && d.length) || !(b != null && b.length) || !(T != null && T.length))
|
|
317
318
|
return;
|
|
318
|
-
const B =
|
|
319
|
+
const B = _r(_) ? { ..._ } : _;
|
|
319
320
|
t.push(
|
|
320
321
|
...d.flatMap(
|
|
321
322
|
(x) => b.flatMap(
|
|
@@ -328,25 +329,25 @@ function Sr(...a) {
|
|
|
328
329
|
), o = () => {
|
|
329
330
|
u(), r();
|
|
330
331
|
};
|
|
331
|
-
return
|
|
332
|
+
return yr(r), o;
|
|
332
333
|
}
|
|
333
|
-
function
|
|
334
|
+
function $r() {
|
|
334
335
|
const a = Xe(!1), t = Yt();
|
|
335
336
|
return t && Pe(() => {
|
|
336
337
|
a.value = !0;
|
|
337
338
|
}, t), a;
|
|
338
339
|
}
|
|
339
|
-
function
|
|
340
|
-
const t =
|
|
340
|
+
function Or(a) {
|
|
341
|
+
const t = $r();
|
|
341
342
|
return S(() => (t.value, !!a()));
|
|
342
343
|
}
|
|
343
|
-
const
|
|
344
|
-
function
|
|
345
|
-
const a = Qt() ?
|
|
344
|
+
const Er = Symbol("vueuse-ssr-width");
|
|
345
|
+
function Ar() {
|
|
346
|
+
const a = Qt() ? wr(Er, null) : null;
|
|
346
347
|
return typeof a == "number" ? a : void 0;
|
|
347
348
|
}
|
|
348
|
-
function
|
|
349
|
-
const { window: r = aa, ssrWidth: n =
|
|
349
|
+
function Fr(a, t = {}) {
|
|
350
|
+
const { window: r = aa, ssrWidth: n = Ar() } = t, s = Or(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), u = Xe(typeof n == "number"), o = Xe(), d = Xe(!1), b = (T) => {
|
|
350
351
|
d.value = T.matches;
|
|
351
352
|
};
|
|
352
353
|
return Jt(() => {
|
|
@@ -361,9 +362,9 @@ function Er(a, t = {}) {
|
|
|
361
362
|
return;
|
|
362
363
|
}
|
|
363
364
|
s.value && (o.value = r.matchMedia(Ae(a)), d.value = o.value.matches);
|
|
364
|
-
}),
|
|
365
|
+
}), Ir(o, "change", b, { passive: !0 }), S(() => d.value);
|
|
365
366
|
}
|
|
366
|
-
const
|
|
367
|
+
const Nr = "#ffffff", Dr = "#000933", Rr = "#000933", Br = "#ffffff", xr = "0px", Mr = "4px", Lr = "640px", jr = "16px", Pr = "#bee2ff", Kr = ["title"], pt = 99, Zr = /* @__PURE__ */ ie({
|
|
367
368
|
__name: "ItemBadge",
|
|
368
369
|
props: {
|
|
369
370
|
count: {
|
|
@@ -378,18 +379,18 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
|
|
|
378
379
|
key: 0,
|
|
379
380
|
class: "item-badge",
|
|
380
381
|
title: (a.count || 0) > pt ? String(a.count) : void 0
|
|
381
|
-
},
|
|
382
|
+
}, Y(r.value), 9, Kr)) : $("", !0);
|
|
382
383
|
}
|
|
383
|
-
}),
|
|
384
|
+
}), Hr = /* @__PURE__ */ oe(Zr, [["__scopeId", "data-v-afb0d903"]]), Wr = ["data-testid"], zr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], Gr = {
|
|
384
385
|
key: 0,
|
|
385
386
|
class: "sidebar-item-icon"
|
|
386
|
-
},
|
|
387
|
+
}, Ur = { class: "sidebar-item-name-container" }, Vr = { class: "sidebar-item-name has-tooltip" }, qr = {
|
|
387
388
|
key: 2,
|
|
388
389
|
class: "sidebar-item-label truncate-text truncate-18"
|
|
389
|
-
},
|
|
390
|
+
}, Xr = {
|
|
390
391
|
key: 1,
|
|
391
392
|
class: "sidebar-item-after"
|
|
392
|
-
},
|
|
393
|
+
}, Yr = ["id"], Qr = /* @__PURE__ */ ie({
|
|
393
394
|
__name: "SidebarItem",
|
|
394
395
|
props: {
|
|
395
396
|
item: {
|
|
@@ -434,20 +435,20 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
|
|
|
434
435
|
class: re(["sidebar-item-link", { "sidebar-item-external-link": o.value, "router-link": !u.value }]),
|
|
435
436
|
href: u.value ? String(a.item.to || "#") : j == null ? void 0 : j.href,
|
|
436
437
|
target: o.value ? "_blank" : void 0,
|
|
437
|
-
onClick: (
|
|
438
|
-
onKeypress: An((
|
|
438
|
+
onClick: (z) => T(z, a.item, j == null ? void 0 : j.navigate),
|
|
439
|
+
onKeypress: An((z) => T(z, a.item, j == null ? void 0 : j.navigate), ["enter"])
|
|
439
440
|
}, [
|
|
440
441
|
E("div", {
|
|
441
442
|
class: re(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-after-content": d.value }])
|
|
442
443
|
}, [
|
|
443
|
-
_.$slots[`sidebar-icon-${a.item.key}`] ? (p(), k("div",
|
|
444
|
-
a.subnavItem ? $("", !0) :
|
|
444
|
+
_.$slots[`sidebar-icon-${a.item.key}`] ? (p(), k("div", Gr, [
|
|
445
|
+
a.subnavItem ? $("", !0) : I(_.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
|
|
445
446
|
])) : $("", !0),
|
|
446
|
-
E("div",
|
|
447
|
+
E("div", Ur, [
|
|
447
448
|
(a.subnavItem && !d.value ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), k("div", {
|
|
448
449
|
key: 0,
|
|
449
450
|
class: re(["sidebar-item-name truncate-text", [a.subnavItem ? "has-after-content-max-width truncate-24" : "truncate-17"]])
|
|
450
|
-
},
|
|
451
|
+
}, Y(a.item.name), 3)) : (p(), W(x, {
|
|
451
452
|
key: 1,
|
|
452
453
|
class: "sidebar-item-tooltip",
|
|
453
454
|
placement: "right",
|
|
@@ -455,24 +456,24 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
|
|
|
455
456
|
text: a.item.name
|
|
456
457
|
}, {
|
|
457
458
|
default: L(() => [
|
|
458
|
-
E("div",
|
|
459
|
+
E("div", Vr, [
|
|
459
460
|
E("span", {
|
|
460
461
|
class: re(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-after-content-max-width": d.value }]])
|
|
461
|
-
},
|
|
462
|
+
}, Y(a.item.name), 3)
|
|
462
463
|
])
|
|
463
464
|
]),
|
|
464
465
|
_: 1
|
|
465
466
|
}, 8, ["text"])),
|
|
466
|
-
a.item.label && a.item.expanded ? (p(), k("div",
|
|
467
|
+
a.item.label && a.item.expanded ? (p(), k("div", qr, Y(a.item.label), 1)) : $("", !0)
|
|
467
468
|
]),
|
|
468
|
-
d.value ? (p(), k("div",
|
|
469
|
-
a.item.badgeCount ? (p(), W(
|
|
469
|
+
d.value ? (p(), k("div", Xr, [
|
|
470
|
+
a.item.badgeCount ? (p(), W(Hr, {
|
|
470
471
|
key: 0,
|
|
471
472
|
count: a.item.badgeCount
|
|
472
|
-
}, null, 8, ["count"])) :
|
|
473
|
+
}, null, 8, ["count"])) : I(_.$slots, `sidebar-after-${a.item.key}`, { key: 1 }, void 0, !0)
|
|
473
474
|
])) : $("", !0)
|
|
474
475
|
], 2)
|
|
475
|
-
], 42,
|
|
476
|
+
], 42, zr)
|
|
476
477
|
];
|
|
477
478
|
}),
|
|
478
479
|
_: 3
|
|
@@ -488,11 +489,11 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
|
|
|
488
489
|
"subnav-item": !0,
|
|
489
490
|
onClick: (ne) => b(j)
|
|
490
491
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
491
|
-
], 8,
|
|
492
|
-
], 10,
|
|
492
|
+
], 8, Yr)) : $("", !0)
|
|
493
|
+
], 10, Wr);
|
|
493
494
|
};
|
|
494
495
|
}
|
|
495
|
-
}),
|
|
496
|
+
}), zt = /* @__PURE__ */ oe(Qr, [["__scopeId", "data-v-7ea61d78"]]);
|
|
496
497
|
/*!
|
|
497
498
|
* tabbable 6.2.0
|
|
498
499
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -508,7 +509,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
508
509
|
r === void 0 && (r = !0);
|
|
509
510
|
var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), u = s === "" || s === "true", o = u || r && t && a(t.parentNode);
|
|
510
511
|
return o;
|
|
511
|
-
},
|
|
512
|
+
}, Jr = function(t) {
|
|
512
513
|
var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
|
|
513
514
|
return n === "" || n === "true";
|
|
514
515
|
}, ia = function(t, r, n) {
|
|
@@ -547,26 +548,26 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
547
548
|
}, ke = function(t) {
|
|
548
549
|
if (!t)
|
|
549
550
|
throw new Error("No node provided");
|
|
550
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
551
|
-
},
|
|
551
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Jr(t)) && !sa(t) ? 0 : t.tabIndex;
|
|
552
|
+
}, ei = function(t, r) {
|
|
552
553
|
var n = ke(t);
|
|
553
554
|
return n < 0 && r && !sa(t) ? 0 : n;
|
|
554
|
-
},
|
|
555
|
+
}, ti = function(t, r) {
|
|
555
556
|
return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
|
|
556
557
|
}, la = function(t) {
|
|
557
558
|
return t.tagName === "INPUT";
|
|
558
|
-
},
|
|
559
|
+
}, ai = function(t) {
|
|
559
560
|
return la(t) && t.type === "hidden";
|
|
560
|
-
},
|
|
561
|
+
}, ni = function(t) {
|
|
561
562
|
var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
562
563
|
return n.tagName === "SUMMARY";
|
|
563
564
|
});
|
|
564
565
|
return r;
|
|
565
|
-
},
|
|
566
|
+
}, ri = function(t, r) {
|
|
566
567
|
for (var n = 0; n < t.length; n++)
|
|
567
568
|
if (t[n].checked && t[n].form === r)
|
|
568
569
|
return t[n];
|
|
569
|
-
},
|
|
570
|
+
}, ii = function(t) {
|
|
570
571
|
if (!t.name)
|
|
571
572
|
return !0;
|
|
572
573
|
var r = t.form || Qe(t), n = function(d) {
|
|
@@ -580,13 +581,13 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
580
581
|
} catch (o) {
|
|
581
582
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
|
|
582
583
|
}
|
|
583
|
-
var u =
|
|
584
|
+
var u = ri(s, t.form);
|
|
584
585
|
return !u || u === t;
|
|
585
|
-
}, ri = function(t) {
|
|
586
|
-
return la(t) && t.type === "radio";
|
|
587
|
-
}, ii = function(t) {
|
|
588
|
-
return ri(t) && !ni(t);
|
|
589
586
|
}, oi = function(t) {
|
|
587
|
+
return la(t) && t.type === "radio";
|
|
588
|
+
}, si = function(t) {
|
|
589
|
+
return oi(t) && !ii(t);
|
|
590
|
+
}, li = function(t) {
|
|
590
591
|
var r, n = t && Qe(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, u = !1;
|
|
591
592
|
if (n && n !== t) {
|
|
592
593
|
var o, d, b;
|
|
@@ -596,10 +597,10 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
596
597
|
}
|
|
597
598
|
}
|
|
598
599
|
return u;
|
|
599
|
-
},
|
|
600
|
+
}, Gt = function(t) {
|
|
600
601
|
var r = t.getBoundingClientRect(), n = r.width, s = r.height;
|
|
601
602
|
return n === 0 && s === 0;
|
|
602
|
-
},
|
|
603
|
+
}, ci = function(t, r) {
|
|
603
604
|
var n = r.displayCheck, s = r.getShadowRoot;
|
|
604
605
|
if (getComputedStyle(t).visibility === "hidden")
|
|
605
606
|
return !0;
|
|
@@ -611,19 +612,19 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
611
612
|
for (var d = t; t; ) {
|
|
612
613
|
var b = t.parentElement, T = Qe(t);
|
|
613
614
|
if (b && !b.shadowRoot && s(b) === !0)
|
|
614
|
-
return
|
|
615
|
+
return Gt(t);
|
|
615
616
|
t.assignedSlot ? t = t.assignedSlot : !b && T !== t.ownerDocument ? t = T.host : t = b;
|
|
616
617
|
}
|
|
617
618
|
t = d;
|
|
618
619
|
}
|
|
619
|
-
if (
|
|
620
|
+
if (li(t))
|
|
620
621
|
return !t.getClientRects().length;
|
|
621
622
|
if (n !== "legacy-full")
|
|
622
623
|
return !0;
|
|
623
624
|
} else if (n === "non-zero-area")
|
|
624
|
-
return
|
|
625
|
+
return Gt(t);
|
|
625
626
|
return !1;
|
|
626
|
-
},
|
|
627
|
+
}, ui = function(t) {
|
|
627
628
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
628
629
|
for (var r = t.parentElement; r; ) {
|
|
629
630
|
if (r.tagName === "FIELDSET" && r.disabled) {
|
|
@@ -641,17 +642,17 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
641
642
|
return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
642
643
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
643
644
|
// note related to `candidateSelectors`)
|
|
644
|
-
Je(r) ||
|
|
645
|
-
|
|
645
|
+
Je(r) || ai(r) || ci(r, t) || // For a details element with a summary, the summary element gets the focus
|
|
646
|
+
ni(r) || ui(r));
|
|
646
647
|
}, mt = function(t, r) {
|
|
647
|
-
return !(
|
|
648
|
-
},
|
|
648
|
+
return !(si(r) || ke(r) < 0 || !et(t, r));
|
|
649
|
+
}, di = function(t) {
|
|
649
650
|
var r = parseInt(t.getAttribute("tabindex"), 10);
|
|
650
651
|
return !!(isNaN(r) || r >= 0);
|
|
651
|
-
},
|
|
652
|
+
}, fi = function a(t) {
|
|
652
653
|
var r = [], n = [];
|
|
653
654
|
return t.forEach(function(s, u) {
|
|
654
|
-
var o = !!s.scopeParent, d = o ? s.scopeParent : s, b =
|
|
655
|
+
var o = !!s.scopeParent, d = o ? s.scopeParent : s, b = ei(d, o), T = o ? a(s.candidates) : d;
|
|
655
656
|
b === 0 ? o ? r.push.apply(r, T) : r.push(d) : n.push({
|
|
656
657
|
documentOrder: u,
|
|
657
658
|
tabIndex: b,
|
|
@@ -659,19 +660,19 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
659
660
|
isScope: o,
|
|
660
661
|
content: T
|
|
661
662
|
});
|
|
662
|
-
}), n.sort(
|
|
663
|
+
}), n.sort(ti).reduce(function(s, u) {
|
|
663
664
|
return u.isScope ? s.push.apply(s, u.content) : s.push(u.content), s;
|
|
664
665
|
}, []).concat(r);
|
|
665
|
-
},
|
|
666
|
+
}, vi = function(t, r) {
|
|
666
667
|
r = r || {};
|
|
667
668
|
var n;
|
|
668
669
|
return r.getShadowRoot ? n = oa([t], r.includeContainer, {
|
|
669
670
|
filter: mt.bind(null, r),
|
|
670
671
|
flatten: !1,
|
|
671
672
|
getShadowRoot: r.getShadowRoot,
|
|
672
|
-
shadowRootFilter:
|
|
673
|
-
}) : n = ia(t, r.includeContainer, mt.bind(null, r)),
|
|
674
|
-
},
|
|
673
|
+
shadowRootFilter: di
|
|
674
|
+
}) : n = ia(t, r.includeContainer, mt.bind(null, r)), fi(n);
|
|
675
|
+
}, bi = function(t, r) {
|
|
675
676
|
r = r || {};
|
|
676
677
|
var n;
|
|
677
678
|
return r.getShadowRoot ? n = oa([t], r.includeContainer, {
|
|
@@ -683,10 +684,10 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
683
684
|
if (r = r || {}, !t)
|
|
684
685
|
throw new Error("No node provided");
|
|
685
686
|
return _e.call(t, Ye) === !1 ? !1 : mt(r, t);
|
|
686
|
-
},
|
|
687
|
+
}, pi = /* @__PURE__ */ na.concat("iframe").join(","), ht = function(t, r) {
|
|
687
688
|
if (r = r || {}, !t)
|
|
688
689
|
throw new Error("No node provided");
|
|
689
|
-
return _e.call(t,
|
|
690
|
+
return _e.call(t, pi) === !1 ? !1 : et(r, t);
|
|
690
691
|
};
|
|
691
692
|
/*!
|
|
692
693
|
* focus-trap 7.6.5
|
|
@@ -697,21 +698,21 @@ function gt(a, t) {
|
|
|
697
698
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = a[r];
|
|
698
699
|
return n;
|
|
699
700
|
}
|
|
700
|
-
function
|
|
701
|
+
function hi(a) {
|
|
701
702
|
if (Array.isArray(a)) return gt(a);
|
|
702
703
|
}
|
|
703
|
-
function
|
|
704
|
-
return (t =
|
|
704
|
+
function mi(a, t, r) {
|
|
705
|
+
return (t = Ti(t)) in a ? Object.defineProperty(a, t, {
|
|
705
706
|
value: r,
|
|
706
707
|
enumerable: !0,
|
|
707
708
|
configurable: !0,
|
|
708
709
|
writable: !0
|
|
709
710
|
}) : a[t] = r, a;
|
|
710
711
|
}
|
|
711
|
-
function
|
|
712
|
+
function gi(a) {
|
|
712
713
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
|
|
713
714
|
}
|
|
714
|
-
function
|
|
715
|
+
function yi() {
|
|
715
716
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
716
717
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
717
718
|
}
|
|
@@ -729,17 +730,17 @@ function Vt(a) {
|
|
|
729
730
|
for (var t = 1; t < arguments.length; t++) {
|
|
730
731
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
731
732
|
t % 2 ? Ut(Object(r), !0).forEach(function(n) {
|
|
732
|
-
|
|
733
|
+
mi(a, n, r[n]);
|
|
733
734
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Ut(Object(r)).forEach(function(n) {
|
|
734
735
|
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(r, n));
|
|
735
736
|
});
|
|
736
737
|
}
|
|
737
738
|
return a;
|
|
738
739
|
}
|
|
739
|
-
function
|
|
740
|
-
return
|
|
740
|
+
function wi(a) {
|
|
741
|
+
return hi(a) || gi(a) || _i(a) || yi();
|
|
741
742
|
}
|
|
742
|
-
function
|
|
743
|
+
function ki(a, t) {
|
|
743
744
|
if (typeof a != "object" || !a) return a;
|
|
744
745
|
var r = a[Symbol.toPrimitive];
|
|
745
746
|
if (r !== void 0) {
|
|
@@ -749,11 +750,11 @@ function yi(a, t) {
|
|
|
749
750
|
}
|
|
750
751
|
return (t === "string" ? String : Number)(a);
|
|
751
752
|
}
|
|
752
|
-
function
|
|
753
|
-
var t =
|
|
753
|
+
function Ti(a) {
|
|
754
|
+
var t = ki(a, "string");
|
|
754
755
|
return typeof t == "symbol" ? t : t + "";
|
|
755
756
|
}
|
|
756
|
-
function
|
|
757
|
+
function _i(a, t) {
|
|
757
758
|
if (a) {
|
|
758
759
|
if (typeof a == "string") return gt(a, t);
|
|
759
760
|
var r = {}.toString.call(a).slice(8, -1);
|
|
@@ -773,15 +774,15 @@ var qt = {
|
|
|
773
774
|
var n = t.indexOf(r);
|
|
774
775
|
n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
775
776
|
}
|
|
776
|
-
},
|
|
777
|
+
}, Si = function(t) {
|
|
777
778
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
778
|
-
},
|
|
779
|
+
}, Ci = function(t) {
|
|
779
780
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
780
781
|
}, Be = function(t) {
|
|
781
782
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
782
|
-
},
|
|
783
|
+
}, Ii = function(t) {
|
|
783
784
|
return Be(t) && !t.shiftKey;
|
|
784
|
-
},
|
|
785
|
+
}, $i = function(t) {
|
|
785
786
|
return Be(t) && t.shiftKey;
|
|
786
787
|
}, Xt = function(t) {
|
|
787
788
|
return setTimeout(t, 0);
|
|
@@ -791,13 +792,13 @@ var qt = {
|
|
|
791
792
|
return typeof t == "function" ? t.apply(void 0, n) : t;
|
|
792
793
|
}, Ue = function(t) {
|
|
793
794
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
794
|
-
},
|
|
795
|
-
var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) ||
|
|
795
|
+
}, Oi = [], Ei = function(t, r) {
|
|
796
|
+
var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Oi, u = Vt({
|
|
796
797
|
returnFocusOnDeactivate: !0,
|
|
797
798
|
escapeDeactivates: !0,
|
|
798
799
|
delayInitialFocus: !0,
|
|
799
|
-
isKeyForward:
|
|
800
|
-
isKeyBackward:
|
|
800
|
+
isKeyForward: Ii,
|
|
801
|
+
isKeyBackward: $i
|
|
801
802
|
}, r), o = {
|
|
802
803
|
// containers given to createFocusTrap()
|
|
803
804
|
// @type {Array<HTMLElement>}
|
|
@@ -851,7 +852,7 @@ var qt = {
|
|
|
851
852
|
});
|
|
852
853
|
}, _ = function(l) {
|
|
853
854
|
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = f.hasFallback, F = m === void 0 ? !1 : m, R = f.params, M = R === void 0 ? [] : R, O = u[l];
|
|
854
|
-
if (typeof O == "function" && (O = O.apply(void 0,
|
|
855
|
+
if (typeof O == "function" && (O = O.apply(void 0, wi(M))), O === !0 && (O = void 0), !O) {
|
|
855
856
|
if (O === void 0 || O === !1)
|
|
856
857
|
return O;
|
|
857
858
|
throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
|
|
@@ -886,7 +887,7 @@ var qt = {
|
|
|
886
887
|
return l;
|
|
887
888
|
}, x = function() {
|
|
888
889
|
if (o.containerGroups = o.containers.map(function(l) {
|
|
889
|
-
var f =
|
|
890
|
+
var f = vi(l, u.tabbableOptions), m = bi(l, u.tabbableOptions), F = f.length > 0 ? f[0] : void 0, R = f.length > 0 ? f[f.length - 1] : void 0, M = m.find(function(v) {
|
|
890
891
|
return Oe(v);
|
|
891
892
|
}), O = m.slice().reverse().find(function(v) {
|
|
892
893
|
return Oe(v);
|
|
@@ -922,12 +923,12 @@ var qt = {
|
|
|
922
923
|
* in reverse.
|
|
923
924
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
924
925
|
*/
|
|
925
|
-
nextTabbableNode: function(
|
|
926
|
-
var y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = f.indexOf(
|
|
927
|
-
return g < 0 ? y ? m.slice(m.indexOf(
|
|
928
|
-
return Oe(
|
|
929
|
-
}) : m.slice(0, m.indexOf(
|
|
930
|
-
return Oe(
|
|
926
|
+
nextTabbableNode: function(C) {
|
|
927
|
+
var y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = f.indexOf(C);
|
|
928
|
+
return g < 0 ? y ? m.slice(m.indexOf(C) + 1).find(function(Q) {
|
|
929
|
+
return Oe(Q);
|
|
930
|
+
}) : m.slice(0, m.indexOf(C)).reverse().find(function(Q) {
|
|
931
|
+
return Oe(Q);
|
|
931
932
|
}) : f[g + (y ? 1 : -1)];
|
|
932
933
|
}
|
|
933
934
|
};
|
|
@@ -951,7 +952,7 @@ var qt = {
|
|
|
951
952
|
}
|
|
952
953
|
l.focus({
|
|
953
954
|
preventScroll: !!u.preventScroll
|
|
954
|
-
}), o.mostRecentlyFocusedNode = l,
|
|
955
|
+
}), o.mostRecentlyFocusedNode = l, Si(l) && l.select();
|
|
955
956
|
}
|
|
956
957
|
}, j = function(l) {
|
|
957
958
|
var f = _("setReturnFocus", {
|
|
@@ -972,7 +973,7 @@ var qt = {
|
|
|
972
973
|
return f === ce;
|
|
973
974
|
});
|
|
974
975
|
if (v < 0 && (w.container === f || ht(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !w.nextTabbableNode(f, !1)) && (v = O), v >= 0) {
|
|
975
|
-
var
|
|
976
|
+
var C = v === 0 ? o.tabbableGroups.length - 1 : v - 1, y = o.tabbableGroups[C];
|
|
976
977
|
M = ke(f) >= 0 ? y.lastTabbableNode : y.lastDomTabbableNode;
|
|
977
978
|
} else Be(m) || (M = w.nextTabbableNode(f, !1));
|
|
978
979
|
} else {
|
|
@@ -981,7 +982,7 @@ var qt = {
|
|
|
981
982
|
return f === ce;
|
|
982
983
|
});
|
|
983
984
|
if (g < 0 && (w.container === f || ht(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !w.nextTabbableNode(f)) && (g = O), g >= 0) {
|
|
984
|
-
var
|
|
985
|
+
var Q = g === o.tabbableGroups.length - 1 ? 0 : g + 1, H = o.tabbableGroups[Q];
|
|
985
986
|
M = ke(f) >= 0 ? H.firstTabbableNode : H.firstDomTabbableNode;
|
|
986
987
|
} else Be(m) || (M = w.nextTabbableNode(f));
|
|
987
988
|
}
|
|
@@ -1005,7 +1006,7 @@ var qt = {
|
|
|
1005
1006
|
}
|
|
1006
1007
|
Re(u.allowOutsideClick, l) || l.preventDefault();
|
|
1007
1008
|
}
|
|
1008
|
-
},
|
|
1009
|
+
}, z = function(l) {
|
|
1009
1010
|
var f = Ue(l), m = T(f, l) >= 0;
|
|
1010
1011
|
if (m || f instanceof Document)
|
|
1011
1012
|
m && (o.mostRecentlyFocusedNode = f);
|
|
@@ -1023,8 +1024,8 @@ var qt = {
|
|
|
1023
1024
|
}
|
|
1024
1025
|
} else
|
|
1025
1026
|
o.containerGroups.some(function(v) {
|
|
1026
|
-
return v.tabbableNodes.some(function(
|
|
1027
|
-
return ke(
|
|
1027
|
+
return v.tabbableNodes.some(function(C) {
|
|
1028
|
+
return ke(C) > 0;
|
|
1028
1029
|
});
|
|
1029
1030
|
}) || (R = !1);
|
|
1030
1031
|
else
|
|
@@ -1037,7 +1038,7 @@ var qt = {
|
|
|
1037
1038
|
})), A(F || o.mostRecentlyFocusedNode || B());
|
|
1038
1039
|
}
|
|
1039
1040
|
o.recentNavEvent = void 0;
|
|
1040
|
-
},
|
|
1041
|
+
}, ve = function(l) {
|
|
1041
1042
|
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
1042
1043
|
o.recentNavEvent = l;
|
|
1043
1044
|
var m = ne({
|
|
@@ -1046,9 +1047,9 @@ var qt = {
|
|
|
1046
1047
|
});
|
|
1047
1048
|
m && (Be(l) && l.preventDefault(), A(m));
|
|
1048
1049
|
}, le = function(l) {
|
|
1049
|
-
(u.isKeyForward(l) || u.isKeyBackward(l)) &&
|
|
1050
|
+
(u.isKeyForward(l) || u.isKeyBackward(l)) && ve(l, u.isKeyBackward(l));
|
|
1050
1051
|
}, J = function(l) {
|
|
1051
|
-
|
|
1052
|
+
Ci(l) && Re(u.escapeDeactivates, l) !== !1 && (l.preventDefault(), d.deactivate());
|
|
1052
1053
|
}, q = function(l) {
|
|
1053
1054
|
var f = Ue(l);
|
|
1054
1055
|
T(f, l) >= 0 || Re(u.clickOutsideDeactivates, l) || Re(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
|
|
@@ -1056,7 +1057,7 @@ var qt = {
|
|
|
1056
1057
|
if (o.active)
|
|
1057
1058
|
return qt.activateTrap(s, d), o.delayInitialFocusTimer = u.delayInitialFocus ? Xt(function() {
|
|
1058
1059
|
A(B());
|
|
1059
|
-
}) : A(B()), n.addEventListener("focusin",
|
|
1060
|
+
}) : A(B()), n.addEventListener("focusin", z, !0), n.addEventListener("mousedown", K, {
|
|
1060
1061
|
capture: !0,
|
|
1061
1062
|
passive: !1
|
|
1062
1063
|
}), n.addEventListener("touchstart", K, {
|
|
@@ -1071,8 +1072,8 @@ var qt = {
|
|
|
1071
1072
|
}), n.addEventListener("keydown", J), d;
|
|
1072
1073
|
}, N = function() {
|
|
1073
1074
|
if (o.active)
|
|
1074
|
-
return n.removeEventListener("focusin",
|
|
1075
|
-
},
|
|
1075
|
+
return n.removeEventListener("focusin", z, !0), n.removeEventListener("mousedown", K, !0), n.removeEventListener("touchstart", K, !0), n.removeEventListener("click", q, !0), n.removeEventListener("keydown", le, !0), n.removeEventListener("keydown", J), d;
|
|
1076
|
+
}, G = function(l) {
|
|
1076
1077
|
var f = l.some(function(m) {
|
|
1077
1078
|
var F = Array.from(m.removedNodes);
|
|
1078
1079
|
return F.some(function(R) {
|
|
@@ -1080,7 +1081,7 @@ var qt = {
|
|
|
1080
1081
|
});
|
|
1081
1082
|
});
|
|
1082
1083
|
f && A(B());
|
|
1083
|
-
}, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(
|
|
1084
|
+
}, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(G) : void 0, U = function() {
|
|
1084
1085
|
Z && (Z.disconnect(), o.active && !o.paused && o.containers.map(function(l) {
|
|
1085
1086
|
Z.observe(l, {
|
|
1086
1087
|
subtree: !0,
|
|
@@ -1162,7 +1163,7 @@ var qt = {
|
|
|
1162
1163
|
* (c) 2025 Eduardo San Martin Morote
|
|
1163
1164
|
* @license MIT
|
|
1164
1165
|
*/
|
|
1165
|
-
const
|
|
1166
|
+
const Ai = {
|
|
1166
1167
|
escapeDeactivates: {
|
|
1167
1168
|
type: Boolean,
|
|
1168
1169
|
default: !0
|
|
@@ -1188,7 +1189,7 @@ const Oi = {
|
|
|
1188
1189
|
preventScroll: Boolean,
|
|
1189
1190
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
1190
1191
|
tabbableOptions: Object
|
|
1191
|
-
},
|
|
1192
|
+
}, Fi = ie({
|
|
1192
1193
|
name: "FocusTrap",
|
|
1193
1194
|
props: Object.assign({
|
|
1194
1195
|
active: {
|
|
@@ -1196,7 +1197,7 @@ const Oi = {
|
|
|
1196
1197
|
type: Boolean,
|
|
1197
1198
|
default: !0
|
|
1198
1199
|
}
|
|
1199
|
-
},
|
|
1200
|
+
}, Ai),
|
|
1200
1201
|
emits: [
|
|
1201
1202
|
"update:active",
|
|
1202
1203
|
"activate",
|
|
@@ -1214,7 +1215,7 @@ const Oi = {
|
|
|
1214
1215
|
return d && (d instanceof HTMLElement ? d : d.$el);
|
|
1215
1216
|
});
|
|
1216
1217
|
function o() {
|
|
1217
|
-
return n || (n =
|
|
1218
|
+
return n || (n = Ei(u.value, {
|
|
1218
1219
|
escapeDeactivates: a.escapeDeactivates,
|
|
1219
1220
|
allowOutsideClick: a.allowOutsideClick,
|
|
1220
1221
|
returnFocusOnDeactivate: a.returnFocusOnDeactivate,
|
|
@@ -1268,16 +1269,27 @@ function ca() {
|
|
|
1268
1269
|
}
|
|
1269
1270
|
};
|
|
1270
1271
|
}
|
|
1272
|
+
const Ni = {
|
|
1273
|
+
new: "New"
|
|
1274
|
+
};
|
|
1275
|
+
function Di() {
|
|
1276
|
+
const a = Mn("en-us", Ni);
|
|
1277
|
+
return {
|
|
1278
|
+
i18n: a,
|
|
1279
|
+
i18nT: Ln(a)
|
|
1280
|
+
// Translation component <i18n-t>
|
|
1281
|
+
};
|
|
1282
|
+
}
|
|
1271
1283
|
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1272
|
-
function
|
|
1284
|
+
function Ri(a) {
|
|
1273
1285
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1274
1286
|
}
|
|
1275
1287
|
var tt = { exports: {} };
|
|
1276
1288
|
tt.exports;
|
|
1277
1289
|
(function(a, t) {
|
|
1278
|
-
var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", d = "[object Boolean]", b = "[object Date]", T = "[object Error]", _ = "[object Function]", B = "[object GeneratorFunction]", x = "[object Map]", P = "[object Number]", A = "[object Object]", j = "[object Promise]", ne = "[object RegExp]", K = "[object Set]",
|
|
1279
|
-
w[u] = w[o] = w[J] = w[q] = w[d] = w[b] = w[se] = w[N] = w[
|
|
1280
|
-
var v = typeof Ve == "object" && Ve && Ve.Object === Object && Ve,
|
|
1290
|
+
var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", d = "[object Boolean]", b = "[object Date]", T = "[object Error]", _ = "[object Function]", B = "[object GeneratorFunction]", x = "[object Map]", P = "[object Number]", A = "[object Object]", j = "[object Promise]", ne = "[object RegExp]", K = "[object Set]", z = "[object String]", ve = "[object Symbol]", le = "[object WeakMap]", J = "[object ArrayBuffer]", q = "[object DataView]", se = "[object Float32Array]", N = "[object Float64Array]", G = "[object Int8Array]", Z = "[object Int16Array]", U = "[object Int32Array]", D = "[object Uint8Array]", l = "[object Uint8ClampedArray]", f = "[object Uint16Array]", m = "[object Uint32Array]", F = /[\\^$.*+?()[\]{}|]/g, R = /\w*$/, M = /^\[object .+?Constructor\]$/, O = /^(?:0|[1-9]\d*)$/, w = {};
|
|
1291
|
+
w[u] = w[o] = w[J] = w[q] = w[d] = w[b] = w[se] = w[N] = w[G] = w[Z] = w[U] = w[x] = w[P] = w[A] = w[ne] = w[K] = w[z] = w[ve] = w[D] = w[l] = w[f] = w[m] = !0, w[T] = w[_] = w[le] = !1;
|
|
1292
|
+
var v = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, C = typeof self == "object" && self && self.Object === Object && self, y = v || C || Function("return this")(), g = t && !t.nodeType && t, Q = g && !0 && a && !a.nodeType && a, H = Q && Q.exports === g;
|
|
1281
1293
|
function X(e, i) {
|
|
1282
1294
|
return e.set(i[0], i[1]), e;
|
|
1283
1295
|
}
|
|
@@ -1336,8 +1348,8 @@ tt.exports;
|
|
|
1336
1348
|
var ba = Array.prototype, pa = Function.prototype, Ke = Object.prototype, nt = y["__core-js_shared__"], St = function() {
|
|
1337
1349
|
var e = /[^.]+$/.exec(nt && nt.keys && nt.keys.IE_PROTO || "");
|
|
1338
1350
|
return e ? "Symbol(src)_1." + e : "";
|
|
1339
|
-
}(), Ct = pa.toString,
|
|
1340
|
-
"^" + Ct.call(
|
|
1351
|
+
}(), Ct = pa.toString, be = Ke.hasOwnProperty, Ze = Ke.toString, ha = RegExp(
|
|
1352
|
+
"^" + Ct.call(be).replace(F, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1341
1353
|
), It = H ? y.Buffer : void 0, $t = y.Symbol, Ot = y.Uint8Array, ma = at(Object.getPrototypeOf, Object), ga = Object.create, ya = Ke.propertyIsEnumerable, wa = ba.splice, Et = Object.getOwnPropertySymbols, ka = It ? It.isBuffer : void 0, Ta = at(Object.keys, Object), rt = Ie(y, "DataView"), Ne = Ie(y, "Map"), it = Ie(y, "Promise"), ot = Ie(y, "Set"), st = Ie(y, "WeakMap"), De = Ie(Object, "create"), _a = ye(rt), Sa = ye(Ne), Ca = ye(it), Ia = ye(ot), $a = ye(st), At = $t ? $t.prototype : void 0, Ft = At ? At.valueOf : void 0;
|
|
1342
1354
|
function me(e) {
|
|
1343
1355
|
var i = -1, c = e ? e.length : 0;
|
|
@@ -1358,11 +1370,11 @@ tt.exports;
|
|
|
1358
1370
|
var c = i[e];
|
|
1359
1371
|
return c === n ? void 0 : c;
|
|
1360
1372
|
}
|
|
1361
|
-
return
|
|
1373
|
+
return be.call(i, e) ? i[e] : void 0;
|
|
1362
1374
|
}
|
|
1363
1375
|
function Fa(e) {
|
|
1364
1376
|
var i = this.__data__;
|
|
1365
|
-
return De ? i[e] !== void 0 :
|
|
1377
|
+
return De ? i[e] !== void 0 : be.call(i, e);
|
|
1366
1378
|
}
|
|
1367
1379
|
function Na(e, i) {
|
|
1368
1380
|
var c = this.__data__;
|
|
@@ -1434,10 +1446,10 @@ tt.exports;
|
|
|
1434
1446
|
function Wa(e) {
|
|
1435
1447
|
return this.__data__.delete(e);
|
|
1436
1448
|
}
|
|
1437
|
-
function
|
|
1449
|
+
function za(e) {
|
|
1438
1450
|
return this.__data__.get(e);
|
|
1439
1451
|
}
|
|
1440
|
-
function
|
|
1452
|
+
function Ga(e) {
|
|
1441
1453
|
return this.__data__.has(e);
|
|
1442
1454
|
}
|
|
1443
1455
|
function Ua(e, i) {
|
|
@@ -1450,16 +1462,16 @@ tt.exports;
|
|
|
1450
1462
|
}
|
|
1451
1463
|
return c.set(e, i), this;
|
|
1452
1464
|
}
|
|
1453
|
-
Ce.prototype.clear = Ha, Ce.prototype.delete = Wa, Ce.prototype.get =
|
|
1465
|
+
Ce.prototype.clear = Ha, Ce.prototype.delete = Wa, Ce.prototype.get = za, Ce.prototype.has = Ga, Ce.prototype.set = Ua;
|
|
1454
1466
|
function Va(e, i) {
|
|
1455
1467
|
var c = ut(e) || yn(e) ? fa(e.length, String) : [], h = c.length, V = !!h;
|
|
1456
1468
|
for (var ee in e)
|
|
1457
|
-
|
|
1469
|
+
be.call(e, ee) && !(V && (ee == "length" || pn(ee, h))) && c.push(ee);
|
|
1458
1470
|
return c;
|
|
1459
1471
|
}
|
|
1460
1472
|
function Nt(e, i, c) {
|
|
1461
1473
|
var h = e[i];
|
|
1462
|
-
(!(
|
|
1474
|
+
(!(be.call(e, i) && xt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
|
|
1463
1475
|
}
|
|
1464
1476
|
function He(e, i) {
|
|
1465
1477
|
for (var c = e.length; c--; )
|
|
@@ -1474,7 +1486,7 @@ tt.exports;
|
|
|
1474
1486
|
var te;
|
|
1475
1487
|
if (h && (te = ee ? h(e, V, ee, de) : h(e)), te !== void 0)
|
|
1476
1488
|
return te;
|
|
1477
|
-
if (!
|
|
1489
|
+
if (!ze(e))
|
|
1478
1490
|
return e;
|
|
1479
1491
|
var jt = ut(e);
|
|
1480
1492
|
if (jt) {
|
|
@@ -1501,12 +1513,12 @@ tt.exports;
|
|
|
1501
1513
|
return Kt;
|
|
1502
1514
|
if (de.set(e, te), !jt)
|
|
1503
1515
|
var Zt = c ? dn(e) : dt(e);
|
|
1504
|
-
return ua(Zt || e, function(ft,
|
|
1505
|
-
Zt && (
|
|
1516
|
+
return ua(Zt || e, function(ft, Ge) {
|
|
1517
|
+
Zt && (Ge = ft, ft = e[Ge]), Nt(te, Ge, lt(ft, i, c, h, Ge, e, de));
|
|
1506
1518
|
}), te;
|
|
1507
1519
|
}
|
|
1508
1520
|
function Xa(e) {
|
|
1509
|
-
return
|
|
1521
|
+
return ze(e) ? ga(e) : {};
|
|
1510
1522
|
}
|
|
1511
1523
|
function Ya(e, i, c) {
|
|
1512
1524
|
var h = i(e);
|
|
@@ -1516,7 +1528,7 @@ tt.exports;
|
|
|
1516
1528
|
return Ze.call(e);
|
|
1517
1529
|
}
|
|
1518
1530
|
function Ja(e) {
|
|
1519
|
-
if (!
|
|
1531
|
+
if (!ze(e) || mn(e))
|
|
1520
1532
|
return !1;
|
|
1521
1533
|
var i = Lt(e) || kt(e) ? ha : M;
|
|
1522
1534
|
return i.test(ye(e));
|
|
@@ -1526,7 +1538,7 @@ tt.exports;
|
|
|
1526
1538
|
return Ta(e);
|
|
1527
1539
|
var i = [];
|
|
1528
1540
|
for (var c in Object(e))
|
|
1529
|
-
|
|
1541
|
+
be.call(e, c) && c != "constructor" && i.push(c);
|
|
1530
1542
|
return i;
|
|
1531
1543
|
}
|
|
1532
1544
|
function tn(e, i) {
|
|
@@ -1610,7 +1622,7 @@ tt.exports;
|
|
|
1610
1622
|
});
|
|
1611
1623
|
function fn(e) {
|
|
1612
1624
|
var i = e.length, c = e.constructor(i);
|
|
1613
|
-
return i && typeof e[0] == "string" &&
|
|
1625
|
+
return i && typeof e[0] == "string" && be.call(e, "index") && (c.index = e.index, c.input = e.input), c;
|
|
1614
1626
|
}
|
|
1615
1627
|
function vn(e) {
|
|
1616
1628
|
return typeof e.constructor == "function" && !Bt(e) ? Xa(ma(e)) : {};
|
|
@@ -1627,7 +1639,7 @@ tt.exports;
|
|
|
1627
1639
|
return an(e, h);
|
|
1628
1640
|
case se:
|
|
1629
1641
|
case N:
|
|
1630
|
-
case
|
|
1642
|
+
case G:
|
|
1631
1643
|
case Z:
|
|
1632
1644
|
case U:
|
|
1633
1645
|
case D:
|
|
@@ -1638,13 +1650,13 @@ tt.exports;
|
|
|
1638
1650
|
case x:
|
|
1639
1651
|
return nn(e, h, c);
|
|
1640
1652
|
case P:
|
|
1641
|
-
case
|
|
1653
|
+
case z:
|
|
1642
1654
|
return new V(e);
|
|
1643
1655
|
case ne:
|
|
1644
1656
|
return rn(e);
|
|
1645
1657
|
case K:
|
|
1646
1658
|
return on(e, h, c);
|
|
1647
|
-
case
|
|
1659
|
+
case ve:
|
|
1648
1660
|
return sn(e);
|
|
1649
1661
|
}
|
|
1650
1662
|
}
|
|
@@ -1682,7 +1694,7 @@ tt.exports;
|
|
|
1682
1694
|
return e === i || e !== e && i !== i;
|
|
1683
1695
|
}
|
|
1684
1696
|
function yn(e) {
|
|
1685
|
-
return wn(e) &&
|
|
1697
|
+
return wn(e) && be.call(e, "callee") && (!ya.call(e, "callee") || Ze.call(e) == u);
|
|
1686
1698
|
}
|
|
1687
1699
|
var ut = Array.isArray;
|
|
1688
1700
|
function Mt(e) {
|
|
@@ -1693,13 +1705,13 @@ tt.exports;
|
|
|
1693
1705
|
}
|
|
1694
1706
|
var kn = ka || Cn;
|
|
1695
1707
|
function Lt(e) {
|
|
1696
|
-
var i =
|
|
1708
|
+
var i = ze(e) ? Ze.call(e) : "";
|
|
1697
1709
|
return i == _ || i == B;
|
|
1698
1710
|
}
|
|
1699
1711
|
function Tn(e) {
|
|
1700
1712
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
|
|
1701
1713
|
}
|
|
1702
|
-
function
|
|
1714
|
+
function ze(e) {
|
|
1703
1715
|
var i = typeof e;
|
|
1704
1716
|
return !!e && (i == "object" || i == "function");
|
|
1705
1717
|
}
|
|
@@ -1717,21 +1729,21 @@ tt.exports;
|
|
|
1717
1729
|
}
|
|
1718
1730
|
a.exports = gn;
|
|
1719
1731
|
})(tt, tt.exports);
|
|
1720
|
-
var
|
|
1721
|
-
const
|
|
1732
|
+
var Bi = tt.exports;
|
|
1733
|
+
const xi = /* @__PURE__ */ Ri(Bi), Mi = {
|
|
1722
1734
|
key: 0,
|
|
1723
1735
|
class: "sidebar-header"
|
|
1724
|
-
},
|
|
1736
|
+
}, Li = { class: "sidebar-content-container" }, ji = {
|
|
1725
1737
|
key: 0,
|
|
1726
1738
|
class: "sidebar-top"
|
|
1727
|
-
},
|
|
1739
|
+
}, Pi = { "aria-label": "Main menu" }, Ki = ["id"], Zi = ["aria-labelledby"], Hi = {
|
|
1728
1740
|
key: 1,
|
|
1729
1741
|
class: "sidebar-level-divider",
|
|
1730
1742
|
role: "separator"
|
|
1731
|
-
},
|
|
1743
|
+
}, Wi = {
|
|
1732
1744
|
key: 2,
|
|
1733
1745
|
class: "level-primary bottom-items"
|
|
1734
|
-
},
|
|
1746
|
+
}, zi = { class: "sidebar-footer" }, we = "_ungrouped", Gi = /* @__PURE__ */ ie({
|
|
1735
1747
|
__name: "AppSidebar",
|
|
1736
1748
|
props: {
|
|
1737
1749
|
topItems: {
|
|
@@ -1820,48 +1832,48 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1820
1832
|
})), _ = S(() => ({
|
|
1821
1833
|
top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
|
|
1822
1834
|
zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
|
|
1823
|
-
})), B = (v) =>
|
|
1824
|
-
var g,
|
|
1835
|
+
})), B = (v) => xi(v).map((y) => {
|
|
1836
|
+
var g, Q, H;
|
|
1825
1837
|
if (y) {
|
|
1826
|
-
(!y.key || !((g = y.key) != null && g.trim())) && (y.key = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!y.testId || !((
|
|
1838
|
+
(!y.key || !((g = y.key) != null && g.trim())) && (y.key = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!y.testId || !((Q = y.testId) != null && Q.trim())) && (y.testId = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1827
1839
|
for (const X of y.items || [])
|
|
1828
1840
|
X.parentKey = y.key, (!X.testId || !((H = X.testId) != null && H.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
|
|
1829
1841
|
}
|
|
1830
1842
|
return y;
|
|
1831
1843
|
}), x = S(() => n.topItems.length ? B(n.topItems) : []), P = S(() => n.bottomItems.length ? B(n.bottomItems) : []), A = (v = "") => v.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), j = S(() => {
|
|
1832
|
-
var
|
|
1844
|
+
var C;
|
|
1833
1845
|
const v = /* @__PURE__ */ new Map();
|
|
1834
1846
|
v.set(we, []);
|
|
1835
1847
|
for (const y of x.value) {
|
|
1836
1848
|
const g = y.group || we;
|
|
1837
|
-
v.has(g) || v.set(g, []), (
|
|
1849
|
+
v.has(g) || v.set(g, []), (C = v.get(g)) == null || C.push(y);
|
|
1838
1850
|
}
|
|
1839
1851
|
return v;
|
|
1840
|
-
}), ne =
|
|
1852
|
+
}), ne = Fr(`max-width: ${Lr}`), K = (v = "") => {
|
|
1841
1853
|
if (v === we || !v.trim())
|
|
1842
1854
|
return null;
|
|
1843
|
-
const
|
|
1855
|
+
const C = {
|
|
1844
1856
|
label: v,
|
|
1845
1857
|
collapsible: !1,
|
|
1846
1858
|
collapsed: !1
|
|
1847
1859
|
};
|
|
1848
1860
|
let y = v.trim().replace(" ", "");
|
|
1849
|
-
return y = y.charAt(0).toLowerCase() + y.slice(1), v && n.groupConfig && (n.groupConfig[v] || n.groupConfig[y]) ? n.groupConfig[v] || n.groupConfig[y] :
|
|
1850
|
-
},
|
|
1851
|
-
var
|
|
1852
|
-
return !!((
|
|
1853
|
-
},
|
|
1854
|
-
var
|
|
1855
|
-
return !!((
|
|
1856
|
-
}, le = (v,
|
|
1861
|
+
return y = y.charAt(0).toLowerCase() + y.slice(1), v && n.groupConfig && (n.groupConfig[v] || n.groupConfig[y]) ? n.groupConfig[v] || n.groupConfig[y] : C;
|
|
1862
|
+
}, z = (v) => {
|
|
1863
|
+
var C;
|
|
1864
|
+
return !!((C = K(v)) != null && C.collapsible);
|
|
1865
|
+
}, ve = (v) => {
|
|
1866
|
+
var C;
|
|
1867
|
+
return !!((C = K(v)) != null && C.collapsed);
|
|
1868
|
+
}, le = (v, C, y) => {
|
|
1857
1869
|
const g = K(v);
|
|
1858
|
-
g && (g.collapsed = !
|
|
1870
|
+
g && (g.collapsed = !C), y(), r("toggle-collapse", v, g);
|
|
1859
1871
|
}, J = ae(n.open), q = (v) => {
|
|
1860
|
-
var
|
|
1861
|
-
J.value !== v && (J.value = v, r("toggle", v)), v ? (
|
|
1872
|
+
var C, y;
|
|
1873
|
+
J.value !== v && (J.value = v, r("toggle", v)), v ? (C = document == null ? void 0 : document.body) == null || C.classList.add("kong-ui-app-sidebar-open") : (y = document == null ? void 0 : document.body) == null || y.classList.remove("kong-ui-app-sidebar-open"), N.value = !1;
|
|
1862
1874
|
}, se = () => {
|
|
1863
1875
|
n.mobileOverlayCloseOnClick && q(!1);
|
|
1864
|
-
}, N = ae(!1),
|
|
1876
|
+
}, N = ae(!1), G = (v) => {
|
|
1865
1877
|
N.value = !0, r("click", v), setTimeout(() => {
|
|
1866
1878
|
q(!1);
|
|
1867
1879
|
}, n.mobileCloseDelay);
|
|
@@ -1874,8 +1886,8 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1874
1886
|
}, 200), D = ae(), l = ae(!1), f = ae(), m = () => {
|
|
1875
1887
|
l.value || (l.value = !0, clearTimeout(f.value), f.value = setTimeout(() => l.value = !1, 1300));
|
|
1876
1888
|
}, F = ae(null), R = S(() => J.value && n.mobileEnabled), M = async (v) => {
|
|
1877
|
-
var
|
|
1878
|
-
v ? (await Ht(), await new Promise((g) => setTimeout(g, 300)), (
|
|
1889
|
+
var C, y;
|
|
1890
|
+
v ? (await Ht(), await new Promise((g) => setTimeout(g, 300)), (C = F.value) == null || C.activate()) : (y = F.value) == null || y.deactivate();
|
|
1879
1891
|
};
|
|
1880
1892
|
Te(R, async (v) => {
|
|
1881
1893
|
v ? await M(!0) : await M(!1);
|
|
@@ -1884,27 +1896,27 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1884
1896
|
var X;
|
|
1885
1897
|
if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((X = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : X.platform)))
|
|
1886
1898
|
return;
|
|
1887
|
-
const
|
|
1888
|
-
|
|
1889
|
-
const y =
|
|
1890
|
-
|
|
1899
|
+
const C = document.createElement("div");
|
|
1900
|
+
C.style.visibility = "hidden", C.style.width = "100px", document.body.appendChild(C);
|
|
1901
|
+
const y = C.offsetWidth;
|
|
1902
|
+
C.style.overflow = "scroll";
|
|
1891
1903
|
const g = document.createElement("div");
|
|
1892
|
-
g.style.width = "100%",
|
|
1893
|
-
const
|
|
1894
|
-
|
|
1904
|
+
g.style.width = "100%", C.appendChild(g);
|
|
1905
|
+
const Q = g.offsetWidth;
|
|
1906
|
+
C.parentNode && C.parentNode.removeChild(C), y - Q === 0 && (O.value = "8px");
|
|
1895
1907
|
};
|
|
1896
1908
|
return Pe(async () => {
|
|
1897
1909
|
if (D.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", U), window.addEventListener("resize", m), n.groupConfig && ne.value)
|
|
1898
1910
|
for (const v in n.groupConfig) {
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1911
|
+
const C = n.groupConfig[v];
|
|
1912
|
+
C.collapsed = !1;
|
|
1901
1913
|
}
|
|
1902
1914
|
await Ht(), w();
|
|
1903
1915
|
}), ea(() => {
|
|
1904
1916
|
window.removeEventListener("resize", U), window.removeEventListener("resize", m);
|
|
1905
1917
|
}), Te(() => n.groupConfig, (v) => {
|
|
1906
1918
|
console.log("groupConfig updated", v);
|
|
1907
|
-
}), (v,
|
|
1919
|
+
}), (v, C) => {
|
|
1908
1920
|
const y = he("KCollapse");
|
|
1909
1921
|
return p(), k(Ee, null, [
|
|
1910
1922
|
J.value && a.mobileOverlay && a.mobileEnabled ? (p(), k("div", {
|
|
@@ -1912,7 +1924,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1912
1924
|
class: "kong-ui-app-sidebar-overlay",
|
|
1913
1925
|
onClick: se
|
|
1914
1926
|
})) : $("", !0),
|
|
1915
|
-
Le(
|
|
1927
|
+
Le(fe(Fi), {
|
|
1916
1928
|
ref_key: "focusTrap",
|
|
1917
1929
|
ref: F,
|
|
1918
1930
|
active: !1,
|
|
@@ -1930,28 +1942,28 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1930
1942
|
}]),
|
|
1931
1943
|
tabindex: "-1"
|
|
1932
1944
|
}, [
|
|
1933
|
-
u.value ? (p(), k("div",
|
|
1934
|
-
|
|
1945
|
+
u.value ? (p(), k("div", Mi, [
|
|
1946
|
+
I(v.$slots, "header", {}, void 0, !0)
|
|
1935
1947
|
])) : $("", !0),
|
|
1936
|
-
E("div",
|
|
1937
|
-
o.value ? (p(), k("div",
|
|
1938
|
-
|
|
1948
|
+
E("div", Li, [
|
|
1949
|
+
o.value ? (p(), k("div", ji, [
|
|
1950
|
+
I(v.$slots, "top", {}, void 0, !0)
|
|
1939
1951
|
])) : $("", !0),
|
|
1940
|
-
E("nav",
|
|
1941
|
-
j.value.size > 0 ? (p(!0), k(Ee, { key: 0 }, pe(j.value, ([g,
|
|
1952
|
+
E("nav", Pi, [
|
|
1953
|
+
j.value.size > 0 ? (p(!0), k(Ee, { key: 0 }, pe(j.value, ([g, Q]) => (p(), W(y, {
|
|
1942
1954
|
key: g,
|
|
1943
1955
|
class: re(["level-primary-group-collapse", {
|
|
1944
|
-
"not-collapsible": !
|
|
1956
|
+
"not-collapsible": !z(g),
|
|
1945
1957
|
ungrouped: g === we
|
|
1946
1958
|
}]),
|
|
1947
1959
|
"data-testid": g === we ? "level-primary-group-collapse-ungrouped" : `level-primary-group-collapse-${g}`,
|
|
1948
|
-
"model-value":
|
|
1960
|
+
"model-value": z(g) && ve(g) || !1
|
|
1949
1961
|
}, {
|
|
1950
1962
|
trigger: L(({ isCollapsed: H, toggle: X }) => [
|
|
1951
|
-
(p(), W(Fe(
|
|
1952
|
-
appearance:
|
|
1963
|
+
(p(), W(Fe(z(g) ? fe(jn) : "div"), {
|
|
1964
|
+
appearance: z(g) ? "none" : void 0,
|
|
1953
1965
|
class: "level-primary-group-collapse-trigger",
|
|
1954
|
-
onClick: (ce) =>
|
|
1966
|
+
onClick: (ce) => z(g) ? le(g, H, X) : void 0
|
|
1955
1967
|
}, {
|
|
1956
1968
|
default: L(() => {
|
|
1957
1969
|
var ce;
|
|
@@ -1962,13 +1974,13 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1962
1974
|
class: "level-primary-group-name",
|
|
1963
1975
|
"data-testid": "level-primary-group-name",
|
|
1964
1976
|
role: "presentation"
|
|
1965
|
-
},
|
|
1966
|
-
|
|
1977
|
+
}, Y(((ce = K(g)) == null ? void 0 : ce.label) || g), 9, Ki)) : $("", !0),
|
|
1978
|
+
z(g) ? (p(), W(Fe(H ? fe(ta) : fe(xn)), {
|
|
1967
1979
|
key: 1,
|
|
1968
1980
|
class: "level-primary-group-collapse-icon",
|
|
1969
|
-
color:
|
|
1981
|
+
color: fe(Pr),
|
|
1970
1982
|
"data-testid": "level-primary-group-collapse-icon",
|
|
1971
|
-
size:
|
|
1983
|
+
size: fe(jr)
|
|
1972
1984
|
}, null, 8, ["color", "size"])) : $("", !0)
|
|
1973
1985
|
];
|
|
1974
1986
|
}),
|
|
@@ -1980,45 +1992,45 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
1980
1992
|
"aria-labelledby": g !== we ? `level-primary-group-${A(g)}` : void 0,
|
|
1981
1993
|
class: "level-primary top-items"
|
|
1982
1994
|
}, [
|
|
1983
|
-
(p(!0), k(Ee, null, pe(
|
|
1995
|
+
(p(!0), k(Ee, null, pe(Q, (H) => (p(), W(zt, {
|
|
1984
1996
|
key: H.name,
|
|
1985
1997
|
item: H,
|
|
1986
|
-
onClick:
|
|
1998
|
+
onClick: G
|
|
1987
1999
|
}, Me({
|
|
1988
2000
|
[`sidebar-icon-${H.key}`]: L(() => [
|
|
1989
|
-
|
|
2001
|
+
I(v.$slots, `sidebar-icon-${H.key}`, {}, void 0, !0)
|
|
1990
2002
|
]),
|
|
1991
2003
|
_: 2
|
|
1992
2004
|
}, [
|
|
1993
2005
|
v.$slots[`sidebar-after-${H.key}`] ? {
|
|
1994
2006
|
name: `sidebar-after-${H.key}`,
|
|
1995
2007
|
fn: L(() => [
|
|
1996
|
-
|
|
2008
|
+
I(v.$slots, `sidebar-after-${H.key}`, {}, void 0, !0)
|
|
1997
2009
|
]),
|
|
1998
2010
|
key: "0"
|
|
1999
2011
|
} : void 0
|
|
2000
2012
|
]), 1032, ["item"]))), 128))
|
|
2001
|
-
], 8,
|
|
2013
|
+
], 8, Zi)
|
|
2002
2014
|
]),
|
|
2003
2015
|
_: 2
|
|
2004
2016
|
}, 1032, ["class", "data-testid", "model-value"]))), 128)) : $("", !0),
|
|
2005
|
-
j.value.size > 0 && P.value.length ? (p(), k("div",
|
|
2006
|
-
P.value.length ? (p(), k("ul",
|
|
2007
|
-
(p(!0), k(Ee, null, pe(P.value, (g) => (p(), W(
|
|
2017
|
+
j.value.size > 0 && P.value.length ? (p(), k("div", Hi)) : $("", !0),
|
|
2018
|
+
P.value.length ? (p(), k("ul", Wi, [
|
|
2019
|
+
(p(!0), k(Ee, null, pe(P.value, (g) => (p(), W(zt, {
|
|
2008
2020
|
key: g.name,
|
|
2009
2021
|
item: g,
|
|
2010
|
-
onClick:
|
|
2022
|
+
onClick: G
|
|
2011
2023
|
}, {
|
|
2012
2024
|
[`sidebar-icon-${g.key}`]: L(() => [
|
|
2013
|
-
|
|
2025
|
+
I(v.$slots, `sidebar-icon-${g.key}`, {}, void 0, !0)
|
|
2014
2026
|
]),
|
|
2015
2027
|
_: 2
|
|
2016
2028
|
}, 1032, ["item"]))), 128))
|
|
2017
2029
|
])) : $("", !0)
|
|
2018
2030
|
])
|
|
2019
2031
|
]),
|
|
2020
|
-
E("div",
|
|
2021
|
-
|
|
2032
|
+
E("div", zi, [
|
|
2033
|
+
I(v.$slots, "footer", {}, void 0, !0)
|
|
2022
2034
|
])
|
|
2023
2035
|
], 2)
|
|
2024
2036
|
]),
|
|
@@ -2027,7 +2039,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2027
2039
|
], 64);
|
|
2028
2040
|
};
|
|
2029
2041
|
}
|
|
2030
|
-
}),
|
|
2042
|
+
}), Ui = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-857560c7"]]), Vi = ["aria-label"], qi = /* @__PURE__ */ ie({
|
|
2031
2043
|
__name: "SidebarToggle",
|
|
2032
2044
|
props: {
|
|
2033
2045
|
active: {
|
|
@@ -2053,15 +2065,15 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2053
2065
|
E("span", { class: "line" }, null, -1),
|
|
2054
2066
|
E("span", { class: "line" }, null, -1),
|
|
2055
2067
|
E("span", { class: "line" }, null, -1)
|
|
2056
|
-
]), 10,
|
|
2068
|
+
]), 10, Vi));
|
|
2057
2069
|
}
|
|
2058
|
-
}),
|
|
2070
|
+
}), Xi = /* @__PURE__ */ oe(qi, [["__scopeId", "data-v-cbb41bbd"]]), Yi = { id: "kong-ui-app-layout-notification" }, Qi = { class: "mobile-logo" }, Ji = {
|
|
2059
2071
|
key: 0,
|
|
2060
2072
|
class: "navbar-logo"
|
|
2061
|
-
},
|
|
2073
|
+
}, eo = {
|
|
2062
2074
|
class: "kong-ui-app-layout-main",
|
|
2063
2075
|
"data-testid": "kong-ui-app-layout-main"
|
|
2064
|
-
},
|
|
2076
|
+
}, to = { class: "kong-ui-app-layout-content" }, ao = { class: "kong-ui-app-layout-content-inner" }, no = /* @__PURE__ */ ie({
|
|
2065
2077
|
__name: "AppLayout",
|
|
2066
2078
|
props: {
|
|
2067
2079
|
hideDefaultSlot: {
|
|
@@ -2104,9 +2116,9 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2104
2116
|
setup(a, { emit: t }) {
|
|
2105
2117
|
yt((N) => ({
|
|
2106
2118
|
"26cbc8ac": K.value,
|
|
2107
|
-
"4eb9dde2":
|
|
2119
|
+
"4eb9dde2": z.value,
|
|
2108
2120
|
"5f0811fa": ne.value,
|
|
2109
|
-
"37ad0844":
|
|
2121
|
+
"37ad0844": ve.value,
|
|
2110
2122
|
"999c315e": le.value
|
|
2111
2123
|
}));
|
|
2112
2124
|
const r = a, n = t, s = je(), u = qe({
|
|
@@ -2133,18 +2145,18 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2133
2145
|
Jt(() => {
|
|
2134
2146
|
_.value = Bn(b, "open").value || !1;
|
|
2135
2147
|
});
|
|
2136
|
-
const x = ae(0), P = ae(60), A = ae(0), j = S(() => d.hidden ? A.value : P.value + A.value), ne = S(() => r.theme === "light" ?
|
|
2148
|
+
const x = ae(0), P = ae(60), A = ae(0), j = S(() => d.hidden ? A.value : P.value + A.value), ne = S(() => r.theme === "light" ? Rr : Br), K = S(() => r.theme === "light" ? Nr : Dr), z = S(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), ve = S(() => `${j.value}px`), le = S(() => b.hidden || d.hidden ? xr : Mr), { debounce: J } = ca(), q = J((N = !1) => {
|
|
2137
2149
|
if (N || x.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
2138
2150
|
x.value = window == null ? void 0 : window.innerWidth;
|
|
2139
|
-
const
|
|
2140
|
-
|
|
2151
|
+
const G = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
2152
|
+
G && (A.value = G.offsetHeight);
|
|
2141
2153
|
}
|
|
2142
2154
|
}, 200), se = ae();
|
|
2143
2155
|
return Te(A, (N) => {
|
|
2144
2156
|
n("update:topOffset", N || 0);
|
|
2145
2157
|
}, { immediate: !0 }), Pe(() => {
|
|
2146
|
-
var
|
|
2147
|
-
(
|
|
2158
|
+
var G, Z;
|
|
2159
|
+
(G = document == null ? void 0 : document.body) == null || G.classList.add("kong-ui-app-layout-body"), (Z = document == null ? void 0 : document.documentElement) == null || Z.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, q(!0);
|
|
2148
2160
|
const N = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
2149
2161
|
N && (se.value = new ResizeObserver((U) => {
|
|
2150
2162
|
window.requestAnimationFrame(() => {
|
|
@@ -2157,22 +2169,22 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2157
2169
|
}), se.value.observe(N)), window.addEventListener("resize", q);
|
|
2158
2170
|
}), ea(() => {
|
|
2159
2171
|
se.value && se.value.disconnect(), window.removeEventListener("resize", q);
|
|
2160
|
-
}), (N,
|
|
2172
|
+
}), (N, G) => (p(), k("div", {
|
|
2161
2173
|
class: re(["kong-ui-app-layout", [
|
|
2162
2174
|
{ "navbar-hidden": d.hidden },
|
|
2163
2175
|
{ "sidebar-hidden": b.hidden }
|
|
2164
2176
|
]])
|
|
2165
2177
|
}, [
|
|
2166
|
-
E("div",
|
|
2167
|
-
|
|
2178
|
+
E("div", Yi, [
|
|
2179
|
+
I(N.$slots, "notification", {}, void 0, !0)
|
|
2168
2180
|
]),
|
|
2169
|
-
d.hidden ? $("", !0) : (p(), W(
|
|
2181
|
+
d.hidden ? $("", !0) : (p(), W(gr, {
|
|
2170
2182
|
key: String(b.hidden),
|
|
2171
2183
|
"left-offset": b.hidden ? 0 : void 0,
|
|
2172
2184
|
"top-offset": A.value
|
|
2173
2185
|
}, Me({
|
|
2174
2186
|
"mobile-sidebar-toggle": L(() => [
|
|
2175
|
-
b.hidden ? $("", !0) : (p(), W(
|
|
2187
|
+
b.hidden ? $("", !0) : (p(), W(Xi, {
|
|
2176
2188
|
key: 0,
|
|
2177
2189
|
active: _.value,
|
|
2178
2190
|
onToggle: B
|
|
@@ -2183,8 +2195,8 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2183
2195
|
u.navbarMobileLogo ? {
|
|
2184
2196
|
name: "mobile-logo",
|
|
2185
2197
|
fn: L(() => [
|
|
2186
|
-
E("div",
|
|
2187
|
-
|
|
2198
|
+
E("div", Qi, [
|
|
2199
|
+
I(N.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
2188
2200
|
])
|
|
2189
2201
|
]),
|
|
2190
2202
|
key: "0"
|
|
@@ -2192,8 +2204,8 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2192
2204
|
u.navbarLogo ? {
|
|
2193
2205
|
name: "logo",
|
|
2194
2206
|
fn: L(() => [
|
|
2195
|
-
b.hidden ? (p(), k("div",
|
|
2196
|
-
|
|
2207
|
+
b.hidden ? (p(), k("div", Ji, [
|
|
2208
|
+
I(N.$slots, "navbar-logo", {}, void 0, !0)
|
|
2197
2209
|
])) : $("", !0)
|
|
2198
2210
|
]),
|
|
2199
2211
|
key: "1"
|
|
@@ -2201,26 +2213,26 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2201
2213
|
u.navbarLeft ? {
|
|
2202
2214
|
name: "left",
|
|
2203
2215
|
fn: L(() => [
|
|
2204
|
-
|
|
2216
|
+
I(N.$slots, "navbar-left", {}, void 0, !0)
|
|
2205
2217
|
]),
|
|
2206
2218
|
key: "2"
|
|
2207
2219
|
} : void 0,
|
|
2208
2220
|
u.navbarCenter ? {
|
|
2209
2221
|
name: "center",
|
|
2210
2222
|
fn: L(() => [
|
|
2211
|
-
|
|
2223
|
+
I(N.$slots, "navbar-center", {}, void 0, !0)
|
|
2212
2224
|
]),
|
|
2213
2225
|
key: "3"
|
|
2214
2226
|
} : void 0,
|
|
2215
2227
|
u.navbarRight ? {
|
|
2216
2228
|
name: "right",
|
|
2217
2229
|
fn: L(() => [
|
|
2218
|
-
|
|
2230
|
+
I(N.$slots, "navbar-right", {}, void 0, !0)
|
|
2219
2231
|
]),
|
|
2220
2232
|
key: "4"
|
|
2221
2233
|
} : void 0
|
|
2222
2234
|
]), 1032, ["left-offset", "top-offset"])),
|
|
2223
|
-
b.hidden ? $("", !0) : (p(), W(
|
|
2235
|
+
b.hidden ? $("", !0) : (p(), W(Ui, {
|
|
2224
2236
|
key: 1,
|
|
2225
2237
|
"bottom-items": b.bottomItems,
|
|
2226
2238
|
"group-config": a.groupConfig,
|
|
@@ -2233,74 +2245,74 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2233
2245
|
"top-offset": A.value,
|
|
2234
2246
|
onClick: T,
|
|
2235
2247
|
onToggle: B,
|
|
2236
|
-
onToggleCollapse:
|
|
2248
|
+
onToggleCollapse: G[0] || (G[0] = (Z, U) => n("toggle-collapse", Z, U))
|
|
2237
2249
|
}, Me({ _: 2 }, [
|
|
2238
2250
|
u.sidebarHeader ? {
|
|
2239
2251
|
name: "header",
|
|
2240
2252
|
fn: L(() => [
|
|
2241
|
-
|
|
2253
|
+
I(N.$slots, "sidebar-header", {}, void 0, !0)
|
|
2242
2254
|
]),
|
|
2243
2255
|
key: "0"
|
|
2244
2256
|
} : void 0,
|
|
2245
2257
|
u.sidebarTop ? {
|
|
2246
2258
|
name: "top",
|
|
2247
2259
|
fn: L(() => [
|
|
2248
|
-
|
|
2260
|
+
I(N.$slots, "sidebar-top", {}, void 0, !0)
|
|
2249
2261
|
]),
|
|
2250
2262
|
key: "1"
|
|
2251
2263
|
} : void 0,
|
|
2252
2264
|
u.sidebarFooter ? {
|
|
2253
2265
|
name: "footer",
|
|
2254
2266
|
fn: L(() => [
|
|
2255
|
-
|
|
2267
|
+
I(N.$slots, "sidebar-footer", {}, void 0, !0)
|
|
2256
2268
|
]),
|
|
2257
2269
|
key: "2"
|
|
2258
2270
|
} : void 0,
|
|
2259
2271
|
pe([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
|
|
2260
2272
|
name: `sidebar-icon-${Z.key}`,
|
|
2261
2273
|
fn: L(() => [
|
|
2262
|
-
|
|
2274
|
+
I(N.$slots, `sidebar-icon-${Z.key}`, {}, void 0, !0)
|
|
2263
2275
|
])
|
|
2264
2276
|
})),
|
|
2265
2277
|
pe([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
|
|
2266
2278
|
name: `sidebar-after-${Z.key}`,
|
|
2267
2279
|
fn: L(() => [
|
|
2268
|
-
|
|
2280
|
+
I(N.$slots, `sidebar-after-${Z.key}`, {}, void 0, !0)
|
|
2269
2281
|
])
|
|
2270
2282
|
}))
|
|
2271
2283
|
]), 1032, ["bottom-items", "group-config", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
2272
|
-
E("main",
|
|
2273
|
-
E("div",
|
|
2274
|
-
E("div",
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
o.value ? $("", !0) :
|
|
2284
|
+
E("main", eo, [
|
|
2285
|
+
E("div", to, [
|
|
2286
|
+
E("div", ao, [
|
|
2287
|
+
G[1] || (G[1] = E("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
|
|
2288
|
+
I(N.$slots, "app-error", {}, void 0, !0),
|
|
2289
|
+
o.value ? $("", !0) : I(N.$slots, "default", { key: 0 }, void 0, !0)
|
|
2278
2290
|
])
|
|
2279
2291
|
])
|
|
2280
2292
|
])
|
|
2281
2293
|
], 2));
|
|
2282
2294
|
}
|
|
2283
|
-
}),
|
|
2295
|
+
}), ro = /* @__PURE__ */ oe(no, [["__scopeId", "data-v-a92b50c0"]]), io = { class: "kong-ui-app-page-header" }, oo = {
|
|
2284
2296
|
key: 0,
|
|
2285
2297
|
class: "page-header-breadcrumbs",
|
|
2286
2298
|
"data-testid": "page-header-breadcrumbs"
|
|
2287
|
-
},
|
|
2299
|
+
}, so = { class: "page-header-title-section" }, lo = { class: "page-header-title-wrapper" }, co = {
|
|
2288
2300
|
key: 0,
|
|
2289
2301
|
class: "page-header-title-before",
|
|
2290
2302
|
"data-testid": "page-header-title-before"
|
|
2291
|
-
},
|
|
2303
|
+
}, uo = ["title"], fo = {
|
|
2292
2304
|
key: 1,
|
|
2293
2305
|
class: "page-header-title-after",
|
|
2294
2306
|
"data-testid": "page-header-title-after"
|
|
2295
|
-
},
|
|
2307
|
+
}, vo = {
|
|
2296
2308
|
key: 0,
|
|
2297
2309
|
class: "page-header-actions",
|
|
2298
2310
|
"data-testid": "page-header-actions"
|
|
2299
|
-
},
|
|
2311
|
+
}, bo = {
|
|
2300
2312
|
key: 1,
|
|
2301
2313
|
class: "page-header-section-below",
|
|
2302
2314
|
"data-testid": "page-header-section-below"
|
|
2303
|
-
},
|
|
2315
|
+
}, po = /* @__PURE__ */ ie({
|
|
2304
2316
|
__name: "AppPageHeader",
|
|
2305
2317
|
props: {
|
|
2306
2318
|
title: {
|
|
@@ -2320,8 +2332,8 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2320
2332
|
}), s = S(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
|
|
2321
2333
|
return (u, o) => {
|
|
2322
2334
|
const d = he("KBreadcrumbs");
|
|
2323
|
-
return p(), k("div",
|
|
2324
|
-
n.value ? (p(), k("div",
|
|
2335
|
+
return p(), k("div", io, [
|
|
2336
|
+
n.value ? (p(), k("div", oo, [
|
|
2325
2337
|
Le(d, {
|
|
2326
2338
|
"item-max-width": "150",
|
|
2327
2339
|
items: a.breadcrumbs
|
|
@@ -2329,44 +2341,44 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2329
2341
|
pe(s.value, (b) => ({
|
|
2330
2342
|
name: b,
|
|
2331
2343
|
fn: L(() => [
|
|
2332
|
-
|
|
2344
|
+
I(u.$slots, b, {}, void 0, !0)
|
|
2333
2345
|
])
|
|
2334
2346
|
}))
|
|
2335
2347
|
]), 1032, ["items"])
|
|
2336
2348
|
])) : $("", !0),
|
|
2337
|
-
E("div",
|
|
2338
|
-
E("div",
|
|
2339
|
-
u.$slots["title-before"] ? (p(), k("div",
|
|
2340
|
-
|
|
2349
|
+
E("div", so, [
|
|
2350
|
+
E("div", lo, [
|
|
2351
|
+
u.$slots["title-before"] ? (p(), k("div", co, [
|
|
2352
|
+
I(u.$slots, "title-before", {}, void 0, !0)
|
|
2341
2353
|
])) : $("", !0),
|
|
2342
2354
|
E("h1", {
|
|
2343
2355
|
class: "page-header-title",
|
|
2344
2356
|
"data-testid": "page-header-title",
|
|
2345
2357
|
title: a.title
|
|
2346
|
-
},
|
|
2347
|
-
u.$slots["title-after"] ? (p(), k("div",
|
|
2348
|
-
|
|
2358
|
+
}, Y(a.title), 9, uo),
|
|
2359
|
+
u.$slots["title-after"] ? (p(), k("div", fo, [
|
|
2360
|
+
I(u.$slots, "title-after", {}, void 0, !0)
|
|
2349
2361
|
])) : $("", !0)
|
|
2350
2362
|
]),
|
|
2351
|
-
u.$slots.actions ? (p(), k("div",
|
|
2352
|
-
|
|
2363
|
+
u.$slots.actions ? (p(), k("div", vo, [
|
|
2364
|
+
I(u.$slots, "actions", {}, void 0, !0)
|
|
2353
2365
|
])) : $("", !0)
|
|
2354
2366
|
]),
|
|
2355
|
-
u.$slots.below ? (p(), k("div",
|
|
2356
|
-
|
|
2367
|
+
u.$slots.below ? (p(), k("div", bo, [
|
|
2368
|
+
I(u.$slots, "below", {}, void 0, !0)
|
|
2357
2369
|
])) : $("", !0)
|
|
2358
2370
|
]);
|
|
2359
2371
|
};
|
|
2360
2372
|
}
|
|
2361
|
-
}),
|
|
2373
|
+
}), Oo = /* @__PURE__ */ oe(po, [["__scopeId", "data-v-204b7f98"]]), ho = { class: "app-page-info-section-default-header" }, mo = {
|
|
2362
2374
|
key: 1,
|
|
2363
2375
|
class: "app-page-info-section-description",
|
|
2364
2376
|
"data-testid": "app-page-info-section-description"
|
|
2365
|
-
},
|
|
2377
|
+
}, go = {
|
|
2366
2378
|
key: 0,
|
|
2367
2379
|
class: "app-page-info-section-content",
|
|
2368
2380
|
"data-testid": "app-page-info-section-content"
|
|
2369
|
-
},
|
|
2381
|
+
}, yo = /* @__PURE__ */ ie({
|
|
2370
2382
|
__name: "AppPageInfoSection",
|
|
2371
2383
|
props: {
|
|
2372
2384
|
collapsible: {
|
|
@@ -2384,7 +2396,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2384
2396
|
titleTag: {
|
|
2385
2397
|
type: String,
|
|
2386
2398
|
default: "div",
|
|
2387
|
-
validator: (a) =>
|
|
2399
|
+
validator: (a) => Pn.includes(a)
|
|
2388
2400
|
}
|
|
2389
2401
|
},
|
|
2390
2402
|
setup(a) {
|
|
@@ -2398,38 +2410,38 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2398
2410
|
"data-testid": "app-page-info-section-header"
|
|
2399
2411
|
}, {
|
|
2400
2412
|
default: L(() => [
|
|
2401
|
-
|
|
2402
|
-
E("div",
|
|
2413
|
+
I(t.$slots, "header", {}, () => [
|
|
2414
|
+
E("div", ho, [
|
|
2403
2415
|
a.title ? (p(), W(Fe(a.titleTag), {
|
|
2404
2416
|
key: 0,
|
|
2405
2417
|
class: "app-page-info-section-title",
|
|
2406
2418
|
"data-testid": "app-page-info-section-title"
|
|
2407
2419
|
}, {
|
|
2408
2420
|
default: L(() => [
|
|
2409
|
-
xe(
|
|
2421
|
+
xe(Y(a.title), 1)
|
|
2410
2422
|
]),
|
|
2411
2423
|
_: 1
|
|
2412
2424
|
})) : $("", !0),
|
|
2413
|
-
a.description ? (p(), k("div",
|
|
2425
|
+
a.description ? (p(), k("div", mo, Y(a.description), 1)) : $("", !0)
|
|
2414
2426
|
])
|
|
2415
2427
|
]),
|
|
2416
|
-
a.collapsible ? (p(), W(
|
|
2428
|
+
a.collapsible ? (p(), W(fe(ta), {
|
|
2417
2429
|
key: 0,
|
|
2418
2430
|
class: "app-page-info-section-chevron-icon",
|
|
2419
2431
|
decorative: ""
|
|
2420
|
-
})) : t.$slots.actions ?
|
|
2432
|
+
})) : t.$slots.actions ? I(t.$slots, "actions", { key: 1 }) : $("", !0)
|
|
2421
2433
|
]),
|
|
2422
2434
|
_: 3
|
|
2423
2435
|
})),
|
|
2424
|
-
t.$slots.default ? (p(), k("div",
|
|
2425
|
-
|
|
2436
|
+
t.$slots.default ? (p(), k("div", go, [
|
|
2437
|
+
I(t.$slots, "default")
|
|
2426
2438
|
])) : $("", !0)
|
|
2427
2439
|
]),
|
|
2428
2440
|
_: 3
|
|
2429
2441
|
}));
|
|
2430
2442
|
}
|
|
2431
|
-
}),
|
|
2432
|
-
__name: "
|
|
2443
|
+
}), Eo = /* @__PURE__ */ oe(yo, [["__scopeId", "data-v-62f17e32"]]), wo = /* @__PURE__ */ ie({
|
|
2444
|
+
__name: "NewBadge",
|
|
2433
2445
|
props: {
|
|
2434
2446
|
large: {
|
|
2435
2447
|
type: Boolean,
|
|
@@ -2441,33 +2453,32 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
|
|
|
2441
2453
|
}
|
|
2442
2454
|
},
|
|
2443
2455
|
setup(a) {
|
|
2444
|
-
|
|
2445
|
-
|
|
2456
|
+
const { i18n: { t } } = Di();
|
|
2457
|
+
return (r, n) => (p(), k("div", {
|
|
2458
|
+
class: re(["new-badge-wrapper", { inverse: a.inverse }])
|
|
2446
2459
|
}, [
|
|
2447
2460
|
E("div", {
|
|
2448
|
-
class: re(["
|
|
2449
|
-
},
|
|
2450
|
-
C(t.$slots, "default", {}, void 0, !0)
|
|
2451
|
-
], 2)
|
|
2461
|
+
class: re(["new-badge", { large: a.large }])
|
|
2462
|
+
}, Y(fe(t)("new")), 3)
|
|
2452
2463
|
], 2));
|
|
2453
2464
|
}
|
|
2454
|
-
}),
|
|
2465
|
+
}), Ao = /* @__PURE__ */ oe(wo, [["__scopeId", "data-v-a90b04c7"]]), Fo = {
|
|
2455
2466
|
// Customize Vue plugin options as desired
|
|
2456
2467
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
2457
2468
|
install: (a, t = {}) => {
|
|
2458
|
-
a.component(t.name || "AppLayout",
|
|
2469
|
+
a.component(t.name || "AppLayout", ro);
|
|
2459
2470
|
}
|
|
2460
2471
|
};
|
|
2461
2472
|
export {
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
+
Co as AccountDropdown,
|
|
2474
|
+
Io as AppAboutSection,
|
|
2475
|
+
$o as AppError,
|
|
2476
|
+
ro as AppLayout,
|
|
2477
|
+
gr as AppNavbar,
|
|
2478
|
+
Oo as AppPageHeader,
|
|
2479
|
+
Eo as AppPageInfoSection,
|
|
2480
|
+
Ui as AppSidebar,
|
|
2481
|
+
Ao as NewBadge,
|
|
2482
|
+
Xi as SidebarToggle,
|
|
2483
|
+
Fo as default
|
|
2473
2484
|
};
|