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