bhl-forms 0.11.10 → 0.11.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.
Files changed (98) hide show
  1. package/dist/forms/accidentsAndInjuries.es.js +28 -2
  2. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  3. package/dist/forms/applianceRepairMinimal.es.js +27 -2
  4. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  5. package/dist/forms/appraisals.es.js +27 -2
  6. package/dist/forms/appraisals.iife.js +1 -1
  7. package/dist/forms/business.es.js +28 -2
  8. package/dist/forms/business.iife.js +1 -1
  9. package/dist/forms/childAndFamily.es.js +28 -2
  10. package/dist/forms/childAndFamily.iife.js +1 -1
  11. package/dist/forms/childAndFamilySingle.es.js +153 -81
  12. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  13. package/dist/forms/childAndFamilySingle.json +1 -1
  14. package/dist/forms/civilLawsuit.es.js +231 -82
  15. package/dist/forms/civilLawsuit.iife.js +1 -1
  16. package/dist/forms/civilLawsuit.json +1 -1
  17. package/dist/forms/civilLawsuit1to1.es.js +2599 -0
  18. package/dist/forms/civilLawsuit1to1.iife.js +1 -0
  19. package/dist/forms/civilLawsuit1to1.json +1 -0
  20. package/dist/forms/coins.es.js +27 -2
  21. package/dist/forms/coins.iife.js +1 -1
  22. package/dist/forms/contracts.es.js +28 -2
  23. package/dist/forms/contracts.iife.js +1 -1
  24. package/dist/forms/criminal.es.js +28 -2
  25. package/dist/forms/criminal.iife.js +1 -1
  26. package/dist/forms/divorce.es.js +28 -2
  27. package/dist/forms/divorce.iife.js +1 -1
  28. package/dist/forms/employmentAndWorkplace.es.js +138 -64
  29. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  30. package/dist/forms/employmentAndWorkplace.json +1 -1
  31. package/dist/forms/foreclosure.es.js +28 -2
  32. package/dist/forms/foreclosure.iife.js +1 -1
  33. package/dist/forms/generalContractors.es.js +27 -2
  34. package/dist/forms/generalContractors.iife.js +1 -1
  35. package/dist/forms/generalHomeImprovement.es.js +27 -2
  36. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  37. package/dist/forms/generalHomeImprovementThankYou.es.js +27 -2
  38. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  39. package/dist/forms/generalLegal.es.js +30 -2
  40. package/dist/forms/generalLegal.iife.js +1 -1
  41. package/dist/forms/generalLegal.json +1 -1
  42. package/dist/forms/generalLegalJustAnswer.es.js +166 -91
  43. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  44. package/dist/forms/generalLegalJustAnswer.json +1 -1
  45. package/dist/forms/generalLegalPopUnder.es.js +30 -2
  46. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  47. package/dist/forms/generalLegalPopUnder.json +1 -1
  48. package/dist/forms/generalLegalPopUnderSingle.es.js +166 -91
  49. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  50. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  51. package/dist/forms/generalLegalSingle.es.js +166 -91
  52. package/dist/forms/generalLegalSingle.iife.js +1 -1
  53. package/dist/forms/generalLegalSingle.json +1 -1
  54. package/dist/forms/generalLegalSingle1to1.es.js +30 -3
  55. package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
  56. package/dist/forms/generalLegalSingle1to1.json +1 -1
  57. package/dist/forms/generalLegalSingleMinimal.es.js +28 -3
  58. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
  59. package/dist/forms/generalLegalSingleMinimal.json +1 -1
  60. package/dist/forms/generalLegalThankYou.es.js +30 -2
  61. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  62. package/dist/forms/generalLegalThankYou.json +1 -1
  63. package/dist/forms/generalLegalThankYouConsultation.es.js +166 -91
  64. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  65. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  66. package/dist/forms/harassmentAndDiscrimination.es.js +319 -155
  67. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  68. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  69. package/dist/forms/landlordTenant.es.js +28 -2
  70. package/dist/forms/landlordTenant.iife.js +1 -1
  71. package/dist/forms/malpractice.es.js +28 -2
  72. package/dist/forms/malpractice.iife.js +1 -1
  73. package/dist/forms/mechanics.es.js +27 -2
  74. package/dist/forms/mechanics.iife.js +1 -1
  75. package/dist/forms/patentsAndIP.es.js +29 -3
  76. package/dist/forms/patentsAndIP.iife.js +1 -1
  77. package/dist/forms/patentsAndIP.json +1 -1
  78. package/dist/forms/realEstate.es.js +28 -2
  79. package/dist/forms/realEstate.iife.js +1 -1
  80. package/dist/forms/repossession.es.js +28 -2
  81. package/dist/forms/repossession.iife.js +1 -1
  82. package/dist/forms/ssdi.es.js +28 -2
  83. package/dist/forms/ssdi.iife.js +1 -1
  84. package/dist/forms/testForm.es.js +27 -2
  85. package/dist/forms/testForm.iife.js +1 -1
  86. package/dist/forms/testRedirects.es.js +29 -2
  87. package/dist/forms/testRedirects.iife.js +1 -1
  88. package/dist/forms/testRedirects.json +1 -1
  89. package/dist/forms/vets.es.js +27 -2
  90. package/dist/forms/vets.iife.js +1 -1
  91. package/dist/forms/willsAndTrusts.es.js +382 -161
  92. package/dist/forms/willsAndTrusts.iife.js +1 -1
  93. package/dist/forms/willsAndTrusts.json +1 -1
  94. package/dist/forms/windows.es.js +27 -2
  95. package/dist/forms/windows.iife.js +1 -1
  96. package/dist/forms/workersCompensation.es.js +28 -2
  97. package/dist/forms/workersCompensation.iife.js +1 -1
  98. package/package.json +1 -1
@@ -383,14 +383,11 @@ const verticalDate = (updates) => {
383
383
  return date(updates)
384
384
  };
385
385
 
386
- const email = (scope, vertical, updates = {}) => {
387
- const func = vertical ? verticalText : sbsText;
388
- const label = vertical ? updates.label : "Email Address:";
389
- return func({
390
- $formkit: "email",
386
+ const emailFL = (scope, updates = {}) => {
387
+ return text({
388
+ $formkit: "FloatingLabelText",
391
389
  name: scope ? scope + ":" + "Email" : "Email",
392
- label,
393
- placeholder: "email@domain.com",
390
+ placeholder: "Email Address",
394
391
  autocomplete: "email",
395
392
  "data-tf-sensitive": "false",
396
393
  validation: "required|email",
@@ -398,59 +395,72 @@ const email = (scope, vertical, updates = {}) => {
398
395
  required: "Email is required",
399
396
  email: "Invalid Email",
400
397
  },
398
+ inputClass: "t-text-center",
399
+ wrapperClass: "t-flex t-justify-center",
401
400
  ...updates,
402
401
  })
403
402
  };
404
403
 
405
- const firstName = (scope, vertical, updates = {}) => {
406
- const func = vertical ? verticalText : sbsText;
407
- const label = vertical ? updates.label : "First Name:";
408
- return func({
409
- label,
404
+ const firstNameFL = (scope, updates = {}) => {
405
+ return text({
406
+ $formkit: "FloatingLabelText",
410
407
  placeholder: "First Name",
411
408
  name: scope ? scope + ":" + "First_Name" : "First_Name",
412
409
  autocomplete: "given-name",
413
410
  validationMessages: {
414
411
  required: "First Name is required",
415
412
  },
413
+ inputClass: "t-text-center",
416
414
  ...updates,
417
415
  })
418
416
  };
419
417
 
420
- const lastName = (scope, vertical, updates = {}) => {
421
- const func = vertical ? verticalText : sbsText;
422
- const label = vertical ? updates.label : "Last Name:";
423
- return func({
424
- label,
418
+ const lastNameFL = (scope, updates = {}) => {
419
+ return text({
420
+ $formkit: "FloatingLabelText",
425
421
  placeholder: "Last Name",
426
422
  name: scope ? scope + ":" + "Last_Name" : "Last_Name",
427
423
  autocomplete: "family-name",
428
424
  validationMessages: {
429
425
  required: "Last Name is required",
430
426
  },
427
+ inputClass: "t-text-center",
431
428
  ...updates,
432
429
  })
433
430
  };
434
431
 
435
- const phone = (scope, vertical, updates = {}) => {
436
- const func = vertical ? verticalText : sbsText;
437
- const label = vertical ? updates.label : "Phone Number:";
438
- return func({
439
- $formkit: "tel",
432
+ const fullNameFLMobileCol = (scope, updates = {}) => {
433
+ return {
434
+ $el: "div",
435
+ attrs: {
436
+ class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
437
+ },
438
+ children: [
439
+ firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
440
+ lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
441
+ ],
442
+ }
443
+ };
444
+
445
+ const phoneFL = (scope, updates = {}) => {
446
+ return text({
447
+ $formkit: "FloatingLabelText",
448
+ datatype: "tel",
440
449
  name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
441
- label,
442
- placeholder: updates.placeholder || "###-###-####",
443
- maxlength: 12,
444
- help: updates.help || "10-digit phone number, hyphens optional",
450
+ placeholder: updates.placeholder || "Phone Number",
451
+ maxlength: 14,
452
+ help: updates.help || null,
445
453
  autocomplete: "tel-national",
446
454
  "data-tf-sensitive": "false",
447
- validation: "required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",
455
+ validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
448
456
  validationMessages: {
449
457
  required: "Phone Number is required",
450
- matches: "Invalid Phone Format, use ###-###-####",
458
+ matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
451
459
  valid_phone: "Invalid Phone Number",
452
460
  },
453
461
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
462
+ inputClass: "t-text-center",
463
+ wrapperClass: "t-flex t-justify-center",
454
464
  ...updates,
455
465
  })
456
466
  };
@@ -1287,10 +1297,12 @@ const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
1287
1297
  const employmentAndWorkplaceTOLPDisplay$1 = (scope, vertical, updates = {}) => {
1288
1298
  const func = vertical ? col2RadioCenter : col2Radio;
1289
1299
  const label = vertical ? updates.label : "Select The Workplace Issue:";
1300
+ const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"';
1290
1301
  return func(
1291
1302
  merge(
1292
1303
  {
1293
1304
  label,
1305
+ if: _if,
1294
1306
  name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
1295
1307
  options: [
1296
1308
  "Workplace Harassment",
@@ -2516,6 +2528,24 @@ function secureIcon(updates = {}) {
2516
2528
  return merge(secureIconDefault, updates)
2517
2529
  }
2518
2530
 
2531
+ function secureIconStandalone(updates = {}) {
2532
+ return {
2533
+ if: "$activeStep === $lastStep()",
2534
+ style: {
2535
+ if: "$activeStep !== $lastStep()",
2536
+ then: "display: none;",
2537
+ },
2538
+ children: [
2539
+ secureIcon({
2540
+ attrs: {
2541
+ class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
2542
+ },
2543
+ ...updates,
2544
+ }),
2545
+ ],
2546
+ }
2547
+ }
2548
+
2519
2549
  function crossSellQuestionsStepHeadline(updates) {
2520
2550
  return {
2521
2551
  $el: "h3",
@@ -2549,19 +2579,6 @@ function verticalStepHeadline(updates) {
2549
2579
  }
2550
2580
  }
2551
2581
 
2552
- function verticalStepSubHeadline(updates) {
2553
- return {
2554
- $el: "h5",
2555
- children: updates.subheadline || "",
2556
- attrs: {
2557
- class:
2558
- "t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1" +
2559
- " " +
2560
- (updates.subheadlineClass || ""),
2561
- },
2562
- }
2563
- }
2564
-
2565
2582
  function commentsStepHeadline(updates) {
2566
2583
  return {
2567
2584
  $el: "h3",
@@ -2731,6 +2748,7 @@ function commentsWithBankruptcy(updates = {}) {
2731
2748
  comments(updates.scope, false, {
2732
2749
  label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
2733
2750
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
2751
+ // TODO: this is a mess
2734
2752
  inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
2735
2753
  }),
2736
2754
  // TODO: needs scope support
@@ -2751,23 +2769,40 @@ function commentsWithBankruptcy(updates = {}) {
2751
2769
  )
2752
2770
  }
2753
2771
 
2754
- function contactInfo(updates = {}) {
2772
+ function contactInfoV2(updates = {}) {
2755
2773
  return step(
2756
2774
  "contactInfo",
2757
2775
  [
2758
2776
  contactStepHeadline(updates),
2759
2777
  contactStepSubHeadline(updates),
2760
2778
  trustedFormScript(),
2761
- email(updates.scope),
2762
- phone(updates.scope),
2763
- TCPAConsent(updates.scope),
2764
- secureIcon(),
2779
+ {
2780
+ $el: "div",
2781
+ attrs: {
2782
+ class: "t-flex t-flex-col t-justify-center t-items-center",
2783
+ },
2784
+ children: [
2785
+ emailFL(updates.scope, {
2786
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
2787
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
2788
+ }),
2789
+ phoneFL(updates.scope, {
2790
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
2791
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
2792
+ }),
2793
+ ],
2794
+ },
2795
+ TCPAConsent(updates.scope, {
2796
+ outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
2797
+ wrapperClass: "t-w-[95%] sm:t-w-[80%]",
2798
+ messagesClass: "t-w-[95%] sm:t-w-[80%]",
2799
+ }),
2765
2800
  ],
2766
2801
  { nextOnEnter: false }
2767
2802
  )
2768
2803
  }
2769
2804
 
2770
- function firstAndLastV3(updates = {}) {
2805
+ function firstAndLastV4(updates = {}) {
2771
2806
  return step(
2772
2807
  "firstAndLast",
2773
2808
  [
@@ -2775,12 +2810,13 @@ function firstAndLastV3(updates = {}) {
2775
2810
  headline: updates.headline ?? "Who is looking for help?",
2776
2811
  headlineClass: updates.headlineClass,
2777
2812
  }),
2778
- verticalStepSubHeadline({
2779
- subheadline: updates.subheadline ?? "We never share info without consent",
2780
- subheadlineClass: "!t-text-sm !t-text-gray-500",
2781
- }),
2782
- firstName(updates.scope),
2783
- lastName(updates.scope),
2813
+ {
2814
+ $el: "div",
2815
+ attrs: {
2816
+ class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
2817
+ },
2818
+ children: [fullNameFLMobileCol(updates.scope)],
2819
+ },
2784
2820
  ],
2785
2821
  updates
2786
2822
  )
@@ -3164,7 +3200,7 @@ function businessServices(updates = {}) {
3164
3200
  return sqstep(
3165
3201
  "businessServices",
3166
3202
  businessServices$1(updates.scope, true, updates.input),
3167
- "What legal services do you need?",
3203
+ "What area of law do you need?",
3168
3204
  updates
3169
3205
  )
3170
3206
  }
@@ -3670,13 +3706,17 @@ function criminalChargesFiled(updates = {}) {
3670
3706
  )
3671
3707
  }
3672
3708
 
3673
- const formNavigation = (updates = {}) => ({
3709
+ const formNavigationNoFinalBack = (updates = {}) => ({
3674
3710
  $el: "div",
3675
3711
  attrs: {
3676
3712
  class: {
3677
3713
  if: "$activeStep === $firstStep()",
3678
3714
  then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
3679
- else: "step-nav !t-justify-between",
3715
+ else: {
3716
+ if: "$activeStep === $lastStep()",
3717
+ then: "step-nav !t-justify-center ",
3718
+ else: "step-nav !t-justify-between",
3719
+ },
3680
3720
  },
3681
3721
  },
3682
3722
  children: [
@@ -3686,12 +3726,12 @@ const formNavigation = (updates = {}) => ({
3686
3726
  onClick: "$setPreviousStep($prevStepFunc($get(form)))",
3687
3727
  children: "Back",
3688
3728
  outerClass: {
3689
- if: "$activeStep === $firstStep()",
3729
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
3690
3730
  then: "t-hidden sm:t-block",
3691
3731
  else: "",
3692
3732
  },
3693
3733
  style: {
3694
- if: "$activeStep === $firstStep()",
3734
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
3695
3735
  then: "display: none;",
3696
3736
  },
3697
3737
  classes: {
@@ -3730,7 +3770,8 @@ const formNavigation = (updates = {}) => ({
3730
3770
  then: "display: none;",
3731
3771
  },
3732
3772
  classes: {
3733
- input: (updates.inputClass || "") + " !t-ml-2 sm:!t-ml-auto f-navigation-input",
3773
+ input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
3774
+ outer: "!t-mt-0 !t-mb-0",
3734
3775
  },
3735
3776
  },
3736
3777
  ],
@@ -4590,7 +4631,7 @@ const nextStepsMapGeneralLegal = {
4590
4631
  "estateLegalServicesNeeded",
4591
4632
  ...nextStepsLegalDefault,
4592
4633
  ],
4593
- "Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
4634
+ "Property Damage": ["wouldLikeLawyerTo", ...nextStepsLegalDefault],
4594
4635
  "Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
4595
4636
  "Social Security Disability and Insurance": [
4596
4637
  "applicantAge",
@@ -4723,7 +4764,7 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
4723
4764
  },
4724
4765
  });
4725
4766
 
4726
- ({
4767
+ const nextStepsMapCivilTolp = {
4727
4768
  values: {
4728
4769
  Type_Of_Legal_Problem: {
4729
4770
  "Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
@@ -4731,6 +4772,10 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
4731
4772
  },
4732
4773
  "*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
4733
4774
  },
4775
+ };
4776
+
4777
+ filterNextStepsMap(nextStepsMapCivilTolp, ["legalCrossSells"], {
4778
+ commentsWithBankruptcy: "comments",
4734
4779
  });
4735
4780
 
4736
4781
  const nextStepsMapCivilTOLPDisplay = {
@@ -4802,6 +4847,27 @@ filterNextStepsMap(
4802
4847
  },
4803
4848
  });
4804
4849
 
4850
+ ({
4851
+ values: {
4852
+ Type_Of_Legal_Problem: {
4853
+ "Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
4854
+ "Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
4855
+ },
4856
+ "*": [...nextStepsLegalDefault],
4857
+ },
4858
+ });
4859
+
4860
+ ({
4861
+ values: {
4862
+ Type_Of_Legal_Problem: {
4863
+ "Probate and Estates": TOLPNextSteps["Probate and Estates"],
4864
+ "Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
4865
+ "Wrongful Death": TOLPNextSteps["Wrongful Death"],
4866
+ },
4867
+ "*": [...nextStepsLegalDefault],
4868
+ },
4869
+ });
4870
+
4805
4871
  ({
4806
4872
  values: {
4807
4873
  Type_Of_Legal_Problem_Display: {
@@ -4868,7 +4934,7 @@ meta.data.dynamicSchema = [
4868
4934
  applicantLTDisabilityPolicy(),
4869
4935
  applicantMonthlySalary(),
4870
4936
  applicantOccupation({
4871
- nextOnInput: false
4937
+ nextOnInput: false,
4872
4938
  }),
4873
4939
  applicantPreviouslyAppliedLtdBenefits(),
4874
4940
  applicantReceivedDisabilityBenefits(),
@@ -4882,19 +4948,19 @@ meta.data.dynamicSchema = [
4882
4948
  childPrimaryCaregiver(),
4883
4949
  childRelationship(),
4884
4950
  civilLawsuitTOLPDisplay({
4885
- nextStepMap: nextStepsMapCivilTOLPDisplay
4951
+ nextStepMap: nextStepsMapCivilTOLPDisplay,
4886
4952
  }),
4887
4953
  civilRightsType(),
4888
4954
  claimStatus(),
4889
4955
  consumerLawyerType(),
4890
4956
  countryOfCitizenship(),
4891
4957
  crimeCommittedDate({
4892
- nextOnInput: false
4958
+ nextOnInput: false,
4893
4959
  }),
4894
4960
  criminalChargeType(),
4895
4961
  criminalChargesFiled(),
4896
4962
  criminalTOLPDisplay({
4897
- nextStepMap: nextStepsMapCriminalTOLPDisplay
4963
+ nextStepMap: nextStepsMapCriminalTOLPDisplay,
4898
4964
  }),
4899
4965
  defaultNotice(),
4900
4966
  degreeOfInterest(),
@@ -4906,7 +4972,7 @@ meta.data.dynamicSchema = [
4906
4972
  employerType(),
4907
4973
  employeeAtCompany(),
4908
4974
  employmentAndWorkplaceTOLPDisplay({
4909
- nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay
4975
+ nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
4910
4976
  }),
4911
4977
  haveAttorney(),
4912
4978
  haveChildren(),
@@ -4917,7 +4983,7 @@ meta.data.dynamicSchema = [
4917
4983
  immigrationStatus(),
4918
4984
  immigrationType(),
4919
4985
  incidentDate({
4920
- nextOnInput: false
4986
+ nextOnInput: false,
4921
4987
  }),
4922
4988
  landlordTenantIssue(),
4923
4989
  landlordTenantParty(),
@@ -4936,7 +5002,7 @@ meta.data.dynamicSchema = [
4936
5002
  priorAlcoholOffenses(),
4937
5003
  realEstateArea(),
4938
5004
  realEstateTOLPDisplay({
4939
- nextStepMap: nextStepsMapRealEstateTOLPDisplay
5005
+ nextStepMap: nextStepsMapRealEstateTOLPDisplay,
4940
5006
  }),
4941
5007
  relationshipToVictim(),
4942
5008
  roleInMatterCriminal(),
@@ -4957,14 +5023,13 @@ meta.data.dynamicSchema = [
4957
5023
  veteransDisabilityInjured(),
4958
5024
  veteransDisabilityRelationship(),
4959
5025
  wouldLikeLawyerTo(),
4960
- zipcode(),
4961
5026
  commentsWithBankruptcy({
4962
5027
  label: null,
4963
- headline: 'Please briefly describe your situation:',
4964
- headlineClass: '!t-text-dark',
5028
+ headline: "Please briefly describe your situation:",
5029
+ headlineClass: "!t-text-dark",
4965
5030
  }),
4966
5031
  legalCrossSells({
4967
- headlineClass: '!t-text-dark',
5032
+ headlineClass: "!t-text-dark",
4968
5033
  nextStepMap: nextStepsMapLegalCrossSells,
4969
5034
  }),
4970
5035
  autoAndCarAccidentCrossSellQuestions(),
@@ -4976,8 +5041,8 @@ meta.data.dynamicSchema = [
4976
5041
  willsAndTrustsCrossSellQuestions(),
4977
5042
  divorceAndSeparationCrossSellQuestions(),
4978
5043
  childCustodyCrossSellQuestions(),
4979
- firstAndLastV3({
4980
- headlineClass: '!t-text-dark'
5044
+ firstAndLastV4({
5045
+ headlineClass: "!t-text-dark",
4981
5046
  }),
4982
5047
  ];
4983
5048
 
@@ -4985,44 +5050,54 @@ const schema = [
4985
5050
  meta,
4986
5051
  formAnchor(),
4987
5052
  {
4988
- $cmp: 'FormKit',
5053
+ $cmp: "FormKit",
4989
5054
  props: formProps({
4990
- formId: 'generalLegalSingle',
5055
+ formId: "generalLegalSingle",
4991
5056
  redirectMap: legalRedirectMap(),
4992
5057
  valueOverrideMap: legalAllValueOverrideMap,
4993
- crossSellOptionMap: legalCrossSellOptionMap
5058
+ crossSellOptionMap: legalCrossSellOptionMap,
4994
5059
  }),
4995
5060
  children: [
4996
5061
  progressBar(),
4997
5062
  headline({
4998
5063
  children: '$urlParam("hl", "Need Legal Help? Start Here!")',
4999
- if: '$activeStep === $firstStep()'
5064
+ if: "$activeStep === $firstStep()",
5000
5065
  }),
5001
5066
  defaultSubHeadline(),
5002
5067
  ...hiddenInputsLegal,
5003
5068
  {
5004
- $el: 'div',
5069
+ $el: "div",
5005
5070
  attrs: {
5006
- class: 'form-body'
5071
+ class: "form-body",
5007
5072
  },
5008
5073
  children: [
5009
5074
  generalTOLP({
5010
5075
  nextOnInput: false,
5011
5076
  nextStepMap: nextStepsMapGeneralLegal,
5012
- headlineClass: 't-text-lg',
5077
+ headlineClass: "t-text-lg",
5013
5078
  input: {
5014
- placeholder: 'Select a Category',
5015
- innerClass: '!t-max-w-[275px] md:!t-max-w-xl'
5016
- }
5079
+ placeholder: "Select a Category",
5080
+ innerClass: "!t-max-w-[275px] md:!t-max-w-xl",
5081
+ inputClass: "t-text-center",
5082
+ },
5017
5083
  }),
5018
5084
  dynamicSchemaNode(),
5019
- contactInfo(),
5020
- formNavigation(),
5021
- formDetails()
5022
- ]
5023
- }
5024
- ]
5025
- }
5085
+ zipcode(),
5086
+ contactInfoV2({
5087
+ subheadlineClass: "!t-text-base",
5088
+ }),
5089
+ formNavigationNoFinalBack({
5090
+ startText: "Start Now",
5091
+ submitLabel: "Get Help Now",
5092
+ inputClass: "!t-font-extrabold",
5093
+ firstStepButtonClass: "!t-justify-center",
5094
+ }),
5095
+ secureIconStandalone(),
5096
+ formDetails(),
5097
+ ],
5098
+ },
5099
+ ],
5100
+ },
5026
5101
  ];
5027
5102
 
5028
5103
  const formKitNode = schema.find(item => item.$cmp === "FormKit");