UI support for default custom function names
[sdc.git] / catalog-ui / src / app / ng2 / pages / composition / interface-operatons / operation-creator / input-list / input-list.component.html
1 <!--
2   ~ -
3   ~  ============LICENSE_START=======================================================
4   ~  Copyright (C) 2022 Nordix Foundation.
5   ~  ================================================================================
6   ~  Licensed under the Apache License, Version 2.0 (the "License");
7   ~  you may not use this file except in compliance with the License.
8   ~  You may obtain a copy of the License at
9   ~
10   ~       http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~  Unless required by applicable law or agreed to in writing, software
13   ~  distributed under the License is distributed on an "AS IS" BASIS,
14   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   ~  See the License for the specific language governing permissions and
16   ~  limitations under the License.
17   ~
18   ~  SPDX-License-Identifier: Apache-2.0
19   ~  ============LICENSE_END=========================================================
20   -->
21
22 <label *ngIf="title">{{title}}</label>
23 <div class="input-tree">
24   <div *ngIf="!_inputs.length">
25     {{emptyMessage}}
26   </div>
27   <ul *ngFor="let input of _inputs">
28     <app-input-list-item
29         [name]="input.name"
30         [type]="getDataType(input.type)"
31         [dataTypeMap]="dataTypeMap"
32         [valueObjRef]="input.value"
33         [schema]="input.schema"
34         [toscaFunction]="input.toscaFunction"
35         [showToscaFunctionOption]="showToscaFunctionOption"
36         [isViewOnly]="isViewOnly"
37         [allowDeletion]="allowDeletion"
38         [componentInstanceMap]="componentInstanceMap"
39         [customToscaFunctions]="customToscaFunctions"
40         (onValueChange)="onValueChange($event)"
41         (onDelete)="onDelete($event)">
42     </app-input-list-item>
43   </ul>
44 </div>