FederatedModule Type documentation¶
TypeScript declaration¶
FederatedModule
CommonFactoryFields & LoadRemoteModuleOptions & { factoryType: 'module-federation' | 'native-federation'; [index: string]: any; } ¶import type { FederatedModule } from '@siemens/dashboards-ng';Factory configuration for loading widget components from a federated module. Supports both Module Federation and Native Federation patterns for micro-frontend architectures. Use this when the widget component is hosted in a separate, independently deployed application.
Types Documentation¶
CommonFactoryFields
{ componentName: string; editorComponentName?: string; /** * CSS class that is added to the modal dialog when component editor dialog is shown. * Provides the option to change the size if the dialog. */ editorModalClass?: string; } ¶ Properties¶
-
CSS class that is added to the modal dialog when component editor dialog is shown. Provides the option to change the size if the dialog.
import type { LoadRemoteModuleOptions } from '@siemens/dashboards-ng';The Remote Module definition is based on @angular-architects. We take it over into this file to prevent adding a hard dependency.
LoadRemoteModuleScriptOptions
{ type?: 'script'; remoteEntry?: string; remoteName: string; exposedModule: string; /** * Optional nonce value applied to the script element for Content Security Policy (CSP) support. * Supported in Module Federation v21.2.0+; safely ignored by earlier versions. */ nonce?: string; } ¶import type { LoadRemoteModuleScriptOptions } from '@siemens/dashboards-ng'; import type { LoadRemoteModuleEsmOptions } from '@siemens/dashboards-ng'; import type { LoadRemoteModuleManifestOptions } from '@siemens/dashboards-ng'; Except where otherwise noted, content on this site is licensed under MIT License.