2024-05-17 19:31:35 +03:00
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
Copyright © 2016-2024 The Thingsboard Authors
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
|
|
-->
|
2024-05-30 18:20:50 +03:00
|
|
|
<div class="tb-scada-symbol-editor-shape" #scadaSymbolShape></div>
|
2024-06-06 17:26:41 +03:00
|
|
|
<div class="tb-scada-symbol-editor-tooltips" #tooltipsContainer>
|
|
|
|
|
<tb-anchor #tooltipsContainerComponent></tb-anchor>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tb-scada-symbol-editor-buttons">
|
|
|
|
|
<div class="tb-scada-symbol-editor-zoom-buttons tb-primary-fill">
|
|
|
|
|
<button mat-icon-button
|
|
|
|
|
[disabled]="zoomInDisabled"
|
|
|
|
|
(click)="zoomIn()"
|
|
|
|
|
matTooltip="{{ 'scada.zoom-in' | translate }}"
|
|
|
|
|
matTooltipPosition="above">
|
|
|
|
|
<mat-icon>add</mat-icon>
|
|
|
|
|
</button>
|
|
|
|
|
<button mat-icon-button
|
|
|
|
|
[disabled]="zoomOutDisabled"
|
|
|
|
|
(click)="zoomOut()"
|
|
|
|
|
matTooltip="{{ 'scada.zoom-out' | translate }}"
|
|
|
|
|
matTooltipPosition="above">
|
|
|
|
|
<mat-icon>remove</mat-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tb-scada-symbol-editor-upload-buttons">
|
|
|
|
|
<div class="tb-primary-fill">
|
|
|
|
|
<button mat-icon-button
|
2024-06-07 15:41:57 +03:00
|
|
|
(click)="updateScadaSymbol.emit()"
|
2024-06-06 17:26:41 +03:00
|
|
|
matTooltip="{{ 'scada.update-symbol' | translate }}"
|
|
|
|
|
matTooltipPosition="above">
|
|
|
|
|
<mat-icon>file_upload</mat-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tb-primary-fill">
|
|
|
|
|
<button mat-icon-button
|
2024-06-07 15:41:57 +03:00
|
|
|
(click)="downloadScadaSymbol.emit()"
|
2024-06-06 17:26:41 +03:00
|
|
|
matTooltip="{{ 'scada.download-symbol' | translate }}"
|
|
|
|
|
matTooltipPosition="above">
|
|
|
|
|
<mat-icon>download</mat-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|