bhl-forms 0.3.1 → 0.3.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.
- package/dist/bhl-forms.es.js +871 -312
- package/dist/bhl-forms.iife.js +7 -7
- package/dist/bhl-forms.modern.es.js +2689 -2129
- package/dist/bhl-forms.modern.iife.js +9 -9
- package/dist/bhl-forms.modern.umd.js +9 -9
- package/dist/bhl-forms.umd.js +7 -7
- package/dist/forms/accidentsAndInjuries.es.js +9 -68
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +8 -7
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -1
- package/dist/forms/childAndFamily.es.js +8 -67
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +9 -68
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +8 -7
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -1
- package/dist/forms/contracts.es.js +8 -67
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +19 -214
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +9 -68
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +30 -445
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +19 -217
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +19 -217
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +19 -217
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +8 -67
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +9 -68
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +8 -7
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/realEstate.es.js +19 -214
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +8 -67
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +24 -140
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +8 -67
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +8 -11
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +8 -7
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +8 -67
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/package.json +3 -2
|
@@ -23,6 +23,7 @@ const formPropDefaults = {
|
|
|
23
23
|
plugins: '$plugins',
|
|
24
24
|
actions: false,
|
|
25
25
|
anchorElement: 'form-anchor',
|
|
26
|
+
useLocalStorage: true,
|
|
26
27
|
prepop: {
|
|
27
28
|
fromURL: true
|
|
28
29
|
},
|
|
@@ -36,10 +37,14 @@ const formPropDefaults = {
|
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
function formProps(updates) {
|
|
39
|
-
|
|
40
|
+
const props = merge(
|
|
40
41
|
formPropDefaults,
|
|
41
42
|
updates
|
|
42
|
-
)
|
|
43
|
+
);
|
|
44
|
+
if (props.formId && !props.name) {
|
|
45
|
+
props.name = props.formId;
|
|
46
|
+
}
|
|
47
|
+
return props
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
const metaDefaults = {
|
|
@@ -434,7 +439,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
434
439
|
'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
435
440
|
'Long Term Disability': 'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
|
|
436
441
|
'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
437
|
-
'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
|
|
438
442
|
'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
439
443
|
'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
440
444
|
'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
|
|
@@ -446,8 +450,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
446
450
|
'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
447
451
|
'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
448
452
|
'Unemployment': 'Example: "I need help filing for unemployment benefits"',
|
|
449
|
-
'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
|
|
450
|
-
'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
|
|
451
453
|
'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
452
454
|
'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
453
455
|
'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
|
|
@@ -458,59 +460,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
458
460
|
|
|
459
461
|
const TOLPFinalHeadlines = {
|
|
460
462
|
// 'Adoption': '',
|
|
461
|
-
// 'Asbestos and Mesothelioma': '',
|
|
462
|
-
// 'Auto and Car Accidents': '',
|
|
463
|
-
// 'Bankruptcy': '',
|
|
464
|
-
// 'Birth Certificate and Name Change': '',
|
|
465
|
-
// 'Business Lawyers': '',
|
|
466
|
-
// 'Child Custody and Support': '',
|
|
467
|
-
// 'Civil Rights and Discrimination': '',
|
|
468
|
-
// 'Civil Lawsuit': '',
|
|
469
|
-
// 'Consumer Lawyers': '',
|
|
470
|
-
// 'Copyrights and Trademarks': '',
|
|
471
|
-
// 'Criminal and Felony': '',
|
|
472
|
-
// 'Debt and Collections': '',
|
|
473
|
-
// 'Divorce and Separation': '',
|
|
474
|
-
// 'DUI and DWI': '',
|
|
475
|
-
// 'Elder Law': '',
|
|
476
|
-
// 'Employment and Workplace': '',
|
|
477
|
-
// 'Expungement': '',
|
|
478
|
-
// 'Family Issues': '',
|
|
479
|
-
// 'Foreclosure': '',
|
|
480
|
-
// 'Guardianship': '',
|
|
481
|
-
// 'Harassment and Discrimination': '',
|
|
482
|
-
// 'Identity Theft': '',
|
|
483
|
-
// 'Immigration and Visas': '',
|
|
484
|
-
// 'Insurance': '',
|
|
485
|
-
// 'Landlord and Tenant': '',
|
|
486
|
-
// 'Lemon Law': '',
|
|
487
|
-
// 'Long Term Disability': '',
|
|
488
|
-
// 'Medical Malpractice': '',
|
|
489
|
-
// 'Nursing Home Abuse': '',
|
|
490
|
-
// 'Patents and Intellectual Property': '',
|
|
491
|
-
// 'Personal Injury': '',
|
|
492
|
-
// 'Power of Attorney': '',
|
|
493
|
-
// 'Probate and Estates': '',
|
|
494
|
-
// 'Product Liability': '',
|
|
495
|
-
// 'Property Damage': '',
|
|
496
|
-
// 'Real Estate': '',
|
|
497
|
-
// 'Social Security Disability and Insurance': '',
|
|
498
|
-
// 'Tax and IRS': '',
|
|
499
|
-
// 'Traffic and Tickets': '',
|
|
500
|
-
// 'Unemployment': '',
|
|
501
|
-
// 'Vaccination Injury': '',
|
|
502
|
-
// 'Veteran\'s Disability': '',
|
|
503
|
-
// 'Victim of a Crime': '',
|
|
504
|
-
// 'Wills and Trusts': '',
|
|
505
|
-
// 'Workers Compensation': '',
|
|
506
|
-
// 'Wrongful Death': '',
|
|
507
|
-
// 'Wrongful Termination': '',
|
|
508
|
-
// 'Not Sure or Other': ''
|
|
509
|
-
// 'Sexual Harassment': '',
|
|
510
|
-
// 'Workplace Harassment': '',
|
|
511
|
-
// 'Non-Workplace Harassment': '',
|
|
512
|
-
// 'Workplace Discrimination': '',
|
|
513
|
-
// 'Non-Workplace Discrimination': '',
|
|
514
463
|
};
|
|
515
464
|
|
|
516
465
|
const TOLPFinalSubHeadlines = {
|
|
@@ -543,7 +492,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
543
492
|
// 'Lemon Law': '',
|
|
544
493
|
'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
545
494
|
'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
|
|
546
|
-
// 'Nursing Home Abuse': '',
|
|
547
495
|
'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
|
|
548
496
|
'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
|
|
549
497
|
// 'Power of Attorney': '',
|
|
@@ -555,8 +503,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
555
503
|
'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
|
|
556
504
|
// 'Traffic and Tickets': '',
|
|
557
505
|
'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
|
|
558
|
-
// 'Vaccination Injury': '',
|
|
559
|
-
'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
560
506
|
// 'Victim of a Crime': '',
|
|
561
507
|
// 'Wills and Trusts': '',
|
|
562
508
|
'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
|
|
@@ -676,7 +622,6 @@ const sbsSelect = (updates) => {
|
|
|
676
622
|
return select(updates)
|
|
677
623
|
};
|
|
678
624
|
|
|
679
|
-
|
|
680
625
|
const text = (updates) => {
|
|
681
626
|
return merge({
|
|
682
627
|
$formkit: 'text',
|
|
@@ -747,59 +692,18 @@ const applicantOccupation = (scope) => sbsText({
|
|
|
747
692
|
});
|
|
748
693
|
|
|
749
694
|
|
|
750
|
-
const applicantAge = (scope) =>
|
|
695
|
+
const applicantAge = (scope) => sbsText({
|
|
751
696
|
name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
|
|
752
697
|
label: 'Age of Applicant?',
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
"26",
|
|
763
|
-
"27",
|
|
764
|
-
"28",
|
|
765
|
-
"29",
|
|
766
|
-
"30",
|
|
767
|
-
"31",
|
|
768
|
-
"32",
|
|
769
|
-
"33",
|
|
770
|
-
"34",
|
|
771
|
-
"35",
|
|
772
|
-
"36",
|
|
773
|
-
"37",
|
|
774
|
-
"38",
|
|
775
|
-
"39",
|
|
776
|
-
"40",
|
|
777
|
-
"41",
|
|
778
|
-
"42",
|
|
779
|
-
"43",
|
|
780
|
-
"44",
|
|
781
|
-
"45",
|
|
782
|
-
"46",
|
|
783
|
-
"47",
|
|
784
|
-
"48",
|
|
785
|
-
"49",
|
|
786
|
-
"50",
|
|
787
|
-
"51",
|
|
788
|
-
"52",
|
|
789
|
-
"53",
|
|
790
|
-
"54",
|
|
791
|
-
"55",
|
|
792
|
-
"56",
|
|
793
|
-
"57",
|
|
794
|
-
"58",
|
|
795
|
-
"59",
|
|
796
|
-
"60",
|
|
797
|
-
"61",
|
|
798
|
-
"62",
|
|
799
|
-
"63",
|
|
800
|
-
"64",
|
|
801
|
-
"65"
|
|
802
|
-
]
|
|
698
|
+
placeholder: 'Age between 18 and 65',
|
|
699
|
+
maxlength: 2,
|
|
700
|
+
inputmode: "numeric",
|
|
701
|
+
validation: "required|min:18,max:65",
|
|
702
|
+
validationMessages: {
|
|
703
|
+
required: 'Applicant Age is required',
|
|
704
|
+
min: 'Invalid Age - must be between 18 and 65',
|
|
705
|
+
max: 'Invalid Age - must be between 18 and 65',
|
|
706
|
+
}
|
|
803
707
|
});
|
|
804
708
|
|
|
805
709
|
const applicantDisabilityHowObtain = (scope) => sbsSelect({
|
|
@@ -1303,7 +1207,7 @@ const disabilityWorkHistory = () => sbsYesNoRadio({
|
|
|
1303
1207
|
|
|
1304
1208
|
const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
1305
1209
|
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
1306
|
-
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
|
|
1210
|
+
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
1307
1211
|
});
|
|
1308
1212
|
|
|
1309
1213
|
const driversLicenseType = () => sbs2ItemRadio({
|
|
@@ -1419,7 +1323,6 @@ const generalTOLP = (updates) => sbsSelect(merge({
|
|
|
1419
1323
|
'Medical Malpractice',
|
|
1420
1324
|
'Non-Workplace Discrimination',
|
|
1421
1325
|
'Non-Workplace Harassment',
|
|
1422
|
-
'Nursing Home Abuse',
|
|
1423
1326
|
'Patents and Intellectual Property',
|
|
1424
1327
|
'Personal Injury',
|
|
1425
1328
|
'Power of Attorney',
|
|
@@ -1432,8 +1335,6 @@ const generalTOLP = (updates) => sbsSelect(merge({
|
|
|
1432
1335
|
'Tax and IRS',
|
|
1433
1336
|
'Traffic and Tickets',
|
|
1434
1337
|
'Unemployment',
|
|
1435
|
-
'Vaccination Injury',
|
|
1436
|
-
"Veteran's Disability",
|
|
1437
1338
|
'Victim of a Crime',
|
|
1438
1339
|
'Wills and Trusts',
|
|
1439
1340
|
'Workers Compensation',
|
|
@@ -1590,78 +1491,6 @@ const lawyerPaymentMethod = (scope) => sbsSelect({
|
|
|
1590
1491
|
]
|
|
1591
1492
|
});
|
|
1592
1493
|
|
|
1593
|
-
|
|
1594
|
-
const legalCrossSells$1 = () => col2Checkbox({
|
|
1595
|
-
id: 'Legal_CrossSells',
|
|
1596
|
-
name: 'Legal_CrossSells',
|
|
1597
|
-
help: 'Note: just hit "Next" if none apply',
|
|
1598
|
-
helpClass: 't-text-center !t-text-sm',
|
|
1599
|
-
validation: null,
|
|
1600
|
-
options: {
|
|
1601
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',
|
|
1602
|
-
then: {
|
|
1603
|
-
'Long Term Disability': 'Interest in Disability Benefits',
|
|
1604
|
-
'Wills and Trusts': 'Need a Will or Trust',
|
|
1605
|
-
'Workers Compensation': 'Workplace Injury',
|
|
1606
|
-
'Power of Attorney': 'Update Power of Attorney',
|
|
1607
|
-
'Divorce and Separation': 'Need a Divorce or Separation',
|
|
1608
|
-
'Child Custody': 'Need help with Child Custody',
|
|
1609
|
-
},
|
|
1610
|
-
else: {
|
|
1611
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',
|
|
1612
|
-
then: {
|
|
1613
|
-
'DUI and DWI': 'Charged with a DUI/DWI',
|
|
1614
|
-
'Wills and Trusts': 'Need a Will or Trust',
|
|
1615
|
-
'Power of Attorney': 'Update Power of Attorney',
|
|
1616
|
-
'Divorce and Separation': 'Need a Divorce or Separation',
|
|
1617
|
-
'Child Custody': 'Need help with Child Custody',
|
|
1618
|
-
// TODO add one more?
|
|
1619
|
-
},
|
|
1620
|
-
else: {
|
|
1621
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',
|
|
1622
|
-
then: {
|
|
1623
|
-
'Personal Injury': 'Personal or Workplace Injury',
|
|
1624
|
-
'Wills and Trusts': 'Need a Will or Trust',
|
|
1625
|
-
'Long Term Disability': 'Interest in Disability Benefits',
|
|
1626
|
-
'Power of Attorney': 'Update Power of Attorney',
|
|
1627
|
-
'Divorce and Separation': 'Need a Divorce or Separation',
|
|
1628
|
-
'Child Custody': 'Need help with Child Custody',
|
|
1629
|
-
},
|
|
1630
|
-
else: {
|
|
1631
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',
|
|
1632
|
-
then: {
|
|
1633
|
-
'Auto and Car Accidents': 'Injured in a Car Accident',
|
|
1634
|
-
'Personal Injury': 'Personal or Workplace Injury',
|
|
1635
|
-
'DUI and DWI': 'Charged with a DUI/DWI',
|
|
1636
|
-
'Long Term Disability': 'Interest in Disability Benefits',
|
|
1637
|
-
'Divorce and Separation': 'Need a Divorce or Separation',
|
|
1638
|
-
'Child Custody': 'Need help with Child Custody',
|
|
1639
|
-
},
|
|
1640
|
-
else: {
|
|
1641
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',
|
|
1642
|
-
then: {
|
|
1643
|
-
'Auto and Car Accidents': 'Injured in a Car Accident',
|
|
1644
|
-
'DUI and DWI': 'Charged with a DUI/DWI',
|
|
1645
|
-
'Wills and Trusts': 'Need a Will or Trust',
|
|
1646
|
-
'Power of Attorney': 'Update Power of Attorney',
|
|
1647
|
-
'Divorce and Separation': 'Need a Divorce or Separation',
|
|
1648
|
-
'Child Custody': 'Need help with Child Custody',
|
|
1649
|
-
},
|
|
1650
|
-
else: {
|
|
1651
|
-
'Auto and Car Accidents': 'Injured in a Car Accident',
|
|
1652
|
-
'Personal Injury': 'Personal or Workplace Injury',
|
|
1653
|
-
'DUI and DWI': 'Charged with a DUI/DWI',
|
|
1654
|
-
'Wills and Trusts': 'Need a Will or Trust',
|
|
1655
|
-
'Power of Attorney': 'Update Power of Attorney',
|
|
1656
|
-
'Long Term Disability': 'Interest in Disability Benefits',
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
});
|
|
1664
|
-
|
|
1665
1494
|
const loanAmount = () => sbsSelect({
|
|
1666
1495
|
label: 'Total Amount of Loan?',
|
|
1667
1496
|
name: 'Loan_Amount',
|
|
@@ -1721,19 +1550,6 @@ const numEmployeesOfBusiness = () => sbsSelect({
|
|
|
1721
1550
|
]
|
|
1722
1551
|
});
|
|
1723
1552
|
|
|
1724
|
-
const nursingHomeStatus = () => sbsSelect({
|
|
1725
|
-
label: "The Elderly Person is Currently:",
|
|
1726
|
-
name: 'Nursing_Home_Status',
|
|
1727
|
-
options: [
|
|
1728
|
-
"Living at a nursing home",
|
|
1729
|
-
"Living at their own home with medical supervision",
|
|
1730
|
-
"Living at their own home without medical supervision ",
|
|
1731
|
-
"Living at the home of a child, grandchild or friend",
|
|
1732
|
-
"Deceased",
|
|
1733
|
-
"Other"
|
|
1734
|
-
]
|
|
1735
|
-
});
|
|
1736
|
-
|
|
1737
1553
|
const ownRealEstate = () => sbsYesNoRadio({
|
|
1738
1554
|
name: 'Own_Real_Estate',
|
|
1739
1555
|
label: 'Do You Own Real Estate?'
|
|
@@ -2039,49 +1855,6 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
2039
1855
|
]
|
|
2040
1856
|
});
|
|
2041
1857
|
|
|
2042
|
-
const veteransDisabilityApplied = () => sbsSelect({
|
|
2043
|
-
label: 'Has the Applicant Applied for VA Disability Compensation?',
|
|
2044
|
-
name: 'Veterans_Disability_Applied',
|
|
2045
|
-
options: [
|
|
2046
|
-
"Yes, Claim filed and awaiting decision",
|
|
2047
|
-
"Yes, Claim denied",
|
|
2048
|
-
"Yes, Claim on appeal",
|
|
2049
|
-
"Yes, Claim approved",
|
|
2050
|
-
"Yes, Benefits awarded",
|
|
2051
|
-
"No, Claim has not been filed"
|
|
2052
|
-
]
|
|
2053
|
-
});
|
|
2054
|
-
|
|
2055
|
-
const veteransDisabilityConditions = () => sbsCheckbox({
|
|
2056
|
-
label: 'What Service Connected Conditions Does the Applicant Have? (select all that apply)',
|
|
2057
|
-
name: 'Veterans_Disability_Conditions',
|
|
2058
|
-
options: [
|
|
2059
|
-
"Traumatic Physical Injury (broken bones, loss of limb)",
|
|
2060
|
-
"Mental Injury",
|
|
2061
|
-
"Occupational Disease",
|
|
2062
|
-
"Repeated Trauma Injury",
|
|
2063
|
-
"Other"
|
|
2064
|
-
]
|
|
2065
|
-
});
|
|
2066
|
-
|
|
2067
|
-
const veteransDisabilityRelationship = () => sbsSelect({
|
|
2068
|
-
label: 'What is Your Relationship to the Applicant?',
|
|
2069
|
-
name: 'Veterans_Disability_Relationship',
|
|
2070
|
-
options: [
|
|
2071
|
-
"Self, Active Duty",
|
|
2072
|
-
"Self, Active Reserve",
|
|
2073
|
-
"Self, Discharged from Active Duty",
|
|
2074
|
-
"Self, Discharged as Reservist",
|
|
2075
|
-
"Surviving Family Member",
|
|
2076
|
-
"Other"
|
|
2077
|
-
]
|
|
2078
|
-
});
|
|
2079
|
-
|
|
2080
|
-
const veteransDisabilityInjured = () => sbsYesNoRadio({
|
|
2081
|
-
name: 'Veterans_Disability_Injured',
|
|
2082
|
-
label: 'Was the Applicant Hurt While on Duty or is the Condition Related to Military Service?'
|
|
2083
|
-
});
|
|
2084
|
-
|
|
2085
1858
|
const wouldLikeLawyerTo = () => sbsRadio({
|
|
2086
1859
|
label: 'I Would Like a Lawyer to:',
|
|
2087
1860
|
name: 'Would_Like_Lawyer_To',
|
|
@@ -2630,18 +2403,6 @@ const MedicalMalpracticeQuestions = () => group(
|
|
|
2630
2403
|
}
|
|
2631
2404
|
);
|
|
2632
2405
|
|
|
2633
|
-
const NursingHomeAbuseQuestions = () => group(
|
|
2634
|
-
'NursingHomeAbuseQuestions',
|
|
2635
|
-
{
|
|
2636
|
-
if: '$get(Type_Of_Legal_Problem).value == "Nursing Home Abuse"',
|
|
2637
|
-
children: [
|
|
2638
|
-
haveAttorney(),
|
|
2639
|
-
incidentDate(),
|
|
2640
|
-
nursingHomeStatus()
|
|
2641
|
-
]
|
|
2642
|
-
}
|
|
2643
|
-
);
|
|
2644
|
-
|
|
2645
2406
|
const PatentsAndIntellectualPropertyQuestions = () => group(
|
|
2646
2407
|
'PatentsAndIntellectualPropertyQuestions',
|
|
2647
2408
|
{
|
|
@@ -2789,30 +2550,6 @@ const UnemploymentQuestions = () => group(
|
|
|
2789
2550
|
}
|
|
2790
2551
|
);
|
|
2791
2552
|
|
|
2792
|
-
const VaccinationInjuryQuestions = () => group(
|
|
2793
|
-
'VaccinationInjuryQuestions',
|
|
2794
|
-
{
|
|
2795
|
-
if: '$get(Type_Of_Legal_Problem).value == "Vaccination Injury"',
|
|
2796
|
-
children: [
|
|
2797
|
-
haveAttorney(),
|
|
2798
|
-
incidentDate()
|
|
2799
|
-
]
|
|
2800
|
-
}
|
|
2801
|
-
);
|
|
2802
|
-
|
|
2803
|
-
const VeteransDisabilityQuestions = () => group(
|
|
2804
|
-
'VeteransDisabilityQuestions',
|
|
2805
|
-
{
|
|
2806
|
-
if: '$get(Type_Of_Legal_Problem).value == "Veteran\'s Disability"',
|
|
2807
|
-
children: [
|
|
2808
|
-
veteransDisabilityRelationship(),
|
|
2809
|
-
veteransDisabilityInjured(),
|
|
2810
|
-
veteransDisabilityConditions(),
|
|
2811
|
-
veteransDisabilityApplied()
|
|
2812
|
-
]
|
|
2813
|
-
}
|
|
2814
|
-
);
|
|
2815
|
-
|
|
2816
2553
|
const VictimOfACrimeQuestions = () => group(
|
|
2817
2554
|
'VictimOfACrimeQuestions',
|
|
2818
2555
|
{
|
|
@@ -2923,12 +2660,8 @@ const findLastInput = (n) => {
|
|
|
2923
2660
|
|
|
2924
2661
|
const stepDefaults = (step) => ({
|
|
2925
2662
|
$el: 'section',
|
|
2926
|
-
if: '$stepIsEnabled("' + step + '")',
|
|
2927
2663
|
attrs: {
|
|
2928
|
-
|
|
2929
|
-
if: '$activeStep !== "' + step + '"',
|
|
2930
|
-
then: 'display: none;'
|
|
2931
|
-
}
|
|
2664
|
+
hidden: '$activeStep !== "' + step + '"'
|
|
2932
2665
|
}
|
|
2933
2666
|
});
|
|
2934
2667
|
|
|
@@ -2942,26 +2675,6 @@ function questionsStepHeadline(updates) {
|
|
|
2942
2675
|
}
|
|
2943
2676
|
}
|
|
2944
2677
|
|
|
2945
|
-
function crossSellQuestionsStepHeadline(updates) {
|
|
2946
|
-
return {
|
|
2947
|
-
$el: 'h3',
|
|
2948
|
-
children: updates.headline || 'Tell Us About Your Situation',
|
|
2949
|
-
attrs: {
|
|
2950
|
-
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'
|
|
2951
|
-
}
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2954
|
-
|
|
2955
|
-
function crossSellQuestionsStepSubHeadline(updates) {
|
|
2956
|
-
return {
|
|
2957
|
-
$el: 'h5',
|
|
2958
|
-
children: updates.subheadline || 'Tell us about your situation:',
|
|
2959
|
-
attrs: {
|
|
2960
|
-
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'
|
|
2961
|
-
}
|
|
2962
|
-
}
|
|
2963
|
-
}
|
|
2964
|
-
|
|
2965
2678
|
|
|
2966
2679
|
function commentsStepHeadline(updates) {
|
|
2967
2680
|
return {
|
|
@@ -2983,16 +2696,6 @@ function firstAndLastStepHeadline(updates) {
|
|
|
2983
2696
|
}
|
|
2984
2697
|
}
|
|
2985
2698
|
|
|
2986
|
-
function legalCrossSellsStepHeadline(updates) {
|
|
2987
|
-
return {
|
|
2988
|
-
$el: 'h3',
|
|
2989
|
-
children: updates.headline || 'Do any of the following situations apply?',
|
|
2990
|
-
attrs: {
|
|
2991
|
-
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' + ' ' + (updates.headlineClass || '')
|
|
2992
|
-
}
|
|
2993
|
-
}
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
2699
|
function contactStepHeadline(updates) {
|
|
2997
2700
|
return {
|
|
2998
2701
|
$el: 'h3',
|
|
@@ -3169,7 +2872,6 @@ const AllTOLPQuestions = () => {
|
|
|
3169
2872
|
LemonLawQuestions(),
|
|
3170
2873
|
LongTermDisabilityQuestions(),
|
|
3171
2874
|
MedicalMalpracticeQuestions(),
|
|
3172
|
-
NursingHomeAbuseQuestions(),
|
|
3173
2875
|
PatentsAndIntellectualPropertyQuestions(),
|
|
3174
2876
|
PersonalInjuryQuestions(),
|
|
3175
2877
|
PowerofAttorneyQuestions(),
|
|
@@ -3181,8 +2883,6 @@ const AllTOLPQuestions = () => {
|
|
|
3181
2883
|
TaxAndIRSQuestions(),
|
|
3182
2884
|
TrafficAndTicketsQuestions(),
|
|
3183
2885
|
UnemploymentQuestions(),
|
|
3184
|
-
VaccinationInjuryQuestions(),
|
|
3185
|
-
VeteransDisabilityQuestions(),
|
|
3186
2886
|
VictimOfACrimeQuestions(),
|
|
3187
2887
|
WillsAndTrustsQuestions(),
|
|
3188
2888
|
WorkersCompensationQuestions(),
|
|
@@ -3206,121 +2906,6 @@ function generalLegalTOLPQuestions(updates = {}) {
|
|
|
3206
2906
|
)
|
|
3207
2907
|
}
|
|
3208
2908
|
|
|
3209
|
-
|
|
3210
|
-
function autoAndCarAccidentCrossSellQuestions(updates = {}) {
|
|
3211
|
-
return step(
|
|
3212
|
-
'autoAndCarAccidentCrossSellQuestions',
|
|
3213
|
-
[
|
|
3214
|
-
crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
|
|
3215
|
-
crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your accident:' }),
|
|
3216
|
-
AutoAndCarAccidentsQuestions("true", 'CrossSell:Auto_and_Car_Accidents'),
|
|
3217
|
-
],
|
|
3218
|
-
updates.nextOnEnter
|
|
3219
|
-
)
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
function childCustodyCrossSellQuestions(updates = {}) {
|
|
3223
|
-
return step(
|
|
3224
|
-
'childCustodyCrossSellQuestions',
|
|
3225
|
-
[
|
|
3226
|
-
crossSellQuestionsStepHeadline({ headline: 'Child Custody Information' }),
|
|
3227
|
-
ChildCustodyQuestions("true", 'CrossSell:Child_Custody'),
|
|
3228
|
-
],
|
|
3229
|
-
updates.nextOnEnter
|
|
3230
|
-
)
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
function divorceAndSeparationCrossSellQuestions(updates = {}) {
|
|
3234
|
-
return step(
|
|
3235
|
-
'divorceAndSeparationCrossSellQuestions',
|
|
3236
|
-
[
|
|
3237
|
-
crossSellQuestionsStepHeadline({ headline: 'Divorce or Separation Information' }),
|
|
3238
|
-
DivorceQuestions("true", 'CrossSell:Divorce_and_Separation'),
|
|
3239
|
-
],
|
|
3240
|
-
updates.nextOnEnter
|
|
3241
|
-
)
|
|
3242
|
-
}
|
|
3243
|
-
|
|
3244
|
-
function duiAndDWICrossSellQuestions(updates = {}) {
|
|
3245
|
-
return step(
|
|
3246
|
-
'duiAndDWICrossSellQuestions',
|
|
3247
|
-
[
|
|
3248
|
-
crossSellQuestionsStepHeadline({ headline: 'About Your DUI/DWI' }),
|
|
3249
|
-
DUIAndDWIQuestions("true", 'CrossSell:DUI_and_DWI'),
|
|
3250
|
-
],
|
|
3251
|
-
updates.nextOnEnter
|
|
3252
|
-
)
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
function longTermDisabilityCrossSellQuestions(updates = {}) {
|
|
3256
|
-
return step(
|
|
3257
|
-
'longTermDisabilityCrossSellQuestions',
|
|
3258
|
-
[
|
|
3259
|
-
crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
|
|
3260
|
-
crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your disability:' }),
|
|
3261
|
-
LongTermDisabilityQuestions("true", 'CrossSell:Long_Term_Disability'),
|
|
3262
|
-
],
|
|
3263
|
-
updates.nextOnEnter
|
|
3264
|
-
)
|
|
3265
|
-
}
|
|
3266
|
-
|
|
3267
|
-
function personalInjuryCrossSellQuestions(updates = {}) {
|
|
3268
|
-
return step(
|
|
3269
|
-
'personalInjuryCrossSellQuestions',
|
|
3270
|
-
[
|
|
3271
|
-
crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
|
|
3272
|
-
crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
|
|
3273
|
-
PersonalInjuryQuestions("true", 'CrossSell:Personal_Injury'),
|
|
3274
|
-
],
|
|
3275
|
-
updates.nextOnEnter
|
|
3276
|
-
)
|
|
3277
|
-
}
|
|
3278
|
-
|
|
3279
|
-
function powerOfAttorneyCrossSellQuestions(updates = {}) {
|
|
3280
|
-
return step(
|
|
3281
|
-
'powerOfAttorneyCrossSellQuestions',
|
|
3282
|
-
[
|
|
3283
|
-
crossSellQuestionsStepHeadline({ headline: 'Power of Attorney Information' }),
|
|
3284
|
-
PowerofAttorneyQuestions("true", 'CrossSell:Power_of_Attorney'),
|
|
3285
|
-
],
|
|
3286
|
-
updates.nextOnEnter
|
|
3287
|
-
)
|
|
3288
|
-
}
|
|
3289
|
-
|
|
3290
|
-
function willsAndTrustsCrossSellQuestions(updates = {}) {
|
|
3291
|
-
return step(
|
|
3292
|
-
'willsAndTrustsCrossSellQuestions',
|
|
3293
|
-
[
|
|
3294
|
-
crossSellQuestionsStepHeadline({ headline: 'Will or Trust Information' }),
|
|
3295
|
-
WillsAndTrustsQuestions("true", 'CrossSell:Wills_and_Trusts'),
|
|
3296
|
-
],
|
|
3297
|
-
updates.nextOnEnter
|
|
3298
|
-
)
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
|
-
function workersCompensationCrossSellQuestions(updates = {}) {
|
|
3302
|
-
return step(
|
|
3303
|
-
'workersCompensationCrossSellQuestions',
|
|
3304
|
-
[
|
|
3305
|
-
crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
|
|
3306
|
-
crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
|
|
3307
|
-
WorkersCompensationQuestions("true", 'CrossSell:Workers_Compensation'),
|
|
3308
|
-
],
|
|
3309
|
-
updates.nextOnEnter
|
|
3310
|
-
)
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
|
-
function legalCrossSells(updates = {}) {
|
|
3314
|
-
return step(
|
|
3315
|
-
'legalCrossSells',
|
|
3316
|
-
[
|
|
3317
|
-
legalCrossSellsStepHeadline(updates),
|
|
3318
|
-
legalCrossSells$1(),
|
|
3319
|
-
],
|
|
3320
|
-
updates.nextOnEnter
|
|
3321
|
-
)
|
|
3322
|
-
}
|
|
3323
|
-
|
|
3324
2909
|
const formNavigationV2 = () => ({
|
|
3325
2910
|
$el: 'div',
|
|
3326
2911
|
attrs: {
|
|
@@ -3416,7 +3001,7 @@ const schema = [
|
|
|
3416
3001
|
props: formProps({
|
|
3417
3002
|
formId: 'generalLegal',
|
|
3418
3003
|
redirectMap: legalRedirectMap(),
|
|
3419
|
-
valueOverrideMap: legalAllValueOverrideMap
|
|
3004
|
+
valueOverrideMap: legalAllValueOverrideMap,
|
|
3420
3005
|
}),
|
|
3421
3006
|
children: [
|
|
3422
3007
|
headline({
|
|
@@ -3436,16 +3021,16 @@ const schema = [
|
|
|
3436
3021
|
commentsWithBankruptcyV2({
|
|
3437
3022
|
nextOnEnter: false
|
|
3438
3023
|
}),
|
|
3439
|
-
legalCrossSells(),
|
|
3440
|
-
autoAndCarAccidentCrossSellQuestions(),
|
|
3441
|
-
personalInjuryCrossSellQuestions(),
|
|
3442
|
-
workersCompensationCrossSellQuestions(),
|
|
3443
|
-
duiAndDWICrossSellQuestions(),
|
|
3444
|
-
longTermDisabilityCrossSellQuestions(),
|
|
3445
|
-
powerOfAttorneyCrossSellQuestions(),
|
|
3446
|
-
willsAndTrustsCrossSellQuestions(),
|
|
3447
|
-
divorceAndSeparationCrossSellQuestions(),
|
|
3448
|
-
childCustodyCrossSellQuestions(),
|
|
3024
|
+
// steps.legalCrossSells(),
|
|
3025
|
+
// steps.autoAndCarAccidentCrossSellQuestions(),
|
|
3026
|
+
// steps.personalInjuryCrossSellQuestions(),
|
|
3027
|
+
// steps.workersCompensationCrossSellQuestions(),
|
|
3028
|
+
// steps.duiAndDWICrossSellQuestions(),
|
|
3029
|
+
// steps.longTermDisabilityCrossSellQuestions(),
|
|
3030
|
+
// steps.powerOfAttorneyCrossSellQuestions(),
|
|
3031
|
+
// steps.willsAndTrustsCrossSellQuestions(),
|
|
3032
|
+
// steps.divorceAndSeparationCrossSellQuestions(),
|
|
3033
|
+
// steps.childCustodyCrossSellQuestions(),
|
|
3449
3034
|
firstAndLastV2(),
|
|
3450
3035
|
contactInfoV2({
|
|
3451
3036
|
nextOnEnter: false
|