import { defineComponent as n, ref as l, onBeforeMount as u, inject as d, openBlock as s, createElementBlock as i, normalizeClass as p, unref as t, renderSlot as m } from "vue";
import { M as a } from "./Module.keys-DcqBbvvT.js";
import { M as r } from "./Module.types-B1FfGGac.js";
const w = /* @__PURE__ */ n({
  __name: "ModuleFooter",
  setup(f) {
    const e = l();
    return u(() => {
      const o = d(a.key, a.defaults);
      if (!o.variant)
        throw new Error("ModuleContent must be used within a Module component.");
      e.value = o.variant.value;
    }), (o, c) => (s(), i("div", {
      class: p(["stash-module-footer flex flex-wrap justify-between", {
        "rounded-b border-b border-ice-500 px-3 pb-6 pt-0 lg:px-6": e.value === t(r).Card,
        "rounded bg-white p-3 shadow lg:rounded-t-none lg:px-6 lg:shadow-none": e.value === t(r).Table || e.value === t(r).List,
        "mb-0 pt-3 lg:pt-6": e.value === t(r).Box
      }]),
      "data-test": "stash-module-footer"
    }, [
      m(o.$slots, "default")
    ], 2));
  }
});
export {
  w as default
};
//# sourceMappingURL=ModuleFooter.js.map
