@switch(node.element.modelType) {
- @case ('AnnotatedRelationshipElement') {}
- @case ('AssetAdministrationShell') {}
- @case ('BasicEventElement') {}
- @case ('Blob') {}
- @case ('Capability') {}
- @case ('ConceptDescription') {}
- @case ('DataSpecificationIec61360') {}
- @case ('Entity') {}
- @case ('File') {
+ @case ('AnnotatedRelationshipElement') {
+
+ }
+ @case ('Blob') {
+ {{node.value}}
+ }
+ @case('Entity') {
{{node.file?.value}}
+ (click)="openReference(node.entity?.globalAssetId)">{{node.value}}
}
- @case ('MultiLanguageProperty') {}
- @case ('Operation') {}
- @case ('Property') {
- {{1}}
+ @case ('File') {
+ {{node.value}}
+ }
+ @case ('Operation') {
+ {{node.value}}
}
- @case ('Range') {}
@case ('ReferenceElement') {
- {{node.reference?.value}}
+ {{node.value}}
}
@case ('RelationshipElement') {
-
- first
- seconde
+
}
@case ('Submodel') {}
@case ('SubmodelElementCollection') {}
@case ('SubmodelElementList') {}
@default {
- -
+ {{node.value}}
}
}
|
diff --git a/projects/aas-lib/src/lib/aas-tree/aas-tree.component.ts b/projects/aas-lib/src/lib/aas-tree/aas-tree.component.ts
index a215cf81..4955989b 100644
--- a/projects/aas-lib/src/lib/aas-tree/aas-tree.component.ts
+++ b/projects/aas-lib/src/lib/aas-tree/aas-tree.component.ts
@@ -25,6 +25,7 @@ import {
selectSubmodel,
getIdShortPath,
mimeTypeToExtension,
+ selectReferable,
} from 'common';
import { AASTreeRow, AASTreeFeatureState } from './aas-tree.state';
@@ -34,7 +35,6 @@ import { ShowVideoFormComponent } from './show-video-form/show-video-form.compon
import { OperationCallFormComponent } from './operation-call-form/operation-call-form.component';
import { AASTreeSearch } from './aas-tree-search';
import { basename, encodeBase64Url } from '../convert';
-import { AASQuery } from '../types/aas-query-params';
import { ViewQuery } from '../types/view-query-params';
import { WindowService } from '../window.service';
import { DocumentService } from '../document.service';
@@ -68,6 +68,7 @@ export class AASTreeComponent implements OnInit, OnChanges, OnDestroy {
private readonly liveNodes: LiveNode[] = [];
private readonly map = new Map