Allow to edit or clear a TOSCA function value 25/129425/3
authorandre.schmid <andre.schmid@est.tech>
Mon, 30 May 2022 15:21:52 +0000 (16:21 +0100)
committerMichael Morris <michael.morris@est.tech>
Tue, 7 Jun 2022 13:10:34 +0000 (13:10 +0000)
commit90d6e2ddd348afd42b08d66c6e2308c63535e8de
treea0f70399efa7b928aa0ddae4a77fe414ef46c80b
parent6637ee3404312201401ba1edb6efadb011977aa7
Allow to edit or clear a TOSCA function value

In the properties assignment view, when a property that has a TOSCA
function value is selected, a button "Clear Value" will show allowing
to clear the property value.
This behaviour was changed to show the TOSCA function button, which,
when clicked, will open the TOSCA function modal with the function
values loaded, allowing to edit or clear the existing value.

Change-Id: Ic365f81921052aa2c5737d2a1ac956a3fb745db6
Issue-ID: SDC-4028
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-ui/src/app/models/tosca-get-function.ts
catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.module.ts
catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.html
catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts
catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-function.component.html
catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-function.component.less
catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-function.component.ts
catalog-ui/src/assets/languages/en_US.json