import{h}from"../edel-elements.core.js";var EdelModalComponent=function(){function e(){this.center=!0,this.full=!1,this.demo=!1}return e.prototype.render=function(){return h("div",{class:this.full?"modal-page":"modal-window"},h("slot",null))},e.prototype.hostData=function(){return{class:"modal"}},e.prototype.componentDidLoad=function(){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"))},Object.defineProperty(e,"is",{get:function(){return"edel-modal"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){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}}},enumerable:!0,configurable:!0}),e}();export{EdelModalComponent as EdelModal};