@axos-web-dev/shared-components 1.0.99-honeypot.1 → 1.0.99-sectionSpacerRemoved
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/Calculators/BuyDownCalculator/index.js +1 -1
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplicationStart.js +101 -89
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/ClearingForm.js +174 -162
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.js +191 -179
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialLending.js +268 -256
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.js +106 -94
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompany.js +103 -91
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.js +117 -105
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUs.js +90 -79
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.js +170 -158
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +124 -112
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.js +93 -81
- package/dist/Forms/ContactUsLVF.d.ts +1 -1
- package/dist/Forms/ContactUsLVF.js +110 -98
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.js +107 -95
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +630 -618
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/CraPublicFile.js +99 -87
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/DealerServices.js +215 -203
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +46 -34
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/EmailUs.js +65 -53
- package/dist/Forms/FormProps.d.ts +3 -0
- package/dist/Forms/HoneyPot/index.js +2 -3
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +363 -343
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.js +608 -596
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCall.js +146 -134
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.js +168 -156
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.js +807 -795
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/WcplSurvey.js +102 -90
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/AwardsBanner/AwardsBanner.css +0 -3
- package/dist/assets/IconBillboard/IconBillboard.css +3 -0
- package/dist/assets/TopicalNavSet/TopicalNavSet.css +3 -0
- package/dist/assets/WalnutIframe/wrapper.css.css +49 -49
- package/dist/assets/globals.css +11 -0
- package/dist/utils/allowedAxosDomains.js +2 -1
- 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
|
@@ -43,6 +43,7 @@ const WCPLSurvey = ({
|
|
|
43
43
|
variant: fullVariant = "primary",
|
|
44
44
|
headline,
|
|
45
45
|
callToAction,
|
|
46
|
+
onValidate,
|
|
46
47
|
id,
|
|
47
48
|
description
|
|
48
49
|
}) => {
|
|
@@ -108,96 +109,107 @@ const WCPLSurvey = ({
|
|
|
108
109
|
}
|
|
109
110
|
)
|
|
110
111
|
] }),
|
|
111
|
-
/* @__PURE__ */ jsxs(
|
|
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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
+
)
|
|
201
213
|
] }) }) }, id);
|
|
202
214
|
};
|
|
203
215
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "
|
|
2
|
-
const shimmer = "
|
|
3
|
-
const wrapper_control = "
|
|
1
|
+
import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_1jpv7_19";
|
|
2
|
+
const shimmer = "_shimmer_1jpv7_1";
|
|
3
|
+
const wrapper_control = "_wrapper_control_1jpv7_77";
|
|
4
4
|
const css = {
|
|
5
5
|
wrapper,
|
|
6
6
|
shimmer,
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
from {
|
|
3
|
-
transform: translateX(-100%);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: translateX(100%);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
background: #1e3860;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
height: 555px;
|
|
14
|
-
isolation: isolate;
|
|
15
|
-
margin-block: 48px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
section > .
|
|
19
|
-
margin-top: 0 !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.
|
|
23
|
-
content: "";
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 0;
|
|
26
|
-
left: 0;
|
|
27
|
-
width: 190%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
background: linear-gradient(
|
|
30
|
-
65deg,
|
|
31
|
-
rgba(255, 255, 255, 0) 20%,
|
|
32
|
-
rgba(255, 255, 255, 0.5) 50%,
|
|
33
|
-
rgba(255, 255, 255, 0) 80%
|
|
34
|
-
);
|
|
35
|
-
animation:
|
|
36
|
-
z-index: -1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.
|
|
40
|
-
height: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
overflow-x: scroll;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@media (max-width: 1023px) {
|
|
46
|
-
.
|
|
47
|
-
display: none;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
@keyframes _shimmer_1jpv7_1 {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(-100%);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: translateX(100%);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
._wrapper_1jpv7_19 {
|
|
11
|
+
background: #1e3860;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
height: 555px;
|
|
14
|
+
isolation: isolate;
|
|
15
|
+
margin-block: 48px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
section > ._wrapper_1jpv7_19:first-child {
|
|
19
|
+
margin-top: 0 !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
._wrapper_1jpv7_19::before {
|
|
23
|
+
content: "";
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
width: 190%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
background: linear-gradient(
|
|
30
|
+
65deg,
|
|
31
|
+
rgba(255, 255, 255, 0) 20%,
|
|
32
|
+
rgba(255, 255, 255, 0.5) 50%,
|
|
33
|
+
rgba(255, 255, 255, 0) 80%
|
|
34
|
+
);
|
|
35
|
+
animation: _shimmer_1jpv7_1 1.3s infinite linear;
|
|
36
|
+
z-index: -1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
._wrapper_control_1jpv7_77 {
|
|
40
|
+
height: 100%;
|
|
41
|
+
width: 100%;
|
|
42
|
+
overflow-x: scroll;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 1023px) {
|
|
46
|
+
._wrapper_1jpv7_19 {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
package/dist/assets/globals.css
CHANGED
|
@@ -32,6 +32,17 @@ li p, p:last-child, p:only-child {
|
|
|
32
32
|
.section_spacer {
|
|
33
33
|
margin-top: 3.5rem;
|
|
34
34
|
}
|
|
35
|
+
.page_body_contents {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: 3.5rem;
|
|
39
|
+
}
|
|
40
|
+
span#personalized-refi-table:has(*) {
|
|
41
|
+
margin-bottom: 3.5rem;
|
|
42
|
+
}
|
|
43
|
+
.page_body_contents > div:first-child > .billboard {
|
|
44
|
+
margin-top: 3.5rem;
|
|
45
|
+
}
|
|
35
46
|
.flex, [class*='flex_'] {
|
|
36
47
|
display: flex;
|
|
37
48
|
}
|
|
@@ -6,7 +6,8 @@ const moreDomains = {
|
|
|
6
6
|
"{AXA}": process.env.AXA_URL || "https://www.axosadvisor.com",
|
|
7
7
|
"{AFS}": process.env.AFS_URL || "https://www.axosfiduciaryservices.com",
|
|
8
8
|
"{NATIONWIDE}": process.env.NATIOWIDE_URL || "https://www.nationwide.axosbank.com",
|
|
9
|
-
"{ENROLLMENT}": process.env.ENROLLMENT_URL || "https://
|
|
9
|
+
"{ENROLLMENT}": process.env.ENROLLMENT_URL || "https://onboard.axos.com/ConsumerDeposits/SignIn",
|
|
10
|
+
"{LEGACYENROLLMENT}": process.env.LEGACY_ENROLLMENT_URL || "https://enrollment.axosbank.com",
|
|
10
11
|
"{ASSETSURL}": "https://assets.axos.com",
|
|
11
12
|
"{IMAGEASSETSURL}": "https://images.axos.com",
|
|
12
13
|
"{ONLINEBANKING}": process.env.ONLINEBANKING_URL || "https://onlinebanking.uat.axosbank.com",
|
package/package.json
CHANGED