import d from "./Menu.vue.js";
import { h as s, render as r } from "vue";
function m(t, c) {
  t.preventDefault();
  const e = () => {
    r(null, document.body);
  }, o = s(d, {
    options: c,
    onClose: () => {
      e();
    }
  });
  r(o, document.body);
  const n = o.el;
  return n.style.top = t.clientY + "px", n.style.left = t.clientX + "px", document.addEventListener("click", (l) => {
    n.contains(l.target) || e();
  }), e;
}
export {
  m as showContextMenu
};
//# sourceMappingURL=index.js.map
