mario-core 2.9.51-beta → 2.9.53-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/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 +386 -80
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +387 -81
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
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';
|
|
@@ -195,6 +196,7 @@ var current_assistant_email = "Current Assistant Email";
|
|
|
195
196
|
var remove_assistant = "Remove Assistant";
|
|
196
197
|
var switch_assistant = "Switch Assistant";
|
|
197
198
|
var select_assistant_change = "Select Assistant change";
|
|
199
|
+
var select_assistant = "Select Assistant";
|
|
198
200
|
var welcome_email_resend = "Welcome Email Re-send";
|
|
199
201
|
var send_for_selected_users = "Send for selected users";
|
|
200
202
|
var user_name = "User Name";
|
|
@@ -507,6 +509,72 @@ var search_activity = "Search activity";
|
|
|
507
509
|
var activity = "Activity";
|
|
508
510
|
var activity_type = "Activity type";
|
|
509
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";
|
|
510
578
|
var lang_us = {
|
|
511
579
|
dashboard: dashboard,
|
|
512
580
|
user: user,
|
|
@@ -674,6 +742,7 @@ var lang_us = {
|
|
|
674
742
|
remove_assistant: remove_assistant,
|
|
675
743
|
switch_assistant: switch_assistant,
|
|
676
744
|
select_assistant_change: select_assistant_change,
|
|
745
|
+
select_assistant: select_assistant,
|
|
677
746
|
welcome_email_resend: welcome_email_resend,
|
|
678
747
|
send_for_selected_users: send_for_selected_users,
|
|
679
748
|
user_name: user_name,
|
|
@@ -989,7 +1058,74 @@ var lang_us = {
|
|
|
989
1058
|
search_activity: search_activity,
|
|
990
1059
|
activity: activity,
|
|
991
1060
|
activity_type: activity_type,
|
|
992
|
-
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
|
|
993
1129
|
};
|
|
994
1130
|
|
|
995
1131
|
var dashboard$1 = "Dashboard";
|
|
@@ -1004,7 +1140,7 @@ var export_to_pdf$1 = "Export to PDF";
|
|
|
1004
1140
|
var the_data_is_taken_from_the_home_screen$1 = "The data is taken from the home screen";
|
|
1005
1141
|
var make_sure_everything_is_set_correctly_before_exporting$1 = "Make sure everything is set correctly before exporting.";
|
|
1006
1142
|
var cancel$1 = "Cancel";
|
|
1007
|
-
var hey$1 = "Hey
|
|
1143
|
+
var hey$1 = "Hey";
|
|
1008
1144
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
1009
1145
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
1010
1146
|
var reflection$1 = "Reflection";
|
|
@@ -1157,6 +1293,7 @@ var current_assistant_email$1 = "Current Assistant Email";
|
|
|
1157
1293
|
var remove_assistant$1 = "Remove Assistant";
|
|
1158
1294
|
var switch_assistant$1 = "Switch Assistant";
|
|
1159
1295
|
var select_assistant_change$1 = "Select Assistant change";
|
|
1296
|
+
var select_assistant$1 = "Select Assistant";
|
|
1160
1297
|
var welcome_email_resend$1 = "Welcome Email Re-send";
|
|
1161
1298
|
var send_for_selected_users$1 = "Send for selected users";
|
|
1162
1299
|
var user_name$1 = "User Name";
|
|
@@ -1469,6 +1606,72 @@ var search_activity$1 = "Search activity";
|
|
|
1469
1606
|
var activity$1 = "Activity";
|
|
1470
1607
|
var activity_type$1 = "Activity type";
|
|
1471
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";
|
|
1472
1675
|
var lang_uk = {
|
|
1473
1676
|
dashboard: dashboard$1,
|
|
1474
1677
|
user: user$1,
|
|
@@ -1636,6 +1839,7 @@ var lang_uk = {
|
|
|
1636
1839
|
remove_assistant: remove_assistant$1,
|
|
1637
1840
|
switch_assistant: switch_assistant$1,
|
|
1638
1841
|
select_assistant_change: select_assistant_change$1,
|
|
1842
|
+
select_assistant: select_assistant$1,
|
|
1639
1843
|
welcome_email_resend: welcome_email_resend$1,
|
|
1640
1844
|
send_for_selected_users: send_for_selected_users$1,
|
|
1641
1845
|
user_name: user_name$1,
|
|
@@ -1951,7 +2155,74 @@ var lang_uk = {
|
|
|
1951
2155
|
search_activity: search_activity$1,
|
|
1952
2156
|
activity: activity$1,
|
|
1953
2157
|
activity_type: activity_type$1,
|
|
1954
|
-
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
|
|
1955
2226
|
};
|
|
1956
2227
|
|
|
1957
2228
|
var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
|
|
@@ -1994,7 +2265,7 @@ function _catch(body, recover) {
|
|
|
1994
2265
|
return result;
|
|
1995
2266
|
}
|
|
1996
2267
|
|
|
1997
|
-
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"};
|
|
1998
2269
|
|
|
1999
2270
|
var style = {
|
|
2000
2271
|
fontSize: "0.85rem"
|
|
@@ -3376,55 +3647,45 @@ var Login = function Login(props) {
|
|
|
3376
3647
|
}), isForgotPassword && React.createElement(BlockForgetPassword, null)), isResetPassword && React.createElement(BlockResetPassword, null))));
|
|
3377
3648
|
};
|
|
3378
3649
|
|
|
3379
|
-
var QuoteContent = function QuoteContent(
|
|
3380
|
-
var descriptions = _ref.descriptions;
|
|
3650
|
+
var QuoteContent = function QuoteContent() {
|
|
3381
3651
|
return React.createElement("div", {
|
|
3382
3652
|
className: "" + styles["content-quote"]
|
|
3383
|
-
}, React.createElement(
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
className: styles["descriptions-quote"] + " d-flex align-items-center"
|
|
3389
|
-
}, React.createElement("p", null, descriptions))));
|
|
3653
|
+
}, React.createElement("div", {
|
|
3654
|
+
className: styles["title-quote"] + " d-block"
|
|
3655
|
+
}, React.createElement("p", null, "Powerful"), React.createElement("p", null, "Personalized"), React.createElement("p", null, "Learning")), React.createElement("div", {
|
|
3656
|
+
className: styles["descriptions-quote"] + " d-block"
|
|
3657
|
+
}, React.createElement("p", null, "Focus on what matters most to you and"), React.createElement("p", null, "and make learning meaningful.")));
|
|
3390
3658
|
};
|
|
3391
3659
|
|
|
3392
3660
|
var IconContent = function IconContent(_ref) {
|
|
3393
3661
|
var srcIcon = _ref.srcIcon,
|
|
3394
3662
|
content = _ref.content;
|
|
3395
|
-
return React.createElement(
|
|
3663
|
+
return React.createElement("div", {
|
|
3664
|
+
key: content,
|
|
3396
3665
|
className: "" + styles["content-icon"]
|
|
3397
|
-
}, React.createElement(
|
|
3398
|
-
md: 4,
|
|
3666
|
+
}, React.createElement("div", {
|
|
3399
3667
|
className: "" + styles["title-icon"]
|
|
3400
3668
|
}, React.createElement("img", {
|
|
3401
3669
|
src: srcIcon,
|
|
3402
3670
|
alt: "icon"
|
|
3403
|
-
})), React.createElement(
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3671
|
+
})), React.createElement("div", {
|
|
3672
|
+
className: "" + styles["descriptions-icon"],
|
|
3673
|
+
dangerouslySetInnerHTML: {
|
|
3674
|
+
__html: content
|
|
3675
|
+
}
|
|
3676
|
+
}));
|
|
3407
3677
|
};
|
|
3408
3678
|
|
|
3409
|
-
var
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
content: "Create, explore, and share exciting personalized learning journeys."
|
|
3420
|
-
}, {
|
|
3421
|
-
scrIcon: "/images/177_6_Goal.svg",
|
|
3422
|
-
content: "Set, monitor, and achieve your goals."
|
|
3423
|
-
}, {
|
|
3424
|
-
scrIcon: "/images/177_8_Space.svg",
|
|
3425
|
-
content: "Empower parents to become part of the learning process."
|
|
3426
|
-
}]
|
|
3427
|
-
};
|
|
3679
|
+
var contents = [{
|
|
3680
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
3681
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
3682
|
+
}, {
|
|
3683
|
+
scrIcon: "/images/Student.svg",
|
|
3684
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
3685
|
+
}, {
|
|
3686
|
+
scrIcon: "/images/Confetti.svg",
|
|
3687
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
3688
|
+
}];
|
|
3428
3689
|
|
|
3429
3690
|
var ContentHomePage = function ContentHomePage(_ref) {
|
|
3430
3691
|
_objectDestructuringEmpty(_ref);
|
|
@@ -3433,26 +3694,15 @@ var ContentHomePage = function ContentHomePage(_ref) {
|
|
|
3433
3694
|
className: "" + styles["page-not-login"]
|
|
3434
3695
|
}, React.createElement(Col, {
|
|
3435
3696
|
md: 12
|
|
3436
|
-
}, React.createElement(QuoteContent, {
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
key: index
|
|
3442
|
-
}, React.createElement(IconContent, {
|
|
3697
|
+
}, React.createElement(QuoteContent, null)), React.createElement(Col, {
|
|
3698
|
+
md: 12,
|
|
3699
|
+
className: styles["box-content-home-page"] + " d-flex align-items-center"
|
|
3700
|
+
}, contents.map(function (content) {
|
|
3701
|
+
return React.createElement(IconContent, {
|
|
3443
3702
|
srcIcon: content.scrIcon,
|
|
3444
3703
|
content: content.content
|
|
3445
|
-
})
|
|
3446
|
-
})
|
|
3447
|
-
md: 12,
|
|
3448
|
-
className: styles["student-image"] + " d-flex justify-content-end mt-5"
|
|
3449
|
-
}, React.createElement("a", {
|
|
3450
|
-
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3451
|
-
target: "blank"
|
|
3452
|
-
}, React.createElement(IconContent, {
|
|
3453
|
-
srcIcon: "/images/STUDENT.png",
|
|
3454
|
-
content: ""
|
|
3455
|
-
}))));
|
|
3704
|
+
});
|
|
3705
|
+
})));
|
|
3456
3706
|
};
|
|
3457
3707
|
|
|
3458
3708
|
var HOME_ADMIN = "/admin/user";
|
|
@@ -3462,39 +3712,74 @@ var DASHBOARD_TITLE = "Dashboard";
|
|
|
3462
3712
|
var ROOT_TITLE = "Mario Framework";
|
|
3463
3713
|
|
|
3464
3714
|
var Dashboard = function Dashboard() {
|
|
3715
|
+
var _useState = useState(false),
|
|
3716
|
+
isOpen = _useState[0],
|
|
3717
|
+
setIsOpen = _useState[1];
|
|
3718
|
+
|
|
3465
3719
|
var user = useSelector(function (state) {
|
|
3466
3720
|
return state.common.user;
|
|
3467
3721
|
});
|
|
3722
|
+
|
|
3723
|
+
var toggle = function toggle() {
|
|
3724
|
+
return setIsOpen(!isOpen);
|
|
3725
|
+
};
|
|
3726
|
+
|
|
3468
3727
|
useEffect(function () {
|
|
3469
3728
|
!!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
|
|
3470
3729
|
}, [user]);
|
|
3471
3730
|
return React.createElement("div", {
|
|
3472
3731
|
className: styles["login"] + " " + styles["red-background"]
|
|
3473
|
-
}, React.createElement(
|
|
3474
|
-
className:
|
|
3475
|
-
}, React.createElement(
|
|
3476
|
-
|
|
3477
|
-
|
|
3732
|
+
}, React.createElement("div", {
|
|
3733
|
+
className: "" + styles["login-content"]
|
|
3734
|
+
}, React.createElement(Navbar, {
|
|
3735
|
+
light: true,
|
|
3736
|
+
expand: "md"
|
|
3737
|
+
}, React.createElement(NavbarBrand, {
|
|
3738
|
+
href: "/",
|
|
3739
|
+
className: "" + styles["logo-home"]
|
|
3740
|
+
}, React.createElement("img", {
|
|
3741
|
+
src: "/images/logo-v2.svg",
|
|
3742
|
+
alt: "mario"
|
|
3743
|
+
})), React.createElement(GiHamburgerMenu, {
|
|
3744
|
+
onClick: toggle,
|
|
3745
|
+
className: styles["hide-in-desktop"] + " " + styles["hamburger-menu"]
|
|
3746
|
+
}), React.createElement(Collapse, {
|
|
3747
|
+
isOpen: isOpen,
|
|
3748
|
+
navbar: true,
|
|
3749
|
+
className: "" + styles["collapse-box"]
|
|
3750
|
+
}, React.createElement(Nav, {
|
|
3751
|
+
className: styles["nav-home"] + " d-md-flex w-100 justify-content-center mr-auto",
|
|
3752
|
+
navbar: true
|
|
3753
|
+
}, React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3754
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3755
|
+
href: "https://marioframework.com/software",
|
|
3478
3756
|
target: "blank"
|
|
3479
|
-
}, "
|
|
3480
|
-
className: styles["contact"] + " align-self-
|
|
3757
|
+
}, "Learn More")), React.createElement(NavItem, null, React.createElement(Link, {
|
|
3758
|
+
className: styles["contact"] + " align-self-md-center",
|
|
3481
3759
|
to: "/contact"
|
|
3482
|
-
}, "Contact"), React.createElement(
|
|
3483
|
-
className: styles["learn-more"] + " align-self-
|
|
3484
|
-
href: "
|
|
3760
|
+
}, "Contact")), React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3761
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3762
|
+
href: "/privacy-policy",
|
|
3485
3763
|
target: "blank"
|
|
3486
|
-
}, "
|
|
3764
|
+
}, "Privacy Policy"))), React.createElement("div", {
|
|
3765
|
+
className: styles["hide-in-mobile"] + " d-flex justify-content-end"
|
|
3766
|
+
}, user ? React.createElement(Link, {
|
|
3487
3767
|
to: user.roles.includes("Admin") ? HOME_ADMIN : user.roles.includes("Teacher") ? HOME_TEACHER : HOME_STUDENT,
|
|
3488
3768
|
className: "" + styles["btn-trans-border"]
|
|
3489
3769
|
}, "Dashboard") : React.createElement(Link, {
|
|
3490
3770
|
to: "/login",
|
|
3491
3771
|
className: "" + styles["btn-trans-border"]
|
|
3492
|
-
}, "Login"))), React.createElement(
|
|
3493
|
-
className:
|
|
3494
|
-
}, React.createElement(
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3772
|
+
}, "Login")))), React.createElement("div", {
|
|
3773
|
+
className: ""
|
|
3774
|
+
}, React.createElement(ContentHomePage, null)), React.createElement("div", {
|
|
3775
|
+
className: "" + styles["digital-privacy-icon"]
|
|
3776
|
+
}, React.createElement("a", {
|
|
3777
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3778
|
+
target: "blank"
|
|
3779
|
+
}, React.createElement("img", {
|
|
3780
|
+
src: "/images/STUDENT.png",
|
|
3781
|
+
alt: "icon"
|
|
3782
|
+
})))));
|
|
3498
3783
|
};
|
|
3499
3784
|
|
|
3500
3785
|
var Images = {
|
|
@@ -4762,7 +5047,7 @@ var question$2 = _extends({}, config, {
|
|
|
4762
5047
|
}
|
|
4763
5048
|
});
|
|
4764
5049
|
|
|
4765
|
-
var answer = _extends({}, config, {
|
|
5050
|
+
var answer$2 = _extends({}, config, {
|
|
4766
5051
|
height: ANSWER_EDITOR_HEIGHT,
|
|
4767
5052
|
images_upload_handler: function images_upload_handler(blobInfo, success) {
|
|
4768
5053
|
try {
|
|
@@ -4832,7 +5117,7 @@ var tutorial = _extends({}, config, {
|
|
|
4832
5117
|
var editorConfig = {
|
|
4833
5118
|
email: email$2,
|
|
4834
5119
|
question: question$2,
|
|
4835
|
-
answer: answer,
|
|
5120
|
+
answer: answer$2,
|
|
4836
5121
|
tutorial: tutorial
|
|
4837
5122
|
};
|
|
4838
5123
|
|
|
@@ -6346,6 +6631,7 @@ var setStudentList = createAction("users/setStudentList");
|
|
|
6346
6631
|
var USER_URL$1 = BASE_URL + "/api/user";
|
|
6347
6632
|
var CHANGE_PASSWORD = BASE_URL + "/api/Account/changePassword";
|
|
6348
6633
|
var ACCOUNT_URL$1 = BASE_URL + "/api/account";
|
|
6634
|
+
var EDU_USER_URL = BASE_URL + "/api/User/delete-item-user";
|
|
6349
6635
|
var get$5 = function get(filter) {
|
|
6350
6636
|
return api.get("" + USER_URL$1, {
|
|
6351
6637
|
params: filter
|
|
@@ -6361,7 +6647,7 @@ var update$5 = function update(data) {
|
|
|
6361
6647
|
return api.put(USER_URL$1 + "/" + data.id, data);
|
|
6362
6648
|
};
|
|
6363
6649
|
var remove$3 = function remove(id) {
|
|
6364
|
-
return api["delete"](
|
|
6650
|
+
return api["delete"](EDU_USER_URL + "/" + id);
|
|
6365
6651
|
};
|
|
6366
6652
|
var changePassword = function changePassword(formData) {
|
|
6367
6653
|
return api.post(CHANGE_PASSWORD, formData);
|
|
@@ -7736,7 +8022,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7736
8022
|
};
|
|
7737
8023
|
|
|
7738
8024
|
var viewNotification = function viewNotification(notification) {
|
|
7739
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
|
|
8025
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8;
|
|
7740
8026
|
|
|
7741
8027
|
var source = notification.source,
|
|
7742
8028
|
extraData = notification.extraData;
|
|
@@ -7750,8 +8036,28 @@ var useNotificationList = function useNotificationList() {
|
|
|
7750
8036
|
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");
|
|
7751
8037
|
break;
|
|
7752
8038
|
|
|
8039
|
+
case "Class Reflection":
|
|
8040
|
+
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]));
|
|
8041
|
+
break;
|
|
8042
|
+
|
|
7753
8043
|
case "NewSessionCreated":
|
|
7754
|
-
window.open("/start-question/" + ((_JSON$
|
|
8044
|
+
window.open("/start-question/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[0]) + "/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]));
|
|
8045
|
+
break;
|
|
8046
|
+
|
|
8047
|
+
case "NewSessionComplete":
|
|
8048
|
+
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]));
|
|
8049
|
+
break;
|
|
8050
|
+
|
|
8051
|
+
case "ActionPointReminder":
|
|
8052
|
+
window.open("/action-point/to-do");
|
|
8053
|
+
break;
|
|
8054
|
+
|
|
8055
|
+
case "SendNotiPLP":
|
|
8056
|
+
window.open("/personal-learning-plan");
|
|
8057
|
+
break;
|
|
8058
|
+
|
|
8059
|
+
case "SendNotiGOAL":
|
|
8060
|
+
window.open("/my-goals/" + JSON.parse(extraData));
|
|
7755
8061
|
break;
|
|
7756
8062
|
|
|
7757
8063
|
case "CertificateApproved":
|
|
@@ -7971,7 +8277,7 @@ var NotificationList = function NotificationList() {
|
|
|
7971
8277
|
}
|
|
7972
8278
|
})), React.createElement("td", {
|
|
7973
8279
|
className: "text-center align-middle"
|
|
7974
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8280
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
7975
8281
|
className: "cursor-pointer",
|
|
7976
8282
|
size: ICON_SIZE,
|
|
7977
8283
|
title: "Detail",
|