mario-core 2.9.61-beta → 2.9.62-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.
package/dist/index.js CHANGED
@@ -72,6 +72,7 @@ var tooltip_content_safety_chart = "The visual represenation of all the response
72
72
  var tooltip_content_student_by_age_chart = "The specific representation of students by gender and grade level at your school.";
73
73
  var tooltip_content_students_by_designation = "The composite representation of students by individual grades in your school with specific designations.";
74
74
  var total_1_to_1 = "Total 1-to-1";
75
+ var total_check_in = "Total Check In";
75
76
  var total_1_to_1_time = "Total 1-to-1 Time";
76
77
  var total_conferences = "Total Conferences";
77
78
  var total_conferences_time = "Total Conferences Time";
@@ -217,6 +218,7 @@ var edit_destination = "Edit Destination";
217
218
  var confirm = "Confirm";
218
219
  var hello = "Hello";
219
220
  var todays_1_1 = "Today’s 1-1";
221
+ var todays_check_in = "Today’s Check In";
220
222
  var todays_Conferences = "Today’s Conferences";
221
223
  var next_meeting = "Next Meeting";
222
224
  var next_conference = "Next Conference";
@@ -278,6 +280,7 @@ var time_must_be_between_8_am_and_6_pm = "Time must be between 8 AM and 6 PM";
278
280
  var from = "From";
279
281
  var to = "To";
280
282
  var show_only_favorites = "Show only favorites";
283
+ var show_only_conversation = "Show 1-1 conversation only";
281
284
  var duration = "Duration";
282
285
  var favorite = "Favorite";
283
286
  var open = "Open";
@@ -577,7 +580,6 @@ var set_deadline = "Set deadline";
577
580
  var duplicate_survey = "Duplicate Survey";
578
581
  var share_survey = "Share Survey";
579
582
  var new_survey = "New Survey";
580
- var assign_counselor = "Assign Counselor";
581
583
  var lang_us = {
582
584
  dashboard: dashboard,
583
585
  user: user,
@@ -617,6 +619,7 @@ var lang_us = {
617
619
  tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart,
618
620
  tooltip_content_students_by_designation: tooltip_content_students_by_designation,
619
621
  total_1_to_1: total_1_to_1,
622
+ total_check_in: total_check_in,
620
623
  total_1_to_1_time: total_1_to_1_time,
621
624
  total_conferences: total_conferences,
622
625
  total_conferences_time: total_conferences_time,
@@ -764,6 +767,7 @@ var lang_us = {
764
767
  confirm: confirm,
765
768
  hello: hello,
766
769
  todays_1_1: todays_1_1,
770
+ todays_check_in: todays_check_in,
767
771
  todays_Conferences: todays_Conferences,
768
772
  next_meeting: next_meeting,
769
773
  next_conference: next_conference,
@@ -827,6 +831,7 @@ var lang_us = {
827
831
  from: from,
828
832
  to: to,
829
833
  show_only_favorites: show_only_favorites,
834
+ show_only_conversation: show_only_conversation,
830
835
  duration: duration,
831
836
  favorite: favorite,
832
837
  open: open,
@@ -1128,8 +1133,7 @@ var lang_us = {
1128
1133
  set_deadline: set_deadline,
1129
1134
  duplicate_survey: duplicate_survey,
1130
1135
  share_survey: share_survey,
1131
- new_survey: new_survey,
1132
- assign_counselor: assign_counselor
1136
+ new_survey: new_survey
1133
1137
  };
1134
1138
 
1135
1139
  var dashboard$1 = "Dashboard";
@@ -1169,6 +1173,7 @@ var tooltip_content_safety_chart$1 = "The visual represenation of all the respon
1169
1173
  var tooltip_content_student_by_age_chart$1 = "The specific representation of students by gender and grade level at your school.";
1170
1174
  var tooltip_content_students_by_designation$1 = "The composite representation of students by individual grades in your school with specific designations.";
1171
1175
  var total_1_to_1$1 = "Total 1-to-1";
1176
+ var total_check_in$1 = "Total Check In";
1172
1177
  var total_1_to_1_time$1 = "Total 1-to-1 Time";
1173
1178
  var total_conferences$1 = "Total Conferences";
1174
1179
  var total_conferences_time$1 = "Total Conferences Time";
@@ -1316,6 +1321,7 @@ var edit_destination$1 = "Edit Destination";
1316
1321
  var confirm$1 = "Confirm";
1317
1322
  var hello$1 = "Hello";
1318
1323
  var todays_1_1$1 = "Today’s 1-1";
1324
+ var todays_check_in$1 = "Today’s Check In";
1319
1325
  var todays_Conferences$1 = "Today’s Conferences";
1320
1326
  var next_meeting$1 = "Next Meeting";
1321
1327
  var next_conference$1 = "Next Conference";
@@ -1377,6 +1383,7 @@ var time_must_be_between_8_am_and_6_pm$1 = "Time must be between 8 AM and 6 PM";
1377
1383
  var from$1 = "From";
1378
1384
  var to$1 = "To";
1379
1385
  var show_only_favorites$1 = "Show only favorites";
1386
+ var show_only_conversation$1 = "Show 1-1 conversation only";
1380
1387
  var duration$1 = "Duration";
1381
1388
  var favorite$1 = "Favorite";
1382
1389
  var open$1 = "Open";
@@ -1585,7 +1592,7 @@ var accommodation$1 = "Accommodation";
1585
1592
  var all_categories$1 = "All categories";
1586
1593
  var do_you_want_to_delete_this_accommodation$1 = "Do you want to delete this accommodation";
1587
1594
  var edit_accommodation$1 = "Edit Accommodation";
1588
- var add_accommodation$1 = "add_accommodation";
1595
+ var add_accommodation$1 = "Add Accommodation";
1589
1596
  var all$1 = "All";
1590
1597
  var all_status$1 = "All status";
1591
1598
  var goal_type$1 = "Goal Type";
@@ -1676,7 +1683,6 @@ var set_deadline$1 = "Set deadline";
1676
1683
  var duplicate_survey$1 = "Duplicate Survey";
1677
1684
  var share_survey$1 = "Share Survey";
1678
1685
  var new_survey$1 = "New Survey";
1679
- var assign_counselor$1 = "Assign Counselor";
1680
1686
  var lang_uk = {
1681
1687
  dashboard: dashboard$1,
1682
1688
  user: user$1,
@@ -1716,6 +1722,7 @@ var lang_uk = {
1716
1722
  tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart$1,
1717
1723
  tooltip_content_students_by_designation: tooltip_content_students_by_designation$1,
1718
1724
  total_1_to_1: total_1_to_1$1,
1725
+ total_check_in: total_check_in$1,
1719
1726
  total_1_to_1_time: total_1_to_1_time$1,
1720
1727
  total_conferences: total_conferences$1,
1721
1728
  total_conferences_time: total_conferences_time$1,
@@ -1863,6 +1870,7 @@ var lang_uk = {
1863
1870
  confirm: confirm$1,
1864
1871
  hello: hello$1,
1865
1872
  todays_1_1: todays_1_1$1,
1873
+ todays_check_in: todays_check_in$1,
1866
1874
  todays_Conferences: todays_Conferences$1,
1867
1875
  next_meeting: next_meeting$1,
1868
1876
  next_conference: next_conference$1,
@@ -1926,6 +1934,7 @@ var lang_uk = {
1926
1934
  from: from$1,
1927
1935
  to: to$1,
1928
1936
  show_only_favorites: show_only_favorites$1,
1937
+ show_only_conversation: show_only_conversation$1,
1929
1938
  duration: duration$1,
1930
1939
  favorite: favorite$1,
1931
1940
  open: open$1,
@@ -2227,8 +2236,7 @@ var lang_uk = {
2227
2236
  set_deadline: set_deadline$1,
2228
2237
  duplicate_survey: duplicate_survey$1,
2229
2238
  share_survey: share_survey$1,
2230
- new_survey: new_survey$1,
2231
- assign_counselor: assign_counselor$1
2239
+ new_survey: new_survey$1
2232
2240
  };
2233
2241
 
2234
2242
  var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
@@ -2512,7 +2520,7 @@ var STAR_OPTIONS = [{
2512
2520
  value: 5
2513
2521
  }];
2514
2522
  var ANSWER_EDITOR_HEIGHT = 150;
2515
- var USER_ROLES = ["Admin", "Assistant", "Teacher", "General ED teacher", "Counselor", "Student", "Parent"];
2523
+ var USER_ROLES = ["Admin", "Assistant", "Teacher", "General ED teacher", "Student", "Parent"];
2516
2524
  var CHAT_CHANNEL = "chat-channel";
2517
2525
  var NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
2518
2526
  var NEW_NOTIFICATION = "NEW_NOTIFICATION";
@@ -2528,8 +2536,7 @@ var ROLES = {
2528
2536
  ASSISTANT: "Assistant",
2529
2537
  EDUTEACHER: "General ED teacher",
2530
2538
  STUDENT: "Student",
2531
- PARENT: "Parent",
2532
- COUNSELOR: "Counselor"
2539
+ PARENT: "Parent"
2533
2540
  };
2534
2541
  var NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
2535
2542
 
@@ -2784,7 +2791,7 @@ var useLogin = function useLogin() {
2784
2791
  history.push(HOMEPAGE_DISTRICT);
2785
2792
  } else if (roles.includes("Admin")) {
2786
2793
  history.push(HOMEPAGE_ADMIN);
2787
- } else if (roles.includes("Teacher") || roles.includes("Assistant") || roles.includes("Counselor")) {
2794
+ } else if (roles.includes("Teacher") || roles.includes("Assistant")) {
2788
2795
  history.push(HOMEPAGE_TEACHER);
2789
2796
  } else if (roles.includes("Student")) {
2790
2797
  history.push(HOMEPAGE_STUDENT);
@@ -7380,13 +7387,13 @@ var UserDetail = function UserDetail() {
7380
7387
  return;
7381
7388
  }
7382
7389
 
7383
- if ([ROLES.ADMIN, ROLES.STUDENT, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR].includes(role)) {
7390
+ if ([ROLES.ADMIN, ROLES.STUDENT, ROLES.PARENT, ROLES.EDUTEACHER].includes(role)) {
7384
7391
  setFieldValue("roles", [role]);
7385
7392
  return;
7386
7393
  }
7387
7394
 
7388
7395
  var teacherAssistantRoles = values.roles.filter(function (item) {
7389
- return ![ROLES.STUDENT, ROLES.ADMIN, ROLES.PARENT, ROLES.EDUTEACHER, ROLES.COUNSELOR].includes(item);
7396
+ return ![ROLES.STUDENT, ROLES.ADMIN, ROLES.PARENT, ROLES.EDUTEACHER].includes(item);
7390
7397
  });
7391
7398
  setFieldValue("roles", [].concat(teacherAssistantRoles, [role]));
7392
7399
  }, [values.roles]);
@@ -8042,7 +8049,7 @@ var useNotificationList = function useNotificationList() {
8042
8049
  };
8043
8050
 
8044
8051
  var viewNotification = function viewNotification(notification) {
8045
- var _JSON$parse, _JSON$parse2, _extraData$replace, _extraData$replace$sp, _extraData$replace2, _extraData$replace2$s, _extraData$replace3, _extraData$replace3$s, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6;
8052
+ var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8, _JSON$parse9, _JSON$parse10;
8046
8053
 
8047
8054
  var source = notification.source,
8048
8055
  extraData = notification.extraData;
@@ -8057,23 +8064,23 @@ var useNotificationList = function useNotificationList() {
8057
8064
  break;
8058
8065
 
8059
8066
  case "Class Reflection":
8060
- window.open("/start-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace === void 0 ? void 0 : (_extraData$replace$sp = _extraData$replace.split(',')) === null || _extraData$replace$sp === void 0 ? void 0 : _extraData$replace$sp[1]));
8067
+ window.open("/start-reflection/" + ((_JSON$parse3 = JSON.parse(extraData)) === null || _JSON$parse3 === void 0 ? void 0 : _JSON$parse3[0]) + "/" + ((_JSON$parse4 = JSON.parse(extraData)) === null || _JSON$parse4 === void 0 ? void 0 : _JSON$parse4[1]));
8061
8068
  break;
8062
8069
 
8063
8070
  case "Class Reflection Completed":
8064
- window.open("/result-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace2 = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace2 === void 0 ? void 0 : (_extraData$replace2$s = _extraData$replace2.split(',')) === null || _extraData$replace2$s === void 0 ? void 0 : _extraData$replace2$s[1]));
8071
+ window.open("/result-reflection/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[1]));
8065
8072
  break;
8066
8073
 
8067
8074
  case "External Reflection Completed":
8068
- window.open("/result-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace3 = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace3 === void 0 ? void 0 : (_extraData$replace3$s = _extraData$replace3.split(',')) === null || _extraData$replace3$s === void 0 ? void 0 : _extraData$replace3$s[1]) + "/external");
8075
+ window.open("/result-reflection/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]) + "/external");
8069
8076
  break;
8070
8077
 
8071
8078
  case "NewSessionCreated":
8072
- window.open("/start-question/" + ((_JSON$parse3 = JSON.parse(extraData)) === null || _JSON$parse3 === void 0 ? void 0 : _JSON$parse3[0]) + "/" + ((_JSON$parse4 = JSON.parse(extraData)) === null || _JSON$parse4 === void 0 ? void 0 : _JSON$parse4[1]));
8079
+ window.open("/start-question/" + ((_JSON$parse7 = JSON.parse(extraData)) === null || _JSON$parse7 === void 0 ? void 0 : _JSON$parse7[0]) + "/" + ((_JSON$parse8 = JSON.parse(extraData)) === null || _JSON$parse8 === void 0 ? void 0 : _JSON$parse8[1]));
8073
8080
  break;
8074
8081
 
8075
8082
  case "NewSessionComplete":
8076
- window.open("/start-question/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[0]) + "/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]));
8083
+ window.open("/start-question/" + ((_JSON$parse9 = JSON.parse(extraData)) === null || _JSON$parse9 === void 0 ? void 0 : _JSON$parse9[0]) + "/" + ((_JSON$parse10 = JSON.parse(extraData)) === null || _JSON$parse10 === void 0 ? void 0 : _JSON$parse10[1]));
8077
8084
  break;
8078
8085
 
8079
8086
  case "ActionPointReminder":