import{h}from"../edel-elements.core.js";var EdelMenuComponent=function(){function e(){this.uppercase=!1,this.highlight=!1,this.full=!1,this.hasIcon=!1,this.plain=!1,this.isHeader=!1}return e.prototype.render=function(){return h("slot",null)},e.prototype.hostData=function(){return{class:"menu"}},e.prototype.componentDidLoad=function(){this.getClass()},e.prototype.getClass=function(){this.shouldHaveClass("menu--has-uppercase",this.uppercase),this.shouldHaveClass("menu--highlight",this.highlight),this.shouldHaveClass("menu--full",this.full),this.shouldHaveClass("menu--has-icon",this.hasIcon),this.shouldHaveClass("menu--plain",this.plain),this.shouldHaveClass("menu--is-header",this.isHeader)},e.prototype.shouldHaveClass=function(e,t){t?this.hostElement.classList.add(e):this.hostElement.classList.remove(e)},Object.defineProperty(e,"is",{get:function(){return"edel-menu"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{full:{type:Boolean,attr:"full",watchCallbacks:["getClass"]},hasIcon:{type:Boolean,attr:"has-icon",watchCallbacks:["getClass"]},highlight:{type:Boolean,attr:"highlight",watchCallbacks:["getClass"]},hostElement:{elementRef:!0},isHeader:{type:Boolean,attr:"is-header",watchCallbacks:["getClass"]},plain:{type:Boolean,attr:"plain",watchCallbacks:["getClass"]},uppercase:{type:Boolean,attr:"uppercase",watchCallbacks:["getClass"]}}},enumerable:!0,configurable:!0}),e}();export{EdelMenuComponent as EdelMenu};