f7cloud_client/apps/assistant/js/index-0D_mItKm.chunk.mjs
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

3 lines
601 B
JavaScript

import{e as a}from"./runtime-dom.esm-bundler-Dyqpejx9.chunk.mjs";function d(u,n={},s={}){let{container:e}=s;"container"in n&&typeof n.container=="string"&&(e??=n.container);const o=(typeof e=="string"&&document.querySelector(e)||document.body).appendChild(document.createElement("div"));return new Promise((c,i)=>{const t=a(u,{...n,container:null,onClose(...r){const m=r.length>1?r:r[0];t.unmount(),o.remove(),c(m)},"onVue:unmounted":()=>{t.unmount(),o.remove(),i(new Error("Dialog was unmounted without close event"))}});t.mount(o)})}export{d as s};
//# sourceMappingURL=index-0D_mItKm.chunk.mjs.map