ML
Size: a a a
ML
ML
ML
ML
SФ
SФ
ML
AO
A
<ng-container *ngFor="let column of columnsStorages">
<ng-container [matColumnDef]="column.property">
<mat-header-cell *matHeaderCellDef mat-sort-header> {{ column.name }}</mat-header-cell>
<mat-cell *matCellDef="let row" (click)="handleAlertClick(row)"
>{{some content}}</mat-cell>
</ng-container></ng-container>
I
MI
I
<mat-form-field class="form-input">
<div class="input-wrapper">
<span class="material-icons">person</span>
<input matInput class="input" type="email" name="email" (blur)="validateEmail()" formControlName="email"
[readonly]="disabledForm">
</div>
<mat-error class="input-error" *ngIf="loginForm.get('email').touched && formErrorsText['email']" translate>
{{ formErrorsText['email'] }}
</mat-error>
<mat-error class="input-error" *ngIf="!(validEmail$ | async)">
{{ 'AUTH.LOGIN.INVALID_EMAIL'| translate }}
</mat-error>
</mat-form-field>
<mat-error class="input-error" *ngIf="!(validEmail$ | async)">
{{ 'AUTH.LOGIN.INVALID_EMAIL'| translate }}
</mat-error>
<div class="input-error" *ngIf="!(validEmail$ | async)">
{{ 'AUTH.LOGIN.INVALID_EMAIL'| translate }}
</div>
validateEmail(): void {
if (this.loginForm.valid) {
this.validEmail$ = this.emailValidationService.checkEmail(this.loginForm.get('email').value)
.pipe(map(response => !response?.trust_rate || response?.trust_rate < 50));
}
}
VD
<ng-container *ngFor="let column of columnsStorages">
<ng-container [matColumnDef]="column.property">
<mat-header-cell *matHeaderCellDef mat-sort-header> {{ column.name }}</mat-header-cell>
<mat-cell *matCellDef="let row" (click)="handleAlertClick(row)"
>{{some content}}</mat-cell>
</ng-container></ng-container>
VD
N
<ng-container *ngFor="let column of columnsStorages">
<ng-container [matColumnDef]="column.property">
<mat-header-cell *matHeaderCellDef mat-sort-header> {{ column.name }}</mat-header-cell>
<mat-cell *matCellDef="let row" (click)="handleAlertClick(row)"
>{{some content}}</mat-cell>
</ng-container></ng-container>
ML
ML
SФ
SФ