import{__awaiter,__generator}from"tslib";import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-4d3658f6.js";import{a as inheritTrackingAttributes}from"./attributes-f95bca13.js";var NavigationLevelBlockItem=function(){function t(t){registerInstance(this,t);this.balClick=createEvent(this,"balClick",7);this.inheritAttributes={};this.label="";this.value="block-value-".concat(navigationLevelBlockItemIds++);this.link=undefined;this.linkLabel=undefined;this.target="_self"}t.prototype.componentWillLoad=function(){this.inheritAttributes=inheritTrackingAttributes(this.el)};t.prototype.getLevelInfo=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){return[2,{type:"block-item",value:this.value,label:this.label,link:this.link,target:this.target,trackingData:this.inheritAttributes,onClick:function(e){return t.balClick.emit(e)}}]}))}))};t.prototype.render=function(){return h(Host,null,h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();var navigationLevelBlockItemIds=0;export{NavigationLevelBlockItem as bal_navigation_level_block_item};