import{u as x}from"./use-meta.97669149.js";import{_,r as w,o as y,a as f,b as a,c as o,d as t,e as r,f as l,w as d,g as c,u as g,h as v}from"./main.84523976.js";const k={class:"layout-px-spacing"},B={class:"row layout-top-spacing"},C={class:"col-xl-12 col-lg-12 col-sm-12 layout-spacing"},V={class:"panel p-5"},j={class:"row justify-content-center"},N={class:"col-md-8 text-center"},S={class:"welcome-content"},P={class:"row mt-5"},I={key:0,class:"col-md-4 mb-4"},M={class:"card h-100 text-center"},A={class:"card-body"},G={key:1,class:"col-md-4 mb-4"},R={class:"card h-100 text-center"},z={class:"card-body"},E={key:2,class:"col-md-4 mb-4"},L={class:"card h-100 text-center"},T={class:"card-body"},q={__name:"index",setup(D){x({title:"Bienvenido"});const{loadPermissions:u,hasPermission:b,hasAnyPermission:m}=g(),n=w(!1),p=s=>n.value?b(s):!1,h=s=>n.value?m(s):!1;return y(async()=>{await u(),n.value=!0}),(s,e)=>{const i=f("router-link");return a(),o("div",k,[t("div",B,[t("div",C,[t("div",V,[t("div",j,[t("div",N,[t("div",S,[e[6]||(e[6]=r('<div class="welcome-icon mb-4" data-v-b134a552><svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-truck text-primary" data-v-b134a552><rect x="1" y="3" width="15" height="13" data-v-b134a552></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8" data-v-b134a552></polygon><circle cx="5.5" cy="18.5" r="2.5" data-v-b134a552></circle><circle cx="18.5" cy="18.5" r="2.5" data-v-b134a552></circle></svg></div><h2 class="mb-3" data-v-b134a552>Bienvenido al Sistema de Control de Salidas</h2><p class="lead text-muted mb-4" data-v-b134a552> Sistema de gesti\xF3n para el control de salidas de volteos </p>',3)),t("div",P,[p("operaciones.generar")?(a(),o("div",I,[t("div",M,[t("div",A,[e[1]||(e[1]=r('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus-circle text-primary mb-3" data-v-b134a552><circle cx="12" cy="12" r="10" data-v-b134a552></circle><line x1="12" y1="8" x2="12" y2="16" data-v-b134a552></line><line x1="8" y1="12" x2="16" y2="12" data-v-b134a552></line></svg><h5 class="card-title" data-v-b134a552>Generar Boleto</h5><p class="card-text text-muted" data-v-b134a552>Crea nuevos boletos de salida</p>',3)),l(i,{to:"/boletos/generar",class:"btn btn-primary btn-sm"},{default:d(()=>[...e[0]||(e[0]=[v(" Ir a Generar ",-1)])]),_:1})])])])):c("",!0),p("operaciones.verificar")?(a(),o("div",G,[t("div",R,[t("div",z,[e[3]||(e[3]=r('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle text-success mb-3" data-v-b134a552><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14" data-v-b134a552></path><polyline points="22 4 12 14.01 9 11.01" data-v-b134a552></polyline></svg><h5 class="card-title" data-v-b134a552>Verificar Boleto</h5><p class="card-text text-muted" data-v-b134a552>Valida boletos en el punto de salida</p>',3)),l(i,{to:"/boletos/verificar",class:"btn btn-success btn-sm"},{default:d(()=>[...e[2]||(e[2]=[v(" Ir a Verificar ",-1)])]),_:1})])])])):c("",!0),h(["reportes.consultar","reportes.consultar_propios"])?(a(),o("div",E,[t("div",L,[t("div",T,[e[5]||(e[5]=r('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2 text-info mb-3" data-v-b134a552><line x1="18" y1="20" x2="18" y2="10" data-v-b134a552></line><line x1="12" y1="20" x2="12" y2="4" data-v-b134a552></line><line x1="6" y1="20" x2="6" y2="14" data-v-b134a552></line></svg><h5 class="card-title" data-v-b134a552>Reportes</h5><p class="card-text text-muted" data-v-b134a552>Consulta reportes y estad\xEDsticas</p>',3)),l(i,{to:"/reportes/salidas",class:"btn btn-info btn-sm"},{default:d(()=>[...e[4]||(e[4]=[v(" Ver Reportes ",-1)])]),_:1})])])])):c("",!0)]),e[7]||(e[7]=t("div",{class:"mt-5"},[t("p",{class:"text-muted"},[t("small",null,"Selecciona una opci\xF3n del men\xFA lateral para comenzar")])],-1))])])])])])])])}}},J=_(q,[["__scopeId","data-v-b134a552"]]);export{J as default};
