@topjoao/top-design-system 0.1.0-beta.14 → 0.1.0-beta.15

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.
@@ -434,7 +434,21 @@ var B = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
434
434
  strokeLinejoin: "round",
435
435
  strokeWidth: "1.5",
436
436
  key: "1"
437
- }]], Q = l({
437
+ }]], Q = [["path", {
438
+ d: "M12.8924 2.80982L21.4876 9.59547C21.8112 9.85095 22 10.2405 22 10.6528C22 11.3969 21.3969 12 20.6528 12H20V15.5C20 18.3284 20 19.7426 19.1213 20.6213C18.2426 21.5 16.8284 21.5 14 21.5H10C7.17157 21.5 5.75736 21.5 4.87868 20.6213C4 19.7426 4 18.3284 4 15.5V12H3.34716C2.60315 12 2 11.3969 2 10.6528C2 10.2405 2.1888 9.85095 2.5124 9.59547L11.1076 2.80982C11.3617 2.60915 11.6761 2.5 12 2.5C12.3239 2.5 12.6383 2.60915 12.8924 2.80982Z",
439
+ stroke: "currentColor",
440
+ strokeLinecap: "round",
441
+ strokeLinejoin: "round",
442
+ strokeWidth: "1.5",
443
+ key: "0"
444
+ }], ["path", {
445
+ d: "M14.5 21.5V17C14.5 16.0654 14.5 15.5981 14.299 15.25C14.1674 15.022 13.978 14.8326 13.75 14.701C13.4019 14.5 12.9346 14.5 12 14.5C11.0654 14.5 10.5981 14.5 10.25 14.701C10.022 14.8326 9.83261 15.022 9.70096 15.25C9.5 15.5981 9.5 16.0654 9.5 17V21.5",
446
+ stroke: "currentColor",
447
+ strokeLinecap: "round",
448
+ strokeLinejoin: "round",
449
+ strokeWidth: "1.5",
450
+ key: "1"
451
+ }]], $ = l({
438
452
  name: "HugeiconsIcon",
439
453
  inheritAttrs: !1,
440
454
  props: {
@@ -492,16 +506,16 @@ var B = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
492
506
  currentIcon: t(() => e.altIcon && e.showAlt ? e.altIcon : e.icon)
493
507
  };
494
508
  }
495
- }), $ = (e, t) => {
509
+ }), re = (e, t) => {
496
510
  let n = e.__vccOpts || e;
497
511
  for (let [e, r] of t) n[e] = r;
498
512
  return n;
499
- }, re = [
513
+ }, ie = [
500
514
  "width",
501
515
  "height",
502
516
  "color"
503
517
  ];
504
- function ie(t, r, a, o, s, c) {
518
+ function ae(t, r, a, o, s, c) {
505
519
  return v(), i("svg", d({
506
520
  width: t.computedSize,
507
521
  height: t.computedSize,
@@ -512,30 +526,30 @@ function ie(t, r, a, o, s, c) {
512
526
  }, t.$attrs), [(v(!0), i(e, null, b(t.currentIcon, (e, r) => (v(), n(S(e[0]), d({
513
527
  key: r,
514
528
  ref_for: !0
515
- }, t.transformAttrs(e[1], t.calculatedStrokeWidth)), null, 16))), 128))], 16, re);
529
+ }, t.transformAttrs(e[1], t.calculatedStrokeWidth)), null, 16))), 128))], 16, ie);
516
530
  }
517
- var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/Desktop/Projects/Hugeicons/hugeicons-monorepo/packages/vue/src/components/HugeiconsIcon.vue"]]), oe = { class: "top-file-upload top-solutions-component flex w-full flex-col gap-1" }, se = ["for"], ce = {
531
+ var oe = /* @__PURE__ */ re($, [["render", ae], ["__file", "/Users/mahmudulhasan/Desktop/Projects/Hugeicons/hugeicons-monorepo/packages/vue/src/components/HugeiconsIcon.vue"]]), se = { class: "top-file-upload top-solutions-component flex w-full flex-col gap-1" }, ce = ["for"], le = {
518
532
  key: 0,
519
533
  "aria-hidden": "true",
520
534
  class: "text-red-600 dark:text-red-400"
521
- }, le = { class: "flex min-h-[130px] w-full flex-col items-center justify-center gap-3" }, ue = {
535
+ }, ue = { class: "flex min-h-[130px] w-full flex-col items-center justify-center gap-3" }, de = {
522
536
  class: "top-file-upload__empty-icon",
523
537
  "aria-hidden": "true"
524
- }, de = {
538
+ }, fe = {
525
539
  key: 0,
526
540
  "aria-label": "Carregando...",
527
541
  class: "pi pi-spin pi-spinner text-5xl"
528
- }, fe = { class: "m-0 text-center text-xs text-secondary-600 dark:text-zinc-300" }, pe = {
542
+ }, pe = { class: "m-0 text-center text-xs text-secondary-600 dark:text-zinc-300" }, me = {
529
543
  key: 1,
530
544
  class: "flex w-full flex-col gap-2"
531
- }, me = ["src", "alt"], he = {
545
+ }, he = ["src", "alt"], ge = {
532
546
  key: 1,
533
547
  class: "flex size-12 shrink-0 items-center justify-center rounded-lg bg-primary-50 text-primary-800 dark:bg-primary-950 dark:text-primary-200"
534
- }, ge = { class: "min-w-0 flex-1" }, _e = { class: "m-0 truncate text-xs font-bold text-secondary-900 dark:text-zinc-100" }, ve = { class: "text-[11px] text-secondary-500 dark:text-zinc-400" }, ye = [
548
+ }, _e = { class: "min-w-0 flex-1" }, ve = { class: "m-0 truncate text-xs font-bold text-secondary-900 dark:text-zinc-100" }, ye = { class: "text-[11px] text-secondary-500 dark:text-zinc-400" }, be = [
535
549
  "aria-label",
536
550
  "disabled",
537
551
  "onClick"
538
- ], be = ["id"], xe = /* @__PURE__ */ l({
552
+ ], xe = ["id"], Se = /* @__PURE__ */ l({
539
553
  inheritAttrs: !1,
540
554
  __name: "TopFileUpload",
541
555
  props: {
@@ -685,12 +699,12 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
685
699
  }), l({
686
700
  choose: Z,
687
701
  clear: te
688
- }), (t, l) => (v(), i("div", oe, [
702
+ }), (t, l) => (v(), i("div", se, [
689
703
  o.label ? (v(), i("label", {
690
704
  key: 0,
691
705
  for: M.value,
692
706
  class: "text-xs font-bold text-secondary-800 dark:text-zinc-200"
693
- }, [s(C(o.label) + " ", 1), o.required ? (v(), i("span", ce, "*")) : r("", !0)], 8, se)) : r("", !0),
707
+ }, [s(C(o.label) + " ", 1), o.required ? (v(), i("span", le, "*")) : r("", !0)], 8, ce)) : r("", !0),
694
708
  c(w(I), {
695
709
  ref_key: "fileUploadRef",
696
710
  ref: S,
@@ -713,7 +727,7 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
713
727
  },
714
728
  onSelect: Y
715
729
  }, {
716
- content: k(({ removeFileCallback: s }) => [a("div", le, [D.value.length ? (v(), i("div", pe, [(v(!0), i(e, null, b(D.value, (e, n) => (v(), i("div", {
730
+ content: k(({ removeFileCallback: s }) => [a("div", ue, [D.value.length ? (v(), i("div", me, [(v(!0), i(e, null, b(D.value, (e, n) => (v(), i("div", {
717
731
  key: `${e.name}-${e.size}-${e.lastModified}`,
718
732
  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"
719
733
  }, [
@@ -726,11 +740,11 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
726
740
  src: Q(e),
727
741
  alt: `Pré-visualização de ${e.name}`,
728
742
  class: "size-12 shrink-0 rounded-lg object-cover"
729
- }, null, 8, me)) : (v(), i("span", he, [...l[0] ||= [a("i", {
743
+ }, null, 8, he)) : (v(), i("span", ge, [...l[0] ||= [a("i", {
730
744
  class: "pi pi-file text-2xl",
731
745
  "aria-hidden": "true"
732
746
  }, null, -1)]]))]),
733
- a("div", ge, [a("p", _e, C(e.name), 1), a("span", ve, C(U(e.size)), 1)]),
747
+ a("div", _e, [a("p", ve, C(e.name), 1), a("span", ye, C(U(e.size)), 1)]),
734
748
  a("button", {
735
749
  type: "button",
736
750
  class: "flex size-8 shrink-0 items-center justify-center rounded-full border-0 bg-transparent p-0 text-red-600 transition-colors hover:bg-red-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:text-red-400 dark:hover:bg-red-950/40 dark:focus-visible:ring-offset-zinc-900",
@@ -740,7 +754,7 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
740
754
  }, [...l[1] ||= [a("i", {
741
755
  class: "pi pi-times",
742
756
  "aria-hidden": "true"
743
- }, null, -1)]], 8, ye)
757
+ }, null, -1)]], 8, be)
744
758
  ]))), 128)), o.multiple && (!o.maxFiles || D.value.length < o.maxFiles) ? (v(), n(V, {
745
759
  key: 0,
746
760
  label: o.selectLabel,
@@ -758,14 +772,14 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
758
772
  choose: Z,
759
773
  disabled: F.value
760
774
  }, () => [
761
- a("span", ue, [o.loading ? (v(), i("i", de)) : (v(), n(w(ae), {
775
+ a("span", de, [o.loading ? (v(), i("i", fe)) : (v(), n(w(oe), {
762
776
  key: 1,
763
777
  icon: w(ne),
764
778
  size: 72,
765
779
  "stroke-width": 1.5,
766
780
  class: "text-primary-800 dark:text-primary-300"
767
781
  }, null, 8, ["icon"]))]),
768
- a("p", fe, C(o.placeholder), 1),
782
+ a("p", pe, C(o.placeholder), 1),
769
783
  c(V, {
770
784
  label: o.selectLabel,
771
785
  icon: "pi pi-plus-circle",
@@ -791,14 +805,14 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
791
805
  id: N.value,
792
806
  class: "text-[11px] text-red-600 dark:text-red-400",
793
807
  role: "alert"
794
- }, C(P.value), 9, be)) : r("", !0)
808
+ }, C(P.value), 9, xe)) : r("", !0)
795
809
  ]));
796
810
  }
797
- }), Se = { class: "top-input-text top-solutions-component flex w-full flex-col gap-1" }, Ce = ["for"], we = {
811
+ }), Ce = { class: "top-input-text top-solutions-component flex w-full flex-col gap-1" }, we = ["for"], Te = {
798
812
  key: 0,
799
813
  "aria-hidden": "true",
800
814
  class: "text-red-600 dark:text-red-400"
801
- }, Te = ["id"], Ee = /* @__PURE__ */ l({
815
+ }, Ee = ["id"], De = /* @__PURE__ */ l({
802
816
  inheritAttrs: !1,
803
817
  __name: "TopInputText",
804
818
  props: {
@@ -832,12 +846,12 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
832
846
  function g(e) {
833
847
  o("update:modelValue", e ?? "");
834
848
  }
835
- return (t, n) => (v(), i("div", Se, [
849
+ return (t, n) => (v(), i("div", Ce, [
836
850
  e.label ? (v(), i("label", {
837
851
  key: 0,
838
852
  for: f.value,
839
853
  class: "top-field-label text-xs font-bold"
840
- }, [s(C(e.label) + " ", 1), e.required ? (v(), i("span", we, "*")) : r("", !0)], 8, Ce)) : r("", !0),
854
+ }, [s(C(e.label) + " ", 1), e.required ? (v(), i("span", Te, "*")) : r("", !0)], 8, we)) : r("", !0),
841
855
  c(w(L), d(t.$attrs, {
842
856
  id: f.value,
843
857
  "model-value": e.modelValue,
@@ -868,50 +882,66 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
868
882
  id: p.value,
869
883
  class: "text-[11px] text-red-600 dark:text-red-400",
870
884
  role: "alert"
871
- }, C(e.error), 9, Te)) : r("", !0)
885
+ }, C(e.error), 9, Ee)) : r("", !0)
872
886
  ]));
873
887
  }
874
- }), De = { class: "top-nav-bar__header" }, Oe = ["aria-expanded"], ke = { class: "top-nav-bar__brand" }, Ae = { class: "top-nav-bar__context" }, je = {
888
+ }), Oe = { class: "top-nav-bar__header" }, ke = ["aria-expanded"], Ae = { class: "top-nav-bar__brand" }, je = { class: "top-nav-bar__context" }, Me = {
875
889
  key: 1,
876
890
  class: "top-nav-bar__search"
877
- }, Me = ["value", "placeholder"], Ne = {
891
+ }, Ne = ["value", "placeholder"], Pe = {
878
892
  key: 0,
879
893
  class: "top-nav-bar__search-results",
880
894
  role: "menu"
881
- }, Pe = ["onClick"], Fe = {
895
+ }, Fe = ["onClick"], Ie = {
882
896
  key: 0,
883
897
  class: "top-nav-bar__empty"
884
- }, Ie = { class: "top-nav-bar__actions" }, Le = { class: "top-nav-bar__breadcrumbs" }, Re = {
898
+ }, Le = { class: "top-nav-bar__actions" }, Re = {
899
+ key: 2,
900
+ class: "top-nav-bar__user-menu"
901
+ }, ze = ["aria-expanded"], Be = ["src"], Ve = {
902
+ key: 1,
903
+ class: "top-nav-bar__user-avatar"
904
+ }, He = { class: "top-nav-bar__user-details" }, Ue = { class: "top-nav-bar__user-name" }, We = {
905
+ key: 0,
906
+ class: "top-nav-bar__user-subtitle"
907
+ }, Ge = {
908
+ key: 0,
909
+ class: "top-nav-bar__user-dropdown",
910
+ role: "menu"
911
+ }, Ke = {
912
+ key: 0,
913
+ class: "top-nav-bar__user-separator",
914
+ role: "separator"
915
+ }, qe = ["disabled", "onClick"], Je = { class: "top-nav-bar__breadcrumbs" }, Ye = {
885
916
  key: 0,
886
917
  class: "top-nav-bar__separator",
887
918
  "aria-hidden": "true"
888
- }, ze = {
889
- key: 1,
890
- class: "top-nav-bar__dropdown"
891
- }, Be = ["aria-expanded"], Ve = {
919
+ }, Xe = ["aria-expanded"], Ze = {
892
920
  key: 0,
893
- class: "top-nav-bar__mega-menu",
921
+ class: "top-nav-bar__menu-layer",
894
922
  role: "menu"
895
- }, He = { class: "top-nav-bar__section-list" }, Ue = ["onClick"], We = {
896
- key: 0,
897
- class: "top-nav-bar__section-items"
898
- }, Ge = ["onClick"], Ke = {
923
+ }, Qe = [
924
+ "aria-expanded",
925
+ "onMouseenter",
926
+ "onClick"
927
+ ], $e = {
899
928
  key: 0,
900
- class: "top-nav-bar__dropdown"
901
- }, qe = ["onClick"], Je = {
929
+ class: "top-nav-bar__section-items",
930
+ role: "menu"
931
+ }, et = ["onClick"], tt = ["onMouseenter"], nt = ["aria-expanded", "onClick"], rt = {
902
932
  key: 0,
903
- class: "top-nav-bar__breadcrumb-menu",
933
+ class: "top-nav-bar__menu-layer",
904
934
  role: "menu"
905
- }, Ye = ["onClick"], Xe = ["onClick"], Ze = {
935
+ }, it = { class: "top-nav-bar__menu-panel top-nav-bar__breadcrumb-panel" }, at = ["onClick"], ot = ["onClick"], st = {
906
936
  key: 2,
907
937
  class: "top-nav-bar__current"
908
- }, Qe = { class: "top-nav-bar__breadcrumb-actions" }, $e = {
938
+ }, ct = { class: "top-nav-bar__breadcrumb-actions" }, lt = {
909
939
  key: 0,
910
940
  class: "top-nav-bar__mobile-menu"
911
- }, et = ["onClick"], tt = {
941
+ }, ut = ["onClick"], dt = {
912
942
  key: 0,
913
943
  class: "top-nav-bar__mobile-items"
914
- }, nt = ["onClick"], rt = /* @__PURE__ */ l({
944
+ }, ft = ["onClick"], pt = /* @__PURE__ */ l({
915
945
  __name: "TopNavBar",
916
946
  props: {
917
947
  sections: { default: () => [] },
@@ -938,6 +968,8 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
938
968
  default: !1
939
969
  },
940
970
  supportLabel: { default: "Suporte" },
971
+ user: { default: void 0 },
972
+ userMenuItems: { default: () => [] },
941
973
  appearance: { default: () => ({}) }
942
974
  },
943
975
  emits: [
@@ -945,55 +977,80 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
945
977
  "search",
946
978
  "toggle-aia",
947
979
  "open-support",
948
- "toggle-favorite"
980
+ "toggle-favorite",
981
+ "user-action"
949
982
  ],
950
983
  setup(n, { emit: o }) {
951
- let c = n, l = o, u = y(!1), d = y(!1), f = y(null), m = y(null), S = y(""), w = t(() => c.sections.flatMap((e) => e.children)), T = t(() => {
952
- if (c.searchResults) return c.searchResults;
953
- let e = S.value.trim().toLocaleLowerCase("pt-BR");
954
- return e ? w.value.filter((t) => t.label.toLocaleLowerCase("pt-BR").includes(e)) : [];
955
- }), E = t(() => ({
956
- "--top-nav-bg": c.appearance.headerBackground ?? "#013a59",
957
- "--top-nav-breadcrumb-bg": c.appearance.breadcrumbBackground ?? c.appearance.headerBackground ?? "#013a59",
958
- "--top-nav-fg": c.appearance.foreground ?? "#ffffff",
959
- "--top-nav-muted-fg": c.appearance.mutedForeground ?? "#bfdbfe",
960
- "--top-nav-accent": c.appearance.accentColor ?? "#fbbf24",
961
- "--top-nav-menu-bg": c.appearance.menuBackground ?? "#ffffff",
962
- "--top-nav-menu-fg": c.appearance.menuForeground ?? "#172033",
963
- "--top-nav-border": c.appearance.borderColor ?? "rgb(255 255 255 / 15%)",
964
- "--top-nav-radius": c.appearance.radius ?? "8px",
965
- "--top-nav-height": c.appearance.height ?? "auto"
984
+ let l = n, u = o, d = y(!1), f = y(null), m = y(!1), S = y(null), T = y(null), E = y(!1), D = y(""), O = t(() => l.sections.flatMap((e) => e.children)), k = t(() => {
985
+ if (l.searchResults) return l.searchResults;
986
+ let e = D.value.trim().toLocaleLowerCase("pt-BR");
987
+ return e ? O.value.filter((t) => t.label.toLocaleLowerCase("pt-BR").includes(e)) : [];
988
+ }), A = t(() => ({
989
+ "--top-nav-bg": l.appearance.headerBackground ?? "#013a59",
990
+ "--top-nav-breadcrumb-bg": l.appearance.breadcrumbBackground ?? l.appearance.headerBackground ?? "#013a59",
991
+ "--top-nav-fg": l.appearance.foreground ?? "#ffffff",
992
+ "--top-nav-muted-fg": l.appearance.mutedForeground ?? "#bfdbfe",
993
+ "--top-nav-accent": l.appearance.accentColor ?? "#fbbf24",
994
+ "--top-nav-menu-bg": l.appearance.menuBackground ?? "#ffffff",
995
+ "--top-nav-menu-fg": l.appearance.menuForeground ?? "#172033",
996
+ "--top-nav-border": l.appearance.borderColor ?? "rgb(255 255 255 / 15%)",
997
+ "--top-nav-radius": l.appearance.radius ?? "8px",
998
+ "--top-nav-height": l.appearance.height ?? "auto"
966
999
  }));
967
- function D(e) {
1000
+ function j(e) {
968
1001
  return e.icon || "pi pi-circle";
969
1002
  }
970
- function O(e) {
971
- e.disabled || (l("navigate", e), N());
1003
+ function M(e) {
1004
+ e.disabled || (u("navigate", e), G());
972
1005
  }
973
- function k(e) {
1006
+ function N(e) {
974
1007
  f.value = f.value === e ? null : e;
975
1008
  }
976
- function A(e) {
977
- return c.sections.find((t) => t.id === e.sectionId);
1009
+ function P(e) {
1010
+ return l.sections.find((t) => t.id === e.sectionId);
978
1011
  }
979
- function j(e) {
980
- m.value = m.value === e ? null : e;
1012
+ function F() {
1013
+ return typeof window < "u" && window.matchMedia("(hover: hover) and (pointer: fine)").matches;
981
1014
  }
982
- function M(e) {
983
- S.value = e, l("search", e);
1015
+ function I() {
1016
+ F() && (m.value = !0);
984
1017
  }
985
- function N() {
986
- u.value = !1, d.value = !1, f.value = null, m.value = null;
1018
+ function L() {
1019
+ !F() || window.innerWidth < 768 || (m.value = !1, S.value = null);
987
1020
  }
988
- function P(e) {
989
- e.key === "Escape" && N();
1021
+ function R() {
1022
+ m.value = !m.value, m.value || (S.value = null);
1023
+ }
1024
+ function z(e) {
1025
+ S.value = S.value === e ? null : e;
1026
+ }
1027
+ function B(e) {
1028
+ F() && (T.value = e);
1029
+ }
1030
+ function V() {
1031
+ !F() || window.innerWidth < 768 || (T.value = null);
1032
+ }
1033
+ function H(e) {
1034
+ T.value = T.value === e ? null : e;
990
1035
  }
991
- return _(() => document.addEventListener("keydown", P)), g(() => document.removeEventListener("keydown", P)), (t, o) => (v(), i("nav", {
1036
+ function U(e) {
1037
+ e.disabled || e.separator || (u("user-action", e), E.value = !1);
1038
+ }
1039
+ function W(e) {
1040
+ D.value = e, u("search", e);
1041
+ }
1042
+ function G() {
1043
+ d.value = !1, f.value = null, m.value = !1, S.value = null, T.value = null, E.value = !1;
1044
+ }
1045
+ function K(e) {
1046
+ e.key === "Escape" && G();
1047
+ }
1048
+ return _(() => document.addEventListener("keydown", K)), g(() => document.removeEventListener("keydown", K)), (t, o) => (v(), i("nav", {
992
1049
  class: "top-nav-bar top-solutions-component",
993
- style: h(E.value),
1050
+ style: h(A.value),
994
1051
  "aria-label": "Navegação principal"
995
1052
  }, [
996
- a("div", De, [
1053
+ a("div", Oe, [
997
1054
  n.sections.length ? (v(), i("button", {
998
1055
  key: 0,
999
1056
  class: "top-nav-bar__mobile-trigger",
@@ -1004,42 +1061,42 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1004
1061
  }, [...o[6] ||= [a("i", {
1005
1062
  class: "pi pi-bars",
1006
1063
  "aria-hidden": "true"
1007
- }, null, -1)]], 8, Oe)) : r("", !0),
1008
- a("div", ke, [x(t.$slots, "brand")]),
1009
- a("div", Ae, [x(t.$slots, "context")]),
1010
- o[10] ||= a("div", { class: "top-nav-bar__spacer" }, null, -1),
1011
- n.searchable ? (v(), i("div", je, [
1064
+ }, null, -1)]], 8, ke)) : r("", !0),
1065
+ a("div", Ae, [x(t.$slots, "brand")]),
1066
+ a("div", je, [x(t.$slots, "context")]),
1067
+ o[11] ||= a("div", { class: "top-nav-bar__spacer" }, null, -1),
1068
+ n.searchable ? (v(), i("div", Me, [
1012
1069
  o[7] ||= a("i", {
1013
1070
  class: "pi pi-search",
1014
1071
  "aria-hidden": "true"
1015
1072
  }, null, -1),
1016
1073
  a("input", {
1017
- value: S.value,
1074
+ value: D.value,
1018
1075
  type: "search",
1019
1076
  placeholder: n.searchPlaceholder,
1020
1077
  "aria-label": "Pesquisar no menu",
1021
- onInput: o[1] ||= (e) => M(e.target.value)
1022
- }, null, 40, Me),
1023
- S.value ? (v(), i("div", Ne, [x(t.$slots, "search-results", {
1024
- items: T.value,
1025
- select: O
1026
- }, () => [(v(!0), i(e, null, b(T.value, (e) => (v(), i("button", {
1078
+ onInput: o[1] ||= (e) => W(e.target.value)
1079
+ }, null, 40, Ne),
1080
+ D.value ? (v(), i("div", Pe, [x(t.$slots, "search-results", {
1081
+ items: k.value,
1082
+ select: M
1083
+ }, () => [(v(!0), i(e, null, b(k.value, (e) => (v(), i("button", {
1027
1084
  key: e.id,
1028
1085
  class: "top-nav-bar__menu-item",
1029
1086
  type: "button",
1030
1087
  role: "menuitem",
1031
- onClick: (t) => O(e)
1088
+ onClick: (t) => M(e)
1032
1089
  }, [a("i", {
1033
- class: p(D(e)),
1090
+ class: p(j(e)),
1034
1091
  "aria-hidden": "true"
1035
- }, null, 2), s(" " + C(e.label), 1)], 8, Pe))), 128)), T.value.length ? r("", !0) : (v(), i("span", Fe, "Nenhum item encontrado."))])])) : r("", !0)
1092
+ }, null, 2), s(" " + C(e.label), 1)], 8, Fe))), 128)), k.value.length ? r("", !0) : (v(), i("span", Ie, "Nenhum item encontrado."))])])) : r("", !0)
1036
1093
  ])) : r("", !0),
1037
- a("div", Ie, [
1094
+ a("div", Le, [
1038
1095
  n.showAia ? (v(), i("button", {
1039
1096
  key: 0,
1040
1097
  class: "top-nav-bar__action",
1041
1098
  type: "button",
1042
- onClick: o[2] ||= (e) => l("toggle-aia")
1099
+ onClick: o[2] ||= (e) => u("toggle-aia")
1043
1100
  }, [o[8] ||= a("i", {
1044
1101
  class: "pi pi-comments",
1045
1102
  "aria-hidden": "true"
@@ -1048,31 +1105,63 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1048
1105
  key: 1,
1049
1106
  class: "top-nav-bar__action",
1050
1107
  type: "button",
1051
- onClick: o[3] ||= (e) => l("open-support")
1108
+ onClick: o[3] ||= (e) => u("open-support")
1052
1109
  }, [o[9] ||= a("i", {
1053
1110
  class: "pi pi-headphones",
1054
1111
  "aria-hidden": "true"
1055
1112
  }, null, -1), s(" " + C(n.supportLabel), 1)])) : r("", !0),
1056
1113
  x(t.$slots, "actions"),
1114
+ n.user ? (v(), i("div", Re, [a("button", {
1115
+ class: "top-nav-bar__user-trigger",
1116
+ type: "button",
1117
+ "aria-expanded": E.value,
1118
+ "aria-haspopup": "menu",
1119
+ onClick: o[4] ||= (e) => E.value = !E.value
1120
+ }, [
1121
+ n.user.avatarUrl ? (v(), i("img", {
1122
+ key: 0,
1123
+ src: n.user.avatarUrl,
1124
+ alt: "",
1125
+ class: "top-nav-bar__user-avatar"
1126
+ }, null, 8, Be)) : (v(), i("span", Ve, C(n.user.initials || n.user.name.slice(0, 2).toUpperCase()), 1)),
1127
+ a("span", He, [a("span", Ue, C(n.user.name), 1), n.user.subtitle ? (v(), i("span", We, C(n.user.subtitle), 1)) : r("", !0)]),
1128
+ o[10] ||= a("i", {
1129
+ class: "pi pi-chevron-down top-nav-bar__chevron",
1130
+ "aria-hidden": "true"
1131
+ }, null, -1)
1132
+ ], 8, ze), E.value ? (v(), i("div", Ge, [(v(!0), i(e, null, b(n.userMenuItems, (t) => (v(), i(e, { key: t.id }, [t.separator ? (v(), i("div", Ke)) : (v(), i("button", {
1133
+ key: 1,
1134
+ class: "top-nav-bar__menu-item",
1135
+ type: "button",
1136
+ disabled: t.disabled,
1137
+ onClick: (e) => U(t)
1138
+ }, [t.icon ? (v(), i("i", {
1139
+ key: 0,
1140
+ class: p(t.icon),
1141
+ "aria-hidden": "true"
1142
+ }, null, 2)) : r("", !0), s(" " + C(t.label), 1)], 8, qe))], 64))), 128))])) : r("", !0)])) : r("", !0),
1057
1143
  x(t.$slots, "user-menu")
1058
1144
  ])
1059
1145
  ]),
1060
- a("div", Le, [
1146
+ a("div", Je, [
1061
1147
  a("button", {
1062
1148
  class: "top-nav-bar__crumb",
1063
1149
  type: "button",
1064
- onClick: o[4] ||= (e) => O(n.homeItem)
1065
- }, [a("i", {
1066
- class: p(D(n.homeItem)),
1067
- "aria-hidden": "true"
1068
- }, null, 2), s(" " + C(n.homeItem.label), 1)]),
1069
- n.sections.length ? (v(), i("span", Re, "/")) : r("", !0),
1070
- n.sections.length ? (v(), i("div", ze, [a("button", {
1150
+ onClick: o[5] ||= (e) => M(n.homeItem)
1151
+ }, [c(w(oe), { icon: w(Q) }, null, 8, ["icon"]), s(" " + C(n.homeItem.label), 1)]),
1152
+ n.sections.length ? (v(), i("span", Ye, "/")) : r("", !0),
1153
+ n.sections.length ? (v(), i("div", {
1154
+ key: 1,
1155
+ class: "top-nav-bar__dropdown",
1156
+ onMouseenter: I,
1157
+ onMouseleave: L
1158
+ }, [a("button", {
1071
1159
  class: "top-nav-bar__crumb",
1072
1160
  type: "button",
1073
- "aria-expanded": u.value,
1074
- onClick: o[5] ||= (e) => u.value = !u.value
1075
- }, [...o[11] ||= [
1161
+ "aria-haspopup": "menu",
1162
+ "aria-expanded": m.value,
1163
+ onClick: R
1164
+ }, [...o[12] ||= [
1076
1165
  a("i", {
1077
1166
  class: "pi pi-bars",
1078
1167
  "aria-hidden": "true"
@@ -1082,66 +1171,78 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1082
1171
  class: "pi pi-chevron-down top-nav-bar__chevron",
1083
1172
  "aria-hidden": "true"
1084
1173
  }, null, -1)
1085
- ]], 8, Be), u.value ? (v(), i("div", Ve, [a("div", He, [(v(!0), i(e, null, b(n.sections, (e) => (v(), i("button", {
1174
+ ]], 8, Xe), m.value ? (v(), i("div", Ze, [a("div", { class: p(["top-nav-bar__menu-panel", { "top-nav-bar__menu-panel--expanded": S.value }]) }, [a("div", { class: p(["top-nav-bar__section-list", { "top-nav-bar__section-list--with-submenu": S.value }]) }, [(v(!0), i(e, null, b(n.sections, (e) => (v(), i("button", {
1086
1175
  key: e.id,
1087
- class: p(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--selected": f.value === e.id }]),
1176
+ class: p(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--selected": S.value === e.id }]),
1088
1177
  type: "button",
1089
- onClick: (t) => k(e.id)
1178
+ role: "menuitem",
1179
+ "aria-expanded": S.value === e.id,
1180
+ onMouseenter: (t) => F() && (S.value = e.id),
1181
+ onClick: (t) => z(e.id)
1090
1182
  }, [
1091
1183
  a("i", {
1092
- class: p(D(e)),
1184
+ class: p(j(e)),
1093
1185
  "aria-hidden": "true"
1094
1186
  }, null, 2),
1095
- s(" " + C(e.label) + " ", 1),
1096
- o[12] ||= a("i", {
1187
+ a("span", null, C(e.label), 1),
1188
+ o[13] ||= a("i", {
1097
1189
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1098
1190
  "aria-hidden": "true"
1099
1191
  }, null, -1)
1100
- ], 10, Ue))), 128))]), f.value ? (v(), i("div", We, [(v(!0), i(e, null, b(n.sections, (t) => (v(), i(e, { key: `${t.id}-items` }, [t.id === f.value ? (v(!0), i(e, { key: 0 }, b(t.children, (e) => (v(), i("button", {
1192
+ ], 42, Qe))), 128))], 2), S.value ? (v(), i("div", $e, [(v(!0), i(e, null, b(n.sections, (t) => (v(), i(e, { key: t.id }, [t.id === S.value ? (v(!0), i(e, { key: 0 }, b(t.children, (e) => (v(), i("button", {
1101
1193
  key: e.id,
1102
- class: "top-nav-bar__menu-item",
1194
+ class: p(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--active": n.activeItemId === e.id }]),
1103
1195
  type: "button",
1104
- onClick: (t) => O(e)
1196
+ role: "menuitem",
1197
+ onClick: (t) => M(e)
1105
1198
  }, [a("i", {
1106
- class: p(D(e)),
1199
+ class: p(j(e)),
1107
1200
  "aria-hidden": "true"
1108
- }, null, 2), s(" " + C(e.label), 1)], 8, Ge))), 128)) : r("", !0)], 64))), 128))])) : r("", !0)])) : r("", !0)])) : r("", !0),
1109
- (v(!0), i(e, null, b(n.breadcrumbs, (t) => (v(), i(e, { key: t.id }, [o[14] ||= a("span", {
1201
+ }, null, 2), a("span", null, C(e.label), 1)], 10, et))), 128)) : r("", !0)], 64))), 128))])) : r("", !0)], 2)])) : r("", !0)], 32)) : r("", !0),
1202
+ (v(!0), i(e, null, b(n.breadcrumbs, (t) => (v(), i(e, { key: t.id }, [o[15] ||= a("span", {
1110
1203
  class: "top-nav-bar__separator",
1111
1204
  "aria-hidden": "true"
1112
- }, "/", -1), t.sectionId && A(t) ? (v(), i("div", Ke, [a("button", {
1205
+ }, "/", -1), t.sectionId && P(t) ? (v(), i("div", {
1206
+ key: 0,
1207
+ class: "top-nav-bar__dropdown",
1208
+ onMouseenter: (e) => B(t.sectionId),
1209
+ onMouseleave: V
1210
+ }, [a("button", {
1113
1211
  class: "top-nav-bar__crumb",
1114
1212
  type: "button",
1115
- onClick: (e) => j(t.sectionId)
1116
- }, [s(C(t.label) + " ", 1), o[13] ||= a("i", {
1213
+ "aria-haspopup": "menu",
1214
+ "aria-expanded": T.value === t.sectionId,
1215
+ onClick: (e) => H(t.sectionId)
1216
+ }, [s(C(t.label) + " ", 1), o[14] ||= a("i", {
1117
1217
  class: "pi pi-chevron-down top-nav-bar__chevron",
1118
1218
  "aria-hidden": "true"
1119
- }, null, -1)], 8, qe), m.value === t.sectionId ? (v(), i("div", Je, [(v(!0), i(e, null, b(A(t)?.children, (e) => (v(), i("button", {
1219
+ }, null, -1)], 8, nt), T.value === t.sectionId ? (v(), i("div", rt, [a("div", it, [(v(!0), i(e, null, b(P(t)?.children, (e) => (v(), i("button", {
1120
1220
  key: e.id,
1121
- class: "top-nav-bar__menu-item",
1221
+ class: p(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--active": n.activeItemId === e.id }]),
1122
1222
  type: "button",
1123
- onClick: (t) => O(e)
1223
+ role: "menuitem",
1224
+ onClick: (t) => M(e)
1124
1225
  }, [a("i", {
1125
- class: p(D(e)),
1226
+ class: p(j(e)),
1126
1227
  "aria-hidden": "true"
1127
- }, null, 2), s(" " + C(e.label), 1)], 8, Ye))), 128))])) : r("", !0)])) : t.to ? (v(), i("button", {
1228
+ }, null, 2), a("span", null, C(e.label), 1)], 10, at))), 128))])])) : r("", !0)], 40, tt)) : t.to ? (v(), i("button", {
1128
1229
  key: 1,
1129
1230
  class: "top-nav-bar__crumb",
1130
1231
  type: "button",
1131
- onClick: (e) => O(t)
1132
- }, C(t.label), 9, Xe)) : (v(), i("span", Ze, C(t.label), 1))], 64))), 128)),
1133
- a("span", Qe, [x(t.$slots, "breadcrumb-actions")])
1232
+ onClick: (e) => M(t)
1233
+ }, C(t.label), 9, ot)) : (v(), i("span", st, C(t.label), 1))], 64))), 128)),
1234
+ a("span", ct, [x(t.$slots, "breadcrumb-actions")])
1134
1235
  ]),
1135
- d.value ? (v(), i("div", $e, [(v(!0), i(e, null, b(n.sections, (t) => (v(), i("section", {
1236
+ d.value ? (v(), i("div", lt, [(v(!0), i(e, null, b(n.sections, (t) => (v(), i("section", {
1136
1237
  key: t.id,
1137
1238
  class: "top-nav-bar__mobile-section"
1138
1239
  }, [a("button", {
1139
1240
  class: "top-nav-bar__mobile-section-title",
1140
1241
  type: "button",
1141
- onClick: (e) => k(t.id)
1242
+ onClick: (e) => N(t.id)
1142
1243
  }, [
1143
1244
  a("i", {
1144
- class: p(D(t)),
1245
+ class: p(j(t)),
1145
1246
  "aria-hidden": "true"
1146
1247
  }, null, 2),
1147
1248
  s(" " + C(t.label) + " ", 1),
@@ -1149,52 +1250,52 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1149
1250
  class: p(["pi pi-chevron-down top-nav-bar__menu-arrow", { "top-nav-bar__menu-arrow--open": f.value === t.id }]),
1150
1251
  "aria-hidden": "true"
1151
1252
  }, null, 2)
1152
- ], 8, et), f.value === t.id ? (v(), i("div", tt, [(v(!0), i(e, null, b(t.children, (e) => (v(), i("button", {
1253
+ ], 8, ut), f.value === t.id ? (v(), i("div", dt, [(v(!0), i(e, null, b(t.children, (e) => (v(), i("button", {
1153
1254
  key: e.id,
1154
1255
  class: p(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--active": n.activeItemId === e.id }]),
1155
1256
  type: "button",
1156
- onClick: (t) => O(e)
1257
+ onClick: (t) => M(e)
1157
1258
  }, [a("i", {
1158
- class: p(D(e)),
1259
+ class: p(j(e)),
1159
1260
  "aria-hidden": "true"
1160
- }, null, 2), s(" " + C(e.label), 1)], 10, nt))), 128))])) : r("", !0)]))), 128)), x(t.$slots, "mobile-footer")])) : r("", !0)
1261
+ }, null, 2), s(" " + C(e.label), 1)], 10, ft))), 128))])) : r("", !0)]))), 128)), x(t.$slots, "mobile-footer")])) : r("", !0)
1161
1262
  ], 4));
1162
1263
  }
1163
- }), it = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, at = {
1264
+ }), mt = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, ht = {
1164
1265
  key: 0,
1165
1266
  class: "pi pi-spin pi-spinner"
1166
- }, ot = {
1267
+ }, gt = {
1167
1268
  key: 1,
1168
1269
  class: "pi pi-search"
1169
- }, st = {
1270
+ }, _t = {
1170
1271
  key: 1,
1171
1272
  class: "flex items-center gap-1 !text-sm"
1172
- }, ct = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, lt = ["onClick"], ut = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, dt = {
1273
+ }, vt = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, yt = ["onClick"], bt = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, xt = {
1173
1274
  key: 1,
1174
1275
  class: "flex min-h-[100px] flex-col items-center justify-center gap-2 py-2"
1175
- }, ft = {
1276
+ }, St = {
1176
1277
  key: 0,
1177
1278
  class: "text-xs font-medium text-primary-600"
1178
- }, pt = {
1279
+ }, Ct = {
1179
1280
  key: 2,
1180
1281
  class: "text-xs text-secondary-500"
1181
- }, mt = { key: 1 }, ht = {
1282
+ }, wt = { key: 1 }, Tt = {
1182
1283
  key: 1,
1183
1284
  class: "flex items-center gap-2 font-semibold"
1184
- }, gt = {
1285
+ }, Et = {
1185
1286
  key: 1,
1186
1287
  class: "flex w-full min-w-0 items-start gap-2 overflow-hidden px-2 py-3 text-sm",
1187
1288
  style: { "white-space": "normal" }
1188
- }, _t = ["title"], vt = {
1289
+ }, Dt = ["title"], Ot = {
1189
1290
  key: 0,
1190
1291
  class: "top-select-option-prefix whitespace-nowrap font-bold text-primary-800 dark:text-primary-100"
1191
- }, yt = {
1292
+ }, kt = {
1192
1293
  key: 0,
1193
1294
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
1194
- }, bt = {
1295
+ }, At = {
1195
1296
  key: 0,
1196
1297
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
1197
- }, xt = /* @__PURE__ */ l({
1298
+ }, jt = /* @__PURE__ */ l({
1198
1299
  __name: "TopSelect",
1199
1300
  props: {
1200
1301
  modelValue: { default: null },
@@ -1322,7 +1423,7 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1322
1423
  }), (t, l) => (v(), i("div", {
1323
1424
  class: p(["top-select top-solutions-component relative w-full", { "pointer-events-none": n.disabled }]),
1324
1425
  onFocusin: J
1325
- }, [a("span", it, [x(t.$slots, "icon", { loading: n.loading }, () => [n.loading ? (v(), i("i", at)) : (v(), i("i", ot))])]), c(w(j), {
1426
+ }, [a("span", mt, [x(t.$slots, "icon", { loading: n.loading }, () => [n.loading ? (v(), i("i", ht)) : (v(), i("i", gt))])]), c(w(j), {
1326
1427
  ref_key: "autocompleteRef",
1327
1428
  ref: F,
1328
1429
  modelValue: z.value,
@@ -1392,18 +1493,18 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1392
1493
  },
1393
1494
  onChange: l[4] ||= (e) => T("change", e)
1394
1495
  }, o({
1395
- chip: k((e) => [w(E).chip ? x(t.$slots, "chip", m(u(e)), void 0, void 0, 0) : (v(), i("div", st, [a("div", ct, [a("i", {
1496
+ chip: k((e) => [w(E).chip ? x(t.$slots, "chip", m(u(e)), void 0, void 0, 0) : (v(), i("div", _t, [a("div", vt, [a("i", {
1396
1497
  class: "pi pi-times-circle shrink-0 cursor-pointer rounded-full hover:bg-primary-800",
1397
1498
  onClick: (t) => e.removeCallback(t)
1398
- }, null, 8, lt), A((v(), i("span", ut, [s(C(U(e.value)), 1)])), [[
1499
+ }, null, 8, yt), A((v(), i("span", bt, [s(C(U(e.value)), 1)])), [[
1399
1500
  w(M),
1400
1501
  U(e.value),
1401
1502
  void 0,
1402
1503
  { top: !0 }
1403
1504
  ]])])]))]),
1404
- empty: k(() => [w(E).empty ? x(t.$slots, "empty", {}, void 0, void 0, 0) : n.loading ? (v(), i("div", dt, [l[5] ||= a("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), n.showLoadingMessage ? (v(), i("span", ft, C(n.loadingMessage), 1)) : r("", !0)])) : (v(), i("span", pt, C(n.emptyMessage), 1))]),
1405
- "selected-item": k((e) => [w(E)["selected-item"] ? x(t.$slots, "selected-item", m(u(e)), void 0, void 0, 0) : e.item ? (v(), i("span", mt, C(U(e.item)), 1)) : r("", !0)]),
1406
- optiongroup: k((e) => [w(E)["option-group"] ? x(t.$slots, "option-group", m(u(e)), void 0, void 0, 0) : (v(), i("div", ht, [e.option.icon ? (v(), i("i", {
1505
+ empty: k(() => [w(E).empty ? x(t.$slots, "empty", {}, void 0, void 0, 0) : n.loading ? (v(), i("div", xt, [l[5] ||= a("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), n.showLoadingMessage ? (v(), i("span", St, C(n.loadingMessage), 1)) : r("", !0)])) : (v(), i("span", Ct, C(n.emptyMessage), 1))]),
1506
+ "selected-item": k((e) => [w(E)["selected-item"] ? x(t.$slots, "selected-item", m(u(e)), void 0, void 0, 0) : e.item ? (v(), i("span", wt, C(U(e.item)), 1)) : r("", !0)]),
1507
+ optiongroup: k((e) => [w(E)["option-group"] ? x(t.$slots, "option-group", m(u(e)), void 0, void 0, 0) : (v(), i("div", Tt, [e.option.icon ? (v(), i("i", {
1407
1508
  key: 0,
1408
1509
  class: p(e.option.icon)
1409
1510
  }, null, 2)) : r("", !0), a("span", null, C(e.option[n.optionGroupLabel ?? "label"]), 1)]))]),
@@ -1411,10 +1512,10 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1411
1512
  label: V(o.option),
1412
1513
  prefix: H(o.option),
1413
1514
  query: N.value
1414
- }), void 0, void 0, 0) : A((v(), i("div", gt, [a("span", {
1515
+ }), void 0, void 0, 0) : A((v(), i("div", Et, [a("span", {
1415
1516
  class: "top-select-option-label line-clamp-2 min-w-0 flex-1 text-secondary-700 dark:text-zinc-200",
1416
1517
  title: V(o.option)
1417
- }, [n.showOptionPrefix && H(o.option) ? (v(), i("span", vt, [(v(!0), i(e, null, b(W(H(o.option)), (t, n) => (v(), i(e, { key: n }, [t.highlighted ? (v(), i("mark", yt, C(t.text), 1)) : (v(), i(e, { key: 1 }, [s(C(t.text), 1)], 64))], 64))), 128)), l[6] ||= a("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : r("", !0), (v(!0), i(e, null, b(W(V(o.option)), (t, n) => (v(), i(e, { key: n }, [t.highlighted ? (v(), i("mark", bt, C(t.text), 1)) : (v(), i(e, { key: 1 }, [s(C(t.text), 1)], 64))], 64))), 128))], 8, _t)])), [[
1518
+ }, [n.showOptionPrefix && H(o.option) ? (v(), i("span", Ot, [(v(!0), i(e, null, b(W(H(o.option)), (t, n) => (v(), i(e, { key: n }, [t.highlighted ? (v(), i("mark", kt, C(t.text), 1)) : (v(), i(e, { key: 1 }, [s(C(t.text), 1)], 64))], 64))), 128)), l[6] ||= a("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : r("", !0), (v(!0), i(e, null, b(W(V(o.option)), (t, n) => (v(), i(e, { key: n }, [t.highlighted ? (v(), i("mark", At, C(t.text), 1)) : (v(), i(e, { key: 1 }, [s(C(t.text), 1)], 64))], 64))), 128))], 8, Dt)])), [[
1418
1519
  w(M),
1419
1520
  n.showTooltip ? V(o.option) : null,
1420
1521
  void 0,
@@ -1443,10 +1544,10 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1443
1544
  "pt"
1444
1545
  ])], 34));
1445
1546
  }
1446
- }), St = { class: "top-toast__content" }, Ct = { class: "top-toast__detail" }, wt = ["onClick"], Tt = {
1547
+ }), Mt = { class: "top-toast__content" }, Nt = { class: "top-toast__detail" }, Pt = ["onClick"], Ft = {
1447
1548
  key: 0,
1448
1549
  class: "top-toast__footer"
1449
- }, Et = /* @__PURE__ */ l({
1550
+ }, It = /* @__PURE__ */ l({
1450
1551
  __name: "TopToast",
1451
1552
  props: { baseZIndex: { default: 3e4 } },
1452
1553
  setup(e) {
@@ -1472,9 +1573,9 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1472
1573
  position: "top-right",
1473
1574
  "base-z-index": e.baseZIndex
1474
1575
  }, {
1475
- message: k((e) => [a("div", St, [
1576
+ message: k((e) => [a("div", Mt, [
1476
1577
  a("div", { class: p(["top-toast__summary", d(e.message, "summary")]) }, C(e.message.summary), 3),
1477
- a("div", Ct, C(e.message.detail), 1),
1578
+ a("div", Nt, C(e.message.detail), 1),
1478
1579
  u(e.message) ? x(f.$slots, "action", {
1479
1580
  action: o(e.message),
1480
1581
  message: e.message,
@@ -1488,17 +1589,17 @@ var ae = /* @__PURE__ */ $(Q, [["render", ie], ["__file", "/Users/mahmudulhasan/
1488
1589
  key: 0,
1489
1590
  class: p(o(e.message)?.icon),
1490
1591
  "aria-hidden": "true"
1491
- }, null, 2)) : r("", !0), s(" " + C(o(e.message)?.label), 1)], 10, wt)) : r("", !0)], void 0, 0) : r("", !0),
1592
+ }, null, 2)) : r("", !0), s(" " + C(o(e.message)?.label), 1)], 10, Pt)) : r("", !0)], void 0, 0) : r("", !0),
1492
1593
  l(e.message) ? x(f.$slots, "footer", {
1493
1594
  message: e.message,
1494
1595
  footer: t(e.message)
1495
- }, () => [t(e.message) === void 0 ? r("", !0) : (v(), i("div", Tt, C(t(e.message)), 1))], void 0, 1) : r("", !0)
1596
+ }, () => [t(e.message) === void 0 ? r("", !0) : (v(), i("div", Ft, C(t(e.message)), 1))], void 0, 1) : r("", !0)
1496
1597
  ])]),
1497
1598
  _: 3
1498
1599
  }, 8, ["base-z-index"]));
1499
1600
  }
1500
1601
  });
1501
1602
  //#endregion
1502
- export { xe as a, H as c, Ee as i, V as l, xt as n, te as o, rt as r, J as s, Et as t };
1603
+ export { Se as a, H as c, De as i, V as l, jt as n, te as o, pt as r, J as s, It as t };
1503
1604
 
1504
- //# sourceMappingURL=TopToast-CyPhPcN4.js.map
1605
+ //# sourceMappingURL=TopToast-CXC-8FkA.js.map