import{b6 as u}from"./bootstrap-Bqxdt4iG.js";import i from"./wms-user-detail-BFTLaq_B.js";import{a1 as l,L as m,ai as s,aj as t,ak as d,an as p,a9 as c}from"../jse/index-index-BUJ_4tQs.js";import{u as f}from"./use-drawer-CLDmRz16.js";const x=l({__name:"wms-user-detail-drawer",setup(_){const a=m(""),[o,n]=f({title:u("page.wmsUsers.detail.title"),footer:!1,onClosed:()=>{a.value=""},onOpenChange:r=>{if(r){const e=n.getData();e!=null&&e.userId&&(a.value=e.userId)}}});return(r,e)=>(t(),s(c(o),{class:"w-[520px]"},{default:d(()=>[a.value?(t(),s(i,{key:0,"user-id":a.value,mode:"drawer"},null,8,["user-id"])):p("",!0)]),_:1}))}});export{x as _};
