import { createBlock as i, openBlock as l, Transition as r, withCtx as c, withDirectives as n, createElementVNode as t, renderSlot as m, vShow as p } from "vue";
/* empty css                   */
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
const f = ["data-theme"], u = {
  class: "modal",
  role: "dialog",
  "aria-labelledby": "modalTitle",
  "aria-describedby": "modalDescription"
}, h = {
  __name: "ModalNoFooter",
  props: {
    theme: {
      type: String,
      required: !1,
      default: "light"
    }
  },
  emits: ["close"],
  setup(o, { emit: a }) {
    const d = a, s = (e) => {
      e.target.classList.contains("modal-backdrop") && d("close");
    };
    return (e, b) => (l(), i(r, { name: "modal-fade" }, {
      default: c(() => [
        n(t("div", {
          "data-theme": o.theme,
          class: "modal-backdrop",
          onClick: s
        }, [
          t("div", u, [
            m(e.$slots, "default", {}, void 0, !0)
          ])
        ], 8, f), [
          [p, !0]
        ])
      ]),
      _: 3
    }));
  }
}, w = /* @__PURE__ */ _(h, [["__scopeId", "data-v-01dc3148"]]);
export {
  w as default
};
