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