2024-08-05 00:49:43 +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.
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<mat-select
|
2024-08-08 17:49:11 +03:00
|
|
|
[class.hidden]="breakpointIds.length < 2"
|
|
|
|
|
class="select-dashboard-breakpoint"
|
|
|
|
|
[(ngModel)]="selectedBreakpoint"
|
2024-08-05 00:49:43 +03:00
|
|
|
(ngModelChange)="selectLayoutChanged()">
|
2024-08-16 13:42:55 +03:00
|
|
|
<mat-select-trigger>{{ getName(selectedBreakpoint) }}</mat-select-trigger>
|
2024-08-08 17:49:11 +03:00
|
|
|
<mat-option *ngFor="let breakpointId of breakpointIds" [value]="breakpointId">
|
2024-08-16 13:42:55 +03:00
|
|
|
<mat-icon><tb-icon>{{ getIcon(breakpointId) }}</tb-icon></mat-icon>
|
|
|
|
|
<div>{{ getName(breakpointId) }}</div>
|
|
|
|
|
<div style="font-size: 12px;letter-spacing: 0.4px;color: #9e9e9e;">{{ getSizeDescription(breakpointId) }}</div>
|
2024-08-05 00:49:43 +03:00
|
|
|
</mat-option>
|
|
|
|
|
</mat-select>
|