2023-09-01 18:55:29 +03:00
|
|
|
<!--
|
|
|
|
|
|
2024-01-09 10:46:16 +02:00
|
|
|
Copyright © 2016-2024 The Thingsboard Authors
|
2023-09-01 18:55:29 +03:00
|
|
|
|
|
|
|
|
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-toolbar color="primary">
|
|
|
|
|
<h2 translate>widgets-bundle.export</h2>
|
2024-10-10 15:09:59 +03:00
|
|
|
<span class="flex-1"></span>
|
2023-09-01 18:55:29 +03:00
|
|
|
<button mat-icon-button
|
|
|
|
|
(click)="cancel()"
|
|
|
|
|
type="button">
|
|
|
|
|
<mat-icon class="material-icons">close</mat-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</mat-toolbar>
|
2024-08-16 16:21:16 +03:00
|
|
|
<mat-progress-bar color="warn" mode="indeterminate" *ngIf="(isLoading$ | async) && !ignoreLoading">
|
2023-09-01 18:55:29 +03:00
|
|
|
</mat-progress-bar>
|
|
|
|
|
<div mat-dialog-content>
|
2024-08-16 16:21:16 +03:00
|
|
|
<fieldset [disabled]="(isLoading$ | async) && !ignoreLoading">
|
2023-09-01 18:55:29 +03:00
|
|
|
<mat-checkbox [formControl]="exportWidgetsFormControl">{{ 'widgets-bundle.export-widgets-bundle-widgets-prompt' | translate }}</mat-checkbox>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</div>
|
2024-10-10 15:09:59 +03:00
|
|
|
<div mat-dialog-actions class="flex justify-end items-center">
|
2023-09-01 18:55:29 +03:00
|
|
|
<button mat-button color="primary"
|
|
|
|
|
type="button"
|
2024-08-16 16:21:16 +03:00
|
|
|
[disabled]="(isLoading$ | async) && !ignoreLoading"
|
2023-09-01 18:55:29 +03:00
|
|
|
(click)="cancel()">
|
|
|
|
|
{{ 'action.cancel' | translate }}
|
|
|
|
|
</button>
|
|
|
|
|
<button mat-raised-button color="primary"
|
|
|
|
|
(click)="export()"
|
2024-08-16 16:21:16 +03:00
|
|
|
[disabled]="(isLoading$ | async) && !ignoreLoading">
|
2023-09-01 18:55:29 +03:00
|
|
|
{{ 'action.export' | translate }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|