"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@aplus-frontend/antdv"),c=require("lodash-unified"),t=require("./utils/confirm.js"),o=require("./utils/destroyFns.js");require("./utils/index.js");const l=require("./utils/util.js");require("./interface.js");const u=require("./utils/createModal.js"),s=require("./utils/createModalStream.js"),e=c.omit(i.Modal,["confirm","warning","warn","error","success","info"]);e.createModal=u.createModal;e.createModalStream=s.createModalStream;function a(n){return t.default(t.withWarn(n))}e.info=function(r){return t.default(t.withInfo(r))};e.success=function(r){return t.default(t.withSuccess(r))};e.error=function(r){return t.default(t.withError(r))};e.warning=a;e.warn=a;e.confirm=function(r){return t.default(t.withConfirm(r))};e.destroyAll=function(){for(;o.default.length;){const r=o.default.pop();r&&r()}};e.setModalGlobalAppContext=l.setModalGlobalAppContext;e.name="ApModal";exports.ApModal=e;
