Browse Source

Additional fixes

pull/15306/head
Maksym Tsymbarov 7 months ago
parent
commit
fba53d602e
  1. 50
      ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-filter-config.component.html
  2. 3
      ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html
  3. 55
      ui-ngx/src/app/modules/home/components/alarm/alarm-filter-config.component.html
  4. 3
      ui-ngx/src/app/modules/home/components/attribute/add-attribute-dialog.component.html
  5. 52
      ui-ngx/src/app/modules/home/components/calculated-fields/table-header/calculated-fields-filter-config.component.html
  6. 36
      ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html
  7. 3
      ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.html
  8. 3
      ui-ngx/src/app/modules/home/components/profile/asset-profile-dialog.component.html
  9. 3
      ui-ngx/src/app/modules/home/components/profile/device-profile-dialog.component.html
  10. 3
      ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-dialog.component.html
  11. 3
      ui-ngx/src/app/modules/home/components/profile/tenant-profile-dialog.component.html
  12. 3
      ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html
  13. 3
      ui-ngx/src/app/modules/home/components/resources/resources-dialog.component.html
  14. 3
      ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions-dialog.component.html
  15. 3
      ui-ngx/src/app/modules/home/components/widget/dialog/embed-dashboard-dialog.component.html
  16. 3
      ui-ngx/src/app/modules/home/components/widget/lib/maps-legacy/dialogs/select-entity-dialog.component.html
  17. 3
      ui-ngx/src/app/modules/home/components/widget/lib/rpc/persistent-add-dialog.component.html
  18. 3
      ui-ngx/src/app/modules/home/components/widget/lib/rpc/persistent-details-dialog.component.html
  19. 3
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/key/data-key-config-dialog.component.html
  20. 3
      ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.html
  21. 3
      ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.html
  22. 3
      ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.html
  23. 6
      ui-ngx/src/app/modules/home/pages/admin/general-settings.component.html
  24. 3
      ui-ngx/src/app/modules/home/pages/admin/oauth2/clients/client-dialog.component.html
  25. 3
      ui-ngx/src/app/modules/home/pages/admin/security-settings.component.html
  26. 3
      ui-ngx/src/app/modules/home/pages/admin/send-test-sms-dialog.component.html
  27. 3
      ui-ngx/src/app/modules/home/pages/dashboard/import-dashboard-file-dialog.component.html
  28. 3
      ui-ngx/src/app/modules/home/pages/dashboard/make-dashboard-public-dialog.component.html
  29. 3
      ui-ngx/src/app/modules/home/pages/dashboard/manage-dashboard-customers-dialog.component.html
  30. 3
      ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app-dialog.component.html
  31. 3
      ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.html
  32. 3
      ui-ngx/src/app/modules/home/pages/user/activation-link-dialog.component.html
  33. 3
      ui-ngx/src/app/modules/home/pages/user/add-user-dialog.component.html
  34. 3
      ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html
  35. 3
      ui-ngx/src/app/modules/home/pages/widget/select-widget-type-dialog.component.html
  36. 3
      ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-dialog.component.html
  37. 3
      ui-ngx/src/app/shared/components/image/image-dialog.component.html
  38. 3
      ui-ngx/src/app/shared/components/image/upload-image-dialog.component.html

50
ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-filter-config.component.html

@ -67,56 +67,6 @@
</div> </div>
} }
} }
<ng-template #componentMode>
@if (buttonMode) {
<button color="primary"
matTooltip="{{buttonDisplayValue}}"
matTooltipPosition="above"
mat-stroked-button
(click)="toggleAlarmRuleFilterPanel($event)">
<mat-icon>filter_list</mat-icon>{{buttonDisplayValue}}
</button>
} @else {
<div class="tb-form-panel tb-alarm-filter-config-component no-padding no-border" [formGroup]="alarmRuleFilterConfigForm">
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>alarm-rule.alarm-rule-type-list</div>
<tb-entity-subtype-list subscriptSizing="dynamic"
formControlName="name"
appearance="outline"
[additionalClasses]="['tb-chips', 'flex']"
[entityType]="entityType.CALCULATED_FIELD">
</tb-entity-subtype-list>
</div>
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>entity.entity-type</div>
<mat-form-field class="flex-1" appearance="outline" subscriptSizing="dynamic">
<mat-select formControlName="entityType" placeholder="{{ 'alarm-rule.any-type' | translate }}">
<mat-option>{{ 'alarm-rule.any-type' | translate }}</mat-option>
@for (type of listEntityTypes; track type) {
<mat-option [value]="type">
{{ entityTypeTranslations.get(type)?.type | translate }}
</mat-option>
}
</mat-select>
</mat-form-field>
</div>
@if (alarmRuleFilterConfigForm.get('entityType').value) {
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>entity.entities</div>
<tb-entity-list appearance="outline"
subscriptSizing="dynamic"
class="flex flex-1"
inlineField
syncIdsWithDB
labelText="{{'entity.entity-list' | translate}}"
[entityType]="alarmRuleFilterConfigForm.get('entityType').value"
formControlName="entities">
</tb-entity-list>
</div>
}
</div>
}
</ng-template>
<ng-template #alarmRuleFilterPanel> <ng-template #alarmRuleFilterPanel>
<form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()"> <form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()">
<ng-container *ngTemplateOutlet="alarmFilter"></ng-container> <ng-container *ngTemplateOutlet="alarmFilter"></ng-container>

3
ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html

@ -25,8 +25,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content style="padding: 0"> <div mat-dialog-content style="padding: 0">

55
ui-ngx/src/app/modules/home/components/alarm/alarm-filter-config.component.html

@ -72,61 +72,6 @@
</div> </div>
} }
} }
<ng-template #componentMode>
@if (buttonMode) {
<button color="primary"
matTooltip="{{buttonDisplayValue}}"
matTooltipPosition="above"
mat-stroked-button
(click)="toggleAlarmFilterPanel($event)">
<mat-icon>filter_list</mat-icon>{{buttonDisplayValue}}
</button>
} @else {
<div class="tb-form-panel tb-alarm-filter-config-component no-padding no-border" [formGroup]="alarmFilterConfigForm">
<div class="tb-form-row space-between column-xs">
<div class="fixed-title-width" translate>alarm.alarm-status-list</div>
<mat-chip-listbox multiple formControlName="statusList">
@for (searchStatus of alarmSearchStatuses; track searchStatus) {
<mat-chip-option [value]="searchStatus">
{{ alarmSearchStatusTranslationMap.get(searchStatus) | translate }}
</mat-chip-option>
}
</mat-chip-listbox>
</div>
<div class="tb-form-row space-between column-xs">
<div class="fixed-title-width" translate>alarm.alarm-severity-list</div>
<mat-chip-listbox multiple formControlName="severityList">
@for (alarmSeverity of alarmSeverities; track alarmSeverity) {
<mat-chip-option [value]="alarmSeverity">
{{ alarmSeverityTranslationMap.get(alarmSeverityEnum[alarmSeverity]) | translate }}
</mat-chip-option>
}
</mat-chip-listbox>
</div>
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>alarm.alarm-type-list</div>
<tb-entity-subtype-list subscriptSizing="dynamic"
formControlName="typeList"
appearance="outline"
[additionalClasses]="['tb-chips', 'flex']"
[entityType]="entityType.ALARM">
</tb-entity-subtype-list>
</div>
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>alarm.assignee</div>
<tb-alarm-assignee-select class="flex-1" inline="true"
[userMode]="userMode"
formControlName="assigneeId">
</tb-alarm-assignee-select>
</div>
@if (propagatedFilter) {
<mat-slide-toggle class="mat-slide" formControlName="searchPropagatedAlarms">
{{ 'alarm.search-propagated-alarms' | translate }}
</mat-slide-toggle>
}
</div>
}
</ng-template>
<ng-template #alarmFilterPanel> <ng-template #alarmFilterPanel>
<form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()"> <form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()">
<ng-container *ngTemplateOutlet="alarmFilter"></ng-container> <ng-container *ngTemplateOutlet="alarmFilter"></ng-container>

3
ui-ngx/src/app/modules/home/components/attribute/add-attribute-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

52
ui-ngx/src/app/modules/home/components/calculated-fields/table-header/calculated-fields-filter-config.component.html

@ -69,58 +69,6 @@
</div> </div>
} }
} }
<ng-template #componentMode>
@if (buttonMode) {
<button color="primary"
matTooltip="{{buttonDisplayValue}}"
matTooltipPosition="above"
mat-stroked-button
(click)="toggleCfFilterPanel($event)">
<mat-icon>filter_list</mat-icon>{{buttonDisplayValue}}
</button>
} @else {
<div class="tb-form-panel tb-calculated-fields-config-component no-padding no-border" [formGroup]="cfFilterForm">
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>calculated-fields.calculated-field-types</div>
<tb-string-items-list subscriptSizing="dynamic"
formControlName="types"
appearance="outline"
fieldClass="flex"
class="flex-1"
placeholder="{{ !cfFilterForm.get('types').value?.length ? ('calculated-fields.any-type' | translate) : '' }}"
[predefinedValues]="types">
</tb-string-items-list>
</div>
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>entity.entity-type</div>
<mat-form-field class="flex-1" appearance="outline" subscriptSizing="dynamic">
<mat-select formControlName="entityType" placeholder="{{ 'alarm-rule.any-type' | translate }}">
<mat-option>{{ 'alarm-rule.any-type' | translate }}</mat-option>
@for (type of listEntityTypes; track type) {
<mat-option [value]="type">
{{ entityTypeTranslations.get(type)?.type | translate }}
</mat-option>
}
</mat-select>
</mat-form-field>
</div>
@if (cfFilterForm.get('entityType').value) {
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>entity.entities</div>
<tb-entity-list appearance="outline"
subscriptSizing="dynamic"
class="flex flex-1"
inlineField
syncIdsWithDB
labelText="{{'entity.entity-list' | translate}}"
[entityType]="cfFilterForm.get('entityType').value"
formControlName="entities">
</tb-entity-list>
</div>
}
</div>
}
</ng-template>
<ng-template #calculatedFieldsFilterPanel> <ng-template #calculatedFieldsFilterPanel>
<form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()"> <form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()">
<ng-container *ngTemplateOutlet="calculatedFieldsFilter"></ng-container> <ng-container *ngTemplateOutlet="calculatedFieldsFilter"></ng-container>

36
ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html

@ -53,42 +53,6 @@
</div> </div>
} }
} }
<ng-template #componentMode>
@if (buttonMode) {
<button color="primary"
matTooltip="{{buttonDisplayValue}}"
matTooltipPosition="above"
mat-stroked-button
(click)="toggleDeviceFilterPanel($event)">
<mat-icon>filter_list</mat-icon>{{buttonDisplayValue}}
</button>
} @else {
<div class="tb-device-filter-config-component tb-form-panel no-padding no-border" [formGroup]="deviceInfoFilterForm">
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>device-profile.device-profile</div>
<tb-device-profile-autocomplete
class="flex-1"
formControlName="deviceProfileId"
[inlineField]="true"
[displayAllOnEmpty]="true"
(deviceProfileChanged)="deviceProfileChanged($event)"
[editProfileEnabled]="false"
[addNewProfile]="false">
</tb-device-profile-autocomplete>
</div>
<div class="tb-form-row column-xs">
<div class="fixed-title-width" translate>device.device-state</div>
<mat-form-field class="flex-1" appearance="outline" subscriptSizing="dynamic">
<mat-select formControlName="active" placeholder="{{ 'device.any' | translate }}">
<mat-option>{{ 'device.any' | translate }}</mat-option>
<mat-option [value]="true">{{ 'device.active' | translate }}</mat-option>
<mat-option [value]="false">{{ 'device.inactive' | translate }}</mat-option>
</mat-select>
</mat-form-field>
</div>
</div>
}
</ng-template>
<ng-template #deviceFilterPanel> <ng-template #deviceFilterPanel>
<form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()"> <form class="mat-content mat-padding flex flex-col" (ngSubmit)="update()">
<ng-container *ngTemplateOutlet="deviceFilter"></ng-container> <ng-container *ngTemplateOutlet="deviceFilter"></ng-container>

3
ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/profile/asset-profile-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/profile/device-profile-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/profile/tenant-profile-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/resources/resources-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content style="position: relative; height: 500px;"> <div mat-dialog-content style="position: relative; height: 500px;">

3
ui-ngx/src/app/modules/home/components/widget/dialog/embed-dashboard-dialog.component.html

@ -26,8 +26,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div class="dashboard-state-dialog-content flex flex-1 flex-col" mat-dialog-content style="padding: 8px;"> <div class="dashboard-state-dialog-content flex flex-1 flex-col" mat-dialog-content style="padding: 8px;">

3
ui-ngx/src/app/modules/home/components/widget/lib/maps-legacy/dialogs/select-entity-dialog.component.html

@ -26,8 +26,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/widget/lib/rpc/persistent-add-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content class="add-dialog"> <div mat-dialog-content class="add-dialog">

3
ui-ngx/src/app/modules/home/components/widget/lib/rpc/persistent-details-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/key/data-key-config-dialog.component.html

@ -34,8 +34,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content style="padding: 0; height: 800px; overflow: auto;"> <div mat-dialog-content style="padding: 0; height: 800px; overflow: auto;">

3
ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

6
ui-ngx/src/app/modules/home/pages/admin/general-settings.component.html

@ -26,8 +26,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<mat-card-content> <mat-card-content>
@ -72,8 +71,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<mat-card-content> <mat-card-content>

3
ui-ngx/src/app/modules/home/pages/admin/oauth2/clients/client-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content style="padding: 0"> <div mat-dialog-content style="padding: 0">

3
ui-ngx/src/app/modules/home/pages/admin/security-settings.component.html

@ -26,8 +26,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<mat-card-content> <mat-card-content>

3
ui-ngx/src/app/modules/home/pages/admin/send-test-sms-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content tb-toast toastTarget="sendTestSmsDialogContent"> <div mat-dialog-content tb-toast toastTarget="sendTestSmsDialogContent">

3
ui-ngx/src/app/modules/home/pages/dashboard/import-dashboard-file-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/pages/dashboard/make-dashboard-public-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content tb-toast toastTarget="makeDashboardPublicDialogContent"> <div mat-dialog-content tb-toast toastTarget="makeDashboardPublicDialogContent">

3
ui-ngx/src/app/modules/home/pages/dashboard/manage-dashboard-customers-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div></div> <div></div>
} }
<div mat-dialog-content class="!p-0"> <div mat-dialog-content class="!p-0">

3
ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.html

@ -25,8 +25,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<mat-card-content style="padding-top: 16px"> <mat-card-content style="padding-top: 16px">

3
ui-ngx/src/app/modules/home/pages/user/activation-link-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content tb-toast toastTarget="activationLinkDialogContent"> <div mat-dialog-content tb-toast toastTarget="activationLinkDialogContent">

3
ui-ngx/src/app/modules/home/pages/user/add-user-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/pages/widget/select-widget-type-dialog.component.html

@ -29,8 +29,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/shared/components/image/image-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content> <div mat-dialog-content>

3
ui-ngx/src/app/shared/components/image/upload-image-dialog.component.html

@ -28,8 +28,7 @@
@if (isLoading$ | async) { @if (isLoading$ | async) {
<mat-progress-bar color="warn" mode="indeterminate"> <mat-progress-bar color="warn" mode="indeterminate">
</mat-progress-bar> </mat-progress-bar>
} } @else {
@if (!(isLoading$ | async)) {
<div style="height: 4px;"></div> <div style="height: 4px;"></div>
} }
<div mat-dialog-content class="relative"> <div mat-dialog-content class="relative">

Loading…
Cancel
Save