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