import { defineComponent as i, createElementBlock as l, openBlock as n, normalizeClass as o, unref as e, createCommentVNode as r, renderSlot as s, createElementVNode as m, createVNode as c, toDisplayString as f } from "vue";
import a from "./pl-splash.module.scss.js";
import u from "../PlLoaderCircular/PlLoaderCircular.vue.js";
const x = /* @__PURE__ */ i({
  __name: "PlSplash",
  props: {
    loadingText: { default: void 0 },
    loading: { type: Boolean, default: !1 },
    type: { default: void 0 }
  },
  setup(t) {
    return (d, p) => (n(), l("div", {
      class: o([e(a).splash, { [e(a).table]: t.type === "table", [e(a).transparent]: t.type === "transparent" }])
    }, [
      t.loading ? (n(), l("div", {
        key: 0,
        class: o([e(a).overlay])
      }, [
        m("div", null, [
          c(e(u), { size: "48" }),
          t.loadingText ? (n(), l("div", {
            key: 0,
            class: o(e(a).text)
          }, f(t.loadingText), 3)) : r("", !0)
        ])
      ], 2)) : r("", !0),
      s(d.$slots, "default")
    ], 2));
  }
});
export {
  x as default
};
//# sourceMappingURL=PlSplash.vue.js.map
