Initial setup
1. Package installation
2. Module configuration
Angular requires specific configuration to support Web Components:3. Standalone components configuration (Angular 15+)
For applications using Standalone Components:Component implementation
HTML template
SofIA SDK delivers data to your app through property callbacks — assign
handleReport, setIsOpen, and setGetLastReport as element properties (via @ViewChild in ngAfterViewInit, shown below). The SDK does not emit handle-report/set-is-open DOM events, so Angular event bindings like (handle-report) will not fire. (The only DOM event the SDK dispatches is sofia:transcriber-url-changed.)TypeScript component
Retrieving the last report
Use theset-get-last-report callback to access the last generated report for the current patient/user session: