@comercti/web-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.
@@ -2657,11 +2657,12 @@ const pa = ["for", "innerHTML"], ga = { class: "relative" }, ma = ["id", "value"
2657
2657
  a.value = c;
2658
2658
  }
2659
2659
  ), (c, p) => (s(), d("div", te({ class: "w-full" }, c.$attrs), [
2660
- n("label", {
2660
+ c.label ? (s(), d("label", {
2661
+ key: 0,
2661
2662
  id: c.id,
2662
2663
  class: "text-sm font-medium text-gray-700 dark:text-ce_light_gray pl-2",
2663
2664
  innerHTML: c.label
2664
- }, null, 8, Qa),
2665
+ }, null, 8, Qa)) : k("", !0),
2665
2666
  n("div", {
2666
2667
  id: c.id,
2667
2668
  class: w(["rounded-full p-1 flex justify-center items-center w-16 h-10", {
@@ -4117,7 +4118,7 @@ const Ln = ["onClick"], Pn = {
4117
4118
  ), W(Y, () => {
4118
4119
  Y.isHome && a();
4119
4120
  }), (j, C) => (s(), d("div", {
4120
- class: w(["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(o), "z-0": e(b), "z-10": !e(b) && e(o) }]),
4121
+ class: w(["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(o), "z-0": e(b), "z-10": !e(b) && e(o) }]),
4121
4122
  onMouseenter: C[5] || (C[5] = //@ts-ignore
4122
4123
  (...H) => e(p) && e(p)(...H)),
4123
4124
  onMouseleave: C[6] || (C[6] = //@ts-ignore
@@ -4321,7 +4322,8 @@ const Ln = ["onClick"], Pn = {
4321
4322
  itemsMenu: { default: () => [] },
4322
4323
  itemsModules: {},
4323
4324
  name: {},
4324
- email: {}
4325
+ email: {},
4326
+ itemsSearch: { default: () => [] }
4325
4327
  },
4326
4328
  emits: ["backToHome", "redirect", "logout"],
4327
4329
  setup(t, { emit: r }) {
@@ -4448,8 +4450,8 @@ const Ln = ["onClick"], Pn = {
4448
4450
  e(a) ? (s(), q(Je, {
4449
4451
  key: 1,
4450
4452
  placeholder: "Pesquisar",
4451
- items: e(G)(e(p)),
4452
- "onUpdate:modelValue": M[2] || (M[2] = (A) => e(S)(e(p), String(A))),
4453
+ items: e(G)(v.itemsSearch.length > 0 ? v.itemsSearch : e(p)),
4454
+ "onUpdate:modelValue": M[2] || (M[2] = (A) => e(S)(v.itemsSearch.length > 0 ? v.itemsSearch : e(p), String(A))),
4453
4455
  onFilterList: M[3] || (M[3] = (A) => e(S)(e(p), String(A))),
4454
4456
  onClearFilter: M[4] || (M[4] = (A) => e(L)(e(p)))
4455
4457
  }, null, 8, ["items"])) : (s(), q(T, {
@@ -6177,7 +6179,7 @@ customElements.define("ce-data-table", fd);
6177
6179
  customElements.define("ce-items-per-page", bd);
6178
6180
  const hd = Q(Z(T));
6179
6181
  customElements.define("ce-svg-icon", hd);
6180
- const wd = { class: "w-full h-full" }, vd = ["src", "alt"], yd = {
6182
+ const wd = { class: "w-full" }, vd = ["src", "alt"], yd = {
6181
6183
  key: 1,
6182
6184
  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",
6183
6185
  viewBox: "0 0 32 32",