felicity-lims/felicity/templates/static/assets/SupplierAdmin-49efa847.js

2 lines
1.3 KiB
JavaScript
Raw Normal View History

import{d as m,r as d,D as f,o as a,c as n,b as r,F as v,p as y,y as h,f as t,i as k,t as x,q as o,x as i,j as c,_ as p,k as b}from"./index-2a6c9271.js";const g={class:"mt-4"},A={class:"bg-white shadow-md mt-2"},C={class:"-mb-px flex justify-start"},D=["onClick"],w=m({__name:"SupplierAdmin",setup(E){const u=c(()=>p(()=>import("./SuppliersListing-3e761940.js"),["assets/SuppliersListing-3e761940.js","assets/index-2a6c9271.js","assets/index-88806377.css","assets/instrument.mutations-484b91f1.js","assets/SuppliersListing-8d8b4931.css"])),l=c(()=>p(()=>import("./Manufacturers-4fea1892.js"),["assets/Manufacturers-4fea1892.js","assets/index-2a6c9271.js","assets/index-88806377.css","assets/instrument.mutations-484b91f1.js"]));let e=d("suppliers");const _=["suppliers","manufacturers"];return f(()=>"tab-"+e.value),(S,B)=>(a(),n("div",g,[r("nav",A,[r("div",C,[(a(),n(v,null,y(_,s=>r("a",{key:s,class:h(["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":t(e)===s}]),onClick:V=>k(e)?e.value=s:e=s},x(s),11,D)),64))])]),t(e)==="suppliers"?(a(),o(t(u),{key:0})):i("",!0),t(e)==="manufacturers"?(a(),o(t(l),{key:1})):i("",!0)]))}}),P=b(w,[["__file","/home/aurthur/Documents/Development/felicity-lims/webapp/views/admin/suppliers/SupplierAdmin.vue"]]);export{P as default};