import{X as a,ab as t,r as e}from"./index-C1tQD-C0.js";import{e as p}from"./equals-cwY-6C0z.js";const s=async()=>{try{return(await a.post("/api/v1/app/appTubeSettingMgr/getBloodTypes")).data}catch(t){}},r=async()=>{try{return(await a.post("/api/v1/app/appTubeSettingMgr/newTubeHolderSetting")).data}catch(t){}},u=async t=>{try{return(await a.post(`/api/v1/app/appTubeSettingMgr/removeTubeHolderSetting?uuid=${t}`)).data}catch(e){}},c=async()=>{try{return(await a.post("/api/v1/app/a8kProjectInfo/getAll")).data}catch(t){}},n=async t=>{try{return(await a.post("/api/v1/app/appTubeSettingMgr/updateActiveState",null,{params:t})).data}catch(e){}},i=async t=>{try{return(await a.post("/api/v1/app/appTubeSettingMgr/updateTubeSetting",t)).data}catch(e){return{success:!1}}},o=t("testTube",(()=>{const a=e({}),t=e([]);return{tubeRack:a,setTubeRack:t=>{a.value=t},tubeRacks:t,setTubeRacks:a=>{p(a,t.value)||(t.value=a)}}}),{persist:!0});export{s as a,r as b,n as c,i as d,u as e,c as g,o as u};
