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
@@ -372,14 +372,11 @@ const verticalDate = (updates) => {
372
372
  return date(updates)
373
373
  };
374
374
 
375
- const email = (scope, vertical, updates = {}) => {
376
- const func = vertical ? verticalText : sbsText;
377
- const label = vertical ? updates.label : "Email Address:";
378
- return func({
379
- $formkit: "email",
375
+ const emailFL = (scope, updates = {}) => {
376
+ return text({
377
+ $formkit: "FloatingLabelText",
380
378
  name: scope ? scope + ":" + "Email" : "Email",
381
- label,
382
- placeholder: "email@domain.com",
379
+ placeholder: "Email Address",
383
380
  autocomplete: "email",
384
381
  "data-tf-sensitive": "false",
385
382
  validation: "required|email",
@@ -387,59 +384,72 @@ const email = (scope, vertical, updates = {}) => {
387
384
  required: "Email is required",
388
385
  email: "Invalid Email",
389
386
  },
387
+ inputClass: "t-text-center",
388
+ wrapperClass: "t-flex t-justify-center",
390
389
  ...updates,
391
390
  })
392
391
  };
393
392
 
394
- const firstName = (scope, vertical, updates = {}) => {
395
- const func = vertical ? verticalText : sbsText;
396
- const label = vertical ? updates.label : "First Name:";
397
- return func({
398
- label,
393
+ const firstNameFL = (scope, updates = {}) => {
394
+ return text({
395
+ $formkit: "FloatingLabelText",
399
396
  placeholder: "First Name",
400
397
  name: scope ? scope + ":" + "First_Name" : "First_Name",
401
398
  autocomplete: "given-name",
402
399
  validationMessages: {
403
400
  required: "First Name is required",
404
401
  },
402
+ inputClass: "t-text-center",
405
403
  ...updates,
406
404
  })
407
405
  };
408
406
 
409
- const lastName = (scope, vertical, updates = {}) => {
410
- const func = vertical ? verticalText : sbsText;
411
- const label = vertical ? updates.label : "Last Name:";
412
- return func({
413
- label,
407
+ const lastNameFL = (scope, updates = {}) => {
408
+ return text({
409
+ $formkit: "FloatingLabelText",
414
410
  placeholder: "Last Name",
415
411
  name: scope ? scope + ":" + "Last_Name" : "Last_Name",
416
412
  autocomplete: "family-name",
417
413
  validationMessages: {
418
414
  required: "Last Name is required",
419
415
  },
416
+ inputClass: "t-text-center",
420
417
  ...updates,
421
418
  })
422
419
  };
423
420
 
424
- const phone = (scope, vertical, updates = {}) => {
425
- const func = vertical ? verticalText : sbsText;
426
- const label = vertical ? updates.label : "Phone Number:";
427
- return func({
428
- $formkit: "tel",
421
+ const fullNameFLMobileCol = (scope, updates = {}) => {
422
+ return {
423
+ $el: "div",
424
+ attrs: {
425
+ 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%]",
426
+ },
427
+ children: [
428
+ firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
429
+ lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
430
+ ],
431
+ }
432
+ };
433
+
434
+ const phoneFL = (scope, updates = {}) => {
435
+ return text({
436
+ $formkit: "FloatingLabelText",
437
+ datatype: "tel",
429
438
  name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
430
- label,
431
- placeholder: updates.placeholder || "###-###-####",
432
- maxlength: 12,
433
- help: updates.help || "10-digit phone number, hyphens optional",
439
+ placeholder: updates.placeholder || "Phone Number",
440
+ maxlength: 14,
441
+ help: updates.help || null,
434
442
  autocomplete: "tel-national",
435
443
  "data-tf-sensitive": "false",
436
- validation: "required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",
444
+ validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
437
445
  validationMessages: {
438
446
  required: "Phone Number is required",
439
- matches: "Invalid Phone Format, use ###-###-####",
447
+ matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
440
448
  valid_phone: "Invalid Phone Number",
441
449
  },
442
450
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
451
+ inputClass: "t-text-center",
452
+ wrapperClass: "t-flex t-justify-center",
443
453
  ...updates,
444
454
  })
445
455
  };
@@ -850,6 +860,32 @@ const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
850
860
  )
851
861
  };
852
862
 
863
+ const employmentAndWorkplaceTOLPDisplay$1 = (scope, vertical, updates = {}) => {
864
+ const func = vertical ? col2RadioCenter : col2Radio;
865
+ const label = vertical ? updates.label : "Select The Workplace Issue:";
866
+ const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"';
867
+ return func(
868
+ merge(
869
+ {
870
+ label,
871
+ if: _if,
872
+ name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
873
+ options: [
874
+ "Workplace Harassment",
875
+ "Workplace Discrimination",
876
+ "Wrongful Termination",
877
+ "Payment Disputes",
878
+ "Workers Compensation",
879
+ "Personal Injury",
880
+ "Unemployment",
881
+ "Other Workplace Issues",
882
+ ],
883
+ },
884
+ updates
885
+ )
886
+ )
887
+ };
888
+
853
889
  const estateLegalServicesNeeded = (scope, vertical, updates = {}) => {
854
890
  const func = vertical ? col2RadioCenter : sbsSelect;
855
891
  const label = vertical ? updates.label : "Legal Services Needed for Your Estate:";
@@ -1118,6 +1154,33 @@ const realEstateArea$1 = (scope, vertical, updates = {}) => {
1118
1154
  )
1119
1155
  };
1120
1156
 
1157
+ const realEstateTOLPDisplay$1 = (scope, vertical, updates = {}) => {
1158
+ const func = vertical ? col2RadioCenter : col2Radio;
1159
+ const label = vertical ? updates.label : "Select The Real Estate Issue:";
1160
+ const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Real Estate"';
1161
+ return func(
1162
+ merge(
1163
+ {
1164
+ label,
1165
+ if: _if,
1166
+ name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
1167
+ options: [
1168
+ "Contracts and Agreements",
1169
+ "Deeds, Liens, and Titles",
1170
+ "Foreclosure",
1171
+ "Insurance",
1172
+ "Landlord and Tenant",
1173
+ "Loans and Mortgages",
1174
+ "Wills, Trusts, and Estates",
1175
+ "Property Damage",
1176
+ "Not Sure or Other",
1177
+ ],
1178
+ },
1179
+ updates
1180
+ )
1181
+ )
1182
+ };
1183
+
1121
1184
  const roleInMatterProbate = (scope, vertical, updates = {}) => {
1122
1185
  const func = vertical ? col2RadioCenter : sbsSelect;
1123
1186
  const label = vertical ? updates.label : "What is Your Role in this Matter?";
@@ -1437,6 +1500,24 @@ function secureIcon(updates = {}) {
1437
1500
  return merge(secureIconDefault, updates)
1438
1501
  }
1439
1502
 
1503
+ function secureIconStandalone(updates = {}) {
1504
+ return {
1505
+ if: "$activeStep === $lastStep()",
1506
+ style: {
1507
+ if: "$activeStep !== $lastStep()",
1508
+ then: "display: none;",
1509
+ },
1510
+ children: [
1511
+ secureIcon({
1512
+ attrs: {
1513
+ class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
1514
+ },
1515
+ ...updates,
1516
+ }),
1517
+ ],
1518
+ }
1519
+ }
1520
+
1440
1521
  function crossSellQuestionsStepHeadline(updates) {
1441
1522
  return {
1442
1523
  $el: "h3",
@@ -1470,19 +1551,6 @@ function verticalStepHeadline(updates) {
1470
1551
  }
1471
1552
  }
1472
1553
 
1473
- function verticalStepSubHeadline(updates) {
1474
- return {
1475
- $el: "h5",
1476
- children: updates.subheadline || "",
1477
- attrs: {
1478
- class:
1479
- "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" +
1480
- " " +
1481
- (updates.subheadlineClass || ""),
1482
- },
1483
- }
1484
- }
1485
-
1486
1554
  function commentsStepHeadline(updates) {
1487
1555
  return {
1488
1556
  $el: "h3",
@@ -1652,6 +1720,7 @@ function commentsWithBankruptcy(updates = {}) {
1652
1720
  comments(updates.scope, false, {
1653
1721
  label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1654
1722
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1723
+ // TODO: this is a mess
1655
1724
  inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1656
1725
  }),
1657
1726
  // TODO: needs scope support
@@ -1672,23 +1741,40 @@ function commentsWithBankruptcy(updates = {}) {
1672
1741
  )
1673
1742
  }
1674
1743
 
1675
- function contactInfo(updates = {}) {
1744
+ function contactInfoV2(updates = {}) {
1676
1745
  return step(
1677
1746
  "contactInfo",
1678
1747
  [
1679
1748
  contactStepHeadline(updates),
1680
1749
  contactStepSubHeadline(updates),
1681
1750
  trustedFormScript(),
1682
- email(updates.scope),
1683
- phone(updates.scope),
1684
- TCPAConsent(updates.scope),
1685
- secureIcon(),
1751
+ {
1752
+ $el: "div",
1753
+ attrs: {
1754
+ class: "t-flex t-flex-col t-justify-center t-items-center",
1755
+ },
1756
+ children: [
1757
+ emailFL(updates.scope, {
1758
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
1759
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
1760
+ }),
1761
+ phoneFL(updates.scope, {
1762
+ outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
1763
+ innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
1764
+ }),
1765
+ ],
1766
+ },
1767
+ TCPAConsent(updates.scope, {
1768
+ outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
1769
+ wrapperClass: "t-w-[95%] sm:t-w-[80%]",
1770
+ messagesClass: "t-w-[95%] sm:t-w-[80%]",
1771
+ }),
1686
1772
  ],
1687
1773
  { nextOnEnter: false }
1688
1774
  )
1689
1775
  }
1690
1776
 
1691
- function firstAndLastV3(updates = {}) {
1777
+ function firstAndLastV4(updates = {}) {
1692
1778
  return step(
1693
1779
  "firstAndLast",
1694
1780
  [
@@ -1696,12 +1782,13 @@ function firstAndLastV3(updates = {}) {
1696
1782
  headline: updates.headline ?? "Who is looking for help?",
1697
1783
  headlineClass: updates.headlineClass,
1698
1784
  }),
1699
- verticalStepSubHeadline({
1700
- subheadline: updates.subheadline ?? "We never share info without consent",
1701
- subheadlineClass: "!t-text-sm !t-text-gray-500",
1702
- }),
1703
- firstName(updates.scope),
1704
- lastName(updates.scope),
1785
+ {
1786
+ $el: "div",
1787
+ attrs: {
1788
+ class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
1789
+ },
1790
+ children: [fullNameFLMobileCol(updates.scope)],
1791
+ },
1705
1792
  ],
1706
1793
  updates
1707
1794
  )
@@ -1898,6 +1985,24 @@ function civilLawsuitTOLPDisplay(updates = {}) {
1898
1985
  )
1899
1986
  }
1900
1987
 
1988
+ function employmentAndWorkplaceTOLPDisplay(updates = {}) {
1989
+ return sqstep(
1990
+ "employmentAndWorkplaceTOLPDisplay",
1991
+ employmentAndWorkplaceTOLPDisplay$1(updates.scope, true, updates.input),
1992
+ "What type of workplace issue?",
1993
+ updates
1994
+ )
1995
+ }
1996
+
1997
+ function realEstateTOLPDisplay(updates = {}) {
1998
+ return sqstep(
1999
+ "realEstateTOLPDisplay",
2000
+ realEstateTOLPDisplay$1(updates.scope, true, updates.input),
2001
+ "What type of real estate issue?",
2002
+ updates
2003
+ )
2004
+ }
2005
+
1901
2006
  function haveAttorney(updates = {}) {
1902
2007
  return sqstep(
1903
2008
  "haveAttorney",
@@ -1969,7 +2074,7 @@ function businessServices(updates = {}) {
1969
2074
  return sqstep(
1970
2075
  "businessServices",
1971
2076
  businessServices$1(updates.scope, true, updates.input),
1972
- "What legal services do you need?",
2077
+ "What area of law do you need?",
1973
2078
  updates
1974
2079
  )
1975
2080
  }
@@ -2055,13 +2160,17 @@ function wouldLikeLawyerTo(updates = {}) {
2055
2160
  )
2056
2161
  }
2057
2162
 
2058
- const formNavigation = (updates = {}) => ({
2163
+ const formNavigationNoFinalBack = (updates = {}) => ({
2059
2164
  $el: "div",
2060
2165
  attrs: {
2061
2166
  class: {
2062
2167
  if: "$activeStep === $firstStep()",
2063
2168
  then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
2064
- else: "step-nav !t-justify-between",
2169
+ else: {
2170
+ if: "$activeStep === $lastStep()",
2171
+ then: "step-nav !t-justify-center ",
2172
+ else: "step-nav !t-justify-between",
2173
+ },
2065
2174
  },
2066
2175
  },
2067
2176
  children: [
@@ -2071,12 +2180,12 @@ const formNavigation = (updates = {}) => ({
2071
2180
  onClick: "$setPreviousStep($prevStepFunc($get(form)))",
2072
2181
  children: "Back",
2073
2182
  outerClass: {
2074
- if: "$activeStep === $firstStep()",
2183
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
2075
2184
  then: "t-hidden sm:t-block",
2076
2185
  else: "",
2077
2186
  },
2078
2187
  style: {
2079
- if: "$activeStep === $firstStep()",
2188
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
2080
2189
  then: "display: none;",
2081
2190
  },
2082
2191
  classes: {
@@ -2115,7 +2224,8 @@ const formNavigation = (updates = {}) => ({
2115
2224
  then: "display: none;",
2116
2225
  },
2117
2226
  classes: {
2118
- input: (updates.inputClass || "") + " !t-ml-2 sm:!t-ml-auto f-navigation-input",
2227
+ input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
2228
+ outer: "!t-mt-0 !t-mb-0",
2119
2229
  },
2120
2230
  },
2121
2231
  ],
@@ -2975,7 +3085,7 @@ const nextStepsMapGeneralLegal = {
2975
3085
  "estateLegalServicesNeeded",
2976
3086
  ...nextStepsLegalDefault,
2977
3087
  ],
2978
- "Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
3088
+ "Property Damage": ["wouldLikeLawyerTo", ...nextStepsLegalDefault],
2979
3089
  "Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
2980
3090
  "Social Security Disability and Insurance": [
2981
3091
  "applicantAge",
@@ -3118,6 +3228,10 @@ const nextStepsMapCivilTolp = {
3118
3228
  },
3119
3229
  };
3120
3230
 
3231
+ filterNextStepsMap(nextStepsMapCivilTolp, ["legalCrossSells"], {
3232
+ commentsWithBankruptcy: "comments",
3233
+ });
3234
+
3121
3235
  const nextStepsMapCivilTOLPDisplay = {
3122
3236
  values: {
3123
3237
  Type_Of_Legal_Problem_Display: {
@@ -3187,6 +3301,27 @@ filterNextStepsMap(
3187
3301
  },
3188
3302
  });
3189
3303
 
3304
+ ({
3305
+ values: {
3306
+ Type_Of_Legal_Problem: {
3307
+ "Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
3308
+ "Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
3309
+ },
3310
+ "*": [...nextStepsLegalDefault],
3311
+ },
3312
+ });
3313
+
3314
+ ({
3315
+ values: {
3316
+ Type_Of_Legal_Problem: {
3317
+ "Probate and Estates": TOLPNextSteps["Probate and Estates"],
3318
+ "Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
3319
+ "Wrongful Death": TOLPNextSteps["Wrongful Death"],
3320
+ },
3321
+ "*": [...nextStepsLegalDefault],
3322
+ },
3323
+ });
3324
+
3190
3325
  ({
3191
3326
  values: {
3192
3327
  Type_Of_Legal_Problem_Display: {
@@ -3251,7 +3386,7 @@ meta.data.dynamicSchema = [
3251
3386
  businessServices(),
3252
3387
  businessType(),
3253
3388
  civilLawsuitTOLPDisplay({
3254
- nextStepMap: nextStepsMapCivilTOLPDisplay
3389
+ nextStepMap: nextStepsMapCivilTOLPDisplay,
3255
3390
  }),
3256
3391
  claimStatus(),
3257
3392
  consumerLawyerType(),
@@ -3259,9 +3394,12 @@ meta.data.dynamicSchema = [
3259
3394
  doctorTreatment(),
3260
3395
  employerType(),
3261
3396
  employeeAtCompany(),
3397
+ employmentAndWorkplaceTOLPDisplay({
3398
+ nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
3399
+ }),
3262
3400
  haveAttorney(),
3263
3401
  incidentDate({
3264
- nextOnInput: false
3402
+ nextOnInput: false,
3265
3403
  }),
3266
3404
  lawsuitOtherParty(),
3267
3405
  medicalMalpracticeInjuries(),
@@ -3269,15 +3407,17 @@ meta.data.dynamicSchema = [
3269
3407
  policeReportFiled(),
3270
3408
  primaryInjury(),
3271
3409
  realEstateArea(),
3410
+ realEstateTOLPDisplay({
3411
+ nextStepMap: nextStepsMapRealEstateTOLPDisplay,
3412
+ }),
3272
3413
  wouldLikeLawyerTo(),
3273
- zipcode(),
3274
3414
  commentsWithBankruptcy({
3275
3415
  label: null,
3276
- headline: 'Please briefly describe your situation:',
3277
- headlineClass: '!t-text-dark',
3416
+ headline: "Please briefly describe your situation:",
3417
+ headlineClass: "!t-text-dark",
3278
3418
  }),
3279
3419
  legalCrossSells({
3280
- headlineClass: '!t-text-dark',
3420
+ headlineClass: "!t-text-dark",
3281
3421
  nextStepMap: nextStepsMapLegalCrossSells,
3282
3422
  }),
3283
3423
  autoAndCarAccidentCrossSellQuestions(),
@@ -3289,8 +3429,8 @@ meta.data.dynamicSchema = [
3289
3429
  willsAndTrustsCrossSellQuestions(),
3290
3430
  divorceAndSeparationCrossSellQuestions(),
3291
3431
  childCustodyCrossSellQuestions(),
3292
- firstAndLastV3({
3293
- headlineClass: '!t-text-dark'
3432
+ firstAndLastV4({
3433
+ headlineClass: "!t-text-dark",
3294
3434
  }),
3295
3435
  ];
3296
3436
 
@@ -3298,39 +3438,48 @@ const schema = [
3298
3438
  meta,
3299
3439
  formAnchor(),
3300
3440
  {
3301
- $cmp: 'FormKit',
3441
+ $cmp: "FormKit",
3302
3442
  props: formProps({
3303
- formId: 'civilLawsuit',
3443
+ formId: "civilLawsuit",
3304
3444
  redirectMap: legalRedirectMap(),
3305
3445
  valueOverrideMap: legalAllValueOverrideMap,
3306
- crossSellOptionMap: legalCrossSellOptionMap
3446
+ crossSellOptionMap: legalCrossSellOptionMap,
3307
3447
  }),
3308
3448
  children: [
3309
3449
  progressBar(),
3310
3450
  headline({
3311
3451
  children: '$urlParam("hl", "Schedule a Lawsuit Consultation")',
3312
- if: '$activeStep === $firstStep()'
3452
+ if: "$activeStep === $firstStep()",
3313
3453
  }),
3314
3454
  defaultSubHeadline(),
3315
3455
  ...hiddenInputsLegal,
3316
3456
  {
3317
- $el: 'div',
3457
+ $el: "div",
3318
3458
  attrs: {
3319
- class: 'form-body'
3459
+ class: "form-body",
3320
3460
  },
3321
3461
  children: [
3322
3462
  civilLawsuitTOLP({
3323
3463
  nextOnInput: false,
3324
- nextStepMap: nextStepsMapCivilTolp
3464
+ nextStepMap: nextStepsMapCivilTolp,
3325
3465
  }),
3326
3466
  dynamicSchemaNode(),
3327
- contactInfo(),
3328
- formNavigation(),
3329
- formDetails()
3330
- ]
3331
- }
3332
- ]
3333
- }
3467
+ zipcode(),
3468
+ contactInfoV2({
3469
+ subheadlineClass: "!t-text-base",
3470
+ }),
3471
+ formNavigationNoFinalBack({
3472
+ startText: "Start Now",
3473
+ submitLabel: "Get Help Now",
3474
+ inputClass: "!t-font-extrabold",
3475
+ firstStepButtonClass: "!t-justify-center",
3476
+ }),
3477
+ secureIconStandalone(),
3478
+ formDetails(),
3479
+ ],
3480
+ },
3481
+ ],
3482
+ },
3334
3483
  ];
3335
3484
 
3336
3485
  export { schema as default };