felicity-lims/felicity/templates/static/assets/Manifest-94da6822.js
2024-11-01 08:48:45 +02:00

1 line
1.3 KiB
JavaScript

import{d as m,r as _,a_ as f,o as e,c as s,q as p,f as t,b as o,g as u,aP as h,j as y,_ as v,k as w}from"./index-e48f6898.js";import{u as b}from"./shipment-1c724af2.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),B={key:1,class:"mt-4 text-red-500"},D=m({__name:"Manifest",setup(A){const r=y(()=>v(()=>import("./FelLoadingMessage-df6010ac.js"),["assets/FelLoadingMessage-df6010ac.js","assets/index-e48f6898.js","assets/index-7d22ceed.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",B,"This shipment has no Manifest Report"))]))]))}}),R=w(D,[["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/views/shipment/_id/Manifest.vue"]]);export{R as default};