bhl-forms 0.11.9 → 0.11.10
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/forms/accidentsAndInjuries.es.js +172 -0
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +389 -0
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +389 -0
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +380 -0
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +389 -0
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +111 -4
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.es.js +106 -3
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/coins.es.js +389 -0
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +389 -0
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +110 -4
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +111 -4
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +160 -0
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.es.js +372 -0
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +389 -0
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +389 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +389 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +389 -0
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +58 -0
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +389 -0
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +58 -0
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.es.js +58 -0
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +4579 -0
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -0
- package/dist/forms/generalLegalSingle1to1.json +1 -0
- package/dist/forms/generalLegalSingleMinimal.es.js +389 -0
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.es.js +389 -0
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +58 -0
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +389 -0
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +389 -0
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +389 -0
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +389 -0
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +112 -5
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +389 -0
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +389 -0
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +389 -0
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +389 -0
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +389 -0
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +389 -0
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +389 -0
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.es.js +389 -0
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +380 -0
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -2541,6 +2541,395 @@ const hiddenInputsHomeImprovement = [
|
|
|
2541
2541
|
...hiddenInputsBase,
|
|
2542
2542
|
];
|
|
2543
2543
|
|
|
2544
|
+
const nextStepsLegalDefault = [
|
|
2545
|
+
"haveAttorney",
|
|
2546
|
+
"degreeOfInterest",
|
|
2547
|
+
"commentsWithBankruptcy",
|
|
2548
|
+
"zipcode",
|
|
2549
|
+
"legalCrossSells",
|
|
2550
|
+
"firstAndLast",
|
|
2551
|
+
"contactInfo",
|
|
2552
|
+
];
|
|
2553
|
+
|
|
2554
|
+
const nextStepsLegalDefaultLPM = [
|
|
2555
|
+
"haveAttorney",
|
|
2556
|
+
"degreeOfInterest",
|
|
2557
|
+
"lawyerPaymentMethod",
|
|
2558
|
+
"commentsWithBankruptcy",
|
|
2559
|
+
"zipcode",
|
|
2560
|
+
"legalCrossSells",
|
|
2561
|
+
"firstAndLast",
|
|
2562
|
+
"contactInfo",
|
|
2563
|
+
];
|
|
2564
|
+
|
|
2565
|
+
const nextStepsLegalNoDOI = [
|
|
2566
|
+
"haveAttorney",
|
|
2567
|
+
"commentsWithBankruptcy",
|
|
2568
|
+
"zipcode",
|
|
2569
|
+
"legalCrossSells",
|
|
2570
|
+
"firstAndLast",
|
|
2571
|
+
"contactInfo",
|
|
2572
|
+
];
|
|
2573
|
+
|
|
2574
|
+
const nextStepsLegalNoHA = [
|
|
2575
|
+
"degreeOfInterest",
|
|
2576
|
+
"commentsWithBankruptcy",
|
|
2577
|
+
"zipcode",
|
|
2578
|
+
"legalCrossSells",
|
|
2579
|
+
"firstAndLast",
|
|
2580
|
+
"contactInfo",
|
|
2581
|
+
];
|
|
2582
|
+
|
|
2583
|
+
const nextStepsMapGeneralLegal = {
|
|
2584
|
+
values: {
|
|
2585
|
+
Type_Of_Legal_Problem: {
|
|
2586
|
+
Adoption: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2587
|
+
"Asbestos and Mesothelioma": ["incidentDate", "doctorTreatment", ...nextStepsLegalDefault],
|
|
2588
|
+
"Auto and Car Accidents": [
|
|
2589
|
+
"incidentDate",
|
|
2590
|
+
"atFault",
|
|
2591
|
+
"primaryInjury",
|
|
2592
|
+
"doctorTreatment",
|
|
2593
|
+
"policeReportFiled",
|
|
2594
|
+
...nextStepsLegalNoDOI,
|
|
2595
|
+
],
|
|
2596
|
+
Bankruptcy: ["totalMonthlyIncome", "totalDebt", "ownRealEstate", "valueOfAssets", ...nextStepsLegalDefault],
|
|
2597
|
+
"Business Lawyers": ["businessServices", "businessType", "numEmployeesOfBusiness", ...nextStepsLegalDefault],
|
|
2598
|
+
"Child Custody": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2599
|
+
"Child Support": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2600
|
+
"Civil Rights and Discrimination": ["civilRightsType", ...nextStepsLegalDefault],
|
|
2601
|
+
"Civil Lawsuit": ["civilDefense", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2602
|
+
"File a Lawsuit": ["civilLawsuitTOLPDisplay", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2603
|
+
"Defend a Lawsuit": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2604
|
+
"Consumer Lawyers": ["consumerLawyerType", "incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2605
|
+
"Criminal and Felony": [
|
|
2606
|
+
"criminalTOLPDisplay",
|
|
2607
|
+
"crimeCommittedDate",
|
|
2608
|
+
"roleInMatterCriminal",
|
|
2609
|
+
"pendingCharges",
|
|
2610
|
+
...nextStepsLegalDefaultLPM,
|
|
2611
|
+
],
|
|
2612
|
+
"Debt and Collections": [
|
|
2613
|
+
"totalMonthlyIncome",
|
|
2614
|
+
"totalDebt",
|
|
2615
|
+
"ownRealEstate",
|
|
2616
|
+
"valueOfAssets",
|
|
2617
|
+
...nextStepsLegalDefault,
|
|
2618
|
+
],
|
|
2619
|
+
"Divorce and Separation": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2620
|
+
"DUI and DWI": [
|
|
2621
|
+
"incidentDate",
|
|
2622
|
+
"priorAlcoholOffenses",
|
|
2623
|
+
"typeOfAlcoholTest",
|
|
2624
|
+
"bloodContentAlcoholTest",
|
|
2625
|
+
"pendingCharges",
|
|
2626
|
+
...nextStepsLegalDefault,
|
|
2627
|
+
],
|
|
2628
|
+
"Employment and Workplace": [
|
|
2629
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
2630
|
+
"numEmployeesOfBusiness",
|
|
2631
|
+
"employerType",
|
|
2632
|
+
"employeeAtCompany",
|
|
2633
|
+
...nextStepsLegalDefault,
|
|
2634
|
+
],
|
|
2635
|
+
Expungement: ["incidentDate", "criminalChargeType", ...nextStepsLegalDefaultLPM],
|
|
2636
|
+
"Family Issues": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2637
|
+
Foreclosure: [
|
|
2638
|
+
"ownRealEstate",
|
|
2639
|
+
"typeOfProperty",
|
|
2640
|
+
"amountPaymentsPastDue",
|
|
2641
|
+
"loanAmount",
|
|
2642
|
+
"defaultNotice",
|
|
2643
|
+
...nextStepsLegalDefault,
|
|
2644
|
+
],
|
|
2645
|
+
Guardianship: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2646
|
+
"Immigration and Visas": [
|
|
2647
|
+
"countryOfCitizenship",
|
|
2648
|
+
"immigrationLocation",
|
|
2649
|
+
"immigrationEntry",
|
|
2650
|
+
"immigrationType",
|
|
2651
|
+
"immigrationStatus",
|
|
2652
|
+
"immigrationDetails",
|
|
2653
|
+
...nextStepsLegalDefault,
|
|
2654
|
+
],
|
|
2655
|
+
"Landlord and Tenant": ["landlordTenantIssue", "landlordTenantParty", ...nextStepsLegalDefault],
|
|
2656
|
+
"Lemon Law": ["incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2657
|
+
"Long Term Disability": [
|
|
2658
|
+
"applicantOccupation",
|
|
2659
|
+
"applicantAge",
|
|
2660
|
+
"applicantLTDisabilityPolicy",
|
|
2661
|
+
"applicantDisabilityHowObtain",
|
|
2662
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
2663
|
+
"applicantReceivedDisabilityBenefits",
|
|
2664
|
+
"applicantMonthlySalary",
|
|
2665
|
+
...nextStepsLegalNoDOI,
|
|
2666
|
+
],
|
|
2667
|
+
"Medical Malpractice": [
|
|
2668
|
+
"incidentDate",
|
|
2669
|
+
"claimStatus",
|
|
2670
|
+
"doctorTreatment",
|
|
2671
|
+
"medicalMalpracticeInjuries",
|
|
2672
|
+
...nextStepsLegalDefault,
|
|
2673
|
+
],
|
|
2674
|
+
"Patents and Intellectual Property": ["patentAssistanceType", "patentFor", ...nextStepsLegalDefault],
|
|
2675
|
+
"Personal Injury": [
|
|
2676
|
+
"incidentDate",
|
|
2677
|
+
"claimStatus",
|
|
2678
|
+
"atFault",
|
|
2679
|
+
"primaryInjury",
|
|
2680
|
+
"doctorTreatment",
|
|
2681
|
+
...nextStepsLegalNoDOI,
|
|
2682
|
+
],
|
|
2683
|
+
"Probate and Estates": [
|
|
2684
|
+
"valueOfAssets",
|
|
2685
|
+
"typeOfAssets",
|
|
2686
|
+
"roleInMatterProbate",
|
|
2687
|
+
"estateLegalServicesNeeded",
|
|
2688
|
+
...nextStepsLegalDefault,
|
|
2689
|
+
],
|
|
2690
|
+
"Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2691
|
+
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2692
|
+
"Social Security Disability and Insurance": [
|
|
2693
|
+
"applicantAge",
|
|
2694
|
+
"disabilityConditionStopWork",
|
|
2695
|
+
"disabilityWorkHistory",
|
|
2696
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
2697
|
+
"doctorTreatment",
|
|
2698
|
+
...nextStepsLegalNoDOI,
|
|
2699
|
+
],
|
|
2700
|
+
"Tax and IRS": ["totalDebt", "taxProblemDetails", "taxLevel", "taxIssueType", ...nextStepsLegalDefault],
|
|
2701
|
+
"Traffic and Tickets": ["driversLicenseType", "trafficViolations", "haveCourtDate", ...nextStepsLegalDefault],
|
|
2702
|
+
Unemployment: ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalNoHA],
|
|
2703
|
+
"Victim of a Crime": [
|
|
2704
|
+
"crimeCommittedDate",
|
|
2705
|
+
"roleInMatterCriminal",
|
|
2706
|
+
"pendingCharges",
|
|
2707
|
+
...nextStepsLegalDefaultLPM,
|
|
2708
|
+
],
|
|
2709
|
+
"Wills and Trusts": [
|
|
2710
|
+
"valueOfAssets",
|
|
2711
|
+
"typeOfAssets",
|
|
2712
|
+
"roleInMatterProbate",
|
|
2713
|
+
"estateLegalServicesNeeded",
|
|
2714
|
+
...nextStepsLegalDefault,
|
|
2715
|
+
],
|
|
2716
|
+
"Workers Compensation": [
|
|
2717
|
+
"incidentDate",
|
|
2718
|
+
"claimStatus",
|
|
2719
|
+
"primaryInjury",
|
|
2720
|
+
"causeOfInjury",
|
|
2721
|
+
"doctorTreatment",
|
|
2722
|
+
...nextStepsLegalNoDOI,
|
|
2723
|
+
],
|
|
2724
|
+
"Workplace Harassment": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2725
|
+
"Workplace Discrimination": [
|
|
2726
|
+
"numEmployeesOfBusiness",
|
|
2727
|
+
"employerType",
|
|
2728
|
+
"employeeAtCompany",
|
|
2729
|
+
...nextStepsLegalDefault,
|
|
2730
|
+
],
|
|
2731
|
+
"Wrongful Death": [
|
|
2732
|
+
"incidentDate",
|
|
2733
|
+
"relationshipToVictim",
|
|
2734
|
+
"criminalChargesFiled",
|
|
2735
|
+
"causeOfDeath",
|
|
2736
|
+
...nextStepsLegalNoDOI,
|
|
2737
|
+
],
|
|
2738
|
+
"Wrongful Termination": ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalDefault],
|
|
2739
|
+
},
|
|
2740
|
+
"*": nextStepsLegalDefault,
|
|
2741
|
+
},
|
|
2742
|
+
};
|
|
2743
|
+
|
|
2744
|
+
// Helper to take existing map and trim or replace steps
|
|
2745
|
+
function filterNextStepsMap(nextStepsMap, removableSteps = [], replaceSteps = {}) {
|
|
2746
|
+
const modifiedMap = { ...nextStepsMap };
|
|
2747
|
+
|
|
2748
|
+
function filterSteps(steps) {
|
|
2749
|
+
return steps.filter((step) => !removableSteps.includes(step)).map((step) => replaceSteps[step] || step)
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
function modifyValues(values) {
|
|
2753
|
+
const modifiedValues = {};
|
|
2754
|
+
for (const key in values) {
|
|
2755
|
+
if (Array.isArray(values[key])) {
|
|
2756
|
+
modifiedValues[key] = filterSteps(values[key]);
|
|
2757
|
+
} else if (typeof values[key] === "object") {
|
|
2758
|
+
modifiedValues[key] = modifyValues(values[key]);
|
|
2759
|
+
} else {
|
|
2760
|
+
modifiedValues[key] = values[key];
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
return modifiedValues
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
modifiedMap.values = modifyValues(nextStepsMap.values);
|
|
2767
|
+
return modifiedMap
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
filterNextStepsMap(nextStepsMapGeneralLegal, ["legalCrossSells"], {
|
|
2771
|
+
commentsWithBankruptcy: "comments",
|
|
2772
|
+
});
|
|
2773
|
+
|
|
2774
|
+
const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"];
|
|
2775
|
+
|
|
2776
|
+
({
|
|
2777
|
+
values: {
|
|
2778
|
+
Type_Of_Legal_Problem_Display: {
|
|
2779
|
+
"Auto Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2780
|
+
"Workplace Injury": TOLPNextSteps["Workers Compensation"].filter((step) => step !== "legalCrossSells"),
|
|
2781
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2782
|
+
"Slip and Fall": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2783
|
+
"Trucking Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2784
|
+
"Motorcycle Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2785
|
+
"Other Accidents or Injuries": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2786
|
+
},
|
|
2787
|
+
"*": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2788
|
+
},
|
|
2789
|
+
});
|
|
2790
|
+
|
|
2791
|
+
({
|
|
2792
|
+
values: {
|
|
2793
|
+
Type_Of_Legal_Problem: {
|
|
2794
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
2795
|
+
"Child Support": TOLPNextSteps["Child Support"],
|
|
2796
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2797
|
+
},
|
|
2798
|
+
"*": TOLPNextSteps["Family Issues"],
|
|
2799
|
+
},
|
|
2800
|
+
});
|
|
2801
|
+
|
|
2802
|
+
({
|
|
2803
|
+
values: {
|
|
2804
|
+
Type_Of_Legal_Problem_Display: {
|
|
2805
|
+
"Alimony or Child Support": TOLPNextSteps["Child Support"],
|
|
2806
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
2807
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2808
|
+
},
|
|
2809
|
+
"*": TOLPNextSteps["Divorce and Separation"],
|
|
2810
|
+
},
|
|
2811
|
+
});
|
|
2812
|
+
|
|
2813
|
+
({
|
|
2814
|
+
values: {
|
|
2815
|
+
Civil_Defense: {
|
|
2816
|
+
Yes: TOLPNextSteps["Defend a Lawsuit"],
|
|
2817
|
+
No: TOLPNextSteps["File a Lawsuit"],
|
|
2818
|
+
},
|
|
2819
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2820
|
+
},
|
|
2821
|
+
});
|
|
2822
|
+
|
|
2823
|
+
({
|
|
2824
|
+
values: {
|
|
2825
|
+
Type_Of_Legal_Problem: {
|
|
2826
|
+
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
2827
|
+
"File a Lawsuit": TOLPNextSteps["File a Lawsuit"],
|
|
2828
|
+
},
|
|
2829
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2830
|
+
},
|
|
2831
|
+
});
|
|
2832
|
+
|
|
2833
|
+
const nextStepsMapCivilTOLPDisplay = {
|
|
2834
|
+
values: {
|
|
2835
|
+
Type_Of_Legal_Problem_Display: {
|
|
2836
|
+
"Automobile Accident": TOLPNextSteps["Auto and Car Accidents"],
|
|
2837
|
+
"Contract Disputes": TOLPNextSteps["Business Lawyers"],
|
|
2838
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"],
|
|
2839
|
+
"Employment and Workplace": TOLPNextSteps["Employment and Workplace"],
|
|
2840
|
+
Fraud: TOLPNextSteps["Consumer Lawyers"],
|
|
2841
|
+
"Medical Malpractice": TOLPNextSteps["Medical Malpractice"],
|
|
2842
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
2843
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
2844
|
+
"Real Estate": TOLPNextSteps["Real Estate"],
|
|
2845
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2846
|
+
},
|
|
2847
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2848
|
+
},
|
|
2849
|
+
};
|
|
2850
|
+
|
|
2851
|
+
filterNextStepsMap(nextStepsMapCivilTOLPDisplay, ["legalCrossSells"], {
|
|
2852
|
+
commentsWithBankruptcy: "comments",
|
|
2853
|
+
});
|
|
2854
|
+
|
|
2855
|
+
const nextStepsMapCriminalTOLPDisplay = {
|
|
2856
|
+
values: {
|
|
2857
|
+
Type_Of_Legal_Problem_Display: {
|
|
2858
|
+
"Victim of a Crime": TOLPNextSteps["Victim of a Crime"],
|
|
2859
|
+
"DUI and DWI": TOLPNextSteps["DUI and DWI"],
|
|
2860
|
+
Expungement: TOLPNextSteps["Expungement"],
|
|
2861
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2862
|
+
},
|
|
2863
|
+
"*": ["crimeCommittedDate", "roleInMatterCriminal", "pendingCharges", ...nextStepsLegalDefaultLPM],
|
|
2864
|
+
},
|
|
2865
|
+
};
|
|
2866
|
+
|
|
2867
|
+
filterNextStepsMap(
|
|
2868
|
+
nextStepsMapCriminalTOLPDisplay,
|
|
2869
|
+
["legalCrossSells"],
|
|
2870
|
+
{
|
|
2871
|
+
commentsWithBankruptcy: "comments",
|
|
2872
|
+
}
|
|
2873
|
+
);
|
|
2874
|
+
|
|
2875
|
+
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay = {
|
|
2876
|
+
values: {
|
|
2877
|
+
Type_Of_Legal_Problem_Display: {
|
|
2878
|
+
"Wrongful Termination": TOLPNextSteps["Wrongful Termination"],
|
|
2879
|
+
"Workers Compensation": TOLPNextSteps["Workers Compensation"],
|
|
2880
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
2881
|
+
Unemployment: TOLPNextSteps["Unemployment"],
|
|
2882
|
+
},
|
|
2883
|
+
"*": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2884
|
+
},
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
filterNextStepsMap(
|
|
2888
|
+
nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
2889
|
+
["legalCrossSells"],
|
|
2890
|
+
{
|
|
2891
|
+
commentsWithBankruptcy: "comments",
|
|
2892
|
+
}
|
|
2893
|
+
);
|
|
2894
|
+
|
|
2895
|
+
({
|
|
2896
|
+
values: {
|
|
2897
|
+
// Custom because we ask typeOfProperty on s1
|
|
2898
|
+
"*": ["amountPaymentsPastDue", "loanAmount", "defaultNotice", "ownRealEstate", ...nextStepsLegalDefault],
|
|
2899
|
+
},
|
|
2900
|
+
});
|
|
2901
|
+
|
|
2902
|
+
({
|
|
2903
|
+
values: {
|
|
2904
|
+
Type_Of_Legal_Problem_Display: {
|
|
2905
|
+
Patents: TOLPNextSteps["Patents and Intellectual Property"],
|
|
2906
|
+
"Business Lawyers": TOLPNextSteps["Business Lawyers"],
|
|
2907
|
+
"Business Consulting": TOLPNextSteps["Business Lawyers"],
|
|
2908
|
+
},
|
|
2909
|
+
"*": nextStepsMapGeneralLegal["values"]["*"],
|
|
2910
|
+
},
|
|
2911
|
+
});
|
|
2912
|
+
|
|
2913
|
+
const nextStepsMapRealEstateTOLPDisplay = {
|
|
2914
|
+
values: {
|
|
2915
|
+
Type_Of_Legal_Problem_Display: {
|
|
2916
|
+
Foreclosure: TOLPNextSteps["Foreclosure"],
|
|
2917
|
+
"Landlord and Tenant": TOLPNextSteps["Landlord and Tenant"],
|
|
2918
|
+
"Wills, Trusts, and Estates": TOLPNextSteps["Wills and Trusts"],
|
|
2919
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
2920
|
+
},
|
|
2921
|
+
"*": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2922
|
+
},
|
|
2923
|
+
};
|
|
2924
|
+
|
|
2925
|
+
filterNextStepsMap(
|
|
2926
|
+
nextStepsMapRealEstateTOLPDisplay,
|
|
2927
|
+
["legalCrossSells"],
|
|
2928
|
+
{
|
|
2929
|
+
commentsWithBankruptcy: "comments",
|
|
2930
|
+
}
|
|
2931
|
+
);
|
|
2932
|
+
|
|
2544
2933
|
// ------ Home Improvement
|
|
2545
2934
|
|
|
2546
2935
|
const HomeImprovementCommentsPlaceholders = {
|