import './pl-slide-modal.css';/* empty css               */
import { defaultProps as e } from "./props.js";
import t from "./PlPureSlideModal.js";
import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeDefaults as s, mergeProps as c, openBlock as l, renderSlot as u, unref as d, useAttrs as f, useSlots as p, withCtx as m } from "vue";
var h = {
	key: 0,
	class: "pl-slide-modal__title"
}, g = { class: "pl-slide-modal__title-content" }, _ = { class: "pl-slide-modal__content" }, v = {
	key: 1,
	class: "pl-slide-modal__actions"
}, y = /* @__PURE__ */ o({
	name: "PlSlideModal",
	inheritAttrs: !1,
	props: /* @__PURE__ */ s({
		modelValue: { type: Boolean },
		width: {},
		shadow: { type: Boolean },
		closeOnOutsideClick: { type: Boolean }
	}, e),
	setup(e) {
		let o = p(), s = f(), y = e;
		return (e, f) => (l(), n(t, c({
			...y,
			...d(s)
		}, { class: [e.$style.root, {
			"has-title": d(o).title,
			"has-actions": d(o).actions
		}] }), {
			default: m(() => [
				d(o).title ? (l(), i("div", h, [a("span", g, [u(e.$slots, "title")])])) : r("", !0),
				a("div", _, [u(e.$slots, "default")]),
				d(o).actions ? (l(), i("div", v, [u(e.$slots, "actions")])) : r("", !0)
			]),
			_: 3
		}, 16, ["class"]));
	}
});
export { y as default };

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