UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

2 lines (1 loc) 391 B
const a=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),e=require("./src-C9EhKhbk.cjs");var u=a.__name((t,n)=>{let r;return n==="sandbox"&&(r=e.select_default("#i"+t)),(n==="sandbox"?e.select_default(r.nodes()[0].contentDocument.body):e.select_default("body")).select(`[id="${t}"]`)},"getDiagramElement");Object.defineProperty(exports,"getDiagramElement",{enumerable:!0,get:function(){return u}});