import{d as l,o as t,c as o,F as r,e as c,n as d,q as f,t as m,aJ as p,_ as u}from"./index-DO6SfH87.js";const C={class:"horizontal-tab"},b=["onClick"],v=l({__name:"index",props:{tabs:{},activeTab:{},minWidth:{default:80},bgColor:{default:"#F7F9FC"},activeColor:{default:"#EAF1FF"},textColor:{default:"#4E5969"},activeTextColor:{default:"#409EFF"},gap:{default:8},borderRadius:{default:"6px"},fontSize:{default:"14px"}},emits:["tab-change"],setup(h,{emit:s}){p(e=>({c694edfa:e.gap+"px","5a11a2ca":e.borderRadius,"335cc448":e.fontSize,"00f3ceca":e.textColor,"5d8c689c":e.bgColor,"4c7bff91":e.activeColor,"19df9138":e.activeTextColor}));const i=s,n=e=>{i("tab-change",e)};return(e,F)=>(t(),o("div",C,[(t(!0),o(r,null,c(e.tabs,a=>(t(),o("div",{key:a.name,class:d(["tab-item",{active:e.activeTab===a.name}]),style:f({minWidth:`${e.minWidth}px`}),onClick:g=>n(a.name)},m(a.title),15,b))),128))]))}}),k=u(v,[["__scopeId","data-v-fb06d7ef"]]);export{k as H};
