mario-core 1.2.11-es-prod → 1.2.11-es-release
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/containers/Login/hooks/useLogin.d.ts +1 -0
- package/dist/index.js +112 -28
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +112 -28
- package/dist/index.modern.js.map +1 -1
- package/dist/types/Payload.d.ts +0 -1
- package/package.json +2 -2
- package/dist/redux/unreadNotification/action.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -2135,11 +2135,11 @@ var add_1_1_conversation_notes = "Add 1-1 Conversation notes";
|
|
|
2135
2135
|
var save_data = "Save data";
|
|
2136
2136
|
var please_select_date_1_1_conversation = "Please select date 1-1 conversation!";
|
|
2137
2137
|
var please_write_something_to_this_1_1_conversation = "Please write something to this 1-1 conversation!";
|
|
2138
|
-
var data_1_1_conversation_cannot_exceed_300_characters = "Data 1-1 conversation cannot exceed
|
|
2138
|
+
var data_1_1_conversation_cannot_exceed_300_characters = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
2139
2139
|
var check_in_session_title = "Check-in Session";
|
|
2140
2140
|
var i_have_nothing_to_add = "I have nothing to add.";
|
|
2141
2141
|
var check_in_session_finished = "Check-in Session Finished";
|
|
2142
|
-
var is_question_for_grade_1_2 = "Is question for grade 1
|
|
2142
|
+
var is_question_for_grade_1_2 = "Is question for grade 1";
|
|
2143
2143
|
var type_your_answer_here_e_g_i_met_my_friend = "Type your answer here, e.g., \"I met my friend\"";
|
|
2144
2144
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school = "Type your answer here, e.g., \"My best friend didn't come to school\"";
|
|
2145
2145
|
var save_1_1_log_note = "Save 1-1 log Note";
|
|
@@ -2181,6 +2181,13 @@ var target_monthly_conversation_goal_for_counselors = "Target Monthly Conversati
|
|
|
2181
2181
|
var conversations = "conversations";
|
|
2182
2182
|
var are_not_ready_to_learn = "are not ready to learn";
|
|
2183
2183
|
var check_in_date = "Check-in date";
|
|
2184
|
+
var educator = "Educator";
|
|
2185
|
+
var location$1 = "Location";
|
|
2186
|
+
var edit_my_profile = "Edit My Profile";
|
|
2187
|
+
var save_new_password = "Save new password";
|
|
2188
|
+
var conversation_duration = "Conversation Duration";
|
|
2189
|
+
var please_set_time_1_1_conversation = "Please set time 1-1 conversation";
|
|
2190
|
+
var negative_emotions = "Negative emotions";
|
|
2184
2191
|
var lang_us = {
|
|
2185
2192
|
dashboard: dashboard,
|
|
2186
2193
|
user: user,
|
|
@@ -4366,7 +4373,14 @@ var lang_us = {
|
|
|
4366
4373
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors,
|
|
4367
4374
|
conversations: conversations,
|
|
4368
4375
|
are_not_ready_to_learn: are_not_ready_to_learn,
|
|
4369
|
-
check_in_date: check_in_date
|
|
4376
|
+
check_in_date: check_in_date,
|
|
4377
|
+
educator: educator,
|
|
4378
|
+
location: location$1,
|
|
4379
|
+
edit_my_profile: edit_my_profile,
|
|
4380
|
+
save_new_password: save_new_password,
|
|
4381
|
+
conversation_duration: conversation_duration,
|
|
4382
|
+
please_set_time_1_1_conversation: please_set_time_1_1_conversation,
|
|
4383
|
+
negative_emotions: negative_emotions
|
|
4370
4384
|
};
|
|
4371
4385
|
|
|
4372
4386
|
var dashboard$1 = "Dashboard";
|
|
@@ -6467,11 +6481,11 @@ var add_1_1_conversation_notes$1 = "Add 1-1 Conversation notes";
|
|
|
6467
6481
|
var save_data$1 = "Save data";
|
|
6468
6482
|
var please_select_date_1_1_conversation$1 = "Please select date 1-1 conversation!";
|
|
6469
6483
|
var please_write_something_to_this_1_1_conversation$1 = "Please write something to this 1-1 conversation!";
|
|
6470
|
-
var data_1_1_conversation_cannot_exceed_300_characters$1 = "Data 1-1 conversation cannot exceed
|
|
6484
|
+
var data_1_1_conversation_cannot_exceed_300_characters$1 = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
6471
6485
|
var check_in_session_title$1 = "Check-in Session";
|
|
6472
6486
|
var i_have_nothing_to_add$1 = "I have nothing to add.";
|
|
6473
6487
|
var check_in_session_finished$1 = "Check-in Session Finished";
|
|
6474
|
-
var is_question_for_grade_1_2$1 = "Is question for grade 1
|
|
6488
|
+
var is_question_for_grade_1_2$1 = "Is question for grade 1";
|
|
6475
6489
|
var type_your_answer_here_e_g_i_met_my_friend$1 = "Type your answer here, e.g., \"I met my friend\"";
|
|
6476
6490
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$1 = "Type your answer here, e.g., \"My best friend didn't come to school\"";
|
|
6477
6491
|
var save_1_1_log_note$1 = "Save 1-1 log Note";
|
|
@@ -6513,6 +6527,13 @@ var target_monthly_conversation_goal_for_counselors$1 = "Target Monthly Conversa
|
|
|
6513
6527
|
var conversations$1 = "conversations";
|
|
6514
6528
|
var are_not_ready_to_learn$1 = "are not ready to learn";
|
|
6515
6529
|
var check_in_date$1 = "Check-in date";
|
|
6530
|
+
var educator$1 = "Educator";
|
|
6531
|
+
var location$2 = "Location";
|
|
6532
|
+
var edit_my_profile$1 = "Edit My Profile";
|
|
6533
|
+
var save_new_password$1 = "Save new password";
|
|
6534
|
+
var conversation_duration$1 = "Conversation Duration";
|
|
6535
|
+
var please_set_time_1_1_conversation$1 = "Please set time 1-1 conversation";
|
|
6536
|
+
var negative_emotions$1 = "Negative emotions";
|
|
6516
6537
|
var lang_uk = {
|
|
6517
6538
|
dashboard: dashboard$1,
|
|
6518
6539
|
user: user$1,
|
|
@@ -8698,7 +8719,14 @@ var lang_uk = {
|
|
|
8698
8719
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$1,
|
|
8699
8720
|
conversations: conversations$1,
|
|
8700
8721
|
are_not_ready_to_learn: are_not_ready_to_learn$1,
|
|
8701
|
-
check_in_date: check_in_date$1
|
|
8722
|
+
check_in_date: check_in_date$1,
|
|
8723
|
+
educator: educator$1,
|
|
8724
|
+
location: location$2,
|
|
8725
|
+
edit_my_profile: edit_my_profile$1,
|
|
8726
|
+
save_new_password: save_new_password$1,
|
|
8727
|
+
conversation_duration: conversation_duration$1,
|
|
8728
|
+
please_set_time_1_1_conversation: please_set_time_1_1_conversation$1,
|
|
8729
|
+
negative_emotions: negative_emotions$1
|
|
8702
8730
|
};
|
|
8703
8731
|
|
|
8704
8732
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -10831,11 +10859,11 @@ var add_1_1_conversation_notes$2 = "إضافة ملاحظات المحادثة 1
|
|
|
10831
10859
|
var save_data$2 = "حفظ البيانات";
|
|
10832
10860
|
var please_select_date_1_1_conversation$2 = "الرجاء تحديد تاريخ المحادثة 1-1!";
|
|
10833
10861
|
var please_write_something_to_this_1_1_conversation$2 = "من فضلك اكتب شيئا لهذه المحادثة 1-1!";
|
|
10834
|
-
var data_1_1_conversation_cannot_exceed_300_characters$2 = "لا يمكن أن تتجاوز بيانات المحادثة 1-1
|
|
10862
|
+
var data_1_1_conversation_cannot_exceed_300_characters$2 = "لا يمكن أن تتجاوز بيانات المحادثة 1-1 1000 حرف!";
|
|
10835
10863
|
var check_in_session_title$2 = "جلسة تسجيل الوصول";
|
|
10836
10864
|
var i_have_nothing_to_add$2 = "ليس لدي ما أضيفه.";
|
|
10837
10865
|
var check_in_session_finished$2 = "انتهت جلسة تسجيل الوصول";
|
|
10838
|
-
var is_question_for_grade_1_2$2 = "سؤال للصف الأول
|
|
10866
|
+
var is_question_for_grade_1_2$2 = "سؤال للصف الأول";
|
|
10839
10867
|
var type_your_answer_here_e_g_i_met_my_friend$2 = "اكتب إجابتك هنا، على سبيل المثال، لقد قابلت صديقي";
|
|
10840
10868
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$2 = "اكتب إجابتك هنا، على سبيل المثال، لم يأتِ صديقي المقرب إلى المدرسة";
|
|
10841
10869
|
var save_1_1_log_note$2 = "حفظ سجل 1-1 ملاحظة";
|
|
@@ -10877,6 +10905,13 @@ var target_monthly_conversation_goal_for_counselors$2 = "Target Monthly Conversa
|
|
|
10877
10905
|
var conversations$2 = "conversations";
|
|
10878
10906
|
var are_not_ready_to_learn$2 = "are not ready to learn";
|
|
10879
10907
|
var check_in_date$2 = "Check-in date";
|
|
10908
|
+
var educator$2 = "Educator";
|
|
10909
|
+
var location$3 = "Location";
|
|
10910
|
+
var edit_my_profile$2 = "Edit My Profile";
|
|
10911
|
+
var save_new_password$2 = "Save new password";
|
|
10912
|
+
var conversation_duration$2 = "Conversation Duration";
|
|
10913
|
+
var please_set_time_1_1_conversation$2 = "Please set time 1-1 conversation";
|
|
10914
|
+
var negative_emotions$2 = "Negative emotions";
|
|
10880
10915
|
var lang_ar = {
|
|
10881
10916
|
dashboard: dashboard$2,
|
|
10882
10917
|
user: user$2,
|
|
@@ -13096,7 +13131,14 @@ var lang_ar = {
|
|
|
13096
13131
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$2,
|
|
13097
13132
|
conversations: conversations$2,
|
|
13098
13133
|
are_not_ready_to_learn: are_not_ready_to_learn$2,
|
|
13099
|
-
check_in_date: check_in_date$2
|
|
13134
|
+
check_in_date: check_in_date$2,
|
|
13135
|
+
educator: educator$2,
|
|
13136
|
+
location: location$3,
|
|
13137
|
+
edit_my_profile: edit_my_profile$2,
|
|
13138
|
+
save_new_password: save_new_password$2,
|
|
13139
|
+
conversation_duration: conversation_duration$2,
|
|
13140
|
+
please_set_time_1_1_conversation: please_set_time_1_1_conversation$2,
|
|
13141
|
+
negative_emotions: negative_emotions$2
|
|
13100
13142
|
};
|
|
13101
13143
|
|
|
13102
13144
|
var dashboard$3 = "Cuadro de mandos";
|
|
@@ -15229,11 +15271,11 @@ var add_1_1_conversation_notes$3 = "Agregar notas de conversación 1-1";
|
|
|
15229
15271
|
var save_data$3 = "Guardar datos";
|
|
15230
15272
|
var please_select_date_1_1_conversation$3 = "¡Por favor seleccione fecha para conversación 1-1!";
|
|
15231
15273
|
var please_write_something_to_this_1_1_conversation$3 = "¡Por favor escribe algo en esta conversación 1-1!";
|
|
15232
|
-
var data_1_1_conversation_cannot_exceed_300_characters$3 = "¡Los datos de conversación 1-1 no pueden exceder los
|
|
15274
|
+
var data_1_1_conversation_cannot_exceed_300_characters$3 = "¡Los datos de conversación 1-1 no pueden exceder los 1000 caracteres!";
|
|
15233
15275
|
var check_in_session_title$3 = "Sesión de registro";
|
|
15234
15276
|
var i_have_nothing_to_add$3 = "No tengo nada que añadir.";
|
|
15235
15277
|
var check_in_session_finished$3 = "Sesión de check-in finalizada";
|
|
15236
|
-
var is_question_for_grade_1_2$3 = "¿Es una pregunta para 1º
|
|
15278
|
+
var is_question_for_grade_1_2$3 = "¿Es una pregunta para 1º grado?";
|
|
15237
15279
|
var type_your_answer_here_e_g_i_met_my_friend$3 = "Escribe tu respuesta aquí, p. ej., \"Conocí a mi amigo\".";
|
|
15238
15280
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$3 = "Escribe tu respuesta aquí, por ejemplo: \"Mi mejor amigo no vino a la escuela\".";
|
|
15239
15281
|
var save_1_1_log_note$3 = "Guardar 1-1 registro Nota";
|
|
@@ -15275,6 +15317,13 @@ var target_monthly_conversation_goal_for_counselors$3 = "Target Monthly Conversa
|
|
|
15275
15317
|
var conversations$3 = "conversations";
|
|
15276
15318
|
var are_not_ready_to_learn$3 = "are not ready to learn";
|
|
15277
15319
|
var check_in_date$3 = "Check-in date";
|
|
15320
|
+
var educator$3 = "Educator";
|
|
15321
|
+
var location$4 = "Location";
|
|
15322
|
+
var edit_my_profile$3 = "Edit My Profile";
|
|
15323
|
+
var save_new_password$3 = "Save new password";
|
|
15324
|
+
var conversation_duration$3 = "Conversation Duration";
|
|
15325
|
+
var please_set_time_1_1_conversation$3 = "Please set time 1-1 conversation";
|
|
15326
|
+
var negative_emotions$3 = "Negative emotions";
|
|
15278
15327
|
var lang_es = {
|
|
15279
15328
|
dashboard: dashboard$3,
|
|
15280
15329
|
user: user$3,
|
|
@@ -17494,7 +17543,14 @@ var lang_es = {
|
|
|
17494
17543
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$3,
|
|
17495
17544
|
conversations: conversations$3,
|
|
17496
17545
|
are_not_ready_to_learn: are_not_ready_to_learn$3,
|
|
17497
|
-
check_in_date: check_in_date$3
|
|
17546
|
+
check_in_date: check_in_date$3,
|
|
17547
|
+
educator: educator$3,
|
|
17548
|
+
location: location$4,
|
|
17549
|
+
edit_my_profile: edit_my_profile$3,
|
|
17550
|
+
save_new_password: save_new_password$3,
|
|
17551
|
+
conversation_duration: conversation_duration$3,
|
|
17552
|
+
please_set_time_1_1_conversation: please_set_time_1_1_conversation$3,
|
|
17553
|
+
negative_emotions: negative_emotions$3
|
|
17498
17554
|
};
|
|
17499
17555
|
|
|
17500
17556
|
var dashboard$4 = "仪表板";
|
|
@@ -19627,11 +19683,11 @@ var add_1_1_conversation_notes$4 = "添加 1-1 对话笔记";
|
|
|
19627
19683
|
var save_data$4 = "保存数据";
|
|
19628
19684
|
var please_select_date_1_1_conversation$4 = "请选择日期1-1对话!";
|
|
19629
19685
|
var please_write_something_to_this_1_1_conversation$4 = "请为这场一对一对话写点内容!";
|
|
19630
|
-
var data_1_1_conversation_cannot_exceed_300_characters$4 = "数据1对1对话不能超过
|
|
19686
|
+
var data_1_1_conversation_cannot_exceed_300_characters$4 = "数据1对1对话不能超过1000个字符!";
|
|
19631
19687
|
var check_in_session_title$4 = "签到环节";
|
|
19632
19688
|
var i_have_nothing_to_add$4 = "我没有什么可补充的。";
|
|
19633
19689
|
var check_in_session_finished$4 = "签到环节结束";
|
|
19634
|
-
var is_question_for_grade_1_2$4 = "
|
|
19690
|
+
var is_question_for_grade_1_2$4 = "这是一年级的问题";
|
|
19635
19691
|
var type_your_answer_here_e_g_i_met_my_friend$4 = "在这里输入你的答案,例如“我遇到了我的朋友”";
|
|
19636
19692
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$4 = "在这里输入你的答案,例如“我最好的朋友没来上学”";
|
|
19637
19693
|
var save_1_1_log_note$4 = "保存1-1日志注释";
|
|
@@ -19673,6 +19729,13 @@ var target_monthly_conversation_goal_for_counselors$4 = "Target Monthly Conversa
|
|
|
19673
19729
|
var conversations$4 = "conversations";
|
|
19674
19730
|
var are_not_ready_to_learn$4 = "are not ready to learn";
|
|
19675
19731
|
var check_in_date$4 = "Check-in date";
|
|
19732
|
+
var educator$4 = "Educator";
|
|
19733
|
+
var location$5 = "Location";
|
|
19734
|
+
var edit_my_profile$4 = "Edit My Profile";
|
|
19735
|
+
var save_new_password$4 = "Save new password";
|
|
19736
|
+
var conversation_duration$4 = "Conversation Duration";
|
|
19737
|
+
var please_set_time_1_1_conversation$4 = "Please set time 1-1 conversation";
|
|
19738
|
+
var negative_emotions$4 = "Negative emotions";
|
|
19676
19739
|
var lang_zh = {
|
|
19677
19740
|
dashboard: dashboard$4,
|
|
19678
19741
|
user: user$4,
|
|
@@ -21892,7 +21955,14 @@ var lang_zh = {
|
|
|
21892
21955
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$4,
|
|
21893
21956
|
conversations: conversations$4,
|
|
21894
21957
|
are_not_ready_to_learn: are_not_ready_to_learn$4,
|
|
21895
|
-
check_in_date: check_in_date$4
|
|
21958
|
+
check_in_date: check_in_date$4,
|
|
21959
|
+
educator: educator$4,
|
|
21960
|
+
location: location$5,
|
|
21961
|
+
edit_my_profile: edit_my_profile$4,
|
|
21962
|
+
save_new_password: save_new_password$4,
|
|
21963
|
+
conversation_duration: conversation_duration$4,
|
|
21964
|
+
please_set_time_1_1_conversation: please_set_time_1_1_conversation$4,
|
|
21965
|
+
negative_emotions: negative_emotions$4
|
|
21896
21966
|
};
|
|
21897
21967
|
|
|
21898
21968
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -22391,7 +22461,7 @@ var getSchoolSettings = function getSchoolSettings() {
|
|
|
22391
22461
|
|
|
22392
22462
|
var msalConfig = {
|
|
22393
22463
|
auth: {
|
|
22394
|
-
clientId: isLocalhost ? "
|
|
22464
|
+
clientId: isLocalhost ? "bd08aff8-9e68-4987-9943-2525d4441d4f" : "3845e9f8-aead-4535-b4bb-d363a1d262bd",
|
|
22395
22465
|
authority: "https://login.microsoftonline.com/common",
|
|
22396
22466
|
redirectUri: "https://es-sso.marioforme.com/microsoft-login.html"
|
|
22397
22467
|
},
|
|
@@ -22497,6 +22567,10 @@ var useLogin = function useLogin() {
|
|
|
22497
22567
|
isShowPassword = _useState8[0],
|
|
22498
22568
|
setIsShowPassword = _useState8[1];
|
|
22499
22569
|
|
|
22570
|
+
var _useState9 = React.useState(""),
|
|
22571
|
+
extensionEmail = _useState9[0],
|
|
22572
|
+
setExtensionEmail = _useState9[1];
|
|
22573
|
+
|
|
22500
22574
|
React.useEffect(function () {
|
|
22501
22575
|
document.title = TITLE;
|
|
22502
22576
|
var authToken = getCookieValue("auth-token");
|
|
@@ -22599,6 +22673,7 @@ var useLogin = function useLogin() {
|
|
|
22599
22673
|
return Promise.resolve(getGoogleClientId()).then(function (res) {
|
|
22600
22674
|
setGoogleClientId(res.data.googleClientId);
|
|
22601
22675
|
setGoogleRecaptchaId(res.data.googleCaptchaId);
|
|
22676
|
+
setExtensionEmail(res.data.extensionEmail);
|
|
22602
22677
|
});
|
|
22603
22678
|
}, function (err) {
|
|
22604
22679
|
var _err$response2, _err$response2$data;
|
|
@@ -22724,6 +22799,8 @@ var useLogin = function useLogin() {
|
|
|
22724
22799
|
try {
|
|
22725
22800
|
msalInstance.handleRedirectPromise().then(function (tokenResponse) {
|
|
22726
22801
|
try {
|
|
22802
|
+
if (!(school !== null && school !== void 0 && school.schoolId)) return Promise.resolve();
|
|
22803
|
+
|
|
22727
22804
|
var _temp19 = function () {
|
|
22728
22805
|
if (!tokenResponse) {
|
|
22729
22806
|
var accounts = msalInstance.getAllAccounts();
|
|
@@ -22842,7 +22919,8 @@ var useLogin = function useLogin() {
|
|
|
22842
22919
|
googleRecaptchaId: googleRecaptchaId,
|
|
22843
22920
|
school: school,
|
|
22844
22921
|
fnLoginSSO: fnLoginSSO,
|
|
22845
|
-
handleLoginWidthClever: handleLoginWidthClever
|
|
22922
|
+
handleLoginWidthClever: handleLoginWidthClever,
|
|
22923
|
+
extensionEmail: extensionEmail
|
|
22846
22924
|
};
|
|
22847
22925
|
};
|
|
22848
22926
|
|
|
@@ -23026,7 +23104,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23026
23104
|
infoUser = _useLogin.infoUser,
|
|
23027
23105
|
setIsLoginGoogle = _useLogin.setIsLoginGoogle,
|
|
23028
23106
|
googleClientId = _useLogin.googleClientId,
|
|
23029
|
-
fnLoginSSO = _useLogin.fnLoginSSO
|
|
23107
|
+
fnLoginSSO = _useLogin.fnLoginSSO,
|
|
23108
|
+
extensionEmail = _useLogin.extensionEmail;
|
|
23030
23109
|
|
|
23031
23110
|
var togglePasswordVisible = function togglePasswordVisible() {
|
|
23032
23111
|
return setIsShowPassword(!isShowPassword);
|
|
@@ -23054,6 +23133,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23054
23133
|
|
|
23055
23134
|
var onSuccessGoogle = function onSuccessGoogle(res) {
|
|
23056
23135
|
if (!!(res !== null && res !== void 0 && res.accessToken)) {
|
|
23136
|
+
var _hostName$split, _hostName$split$, _email$split;
|
|
23137
|
+
|
|
23057
23138
|
var _res$profileObj = res.profileObj,
|
|
23058
23139
|
email = _res$profileObj.email,
|
|
23059
23140
|
familyName = _res$profileObj.familyName,
|
|
@@ -23062,6 +23143,15 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23062
23143
|
name = _res$profileObj.name;
|
|
23063
23144
|
var accessToken = res.accessToken;
|
|
23064
23145
|
var googleId = res.googleId;
|
|
23146
|
+
var hostName = window.location.hostname;
|
|
23147
|
+
var subDomain = hostName === null || hostName === void 0 ? void 0 : (_hostName$split = hostName.split(".marioforme.com")) === null || _hostName$split === void 0 ? void 0 : (_hostName$split$ = _hostName$split[0]) === null || _hostName$split$ === void 0 ? void 0 : _hostName$split$.replace(/-es$|^es-/, "");
|
|
23148
|
+
var emailDomain = (_email$split = email.split("@")) === null || _email$split === void 0 ? void 0 : _email$split[1];
|
|
23149
|
+
|
|
23150
|
+
if (!emailDomain.includes(subDomain) && !emailDomain.includes(!(extensionEmail !== null && extensionEmail !== void 0 && extensionEmail.trim()) ? subDomain : extensionEmail)) {
|
|
23151
|
+
alert("The email address you used does not match the login information in the database. Please check that you are using your school assigned email address to log into MARIO for Me. If you have further trouble please notify your school site administrator");
|
|
23152
|
+
return;
|
|
23153
|
+
}
|
|
23154
|
+
|
|
23065
23155
|
var infoLogin = {
|
|
23066
23156
|
firstName: givenName,
|
|
23067
23157
|
lastName: familyName,
|
|
@@ -23185,7 +23275,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23185
23275
|
lg: 6,
|
|
23186
23276
|
md: 6,
|
|
23187
23277
|
xs: 12,
|
|
23188
|
-
className: styles["btn-login-sso"] + " pl-md-2"
|
|
23278
|
+
className: styles["btn-login-sso"] + " pl-md-2",
|
|
23279
|
+
hidden: !(school !== null && school !== void 0 && school.schoolId)
|
|
23189
23280
|
}, React__default.createElement("div", {
|
|
23190
23281
|
className: styles["btn-login-with-sso"],
|
|
23191
23282
|
onClick: function onClick() {
|
|
@@ -23541,14 +23632,7 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
23541
23632
|
href: "/privacy-policy/",
|
|
23542
23633
|
target: "blank",
|
|
23543
23634
|
className: "" + styles["link-to-login"]
|
|
23544
|
-
}, "Privacy Policy")))))
|
|
23545
|
-
lg: 4,
|
|
23546
|
-
md: 4,
|
|
23547
|
-
className: "" + styles["img-box"]
|
|
23548
|
-
}, React__default.createElement("img", {
|
|
23549
|
-
src: getStaticFileUrl("/images/img-login.jpg"),
|
|
23550
|
-
className: "" + styles["img-login"]
|
|
23551
|
-
})));
|
|
23635
|
+
}, "Privacy Policy"))))));
|
|
23552
23636
|
});
|
|
23553
23637
|
};
|
|
23554
23638
|
|
|
@@ -23599,7 +23683,7 @@ var Login = function Login(props) {
|
|
|
23599
23683
|
href: "/privacy-policy/",
|
|
23600
23684
|
target: "blank",
|
|
23601
23685
|
className: "" + styles["privacy-policy"]
|
|
23602
|
-
}, "Privacy Policy")), React__default.createElement(reactstrap.Col, {
|
|
23686
|
+
}, "Privacy Policy")), !isResetPassword && React__default.createElement(reactstrap.Col, {
|
|
23603
23687
|
className: "p-3 mh-100 d-flex justify-content-end",
|
|
23604
23688
|
lg: 4,
|
|
23605
23689
|
md: 12,
|