2 ~ Copyright © 2016-2018 European Support Limited
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
17 <div class="cell field-name">
19 *ngIf="!isAssociateWorkflow"
20 [testId]="'param-name-' + (param.name || 'unnamed')"
21 [(value)]="param.name"
22 (valueChange)="onChangeName()"
23 [readonly]="readonly">
25 <span *ngIf="isAssociateWorkflow">{{param.name}}</span>
28 <div class="cell field-type">
30 *ngIf="!isAssociateWorkflow"
31 [testId]="'param-type-' + (param.name || 'unnamed')"
32 [values]="propTypeEnum"
33 [(value)]="param.type"
34 (valueChange)="onChangeType()"
35 [readonly]="readonly">
36 </ui-element-dropdown>
37 <span *ngIf="isAssociateWorkflow">{{param.type}}</span>
40 <div class="cell field-property" *ngIf="isInputParam">
42 *ngIf="filteredInputProps.length || operationOutputCats.length || !isAssociateWorkflow"
43 [(ngModel)]="param.inputId"
44 (change)="onChangeProperty($event)"
45 [ngClass]="{'disabled': readonly}"
46 [attr.data-tests-id]="'value-param-property-' + (param.name || 'unnamed')">
48 *ngFor="let prop of filteredInputProps"
49 [ngValue]="prop.value">
53 *ngFor="let operation of operationOutputCats"
54 label="{{operation.operationName}}">
56 *ngFor="let output of operation.outputs"
57 [ngValue]="output.value">
62 *ngFor="let cap of filteredCapabilitiesProps"
63 label="{{cap.capabilityName}}">
65 *ngFor="let prop of cap.properties"
66 [ngValue]="prop.value">
72 *ngIf="!filteredInputProps.length && !operationOutputCats.length && isAssociateWorkflow"
73 class="no-properties-error">
74 {{ 'PARAM_NONE_OF_TYPE' | translate }}
78 <div class="cell field-mandatory" *ngIf="!isAssociateWorkflow">
80 *ngIf="!isAssociateWorkflow"
81 [attr.data-tests-id]="'param-mandatory-' + (param.name || 'unnamed')"
82 [(checked)]="param.required"
83 [ngClass]="{'disabled':readonly}">
87 <div class="cell remove" *ngIf="!isAssociateWorkflow && !readonly">
92 [attr.data-tests-id]="'param-remove-' + (param.name || 'unnamed')"
93 (click)="onRemoveParam(param)"