mirror of
https://github.com/nextcloud/server.git
synced 2026-10-25 12:15:44 +01:00
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 lines
677 B
JavaScript
2 lines
677 B
JavaScript
"use strict";(globalThis.webpackChunknextcloud_ui_legacy||=[]).push([[451],{451(n,e,o){o.r(e),o.d(e,{spawnDialog:()=>u});var t=o(99760);function u(n,e={},o={}){let{container:u}=o;"container"in e&&"string"==typeof e.container&&(u??=e.container);const r=("string"==typeof u&&document.querySelector(u)||document.body).appendChild(document.createElement("div"));return new Promise((o,u)=>{const c=(0,t.Ef)(n,{...e,container:null,onClose(...n){const e=n.length>1?n:n[0];c.unmount(),r.remove(),o(e)},"onVue:unmounted":()=>{c.unmount(),r.remove(),u(new Error("Dialog was unmounted without close event"))}});c.mount(r)})}}}]);
|
|
//# sourceMappingURL=451-451.js.map?v=b83c54fbb7d43851bdfd
|