text: import{_ as e,a as s}from"./useModal.9d70781f.js";import{k as o,K as t,o as a,n as r,Q as l,q as d,N as i,Y as n}from"./vendor.bc3b2d68.js";import"./index.f8d8fadd.js";import"./useWindowSizeFn.ade0e88c.js";var c=o({components:{BasicModal:e},setup(){const[e,{closeModal:o,setModalProps:t}]=s();return{register:e,closeModal:o,setModalProps:()=>{t({title:"Modal New Title"})}}}});const p=n(" 从内部关闭弹窗 "),M=n(" 从内部修改title ");c.render=function(e,s,o,n,c,u){const f=t("a-button"),m=t("BasicModal");return a(),r(m,i(e.$attrs,{onRegister:e.register,title:"Modal Title",helpMessage:["提示1","提示2"]}),{default:l((()=>[d(f,{type:"primary",onClick:e.closeModal,class:"mr-2"},{default:l((()=>[p])),_:1},8,["onClick"]),d(f,{type:"primary",onClick:e.setModalProps},{default:l((()=>[M])),_:1},8,["onClick"])])),_:1},16,["onRegister"])};export default c;
  