Upgrade to Angular 16

Merge `angular-update-16` into `dev` branch
This commit is contained in:
Adam Saghy
2025-05-23 18:47:20 +02:00
parent c7c2f60182
commit 19a14e5b5b
882 changed files with 14895 additions and 14340 deletions
@@ -8,13 +8,15 @@
<p *ngIf="!otpRequested">{{ 'labels.text.Please select a delivery method' | translate }}:</p>
<form
fxLayout="column"
class="layout-column two-factor-auth-form"
*ngIf="!otpRequested"
[formGroup]="twoFactorAuthenticationDeliveryMethodForm"
class="two-factor-auth-form"
(ngSubmit)="requestOTP()"
>
<mat-radio-group fxLayout="column" fxFlexAlign="center" formControlName="twoFactorAuthenticationDeliveryMethod">
<mat-radio-group
class="layout-column align-center radio-group-spacing"
formControlName="twoFactorAuthenticationDeliveryMethod"
>
<mat-radio-button
*ngFor="let twoFactorAuthenticationDeliveryMethod of twoFactorAuthenticationDeliveryMethods"
[value]="twoFactorAuthenticationDeliveryMethod"
@@ -27,8 +29,7 @@
<button
mat-raised-button
color="primary"
fxFlexAlign="center"
fxFlexFill
class="flex-fill align-center"
[disabled]="!twoFactorAuthenticationDeliveryMethodForm.valid"
>
{{ 'labels.buttons.Request OTP' | translate }}
@@ -40,13 +41,12 @@
<p *ngIf="otpRequested">{{ 'labels.text.Please enter the OTP' | translate }}:</p>
<form
fxLayout="column"
class="layout-column two-factor-auth-form"
*ngIf="otpRequested"
[formGroup]="twoFactorAuthenticationForm"
class="two-factor-auth-form"
(ngSubmit)="validateOTP()"
>
<mat-form-field fxFlexAlign="center" class="two-factor-auth-input">
<mat-form-field class="two-factor-auth-input flex-fill align-center">
<span matPrefix>
<fa-icon icon="user-shield" class="m-r-10"></fa-icon>
</span>
@@ -69,8 +69,7 @@
<button
mat-raised-button
color="primary"
fxFlexAlign="center"
class="two-factor-auth-button"
class="two-factor-auth-button align-center"
[disabled]="!twoFactorAuthenticationForm.valid"
>
{{ 'labels.buttons.Validate OTP' | translate }}
@@ -80,8 +79,7 @@
<button
type="button"
mat-button
fxFlexAlign="center"
class="two-factor-auth-button"
class="two-factor-auth-button align-center"
(click)="resendOTP()"
[disabled]="loading || resendOTPLoading"
>