diff options
author | andre.schmid <andre.schmid@est.tech> | 2022-06-02 16:34:57 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-06-07 13:10:52 +0000 |
commit | 80c2cf3c70db2605eb9c2e28515a73567f3404ee (patch) | |
tree | ddec78db9cd3f90ce9af1ff0e747cb97573b677e /catalog-ui/src/app/modules/directive-module.ts | |
parent | 90d6e2ddd348afd42b08d66c6e2308c63535e8de (diff) |
Support get functions in composition property modal
Allow to assign get functions values to properties in the composition
properties modal.
Change-Id: I470be63e2980994f43be255d8056af7392baab75
Issue-ID: SDC-4031
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src/app/modules/directive-module.ts')
-rw-r--r-- | catalog-ui/src/app/modules/directive-module.ts | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/catalog-ui/src/app/modules/directive-module.ts b/catalog-ui/src/app/modules/directive-module.ts index ed1463af74..25d8607b6b 100644 --- a/catalog-ui/src/app/modules/directive-module.ts +++ b/catalog-ui/src/app/modules/directive-module.ts @@ -43,16 +43,15 @@ import {EditNamePopoverDirective} from "../directives/edit-name-popover/edit-nam import {DataTypeFieldsStructureDirective} from "../directives/property-types/data-type-fields-structure/data-type-fields-structure"; import {TypeMapDirective} from "../directives/property-types/type-map/type-map-directive"; import {TypeListDirective} from "../directives/property-types/type-list/type-list-directive"; -import {SelectDataTypeFieldsStructureDirective} from "../directives/select-property-types/select-data-type-fields-structure/select-data-type-fields-structure"; +import { + SelectDataTypeFieldsStructureDirective +} from "../directives/select-property-types/select-data-type-fields-structure/select-data-type-fields-structure"; import {SelectTypeMapDirective} from "../directives/select-property-types/select-type-map/select-type-map-directive"; import {SelectTypeListDirective} from "../directives/select-property-types/select-type-list/select-type-list-directive"; import {ValidationOnLoadDirective} from "../directives/utils/validation-on-load/validation-on-load"; import {InfoTooltipDirective} from "../directives/info-tooltip/info-tooltip"; import {SdcTabsDirective} from "../directives/sdc-tabs/sdc-tabs-directive"; -import { - InnerSdcSingleTabDirective, - SdcSingleTabDirective -} from "../directives/sdc-tabs/sdc-single-tab/sdc-single-tab-directive"; +import {InnerSdcSingleTabDirective, SdcSingleTabDirective} from "../directives/sdc-tabs/sdc-single-tab/sdc-single-tab-directive"; import {ExpandCollapseListHeaderDirective} from "../directives/utils/expand-collapse-list-header/expand-collapse-list-header"; import {JsonExportExcelDirective} from "../directives/export-json-to-excel/export-json-to-excel"; import {TopProgressDirective} from "../directives/layout/top-progress/top-progress"; @@ -96,6 +95,7 @@ import {ReqAndCapabilitiesComponent} from "../ng2/pages/workspace/req-and-capabi import {DistributionComponent} from '../ng2/pages/workspace/disribution/distribution.component'; 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'; let moduleName: string = 'Sdc.Directives'; let directiveModule: ng.IModule = angular.module(moduleName, []); @@ -314,4 +314,10 @@ directiveModule.directive('deploymentArtifactPage', downgradeComponent({ component: DeploymentArtifactsPageComponent, inputs: [], outputs: [] -}) as angular.IDirectiveFactory);
\ No newline at end of file +}) as angular.IDirectiveFactory); + +directiveModule.directive('toscaFunction', downgradeComponent({ + component: ToscaFunctionComponent, + inputs: ['componentInstanceMap', 'property'], + outputs: [] +}) as angular.IDirectiveFactory); |