import{r as t,h as i,H as e,g as s}from"./p-afb110dc.js";const a=class{constructor(i){t(this,i),this.isContentHidden=!0,this.value="",this.label="",this.bubble=!1,this.disabled=!1,this.done=!1,this.failed=!1,this.active=!1}activatedHandler(t){this.isContentHidden=!t}informParent(){this.parent.sync()}async getOptions(){return this.options}async setActive(t){this.active=t}get options(){return{value:this.value,label:this.label,active:this.active,disabled:this.disabled,done:this.done,failed:this.failed,hasBubble:this.bubble}}get parent(){return this.element.closest("bal-tabs")}componentWillLoad(){this.isContentHidden=!this.active}render(){return i(e,null,i("div",{style:this.isContentHidden&&{display:"none"}},i("slot",null)))}get element(){return s(this)}static get watchers(){return{active:["activatedHandler","informParent"],value:["informParent"],bubble:["informParent"],disabled:["informParent"],label:["informParent"],done:["informParent"],failed:["informParent"]}}};a.style=".sc-bal-tab-item-h{display:block;position:static}";export{a as bal_tab_item}