import{l as e,x as t,o as a,h as s,w as i,a as l,i as n,g as o,r as c,F as d,n as r,T as u,K as v}from"./vendor-edc0678f.js";import{_ as p}from"./index-4c745ab9.js";const f={class:"tabContent"},m=p({__name:"index",props:{tabList:{type:Array,default:[]},active:{type:Number},lineWidth:{type:String,default:"16"},flexBetween:{type:Boolean,default:!1}},emits:["change"],setup(p,{emit:m}){const b=p,h=e(0),_=m,w=e=>{h.value=e.name};return t(h,e=>{_("change",h.value)}),(e,t)=>{const m=u,h=v;return a(),s(h,{active:b.active,onClickTab:w,"title-inactive-color":"#333","title-active-color":"#17AC74",color:"#17AC74","line-width":p.lineWidth,class:r(p.flexBetween?"betweenClass":"")},{default:i(()=>[(a(!0),l(d,null,n(b.tabList,(t,l)=>(a(),s(m,{key:l,title:t},{default:i(()=>[o("div",f,[c(e.$slots,"tabContent",{},void 0,!0)])]),_:2},1032,["title"]))),128))]),_:3},8,["active","line-width","class"])}}},[["__scopeId","data-v-d547d3fd"]]);export{m as T};
