import { useGifts as c, openBlock as t, createElementBlock as s, Fragment as f, renderList as a, createBlock as m, unref as i, createBaseVNode as p } from "./composables-Ci32s3jE.js";
import { GiftCard as u } from "./components.js";
const _ = { class: "flex flex-col gap-2" }, d = /* @__PURE__ */ p("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(), m(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-CbdNi6PS.js.map
