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