import{_ as b,a0 as k,o as c,c as o,d as i,e as l,u as r,I as v,H as f,O as N,n as g,f as C,t as S}from"./index-4e8c1b57.js";const y={class:"nav-tabs"},h={class:"nav-tabs-list"},T=["onClick"],x={__name:"NavTabs",props:{tabs:Array,activeStep:Number},emits:["change"],setup(e,{emit:d}){const p=e,_=d,m=k();m.isHeaderSticky=!1;function n(a){a<0||a>=p.tabs.length||_("change",a)}return(a,s)=>(c(),o("nav",y,[i("ul",h,[i("span",{class:"nav-prev",onClick:s[0]||(s[0]=t=>n(e.activeStep-1))},[l(r(v),{icon:"mdi:skip-previous",inline:"true"})]),(c(!0),o(f,null,N(e.tabs,(t,u)=>(c(),o("li",{class:g(["nav-tab",{active:e.activeStep===u}]),key:t.value,onClick:B=>n(u)},[l(r(v),{icon:t.icon,inline:"true"},null,8,["icon"]),C(S(t.label),1)],10,T))),128)),i("span",{class:"nav-next",onClick:s[1]||(s[1]=t=>n(e.activeStep+1))},[l(r(v),{icon:"mdi:skip-next",inline:"true"})])])]))}},V=b(x,[["__scopeId","data-v-12a542dc"]]);export{V as N};