import * as All from './sigpro-ui.js'; import * as Editor from './sigpro-editor.js'; import { Locale, tt } from './sigpro-locale.js'; export const Components = { ...All, ...Editor, }; export const Utils = { Locale, tt }; if (typeof window !== 'undefined') { Object.entries({ ...Components, ...Utils }).forEach(([name, value]) => { Object.defineProperty(window, name, { value, writable: false, configurable: true, enumerable: true }); }); }