mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 17:02:55 +08:00
1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
import{_ as m,w as mt,t as yt,n as ht,aT as bt,aU as gt,aV as ft,aW as xt,q as vt}from"./billing-356772f3.js";import{f as kt,G as y,r as v,c as D,d as k,h as i,k as l,x as t,F as b,ak as f,j as I,A,al as wt,D as a,s as L,u as e,y as u,i as P,B as g,ag as c,_ as Ut}from"./_plugin-vue_export-helper-3f67fb71.js";import{v as h,d as C,e as R,a as K}from"./runtime-dom.esm-bundler-6e07ef74.js";const At={class:""},St={class:"container w-full my-4"},Vt=t("hr",null,null,-1),Ct=t("hr",null,null,-1),Mt=t("hr",null,null,-1),Et={class:"grid grid-cols-12 gap-4 mt-2"},Tt={class:"col-span-2 overflow-y-scroll overscroll-contain analyses-scroll bg-white p-1"},Dt={class:"w-full"},It=["onClick"],Lt={class:"flex-grow p-1"},Pt=t("span",{class:"text-sm text-gray-500"},null,-1),Rt={key:0,class:"col-span-10"},Ot={class:"bg-white rounded-sm shadow-sm hover:shadow-lg duration-500 px-4 sm:px-6 md:px-2 py-4"},Nt={class:"grid grid-cols-12 gap-3"},Ft={class:"sm:col-span-2 text-center hidden sm:block"},jt={class:"grid grid-rows-2 mx-auto mb-1 py-3 w-4/5 2lg:w-3/5 rounded-sm bg-sky-800"},Kt=t("p",{class:"font-bold"},"KEYWORD",-1),qt=t("div",{class:"inline-block font-medium text-2xl text-white"},[t("i",{class:"fa fa-exclamation-circle"})],-1),$t={class:"inline-block font-medium text-white text-md mt-2"},Bt={class:"col-span-12 sm:col-start-3 sm:col-end-13 px-3 sm:px-0"},Yt={class:"flex justify-between sm:text-sm md:text-md lg:text-lg text-gray-700 font-bold"},Gt=t("svg",{class:"w-4 h-4 fill-current",viewBox:"0 0 20 20"},[t("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"})],-1),zt=[Gt],Wt=t("hr",null,null,-1),Qt={class:"grid grid-cols-2 mt-2"},Ht={class:"col-span-1"},Jt={class:"flex"},Xt=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Category:",-1),Zt={class:"text-gray-600 text-md"},ts={class:"flex"},ss=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Unit:",-1),es={class:"text-gray-600 text-md"},os={class:"flex"},ns=t("span",{class:"text-gray-600 text-md font-bold w-52"},"SortKey:",-1),is={class:"text-gray-600 text-md"},ls={class:"flex mt-2"},as=t("span",{class:"text-gray-600 text-md font-bold w-52"},"TAT (minutes):",-1),ds={class:"text-gray-600 text-md mr-2"},rs={class:"flex mt-2"},cs=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Precision (decimals):",-1),us={class:"text-gray-600 text-md mr-2"},ps={class:"col-span-1"},_s={class:"col-span-2 flex mt-2"},ms=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Methods:",-1),ys={class:"text-gray-600 text-md mr-2"},hs={class:"col-span-2 flex mt-2"},bs=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Sample Types:",-1),gs={class:"text-gray-600 text-md mr-2"},fs={class:"flex mt-2"},xs=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Required verifications:",-1),vs={class:"text-gray-600 text-md mr-2"},ks={class:"col-span-4 flex mt-2"},ws=t("span",{class:"text-gray-600 text-md font-bold w-52"},"Allow self-verification:",-1),Us={class:"text-gray-600 text-md mr-2"},As={class:"bg-white shadow-md mt-2"},Ss={class:"-mb-px flex justify-start"},Vs=["onClick"],Cs={class:"mt-2 p-2 bg-white"},Ms={key:0},Es=t("h3",null,"General",-1),Ts=t("hr",null,null,-1),Ds=t("input",{type:"text"},null,-1),Is=[Es,Ts,Ds],Ls={key:1},Ps={key:2},Rs={key:3},Os={key:4},Ns={key:5},Fs={key:6},js={key:7},Ks={class:"flex justify-between items-center mb-2"},qs=t("h3",null,"Concept Mappings",-1),$s=t("hr",null,null,-1),Bs={class:"overflow-x-auto mt-4"},Ys={class:"align-middle inline-block min-w-full shadow overflow-hidden bg-white shadow-dashboard px-2 pt-1 rounded-bl-lg rounded-br-lg"},Gs={class:"min-w-full"},zs=t("thead",null,[t("tr",null,[t("th",{class:"px-1 py-1 border-b-2 border-gray-300 text-left text-sm leading-4 text-gray-800 tracking-wider"},"Coding Standard"),t("th",{class:"px-1 py-1 border-b-2 border-gray-300 text-left text-sm leading-4 text-gray-800 tracking-wider"},"Name"),t("th",{class:"px-1 py-1 border-b-2 border-gray-300 text-left text-sm leading-4 text-gray-800 tracking-wider"},"Code"),t("th",{class:"px-1 py-1 border-b-2 border-gray-300 text-left text-sm leading-4 text-gray-800 tracking-wider"},"Description"),t("th",{class:"px-1 py-1 border-b-2 border-gray-300"})])],-1),Ws={class:"bg-white"},Qs={class:"px-1 py-1 whitespace-no-wrap border-b border-gray-500"},Hs={class:"flex items-center"},Js={class:"text-sm leading-5 text-gray-800"},Xs={class:"px-1 py-1 whitespace-no-wrap border-b border-gray-500"},Zs={class:"text-sm leading-5 text-sky-800"},te={class:"px-1 py-1 whitespace-no-wrap border-b border-gray-500"},se={class:"text-sm leading-5 text-sky-800"},ee={class:"px-1 py-1 whitespace-no-wrap border-b border-gray-500"},oe={class:"text-sm leading-5 text-sky-800"},ne={class:"px-1 py-1 whitespace-no-wrap text-right border-b border-gray-500 text-sm leading-5"},ie=["onClick"],le={key:8},ae={key:9},de=t("h3",null,"Unknown Tab",-1),re={action:"post",class:"p-1"},ce={class:"grid grid-cols-6 gap-x-4 mb-4"},ue={class:"block col-span-4 mb-2"},pe=t("span",{class:"text-gray-700"},"Analysis Service Name",-1),_e={class:"block col-span-1 mb-2"},me=t("span",{class:"text-gray-700"},"keyword",-1),ye={class:"block col-span-1 mb-2"},he=t("span",{class:"text-gray-700"},"Unit",-1),be=t("option",null,null,-1),ge=["value"],fe={class:"block col-span-3 mb-2"},xe=t("span",{class:"text-gray-700"},"Sample Types",-1),ve={class:"block col-span-3 mb-2"},ke=t("span",{class:"text-gray-700"},"Methods",-1),we={class:"block col-span-6 mb-2"},Ue=t("span",{class:"text-gray-700"},"Description",-1),Ae={class:"block col-span-2 mb-2"},Se=t("span",{class:"text-gray-700"},"Department",-1),Ve=t("option",null,null,-1),Ce=["value"],Me={class:"block col-span-2 mb-2"},Ee=t("span",{class:"text-gray-700"},"Analysis Category",-1),Te=t("option",null,null,-1),De=["value"],Ie={class:"block col-span-2 mb-2"},Le=t("span",{class:"text-gray-700"},"Sort Key",-1),Pe={class:"block col-span-2 mb-2"},Re=t("span",{class:"text-gray-700"},"TAT (minutes)",-1),Oe={class:"block col-span-2 mb-2"},Ne=t("span",{class:"text-gray-700"},"Precision",-1),Fe={class:"block col-span-2 mb-2"},je=t("span",{class:"text-gray-700"},"Required veifications",-1),Ke={class:"col-span-2 flex justify-between"},qe={class:"block col-span-2 my-2"},$e=t("span",{class:"text-gray-700 ml-4"},"Is Active",-1),Be={class:"block col-span-2 my-2"},Ye=t("span",{class:"text-gray-700 ml-4"},"Internal Use",-1),Ge={class:"block col-span-2 my-2"},ze=t("span",{class:"text-gray-700 ml-4"},"Allow Self Verifaction",-1),We=t("hr",null,null,-1),Qe={action:"post",class:"p-1"},He={class:"grid grid-cols-2 gap-x-4 mb-4"},Je={class:"block col-span-2 mb-2"},Xe=t("span",{class:"text-gray-700"},"Coding Standard",-1),Ze=t("option",null,null,-1),to=["value"],so={class:"block col-span-2 mb-2"},eo=t("span",{class:"text-gray-700"},"Standard Name",-1),oo={class:"block col-span-2 mb-2"},no=t("span",{class:"text-gray-700"},"Standard Code",-1),io={class:"block col-span-2 mb-2"},lo=t("span",{class:"text-gray-700"},"Standard Description",-1),ao=t("hr",null,null,-1),ro=kt({__name:"ServicesAdmin",setup(co){const O=y(()=>m(()=>import("./vue-multiselect.esm-ea7276db.js"),["assets/vue-multiselect.esm-ea7276db.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),N=y(()=>m(()=>import("./SimpleModal-1f91868a.js"),["assets/SimpleModal-1f91868a.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js","assets/SimpleModal-f645a074.css"])),q=y(()=>m(()=>import("./Accordion-dc7be4da.js"),["assets/Accordion-dc7be4da.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),$=y(()=>m(()=>import("./ResultOptions-31dcbfc7.js"),["assets/ResultOptions-31dcbfc7.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),B=y(()=>m(()=>import("./InterimFields-7c213cef.js"),["assets/InterimFields-7c213cef.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),Y=y(()=>m(()=>import("./CorrectionFactor-f656090b.js"),["assets/CorrectionFactor-f656090b.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),G=y(()=>m(()=>import("./Uncertainty-759419e9.js"),["assets/Uncertainty-759419e9.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),z=y(()=>m(()=>import("./DetectionLimit-a5589381.js"),["assets/DetectionLimit-a5589381.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),W=y(()=>m(()=>import("./Specifications-83663e6e.js"),["assets/Specifications-83663e6e.js","assets/billing-356772f3.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),Q=y(()=>m(()=>import("./Billing-3f987619.js"),["assets/Billing-3f987619.js","assets/_plugin-vue_export-helper-3f67fb71.js","assets/billing.mutations-59bfac39.js","assets/billing-356772f3.js","assets/runtime-dom.esm-bundler-6e07ef74.js"])),_=mt(),H=yt(),S=ht(),{withClientMutation:V}=vt();let p=v("general");const J=["general","uncertainities","result-options","interims","correction-factor","detection-limits","specifications","mappings","billing"];let w=v(!1),M=v(""),s=D({});const E=v(!0),X=k(()=>H.getSampleTypes),Z=k(()=>S.getDepartments);S.fetchMethods();const tt=k(()=>S.getMethods);S.fetchUnits();const st=k(()=>S.getUnits);_.fetchAnalysesCategories();const et=k(()=>_.getAnalysesCategories),ot=k(()=>_.getAnalysesServices);let nt=D({first:void 0,after:"",text:"",sortBy:["name"]});_.fetchAnalysesServices(nt);function it(){const d={name:s.name,keyword:s.keyword,description:s.description,categoryUid:s.categoryUid,departmentUid:s.departmentUid,unitUid:s.unitUid,sortKey:s.sortKey,active:s.active,internalUse:s.internalUse,sampleTypes:s.sampleTypes?.map(n=>n.uid),methods:s.methods?.map(n=>n.uid),tatLengthMinutes:s.tatLengthMinutes,precision:s.precision,requiredVerifications:s.requiredVerifications,selfVerification:s.selfVerification};V(bt,{payload:d},"createAnalysis").then(n=>_.addAnalysesService(n))}function lt(){const d={name:s.name,keyword:s.keyword,description:s.description,departmentUid:s.departmentUid,categoryUid:s.categoryUid,unitUid:s.unitUid,sortKey:s.sortKey,active:s.active,internalUse:s.internalUse,sampleTypes:s.sampleTypes?.map(n=>n.uid),methods:s.methods?.map(n=>n.uid),tatLengthMinutes:s.tatLengthMinutes,precision:s.precision,requiredVerifications:s.requiredVerifications,selfVerification:s.selfVerification};V(gt,{uid:s.uid,payload:d},"updateAnalysis").then(n=>_.updateAnalysisService(n))}function at(d){Object.assign(s,{...d})}function F(d,n={}){E.value=d,w.value=!0,M.value=(d?"CREATE":"EDIT")+" ANALYSES SERVICE",d?Object.assign(s,{}):Object.assign(s,{...n})}function dt(){E.value===!0&&it(),E.value===!1&<(),w.value=!1}_.fetchCodingStandards();const rt=k(()=>_.analysesMapings?.filter(d=>d.analysisUid===s?.uid));let U=v(!1),ct=v("");const T=v(!0),r=D({uid:void 0,analysisUid:void 0,codingStandardUid:void 0,name:"",code:"",description:""});function ut(){const d={analysisUid:s?.uid,codingStandardUid:r.codingStandardUid,name:r.name,code:r.code,description:r.description};V(ft,{payload:d},"createAnalysisMapping").then(n=>_.addAnalysesMapping(n))}function pt(){const d={analysisUid:s?.uid,codingStandardUid:r.codingStandardUid,name:r.name,code:r.code,description:r.description};V(xt,{uid:r.uid,payload:d},"updateAnalysisMapping").then(n=>_.updateAnalysesMapping(n))}function j(d,n={}){T.value=d,U.value=!0,ct.value=(d?"CREATE":"EDIT")+" CONCEPT MAPPING",d?Object.assign(r,{}):Object.assign(r,{...n})}function _t(){T.value===!0&&ut(),T.value===!1&&pt(),U.value=!1}return(d,n)=>(i(),l(b,null,[t("div",At,[t("div",St,[Vt,t("button",{class:"px-2 py-1 border-sky-800 border text-sky-800 rounded-sm transition duration-300 hover:bg-sky-800 hover:text-white focus:outline-none",onClick:n[0]||(n[0]=o=>F(!0))},"Add Analyses Service"),Ct]),Mt,t("div",Et,[t("section",Tt,[t("div",Dt,[(i(!0),l(b,null,f(e(ot),o=>(i(),I(e(q),{key:o[0]},{title:A(()=>[wt(a(o[0]),1)]),body:A(()=>[t("div",null,[t("ul",null,[(i(!0),l(b,null,f(o[1],x=>(i(),l("li",{key:x?.uid,class:L(["cursor-pointer",[{"border-sky-800 bg-gray-200 underline pl-3":x.uid===e(s).uid}]]),onClick:uo=>at(x)},[t("div",Lt,[t("div",{class:L(["font-medium text-gray-500 hover:text-gray-700 flex justify-between",{"text-gray-700 font-medium":x.uid===e(s).uid}])},[t("span",null,a(x?.name),1),Pt],2)])],10,It))),128))])])]),_:2},1024))),128))])]),e(s)?.uid!==void 0?(i(),l("section",Rt,[u(" Question Listing Item Card "),t("div",Ot,[t("div",Nt,[u(" Meta Column "),t("div",Ft,[u(' <div class="inline-block font-md text-medium mb-1"></div> '),u(" Age "),t("div",jt,[Kt,qt,t("div",$t,a(e(s)?.keyword),1)])]),u(" Summary Column "),t("div",Bt,[t("div",Yt,[t("span",null,a(e(s)?.name),1),t("div",null,[t("button",{onClick:n[1]||(n[1]=o=>F(!1)),class:"ml-4 inline-flex items-center justify-center w-8 h-8 mr-2 border-sky-800 border text-gray-900 transition-colors duration-150 bg-white rounded-full focus:outline-none hover:bg-gray-200"},zt)])]),Wt,t("div",Qt,[t("div",Ht,[u(" Client Details "),t("div",Jt,[Xt,t("span",Zt,a(e(s)?.category?.name||"un-categprised"),1)]),t("div",ts,[ss,t("span",es,a(e(s)?.unit?.name),1)]),t("div",os,[ns,t("span",is,a(e(s)?.sortKey||"---"),1)]),t("div",ls,[as,t("span",ds,a(e(s)?.tatLengthMinutes),1)]),t("div",rs,[cs,t("span",us,a(e(s)?.precision),1)])]),t("div",ps,[t("div",_s,[ms,t("span",ys,a(e(s)?.methods?.map(o=>o.name)?.join(", ")),1)]),t("div",hs,[bs,t("span",gs,a(e(s)?.sampleTypes?.map(o=>o.name)?.join(", ")),1)]),t("div",fs,[xs,t("span",vs,a(e(s)?.requiredVerifications),1)]),t("div",ks,[ws,t("span",Us,a(e(s)?.selfVerification),1)])])])])])]),u(" Sample and Case Data "),t("nav",As,[t("div",Ss,[(i(),l(b,null,f(J,o=>t("a",{key:o,class:L(["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(p)===o}]),onClick:x=>P(p)?p.value=o:p=o},a(o),11,Vs)),64))])]),t("section",Cs,[e(p)==="general"?(i(),l("div",Ms,Is)):e(p)==="uncertainities"?(i(),l("div",Ls,[g(e(G),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):e(p)==="correction-factor"?(i(),l("div",Ps,[g(e(Y),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):e(p)==="result-options"?(i(),l("div",Rs,[g(e($),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):e(p)==="interims"?(i(),l("div",Os,[g(e(B),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):e(p)==="detection-limits"?(i(),l("div",Ns,[g(e(z),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):e(p)==="specifications"?(i(),l("div",Fs,[g(e(W),{analysis:e(s),analysisUid:e(s)?.uid},null,8,["analysis","analysisUid"])])):u("v-if",!0),e(p)=="mappings"?(i(),l("div",js,[t("div",Ks,[qs,t("button",{onClick:n[2]||(n[2]=o=>j(!0)),class:"px-2 py-1 border-sky-800 border text-sky-800 rounded-sm transition duration-300 hover:bg-sky-800 hover:text-white focus:outline-none"},"Add Mapping")]),$s,t("div",Bs,[t("div",Ys,[t("table",Gs,[zs,t("tbody",Ws,[(i(!0),l(b,null,f(e(rt),o=>(i(),l("tr",{key:o},[t("td",Qs,[t("div",Hs,[t("div",Js,a(o.codingStandard?.name),1)])]),t("td",Xs,[t("div",Zs,a(o.name),1)]),t("td",te,[t("div",se,a(o.code),1)]),t("td",ee,[t("div",oe,a(o.description),1)]),t("td",ne,[t("button",{onClick:x=>j(!1,o),class:"px-2 py-1 mr-2 border-sky-800 border text-sky-800 rounded-sm transition duration-300 hover:bg-sky-800 hover:text-white focus:outline-none"},"Edit",8,ie)])]))),128))])])])])])):u("v-if",!0),e(p)=="billing"?(i(),l("div",le,[g(e(Q),{target:"analysis",targetUid:e(s).uid},null,8,["targetUid"])])):(i(),l("div",ae,[u(" fiancials "),de]))])])):u("v-if",!0)])]),u(" AnaltsisService Form Modal "),e(w)?(i(),I(e(N),{key:0,onClose:n[19]||(n[19]=o=>P(w)?w.value=!1:w=!1)},{header:A(()=>[t("h3",null,a(e(M)),1)]),body:A(()=>[t("form",re,[t("div",ce,[t("label",ue,[pe,c(t("input",{class:"form-input mt-4 block w-full","onUpdate:modelValue":n[3]||(n[3]=o=>e(s).name=o),placeholder:"Name ..."},null,512),[[h,e(s).name]])]),t("label",_e,[me,c(t("input",{class:"form-input mt-1 block w-full","onUpdate:modelValue":n[4]||(n[4]=o=>e(s).keyword=o),placeholder:"Keyword ..."},null,512),[[h,e(s).keyword]])]),t("label",ye,[he,c(t("select",{class:"form-select block w-full mt-1","onUpdate:modelValue":n[5]||(n[5]=o=>e(s).unitUid=o)},[be,(i(!0),l(b,null,f(e(st),o=>(i(),l("option",{key:o.uid,value:o?.uid},a(o.name),9,ge))),128))],512),[[C,e(s).unitUid]])]),t("label",fe,[xe,g(e(O),{modelValue:e(s).sampleTypes,"onUpdate:modelValue":n[6]||(n[6]=o=>e(s).sampleTypes=o),options:e(X),multiple:!0,searchable:!0,label:"name","track-by":"uid"},null,8,["modelValue","options"])]),t("label",ve,[ke,g(e(O),{modelValue:e(s).methods,"onUpdate:modelValue":n[7]||(n[7]=o=>e(s).methods=o),options:e(tt),multiple:!0,searchable:!0,label:"name","track-by":"uid"},null,8,["modelValue","options"])]),t("label",we,[Ue,c(t("textarea",{cols:"2",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[8]||(n[8]=o=>e(s).description=o),placeholder:"Description ..."},null,512),[[h,e(s).description]])]),t("label",Ae,[Se,c(t("select",{class:"form-select block w-full mt-1","onUpdate:modelValue":n[9]||(n[9]=o=>e(s).departmentUid=o)},[Ve,(i(!0),l(b,null,f(e(Z),o=>(i(),l("option",{key:o.uid,value:o?.uid},a(o.name),9,Ce))),128))],512),[[C,e(s).departmentUid]])]),t("label",Me,[Ee,c(t("select",{class:"form-select block w-full mt-1","onUpdate:modelValue":n[10]||(n[10]=o=>e(s).categoryUid=o)},[Te,(i(!0),l(b,null,f(e(et),o=>(i(),l("option",{key:o.uid,value:o?.uid},a(o.name),9,De))),128))],512),[[C,e(s).categoryUid]])]),t("label",Ie,[Le,c(t("input",{type:"number",default:"1",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[11]||(n[11]=o=>e(s).sortKey=o)},null,512),[[h,e(s).sortKey]])]),t("label",Pe,[Re,c(t("input",{type:"number",default:"240",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[12]||(n[12]=o=>e(s).tatLengthMinutes=o)},null,512),[[h,e(s).tatLengthMinutes]])]),t("label",Oe,[Ne,c(t("input",{type:"number",default:"4",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[13]||(n[13]=o=>e(s).precision=o)},null,512),[[h,e(s).precision]])]),t("label",Fe,[je,c(t("input",{type:"number",default:"1",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[14]||(n[14]=o=>e(s).requiredVerifications=o)},null,512),[[h,e(s).requiredVerifications]])]),t("div",Ke,[t("label",qe,[c(t("input",{type:"checkbox","onUpdate:modelValue":n[15]||(n[15]=o=>e(s).active=o)},null,512),[[R,e(s).active]]),$e]),t("label",Be,[c(t("input",{type:"checkbox","onUpdate:modelValue":n[16]||(n[16]=o=>e(s).internalUse=o)},null,512),[[R,e(s).internalUse]]),Ye]),t("label",Ge,[c(t("input",{type:"checkbox","onUpdate:modelValue":n[17]||(n[17]=o=>e(s).selfVerification=o)},null,512),[[R,e(s).selfVerification]]),ze])])]),We,t("button",{type:"button",onClick:n[18]||(n[18]=K(o=>dt(),["prevent"])),class:"-mb-4 w-full border border-sky-800 bg-sky-800 text-white rounded-sm px-4 py-2 m-2 transition-colors duration-500 ease select-none hover:bg-sky-800 focus:outline-none focus:shadow-outline"}," Save Form ")])]),_:1})):u("v-if",!0),u(" MappingForm Modal "),e(U)?(i(),I(e(N),{key:1,onClose:n[25]||(n[25]=o=>P(U)?U.value=!1:U=!1)},{header:A(()=>[t("h3",null,a(e(M)),1)]),body:A(()=>[t("form",Qe,[t("div",He,[t("label",Je,[Xe,c(t("select",{class:"form-select block w-full mt-1","onUpdate:modelValue":n[20]||(n[20]=o=>r.codingStandardUid=o)},[Ze,(i(!0),l(b,null,f(e(_).codingStandards,o=>(i(),l("option",{key:o.uid,value:o?.uid},a(o.name),9,to))),128))],512),[[C,r.codingStandardUid]])]),t("label",so,[eo,c(t("input",{class:"form-input mt-1 block w-full","onUpdate:modelValue":n[21]||(n[21]=o=>r.name=o),placeholder:"Keyword ..."},null,512),[[h,r.name]])]),t("label",oo,[no,c(t("input",{class:"form-input mt-1 block w-full","onUpdate:modelValue":n[22]||(n[22]=o=>r.code=o),placeholder:"Keyword ..."},null,512),[[h,r.code]])]),t("label",io,[lo,c(t("textarea",{cols:"2",class:"form-input mt-1 block w-full","onUpdate:modelValue":n[23]||(n[23]=o=>r.description=o),placeholder:"Description ..."},null,512),[[h,r.description]])])]),ao,t("button",{type:"button",onClick:n[24]||(n[24]=K(o=>_t(),["prevent"])),class:"-mb-4 w-full border border-sky-800 bg-sky-800 text-white rounded-sm px-4 py-2 m-2 transition-colors duration-500 ease select-none hover:bg-sky-800 focus:outline-none focus:shadow-outline"}," Save Form ")])]),_:1})):u("v-if",!0)],64))}}),yo=Ut(ro,[["__file","/home/aurthurm/Development/felicity-lims/webapp/views/admin/analyses/services/ServicesAdmin.vue"]]);export{yo as default};
|