import{r as e,c as s,h as t,H as a}from"./p-CjTHbolG.js";const o=()=>`verdocs-tabs{gap:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-tabs .tab{display:-ms-flexbox;display:flex;color:#111111;cursor:pointer;font-size:14px;font-weight:400;padding:5px 10px;-ms-flex-align:center;align-items:center;text-transform:none;-ms-flex-pack:center;justify-content:center;border-bottom:4px solid transparent}verdocs-tabs .tab:focus{border:none;outline:none}verdocs-tabs .tab.active{color:#000000;font-weight:500;border-bottom:4px solid #654dcb}verdocs-tabs .tab.disabled{color:#aaaaaa;cursor:default}`;const r=class{constructor(t){e(this,t);this.selectTab=s(this,"selectTab");this.tabs=[];this.selectedTab=0}handleSelectTab(e){var s;(s=this.selectTab)===null||s===void 0?void 0:s.emit({tab:this.tabs[e],index:e})}render(){return t(a,{key:"b78818a23892499517726f89f5cce6af6b7f42e1"},this.tabs.map(((e,s)=>t("div",{class:`tab ${s===this.selectedTab?"active":""} ${e.disabled?"disabled":""}`,onClick:e.disabled?()=>{}:()=>this.handleSelectTab(s)},e.label))),t("div",{key:"2105eefb878bc7237bd9c46d8533085d580b94f8",class:"flex flex-1"}),t("slot",{key:"c477b2f6880442e15bc3bc95f67dec12f1134074"},t("div",{key:"c6481423137eb98ee64cc9afedea6d43eca89b75"})))}};r.style=o();export{r as verdocs_tabs};
//# sourceMappingURL=p-0496538b.entry.js.map