import{k as i}from"./index.CN1lNsL-.js";import{createCrudOptions as l}from"./curd.CxVAG-0k.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_name_RefuseNotification_lang.DBIDJptO.js";import{a as u,r as o,q as g,aj as c,J as C,o as h,K as j,S as p,H as k,u as x,C as e}from"./vue.YrNK8sx4.js";import"./api.CirbA4j_.js";const v=u({name:"approval"}),q=u({...v,setup(w){const r=o(!1),s=o(""),t=o(null),{crudBinding:f,crudRef:_,crudExpose:n}=i({createCrudOptions:a=>l({...a,showRejectDialog:r,rejectReason:s,currentFormId:t})});return e("showRejectDialog",r),e("rejectReason",s),e("currentFormId",t),e("crudExpose",n),g(()=>{n.doRefresh()}),(a,B)=>{const d=c("fs-crud"),m=c("fs-page");return h(),C(m,null,{default:j(()=>[p(d,k({ref_key:"crudRef",ref:_},x(f)),null,16),p(R)]),_:1})}}});export{q as default};
