bhl-forms 0.11.8 → 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 +390 -1
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +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
|
@@ -2303,6 +2303,36 @@ const TOLPFinalSubHeadlines = {
|
|
|
2303
2303
|
// // 'Non-Workplace Discrimination': '',
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
+
const nextStepsLegalDefault = [
|
|
2307
|
+
"haveAttorney",
|
|
2308
|
+
"degreeOfInterest",
|
|
2309
|
+
"commentsWithBankruptcy",
|
|
2310
|
+
"zipcode",
|
|
2311
|
+
"legalCrossSells",
|
|
2312
|
+
"firstAndLast",
|
|
2313
|
+
"contactInfo",
|
|
2314
|
+
];
|
|
2315
|
+
|
|
2316
|
+
const nextStepsLegalDefaultLPM = [
|
|
2317
|
+
"haveAttorney",
|
|
2318
|
+
"degreeOfInterest",
|
|
2319
|
+
"lawyerPaymentMethod",
|
|
2320
|
+
"commentsWithBankruptcy",
|
|
2321
|
+
"zipcode",
|
|
2322
|
+
"legalCrossSells",
|
|
2323
|
+
"firstAndLast",
|
|
2324
|
+
"contactInfo",
|
|
2325
|
+
];
|
|
2326
|
+
|
|
2327
|
+
const nextStepsLegalNoDOI = [
|
|
2328
|
+
"haveAttorney",
|
|
2329
|
+
"commentsWithBankruptcy",
|
|
2330
|
+
"zipcode",
|
|
2331
|
+
"legalCrossSells",
|
|
2332
|
+
"firstAndLast",
|
|
2333
|
+
"contactInfo",
|
|
2334
|
+
];
|
|
2335
|
+
|
|
2306
2336
|
const nextStepsLegalNoHA = [
|
|
2307
2337
|
"degreeOfInterest",
|
|
2308
2338
|
"commentsWithBankruptcy",
|
|
@@ -2312,12 +2342,362 @@ const nextStepsLegalNoHA = [
|
|
|
2312
2342
|
"contactInfo",
|
|
2313
2343
|
];
|
|
2314
2344
|
|
|
2345
|
+
const nextStepsMapGeneralLegal = {
|
|
2346
|
+
values: {
|
|
2347
|
+
Type_Of_Legal_Problem: {
|
|
2348
|
+
Adoption: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2349
|
+
"Asbestos and Mesothelioma": ["incidentDate", "doctorTreatment", ...nextStepsLegalDefault],
|
|
2350
|
+
"Auto and Car Accidents": [
|
|
2351
|
+
"incidentDate",
|
|
2352
|
+
"atFault",
|
|
2353
|
+
"primaryInjury",
|
|
2354
|
+
"doctorTreatment",
|
|
2355
|
+
"policeReportFiled",
|
|
2356
|
+
...nextStepsLegalNoDOI,
|
|
2357
|
+
],
|
|
2358
|
+
Bankruptcy: ["totalMonthlyIncome", "totalDebt", "ownRealEstate", "valueOfAssets", ...nextStepsLegalDefault],
|
|
2359
|
+
"Business Lawyers": ["businessServices", "businessType", "numEmployeesOfBusiness", ...nextStepsLegalDefault],
|
|
2360
|
+
"Child Custody": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2361
|
+
"Child Support": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2362
|
+
"Civil Rights and Discrimination": ["civilRightsType", ...nextStepsLegalDefault],
|
|
2363
|
+
"Civil Lawsuit": ["civilDefense", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2364
|
+
"File a Lawsuit": ["civilLawsuitTOLPDisplay", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2365
|
+
"Defend a Lawsuit": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2366
|
+
"Consumer Lawyers": ["consumerLawyerType", "incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2367
|
+
"Criminal and Felony": [
|
|
2368
|
+
"criminalTOLPDisplay",
|
|
2369
|
+
"crimeCommittedDate",
|
|
2370
|
+
"roleInMatterCriminal",
|
|
2371
|
+
"pendingCharges",
|
|
2372
|
+
...nextStepsLegalDefaultLPM,
|
|
2373
|
+
],
|
|
2374
|
+
"Debt and Collections": [
|
|
2375
|
+
"totalMonthlyIncome",
|
|
2376
|
+
"totalDebt",
|
|
2377
|
+
"ownRealEstate",
|
|
2378
|
+
"valueOfAssets",
|
|
2379
|
+
...nextStepsLegalDefault,
|
|
2380
|
+
],
|
|
2381
|
+
"Divorce and Separation": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2382
|
+
"DUI and DWI": [
|
|
2383
|
+
"incidentDate",
|
|
2384
|
+
"priorAlcoholOffenses",
|
|
2385
|
+
"typeOfAlcoholTest",
|
|
2386
|
+
"bloodContentAlcoholTest",
|
|
2387
|
+
"pendingCharges",
|
|
2388
|
+
...nextStepsLegalDefault,
|
|
2389
|
+
],
|
|
2390
|
+
"Employment and Workplace": [
|
|
2391
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
2392
|
+
"numEmployeesOfBusiness",
|
|
2393
|
+
"employerType",
|
|
2394
|
+
"employeeAtCompany",
|
|
2395
|
+
...nextStepsLegalDefault,
|
|
2396
|
+
],
|
|
2397
|
+
Expungement: ["incidentDate", "criminalChargeType", ...nextStepsLegalDefaultLPM],
|
|
2398
|
+
"Family Issues": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2399
|
+
Foreclosure: [
|
|
2400
|
+
"ownRealEstate",
|
|
2401
|
+
"typeOfProperty",
|
|
2402
|
+
"amountPaymentsPastDue",
|
|
2403
|
+
"loanAmount",
|
|
2404
|
+
"defaultNotice",
|
|
2405
|
+
...nextStepsLegalDefault,
|
|
2406
|
+
],
|
|
2407
|
+
Guardianship: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2408
|
+
"Immigration and Visas": [
|
|
2409
|
+
"countryOfCitizenship",
|
|
2410
|
+
"immigrationLocation",
|
|
2411
|
+
"immigrationEntry",
|
|
2412
|
+
"immigrationType",
|
|
2413
|
+
"immigrationStatus",
|
|
2414
|
+
"immigrationDetails",
|
|
2415
|
+
...nextStepsLegalDefault,
|
|
2416
|
+
],
|
|
2417
|
+
"Landlord and Tenant": ["landlordTenantIssue", "landlordTenantParty", ...nextStepsLegalDefault],
|
|
2418
|
+
"Lemon Law": ["incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2419
|
+
"Long Term Disability": [
|
|
2420
|
+
"applicantOccupation",
|
|
2421
|
+
"applicantAge",
|
|
2422
|
+
"applicantLTDisabilityPolicy",
|
|
2423
|
+
"applicantDisabilityHowObtain",
|
|
2424
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
2425
|
+
"applicantReceivedDisabilityBenefits",
|
|
2426
|
+
"applicantMonthlySalary",
|
|
2427
|
+
...nextStepsLegalNoDOI,
|
|
2428
|
+
],
|
|
2429
|
+
"Medical Malpractice": [
|
|
2430
|
+
"incidentDate",
|
|
2431
|
+
"claimStatus",
|
|
2432
|
+
"doctorTreatment",
|
|
2433
|
+
"medicalMalpracticeInjuries",
|
|
2434
|
+
...nextStepsLegalDefault,
|
|
2435
|
+
],
|
|
2436
|
+
"Patents and Intellectual Property": ["patentAssistanceType", "patentFor", ...nextStepsLegalDefault],
|
|
2437
|
+
"Personal Injury": [
|
|
2438
|
+
"incidentDate",
|
|
2439
|
+
"claimStatus",
|
|
2440
|
+
"atFault",
|
|
2441
|
+
"primaryInjury",
|
|
2442
|
+
"doctorTreatment",
|
|
2443
|
+
...nextStepsLegalNoDOI,
|
|
2444
|
+
],
|
|
2445
|
+
"Probate and Estates": [
|
|
2446
|
+
"valueOfAssets",
|
|
2447
|
+
"typeOfAssets",
|
|
2448
|
+
"roleInMatterProbate",
|
|
2449
|
+
"estateLegalServicesNeeded",
|
|
2450
|
+
...nextStepsLegalDefault,
|
|
2451
|
+
],
|
|
2452
|
+
"Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2453
|
+
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2454
|
+
"Social Security Disability and Insurance": [
|
|
2455
|
+
"applicantAge",
|
|
2456
|
+
"disabilityConditionStopWork",
|
|
2457
|
+
"disabilityWorkHistory",
|
|
2458
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
2459
|
+
"doctorTreatment",
|
|
2460
|
+
...nextStepsLegalNoDOI,
|
|
2461
|
+
],
|
|
2462
|
+
"Tax and IRS": ["totalDebt", "taxProblemDetails", "taxLevel", "taxIssueType", ...nextStepsLegalDefault],
|
|
2463
|
+
"Traffic and Tickets": ["driversLicenseType", "trafficViolations", "haveCourtDate", ...nextStepsLegalDefault],
|
|
2464
|
+
Unemployment: ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalNoHA],
|
|
2465
|
+
"Victim of a Crime": [
|
|
2466
|
+
"crimeCommittedDate",
|
|
2467
|
+
"roleInMatterCriminal",
|
|
2468
|
+
"pendingCharges",
|
|
2469
|
+
...nextStepsLegalDefaultLPM,
|
|
2470
|
+
],
|
|
2471
|
+
"Wills and Trusts": [
|
|
2472
|
+
"valueOfAssets",
|
|
2473
|
+
"typeOfAssets",
|
|
2474
|
+
"roleInMatterProbate",
|
|
2475
|
+
"estateLegalServicesNeeded",
|
|
2476
|
+
...nextStepsLegalDefault,
|
|
2477
|
+
],
|
|
2478
|
+
"Workers Compensation": [
|
|
2479
|
+
"incidentDate",
|
|
2480
|
+
"claimStatus",
|
|
2481
|
+
"primaryInjury",
|
|
2482
|
+
"causeOfInjury",
|
|
2483
|
+
"doctorTreatment",
|
|
2484
|
+
...nextStepsLegalNoDOI,
|
|
2485
|
+
],
|
|
2486
|
+
"Workplace Harassment": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2487
|
+
"Workplace Discrimination": [
|
|
2488
|
+
"numEmployeesOfBusiness",
|
|
2489
|
+
"employerType",
|
|
2490
|
+
"employeeAtCompany",
|
|
2491
|
+
...nextStepsLegalDefault,
|
|
2492
|
+
],
|
|
2493
|
+
"Wrongful Death": [
|
|
2494
|
+
"incidentDate",
|
|
2495
|
+
"relationshipToVictim",
|
|
2496
|
+
"criminalChargesFiled",
|
|
2497
|
+
"causeOfDeath",
|
|
2498
|
+
...nextStepsLegalNoDOI,
|
|
2499
|
+
],
|
|
2500
|
+
"Wrongful Termination": ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalDefault],
|
|
2501
|
+
},
|
|
2502
|
+
"*": nextStepsLegalDefault,
|
|
2503
|
+
},
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
// Helper to take existing map and trim or replace steps
|
|
2507
|
+
function filterNextStepsMap(nextStepsMap, removableSteps = [], replaceSteps = {}) {
|
|
2508
|
+
const modifiedMap = { ...nextStepsMap };
|
|
2509
|
+
|
|
2510
|
+
function filterSteps(steps) {
|
|
2511
|
+
return steps.filter((step) => !removableSteps.includes(step)).map((step) => replaceSteps[step] || step)
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
function modifyValues(values) {
|
|
2515
|
+
const modifiedValues = {};
|
|
2516
|
+
for (const key in values) {
|
|
2517
|
+
if (Array.isArray(values[key])) {
|
|
2518
|
+
modifiedValues[key] = filterSteps(values[key]);
|
|
2519
|
+
} else if (typeof values[key] === "object") {
|
|
2520
|
+
modifiedValues[key] = modifyValues(values[key]);
|
|
2521
|
+
} else {
|
|
2522
|
+
modifiedValues[key] = values[key];
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
return modifiedValues
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
modifiedMap.values = modifyValues(nextStepsMap.values);
|
|
2529
|
+
return modifiedMap
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
filterNextStepsMap(nextStepsMapGeneralLegal, ["legalCrossSells"], {
|
|
2533
|
+
commentsWithBankruptcy: "comments",
|
|
2534
|
+
});
|
|
2535
|
+
|
|
2536
|
+
const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"];
|
|
2537
|
+
|
|
2538
|
+
({
|
|
2539
|
+
values: {
|
|
2540
|
+
Type_Of_Legal_Problem_Display: {
|
|
2541
|
+
"Auto Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2542
|
+
"Workplace Injury": TOLPNextSteps["Workers Compensation"].filter((step) => step !== "legalCrossSells"),
|
|
2543
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2544
|
+
"Slip and Fall": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2545
|
+
"Trucking Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2546
|
+
"Motorcycle Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
2547
|
+
"Other Accidents or Injuries": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2548
|
+
},
|
|
2549
|
+
"*": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
2550
|
+
},
|
|
2551
|
+
});
|
|
2552
|
+
|
|
2315
2553
|
const nextStepsMapBusinessServicesDisplay = {
|
|
2316
2554
|
values: {
|
|
2317
2555
|
"*": ["businessType", "numEmployeesOfBusiness", ...nextStepsLegalNoHA],
|
|
2318
2556
|
},
|
|
2319
2557
|
};
|
|
2320
2558
|
|
|
2559
|
+
({
|
|
2560
|
+
values: {
|
|
2561
|
+
Type_Of_Legal_Problem: {
|
|
2562
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
2563
|
+
"Child Support": TOLPNextSteps["Child Support"],
|
|
2564
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2565
|
+
},
|
|
2566
|
+
"*": TOLPNextSteps["Family Issues"],
|
|
2567
|
+
},
|
|
2568
|
+
});
|
|
2569
|
+
|
|
2570
|
+
({
|
|
2571
|
+
values: {
|
|
2572
|
+
Type_Of_Legal_Problem_Display: {
|
|
2573
|
+
"Alimony or Child Support": TOLPNextSteps["Child Support"],
|
|
2574
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
2575
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2576
|
+
},
|
|
2577
|
+
"*": TOLPNextSteps["Divorce and Separation"],
|
|
2578
|
+
},
|
|
2579
|
+
});
|
|
2580
|
+
|
|
2581
|
+
({
|
|
2582
|
+
values: {
|
|
2583
|
+
Civil_Defense: {
|
|
2584
|
+
Yes: TOLPNextSteps["Defend a Lawsuit"],
|
|
2585
|
+
No: TOLPNextSteps["File a Lawsuit"],
|
|
2586
|
+
},
|
|
2587
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2588
|
+
},
|
|
2589
|
+
});
|
|
2590
|
+
|
|
2591
|
+
({
|
|
2592
|
+
values: {
|
|
2593
|
+
Type_Of_Legal_Problem: {
|
|
2594
|
+
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
2595
|
+
"File a Lawsuit": TOLPNextSteps["File a Lawsuit"],
|
|
2596
|
+
},
|
|
2597
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2598
|
+
},
|
|
2599
|
+
});
|
|
2600
|
+
|
|
2601
|
+
const nextStepsMapCivilTOLPDisplay = {
|
|
2602
|
+
values: {
|
|
2603
|
+
Type_Of_Legal_Problem_Display: {
|
|
2604
|
+
"Automobile Accident": TOLPNextSteps["Auto and Car Accidents"],
|
|
2605
|
+
"Contract Disputes": TOLPNextSteps["Business Lawyers"],
|
|
2606
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"],
|
|
2607
|
+
"Employment and Workplace": TOLPNextSteps["Employment and Workplace"],
|
|
2608
|
+
Fraud: TOLPNextSteps["Consumer Lawyers"],
|
|
2609
|
+
"Medical Malpractice": TOLPNextSteps["Medical Malpractice"],
|
|
2610
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
2611
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
2612
|
+
"Real Estate": TOLPNextSteps["Real Estate"],
|
|
2613
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2614
|
+
},
|
|
2615
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2616
|
+
},
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
filterNextStepsMap(nextStepsMapCivilTOLPDisplay, ["legalCrossSells"], {
|
|
2620
|
+
commentsWithBankruptcy: "comments",
|
|
2621
|
+
});
|
|
2622
|
+
|
|
2623
|
+
const nextStepsMapCriminalTOLPDisplay = {
|
|
2624
|
+
values: {
|
|
2625
|
+
Type_Of_Legal_Problem_Display: {
|
|
2626
|
+
"Victim of a Crime": TOLPNextSteps["Victim of a Crime"],
|
|
2627
|
+
"DUI and DWI": TOLPNextSteps["DUI and DWI"],
|
|
2628
|
+
Expungement: TOLPNextSteps["Expungement"],
|
|
2629
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
2630
|
+
},
|
|
2631
|
+
"*": ["crimeCommittedDate", "roleInMatterCriminal", "pendingCharges", ...nextStepsLegalDefaultLPM],
|
|
2632
|
+
},
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2635
|
+
filterNextStepsMap(
|
|
2636
|
+
nextStepsMapCriminalTOLPDisplay,
|
|
2637
|
+
["legalCrossSells"],
|
|
2638
|
+
{
|
|
2639
|
+
commentsWithBankruptcy: "comments",
|
|
2640
|
+
}
|
|
2641
|
+
);
|
|
2642
|
+
|
|
2643
|
+
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay = {
|
|
2644
|
+
values: {
|
|
2645
|
+
Type_Of_Legal_Problem_Display: {
|
|
2646
|
+
"Wrongful Termination": TOLPNextSteps["Wrongful Termination"],
|
|
2647
|
+
"Workers Compensation": TOLPNextSteps["Workers Compensation"],
|
|
2648
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
2649
|
+
Unemployment: TOLPNextSteps["Unemployment"],
|
|
2650
|
+
},
|
|
2651
|
+
"*": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2652
|
+
},
|
|
2653
|
+
};
|
|
2654
|
+
|
|
2655
|
+
filterNextStepsMap(
|
|
2656
|
+
nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
2657
|
+
["legalCrossSells"],
|
|
2658
|
+
{
|
|
2659
|
+
commentsWithBankruptcy: "comments",
|
|
2660
|
+
}
|
|
2661
|
+
);
|
|
2662
|
+
|
|
2663
|
+
({
|
|
2664
|
+
values: {
|
|
2665
|
+
// Custom because we ask typeOfProperty on s1
|
|
2666
|
+
"*": ["amountPaymentsPastDue", "loanAmount", "defaultNotice", "ownRealEstate", ...nextStepsLegalDefault],
|
|
2667
|
+
},
|
|
2668
|
+
});
|
|
2669
|
+
|
|
2670
|
+
({
|
|
2671
|
+
values: {
|
|
2672
|
+
Type_Of_Legal_Problem_Display: {
|
|
2673
|
+
Patents: TOLPNextSteps["Patents and Intellectual Property"],
|
|
2674
|
+
"Business Lawyers": TOLPNextSteps["Business Lawyers"],
|
|
2675
|
+
"Business Consulting": TOLPNextSteps["Business Lawyers"],
|
|
2676
|
+
},
|
|
2677
|
+
"*": nextStepsMapGeneralLegal["values"]["*"],
|
|
2678
|
+
},
|
|
2679
|
+
});
|
|
2680
|
+
|
|
2681
|
+
const nextStepsMapRealEstateTOLPDisplay = {
|
|
2682
|
+
values: {
|
|
2683
|
+
Type_Of_Legal_Problem_Display: {
|
|
2684
|
+
Foreclosure: TOLPNextSteps["Foreclosure"],
|
|
2685
|
+
"Landlord and Tenant": TOLPNextSteps["Landlord and Tenant"],
|
|
2686
|
+
"Wills, Trusts, and Estates": TOLPNextSteps["Wills and Trusts"],
|
|
2687
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
2688
|
+
},
|
|
2689
|
+
"*": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2690
|
+
},
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
filterNextStepsMap(
|
|
2694
|
+
nextStepsMapRealEstateTOLPDisplay,
|
|
2695
|
+
["legalCrossSells"],
|
|
2696
|
+
{
|
|
2697
|
+
commentsWithBankruptcy: "comments",
|
|
2698
|
+
}
|
|
2699
|
+
);
|
|
2700
|
+
|
|
2321
2701
|
const nextStepsMapLegalCrossSells = {
|
|
2322
2702
|
values: {
|
|
2323
2703
|
Legal_CrossSells: {
|