@axos-web-dev/shared-components 0.0.169 → 0.0.171
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 +1 -1
- package/dist/Button/Button.js +1 -1
- package/dist/Calculators/Calculator.js +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/Chevron/index.js +1 -1
- package/dist/Comparison/Comparison.js +1 -1
- package/dist/FaqAccordion/index.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
- package/dist/Forms/ApplicationStart.js +1 -0
- package/dist/Forms/ClearingForm.js +1 -0
- package/dist/Forms/CommercialDeposits.d.ts +0 -1
- package/dist/Forms/CommercialDeposits.js +1 -11
- package/dist/Forms/CommercialLending.js +1 -0
- package/dist/Forms/ContactCompany.js +1 -0
- package/dist/Forms/ContactUs.js +1 -0
- package/dist/Forms/ContactUsAAS.js +1 -0
- package/dist/Forms/ContactUsBusiness.js +1 -1
- package/dist/Forms/ContactUsNMLSId.js +1 -1
- package/dist/Forms/CpraRequest.js +1 -1
- package/dist/Forms/DealerServices.js +1 -0
- package/dist/Forms/EmailOnly.js +1 -1
- package/dist/Forms/Forms.css.js +1 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +5 -2
- package/dist/Forms/MortgageRate/MortgageRateForm.js +30 -20
- package/dist/Forms/MortgageRate/MortgageRateModal.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateModal.js +3 -4
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +5 -2
- package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +2 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +271 -239
- package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -0
- package/dist/Forms/ScheduleCall.js +1 -0
- package/dist/Forms/ScheduleCallPremier.js +1 -0
- package/dist/Forms/SuccesForm.js +1 -1
- package/dist/Hyperlink/index.js +1 -1
- package/dist/ImageLink/ImageLink.js +1 -1
- package/dist/ImageLink/ImageLinkSet.js +1 -1
- package/dist/ImageLink/index.js +1 -1
- package/dist/Input/CurrencyInput.js +1 -0
- package/dist/Input/DownPaymentInput.js +1 -1
- package/dist/Input/InputAmount.js +1 -0
- package/dist/Input/InputPhone.js +1 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Input/index.js +3 -0
- package/dist/Insight/Featured/CategorySelector.js +1 -1
- package/dist/Insight/Featured/Featured.js +1 -1
- package/dist/Insight/Featured/Header.js +1 -1
- package/dist/Interstitial/Interstitial.module.js +10 -10
- package/dist/Modal/Modal.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.js +1 -1
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/VideoWrapper/index.js +1 -1
- package/dist/assets/Interstitial/Interstitial.css.css +24 -23
- package/dist/main.js +3 -0
- package/dist/utils/allowedAxosDomains.js +3 -1
- package/package.json +131 -131
|
@@ -11,6 +11,7 @@ import "../../Input/InputAmount.js";
|
|
|
11
11
|
import "../../Input/InputPhone.js";
|
|
12
12
|
import "../../Input/InputTextArea.js";
|
|
13
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";
|
|
@@ -44,12 +45,12 @@ 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
50
|
/* empty css */
|
|
51
51
|
import "../../Hyperlink/Hyperlink.css.js";
|
|
52
52
|
/* empty css */
|
|
53
|
+
import { SuccesFormWrapper } from "../SuccesForm.js";
|
|
53
54
|
import "iframe-resizer";
|
|
54
55
|
/* empty css */
|
|
55
56
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
@@ -109,7 +110,8 @@ 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
|
|
@@ -15,6 +15,7 @@ import "../../Input/InputAmount.js";
|
|
|
15
15
|
import { InputPhone } from "../../Input/InputPhone.js";
|
|
16
16
|
import "../../Input/InputTextArea.js";
|
|
17
17
|
import "../../Input/DownPaymentInput.js";
|
|
18
|
+
import "../../Input/RadioButton.js";
|
|
18
19
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
19
20
|
import SvgAxosX from "../../icons/AxosX/index.js";
|
|
20
21
|
import SvgComponent from "../../icons/AxosX/Blue.js";
|
|
@@ -15,6 +15,7 @@ import "../Input/InputAmount.js";
|
|
|
15
15
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
16
|
import "../Input/InputTextArea.js";
|
|
17
17
|
import "../Input/DownPaymentInput.js";
|
|
18
|
+
import "../Input/RadioButton.js";
|
|
18
19
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
19
20
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
20
21
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
@@ -15,6 +15,7 @@ import "../Input/InputAmount.js";
|
|
|
15
15
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
16
|
import "../Input/InputTextArea.js";
|
|
17
17
|
import "../Input/DownPaymentInput.js";
|
|
18
|
+
import "../Input/RadioButton.js";
|
|
18
19
|
import { LoadingIndicator } from "../LoadingIndicator/index.js";
|
|
19
20
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
20
21
|
import SvgAxosX from "../icons/AxosX/index.js";
|
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -59,6 +59,7 @@ import "../Input/InputAmount.js";
|
|
|
59
59
|
import "../Input/InputPhone.js";
|
|
60
60
|
import "../Input/InputTextArea.js";
|
|
61
61
|
import "../Input/DownPaymentInput.js";
|
|
62
|
+
import "../Input/RadioButton.js";
|
|
62
63
|
/* empty css */
|
|
63
64
|
/* empty css */
|
|
64
65
|
/* empty css */
|
|
@@ -100,7 +101,6 @@ import { success_wrap, success_icon, success_circle, succes_check_mark } from ".
|
|
|
100
101
|
import "./SalesforceFieldsForm.js";
|
|
101
102
|
import "../Input/RadioButton.css.js";
|
|
102
103
|
import "../Input/Checkbox.css.js";
|
|
103
|
-
import "../Input/RadioButton.js";
|
|
104
104
|
import "../Inputs/Input.css.js";
|
|
105
105
|
/* empty css */
|
|
106
106
|
/* empty css */
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -41,13 +41,13 @@ import "../Input/InputAmount.js";
|
|
|
41
41
|
import "../Input/InputPhone.js";
|
|
42
42
|
import "../Input/InputTextArea.js";
|
|
43
43
|
import "../Input/DownPaymentInput.js";
|
|
44
|
+
import "../Input/RadioButton.js";
|
|
44
45
|
import "react-hook-form";
|
|
45
46
|
import "../Forms/Forms.css.js";
|
|
46
47
|
import "../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../Input/RadioButton.css.js";
|
|
48
49
|
import "../Input/Checkbox.css.js";
|
|
49
50
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
50
|
-
import "../Input/RadioButton.js";
|
|
51
51
|
import "../Inputs/Input.css.js";
|
|
52
52
|
/* empty css */
|
|
53
53
|
/* empty css */
|
|
@@ -35,6 +35,7 @@ import "../Input/InputAmount.js";
|
|
|
35
35
|
import "../Input/InputPhone.js";
|
|
36
36
|
import "../Input/InputTextArea.js";
|
|
37
37
|
import "../Input/DownPaymentInput.js";
|
|
38
|
+
import "../Input/RadioButton.js";
|
|
38
39
|
import "react-hook-form";
|
|
39
40
|
import "../Forms/Forms.css.js";
|
|
40
41
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -42,7 +43,6 @@ import "../Input/RadioButton.css.js";
|
|
|
42
43
|
import "../Input/Checkbox.css.js";
|
|
43
44
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
44
45
|
import "react-use";
|
|
45
|
-
import "../Input/RadioButton.js";
|
|
46
46
|
import "../Chevron/Chevron.css.js";
|
|
47
47
|
import "../Interstitial/Interstitial-variants.css.js";
|
|
48
48
|
import "../Inputs/Input.css.js";
|