@ttahub/common 2.2.15 → 2.2.17
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/package.json +1 -1
- package/src/constants.js +106 -1
package/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -130,6 +130,13 @@ const TRAINING_REPORT_STATUSES = {
|
|
|
130
130
|
};
|
|
131
131
|
exports.TRAINING_REPORT_STATUSES = TRAINING_REPORT_STATUSES;
|
|
132
132
|
|
|
133
|
+
const NAVIGATOR_PAGE_STATUSES = {
|
|
134
|
+
NOT_STARTED: 'Not started',
|
|
135
|
+
IN_PROGRESS: 'In progress',
|
|
136
|
+
COMPLETE: 'Complete',
|
|
137
|
+
};
|
|
138
|
+
exports.NAVIGATOR_PAGE_STATUSES = NAVIGATOR_PAGE_STATUSES;
|
|
139
|
+
|
|
133
140
|
const TRAINING_REPORT_STATUSES_URL_PARAMS = {
|
|
134
141
|
'not-started': TRAINING_REPORT_STATUSES.NOT_STARTED,
|
|
135
142
|
'in-progress': TRAINING_REPORT_STATUSES.IN_PROGRESS,
|
|
@@ -452,4 +459,102 @@ const TOTAL_HOURS_AND_RECIPIENT_GRAPH_TRACE_IDS = {
|
|
|
452
459
|
];
|
|
453
460
|
|
|
454
461
|
exports.COLLAB_REPORT_PARTICIPANTS = COLLAB_REPORT_PARTICIPANTS;
|
|
455
|
-
|
|
462
|
+
|
|
463
|
+
// List of states, by region
|
|
464
|
+
// see: https://www.acf.hhs.gov/oro/regional-offices
|
|
465
|
+
const ALL_STATES = [
|
|
466
|
+
// Region 1 States
|
|
467
|
+
[
|
|
468
|
+
{ label: 'Massachusetts (MA)', value: 'MA' },
|
|
469
|
+
{ label: 'Maine (ME)', value: 'ME' },
|
|
470
|
+
{ label: 'Connecticut (CT)', value: 'CT' },
|
|
471
|
+
{ label: 'Rhode Island (RI)', value: 'RI' },
|
|
472
|
+
{ label: 'Vermont (VT)', value: 'VT' },
|
|
473
|
+
{ label: 'New Hampshire (NH)', value: 'NH' },
|
|
474
|
+
],
|
|
475
|
+
// Region 2 States
|
|
476
|
+
[
|
|
477
|
+
{ label: 'New York (NY)', value: 'NY' },
|
|
478
|
+
{ label: 'New Jersey (NJ)', value: 'NJ' },
|
|
479
|
+
{ label: 'Puerto Rico (PR)', value: 'PR' },
|
|
480
|
+
],
|
|
481
|
+
// Region 3 States
|
|
482
|
+
[
|
|
483
|
+
{ label: 'Pennsylvania (PA)', value: 'PA' },
|
|
484
|
+
{ label: 'West Virginia (WV)', value: 'WV' },
|
|
485
|
+
{ label: 'Maryland (MD)', value: 'MD' },
|
|
486
|
+
{ label: 'Delaware (DE)', value: 'DE' },
|
|
487
|
+
{ label: 'Virginia (VA)', value: 'VA' },
|
|
488
|
+
{ label: 'District of Columbia (DC)', value: 'DC' },
|
|
489
|
+
],
|
|
490
|
+
// Region 4 States
|
|
491
|
+
[
|
|
492
|
+
{ label: 'Kentucky (KY)', value: 'KY' },
|
|
493
|
+
{ label: 'Tennessee (TN)', value: 'TN' },
|
|
494
|
+
{ label: 'North Carolina (NC)', value: 'NC' },
|
|
495
|
+
{ label: 'Alabama (AL)', value: 'AL' },
|
|
496
|
+
{ label: 'Mississippi (MS)', value: 'MS' },
|
|
497
|
+
{ label: 'Georgia (GA)', value: 'GA' },
|
|
498
|
+
{ label: 'South Carolina (SC)', value: 'SC' },
|
|
499
|
+
{ label: 'Florida (FL)', value: 'FL' },
|
|
500
|
+
],
|
|
501
|
+
// Region 5 States
|
|
502
|
+
[
|
|
503
|
+
{ label: 'Minnesota (MN)', value: 'MN' },
|
|
504
|
+
{ label: 'Wisconsin (WI)', value: 'WI' },
|
|
505
|
+
{ label: 'Illinois (IL)', value: 'IL' },
|
|
506
|
+
{ label: 'Indiana (IN)', value: 'IN' },
|
|
507
|
+
{ label: 'Michigan (MI)', value: 'MI' },
|
|
508
|
+
{ label: 'Ohio (OH)', value: 'OH' },
|
|
509
|
+
],
|
|
510
|
+
// Region 6 States
|
|
511
|
+
[
|
|
512
|
+
{ label: 'New Mexico (NM)', value: 'NM' },
|
|
513
|
+
{ label: 'Oklahoma (OK)', value: 'OK' },
|
|
514
|
+
{ label: 'Arkansas (AR)', value: 'AR' },
|
|
515
|
+
{ label: 'Texas (TX)', value: 'TX' },
|
|
516
|
+
{ label: 'Louisiana (LA)', value: 'LA' },
|
|
517
|
+
],
|
|
518
|
+
// Region 7 States
|
|
519
|
+
[
|
|
520
|
+
{ label: 'Nebraska (NE)', value: 'NE' },
|
|
521
|
+
{ label: 'Iowa (IA)', value: 'IA' },
|
|
522
|
+
{ label: 'Kansas (KS)', value: 'KS' },
|
|
523
|
+
{ label: 'Missouri (MO)', value: 'MO' },
|
|
524
|
+
],
|
|
525
|
+
// Region 8 States
|
|
526
|
+
[
|
|
527
|
+
{ label: 'Montana (MT)', value: 'MT' },
|
|
528
|
+
{ label: 'North Dakota (ND)', value: 'ND' },
|
|
529
|
+
{ label: 'South Dakota (SD)', value: 'SD' },
|
|
530
|
+
{ label: 'Wyoming (WY)', value: 'WY' },
|
|
531
|
+
{ label: 'Utah (UT)', value: 'UT' },
|
|
532
|
+
{ label: 'Colorado (CO)', value: 'CO' },
|
|
533
|
+
],
|
|
534
|
+
// Region 9 States
|
|
535
|
+
[
|
|
536
|
+
{ label: 'Nevada (NV)', value: 'NV' },
|
|
537
|
+
{ label: 'California (CA)', value: 'CA' },
|
|
538
|
+
{ label: 'Arizona (AZ)', value: 'AZ' },
|
|
539
|
+
{ label: 'Hawaii (HI)', value: 'HI' },
|
|
540
|
+
{ label: 'Guam (GU)', value: 'GU' },
|
|
541
|
+
{ label: 'American Samoa (AS)', value: 'AS' },
|
|
542
|
+
{ label: 'Virgin Islands (VI)', value: 'VI' },
|
|
543
|
+
{ label: 'Northern Mariana Islands (MP)', value: 'MP' },
|
|
544
|
+
{ label: 'Federated States of Micronesia (FM)', value: 'FM' },
|
|
545
|
+
{ label: 'Marshall Islands (MH)', value: 'MH' },
|
|
546
|
+
{ label: 'Republic of Palau (PW)', value: 'PW' },
|
|
547
|
+
],
|
|
548
|
+
// 'Region 10 States
|
|
549
|
+
[
|
|
550
|
+
{ label: 'Washington (WA)', value: 'WA' },
|
|
551
|
+
{ label: 'Oregon (OR)', value: 'OR' },
|
|
552
|
+
{ label: 'Idaho (ID)', value: 'ID' },
|
|
553
|
+
{ label: 'Alaska (AK)', value: 'AK' },
|
|
554
|
+
],
|
|
555
|
+
];
|
|
556
|
+
|
|
557
|
+
exports.ALL_STATES = ALL_STATES;
|
|
558
|
+
|
|
559
|
+
const ALL_STATES_FLATTENED = ALL_STATES.flat();
|
|
560
|
+
exports.ALL_STATES_FLATTENED = ALL_STATES_FLATTENED;
|