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 (valueChange)="onChangeName()"
23 [readonly]="readonly">
25 <span *ngIf="isAssociateWorkflow">{{param.name}}</span>
28 <div class="cell field-type">
30 *ngIf="!isAssociateWorkflow"
31 data-tests-id="paramType"
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 || !isAssociateWorkflow"
43 data-tests-id="paramProperty"
44 [values]="filteredInputProps"
46 (valueChange)="onChangeProperty($event)"
47 [readonly]="readonly">
48 </ui-element-dropdown>
50 *ngIf="!filteredInputProps.length && isAssociateWorkflow"
51 class="no-properties-error">
52 {{ 'PARAM_NONE_OF_TYPE' | translate }}
56 <div class="cell field-mandatory" *ngIf="!isAssociateWorkflow">
58 *ngIf="!isAssociateWorkflow"
59 data-tests-id="paramMandatory"
60 [(checked)]="param.required"
61 [ngClass]="{'disabled':readonly}">
65 <div class="cell remove" *ngIf="!isAssociateWorkflow && !readonly">
70 testId="removeInputParam"
71 (click)="onRemoveParam(param)"