@comercti/web-components-hmg 0.24.2 → 0.24.3

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.
@@ -2131,12 +2131,12 @@ const Mt = /* @__PURE__ */ new WeakMap(), Co = (e, t) => {
2131
2131
  return;
2132
2132
  }
2133
2133
  m(x);
2134
- }, p = (x, h, S) => {
2134
+ }, p = (x, h, S, V) => {
2135
2135
  if (S.stopPropagation(), S.preventDefault(), e.sendRemovedFile) {
2136
- h("delete", s.value[x] || []);
2136
+ h("delete", x || []);
2137
2137
  return;
2138
2138
  }
2139
- s.value.splice(x, 1), r.value && (r.value.value = null), E(), m(h);
2139
+ s.value.splice(V, 1), r.value && (r.value.value = null), E(), m(h);
2140
2140
  };
2141
2141
  function w(x) {
2142
2142
  s.value = [], m(x);
@@ -2593,7 +2593,7 @@ const Mt = /* @__PURE__ */ new WeakMap(), Co = (e, t) => {
2593
2593
  var P;
2594
2594
  return c(), g("div", {
2595
2595
  key: O,
2596
- class: y(["border p-4 flex items-start shadow-md flex-col relative", [
2596
+ class: y(["border p-4 flex items-start shadow-md flex-col relative mb-2", [
2597
2597
  o(d),
2598
2598
  {
2599
2599
  "border-[#FBD4DD] bg-[#FFEFF3]": j.status === "error",
@@ -2658,7 +2658,7 @@ const Mt = /* @__PURE__ */ new WeakMap(), Co = (e, t) => {
2658
2658
  e.showRemoveButton ? (c(), g("button", {
2659
2659
  key: 1,
2660
2660
  type: "button",
2661
- onClick: (F) => o(G)(O, a, F),
2661
+ onClick: (F) => o(G)(j, a, F, O),
2662
2662
  disabled: o(v)
2663
2663
  }, [
2664
2664
  U(X, {