@axos-web-dev/shared-components 0.0.168 → 0.0.170
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 +36 -36
- 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 +36 -36
- 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 +36 -36
- 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 +36 -36
- package/dist/Chevron/Chevron.css.js +4 -4
- package/dist/Chevron/index.js +36 -36
- 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 +35 -35
- 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.js +36 -36
- package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +4 -4
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +99 -79
- package/dist/Forms/ApplicationStart.js +5 -4
- package/dist/Forms/ClearingForm.js +5 -4
- package/dist/Forms/CommercialDeposits.js +5 -4
- package/dist/Forms/CommercialLending.js +5 -4
- package/dist/Forms/ContactCompany.js +5 -4
- package/dist/Forms/ContactUs.js +5 -4
- package/dist/Forms/ContactUsAAS.js +5 -4
- package/dist/Forms/ContactUsBusiness.js +36 -36
- package/dist/Forms/ContactUsNMLSId.js +36 -36
- package/dist/Forms/CpraRequest.js +5 -5
- package/dist/Forms/DealerServices.js +5 -4
- package/dist/Forms/EmailOnly.js +36 -36
- package/dist/Forms/EmailUs.js +3 -3
- package/dist/Forms/Forms.css.js +8 -7
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +5 -2
- package/dist/Forms/MortgageRate/MortgageRateForm.js +65 -55
- package/dist/Forms/MortgageRate/MortgageRateModal.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateModal.js +3 -4
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +6 -3
- package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +2 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +306 -274
- package/dist/Forms/QuickPricer/QuickPricerForm.js +5 -4
- package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
- package/dist/Forms/QuickPricer/UserInformation.css.js +3 -3
- package/dist/Forms/ScheduleCall.js +5 -4
- package/dist/Forms/ScheduleCallPremier.js +5 -4
- package/dist/Forms/SuccesForm.js +37 -37
- 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 +36 -36
- 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 +36 -36
- package/dist/ImageLink/ImageLinkSet.js +36 -36
- package/dist/ImageLink/index.js +36 -36
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/CurrencyInput.js +2 -1
- package/dist/Input/DownPaymentInput.js +1 -1
- package/dist/Input/Dropdown.css.js +2 -2
- package/dist/Input/Input.css.js +4 -4
- package/dist/Input/InputAmount.js +2 -1
- package/dist/Input/InputPhone.js +2 -1
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Input/index.d.ts +2 -1
- package/dist/Input/index.js +4 -1
- package/dist/Inputs/Input.css.js +3 -3
- package/dist/Insight/Featured/CategorySelector.css.js +5 -5
- package/dist/Insight/Featured/CategorySelector.js +35 -35
- package/dist/Insight/Featured/Featured.css.js +2 -2
- package/dist/Insight/Featured/Featured.js +37 -37
- package/dist/Insight/Featured/Header.css.js +1 -1
- package/dist/Insight/Featured/Header.js +35 -35
- package/dist/Insight/Insight.css.js +2 -2
- package/dist/Interstitial/Interstitial-variants.css.js +4 -4
- package/dist/Interstitial/Interstitial.module.js +10 -10
- 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 +35 -35
- 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 +36 -36
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +85 -103
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/index.js +34 -34
- 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 +36 -36
- 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.js +35 -35
- package/dist/assets/Interstitial/Interstitial.css.css +24 -23
- package/dist/assets/SecondaryFooter/SecondaryFooter.css +8 -13
- package/dist/assets/globals.css +31 -50
- package/dist/globals.css.js +2 -2
- package/dist/icons/ArrowIcon/ArrowIcon.css.js +3 -3
- 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.js +4 -1
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +2 -2
- package/dist/utils/allowedAxosDomains.js +3 -1
- package/package.json +1 -1
- package/dist/Input/DatePicker.css.d.ts +0 -1
- package/dist/Input/DatePicker.css.js +0 -6
- package/dist/Input/DatePicker2.d.ts +0 -21
- package/dist/Input/DatePicker2.js +0 -103
- package/dist/Input/DatePickerComponents/DatePicker.d.ts +0 -11
- package/dist/Input/DatePickerComponents/DatePicker.js +0 -13
- package/dist/Input/DatePickerComponents/InputDate.d.ts +0 -15
- package/dist/Input/DatePickerComponents/InputDate.js +0 -66
- package/dist/Input/DatePickerComponents/index.d.ts +0 -2
- package/dist/Input/DatePickerComponents/index.js +0 -6
- package/dist/Input/Datepicker.d.ts +0 -3
- package/dist/Input/Datepicker.js +0 -47
- package/dist/Input/InputDate.css.d.ts +0 -6
- package/dist/Input/InputDate.css.js +0 -15
- package/dist/Input/InputDate.d.ts +0 -3
- package/dist/Input/InputDate.js +0 -47
- package/dist/assets/Input/DatePicker.css +0 -95
- package/dist/assets/Input/InputDate.css +0 -39
- package/dist/assets/node_modules/react-date-range/dist/styles.css.css +0 -194
- package/dist/assets/node_modules/react-date-range/dist/theme/default.css.css +0 -385
- package/dist/icons/CalendarIcon/CalendarIcon.d.ts +0 -3
- package/dist/icons/CalendarIcon/CalendarIcon.js +0 -17
- package/dist/icons/CalendarIcon/index.d.ts +0 -1
- package/dist/icons/CalendarIcon/index.js +0 -4
- package/dist/types/icon.d.ts +0 -3
- package/dist/types/icon.js +0 -1
- package/dist/types/popover.d.ts +0 -8
- package/dist/types/popover.js +0 -1
- package/dist/utils/constants/format.d.ts +0 -1
- package/dist/utils/constants/format.js +0 -4
- package/dist/utils/constants/popper.d.ts +0 -6
- package/dist/utils/constants/popper.js +0 -10
- package/dist/utils/hooks/usePopover.d.ts +0 -25
- package/dist/utils/hooks/usePopover.js +0 -64
|
@@ -3,7 +3,6 @@ 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";
|
|
7
6
|
import { Dropdown } from "../../Input/Dropdown.js";
|
|
8
7
|
import "../../Input/Dropdown.css.js";
|
|
9
8
|
import { Input } from "../../Input/Input.js";
|
|
@@ -11,6 +10,8 @@ import "../../Input/Input.css.js";
|
|
|
11
10
|
import "../../Input/InputAmount.js";
|
|
12
11
|
import "../../Input/InputPhone.js";
|
|
13
12
|
import "../../Input/InputTextArea.js";
|
|
13
|
+
import "../../Input/DownPaymentInput.js";
|
|
14
|
+
import "../../Input/RadioButton.js";
|
|
14
15
|
import { useForm, FormProvider } from "react-hook-form";
|
|
15
16
|
import * as z from "zod";
|
|
16
17
|
import clsx from "clsx";
|
|
@@ -23,13 +24,13 @@ import { checkbox } from "../../Input/Checkbox.css.js";
|
|
|
23
24
|
import "../../IconBillboard/IconBillboard.css.js";
|
|
24
25
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
25
26
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
26
|
-
/* empty css
|
|
27
|
-
/* empty css
|
|
28
|
-
/* empty css */
|
|
27
|
+
/* empty css */
|
|
28
|
+
/* empty css */
|
|
29
29
|
/* empty css */
|
|
30
|
+
/* empty css */
|
|
30
31
|
import "../../utils/allowedAxosDomains.js";
|
|
31
|
-
/* empty css
|
|
32
|
-
/* empty css
|
|
32
|
+
/* empty css */
|
|
33
|
+
/* empty css */
|
|
33
34
|
import "../../Accordion/Accordion.js";
|
|
34
35
|
import "../../Accordion/Accordion.css.js";
|
|
35
36
|
import "../../AlertBanner/AlertBanner.css.js";
|
|
@@ -44,20 +45,20 @@ import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
|
44
45
|
import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
45
46
|
import "../SalesforceFieldsForm.js";
|
|
46
47
|
import "react-use";
|
|
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
|
+
import { SuccesFormWrapper } from "../SuccesForm.js";
|
|
53
54
|
import "iframe-resizer";
|
|
54
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
55
56
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
56
|
-
/* empty css */
|
|
57
57
|
/* empty css */
|
|
58
|
-
/* empty css
|
|
58
|
+
/* empty css */
|
|
59
|
+
/* empty css */
|
|
59
60
|
import "../../Carousel/index.js";
|
|
60
|
-
/* empty css
|
|
61
|
+
/* empty css */
|
|
61
62
|
import "../../Comparison/Comparison.css.js";
|
|
62
63
|
import "../../HeroBanner/HeroBanner.css.js";
|
|
63
64
|
import "../../HeroBanner/LargeBanner.css.js";
|
|
@@ -66,50 +67,51 @@ import "../../SetContainer/SetContainer.css.js";
|
|
|
66
67
|
import "../../Tab/Tab.css.js";
|
|
67
68
|
import "../../icons/Star/Star.css.js";
|
|
68
69
|
import "../../ContentBanner/ContentBanner.css.js";
|
|
69
|
-
/* empty css
|
|
70
|
+
/* empty css */
|
|
70
71
|
import "../../ExecutiveBio/ExecutiveBio.css.js";
|
|
71
72
|
import "../../FaqAccordion/index.js";
|
|
72
73
|
import "../../FooterDisclosure/FooterDisclosure.css.js";
|
|
73
|
-
/* empty css
|
|
74
|
+
/* empty css */
|
|
74
75
|
import "../../ImageBillboard/ImageBillboard.css.js";
|
|
75
|
-
/* empty css */
|
|
76
|
-
/* empty css */
|
|
77
|
-
/* empty css */
|
|
78
|
-
/* empty css */
|
|
79
76
|
/* empty css */
|
|
80
|
-
|
|
77
|
+
/* empty css */
|
|
78
|
+
/* empty css */
|
|
79
|
+
/* empty css */
|
|
81
80
|
/* empty css */
|
|
81
|
+
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
82
|
+
/* empty css */
|
|
82
83
|
import "../../Modal/contextApi/store.js";
|
|
83
|
-
/* empty css
|
|
84
|
-
/* empty css
|
|
85
|
-
/* empty css
|
|
86
|
-
/* empty css
|
|
87
|
-
/* empty css
|
|
84
|
+
/* empty css */
|
|
85
|
+
/* empty css */
|
|
86
|
+
/* empty css */
|
|
87
|
+
/* empty css */
|
|
88
|
+
/* empty css */
|
|
88
89
|
import "../../NavigationMenu/AxosBank/NavData.js";
|
|
89
90
|
import "next/navigation.js";
|
|
90
91
|
import "next/image.js";
|
|
91
92
|
import "next/link.js";
|
|
92
|
-
/* empty css
|
|
93
|
-
/* empty css
|
|
93
|
+
/* empty css */
|
|
94
|
+
/* empty css */
|
|
94
95
|
import "../../PageNavItem/PageNavItem.css.js";
|
|
95
96
|
import "react-slick";
|
|
96
|
-
/* empty css
|
|
97
|
-
/* empty css
|
|
98
|
-
/* empty css
|
|
99
|
-
/* empty css
|
|
97
|
+
/* empty css */
|
|
98
|
+
/* empty css */
|
|
99
|
+
/* empty css */
|
|
100
|
+
/* empty css */
|
|
100
101
|
import "../../StepItem/StepItem.css.js";
|
|
101
102
|
import "../../StepItemSet/StepItemSet.css.js";
|
|
102
|
-
/* empty css
|
|
103
|
-
/* empty css */
|
|
104
|
-
/* empty css */
|
|
105
|
-
import "next/script.js";
|
|
106
|
-
/* empty css */
|
|
103
|
+
/* empty css */
|
|
107
104
|
/* empty css */
|
|
105
|
+
/* empty css */
|
|
106
|
+
import "next/script.js";
|
|
107
|
+
/* empty css */
|
|
108
|
+
/* empty css */
|
|
108
109
|
const RateWatchForm = ({
|
|
109
110
|
email,
|
|
110
111
|
lastName,
|
|
111
112
|
rateWatchOnSubmit,
|
|
112
|
-
toggleModal
|
|
113
|
+
toggleModal,
|
|
114
|
+
setRateWatchSubmitted
|
|
113
115
|
}) => {
|
|
114
116
|
const [updateType, setUpdateType] = useState(
|
|
115
117
|
"Target Rate"
|
|
@@ -202,6 +204,7 @@ const RateWatchForm = ({
|
|
|
202
204
|
console.error("rateWatchOnSubmit function is not defined");
|
|
203
205
|
}
|
|
204
206
|
toggleModal();
|
|
207
|
+
if (setRateWatchSubmitted) setRateWatchSubmitted(true);
|
|
205
208
|
};
|
|
206
209
|
const options = [
|
|
207
210
|
{ label: "30 Year Fixed", value: "30" },
|
|
@@ -227,260 +230,289 @@ const RateWatchForm = ({
|
|
|
227
230
|
useEffect(() => {
|
|
228
231
|
methods.reset();
|
|
229
232
|
}, [updateType]);
|
|
230
|
-
return /* @__PURE__ */ jsx("section", { className:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
className: dropdown,
|
|
242
|
-
children: [
|
|
243
|
-
/* @__PURE__ */ jsx("option", { value: "Target Rate", children: "Send an email when rates reach my target" }),
|
|
244
|
-
/* @__PURE__ */ jsx("option", { value: "Frequency", children: "Send me information about current rates on a regular basis" })
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
) }),
|
|
248
|
-
updateType === "Frequency" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
249
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
250
|
-
Dropdown,
|
|
251
|
-
{
|
|
252
|
-
...register("updateCadence"),
|
|
253
|
-
label: "Set Up Frequency",
|
|
254
|
-
error: !!errors.updateCadence,
|
|
255
|
-
helperText: errors.updateCadence?.message,
|
|
256
|
-
className: dropdown,
|
|
257
|
-
children: [
|
|
258
|
-
/* @__PURE__ */ jsx("option", { value: "", children: "Update Frequency" }),
|
|
259
|
-
/* @__PURE__ */ jsx("option", { value: "Daily", children: "Daily" }),
|
|
260
|
-
/* @__PURE__ */ jsx("option", { value: "Weekly", children: "Weekly" }),
|
|
261
|
-
/* @__PURE__ */ jsx("option", { value: "Monthly", children: "Monthly" })
|
|
262
|
-
]
|
|
263
|
-
}
|
|
264
|
-
) }),
|
|
265
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
266
|
-
CheckboxGroup,
|
|
267
|
-
{
|
|
268
|
-
label: "Select the loan programs you would like to include in your updates.",
|
|
269
|
-
options,
|
|
270
|
-
selectedValues,
|
|
271
|
-
onChange: handleProgramsChange
|
|
272
|
-
}
|
|
273
|
-
) })
|
|
274
|
-
] }),
|
|
275
|
-
updateType === "Target Rate" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
276
|
-
/* @__PURE__ */ jsx("p", { className: mt1Rem, children: "You can establish up to three different targets with one rate watch." }),
|
|
277
|
-
/* @__PURE__ */ jsxs("div", { className: threeColRow, children: [
|
|
278
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
279
|
-
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Select a Loan Type*" }),
|
|
280
|
-
/* @__PURE__ */ jsxs(
|
|
281
|
-
Dropdown,
|
|
282
|
-
{
|
|
283
|
-
...register("tR1LoanTerm"),
|
|
284
|
-
error: !!errors.tR1LoanTerm,
|
|
285
|
-
helperText: errors.tR1LoanTerm?.message,
|
|
286
|
-
className: dropdown,
|
|
287
|
-
children: [
|
|
288
|
-
/* @__PURE__ */ jsx("option", { value: "", children: "Select a Loan Type" }),
|
|
289
|
-
/* @__PURE__ */ jsx("option", { value: "ThirtyYear", children: "30 Year Fixed" }),
|
|
290
|
-
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
291
|
-
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
292
|
-
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
293
|
-
]
|
|
294
|
-
}
|
|
295
|
-
)
|
|
296
|
-
] }),
|
|
297
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
298
|
-
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Desired Rate" }),
|
|
299
|
-
/* @__PURE__ */ jsx(
|
|
300
|
-
Input,
|
|
301
|
-
{
|
|
302
|
-
className: dynPH,
|
|
303
|
-
...register("tR1DesiredRate", {
|
|
304
|
-
setValueAs: (value) => value ? `${value}` : ""
|
|
305
|
-
}),
|
|
306
|
-
type: "number",
|
|
307
|
-
placeholder: "Desired Rate",
|
|
308
|
-
error: !!errors.tR1DesiredRate,
|
|
309
|
-
helperText: errors.tR1DesiredRate?.message
|
|
310
|
-
}
|
|
311
|
-
)
|
|
312
|
-
] }),
|
|
313
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
314
|
-
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Discount Points" }),
|
|
315
|
-
/* @__PURE__ */ jsxs(
|
|
316
|
-
Dropdown,
|
|
317
|
-
{
|
|
318
|
-
className: dynPH,
|
|
319
|
-
...register("tR1DiscountPoints"),
|
|
320
|
-
type: "string",
|
|
321
|
-
error: !!errors.tR1DiscountPoints,
|
|
322
|
-
helperText: errors.tR1DiscountPoints?.message,
|
|
323
|
-
children: [
|
|
324
|
-
/* @__PURE__ */ jsx("option", { value: "0", children: "0%" }),
|
|
325
|
-
/* @__PURE__ */ jsx("option", { value: "0.125", children: "0.125%" }),
|
|
326
|
-
/* @__PURE__ */ jsx("option", { value: "0.250", children: "0.250%" }),
|
|
327
|
-
/* @__PURE__ */ jsx("option", { value: "0.375", children: "0.375%" }),
|
|
328
|
-
/* @__PURE__ */ jsx("option", { value: "0.500", children: "0.500%" }),
|
|
329
|
-
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
330
|
-
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
331
|
-
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
332
|
-
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
)
|
|
336
|
-
] })
|
|
337
|
-
] }),
|
|
338
|
-
/* @__PURE__ */ jsx("hr", { className: `${mt1Rem}` }),
|
|
339
|
-
/* @__PURE__ */ jsxs("div", { className: `${threeColRow} ${mt1Rem}`, children: [
|
|
340
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
341
|
-
Dropdown,
|
|
342
|
-
{
|
|
343
|
-
...register("tR2LoanTerm"),
|
|
344
|
-
error: !!errors.tR2LoanTerm,
|
|
345
|
-
helperText: errors.tR2LoanTerm?.message,
|
|
346
|
-
className: dropdown,
|
|
347
|
-
children: [
|
|
348
|
-
/* @__PURE__ */ jsx("option", { value: "", children: "Select a Loan Type" }),
|
|
349
|
-
/* @__PURE__ */ jsx("option", { value: "ThirtyYear", children: "30 Year Fixed" }),
|
|
350
|
-
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
351
|
-
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
352
|
-
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
353
|
-
]
|
|
354
|
-
}
|
|
355
|
-
) }),
|
|
356
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
357
|
-
Input,
|
|
358
|
-
{
|
|
359
|
-
className: dynPH,
|
|
360
|
-
...register("tR2DesiredRate"),
|
|
361
|
-
type: "string",
|
|
362
|
-
placeholder: "Desired Rate"
|
|
363
|
-
}
|
|
364
|
-
) }),
|
|
365
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
366
|
-
Dropdown,
|
|
233
|
+
return /* @__PURE__ */ jsx("section", { className: "rate-watch-form", children: /* @__PURE__ */ jsx(FormProvider, { ...methods, children: /* @__PURE__ */ jsx(
|
|
234
|
+
SuccesFormWrapper,
|
|
235
|
+
{
|
|
236
|
+
isSubmitted: isSubmitting,
|
|
237
|
+
variant: "primary",
|
|
238
|
+
bodyCopy: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
239
|
+
"Thank you! You have successfully subscribed to Rate Watch.",
|
|
240
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
241
|
+
"If this window doesn’t close in few seconds, ",
|
|
242
|
+
/* @__PURE__ */ jsx(
|
|
243
|
+
"a",
|
|
367
244
|
{
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
380
|
-
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
381
|
-
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
382
|
-
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
383
|
-
]
|
|
245
|
+
href: "#",
|
|
246
|
+
onClick: (e) => {
|
|
247
|
+
e.preventDefault();
|
|
248
|
+
const rateWatchForm = document.querySelector(
|
|
249
|
+
"#MortgageRateQuoteForm .interstitial"
|
|
250
|
+
);
|
|
251
|
+
if (rateWatchForm) {
|
|
252
|
+
rateWatchForm.style.display = "none";
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
children: "click here"
|
|
384
256
|
}
|
|
385
|
-
)
|
|
257
|
+
),
|
|
258
|
+
"."
|
|
386
259
|
] }),
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
|
|
260
|
+
children: /* @__PURE__ */ jsxs("form", { children: [
|
|
261
|
+
/* @__PURE__ */ jsx("input", { type: "hidden", ...register("email") }),
|
|
389
262
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
390
263
|
Dropdown,
|
|
391
264
|
{
|
|
392
|
-
...register("
|
|
393
|
-
|
|
394
|
-
|
|
265
|
+
...register("updateType"),
|
|
266
|
+
label: "Update Type",
|
|
267
|
+
error: !!errors.updateType,
|
|
268
|
+
helperText: errors.updateType?.message,
|
|
269
|
+
value: updateType,
|
|
270
|
+
onChange: handleTypeChange,
|
|
395
271
|
className: dropdown,
|
|
396
272
|
children: [
|
|
397
|
-
/* @__PURE__ */ jsx("option", { value: "", children: "
|
|
398
|
-
/* @__PURE__ */ jsx("option", { value: "
|
|
399
|
-
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
400
|
-
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
401
|
-
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
273
|
+
/* @__PURE__ */ jsx("option", { value: "Target Rate", children: "Send an email when rates reach my target" }),
|
|
274
|
+
/* @__PURE__ */ jsx("option", { value: "Frequency", children: "Send me information about current rates on a regular basis" })
|
|
402
275
|
]
|
|
403
276
|
}
|
|
404
277
|
) }),
|
|
405
|
-
/* @__PURE__ */
|
|
406
|
-
|
|
278
|
+
updateType === "Frequency" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
279
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
280
|
+
Dropdown,
|
|
281
|
+
{
|
|
282
|
+
...register("updateCadence"),
|
|
283
|
+
label: "Set Up Frequency",
|
|
284
|
+
error: !!errors.updateCadence,
|
|
285
|
+
helperText: errors.updateCadence?.message,
|
|
286
|
+
className: dropdown,
|
|
287
|
+
children: [
|
|
288
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "Update Frequency" }),
|
|
289
|
+
/* @__PURE__ */ jsx("option", { value: "Daily", children: "Daily" }),
|
|
290
|
+
/* @__PURE__ */ jsx("option", { value: "Weekly", children: "Weekly" }),
|
|
291
|
+
/* @__PURE__ */ jsx("option", { value: "Monthly", children: "Monthly" })
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
) }),
|
|
295
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
296
|
+
CheckboxGroup,
|
|
297
|
+
{
|
|
298
|
+
label: "Select the loan programs you would like to include in your updates.",
|
|
299
|
+
options,
|
|
300
|
+
selectedValues,
|
|
301
|
+
onChange: handleProgramsChange
|
|
302
|
+
}
|
|
303
|
+
) })
|
|
304
|
+
] }),
|
|
305
|
+
updateType === "Target Rate" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
306
|
+
/* @__PURE__ */ jsx("p", { className: mt1Rem, children: "You can establish up to three different targets with one rate watch." }),
|
|
307
|
+
/* @__PURE__ */ jsxs("div", { className: threeColRow, children: [
|
|
308
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
309
|
+
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Select a Loan Type*" }),
|
|
310
|
+
/* @__PURE__ */ jsxs(
|
|
311
|
+
Dropdown,
|
|
312
|
+
{
|
|
313
|
+
...register("tR1LoanTerm"),
|
|
314
|
+
error: !!errors.tR1LoanTerm,
|
|
315
|
+
helperText: errors.tR1LoanTerm?.message,
|
|
316
|
+
className: dropdown,
|
|
317
|
+
children: [
|
|
318
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "Select a Loan Type" }),
|
|
319
|
+
/* @__PURE__ */ jsx("option", { value: "ThirtyYear", children: "30 Year Fixed" }),
|
|
320
|
+
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
321
|
+
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
322
|
+
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
)
|
|
326
|
+
] }),
|
|
327
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
328
|
+
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Desired Rate" }),
|
|
329
|
+
/* @__PURE__ */ jsx(
|
|
330
|
+
Input,
|
|
331
|
+
{
|
|
332
|
+
className: dynPH,
|
|
333
|
+
...register("tR1DesiredRate", {
|
|
334
|
+
setValueAs: (value) => value ? `${value}` : ""
|
|
335
|
+
}),
|
|
336
|
+
type: "number",
|
|
337
|
+
placeholder: "Desired Rate",
|
|
338
|
+
error: !!errors.tR1DesiredRate,
|
|
339
|
+
helperText: errors.tR1DesiredRate?.message
|
|
340
|
+
}
|
|
341
|
+
)
|
|
342
|
+
] }),
|
|
343
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
344
|
+
/* @__PURE__ */ jsx("label", { className: resposiveLabel, children: "Discount Points" }),
|
|
345
|
+
/* @__PURE__ */ jsxs(
|
|
346
|
+
Dropdown,
|
|
347
|
+
{
|
|
348
|
+
className: dynPH,
|
|
349
|
+
...register("tR1DiscountPoints"),
|
|
350
|
+
type: "string",
|
|
351
|
+
error: !!errors.tR1DiscountPoints,
|
|
352
|
+
helperText: errors.tR1DiscountPoints?.message,
|
|
353
|
+
children: [
|
|
354
|
+
/* @__PURE__ */ jsx("option", { value: "0", children: "0%" }),
|
|
355
|
+
/* @__PURE__ */ jsx("option", { value: "0.125", children: "0.125%" }),
|
|
356
|
+
/* @__PURE__ */ jsx("option", { value: "0.250", children: "0.250%" }),
|
|
357
|
+
/* @__PURE__ */ jsx("option", { value: "0.375", children: "0.375%" }),
|
|
358
|
+
/* @__PURE__ */ jsx("option", { value: "0.500", children: "0.500%" }),
|
|
359
|
+
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
360
|
+
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
361
|
+
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
362
|
+
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
)
|
|
366
|
+
] })
|
|
367
|
+
] }),
|
|
368
|
+
/* @__PURE__ */ jsx("hr", { className: `${mt1Rem}` }),
|
|
369
|
+
/* @__PURE__ */ jsxs("div", { className: `${threeColRow} ${mt1Rem}`, children: [
|
|
370
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
371
|
+
Dropdown,
|
|
372
|
+
{
|
|
373
|
+
...register("tR2LoanTerm"),
|
|
374
|
+
error: !!errors.tR2LoanTerm,
|
|
375
|
+
helperText: errors.tR2LoanTerm?.message,
|
|
376
|
+
className: dropdown,
|
|
377
|
+
children: [
|
|
378
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "Select a Loan Type" }),
|
|
379
|
+
/* @__PURE__ */ jsx("option", { value: "ThirtyYear", children: "30 Year Fixed" }),
|
|
380
|
+
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
381
|
+
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
382
|
+
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
383
|
+
]
|
|
384
|
+
}
|
|
385
|
+
) }),
|
|
386
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
387
|
+
Input,
|
|
388
|
+
{
|
|
389
|
+
className: dynPH,
|
|
390
|
+
...register("tR2DesiredRate"),
|
|
391
|
+
type: "string",
|
|
392
|
+
placeholder: "Desired Rate"
|
|
393
|
+
}
|
|
394
|
+
) }),
|
|
395
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
396
|
+
Dropdown,
|
|
397
|
+
{
|
|
398
|
+
className: dynPH,
|
|
399
|
+
...register("tR2DiscountPoints"),
|
|
400
|
+
type: "string",
|
|
401
|
+
error: !!errors.tR2DiscountPoints,
|
|
402
|
+
helperText: errors.tR2DiscountPoints?.message,
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ jsx("option", { value: "0", children: "0%" }),
|
|
405
|
+
/* @__PURE__ */ jsx("option", { value: "0.125", children: "0.125%" }),
|
|
406
|
+
/* @__PURE__ */ jsx("option", { value: "0.250", children: "0.250%" }),
|
|
407
|
+
/* @__PURE__ */ jsx("option", { value: "0.375", children: "0.375%" }),
|
|
408
|
+
/* @__PURE__ */ jsx("option", { value: "0.500", children: "0.500%" }),
|
|
409
|
+
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
410
|
+
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
411
|
+
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
412
|
+
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
) })
|
|
416
|
+
] }),
|
|
417
|
+
/* @__PURE__ */ jsx("hr", { className: `${mt1Rem}` }),
|
|
418
|
+
/* @__PURE__ */ jsxs("div", { className: `${threeColRow} ${mt1Rem}`, children: [
|
|
419
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
420
|
+
Dropdown,
|
|
421
|
+
{
|
|
422
|
+
...register("tR3LoanTerm"),
|
|
423
|
+
error: !!errors.tR3LoanTerm,
|
|
424
|
+
helperText: errors.tR3LoanTerm?.message,
|
|
425
|
+
className: dropdown,
|
|
426
|
+
children: [
|
|
427
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "Select a Loan Type" }),
|
|
428
|
+
/* @__PURE__ */ jsx("option", { value: "ThirtyYear", children: "30 Year Fixed" }),
|
|
429
|
+
/* @__PURE__ */ jsx("option", { value: "TwentyYear", children: "20 Year Fixed" }),
|
|
430
|
+
/* @__PURE__ */ jsx("option", { value: "FifteenYear", children: "15 Year Fixed" }),
|
|
431
|
+
/* @__PURE__ */ jsx("option", { value: "TenYear", children: "10 Year Fixed" })
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
) }),
|
|
435
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
436
|
+
Input,
|
|
437
|
+
{
|
|
438
|
+
...register("tR3DesiredRate"),
|
|
439
|
+
type: "string",
|
|
440
|
+
placeholder: "Desired Rate",
|
|
441
|
+
className: dynPH
|
|
442
|
+
}
|
|
443
|
+
) }),
|
|
444
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
445
|
+
Dropdown,
|
|
446
|
+
{
|
|
447
|
+
className: dynPH,
|
|
448
|
+
...register("tR3DiscountPoints"),
|
|
449
|
+
type: "string",
|
|
450
|
+
error: !!errors.tR3DiscountPoints,
|
|
451
|
+
helperText: errors.tR3DiscountPoints?.message,
|
|
452
|
+
children: [
|
|
453
|
+
/* @__PURE__ */ jsx("option", { value: "0", children: "0%" }),
|
|
454
|
+
/* @__PURE__ */ jsx("option", { value: "0.125", children: "0.125%" }),
|
|
455
|
+
/* @__PURE__ */ jsx("option", { value: "0.250", children: "0.250%" }),
|
|
456
|
+
/* @__PURE__ */ jsx("option", { value: "0.375", children: "0.375%" }),
|
|
457
|
+
/* @__PURE__ */ jsx("option", { value: "0.500", children: "0.500%" }),
|
|
458
|
+
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
459
|
+
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
460
|
+
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
461
|
+
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
) })
|
|
465
|
+
] }),
|
|
466
|
+
/* @__PURE__ */ jsx("p", { className: mt1Rem, children: "*The number in Desired Rate must be at least 2% and no more than 10%" })
|
|
467
|
+
] }),
|
|
468
|
+
/* @__PURE__ */ jsxs("div", { className: modalCheckboxContainer, children: [
|
|
469
|
+
/* @__PURE__ */ jsx(
|
|
470
|
+
"input",
|
|
471
|
+
{
|
|
472
|
+
className: clsx(input({ size: "large" }), checkbox({}), mw24),
|
|
473
|
+
type: "checkbox",
|
|
474
|
+
...register("hasSmsConsent")
|
|
475
|
+
}
|
|
476
|
+
),
|
|
477
|
+
/* @__PURE__ */ jsxs("label", { children: [
|
|
478
|
+
"By selecting this checkbox, you have agreed to these",
|
|
479
|
+
" ",
|
|
480
|
+
/* @__PURE__ */ jsx(
|
|
481
|
+
"a",
|
|
482
|
+
{
|
|
483
|
+
href: "https://assets.axos.com/o9ov1v03uwqk/3F4hEsPBjT5z6Kt1AwDd4z/1d9e2e3104af5d92923d042d5d6260cb/SMS_and_MMS_Disclosure_Axos_Bank.pdf",
|
|
484
|
+
target: "_blank",
|
|
485
|
+
children: "Terms and Conditions"
|
|
486
|
+
}
|
|
487
|
+
),
|
|
488
|
+
" ",
|
|
489
|
+
"and you have agreed to receive automated SMS text messages, calls, and emails for any purpose including but not limited to marketing of products and services by Axos Bank. You understand and agree that such messages may be sent via Automatic Telephone Dialing System and/or artificial or pre-recorded voice, and that such consent is not a condition of receipt of any good or service. Mobile carrier messages and data rates may apply. You may opt out at any time."
|
|
490
|
+
] })
|
|
491
|
+
] }),
|
|
492
|
+
/* @__PURE__ */ jsx("div", { children: isSubmitting ? /* @__PURE__ */ jsx(
|
|
493
|
+
LoadingIndicator,
|
|
407
494
|
{
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
placeholder: "Desired Rate",
|
|
411
|
-
className: dynPH
|
|
495
|
+
style: { marginInline: "auto" },
|
|
496
|
+
variant: "primary"
|
|
412
497
|
}
|
|
413
|
-
)
|
|
414
|
-
|
|
415
|
-
Dropdown,
|
|
498
|
+
) : /* @__PURE__ */ jsx(
|
|
499
|
+
"button",
|
|
416
500
|
{
|
|
417
|
-
className:
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
/* @__PURE__ */ jsx("option", { value: "0.500", children: "0.500%" }),
|
|
428
|
-
/* @__PURE__ */ jsx("option", { value: "0.625", children: "0.625%" }),
|
|
429
|
-
/* @__PURE__ */ jsx("option", { value: "0.750", children: "0.750%" }),
|
|
430
|
-
/* @__PURE__ */ jsx("option", { value: "0.875", children: "0.875%" }),
|
|
431
|
-
/* @__PURE__ */ jsx("option", { value: "1.000", children: "1.000%" })
|
|
432
|
-
]
|
|
501
|
+
className: button({
|
|
502
|
+
color: "primary",
|
|
503
|
+
size: "large",
|
|
504
|
+
rounded: "medium",
|
|
505
|
+
disabled: !isValid
|
|
506
|
+
}),
|
|
507
|
+
type: "button",
|
|
508
|
+
onClick: handleSubmitClick,
|
|
509
|
+
disabled: !isValid || isSubmitting,
|
|
510
|
+
children: "Sign Up"
|
|
433
511
|
}
|
|
434
512
|
) })
|
|
435
|
-
] }),
|
|
436
|
-
/* @__PURE__ */ jsx("p", { className: mt1Rem, children: "*The number in Desired Rate must be at least 2% and no more than 10%" })
|
|
437
|
-
] }),
|
|
438
|
-
/* @__PURE__ */ jsxs("div", { className: modalCheckboxContainer, children: [
|
|
439
|
-
/* @__PURE__ */ jsx(
|
|
440
|
-
"input",
|
|
441
|
-
{
|
|
442
|
-
className: clsx(input({ size: "large" }), checkbox({}), mw24),
|
|
443
|
-
type: "checkbox",
|
|
444
|
-
...register("hasSmsConsent")
|
|
445
|
-
}
|
|
446
|
-
),
|
|
447
|
-
/* @__PURE__ */ jsxs("label", { children: [
|
|
448
|
-
"By selecting this checkbox, you have agreed to these",
|
|
449
|
-
" ",
|
|
450
|
-
/* @__PURE__ */ jsx(
|
|
451
|
-
"a",
|
|
452
|
-
{
|
|
453
|
-
href: "https://assets.axos.com/o9ov1v03uwqk/3F4hEsPBjT5z6Kt1AwDd4z/1d9e2e3104af5d92923d042d5d6260cb/SMS_and_MMS_Disclosure_Axos_Bank.pdf",
|
|
454
|
-
target: "_blank",
|
|
455
|
-
children: "Terms and Conditions"
|
|
456
|
-
}
|
|
457
|
-
),
|
|
458
|
-
" ",
|
|
459
|
-
"and you have agreed to receive automated SMS text messages, calls, and emails for any purpose including but not limited to marketing of products and services by Axos Bank. You understand and agree that such messages may be sent via Automatic Telephone Dialing System and/or artificial or pre-recorded voice, and that such consent is not a condition of receipt of any good or service. Mobile carrier messages and data rates may apply. You may opt out at any time."
|
|
460
513
|
] })
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
LoadingIndicator,
|
|
464
|
-
{
|
|
465
|
-
style: { marginInline: "auto" },
|
|
466
|
-
variant: "primary"
|
|
467
|
-
}
|
|
468
|
-
) : /* @__PURE__ */ jsx(
|
|
469
|
-
"button",
|
|
470
|
-
{
|
|
471
|
-
className: button({
|
|
472
|
-
color: "primary",
|
|
473
|
-
size: "large",
|
|
474
|
-
rounded: "medium",
|
|
475
|
-
disabled: !isValid
|
|
476
|
-
}),
|
|
477
|
-
type: "button",
|
|
478
|
-
onClick: handleSubmitClick,
|
|
479
|
-
disabled: !isValid || isSubmitting,
|
|
480
|
-
children: "Sign Up"
|
|
481
|
-
}
|
|
482
|
-
) })
|
|
483
|
-
] }) }) });
|
|
514
|
+
}
|
|
515
|
+
) }) });
|
|
484
516
|
};
|
|
485
517
|
export {
|
|
486
518
|
RateWatchForm
|