new Bundle ESM IIFE
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s

This commit is contained in:
2026-04-27 20:16:56 +02:00
parent b992f4a0a4
commit 2cfa7db221
8 changed files with 1542 additions and 1533 deletions

36
sigpro-ui-full.js Normal file
View File

@@ -0,0 +1,36 @@
import { $, $$, watch, h, each, when, mount, batch } from 'sigpro';
import 'sigpro/xss.js';
import 'sigpro/tags.js';
import * as All from './sigpro-ui.js';
import * as Editor from './sigpro-editor.js';
import { Locale, tt } from './sigpro-locale.js';
const Components = { ...All, ...Editor };
const Utils = { Locale, tt };
if (typeof window !== 'undefined') {
const fns = { $, $$, watch, h, each, when, mount, batch };
Object.entries(fns).forEach(([name, fn]) => {
Object.defineProperty(window, name, {
value: fn,
writable: true,
configurable: true,
enumerable: true
});
});
Object.entries({ ...Components, ...Utils }).forEach(([name, value]) => {
Object.defineProperty(window, name, {
value,
writable: false,
configurable: true,
enumerable: true
});
});
console.log("SigProUI DX installed");
}
export { Components, Utils };
export * from './sigpro-ui.js';
export * from './sigpro-editor.js';