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

//# sourceMappingURL=PlSplash.vue2.js.map