bhl-forms 0.11.11 → 0.11.12
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 +22 -0
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +21 -0
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +21 -0
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +22 -0
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +22 -0
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +147 -79
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +132 -62
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/civilLawsuit1to1.es.js +23 -0
- package/dist/forms/civilLawsuit1to1.iife.js +1 -1
- package/dist/forms/coins.es.js +21 -0
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +22 -0
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +22 -0
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +22 -0
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +132 -62
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/foreclosure.es.js +22 -0
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +21 -0
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +21 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +21 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +24 -0
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +159 -88
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +24 -0
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +159 -88
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +159 -88
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +23 -0
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +22 -1
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +24 -0
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +159 -88
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +313 -153
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +22 -0
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +22 -0
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +21 -0
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +22 -0
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +22 -0
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +22 -0
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +22 -0
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +21 -0
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +23 -0
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +21 -0
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +376 -159
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/forms/windows.es.js +21 -0
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +22 -0
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -383,14 +383,11 @@ const verticalDate = (updates) => {
|
|
|
383
383
|
return date(updates)
|
|
384
384
|
};
|
|
385
385
|
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
return func({
|
|
390
|
-
$formkit: "email",
|
|
386
|
+
const emailFL = (scope, updates = {}) => {
|
|
387
|
+
return text({
|
|
388
|
+
$formkit: "FloatingLabelText",
|
|
391
389
|
name: scope ? scope + ":" + "Email" : "Email",
|
|
392
|
-
|
|
393
|
-
placeholder: "email@domain.com",
|
|
390
|
+
placeholder: "Email Address",
|
|
394
391
|
autocomplete: "email",
|
|
395
392
|
"data-tf-sensitive": "false",
|
|
396
393
|
validation: "required|email",
|
|
@@ -398,59 +395,72 @@ const email = (scope, vertical, updates = {}) => {
|
|
|
398
395
|
required: "Email is required",
|
|
399
396
|
email: "Invalid Email",
|
|
400
397
|
},
|
|
398
|
+
inputClass: "t-text-center",
|
|
399
|
+
wrapperClass: "t-flex t-justify-center",
|
|
401
400
|
...updates,
|
|
402
401
|
})
|
|
403
402
|
};
|
|
404
403
|
|
|
405
|
-
const
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
return func({
|
|
409
|
-
label,
|
|
404
|
+
const firstNameFL = (scope, updates = {}) => {
|
|
405
|
+
return text({
|
|
406
|
+
$formkit: "FloatingLabelText",
|
|
410
407
|
placeholder: "First Name",
|
|
411
408
|
name: scope ? scope + ":" + "First_Name" : "First_Name",
|
|
412
409
|
autocomplete: "given-name",
|
|
413
410
|
validationMessages: {
|
|
414
411
|
required: "First Name is required",
|
|
415
412
|
},
|
|
413
|
+
inputClass: "t-text-center",
|
|
416
414
|
...updates,
|
|
417
415
|
})
|
|
418
416
|
};
|
|
419
417
|
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
return func({
|
|
424
|
-
label,
|
|
418
|
+
const lastNameFL = (scope, updates = {}) => {
|
|
419
|
+
return text({
|
|
420
|
+
$formkit: "FloatingLabelText",
|
|
425
421
|
placeholder: "Last Name",
|
|
426
422
|
name: scope ? scope + ":" + "Last_Name" : "Last_Name",
|
|
427
423
|
autocomplete: "family-name",
|
|
428
424
|
validationMessages: {
|
|
429
425
|
required: "Last Name is required",
|
|
430
426
|
},
|
|
427
|
+
inputClass: "t-text-center",
|
|
431
428
|
...updates,
|
|
432
429
|
})
|
|
433
430
|
};
|
|
434
431
|
|
|
435
|
-
const
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
432
|
+
const fullNameFLMobileCol = (scope, updates = {}) => {
|
|
433
|
+
return {
|
|
434
|
+
$el: "div",
|
|
435
|
+
attrs: {
|
|
436
|
+
class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
|
|
437
|
+
},
|
|
438
|
+
children: [
|
|
439
|
+
firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
440
|
+
lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
441
|
+
],
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
const phoneFL = (scope, updates = {}) => {
|
|
446
|
+
return text({
|
|
447
|
+
$formkit: "FloatingLabelText",
|
|
448
|
+
datatype: "tel",
|
|
440
449
|
name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
help: updates.help || "10-digit phone number, hyphens optional",
|
|
450
|
+
placeholder: updates.placeholder || "Phone Number",
|
|
451
|
+
maxlength: 14,
|
|
452
|
+
help: updates.help || null,
|
|
445
453
|
autocomplete: "tel-national",
|
|
446
454
|
"data-tf-sensitive": "false",
|
|
447
|
-
validation: "required|matches:/^[0-9]{3}
|
|
455
|
+
validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
|
|
448
456
|
validationMessages: {
|
|
449
457
|
required: "Phone Number is required",
|
|
450
|
-
matches: "Invalid Phone Format, use
|
|
458
|
+
matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
|
|
451
459
|
valid_phone: "Invalid Phone Number",
|
|
452
460
|
},
|
|
453
461
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
|
|
462
|
+
inputClass: "t-text-center",
|
|
463
|
+
wrapperClass: "t-flex t-justify-center",
|
|
454
464
|
...updates,
|
|
455
465
|
})
|
|
456
466
|
};
|
|
@@ -1287,10 +1297,12 @@ const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
|
|
|
1287
1297
|
const employmentAndWorkplaceTOLPDisplay$1 = (scope, vertical, updates = {}) => {
|
|
1288
1298
|
const func = vertical ? col2RadioCenter : col2Radio;
|
|
1289
1299
|
const label = vertical ? updates.label : "Select The Workplace Issue:";
|
|
1300
|
+
const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"';
|
|
1290
1301
|
return func(
|
|
1291
1302
|
merge(
|
|
1292
1303
|
{
|
|
1293
1304
|
label,
|
|
1305
|
+
if: _if,
|
|
1294
1306
|
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
1295
1307
|
options: [
|
|
1296
1308
|
"Workplace Harassment",
|
|
@@ -2516,6 +2528,24 @@ function secureIcon(updates = {}) {
|
|
|
2516
2528
|
return merge(secureIconDefault, updates)
|
|
2517
2529
|
}
|
|
2518
2530
|
|
|
2531
|
+
function secureIconStandalone(updates = {}) {
|
|
2532
|
+
return {
|
|
2533
|
+
if: "$activeStep === $lastStep()",
|
|
2534
|
+
style: {
|
|
2535
|
+
if: "$activeStep !== $lastStep()",
|
|
2536
|
+
then: "display: none;",
|
|
2537
|
+
},
|
|
2538
|
+
children: [
|
|
2539
|
+
secureIcon({
|
|
2540
|
+
attrs: {
|
|
2541
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
|
|
2542
|
+
},
|
|
2543
|
+
...updates,
|
|
2544
|
+
}),
|
|
2545
|
+
],
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2519
2549
|
function crossSellQuestionsStepHeadline(updates) {
|
|
2520
2550
|
return {
|
|
2521
2551
|
$el: "h3",
|
|
@@ -2549,19 +2579,6 @@ function verticalStepHeadline(updates) {
|
|
|
2549
2579
|
}
|
|
2550
2580
|
}
|
|
2551
2581
|
|
|
2552
|
-
function verticalStepSubHeadline(updates) {
|
|
2553
|
-
return {
|
|
2554
|
-
$el: "h5",
|
|
2555
|
-
children: updates.subheadline || "",
|
|
2556
|
-
attrs: {
|
|
2557
|
-
class:
|
|
2558
|
-
"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" +
|
|
2559
|
-
" " +
|
|
2560
|
-
(updates.subheadlineClass || ""),
|
|
2561
|
-
},
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
2582
|
function commentsStepHeadline(updates) {
|
|
2566
2583
|
return {
|
|
2567
2584
|
$el: "h3",
|
|
@@ -2731,6 +2748,7 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
2731
2748
|
comments(updates.scope, false, {
|
|
2732
2749
|
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
2733
2750
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
2751
|
+
// TODO: this is a mess
|
|
2734
2752
|
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
2735
2753
|
}),
|
|
2736
2754
|
// TODO: needs scope support
|
|
@@ -2751,23 +2769,40 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
2751
2769
|
)
|
|
2752
2770
|
}
|
|
2753
2771
|
|
|
2754
|
-
function
|
|
2772
|
+
function contactInfoV2(updates = {}) {
|
|
2755
2773
|
return step(
|
|
2756
2774
|
"contactInfo",
|
|
2757
2775
|
[
|
|
2758
2776
|
contactStepHeadline(updates),
|
|
2759
2777
|
contactStepSubHeadline(updates),
|
|
2760
2778
|
trustedFormScript(),
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2779
|
+
{
|
|
2780
|
+
$el: "div",
|
|
2781
|
+
attrs: {
|
|
2782
|
+
class: "t-flex t-flex-col t-justify-center t-items-center",
|
|
2783
|
+
},
|
|
2784
|
+
children: [
|
|
2785
|
+
emailFL(updates.scope, {
|
|
2786
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
2787
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
2788
|
+
}),
|
|
2789
|
+
phoneFL(updates.scope, {
|
|
2790
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
2791
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
2792
|
+
}),
|
|
2793
|
+
],
|
|
2794
|
+
},
|
|
2795
|
+
TCPAConsent(updates.scope, {
|
|
2796
|
+
outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
|
|
2797
|
+
wrapperClass: "t-w-[95%] sm:t-w-[80%]",
|
|
2798
|
+
messagesClass: "t-w-[95%] sm:t-w-[80%]",
|
|
2799
|
+
}),
|
|
2765
2800
|
],
|
|
2766
2801
|
{ nextOnEnter: false }
|
|
2767
2802
|
)
|
|
2768
2803
|
}
|
|
2769
2804
|
|
|
2770
|
-
function
|
|
2805
|
+
function firstAndLastV4(updates = {}) {
|
|
2771
2806
|
return step(
|
|
2772
2807
|
"firstAndLast",
|
|
2773
2808
|
[
|
|
@@ -2775,12 +2810,13 @@ function firstAndLastV3(updates = {}) {
|
|
|
2775
2810
|
headline: updates.headline ?? "Who is looking for help?",
|
|
2776
2811
|
headlineClass: updates.headlineClass,
|
|
2777
2812
|
}),
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2813
|
+
{
|
|
2814
|
+
$el: "div",
|
|
2815
|
+
attrs: {
|
|
2816
|
+
class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
|
|
2817
|
+
},
|
|
2818
|
+
children: [fullNameFLMobileCol(updates.scope)],
|
|
2819
|
+
},
|
|
2784
2820
|
],
|
|
2785
2821
|
updates
|
|
2786
2822
|
)
|
|
@@ -3670,13 +3706,17 @@ function criminalChargesFiled(updates = {}) {
|
|
|
3670
3706
|
)
|
|
3671
3707
|
}
|
|
3672
3708
|
|
|
3673
|
-
const
|
|
3709
|
+
const formNavigationNoFinalBack = (updates = {}) => ({
|
|
3674
3710
|
$el: "div",
|
|
3675
3711
|
attrs: {
|
|
3676
3712
|
class: {
|
|
3677
3713
|
if: "$activeStep === $firstStep()",
|
|
3678
3714
|
then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
|
|
3679
|
-
else:
|
|
3715
|
+
else: {
|
|
3716
|
+
if: "$activeStep === $lastStep()",
|
|
3717
|
+
then: "step-nav !t-justify-center ",
|
|
3718
|
+
else: "step-nav !t-justify-between",
|
|
3719
|
+
},
|
|
3680
3720
|
},
|
|
3681
3721
|
},
|
|
3682
3722
|
children: [
|
|
@@ -3686,12 +3726,12 @@ const formNavigation = (updates = {}) => ({
|
|
|
3686
3726
|
onClick: "$setPreviousStep($prevStepFunc($get(form)))",
|
|
3687
3727
|
children: "Back",
|
|
3688
3728
|
outerClass: {
|
|
3689
|
-
if: "$activeStep
|
|
3729
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
3690
3730
|
then: "t-hidden sm:t-block",
|
|
3691
3731
|
else: "",
|
|
3692
3732
|
},
|
|
3693
3733
|
style: {
|
|
3694
|
-
if: "$activeStep
|
|
3734
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
3695
3735
|
then: "display: none;",
|
|
3696
3736
|
},
|
|
3697
3737
|
classes: {
|
|
@@ -3730,7 +3770,8 @@ const formNavigation = (updates = {}) => ({
|
|
|
3730
3770
|
then: "display: none;",
|
|
3731
3771
|
},
|
|
3732
3772
|
classes: {
|
|
3733
|
-
input: (updates.inputClass || "") + "
|
|
3773
|
+
input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
|
|
3774
|
+
outer: "!t-mt-0 !t-mb-0",
|
|
3734
3775
|
},
|
|
3735
3776
|
},
|
|
3736
3777
|
],
|
|
@@ -4806,6 +4847,27 @@ filterNextStepsMap(
|
|
|
4806
4847
|
},
|
|
4807
4848
|
});
|
|
4808
4849
|
|
|
4850
|
+
({
|
|
4851
|
+
values: {
|
|
4852
|
+
Type_Of_Legal_Problem: {
|
|
4853
|
+
"Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
|
|
4854
|
+
"Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
|
|
4855
|
+
},
|
|
4856
|
+
"*": [...nextStepsLegalDefault],
|
|
4857
|
+
},
|
|
4858
|
+
});
|
|
4859
|
+
|
|
4860
|
+
({
|
|
4861
|
+
values: {
|
|
4862
|
+
Type_Of_Legal_Problem: {
|
|
4863
|
+
"Probate and Estates": TOLPNextSteps["Probate and Estates"],
|
|
4864
|
+
"Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
|
|
4865
|
+
"Wrongful Death": TOLPNextSteps["Wrongful Death"],
|
|
4866
|
+
},
|
|
4867
|
+
"*": [...nextStepsLegalDefault],
|
|
4868
|
+
},
|
|
4869
|
+
});
|
|
4870
|
+
|
|
4809
4871
|
({
|
|
4810
4872
|
values: {
|
|
4811
4873
|
Type_Of_Legal_Problem_Display: {
|
|
@@ -4872,7 +4934,7 @@ meta.data.dynamicSchema = [
|
|
|
4872
4934
|
applicantLTDisabilityPolicy(),
|
|
4873
4935
|
applicantMonthlySalary(),
|
|
4874
4936
|
applicantOccupation({
|
|
4875
|
-
nextOnInput: false
|
|
4937
|
+
nextOnInput: false,
|
|
4876
4938
|
}),
|
|
4877
4939
|
applicantPreviouslyAppliedLtdBenefits(),
|
|
4878
4940
|
applicantReceivedDisabilityBenefits(),
|
|
@@ -4886,19 +4948,19 @@ meta.data.dynamicSchema = [
|
|
|
4886
4948
|
childPrimaryCaregiver(),
|
|
4887
4949
|
childRelationship(),
|
|
4888
4950
|
civilLawsuitTOLPDisplay({
|
|
4889
|
-
nextStepMap: nextStepsMapCivilTOLPDisplay
|
|
4951
|
+
nextStepMap: nextStepsMapCivilTOLPDisplay,
|
|
4890
4952
|
}),
|
|
4891
4953
|
civilRightsType(),
|
|
4892
4954
|
claimStatus(),
|
|
4893
4955
|
consumerLawyerType(),
|
|
4894
4956
|
countryOfCitizenship(),
|
|
4895
4957
|
crimeCommittedDate({
|
|
4896
|
-
nextOnInput: false
|
|
4958
|
+
nextOnInput: false,
|
|
4897
4959
|
}),
|
|
4898
4960
|
criminalChargeType(),
|
|
4899
4961
|
criminalChargesFiled(),
|
|
4900
4962
|
criminalTOLPDisplay({
|
|
4901
|
-
nextStepMap: nextStepsMapCriminalTOLPDisplay
|
|
4963
|
+
nextStepMap: nextStepsMapCriminalTOLPDisplay,
|
|
4902
4964
|
}),
|
|
4903
4965
|
defaultNotice(),
|
|
4904
4966
|
degreeOfInterest(),
|
|
@@ -4910,7 +4972,7 @@ meta.data.dynamicSchema = [
|
|
|
4910
4972
|
employerType(),
|
|
4911
4973
|
employeeAtCompany(),
|
|
4912
4974
|
employmentAndWorkplaceTOLPDisplay({
|
|
4913
|
-
nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay
|
|
4975
|
+
nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
4914
4976
|
}),
|
|
4915
4977
|
haveAttorney(),
|
|
4916
4978
|
haveChildren(),
|
|
@@ -4921,7 +4983,7 @@ meta.data.dynamicSchema = [
|
|
|
4921
4983
|
immigrationStatus(),
|
|
4922
4984
|
immigrationType(),
|
|
4923
4985
|
incidentDate({
|
|
4924
|
-
nextOnInput: false
|
|
4986
|
+
nextOnInput: false,
|
|
4925
4987
|
}),
|
|
4926
4988
|
landlordTenantIssue(),
|
|
4927
4989
|
landlordTenantParty(),
|
|
@@ -4940,7 +5002,7 @@ meta.data.dynamicSchema = [
|
|
|
4940
5002
|
priorAlcoholOffenses(),
|
|
4941
5003
|
realEstateArea(),
|
|
4942
5004
|
realEstateTOLPDisplay({
|
|
4943
|
-
nextStepMap: nextStepsMapRealEstateTOLPDisplay
|
|
5005
|
+
nextStepMap: nextStepsMapRealEstateTOLPDisplay,
|
|
4944
5006
|
}),
|
|
4945
5007
|
relationshipToVictim(),
|
|
4946
5008
|
roleInMatterCriminal(),
|
|
@@ -4961,14 +5023,13 @@ meta.data.dynamicSchema = [
|
|
|
4961
5023
|
veteransDisabilityInjured(),
|
|
4962
5024
|
veteransDisabilityRelationship(),
|
|
4963
5025
|
wouldLikeLawyerTo(),
|
|
4964
|
-
zipcode(),
|
|
4965
5026
|
commentsWithBankruptcy({
|
|
4966
5027
|
label: null,
|
|
4967
|
-
headline:
|
|
4968
|
-
headlineClass:
|
|
5028
|
+
headline: "Please briefly describe your situation:",
|
|
5029
|
+
headlineClass: "!t-text-dark",
|
|
4969
5030
|
}),
|
|
4970
5031
|
legalCrossSells({
|
|
4971
|
-
headlineClass:
|
|
5032
|
+
headlineClass: "!t-text-dark",
|
|
4972
5033
|
nextStepMap: nextStepsMapLegalCrossSells,
|
|
4973
5034
|
}),
|
|
4974
5035
|
autoAndCarAccidentCrossSellQuestions(),
|
|
@@ -4980,8 +5041,8 @@ meta.data.dynamicSchema = [
|
|
|
4980
5041
|
willsAndTrustsCrossSellQuestions(),
|
|
4981
5042
|
divorceAndSeparationCrossSellQuestions(),
|
|
4982
5043
|
childCustodyCrossSellQuestions(),
|
|
4983
|
-
|
|
4984
|
-
headlineClass:
|
|
5044
|
+
firstAndLastV4({
|
|
5045
|
+
headlineClass: "!t-text-dark",
|
|
4985
5046
|
}),
|
|
4986
5047
|
];
|
|
4987
5048
|
|
|
@@ -4989,44 +5050,54 @@ const schema = [
|
|
|
4989
5050
|
meta,
|
|
4990
5051
|
formAnchor(),
|
|
4991
5052
|
{
|
|
4992
|
-
$cmp:
|
|
5053
|
+
$cmp: "FormKit",
|
|
4993
5054
|
props: formProps({
|
|
4994
|
-
formId:
|
|
5055
|
+
formId: "generalLegalSingle",
|
|
4995
5056
|
redirectMap: legalRedirectMap(),
|
|
4996
5057
|
valueOverrideMap: legalAllValueOverrideMap,
|
|
4997
|
-
crossSellOptionMap: legalCrossSellOptionMap
|
|
5058
|
+
crossSellOptionMap: legalCrossSellOptionMap,
|
|
4998
5059
|
}),
|
|
4999
5060
|
children: [
|
|
5000
5061
|
progressBar(),
|
|
5001
5062
|
headline({
|
|
5002
5063
|
children: '$urlParam("hl", "Need Legal Help? Start Here!")',
|
|
5003
|
-
if:
|
|
5064
|
+
if: "$activeStep === $firstStep()",
|
|
5004
5065
|
}),
|
|
5005
5066
|
defaultSubHeadline(),
|
|
5006
5067
|
...hiddenInputsLegal,
|
|
5007
5068
|
{
|
|
5008
|
-
$el:
|
|
5069
|
+
$el: "div",
|
|
5009
5070
|
attrs: {
|
|
5010
|
-
class:
|
|
5071
|
+
class: "form-body",
|
|
5011
5072
|
},
|
|
5012
5073
|
children: [
|
|
5013
5074
|
generalTOLP({
|
|
5014
5075
|
nextOnInput: false,
|
|
5015
5076
|
nextStepMap: nextStepsMapGeneralLegal,
|
|
5016
|
-
headlineClass:
|
|
5077
|
+
headlineClass: "t-text-lg",
|
|
5017
5078
|
input: {
|
|
5018
|
-
placeholder:
|
|
5019
|
-
innerClass:
|
|
5020
|
-
|
|
5079
|
+
placeholder: "Select a Category",
|
|
5080
|
+
innerClass: "!t-max-w-[275px] md:!t-max-w-xl",
|
|
5081
|
+
inputClass: "t-text-center",
|
|
5082
|
+
},
|
|
5021
5083
|
}),
|
|
5022
5084
|
dynamicSchemaNode(),
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5085
|
+
zipcode(),
|
|
5086
|
+
contactInfoV2({
|
|
5087
|
+
subheadlineClass: "!t-text-base",
|
|
5088
|
+
}),
|
|
5089
|
+
formNavigationNoFinalBack({
|
|
5090
|
+
startText: "Start Now",
|
|
5091
|
+
submitLabel: "Get Help Now",
|
|
5092
|
+
inputClass: "!t-font-extrabold",
|
|
5093
|
+
firstStepButtonClass: "!t-justify-center",
|
|
5094
|
+
}),
|
|
5095
|
+
secureIconStandalone(),
|
|
5096
|
+
formDetails(),
|
|
5097
|
+
],
|
|
5098
|
+
},
|
|
5099
|
+
],
|
|
5100
|
+
},
|
|
5030
5101
|
];
|
|
5031
5102
|
|
|
5032
5103
|
const formKitNode = schema.find(item => item.$cmp === "FormKit");
|