const t=window.EdelElements.h;class e{constructor(){this.center=!0,this.full=!1,this.demo=!1}render(){return t("div",{class:this.full?"modal-page":"modal-window"},t("slot",null))}hostData(){return{class:"modal"}}componentDidLoad(){this.demo&&this.hostElement.classList.add("modal--demo"),this.full?this.hostElement.classList.add("modal--full"):(this.hostElement.classList.remove("modal--full"),this.center?this.hostElement.classList.add("modal--center"):this.hostElement.classList.remove("modal--center"))}static get is(){return"edel-modal"}static get properties(){return{center:{type:Boolean,attr:"center",watchCallbacks:["componentDidLoad"]},demo:{type:Boolean,attr:"demo",watchCallbacks:["componentDidLoad"]},full:{type:Boolean,attr:"full",watchCallbacks:["componentDidLoad"]},hostElement:{elementRef:!0}}}}export{e as EdelModal};