mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 08:53:00 +08:00
1 line
1.3 KiB
JavaScript
1 line
1.3 KiB
JavaScript
import{d as f,l as m,M as p,N as h,D as x,o,c as a,b as e,F as n,p as y,g as b,G as l,t as s,H as w,f as N,j as g,_ as v,k as A}from"./index-e48f6898.js";const D=e("h1",{class:"text-xl text-gray-700 font-semibold my-2"},"Notice Board",-1),S={class:"flex justify-start w-full bg-white p-2"},j={class:"w-full"},k={class:"flex justify-between w-full"},B={class:""},V={class:"inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-white bg-gray-600 rounded-full"},C={class:"ml-4"},E={class:"text-sm font-semibold italic text-orange-600"},M=f({__name:"Notice",setup(F){const r=g(()=>v(()=>import("./FelAccordion-a82a10ed.js"),["assets/FelAccordion-a82a10ed.js","assets/index-e48f6898.js","assets/index-7d22ceed.css"])),u=m(),c=p();h(()=>{const i=u.auth?.user;c.fetchMyNotices(i?.uid)});const d=x(()=>c.getActiveNotices);return(i,L)=>(o(),a(n,null,[D,e("section",S,[e("ul",j,[(o(!0),a(n,null,y(d.value,(t,_)=>(o(),a("li",{key:t.uid,class:"w-full mb-2"},[b(N(r),{class:"w-full"},{title:l(()=>[e("div",k,[e("div",B,[e("span",V,s(_+1),1),e("span",C,s(t.title),1)]),e("div",E,s(t.status),1)])]),body:l(()=>[w(s(t.body),1)]),_:2},1024)]))),128))])])],64))}}),T=A(M,[["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/views/dashboard/Notice.vue"]]);export{T as default};
|