import{__awaiter,__generator}from"tslib";import{H as registerInstance,P as createEvent,M as h,N as Host,O as getElement}from"./index-BD2o1F4P.js";import{a as inheritTrackingAttributes}from"./attributes-C4sZQbkT.js";var StepItem=function(){function t(t){registerInstance(this,t);this.balNavigate=createEvent(this,"balNavigate");this.inheritAttributes={};this.isActive=false;this.active=false;this.value="";this.label="";this.href="";this.target="_self";this.disabled=false;this.done=false;this.invisible=false;this.failed=false;this.prevent=false}t.prototype.componentWillLoad=function(){this.inheritAttributes=inheritTrackingAttributes(this.el)};t.prototype.getOptions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.options]}))}))};t.prototype.setActive=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isActive=t;return[2]}))}))};Object.defineProperty(t.prototype,"options",{get:function(){return{value:this.value,label:this.label,href:this.href,rel:this.rel,target:this.target,active:this.active,disabled:this.disabled,done:this.done,invisible:this.invisible,failed:this.failed,passed:false,prevent:this.prevent,navigate:this.balNavigate,trackingData:this.inheritAttributes}},enumerable:false,configurable:true});t.prototype.render=function(){return h(Host,{key:"2345808b69d02adaa4c8398e9826accb724f0571",role:"tabpanel",class:{"bal-step-item":true,"bal-step-item--active":this.isActive}},h("slot",{key:"a79cdedd49fdac1b556a92e5c905b124a9583128"}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();export{StepItem as bal_step_item};