mario-teacher-student-client 2.0.7 → 2.0.10
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/MyStudent/hooks/useStudentConference.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -1
- package/dist/index.js +14 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -15
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,6 @@ declare const useStudentConference: () => {
|
|
|
11
11
|
sessionData: any;
|
|
12
12
|
filter: FILTER_SESSION;
|
|
13
13
|
changeFilters: (updatedFilters: any) => void;
|
|
14
|
-
getStudentConference: (
|
|
14
|
+
getStudentConference: () => Promise<void>;
|
|
15
15
|
};
|
|
16
16
|
export default useStudentConference;
|
|
@@ -13,6 +13,6 @@ declare const useStudentOneToOne: () => {
|
|
|
13
13
|
sessionData: any;
|
|
14
14
|
filter: FILTER_SESSION;
|
|
15
15
|
changeFilters: (updatedFilters: any) => void;
|
|
16
|
-
getStudentOneToOne: (
|
|
16
|
+
getStudentOneToOne: () => Promise<void>;
|
|
17
17
|
};
|
|
18
18
|
export default useStudentOneToOne;
|
package/dist/index.js
CHANGED
|
@@ -8242,12 +8242,7 @@ var SimpleDialog$2 = function SimpleDialog(props) {
|
|
|
8242
8242
|
}));
|
|
8243
8243
|
};
|
|
8244
8244
|
|
|
8245
|
-
|
|
8246
|
-
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return false;
|
|
8247
|
-
return true;
|
|
8248
|
-
}
|
|
8249
|
-
|
|
8250
|
-
var SimpleDialog$3 = React__default.memo(SimpleDialog$2, areEqual$1);
|
|
8245
|
+
var SimpleDialog$3 = React__default.memo(SimpleDialog$2);
|
|
8251
8246
|
|
|
8252
8247
|
function NodeDraggable(props) {
|
|
8253
8248
|
var _useState = React.useState({
|
|
@@ -8576,7 +8571,7 @@ var ConductIndex = function ConductIndex() {
|
|
|
8576
8571
|
style: {
|
|
8577
8572
|
position: "absolute",
|
|
8578
8573
|
right: "0",
|
|
8579
|
-
bottom: "
|
|
8574
|
+
bottom: "50%"
|
|
8580
8575
|
}
|
|
8581
8576
|
}, React__default.createElement(NodeDraggable, {
|
|
8582
8577
|
handleClickOpen: handleClickOpen
|
|
@@ -12876,7 +12871,7 @@ var Overview = function Overview(props) {
|
|
|
12876
12871
|
return t.month;
|
|
12877
12872
|
}),
|
|
12878
12873
|
chartData: informationWellbeing === null || informationWellbeing === void 0 ? void 0 : informationWellbeing.overviewQuestionChoice.map(function (t) {
|
|
12879
|
-
return t.avgOfStudentChoice /
|
|
12874
|
+
return t.avgOfStudentChoice / 10;
|
|
12880
12875
|
})
|
|
12881
12876
|
}
|
|
12882
12877
|
};
|
|
@@ -13116,6 +13111,8 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13116
13111
|
sessionData = _useState[0],
|
|
13117
13112
|
setSessionData = _useState[1];
|
|
13118
13113
|
|
|
13114
|
+
var studentId = location.pathname.replace(/[^0-9]/g, "");
|
|
13115
|
+
|
|
13119
13116
|
var _useState2 = React.useState({
|
|
13120
13117
|
startDate: moment().subtract(30, 'days').valueOf(),
|
|
13121
13118
|
endDate: moment().add(7, "days").valueOf(),
|
|
@@ -13132,7 +13129,7 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13132
13129
|
return setFilter(_extends({}, filter, updatedFilters));
|
|
13133
13130
|
};
|
|
13134
13131
|
|
|
13135
|
-
var getStudentOneToOne = function getStudentOneToOne(
|
|
13132
|
+
var getStudentOneToOne = function getStudentOneToOne() {
|
|
13136
13133
|
try {
|
|
13137
13134
|
var _temp3 = function _temp3() {
|
|
13138
13135
|
dispatch(marioCore.setLoading(false));
|
|
@@ -13162,7 +13159,7 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13162
13159
|
};
|
|
13163
13160
|
|
|
13164
13161
|
React.useEffect(function () {
|
|
13165
|
-
getStudentOneToOne(
|
|
13162
|
+
getStudentOneToOne();
|
|
13166
13163
|
}, [filter]);
|
|
13167
13164
|
return {
|
|
13168
13165
|
sessionData: sessionData,
|
|
@@ -13569,6 +13566,8 @@ var useStudentConference = function useStudentConference() {
|
|
|
13569
13566
|
sessionData = _useState[0],
|
|
13570
13567
|
setSessionData = _useState[1];
|
|
13571
13568
|
|
|
13569
|
+
var studentId = location.pathname.replace(/[^0-9]/g, "");
|
|
13570
|
+
|
|
13572
13571
|
var _useState2 = React.useState({
|
|
13573
13572
|
startDate: moment().subtract(30, 'days').valueOf(),
|
|
13574
13573
|
endDate: moment().add(7, "days").valueOf(),
|
|
@@ -13585,7 +13584,7 @@ var useStudentConference = function useStudentConference() {
|
|
|
13585
13584
|
return setFilter(_extends({}, filter, updatedFilters));
|
|
13586
13585
|
};
|
|
13587
13586
|
|
|
13588
|
-
var getStudentConference = function getStudentConference(
|
|
13587
|
+
var getStudentConference = function getStudentConference() {
|
|
13589
13588
|
try {
|
|
13590
13589
|
var _temp3 = function _temp3() {
|
|
13591
13590
|
dispatch(marioCore.setLoading(false));
|
|
@@ -13615,7 +13614,7 @@ var useStudentConference = function useStudentConference() {
|
|
|
13615
13614
|
};
|
|
13616
13615
|
|
|
13617
13616
|
React.useEffect(function () {
|
|
13618
|
-
getStudentConference(
|
|
13617
|
+
getStudentConference();
|
|
13619
13618
|
}, [filter]);
|
|
13620
13619
|
return {
|
|
13621
13620
|
sessionData: sessionData,
|
|
@@ -17406,12 +17405,12 @@ var SimpleDialog$4 = function SimpleDialog(props) {
|
|
|
17406
17405
|
}));
|
|
17407
17406
|
};
|
|
17408
17407
|
|
|
17409
|
-
function areEqual$
|
|
17408
|
+
function areEqual$1(prevProps, nextProps) {
|
|
17410
17409
|
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return false;
|
|
17411
17410
|
return true;
|
|
17412
17411
|
}
|
|
17413
17412
|
|
|
17414
|
-
var SimpleDialog$5 = React__default.memo(SimpleDialog$4, areEqual$
|
|
17413
|
+
var SimpleDialog$5 = React__default.memo(SimpleDialog$4, areEqual$1);
|
|
17415
17414
|
|
|
17416
17415
|
var QuestionType$1;
|
|
17417
17416
|
|
|
@@ -17688,7 +17687,7 @@ var ConferenceRubric = function ConferenceRubric() {
|
|
|
17688
17687
|
style: {
|
|
17689
17688
|
position: "absolute",
|
|
17690
17689
|
right: "0",
|
|
17691
|
-
bottom: "
|
|
17690
|
+
bottom: "50%"
|
|
17692
17691
|
}
|
|
17693
17692
|
}, React__default.createElement(NodeDraggable, {
|
|
17694
17693
|
handleClickOpen: handleClickOpen
|