2 /*******************************************************************************
3 * Copyright (c) 2017 ZTE Corporation.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * and the Apache License 2.0 which both accompany this distribution,
7 * and are available at http://www.eclipse.org/legal/epl-v10.html
8 * and http://www.apache.org/licenses/LICENSE-2.0
11 * ZTE - initial API and implementation and/or initial documentation
12 *******************************************************************************/
14 <table cellpadding="10px">
16 <th style="width:35%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE' | translate }}</th>
17 <th style="width:45%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE_DEFAULT' | translate }}</th>
18 <th style="width:20%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE_OPERATION' | translate }}</th>
20 <tr *ngFor="let param of node.parameters; let i = index;" class="table-body">
22 <input [ngModel]="param.name" (ngModelChange)="checkKey($event, i)" class="plx-input"/>
23 <span *ngIf="param.errorMsg">{{param.errorMsg}}</span>
26 <input [(ngModel)]="param.value" class="plx-input" />
27 <span *ngIf="param.errorMsg"> </span>
30 <i class="plx-ico-delete-16 delete-icon" (click)="delete(i)"></i>
31 <span *ngIf="param.errorMsg"> </span>
36 <button (click)="create();" type="button" class="plx-btn">
37 <i class="plx-ico-new-16"></i>{{ 'WORKFLOW.PROCESS_VARIABLE_CREATE' | translate }}
39 <!-- <wfm-parameter *ngFor="let param of node.parameters; let i = index;" [param]="param" [canEditName]="true"
40 [valueSource]="sources" [canDelete]="true" (delete)="delete(i)"></wfm-parameter> -->