[SDC-31] add mising script got Comformance fix
[sdc.git] / catalog-ui / src / app / ng2 / components / properties-table / properties-value-inner-table / properties-value-inner-table.component.html
1
2 <template  ngFor let-childProp [ngForOf]="property.childrenProperties" let-i="index">
3     <div class="table-inner-row" (click)="onChildPropertySelected(childProp)" [ngClass]="{'selected': selectedPropertyId === childProp.treeNodeId}">
4         <div class="table-cell" [ngClass]="{'filtered':childProp.name === propertyNameSearchText}">
5             <checkbox [label]="childProp.name" [(checked)]="childProp.isSelected" [disabled]="property.isDisabled"></checkbox>
6         </div>
7         <div class="table-cell  prop-value">
8             <input class="value-input" *ngIf="childProp.isSimpleType"
9                    [(ngModel)]="property.valueObjectRef[childProp.name]"
10                    (change)="putDefaultValueInEmptyChildProperty(childProp);propValueChanged();"
11                    type="childProp.derivedFromSimpleTypeName || childProp.type"/>
12             <span class="datatype-text" *ngIf="childProp.isDataType">{{ childProp.type | contentAfterLastDot }}</span>
13             <span *ngIf="!childProp.isSimpleType" (click)="property.updateExpandedChildPropertyId(childProp.treeNodeId)">V</span>
14         </div>
15     </div>
16     <div class="table-inner-row" *ngIf="childProp.type === 'list' && property.expandedChildPropertyId === childProp.treeNodeId">
17             <list-property [property]="childProp"
18                            [selectedPropertyId]="selectedPropertyId"
19                            [propertyNameSearchText]="propertyNameSearchText"
20                             (valueChanged)="propValueChanged()"
21                             (selectChildProperty)="onChildPropertySelected($event)"></list-property>
22
23     </div>
24     <div class="table-inner-row" *ngIf="childProp.type === 'map' && property.expandedChildPropertyId == childProp.treeNodeId">
25             <map-property [property]="childProp"
26                             [selectedPropertyId]="selectedPropertyId"
27                           [propertyNameSearchText]="propertyNameSearchText"
28                             (valueChanged)="propValueChanged()"
29                             (selectChildProperty)="onChildPropertySelected($event)"></map-property>
30
31     </div>
32     <div class="table-inner-row" *ngIf="childProp.isDataType && property.expandedChildPropertyId == childProp.treeNodeId">
33             <properties-value-inner-table [property]="childProp"
34                                           [selectedPropertyId]="selectedPropertyId"
35                                           [propertyNameSearchText]="propertyNameSearchText"
36                                             (selectChildProperty)="onChildPropertySelected($event)"
37                                             (valueChanged)="propValueChanged()"></properties-value-inner-table>
38     </div>
39 </template>
40
41