mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 16:33:11 +08:00
1 line
1.3 KiB
JavaScript
1 line
1.3 KiB
JavaScript
import{d as m,r as _,a$ as f,o as e,c as s,A as p,f as t,b as o,g as u,aO as h,j as y,_ as v,k as w}from"./index-e62f5c21.js";import{u as b}from"./shipment-165f14c9.js";const g={class:"pt-4"},k={key:1},x={key:0,class:"flex justify-start mt-4 mr-4"},M={class:"mb-2 p-3 rounded-sm border w-96"},j={class:"flex justify-between items-center space-x-4"},C=o("p",null,"Manifest Report",-1),A={key:1,class:"mt-4 text-red-500"},B=m({__name:"Manifest",setup(D){const r=y(()=>v(()=>import("./FelLoadingMessage-b4229f94.js"),["assets/FelLoadingMessage-b4229f94.js","assets/index-e62f5c21.js","assets/index-332ec99e.css"])),c=_(!1),{shipment:n}=f(),{downloadManifest:d}=b(),l=async a=>await d(a);return(a,i)=>(e(),s("div",g,[c.value?(e(),p(t(r),{key:0,message:"Loading your manifest report ..."},null,8,["message"])):(e(),s("section",k,[t(n)?.jsonContent?(e(),s("div",x,[o("div",M,[o("div",j,[C,o("span",{class:"flex justify-center items-center animate-bounce h-8 w-8 rounded-full bg-white border border-gray-200 drop-shadow-sm",onClick:i[0]||(i[0]=E=>l(t(n).uid))},[u(t(h),{class:"text-blue-500",icon:"fa-download"})])])])])):(e(),s("div",A,"This shipment has no Manifest Report"))]))]))}}),S=w(B,[["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/views/shipment/_id/Manifest.vue"]]);export{S as default};
|