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