var i=(u,a,t)=>new Promise((s,o)=>{var r=e=>{try{n(t.next(e))}catch(c){o(c)}},m=e=>{try{n(t.throw(e))}catch(c){o(c)}},n=e=>e.done?s(e.value):Promise.resolve(e.value).then(r,m);n((t=t.apply(u,a)).next())});import{b6 as p}from"./bootstrap-Bqxdt4iG.js";import f from"./stock-out-detail-B9CFFzvV.js";import{a1 as k,L as _,ai as l,aj as d,ak as w,an as C,a9 as v}from"../jse/index-index-BUJ_4tQs.js";import{u as x}from"./use-drawer-CLDmRz16.js";const y=k({__name:"stock-out-detail-drawer",setup(u){const a=_(""),[t,s]=x({title:p("page.stockOuts.drawer.detailTitle"),footer:!1,onOpenChange:o=>i(null,null,function*(){if(o){const r=s.getData();r&&(a.value=r.stockOutId)}}),onClosed:()=>{a.value=""}});return(o,r)=>(d(),l(v(t),{class:"w-[520px]"},{default:w(()=>[a.value?(d(),l(f,{key:0,"stock-out-id":a.value,mode:"drawer"},null,8,["stock-out-id"])):C("",!0)]),_:1}))}});export{y as _};
