mario-teacher-student-client 2.1.126-admin → 2.1.127-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/index.css +9 -1
- package/dist/index.js +25 -19
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +25 -19
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -5122,7 +5122,7 @@ h2._1OAmb {
|
|
|
5122
5122
|
display: flex;
|
|
5123
5123
|
padding-bottom: 10px;
|
|
5124
5124
|
padding-right: 20px;
|
|
5125
|
-
justify-content:
|
|
5125
|
+
justify-content: space-between; }
|
|
5126
5126
|
|
|
5127
5127
|
._3d2hF ._zL0pN {
|
|
5128
5128
|
display: flex;
|
|
@@ -14402,6 +14402,14 @@ h4._3lNz0 {
|
|
|
14402
14402
|
._3u2Hp {
|
|
14403
14403
|
padding: 30px; }
|
|
14404
14404
|
|
|
14405
|
+
._3yRVo {
|
|
14406
|
+
font-size: 16px !important;
|
|
14407
|
+
font-weight: bold; }
|
|
14408
|
+
|
|
14409
|
+
._3M1fw {
|
|
14410
|
+
display: flex;
|
|
14411
|
+
align-items: center; }
|
|
14412
|
+
|
|
14405
14413
|
@font-face {
|
|
14406
14414
|
font-family: "Lato-Regular";
|
|
14407
14415
|
src: url("/fonts/Lato-Regular.ttf");
|
package/dist/index.js
CHANGED
|
@@ -4132,10 +4132,10 @@ var checkIsStartedSession = function checkIsStartedSession(sessionId) {
|
|
|
4132
4132
|
}
|
|
4133
4133
|
});
|
|
4134
4134
|
};
|
|
4135
|
-
var checkIsConferenceStarted = function checkIsConferenceStarted(
|
|
4135
|
+
var checkIsConferenceStarted = function checkIsConferenceStarted(conferenceId) {
|
|
4136
4136
|
return marioCore.api.get(TEACHER_URL$1 + "/current/check-session-conference", {
|
|
4137
4137
|
params: {
|
|
4138
|
-
|
|
4138
|
+
conferenceId: conferenceId
|
|
4139
4139
|
}
|
|
4140
4140
|
});
|
|
4141
4141
|
};
|
|
@@ -18407,7 +18407,7 @@ var OverviewLeft = function OverviewLeft(props) {
|
|
|
18407
18407
|
|
|
18408
18408
|
var openEdit = function openEdit() {
|
|
18409
18409
|
var url = "/student-detail/profile/" + studentId + "/update";
|
|
18410
|
-
!isAdmin && history.push(url);
|
|
18410
|
+
!isEduTeacher && !isAdmin && history.push(url);
|
|
18411
18411
|
};
|
|
18412
18412
|
|
|
18413
18413
|
return React__default.createElement("div", {
|
|
@@ -28927,13 +28927,14 @@ var useStyles$b = styles$N.makeStyles(function () {
|
|
|
28927
28927
|
};
|
|
28928
28928
|
});
|
|
28929
28929
|
var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
28930
|
+
var _filters$endDate, _filters$startDate, _filters$startDate2;
|
|
28931
|
+
|
|
28930
28932
|
var handleClose = props.handleClose,
|
|
28931
28933
|
open = props.open,
|
|
28932
28934
|
getLearningStrategiesData = props.getLearningStrategiesData,
|
|
28933
28935
|
changeFilters = props.changeFilters,
|
|
28934
28936
|
learningStrategiesData = props.learningStrategiesData,
|
|
28935
|
-
filters = props.filters
|
|
28936
|
-
isPlp = props.isPlp;
|
|
28937
|
+
filters = props.filters;
|
|
28937
28938
|
var inputSearch = React.useRef(null);
|
|
28938
28939
|
var classes = useStyles$b();
|
|
28939
28940
|
|
|
@@ -28988,7 +28989,7 @@ var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
|
28988
28989
|
};
|
|
28989
28990
|
|
|
28990
28991
|
React.useEffect(function () {
|
|
28991
|
-
|
|
28992
|
+
getLearningStrategiesData === null || getLearningStrategiesData === void 0 ? void 0 : getLearningStrategiesData();
|
|
28992
28993
|
}, [filters]);
|
|
28993
28994
|
return React__default.createElement(core.Dialog, {
|
|
28994
28995
|
onClose: function onClose() {
|
|
@@ -29030,9 +29031,10 @@ var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
|
29030
29031
|
KeyboardButtonProps: {
|
|
29031
29032
|
"aria-label": "change date"
|
|
29032
29033
|
},
|
|
29033
|
-
maxDate: (filters === null || filters === void 0 ? void 0 : filters.endDate)
|
|
29034
|
+
maxDate: (_filters$endDate = filters === null || filters === void 0 ? void 0 : filters.endDate) != null ? _filters$endDate : undefined,
|
|
29035
|
+
minDate: (_filters$startDate = filters === null || filters === void 0 ? void 0 : filters.startDate) != null ? _filters$startDate : undefined
|
|
29034
29036
|
}), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29035
|
-
minDate: (filters === null || filters === void 0 ? void 0 : filters.startDate)
|
|
29037
|
+
minDate: (_filters$startDate2 = filters === null || filters === void 0 ? void 0 : filters.startDate) != null ? _filters$startDate2 : undefined,
|
|
29036
29038
|
inputVariant: "outlined",
|
|
29037
29039
|
format: "Do MMM YYYY",
|
|
29038
29040
|
id: "time-picker",
|
|
@@ -29198,7 +29200,7 @@ var TopLearningStrategy = function TopLearningStrategy(_ref) {
|
|
|
29198
29200
|
className: "" + styles$9["block-header-name"]
|
|
29199
29201
|
}, React__default.createElement("p", {
|
|
29200
29202
|
className: "" + styles$9["title-chart"]
|
|
29201
|
-
}, "Top Learning Strategies"),
|
|
29203
|
+
}, "Top Learning Strategies"), React__default.createElement("div", {
|
|
29202
29204
|
className: "" + styles$9["expand-option"]
|
|
29203
29205
|
}, React__default.createElement(core.IconButton, {
|
|
29204
29206
|
onClick: handleClick,
|
|
@@ -29916,7 +29918,7 @@ var Overview = function Overview(props) {
|
|
|
29916
29918
|
}, React__default.createElement("div", {
|
|
29917
29919
|
className: "" + styles$7["date-time-box"]
|
|
29918
29920
|
}, React__default.createElement("div", {
|
|
29919
|
-
className:
|
|
29921
|
+
className: styles$7["date-time-start"] + " date-picker-overview"
|
|
29920
29922
|
}, React__default.createElement("p", {
|
|
29921
29923
|
className: "" + styles$7["text"]
|
|
29922
29924
|
}, "From"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
@@ -29934,7 +29936,7 @@ var Overview = function Overview(props) {
|
|
|
29934
29936
|
minDate: filterDateChart.startDate,
|
|
29935
29937
|
maxDate: filterDateChart.endDate
|
|
29936
29938
|
})), React__default.createElement("div", {
|
|
29937
|
-
className:
|
|
29939
|
+
className: styles$7["date-time-end"] + " date-picker-overview"
|
|
29938
29940
|
}, React__default.createElement("p", {
|
|
29939
29941
|
className: "" + styles$7["text"]
|
|
29940
29942
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
@@ -31231,7 +31233,7 @@ var Conferences = function Conferences() {
|
|
|
31231
31233
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
31232
31234
|
var open = React.useCallback(function (row) {
|
|
31233
31235
|
var studentId = row.studentId;
|
|
31234
|
-
var url = !row.
|
|
31236
|
+
var url = !row.isTeacherDone ? "/start-conference/" + studentId + "/" + row.id + "/conferenceRubric" : "/result-conference/" + studentId + "/" + row.id + "/conferenceRubric";
|
|
31235
31237
|
history.push(url);
|
|
31236
31238
|
}, [isTeacher]);
|
|
31237
31239
|
return React__default.createElement(core.Grid, {
|
|
@@ -31421,7 +31423,7 @@ var Conferences = function Conferences() {
|
|
|
31421
31423
|
}, !!row.gradeLevel && (row === null || row === void 0 ? void 0 : row.gradeLevel)), React__default.createElement(core.TableCell, {
|
|
31422
31424
|
align: "left",
|
|
31423
31425
|
className: "" + styles$c["row_grade"]
|
|
31424
|
-
}, row !== null && row !== void 0 && row.
|
|
31426
|
+
}, row !== null && row !== void 0 && row.isTeacherDone ? React__default.createElement("div", {
|
|
31425
31427
|
className: styles$c["done"] + " " + styles$c["request"]
|
|
31426
31428
|
}, "Done") : React__default.createElement("div", {
|
|
31427
31429
|
className: styles$c["missed"] + " " + styles$c["request"]
|
|
@@ -31430,7 +31432,7 @@ var Conferences = function Conferences() {
|
|
|
31430
31432
|
className: "" + styles$c["row_type"]
|
|
31431
31433
|
}, React__default.createElement("div", {
|
|
31432
31434
|
className: styles$c["duration"] + " " + styles$c["request"]
|
|
31433
|
-
}, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), !row.isEditConference && !row.
|
|
31435
|
+
}, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), !row.isEditConference && !row.isTeacherDone && React__default.createElement(core.Button, {
|
|
31434
31436
|
variant: "contained",
|
|
31435
31437
|
color: "primary",
|
|
31436
31438
|
disableElevation: true,
|
|
@@ -40383,7 +40385,7 @@ var BookSessionConferences = function BookSessionConferences() {
|
|
|
40383
40385
|
};
|
|
40384
40386
|
|
|
40385
40387
|
React.useEffect(function () {
|
|
40386
|
-
document.title = "Book
|
|
40388
|
+
document.title = "Book conference";
|
|
40387
40389
|
});
|
|
40388
40390
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
40389
40391
|
return React__default.createElement(core.Grid, null, screenWidth > 600 ? React__default.createElement(core.Grid, {
|
|
@@ -40471,7 +40473,7 @@ var BookSessionConferences = function BookSessionConferences() {
|
|
|
40471
40473
|
fontSize: "18px",
|
|
40472
40474
|
fontWeight: 500
|
|
40473
40475
|
}
|
|
40474
|
-
}, "Book
|
|
40476
|
+
}, "Book Conference"), React__default.createElement(InsertInvitationIcon, null)))))), React__default.createElement(core.Grid, {
|
|
40475
40477
|
item: true,
|
|
40476
40478
|
xs: 1,
|
|
40477
40479
|
style: {
|
|
@@ -40653,7 +40655,7 @@ var BookSessionConferences = function BookSessionConferences() {
|
|
|
40653
40655
|
fontSize: "18px",
|
|
40654
40656
|
fontWeight: 500
|
|
40655
40657
|
}
|
|
40656
|
-
}, "BOOK
|
|
40658
|
+
}, "BOOK CONFERENCE"), React__default.createElement("i", {
|
|
40657
40659
|
className: "fas fa-calendar-day",
|
|
40658
40660
|
style: {
|
|
40659
40661
|
fontSize: 18
|
|
@@ -61816,7 +61818,7 @@ var useStudentList$2 = function useStudentList() {
|
|
|
61816
61818
|
};
|
|
61817
61819
|
};
|
|
61818
61820
|
|
|
61819
|
-
var styles$L = {"search-input":"_mB4S_","search-input-icon":"_2dOCb","inputInput":"_3LZHP","block-search":"_3ETqf","block-header":"_28w_g","header-content":"_MM65j","table-border":"_2l3wP","table-row":"_NhhUt","row_type":"_rp-5t","duration":"_3I1fi","request":"_2-rzs","avatar_user":"_1FxvF","table-cell":"_3flzL","list-student-desktop":"_2hSN6","list-student-mobile":"_1Uabb","item-right":"_3AfFZ","item":"_3pZDy","box-info":"_3osaq","item-name":"_cuqGm","box-edu":"_2r6Xx","box-container":"_3u2Hp"};
|
|
61821
|
+
var styles$L = {"search-input":"_mB4S_","search-input-icon":"_2dOCb","inputInput":"_3LZHP","block-search":"_3ETqf","block-header":"_28w_g","header-content":"_MM65j","table-border":"_2l3wP","table-row":"_NhhUt","row_type":"_rp-5t","duration":"_3I1fi","request":"_2-rzs","avatar_user":"_1FxvF","table-cell":"_3flzL","list-student-desktop":"_2hSN6","list-student-mobile":"_1Uabb","item-right":"_3AfFZ","item":"_3pZDy","box-info":"_3osaq","item-name":"_cuqGm","box-edu":"_2r6Xx","box-container":"_3u2Hp","student_name":"_3yRVo","box_name":"_3M1fw"};
|
|
61820
61822
|
|
|
61821
61823
|
var DEFAULT_USER_AVATAR$t = "/images/image-default.png";
|
|
61822
61824
|
var ListStudent = function ListStudent() {
|
|
@@ -61946,11 +61948,15 @@ var ListStudent = function ListStudent() {
|
|
|
61946
61948
|
scope: "row",
|
|
61947
61949
|
height: 80,
|
|
61948
61950
|
className: "" + styles$L["row_name"]
|
|
61951
|
+
}, React__default.createElement("div", {
|
|
61952
|
+
className: "" + styles$L["box_name"]
|
|
61949
61953
|
}, React__default.createElement("img", {
|
|
61950
61954
|
src: !!(row !== null && row !== void 0 && row.profileImageFileName) ? marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.profileImageFileName) : DEFAULT_USER_AVATAR$t,
|
|
61951
61955
|
alt: "",
|
|
61952
61956
|
className: "" + styles$L["avatar_user"]
|
|
61953
|
-
}),
|
|
61957
|
+
}), React__default.createElement(core.Typography, {
|
|
61958
|
+
className: "" + styles$L["student_name"]
|
|
61959
|
+
}, row.fullName))), React__default.createElement(core.TableCell, {
|
|
61954
61960
|
component: "th",
|
|
61955
61961
|
scope: "row",
|
|
61956
61962
|
height: 80,
|