All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
25 lines
546 B
JavaScript
25 lines
546 B
JavaScript
import * as All from './sigpro-ui.js';
|
|
import * as Editor from './sigpro-editor.js';
|
|
import { Locale, tt } from './sigpro-locale.js';
|
|
import { hide, get } from './sigpro-helpers.js';
|
|
|
|
export const Components = {
|
|
...All,
|
|
...Editor,
|
|
};
|
|
|
|
export const Utils = {
|
|
Locale, tt, hide, get
|
|
};
|
|
|
|
|
|
if (typeof window !== 'undefined') {
|
|
Object.entries({ ...Components, ...Utils }).forEach(([name, value]) => {
|
|
Object.defineProperty(window, name, {
|
|
value,
|
|
writable: false,
|
|
configurable: true,
|
|
enumerable: true
|
|
});
|
|
});
|
|
} |