mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 17:02:55 +08:00
1 line
6.6 KiB
JavaScript
1 line
6.6 KiB
JavaScript
import{d as f,r as u,z as v,o as m,c as x,b as t,g as o,G as r,y as c,f as s,e as a,E as l,R as d,Q as p,H as y,x as w,I as k,J as N,k as S}from"./index-e48f6898.js";const _=h=>(k("data-v-a1b5eca8"),h=h(),N(),h),A={class:"mx-auto flex flex-col items-center h-full"},C={class:"flex-none relative"},E={id:"aside-nav",class:"",role:"navigation"},I={class:"mr-4"},T={class:"tooltip"},B={class:"mr-4"},R={class:"tooltip"},P={class:"mr-4"},D={class:"tooltip"},M={class:"mr-4"},O={class:"tooltip"},V={class:"mr-4"},L={class:"tooltip"},Q={class:"mr-4"},F={class:"tooltip"},G={class:"mr-4"},H={class:"tooltip"},W={class:"mr-4"},q={class:"tooltip"},z={class:"mr-4"},K={class:"tooltip"},j={class:"mr-4"},J={class:"tooltip"},Y={class:"mr-4"},$={class:"tooltip"},U=_(()=>t("div",{class:"flex-grow"},null,-1)),X={key:0,id:"asideFooter",class:"flex-none bg-gray-700 text-center text-gray-100 p-4"},Z=_(()=>t("hr",null,null,-1)),tt=_(()=>t("span",null,"© 2023 ",-1)),et=_(()=>t("hr",null,null,-1)),ot=f({__name:"NavigationAside",setup(h){let e=u(!1);function b(){e.value=!e.value}return(st,g)=>{const i=v("font-awesome-icon"),n=v("router-link");return m(),x("div",A,[t("div",C,[t("div",{class:"absolute -right-6 top-2 text-2xl cursor-pointer",onClick:g[0]||(g[0]=at=>b())},[o(i,{icon:"bars"})]),o(n,{to:"/",id:"brand",class:"flex items-center md:w-auto pl-6 pt-2 pb-1 text-white"},{default:r(()=>[o(i,{icon:"meteor",class:"text-3xl"}),t("h1",{class:c(["text-left text-2xl font-medium mx-2 transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])}," Felicity",2)]),_:1}),t("nav",E,[a(o(n,{to:"/dashboard",id:"dashboard-link",class:"flex items-center has-tooltip mt-1 p-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",I,[o(i,{icon:"tachometer-alt"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Dashboard",2),a(t("span",T,"Dashboard",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.DASHBOARD)]]),a(o(n,{to:"/patients-compact",id:"patients-compact-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",B,[o(i,{icon:"bullseye"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Compact",2),a(t("span",R,"Compact",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.PATIENTS_COMPACT)]]),a(o(n,{to:"/patients",id:"patients-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",P,[o(i,{icon:"user-injured"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Patients",2),a(t("span",D,"Patients",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.PATIENTS)]]),a(o(n,{to:"/clients",id:"clients-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",M,[o(i,{icon:"clinic-medical"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Clients",2),a(t("span",O,"Clients",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.CLIENTS)]]),a(o(n,{to:"/samples",id:"samples-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",V,[o(i,{icon:"vial"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Samples",2),a(t("span",L,"Samples",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.SAMPLES)]]),a(o(n,{to:"/worksheets",id:"worksheets-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",Q,[o(i,{icon:"grip-vertical"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"WorkSheets",2),a(t("span",F,"WorkSheets",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.WORKSHEETS)]]),a(o(n,{to:"/quality-control",id:"quality-control-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",G,[o(i,{icon:"anchor"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"QControl",2),a(t("span",H,"QControl",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.QC_SAMPLES)]]),a(o(n,{to:"/notice-manager",id:"notice-manager-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",W,[o(i,{icon:"bell"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"NoticeManager",2),a(t("span",q,"NoticeManager",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.NOTICE_MANAGER)]]),a(o(n,{to:"/bio-banking",id:"bio-banking-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",z,[o(i,{icon:"database"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"BioBanking",2),a(t("span",K,"BioBanking",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.BIO_BANKING)]]),a(o(n,{to:"/shipments",id:"shipments-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",j,[o(i,{icon:"truck"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Referrals",2),a(t("span",J,"Referrals",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.REFERRAL)]]),a(o(n,{to:"/inventory",id:"inventory-link",class:"flex items-center has-tooltip mt-1 py-2 px-6 text-gray-100 hover:bg-gray-800 hover:bg-opacity-25 hover:text-white border-l-4 border-gray-800"},{default:r(()=>[t("span",Y,[o(i,{icon:"fa-solid fa-boxes-stacked"})]),t("span",{class:c([" transition-all duration-500",s(e)?"scale-100":"scale-0 w-0 overflow-hidden"])},"Inventory",2),a(t("span",$,"Inventory",512),[[l,!s(e)]])]),_:1},512),[[l,d(p.INVENTORY)]])])]),U,s(e)?(m(),x("footer",X,[Z,tt,y("| "),o(n,{to:"/about",class:"text-gray-200"},{default:r(()=>[y(" About")]),_:1}),et])):w("",!0)])}}});const it=S(ot,[["__scopeId","data-v-a1b5eca8"],["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/components/nav/NavigationAside.vue"]]);export{it as default};
|