WEB-262: Move the form steppers to vertical orientation

This commit is contained in:
Jose Alberto Hernandez
2025-07-20 16:21:21 -05:00
parent 62e0ee077f
commit 73dd25ebdf
29 changed files with 201 additions and 61 deletions
@@ -1,5 +1,5 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #clientStepper>
<mat-stepper orientation="vertical" [linear]="false" class="mat-elevation-z8" labelPosition="bottom" #clientStepper>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -66,5 +66,5 @@
>
</mifosx-client-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #fixedDepositAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#fixedDepositAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -82,5 +88,5 @@
>
</mifosx-fixed-deposit-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #fixedDepositAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#fixedDepositAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -82,5 +88,5 @@
>
</mifosx-fixed-deposit-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #recurringDepositAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#recurringDepositAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -82,5 +88,5 @@
>
</mifosx-recurring-deposits-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #recurringDepositAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#recurringDepositAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -83,5 +89,5 @@
>
</mifosx-recurring-deposits-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #loansAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#loansAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -88,5 +94,5 @@
>
</mifosx-loans-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #loansAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#loansAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -75,5 +81,5 @@
>
</mifosx-loans-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #loansAccountStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#loansAccountStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -96,5 +102,5 @@
>
</mifosx-loans-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #smsCampaignStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#smsCampaignStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -50,5 +56,5 @@
>
</mifosx-campaign-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #smsCampaignStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#smsCampaignStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -52,5 +58,5 @@
>
</mifosx-campaign-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #fixedDepositProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#fixedDepositProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -91,5 +97,5 @@
>
</mifosx-fixed-deposit-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #fixedDepositProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#fixedDepositProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -90,5 +96,5 @@
>
</mifosx-fixed-deposit-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #loanProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#loanProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -135,5 +141,5 @@
>
</mifosx-loan-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #loanProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#loanProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -135,5 +141,5 @@
>
</mifosx-loan-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #recurringDepositProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#recurringDepositProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -98,5 +104,5 @@
>
</mifosx-recurring-deposit-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #recurringDepositProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#recurringDepositProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -98,5 +104,5 @@
>
</mifosx-recurring-deposit-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #savingProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#savingProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -84,5 +90,5 @@
>
</mifosx-saving-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #savingProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#savingProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -86,5 +92,5 @@
>
</mifosx-saving-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #shareProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#shareProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -87,5 +93,5 @@
>
</mifosx-share-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #shareProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#shareProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -93,5 +99,5 @@
>
</mifosx-share-product-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #savingProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#savingProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -61,5 +67,5 @@
>
</mifosx-savings-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #savingProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#savingProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -62,5 +68,5 @@
>
</mifosx-savings-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #savingProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#savingProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -70,5 +76,5 @@
>
</mifosx-savings-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,10 +1,8 @@
<div class="flex-fill layout-row layout-align-center margin-t gap-2percent layout-xs-column">
<button mat-raised-button matStepperPrevious [disabled]="disablePrevious">
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
Previous
<button matButton="elevated" matStepperPrevious [disabled]="disablePrevious">
{{ 'labels.buttons.Previous' | translate }}
</button>
<button mat-raised-button matStepperNext [disabled]="disableNext">
Next
<fa-icon icon="arrow-right" class="m-l-10"></fa-icon>
<button matButton="elevated" matStepperNext [disabled]="disableNext">
{{ 'labels.buttons.Next' | translate }}
</button>
</div>
@@ -1,6 +1,5 @@
import { Component, Input, OnInit } from '@angular/core';
import { Component, Input } from '@angular/core';
import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
@@ -10,7 +9,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
imports: [
...STANDALONE_SHARED_IMPORTS,
MatStepperPrevious,
FaIconComponent,
MatStepperNext
]
})
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #shareProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#shareProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -61,5 +67,5 @@
>
</mifosx-shares-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
@@ -1,5 +1,11 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #shareProductStepper>
<mat-stepper
orientation="vertical"
[linear]="false"
class="mat-elevation-z8"
labelPosition="bottom"
#shareProductStepper
>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -63,5 +69,5 @@
>
</mifosx-shares-account-preview-step>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
+1 -1
View File
@@ -2488,7 +2488,7 @@
"Income capitalization calculation type": "Income capitalization calculation type",
"Income capitalization strategy": "Income capitalization strategy",
"Income capitalization type": "Income capitalization type",
"DEFERRED INCOME RECOGNITION": "Deferred income recognition",
"DEFERRED INCOME RECOGNITION": "DEFERRED INCOME RECOGNITION",
"Enable Buy down fee": "Enable Buy down fee",
"Buy down fee calculation type": "Buy down fee calculation type",
"Buy down fee strategy": "Buy down fee strategy",
+1 -1
View File
@@ -2481,7 +2481,7 @@
"Income capitalization calculation type": "Tipo de cálculo de capitalización de ingresos",
"Income capitalization strategy": "Estrategia de capitalización de ingresos",
"Income capitalization type": "Tipo de capitalización de ingresos",
"DEFERRED INCOME RECOGNITION": "Reconocimiento de ingresos diferidos",
"DEFERRED INCOME RECOGNITION": "INGRESOS DIFERIDOS",
"Enable Buy down fee": "Habilitar comisión de compra anticipada",
"Buy down fee calculation type": "Tipo de cálculo de comisión de compra anticipada",
"Buy down fee strategy": "Estrategia de comisión de compra anticipada",