@equal-experts/kuat-vue 0.12.0 → 0.13.1
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/README.md +3 -1
- package/agent-docs/AGENTS.md +10 -0
- package/agent-docs/README.md +17 -0
- package/agent-docs/bundle-manifest.json +63 -0
- package/agent-docs/components/_template.md +21 -0
- package/agent-docs/components/button-group.md +27 -0
- package/agent-docs/components/button.md +50 -0
- package/agent-docs/components/components.manifest.json +20 -0
- package/agent-docs/components/kuat-header.md +27 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +166 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/accessibility.md +444 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/brand.md +99 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +93 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +69 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +75 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/writing-style.md +91 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/borders.md +159 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/colours.md +173 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/design-language.md +116 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/spacing.md +130 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/typography.md +155 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/logo.md +151 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/README.md +26 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/blog-posts.md +33 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/marketing-content.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/seo.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/emails.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +18 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/marketing-pages.md +368 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/website.md +169 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/accessibility.md +402 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-decision-tree.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-registry.md +68 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/actions.md +51 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/confirmations.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/empty-states.md +43 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/errors.md +54 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/forms.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/product-content.md +138 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/design.md +207 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/emails.md +71 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +82 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/authentication.md +303 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/dashboards.md +313 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/documentation.md +333 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/forms.md +361 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +488 -0
- package/agent-docs/kuat-docs/rules/README.md +148 -0
- package/agent-docs/kuat-docs/rules/design/layouts.md +394 -0
- package/agent-docs/kuat-docs/rules/scenarios/README.md +83 -0
- package/agent-docs/kuat-docs/rules/scenarios/authentication.md +301 -0
- package/agent-docs/kuat-docs/rules/scenarios/dashboards.md +314 -0
- package/agent-docs/kuat-docs/rules/scenarios/documentation.md +333 -0
- package/agent-docs/kuat-docs/rules/scenarios/forms.md +359 -0
- package/agent-docs/kuat-docs/rules/scenarios/marketing-pages.md +367 -0
- package/agent-docs/manifest.json +9 -0
- package/agent-docs/rules/LOADING-consumer.md +27 -0
- package/dist/{AccordionTrigger-BRz5PzEd.js → AccordionTrigger-BGVFRlgt.js} +1 -1
- package/dist/{AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js → AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DosgAcSM.js} +1 -1
- package/dist/{KuatSelect.vue_vue_type_script_setup_true_lang-DP66U_wg.js → KuatSelect.vue_vue_type_script_setup_true_lang-CT1xn9gs.js} +1 -1
- package/dist/accordion.js +1 -1
- package/dist/alert-dialog.js +1 -1
- package/dist/button-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/components/ui/icon-button/IconButton.vue.d.ts +62 -0
- package/dist/components/ui/icon-button/constants.d.ts +13 -0
- package/dist/components/ui/icon-button/index.d.ts +14 -0
- package/dist/components/ui/kuat-header/KuatHeader.vue.d.ts +7 -6
- package/dist/components/ui/kuat-header/constants.d.ts +79 -0
- package/dist/components/ui/kuat-header/index.d.ts +3 -2
- package/dist/components/ui/kuat-header/kuat-header.logic.d.ts +29 -0
- package/dist/components/ui/select/KuatSelect.vue.d.ts +2 -2
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +1 -1
- package/dist/{constants-Ils7NSfg.js → constants-BZKku54w.js} +1 -1
- package/dist/{constants-BpzIL1jq.js → constants-DC1CCNlp.js} +1 -1
- package/dist/{constants-D_fYMnOg.js → constants-DWBWMp2p.js} +1 -1
- package/dist/icon-button.d.ts +3 -0
- package/dist/icon-button.js +12 -0
- package/dist/index-OELvcT-N.js +54 -0
- package/dist/{index-iz_NZI-V.js → index-Tp80OeHH.js} +1 -1
- package/dist/index-lZY__1xm.js +76 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1188 -392
- package/dist/radio.js +1 -1
- package/dist/select.js +1 -1
- package/dist/style.css +1 -1
- package/dist/switch.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/package.json +8 -2
- package/dist/index-A7umpmtg.js +0 -37
package/dist/index.js
CHANGED
|
@@ -1,48 +1,144 @@
|
|
|
1
1
|
import { c as V } from "./utils-DLUjLwnh.js";
|
|
2
|
-
import { S as
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
import { Primitive as
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
import {
|
|
10
|
-
import { _ as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { S as
|
|
22
|
-
import { _ as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
2
|
+
import { S as He } from "./index-Tp80OeHH.js";
|
|
3
|
+
import { B as cl, a as _l, b as hl, c as pl } from "./index-Tp80OeHH.js";
|
|
4
|
+
import { computed as h, toValue as K, unref as k, defineComponent as q, createBlock as F, openBlock as s, mergeProps as Ze, withCtx as z, renderSlot as D, createCommentVNode as f, createElementBlock as l, createElementVNode as t, toDisplayString as p, resolveDynamicComponent as Q, createTextVNode as de, normalizeClass as I, createStaticVNode as Ge, useSlots as Ke, ref as x, watch as J, onUnmounted as xe, Fragment as E, createVNode as S, renderList as O, withDirectives as ae, vShow as te, onMounted as Ve, normalizeStyle as qe } from "vue";
|
|
5
|
+
import { Primitive as We } from "reka-ui";
|
|
6
|
+
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import { ChevronDown as me, LayoutGrid as Le, User as re, Menu as ze, ChevronLeft as Xe, X as Ye, ChevronRight as ce, MoreHorizontal as je } from "lucide-vue-next";
|
|
8
|
+
import { _ as he } from "./index-CBmjn3iX.js";
|
|
9
|
+
import { b as ml } from "./index-CBmjn3iX.js";
|
|
10
|
+
import { _ as Qe } from "./index-lZY__1xm.js";
|
|
11
|
+
import { a as fl, I as bl, d as gl, c as yl, b as wl, i as Cl } from "./index-lZY__1xm.js";
|
|
12
|
+
import { _ as Al, a as $l, b as El, d as Tl, c as Ll } from "./CarouselNext.vue_vue_type_script_setup_true_lang-BvnpmYmA.js";
|
|
13
|
+
import { _ as xl, a as Vl, b as Dl, d as Il, c as Ml } from "./KuatCarouselNext.vue_vue_type_script_setup_true_lang-BnDrXaGV.js";
|
|
14
|
+
import { _ as Rl, b as Nl, A as Bl, a as Pl } from "./AccordionTrigger-BGVFRlgt.js";
|
|
15
|
+
import { _ as Ul, A as Zl, a as Gl, b as Kl, c as ql, d as Wl, e as zl, f as Xl, g as Yl } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DosgAcSM.js";
|
|
16
|
+
import { B as Ql, b as Jl } from "./index-C3VyxnTa.js";
|
|
17
|
+
import { T as ao, _ as to } from "./constants-CpIWAssv.js";
|
|
18
|
+
import { I as lo, _ as oo } from "./constants-4SN0MW4f.js";
|
|
19
|
+
import { _ as no, a as io, b as uo, c as co, d as _o } from "./FieldTitle.vue_vue_type_script_setup_true_lang-Bu8UIwRT.js";
|
|
20
|
+
import { F as po, e as vo, _ as mo, a as ko, b as fo, c as bo, d as go } from "./FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js";
|
|
21
|
+
import { _ as wo, S as Co, k as So, a as Ao, b as $o, c as Eo, d as To, e as Lo, f as Ho, g as xo, h as Vo, i as Do, j as Io } from "./KuatSelect.vue_vue_type_script_setup_true_lang-CT1xn9gs.js";
|
|
22
|
+
import { C as Oo, b as Ro, _ as No, a as Bo } from "./constants-DC1CCNlp.js";
|
|
23
|
+
import { R as Fo, c as Uo, b as Zo, _ as Go, a as Ko } from "./constants-DWBWMp2p.js";
|
|
24
|
+
import { S as Wo, b as zo, _ as Xo, a as Yo } from "./constants-BZKku54w.js";
|
|
25
|
+
import { _ as Qo } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
|
|
26
|
+
import { T as er, a as ar } from "./constants-CXAkjttx.js";
|
|
27
|
+
import { TOGGLE_GROUP_ORIENTATIONS as sr, ToggleGroup as lr, ToggleGroupItem as or } from "./toggle-group.js";
|
|
28
|
+
import { S as nr, _ as ir, a as ur, t as dr } from "./toast-LJYTMaV_.js";
|
|
29
|
+
import { n as ne, t as pe, w as Je, i as ea, a as aa } from "./index-OELvcT-N.js";
|
|
30
|
+
const De = ea ? window : void 0;
|
|
31
|
+
function ee(a) {
|
|
32
|
+
var e;
|
|
33
|
+
const n = K(a);
|
|
34
|
+
return (e = n == null ? void 0 : n.$el) !== null && e !== void 0 ? e : n;
|
|
35
|
+
}
|
|
36
|
+
function ue(...a) {
|
|
37
|
+
const e = (o, _, d, g) => (o.addEventListener(_, d, g), () => o.removeEventListener(_, d, g)), n = h(() => {
|
|
38
|
+
const o = pe(K(a[0])).filter((_) => _ != null);
|
|
39
|
+
return o.every((_) => typeof _ != "string") ? o : void 0;
|
|
40
|
+
});
|
|
41
|
+
return Je(() => {
|
|
42
|
+
var o, _;
|
|
43
|
+
return [
|
|
44
|
+
(o = (_ = n.value) === null || _ === void 0 ? void 0 : _.map((d) => ee(d))) !== null && o !== void 0 ? o : [De].filter((d) => d != null),
|
|
45
|
+
pe(K(n.value ? a[1] : a[0])),
|
|
46
|
+
pe(k(n.value ? a[2] : a[1])),
|
|
47
|
+
K(n.value ? a[3] : a[2])
|
|
48
|
+
];
|
|
49
|
+
}, ([o, _, d, g], T, w) => {
|
|
50
|
+
if (!(o != null && o.length) || !(_ != null && _.length) || !(d != null && d.length)) return;
|
|
51
|
+
const H = aa(g) ? { ...g } : g, A = o.flatMap(($) => _.flatMap((N) => d.map((U) => e($, N, U, H))));
|
|
52
|
+
w(() => {
|
|
53
|
+
A.forEach(($) => $());
|
|
54
|
+
});
|
|
55
|
+
}, { flush: "post" });
|
|
56
|
+
}
|
|
57
|
+
function ta(a, e, n = {}) {
|
|
58
|
+
const { window: o = De, ignore: _ = [], capture: d = !0, detectIframe: g = !1, controls: T = !1 } = n;
|
|
59
|
+
if (!o) return T ? {
|
|
60
|
+
stop: ne,
|
|
61
|
+
cancel: ne,
|
|
62
|
+
trigger: ne
|
|
63
|
+
} : ne;
|
|
64
|
+
let w = !0;
|
|
65
|
+
const H = (c) => K(_).some((v) => {
|
|
66
|
+
if (typeof v == "string") return Array.from(o.document.querySelectorAll(v)).some((m) => m === c.target || c.composedPath().includes(m));
|
|
67
|
+
{
|
|
68
|
+
const m = ee(v);
|
|
69
|
+
return m && (c.target === m || c.composedPath().includes(m));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
function A(c) {
|
|
73
|
+
const v = K(c);
|
|
74
|
+
return v && v.$.subTree.shapeFlag === 16;
|
|
75
|
+
}
|
|
76
|
+
function $(c, v) {
|
|
77
|
+
const m = K(c), b = m.$.subTree && m.$.subTree.children;
|
|
78
|
+
return b == null || !Array.isArray(b) ? !1 : b.some((B) => B.el === v.target || v.composedPath().includes(B.el));
|
|
79
|
+
}
|
|
80
|
+
const N = (c) => {
|
|
81
|
+
const v = ee(a);
|
|
82
|
+
if (c.target != null && !(!(v instanceof Element) && A(a) && $(a, c)) && !(!v || v === c.target || c.composedPath().includes(v))) {
|
|
83
|
+
if ("detail" in c && c.detail === 0 && (w = !H(c)), !w) {
|
|
84
|
+
w = !0;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
e(c);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
let U = !1;
|
|
91
|
+
const Y = [
|
|
92
|
+
ue(o, "click", (c) => {
|
|
93
|
+
U || (U = !0, setTimeout(() => {
|
|
94
|
+
U = !1;
|
|
95
|
+
}, 0), N(c));
|
|
96
|
+
}, {
|
|
97
|
+
passive: !0,
|
|
98
|
+
capture: d
|
|
99
|
+
}),
|
|
100
|
+
ue(o, "pointerdown", (c) => {
|
|
101
|
+
const v = ee(a);
|
|
102
|
+
w = !H(c) && !!(v && !c.composedPath().includes(v));
|
|
103
|
+
}, { passive: !0 }),
|
|
104
|
+
g && ue(o, "blur", (c) => {
|
|
105
|
+
setTimeout(() => {
|
|
106
|
+
var v;
|
|
107
|
+
const m = ee(a);
|
|
108
|
+
((v = o.document.activeElement) === null || v === void 0 ? void 0 : v.tagName) === "IFRAME" && !(m != null && m.contains(o.document.activeElement)) && e(c);
|
|
109
|
+
}, 0);
|
|
110
|
+
}, { passive: !0 })
|
|
111
|
+
].filter(Boolean), y = () => Y.forEach((c) => c());
|
|
112
|
+
return T ? {
|
|
113
|
+
stop: y,
|
|
114
|
+
cancel: () => {
|
|
115
|
+
w = !1;
|
|
116
|
+
},
|
|
117
|
+
trigger: (c) => {
|
|
118
|
+
w = !0, N(c), w = !1;
|
|
119
|
+
}
|
|
120
|
+
} : y;
|
|
121
|
+
}
|
|
122
|
+
const sa = {
|
|
27
123
|
key: 1,
|
|
28
124
|
class: "content-card__media"
|
|
29
|
-
},
|
|
125
|
+
}, la = ["src", "alt"], oa = { class: "content-card__body" }, ra = { class: "content-card__heading-row" }, na = { class: "content-card__heading-left" }, ia = { class: "content-card__heading-meta" }, ua = {
|
|
30
126
|
"data-slot": "badge",
|
|
31
127
|
class: "content-card__badge"
|
|
32
|
-
},
|
|
128
|
+
}, da = { class: "content-card__category" }, ca = {
|
|
33
129
|
"data-slot": "header-accessory",
|
|
34
130
|
class: "content-card__header-accessory"
|
|
35
|
-
},
|
|
131
|
+
}, _a = {
|
|
36
132
|
key: 0,
|
|
37
133
|
"data-slot": "content",
|
|
38
134
|
class: "content-card__content"
|
|
39
|
-
},
|
|
135
|
+
}, ha = { class: "content-card__content-text" }, pa = {
|
|
40
136
|
"data-slot": "custom-content",
|
|
41
137
|
class: "content-card__custom-content"
|
|
42
|
-
},
|
|
138
|
+
}, va = {
|
|
43
139
|
"data-slot": "footer",
|
|
44
140
|
class: "content-card__footer"
|
|
45
|
-
},
|
|
141
|
+
}, ma = /* @__PURE__ */ q({
|
|
46
142
|
__name: "ContentCard",
|
|
47
143
|
props: {
|
|
48
144
|
class: {},
|
|
@@ -57,180 +153,870 @@ const oe = {
|
|
|
57
153
|
asChild: { type: Boolean },
|
|
58
154
|
as: { default: "div" }
|
|
59
155
|
},
|
|
60
|
-
setup(
|
|
61
|
-
const e =
|
|
62
|
-
return (
|
|
63
|
-
as:
|
|
64
|
-
"as-child":
|
|
65
|
-
class: k(V)("content-card",
|
|
66
|
-
style:
|
|
156
|
+
setup(a) {
|
|
157
|
+
const e = a, n = h(() => `h${e.titleHeadingLevel}`), o = h(() => e.width === "fluid" ? "content-card--width-fluid" : e.width === "custom" ? "content-card--width-custom" : "content-card--width-default"), _ = h(() => e.width !== "custom" ? void 0 : { "--content-card-max-width": typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth });
|
|
158
|
+
return (d, g) => (s(), F(k(We), Ze({
|
|
159
|
+
as: a.as,
|
|
160
|
+
"as-child": a.asChild,
|
|
161
|
+
class: k(V)("content-card", o.value, e.class),
|
|
162
|
+
style: _.value,
|
|
67
163
|
"data-slot": "content-card"
|
|
68
|
-
},
|
|
69
|
-
default:
|
|
70
|
-
|
|
71
|
-
e.imageSrc !== null ? (
|
|
164
|
+
}, d.$attrs), {
|
|
165
|
+
default: z(() => [
|
|
166
|
+
a.asChild ? D(d.$slots, "default", { key: 0 }, void 0, !0) : f("", !0),
|
|
167
|
+
e.imageSrc !== null ? (s(), l("div", sa, [
|
|
72
168
|
t("img", {
|
|
73
169
|
class: "content-card__media-img",
|
|
74
170
|
src: e.imageSrc,
|
|
75
171
|
alt: e.imageAlt
|
|
76
|
-
}, null, 8,
|
|
77
|
-
])) :
|
|
78
|
-
t("div",
|
|
79
|
-
t("div",
|
|
80
|
-
t("div",
|
|
81
|
-
t("div",
|
|
82
|
-
t("div",
|
|
83
|
-
|
|
172
|
+
}, null, 8, la)
|
|
173
|
+
])) : f("", !0),
|
|
174
|
+
t("div", oa, [
|
|
175
|
+
t("div", ra, [
|
|
176
|
+
t("div", na, [
|
|
177
|
+
t("div", ia, [
|
|
178
|
+
t("div", ua, [
|
|
179
|
+
D(d.$slots, "badge", {}, void 0, !0)
|
|
84
180
|
]),
|
|
85
|
-
t("p",
|
|
181
|
+
t("p", da, p(e.category), 1)
|
|
86
182
|
]),
|
|
87
|
-
(
|
|
88
|
-
default:
|
|
89
|
-
|
|
183
|
+
(s(), F(Q(n.value), { class: "content-card__title" }, {
|
|
184
|
+
default: z(() => [
|
|
185
|
+
de(p(e.title), 1)
|
|
90
186
|
]),
|
|
91
187
|
_: 1
|
|
92
188
|
}))
|
|
93
189
|
]),
|
|
94
|
-
t("div",
|
|
95
|
-
|
|
190
|
+
t("div", ca, [
|
|
191
|
+
D(d.$slots, "header-accessory", {}, void 0, !0)
|
|
96
192
|
])
|
|
97
193
|
]),
|
|
98
|
-
e.contentText != null ? (
|
|
99
|
-
t("p",
|
|
100
|
-
])) :
|
|
101
|
-
t("div",
|
|
102
|
-
|
|
194
|
+
e.contentText != null ? (s(), l("div", _a, [
|
|
195
|
+
t("p", ha, p(e.contentText), 1)
|
|
196
|
+
])) : f("", !0),
|
|
197
|
+
t("div", pa, [
|
|
198
|
+
D(d.$slots, "custom-content", {}, void 0, !0)
|
|
103
199
|
]),
|
|
104
|
-
t("div",
|
|
105
|
-
|
|
200
|
+
t("div", va, [
|
|
201
|
+
D(d.$slots, "footer", {}, void 0, !0)
|
|
106
202
|
])
|
|
107
203
|
])
|
|
108
204
|
]),
|
|
109
205
|
_: 3
|
|
110
206
|
}, 16, ["as", "as-child", "class", "style"]));
|
|
111
207
|
}
|
|
112
|
-
}),
|
|
208
|
+
}), zs = /* @__PURE__ */ se(ma, [["__scopeId", "data-v-76d8d14e"]]), j = {
|
|
209
|
+
trigger: "Equal Experts apps",
|
|
210
|
+
nav: "Equal Experts applications",
|
|
211
|
+
title: "Equal Experts apps",
|
|
212
|
+
teaserTitle: "Equal Experts apps",
|
|
213
|
+
teaserDescription: "Switch between EE services"
|
|
214
|
+
}, ve = {
|
|
215
|
+
teaserTitle: "Account",
|
|
216
|
+
nav: "Account",
|
|
217
|
+
title: "Account"
|
|
218
|
+
}, ka = "No applications are available right now.";
|
|
219
|
+
function fa(a) {
|
|
220
|
+
return a ? a.loading || a.apps.length > 0 ? !0 : a.empty === "message" : !1;
|
|
221
|
+
}
|
|
222
|
+
function ba(a) {
|
|
223
|
+
var e, n, o, _, d;
|
|
224
|
+
return {
|
|
225
|
+
trigger: ((e = a == null ? void 0 : a.labels) == null ? void 0 : e.trigger) ?? j.trigger,
|
|
226
|
+
nav: ((n = a == null ? void 0 : a.labels) == null ? void 0 : n.nav) ?? j.nav,
|
|
227
|
+
title: ((o = a == null ? void 0 : a.labels) == null ? void 0 : o.title) ?? j.title,
|
|
228
|
+
teaserTitle: ((_ = a == null ? void 0 : a.labels) == null ? void 0 : _.teaserTitle) ?? j.teaserTitle,
|
|
229
|
+
teaserDescription: ((d = a == null ? void 0 : a.labels) == null ? void 0 : d.teaserDescription) ?? j.teaserDescription
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
function ga(a) {
|
|
233
|
+
return (a == null ? void 0 : a.emptyMessage) ?? ka;
|
|
234
|
+
}
|
|
235
|
+
function ya(a) {
|
|
236
|
+
var e, n;
|
|
237
|
+
return !!((n = (e = a == null ? void 0 : a.mobile) == null ? void 0 : e.items) != null && n.length);
|
|
238
|
+
}
|
|
239
|
+
function wa(a) {
|
|
240
|
+
var e;
|
|
241
|
+
return !!((e = a == null ? void 0 : a.items) != null && e.length);
|
|
242
|
+
}
|
|
243
|
+
function Ie(a) {
|
|
244
|
+
var e, n;
|
|
245
|
+
return ((n = (e = a == null ? void 0 : a.mobile) == null ? void 0 : e.items) == null ? void 0 : n.map((o) => ({
|
|
246
|
+
label: o.label,
|
|
247
|
+
url: o.href
|
|
248
|
+
}))) ?? [];
|
|
249
|
+
}
|
|
250
|
+
function Ca(a) {
|
|
251
|
+
var e;
|
|
252
|
+
return ((e = a == null ? void 0 : a.items) == null ? void 0 : e.length) === 1 && Ie(a).length > 0;
|
|
253
|
+
}
|
|
254
|
+
function Sa(a) {
|
|
255
|
+
var w, H;
|
|
256
|
+
const e = a == null ? void 0 : a.labels, n = a == null ? void 0 : a.mobile, o = (H = (w = a == null ? void 0 : a.items) == null ? void 0 : w[0]) == null ? void 0 : H.label, _ = (e == null ? void 0 : e.teaserTitle) ?? (n == null ? void 0 : n.heading) ?? ve.teaserTitle, d = (e == null ? void 0 : e.teaserDescription) ?? (n == null ? void 0 : n.subtitle) ?? (o ? `Signed in as ${o}` : ""), g = (e == null ? void 0 : e.title) ?? (n == null ? void 0 : n.heading) ?? ve.title, T = (e == null ? void 0 : e.nav) ?? ve.nav;
|
|
257
|
+
return { teaserTitle: _, teaserDescription: d, nav: T, title: g };
|
|
258
|
+
}
|
|
259
|
+
function Aa(a) {
|
|
260
|
+
var e, n;
|
|
261
|
+
return a.logo === null ? { mode: "hidden", lockupVariant: "default" } : a.logo !== void 0 && a.logo !== null ? {
|
|
262
|
+
mode: "custom",
|
|
263
|
+
lockupVariant: ((e = a.lockup) == null ? void 0 : e.variant) ?? "default"
|
|
264
|
+
} : (n = a.lockup) != null && n.variant ? { mode: "builtin", lockupVariant: a.lockup.variant } : { mode: "hidden", lockupVariant: "default" };
|
|
265
|
+
}
|
|
266
|
+
function $a(a) {
|
|
267
|
+
return a.mobileMenuAriaLabel ? a.mobileMenuAriaLabel : a.showAppSwitcher && !a.hasStructuredNavigation && !a.hasAccountMobileTier ? "Equal Experts apps menu" : a.hasAccountMobileTier && !a.hasStructuredNavigation && !a.showAppSwitcher ? "Account menu" : "Navigation menu";
|
|
268
|
+
}
|
|
269
|
+
const Ea = /* @__PURE__ */ q({
|
|
113
270
|
__name: "EELogo",
|
|
114
271
|
props: {
|
|
115
272
|
class: {},
|
|
116
273
|
textColor: { default: "grey" }
|
|
117
274
|
},
|
|
118
|
-
setup(
|
|
119
|
-
const e =
|
|
120
|
-
return (n,
|
|
121
|
-
class:
|
|
275
|
+
setup(a) {
|
|
276
|
+
const e = a;
|
|
277
|
+
return (n, o) => (s(), l("svg", {
|
|
278
|
+
class: I(["ee-logo", `ee-logo--${e.textColor}`, e.class]),
|
|
122
279
|
viewBox: "0 0 500 133",
|
|
123
280
|
fill: "none",
|
|
124
281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
125
282
|
"aria-label": "Equal Experts logo"
|
|
126
|
-
}, [...
|
|
127
|
-
|
|
283
|
+
}, [...o[0] || (o[0] = [
|
|
284
|
+
Ge('<g clip-path="url(#ee-logo-clip-vue)" data-v-361cfd9c><g class="ee-logo__text" data-v-361cfd9c><path d="M220.235 1.45712L219.413 13.0751H197.72V23.2946H216.859V34.844H197.72V45.3862H219.667V57.0237H184.687V1.45712H220.235Z" data-v-361cfd9c></path><path d="M227.495 29.0742C227.495 11.6766 233.601 0.136902 250.675 0.136902C267.75 0.136902 273.855 11.6766 273.855 29.0742V29.3382C273.855 41.4549 270.92 50.6084 263.454 55.2243L271.869 65.0037L260.568 70.7736L252.446 58.256C251.872 58.3312 251.293 58.3606 250.714 58.344C233.64 58.344 227.534 46.7945 227.534 29.3187L227.495 29.0742ZM241.194 29.2307C241.194 40.6921 243.669 46.55 250.685 46.55C257.701 46.55 260.254 40.6823 260.254 29.2307C260.254 17.779 257.691 11.9211 250.685 11.9211C243.679 11.9211 241.194 17.8572 241.194 29.2307Z" data-v-361cfd9c></path><path d="M295.871 1.36911V35.2059C295.871 42.7947 297.436 46.5891 304.119 46.5891C310.802 46.5891 312.368 42.7947 312.368 35.2059V1.36911H325.401V35.8318C325.401 50.5009 320.284 58.3244 304.119 58.3244C287.955 58.3244 282.847 50.5009 282.847 35.8318V1.36911H295.871Z" data-v-361cfd9c></path><path d="M361.282 1.45712C365.734 13.0751 373.493 37.0737 378.894 57.014H365.656L363.258 46.462H346.38L343.982 57.014H330.724C335.651 38.2094 341.53 19.6666 348.337 1.45712H361.282ZM354.599 16.7032C352.544 22.8838 350.89 28.9079 349.315 34.844H360.294C358.562 28.9079 356.996 22.8838 355.01 16.7032H354.599Z" data-v-361cfd9c></path><path d="M399.139 1.45712V45.3862H421.076V57.0237H386.106V1.45712H399.139Z" data-v-361cfd9c></path></g><path d="M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z" fill="#1795D4" data-v-361cfd9c></path><path d="M102.74 75.3895H40.5969V93.029H102.74V75.3895Z" fill="#1795D4" data-v-361cfd9c></path><path d="M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z" fill="#1795D4" data-v-361cfd9c></path><path d="M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z" fill="#1795D4" data-v-361cfd9c></path><g class="ee-logo__text" data-v-361cfd9c><path d="M220.235 75.2819L219.413 86.9096H197.72V97.1291H216.859V108.679H197.72V119.231H219.667V130.849H184.687V75.2819H220.235Z" data-v-361cfd9c></path><path d="M240.773 75.3015C243.17 80.1912 246.712 87.0368 249.677 92.2101H249.931C252.984 87.2519 256.614 80.1716 258.924 75.3015H273.601C269.687 83.2228 263.63 93.6868 258.014 102.928L274.765 130.868H259.168L250.088 113.969H249.853L240.616 130.868H225.264L241.683 102.821C236.487 94.0193 229.941 82.1275 226.174 75.2819L240.773 75.3015Z" data-v-361cfd9c></path><path d="M296.204 75.3015C301.096 75.3015 305.939 75.634 309.648 76.8759C315.842 79.0959 319.873 85.1982 319.873 93.7748C319.873 106.39 311.879 112.649 298.425 112.649H294.804V130.849H281.8V75.3015H296.204ZM294.804 101.021H297.358C302.965 101.021 306.164 100.366 306.164 93.7748C306.164 91.3006 305.254 89.1589 303.767 88.1614C302.28 87.1639 300.313 86.9292 297.505 86.9292H294.785L294.804 101.021Z" data-v-361cfd9c></path><path d="M363.924 75.2819L363.092 86.9096H341.399V97.1291H360.538V108.679H341.399V119.231H363.346V130.849H328.366V75.2819H363.924Z" data-v-361cfd9c></path><path d="M387.593 75.3015C392.485 75.3015 397.329 75.634 401.037 76.8759C407.221 79.0959 411.262 85.1884 411.262 93.7748C411.262 101.442 408.327 106.801 402.935 109.764L412.994 130.868H399.472L391.468 112.571C390.558 112.649 389.325 112.649 388.17 112.649H386.213V130.849H373.151V75.3015H387.593ZM386.194 101.276H388.748C394.354 101.276 397.554 100.366 397.554 93.7748C397.554 91.3006 396.644 88.9926 395.166 87.9951C393.689 86.9976 391.859 86.7629 388.885 86.7629H386.174L386.194 101.276Z" data-v-361cfd9c></path><path d="M456.957 75.2819L456.135 86.9096H442.857V130.849H429.824V86.9096H416.213V75.2819H456.957Z" data-v-361cfd9c></path><path d="M495.978 89.1393C492.031 87.0587 487.652 85.93 483.19 85.8437C481.553 85.7535 479.918 86.0343 478.405 86.6651C477.672 86.9348 477.045 87.4311 476.613 88.0819C476.182 88.7326 475.97 89.5039 476.008 90.2835C476.008 93.2174 478.943 94.9874 483.024 96.6401L487.642 98.4493C495.89 101.755 499.765 106.204 499.765 114.282C499.765 127.142 490.362 132.169 479.061 132.169C473.816 132.084 468.616 131.197 463.64 129.538L464.217 117.001C468.488 119.008 473.113 120.154 477.828 120.375C483.767 120.375 486.076 118.888 486.076 115.485C486.076 112.277 483.933 110.869 479.227 108.972L474.609 107.163C467.926 104.522 462.319 99.8282 462.319 90.5965C462.319 81.3647 469.002 73.9715 482.524 73.9715C487.385 74.0422 492.192 74.9931 496.712 76.7782L495.978 89.1393Z" data-v-361cfd9c></path></g></g><defs data-v-361cfd9c><clipPath id="ee-logo-clip-vue" data-v-361cfd9c><rect width="500" height="133" fill="white" data-v-361cfd9c></rect></clipPath></defs>', 2)
|
|
128
285
|
])], 2));
|
|
129
286
|
}
|
|
130
|
-
}),
|
|
287
|
+
}), X = /* @__PURE__ */ se(Ea, [["__scopeId", "data-v-361cfd9c"]]), Ta = { class: "kuat-header__desktop" }, La = { class: "kuat-header__desktop-left" }, Ha = {
|
|
131
288
|
key: 0,
|
|
132
|
-
class: "
|
|
133
|
-
},
|
|
134
|
-
key:
|
|
135
|
-
class: "kuat-
|
|
136
|
-
},
|
|
289
|
+
class: "shrink-0"
|
|
290
|
+
}, xa = { class: "shrink-0" }, Va = {
|
|
291
|
+
key: 2,
|
|
292
|
+
class: "kuat-header__desktop-demo-lockup"
|
|
293
|
+
}, Da = {
|
|
294
|
+
key: 0,
|
|
295
|
+
class: "kuat-header__desktop-demo-title"
|
|
296
|
+
}, Ia = { class: "kuat-header__demo-byline" }, Ma = { class: "kuat-header__desktop-demo-logo" }, Oa = {
|
|
137
297
|
key: 3,
|
|
138
298
|
class: "kuat-header__desktop-title"
|
|
139
|
-
},
|
|
299
|
+
}, Ra = { class: "kuat-header__desktop-right" }, Na = {
|
|
140
300
|
key: 0,
|
|
141
|
-
|
|
142
|
-
},
|
|
301
|
+
"aria-label": "Primary navigation"
|
|
302
|
+
}, Ba = { class: "kuat-header__nav-items" }, Pa = ["href"], Fa = {
|
|
143
303
|
key: 1,
|
|
304
|
+
class: "kuat-header__nav-dropdown-wrap"
|
|
305
|
+
}, Ua = ["aria-expanded", "onClick"], Za = {
|
|
306
|
+
class: "kuat-header__dropdown-content kuat-header__nav-dropdown-panel",
|
|
307
|
+
role: "menu"
|
|
308
|
+
}, Ga = ["href"], Ka = {
|
|
309
|
+
key: 1,
|
|
310
|
+
class: "kuat-header__nav"
|
|
311
|
+
}, qa = {
|
|
312
|
+
class: "kuat-header__dropdown-content kuat-header__nav-dropdown-panel kuat-header__app-switcher-panel kuat-header__nav-dropdown-panel--end",
|
|
313
|
+
role: "menu"
|
|
314
|
+
}, Wa = { class: "kuat-header__app-switcher-scroll" }, za = ["href", "target", "rel", "onClick"], Xa = { class: "kuat-header__app-switcher-text" }, Ya = { class: "kuat-header__app-switcher-label" }, ja = {
|
|
315
|
+
key: 0,
|
|
316
|
+
class: "kuat-header__app-switcher-desc"
|
|
317
|
+
}, Qa = {
|
|
318
|
+
key: 2,
|
|
319
|
+
class: "kuat-header__app-switcher-empty px-3 py-3 text-muted-foreground text-sm"
|
|
320
|
+
}, Ja = {
|
|
321
|
+
key: 3,
|
|
322
|
+
class: "kuat-header__actions-items"
|
|
323
|
+
}, et = {
|
|
324
|
+
key: 0,
|
|
325
|
+
class: "kuat-header__nav-dropdown-wrap"
|
|
326
|
+
}, at = ["aria-expanded"], tt = { class: "hidden sm:inline" }, st = {
|
|
327
|
+
class: "kuat-header__dropdown-content kuat-header__nav-dropdown-panel",
|
|
328
|
+
role: "menu"
|
|
329
|
+
}, lt = ["href"], ot = ["href"], rt = {
|
|
330
|
+
key: 4,
|
|
144
331
|
class: "kuat-header__actions"
|
|
145
|
-
},
|
|
332
|
+
}, nt = { class: "kuat-header__mobile" }, it = { class: "kuat-header__mobile-left" }, ut = {
|
|
146
333
|
key: 0,
|
|
147
|
-
class: "
|
|
148
|
-
},
|
|
334
|
+
class: "shrink-0"
|
|
335
|
+
}, dt = {
|
|
149
336
|
key: 1,
|
|
150
|
-
class: "
|
|
151
|
-
},
|
|
337
|
+
class: "shrink-0"
|
|
338
|
+
}, ct = {
|
|
152
339
|
key: 2,
|
|
340
|
+
class: "kuat-header__mobile-demo-lockup"
|
|
341
|
+
}, _t = {
|
|
342
|
+
key: 0,
|
|
343
|
+
class: "kuat-header__mobile-demo-title"
|
|
344
|
+
}, ht = { class: "kuat-header__demo-byline" }, pt = { class: "kuat-header__mobile-demo-logo" }, vt = {
|
|
345
|
+
key: 3,
|
|
153
346
|
class: "kuat-header__mobile-title"
|
|
154
|
-
},
|
|
347
|
+
}, mt = {
|
|
155
348
|
key: 0,
|
|
156
349
|
class: "kuat-header__mobile-trigger-wrap"
|
|
157
|
-
},
|
|
350
|
+
}, kt = ["aria-label"], ft = {
|
|
351
|
+
key: 1,
|
|
352
|
+
"aria-hidden": "",
|
|
353
|
+
class: "kuat-header__mobile-sheet-header-spacer"
|
|
354
|
+
}, bt = ["aria-hidden", "inert"], gt = { class: "kuat-header__mobile-panel-inner" }, yt = { class: "kuat-header__mobile-sheet-nav" }, wt = {
|
|
355
|
+
key: 0,
|
|
356
|
+
"aria-label": "Primary navigation"
|
|
357
|
+
}, Ct = { class: "kuat-header__mobile-list" }, St = ["href"], At = {
|
|
358
|
+
key: 0,
|
|
359
|
+
class: "kuat-header__mobile-sub-list"
|
|
360
|
+
}, $t = ["href"], Et = {
|
|
361
|
+
key: 0,
|
|
362
|
+
class: "kuat-header__mobile-sheet-sticky"
|
|
363
|
+
}, Tt = {
|
|
364
|
+
key: 0,
|
|
365
|
+
class: "kuat-header__mobile-app-teaser-wrap"
|
|
366
|
+
}, Lt = ["aria-label"], Ht = {
|
|
367
|
+
class: "kuat-header__mobile-app-teaser-icon shrink-0",
|
|
368
|
+
"aria-hidden": ""
|
|
369
|
+
}, xt = { class: "kuat-header__mobile-app-teaser-text" }, Vt = { class: "kuat-header__mobile-app-teaser-title" }, Dt = {
|
|
370
|
+
key: 0,
|
|
371
|
+
class: "kuat-header__mobile-app-teaser-desc"
|
|
372
|
+
}, It = {
|
|
373
|
+
key: 1,
|
|
374
|
+
class: "kuat-header__mobile-app-teaser-wrap"
|
|
375
|
+
}, Mt = ["aria-label"], Ot = { class: "kuat-header__mobile-app-teaser-text" }, Rt = { class: "kuat-header__mobile-app-teaser-title" }, Nt = { class: "kuat-header__mobile-app-teaser-desc" }, Bt = {
|
|
376
|
+
key: 0,
|
|
377
|
+
class: "kuat-header__mobile-sheet-actions"
|
|
378
|
+
}, Pt = { class: "kuat-header__mobile-list" }, Ft = ["href"], Ut = { class: "kuat-header__mobile-action-icon" }, Zt = ["aria-hidden"], Gt = { class: "kuat-header__mobile-apps-heading" }, Kt = ["aria-label"], qt = {
|
|
379
|
+
key: 0,
|
|
380
|
+
class: "kuat-header__mobile-list"
|
|
381
|
+
}, Wt = {
|
|
382
|
+
key: 1,
|
|
383
|
+
class: "kuat-header__mobile-list"
|
|
384
|
+
}, zt = ["href", "target", "rel", "onClick"], Xt = { class: "kuat-header__mobile-app-link-text" }, Yt = { class: "kuat-header__mobile-app-link-label" }, jt = {
|
|
385
|
+
key: 0,
|
|
386
|
+
class: "kuat-header__mobile-app-link-desc"
|
|
387
|
+
}, Qt = {
|
|
388
|
+
key: 2,
|
|
389
|
+
class: "kuat-header__mobile-apps-empty px-3 text-sm text-muted-foreground"
|
|
390
|
+
}, Jt = ["aria-hidden"], es = { class: "kuat-header__mobile-apps-heading" }, as = ["aria-label"], ts = { class: "kuat-header__mobile-list" }, ss = ["href"], ls = { class: "kuat-header__mobile-app-link-text" }, os = { class: "kuat-header__mobile-app-link-label" }, Xs = /* @__PURE__ */ q({
|
|
158
391
|
__name: "KuatHeader",
|
|
159
392
|
props: {
|
|
160
393
|
class: {},
|
|
161
394
|
variant: { default: "default" },
|
|
162
395
|
title: {},
|
|
163
|
-
|
|
396
|
+
lockup: {},
|
|
397
|
+
navigationItems: {},
|
|
398
|
+
account: {},
|
|
399
|
+
appSwitcher: {},
|
|
400
|
+
mobileMenuAriaLabel: {}
|
|
164
401
|
},
|
|
165
|
-
setup(
|
|
166
|
-
const e =
|
|
402
|
+
setup(a) {
|
|
403
|
+
const e = a, n = Ke(), o = h(() => !!n.logo), _ = h(
|
|
404
|
+
() => !!(n["account-markup"] ?? n.actions)
|
|
405
|
+
), d = h(
|
|
406
|
+
() => Aa({
|
|
407
|
+
logo: o.value ? !0 : void 0,
|
|
408
|
+
lockup: e.lockup
|
|
409
|
+
})
|
|
410
|
+
), g = h(
|
|
411
|
+
() => {
|
|
412
|
+
var i;
|
|
413
|
+
return !!((i = e.navigationItems) != null && i.length);
|
|
414
|
+
}
|
|
415
|
+
), T = h(() => wa(e.account)), w = h(
|
|
416
|
+
() => ya(e.account)
|
|
417
|
+
), H = h(
|
|
418
|
+
() => g.value || T.value || _.value
|
|
419
|
+
), A = h(
|
|
420
|
+
() => ba(e.appSwitcher)
|
|
421
|
+
), $ = h(() => Sa(e.account)), N = h(() => {
|
|
422
|
+
var i, r;
|
|
423
|
+
return (r = (i = e.account) == null ? void 0 : i.mobile) == null ? void 0 : r.items;
|
|
424
|
+
}), U = h(
|
|
425
|
+
() => Ca(e.account)
|
|
426
|
+
), Y = h(
|
|
427
|
+
() => Ie(e.account)
|
|
428
|
+
), y = h(() => fa(e.appSwitcher)), c = h(
|
|
429
|
+
() => !n["mobile-menu"] && (H.value || y.value || w.value)
|
|
430
|
+
), v = h(
|
|
431
|
+
() => $a({
|
|
432
|
+
mobileMenuAriaLabel: e.mobileMenuAriaLabel,
|
|
433
|
+
showAppSwitcher: y.value,
|
|
434
|
+
hasStructuredNavigation: g.value,
|
|
435
|
+
hasAccountMobileTier: w.value
|
|
436
|
+
})
|
|
437
|
+
), m = x(!1), b = x("main"), B = x(null), le = x(null), ke = x(null), fe = x(null), be = x(null), ge = x(null), ye = x(null), Z = x(!1), P = x(null), oe = h(() => e.variant === "bold" ? "white" : "grey"), W = h(() => d.value.lockupVariant), Me = h(
|
|
438
|
+
() => d.value.mode === "builtin" && W.value === "default"
|
|
439
|
+
), Oe = h(
|
|
440
|
+
() => d.value.mode === "builtin" && W.value === "demo"
|
|
441
|
+
), Re = h(
|
|
442
|
+
() => d.value.mode === "builtin" && W.value === "default"
|
|
443
|
+
), Ne = h(
|
|
444
|
+
() => d.value.mode === "builtin" && W.value === "demo"
|
|
445
|
+
);
|
|
446
|
+
ta(ye, () => {
|
|
447
|
+
Z.value = !1;
|
|
448
|
+
}), J(Z, (i) => {
|
|
449
|
+
var r, C;
|
|
450
|
+
i && ((C = (r = e.appSwitcher) == null ? void 0 : r.onOpen) == null || C.call(r));
|
|
451
|
+
}), J(m, (i) => {
|
|
452
|
+
typeof document > "u" || (i ? (document.body.style.overflow = "hidden", b.value = "main") : (document.body.style.overflow = "", b.value = "main"));
|
|
453
|
+
}), J(m, (i, r) => {
|
|
454
|
+
var C, R;
|
|
455
|
+
r && !i && B.value && ((R = (C = B.value.$el) == null ? void 0 : C.focus) == null || R.call(C));
|
|
456
|
+
}), ue(
|
|
457
|
+
() => document,
|
|
458
|
+
"keydown",
|
|
459
|
+
(i) => {
|
|
460
|
+
if (!m.value) return;
|
|
461
|
+
if (i.key === "Escape") {
|
|
462
|
+
i.preventDefault(), m.value = !1;
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
if (i.key !== "Tab" || !le.value) return;
|
|
466
|
+
const r = le.value.querySelectorAll(
|
|
467
|
+
"button, a, [tabindex]:not([tabindex='-1'])"
|
|
468
|
+
);
|
|
469
|
+
if (!r.length) return;
|
|
470
|
+
const C = r[0], R = r[r.length - 1];
|
|
471
|
+
i.shiftKey && document.activeElement === C ? (i.preventDefault(), R.focus()) : !i.shiftKey && document.activeElement === R && (i.preventDefault(), C.focus());
|
|
472
|
+
},
|
|
473
|
+
{ passive: !1 }
|
|
474
|
+
), J([m, b], () => {
|
|
475
|
+
m.value && requestAnimationFrame(() => {
|
|
476
|
+
var r;
|
|
477
|
+
const i = le.value;
|
|
478
|
+
(r = i == null ? void 0 : i.querySelector("button, a, [tabindex]:not([tabindex='-1'])")) == null || r.focus();
|
|
479
|
+
});
|
|
480
|
+
});
|
|
481
|
+
const Be = h(
|
|
167
482
|
() => V("kuat-header", `kuat-header--${e.variant}`, e.class)
|
|
483
|
+
), we = h(
|
|
484
|
+
() => ga(e.appSwitcher)
|
|
168
485
|
);
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
486
|
+
function Ce(i) {
|
|
487
|
+
var r, C;
|
|
488
|
+
(C = (r = e.appSwitcher) == null ? void 0 : r.onSelect) == null || C.call(r, i), Z.value = !1;
|
|
489
|
+
}
|
|
490
|
+
function Pe() {
|
|
491
|
+
var i, r;
|
|
492
|
+
(r = (i = e.appSwitcher) == null ? void 0 : i.onOpen) == null || r.call(i), b.value = "apps", requestAnimationFrame(() => {
|
|
493
|
+
var R;
|
|
494
|
+
const C = (R = ge.value) == null ? void 0 : R.querySelector("a, button");
|
|
495
|
+
C == null || C.focus();
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
function Fe() {
|
|
499
|
+
b.value = "account", requestAnimationFrame(() => {
|
|
500
|
+
var r;
|
|
501
|
+
const i = (r = be.value) == null ? void 0 : r.querySelector("a");
|
|
502
|
+
i == null || i.focus();
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
function Ue() {
|
|
506
|
+
const i = b.value;
|
|
507
|
+
b.value = "main", requestAnimationFrame(() => {
|
|
508
|
+
var r, C;
|
|
509
|
+
i === "apps" ? (r = ke.value) == null || r.focus() : i === "account" && ((C = fe.value) == null || C.focus());
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
return xe(() => {
|
|
513
|
+
typeof document < "u" && (document.body.style.overflow = "");
|
|
514
|
+
}), (i, r) => {
|
|
515
|
+
var C, R, _e, Se, Ae, $e, Ee, Te;
|
|
516
|
+
return s(), l("header", {
|
|
517
|
+
class: I(Be.value)
|
|
518
|
+
}, [
|
|
519
|
+
t("div", Ta, [
|
|
520
|
+
t("div", La, [
|
|
521
|
+
o.value ? (s(), l("div", Ha, [
|
|
522
|
+
D(i.$slots, "logo", {
|
|
523
|
+
variant: e.variant
|
|
524
|
+
})
|
|
525
|
+
])) : Me.value ? (s(), l(E, { key: 1 }, [
|
|
526
|
+
t("div", xa, [
|
|
527
|
+
S(X, {
|
|
528
|
+
class: "ee-logo--desktop shrink-0",
|
|
529
|
+
"text-color": oe.value
|
|
530
|
+
}, null, 8, ["text-color"])
|
|
531
|
+
]),
|
|
532
|
+
S(k(He), {
|
|
533
|
+
orientation: "vertical",
|
|
534
|
+
class: "kuat-header__separator"
|
|
535
|
+
})
|
|
536
|
+
], 64)) : Oe.value ? (s(), l("div", Va, [
|
|
537
|
+
e.title ? (s(), l("h1", Da, p(e.title), 1)) : f("", !0),
|
|
538
|
+
t("div", Ia, [
|
|
539
|
+
r[6] || (r[6] = t("span", { class: "kuat-header__demo-label" }, "A demo by", -1)),
|
|
540
|
+
t("div", Ma, [
|
|
541
|
+
S(X, {
|
|
542
|
+
class: "ee-logo--desktop shrink-0",
|
|
543
|
+
"text-color": oe.value
|
|
544
|
+
}, null, 8, ["text-color"])
|
|
545
|
+
])
|
|
546
|
+
])
|
|
547
|
+
])) : f("", !0),
|
|
548
|
+
e.title && W.value === "default" ? (s(), l("h1", Oa, p(e.title), 1)) : f("", !0),
|
|
549
|
+
D(i.$slots, "title")
|
|
550
|
+
]),
|
|
551
|
+
t("div", Ra, [
|
|
552
|
+
g.value ? (s(), l("nav", Na, [
|
|
553
|
+
t("div", Ba, [
|
|
554
|
+
(s(!0), l(E, null, O(e.navigationItems, (u, M) => {
|
|
555
|
+
var L;
|
|
556
|
+
return s(), l(E, {
|
|
557
|
+
key: `${u.label}-${u.url}`
|
|
558
|
+
}, [
|
|
559
|
+
(L = u.items) != null && L.length ? (s(), l("div", Fa, [
|
|
560
|
+
t("button", {
|
|
561
|
+
type: "button",
|
|
562
|
+
class: I(k(V)(
|
|
563
|
+
"kuat-header__nav-trigger",
|
|
564
|
+
e.variant === "bold" && "kuat-header__nav-trigger--bold"
|
|
565
|
+
)),
|
|
566
|
+
"aria-haspopup": "menu",
|
|
567
|
+
"aria-expanded": P.value === `nav-${M}`,
|
|
568
|
+
onClick: (G) => P.value = P.value === `nav-${M}` ? null : `nav-${M}`
|
|
569
|
+
}, [
|
|
570
|
+
de(p(u.label) + " ", 1),
|
|
571
|
+
S(k(me), {
|
|
572
|
+
class: "h-4 w-4",
|
|
573
|
+
"aria-hidden": ""
|
|
574
|
+
})
|
|
575
|
+
], 10, Ua),
|
|
576
|
+
ae(t("div", Za, [
|
|
577
|
+
(s(!0), l(E, null, O(u.items, (G) => (s(), l("a", {
|
|
578
|
+
key: `${G.label}-${G.url}`,
|
|
579
|
+
href: G.url,
|
|
580
|
+
class: "kuat-header__dropdown-link block px-2 py-2",
|
|
581
|
+
role: "menuitem",
|
|
582
|
+
onClick: r[0] || (r[0] = (Ns) => P.value = null)
|
|
583
|
+
}, p(G.label), 9, Ga))), 128))
|
|
584
|
+
], 512), [
|
|
585
|
+
[te, P.value === `nav-${M}`]
|
|
586
|
+
])
|
|
587
|
+
])) : (s(), l("a", {
|
|
588
|
+
key: 0,
|
|
589
|
+
href: u.url,
|
|
590
|
+
class: I(k(V)(
|
|
591
|
+
"kuat-header__nav-link",
|
|
592
|
+
e.variant === "bold" && "kuat-header__nav-link--bold"
|
|
593
|
+
))
|
|
594
|
+
}, p(u.label), 11, Pa))
|
|
595
|
+
], 64);
|
|
596
|
+
}), 128))
|
|
597
|
+
])
|
|
598
|
+
])) : i.$slots.navigation ? (s(), l("nav", Ka, [
|
|
599
|
+
D(i.$slots, "navigation")
|
|
600
|
+
])) : f("", !0),
|
|
601
|
+
y.value ? (s(), l("div", {
|
|
602
|
+
key: 2,
|
|
603
|
+
ref_key: "desktopSwitcherRef",
|
|
604
|
+
ref: ye,
|
|
605
|
+
class: "kuat-header__nav-dropdown-wrap"
|
|
606
|
+
}, [
|
|
607
|
+
S(Qe, {
|
|
608
|
+
type: "button",
|
|
609
|
+
variant: "ghost",
|
|
610
|
+
color: "ee-blue",
|
|
611
|
+
size: "regular",
|
|
612
|
+
class: "kuat-header__app-switcher-trigger",
|
|
613
|
+
"aria-label": A.value.trigger,
|
|
614
|
+
"aria-haspopup": "menu",
|
|
615
|
+
"aria-expanded": Z.value,
|
|
616
|
+
onClick: r[1] || (r[1] = (u) => Z.value = !Z.value)
|
|
617
|
+
}, {
|
|
618
|
+
default: z(() => [
|
|
619
|
+
S(k(Le), {
|
|
620
|
+
class: "h-5 w-5",
|
|
621
|
+
"aria-hidden": ""
|
|
622
|
+
})
|
|
623
|
+
]),
|
|
624
|
+
_: 1
|
|
625
|
+
}, 8, ["aria-label", "aria-expanded"]),
|
|
626
|
+
ae(t("div", qa, [
|
|
627
|
+
t("div", Wa, [
|
|
628
|
+
(C = e.appSwitcher) != null && C.loading ? (s(), l(E, { key: 0 }, [
|
|
629
|
+
r[7] || (r[7] = t("div", {
|
|
630
|
+
class: "kuat-header__app-switcher-skeleton",
|
|
631
|
+
"aria-hidden": ""
|
|
632
|
+
}, null, -1)),
|
|
633
|
+
r[8] || (r[8] = t("div", {
|
|
634
|
+
class: "kuat-header__app-switcher-skeleton",
|
|
635
|
+
"aria-hidden": ""
|
|
636
|
+
}, null, -1)),
|
|
637
|
+
r[9] || (r[9] = t("div", {
|
|
638
|
+
class: "kuat-header__app-switcher-skeleton",
|
|
639
|
+
"aria-hidden": ""
|
|
640
|
+
}, null, -1))
|
|
641
|
+
], 64)) : (R = e.appSwitcher) != null && R.apps.length ? (s(!0), l(E, { key: 1 }, O(e.appSwitcher.apps, (u) => (s(), l("a", {
|
|
642
|
+
key: u.id,
|
|
643
|
+
href: u.href,
|
|
644
|
+
target: e.appSwitcher.linkTarget ?? "_self",
|
|
645
|
+
rel: e.appSwitcher.linkTarget === "_blank" ? "noopener noreferrer" : void 0,
|
|
646
|
+
class: "kuat-header__app-switcher-link",
|
|
647
|
+
role: "menuitem",
|
|
648
|
+
onClick: (M) => Ce(u)
|
|
649
|
+
}, [
|
|
650
|
+
t("span", Xa, [
|
|
651
|
+
t("span", Ya, p(u.label), 1),
|
|
652
|
+
u.description ? (s(), l("span", ja, p(u.description), 1)) : f("", !0)
|
|
653
|
+
])
|
|
654
|
+
], 8, za))), 128)) : (((_e = e.appSwitcher) == null ? void 0 : _e.empty) ?? "hide") === "message" ? (s(), l("div", Qa, p(we.value), 1)) : f("", !0)
|
|
655
|
+
])
|
|
656
|
+
], 512), [
|
|
657
|
+
[te, Z.value]
|
|
658
|
+
])
|
|
659
|
+
], 512)) : f("", !0),
|
|
660
|
+
T.value && e.account ? (s(), l("div", Ja, [
|
|
661
|
+
(s(!0), l(E, null, O(e.account.items, (u, M) => (s(), l(E, {
|
|
662
|
+
key: `${u.label}-${u.href}`
|
|
663
|
+
}, [
|
|
664
|
+
U.value && M === 0 ? (s(), l("div", et, [
|
|
665
|
+
t("button", {
|
|
666
|
+
type: "button",
|
|
667
|
+
class: I(k(V)(
|
|
668
|
+
"kuat-header__action-trigger",
|
|
669
|
+
e.variant === "bold" && "kuat-header__action-trigger--bold"
|
|
670
|
+
)),
|
|
671
|
+
"aria-haspopup": "menu",
|
|
672
|
+
"aria-expanded": P.value === "account-menu",
|
|
673
|
+
onClick: r[2] || (r[2] = (L) => P.value = P.value === "account-menu" ? null : "account-menu")
|
|
674
|
+
}, [
|
|
675
|
+
(s(), F(Q(u.icon ?? k(re)), {
|
|
676
|
+
class: "h-4 w-4",
|
|
677
|
+
"aria-hidden": ""
|
|
678
|
+
})),
|
|
679
|
+
t("span", tt, p(u.label), 1),
|
|
680
|
+
S(k(me), {
|
|
681
|
+
class: "h-4 w-4",
|
|
682
|
+
"aria-hidden": ""
|
|
683
|
+
})
|
|
684
|
+
], 10, at),
|
|
685
|
+
ae(t("div", st, [
|
|
686
|
+
(s(!0), l(E, null, O(Y.value, (L) => (s(), l("a", {
|
|
687
|
+
key: `${L.label}-${L.url}`,
|
|
688
|
+
href: L.url,
|
|
689
|
+
class: "kuat-header__dropdown-link block px-2 py-2",
|
|
690
|
+
role: "menuitem",
|
|
691
|
+
onClick: r[3] || (r[3] = (G) => P.value = null)
|
|
692
|
+
}, p(L.label), 9, lt))), 128))
|
|
693
|
+
], 512), [
|
|
694
|
+
[te, P.value === "account-menu"]
|
|
695
|
+
])
|
|
696
|
+
])) : (s(), l("a", {
|
|
697
|
+
key: 1,
|
|
698
|
+
href: u.href,
|
|
699
|
+
class: I(k(V)(
|
|
700
|
+
"kuat-header__action-link",
|
|
701
|
+
e.variant === "bold" && "kuat-header__action-link--bold"
|
|
702
|
+
))
|
|
703
|
+
}, [
|
|
704
|
+
(s(), F(Q(u.icon ?? k(re)), {
|
|
705
|
+
class: "h-4 w-4",
|
|
706
|
+
"aria-hidden": ""
|
|
707
|
+
})),
|
|
708
|
+
t("span", null, p(u.label), 1)
|
|
709
|
+
], 10, ot))
|
|
710
|
+
], 64))), 128))
|
|
711
|
+
])) : _.value ? (s(), l("div", rt, [
|
|
712
|
+
D(i.$slots, "account-markup"),
|
|
713
|
+
D(i.$slots, "actions")
|
|
714
|
+
])) : f("", !0)
|
|
715
|
+
])
|
|
191
716
|
]),
|
|
192
|
-
t("div",
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
717
|
+
t("div", nt, [
|
|
718
|
+
t("div", it, [
|
|
719
|
+
o.value ? (s(), l("div", ut, [
|
|
720
|
+
D(i.$slots, "logo", {
|
|
721
|
+
variant: e.variant
|
|
722
|
+
})
|
|
723
|
+
])) : Re.value ? (s(), l("div", dt, [
|
|
724
|
+
S(X, {
|
|
725
|
+
class: "ee-logo--mobile shrink-0",
|
|
726
|
+
"text-color": oe.value
|
|
727
|
+
}, null, 8, ["text-color"])
|
|
728
|
+
])) : Ne.value ? (s(), l("div", ct, [
|
|
729
|
+
e.title ? (s(), l("p", _t, p(e.title), 1)) : f("", !0),
|
|
730
|
+
t("div", ht, [
|
|
731
|
+
r[10] || (r[10] = t("span", { class: "kuat-header__demo-label" }, "A demo by", -1)),
|
|
732
|
+
t("div", pt, [
|
|
733
|
+
S(X, {
|
|
734
|
+
class: "ee-logo--mobile shrink-0",
|
|
735
|
+
"text-color": oe.value
|
|
736
|
+
}, null, 8, ["text-color"])
|
|
737
|
+
])
|
|
738
|
+
])
|
|
739
|
+
])) : f("", !0),
|
|
740
|
+
e.title && W.value === "default" ? (s(), l("p", vt, p(e.title), 1)) : f("", !0),
|
|
741
|
+
D(i.$slots, "title")
|
|
742
|
+
]),
|
|
743
|
+
i.$slots["mobile-menu-trigger"] ? (s(), l("div", mt, [
|
|
744
|
+
D(i.$slots, "mobile-menu-trigger")
|
|
745
|
+
])) : c.value ? (s(), F(he, {
|
|
746
|
+
key: 1,
|
|
747
|
+
ref_key: "mobileTriggerRef",
|
|
748
|
+
ref: B,
|
|
749
|
+
variant: "ghost",
|
|
750
|
+
size: "icon",
|
|
751
|
+
class: I(k(V)(
|
|
752
|
+
"kuat-header__mobile-trigger",
|
|
753
|
+
e.variant === "bold" && "kuat-header__mobile-trigger--bold"
|
|
754
|
+
)),
|
|
755
|
+
"aria-label": "Open menu",
|
|
756
|
+
"aria-expanded": m.value,
|
|
757
|
+
"aria-controls": "kuat-header-mobile-menu",
|
|
758
|
+
onClick: r[4] || (r[4] = (u) => m.value = !0)
|
|
759
|
+
}, {
|
|
760
|
+
default: z(() => [
|
|
761
|
+
S(k(ze), {
|
|
762
|
+
class: "h-6 w-6",
|
|
763
|
+
"aria-hidden": ""
|
|
764
|
+
})
|
|
765
|
+
]),
|
|
766
|
+
_: 1
|
|
767
|
+
}, 8, ["class", "aria-expanded"])) : f("", !0)
|
|
215
768
|
]),
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
769
|
+
c.value && m.value ? (s(), l("div", {
|
|
770
|
+
key: 0,
|
|
771
|
+
id: "kuat-header-mobile-menu",
|
|
772
|
+
ref_key: "mobileSheetRef",
|
|
773
|
+
ref: le,
|
|
774
|
+
class: "kuat-header__mobile-sheet",
|
|
775
|
+
role: "dialog",
|
|
776
|
+
"aria-modal": "true",
|
|
777
|
+
"aria-label": v.value
|
|
778
|
+
}, [
|
|
779
|
+
t("div", {
|
|
780
|
+
class: I(k(V)(
|
|
781
|
+
"kuat-header__mobile-sheet-header",
|
|
782
|
+
(b.value === "apps" || b.value === "account") && "kuat-header__mobile-sheet-header--split"
|
|
783
|
+
))
|
|
784
|
+
}, [
|
|
785
|
+
b.value === "apps" || b.value === "account" ? (s(), F(he, {
|
|
786
|
+
key: 0,
|
|
787
|
+
type: "button",
|
|
788
|
+
variant: "ghost",
|
|
789
|
+
class: "kuat-header__mobile-back",
|
|
790
|
+
"aria-label": "Back to main menu",
|
|
791
|
+
onClick: Ue
|
|
792
|
+
}, {
|
|
793
|
+
default: z(() => [
|
|
794
|
+
S(k(Xe), {
|
|
795
|
+
class: "h-6 w-6",
|
|
796
|
+
"aria-hidden": ""
|
|
797
|
+
}),
|
|
798
|
+
r[11] || (r[11] = t("span", { class: "kuat-header__mobile-back-text" }, "Back", -1))
|
|
799
|
+
]),
|
|
800
|
+
_: 1
|
|
801
|
+
})) : (s(), l("span", ft)),
|
|
802
|
+
S(he, {
|
|
803
|
+
variant: "ghost",
|
|
804
|
+
size: "icon",
|
|
805
|
+
class: "kuat-header__mobile-close",
|
|
806
|
+
"aria-label": "Close menu",
|
|
807
|
+
onClick: r[5] || (r[5] = (u) => m.value = !1)
|
|
808
|
+
}, {
|
|
809
|
+
default: z(() => [
|
|
810
|
+
S(k(Ye), {
|
|
811
|
+
class: "h-6 w-6",
|
|
812
|
+
"aria-hidden": ""
|
|
813
|
+
})
|
|
814
|
+
]),
|
|
815
|
+
_: 1
|
|
816
|
+
})
|
|
817
|
+
], 2),
|
|
818
|
+
t("div", {
|
|
819
|
+
class: I(k(V)(
|
|
820
|
+
"kuat-header__mobile-panel",
|
|
821
|
+
b.value !== "main" && "kuat-header__mobile-panel--hidden"
|
|
822
|
+
)),
|
|
823
|
+
"aria-hidden": b.value !== "main",
|
|
824
|
+
inert: b.value !== "main"
|
|
825
|
+
}, [
|
|
826
|
+
t("div", gt, [
|
|
827
|
+
t("div", yt, [
|
|
828
|
+
g.value ? (s(), l("nav", wt, [
|
|
829
|
+
t("ul", Ct, [
|
|
830
|
+
(s(!0), l(E, null, O(e.navigationItems, (u) => {
|
|
831
|
+
var M;
|
|
832
|
+
return s(), l("li", {
|
|
833
|
+
key: `${u.label}-${u.url}`
|
|
834
|
+
}, [
|
|
835
|
+
t("a", {
|
|
836
|
+
href: u.url,
|
|
837
|
+
class: "kuat-header__mobile-link"
|
|
838
|
+
}, p(u.label), 9, St),
|
|
839
|
+
(M = u.items) != null && M.length ? (s(), l("ul", At, [
|
|
840
|
+
(s(!0), l(E, null, O(u.items, (L) => (s(), l("li", {
|
|
841
|
+
key: `${L.label}-${L.url}`
|
|
842
|
+
}, [
|
|
843
|
+
t("a", {
|
|
844
|
+
href: L.url,
|
|
845
|
+
class: "kuat-header__mobile-sub-link"
|
|
846
|
+
}, p(L.label), 9, $t)
|
|
847
|
+
]))), 128))
|
|
848
|
+
])) : f("", !0)
|
|
849
|
+
]);
|
|
850
|
+
}), 128))
|
|
851
|
+
])
|
|
852
|
+
])) : f("", !0)
|
|
853
|
+
]),
|
|
854
|
+
w.value || y.value ? (s(), l("div", Et, [
|
|
855
|
+
w.value ? (s(), l("div", Tt, [
|
|
856
|
+
t("button", {
|
|
857
|
+
ref_key: "mobileAccountTeaserRef",
|
|
858
|
+
ref: fe,
|
|
859
|
+
type: "button",
|
|
860
|
+
class: "kuat-header__mobile-app-teaser",
|
|
861
|
+
"aria-label": $.value.teaserDescription ? `${$.value.teaserTitle}, ${$.value.teaserDescription}` : $.value.teaserTitle,
|
|
862
|
+
onClick: Fe
|
|
863
|
+
}, [
|
|
864
|
+
t("span", Ht, [
|
|
865
|
+
(s(), F(Q(((Ae = (Se = e.account) == null ? void 0 : Se.items[0]) == null ? void 0 : Ae.icon) ?? k(re)), {
|
|
866
|
+
class: "h-6 w-6",
|
|
867
|
+
"aria-hidden": ""
|
|
868
|
+
}))
|
|
869
|
+
]),
|
|
870
|
+
t("span", xt, [
|
|
871
|
+
t("span", Vt, p($.value.teaserTitle), 1),
|
|
872
|
+
$.value.teaserDescription ? (s(), l("span", Dt, p($.value.teaserDescription), 1)) : f("", !0)
|
|
873
|
+
]),
|
|
874
|
+
S(k(ce), {
|
|
875
|
+
class: "kuat-header__mobile-app-teaser-chevron h-5 w-5 shrink-0",
|
|
876
|
+
"aria-hidden": ""
|
|
877
|
+
})
|
|
878
|
+
], 8, Lt)
|
|
879
|
+
])) : f("", !0),
|
|
880
|
+
y.value ? (s(), l("div", It, [
|
|
881
|
+
t("button", {
|
|
882
|
+
ref_key: "mobileTeaserRef",
|
|
883
|
+
ref: ke,
|
|
884
|
+
type: "button",
|
|
885
|
+
class: "kuat-header__mobile-app-teaser",
|
|
886
|
+
"aria-label": `${A.value.teaserTitle}, ${A.value.teaserDescription}`,
|
|
887
|
+
onClick: Pe
|
|
888
|
+
}, [
|
|
889
|
+
S(k(Le), {
|
|
890
|
+
class: "kuat-header__mobile-app-teaser-icon h-6 w-6 shrink-0",
|
|
891
|
+
"aria-hidden": ""
|
|
892
|
+
}),
|
|
893
|
+
t("span", Ot, [
|
|
894
|
+
t("span", Rt, p(A.value.teaserTitle), 1),
|
|
895
|
+
t("span", Nt, p(A.value.teaserDescription), 1)
|
|
896
|
+
]),
|
|
897
|
+
S(k(ce), {
|
|
898
|
+
class: "kuat-header__mobile-app-teaser-chevron h-5 w-5 shrink-0",
|
|
899
|
+
"aria-hidden": ""
|
|
900
|
+
})
|
|
901
|
+
], 8, Mt)
|
|
902
|
+
])) : f("", !0)
|
|
903
|
+
])) : f("", !0)
|
|
904
|
+
]),
|
|
905
|
+
T.value && e.account && !w.value ? (s(), l("div", Bt, [
|
|
906
|
+
t("ul", Pt, [
|
|
907
|
+
(s(!0), l(E, null, O(e.account.items, (u) => (s(), l("li", {
|
|
908
|
+
key: `${u.label}-${u.href}`
|
|
909
|
+
}, [
|
|
910
|
+
t("a", {
|
|
911
|
+
href: u.href,
|
|
912
|
+
class: "kuat-header__mobile-link"
|
|
913
|
+
}, [
|
|
914
|
+
t("span", Ut, [
|
|
915
|
+
(s(), F(Q(u.icon ?? k(re)), {
|
|
916
|
+
class: "h-4 w-4",
|
|
917
|
+
"aria-hidden": ""
|
|
918
|
+
}))
|
|
919
|
+
]),
|
|
920
|
+
de(" " + p(u.label), 1)
|
|
921
|
+
], 8, Ft)
|
|
922
|
+
]))), 128))
|
|
923
|
+
])
|
|
924
|
+
])) : f("", !0)
|
|
925
|
+
], 10, bt),
|
|
926
|
+
y.value ? (s(), l("div", {
|
|
927
|
+
key: 0,
|
|
928
|
+
ref_key: "mobileAppsPanelRef",
|
|
929
|
+
ref: ge,
|
|
930
|
+
class: I(k(V)(
|
|
931
|
+
"kuat-header__mobile-panel kuat-header__mobile-panel--apps",
|
|
932
|
+
b.value !== "apps" && "kuat-header__mobile-panel--hidden"
|
|
933
|
+
)),
|
|
934
|
+
"aria-hidden": b.value !== "apps"
|
|
935
|
+
}, [
|
|
936
|
+
t("div", Gt, p(A.value.title), 1),
|
|
937
|
+
t("nav", {
|
|
938
|
+
class: "kuat-header__mobile-apps-nav",
|
|
939
|
+
"aria-label": A.value.nav
|
|
940
|
+
}, [
|
|
941
|
+
($e = e.appSwitcher) != null && $e.loading ? (s(), l("ul", qt, [...r[12] || (r[12] = [
|
|
942
|
+
t("li", {
|
|
943
|
+
class: "kuat-header__app-switcher-skeleton kuat-header__app-switcher-skeleton--mobile",
|
|
944
|
+
"aria-hidden": ""
|
|
945
|
+
}, null, -1),
|
|
946
|
+
t("li", {
|
|
947
|
+
class: "kuat-header__app-switcher-skeleton kuat-header__app-switcher-skeleton--mobile",
|
|
948
|
+
"aria-hidden": ""
|
|
949
|
+
}, null, -1)
|
|
950
|
+
])])) : (Ee = e.appSwitcher) != null && Ee.apps.length ? (s(), l("ul", Wt, [
|
|
951
|
+
(s(!0), l(E, null, O(e.appSwitcher.apps, (u) => {
|
|
952
|
+
var M, L;
|
|
953
|
+
return s(), l("li", {
|
|
954
|
+
key: u.id
|
|
955
|
+
}, [
|
|
956
|
+
t("a", {
|
|
957
|
+
href: u.href,
|
|
958
|
+
class: "kuat-header__mobile-app-link",
|
|
959
|
+
target: ((M = e.appSwitcher) == null ? void 0 : M.linkTarget) ?? "_self",
|
|
960
|
+
rel: ((L = e.appSwitcher) == null ? void 0 : L.linkTarget) === "_blank" ? "noopener noreferrer" : void 0,
|
|
961
|
+
onClick: (G) => Ce(u)
|
|
962
|
+
}, [
|
|
963
|
+
t("span", Xt, [
|
|
964
|
+
t("span", Yt, p(u.label), 1),
|
|
965
|
+
u.description ? (s(), l("span", jt, p(u.description), 1)) : f("", !0)
|
|
966
|
+
])
|
|
967
|
+
], 8, zt)
|
|
968
|
+
]);
|
|
969
|
+
}), 128))
|
|
970
|
+
])) : (((Te = e.appSwitcher) == null ? void 0 : Te.empty) ?? "hide") === "message" ? (s(), l("p", Qt, p(we.value), 1)) : f("", !0)
|
|
971
|
+
], 8, Kt)
|
|
972
|
+
], 10, Zt)) : f("", !0),
|
|
973
|
+
w.value ? (s(), l("div", {
|
|
974
|
+
key: 1,
|
|
975
|
+
ref_key: "mobileAccountPanelRef",
|
|
976
|
+
ref: be,
|
|
977
|
+
class: I(k(V)(
|
|
978
|
+
"kuat-header__mobile-panel kuat-header__mobile-panel--apps kuat-header__mobile-panel--account",
|
|
979
|
+
b.value !== "account" && "kuat-header__mobile-panel--hidden"
|
|
980
|
+
)),
|
|
981
|
+
"aria-hidden": b.value !== "account"
|
|
982
|
+
}, [
|
|
983
|
+
t("div", es, p($.value.title), 1),
|
|
984
|
+
t("nav", {
|
|
985
|
+
class: "kuat-header__mobile-apps-nav",
|
|
986
|
+
"aria-label": $.value.nav
|
|
987
|
+
}, [
|
|
988
|
+
t("ul", ts, [
|
|
989
|
+
(s(!0), l(E, null, O(N.value ?? [], (u) => (s(), l("li", {
|
|
990
|
+
key: `${u.label}-${u.href}`
|
|
991
|
+
}, [
|
|
992
|
+
t("a", {
|
|
993
|
+
href: u.href,
|
|
994
|
+
class: "kuat-header__mobile-app-link"
|
|
995
|
+
}, [
|
|
996
|
+
t("span", ls, [
|
|
997
|
+
t("span", os, p(u.label), 1)
|
|
998
|
+
])
|
|
999
|
+
], 8, ss)
|
|
1000
|
+
]))), 128))
|
|
1001
|
+
])
|
|
1002
|
+
], 8, as)
|
|
1003
|
+
], 10, Jt)) : f("", !0)
|
|
1004
|
+
], 8, kt)) : f("", !0),
|
|
1005
|
+
c.value ? f("", !0) : D(i.$slots, "mobile-menu", { key: 1 }),
|
|
1006
|
+
D(i.$slots, "default")
|
|
1007
|
+
], 2);
|
|
1008
|
+
};
|
|
223
1009
|
}
|
|
224
|
-
})
|
|
225
|
-
function
|
|
226
|
-
const e = (
|
|
1010
|
+
});
|
|
1011
|
+
function Ys(a) {
|
|
1012
|
+
const e = (a == null ? void 0 : a.variant) ?? "default";
|
|
227
1013
|
return V("kuat-header", `kuat-header--${e}`);
|
|
228
1014
|
}
|
|
229
|
-
const
|
|
1015
|
+
const rs = ["aria-valuenow", "aria-valuetext"], ns = ["viewBox"], is = ["transform"], us = ["stroke-dashoffset"], ds = {
|
|
230
1016
|
class: "kuat-radial-progress__label",
|
|
231
1017
|
"aria-hidden": "",
|
|
232
1018
|
"data-kuat-radial-progress-label": ""
|
|
233
|
-
},
|
|
1019
|
+
}, ie = 100, cs = 4, _s = /* @__PURE__ */ q({
|
|
234
1020
|
__name: "KuatRadialProgress",
|
|
235
1021
|
props: {
|
|
236
1022
|
value: {},
|
|
@@ -239,45 +1025,45 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
239
1025
|
animate: { type: Boolean, default: !1 },
|
|
240
1026
|
class: {}
|
|
241
1027
|
},
|
|
242
|
-
setup(
|
|
243
|
-
const e = (
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}),
|
|
247
|
-
(!
|
|
1028
|
+
setup(a) {
|
|
1029
|
+
const e = (ie - cs) / 2, n = 2 * Math.PI * e, o = ie / 2, _ = a, d = h(() => Math.min(100, Math.max(0, _.value))), g = x(!1), T = x(_.animate ? 0 : d.value);
|
|
1030
|
+
Ve(() => {
|
|
1031
|
+
_.animate && (T.value = d.value, g.value = !0);
|
|
1032
|
+
}), J(d, ($) => {
|
|
1033
|
+
(!_.animate || g.value) && (T.value = $);
|
|
248
1034
|
});
|
|
249
|
-
const
|
|
250
|
-
() => n * (1 -
|
|
251
|
-
),
|
|
252
|
-
() =>
|
|
253
|
-
),
|
|
1035
|
+
const w = h(
|
|
1036
|
+
() => n * (1 - T.value / 100)
|
|
1037
|
+
), H = h(
|
|
1038
|
+
() => _.animate ? "stroke-dashoffset 0.6s ease-out" : void 0
|
|
1039
|
+
), A = h(
|
|
254
1040
|
() => V(
|
|
255
1041
|
"kuat-radial-progress",
|
|
256
|
-
`kuat-radial-progress--${
|
|
257
|
-
`kuat-radial-progress--${
|
|
258
|
-
|
|
1042
|
+
`kuat-radial-progress--${_.size}`,
|
|
1043
|
+
`kuat-radial-progress--${_.color}`,
|
|
1044
|
+
_.class
|
|
259
1045
|
)
|
|
260
1046
|
);
|
|
261
|
-
return (
|
|
1047
|
+
return ($, N) => (s(), l("div", {
|
|
262
1048
|
role: "progressbar",
|
|
263
|
-
"aria-valuenow":
|
|
1049
|
+
"aria-valuenow": d.value,
|
|
264
1050
|
"aria-valuemin": "0",
|
|
265
1051
|
"aria-valuemax": "100",
|
|
266
|
-
"aria-valuetext": `${Math.round(
|
|
267
|
-
class:
|
|
1052
|
+
"aria-valuetext": `${Math.round(d.value)}%`,
|
|
1053
|
+
class: I(A.value)
|
|
268
1054
|
}, [
|
|
269
|
-
(
|
|
1055
|
+
(s(), l("svg", {
|
|
270
1056
|
class: "kuat-radial-progress__svg",
|
|
271
|
-
viewBox: `0 0 ${
|
|
1057
|
+
viewBox: `0 0 ${ie} ${ie}`,
|
|
272
1058
|
"aria-hidden": ""
|
|
273
1059
|
}, [
|
|
274
1060
|
t("g", {
|
|
275
|
-
transform: `rotate(-90 ${
|
|
1061
|
+
transform: `rotate(-90 ${o} ${o})`
|
|
276
1062
|
}, [
|
|
277
1063
|
t("circle", {
|
|
278
1064
|
"data-kuat-radial-progress-track": "",
|
|
279
|
-
cx:
|
|
280
|
-
cy:
|
|
1065
|
+
cx: o,
|
|
1066
|
+
cy: o,
|
|
281
1067
|
r: e,
|
|
282
1068
|
fill: "none",
|
|
283
1069
|
stroke: "var(--kuat-radial-progress-background-bar, var(--muted, #e5e7eb))",
|
|
@@ -285,50 +1071,50 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
285
1071
|
}),
|
|
286
1072
|
t("circle", {
|
|
287
1073
|
"data-kuat-radial-progress-arc": "",
|
|
288
|
-
cx:
|
|
289
|
-
cy:
|
|
1074
|
+
cx: o,
|
|
1075
|
+
cy: o,
|
|
290
1076
|
r: e,
|
|
291
1077
|
fill: "none",
|
|
292
1078
|
"stroke-dasharray": n,
|
|
293
|
-
"stroke-dashoffset":
|
|
1079
|
+
"stroke-dashoffset": w.value,
|
|
294
1080
|
"stroke-linecap": "butt",
|
|
295
|
-
style:
|
|
1081
|
+
style: qe({
|
|
296
1082
|
strokeWidth: "var(--kuat-radial-progress-stroke, 4)",
|
|
297
|
-
...
|
|
1083
|
+
...H.value ? { transition: H.value } : {}
|
|
298
1084
|
})
|
|
299
|
-
}, null, 12,
|
|
300
|
-
], 8,
|
|
301
|
-
], 8,
|
|
302
|
-
t("span",
|
|
303
|
-
], 10,
|
|
1085
|
+
}, null, 12, us)
|
|
1086
|
+
], 8, is)
|
|
1087
|
+
], 8, ns)),
|
|
1088
|
+
t("span", ds, p(Math.round(d.value)) + "% ", 1)
|
|
1089
|
+
], 10, rs));
|
|
304
1090
|
}
|
|
305
|
-
}),
|
|
1091
|
+
}), js = /* @__PURE__ */ se(_s, [["__scopeId", "data-v-3d0283a7"]]), Qs = [
|
|
306
1092
|
"mini",
|
|
307
1093
|
"small",
|
|
308
1094
|
"medium",
|
|
309
1095
|
"large"
|
|
310
|
-
],
|
|
1096
|
+
], Js = [
|
|
311
1097
|
"default",
|
|
312
1098
|
"primary",
|
|
313
1099
|
"ee-blue",
|
|
314
1100
|
"tech-blue",
|
|
315
1101
|
"transform-teal",
|
|
316
1102
|
"equal-ember"
|
|
317
|
-
],
|
|
1103
|
+
], hs = /* @__PURE__ */ q({
|
|
318
1104
|
name: "EELogoIcon",
|
|
319
1105
|
__name: "EELogoIcon",
|
|
320
1106
|
props: {
|
|
321
1107
|
class: {}
|
|
322
1108
|
},
|
|
323
|
-
setup(
|
|
324
|
-
const e =
|
|
325
|
-
return (n,
|
|
326
|
-
class:
|
|
1109
|
+
setup(a) {
|
|
1110
|
+
const e = a;
|
|
1111
|
+
return (n, o) => (s(), l("svg", {
|
|
1112
|
+
class: I(["ee-logo-icon", e.class]),
|
|
327
1113
|
viewBox: "0 0 143 133",
|
|
328
1114
|
fill: "none",
|
|
329
1115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
330
1116
|
"aria-label": "Equal Experts"
|
|
331
|
-
}, [...
|
|
1117
|
+
}, [...o[0] || (o[0] = [
|
|
332
1118
|
t("path", {
|
|
333
1119
|
d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
|
|
334
1120
|
fill: "currentColor"
|
|
@@ -347,10 +1133,10 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
347
1133
|
}, null, -1)
|
|
348
1134
|
])], 2));
|
|
349
1135
|
}
|
|
350
|
-
}),
|
|
1136
|
+
}), ps = /* @__PURE__ */ se(hs, [["__scopeId", "data-v-c97e10d5"]]), vs = {
|
|
351
1137
|
key: 0,
|
|
352
1138
|
class: "kuat-logo-lockup__service-inner"
|
|
353
|
-
},
|
|
1139
|
+
}, ms = { class: "kuat-logo-lockup__logo-wrap" }, ks = { class: "kuat-logo-lockup__service-name" }, fs = { class: "kuat-logo-lockup__demo-title" }, bs = { class: "kuat-logo-lockup__demo-attribution" }, gs = { class: "kuat-logo-lockup__demo-logo-wrap" }, ys = /* @__PURE__ */ q({
|
|
354
1140
|
__name: "KuatLogoLockup",
|
|
355
1141
|
props: {
|
|
356
1142
|
class: {},
|
|
@@ -359,14 +1145,14 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
359
1145
|
mode: { default: "light" },
|
|
360
1146
|
forceDark: { type: Boolean, default: !1 }
|
|
361
1147
|
},
|
|
362
|
-
setup(
|
|
363
|
-
const e =
|
|
1148
|
+
setup(a) {
|
|
1149
|
+
const e = a, n = h(
|
|
364
1150
|
() => e.forceDark ? "dark" : e.mode
|
|
365
|
-
),
|
|
1151
|
+
), o = h(
|
|
366
1152
|
() => n.value === "dark" ? "white" : "grey"
|
|
367
|
-
),
|
|
1153
|
+
), _ = h(
|
|
368
1154
|
() => e.use === "service" && n.value === "dark"
|
|
369
|
-
),
|
|
1155
|
+
), d = h(
|
|
370
1156
|
() => V(
|
|
371
1157
|
"kuat-logo-lockup",
|
|
372
1158
|
`kuat-logo-lockup--${n.value}`,
|
|
@@ -374,201 +1160,201 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
374
1160
|
e.class
|
|
375
1161
|
)
|
|
376
1162
|
);
|
|
377
|
-
return (
|
|
378
|
-
class:
|
|
1163
|
+
return (g, T) => (s(), l("div", {
|
|
1164
|
+
class: I(d.value)
|
|
379
1165
|
}, [
|
|
380
|
-
|
|
381
|
-
t("div",
|
|
382
|
-
|
|
1166
|
+
a.use === "service" ? (s(), l("div", vs, [
|
|
1167
|
+
t("div", ms, [
|
|
1168
|
+
_.value ? (s(), F(ps, {
|
|
383
1169
|
key: 0,
|
|
384
1170
|
class: "kuat-logo-lockup__logo-icon"
|
|
385
|
-
})) : (
|
|
1171
|
+
})) : (s(), F(X, {
|
|
386
1172
|
key: 1,
|
|
387
1173
|
class: "kuat-logo-lockup__logo",
|
|
388
|
-
"text-color":
|
|
1174
|
+
"text-color": o.value
|
|
389
1175
|
}, null, 8, ["text-color"]))
|
|
390
1176
|
]),
|
|
391
|
-
|
|
1177
|
+
S(k(He), {
|
|
392
1178
|
orientation: "vertical",
|
|
393
1179
|
class: "kuat-logo-lockup__separator"
|
|
394
1180
|
}),
|
|
395
|
-
t("span",
|
|
396
|
-
])) : (
|
|
397
|
-
t("h2",
|
|
398
|
-
t("div",
|
|
399
|
-
|
|
400
|
-
t("div",
|
|
401
|
-
|
|
1181
|
+
t("span", ks, p(a.title), 1)
|
|
1182
|
+
])) : (s(), l(E, { key: 1 }, [
|
|
1183
|
+
t("h2", fs, p(a.title), 1),
|
|
1184
|
+
t("div", bs, [
|
|
1185
|
+
T[0] || (T[0] = t("span", { class: "kuat-logo-lockup__demo-by" }, "A demo by", -1)),
|
|
1186
|
+
t("div", gs, [
|
|
1187
|
+
S(X, {
|
|
402
1188
|
class: "kuat-logo-lockup__logo kuat-logo-lockup__logo--demo",
|
|
403
|
-
"text-color":
|
|
1189
|
+
"text-color": o.value
|
|
404
1190
|
}, null, 8, ["text-color"])
|
|
405
1191
|
])
|
|
406
1192
|
])
|
|
407
1193
|
], 64))
|
|
408
1194
|
], 2));
|
|
409
1195
|
}
|
|
410
|
-
}),
|
|
1196
|
+
}), el = /* @__PURE__ */ se(ys, [["__scopeId", "data-v-dce4cc6d"]]), al = ["service", "demo"], tl = ["light", "dark"], sl = [
|
|
411
1197
|
"default",
|
|
412
1198
|
"secondary",
|
|
413
1199
|
"destructive",
|
|
414
1200
|
"outline",
|
|
415
1201
|
"ghost"
|
|
416
|
-
],
|
|
1202
|
+
], ll = ["default", "round"], ws = ["aria-label"], Cs = { class: "breadcrumb-list" }, Ss = {
|
|
417
1203
|
key: 0,
|
|
418
1204
|
role: "presentation",
|
|
419
1205
|
"aria-hidden": "true",
|
|
420
1206
|
class: "breadcrumb-separator"
|
|
421
|
-
},
|
|
1207
|
+
}, As = { class: "breadcrumb-item" }, $s = ["aria-expanded"], Es = {
|
|
422
1208
|
class: "breadcrumb-dropdown-content",
|
|
423
1209
|
role: "menu"
|
|
424
|
-
},
|
|
1210
|
+
}, Ts = ["href"], Ls = {
|
|
425
1211
|
role: "presentation",
|
|
426
1212
|
"aria-hidden": "true",
|
|
427
1213
|
class: "breadcrumb-separator"
|
|
428
|
-
},
|
|
1214
|
+
}, Hs = { class: "breadcrumb-item" }, xs = ["aria-expanded", "onClick"], Vs = {
|
|
429
1215
|
class: "breadcrumb-dropdown-content",
|
|
430
1216
|
role: "menu"
|
|
431
|
-
},
|
|
1217
|
+
}, Ds = ["href"], Is = {
|
|
432
1218
|
key: 1,
|
|
433
1219
|
class: "breadcrumb-page",
|
|
434
1220
|
role: "link",
|
|
435
1221
|
"aria-disabled": "true",
|
|
436
1222
|
"aria-current": "page"
|
|
437
|
-
},
|
|
1223
|
+
}, Ms = ["href"], Os = {
|
|
438
1224
|
key: 3,
|
|
439
1225
|
class: "breadcrumb-page",
|
|
440
1226
|
"aria-current": "page"
|
|
441
|
-
},
|
|
1227
|
+
}, Rs = 640, ol = /* @__PURE__ */ q({
|
|
442
1228
|
__name: "Breadcrumb",
|
|
443
1229
|
props: {
|
|
444
1230
|
items: {},
|
|
445
1231
|
ariaLabel: { default: "Breadcrumb" },
|
|
446
1232
|
class: {}
|
|
447
1233
|
},
|
|
448
|
-
setup(
|
|
449
|
-
const e =
|
|
450
|
-
let
|
|
451
|
-
function
|
|
452
|
-
|
|
453
|
-
typeof window > "u" || typeof window.matchMedia != "function" || (
|
|
454
|
-
}),
|
|
455
|
-
|
|
1234
|
+
setup(a) {
|
|
1235
|
+
const e = a, n = x(!1);
|
|
1236
|
+
let o = null;
|
|
1237
|
+
function _() {
|
|
1238
|
+
Ve(() => {
|
|
1239
|
+
typeof window > "u" || typeof window.matchMedia != "function" || (o = window.matchMedia(`(max-width: ${Rs}px)`), n.value = o.matches, o.addEventListener("change", d));
|
|
1240
|
+
}), xe(() => {
|
|
1241
|
+
o && o.removeEventListener("change", d);
|
|
456
1242
|
});
|
|
457
1243
|
}
|
|
458
|
-
function
|
|
459
|
-
|
|
1244
|
+
function d() {
|
|
1245
|
+
o && (n.value = o.matches);
|
|
460
1246
|
}
|
|
461
|
-
|
|
462
|
-
const
|
|
463
|
-
() =>
|
|
464
|
-
),
|
|
465
|
-
() =>
|
|
466
|
-
),
|
|
467
|
-
() =>
|
|
468
|
-
(
|
|
1247
|
+
_();
|
|
1248
|
+
const g = h(() => n.value && e.items.length > 2), T = h(
|
|
1249
|
+
() => g.value ? [e.items[0], e.items[e.items.length - 1]] : e.items
|
|
1250
|
+
), w = h(
|
|
1251
|
+
() => g.value ? e.items.slice(1, -1) : []
|
|
1252
|
+
), H = h(
|
|
1253
|
+
() => w.value.flatMap(
|
|
1254
|
+
(y) => y.href ? [{ label: y.label, href: y.href }] : (y.children ?? []).map((c) => ({ label: c.label, href: c.href }))
|
|
469
1255
|
)
|
|
470
|
-
),
|
|
471
|
-
function y
|
|
472
|
-
|
|
1256
|
+
), A = x(null);
|
|
1257
|
+
function $(y) {
|
|
1258
|
+
A.value = A.value === y ? null : y;
|
|
473
1259
|
}
|
|
474
|
-
function
|
|
475
|
-
|
|
1260
|
+
function N() {
|
|
1261
|
+
A.value = null;
|
|
476
1262
|
}
|
|
477
|
-
function U(
|
|
478
|
-
return
|
|
1263
|
+
function U(y, c) {
|
|
1264
|
+
return c && !y.href && (!y.children || y.children.length === 0);
|
|
479
1265
|
}
|
|
480
|
-
function
|
|
481
|
-
return
|
|
1266
|
+
function Y(y) {
|
|
1267
|
+
return y.children && y.children.length > 0;
|
|
482
1268
|
}
|
|
483
|
-
return (
|
|
1269
|
+
return (y, c) => a.items.length ? (s(), l("nav", {
|
|
484
1270
|
key: 0,
|
|
485
|
-
"aria-label":
|
|
486
|
-
class:
|
|
1271
|
+
"aria-label": a.ariaLabel,
|
|
1272
|
+
class: I(k(V)("breadcrumb", e.class)),
|
|
487
1273
|
role: "navigation"
|
|
488
1274
|
}, [
|
|
489
|
-
t("ol",
|
|
490
|
-
(
|
|
491
|
-
key:
|
|
1275
|
+
t("ol", Cs, [
|
|
1276
|
+
(s(!0), l(E, null, O(T.value, (v, m) => (s(), l(E, {
|
|
1277
|
+
key: g.value && m === 1 ? a.items.length - 1 : m
|
|
492
1278
|
}, [
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
])) :
|
|
496
|
-
|
|
497
|
-
t("li",
|
|
1279
|
+
m > 0 ? (s(), l("span", Ss, [
|
|
1280
|
+
S(k(ce), { class: "breadcrumb-separator__icon" })
|
|
1281
|
+
])) : f("", !0),
|
|
1282
|
+
g.value && m === 1 && H.value.length > 0 ? (s(), l(E, { key: 1 }, [
|
|
1283
|
+
t("li", As, [
|
|
498
1284
|
t("button", {
|
|
499
1285
|
type: "button",
|
|
500
1286
|
class: "breadcrumb-dropdown-trigger breadcrumb-ellipsis-trigger",
|
|
501
1287
|
"aria-haspopup": "menu",
|
|
502
|
-
"aria-expanded":
|
|
503
|
-
onClick:
|
|
1288
|
+
"aria-expanded": A.value === "ellipsis",
|
|
1289
|
+
onClick: c[0] || (c[0] = (b) => $("ellipsis"))
|
|
504
1290
|
}, [
|
|
505
|
-
|
|
1291
|
+
S(k(je), {
|
|
506
1292
|
class: "breadcrumb-dropdown-trigger__icon",
|
|
507
1293
|
"aria-hidden": ""
|
|
508
1294
|
}),
|
|
509
|
-
|
|
510
|
-
], 8,
|
|
511
|
-
|
|
512
|
-
(
|
|
513
|
-
key:
|
|
514
|
-
href:
|
|
1295
|
+
c[1] || (c[1] = t("span", { class: "sr-only" }, "Show more pages", -1))
|
|
1296
|
+
], 8, $s),
|
|
1297
|
+
ae(t("div", Es, [
|
|
1298
|
+
(s(!0), l(E, null, O(H.value, (b, B) => (s(), l("a", {
|
|
1299
|
+
key: B,
|
|
1300
|
+
href: b.href,
|
|
515
1301
|
class: "breadcrumb-dropdown-item",
|
|
516
1302
|
role: "menuitem",
|
|
517
|
-
onClick:
|
|
518
|
-
},
|
|
1303
|
+
onClick: N
|
|
1304
|
+
}, p(b.label), 9, Ts))), 128))
|
|
519
1305
|
], 512), [
|
|
520
|
-
[
|
|
1306
|
+
[te, A.value === "ellipsis"]
|
|
521
1307
|
])
|
|
522
1308
|
]),
|
|
523
|
-
t("span",
|
|
524
|
-
|
|
1309
|
+
t("span", Ls, [
|
|
1310
|
+
S(k(ce), { class: "breadcrumb-separator__icon" })
|
|
525
1311
|
])
|
|
526
|
-
], 64)) :
|
|
527
|
-
t("li",
|
|
528
|
-
|
|
1312
|
+
], 64)) : f("", !0),
|
|
1313
|
+
t("li", Hs, [
|
|
1314
|
+
Y(v) ? (s(), l(E, { key: 0 }, [
|
|
529
1315
|
t("button", {
|
|
530
1316
|
type: "button",
|
|
531
1317
|
class: "breadcrumb-dropdown-trigger",
|
|
532
1318
|
"aria-haspopup": "menu",
|
|
533
|
-
"aria-expanded":
|
|
534
|
-
onClick: (
|
|
1319
|
+
"aria-expanded": A.value === `item-${m}`,
|
|
1320
|
+
onClick: (b) => $(`item-${m}`)
|
|
535
1321
|
}, [
|
|
536
|
-
|
|
537
|
-
|
|
1322
|
+
de(p(v.label) + " ", 1),
|
|
1323
|
+
S(k(me), {
|
|
538
1324
|
class: "breadcrumb-dropdown-trigger__icon",
|
|
539
1325
|
"aria-hidden": ""
|
|
540
1326
|
}),
|
|
541
|
-
|
|
542
|
-
], 8,
|
|
543
|
-
|
|
544
|
-
(
|
|
545
|
-
key:
|
|
546
|
-
href:
|
|
1327
|
+
c[2] || (c[2] = t("span", { class: "sr-only" }, "Toggle menu", -1))
|
|
1328
|
+
], 8, xs),
|
|
1329
|
+
ae(t("div", Vs, [
|
|
1330
|
+
(s(!0), l(E, null, O(v.children, (b, B) => (s(), l("a", {
|
|
1331
|
+
key: B,
|
|
1332
|
+
href: b.href,
|
|
547
1333
|
class: "breadcrumb-dropdown-item",
|
|
548
1334
|
role: "menuitem",
|
|
549
|
-
onClick:
|
|
550
|
-
},
|
|
1335
|
+
onClick: N
|
|
1336
|
+
}, p(b.label), 9, Ds))), 128))
|
|
551
1337
|
], 512), [
|
|
552
|
-
[
|
|
1338
|
+
[te, A.value === `item-${m}`]
|
|
553
1339
|
])
|
|
554
|
-
], 64)) : U(
|
|
1340
|
+
], 64)) : U(v, m === T.value.length - 1) ? (s(), l("span", Is, p(v.label), 1)) : v.href ? (s(), l("a", {
|
|
555
1341
|
key: 2,
|
|
556
|
-
href:
|
|
1342
|
+
href: v.href,
|
|
557
1343
|
class: "breadcrumb-link"
|
|
558
|
-
},
|
|
1344
|
+
}, p(v.label), 9, Ms)) : (s(), l("span", Os, p(v.label), 1))
|
|
559
1345
|
])
|
|
560
1346
|
], 64))), 128))
|
|
561
1347
|
])
|
|
562
|
-
], 10,
|
|
1348
|
+
], 10, ws)) : f("", !0);
|
|
563
1349
|
}
|
|
564
|
-
}),
|
|
1350
|
+
}), rl = [
|
|
565
1351
|
"primary",
|
|
566
1352
|
"secondary",
|
|
567
1353
|
"outline",
|
|
568
1354
|
"ghost",
|
|
569
1355
|
"ghost-muted",
|
|
570
1356
|
"destructive"
|
|
571
|
-
],
|
|
1357
|
+
], nl = ["mini", "small", "default", "large", "icon"], il = [
|
|
572
1358
|
"ee-blue",
|
|
573
1359
|
"tech-blue",
|
|
574
1360
|
"byte-white",
|
|
@@ -578,105 +1364,115 @@ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transfo
|
|
|
578
1364
|
"equal-ember"
|
|
579
1365
|
];
|
|
580
1366
|
export {
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
1367
|
+
Rl as Accordion,
|
|
1368
|
+
Nl as AccordionContent,
|
|
1369
|
+
Bl as AccordionItem,
|
|
1370
|
+
Pl as AccordionTrigger,
|
|
1371
|
+
Ul as AlertDialog,
|
|
1372
|
+
Zl as AlertDialogAction,
|
|
1373
|
+
Gl as AlertDialogCancel,
|
|
1374
|
+
Kl as AlertDialogContent,
|
|
1375
|
+
ql as AlertDialogDescription,
|
|
1376
|
+
Wl as AlertDialogFooter,
|
|
1377
|
+
zl as AlertDialogHeader,
|
|
1378
|
+
Xl as AlertDialogTitle,
|
|
1379
|
+
Yl as AlertDialogTrigger,
|
|
1380
|
+
ll as BADGE_ROUNDNESS,
|
|
1381
|
+
sl as BADGE_VARIANTS,
|
|
1382
|
+
il as BUTTON_COLORS,
|
|
1383
|
+
nl as BUTTON_SIZES,
|
|
1384
|
+
rl as BUTTON_VARIANTS,
|
|
1385
|
+
Ql as Badge,
|
|
1386
|
+
ol as Breadcrumb,
|
|
1387
|
+
he as Button,
|
|
1388
|
+
cl as ButtonGroup,
|
|
1389
|
+
_l as ButtonGroupSeparator,
|
|
1390
|
+
hl as ButtonGroupText,
|
|
1391
|
+
Oo as CHECKBOX_FIELD_APPEARANCES,
|
|
1392
|
+
Ro as CHECKBOX_FIELD_LAYOUTS,
|
|
1393
|
+
Al as Carousel,
|
|
1394
|
+
$l as CarouselContent,
|
|
1395
|
+
El as CarouselItem,
|
|
1396
|
+
Tl as CarouselNext,
|
|
1397
|
+
Ll as CarouselPrevious,
|
|
1398
|
+
No as Checkbox,
|
|
1399
|
+
Bo as CheckboxField,
|
|
1400
|
+
zs as ContentCard,
|
|
1401
|
+
X as EELogo,
|
|
1402
|
+
ps as EELogoIcon,
|
|
1403
|
+
po as FIELD_LEGEND_VARIANTS,
|
|
1404
|
+
vo as FIELD_ORIENTATIONS,
|
|
1405
|
+
no as Field,
|
|
1406
|
+
io as FieldContent,
|
|
1407
|
+
uo as FieldDescription,
|
|
1408
|
+
mo as FieldError,
|
|
1409
|
+
ko as FieldGroup,
|
|
1410
|
+
co as FieldLabel,
|
|
1411
|
+
fo as FieldLegend,
|
|
1412
|
+
bo as FieldSeparator,
|
|
1413
|
+
go as FieldSet,
|
|
1414
|
+
_o as FieldTitle,
|
|
1415
|
+
fl as ICON_BUTTON_ROUNDNESS,
|
|
1416
|
+
bl as ICON_BUTTON_SIZES,
|
|
1417
|
+
gl as ICON_BUTTON_SIZE_LG_ALIAS,
|
|
1418
|
+
yl as ICON_BUTTON_SIZE_SM_ALIAS,
|
|
1419
|
+
wl as ICON_BUTTON_VARIANT_DEFAULT_ALIAS,
|
|
1420
|
+
lo as INPUT_SIZES,
|
|
1421
|
+
Qe as IconButton,
|
|
1422
|
+
oo as Input,
|
|
1423
|
+
tl as KUAT_LOGO_LOCKUP_MODE,
|
|
1424
|
+
al as KUAT_LOGO_LOCKUP_USE,
|
|
1425
|
+
Js as KUAT_RADIAL_PROGRESS_COLORS,
|
|
1426
|
+
Qs as KUAT_RADIAL_PROGRESS_SIZES,
|
|
1427
|
+
xl as KuatCarousel,
|
|
1428
|
+
Vl as KuatCarouselContent,
|
|
1429
|
+
Dl as KuatCarouselItem,
|
|
1430
|
+
Il as KuatCarouselNext,
|
|
1431
|
+
Ml as KuatCarouselPrevious,
|
|
1432
|
+
Xs as KuatHeader,
|
|
1433
|
+
el as KuatLogoLockup,
|
|
1434
|
+
js as KuatRadialProgress,
|
|
1435
|
+
wo as KuatSelect,
|
|
1436
|
+
Fo as RADIO_FIELD_APPEARANCES,
|
|
1437
|
+
Uo as RADIO_FIELD_LAYOUTS,
|
|
1438
|
+
Zo as RadioField,
|
|
1439
|
+
Go as RadioGroup,
|
|
1440
|
+
Ko as RadioGroupItem,
|
|
1441
|
+
Co as SELECT_LINES,
|
|
1442
|
+
So as SELECT_SIZES,
|
|
1443
|
+
nr as SONNER_POSITIONS,
|
|
1444
|
+
Wo as SWITCH_FIELD_APPEARANCES,
|
|
1445
|
+
zo as SWITCH_FIELD_LAYOUTS,
|
|
1446
|
+
Ao as Select,
|
|
1447
|
+
$o as SelectContent,
|
|
1448
|
+
Eo as SelectGroup,
|
|
1449
|
+
To as SelectItem,
|
|
1450
|
+
Lo as SelectLabel,
|
|
1451
|
+
Ho as SelectScrollDownButton,
|
|
1452
|
+
xo as SelectScrollUpButton,
|
|
1453
|
+
Vo as SelectSeparator,
|
|
1454
|
+
Do as SelectTrigger,
|
|
1455
|
+
Io as SelectValue,
|
|
1456
|
+
ir as Sonner,
|
|
1457
|
+
ur as SonnerContent,
|
|
1458
|
+
Xo as Switch,
|
|
1459
|
+
Yo as SwitchField,
|
|
1460
|
+
ao as TEXTAREA_RESIZE,
|
|
1461
|
+
sr as TOGGLE_GROUP_ORIENTATIONS,
|
|
1462
|
+
er as TOGGLE_SIZES,
|
|
1463
|
+
ar as TOGGLE_SKINS,
|
|
1464
|
+
to as Textarea,
|
|
1465
|
+
Qo as Toggle,
|
|
1466
|
+
lr as ToggleGroup,
|
|
1467
|
+
or as ToggleGroupItem,
|
|
1468
|
+
Jl as badgeVariants,
|
|
1469
|
+
pl as buttonGroupVariants,
|
|
1470
|
+
ml as buttonVariants,
|
|
679
1471
|
V as cn,
|
|
680
|
-
|
|
681
|
-
|
|
1472
|
+
Cl as iconButtonVariants,
|
|
1473
|
+
Ys as kuatHeaderVariants,
|
|
1474
|
+
ba as resolveAppSwitcherLabels,
|
|
1475
|
+
Aa as resolveHeaderLockup,
|
|
1476
|
+
fa as shouldShowAppSwitcher,
|
|
1477
|
+
dr as toast
|
|
682
1478
|
};
|