import{r as t,c as s,h as i,H as e}from"./p-93b809e8.js";const a=class{constructor(i){t(this,i),this.tabDisabled=s(this,"tabDisabled",7),this.numberElement=null,this.label=null,this.disable=!1,this.open=!1,this.dataTest=null}async reciveNumber(t){this.numberElement=t}disableChanged(){this.tabDisabled.emit({item:this.numberElement,disable:this.disable})}render(){return i(e,{class:{"is-open":!0!==this.disable&&this.open}},i("div",{class:{tab_item:!0},"data-test":this.dataTest},i("div",{class:{tab_item_content:!0,"tab_item_content--open":this.open}},i("slot",null))))}static get watchers(){return{disable:["disableChanged"]}}};a.style=":host{display:none}:host(.is-open){display:block;height:100%}.tab_item{height:100%}.tab_item_content{display:none;height:100%}.tab_item_content--open{display:block}";export{a as bds_tab_item}