summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules/directive-module.ts
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-10-13 19:13:37 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-11-17 11:38:37 +0000
commitc991c07fbb15e73e4149cde734a7e6786cb71b93 (patch)
treec48ba34c24c8f0586c08e8fa7e7b81744addc7a5 /catalog-ui/src/app/modules/directive-module.ts
parent8f84bfef7bae1c867f16aed41c850d6cd722fb6e (diff)
Create UI Component for viewing property constraints
Issue-ID: SDC-4219 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0e40e2ed2fd954749a74ce307f1474380f9ad71
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 70ceb0fed3..e339b5d471 100644
--- a/catalog-ui/src/app/modules/directive-module.ts
+++ b/catalog-ui/src/app/modules/directive-module.ts
@@ -96,6 +96,7 @@ import {DistributionComponent} from '../ng2/pages/workspace/disribution/distribu
import {AttributesOutputsComponent} from "../ng2/pages/attributes-outputs/attributes-outputs.page.component";
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 {TypeWorkspaceComponent} from "../ng2/pages/type-workspace/type-workspace.component";
import {TypeWorkspaceGeneralComponent} from "../ng2/pages/type-workspace/type-workspace-general/type-workspace-general.component";
@@ -324,6 +325,12 @@ directiveModule.directive('toscaFunction', downgradeComponent({
outputs: []
}) as angular.IDirectiveFactory);
+directiveModule.directive('appConstraints', downgradeComponent({
+ component: ConstraintsComponent,
+ inputs: ['property', 'isViewOnly'],
+ outputs: ['onConstraintChange']
+}) as angular.IDirectiveFactory);
+
directiveModule.directive('appTypeWorkspace', downgradeComponent({
component: TypeWorkspaceComponent,
inputs: [],