This commit is contained in:
2026-01-23 22:15:51 +00:00
commit 74d24cf8b9
44 changed files with 15483 additions and 0 deletions

28
ts_web/index.ts Normal file
View File

@@ -0,0 +1,28 @@
import * as plugins from './plugins.js';
// Import all elements
import './elements/index.js';
// Import services
import { apiService } from './services/index.js';
// Initialize the application
const initApp = async () => {
console.log('TsView UI initializing...');
// Wait for custom elements to be defined
await customElements.whenDefined('tsview-app');
// Create and mount the app
const app = document.createElement('tsview-app');
document.body.appendChild(app);
console.log('TsView UI ready');
};
// Auto-init when DOM is ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initApp);
} else {
initApp();
}