WEB-215 Merge angular-update-19 into dev to upgrade Angular from v18 to v19 (#2530)
This commit is contained in:
@@ -4,11 +4,43 @@ 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']
|
||||
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;
|
||||
|
||||
@@ -6,11 +6,41 @@ import { LoanAccountTableComponent } from '../loan-account-table/loan-account-ta
|
||||
import { SavingsAccountTableComponent } from '../savings-account-table/savings-account-table.component';
|
||||
import { ShareAccountTableComponent } from '../share-account-table/share-account-table.component';
|
||||
import { MemberGroupsComponent } from '../member-groups/member-groups.component';
|
||||
import {
|
||||
MatCardHeader,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatCardSubtitle,
|
||||
MatCardContent
|
||||
} from '@angular/material/card';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
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-client-navigation',
|
||||
templateUrl: './client-navigation.component.html',
|
||||
styleUrls: ['./client-navigation.component.scss']
|
||||
styleUrls: ['./client-navigation.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatCardHeader,
|
||||
FaIconComponent,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatTooltip,
|
||||
MatCardSubtitle,
|
||||
MatTabGroup,
|
||||
MatTab,
|
||||
LoanAccountTableComponent,
|
||||
SavingsAccountTableComponent,
|
||||
ShareAccountTableComponent,
|
||||
MemberGroupsComponent,
|
||||
StatusLookupPipe,
|
||||
DateFormatPipe
|
||||
]
|
||||
})
|
||||
export class ClientNavigationComponent {
|
||||
@ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent;
|
||||
|
||||
@@ -4,11 +4,39 @@ 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 { 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-group-navigation',
|
||||
templateUrl: './group-navigation.component.html',
|
||||
styleUrls: ['./group-navigation.component.scss']
|
||||
styleUrls: ['./group-navigation.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatCardHeader,
|
||||
FaIconComponent,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatTooltip,
|
||||
MatCardSubtitle,
|
||||
MatTabGroup,
|
||||
MatTab,
|
||||
LoanAccountTableComponent,
|
||||
SavingsAccountTableComponent,
|
||||
StatusLookupPipe,
|
||||
DateFormatPipe
|
||||
]
|
||||
})
|
||||
export class GroupNavigationComponent {
|
||||
@ViewChild(LoanAccountTableComponent) loanAccountTableComponent: LoanAccountTableComponent;
|
||||
|
||||
@@ -1,16 +1,51 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, ViewChild } from '@angular/core';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatSort, MatSortHeader } from '@angular/material/sort';
|
||||
import {
|
||||
MatTableDataSource,
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow
|
||||
} from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { StatusLookupPipe } from '../../pipes/status-lookup.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-loan-account-table',
|
||||
templateUrl: './loan-account-table.component.html',
|
||||
styleUrls: ['./loan-account-table.component.scss']
|
||||
styleUrls: ['./loan-account-table.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatTable,
|
||||
MatSort,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatSortHeader,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
FaIconComponent,
|
||||
MatTooltip,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatPaginator,
|
||||
StatusLookupPipe
|
||||
]
|
||||
})
|
||||
export class LoanAccountTableComponent {
|
||||
/** Columns to be displayed in the loan accounts table. */
|
||||
|
||||
@@ -1,13 +1,42 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, ViewChild } from '@angular/core';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatSort, MatSortHeader } from '@angular/material/sort';
|
||||
import {
|
||||
MatTableDataSource,
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow
|
||||
} from '@angular/material/table';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-member-groups',
|
||||
templateUrl: './member-groups.component.html',
|
||||
styleUrls: ['./member-groups.component.scss']
|
||||
styleUrls: ['./member-groups.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatTable,
|
||||
MatSort,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatSortHeader,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatPaginator
|
||||
]
|
||||
})
|
||||
export class MemberGroupsComponent {
|
||||
/** Columns to be displayed in the member groups table. */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { Router, ActivatedRoute } from '@angular/router';
|
||||
import { UntypedFormControl } from '@angular/forms';
|
||||
import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
|
||||
|
||||
/** Custom Services */
|
||||
import { NavigationService } from './navigation.service';
|
||||
@@ -12,6 +12,7 @@ import { StaffNavigationComponent } from './staff-navigation/staff-navigation.co
|
||||
import { CenterNavigationComponent } from './center-navigation/center-navigation.component';
|
||||
import { GroupNavigationComponent } from './group-navigation/group-navigation.component';
|
||||
import { ClientNavigationComponent } from './client-navigation/client-navigation.component';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
/**
|
||||
* Navigation component.
|
||||
@@ -19,7 +20,15 @@ import { ClientNavigationComponent } from './client-navigation/client-navigation
|
||||
@Component({
|
||||
selector: 'mifosx-navigation',
|
||||
templateUrl: './navigation.component.html',
|
||||
styleUrls: ['./navigation.component.scss']
|
||||
styleUrls: ['./navigation.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
OfficeNavigationComponent,
|
||||
StaffNavigationComponent,
|
||||
CenterNavigationComponent,
|
||||
GroupNavigationComponent,
|
||||
ClientNavigationComponent
|
||||
]
|
||||
})
|
||||
export class NavigationComponent implements OnInit {
|
||||
/** Navigation Components */
|
||||
|
||||
@@ -27,9 +27,7 @@ import { MemberGroupsComponent } from './member-groups/member-groups.component';
|
||||
imports: [
|
||||
SharedModule,
|
||||
PipesModule,
|
||||
NavigationRoutingModule
|
||||
],
|
||||
declarations: [
|
||||
NavigationRoutingModule,
|
||||
NavigationComponent,
|
||||
OfficeNavigationComponent,
|
||||
StaffNavigationComponent,
|
||||
|
||||
@@ -1,10 +1,31 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input } from '@angular/core';
|
||||
import {
|
||||
MatCardHeader,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatCardSubtitle,
|
||||
MatCardContent
|
||||
} from '@angular/material/card';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component';
|
||||
import { DateFormatPipe } from '../../pipes/date-format.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-office-navigation',
|
||||
templateUrl: './office-navigation.component.html',
|
||||
styleUrls: ['./office-navigation.component.scss']
|
||||
styleUrls: ['./office-navigation.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatCardHeader,
|
||||
FaIconComponent,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatCardSubtitle,
|
||||
ExternalIdentifierComponent,
|
||||
DateFormatPipe
|
||||
]
|
||||
})
|
||||
export class OfficeNavigationComponent {
|
||||
@Input() officeData: any;
|
||||
|
||||
@@ -1,16 +1,51 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, ViewChild } from '@angular/core';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatSort, MatSortHeader } from '@angular/material/sort';
|
||||
import {
|
||||
MatTableDataSource,
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow
|
||||
} from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { StatusLookupPipe } from '../../pipes/status-lookup.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-savings-account-table',
|
||||
templateUrl: './savings-account-table.component.html',
|
||||
styleUrls: ['./savings-account-table.component.scss']
|
||||
styleUrls: ['./savings-account-table.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatTable,
|
||||
MatSort,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatSortHeader,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
FaIconComponent,
|
||||
MatTooltip,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatPaginator,
|
||||
StatusLookupPipe
|
||||
]
|
||||
})
|
||||
export class SavingsAccountTableComponent {
|
||||
/** Columns to be displayed in the savings accounts table. */
|
||||
|
||||
@@ -1,16 +1,51 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, ViewChild } from '@angular/core';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatSort, MatSortHeader } from '@angular/material/sort';
|
||||
import {
|
||||
MatTableDataSource,
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow
|
||||
} from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { StatusLookupPipe } from '../../pipes/status-lookup.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-share-account-table',
|
||||
templateUrl: './share-account-table.component.html',
|
||||
styleUrls: ['./share-account-table.component.scss']
|
||||
styleUrls: ['./share-account-table.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatTable,
|
||||
MatSort,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatSortHeader,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
FaIconComponent,
|
||||
MatTooltip,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatPaginator,
|
||||
StatusLookupPipe
|
||||
]
|
||||
})
|
||||
export class ShareAccountTableComponent {
|
||||
/** Columns to be displayed in the share accounts table. */
|
||||
|
||||
@@ -1,10 +1,33 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input } from '@angular/core';
|
||||
import {
|
||||
MatCardHeader,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatCardSubtitle,
|
||||
MatCardContent
|
||||
} from '@angular/material/card';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { DateFormatPipe } from '../../pipes/date-format.pipe';
|
||||
import { YesnoPipe } from '../../pipes/yesno.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-staff-navigation',
|
||||
templateUrl: './staff-navigation.component.html',
|
||||
styleUrls: ['./staff-navigation.component.scss']
|
||||
styleUrls: ['./staff-navigation.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatCardHeader,
|
||||
FaIconComponent,
|
||||
MatCardTitleGroup,
|
||||
MatCardTitle,
|
||||
MatTooltip,
|
||||
MatCardSubtitle,
|
||||
DateFormatPipe,
|
||||
YesnoPipe
|
||||
]
|
||||
})
|
||||
export class StaffNavigationComponent {
|
||||
@Input() employeeData: any;
|
||||
|
||||
Reference in New Issue
Block a user