aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-06-11 14:22:02 +0300
committerMichael Lando <ml636r@att.com>2017-06-11 17:48:32 +0300
commitb3d4898d9e8452ea0b8d848c048e712d43b8d9a3 (patch)
tree0609319203be13f6c29ccbe24cb39c9d64f90095 /catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html
parentaf9929df75604ce407d0ca542b200630164e0ae6 (diff)
[SDC-29] rebase continue work to align source
Change-Id: I218f1c5ee23fb2c8314f1c70921d3ad8682c10f4 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html')
-rw-r--r--catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html b/catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html
deleted file mode 100644
index e1975175a8..0000000000
--- a/catalog-ui/src/app/ng2/components/properties-table/map-property/map-property.component.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="add-data-row">
- <div class="sprite-new add-item-icon" (click)="addMapItemFields()"></div>
-</div>
-
-<!--the ngFor runs on dummy array in mapKey array length and not on maKeys array in order to prevent from page do the ngFor again when user changes a key-->
-<template ngFor let-num [ngForOf]="getNumber(mapKeys.length)" let-i="index">
- <div class="table-inner-row"
- [ngClass]="{'selected': property.schema.property.isDataType && selectedPropertyId === property.childrenProperties[i].treeNodeId}"
- (click)="property.schema.property.isDataType && onChildPropertySelected(property.childrenProperties[i])">
- <div class="table-cell">
- <input class="value-input" (keyup)="changeKeyOfMap(mapKeys[i], i);$event.stopPropagation();"
- [(ngModel)]="mapKeys[i]"
- name="mapKey{{property.treeNodeId}}{{i}}"
- (change)="propValueChanged()"/>
- </div>
- <div class="table-cell">
- <input class="value-input" *ngIf="property.schema.property.isSimpleType"
- [(ngModel)]="property.valueObjectRef[mapKeys[i]]"
- type="property.schema.property.derivedFromSimpleTypeName || property.schema.property.type"
- (change)="propValueChanged()"/>
- <div *ngIf="property.schema.property.isDataType">
- <div>{{ property.schema.property.type | contentAfterLastDot }}</div>
- <span (click)="property.updateExpandedChildPropertyId(property.childrenProperties[i].treeNodeId)">V</span>
- </div>
- <span class="delete-span sprite-new delete-item-icon" (click)="deleteMapItem(i)"></span>
- </div>
- </div>
- <div class="table-inner-row" *ngIf="property.schema.property.isDataType && property.expandedChildPropertyId == property.childrenProperties[i].treeNodeId">
- <div class="inner-table-container">
- <properties-value-inner-table [property]="property.childrenProperties[i]"
- [selectedPropertyId]="selectedPropertyId"
- [propertyNameSearchText]="propertyNameSearchText"
- (selectChildProperty)="onChildPropertySelected($event)"
- (valueChanged)="propValueChanged()"></properties-value-inner-table>
- </div>
- </div>
-</template>
-