-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90a71f1
commit 2eafa5f
Showing
10 changed files
with
113 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
projects/hslayers/components/query/attribute-row/attribute-row.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...ts/hslayers/components/query/default-info-panel-body/default-info-panel-body.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,39 @@ | ||
@if (isVisible$ | async) { | ||
<div class="card hs-main-panel" [ngClass]="panelWidthClass"> | ||
<hs-panel-header name="query" [panelTabs]="'INFO'"></hs-panel-header> | ||
@if (noFeatureSelected()) { | ||
<div class="card hs-main-panel"> | ||
<div class="d-flex flex-column align-items-center p-4"> | ||
<i class="icon-cursor bg-primary p-3 text-white rounded " | ||
style="font-size: 1.5rem; color:hsl(208, 100%, 97%)"></i> | ||
<p class="h4">{{'QUERY.infoPanel.noFeaturesSelected' | translateHs }}</p> | ||
<p class="small">{{'QUERY.infoPanel.clickOnMap' | translateHs }}</p> | ||
</div> | ||
</div> | ||
} | ||
@if (hsLayoutService.mainpanel === 'query') { | ||
<hs-query-default-info-panel-body> | ||
</hs-query-default-info-panel-body> | ||
} | ||
<hs-custom-info-panel-body></hs-custom-info-panel-body> | ||
@if (hsQueryBaseService?.coordinates !== undefined && hsQueryBaseService?.coordinates.length > 0) { | ||
<div class="container-fluid" | ||
> | ||
<div class="row"> | ||
<div class="col-12 m-2"><strong>{{hsQueryBaseService?.coordinates[0].name}}</strong></div> | ||
</div> | ||
<div class="row"> | ||
<div class="input-group m-1"> | ||
@if (hsQueryBaseService?.coordinates.length>0) { | ||
<select class="form-control form-select" [(ngModel)]="hsQueryBaseService.selectedProj" | ||
[ngModelOptions]="{standalone: true}"> | ||
@for (projection of hsQueryBaseService.coordinates[0].projections; track projection) { | ||
<option | ||
[ngValue]="projection">{{projection.name}}</option> | ||
} | ||
</select> | ||
} | ||
<input class="form-control" [value]="hsQueryBaseService.selectedProj.value" readonly=""> | ||
</div> | ||
</div> | ||
<div class="card hs-main-panel" [ngClass]="panelWidthClass"> | ||
<hs-panel-header name="query" [panelTabs]="'INFO'"></hs-panel-header> | ||
@if (noFeatureSelected()) { | ||
<div class="card hs-main-panel"> | ||
<div class="d-flex flex-column align-items-center p-4"> | ||
<i class="icon-cursor bg-primary p-3 text-white rounded " | ||
style="font-size: 1.5rem; color:hsl(208, 100%, 97%)"></i> | ||
<p class="h4">{{'QUERY.infoPanel.noFeaturesSelected' | translateHs }}</p> | ||
<p class="small">{{'QUERY.infoPanel.clickOnMap' | translateHs }}</p> | ||
</div> | ||
</div> | ||
} | ||
@if (hsLayoutService.mainpanel === 'query') { | ||
<ng-container *ngComponentOutlet="infoPanelComponent"> | ||
</ng-container> | ||
} | ||
@if (hsQueryBaseService?.coordinates !== undefined && hsQueryBaseService?.coordinates.length > 0) { | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-12 m-2"><strong>{{hsQueryBaseService?.coordinates[0].name}}</strong></div> | ||
</div> | ||
<div class="row"> | ||
<div class="input-group m-1"> | ||
@if (hsQueryBaseService?.coordinates.length>0) { | ||
<select class="form-control form-select" [(ngModel)]="hsQueryBaseService.selectedProj" | ||
[ngModelOptions]="{standalone: true}"> | ||
@for (projection of hsQueryBaseService.coordinates[0].projections; track projection) { | ||
<option [ngValue]="projection">{{projection.name}}</option> | ||
} | ||
</select> | ||
} | ||
<input class="form-control" [value]="hsQueryBaseService.selectedProj.value" readonly=""> | ||
</div> | ||
} | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {InjectionToken, Type} from '@angular/core'; | ||
|
||
export const QUERY_INFO_PANEL = new InjectionToken<Type<any>>( | ||
'QUERY_INFO_PANEL', | ||
); |