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
@@ -1,7 +1,7 @@
<div class="tab-container mat-typography" *ngIf="checkerData">
<div fxLayout="row" fxLayoutAlign="start center">
<div class="search-box" fxFlex="40%">
<mat-form-field fxFlex="90%">
<div class="layout-row align-start-center">
<div class="search-box flex-40">
<mat-form-field class="flex-fill flex-90">
<input
matInput
placeholder="{{ 'labels.text.Search by user' | translate }}"
@@ -9,7 +9,7 @@
/>
</mat-form-field>
</div>
<div fxFlex="60%" fxLayoutGap="0.5rem">
<div class="flex-60 gap-8px">
<button mat-raised-button color="success" (click)="approveChecker()">
<fa-icon icon="check" class="m-r-10"></fa-icon>{{ 'labels.buttons.Approve' | translate }}
</button>
@@ -23,8 +23,8 @@
</div>
<form [formGroup]="makerCheckerSearchForm">
<div fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column">
<mat-form-field fxFlex="31%" (click)="makerDateTimeFromPicker.open()">
<div class="layout-row-wrap gap-2px responsive-column">
<mat-form-field class="flex-fill flex-31" (click)="makerDateTimeFromPicker.open()">
<mat-label>{{ 'labels.inputs.From Date' | translate }}</mat-label>
<input
matInput
@@ -37,7 +37,7 @@
<mat-datepicker #makerDateTimeFromPicker></mat-datepicker>
</mat-form-field>
<mat-form-field fxFlex="31%" (click)="makerDateTimetoPicker.open()">
<mat-form-field class="flex-fill flex-31" (click)="makerDateTimetoPicker.open()">
<mat-label>{{ 'labels.inputs.To Date' | translate }}</mat-label>
<input
matInput
@@ -50,7 +50,7 @@
<mat-datepicker #makerDateTimetoPicker></mat-datepicker>
</mat-form-field>
<mat-form-field fxFlex="31%">
<mat-form-field class="flex-31">
<mat-label>{{ 'labels.inputs.Action' | translate }}</mat-label>
<mat-select formControlName="actionName">
<mat-option *ngFor="let action of makerCheckerTemplate.actionNames" [value]="action">
@@ -59,7 +59,7 @@
</mat-select>
</mat-form-field>
<mat-form-field fxFlex="31%">
<mat-form-field class="flex-31">
<mat-label>{{ 'labels.inputs.Entity' | translate }}</mat-label>
<mat-select formControlName="entityName">
<mat-option *ngFor="let entity of makerCheckerTemplate.entityNames" [value]="entity">
@@ -68,7 +68,7 @@
</mat-select>
</mat-form-field>
<mat-form-field fxFlex="31%">
<mat-form-field class="flex-31">
<mat-label>{{ 'labels.inputs.Resource ID' | translate }}</mat-label>
<input matInput formControlName="resourceId" />
</mat-form-field>
@@ -32,11 +32,11 @@
background-color: #e8f4fd;
padding: 6px 16px;
font-size: 0.875rem;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.0107em;
letter-spacing: normal;
margin: 10px;
.message {
@@ -1,7 +1,7 @@
<div class="tab-container mat-typography" *ngIf="showData">
<div fxLayout="row" fxLayoutAlign="start center">
<div class="search-box" fxFlex="40%">
<mat-form-field fxFlex="90%">
<div class="layout-row align-start-center">
<div class="search-box flex-40">
<mat-form-field class="flex-fill flex-90">
<input
matInput
placeholder="{{ 'labels.text.Filter by name' | translate }}"
@@ -9,7 +9,7 @@
/>
</mat-form-field>
</div>
<div fxFlex="60%">
<div class="flex-60">
<button mat-raised-button color="success" *mifosxHasPermission="'ACTIVATE_CLIENT'" (click)="approveClients()">
<fa-icon icon="check" class="m-r-10"></fa-icon>{{ 'labels.buttons.Approve' | translate }}
</button>
@@ -16,11 +16,11 @@
background-color: #e8f4fd;
padding: 6px 16px;
font-size: 0.875rem;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.0107em;
letter-spacing: normal;
margin: 10px;
.message {
@@ -1,7 +1,7 @@
<div class="tab-container mat-typography" *ngIf="showData">
<div fxLayout="row" fxLayoutAlign="start center">
<div class="search-box" fxFlex="40%">
<mat-form-field fxFlex="90%">
<div class="layout-row align-start-center">
<div class="search-box flex-40">
<mat-form-field class="flex-fill flex-90">
<input
matInput
placeholder="{{ 'labels.text.Filter by name' | translate }}"
@@ -9,7 +9,7 @@
/>
</mat-form-field>
</div>
<div fxFlex="60%">
<div class="flex-60">
<button mat-raised-button color="success" *mifosxHasPermission="'APPROVE_LOAN'" (click)="approveLoan()">
<fa-icon icon="check" class="m-r-10"></fa-icon>{{ 'labels.buttons.Approve' | translate }}
</button>
@@ -16,11 +16,11 @@
background-color: #e8f4fd;
padding: 6px 16px;
font-size: 0.875rem;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.0107em;
letter-spacing: normal;
margin: 10px;
.message {
@@ -1,7 +1,7 @@
<div class="tab-container mat-typography" *ngIf="loans && loans.length > 0">
<div fxLayout="row" fxLayoutAlign="start center">
<div class="search-box" fxFlex="40%">
<mat-form-field fxFlex="90%">
<div class="layout-row align-start-center">
<div class="search-box flex-40">
<mat-form-field class="flex-fill flex-90">
<input
matInput
placeholder="{{ 'labels.text.Filter by name' | translate }}"
@@ -9,7 +9,7 @@
/>
</mat-form-field>
</div>
<div fxFlex="60%">
<div class="flex-60">
<button mat-raised-button color="success" *mifosxHasPermission="'APPROVE_LOAN'" (click)="disburseLoan()">
<fa-icon icon="check" class="m-r-10"></fa-icon>{{ 'labels.menus.Disburse' | translate }}
</button>
@@ -16,11 +16,11 @@
background-color: #e8f4fd;
padding: 6px 16px;
font-size: 0.875rem;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.0107em;
letter-spacing: normal;
margin: 10px;
.message {
@@ -1,7 +1,7 @@
<div class="tab-container mat-typography" *ngIf="loans && loans.length > 0">
<div fxLayout="row" fxLayoutAlign="start center">
<div class="search-box" fxFlex="40%">
<mat-form-field fxFlex="90%">
<div class="layout-row align-start-center">
<div class="search-box flex-40">
<mat-form-field class="flex-90">
<input
matInput
placeholder="{{ 'labels.text.Filter by name' | translate }}"
@@ -9,7 +9,7 @@
/>
</mat-form-field>
</div>
<div fxFlex="60%">
<div class="flex-60">
<button
mat-raised-button
color="success"
@@ -16,11 +16,11 @@
background-color: #e8f4fd;
padding: 6px 16px;
font-size: 0.875rem;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.0107em;
letter-spacing: normal;
margin: 10px;
.message {