@comercti/react-components-hmg 0.10.14 → 0.10.17

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.
@@ -3447,11 +3447,12 @@ const Mr = ["for", "innerHTML"], _r = { class: "relative" }, Ar = ["id", "value"
3447
3447
  a.value = u;
3448
3448
  }
3449
3449
  ), (u, p) => (s(), d("div", ee({ class: "w-full" }, u.$attrs), [
3450
- r("label", {
3450
+ u.label ? (s(), d("label", {
3451
+ key: 0,
3451
3452
  id: u.id,
3452
3453
  class: "text-sm font-medium text-gray-700 dark:text-ce_light_gray pl-2",
3453
3454
  innerHTML: u.label
3454
- }, null, 8, os),
3455
+ }, null, 8, os)) : C("", !0),
3455
3456
  r("div", {
3456
3457
  id: u.id,
3457
3458
  class: b(["rounded-full p-1 flex justify-center items-center w-16 h-10", {
@@ -4856,7 +4857,8 @@ const gs = /* @__PURE__ */ U({
4856
4857
  itemsMenu: { default: () => [] },
4857
4858
  itemsModules: {},
4858
4859
  name: {},
4859
- email: {}
4860
+ email: {},
4861
+ itemsSearch: { default: () => [] }
4860
4862
  },
4861
4863
  emits: ["backToHome", "redirect", "logout"],
4862
4864
  setup(t, { emit: o }) {
@@ -4983,8 +4985,8 @@ const gs = /* @__PURE__ */ U({
4983
4985
  e(a) ? (s(), X(Qe, {
4984
4986
  key: 1,
4985
4987
  placeholder: "Pesquisar",
4986
- items: e(L)(e(p)),
4987
- "onUpdate:modelValue": M[2] || (M[2] = (_) => e(T)(e(p), String(_))),
4988
+ items: e(L)(k.itemsSearch.length > 0 ? k.itemsSearch : e(p)),
4989
+ "onUpdate:modelValue": M[2] || (M[2] = (_) => e(T)(k.itemsSearch.length > 0 ? k.itemsSearch : e(p), String(_))),
4988
4990
  onFilterList: M[3] || (M[3] = (_) => e(T)(e(p), String(_))),
4989
4991
  onClearFilter: M[4] || (M[4] = (_) => e(E)(e(p)))
4990
4992
  }, null, 8, ["items"])) : (s(), X(N, {
@@ -5170,7 +5172,7 @@ const gs = /* @__PURE__ */ U({
5170
5172
  ), W($, () => {
5171
5173
  $.isHome && a();
5172
5174
  }), (A, x) => (s(), d("div", {
5173
- class: b(["sm:hidden pt-[25px] relative h-full overflow-auto scrollbar-hide transition-all duration-300 ease-in-out bg-white dark:bg-ce_black border-gray-200 rounded-tr-lg rounded-br-lg border-r-[1px]", { "w-[310px]": e(n), "z-0": e(h), "z-10": !e(h) && e(n) }]),
5175
+ class: b(["sm:hidden pt-[25px] relative h-full overflow-auto scrollbar-hide transition-all duration-300 ease-in-out bg-white dark:bg-ce_black border-gray-200 rounded-tr-lg rounded-br-lg border-r-[1px] dark:border-b", { "w-[310px]": e(n), "z-0": e(h), "z-10": !e(h) && e(n) }]),
5174
5176
  onMouseenter: x[5] || (x[5] = //@ts-ignore
5175
5177
  (...F) => e(p) && e(p)(...F)),
5176
5178
  onMouseleave: x[6] || (x[6] = //@ts-ignore
@@ -5472,7 +5474,7 @@ const gs = /* @__PURE__ */ U({
5472
5474
  ll
5473
5475
  ), i2 = q(ml), d2 = q(
5474
5476
  hl
5475
- ), vl = { class: "w-full h-full" }, bl = ["src", "alt"], kl = {
5477
+ ), vl = { class: "w-full" }, bl = ["src", "alt"], kl = {
5476
5478
  key: 1,
5477
5479
  class: "rounded-full border border-gray-500 border-opacity-25 shadow-sm group-active:ring-4 group-active:ring-gray-400 group-active:ring-opacity-25 transition bg-neutral-100 p-2",
5478
5480
  viewBox: "0 0 32 32",