21 lines
551 B
JavaScript
21 lines
551 B
JavaScript
// index.js
|
|
import './src/sigpro.js';
|
|
import * as Components from './src/components/index.js';
|
|
import * as Utils from './src/core/utils.js';
|
|
import { tt } from './src/core/i18n.js';
|
|
|
|
export * from './src/components/index.js';
|
|
export * from './src/core/utils.js';
|
|
export { tt };
|
|
|
|
if (typeof window !== 'undefined') {
|
|
Object.entries(Components).forEach(([name, component]) => {
|
|
window[name] = component;
|
|
});
|
|
|
|
window.Utils = Utils;
|
|
window.tt = tt;
|
|
window.SigProUI = { ...Components, Utils, tt };
|
|
|
|
console.log("🎨 SigProUI ready");
|
|
} |