mario-core 1.2.9-es-prod → 1.2.9-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 +137 -33
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +137 -33
- 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";
|
|
@@ -2174,11 +2174,20 @@ var have_metrics_40 = "have metrics <40%";
|
|
|
2174
2174
|
var all_students_have_good_metrics = "All students have good metrics";
|
|
2175
2175
|
var students_with_at_least_one_concerned_metric = "Students with at least One Concerned metric ({{number}})";
|
|
2176
2176
|
var concerned_metrics = "Concerned metric(s)";
|
|
2177
|
-
var concern_metrics = "
|
|
2177
|
+
var concern_metrics = "Concern metrics";
|
|
2178
2178
|
var conversation_goal = "Conversation Goal";
|
|
2179
2179
|
var target_monthly_conversation_goal_for_teachers = "Target Monthly Conversation Goal for Teachers";
|
|
2180
2180
|
var target_monthly_conversation_goal_for_counselors = "Target Monthly Conversation Goal for Counselors";
|
|
2181
2181
|
var conversations = "conversations";
|
|
2182
|
+
var are_not_ready_to_learn = "are not ready to learn";
|
|
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";
|
|
2182
2191
|
var lang_us = {
|
|
2183
2192
|
dashboard: dashboard,
|
|
2184
2193
|
user: user,
|
|
@@ -4362,7 +4371,16 @@ var lang_us = {
|
|
|
4362
4371
|
conversation_goal: conversation_goal,
|
|
4363
4372
|
target_monthly_conversation_goal_for_teachers: target_monthly_conversation_goal_for_teachers,
|
|
4364
4373
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors,
|
|
4365
|
-
conversations: conversations
|
|
4374
|
+
conversations: conversations,
|
|
4375
|
+
are_not_ready_to_learn: are_not_ready_to_learn,
|
|
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
|
|
4366
4384
|
};
|
|
4367
4385
|
|
|
4368
4386
|
var dashboard$1 = "Dashboard";
|
|
@@ -6463,11 +6481,11 @@ var add_1_1_conversation_notes$1 = "Add 1-1 Conversation notes";
|
|
|
6463
6481
|
var save_data$1 = "Save data";
|
|
6464
6482
|
var please_select_date_1_1_conversation$1 = "Please select date 1-1 conversation!";
|
|
6465
6483
|
var please_write_something_to_this_1_1_conversation$1 = "Please write something to this 1-1 conversation!";
|
|
6466
|
-
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!";
|
|
6467
6485
|
var check_in_session_title$1 = "Check-in Session";
|
|
6468
6486
|
var i_have_nothing_to_add$1 = "I have nothing to add.";
|
|
6469
6487
|
var check_in_session_finished$1 = "Check-in Session Finished";
|
|
6470
|
-
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";
|
|
6471
6489
|
var type_your_answer_here_e_g_i_met_my_friend$1 = "Type your answer here, e.g., \"I met my friend\"";
|
|
6472
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\"";
|
|
6473
6491
|
var save_1_1_log_note$1 = "Save 1-1 log Note";
|
|
@@ -6502,11 +6520,20 @@ var have_metrics_40$1 = "have metrics <40%";
|
|
|
6502
6520
|
var all_students_have_good_metrics$1 = "All students have good metrics";
|
|
6503
6521
|
var students_with_at_least_one_concerned_metric$1 = "Students with at least One Concerned metric ({{number}})";
|
|
6504
6522
|
var concerned_metrics$1 = "Concerned metric(s)";
|
|
6505
|
-
var concern_metrics$1 = "
|
|
6523
|
+
var concern_metrics$1 = "Concern metrics";
|
|
6506
6524
|
var conversation_goal$1 = "Conversation Goal";
|
|
6507
6525
|
var target_monthly_conversation_goal_for_teachers$1 = "Target Monthly Conversation Goal for Teachers";
|
|
6508
6526
|
var target_monthly_conversation_goal_for_counselors$1 = "Target Monthly Conversation Goal for Counselors";
|
|
6509
6527
|
var conversations$1 = "conversations";
|
|
6528
|
+
var are_not_ready_to_learn$1 = "are not ready to learn";
|
|
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";
|
|
6510
6537
|
var lang_uk = {
|
|
6511
6538
|
dashboard: dashboard$1,
|
|
6512
6539
|
user: user$1,
|
|
@@ -8690,7 +8717,16 @@ var lang_uk = {
|
|
|
8690
8717
|
conversation_goal: conversation_goal$1,
|
|
8691
8718
|
target_monthly_conversation_goal_for_teachers: target_monthly_conversation_goal_for_teachers$1,
|
|
8692
8719
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$1,
|
|
8693
|
-
conversations: conversations$1
|
|
8720
|
+
conversations: conversations$1,
|
|
8721
|
+
are_not_ready_to_learn: are_not_ready_to_learn$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
|
|
8694
8730
|
};
|
|
8695
8731
|
|
|
8696
8732
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -10823,11 +10859,11 @@ var add_1_1_conversation_notes$2 = "إضافة ملاحظات المحادثة 1
|
|
|
10823
10859
|
var save_data$2 = "حفظ البيانات";
|
|
10824
10860
|
var please_select_date_1_1_conversation$2 = "الرجاء تحديد تاريخ المحادثة 1-1!";
|
|
10825
10861
|
var please_write_something_to_this_1_1_conversation$2 = "من فضلك اكتب شيئا لهذه المحادثة 1-1!";
|
|
10826
|
-
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 حرف!";
|
|
10827
10863
|
var check_in_session_title$2 = "جلسة تسجيل الوصول";
|
|
10828
10864
|
var i_have_nothing_to_add$2 = "ليس لدي ما أضيفه.";
|
|
10829
10865
|
var check_in_session_finished$2 = "انتهت جلسة تسجيل الوصول";
|
|
10830
|
-
var is_question_for_grade_1_2$2 = "سؤال للصف الأول
|
|
10866
|
+
var is_question_for_grade_1_2$2 = "سؤال للصف الأول";
|
|
10831
10867
|
var type_your_answer_here_e_g_i_met_my_friend$2 = "اكتب إجابتك هنا، على سبيل المثال، لقد قابلت صديقي";
|
|
10832
10868
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$2 = "اكتب إجابتك هنا، على سبيل المثال، لم يأتِ صديقي المقرب إلى المدرسة";
|
|
10833
10869
|
var save_1_1_log_note$2 = "حفظ سجل 1-1 ملاحظة";
|
|
@@ -10862,11 +10898,20 @@ var have_metrics_40$2 = "have metrics <40%";
|
|
|
10862
10898
|
var all_students_have_good_metrics$2 = "All students have good metrics";
|
|
10863
10899
|
var students_with_at_least_one_concerned_metric$2 = "Students with at least One Concerned metric ({{number}})";
|
|
10864
10900
|
var concerned_metrics$2 = "Concerned metric(s)";
|
|
10865
|
-
var concern_metrics$2 = "
|
|
10901
|
+
var concern_metrics$2 = "Concern metrics";
|
|
10866
10902
|
var conversation_goal$2 = "Conversation Goal";
|
|
10867
10903
|
var target_monthly_conversation_goal_for_teachers$2 = "Target Monthly Conversation Goal for Teachers";
|
|
10868
10904
|
var target_monthly_conversation_goal_for_counselors$2 = "Target Monthly Conversation Goal for Counselors";
|
|
10869
10905
|
var conversations$2 = "conversations";
|
|
10906
|
+
var are_not_ready_to_learn$2 = "are not ready to learn";
|
|
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";
|
|
10870
10915
|
var lang_ar = {
|
|
10871
10916
|
dashboard: dashboard$2,
|
|
10872
10917
|
user: user$2,
|
|
@@ -13084,7 +13129,16 @@ var lang_ar = {
|
|
|
13084
13129
|
conversation_goal: conversation_goal$2,
|
|
13085
13130
|
target_monthly_conversation_goal_for_teachers: target_monthly_conversation_goal_for_teachers$2,
|
|
13086
13131
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$2,
|
|
13087
|
-
conversations: conversations$2
|
|
13132
|
+
conversations: conversations$2,
|
|
13133
|
+
are_not_ready_to_learn: are_not_ready_to_learn$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
|
|
13088
13142
|
};
|
|
13089
13143
|
|
|
13090
13144
|
var dashboard$3 = "Cuadro de mandos";
|
|
@@ -15217,11 +15271,11 @@ var add_1_1_conversation_notes$3 = "Agregar notas de conversación 1-1";
|
|
|
15217
15271
|
var save_data$3 = "Guardar datos";
|
|
15218
15272
|
var please_select_date_1_1_conversation$3 = "¡Por favor seleccione fecha para conversación 1-1!";
|
|
15219
15273
|
var please_write_something_to_this_1_1_conversation$3 = "¡Por favor escribe algo en esta conversación 1-1!";
|
|
15220
|
-
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!";
|
|
15221
15275
|
var check_in_session_title$3 = "Sesión de registro";
|
|
15222
15276
|
var i_have_nothing_to_add$3 = "No tengo nada que añadir.";
|
|
15223
15277
|
var check_in_session_finished$3 = "Sesión de check-in finalizada";
|
|
15224
|
-
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?";
|
|
15225
15279
|
var type_your_answer_here_e_g_i_met_my_friend$3 = "Escribe tu respuesta aquí, p. ej., \"Conocí a mi amigo\".";
|
|
15226
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\".";
|
|
15227
15281
|
var save_1_1_log_note$3 = "Guardar 1-1 registro Nota";
|
|
@@ -15256,11 +15310,20 @@ var have_metrics_40$3 = "have metrics <40%";
|
|
|
15256
15310
|
var all_students_have_good_metrics$3 = "All students have good metrics";
|
|
15257
15311
|
var students_with_at_least_one_concerned_metric$3 = "Students with at least One Concerned metric ({{number}})";
|
|
15258
15312
|
var concerned_metrics$3 = "Concerned metric(s)";
|
|
15259
|
-
var concern_metrics$3 = "
|
|
15313
|
+
var concern_metrics$3 = "Concern metrics";
|
|
15260
15314
|
var conversation_goal$3 = "Conversation Goal";
|
|
15261
15315
|
var target_monthly_conversation_goal_for_teachers$3 = "Target Monthly Conversation Goal for Teachers";
|
|
15262
15316
|
var target_monthly_conversation_goal_for_counselors$3 = "Target Monthly Conversation Goal for Counselors";
|
|
15263
15317
|
var conversations$3 = "conversations";
|
|
15318
|
+
var are_not_ready_to_learn$3 = "are not ready to learn";
|
|
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";
|
|
15264
15327
|
var lang_es = {
|
|
15265
15328
|
dashboard: dashboard$3,
|
|
15266
15329
|
user: user$3,
|
|
@@ -17478,7 +17541,16 @@ var lang_es = {
|
|
|
17478
17541
|
conversation_goal: conversation_goal$3,
|
|
17479
17542
|
target_monthly_conversation_goal_for_teachers: target_monthly_conversation_goal_for_teachers$3,
|
|
17480
17543
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$3,
|
|
17481
|
-
conversations: conversations$3
|
|
17544
|
+
conversations: conversations$3,
|
|
17545
|
+
are_not_ready_to_learn: are_not_ready_to_learn$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
|
|
17482
17554
|
};
|
|
17483
17555
|
|
|
17484
17556
|
var dashboard$4 = "仪表板";
|
|
@@ -19611,11 +19683,11 @@ var add_1_1_conversation_notes$4 = "添加 1-1 对话笔记";
|
|
|
19611
19683
|
var save_data$4 = "保存数据";
|
|
19612
19684
|
var please_select_date_1_1_conversation$4 = "请选择日期1-1对话!";
|
|
19613
19685
|
var please_write_something_to_this_1_1_conversation$4 = "请为这场一对一对话写点内容!";
|
|
19614
|
-
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个字符!";
|
|
19615
19687
|
var check_in_session_title$4 = "签到环节";
|
|
19616
19688
|
var i_have_nothing_to_add$4 = "我没有什么可补充的。";
|
|
19617
19689
|
var check_in_session_finished$4 = "签到环节结束";
|
|
19618
|
-
var is_question_for_grade_1_2$4 = "
|
|
19690
|
+
var is_question_for_grade_1_2$4 = "这是一年级的问题";
|
|
19619
19691
|
var type_your_answer_here_e_g_i_met_my_friend$4 = "在这里输入你的答案,例如“我遇到了我的朋友”";
|
|
19620
19692
|
var type_your_answer_here_e_g_my_best_friend_didnt_come_to_school$4 = "在这里输入你的答案,例如“我最好的朋友没来上学”";
|
|
19621
19693
|
var save_1_1_log_note$4 = "保存1-1日志注释";
|
|
@@ -19650,11 +19722,20 @@ var have_metrics_40$4 = "have metrics <40%";
|
|
|
19650
19722
|
var all_students_have_good_metrics$4 = "All students have good metrics";
|
|
19651
19723
|
var students_with_at_least_one_concerned_metric$4 = "Students with at least One Concerned metric ({{number}})";
|
|
19652
19724
|
var concerned_metrics$4 = "Concerned metric(s)";
|
|
19653
|
-
var concern_metrics$4 = "
|
|
19725
|
+
var concern_metrics$4 = "Concern metrics";
|
|
19654
19726
|
var conversation_goal$4 = "Conversation Goal";
|
|
19655
19727
|
var target_monthly_conversation_goal_for_teachers$4 = "Target Monthly Conversation Goal for Teachers";
|
|
19656
19728
|
var target_monthly_conversation_goal_for_counselors$4 = "Target Monthly Conversation Goal for Counselors";
|
|
19657
19729
|
var conversations$4 = "conversations";
|
|
19730
|
+
var are_not_ready_to_learn$4 = "are not ready to learn";
|
|
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";
|
|
19658
19739
|
var lang_zh = {
|
|
19659
19740
|
dashboard: dashboard$4,
|
|
19660
19741
|
user: user$4,
|
|
@@ -21872,7 +21953,16 @@ var lang_zh = {
|
|
|
21872
21953
|
conversation_goal: conversation_goal$4,
|
|
21873
21954
|
target_monthly_conversation_goal_for_teachers: target_monthly_conversation_goal_for_teachers$4,
|
|
21874
21955
|
target_monthly_conversation_goal_for_counselors: target_monthly_conversation_goal_for_counselors$4,
|
|
21875
|
-
conversations: conversations$4
|
|
21956
|
+
conversations: conversations$4,
|
|
21957
|
+
are_not_ready_to_learn: are_not_ready_to_learn$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
|
|
21876
21966
|
};
|
|
21877
21967
|
|
|
21878
21968
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -22371,7 +22461,7 @@ var getSchoolSettings = function getSchoolSettings() {
|
|
|
22371
22461
|
|
|
22372
22462
|
var msalConfig = {
|
|
22373
22463
|
auth: {
|
|
22374
|
-
clientId: isLocalhost ? "
|
|
22464
|
+
clientId: isLocalhost ? "bd08aff8-9e68-4987-9943-2525d4441d4f" : "3845e9f8-aead-4535-b4bb-d363a1d262bd",
|
|
22375
22465
|
authority: "https://login.microsoftonline.com/common",
|
|
22376
22466
|
redirectUri: "https://es-sso.marioforme.com/microsoft-login.html"
|
|
22377
22467
|
},
|
|
@@ -22477,6 +22567,10 @@ var useLogin = function useLogin() {
|
|
|
22477
22567
|
isShowPassword = _useState8[0],
|
|
22478
22568
|
setIsShowPassword = _useState8[1];
|
|
22479
22569
|
|
|
22570
|
+
var _useState9 = React.useState(""),
|
|
22571
|
+
extensionEmail = _useState9[0],
|
|
22572
|
+
setExtensionEmail = _useState9[1];
|
|
22573
|
+
|
|
22480
22574
|
React.useEffect(function () {
|
|
22481
22575
|
document.title = TITLE;
|
|
22482
22576
|
var authToken = getCookieValue("auth-token");
|
|
@@ -22579,6 +22673,7 @@ var useLogin = function useLogin() {
|
|
|
22579
22673
|
return Promise.resolve(getGoogleClientId()).then(function (res) {
|
|
22580
22674
|
setGoogleClientId(res.data.googleClientId);
|
|
22581
22675
|
setGoogleRecaptchaId(res.data.googleCaptchaId);
|
|
22676
|
+
setExtensionEmail(res.data.extensionEmail);
|
|
22582
22677
|
});
|
|
22583
22678
|
}, function (err) {
|
|
22584
22679
|
var _err$response2, _err$response2$data;
|
|
@@ -22704,6 +22799,8 @@ var useLogin = function useLogin() {
|
|
|
22704
22799
|
try {
|
|
22705
22800
|
msalInstance.handleRedirectPromise().then(function (tokenResponse) {
|
|
22706
22801
|
try {
|
|
22802
|
+
if (!(school !== null && school !== void 0 && school.schoolId)) return Promise.resolve();
|
|
22803
|
+
|
|
22707
22804
|
var _temp19 = function () {
|
|
22708
22805
|
if (!tokenResponse) {
|
|
22709
22806
|
var accounts = msalInstance.getAllAccounts();
|
|
@@ -22822,7 +22919,8 @@ var useLogin = function useLogin() {
|
|
|
22822
22919
|
googleRecaptchaId: googleRecaptchaId,
|
|
22823
22920
|
school: school,
|
|
22824
22921
|
fnLoginSSO: fnLoginSSO,
|
|
22825
|
-
handleLoginWidthClever: handleLoginWidthClever
|
|
22922
|
+
handleLoginWidthClever: handleLoginWidthClever,
|
|
22923
|
+
extensionEmail: extensionEmail
|
|
22826
22924
|
};
|
|
22827
22925
|
};
|
|
22828
22926
|
|
|
@@ -23006,7 +23104,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23006
23104
|
infoUser = _useLogin.infoUser,
|
|
23007
23105
|
setIsLoginGoogle = _useLogin.setIsLoginGoogle,
|
|
23008
23106
|
googleClientId = _useLogin.googleClientId,
|
|
23009
|
-
fnLoginSSO = _useLogin.fnLoginSSO
|
|
23107
|
+
fnLoginSSO = _useLogin.fnLoginSSO,
|
|
23108
|
+
extensionEmail = _useLogin.extensionEmail;
|
|
23010
23109
|
|
|
23011
23110
|
var togglePasswordVisible = function togglePasswordVisible() {
|
|
23012
23111
|
return setIsShowPassword(!isShowPassword);
|
|
@@ -23034,6 +23133,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23034
23133
|
|
|
23035
23134
|
var onSuccessGoogle = function onSuccessGoogle(res) {
|
|
23036
23135
|
if (!!(res !== null && res !== void 0 && res.accessToken)) {
|
|
23136
|
+
var _hostName$split, _hostName$split$, _email$split;
|
|
23137
|
+
|
|
23037
23138
|
var _res$profileObj = res.profileObj,
|
|
23038
23139
|
email = _res$profileObj.email,
|
|
23039
23140
|
familyName = _res$profileObj.familyName,
|
|
@@ -23042,6 +23143,15 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23042
23143
|
name = _res$profileObj.name;
|
|
23043
23144
|
var accessToken = res.accessToken;
|
|
23044
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 : subDomain)) {
|
|
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
|
+
|
|
23045
23155
|
var infoLogin = {
|
|
23046
23156
|
firstName: givenName,
|
|
23047
23157
|
lastName: familyName,
|
|
@@ -23165,7 +23275,8 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
23165
23275
|
lg: 6,
|
|
23166
23276
|
md: 6,
|
|
23167
23277
|
xs: 12,
|
|
23168
|
-
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)
|
|
23169
23280
|
}, React__default.createElement("div", {
|
|
23170
23281
|
className: styles["btn-login-with-sso"],
|
|
23171
23282
|
onClick: function onClick() {
|
|
@@ -23521,14 +23632,7 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
23521
23632
|
href: "/privacy-policy/",
|
|
23522
23633
|
target: "blank",
|
|
23523
23634
|
className: "" + styles["link-to-login"]
|
|
23524
|
-
}, "Privacy Policy")))))
|
|
23525
|
-
lg: 4,
|
|
23526
|
-
md: 4,
|
|
23527
|
-
className: "" + styles["img-box"]
|
|
23528
|
-
}, React__default.createElement("img", {
|
|
23529
|
-
src: getStaticFileUrl("/images/img-login.jpg"),
|
|
23530
|
-
className: "" + styles["img-login"]
|
|
23531
|
-
})));
|
|
23635
|
+
}, "Privacy Policy"))))));
|
|
23532
23636
|
});
|
|
23533
23637
|
};
|
|
23534
23638
|
|
|
@@ -23579,7 +23683,7 @@ var Login = function Login(props) {
|
|
|
23579
23683
|
href: "/privacy-policy/",
|
|
23580
23684
|
target: "blank",
|
|
23581
23685
|
className: "" + styles["privacy-policy"]
|
|
23582
|
-
}, "Privacy Policy")), React__default.createElement(reactstrap.Col, {
|
|
23686
|
+
}, "Privacy Policy")), !isResetPassword && React__default.createElement(reactstrap.Col, {
|
|
23583
23687
|
className: "p-3 mh-100 d-flex justify-content-end",
|
|
23584
23688
|
lg: 4,
|
|
23585
23689
|
md: 12,
|