mario-core 2.9.421-feedback → 2.9.423-feedback

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.
@@ -2193,6 +2193,7 @@ var check_in = "Check-in";
2193
2193
  var search_for_a_student = "Search for a student";
2194
2194
  var survey_resulting_in_scheduled_sessions = "Survey resulting in scheduled sessions";
2195
2195
  var current_class_grade = "Current Class Grade";
2196
+ var these_are_the_answers_from_classroom_teachers = "These are the answers from classroom teachers.";
2196
2197
  var lang_us = {
2197
2198
  dashboard: dashboard,
2198
2199
  user: user,
@@ -4402,7 +4403,8 @@ var lang_us = {
4402
4403
  check_in: check_in,
4403
4404
  search_for_a_student: search_for_a_student,
4404
4405
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions,
4405
- current_class_grade: current_class_grade
4406
+ current_class_grade: current_class_grade,
4407
+ these_are_the_answers_from_classroom_teachers: these_are_the_answers_from_classroom_teachers
4406
4408
  };
4407
4409
 
4408
4410
  var dashboard$1 = "Dashboard";
@@ -6559,6 +6561,7 @@ var number_of_expected_conversations_based_on_the_goal$1 = "Number of expected c
6559
6561
  var search_for_a_student$1 = "Search for a student";
6560
6562
  var survey_resulting_in_scheduled_sessions$1 = "Survey resulting in scheduled sessions";
6561
6563
  var current_class_grade$1 = "Current Class Grade";
6564
+ var these_are_the_answers_from_classroom_teachers$1 = "These are the answers from classroom teachers.";
6562
6565
  var lang_uk = {
6563
6566
  dashboard: dashboard$1,
6564
6567
  user: user$1,
@@ -8765,7 +8768,8 @@ var lang_uk = {
8765
8768
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$1,
8766
8769
  search_for_a_student: search_for_a_student$1,
8767
8770
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions$1,
8768
- current_class_grade: current_class_grade$1
8771
+ current_class_grade: current_class_grade$1,
8772
+ these_are_the_answers_from_classroom_teachers: these_are_the_answers_from_classroom_teachers$1
8769
8773
  };
8770
8774
 
8771
8775
  var dashboard$2 = "لوحة المعلومات";
@@ -10952,6 +10956,7 @@ var number_of_expected_conversations_based_on_the_goal$2 = "Number of expected c
10952
10956
  var search_for_a_student$2 = "Search for a student";
10953
10957
  var survey_resulting_in_scheduled_sessions$2 = "Survey resulting in scheduled sessions";
10954
10958
  var current_class_grade$2 = "Current Class Grade";
10959
+ var these_are_the_answers_from_classroom_teachers$2 = "These are the answers from classroom teachers.";
10955
10960
  var lang_ar = {
10956
10961
  dashboard: dashboard$2,
10957
10962
  user: user$2,
@@ -13190,7 +13195,8 @@ var lang_ar = {
13190
13195
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$2,
13191
13196
  search_for_a_student: search_for_a_student$2,
13192
13197
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions$2,
13193
- current_class_grade: current_class_grade$2
13198
+ current_class_grade: current_class_grade$2,
13199
+ these_are_the_answers_from_classroom_teachers: these_are_the_answers_from_classroom_teachers$2
13194
13200
  };
13195
13201
 
13196
13202
  var dashboard$3 = "Cuadro de mandos";
@@ -15377,6 +15383,7 @@ var number_of_expected_conversations_based_on_the_goal$3 = "Number of expected c
15377
15383
  var search_for_a_student$3 = "Search for a student";
15378
15384
  var survey_resulting_in_scheduled_sessions$3 = "Survey resulting in scheduled sessions";
15379
15385
  var current_class_grade$3 = "Current Class Grade";
15386
+ var these_are_the_answers_from_classroom_teachers$3 = "These are the answers from classroom teachers.";
15380
15387
  var lang_es = {
15381
15388
  dashboard: dashboard$3,
15382
15389
  user: user$3,
@@ -17615,7 +17622,8 @@ var lang_es = {
17615
17622
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$3,
17616
17623
  search_for_a_student: search_for_a_student$3,
17617
17624
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions$3,
17618
- current_class_grade: current_class_grade$3
17625
+ current_class_grade: current_class_grade$3,
17626
+ these_are_the_answers_from_classroom_teachers: these_are_the_answers_from_classroom_teachers$3
17619
17627
  };
17620
17628
 
17621
17629
  var dashboard$4 = "仪表板";
@@ -19802,6 +19810,7 @@ var number_of_expected_conversations_based_on_the_goal$4 = "Number of expected c
19802
19810
  var search_for_a_student$4 = "Search for a student";
19803
19811
  var survey_resulting_in_scheduled_sessions$4 = "Survey resulting in scheduled sessions";
19804
19812
  var current_class_grade$4 = "Current Class Grade";
19813
+ var these_are_the_answers_from_classroom_teachers$4 = "These are the answers from classroom teachers.";
19805
19814
  var lang_zh = {
19806
19815
  dashboard: dashboard$4,
19807
19816
  user: user$4,
@@ -22040,7 +22049,8 @@ var lang_zh = {
22040
22049
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$4,
22041
22050
  search_for_a_student: search_for_a_student$4,
22042
22051
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions$4,
22043
- current_class_grade: current_class_grade$4
22052
+ current_class_grade: current_class_grade$4,
22053
+ these_are_the_answers_from_classroom_teachers: these_are_the_answers_from_classroom_teachers$4
22044
22054
  };
22045
22055
 
22046
22056
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
@@ -39694,7 +39704,7 @@ var BlockLogin = function BlockLogin(_ref) {
39694
39704
 
39695
39705
  var onSuccessGoogle = function onSuccessGoogle(res) {
39696
39706
  if (!!(res !== null && res !== void 0 && res.accessToken)) {
39697
- var _hostName$split, _email$split;
39707
+ var _hostName$split, _email$split, _extensionEmail$split, _extensionEmail$split2;
39698
39708
 
39699
39709
  var _res$profileObj = res.profileObj,
39700
39710
  email = _res$profileObj.email,
@@ -39707,8 +39717,15 @@ var BlockLogin = function BlockLogin(_ref) {
39707
39717
  var hostName = window.location.hostname;
39708
39718
  var subDomain = (_hostName$split = hostName.split(".marioforme.com")) === null || _hostName$split === void 0 ? void 0 : _hostName$split[0];
39709
39719
  var emailDomain = (_email$split = email.split("@")) === null || _email$split === void 0 ? void 0 : _email$split[1];
39720
+ var matchExtension = extensionEmail === null || extensionEmail === void 0 ? void 0 : (_extensionEmail$split = extensionEmail.split(",")) === null || _extensionEmail$split === void 0 ? void 0 : (_extensionEmail$split2 = _extensionEmail$split.map(function (x) {
39721
+ return x.trim();
39722
+ })) === null || _extensionEmail$split2 === void 0 ? void 0 : _extensionEmail$split2.filter(function (x) {
39723
+ return x;
39724
+ }).some(function (ext) {
39725
+ return emailDomain.includes(ext);
39726
+ });
39710
39727
 
39711
- if (!emailDomain.includes(subDomain) && !emailDomain.includes(extensionEmail)) {
39728
+ if (!emailDomain.includes(subDomain) && !matchExtension) {
39712
39729
  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");
39713
39730
  return;
39714
39731
  }
@@ -41351,14 +41368,7 @@ var BlockCreatePassword = function BlockCreatePassword() {
41351
41368
  className: "" + styles["img-login-rectangle"]
41352
41369
  }), React.createElement("p", {
41353
41370
  className: "" + styles["title-login"]
41354
- }, "You cannot regenerate the password")))), React.createElement(Col, {
41355
- lg: 4,
41356
- md: 4,
41357
- className: "" + styles["img-box"]
41358
- }, React.createElement("img", {
41359
- src: "/images/img-login.png",
41360
- className: "" + styles["img-login"]
41361
- })));
41371
+ }, "You cannot regenerate the password")))));
41362
41372
  });
41363
41373
  };
41364
41374