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