import{z as b,r as u,o as t,f as r,w as d,c as _,F as i,A as V}from"./index-ece68a0b.js";const v={__name:"BaseTabs",props:{tabs:{type:Array,default:[]},modelValue:{type:[String,Number]}},emits:["update:modelValue","tab-click"],setup(l,{emit:s}){const m=l,n=b({get:()=>m.modelValue,set:o=>s("update:modelValue",o)});return(o,a)=>{const c=u("el-tab-pane"),p=u("el-tabs");return t(),r(p,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:"demo-tabs",onTabClick:a[1]||(a[1]=({props:e})=>s("tab-click",e))},{default:d(()=>[(t(!0),_(i,null,V(l.tabs,e=>(t(),r(c,{label:e.label,name:e.name},null,8,["label","name"]))),256))]),_:1},8,["modelValue"])}}};export{v as _};
