/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{createApp as e,h as t}from"vue";import o from"./src/Modal.vue.js";import n from"./src/Message.vue.js";import r from"./src/Notice.vue.js";let d=null,u=null;function m(t){return function(){if(!d){const t=document.createElement("div");document.body.appendChild(t),d=e(n).mount(t)}return d}().add(t||{})}function c(t){return function(){if(!u){const t=document.createElement("div");document.body.appendChild(t),u=e(r).mount(t)}return u}().add(t||{})}function i(n={},r={}){const d=document.createElement("div");document.body.appendChild(d);const u=Object.fromEntries(Object.entries(r||{}).map(([e,t])=>[e,"function"==typeof t?t:()=>t])),m=e({render:()=>t(o,{ref:"modalRef",...n,"onUpdate:modelValue":e=>{e||setTimeout(()=>{m.unmount(),d.parentNode&&d.parentNode.removeChild(d)},0)}},u)}),c=m.mount(d);return{close:()=>{c&&c.$refs&&c.$refs.modalRef&&c.$refs.modalRef.$emit("update:modelValue",!1)}}}export{n as Message,o as Modal,r as Notice,i as openModal,m as showMessage,c as showNotice};