import{a2 as a,e,T as s,o as t,h as n,w as i,i as l,k as c,F as r,l as m,a as d,A as u,j as o,t as x,z as p}from"./index-Dnh6GPlT.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=_({__name:"customerTab",props:{examineTabData:{type:Array,default:()=>[]},index:{type:Number,default:-1}},emits:["change"],setup(_,{emit:b}){const f=_,{examineTabData:h,index:v}=a(f),I=e({tabIndex:0}),k=b;return s((()=>v),((a,e)=>{a.value>-1&&(I.tabIndex=a.value)}),{immediate:!0}),(a,e)=>{const s=p;return t(),n(s,{class:"examine-search plr10"},{default:i((()=>[l(s,{class:"examine-search-list"},{default:i((()=>[(t(!0),c(r,null,m(d(h),((a,e)=>(t(),n(s,{class:u(["examine-search-list-item",e===I.tabIndex?"active":""]),key:"tab"+a.id,onClick:s=>((a,e)=>{I.tabIndex=e,a.index=e,k("change",a)})(a,e)},{default:i((()=>[l(s,{class:"name"},{default:i((()=>[o(x(a.name),1)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-094e37c1"]]);export{b as c};
