@sysvale/cuida 3.70.0 → 3.70.1

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.
@@ -34728,7 +34728,8 @@ const eg = {
34728
34728
  expandItemControl: 0,
34729
34729
  itemsWithVisibilityController: [],
34730
34730
  logoutTooltipText: "Sair",
34731
- showPopover: !1
34731
+ showPopover: !1,
34732
+ showSearchButtonShortCut: !0
34732
34733
  };
34733
34734
  },
34734
34735
  computed: {
@@ -34744,6 +34745,9 @@ const eg = {
34744
34745
  },
34745
34746
  avatarCursorResolver() {
34746
34747
  return this.shouldShowProfileMenu ? "pointer" : "default";
34748
+ },
34749
+ computedSearchButtonJustify() {
34750
+ return this.collapsed ? "center" : "space-between";
34747
34751
  }
34748
34752
  },
34749
34753
  watch: {
@@ -34768,12 +34772,14 @@ const eg = {
34768
34772
  },
34769
34773
  collapsed(t) {
34770
34774
  if (t) {
34771
- this.showUncollapsedItems = !1;
34775
+ this.showUncollapsedItems = !1, this.showSearchButtonShortCut = !1;
34772
34776
  return;
34773
34777
  }
34774
34778
  setTimeout(() => {
34775
34779
  this.showUncollapsedItems = !0;
34776
- }, 500);
34780
+ }, 500), setTimeout(() => {
34781
+ this.showSearchButtonShortCut = !0;
34782
+ }, 250);
34777
34783
  }
34778
34784
  },
34779
34785
  created() {
@@ -34824,11 +34830,12 @@ const eg = {
34824
34830
  }
34825
34831
  }, I4 = () => {
34826
34832
  wt((t) => ({
34827
- "29dcce0c": t.avatarCursorResolver
34833
+ "987e34c4": t.avatarCursorResolver,
34834
+ "00c77940": t.computedSearchButtonJustify
34828
34835
  }));
34829
34836
  }, P4 = eg.setup;
34830
34837
  eg.setup = P4 ? (t, e) => (I4(), P4(t, e)) : I4;
34831
- const Kle = eg, Zle = { class: "side-bar__header" }, Xle = { class: "side-bar__logo" }, Jle = ["src"], Qle = { class: "search-button__text-container" }, ece = /* @__PURE__ */ k("span", null, "Busca", -1), tce = ["onMouseleave"], nce = ["onClick"], ice = ["id", "onMouseover"], sce = { class: "side-bar__subitem-container" }, rce = { class: "side-bar__subitems" }, ace = ["href", "target", "onClick"], oce = {
34838
+ const Kle = eg, Zle = { class: "side-bar__header" }, Xle = { class: "side-bar__logo" }, Jle = ["src"], Qle = { class: "search-button__text-container" }, ece = { key: 0 }, tce = ["onMouseleave"], nce = ["onClick"], ice = ["id", "onMouseover"], sce = { class: "side-bar__subitem-container" }, rce = { class: "side-bar__subitems" }, ace = ["href", "target", "onClick"], oce = {
34832
34839
  key: 0,
34833
34840
  class: "side-bar__subitem-link"
34834
34841
  }, lce = { key: 1 }, cce = { class: "side-bar__subitems--collapsed" }, uce = { class: "side-bar__tooltip-title" }, dce = ["href", "onClick"], hce = {
@@ -34876,11 +34883,12 @@ function _ce(t, e, n, i, s, r) {
34876
34883
  width: "20",
34877
34884
  name: "search-outline"
34878
34885
  }),
34879
- ece
34886
+ s.showSearchButtonShortCut ? (y(), C("span", ece, "Busca")) : j("", !0)
34880
34887
  ]),
34881
- k("span", {
34888
+ s.showSearchButtonShortCut ? (y(), C("span", {
34889
+ key: 0,
34882
34890
  class: F(["side-bar__search-shortcut", { "side-bar__search-shortcut--light": n.light }])
34883
- }, " Ctrl + K ", 2)
34891
+ }, " Ctrl + K ", 2)) : j("", !0)
34884
34892
  ], 2)) : j("", !0),
34885
34893
  k("ul", {
34886
34894
  class: F({ "side-bar__container": n.items.length >= 1 })