bhl-forms 0.6.6 → 0.6.8
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 +904 -902
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +2043 -2036
- package/dist/bhl-forms.modern.iife.js +6 -6
- package/dist/bhl-forms.modern.umd.js +6 -6
- package/dist/bhl-forms.umd.js +4 -4
- package/dist/forms/accidentsAndInjuries.es.js +27 -1
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +3 -2
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +2152 -0
- package/dist/forms/business.iife.js +1 -0
- package/dist/forms/business.json +1 -0
- package/dist/forms/childAndFamily.es.js +1 -1
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +425 -56
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +904 -260
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +3 -2
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +1 -1
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +870 -1482
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +815 -184
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +28 -2
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +28 -2
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +4409 -0
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -0
- package/dist/forms/generalLegalPopUnderSingle.json +1 -0
- package/dist/forms/generalLegalSingle.es.js +53 -8
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +28 -2
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +27 -1
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +3 -2
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/realEstate.es.js +27 -1
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +27 -1
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +2 -2
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +1 -1
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +3 -2
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +1 -1
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/package.json +1 -1
|
@@ -547,7 +547,7 @@ const primaryInjury = (scope) => sbs2ColRadio({
|
|
|
547
547
|
"Headaches",
|
|
548
548
|
"Memory Loss",
|
|
549
549
|
"Loss of Limb",
|
|
550
|
-
"
|
|
550
|
+
"Not Sure or Other"
|
|
551
551
|
]
|
|
552
552
|
});
|
|
553
553
|
|
|
@@ -632,9 +632,9 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
632
632
|
]
|
|
633
633
|
});
|
|
634
634
|
|
|
635
|
-
const zipcodeCenter = () => text({
|
|
635
|
+
const zipcodeCenter = (updates = {}) => text({
|
|
636
636
|
placeholder: '#####',
|
|
637
|
-
help: "We try to match you with local legal help",
|
|
637
|
+
help: updates.help ?? "We try to match you with local legal help",
|
|
638
638
|
name: 'Zip',
|
|
639
639
|
maxlength: 5,
|
|
640
640
|
inputmode: "numeric",
|
|
@@ -845,6 +845,16 @@ function verticalStepHeadline(updates) {
|
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
|
|
848
|
+
function verticalStepSubHeadline(updates) {
|
|
849
|
+
return {
|
|
850
|
+
$el: 'h5',
|
|
851
|
+
children: updates.subheadline || '',
|
|
852
|
+
attrs: {
|
|
853
|
+
class: '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' + ' ' + (updates.subheadlineClass || '')
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
848
858
|
function commentsStepHeadline(updates) {
|
|
849
859
|
return {
|
|
850
860
|
$el: 'h3',
|
|
@@ -1017,11 +1027,18 @@ function contactInfo(updates = {}) {
|
|
|
1017
1027
|
)
|
|
1018
1028
|
}
|
|
1019
1029
|
|
|
1020
|
-
function
|
|
1030
|
+
function firstAndLastV3(updates = {}) {
|
|
1021
1031
|
return step(
|
|
1022
1032
|
'firstAndLast',
|
|
1023
1033
|
[
|
|
1024
|
-
firstAndLastStepHeadline(
|
|
1034
|
+
firstAndLastStepHeadline({
|
|
1035
|
+
headline: updates.headline ?? 'Who is looking for help?',
|
|
1036
|
+
headlineClass: updates.headlineClass
|
|
1037
|
+
}),
|
|
1038
|
+
verticalStepSubHeadline({
|
|
1039
|
+
subheadline: updates.subheadline ?? 'Note: we never share info without consent',
|
|
1040
|
+
subheadlineClass: '!t-text-sm !t-text-gray-500'
|
|
1041
|
+
}),
|
|
1025
1042
|
firstName(),
|
|
1026
1043
|
lastName()
|
|
1027
1044
|
],
|
|
@@ -1177,7 +1194,7 @@ function childAndFamilyTOLP(updates = {}) {
|
|
|
1177
1194
|
function zipcode(updates = {}) {
|
|
1178
1195
|
return sqstep(
|
|
1179
1196
|
'zipcode',
|
|
1180
|
-
zipcodeCenter(),
|
|
1197
|
+
zipcodeCenter(updates),
|
|
1181
1198
|
'Please verify your Zip Code',
|
|
1182
1199
|
updates
|
|
1183
1200
|
)
|
|
@@ -1691,6 +1708,406 @@ const TOLPFinalSubHeadlines = {
|
|
|
1691
1708
|
// 'Non-Workplace Discrimination': '',
|
|
1692
1709
|
};
|
|
1693
1710
|
|
|
1711
|
+
const nextStepsLegalDefault = [
|
|
1712
|
+
'haveAttorney',
|
|
1713
|
+
'degreeOfInterest',
|
|
1714
|
+
'commentsWithBankruptcy',
|
|
1715
|
+
'zipcode',
|
|
1716
|
+
'legalCrossSells',
|
|
1717
|
+
'firstAndLast',
|
|
1718
|
+
'contactInfo',
|
|
1719
|
+
];
|
|
1720
|
+
|
|
1721
|
+
const nextStepsLegalDefaultLPM = [
|
|
1722
|
+
'haveAttorney',
|
|
1723
|
+
'degreeOfInterest',
|
|
1724
|
+
'lawyerPaymentMethod',
|
|
1725
|
+
'commentsWithBankruptcy',
|
|
1726
|
+
'zipcode',
|
|
1727
|
+
'legalCrossSells',
|
|
1728
|
+
'firstAndLast',
|
|
1729
|
+
'contactInfo',
|
|
1730
|
+
];
|
|
1731
|
+
|
|
1732
|
+
const nextStepsLegalNoDOI = [
|
|
1733
|
+
'haveAttorney',
|
|
1734
|
+
'commentsWithBankruptcy',
|
|
1735
|
+
'zipcode',
|
|
1736
|
+
'legalCrossSells',
|
|
1737
|
+
'firstAndLast',
|
|
1738
|
+
'contactInfo',
|
|
1739
|
+
];
|
|
1740
|
+
|
|
1741
|
+
const nextStepsLegalNoHA = [
|
|
1742
|
+
'degreeOfInterest',
|
|
1743
|
+
'commentsWithBankruptcy',
|
|
1744
|
+
'zipcode',
|
|
1745
|
+
'legalCrossSells',
|
|
1746
|
+
'firstAndLast',
|
|
1747
|
+
'contactInfo',
|
|
1748
|
+
];
|
|
1749
|
+
|
|
1750
|
+
const nextStepsMapGeneralLegal = {
|
|
1751
|
+
'Type_Of_Legal_Problem': {
|
|
1752
|
+
'Adoption': [
|
|
1753
|
+
'maritalStatus',
|
|
1754
|
+
'haveChildren',
|
|
1755
|
+
...nextStepsLegalDefaultLPM
|
|
1756
|
+
],
|
|
1757
|
+
'Asbestos and Mesothelioma': [
|
|
1758
|
+
'incidentDate',
|
|
1759
|
+
'doctorTreatment',
|
|
1760
|
+
...nextStepsLegalDefault
|
|
1761
|
+
],
|
|
1762
|
+
'Auto and Car Accidents': [
|
|
1763
|
+
'incidentDate',
|
|
1764
|
+
'atFault',
|
|
1765
|
+
'primaryInjury',
|
|
1766
|
+
'doctorTreatment',
|
|
1767
|
+
'policeReportFiled',
|
|
1768
|
+
...nextStepsLegalNoDOI
|
|
1769
|
+
],
|
|
1770
|
+
'Bankruptcy': [
|
|
1771
|
+
'totalMonthlyIncome',
|
|
1772
|
+
'totalDebt',
|
|
1773
|
+
'ownRealEstate',
|
|
1774
|
+
'valueOfAssets',
|
|
1775
|
+
...nextStepsLegalDefault
|
|
1776
|
+
],
|
|
1777
|
+
'Business Lawyers': [
|
|
1778
|
+
'businessServices',
|
|
1779
|
+
'businessType',
|
|
1780
|
+
'numEmployeesOfBusiness',
|
|
1781
|
+
...nextStepsLegalDefault
|
|
1782
|
+
],
|
|
1783
|
+
'Child Custody': [
|
|
1784
|
+
'childRelationship',
|
|
1785
|
+
'childHome',
|
|
1786
|
+
'childPrimaryCaregiver',
|
|
1787
|
+
...nextStepsLegalDefaultLPM
|
|
1788
|
+
],
|
|
1789
|
+
'Child Support': [
|
|
1790
|
+
'childRelationship',
|
|
1791
|
+
'childHome',
|
|
1792
|
+
'childPrimaryCaregiver',
|
|
1793
|
+
...nextStepsLegalDefaultLPM
|
|
1794
|
+
],
|
|
1795
|
+
'Civil Rights and Discrimination': [
|
|
1796
|
+
'civilRightsType',
|
|
1797
|
+
...nextStepsLegalDefault
|
|
1798
|
+
],
|
|
1799
|
+
'Civil Lawsuit': [
|
|
1800
|
+
'civilDefense',
|
|
1801
|
+
'lawsuitOtherParty',
|
|
1802
|
+
...nextStepsLegalDefault
|
|
1803
|
+
],
|
|
1804
|
+
'File a Lawsuit': [
|
|
1805
|
+
'civilLawsuitTOLPDisplay',
|
|
1806
|
+
'lawsuitOtherParty',
|
|
1807
|
+
...nextStepsLegalDefault
|
|
1808
|
+
],
|
|
1809
|
+
'Defend a Lawsuit': [
|
|
1810
|
+
'lawsuitOtherParty',
|
|
1811
|
+
...nextStepsLegalDefault
|
|
1812
|
+
],
|
|
1813
|
+
'Consumer Lawyers': [
|
|
1814
|
+
'consumerLawyerType',
|
|
1815
|
+
'incidentDate',
|
|
1816
|
+
'lawsuitOtherParty',
|
|
1817
|
+
...nextStepsLegalDefault
|
|
1818
|
+
],
|
|
1819
|
+
'Criminal and Felony': [
|
|
1820
|
+
'criminalTOLPDisplay',
|
|
1821
|
+
'crimeCommittedDate',
|
|
1822
|
+
'roleInMatterCriminal',
|
|
1823
|
+
'pendingCharges',
|
|
1824
|
+
...nextStepsLegalDefaultLPM
|
|
1825
|
+
],
|
|
1826
|
+
'Debt and Collections': [
|
|
1827
|
+
'totalMonthlyIncome',
|
|
1828
|
+
'totalDebt',
|
|
1829
|
+
'ownRealEstate',
|
|
1830
|
+
'valueOfAssets',
|
|
1831
|
+
...nextStepsLegalDefault
|
|
1832
|
+
],
|
|
1833
|
+
'Divorce and Separation': [
|
|
1834
|
+
'maritalStatus',
|
|
1835
|
+
'haveChildren',
|
|
1836
|
+
...nextStepsLegalDefaultLPM
|
|
1837
|
+
],
|
|
1838
|
+
'DUI and DWI': [
|
|
1839
|
+
'incidentDate',
|
|
1840
|
+
'priorAlcoholOffenses',
|
|
1841
|
+
'typeOfAlcoholTest',
|
|
1842
|
+
'bloodContentAlcoholTest',
|
|
1843
|
+
'pendingCharges',
|
|
1844
|
+
...nextStepsLegalDefault
|
|
1845
|
+
],
|
|
1846
|
+
'Employment and Workplace': [
|
|
1847
|
+
'employmentAndWorkplaceTOLPDisplay',
|
|
1848
|
+
'numEmployeesOfBusiness',
|
|
1849
|
+
'employerType',
|
|
1850
|
+
'employeeAtCompany',
|
|
1851
|
+
...nextStepsLegalDefault
|
|
1852
|
+
],
|
|
1853
|
+
'Expungement': [
|
|
1854
|
+
'incidentDate',
|
|
1855
|
+
'criminalChargeType',
|
|
1856
|
+
...nextStepsLegalDefaultLPM
|
|
1857
|
+
],
|
|
1858
|
+
'Family Issues': [
|
|
1859
|
+
'maritalStatus',
|
|
1860
|
+
'haveChildren',
|
|
1861
|
+
...nextStepsLegalDefaultLPM
|
|
1862
|
+
],
|
|
1863
|
+
'Foreclosure': [
|
|
1864
|
+
'ownRealEstate',
|
|
1865
|
+
'typeOfProperty',
|
|
1866
|
+
'amountPaymentsPastDue',
|
|
1867
|
+
'loanAmount',
|
|
1868
|
+
'defaultNotice',
|
|
1869
|
+
...nextStepsLegalDefault
|
|
1870
|
+
],
|
|
1871
|
+
'Guardianship': [
|
|
1872
|
+
'maritalStatus',
|
|
1873
|
+
'haveChildren',
|
|
1874
|
+
...nextStepsLegalDefaultLPM
|
|
1875
|
+
],
|
|
1876
|
+
'Immigration and Visas': [
|
|
1877
|
+
'countryOfCitizenship',
|
|
1878
|
+
'immigrationLocation',
|
|
1879
|
+
'immigrationEntry',
|
|
1880
|
+
'immigrationType',
|
|
1881
|
+
'immigrationStatus',
|
|
1882
|
+
'immigrationDetails',
|
|
1883
|
+
...nextStepsLegalDefault
|
|
1884
|
+
],
|
|
1885
|
+
'Landlord and Tenant': [
|
|
1886
|
+
'landlordTenantIssue',
|
|
1887
|
+
'landlordTenantParty',
|
|
1888
|
+
...nextStepsLegalDefault
|
|
1889
|
+
],
|
|
1890
|
+
'Lemon Law': [
|
|
1891
|
+
'incidentDate',
|
|
1892
|
+
'lawsuitOtherParty',
|
|
1893
|
+
...nextStepsLegalDefault
|
|
1894
|
+
],
|
|
1895
|
+
'Long Term Disability': [
|
|
1896
|
+
'applicantOccupation',
|
|
1897
|
+
'applicantAge',
|
|
1898
|
+
'applicantLTDisabilityPolicy',
|
|
1899
|
+
'applicantDisabilityHowObtain',
|
|
1900
|
+
'applicantPreviouslyAppliedLtdBenefits',
|
|
1901
|
+
'applicantReceivedDisabilityBenefits',
|
|
1902
|
+
'applicantMonthlySalary',
|
|
1903
|
+
...nextStepsLegalNoDOI
|
|
1904
|
+
],
|
|
1905
|
+
'Medical Malpractice': [
|
|
1906
|
+
'incidentDate',
|
|
1907
|
+
'claimStatus',
|
|
1908
|
+
'doctorTreatment',
|
|
1909
|
+
'medicalMalpracticeInjuries',
|
|
1910
|
+
...nextStepsLegalDefault
|
|
1911
|
+
],
|
|
1912
|
+
'Patents and Intellectual Property': [
|
|
1913
|
+
'patentAssistanceType',
|
|
1914
|
+
'patentFor',
|
|
1915
|
+
...nextStepsLegalDefault
|
|
1916
|
+
],
|
|
1917
|
+
'Personal Injury': [
|
|
1918
|
+
'incidentDate',
|
|
1919
|
+
'claimStatus',
|
|
1920
|
+
'atFault',
|
|
1921
|
+
'primaryInjury',
|
|
1922
|
+
'doctorTreatment',
|
|
1923
|
+
...nextStepsLegalNoDOI
|
|
1924
|
+
],
|
|
1925
|
+
'Probate and Estates': [
|
|
1926
|
+
'valueOfAssets',
|
|
1927
|
+
'typeOfAssets',
|
|
1928
|
+
'roleInMatterProbate',
|
|
1929
|
+
'estateLegalServicesNeeded',
|
|
1930
|
+
...nextStepsLegalDefault
|
|
1931
|
+
],
|
|
1932
|
+
'Property Damage': [
|
|
1933
|
+
'realEstateArea',
|
|
1934
|
+
'wouldLikeLawyerTo',
|
|
1935
|
+
...nextStepsLegalDefault
|
|
1936
|
+
],
|
|
1937
|
+
'Real Estate': [
|
|
1938
|
+
'realEstateTOLPDisplay',
|
|
1939
|
+
'realEstateArea',
|
|
1940
|
+
'wouldLikeLawyerTo',
|
|
1941
|
+
...nextStepsLegalDefault
|
|
1942
|
+
],
|
|
1943
|
+
'Social Security Disability and Insurance': [
|
|
1944
|
+
'applicantAge',
|
|
1945
|
+
'disabilityConditionStopWork',
|
|
1946
|
+
'disabilityWorkHistory',
|
|
1947
|
+
'socialSecurityDisabilityReceivingBenefits',
|
|
1948
|
+
'doctorTreatment',
|
|
1949
|
+
...nextStepsLegalNoDOI
|
|
1950
|
+
],
|
|
1951
|
+
'Tax and IRS': [
|
|
1952
|
+
'totalDebt',
|
|
1953
|
+
'taxProblemDetails',
|
|
1954
|
+
'taxLevel',
|
|
1955
|
+
'taxIssueType',
|
|
1956
|
+
...nextStepsLegalDefault
|
|
1957
|
+
],
|
|
1958
|
+
'Traffic and Tickets': [
|
|
1959
|
+
'driversLicenseType',
|
|
1960
|
+
'trafficViolations',
|
|
1961
|
+
'haveCourtDate',
|
|
1962
|
+
...nextStepsLegalDefault
|
|
1963
|
+
],
|
|
1964
|
+
'Unemployment': [
|
|
1965
|
+
'numEmployeesOfBusiness',
|
|
1966
|
+
'employerType',
|
|
1967
|
+
...nextStepsLegalNoHA
|
|
1968
|
+
],
|
|
1969
|
+
'Victim of a Crime': [
|
|
1970
|
+
'crimeCommittedDate',
|
|
1971
|
+
'roleInMatterCriminal',
|
|
1972
|
+
'pendingCharges',
|
|
1973
|
+
...nextStepsLegalDefaultLPM
|
|
1974
|
+
],
|
|
1975
|
+
'Wills and Trusts': [
|
|
1976
|
+
'valueOfAssets',
|
|
1977
|
+
'typeOfAssets',
|
|
1978
|
+
'roleInMatterProbate',
|
|
1979
|
+
'estateLegalServicesNeeded',
|
|
1980
|
+
...nextStepsLegalDefault
|
|
1981
|
+
],
|
|
1982
|
+
'Workers Compensation': [
|
|
1983
|
+
'incidentDate',
|
|
1984
|
+
'claimStatus',
|
|
1985
|
+
'primaryInjury',
|
|
1986
|
+
'causeOfInjury',
|
|
1987
|
+
'doctorTreatment',
|
|
1988
|
+
...nextStepsLegalNoDOI
|
|
1989
|
+
],
|
|
1990
|
+
'Workplace Harassment': [
|
|
1991
|
+
'numEmployeesOfBusiness',
|
|
1992
|
+
'employerType',
|
|
1993
|
+
'employeeAtCompany',
|
|
1994
|
+
...nextStepsLegalDefault
|
|
1995
|
+
],
|
|
1996
|
+
'Workplace Discrimination': [
|
|
1997
|
+
'numEmployeesOfBusiness',
|
|
1998
|
+
'employerType',
|
|
1999
|
+
'employeeAtCompany',
|
|
2000
|
+
...nextStepsLegalDefault
|
|
2001
|
+
],
|
|
2002
|
+
'Wrongful Death': [
|
|
2003
|
+
'incidentDate',
|
|
2004
|
+
'relationshipToVictim',
|
|
2005
|
+
'criminalChargesFiled',
|
|
2006
|
+
'causeOfDeath',
|
|
2007
|
+
...nextStepsLegalNoDOI
|
|
2008
|
+
],
|
|
2009
|
+
'Wrongful Termination': [
|
|
2010
|
+
'numEmployeesOfBusiness',
|
|
2011
|
+
'employerType',
|
|
2012
|
+
...nextStepsLegalDefault
|
|
2013
|
+
],
|
|
2014
|
+
},
|
|
2015
|
+
'*': nextStepsLegalDefault
|
|
2016
|
+
};
|
|
2017
|
+
|
|
2018
|
+
// function filterMapByKey(obj, keyList) {
|
|
2019
|
+
// return Object.fromEntries(
|
|
2020
|
+
// Object.entries(obj).filter(([key]) => keyList.includes(key))
|
|
2021
|
+
// );
|
|
2022
|
+
// }
|
|
2023
|
+
|
|
2024
|
+
// export function filteredNextStepsMapLegal(keyList) {
|
|
2025
|
+
// const res = { Type_Of_Legal_Problem: filterMapByKey(nextStepsMapGeneralLegal["Type_Of_Legal_Problem"], keyList) }
|
|
2026
|
+
// res["*"] = nextStepsMapGeneralLegal["*"]
|
|
2027
|
+
// return res
|
|
2028
|
+
// }
|
|
2029
|
+
|
|
2030
|
+
const TOLPNextSteps = nextStepsMapGeneralLegal["Type_Of_Legal_Problem"];
|
|
2031
|
+
|
|
2032
|
+
const nextStepsMapChildAndFamily = {
|
|
2033
|
+
'Type_Of_Legal_Problem': {
|
|
2034
|
+
'Child Custody': TOLPNextSteps["Child Custody"],
|
|
2035
|
+
'Child Support': TOLPNextSteps["Child Support"],
|
|
2036
|
+
'Not Sure or Other': nextStepsMapGeneralLegal["*"],
|
|
2037
|
+
},
|
|
2038
|
+
'*': TOLPNextSteps["Family Issues"]
|
|
2039
|
+
};
|
|
2040
|
+
|
|
2041
|
+
({
|
|
2042
|
+
'Civil_Defense': {
|
|
2043
|
+
'Yes': TOLPNextSteps["Defend a Lawsuit"],
|
|
2044
|
+
'No': TOLPNextSteps["File a Lawsuit"],
|
|
2045
|
+
},
|
|
2046
|
+
'*': [
|
|
2047
|
+
'lawsuitOtherParty',
|
|
2048
|
+
...nextStepsLegalDefault
|
|
2049
|
+
]
|
|
2050
|
+
});
|
|
2051
|
+
|
|
2052
|
+
({
|
|
2053
|
+
'Type_Of_Legal_Problem': {
|
|
2054
|
+
'Defend a Lawsuit': TOLPNextSteps["Defend a Lawsuit"],
|
|
2055
|
+
'File a Lawsuit': TOLPNextSteps["File a Lawsuit"],
|
|
2056
|
+
},
|
|
2057
|
+
'*': [
|
|
2058
|
+
'lawsuitOtherParty',
|
|
2059
|
+
...nextStepsLegalDefault
|
|
2060
|
+
]
|
|
2061
|
+
});
|
|
2062
|
+
|
|
2063
|
+
({
|
|
2064
|
+
'Type_Of_Legal_Problem_Display': {
|
|
2065
|
+
'Automobile Accident': TOLPNextSteps["Auto and Car Accidents"],
|
|
2066
|
+
'Contract Disputes': TOLPNextSteps["Business Lawyers"],
|
|
2067
|
+
'Dog Bite': TOLPNextSteps["Personal Injury"],
|
|
2068
|
+
'Employment and Workplace': TOLPNextSteps["Employment and Workplace"],
|
|
2069
|
+
'Fraud': TOLPNextSteps["Consumer Lawyers"],
|
|
2070
|
+
'Medical Malpractice': TOLPNextSteps["Medical Malpractice"],
|
|
2071
|
+
'Personal Injury': TOLPNextSteps["Personal Injury"],
|
|
2072
|
+
'Property Damage': TOLPNextSteps["Property Damage"],
|
|
2073
|
+
'Real Estate': TOLPNextSteps["Real Estate"],
|
|
2074
|
+
'Not Sure or Other': nextStepsMapGeneralLegal["*"],
|
|
2075
|
+
},
|
|
2076
|
+
'*': [
|
|
2077
|
+
'lawsuitOtherParty',
|
|
2078
|
+
...nextStepsLegalDefault
|
|
2079
|
+
]
|
|
2080
|
+
});
|
|
2081
|
+
|
|
2082
|
+
({
|
|
2083
|
+
'Type_Of_Legal_Problem_Display': {
|
|
2084
|
+
'Wrongful Termination': TOLPNextSteps["Wrongful Termination"],
|
|
2085
|
+
'Workers Compensation': TOLPNextSteps["Workers Compensation"],
|
|
2086
|
+
'Personal Injury': TOLPNextSteps["Personal Injury"],
|
|
2087
|
+
'Unemployment': TOLPNextSteps["Unemployment"],
|
|
2088
|
+
},
|
|
2089
|
+
'*': [
|
|
2090
|
+
'numEmployeesOfBusiness',
|
|
2091
|
+
'employerType',
|
|
2092
|
+
'employeeAtCompany',
|
|
2093
|
+
...nextStepsLegalDefault
|
|
2094
|
+
]
|
|
2095
|
+
});
|
|
2096
|
+
|
|
2097
|
+
({
|
|
2098
|
+
'Type_Of_Legal_Problem_Display': {
|
|
2099
|
+
'Foreclosure': TOLPNextSteps["Foreclosure"],
|
|
2100
|
+
'Landlord and Tenant': TOLPNextSteps["Landlord and Tenant"],
|
|
2101
|
+
'Wills, Trusts, and Estates': TOLPNextSteps["Wills and Trusts"],
|
|
2102
|
+
'Property Damage': TOLPNextSteps['Property Damage'],
|
|
2103
|
+
},
|
|
2104
|
+
'*': [
|
|
2105
|
+
'realEstateArea',
|
|
2106
|
+
'wouldLikeLawyerTo',
|
|
2107
|
+
...nextStepsLegalDefault
|
|
2108
|
+
]
|
|
2109
|
+
});
|
|
2110
|
+
|
|
1694
2111
|
const meta = defaultMetaProps();
|
|
1695
2112
|
|
|
1696
2113
|
meta.data.dynamicSchema = [
|
|
@@ -1720,7 +2137,7 @@ meta.data.dynamicSchema = [
|
|
|
1720
2137
|
ssdiCrossSellQuestions(),
|
|
1721
2138
|
powerOfAttorneyCrossSellQuestions(),
|
|
1722
2139
|
willsAndTrustsCrossSellQuestions(),
|
|
1723
|
-
|
|
2140
|
+
firstAndLastV3({
|
|
1724
2141
|
headlineClass: '!t-text-dark'
|
|
1725
2142
|
}),
|
|
1726
2143
|
];
|
|
@@ -1752,55 +2169,7 @@ const schema = [
|
|
|
1752
2169
|
},
|
|
1753
2170
|
children: [
|
|
1754
2171
|
childAndFamilyTOLP({
|
|
1755
|
-
nextStepMap:
|
|
1756
|
-
'Type_Of_Legal_Problem': {
|
|
1757
|
-
'Child Custody': [
|
|
1758
|
-
'childRelationship',
|
|
1759
|
-
'childHome',
|
|
1760
|
-
'childPrimaryCaregiver',
|
|
1761
|
-
'haveAttorney',
|
|
1762
|
-
'degreeOfInterest',
|
|
1763
|
-
'commentsWithBankruptcy',
|
|
1764
|
-
'zipcode',
|
|
1765
|
-
'legalCrossSells',
|
|
1766
|
-
'firstAndLast',
|
|
1767
|
-
'contactInfo',
|
|
1768
|
-
],
|
|
1769
|
-
'Child Support': [
|
|
1770
|
-
'childRelationship',
|
|
1771
|
-
'childHome',
|
|
1772
|
-
'childPrimaryCaregiver',
|
|
1773
|
-
'haveAttorney',
|
|
1774
|
-
'degreeOfInterest',
|
|
1775
|
-
'commentsWithBankruptcy',
|
|
1776
|
-
'zipcode',
|
|
1777
|
-
'legalCrossSells',
|
|
1778
|
-
'firstAndLast',
|
|
1779
|
-
'contactInfo',
|
|
1780
|
-
],
|
|
1781
|
-
'Not Sure or Other': [
|
|
1782
|
-
'haveAttorney',
|
|
1783
|
-
'degreeOfInterest',
|
|
1784
|
-
'commentsWithBankruptcy',
|
|
1785
|
-
'zipcode',
|
|
1786
|
-
'legalCrossSells',
|
|
1787
|
-
'firstAndLast',
|
|
1788
|
-
'contactInfo',
|
|
1789
|
-
]
|
|
1790
|
-
},
|
|
1791
|
-
'*': [
|
|
1792
|
-
'maritalStatus',
|
|
1793
|
-
'haveChildren',
|
|
1794
|
-
'haveAttorney',
|
|
1795
|
-
'degreeOfInterest',
|
|
1796
|
-
'lawyerPaymentMethod',
|
|
1797
|
-
'commentsWithBankruptcy',
|
|
1798
|
-
'zipcode',
|
|
1799
|
-
'legalCrossSells',
|
|
1800
|
-
'firstAndLast',
|
|
1801
|
-
'contactInfo',
|
|
1802
|
-
]
|
|
1803
|
-
}
|
|
2172
|
+
nextStepMap: nextStepsMapChildAndFamily
|
|
1804
2173
|
}),
|
|
1805
2174
|
dynamicSchemaNode,
|
|
1806
2175
|
contactInfo(),
|