@comercti/react-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.
@@ -8345,8 +8345,8 @@ const wu = /* @__PURE__ */ X({
8345
8345
  zt(() => {
8346
8346
  e.allOpen ? a.value = e.items.map(() => !0) : e.openTheFirst ? a.value = e.items.map((m, g) => g === 0) : a.value = e.items.map(() => !1), e.closeCollapse && (a.value[e.closeCollapse] = !1);
8347
8347
  });
8348
- const o = (m) => {
8349
- a.value[m] = !a.value[m], n.value.some((g) => g.index === m) ? n.value = n.value.filter((g) => g.index !== m) : n.value.push({ index: m, value: a.value[m] }), t("toggle-collapse", n.value);
8348
+ const o = (m, g) => {
8349
+ a.value[m] = !a.value[m], n.value.some((h) => h.index === m) ? n.value = n.value.filter((h) => h.index !== m) : n.value.push({ index: m, value: a.value[m], item: g }), t("toggle-collapse", n.value);
8350
8350
  }, l = (m) => a.value[m], u = U(() => {
8351
8351
  if (e.variant === "accordion" && e.direction === "column")
8352
8352
  return "flex flex-col";
@@ -8410,7 +8410,7 @@ const wu = /* @__PURE__ */ X({
8410
8410
  s("div", d2, [
8411
8411
  N(g.$slots, "header", { item: k }),
8412
8412
  s("button", {
8413
- onClick: (y) => r(l)(v),
8413
+ onClick: (y) => r(l)(v, k),
8414
8414
  class: "text-left focus:outline-none",
8415
8415
  type: "button"
8416
8416
  }, [