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 data-tests-id="paramName"
21 [(value)]="param.name"
22 [readonly]="readonly">
24 <span *ngIf="isAssociateWorkflow">{{param.name}}</span>
27 <div class="cell field-type">
29 *ngIf="!isAssociateWorkflow"
30 data-tests-id="paramType"
31 [values]="propTypeEnum"
32 [(value)]="param.type"
33 (valueChange)="onChangeType()"
34 [readonly]="readonly">
35 </ui-element-dropdown>
36 <span *ngIf="isAssociateWorkflow">{{param.type}}</span>
39 <div class="cell field-property" *ngIf="isInputParam">
41 *ngIf="filteredInputProps.length || !isAssociateWorkflow"
42 data-tests-id="paramProperty"
43 [values]="filteredInputProps"
44 [(value)]="param.property"
45 [readonly]="readonly">
46 </ui-element-dropdown>
48 *ngIf="!filteredInputProps.length && isAssociateWorkflow"
49 class="no-properties-error">
50 No available properties of this type.
54 <div class="cell field-mandatory" *ngIf="!isAssociateWorkflow">
56 *ngIf="!isAssociateWorkflow"
57 data-tests-id="paramMandatory"
58 [(checked)]="param.mandatory"
59 [ngClass]="{'disabled':readonly}">
63 <div class="cell remove" *ngIf="!isAssociateWorkflow && !readonly">
65 class="sprite-new delete-item-icon"
66 data-tests-id="removeInputParam"
67 (click)="onRemoveParam(param)">