Files
sigpro-ui/index.js
natxocc 00e4172942
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
1.2.2
2026-04-28 22:34:10 +02:00

24 lines
485 B
JavaScript

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
});
});
}