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