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
@@ -11,6 +11,10 @@ import { SharesAccountChargesStepComponent } from '../shares-account-stepper/sha
import { SharesService } from '../shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { SharesAccountPreviewStepComponent } from '../shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Create Shares Account Component
@@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-create-shares-account',
templateUrl: './create-shares-account.component.html',
styleUrls: ['./create-shares-account.component.scss']
styleUrls: ['./create-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatStepper,
MatStepperIcon,
FaIconComponent,
MatStep,
MatStepLabel,
SharesAccountDetailsStepComponent,
SharesAccountTermsStepComponent,
SharesAccountChargesStepComponent,
SharesAccountPreviewStepComponent
]
})
export class CreateSharesAccountComponent {
/** Shares Account Template */
@@ -11,6 +11,10 @@ import { SharesAccountChargesStepComponent } from '../shares-account-stepper/sha
import { SharesService } from '../shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { MatStepper, MatStepperIcon, MatStep, MatStepLabel } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { SharesAccountPreviewStepComponent } from '../shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Edit Shares Account Component
@@ -18,7 +22,19 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-edit-shares-account',
templateUrl: './edit-shares-account.component.html',
styleUrls: ['./edit-shares-account.component.scss']
styleUrls: ['./edit-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatStepper,
MatStepperIcon,
FaIconComponent,
MatStep,
MatStepLabel,
SharesAccountDetailsStepComponent,
SharesAccountTermsStepComponent,
SharesAccountChargesStepComponent,
SharesAccountPreviewStepComponent
]
})
export class EditSharesAccountComponent {
/** Shares Account and Template */
@@ -1,12 +1,13 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Activate Shares Account Component
@@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-activate-shares-account',
templateUrl: './activate-shares-account.component.html',
styleUrls: ['./activate-shares-account.component.scss']
styleUrls: ['./activate-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS
]
})
export class ActivateSharesAccountComponent implements OnInit {
/** Minimum date allowed. */
@@ -1,12 +1,13 @@
/** Angular Imports */
import { Component, OnInit, Input } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Apply Shares Component
@@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-apply-shares',
templateUrl: './apply-shares.component.html',
styleUrls: ['./apply-shares.component.scss']
styleUrls: ['./apply-shares.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS
]
})
export class ApplySharesComponent implements OnInit {
/** Shares account data. */
@@ -1,12 +1,14 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Approve Shares Account Component
@@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-approve-shares-account',
templateUrl: './approve-shares-account.component.html',
styleUrls: ['./approve-shares-account.component.scss']
styleUrls: ['./approve-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
CdkTextareaAutosize
]
})
export class ApproveSharesAccountComponent implements OnInit {
/** Minimum date allowed. */
@@ -1,6 +1,15 @@
/** Angular Imports */
import { Component, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import {
MatDialogRef,
MAT_DIALOG_DATA,
MatDialogTitle,
MatDialogContent,
MatDialogActions,
MatDialogClose
} from '@angular/material/dialog';
import { CdkScrollable } from '@angular/cdk/scrolling';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Approve share dialog component.
@@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
@Component({
selector: 'mifosx-approve-share-dialog',
templateUrl: './approve-share-dialog.component.html',
styleUrls: ['./approve-share-dialog.component.scss']
styleUrls: ['./approve-share-dialog.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatDialogTitle,
CdkScrollable,
MatDialogContent,
MatDialogActions,
MatDialogClose
]
})
export class ApproveShareDialogComponent {
/**
@@ -1,8 +1,19 @@
/** Angular Imports */
import { Component, OnInit, ViewChild, Input } 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,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { MatDialog } from '@angular/material/dialog';
import { MatTable } from '@angular/material/table';
@@ -13,6 +24,11 @@ import { ApproveShareDialogComponent } from './approve-share-dialog/approve-shar
/** Custom Serices */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { NgClass } from '@angular/common';
import { MatTooltip } from '@angular/material/tooltip';
import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Approve shares component.
@@ -20,7 +36,27 @@ import { SettingsService } from 'app/settings/settings.service';
@Component({
selector: 'mifosx-approve-shares',
templateUrl: './approve-shares.component.html',
styleUrls: ['./approve-shares.component.scss']
styleUrls: ['./approve-shares.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatTable,
MatSort,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatSortHeader,
MatCellDef,
MatCell,
NgClass,
MatTooltip,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
MatPaginator,
StatusLookupPipe,
DateFormatPipe
]
})
export class ApproveSharesComponent implements OnInit {
/** Shares account data. */
@@ -1,12 +1,14 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Close Shares Account Component
@@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-close-shares-account',
templateUrl: './close-shares-account.component.html',
styleUrls: ['./close-shares-account.component.scss']
styleUrls: ['./close-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
CdkTextareaAutosize
]
})
export class CloseSharesAccountComponent implements OnInit {
/** Minimum date allowed. */
@@ -1,12 +1,13 @@
/** Angular Imports */
import { Component, OnInit, Input } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Redeem Shares Component
@@ -14,7 +15,10 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-redeem-shares',
templateUrl: './redeem-shares.component.html',
styleUrls: ['./redeem-shares.component.scss']
styleUrls: ['./redeem-shares.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS
]
})
export class RedeemSharesComponent implements OnInit {
/** Shares account data. */
@@ -1,12 +1,14 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Reject Shares Account Component
@@ -14,7 +16,11 @@ import { Dates } from 'app/core/utils/dates';
@Component({
selector: 'mifosx-reject-shares-account',
templateUrl: './reject-shares-account.component.html',
styleUrls: ['./reject-shares-account.component.scss']
styleUrls: ['./reject-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
CdkTextareaAutosize
]
})
export class RejectSharesAccountComponent implements OnInit {
/** Minimum date allowed. */
@@ -1,6 +1,15 @@
/** Angular Imports */
import { Component, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import {
MatDialogRef,
MAT_DIALOG_DATA,
MatDialogTitle,
MatDialogContent,
MatDialogActions,
MatDialogClose
} from '@angular/material/dialog';
import { CdkScrollable } from '@angular/cdk/scrolling';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Reject share dialog component.
@@ -8,7 +17,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
@Component({
selector: 'mifosx-reject-share-dialog',
templateUrl: './reject-share-dialog.component.html',
styleUrls: ['./reject-share-dialog.component.scss']
styleUrls: ['./reject-share-dialog.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatDialogTitle,
CdkScrollable,
MatDialogContent,
MatDialogActions,
MatDialogClose
]
})
export class RejectShareDialogComponent {
/**
@@ -1,8 +1,19 @@
/** Angular Imports */
import { Component, OnInit, ViewChild, Input } 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,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { MatDialog } from '@angular/material/dialog';
import { MatTable } from '@angular/material/table';
@@ -13,6 +24,11 @@ import { RejectShareDialogComponent } from './reject-share-dialog/reject-share-d
/** Custom Serices */
import { SharesService } from 'app/shares/shares.service';
import { SettingsService } from 'app/settings/settings.service';
import { NgClass } from '@angular/common';
import { MatTooltip } from '@angular/material/tooltip';
import { StatusLookupPipe } from '../../../pipes/status-lookup.pipe';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Reject shares component.
@@ -20,7 +36,27 @@ import { SettingsService } from 'app/settings/settings.service';
@Component({
selector: 'mifosx-reject-shares',
templateUrl: './reject-shares.component.html',
styleUrls: ['./reject-shares.component.scss']
styleUrls: ['./reject-shares.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatTable,
MatSort,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatSortHeader,
MatCellDef,
MatCell,
NgClass,
MatTooltip,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
MatPaginator,
StatusLookupPipe,
DateFormatPipe
]
})
export class RejectSharesComponent implements OnInit {
/** Shares account data. */
@@ -4,6 +4,16 @@ import { ActivatedRoute } from '@angular/router';
/** Custom Services */
import { SharesService } from '../shares.service';
import { ApproveSharesAccountComponent } from './approve-shares-account/approve-shares-account.component';
import { RejectSharesAccountComponent } from './reject-shares-account/reject-shares-account.component';
import { CloseSharesAccountComponent } from './close-shares-account/close-shares-account.component';
import { ActivateSharesAccountComponent } from './activate-shares-account/activate-shares-account.component';
import { UndoApprovalSharesAccountComponent } from './undo-approval-shares-account/undo-approval-shares-account.component';
import { ApplySharesComponent } from './apply-shares/apply-shares.component';
import { RedeemSharesComponent } from './redeem-shares/redeem-shares.component';
import { ApproveSharesComponent } from './approve-shares/approve-shares.component';
import { RejectSharesComponent } from './reject-shares/reject-shares.component';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares Account Actions Component
@@ -11,7 +21,19 @@ import { SharesService } from '../shares.service';
@Component({
selector: 'mifosx-shares-account-actions',
templateUrl: './shares-account-actions.component.html',
styleUrls: ['./shares-account-actions.component.scss']
styleUrls: ['./shares-account-actions.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
ApproveSharesAccountComponent,
RejectSharesAccountComponent,
CloseSharesAccountComponent,
ActivateSharesAccountComponent,
UndoApprovalSharesAccountComponent,
ApplySharesComponent,
RedeemSharesComponent,
ApproveSharesComponent,
RejectSharesComponent
]
})
export class SharesAccountActionsComponent {
/** Shares Account Data */
@@ -1,9 +1,11 @@
/** Angular Imports */
import { Component } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Undo Approval Shares Account Component
@@ -11,7 +13,11 @@ import { SharesService } from 'app/shares/shares.service';
@Component({
selector: 'mifosx-undo-approval-shares-account',
templateUrl: './undo-approval-shares-account.component.html',
styleUrls: ['./undo-approval-shares-account.component.scss']
styleUrls: ['./undo-approval-shares-account.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
FormsModule
]
})
export class UndoApprovalSharesAccountComponent {
/** Shares Account Id */
@@ -11,6 +11,23 @@ import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.componen
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base';
import { TranslateService } from '@ngx-translate/core';
import { MatButton, MatIconButton } from '@angular/material/button';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import {
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper';
import { ChargesFilterPipe } from '../../../pipes/charges-filter.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares Account Charges Step
@@ -18,7 +35,25 @@ import { TranslateService } from '@ngx-translate/core';
@Component({
selector: 'mifosx-shares-account-charges-step',
templateUrl: './shares-account-charges-step.component.html',
styleUrls: ['./shares-account-charges-step.component.scss']
styleUrls: ['./shares-account-charges-step.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
FaIconComponent,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatIconButton,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
MatStepperPrevious,
MatStepperNext,
ChargesFilterPipe
]
})
export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
/** Shares Account Product Template */
@@ -1,10 +1,13 @@
/** Angular Imports */
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { SettingsService } from 'app/settings/settings.service';
/** Custom Services */
import { SharesService } from 'app/shares/shares.service';
import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares Account Details Step
@@ -12,7 +15,13 @@ import { SharesService } from 'app/shares/shares.service';
@Component({
selector: 'mifosx-shares-account-details-step',
templateUrl: './shares-account-details-step.component.html',
styleUrls: ['./shares-account-details-step.component.scss']
styleUrls: ['./shares-account-details-step.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatStepperPrevious,
FaIconComponent,
MatStepperNext
]
})
export class SharesAccountDetailsStepComponent implements OnInit {
/** Shares Account Template */
@@ -1,5 +1,26 @@
/** Angular Imports */
import { Component, Input, Output, EventEmitter } from '@angular/core';
import { MatDivider } from '@angular/material/divider';
import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component';
import {
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { MatStepperPrevious } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { FindPipe } from '../../../pipes/find.pipe';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { FormatNumberPipe } from '../../../pipes/format-number.pipe';
import { YesnoPipe } from '../../../pipes/yesno.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares account preview step
@@ -7,7 +28,28 @@ import { Component, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'mifosx-shares-account-preview-step',
templateUrl: './shares-account-preview-step.component.html',
styleUrls: ['./shares-account-preview-step.component.scss']
styleUrls: ['./shares-account-preview-step.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatDivider,
ExternalIdentifierComponent,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
MatStepperPrevious,
FaIconComponent,
FindPipe,
DateFormatPipe,
FormatNumberPipe,
YesnoPipe
]
})
export class SharesAccountPreviewStepComponent {
/** Shares Account Product Template */
@@ -1,8 +1,13 @@
/** Angular Imports */
import { Component, OnChanges, OnInit, Input } from '@angular/core';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { SettingsService } from 'app/settings/settings.service';
import { Currency } from 'app/shared/models/general.model';
import { NgIf, NgFor, CurrencyPipe } from '@angular/common';
import { MatCheckbox } from '@angular/material/checkbox';
import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares Account Terms Step
@@ -10,7 +15,15 @@ import { Currency } from 'app/shared/models/general.model';
@Component({
selector: 'mifosx-shares-account-terms-step',
templateUrl: './shares-account-terms-step.component.html',
styleUrls: ['./shares-account-terms-step.component.scss']
styleUrls: ['./shares-account-terms-step.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatCheckbox,
MatStepperPrevious,
FaIconComponent,
MatStepperNext,
CurrencyPipe
]
})
export class SharesAccountTermsStepComponent implements OnChanges, OnInit {
/** Shares Account and Product Template */
@@ -1,7 +1,22 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';
import {
MatTableDataSource,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { NgIf, CurrencyPipe } from '@angular/common';
import { MatTooltip } from '@angular/material/tooltip';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Charges Tab Component
@@ -9,7 +24,22 @@ import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'mifosx-charges-tab',
templateUrl: './charges-tab.component.html',
styleUrls: ['./charges-tab.component.scss']
styleUrls: ['./charges-tab.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatTooltip,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
CurrencyPipe
]
})
export class ChargesTabComponent implements OnInit {
/** Shares Account Data */
@@ -1,7 +1,22 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';
import {
MatTableDataSource,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { CurrencyPipe } from '@angular/common';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Dividends Tab Component.
@@ -9,7 +24,22 @@ import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'mifosx-dividends-tab',
templateUrl: './dividends-tab.component.html',
styleUrls: ['./dividends-tab.component.scss']
styleUrls: ['./dividends-tab.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
CurrencyPipe,
DateFormatPipe
]
})
export class DividendsTabComponent implements OnInit {
/** Shares Account Data */
@@ -1,10 +1,22 @@
import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { ExternalIdentifierComponent } from '../../../shared/external-identifier/external-identifier.component';
import { AccountNumberComponent } from '../../../shared/account-number/account-number.component';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { FormatNumberPipe } from '../../../pipes/format-number.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
selector: 'mifosx-general-tab',
templateUrl: './general-tab.component.html',
styleUrls: ['./general-tab.component.scss']
styleUrls: ['./general-tab.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
ExternalIdentifierComponent,
AccountNumberComponent,
DateFormatPipe,
FormatNumberPipe
]
})
export class GeneralTabComponent {
/** Shares Account Data */
@@ -1,6 +1,6 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivatedRoute, Router, RouterLinkActive, RouterLink, RouterOutlet } from '@angular/router';
import { MatDialog } from '@angular/material/dialog';
/** Custom Dialogs */
@@ -11,6 +11,26 @@ import { SharesService } from '../shares.service';
/** Custom Buttons Configuration */
import { SharesButtonsConfiguration } from './shares-buttons.config';
import {
MatCard,
MatCardHeader,
MatCardTitleGroup,
MatCardMdImage,
MatCardTitle,
MatCardContent
} from '@angular/material/card';
import { MatTooltip } from '@angular/material/tooltip';
import { NgClass, NgIf, NgFor } from '@angular/common';
import { LongTextComponent } from '../../shared/long-text/long-text.component';
import { AccountNumberComponent } from '../../shared/account-number/account-number.component';
import { MatIconButton } from '@angular/material/button';
import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu';
import { MatIcon } from '@angular/material/icon';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs';
import { StatusLookupPipe } from '../../pipes/status-lookup.pipe';
import { FormatNumberPipe } from '../../pipes/format-number.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Shares Account View
@@ -18,7 +38,31 @@ import { SharesButtonsConfiguration } from './shares-buttons.config';
@Component({
selector: 'mifosx-shares-account-view',
templateUrl: './shares-account-view.component.html',
styleUrls: ['./shares-account-view.component.scss']
styleUrls: ['./shares-account-view.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatCardHeader,
MatCardTitleGroup,
MatCardMdImage,
MatTooltip,
MatCardTitle,
NgClass,
LongTextComponent,
AccountNumberComponent,
MatIconButton,
MatMenuTrigger,
MatIcon,
FaIconComponent,
MatMenu,
MatMenuItem,
MatTabNav,
MatTabLink,
RouterLinkActive,
MatTabNavPanel,
RouterOutlet,
StatusLookupPipe,
FormatNumberPipe
]
})
export class SharesAccountViewComponent implements OnInit {
/** Shares Account Data */
@@ -1,7 +1,21 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';
import {
MatTableDataSource,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
/**
* Transactions Tab Component.
@@ -9,7 +23,21 @@ import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'mifosx-transactions-tab',
templateUrl: './transactions-tab.component.html',
styleUrls: ['./transactions-tab.component.scss']
styleUrls: ['./transactions-tab.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
MatTable,
MatColumnDef,
MatHeaderCellDef,
MatHeaderCell,
MatCellDef,
MatCell,
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow,
DateFormatPipe
]
})
export class TransactionsTabComponent implements OnInit {
/** Shares Account Data */
+1 -3
View File
@@ -40,9 +40,7 @@ import { GeneralTabComponent } from './shares-account-view/general-tab/general-t
SharedModule,
PipesModule,
DirectivesModule,
SharesRoutingModule
],
declarations: [
SharesRoutingModule,
SharesAccountViewComponent,
TransactionsTabComponent,
DividendsTabComponent,