/** * Copyright since 2025 Mifos Initiative * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** Angular Imports */ import { Component, Input, ViewChild } from '@angular/core'; /** Custom Components */ import { LoanAccountTableComponent } from '../loan-account-table/loan-account-table.component'; import { SavingsAccountTableComponent } from '../savings-account-table/savings-account-table.component'; import { MatCardHeader, MatCardTitleGroup, MatCardTitle, MatCardSubtitle, MatCardContent } from '@angular/material/card'; import { FaIconComponent } from '@fortawesome/angular-fontawesome'; import { MatTooltip } from '@angular/material/tooltip'; import { AccountNumberComponent } from '../../shared/account-number/account-number.component'; import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component'; import { MatTabGroup, MatTab } from '@angular/material/tabs'; import { StatusLookupPipe } from '../../pipes/status-lookup.pipe'; import { DateFormatPipe } from '../../pipes/date-format.pipe'; import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @Component({ selector: 'mifosx-center-navigation', templateUrl: './center-navigation.component.html', styleUrls: ['./center-navigation.component.scss'], imports: [ ...STANDALONE_SHARED_IMPORTS, MatCardHeader, FaIconComponent, MatCardTitleGroup, MatCardTitle, MatTooltip, MatCardSubtitle, AccountNumberComponent, ExternalIdentifierComponent, MatTabGroup, MatTab, LoanAccountTableComponent, SavingsAccountTableComponent, StatusLookupPipe, DateFormatPipe ] }) export class CenterNavigationComponent { @ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent; @ViewChild(SavingsAccountTableComponent) savingsAccountTableComponent: SavingsAccountTableComponent; @Input() centerData: any; @Input() centerAccountsData: any; @Input() centerSummaryData: any; @Input() groupData: any; constructor() {} }