@sheerid/jslib 1.78.0 → 1.81.1
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/es5/Tmetrix.bundle.js +5 -5
- package/es5/messages_ar.bundle.js +5 -5
- package/es5/messages_bg.bundle.js +5 -5
- package/es5/messages_cs.bundle.js +5 -5
- package/es5/messages_da.bundle.js +5 -5
- package/es5/messages_de.bundle.js +5 -5
- package/es5/messages_el.bundle.js +5 -5
- package/es5/messages_en-GB.bundle.js +5 -5
- package/es5/messages_es-ES.bundle.js +5 -5
- package/es5/messages_es.bundle.js +5 -5
- package/es5/messages_fi.bundle.js +5 -5
- package/es5/messages_fr-CA.bundle.js +5 -5
- package/es5/messages_fr.bundle.js +5 -5
- package/es5/messages_ga.bundle.js +5 -5
- package/es5/messages_hr.bundle.js +5 -5
- package/es5/messages_hu.bundle.js +5 -5
- package/es5/messages_id.bundle.js +5 -5
- package/es5/messages_it.bundle.js +5 -5
- package/es5/messages_iw.bundle.js +5 -5
- package/es5/messages_ja.bundle.js +5 -5
- package/es5/messages_ko.bundle.js +5 -5
- package/es5/messages_lo.bundle.js +5 -5
- package/es5/messages_lt.bundle.js +5 -5
- package/es5/messages_ms.bundle.js +5 -5
- package/es5/messages_nl.bundle.js +5 -5
- package/es5/messages_no.bundle.js +5 -5
- package/es5/messages_pl.bundle.js +5 -5
- package/es5/messages_pt-BR.bundle.js +5 -5
- package/es5/messages_pt.bundle.js +5 -5
- package/es5/messages_ru.bundle.js +5 -5
- package/es5/messages_sk.bundle.js +5 -5
- package/es5/messages_sl.bundle.js +5 -5
- package/es5/messages_sr.bundle.js +5 -5
- package/es5/messages_sv.bundle.js +5 -5
- package/es5/messages_th.bundle.js +5 -5
- package/es5/messages_tr.bundle.js +5 -5
- package/es5/messages_zh-HK.bundle.js +5 -5
- package/es5/messages_zh.bundle.js +5 -5
- package/es6/{ar-8068dab6.es.js → ar-cb29c5de.es.js} +7 -3
- package/es6/{cs-d8b4c497.es.js.map → ar-cb29c5de.es.js.map} +1 -1
- package/es6/{bg-44287e7c.es.js → bg-fed08b4c.es.js} +7 -3
- package/es6/{ar-8068dab6.es.js.map → bg-fed08b4c.es.js.map} +1 -1
- package/es6/{cs-d8b4c497.es.js → cs-40a8a187.es.js} +7 -3
- package/es6/{da-54c14896.es.js.map → cs-40a8a187.es.js.map} +1 -1
- package/es6/{da-54c14896.es.js → da-5518b2bd.es.js} +7 -3
- package/es6/{bg-44287e7c.es.js.map → da-5518b2bd.es.js.map} +1 -1
- package/es6/{de-3e6806c8.es.js → de-96c87dcb.es.js} +9 -5
- package/es6/de-96c87dcb.es.js.map +1 -0
- package/es6/{el-3935c4d5.es.js → el-a4c7c87a.es.js} +7 -3
- package/es6/el-a4c7c87a.es.js.map +1 -0
- package/es6/{en-GB-0536c588.es.js → en-GB-9dbd452a.es.js} +100 -96
- package/es6/{en-GB-0536c588.es.js.map → en-GB-9dbd452a.es.js.map} +1 -1
- package/es6/{es-ES-eca6a76e.es.js → es-ES-0dd99a59.es.js} +7 -3
- package/es6/{es-ES-eca6a76e.es.js.map → es-ES-0dd99a59.es.js.map} +1 -1
- package/es6/{es-32e5991a.es.js → es-f3809fcb.es.js} +7 -3
- package/es6/es-f3809fcb.es.js.map +1 -0
- package/es6/{fi-aed748d2.es.js → fi-e45351d6.es.js} +7 -3
- package/es6/fi-e45351d6.es.js.map +1 -0
- package/es6/{fr-d27beb6f.es.js → fr-1db95d70.es.js} +7 -3
- package/es6/fr-1db95d70.es.js.map +1 -0
- package/es6/{fr-CA-472c60e5.es.js → fr-CA-45df5324.es.js} +7 -3
- package/es6/{fr-CA-472c60e5.es.js.map → fr-CA-45df5324.es.js.map} +1 -1
- package/es6/{ga-cd739108.es.js → ga-184cc094.es.js} +7 -3
- package/es6/ga-184cc094.es.js.map +1 -0
- package/es6/{hr-4b6390b1.es.js → hr-065f62e3.es.js} +7 -3
- package/es6/hr-065f62e3.es.js.map +1 -0
- package/es6/{hu-68666ba3.es.js → hu-f68a0ce6.es.js} +7 -3
- package/es6/hu-f68a0ce6.es.js.map +1 -0
- package/es6/{id-d4d36e25.es.js → id-c25e786a.es.js} +7 -3
- package/es6/id-c25e786a.es.js.map +1 -0
- package/es6/{it-f810af3d.es.js → it-230764c3.es.js} +7 -3
- package/es6/it-230764c3.es.js.map +1 -0
- package/es6/{iw-a58ab227.es.js → iw-032e372f.es.js} +7 -3
- package/es6/iw-032e372f.es.js.map +1 -0
- package/es6/{ja-76983559.es.js → ja-ff8c17c0.es.js} +7 -3
- package/es6/ja-ff8c17c0.es.js.map +1 -0
- package/es6/{ko-b358da91.es.js → ko-8518fa04.es.js} +7 -3
- package/es6/ko-8518fa04.es.js.map +1 -0
- package/es6/{lo-008d2746.es.js → lo-d7ff1047.es.js} +7 -3
- package/es6/lo-d7ff1047.es.js.map +1 -0
- package/es6/{lt-9b3b251d.es.js → lt-54533a36.es.js} +7 -3
- package/es6/lt-54533a36.es.js.map +1 -0
- package/es6/{ms-89220c51.es.js → ms-4d678469.es.js} +7 -3
- package/es6/ms-4d678469.es.js.map +1 -0
- package/es6/{nl-a4ac7600.es.js → nl-2f72af5f.es.js} +7 -3
- package/es6/nl-2f72af5f.es.js.map +1 -0
- package/es6/{no-c0b1b17b.es.js → no-96c1beb5.es.js} +7 -3
- package/es6/no-96c1beb5.es.js.map +1 -0
- package/es6/{pl-7c70bce1.es.js → pl-428a4933.es.js} +7 -3
- package/es6/pl-428a4933.es.js.map +1 -0
- package/es6/{pt-81a3a2fc.es.js → pt-502dc0b8.es.js} +7 -3
- package/es6/pt-502dc0b8.es.js.map +1 -0
- package/es6/{pt-BR-2bb50756.es.js → pt-BR-053ef8ff.es.js} +7 -3
- package/es6/{pt-BR-2bb50756.es.js.map → pt-BR-053ef8ff.es.js.map} +1 -1
- package/es6/{ru-0377bbb3.es.js → ru-e84e80a2.es.js} +7 -3
- package/es6/ru-e84e80a2.es.js.map +1 -0
- package/es6/{sk-4d0782cc.es.js → sk-addb6953.es.js} +7 -3
- package/es6/sk-addb6953.es.js.map +1 -0
- package/es6/{sl-429f4d1d.es.js → sl-6d181948.es.js} +7 -3
- package/es6/sl-6d181948.es.js.map +1 -0
- package/es6/{sr-13739cb8.es.js → sr-a725ed21.es.js} +7 -3
- package/es6/sr-a725ed21.es.js.map +1 -0
- package/es6/{sv-0a0fdfc4.es.js → sv-e8e2aca0.es.js} +7 -3
- package/es6/sv-e8e2aca0.es.js.map +1 -0
- package/es6/{th-b8359b99.es.js → th-f819cf32.es.js} +7 -3
- package/es6/th-f819cf32.es.js.map +1 -0
- package/es6/{tr-8be3ee98.es.js → tr-2fadf137.es.js} +7 -3
- package/es6/tr-2fadf137.es.js.map +1 -0
- package/es6/{zh-24ea267c.es.js → zh-1b8acc97.es.js} +7 -3
- package/es6/zh-1b8acc97.es.js.map +1 -0
- package/es6/{zh-HK-0f5a762e.es.js → zh-HK-967c4b27.es.js} +7 -3
- package/es6/zh-HK-967c4b27.es.js.map +1 -0
- package/localized-messages/ar.json +6 -2
- package/localized-messages/bg.json +6 -2
- package/localized-messages/cs.json +6 -2
- package/localized-messages/da.json +6 -2
- package/localized-messages/de.json +8 -4
- package/localized-messages/el.json +6 -2
- package/localized-messages/en-GB.json +99 -95
- package/localized-messages/en-US.json +6 -2
- package/localized-messages/es-ES.json +6 -2
- package/localized-messages/es.json +6 -2
- package/localized-messages/fi.json +6 -2
- package/localized-messages/fr-CA.json +6 -2
- package/localized-messages/fr.json +6 -2
- package/localized-messages/ga.json +6 -2
- package/localized-messages/hr.json +6 -2
- package/localized-messages/hu.json +6 -2
- package/localized-messages/id.json +6 -2
- package/localized-messages/it.json +6 -2
- package/localized-messages/iw.json +6 -2
- package/localized-messages/ja.json +6 -2
- package/localized-messages/ko.json +6 -2
- package/localized-messages/lo.json +6 -2
- package/localized-messages/lt.json +6 -2
- package/localized-messages/ms.json +6 -2
- package/localized-messages/nl.json +6 -2
- package/localized-messages/no.json +6 -2
- package/localized-messages/pl.json +6 -2
- package/localized-messages/pt-BR.json +6 -2
- package/localized-messages/pt.json +6 -2
- package/localized-messages/ru.json +6 -2
- package/localized-messages/sk.json +6 -2
- package/localized-messages/sl.json +6 -2
- package/localized-messages/sr.json +6 -2
- package/localized-messages/sv.json +6 -2
- package/localized-messages/th.json +6 -2
- package/localized-messages/tr.json +6 -2
- package/localized-messages/zh-HK.json +6 -2
- package/localized-messages/zh.json +6 -2
- package/manifest.json +46 -46
- package/package.json +1 -1
- package/sheerid-requestOrg.css +4 -4
- package/sheerid-requestOrg.js +15 -15
- package/sheerid-requestOrg.js.map +1 -1
- package/sheerid-utils.js +9 -9
- package/sheerid-utils.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +12 -12
- package/sheerid.js.map +1 -1
- package/sheerides6.js +173 -124
- package/sheerides6.js.map +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -0
- package/src/es6.d.ts +2 -1
- package/src/lib/types/runtimeTypes.d.ts +6 -2
- package/src/lib/types/types.d.ts +7 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +9 -7
- package/types-reference.zip +0 -0
- package/es6/de-3e6806c8.es.js.map +0 -1
- package/es6/el-3935c4d5.es.js.map +0 -1
- package/es6/es-32e5991a.es.js.map +0 -1
- package/es6/fi-aed748d2.es.js.map +0 -1
- package/es6/fr-d27beb6f.es.js.map +0 -1
- package/es6/ga-cd739108.es.js.map +0 -1
- package/es6/hr-4b6390b1.es.js.map +0 -1
- package/es6/hu-68666ba3.es.js.map +0 -1
- package/es6/id-d4d36e25.es.js.map +0 -1
- package/es6/it-f810af3d.es.js.map +0 -1
- package/es6/iw-a58ab227.es.js.map +0 -1
- package/es6/ja-76983559.es.js.map +0 -1
- package/es6/ko-b358da91.es.js.map +0 -1
- package/es6/lo-008d2746.es.js.map +0 -1
- package/es6/lt-9b3b251d.es.js.map +0 -1
- package/es6/ms-89220c51.es.js.map +0 -1
- package/es6/nl-a4ac7600.es.js.map +0 -1
- package/es6/no-c0b1b17b.es.js.map +0 -1
- package/es6/pl-7c70bce1.es.js.map +0 -1
- package/es6/pt-81a3a2fc.es.js.map +0 -1
- package/es6/ru-0377bbb3.es.js.map +0 -1
- package/es6/sk-4d0782cc.es.js.map +0 -1
- package/es6/sl-429f4d1d.es.js.map +0 -1
- package/es6/sr-13739cb8.es.js.map +0 -1
- package/es6/sv-0a0fdfc4.es.js.map +0 -1
- package/es6/th-b8359b99.es.js.map +0 -1
- package/es6/tr-8be3ee98.es.js.map +0 -1
- package/es6/zh-24ea267c.es.js.map +0 -1
- package/es6/zh-HK-0f5a762e.es.js.map +0 -1
package/sheerides6.js
CHANGED
|
@@ -510,6 +510,7 @@ var SegmentToStepMap;
|
|
|
510
510
|
SegmentToStepMap["age"] = "collectAgePersonalInfo";
|
|
511
511
|
SegmentToStepMap["medical"] = "collectMedicalProfessionalPersonalInfo";
|
|
512
512
|
SegmentToStepMap["recentMover"] = "collectMoverPersonalInfo";
|
|
513
|
+
SegmentToStepMap["licensedProfessional"] = "collectLicensedProfessionalPersonalInfo";
|
|
513
514
|
})(SegmentToStepMap || (SegmentToStepMap = {}));
|
|
514
515
|
var SegmentEnum;
|
|
515
516
|
(function (SegmentEnum) {
|
|
@@ -543,6 +544,9 @@ var SubSegmentEnum;
|
|
|
543
544
|
SubSegmentEnum["HYBRID_IDENTITY"] = "hybridIdentity";
|
|
544
545
|
SubSegmentEnum["HOME_BUYER"] = "homeBuyer";
|
|
545
546
|
SubSegmentEnum["OTHER_MOVER"] = "otherMover";
|
|
547
|
+
SubSegmentEnum["LICENSED_COSMETOLOGIST"] = "licensedCosmetologist";
|
|
548
|
+
SubSegmentEnum["LICENSED_REAL_ESTATE_AGENT"] = "licensedRealEstateAgent";
|
|
549
|
+
SubSegmentEnum["VETERINARIAN"] = "Veterinarian";
|
|
546
550
|
})(SubSegmentEnum || (SubSegmentEnum = {}));
|
|
547
551
|
Object.values(SubSegmentEnum); // For runtime checks
|
|
548
552
|
var MilitaryStatusDefaultMessagesEnum;
|
|
@@ -1695,6 +1699,8 @@ var enUSMessages = {
|
|
|
1695
1699
|
"defaultMessages.EMT": "EMT",
|
|
1696
1700
|
"defaultMessages.FIREFIGHTER": "Firefighter",
|
|
1697
1701
|
"defaultMessages.HOME_BUYER": "Home Buyer",
|
|
1702
|
+
"defaultMessages.LICENSED_COSMETOLOGIST": "Licensed Cosmetologist",
|
|
1703
|
+
"defaultMessages.LICENSED_REAL_ESTATE_AGENT": "Licensed Real Estate Agent",
|
|
1698
1704
|
"defaultMessages.MILITARY_FAMILY": "Military Family",
|
|
1699
1705
|
"defaultMessages.MILITARY_RETIREE": "Military Retiree",
|
|
1700
1706
|
"defaultMessages.NURSE": "Nurse",
|
|
@@ -1704,6 +1710,7 @@ var enUSMessages = {
|
|
|
1704
1710
|
"defaultMessages.POLICE": "Police",
|
|
1705
1711
|
"defaultMessages.RESERVIST": "Reservist or National Guard",
|
|
1706
1712
|
"defaultMessages.VETERAN": "Military Veteran or Retiree",
|
|
1713
|
+
"defaultMessages.VETERINARIAN": "Veterinarian",
|
|
1707
1714
|
"defaultMessages.address": "Address",
|
|
1708
1715
|
"defaultMessages.addressPlaceholder": "Address*",
|
|
1709
1716
|
"defaultMessages.birthDate": "Date of birth",
|
|
@@ -2105,6 +2112,7 @@ var enUSMessages = {
|
|
|
2105
2112
|
"defaultMessages.militaryInfoShared": "Information entered here will be used for verification purposes. ",
|
|
2106
2113
|
"defaultMessages.militaryStatus": "Military status",
|
|
2107
2114
|
"defaultMessages.noOptions": "No options",
|
|
2115
|
+
"defaultMessages.optIn": "Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",
|
|
2108
2116
|
"defaultMessages.optional": "Optional",
|
|
2109
2117
|
"defaultMessages.organization": "Organization",
|
|
2110
2118
|
"defaultMessages.organizationPlaceholder": "Organization*",
|
|
@@ -2479,7 +2487,7 @@ var enUSMessages = {
|
|
|
2479
2487
|
"segmentMessages.licensedProfessional.step.success.redirectButtonText": "Use code now",
|
|
2480
2488
|
"segmentMessages.licensedProfessional.step.success.subtitle": "Here is your personal coupon code. It is unique to you and can only be used once.",
|
|
2481
2489
|
"segmentMessages.licensedProfessional.step.success.title": "You've been verified",
|
|
2482
|
-
"segmentMessages.medical.emailExplanation": "
|
|
2490
|
+
"segmentMessages.medical.emailExplanation": "Use your work email if you have one",
|
|
2483
2491
|
"segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}.",
|
|
2484
2492
|
"segmentMessages.medical.step.docUpload.subtitle": "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
|
|
2485
2493
|
"segmentMessages.medical.step.docUpload.title": "We need more information",
|
|
@@ -2549,7 +2557,7 @@ var enUSMessages = {
|
|
|
2549
2557
|
"segmentMessages.senior.step.success.title": "You've been verified",
|
|
2550
2558
|
"segmentMessages.student.emailExplanation": "Needed to send you your unique code",
|
|
2551
2559
|
"segmentMessages.student.schoolName": "University / college name",
|
|
2552
|
-
"segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying students.\n <br/><br/>\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.
|
|
2560
|
+
"segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying students.\n <br/><br/>\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.",
|
|
2553
2561
|
"segmentMessages.student.step.docUpload.subtitle": "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
|
|
2554
2562
|
"segmentMessages.student.step.docUpload.title": "We need your ID & class schedule",
|
|
2555
2563
|
"segmentMessages.student.step.docUpload.uploadInstructions": "Upload your school-issued document that shows",
|
|
@@ -2597,118 +2605,118 @@ const getMessagesModuleByLocale = async (locale) => {
|
|
|
2597
2605
|
/* tslint:disable:space-in-parens */
|
|
2598
2606
|
switch (locale) {
|
|
2599
2607
|
case 'ar':
|
|
2600
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ar" */ './es6/ar-
|
|
2608
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ar" */ './es6/ar-cb29c5de.es.js').then(m => m.default);
|
|
2601
2609
|
break;
|
|
2602
2610
|
case 'bg':
|
|
2603
|
-
localizedMessages = await import(/* webpackChunkName: "messages_bg" */ './es6/bg-
|
|
2611
|
+
localizedMessages = await import(/* webpackChunkName: "messages_bg" */ './es6/bg-fed08b4c.es.js').then(m => m.default);
|
|
2604
2612
|
break;
|
|
2605
2613
|
case 'cs':
|
|
2606
|
-
localizedMessages = await import(/* webpackChunkName: "messages_cs" */ './es6/cs-
|
|
2614
|
+
localizedMessages = await import(/* webpackChunkName: "messages_cs" */ './es6/cs-40a8a187.es.js').then(m => m.default);
|
|
2607
2615
|
break;
|
|
2608
2616
|
case 'da':
|
|
2609
|
-
localizedMessages = await import(/* webpackChunkName: "messages_da" */ './es6/da-
|
|
2617
|
+
localizedMessages = await import(/* webpackChunkName: "messages_da" */ './es6/da-5518b2bd.es.js').then(m => m.default);
|
|
2610
2618
|
break;
|
|
2611
2619
|
case 'de':
|
|
2612
|
-
localizedMessages = await import(/* webpackChunkName: "messages_de" */ './es6/de-
|
|
2620
|
+
localizedMessages = await import(/* webpackChunkName: "messages_de" */ './es6/de-96c87dcb.es.js').then(m => m.default);
|
|
2613
2621
|
break;
|
|
2614
2622
|
case 'el':
|
|
2615
|
-
localizedMessages = await import(/* webpackChunkName: "messages_el" */ './es6/el-
|
|
2623
|
+
localizedMessages = await import(/* webpackChunkName: "messages_el" */ './es6/el-a4c7c87a.es.js').then(m => m.default);
|
|
2616
2624
|
break;
|
|
2617
2625
|
case 'en-GB':
|
|
2618
|
-
localizedMessages = await import(/* webpackChunkName: "messages_en-GB" */ './es6/en-GB-
|
|
2626
|
+
localizedMessages = await import(/* webpackChunkName: "messages_en-GB" */ './es6/en-GB-9dbd452a.es.js').then(m => m.default);
|
|
2619
2627
|
break;
|
|
2620
2628
|
case 'en-US':
|
|
2621
2629
|
localizedMessages = enUSMessages;
|
|
2622
2630
|
break;
|
|
2623
2631
|
case 'es-ES':
|
|
2624
|
-
localizedMessages = await import(/* webpackChunkName: "messages_es-ES" */ './es6/es-ES-
|
|
2632
|
+
localizedMessages = await import(/* webpackChunkName: "messages_es-ES" */ './es6/es-ES-0dd99a59.es.js').then(m => m.default);
|
|
2625
2633
|
break;
|
|
2626
2634
|
case 'es':
|
|
2627
|
-
localizedMessages = await import(/* webpackChunkName: "messages_es" */ './es6/es-
|
|
2635
|
+
localizedMessages = await import(/* webpackChunkName: "messages_es" */ './es6/es-f3809fcb.es.js').then(m => m.default);
|
|
2628
2636
|
break;
|
|
2629
2637
|
case 'fi':
|
|
2630
|
-
localizedMessages = await import(/* webpackChunkName: "messages_fi" */ './es6/fi-
|
|
2638
|
+
localizedMessages = await import(/* webpackChunkName: "messages_fi" */ './es6/fi-e45351d6.es.js').then(m => m.default);
|
|
2631
2639
|
break;
|
|
2632
2640
|
case 'fr-CA':
|
|
2633
|
-
localizedMessages = await import(/* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-
|
|
2641
|
+
localizedMessages = await import(/* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-45df5324.es.js').then(m => m.default);
|
|
2634
2642
|
break;
|
|
2635
2643
|
case 'fr':
|
|
2636
|
-
localizedMessages = await import(/* webpackChunkName: "messages_fr" */ './es6/fr-
|
|
2644
|
+
localizedMessages = await import(/* webpackChunkName: "messages_fr" */ './es6/fr-1db95d70.es.js').then(m => m.default);
|
|
2637
2645
|
break;
|
|
2638
2646
|
case 'ga':
|
|
2639
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ga" */ './es6/ga-
|
|
2647
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ga" */ './es6/ga-184cc094.es.js').then(m => m.default);
|
|
2640
2648
|
break;
|
|
2641
2649
|
case 'hr':
|
|
2642
|
-
localizedMessages = await import(/* webpackChunkName: "messages_hr" */ './es6/hr-
|
|
2650
|
+
localizedMessages = await import(/* webpackChunkName: "messages_hr" */ './es6/hr-065f62e3.es.js').then(m => m.default);
|
|
2643
2651
|
break;
|
|
2644
2652
|
case 'hu':
|
|
2645
|
-
localizedMessages = await import(/* webpackChunkName: "messages_hu" */ './es6/hu-
|
|
2653
|
+
localizedMessages = await import(/* webpackChunkName: "messages_hu" */ './es6/hu-f68a0ce6.es.js').then(m => m.default);
|
|
2646
2654
|
break;
|
|
2647
2655
|
case 'id':
|
|
2648
|
-
localizedMessages = await import(/* webpackChunkName: "messages_id" */ './es6/id-
|
|
2656
|
+
localizedMessages = await import(/* webpackChunkName: "messages_id" */ './es6/id-c25e786a.es.js').then(m => m.default);
|
|
2649
2657
|
break;
|
|
2650
2658
|
case 'it':
|
|
2651
|
-
localizedMessages = await import(/* webpackChunkName: "messages_it" */ './es6/it-
|
|
2659
|
+
localizedMessages = await import(/* webpackChunkName: "messages_it" */ './es6/it-230764c3.es.js').then(m => m.default);
|
|
2652
2660
|
break;
|
|
2653
2661
|
case 'iw':
|
|
2654
|
-
localizedMessages = await import(/* webpackChunkName: "messages_iw" */ './es6/iw-
|
|
2662
|
+
localizedMessages = await import(/* webpackChunkName: "messages_iw" */ './es6/iw-032e372f.es.js').then(m => m.default);
|
|
2655
2663
|
break;
|
|
2656
2664
|
case 'ja':
|
|
2657
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ja" */ './es6/ja-
|
|
2665
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ja" */ './es6/ja-ff8c17c0.es.js').then(m => m.default);
|
|
2658
2666
|
break;
|
|
2659
2667
|
case 'ko':
|
|
2660
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ko" */ './es6/ko-
|
|
2668
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ko" */ './es6/ko-8518fa04.es.js').then(m => m.default);
|
|
2661
2669
|
break;
|
|
2662
2670
|
case 'lo':
|
|
2663
|
-
localizedMessages = await import(/* webpackChunkName: "messages_lo" */ './es6/lo-
|
|
2671
|
+
localizedMessages = await import(/* webpackChunkName: "messages_lo" */ './es6/lo-d7ff1047.es.js').then(m => m.default);
|
|
2664
2672
|
break;
|
|
2665
2673
|
case 'lt':
|
|
2666
|
-
localizedMessages = await import(/* webpackChunkName: "messages_lt" */ './es6/lt-
|
|
2674
|
+
localizedMessages = await import(/* webpackChunkName: "messages_lt" */ './es6/lt-54533a36.es.js').then(m => m.default);
|
|
2667
2675
|
break;
|
|
2668
2676
|
case 'ms':
|
|
2669
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ms" */ './es6/ms-
|
|
2677
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ms" */ './es6/ms-4d678469.es.js').then(m => m.default);
|
|
2670
2678
|
break;
|
|
2671
2679
|
case 'nl':
|
|
2672
|
-
localizedMessages = await import(/* webpackChunkName: "messages_nl" */ './es6/nl-
|
|
2680
|
+
localizedMessages = await import(/* webpackChunkName: "messages_nl" */ './es6/nl-2f72af5f.es.js').then(m => m.default);
|
|
2673
2681
|
break;
|
|
2674
2682
|
case 'no':
|
|
2675
|
-
localizedMessages = await import(/* webpackChunkName: "messages_no" */ './es6/no-
|
|
2683
|
+
localizedMessages = await import(/* webpackChunkName: "messages_no" */ './es6/no-96c1beb5.es.js').then(m => m.default);
|
|
2676
2684
|
break;
|
|
2677
2685
|
case 'pl':
|
|
2678
|
-
localizedMessages = await import(/* webpackChunkName: "messages_pl" */ './es6/pl-
|
|
2686
|
+
localizedMessages = await import(/* webpackChunkName: "messages_pl" */ './es6/pl-428a4933.es.js').then(m => m.default);
|
|
2679
2687
|
break;
|
|
2680
2688
|
case 'pt-BR':
|
|
2681
|
-
localizedMessages = await import(/* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-
|
|
2689
|
+
localizedMessages = await import(/* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-053ef8ff.es.js').then(m => m.default);
|
|
2682
2690
|
break;
|
|
2683
2691
|
case 'pt':
|
|
2684
|
-
localizedMessages = await import(/* webpackChunkName: "messages_pt" */ './es6/pt-
|
|
2692
|
+
localizedMessages = await import(/* webpackChunkName: "messages_pt" */ './es6/pt-502dc0b8.es.js').then(m => m.default);
|
|
2685
2693
|
break;
|
|
2686
2694
|
case 'ru':
|
|
2687
|
-
localizedMessages = await import(/* webpackChunkName: "messages_ru" */ './es6/ru-
|
|
2695
|
+
localizedMessages = await import(/* webpackChunkName: "messages_ru" */ './es6/ru-e84e80a2.es.js').then(m => m.default);
|
|
2688
2696
|
break;
|
|
2689
2697
|
case 'sk':
|
|
2690
|
-
localizedMessages = await import(/* webpackChunkName: "messages_sk" */ './es6/sk-
|
|
2698
|
+
localizedMessages = await import(/* webpackChunkName: "messages_sk" */ './es6/sk-addb6953.es.js').then(m => m.default);
|
|
2691
2699
|
break;
|
|
2692
2700
|
case 'sl':
|
|
2693
|
-
localizedMessages = await import(/* webpackChunkName: "messages_sl" */ './es6/sl-
|
|
2701
|
+
localizedMessages = await import(/* webpackChunkName: "messages_sl" */ './es6/sl-6d181948.es.js').then(m => m.default);
|
|
2694
2702
|
break;
|
|
2695
2703
|
case 'sr':
|
|
2696
|
-
localizedMessages = await import(/* webpackChunkName: "messages_sr" */ './es6/sr-
|
|
2704
|
+
localizedMessages = await import(/* webpackChunkName: "messages_sr" */ './es6/sr-a725ed21.es.js').then(m => m.default);
|
|
2697
2705
|
break;
|
|
2698
2706
|
case 'sv':
|
|
2699
|
-
localizedMessages = await import(/* webpackChunkName: "messages_sv" */ './es6/sv-
|
|
2707
|
+
localizedMessages = await import(/* webpackChunkName: "messages_sv" */ './es6/sv-e8e2aca0.es.js').then(m => m.default);
|
|
2700
2708
|
break;
|
|
2701
2709
|
case 'th':
|
|
2702
|
-
localizedMessages = await import(/* webpackChunkName: "messages_th" */ './es6/th-
|
|
2710
|
+
localizedMessages = await import(/* webpackChunkName: "messages_th" */ './es6/th-f819cf32.es.js').then(m => m.default);
|
|
2703
2711
|
break;
|
|
2704
2712
|
case 'tr':
|
|
2705
|
-
localizedMessages = await import(/* webpackChunkName: "messages_tr" */ './es6/tr-
|
|
2713
|
+
localizedMessages = await import(/* webpackChunkName: "messages_tr" */ './es6/tr-2fadf137.es.js').then(m => m.default);
|
|
2706
2714
|
break;
|
|
2707
2715
|
case 'zh-HK':
|
|
2708
|
-
localizedMessages = await import(/* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-
|
|
2716
|
+
localizedMessages = await import(/* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-967c4b27.es.js').then(m => m.default);
|
|
2709
2717
|
break;
|
|
2710
2718
|
case 'zh':
|
|
2711
|
-
localizedMessages = await import(/* webpackChunkName: "messages_zh" */ './es6/zh-
|
|
2719
|
+
localizedMessages = await import(/* webpackChunkName: "messages_zh" */ './es6/zh-1b8acc97.es.js').then(m => m.default);
|
|
2712
2720
|
break;
|
|
2713
2721
|
default:
|
|
2714
2722
|
logger.warn(`getMessagesModuleByLocale: Unable to load messages for ${locale}, falling back to en-US`);
|
|
@@ -4481,6 +4489,9 @@ const populateViewModelFromQueryParams = (verificationService) => {
|
|
|
4481
4489
|
});
|
|
4482
4490
|
verificationService.updateViewModel(nextState);
|
|
4483
4491
|
};
|
|
4492
|
+
const updateFieldValidationErrors = (fieldValidationErrors, verificationService) => {
|
|
4493
|
+
verificationService.updateFieldValidationErrors(fieldValidationErrors);
|
|
4494
|
+
};
|
|
4484
4495
|
const updateFieldValidationErrorsByFieldId = (fieldId, value, verificationService) => {
|
|
4485
4496
|
const { fieldValidationErrors } = verificationService;
|
|
4486
4497
|
const nextState = fn(fieldValidationErrors, (draft) => {
|
|
@@ -4490,13 +4501,16 @@ const updateFieldValidationErrorsByFieldId = (fieldId, value, verificationServic
|
|
|
4490
4501
|
});
|
|
4491
4502
|
updateFieldValidationErrors(nextState, verificationService);
|
|
4492
4503
|
};
|
|
4493
|
-
const updateFieldValidationErrors = (fieldValidationErrors, verificationService) => {
|
|
4494
|
-
verificationService.updateFieldValidationErrors(fieldValidationErrors);
|
|
4495
|
-
};
|
|
4496
4504
|
const shouldCollectAddressFields = (countryChoice, countries) => (getSafe(() => countries.length === 1)
|
|
4497
4505
|
&& getSafe(() => countries[0]) === 'US')
|
|
4498
4506
|
|| getSafe(() => countryChoice.value === 'US')
|
|
4499
4507
|
|| getSafe(() => countryChoice.value === undefined);
|
|
4508
|
+
const getStatusLabel = (intl, status, defaultMessages) => {
|
|
4509
|
+
if (!status) {
|
|
4510
|
+
return '';
|
|
4511
|
+
}
|
|
4512
|
+
return intl.formatMessage({ id: status, defaultMessage: defaultMessages[status] });
|
|
4513
|
+
};
|
|
4500
4514
|
const getAvailableMilitaryStatuses = (verificationService, intl) => {
|
|
4501
4515
|
const availableStatusesResponse = verificationService.verificationResponse.availableStatuses
|
|
4502
4516
|
|| (verificationService.previousVerificationResponse
|
|
@@ -4505,12 +4519,12 @@ const getAvailableMilitaryStatuses = (verificationService, intl) => {
|
|
|
4505
4519
|
if (!availableStatusesResponse) {
|
|
4506
4520
|
return null;
|
|
4507
4521
|
}
|
|
4508
|
-
|
|
4522
|
+
availableStatusesResponse.forEach((status) => {
|
|
4509
4523
|
availableStatuses.push({
|
|
4510
4524
|
value: status,
|
|
4511
|
-
label: intl
|
|
4525
|
+
label: getStatusLabel(intl, status, MilitaryStatusDefaultMessagesEnum),
|
|
4512
4526
|
});
|
|
4513
|
-
}
|
|
4527
|
+
});
|
|
4514
4528
|
return availableStatuses;
|
|
4515
4529
|
};
|
|
4516
4530
|
/**
|
|
@@ -4522,18 +4536,6 @@ const getFieldDisplayOrderFromRefs = () => {
|
|
|
4522
4536
|
refs.map((refObject) => fieldDisplayOrder.push(refObject.fieldId));
|
|
4523
4537
|
return fieldDisplayOrder;
|
|
4524
4538
|
};
|
|
4525
|
-
/**
|
|
4526
|
-
* @private
|
|
4527
|
-
*/
|
|
4528
|
-
const getFirstErroredFieldId = (fieldDisplayOrder, fieldValidationErrors) => {
|
|
4529
|
-
let firstErrordFieldId;
|
|
4530
|
-
for (const field of fieldDisplayOrder) {
|
|
4531
|
-
if (fieldValidationErrors[field]) {
|
|
4532
|
-
firstErrordFieldId = field;
|
|
4533
|
-
return adjustFirstErroredFieldId(firstErrordFieldId);
|
|
4534
|
-
}
|
|
4535
|
-
}
|
|
4536
|
-
};
|
|
4537
4539
|
/**
|
|
4538
4540
|
* HD-638 - focus on year, rather than month (which is an open <select> that covers error msg)
|
|
4539
4541
|
*/
|
|
@@ -4543,6 +4545,19 @@ const adjustFirstErroredFieldId = (firstErroredFieldId) => {
|
|
|
4543
4545
|
}
|
|
4544
4546
|
return firstErroredFieldId;
|
|
4545
4547
|
};
|
|
4548
|
+
/**
|
|
4549
|
+
* @private
|
|
4550
|
+
*/
|
|
4551
|
+
const getFirstErroredFieldId = (fieldDisplayOrder, fieldValidationErrors) => {
|
|
4552
|
+
let firstErroredFieldId;
|
|
4553
|
+
fieldDisplayOrder.forEach((field) => {
|
|
4554
|
+
if (fieldValidationErrors[field]) {
|
|
4555
|
+
firstErroredFieldId = field;
|
|
4556
|
+
return adjustFirstErroredFieldId(firstErroredFieldId);
|
|
4557
|
+
}
|
|
4558
|
+
});
|
|
4559
|
+
return adjustFirstErroredFieldId(firstErroredFieldId);
|
|
4560
|
+
};
|
|
4546
4561
|
/**
|
|
4547
4562
|
* @private
|
|
4548
4563
|
*/
|
|
@@ -4622,6 +4637,16 @@ const getAvailableStateChoices = (programTheme, intl) => {
|
|
|
4622
4637
|
}),
|
|
4623
4638
|
}));
|
|
4624
4639
|
};
|
|
4640
|
+
const produceDraftViewModelWithRequiredFields = (previousModel, newRequiredFields, conditionalRequiredFieldKeys) => (fn(previousModel, (draft) => {
|
|
4641
|
+
conditionalRequiredFieldKeys.forEach((requiredFieldKey) => {
|
|
4642
|
+
if (newRequiredFields.some((field) => field.key === requiredFieldKey)) {
|
|
4643
|
+
draft[requiredFieldKey] = previousModel[requiredFieldKey] !== undefined ? previousModel[requiredFieldKey] : '';
|
|
4644
|
+
}
|
|
4645
|
+
else {
|
|
4646
|
+
delete draft[requiredFieldKey];
|
|
4647
|
+
}
|
|
4648
|
+
});
|
|
4649
|
+
}));
|
|
4625
4650
|
/**
|
|
4626
4651
|
* @private
|
|
4627
4652
|
*/
|
|
@@ -9912,7 +9937,7 @@ const studentMessages = {
|
|
|
9912
9937
|
subtitle: 'Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.',
|
|
9913
9938
|
howDoesVerifyingWorkDetails: `Document review is handled by SheerID, a trusted partner who specializes in verifying students.
|
|
9914
9939
|
<br/><br/>
|
|
9915
|
-
Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized
|
|
9940
|
+
Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.`,
|
|
9916
9941
|
uploadInstructions: 'Upload your school-issued document that shows',
|
|
9917
9942
|
},
|
|
9918
9943
|
success: {
|
|
@@ -9994,7 +10019,7 @@ const memberMessages = {
|
|
|
9994
10019
|
};
|
|
9995
10020
|
|
|
9996
10021
|
const medicalMessages = {
|
|
9997
|
-
emailExplanation: '
|
|
10022
|
+
emailExplanation: 'Use your work email if you have one',
|
|
9998
10023
|
step: {
|
|
9999
10024
|
personalInfo: {
|
|
10000
10025
|
title: 'Unlock this Medical Professional-Only Offer',
|
|
@@ -11072,6 +11097,8 @@ const ageViewModelToRequest = (viewModel) => ({
|
|
|
11072
11097
|
deviceFingerprintHash: viewModel.deviceFingerprintHash,
|
|
11073
11098
|
locale: viewModel.localeChoice.value,
|
|
11074
11099
|
country: viewModel.countryChoice ? viewModel.countryChoice.value : undefined,
|
|
11100
|
+
city: viewModel.city !== '' ? viewModel.city : undefined,
|
|
11101
|
+
address1: viewModel.address1 !== '' ? viewModel.address1 : undefined,
|
|
11075
11102
|
metadata: viewModel.metadata,
|
|
11076
11103
|
});
|
|
11077
11104
|
// ActiveMilitaryPersonalInfoViewModel contains multiple keys we don't want so we can't return the full viewModel as the request body
|
|
@@ -15674,7 +15701,7 @@ const OptInComponent = ({ isErrored, isRequired, onChange, value, verificationSe
|
|
|
15674
15701
|
const marketConsentConfig = (verificationService
|
|
15675
15702
|
&& verificationService.programTheme && getMarketConsent(verificationService.programTheme)) || {};
|
|
15676
15703
|
const defaultMessage = marketConsentConfig.message
|
|
15677
|
-
|| '
|
|
15704
|
+
|| 'Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more';
|
|
15678
15705
|
React.useEffect(() => {
|
|
15679
15706
|
setCustomValidator(optInFieldId, getOptInValidationError);
|
|
15680
15707
|
}, [optInFieldId, getOptInValidationError]);
|
|
@@ -15685,7 +15712,7 @@ const OptInComponent = ({ isErrored, isRequired, onChange, value, verificationSe
|
|
|
15685
15712
|
React.createElement(OptInInputComponent, { isErrored: isErrored, onChange: onChange, value: value }),
|
|
15686
15713
|
React.createElement("div", { className: "sid-field__label sid-checkbox__label" }, verificationService
|
|
15687
15714
|
? (React.createElement(FormattedMessage, { id: "companyName", defaultMessage: "{Company}" }, companyName => (React.createElement(FormattedHTMLMessage, { id: "optIn", values: { company: companyName }, defaultMessage: defaultMessage }))))
|
|
15688
|
-
: (React.createElement(FormattedHTMLMessage, { id: "optIn", defaultMessage:
|
|
15715
|
+
: (React.createElement(FormattedHTMLMessage, { id: "optIn", defaultMessage: defaultMessage }))),
|
|
15689
15716
|
isErrored
|
|
15690
15717
|
? (React.createElement("div", { className: "sid-field-error" },
|
|
15691
15718
|
React.createElement(FormattedHTMLMessage, { id: "errorId.invalidOptIn", defaultMessage: "Must be selected to continue" })))
|
|
@@ -16541,6 +16568,28 @@ const carrierConsentValueValidator = (countryChoiceValue) => (value, programThem
|
|
|
16541
16568
|
}
|
|
16542
16569
|
};
|
|
16543
16570
|
|
|
16571
|
+
const City = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-city" },
|
|
16572
|
+
React.createElement("div", { className: "sid-l-space-top-md" }),
|
|
16573
|
+
React.createElement("label", { htmlFor: "sid-city" },
|
|
16574
|
+
React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
|
|
16575
|
+
React.createElement("div", { className: "sid-field__label sid-field__label--required" },
|
|
16576
|
+
React.createElement(FormattedHTMLMessage, { id: "city", defaultMessage: "City" })))),
|
|
16577
|
+
React.createElement(InputTextComponent, { id: "city", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'cityPlaceholder', defaultMessage: 'City*' }), value: value }),
|
|
16578
|
+
isErrored ? (React.createElement("div", { className: "sid-field-error" },
|
|
16579
|
+
React.createElement(FormattedHTMLMessage, { id: "errorId.invalidCity", defaultMessage: "Invalid city" }))) : null));
|
|
16580
|
+
const CityComponent = injectIntl(City);
|
|
16581
|
+
|
|
16582
|
+
const Address = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-address" },
|
|
16583
|
+
React.createElement("div", { className: "sid-l-space-top-md" }),
|
|
16584
|
+
React.createElement("label", { htmlFor: "sid-address" },
|
|
16585
|
+
React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
|
|
16586
|
+
React.createElement("div", { className: "sid-field__label sid-field__label--required" },
|
|
16587
|
+
React.createElement(FormattedHTMLMessage, { id: "address", defaultMessage: "Address" })))),
|
|
16588
|
+
React.createElement(InputTextComponent, { id: "address", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'addressPlaceholder', defaultMessage: 'Address*' }), value: value }),
|
|
16589
|
+
isErrored ? (React.createElement("div", { className: "sid-field-error" },
|
|
16590
|
+
React.createElement(FormattedHTMLMessage, { id: "errorId.invalidAddress", defaultMessage: "Invalid address" }))) : null));
|
|
16591
|
+
const AddressComponent = injectIntl(Address);
|
|
16592
|
+
|
|
16544
16593
|
/**
|
|
16545
16594
|
* TODO - preamble
|
|
16546
16595
|
*/
|
|
@@ -16553,6 +16602,8 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
|
|
|
16553
16602
|
const defaultCountryChoice = getDefaultCountryChoice(countryChoices);
|
|
16554
16603
|
const { isSmsNotifierConfigured, smsLoopEnabled } = verificationService.programTheme;
|
|
16555
16604
|
const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);
|
|
16605
|
+
const defaultRequiredFields = safeCountryValue === 'US' ? [{ key: 'postalCode' }] : [];
|
|
16606
|
+
const [requiredFields, setRequiredFields] = React.useState(defaultRequiredFields);
|
|
16556
16607
|
if (!fieldValidationErrors.phoneNumber && verificationResponse.errorIds && verificationResponse.errorIds.includes('invalidPhoneNumber')) {
|
|
16557
16608
|
verificationService.updateFieldValidationErrors({
|
|
16558
16609
|
...fieldValidationErrors,
|
|
@@ -16561,13 +16612,15 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
|
|
|
16561
16612
|
}
|
|
16562
16613
|
const displayPhoneNumber = (country, displayForSmsLoop) => (country !== 'US' || displayForSmsLoop);
|
|
16563
16614
|
const updateAgeViewModel = (key, value) => {
|
|
16564
|
-
const nextState =
|
|
16565
|
-
draft[key] = value;
|
|
16566
|
-
});
|
|
16615
|
+
const nextState = produceDraftViewModel(viewModel, key, value);
|
|
16567
16616
|
verificationService.updateViewModel(nextState);
|
|
16568
16617
|
};
|
|
16618
|
+
const updateViewModelWithRequiredFields = (newRequiredFields, conditionalRequiredFieldKeys) => {
|
|
16619
|
+
const nextState = produceDraftViewModelWithRequiredFields(viewModel, newRequiredFields, conditionalRequiredFieldKeys);
|
|
16620
|
+
verificationService.updateViewModel(nextState);
|
|
16621
|
+
};
|
|
16622
|
+
const isFieldRequired = (key) => requiredFields.some((field) => field.key === key);
|
|
16569
16623
|
overrideValidator('phoneNumber', phoneNumberValidator(safeCountryValue));
|
|
16570
|
-
overrideValidator('postalCode', postalCodeValidator(safeCountryValue));
|
|
16571
16624
|
if (displayPhoneNumber(safeCountryValue, smsLoopEnabled)) {
|
|
16572
16625
|
if (!customValidatorExists$1('carrierConsentValue')) {
|
|
16573
16626
|
setCustomValidator('carrierConsentValue', carrierConsentValueValidator(safeCountryValue));
|
|
@@ -16580,6 +16633,19 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
|
|
|
16580
16633
|
updateAgeViewModel('metadata', { ...verificationService.viewModel.metadata, carrierConsentValue: newValue });
|
|
16581
16634
|
updateFieldValidationErrorsByFieldId('carrierConsentValue', newValue, verificationService);
|
|
16582
16635
|
};
|
|
16636
|
+
React.useEffect(() => {
|
|
16637
|
+
(async () => {
|
|
16638
|
+
try {
|
|
16639
|
+
const collectFieldsResponse = await getFieldsToCollect(verificationResponse.verificationId, verificationResponse.currentStep, viewModel);
|
|
16640
|
+
const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);
|
|
16641
|
+
updateViewModelWithRequiredFields(newRequiredFields, ['postalCode', 'city', 'address1']);
|
|
16642
|
+
setRequiredFields(newRequiredFields);
|
|
16643
|
+
}
|
|
16644
|
+
catch (error) {
|
|
16645
|
+
logger.error(`Failed to determine fields to collect: ${error}`);
|
|
16646
|
+
}
|
|
16647
|
+
})();
|
|
16648
|
+
}, [viewModel.country]);
|
|
16583
16649
|
return (React.createElement("div", { id: "sid-step-student-personal-info", className: "sid-l-container" },
|
|
16584
16650
|
failedInstantMatch
|
|
16585
16651
|
? (React.createElement("div", { className: "sid-header" },
|
|
@@ -16605,9 +16671,6 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
|
|
|
16605
16671
|
if (!displayPhoneNumber(country, smsLoopEnabled)) {
|
|
16606
16672
|
viewModelDraft.phoneNumber = '';
|
|
16607
16673
|
}
|
|
16608
|
-
if (country !== 'US') {
|
|
16609
|
-
viewModelDraft.postalCode = '';
|
|
16610
|
-
}
|
|
16611
16674
|
} }),
|
|
16612
16675
|
React.createElement("div", { className: "sid-names" },
|
|
16613
16676
|
React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
|
|
@@ -16622,7 +16685,15 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
|
|
|
16622
16685
|
updateAgeViewModel('birthDate', newValue);
|
|
16623
16686
|
updateFieldValidationErrorsByFieldId('birthDate', newValue, verificationService);
|
|
16624
16687
|
}, value: viewModel.birthDate }),
|
|
16625
|
-
|
|
16688
|
+
isFieldRequired('city') && (React.createElement(CityComponent, { value: viewModel.city, isRequired: true, isErrored: !!fieldValidationErrors.city, errorId: fieldValidationErrors.city, onChange: (value) => {
|
|
16689
|
+
updateAgeViewModel('city', value);
|
|
16690
|
+
updateFieldValidationErrorsByFieldId('city', value, verificationService);
|
|
16691
|
+
} })),
|
|
16692
|
+
isFieldRequired('address1') && (React.createElement(AddressComponent, { value: viewModel.address1, isRequired: true, isErrored: !!fieldValidationErrors.address1, errorId: fieldValidationErrors.address1, onChange: (value) => {
|
|
16693
|
+
updateAgeViewModel('address1', value);
|
|
16694
|
+
updateFieldValidationErrorsByFieldId('address1', value, verificationService);
|
|
16695
|
+
} })),
|
|
16696
|
+
isFieldRequired('postalCode') && (React.createElement(PostalCodeComponent, { isErrored: !!fieldValidationErrors.postalCode, onChange: (newValue) => {
|
|
16626
16697
|
updateAgeViewModel('postalCode', newValue);
|
|
16627
16698
|
updateFieldValidationErrorsByFieldId('postalCode', newValue, verificationService);
|
|
16628
16699
|
}, value: viewModel.postalCode })),
|
|
@@ -17023,8 +17094,8 @@ const StepActiveMilitaryPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17023
17094
|
React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
|
|
17024
17095
|
availableStatuses
|
|
17025
17096
|
? (React.createElement(MilitaryStatusComponent, { value: {
|
|
17026
|
-
value:
|
|
17027
|
-
label:
|
|
17097
|
+
value: viewModel.status,
|
|
17098
|
+
label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
|
|
17028
17099
|
}, isErrored: !!fieldValidationErrors.status, options: availableStatuses, onChange: (status) => {
|
|
17029
17100
|
updateActiveMilitaryViewModel('status', status ? status.value : '');
|
|
17030
17101
|
updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
|
|
@@ -17206,8 +17277,8 @@ const StepInactiveMilitaryPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17206
17277
|
React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
|
|
17207
17278
|
availableStatuses
|
|
17208
17279
|
? (React.createElement(MilitaryStatusComponent, { value: {
|
|
17209
|
-
value:
|
|
17210
|
-
label:
|
|
17280
|
+
value: viewModel.status,
|
|
17281
|
+
label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
|
|
17211
17282
|
}, isErrored: !!fieldValidationErrors.status, options: availableStatuses, onChange: (status) => {
|
|
17212
17283
|
updateInactiveMilitaryViewModel('status', status ? status.value : '');
|
|
17213
17284
|
updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
|
|
@@ -17301,12 +17372,12 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17301
17372
|
const getAvailableFirstResponderStatuses = () => {
|
|
17302
17373
|
const availableStatusesResponse = verificationService.verificationResponse.availableStatuses;
|
|
17303
17374
|
const availableStatuses = [];
|
|
17304
|
-
|
|
17375
|
+
availableStatusesResponse.forEach((status) => {
|
|
17305
17376
|
availableStatuses.push({
|
|
17306
17377
|
value: status,
|
|
17307
|
-
label: intl
|
|
17378
|
+
label: getStatusLabel(intl, status, FirstResponderStatusDefaultMessagesEnum),
|
|
17308
17379
|
});
|
|
17309
|
-
}
|
|
17380
|
+
});
|
|
17310
17381
|
return availableStatuses;
|
|
17311
17382
|
};
|
|
17312
17383
|
const handleFirstResponderStatusOnKeyDown = (event) => {
|
|
@@ -17346,8 +17417,8 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17346
17417
|
React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
|
|
17347
17418
|
React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
|
|
17348
17419
|
React.createElement(FirstResponderStatusComponent, { value: {
|
|
17349
|
-
value:
|
|
17350
|
-
label:
|
|
17420
|
+
value: viewModel.status,
|
|
17421
|
+
label: getStatusLabel(intl, viewModel.status, FirstResponderStatusDefaultMessagesEnum),
|
|
17351
17422
|
}, isErrored: !!fieldValidationErrors.status, options: getAvailableFirstResponderStatuses(), onChange: (status) => {
|
|
17352
17423
|
updateFirstResponderViewModel('status', status ? status.value : '');
|
|
17353
17424
|
updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
|
|
@@ -17447,12 +17518,6 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17447
17518
|
const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
|
|
17448
17519
|
const [memberIdMessageKeys, setMemberIdMessageKeys] = React.useState(undefined);
|
|
17449
17520
|
const [showMemberId, setShowMemberId] = React.useState(false);
|
|
17450
|
-
const getStatusLabel = (status) => {
|
|
17451
|
-
if (!status) {
|
|
17452
|
-
return '';
|
|
17453
|
-
}
|
|
17454
|
-
return intl.formatMessage({ id: status, defaultMessage: MedicalProfessionalStatusDefaultMessagesEnum[status] });
|
|
17455
|
-
};
|
|
17456
17521
|
const updateMedicalProfessionalViewModel = (key, value) => {
|
|
17457
17522
|
const nextState = produceDraftViewModel(viewModel, key, value);
|
|
17458
17523
|
verificationService.updateViewModel(nextState);
|
|
@@ -17460,12 +17525,12 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17460
17525
|
const getAvailableMedicalStatuses = () => {
|
|
17461
17526
|
const availableStatusesResponse = verificationResponse.availableStatuses;
|
|
17462
17527
|
const availableStatuses = [];
|
|
17463
|
-
|
|
17528
|
+
availableStatusesResponse.forEach((status) => {
|
|
17464
17529
|
availableStatuses.push({
|
|
17465
17530
|
value: status,
|
|
17466
|
-
label: getStatusLabel(status),
|
|
17531
|
+
label: getStatusLabel(intl, status, MedicalProfessionalStatusDefaultMessagesEnum),
|
|
17467
17532
|
});
|
|
17468
|
-
}
|
|
17533
|
+
});
|
|
17469
17534
|
return availableStatuses;
|
|
17470
17535
|
};
|
|
17471
17536
|
const handleMedicalStatusOnKeyDown = (event) => {
|
|
@@ -17517,7 +17582,7 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17517
17582
|
React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
|
|
17518
17583
|
React.createElement(MedicalStatusComponent, { value: {
|
|
17519
17584
|
value: viewModel.status,
|
|
17520
|
-
label: getStatusLabel(viewModel.status),
|
|
17585
|
+
label: getStatusLabel(intl, viewModel.status, MedicalProfessionalStatusDefaultMessagesEnum),
|
|
17521
17586
|
}, isErrored: !!fieldValidationErrors.status, options: getAvailableMedicalStatuses(), onChange: (status) => {
|
|
17522
17587
|
updateMedicalProfessionalViewModel('status', status ? status.value : '');
|
|
17523
17588
|
updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
|
|
@@ -17574,28 +17639,6 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
|
|
|
17574
17639
|
};
|
|
17575
17640
|
const StepMedicalProfessionalPersonalInfoComponent = injectIntl(StepMedicalProfessionalPersonalInfo);
|
|
17576
17641
|
|
|
17577
|
-
const Address = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-address" },
|
|
17578
|
-
React.createElement("div", { className: "sid-l-space-top-md" }),
|
|
17579
|
-
React.createElement("label", { htmlFor: "sid-address" },
|
|
17580
|
-
React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
|
|
17581
|
-
React.createElement("div", { className: "sid-field__label sid-field__label--required" },
|
|
17582
|
-
React.createElement(FormattedHTMLMessage, { id: "address", defaultMessage: "Address" })))),
|
|
17583
|
-
React.createElement(InputTextComponent, { id: "address", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'addressPlaceholder', defaultMessage: 'Address*' }), value: value }),
|
|
17584
|
-
isErrored ? (React.createElement("div", { className: "sid-field-error" },
|
|
17585
|
-
React.createElement(FormattedHTMLMessage, { id: "errorId.invalidAddress", defaultMessage: "Invalid address" }))) : null));
|
|
17586
|
-
const AddressComponent = injectIntl(Address);
|
|
17587
|
-
|
|
17588
|
-
const City = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-city" },
|
|
17589
|
-
React.createElement("div", { className: "sid-l-space-top-md" }),
|
|
17590
|
-
React.createElement("label", { htmlFor: "sid-city" },
|
|
17591
|
-
React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
|
|
17592
|
-
React.createElement("div", { className: "sid-field__label sid-field__label--required" },
|
|
17593
|
-
React.createElement(FormattedHTMLMessage, { id: "city", defaultMessage: "City" })))),
|
|
17594
|
-
React.createElement(InputTextComponent, { id: "city", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'cityPlaceholder', defaultMessage: 'City*' }), value: value }),
|
|
17595
|
-
isErrored ? (React.createElement("div", { className: "sid-field-error" },
|
|
17596
|
-
React.createElement(FormattedHTMLMessage, { id: "errorId.invalidCity", defaultMessage: "Invalid city" }))) : null));
|
|
17597
|
-
const CityComponent = injectIntl(City);
|
|
17598
|
-
|
|
17599
17642
|
const State = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-state" },
|
|
17600
17643
|
React.createElement("div", { className: "sid-l-space-top-md" }),
|
|
17601
17644
|
React.createElement("label", { htmlFor: "sid-state" },
|
|
@@ -18036,13 +18079,12 @@ const LicensedProfessionalOrganization = ({ value, isErrored, onChange, verifica
|
|
|
18036
18079
|
const LicensedProfessionalOrganizationComponent = injectIntl(LicensedProfessionalOrganization);
|
|
18037
18080
|
|
|
18038
18081
|
const SEGMENT_ID = 'licensed-professional';
|
|
18039
|
-
const
|
|
18040
|
-
|
|
18041
|
-
|
|
18042
|
-
|
|
18043
|
-
}
|
|
18082
|
+
const defaultStatusMessages = {
|
|
18083
|
+
LICENSED_COSMETOLOGIST: 'Licensed Cosmetologist',
|
|
18084
|
+
LICENSED_REAL_ESTATE_AGENT: 'Licensed Real Estate Agent',
|
|
18085
|
+
VETERINARIAN: 'Veterinarian',
|
|
18044
18086
|
};
|
|
18045
|
-
const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
|
|
18087
|
+
const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService }) => {
|
|
18046
18088
|
const viewModel = verificationService.viewModel;
|
|
18047
18089
|
const { fieldValidationErrors } = verificationService;
|
|
18048
18090
|
const verificationResponse = verificationService.verificationResponse;
|
|
@@ -18053,14 +18095,22 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
|
|
|
18053
18095
|
});
|
|
18054
18096
|
verificationService.updateViewModel(nextState);
|
|
18055
18097
|
};
|
|
18098
|
+
const getStatusLabel = (status) => {
|
|
18099
|
+
if (!status) {
|
|
18100
|
+
return '';
|
|
18101
|
+
}
|
|
18102
|
+
return intl.formatMessage({ id: status, defaultMessage: defaultStatusMessages[status] });
|
|
18103
|
+
};
|
|
18056
18104
|
const getAvailableLicensedProfessionalStatuses = () => {
|
|
18057
18105
|
const availableStatusesResponse = verificationResponse.availableStatuses;
|
|
18058
18106
|
const availableStatuses = [];
|
|
18059
|
-
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
18107
|
+
if (availableStatusesResponse) {
|
|
18108
|
+
for (const status of availableStatusesResponse) {
|
|
18109
|
+
availableStatuses.push({
|
|
18110
|
+
value: status,
|
|
18111
|
+
label: getStatusLabel(status),
|
|
18112
|
+
});
|
|
18113
|
+
}
|
|
18064
18114
|
}
|
|
18065
18115
|
return availableStatuses;
|
|
18066
18116
|
};
|
|
@@ -18084,7 +18134,7 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
|
|
|
18084
18134
|
React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
|
|
18085
18135
|
React.createElement(StatusComponent, { segmentId: SEGMENT_ID, value: {
|
|
18086
18136
|
value: viewModel.statuses ? viewModel.statuses[0] : '',
|
|
18087
|
-
label: viewModel.statuses ?
|
|
18137
|
+
label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : '',
|
|
18088
18138
|
}, isErrored: !!fieldValidationErrors.statuses, options: getAvailableLicensedProfessionalStatuses(), onChange: (status) => {
|
|
18089
18139
|
const updatedStatuses = status ? [status.value] : [];
|
|
18090
18140
|
updateLicensedProfessionalViewModel('statuses', updatedStatuses);
|
|
@@ -18130,7 +18180,6 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
|
|
|
18130
18180
|
: (React.createElement(FormattedHTMLMessage, { id: "verifyMyLicensedProfessionalStatus", defaultMessage: "Verify My Licensed Professional Status" })))))),
|
|
18131
18181
|
React.createElement(FormFooterComponent, { verificationService: verificationService })));
|
|
18132
18182
|
};
|
|
18133
|
-
// TODO remove injectIntl b/c not used
|
|
18134
18183
|
const StepLicensedProfessionalPersonalInfoComponent = injectIntl(StepLicensedProfessionalPersonalInfo);
|
|
18135
18184
|
|
|
18136
18185
|
const StepMoverPersonalInfo = ({ verificationService }) => {
|
|
@@ -21084,5 +21133,5 @@ const collectDeviceProfile = async (verificationId, programId) => {
|
|
|
21084
21133
|
includeIPQSDeviceFingerprintScript(programTheme, verificationId);
|
|
21085
21134
|
};
|
|
21086
21135
|
|
|
21087
|
-
export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LicensedProfessionalOrganizationComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setFocus, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
|
|
21136
|
+
export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LicensedProfessionalOrganizationComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getStatusLabel, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isTestEmailDomains, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, produceDraftViewModelWithRequiredFields, recordEvent, recordVerificationResponse, recordViewModelChange, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setDimension, setFocus, setGaDimensionIsTest, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
|
|
21088
21137
|
//# sourceMappingURL=sheerides6.js.map
|