@topjoao/top-design-system 0.1.9 → 0.2.11

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.
@@ -7,22 +7,22 @@ import R from "primevue/datepicker";
7
7
  import z from "primevue/fileupload";
8
8
  import B from "primevue/inputtext";
9
9
  import V from "primevue/textarea";
10
- import H from "primevue/inputnumber";
11
- import ne from "primevue/drawer";
12
- import U from "primevue/menu";
13
- import re from "primevue/autocomplete";
14
- import W from "primevue/tab";
15
- import G from "primevue/tablist";
16
- import K from "primevue/tabpanel";
17
- import q from "primevue/tabpanels";
18
- import ie from "primevue/tabs";
19
- import J from "primevue/accordion";
20
- import Y from "primevue/accordioncontent";
21
- import ae from "primevue/accordionheader";
22
- import oe from "primevue/accordionpanel";
23
- import X from "primevue/toast";
10
+ import ne from "primevue/inputnumber";
11
+ import re from "primevue/drawer";
12
+ import H from "primevue/menu";
13
+ import ie from "primevue/autocomplete";
14
+ import U from "primevue/tab";
15
+ import W from "primevue/tablist";
16
+ import G from "primevue/tabpanel";
17
+ import K from "primevue/tabpanels";
18
+ import ae from "primevue/tabs";
19
+ import q from "primevue/accordion";
20
+ import J from "primevue/accordioncontent";
21
+ import oe from "primevue/accordionheader";
22
+ import se from "primevue/accordionpanel";
23
+ import Y from "primevue/toast";
24
24
  //#region src/components/TopButton.vue?vue&type=script&setup=true&lang.ts
25
- var se = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px] bg-transparent" }, ce = /* @__PURE__ */ u({
25
+ var ce = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px] bg-transparent" }, le = /* @__PURE__ */ u({
26
26
  __name: "TopButton",
27
27
  props: {
28
28
  tooltip: { default: "" },
@@ -59,7 +59,7 @@ var se = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
59
59
  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";
60
60
  return I("top-button__control text-xs", e, c.class);
61
61
  });
62
- return (t, n) => (b(), a("span", se, [M((b(), r(O(P), {
62
+ return (t, n) => (b(), a("span", ce, [M((b(), r(O(P), {
63
63
  type: e.type,
64
64
  label: e.label,
65
65
  disabled: e.disabled || e.loading,
@@ -94,7 +94,7 @@ var se = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
94
94
  { top: !0 }
95
95
  ]])]));
96
96
  }
97
- }), le = {
97
+ }), X = {
98
98
  primary: {
99
99
  50: "#EEF9FF",
100
100
  100: "#DFF4FF",
@@ -192,8 +192,8 @@ var se = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
192
192
  !e && i.loading || a("update:modelValue", e);
193
193
  }
194
194
  }), u = n(() => ({
195
- "--top-confirm-dialog-accent": i.severity === "danger" ? le.danger[600] : le.primary[800],
196
- "--top-confirm-dialog-accent-hover": i.severity === "danger" ? le.danger[700] : le.primary[700]
195
+ "--top-confirm-dialog-accent": i.severity === "danger" ? X.danger[600] : X.primary[800],
196
+ "--top-confirm-dialog-accent-hover": i.severity === "danger" ? X.danger[700] : X.primary[700]
197
197
  })), d = n(() => ["px-3 py-2 text-sm", i.severity === "danger" ? "!border-red-600 !bg-red-600 hover:!border-red-700 hover:!bg-red-700" : ""].filter(Boolean).join(" "));
198
198
  function f() {
199
199
  i.loading || a("confirm");
@@ -244,13 +244,13 @@ var se = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
244
244
  "aria-hidden": "true"
245
245
  }, null, 2), o("p", fe, D(e.title), 1)]),
246
246
  o("div", Z, [w(t.$slots, "message", {}, () => [w(t.$slots, "default", {}, () => [c(D(e.message), 1)])])]),
247
- o("div", pe, [l(ce, {
247
+ o("div", pe, [l(le, {
248
248
  label: e.cancelText,
249
249
  secondary: "",
250
250
  disabled: e.loading,
251
251
  class: "px-3 py-2 text-sm",
252
252
  onClick: p
253
- }, null, 8, ["label", "disabled"]), l(ce, {
253
+ }, null, 8, ["label", "disabled"]), l(le, {
254
254
  label: e.loading ? e.loadingText : e.confirmText,
255
255
  loading: e.loading,
256
256
  class: h(d.value),
@@ -648,23 +648,23 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
648
648
  }), !1))
649
649
  };
650
650
  }
651
- function H(e) {
651
+ function ne(e) {
652
652
  let t = e.originalEvent;
653
653
  return Array.from(t.dataTransfer?.files ?? t.target?.files ?? []);
654
654
  }
655
- function ne(e) {
655
+ function re(e) {
656
656
  return d.multiple ? [...e] : e[0] ?? null;
657
657
  }
658
- function U() {
658
+ function H() {
659
659
  g.value && (g.value.files = [..._.value]);
660
660
  }
661
- function re(e, t) {
662
- _.value = e, x.value = [], Y(), m(U);
663
- let n = ne(e);
661
+ function ie(e, t) {
662
+ _.value = e, x.value = [], J(), m(H);
663
+ let n = re(e);
664
664
  f("update:modelValue", n), f("change", n), t === "select" && f("select", [...e]), t === "clear" && f("clear");
665
665
  }
666
- function W(e) {
667
- let { errors: t, validFiles: n } = V(H(e)), r = d.multiple ? [..._.value, ...n.filter((e) => !_.value.some((t) => L(t, e)))] : n.slice(-1);
666
+ function U(e) {
667
+ let { errors: t, validFiles: n } = V(ne(e)), r = d.multiple ? [..._.value, ...n.filter((e) => !_.value.some((t) => L(t, e)))] : n.slice(-1);
668
668
  if (d.maxFiles && r.length > d.maxFiles) {
669
669
  let e = r.slice(d.maxFiles);
670
670
  t.push(...e.map((e) => ({
@@ -673,51 +673,51 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
673
673
  message: `O limite máximo é de ${d.maxFiles} arquivo(s).`
674
674
  }))), r = r.slice(0, d.maxFiles);
675
675
  }
676
- if (t.length ? (x.value = t, f("error", t)) : x.value = [], U(), n.length && !G(r, _.value)) {
677
- _.value = r, Y(), m(U);
678
- let e = ne(r);
676
+ if (t.length ? (x.value = t, f("error", t)) : x.value = [], H(), n.length && !W(r, _.value)) {
677
+ _.value = r, J(), m(H);
678
+ let e = re(r);
679
679
  f("update:modelValue", e), f("change", e), f("select", [...r]);
680
680
  }
681
681
  }
682
- function G(e, t) {
682
+ function W(e, t) {
683
683
  return e.length === t.length && e.every((e, n) => L(e, t[n]));
684
684
  }
685
- function K() {
685
+ function G() {
686
686
  N.value || g.value?.choose();
687
687
  }
688
- function q(e, t) {
688
+ function K(e, t) {
689
689
  if (N.value) return;
690
690
  let n = _.value[t];
691
691
  if (!n) return;
692
692
  e(t);
693
693
  let r = _.value.filter((e, n) => n !== t);
694
- re(r, "remove"), f("remove", n, t), r.length || f("clear");
694
+ ie(r, "remove"), f("remove", n, t), r.length || f("clear");
695
695
  }
696
- function ie() {
697
- N.value || !_.value.length || re([], "clear");
696
+ function ae() {
697
+ N.value || !_.value.length || ie([], "clear");
698
698
  }
699
- function J(e) {
699
+ function q(e) {
700
700
  if (!e.type.startsWith("image/") || typeof URL.createObjectURL != "function") return "";
701
701
  let t = T.get(e);
702
702
  if (t) return t;
703
703
  let n = URL.createObjectURL(e);
704
704
  return T.set(e, n), n;
705
705
  }
706
- function Y() {
706
+ function J() {
707
707
  for (let [e, t] of T) _.value.includes(e) || (URL.revokeObjectURL(t), T.delete(e));
708
708
  }
709
709
  return A(() => d.modelValue, (e) => {
710
710
  let t = I(e);
711
- G(t, _.value) || (_.value = t, x.value = [], Y(), m(U));
711
+ W(t, _.value) || (_.value = t, x.value = [], J(), m(H));
712
712
  }), A(() => d.multiple, () => {
713
713
  let e = I(d.modelValue);
714
- _.value = e, Y(), m(U);
715
- }), y(U), v(() => {
714
+ _.value = e, J(), m(H);
715
+ }), y(H), v(() => {
716
716
  for (let e of T.values()) URL.revokeObjectURL(e);
717
717
  T.clear();
718
718
  }), s({
719
- choose: K,
720
- clear: ie
719
+ choose: G,
720
+ clear: ae
721
721
  }), (n, s) => (b(), a("div", De, [
722
722
  t.label ? (b(), a("label", {
723
723
  key: 0,
@@ -744,7 +744,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
744
744
  N.value ? "cursor-not-allowed opacity-60" : ""
745
745
  ].join(" ") }
746
746
  },
747
- onSelect: W
747
+ onSelect: U
748
748
  }, {
749
749
  content: j(({ removeFileCallback: c }) => [o("div", Ae, [_.value.length ? (b(), a("div", Pe, [(b(!0), a(e, null, C(_.value, (e, r) => (b(), a("div", {
750
750
  key: `${e.name}-${e.size}-${e.lastModified}`,
@@ -753,10 +753,10 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
753
753
  w(n.$slots, "preview", {
754
754
  file: e,
755
755
  index: r,
756
- url: J(e)
757
- }, () => [J(e) ? (b(), a("img", {
756
+ url: q(e)
757
+ }, () => [q(e) ? (b(), a("img", {
758
758
  key: 0,
759
- src: J(e),
759
+ src: q(e),
760
760
  alt: `Pré-visualização de ${e.name}`,
761
761
  class: "size-12 shrink-0 rounded-lg object-cover"
762
762
  }, null, 8, Fe)) : (b(), a("span", Ie, [...s[0] ||= [o("i", {
@@ -769,12 +769,12 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
769
769
  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",
770
770
  "aria-label": `${t.removeLabel}: ${e.name}`,
771
771
  disabled: N.value,
772
- onClick: (e) => q(c, r)
772
+ onClick: (e) => K(c, r)
773
773
  }, [...s[1] ||= [o("i", {
774
774
  class: "pi pi-times",
775
775
  "aria-hidden": "true"
776
776
  }, null, -1)]], 8, Be)
777
- ]))), 128)), t.multiple && (!t.maxFiles || _.value.length < t.maxFiles) ? (b(), r(ce, {
777
+ ]))), 128)), t.multiple && (!t.maxFiles || _.value.length < t.maxFiles) ? (b(), r(le, {
778
778
  key: 0,
779
779
  label: t.selectLabel,
780
780
  icon: "pi pi-plus-circle",
@@ -782,13 +782,13 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
782
782
  disabled: t.disabled,
783
783
  loading: t.loading,
784
784
  class: "mt-1 px-3 py-2",
785
- onClick: K
785
+ onClick: G
786
786
  }, null, 8, [
787
787
  "label",
788
788
  "disabled",
789
789
  "loading"
790
790
  ])) : i("", !0)])) : w(n.$slots, "empty", {
791
- choose: K,
791
+ choose: G,
792
792
  disabled: N.value
793
793
  }, () => [
794
794
  o("span", je, [t.loading ? (b(), a("i", Me)) : (b(), r(O(Ee), {
@@ -799,13 +799,13 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
799
799
  class: "text-primary-800 dark:text-primary-300"
800
800
  }, null, 8, ["icon"]))]),
801
801
  o("p", Ne, D(t.placeholder), 1),
802
- l(ce, {
802
+ l(le, {
803
803
  label: t.selectLabel,
804
804
  icon: "pi pi-plus-circle",
805
805
  disabled: t.disabled,
806
806
  loading: t.loading,
807
807
  class: "px-3 py-2",
808
- onClick: K
808
+ onClick: G
809
809
  }, null, 8, [
810
810
  "label",
811
811
  "disabled",
@@ -836,6 +836,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
836
836
  __name: "TopInputText",
837
837
  props: {
838
838
  modelValue: { default: "" },
839
+ type: { default: "text" },
839
840
  label: { default: "" },
840
841
  placeholder: { default: "" },
841
842
  required: {
@@ -874,7 +875,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
874
875
  l(O(B), p(t.$attrs, {
875
876
  id: d.value,
876
877
  "model-value": e.modelValue,
877
- type: "text",
878
+ type: e.type,
878
879
  placeholder: e.placeholder,
879
880
  required: e.required,
880
881
  disabled: e.disabled,
@@ -888,6 +889,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
888
889
  }), null, 16, [
889
890
  "id",
890
891
  "model-value",
892
+ "type",
891
893
  "placeholder",
892
894
  "required",
893
895
  "disabled",
@@ -908,7 +910,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
908
910
  key: 0,
909
911
  "aria-hidden": "true",
910
912
  class: "text-red-600 dark:text-red-400"
911
- }, Ye = ["id"], Xe = /* @__PURE__ */ u({
913
+ }, Ye = ["id"], Xe = ["id"], Ze = /* @__PURE__ */ u({
912
914
  inheritAttrs: !1,
913
915
  __name: "TopTextArea",
914
916
  props: {
@@ -932,19 +934,33 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
932
934
  autoResize: {
933
935
  type: Boolean,
934
936
  default: !1
937
+ },
938
+ maxLength: {},
939
+ showCounter: {
940
+ type: Boolean,
941
+ default: !1
935
942
  }
936
943
  },
937
944
  emits: ["update:modelValue"],
938
945
  setup(e, { emit: t }) {
939
- let r = e, o = t, s = ee(), u = k(), d = n(() => s.id === void 0 || s.id === null || s.id === "" ? u : String(s.id)), f = n(() => `${d.value}-error`), m = n(() => {
946
+ let r = e, o = t, s = ee(), u = k(), d = n(() => s.id === void 0 || s.id === null || s.id === "" ? u : String(s.id)), f = n(() => `${d.value}-error`), m = n(() => `${d.value}-counter`);
947
+ function h() {
948
+ let e = r.maxLength ?? s.maxlength;
949
+ return typeof e == "number" || typeof e == "string" ? e : void 0;
950
+ }
951
+ let g = n(() => {
940
952
  if (r.error) return !0;
941
953
  let e = s["aria-invalid"];
942
954
  return typeof e == "boolean" || e === "true" || e === "false" || e === "grammar" || e === "spelling" ? e : void 0;
943
- }), h = n(() => {
944
- let e = s["aria-describedby"], t = [typeof e == "string" ? e : "", r.error ? f.value : ""].filter(Boolean);
955
+ }), _ = n(() => {
956
+ let e = s["aria-describedby"], t = [
957
+ typeof e == "string" ? e : "",
958
+ r.error ? f.value : "",
959
+ r.showCounter ? m.value : ""
960
+ ].filter(Boolean);
945
961
  return t.length ? t.join(" ") : void 0;
946
962
  });
947
- function g(e) {
963
+ function v(e) {
948
964
  o("update:modelValue", e ?? "");
949
965
  }
950
966
  return (t, n) => (b(), a("div", Ke, [
@@ -961,13 +977,14 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
961
977
  disabled: e.disabled,
962
978
  readonly: e.readonly,
963
979
  rows: e.rows,
980
+ maxlength: h(),
964
981
  "auto-resize": e.autoResize,
965
982
  invalid: !!e.error,
966
- "aria-invalid": m.value,
967
- "aria-describedby": h.value,
983
+ "aria-invalid": g.value,
984
+ "aria-describedby": _.value,
968
985
  fluid: "",
969
986
  class: ["top-text-area__control top-field-control w-full rounded-[10px] border px-3 py-2 text-xs read-only:cursor-default disabled:cursor-not-allowed", { "resize-y": !e.autoResize }],
970
- "onUpdate:modelValue": g
987
+ "onUpdate:modelValue": v
971
988
  }), null, 16, [
972
989
  "id",
973
990
  "model-value",
@@ -976,25 +993,31 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
976
993
  "disabled",
977
994
  "readonly",
978
995
  "rows",
996
+ "maxlength",
979
997
  "auto-resize",
980
998
  "invalid",
981
999
  "aria-invalid",
982
1000
  "aria-describedby",
983
1001
  "class"
984
1002
  ]),
985
- e.error ? (b(), a("span", {
1003
+ e.showCounter ? (b(), a("span", {
986
1004
  key: 1,
1005
+ id: m.value,
1006
+ class: "top-text-area__counter text-right text-[11px] text-secondary-600 dark:text-zinc-400"
1007
+ }, D(e.modelValue.length) + D(h() === void 0 ? "" : ` / ${h()}`) + " caracteres ", 9, Ye)) : i("", !0),
1008
+ e.error ? (b(), a("span", {
1009
+ key: 2,
987
1010
  id: f.value,
988
1011
  class: "text-[11px] text-red-600 dark:text-red-400",
989
1012
  role: "alert"
990
- }, D(e.error), 9, Ye)) : i("", !0)
1013
+ }, D(e.error), 9, Xe)) : i("", !0)
991
1014
  ]));
992
1015
  }
993
- }), Ze = { class: "top-input-number top-solutions-component flex w-full flex-col gap-1" }, Qe = ["for"], $e = {
1016
+ }), Qe = { class: "top-input-number top-solutions-component flex w-full flex-col gap-1" }, $e = ["for"], et = {
994
1017
  key: 0,
995
1018
  "aria-hidden": "true",
996
1019
  class: "text-red-600 dark:text-red-400"
997
- }, et = ["id"], tt = /* @__PURE__ */ u({
1020
+ }, tt = ["id"], nt = /* @__PURE__ */ u({
998
1021
  inheritAttrs: !1,
999
1022
  __name: "TopInputNumber",
1000
1023
  props: {
@@ -1130,12 +1153,12 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1130
1153
  value: t instanceof HTMLInputElement ? t.value : ""
1131
1154
  });
1132
1155
  }
1133
- return (t, n) => (b(), a("div", Ze, [
1156
+ return (t, n) => (b(), a("div", Qe, [
1134
1157
  e.label ? (b(), a("label", {
1135
1158
  key: 0,
1136
1159
  for: _.value,
1137
1160
  class: "top-field-label text-xs font-bold"
1138
- }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", $e, "*")) : i("", !0)], 8, Qe)) : i("", !0),
1161
+ }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", et, "*")) : i("", !0)], 8, $e)) : i("", !0),
1139
1162
  T.value ? (b(), r(O(B), p({ key: 1 }, M.value, {
1140
1163
  id: _.value,
1141
1164
  "model-value": R(e.modelValue),
@@ -1164,7 +1187,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1164
1187
  "aria-invalid",
1165
1188
  "aria-describedby",
1166
1189
  "class"
1167
- ])) : (b(), r(O(H), p({ key: 2 }, M.value, {
1190
+ ])) : (b(), r(O(ne), p({ key: 2 }, M.value, {
1168
1191
  "model-value": e.modelValue,
1169
1192
  "input-id": _.value,
1170
1193
  placeholder: e.placeholder,
@@ -1207,18 +1230,18 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1207
1230
  id: v.value,
1208
1231
  class: "text-[11px] text-red-600 dark:text-red-400",
1209
1232
  role: "alert"
1210
- }, D(e.error), 9, et)) : i("", !0)
1233
+ }, D(e.error), 9, tt)) : i("", !0)
1211
1234
  ]));
1212
1235
  }
1213
- }), nt = [
1236
+ }), rt = [
1214
1237
  "disabled",
1215
1238
  "aria-expanded",
1216
1239
  "onClick"
1217
- ], rt = { class: "top-nav-bar__mobile-item-label" }, it = {
1240
+ ], it = { class: "top-nav-bar__mobile-item-label" }, at = {
1218
1241
  key: 1,
1219
1242
  class: "top-nav-bar__mobile-count",
1220
1243
  "aria-hidden": "true"
1221
- }, at = /* @__PURE__ */ u({
1244
+ }, ot = /* @__PURE__ */ u({
1222
1245
  name: "TopNavMobileTree",
1223
1246
  __name: "TopNavMobileTree",
1224
1247
  props: {
@@ -1291,14 +1314,14 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1291
1314
  class: h(e.icon),
1292
1315
  "aria-hidden": "true"
1293
1316
  }, null, 2)) : i("", !0),
1294
- o("span", rt, D(e.label), 1),
1295
- p(e).length ? (b(), a("span", it, D(p(e).length), 1)) : i("", !0),
1317
+ o("span", it, D(e.label), 1),
1318
+ p(e).length ? (b(), a("span", at, D(p(e).length), 1)) : i("", !0),
1296
1319
  p(e).length ? (b(), a("i", {
1297
1320
  key: 2,
1298
1321
  class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": g(e) }]),
1299
1322
  "aria-hidden": "true"
1300
1323
  }, null, 2)) : i("", !0)
1301
- ], 10, nt), l(t, { name: "top-nav-bar-menu-expand" }, {
1324
+ ], 10, rt), l(t, { name: "top-nav-bar-menu-expand" }, {
1302
1325
  default: j(() => [p(e).length && g(e) ? (b(), r(u, {
1303
1326
  key: 0,
1304
1327
  items: p(e),
@@ -1316,178 +1339,178 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1316
1339
  }, 1024)], 2))), 128))], 6);
1317
1340
  };
1318
1341
  }
1319
- }), ot = ["aria-expanded"], st = { class: "top-nav-bar__brand" }, ct = {
1342
+ }), st = ["aria-expanded"], ct = { class: "top-nav-bar__brand" }, lt = {
1320
1343
  key: 1,
1321
1344
  class: "top-nav-bar__brand-context-divider",
1322
1345
  "aria-hidden": "true"
1323
- }, lt = {
1346
+ }, ut = {
1324
1347
  key: 2,
1325
1348
  class: "top-nav-bar__context"
1326
- }, ut = {
1349
+ }, dt = {
1327
1350
  key: 0,
1328
1351
  class: "top-nav-bar__client"
1329
- }, dt = ["src"], ft = {
1352
+ }, ft = ["src"], pt = {
1330
1353
  key: 1,
1331
1354
  class: "top-nav-bar__client-logo"
1332
- }, pt = {
1355
+ }, mt = {
1333
1356
  key: 2,
1334
1357
  class: "top-nav-bar__client-details"
1335
- }, mt = { class: "top-nav-bar__client-name" }, ht = {
1358
+ }, ht = { class: "top-nav-bar__client-name" }, gt = {
1336
1359
  key: 0,
1337
1360
  class: "top-nav-bar__client-subtitle"
1338
- }, gt = { class: "top-nav-bar__desktop-tools" }, _t = {
1361
+ }, _t = { class: "top-nav-bar__desktop-tools" }, vt = {
1339
1362
  key: 0,
1340
1363
  class: "top-nav-bar__search-shell",
1341
1364
  "data-top-nav-search": ""
1342
- }, vt = ["value", "placeholder"], yt = ["aria-label"], bt = {
1365
+ }, yt = ["value", "placeholder"], bt = ["aria-label"], xt = {
1343
1366
  key: 1,
1344
1367
  class: "top-nav-bar__search-results",
1345
1368
  role: "menu"
1346
- }, xt = { class: "top-nav-bar__search-results-scroll" }, St = ["disabled", "onClick"], Ct = {
1369
+ }, St = { class: "top-nav-bar__search-results-scroll" }, Ct = ["disabled", "onClick"], wt = {
1347
1370
  key: 0,
1348
1371
  class: "top-nav-bar__empty"
1349
- }, wt = {
1372
+ }, Tt = {
1350
1373
  key: 1,
1351
1374
  class: "top-nav-bar__quick-actions",
1352
1375
  "data-top-nav-actions": ""
1353
- }, Tt = [
1376
+ }, Et = [
1354
1377
  "disabled",
1355
1378
  "aria-label",
1356
1379
  "aria-pressed",
1357
1380
  "title",
1358
1381
  "onClick"
1359
- ], Et = ["aria-expanded"], Dt = {
1382
+ ], Dt = ["aria-expanded"], Ot = {
1360
1383
  key: 0,
1361
1384
  class: "top-nav-bar__popover-layer top-nav-bar__actions-layer"
1362
- }, Ot = {
1385
+ }, kt = {
1363
1386
  class: "top-nav-bar__small-panel",
1364
1387
  role: "menu"
1365
- }, kt = ["disabled", "onClick"], At = {
1388
+ }, At = ["disabled", "onClick"], jt = {
1366
1389
  key: 2,
1367
1390
  class: "top-nav-bar__custom-actions"
1368
- }, jt = ["aria-haspopup", "aria-expanded"], Mt = ["src"], Nt = {
1391
+ }, Mt = ["aria-haspopup", "aria-expanded"], Nt = ["src"], Pt = {
1369
1392
  key: 1,
1370
1393
  class: "top-nav-bar__user-avatar"
1371
- }, Pt = {
1394
+ }, Ft = {
1372
1395
  key: 2,
1373
1396
  class: "top-nav-bar__user-details"
1374
- }, Ft = { class: "top-nav-bar__user-name" }, It = {
1397
+ }, It = { class: "top-nav-bar__user-name" }, Lt = {
1375
1398
  key: 0,
1376
1399
  class: "top-nav-bar__user-subtitle"
1377
- }, Lt = {
1400
+ }, Rt = {
1378
1401
  key: 0,
1379
1402
  class: "pi pi-chevron-down top-nav-bar__chevron",
1380
1403
  "aria-hidden": "true"
1381
- }, Rt = {
1404
+ }, zt = {
1382
1405
  key: 0,
1383
1406
  class: "top-nav-bar__popover-layer top-nav-bar__user-layer"
1384
- }, zt = {
1407
+ }, Bt = {
1385
1408
  class: "top-nav-bar__small-panel top-nav-bar__user-dropdown",
1386
1409
  role: "menu"
1387
- }, Bt = {
1410
+ }, Vt = {
1388
1411
  key: 0,
1389
1412
  class: "top-nav-bar__user-separator",
1390
1413
  role: "separator"
1391
- }, Vt = ["disabled", "onClick"], Ht = {
1414
+ }, Ht = ["disabled", "onClick"], Ut = {
1392
1415
  class: "top-nav-bar__breadcrumbs",
1393
1416
  "aria-label": "Breadcrumb"
1394
- }, Ut = {
1417
+ }, Wt = {
1395
1418
  key: 0,
1396
1419
  class: "top-nav-bar__separator top-nav-bar__desktop-navigation-separator",
1397
1420
  "aria-hidden": "true"
1398
- }, Wt = ["aria-expanded"], Gt = {
1421
+ }, Gt = ["aria-expanded"], Kt = {
1399
1422
  key: 0,
1400
1423
  class: "top-nav-bar__menu-layer"
1401
- }, Kt = {
1424
+ }, qt = {
1402
1425
  class: "top-nav-bar__menu-panel",
1403
1426
  role: "menu"
1404
- }, qt = { class: "top-nav-bar__section-list" }, Jt = [
1427
+ }, Jt = { class: "top-nav-bar__section-list" }, Yt = [
1405
1428
  "aria-haspopup",
1406
1429
  "aria-expanded",
1407
1430
  "onMouseenter",
1408
1431
  "onClick"
1409
- ], Yt = { class: "top-nav-bar__menu-label" }, Xt = {
1432
+ ], Xt = { class: "top-nav-bar__menu-label" }, Zt = {
1410
1433
  key: 1,
1411
1434
  class: "top-nav-bar__item-count"
1412
- }, Zt = {
1435
+ }, Qt = {
1413
1436
  key: 2,
1414
1437
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1415
1438
  "aria-hidden": "true"
1416
- }, Qt = {
1439
+ }, $t = {
1417
1440
  key: 0,
1418
1441
  class: "top-nav-bar__submenu-region"
1419
- }, $t = [
1442
+ }, en = [
1420
1443
  "disabled",
1421
1444
  "aria-haspopup",
1422
1445
  "aria-expanded",
1423
1446
  "onMouseenter",
1424
1447
  "onClick"
1425
- ], en = { class: "top-nav-bar__menu-label" }, tn = {
1448
+ ], tn = { class: "top-nav-bar__menu-label" }, nn = {
1426
1449
  key: 1,
1427
1450
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1428
1451
  "aria-hidden": "true"
1429
- }, nn = ["onMouseenter"], rn = {
1452
+ }, rn = ["onMouseenter"], an = {
1430
1453
  key: 0,
1431
1454
  class: "top-nav-bar__crumb top-nav-bar__crumb--static"
1432
- }, an = ["aria-expanded", "onClick"], on = {
1455
+ }, on = ["aria-expanded", "onClick"], sn = {
1433
1456
  key: 2,
1434
1457
  class: "top-nav-bar__menu-layer"
1435
- }, sn = {
1458
+ }, cn = {
1436
1459
  class: "top-nav-bar__menu-panel top-nav-bar__breadcrumb-panel",
1437
1460
  role: "menu"
1438
- }, cn = [
1461
+ }, ln = [
1439
1462
  "disabled",
1440
1463
  "onMouseenter",
1441
1464
  "onClick"
1442
- ], ln = { class: "top-nav-bar__menu-label" }, un = {
1465
+ ], un = { class: "top-nav-bar__menu-label" }, dn = {
1443
1466
  key: 1,
1444
1467
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1445
1468
  "aria-hidden": "true"
1446
- }, dn = ["onClick"], fn = ["title"], pn = { class: "top-nav-bar__current-label" }, mn = ["aria-label", "aria-pressed"], hn = { class: "top-nav-bar__breadcrumb-actions" }, gn = ["aria-expanded"], _n = {
1469
+ }, fn = ["onClick"], pn = ["title"], mn = { class: "top-nav-bar__current-label" }, hn = ["aria-label", "aria-pressed"], gn = { class: "top-nav-bar__breadcrumb-actions" }, _n = ["aria-expanded"], vn = {
1447
1470
  key: 0,
1448
1471
  class: "top-nav-bar__popover-layer top-nav-bar__favorites-layer"
1449
- }, vn = {
1472
+ }, yn = {
1450
1473
  class: "top-nav-bar__small-panel top-nav-bar__favorites-panel",
1451
1474
  role: "menu"
1452
- }, yn = ["disabled", "onClick"], bn = { class: "top-nav-bar__favorites-title" }, xn = {
1475
+ }, bn = ["disabled", "onClick"], xn = { class: "top-nav-bar__favorites-title" }, Sn = {
1453
1476
  key: 0,
1454
1477
  class: "top-nav-bar__favorites-separator"
1455
- }, Sn = {
1478
+ }, Cn = {
1456
1479
  key: 0,
1457
1480
  class: "top-nav-bar__favorites-row top-nav-bar__desktop-only"
1458
- }, Cn = { class: "top-nav-bar__favorites-title" }, wn = { class: "top-nav-bar__favorites-list" }, Tn = {
1481
+ }, wn = { class: "top-nav-bar__favorites-title" }, Tn = { class: "top-nav-bar__favorites-list" }, En = {
1459
1482
  key: 0,
1460
1483
  class: "top-nav-bar__favorites-separator",
1461
1484
  "aria-hidden": "true"
1462
- }, En = ["disabled", "onClick"], Dn = { class: "top-nav-bar__mobile-menu" }, On = { class: "top-nav-bar__mobile-menu-header" }, kn = { class: "top-nav-bar__drawer-brand" }, An = ["onClick"], jn = {
1485
+ }, Dn = ["disabled", "onClick"], On = { class: "top-nav-bar__mobile-menu" }, kn = { class: "top-nav-bar__mobile-menu-header" }, An = { class: "top-nav-bar__drawer-brand" }, jn = ["onClick"], Mn = {
1463
1486
  key: 0,
1464
1487
  class: "top-nav-bar__drawer-tools"
1465
- }, Mn = { class: "top-nav-bar__drawer-search" }, Nn = ["value", "placeholder"], Pn = ["disabled", "onClick"], Fn = { class: "top-nav-bar__mobile-menu-scroll" }, In = { class: "top-nav-bar__mobile-menu-track" }, Ln = {
1488
+ }, Nn = { class: "top-nav-bar__drawer-search" }, Pn = ["value", "placeholder"], Fn = ["disabled", "onClick"], In = { class: "top-nav-bar__mobile-menu-scroll" }, Ln = { class: "top-nav-bar__mobile-menu-track" }, Rn = {
1466
1489
  key: 0,
1467
1490
  class: "top-nav-bar__mobile-favorites"
1468
- }, Rn = ["aria-expanded"], zn = { class: "top-nav-bar__mobile-item-label" }, Bn = { class: "top-nav-bar__mobile-count" }, Vn = {
1491
+ }, zn = ["aria-expanded"], Bn = { class: "top-nav-bar__mobile-item-label" }, Vn = { class: "top-nav-bar__mobile-count" }, Hn = {
1469
1492
  key: 1,
1470
1493
  class: "top-nav-bar__drawer-empty"
1471
- }, Hn = {
1494
+ }, Un = {
1472
1495
  key: 1,
1473
1496
  class: "top-nav-bar__mobile-footer"
1474
- }, Un = ["aria-haspopup", "aria-expanded"], Wn = ["src"], Gn = {
1497
+ }, Wn = ["aria-haspopup", "aria-expanded"], Gn = ["src"], Kn = {
1475
1498
  key: 1,
1476
1499
  class: "top-nav-bar__user-avatar"
1477
- }, Kn = {
1500
+ }, qn = {
1478
1501
  key: 2,
1479
1502
  class: "top-nav-bar__user-details"
1480
- }, qn = { class: "top-nav-bar__user-name" }, Jn = {
1503
+ }, Jn = { class: "top-nav-bar__user-name" }, Yn = {
1481
1504
  key: 0,
1482
1505
  class: "top-nav-bar__drawer-user-context"
1483
- }, Yn = { class: "top-nav-bar__drawer-user-client" }, Xn = {
1506
+ }, Xn = { class: "top-nav-bar__drawer-user-client" }, Zn = {
1484
1507
  key: 0,
1485
1508
  class: "top-nav-bar__drawer-user-client-subtitle"
1486
- }, Zn = {
1509
+ }, Qn = {
1487
1510
  key: 3,
1488
1511
  class: "pi pi-chevron-down top-nav-bar__mobile-chevron",
1489
1512
  "aria-hidden": "true"
1490
- }, Qn = 120, $n = 24, er = /* @__PURE__ */ u({
1513
+ }, $n = 120, er = 24, tr = /* @__PURE__ */ u({
1491
1514
  __name: "TopNavBar",
1492
1515
  props: {
1493
1516
  sections: { default: () => [] },
@@ -1554,12 +1577,12 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1554
1577
  "user-click"
1555
1578
  ],
1556
1579
  setup(s, { expose: u, emit: d }) {
1557
- let f = s, p = d, g = te(), x = S(null), T = S(null), E = S(null), ee = S(null), k = S(null), M = S(null), P = S(f.mobileOpen ?? !1), F = S(!1), I = S(null), L = S([]), R = S(null), z = S([]), B = S(!1), V = S(!1), H = S(!1), re = S(null), W = S(!1), G = S(!1), K = S(!1), q = S(!0), ie = S(!1), J = S(f.searchValue ?? ""), Y = S(!1), ae = S(!1), oe = S(!1), X = S({
1580
+ let f = s, p = d, g = te(), x = S(null), T = S(null), E = S(null), ee = S(null), k = S(null), M = S(null), P = S(f.mobileOpen ?? !1), F = S(!1), I = S(null), L = S([]), R = S(null), z = S([]), B = S(!1), V = S(!1), ne = S(!1), ie = S(null), U = S(!1), W = S(!1), G = S(!1), K = S(!0), ae = S(!1), q = S(f.searchValue ?? ""), J = S(!1), oe = S(!1), se = S(!1), Y = S({
1558
1581
  collapseActions: !1,
1559
1582
  searchIconOnly: !1,
1560
1583
  hideUserName: !1,
1561
1584
  hideContextDetails: !1
1562
- }), se, ce, le, ue, de = 0;
1585
+ }), ce, le, X, ue, de = 0;
1563
1586
  function fe(e) {
1564
1587
  return (e.children ?? []).filter(Boolean).map((e) => {
1565
1588
  let t = fe(e);
@@ -1589,7 +1612,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1589
1612
  }
1590
1613
  let ge = n(() => {
1591
1614
  if (f.searchResults !== void 0) return f.searchResults;
1592
- let e = he(J.value.trim());
1615
+ let e = he(q.value.trim());
1593
1616
  return e ? me.value.filter((t) => he(t.label).includes(e)) : me.value;
1594
1617
  });
1595
1618
  function _e(e, t) {
@@ -1601,7 +1624,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1601
1624
  }];
1602
1625
  }) : e;
1603
1626
  }
1604
- let ve = n(() => _e(Z.value, he(J.value.trim())));
1627
+ let ve = n(() => _e(Z.value, he(q.value.trim())));
1605
1628
  function ye(e, t, n = []) {
1606
1629
  for (let r of e) {
1607
1630
  let e = [...n, r];
@@ -1687,7 +1710,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1687
1710
  }
1688
1711
  e.push(t);
1689
1712
  }), e.at(-1)?.separator && e.pop(), e;
1690
- }), Me = n(() => !!g["user-menu"] || je.value.some((e) => !e.separator)), Ne = n(() => !!f.user || !!g.user), Pe = n(() => !!(f.client || g.context || g.scope || g.client || g["context-compact"])), Fe = n(() => f.favoriteItems.filter(Boolean)), Ie = n(() => K.value || !q.value), Le = n(() => Fe.value.length > 0 && !Ie.value), Re = n(() => Z.value.length > 0 || f.searchable || Ae.value.length > 0 || Ne.value || !!(g["drawer-menu"] || g["drawer-actions"] || g["drawer-footer"])), ze = n(() => f.user ? f.user.initials ? f.user.initials : f.user.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : ""), Be = n(() => je.value.map((e) => e.separator ? { separator: !0 } : {
1713
+ }), Me = n(() => !!g["user-menu"] || je.value.some((e) => !e.separator)), Ne = n(() => !!f.user || !!g.user), Pe = n(() => !!(f.client || g.context || g.scope || g.client || g["context-compact"])), Fe = n(() => f.favoriteItems.filter(Boolean)), Ie = n(() => G.value || !K.value), Le = n(() => Fe.value.length > 0 && !Ie.value), Re = n(() => Z.value.length > 0 || f.searchable || Ae.value.length > 0 || Ne.value || !!(g["drawer-menu"] || g["drawer-actions"] || g["drawer-footer"])), ze = n(() => f.user ? f.user.initials ? f.user.initials : f.user.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : ""), Be = n(() => je.value.map((e) => e.separator ? { separator: !0 } : {
1691
1714
  label: e.label,
1692
1715
  icon: e.icon,
1693
1716
  disabled: e.disabled,
@@ -1700,20 +1723,20 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1700
1723
  }), 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("") : "");
1701
1724
  function Ue() {
1702
1725
  let e = Math.max(0, window.scrollY);
1703
- if (!K.value && e >= Qn) {
1704
- K.value = !0;
1726
+ if (!G.value && e >= $n) {
1727
+ G.value = !0;
1705
1728
  return;
1706
1729
  }
1707
- K.value && e <= $n && (K.value = !1);
1730
+ G.value && e <= er && (G.value = !1);
1708
1731
  }
1709
1732
  function We() {
1710
1733
  let e = E.value, t = ee.value;
1711
- !e || !t || (q.value = t.scrollWidth <= e.clientWidth + 1);
1734
+ !e || !t || (K.value = t.scrollWidth <= e.clientWidth + 1);
1712
1735
  }
1713
1736
  function Ge() {
1714
1737
  ue = window.requestAnimationFrame(() => {
1715
1738
  ue = window.requestAnimationFrame(() => {
1716
- ie.value = !0;
1739
+ ae.value = !0;
1717
1740
  });
1718
1741
  });
1719
1742
  }
@@ -1727,17 +1750,17 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1727
1750
  e.disabled || (e.kind === "aia" ? p("toggle-aia") : e.kind === "support" ? p("open-support") : p("action", e), B.value = !1, t && (P.value = !1));
1728
1751
  }
1729
1752
  function qe(e, t = !1) {
1730
- e.disabled || e.separator || (p("user-action", e), V.value = !1, H.value = !1, t && (P.value = !1));
1753
+ e.disabled || e.separator || (p("user-action", e), V.value = !1, ne.value = !1, t && (P.value = !1));
1731
1754
  }
1732
1755
  function Je(e) {
1733
1756
  if (!Me.value) {
1734
1757
  p("user-click", f.user);
1735
1758
  return;
1736
1759
  }
1737
- re.value?.toggle(e);
1760
+ ie.value?.toggle(e);
1738
1761
  }
1739
1762
  function Ye(e) {
1740
- J.value = e, p("update:searchValue", e), p("search", e);
1763
+ q.value = e, p("update:searchValue", e), p("search", e);
1741
1764
  }
1742
1765
  function Xe() {
1743
1766
  Ye(""), m(() => P.value ? M.value?.focus() : k.value?.focus());
@@ -1785,7 +1808,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1785
1808
  function it(e, t, n) {
1786
1809
  nt(z, e, t, n);
1787
1810
  }
1788
- function er(e) {
1811
+ function at(e) {
1789
1812
  Q() && (R.value = e, z.value = []);
1790
1813
  }
1791
1814
  function tr() {
@@ -1799,18 +1822,18 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1799
1822
  R.value = R.value === e ? null : e, z.value = [];
1800
1823
  }
1801
1824
  function rr() {
1802
- F.value = !1, I.value = null, L.value = [], R.value = null, z.value = [], B.value = !1, V.value = !1, W.value = !1, Y.value = !1;
1825
+ F.value = !1, I.value = null, L.value = [], R.value = null, z.value = [], B.value = !1, V.value = !1, U.value = !1, J.value = !1;
1803
1826
  }
1804
1827
  async function ir() {
1805
1828
  if (typeof window < "u" && window.innerWidth < 1024) {
1806
1829
  P.value = !0, await m(), M.value?.focus();
1807
1830
  return;
1808
1831
  }
1809
- ae.value = !0, Y.value = !0, await m(), k.value?.focus(), cr();
1832
+ oe.value = !0, J.value = !0, await m(), k.value?.focus(), cr();
1810
1833
  }
1811
1834
  function ar() {
1812
1835
  window.setTimeout(() => {
1813
- Y.value = !1, X.value.searchIconOnly && !J.value.trim() && (ae.value = !1, cr());
1836
+ J.value = !1, Y.value.searchIconOnly && !q.value.trim() && (oe.value = !1, cr());
1814
1837
  }, 150);
1815
1838
  }
1816
1839
  function or() {
@@ -1819,7 +1842,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1819
1842
  async function sr() {
1820
1843
  if (typeof window > "u" || !T.value) return;
1821
1844
  let e = ++de, t = or();
1822
- oe.value = t < 1024;
1845
+ se.value = t < 1024;
1823
1846
  let n = {
1824
1847
  collapseActions: !1,
1825
1848
  searchIconOnly: !1,
@@ -1827,10 +1850,10 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1827
1850
  hideContextDetails: !1
1828
1851
  };
1829
1852
  if (t < 1024) {
1830
- X.value = n, ae.value = !1;
1853
+ Y.value = n, oe.value = !1;
1831
1854
  return;
1832
1855
  }
1833
- if (X.value = {
1856
+ if (Y.value = {
1834
1857
  collapseActions: t < 1440,
1835
1858
  searchIconOnly: t < 1320,
1836
1859
  hideUserName: t < 1180,
@@ -1843,15 +1866,15 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1843
1866
  ]) {
1844
1867
  let n = T.value;
1845
1868
  if (!n || n.scrollWidth <= n.clientWidth + 1) break;
1846
- if (X.value = {
1847
- ...X.value,
1869
+ if (Y.value = {
1870
+ ...Y.value,
1848
1871
  [t]: !0
1849
1872
  }, await m(), e !== de) return;
1850
1873
  }
1851
1874
  }
1852
1875
  function cr() {
1853
- typeof window > "u" || (le !== void 0 && window.cancelAnimationFrame(le), le = window.requestAnimationFrame(() => {
1854
- le = void 0, sr();
1876
+ typeof window > "u" || (X !== void 0 && window.cancelAnimationFrame(X), X = window.requestAnimationFrame(() => {
1877
+ X = void 0, sr();
1855
1878
  }));
1856
1879
  }
1857
1880
  function lr(e) {
@@ -1861,7 +1884,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1861
1884
  rr();
1862
1885
  return;
1863
1886
  }
1864
- t.closest("[data-top-nav-navigation]") || (F.value = !1, I.value = null, L.value = []), t.closest("[data-top-nav-breadcrumb]") || (R.value = null, z.value = []), t.closest("[data-top-nav-actions]") || (B.value = !1), t.closest("[data-top-nav-user]") || (V.value = !1), t.closest("[data-top-nav-favorites]") || (W.value = !1), t.closest("[data-top-nav-search]") || (Y.value = !1);
1887
+ t.closest("[data-top-nav-navigation]") || (F.value = !1, I.value = null, L.value = []), t.closest("[data-top-nav-breadcrumb]") || (R.value = null, z.value = []), t.closest("[data-top-nav-actions]") || (B.value = !1), t.closest("[data-top-nav-user]") || (V.value = !1), t.closest("[data-top-nav-favorites]") || (U.value = !1), t.closest("[data-top-nav-search]") || (J.value = !1);
1865
1888
  }
1866
1889
  }
1867
1890
  function ur(e) {
@@ -1870,11 +1893,11 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1870
1893
  return;
1871
1894
  }
1872
1895
  if (e.key === "Escape") {
1873
- if (H.value) {
1874
- re.value?.hide();
1896
+ if (ne.value) {
1897
+ ie.value?.hide();
1875
1898
  return;
1876
1899
  }
1877
- P.value &&= !1, rr(), X.value.searchIconOnly && !J.value.trim() && (ae.value = !1);
1900
+ P.value &&= !1, rr(), Y.value.searchIconOnly && !q.value.trim() && (oe.value = !1);
1878
1901
  }
1879
1902
  }
1880
1903
  function dr() {
@@ -1890,13 +1913,13 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1890
1913
  }
1891
1914
  function fr() {
1892
1915
  if (Q()) {
1893
- W.value = !0;
1916
+ U.value = !0;
1894
1917
  return;
1895
1918
  }
1896
- W.value = !W.value;
1919
+ U.value = !U.value;
1897
1920
  }
1898
1921
  return A(() => f.searchValue, (e) => {
1899
- e !== void 0 && e !== J.value && (J.value = e);
1922
+ e !== void 0 && e !== q.value && (q.value = e);
1900
1923
  }), A(() => f.mobileOpen, (e) => {
1901
1924
  e !== void 0 && e !== P.value && (P.value = e);
1902
1925
  }), A(P, (e) => p("update:mobileOpen", e)), A([
@@ -1904,11 +1927,11 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1904
1927
  () => f.user,
1905
1928
  Ae
1906
1929
  ], () => m(cr), { deep: !0 }), A(Fe, () => m(We), { deep: !0 }), y(() => {
1907
- document.addEventListener("keydown", ur), document.addEventListener("pointerdown", lr), window.addEventListener("resize", cr), window.visualViewport?.addEventListener("resize", cr), window.addEventListener("resize", We), window.addEventListener("scroll", Ue, { passive: !0 }), typeof ResizeObserver < "u" && (se = new ResizeObserver(cr), T.value && se.observe(T.value), ce = new ResizeObserver(We), E.value && ce.observe(E.value)), cr(), m(() => {
1930
+ document.addEventListener("keydown", ur), document.addEventListener("pointerdown", lr), window.addEventListener("resize", cr), window.visualViewport?.addEventListener("resize", cr), window.addEventListener("resize", We), window.addEventListener("scroll", Ue, { passive: !0 }), typeof ResizeObserver < "u" && (ce = new ResizeObserver(cr), T.value && ce.observe(T.value), le = new ResizeObserver(We), E.value && le.observe(E.value)), cr(), m(() => {
1908
1931
  We(), Ue(), Ge();
1909
1932
  });
1910
1933
  }), v(() => {
1911
- document.removeEventListener("keydown", ur), document.removeEventListener("pointerdown", lr), window.removeEventListener("resize", cr), window.visualViewport?.removeEventListener("resize", cr), window.removeEventListener("resize", We), window.removeEventListener("scroll", Ue), se?.disconnect(), ce?.disconnect(), le !== void 0 && window.cancelAnimationFrame(le), ue !== void 0 && window.cancelAnimationFrame(ue);
1934
+ document.removeEventListener("keydown", ur), document.removeEventListener("pointerdown", lr), window.removeEventListener("resize", cr), window.visualViewport?.removeEventListener("resize", cr), window.removeEventListener("resize", We), window.removeEventListener("scroll", Ue), ce?.disconnect(), le?.disconnect(), X !== void 0 && window.cancelAnimationFrame(X), ue !== void 0 && window.cancelAnimationFrame(ue);
1912
1935
  }), u({
1913
1936
  close: rr,
1914
1937
  closeDrawer: () => {
@@ -1928,7 +1951,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1928
1951
  o("header", {
1929
1952
  ref_key: "headerRef",
1930
1953
  ref: T,
1931
- class: h(["top-nav-bar__header", { "top-nav-bar__header--context-compact": X.value.hideContextDetails }])
1954
+ class: h(["top-nav-bar__header", { "top-nav-bar__header--context-compact": Y.value.hideContextDetails }])
1932
1955
  }, [
1933
1956
  Re.value ? (b(), a("button", {
1934
1957
  key: 0,
@@ -1940,33 +1963,33 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1940
1963
  }, [...u[19] ||= [o("i", {
1941
1964
  class: "pi pi-bars",
1942
1965
  "aria-hidden": "true"
1943
- }, null, -1)]], 8, ot)) : i("", !0),
1944
- o("div", st, [w(n.$slots, "brand", { compact: X.value.hideContextDetails })]),
1945
- Pe.value ? (b(), a("div", ct)) : i("", !0),
1946
- Pe.value ? (b(), a("div", lt, [X.value.hideContextDetails && n.$slots["context-compact"] ? w(n.$slots, "context-compact", {
1966
+ }, null, -1)]], 8, st)) : i("", !0),
1967
+ o("div", ct, [w(n.$slots, "brand", { compact: Y.value.hideContextDetails })]),
1968
+ Pe.value ? (b(), a("div", lt)) : i("", !0),
1969
+ Pe.value ? (b(), a("div", ut, [Y.value.hideContextDetails && n.$slots["context-compact"] ? w(n.$slots, "context-compact", {
1947
1970
  client: s.client,
1948
1971
  compact: !0
1949
1972
  }, void 0, void 0, 0) : n.$slots.context ? w(n.$slots, "context", {
1950
1973
  client: s.client,
1951
- compact: X.value.hideContextDetails
1974
+ compact: Y.value.hideContextDetails
1952
1975
  }, void 0, void 0, 1) : n.$slots.scope ? w(n.$slots, "scope", {
1953
1976
  client: s.client,
1954
- compact: X.value.hideContextDetails
1977
+ compact: Y.value.hideContextDetails
1955
1978
  }, void 0, void 0, 2) : w(n.$slots, "client", {
1956
1979
  client: s.client,
1957
- compact: X.value.hideContextDetails
1958
- }, () => [s.client ? (b(), a("div", ut, [s.client.logoUrl ? (b(), a("img", {
1980
+ compact: Y.value.hideContextDetails
1981
+ }, () => [s.client ? (b(), a("div", dt, [s.client.logoUrl ? (b(), a("img", {
1959
1982
  key: 0,
1960
1983
  src: s.client.logoUrl,
1961
1984
  alt: "",
1962
1985
  class: "top-nav-bar__client-logo"
1963
- }, null, 8, dt)) : (b(), a("span", ft, D(He.value), 1)), X.value.hideContextDetails ? i("", !0) : (b(), a("span", pt, [o("span", mt, D(s.client.name), 1), s.client.subtitle ? (b(), a("span", ht, D(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
1986
+ }, null, 8, ft)) : (b(), a("span", pt, D(He.value), 1)), Y.value.hideContextDetails ? i("", !0) : (b(), a("span", mt, [o("span", ht, D(s.client.name), 1), s.client.subtitle ? (b(), a("span", gt, D(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
1964
1987
  u[24] ||= o("div", {
1965
1988
  class: "top-nav-bar__spacer",
1966
1989
  "aria-hidden": "true"
1967
1990
  }, null, -1),
1968
- o("div", gt, [
1969
- s.searchable ? (b(), a("div", _t, [X.value.searchIconOnly && !ae.value ? (b(), a("button", {
1991
+ o("div", _t, [
1992
+ s.searchable ? (b(), a("div", vt, [Y.value.searchIconOnly && !oe.value ? (b(), a("button", {
1970
1993
  key: 0,
1971
1994
  class: "top-nav-bar__square-button",
1972
1995
  type: "button",
@@ -1978,7 +2001,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1978
2001
  "aria-hidden": "true"
1979
2002
  }, null, -1)]])) : (b(), a("div", {
1980
2003
  key: 1,
1981
- class: h(["top-nav-bar__search", { "top-nav-bar__search--expanded": ae.value }])
2004
+ class: h(["top-nav-bar__search", { "top-nav-bar__search--expanded": oe.value }])
1982
2005
  }, [
1983
2006
  u[22] ||= o("i", {
1984
2007
  class: "pi pi-search",
@@ -1987,27 +2010,27 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
1987
2010
  o("input", {
1988
2011
  ref_key: "searchInputRef",
1989
2012
  ref: k,
1990
- value: J.value,
2013
+ value: q.value,
1991
2014
  type: "text",
1992
2015
  role: "searchbox",
1993
2016
  placeholder: s.searchPlaceholder,
1994
2017
  "aria-label": "Pesquisar no menu",
1995
- onFocus: u[1] ||= (e) => Y.value = !0,
2018
+ onFocus: u[1] ||= (e) => J.value = !0,
1996
2019
  onBlur: ar,
1997
2020
  onInput: u[2] ||= (e) => Ye(e.target.value)
1998
- }, null, 40, vt),
1999
- J.value || X.value.searchIconOnly && ae.value ? (b(), a("button", {
2021
+ }, null, 40, yt),
2022
+ q.value || Y.value.searchIconOnly && oe.value ? (b(), a("button", {
2000
2023
  key: 0,
2001
2024
  class: "top-nav-bar__search-clear",
2002
2025
  type: "button",
2003
- "aria-label": J.value ? "Limpar pesquisa" : "Fechar pesquisa",
2026
+ "aria-label": q.value ? "Limpar pesquisa" : "Fechar pesquisa",
2004
2027
  onMousedown: u[3] ||= N(() => {}, ["prevent"]),
2005
- onClick: u[4] ||= (e) => J.value ? Xe() : ae.value = !1
2028
+ onClick: u[4] ||= (e) => q.value ? Xe() : oe.value = !1
2006
2029
  }, [...u[21] ||= [o("i", {
2007
2030
  class: "pi pi-times",
2008
2031
  "aria-hidden": "true"
2009
- }, null, -1)]], 40, yt)) : i("", !0),
2010
- Y.value ? (b(), a("div", bt, [o("div", xt, [w(n.$slots, "search-results", {
2032
+ }, null, -1)]], 40, bt)) : i("", !0),
2033
+ J.value ? (b(), a("div", xt, [o("div", St, [w(n.$slots, "search-results", {
2011
2034
  items: ge.value,
2012
2035
  select: $
2013
2036
  }, () => [(b(!0), a(e, null, C(ge.value, (e) => (b(), a("button", {
@@ -2022,9 +2045,9 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2022
2045
  key: 0,
2023
2046
  class: h(e.icon),
2024
2047
  "aria-hidden": "true"
2025
- }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 40, St))), 128)), ge.value.length ? i("", !0) : (b(), a("span", Ct, "Nenhum item encontrado."))])])])) : i("", !0)
2048
+ }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 40, Ct))), 128)), ge.value.length ? i("", !0) : (b(), a("span", wt, "Nenhum item encontrado."))])])])) : i("", !0)
2026
2049
  ], 2))])) : i("", !0),
2027
- Ae.value.length ? (b(), a("div", wt, [X.value.collapseActions ? (b(), a(e, { key: 1 }, [o("button", {
2050
+ Ae.value.length ? (b(), a("div", Tt, [Y.value.collapseActions ? (b(), a(e, { key: 1 }, [o("button", {
2028
2051
  class: "top-nav-bar__square-button",
2029
2052
  type: "button",
2030
2053
  "aria-label": "Mais ações",
@@ -2033,7 +2056,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2033
2056
  }, [...u[23] ||= [o("i", {
2034
2057
  class: "pi pi-ellipsis-h",
2035
2058
  "aria-hidden": "true"
2036
- }, null, -1)]], 8, Et), B.value ? (b(), a("div", Dt, [o("div", Ot, [(b(!0), a(e, null, C(Ae.value, (e) => (b(), a("button", {
2059
+ }, null, -1)]], 8, Dt), B.value ? (b(), a("div", Ot, [o("div", kt, [(b(!0), a(e, null, C(Ae.value, (e) => (b(), a("button", {
2037
2060
  key: e.id,
2038
2061
  class: "top-nav-bar__menu-item",
2039
2062
  type: "button",
@@ -2043,7 +2066,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2043
2066
  }, [o("i", {
2044
2067
  class: h(e.icon),
2045
2068
  "aria-hidden": "true"
2046
- }, null, 2), o("span", null, D(e.label), 1)], 8, kt))), 128))])])) : i("", !0)], 64)) : (b(!0), a(e, { key: 0 }, C(Ae.value, (e) => (b(), a("button", {
2069
+ }, null, 2), o("span", null, D(e.label), 1)], 8, At))), 128))])])) : i("", !0)], 64)) : (b(!0), a(e, { key: 0 }, C(Ae.value, (e) => (b(), a("button", {
2047
2070
  key: e.id,
2048
2071
  class: h(["top-nav-bar__square-button", { "top-nav-bar__square-button--active": e.kind === "aia" && s.aiaActive }]),
2049
2072
  type: "button",
@@ -2062,9 +2085,9 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2062
2085
  key: 2,
2063
2086
  class: h(e.icon),
2064
2087
  "aria-hidden": "true"
2065
- }, null, 2))], 10, Tt))), 128))])) : i("", !0),
2066
- n.$slots.actions ? (b(), a("div", At, [w(n.$slots, "actions", {
2067
- compact: X.value.collapseActions,
2088
+ }, null, 2))], 10, Et))), 128))])) : i("", !0),
2089
+ n.$slots.actions ? (b(), a("div", jt, [w(n.$slots, "actions", {
2090
+ compact: Y.value.collapseActions,
2068
2091
  close: rr
2069
2092
  })])) : i("", !0),
2070
2093
  Ne.value ? (b(), a("div", {
@@ -2081,16 +2104,16 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2081
2104
  onClick: dr
2082
2105
  }, [w(n.$slots, "user", {
2083
2106
  user: s.user,
2084
- compact: X.value.hideUserName
2107
+ compact: Y.value.hideUserName
2085
2108
  }, () => [s.user?.avatarUrl ? (b(), a("img", {
2086
2109
  key: 0,
2087
2110
  src: s.user.avatarUrl,
2088
2111
  alt: "",
2089
2112
  class: "top-nav-bar__user-avatar"
2090
- }, null, 8, Mt)) : (b(), a("span", Nt, D(ze.value), 1)), s.user && !X.value.hideUserName ? (b(), a("span", Pt, [o("span", Ft, D(s.user.name), 1), s.user.subtitle ? (b(), a("span", It, D(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), Me.value ? (b(), a("i", Lt)) : i("", !0)], 8, jt), Me.value && V.value ? (b(), a("div", Rt, [o("div", zt, [w(n.$slots, "user-menu", {
2113
+ }, null, 8, Nt)) : (b(), a("span", Pt, D(ze.value), 1)), s.user && !Y.value.hideUserName ? (b(), a("span", Ft, [o("span", It, D(s.user.name), 1), s.user.subtitle ? (b(), a("span", Lt, D(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), Me.value ? (b(), a("i", Rt)) : i("", !0)], 8, Mt), Me.value && V.value ? (b(), a("div", zt, [o("div", Bt, [w(n.$slots, "user-menu", {
2091
2114
  items: je.value,
2092
2115
  select: qe
2093
- }, () => [(b(!0), a(e, null, C(je.value, (t) => (b(), a(e, { key: t.id }, [t.separator ? (b(), a("div", Bt)) : (b(), a("button", {
2116
+ }, () => [(b(!0), a(e, null, C(je.value, (t) => (b(), a(e, { key: t.id }, [t.separator ? (b(), a("div", Vt)) : (b(), a("button", {
2094
2117
  key: 1,
2095
2118
  class: "top-nav-bar__menu-item",
2096
2119
  type: "button",
@@ -2101,16 +2124,16 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2101
2124
  key: 0,
2102
2125
  class: h(t.icon),
2103
2126
  "aria-hidden": "true"
2104
- }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, Vt))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
2127
+ }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, Ht))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
2105
2128
  ])
2106
2129
  ], 2),
2107
- o("div", Ht, [
2130
+ o("div", Ut, [
2108
2131
  o("button", {
2109
2132
  class: "top-nav-bar__crumb",
2110
2133
  type: "button",
2111
2134
  onClick: u[9] ||= (e) => $(s.homeItem)
2112
2135
  }, [l(O(Ee), { icon: O(xe) }, null, 8, ["icon"]), o("span", null, D(s.homeItem.label), 1)]),
2113
- Z.value.length ? (b(), a("span", Ut, "/")) : i("", !0),
2136
+ Z.value.length ? (b(), a("span", Wt, "/")) : i("", !0),
2114
2137
  Z.value.length ? (b(), a("div", {
2115
2138
  key: 1,
2116
2139
  class: "top-nav-bar__dropdown top-nav-bar__desktop-navigation",
@@ -2133,7 +2156,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2133
2156
  class: "pi pi-chevron-down top-nav-bar__chevron",
2134
2157
  "aria-hidden": "true"
2135
2158
  }, null, -1)
2136
- ], 8, Wt), F.value ? (b(), a("div", Gt, [o("div", Kt, [o("div", qt, [(b(!0), a(e, null, C(Z.value, (e) => (b(), a("button", {
2159
+ ], 8, Gt), F.value ? (b(), a("div", Kt, [o("div", qt, [o("div", Jt, [(b(!0), a(e, null, C(Z.value, (e) => (b(), a("button", {
2137
2160
  key: e.id,
2138
2161
  class: h(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--explored": e.children?.length && I.value === e.id }]),
2139
2162
  type: "button",
@@ -2148,10 +2171,10 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2148
2171
  class: h(e.icon),
2149
2172
  "aria-hidden": "true"
2150
2173
  }, null, 2)) : i("", !0),
2151
- o("span", Yt, D(e.label), 1),
2152
- e.children?.length ? (b(), a("span", Xt, D(e.children.length), 1)) : i("", !0),
2153
- e.children?.length ? (b(), a("i", Zt)) : i("", !0)
2154
- ], 42, Jt))), 128))]), Te.value ? (b(), a("div", Qt, [(b(!0), a(e, null, C(Oe.value, (t, n) => (b(), a("div", {
2174
+ o("span", Xt, D(e.label), 1),
2175
+ e.children?.length ? (b(), a("span", Zt, D(e.children.length), 1)) : i("", !0),
2176
+ e.children?.length ? (b(), a("i", Qt)) : i("", !0)
2177
+ ], 42, Yt))), 128))]), Te.value ? (b(), a("div", $t, [(b(!0), a(e, null, C(Oe.value, (t, n) => (b(), a("div", {
2155
2178
  key: `navigation-level-${n}`,
2156
2179
  class: h(["top-nav-bar__cascade-level", { "top-nav-bar__section-items": n === 0 }]),
2157
2180
  role: "menu"
@@ -2174,9 +2197,9 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2174
2197
  class: h(e.icon),
2175
2198
  "aria-hidden": "true"
2176
2199
  }, null, 2)) : i("", !0),
2177
- o("span", en, D(e.label), 1),
2178
- e.children?.length ? (b(), a("i", tn)) : i("", !0)
2179
- ], 42, $t))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
2200
+ o("span", tn, D(e.label), 1),
2201
+ e.children?.length ? (b(), a("i", nn)) : i("", !0)
2202
+ ], 42, en))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
2180
2203
  (b(!0), a(e, null, C(Ce.value, (t, n) => (b(), a(e, { key: t.id }, [o("span", {
2181
2204
  class: h(["top-nav-bar__separator", { "top-nav-bar__separator--current": !t.to && n === Ce.value.length - 1 }]),
2182
2205
  "aria-hidden": "true"
@@ -2184,9 +2207,9 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2184
2207
  key: 0,
2185
2208
  class: "top-nav-bar__dropdown top-nav-bar__breadcrumb-dropdown",
2186
2209
  "data-top-nav-breadcrumb": "",
2187
- onMouseenter: (e) => !oe.value && er(t.id),
2188
- onMouseleave: u[10] ||= (e) => !oe.value && tr()
2189
- }, [oe.value ? (b(), a("span", rn, D(t.label), 1)) : (b(), a("button", {
2210
+ onMouseenter: (e) => !se.value && at(t.id),
2211
+ onMouseleave: u[10] ||= (e) => !se.value && tr()
2212
+ }, [se.value ? (b(), a("span", an, D(t.label), 1)) : (b(), a("button", {
2190
2213
  key: 1,
2191
2214
  class: "top-nav-bar__crumb",
2192
2215
  type: "button",
@@ -2196,7 +2219,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2196
2219
  }, [o("span", null, D(t.label), 1), u[27] ||= o("i", {
2197
2220
  class: "pi pi-chevron-down top-nav-bar__chevron",
2198
2221
  "aria-hidden": "true"
2199
- }, null, -1)], 8, an)), !oe.value && R.value === t.id ? (b(), a("div", on, [o("div", sn, [(b(!0), a(e, null, C(De(we(t)?.children ?? [], z.value), (n, r) => (b(), a("div", {
2222
+ }, null, -1)], 8, on)), !se.value && R.value === t.id ? (b(), a("div", sn, [o("div", cn, [(b(!0), a(e, null, C(De(we(t)?.children ?? [], z.value), (n, r) => (b(), a("div", {
2200
2223
  key: `breadcrumb-${t.id}-${r}`,
2201
2224
  class: h(["top-nav-bar__cascade-level", { "top-nav-bar__breadcrumb-main-items": r === 0 }])
2202
2225
  }, [(b(!0), a(e, null, C(ke(n), (n, s) => (b(), a("div", {
@@ -2216,18 +2239,18 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2216
2239
  class: h(e.icon),
2217
2240
  "aria-hidden": "true"
2218
2241
  }, null, 2)) : i("", !0),
2219
- o("span", ln, D(e.label), 1),
2220
- e.children?.length ? (b(), a("i", un)) : i("", !0)
2221
- ], 42, cn))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, nn)) : t.to ? (b(), a("button", {
2242
+ o("span", un, D(e.label), 1),
2243
+ e.children?.length ? (b(), a("i", dn)) : i("", !0)
2244
+ ], 42, ln))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, rn)) : t.to ? (b(), a("button", {
2222
2245
  key: 1,
2223
2246
  class: "top-nav-bar__crumb",
2224
2247
  type: "button",
2225
2248
  onClick: (e) => $(t)
2226
- }, D(t.label), 9, dn)) : (b(), a("span", {
2249
+ }, D(t.label), 9, fn)) : (b(), a("span", {
2227
2250
  key: 2,
2228
2251
  class: "top-nav-bar__current",
2229
2252
  title: t.label
2230
- }, [o("span", pn, D(t.label), 1), s.showFavoriteToggle ? (b(), a("button", {
2253
+ }, [o("span", mn, D(t.label), 1), s.showFavoriteToggle ? (b(), a("button", {
2231
2254
  key: 0,
2232
2255
  class: "top-nav-bar__favorite-toggle",
2233
2256
  type: "button",
@@ -2237,22 +2260,22 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2237
2260
  }, [o("i", {
2238
2261
  class: h(s.favoriteActive ? "pi pi-star-fill" : "pi pi-star"),
2239
2262
  "aria-hidden": "true"
2240
- }, null, 2)], 8, mn)) : i("", !0)], 8, fn))], 64))), 128)),
2241
- o("div", hn, [l(t, {
2263
+ }, null, 2)], 8, hn)) : i("", !0)], 8, pn))], 64))), 128)),
2264
+ o("div", gn, [l(t, {
2242
2265
  name: "top-nav-bar-favorites-trigger",
2243
- css: ie.value
2266
+ css: ae.value
2244
2267
  }, {
2245
2268
  default: j(() => [Ie.value && Fe.value.length ? (b(), a("div", {
2246
2269
  key: 0,
2247
2270
  class: "top-nav-bar__favorites-menu top-nav-bar__desktop-only",
2248
2271
  "data-top-nav-favorites": "",
2249
- onMouseenter: u[12] ||= (e) => Q() && (W.value = !0),
2250
- onMouseleave: u[13] ||= (e) => Q() && (W.value = !1)
2272
+ onMouseenter: u[12] ||= (e) => Q() && (U.value = !0),
2273
+ onMouseleave: u[13] ||= (e) => Q() && (U.value = !1)
2251
2274
  }, [o("button", {
2252
2275
  class: "top-nav-bar__crumb",
2253
2276
  type: "button",
2254
2277
  "aria-haspopup": "menu",
2255
- "aria-expanded": W.value,
2278
+ "aria-expanded": U.value,
2256
2279
  onClick: fr
2257
2280
  }, [
2258
2281
  u[28] ||= o("i", {
@@ -2264,7 +2287,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2264
2287
  class: "pi pi-chevron-down top-nav-bar__chevron",
2265
2288
  "aria-hidden": "true"
2266
2289
  }, null, -1)
2267
- ], 8, gn), W.value ? (b(), a("div", _n, [o("div", vn, [(b(!0), a(e, null, C(Fe.value, (e) => (b(), a("button", {
2290
+ ], 8, _n), U.value ? (b(), a("div", vn, [o("div", yn, [(b(!0), a(e, null, C(Fe.value, (e) => (b(), a("button", {
2268
2291
  key: e.id,
2269
2292
  class: "top-nav-bar__menu-item",
2270
2293
  type: "button",
@@ -2275,7 +2298,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2275
2298
  key: 0,
2276
2299
  class: h(e.icon),
2277
2300
  "aria-hidden": "true"
2278
- }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 8, yn))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
2301
+ }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 8, bn))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
2279
2302
  _: 1
2280
2303
  }, 8, ["css"]), w(n.$slots, "breadcrumb-actions")])
2281
2304
  ]),
@@ -2288,25 +2311,25 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2288
2311
  ref_key: "favoritesMeasureContentRef",
2289
2312
  ref: ee,
2290
2313
  class: "top-nav-bar__favorites-measure-content"
2291
- }, [o("span", bn, [u[30] ||= o("i", {
2314
+ }, [o("span", xn, [u[30] ||= o("i", {
2292
2315
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
2293
2316
  "aria-hidden": "true"
2294
2317
  }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), (b(!0), a(e, null, C(Fe.value, (e, t) => (b(), a("span", {
2295
2318
  key: `measure-${e.id}`,
2296
2319
  class: "top-nav-bar__favorites-measure-item"
2297
- }, [t > 0 ? (b(), a("span", xn, "|")) : i("", !0), o("span", null, [e.icon ? (b(), a("i", {
2320
+ }, [t > 0 ? (b(), a("span", Sn, "|")) : i("", !0), o("span", null, [e.icon ? (b(), a("i", {
2298
2321
  key: 0,
2299
2322
  class: h(e.icon),
2300
2323
  "aria-hidden": "true"
2301
2324
  }, null, 2)) : i("", !0), c(" " + D(e.label), 1)])]))), 128))], 512)], 512),
2302
2325
  l(t, {
2303
2326
  name: "top-nav-bar-favorites-row",
2304
- css: ie.value
2327
+ css: ae.value
2305
2328
  }, {
2306
- default: j(() => [Le.value ? (b(), a("div", Sn, [o("span", Cn, [u[31] ||= o("i", {
2329
+ default: j(() => [Le.value ? (b(), a("div", Cn, [o("span", wn, [u[31] ||= o("i", {
2307
2330
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
2308
2331
  "aria-hidden": "true"
2309
- }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), o("div", wn, [(b(!0), a(e, null, C(Fe.value, (t, n) => (b(), a(e, { key: `row-${t.id}` }, [n > 0 ? (b(), a("span", Tn, "|")) : i("", !0), o("button", {
2332
+ }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), o("div", Tn, [(b(!0), a(e, null, C(Fe.value, (t, n) => (b(), a(e, { key: `row-${t.id}` }, [n > 0 ? (b(), a("span", En, "|")) : i("", !0), o("button", {
2310
2333
  class: "top-nav-bar__favorites-row-item",
2311
2334
  type: "button",
2312
2335
  disabled: t.disabled,
@@ -2315,18 +2338,18 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2315
2338
  key: 0,
2316
2339
  class: h(t.icon),
2317
2340
  "aria-hidden": "true"
2318
- }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, En)], 64))), 128))])])) : i("", !0)]),
2341
+ }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, Dn)], 64))), 128))])])) : i("", !0)]),
2319
2342
  _: 1
2320
2343
  }, 8, ["css"]),
2321
- l(O(ne), {
2344
+ l(O(re), {
2322
2345
  visible: P.value,
2323
2346
  "onUpdate:visible": u[16] ||= (e) => P.value = e,
2324
2347
  position: "left",
2325
2348
  class: "top-nav-bar__mobile-drawer",
2326
2349
  style: _([Ve.value, { width: "var(--top-nav-drawer-width, min(22rem, calc(100vw - 1.5rem)))" }])
2327
2350
  }, {
2328
- container: j(({ closeCallback: d }) => [o("div", Dn, [
2329
- o("header", On, [w(n.$slots, "drawer-header", { close: d }, () => [o("div", kn, [w(n.$slots, "drawer-brand", {}, () => [w(n.$slots, "brand", { compact: !1 })])]), o("button", {
2351
+ container: j(({ closeCallback: d }) => [o("div", On, [
2352
+ o("header", kn, [w(n.$slots, "drawer-header", { close: d }, () => [o("div", An, [w(n.$slots, "drawer-brand", {}, () => [w(n.$slots, "brand", { compact: !1 })])]), o("button", {
2330
2353
  class: "top-nav-bar__drawer-close top-nav-bar__square-button",
2331
2354
  type: "button",
2332
2355
  "aria-label": "Fechar navegação",
@@ -2334,12 +2357,12 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2334
2357
  }, [...u[32] ||= [o("i", {
2335
2358
  class: "pi pi-times",
2336
2359
  "aria-hidden": "true"
2337
- }, null, -1)]], 8, An)])]),
2338
- s.searchable || Ae.value.length || n.$slots["drawer-actions"] ? (b(), a("div", jn, [s.searchable ? w(n.$slots, "drawer-search", {
2339
- query: J.value,
2360
+ }, null, -1)]], 8, jn)])]),
2361
+ s.searchable || Ae.value.length || n.$slots["drawer-actions"] ? (b(), a("div", Mn, [s.searchable ? w(n.$slots, "drawer-search", {
2362
+ query: q.value,
2340
2363
  update: Ye,
2341
2364
  clear: Xe
2342
- }, () => [o("div", Mn, [
2365
+ }, () => [o("div", Nn, [
2343
2366
  u[34] ||= o("i", {
2344
2367
  class: "pi pi-search",
2345
2368
  "aria-hidden": "true"
@@ -2347,14 +2370,14 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2347
2370
  o("input", {
2348
2371
  ref_key: "mobileSearchInputRef",
2349
2372
  ref: M,
2350
- value: J.value,
2373
+ value: q.value,
2351
2374
  type: "text",
2352
2375
  role: "searchbox",
2353
2376
  placeholder: s.searchPlaceholder,
2354
2377
  "aria-label": "Pesquisar no menu",
2355
2378
  onInput: u[14] ||= (e) => Ye(e.target.value)
2356
- }, null, 40, Nn),
2357
- J.value ? (b(), a("button", {
2379
+ }, null, 40, Pn),
2380
+ q.value ? (b(), a("button", {
2358
2381
  key: 0,
2359
2382
  class: "top-nav-bar__search-clear",
2360
2383
  type: "button",
@@ -2377,27 +2400,27 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2377
2400
  }, [o("i", {
2378
2401
  class: h(e.icon),
2379
2402
  "aria-hidden": "true"
2380
- }, null, 2), o("span", null, D(e.label), 1)], 10, Pn))), 128))])])) : i("", !0),
2381
- o("div", Fn, [
2403
+ }, null, 2), o("span", null, D(e.label), 1)], 10, Fn))), 128))])])) : i("", !0),
2404
+ o("div", In, [
2382
2405
  w(n.$slots, "drawer-before-menu", { close: d }),
2383
- o("div", In, [Fe.value.length ? (b(), a("section", Ln, [o("button", {
2406
+ o("div", Ln, [Fe.value.length ? (b(), a("section", Rn, [o("button", {
2384
2407
  class: "top-nav-bar__mobile-item",
2385
2408
  type: "button",
2386
- "aria-expanded": G.value,
2387
- onClick: u[15] ||= (e) => G.value = !G.value
2409
+ "aria-expanded": W.value,
2410
+ onClick: u[15] ||= (e) => W.value = !W.value
2388
2411
  }, [
2389
2412
  u[35] ||= o("i", {
2390
2413
  class: "pi pi-star-fill top-nav-bar__accent",
2391
2414
  "aria-hidden": "true"
2392
2415
  }, null, -1),
2393
- o("span", zn, D(s.favoriteLabel), 1),
2394
- o("span", Bn, D(Fe.value.length), 1),
2416
+ o("span", Bn, D(s.favoriteLabel), 1),
2417
+ o("span", Vn, D(Fe.value.length), 1),
2395
2418
  o("i", {
2396
- class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": G.value }]),
2419
+ class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": W.value }]),
2397
2420
  "aria-hidden": "true"
2398
2421
  }, null, 2)
2399
- ], 8, Rn), l(t, { name: "top-nav-bar-menu-expand" }, {
2400
- default: j(() => [G.value ? (b(), r(at, {
2422
+ ], 8, zn), l(t, { name: "top-nav-bar-menu-expand" }, {
2423
+ default: j(() => [W.value ? (b(), r(ot, {
2401
2424
  key: 0,
2402
2425
  items: Fe.value,
2403
2426
  "active-item-id": s.activeItemId,
@@ -2409,30 +2432,30 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2409
2432
  sections: ve.value,
2410
2433
  select: $,
2411
2434
  close: d
2412
- }, () => [ve.value.length ? (b(), r(at, {
2435
+ }, () => [ve.value.length ? (b(), r(ot, {
2413
2436
  key: 0,
2414
2437
  items: ve.value,
2415
2438
  "active-item-id": s.activeItemId,
2416
- "force-open": !!J.value.trim(),
2439
+ "force-open": !!q.value.trim(),
2417
2440
  "show-section-dividers": "",
2418
2441
  onSelect: $
2419
2442
  }, null, 8, [
2420
2443
  "items",
2421
2444
  "active-item-id",
2422
2445
  "force-open"
2423
- ])) : (b(), a("div", Vn, "Nenhum menu encontrado."))])]),
2446
+ ])) : (b(), a("div", Hn, "Nenhum menu encontrado."))])]),
2424
2447
  w(n.$slots, "drawer-after-menu", { close: d })
2425
2448
  ]),
2426
- Ne.value || n.$slots["drawer-footer"] ? (b(), a("footer", Hn, [Ne.value ? w(n.$slots, "drawer-user", {
2449
+ Ne.value || n.$slots["drawer-footer"] ? (b(), a("footer", Un, [Ne.value ? w(n.$slots, "drawer-user", {
2427
2450
  user: s.user,
2428
2451
  client: s.client,
2429
- open: H.value,
2430
- toggle: () => H.value = !H.value
2452
+ open: ne.value,
2453
+ toggle: () => ne.value = !ne.value
2431
2454
  }, () => [o("button", {
2432
2455
  class: "top-nav-bar__drawer-user",
2433
2456
  type: "button",
2434
2457
  "aria-haspopup": Me.value ? "menu" : void 0,
2435
- "aria-expanded": Me.value ? H.value : void 0,
2458
+ "aria-expanded": Me.value ? ne.value : void 0,
2436
2459
  onClick: Je
2437
2460
  }, [
2438
2461
  s.user?.avatarUrl ? (b(), a("img", {
@@ -2440,64 +2463,64 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2440
2463
  src: s.user.avatarUrl,
2441
2464
  alt: "",
2442
2465
  class: "top-nav-bar__user-avatar"
2443
- }, null, 8, Wn)) : (b(), a("span", Gn, D(ze.value), 1)),
2444
- s.user ? (b(), a("span", Kn, [o("span", qn, D(s.user.name), 1), s.client ? (b(), a("span", Jn, [o("span", Yn, [u[36] ||= o("i", {
2466
+ }, null, 8, Gn)) : (b(), a("span", Kn, D(ze.value), 1)),
2467
+ s.user ? (b(), a("span", qn, [o("span", Jn, D(s.user.name), 1), s.client ? (b(), a("span", Yn, [o("span", Xn, [u[36] ||= o("i", {
2445
2468
  class: "pi pi-building",
2446
2469
  "aria-hidden": "true"
2447
- }, null, -1), c(D(s.client.name), 1)]), s.client.subtitle ? (b(), a("span", Xn, D(s.client.subtitle), 1)) : i("", !0)])) : i("", !0)])) : i("", !0),
2448
- Me.value ? (b(), a("i", Zn)) : i("", !0)
2449
- ], 8, Un)], void 0, 0) : i("", !0), w(n.$slots, "drawer-footer", { close: d })])) : i("", !0)
2470
+ }, null, -1), c(D(s.client.name), 1)]), s.client.subtitle ? (b(), a("span", Zn, D(s.client.subtitle), 1)) : i("", !0)])) : i("", !0)])) : i("", !0),
2471
+ Me.value ? (b(), a("i", Qn)) : i("", !0)
2472
+ ], 8, Wn)], void 0, 0) : i("", !0), w(n.$slots, "drawer-footer", { close: d })])) : i("", !0)
2450
2473
  ])]),
2451
2474
  _: 3
2452
2475
  }, 8, ["visible", "style"]),
2453
- l(O(U), {
2476
+ l(O(H), {
2454
2477
  ref_key: "drawerUserMenuRef",
2455
- ref: re,
2478
+ ref: ie,
2456
2479
  class: "top-nav-bar__drawer-user-popup",
2457
2480
  model: Be.value,
2458
2481
  popup: !0,
2459
2482
  "append-to": "body",
2460
2483
  "base-z-index": 10001,
2461
- onShow: u[17] ||= (e) => H.value = !0,
2462
- onHide: u[18] ||= (e) => H.value = !1
2484
+ onShow: u[17] ||= (e) => ne.value = !0,
2485
+ onHide: u[18] ||= (e) => ne.value = !1
2463
2486
  }, null, 8, ["model"])
2464
2487
  ], 4));
2465
2488
  }
2466
- }), tr = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, nr = {
2489
+ }), nr = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, rr = {
2467
2490
  key: 0,
2468
2491
  class: "pi pi-spin pi-spinner"
2469
- }, rr = {
2492
+ }, ir = {
2470
2493
  key: 1,
2471
2494
  class: "pi pi-search"
2472
- }, ir = {
2495
+ }, ar = {
2473
2496
  key: 1,
2474
2497
  class: "flex items-center gap-1 !text-sm"
2475
- }, ar = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, or = ["onClick"], sr = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, cr = {
2498
+ }, or = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, sr = ["onClick"], cr = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, lr = {
2476
2499
  key: 1,
2477
2500
  class: "flex min-h-[100px] flex-col items-center justify-center gap-2 py-2"
2478
- }, lr = {
2501
+ }, ur = {
2479
2502
  key: 0,
2480
2503
  class: "text-xs font-medium text-primary-600"
2481
- }, ur = {
2504
+ }, dr = {
2482
2505
  key: 2,
2483
2506
  class: "text-xs text-secondary-500"
2484
- }, dr = { key: 1 }, fr = {
2507
+ }, fr = { key: 1 }, pr = {
2485
2508
  key: 1,
2486
2509
  class: "flex items-center gap-2 font-semibold"
2487
- }, pr = {
2510
+ }, mr = {
2488
2511
  key: 1,
2489
2512
  class: "flex w-full min-w-0 items-start gap-2 overflow-hidden px-2 py-3 text-sm",
2490
2513
  style: { "white-space": "normal" }
2491
- }, mr = ["title"], hr = {
2514
+ }, hr = ["title"], gr = {
2492
2515
  key: 0,
2493
2516
  class: "top-select-option-prefix whitespace-nowrap font-bold text-primary-800 dark:text-primary-100"
2494
- }, gr = {
2517
+ }, _r = {
2495
2518
  key: 0,
2496
2519
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
2497
- }, _r = {
2520
+ }, vr = {
2498
2521
  key: 0,
2499
2522
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
2500
- }, vr = /* @__PURE__ */ u({
2523
+ }, yr = /* @__PURE__ */ u({
2501
2524
  inheritAttrs: !1,
2502
2525
  __name: "TopSelect",
2503
2526
  props: {
@@ -2567,27 +2590,27 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2567
2590
  "change"
2568
2591
  ],
2569
2592
  setup(t, { expose: r, emit: u }) {
2570
- let f = t, _ = u, x = te(), T = ee(), E = re, k = S(""), N = S(!1), P = S(null), L = `top-select-${Math.random().toString(36).slice(2)}`, R = null, z = n({
2593
+ let f = t, _ = u, x = te(), T = ee(), E = ie, k = S(""), N = S(!1), P = S(null), L = `top-select-${Math.random().toString(36).slice(2)}`, R = null, z = n({
2571
2594
  get: () => f.modelValue,
2572
2595
  set: (e) => _("update:modelValue", e)
2573
2596
  }), B = n(() => {
2574
2597
  let { class: e, ...t } = T;
2575
2598
  return t;
2576
- }), V = n(() => f.multiple ? "w-full border-0 bg-transparent p-0 text-xs !shadow-none outline-none ring-0 rounded-none" : I("top-field-control w-full h-auto border rounded-[10px] !pl-9 min-h-[36px] text-xs", T.class)), H = n(() => I("top-field-control w-full h-auto border bg-[var(--top-field-background)] !rounded-l-[10px] !rounded-r-none pl-9 min-h-[40px] text-xs", T.class));
2577
- function ne(e, t) {
2599
+ }), V = n(() => f.multiple ? "w-full border-0 bg-transparent p-0 text-xs !shadow-none outline-none ring-0 rounded-none" : I("top-field-control w-full h-auto border rounded-[10px] !pl-9 min-h-[36px] text-xs", T.class)), ne = n(() => I("top-field-control w-full h-auto border bg-[var(--top-field-background)] !rounded-l-[10px] !rounded-r-none pl-9 min-h-[40px] text-xs", T.class));
2600
+ function re(e, t) {
2578
2601
  return e == null ? "" : String(typeof e == "object" ? e[t] ?? "" : e);
2579
2602
  }
2580
- function U(e) {
2581
- return e == null ? "" : typeof f.optionLabel == "function" ? f.optionLabel(e) : ne(e, f.optionLabel);
2603
+ function H(e) {
2604
+ return e == null ? "" : typeof f.optionLabel == "function" ? f.optionLabel(e) : re(e, f.optionLabel);
2582
2605
  }
2583
- function W(e) {
2584
- return f.optionPrefix ? ne(e, f.optionPrefix) : "";
2606
+ function U(e) {
2607
+ return f.optionPrefix ? re(e, f.optionPrefix) : "";
2585
2608
  }
2586
- function G(e, t = f.showSelectedPrefix) {
2587
- let n = U(e), r = W(e);
2609
+ function W(e, t = f.showSelectedPrefix) {
2610
+ let n = H(e), r = U(e);
2588
2611
  return t && r ? `${r} - ${n}` : n;
2589
2612
  }
2590
- function K(e) {
2613
+ function G(e) {
2591
2614
  let t = k.value;
2592
2615
  if (!t) return [{
2593
2616
  text: e,
@@ -2599,43 +2622,43 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2599
2622
  highlighted: e.toLowerCase() === t.toLowerCase()
2600
2623
  }));
2601
2624
  }
2602
- function q() {
2625
+ function K() {
2603
2626
  P.value?.hide?.();
2604
2627
  }
2605
- function ie() {
2628
+ function ae() {
2606
2629
  typeof window > "u" || window.dispatchEvent(new CustomEvent("top-select:close-others", { detail: { instanceId: L } }));
2607
2630
  }
2608
- function J(e) {
2609
- k.value = e.query ?? "", ie(), !(e.originalEvent.type === "click" && e.originalEvent.currentTarget?.classList.contains("p-autocomplete-dropdown") && f.options.length > 0) && _("search", {
2631
+ function q(e) {
2632
+ k.value = e.query ?? "", ae(), !(e.originalEvent.type === "click" && e.originalEvent.currentTarget?.classList.contains("p-autocomplete-dropdown") && f.options.length > 0) && _("search", {
2610
2633
  ...e,
2611
2634
  query: k.value
2612
2635
  });
2613
2636
  }
2614
- function Y(e) {
2615
- e.detail?.instanceId !== L && q();
2637
+ function J(e) {
2638
+ e.detail?.instanceId !== L && K();
2616
2639
  }
2617
- function ae() {
2640
+ function oe() {
2618
2641
  if (f.disabled || R) {
2619
- q();
2642
+ K();
2620
2643
  return;
2621
2644
  }
2622
- N.value = !0, ie();
2645
+ N.value = !0, ae();
2623
2646
  }
2624
- function oe() {
2625
- f.closeOnSelect && (N.value = !1, q(), m(q), R && clearTimeout(R), R = setTimeout(() => {
2626
- q(), R = null;
2647
+ function se() {
2648
+ f.closeOnSelect && (N.value = !1, K(), m(K), R && clearTimeout(R), R = setTimeout(() => {
2649
+ K(), R = null;
2627
2650
  }, 200));
2628
2651
  }
2629
- return r({ hideDropdown: q }), y(() => window.addEventListener("top-select:close-others", Y)), v(() => {
2630
- window.removeEventListener("top-select:close-others", Y), R && clearTimeout(R);
2652
+ return r({ hideDropdown: K }), y(() => window.addEventListener("top-select:close-others", J)), v(() => {
2653
+ window.removeEventListener("top-select:close-others", J), R && clearTimeout(R);
2631
2654
  }), A(() => f.disabled, (e) => {
2632
- e && (N.value = !1, q());
2655
+ e && (N.value = !1, K());
2633
2656
  }), A(() => f.options, () => {
2634
- N.value || q();
2657
+ N.value || K();
2635
2658
  }), (n, r) => (b(), a("div", {
2636
2659
  class: h(["top-select top-solutions-component relative w-full", { "pointer-events-none": t.disabled }]),
2637
- onFocusin: ae
2638
- }, [o("span", tr, [w(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (b(), a("i", nr)) : (b(), a("i", rr))])]), l(O(E), p({
2660
+ onFocusin: oe
2661
+ }, [o("span", nr, [w(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (b(), a("i", rr)) : (b(), a("i", ir))])]), l(O(E), p({
2639
2662
  ref_key: "autocompleteRef",
2640
2663
  ref: P
2641
2664
  }, B.value, {
@@ -2645,7 +2668,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2645
2668
  "option-group-children": t.optionGroupChildren ?? void 0,
2646
2669
  suggestions: t.options,
2647
2670
  "data-key": t.optionKey,
2648
- "option-label": (e) => G(e),
2671
+ "option-label": (e) => W(e),
2649
2672
  placeholder: t.placeholder,
2650
2673
  multiple: t.multiple,
2651
2674
  "min-length": t.minQueryLength,
@@ -2670,7 +2693,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2670
2693
  root: { class: ["w-full text-xs", t.multiple ? "h-auto" : "h-[40px]"].join(" ") },
2671
2694
  pcInputText: { root: { class: V.value } },
2672
2695
  input: { class: V.value },
2673
- inputMultiple: { class: H.value },
2696
+ inputMultiple: { class: ne.value },
2674
2697
  inputChip: { class: "py-0" },
2675
2698
  token: { class: "bg-primary-100 text-primary-900 rounded-md gap-2 px-2 my-1 dark:bg-primary-900 dark:text-primary-100" },
2676
2699
  removeTokenIcon: { class: "text-primary-900 w-3 h-3 cursor-pointer dark:text-primary-100" },
@@ -2692,42 +2715,42 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2692
2715
  k.value = "", _("clear");
2693
2716
  },
2694
2717
  onItemSelect: r[2] ||= (e) => {
2695
- k.value = "", _("select", e), oe();
2718
+ k.value = "", _("select", e), se();
2696
2719
  },
2697
2720
  onComplete: r[3] ||= (e) => {
2698
2721
  if (t.disabled) {
2699
- q();
2722
+ K();
2700
2723
  return;
2701
2724
  }
2702
- J(e);
2725
+ q(e);
2703
2726
  },
2704
2727
  onChange: r[4] ||= (e) => _("change", e)
2705
2728
  }), s({
2706
- chip: j((e) => [O(x).chip ? w(n.$slots, "chip", g(d(e)), void 0, void 0, 0) : (b(), a("div", ir, [o("div", ar, [o("i", {
2729
+ chip: j((e) => [O(x).chip ? w(n.$slots, "chip", g(d(e)), void 0, void 0, 0) : (b(), a("div", ar, [o("div", or, [o("i", {
2707
2730
  class: "pi pi-times-circle shrink-0 cursor-pointer rounded-full hover:bg-primary-800",
2708
2731
  onClick: (t) => e.removeCallback(t)
2709
- }, null, 8, or), M((b(), a("span", sr, [c(D(G(e.value)), 1)])), [[
2732
+ }, null, 8, sr), M((b(), a("span", cr, [c(D(W(e.value)), 1)])), [[
2710
2733
  O(F),
2711
- G(e.value),
2734
+ W(e.value),
2712
2735
  void 0,
2713
2736
  { top: !0 }
2714
2737
  ]])])]))]),
2715
- empty: j(() => [O(x).empty ? w(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (b(), a("div", cr, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (b(), a("span", lr, D(t.loadingMessage), 1)) : i("", !0)])) : (b(), a("span", ur, D(t.emptyMessage), 1))]),
2716
- "selected-item": j((e) => [O(x)["selected-item"] ? w(n.$slots, "selected-item", g(d(e)), void 0, void 0, 0) : e.item ? (b(), a("span", dr, D(G(e.item)), 1)) : i("", !0)]),
2717
- optiongroup: j((e) => [O(x)["option-group"] ? w(n.$slots, "option-group", g(d(e)), void 0, void 0, 0) : (b(), a("div", fr, [e.option.icon ? (b(), a("i", {
2738
+ empty: j(() => [O(x).empty ? w(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (b(), a("div", lr, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (b(), a("span", ur, D(t.loadingMessage), 1)) : i("", !0)])) : (b(), a("span", dr, D(t.emptyMessage), 1))]),
2739
+ "selected-item": j((e) => [O(x)["selected-item"] ? w(n.$slots, "selected-item", g(d(e)), void 0, void 0, 0) : e.item ? (b(), a("span", fr, D(W(e.item)), 1)) : i("", !0)]),
2740
+ optiongroup: j((e) => [O(x)["option-group"] ? w(n.$slots, "option-group", g(d(e)), void 0, void 0, 0) : (b(), a("div", pr, [e.option.icon ? (b(), a("i", {
2718
2741
  key: 0,
2719
2742
  class: h(e.option.icon)
2720
2743
  }, null, 2)) : i("", !0), o("span", null, D(e.option[t.optionGroupLabel ?? "label"]), 1)]))]),
2721
2744
  option: j((s) => [O(x).option ? w(n.$slots, "option", p(s, {
2722
- label: U(s.option),
2723
- prefix: W(s.option),
2745
+ label: H(s.option),
2746
+ prefix: U(s.option),
2724
2747
  query: k.value
2725
- }), void 0, void 0, 0) : M((b(), a("div", pr, [o("span", {
2748
+ }), void 0, void 0, 0) : M((b(), a("div", mr, [o("span", {
2726
2749
  class: "top-select-option-label line-clamp-2 min-w-0 flex-1 text-secondary-700 dark:text-zinc-200",
2727
- title: U(s.option)
2728
- }, [t.showOptionPrefix && W(s.option) ? (b(), a("span", hr, [(b(!0), a(e, null, C(K(W(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", gr, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(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), (b(!0), a(e, null, C(K(U(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", _r, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128))], 8, mr)])), [[
2750
+ title: H(s.option)
2751
+ }, [t.showOptionPrefix && U(s.option) ? (b(), a("span", gr, [(b(!0), a(e, null, C(G(U(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", _r, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(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), (b(!0), a(e, null, C(G(H(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", vr, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128))], 8, hr)])), [[
2729
2752
  O(F),
2730
- t.showTooltip ? U(s.option) : null,
2753
+ t.showTooltip ? H(s.option) : null,
2731
2754
  void 0,
2732
2755
  { top: !0 }
2733
2756
  ]])]),
@@ -2754,7 +2777,7 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2754
2777
  "pt"
2755
2778
  ])], 34));
2756
2779
  }
2757
- }), yr = /* @__PURE__ */ u({
2780
+ }), br = /* @__PURE__ */ u({
2758
2781
  inheritAttrs: !1,
2759
2782
  __name: "TopTabs",
2760
2783
  props: {
@@ -2775,15 +2798,15 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2775
2798
  function o(e) {
2776
2799
  return String(e.value);
2777
2800
  }
2778
- return (n, s) => (b(), r(O(ie), p(n.$attrs, {
2801
+ return (n, s) => (b(), r(O(ae), p(n.$attrs, {
2779
2802
  class: "top-tabs top-solutions-component w-full min-w-0",
2780
2803
  value: t.modelValue,
2781
2804
  lazy: t.lazy,
2782
2805
  scrollable: t.scrollable,
2783
2806
  "onUpdate:value": s[0] ||= (e) => i("update:modelValue", e)
2784
2807
  }), {
2785
- default: j(() => [l(O(G), null, {
2786
- default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(W), {
2808
+ default: j(() => [l(O(W), null, {
2809
+ default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(U), {
2787
2810
  key: e.value,
2788
2811
  value: e.value,
2789
2812
  disabled: e.disabled
@@ -2792,8 +2815,8 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2792
2815
  _: 2
2793
2816
  }, 1032, ["value", "disabled"]))), 128))]),
2794
2817
  _: 1
2795
- }), l(O(q), null, {
2796
- default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(K), {
2818
+ }), l(O(K), null, {
2819
+ default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(G), {
2797
2820
  key: e.value,
2798
2821
  value: e.value
2799
2822
  }, {
@@ -2815,12 +2838,12 @@ var Ee = /* @__PURE__ */ Ce(Se, [["render", Te], ["__file", "/Users/mahmudulhasa
2815
2838
  });
2816
2839
  //#endregion
2817
2840
  //#region src/components/internal/topAccordion.ts
2818
- function br(e, t) {
2841
+ function xr(e, t) {
2819
2842
  return `${e}--section-${encodeURIComponent(String(t))}`;
2820
2843
  }
2821
2844
  //#endregion
2822
2845
  //#region src/components/TopAccordion.vue?vue&type=script&setup=true&lang.ts
2823
- var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2846
+ var Sr = Symbol("top-accordion-context"), Cr = /* @__PURE__ */ u({
2824
2847
  inheritAttrs: !1,
2825
2848
  __name: "TopAccordion",
2826
2849
  props: {
@@ -2845,7 +2868,7 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2845
2868
  return s.value.includes(e);
2846
2869
  }
2847
2870
  function g(e) {
2848
- return br(i.id, e);
2871
+ return xr(i.id, e);
2849
2872
  }
2850
2873
  function _(e) {
2851
2874
  s.value = Array.isArray(e) ? e : e == null ? [] : [e];
@@ -2861,7 +2884,7 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2861
2884
  behavior: t.behavior ?? "smooth"
2862
2885
  }), !0;
2863
2886
  }
2864
- return x(xr, {
2887
+ return x(Sr, {
2865
2888
  accordionId: i.id,
2866
2889
  sections: c,
2867
2890
  openSections: s,
@@ -2876,7 +2899,7 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2876
2899
  ref_key: "rootRef",
2877
2900
  ref: u,
2878
2901
  class: "top-accordion top-solutions-component"
2879
- }, [l(O(J), p(t.$attrs, {
2902
+ }, [l(O(q), p(t.$attrs, {
2880
2903
  value: d.value,
2881
2904
  multiple: e.multiple,
2882
2905
  "expand-icon": "pi pi-chevron-down",
@@ -2888,11 +2911,11 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2888
2911
  _: 3
2889
2912
  }, 16, ["value", "multiple"])], 512));
2890
2913
  }
2891
- }), Cr = {
2914
+ }), wr = {
2892
2915
  key: 0,
2893
2916
  class: "top-accordion-summary__separator",
2894
2917
  "aria-hidden": "true"
2895
- }, wr = { class: "top-accordion-summary__item" }, Tr = /* @__PURE__ */ u({
2918
+ }, Tr = { class: "top-accordion-summary__item" }, Er = /* @__PURE__ */ u({
2896
2919
  __name: "TopAccordionSummary",
2897
2920
  props: {
2898
2921
  items: { default: () => [] },
@@ -2913,12 +2936,12 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2913
2936
  return (r, s) => t.visible && (t.items.length || r.$slots.default) ? (b(), a("div", {
2914
2937
  key: 0,
2915
2938
  class: h(["top-accordion-summary", { "top-accordion-summary--nowrap": t.nowrap }])
2916
- }, [(b(!0), a(e, null, C(t.items, (t, r) => (b(), a(e, { key: `${t.label}-${r}` }, [r > 0 ? (b(), a("span", Cr)) : i("", !0), o("span", wr, [o("strong", null, D(t.label) + ":", 1), c(" " + D(n(t)), 1)])], 64))), 128)), w(r.$slots, "default")], 2)) : i("", !0);
2939
+ }, [(b(!0), a(e, null, C(t.items, (t, r) => (b(), a(e, { key: `${t.label}-${r}` }, [r > 0 ? (b(), a("span", wr)) : i("", !0), o("span", Tr, [o("strong", null, D(t.label) + ":", 1), c(" " + D(n(t)), 1)])], 64))), 128)), w(r.$slots, "default")], 2)) : i("", !0);
2917
2940
  }
2918
- }), Er = ["id"], Dr = { class: "top-accordion-panel__heading" }, Or = { class: "top-accordion-panel__title-row" }, kr = {
2941
+ }), Dr = ["id"], Or = { class: "top-accordion-panel__heading" }, kr = { class: "top-accordion-panel__title-row" }, Ar = {
2919
2942
  class: "top-accordion-panel__badge",
2920
2943
  "aria-hidden": "true"
2921
- }, Ar = { key: 1 }, jr = { class: "top-accordion-panel__title" }, Mr = ["aria-label"], Nr = /* @__PURE__ */ u({
2944
+ }, jr = { key: 1 }, Mr = { class: "top-accordion-panel__title" }, Nr = ["aria-label"], Pr = /* @__PURE__ */ u({
2922
2945
  inheritAttrs: !1,
2923
2946
  __name: "TopAccordionPanel",
2924
2947
  props: {
@@ -2970,27 +2993,27 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
2970
2993
  }
2971
2994
  },
2972
2995
  setup(e) {
2973
- let t = e, r = f(xr);
2996
+ let t = e, r = f(Sr);
2974
2997
  if (!r) throw Error("TopAccordionPanel deve ser usado dentro de TopAccordion.");
2975
2998
  let s = n(() => r.getSection(t.value)), u = n(() => t.title || s.value?.label || String(t.value)), d = n(() => t.icon || s.value?.icon || ""), m = n(() => !!s.value?.disabled), g = n(() => r.sections.value.findIndex((e) => e.value === t.value) + 1), v = n(() => r.isOpen(t.value)), y = n(() => r.getAnchorId(t.value)), x = n(() => t.status === "valid" ? "pi pi-check-circle" : "pi pi-times-circle"), S = n(() => t.status === "valid" ? "top-accordion-panel__status--valid" : "top-accordion-panel__status--error");
2976
2999
  return (t, n) => (b(), a("div", {
2977
3000
  id: y.value,
2978
3001
  class: "top-accordion-panel-anchor"
2979
- }, [l(O(oe), p(t.$attrs, {
3002
+ }, [l(O(se), p(t.$attrs, {
2980
3003
  value: e.value,
2981
3004
  disabled: m.value,
2982
3005
  class: "top-accordion-panel"
2983
3006
  }), {
2984
- default: j(() => [l(O(ae), {
3007
+ default: j(() => [l(O(oe), {
2985
3008
  class: h(["top-accordion-panel__header", e.headerClass]),
2986
3009
  style: _(e.headerStyle)
2987
3010
  }, {
2988
- default: j(() => [o("div", Dr, [o("div", Or, [
2989
- o("span", kr, [w(t.$slots, "icon", {}, () => [d.value ? (b(), a("i", {
3011
+ default: j(() => [o("div", Or, [o("div", kr, [
3012
+ o("span", Ar, [w(t.$slots, "icon", {}, () => [d.value ? (b(), a("i", {
2990
3013
  key: 0,
2991
3014
  class: h(d.value)
2992
- }, null, 2)) : (b(), a("span", Ar, D(g.value), 1))])]),
2993
- o("span", jr, [w(t.$slots, "title", {}, () => [c(D(u.value), 1)])]),
3015
+ }, null, 2)) : (b(), a("span", jr, D(g.value), 1))])]),
3016
+ o("span", Mr, [w(t.$slots, "title", {}, () => [c(D(u.value), 1)])]),
2994
3017
  w(t.$slots, "status", {}, () => [e.status ? (b(), a("i", {
2995
3018
  key: 0,
2996
3019
  class: h([
@@ -3000,13 +3023,13 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3000
3023
  ]),
3001
3024
  "aria-label": e.statusLabel || (e.status === "valid" ? "Seção válida" : "Existem erros na seção"),
3002
3025
  role: "img"
3003
- }, null, 10, Mr)) : i("", !0)])
3004
- ]), t.$slots.preview ? w(t.$slots, "preview", { open: v.value }, void 0, void 0, 0) : w(t.$slots, "summary", { open: v.value }, () => [l(Tr, {
3026
+ }, null, 10, Nr)) : i("", !0)])
3027
+ ]), t.$slots.preview ? w(t.$slots, "preview", { open: v.value }, void 0, void 0, 0) : w(t.$slots, "summary", { open: v.value }, () => [l(Er, {
3005
3028
  items: e.summary,
3006
3029
  visible: !v.value
3007
3030
  }, null, 8, ["items", "visible"])], void 0, 1)])]),
3008
3031
  _: 3
3009
- }, 8, ["class", "style"]), l(O(Y), null, {
3032
+ }, 8, ["class", "style"]), l(O(J), null, {
3010
3033
  default: j(() => [o("div", {
3011
3034
  class: h(["top-accordion-panel__content", e.contentClass]),
3012
3035
  style: _(e.contentStyle)
@@ -3014,16 +3037,16 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3014
3037
  _: 3
3015
3038
  })]),
3016
3039
  _: 3
3017
- }, 16, ["value", "disabled"])], 8, Er));
3040
+ }, 16, ["value", "disabled"])], 8, Dr));
3018
3041
  }
3019
- }), Pr = { class: "top-accordion-navigator__items" }, Fr = [
3042
+ }), Fr = { class: "top-accordion-navigator__items" }, Ir = [
3020
3043
  "disabled",
3021
3044
  "aria-current",
3022
3045
  "onClick"
3023
- ], Ir = { class: "top-accordion-navigator__badge" }, Lr = {
3046
+ ], Lr = { class: "top-accordion-navigator__badge" }, Rr = {
3024
3047
  key: 0,
3025
3048
  class: "pi pi-lock"
3026
- }, Rr = { key: 2 }, zr = { class: "top-accordion-navigator__label" }, Br = /* @__PURE__ */ u({
3049
+ }, zr = { key: 2 }, Br = { class: "top-accordion-navigator__label" }, Vr = /* @__PURE__ */ u({
3027
3050
  __name: "TopAccordionNavigator",
3028
3051
  props: {
3029
3052
  accordionId: {},
@@ -3059,7 +3082,7 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3059
3082
  async function E(e) {
3060
3083
  if (e.disabled) return;
3061
3084
  x(e.value) || (g.value = [...g.value, e.value]), c("navigate", e), await m(), await new Promise((e) => requestAnimationFrame(() => e()));
3062
- let t = document.getElementById(br(s.accordionId, e.value));
3085
+ let t = document.getElementById(xr(s.accordionId, e.value));
3063
3086
  t && window.scrollTo({
3064
3087
  top: t.getBoundingClientRect().top + window.scrollY - s.scrollOffset,
3065
3088
  behavior: "smooth"
@@ -3098,7 +3121,7 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3098
3121
  ref_key: "containerRef",
3099
3122
  ref: l,
3100
3123
  class: "top-accordion-navigator__scroll-area"
3101
- }, [o("div", Pr, [(b(!0), a(e, null, C(t.sections, (n, r) => (b(), a(e, { key: n.value }, [o("button", {
3124
+ }, [o("div", Fr, [(b(!0), a(e, null, C(t.sections, (n, r) => (b(), a(e, { key: n.value }, [o("button", {
3102
3125
  class: h(["top-accordion-navigator__item", {
3103
3126
  "top-accordion-navigator__item--open": x(n.value),
3104
3127
  "top-accordion-navigator__item--disabled": n.disabled
@@ -3107,20 +3130,20 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3107
3130
  type: "button",
3108
3131
  "aria-current": x(n.value) ? "step" : void 0,
3109
3132
  onClick: (e) => E(n)
3110
- }, [o("span", Ir, [n.disabled ? (b(), a("i", Lr)) : n.icon ? (b(), a("i", {
3133
+ }, [o("span", Lr, [n.disabled ? (b(), a("i", Rr)) : n.icon ? (b(), a("i", {
3111
3134
  key: 1,
3112
3135
  class: h(n.icon)
3113
- }, null, 2)) : (b(), a("span", Rr, D(r + 1), 1))]), o("span", zr, D(n.label), 1)], 10, Fr), r < t.sections.length - 1 ? (b(), a("span", {
3136
+ }, null, 2)) : (b(), a("span", zr, D(r + 1), 1))]), o("span", Br, D(n.label), 1)], 10, Ir), r < t.sections.length - 1 ? (b(), a("span", {
3114
3137
  key: 0,
3115
3138
  class: h(["top-accordion-navigator__connector", { "top-accordion-navigator__connector--open": x(n.value) && x(t.sections[r + 1].value) }]),
3116
3139
  "aria-hidden": "true"
3117
3140
  }, null, 2)) : i("", !0)], 64))), 128))])], 512)
3118
3141
  ], 6));
3119
3142
  }
3120
- }), Vr = { class: "top-toast__content" }, Hr = { class: "top-toast__detail" }, Ur = ["onClick"], Wr = {
3143
+ }), Hr = { class: "top-toast__content" }, Ur = { class: "top-toast__detail" }, Wr = ["onClick"], Gr = {
3121
3144
  key: 0,
3122
3145
  class: "top-toast__footer"
3123
- }, Gr = /* @__PURE__ */ u({
3146
+ }, Kr = /* @__PURE__ */ u({
3124
3147
  __name: "TopToast",
3125
3148
  props: { baseZIndex: { default: 3e4 } },
3126
3149
  setup(e) {
@@ -3142,13 +3165,13 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3142
3165
  function d(e, t) {
3143
3166
  return `top-toast__${t}--${e.severity ?? "info"}`;
3144
3167
  }
3145
- return (f, p) => (b(), r(O(X), {
3168
+ return (f, p) => (b(), r(O(Y), {
3146
3169
  position: "top-right",
3147
3170
  "base-z-index": e.baseZIndex
3148
3171
  }, {
3149
- message: j((e) => [o("div", Vr, [
3172
+ message: j((e) => [o("div", Hr, [
3150
3173
  o("div", { class: h(["top-toast__summary", d(e.message, "summary")]) }, D(e.message.summary), 3),
3151
- o("div", Hr, D(e.message.detail), 1),
3174
+ o("div", Ur, D(e.message.detail), 1),
3152
3175
  u(e.message) ? w(f.$slots, "action", {
3153
3176
  action: n(e.message),
3154
3177
  message: e.message,
@@ -3162,17 +3185,17 @@ var xr = Symbol("top-accordion-context"), Sr = /* @__PURE__ */ u({
3162
3185
  key: 0,
3163
3186
  class: h(n(e.message)?.icon),
3164
3187
  "aria-hidden": "true"
3165
- }, null, 2)) : i("", !0), c(" " + D(n(e.message)?.label), 1)], 10, Ur)) : i("", !0)], void 0, 0) : i("", !0),
3188
+ }, null, 2)) : i("", !0), c(" " + D(n(e.message)?.label), 1)], 10, Wr)) : i("", !0)], void 0, 0) : i("", !0),
3166
3189
  l(e.message) ? w(f.$slots, "footer", {
3167
3190
  message: e.message,
3168
3191
  footer: t(e.message)
3169
- }, () => [t(e.message) === void 0 ? i("", !0) : (b(), a("div", Wr, D(t(e.message)), 1))], void 0, 1) : i("", !0)
3192
+ }, () => [t(e.message) === void 0 ? i("", !0) : (b(), a("div", Gr, D(t(e.message)), 1))], void 0, 1) : i("", !0)
3170
3193
  ])]),
3171
3194
  _: 3
3172
3195
  }, 8, ["base-z-index"]));
3173
3196
  }
3174
3197
  });
3175
3198
  //#endregion
3176
- export { Sr as a, er as c, $ as d, He as f, ce as g, le as h, Tr as i, tt as l, me as m, Br as n, yr as o, ye as p, Nr as r, vr as s, Gr as t, Xe as u };
3199
+ export { Cr as a, tr as c, $ as d, He as f, le as g, X as h, Er as i, nt as l, me as m, Vr as n, br as o, ye as p, Pr as r, yr as s, Kr as t, Ze as u };
3177
3200
 
3178
- //# sourceMappingURL=TopToast-bWBafGfo.js.map
3201
+ //# sourceMappingURL=TopToast-8u50_WSL.js.map