mario-education 2.4.296-layout → 2.4.297-layout
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/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -51156,7 +51156,7 @@ var headerHeightScroll = 0;
|
|
|
51156
51156
|
var defaultFontSize = 16;
|
|
51157
51157
|
var defaultFontSmall = 12;
|
|
51158
51158
|
var defaultFontLarge = 20;
|
|
51159
|
-
var LOGO = "" + marioCore.getStaticFileUrl("/images/logo-white.
|
|
51159
|
+
var LOGO = "" + marioCore.getStaticFileUrl("/images/logo-white.png");
|
|
51160
51160
|
var SMALL_FONT_DEFAULT$1 = 12;
|
|
51161
51161
|
var LARGE_FONT_DEFAULT$1 = 20;
|
|
51162
51162
|
var SESSION_START_TIME = "sessionStartTime";
|
|
@@ -86706,7 +86706,7 @@ var useViewStudent = function useViewStudent() {
|
|
|
86706
86706
|
if (!studentSelected || (studentSelected === null || studentSelected === void 0 ? void 0 : studentSelected.studentId) === 0) {
|
|
86707
86707
|
throw new Error(t("please_select_a_student"));
|
|
86708
86708
|
} else {
|
|
86709
|
-
history.push("/
|
|
86709
|
+
history.push("/student-detail/overview/" + (studentSelected === null || studentSelected === void 0 ? void 0 : studentSelected.studentId) + "?isReadOnly=true");
|
|
86710
86710
|
}
|
|
86711
86711
|
} catch (err) {
|
|
86712
86712
|
dispatch(marioCore.setAlert({
|
|
@@ -87412,6 +87412,10 @@ var useStyles$b = core$1.makeStyles(function () {
|
|
|
87412
87412
|
lineHeight: '30px',
|
|
87413
87413
|
marginBottom: 16
|
|
87414
87414
|
},
|
|
87415
|
+
containerAddStd: {
|
|
87416
|
+
display: 'flex',
|
|
87417
|
+
justifyContent: 'flex-end'
|
|
87418
|
+
},
|
|
87415
87419
|
description: {
|
|
87416
87420
|
fontSize: 12,
|
|
87417
87421
|
lineHeight: '18px'
|
|
@@ -87432,7 +87436,7 @@ var useStyles$b = core$1.makeStyles(function () {
|
|
|
87432
87436
|
},
|
|
87433
87437
|
buttonViewRoot: {
|
|
87434
87438
|
display: 'flex',
|
|
87435
|
-
justifyContent: '
|
|
87439
|
+
justifyContent: 'flex-end',
|
|
87436
87440
|
alignItems: 'center'
|
|
87437
87441
|
},
|
|
87438
87442
|
buttonView: {
|
|
@@ -87493,7 +87497,8 @@ var ViewStudent = function ViewStudent(_ref) {
|
|
|
87493
87497
|
className: classes.description
|
|
87494
87498
|
}, "Select a student to see their profile and learning plan")), React__default.createElement(core$1.Grid, {
|
|
87495
87499
|
item: true,
|
|
87496
|
-
xs: 5
|
|
87500
|
+
xs: 5,
|
|
87501
|
+
className: classes.containerAddStd
|
|
87497
87502
|
}, React__default.createElement(core$1.Button, {
|
|
87498
87503
|
variant: "contained",
|
|
87499
87504
|
startIcon: React__default.createElement(PlusIcon$1, {
|
|
@@ -87601,7 +87606,7 @@ var StudentWellnessNote = function StudentWellnessNote(_ref) {
|
|
|
87601
87606
|
style: {
|
|
87602
87607
|
marginRight: 3
|
|
87603
87608
|
}
|
|
87604
|
-
},
|
|
87609
|
+
}, percent.toFixed(2) + "%"), percentText)), !isBelowNumber && !!number && number > 0 && React__default.createElement(core$1.Typography, {
|
|
87605
87610
|
className: styles$7["student-wellness__item__info__students"] + " mb-0",
|
|
87606
87611
|
onClick: onSeeMore
|
|
87607
87612
|
}, "(", t("see_them"), ")"), !!number && React__default.createElement(core$1.Typography, {
|
|
@@ -89881,6 +89886,7 @@ var useStyles$i = styles$b.makeStyles(function (theme) {
|
|
|
89881
89886
|
display: "flex",
|
|
89882
89887
|
flexDirection: "column",
|
|
89883
89888
|
justifyContent: "space-between",
|
|
89889
|
+
boxShadow: '3px 0 5px 0px #e1e1e1',
|
|
89884
89890
|
width: drawerWidth
|
|
89885
89891
|
}, _drawerPaper["@media screen and (-webkit-min-device-pixel-ratio: 1.1),screen and (-moz-min-device-pixel-ratio: 1.1)"] = {
|
|
89886
89892
|
width: drawerWidth11
|
|
@@ -90199,6 +90205,8 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
90199
90205
|
} else {
|
|
90200
90206
|
pathname !== "/home" ? history.push("/home") : window.location.reload();
|
|
90201
90207
|
}
|
|
90208
|
+
|
|
90209
|
+
dispatch(marioCore.setLoading(false));
|
|
90202
90210
|
};
|
|
90203
90211
|
|
|
90204
90212
|
return React__default.createElement(core$1.Dialog, {
|
|
@@ -90432,7 +90440,7 @@ var MainLayoutAdmin = function MainLayoutAdmin(_ref) {
|
|
|
90432
90440
|
}, [location.pathname]);
|
|
90433
90441
|
React.useEffect(function () {
|
|
90434
90442
|
checkAuthentication();
|
|
90435
|
-
}, [isSandboxMode]);
|
|
90443
|
+
}, [isSandboxMode, localStorage.getItem('ACCESS_TOKEN')]);
|
|
90436
90444
|
|
|
90437
90445
|
var checkAuthentication = function checkAuthentication() {
|
|
90438
90446
|
try {
|