More webapp changes+fixes

This commit is contained in:
2025-12-05 16:52:02 +01:00
parent c66cd0568f
commit 8e7a540c97
40 changed files with 1944 additions and 272 deletions

View File

@@ -0,0 +1,20 @@
import { Component, Input, ViewChild, TemplateRef, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
@Component({
selector: 'scn-metadata-value',
standalone: true,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
<ng-template #contentTemplate><ng-content></ng-content></ng-template>
`,
})
export class MetadataValueComponent {
@Input() label: string = '';
@ViewChild('contentTemplate', { static: true }) contentTemplate!: TemplateRef<any>;
get content(): TemplateRef<any> {
return this.contentTemplate;
}
}