|
|
|
@ -18,48 +18,48 @@ |
|
|
|
<!-- <div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>--> |
|
|
|
<!-- <div mat-dialog-content class="flex flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Entity Name</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="entityName" required readonly="">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Entity Label</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="entityLabel">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Entity Type</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="entityType" readonly>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Type</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="type" readonly>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div formGroupName="attributes" class="flex flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Latitude</mat-label>--> |
|
|
|
<!-- <input type="number" step="any" matInput formControlName="latitude">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Longitude</mat-label>--> |
|
|
|
<!-- <input type="number" step="any" matInput formControlName="longitude">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Address</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="address">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Owner</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="owner">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Integer Value</mat-label>--> |
|
|
|
<!-- <input type="number" step="1" matInput formControlName="number">--> |
|
|
|
<!-- <mat-error *ngIf="editEntityFormGroup.get('attributes.number').hasError('pattern')">--> |
|
|
|
@ -82,7 +82,7 @@ |
|
|
|
<!-- <div [formGroupName]="i" class="mat-elevation-z2 flex flex-1 flex-row" style="padding: 5px 0 5px 5px;">--> |
|
|
|
<!-- <div class="flex flex-1 flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;" appearance="outline">--> |
|
|
|
<!-- <mat-label>Direction</mat-label>--> |
|
|
|
<!-- <mat-select formControlName="direction" name="direction">--> |
|
|
|
<!-- <mat-option *ngFor="let direction of entitySearchDirection | keyvalue" [value]="direction.value">--> |
|
|
|
@ -94,6 +94,7 @@ |
|
|
|
<!-- </mat-error>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <tb-relation-type-autocomplete--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- formControlName="relationType"--> |
|
|
|
<!-- required="true">--> |
|
|
|
@ -101,6 +102,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row xs:flex-col">--> |
|
|
|
<!-- <tb-entity-select--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- required="true"--> |
|
|
|
<!-- formControlName="relatedEntity">--> |
|
|
|
@ -128,7 +130,7 @@ |
|
|
|
<!-- <div [formGroupName]="i" class="mat-elevation-z2 flex flex-1 flex-row" style="padding: 5px 0 5px 5px;">--> |
|
|
|
<!-- <div class="flex flex-1 flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;" appearance="outline">--> |
|
|
|
<!-- <mat-label>Direction</mat-label>--> |
|
|
|
<!-- <mat-select formControlName="direction" name="direction">--> |
|
|
|
<!-- <mat-option *ngFor="let direction of entitySearchDirection | keyvalue" [value]="direction.value">--> |
|
|
|
@ -140,6 +142,7 @@ |
|
|
|
<!-- </mat-error>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <tb-relation-type-autocomplete--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- formControlName="relationType"--> |
|
|
|
<!-- [required]="true">--> |
|
|
|
@ -147,6 +150,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row xs:flex-col">--> |
|
|
|
<!-- <tb-entity-select--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- [required]="true"--> |
|
|
|
<!-- formControlName="relatedEntity">--> |
|
|
|
@ -210,26 +214,28 @@ |
|
|
|
<!-- <div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>--> |
|
|
|
<!-- <div mat-dialog-content class="flex flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Entity Name</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="entityName" required>--> |
|
|
|
<!-- <mat-error *ngIf="addEntityFormGroup.get('entityName').hasError('required')">--> |
|
|
|
<!-- Entity name is required.--> |
|
|
|
<!-- </mat-error>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Entity Label</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="entityLabel" >--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <tb-entity-type-select--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block"--> |
|
|
|
<!-- formControlName="entityType"--> |
|
|
|
<!-- [showLabel]="true"--> |
|
|
|
<!-- [allowedEntityTypes]="allowedEntityTypes"--> |
|
|
|
<!-- ></tb-entity-type-select>--> |
|
|
|
<!-- <tb-entity-subtype-autocomplete--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- *ngIf="addEntityFormGroup.get('entityType').value == 'ASSET'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- formControlName="type"--> |
|
|
|
@ -237,6 +243,7 @@ |
|
|
|
<!-- [entityType]="'ASSET'"--> |
|
|
|
<!-- ></tb-entity-subtype-autocomplete>--> |
|
|
|
<!-- <tb-entity-subtype-autocomplete--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- *ngIf="addEntityFormGroup.get('entityType').value != 'ASSET'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- formControlName="type"--> |
|
|
|
@ -246,27 +253,27 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div formGroupName="attributes" class="flex flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Latitude</mat-label>--> |
|
|
|
<!-- <input type="number" step="any" matInput formControlName="latitude">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Longitude</mat-label>--> |
|
|
|
<!-- <input type="number" step="any" matInput formControlName="longitude">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Address</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="address">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Owner</mat-label>--> |
|
|
|
<!-- <input matInput formControlName="owner">--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1">--> |
|
|
|
<!-- <mat-form-field class="mat-block flex-1" appearance="outline">--> |
|
|
|
<!-- <mat-label>Integer Value</mat-label>--> |
|
|
|
<!-- <input type="number" step="1" matInput formControlName="number">--> |
|
|
|
<!-- <mat-error *ngIf="addEntityFormGroup.get('attributes.number').hasError('pattern')">--> |
|
|
|
@ -288,7 +295,7 @@ |
|
|
|
<!-- <div [formGroupName]="i" class="mat-elevation-z2 flex flex-1 flex-row" style="padding: 5px 0 5px 5px;">--> |
|
|
|
<!-- <div class="flex flex-1 flex-col">--> |
|
|
|
<!-- <div class="flex flex-row gap-2 xs:flex-col xs:gap-0">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;">--> |
|
|
|
<!-- <mat-form-field class="mat-block" style="min-width: 100px;" appearance="outline">--> |
|
|
|
<!-- <mat-label>Direction</mat-label>--> |
|
|
|
<!-- <mat-select formControlName="direction" name="direction">--> |
|
|
|
<!-- <mat-option *ngFor="let direction of entitySearchDirection | keyvalue" [value]="direction.value">--> |
|
|
|
@ -300,6 +307,7 @@ |
|
|
|
<!-- </mat-error>--> |
|
|
|
<!-- </mat-form-field>--> |
|
|
|
<!-- <tb-relation-type-autocomplete--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- formControlName="relationType"--> |
|
|
|
<!-- [required]="true">--> |
|
|
|
@ -307,6 +315,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex flex-row xs:flex-col">--> |
|
|
|
<!-- <tb-entity-select--> |
|
|
|
<!-- [appearance]="'outline'"--> |
|
|
|
<!-- class="mat-block flex-1"--> |
|
|
|
<!-- [required]="true"--> |
|
|
|
<!-- formControlName="relatedEntity">--> |
|
|
|
|