@comercti/web-components-hmg 0.23.16 → 0.23.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.
@@ -6102,7 +6102,7 @@ const gd = { class: "p-4 flex-1" }, md = /* @__PURE__ */ J({
6102
6102
  },
6103
6103
  containerClasses: c
6104
6104
  };
6105
- }, $d = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, _d = ["onClick"], ec = {
6105
+ }, $d = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, _d = ["onClick", "disabled"], ec = {
6106
6106
  key: 0,
6107
6107
  class: "py-1"
6108
6108
  }, tc = /* @__PURE__ */ J({
@@ -6113,7 +6113,8 @@ const gd = { class: "p-4 flex-1" }, md = /* @__PURE__ */ J({
6113
6113
  allOpen: { type: Boolean, default: !1 },
6114
6114
  variant: { default: "accordion" },
6115
6115
  direction: { default: "row" },
6116
- closeCollapse: { default: null }
6116
+ closeCollapse: { default: null },
6117
+ disabled: { default: () => ({ field: "", value: "" }) }
6117
6118
  },
6118
6119
  emits: ["toggle-collapse"],
6119
6120
  setup(e, { emit: t }) {
@@ -6135,6 +6136,7 @@ const gd = { class: "p-4 flex-1" }, md = /* @__PURE__ */ J({
6135
6136
  T(f.$slots, "header", { item: w }),
6136
6137
  s("button", {
6137
6138
  onClick: (x) => o(i)(p, w),
6139
+ disabled: w[e.disabled.field] === e.disabled.value,
6138
6140
  class: "text-left focus:outline-none",
6139
6141
  type: "button"
6140
6142
  }, [