bhl-forms 0.4.4 → 0.4.6

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 (66) hide show
  1. package/dist/bhl-forms.iife.js +1 -1
  2. package/dist/bhl-forms.modern.iife.js +1 -1
  3. package/dist/bhl-forms.modern.umd.js +1 -1
  4. package/dist/bhl-forms.umd.js +1 -1
  5. package/dist/forms/accidentsAndInjuries.es.js +2 -2
  6. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  7. package/dist/forms/accidentsAndInjuries.json +1 -1
  8. package/dist/forms/appraisals.es.js +2 -2
  9. package/dist/forms/appraisals.iife.js +1 -1
  10. package/dist/forms/appraisals.json +1 -1
  11. package/dist/forms/childAndFamily.es.js +589 -2
  12. package/dist/forms/childAndFamily.iife.js +1 -1
  13. package/dist/forms/childAndFamily.json +1 -1
  14. package/dist/forms/civilLawsuit.es.js +550 -2
  15. package/dist/forms/civilLawsuit.iife.js +1 -1
  16. package/dist/forms/civilLawsuit.json +1 -1
  17. package/dist/forms/coins.es.js +2 -2
  18. package/dist/forms/coins.iife.js +1 -1
  19. package/dist/forms/coins.json +1 -1
  20. package/dist/forms/contracts.es.js +2 -2
  21. package/dist/forms/contracts.iife.js +1 -1
  22. package/dist/forms/contracts.json +1 -1
  23. package/dist/forms/criminal.es.js +303 -2
  24. package/dist/forms/criminal.iife.js +1 -1
  25. package/dist/forms/criminal.json +1 -1
  26. package/dist/forms/employmentAndWorkplace.es.js +2 -2
  27. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  28. package/dist/forms/employmentAndWorkplace.json +1 -1
  29. package/dist/forms/generalLegal.es.js +74 -2
  30. package/dist/forms/generalLegal.iife.js +1 -1
  31. package/dist/forms/generalLegal.json +1 -1
  32. package/dist/forms/generalLegalPopUnder.es.js +74 -2
  33. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  34. package/dist/forms/generalLegalPopUnder.json +1 -1
  35. package/dist/forms/generalLegalPopUnderTF.es.js +2 -2
  36. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  38. package/dist/forms/generalLegalThankYou.es.js +2 -2
  39. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  40. package/dist/forms/generalLegalThankYou.json +1 -1
  41. package/dist/forms/harassmentAndDiscrimination.es.js +2 -2
  42. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  44. package/dist/forms/malpractice.es.js +2 -2
  45. package/dist/forms/malpractice.iife.js +1 -1
  46. package/dist/forms/malpractice.json +1 -1
  47. package/dist/forms/mechanics.es.js +2 -2
  48. package/dist/forms/mechanics.iife.js +1 -1
  49. package/dist/forms/mechanics.json +1 -1
  50. package/dist/forms/realEstate.es.js +2 -2
  51. package/dist/forms/realEstate.iife.js +1 -1
  52. package/dist/forms/realEstate.json +1 -1
  53. package/dist/forms/repossession.es.js +2 -2
  54. package/dist/forms/repossession.iife.js +1 -1
  55. package/dist/forms/repossession.json +1 -1
  56. package/dist/forms/ssdi.es.js +2 -2
  57. package/dist/forms/ssdi.iife.js +1 -1
  58. package/dist/forms/ssdi.json +1 -1
  59. package/dist/forms/vets.es.js +2 -2
  60. package/dist/forms/vets.iife.js +1 -1
  61. package/dist/forms/vets.json +1 -1
  62. package/dist/forms/willsAndTrusts.es.js +2 -2
  63. package/dist/forms/willsAndTrusts.iife.js +1 -1
  64. package/dist/forms/willsAndTrusts.json +1 -1
  65. package/dist/main.css +1 -1
  66. package/package.json +1 -1
@@ -669,6 +669,80 @@ const sbsDate = (updates) => {
669
669
  return date(updates)
670
670
  };
671
671
 
672
+ const applicantOccupation = (scope) => sbsText({
673
+ name: scope ? scope + ':' + 'Applicant_Occupation' : 'Applicant_Occupation',
674
+ label: "What is the Applicant's Occupation?",
675
+ placeholder: "Occupation"
676
+ });
677
+
678
+
679
+ const applicantAge = (scope) => sbsText({
680
+ name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
681
+ label: 'Age of Applicant?',
682
+ placeholder: 'Age between 18 and 65',
683
+ maxlength: 2,
684
+ inputmode: "numeric",
685
+ validation: "required|min:18,max:65",
686
+ validationMessages: {
687
+ required: 'Applicant Age is required',
688
+ min: 'Invalid Age - must be between 18 and 65',
689
+ max: 'Invalid Age - must be between 18 and 65',
690
+ }
691
+ });
692
+
693
+ const applicantDisabilityHowObtain = (scope) => sbsSelect({
694
+ name: scope ? scope + ':' + 'Applicant_Disability_How_Obtain' : 'Applicant_Disability_How_Obtain',
695
+ label: 'How Did Applicant Obtain the Disability Policy?',
696
+ options: [
697
+ "Employer",
698
+ "Self",
699
+ "Other"
700
+ ]
701
+ });
702
+
703
+ const applicantPreviouslyAppliedLtdBenefits = (scope) => sbsRadio({
704
+ name: scope ? scope + ':' + 'Applicant_Previously_Apply_Ltd_Benefits' : 'Applicant_Previously_Apply_Ltd_Benefits',
705
+ label: 'Has Applicant Previously Applied for Long Term Disability Benefits?',
706
+ options: [
707
+ "Yes, claim pending",
708
+ "Yes, claim denied",
709
+ "No"
710
+ ]
711
+ });
712
+
713
+ const applicantMonthlySalary = (scope) => sbsSelect({
714
+ name: scope ? scope + ':' + 'Applicant_Monthly_Salary' : 'Applicant_Monthly_Salary',
715
+ label: "Applicant's Monthly Salary/Pay When Last at Work:",
716
+ options: [
717
+ "< $1,000",
718
+ "$1,000 - $2,000",
719
+ "$2,000 - $3,000",
720
+ "$3,000 - $4,000",
721
+ "$4,000 - $5,000",
722
+ "$5,000 - $6,000",
723
+ "$6,000 - $7,000",
724
+ "$7,000 - $8,000",
725
+ "$8,000 - $9,000",
726
+ "$9,000 - $10,000",
727
+ ">$10,000"
728
+ ]
729
+ });
730
+
731
+ const applicantReceivedDisabilityBenefits = (scope) => sbsRadio({
732
+ name: scope ? scope + ':' + 'Applicant_Received_Disability_Benefits' : 'Applicant_Received_Disability_Benefits',
733
+ label: 'Has Applicant Ever Received Long Term Disability Benefits for this Claim?',
734
+ options: [
735
+ "Yes, currently receiving",
736
+ "Yes, appealing a decision to stop payment of benefits",
737
+ "No"
738
+ ]
739
+ });
740
+
741
+ const applicantLTDisabilityPolicy = (scope) => sbsYesNoRadio({
742
+ name: scope ? scope + ':' + 'Applicant_Lt_Disability_Policy' : 'Applicant_Lt_Disability_Policy',
743
+ label: 'Does Applicant have a Long Term Disability Policy?'
744
+ });
745
+
672
746
  const atFault = (scope) => sbsYesNoRadio({
673
747
  name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
674
748
  label: 'Were You at Fault?'
@@ -683,6 +757,21 @@ const bankruptcyCrossSell = () => sbsCheckbox({
683
757
  helpClass: "!t-text-sm"
684
758
  });
685
759
 
760
+ const bloodContentAlcholTest = (scope) => sbsSelect({
761
+ name: scope ? scope + ':' + 'Blood_Alcohol_Content_Test' : 'Blood_Alcohol_Content_Test',
762
+ label: 'Blood Alcohol Content Measured by Test:',
763
+ options: [
764
+ "No Test",
765
+ "0.00% - 0.04%",
766
+ "0.05% - 0.08%",
767
+ "0.09% - 0.12%",
768
+ "0.13% - 0.16%",
769
+ "0.17% - 0.20%",
770
+ "More than 0.20%",
771
+ "Don't know"
772
+ ]
773
+ });
774
+
686
775
  const businessServices = () => sbsSelect({
687
776
  label: 'Legal Services Needed for Your Business:',
688
777
  id: 'Business_Services',
@@ -707,6 +796,18 @@ const businessType = () => sbs2ColRadio({
707
796
  ]
708
797
  });
709
798
 
799
+ const causeOfInjury = (scope) => sbsSelect({
800
+ name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
801
+ label: 'Cause of Injury:',
802
+ options: [
803
+ "Traumatic Physical Injury (Accident)",
804
+ "Repeated Trauma Injury",
805
+ "Mental Injury",
806
+ "Occupational Disease",
807
+ "Not Sure"
808
+ ]
809
+ });
810
+
710
811
  const civilDefense = (updates) => sbs2ItemRadio(merge({
711
812
  name: 'Civil_Defense',
712
813
  id: 'Civil_Defense',
@@ -738,6 +839,39 @@ const civilLawsuitTOLPDisplay = (updates) => col2Radio(merge({
738
839
  ]
739
840
  }, updates));
740
841
 
842
+ const childHome = (scope) => sbsSelect({
843
+ name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
844
+ label: 'With Whom Do the Children Currently Live?',
845
+ options: [
846
+ 'Mother',
847
+ 'Father',
848
+ 'Grandparents',
849
+ 'Other'
850
+ ]
851
+ });
852
+
853
+ const childPrimaryCaregiver = (scope) => sbsSelect({
854
+ name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
855
+ label: 'Who is the Primary Caregiver?',
856
+ options: [
857
+ 'Mother',
858
+ 'Father',
859
+ 'Other'
860
+ ]
861
+ });
862
+
863
+ const childRelationship = (scope) => sbsSelect({
864
+ name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
865
+ label: 'Your Relationship to Child(ren):',
866
+ options: [
867
+ 'Father',
868
+ 'Mother',
869
+ 'Grandparent',
870
+ 'Aunt/Uncle',
871
+ 'Other'
872
+ ]
873
+ });
874
+
741
875
  const claimStatus = (scope) => sbsSelect({
742
876
  name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
743
877
  label: "Status of Claim:",
@@ -749,10 +883,10 @@ const claimStatus = (scope) => sbsSelect({
749
883
  ]
750
884
  });
751
885
 
752
- const comments = (updates) => textArea(
886
+ const comments = (updates, scope) => textArea(
753
887
  merge({
888
+ name: scope ? scope + ':' + 'Comments' : 'Comments',
754
889
  label: 'Please briefly describe your situation in a few words:',
755
- name: 'Comments',
756
890
  placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
757
891
  }, updates)
758
892
  );
@@ -823,6 +957,19 @@ const employerType = () => sbsSelect({
823
957
  ]
824
958
  });
825
959
 
960
+ const estateLegalServicesNeeded = (scope) => sbsSelect({
961
+ name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
962
+ label: "Legal Services Needed for Your Estate:",
963
+ options: [
964
+ "Charitable Giving",
965
+ "Contested Wills",
966
+ "Drafting Wills or Trust",
967
+ "Estate Administration",
968
+ "Asset Protection",
969
+ "Other"
970
+ ]
971
+ });
972
+
826
973
  const firstName = () => sbsText({
827
974
  $formkit: 'text',
828
975
  label: 'First Name:',
@@ -838,6 +985,11 @@ const haveAttorney = (scope) => sbsYesNoRadio({
838
985
  label: 'Already Working with An Attorney?'
839
986
  });
840
987
 
988
+ const haveChildren = (scope) => sbsYesNoRadio({
989
+ name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
990
+ label: 'Do You Have Children?'
991
+ });
992
+
841
993
  const incidentDate = (scope) => sbsDate({
842
994
  name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
843
995
  label: 'Date of Incident:',
@@ -864,6 +1016,20 @@ const lawsuitOtherParty = () => sbsSelect({
864
1016
  ]
865
1017
  });
866
1018
 
1019
+ const lawyerPaymentMethod = (scope) => sbsSelect({
1020
+ name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
1021
+ label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
1022
+ help: 'No payment necessary to speak with lawyers.',
1023
+ options: [
1024
+ 'Cash',
1025
+ 'Check',
1026
+ 'Credit Card',
1027
+ 'Friend',
1028
+ 'Family',
1029
+ 'Other'
1030
+ ]
1031
+ });
1032
+
867
1033
 
868
1034
  const legalCrossSells$1 = () => col2Checkbox({
869
1035
  id: 'Legal_CrossSells',
@@ -936,6 +1102,19 @@ const legalCrossSells$1 = () => col2Checkbox({
936
1102
  }
937
1103
  });
938
1104
 
1105
+ const maritalStatus = (scope) => sbsSelect({
1106
+ name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
1107
+ label: 'Marital Status:',
1108
+ options: [
1109
+ 'Unmarried, Living Together',
1110
+ 'Unmarried, Do Not Live Together',
1111
+ 'Married, Living Together',
1112
+ 'Separated',
1113
+ 'Divorced',
1114
+ 'Other'
1115
+ ]
1116
+ });
1117
+
939
1118
  const medicalMalpracticeInjuries = () => sbsSelect({
940
1119
  label: "Injuries from Medical Malpractice:",
941
1120
  name: 'Medical_Malpractice_Injuries',
@@ -965,6 +1144,11 @@ const numEmployeesOfBusiness = () => sbsSelect({
965
1144
  ]
966
1145
  });
967
1146
 
1147
+ const pendingCharges = (scope) => sbsYesNoRadio({
1148
+ name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
1149
+ label: 'Do you currently have any pending charges?'
1150
+ });
1151
+
968
1152
  const phone = () => sbsText({
969
1153
  $formkit: 'tel',
970
1154
  name: 'Primary_Phone',
@@ -998,6 +1182,11 @@ const primaryInjury = (scope) => sbs2ColRadio({
998
1182
  ]
999
1183
  });
1000
1184
 
1185
+ const priorAlcoholOffenses = (scope) => sbsYesNoRadio({
1186
+ name: scope ? scope + ':' + 'Prior_Alcohol_Offenses' : 'Prior_Alcohol_Offenses',
1187
+ label: 'Any Prior Alcohol Related Offenses?'
1188
+ });
1189
+
1001
1190
  const policeReportFiled = (scope) => sbsYesNoRadio({
1002
1191
  name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
1003
1192
  label: 'Was a Police Report Filed?'
@@ -1019,6 +1208,17 @@ const realEstateArea = () => sbsSelect({
1019
1208
  ]
1020
1209
  });
1021
1210
 
1211
+ const roleInMatterProbate = (scope) => sbsSelect({
1212
+ name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
1213
+ label: "What Is Your Role in this Matter?",
1214
+ options: [
1215
+ "Preparing My Will",
1216
+ "Executor",
1217
+ "Heir",
1218
+ "Other"
1219
+ ]
1220
+ });
1221
+
1022
1222
  const TCPAConsent = () => ({
1023
1223
  $formkit: 'checkbox',
1024
1224
  label: '$meta.tcpaLanguage',
@@ -1034,6 +1234,46 @@ const TCPAConsent = () => ({
1034
1234
  }
1035
1235
  });
1036
1236
 
1237
+ const typeOfAlcoholTest = (scope) => sbsSelect({
1238
+ name: scope ? scope + ':' + 'Type_Of_Alcohol_Test' : 'Type_Of_Alcohol_Test',
1239
+ label: 'Type of Alcohol Test Performed?',
1240
+ options: [
1241
+ "No Test",
1242
+ "Refused Test",
1243
+ "Breath Test",
1244
+ "Blood Test",
1245
+ "Urine Test",
1246
+ "Don't Know"
1247
+ ]
1248
+ });
1249
+
1250
+ const typeOfAssets = (scope) => col2Checkbox({
1251
+ name: scope ? scope + ':' + 'Type_Of_Assets' : 'Type_Of_Assets',
1252
+ label: 'Type of Assets:',
1253
+ options: [
1254
+ "Business Interests",
1255
+ "Cash",
1256
+ "Life Insurance Policies",
1257
+ "Pensions/Retirement",
1258
+ "Personal Possessions",
1259
+ "Property",
1260
+ "Stock/Bonds"
1261
+ ]
1262
+ });
1263
+
1264
+ const valueOfAssets = (scope) => sbsSelect({
1265
+ name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
1266
+ label: 'Value of Your Assets?',
1267
+ options: [
1268
+ "Less than 50K",
1269
+ "50K to 100K",
1270
+ "100K to 250K",
1271
+ "250K to 500K",
1272
+ "500K to 1M",
1273
+ "More than 1M"
1274
+ ]
1275
+ });
1276
+
1037
1277
  const wouldLikeLawyerTo = () => sbsRadio({
1038
1278
  label: 'I Would Like a Lawyer to:',
1039
1279
  name: 'Would_Like_Lawyer_To',
@@ -1106,6 +1346,21 @@ const BusinessLawyersQuestions = () => group(
1106
1346
  }
1107
1347
  );
1108
1348
 
1349
+ const ChildCustodyQuestions = (condition, scope) => group(
1350
+ 'ChildCustodyQuestions',
1351
+ {
1352
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
1353
+ children: [
1354
+ haveAttorney(scope),
1355
+ childRelationship(scope),
1356
+ childHome(scope),
1357
+ childPrimaryCaregiver(scope),
1358
+ degreeOfInterest(scope),
1359
+ lawyerPaymentMethod(scope)
1360
+ ]
1361
+ }
1362
+ );
1363
+
1109
1364
  const FileLawsuitQuestions = () => group(
1110
1365
  'FileLawsuitQuestions',
1111
1366
  {
@@ -1144,6 +1399,36 @@ const ConsumerLawyersQuestions = () => group(
1144
1399
  }
1145
1400
  );
1146
1401
 
1402
+ const DivorceQuestions = (condition, scope) => group(
1403
+ 'DivorceQuestions',
1404
+ {
1405
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
1406
+ children: [
1407
+ haveAttorney(scope),
1408
+ maritalStatus(scope),
1409
+ haveChildren(scope),
1410
+ degreeOfInterest(scope),
1411
+ lawyerPaymentMethod(scope)
1412
+ ]
1413
+ }
1414
+ );
1415
+
1416
+ const DUIAndDWIQuestions = (condition, scope) => group(
1417
+ 'DUIAndDWIQuestions',
1418
+ {
1419
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"'),
1420
+ children: [
1421
+ haveAttorney(scope),
1422
+ incidentDate(scope),
1423
+ priorAlcoholOffenses(scope),
1424
+ typeOfAlcoholTest(scope),
1425
+ bloodContentAlcholTest(scope),
1426
+ pendingCharges(scope),
1427
+ degreeOfInterestHelp(scope)
1428
+ ]
1429
+ }
1430
+ );
1431
+
1147
1432
  const EmploymentAndWorkplaceQuestions = () => group(
1148
1433
  'EmploymentAndWorkplaceQuestions',
1149
1434
  {
@@ -1157,6 +1442,23 @@ const EmploymentAndWorkplaceQuestions = () => group(
1157
1442
  }
1158
1443
  );
1159
1444
 
1445
+ const LongTermDisabilityQuestions = (condition, scope) => group(
1446
+ 'LongTermDisabilityQuestions',
1447
+ {
1448
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Long Term Disability"'),
1449
+ children: [
1450
+ haveAttorney(scope),
1451
+ applicantOccupation(scope),
1452
+ applicantAge(scope),
1453
+ applicantLTDisabilityPolicy(scope),
1454
+ applicantDisabilityHowObtain(scope),
1455
+ applicantPreviouslyAppliedLtdBenefits(scope),
1456
+ applicantReceivedDisabilityBenefits(scope),
1457
+ applicantMonthlySalary(scope)
1458
+ ]
1459
+ }
1460
+ );
1461
+
1160
1462
  const MedicalMalpracticeQuestions = () => group(
1161
1463
  'MedicalMalpracticeQuestions',
1162
1464
  {
@@ -1187,6 +1489,17 @@ const PersonalInjuryQuestions = (condition, scope) => group(
1187
1489
  }
1188
1490
  );
1189
1491
 
1492
+ const PowerofAttorneyQuestions = (condition, scope) => group(
1493
+ 'PowerofAttorneyQuestions',
1494
+ {
1495
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"'),
1496
+ children: [
1497
+ haveAttorney(scope),
1498
+ degreeOfInterestHelp(scope)
1499
+ ]
1500
+ }
1501
+ );
1502
+
1190
1503
  const PropertyDamageQuestions = () => group(
1191
1504
  'PropertyDamageQuestions',
1192
1505
  {
@@ -1213,6 +1526,36 @@ const RealEstateQuestions = () => group(
1213
1526
  }
1214
1527
  );
1215
1528
 
1529
+ const WillsAndTrustsQuestions = (condition, scope) => group(
1530
+ 'WillsAndTrustsQuestions',
1531
+ {
1532
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
1533
+ children: [
1534
+ haveAttorney(scope),
1535
+ valueOfAssets(scope),
1536
+ typeOfAssets(scope),
1537
+ roleInMatterProbate(scope),
1538
+ estateLegalServicesNeeded(scope),
1539
+ degreeOfInterestHelp(scope)
1540
+ ]
1541
+ }
1542
+ );
1543
+
1544
+ const WorkersCompensationQuestions = (condition, scope) => group(
1545
+ 'WorkersCompensationQuestions',
1546
+ {
1547
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
1548
+ children: [
1549
+ haveAttorney(scope),
1550
+ incidentDate(scope),
1551
+ claimStatus(scope),
1552
+ primaryInjury(scope),
1553
+ causeOfInjury(scope),
1554
+ doctorTreatment(scope)
1555
+ ]
1556
+ }
1557
+ );
1558
+
1216
1559
  const NotSureOrOtherQuestions = () => group(
1217
1560
  'NotSureOrOtherQuestions',
1218
1561
  {
@@ -1259,6 +1602,26 @@ function questionsStepHeadline(updates) {
1259
1602
  }
1260
1603
  }
1261
1604
 
1605
+ function crossSellQuestionsStepHeadline(updates) {
1606
+ return {
1607
+ $el: 'h3',
1608
+ children: updates.headline || 'Tell Us About Your Situation',
1609
+ attrs: {
1610
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1'
1611
+ }
1612
+ }
1613
+ }
1614
+
1615
+ function crossSellQuestionsStepSubHeadline(updates) {
1616
+ return {
1617
+ $el: 'h5',
1618
+ children: updates.subheadline || 'Tell us about your situation:',
1619
+ attrs: {
1620
+ class: 't-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3'
1621
+ }
1622
+ }
1623
+ }
1624
+
1262
1625
 
1263
1626
  function commentsStepHeadline(updates) {
1264
1627
  return {
@@ -1440,6 +1803,182 @@ function firstAndLastV2(updates = {}) {
1440
1803
  )
1441
1804
  }
1442
1805
 
1806
+
1807
+ function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1808
+ return step(
1809
+ 'autoAndCarAccidentCrossSellQuestions',
1810
+ [
1811
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
1812
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your accident:' }),
1813
+ AutoAndCarAccidentsQuestions("true", 'CrossSell:Auto_and_Car_Accidents'),
1814
+ comments(
1815
+ {
1816
+ label: 'Accident Description:',
1817
+ placeholder: 'Please describe your accident in a few words...',
1818
+ inputClass: '!t-h-16'
1819
+ },
1820
+ 'CrossSell:Auto_and_Car_Accidents'
1821
+ )
1822
+ ],
1823
+ updates.nextOnEnter
1824
+ )
1825
+ }
1826
+
1827
+ function childCustodyCrossSellQuestions(updates = {}) {
1828
+ return step(
1829
+ 'childCustodyCrossSellQuestions',
1830
+ [
1831
+ crossSellQuestionsStepHeadline({ headline: 'Child Custody Information' }),
1832
+ ChildCustodyQuestions("true", 'CrossSell:Child_Custody'),
1833
+ comments(
1834
+ {
1835
+ label: 'Description:',
1836
+ placeholder: 'Please describe your situation in a few words...',
1837
+ inputClass: '!t-h-16'
1838
+ },
1839
+ 'CrossSell:Child_Custody'
1840
+ )
1841
+ ],
1842
+ updates.nextOnEnter
1843
+ )
1844
+ }
1845
+
1846
+ function divorceAndSeparationCrossSellQuestions(updates = {}) {
1847
+ return step(
1848
+ 'divorceAndSeparationCrossSellQuestions',
1849
+ [
1850
+ crossSellQuestionsStepHeadline({ headline: 'Divorce or Separation Information' }),
1851
+ DivorceQuestions("true", 'CrossSell:Divorce_and_Separation'),
1852
+ comments(
1853
+ {
1854
+ label: 'Description:',
1855
+ placeholder: 'Please describe your situation in a few words...',
1856
+ inputClass: '!t-h-16'
1857
+ },
1858
+ 'CrossSell:Divorce_and_Separation'
1859
+ )
1860
+ ],
1861
+ updates.nextOnEnter
1862
+ )
1863
+ }
1864
+
1865
+ function duiAndDWICrossSellQuestions(updates = {}) {
1866
+ return step(
1867
+ 'duiAndDWICrossSellQuestions',
1868
+ [
1869
+ crossSellQuestionsStepHeadline({ headline: 'About Your DUI/DWI' }),
1870
+ DUIAndDWIQuestions("true", 'CrossSell:DUI_and_DWI'),
1871
+ comments(
1872
+ {
1873
+ label: 'Incident Description:',
1874
+ placeholder: 'Please describe your incident in a few words...',
1875
+ inputClass: '!t-h-16'
1876
+ },
1877
+ 'CrossSell:DUI_and_DWI'
1878
+ )
1879
+ ],
1880
+ updates.nextOnEnter
1881
+ )
1882
+ }
1883
+
1884
+ function longTermDisabilityCrossSellQuestions(updates = {}) {
1885
+ return step(
1886
+ 'longTermDisabilityCrossSellQuestions',
1887
+ [
1888
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
1889
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your disability:' }),
1890
+ LongTermDisabilityQuestions("true", 'CrossSell:Long_Term_Disability'),
1891
+ comments(
1892
+ {
1893
+ label: 'Description:',
1894
+ placeholder: 'Please describe your situation in a few words...',
1895
+ inputClass: '!t-h-16'
1896
+ },
1897
+ 'CrossSell:Long_Term_Disability'
1898
+ )
1899
+ ],
1900
+ updates.nextOnEnter
1901
+ )
1902
+ }
1903
+
1904
+ function personalInjuryCrossSellQuestions(updates = {}) {
1905
+ return step(
1906
+ 'personalInjuryCrossSellQuestions',
1907
+ [
1908
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
1909
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
1910
+ PersonalInjuryQuestions("true", 'CrossSell:Personal_Injury'),
1911
+ comments(
1912
+ {
1913
+ label: 'Injury Description:',
1914
+ placeholder: 'Please describe your injury in a few words...',
1915
+ inputClass: '!t-h-16'
1916
+ },
1917
+ 'CrossSell:Personal_Injury'
1918
+ )
1919
+ ],
1920
+ updates.nextOnEnter
1921
+ )
1922
+ }
1923
+
1924
+ function powerOfAttorneyCrossSellQuestions(updates = {}) {
1925
+ return step(
1926
+ 'powerOfAttorneyCrossSellQuestions',
1927
+ [
1928
+ crossSellQuestionsStepHeadline({ headline: 'Power of Attorney Information' }),
1929
+ PowerofAttorneyQuestions("true", 'CrossSell:Power_of_Attorney'),
1930
+ comments(
1931
+ {
1932
+ label: 'Description:',
1933
+ placeholder: 'Please describe your situation in a few words...',
1934
+ inputClass: '!t-h-16'
1935
+ },
1936
+ 'CrossSell:Power_of_Attorney'
1937
+ )
1938
+ ],
1939
+ updates.nextOnEnter
1940
+ )
1941
+ }
1942
+
1943
+ function willsAndTrustsCrossSellQuestions(updates = {}) {
1944
+ return step(
1945
+ 'willsAndTrustsCrossSellQuestions',
1946
+ [
1947
+ crossSellQuestionsStepHeadline({ headline: 'Will or Trust Information' }),
1948
+ WillsAndTrustsQuestions("true", 'CrossSell:Wills_and_Trusts'),
1949
+ comments(
1950
+ {
1951
+ label: 'Description:',
1952
+ placeholder: 'Please describe your situation in a few words...',
1953
+ inputClass: '!t-h-16'
1954
+ },
1955
+ 'CrossSell:Wills_and_Trusts'
1956
+ )
1957
+ ],
1958
+ updates.nextOnEnter
1959
+ )
1960
+ }
1961
+
1962
+ function workersCompensationCrossSellQuestions(updates = {}) {
1963
+ return step(
1964
+ 'workersCompensationCrossSellQuestions',
1965
+ [
1966
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
1967
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
1968
+ WorkersCompensationQuestions("true", 'CrossSell:Workers_Compensation'),
1969
+ comments(
1970
+ {
1971
+ label: 'Injury Description:',
1972
+ placeholder: 'Please describe your injury in a few words...',
1973
+ inputClass: '!t-h-16'
1974
+ },
1975
+ 'CrossSell:Workers_Compensation'
1976
+ )
1977
+ ],
1978
+ updates.nextOnEnter
1979
+ )
1980
+ }
1981
+
1443
1982
  function civilLawsuitTOLPQuestions(updates = {}) {
1444
1983
  return step(
1445
1984
  'TOLPQuestions',
@@ -1598,6 +2137,15 @@ const schema = [
1598
2137
  nextOnEnter: false
1599
2138
  }),
1600
2139
  legalCrossSells(),
2140
+ autoAndCarAccidentCrossSellQuestions(),
2141
+ personalInjuryCrossSellQuestions(),
2142
+ workersCompensationCrossSellQuestions(),
2143
+ duiAndDWICrossSellQuestions(),
2144
+ longTermDisabilityCrossSellQuestions(),
2145
+ powerOfAttorneyCrossSellQuestions(),
2146
+ willsAndTrustsCrossSellQuestions(),
2147
+ divorceAndSeparationCrossSellQuestions(),
2148
+ childCustodyCrossSellQuestions(),
1601
2149
  firstAndLastV2(),
1602
2150
  contactInfoV2({
1603
2151
  nextOnEnter: false