mario-core 2.9.91-beta → 2.9.92-beta

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.
@@ -375,6 +375,7 @@ var how_my_teachers_can_help_me_learn = "How my teachers can help me learn";
375
375
  var about_my_learning = "About My Learning";
376
376
  var accommodations = "Accommodations";
377
377
  var goals = "Goals";
378
+ var this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it = "This goal is showing in the student's conference rubric. Are you sure to delete it?";
378
379
  var activity_circles = "Activity Circles";
379
380
  var friend_circles = "Friend Circles";
380
381
  var are_you_ready_to_learn = "Are you ready to learn?";
@@ -587,6 +588,9 @@ var duplicate_survey = "Duplicate Survey";
587
588
  var share_survey = "Share Survey";
588
589
  var new_survey = "New Survey";
589
590
  var assign_counselor = "Assign Counselor";
591
+ var assign_secondary_teacher = "Assign Secondary Teacher";
592
+ var secondary_teacher_name = "Secondary Teacher Name";
593
+ var user_for_question = "User For Question";
590
594
  var lang_us = {
591
595
  dashboard: dashboard,
592
596
  user: user,
@@ -936,6 +940,7 @@ var lang_us = {
936
940
  about_my_learning: about_my_learning,
937
941
  accommodations: accommodations,
938
942
  goals: goals,
943
+ this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it: this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it,
939
944
  activity_circles: activity_circles,
940
945
  friend_circles: friend_circles,
941
946
  are_you_ready_to_learn: are_you_ready_to_learn,
@@ -1149,7 +1154,10 @@ var lang_us = {
1149
1154
  duplicate_survey: duplicate_survey,
1150
1155
  share_survey: share_survey,
1151
1156
  new_survey: new_survey,
1152
- assign_counselor: assign_counselor
1157
+ assign_counselor: assign_counselor,
1158
+ assign_secondary_teacher: assign_secondary_teacher,
1159
+ secondary_teacher_name: secondary_teacher_name,
1160
+ user_for_question: user_for_question
1153
1161
  };
1154
1162
 
1155
1163
  var dashboard$1 = "Dashboard";
@@ -1496,6 +1504,7 @@ var how_my_teachers_can_help_me_learn$1 = "How my teachers can help me learn";
1496
1504
  var about_my_learning$1 = "About My Learning";
1497
1505
  var accommodations$1 = "Accommodations";
1498
1506
  var goals$1 = "Goals";
1507
+ var this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it$1 = "This goal is showing in the student's conference rubric. Are you sure to delete it?";
1499
1508
  var activity_circles$1 = "Activity Circles";
1500
1509
  var friend_circles$1 = "Friend Circles";
1501
1510
  var are_you_ready_to_learn$1 = "Are you ready to learn?";
@@ -1708,6 +1717,9 @@ var duplicate_survey$1 = "Duplicate Survey";
1708
1717
  var share_survey$1 = "Share Survey";
1709
1718
  var new_survey$1 = "New Survey";
1710
1719
  var assign_counselor$1 = "Assign Counselor";
1720
+ var assign_secondary_teacher$1 = "Assign Secondary Teacher";
1721
+ var secondary_teacher_name$1 = "Secondary Teacher Name";
1722
+ var user_for_question$1 = "User For Question";
1711
1723
  var lang_uk = {
1712
1724
  dashboard: dashboard$1,
1713
1725
  user: user$1,
@@ -2057,6 +2069,7 @@ var lang_uk = {
2057
2069
  about_my_learning: about_my_learning$1,
2058
2070
  accommodations: accommodations$1,
2059
2071
  goals: goals$1,
2072
+ this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it: this_goal_is_showing_in_the_student_conference_rubric_are_you_sure_to_delete_it$1,
2060
2073
  activity_circles: activity_circles$1,
2061
2074
  friend_circles: friend_circles$1,
2062
2075
  are_you_ready_to_learn: are_you_ready_to_learn$1,
@@ -2270,7 +2283,10 @@ var lang_uk = {
2270
2283
  duplicate_survey: duplicate_survey$1,
2271
2284
  share_survey: share_survey$1,
2272
2285
  new_survey: new_survey$1,
2273
- assign_counselor: assign_counselor$1
2286
+ assign_counselor: assign_counselor$1,
2287
+ assign_secondary_teacher: assign_secondary_teacher$1,
2288
+ secondary_teacher_name: secondary_teacher_name$1,
2289
+ user_for_question: user_for_question$1
2274
2290
  };
2275
2291
 
2276
2292
  var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
@@ -2516,6 +2532,9 @@ var QUESTION_TYPES_OPTIONS = [{
2516
2532
  }, {
2517
2533
  label: "Learning strategy",
2518
2534
  value: "LearningStrategy"
2535
+ }, {
2536
+ label: "Drop down",
2537
+ value: "DropDown"
2519
2538
  }];
2520
2539
  var QUESTION_TYPES = {
2521
2540
  SINGLE_CHOICE: "SingleChoice",
@@ -2544,7 +2563,7 @@ var STAR_OPTIONS = [{
2544
2563
  value: 5
2545
2564
  }];
2546
2565
  var ANSWER_EDITOR_HEIGHT = 150;
2547
- var USER_ROLES = ["Admin", "Assistant", "Teacher", "General ED teacher", "Counselor", "Student", "Parent"];
2566
+ var USER_ROLES = ["Admin", "Assistant", "Teacher", "General ED teacher", "Counselor", "SecondaryTeacher", "Student", "Parent"];
2548
2567
  var CHAT_CHANNEL = "chat-channel";
2549
2568
  var NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
2550
2569
  var NEW_NOTIFICATION = "NEW_NOTIFICATION";
@@ -2561,7 +2580,8 @@ var ROLES = {
2561
2580
  EDUTEACHER: "General ED teacher",
2562
2581
  STUDENT: "Student",
2563
2582
  PARENT: "Parent",
2564
- COUNSELOR: "Counselor"
2583
+ COUNSELOR: "Counselor",
2584
+ SECONDARY_TEACHER: "SecondaryTeacher"
2565
2585
  };
2566
2586
  var NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
2567
2587
 
@@ -2816,7 +2836,7 @@ var useLogin = function useLogin() {
2816
2836
  history.push(HOMEPAGE_DISTRICT);
2817
2837
  } else if (roles.includes("Admin")) {
2818
2838
  history.push(HOMEPAGE_ADMIN);
2819
- } else if (roles.includes("Teacher") || roles.includes("Assistant") || roles.includes("Counselor")) {
2839
+ } else if (roles.includes("Teacher") || roles.includes("Assistant") || roles.includes("Counselor") || roles.includes("SecondaryTeacher")) {
2820
2840
  history.push(HOMEPAGE_TEACHER);
2821
2841
  } else if (roles.includes("Student")) {
2822
2842
  history.push(HOMEPAGE_STUDENT);
@@ -7100,13 +7120,13 @@ var UserDetail = function UserDetail() {
7100
7120
  return;
7101
7121
  }
7102
7122
 
7103
- if ([ROLES.ADMIN, ROLES.STUDENT, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR].includes(role)) {
7123
+ if ([ROLES.ADMIN, ROLES.STUDENT, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR, ROLES.SECONDARY_TEACHER].includes(role)) {
7104
7124
  setFieldValue("roles", [role]);
7105
7125
  return;
7106
7126
  }
7107
7127
 
7108
7128
  var teacherAssistantRoles = values.roles.filter(function (item) {
7109
- return ![ROLES.STUDENT, ROLES.ADMIN, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR].includes(item);
7129
+ return ![ROLES.STUDENT, ROLES.ADMIN, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR, ROLES.SECONDARY_TEACHER].includes(item);
7110
7130
  });
7111
7131
  setFieldValue("roles", [].concat(teacherAssistantRoles, [role]));
7112
7132
  }, [values.roles]);
@@ -8130,7 +8150,7 @@ var NotificationList = function NotificationList() {
8130
8150
  return React.createElement("div", {
8131
8151
  className: "animated fadeIn",
8132
8152
  style: {
8133
- padding: "20px 40px"
8153
+ padding: "20px 40px 160px"
8134
8154
  }
8135
8155
  }, React.createElement("h5", {
8136
8156
  className: "mb-2"
@@ -10591,6 +10611,8 @@ var useUserList = function useUserList() {
10591
10611
  history.push(HOMEPAGE_PARENT$1);
10592
10612
  } else if (roles.includes("EduTeacher")) {
10593
10613
  history.push(HOMEPAGE_EDU_TEACHER$1);
10614
+ } else if (roles.includes("Counselor") || roles.includes("SecondaryTeacher")) {
10615
+ history.push(HOMEPAGE_TEACHER$1);
10594
10616
  }
10595
10617
  };
10596
10618