@topjoao/top-design-system 0.1.0-beta.21 → 0.1.0-beta.22

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.
@@ -1001,148 +1001,160 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1001
1001
  }), We = ["aria-expanded"], Ge = { class: "top-nav-bar__brand" }, Ke = {
1002
1002
  key: 1,
1003
1003
  class: "top-nav-bar__context"
1004
- }, qe = { class: "top-nav-bar__desktop-tools" }, Je = {
1004
+ }, qe = {
1005
+ key: 0,
1006
+ class: "top-nav-bar__client"
1007
+ }, Je = ["src"], Ye = {
1008
+ key: 1,
1009
+ class: "top-nav-bar__client-logo"
1010
+ }, Xe = {
1011
+ key: 2,
1012
+ class: "top-nav-bar__client-details"
1013
+ }, Ze = { class: "top-nav-bar__client-name" }, Qe = {
1014
+ key: 0,
1015
+ class: "top-nav-bar__client-subtitle"
1016
+ }, $e = { class: "top-nav-bar__desktop-tools" }, et = {
1005
1017
  key: 0,
1006
1018
  class: "top-nav-bar__search-shell",
1007
1019
  "data-top-nav-search": ""
1008
- }, Ye = ["value", "placeholder"], Xe = ["aria-label"], Ze = {
1020
+ }, tt = ["value", "placeholder"], nt = ["aria-label"], rt = {
1009
1021
  key: 1,
1010
1022
  class: "top-nav-bar__search-results",
1011
1023
  role: "menu"
1012
- }, Qe = { class: "top-nav-bar__search-results-scroll" }, $e = ["disabled", "onClick"], et = {
1024
+ }, it = { class: "top-nav-bar__search-results-scroll" }, at = ["disabled", "onClick"], ot = {
1013
1025
  key: 0,
1014
1026
  class: "top-nav-bar__empty"
1015
- }, tt = {
1027
+ }, st = {
1016
1028
  key: 1,
1017
1029
  class: "top-nav-bar__quick-actions",
1018
1030
  "data-top-nav-actions": ""
1019
- }, nt = [
1031
+ }, ct = [
1020
1032
  "disabled",
1021
1033
  "aria-label",
1022
1034
  "aria-pressed",
1023
1035
  "title",
1024
1036
  "onClick"
1025
- ], rt = ["aria-expanded"], it = {
1037
+ ], lt = ["aria-expanded"], ut = {
1026
1038
  key: 0,
1027
1039
  class: "top-nav-bar__popover-layer top-nav-bar__actions-layer"
1028
- }, at = {
1040
+ }, dt = {
1029
1041
  class: "top-nav-bar__small-panel",
1030
1042
  role: "menu"
1031
- }, ot = ["disabled", "onClick"], st = {
1043
+ }, ft = ["disabled", "onClick"], pt = {
1032
1044
  key: 2,
1033
1045
  class: "top-nav-bar__custom-actions"
1034
- }, ct = ["aria-haspopup", "aria-expanded"], lt = ["src"], ut = {
1046
+ }, mt = ["aria-haspopup", "aria-expanded"], ht = ["src"], gt = {
1035
1047
  key: 1,
1036
1048
  class: "top-nav-bar__user-avatar"
1037
- }, dt = {
1049
+ }, _t = {
1038
1050
  key: 2,
1039
1051
  class: "top-nav-bar__user-details"
1040
- }, ft = { class: "top-nav-bar__user-name" }, pt = {
1052
+ }, vt = { class: "top-nav-bar__user-name" }, yt = {
1041
1053
  key: 0,
1042
1054
  class: "top-nav-bar__user-subtitle"
1043
- }, mt = {
1055
+ }, bt = {
1044
1056
  key: 0,
1045
1057
  class: "pi pi-chevron-down top-nav-bar__chevron",
1046
1058
  "aria-hidden": "true"
1047
- }, ht = {
1059
+ }, xt = {
1048
1060
  key: 0,
1049
1061
  class: "top-nav-bar__popover-layer top-nav-bar__user-layer"
1050
- }, gt = {
1062
+ }, St = {
1051
1063
  class: "top-nav-bar__small-panel top-nav-bar__user-dropdown",
1052
1064
  role: "menu"
1053
- }, _t = {
1065
+ }, Ct = {
1054
1066
  key: 0,
1055
1067
  class: "top-nav-bar__user-separator",
1056
1068
  role: "separator"
1057
- }, vt = ["disabled", "onClick"], yt = {
1069
+ }, wt = ["disabled", "onClick"], Tt = {
1058
1070
  class: "top-nav-bar__breadcrumbs",
1059
1071
  "aria-label": "Breadcrumb"
1060
- }, bt = {
1072
+ }, Et = {
1061
1073
  key: 0,
1062
1074
  class: "top-nav-bar__separator top-nav-bar__desktop-navigation-separator",
1063
1075
  "aria-hidden": "true"
1064
- }, xt = ["aria-expanded"], St = {
1076
+ }, Dt = ["aria-expanded"], Ot = {
1065
1077
  key: 0,
1066
1078
  class: "top-nav-bar__menu-layer"
1067
- }, Ct = {
1079
+ }, kt = {
1068
1080
  class: "top-nav-bar__menu-panel",
1069
1081
  role: "menu"
1070
- }, wt = { class: "top-nav-bar__section-list" }, Tt = [
1082
+ }, At = { class: "top-nav-bar__section-list" }, jt = [
1071
1083
  "aria-expanded",
1072
1084
  "onMouseenter",
1073
1085
  "onClick"
1074
- ], Et = { class: "top-nav-bar__menu-label" }, Dt = { class: "top-nav-bar__item-count" }, Ot = {
1086
+ ], Mt = { class: "top-nav-bar__menu-label" }, Nt = { class: "top-nav-bar__item-count" }, Pt = {
1075
1087
  key: 0,
1076
1088
  class: "top-nav-bar__submenu-region"
1077
- }, kt = [
1089
+ }, Ft = [
1078
1090
  "disabled",
1079
1091
  "aria-haspopup",
1080
1092
  "aria-expanded",
1081
1093
  "onMouseenter",
1082
1094
  "onClick"
1083
- ], At = { class: "top-nav-bar__menu-label" }, jt = {
1095
+ ], It = { class: "top-nav-bar__menu-label" }, Lt = {
1084
1096
  key: 1,
1085
1097
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1086
1098
  "aria-hidden": "true"
1087
- }, Mt = ["onMouseenter"], Nt = {
1099
+ }, Rt = ["onMouseenter"], zt = {
1088
1100
  key: 0,
1089
1101
  class: "top-nav-bar__crumb top-nav-bar__crumb--static"
1090
- }, Pt = ["aria-expanded", "onClick"], Ft = {
1102
+ }, Bt = ["aria-expanded", "onClick"], Vt = {
1091
1103
  key: 2,
1092
1104
  class: "top-nav-bar__menu-layer"
1093
- }, It = {
1105
+ }, Ht = {
1094
1106
  class: "top-nav-bar__menu-panel top-nav-bar__breadcrumb-panel",
1095
1107
  role: "menu"
1096
- }, Lt = [
1108
+ }, Ut = [
1097
1109
  "disabled",
1098
1110
  "onMouseenter",
1099
1111
  "onClick"
1100
- ], Rt = { class: "top-nav-bar__menu-label" }, zt = {
1112
+ ], Wt = { class: "top-nav-bar__menu-label" }, Gt = {
1101
1113
  key: 1,
1102
1114
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1103
1115
  "aria-hidden": "true"
1104
- }, Bt = ["onClick"], Vt = ["title"], Ht = { class: "top-nav-bar__current-label" }, Ut = ["aria-label", "aria-pressed"], Wt = { class: "top-nav-bar__breadcrumb-actions" }, Gt = ["aria-expanded"], Kt = {
1116
+ }, Kt = ["onClick"], qt = ["title"], Jt = { class: "top-nav-bar__current-label" }, Yt = ["aria-label", "aria-pressed"], Xt = { class: "top-nav-bar__breadcrumb-actions" }, Zt = ["aria-expanded"], Qt = {
1105
1117
  key: 0,
1106
1118
  class: "top-nav-bar__popover-layer top-nav-bar__favorites-layer"
1107
- }, qt = {
1119
+ }, $t = {
1108
1120
  class: "top-nav-bar__small-panel top-nav-bar__favorites-panel",
1109
1121
  role: "menu"
1110
- }, Jt = ["disabled", "onClick"], Yt = { class: "top-nav-bar__favorites-title" }, Xt = {
1122
+ }, en = ["disabled", "onClick"], tn = { class: "top-nav-bar__favorites-title" }, nn = {
1111
1123
  key: 0,
1112
1124
  class: "top-nav-bar__favorites-separator"
1113
- }, Zt = {
1125
+ }, rn = {
1114
1126
  key: 0,
1115
1127
  class: "top-nav-bar__favorites-row top-nav-bar__desktop-only"
1116
- }, Qt = { class: "top-nav-bar__favorites-title" }, $t = { class: "top-nav-bar__favorites-list" }, en = {
1128
+ }, an = { class: "top-nav-bar__favorites-title" }, on = { class: "top-nav-bar__favorites-list" }, sn = {
1117
1129
  key: 0,
1118
1130
  class: "top-nav-bar__favorites-separator",
1119
1131
  "aria-hidden": "true"
1120
- }, tn = ["disabled", "onClick"], nn = { class: "top-nav-bar__mobile-menu" }, rn = { class: "top-nav-bar__mobile-menu-header" }, an = { class: "top-nav-bar__drawer-brand" }, on = ["onClick"], sn = {
1132
+ }, cn = ["disabled", "onClick"], ln = { class: "top-nav-bar__mobile-menu" }, un = { class: "top-nav-bar__mobile-menu-header" }, dn = { class: "top-nav-bar__drawer-brand" }, fn = ["onClick"], pn = {
1121
1133
  key: 0,
1122
1134
  class: "top-nav-bar__drawer-tools"
1123
- }, cn = { class: "top-nav-bar__drawer-search" }, ln = ["value", "placeholder"], un = ["disabled", "onClick"], dn = { class: "top-nav-bar__mobile-menu-scroll" }, fn = { class: "top-nav-bar__mobile-menu-track" }, pn = {
1135
+ }, mn = { class: "top-nav-bar__drawer-search" }, hn = ["value", "placeholder"], gn = ["disabled", "onClick"], _n = { class: "top-nav-bar__mobile-menu-scroll" }, vn = { class: "top-nav-bar__mobile-menu-track" }, yn = {
1124
1136
  key: 0,
1125
1137
  class: "top-nav-bar__mobile-favorites"
1126
- }, mn = ["aria-expanded"], hn = { class: "top-nav-bar__mobile-item-label" }, gn = { class: "top-nav-bar__mobile-count" }, _n = {
1138
+ }, bn = ["aria-expanded"], xn = { class: "top-nav-bar__mobile-item-label" }, Sn = { class: "top-nav-bar__mobile-count" }, Cn = {
1127
1139
  key: 1,
1128
1140
  class: "top-nav-bar__drawer-empty"
1129
- }, vn = {
1141
+ }, wn = {
1130
1142
  key: 1,
1131
1143
  class: "top-nav-bar__mobile-footer"
1132
- }, yn = ["aria-haspopup", "aria-expanded"], bn = ["src"], xn = {
1144
+ }, Tn = ["aria-haspopup", "aria-expanded"], En = ["src"], Dn = {
1133
1145
  key: 1,
1134
1146
  class: "top-nav-bar__user-avatar"
1135
- }, Sn = {
1147
+ }, On = {
1136
1148
  key: 2,
1137
1149
  class: "top-nav-bar__user-details"
1138
- }, Cn = { class: "top-nav-bar__user-name" }, wn = {
1150
+ }, kn = { class: "top-nav-bar__user-name" }, An = {
1139
1151
  key: 0,
1140
1152
  class: "top-nav-bar__user-subtitle"
1141
- }, Tn = {
1153
+ }, jn = {
1142
1154
  key: 3,
1143
1155
  class: "pi pi-chevron-down top-nav-bar__mobile-chevron",
1144
1156
  "aria-hidden": "true"
1145
- }, En = 120, Dn = 24, On = /* @__PURE__ */ u({
1157
+ }, Mn = 120, Nn = 24, Pn = /* @__PURE__ */ u({
1146
1158
  __name: "TopNavBar",
1147
1159
  props: {
1148
1160
  sections: { default: () => [] },
@@ -1176,6 +1188,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1176
1188
  },
1177
1189
  supportLabel: { default: "Central de Suporte" },
1178
1190
  actions: { default: () => [] },
1191
+ client: {},
1179
1192
  user: { default: void 0 },
1180
1193
  userMenuItems: { default: () => [] },
1181
1194
  favoriteItems: { default: () => [] },
@@ -1340,30 +1353,30 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1340
1353
  }
1341
1354
  e.push(t);
1342
1355
  }), e.at(-1)?.separator && e.pop(), e;
1343
- }), X = n(() => !!x["user-menu"] || Ne.value.some((e) => !e.separator)), Pe = n(() => !!f.user || !!x.user), Fe = n(() => !!(x.context || x.scope || x.client || x["context-compact"])), Z = n(() => f.favoriteItems.filter(Boolean)), Ie = n(() => W.value || !oe.value), Le = n(() => Z.value.length > 0 && !Ie.value), Re = n(() => Y.value.length > 0 || f.searchable || Me.value.length > 0 || Pe.value || !!(x["drawer-menu"] || x["drawer-actions"] || x["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(() => Ne.value.map((e) => e.separator ? { separator: !0 } : {
1356
+ }), X = n(() => !!x["user-menu"] || Ne.value.some((e) => !e.separator)), Pe = n(() => !!f.user || !!x.user), Fe = n(() => !!(f.client || x.context || x.scope || x.client || x["context-compact"])), Z = n(() => f.favoriteItems.filter(Boolean)), Ie = n(() => W.value || !oe.value), Le = n(() => Z.value.length > 0 && !Ie.value), Re = n(() => Y.value.length > 0 || f.searchable || Me.value.length > 0 || Pe.value || !!(x["drawer-menu"] || x["drawer-actions"] || x["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(() => Ne.value.map((e) => e.separator ? { separator: !0 } : {
1344
1357
  label: e.label,
1345
1358
  icon: e.icon,
1346
1359
  disabled: e.disabled,
1347
- command: () => jn(e)
1360
+ command: () => Rn(e)
1348
1361
  })), Ve = n(() => {
1349
1362
  let e = f.appearance, t = {}, n = (e, n) => {
1350
1363
  n !== void 0 && n !== "" && (t[e] = n);
1351
1364
  };
1352
1365
  return n("--top-nav-bg", e.colors?.navigation), n("--top-nav-breadcrumb-bg", e.surfaces?.breadcrumb ?? e.colors?.navigation), n("--top-nav-drawer-bg", e.surfaces?.drawer ?? e.colors?.navigation), n("--top-nav-drawer-footer-bg", e.surfaces?.drawerFooter), n("--top-nav-fg", e.colors?.text), n("--top-nav-muted-fg", e.colors?.mutedText), n("--top-nav-accent", e.colors?.accent), n("--top-nav-menu-bg", e.surfaces?.menu), n("--top-nav-menu-fg", e.colors?.menuText), n("--top-nav-menu-hover", e.surfaces?.menuHover), n("--top-nav-menu-explored", e.surfaces?.menuExplored), n("--top-nav-border", e.colors?.border), n("--top-nav-menu-border", e.borders?.menu), n("--top-nav-menu-outline", e.borders?.menuOutline), n("--top-nav-radius", e.shape?.radius), n("--top-nav-drawer-radius", e.shape?.drawerRadius), n("--top-nav-shadow", e.shape?.shadow), n("--top-nav-mobile-active-bg", e.surfaces?.mobileActive), n("--top-nav-mobile-active-fg", e.colors?.mobileActiveText), n("--top-nav-mobile-divider", e.borders?.mobileDivider), n("--top-nav-favorites-bg", e.surfaces?.favorites), n("--top-nav-favorites-fg", e.colors?.favoritesText), n("--top-nav-favorites-border", e.borders?.favorites), n("--top-nav-favorites-shadow", e.shape?.favoritesShadow), n("--top-nav-focus-ring", e.focus?.onDark), n("--top-nav-focus-ring-light", e.focus?.onLight), n("--top-nav-current-bg", e.surfaces?.currentPage), n("--top-nav-current-border", e.borders?.currentPage), t;
1353
- });
1354
- function He() {
1366
+ }), He = n(() => f.client ? f.client.initials ? f.client.initials : f.client.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : "");
1367
+ function Pn() {
1355
1368
  let e = Math.max(0, window.scrollY);
1356
- if (!W.value && e >= En) {
1369
+ if (!W.value && e >= Mn) {
1357
1370
  W.value = !0;
1358
1371
  return;
1359
1372
  }
1360
- W.value && e <= Dn && (W.value = !1);
1373
+ W.value && e <= Nn && (W.value = !1);
1361
1374
  }
1362
- function On() {
1375
+ function Fn() {
1363
1376
  let e = E.value, t = ne.value;
1364
1377
  !e || !t || (oe.value = t.scrollWidth <= e.clientWidth + 1);
1365
1378
  }
1366
- function kn() {
1379
+ function In() {
1367
1380
  fe = window.requestAnimationFrame(() => {
1368
1381
  fe = window.requestAnimationFrame(() => {
1369
1382
  se.value = !0;
@@ -1374,44 +1387,44 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1374
1387
  return typeof window < "u" && window.matchMedia?.("(hover: hover) and (pointer: fine)").matches;
1375
1388
  }
1376
1389
  function $(e) {
1377
- e.disabled || (h("navigate", e), N.value = !1, Kn());
1390
+ e.disabled || (h("navigate", e), N.value = !1, $n());
1378
1391
  }
1379
- function An(e, t = !1) {
1392
+ function Ln(e, t = !1) {
1380
1393
  e.disabled || (e.kind === "aia" ? h("toggle-aia") : e.kind === "support" ? h("open-support") : h("action", e), z.value = !1, t && (N.value = !1));
1381
1394
  }
1382
- function jn(e, t = !1) {
1395
+ function Rn(e, t = !1) {
1383
1396
  e.disabled || e.separator || (h("user-action", e), B.value = !1, V.value = !1, t && (N.value = !1));
1384
1397
  }
1385
- function Mn(e) {
1398
+ function zn(e) {
1386
1399
  if (!X.value) {
1387
1400
  h("user-click", f.user);
1388
1401
  return;
1389
1402
  }
1390
1403
  ae.value?.toggle(e);
1391
1404
  }
1392
- function Nn(e) {
1405
+ function Bn(e) {
1393
1406
  G.value = e, h("update:searchValue", e), h("search", e);
1394
1407
  }
1395
- function Pn() {
1396
- Nn(""), p(() => N.value ? M.value?.focus() : j.value?.focus());
1408
+ function Vn() {
1409
+ Bn(""), p(() => N.value ? M.value?.focus() : j.value?.focus());
1397
1410
  }
1398
- function Fn() {
1411
+ function Hn() {
1399
1412
  Q() && (P.value = !0);
1400
1413
  }
1401
- function In() {
1414
+ function Un() {
1402
1415
  !Q() || window.innerWidth < 1024 || (P.value = !1, F.value = null, I.value = []);
1403
1416
  }
1404
- function Ln() {
1417
+ function Wn() {
1405
1418
  if (Q()) {
1406
1419
  P.value = !0;
1407
1420
  return;
1408
1421
  }
1409
1422
  P.value = !P.value, P.value || (F.value = null, I.value = []);
1410
1423
  }
1411
- function Rn(e) {
1424
+ function Gn(e) {
1412
1425
  Q() && (F.value = e, I.value = []);
1413
1426
  }
1414
- function zn(e) {
1427
+ function Kn(e) {
1415
1428
  if (Q()) {
1416
1429
  F.value = e, I.value = [];
1417
1430
  return;
@@ -1419,7 +1432,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1419
1432
  let t = F.value === e;
1420
1433
  F.value = t ? null : e, I.value = [];
1421
1434
  }
1422
- function Bn(e, t, n, r) {
1435
+ function qn(e, t, n, r) {
1423
1436
  if (r && !Q()) return;
1424
1437
  let i = e.value[n];
1425
1438
  if (!t.children?.length) {
@@ -1432,46 +1445,46 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1432
1445
  }
1433
1446
  e.value = i === t.id && !r ? e.value.slice(0, n) : [...e.value.slice(0, n), t.id];
1434
1447
  }
1435
- function Vn(e, t, n) {
1436
- Bn(I, e, t, n);
1448
+ function Jn(e, t, n) {
1449
+ qn(I, e, t, n);
1437
1450
  }
1438
- function Hn(e, t, n) {
1439
- Bn(R, e, t, n);
1451
+ function Yn(e, t, n) {
1452
+ qn(R, e, t, n);
1440
1453
  }
1441
- function Un(e) {
1454
+ function Xn(e) {
1442
1455
  Q() && (L.value = e, R.value = []);
1443
1456
  }
1444
- function Wn() {
1457
+ function Zn() {
1445
1458
  !Q() || window.innerWidth < 1024 || (L.value = null, R.value = []);
1446
1459
  }
1447
- function Gn(e) {
1460
+ function Qn(e) {
1448
1461
  if (Q()) {
1449
1462
  L.value = e;
1450
1463
  return;
1451
1464
  }
1452
1465
  L.value = L.value === e ? null : e, R.value = [];
1453
1466
  }
1454
- function Kn() {
1467
+ function $n() {
1455
1468
  P.value = !1, F.value = null, I.value = [], L.value = null, R.value = [], z.value = !1, B.value = !1, H.value = !1, K.value = !1;
1456
1469
  }
1457
- async function qn() {
1470
+ async function er() {
1458
1471
  if (typeof window < "u" && window.innerWidth < 1024) {
1459
1472
  N.value = !0, await p(), M.value?.focus();
1460
1473
  return;
1461
1474
  }
1462
- q.value = !0, K.value = !0, await p(), j.value?.focus(), Zn();
1475
+ q.value = !0, K.value = !0, await p(), j.value?.focus(), ir();
1463
1476
  }
1464
- function Jn() {
1477
+ function tr() {
1465
1478
  window.setTimeout(() => {
1466
- K.value = !1, J.value.searchIconOnly && !G.value.trim() && (q.value = !1, Zn());
1479
+ K.value = !1, J.value.searchIconOnly && !G.value.trim() && (q.value = !1, ir());
1467
1480
  }, 150);
1468
1481
  }
1469
- function Yn() {
1482
+ function nr() {
1470
1483
  return Math.round(window.visualViewport?.width ?? window.innerWidth);
1471
1484
  }
1472
- async function Xn() {
1485
+ async function rr() {
1473
1486
  if (typeof window > "u" || !T.value) return;
1474
- let e = ++pe, t = Yn();
1487
+ let e = ++pe, t = nr();
1475
1488
  ce.value = t < 1024;
1476
1489
  let n = {
1477
1490
  collapseActions: !1,
@@ -1502,24 +1515,24 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1502
1515
  }, await p(), e !== pe) return;
1503
1516
  }
1504
1517
  }
1505
- function Zn() {
1518
+ function ir() {
1506
1519
  typeof window > "u" || (de !== void 0 && window.cancelAnimationFrame(de), de = window.requestAnimationFrame(() => {
1507
- de = void 0, Xn();
1520
+ de = void 0, rr();
1508
1521
  }));
1509
1522
  }
1510
- function Qn(e) {
1523
+ function ar(e) {
1511
1524
  let t = e.target;
1512
1525
  if (t instanceof Element && !t.closest(".top-nav-bar__mobile-menu")) {
1513
1526
  if (!S.value?.contains(t)) {
1514
- Kn();
1527
+ $n();
1515
1528
  return;
1516
1529
  }
1517
1530
  t.closest("[data-top-nav-navigation]") || (P.value = !1, F.value = null, I.value = []), t.closest("[data-top-nav-breadcrumb]") || (L.value = null, R.value = []), t.closest("[data-top-nav-actions]") || (z.value = !1), t.closest("[data-top-nav-user]") || (B.value = !1), t.closest("[data-top-nav-favorites]") || (H.value = !1), t.closest("[data-top-nav-search]") || (K.value = !1);
1518
1531
  }
1519
1532
  }
1520
- function $n(e) {
1533
+ function or(e) {
1521
1534
  if ((e.ctrlKey || e.metaKey) && e.key.toLocaleLowerCase() === "k" && f.searchable) {
1522
- e.preventDefault(), qn();
1535
+ e.preventDefault(), er();
1523
1536
  return;
1524
1537
  }
1525
1538
  if (e.key === "Escape") {
@@ -1527,10 +1540,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1527
1540
  ae.value?.hide();
1528
1541
  return;
1529
1542
  }
1530
- N.value &&= !1, Kn(), J.value.searchIconOnly && !G.value.trim() && (q.value = !1);
1543
+ N.value &&= !1, $n(), J.value.searchIconOnly && !G.value.trim() && (q.value = !1);
1531
1544
  }
1532
1545
  }
1533
- function er() {
1546
+ function sr() {
1534
1547
  if (!X.value) {
1535
1548
  h("user-click", f.user);
1536
1549
  return;
@@ -1541,7 +1554,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1541
1554
  }
1542
1555
  B.value = !B.value;
1543
1556
  }
1544
- function tr() {
1557
+ function cr() {
1545
1558
  if (Q()) {
1546
1559
  H.value = !0;
1547
1560
  return;
@@ -1556,18 +1569,18 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1556
1569
  Y,
1557
1570
  () => f.user,
1558
1571
  Me
1559
- ], () => p(Zn), { deep: !0 }), O(Z, () => p(On), { deep: !0 }), te(() => {
1560
- document.addEventListener("keydown", $n), document.addEventListener("pointerdown", Qn), window.addEventListener("resize", Zn), window.visualViewport?.addEventListener("resize", Zn), window.addEventListener("resize", On), window.addEventListener("scroll", He, { passive: !0 }), typeof ResizeObserver < "u" && (le = new ResizeObserver(Zn), T.value && le.observe(T.value), ue = new ResizeObserver(On), E.value && ue.observe(E.value)), Zn(), p(() => {
1561
- On(), He(), kn();
1572
+ ], () => p(ir), { deep: !0 }), O(Z, () => p(Fn), { deep: !0 }), te(() => {
1573
+ document.addEventListener("keydown", or), document.addEventListener("pointerdown", ar), window.addEventListener("resize", ir), window.visualViewport?.addEventListener("resize", ir), window.addEventListener("resize", Fn), window.addEventListener("scroll", Pn, { passive: !0 }), typeof ResizeObserver < "u" && (le = new ResizeObserver(ir), T.value && le.observe(T.value), ue = new ResizeObserver(Fn), E.value && ue.observe(E.value)), ir(), p(() => {
1574
+ Fn(), Pn(), In();
1562
1575
  });
1563
1576
  }), ee(() => {
1564
- document.removeEventListener("keydown", $n), document.removeEventListener("pointerdown", Qn), window.removeEventListener("resize", Zn), window.visualViewport?.removeEventListener("resize", Zn), window.removeEventListener("resize", On), window.removeEventListener("scroll", He), le?.disconnect(), ue?.disconnect(), de !== void 0 && window.cancelAnimationFrame(de), fe !== void 0 && window.cancelAnimationFrame(fe);
1577
+ document.removeEventListener("keydown", or), document.removeEventListener("pointerdown", ar), window.removeEventListener("resize", ir), window.visualViewport?.removeEventListener("resize", ir), window.removeEventListener("resize", Fn), window.removeEventListener("scroll", Pn), le?.disconnect(), ue?.disconnect(), de !== void 0 && window.cancelAnimationFrame(de), fe !== void 0 && window.cancelAnimationFrame(fe);
1565
1578
  }), u({
1566
- close: Kn,
1579
+ close: $n,
1567
1580
  closeDrawer: () => {
1568
1581
  N.value = !1;
1569
1582
  },
1570
- focusSearch: qn,
1583
+ focusSearch: er,
1571
1584
  openDrawer: () => {
1572
1585
  N.value = !0;
1573
1586
  }
@@ -1595,19 +1608,36 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1595
1608
  "aria-hidden": "true"
1596
1609
  }, null, -1)]], 8, We)) : i("", !0),
1597
1610
  o("div", Ge, [b(n.$slots, "brand", { compact: J.value.hideContextDetails })]),
1598
- Fe.value ? (_(), a("div", Ke, [J.value.hideContextDetails && n.$slots["context-compact"] ? b(n.$slots, "context-compact", {}, void 0, void 0, 0) : n.$slots.context ? b(n.$slots, "context", { compact: J.value.hideContextDetails }, void 0, void 0, 1) : n.$slots.scope ? b(n.$slots, "scope", { compact: J.value.hideContextDetails }, void 0, void 0, 2) : b(n.$slots, "client", { compact: J.value.hideContextDetails }, void 0, void 0, 3)])) : i("", !0),
1611
+ Fe.value ? (_(), a("div", Ke, [J.value.hideContextDetails && n.$slots["context-compact"] ? b(n.$slots, "context-compact", {
1612
+ client: s.client,
1613
+ compact: !0
1614
+ }, void 0, void 0, 0) : n.$slots.context ? b(n.$slots, "context", {
1615
+ client: s.client,
1616
+ compact: J.value.hideContextDetails
1617
+ }, void 0, void 0, 1) : n.$slots.scope ? b(n.$slots, "scope", {
1618
+ client: s.client,
1619
+ compact: J.value.hideContextDetails
1620
+ }, void 0, void 0, 2) : b(n.$slots, "client", {
1621
+ client: s.client,
1622
+ compact: J.value.hideContextDetails
1623
+ }, () => [s.client ? (_(), a("div", qe, [s.client.logoUrl ? (_(), a("img", {
1624
+ key: 0,
1625
+ src: s.client.logoUrl,
1626
+ alt: "",
1627
+ class: "top-nav-bar__client-logo"
1628
+ }, null, 8, Je)) : (_(), a("span", Ye, C(He.value), 1)), J.value.hideContextDetails ? i("", !0) : (_(), a("span", Xe, [o("span", Ze, C(s.client.name), 1), s.client.subtitle ? (_(), a("span", Qe, C(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
1599
1629
  u[24] ||= o("div", {
1600
1630
  class: "top-nav-bar__spacer",
1601
1631
  "aria-hidden": "true"
1602
1632
  }, null, -1),
1603
- o("div", qe, [
1604
- s.searchable ? (_(), a("div", Je, [J.value.searchIconOnly && !q.value ? (_(), a("button", {
1633
+ o("div", $e, [
1634
+ s.searchable ? (_(), a("div", et, [J.value.searchIconOnly && !q.value ? (_(), a("button", {
1605
1635
  key: 0,
1606
1636
  class: "top-nav-bar__square-button",
1607
1637
  type: "button",
1608
1638
  "aria-label": "Pesquisar no menu",
1609
1639
  title: "Pesquisar no menu (Ctrl+K)",
1610
- onClick: qn
1640
+ onClick: er
1611
1641
  }, [...u[20] ||= [o("i", {
1612
1642
  class: "pi pi-search",
1613
1643
  "aria-hidden": "true"
@@ -1628,21 +1658,21 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1628
1658
  placeholder: s.searchPlaceholder,
1629
1659
  "aria-label": "Pesquisar no menu",
1630
1660
  onFocus: u[1] ||= (e) => K.value = !0,
1631
- onBlur: Jn,
1632
- onInput: u[2] ||= (e) => Nn(e.target.value)
1633
- }, null, 40, Ye),
1661
+ onBlur: tr,
1662
+ onInput: u[2] ||= (e) => Bn(e.target.value)
1663
+ }, null, 40, tt),
1634
1664
  G.value || J.value.searchIconOnly && q.value ? (_(), a("button", {
1635
1665
  key: 0,
1636
1666
  class: "top-nav-bar__search-clear",
1637
1667
  type: "button",
1638
1668
  "aria-label": G.value ? "Limpar pesquisa" : "Fechar pesquisa",
1639
1669
  onMousedown: u[3] ||= A(() => {}, ["prevent"]),
1640
- onClick: u[4] ||= (e) => G.value ? Pn() : q.value = !1
1670
+ onClick: u[4] ||= (e) => G.value ? Vn() : q.value = !1
1641
1671
  }, [...u[21] ||= [o("i", {
1642
1672
  class: "pi pi-times",
1643
1673
  "aria-hidden": "true"
1644
- }, null, -1)]], 40, Xe)) : i("", !0),
1645
- K.value ? (_(), a("div", Ze, [o("div", Qe, [b(n.$slots, "search-results", {
1674
+ }, null, -1)]], 40, nt)) : i("", !0),
1675
+ K.value ? (_(), a("div", rt, [o("div", it, [b(n.$slots, "search-results", {
1646
1676
  items: ye.value,
1647
1677
  select: $
1648
1678
  }, () => [(_(!0), a(e, null, y(ye.value, (e) => (_(), a("button", {
@@ -1657,9 +1687,9 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1657
1687
  key: 0,
1658
1688
  class: m(e.icon),
1659
1689
  "aria-hidden": "true"
1660
- }, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 40, $e))), 128)), ye.value.length ? i("", !0) : (_(), a("span", et, "Nenhum item encontrado."))])])])) : i("", !0)
1690
+ }, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 40, at))), 128)), ye.value.length ? i("", !0) : (_(), a("span", ot, "Nenhum item encontrado."))])])])) : i("", !0)
1661
1691
  ], 2))])) : i("", !0),
1662
- Me.value.length ? (_(), a("div", tt, [J.value.collapseActions ? (_(), a(e, { key: 1 }, [o("button", {
1692
+ Me.value.length ? (_(), a("div", st, [J.value.collapseActions ? (_(), a(e, { key: 1 }, [o("button", {
1663
1693
  class: "top-nav-bar__square-button",
1664
1694
  type: "button",
1665
1695
  "aria-label": "Mais ações",
@@ -1668,17 +1698,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1668
1698
  }, [...u[23] ||= [o("i", {
1669
1699
  class: "pi pi-ellipsis-h",
1670
1700
  "aria-hidden": "true"
1671
- }, null, -1)]], 8, rt), z.value ? (_(), a("div", it, [o("div", at, [(_(!0), a(e, null, y(Me.value, (e) => (_(), a("button", {
1701
+ }, null, -1)]], 8, lt), z.value ? (_(), a("div", ut, [o("div", dt, [(_(!0), a(e, null, y(Me.value, (e) => (_(), a("button", {
1672
1702
  key: e.id,
1673
1703
  class: "top-nav-bar__menu-item",
1674
1704
  type: "button",
1675
1705
  role: "menuitem",
1676
1706
  disabled: e.disabled,
1677
- onClick: (t) => An(e)
1707
+ onClick: (t) => Ln(e)
1678
1708
  }, [o("i", {
1679
1709
  class: m(e.icon),
1680
1710
  "aria-hidden": "true"
1681
- }, null, 2), o("span", null, C(e.label), 1)], 8, ot))), 128))])])) : i("", !0)], 64)) : (_(!0), a(e, { key: 0 }, y(Me.value, (e) => (_(), a("button", {
1711
+ }, null, 2), o("span", null, C(e.label), 1)], 8, ft))), 128))])])) : i("", !0)], 64)) : (_(!0), a(e, { key: 0 }, y(Me.value, (e) => (_(), a("button", {
1682
1712
  key: e.id,
1683
1713
  class: m(["top-nav-bar__square-button", { "top-nav-bar__square-button--active": e.kind === "aia" && s.aiaActive }]),
1684
1714
  type: "button",
@@ -1686,7 +1716,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1686
1716
  "aria-label": e.label,
1687
1717
  "aria-pressed": e.kind === "aia" ? s.aiaActive : void 0,
1688
1718
  title: e.label,
1689
- onClick: (t) => An(e)
1719
+ onClick: (t) => Ln(e)
1690
1720
  }, [e.kind === "aia" ? b(n.$slots, "aia-icon", {}, () => [o("i", {
1691
1721
  class: m(e.icon),
1692
1722
  "aria-hidden": "true"
@@ -1697,10 +1727,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1697
1727
  key: 2,
1698
1728
  class: m(e.icon),
1699
1729
  "aria-hidden": "true"
1700
- }, null, 2))], 10, nt))), 128))])) : i("", !0),
1701
- n.$slots.actions ? (_(), a("div", st, [b(n.$slots, "actions", {
1730
+ }, null, 2))], 10, ct))), 128))])) : i("", !0),
1731
+ n.$slots.actions ? (_(), a("div", pt, [b(n.$slots, "actions", {
1702
1732
  compact: J.value.collapseActions,
1703
- close: Kn
1733
+ close: $n
1704
1734
  })])) : i("", !0),
1705
1735
  Pe.value ? (_(), a("div", {
1706
1736
  key: 3,
@@ -1713,7 +1743,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1713
1743
  type: "button",
1714
1744
  "aria-haspopup": X.value ? "menu" : void 0,
1715
1745
  "aria-expanded": X.value ? B.value : void 0,
1716
- onClick: er
1746
+ onClick: sr
1717
1747
  }, [b(n.$slots, "user", {
1718
1748
  user: s.user,
1719
1749
  compact: J.value.hideUserName
@@ -1722,42 +1752,42 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1722
1752
  src: s.user.avatarUrl,
1723
1753
  alt: "",
1724
1754
  class: "top-nav-bar__user-avatar"
1725
- }, null, 8, lt)) : (_(), a("span", ut, C(ze.value), 1)), s.user && !J.value.hideUserName ? (_(), a("span", dt, [o("span", ft, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", pt, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), X.value ? (_(), a("i", mt)) : i("", !0)], 8, ct), X.value && B.value ? (_(), a("div", ht, [o("div", gt, [b(n.$slots, "user-menu", {
1755
+ }, null, 8, ht)) : (_(), a("span", gt, C(ze.value), 1)), s.user && !J.value.hideUserName ? (_(), a("span", _t, [o("span", vt, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", yt, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), X.value ? (_(), a("i", bt)) : i("", !0)], 8, mt), X.value && B.value ? (_(), a("div", xt, [o("div", St, [b(n.$slots, "user-menu", {
1726
1756
  items: Ne.value,
1727
- select: jn
1728
- }, () => [(_(!0), a(e, null, y(Ne.value, (t) => (_(), a(e, { key: t.id }, [t.separator ? (_(), a("div", _t)) : (_(), a("button", {
1757
+ select: Rn
1758
+ }, () => [(_(!0), a(e, null, y(Ne.value, (t) => (_(), a(e, { key: t.id }, [t.separator ? (_(), a("div", Ct)) : (_(), a("button", {
1729
1759
  key: 1,
1730
1760
  class: "top-nav-bar__menu-item",
1731
1761
  type: "button",
1732
1762
  role: "menuitem",
1733
1763
  disabled: t.disabled,
1734
- onClick: (e) => jn(t)
1764
+ onClick: (e) => Rn(t)
1735
1765
  }, [t.icon ? (_(), a("i", {
1736
1766
  key: 0,
1737
1767
  class: m(t.icon),
1738
1768
  "aria-hidden": "true"
1739
- }, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, vt))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
1769
+ }, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, wt))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
1740
1770
  ])
1741
1771
  ], 2),
1742
- o("div", yt, [
1772
+ o("div", Tt, [
1743
1773
  o("button", {
1744
1774
  class: "top-nav-bar__crumb",
1745
1775
  type: "button",
1746
1776
  onClick: u[9] ||= (e) => $(s.homeItem)
1747
1777
  }, [l(w(be), { icon: w(he) }, null, 8, ["icon"]), o("span", null, C(s.homeItem.label), 1)]),
1748
- Y.value.length ? (_(), a("span", bt, "/")) : i("", !0),
1778
+ Y.value.length ? (_(), a("span", Et, "/")) : i("", !0),
1749
1779
  Y.value.length ? (_(), a("div", {
1750
1780
  key: 1,
1751
1781
  class: "top-nav-bar__dropdown top-nav-bar__desktop-navigation",
1752
1782
  "data-top-nav-navigation": "",
1753
- onMouseenter: Fn,
1754
- onMouseleave: In
1783
+ onMouseenter: Hn,
1784
+ onMouseleave: Un
1755
1785
  }, [o("button", {
1756
1786
  class: "top-nav-bar__crumb",
1757
1787
  type: "button",
1758
1788
  "aria-haspopup": "menu",
1759
1789
  "aria-expanded": P.value,
1760
- onClick: Ln
1790
+ onClick: Wn
1761
1791
  }, [
1762
1792
  u[25] ||= o("i", {
1763
1793
  class: "pi pi-bars",
@@ -1768,28 +1798,28 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1768
1798
  class: "pi pi-chevron-down top-nav-bar__chevron",
1769
1799
  "aria-hidden": "true"
1770
1800
  }, null, -1)
1771
- ], 8, xt), P.value ? (_(), a("div", St, [o("div", Ct, [o("div", wt, [(_(!0), a(e, null, y(Y.value, (e) => (_(), a("button", {
1801
+ ], 8, Dt), P.value ? (_(), a("div", Ot, [o("div", kt, [o("div", At, [(_(!0), a(e, null, y(Y.value, (e) => (_(), a("button", {
1772
1802
  key: e.id,
1773
1803
  class: m(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--explored": F.value === e.id }]),
1774
1804
  type: "button",
1775
1805
  role: "menuitem",
1776
1806
  "aria-haspopup": "menu",
1777
1807
  "aria-expanded": F.value === e.id,
1778
- onMouseenter: (t) => Rn(e.id),
1779
- onClick: (t) => zn(e.id)
1808
+ onMouseenter: (t) => Gn(e.id),
1809
+ onClick: (t) => Kn(e.id)
1780
1810
  }, [
1781
1811
  e.icon ? (_(), a("i", {
1782
1812
  key: 0,
1783
1813
  class: m(e.icon),
1784
1814
  "aria-hidden": "true"
1785
1815
  }, null, 2)) : i("", !0),
1786
- o("span", Et, C(e.label), 1),
1787
- o("span", Dt, C(e.children.length), 1),
1816
+ o("span", Mt, C(e.label), 1),
1817
+ o("span", Nt, C(e.children.length), 1),
1788
1818
  u[27] ||= o("i", {
1789
1819
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1790
1820
  "aria-hidden": "true"
1791
1821
  }, null, -1)
1792
- ], 42, Tt))), 128))]), Oe.value ? (_(), a("div", Ot, [(_(!0), a(e, null, y(Ae.value, (t, n) => (_(), a("div", {
1822
+ ], 42, jt))), 128))]), Oe.value ? (_(), a("div", Pt, [(_(!0), a(e, null, y(Ae.value, (t, n) => (_(), a("div", {
1793
1823
  key: `navigation-level-${n}`,
1794
1824
  class: m(["top-nav-bar__cascade-level", { "top-nav-bar__section-items": n === 0 }]),
1795
1825
  role: "menu"
@@ -1804,17 +1834,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1804
1834
  disabled: e.disabled,
1805
1835
  "aria-haspopup": e.children?.length ? "menu" : void 0,
1806
1836
  "aria-expanded": e.children?.length ? I.value[n] === e.id : void 0,
1807
- onMouseenter: (t) => Vn(e, n, !0),
1808
- onClick: (t) => Vn(e, n, !1)
1837
+ onMouseenter: (t) => Jn(e, n, !0),
1838
+ onClick: (t) => Jn(e, n, !1)
1809
1839
  }, [
1810
1840
  e.icon ? (_(), a("i", {
1811
1841
  key: 0,
1812
1842
  class: m(e.icon),
1813
1843
  "aria-hidden": "true"
1814
1844
  }, null, 2)) : i("", !0),
1815
- o("span", At, C(e.label), 1),
1816
- e.children?.length ? (_(), a("i", jt)) : i("", !0)
1817
- ], 42, kt))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
1845
+ o("span", It, C(e.label), 1),
1846
+ e.children?.length ? (_(), a("i", Lt)) : i("", !0)
1847
+ ], 42, Ft))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
1818
1848
  (_(!0), a(e, null, y(Ee.value, (t, n) => (_(), a(e, { key: t.id }, [o("span", {
1819
1849
  class: m(["top-nav-bar__separator", { "top-nav-bar__separator--current": !t.to && n === Ee.value.length - 1 }]),
1820
1850
  "aria-hidden": "true"
@@ -1822,19 +1852,19 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1822
1852
  key: 0,
1823
1853
  class: "top-nav-bar__dropdown top-nav-bar__breadcrumb-dropdown",
1824
1854
  "data-top-nav-breadcrumb": "",
1825
- onMouseenter: (e) => !ce.value && Un(t.id),
1826
- onMouseleave: u[10] ||= (e) => !ce.value && Wn()
1827
- }, [ce.value ? (_(), a("span", Nt, C(t.label), 1)) : (_(), a("button", {
1855
+ onMouseenter: (e) => !ce.value && Xn(t.id),
1856
+ onMouseleave: u[10] ||= (e) => !ce.value && Zn()
1857
+ }, [ce.value ? (_(), a("span", zt, C(t.label), 1)) : (_(), a("button", {
1828
1858
  key: 1,
1829
1859
  class: "top-nav-bar__crumb",
1830
1860
  type: "button",
1831
1861
  "aria-haspopup": "menu",
1832
1862
  "aria-expanded": L.value === t.id,
1833
- onClick: (e) => Gn(t.id)
1863
+ onClick: (e) => Qn(t.id)
1834
1864
  }, [o("span", null, C(t.label), 1), u[28] ||= o("i", {
1835
1865
  class: "pi pi-chevron-down top-nav-bar__chevron",
1836
1866
  "aria-hidden": "true"
1837
- }, null, -1)], 8, Pt)), !ce.value && L.value === t.id ? (_(), a("div", Ft, [o("div", It, [(_(!0), a(e, null, y(ke(De(t)?.children ?? [], R.value), (n, r) => (_(), a("div", {
1867
+ }, null, -1)], 8, Bt)), !ce.value && L.value === t.id ? (_(), a("div", Vt, [o("div", Ht, [(_(!0), a(e, null, y(ke(De(t)?.children ?? [], R.value), (n, r) => (_(), a("div", {
1838
1868
  key: `breadcrumb-${t.id}-${r}`,
1839
1869
  class: m(["top-nav-bar__cascade-level", { "top-nav-bar__breadcrumb-main-items": r === 0 }])
1840
1870
  }, [(_(!0), a(e, null, y(je(n), (n, s) => (_(), a("div", {
@@ -1846,26 +1876,26 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1846
1876
  type: "button",
1847
1877
  role: "menuitem",
1848
1878
  disabled: e.disabled,
1849
- onMouseenter: (t) => Hn(e, r, !0),
1850
- onClick: (t) => Hn(e, r, !1)
1879
+ onMouseenter: (t) => Yn(e, r, !0),
1880
+ onClick: (t) => Yn(e, r, !1)
1851
1881
  }, [
1852
1882
  e.icon ? (_(), a("i", {
1853
1883
  key: 0,
1854
1884
  class: m(e.icon),
1855
1885
  "aria-hidden": "true"
1856
1886
  }, null, 2)) : i("", !0),
1857
- o("span", Rt, C(e.label), 1),
1858
- e.children?.length ? (_(), a("i", zt)) : i("", !0)
1859
- ], 42, Lt))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, Mt)) : t.to ? (_(), a("button", {
1887
+ o("span", Wt, C(e.label), 1),
1888
+ e.children?.length ? (_(), a("i", Gt)) : i("", !0)
1889
+ ], 42, Ut))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, Rt)) : t.to ? (_(), a("button", {
1860
1890
  key: 1,
1861
1891
  class: "top-nav-bar__crumb",
1862
1892
  type: "button",
1863
1893
  onClick: (e) => $(t)
1864
- }, C(t.label), 9, Bt)) : (_(), a("span", {
1894
+ }, C(t.label), 9, Kt)) : (_(), a("span", {
1865
1895
  key: 2,
1866
1896
  class: "top-nav-bar__current",
1867
1897
  title: t.label
1868
- }, [o("span", Ht, C(t.label), 1), s.showFavoriteToggle ? (_(), a("button", {
1898
+ }, [o("span", Jt, C(t.label), 1), s.showFavoriteToggle ? (_(), a("button", {
1869
1899
  key: 0,
1870
1900
  class: "top-nav-bar__favorite-toggle",
1871
1901
  type: "button",
@@ -1875,8 +1905,8 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1875
1905
  }, [o("i", {
1876
1906
  class: m(s.favoriteActive ? "pi pi-star-fill" : "pi pi-star"),
1877
1907
  "aria-hidden": "true"
1878
- }, null, 2)], 8, Ut)) : i("", !0)], 8, Vt))], 64))), 128)),
1879
- o("div", Wt, [l(t, {
1908
+ }, null, 2)], 8, Yt)) : i("", !0)], 8, qt))], 64))), 128)),
1909
+ o("div", Xt, [l(t, {
1880
1910
  name: "top-nav-bar-favorites-trigger",
1881
1911
  css: se.value
1882
1912
  }, {
@@ -1891,7 +1921,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1891
1921
  type: "button",
1892
1922
  "aria-haspopup": "menu",
1893
1923
  "aria-expanded": H.value,
1894
- onClick: tr
1924
+ onClick: cr
1895
1925
  }, [
1896
1926
  u[29] ||= o("i", {
1897
1927
  class: "pi pi-star-fill top-nav-bar__accent",
@@ -1902,7 +1932,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1902
1932
  class: "pi pi-chevron-down top-nav-bar__chevron",
1903
1933
  "aria-hidden": "true"
1904
1934
  }, null, -1)
1905
- ], 8, Gt), H.value ? (_(), a("div", Kt, [o("div", qt, [(_(!0), a(e, null, y(Z.value, (e) => (_(), a("button", {
1935
+ ], 8, Zt), H.value ? (_(), a("div", Qt, [o("div", $t, [(_(!0), a(e, null, y(Z.value, (e) => (_(), a("button", {
1906
1936
  key: e.id,
1907
1937
  class: "top-nav-bar__menu-item",
1908
1938
  type: "button",
@@ -1913,7 +1943,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1913
1943
  key: 0,
1914
1944
  class: m(e.icon),
1915
1945
  "aria-hidden": "true"
1916
- }, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 8, Jt))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
1946
+ }, null, 2)) : i("", !0), o("span", null, C(e.label), 1)], 8, en))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
1917
1947
  _: 1
1918
1948
  }, 8, ["css"]), b(n.$slots, "breadcrumb-actions")])
1919
1949
  ]),
@@ -1926,13 +1956,13 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1926
1956
  ref_key: "favoritesMeasureContentRef",
1927
1957
  ref: ne,
1928
1958
  class: "top-nav-bar__favorites-measure-content"
1929
- }, [o("span", Yt, [u[31] ||= o("i", {
1959
+ }, [o("span", tn, [u[31] ||= o("i", {
1930
1960
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
1931
1961
  "aria-hidden": "true"
1932
1962
  }, null, -1), o("span", null, C(s.favoriteLabel), 1)]), (_(!0), a(e, null, y(Z.value, (e, t) => (_(), a("span", {
1933
1963
  key: `measure-${e.id}`,
1934
1964
  class: "top-nav-bar__favorites-measure-item"
1935
- }, [t > 0 ? (_(), a("span", Xt, "|")) : i("", !0), o("span", null, [e.icon ? (_(), a("i", {
1965
+ }, [t > 0 ? (_(), a("span", nn, "|")) : i("", !0), o("span", null, [e.icon ? (_(), a("i", {
1936
1966
  key: 0,
1937
1967
  class: m(e.icon),
1938
1968
  "aria-hidden": "true"
@@ -1941,10 +1971,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1941
1971
  name: "top-nav-bar-favorites-row",
1942
1972
  css: se.value
1943
1973
  }, {
1944
- default: k(() => [Le.value ? (_(), a("div", Zt, [o("span", Qt, [u[32] ||= o("i", {
1974
+ default: k(() => [Le.value ? (_(), a("div", rn, [o("span", an, [u[32] ||= o("i", {
1945
1975
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
1946
1976
  "aria-hidden": "true"
1947
- }, null, -1), o("span", null, C(s.favoriteLabel), 1)]), o("div", $t, [(_(!0), a(e, null, y(Z.value, (t, n) => (_(), a(e, { key: `row-${t.id}` }, [n > 0 ? (_(), a("span", en, "|")) : i("", !0), o("button", {
1977
+ }, null, -1), o("span", null, C(s.favoriteLabel), 1)]), o("div", on, [(_(!0), a(e, null, y(Z.value, (t, n) => (_(), a(e, { key: `row-${t.id}` }, [n > 0 ? (_(), a("span", sn, "|")) : i("", !0), o("button", {
1948
1978
  class: "top-nav-bar__favorites-row-item",
1949
1979
  type: "button",
1950
1980
  disabled: t.disabled,
@@ -1953,7 +1983,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1953
1983
  key: 0,
1954
1984
  class: m(t.icon),
1955
1985
  "aria-hidden": "true"
1956
- }, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, tn)], 64))), 128))])])) : i("", !0)]),
1986
+ }, null, 2)) : i("", !0), o("span", null, C(t.label), 1)], 8, cn)], 64))), 128))])])) : i("", !0)]),
1957
1987
  _: 1
1958
1988
  }, 8, ["css"]),
1959
1989
  l(w(re), {
@@ -1963,8 +1993,8 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1963
1993
  class: "top-nav-bar__mobile-drawer",
1964
1994
  style: g([Ve.value, { width: "var(--top-nav-drawer-width, min(22rem, calc(100vw - 1.5rem)))" }])
1965
1995
  }, {
1966
- container: k(({ closeCallback: c }) => [o("div", nn, [
1967
- o("header", rn, [b(n.$slots, "drawer-header", { close: c }, () => [o("div", an, [b(n.$slots, "drawer-brand", {}, () => [b(n.$slots, "brand", { compact: !1 })])]), o("button", {
1996
+ container: k(({ closeCallback: c }) => [o("div", ln, [
1997
+ o("header", un, [b(n.$slots, "drawer-header", { close: c }, () => [o("div", dn, [b(n.$slots, "drawer-brand", {}, () => [b(n.$slots, "brand", { compact: !1 })])]), o("button", {
1968
1998
  class: "top-nav-bar__drawer-close top-nav-bar__square-button",
1969
1999
  type: "button",
1970
2000
  "aria-label": "Fechar navegação",
@@ -1972,12 +2002,12 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1972
2002
  }, [...u[33] ||= [o("i", {
1973
2003
  class: "pi pi-times",
1974
2004
  "aria-hidden": "true"
1975
- }, null, -1)]], 8, on)])]),
1976
- s.searchable || Me.value.length || n.$slots["drawer-actions"] ? (_(), a("div", sn, [s.searchable ? b(n.$slots, "drawer-search", {
2005
+ }, null, -1)]], 8, fn)])]),
2006
+ s.searchable || Me.value.length || n.$slots["drawer-actions"] ? (_(), a("div", pn, [s.searchable ? b(n.$slots, "drawer-search", {
1977
2007
  query: G.value,
1978
- update: Nn,
1979
- clear: Pn
1980
- }, () => [o("div", cn, [
2008
+ update: Bn,
2009
+ clear: Vn
2010
+ }, () => [o("div", mn, [
1981
2011
  u[35] ||= o("i", {
1982
2012
  class: "pi pi-search",
1983
2013
  "aria-hidden": "true"
@@ -1990,35 +2020,35 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
1990
2020
  role: "searchbox",
1991
2021
  placeholder: s.searchPlaceholder,
1992
2022
  "aria-label": "Pesquisar no menu",
1993
- onInput: u[14] ||= (e) => Nn(e.target.value)
1994
- }, null, 40, ln),
2023
+ onInput: u[14] ||= (e) => Bn(e.target.value)
2024
+ }, null, 40, hn),
1995
2025
  G.value ? (_(), a("button", {
1996
2026
  key: 0,
1997
2027
  class: "top-nav-bar__search-clear",
1998
2028
  type: "button",
1999
2029
  "aria-label": "Limpar pesquisa",
2000
- onClick: Pn
2030
+ onClick: Vn
2001
2031
  }, [...u[34] ||= [o("i", {
2002
2032
  class: "pi pi-times",
2003
2033
  "aria-hidden": "true"
2004
2034
  }, null, -1)]])) : i("", !0)
2005
2035
  ])], void 0, 0) : i("", !0), b(n.$slots, "drawer-actions", {
2006
2036
  actions: Me.value,
2007
- select: (e) => An(e, !0),
2037
+ select: (e) => Ln(e, !0),
2008
2038
  close: c
2009
2039
  }, () => [(_(!0), a(e, null, y(Me.value, (e) => (_(), a("button", {
2010
2040
  key: `drawer-${e.id}`,
2011
2041
  class: m(["top-nav-bar__drawer-action", { "top-nav-bar__drawer-action--active": e.kind === "aia" && s.aiaActive }]),
2012
2042
  type: "button",
2013
2043
  disabled: e.disabled,
2014
- onClick: (t) => An(e, !0)
2044
+ onClick: (t) => Ln(e, !0)
2015
2045
  }, [o("i", {
2016
2046
  class: m(e.icon),
2017
2047
  "aria-hidden": "true"
2018
- }, null, 2), o("span", null, C(e.label), 1)], 10, un))), 128))])])) : i("", !0),
2019
- o("div", dn, [
2048
+ }, null, 2), o("span", null, C(e.label), 1)], 10, gn))), 128))])])) : i("", !0),
2049
+ o("div", _n, [
2020
2050
  b(n.$slots, "drawer-before-menu", { close: c }),
2021
- o("div", fn, [Z.value.length ? (_(), a("section", pn, [o("button", {
2051
+ o("div", vn, [Z.value.length ? (_(), a("section", yn, [o("button", {
2022
2052
  class: "top-nav-bar__mobile-item",
2023
2053
  type: "button",
2024
2054
  "aria-expanded": U.value,
@@ -2028,13 +2058,13 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2028
2058
  class: "pi pi-star-fill top-nav-bar__accent",
2029
2059
  "aria-hidden": "true"
2030
2060
  }, null, -1),
2031
- o("span", hn, C(s.favoriteLabel), 1),
2032
- o("span", gn, C(Z.value.length), 1),
2061
+ o("span", xn, C(s.favoriteLabel), 1),
2062
+ o("span", Sn, C(Z.value.length), 1),
2033
2063
  o("i", {
2034
2064
  class: m(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": U.value }]),
2035
2065
  "aria-hidden": "true"
2036
2066
  }, null, 2)
2037
- ], 8, mn), l(t, { name: "top-nav-bar-menu-expand" }, {
2067
+ ], 8, bn), l(t, { name: "top-nav-bar-menu-expand" }, {
2038
2068
  default: k(() => [U.value ? (_(), r(Ue, {
2039
2069
  key: 0,
2040
2070
  items: Z.value,
@@ -2058,10 +2088,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2058
2088
  "items",
2059
2089
  "active-item-id",
2060
2090
  "force-open"
2061
- ])) : (_(), a("div", _n, "Nenhum menu encontrado."))])]),
2091
+ ])) : (_(), a("div", Cn, "Nenhum menu encontrado."))])]),
2062
2092
  b(n.$slots, "drawer-after-menu", { close: c })
2063
2093
  ]),
2064
- Pe.value || n.$slots["drawer-footer"] ? (_(), a("footer", vn, [Pe.value ? b(n.$slots, "drawer-user", {
2094
+ Pe.value || n.$slots["drawer-footer"] ? (_(), a("footer", wn, [Pe.value ? b(n.$slots, "drawer-user", {
2065
2095
  user: s.user,
2066
2096
  open: V.value,
2067
2097
  toggle: () => V.value = !V.value
@@ -2070,17 +2100,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2070
2100
  type: "button",
2071
2101
  "aria-haspopup": X.value ? "menu" : void 0,
2072
2102
  "aria-expanded": X.value ? V.value : void 0,
2073
- onClick: Mn
2103
+ onClick: zn
2074
2104
  }, [
2075
2105
  s.user?.avatarUrl ? (_(), a("img", {
2076
2106
  key: 0,
2077
2107
  src: s.user.avatarUrl,
2078
2108
  alt: "",
2079
2109
  class: "top-nav-bar__user-avatar"
2080
- }, null, 8, bn)) : (_(), a("span", xn, C(ze.value), 1)),
2081
- s.user ? (_(), a("span", Sn, [o("span", Cn, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", wn, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0),
2082
- X.value ? (_(), a("i", Tn)) : i("", !0)
2083
- ], 8, yn)], void 0, 0) : i("", !0), b(n.$slots, "drawer-footer", { close: c })])) : i("", !0)
2110
+ }, null, 8, En)) : (_(), a("span", Dn, C(ze.value), 1)),
2111
+ s.user ? (_(), a("span", On, [o("span", kn, C(s.user.name), 1), s.user.subtitle ? (_(), a("span", An, C(s.user.subtitle), 1)) : i("", !0)])) : i("", !0),
2112
+ X.value ? (_(), a("i", jn)) : i("", !0)
2113
+ ], 8, Tn)], void 0, 0) : i("", !0), b(n.$slots, "drawer-footer", { close: c })])) : i("", !0)
2084
2114
  ])]),
2085
2115
  _: 3
2086
2116
  }, 8, ["visible", "style"]),
@@ -2097,41 +2127,41 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2097
2127
  }, null, 8, ["model"])
2098
2128
  ], 4));
2099
2129
  }
2100
- }), kn = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, Q = {
2130
+ }), Fn = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, In = {
2101
2131
  key: 0,
2102
2132
  class: "pi pi-spin pi-spinner"
2103
- }, $ = {
2133
+ }, Q = {
2104
2134
  key: 1,
2105
2135
  class: "pi pi-search"
2106
- }, An = {
2136
+ }, $ = {
2107
2137
  key: 1,
2108
2138
  class: "flex items-center gap-1 !text-sm"
2109
- }, jn = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, Mn = ["onClick"], Nn = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, Pn = {
2139
+ }, Ln = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, Rn = ["onClick"], zn = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, Bn = {
2110
2140
  key: 1,
2111
2141
  class: "flex min-h-[100px] flex-col items-center justify-center gap-2 py-2"
2112
- }, Fn = {
2142
+ }, Vn = {
2113
2143
  key: 0,
2114
2144
  class: "text-xs font-medium text-primary-600"
2115
- }, In = {
2145
+ }, Hn = {
2116
2146
  key: 2,
2117
2147
  class: "text-xs text-secondary-500"
2118
- }, Ln = { key: 1 }, Rn = {
2148
+ }, Un = { key: 1 }, Wn = {
2119
2149
  key: 1,
2120
2150
  class: "flex items-center gap-2 font-semibold"
2121
- }, zn = {
2151
+ }, Gn = {
2122
2152
  key: 1,
2123
2153
  class: "flex w-full min-w-0 items-start gap-2 overflow-hidden px-2 py-3 text-sm",
2124
2154
  style: { "white-space": "normal" }
2125
- }, Bn = ["title"], Vn = {
2155
+ }, Kn = ["title"], qn = {
2126
2156
  key: 0,
2127
2157
  class: "top-select-option-prefix whitespace-nowrap font-bold text-primary-800 dark:text-primary-100"
2128
- }, Hn = {
2158
+ }, Jn = {
2129
2159
  key: 0,
2130
2160
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
2131
- }, Un = {
2161
+ }, Yn = {
2132
2162
  key: 0,
2133
2163
  class: "rounded-sm bg-primary-200 p-0 font-bold text-black dark:bg-cyan-700 dark:text-white"
2134
- }, Wn = /* @__PURE__ */ u({
2164
+ }, Xn = /* @__PURE__ */ u({
2135
2165
  __name: "TopSelect",
2136
2166
  props: {
2137
2167
  modelValue: { default: null },
@@ -2259,7 +2289,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2259
2289
  }), (n, r) => (_(), a("div", {
2260
2290
  class: m(["top-select top-solutions-component relative w-full", { "pointer-events-none": t.disabled }]),
2261
2291
  onFocusin: H
2262
- }, [o("span", kn, [b(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (_(), a("i", Q)) : (_(), a("i", $))])]), l(w(T), {
2292
+ }, [o("span", Fn, [b(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (_(), a("i", In)) : (_(), a("i", Q))])]), l(w(T), {
2263
2293
  ref_key: "autocompleteRef",
2264
2294
  ref: j,
2265
2295
  modelValue: F.value,
@@ -2329,18 +2359,18 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2329
2359
  },
2330
2360
  onChange: r[4] ||= (e) => x("change", e)
2331
2361
  }, s({
2332
- chip: k((e) => [w(S).chip ? b(n.$slots, "chip", h(d(e)), void 0, void 0, 0) : (_(), a("div", An, [o("div", jn, [o("i", {
2362
+ chip: k((e) => [w(S).chip ? b(n.$slots, "chip", h(d(e)), void 0, void 0, 0) : (_(), a("div", $, [o("div", Ln, [o("i", {
2333
2363
  class: "pi pi-times-circle shrink-0 cursor-pointer rounded-full hover:bg-primary-800",
2334
2364
  onClick: (t) => e.removeCallback(t)
2335
- }, null, 8, Mn), ne((_(), a("span", Nn, [c(C(ie(e.value)), 1)])), [[
2365
+ }, null, 8, Rn), ne((_(), a("span", zn, [c(C(ie(e.value)), 1)])), [[
2336
2366
  w(M),
2337
2367
  ie(e.value),
2338
2368
  void 0,
2339
2369
  { top: !0 }
2340
2370
  ]])])]))]),
2341
- empty: k(() => [w(S).empty ? b(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (_(), a("div", Pn, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (_(), a("span", Fn, C(t.loadingMessage), 1)) : i("", !0)])) : (_(), a("span", In, C(t.emptyMessage), 1))]),
2342
- "selected-item": k((e) => [w(S)["selected-item"] ? b(n.$slots, "selected-item", h(d(e)), void 0, void 0, 0) : e.item ? (_(), a("span", Ln, C(ie(e.item)), 1)) : i("", !0)]),
2343
- optiongroup: k((e) => [w(S)["option-group"] ? b(n.$slots, "option-group", h(d(e)), void 0, void 0, 0) : (_(), a("div", Rn, [e.option.icon ? (_(), a("i", {
2371
+ empty: k(() => [w(S).empty ? b(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (_(), a("div", Bn, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (_(), a("span", Vn, C(t.loadingMessage), 1)) : i("", !0)])) : (_(), a("span", Hn, C(t.emptyMessage), 1))]),
2372
+ "selected-item": k((e) => [w(S)["selected-item"] ? b(n.$slots, "selected-item", h(d(e)), void 0, void 0, 0) : e.item ? (_(), a("span", Un, C(ie(e.item)), 1)) : i("", !0)]),
2373
+ optiongroup: k((e) => [w(S)["option-group"] ? b(n.$slots, "option-group", h(d(e)), void 0, void 0, 0) : (_(), a("div", Wn, [e.option.icon ? (_(), a("i", {
2344
2374
  key: 0,
2345
2375
  class: m(e.option.icon)
2346
2376
  }, null, 2)) : i("", !0), o("span", null, C(e.option[t.optionGroupLabel ?? "label"]), 1)]))]),
@@ -2348,10 +2378,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2348
2378
  label: L(s.option),
2349
2379
  prefix: re(s.option),
2350
2380
  query: E.value
2351
- }), void 0, void 0, 0) : ne((_(), a("div", zn, [o("span", {
2381
+ }), void 0, void 0, 0) : ne((_(), a("div", Gn, [o("span", {
2352
2382
  class: "top-select-option-label line-clamp-2 min-w-0 flex-1 text-secondary-700 dark:text-zinc-200",
2353
2383
  title: L(s.option)
2354
- }, [t.showOptionPrefix && re(s.option) ? (_(), a("span", Vn, [(_(!0), a(e, null, y(z(re(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Hn, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128)), r[6] ||= o("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : i("", !0), (_(!0), a(e, null, y(z(L(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Un, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128))], 8, Bn)])), [[
2384
+ }, [t.showOptionPrefix && re(s.option) ? (_(), a("span", qn, [(_(!0), a(e, null, y(z(re(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Jn, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128)), r[6] ||= o("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : i("", !0), (_(!0), a(e, null, y(z(L(s.option)), (t, n) => (_(), a(e, { key: n }, [t.highlighted ? (_(), a("mark", Yn, C(t.text), 1)) : (_(), a(e, { key: 1 }, [c(C(t.text), 1)], 64))], 64))), 128))], 8, Kn)])), [[
2355
2385
  w(M),
2356
2386
  t.showTooltip ? L(s.option) : null,
2357
2387
  void 0,
@@ -2380,7 +2410,7 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2380
2410
  "pt"
2381
2411
  ])], 34));
2382
2412
  }
2383
- }), Gn = /* @__PURE__ */ u({
2413
+ }), Zn = /* @__PURE__ */ u({
2384
2414
  inheritAttrs: !1,
2385
2415
  __name: "TopTabs",
2386
2416
  props: {
@@ -2438,10 +2468,10 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2438
2468
  "scrollable"
2439
2469
  ]));
2440
2470
  }
2441
- }), Kn = { class: "top-toast__content" }, qn = { class: "top-toast__detail" }, Jn = ["onClick"], Yn = {
2471
+ }), Qn = { class: "top-toast__content" }, $n = { class: "top-toast__detail" }, er = ["onClick"], tr = {
2442
2472
  key: 0,
2443
2473
  class: "top-toast__footer"
2444
- }, Xn = /* @__PURE__ */ u({
2474
+ }, nr = /* @__PURE__ */ u({
2445
2475
  __name: "TopToast",
2446
2476
  props: { baseZIndex: { default: 3e4 } },
2447
2477
  setup(e) {
@@ -2467,9 +2497,9 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2467
2497
  position: "top-right",
2468
2498
  "base-z-index": e.baseZIndex
2469
2499
  }, {
2470
- message: k((e) => [o("div", Kn, [
2500
+ message: k((e) => [o("div", Qn, [
2471
2501
  o("div", { class: m(["top-toast__summary", d(e.message, "summary")]) }, C(e.message.summary), 3),
2472
- o("div", qn, C(e.message.detail), 1),
2502
+ o("div", $n, C(e.message.detail), 1),
2473
2503
  u(e.message) ? b(f.$slots, "action", {
2474
2504
  action: n(e.message),
2475
2505
  message: e.message,
@@ -2483,17 +2513,17 @@ var be = /* @__PURE__ */ _e(ge, [["render", ye], ["__file", "/Users/mahmudulhasa
2483
2513
  key: 0,
2484
2514
  class: m(n(e.message)?.icon),
2485
2515
  "aria-hidden": "true"
2486
- }, null, 2)) : i("", !0), c(" " + C(n(e.message)?.label), 1)], 10, Jn)) : i("", !0)], void 0, 0) : i("", !0),
2516
+ }, null, 2)) : i("", !0), c(" " + C(n(e.message)?.label), 1)], 10, er)) : i("", !0)], void 0, 0) : i("", !0),
2487
2517
  l(e.message) ? b(f.$slots, "footer", {
2488
2518
  message: e.message,
2489
2519
  footer: t(e.message)
2490
- }, () => [t(e.message) === void 0 ? i("", !0) : (_(), a("div", Yn, C(t(e.message)), 1))], void 0, 1) : i("", !0)
2520
+ }, () => [t(e.message) === void 0 ? i("", !0) : (_(), a("div", tr, C(t(e.message)), 1))], void 0, 1) : i("", !0)
2491
2521
  ])]),
2492
2522
  _: 3
2493
2523
  }, 8, ["base-z-index"]));
2494
2524
  }
2495
2525
  });
2496
2526
  //#endregion
2497
- export { ze as a, le as c, On as i, se as l, Gn as n, Fe as o, Wn as r, me as s, Xn as t, oe as u };
2527
+ export { ze as a, le as c, Pn as i, se as l, Zn as n, Fe as o, Xn as r, me as s, nr as t, oe as u };
2498
2528
 
2499
- //# sourceMappingURL=TopToast-ZB64v4w6.js.map
2529
+ //# sourceMappingURL=TopToast-Crws8yw6.js.map