import{a as _}from"./index.70af0e5c.js";import{a as m}from"./use-response-handle.e6cae34f.js";import{q as f,B as v,a4 as g,r as n,o as y,K as B,H as s,p as V,t as x,v as N,S as A}from"./index.d8ce26ef.js";const C={"w-full":"",flex:"","justify-end":""},b=A("\u786E\u8BA4"),D=f({__name:"red-dialog",setup(h,{expose:l}){const e=v(!1),{run:r,loading:u}=m(),o=g({invNo:""}),i=()=>{r(_(o))};return l({onDisplay(t){e.value=!0,o.invNo=t}}),(t,a)=>{const d=n("el-button"),c=n("el-dialog");return y(),B(c,{title:"\u7EA2\u51B2\u53D1\u7968",modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=p=>e.value=p),center:""},{default:s(()=>[V("div",C,[x(d,{type:"primary",loading:N(u),onClick:i},{default:s(()=>[b]),_:1},8,["loading"])])]),_:1},8,["modelValue"])}}});export{D as default};
