mario-core 3.0.10-admin → 4.0.1
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/containers/Login/views/block/IconContent.d.ts +2 -2
- package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -5
- package/dist/index.css +167 -127
- package/dist/index.js +474 -160
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +475 -161
- package/dist/index.modern.js.map +1 -1
- package/package.json +100 -100
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var amplitude = _interopDefault(require('amplitude-js'));
|
|
|
16
16
|
var reactGoogleRecaptchaV3 = require('react-google-recaptcha-v3');
|
|
17
17
|
var GoogleLogin = _interopDefault(require('react-google-login'));
|
|
18
18
|
var Select = _interopDefault(require('react-select'));
|
|
19
|
+
var gi = require('react-icons/gi');
|
|
19
20
|
var react = require('@coreui/react');
|
|
20
21
|
var cg = require('react-icons/cg');
|
|
21
22
|
var ri = require('react-icons/ri');
|
|
@@ -510,6 +511,72 @@ var search_activity = "Search activity";
|
|
|
510
511
|
var activity = "Activity";
|
|
511
512
|
var activity_type = "Activity type";
|
|
512
513
|
var select_or_type_an_activity = "Select or type an activity";
|
|
514
|
+
var action_need = "ACTION NEEDED";
|
|
515
|
+
var external = "EXTERNAL";
|
|
516
|
+
var student_survey = "Student Survey";
|
|
517
|
+
var view_survey = "VIEW SURVEY";
|
|
518
|
+
var create_a_survey = "Create a survey";
|
|
519
|
+
var review = "Review";
|
|
520
|
+
var publish_survey = "Publish survey";
|
|
521
|
+
var total_surveys = "Total Surveys";
|
|
522
|
+
var flags = "Flags";
|
|
523
|
+
var scheduled_session = "Scheduled Session";
|
|
524
|
+
var total_survey_done = "Total survey done";
|
|
525
|
+
var total_survey_not_done = "Total survey not done";
|
|
526
|
+
var list_survey = "LIST SURVEY";
|
|
527
|
+
var surveys = "Surveys";
|
|
528
|
+
var create_survey = "Create survey";
|
|
529
|
+
var my_survey = "My Survey";
|
|
530
|
+
var counselor_name = "Counselor Name";
|
|
531
|
+
var survey_title = "Survey title";
|
|
532
|
+
var deadline = "Deadline";
|
|
533
|
+
var day_left = "Day Left";
|
|
534
|
+
var replied_date = "Replied date";
|
|
535
|
+
var session = "Session";
|
|
536
|
+
var flag = "Flag";
|
|
537
|
+
var external_email = "External email";
|
|
538
|
+
var scheduled_now = "Scheduled Now";
|
|
539
|
+
var session_schedule = "session schedule";
|
|
540
|
+
var search_survey = "Search survey";
|
|
541
|
+
var total_survey = "Total Survey";
|
|
542
|
+
var survey_result = "Survey Result";
|
|
543
|
+
var check_in_from = "Check-in from";
|
|
544
|
+
var received_today_at = "Received today at";
|
|
545
|
+
var preview_survey = "Preview Survey";
|
|
546
|
+
var complete_survey = "Complete survey";
|
|
547
|
+
var do_you_want_to_share_a_survey_to_teachers = "Do you want to share a survey to Teachers?";
|
|
548
|
+
var you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student = "You can share this survey to teachers to get more insight about your student.";
|
|
549
|
+
var skip = "skip";
|
|
550
|
+
var survey_questions = "Survey questions";
|
|
551
|
+
var add_survey_question = "Add Survey Question";
|
|
552
|
+
var additional_question = "Additional Question";
|
|
553
|
+
var add_additional_question = "Add additional question";
|
|
554
|
+
var save_favorite = "Save Favorite";
|
|
555
|
+
var save_as_favorite = "Save as favorite";
|
|
556
|
+
var favorite_survey = "Favorite survey";
|
|
557
|
+
var slider = "Slider";
|
|
558
|
+
var questions = "questions";
|
|
559
|
+
var insert_all_question = "Insert All questions";
|
|
560
|
+
var insert_question = "Insert questions";
|
|
561
|
+
var survey_template = "Survey Templates";
|
|
562
|
+
var insert_template = "Insert template";
|
|
563
|
+
var share_survey_teacher = "Share Survey to Teachers";
|
|
564
|
+
var suggested_teacher = "Suggested Teacher";
|
|
565
|
+
var email_contents = "Email Contents";
|
|
566
|
+
var send_survey = "Send survey";
|
|
567
|
+
var review_survey_detail = "Review Survey Detail";
|
|
568
|
+
var a_number_of_student = "A number of student";
|
|
569
|
+
var date_and_time = "Date and Time";
|
|
570
|
+
var scale = "Scale";
|
|
571
|
+
var answer = "Answer";
|
|
572
|
+
var add_question = "Add question";
|
|
573
|
+
var save_question = "Save question";
|
|
574
|
+
var external_survey = "External survey";
|
|
575
|
+
var ib_learner_profile = "IB Learner Profile";
|
|
576
|
+
var set_deadline = "Set deadline";
|
|
577
|
+
var duplicate_survey = "Duplicate Survey";
|
|
578
|
+
var share_survey = "Share Survey";
|
|
579
|
+
var new_survey = "New Survey";
|
|
513
580
|
var lang_us = {
|
|
514
581
|
dashboard: dashboard,
|
|
515
582
|
user: user,
|
|
@@ -993,7 +1060,74 @@ var lang_us = {
|
|
|
993
1060
|
search_activity: search_activity,
|
|
994
1061
|
activity: activity,
|
|
995
1062
|
activity_type: activity_type,
|
|
996
|
-
select_or_type_an_activity: select_or_type_an_activity
|
|
1063
|
+
select_or_type_an_activity: select_or_type_an_activity,
|
|
1064
|
+
action_need: action_need,
|
|
1065
|
+
external: external,
|
|
1066
|
+
student_survey: student_survey,
|
|
1067
|
+
view_survey: view_survey,
|
|
1068
|
+
create_a_survey: create_a_survey,
|
|
1069
|
+
review: review,
|
|
1070
|
+
publish_survey: publish_survey,
|
|
1071
|
+
total_surveys: total_surveys,
|
|
1072
|
+
flags: flags,
|
|
1073
|
+
scheduled_session: scheduled_session,
|
|
1074
|
+
total_survey_done: total_survey_done,
|
|
1075
|
+
total_survey_not_done: total_survey_not_done,
|
|
1076
|
+
list_survey: list_survey,
|
|
1077
|
+
surveys: surveys,
|
|
1078
|
+
create_survey: create_survey,
|
|
1079
|
+
my_survey: my_survey,
|
|
1080
|
+
counselor_name: counselor_name,
|
|
1081
|
+
survey_title: survey_title,
|
|
1082
|
+
deadline: deadline,
|
|
1083
|
+
day_left: day_left,
|
|
1084
|
+
replied_date: replied_date,
|
|
1085
|
+
session: session,
|
|
1086
|
+
flag: flag,
|
|
1087
|
+
external_email: external_email,
|
|
1088
|
+
scheduled_now: scheduled_now,
|
|
1089
|
+
session_schedule: session_schedule,
|
|
1090
|
+
search_survey: search_survey,
|
|
1091
|
+
total_survey: total_survey,
|
|
1092
|
+
survey_result: survey_result,
|
|
1093
|
+
check_in_from: check_in_from,
|
|
1094
|
+
received_today_at: received_today_at,
|
|
1095
|
+
preview_survey: preview_survey,
|
|
1096
|
+
complete_survey: complete_survey,
|
|
1097
|
+
"you_will_not_be_able_to_edit_this_survey_once_published_._are_you_sure_you_want_to_continue_?": "You will not be able to edit this survey once published. Are you sure you want to continue?",
|
|
1098
|
+
do_you_want_to_share_a_survey_to_teachers: do_you_want_to_share_a_survey_to_teachers,
|
|
1099
|
+
you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student: you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student,
|
|
1100
|
+
skip: skip,
|
|
1101
|
+
survey_questions: survey_questions,
|
|
1102
|
+
add_survey_question: add_survey_question,
|
|
1103
|
+
additional_question: additional_question,
|
|
1104
|
+
add_additional_question: add_additional_question,
|
|
1105
|
+
save_favorite: save_favorite,
|
|
1106
|
+
save_as_favorite: save_as_favorite,
|
|
1107
|
+
favorite_survey: favorite_survey,
|
|
1108
|
+
slider: slider,
|
|
1109
|
+
questions: questions,
|
|
1110
|
+
insert_all_question: insert_all_question,
|
|
1111
|
+
insert_question: insert_question,
|
|
1112
|
+
survey_template: survey_template,
|
|
1113
|
+
insert_template: insert_template,
|
|
1114
|
+
share_survey_teacher: share_survey_teacher,
|
|
1115
|
+
suggested_teacher: suggested_teacher,
|
|
1116
|
+
email_contents: email_contents,
|
|
1117
|
+
send_survey: send_survey,
|
|
1118
|
+
review_survey_detail: review_survey_detail,
|
|
1119
|
+
a_number_of_student: a_number_of_student,
|
|
1120
|
+
date_and_time: date_and_time,
|
|
1121
|
+
scale: scale,
|
|
1122
|
+
answer: answer,
|
|
1123
|
+
add_question: add_question,
|
|
1124
|
+
save_question: save_question,
|
|
1125
|
+
external_survey: external_survey,
|
|
1126
|
+
ib_learner_profile: ib_learner_profile,
|
|
1127
|
+
set_deadline: set_deadline,
|
|
1128
|
+
duplicate_survey: duplicate_survey,
|
|
1129
|
+
share_survey: share_survey,
|
|
1130
|
+
new_survey: new_survey
|
|
997
1131
|
};
|
|
998
1132
|
|
|
999
1133
|
var dashboard$1 = "Dashboard";
|
|
@@ -1171,7 +1305,7 @@ var use_for$1 = "Use for";
|
|
|
1171
1305
|
var admin_training$1 = "Admin training";
|
|
1172
1306
|
var teacher_training$1 = "Teacher training";
|
|
1173
1307
|
var created_time$1 = "Create time";
|
|
1174
|
-
var total_reflections$1 = "Total Reflections";
|
|
1308
|
+
var total_reflections$1 = "Total Reflections:";
|
|
1175
1309
|
var student_training$1 = "Student training";
|
|
1176
1310
|
var create_destination$1 = "Create Destination";
|
|
1177
1311
|
var total_of_designation$1 = "Total of Designation";
|
|
@@ -1449,7 +1583,7 @@ var accommodation$1 = "Accommodation";
|
|
|
1449
1583
|
var all_categories$1 = "All categories";
|
|
1450
1584
|
var do_you_want_to_delete_this_accommodation$1 = "Do you want to delete this accommodation";
|
|
1451
1585
|
var edit_accommodation$1 = "Edit Accommodation";
|
|
1452
|
-
var add_accommodation$1 = "
|
|
1586
|
+
var add_accommodation$1 = "Add Accommodation";
|
|
1453
1587
|
var all$1 = "All";
|
|
1454
1588
|
var all_status$1 = "All status";
|
|
1455
1589
|
var goal_type$1 = "Goal Type";
|
|
@@ -1474,6 +1608,72 @@ var search_activity$1 = "Search activity";
|
|
|
1474
1608
|
var activity$1 = "Activity";
|
|
1475
1609
|
var activity_type$1 = "Activity type";
|
|
1476
1610
|
var select_or_type_an_activity$1 = "Select or type an activity";
|
|
1611
|
+
var action_need$1 = "ACTION NEEDED";
|
|
1612
|
+
var external$1 = "EXTERNAL";
|
|
1613
|
+
var student_survey$1 = "Student Survey";
|
|
1614
|
+
var view_survey$1 = "VIEW SURVEY";
|
|
1615
|
+
var create_a_survey$1 = "Create a survey";
|
|
1616
|
+
var review$1 = "Review";
|
|
1617
|
+
var publish_survey$1 = "Publish survey";
|
|
1618
|
+
var total_surveys$1 = "Total Surveys";
|
|
1619
|
+
var flags$1 = "Flags";
|
|
1620
|
+
var scheduled_session$1 = "Scheduled Session";
|
|
1621
|
+
var total_survey_done$1 = "Total survey done";
|
|
1622
|
+
var total_survey_not_done$1 = "Total survey not done";
|
|
1623
|
+
var list_survey$1 = "LIST SURVEY";
|
|
1624
|
+
var surveys$1 = "Surveys";
|
|
1625
|
+
var create_survey$1 = "Create survey";
|
|
1626
|
+
var my_survey$1 = "My Survey";
|
|
1627
|
+
var counselor_name$1 = "Counselor Name";
|
|
1628
|
+
var survey_title$1 = "Survey title";
|
|
1629
|
+
var deadline$1 = "Deadline";
|
|
1630
|
+
var day_left$1 = "Day Left";
|
|
1631
|
+
var replied_date$1 = "Replied date";
|
|
1632
|
+
var session$1 = "Session";
|
|
1633
|
+
var flag$1 = "Flag";
|
|
1634
|
+
var external_email$1 = "External email";
|
|
1635
|
+
var scheduled_now$1 = "Scheduled Now";
|
|
1636
|
+
var session_schedule$1 = "session schedule";
|
|
1637
|
+
var search_survey$1 = "Search survey";
|
|
1638
|
+
var total_survey$1 = "Total Survey";
|
|
1639
|
+
var survey_result$1 = "Survey Result";
|
|
1640
|
+
var check_in_from$1 = "Check-in from";
|
|
1641
|
+
var received_today_at$1 = "Received today at";
|
|
1642
|
+
var preview_survey$1 = "Preview Survey";
|
|
1643
|
+
var complete_survey$1 = "Complete survey";
|
|
1644
|
+
var do_you_want_to_share_a_survey_to_teachers$1 = "Do you want to share a survey to Teachers?";
|
|
1645
|
+
var you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student$1 = "You can share this survey to teachers to get more insight about your student.";
|
|
1646
|
+
var skip$1 = "skip";
|
|
1647
|
+
var survey_questions$1 = "Survey questions";
|
|
1648
|
+
var add_survey_question$1 = "Add Survey Question";
|
|
1649
|
+
var additional_question$1 = "Additional Question";
|
|
1650
|
+
var add_additional_question$1 = "Add additional question";
|
|
1651
|
+
var save_favorite$1 = "Save Favorite";
|
|
1652
|
+
var save_as_favorite$1 = "Save as favorite";
|
|
1653
|
+
var favorite_survey$1 = "Favorite survey";
|
|
1654
|
+
var slider$1 = "Slider";
|
|
1655
|
+
var questions$1 = "questions";
|
|
1656
|
+
var insert_all_question$1 = "Insert All questions";
|
|
1657
|
+
var insert_question$1 = "Insert questions";
|
|
1658
|
+
var survey_template$1 = "Survey Templates";
|
|
1659
|
+
var insert_template$1 = "Insert template";
|
|
1660
|
+
var share_survey_teacher$1 = "Share Survey to Teachers";
|
|
1661
|
+
var suggested_teacher$1 = "Suggested Teacher";
|
|
1662
|
+
var email_contents$1 = "Email Contents";
|
|
1663
|
+
var send_survey$1 = "Send survey";
|
|
1664
|
+
var review_survey_detail$1 = "Review Survey Detail";
|
|
1665
|
+
var a_number_of_student$1 = "A number of student";
|
|
1666
|
+
var date_and_time$1 = "Date and Time";
|
|
1667
|
+
var scale$1 = "Scale";
|
|
1668
|
+
var answer$1 = "Answer";
|
|
1669
|
+
var add_question$1 = "Add question";
|
|
1670
|
+
var save_question$1 = "Save question";
|
|
1671
|
+
var external_survey$1 = "External survey";
|
|
1672
|
+
var ib_learner_profile$1 = "IB Learner Profile";
|
|
1673
|
+
var set_deadline$1 = "Set deadline";
|
|
1674
|
+
var duplicate_survey$1 = "Duplicate Survey";
|
|
1675
|
+
var share_survey$1 = "Share Survey";
|
|
1676
|
+
var new_survey$1 = "New Survey";
|
|
1477
1677
|
var lang_uk = {
|
|
1478
1678
|
dashboard: dashboard$1,
|
|
1479
1679
|
user: user$1,
|
|
@@ -1957,7 +2157,74 @@ var lang_uk = {
|
|
|
1957
2157
|
search_activity: search_activity$1,
|
|
1958
2158
|
activity: activity$1,
|
|
1959
2159
|
activity_type: activity_type$1,
|
|
1960
|
-
select_or_type_an_activity: select_or_type_an_activity$1
|
|
2160
|
+
select_or_type_an_activity: select_or_type_an_activity$1,
|
|
2161
|
+
action_need: action_need$1,
|
|
2162
|
+
external: external$1,
|
|
2163
|
+
student_survey: student_survey$1,
|
|
2164
|
+
view_survey: view_survey$1,
|
|
2165
|
+
create_a_survey: create_a_survey$1,
|
|
2166
|
+
review: review$1,
|
|
2167
|
+
publish_survey: publish_survey$1,
|
|
2168
|
+
total_surveys: total_surveys$1,
|
|
2169
|
+
flags: flags$1,
|
|
2170
|
+
scheduled_session: scheduled_session$1,
|
|
2171
|
+
total_survey_done: total_survey_done$1,
|
|
2172
|
+
total_survey_not_done: total_survey_not_done$1,
|
|
2173
|
+
list_survey: list_survey$1,
|
|
2174
|
+
surveys: surveys$1,
|
|
2175
|
+
create_survey: create_survey$1,
|
|
2176
|
+
my_survey: my_survey$1,
|
|
2177
|
+
counselor_name: counselor_name$1,
|
|
2178
|
+
survey_title: survey_title$1,
|
|
2179
|
+
deadline: deadline$1,
|
|
2180
|
+
day_left: day_left$1,
|
|
2181
|
+
replied_date: replied_date$1,
|
|
2182
|
+
session: session$1,
|
|
2183
|
+
flag: flag$1,
|
|
2184
|
+
external_email: external_email$1,
|
|
2185
|
+
scheduled_now: scheduled_now$1,
|
|
2186
|
+
session_schedule: session_schedule$1,
|
|
2187
|
+
search_survey: search_survey$1,
|
|
2188
|
+
total_survey: total_survey$1,
|
|
2189
|
+
survey_result: survey_result$1,
|
|
2190
|
+
check_in_from: check_in_from$1,
|
|
2191
|
+
received_today_at: received_today_at$1,
|
|
2192
|
+
preview_survey: preview_survey$1,
|
|
2193
|
+
complete_survey: complete_survey$1,
|
|
2194
|
+
"you_will_not_be_able_to_edit_this_survey_once_published_._are_you_sure_you_want_to_continue_?": "You will not be able to edit this survey once published. Are you sure you want to continue?",
|
|
2195
|
+
do_you_want_to_share_a_survey_to_teachers: do_you_want_to_share_a_survey_to_teachers$1,
|
|
2196
|
+
you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student: you_can_share_this_survey_to_teachers_to_get_more_insight_about_your_student$1,
|
|
2197
|
+
skip: skip$1,
|
|
2198
|
+
survey_questions: survey_questions$1,
|
|
2199
|
+
add_survey_question: add_survey_question$1,
|
|
2200
|
+
additional_question: additional_question$1,
|
|
2201
|
+
add_additional_question: add_additional_question$1,
|
|
2202
|
+
save_favorite: save_favorite$1,
|
|
2203
|
+
save_as_favorite: save_as_favorite$1,
|
|
2204
|
+
favorite_survey: favorite_survey$1,
|
|
2205
|
+
slider: slider$1,
|
|
2206
|
+
questions: questions$1,
|
|
2207
|
+
insert_all_question: insert_all_question$1,
|
|
2208
|
+
insert_question: insert_question$1,
|
|
2209
|
+
survey_template: survey_template$1,
|
|
2210
|
+
insert_template: insert_template$1,
|
|
2211
|
+
share_survey_teacher: share_survey_teacher$1,
|
|
2212
|
+
suggested_teacher: suggested_teacher$1,
|
|
2213
|
+
email_contents: email_contents$1,
|
|
2214
|
+
send_survey: send_survey$1,
|
|
2215
|
+
review_survey_detail: review_survey_detail$1,
|
|
2216
|
+
a_number_of_student: a_number_of_student$1,
|
|
2217
|
+
date_and_time: date_and_time$1,
|
|
2218
|
+
scale: scale$1,
|
|
2219
|
+
answer: answer$1,
|
|
2220
|
+
add_question: add_question$1,
|
|
2221
|
+
save_question: save_question$1,
|
|
2222
|
+
external_survey: external_survey$1,
|
|
2223
|
+
ib_learner_profile: ib_learner_profile$1,
|
|
2224
|
+
set_deadline: set_deadline$1,
|
|
2225
|
+
duplicate_survey: duplicate_survey$1,
|
|
2226
|
+
share_survey: share_survey$1,
|
|
2227
|
+
new_survey: new_survey$1
|
|
1961
2228
|
};
|
|
1962
2229
|
|
|
1963
2230
|
var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
|
|
@@ -2000,7 +2267,7 @@ function _catch(body, recover) {
|
|
|
2000
2267
|
return result;
|
|
2001
2268
|
}
|
|
2002
2269
|
|
|
2003
|
-
var styles = {"btn-login-google":"_2HqmH","notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","
|
|
2270
|
+
var styles = {"btn-login-google":"_2HqmH","notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","digital-privacy-icon":"_141p1","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","descriptions-icon":"_3SOdX","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","imageAnimation":"_wnn2_","login":"_F-hjL","login-content":"_149oA","logo-home":"_24U3W","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","box-sidebar":"_2vcmv","sidebar-logo":"_1hXpy","sidebar-nav-links":"_3vb3s","c-active":"_36jSM","sidebar-nav-links-hover":"_DNrus","box-sidebar-header":"_3NEZj","box-logout":"_1wUDG","sidebar-btn-minimized":"_1S7Px","sidebar-logout":"_2P85D","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-menu-flag":"_XK8oS","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","dropdown-content-language":"_3ajui","dropdown-item-language":"_3Y_y4","dropdown-item-language-active":"_CzNMi","hide-in-mobile":"_1INnO","hamburger-menu":"_2yRc8","box-content-home-page":"_ABUIP","collapse-box":"_WX97m","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
|
|
2004
2271
|
|
|
2005
2272
|
var style = {
|
|
2006
2273
|
fontSize: "0.85rem"
|
|
@@ -2056,6 +2323,85 @@ var PasswordInput = function PasswordInput(_ref) {
|
|
|
2056
2323
|
}));
|
|
2057
2324
|
};
|
|
2058
2325
|
|
|
2326
|
+
function _extends() {
|
|
2327
|
+
_extends = Object.assign || function (target) {
|
|
2328
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2329
|
+
var source = arguments[i];
|
|
2330
|
+
|
|
2331
|
+
for (var key in source) {
|
|
2332
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2333
|
+
target[key] = source[key];
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
return target;
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
return _extends.apply(this, arguments);
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
function _objectDestructuringEmpty(obj) {
|
|
2345
|
+
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2349
|
+
if (source == null) return {};
|
|
2350
|
+
var target = {};
|
|
2351
|
+
var sourceKeys = Object.keys(source);
|
|
2352
|
+
var key, i;
|
|
2353
|
+
|
|
2354
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
2355
|
+
key = sourceKeys[i];
|
|
2356
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
2357
|
+
target[key] = source[key];
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
return target;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
2364
|
+
if (!o) return;
|
|
2365
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
2366
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2367
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2368
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
2369
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
function _arrayLikeToArray(arr, len) {
|
|
2373
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2374
|
+
|
|
2375
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2376
|
+
|
|
2377
|
+
return arr2;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
2381
|
+
var it;
|
|
2382
|
+
|
|
2383
|
+
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
|
2384
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
2385
|
+
if (it) o = it;
|
|
2386
|
+
var i = 0;
|
|
2387
|
+
return function () {
|
|
2388
|
+
if (i >= o.length) return {
|
|
2389
|
+
done: true
|
|
2390
|
+
};
|
|
2391
|
+
return {
|
|
2392
|
+
done: false,
|
|
2393
|
+
value: o[i++]
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
it = o[Symbol.iterator]();
|
|
2402
|
+
return it.next.bind(it);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2059
2405
|
var TINY_MCE_API_KEY = "adpshj9swgsscf83gw4gs2f74nx0vicpd5ydka20iqjd7l8r";
|
|
2060
2406
|
var GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
|
|
2061
2407
|
var INIT_AMPLITUDE_KEY = "c617d0950cfdcae12953907273a1920f";
|
|
@@ -2383,7 +2729,12 @@ var useLogin = function useLogin() {
|
|
|
2383
2729
|
dispatch(setLoading(true));
|
|
2384
2730
|
|
|
2385
2731
|
var _temp4 = _catch(function () {
|
|
2386
|
-
|
|
2732
|
+
var _data$email, _data$password;
|
|
2733
|
+
|
|
2734
|
+
return Promise.resolve(logIn(_extends({}, data, {
|
|
2735
|
+
email: data === null || data === void 0 ? void 0 : (_data$email = data.email) === null || _data$email === void 0 ? void 0 : _data$email.trim(),
|
|
2736
|
+
password: data === null || data === void 0 ? void 0 : (_data$password = data.password) === null || _data$password === void 0 ? void 0 : _data$password.trim()
|
|
2737
|
+
}))).then(function (res) {
|
|
2387
2738
|
var _res$data = res.data,
|
|
2388
2739
|
token = _res$data.token,
|
|
2389
2740
|
id = _res$data.id,
|
|
@@ -2597,85 +2948,6 @@ var useLogin = function useLogin() {
|
|
|
2597
2948
|
};
|
|
2598
2949
|
};
|
|
2599
2950
|
|
|
2600
|
-
function _extends() {
|
|
2601
|
-
_extends = Object.assign || function (target) {
|
|
2602
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2603
|
-
var source = arguments[i];
|
|
2604
|
-
|
|
2605
|
-
for (var key in source) {
|
|
2606
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2607
|
-
target[key] = source[key];
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
return target;
|
|
2613
|
-
};
|
|
2614
|
-
|
|
2615
|
-
return _extends.apply(this, arguments);
|
|
2616
|
-
}
|
|
2617
|
-
|
|
2618
|
-
function _objectDestructuringEmpty(obj) {
|
|
2619
|
-
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
2620
|
-
}
|
|
2621
|
-
|
|
2622
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2623
|
-
if (source == null) return {};
|
|
2624
|
-
var target = {};
|
|
2625
|
-
var sourceKeys = Object.keys(source);
|
|
2626
|
-
var key, i;
|
|
2627
|
-
|
|
2628
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
2629
|
-
key = sourceKeys[i];
|
|
2630
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
2631
|
-
target[key] = source[key];
|
|
2632
|
-
}
|
|
2633
|
-
|
|
2634
|
-
return target;
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
2638
|
-
if (!o) return;
|
|
2639
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
2640
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2641
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2642
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
2643
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
2644
|
-
}
|
|
2645
|
-
|
|
2646
|
-
function _arrayLikeToArray(arr, len) {
|
|
2647
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
2648
|
-
|
|
2649
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2650
|
-
|
|
2651
|
-
return arr2;
|
|
2652
|
-
}
|
|
2653
|
-
|
|
2654
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
2655
|
-
var it;
|
|
2656
|
-
|
|
2657
|
-
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
|
2658
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
2659
|
-
if (it) o = it;
|
|
2660
|
-
var i = 0;
|
|
2661
|
-
return function () {
|
|
2662
|
-
if (i >= o.length) return {
|
|
2663
|
-
done: true
|
|
2664
|
-
};
|
|
2665
|
-
return {
|
|
2666
|
-
done: false,
|
|
2667
|
-
value: o[i++]
|
|
2668
|
-
};
|
|
2669
|
-
};
|
|
2670
|
-
}
|
|
2671
|
-
|
|
2672
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2673
|
-
}
|
|
2674
|
-
|
|
2675
|
-
it = o[Symbol.iterator]();
|
|
2676
|
-
return it.next.bind(it);
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
2951
|
var CustomSelector = function CustomSelector(_ref) {
|
|
2680
2952
|
var defaultValue = _ref.defaultValue,
|
|
2681
2953
|
options = _ref.options,
|
|
@@ -3390,55 +3662,45 @@ var Login = function Login(props) {
|
|
|
3390
3662
|
}), isForgotPassword && React__default.createElement(BlockForgetPassword, null)), isResetPassword && React__default.createElement(BlockResetPassword, null))));
|
|
3391
3663
|
};
|
|
3392
3664
|
|
|
3393
|
-
var QuoteContent = function QuoteContent(
|
|
3394
|
-
var descriptions = _ref.descriptions;
|
|
3665
|
+
var QuoteContent = function QuoteContent() {
|
|
3395
3666
|
return React__default.createElement("div", {
|
|
3396
3667
|
className: "" + styles["content-quote"]
|
|
3397
|
-
}, React__default.createElement(
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
className: styles["descriptions-quote"] + " d-flex align-items-center"
|
|
3403
|
-
}, React__default.createElement("p", null, descriptions))));
|
|
3668
|
+
}, React__default.createElement("div", {
|
|
3669
|
+
className: styles["title-quote"] + " d-block"
|
|
3670
|
+
}, React__default.createElement("p", null, "Powerful"), React__default.createElement("p", null, "Personalized"), React__default.createElement("p", null, "Learning")), React__default.createElement("div", {
|
|
3671
|
+
className: styles["descriptions-quote"] + " d-block"
|
|
3672
|
+
}, React__default.createElement("p", null, "Focus on what matters most to you and"), React__default.createElement("p", null, "and make learning meaningful.")));
|
|
3404
3673
|
};
|
|
3405
3674
|
|
|
3406
3675
|
var IconContent = function IconContent(_ref) {
|
|
3407
3676
|
var srcIcon = _ref.srcIcon,
|
|
3408
3677
|
content = _ref.content;
|
|
3409
|
-
return React__default.createElement(
|
|
3678
|
+
return React__default.createElement("div", {
|
|
3679
|
+
key: content,
|
|
3410
3680
|
className: "" + styles["content-icon"]
|
|
3411
|
-
}, React__default.createElement(
|
|
3412
|
-
md: 4,
|
|
3681
|
+
}, React__default.createElement("div", {
|
|
3413
3682
|
className: "" + styles["title-icon"]
|
|
3414
3683
|
}, React__default.createElement("img", {
|
|
3415
3684
|
src: srcIcon,
|
|
3416
3685
|
alt: "icon"
|
|
3417
|
-
})), React__default.createElement(
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3686
|
+
})), React__default.createElement("div", {
|
|
3687
|
+
className: "" + styles["descriptions-icon"],
|
|
3688
|
+
dangerouslySetInnerHTML: {
|
|
3689
|
+
__html: content
|
|
3690
|
+
}
|
|
3691
|
+
}));
|
|
3421
3692
|
};
|
|
3422
3693
|
|
|
3423
|
-
var
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
content: "Create, explore, and share exciting personalized learning journeys."
|
|
3434
|
-
}, {
|
|
3435
|
-
scrIcon: "/images/177_6_Goal.svg",
|
|
3436
|
-
content: "Set, monitor, and achieve your goals."
|
|
3437
|
-
}, {
|
|
3438
|
-
scrIcon: "/images/177_8_Space.svg",
|
|
3439
|
-
content: "Empower parents to become part of the learning process."
|
|
3440
|
-
}]
|
|
3441
|
-
};
|
|
3694
|
+
var contents = [{
|
|
3695
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
3696
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
3697
|
+
}, {
|
|
3698
|
+
scrIcon: "/images/Student.svg",
|
|
3699
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
3700
|
+
}, {
|
|
3701
|
+
scrIcon: "/images/Confetti.svg",
|
|
3702
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
3703
|
+
}];
|
|
3442
3704
|
|
|
3443
3705
|
var ContentHomePage = function ContentHomePage(_ref) {
|
|
3444
3706
|
_objectDestructuringEmpty(_ref);
|
|
@@ -3447,26 +3709,15 @@ var ContentHomePage = function ContentHomePage(_ref) {
|
|
|
3447
3709
|
className: "" + styles["page-not-login"]
|
|
3448
3710
|
}, React__default.createElement(reactstrap.Col, {
|
|
3449
3711
|
md: 12
|
|
3450
|
-
}, React__default.createElement(QuoteContent, {
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
key: index
|
|
3456
|
-
}, React__default.createElement(IconContent, {
|
|
3712
|
+
}, React__default.createElement(QuoteContent, null)), React__default.createElement(reactstrap.Col, {
|
|
3713
|
+
md: 12,
|
|
3714
|
+
className: styles["box-content-home-page"] + " d-flex align-items-center"
|
|
3715
|
+
}, contents.map(function (content) {
|
|
3716
|
+
return React__default.createElement(IconContent, {
|
|
3457
3717
|
srcIcon: content.scrIcon,
|
|
3458
3718
|
content: content.content
|
|
3459
|
-
})
|
|
3460
|
-
})
|
|
3461
|
-
md: 12,
|
|
3462
|
-
className: styles["student-image"] + " d-flex justify-content-end mt-5"
|
|
3463
|
-
}, React__default.createElement("a", {
|
|
3464
|
-
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3465
|
-
target: "blank"
|
|
3466
|
-
}, React__default.createElement(IconContent, {
|
|
3467
|
-
srcIcon: "/images/STUDENT.png",
|
|
3468
|
-
content: ""
|
|
3469
|
-
}))));
|
|
3719
|
+
});
|
|
3720
|
+
})));
|
|
3470
3721
|
};
|
|
3471
3722
|
|
|
3472
3723
|
var HOME_ADMIN = "/admin/user";
|
|
@@ -3476,39 +3727,74 @@ var DASHBOARD_TITLE = "Dashboard";
|
|
|
3476
3727
|
var ROOT_TITLE = "Mario Framework";
|
|
3477
3728
|
|
|
3478
3729
|
var Dashboard = function Dashboard() {
|
|
3730
|
+
var _useState = React.useState(false),
|
|
3731
|
+
isOpen = _useState[0],
|
|
3732
|
+
setIsOpen = _useState[1];
|
|
3733
|
+
|
|
3479
3734
|
var user = reactRedux.useSelector(function (state) {
|
|
3480
3735
|
return state.common.user;
|
|
3481
3736
|
});
|
|
3737
|
+
|
|
3738
|
+
var toggle = function toggle() {
|
|
3739
|
+
return setIsOpen(!isOpen);
|
|
3740
|
+
};
|
|
3741
|
+
|
|
3482
3742
|
React.useEffect(function () {
|
|
3483
3743
|
!!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
|
|
3484
3744
|
}, [user]);
|
|
3485
3745
|
return React__default.createElement("div", {
|
|
3486
3746
|
className: styles["login"] + " " + styles["red-background"]
|
|
3487
|
-
}, React__default.createElement(
|
|
3488
|
-
className:
|
|
3489
|
-
}, React__default.createElement(
|
|
3490
|
-
|
|
3491
|
-
|
|
3747
|
+
}, React__default.createElement("div", {
|
|
3748
|
+
className: "" + styles["login-content"]
|
|
3749
|
+
}, React__default.createElement(reactstrap.Navbar, {
|
|
3750
|
+
light: true,
|
|
3751
|
+
expand: "md"
|
|
3752
|
+
}, React__default.createElement(reactstrap.NavbarBrand, {
|
|
3753
|
+
href: "/",
|
|
3754
|
+
className: "" + styles["logo-home"]
|
|
3755
|
+
}, React__default.createElement("img", {
|
|
3756
|
+
src: "/images/logo-v2.svg",
|
|
3757
|
+
alt: "mario"
|
|
3758
|
+
})), React__default.createElement(gi.GiHamburgerMenu, {
|
|
3759
|
+
onClick: toggle,
|
|
3760
|
+
className: styles["hide-in-desktop"] + " " + styles["hamburger-menu"]
|
|
3761
|
+
}), React__default.createElement(reactstrap.Collapse, {
|
|
3762
|
+
isOpen: isOpen,
|
|
3763
|
+
navbar: true,
|
|
3764
|
+
className: "" + styles["collapse-box"]
|
|
3765
|
+
}, React__default.createElement(reactstrap.Nav, {
|
|
3766
|
+
className: styles["nav-home"] + " d-md-flex w-100 justify-content-center mr-auto",
|
|
3767
|
+
navbar: true
|
|
3768
|
+
}, React__default.createElement(reactstrap.NavItem, null, React__default.createElement(reactstrap.NavLink, {
|
|
3769
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3770
|
+
href: "https://marioframework.com/software",
|
|
3492
3771
|
target: "blank"
|
|
3493
|
-
}, "
|
|
3494
|
-
className: styles["contact"] + " align-self-
|
|
3772
|
+
}, "Learn More")), React__default.createElement(reactstrap.NavItem, null, React__default.createElement(reactRouterDom.Link, {
|
|
3773
|
+
className: styles["contact"] + " align-self-md-center",
|
|
3495
3774
|
to: "/contact"
|
|
3496
|
-
}, "Contact"), React__default.createElement(
|
|
3497
|
-
className: styles["learn-more"] + " align-self-
|
|
3498
|
-
href: "
|
|
3775
|
+
}, "Contact")), React__default.createElement(reactstrap.NavItem, null, React__default.createElement(reactstrap.NavLink, {
|
|
3776
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3777
|
+
href: "/privacy-policy",
|
|
3499
3778
|
target: "blank"
|
|
3500
|
-
}, "
|
|
3779
|
+
}, "Privacy Policy"))), React__default.createElement("div", {
|
|
3780
|
+
className: styles["hide-in-mobile"] + " d-flex justify-content-end"
|
|
3781
|
+
}, user ? React__default.createElement(reactRouterDom.Link, {
|
|
3501
3782
|
to: user.roles.includes("Admin") ? HOME_ADMIN : user.roles.includes("Teacher") ? HOME_TEACHER : HOME_STUDENT,
|
|
3502
3783
|
className: "" + styles["btn-trans-border"]
|
|
3503
3784
|
}, "Dashboard") : React__default.createElement(reactRouterDom.Link, {
|
|
3504
3785
|
to: "/login",
|
|
3505
3786
|
className: "" + styles["btn-trans-border"]
|
|
3506
|
-
}, "Login"))), React__default.createElement(
|
|
3507
|
-
className:
|
|
3508
|
-
}, React__default.createElement(
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3787
|
+
}, "Login")))), React__default.createElement("div", {
|
|
3788
|
+
className: ""
|
|
3789
|
+
}, React__default.createElement(ContentHomePage, null)), React__default.createElement("div", {
|
|
3790
|
+
className: "" + styles["digital-privacy-icon"]
|
|
3791
|
+
}, React__default.createElement("a", {
|
|
3792
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3793
|
+
target: "blank"
|
|
3794
|
+
}, React__default.createElement("img", {
|
|
3795
|
+
src: "/images/STUDENT.png",
|
|
3796
|
+
alt: "icon"
|
|
3797
|
+
})))));
|
|
3512
3798
|
};
|
|
3513
3799
|
|
|
3514
3800
|
var Images = {
|
|
@@ -4776,7 +5062,7 @@ var question$2 = _extends({}, config, {
|
|
|
4776
5062
|
}
|
|
4777
5063
|
});
|
|
4778
5064
|
|
|
4779
|
-
var answer = _extends({}, config, {
|
|
5065
|
+
var answer$2 = _extends({}, config, {
|
|
4780
5066
|
height: ANSWER_EDITOR_HEIGHT,
|
|
4781
5067
|
images_upload_handler: function images_upload_handler(blobInfo, success) {
|
|
4782
5068
|
try {
|
|
@@ -4846,7 +5132,7 @@ var tutorial = _extends({}, config, {
|
|
|
4846
5132
|
var editorConfig = {
|
|
4847
5133
|
email: email$2,
|
|
4848
5134
|
question: question$2,
|
|
4849
|
-
answer: answer,
|
|
5135
|
+
answer: answer$2,
|
|
4850
5136
|
tutorial: tutorial
|
|
4851
5137
|
};
|
|
4852
5138
|
|
|
@@ -7751,7 +8037,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7751
8037
|
};
|
|
7752
8038
|
|
|
7753
8039
|
var viewNotification = function viewNotification(notification) {
|
|
7754
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
|
|
8040
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8, _JSON$parse9, _JSON$parse10;
|
|
7755
8041
|
|
|
7756
8042
|
var source = notification.source,
|
|
7757
8043
|
extraData = notification.extraData;
|
|
@@ -7765,8 +8051,36 @@ var useNotificationList = function useNotificationList() {
|
|
|
7765
8051
|
window.open("/start-conference/" + ((_JSON$parse = JSON.parse(extraData)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse[0]) + "/" + ((_JSON$parse2 = JSON.parse(extraData)) === null || _JSON$parse2 === void 0 ? void 0 : _JSON$parse2[1]) + "/conferenceRubric");
|
|
7766
8052
|
break;
|
|
7767
8053
|
|
|
8054
|
+
case "Class Reflection":
|
|
8055
|
+
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]));
|
|
8056
|
+
break;
|
|
8057
|
+
|
|
8058
|
+
case "Class Reflection Completed":
|
|
8059
|
+
window.open("/result-reflection/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[1]));
|
|
8060
|
+
break;
|
|
8061
|
+
|
|
8062
|
+
case "External Reflection Completed":
|
|
8063
|
+
window.open("/result-reflection/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]) + "/external");
|
|
8064
|
+
break;
|
|
8065
|
+
|
|
7768
8066
|
case "NewSessionCreated":
|
|
7769
|
-
window.open("/start-question/" + ((_JSON$
|
|
8067
|
+
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]));
|
|
8068
|
+
break;
|
|
8069
|
+
|
|
8070
|
+
case "NewSessionComplete":
|
|
8071
|
+
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]));
|
|
8072
|
+
break;
|
|
8073
|
+
|
|
8074
|
+
case "ActionPointReminder":
|
|
8075
|
+
window.open("/action-point/to-do");
|
|
8076
|
+
break;
|
|
8077
|
+
|
|
8078
|
+
case "SendNotiPLP":
|
|
8079
|
+
window.open("/personal-learning-plan");
|
|
8080
|
+
break;
|
|
8081
|
+
|
|
8082
|
+
case "SendNotiGOAL":
|
|
8083
|
+
window.open("/my-goals/" + JSON.parse(extraData));
|
|
7770
8084
|
break;
|
|
7771
8085
|
|
|
7772
8086
|
case "CertificateApproved":
|
|
@@ -7986,7 +8300,7 @@ var NotificationList = function NotificationList() {
|
|
|
7986
8300
|
}
|
|
7987
8301
|
})), React__default.createElement("td", {
|
|
7988
8302
|
className: "text-center align-middle"
|
|
7989
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
|
|
8303
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
|
|
7990
8304
|
className: "cursor-pointer",
|
|
7991
8305
|
size: ICON_SIZE,
|
|
7992
8306
|
title: "Detail",
|