import{d as _,j as d,e as f,b as a,w as l,m,r as c,o as r,F as h,p as N,v as $,c as x,f as V,t as y,_ as C}from"./index-BHjuZsvK.js";import{C as v}from"./CopyableId-DAfcRbju.js";const D={class:"version-nav mb-4"},g={class:"id-bar d-flex align-center ga-4 mb-2"},k=_({__name:"VersionNavTabs",props:{modelId:{},versionId:{}},setup(s){const e=s,u=$(),n=m(()=>[{title:"Dashboard",icon:"mdi-view-dashboard-outline",routeName:"dashboard",to:`/models/${e.modelId}/versions/${e.versionId}/dashboard`},{title:"Compare",icon:"mdi-compare",routeName:"comparison",to:`/models/${e.modelId}/versions/${e.versionId}/compare`},{title:"Drift",icon:"mdi-chart-timeline-variant-shimmer",routeName:"version-drift-results",to:`/models/${e.modelId}/versions/${e.versionId}/drift`},{title:"Jobs",icon:"mdi-timer-sync-outline",routeName:"version-jobs",to:`/models/${e.modelId}/versions/${e.versionId}/jobs`},{title:"Schema",icon:"mdi-file-tree",routeName:"version-schema",to:`/models/${e.modelId}/versions/${e.versionId}/schema`}]),p=m(()=>{const t=n.value.findIndex(i=>i.routeName===u.name);return t>=0?t:0});return(t,i)=>{const b=c("v-tab"),I=c("v-tabs");return r(),d("div",D,[f("div",g,[a(v,{label:"Model ID",value:s.modelId},null,8,["value"]),a(v,{label:"Version ID",value:s.versionId},null,8,["value"])]),a(I,{"model-value":p.value,color:"primary",density:"comfortable"},{default:l(()=>[(r(!0),d(h,null,N(n.value,o=>(r(),x(b,{key:o.routeName,to:o.to,"prepend-icon":o.icon,class:"nav-tab"},{default:l(()=>[V(y(o.title),1)]),_:2},1032,["to","prepend-icon"]))),128))]),_:1},8,["model-value"])])}}}),j=C(k,[["__scopeId","data-v-660abd22"]]);export{j as V};
