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IAEf,CAAC;IAEhB,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,CAAC;;4EAPU,cAAc;4GAAd,cAAc,2JARd;YACT;gBACE,OAAO,EAAE,yDAAa;gBACtB,WAAW,EAAE,cAAc;gBAC3B,KAAK,EAAE,IAAI;aACZ;SACF;AAYI,MAAM,iBAAiB,GAC5B,kHAAkH,CAAC;AAErH;;;;;;;GAOG;AACI,MAAM,cAAc,GAAG,CAC5B,OAAwB,EACC,EAAE;IAC3B,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAE5C,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAChD,CAAC,CAAC","sources":["./src/app/components/controls/address-time-info/address-time-info.component.ts","./src/app/components/controls/address-time-info/address-time-info.component.html","./src/app/components/controls/address-time-info/address-time-info.module.ts","./src/app/components/controls/agreement-info/agreement-info.component.ts","./src/app/components/controls/agreement-info/agreement-info.component.html","./src/app/components/controls/agreement-info/agreement-info.module.ts","./src/app/components/controls/applicant-info/applicant-info.component.ts","./src/app/components/controls/applicant-info/applicant-info.component.html","./src/app/components/controls/applicant-info/applicant-info.module.ts","./src/app/components/controls/employment-status-info/employment-status-info.component.ts","./src/app/components/controls/employment-status-info/employment-status-info.component.html","./src/app/components/controls/employment-status-info/employment-status-info.module.ts","./src/app/components/controls/living-situation-info/living-situation-info.component.ts","./src/app/components/controls/living-situation-info/living-situation-info.component.html","./src/app/components/controls/living-situation-info/living-situation-info.module.ts","./src/app/constants/consent.constant.ts","./src/app/directives/email/email.directive.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, Validators } from '@angular/forms';\n\n/**\n * How long have you lived at your current address?\n *\n * Contains the following {FormControl}s:\n * * Years\n * * Months\n */\n@Component({\n selector: 'app-address-time-info',\n templateUrl: './address-time-info.component.html',\n styleUrls: ['./address-time-info.component.scss'],\n})\nexport class AddressTimeInfoComponent implements OnInit {\n @Input() controls: {\n [key: string]: AbstractControl;\n } = {};\n\n constructor() {}\n\n ngOnInit(): void {}\n\n getFormControl(key: string): FormControl {\n return this.controls[key] as FormControl;\n }\n\n controlIsRequired(key: string): boolean {\n if (\n this.controls[key] &&\n this.controls[key].hasValidator(Validators.required)\n ) {\n return true;\n }\n\n return false;\n }\n}\n","
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { AddressTimeInfoComponent } from './address-time-info.component';\n\n@NgModule({\n declarations: [AddressTimeInfoComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [AddressTimeInfoComponent],\n})\nexport class AddressTimeInfoModule {}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl } from '@angular/forms';\n\nimport {\n CREDIT_CONSENT_COPY,\n CREDIT_TERMS_URL,\n LOAN_CONSENT_COPY,\n LOAN_TERMS_URL,\n} from 'src/app/constants/consent.constant';\n\n/**\n * I have reviewed and agree with the following:\n *\n * Contains the following {FormControl}s:\n * * Over18\n * * PrivacyPolicy\n * * CommunicationConsent\n */\n@Component({\n selector: 'app-agreement-info',\n templateUrl: './agreement-info.component.html',\n styleUrls: ['./agreement-info.component.scss'],\n})\nexport class AgreementInfoComponent implements OnInit {\n @Input() controls: {\n [key: string]: AbstractControl;\n } = {};\n\n @Input() isConsumerLoanApplication = true;\n\n loanConsentCopy = LOAN_CONSENT_COPY;\n creditConsentCopy = CREDIT_CONSENT_COPY;\n loanTermsURL = LOAN_TERMS_URL;\n creditTermsURL = CREDIT_TERMS_URL;\n\n constructor() {}\n\n ngOnInit(): void {}\n\n getFormControl(key: string): FormControl {\n return this.controls[key] as FormControl;\n }\n}\n","
\n
\n

I have reviewed and agree with the following:

\n\n
\n \n \n \n \n
\n\n
\n \n \n \n \n
\n\n
\n \n \n \n {{ loanConsentCopy }}\n \n \n \n \n \n
\n\n \n

Your privacy is our #1 priority.

\n

\n We use 128-bit SSL protection and strict levels of security and\n encryption standards to keep your data safe.\n

\n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NgbAlertModule } from '@ng-bootstrap/ng-bootstrap';\n\nimport { AgreementInfoComponent } from './agreement-info.component';\n\n@NgModule({\n declarations: [AgreementInfoComponent],\n imports: [CommonModule, ReactiveFormsModule, NgbAlertModule],\n exports: [AgreementInfoComponent],\n})\nexport class AgreementInfoModule {}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, Validators } from '@angular/forms';\n\n/**\n * Contains the following {FormControl}s:\n * * ContactFirst\n * * ContactMiddle *\n * * ContactLast\n * * ContactSuffix *\n *\n * (*) Denotes a control that can be disabled.\n *\n * The parent {FormGroup} can disable unneeded controls. Disabling will hide the controls from the UI.\n *\n * ```typescript\n * this.formBuilder.group({\n * ContactMiddle: [{ value: '', disabled: true }]\n * });\n * ```\n */\n@Component({\n selector: 'app-applicant-info',\n templateUrl: './applicant-info.component.html',\n styleUrls: ['./applicant-info.component.scss'],\n})\nexport class ApplicantInfoComponent implements OnInit {\n @Input() controls: {\n [key: string]: AbstractControl;\n } = {};\n\n constructor() {}\n\n ngOnInit(): void {}\n\n getFormControl(key: string): FormControl {\n return this.controls[key] as FormControl;\n }\n\n controlIsRequired(key: string): boolean {\n if (\n this.controls[key] &&\n this.controls[key].hasValidator(Validators.required)\n ) {\n return true;\n }\n\n return false;\n }\n\n controlIsDisabled(key: string): boolean {\n if (this.controls[key]) {\n return this.controls[key].disabled;\n }\n\n return false;\n }\n}\n","
\n \n
\n \n \n
\n
\n \n
\n \n \n
\n \n \n
\n \n \n
\n \n \n
\n \n \n
\n \n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { ApplicantInfoComponent } from './applicant-info.component';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [ApplicantInfoComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [ApplicantInfoComponent],\n})\nexport class ApplicantInfoModule {}\n","import {\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n} from '@angular/core';\nimport { AbstractControl, FormControl, Validators } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\nimport {\n Dropdown,\n DropdownMenus,\n} from 'src/app/services/dropdowns/dropdowns.model';\nimport { DropdownsService } from 'src/app/services/dropdowns/dropdowns.service';\n\n/**\n * Contains the following {FormControl}s:\n * * EmploymentStatus\n */\n@Component({\n selector: 'app-employment-status-info',\n templateUrl: './employment-status-info.component.html',\n styleUrls: ['./employment-status-info.component.scss'],\n})\nexport class EmploymentStatusInfoComponent implements OnInit, OnDestroy {\n @Output() changeEvent = new EventEmitter();\n @Input() controls: {\n [key: string]: AbstractControl;\n } = {};\n\n dropdownMenus: DropdownMenus | null = null;\n employmentStatus: Array = [];\n\n private subscriptions: Array = [];\n\n constructor(private dropdownsService: DropdownsService) {}\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.dropdownsService.dropdownMenus.subscribe(\n (data: DropdownMenus | null) => {\n if (data) {\n this.dropdownMenus = { ...data };\n this.employmentStatus = [...this.dropdownMenus.employmentStatuses];\n }\n }\n )\n );\n }\n\n ngOnDestroy(): void {\n if (this.subscriptions.length > 0) {\n this.subscriptions.forEach((sub) => {\n sub.unsubscribe();\n });\n }\n }\n\n getFormControl(key: string): FormControl {\n return this.controls[key] as FormControl;\n }\n\n controlIsRequired(key: string): boolean {\n if (\n this.controls[key] &&\n this.controls[key].hasValidator(Validators.required)\n ) {\n return true;\n }\n\n return false;\n }\n\n onChange(event: any) {\n this.changeEvent.emit(event.target.value);\n }\n}\n","
\n
\n
\n \n \n \n \n \n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EmploymentStatusInfoComponent } from './employment-status-info.component';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [EmploymentStatusInfoComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [EmploymentStatusInfoComponent],\n})\nexport class EmploymentStatusInfoModule {}\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { AbstractControl, FormControl, Validators } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\nimport {\n Dropdown,\n DropdownMenus,\n} from 'src/app/services/dropdowns/dropdowns.model';\nimport { DropdownsService } from 'src/app/services/dropdowns/dropdowns.service';\n\n/**\n * Contains the following {FormControl}s:\n * * LivingSituation\n */\n@Component({\n selector: 'app-living-situation-info',\n templateUrl: './living-situation-info.component.html',\n styleUrls: ['./living-situation-info.component.scss'],\n})\nexport class LivingSituationInfoComponent implements OnInit {\n @Output() changeEvent = new EventEmitter();\n @Input() controls: {\n [key: string]: AbstractControl;\n } = {};\n\n dropdownMenus: DropdownMenus | null = null;\n livingSituation: Array = [];\n\n private subscriptions: Array = [];\n\n constructor(private dropdownsService: DropdownsService) {}\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.dropdownsService.dropdownMenus.subscribe(\n (data: DropdownMenus | null) => {\n if (data) {\n this.dropdownMenus = { ...data };\n this.livingSituation = [...this.dropdownMenus.propTypes];\n }\n }\n )\n );\n }\n\n ngOnDestroy(): void {\n if (this.subscriptions.length > 0) {\n this.subscriptions.forEach((sub) => {\n sub.unsubscribe();\n });\n }\n }\n\n getFormControl(key: string): FormControl {\n return this.controls[key] as FormControl;\n }\n\n controlIsRequired(key: string): boolean {\n if (\n this.controls[key] &&\n this.controls[key].hasValidator(Validators.required)\n ) {\n return true;\n }\n\n return false;\n }\n\n onChange(event: any) {\n this.changeEvent.emit(event.target.value);\n }\n}\n","
\n
\n
\n \n \n \n \n \n
\n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { LivingSituationInfoComponent } from './living-situation-info.component';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [LivingSituationInfoComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [LivingSituationInfoComponent],\n})\nexport class LivingSituationInfoModule {}\n","export const LOAN_CONSENT_COPY =\n 'I consent to receive promotional messages by phone, email, and/or text message. This consent is not a condition of any loan approval. Message and data rates may apply.';\n\nexport const CREDIT_CONSENT_COPY =\n 'I consent to receive promotional messages by phone, email, and/or text message. This consent is not a condition of any credit approval. Message and data rates may apply.';\n\nexport const LOAN_CREDIT_AUTH_COPY =\n 'By checking the box, I authorize Eagle Loan Co. to obtain a Consumer Credit Report on me for the purposes of obtaining a personal loan.';\n\nexport const CREDIT_AUTH_COPY =\n 'By checking the box, I authorize Sims Furniture to obtain a Consumer Credit Report on me for the purposes of obtaining credit.';\n\nexport const LOAN_TERMS_URL = 'https://www.eagle.com/terms/';\n\nexport const CREDIT_TERMS_URL =\n 'https://www.simsfurnitureco.com/pages/terms-conditions';\n","import { Directive, Input } from '@angular/core';\nimport {\n AbstractControl,\n NG_VALIDATORS,\n ValidationErrors,\n} from '@angular/forms';\n\n/**\n * Email validation check.\n *\n * @usageNotes\n * Can be used with reactive forms and with template-driven forms.\n *\n * @selector appEmail\n * @returns\n * ```javascript\n * { emailInvalid: true } | null\n * ```\n */\n@Directive({\n selector: '[appEmail]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: EmailDirective,\n multi: true,\n },\n ],\n})\nexport class EmailDirective {\n @Input('appEmail') email = '';\n\n constructor() {}\n\n validate(control: AbstractControl): ValidationErrors | null {\n return this.email ? emailValidator(control) : null;\n }\n}\n\nexport const EMAIL_VALID_REGEX =\n /([a-zA-Z0-9_\\-\\.\\+]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})/;\n\n/**\n * Email validation check.\n *\n * @returns\n * ```javascript\n * { emailInvalid: true } | null\n * ```\n */\nexport const emailValidator = (\n control: AbstractControl\n): ValidationErrors | null => {\n const value = control.value;\n const valid = EMAIL_VALID_REGEX.test(value);\n\n return !valid ? { emailInvalid: true } : null;\n};\n"],"names":[],"sourceRoot":"webpack:///"}