felicity-lims/felicity/templates/static/assets/ShipmentDetail-cb6c4b92.js

1 line
2.3 KiB
JavaScript

import{_ as n,aj as g}from"./billing-356772f3.js";import{f as y,G as o,r as k,d as m,h as s,k as _,x as r,y as i,F as S,ak as x,s as D,u as e,i as b,D as E,j as l,_ as C}from"./_plugin-vue_export-helper-3f67fb71.js";const A={class:""},I={class:"col-span-12"},L={class:"bg-white shadow-md mt-2"},T={class:"-mb-px flex justify-start"},V=["onClick"],w=y({__name:"ShipmentDetail",setup(P){const c=o(()=>n(()=>import("./ShipmentAssign-0df0962c.js"),["assets/ShipmentAssign-0df0962c.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/Button-dc046b43.js","assets/shipment-2ef796e7.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),d=o(()=>n(()=>import("./ShipmentSamples-43a6f289.js"),["assets/ShipmentSamples-43a6f289.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/index-3189f120.js","assets/runtime-dom.esm-bundler-6e07ef74.js","assets/index-5bee2eb9.css","assets/shipment-2ef796e7.js"])),u=o(()=>n(()=>import("./Manifest-654712b9.js"),["assets/Manifest-654712b9.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/shipment-2ef796e7.js","assets/index-3189f120.js","assets/runtime-dom.esm-bundler-6e07ef74.js","assets/index-5bee2eb9.css"])),f=o(()=>n(()=>import("./AuditLog-4ad6be59.js"),["assets/AuditLog-4ad6be59.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js"]));let h=g(),t=k("detail");const p=m(()=>h.getShipment),v=m(()=>["preperation","empty"].includes(p.value?.state??"")?["detail","assign-samples","logs"]:["detail","manifest","logs"]);return(R,B)=>(s(),_("div",A,[r("section",I,[i(" Sample and Case Data "),r("nav",L,[r("div",T,[(s(!0),_(S,null,x(e(v),a=>(s(),_("a",{key:a,class:D(["no-underline text-gray-500 uppercase tracking-wide font-bold text-xs py-1 px-4 tab hover:bg-sky-600 hover:text-gray-200",{"tab-active":e(t)===a}]),onClick:O=>b(t)?t.value=a:t=a},E(a),11,V))),128))])]),r("div",null,[e(t)==="detail"?(s(),l(e(d),{key:0})):i("v-if",!0),e(t)==="assign-samples"?(s(),l(e(c),{key:1})):i("v-if",!0),e(t)==="manifest"?(s(),l(e(u),{key:2})):i("v-if",!0),e(t)==="logs"?(s(),l(e(f),{key:3,targetType:"shipment",targetId:e(p)?.uid},null,8,["targetId"])):i("v-if",!0)])])]))}}),N=C(w,[["__file","/home/aurthurm/Development/felicity-lims/webapp/views/shipment/_id/ShipmentDetail.vue"]]);export{N as default};