mario-core 3.0.9-admin → 3.0.10-admin
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 +5 -2
- package/dist/index.css +127 -167
- package/dist/index.d.ts +2 -2
- package/dist/index.js +87 -109
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +88 -111
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/package.json +1 -1
- package/dist/containers/Login/constant/type.d.ts +0 -5
- package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
- package/dist/utils/amplitude.d.ts +0 -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,
|
|
6
|
+
import { Input, Modal, ModalHeader, ModalBody, ModalFooter, Button, Row, Col, Form, FormGroup, Label, Dropdown, DropdownToggle, DropdownMenu, NavLink, DropdownItem, Alert, Pagination, PaginationItem, PaginationLink, Table, CustomInput, Nav, NavItem, 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,7 +14,6 @@ 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';
|
|
18
17
|
import { CSidebar, CSidebarBrand, CSidebarNav, CCreateElement, CSidebarNavDivider, CSidebarNavDropdown, CSidebarNavItem, CSidebarNavTitle, CSidebarFooter, CHeader, CHeaderBrand, CHeaderNav, CContainer } from '@coreui/react';
|
|
19
18
|
import { CgMenuRight } from 'react-icons/cg';
|
|
20
19
|
import { RiLogoutBoxRLine } from 'react-icons/ri';
|
|
@@ -196,6 +195,7 @@ var current_assistant_email = "Current Assistant Email";
|
|
|
196
195
|
var remove_assistant = "Remove Assistant";
|
|
197
196
|
var switch_assistant = "Switch Assistant";
|
|
198
197
|
var select_assistant_change = "Select Assistant change";
|
|
198
|
+
var select_assistant = "Select Assistant";
|
|
199
199
|
var welcome_email_resend = "Welcome Email Re-send";
|
|
200
200
|
var send_for_selected_users = "Send for selected users";
|
|
201
201
|
var user_name = "User Name";
|
|
@@ -675,6 +675,7 @@ var lang_us = {
|
|
|
675
675
|
remove_assistant: remove_assistant,
|
|
676
676
|
switch_assistant: switch_assistant,
|
|
677
677
|
select_assistant_change: select_assistant_change,
|
|
678
|
+
select_assistant: select_assistant,
|
|
678
679
|
welcome_email_resend: welcome_email_resend,
|
|
679
680
|
send_for_selected_users: send_for_selected_users,
|
|
680
681
|
user_name: user_name,
|
|
@@ -1158,6 +1159,7 @@ var current_assistant_email$1 = "Current Assistant Email";
|
|
|
1158
1159
|
var remove_assistant$1 = "Remove Assistant";
|
|
1159
1160
|
var switch_assistant$1 = "Switch Assistant";
|
|
1160
1161
|
var select_assistant_change$1 = "Select Assistant change";
|
|
1162
|
+
var select_assistant$1 = "Select Assistant";
|
|
1161
1163
|
var welcome_email_resend$1 = "Welcome Email Re-send";
|
|
1162
1164
|
var send_for_selected_users$1 = "Send for selected users";
|
|
1163
1165
|
var user_name$1 = "User Name";
|
|
@@ -1637,6 +1639,7 @@ var lang_uk = {
|
|
|
1637
1639
|
remove_assistant: remove_assistant$1,
|
|
1638
1640
|
switch_assistant: switch_assistant$1,
|
|
1639
1641
|
select_assistant_change: select_assistant_change$1,
|
|
1642
|
+
select_assistant: select_assistant$1,
|
|
1640
1643
|
welcome_email_resend: welcome_email_resend$1,
|
|
1641
1644
|
send_for_selected_users: send_for_selected_users$1,
|
|
1642
1645
|
user_name: user_name$1,
|
|
@@ -1995,7 +1998,7 @@ function _catch(body, recover) {
|
|
|
1995
1998
|
return result;
|
|
1996
1999
|
}
|
|
1997
2000
|
|
|
1998
|
-
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","
|
|
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","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","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","login":"_F-hjL","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","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
|
|
1999
2002
|
|
|
2000
2003
|
var style = {
|
|
2001
2004
|
fontSize: "0.85rem"
|
|
@@ -2175,6 +2178,7 @@ var ROLES = {
|
|
|
2175
2178
|
STUDENT: "Student",
|
|
2176
2179
|
PARENT: "Parent"
|
|
2177
2180
|
};
|
|
2181
|
+
var NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
|
|
2178
2182
|
|
|
2179
2183
|
var getAccessToken = (function () {
|
|
2180
2184
|
try {
|
|
@@ -2269,6 +2273,12 @@ var apiUpload = axios.create({
|
|
|
2269
2273
|
window.location.href = "/login";
|
|
2270
2274
|
}
|
|
2271
2275
|
|
|
2276
|
+
if (error.response.status == 403) {
|
|
2277
|
+
localStorage.removeItem(ACCESS_TOKEN);
|
|
2278
|
+
localStorage.removeItem("USER_EMAIL");
|
|
2279
|
+
window.location.href = "/login";
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2272
2282
|
return Promise.reject(error);
|
|
2273
2283
|
});
|
|
2274
2284
|
});
|
|
@@ -2382,6 +2392,7 @@ var useLogin = function useLogin() {
|
|
|
2382
2392
|
profileImageFileName = _res$data.profileImageFileName,
|
|
2383
2393
|
isLoginFirst = _res$data.isLoginFirst;
|
|
2384
2394
|
localStorage.setItem(ACCESS_TOKEN, token);
|
|
2395
|
+
localStorage.removeItem(NOTIFICATION_ALERT_KEY);
|
|
2385
2396
|
dispatch(setUser({
|
|
2386
2397
|
id: id,
|
|
2387
2398
|
firstName: firstName,
|
|
@@ -3377,45 +3388,55 @@ var Login = function Login(props) {
|
|
|
3377
3388
|
}), isForgotPassword && React.createElement(BlockForgetPassword, null)), isResetPassword && React.createElement(BlockResetPassword, null))));
|
|
3378
3389
|
};
|
|
3379
3390
|
|
|
3380
|
-
var QuoteContent = function QuoteContent() {
|
|
3391
|
+
var QuoteContent = function QuoteContent(_ref) {
|
|
3392
|
+
var descriptions = _ref.descriptions;
|
|
3381
3393
|
return React.createElement("div", {
|
|
3382
3394
|
className: "" + styles["content-quote"]
|
|
3383
|
-
}, React.createElement(
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3395
|
+
}, React.createElement(Row, null, React.createElement(Col, {
|
|
3396
|
+
md: 5,
|
|
3397
|
+
className: "" + styles["title-quote"]
|
|
3398
|
+
}, React.createElement("p", null, "Powerful"), React.createElement("p", null, "Personalized"), React.createElement("p", null, "Learning")), React.createElement(Col, {
|
|
3399
|
+
md: 7,
|
|
3400
|
+
className: styles["descriptions-quote"] + " d-flex align-items-center"
|
|
3401
|
+
}, React.createElement("p", null, descriptions))));
|
|
3388
3402
|
};
|
|
3389
3403
|
|
|
3390
3404
|
var IconContent = function IconContent(_ref) {
|
|
3391
3405
|
var srcIcon = _ref.srcIcon,
|
|
3392
3406
|
content = _ref.content;
|
|
3393
|
-
return React.createElement(
|
|
3394
|
-
key: content,
|
|
3407
|
+
return React.createElement(Row, {
|
|
3395
3408
|
className: "" + styles["content-icon"]
|
|
3396
|
-
}, React.createElement(
|
|
3409
|
+
}, React.createElement(Col, {
|
|
3410
|
+
md: 4,
|
|
3397
3411
|
className: "" + styles["title-icon"]
|
|
3398
3412
|
}, React.createElement("img", {
|
|
3399
3413
|
src: srcIcon,
|
|
3400
3414
|
alt: "icon"
|
|
3401
|
-
})), React.createElement(
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
}
|
|
3406
|
-
}));
|
|
3415
|
+
})), React.createElement(Col, {
|
|
3416
|
+
md: 8,
|
|
3417
|
+
className: styles["descriptions-icon"] + " d-flex align-items-center"
|
|
3418
|
+
}, React.createElement("p", null, content)));
|
|
3407
3419
|
};
|
|
3408
3420
|
|
|
3409
|
-
var
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3421
|
+
var data = {
|
|
3422
|
+
quote: {
|
|
3423
|
+
title: "Powerful Personalized Learning",
|
|
3424
|
+
description: "Focus on what matters most to you and make learning meaningful."
|
|
3425
|
+
},
|
|
3426
|
+
contents: [{
|
|
3427
|
+
scrIcon: "/images/177_2_Finance.svg",
|
|
3428
|
+
content: "Understand yourself better through helpful feedback."
|
|
3429
|
+
}, {
|
|
3430
|
+
scrIcon: "/images/177_9_Brain.svg",
|
|
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
|
+
};
|
|
3419
3440
|
|
|
3420
3441
|
var ContentHomePage = function ContentHomePage(_ref) {
|
|
3421
3442
|
_objectDestructuringEmpty(_ref);
|
|
@@ -3424,15 +3445,26 @@ var ContentHomePage = function ContentHomePage(_ref) {
|
|
|
3424
3445
|
className: "" + styles["page-not-login"]
|
|
3425
3446
|
}, React.createElement(Col, {
|
|
3426
3447
|
md: 12
|
|
3427
|
-
}, React.createElement(QuoteContent,
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3448
|
+
}, React.createElement(QuoteContent, {
|
|
3449
|
+
descriptions: data.quote.description
|
|
3450
|
+
})), data.contents.map(function (content, index) {
|
|
3451
|
+
return React.createElement(Col, {
|
|
3452
|
+
md: 6,
|
|
3453
|
+
key: index
|
|
3454
|
+
}, React.createElement(IconContent, {
|
|
3432
3455
|
srcIcon: content.scrIcon,
|
|
3433
3456
|
content: content.content
|
|
3434
|
-
});
|
|
3435
|
-
})
|
|
3457
|
+
}));
|
|
3458
|
+
}), React.createElement(Col, {
|
|
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
|
+
}))));
|
|
3436
3468
|
};
|
|
3437
3469
|
|
|
3438
3470
|
var HOME_ADMIN = "/admin/user";
|
|
@@ -3442,74 +3474,39 @@ var DASHBOARD_TITLE = "Dashboard";
|
|
|
3442
3474
|
var ROOT_TITLE = "Mario Framework";
|
|
3443
3475
|
|
|
3444
3476
|
var Dashboard = function Dashboard() {
|
|
3445
|
-
var _useState = useState(false),
|
|
3446
|
-
isOpen = _useState[0],
|
|
3447
|
-
setIsOpen = _useState[1];
|
|
3448
|
-
|
|
3449
3477
|
var user = useSelector(function (state) {
|
|
3450
3478
|
return state.common.user;
|
|
3451
3479
|
});
|
|
3452
|
-
|
|
3453
|
-
var toggle = function toggle() {
|
|
3454
|
-
return setIsOpen(!isOpen);
|
|
3455
|
-
};
|
|
3456
|
-
|
|
3457
3480
|
useEffect(function () {
|
|
3458
3481
|
!!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
|
|
3459
3482
|
}, [user]);
|
|
3460
3483
|
return React.createElement("div", {
|
|
3461
3484
|
className: styles["login"] + " " + styles["red-background"]
|
|
3462
|
-
}, React.createElement(
|
|
3463
|
-
className: "" +
|
|
3464
|
-
}, React.createElement(
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
}, React.createElement(NavbarBrand, {
|
|
3468
|
-
href: "/",
|
|
3469
|
-
className: "" + styles["logo-home"]
|
|
3470
|
-
}, React.createElement("img", {
|
|
3471
|
-
src: "/images/logo-v2.svg",
|
|
3472
|
-
alt: "mario"
|
|
3473
|
-
})), React.createElement(GiHamburgerMenu, {
|
|
3474
|
-
onClick: toggle,
|
|
3475
|
-
className: styles["hide-in-desktop"] + " " + styles["hamburger-menu"]
|
|
3476
|
-
}), React.createElement(Collapse, {
|
|
3477
|
-
isOpen: isOpen,
|
|
3478
|
-
navbar: true,
|
|
3479
|
-
className: "" + styles["collapse-box"]
|
|
3480
|
-
}, React.createElement(Nav, {
|
|
3481
|
-
className: styles["nav-home"] + " d-md-flex w-100 justify-content-center mr-auto",
|
|
3482
|
-
navbar: true
|
|
3483
|
-
}, React.createElement(NavItem, null, React.createElement(NavLink, {
|
|
3484
|
-
className: styles["learn-more"] + " align-self-md-center",
|
|
3485
|
-
href: "https://marioframework.com/software",
|
|
3485
|
+
}, React.createElement(Row, null, React.createElement(Col, {
|
|
3486
|
+
className: styles["nav-home"] + " d-flex w-100"
|
|
3487
|
+
}, React.createElement("a", {
|
|
3488
|
+
className: styles["learn-more"] + " align-self-lg-center",
|
|
3489
|
+
href: "/privacy-policy",
|
|
3486
3490
|
target: "blank"
|
|
3487
|
-
}, "
|
|
3488
|
-
className: styles["contact"] + " align-self-
|
|
3491
|
+
}, "Privacy Policy"), React.createElement(Link, {
|
|
3492
|
+
className: styles["contact"] + " align-self-lg-center",
|
|
3489
3493
|
to: "/contact"
|
|
3490
|
-
}, "Contact")
|
|
3491
|
-
className: styles["learn-more"] + " align-self-
|
|
3492
|
-
href: "/
|
|
3494
|
+
}, "Contact"), React.createElement("a", {
|
|
3495
|
+
className: styles["learn-more"] + " align-self-lg-center",
|
|
3496
|
+
href: "https://marioframework.com/software",
|
|
3493
3497
|
target: "blank"
|
|
3494
|
-
}, "
|
|
3495
|
-
className: styles["hide-in-mobile"] + " d-flex justify-content-end"
|
|
3496
|
-
}, user ? React.createElement(Link, {
|
|
3498
|
+
}, "Learn More"), user ? React.createElement(Link, {
|
|
3497
3499
|
to: user.roles.includes("Admin") ? HOME_ADMIN : user.roles.includes("Teacher") ? HOME_TEACHER : HOME_STUDENT,
|
|
3498
3500
|
className: "" + styles["btn-trans-border"]
|
|
3499
3501
|
}, "Dashboard") : React.createElement(Link, {
|
|
3500
3502
|
to: "/login",
|
|
3501
3503
|
className: "" + styles["btn-trans-border"]
|
|
3502
|
-
}, "Login")))
|
|
3503
|
-
className: ""
|
|
3504
|
-
}, React.createElement(
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
target: "blank"
|
|
3509
|
-
}, React.createElement("img", {
|
|
3510
|
-
src: "/images/STUDENT.png",
|
|
3511
|
-
alt: "icon"
|
|
3512
|
-
})))));
|
|
3504
|
+
}, "Login"))), React.createElement(Row, {
|
|
3505
|
+
className: styles["hide-in-mobile"] + " " + styles["hide-in-tablet"]
|
|
3506
|
+
}, React.createElement(Col, {
|
|
3507
|
+
md: 6,
|
|
3508
|
+
className: "offset-6 d-flex justify-content-center"
|
|
3509
|
+
}, React.createElement(ContentHomePage, null))));
|
|
3513
3510
|
};
|
|
3514
3511
|
|
|
3515
3512
|
var Images = {
|
|
@@ -7752,7 +7749,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7752
7749
|
};
|
|
7753
7750
|
|
|
7754
7751
|
var viewNotification = function viewNotification(notification) {
|
|
7755
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4
|
|
7752
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
|
|
7756
7753
|
|
|
7757
7754
|
var source = notification.source,
|
|
7758
7755
|
extraData = notification.extraData;
|
|
@@ -7766,28 +7763,8 @@ var useNotificationList = function useNotificationList() {
|
|
|
7766
7763
|
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");
|
|
7767
7764
|
break;
|
|
7768
7765
|
|
|
7769
|
-
case "Class Reflection":
|
|
7770
|
-
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]));
|
|
7771
|
-
break;
|
|
7772
|
-
|
|
7773
7766
|
case "NewSessionCreated":
|
|
7774
|
-
window.open("/start-question/" + ((_JSON$
|
|
7775
|
-
break;
|
|
7776
|
-
|
|
7777
|
-
case "NewSessionComplete":
|
|
7778
|
-
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]));
|
|
7779
|
-
break;
|
|
7780
|
-
|
|
7781
|
-
case "ActionPointReminder":
|
|
7782
|
-
window.open("/action-point/to-do");
|
|
7783
|
-
break;
|
|
7784
|
-
|
|
7785
|
-
case "SendNotiPLP":
|
|
7786
|
-
window.open("/personal-learning-plan");
|
|
7787
|
-
break;
|
|
7788
|
-
|
|
7789
|
-
case "SendNotiGOAL":
|
|
7790
|
-
window.open("/my-goals/" + JSON.parse(extraData));
|
|
7767
|
+
window.open("/start-question/" + ((_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]));
|
|
7791
7768
|
break;
|
|
7792
7769
|
|
|
7793
7770
|
case "CertificateApproved":
|
|
@@ -8007,7 +7984,7 @@ var NotificationList = function NotificationList() {
|
|
|
8007
7984
|
}
|
|
8008
7985
|
})), React.createElement("td", {
|
|
8009
7986
|
className: "text-center align-middle"
|
|
8010
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"
|
|
7987
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8011
7988
|
className: "cursor-pointer",
|
|
8012
7989
|
size: ICON_SIZE,
|
|
8013
7990
|
title: "Detail",
|
|
@@ -10210,5 +10187,5 @@ var generateRandomString = (function () {
|
|
|
10210
10187
|
|
|
10211
10188
|
var amplitudeClient = amplitude.getInstance();
|
|
10212
10189
|
|
|
10213
|
-
export { ACCESS_TOKEN, ANSWER_EDITOR_HEIGHT, AcademicClassSelector, AddButton, BASE_URL, CHAT_CHANNEL, CommonAlert, CommonHeader, CommonModal$1 as CommonModal, CreatableSelector, CustomPagination, CustomSelector, CustomTabs as CustomTab, DATE_FORMAT, DATE_RESULT, DEFAULT_FILTER, Dashboard, DeleteButtonIcon, DetailActionButtons, EMOTIONS, EditButtonIcon, EmailTemplateDetail, EmailTemplateList, EmptyDataAlert, ErrorHandler, FULL_DATE_RESULT, FaqList, InputFile as FileInput, GOOGLE_RECAPTCHA_KEY, GalleryList, INIT_AMPLITUDE_KEY, Images, LICENSE_AGGRID, LinkEditButton, Loading, Login, MediaList, NOTIFICATION_CHANNEL, NotFound, NotificationList, NotificationModal, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, QuestionCategorySelector, QuestionTypeSelector, QuitPrompt, ReactNotification, RequiredLabel$1 as RequiredLabel, SchoolList, ScrollToTop, SearchBox$1 as SearchBox, SearchBoxContainer, SkillList, StarRatingSelector, SuggestionCategorySelector, TAB_COLORS, TINY_MCE_API_KEY, TheContent$1 as TheContent, TheLayout, ToggleButton, UploadFileButton, UserDetail, UserList, addTab, amplitudeClient, answerQuestion, answerQuestionDataPlayer, api, apiUpload, canAccess as canAccessRoute, changeNote, changeTags, clearTab, closeTab, debounce, editTab, editorConfig, firstCheckToken, generateRandomString, getFileUrl, getInfo, getTextFromHTML, i18n, initAmplitude, isInViewport, reset, setAlert, setAssessmentList, setAssignmentList, setAssistantList, setBadgeList, setBandScoreList, setCertificateList, setClassList, setConferenceRubricList, setConversationOneToOne, setCurrentStudentId, setCurrentStudentName, setCurrentStudentUserId, setCustomAlertList, setDataPlayer, setEditItemQuesion, setEnableIEP, setEnableSurvey, setFeedbackList, setFilterWidget, setGoalExampleList, setImproveMyClass, setLanguage, setLearningSupportCategoryList, setLoading, setMailCategory, setModal, setMoveItemQuestion, setMyStudent, setQuestionByCategory, setQuestionCateList, setQuestionList, setReflectionList, setReflectionResultList, setResetQuestionList, setSchoolBlankDayList, setSelectQuestion, setSemesterList, setSessionPlayer, setSessionTemplateGeneralClassList, setSessionTemplateList, setStartTime, setStrategyList, setStudentIdSelectedByTeacher, setStudentList, setSubjectList, setSuggestionList, setTurnOffPassWhenChangeMode, setTutorialScreenList, setUser, setUserList, showFontSize, showMenuBar, store, systemCertificateUpload, systemStudentBadge, uploadFile, useFilters, useGalleryList, utcToLocalTime };
|
|
10190
|
+
export { ACCESS_TOKEN, ANSWER_EDITOR_HEIGHT, AcademicClassSelector, AddButton, BASE_URL, CHAT_CHANNEL, CommonAlert, CommonHeader, CommonModal$1 as CommonModal, CreatableSelector, CustomPagination, CustomSelector, CustomTabs as CustomTab, DATE_FORMAT, DATE_RESULT, DEFAULT_FILTER, Dashboard, DeleteButtonIcon, DetailActionButtons, EMOTIONS, EditButtonIcon, EmailTemplateDetail, EmailTemplateList, EmptyDataAlert, ErrorHandler, FULL_DATE_RESULT, FaqList, InputFile as FileInput, GOOGLE_RECAPTCHA_KEY, GalleryList, INIT_AMPLITUDE_KEY, Images, LICENSE_AGGRID, LinkEditButton, Loading, Login, MediaList, NOTIFICATION_ALERT_KEY, NOTIFICATION_CHANNEL, NotFound, NotificationList, NotificationModal, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, QuestionCategorySelector, QuestionTypeSelector, QuitPrompt, ReactNotification, RequiredLabel$1 as RequiredLabel, SchoolList, ScrollToTop, SearchBox$1 as SearchBox, SearchBoxContainer, SkillList, StarRatingSelector, SuggestionCategorySelector, TAB_COLORS, TINY_MCE_API_KEY, TheContent$1 as TheContent, TheLayout, ToggleButton, UploadFileButton, UserDetail, UserList, addTab, amplitudeClient, answerQuestion, answerQuestionDataPlayer, api, apiUpload, canAccess as canAccessRoute, changeNote, changeTags, clearTab, closeTab, debounce, editTab, editorConfig, firstCheckToken, generateRandomString, getFileUrl, getInfo, getTextFromHTML, i18n, initAmplitude, isInViewport, reset, setAlert, setAssessmentList, setAssignmentList, setAssistantList, setBadgeList, setBandScoreList, setCertificateList, setClassList, setConferenceRubricList, setConversationOneToOne, setCurrentStudentId, setCurrentStudentName, setCurrentStudentUserId, setCustomAlertList, setDataPlayer, setEditItemQuesion, setEnableIEP, setEnableSurvey, setFeedbackList, setFilterWidget, setGoalExampleList, setImproveMyClass, setLanguage, setLearningSupportCategoryList, setLoading, setMailCategory, setModal, setMoveItemQuestion, setMyStudent, setQuestionByCategory, setQuestionCateList, setQuestionList, setReflectionList, setReflectionResultList, setResetQuestionList, setSchoolBlankDayList, setSelectQuestion, setSemesterList, setSessionPlayer, setSessionTemplateGeneralClassList, setSessionTemplateList, setStartTime, setStrategyList, setStudentIdSelectedByTeacher, setStudentList, setSubjectList, setSuggestionList, setTurnOffPassWhenChangeMode, setTutorialScreenList, setUser, setUserList, showFontSize, showMenuBar, store, systemCertificateUpload, systemStudentBadge, uploadFile, useFilters, useGalleryList, utcToLocalTime };
|
|
10214
10191
|
//# sourceMappingURL=index.modern.js.map
|