@plotinus/matrix-package-observable-coordinator
Version:
Observable coordinator pattern components using IntrospectableBaseCommunicationComponent and proper presentation architecture
26 lines (25 loc) • 957 B
JavaScript
/**
* App Component Entry Point
*
* This file serves as the component-specific entry point for mcf-component-loader.
* It exports everything needed to use the app component.
*/
export { AppComponent } from './app.component.js';
export { AppPresentationElement } from '../../presentation/app-presentation.js';
// Import for type checking
import { AppPresentationElement } from '../../presentation/app-presentation.js';
// Component metadata
export const componentInfo = {
name: 'app',
tag: 'app',
type: 'composite',
version: '1.0.0',
description: 'Application root component that coordinates system behavior'
};
// Auto-registration for browser environments
if (typeof window !== 'undefined' && typeof customElements !== 'undefined') {
// Register presentation element if not already registered
if (!customElements.get('app-presentation')) {
customElements.define('app-presentation', AppPresentationElement);
}
}