WEB-215 Merge angular-update-19 into dev to upgrade Angular from v18 to v19 (#2530)

This commit is contained in:
Gopi Kishan
2025-06-20 19:03:06 -06:00
committed by GitHub
parent 263ddf0198
commit 6ee9897bd1
722 changed files with 17740 additions and 4075 deletions
@@ -1,12 +1,16 @@
import { Component, OnInit } from '@angular/core';
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
import { OrganizationService } from 'app/organization/organization.service';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
selector: 'mifosx-create-fund',
templateUrl: './create-fund.component.html',
styleUrls: ['./create-fund.component.scss']
styleUrls: ['./create-fund.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS
]
})
export class CreateFundComponent implements OnInit {
/** Charge form. */
@@ -1,12 +1,16 @@
import { Component, OnInit } from '@angular/core';
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormBuilder, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
import { OrganizationService } from 'app/organization/organization.service';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
selector: 'mifosx-edit-fund',
templateUrl: './edit-fund.component.html',
styleUrls: ['./edit-fund.component.scss']
styleUrls: ['./edit-fund.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS
]
})
export class EditFundComponent implements OnInit {
/** Selected Data. */
@@ -1,6 +1,6 @@
/** Angular Imports */
import { Component, OnInit, TemplateRef, ElementRef, ViewChild, AfterViewInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
import { MatDialog } from '@angular/material/dialog';
import { UntypedFormBuilder, Validators } from '@angular/forms';
@@ -19,8 +19,23 @@ import { ConfigurationWizardService } from '../../configuration-wizard/configura
/** Custom Dialog Component */
import { ContinueSetupDialogComponent } from '../../configuration-wizard/continue-setup-dialog/continue-setup-dialog.component';
import { MatPaginator } from '@angular/material/paginator';
import { MatTableDataSource } from '@angular/material/table';
import { MatSort } from '@angular/material/sort';
import {
MatTableDataSource,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { MatSort, MatSortHeader } from '@angular/material/sort';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { ExternalIdentifierComponent } from '../../shared/external-identifier/external-identifier.component';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Manage Funds component.
@@ -28,7 +43,25 @@ import { MatSort } from '@angular/material/sort';
@Component({
selector: 'mifosx-manage-funds',
templateUrl: './manage-funds.component.html',
styleUrls: ['./manage-funds.component.scss']
styleUrls: ['./manage-funds.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
FaIconComponent,
MatTable,
MatSort,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatSortHeader,
MatCellDef,
MatCell,
ExternalIdentifierComponent,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
MatPaginator
]
})
export class ManageFundsComponent implements OnInit, AfterViewInit {
/** Manage Funds data. */
@@ -1,10 +1,18 @@
import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { ActivatedRoute, RouterLink } from '@angular/router';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
selector: 'mifosx-view-fund',
templateUrl: './view-fund.component.html',
styleUrls: ['./view-fund.component.scss']
styleUrls: ['./view-fund.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
FaIconComponent,
ExternalIdentifierComponent
]
})
export class ViewFundComponent {
/** Fund data. */