import { createElementBlock as i, openBlock as o, createElementVNode as m, Fragment as f, renderList as p, unref as l, createBlock as c } from "vue";
import { useGifts as u } from "./composables-BAZQlC3e.js";
import { GiftCard as a } from "./components.js";
const d = { class: "flex flex-col gap-2" }, x = {
  __name: "GiftList",
  emits: ["open", "project"],
  setup(k, { emit: _ }) {
    const { gifts: s } = u();
    return (r, e) => (o(), i("div", d, [
      e[1] || (e[1] = m("div", { class: "text-lg font-bold w-full" }, "ALL", -1)),
      (o(!0), i(f, null, p(l(s), (g, t) => (o(), c(l(a), {
        class: "cursor-pointer",
        key: t,
        hash: t,
        onClick: (n) => r.$emit("open", t),
        onProject: e[0] || (e[0] = (n) => r.$emit("project", n))
      }, null, 8, ["hash", "onClick"]))), 128))
    ]));
  }
};
export {
  x as default
};
//# sourceMappingURL=GiftList-Cf4R0h4R.js.map
