bhl-forms 0.6.3 → 0.6.4
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.iife.js +1 -1
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +7 -7
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/accidentsAndInjuries.es.js +1 -3
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/childAndFamily.es.js +2 -4
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +32 -38
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +2 -4
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/contracts.es.js +1 -3
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +3 -4
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +1 -3
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +3 -4
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +3 -4
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +2 -3
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +79 -59
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +2 -3
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +1 -3
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +1 -3
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/realEstate.es.js +2 -3
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +1 -3
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +10 -9
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +1 -3
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -1032,12 +1032,15 @@ const radio = (updates) => {
|
|
|
1032
1032
|
|
|
1033
1033
|
const col2RadioCenter = (updates) => {
|
|
1034
1034
|
updates.legendClass = 'required t-w-[100%] t-text-center';
|
|
1035
|
-
updates.fieldsetClass
|
|
1036
|
-
|
|
1035
|
+
if (typeof updates.fieldsetClass === 'undefined') {
|
|
1036
|
+
updates.fieldsetClass = '$reset t-flex t-justify-center';
|
|
1037
|
+
}
|
|
1038
|
+
updates.optionsClass = 't-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2';
|
|
1037
1039
|
updates.innerClass = 't-items-start';
|
|
1038
1040
|
updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
|
|
1039
|
-
updates.optionClass = 't-pl-4 md:t-pl-8';
|
|
1041
|
+
updates.optionClass = 't-pl-4 md:t-pl-8 md:t-min-w-[200px]';
|
|
1040
1042
|
updates.messagesClass = 't-flex t-justify-center';
|
|
1043
|
+
updates.helpClass = 't-mt-0 t-mb-4 !t-text-sm t-text-center';
|
|
1041
1044
|
return radio(updates)
|
|
1042
1045
|
};
|
|
1043
1046
|
|
|
@@ -1064,11 +1067,13 @@ const sbsYesNoRadio = (updates) => {
|
|
|
1064
1067
|
return sbs2ItemRadio(updates)
|
|
1065
1068
|
};
|
|
1066
1069
|
|
|
1067
|
-
const
|
|
1070
|
+
const verticalButtonRadio = (updates) => {
|
|
1068
1071
|
updates.legendClass = 'legend-left';
|
|
1069
|
-
updates.fieldsetClass = '$reset
|
|
1070
|
-
updates.optionsClass
|
|
1071
|
-
|
|
1072
|
+
updates.fieldsetClass = '$reset t-flex t-justify-center t-items-center';
|
|
1073
|
+
if (typeof updates.optionsClass === 'undefined') {
|
|
1074
|
+
updates.optionsClass = 't-flex t-flex-col sm:t-flex-row t-justify-center t-my-3';
|
|
1075
|
+
}
|
|
1076
|
+
updates.optionClass = 'radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5';
|
|
1072
1077
|
updates.wrapperClass = '$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]';
|
|
1073
1078
|
updates.labelClass = 't-font-semibold t-text-[#1e448f] t-w-[100%]';
|
|
1074
1079
|
updates.decoratorIcon = false;
|
|
@@ -1078,7 +1083,8 @@ const vertical2ItemRadio = (updates) => {
|
|
|
1078
1083
|
|
|
1079
1084
|
const verticalYesNoRadio = (updates) => {
|
|
1080
1085
|
updates.options = ['Yes', 'No'];
|
|
1081
|
-
|
|
1086
|
+
updates.optionsClass = 't-flex t-justify-center t-my-3';
|
|
1087
|
+
return verticalButtonRadio(updates)
|
|
1082
1088
|
};
|
|
1083
1089
|
|
|
1084
1090
|
const verticalRadio = (updates) => {
|
|
@@ -1243,7 +1249,7 @@ const applicantAgeCenter = (scope) => verticalText({
|
|
|
1243
1249
|
},
|
|
1244
1250
|
});
|
|
1245
1251
|
|
|
1246
|
-
const applicantDisabilityHowObtainCenter = (scope) =>
|
|
1252
|
+
const applicantDisabilityHowObtainCenter = (scope) => verticalButtonRadio({
|
|
1247
1253
|
name: scope ? scope + ':' + 'Applicant_Disability_How_Obtain' : 'Applicant_Disability_How_Obtain',
|
|
1248
1254
|
options: [
|
|
1249
1255
|
"Employer",
|
|
@@ -1301,7 +1307,7 @@ const atFaultCenter = (scope) => verticalYesNoRadio({
|
|
|
1301
1307
|
});
|
|
1302
1308
|
|
|
1303
1309
|
const bankruptcyCrossSell = () => sbsCheckbox({
|
|
1304
|
-
label: "I'd also like a
|
|
1310
|
+
label: "I'd also like a consult for bankruptcy or debt elimination (optional)",
|
|
1305
1311
|
help: "Note: you will be contacted separately by a bankruptcy/debt expert",
|
|
1306
1312
|
name: 'CrossSell_Bankruptcy',
|
|
1307
1313
|
id: 'CrossSell_Bankruptcy',
|
|
@@ -1339,7 +1345,7 @@ const bloodContentAlcoholTestCenter = (scope) => verticalSelect({
|
|
|
1339
1345
|
]
|
|
1340
1346
|
});
|
|
1341
1347
|
|
|
1342
|
-
const businessServicesCenter = () =>
|
|
1348
|
+
const businessServicesCenter = () => col2RadioCenter({
|
|
1343
1349
|
id: 'Business_Services',
|
|
1344
1350
|
name: 'Business_Services',
|
|
1345
1351
|
options: [
|
|
@@ -1353,7 +1359,7 @@ const businessServicesCenter = () => verticalSelect({
|
|
|
1353
1359
|
]
|
|
1354
1360
|
});
|
|
1355
1361
|
|
|
1356
|
-
const businessTypeCenter = () =>
|
|
1362
|
+
const businessTypeCenter = () => verticalButtonRadio({
|
|
1357
1363
|
name: 'Business_Type',
|
|
1358
1364
|
options: [
|
|
1359
1365
|
"Public",
|
|
@@ -1373,7 +1379,7 @@ const causeOfInjury$1 = (scope) => sbsSelect({
|
|
|
1373
1379
|
]
|
|
1374
1380
|
});
|
|
1375
1381
|
|
|
1376
|
-
const causeOfInjuryCenter = (scope) =>
|
|
1382
|
+
const causeOfInjuryCenter = (scope) => col2RadioCenter({
|
|
1377
1383
|
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
1378
1384
|
options: [
|
|
1379
1385
|
"Traumatic Physical Injury (Accident)",
|
|
@@ -1384,7 +1390,7 @@ const causeOfInjuryCenter = (scope) => verticalSelect({
|
|
|
1384
1390
|
]
|
|
1385
1391
|
});
|
|
1386
1392
|
|
|
1387
|
-
const causeOfDeathCenter = () =>
|
|
1393
|
+
const causeOfDeathCenter = () => col2RadioCenter({
|
|
1388
1394
|
name: 'Cause_Of_Death',
|
|
1389
1395
|
options: [
|
|
1390
1396
|
"Vehicle Accident",
|
|
@@ -1412,7 +1418,7 @@ const civilLawsuitTOLPDisplayCenter = (updates) => col2RadioCenter(merge({
|
|
|
1412
1418
|
]
|
|
1413
1419
|
}, updates));
|
|
1414
1420
|
|
|
1415
|
-
const civilRightsTypeCenter = () =>
|
|
1421
|
+
const civilRightsTypeCenter = () => col2RadioCenter({
|
|
1416
1422
|
name: 'Civil_Rights_Type',
|
|
1417
1423
|
options: [
|
|
1418
1424
|
"Age",
|
|
@@ -1435,7 +1441,7 @@ const childHome$1 = (scope) => sbsSelect({
|
|
|
1435
1441
|
]
|
|
1436
1442
|
});
|
|
1437
1443
|
|
|
1438
|
-
const childHomeCenter = (scope) =>
|
|
1444
|
+
const childHomeCenter = (scope) => col2RadioCenter({
|
|
1439
1445
|
name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
|
|
1440
1446
|
options: [
|
|
1441
1447
|
'Mother',
|
|
@@ -1455,7 +1461,7 @@ const childPrimaryCaregiver$1 = (scope) => sbsSelect({
|
|
|
1455
1461
|
]
|
|
1456
1462
|
});
|
|
1457
1463
|
|
|
1458
|
-
const childPrimaryCaregiverCenter = (scope) =>
|
|
1464
|
+
const childPrimaryCaregiverCenter = (scope) => verticalButtonRadio({
|
|
1459
1465
|
name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
|
|
1460
1466
|
options: [
|
|
1461
1467
|
'Mother',
|
|
@@ -1476,7 +1482,7 @@ const childRelationship$1 = (scope) => sbsSelect({
|
|
|
1476
1482
|
]
|
|
1477
1483
|
});
|
|
1478
1484
|
|
|
1479
|
-
const childRelationshipCenter = (scope) =>
|
|
1485
|
+
const childRelationshipCenter = (scope) => col2RadioCenter({
|
|
1480
1486
|
name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
|
|
1481
1487
|
options: [
|
|
1482
1488
|
'Father',
|
|
@@ -1498,7 +1504,7 @@ const claimStatus$1 = (scope) => sbsSelect({
|
|
|
1498
1504
|
]
|
|
1499
1505
|
});
|
|
1500
1506
|
|
|
1501
|
-
const claimStatusCenter = (scope) =>
|
|
1507
|
+
const claimStatusCenter = (scope) => col2RadioCenter({
|
|
1502
1508
|
name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
|
|
1503
1509
|
options: [
|
|
1504
1510
|
"No action taken yet",
|
|
@@ -1736,7 +1742,7 @@ const crimeCommittedDateCenter = () => verticalDate({
|
|
|
1736
1742
|
name: 'Crime_Committed_Date'
|
|
1737
1743
|
});
|
|
1738
1744
|
|
|
1739
|
-
const criminalChargeTypeCenter = () =>
|
|
1745
|
+
const criminalChargeTypeCenter = () => col2RadioCenter({
|
|
1740
1746
|
name: 'Criminal_Charge_Type',
|
|
1741
1747
|
options: [
|
|
1742
1748
|
"Felony",
|
|
@@ -1768,7 +1774,7 @@ const degreeOfInterest$1 = (scope, help) => sbsSelect({
|
|
|
1768
1774
|
]
|
|
1769
1775
|
});
|
|
1770
1776
|
|
|
1771
|
-
const degreeOfInterestCenter = (scope, help) =>
|
|
1777
|
+
const degreeOfInterestCenter = (scope, help) => col2RadioCenter({
|
|
1772
1778
|
name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1773
1779
|
id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1774
1780
|
help: help,
|
|
@@ -1813,7 +1819,7 @@ const doctorTreatmentCenter = () => verticalYesNoRadio({
|
|
|
1813
1819
|
name: 'Doctor_Treatment',
|
|
1814
1820
|
});
|
|
1815
1821
|
|
|
1816
|
-
const driversLicenseTypeCenter = () =>
|
|
1822
|
+
const driversLicenseTypeCenter = () => verticalButtonRadio({
|
|
1817
1823
|
name: 'Drivers_License_Type',
|
|
1818
1824
|
options: [
|
|
1819
1825
|
"Private",
|
|
@@ -1835,7 +1841,7 @@ const email = () => sbsText({
|
|
|
1835
1841
|
}
|
|
1836
1842
|
});
|
|
1837
1843
|
|
|
1838
|
-
const employerTypeCenter = () =>
|
|
1844
|
+
const employerTypeCenter = () => col2RadioCenter({
|
|
1839
1845
|
name: 'Employer_Type',
|
|
1840
1846
|
options: [
|
|
1841
1847
|
"Sole proprietorship (mom and pop)",
|
|
@@ -1875,7 +1881,7 @@ const estateLegalServicesNeeded$1 = (scope) => sbsSelect({
|
|
|
1875
1881
|
]
|
|
1876
1882
|
});
|
|
1877
1883
|
|
|
1878
|
-
const estateLegalServicesNeededCenter = (scope) =>
|
|
1884
|
+
const estateLegalServicesNeededCenter = (scope) => col2RadioCenter({
|
|
1879
1885
|
name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
|
|
1880
1886
|
options: [
|
|
1881
1887
|
"Charitable Giving",
|
|
@@ -2006,7 +2012,7 @@ const immigrationEntryCenter = (scope) => verticalSelect({
|
|
|
2006
2012
|
]
|
|
2007
2013
|
});
|
|
2008
2014
|
|
|
2009
|
-
const immigrationLocationCenter = (scope) =>
|
|
2015
|
+
const immigrationLocationCenter = (scope) => col2RadioCenter({
|
|
2010
2016
|
name: scope ? scope + ':' + 'Immigration_Location' : 'Immigration_Location',
|
|
2011
2017
|
options: [
|
|
2012
2018
|
"In the USA",
|
|
@@ -2061,7 +2067,7 @@ const lastName = () => sbsText({
|
|
|
2061
2067
|
}
|
|
2062
2068
|
});
|
|
2063
2069
|
|
|
2064
|
-
const landlordTenantPartyCenter = () =>
|
|
2070
|
+
const landlordTenantPartyCenter = () => verticalButtonRadio({
|
|
2065
2071
|
name: 'Landlord_Tenant_Party',
|
|
2066
2072
|
options: [
|
|
2067
2073
|
"Landlord",
|
|
@@ -2085,7 +2091,7 @@ const landlordTenantIssueRadioCenter = () => col2RadioCenter({
|
|
|
2085
2091
|
]
|
|
2086
2092
|
});
|
|
2087
2093
|
|
|
2088
|
-
const lawsuitOtherPartyCenter = () =>
|
|
2094
|
+
const lawsuitOtherPartyCenter = () => col2RadioCenter({
|
|
2089
2095
|
name: 'Lawsuit_Other_Party',
|
|
2090
2096
|
options: [
|
|
2091
2097
|
"Individual",
|
|
@@ -2109,23 +2115,22 @@ const lawyerPaymentMethod$1 = (scope) => sbsSelect({
|
|
|
2109
2115
|
]
|
|
2110
2116
|
});
|
|
2111
2117
|
|
|
2112
|
-
const lawyerPaymentMethodCenter = (scope) =>
|
|
2118
|
+
const lawyerPaymentMethodCenter = (scope) => col2RadioCenter({
|
|
2113
2119
|
name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
|
|
2114
|
-
help: 'No payment necessary to
|
|
2115
|
-
options:
|
|
2116
|
-
'Cash',
|
|
2117
|
-
'
|
|
2118
|
-
'
|
|
2119
|
-
'
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
]
|
|
2120
|
+
help: 'No payment necessary to start a consultation.',
|
|
2121
|
+
options: {
|
|
2122
|
+
'Cash': 'Cash',
|
|
2123
|
+
'Credit Card': 'Credit Card',
|
|
2124
|
+
'Family': 'Family or Friend',
|
|
2125
|
+
'Other': 'Other'
|
|
2126
|
+
},
|
|
2127
|
+
fieldsetClass: '$reset t-flex t-flex-col t-items-center'
|
|
2123
2128
|
});
|
|
2124
2129
|
|
|
2125
2130
|
const legalCrossSells$1 = () => col2Checkbox({
|
|
2126
2131
|
id: 'Legal_CrossSells',
|
|
2127
2132
|
name: 'Legal_CrossSells',
|
|
2128
|
-
help: '
|
|
2133
|
+
help: 'Just hit "Next" if none apply',
|
|
2129
2134
|
helpClass: 't-text-center !t-text-sm',
|
|
2130
2135
|
validation: null,
|
|
2131
2136
|
options: {
|
|
@@ -2222,7 +2227,7 @@ const maritalStatus$1 = (scope) => sbsSelect({
|
|
|
2222
2227
|
]
|
|
2223
2228
|
});
|
|
2224
2229
|
|
|
2225
|
-
const maritalStatusCenter = (scope) =>
|
|
2230
|
+
const maritalStatusCenter = (scope) => col2RadioCenter({
|
|
2226
2231
|
name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
|
|
2227
2232
|
options: [
|
|
2228
2233
|
'Unmarried, Living Together',
|
|
@@ -2247,7 +2252,7 @@ const medicalMalpracticeInjuriesCenter = () => verticalSelect({
|
|
|
2247
2252
|
]
|
|
2248
2253
|
});
|
|
2249
2254
|
|
|
2250
|
-
const numEmployeesOfBusinessCenter = () =>
|
|
2255
|
+
const numEmployeesOfBusinessCenter = () => col2RadioCenter({
|
|
2251
2256
|
name: 'Num_Employees_Of_Business',
|
|
2252
2257
|
options: [
|
|
2253
2258
|
"1-5",
|
|
@@ -2275,7 +2280,7 @@ const patentAssistanceTypeCenter = () => verticalSelect({
|
|
|
2275
2280
|
]
|
|
2276
2281
|
});
|
|
2277
2282
|
|
|
2278
|
-
const patentForCenter = () =>
|
|
2283
|
+
const patentForCenter = () => col2RadioCenter({
|
|
2279
2284
|
name: 'Patent_For',
|
|
2280
2285
|
options: [
|
|
2281
2286
|
"Product or Machine",
|
|
@@ -2361,7 +2366,7 @@ const policeReportFiledCenter = (scope) => verticalYesNoRadio({
|
|
|
2361
2366
|
name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
|
|
2362
2367
|
});
|
|
2363
2368
|
|
|
2364
|
-
const realEstateAreaCenter = () =>
|
|
2369
|
+
const realEstateAreaCenter = () => col2RadioCenter({
|
|
2365
2370
|
name: 'Real_Estate_Area',
|
|
2366
2371
|
options: [
|
|
2367
2372
|
"Condos and Coops",
|
|
@@ -2391,7 +2396,7 @@ const realEstateTOLPDisplayCenter = (updates) => col2RadioCenter(merge({
|
|
|
2391
2396
|
]
|
|
2392
2397
|
}, updates));
|
|
2393
2398
|
|
|
2394
|
-
const relationshipToVictimCenter = () =>
|
|
2399
|
+
const relationshipToVictimCenter = () => col2RadioCenter({
|
|
2395
2400
|
name: 'Relationship_To_Victim',
|
|
2396
2401
|
options: [
|
|
2397
2402
|
"Parent",
|
|
@@ -2422,7 +2427,7 @@ const roleInMatterProbate$1 = (scope) => sbsSelect({
|
|
|
2422
2427
|
]
|
|
2423
2428
|
});
|
|
2424
2429
|
|
|
2425
|
-
const roleInMatterProbateCenter = (scope) =>
|
|
2430
|
+
const roleInMatterProbateCenter = (scope) => col2RadioCenter({
|
|
2426
2431
|
name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
|
|
2427
2432
|
options: [
|
|
2428
2433
|
"Preparing My Will",
|
|
@@ -2441,7 +2446,7 @@ const socialSecurityDisabilityReceivingBenefitsCenter = (scope) => verticalYesNo
|
|
|
2441
2446
|
name: scope ? scope + ':' + 'Social_Security_Disability_Receiving_Benefits' : 'Social_Security_Disability_Receiving_Benefits',
|
|
2442
2447
|
});
|
|
2443
2448
|
|
|
2444
|
-
const taxLevelCenter = () =>
|
|
2449
|
+
const taxLevelCenter = () => col2RadioCenter({
|
|
2445
2450
|
name: 'Tax_Level',
|
|
2446
2451
|
options: [
|
|
2447
2452
|
"Federal",
|
|
@@ -2450,7 +2455,7 @@ const taxLevelCenter = () => verticalSelect({
|
|
|
2450
2455
|
]
|
|
2451
2456
|
});
|
|
2452
2457
|
|
|
2453
|
-
const taxIssueTypeCenter = () =>
|
|
2458
|
+
const taxIssueTypeCenter = () => col2RadioCenter({
|
|
2454
2459
|
name: 'Tax_Issue_Type',
|
|
2455
2460
|
options: [
|
|
2456
2461
|
"Income",
|
|
@@ -2474,7 +2479,7 @@ const taxProblemDetailsCenter = () => verticalSelect({
|
|
|
2474
2479
|
]
|
|
2475
2480
|
});
|
|
2476
2481
|
|
|
2477
|
-
const totalDebtCenter = () =>
|
|
2482
|
+
const totalDebtCenter = () => col2RadioCenter({
|
|
2478
2483
|
name: 'Total_Debt',
|
|
2479
2484
|
options: [
|
|
2480
2485
|
"Less than 5K",
|
|
@@ -2528,7 +2533,7 @@ const typeOfAlcoholTest$1 = (scope) => sbsSelect({
|
|
|
2528
2533
|
]
|
|
2529
2534
|
});
|
|
2530
2535
|
|
|
2531
|
-
const typeOfAlcoholTestCenter = (scope) =>
|
|
2536
|
+
const typeOfAlcoholTestCenter = (scope) => col2RadioCenter({
|
|
2532
2537
|
name: scope ? scope + ':' + 'Type_Of_Alcohol_Test' : 'Type_Of_Alcohol_Test',
|
|
2533
2538
|
options: [
|
|
2534
2539
|
"No Test",
|
|
@@ -2567,7 +2572,7 @@ const typeOfAssetsCenter = (scope) => verticalCol2Checkbox({
|
|
|
2567
2572
|
]
|
|
2568
2573
|
});
|
|
2569
2574
|
|
|
2570
|
-
const typeOfPropertyCenter = () =>
|
|
2575
|
+
const typeOfPropertyCenter = () => col2RadioCenter({
|
|
2571
2576
|
name: 'Type_Of_Property',
|
|
2572
2577
|
options: [
|
|
2573
2578
|
"Residential",
|
|
@@ -2615,7 +2620,7 @@ const valueOfAssets$1 = (scope) => sbsSelect({
|
|
|
2615
2620
|
]
|
|
2616
2621
|
});
|
|
2617
2622
|
|
|
2618
|
-
const valueOfAssetsCenter = (scope) =>
|
|
2623
|
+
const valueOfAssetsCenter = (scope) => col2RadioCenter({
|
|
2619
2624
|
name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
|
|
2620
2625
|
options: [
|
|
2621
2626
|
"Less than 50K",
|
|
@@ -2681,7 +2686,7 @@ const wouldLikeLawyerToCenter = () => verticalRadio({
|
|
|
2681
2686
|
|
|
2682
2687
|
const zipcodeCenter = () => text({
|
|
2683
2688
|
placeholder: '#####',
|
|
2684
|
-
help: "We try to match you with local legal help
|
|
2689
|
+
help: "We try to match you with local legal help",
|
|
2685
2690
|
name: 'Zip',
|
|
2686
2691
|
maxlength: 5,
|
|
2687
2692
|
inputmode: "numeric",
|
|
@@ -2911,7 +2916,15 @@ function verticalStepHeadline(updates) {
|
|
|
2911
2916
|
}
|
|
2912
2917
|
}
|
|
2913
2918
|
|
|
2914
|
-
|
|
2919
|
+
function verticalStepSubHeadline(updates) {
|
|
2920
|
+
return {
|
|
2921
|
+
$el: 'h5',
|
|
2922
|
+
children: updates.subheadline || '',
|
|
2923
|
+
attrs: {
|
|
2924
|
+
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 || '')
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2915
2928
|
|
|
2916
2929
|
function commentsStepHeadline(updates) {
|
|
2917
2930
|
return {
|
|
@@ -3091,11 +3104,18 @@ function contactInfoV2(updates = {}) {
|
|
|
3091
3104
|
)
|
|
3092
3105
|
}
|
|
3093
3106
|
|
|
3094
|
-
function
|
|
3107
|
+
function firstAndLastV3(updates = {}) {
|
|
3095
3108
|
return step(
|
|
3096
3109
|
'firstAndLast',
|
|
3097
3110
|
[
|
|
3098
|
-
firstAndLastStepHeadline(
|
|
3111
|
+
firstAndLastStepHeadline({
|
|
3112
|
+
headline: updates.headline ?? 'Who is looking for help?',
|
|
3113
|
+
headlineClass: updates.headlineClass
|
|
3114
|
+
}),
|
|
3115
|
+
verticalStepSubHeadline({
|
|
3116
|
+
subheadline: updates.subheadline ?? 'Note: we never share info without consent',
|
|
3117
|
+
subheadlineClass: '!t-text-sm !t-text-gray-500'
|
|
3118
|
+
}),
|
|
3099
3119
|
firstName(),
|
|
3100
3120
|
lastName()
|
|
3101
3121
|
],
|
|
@@ -3427,7 +3447,7 @@ function lawyerPaymentMethod(updates = {}) {
|
|
|
3427
3447
|
return sqstep(
|
|
3428
3448
|
'lawyerPaymentMethod',
|
|
3429
3449
|
lawyerPaymentMethodCenter(),
|
|
3430
|
-
'How
|
|
3450
|
+
'How would you pay if a solution required it?',
|
|
3431
3451
|
updates
|
|
3432
3452
|
)
|
|
3433
3453
|
}
|
|
@@ -3571,7 +3591,7 @@ function lawsuitOtherParty(updates = {}) {
|
|
|
3571
3591
|
return sqstep(
|
|
3572
3592
|
'lawsuitOtherParty',
|
|
3573
3593
|
lawsuitOtherPartyCenter(),
|
|
3574
|
-
'What
|
|
3594
|
+
'What describes the other party in the lawsuit?',
|
|
3575
3595
|
updates
|
|
3576
3596
|
)
|
|
3577
3597
|
}
|
|
@@ -3688,7 +3708,7 @@ function applicantLTDisabilityPolicy(updates = {}) {
|
|
|
3688
3708
|
return sqstep(
|
|
3689
3709
|
'applicantLTDisabilityPolicy',
|
|
3690
3710
|
applicantLTDisabilityPolicyCenter(),
|
|
3691
|
-
'Does the applicant have a
|
|
3711
|
+
'Does the applicant have a disability policy?',
|
|
3692
3712
|
updates
|
|
3693
3713
|
)
|
|
3694
3714
|
}
|
|
@@ -3907,7 +3927,7 @@ function landlordTenantParty(updates = {}) {
|
|
|
3907
3927
|
return sqstep(
|
|
3908
3928
|
'landlordTenantParty',
|
|
3909
3929
|
landlordTenantPartyCenter(),
|
|
3910
|
-
'
|
|
3930
|
+
'I am the:',
|
|
3911
3931
|
updates
|
|
3912
3932
|
)
|
|
3913
3933
|
}
|
|
@@ -4254,7 +4274,7 @@ meta.data.dynamicSchema = [
|
|
|
4254
4274
|
willsAndTrustsCrossSellQuestions(),
|
|
4255
4275
|
divorceAndSeparationCrossSellQuestions(),
|
|
4256
4276
|
childCustodyCrossSellQuestions(),
|
|
4257
|
-
|
|
4277
|
+
firstAndLastV3({
|
|
4258
4278
|
headlineClass: '!t-text-dark'
|
|
4259
4279
|
}),
|
|
4260
4280
|
];
|