bhl-forms 0.11.10 → 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 +28 -2
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +27 -2
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +27 -2
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +28 -2
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +28 -2
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +153 -81
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +231 -82
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/civilLawsuit1to1.es.js +2599 -0
- package/dist/forms/civilLawsuit1to1.iife.js +1 -0
- package/dist/forms/civilLawsuit1to1.json +1 -0
- package/dist/forms/coins.es.js +27 -2
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +28 -2
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +28 -2
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +28 -2
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +138 -64
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/foreclosure.es.js +28 -2
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +27 -2
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +27 -2
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +27 -2
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +30 -2
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +166 -91
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +30 -2
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +166 -91
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +166 -91
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +30 -3
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.json +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +28 -3
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +30 -2
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +166 -91
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +319 -155
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +28 -2
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +28 -2
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +27 -2
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +29 -3
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +28 -2
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +28 -2
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +28 -2
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +27 -2
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +29 -2
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +27 -2
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +382 -161
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/forms/windows.es.js +27 -2
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +28 -2
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -352,14 +352,11 @@ const verticalDate = (updates) => {
|
|
|
352
352
|
return date(updates)
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
return func({
|
|
359
|
-
$formkit: "email",
|
|
355
|
+
const emailFL = (scope, updates = {}) => {
|
|
356
|
+
return text({
|
|
357
|
+
$formkit: "FloatingLabelText",
|
|
360
358
|
name: scope ? scope + ":" + "Email" : "Email",
|
|
361
|
-
|
|
362
|
-
placeholder: "email@domain.com",
|
|
359
|
+
placeholder: "Email Address",
|
|
363
360
|
autocomplete: "email",
|
|
364
361
|
"data-tf-sensitive": "false",
|
|
365
362
|
validation: "required|email",
|
|
@@ -367,59 +364,72 @@ const email = (scope, vertical, updates = {}) => {
|
|
|
367
364
|
required: "Email is required",
|
|
368
365
|
email: "Invalid Email",
|
|
369
366
|
},
|
|
367
|
+
inputClass: "t-text-center",
|
|
368
|
+
wrapperClass: "t-flex t-justify-center",
|
|
370
369
|
...updates,
|
|
371
370
|
})
|
|
372
371
|
};
|
|
373
372
|
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
return func({
|
|
378
|
-
label,
|
|
373
|
+
const firstNameFL = (scope, updates = {}) => {
|
|
374
|
+
return text({
|
|
375
|
+
$formkit: "FloatingLabelText",
|
|
379
376
|
placeholder: "First Name",
|
|
380
377
|
name: scope ? scope + ":" + "First_Name" : "First_Name",
|
|
381
378
|
autocomplete: "given-name",
|
|
382
379
|
validationMessages: {
|
|
383
380
|
required: "First Name is required",
|
|
384
381
|
},
|
|
382
|
+
inputClass: "t-text-center",
|
|
385
383
|
...updates,
|
|
386
384
|
})
|
|
387
385
|
};
|
|
388
386
|
|
|
389
|
-
const
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
return func({
|
|
393
|
-
label,
|
|
387
|
+
const lastNameFL = (scope, updates = {}) => {
|
|
388
|
+
return text({
|
|
389
|
+
$formkit: "FloatingLabelText",
|
|
394
390
|
placeholder: "Last Name",
|
|
395
391
|
name: scope ? scope + ":" + "Last_Name" : "Last_Name",
|
|
396
392
|
autocomplete: "family-name",
|
|
397
393
|
validationMessages: {
|
|
398
394
|
required: "Last Name is required",
|
|
399
395
|
},
|
|
396
|
+
inputClass: "t-text-center",
|
|
400
397
|
...updates,
|
|
401
398
|
})
|
|
402
399
|
};
|
|
403
400
|
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
401
|
+
const fullNameFLMobileCol = (scope, updates = {}) => {
|
|
402
|
+
return {
|
|
403
|
+
$el: "div",
|
|
404
|
+
attrs: {
|
|
405
|
+
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%]",
|
|
406
|
+
},
|
|
407
|
+
children: [
|
|
408
|
+
firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
409
|
+
lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
410
|
+
],
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
const phoneFL = (scope, updates = {}) => {
|
|
415
|
+
return text({
|
|
416
|
+
$formkit: "FloatingLabelText",
|
|
417
|
+
datatype: "tel",
|
|
409
418
|
name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
help: updates.help || "10-digit phone number, hyphens optional",
|
|
419
|
+
placeholder: updates.placeholder || "Phone Number",
|
|
420
|
+
maxlength: 14,
|
|
421
|
+
help: updates.help || null,
|
|
414
422
|
autocomplete: "tel-national",
|
|
415
423
|
"data-tf-sensitive": "false",
|
|
416
|
-
validation: "required|matches:/^[0-9]{3}
|
|
424
|
+
validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
|
|
417
425
|
validationMessages: {
|
|
418
426
|
required: "Phone Number is required",
|
|
419
|
-
matches: "Invalid Phone Format, use
|
|
427
|
+
matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
|
|
420
428
|
valid_phone: "Invalid Phone Number",
|
|
421
429
|
},
|
|
422
430
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
|
|
431
|
+
inputClass: "t-text-center",
|
|
432
|
+
wrapperClass: "t-flex t-justify-center",
|
|
423
433
|
...updates,
|
|
424
434
|
})
|
|
425
435
|
};
|
|
@@ -1129,6 +1139,24 @@ function secureIcon(updates = {}) {
|
|
|
1129
1139
|
return merge(secureIconDefault, updates)
|
|
1130
1140
|
}
|
|
1131
1141
|
|
|
1142
|
+
function secureIconStandalone(updates = {}) {
|
|
1143
|
+
return {
|
|
1144
|
+
if: "$activeStep === $lastStep()",
|
|
1145
|
+
style: {
|
|
1146
|
+
if: "$activeStep !== $lastStep()",
|
|
1147
|
+
then: "display: none;",
|
|
1148
|
+
},
|
|
1149
|
+
children: [
|
|
1150
|
+
secureIcon({
|
|
1151
|
+
attrs: {
|
|
1152
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
|
|
1153
|
+
},
|
|
1154
|
+
...updates,
|
|
1155
|
+
}),
|
|
1156
|
+
],
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1132
1160
|
function crossSellQuestionsStepHeadline(updates) {
|
|
1133
1161
|
return {
|
|
1134
1162
|
$el: "h3",
|
|
@@ -1162,19 +1190,6 @@ function verticalStepHeadline(updates) {
|
|
|
1162
1190
|
}
|
|
1163
1191
|
}
|
|
1164
1192
|
|
|
1165
|
-
function verticalStepSubHeadline(updates) {
|
|
1166
|
-
return {
|
|
1167
|
-
$el: "h5",
|
|
1168
|
-
children: updates.subheadline || "",
|
|
1169
|
-
attrs: {
|
|
1170
|
-
class:
|
|
1171
|
-
"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" +
|
|
1172
|
-
" " +
|
|
1173
|
-
(updates.subheadlineClass || ""),
|
|
1174
|
-
},
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
1193
|
function commentsStepHeadline(updates) {
|
|
1179
1194
|
return {
|
|
1180
1195
|
$el: "h3",
|
|
@@ -1344,6 +1359,7 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1344
1359
|
comments(updates.scope, false, {
|
|
1345
1360
|
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
1346
1361
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
1362
|
+
// TODO: this is a mess
|
|
1347
1363
|
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1348
1364
|
}),
|
|
1349
1365
|
// TODO: needs scope support
|
|
@@ -1364,23 +1380,40 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1364
1380
|
)
|
|
1365
1381
|
}
|
|
1366
1382
|
|
|
1367
|
-
function
|
|
1383
|
+
function contactInfoV2(updates = {}) {
|
|
1368
1384
|
return step(
|
|
1369
1385
|
"contactInfo",
|
|
1370
1386
|
[
|
|
1371
1387
|
contactStepHeadline(updates),
|
|
1372
1388
|
contactStepSubHeadline(updates),
|
|
1373
1389
|
trustedFormScript(),
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1390
|
+
{
|
|
1391
|
+
$el: "div",
|
|
1392
|
+
attrs: {
|
|
1393
|
+
class: "t-flex t-flex-col t-justify-center t-items-center",
|
|
1394
|
+
},
|
|
1395
|
+
children: [
|
|
1396
|
+
emailFL(updates.scope, {
|
|
1397
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
1398
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
1399
|
+
}),
|
|
1400
|
+
phoneFL(updates.scope, {
|
|
1401
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
1402
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
1403
|
+
}),
|
|
1404
|
+
],
|
|
1405
|
+
},
|
|
1406
|
+
TCPAConsent(updates.scope, {
|
|
1407
|
+
outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
|
|
1408
|
+
wrapperClass: "t-w-[95%] sm:t-w-[80%]",
|
|
1409
|
+
messagesClass: "t-w-[95%] sm:t-w-[80%]",
|
|
1410
|
+
}),
|
|
1378
1411
|
],
|
|
1379
1412
|
{ nextOnEnter: false }
|
|
1380
1413
|
)
|
|
1381
1414
|
}
|
|
1382
1415
|
|
|
1383
|
-
function
|
|
1416
|
+
function firstAndLastV4(updates = {}) {
|
|
1384
1417
|
return step(
|
|
1385
1418
|
"firstAndLast",
|
|
1386
1419
|
[
|
|
@@ -1388,12 +1421,13 @@ function firstAndLastV3(updates = {}) {
|
|
|
1388
1421
|
headline: updates.headline ?? "Who is looking for help?",
|
|
1389
1422
|
headlineClass: updates.headlineClass,
|
|
1390
1423
|
}),
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1424
|
+
{
|
|
1425
|
+
$el: "div",
|
|
1426
|
+
attrs: {
|
|
1427
|
+
class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
|
|
1428
|
+
},
|
|
1429
|
+
children: [fullNameFLMobileCol(updates.scope)],
|
|
1430
|
+
},
|
|
1397
1431
|
],
|
|
1398
1432
|
updates
|
|
1399
1433
|
)
|
|
@@ -1593,13 +1627,17 @@ function lawyerPaymentMethod(updates = {}) {
|
|
|
1593
1627
|
)
|
|
1594
1628
|
}
|
|
1595
1629
|
|
|
1596
|
-
const
|
|
1630
|
+
const formNavigationNoFinalBack = (updates = {}) => ({
|
|
1597
1631
|
$el: "div",
|
|
1598
1632
|
attrs: {
|
|
1599
1633
|
class: {
|
|
1600
1634
|
if: "$activeStep === $firstStep()",
|
|
1601
1635
|
then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
|
|
1602
|
-
else:
|
|
1636
|
+
else: {
|
|
1637
|
+
if: "$activeStep === $lastStep()",
|
|
1638
|
+
then: "step-nav !t-justify-center ",
|
|
1639
|
+
else: "step-nav !t-justify-between",
|
|
1640
|
+
},
|
|
1603
1641
|
},
|
|
1604
1642
|
},
|
|
1605
1643
|
children: [
|
|
@@ -1609,12 +1647,12 @@ const formNavigation = (updates = {}) => ({
|
|
|
1609
1647
|
onClick: "$setPreviousStep($prevStepFunc($get(form)))",
|
|
1610
1648
|
children: "Back",
|
|
1611
1649
|
outerClass: {
|
|
1612
|
-
if: "$activeStep
|
|
1650
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
1613
1651
|
then: "t-hidden sm:t-block",
|
|
1614
1652
|
else: "",
|
|
1615
1653
|
},
|
|
1616
1654
|
style: {
|
|
1617
|
-
if: "$activeStep
|
|
1655
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
1618
1656
|
then: "display: none;",
|
|
1619
1657
|
},
|
|
1620
1658
|
classes: {
|
|
@@ -1653,7 +1691,8 @@ const formNavigation = (updates = {}) => ({
|
|
|
1653
1691
|
then: "display: none;",
|
|
1654
1692
|
},
|
|
1655
1693
|
classes: {
|
|
1656
|
-
input: (updates.inputClass || "") + "
|
|
1694
|
+
input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
|
|
1695
|
+
outer: "!t-mt-0 !t-mb-0",
|
|
1657
1696
|
},
|
|
1658
1697
|
},
|
|
1659
1698
|
],
|
|
@@ -2271,7 +2310,7 @@ const nextStepsMapGeneralLegal = {
|
|
|
2271
2310
|
"estateLegalServicesNeeded",
|
|
2272
2311
|
...nextStepsLegalDefault,
|
|
2273
2312
|
],
|
|
2274
|
-
"Property Damage": ["
|
|
2313
|
+
"Property Damage": ["wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2275
2314
|
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2276
2315
|
"Social Security Disability and Insurance": [
|
|
2277
2316
|
"applicantAge",
|
|
@@ -2404,7 +2443,7 @@ const nextStepsMapChildAndFamily = {
|
|
|
2404
2443
|
},
|
|
2405
2444
|
});
|
|
2406
2445
|
|
|
2407
|
-
|
|
2446
|
+
const nextStepsMapCivilTolp = {
|
|
2408
2447
|
values: {
|
|
2409
2448
|
Type_Of_Legal_Problem: {
|
|
2410
2449
|
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
@@ -2412,6 +2451,10 @@ const nextStepsMapChildAndFamily = {
|
|
|
2412
2451
|
},
|
|
2413
2452
|
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2414
2453
|
},
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
filterNextStepsMap(nextStepsMapCivilTolp, ["legalCrossSells"], {
|
|
2457
|
+
commentsWithBankruptcy: "comments",
|
|
2415
2458
|
});
|
|
2416
2459
|
|
|
2417
2460
|
const nextStepsMapCivilTOLPDisplay = {
|
|
@@ -2483,6 +2526,27 @@ filterNextStepsMap(
|
|
|
2483
2526
|
},
|
|
2484
2527
|
});
|
|
2485
2528
|
|
|
2529
|
+
({
|
|
2530
|
+
values: {
|
|
2531
|
+
Type_Of_Legal_Problem: {
|
|
2532
|
+
"Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
|
|
2533
|
+
"Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
|
|
2534
|
+
},
|
|
2535
|
+
"*": [...nextStepsLegalDefault],
|
|
2536
|
+
},
|
|
2537
|
+
});
|
|
2538
|
+
|
|
2539
|
+
({
|
|
2540
|
+
values: {
|
|
2541
|
+
Type_Of_Legal_Problem: {
|
|
2542
|
+
"Probate and Estates": TOLPNextSteps["Probate and Estates"],
|
|
2543
|
+
"Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
|
|
2544
|
+
"Wrongful Death": TOLPNextSteps["Wrongful Death"],
|
|
2545
|
+
},
|
|
2546
|
+
"*": [...nextStepsLegalDefault],
|
|
2547
|
+
},
|
|
2548
|
+
});
|
|
2549
|
+
|
|
2486
2550
|
({
|
|
2487
2551
|
values: {
|
|
2488
2552
|
Type_Of_Legal_Problem_Display: {
|
|
@@ -2543,7 +2607,6 @@ const legalCrossSellOptionMap = CROSS_SELL_OPTION_MAP_LEGAL;
|
|
|
2543
2607
|
const meta = defaultMetaPropsLegal();
|
|
2544
2608
|
|
|
2545
2609
|
meta.data.dynamicSchema = [
|
|
2546
|
-
zipcode(),
|
|
2547
2610
|
maritalStatus(),
|
|
2548
2611
|
haveChildren(),
|
|
2549
2612
|
childRelationship(),
|
|
@@ -2554,11 +2617,11 @@ meta.data.dynamicSchema = [
|
|
|
2554
2617
|
lawyerPaymentMethod(),
|
|
2555
2618
|
commentsWithBankruptcy({
|
|
2556
2619
|
label: null,
|
|
2557
|
-
headline:
|
|
2558
|
-
headlineClass:
|
|
2620
|
+
headline: "Please briefly describe your situation:",
|
|
2621
|
+
headlineClass: "!t-text-dark",
|
|
2559
2622
|
}),
|
|
2560
2623
|
legalCrossSells({
|
|
2561
|
-
headlineClass:
|
|
2624
|
+
headlineClass: "!t-text-dark",
|
|
2562
2625
|
nextStepMap: nextStepsMapLegalCrossSells,
|
|
2563
2626
|
}),
|
|
2564
2627
|
// Note: this is purposefully limited to a subset of values
|
|
@@ -2570,8 +2633,8 @@ meta.data.dynamicSchema = [
|
|
|
2570
2633
|
ssdiCrossSellQuestions(),
|
|
2571
2634
|
powerOfAttorneyCrossSellQuestions(),
|
|
2572
2635
|
willsAndTrustsCrossSellQuestions(),
|
|
2573
|
-
|
|
2574
|
-
headlineClass:
|
|
2636
|
+
firstAndLastV4({
|
|
2637
|
+
headlineClass: "!t-text-dark",
|
|
2575
2638
|
}),
|
|
2576
2639
|
];
|
|
2577
2640
|
|
|
@@ -2579,40 +2642,49 @@ const schema = [
|
|
|
2579
2642
|
meta,
|
|
2580
2643
|
formAnchor(),
|
|
2581
2644
|
{
|
|
2582
|
-
$cmp:
|
|
2645
|
+
$cmp: "FormKit",
|
|
2583
2646
|
props: formProps({
|
|
2584
|
-
formId:
|
|
2647
|
+
formId: "childAndFamilySingle",
|
|
2585
2648
|
redirectMap: legalRedirectMap(),
|
|
2586
|
-
crossSellOptionMap: legalCrossSellOptionMap
|
|
2649
|
+
crossSellOptionMap: legalCrossSellOptionMap,
|
|
2587
2650
|
}),
|
|
2588
2651
|
children: [
|
|
2589
2652
|
progressBar(),
|
|
2590
2653
|
headline({
|
|
2591
2654
|
children: '$urlParam("hl", "Get Child & Family Help Today")',
|
|
2592
|
-
if:
|
|
2655
|
+
if: "$activeStep === $firstStep()",
|
|
2593
2656
|
}),
|
|
2594
2657
|
subHeadline({
|
|
2595
2658
|
children: '$urlParam("shl", "Select a Category to Start!")',
|
|
2596
|
-
if:
|
|
2659
|
+
if: "$activeStep === $firstStep()",
|
|
2597
2660
|
}),
|
|
2598
2661
|
...hiddenInputsLegal,
|
|
2599
2662
|
{
|
|
2600
|
-
$el:
|
|
2663
|
+
$el: "div",
|
|
2601
2664
|
attrs: {
|
|
2602
|
-
class:
|
|
2665
|
+
class: "form-body",
|
|
2603
2666
|
},
|
|
2604
2667
|
children: [
|
|
2605
2668
|
childAndFamilyTOLP({
|
|
2606
|
-
nextStepMap: nextStepsMapChildAndFamily
|
|
2669
|
+
nextStepMap: nextStepsMapChildAndFamily,
|
|
2607
2670
|
}),
|
|
2608
2671
|
dynamicSchemaNode(),
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2672
|
+
zipcode(),
|
|
2673
|
+
contactInfoV2({
|
|
2674
|
+
subheadlineClass: "!t-text-base",
|
|
2675
|
+
}),
|
|
2676
|
+
formNavigationNoFinalBack({
|
|
2677
|
+
startText: "Start Now",
|
|
2678
|
+
submitLabel: "Get Help Now",
|
|
2679
|
+
inputClass: "!t-font-extrabold",
|
|
2680
|
+
firstStepButtonClass: "!t-justify-center",
|
|
2681
|
+
}),
|
|
2682
|
+
secureIconStandalone(),
|
|
2683
|
+
formDetails(),
|
|
2684
|
+
],
|
|
2685
|
+
},
|
|
2686
|
+
],
|
|
2687
|
+
},
|
|
2616
2688
|
];
|
|
2617
2689
|
|
|
2618
2690
|
export { schema as default };
|