@axos-web-dev/shared-components 1.0.99-dev.1 → 1.0.99-dev.3

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.
Files changed (95) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -0
  2. package/dist/Auth/ErrorAlert.js +1 -0
  3. package/dist/Button/Button.js +1 -0
  4. package/dist/Calculators/Calculator.js +1 -0
  5. package/dist/Carousel/index.js +1 -0
  6. package/dist/Chevron/index.js +1 -0
  7. package/dist/Comparison/Comparison.js +1 -0
  8. package/dist/ExecutiveBio/ExecutiveBio.js +1 -0
  9. package/dist/FaqAccordion/index.js +1 -0
  10. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -0
  11. package/dist/Forms/ApplicationStart.d.ts +1 -1
  12. package/dist/Forms/ApplicationStart.js +111 -89
  13. package/dist/Forms/ApplyNow.js +1 -0
  14. package/dist/Forms/ClearingForm.d.ts +1 -1
  15. package/dist/Forms/ClearingForm.js +184 -162
  16. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  17. package/dist/Forms/CommercialDeposits.js +201 -179
  18. package/dist/Forms/CommercialLending.d.ts +1 -1
  19. package/dist/Forms/CommercialLending.js +278 -256
  20. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  21. package/dist/Forms/CommercialPremiumFinance.js +128 -106
  22. package/dist/Forms/ContactCompany.d.ts +1 -1
  23. package/dist/Forms/ContactCompany.js +113 -91
  24. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  25. package/dist/Forms/ContactCompanyTitle.js +127 -105
  26. package/dist/Forms/ContactUs.d.ts +1 -1
  27. package/dist/Forms/ContactUs.js +99 -78
  28. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  29. package/dist/Forms/ContactUsAAS.js +180 -158
  30. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  31. package/dist/Forms/ContactUsBusiness.js +134 -112
  32. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  33. package/dist/Forms/ContactUsBusinessNameEmail.js +103 -81
  34. package/dist/Forms/ContactUsLVF.d.ts +1 -1
  35. package/dist/Forms/ContactUsLVF.js +120 -98
  36. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  37. package/dist/Forms/ContactUsNMLSId.js +117 -95
  38. package/dist/Forms/CpraRequest.d.ts +1 -1
  39. package/dist/Forms/CpraRequest.js +641 -619
  40. package/dist/Forms/CraPublicFile.d.ts +1 -1
  41. package/dist/Forms/CraPublicFile.js +109 -87
  42. package/dist/Forms/DealerServices.d.ts +1 -1
  43. package/dist/Forms/DealerServices.js +225 -204
  44. package/dist/Forms/EmailOnly.d.ts +1 -1
  45. package/dist/Forms/EmailOnly.js +56 -36
  46. package/dist/Forms/EmailUs.d.ts +1 -1
  47. package/dist/Forms/EmailUs.js +75 -53
  48. package/dist/Forms/FormProps.d.ts +3 -0
  49. package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
  50. package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
  51. package/dist/Forms/HoneyPot/index.d.ts +24 -0
  52. package/dist/Forms/HoneyPot/index.js +71 -0
  53. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  54. package/dist/Forms/MortgageRate/MortgageRateForm.js +363 -342
  55. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -0
  56. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  57. package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
  58. package/dist/Forms/ScheduleCall.d.ts +1 -1
  59. package/dist/Forms/ScheduleCall.js +156 -134
  60. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  61. package/dist/Forms/ScheduleCallPremier.js +178 -156
  62. package/dist/Forms/SuccesForm.js +1 -0
  63. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  64. package/dist/Forms/VendorQuestionnaire.js +817 -795
  65. package/dist/Forms/WcplSurvey.d.ts +1 -1
  66. package/dist/Forms/WcplSurvey.js +112 -90
  67. package/dist/Forms/index.d.ts +1 -0
  68. package/dist/Forms/index.js +4 -0
  69. package/dist/Hyperlink/index.js +1 -0
  70. package/dist/ImageLink/ImageLink.js +1 -0
  71. package/dist/ImageLink/ImageLinkSet.js +1 -0
  72. package/dist/ImageLink/index.js +1 -0
  73. package/dist/Input/Input.js +3 -1
  74. package/dist/Insight/Featured/CategorySelector.js +1 -0
  75. package/dist/Insight/Featured/Featured.js +1 -0
  76. package/dist/Insight/Featured/Header.js +1 -0
  77. package/dist/Modal/Modal.js +1 -0
  78. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -0
  79. package/dist/NavigationMenu/AxosALTS/index.js +1 -0
  80. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -0
  81. package/dist/NavigationMenu/AxosBank/NavData.js +1 -0
  82. package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -0
  83. package/dist/NavigationMenu/AxosBank/index.js +1 -0
  84. package/dist/NavigationMenu/LaVictoire/NavData.js +1 -0
  85. package/dist/NavigationMenu/LaVictoire/index.js +1 -0
  86. package/dist/NavigationMenu/NavDataJson.js +1 -0
  87. package/dist/NavigationMenu/Navbar.js +1 -0
  88. package/dist/NavigationMenu/SignInNavButton.js +1 -0
  89. package/dist/SetContainer/SetContainer.js +1 -0
  90. package/dist/SocialMediaBar/iconsRepository.js +1 -0
  91. package/dist/VideoTile/VideoTile.js +1 -0
  92. package/dist/VideoWrapper/index.js +1 -0
  93. package/dist/assets/Forms/HoneyPot/HoneyPot.css +4 -0
  94. package/dist/main.js +4 -0
  95. package/package.json +1 -1
@@ -16,6 +16,7 @@ import { InputPhone } from "../Input/InputPhone.js";
16
16
  import "../Input/InputTextArea.js";
17
17
  import "../Input/DownPaymentInput.js";
18
18
  import { RadioButtonSet, RadioButton } from "../Input/RadioButton.js";
19
+ import CheckboxGroup from "../Input/CheckboxGroup.js";
19
20
  import "../icons/ArrowIcon/ArrowIcon.css.js";
20
21
  import SvgAxosX from "../icons/AxosX/index.js";
21
22
  import SvgComponent from "../icons/AxosX/Blue.js";
@@ -28,11 +29,11 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
28
29
  import { findMoreAxosDomains } from "../utils/allowedAxosDomains.js";
29
30
  import { associatedEmail } from "../utils/EverestValidity.js";
30
31
  import { getVariant } from "../utils/getVariant.js";
31
- import CheckboxGroup from "../Input/CheckboxGroup.js";
32
32
  import clsx from "clsx";
33
33
  import { useForm, FormProvider } from "react-hook-form";
34
34
  import * as z from "zod";
35
35
  import { iconForm, headerContainer, form, descriptionField, fullRowForm, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
36
+ import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
36
37
  const CpraRequest = ({
37
38
  icon = false,
38
39
  children,
@@ -44,6 +45,7 @@ const CpraRequest = ({
44
45
  headline,
45
46
  description,
46
47
  callToAction,
48
+ onValidate,
47
49
  id
48
50
  }) => {
49
51
  const schema = z.object({
@@ -91,8 +93,16 @@ const CpraRequest = ({
91
93
  return removeDashes;
92
94
  })
93
95
  });
96
+ const gen_schema = schema.merge(honeyPotSchema).superRefine((data, ctx) => {
97
+ if (!isValidHoneyPot(data)) {
98
+ ctx.addIssue({
99
+ code: z.ZodIssueCode.custom,
100
+ message: "fields are not valid."
101
+ });
102
+ }
103
+ });
94
104
  const methods = useForm({
95
- resolver: zodResolver(schema, {
105
+ resolver: zodResolver(gen_schema, {
96
106
  async: true
97
107
  }),
98
108
  mode: "all"
@@ -136,626 +146,638 @@ const CpraRequest = ({
136
146
  " You have the right to send Axos Financial a verifiable request, twice in a 12-month period, asking that we disclose to you the personal information Axos Financial has collected, used, disclosed and sold about you during the past 12 months. Please check the box below relating to the information you would like Axos Financial to disclose to you:"
137
147
  ] })
138
148
  ] }),
139
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
140
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
141
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
142
- RadioButtonSet,
143
- {
144
- id: "California_Resident",
145
- label: "* Are you a California resident?",
146
- sizes: "medium",
147
- required: true,
148
- error: !!errors.California_Resident,
149
- helperText: errors.California_Resident?.message,
150
- variant,
151
- children: [
152
- /* @__PURE__ */ jsx(
153
- RadioButton,
154
- {
155
- ...register("California_Resident", {}),
156
- value: "Yes",
157
- radioText: "Yes",
158
- groupName: "California_Resident"
159
- }
160
- ),
161
- /* @__PURE__ */ jsx(
162
- RadioButton,
163
- {
164
- ...register("California_Resident", {}),
165
- value: "No",
166
- radioText: "No",
167
- groupName: "California_Resident"
168
- }
169
- )
170
- ]
171
- }
172
- ) }),
173
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
174
- RadioButtonSet,
175
- {
176
- id: "Categories_of_personal_info",
177
- label: "* The categories of personal information Axos Financial has collected about you.",
178
- sizes: "medium",
179
- required: true,
180
- error: !!errors.Categories_of_personal_info,
181
- helperText: errors.Categories_of_personal_info?.message,
182
- variant,
183
- children: [
184
- /* @__PURE__ */ jsx(
185
- RadioButton,
186
- {
187
- ...register("Categories_of_personal_info", {}),
188
- value: "Yes",
189
- radioText: "Yes",
190
- groupName: "Categories_of_personal_info"
191
- }
192
- ),
193
- /* @__PURE__ */ jsx(
194
- RadioButton,
195
- {
196
- ...register("Categories_of_personal_info", {}),
197
- value: "No",
198
- radioText: "No",
199
- groupName: "Categories_of_personal_info"
200
- }
201
- )
202
- ]
203
- }
204
- ) }),
205
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
206
- RadioButtonSet,
207
- {
208
- id: "Pieces_of_personal_information",
209
- label: "* The specific pieces of personal information Axos Financial has collected about you.",
210
- sizes: "medium",
211
- required: true,
212
- error: !!errors.Pieces_of_personal_information,
213
- helperText: errors.Pieces_of_personal_information?.message,
214
- variant,
215
- children: [
216
- /* @__PURE__ */ jsx(
217
- RadioButton,
218
- {
219
- ...register("Pieces_of_personal_information", {}),
220
- value: "Yes",
221
- radioText: "Yes",
222
- groupName: "Pieces_of_personal_information"
223
- }
224
- ),
225
- /* @__PURE__ */ jsx(
226
- RadioButton,
227
- {
228
- ...register("Pieces_of_personal_information", {}),
229
- value: "No",
230
- radioText: "No",
231
- groupName: "Pieces_of_personal_information"
232
- }
233
- )
234
- ]
235
- }
236
- ) }),
237
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx("div", { className: `${form} ${descriptionField({ variant })}`, children: "By selecting specific pieces of personal information Axos Financial has collected about you, you are required to sign a declaration, under penalty of perjury, that you are the individual whose information is provided above." }) }),
238
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
239
- RadioButtonSet,
240
- {
241
- id: "Request_Correction_of_Information",
242
- label: "* Request correction of information?",
243
- sizes: "medium",
244
- required: true,
245
- error: !!errors.Request_Correction_of_Information,
246
- helperText: errors.Request_Correction_of_Information?.message,
247
- variant,
248
- children: [
249
- /* @__PURE__ */ jsx(
250
- RadioButton,
251
- {
252
- ...register("Request_Correction_of_Information", {}),
253
- value: "Yes",
254
- radioText: "Yes",
255
- groupName: "Request_Correction_of_Information"
256
- }
257
- ),
258
- /* @__PURE__ */ jsx(
259
- RadioButton,
260
- {
261
- ...register("Request_Correction_of_Information", {}),
262
- value: "No",
263
- radioText: "No",
264
- groupName: "Request_Correction_of_Information"
265
- }
266
- )
267
- ]
268
- }
269
- ) }),
270
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
271
- /* @__PURE__ */ jsx("u", { children: "Right to Delete:" }),
272
- " You have the right to submit a verifiable request asking that Axos Financial delete certain personal information Axos Financial has collected from you, subject to certain exceptions as permitted by law."
273
- ] }) }),
274
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
275
- RadioButtonSet,
276
- {
277
- id: "Delete_personal_info",
278
- label: "* Would you like Axos Financial to delete the personal information we have collected from you?",
279
- sizes: "medium",
280
- required: true,
281
- error: !!errors.Delete_personal_info,
282
- helperText: errors.Delete_personal_info?.message,
283
- variant,
284
- children: [
285
- /* @__PURE__ */ jsx(
286
- RadioButton,
287
- {
288
- ...register("Delete_personal_info", {}),
289
- value: "Yes",
290
- radioText: "Yes",
291
- groupName: "Delete_personal_info"
292
- }
293
- ),
294
- /* @__PURE__ */ jsx(
295
- RadioButton,
296
- {
297
- ...register("Delete_personal_info", {}),
298
- value: "No",
299
- radioText: "No",
300
- groupName: "Delete_personal_info"
301
- }
302
- )
303
- ]
304
- }
305
- ) }),
306
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
307
- /* @__PURE__ */ jsx("u", { children: "Right to Opt-Out of Sale:" }),
308
- " You have the right to opt-out of the sale of your personal information we collect on our websites, such as to enhance the ability to serve you content and advertisements that may be of interest to you."
309
- ] }) }),
310
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
311
- RadioButtonSet,
312
- {
313
- id: "Opt_out_of_sale_of_info",
314
- label: "* Would you like to opt out of the sale of your personal information by Axos Financial?",
315
- sizes: "medium",
316
- required: true,
317
- error: !!errors.Opt_out_of_sale_of_info,
318
- helperText: errors.Opt_out_of_sale_of_info?.message,
319
- variant,
320
- children: [
321
- /* @__PURE__ */ jsx(
322
- RadioButton,
323
- {
324
- ...register("Opt_out_of_sale_of_info", {}),
325
- value: "Yes",
326
- radioText: "Yes",
327
- groupName: "Opt_out_of_sale_of_info"
328
- }
329
- ),
330
- /* @__PURE__ */ jsx(
331
- RadioButton,
332
- {
333
- ...register("Opt_out_of_sale_of_info", {}),
334
- value: "No",
335
- radioText: "No",
336
- groupName: "Opt_out_of_sale_of_info"
337
- }
338
- )
339
- ]
340
- }
341
- ) }),
342
- /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 2: Please provide the following information so that we can verify your identity and respond to your request." }) }),
343
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
344
- RadioButtonSet,
345
- {
346
- id: "Current_client",
347
- label: "* I am a current client or customer.",
348
- sizes: "medium",
349
- required: true,
350
- error: !!errors.Current_client,
351
- helperText: errors.Current_client?.message,
352
- variant,
353
- children: [
354
- /* @__PURE__ */ jsx(
355
- RadioButton,
356
- {
357
- ...register("Current_client", {}),
358
- value: "Yes",
359
- radioText: "Yes",
360
- groupName: "Current_client"
361
- }
362
- ),
363
- /* @__PURE__ */ jsx(
364
- RadioButton,
365
- {
366
- ...register("Current_client", {}),
367
- value: "No",
368
- radioText: "No",
369
- groupName: "Current_client"
370
- }
371
- )
372
- ]
373
- }
374
- ) }),
375
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
376
- RadioButtonSet,
377
- {
378
- id: "Former_client",
379
- label: "* I am a former client or customer.",
380
- sizes: "medium",
381
- required: true,
382
- error: !!errors.Former_client,
383
- helperText: errors.Former_client?.message,
384
- variant,
385
- children: [
386
- /* @__PURE__ */ jsx(
387
- RadioButton,
388
- {
389
- ...register("Former_client", {}),
390
- value: "Yes",
391
- radioText: "Yes",
392
- groupName: "Former_client"
393
- }
394
- ),
395
- /* @__PURE__ */ jsx(
396
- RadioButton,
397
- {
398
- ...register("Former_client", {}),
399
- value: "No",
400
- radioText: "No",
401
- groupName: "Former_client"
402
- }
403
- )
404
- ]
405
- }
406
- ) }),
407
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
408
- RadioButtonSet,
409
- {
410
- id: "Currently_Employed_by_Axos_Financial",
411
- label: "* Are you currently employed by Axos Financial?",
412
- sizes: "medium",
413
- required: true,
414
- error: !!errors.Currently_Employed_by_Axos_Financial,
415
- helperText: errors.Currently_Employed_by_Axos_Financial?.message,
416
- variant,
417
- children: [
418
- /* @__PURE__ */ jsx(
419
- RadioButton,
420
- {
421
- ...register("Currently_Employed_by_Axos_Financial", {}),
422
- value: "Yes",
423
- radioText: "Yes",
424
- groupName: "Currently_Employed_by_Axos_Financial"
425
- }
426
- ),
427
- /* @__PURE__ */ jsx(
428
- RadioButton,
429
- {
430
- ...register("Currently_Employed_by_Axos_Financial", {}),
431
- value: "No",
432
- radioText: "No",
433
- groupName: "Currently_Employed_by_Axos_Financial"
434
- }
435
- )
436
- ]
437
- }
438
- ) }),
439
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
440
- RadioButtonSet,
441
- {
442
- id: "Previously_Employed_by_Axos_Financial",
443
- label: "* Have you previously been employed by Axos Financial?",
444
- sizes: "medium",
445
- required: true,
446
- error: !!errors.Previously_Employed_by_Axos_Financial,
447
- helperText: errors.Previously_Employed_by_Axos_Financial?.message,
448
- variant,
449
- children: [
450
- /* @__PURE__ */ jsx(
451
- RadioButton,
452
- {
453
- ...register("Previously_Employed_by_Axos_Financial", {}),
454
- value: "Yes",
455
- radioText: "Yes",
456
- groupName: "Previously_Employed_by_Axos_Financial"
457
- }
458
- ),
459
- /* @__PURE__ */ jsx(
460
- RadioButton,
461
- {
462
- ...register("Previously_Employed_by_Axos_Financial", {}),
463
- value: "No",
464
- radioText: "No",
465
- groupName: "Previously_Employed_by_Axos_Financial"
466
- }
467
- )
468
- ]
469
- }
470
- ) }),
471
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
472
- RadioButtonSet,
473
- {
474
- id: "Ever_Applied_for_Employment_with_Axos_Financial",
475
- label: "* Have you ever applied for employment with Axos Financial?",
476
- sizes: "medium",
477
- required: true,
478
- error: !!errors.Ever_Applied_for_Employment_with_Axos_Financial,
479
- helperText: errors.Ever_Applied_for_Employment_with_Axos_Financial?.message,
480
- variant,
481
- children: [
482
- /* @__PURE__ */ jsx(
483
- RadioButton,
484
- {
485
- ...register(
486
- "Ever_Applied_for_Employment_with_Axos_Financial",
487
- {}
149
+ /* @__PURE__ */ jsxs(
150
+ "form",
151
+ {
152
+ className: form,
153
+ onSubmit: async (e) => {
154
+ onValidate && onValidate(e);
155
+ await handleSubmit(submitForm)(e);
156
+ e.preventDefault();
157
+ },
158
+ children: [
159
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
160
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
161
+ RadioButtonSet,
162
+ {
163
+ id: "California_Resident",
164
+ label: "* Are you a California resident?",
165
+ sizes: "medium",
166
+ required: true,
167
+ error: !!errors.California_Resident,
168
+ helperText: errors.California_Resident?.message,
169
+ variant,
170
+ children: [
171
+ /* @__PURE__ */ jsx(
172
+ RadioButton,
173
+ {
174
+ ...register("California_Resident", {}),
175
+ value: "Yes",
176
+ radioText: "Yes",
177
+ groupName: "California_Resident"
178
+ }
179
+ ),
180
+ /* @__PURE__ */ jsx(
181
+ RadioButton,
182
+ {
183
+ ...register("California_Resident", {}),
184
+ value: "No",
185
+ radioText: "No",
186
+ groupName: "California_Resident"
187
+ }
188
+ )
189
+ ]
190
+ }
191
+ ) }),
192
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
193
+ RadioButtonSet,
194
+ {
195
+ id: "Categories_of_personal_info",
196
+ label: "* The categories of personal information Axos Financial has collected about you.",
197
+ sizes: "medium",
198
+ required: true,
199
+ error: !!errors.Categories_of_personal_info,
200
+ helperText: errors.Categories_of_personal_info?.message,
201
+ variant,
202
+ children: [
203
+ /* @__PURE__ */ jsx(
204
+ RadioButton,
205
+ {
206
+ ...register("Categories_of_personal_info", {}),
207
+ value: "Yes",
208
+ radioText: "Yes",
209
+ groupName: "Categories_of_personal_info"
210
+ }
211
+ ),
212
+ /* @__PURE__ */ jsx(
213
+ RadioButton,
214
+ {
215
+ ...register("Categories_of_personal_info", {}),
216
+ value: "No",
217
+ radioText: "No",
218
+ groupName: "Categories_of_personal_info"
219
+ }
220
+ )
221
+ ]
222
+ }
223
+ ) }),
224
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
225
+ RadioButtonSet,
226
+ {
227
+ id: "Pieces_of_personal_information",
228
+ label: "* The specific pieces of personal information Axos Financial has collected about you.",
229
+ sizes: "medium",
230
+ required: true,
231
+ error: !!errors.Pieces_of_personal_information,
232
+ helperText: errors.Pieces_of_personal_information?.message,
233
+ variant,
234
+ children: [
235
+ /* @__PURE__ */ jsx(
236
+ RadioButton,
237
+ {
238
+ ...register("Pieces_of_personal_information", {}),
239
+ value: "Yes",
240
+ radioText: "Yes",
241
+ groupName: "Pieces_of_personal_information"
242
+ }
243
+ ),
244
+ /* @__PURE__ */ jsx(
245
+ RadioButton,
246
+ {
247
+ ...register("Pieces_of_personal_information", {}),
248
+ value: "No",
249
+ radioText: "No",
250
+ groupName: "Pieces_of_personal_information"
251
+ }
252
+ )
253
+ ]
254
+ }
255
+ ) }),
256
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx("div", { className: `${form} ${descriptionField({ variant })}`, children: "By selecting specific pieces of personal information Axos Financial has collected about you, you are required to sign a declaration, under penalty of perjury, that you are the individual whose information is provided above." }) }),
257
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
258
+ RadioButtonSet,
259
+ {
260
+ id: "Request_Correction_of_Information",
261
+ label: "* Request correction of information?",
262
+ sizes: "medium",
263
+ required: true,
264
+ error: !!errors.Request_Correction_of_Information,
265
+ helperText: errors.Request_Correction_of_Information?.message,
266
+ variant,
267
+ children: [
268
+ /* @__PURE__ */ jsx(
269
+ RadioButton,
270
+ {
271
+ ...register("Request_Correction_of_Information", {}),
272
+ value: "Yes",
273
+ radioText: "Yes",
274
+ groupName: "Request_Correction_of_Information"
275
+ }
276
+ ),
277
+ /* @__PURE__ */ jsx(
278
+ RadioButton,
279
+ {
280
+ ...register("Request_Correction_of_Information", {}),
281
+ value: "No",
282
+ radioText: "No",
283
+ groupName: "Request_Correction_of_Information"
284
+ }
285
+ )
286
+ ]
287
+ }
288
+ ) }),
289
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
290
+ /* @__PURE__ */ jsx("u", { children: "Right to Delete:" }),
291
+ " You have the right to submit a verifiable request asking that Axos Financial delete certain personal information Axos Financial has collected from you, subject to certain exceptions as permitted by law."
292
+ ] }) }),
293
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
294
+ RadioButtonSet,
295
+ {
296
+ id: "Delete_personal_info",
297
+ label: "* Would you like Axos Financial to delete the personal information we have collected from you?",
298
+ sizes: "medium",
299
+ required: true,
300
+ error: !!errors.Delete_personal_info,
301
+ helperText: errors.Delete_personal_info?.message,
302
+ variant,
303
+ children: [
304
+ /* @__PURE__ */ jsx(
305
+ RadioButton,
306
+ {
307
+ ...register("Delete_personal_info", {}),
308
+ value: "Yes",
309
+ radioText: "Yes",
310
+ groupName: "Delete_personal_info"
311
+ }
312
+ ),
313
+ /* @__PURE__ */ jsx(
314
+ RadioButton,
315
+ {
316
+ ...register("Delete_personal_info", {}),
317
+ value: "No",
318
+ radioText: "No",
319
+ groupName: "Delete_personal_info"
320
+ }
321
+ )
322
+ ]
323
+ }
324
+ ) }),
325
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
326
+ /* @__PURE__ */ jsx("u", { children: "Right to Opt-Out of Sale:" }),
327
+ " You have the right to opt-out of the sale of your personal information we collect on our websites, such as to enhance the ability to serve you content and advertisements that may be of interest to you."
328
+ ] }) }),
329
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
330
+ RadioButtonSet,
331
+ {
332
+ id: "Opt_out_of_sale_of_info",
333
+ label: "* Would you like to opt out of the sale of your personal information by Axos Financial?",
334
+ sizes: "medium",
335
+ required: true,
336
+ error: !!errors.Opt_out_of_sale_of_info,
337
+ helperText: errors.Opt_out_of_sale_of_info?.message,
338
+ variant,
339
+ children: [
340
+ /* @__PURE__ */ jsx(
341
+ RadioButton,
342
+ {
343
+ ...register("Opt_out_of_sale_of_info", {}),
344
+ value: "Yes",
345
+ radioText: "Yes",
346
+ groupName: "Opt_out_of_sale_of_info"
347
+ }
348
+ ),
349
+ /* @__PURE__ */ jsx(
350
+ RadioButton,
351
+ {
352
+ ...register("Opt_out_of_sale_of_info", {}),
353
+ value: "No",
354
+ radioText: "No",
355
+ groupName: "Opt_out_of_sale_of_info"
356
+ }
357
+ )
358
+ ]
359
+ }
360
+ ) }),
361
+ /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 2: Please provide the following information so that we can verify your identity and respond to your request." }) }),
362
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
363
+ RadioButtonSet,
364
+ {
365
+ id: "Current_client",
366
+ label: "* I am a current client or customer.",
367
+ sizes: "medium",
368
+ required: true,
369
+ error: !!errors.Current_client,
370
+ helperText: errors.Current_client?.message,
371
+ variant,
372
+ children: [
373
+ /* @__PURE__ */ jsx(
374
+ RadioButton,
375
+ {
376
+ ...register("Current_client", {}),
377
+ value: "Yes",
378
+ radioText: "Yes",
379
+ groupName: "Current_client"
380
+ }
381
+ ),
382
+ /* @__PURE__ */ jsx(
383
+ RadioButton,
384
+ {
385
+ ...register("Current_client", {}),
386
+ value: "No",
387
+ radioText: "No",
388
+ groupName: "Current_client"
389
+ }
390
+ )
391
+ ]
392
+ }
393
+ ) }),
394
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
395
+ RadioButtonSet,
396
+ {
397
+ id: "Former_client",
398
+ label: "* I am a former client or customer.",
399
+ sizes: "medium",
400
+ required: true,
401
+ error: !!errors.Former_client,
402
+ helperText: errors.Former_client?.message,
403
+ variant,
404
+ children: [
405
+ /* @__PURE__ */ jsx(
406
+ RadioButton,
407
+ {
408
+ ...register("Former_client", {}),
409
+ value: "Yes",
410
+ radioText: "Yes",
411
+ groupName: "Former_client"
412
+ }
488
413
  ),
489
- value: "Yes",
490
- radioText: "Yes",
491
- groupName: "Ever_Applied_for_Employment_with_Axos_Financial"
492
- }
493
- ),
494
- /* @__PURE__ */ jsx(
495
- RadioButton,
496
- {
497
- ...register(
498
- "Ever_Applied_for_Employment_with_Axos_Financial",
499
- {}
414
+ /* @__PURE__ */ jsx(
415
+ RadioButton,
416
+ {
417
+ ...register("Former_client", {}),
418
+ value: "No",
419
+ radioText: "No",
420
+ groupName: "Former_client"
421
+ }
422
+ )
423
+ ]
424
+ }
425
+ ) }),
426
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
427
+ RadioButtonSet,
428
+ {
429
+ id: "Currently_Employed_by_Axos_Financial",
430
+ label: "* Are you currently employed by Axos Financial?",
431
+ sizes: "medium",
432
+ required: true,
433
+ error: !!errors.Currently_Employed_by_Axos_Financial,
434
+ helperText: errors.Currently_Employed_by_Axos_Financial?.message,
435
+ variant,
436
+ children: [
437
+ /* @__PURE__ */ jsx(
438
+ RadioButton,
439
+ {
440
+ ...register("Currently_Employed_by_Axos_Financial", {}),
441
+ value: "Yes",
442
+ radioText: "Yes",
443
+ groupName: "Currently_Employed_by_Axos_Financial"
444
+ }
445
+ ),
446
+ /* @__PURE__ */ jsx(
447
+ RadioButton,
448
+ {
449
+ ...register("Currently_Employed_by_Axos_Financial", {}),
450
+ value: "No",
451
+ radioText: "No",
452
+ groupName: "Currently_Employed_by_Axos_Financial"
453
+ }
454
+ )
455
+ ]
456
+ }
457
+ ) }),
458
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
459
+ RadioButtonSet,
460
+ {
461
+ id: "Previously_Employed_by_Axos_Financial",
462
+ label: "* Have you previously been employed by Axos Financial?",
463
+ sizes: "medium",
464
+ required: true,
465
+ error: !!errors.Previously_Employed_by_Axos_Financial,
466
+ helperText: errors.Previously_Employed_by_Axos_Financial?.message,
467
+ variant,
468
+ children: [
469
+ /* @__PURE__ */ jsx(
470
+ RadioButton,
471
+ {
472
+ ...register("Previously_Employed_by_Axos_Financial", {}),
473
+ value: "Yes",
474
+ radioText: "Yes",
475
+ groupName: "Previously_Employed_by_Axos_Financial"
476
+ }
477
+ ),
478
+ /* @__PURE__ */ jsx(
479
+ RadioButton,
480
+ {
481
+ ...register("Previously_Employed_by_Axos_Financial", {}),
482
+ value: "No",
483
+ radioText: "No",
484
+ groupName: "Previously_Employed_by_Axos_Financial"
485
+ }
486
+ )
487
+ ]
488
+ }
489
+ ) }),
490
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
491
+ RadioButtonSet,
492
+ {
493
+ id: "Ever_Applied_for_Employment_with_Axos_Financial",
494
+ label: "* Have you ever applied for employment with Axos Financial?",
495
+ sizes: "medium",
496
+ required: true,
497
+ error: !!errors.Ever_Applied_for_Employment_with_Axos_Financial,
498
+ helperText: errors.Ever_Applied_for_Employment_with_Axos_Financial?.message,
499
+ variant,
500
+ children: [
501
+ /* @__PURE__ */ jsx(
502
+ RadioButton,
503
+ {
504
+ ...register(
505
+ "Ever_Applied_for_Employment_with_Axos_Financial",
506
+ {}
507
+ ),
508
+ value: "Yes",
509
+ radioText: "Yes",
510
+ groupName: "Ever_Applied_for_Employment_with_Axos_Financial"
511
+ }
512
+ ),
513
+ /* @__PURE__ */ jsx(
514
+ RadioButton,
515
+ {
516
+ ...register(
517
+ "Ever_Applied_for_Employment_with_Axos_Financial",
518
+ {}
519
+ ),
520
+ value: "No",
521
+ radioText: "No",
522
+ groupName: "Ever_Applied_for_Employment_with_Axos_Financial"
523
+ }
524
+ )
525
+ ]
526
+ }
527
+ ) }),
528
+ /* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
529
+ /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 3: Where have you interacted with Axos Financial?" }),
530
+ /* @__PURE__ */ jsx("div", { className: `${form} ${descriptionField({ variant })}`, children: "* Please select all that apply." })
531
+ ] }),
532
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
533
+ CheckboxGroup,
534
+ {
535
+ options: options2,
536
+ selectedValues: selectedValues2,
537
+ error: !!errors.Axos_Financial_interaction_outlet,
538
+ onChange: handleSelectedValues2
539
+ }
540
+ ) }),
541
+ /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 4: Please provide your contact details." }) }),
542
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
543
+ Input,
544
+ {
545
+ id: "First_Name",
546
+ ...register("First_Name", { required: true }),
547
+ label: "* First Name",
548
+ sizes: "medium",
549
+ required: true,
550
+ error: !!errors.First_Name,
551
+ helperText: errors.First_Name?.message,
552
+ variant
553
+ }
554
+ ) }),
555
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
556
+ Input,
557
+ {
558
+ id: "Last_Name",
559
+ ...register("Last_Name", { required: true }),
560
+ label: "* Last Name",
561
+ sizes: "medium",
562
+ required: true,
563
+ error: !!errors.Last_Name,
564
+ helperText: errors.Last_Name?.message,
565
+ variant
566
+ }
567
+ ) }),
568
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
569
+ Input,
570
+ {
571
+ id: "DOB",
572
+ ...register("DOB", {
573
+ required: true
574
+ }),
575
+ type: "date",
576
+ label: "* Date of Birth",
577
+ sizes: "medium",
578
+ placeholder: "Date of Birth",
579
+ required: true,
580
+ error: !!errors.DOB,
581
+ helperText: errors.DOB?.message,
582
+ variant
583
+ }
584
+ ) }),
585
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
586
+ Input,
587
+ {
588
+ id: "email",
589
+ ...register("email", {
590
+ required: true,
591
+ validate: {
592
+ isValid: associatedEmail
593
+ }
594
+ }),
595
+ label: "* Email",
596
+ sizes: "medium",
597
+ required: true,
598
+ error: !!errors.email,
599
+ helperText: errors.email?.message,
600
+ variant
601
+ }
602
+ ) }),
603
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
604
+ InputPhone,
605
+ {
606
+ id: "Telephone",
607
+ ...register("Telephone", { required: true, maxLength: 12 }),
608
+ label: "* Preferred Phone",
609
+ sizes: "medium",
610
+ required: true,
611
+ error: !!errors.Telephone,
612
+ helperText: errors.Telephone?.message,
613
+ variant
614
+ }
615
+ ) }),
616
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
617
+ Input,
618
+ {
619
+ id: "Street_Address",
620
+ ...register("Street_Address", { required: true }),
621
+ label: "* Street Address",
622
+ sizes: "medium",
623
+ required: true,
624
+ variant
625
+ }
626
+ ) }),
627
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
628
+ Input,
629
+ {
630
+ id: "City",
631
+ ...register("City", { required: true }),
632
+ label: "* City",
633
+ sizes: "medium",
634
+ required: true,
635
+ variant
636
+ }
637
+ ) }),
638
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
639
+ Dropdown,
640
+ {
641
+ id: "State_",
642
+ ...register("State_", {
643
+ required: true
644
+ }),
645
+ label: "* State",
646
+ sizes: "medium",
647
+ required: true,
648
+ error: !!errors.State_,
649
+ helperText: errors.State_?.message,
650
+ variant,
651
+ children: [
652
+ /* @__PURE__ */ jsx("option", { value: "AL", children: "Alabama - AL" }),
653
+ /* @__PURE__ */ jsx("option", { value: "AK", children: "Alaska - AK" }),
654
+ /* @__PURE__ */ jsx("option", { value: "AZ", children: "Arizona - AZ" }),
655
+ /* @__PURE__ */ jsx("option", { value: "AR", children: "Arkansas - AR" }),
656
+ /* @__PURE__ */ jsx("option", { value: "CA", children: "California - CA" }),
657
+ /* @__PURE__ */ jsx("option", { value: "CO", children: "Colorado - CO" }),
658
+ /* @__PURE__ */ jsx("option", { value: "CT", children: "Connecticut - CT" }),
659
+ /* @__PURE__ */ jsx("option", { value: "DE", children: "Delaware - DE" }),
660
+ /* @__PURE__ */ jsx("option", { value: "FL", children: "Florida - FL" }),
661
+ /* @__PURE__ */ jsx("option", { value: "GA", children: "Georgia - GA" }),
662
+ /* @__PURE__ */ jsx("option", { value: "HI", children: "Hawaii - HI" }),
663
+ /* @__PURE__ */ jsx("option", { value: "ID", children: "Idaho - ID" }),
664
+ /* @__PURE__ */ jsx("option", { value: "IL", children: "Illinois - IL" }),
665
+ /* @__PURE__ */ jsx("option", { value: "IN", children: "Indiana - IN" }),
666
+ /* @__PURE__ */ jsx("option", { value: "IA", children: "Iowa - IA" }),
667
+ /* @__PURE__ */ jsx("option", { value: "KS", children: "Kansas - KS" }),
668
+ /* @__PURE__ */ jsx("option", { value: "KY", children: "Kentucky - KY" }),
669
+ /* @__PURE__ */ jsx("option", { value: "LA", children: "Louisiana - LA" }),
670
+ /* @__PURE__ */ jsx("option", { value: "ME", children: "Maine - ME" }),
671
+ /* @__PURE__ */ jsx("option", { value: "MD", children: "Maryland - MD" }),
672
+ /* @__PURE__ */ jsx("option", { value: "MA", children: "Massachusetts - MA" }),
673
+ /* @__PURE__ */ jsx("option", { value: "MI", children: "Michigan - MI" }),
674
+ /* @__PURE__ */ jsx("option", { value: "MN", children: "Minnesota - MN" }),
675
+ /* @__PURE__ */ jsx("option", { value: "MS", children: "Mississippi - MS" }),
676
+ /* @__PURE__ */ jsx("option", { value: "MO", children: "Missouri - MO" }),
677
+ /* @__PURE__ */ jsx("option", { value: "MT", children: "Montana - MT" }),
678
+ /* @__PURE__ */ jsx("option", { value: "NE", children: "Nebraska - NE" }),
679
+ /* @__PURE__ */ jsx("option", { value: "NV", children: "Nevada - NV" }),
680
+ /* @__PURE__ */ jsx("option", { value: "NH", children: "New Hampshire - NH" }),
681
+ /* @__PURE__ */ jsx("option", { value: "NJ", children: "New Jersey - NJ" }),
682
+ /* @__PURE__ */ jsx("option", { value: "NM", children: "New Mexico - NM" }),
683
+ /* @__PURE__ */ jsx("option", { value: "NY", children: "New York - NY" }),
684
+ /* @__PURE__ */ jsx("option", { value: "NC", children: "North Carolina - NC" }),
685
+ /* @__PURE__ */ jsx("option", { value: "ND", children: "North Dakota - ND" }),
686
+ /* @__PURE__ */ jsx("option", { value: "OH", children: "Ohio - OH" }),
687
+ /* @__PURE__ */ jsx("option", { value: "OK", children: "Oklahoma - OK" }),
688
+ /* @__PURE__ */ jsx("option", { value: "OR", children: "Oregon - OR" }),
689
+ /* @__PURE__ */ jsx("option", { value: "PA", children: "Pennsylvania - PA" }),
690
+ /* @__PURE__ */ jsx("option", { value: "RI", children: "Rhode Island - RI" }),
691
+ /* @__PURE__ */ jsx("option", { value: "SC", children: "South Carolina - SC" }),
692
+ /* @__PURE__ */ jsx("option", { value: "SD", children: "South Dakota - SD" }),
693
+ /* @__PURE__ */ jsx("option", { value: "TN", children: "Tennessee - TN" }),
694
+ /* @__PURE__ */ jsx("option", { value: "TX", children: "Texas - TX" }),
695
+ /* @__PURE__ */ jsx("option", { value: "UT", children: "Utah - UT" }),
696
+ /* @__PURE__ */ jsx("option", { value: "VT", children: "Vermont - VT" }),
697
+ /* @__PURE__ */ jsx("option", { value: "VA", children: "Virginia - VA" }),
698
+ /* @__PURE__ */ jsx("option", { value: "WA", children: "Washington - WA" }),
699
+ /* @__PURE__ */ jsx("option", { value: "WV", children: "West Virginia - WV" }),
700
+ /* @__PURE__ */ jsx("option", { value: "WI", children: "Wisconsin - WI" }),
701
+ /* @__PURE__ */ jsx("option", { value: "WY", children: "Wyoming - WY" })
702
+ ]
703
+ }
704
+ ) }),
705
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
706
+ Input,
707
+ {
708
+ id: "Zip_Code",
709
+ ...register("Zip_Code", { required: true }),
710
+ label: "* Zip Code",
711
+ sizes: "medium",
712
+ required: true,
713
+ variant
714
+ }
715
+ ) }),
716
+ /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 5: Please select how you would like to receive our response." }) }),
717
+ /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
718
+ RadioButtonSet,
719
+ {
720
+ id: "Contact_Method",
721
+ label: "* We will contact you using the information provided above:",
722
+ sizes: "medium",
723
+ required: true,
724
+ error: !!errors.Contact_Method,
725
+ helperText: errors.Contact_Method?.message,
726
+ variant,
727
+ children: [
728
+ /* @__PURE__ */ jsx(
729
+ RadioButton,
730
+ {
731
+ ...register("Contact_Method", {}),
732
+ value: "Email",
733
+ radioText: "Email",
734
+ groupName: "Contact_Method"
735
+ }
500
736
  ),
501
- value: "No",
502
- radioText: "No",
503
- groupName: "Ever_Applied_for_Employment_with_Axos_Financial"
504
- }
505
- )
506
- ]
507
- }
508
- ) }),
509
- /* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
510
- /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 3: Where have you interacted with Axos Financial?" }),
511
- /* @__PURE__ */ jsx("div", { className: `${form} ${descriptionField({ variant })}`, children: "* Please select all that apply." })
512
- ] }),
513
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
514
- CheckboxGroup,
515
- {
516
- options: options2,
517
- selectedValues: selectedValues2,
518
- error: !!errors.Axos_Financial_interaction_outlet,
519
- onChange: handleSelectedValues2
520
- }
521
- ) }),
522
- /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 4: Please provide your contact details." }) }),
523
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
524
- Input,
525
- {
526
- id: "First_Name",
527
- ...register("First_Name", { required: true }),
528
- label: "* First Name",
529
- sizes: "medium",
530
- required: true,
531
- error: !!errors.First_Name,
532
- helperText: errors.First_Name?.message,
533
- variant
534
- }
535
- ) }),
536
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
537
- Input,
538
- {
539
- id: "Last_Name",
540
- ...register("Last_Name", { required: true }),
541
- label: "* Last Name",
542
- sizes: "medium",
543
- required: true,
544
- error: !!errors.Last_Name,
545
- helperText: errors.Last_Name?.message,
546
- variant
547
- }
548
- ) }),
549
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
550
- Input,
551
- {
552
- id: "DOB",
553
- ...register("DOB", {
554
- required: true
555
- }),
556
- type: "date",
557
- label: "* Date of Birth",
558
- sizes: "medium",
559
- placeholder: "Date of Birth",
560
- required: true,
561
- error: !!errors.DOB,
562
- helperText: errors.DOB?.message,
563
- variant
564
- }
565
- ) }),
566
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
567
- Input,
568
- {
569
- id: "email",
570
- ...register("email", {
571
- required: true,
572
- validate: {
573
- isValid: associatedEmail
737
+ /* @__PURE__ */ jsx(
738
+ RadioButton,
739
+ {
740
+ ...register("Contact_Method", {}),
741
+ value: "Postal Mail",
742
+ radioText: "Postal Mail",
743
+ groupName: "Contact_Method"
744
+ }
745
+ )
746
+ ]
574
747
  }
575
- }),
576
- label: "* Email",
577
- sizes: "medium",
578
- required: true,
579
- error: !!errors.email,
580
- helperText: errors.email?.message,
581
- variant
582
- }
583
- ) }),
584
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
585
- InputPhone,
586
- {
587
- id: "Telephone",
588
- ...register("Telephone", { required: true, maxLength: 12 }),
589
- label: "* Preferred Phone",
590
- sizes: "medium",
591
- required: true,
592
- error: !!errors.Telephone,
593
- helperText: errors.Telephone?.message,
594
- variant
595
- }
596
- ) }),
597
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
598
- Input,
599
- {
600
- id: "Street_Address",
601
- ...register("Street_Address", { required: true }),
602
- label: "* Street Address",
603
- sizes: "medium",
604
- required: true,
605
- variant
606
- }
607
- ) }),
608
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
609
- Input,
610
- {
611
- id: "City",
612
- ...register("City", { required: true }),
613
- label: "* City",
614
- sizes: "medium",
615
- required: true,
616
- variant
617
- }
618
- ) }),
619
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
620
- Dropdown,
621
- {
622
- id: "State_",
623
- ...register("State_", {
624
- required: true
625
- }),
626
- label: "* State",
627
- sizes: "medium",
628
- required: true,
629
- error: !!errors.State_,
630
- helperText: errors.State_?.message,
631
- variant,
632
- children: [
633
- /* @__PURE__ */ jsx("option", { value: "AL", children: "Alabama - AL" }),
634
- /* @__PURE__ */ jsx("option", { value: "AK", children: "Alaska - AK" }),
635
- /* @__PURE__ */ jsx("option", { value: "AZ", children: "Arizona - AZ" }),
636
- /* @__PURE__ */ jsx("option", { value: "AR", children: "Arkansas - AR" }),
637
- /* @__PURE__ */ jsx("option", { value: "CA", children: "California - CA" }),
638
- /* @__PURE__ */ jsx("option", { value: "CO", children: "Colorado - CO" }),
639
- /* @__PURE__ */ jsx("option", { value: "CT", children: "Connecticut - CT" }),
640
- /* @__PURE__ */ jsx("option", { value: "DE", children: "Delaware - DE" }),
641
- /* @__PURE__ */ jsx("option", { value: "FL", children: "Florida - FL" }),
642
- /* @__PURE__ */ jsx("option", { value: "GA", children: "Georgia - GA" }),
643
- /* @__PURE__ */ jsx("option", { value: "HI", children: "Hawaii - HI" }),
644
- /* @__PURE__ */ jsx("option", { value: "ID", children: "Idaho - ID" }),
645
- /* @__PURE__ */ jsx("option", { value: "IL", children: "Illinois - IL" }),
646
- /* @__PURE__ */ jsx("option", { value: "IN", children: "Indiana - IN" }),
647
- /* @__PURE__ */ jsx("option", { value: "IA", children: "Iowa - IA" }),
648
- /* @__PURE__ */ jsx("option", { value: "KS", children: "Kansas - KS" }),
649
- /* @__PURE__ */ jsx("option", { value: "KY", children: "Kentucky - KY" }),
650
- /* @__PURE__ */ jsx("option", { value: "LA", children: "Louisiana - LA" }),
651
- /* @__PURE__ */ jsx("option", { value: "ME", children: "Maine - ME" }),
652
- /* @__PURE__ */ jsx("option", { value: "MD", children: "Maryland - MD" }),
653
- /* @__PURE__ */ jsx("option", { value: "MA", children: "Massachusetts - MA" }),
654
- /* @__PURE__ */ jsx("option", { value: "MI", children: "Michigan - MI" }),
655
- /* @__PURE__ */ jsx("option", { value: "MN", children: "Minnesota - MN" }),
656
- /* @__PURE__ */ jsx("option", { value: "MS", children: "Mississippi - MS" }),
657
- /* @__PURE__ */ jsx("option", { value: "MO", children: "Missouri - MO" }),
658
- /* @__PURE__ */ jsx("option", { value: "MT", children: "Montana - MT" }),
659
- /* @__PURE__ */ jsx("option", { value: "NE", children: "Nebraska - NE" }),
660
- /* @__PURE__ */ jsx("option", { value: "NV", children: "Nevada - NV" }),
661
- /* @__PURE__ */ jsx("option", { value: "NH", children: "New Hampshire - NH" }),
662
- /* @__PURE__ */ jsx("option", { value: "NJ", children: "New Jersey - NJ" }),
663
- /* @__PURE__ */ jsx("option", { value: "NM", children: "New Mexico - NM" }),
664
- /* @__PURE__ */ jsx("option", { value: "NY", children: "New York - NY" }),
665
- /* @__PURE__ */ jsx("option", { value: "NC", children: "North Carolina - NC" }),
666
- /* @__PURE__ */ jsx("option", { value: "ND", children: "North Dakota - ND" }),
667
- /* @__PURE__ */ jsx("option", { value: "OH", children: "Ohio - OH" }),
668
- /* @__PURE__ */ jsx("option", { value: "OK", children: "Oklahoma - OK" }),
669
- /* @__PURE__ */ jsx("option", { value: "OR", children: "Oregon - OR" }),
670
- /* @__PURE__ */ jsx("option", { value: "PA", children: "Pennsylvania - PA" }),
671
- /* @__PURE__ */ jsx("option", { value: "RI", children: "Rhode Island - RI" }),
672
- /* @__PURE__ */ jsx("option", { value: "SC", children: "South Carolina - SC" }),
673
- /* @__PURE__ */ jsx("option", { value: "SD", children: "South Dakota - SD" }),
674
- /* @__PURE__ */ jsx("option", { value: "TN", children: "Tennessee - TN" }),
675
- /* @__PURE__ */ jsx("option", { value: "TX", children: "Texas - TX" }),
676
- /* @__PURE__ */ jsx("option", { value: "UT", children: "Utah - UT" }),
677
- /* @__PURE__ */ jsx("option", { value: "VT", children: "Vermont - VT" }),
678
- /* @__PURE__ */ jsx("option", { value: "VA", children: "Virginia - VA" }),
679
- /* @__PURE__ */ jsx("option", { value: "WA", children: "Washington - WA" }),
680
- /* @__PURE__ */ jsx("option", { value: "WV", children: "West Virginia - WV" }),
681
- /* @__PURE__ */ jsx("option", { value: "WI", children: "Wisconsin - WI" }),
682
- /* @__PURE__ */ jsx("option", { value: "WY", children: "Wyoming - WY" })
683
- ]
684
- }
685
- ) }),
686
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsx(
687
- Input,
688
- {
689
- id: "Zip_Code",
690
- ...register("Zip_Code", { required: true }),
691
- label: "* Zip Code",
692
- sizes: "medium",
693
- required: true,
694
- variant
695
- }
696
- ) }),
697
- /* @__PURE__ */ jsx("div", { className: `${headerContainer} ${fullRowForm}`, children: /* @__PURE__ */ jsx("h2", { className: `header_2 ${descriptionField({ variant })}`, children: "Step 5: Please select how you would like to receive our response." }) }),
698
- /* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
699
- RadioButtonSet,
700
- {
701
- id: "Contact_Method",
702
- label: "* We will contact you using the information provided above:",
703
- sizes: "medium",
704
- required: true,
705
- error: !!errors.Contact_Method,
706
- helperText: errors.Contact_Method?.message,
707
- variant,
708
- children: [
709
- /* @__PURE__ */ jsx(
710
- RadioButton,
711
- {
712
- ...register("Contact_Method", {}),
713
- value: "Email",
714
- radioText: "Email",
715
- groupName: "Contact_Method"
716
- }
717
- ),
718
- /* @__PURE__ */ jsx(
719
- RadioButton,
720
- {
721
- ...register("Contact_Method", {}),
722
- value: "Postal Mail",
723
- radioText: "Postal Mail",
724
- groupName: "Contact_Method"
725
- }
726
- )
727
- ]
728
- }
729
- ) })
730
- ] }),
731
- children,
732
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
733
- /* @__PURE__ */ jsx("div", { className: `${headerContainer}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
734
- "For additional questions or concerns, please",
735
- " ",
736
- /* @__PURE__ */ jsx("a", { href: findMoreAxosDomains("{ONLINEBANKING}/Messages/Inbox"), children: "log in to online banking" }),
737
- " ",
738
- "and send us a secure message."
739
- ] }) }),
740
- /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
741
- Button,
742
- {
743
- color: getVariant(callToAction?.variant),
744
- as: "button",
745
- type: "submit",
746
- disabled: !isValid || isSubmitting,
747
- children: callToAction?.displayText
748
- }
749
- ) }),
750
- /* @__PURE__ */ jsx("div", { className: `${headerContainer}`, children: /* @__PURE__ */ jsx(
751
- "div",
752
- {
753
- id: "test",
754
- className: `${form} ${descriptionField({ variant })}`,
755
- children: "* = Required Field"
756
- }
757
- ) })
758
- ] })
748
+ ) }),
749
+ /* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
750
+ ] }),
751
+ children,
752
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
753
+ /* @__PURE__ */ jsx("div", { className: `${headerContainer}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
754
+ "For additional questions or concerns, please",
755
+ " ",
756
+ /* @__PURE__ */ jsx("a", { href: findMoreAxosDomains("{ONLINEBANKING}/Messages/Inbox"), children: "log in to online banking" }),
757
+ " ",
758
+ "and send us a secure message."
759
+ ] }) }),
760
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
761
+ Button,
762
+ {
763
+ color: getVariant(callToAction?.variant),
764
+ as: "button",
765
+ type: "submit",
766
+ disabled: !isValid || isSubmitting,
767
+ children: callToAction?.displayText
768
+ }
769
+ ) }),
770
+ /* @__PURE__ */ jsx("div", { className: `${headerContainer}`, children: /* @__PURE__ */ jsx(
771
+ "div",
772
+ {
773
+ id: "test",
774
+ className: `${form} ${descriptionField({ variant })}`,
775
+ children: "* = Required Field"
776
+ }
777
+ ) })
778
+ ]
779
+ }
780
+ )
759
781
  ] }) }) }, id);
760
782
  };
761
783
  export {