@topjoao/top-design-system 0.1.0-beta.22 → 0.1.0-beta.23
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/{TopToast-Crws8yw6.js → TopToast-BFY94BWZ.js} +270 -265
- package/dist/TopToast-BFY94BWZ.js.map +1 -0
- package/dist/TopToast-CC6iBs5S.cjs +2 -0
- package/dist/TopToast-CC6iBs5S.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/TopToast-Crws8yw6.js.map +0 -1
- package/dist/TopToast-CzugNyov.cjs +0 -2
- package/dist/TopToast-CzugNyov.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment as e, Transition as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, nextTick as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as ee, onMounted as te, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveComponent as x, resolveDynamicComponent as S, toDisplayString as C, unref as w, useAttrs as
|
|
1
|
+
import { Fragment as e, Transition as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, nextTick as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as ee, onMounted as te, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveComponent as x, resolveDynamicComponent as S, toDisplayString as C, unref as w, useAttrs as ne, useId as T, useSlots as E, watch as D, withCtx as O, withDirectives as k, withModifiers as A } from "vue";
|
|
2
2
|
import j from "primevue/button";
|
|
3
3
|
import M from "primevue/tooltip";
|
|
4
4
|
import { twMerge as N } from "tailwind-merge";
|
|
@@ -49,11 +49,11 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
49
49
|
},
|
|
50
50
|
emits: ["click"],
|
|
51
51
|
setup(e, { emit: t }) {
|
|
52
|
-
let i =
|
|
52
|
+
let i = E(), o = n(() => !!i.icon), c = e, l = t, u = n(() => c.secondary ? "secondary" : c.severity), d = n(() => {
|
|
53
53
|
let e = c.unstyled ? "" : u.value === "secondary" ? "rounded-[10px] border px-3 py-2 font-bold dark:!border-zinc-500 dark:!bg-zinc-700 dark:!text-zinc-100 dark:hover:!bg-zinc-600" : c.outlined ? u.value === "primary" ? "shrink-0 rounded-[10px] border-primary-800 px-3 py-2 text-primary-800 hover:bg-primary-50 dark:border-primary-200 dark:bg-transparent dark:text-primary-100 dark:hover:bg-primary-900" : "shrink-0 rounded-[10px] border px-3 py-2 font-bold" : u.value === "primary" ? "rounded-[10px] !border-primary-900 bg-primary-900 px-3 py-2 font-bold text-white hover:!border-primary-800 hover:bg-primary-800 dark:!text-white" : "rounded-[10px] border px-3 py-2 font-bold";
|
|
54
54
|
return N(e, c.class);
|
|
55
55
|
});
|
|
56
|
-
return (t, n) => (_(), a("span", W, [
|
|
56
|
+
return (t, n) => (_(), a("span", W, [k((_(), r(w(j), {
|
|
57
57
|
type: e.type,
|
|
58
58
|
label: e.label,
|
|
59
59
|
disabled: e.disabled || e.loading,
|
|
@@ -66,7 +66,7 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
66
66
|
onClick: n[0] ||= (e) => l("click")
|
|
67
67
|
}, s({ _: 2 }, [o.value ? {
|
|
68
68
|
name: "icon",
|
|
69
|
-
fn:
|
|
69
|
+
fn: O(() => [b(t.$slots, "icon")]),
|
|
70
70
|
key: "0"
|
|
71
71
|
} : void 0]), 1032, [
|
|
72
72
|
"type",
|
|
@@ -219,7 +219,7 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
219
219
|
},
|
|
220
220
|
onHide: n[1] ||= (e) => a("close")
|
|
221
221
|
}, {
|
|
222
|
-
default:
|
|
222
|
+
default: O(() => [o("div", {
|
|
223
223
|
class: "relative flex flex-col items-center gap-4 text-center",
|
|
224
224
|
style: g(u.value)
|
|
225
225
|
}, [
|
|
@@ -325,17 +325,17 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
325
325
|
"keydown"
|
|
326
326
|
],
|
|
327
327
|
setup(e, { emit: t }) {
|
|
328
|
-
let r = e, o = t, u =
|
|
328
|
+
let r = e, o = t, u = ne(), p = E(), m = T(), g = n(() => u.id === void 0 || u.id === null || u.id === "" ? m : String(u.id)), ee = n(() => `${g.value}-error`), te = n(() => r.invalid || !!r.error), v = n(() => r.manualInput && !r.readonly && !r.disabled && r.selectionMode === "single" && r.dateFormat === "dd/mm/yy"), x = n(() => {
|
|
329
329
|
if (te.value) return !0;
|
|
330
330
|
let e = u["aria-invalid"];
|
|
331
331
|
return typeof e == "boolean" || e === "true" || e === "false" || e === "grammar" || e === "spelling" ? e : void 0;
|
|
332
332
|
}), S = n(() => {
|
|
333
333
|
let e = u["aria-describedby"], t = [typeof e == "string" ? e : "", r.error ? ee.value : ""].filter(Boolean);
|
|
334
334
|
return t.length ? t.join(" ") : void 0;
|
|
335
|
-
}),
|
|
335
|
+
}), D = n(() => {
|
|
336
336
|
let { id: e, "aria-describedby": t, "aria-invalid": n, ...r } = u;
|
|
337
337
|
return r;
|
|
338
|
-
}),
|
|
338
|
+
}), k = n(() => ({ pcInputText: { root: {
|
|
339
339
|
"aria-describedby": S.value,
|
|
340
340
|
"aria-invalid": x.value,
|
|
341
341
|
onChange: (e) => o("change", e),
|
|
@@ -363,7 +363,7 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
363
363
|
for: g.value,
|
|
364
364
|
class: "top-field-label text-xs font-bold"
|
|
365
365
|
}, [c(C(e.label) + " ", 1), e.required ? (_(), a("span", fe, "*")) : i("", !0)], 8, de)) : i("", !0),
|
|
366
|
-
l(w(F), f(
|
|
366
|
+
l(w(F), f(D.value, {
|
|
367
367
|
"model-value": e.modelValue,
|
|
368
368
|
"input-id": g.value,
|
|
369
369
|
placeholder: e.placeholder,
|
|
@@ -381,7 +381,7 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
381
381
|
"manual-input": e.manualInput,
|
|
382
382
|
"show-button-bar": e.showButtonBar,
|
|
383
383
|
"append-to": e.appendTo,
|
|
384
|
-
pt:
|
|
384
|
+
pt: k.value,
|
|
385
385
|
"input-class": "top-date-picker__input top-field-control h-[40px] w-full rounded-[10px] border px-3 py-2 text-xs read-only:cursor-default disabled:cursor-not-allowed",
|
|
386
386
|
"panel-class": "top-date-picker-panel top-solutions-component",
|
|
387
387
|
fluid: "",
|
|
@@ -399,7 +399,7 @@ var W = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
|
|
|
399
399
|
onKeydown: n[9] ||= (e) => o("keydown", e)
|
|
400
400
|
}), s({ _: 2 }, [y(w(p), (e, n) => ({
|
|
401
401
|
name: n,
|
|
402
|
-
fn:
|
|
402
|
+
fn: O((e) => [b(t.$slots, n, h(d(e ?? {})))])
|
|
403
403
|
}))]), 1040, [
|
|
404
404
|
"model-value",
|
|
405
405
|
"input-id",
|
|
@@ -595,12 +595,12 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
595
595
|
"error"
|
|
596
596
|
],
|
|
597
597
|
setup(t, { expose: s, emit: u }) {
|
|
598
|
-
let d = t, f = u, m =
|
|
598
|
+
let d = t, f = u, m = ne(), h = T(), g = v(null), x = v(F(d.modelValue)), S = v([]), E = /* @__PURE__ */ new Map(), k = n(() => m.id === void 0 || m.id === null || m.id === "" ? h : String(m.id)), A = n(() => `${k.value}-error`), j = n(() => d.error || S.value[0]?.message || ""), M = n(() => d.disabled || d.loading), N = n(() => {
|
|
599
599
|
let e = m["aria-describedby"], t = [typeof e == "string" ? e : "", j.value ? A.value : ""].filter(Boolean);
|
|
600
600
|
return t.length ? t.join(" ") : void 0;
|
|
601
601
|
}), P = n(() => ({
|
|
602
602
|
...m,
|
|
603
|
-
id:
|
|
603
|
+
id: k.value,
|
|
604
604
|
required: d.required,
|
|
605
605
|
"aria-invalid": j.value ? !0 : m["aria-invalid"],
|
|
606
606
|
"aria-describedby": N.value,
|
|
@@ -686,30 +686,30 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
686
686
|
}
|
|
687
687
|
function K(e) {
|
|
688
688
|
if (!e.type.startsWith("image/") || typeof URL.createObjectURL != "function") return "";
|
|
689
|
-
let t =
|
|
689
|
+
let t = E.get(e);
|
|
690
690
|
if (t) return t;
|
|
691
691
|
let n = URL.createObjectURL(e);
|
|
692
|
-
return
|
|
692
|
+
return E.set(e, n), n;
|
|
693
693
|
}
|
|
694
694
|
function q() {
|
|
695
|
-
for (let [e, t] of
|
|
695
|
+
for (let [e, t] of E) x.value.includes(e) || (URL.revokeObjectURL(t), E.delete(e));
|
|
696
696
|
}
|
|
697
|
-
return
|
|
697
|
+
return D(() => d.modelValue, (e) => {
|
|
698
698
|
let t = F(e);
|
|
699
699
|
U(t, x.value) || (x.value = t, S.value = [], q(), p(V));
|
|
700
|
-
}),
|
|
700
|
+
}), D(() => d.multiple, () => {
|
|
701
701
|
let e = F(d.modelValue);
|
|
702
702
|
x.value = e, q(), p(V);
|
|
703
703
|
}), te(V), ee(() => {
|
|
704
|
-
for (let e of
|
|
705
|
-
|
|
704
|
+
for (let e of E.values()) URL.revokeObjectURL(e);
|
|
705
|
+
E.clear();
|
|
706
706
|
}), s({
|
|
707
707
|
choose: W,
|
|
708
708
|
clear: G
|
|
709
709
|
}), (n, s) => (_(), a("div", xe, [
|
|
710
710
|
t.label ? (_(), a("label", {
|
|
711
711
|
key: 0,
|
|
712
|
-
for:
|
|
712
|
+
for: k.value,
|
|
713
713
|
class: "text-xs font-bold text-secondary-800 dark:text-zinc-200"
|
|
714
714
|
}, [c(C(t.label) + " ", 1), t.required ? (_(), a("span", Ce, "*")) : i("", !0)], 8, Se)) : i("", !0),
|
|
715
715
|
l(w(I), {
|
|
@@ -734,7 +734,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
734
734
|
},
|
|
735
735
|
onSelect: H
|
|
736
736
|
}, {
|
|
737
|
-
content:
|
|
737
|
+
content: O(({ removeFileCallback: c }) => [o("div", we, [x.value.length ? (_(), a("div", Oe, [(_(!0), a(e, null, y(x.value, (e, r) => (_(), a("div", {
|
|
738
738
|
key: `${e.name}-${e.size}-${e.lastModified}`,
|
|
739
739
|
class: "flex min-w-0 items-center gap-3 rounded-[10px] border border-secondary-300 bg-white p-3 dark:border-zinc-600 dark:bg-zinc-900"
|
|
740
740
|
}, [
|
|
@@ -842,7 +842,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
842
842
|
},
|
|
843
843
|
emits: ["update:modelValue"],
|
|
844
844
|
setup(e, { emit: t }) {
|
|
845
|
-
let r = e, o = t, s =
|
|
845
|
+
let r = e, o = t, s = ne(), u = T(), d = n(() => s.id === void 0 || s.id === null || s.id === "" ? u : String(s.id)), p = n(() => `${d.value}-error`), m = n(() => {
|
|
846
846
|
if (r.error) return !0;
|
|
847
847
|
let e = s["aria-invalid"];
|
|
848
848
|
return typeof e == "boolean" || e === "true" || e === "false" || e === "grammar" || e === "spelling" ? e : void 0;
|
|
@@ -937,7 +937,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
937
937
|
let t = new Set(f.value);
|
|
938
938
|
t.has(e.id) ? t.delete(e.id) : t.add(e.id), f.value = t;
|
|
939
939
|
}
|
|
940
|
-
|
|
940
|
+
D(() => [u.activeItemId, u.items], () => {
|
|
941
941
|
let e = new Set(f.value);
|
|
942
942
|
u.items.forEach((t) => {
|
|
943
943
|
p(t).length && h(t) && e.add(t.id);
|
|
@@ -981,7 +981,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
981
981
|
"aria-hidden": "true"
|
|
982
982
|
}, null, 2)) : i("", !0)
|
|
983
983
|
], 10, Be), l(t, { name: "top-nav-bar-menu-expand" }, {
|
|
984
|
-
default:
|
|
984
|
+
default: O(() => [p(e).length && ee(e) ? (_(), r(u, {
|
|
985
985
|
key: 0,
|
|
986
986
|
items: p(e),
|
|
987
987
|
"active-item-id": s.activeItemId,
|
|
@@ -1000,161 +1000,165 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1000
1000
|
}
|
|
1001
1001
|
}), We = ["aria-expanded"], Ge = { class: "top-nav-bar__brand" }, Ke = {
|
|
1002
1002
|
key: 1,
|
|
1003
|
-
class: "top-nav-
|
|
1003
|
+
class: "top-nav-bar__brand-context-divider",
|
|
1004
|
+
"aria-hidden": "true"
|
|
1004
1005
|
}, qe = {
|
|
1006
|
+
key: 2,
|
|
1007
|
+
class: "top-nav-bar__context"
|
|
1008
|
+
}, Je = {
|
|
1005
1009
|
key: 0,
|
|
1006
1010
|
class: "top-nav-bar__client"
|
|
1007
|
-
},
|
|
1011
|
+
}, Ye = ["src"], Xe = {
|
|
1008
1012
|
key: 1,
|
|
1009
1013
|
class: "top-nav-bar__client-logo"
|
|
1010
|
-
},
|
|
1014
|
+
}, Ze = {
|
|
1011
1015
|
key: 2,
|
|
1012
1016
|
class: "top-nav-bar__client-details"
|
|
1013
|
-
},
|
|
1017
|
+
}, Qe = { class: "top-nav-bar__client-name" }, $e = {
|
|
1014
1018
|
key: 0,
|
|
1015
1019
|
class: "top-nav-bar__client-subtitle"
|
|
1016
|
-
},
|
|
1020
|
+
}, et = { class: "top-nav-bar__desktop-tools" }, tt = {
|
|
1017
1021
|
key: 0,
|
|
1018
1022
|
class: "top-nav-bar__search-shell",
|
|
1019
1023
|
"data-top-nav-search": ""
|
|
1020
|
-
},
|
|
1024
|
+
}, nt = ["value", "placeholder"], rt = ["aria-label"], it = {
|
|
1021
1025
|
key: 1,
|
|
1022
1026
|
class: "top-nav-bar__search-results",
|
|
1023
1027
|
role: "menu"
|
|
1024
|
-
},
|
|
1028
|
+
}, at = { class: "top-nav-bar__search-results-scroll" }, ot = ["disabled", "onClick"], st = {
|
|
1025
1029
|
key: 0,
|
|
1026
1030
|
class: "top-nav-bar__empty"
|
|
1027
|
-
},
|
|
1031
|
+
}, ct = {
|
|
1028
1032
|
key: 1,
|
|
1029
1033
|
class: "top-nav-bar__quick-actions",
|
|
1030
1034
|
"data-top-nav-actions": ""
|
|
1031
|
-
},
|
|
1035
|
+
}, lt = [
|
|
1032
1036
|
"disabled",
|
|
1033
1037
|
"aria-label",
|
|
1034
1038
|
"aria-pressed",
|
|
1035
1039
|
"title",
|
|
1036
1040
|
"onClick"
|
|
1037
|
-
],
|
|
1041
|
+
], ut = ["aria-expanded"], dt = {
|
|
1038
1042
|
key: 0,
|
|
1039
1043
|
class: "top-nav-bar__popover-layer top-nav-bar__actions-layer"
|
|
1040
|
-
},
|
|
1044
|
+
}, ft = {
|
|
1041
1045
|
class: "top-nav-bar__small-panel",
|
|
1042
1046
|
role: "menu"
|
|
1043
|
-
},
|
|
1047
|
+
}, pt = ["disabled", "onClick"], mt = {
|
|
1044
1048
|
key: 2,
|
|
1045
1049
|
class: "top-nav-bar__custom-actions"
|
|
1046
|
-
},
|
|
1050
|
+
}, ht = ["aria-haspopup", "aria-expanded"], gt = ["src"], _t = {
|
|
1047
1051
|
key: 1,
|
|
1048
1052
|
class: "top-nav-bar__user-avatar"
|
|
1049
|
-
},
|
|
1053
|
+
}, vt = {
|
|
1050
1054
|
key: 2,
|
|
1051
1055
|
class: "top-nav-bar__user-details"
|
|
1052
|
-
},
|
|
1056
|
+
}, yt = { class: "top-nav-bar__user-name" }, bt = {
|
|
1053
1057
|
key: 0,
|
|
1054
1058
|
class: "top-nav-bar__user-subtitle"
|
|
1055
|
-
},
|
|
1059
|
+
}, xt = {
|
|
1056
1060
|
key: 0,
|
|
1057
1061
|
class: "pi pi-chevron-down top-nav-bar__chevron",
|
|
1058
1062
|
"aria-hidden": "true"
|
|
1059
|
-
},
|
|
1063
|
+
}, St = {
|
|
1060
1064
|
key: 0,
|
|
1061
1065
|
class: "top-nav-bar__popover-layer top-nav-bar__user-layer"
|
|
1062
|
-
},
|
|
1066
|
+
}, Ct = {
|
|
1063
1067
|
class: "top-nav-bar__small-panel top-nav-bar__user-dropdown",
|
|
1064
1068
|
role: "menu"
|
|
1065
|
-
},
|
|
1069
|
+
}, wt = {
|
|
1066
1070
|
key: 0,
|
|
1067
1071
|
class: "top-nav-bar__user-separator",
|
|
1068
1072
|
role: "separator"
|
|
1069
|
-
},
|
|
1073
|
+
}, Tt = ["disabled", "onClick"], Et = {
|
|
1070
1074
|
class: "top-nav-bar__breadcrumbs",
|
|
1071
1075
|
"aria-label": "Breadcrumb"
|
|
1072
|
-
},
|
|
1076
|
+
}, Dt = {
|
|
1073
1077
|
key: 0,
|
|
1074
1078
|
class: "top-nav-bar__separator top-nav-bar__desktop-navigation-separator",
|
|
1075
1079
|
"aria-hidden": "true"
|
|
1076
|
-
},
|
|
1080
|
+
}, Ot = ["aria-expanded"], kt = {
|
|
1077
1081
|
key: 0,
|
|
1078
1082
|
class: "top-nav-bar__menu-layer"
|
|
1079
|
-
},
|
|
1083
|
+
}, At = {
|
|
1080
1084
|
class: "top-nav-bar__menu-panel",
|
|
1081
1085
|
role: "menu"
|
|
1082
|
-
},
|
|
1086
|
+
}, jt = { class: "top-nav-bar__section-list" }, Mt = [
|
|
1083
1087
|
"aria-expanded",
|
|
1084
1088
|
"onMouseenter",
|
|
1085
1089
|
"onClick"
|
|
1086
|
-
],
|
|
1090
|
+
], Nt = { class: "top-nav-bar__menu-label" }, Pt = { class: "top-nav-bar__item-count" }, Ft = {
|
|
1087
1091
|
key: 0,
|
|
1088
1092
|
class: "top-nav-bar__submenu-region"
|
|
1089
|
-
},
|
|
1093
|
+
}, It = [
|
|
1090
1094
|
"disabled",
|
|
1091
1095
|
"aria-haspopup",
|
|
1092
1096
|
"aria-expanded",
|
|
1093
1097
|
"onMouseenter",
|
|
1094
1098
|
"onClick"
|
|
1095
|
-
],
|
|
1099
|
+
], Lt = { class: "top-nav-bar__menu-label" }, Rt = {
|
|
1096
1100
|
key: 1,
|
|
1097
1101
|
class: "pi pi-chevron-right top-nav-bar__menu-arrow",
|
|
1098
1102
|
"aria-hidden": "true"
|
|
1099
|
-
},
|
|
1103
|
+
}, zt = ["onMouseenter"], Bt = {
|
|
1100
1104
|
key: 0,
|
|
1101
1105
|
class: "top-nav-bar__crumb top-nav-bar__crumb--static"
|
|
1102
|
-
},
|
|
1106
|
+
}, Vt = ["aria-expanded", "onClick"], Ht = {
|
|
1103
1107
|
key: 2,
|
|
1104
1108
|
class: "top-nav-bar__menu-layer"
|
|
1105
|
-
},
|
|
1109
|
+
}, Ut = {
|
|
1106
1110
|
class: "top-nav-bar__menu-panel top-nav-bar__breadcrumb-panel",
|
|
1107
1111
|
role: "menu"
|
|
1108
|
-
},
|
|
1112
|
+
}, Wt = [
|
|
1109
1113
|
"disabled",
|
|
1110
1114
|
"onMouseenter",
|
|
1111
1115
|
"onClick"
|
|
1112
|
-
],
|
|
1116
|
+
], Gt = { class: "top-nav-bar__menu-label" }, Kt = {
|
|
1113
1117
|
key: 1,
|
|
1114
1118
|
class: "pi pi-chevron-right top-nav-bar__menu-arrow",
|
|
1115
1119
|
"aria-hidden": "true"
|
|
1116
|
-
},
|
|
1120
|
+
}, qt = ["onClick"], Jt = ["title"], Yt = { class: "top-nav-bar__current-label" }, Xt = ["aria-label", "aria-pressed"], Zt = { class: "top-nav-bar__breadcrumb-actions" }, Qt = ["aria-expanded"], $t = {
|
|
1117
1121
|
key: 0,
|
|
1118
1122
|
class: "top-nav-bar__popover-layer top-nav-bar__favorites-layer"
|
|
1119
|
-
},
|
|
1123
|
+
}, en = {
|
|
1120
1124
|
class: "top-nav-bar__small-panel top-nav-bar__favorites-panel",
|
|
1121
1125
|
role: "menu"
|
|
1122
|
-
},
|
|
1126
|
+
}, tn = ["disabled", "onClick"], nn = { class: "top-nav-bar__favorites-title" }, rn = {
|
|
1123
1127
|
key: 0,
|
|
1124
1128
|
class: "top-nav-bar__favorites-separator"
|
|
1125
|
-
},
|
|
1129
|
+
}, an = {
|
|
1126
1130
|
key: 0,
|
|
1127
1131
|
class: "top-nav-bar__favorites-row top-nav-bar__desktop-only"
|
|
1128
|
-
},
|
|
1132
|
+
}, on = { class: "top-nav-bar__favorites-title" }, sn = { class: "top-nav-bar__favorites-list" }, cn = {
|
|
1129
1133
|
key: 0,
|
|
1130
1134
|
class: "top-nav-bar__favorites-separator",
|
|
1131
1135
|
"aria-hidden": "true"
|
|
1132
|
-
},
|
|
1136
|
+
}, ln = ["disabled", "onClick"], un = { class: "top-nav-bar__mobile-menu" }, dn = { class: "top-nav-bar__mobile-menu-header" }, fn = { class: "top-nav-bar__drawer-brand" }, pn = ["onClick"], mn = {
|
|
1133
1137
|
key: 0,
|
|
1134
1138
|
class: "top-nav-bar__drawer-tools"
|
|
1135
|
-
},
|
|
1139
|
+
}, hn = { class: "top-nav-bar__drawer-search" }, gn = ["value", "placeholder"], _n = ["disabled", "onClick"], vn = { class: "top-nav-bar__mobile-menu-scroll" }, yn = { class: "top-nav-bar__mobile-menu-track" }, bn = {
|
|
1136
1140
|
key: 0,
|
|
1137
1141
|
class: "top-nav-bar__mobile-favorites"
|
|
1138
|
-
},
|
|
1142
|
+
}, xn = ["aria-expanded"], Sn = { class: "top-nav-bar__mobile-item-label" }, Cn = { class: "top-nav-bar__mobile-count" }, wn = {
|
|
1139
1143
|
key: 1,
|
|
1140
1144
|
class: "top-nav-bar__drawer-empty"
|
|
1141
|
-
},
|
|
1145
|
+
}, Tn = {
|
|
1142
1146
|
key: 1,
|
|
1143
1147
|
class: "top-nav-bar__mobile-footer"
|
|
1144
|
-
},
|
|
1148
|
+
}, En = ["aria-haspopup", "aria-expanded"], Dn = ["src"], On = {
|
|
1145
1149
|
key: 1,
|
|
1146
1150
|
class: "top-nav-bar__user-avatar"
|
|
1147
|
-
},
|
|
1151
|
+
}, kn = {
|
|
1148
1152
|
key: 2,
|
|
1149
1153
|
class: "top-nav-bar__user-details"
|
|
1150
|
-
},
|
|
1154
|
+
}, An = { class: "top-nav-bar__user-name" }, jn = {
|
|
1151
1155
|
key: 0,
|
|
1152
1156
|
class: "top-nav-bar__user-subtitle"
|
|
1153
|
-
},
|
|
1157
|
+
}, Mn = {
|
|
1154
1158
|
key: 3,
|
|
1155
1159
|
class: "pi pi-chevron-down top-nav-bar__mobile-chevron",
|
|
1156
1160
|
"aria-hidden": "true"
|
|
1157
|
-
},
|
|
1161
|
+
}, Nn = 120, Pn = 24, Fn = /* @__PURE__ */ u({
|
|
1158
1162
|
__name: "TopNavBar",
|
|
1159
1163
|
props: {
|
|
1160
1164
|
sections: { default: () => [] },
|
|
@@ -1220,7 +1224,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1220
1224
|
"user-click"
|
|
1221
1225
|
],
|
|
1222
1226
|
setup(s, { expose: u, emit: d }) {
|
|
1223
|
-
let f = s, h = d, x =
|
|
1227
|
+
let f = s, h = d, x = E(), S = v(null), ne = v(null), T = v(null), k = v(null), j = v(null), M = v(null), N = v(f.mobileOpen ?? !1), P = v(!1), F = v(null), I = v([]), L = v(null), R = v([]), z = v(!1), B = v(!1), V = v(!1), ae = v(null), H = v(!1), U = v(!1), W = v(!1), oe = v(!0), se = v(!1), G = v(f.searchValue ?? ""), K = v(!1), q = v(!1), ce = v(!1), J = v({
|
|
1224
1228
|
collapseActions: !1,
|
|
1225
1229
|
searchIconOnly: !1,
|
|
1226
1230
|
hideUserName: !1,
|
|
@@ -1357,26 +1361,26 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1357
1361
|
label: e.label,
|
|
1358
1362
|
icon: e.icon,
|
|
1359
1363
|
disabled: e.disabled,
|
|
1360
|
-
command: () =>
|
|
1364
|
+
command: () => zn(e)
|
|
1361
1365
|
})), Ve = n(() => {
|
|
1362
1366
|
let e = f.appearance, t = {}, n = (e, n) => {
|
|
1363
1367
|
n !== void 0 && n !== "" && (t[e] = n);
|
|
1364
1368
|
};
|
|
1365
1369
|
return n("--top-nav-bg", e.colors?.navigation), n("--top-nav-breadcrumb-bg", e.surfaces?.breadcrumb ?? e.colors?.navigation), n("--top-nav-drawer-bg", e.surfaces?.drawer ?? e.colors?.navigation), n("--top-nav-drawer-footer-bg", e.surfaces?.drawerFooter), n("--top-nav-fg", e.colors?.text), n("--top-nav-muted-fg", e.colors?.mutedText), n("--top-nav-accent", e.colors?.accent), n("--top-nav-menu-bg", e.surfaces?.menu), n("--top-nav-menu-fg", e.colors?.menuText), n("--top-nav-menu-hover", e.surfaces?.menuHover), n("--top-nav-menu-explored", e.surfaces?.menuExplored), n("--top-nav-border", e.colors?.border), n("--top-nav-menu-border", e.borders?.menu), n("--top-nav-menu-outline", e.borders?.menuOutline), n("--top-nav-radius", e.shape?.radius), n("--top-nav-drawer-radius", e.shape?.drawerRadius), n("--top-nav-shadow", e.shape?.shadow), n("--top-nav-mobile-active-bg", e.surfaces?.mobileActive), n("--top-nav-mobile-active-fg", e.colors?.mobileActiveText), n("--top-nav-mobile-divider", e.borders?.mobileDivider), n("--top-nav-favorites-bg", e.surfaces?.favorites), n("--top-nav-favorites-fg", e.colors?.favoritesText), n("--top-nav-favorites-border", e.borders?.favorites), n("--top-nav-favorites-shadow", e.shape?.favoritesShadow), n("--top-nav-focus-ring", e.focus?.onDark), n("--top-nav-focus-ring-light", e.focus?.onLight), n("--top-nav-current-bg", e.surfaces?.currentPage), n("--top-nav-current-border", e.borders?.currentPage), t;
|
|
1366
1370
|
}), He = n(() => f.client ? f.client.initials ? f.client.initials : f.client.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : "");
|
|
1367
|
-
function
|
|
1371
|
+
function Fn() {
|
|
1368
1372
|
let e = Math.max(0, window.scrollY);
|
|
1369
|
-
if (!W.value && e >=
|
|
1373
|
+
if (!W.value && e >= Nn) {
|
|
1370
1374
|
W.value = !0;
|
|
1371
1375
|
return;
|
|
1372
1376
|
}
|
|
1373
|
-
W.value && e <=
|
|
1377
|
+
W.value && e <= Pn && (W.value = !1);
|
|
1374
1378
|
}
|
|
1375
|
-
function
|
|
1376
|
-
let e =
|
|
1379
|
+
function In() {
|
|
1380
|
+
let e = T.value, t = k.value;
|
|
1377
1381
|
!e || !t || (oe.value = t.scrollWidth <= e.clientWidth + 1);
|
|
1378
1382
|
}
|
|
1379
|
-
function
|
|
1383
|
+
function Ln() {
|
|
1380
1384
|
fe = window.requestAnimationFrame(() => {
|
|
1381
1385
|
fe = window.requestAnimationFrame(() => {
|
|
1382
1386
|
se.value = !0;
|
|
@@ -1387,44 +1391,44 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1387
1391
|
return typeof window < "u" && window.matchMedia?.("(hover: hover) and (pointer: fine)").matches;
|
|
1388
1392
|
}
|
|
1389
1393
|
function $(e) {
|
|
1390
|
-
e.disabled || (h("navigate", e), N.value = !1,
|
|
1394
|
+
e.disabled || (h("navigate", e), N.value = !1, er());
|
|
1391
1395
|
}
|
|
1392
|
-
function
|
|
1396
|
+
function Rn(e, t = !1) {
|
|
1393
1397
|
e.disabled || (e.kind === "aia" ? h("toggle-aia") : e.kind === "support" ? h("open-support") : h("action", e), z.value = !1, t && (N.value = !1));
|
|
1394
1398
|
}
|
|
1395
|
-
function
|
|
1399
|
+
function zn(e, t = !1) {
|
|
1396
1400
|
e.disabled || e.separator || (h("user-action", e), B.value = !1, V.value = !1, t && (N.value = !1));
|
|
1397
1401
|
}
|
|
1398
|
-
function
|
|
1402
|
+
function Bn(e) {
|
|
1399
1403
|
if (!X.value) {
|
|
1400
1404
|
h("user-click", f.user);
|
|
1401
1405
|
return;
|
|
1402
1406
|
}
|
|
1403
1407
|
ae.value?.toggle(e);
|
|
1404
1408
|
}
|
|
1405
|
-
function
|
|
1409
|
+
function Vn(e) {
|
|
1406
1410
|
G.value = e, h("update:searchValue", e), h("search", e);
|
|
1407
1411
|
}
|
|
1408
|
-
function Vn() {
|
|
1409
|
-
Bn(""), p(() => N.value ? M.value?.focus() : j.value?.focus());
|
|
1410
|
-
}
|
|
1411
1412
|
function Hn() {
|
|
1412
|
-
|
|
1413
|
+
Vn(""), p(() => N.value ? M.value?.focus() : j.value?.focus());
|
|
1413
1414
|
}
|
|
1414
1415
|
function Un() {
|
|
1415
|
-
|
|
1416
|
+
Q() && (P.value = !0);
|
|
1416
1417
|
}
|
|
1417
1418
|
function Wn() {
|
|
1419
|
+
!Q() || window.innerWidth < 1024 || (P.value = !1, F.value = null, I.value = []);
|
|
1420
|
+
}
|
|
1421
|
+
function Gn() {
|
|
1418
1422
|
if (Q()) {
|
|
1419
1423
|
P.value = !0;
|
|
1420
1424
|
return;
|
|
1421
1425
|
}
|
|
1422
1426
|
P.value = !P.value, P.value || (F.value = null, I.value = []);
|
|
1423
1427
|
}
|
|
1424
|
-
function
|
|
1428
|
+
function Kn(e) {
|
|
1425
1429
|
Q() && (F.value = e, I.value = []);
|
|
1426
1430
|
}
|
|
1427
|
-
function
|
|
1431
|
+
function qn(e) {
|
|
1428
1432
|
if (Q()) {
|
|
1429
1433
|
F.value = e, I.value = [];
|
|
1430
1434
|
return;
|
|
@@ -1432,7 +1436,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1432
1436
|
let t = F.value === e;
|
|
1433
1437
|
F.value = t ? null : e, I.value = [];
|
|
1434
1438
|
}
|
|
1435
|
-
function
|
|
1439
|
+
function Jn(e, t, n, r) {
|
|
1436
1440
|
if (r && !Q()) return;
|
|
1437
1441
|
let i = e.value[n];
|
|
1438
1442
|
if (!t.children?.length) {
|
|
@@ -1445,46 +1449,46 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1445
1449
|
}
|
|
1446
1450
|
e.value = i === t.id && !r ? e.value.slice(0, n) : [...e.value.slice(0, n), t.id];
|
|
1447
1451
|
}
|
|
1448
|
-
function Jn(e, t, n) {
|
|
1449
|
-
qn(I, e, t, n);
|
|
1450
|
-
}
|
|
1451
1452
|
function Yn(e, t, n) {
|
|
1452
|
-
|
|
1453
|
+
Jn(I, e, t, n);
|
|
1454
|
+
}
|
|
1455
|
+
function Xn(e, t, n) {
|
|
1456
|
+
Jn(R, e, t, n);
|
|
1453
1457
|
}
|
|
1454
|
-
function
|
|
1458
|
+
function Zn(e) {
|
|
1455
1459
|
Q() && (L.value = e, R.value = []);
|
|
1456
1460
|
}
|
|
1457
|
-
function
|
|
1461
|
+
function Qn() {
|
|
1458
1462
|
!Q() || window.innerWidth < 1024 || (L.value = null, R.value = []);
|
|
1459
1463
|
}
|
|
1460
|
-
function
|
|
1464
|
+
function $n(e) {
|
|
1461
1465
|
if (Q()) {
|
|
1462
1466
|
L.value = e;
|
|
1463
1467
|
return;
|
|
1464
1468
|
}
|
|
1465
1469
|
L.value = L.value === e ? null : e, R.value = [];
|
|
1466
1470
|
}
|
|
1467
|
-
function
|
|
1471
|
+
function er() {
|
|
1468
1472
|
P.value = !1, F.value = null, I.value = [], L.value = null, R.value = [], z.value = !1, B.value = !1, H.value = !1, K.value = !1;
|
|
1469
1473
|
}
|
|
1470
|
-
async function
|
|
1474
|
+
async function tr() {
|
|
1471
1475
|
if (typeof window < "u" && window.innerWidth < 1024) {
|
|
1472
1476
|
N.value = !0, await p(), M.value?.focus();
|
|
1473
1477
|
return;
|
|
1474
1478
|
}
|
|
1475
|
-
q.value = !0, K.value = !0, await p(), j.value?.focus(),
|
|
1479
|
+
q.value = !0, K.value = !0, await p(), j.value?.focus(), ar();
|
|
1476
1480
|
}
|
|
1477
|
-
function
|
|
1481
|
+
function nr() {
|
|
1478
1482
|
window.setTimeout(() => {
|
|
1479
|
-
K.value = !1, J.value.searchIconOnly && !G.value.trim() && (q.value = !1,
|
|
1483
|
+
K.value = !1, J.value.searchIconOnly && !G.value.trim() && (q.value = !1, ar());
|
|
1480
1484
|
}, 150);
|
|
1481
1485
|
}
|
|
1482
|
-
function
|
|
1486
|
+
function rr() {
|
|
1483
1487
|
return Math.round(window.visualViewport?.width ?? window.innerWidth);
|
|
1484
1488
|
}
|
|
1485
|
-
async function
|
|
1486
|
-
if (typeof window > "u" || !
|
|
1487
|
-
let e = ++pe, t =
|
|
1489
|
+
async function ir() {
|
|
1490
|
+
if (typeof window > "u" || !ne.value) return;
|
|
1491
|
+
let e = ++pe, t = rr();
|
|
1488
1492
|
ce.value = t < 1024;
|
|
1489
1493
|
let n = {
|
|
1490
1494
|
collapseActions: !1,
|
|
@@ -1507,7 +1511,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1507
1511
|
"hideUserName",
|
|
1508
1512
|
"hideContextDetails"
|
|
1509
1513
|
]) {
|
|
1510
|
-
let n =
|
|
1514
|
+
let n = ne.value;
|
|
1511
1515
|
if (!n || n.scrollWidth <= n.clientWidth + 1) break;
|
|
1512
1516
|
if (J.value = {
|
|
1513
1517
|
...J.value,
|
|
@@ -1515,24 +1519,24 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1515
1519
|
}, await p(), e !== pe) return;
|
|
1516
1520
|
}
|
|
1517
1521
|
}
|
|
1518
|
-
function
|
|
1522
|
+
function ar() {
|
|
1519
1523
|
typeof window > "u" || (de !== void 0 && window.cancelAnimationFrame(de), de = window.requestAnimationFrame(() => {
|
|
1520
|
-
de = void 0,
|
|
1524
|
+
de = void 0, ir();
|
|
1521
1525
|
}));
|
|
1522
1526
|
}
|
|
1523
|
-
function
|
|
1527
|
+
function or(e) {
|
|
1524
1528
|
let t = e.target;
|
|
1525
1529
|
if (t instanceof Element && !t.closest(".top-nav-bar__mobile-menu")) {
|
|
1526
1530
|
if (!S.value?.contains(t)) {
|
|
1527
|
-
|
|
1531
|
+
er();
|
|
1528
1532
|
return;
|
|
1529
1533
|
}
|
|
1530
1534
|
t.closest("[data-top-nav-navigation]") || (P.value = !1, F.value = null, I.value = []), t.closest("[data-top-nav-breadcrumb]") || (L.value = null, R.value = []), t.closest("[data-top-nav-actions]") || (z.value = !1), t.closest("[data-top-nav-user]") || (B.value = !1), t.closest("[data-top-nav-favorites]") || (H.value = !1), t.closest("[data-top-nav-search]") || (K.value = !1);
|
|
1531
1535
|
}
|
|
1532
1536
|
}
|
|
1533
|
-
function
|
|
1537
|
+
function sr(e) {
|
|
1534
1538
|
if ((e.ctrlKey || e.metaKey) && e.key.toLocaleLowerCase() === "k" && f.searchable) {
|
|
1535
|
-
e.preventDefault(),
|
|
1539
|
+
e.preventDefault(), tr();
|
|
1536
1540
|
return;
|
|
1537
1541
|
}
|
|
1538
1542
|
if (e.key === "Escape") {
|
|
@@ -1540,10 +1544,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1540
1544
|
ae.value?.hide();
|
|
1541
1545
|
return;
|
|
1542
1546
|
}
|
|
1543
|
-
N.value &&= !1,
|
|
1547
|
+
N.value &&= !1, er(), J.value.searchIconOnly && !G.value.trim() && (q.value = !1);
|
|
1544
1548
|
}
|
|
1545
1549
|
}
|
|
1546
|
-
function
|
|
1550
|
+
function cr() {
|
|
1547
1551
|
if (!X.value) {
|
|
1548
1552
|
h("user-click", f.user);
|
|
1549
1553
|
return;
|
|
@@ -1554,33 +1558,33 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1554
1558
|
}
|
|
1555
1559
|
B.value = !B.value;
|
|
1556
1560
|
}
|
|
1557
|
-
function
|
|
1561
|
+
function lr() {
|
|
1558
1562
|
if (Q()) {
|
|
1559
1563
|
H.value = !0;
|
|
1560
1564
|
return;
|
|
1561
1565
|
}
|
|
1562
1566
|
H.value = !H.value;
|
|
1563
1567
|
}
|
|
1564
|
-
return
|
|
1568
|
+
return D(() => f.searchValue, (e) => {
|
|
1565
1569
|
e !== void 0 && e !== G.value && (G.value = e);
|
|
1566
|
-
}),
|
|
1570
|
+
}), D(() => f.mobileOpen, (e) => {
|
|
1567
1571
|
e !== void 0 && e !== N.value && (N.value = e);
|
|
1568
|
-
}),
|
|
1572
|
+
}), D(N, (e) => h("update:mobileOpen", e)), D([
|
|
1569
1573
|
Y,
|
|
1570
1574
|
() => f.user,
|
|
1571
1575
|
Me
|
|
1572
|
-
], () => p(
|
|
1573
|
-
document.addEventListener("keydown",
|
|
1574
|
-
|
|
1576
|
+
], () => p(ar), { deep: !0 }), D(Z, () => p(In), { deep: !0 }), te(() => {
|
|
1577
|
+
document.addEventListener("keydown", sr), document.addEventListener("pointerdown", or), window.addEventListener("resize", ar), window.visualViewport?.addEventListener("resize", ar), window.addEventListener("resize", In), window.addEventListener("scroll", Fn, { passive: !0 }), typeof ResizeObserver < "u" && (le = new ResizeObserver(ar), ne.value && le.observe(ne.value), ue = new ResizeObserver(In), T.value && ue.observe(T.value)), ar(), p(() => {
|
|
1578
|
+
In(), Fn(), Ln();
|
|
1575
1579
|
});
|
|
1576
1580
|
}), ee(() => {
|
|
1577
|
-
document.removeEventListener("keydown",
|
|
1581
|
+
document.removeEventListener("keydown", sr), document.removeEventListener("pointerdown", or), window.removeEventListener("resize", ar), window.visualViewport?.removeEventListener("resize", ar), window.removeEventListener("resize", In), window.removeEventListener("scroll", Fn), le?.disconnect(), ue?.disconnect(), de !== void 0 && window.cancelAnimationFrame(de), fe !== void 0 && window.cancelAnimationFrame(fe);
|
|
1578
1582
|
}), u({
|
|
1579
|
-
close:
|
|
1583
|
+
close: er,
|
|
1580
1584
|
closeDrawer: () => {
|
|
1581
1585
|
N.value = !1;
|
|
1582
1586
|
},
|
|
1583
|
-
focusSearch:
|
|
1587
|
+
focusSearch: tr,
|
|
1584
1588
|
openDrawer: () => {
|
|
1585
1589
|
N.value = !0;
|
|
1586
1590
|
}
|
|
@@ -1593,7 +1597,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1593
1597
|
}, [
|
|
1594
1598
|
o("header", {
|
|
1595
1599
|
ref_key: "headerRef",
|
|
1596
|
-
ref:
|
|
1600
|
+
ref: ne,
|
|
1597
1601
|
class: m(["top-nav-bar__header", { "top-nav-bar__header--context-compact": J.value.hideContextDetails }])
|
|
1598
1602
|
}, [
|
|
1599
1603
|
Re.value ? (_(), a("button", {
|
|
@@ -1608,7 +1612,8 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1608
1612
|
"aria-hidden": "true"
|
|
1609
1613
|
}, null, -1)]], 8, We)) : i("", !0),
|
|
1610
1614
|
o("div", Ge, [b(n.$slots, "brand", { compact: J.value.hideContextDetails })]),
|
|
1611
|
-
Fe.value ? (_(), a("div", Ke
|
|
1615
|
+
Fe.value ? (_(), a("div", Ke)) : i("", !0),
|
|
1616
|
+
Fe.value ? (_(), a("div", qe, [J.value.hideContextDetails && n.$slots["context-compact"] ? b(n.$slots, "context-compact", {
|
|
1612
1617
|
client: s.client,
|
|
1613
1618
|
compact: !0
|
|
1614
1619
|
}, void 0, void 0, 0) : n.$slots.context ? b(n.$slots, "context", {
|
|
@@ -1620,24 +1625,24 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1620
1625
|
}, void 0, void 0, 2) : b(n.$slots, "client", {
|
|
1621
1626
|
client: s.client,
|
|
1622
1627
|
compact: J.value.hideContextDetails
|
|
1623
|
-
}, () => [s.client ? (_(), a("div",
|
|
1628
|
+
}, () => [s.client ? (_(), a("div", Je, [s.client.logoUrl ? (_(), a("img", {
|
|
1624
1629
|
key: 0,
|
|
1625
1630
|
src: s.client.logoUrl,
|
|
1626
1631
|
alt: "",
|
|
1627
1632
|
class: "top-nav-bar__client-logo"
|
|
1628
|
-
}, null, 8,
|
|
1633
|
+
}, null, 8, Ye)) : (_(), a("span", Xe, C(He.value), 1)), J.value.hideContextDetails ? i("", !0) : (_(), a("span", Ze, [o("span", Qe, C(s.client.name), 1), s.client.subtitle ? (_(), a("span", $e, C(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
|
|
1629
1634
|
u[24] ||= o("div", {
|
|
1630
1635
|
class: "top-nav-bar__spacer",
|
|
1631
1636
|
"aria-hidden": "true"
|
|
1632
1637
|
}, null, -1),
|
|
1633
|
-
o("div",
|
|
1634
|
-
s.searchable ? (_(), a("div",
|
|
1638
|
+
o("div", et, [
|
|
1639
|
+
s.searchable ? (_(), a("div", tt, [J.value.searchIconOnly && !q.value ? (_(), a("button", {
|
|
1635
1640
|
key: 0,
|
|
1636
1641
|
class: "top-nav-bar__square-button",
|
|
1637
1642
|
type: "button",
|
|
1638
1643
|
"aria-label": "Pesquisar no menu",
|
|
1639
1644
|
title: "Pesquisar no menu (Ctrl+K)",
|
|
1640
|
-
onClick:
|
|
1645
|
+
onClick: tr
|
|
1641
1646
|
}, [...u[20] ||= [o("i", {
|
|
1642
1647
|
class: "pi pi-search",
|
|
1643
1648
|
"aria-hidden": "true"
|
|
@@ -1658,21 +1663,21 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1658
1663
|
placeholder: s.searchPlaceholder,
|
|
1659
1664
|
"aria-label": "Pesquisar no menu",
|
|
1660
1665
|
onFocus: u[1] ||= (e) => K.value = !0,
|
|
1661
|
-
onBlur:
|
|
1662
|
-
onInput: u[2] ||= (e) =>
|
|
1663
|
-
}, null, 40,
|
|
1666
|
+
onBlur: nr,
|
|
1667
|
+
onInput: u[2] ||= (e) => Vn(e.target.value)
|
|
1668
|
+
}, null, 40, nt),
|
|
1664
1669
|
G.value || J.value.searchIconOnly && q.value ? (_(), a("button", {
|
|
1665
1670
|
key: 0,
|
|
1666
1671
|
class: "top-nav-bar__search-clear",
|
|
1667
1672
|
type: "button",
|
|
1668
1673
|
"aria-label": G.value ? "Limpar pesquisa" : "Fechar pesquisa",
|
|
1669
1674
|
onMousedown: u[3] ||= A(() => {}, ["prevent"]),
|
|
1670
|
-
onClick: u[4] ||= (e) => G.value ?
|
|
1675
|
+
onClick: u[4] ||= (e) => G.value ? Hn() : q.value = !1
|
|
1671
1676
|
}, [...u[21] ||= [o("i", {
|
|
1672
1677
|
class: "pi pi-times",
|
|
1673
1678
|
"aria-hidden": "true"
|
|
1674
|
-
}, null, -1)]], 40,
|
|
1675
|
-
K.value ? (_(), a("div",
|
|
1679
|
+
}, null, -1)]], 40, rt)) : i("", !0),
|
|
1680
|
+
K.value ? (_(), a("div", it, [o("div", at, [b(n.$slots, "search-results", {
|
|
1676
1681
|
items: ye.value,
|
|
1677
1682
|
select: $
|
|
1678
1683
|
}, () => [(_(!0), a(e, null, y(ye.value, (e) => (_(), a("button", {
|
|
@@ -1687,9 +1692,9 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1687
1692
|
key: 0,
|
|
1688
1693
|
class: m(e.icon),
|
|
1689
1694
|
"aria-hidden": "true"
|
|
1690
|
-
}, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 40,
|
|
1695
|
+
}, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 40, ot))), 128)), ye.value.length ? i("", !0) : (_(), a("span", st, "Nenhum item encontrado."))])])])) : i("", !0)
|
|
1691
1696
|
], 2))])) : i("", !0),
|
|
1692
|
-
Me.value.length ? (_(), a("div",
|
|
1697
|
+
Me.value.length ? (_(), a("div", ct, [J.value.collapseActions ? (_(), a(e, { key: 1 }, [o("button", {
|
|
1693
1698
|
class: "top-nav-bar__square-button",
|
|
1694
1699
|
type: "button",
|
|
1695
1700
|
"aria-label": "Mais ações",
|
|
@@ -1698,17 +1703,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1698
1703
|
}, [...u[23] ||= [o("i", {
|
|
1699
1704
|
class: "pi pi-ellipsis-h",
|
|
1700
1705
|
"aria-hidden": "true"
|
|
1701
|
-
}, null, -1)]], 8,
|
|
1706
|
+
}, null, -1)]], 8, ut), z.value ? (_(), a("div", dt, [o("div", ft, [(_(!0), a(e, null, y(Me.value, (e) => (_(), a("button", {
|
|
1702
1707
|
key: e.id,
|
|
1703
1708
|
class: "top-nav-bar__menu-item",
|
|
1704
1709
|
type: "button",
|
|
1705
1710
|
role: "menuitem",
|
|
1706
1711
|
disabled: e.disabled,
|
|
1707
|
-
onClick: (t) =>
|
|
1712
|
+
onClick: (t) => Rn(e)
|
|
1708
1713
|
}, [o("i", {
|
|
1709
1714
|
class: m(e.icon),
|
|
1710
1715
|
"aria-hidden": "true"
|
|
1711
|
-
}, null, 2), o("span", null, C(e.label), 1)], 8,
|
|
1716
|
+
}, null, 2), o("span", null, C(e.label), 1)], 8, pt))), 128))])])) : i("", !0)], 64)) : (_(!0), a(e, { key: 0 }, y(Me.value, (e) => (_(), a("button", {
|
|
1712
1717
|
key: e.id,
|
|
1713
1718
|
class: m(["top-nav-bar__square-button", { "top-nav-bar__square-button--active": e.kind === "aia" && s.aiaActive }]),
|
|
1714
1719
|
type: "button",
|
|
@@ -1716,7 +1721,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1716
1721
|
"aria-label": e.label,
|
|
1717
1722
|
"aria-pressed": e.kind === "aia" ? s.aiaActive : void 0,
|
|
1718
1723
|
title: e.label,
|
|
1719
|
-
onClick: (t) =>
|
|
1724
|
+
onClick: (t) => Rn(e)
|
|
1720
1725
|
}, [e.kind === "aia" ? b(n.$slots, "aia-icon", {}, () => [o("i", {
|
|
1721
1726
|
class: m(e.icon),
|
|
1722
1727
|
"aria-hidden": "true"
|
|
@@ -1727,10 +1732,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1727
1732
|
key: 2,
|
|
1728
1733
|
class: m(e.icon),
|
|
1729
1734
|
"aria-hidden": "true"
|
|
1730
|
-
}, null, 2))], 10,
|
|
1731
|
-
n.$slots.actions ? (_(), a("div",
|
|
1735
|
+
}, null, 2))], 10, lt))), 128))])) : i("", !0),
|
|
1736
|
+
n.$slots.actions ? (_(), a("div", mt, [b(n.$slots, "actions", {
|
|
1732
1737
|
compact: J.value.collapseActions,
|
|
1733
|
-
close:
|
|
1738
|
+
close: er
|
|
1734
1739
|
})])) : i("", !0),
|
|
1735
1740
|
Pe.value ? (_(), a("div", {
|
|
1736
1741
|
key: 3,
|
|
@@ -1743,7 +1748,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1743
1748
|
type: "button",
|
|
1744
1749
|
"aria-haspopup": X.value ? "menu" : void 0,
|
|
1745
1750
|
"aria-expanded": X.value ? B.value : void 0,
|
|
1746
|
-
onClick:
|
|
1751
|
+
onClick: cr
|
|
1747
1752
|
}, [b(n.$slots, "user", {
|
|
1748
1753
|
user: s.user,
|
|
1749
1754
|
compact: J.value.hideUserName
|
|
@@ -1752,42 +1757,42 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1752
1757
|
src: s.user.avatarUrl,
|
|
1753
1758
|
alt: "",
|
|
1754
1759
|
class: "top-nav-bar__user-avatar"
|
|
1755
|
-
}, null, 8,
|
|
1760
|
+
}, null, 8, gt)) : (_(), a("span", _t, C(ze.value), 1)), s.user && !J.value.hideUserName ? (_(), a("span", vt, [o("span", yt, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", bt, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), X.value ? (_(), a("i", xt)) : i("", !0)], 8, ht), X.value && B.value ? (_(), a("div", St, [o("div", Ct, [b(n.$slots, "user-menu", {
|
|
1756
1761
|
items: Ne.value,
|
|
1757
|
-
select:
|
|
1758
|
-
}, () => [(_(!0), a(e, null, y(Ne.value, (t) => (_(), a(e, { key: t.id }, [t.separator ? (_(), a("div",
|
|
1762
|
+
select: zn
|
|
1763
|
+
}, () => [(_(!0), a(e, null, y(Ne.value, (t) => (_(), a(e, { key: t.id }, [t.separator ? (_(), a("div", wt)) : (_(), a("button", {
|
|
1759
1764
|
key: 1,
|
|
1760
1765
|
class: "top-nav-bar__menu-item",
|
|
1761
1766
|
type: "button",
|
|
1762
1767
|
role: "menuitem",
|
|
1763
1768
|
disabled: t.disabled,
|
|
1764
|
-
onClick: (e) =>
|
|
1769
|
+
onClick: (e) => zn(t)
|
|
1765
1770
|
}, [t.icon ? (_(), a("i", {
|
|
1766
1771
|
key: 0,
|
|
1767
1772
|
class: m(t.icon),
|
|
1768
1773
|
"aria-hidden": "true"
|
|
1769
|
-
}, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8,
|
|
1774
|
+
}, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, Tt))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
|
|
1770
1775
|
])
|
|
1771
1776
|
], 2),
|
|
1772
|
-
o("div",
|
|
1777
|
+
o("div", Et, [
|
|
1773
1778
|
o("button", {
|
|
1774
1779
|
class: "top-nav-bar__crumb",
|
|
1775
1780
|
type: "button",
|
|
1776
1781
|
onClick: u[9] ||= (e) => $(s.homeItem)
|
|
1777
1782
|
}, [l(w(be), { icon: w(he) }, null, 8, ["icon"]), o("span", null, C(s.homeItem.label), 1)]),
|
|
1778
|
-
Y.value.length ? (_(), a("span",
|
|
1783
|
+
Y.value.length ? (_(), a("span", Dt, "/")) : i("", !0),
|
|
1779
1784
|
Y.value.length ? (_(), a("div", {
|
|
1780
1785
|
key: 1,
|
|
1781
1786
|
class: "top-nav-bar__dropdown top-nav-bar__desktop-navigation",
|
|
1782
1787
|
"data-top-nav-navigation": "",
|
|
1783
|
-
onMouseenter:
|
|
1784
|
-
onMouseleave:
|
|
1788
|
+
onMouseenter: Un,
|
|
1789
|
+
onMouseleave: Wn
|
|
1785
1790
|
}, [o("button", {
|
|
1786
1791
|
class: "top-nav-bar__crumb",
|
|
1787
1792
|
type: "button",
|
|
1788
1793
|
"aria-haspopup": "menu",
|
|
1789
1794
|
"aria-expanded": P.value,
|
|
1790
|
-
onClick:
|
|
1795
|
+
onClick: Gn
|
|
1791
1796
|
}, [
|
|
1792
1797
|
u[25] ||= o("i", {
|
|
1793
1798
|
class: "pi pi-bars",
|
|
@@ -1798,28 +1803,28 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1798
1803
|
class: "pi pi-chevron-down top-nav-bar__chevron",
|
|
1799
1804
|
"aria-hidden": "true"
|
|
1800
1805
|
}, null, -1)
|
|
1801
|
-
], 8,
|
|
1806
|
+
], 8, Ot), P.value ? (_(), a("div", kt, [o("div", At, [o("div", jt, [(_(!0), a(e, null, y(Y.value, (e) => (_(), a("button", {
|
|
1802
1807
|
key: e.id,
|
|
1803
1808
|
class: m(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--explored": F.value === e.id }]),
|
|
1804
1809
|
type: "button",
|
|
1805
1810
|
role: "menuitem",
|
|
1806
1811
|
"aria-haspopup": "menu",
|
|
1807
1812
|
"aria-expanded": F.value === e.id,
|
|
1808
|
-
onMouseenter: (t) =>
|
|
1809
|
-
onClick: (t) =>
|
|
1813
|
+
onMouseenter: (t) => Kn(e.id),
|
|
1814
|
+
onClick: (t) => qn(e.id)
|
|
1810
1815
|
}, [
|
|
1811
1816
|
e.icon ? (_(), a("i", {
|
|
1812
1817
|
key: 0,
|
|
1813
1818
|
class: m(e.icon),
|
|
1814
1819
|
"aria-hidden": "true"
|
|
1815
1820
|
}, null, 2)) : i("", !0),
|
|
1816
|
-
o("span",
|
|
1817
|
-
o("span",
|
|
1821
|
+
o("span", Nt, C(e.label), 1),
|
|
1822
|
+
o("span", Pt, C(e.children.length), 1),
|
|
1818
1823
|
u[27] ||= o("i", {
|
|
1819
1824
|
class: "pi pi-chevron-right top-nav-bar__menu-arrow",
|
|
1820
1825
|
"aria-hidden": "true"
|
|
1821
1826
|
}, null, -1)
|
|
1822
|
-
], 42,
|
|
1827
|
+
], 42, Mt))), 128))]), Oe.value ? (_(), a("div", Ft, [(_(!0), a(e, null, y(Ae.value, (t, n) => (_(), a("div", {
|
|
1823
1828
|
key: `navigation-level-${n}`,
|
|
1824
1829
|
class: m(["top-nav-bar__cascade-level", { "top-nav-bar__section-items": n === 0 }]),
|
|
1825
1830
|
role: "menu"
|
|
@@ -1834,17 +1839,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1834
1839
|
disabled: e.disabled,
|
|
1835
1840
|
"aria-haspopup": e.children?.length ? "menu" : void 0,
|
|
1836
1841
|
"aria-expanded": e.children?.length ? I.value[n] === e.id : void 0,
|
|
1837
|
-
onMouseenter: (t) =>
|
|
1838
|
-
onClick: (t) =>
|
|
1842
|
+
onMouseenter: (t) => Yn(e, n, !0),
|
|
1843
|
+
onClick: (t) => Yn(e, n, !1)
|
|
1839
1844
|
}, [
|
|
1840
1845
|
e.icon ? (_(), a("i", {
|
|
1841
1846
|
key: 0,
|
|
1842
1847
|
class: m(e.icon),
|
|
1843
1848
|
"aria-hidden": "true"
|
|
1844
1849
|
}, null, 2)) : i("", !0),
|
|
1845
|
-
o("span",
|
|
1846
|
-
e.children?.length ? (_(), a("i",
|
|
1847
|
-
], 42,
|
|
1850
|
+
o("span", Lt, C(e.label), 1),
|
|
1851
|
+
e.children?.length ? (_(), a("i", Rt)) : i("", !0)
|
|
1852
|
+
], 42, It))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
|
|
1848
1853
|
(_(!0), a(e, null, y(Ee.value, (t, n) => (_(), a(e, { key: t.id }, [o("span", {
|
|
1849
1854
|
class: m(["top-nav-bar__separator", { "top-nav-bar__separator--current": !t.to && n === Ee.value.length - 1 }]),
|
|
1850
1855
|
"aria-hidden": "true"
|
|
@@ -1852,19 +1857,19 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1852
1857
|
key: 0,
|
|
1853
1858
|
class: "top-nav-bar__dropdown top-nav-bar__breadcrumb-dropdown",
|
|
1854
1859
|
"data-top-nav-breadcrumb": "",
|
|
1855
|
-
onMouseenter: (e) => !ce.value &&
|
|
1856
|
-
onMouseleave: u[10] ||= (e) => !ce.value &&
|
|
1857
|
-
}, [ce.value ? (_(), a("span",
|
|
1860
|
+
onMouseenter: (e) => !ce.value && Zn(t.id),
|
|
1861
|
+
onMouseleave: u[10] ||= (e) => !ce.value && Qn()
|
|
1862
|
+
}, [ce.value ? (_(), a("span", Bt, C(t.label), 1)) : (_(), a("button", {
|
|
1858
1863
|
key: 1,
|
|
1859
1864
|
class: "top-nav-bar__crumb",
|
|
1860
1865
|
type: "button",
|
|
1861
1866
|
"aria-haspopup": "menu",
|
|
1862
1867
|
"aria-expanded": L.value === t.id,
|
|
1863
|
-
onClick: (e) =>
|
|
1868
|
+
onClick: (e) => $n(t.id)
|
|
1864
1869
|
}, [o("span", null, C(t.label), 1), u[28] ||= o("i", {
|
|
1865
1870
|
class: "pi pi-chevron-down top-nav-bar__chevron",
|
|
1866
1871
|
"aria-hidden": "true"
|
|
1867
|
-
}, null, -1)], 8,
|
|
1872
|
+
}, null, -1)], 8, Vt)), !ce.value && L.value === t.id ? (_(), a("div", Ht, [o("div", Ut, [(_(!0), a(e, null, y(ke(De(t)?.children ?? [], R.value), (n, r) => (_(), a("div", {
|
|
1868
1873
|
key: `breadcrumb-${t.id}-${r}`,
|
|
1869
1874
|
class: m(["top-nav-bar__cascade-level", { "top-nav-bar__breadcrumb-main-items": r === 0 }])
|
|
1870
1875
|
}, [(_(!0), a(e, null, y(je(n), (n, s) => (_(), a("div", {
|
|
@@ -1876,26 +1881,26 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1876
1881
|
type: "button",
|
|
1877
1882
|
role: "menuitem",
|
|
1878
1883
|
disabled: e.disabled,
|
|
1879
|
-
onMouseenter: (t) =>
|
|
1880
|
-
onClick: (t) =>
|
|
1884
|
+
onMouseenter: (t) => Xn(e, r, !0),
|
|
1885
|
+
onClick: (t) => Xn(e, r, !1)
|
|
1881
1886
|
}, [
|
|
1882
1887
|
e.icon ? (_(), a("i", {
|
|
1883
1888
|
key: 0,
|
|
1884
1889
|
class: m(e.icon),
|
|
1885
1890
|
"aria-hidden": "true"
|
|
1886
1891
|
}, null, 2)) : i("", !0),
|
|
1887
|
-
o("span",
|
|
1888
|
-
e.children?.length ? (_(), a("i",
|
|
1889
|
-
], 42,
|
|
1892
|
+
o("span", Gt, C(e.label), 1),
|
|
1893
|
+
e.children?.length ? (_(), a("i", Kt)) : i("", !0)
|
|
1894
|
+
], 42, Wt))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, zt)) : t.to ? (_(), a("button", {
|
|
1890
1895
|
key: 1,
|
|
1891
1896
|
class: "top-nav-bar__crumb",
|
|
1892
1897
|
type: "button",
|
|
1893
1898
|
onClick: (e) => $(t)
|
|
1894
|
-
}, C(t.label), 9,
|
|
1899
|
+
}, C(t.label), 9, qt)) : (_(), a("span", {
|
|
1895
1900
|
key: 2,
|
|
1896
1901
|
class: "top-nav-bar__current",
|
|
1897
1902
|
title: t.label
|
|
1898
|
-
}, [o("span",
|
|
1903
|
+
}, [o("span", Yt, C(t.label), 1), s.showFavoriteToggle ? (_(), a("button", {
|
|
1899
1904
|
key: 0,
|
|
1900
1905
|
class: "top-nav-bar__favorite-toggle",
|
|
1901
1906
|
type: "button",
|
|
@@ -1905,12 +1910,12 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1905
1910
|
}, [o("i", {
|
|
1906
1911
|
class: m(s.favoriteActive ? "pi pi-star-fill" : "pi pi-star"),
|
|
1907
1912
|
"aria-hidden": "true"
|
|
1908
|
-
}, null, 2)], 8,
|
|
1909
|
-
o("div",
|
|
1913
|
+
}, null, 2)], 8, Xt)) : i("", !0)], 8, Jt))], 64))), 128)),
|
|
1914
|
+
o("div", Zt, [l(t, {
|
|
1910
1915
|
name: "top-nav-bar-favorites-trigger",
|
|
1911
1916
|
css: se.value
|
|
1912
1917
|
}, {
|
|
1913
|
-
default:
|
|
1918
|
+
default: O(() => [Ie.value && Z.value.length ? (_(), a("div", {
|
|
1914
1919
|
key: 0,
|
|
1915
1920
|
class: "top-nav-bar__favorites-menu top-nav-bar__desktop-only",
|
|
1916
1921
|
"data-top-nav-favorites": "",
|
|
@@ -1921,7 +1926,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1921
1926
|
type: "button",
|
|
1922
1927
|
"aria-haspopup": "menu",
|
|
1923
1928
|
"aria-expanded": H.value,
|
|
1924
|
-
onClick:
|
|
1929
|
+
onClick: lr
|
|
1925
1930
|
}, [
|
|
1926
1931
|
u[29] ||= o("i", {
|
|
1927
1932
|
class: "pi pi-star-fill top-nav-bar__accent",
|
|
@@ -1932,7 +1937,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1932
1937
|
class: "pi pi-chevron-down top-nav-bar__chevron",
|
|
1933
1938
|
"aria-hidden": "true"
|
|
1934
1939
|
}, null, -1)
|
|
1935
|
-
], 8,
|
|
1940
|
+
], 8, Qt), H.value ? (_(), a("div", $t, [o("div", en, [(_(!0), a(e, null, y(Z.value, (e) => (_(), a("button", {
|
|
1936
1941
|
key: e.id,
|
|
1937
1942
|
class: "top-nav-bar__menu-item",
|
|
1938
1943
|
type: "button",
|
|
@@ -1943,26 +1948,26 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1943
1948
|
key: 0,
|
|
1944
1949
|
class: m(e.icon),
|
|
1945
1950
|
"aria-hidden": "true"
|
|
1946
|
-
}, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 8,
|
|
1951
|
+
}, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 8, tn))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
|
|
1947
1952
|
_: 1
|
|
1948
1953
|
}, 8, ["css"]), b(n.$slots, "breadcrumb-actions")])
|
|
1949
1954
|
]),
|
|
1950
1955
|
o("div", {
|
|
1951
1956
|
ref_key: "favoritesMeasureContainerRef",
|
|
1952
|
-
ref:
|
|
1957
|
+
ref: T,
|
|
1953
1958
|
class: "top-nav-bar__favorites-measure",
|
|
1954
1959
|
"aria-hidden": "true"
|
|
1955
1960
|
}, [o("div", {
|
|
1956
1961
|
ref_key: "favoritesMeasureContentRef",
|
|
1957
|
-
ref:
|
|
1962
|
+
ref: k,
|
|
1958
1963
|
class: "top-nav-bar__favorites-measure-content"
|
|
1959
|
-
}, [o("span",
|
|
1964
|
+
}, [o("span", nn, [u[31] ||= o("i", {
|
|
1960
1965
|
class: "pi pi-star-fill top-nav-bar__favorites-icon",
|
|
1961
1966
|
"aria-hidden": "true"
|
|
1962
1967
|
}, null, -1), o("span", null, C(s.favoriteLabel), 1)]), (_(!0), a(e, null, y(Z.value, (e, t) => (_(), a("span", {
|
|
1963
1968
|
key: `measure-${e.id}`,
|
|
1964
1969
|
class: "top-nav-bar__favorites-measure-item"
|
|
1965
|
-
}, [t > 0 ? (_(), a("span",
|
|
1970
|
+
}, [t > 0 ? (_(), a("span", rn, "|")) : i("", !0), o("span", null, [e.icon ? (_(), a("i", {
|
|
1966
1971
|
key: 0,
|
|
1967
1972
|
class: m(e.icon),
|
|
1968
1973
|
"aria-hidden": "true"
|
|
@@ -1971,10 +1976,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1971
1976
|
name: "top-nav-bar-favorites-row",
|
|
1972
1977
|
css: se.value
|
|
1973
1978
|
}, {
|
|
1974
|
-
default:
|
|
1979
|
+
default: O(() => [Le.value ? (_(), a("div", an, [o("span", on, [u[32] ||= o("i", {
|
|
1975
1980
|
class: "pi pi-star-fill top-nav-bar__favorites-icon",
|
|
1976
1981
|
"aria-hidden": "true"
|
|
1977
|
-
}, null, -1), o("span", null, C(s.favoriteLabel), 1)]), o("div",
|
|
1982
|
+
}, null, -1), o("span", null, C(s.favoriteLabel), 1)]), o("div", sn, [(_(!0), a(e, null, y(Z.value, (t, n) => (_(), a(e, { key: `row-${t.id}` }, [n > 0 ? (_(), a("span", cn, "|")) : i("", !0), o("button", {
|
|
1978
1983
|
class: "top-nav-bar__favorites-row-item",
|
|
1979
1984
|
type: "button",
|
|
1980
1985
|
disabled: t.disabled,
|
|
@@ -1983,7 +1988,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1983
1988
|
key: 0,
|
|
1984
1989
|
class: m(t.icon),
|
|
1985
1990
|
"aria-hidden": "true"
|
|
1986
|
-
}, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8,
|
|
1991
|
+
}, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, ln)], 64))), 128))])])) : i("", !0)]),
|
|
1987
1992
|
_: 1
|
|
1988
1993
|
}, 8, ["css"]),
|
|
1989
1994
|
l(w(re), {
|
|
@@ -1993,8 +1998,8 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
1993
1998
|
class: "top-nav-bar__mobile-drawer",
|
|
1994
1999
|
style: g([Ve.value, { width: "var(--top-nav-drawer-width, min(22rem, calc(100vw - 1.5rem)))" }])
|
|
1995
2000
|
}, {
|
|
1996
|
-
container:
|
|
1997
|
-
o("header",
|
|
2001
|
+
container: O(({ closeCallback: c }) => [o("div", un, [
|
|
2002
|
+
o("header", dn, [b(n.$slots, "drawer-header", { close: c }, () => [o("div", fn, [b(n.$slots, "drawer-brand", {}, () => [b(n.$slots, "brand", { compact: !1 })])]), o("button", {
|
|
1998
2003
|
class: "top-nav-bar__drawer-close top-nav-bar__square-button",
|
|
1999
2004
|
type: "button",
|
|
2000
2005
|
"aria-label": "Fechar navegação",
|
|
@@ -2002,12 +2007,12 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2002
2007
|
}, [...u[33] ||= [o("i", {
|
|
2003
2008
|
class: "pi pi-times",
|
|
2004
2009
|
"aria-hidden": "true"
|
|
2005
|
-
}, null, -1)]], 8,
|
|
2006
|
-
s.searchable || Me.value.length || n.$slots["drawer-actions"] ? (_(), a("div",
|
|
2010
|
+
}, null, -1)]], 8, pn)])]),
|
|
2011
|
+
s.searchable || Me.value.length || n.$slots["drawer-actions"] ? (_(), a("div", mn, [s.searchable ? b(n.$slots, "drawer-search", {
|
|
2007
2012
|
query: G.value,
|
|
2008
|
-
update:
|
|
2009
|
-
clear:
|
|
2010
|
-
}, () => [o("div",
|
|
2013
|
+
update: Vn,
|
|
2014
|
+
clear: Hn
|
|
2015
|
+
}, () => [o("div", hn, [
|
|
2011
2016
|
u[35] ||= o("i", {
|
|
2012
2017
|
class: "pi pi-search",
|
|
2013
2018
|
"aria-hidden": "true"
|
|
@@ -2020,35 +2025,35 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2020
2025
|
role: "searchbox",
|
|
2021
2026
|
placeholder: s.searchPlaceholder,
|
|
2022
2027
|
"aria-label": "Pesquisar no menu",
|
|
2023
|
-
onInput: u[14] ||= (e) =>
|
|
2024
|
-
}, null, 40,
|
|
2028
|
+
onInput: u[14] ||= (e) => Vn(e.target.value)
|
|
2029
|
+
}, null, 40, gn),
|
|
2025
2030
|
G.value ? (_(), a("button", {
|
|
2026
2031
|
key: 0,
|
|
2027
2032
|
class: "top-nav-bar__search-clear",
|
|
2028
2033
|
type: "button",
|
|
2029
2034
|
"aria-label": "Limpar pesquisa",
|
|
2030
|
-
onClick:
|
|
2035
|
+
onClick: Hn
|
|
2031
2036
|
}, [...u[34] ||= [o("i", {
|
|
2032
2037
|
class: "pi pi-times",
|
|
2033
2038
|
"aria-hidden": "true"
|
|
2034
2039
|
}, null, -1)]])) : i("", !0)
|
|
2035
2040
|
])], void 0, 0) : i("", !0), b(n.$slots, "drawer-actions", {
|
|
2036
2041
|
actions: Me.value,
|
|
2037
|
-
select: (e) =>
|
|
2042
|
+
select: (e) => Rn(e, !0),
|
|
2038
2043
|
close: c
|
|
2039
2044
|
}, () => [(_(!0), a(e, null, y(Me.value, (e) => (_(), a("button", {
|
|
2040
2045
|
key: `drawer-${e.id}`,
|
|
2041
2046
|
class: m(["top-nav-bar__drawer-action", { "top-nav-bar__drawer-action--active": e.kind === "aia" && s.aiaActive }]),
|
|
2042
2047
|
type: "button",
|
|
2043
2048
|
disabled: e.disabled,
|
|
2044
|
-
onClick: (t) =>
|
|
2049
|
+
onClick: (t) => Rn(e, !0)
|
|
2045
2050
|
}, [o("i", {
|
|
2046
2051
|
class: m(e.icon),
|
|
2047
2052
|
"aria-hidden": "true"
|
|
2048
|
-
}, null, 2), o("span", null, C(e.label), 1)], 10,
|
|
2049
|
-
o("div",
|
|
2053
|
+
}, null, 2), o("span", null, C(e.label), 1)], 10, _n))), 128))])])) : i("", !0),
|
|
2054
|
+
o("div", vn, [
|
|
2050
2055
|
b(n.$slots, "drawer-before-menu", { close: c }),
|
|
2051
|
-
o("div",
|
|
2056
|
+
o("div", yn, [Z.value.length ? (_(), a("section", bn, [o("button", {
|
|
2052
2057
|
class: "top-nav-bar__mobile-item",
|
|
2053
2058
|
type: "button",
|
|
2054
2059
|
"aria-expanded": U.value,
|
|
@@ -2058,14 +2063,14 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2058
2063
|
class: "pi pi-star-fill top-nav-bar__accent",
|
|
2059
2064
|
"aria-hidden": "true"
|
|
2060
2065
|
}, null, -1),
|
|
2061
|
-
o("span",
|
|
2062
|
-
o("span",
|
|
2066
|
+
o("span", Sn, C(s.favoriteLabel), 1),
|
|
2067
|
+
o("span", Cn, C(Z.value.length), 1),
|
|
2063
2068
|
o("i", {
|
|
2064
2069
|
class: m(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": U.value }]),
|
|
2065
2070
|
"aria-hidden": "true"
|
|
2066
2071
|
}, null, 2)
|
|
2067
|
-
], 8,
|
|
2068
|
-
default:
|
|
2072
|
+
], 8, xn), l(t, { name: "top-nav-bar-menu-expand" }, {
|
|
2073
|
+
default: O(() => [U.value ? (_(), r(Ue, {
|
|
2069
2074
|
key: 0,
|
|
2070
2075
|
items: Z.value,
|
|
2071
2076
|
"active-item-id": s.activeItemId,
|
|
@@ -2088,10 +2093,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2088
2093
|
"items",
|
|
2089
2094
|
"active-item-id",
|
|
2090
2095
|
"force-open"
|
|
2091
|
-
])) : (_(), a("div",
|
|
2096
|
+
])) : (_(), a("div", wn, "Nenhum menu encontrado."))])]),
|
|
2092
2097
|
b(n.$slots, "drawer-after-menu", { close: c })
|
|
2093
2098
|
]),
|
|
2094
|
-
Pe.value || n.$slots["drawer-footer"] ? (_(), a("footer",
|
|
2099
|
+
Pe.value || n.$slots["drawer-footer"] ? (_(), a("footer", Tn, [Pe.value ? b(n.$slots, "drawer-user", {
|
|
2095
2100
|
user: s.user,
|
|
2096
2101
|
open: V.value,
|
|
2097
2102
|
toggle: () => V.value = !V.value
|
|
@@ -2100,17 +2105,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2100
2105
|
type: "button",
|
|
2101
2106
|
"aria-haspopup": X.value ? "menu" : void 0,
|
|
2102
2107
|
"aria-expanded": X.value ? V.value : void 0,
|
|
2103
|
-
onClick:
|
|
2108
|
+
onClick: Bn
|
|
2104
2109
|
}, [
|
|
2105
2110
|
s.user?.avatarUrl ? (_(), a("img", {
|
|
2106
2111
|
key: 0,
|
|
2107
2112
|
src: s.user.avatarUrl,
|
|
2108
2113
|
alt: "",
|
|
2109
2114
|
class: "top-nav-bar__user-avatar"
|
|
2110
|
-
}, null, 8,
|
|
2111
|
-
s.user ? (_(), a("span",
|
|
2112
|
-
X.value ? (_(), a("i",
|
|
2113
|
-
], 8,
|
|
2115
|
+
}, null, 8, Dn)) : (_(), a("span", On, C(ze.value), 1)),
|
|
2116
|
+
s.user ? (_(), a("span", kn, [o("span", An, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", jn, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0),
|
|
2117
|
+
X.value ? (_(), a("i", Mn)) : i("", !0)
|
|
2118
|
+
], 8, En)], void 0, 0) : i("", !0), b(n.$slots, "drawer-footer", { close: c })])) : i("", !0)
|
|
2114
2119
|
])]),
|
|
2115
2120
|
_: 3
|
|
2116
2121
|
}, 8, ["visible", "style"]),
|
|
@@ -2127,7 +2132,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2127
2132
|
}, null, 8, ["model"])
|
|
2128
2133
|
], 4));
|
|
2129
2134
|
}
|
|
2130
|
-
}),
|
|
2135
|
+
}), In = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, Ln = {
|
|
2131
2136
|
key: 0,
|
|
2132
2137
|
class: "pi pi-spin pi-spinner"
|
|
2133
2138
|
}, Q = {
|
|
@@ -2136,32 +2141,32 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2136
2141
|
}, $ = {
|
|
2137
2142
|
key: 1,
|
|
2138
2143
|
class: "flex items-center gap-1 !text-sm"
|
|
2139
|
-
},
|
|
2144
|
+
}, Rn = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, zn = ["onClick"], Bn = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, Vn = {
|
|
2140
2145
|
key: 1,
|
|
2141
2146
|
class: "flex min-h-[100px] flex-col items-center justify-center gap-2 py-2"
|
|
2142
|
-
},
|
|
2147
|
+
}, Hn = {
|
|
2143
2148
|
key: 0,
|
|
2144
2149
|
class: "text-xs font-medium text-primary-600"
|
|
2145
|
-
},
|
|
2150
|
+
}, Un = {
|
|
2146
2151
|
key: 2,
|
|
2147
2152
|
class: "text-xs text-secondary-500"
|
|
2148
|
-
},
|
|
2153
|
+
}, Wn = { key: 1 }, Gn = {
|
|
2149
2154
|
key: 1,
|
|
2150
2155
|
class: "flex items-center gap-2 font-semibold"
|
|
2151
|
-
},
|
|
2156
|
+
}, Kn = {
|
|
2152
2157
|
key: 1,
|
|
2153
2158
|
class: "flex w-full min-w-0 items-start gap-2 overflow-hidden px-2 py-3 text-sm",
|
|
2154
2159
|
style: { "white-space": "normal" }
|
|
2155
|
-
},
|
|
2160
|
+
}, qn = ["title"], Jn = {
|
|
2156
2161
|
key: 0,
|
|
2157
2162
|
class: "top-select-option-prefix whitespace-nowrap font-bold text-primary-800 dark:text-primary-100"
|
|
2158
|
-
},
|
|
2163
|
+
}, Yn = {
|
|
2159
2164
|
key: 0,
|
|
2160
2165
|
class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
|
|
2161
|
-
},
|
|
2166
|
+
}, Xn = {
|
|
2162
2167
|
key: 0,
|
|
2163
2168
|
class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
|
|
2164
|
-
},
|
|
2169
|
+
}, Zn = /* @__PURE__ */ u({
|
|
2165
2170
|
__name: "TopSelect",
|
|
2166
2171
|
props: {
|
|
2167
2172
|
modelValue: { default: null },
|
|
@@ -2230,7 +2235,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2230
2235
|
"change"
|
|
2231
2236
|
],
|
|
2232
2237
|
setup(t, { expose: r, emit: u }) {
|
|
2233
|
-
let g = t, x = u, S =
|
|
2238
|
+
let g = t, x = u, S = E(), ne = R, T = v(""), A = v(!1), j = v(null), N = `top-select-${Math.random().toString(36).slice(2)}`, P = null, F = n({
|
|
2234
2239
|
get: () => g.modelValue,
|
|
2235
2240
|
set: (e) => x("update:modelValue", e)
|
|
2236
2241
|
});
|
|
@@ -2248,7 +2253,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2248
2253
|
return t && r ? `${r} - ${n}` : n;
|
|
2249
2254
|
}
|
|
2250
2255
|
function z(e) {
|
|
2251
|
-
let t =
|
|
2256
|
+
let t = T.value;
|
|
2252
2257
|
if (!t) return [{
|
|
2253
2258
|
text: e,
|
|
2254
2259
|
highlighted: !1
|
|
@@ -2282,14 +2287,14 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2282
2287
|
}
|
|
2283
2288
|
return r({ hideDropdown: B }), te(() => window.addEventListener("top-select:close-others", ae)), ee(() => {
|
|
2284
2289
|
window.removeEventListener("top-select:close-others", ae), P && clearTimeout(P);
|
|
2285
|
-
}),
|
|
2290
|
+
}), D(() => g.disabled, (e) => {
|
|
2286
2291
|
e && (A.value = !1, B());
|
|
2287
|
-
}),
|
|
2292
|
+
}), D(() => g.options, () => {
|
|
2288
2293
|
A.value || B();
|
|
2289
2294
|
}), (n, r) => (_(), a("div", {
|
|
2290
2295
|
class: m(["top-select top-solutions-component relative w-full", { "pointer-events-none": t.disabled }]),
|
|
2291
2296
|
onFocusin: H
|
|
2292
|
-
}, [o("span",
|
|
2297
|
+
}, [o("span", In, [b(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (_(), a("i", Ln)) : (_(), a("i", Q))])]), l(w(ne), {
|
|
2293
2298
|
ref_key: "autocompleteRef",
|
|
2294
2299
|
ref: j,
|
|
2295
2300
|
modelValue: F.value,
|
|
@@ -2342,46 +2347,46 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2342
2347
|
},
|
|
2343
2348
|
"search-message": " ",
|
|
2344
2349
|
onClear: r[1] ||= (e) => {
|
|
2345
|
-
|
|
2350
|
+
T.value = "", x("clear");
|
|
2346
2351
|
},
|
|
2347
2352
|
onItemSelect: r[2] ||= (e) => {
|
|
2348
|
-
|
|
2353
|
+
T.value = "", x("select", e), U();
|
|
2349
2354
|
},
|
|
2350
2355
|
onComplete: r[3] ||= (e) => {
|
|
2351
2356
|
if (t.disabled) {
|
|
2352
2357
|
B();
|
|
2353
2358
|
return;
|
|
2354
2359
|
}
|
|
2355
|
-
|
|
2360
|
+
T.value = e.query ?? "", V(), x("search", {
|
|
2356
2361
|
...e,
|
|
2357
|
-
query:
|
|
2362
|
+
query: T.value
|
|
2358
2363
|
});
|
|
2359
2364
|
},
|
|
2360
2365
|
onChange: r[4] ||= (e) => x("change", e)
|
|
2361
2366
|
}, s({
|
|
2362
|
-
chip:
|
|
2367
|
+
chip: O((e) => [w(S).chip ? b(n.$slots, "chip", h(d(e)), void 0, void 0, 0) : (_(), a("div", $, [o("div", Rn, [o("i", {
|
|
2363
2368
|
class: "pi pi-times-circle shrink-0 cursor-pointer rounded-full hover:bg-primary-800",
|
|
2364
2369
|
onClick: (t) => e.removeCallback(t)
|
|
2365
|
-
}, null, 8,
|
|
2370
|
+
}, null, 8, zn), k((_(), a("span", Bn, [c(C(ie(e.value)), 1)])), [[
|
|
2366
2371
|
w(M),
|
|
2367
2372
|
ie(e.value),
|
|
2368
2373
|
void 0,
|
|
2369
2374
|
{ top: !0 }
|
|
2370
2375
|
]])])]))]),
|
|
2371
|
-
empty:
|
|
2372
|
-
"selected-item":
|
|
2373
|
-
optiongroup:
|
|
2376
|
+
empty: O(() => [w(S).empty ? b(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (_(), a("div", Vn, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (_(), a("span", Hn, C(t.loadingMessage), 1)) : i("", !0)])) : (_(), a("span", Un, C(t.emptyMessage), 1))]),
|
|
2377
|
+
"selected-item": O((e) => [w(S)["selected-item"] ? b(n.$slots, "selected-item", h(d(e)), void 0, void 0, 0) : e.item ? (_(), a("span", Wn, C(ie(e.item)), 1)) : i("", !0)]),
|
|
2378
|
+
optiongroup: O((e) => [w(S)["option-group"] ? b(n.$slots, "option-group", h(d(e)), void 0, void 0, 0) : (_(), a("div", Gn, [e.option.icon ? (_(), a("i", {
|
|
2374
2379
|
key: 0,
|
|
2375
2380
|
class: m(e.option.icon)
|
|
2376
2381
|
}, null, 2)) : i("", !0), o("span", null, C(e.option[t.optionGroupLabel ?? "label"]), 1)]))]),
|
|
2377
|
-
option:
|
|
2382
|
+
option: O((s) => [w(S).option ? b(n.$slots, "option", f(s, {
|
|
2378
2383
|
label: L(s.option),
|
|
2379
2384
|
prefix: re(s.option),
|
|
2380
|
-
query:
|
|
2381
|
-
}), void 0, void 0, 0) :
|
|
2385
|
+
query: T.value
|
|
2386
|
+
}), void 0, void 0, 0) : k((_(), a("div", Kn, [o("span", {
|
|
2382
2387
|
class: "top-select-option-label line-clamp-2 min-w-0 flex-1 text-secondary-700 dark:text-zinc-200",
|
|
2383
2388
|
title: L(s.option)
|
|
2384
|
-
}, [t.showOptionPrefix && re(s.option) ? (_(), a("span",
|
|
2389
|
+
}, [t.showOptionPrefix && re(s.option) ? (_(), a("span", Jn, [(_(!0), a(e, null, y(z(re(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Yn, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128)), r[6] ||= o("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : i("", !0), (_(!0), a(e, null, y(z(L(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Xn, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128))], 8, qn)])), [[
|
|
2385
2390
|
w(M),
|
|
2386
2391
|
t.showTooltip ? L(s.option) : null,
|
|
2387
2392
|
void 0,
|
|
@@ -2390,7 +2395,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2390
2395
|
_: 2
|
|
2391
2396
|
}, [w(S).footer ? {
|
|
2392
2397
|
name: "footer",
|
|
2393
|
-
fn:
|
|
2398
|
+
fn: O((e) => [b(n.$slots, "footer", h(d(e)))]),
|
|
2394
2399
|
key: "0"
|
|
2395
2400
|
} : void 0]), 1032, [
|
|
2396
2401
|
"modelValue",
|
|
@@ -2410,7 +2415,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2410
2415
|
"pt"
|
|
2411
2416
|
])], 34));
|
|
2412
2417
|
}
|
|
2413
|
-
}),
|
|
2418
|
+
}), Qn = /* @__PURE__ */ u({
|
|
2414
2419
|
inheritAttrs: !1,
|
|
2415
2420
|
__name: "TopTabs",
|
|
2416
2421
|
props: {
|
|
@@ -2438,22 +2443,22 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2438
2443
|
scrollable: t.scrollable,
|
|
2439
2444
|
"onUpdate:value": s[0] ||= (e) => i("update:modelValue", e)
|
|
2440
2445
|
}), {
|
|
2441
|
-
default:
|
|
2442
|
-
default:
|
|
2446
|
+
default: O(() => [l(w(B), null, {
|
|
2447
|
+
default: O(() => [(_(!0), a(e, null, y(t.tabs, (e) => (_(), r(w(z), {
|
|
2443
2448
|
key: e.value,
|
|
2444
2449
|
value: e.value,
|
|
2445
2450
|
disabled: e.disabled
|
|
2446
2451
|
}, {
|
|
2447
|
-
default:
|
|
2452
|
+
default: O(() => [c(C(e.label), 1)]),
|
|
2448
2453
|
_: 2
|
|
2449
2454
|
}, 1032, ["value", "disabled"]))), 128))]),
|
|
2450
2455
|
_: 1
|
|
2451
2456
|
}), l(w(ae), null, {
|
|
2452
|
-
default:
|
|
2457
|
+
default: O(() => [(_(!0), a(e, null, y(t.tabs, (e) => (_(), r(w(V), {
|
|
2453
2458
|
key: e.value,
|
|
2454
2459
|
value: e.value
|
|
2455
2460
|
}, {
|
|
2456
|
-
default:
|
|
2461
|
+
default: O(() => [b(n.$slots, o(e), {
|
|
2457
2462
|
tab: e,
|
|
2458
2463
|
active: t.modelValue === e.value
|
|
2459
2464
|
})]),
|
|
@@ -2468,10 +2473,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2468
2473
|
"scrollable"
|
|
2469
2474
|
]));
|
|
2470
2475
|
}
|
|
2471
|
-
}),
|
|
2476
|
+
}), $n = { class: "top-toast__content" }, er = { class: "top-toast__detail" }, tr = ["onClick"], nr = {
|
|
2472
2477
|
key: 0,
|
|
2473
2478
|
class: "top-toast__footer"
|
|
2474
|
-
},
|
|
2479
|
+
}, rr = /* @__PURE__ */ u({
|
|
2475
2480
|
__name: "TopToast",
|
|
2476
2481
|
props: { baseZIndex: { default: 3e4 } },
|
|
2477
2482
|
setup(e) {
|
|
@@ -2497,9 +2502,9 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2497
2502
|
position: "top-right",
|
|
2498
2503
|
"base-z-index": e.baseZIndex
|
|
2499
2504
|
}, {
|
|
2500
|
-
message:
|
|
2505
|
+
message: O((e) => [o("div", $n, [
|
|
2501
2506
|
o("div", { class: m(["top-toast__summary", d(e.message, "summary")]) }, C(e.message.summary), 3),
|
|
2502
|
-
o("div",
|
|
2507
|
+
o("div", er, C(e.message.detail), 1),
|
|
2503
2508
|
u(e.message) ? b(f.$slots, "action", {
|
|
2504
2509
|
action: n(e.message),
|
|
2505
2510
|
message: e.message,
|
|
@@ -2513,17 +2518,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
|
|
|
2513
2518
|
key: 0,
|
|
2514
2519
|
class: m(n(e.message)?.icon),
|
|
2515
2520
|
"aria-hidden": "true"
|
|
2516
|
-
}, null, 2)) : i("", !0), c(" " + C(n(e.message)?.label), 1)], 10,
|
|
2521
|
+
}, null, 2)) : i("", !0), c(" " + C(n(e.message)?.label), 1)], 10, tr)) : i("", !0)], void 0, 0) : i("", !0),
|
|
2517
2522
|
l(e.message) ? b(f.$slots, "footer", {
|
|
2518
2523
|
message: e.message,
|
|
2519
2524
|
footer: t(e.message)
|
|
2520
|
-
}, () => [t(e.message) === void 0 ? i("", !0) : (_(), a("div",
|
|
2525
|
+
}, () => [t(e.message) === void 0 ? i("", !0) : (_(), a("div", nr, C(t(e.message)), 1))], void 0, 1) : i("", !0)
|
|
2521
2526
|
])]),
|
|
2522
2527
|
_: 3
|
|
2523
2528
|
}, 8, ["base-z-index"]));
|
|
2524
2529
|
}
|
|
2525
2530
|
});
|
|
2526
2531
|
//#endregion
|
|
2527
|
-
export { ze as a, le as c,
|
|
2532
|
+
export { ze as a, le as c, Fn as i, se as l, Qn as n, Fe as o, Zn as r, me as s, rr as t, oe as u };
|
|
2528
2533
|
|
|
2529
|
-
//# sourceMappingURL=TopToast-
|
|
2534
|
+
//# sourceMappingURL=TopToast-BFY94BWZ.js.map
|