import{r as registerInstance,c as createEvent,h,H as Host}from"./index-CjTHbolG.js";var verdocsTabsCss=function(){return'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}'};var VerdocsTabs=function(){function e(e){registerInstance(this,e);this.selectTab=createEvent(this,"selectTab");this.tabs=[];this.selectedTab=0}e.prototype.handleSelectTab=function(e){var t;(t=this.selectTab)===null||t===void 0?void 0:t.emit({tab:this.tabs[e],index:e})};e.prototype.render=function(){var e=this;return h(Host,{key:"b78818a23892499517726f89f5cce6af6b7f42e1"},this.tabs.map((function(t,s){return h("div",{class:"tab ".concat(s===e.selectedTab?"active":""," ").concat(t.disabled?"disabled":""),onClick:t.disabled?function(){}:function(){return e.handleSelectTab(s)}},t.label)})),h("div",{key:"2105eefb878bc7237bd9c46d8533085d580b94f8",class:"flex flex-1"}),h("slot",{key:"c477b2f6880442e15bc3bc95f67dec12f1134074"},h("div",{key:"c6481423137eb98ee64cc9afedea6d43eca89b75"})))};return e}();VerdocsTabs.style=verdocsTabsCss();export{VerdocsTabs as verdocs_tabs};
//# sourceMappingURL=verdocs-tabs.entry.js.map