diff --git a/angular.json b/angular.json index 879e8a8..57dc6e7 100644 --- a/angular.json +++ b/angular.json @@ -18,8 +18,8 @@ "production": { "budgets": [ { - "maximumError": "1MB", - "maximumWarning": "500kB", + "maximumError": "3MB", + "maximumWarning": "2MB", "type": "initial" }, { diff --git a/src/app/modules/auth/pages/login/login.component.ts b/src/app/modules/auth/pages/login/login.component.ts index 5e39f2d..bd67bcd 100644 --- a/src/app/modules/auth/pages/login/login.component.ts +++ b/src/app/modules/auth/pages/login/login.component.ts @@ -1,7 +1,6 @@ import { AuthService } from '@/core'; import { IAuthResponse, LoginCredentials, TRoles } from '@/core/models'; import { ToastService } from '@/core/services/toast.service'; -import { UikitLabelComponent } from '@/uikit'; import { UikitFieldComponent } from '@/uikit/uikit-field.component'; import { CommonModule } from '@angular/common'; import { Component, computed, EventEmitter, inject, Input, Output, signal } from '@angular/core'; @@ -29,7 +28,6 @@ import { CaptchaService } from 'src/app/core/services/captcha.service'; InputText, ImageModule, ProgressSpinnerModule, - UikitLabelComponent, RadioButtonModule, InputGroupModule, InputGroupAddonModule, diff --git a/src/app/modules/bankAccounts/components/form-template.component.html b/src/app/modules/bankAccounts/components/form-template.component.html new file mode 100644 index 0000000..cd9f5ad --- /dev/null +++ b/src/app/modules/bankAccounts/components/form-template.component.html @@ -0,0 +1,9 @@ +
diff --git a/src/app/modules/bankAccounts/components/form-template.component.ts b/src/app/modules/bankAccounts/components/form-template.component.ts new file mode 100644 index 0000000..1c2abd6 --- /dev/null +++ b/src/app/modules/bankAccounts/components/form-template.component.ts @@ -0,0 +1,59 @@ +import { BankBranchesSelectComponent } from '@/modules/bankBranches/components/select/select.component'; +import { InputComponent } from '@/shared/components'; +import { FormFooterActionsComponent } from '@/shared/components/formFooterActions/form-footer-actions.component'; +import { Component, EventEmitter, inject, Input, Output } from '@angular/core'; +import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms'; +import { IBankAccountsRequest, IBankAccountsResponse } from '../models'; + +@Component({ + selector: 'bank-account-form-template', + templateUrl: './form-template.component.html', + imports: [ + ReactiveFormsModule, + InputComponent, + FormFooterActionsComponent, + BankBranchesSelectComponent, + ], +}) +export class BankAccountFormTemplateComponent { + @Input() initialValues?: IBankAccountsResponse; + + @Output() onSubmitForm = new EventEmitter