mario-core 2.9.50-beta → 2.9.52-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 +139 -79
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +140 -80
- 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';
|
|
@@ -204,7 +205,7 @@ var use_for = "Use for";
|
|
|
204
205
|
var admin_training = "Admin training";
|
|
205
206
|
var teacher_training = "Teacher training";
|
|
206
207
|
var created_time = "Create time";
|
|
207
|
-
var total_reflections = "Total
|
|
208
|
+
var total_reflections = "Total Reflections";
|
|
208
209
|
var student_training = "Student training";
|
|
209
210
|
var create_destination = "Create Destination";
|
|
210
211
|
var total_of_designation = "Total of Designation";
|
|
@@ -1004,7 +1005,7 @@ var export_to_pdf$1 = "Export to PDF";
|
|
|
1004
1005
|
var the_data_is_taken_from_the_home_screen$1 = "The data is taken from the home screen";
|
|
1005
1006
|
var make_sure_everything_is_set_correctly_before_exporting$1 = "Make sure everything is set correctly before exporting.";
|
|
1006
1007
|
var cancel$1 = "Cancel";
|
|
1007
|
-
var hey$1 = "Hey
|
|
1008
|
+
var hey$1 = "Hey";
|
|
1008
1009
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
1009
1010
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
1010
1011
|
var reflection$1 = "Reflection";
|
|
@@ -1166,7 +1167,7 @@ var use_for$1 = "Use for";
|
|
|
1166
1167
|
var admin_training$1 = "Admin training";
|
|
1167
1168
|
var teacher_training$1 = "Teacher training";
|
|
1168
1169
|
var created_time$1 = "Create time";
|
|
1169
|
-
var total_reflections$1 = "Total
|
|
1170
|
+
var total_reflections$1 = "Total Reflections:";
|
|
1170
1171
|
var student_training$1 = "Student training";
|
|
1171
1172
|
var create_destination$1 = "Create Destination";
|
|
1172
1173
|
var total_of_designation$1 = "Total of Designation";
|
|
@@ -1469,6 +1470,18 @@ var search_activity$1 = "Search activity";
|
|
|
1469
1470
|
var activity$1 = "Activity";
|
|
1470
1471
|
var activity_type$1 = "Activity type";
|
|
1471
1472
|
var select_or_type_an_activity$1 = "Select or type an activity";
|
|
1473
|
+
var action_need = "ACTION NEEDED";
|
|
1474
|
+
var external = "EXTERNAL";
|
|
1475
|
+
var student_survey = "Student Survey";
|
|
1476
|
+
var view_survey = "VIEW SURVEY";
|
|
1477
|
+
var create_a_survey = "Create a survey";
|
|
1478
|
+
var review = "Review";
|
|
1479
|
+
var publish_survey = "Publish survey";
|
|
1480
|
+
var total_surveys = "Total Surveys";
|
|
1481
|
+
var flags = "Flags";
|
|
1482
|
+
var scheduled_session = "Scheduled Session";
|
|
1483
|
+
var total_survey_done = "Total survey done";
|
|
1484
|
+
var total_survey_not_done = "Total survey not done";
|
|
1472
1485
|
var lang_uk = {
|
|
1473
1486
|
dashboard: dashboard$1,
|
|
1474
1487
|
user: user$1,
|
|
@@ -1951,7 +1964,19 @@ var lang_uk = {
|
|
|
1951
1964
|
search_activity: search_activity$1,
|
|
1952
1965
|
activity: activity$1,
|
|
1953
1966
|
activity_type: activity_type$1,
|
|
1954
|
-
select_or_type_an_activity: select_or_type_an_activity$1
|
|
1967
|
+
select_or_type_an_activity: select_or_type_an_activity$1,
|
|
1968
|
+
action_need: action_need,
|
|
1969
|
+
external: external,
|
|
1970
|
+
student_survey: student_survey,
|
|
1971
|
+
view_survey: view_survey,
|
|
1972
|
+
create_a_survey: create_a_survey,
|
|
1973
|
+
review: review,
|
|
1974
|
+
publish_survey: publish_survey,
|
|
1975
|
+
total_surveys: total_surveys,
|
|
1976
|
+
flags: flags,
|
|
1977
|
+
scheduled_session: scheduled_session,
|
|
1978
|
+
total_survey_done: total_survey_done,
|
|
1979
|
+
total_survey_not_done: total_survey_not_done
|
|
1955
1980
|
};
|
|
1956
1981
|
|
|
1957
1982
|
var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
|
|
@@ -1994,7 +2019,7 @@ function _catch(body, recover) {
|
|
|
1994
2019
|
return result;
|
|
1995
2020
|
}
|
|
1996
2021
|
|
|
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","
|
|
2022
|
+
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
2023
|
|
|
1999
2024
|
var style = {
|
|
2000
2025
|
fontSize: "0.85rem"
|
|
@@ -3376,55 +3401,45 @@ var Login = function Login(props) {
|
|
|
3376
3401
|
}), isForgotPassword && React.createElement(BlockForgetPassword, null)), isResetPassword && React.createElement(BlockResetPassword, null))));
|
|
3377
3402
|
};
|
|
3378
3403
|
|
|
3379
|
-
var QuoteContent = function QuoteContent(
|
|
3380
|
-
var descriptions = _ref.descriptions;
|
|
3404
|
+
var QuoteContent = function QuoteContent() {
|
|
3381
3405
|
return React.createElement("div", {
|
|
3382
3406
|
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))));
|
|
3407
|
+
}, React.createElement("div", {
|
|
3408
|
+
className: styles["title-quote"] + " d-block"
|
|
3409
|
+
}, React.createElement("p", null, "Powerful"), React.createElement("p", null, "Personalized"), React.createElement("p", null, "Learning")), React.createElement("div", {
|
|
3410
|
+
className: styles["descriptions-quote"] + " d-block"
|
|
3411
|
+
}, React.createElement("p", null, "Focus on what matters most to you and"), React.createElement("p", null, "and make learning meaningful.")));
|
|
3390
3412
|
};
|
|
3391
3413
|
|
|
3392
3414
|
var IconContent = function IconContent(_ref) {
|
|
3393
3415
|
var srcIcon = _ref.srcIcon,
|
|
3394
3416
|
content = _ref.content;
|
|
3395
|
-
return React.createElement(
|
|
3417
|
+
return React.createElement("div", {
|
|
3418
|
+
key: content,
|
|
3396
3419
|
className: "" + styles["content-icon"]
|
|
3397
|
-
}, React.createElement(
|
|
3398
|
-
md: 4,
|
|
3420
|
+
}, React.createElement("div", {
|
|
3399
3421
|
className: "" + styles["title-icon"]
|
|
3400
3422
|
}, React.createElement("img", {
|
|
3401
3423
|
src: srcIcon,
|
|
3402
3424
|
alt: "icon"
|
|
3403
|
-
})), React.createElement(
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3425
|
+
})), React.createElement("div", {
|
|
3426
|
+
className: "" + styles["descriptions-icon"],
|
|
3427
|
+
dangerouslySetInnerHTML: {
|
|
3428
|
+
__html: content
|
|
3429
|
+
}
|
|
3430
|
+
}));
|
|
3407
3431
|
};
|
|
3408
3432
|
|
|
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
|
-
};
|
|
3433
|
+
var contents = [{
|
|
3434
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
3435
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
3436
|
+
}, {
|
|
3437
|
+
scrIcon: "/images/Student.svg",
|
|
3438
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
3439
|
+
}, {
|
|
3440
|
+
scrIcon: "/images/Confetti.svg",
|
|
3441
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
3442
|
+
}];
|
|
3428
3443
|
|
|
3429
3444
|
var ContentHomePage = function ContentHomePage(_ref) {
|
|
3430
3445
|
_objectDestructuringEmpty(_ref);
|
|
@@ -3433,26 +3448,15 @@ var ContentHomePage = function ContentHomePage(_ref) {
|
|
|
3433
3448
|
className: "" + styles["page-not-login"]
|
|
3434
3449
|
}, React.createElement(Col, {
|
|
3435
3450
|
md: 12
|
|
3436
|
-
}, React.createElement(QuoteContent, {
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
key: index
|
|
3442
|
-
}, React.createElement(IconContent, {
|
|
3451
|
+
}, React.createElement(QuoteContent, null)), React.createElement(Col, {
|
|
3452
|
+
md: 12,
|
|
3453
|
+
className: styles["box-content-home-page"] + " d-flex align-items-center"
|
|
3454
|
+
}, contents.map(function (content) {
|
|
3455
|
+
return React.createElement(IconContent, {
|
|
3443
3456
|
srcIcon: content.scrIcon,
|
|
3444
3457
|
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
|
-
}))));
|
|
3458
|
+
});
|
|
3459
|
+
})));
|
|
3456
3460
|
};
|
|
3457
3461
|
|
|
3458
3462
|
var HOME_ADMIN = "/admin/user";
|
|
@@ -3462,39 +3466,74 @@ var DASHBOARD_TITLE = "Dashboard";
|
|
|
3462
3466
|
var ROOT_TITLE = "Mario Framework";
|
|
3463
3467
|
|
|
3464
3468
|
var Dashboard = function Dashboard() {
|
|
3469
|
+
var _useState = useState(false),
|
|
3470
|
+
isOpen = _useState[0],
|
|
3471
|
+
setIsOpen = _useState[1];
|
|
3472
|
+
|
|
3465
3473
|
var user = useSelector(function (state) {
|
|
3466
3474
|
return state.common.user;
|
|
3467
3475
|
});
|
|
3476
|
+
|
|
3477
|
+
var toggle = function toggle() {
|
|
3478
|
+
return setIsOpen(!isOpen);
|
|
3479
|
+
};
|
|
3480
|
+
|
|
3468
3481
|
useEffect(function () {
|
|
3469
3482
|
!!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
|
|
3470
3483
|
}, [user]);
|
|
3471
3484
|
return React.createElement("div", {
|
|
3472
3485
|
className: styles["login"] + " " + styles["red-background"]
|
|
3473
|
-
}, React.createElement(
|
|
3474
|
-
className:
|
|
3475
|
-
}, React.createElement(
|
|
3476
|
-
|
|
3477
|
-
|
|
3486
|
+
}, React.createElement("div", {
|
|
3487
|
+
className: "" + styles["login-content"]
|
|
3488
|
+
}, React.createElement(Navbar, {
|
|
3489
|
+
light: true,
|
|
3490
|
+
expand: "md"
|
|
3491
|
+
}, React.createElement(NavbarBrand, {
|
|
3492
|
+
href: "/",
|
|
3493
|
+
className: "" + styles["logo-home"]
|
|
3494
|
+
}, React.createElement("img", {
|
|
3495
|
+
src: "/images/logo-v2.svg",
|
|
3496
|
+
alt: "mario"
|
|
3497
|
+
})), React.createElement(GiHamburgerMenu, {
|
|
3498
|
+
onClick: toggle,
|
|
3499
|
+
className: styles["hide-in-desktop"] + " " + styles["hamburger-menu"]
|
|
3500
|
+
}), React.createElement(Collapse, {
|
|
3501
|
+
isOpen: isOpen,
|
|
3502
|
+
navbar: true,
|
|
3503
|
+
className: "" + styles["collapse-box"]
|
|
3504
|
+
}, React.createElement(Nav, {
|
|
3505
|
+
className: styles["nav-home"] + " d-md-flex w-100 justify-content-center mr-auto",
|
|
3506
|
+
navbar: true
|
|
3507
|
+
}, React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3508
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3509
|
+
href: "https://marioframework.com/software",
|
|
3478
3510
|
target: "blank"
|
|
3479
|
-
}, "
|
|
3480
|
-
className: styles["contact"] + " align-self-
|
|
3511
|
+
}, "Learn More")), React.createElement(NavItem, null, React.createElement(Link, {
|
|
3512
|
+
className: styles["contact"] + " align-self-md-center",
|
|
3481
3513
|
to: "/contact"
|
|
3482
|
-
}, "Contact"), React.createElement(
|
|
3483
|
-
className: styles["learn-more"] + " align-self-
|
|
3484
|
-
href: "
|
|
3514
|
+
}, "Contact")), React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3515
|
+
className: styles["learn-more"] + " align-self-md-center",
|
|
3516
|
+
href: "/privacy-policy",
|
|
3485
3517
|
target: "blank"
|
|
3486
|
-
}, "
|
|
3518
|
+
}, "Privacy Policy"))), React.createElement("div", {
|
|
3519
|
+
className: styles["hide-in-mobile"] + " d-flex justify-content-end"
|
|
3520
|
+
}, user ? React.createElement(Link, {
|
|
3487
3521
|
to: user.roles.includes("Admin") ? HOME_ADMIN : user.roles.includes("Teacher") ? HOME_TEACHER : HOME_STUDENT,
|
|
3488
3522
|
className: "" + styles["btn-trans-border"]
|
|
3489
3523
|
}, "Dashboard") : React.createElement(Link, {
|
|
3490
3524
|
to: "/login",
|
|
3491
3525
|
className: "" + styles["btn-trans-border"]
|
|
3492
|
-
}, "Login"))), React.createElement(
|
|
3493
|
-
className:
|
|
3494
|
-
}, React.createElement(
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3526
|
+
}, "Login")))), React.createElement("div", {
|
|
3527
|
+
className: ""
|
|
3528
|
+
}, React.createElement(ContentHomePage, null)), React.createElement("div", {
|
|
3529
|
+
className: "" + styles["digital-privacy-icon"]
|
|
3530
|
+
}, React.createElement("a", {
|
|
3531
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
3532
|
+
target: "blank"
|
|
3533
|
+
}, React.createElement("img", {
|
|
3534
|
+
src: "/images/STUDENT.png",
|
|
3535
|
+
alt: "icon"
|
|
3536
|
+
})))));
|
|
3498
3537
|
};
|
|
3499
3538
|
|
|
3500
3539
|
var Images = {
|
|
@@ -6346,6 +6385,7 @@ var setStudentList = createAction("users/setStudentList");
|
|
|
6346
6385
|
var USER_URL$1 = BASE_URL + "/api/user";
|
|
6347
6386
|
var CHANGE_PASSWORD = BASE_URL + "/api/Account/changePassword";
|
|
6348
6387
|
var ACCOUNT_URL$1 = BASE_URL + "/api/account";
|
|
6388
|
+
var EDU_USER_URL = BASE_URL + "/api/User/delete-item-user";
|
|
6349
6389
|
var get$5 = function get(filter) {
|
|
6350
6390
|
return api.get("" + USER_URL$1, {
|
|
6351
6391
|
params: filter
|
|
@@ -6361,7 +6401,7 @@ var update$5 = function update(data) {
|
|
|
6361
6401
|
return api.put(USER_URL$1 + "/" + data.id, data);
|
|
6362
6402
|
};
|
|
6363
6403
|
var remove$3 = function remove(id) {
|
|
6364
|
-
return api["delete"](
|
|
6404
|
+
return api["delete"](EDU_USER_URL + "/" + id);
|
|
6365
6405
|
};
|
|
6366
6406
|
var changePassword = function changePassword(formData) {
|
|
6367
6407
|
return api.post(CHANGE_PASSWORD, formData);
|
|
@@ -7736,7 +7776,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7736
7776
|
};
|
|
7737
7777
|
|
|
7738
7778
|
var viewNotification = function viewNotification(notification) {
|
|
7739
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
|
|
7779
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8;
|
|
7740
7780
|
|
|
7741
7781
|
var source = notification.source,
|
|
7742
7782
|
extraData = notification.extraData;
|
|
@@ -7750,8 +7790,28 @@ var useNotificationList = function useNotificationList() {
|
|
|
7750
7790
|
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
7791
|
break;
|
|
7752
7792
|
|
|
7793
|
+
case "Class Reflection":
|
|
7794
|
+
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]));
|
|
7795
|
+
break;
|
|
7796
|
+
|
|
7753
7797
|
case "NewSessionCreated":
|
|
7754
|
-
window.open("/start-question/" + ((_JSON$
|
|
7798
|
+
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]));
|
|
7799
|
+
break;
|
|
7800
|
+
|
|
7801
|
+
case "NewSessionComplete":
|
|
7802
|
+
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]));
|
|
7803
|
+
break;
|
|
7804
|
+
|
|
7805
|
+
case "ActionPointReminder":
|
|
7806
|
+
window.open("/action-point/to-do");
|
|
7807
|
+
break;
|
|
7808
|
+
|
|
7809
|
+
case "SendNotiPLP":
|
|
7810
|
+
window.open("/personal-learning-plan");
|
|
7811
|
+
break;
|
|
7812
|
+
|
|
7813
|
+
case "SendNotiGOAL":
|
|
7814
|
+
window.open("/my-goals/" + JSON.parse(extraData));
|
|
7755
7815
|
break;
|
|
7756
7816
|
|
|
7757
7817
|
case "CertificateApproved":
|
|
@@ -7971,7 +8031,7 @@ var NotificationList = function NotificationList() {
|
|
|
7971
8031
|
}
|
|
7972
8032
|
})), React.createElement("td", {
|
|
7973
8033
|
className: "text-center align-middle"
|
|
7974
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8034
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
7975
8035
|
className: "cursor-pointer",
|
|
7976
8036
|
size: ICON_SIZE,
|
|
7977
8037
|
title: "Detail",
|