@axos-web-dev/shared-components 0.0.163 → 0.0.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ATMLocator/ATMLocator.js +35 -35
- package/dist/Accordion/Accordion.css.js +4 -4
- package/dist/Accordion/Accordion.js +3 -3
- package/dist/AlertBanner/AlertBanner.css.js +1 -1
- package/dist/AlertBanner/index.js +3 -3
- package/dist/Article/Article.css.js +4 -4
- package/dist/ArticlesSet/ArticlesSet.css.js +4 -4
- package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
- package/dist/AwardsItem/AwardsItem.css.js +2 -2
- package/dist/BulletItem/BulletItem.css.js +2 -2
- package/dist/BulletItem/BulletItem.js +3 -3
- package/dist/Button/Button.css.js +4 -4
- package/dist/Button/Button.js +35 -35
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +3 -3
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +3 -3
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +4 -4
- package/dist/Calculators/AxosOneCalculator/index.js +3 -3
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +4 -4
- package/dist/Calculators/BalanceAPYCalculator/index.js +3 -3
- package/dist/Calculators/Calculator.js +35 -35
- package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +3 -3
- package/dist/Calculators/calculator.css.js +4 -4
- package/dist/CallToActionBar/CallToActionBar.css.js +3 -3
- package/dist/Carousel/Carousel.css.js +3 -3
- package/dist/Carousel/index.js +35 -35
- package/dist/Chevron/Chevron.css.js +4 -4
- package/dist/Chevron/index.js +35 -35
- package/dist/CollectInformationAlert/CollectInformationAlert.css.js +4 -4
- package/dist/CollectInformationAlert/index.js +3 -3
- package/dist/Comparison/Comparison.css.js +7 -7
- package/dist/Comparison/Comparison.js +34 -34
- package/dist/ContentBanner/ContentBanner.css.js +4 -4
- package/dist/DownloadTile/DownloadTile.css.js +3 -3
- package/dist/ExecutiveBio/ExecutiveBio.css.js +4 -4
- package/dist/FaqAccordion/FaqAccordion.css.js +4 -4
- package/dist/FaqAccordion/index.d.ts +2 -1
- package/dist/FaqAccordion/index.js +40 -39
- package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +2 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +34 -34
- package/dist/Forms/ApplicationStart.js +4 -4
- package/dist/Forms/ClearingForm.js +4 -4
- package/dist/Forms/CommercialDeposits.js +4 -4
- package/dist/Forms/CommercialLending.js +4 -4
- package/dist/Forms/ContactCompany.js +4 -4
- package/dist/Forms/ContactUs.js +4 -4
- package/dist/Forms/ContactUsAAS.js +4 -4
- package/dist/Forms/ContactUsBusiness.js +35 -35
- package/dist/Forms/ContactUsNMLSId.js +35 -35
- package/dist/Forms/CpraRequest.js +4 -4
- package/dist/Forms/DealerServices.js +4 -4
- package/dist/Forms/EmailOnly.js +35 -35
- package/dist/Forms/EmailUs.js +3 -3
- package/dist/Forms/FormEnums.d.ts +8 -1
- package/dist/Forms/FormEnums.js +14 -2
- package/dist/Forms/Forms.css.js +7 -7
- package/dist/Forms/MortgageRate/MortgageRateForm.js +35 -35
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +35 -35
- package/dist/Forms/QuickPricer/QuickPricerForm.js +83 -50
- package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
- package/dist/Forms/QuickPricer/UserInformation.css.js +3 -3
- package/dist/Forms/ScheduleCall.js +4 -4
- package/dist/Forms/ScheduleCallPremier.js +4 -4
- package/dist/Forms/SuccesForm.js +36 -36
- package/dist/Forms/WcplSurvey.js +4 -4
- package/dist/HeroBanner/HeroBanner.css.js +5 -5
- package/dist/HeroBanner/LargeBanner.css.js +4 -4
- package/dist/HeroBanner/SelectionBanner.css.js +4 -4
- package/dist/Hyperlink/Hyperlink.css.js +1 -1
- package/dist/Hyperlink/index.js +35 -35
- package/dist/IconBillboard/IconBillboard.css.js +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.js +4 -4
- package/dist/ImageBillboard/ImageBillboard.js +3 -3
- package/dist/ImageBillboard/ImageBillboardSet.js +3 -3
- package/dist/ImageLink/ImageLink.css.js +1 -1
- package/dist/ImageLink/ImageLink.js +35 -35
- package/dist/ImageLink/ImageLinkSet.js +35 -35
- package/dist/ImageLink/index.js +35 -35
- package/dist/ImageWrapper/ImageWrapper.d.ts +10 -0
- package/dist/ImageWrapper/ImageWrapper.js +7 -0
- package/dist/ImageWrapper/index.d.ts +1 -0
- package/dist/ImageWrapper/index.js +1 -0
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/CurrencyInput.d.ts +2 -2
- package/dist/Input/CurrencyInput.js +3 -1
- package/dist/Input/DatePicker.css.d.ts +1 -0
- package/dist/Input/DatePicker.css.js +6 -0
- package/dist/Input/DatePicker2.d.ts +21 -0
- package/dist/Input/DatePicker2.js +103 -0
- package/dist/Input/DatePickerComponents/DatePicker.d.ts +11 -0
- package/dist/Input/DatePickerComponents/DatePicker.js +13 -0
- package/dist/Input/DatePickerComponents/InputDate.d.ts +15 -0
- package/dist/Input/DatePickerComponents/InputDate.js +66 -0
- package/dist/Input/DatePickerComponents/index.d.ts +2 -0
- package/dist/Input/DatePickerComponents/index.js +6 -0
- package/dist/Input/Datepicker.d.ts +3 -0
- package/dist/Input/Datepicker.js +47 -0
- package/dist/Input/Dropdown.css.js +2 -2
- package/dist/Input/Input.css.js +4 -4
- package/dist/Input/InputAmount.js +1 -1
- package/dist/Input/InputDate.css.d.ts +6 -0
- package/dist/Input/InputDate.css.js +15 -0
- package/dist/Input/InputDate.d.ts +3 -0
- package/dist/Input/InputDate.js +47 -0
- package/dist/Input/InputPhone.js +1 -1
- package/dist/Input/InputProps.d.ts +9 -0
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Inputs/Input.css.js +3 -3
- package/dist/Insight/Featured/CategorySelector.css.js +5 -5
- package/dist/Insight/Featured/CategorySelector.js +34 -34
- package/dist/Insight/Featured/Featured.css.js +2 -2
- package/dist/Insight/Featured/Featured.js +36 -36
- package/dist/Insight/Featured/Header.css.js +1 -1
- package/dist/Insight/Featured/Header.js +34 -34
- package/dist/Insight/Insight.css.js +2 -2
- package/dist/Interstitial/Interstitial-variants.css.js +4 -4
- package/dist/LandingPageHeader/LandingPageHeader.css.js +3 -3
- package/dist/LandingPageHeader/LandingPageHeader.js +3 -3
- package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
- package/dist/Modal/Modal.css.js +3 -3
- package/dist/Modal/Modal.js +34 -34
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/NavData.js +35 -35
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +34 -34
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/index.js +33 -33
- package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
- package/dist/PageNavItem/PageNavItem.css.js +4 -4
- package/dist/PageNavSet/PageNavigationSet.css.js +1 -1
- package/dist/Pagination/Pagination.css.js +1 -1
- package/dist/Pagination/Pagination.js +3 -3
- package/dist/SecondaryFooter/SecondaryFooter.css.js +3 -3
- package/dist/SetContainer/SetContainer.css.js +3 -3
- package/dist/SetContainer/SetContainer.js +35 -35
- package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
- package/dist/StepItem/StepItem.css.js +3 -3
- package/dist/StepItemSet/StepItemSet.css.js +3 -3
- package/dist/Tab/Tab.css.js +3 -3
- package/dist/Table/Table.css.js +3 -3
- package/dist/Table/Table.js +3 -3
- package/dist/TextBlock/TextBlock.css.js +3 -3
- package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
- package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
- package/dist/Typography/Typography.css.js +1 -1
- package/dist/VideoTile/VideoTile.css.js +4 -4
- package/dist/VideoTile/VideoTile.js +3 -3
- package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
- package/dist/VideoWrapper/index.d.ts +1 -0
- package/dist/VideoWrapper/index.js +116 -6
- package/dist/assets/Input/DatePicker.css +95 -0
- package/dist/assets/Input/InputDate.css +39 -0
- package/dist/assets/SetContainer/SetContainer.css +5 -0
- package/dist/assets/node_modules/react-date-range/dist/styles.css.css +194 -0
- package/dist/assets/node_modules/react-date-range/dist/theme/default.css.css +385 -0
- package/dist/globals.css.js +2 -2
- package/dist/icons/ArrowIcon/ArrowIcon.css.js +3 -3
- package/dist/icons/CalendarIcon/CalendarIcon.d.ts +3 -0
- package/dist/icons/CalendarIcon/CalendarIcon.js +17 -0
- package/dist/icons/CalendarIcon/index.d.ts +1 -0
- package/dist/icons/CalendarIcon/index.js +4 -0
- package/dist/icons/CheckIcon/CheckIcon.css.js +3 -3
- package/dist/icons/DownloadIcon/DownloadIcon.css.js +3 -3
- package/dist/icons/FollowIcon/FollowIcon.css.js +3 -3
- package/dist/icons/Star/Star.css.js +1 -1
- package/dist/index.css.js +3 -3
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +2 -2
- package/dist/types/icon.d.ts +3 -0
- package/dist/types/icon.js +1 -0
- package/dist/types/popover.d.ts +8 -0
- package/dist/types/popover.js +1 -0
- package/dist/utils/constants/format.d.ts +1 -0
- package/dist/utils/constants/format.js +4 -0
- package/dist/utils/constants/popper.d.ts +6 -0
- package/dist/utils/constants/popper.js +10 -0
- package/dist/utils/hooks/usePopover.d.ts +25 -0
- package/dist/utils/hooks/usePopover.js +64 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
4
4
|
import "../../Input/Checkbox.js";
|
|
5
5
|
import "../../Input/CurrencyInput.js";
|
|
6
|
+
import "../../Input/DownPaymentInput.js";
|
|
6
7
|
import { Dropdown } from "../../Input/Dropdown.js";
|
|
7
8
|
import "../../Input/Dropdown.css.js";
|
|
8
9
|
import { Input } from "../../Input/Input.js";
|
|
@@ -10,7 +11,6 @@ import "../../Input/Input.css.js";
|
|
|
10
11
|
import "../../Input/InputAmount.js";
|
|
11
12
|
import "../../Input/InputPhone.js";
|
|
12
13
|
import "../../Input/InputTextArea.js";
|
|
13
|
-
import "../../Input/DownPaymentInput.js";
|
|
14
14
|
import { useForm, FormProvider } from "react-hook-form";
|
|
15
15
|
import * as z from "zod";
|
|
16
16
|
import clsx from "clsx";
|
|
@@ -23,13 +23,13 @@ import { checkbox } from "../../Input/Checkbox.css.js";
|
|
|
23
23
|
import "../../IconBillboard/IconBillboard.css.js";
|
|
24
24
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
25
25
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
26
|
-
/* empty css
|
|
27
|
-
/* empty css
|
|
26
|
+
/* empty css */
|
|
27
|
+
/* empty css */
|
|
28
|
+
/* empty css */
|
|
28
29
|
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
30
|
import "../../utils/allowedAxosDomains.js";
|
|
31
|
-
/* empty css
|
|
32
|
-
/* empty css
|
|
31
|
+
/* empty css */
|
|
32
|
+
/* empty css */
|
|
33
33
|
import "../../Accordion/Accordion.js";
|
|
34
34
|
import "../../Accordion/Accordion.css.js";
|
|
35
35
|
import "../../AlertBanner/AlertBanner.css.js";
|
|
@@ -47,17 +47,17 @@ import "react-use";
|
|
|
47
47
|
import "../../Input/RadioButton.js";
|
|
48
48
|
import "../../Chevron/Chevron.css.js";
|
|
49
49
|
import "../../Interstitial/Interstitial-variants.css.js";
|
|
50
|
-
/* empty css
|
|
50
|
+
/* empty css */
|
|
51
51
|
import "../../Hyperlink/Hyperlink.css.js";
|
|
52
|
-
/* empty css
|
|
52
|
+
/* empty css */
|
|
53
53
|
import "iframe-resizer";
|
|
54
|
-
/* empty css
|
|
54
|
+
/* empty css */
|
|
55
55
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
56
|
+
/* empty css */
|
|
56
57
|
/* empty css */
|
|
57
|
-
/* empty css
|
|
58
|
-
/* empty css */
|
|
58
|
+
/* empty css */
|
|
59
59
|
import "../../Carousel/index.js";
|
|
60
|
-
/* empty css
|
|
60
|
+
/* empty css */
|
|
61
61
|
import "../../Comparison/Comparison.css.js";
|
|
62
62
|
import "../../HeroBanner/HeroBanner.css.js";
|
|
63
63
|
import "../../HeroBanner/LargeBanner.css.js";
|
|
@@ -66,45 +66,45 @@ import "../../SetContainer/SetContainer.css.js";
|
|
|
66
66
|
import "../../Tab/Tab.css.js";
|
|
67
67
|
import "../../icons/Star/Star.css.js";
|
|
68
68
|
import "../../ContentBanner/ContentBanner.css.js";
|
|
69
|
-
/* empty css
|
|
69
|
+
/* empty css */
|
|
70
70
|
import "../../ExecutiveBio/ExecutiveBio.css.js";
|
|
71
71
|
import "../../FaqAccordion/index.js";
|
|
72
72
|
import "../../FooterDisclosure/FooterDisclosure.css.js";
|
|
73
|
-
/* empty css
|
|
73
|
+
/* empty css */
|
|
74
74
|
import "../../ImageBillboard/ImageBillboard.css.js";
|
|
75
|
-
/* empty css */
|
|
76
|
-
/* empty css */
|
|
77
|
-
/* empty css */
|
|
78
75
|
/* empty css */
|
|
79
|
-
/* empty css
|
|
76
|
+
/* empty css */
|
|
77
|
+
/* empty css */
|
|
78
|
+
/* empty css */
|
|
79
|
+
/* empty css */
|
|
80
80
|
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
81
|
-
/* empty css
|
|
81
|
+
/* empty css */
|
|
82
82
|
import "../../Modal/contextApi/store.js";
|
|
83
|
-
/* empty css
|
|
84
|
-
/* empty css
|
|
85
|
-
/* empty css
|
|
86
|
-
/* empty css
|
|
87
|
-
/* empty css
|
|
83
|
+
/* empty css */
|
|
84
|
+
/* empty css */
|
|
85
|
+
/* empty css */
|
|
86
|
+
/* empty css */
|
|
87
|
+
/* empty css */
|
|
88
88
|
import "../../NavigationMenu/AxosBank/NavData.js";
|
|
89
89
|
import "next/navigation.js";
|
|
90
90
|
import "next/image.js";
|
|
91
91
|
import "next/link.js";
|
|
92
|
-
/* empty css
|
|
93
|
-
/* empty css
|
|
92
|
+
/* empty css */
|
|
93
|
+
/* empty css */
|
|
94
94
|
import "../../PageNavItem/PageNavItem.css.js";
|
|
95
95
|
import "react-slick";
|
|
96
|
-
/* empty css
|
|
97
|
-
/* empty css
|
|
98
|
-
/* empty css
|
|
99
|
-
/* empty css
|
|
96
|
+
/* empty css */
|
|
97
|
+
/* empty css */
|
|
98
|
+
/* empty css */
|
|
99
|
+
/* empty css */
|
|
100
100
|
import "../../StepItem/StepItem.css.js";
|
|
101
101
|
import "../../StepItemSet/StepItemSet.css.js";
|
|
102
|
-
/* empty css
|
|
103
|
-
/* empty css
|
|
104
|
-
/* empty css
|
|
102
|
+
/* empty css */
|
|
103
|
+
/* empty css */
|
|
104
|
+
/* empty css */
|
|
105
105
|
import "next/script.js";
|
|
106
|
-
/* empty css
|
|
107
|
-
/* empty css
|
|
106
|
+
/* empty css */
|
|
107
|
+
/* empty css */
|
|
108
108
|
const RateWatchForm = ({
|
|
109
109
|
email,
|
|
110
110
|
lastName,
|
|
@@ -7,6 +7,7 @@ import { useState } from "react";
|
|
|
7
7
|
import "react-use";
|
|
8
8
|
import { Checkbox } from "../../Input/Checkbox.js";
|
|
9
9
|
import { CurrencyInput } from "../../Input/CurrencyInput.js";
|
|
10
|
+
import "../../Input/DownPaymentInput.js";
|
|
10
11
|
import { Dropdown } from "../../Input/Dropdown.js";
|
|
11
12
|
import "../../Input/Dropdown.css.js";
|
|
12
13
|
import { Input } from "../../Input/Input.js";
|
|
@@ -14,22 +15,21 @@ import "../../Input/Input.css.js";
|
|
|
14
15
|
import "../../Input/InputAmount.js";
|
|
15
16
|
import { InputPhone } from "../../Input/InputPhone.js";
|
|
16
17
|
import "../../Input/InputTextArea.js";
|
|
17
|
-
import "../../Input/DownPaymentInput.js";
|
|
18
18
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
19
19
|
import SvgAxosX from "../../icons/AxosX/index.js";
|
|
20
20
|
import SvgComponent from "../../icons/AxosX/Blue.js";
|
|
21
21
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
22
|
-
/* empty css
|
|
23
|
-
/* empty css
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
24
25
|
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
26
|
import "../../utils/allowedAxosDomains.js";
|
|
27
27
|
import { associatedEmail } from "../../utils/EverestValidity.js";
|
|
28
28
|
import { getVariant } from "../../utils/getVariant.js";
|
|
29
29
|
import clsx from "clsx";
|
|
30
30
|
import { useForm, FormProvider } from "react-hook-form";
|
|
31
31
|
import * as z from "zod";
|
|
32
|
-
import { Purposes, RepresentativesFico, DocType, Citizenship,
|
|
32
|
+
import { Purposes, RepresentativesFico, DocType, Citizenship, MortgageLates12, MortgageLates24, HousingEventType, HousingEventHistory, BankruptcyType, BankruptcySeasoning, PropertyType, Occupancy, NumberOfUnits, PrepaymentPenalty, BrokerConpensation } from "../FormEnums.js";
|
|
33
33
|
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, one_row, section_title, checkbox_group, disclosureForm, actions } from "../Forms.css.js";
|
|
34
34
|
import { SalesforceSchema } from "../SalesforceFieldsForm.js";
|
|
35
35
|
const QuickPricer = ({
|
|
@@ -59,14 +59,16 @@ const QuickPricer = ({
|
|
|
59
59
|
Base_Loan_Amount__c: z.string({
|
|
60
60
|
message: "Please provide a valid base loan amount"
|
|
61
61
|
}).transform((val) => {
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const base_loan = val.replace(/[$ ]/gi, "");
|
|
63
|
+
const new_base_loan = base_loan.replaceAll(",", "");
|
|
64
|
+
return parseInt(new_base_loan);
|
|
64
65
|
}),
|
|
65
66
|
Appraised_Value__c: z.string({
|
|
66
67
|
message: "Please provide a valid property value"
|
|
67
68
|
}).transform((val) => {
|
|
68
|
-
const
|
|
69
|
-
|
|
69
|
+
const appraised_value = val.replace(/[$ ]/gi, "");
|
|
70
|
+
const new_appraised_value = appraised_value.replaceAll(",", "");
|
|
71
|
+
return parseInt(new_appraised_value);
|
|
70
72
|
}),
|
|
71
73
|
Loan_Purpose__c: z.string().min(1, { message: "Purpose is required" }).refine((val) => Purposes.map((item) => item.value).includes(val), {
|
|
72
74
|
message: "Purpose is required"
|
|
@@ -96,12 +98,18 @@ const QuickPricer = ({
|
|
|
96
98
|
Citizenship__c: z.string().min(1, { message: "Citizenship is required" }).refine((val) => Citizenship.map((item) => item.value).includes(val), {
|
|
97
99
|
message: "Citizenship is required"
|
|
98
100
|
}),
|
|
99
|
-
Mortgage_Lates_12: z.string().min(1, { message: "Mortgage history is required" }).refine(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
Mortgage_Lates_12: z.string().min(1, { message: "Mortgage history is required" }).refine(
|
|
102
|
+
(val) => MortgageLates12.map((item) => item.value).includes(val),
|
|
103
|
+
{
|
|
104
|
+
message: "Mortgage history is required"
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
Mortgage_Lates_24: z.string().min(1, { message: "Mortgage history is required" }).refine(
|
|
108
|
+
(val) => MortgageLates24.map((item) => item.value).includes(val),
|
|
109
|
+
{
|
|
110
|
+
message: "Mortgage history is required"
|
|
111
|
+
}
|
|
112
|
+
),
|
|
105
113
|
HousingEventType__c: z.string().min(1, { message: "Housing event type is required" }).refine(
|
|
106
114
|
(val) => HousingEventType.map((item) => item.value).includes(val),
|
|
107
115
|
{
|
|
@@ -249,16 +257,16 @@ const QuickPricer = ({
|
|
|
249
257
|
{
|
|
250
258
|
id: "Base_Loan_Amount__c",
|
|
251
259
|
...register("Base_Loan_Amount__c", {
|
|
252
|
-
required: true
|
|
253
|
-
minLength: 149999,
|
|
254
|
-
maxLength: 999999999
|
|
260
|
+
required: true
|
|
255
261
|
}),
|
|
256
262
|
label: "Loan Amount",
|
|
257
263
|
sizes: "medium",
|
|
258
264
|
required: true,
|
|
259
265
|
error: !!errors.Base_Loan_Amount__c,
|
|
260
266
|
helperText: errors.Base_Loan_Amount__c?.message,
|
|
261
|
-
variant
|
|
267
|
+
variant,
|
|
268
|
+
maxfractiondigits: 0,
|
|
269
|
+
minfractiondigits: 0
|
|
262
270
|
}
|
|
263
271
|
) }),
|
|
264
272
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -267,8 +275,6 @@ const QuickPricer = ({
|
|
|
267
275
|
id: "Appraised_Value__c",
|
|
268
276
|
...register("Appraised_Value__c", {
|
|
269
277
|
required: true,
|
|
270
|
-
minLength: 149999,
|
|
271
|
-
maxLength: 999999999,
|
|
272
278
|
deps: ["Base_Loan_Amount__c"]
|
|
273
279
|
}),
|
|
274
280
|
label: "Property Value",
|
|
@@ -276,7 +282,9 @@ const QuickPricer = ({
|
|
|
276
282
|
required: true,
|
|
277
283
|
error: !!errors.Appraised_Value__c,
|
|
278
284
|
helperText: errors.Appraised_Value__c?.message,
|
|
279
|
-
variant
|
|
285
|
+
variant,
|
|
286
|
+
maxfractiondigits: 0,
|
|
287
|
+
minfractiondigits: 0
|
|
280
288
|
}
|
|
281
289
|
) }),
|
|
282
290
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
@@ -303,7 +311,7 @@ const QuickPricer = ({
|
|
|
303
311
|
},
|
|
304
312
|
children: [
|
|
305
313
|
/* @__PURE__ */ jsx("option", { value: "", disabled: true, children: "Select a Purpose Loan" }),
|
|
306
|
-
Purposes.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
314
|
+
Purposes.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
307
315
|
]
|
|
308
316
|
}
|
|
309
317
|
) }),
|
|
@@ -393,7 +401,7 @@ const QuickPricer = ({
|
|
|
393
401
|
defaultValue: "default",
|
|
394
402
|
children: [
|
|
395
403
|
/* @__PURE__ */ jsx("option", { value: "default", disabled: true, children: "Select a Representative FICO" }),
|
|
396
|
-
RepresentativesFico.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
404
|
+
RepresentativesFico.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
397
405
|
]
|
|
398
406
|
}
|
|
399
407
|
) }),
|
|
@@ -435,7 +443,7 @@ const QuickPricer = ({
|
|
|
435
443
|
setValue("Debt_To_Income_Ratio__c", 0);
|
|
436
444
|
}
|
|
437
445
|
},
|
|
438
|
-
children: DocType.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
446
|
+
children: DocType.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
439
447
|
}
|
|
440
448
|
) }),
|
|
441
449
|
DSCR_Ratio && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -468,10 +476,10 @@ const QuickPricer = ({
|
|
|
468
476
|
helperText: errors.Citizenship__c?.message,
|
|
469
477
|
variant,
|
|
470
478
|
defaultValue: "USCitizen",
|
|
471
|
-
children: Citizenship.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
479
|
+
children: Citizenship.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
472
480
|
}
|
|
473
481
|
) }),
|
|
474
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */
|
|
482
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
475
483
|
Dropdown,
|
|
476
484
|
{
|
|
477
485
|
id: "Mortgage_Lates_12",
|
|
@@ -485,15 +493,10 @@ const QuickPricer = ({
|
|
|
485
493
|
helperText: errors.Mortgage_Lates_12?.message,
|
|
486
494
|
variant,
|
|
487
495
|
defaultValue: "0x30",
|
|
488
|
-
children:
|
|
489
|
-
/* @__PURE__ */ jsx("option", { value: "0x30", children: "0x30" }),
|
|
490
|
-
/* @__PURE__ */ jsx("option", { value: "1x30", children: "1x30" }),
|
|
491
|
-
/* @__PURE__ */ jsx("option", { value: "2x30", children: "2x30" }),
|
|
492
|
-
/* @__PURE__ */ jsx("option", { value: "3x30", children: "3x30 +" })
|
|
493
|
-
]
|
|
496
|
+
children: MortgageLates12.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, `${item.value}_12`))
|
|
494
497
|
}
|
|
495
498
|
) }),
|
|
496
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */
|
|
499
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
497
500
|
Dropdown,
|
|
498
501
|
{
|
|
499
502
|
id: "Mortgage_Lates_24",
|
|
@@ -507,12 +510,7 @@ const QuickPricer = ({
|
|
|
507
510
|
helperText: errors.Mortgage_Lates_24?.message,
|
|
508
511
|
variant,
|
|
509
512
|
defaultValue: "0x30",
|
|
510
|
-
children:
|
|
511
|
-
/* @__PURE__ */ jsx("option", { value: "0x30", children: "0x30" }),
|
|
512
|
-
/* @__PURE__ */ jsx("option", { value: "1x30", children: "1x30" }),
|
|
513
|
-
/* @__PURE__ */ jsx("option", { value: "2x30", children: "2x30" }),
|
|
514
|
-
/* @__PURE__ */ jsx("option", { value: "3x30", children: "3x30 +" })
|
|
515
|
-
]
|
|
513
|
+
children: MortgageLates24.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, `${item.value}_24`))
|
|
516
514
|
}
|
|
517
515
|
) }),
|
|
518
516
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -537,7 +535,14 @@ const QuickPricer = ({
|
|
|
537
535
|
}
|
|
538
536
|
},
|
|
539
537
|
defaultValue: "None",
|
|
540
|
-
children: HousingEventType.map((item) => /* @__PURE__ */ jsx(
|
|
538
|
+
children: HousingEventType.map((item) => /* @__PURE__ */ jsx(
|
|
539
|
+
"option",
|
|
540
|
+
{
|
|
541
|
+
value: item.value,
|
|
542
|
+
children: item.text
|
|
543
|
+
},
|
|
544
|
+
`${item.value}_Housing_Event_Type`
|
|
545
|
+
))
|
|
541
546
|
}
|
|
542
547
|
) }),
|
|
543
548
|
houseEventHistory && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -554,7 +559,14 @@ const QuickPricer = ({
|
|
|
554
559
|
helperText: errors.housingEventSeasoning__c?.message,
|
|
555
560
|
variant,
|
|
556
561
|
defaultValue: "NotApplicable",
|
|
557
|
-
children: HousingEventHistory.map((item) => /* @__PURE__ */ jsx(
|
|
562
|
+
children: HousingEventHistory.map((item) => /* @__PURE__ */ jsx(
|
|
563
|
+
"option",
|
|
564
|
+
{
|
|
565
|
+
value: item.value,
|
|
566
|
+
children: item.text
|
|
567
|
+
},
|
|
568
|
+
`${item.value}_Housing_Event_Seasoning`
|
|
569
|
+
))
|
|
558
570
|
}
|
|
559
571
|
) }),
|
|
560
572
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -579,7 +591,14 @@ const QuickPricer = ({
|
|
|
579
591
|
setValue("bankruptcySeasoning__c", "NotApplicable");
|
|
580
592
|
}
|
|
581
593
|
},
|
|
582
|
-
children: BankruptcyType.map((item) => /* @__PURE__ */ jsx(
|
|
594
|
+
children: BankruptcyType.map((item) => /* @__PURE__ */ jsx(
|
|
595
|
+
"option",
|
|
596
|
+
{
|
|
597
|
+
value: item.value,
|
|
598
|
+
children: item.text
|
|
599
|
+
},
|
|
600
|
+
`${item.value}_Bankruptcy_Type`
|
|
601
|
+
))
|
|
583
602
|
}
|
|
584
603
|
) }),
|
|
585
604
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -612,7 +631,14 @@ const QuickPricer = ({
|
|
|
612
631
|
helperText: errors.bankruptcySeasoning__c?.message,
|
|
613
632
|
variant,
|
|
614
633
|
defaultValue: "NotApplicable",
|
|
615
|
-
children: BankruptcySeasoning.map((item) => /* @__PURE__ */ jsx(
|
|
634
|
+
children: BankruptcySeasoning.map((item) => /* @__PURE__ */ jsx(
|
|
635
|
+
"option",
|
|
636
|
+
{
|
|
637
|
+
value: item.value,
|
|
638
|
+
children: item.text
|
|
639
|
+
},
|
|
640
|
+
`${item.value}_Bankruptcy_Seasoning`
|
|
641
|
+
))
|
|
616
642
|
}
|
|
617
643
|
) }),
|
|
618
644
|
/* @__PURE__ */ jsx("div", { className: clsx(one_row, section_title({ variant })), children: /* @__PURE__ */ jsx("h4", { className: "header_4", children: "Property Information" }) }),
|
|
@@ -654,7 +680,7 @@ const QuickPricer = ({
|
|
|
654
680
|
},
|
|
655
681
|
children: [
|
|
656
682
|
/* @__PURE__ */ jsx("option", { value: "Default", disabled: true, children: "Select option" }),
|
|
657
|
-
PropertyType.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
683
|
+
PropertyType.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
658
684
|
]
|
|
659
685
|
}
|
|
660
686
|
) }),
|
|
@@ -673,7 +699,7 @@ const QuickPricer = ({
|
|
|
673
699
|
variant,
|
|
674
700
|
defaultValue: "",
|
|
675
701
|
onChange: (event) => {
|
|
676
|
-
if (event.target.value === "
|
|
702
|
+
if (event.target.value === "InvestmentProperty") {
|
|
677
703
|
setPrepaymentPenalty(true);
|
|
678
704
|
} else {
|
|
679
705
|
setPrepaymentPenalty(false);
|
|
@@ -682,7 +708,7 @@ const QuickPricer = ({
|
|
|
682
708
|
},
|
|
683
709
|
children: [
|
|
684
710
|
/* @__PURE__ */ jsx("option", { value: "", disabled: true, children: "Select option" }),
|
|
685
|
-
Occupancy.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
711
|
+
Occupancy.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
686
712
|
]
|
|
687
713
|
}
|
|
688
714
|
) }),
|
|
@@ -700,7 +726,7 @@ const QuickPricer = ({
|
|
|
700
726
|
helperText: errors.Units__c?.message,
|
|
701
727
|
variant,
|
|
702
728
|
defaultValue: "OneUnit",
|
|
703
|
-
children: NumberOfUnits.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
729
|
+
children: NumberOfUnits.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
704
730
|
}
|
|
705
731
|
) }),
|
|
706
732
|
prepaymentPenalty && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -717,7 +743,14 @@ const QuickPricer = ({
|
|
|
717
743
|
helperText: errors.Prepayment_Penalty__c?.message,
|
|
718
744
|
variant,
|
|
719
745
|
defaultValue: "None",
|
|
720
|
-
children: PrepaymentPenalty.map((item) => /* @__PURE__ */ jsx(
|
|
746
|
+
children: PrepaymentPenalty.map((item) => /* @__PURE__ */ jsx(
|
|
747
|
+
"option",
|
|
748
|
+
{
|
|
749
|
+
value: item.value,
|
|
750
|
+
children: item.text
|
|
751
|
+
},
|
|
752
|
+
`${item.value}_Prepayment_Penalty`
|
|
753
|
+
))
|
|
721
754
|
}
|
|
722
755
|
) }),
|
|
723
756
|
/* @__PURE__ */ jsx("div", { className: clsx(one_row, section_title({ variant })), children: /* @__PURE__ */ jsx("h4", { className: "header_4", children: "Broker Information" }) }),
|
|
@@ -737,7 +770,7 @@ const QuickPricer = ({
|
|
|
737
770
|
defaultValue: "Default",
|
|
738
771
|
children: [
|
|
739
772
|
/* @__PURE__ */ jsx("option", { value: "Default", disabled: true, children: "Select option" }),
|
|
740
|
-
BrokerConpensation.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }))
|
|
773
|
+
BrokerConpensation.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
741
774
|
]
|
|
742
775
|
}
|
|
743
776
|
) }),
|
|
@@ -7,6 +7,7 @@ import "react";
|
|
|
7
7
|
import "react-use";
|
|
8
8
|
import "../Input/Checkbox.js";
|
|
9
9
|
import "../Input/CurrencyInput.js";
|
|
10
|
+
import "../Input/DownPaymentInput.js";
|
|
10
11
|
import { Dropdown } from "../Input/Dropdown.js";
|
|
11
12
|
import "../Input/Dropdown.css.js";
|
|
12
13
|
import { Input } from "../Input/Input.js";
|
|
@@ -14,15 +15,14 @@ import "../Input/Input.css.js";
|
|
|
14
15
|
import "../Input/InputAmount.js";
|
|
15
16
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
17
|
import "../Input/InputTextArea.js";
|
|
17
|
-
import "../Input/DownPaymentInput.js";
|
|
18
18
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
19
19
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
20
20
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
21
21
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
22
|
-
/* empty css
|
|
23
|
-
/* empty css
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
24
25
|
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
26
|
import "../utils/allowedAxosDomains.js";
|
|
27
27
|
import { associatedEmail } from "../utils/EverestValidity.js";
|
|
28
28
|
import { getVariant } from "../utils/getVariant.js";
|
|
@@ -7,6 +7,7 @@ import "react";
|
|
|
7
7
|
import "react-use";
|
|
8
8
|
import "../Input/Checkbox.js";
|
|
9
9
|
import { CurrencyInput } from "../Input/CurrencyInput.js";
|
|
10
|
+
import "../Input/DownPaymentInput.js";
|
|
10
11
|
import { Dropdown } from "../Input/Dropdown.js";
|
|
11
12
|
import "../Input/Dropdown.css.js";
|
|
12
13
|
import { Input } from "../Input/Input.js";
|
|
@@ -14,16 +15,15 @@ import "../Input/Input.css.js";
|
|
|
14
15
|
import "../Input/InputAmount.js";
|
|
15
16
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
17
|
import "../Input/InputTextArea.js";
|
|
17
|
-
import "../Input/DownPaymentInput.js";
|
|
18
18
|
import { LoadingIndicator } from "../LoadingIndicator/index.js";
|
|
19
19
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
20
20
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
21
21
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
22
22
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
23
|
-
/* empty css
|
|
24
|
-
/* empty css
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
25
26
|
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
27
|
import "../utils/allowedAxosDomains.js";
|
|
28
28
|
import { associatedEmail } from "../utils/EverestValidity.js";
|
|
29
29
|
import { getVariant } from "../utils/getVariant.js";
|