const t=window.EdelElements.h;var s;!function(t){t.default="left",t.left="left",t.right="right"}(s||(s={}));class e{constructor(){this.active=!1,this.position=s.default}render(){return t("slot",null)}hostData(){return{class:"sidemenu"}}componentDidLoad(){var t;0==((t=this.position)===s.left||t===s.right)&&(this.position=s.default),this.shouldHaveClass("sidemenu--active",this.active),this.shouldHaveClass("sidemenu--left",this.position===s.left),this.shouldHaveClass("sidemenu--right",this.position===s.right)}shouldHaveClass(t,s){s?this.host.classList.add(t):this.host.classList.remove(t)}static get is(){return"edel-sidemenu"}static get properties(){return{active:{type:Boolean,attr:"active",watchCallbacks:["componentDidLoad"]},host:{elementRef:!0},position:{type:String,attr:"position",mutable:!0,watchCallbacks:["componentDidLoad"]}}}}export{e as EdelSidemenu};