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