import{preview_columns as f}from"./columns.1ef2462f.js";import{q as v,B as i,r as l,o,K as u,H as a,t as b,n as g,J as B,v as C,I as V,S as k,O as x}from"./index.7a111e62.js";import"./status.8b8d6c88.js";const N=v({__name:"preview-dialog",setup(D,{expose:c}){const t=i(!1),s=i({});return c({onDisplay:n=>{t.value=!0,s.value=n}}),(n,r)=>{const d=l("el-descriptions-item"),p=l("el-descriptions"),m=l("el-dialog");return o(),u(m,{modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=e=>t.value=e),title:"\u91C7\u8D2D\u5355\u8BE6\u60C5",center:""},{default:a(()=>[b(p,{column:2,border:"",size:"small"},{default:a(()=>[(o(!0),g(V,null,B(C(f),(e,_)=>(o(),u(d,{label:e.label,key:_},{default:a(()=>[k(x(s.value[e.field]),1)]),_:2},1032,["label"]))),128))]),_:1})]),_:1},8,["modelValue"])}}});export{N as default};
