text: import{B as e,a as s}from"./index.7e2439d5.js";import{j as o,K as t,o as a,m as r,Q as l,n as i,N as d,Y as n}from"./vendor.686fd1d4.js";import"./index.f9173908.js";import"./useWindowSizeFn.d82e06bf.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,M){const f=t("a-button"),u=t("BasicModal");return a(),r(u,d(e.$attrs,{onRegister:e.register,title:"Modal Title",helpMessage:["提示1","提示2"]}),{default:l((()=>[i(f,{type:"primary",onClick:e.closeModal,class:"mr-2"},{default:l((()=>[p])),_:1},8,["onClick"]),i(f,{type:"primary",onClick:e.setModalProps},{default:l((()=>[m])),_:1},8,["onClick"])])),_:1},16,["onRegister"])};export default c;
  