mario-core 3.0.10-admin → 4.0.0
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.modern.js
CHANGED
|
@@ -3,7 +3,7 @@ import i18n from 'i18next';
|
|
|
3
3
|
import { initReactI18next, useTranslation } from 'react-i18next';
|
|
4
4
|
export { I18nextProvider, useTranslation } from 'react-i18next';
|
|
5
5
|
import React, { useState, useCallback, useEffect, forwardRef, useRef, Suspense, useMemo, memo, Fragment, useImperativeHandle } from 'react';
|
|
6
|
-
import { Input, Modal, ModalHeader, ModalBody, ModalFooter, Button, Row, Col, Form, FormGroup, Label, Dropdown, DropdownToggle, DropdownMenu,
|
|
6
|
+
import { Input, Modal, ModalHeader, ModalBody, ModalFooter, Button, Row, Col, Form, FormGroup, Label, Navbar, NavbarBrand, Collapse, Nav, NavItem, NavLink, Dropdown, DropdownToggle, DropdownMenu, DropdownItem, Alert, Pagination, PaginationItem, PaginationLink, Table, CustomInput, TabContent, TabPane, Card, CardImg, CardBody, CardTitle, CardHeader, CardText } from 'reactstrap';
|
|
7
7
|
import { useHistory, Link, useLocation, Switch, Route, Prompt, useParams } from 'react-router-dom';
|
|
8
8
|
import { Formik } from 'formik';
|
|
9
9
|
import { object, string, boolean, number, array } from 'yup';
|
|
@@ -14,6 +14,7 @@ import amplitude from 'amplitude-js';
|
|
|
14
14
|
import { useGoogleReCaptcha, GoogleReCaptcha, GoogleReCaptchaProvider } from 'react-google-recaptcha-v3';
|
|
15
15
|
import GoogleLogin from 'react-google-login';
|
|
16
16
|
import Select from 'react-select';
|
|
17
|
+
import { GiHamburgerMenu } from 'react-icons/gi';
|
|
17
18
|
import { CSidebar, CSidebarBrand, CSidebarNav, CCreateElement, CSidebarNavDivider, CSidebarNavDropdown, CSidebarNavItem, CSidebarNavTitle, CSidebarFooter, CHeader, CHeaderBrand, CHeaderNav, CContainer } from '@coreui/react';
|
|
18
19
|
import { CgMenuRight } from 'react-icons/cg';
|
|
19
20
|
import { RiLogoutBoxRLine } from 'react-icons/ri';
|
|
@@ -508,6 +509,72 @@ var search_activity = "Search activity";
|
|
|
508
509
|
var activity = "Activity";
|
|
509
510
|
var activity_type = "Activity type";
|
|
510
511
|
var select_or_type_an_activity = "Select or type an activity";
|
|
512
|
+
var action_need = "ACTION NEEDED";
|
|
513
|
+
var external = "EXTERNAL";
|
|
514
|
+
var student_survey = "Student Survey";
|
|
515
|
+
var view_survey = "VIEW SURVEY";
|
|
516
|
+
var create_a_survey = "Create a survey";
|
|
517
|
+
var review = "Review";
|
|
518
|
+
var publish_survey = "Publish survey";
|
|
519
|
+
var total_surveys = "Total Surveys";
|
|
520
|
+
var flags = "Flags";
|
|
521
|
+
var scheduled_session = "Scheduled Session";
|
|
522
|
+
var total_survey_done = "Total survey done";
|
|
523
|
+
var total_survey_not_done = "Total survey not done";
|
|
524
|
+
var list_survey = "LIST SURVEY";
|
|
525
|
+
var surveys = "Surveys";
|
|
526
|
+
var create_survey = "Create survey";
|
|
527
|
+
var my_survey = "My Survey";
|
|
528
|
+
var counselor_name = "Counselor Name";
|
|
529
|
+
var survey_title = "Survey title";
|
|
530
|
+
var deadline = "Deadline";
|
|
531
|
+
var day_left = "Day Left";
|
|
532
|
+
var replied_date = "Replied date";
|
|
533
|
+
var session = "Session";
|
|
534
|
+
var flag = "Flag";
|
|
535
|
+
var external_email = "External email";
|
|
536
|
+
var scheduled_now = "Scheduled Now";
|
|
537
|
+
var session_schedule = "session schedule";
|
|
538
|
+
var search_survey = "Search survey";
|
|
539
|
+
var total_survey = "Total Survey";
|
|
540
|
+
var survey_result = "Survey Result";
|
|
541
|
+
var check_in_from = "Check-in from";
|
|
542
|
+
var received_today_at = "Received today at";
|
|
543
|
+
var preview_survey = "Preview Survey";
|
|
544
|
+
var complete_survey = "Complete survey";
|
|
545
|
+
var do_you_want_to_share_a_survey_to_teachers = "Do you want to share a survey to Teachers?";
|
|
546
|
+
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.";
|
|
547
|
+
var skip = "skip";
|
|
548
|
+
var survey_questions = "Survey questions";
|
|
549
|
+
var add_survey_question = "Add Survey Question";
|
|
550
|
+
var additional_question = "Additional Question";
|
|
551
|
+
var add_additional_question = "Add additional question";
|
|
552
|
+
var save_favorite = "Save Favorite";
|
|
553
|
+
var save_as_favorite = "Save as favorite";
|
|
554
|
+
var favorite_survey = "Favorite survey";
|
|
555
|
+
var slider = "Slider";
|
|
556
|
+
var questions = "questions";
|
|
557
|
+
var insert_all_question = "Insert All questions";
|
|
558
|
+
var insert_question = "Insert questions";
|
|
559
|
+
var survey_template = "Survey Templates";
|
|
560
|
+
var insert_template = "Insert template";
|
|
561
|
+
var share_survey_teacher = "Share Survey to Teachers";
|
|
562
|
+
var suggested_teacher = "Suggested Teacher";
|
|
563
|
+
var email_contents = "Email Contents";
|
|
564
|
+
var send_survey = "Send survey";
|
|
565
|
+
var review_survey_detail = "Review Survey Detail";
|
|
566
|
+
var a_number_of_student = "A number of student";
|
|
567
|
+
var date_and_time = "Date and Time";
|
|
568
|
+
var scale = "Scale";
|
|
569
|
+
var answer = "Answer";
|
|
570
|
+
var add_question = "Add question";
|
|
571
|
+
var save_question = "Save question";
|
|
572
|
+
var external_survey = "External survey";
|
|
573
|
+
var ib_learner_profile = "IB Learner Profile";
|
|
574
|
+
var set_deadline = "Set deadline";
|
|
575
|
+
var duplicate_survey = "Duplicate Survey";
|
|
576
|
+
var share_survey = "Share Survey";
|
|
577
|
+
var new_survey = "New Survey";
|
|
511
578
|
var lang_us = {
|
|
512
579
|
dashboard: dashboard,
|
|
513
580
|
user: user,
|
|
@@ -991,7 +1058,74 @@ var lang_us = {
|
|
|
991
1058
|
search_activity: search_activity,
|
|
992
1059
|
activity: activity,
|
|
993
1060
|
activity_type: activity_type,
|
|
994
|
-
select_or_type_an_activity: select_or_type_an_activity
|
|
1061
|
+
select_or_type_an_activity: select_or_type_an_activity,
|
|
1062
|
+
action_need: action_need,
|
|
1063
|
+
external: external,
|
|
1064
|
+
student_survey: student_survey,
|
|
1065
|
+
view_survey: view_survey,
|
|
1066
|
+
create_a_survey: create_a_survey,
|
|
1067
|
+
review: review,
|
|
1068
|
+
publish_survey: publish_survey,
|
|
1069
|
+
total_surveys: total_surveys,
|
|
1070
|
+
flags: flags,
|
|
1071
|
+
scheduled_session: scheduled_session,
|
|
1072
|
+
total_survey_done: total_survey_done,
|
|
1073
|
+
total_survey_not_done: total_survey_not_done,
|
|
1074
|
+
list_survey: list_survey,
|
|
1075
|
+
surveys: surveys,
|
|
1076
|
+
create_survey: create_survey,
|
|
1077
|
+
my_survey: my_survey,
|
|
1078
|
+
counselor_name: counselor_name,
|
|
1079
|
+
survey_title: survey_title,
|
|
1080
|
+
deadline: deadline,
|
|
1081
|
+
day_left: day_left,
|
|
1082
|
+
replied_date: replied_date,
|
|
1083
|
+
session: session,
|
|
1084
|
+
flag: flag,
|
|
1085
|
+
external_email: external_email,
|
|
1086
|
+
scheduled_now: scheduled_now,
|
|
1087
|
+
session_schedule: session_schedule,
|
|
1088
|
+
search_survey: search_survey,
|
|
1089
|
+
total_survey: total_survey,
|
|
1090
|
+
survey_result: survey_result,
|
|
1091
|
+
check_in_from: check_in_from,
|
|
1092
|
+
received_today_at: received_today_at,
|
|
1093
|
+
preview_survey: preview_survey,
|
|
1094
|
+
complete_survey: complete_survey,
|
|
1095
|
+
"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?",
|
|
1096
|
+
do_you_want_to_share_a_survey_to_teachers: do_you_want_to_share_a_survey_to_teachers,
|
|
1097
|
+
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,
|
|
1098
|
+
skip: skip,
|
|
1099
|
+
survey_questions: survey_questions,
|
|
1100
|
+
add_survey_question: add_survey_question,
|
|
1101
|
+
additional_question: additional_question,
|
|
1102
|
+
add_additional_question: add_additional_question,
|
|
1103
|
+
save_favorite: save_favorite,
|
|
1104
|
+
save_as_favorite: save_as_favorite,
|
|
1105
|
+
favorite_survey: favorite_survey,
|
|
1106
|
+
slider: slider,
|
|
1107
|
+
questions: questions,
|
|
1108
|
+
insert_all_question: insert_all_question,
|
|
1109
|
+
insert_question: insert_question,
|
|
1110
|
+
survey_template: survey_template,
|
|
1111
|
+
insert_template: insert_template,
|
|
1112
|
+
share_survey_teacher: share_survey_teacher,
|
|
1113
|
+
suggested_teacher: suggested_teacher,
|
|
1114
|
+
email_contents: email_contents,
|
|
1115
|
+
send_survey: send_survey,
|
|
1116
|
+
review_survey_detail: review_survey_detail,
|
|
1117
|
+
a_number_of_student: a_number_of_student,
|
|
1118
|
+
date_and_time: date_and_time,
|
|
1119
|
+
scale: scale,
|
|
1120
|
+
answer: answer,
|
|
1121
|
+
add_question: add_question,
|
|
1122
|
+
save_question: save_question,
|
|
1123
|
+
external_survey: external_survey,
|
|
1124
|
+
ib_learner_profile: ib_learner_profile,
|
|
1125
|
+
set_deadline: set_deadline,
|
|
1126
|
+
duplicate_survey: duplicate_survey,
|
|
1127
|
+
share_survey: share_survey,
|
|
1128
|
+
new_survey: new_survey
|
|
995
1129
|
};
|
|
996
1130
|
|
|
997
1131
|
var dashboard$1 = "Dashboard";
|
|
@@ -1169,7 +1303,7 @@ var use_for$1 = "Use for";
|
|
|
1169
1303
|
var admin_training$1 = "Admin training";
|
|
1170
1304
|
var teacher_training$1 = "Teacher training";
|
|
1171
1305
|
var created_time$1 = "Create time";
|
|
1172
|
-
var total_reflections$1 = "Total Reflections";
|
|
1306
|
+
var total_reflections$1 = "Total Reflections:";
|
|
1173
1307
|
var student_training$1 = "Student training";
|
|
1174
1308
|
var create_destination$1 = "Create Destination";
|
|
1175
1309
|
var total_of_designation$1 = "Total of Designation";
|
|
@@ -1447,7 +1581,7 @@ var accommodation$1 = "Accommodation";
|
|
|
1447
1581
|
var all_categories$1 = "All categories";
|
|
1448
1582
|
var do_you_want_to_delete_this_accommodation$1 = "Do you want to delete this accommodation";
|
|
1449
1583
|
var edit_accommodation$1 = "Edit Accommodation";
|
|
1450
|
-
var add_accommodation$1 = "
|
|
1584
|
+
var add_accommodation$1 = "Add Accommodation";
|
|
1451
1585
|
var all$1 = "All";
|
|
1452
1586
|
var all_status$1 = "All status";
|
|
1453
1587
|
var goal_type$1 = "Goal Type";
|
|
@@ -1472,6 +1606,72 @@ var search_activity$1 = "Search activity";
|
|
|
1472
1606
|
var activity$1 = "Activity";
|
|
1473
1607
|
var activity_type$1 = "Activity type";
|
|
1474
1608
|
var select_or_type_an_activity$1 = "Select or type an activity";
|
|
1609
|
+
var action_need$1 = "ACTION NEEDED";
|
|
1610
|
+
var external$1 = "EXTERNAL";
|
|
1611
|
+
var student_survey$1 = "Student Survey";
|
|
1612
|
+
var view_survey$1 = "VIEW SURVEY";
|
|
1613
|
+
var create_a_survey$1 = "Create a survey";
|
|
1614
|
+
var review$1 = "Review";
|
|
1615
|
+
var publish_survey$1 = "Publish survey";
|
|
1616
|
+
var total_surveys$1 = "Total Surveys";
|
|
1617
|
+
var flags$1 = "Flags";
|
|
1618
|
+
var scheduled_session$1 = "Scheduled Session";
|
|
1619
|
+
var total_survey_done$1 = "Total survey done";
|
|
1620
|
+
var total_survey_not_done$1 = "Total survey not done";
|
|
1621
|
+
var list_survey$1 = "LIST SURVEY";
|
|
1622
|
+
var surveys$1 = "Surveys";
|
|
1623
|
+
var create_survey$1 = "Create survey";
|
|
1624
|
+
var my_survey$1 = "My Survey";
|
|
1625
|
+
var counselor_name$1 = "Counselor Name";
|
|
1626
|
+
var survey_title$1 = "Survey title";
|
|
1627
|
+
var deadline$1 = "Deadline";
|
|
1628
|
+
var day_left$1 = "Day Left";
|
|
1629
|
+
var replied_date$1 = "Replied date";
|
|
1630
|
+
var session$1 = "Session";
|
|
1631
|
+
var flag$1 = "Flag";
|
|
1632
|
+
var external_email$1 = "External email";
|
|
1633
|
+
var scheduled_now$1 = "Scheduled Now";
|
|
1634
|
+
var session_schedule$1 = "session schedule";
|
|
1635
|
+
var search_survey$1 = "Search survey";
|
|
1636
|
+
var total_survey$1 = "Total Survey";
|
|
1637
|
+
var survey_result$1 = "Survey Result";
|
|
1638
|
+
var check_in_from$1 = "Check-in from";
|
|
1639
|
+
var received_today_at$1 = "Received today at";
|
|
1640
|
+
var preview_survey$1 = "Preview Survey";
|
|
1641
|
+
var complete_survey$1 = "Complete survey";
|
|
1642
|
+
var do_you_want_to_share_a_survey_to_teachers$1 = "Do you want to share a survey to Teachers?";
|
|
1643
|
+
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.";
|
|
1644
|
+
var skip$1 = "skip";
|
|
1645
|
+
var survey_questions$1 = "Survey questions";
|
|
1646
|
+
var add_survey_question$1 = "Add Survey Question";
|
|
1647
|
+
var additional_question$1 = "Additional Question";
|
|
1648
|
+
var add_additional_question$1 = "Add additional question";
|
|
1649
|
+
var save_favorite$1 = "Save Favorite";
|
|
1650
|
+
var save_as_favorite$1 = "Save as favorite";
|
|
1651
|
+
var favorite_survey$1 = "Favorite survey";
|
|
1652
|
+
var slider$1 = "Slider";
|
|
1653
|
+
var questions$1 = "questions";
|
|
1654
|
+
var insert_all_question$1 = "Insert All questions";
|
|
1655
|
+
var insert_question$1 = "Insert questions";
|
|
1656
|
+
var survey_template$1 = "Survey Templates";
|
|
1657
|
+
var insert_template$1 = "Insert template";
|
|
1658
|
+
var share_survey_teacher$1 = "Share Survey to Teachers";
|
|
1659
|
+
var suggested_teacher$1 = "Suggested Teacher";
|
|
1660
|
+
var email_contents$1 = "Email Contents";
|
|
1661
|
+
var send_survey$1 = "Send survey";
|
|
1662
|
+
var review_survey_detail$1 = "Review Survey Detail";
|
|
1663
|
+
var a_number_of_student$1 = "A number of student";
|
|
1664
|
+
var date_and_time$1 = "Date and Time";
|
|
1665
|
+
var scale$1 = "Scale";
|
|
1666
|
+
var answer$1 = "Answer";
|
|
1667
|
+
var add_question$1 = "Add question";
|
|
1668
|
+
var save_question$1 = "Save question";
|
|
1669
|
+
var external_survey$1 = "External survey";
|
|
1670
|
+
var ib_learner_profile$1 = "IB Learner Profile";
|
|
1671
|
+
var set_deadline$1 = "Set deadline";
|
|
1672
|
+
var duplicate_survey$1 = "Duplicate Survey";
|
|
1673
|
+
var share_survey$1 = "Share Survey";
|
|
1674
|
+
var new_survey$1 = "New Survey";
|
|
1475
1675
|
var lang_uk = {
|
|
1476
1676
|
dashboard: dashboard$1,
|
|
1477
1677
|
user: user$1,
|
|
@@ -1955,7 +2155,74 @@ var lang_uk = {
|
|
|
1955
2155
|
search_activity: search_activity$1,
|
|
1956
2156
|
activity: activity$1,
|
|
1957
2157
|
activity_type: activity_type$1,
|
|
1958
|
-
select_or_type_an_activity: select_or_type_an_activity$1
|
|
2158
|
+
select_or_type_an_activity: select_or_type_an_activity$1,
|
|
2159
|
+
action_need: action_need$1,
|
|
2160
|
+
external: external$1,
|
|
2161
|
+
student_survey: student_survey$1,
|
|
2162
|
+
view_survey: view_survey$1,
|
|
2163
|
+
create_a_survey: create_a_survey$1,
|
|
2164
|
+
review: review$1,
|
|
2165
|
+
publish_survey: publish_survey$1,
|
|
2166
|
+
total_surveys: total_surveys$1,
|
|
2167
|
+
flags: flags$1,
|
|
2168
|
+
scheduled_session: scheduled_session$1,
|
|
2169
|
+
total_survey_done: total_survey_done$1,
|
|
2170
|
+
total_survey_not_done: total_survey_not_done$1,
|
|
2171
|
+
list_survey: list_survey$1,
|
|
2172
|
+
surveys: surveys$1,
|
|
2173
|
+
create_survey: create_survey$1,
|
|
2174
|
+
my_survey: my_survey$1,
|
|
2175
|
+
counselor_name: counselor_name$1,
|
|
2176
|
+
survey_title: survey_title$1,
|
|
2177
|
+
deadline: deadline$1,
|
|
2178
|
+
day_left: day_left$1,
|
|
2179
|
+
replied_date: replied_date$1,
|
|
2180
|
+
session: session$1,
|
|
2181
|
+
flag: flag$1,
|
|
2182
|
+
external_email: external_email$1,
|
|
2183
|
+
scheduled_now: scheduled_now$1,
|
|
2184
|
+
session_schedule: session_schedule$1,
|
|
2185
|
+
search_survey: search_survey$1,
|
|
2186
|
+
total_survey: total_survey$1,
|
|
2187
|
+
survey_result: survey_result$1,
|
|
2188
|
+
check_in_from: check_in_from$1,
|
|
2189
|
+
received_today_at: received_today_at$1,
|
|
2190
|
+
preview_survey: preview_survey$1,
|
|
2191
|
+
complete_survey: complete_survey$1,
|
|
2192
|
+
"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?",
|
|
2193
|
+
do_you_want_to_share_a_survey_to_teachers: do_you_want_to_share_a_survey_to_teachers$1,
|
|
2194
|
+
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,
|
|
2195
|
+
skip: skip$1,
|
|
2196
|
+
survey_questions: survey_questions$1,
|
|
2197
|
+
add_survey_question: add_survey_question$1,
|
|
2198
|
+
additional_question: additional_question$1,
|
|
2199
|
+
add_additional_question: add_additional_question$1,
|
|
2200
|
+
save_favorite: save_favorite$1,
|
|
2201
|
+
save_as_favorite: save_as_favorite$1,
|
|
2202
|
+
favorite_survey: favorite_survey$1,
|
|
2203
|
+
slider: slider$1,
|
|
2204
|
+
questions: questions$1,
|
|
2205
|
+
insert_all_question: insert_all_question$1,
|
|
2206
|
+
insert_question: insert_question$1,
|
|
2207
|
+
survey_template: survey_template$1,
|
|
2208
|
+
insert_template: insert_template$1,
|
|
2209
|
+
share_survey_teacher: share_survey_teacher$1,
|
|
2210
|
+
suggested_teacher: suggested_teacher$1,
|
|
2211
|
+
email_contents: email_contents$1,
|
|
2212
|
+
send_survey: send_survey$1,
|
|
2213
|
+
review_survey_detail: review_survey_detail$1,
|
|
2214
|
+
a_number_of_student: a_number_of_student$1,
|
|
2215
|
+
date_and_time: date_and_time$1,
|
|
2216
|
+
scale: scale$1,
|
|
2217
|
+
answer: answer$1,
|
|
2218
|
+
add_question: add_question$1,
|
|
2219
|
+
save_question: save_question$1,
|
|
2220
|
+
external_survey: external_survey$1,
|
|
2221
|
+
ib_learner_profile: ib_learner_profile$1,
|
|
2222
|
+
set_deadline: set_deadline$1,
|
|
2223
|
+
duplicate_survey: duplicate_survey$1,
|
|
2224
|
+
share_survey: share_survey$1,
|
|
2225
|
+
new_survey: new_survey$1
|
|
1959
2226
|
};
|
|
1960
2227
|
|
|
1961
2228
|
var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
|
|
@@ -1998,7 +2265,7 @@ function _catch(body, recover) {
|
|
|
1998
2265
|
return result;
|
|
1999
2266
|
}
|
|
2000
2267
|
|
|
2001
|
-
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","
|
|
2268
|
+
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"};
|
|
2002
2269
|
|
|
2003
2270
|
var style = {
|
|
2004
2271
|
fontSize: "0.85rem"
|
|
@@ -2054,6 +2321,85 @@ var PasswordInput = function PasswordInput(_ref) {
|
|
|
2054
2321
|
}));
|
|
2055
2322
|
};
|
|
2056
2323
|
|
|
2324
|
+
function _extends() {
|
|
2325
|
+
_extends = Object.assign || function (target) {
|
|
2326
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2327
|
+
var source = arguments[i];
|
|
2328
|
+
|
|
2329
|
+
for (var key in source) {
|
|
2330
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2331
|
+
target[key] = source[key];
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
return target;
|
|
2337
|
+
};
|
|
2338
|
+
|
|
2339
|
+
return _extends.apply(this, arguments);
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
function _objectDestructuringEmpty(obj) {
|
|
2343
|
+
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2347
|
+
if (source == null) return {};
|
|
2348
|
+
var target = {};
|
|
2349
|
+
var sourceKeys = Object.keys(source);
|
|
2350
|
+
var key, i;
|
|
2351
|
+
|
|
2352
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
2353
|
+
key = sourceKeys[i];
|
|
2354
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
2355
|
+
target[key] = source[key];
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
return target;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
2362
|
+
if (!o) return;
|
|
2363
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
2364
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2365
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2366
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
2367
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
function _arrayLikeToArray(arr, len) {
|
|
2371
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2372
|
+
|
|
2373
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2374
|
+
|
|
2375
|
+
return arr2;
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
2379
|
+
var it;
|
|
2380
|
+
|
|
2381
|
+
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
|
2382
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
2383
|
+
if (it) o = it;
|
|
2384
|
+
var i = 0;
|
|
2385
|
+
return function () {
|
|
2386
|
+
if (i >= o.length) return {
|
|
2387
|
+
done: true
|
|
2388
|
+
};
|
|
2389
|
+
return {
|
|
2390
|
+
done: false,
|
|
2391
|
+
value: o[i++]
|
|
2392
|
+
};
|
|
2393
|
+
};
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
it = o[Symbol.iterator]();
|
|
2400
|
+
return it.next.bind(it);
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2057
2403
|
var TINY_MCE_API_KEY = "adpshj9swgsscf83gw4gs2f74nx0vicpd5ydka20iqjd7l8r";
|
|
2058
2404
|
var GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
|
|
2059
2405
|
var INIT_AMPLITUDE_KEY = "c617d0950cfdcae12953907273a1920f";
|
|
@@ -2381,7 +2727,12 @@ var useLogin = function useLogin() {
|
|
|
2381
2727
|
dispatch(setLoading(true));
|
|
2382
2728
|
|
|
2383
2729
|
var _temp4 = _catch(function () {
|
|
2384
|
-
|
|
2730
|
+
var _data$email, _data$password;
|
|
2731
|
+
|
|
2732
|
+
return Promise.resolve(logIn(_extends({}, data, {
|
|
2733
|
+
email: data === null || data === void 0 ? void 0 : (_data$email = data.email) === null || _data$email === void 0 ? void 0 : _data$email.trim(),
|
|
2734
|
+
password: data === null || data === void 0 ? void 0 : (_data$password = data.password) === null || _data$password === void 0 ? void 0 : _data$password.trim()
|
|
2735
|
+
}))).then(function (res) {
|
|
2385
2736
|
var _res$data = res.data,
|
|
2386
2737
|
token = _res$data.token,
|
|
2387
2738
|
id = _res$data.id,
|
|
@@ -2595,85 +2946,6 @@ var useLogin = function useLogin() {
|
|
|
2595
2946
|
};
|
|
2596
2947
|
};
|
|
2597
2948
|
|
|
2598
|
-
function _extends() {
|
|
2599
|
-
_extends = Object.assign || function (target) {
|
|
2600
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2601
|
-
var source = arguments[i];
|
|
2602
|
-
|
|
2603
|
-
for (var key in source) {
|
|
2604
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2605
|
-
target[key] = source[key];
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
|
-
return target;
|
|
2611
|
-
};
|
|
2612
|
-
|
|
2613
|
-
return _extends.apply(this, arguments);
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
|
-
function _objectDestructuringEmpty(obj) {
|
|
2617
|
-
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2621
|
-
if (source == null) return {};
|
|
2622
|
-
var target = {};
|
|
2623
|
-
var sourceKeys = Object.keys(source);
|
|
2624
|
-
var key, i;
|
|
2625
|
-
|
|
2626
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
2627
|
-
key = sourceKeys[i];
|
|
2628
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
2629
|
-
target[key] = source[key];
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
return target;
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
2636
|
-
if (!o) return;
|
|
2637
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
2638
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2639
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2640
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
2641
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
|
-
function _arrayLikeToArray(arr, len) {
|
|
2645
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
2646
|
-
|
|
2647
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2648
|
-
|
|
2649
|
-
return arr2;
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
2653
|
-
var it;
|
|
2654
|
-
|
|
2655
|
-
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
|
2656
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
2657
|
-
if (it) o = it;
|
|
2658
|
-
var i = 0;
|
|
2659
|
-
return function () {
|
|
2660
|
-
if (i >= o.length) return {
|
|
2661
|
-
done: true
|
|
2662
|
-
};
|
|
2663
|
-
return {
|
|
2664
|
-
done: false,
|
|
2665
|
-
value: o[i++]
|
|
2666
|
-
};
|
|
2667
|
-
};
|
|
2668
|
-
}
|
|
2669
|
-
|
|
2670
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2671
|
-
}
|
|
2672
|
-
|
|
2673
|
-
it = o[Symbol.iterator]();
|
|
2674
|
-
return it.next.bind(it);
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
2949
|
var CustomSelector = function CustomSelector(_ref) {
|
|
2678
2950
|
var defaultValue = _ref.defaultValue,
|
|
2679
2951
|
options = _ref.options,
|
|
@@ -3388,55 +3660,45 @@ var Login = function Login(props) {
|
|
|
3388
3660
|
}), isForgotPassword && React.createElement(BlockForgetPassword, null)), isResetPassword && React.createElement(BlockResetPassword, null))));
|
|
3389
3661
|
};
|
|
3390
3662
|
|
|
3391
|
-
var QuoteContent = function QuoteContent(
|
|
3392
|
-
var descriptions = _ref.descriptions;
|
|
3663
|
+
var QuoteContent = function QuoteContent() {
|
|
3393
3664
|
return React.createElement("div", {
|
|
3394
3665
|
className: "" + styles["content-quote"]
|
|
3395
|
-
}, React.createElement(
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
className: styles["descriptions-quote"] + " d-flex align-items-center"
|
|
3401
|
-
}, React.createElement("p", null, descriptions))));
|
|
3666
|
+
}, React.createElement("div", {
|
|
3667
|
+
className: styles["title-quote"] + " d-block"
|
|
3668
|
+
}, React.createElement("p", null, "Powerful"), React.createElement("p", null, "Personalized"), React.createElement("p", null, "Learning")), React.createElement("div", {
|
|
3669
|
+
className: styles["descriptions-quote"] + " d-block"
|
|
3670
|
+
}, React.createElement("p", null, "Focus on what matters most to you and"), React.createElement("p", null, "and make learning meaningful.")));
|
|
3402
3671
|
};
|
|
3403
3672
|
|
|
3404
3673
|
var IconContent = function IconContent(_ref) {
|
|
3405
3674
|
var srcIcon = _ref.srcIcon,
|
|
3406
3675
|
content = _ref.content;
|
|
3407
|
-
return React.createElement(
|
|
3676
|
+
return React.createElement("div", {
|
|
3677
|
+
key: content,
|
|
3408
3678
|
className: "" + styles["content-icon"]
|
|
3409
|
-
}, React.createElement(
|
|
3410
|
-
md: 4,
|
|
3679
|
+
}, React.createElement("div", {
|
|
3411
3680
|
className: "" + styles["title-icon"]
|
|
3412
3681
|
}, React.createElement("img", {
|
|
3413
3682
|
src: srcIcon,
|
|
3414
3683
|
alt: "icon"
|
|
3415
|
-
})), React.createElement(
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3684
|
+
})), React.createElement("div", {
|
|
3685
|
+
className: "" + styles["descriptions-icon"],
|
|
3686
|
+
dangerouslySetInnerHTML: {
|
|
3687
|
+
__html: content
|
|
3688
|
+
}
|
|
3689
|
+
}));
|
|
3419
3690
|
};
|
|
3420
3691
|
|
|
3421
|
-
var
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
content: "Create, explore, and share exciting personalized learning journeys."
|
|
3432
|
-
}, {
|
|
3433
|
-
scrIcon: "/images/177_6_Goal.svg",
|
|
3434
|
-
content: "Set, monitor, and achieve your goals."
|
|
3435
|
-
}, {
|
|
3436
|
-
scrIcon: "/images/177_8_Space.svg",
|
|
3437
|
-
content: "Empower parents to become part of the learning process."
|
|
3438
|
-
}]
|
|
3439
|
-
};
|
|
3692
|
+
var contents = [{
|
|
3693
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
3694
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
3695
|
+
}, {
|
|
3696
|
+
scrIcon: "/images/Student.svg",
|
|
3697
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
3698
|
+
}, {
|
|
3699
|
+
scrIcon: "/images/Confetti.svg",
|
|
3700
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
3701
|
+
}];
|
|
3440
3702
|
|
|
3441
3703
|
var ContentHomePage = function ContentHomePage(_ref) {
|
|
3442
3704
|
_objectDestructuringEmpty(_ref);
|
|
@@ -3445,26 +3707,15 @@ var ContentHomePage = function ContentHomePage(_ref) {
|
|
|
3445
3707
|
className: "" + styles["page-not-login"]
|
|
3446
3708
|
}, React.createElement(Col, {
|
|
3447
3709
|
md: 12
|
|
3448
|
-
}, React.createElement(QuoteContent, {
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
key: index
|
|
3454
|
-
}, React.createElement(IconContent, {
|
|
3710
|
+
}, React.createElement(QuoteContent, null)), React.createElement(Col, {
|
|
3711
|
+
md: 12,
|
|
3712
|
+
className: styles["box-content-home-page"] + " d-flex align-items-center"
|
|
3713
|
+
}, contents.map(function (content) {
|
|
3714
|
+
return React.createElement(IconContent, {
|
|
3455
3715
|
srcIcon: content.scrIcon,
|
|
3456
3716
|
content: content.content
|
|
3457
|
-
})
|
|
3458
|
-
})
|
|
3459
|
-
md: 12,
|
|
3460
|
-
className: styles["student-image"] + " d-flex justify-content-end mt-5"
|
|
3461
|
-
}, React.createElement("a", {
|
|
3462
|
-
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3463
|
-
target: "blank"
|
|
3464
|
-
}, React.createElement(IconContent, {
|
|
3465
|
-
srcIcon: "/images/STUDENT.png",
|
|
3466
|
-
content: ""
|
|
3467
|
-
}))));
|
|
3717
|
+
});
|
|
3718
|
+
})));
|
|
3468
3719
|
};
|
|
3469
3720
|
|
|
3470
3721
|
var HOME_ADMIN = "/admin/user";
|
|
@@ -3474,39 +3725,74 @@ var DASHBOARD_TITLE = "Dashboard";
|
|
|
3474
3725
|
var ROOT_TITLE = "Mario Framework";
|
|
3475
3726
|
|
|
3476
3727
|
var Dashboard = function Dashboard() {
|
|
3728
|
+
var _useState = useState(false),
|
|
3729
|
+
isOpen = _useState[0],
|
|
3730
|
+
setIsOpen = _useState[1];
|
|
3731
|
+
|
|
3477
3732
|
var user = useSelector(function (state) {
|
|
3478
3733
|
return state.common.user;
|
|
3479
3734
|
});
|
|
3735
|
+
|
|
3736
|
+
var toggle = function toggle() {
|
|
3737
|
+
return setIsOpen(!isOpen);
|
|
3738
|
+
};
|
|
3739
|
+
|
|
3480
3740
|
useEffect(function () {
|
|
3481
3741
|
!!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
|
|
3482
3742
|
}, [user]);
|
|
3483
3743
|
return React.createElement("div", {
|
|
3484
3744
|
className: styles["login"] + " " + styles["red-background"]
|
|
3485
|
-
}, React.createElement(
|
|
3486
|
-
className:
|
|
3487
|
-
}, React.createElement(
|
|
3488
|
-
|
|
3489
|
-
|
|
3745
|
+
}, React.createElement("div", {
|
|
3746
|
+
className: "" + styles["login-content"]
|
|
3747
|
+
}, React.createElement(Navbar, {
|
|
3748
|
+
light: true,
|
|
3749
|
+
expand: "md"
|
|
3750
|
+
}, React.createElement(NavbarBrand, {
|
|
3751
|
+
href: "/",
|
|
3752
|
+
className: "" + styles["logo-home"]
|
|
3753
|
+
}, React.createElement("img", {
|
|
3754
|
+
src: "/images/logo-v2.svg",
|
|
3755
|
+
alt: "mario"
|
|
3756
|
+
})), React.createElement(GiHamburgerMenu, {
|
|
3757
|
+
onClick: toggle,
|
|
3758
|
+
className: styles["hide-in-desktop"] + " " + styles["hamburger-menu"]
|
|
3759
|
+
}), React.createElement(Collapse, {
|
|
3760
|
+
isOpen: isOpen,
|
|
3761
|
+
navbar: true,
|
|
3762
|
+
className: "" + styles["collapse-box"]
|
|
3763
|
+
}, React.createElement(Nav, {
|
|
3764
|
+
className: styles["nav-home"] + " d-md-flex w-100 justify-content-center mr-auto",
|
|
3765
|
+
navbar: true
|
|
3766
|
+
}, React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3767
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3768
|
+
href: "https://marioframework.com/software",
|
|
3490
3769
|
target: "blank"
|
|
3491
|
-
}, "
|
|
3492
|
-
className: styles["contact"] + " align-self-
|
|
3770
|
+
}, "Learn More")), React.createElement(NavItem, null, React.createElement(Link, {
|
|
3771
|
+
className: styles["contact"] + " align-self-md-center",
|
|
3493
3772
|
to: "/contact"
|
|
3494
|
-
}, "Contact"), React.createElement(
|
|
3495
|
-
className: styles["learn-more"] + " align-self-
|
|
3496
|
-
href: "
|
|
3773
|
+
}, "Contact")), React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3774
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3775
|
+
href: "/privacy-policy",
|
|
3497
3776
|
target: "blank"
|
|
3498
|
-
}, "
|
|
3777
|
+
}, "Privacy Policy"))), React.createElement("div", {
|
|
3778
|
+
className: styles["hide-in-mobile"] + " d-flex justify-content-end"
|
|
3779
|
+
}, user ? React.createElement(Link, {
|
|
3499
3780
|
to: user.roles.includes("Admin") ? HOME_ADMIN : user.roles.includes("Teacher") ? HOME_TEACHER : HOME_STUDENT,
|
|
3500
3781
|
className: "" + styles["btn-trans-border"]
|
|
3501
3782
|
}, "Dashboard") : React.createElement(Link, {
|
|
3502
3783
|
to: "/login",
|
|
3503
3784
|
className: "" + styles["btn-trans-border"]
|
|
3504
|
-
}, "Login"))), React.createElement(
|
|
3505
|
-
className:
|
|
3506
|
-
}, React.createElement(
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3785
|
+
}, "Login")))), React.createElement("div", {
|
|
3786
|
+
className: ""
|
|
3787
|
+
}, React.createElement(ContentHomePage, null)), React.createElement("div", {
|
|
3788
|
+
className: "" + styles["digital-privacy-icon"]
|
|
3789
|
+
}, React.createElement("a", {
|
|
3790
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3791
|
+
target: "blank"
|
|
3792
|
+
}, React.createElement("img", {
|
|
3793
|
+
src: "/images/STUDENT.png",
|
|
3794
|
+
alt: "icon"
|
|
3795
|
+
})))));
|
|
3510
3796
|
};
|
|
3511
3797
|
|
|
3512
3798
|
var Images = {
|
|
@@ -4774,7 +5060,7 @@ var question$2 = _extends({}, config, {
|
|
|
4774
5060
|
}
|
|
4775
5061
|
});
|
|
4776
5062
|
|
|
4777
|
-
var answer = _extends({}, config, {
|
|
5063
|
+
var answer$2 = _extends({}, config, {
|
|
4778
5064
|
height: ANSWER_EDITOR_HEIGHT,
|
|
4779
5065
|
images_upload_handler: function images_upload_handler(blobInfo, success) {
|
|
4780
5066
|
try {
|
|
@@ -4844,7 +5130,7 @@ var tutorial = _extends({}, config, {
|
|
|
4844
5130
|
var editorConfig = {
|
|
4845
5131
|
email: email$2,
|
|
4846
5132
|
question: question$2,
|
|
4847
|
-
answer: answer,
|
|
5133
|
+
answer: answer$2,
|
|
4848
5134
|
tutorial: tutorial
|
|
4849
5135
|
};
|
|
4850
5136
|
|
|
@@ -7749,7 +8035,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7749
8035
|
};
|
|
7750
8036
|
|
|
7751
8037
|
var viewNotification = function viewNotification(notification) {
|
|
7752
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
|
|
8038
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8, _JSON$parse9, _JSON$parse10;
|
|
7753
8039
|
|
|
7754
8040
|
var source = notification.source,
|
|
7755
8041
|
extraData = notification.extraData;
|
|
@@ -7763,8 +8049,36 @@ var useNotificationList = function useNotificationList() {
|
|
|
7763
8049
|
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");
|
|
7764
8050
|
break;
|
|
7765
8051
|
|
|
8052
|
+
case "Class Reflection":
|
|
8053
|
+
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]));
|
|
8054
|
+
break;
|
|
8055
|
+
|
|
8056
|
+
case "Class Reflection Completed":
|
|
8057
|
+
window.open("/result-reflection/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[1]));
|
|
8058
|
+
break;
|
|
8059
|
+
|
|
8060
|
+
case "External Reflection Completed":
|
|
8061
|
+
window.open("/result-reflection/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]) + "/external");
|
|
8062
|
+
break;
|
|
8063
|
+
|
|
7766
8064
|
case "NewSessionCreated":
|
|
7767
|
-
window.open("/start-question/" + ((_JSON$
|
|
8065
|
+
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]));
|
|
8066
|
+
break;
|
|
8067
|
+
|
|
8068
|
+
case "NewSessionComplete":
|
|
8069
|
+
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]));
|
|
8070
|
+
break;
|
|
8071
|
+
|
|
8072
|
+
case "ActionPointReminder":
|
|
8073
|
+
window.open("/action-point/to-do");
|
|
8074
|
+
break;
|
|
8075
|
+
|
|
8076
|
+
case "SendNotiPLP":
|
|
8077
|
+
window.open("/personal-learning-plan");
|
|
8078
|
+
break;
|
|
8079
|
+
|
|
8080
|
+
case "SendNotiGOAL":
|
|
8081
|
+
window.open("/my-goals/" + JSON.parse(extraData));
|
|
7768
8082
|
break;
|
|
7769
8083
|
|
|
7770
8084
|
case "CertificateApproved":
|
|
@@ -7984,7 +8298,7 @@ var NotificationList = function NotificationList() {
|
|
|
7984
8298
|
}
|
|
7985
8299
|
})), React.createElement("td", {
|
|
7986
8300
|
className: "text-center align-middle"
|
|
7987
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8301
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
7988
8302
|
className: "cursor-pointer",
|
|
7989
8303
|
size: ICON_SIZE,
|
|
7990
8304
|
title: "Detail",
|