@axos-web-dev/shared-components 1.0.99-dev.1 → 1.0.99-dev.12
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 -0
- package/dist/Auth/ErrorAlert.js +1 -0
- package/dist/Button/Button.js +1 -0
- package/dist/Calculators/BuyDownCalculator/index.js +1 -1
- package/dist/Calculators/Calculator.d.ts +3 -1
- package/dist/Calculators/Calculator.js +5 -2
- package/dist/Calculators/MonthlyPaymentCalculator/index.d.ts +3 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +23 -15
- package/dist/Carousel/index.js +1 -0
- package/dist/Chevron/index.js +1 -0
- package/dist/Comparison/Comparison.js +1 -0
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -0
- package/dist/FaqAccordion/index.js +1 -0
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -0
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplicationStart.js +111 -89
- package/dist/Forms/ApplyNow.d.ts +2 -2
- package/dist/Forms/ApplyNow.js +164 -139
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/ClearingForm.js +184 -162
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.js +201 -179
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialLending.js +278 -256
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.js +128 -106
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompany.js +113 -91
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.js +127 -105
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUs.js +99 -77
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.js +180 -158
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +134 -112
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.js +103 -81
- package/dist/Forms/ContactUsLVF.d.ts +3 -1
- package/dist/Forms/ContactUsLVF.js +127 -101
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.js +117 -95
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +641 -619
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/CraPublicFile.js +109 -87
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/DealerServices.js +225 -204
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +56 -36
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/EmailUs.js +75 -53
- package/dist/Forms/FormProps.d.ts +3 -0
- package/dist/Forms/Forms.css.d.ts +18 -0
- package/dist/Forms/Forms.css.js +44 -38
- package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
- package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
- package/dist/Forms/HoneyPot/index.d.ts +24 -0
- package/dist/Forms/HoneyPot/index.js +71 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +363 -342
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -0
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCall.js +156 -134
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.js +178 -156
- package/dist/Forms/SuccesForm.js +1 -0
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.js +817 -795
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/WcplSurvey.js +112 -90
- package/dist/Forms/applynow-utils.d.ts +1 -0
- package/dist/Forms/applynow-utils.js +48 -0
- package/dist/Forms/index.d.ts +2 -0
- package/dist/Forms/index.js +10 -2
- package/dist/Hyperlink/index.js +1 -0
- package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
- package/dist/ImageLink/ImageLink.js +1 -0
- package/dist/ImageLink/ImageLinkSet.js +1 -0
- package/dist/ImageLink/index.js +1 -0
- package/dist/Input/Input.js +3 -1
- package/dist/Insight/Featured/CategorySelector.js +1 -0
- package/dist/Insight/Featured/Featured.js +1 -0
- package/dist/Insight/Featured/Header.js +1 -0
- package/dist/Modal/Modal.js +1 -0
- package/dist/NavigationMenu/AxosALTS/NavData.js +1 -0
- package/dist/NavigationMenu/AxosALTS/index.js +1 -0
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +13 -4
- package/dist/NavigationMenu/AxosBank/NavData.js +1 -0
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +14 -5
- package/dist/NavigationMenu/AxosBank/index.js +1 -0
- package/dist/NavigationMenu/LaVictoire/NavData.js +1 -0
- package/dist/NavigationMenu/LaVictoire/index.js +1 -0
- package/dist/NavigationMenu/NavDataJson.js +1 -0
- package/dist/NavigationMenu/Navbar.js +1 -0
- package/dist/NavigationMenu/SignInNavButton.js +1 -0
- package/dist/SetContainer/SetContainer.js +1 -0
- package/dist/SocialMediaBar/iconsRepository.js +1 -0
- package/dist/VideoTile/VideoTile.js +1 -0
- package/dist/VideoWrapper/index.js +1 -0
- package/dist/assets/Forms/Forms.css +136 -105
- package/dist/assets/Forms/HoneyPot/HoneyPot.css +4 -0
- package/dist/main.js +10 -2
- package/package.json +1 -1
|
@@ -5,4 +5,4 @@ export type WCPLSruveyInputs = {
|
|
|
5
5
|
Description_of_Deal_Details: string;
|
|
6
6
|
Telephone: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, onValidate, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/WcplSurvey.js
CHANGED
|
@@ -31,6 +31,7 @@ import clsx from "clsx";
|
|
|
31
31
|
import { useForm, FormProvider } from "react-hook-form";
|
|
32
32
|
import * as z from "zod";
|
|
33
33
|
import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
|
|
34
|
+
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
|
|
34
35
|
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
35
36
|
const WCPLSurvey = ({
|
|
36
37
|
icon = false,
|
|
@@ -42,6 +43,7 @@ const WCPLSurvey = ({
|
|
|
42
43
|
variant: fullVariant = "primary",
|
|
43
44
|
headline,
|
|
44
45
|
callToAction,
|
|
46
|
+
onValidate,
|
|
45
47
|
id,
|
|
46
48
|
description
|
|
47
49
|
}) => {
|
|
@@ -68,8 +70,16 @@ const WCPLSurvey = ({
|
|
|
68
70
|
return removeDashes;
|
|
69
71
|
})
|
|
70
72
|
});
|
|
73
|
+
const gen_schema = schema.merge(SalesforceSchema).merge(honeyPotSchema).superRefine((data, ctx) => {
|
|
74
|
+
if (!isValidHoneyPot(data)) {
|
|
75
|
+
ctx.addIssue({
|
|
76
|
+
code: z.ZodIssueCode.custom,
|
|
77
|
+
message: "fields are not valid."
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
});
|
|
71
81
|
const methods = useForm({
|
|
72
|
-
resolver: zodResolver(
|
|
82
|
+
resolver: zodResolver(gen_schema, {
|
|
73
83
|
async: true
|
|
74
84
|
}),
|
|
75
85
|
mode: "all",
|
|
@@ -99,95 +109,107 @@ const WCPLSurvey = ({
|
|
|
99
109
|
}
|
|
100
110
|
)
|
|
101
111
|
] }),
|
|
102
|
-
/* @__PURE__ */ jsxs(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
112
|
+
/* @__PURE__ */ jsxs(
|
|
113
|
+
"form",
|
|
114
|
+
{
|
|
115
|
+
className: form,
|
|
116
|
+
onSubmit: async (e) => {
|
|
117
|
+
onValidate && onValidate(e);
|
|
118
|
+
await handleSubmit(submitForm)(e);
|
|
119
|
+
e.preventDefault();
|
|
120
|
+
},
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
|
|
123
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
124
|
+
RadioButtonSet,
|
|
125
|
+
{
|
|
126
|
+
id: "Has_Deal",
|
|
127
|
+
label: "Do You have a potential deal you would like to discuss with an Account Executive?",
|
|
128
|
+
sizes: "medium",
|
|
129
|
+
placeholder: "Details",
|
|
130
|
+
required: true,
|
|
131
|
+
error: !!errors.Has_Deal,
|
|
132
|
+
helperText: errors.Has_Deal?.message,
|
|
133
|
+
variant,
|
|
134
|
+
children: [
|
|
135
|
+
/* @__PURE__ */ jsx(
|
|
136
|
+
RadioButton,
|
|
137
|
+
{
|
|
138
|
+
...register("Has_Deal", {
|
|
139
|
+
required: true
|
|
140
|
+
}),
|
|
141
|
+
value: "Yes",
|
|
142
|
+
radioText: "Yes",
|
|
143
|
+
groupName: "Has_Deal"
|
|
144
|
+
}
|
|
145
|
+
),
|
|
146
|
+
/* @__PURE__ */ jsx(
|
|
147
|
+
RadioButton,
|
|
148
|
+
{
|
|
149
|
+
...register("Has_Deal", {
|
|
150
|
+
required: true
|
|
151
|
+
}),
|
|
152
|
+
value: "No",
|
|
153
|
+
radioText: "No",
|
|
154
|
+
groupName: "Has_Deal"
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
) }),
|
|
160
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
161
|
+
InputTextArea,
|
|
162
|
+
{
|
|
163
|
+
id: "Description_of_Deal_Details",
|
|
164
|
+
...register("Description_of_Deal_Details", {
|
|
165
|
+
required: true
|
|
166
|
+
}),
|
|
167
|
+
label: "Write Your Message",
|
|
168
|
+
sizes: "medium",
|
|
169
|
+
placeholder: "Details",
|
|
170
|
+
required: true,
|
|
171
|
+
error: !!errors.Description_of_Deal_Details,
|
|
172
|
+
helperText: errors.Description_of_Deal_Details?.message,
|
|
173
|
+
variant
|
|
174
|
+
}
|
|
175
|
+
) }),
|
|
176
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
177
|
+
InputPhone,
|
|
178
|
+
{
|
|
179
|
+
id: "Telephone",
|
|
180
|
+
...register("Telephone", { required: true, maxLength: 12 }),
|
|
181
|
+
label: "Telephone",
|
|
182
|
+
sizes: "medium",
|
|
183
|
+
placeholder: "Phone",
|
|
184
|
+
required: true,
|
|
185
|
+
error: !!errors.Telephone,
|
|
186
|
+
helperText: errors.Telephone?.message,
|
|
187
|
+
variant
|
|
188
|
+
}
|
|
189
|
+
) }),
|
|
190
|
+
/* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
|
|
191
|
+
] }),
|
|
192
|
+
children,
|
|
193
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
194
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
|
|
195
|
+
LoadingIndicator,
|
|
196
|
+
{
|
|
197
|
+
style: { marginInline: "auto" },
|
|
198
|
+
variant
|
|
199
|
+
}
|
|
200
|
+
) : /* @__PURE__ */ jsx(
|
|
201
|
+
Button,
|
|
202
|
+
{
|
|
203
|
+
color: getVariant(callToAction?.variant),
|
|
204
|
+
as: "button",
|
|
205
|
+
type: "submit",
|
|
206
|
+
disabled: !isValid || isSubmitting,
|
|
207
|
+
children: callToAction?.displayText
|
|
208
|
+
}
|
|
209
|
+
) })
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
)
|
|
191
213
|
] }) }) }, id);
|
|
192
214
|
};
|
|
193
215
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLink: (selection: Array<string>) => string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const getLink = (selection) => {
|
|
2
|
+
const formSelection = selection.join(" | ");
|
|
3
|
+
let url = "{LVFMYSITE}/Portal/nPortal__SelfRegistration?core=es5";
|
|
4
|
+
switch (formSelection) {
|
|
5
|
+
case "Term | Full-time Charter | LLC":
|
|
6
|
+
url += "&product=a0u5e000001XiAo";
|
|
7
|
+
break;
|
|
8
|
+
case "Term | Limited Charter | LLC":
|
|
9
|
+
url += "&product=a0u5e000001XiAp";
|
|
10
|
+
break;
|
|
11
|
+
case "Term | Personal Use | LLC":
|
|
12
|
+
url += "&product=a0u5e000001XiB3";
|
|
13
|
+
break;
|
|
14
|
+
case "Term | Full-time Charter | Personal":
|
|
15
|
+
url += "&product=a0u5e000001Wfd5";
|
|
16
|
+
break;
|
|
17
|
+
case "Term | Limited Charter | Personal":
|
|
18
|
+
url += "&product=a0u5e000001WfdA";
|
|
19
|
+
break;
|
|
20
|
+
case "Term | Personal Use | Personal":
|
|
21
|
+
url += "&product=a0u5e000001WfdB";
|
|
22
|
+
break;
|
|
23
|
+
case "Credit Line | Full-time Charter | LLC":
|
|
24
|
+
url += "&product=a0u8W00002DhceX";
|
|
25
|
+
break;
|
|
26
|
+
case "Credit Line | Limited Charter | LLC":
|
|
27
|
+
url += "&product=a0u8W00002DhceY";
|
|
28
|
+
break;
|
|
29
|
+
case "Credit Line | Personal Use | LLC":
|
|
30
|
+
url += "&product=a0u8W00002DhceZ";
|
|
31
|
+
break;
|
|
32
|
+
case "Credit Line | Full-time Charter | Personal":
|
|
33
|
+
url += "&product=a0u8W00002DhceS";
|
|
34
|
+
break;
|
|
35
|
+
case "Credit Line | Limited Charter | Personal":
|
|
36
|
+
url += "&product=a0u8W00002DhceT";
|
|
37
|
+
break;
|
|
38
|
+
case "Credit Line | Personal Use | Personal":
|
|
39
|
+
url += "&product=a0u8W00002DhceU";
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
url += "&product=a0u5e000000hzHz";
|
|
43
|
+
}
|
|
44
|
+
return url;
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
getLink
|
|
48
|
+
};
|
package/dist/Forms/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './ApplicationStart';
|
|
2
2
|
export * from './ApplyNow';
|
|
3
|
+
export * from './applynow-utils';
|
|
3
4
|
export * from './ClearingForm';
|
|
4
5
|
export * from './CommercialDeposits';
|
|
5
6
|
export * from './CommercialLending';
|
|
@@ -19,6 +20,7 @@ export * from './EmailOnly';
|
|
|
19
20
|
export * from './EmailUs';
|
|
20
21
|
export * from './FormProps';
|
|
21
22
|
export * from './Forms.css';
|
|
23
|
+
export * from './HoneyPot';
|
|
22
24
|
export * from './MortgageRate/MortgageRateForm';
|
|
23
25
|
export * from './MortgageRate/MortgageRateModal';
|
|
24
26
|
export * from './MortgageRate/MortgageRateQuoteFilters';
|
package/dist/Forms/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { ApplicationStart } from "./ApplicationStart.js";
|
|
3
|
-
import { ApplyNow
|
|
3
|
+
import { ApplyNow } from "./ApplyNow.js";
|
|
4
|
+
import { getLink } from "./applynow-utils.js";
|
|
4
5
|
import { ClearingForm } from "./ClearingForm.js";
|
|
5
6
|
import { CommercialDeposits } from "./CommercialDeposits.js";
|
|
6
7
|
import { CommercialLending } from "./CommercialLending.js";
|
|
@@ -18,7 +19,8 @@ import { CraPublicFile } from "./CraPublicFile.js";
|
|
|
18
19
|
import { DealerServices } from "./DealerServices.js";
|
|
19
20
|
import { EmailOnly } from "./EmailOnly.js";
|
|
20
21
|
import { EmailUs } from "./EmailUs.js";
|
|
21
|
-
import { actions, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms.css.js";
|
|
22
|
+
import { actions, apply_now_form, axosHeader, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerF, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms.css.js";
|
|
23
|
+
import { HoneyPot, honeyPotSchema, isValidHoneyPot } from "./HoneyPot/index.js";
|
|
22
24
|
import { MortgageRate } from "./MortgageRate/MortgageRateForm.js";
|
|
23
25
|
import "react/jsx-runtime";
|
|
24
26
|
import { RateWatchForm } from "./MortgageRate/MortgageRateWatch.js";
|
|
@@ -56,6 +58,7 @@ export {
|
|
|
56
58
|
DealerServices,
|
|
57
59
|
EmailOnly,
|
|
58
60
|
EmailUs,
|
|
61
|
+
HoneyPot,
|
|
59
62
|
MortgageRate,
|
|
60
63
|
MortgageRateFilters,
|
|
61
64
|
QuickPricer,
|
|
@@ -69,6 +72,8 @@ export {
|
|
|
69
72
|
VendorQuestionnaire,
|
|
70
73
|
WCPLSurvey,
|
|
71
74
|
actions,
|
|
75
|
+
apply_now_form,
|
|
76
|
+
axosHeader,
|
|
72
77
|
back_btn_apply_now,
|
|
73
78
|
centerSelect,
|
|
74
79
|
checkbox_group,
|
|
@@ -86,10 +91,13 @@ export {
|
|
|
86
91
|
fullRowSelect,
|
|
87
92
|
getLink,
|
|
88
93
|
headerContainer,
|
|
94
|
+
headerF,
|
|
89
95
|
headerForm,
|
|
90
96
|
hide_options,
|
|
97
|
+
honeyPotSchema,
|
|
91
98
|
iconForm,
|
|
92
99
|
iconbillboards_option_apply_now,
|
|
100
|
+
isValidHoneyPot,
|
|
93
101
|
mb_form,
|
|
94
102
|
modalCheckboxContainer,
|
|
95
103
|
modalMobile,
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -43,6 +43,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../Forms/Forms.css.js";
|
|
46
|
+
import "../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../Input/RadioButton.css.js";
|
|
48
49
|
import "../Input/Checkbox.css.js";
|
|
@@ -4,9 +4,9 @@ import { Button } from "../../Button/Button.js";
|
|
|
4
4
|
import "../../Button/Button.css.js";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import "react-use";
|
|
7
|
-
import { buttons } from "../IconBillboard.css.js";
|
|
8
7
|
import { Chevron } from "../../Chevron/index.js";
|
|
9
8
|
import { getVariant } from "../../utils/getVariant.js";
|
|
9
|
+
import { buttons } from "../IconBillboard.css.js";
|
|
10
10
|
const useFullClick = (callToActionRow) => {
|
|
11
11
|
return useMemo(() => {
|
|
12
12
|
let chevronCount = 0;
|
|
@@ -89,6 +89,7 @@ const CallToActionSection = ({
|
|
|
89
89
|
variant: getVariant(variant),
|
|
90
90
|
marketingIntersitial,
|
|
91
91
|
newTab,
|
|
92
|
+
action: rest?.onClick,
|
|
92
93
|
children: displayText
|
|
93
94
|
},
|
|
94
95
|
id
|
|
@@ -39,6 +39,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
39
39
|
import "../Input/RadioButton.js";
|
|
40
40
|
import "react-hook-form";
|
|
41
41
|
import "../Forms/Forms.css.js";
|
|
42
|
+
import "../Forms/HoneyPot/index.js";
|
|
42
43
|
import "../Forms/SalesforceFieldsForm.js";
|
|
43
44
|
import "../Input/RadioButton.css.js";
|
|
44
45
|
import "../Input/Checkbox.css.js";
|
|
@@ -44,6 +44,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
44
44
|
import "../Input/RadioButton.js";
|
|
45
45
|
import "react-hook-form";
|
|
46
46
|
import "../Forms/Forms.css.js";
|
|
47
|
+
import "../Forms/HoneyPot/index.js";
|
|
47
48
|
import "../Forms/SalesforceFieldsForm.js";
|
|
48
49
|
import "../Input/RadioButton.css.js";
|
|
49
50
|
import "../Input/Checkbox.css.js";
|
package/dist/ImageLink/index.js
CHANGED
|
@@ -41,6 +41,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
41
41
|
import "../Input/RadioButton.js";
|
|
42
42
|
import "react-hook-form";
|
|
43
43
|
import "../Forms/Forms.css.js";
|
|
44
|
+
import "../Forms/HoneyPot/index.js";
|
|
44
45
|
import "../Forms/SalesforceFieldsForm.js";
|
|
45
46
|
import "../Input/RadioButton.css.js";
|
|
46
47
|
import "../Input/Checkbox.css.js";
|
package/dist/Input/Input.js
CHANGED
|
@@ -16,6 +16,7 @@ const Input = forwardRef((props, ref) => {
|
|
|
16
16
|
variant,
|
|
17
17
|
type = "text",
|
|
18
18
|
placeholder,
|
|
19
|
+
defaultValue,
|
|
19
20
|
...rest
|
|
20
21
|
} = props;
|
|
21
22
|
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
@@ -37,7 +38,8 @@ const Input = forwardRef((props, ref) => {
|
|
|
37
38
|
className: clsx(props.className, input({ size: sizes })),
|
|
38
39
|
type,
|
|
39
40
|
placeholder,
|
|
40
|
-
disabled: disabled ?? false
|
|
41
|
+
disabled: disabled ?? false,
|
|
42
|
+
defaultValue
|
|
41
43
|
}
|
|
42
44
|
),
|
|
43
45
|
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
|
|
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../../Forms/Forms.css.js";
|
|
46
|
+
import "../../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../../Input/RadioButton.css.js";
|
|
48
49
|
import "../../Input/Checkbox.css.js";
|
|
@@ -40,6 +40,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
40
40
|
import "../../Input/RadioButton.js";
|
|
41
41
|
import "react-hook-form";
|
|
42
42
|
import "../../Forms/Forms.css.js";
|
|
43
|
+
import "../../Forms/HoneyPot/index.js";
|
|
43
44
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
44
45
|
import "../../Input/RadioButton.css.js";
|
|
45
46
|
import "../../Input/Checkbox.css.js";
|
|
@@ -38,6 +38,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
38
38
|
import "../../Input/RadioButton.js";
|
|
39
39
|
import "react-hook-form";
|
|
40
40
|
import "../../Forms/Forms.css.js";
|
|
41
|
+
import "../../Forms/HoneyPot/index.js";
|
|
41
42
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
42
43
|
import "../../Input/RadioButton.css.js";
|
|
43
44
|
import "../../Input/Checkbox.css.js";
|
package/dist/Modal/Modal.js
CHANGED
|
@@ -39,6 +39,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
39
39
|
import "../Input/RadioButton.js";
|
|
40
40
|
import "react-hook-form";
|
|
41
41
|
import "../Forms/Forms.css.js";
|
|
42
|
+
import "../Forms/HoneyPot/index.js";
|
|
42
43
|
import "../Forms/SalesforceFieldsForm.js";
|
|
43
44
|
/* empty css */
|
|
44
45
|
/* empty css */
|
|
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../../Forms/Forms.css.js";
|
|
46
|
+
import "../../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../../Input/RadioButton.css.js";
|
|
48
49
|
import "../../Input/Checkbox.css.js";
|
|
@@ -44,6 +44,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
44
44
|
import "../../Input/RadioButton.js";
|
|
45
45
|
import "react-hook-form";
|
|
46
46
|
import "../../Forms/Forms.css.js";
|
|
47
|
+
import "../../Forms/HoneyPot/index.js";
|
|
47
48
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
48
49
|
import "../../Input/RadioButton.css.js";
|
|
49
50
|
import "../../Input/Checkbox.css.js";
|
|
@@ -43,6 +43,7 @@ import "../../../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../../../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../../../Forms/Forms.css.js";
|
|
46
|
+
import "../../../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../../../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../../../Input/RadioButton.css.js";
|
|
48
49
|
import "../../../Input/Checkbox.css.js";
|
|
@@ -249,10 +250,18 @@ const menuData = {
|
|
|
249
250
|
)
|
|
250
251
|
},
|
|
251
252
|
"Marine Loans": {
|
|
252
|
-
"Marine Loans Home":
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
"
|
|
253
|
+
"Marine Loans Home": findMoreAxosDomains(
|
|
254
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
255
|
+
),
|
|
256
|
+
"Find The Right Loan": findMoreAxosDomains(
|
|
257
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
258
|
+
),
|
|
259
|
+
"Apply Now": findMoreAxosDomains(
|
|
260
|
+
"{AXOSBANK}/personal/borrow/marine-loans/apply-now"
|
|
261
|
+
),
|
|
262
|
+
"Contact Us": findMoreAxosDomains(
|
|
263
|
+
"{AXOSBANK}/personal/borrow/marine-loans#AXB----Lets-Talk-LVF-for-AXB----Webform"
|
|
264
|
+
)
|
|
256
265
|
}
|
|
257
266
|
},
|
|
258
267
|
Invest: {
|
|
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../../Forms/Forms.css.js";
|
|
46
|
+
import "../../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../../Input/RadioButton.css.js";
|
|
48
49
|
import "../../Input/Checkbox.css.js";
|
|
@@ -45,6 +45,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
45
45
|
import "../../Input/RadioButton.js";
|
|
46
46
|
import "react-hook-form";
|
|
47
47
|
import "../../Forms/Forms.css.js";
|
|
48
|
+
import "../../Forms/HoneyPot/index.js";
|
|
48
49
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
49
50
|
import "../../Input/RadioButton.css.js";
|
|
50
51
|
import "../../Input/Checkbox.css.js";
|
|
@@ -1442,7 +1443,9 @@ function SubNavBar() {
|
|
|
1442
1443
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1443
1444
|
Link,
|
|
1444
1445
|
{
|
|
1445
|
-
href:
|
|
1446
|
+
href: findMoreAxosDomains(
|
|
1447
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
1448
|
+
),
|
|
1446
1449
|
role: "heading",
|
|
1447
1450
|
children: "Marine Loans"
|
|
1448
1451
|
}
|
|
@@ -1450,21 +1453,27 @@ function SubNavBar() {
|
|
|
1450
1453
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1451
1454
|
Link,
|
|
1452
1455
|
{
|
|
1453
|
-
href:
|
|
1456
|
+
href: findMoreAxosDomains(
|
|
1457
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
1458
|
+
),
|
|
1454
1459
|
children: "Find The Right Loan"
|
|
1455
1460
|
}
|
|
1456
1461
|
) }),
|
|
1457
1462
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1458
1463
|
Link,
|
|
1459
1464
|
{
|
|
1460
|
-
href:
|
|
1465
|
+
href: findMoreAxosDomains(
|
|
1466
|
+
"{AXOSBANK}/personal/borrow/marine-loans/apply-now"
|
|
1467
|
+
),
|
|
1461
1468
|
children: "Apply Now"
|
|
1462
1469
|
}
|
|
1463
1470
|
) }),
|
|
1464
1471
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1465
1472
|
Link,
|
|
1466
1473
|
{
|
|
1467
|
-
href:
|
|
1474
|
+
href: findMoreAxosDomains(
|
|
1475
|
+
"{AXOSBANK}/personal/borrow/marine-loans#AXB----Lets-Talk-LVF-for-AXB----Webform"
|
|
1476
|
+
),
|
|
1468
1477
|
children: "Contact Us"
|
|
1469
1478
|
}
|
|
1470
1479
|
) })
|
|
@@ -2070,7 +2079,7 @@ function SubNavBar() {
|
|
|
2070
2079
|
Link,
|
|
2071
2080
|
{
|
|
2072
2081
|
href: findMoreAxosDomains(
|
|
2073
|
-
"{AXOSBANK}/business/open-account-return-to-application#AXB----Return-
|
|
2082
|
+
"{AXOSBANK}/business/open-account-return-to-application#AXB----Return-To-My-Application----Icon-Billboard"
|
|
2074
2083
|
),
|
|
2075
2084
|
children: "Check Application Status"
|
|
2076
2085
|
}
|
|
@@ -41,6 +41,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
41
41
|
import "../../Input/RadioButton.js";
|
|
42
42
|
import "react-hook-form";
|
|
43
43
|
import "../../Forms/Forms.css.js";
|
|
44
|
+
import "../../Forms/HoneyPot/index.js";
|
|
44
45
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
45
46
|
/* empty css */
|
|
46
47
|
/* empty css */
|
|
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../../Forms/Forms.css.js";
|
|
46
|
+
import "../../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../../Input/RadioButton.css.js";
|
|
48
49
|
import "../../Input/Checkbox.css.js";
|
|
@@ -41,6 +41,7 @@ import "../../Input/DownPaymentInput.js";
|
|
|
41
41
|
import "../../Input/RadioButton.js";
|
|
42
42
|
import "react-hook-form";
|
|
43
43
|
import "../../Forms/Forms.css.js";
|
|
44
|
+
import "../../Forms/HoneyPot/index.js";
|
|
44
45
|
import "../../Forms/SalesforceFieldsForm.js";
|
|
45
46
|
/* empty css */
|
|
46
47
|
/* empty css */
|
|
@@ -43,6 +43,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
43
43
|
import "../Input/RadioButton.js";
|
|
44
44
|
import "react-hook-form";
|
|
45
45
|
import "../Forms/Forms.css.js";
|
|
46
|
+
import "../Forms/HoneyPot/index.js";
|
|
46
47
|
import "../Forms/SalesforceFieldsForm.js";
|
|
47
48
|
import "../Input/RadioButton.css.js";
|
|
48
49
|
import "../Input/Checkbox.css.js";
|
|
@@ -45,6 +45,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
45
45
|
import "../Input/RadioButton.js";
|
|
46
46
|
import "react-hook-form";
|
|
47
47
|
import "../Forms/Forms.css.js";
|
|
48
|
+
import "../Forms/HoneyPot/index.js";
|
|
48
49
|
import "../Forms/SalesforceFieldsForm.js";
|
|
49
50
|
import "../Input/RadioButton.css.js";
|
|
50
51
|
import "../Input/Checkbox.css.js";
|
|
@@ -41,6 +41,7 @@ import "../Input/DownPaymentInput.js";
|
|
|
41
41
|
import "../Input/RadioButton.js";
|
|
42
42
|
import "react-hook-form";
|
|
43
43
|
import "../Forms/Forms.css.js";
|
|
44
|
+
import "../Forms/HoneyPot/index.js";
|
|
44
45
|
import "../Forms/SalesforceFieldsForm.js";
|
|
45
46
|
/* empty css */
|
|
46
47
|
/* empty css */
|