@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
|
@@ -622,7 +622,7 @@ const BuyDownCalculator = ({
|
|
|
622
622
|
id: "mooringOutsideContinentalUS",
|
|
623
623
|
...register("mooringOutsideContinentalUS"),
|
|
624
624
|
value: 0.5,
|
|
625
|
-
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\
|
|
625
|
+
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\n +0.500",
|
|
626
626
|
groupName: "dependentInputs",
|
|
627
627
|
disabled: disableMooringOutside
|
|
628
628
|
}
|
|
@@ -9,4 +9,4 @@ export type ApplicationStartInputs = {
|
|
|
9
9
|
Send_SMS__c: boolean;
|
|
10
10
|
DoNotCall: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -46,6 +46,7 @@ const ApplicationStart = ({
|
|
|
46
46
|
description,
|
|
47
47
|
callToAction,
|
|
48
48
|
validateEmail,
|
|
49
|
+
onValidate,
|
|
49
50
|
id
|
|
50
51
|
}) => {
|
|
51
52
|
const schema = z.object({
|
|
@@ -119,96 +120,107 @@ const ApplicationStart = ({
|
|
|
119
120
|
}
|
|
120
121
|
)
|
|
121
122
|
] }),
|
|
122
|
-
/* @__PURE__ */ jsxs(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
placeholder: "Last Name",
|
|
146
|
-
required: true,
|
|
147
|
-
error: !!errors.last_name,
|
|
148
|
-
helperText: errors.last_name?.message,
|
|
149
|
-
variant
|
|
150
|
-
}
|
|
151
|
-
) }),
|
|
152
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
153
|
-
Input,
|
|
154
|
-
{
|
|
155
|
-
id: "email",
|
|
156
|
-
...register("email", {
|
|
157
|
-
required: true,
|
|
158
|
-
validate: {
|
|
159
|
-
isValid: associatedEmail
|
|
123
|
+
/* @__PURE__ */ jsxs(
|
|
124
|
+
"form",
|
|
125
|
+
{
|
|
126
|
+
className: form,
|
|
127
|
+
onSubmit: async (e) => {
|
|
128
|
+
onValidate && onValidate(e);
|
|
129
|
+
await handleSubmit(submitForm)(e);
|
|
130
|
+
e.preventDefault();
|
|
131
|
+
},
|
|
132
|
+
children: [
|
|
133
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
134
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
135
|
+
Input,
|
|
136
|
+
{
|
|
137
|
+
id: "first_name",
|
|
138
|
+
...register("first_name", { required: true }),
|
|
139
|
+
label: "First Name",
|
|
140
|
+
sizes: "medium",
|
|
141
|
+
placeholder: "First Name",
|
|
142
|
+
required: true,
|
|
143
|
+
error: !!errors.first_name,
|
|
144
|
+
helperText: errors.first_name?.message,
|
|
145
|
+
variant
|
|
160
146
|
}
|
|
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
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
147
|
+
) }),
|
|
148
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
149
|
+
Input,
|
|
150
|
+
{
|
|
151
|
+
id: "last_name",
|
|
152
|
+
...register("last_name", { required: true }),
|
|
153
|
+
label: "Last Name",
|
|
154
|
+
sizes: "medium",
|
|
155
|
+
placeholder: "Last Name",
|
|
156
|
+
required: true,
|
|
157
|
+
error: !!errors.last_name,
|
|
158
|
+
helperText: errors.last_name?.message,
|
|
159
|
+
variant
|
|
160
|
+
}
|
|
161
|
+
) }),
|
|
162
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
163
|
+
Input,
|
|
164
|
+
{
|
|
165
|
+
id: "email",
|
|
166
|
+
...register("email", {
|
|
167
|
+
required: true,
|
|
168
|
+
validate: {
|
|
169
|
+
isValid: associatedEmail
|
|
170
|
+
}
|
|
171
|
+
}),
|
|
172
|
+
label: "Email",
|
|
173
|
+
sizes: "medium",
|
|
174
|
+
placeholder: "Email",
|
|
175
|
+
required: true,
|
|
176
|
+
error: !!errors.email,
|
|
177
|
+
helperText: errors.email?.message,
|
|
178
|
+
variant
|
|
179
|
+
}
|
|
180
|
+
) }),
|
|
181
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
182
|
+
InputPhone,
|
|
183
|
+
{
|
|
184
|
+
id: "phone",
|
|
185
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
186
|
+
label: "Phone",
|
|
187
|
+
sizes: "medium",
|
|
188
|
+
placeholder: "Phone",
|
|
189
|
+
required: true,
|
|
190
|
+
error: !!errors.phone,
|
|
191
|
+
helperText: errors.phone?.message,
|
|
192
|
+
variant
|
|
193
|
+
}
|
|
194
|
+
) }),
|
|
195
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
196
|
+
Checkbox,
|
|
197
|
+
{
|
|
198
|
+
id: "checkbox__c",
|
|
199
|
+
...register("checkbox__c"),
|
|
200
|
+
sizes: "medium",
|
|
201
|
+
error: !!errors.checkbox__c,
|
|
202
|
+
helperText: errors.checkbox__c?.message,
|
|
203
|
+
variant,
|
|
204
|
+
children: "By providing your phone number and selecting the checkbox, you have agreed to these Terms and Conditions, and you have agreed to receive automated 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."
|
|
205
|
+
}
|
|
206
|
+
) }),
|
|
207
|
+
/* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
|
|
208
|
+
] }),
|
|
209
|
+
children,
|
|
210
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
211
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
212
|
+
Button,
|
|
213
|
+
{
|
|
214
|
+
color: getVariant(callToAction?.variant),
|
|
215
|
+
as: "button",
|
|
216
|
+
type: "submit",
|
|
217
|
+
disabled: !isValid || isSubmitting,
|
|
218
|
+
children: callToAction?.displayText
|
|
219
|
+
}
|
|
220
|
+
) })
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
)
|
|
212
224
|
] }) }) }, id);
|
|
213
225
|
};
|
|
214
226
|
export {
|
|
@@ -11,4 +11,4 @@ export type ClearingInputs = {
|
|
|
11
11
|
Memo__c: string;
|
|
12
12
|
business_type_selection: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -62,6 +62,7 @@ const ClearingForm = ({
|
|
|
62
62
|
description,
|
|
63
63
|
callToAction,
|
|
64
64
|
validateEmail,
|
|
65
|
+
onValidate,
|
|
65
66
|
id
|
|
66
67
|
}) => {
|
|
67
68
|
const schema = z.object({
|
|
@@ -187,171 +188,182 @@ const ClearingForm = ({
|
|
|
187
188
|
}
|
|
188
189
|
)
|
|
189
190
|
] }),
|
|
190
|
-
/* @__PURE__ */ jsxs(
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
required: true,
|
|
215
|
-
error: !!errors.last_name,
|
|
216
|
-
helperText: errors.last_name?.message,
|
|
217
|
-
variant
|
|
218
|
-
}
|
|
219
|
-
) }),
|
|
220
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
221
|
-
Input,
|
|
222
|
-
{
|
|
223
|
-
id: "email",
|
|
224
|
-
...register("email", {
|
|
225
|
-
required: true,
|
|
226
|
-
validate: {
|
|
227
|
-
isValid: associatedEmail
|
|
191
|
+
/* @__PURE__ */ jsxs(
|
|
192
|
+
"form",
|
|
193
|
+
{
|
|
194
|
+
className: form,
|
|
195
|
+
onSubmit: async (e) => {
|
|
196
|
+
onValidate && onValidate(e);
|
|
197
|
+
await handleSubmit(submitForm)(e);
|
|
198
|
+
e.preventDefault();
|
|
199
|
+
},
|
|
200
|
+
children: [
|
|
201
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
202
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
203
|
+
Input,
|
|
204
|
+
{
|
|
205
|
+
id: "first_name",
|
|
206
|
+
...register("first_name", {
|
|
207
|
+
required: "First Name is required"
|
|
208
|
+
}),
|
|
209
|
+
label: "First Name",
|
|
210
|
+
sizes: "medium",
|
|
211
|
+
required: true,
|
|
212
|
+
error: !!errors.first_name,
|
|
213
|
+
helperText: errors.first_name?.message,
|
|
214
|
+
variant
|
|
228
215
|
}
|
|
229
|
-
}),
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
216
|
+
) }),
|
|
217
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
218
|
+
Input,
|
|
219
|
+
{
|
|
220
|
+
id: "last_name",
|
|
221
|
+
...register("last_name", { required: true }),
|
|
222
|
+
label: "Last Name",
|
|
223
|
+
sizes: "medium",
|
|
224
|
+
required: true,
|
|
225
|
+
error: !!errors.last_name,
|
|
226
|
+
helperText: errors.last_name?.message,
|
|
227
|
+
variant
|
|
228
|
+
}
|
|
229
|
+
) }),
|
|
230
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
231
|
+
Input,
|
|
232
|
+
{
|
|
233
|
+
id: "email",
|
|
234
|
+
...register("email", {
|
|
235
|
+
required: true,
|
|
236
|
+
validate: {
|
|
237
|
+
isValid: associatedEmail
|
|
238
|
+
}
|
|
239
|
+
}),
|
|
240
|
+
label: "Email",
|
|
241
|
+
sizes: "medium",
|
|
242
|
+
required: true,
|
|
243
|
+
error: !!errors.email,
|
|
244
|
+
helperText: errors.email?.message,
|
|
245
|
+
variant
|
|
246
|
+
}
|
|
247
|
+
) }),
|
|
248
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
249
|
+
InputPhone,
|
|
250
|
+
{
|
|
251
|
+
id: "phone",
|
|
252
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
253
|
+
label: "Phone",
|
|
254
|
+
sizes: "medium",
|
|
255
|
+
required: true,
|
|
256
|
+
error: !!errors.phone,
|
|
257
|
+
helperText: errors.phone?.message,
|
|
258
|
+
variant
|
|
259
|
+
}
|
|
260
|
+
) }),
|
|
261
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
262
|
+
Input,
|
|
263
|
+
{
|
|
264
|
+
id: "company",
|
|
265
|
+
...register("company", { required: true }),
|
|
266
|
+
label: "Broker-Dealer Name",
|
|
267
|
+
sizes: "medium",
|
|
268
|
+
required: true,
|
|
269
|
+
error: !!errors.company,
|
|
270
|
+
helperText: errors.company?.message,
|
|
271
|
+
variant
|
|
272
|
+
}
|
|
273
|
+
) }),
|
|
274
|
+
/* @__PURE__ */ jsx("div", { className: xc_input, children: /* @__PURE__ */ jsxs(
|
|
275
|
+
Dropdown,
|
|
276
|
+
{
|
|
277
|
+
id: "Current_Assets_Under_Management__c",
|
|
278
|
+
...register("Current_Assets_Under_Management__c", {
|
|
279
|
+
required: true
|
|
280
|
+
}),
|
|
281
|
+
label: "Assets Under Management",
|
|
282
|
+
sizes: "medium",
|
|
283
|
+
required: true,
|
|
284
|
+
error: !!errors.Current_Assets_Under_Management__c,
|
|
285
|
+
helperText: errors.Current_Assets_Under_Management__c?.message,
|
|
286
|
+
variant,
|
|
287
|
+
defaultValue: "Select option",
|
|
288
|
+
onChange: handleDropdownChange,
|
|
289
|
+
onClick: handleAUMerror,
|
|
290
|
+
onBlur: handleAUMerror,
|
|
291
|
+
children: [
|
|
292
|
+
/* @__PURE__ */ jsx("option", { disabled: true, value: "Select option", children: "Select Option" }),
|
|
293
|
+
/* @__PURE__ */ jsx("option", { value: "$0 - $100MM", children: "$0 - $100MM" }),
|
|
294
|
+
/* @__PURE__ */ jsx("option", { value: "$101MM - $200MM", children: "$101MM - $200MM" }),
|
|
295
|
+
/* @__PURE__ */ jsx("option", { value: "$201MM - $500MM", children: "$201MM - $500MM" }),
|
|
296
|
+
/* @__PURE__ */ jsx("option", { value: "$501MM - $750MM", children: "$501MM - $750MM" }),
|
|
297
|
+
/* @__PURE__ */ jsx("option", { value: "$751MM - $1B", children: "$751MM - $1B" }),
|
|
298
|
+
/* @__PURE__ */ jsx("option", { value: "$1B -$2B", children: "$1B -$2B" }),
|
|
299
|
+
/* @__PURE__ */ jsx("option", { value: "$2B+", children: "$2B+" })
|
|
300
|
+
]
|
|
301
|
+
}
|
|
302
|
+
) }),
|
|
303
|
+
/* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
|
|
304
|
+
/* @__PURE__ */ jsx(
|
|
305
|
+
Input,
|
|
306
|
+
{
|
|
307
|
+
id: "business_type_selection",
|
|
308
|
+
label: "Type of Business",
|
|
309
|
+
onFocus: handleShowBusinessType,
|
|
310
|
+
onBlur: handleTOBerrors,
|
|
311
|
+
sizes: "medium",
|
|
312
|
+
placeholder: "Select All That Apply",
|
|
313
|
+
error: !!errors.Business_Type__c,
|
|
314
|
+
readOnly: true,
|
|
315
|
+
className: ro_input
|
|
316
|
+
}
|
|
317
|
+
),
|
|
318
|
+
showBusinessTypes && /* @__PURE__ */ jsx(
|
|
319
|
+
CheckboxGroup,
|
|
320
|
+
{
|
|
321
|
+
options,
|
|
322
|
+
selectedValues,
|
|
323
|
+
onChange: handleBusinessTypeChange,
|
|
324
|
+
error: !!errors.Business_Type__c
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
] }),
|
|
328
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
329
|
+
Input,
|
|
330
|
+
{
|
|
331
|
+
id: "Memo__c",
|
|
332
|
+
...register("Memo__c", { required: false }),
|
|
333
|
+
label: "Please provide additional details about your clearing needs (optional)",
|
|
334
|
+
sizes: "medium",
|
|
335
|
+
required: false,
|
|
336
|
+
error: !!errors.Memo__c,
|
|
337
|
+
helperText: errors.Memo__c?.message,
|
|
338
|
+
variant
|
|
339
|
+
}
|
|
340
|
+
) }),
|
|
341
|
+
/* @__PURE__ */ jsx(
|
|
342
|
+
"input",
|
|
343
|
+
{
|
|
344
|
+
type: "hidden",
|
|
345
|
+
...register("Lead_Source_Detail_SFDC2__c", {
|
|
346
|
+
value: "Axos Clearing"
|
|
347
|
+
})
|
|
348
|
+
}
|
|
349
|
+
)
|
|
350
|
+
] }),
|
|
351
|
+
/* @__PURE__ */ jsx(HoneyPot, { register, errors, variant }),
|
|
352
|
+
children,
|
|
353
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
354
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
355
|
+
Button,
|
|
310
356
|
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
357
|
+
color: getVariant(callToAction?.variant),
|
|
358
|
+
as: "button",
|
|
359
|
+
type: "submit",
|
|
360
|
+
disabled: !isValid || isSubmitting || !requiredAUM || !requiredTOB,
|
|
361
|
+
children: callToAction?.displayText
|
|
315
362
|
}
|
|
316
|
-
)
|
|
317
|
-
]
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
{
|
|
321
|
-
id: "Memo__c",
|
|
322
|
-
...register("Memo__c", { required: false }),
|
|
323
|
-
label: "Please provide additional details about your clearing needs (optional)",
|
|
324
|
-
sizes: "medium",
|
|
325
|
-
required: false,
|
|
326
|
-
error: !!errors.Memo__c,
|
|
327
|
-
helperText: errors.Memo__c?.message,
|
|
328
|
-
variant
|
|
329
|
-
}
|
|
330
|
-
) }),
|
|
331
|
-
/* @__PURE__ */ jsx(
|
|
332
|
-
"input",
|
|
333
|
-
{
|
|
334
|
-
type: "hidden",
|
|
335
|
-
...register("Lead_Source_Detail_SFDC2__c", {
|
|
336
|
-
value: "Axos Clearing"
|
|
337
|
-
})
|
|
338
|
-
}
|
|
339
|
-
)
|
|
340
|
-
] }),
|
|
341
|
-
/* @__PURE__ */ jsx(HoneyPot, { register, errors, variant }),
|
|
342
|
-
children,
|
|
343
|
-
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
344
|
-
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
345
|
-
Button,
|
|
346
|
-
{
|
|
347
|
-
color: getVariant(callToAction?.variant),
|
|
348
|
-
as: "button",
|
|
349
|
-
type: "submit",
|
|
350
|
-
disabled: !isValid || isSubmitting || !requiredAUM || !requiredTOB,
|
|
351
|
-
children: callToAction?.displayText
|
|
352
|
-
}
|
|
353
|
-
) })
|
|
354
|
-
] })
|
|
363
|
+
) })
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
)
|
|
355
367
|
] }) }) }, id);
|
|
356
368
|
};
|
|
357
369
|
export {
|
|
@@ -14,4 +14,4 @@ export type CommercialDepositsInputs = {
|
|
|
14
14
|
Others_Detail__c: string;
|
|
15
15
|
Product_and_servicing_needs__c: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|