import{_ as m,u,r as _,o as x,a as w,b as s,c as o,d as t,e as d,f as n,w as i,g as c,h as g,i as l}from"./main.37e79106.js";const b={class:"layout-px-spacing"},y={class:"row layout-top-spacing"},k={class:"col-xl-12 col-lg-12 col-sm-12 layout-spacing"},B={class:"panel p-5"},C={class:"row justify-content-center"},M={class:"col-md-8 text-center"},V={class:"welcome-content"},j={class:"row mt-5"},N={key:0,class:"col-md-4 mb-4"},P={class:"card h-100 text-center lavanderia-panel"},S={class:"card-body"},A={key:1,class:"col-md-4 mb-4"},H={class:"card h-100 text-center lavanderia-panel"},I={class:"card-body"},R={key:2,class:"col-md-4 mb-4"},D={class:"card h-100 text-center lavanderia-panel"},L={class:"card-body"},O={__name:"index",setup(z){u({title:"Bienvenido"});const{loadPermissions:f,hasPermission:h,hasAnyPermission:E}=g(),v=_(!1),a=p=>v.value?h(p):!1;return x(async()=>{await f(),v.value=!0}),(p,e)=>{const r=w("router-link");return s(),o("div",b,[t("div",y,[t("div",k,[t("div",B,[t("div",C,[t("div",M,[t("div",V,[e[8]||(e[8]=d('<div class="welcome-icon mb-4" data-v-e429fcf6><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-e429fcf6><rect x="1" y="3" width="15" height="13" data-v-e429fcf6></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8" data-v-e429fcf6></polygon><circle cx="5.5" cy="18.5" r="2.5" data-v-e429fcf6></circle><circle cx="18.5" cy="18.5" r="2.5" data-v-e429fcf6></circle></svg></div><h2 class="mb-3" data-v-e429fcf6>Bienvenido al Sistema de Gesti\xF3n de Lavander\xEDa</h2><p class="lead text-muted mb-4" data-v-e429fcf6> Sistema de control interno para gesti\xF3n de lavander\xEDa </p>',3)),t("div",j,[a("lavanderia.recepcion")||a("dashboard.ver")?(s(),o("div",N,[t("div",P,[t("div",S,[e[1]||(e[1]=d('<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-wind text-primary mb-3" data-v-e429fcf6><path d="M17.7 7.7a2.5 2.5 0 1 1 1.8 4.3H2" data-v-e429fcf6></path><path d="M9.6 4.6A2 2 0 1 1 11 8H2" data-v-e429fcf6></path><path d="M12.6 19.4A2 2 0 1 0 14 16H2" data-v-e429fcf6></path></svg><h5 class="card-title" data-v-e429fcf6>Recepci\xF3n</h5><p class="card-text text-muted" data-v-e429fcf6>Registra nuevas \xF3rdenes de lavander\xEDa</p>',3)),n(r,{to:"/lavanderia/recepcion",class:"btn btn-primary btn-sm"},{default:i(()=>[...e[0]||(e[0]=[l(" Ir a Recepci\xF3n ",-1)])]),_:1})])])])):c("",!0),a("dashboard.ver")||a("lavanderia.dashboard")?(s(),o("div",A,[t("div",H,[t("div",I,[e[3]||(e[3]=t("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-activity text-success mb-3"},[t("polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12"})],-1)),e[4]||(e[4]=t("h5",{class:"card-title"},"Dashboard Sem\xE1foro",-1)),e[5]||(e[5]=t("p",{class:"card-text text-muted"},"Monitoreo en tiempo real tipo sem\xE1foro",-1)),n(r,{to:"/lavanderia/dashboard",class:"btn btn-success btn-sm"},{default:i(()=>[...e[2]||(e[2]=[l(" Ver Dashboard ",-1)])]),_:1})])])])):c("",!0),a("lavanderia.operador")||a("dashboard.ver")?(s(),o("div",R,[t("div",D,[t("div",L,[e[7]||(e[7]=d('<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-play-circle text-info mb-3" data-v-e429fcf6><circle cx="12" cy="12" r="10" data-v-e429fcf6></circle><polyline points="10 8 16 12 10 16 10 8" data-v-e429fcf6></polyline></svg><h5 class="card-title" data-v-e429fcf6>Operador</h5><p class="card-text text-muted" data-v-e429fcf6>Panel de operador para \xE1reas de proceso</p>',3)),n(r,{to:"/lavanderia/operador/lavado",class:"btn btn-info btn-sm"},{default:i(()=>[...e[6]||(e[6]=[l(" Ir a Operador ",-1)])]),_:1})])])])):c("",!0)]),e[9]||(e[9]=t("div",{class:"mt-5"},[t("p",{class:"text-muted"},[t("small",null,"Selecciona una opci\xF3n del men\xFA lateral para comenzar")])],-1))])])])])])])])}}},T=m(O,[["__scopeId","data-v-e429fcf6"]]);export{T as default};
