All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
26 lines
540 B
JavaScript
26 lines
540 B
JavaScript
import * as All from './sigpro-components.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
|
|
});
|
|
});
|
|
console.log("SigProUI DX installed");
|
|
}
|