"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("@aplus-frontend/antdv"),g=require("../../utils/index.js"),o=require("../../config-provider/config-provider.js"),r=require("./util.js"),C=d=>t=>{let n;const a=e.defineComponent({data(){const[s,u]=m.Modal.useModal();return{modal:s,contextHolder:u}},mounted(){n=this.modal?.[d]?.(t)},render(){return e.createVNode(o.ConfigProvider,o.globalConfigCached.value,{default:()=>[this.contextHolder?.()]})}}),i=r.getContainerDom(o.globalConfigCached?.value?.getPopupContainer),c=r.getContainerDom(t.getContainer),l=i||c||g.getTopWindow().document.body;return e.render(e.h(a),l),n};exports.methodsFn=C;
