summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules/directive-module.ts
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-07-06 13:17:48 +0100
committerMichael Morris <michael.morris@est.tech>2023-07-13 15:05:06 +0000
commit825411a75557943e988d3601690cdf75c2bf0588 (patch)
tree76fcb694b9f224cb7138c4d25912b7ed8b406a1c /catalog-ui/src/app/modules/directive-module.ts
parent7b8acdf5b70fdcda448fa1ae871df0e0723f08db (diff)
UI support for metadata when editing properties of VFCs
Issue-ID: SDC-4561 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I642fa4ce09fe669e5722dbbf18dd23daa23761d3
Diffstat (limited to 'catalog-ui/src/app/modules/directive-module.ts')
-rw-r--r--catalog-ui/src/app/modules/directive-module.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/catalog-ui/src/app/modules/directive-module.ts b/catalog-ui/src/app/modules/directive-module.ts
index 8907f5a0ea..2cf3832625 100644
--- a/catalog-ui/src/app/modules/directive-module.ts
+++ b/catalog-ui/src/app/modules/directive-module.ts
@@ -97,6 +97,7 @@ import {AttributesOutputsComponent} from "../ng2/pages/attributes-outputs/attrib
import {InterfaceDefinitionComponent} from "../ng2/pages/interface-definition/interface-definition.page.component";
import {ToscaFunctionComponent} from '../ng2/pages/properties-assignment/tosca-function/tosca-function.component';
import {ConstraintsComponent} from '../ng2/pages/properties-assignment/constraints/constraints.component';
+import {PropertyMetadataComponent} from '../ng2/pages/properties-assignment/property-metadata/property-metadata.component';
import {TypeWorkspaceComponent} from "../ng2/pages/type-workspace/type-workspace.component";
import {TypeWorkspaceGeneralComponent} from "../ng2/pages/type-workspace/type-workspace-general/type-workspace-general.component";
import {DeclareInputComponent} from "../ng2/pages/properties-assignment/declare-input/declare-input.component";
@@ -332,6 +333,12 @@ directiveModule.directive('appConstraints', downgradeComponent({
outputs: ['onConstraintChange']
}) as angular.IDirectiveFactory);
+directiveModule.directive('appPropertyMetadata', downgradeComponent({
+ component: PropertyMetadataComponent,
+ inputs: ['propertyMetadata', 'isViewOnly'],
+ outputs: ['onPropertyMetadataChange']
+}) as angular.IDirectiveFactory);
+
directiveModule.directive('appTypeWorkspace', downgradeComponent({
component: TypeWorkspaceComponent,
inputs: [],