@comercti/web-components-hmg 0.23.15 → 0.23.16

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.
@@ -6069,8 +6069,8 @@ const gd = { class: "p-4 flex-1" }, md = /* @__PURE__ */ J({
6069
6069
  Nt(() => {
6070
6070
  e.allOpen ? r.value = e.items.map(() => !0) : e.openTheFirst ? r.value = e.items.map((m, f) => f === 0) : r.value = e.items.map(() => !1), e.closeCollapse && (r.value[e.closeCollapse] = !1);
6071
6071
  });
6072
- const n = (m) => {
6073
- r.value[m] = !r.value[m], a.value.some((f) => f.index === m) ? a.value = a.value.filter((f) => f.index !== m) : a.value.push({ index: m, value: r.value[m] }), t("toggle-collapse", a.value);
6072
+ const n = (m, f) => {
6073
+ r.value[m] = !r.value[m], a.value.some((h) => h.index === m) ? a.value = a.value.filter((h) => h.index !== m) : a.value.push({ index: m, value: r.value[m], item: f }), t("toggle-collapse", a.value);
6074
6074
  }, i = (m) => r.value[m], c = V(() => {
6075
6075
  if (e.variant === "accordion" && e.direction === "column")
6076
6076
  return "flex flex-col";
@@ -6134,7 +6134,7 @@ const gd = { class: "p-4 flex-1" }, md = /* @__PURE__ */ J({
6134
6134
  s("div", $d, [
6135
6135
  T(f.$slots, "header", { item: w }),
6136
6136
  s("button", {
6137
- onClick: (x) => o(i)(p),
6137
+ onClick: (x) => o(i)(p, w),
6138
6138
  class: "text-left focus:outline-none",
6139
6139
  type: "button"
6140
6140
  }, [