This commit is contained in:
Omar Nabil
2026-02-21 23:53:59 -06:00
committed by GitHub
parent 7917f9fdda
commit d7975ac855
18 changed files with 71 additions and 39 deletions
@@ -114,7 +114,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="upcomingChargesColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="upcomingChargesColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Upcoming Charges Available' | translate }}</p> <p>{{ 'labels.messages.No Upcoming Charges Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -268,7 +268,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="openLoansColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="openLoansColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Active Loan Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Active Loan Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -357,7 +357,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="closedLoansColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="closedLoansColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Closed Loan Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Closed Loan Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -479,7 +479,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Active Saving Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Active Saving Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -523,7 +523,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Closed Saving Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Closed Saving Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -622,7 +622,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Active Fixed Deposit Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Active Fixed Deposit Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -667,7 +667,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Closed Fixed Deposit Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Closed Fixed Deposit Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -770,7 +770,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="openSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Active Recurring Deposit Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Active Recurring Deposit Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -815,7 +815,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSavingsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Closed Recurring Deposit Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Closed Recurring Deposit Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -917,7 +917,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="openSharesColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="openSharesColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Active Share Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Active Share Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -965,7 +965,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSharesColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="closedSharesColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Closed Share Accounts Available' | translate }}</p> <p>{{ 'labels.messages.No Closed Share Accounts Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -1039,7 +1039,7 @@
<ng-container matColumnDef="no-data"> <ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="collateralsColumns.length"> <td mat-footer-cell *matFooterCellDef [attr.colspan]="collateralsColumns.length">
<div class="no-data-message"> <div class="table-empty-state">
<p>{{ 'labels.messages.No Collateral Data Available' | translate }}</p> <p>{{ 'labels.messages.No Collateral Data Available' | translate }}</p>
</div> </div>
</td> </td>
@@ -56,15 +56,3 @@
align-items: center; /* Ensure buttons are vertically aligned */ align-items: center; /* Ensure buttons are vertically aligned */
gap: 0.5rem; /* Add spacing between buttons if needed */ gap: 0.5rem; /* Add spacing between buttons if needed */
} }
.no-data-message {
text-align: center;
padding: 40px 20px;
color: var(--mdc-theme-text-secondary-on-background, #666);
font-size: 14px;
cursor: auto;
p {
margin: 0;
}
}
@@ -120,8 +120,19 @@
</td> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="identitiesColumns.length">
<div class="table-empty-state">
<p>{{ 'labels.messages.No Identities Available' | translate }}</p>
</div>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="identitiesColumns"></tr> <tr mat-header-row *matHeaderRowDef="identitiesColumns"></tr>
<tr mat-row *matRowDef="let row; columns: identitiesColumns"></tr> <tr mat-row *matRowDef="let row; columns: identitiesColumns"></tr>
@if (clientIdentities?.length === 0) {
<tr mat-footer-row *matFooterRowDef="['no-data']"></tr>
}
</table> </table>
</div> </div>
@@ -20,7 +20,11 @@ import {
MatHeaderRowDef, MatHeaderRowDef,
MatHeaderRow, MatHeaderRow,
MatRowDef, MatRowDef,
MatRow MatRow,
MatFooterCellDef,
MatFooterCell,
MatFooterRowDef,
MatFooterRow
} from '@angular/material/table'; } from '@angular/material/table';
import { ActivatedRoute } from '@angular/router'; import { ActivatedRoute } from '@angular/router';
@@ -60,7 +64,11 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
MatHeaderRowDef, MatHeaderRowDef,
MatHeaderRow, MatHeaderRow,
MatRowDef, MatRowDef,
MatRow MatRow,
MatFooterCellDef,
MatFooterCell,
MatFooterRowDef,
MatFooterRow
] ]
}) })
export class IdentitiesTabComponent implements OnDestroy { export class IdentitiesTabComponent implements OnDestroy {
+12
View File
@@ -87,3 +87,15 @@ mat-card-title {
padding-left: 20px; padding-left: 20px;
padding-top: 20px; padding-top: 20px;
} }
.table-empty-state {
text-align: center;
padding: 40px 20px;
color: var(--mdc-theme-text-secondary-on-background, #666);
font-size: 14px;
cursor: auto;
p {
margin: 0;
}
}
+2 -1
View File
@@ -3629,7 +3629,8 @@
"No Closed Recurring Deposit Accounts Available": "Žádné uzavřené opakující se účty s vkladem k dispozici", "No Closed Recurring Deposit Accounts Available": "Žádné uzavřené opakující se účty s vkladem k dispozici",
"No Active Share Accounts Available": "Žádné aktivní účty podílů k dispozici", "No Active Share Accounts Available": "Žádné aktivní účty podílů k dispozici",
"No Closed Share Accounts Available": "Žádné uzavřené účty podílů k dispozici", "No Closed Share Accounts Available": "Žádné uzavřené účty podílů k dispozici",
"No Collateral Data Available": "Žádná data o kolaterálu k dispozici" "No Collateral Data Available": "Žádná data o kolaterálu k dispozici",
"No Identities Available": "Žádné identity k dispozici"
}, },
"languages": { "languages": {
"cs-CS": "Čeština", "cs-CS": "Čeština",
+2 -1
View File
@@ -3629,7 +3629,8 @@
"No Closed Recurring Deposit Accounts Available": "Keine geschlossenen wiederkehrenden Einlagenkonten verfügbar", "No Closed Recurring Deposit Accounts Available": "Keine geschlossenen wiederkehrenden Einlagenkonten verfügbar",
"No Active Share Accounts Available": "Keine aktiven Aktienkonten verfügbar", "No Active Share Accounts Available": "Keine aktiven Aktienkonten verfügbar",
"No Closed Share Accounts Available": "Keine geschlossenen Aktienkonten verfügbar", "No Closed Share Accounts Available": "Keine geschlossenen Aktienkonten verfügbar",
"No Collateral Data Available": "Keine Sicherheiten verfügbar" "No Collateral Data Available": "Keine Sicherheiten verfügbar",
"No Identities Available": "Keine Identitäten verfügbar"
}, },
"languages": { "languages": {
"cs-CS": "Čeština (Tschechisch)", "cs-CS": "Čeština (Tschechisch)",
+2 -1
View File
@@ -3846,7 +3846,8 @@
"No Closed Recurring Deposit Accounts Available": "No Closed Recurring Deposit Accounts Available", "No Closed Recurring Deposit Accounts Available": "No Closed Recurring Deposit Accounts Available",
"No Active Share Accounts Available": "No Active Share Accounts Available", "No Active Share Accounts Available": "No Active Share Accounts Available",
"No Closed Share Accounts Available": "No Closed Share Accounts Available", "No Closed Share Accounts Available": "No Closed Share Accounts Available",
"No Collateral Data Available": "No Collateral Data Available" "No Collateral Data Available": "No Collateral Data Available",
"No Identities Available": "No Identities Available"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3631,7 +3631,8 @@
"No Closed Recurring Deposit Accounts Available": "No hay cuentas de depósito recurrente cerradas disponibles", "No Closed Recurring Deposit Accounts Available": "No hay cuentas de depósito recurrente cerradas disponibles",
"No Active Share Accounts Available": "No hay cuentas de acciones activas disponibles", "No Active Share Accounts Available": "No hay cuentas de acciones activas disponibles",
"No Closed Share Accounts Available": "No hay cuentas de acciones cerradas disponibles", "No Closed Share Accounts Available": "No hay cuentas de acciones cerradas disponibles",
"No Collateral Data Available": "No hay datos de garantía disponibles" "No Collateral Data Available": "No hay datos de garantía disponibles",
"No Identities Available": "No hay identidades disponibles"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3709,7 +3709,8 @@
"No Closed Recurring Deposit Accounts Available": "No hay cuentas de depósito recurrente cerradas disponibles", "No Closed Recurring Deposit Accounts Available": "No hay cuentas de depósito recurrente cerradas disponibles",
"No Active Share Accounts Available": "No hay cuentas de acciones activas disponibles", "No Active Share Accounts Available": "No hay cuentas de acciones activas disponibles",
"No Closed Share Accounts Available": "No hay cuentas de acciones cerradas disponibles", "No Closed Share Accounts Available": "No hay cuentas de acciones cerradas disponibles",
"No Collateral Data Available": "No hay datos de garantía disponibles" "No Collateral Data Available": "No hay datos de garantía disponibles",
"No Identities Available": "No hay identidades disponibles"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3632,7 +3632,8 @@
"No Closed Recurring Deposit Accounts Available": "Aucun compte de dépôt récurrent fermé disponible", "No Closed Recurring Deposit Accounts Available": "Aucun compte de dépôt récurrent fermé disponible",
"No Active Share Accounts Available": "Aucun compte d'actions actif disponible", "No Active Share Accounts Available": "Aucun compte d'actions actif disponible",
"No Closed Share Accounts Available": "Aucun compte d'actions fermé disponible", "No Closed Share Accounts Available": "Aucun compte d'actions fermé disponible",
"No Collateral Data Available": "Aucune donnée de garantie disponible" "No Collateral Data Available": "Aucune donnée de garantie disponible",
"No Identities Available": "Aucune identité disponible"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3629,7 +3629,8 @@
"No Closed Recurring Deposit Accounts Available": "Nessun conto di deposito ricorrente chiuso disponibile", "No Closed Recurring Deposit Accounts Available": "Nessun conto di deposito ricorrente chiuso disponibile",
"No Active Share Accounts Available": "Nessun conto di azioni attivo disponibile", "No Active Share Accounts Available": "Nessun conto di azioni attivo disponibile",
"No Closed Share Accounts Available": "Nessun conto di azioni chiuso disponibile", "No Closed Share Accounts Available": "Nessun conto di azioni chiuso disponibile",
"No Collateral Data Available": "Nessun dato collaterale disponibile" "No Collateral Data Available": "Nessun dato collaterale disponibile",
"No Identities Available": "Nessuna identità disponibile"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3630,7 +3630,8 @@
"No Closed Recurring Deposit Accounts Available": "해지된 적립식 예금 계정이 없습니다", "No Closed Recurring Deposit Accounts Available": "해지된 적립식 예금 계정이 없습니다",
"No Active Share Accounts Available": "활성 주식 계정이 없습니다", "No Active Share Accounts Available": "활성 주식 계정이 없습니다",
"No Closed Share Accounts Available": "해지된 주식 계정이 없습니다", "No Closed Share Accounts Available": "해지된 주식 계정이 없습니다",
"No Collateral Data Available": "담보 데이터가 없습니다" "No Collateral Data Available": "담보 데이터가 없습니다",
"No Identities Available": "신원이 없습니다"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3630,7 +3630,8 @@
"No Closed Recurring Deposit Accounts Available": "Nėra uždarytų pasikartojančių indėlių sąskaitų", "No Closed Recurring Deposit Accounts Available": "Nėra uždarytų pasikartojančių indėlių sąskaitų",
"No Active Share Accounts Available": "Nėra aktyvių akcijų sąskaitų", "No Active Share Accounts Available": "Nėra aktyvių akcijų sąskaitų",
"No Closed Share Accounts Available": "Nėra uždarytų akcijų sąskaitų", "No Closed Share Accounts Available": "Nėra uždarytų akcijų sąskaitų",
"No Collateral Data Available": "Nėra užstato duomenų" "No Collateral Data Available": "Nėra užstato duomenų",
"No Identities Available": "Nėra galimų tapatybių"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3630,7 +3630,8 @@
"No Closed Recurring Deposit Accounts Available": "Nav slēgtu periodisku noguldījumu kontu", "No Closed Recurring Deposit Accounts Available": "Nav slēgtu periodisku noguldījumu kontu",
"No Active Share Accounts Available": "Nav aktīvu akciju kontu", "No Active Share Accounts Available": "Nav aktīvu akciju kontu",
"No Closed Share Accounts Available": "Nav slēgtu akciju kontu", "No Closed Share Accounts Available": "Nav slēgtu akciju kontu",
"No Collateral Data Available": "Nav pieejamu nodrošinājuma datu" "No Collateral Data Available": "Nav pieejamu nodrošinājuma datu",
"No Identities Available": "Nav pieejamu identitāšu"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3628,7 +3628,8 @@
"No Closed Recurring Deposit Accounts Available": "कुनै बन्द आवर्ती जम्मा खाताहरू उपलब्ध छैनन्", "No Closed Recurring Deposit Accounts Available": "कुनै बन्द आवर्ती जम्मा खाताहरू उपलब्ध छैनन्",
"No Active Share Accounts Available": "कुनै सक्रिय शेयर खाताहरू उपलब्ध छैनन्", "No Active Share Accounts Available": "कुनै सक्रिय शेयर खाताहरू उपलब्ध छैनन्",
"No Closed Share Accounts Available": "कुनै बन्द शेयर खाताहरू उपलब्ध छैनन्", "No Closed Share Accounts Available": "कुनै बन्द शेयर खाताहरू उपलब्ध छैनन्",
"No Collateral Data Available": "कुनै संपार्श्विक डाटा उपलब्ध छैन" "No Collateral Data Available": "कुनै संपार्श्विक डाटा उपलब्ध छैन",
"No Identities Available": "कुनै पहिचान उपलब्ध छैन"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3629,7 +3629,8 @@
"No Closed Recurring Deposit Accounts Available": "Nenhuma conta de depósito recorrente encerrada disponível", "No Closed Recurring Deposit Accounts Available": "Nenhuma conta de depósito recorrente encerrada disponível",
"No Active Share Accounts Available": "Nenhuma conta de ações ativa disponível", "No Active Share Accounts Available": "Nenhuma conta de ações ativa disponível",
"No Closed Share Accounts Available": "Nenhuma conta de ações encerrada disponível", "No Closed Share Accounts Available": "Nenhuma conta de ações encerrada disponível",
"No Collateral Data Available": "Nenhum dado de garantia disponível" "No Collateral Data Available": "Nenhum dado de garantia disponível",
"No Identities Available": "Nenhuma identidade disponível"
} }
}, },
"languages": { "languages": {
+2 -1
View File
@@ -3627,7 +3627,8 @@
"No Closed Recurring Deposit Accounts Available": "Hakuna akaunti za amana za mara kwa mara zilizofungwa zinapatikana", "No Closed Recurring Deposit Accounts Available": "Hakuna akaunti za amana za mara kwa mara zilizofungwa zinapatikana",
"No Active Share Accounts Available": "Hakuna akaunti za hisa zinazofanya kazi zinapatikana", "No Active Share Accounts Available": "Hakuna akaunti za hisa zinazofanya kazi zinapatikana",
"No Closed Share Accounts Available": "Hakuna akaunti za hisa zilizofungwa zinapatikana", "No Closed Share Accounts Available": "Hakuna akaunti za hisa zilizofungwa zinapatikana",
"No Collateral Data Available": "Hakuna data ya dhamana inayopatikana" "No Collateral Data Available": "Hakuna data ya dhamana inayopatikana",
"No Identities Available": "Hakuna Vitambulisho Vinavyopatikana"
} }
}, },
"languages": { "languages": {