import{registerTemplate as e,freezeTemplate as o,registerDecorators as s,registerComponent as t,createElement as r}from"@kdcloudjs/kwc";import{features as i}from"./features.js";import a from"./shadowBaseClassPrivate.js";import{i as l}from"../ssr-C2pjZzfv.js";import"../observable-tloG64m6.js";import"../i18n-B98kiI7M.js";import{instanceName as n}from"./overlayUtils.js";import c from"./overlayContainer.js";import"../empty_html-CjXB8rB4.js";import"../utilsPrivate-CI3EeA5x.js";import"../client-Ddi3i8XR.js";import"./iso8601Utils.js";import"../colorValid-qIPgkqGp.js";import"./overlayManager.js";const p=[];function m(e,o,s,t){return p}var d=e(m);m.stylesheets=[],m.stylesheetToken="kwc-4moccb0qcel",m.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\overlay-undefined_overlay",o(m);const u="kingdee-overlay-container";function k(){let e=document.querySelector(`body > ${u}`);return e||(e=r(u,{is:c}),i.ENABLE_OVERLAY_SLDS_SCOPE_CLASS&&e.classList.add("slds-scope"),document.body.appendChild(e)),e}class y extends a{connectedCallback(){super.connectedCallback()}static open(e){return l?k().push(this,e):new Promise(()=>{})}close(e,o){l&&k().pop(this.template.host,e,o)}}y[n]="kingdee-overlay",s(y,{publicMethods:["close"]});const j=t(y,{tmpl:d,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\overlay-",apiVersion:63});export{j as default};
