mario-teacher-student-client 2.1.127-admin → 2.1.129-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/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -3
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{Conference.d.ts → conference.d.ts} +0 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +3 -3
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +2 -2
- package/dist/containers/PLP/hooks/usePlpPage.d.ts +2 -2
- package/dist/index.css +18 -17
- package/dist/index.js +91 -101
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +91 -101
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Button/CustomButton.d.ts +0 -11
- package/dist/components/Card/CardNameButton.d.ts +0 -7
- package/dist/components/Card/CardTotal.d.ts +0 -7
- package/dist/components/Header/CustomHeaderComponent.d.ts +0 -16
- package/dist/components/Table/ConvertTime.d.ts +0 -6
- package/dist/components/Table/TableCells.d.ts +0 -15
- package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/components/selector/CustomFilterComponent.d.ts +0 -19
- package/dist/components/selector/CustomFilterMobile.d.ts +0 -23
- package/dist/containers/ConductSurvey/apiClient/index.d.ts +0 -2
- package/dist/containers/ConductSurvey/components/ConductTop/ConductItem.d.ts +0 -7
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
- package/dist/containers/ConductSurvey/components/ConductTop/SurveyTop.d.ts +0 -14
- package/dist/containers/ConductSurvey/components/HeaderSurvey.d.ts +0 -21
- package/dist/containers/ConductSurvey/components/IBLearnerComponent.d.ts +0 -12
- package/dist/containers/ConductSurvey/components/Note/Note.d.ts +0 -6
- package/dist/containers/ConductSurvey/components/Note/PrivateNote.d.ts +0 -3
- package/dist/containers/ConductSurvey/components/Note/SessionResultNote.d.ts +0 -3
- package/dist/containers/ConductSurvey/components/ProfileDialog/ProfileDialog.d.ts +0 -7
- package/dist/containers/ConductSurvey/components/QuestionConduct.d.ts +0 -12
- package/dist/containers/ConductSurvey/components/RadiaBarChart.d.ts +0 -3
- package/dist/containers/ConductSurvey/components/ShareSurveyDialog.d.ts +0 -12
- package/dist/containers/ConductSurvey/components/SimpleDialog.d.ts +0 -3
- package/dist/containers/ConductSurvey/constant/constant.d.ts +0 -1
- package/dist/containers/ConductSurvey/constant/types.d.ts +0 -97
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
- package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +0 -29
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
- package/dist/containers/ConductSurvey/hooks/usePreviewSurvey.d.ts +0 -28
- package/dist/containers/ConductSurvey/hooks/useProfileDialog.d.ts +0 -5
- package/dist/containers/ConductSurvey/servies/index.d.ts +0 -2
- package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +0 -1
- package/dist/containers/ConductSurvey/views/PreviewSurvey.d.ts +0 -3
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
- package/dist/containers/ConductSurvey/views/SurveyIndex.d.ts +0 -3
- package/dist/containers/ConductSurvey/views/SurveyResult.d.ts +0 -3
- package/dist/containers/ExternalSurvey/api/externalService.d.ts +0 -6
- package/dist/containers/ExternalSurvey/components/ConductTop/ConductItem.d.ts +0 -7
- package/dist/containers/ExternalSurvey/components/ConductTop/SurveyTop.d.ts +0 -14
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
- package/dist/containers/ExternalSurvey/components/QuestionConduct.d.ts +0 -13
- package/dist/containers/ExternalSurvey/constant/types.d.ts +0 -69
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
- package/dist/containers/ExternalSurvey/hooks/useExternalSurvey.d.ts +0 -18
- package/dist/containers/ExternalSurvey/views/ExternalSurvey.d.ts +0 -3
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +0 -5
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +0 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +0 -19
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +0 -6
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +0 -2
- package/dist/containers/MySurvey/views/MySurvey.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
- package/dist/containers/Surveys/apiClient/survey.d.ts +0 -2
- package/dist/containers/Surveys/apiClient/surveyService.d.ts +0 -15
- package/dist/containers/Surveys/components/ActionNeededSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/AllStudentSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/CardItemMobile/CardSurveyMobile.d.ts +0 -4
- package/dist/containers/Surveys/components/CompletedStudentSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/CreateSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/ExternalSurveyList.d.ts +0 -3
- package/dist/containers/Surveys/components/ListSurveyDetail.d.ts +0 -3
- package/dist/containers/Surveys/components/ListSurveys.d.ts +0 -3
- package/dist/containers/Surveys/components/MissedStudentSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/PendingStudentSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/PendingSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/Questions/AdditionalQuestionModel.d.ts +0 -4
- package/dist/containers/Surveys/components/RepliedSurvey.d.ts +0 -3
- package/dist/containers/Surveys/components/StepComponents/ConfirmPublishSurvey.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ConfirmShareSurvey.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ListFavoriteSurvey.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ModelSelectQuestion.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ModelSelectSurveyTemplate.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ModelSendSurvey.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/ReviewSurveyDetail.d.ts +0 -4
- package/dist/containers/Surveys/components/StepComponents/TableSelectStudent.d.ts +0 -4
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +0 -3
- package/dist/containers/Surveys/constants/constant.d.ts +0 -65
- package/dist/containers/Surveys/constants/questionModelType.d.ts +0 -27
- package/dist/containers/Surveys/constants/tableColumn.d.ts +0 -110
- package/dist/containers/Surveys/constants/typeCardItem.d.ts +0 -16
- package/dist/containers/Surveys/constants/types.d.ts +0 -308
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +0 -9
- package/dist/containers/Surveys/hook/useAdditionalQuestion.d.ts +0 -24
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +0 -77
- package/dist/containers/Surveys/hook/useExternalSurvey.d.ts +0 -21
- package/dist/containers/Surveys/hook/useExternalSurveyList.d.ts +0 -11
- package/dist/containers/Surveys/hook/useFormCreateSurvey.d.ts +0 -14
- package/dist/containers/Surveys/hook/useListFavoriteSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useListSurvey.d.ts +0 -28
- package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +0 -20
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
- package/dist/containers/Surveys/hook/useSelectQuestion.d.ts +0 -26
- package/dist/containers/Surveys/hook/useSelectStudent.d.ts +0 -15
- package/dist/containers/Surveys/hook/useStudentSurvey.d.ts +0 -16
- package/dist/containers/Surveys/hook/useSurveyDetail.d.ts +0 -10
- package/dist/containers/Surveys/hook/useSurveyViewStudent.d.ts +0 -4
- package/dist/containers/Surveys/styles/makeStyles.d.ts +0 -3
- package/dist/containers/Surveys/views/SurveyDetail.d.ts +0 -3
- package/dist/containers/Surveys/views/SurveyStudentList.d.ts +0 -3
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +0 -3
- package/dist/hooks/useUploadFile.d.ts +0 -4
- package/dist/services/File.d.ts +0 -1
- package/dist/services/SurveyService.d.ts +0 -11
|
@@ -22,11 +22,11 @@ declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
|
22
22
|
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
23
23
|
value: unknown;
|
|
24
24
|
}>) => void;
|
|
25
|
-
handleCreate: (cb?: Function | undefined) => Promise<void>;
|
|
25
|
+
handleCreate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
26
26
|
handleClickClose: () => void;
|
|
27
27
|
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
28
|
-
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
29
|
-
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
|
+
submitUpdate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
29
|
+
handleDeleteItem: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
30
30
|
handleCloseNoti: () => void;
|
|
31
31
|
setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
|
|
32
32
|
notiSetting: string;
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const useLearningStrategies: (studentId: any) => {
|
|
1
|
+
declare const useLearningStrategies: (studentId: any, filterDateChart: any) => {
|
|
2
2
|
filtersLearningStrategiesData: {
|
|
3
3
|
searchString: string;
|
|
4
4
|
currentPage: number;
|
|
5
5
|
pageSize: number;
|
|
6
6
|
sortBy: string;
|
|
7
7
|
sortOrder: string;
|
|
8
|
-
startDate:
|
|
9
|
-
endDate:
|
|
8
|
+
startDate: any;
|
|
9
|
+
endDate: any;
|
|
10
10
|
};
|
|
11
11
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
12
12
|
learningStrategiesData: any;
|
|
@@ -26,8 +26,8 @@ declare const useOverview: (studentId: number) => {
|
|
|
26
26
|
pageSize: number;
|
|
27
27
|
sortBy: string;
|
|
28
28
|
sortOrder: string;
|
|
29
|
-
startDate:
|
|
30
|
-
endDate:
|
|
29
|
+
startDate: any;
|
|
30
|
+
endDate: any;
|
|
31
31
|
};
|
|
32
32
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
33
33
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -25,8 +25,8 @@ declare const usePlpPage: () => {
|
|
|
25
25
|
pageSize: number;
|
|
26
26
|
sortBy: string;
|
|
27
27
|
sortOrder: string;
|
|
28
|
-
startDate:
|
|
29
|
-
endDate:
|
|
28
|
+
startDate: any;
|
|
29
|
+
endDate: any;
|
|
30
30
|
};
|
|
31
31
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
32
32
|
handleActiveColumnOneToOne: (index: any) => void;
|
package/dist/index.css
CHANGED
|
@@ -3119,7 +3119,7 @@ h2._1OAmb {
|
|
|
3119
3119
|
margin-top: 10px; }
|
|
3120
3120
|
._gOdCz ._smLhQ ._1MX_1 {
|
|
3121
3121
|
overflow: auto;
|
|
3122
|
-
|
|
3122
|
+
height: 20vh; }
|
|
3123
3123
|
._gOdCz ._smLhQ ._1MX_1 ._3tmRq {
|
|
3124
3124
|
display: flex;
|
|
3125
3125
|
align-items: center;
|
|
@@ -4775,8 +4775,7 @@ h2._1OAmb {
|
|
|
4775
4775
|
min-height: 180px;
|
|
4776
4776
|
height: 100%;
|
|
4777
4777
|
max-height: 100vh;
|
|
4778
|
-
overflow:
|
|
4779
|
-
overflow-x: hidden; }
|
|
4778
|
+
overflow: auto; }
|
|
4780
4779
|
._S0bRu ._2z0d_ {
|
|
4781
4780
|
font-size: 16px;
|
|
4782
4781
|
font-style: normal;
|
|
@@ -5120,7 +5119,7 @@ h2._1OAmb {
|
|
|
5120
5119
|
|
|
5121
5120
|
._2qL5J {
|
|
5122
5121
|
display: flex;
|
|
5123
|
-
padding-bottom:
|
|
5122
|
+
padding-bottom: 26px;
|
|
5124
5123
|
padding-right: 20px;
|
|
5125
5124
|
justify-content: space-between; }
|
|
5126
5125
|
|
|
@@ -5133,7 +5132,7 @@ h2._1OAmb {
|
|
|
5133
5132
|
margin-right: 20px; }
|
|
5134
5133
|
._3d2hF ._zL0pN ._1kI5l ._30FUT, ._3d2hF ._zL0pN ._3keyG ._30FUT {
|
|
5135
5134
|
margin-bottom: 0 !important;
|
|
5136
|
-
font-size:
|
|
5135
|
+
font-size: 15px;
|
|
5137
5136
|
margin-right: 10px;
|
|
5138
5137
|
color: #242424; }
|
|
5139
5138
|
|
|
@@ -6136,7 +6135,6 @@ h2._1OAmb {
|
|
|
6136
6135
|
._2Q5K5 {
|
|
6137
6136
|
display: flex;
|
|
6138
6137
|
justify-content: flex-end;
|
|
6139
|
-
width: 100%;
|
|
6140
6138
|
padding: 0 15px; }
|
|
6141
6139
|
|
|
6142
6140
|
@font-face {
|
|
@@ -6286,15 +6284,16 @@ h2._1OAmb {
|
|
|
6286
6284
|
padding-right: 20px;
|
|
6287
6285
|
width: 336px; } }
|
|
6288
6286
|
|
|
6289
|
-
._3Saaw
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
._3Saaw
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6287
|
+
._3Saaw {
|
|
6288
|
+
width: 700px !important; }
|
|
6289
|
+
._3Saaw thead {
|
|
6290
|
+
border-top: 1px solid #e8e8e8; }
|
|
6291
|
+
._3Saaw td,
|
|
6292
|
+
._3Saaw th {
|
|
6293
|
+
border-right: 1px solid #e8e8e8; }
|
|
6294
|
+
._3Saaw td:last-child,
|
|
6295
|
+
._3Saaw th:last-child {
|
|
6296
|
+
border-right: none; }
|
|
6298
6297
|
|
|
6299
6298
|
._i-ZXZ {
|
|
6300
6299
|
font-size: 14px !important;
|
|
@@ -13911,7 +13910,9 @@ h2._1KpSK {
|
|
|
13911
13910
|
._1VfS9 ._3s-7D {
|
|
13912
13911
|
display: flex;
|
|
13913
13912
|
width: 100%;
|
|
13914
|
-
justify-content: flex-
|
|
13913
|
+
justify-content: flex-start;
|
|
13914
|
+
margin-bottom: 20px;
|
|
13915
|
+
margin-left: 10px; }
|
|
13915
13916
|
|
|
13916
13917
|
._1MqAT ._2cDXH {
|
|
13917
13918
|
display: flex;
|
|
@@ -13922,7 +13923,7 @@ h2._1KpSK {
|
|
|
13922
13923
|
margin-right: 20px; }
|
|
13923
13924
|
._1MqAT ._2cDXH ._3C3be ._1fkiB, ._1MqAT ._2cDXH ._JeKAW ._1fkiB {
|
|
13924
13925
|
margin-bottom: 0 !important;
|
|
13925
|
-
font-size:
|
|
13926
|
+
font-size: 15px;
|
|
13926
13927
|
margin-right: 10px;
|
|
13927
13928
|
color: #242424; }
|
|
13928
13929
|
|
package/dist/index.js
CHANGED
|
@@ -2473,6 +2473,14 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2473
2473
|
|
|
2474
2474
|
var handleClickClose = function handleClickClose() {
|
|
2475
2475
|
setOpen(false);
|
|
2476
|
+
setFormData({
|
|
2477
|
+
title: "",
|
|
2478
|
+
"class": "",
|
|
2479
|
+
deadline: null,
|
|
2480
|
+
notiCount: 0,
|
|
2481
|
+
notiDuration: "week",
|
|
2482
|
+
isDone: false
|
|
2483
|
+
});
|
|
2476
2484
|
};
|
|
2477
2485
|
|
|
2478
2486
|
var openModal = function openModal() {
|
|
@@ -2551,10 +2559,11 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2551
2559
|
});
|
|
2552
2560
|
};
|
|
2553
2561
|
|
|
2554
|
-
var handleDeleteItem = function handleDeleteItem(cb) {
|
|
2562
|
+
var handleDeleteItem = function handleDeleteItem(cb, cbGetEventCalendar) {
|
|
2555
2563
|
try {
|
|
2556
2564
|
return Promise.resolve(deleteActionPoint(dispatch, actionId)).then(function () {
|
|
2557
2565
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
2566
|
+
cbGetEventCalendar === null || cbGetEventCalendar === void 0 ? void 0 : cbGetEventCalendar();
|
|
2558
2567
|
reloadRef === null || reloadRef === void 0 ? void 0 : reloadRef.current.reload();
|
|
2559
2568
|
setOpen(false);
|
|
2560
2569
|
});
|
|
@@ -2570,7 +2579,7 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2570
2579
|
});
|
|
2571
2580
|
};
|
|
2572
2581
|
|
|
2573
|
-
var submitUpdate = function submitUpdate(cb) {
|
|
2582
|
+
var submitUpdate = function submitUpdate(cb, cbGetEventCalendar) {
|
|
2574
2583
|
try {
|
|
2575
2584
|
var _formData$title;
|
|
2576
2585
|
|
|
@@ -2584,6 +2593,7 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2584
2593
|
|
|
2585
2594
|
return Promise.resolve(updateActionPoint(dispatch, actionId, formData)).then(function () {
|
|
2586
2595
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
2596
|
+
cbGetEventCalendar === null || cbGetEventCalendar === void 0 ? void 0 : cbGetEventCalendar();
|
|
2587
2597
|
reloadRef === null || reloadRef === void 0 ? void 0 : reloadRef.current.reload();
|
|
2588
2598
|
setOpen(false);
|
|
2589
2599
|
});
|
|
@@ -2592,7 +2602,7 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2592
2602
|
}
|
|
2593
2603
|
};
|
|
2594
2604
|
|
|
2595
|
-
var handleCreate = function handleCreate(cb) {
|
|
2605
|
+
var handleCreate = function handleCreate(cb, cbGetEventCalendar) {
|
|
2596
2606
|
try {
|
|
2597
2607
|
var _formData$title2;
|
|
2598
2608
|
|
|
@@ -2606,6 +2616,7 @@ var useDialogRequest = function useDialogRequest(_props, ref) {
|
|
|
2606
2616
|
|
|
2607
2617
|
return Promise.resolve(createActionPoint(dispatch, formData)).then(function () {
|
|
2608
2618
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
2619
|
+
cbGetEventCalendar === null || cbGetEventCalendar === void 0 ? void 0 : cbGetEventCalendar();
|
|
2609
2620
|
reloadRef === null || reloadRef === void 0 ? void 0 : reloadRef.current.reload();
|
|
2610
2621
|
setOpen(false);
|
|
2611
2622
|
setFormData({
|
|
@@ -2940,9 +2951,7 @@ var DialogRequestActionPoint = function DialogRequestActionPoint(_props, ref) {
|
|
|
2940
2951
|
color: "secondary",
|
|
2941
2952
|
onClick: function () {
|
|
2942
2953
|
try {
|
|
2943
|
-
return Promise.resolve(handleDeleteItem(_props.onReloading)).then(function () {
|
|
2944
|
-
handleGetNewActionPoint === null || handleGetNewActionPoint === void 0 ? void 0 : handleGetNewActionPoint();
|
|
2945
|
-
});
|
|
2954
|
+
return Promise.resolve(handleDeleteItem(_props.onReloading, handleGetNewActionPoint)).then(function () {});
|
|
2946
2955
|
} catch (e) {
|
|
2947
2956
|
return Promise.reject(e);
|
|
2948
2957
|
}
|
|
@@ -2954,9 +2963,7 @@ var DialogRequestActionPoint = function DialogRequestActionPoint(_props, ref) {
|
|
|
2954
2963
|
try {
|
|
2955
2964
|
setTitleValidate(true);
|
|
2956
2965
|
setDeadlineValidate(true);
|
|
2957
|
-
return Promise.resolve(submitUpdate(_props.onReloading)).then(function () {
|
|
2958
|
-
handleGetNewActionPoint === null || handleGetNewActionPoint === void 0 ? void 0 : handleGetNewActionPoint();
|
|
2959
|
-
});
|
|
2966
|
+
return Promise.resolve(submitUpdate(_props.onReloading, handleGetNewActionPoint)).then(function () {});
|
|
2960
2967
|
} catch (e) {
|
|
2961
2968
|
return Promise.reject(e);
|
|
2962
2969
|
}
|
|
@@ -2980,9 +2987,7 @@ var DialogRequestActionPoint = function DialogRequestActionPoint(_props, ref) {
|
|
|
2980
2987
|
try {
|
|
2981
2988
|
setTitleValidate(true);
|
|
2982
2989
|
setDeadlineValidate(true);
|
|
2983
|
-
return Promise.resolve(handleCreate(_props.onReloading)).then(function () {
|
|
2984
|
-
handleGetNewActionPoint === null || handleGetNewActionPoint === void 0 ? void 0 : handleGetNewActionPoint();
|
|
2985
|
-
});
|
|
2990
|
+
return Promise.resolve(handleCreate(_props.onReloading, handleGetNewActionPoint)).then(function () {});
|
|
2986
2991
|
} catch (e) {
|
|
2987
2992
|
return Promise.reject(e);
|
|
2988
2993
|
}
|
|
@@ -3358,8 +3363,7 @@ var Dashboard = function Dashboard() {
|
|
|
3358
3363
|
listData = _useActionPointsDB.listData,
|
|
3359
3364
|
openDialog = _useActionPointsDB.openDialog,
|
|
3360
3365
|
clickOpenModal = _useActionPointsDB.clickOpenModal,
|
|
3361
|
-
onReloading = _useActionPointsDB.onReloading
|
|
3362
|
-
getData = _useActionPointsDB.getData;
|
|
3366
|
+
onReloading = _useActionPointsDB.onReloading;
|
|
3363
3367
|
|
|
3364
3368
|
var roles = reactRedux.useSelector(function (state) {
|
|
3365
3369
|
var _state$common, _state$common$user;
|
|
@@ -3388,7 +3392,6 @@ var Dashboard = function Dashboard() {
|
|
|
3388
3392
|
|
|
3389
3393
|
var handleGetNewActionPoint = function handleGetNewActionPoint() {
|
|
3390
3394
|
getDataEvent();
|
|
3391
|
-
getData();
|
|
3392
3395
|
};
|
|
3393
3396
|
|
|
3394
3397
|
var handleChangeDate = function handleChangeDate(date) {
|
|
@@ -18239,12 +18242,12 @@ var MyNote = function MyNote(props) {
|
|
|
18239
18242
|
className: "" + myStudent["box-header-item"]
|
|
18240
18243
|
}, React__default.createElement(core.Typography, {
|
|
18241
18244
|
className: "" + myStudent["item-title"]
|
|
18242
|
-
}, convertQuestText(note.text, 1))), ((_note$text = note.text) === null || _note$text === void 0 ? void 0 : _note$text.includes("[/]")) && React__default.createElement(core.Typography, {
|
|
18245
|
+
}, convertQuestText(note.text || note.title, 1))), ((_note$text = note.text) === null || _note$text === void 0 ? void 0 : _note$text.includes("[/]")) && React__default.createElement(core.Typography, {
|
|
18243
18246
|
className: "" + myStudent["item-description"],
|
|
18244
18247
|
style: {
|
|
18245
18248
|
marginBottom: 5
|
|
18246
18249
|
}
|
|
18247
|
-
}, convertQuestText(note.text, 2)), React__default.createElement(core.Grid, {
|
|
18250
|
+
}, convertQuestText(note.text || note.title, 2)), React__default.createElement(core.Grid, {
|
|
18248
18251
|
className: "" + myStudent["box-status"]
|
|
18249
18252
|
}, React__default.createElement("div", {
|
|
18250
18253
|
className: "" + myStudent["content-right"]
|
|
@@ -18412,11 +18415,7 @@ var OverviewLeft = function OverviewLeft(props) {
|
|
|
18412
18415
|
|
|
18413
18416
|
return React__default.createElement("div", {
|
|
18414
18417
|
className: "\n " + styles$4["partner-profiles-diallog"] + " \n " + styles$7["overview-partner-profiles"] + " \n " + styles$4[classFontSize] + "\n "
|
|
18415
|
-
}, screenWidth$1 > 600 ? React__default.createElement(core.Box, {
|
|
18416
|
-
sx: {
|
|
18417
|
-
height: "100%"
|
|
18418
|
-
}
|
|
18419
|
-
}, React__default.createElement(core.Box, {
|
|
18418
|
+
}, screenWidth$1 > 600 ? React__default.createElement(core.Box, null, React__default.createElement(core.Box, {
|
|
18420
18419
|
className: "" + styles$7["overview-left"],
|
|
18421
18420
|
style: {
|
|
18422
18421
|
overflow: "hidden"
|
|
@@ -19372,7 +19371,7 @@ var optionColumnChartAndPercents = function optionColumnChartAndPercents(months,
|
|
|
19372
19371
|
xaxis: {
|
|
19373
19372
|
categories: months,
|
|
19374
19373
|
labels: {
|
|
19375
|
-
show: true,
|
|
19374
|
+
show: months.length > 0 ? true : false,
|
|
19376
19375
|
style: {
|
|
19377
19376
|
colors: ["#808080"],
|
|
19378
19377
|
fontSize: "16px",
|
|
@@ -19380,6 +19379,9 @@ var optionColumnChartAndPercents = function optionColumnChartAndPercents(months,
|
|
|
19380
19379
|
fontWeight: 400,
|
|
19381
19380
|
cssClass: "apexcharts-yaxis-label"
|
|
19382
19381
|
}
|
|
19382
|
+
},
|
|
19383
|
+
axisTicks: {
|
|
19384
|
+
show: months.length > 0 ? true : false
|
|
19383
19385
|
}
|
|
19384
19386
|
},
|
|
19385
19387
|
yaxis: {
|
|
@@ -19462,14 +19464,14 @@ var convertToSeriesColumnChartAndPercentConference = function convertToSeriesCol
|
|
|
19462
19464
|
};
|
|
19463
19465
|
var convertToAvg = function convertToAvg(dataCharts, data, months) {
|
|
19464
19466
|
var result = dataCharts.map(function (dataName) {
|
|
19465
|
-
return Number(
|
|
19467
|
+
return Number(data.map(function (i) {
|
|
19466
19468
|
var questionItem = i.resultQuestion.find(function (question) {
|
|
19467
19469
|
return question.questionText.includes(dataName);
|
|
19468
19470
|
});
|
|
19469
19471
|
return !!questionItem ? questionItem.avgOfStudentChoice : 0;
|
|
19470
19472
|
}).reduce(function (acc, curr) {
|
|
19471
19473
|
return acc + curr;
|
|
19472
|
-
}, 0) / (months === null || months === void 0 ? void 0 : months.length))
|
|
19474
|
+
}, 0) / (months === null || months === void 0 ? void 0 : months.length));
|
|
19473
19475
|
});
|
|
19474
19476
|
return result;
|
|
19475
19477
|
};
|
|
@@ -20109,7 +20111,7 @@ var useTopLearningStrategies = function useTopLearningStrategies(studentId, filt
|
|
|
20109
20111
|
};
|
|
20110
20112
|
};
|
|
20111
20113
|
|
|
20112
|
-
var useLearningStrategies = function useLearningStrategies(studentId) {
|
|
20114
|
+
var useLearningStrategies = function useLearningStrategies(studentId, filterDateChart) {
|
|
20113
20115
|
var dispatch = reactRedux.useDispatch();
|
|
20114
20116
|
|
|
20115
20117
|
var _useState = React.useState(),
|
|
@@ -20122,8 +20124,8 @@ var useLearningStrategies = function useLearningStrategies(studentId) {
|
|
|
20122
20124
|
pageSize: 10,
|
|
20123
20125
|
sortBy: "Strategies",
|
|
20124
20126
|
sortOrder: "ASC",
|
|
20125
|
-
startDate: null,
|
|
20126
|
-
endDate: null
|
|
20127
|
+
startDate: filterDateChart === null || filterDateChart === void 0 ? void 0 : filterDateChart.startDate,
|
|
20128
|
+
endDate: filterDateChart === null || filterDateChart === void 0 ? void 0 : filterDateChart.endDate
|
|
20127
20129
|
}),
|
|
20128
20130
|
filtersLearningStrategiesData = _useState2[0],
|
|
20129
20131
|
setFilters = _useState2[1];
|
|
@@ -20403,7 +20405,7 @@ var useOverview = function useOverview(studentId) {
|
|
|
20403
20405
|
labelName = _useTopLearningStrate.labelName,
|
|
20404
20406
|
usageCountList = _useTopLearningStrate.usageCountList;
|
|
20405
20407
|
|
|
20406
|
-
var _useLearningStrategie = useLearningStrategies(studentId),
|
|
20408
|
+
var _useLearningStrategie = useLearningStrategies(studentId, filterDateChart),
|
|
20407
20409
|
learningStrategiesData = _useLearningStrategie.learningStrategiesData,
|
|
20408
20410
|
filtersLearningStrategiesData = _useLearningStrategie.filtersLearningStrategiesData,
|
|
20409
20411
|
changeFiltersLearningStrategiesData = _useLearningStrategie.changeFiltersLearningStrategiesData,
|
|
@@ -28927,8 +28929,6 @@ var useStyles$b = styles$N.makeStyles(function () {
|
|
|
28927
28929
|
};
|
|
28928
28930
|
});
|
|
28929
28931
|
var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
28930
|
-
var _filters$endDate, _filters$startDate, _filters$startDate2;
|
|
28931
|
-
|
|
28932
28932
|
var handleClose = props.handleClose,
|
|
28933
28933
|
open = props.open,
|
|
28934
28934
|
getLearningStrategiesData = props.getLearningStrategiesData,
|
|
@@ -28938,22 +28938,6 @@ var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
|
28938
28938
|
var inputSearch = React.useRef(null);
|
|
28939
28939
|
var classes = useStyles$b();
|
|
28940
28940
|
|
|
28941
|
-
var handleChangeStartDate = function handleChangeStartDate(date) {
|
|
28942
|
-
if (!date) return;
|
|
28943
|
-
changeFilters({
|
|
28944
|
-
startDate: date.valueOf(),
|
|
28945
|
-
currentPage: 1
|
|
28946
|
-
});
|
|
28947
|
-
};
|
|
28948
|
-
|
|
28949
|
-
var handleChangeEndDate = function handleChangeEndDate(date) {
|
|
28950
|
-
if (!date) return;
|
|
28951
|
-
changeFilters({
|
|
28952
|
-
endDate: date.valueOf(),
|
|
28953
|
-
currentPage: 1
|
|
28954
|
-
});
|
|
28955
|
-
};
|
|
28956
|
-
|
|
28957
28941
|
var handleSort = function handleSort(e) {
|
|
28958
28942
|
changeFilters({
|
|
28959
28943
|
sortOrder: (filters === null || filters === void 0 ? void 0 : filters.sortOrder) === "DESC" ? "ASC" : "DESC",
|
|
@@ -28989,8 +28973,8 @@ var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
|
28989
28973
|
};
|
|
28990
28974
|
|
|
28991
28975
|
React.useEffect(function () {
|
|
28992
|
-
getLearningStrategiesData === null || getLearningStrategiesData === void 0 ? void 0 : getLearningStrategiesData();
|
|
28993
|
-
}, [filters]);
|
|
28976
|
+
open && (getLearningStrategiesData === null || getLearningStrategiesData === void 0 ? void 0 : getLearningStrategiesData());
|
|
28977
|
+
}, [filters, open]);
|
|
28994
28978
|
return React__default.createElement(core.Dialog, {
|
|
28995
28979
|
onClose: function onClose() {
|
|
28996
28980
|
return handleClose();
|
|
@@ -29015,39 +28999,6 @@ var LearningStrategyDialog = function LearningStrategyDialog(props) {
|
|
|
29015
28999
|
item: true,
|
|
29016
29000
|
className: "" + styles$a["gr-action"]
|
|
29017
29001
|
}, React__default.createElement(core.Grid, {
|
|
29018
|
-
className: "" + styles$a["gr-date-time"]
|
|
29019
|
-
}, React__default.createElement(pickers.MuiPickersUtilsProvider, {
|
|
29020
|
-
utils: MomentUtils
|
|
29021
|
-
}, React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29022
|
-
inputVariant: "outlined",
|
|
29023
|
-
format: "Do MMM YYYY",
|
|
29024
|
-
id: "date-picker-inline",
|
|
29025
|
-
label: "From",
|
|
29026
|
-
className: "" + styles$a["date-time"],
|
|
29027
|
-
value: filters === null || filters === void 0 ? void 0 : filters.startDate,
|
|
29028
|
-
onChange: function onChange(e) {
|
|
29029
|
-
return handleChangeStartDate(e);
|
|
29030
|
-
},
|
|
29031
|
-
KeyboardButtonProps: {
|
|
29032
|
-
"aria-label": "change date"
|
|
29033
|
-
},
|
|
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
|
|
29036
|
-
}), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29037
|
-
minDate: (_filters$startDate2 = filters === null || filters === void 0 ? void 0 : filters.startDate) != null ? _filters$startDate2 : undefined,
|
|
29038
|
-
inputVariant: "outlined",
|
|
29039
|
-
format: "Do MMM YYYY",
|
|
29040
|
-
id: "time-picker",
|
|
29041
|
-
label: "To",
|
|
29042
|
-
className: "" + styles$a["date-time"],
|
|
29043
|
-
value: filters === null || filters === void 0 ? void 0 : filters.endDate,
|
|
29044
|
-
onChange: function onChange(e) {
|
|
29045
|
-
return handleChangeEndDate(e);
|
|
29046
|
-
},
|
|
29047
|
-
KeyboardButtonProps: {
|
|
29048
|
-
"aria-label": "change date"
|
|
29049
|
-
}
|
|
29050
|
-
}))), React__default.createElement(core.Grid, {
|
|
29051
29002
|
className: "" + styles$a["search-input"]
|
|
29052
29003
|
}, React__default.createElement(core.Grid, {
|
|
29053
29004
|
className: "" + styles$a["search-input-icon"]
|
|
@@ -29149,6 +29100,14 @@ var TopLearningStrategy = function TopLearningStrategy(_ref) {
|
|
|
29149
29100
|
open = _useState[0],
|
|
29150
29101
|
setOpen = _useState[1];
|
|
29151
29102
|
|
|
29103
|
+
var _useState2 = React.useState(false),
|
|
29104
|
+
expanded = _useState2[0],
|
|
29105
|
+
setExpanded = _useState2[1];
|
|
29106
|
+
|
|
29107
|
+
var handleChange = function handleChange() {
|
|
29108
|
+
setExpanded(!expanded);
|
|
29109
|
+
};
|
|
29110
|
+
|
|
29152
29111
|
var handleToggleDialog = function handleToggleDialog() {
|
|
29153
29112
|
setOpen(!open);
|
|
29154
29113
|
};
|
|
@@ -29190,8 +29149,12 @@ var TopLearningStrategy = function TopLearningStrategy(_ref) {
|
|
|
29190
29149
|
changeFilters: changeFiltersLearningStrategiesData,
|
|
29191
29150
|
getLearningStrategiesData: getLearningStrategiesData,
|
|
29192
29151
|
isPlp: isPlp
|
|
29193
|
-
}), React__default.createElement(core.Accordion,
|
|
29194
|
-
|
|
29152
|
+
}), React__default.createElement(core.Accordion, {
|
|
29153
|
+
expanded: expanded
|
|
29154
|
+
}, React__default.createElement(core.AccordionSummary, {
|
|
29155
|
+
expandIcon: React__default.createElement(ExpandMoreIcon, {
|
|
29156
|
+
onClick: handleChange
|
|
29157
|
+
}),
|
|
29195
29158
|
"aria-controls": "panel1a-content",
|
|
29196
29159
|
id: "panel1a-header"
|
|
29197
29160
|
}, React__default.createElement("div", {
|
|
@@ -29235,6 +29198,15 @@ var TopLearningStrategy = function TopLearningStrategy(_ref) {
|
|
|
29235
29198
|
var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
29236
29199
|
var data = _ref.data,
|
|
29237
29200
|
isPlp = _ref.isPlp;
|
|
29201
|
+
|
|
29202
|
+
var _React$useState = React__default.useState(true),
|
|
29203
|
+
expanded = _React$useState[0],
|
|
29204
|
+
setExpanded = _React$useState[1];
|
|
29205
|
+
|
|
29206
|
+
var handleChange = function handleChange() {
|
|
29207
|
+
setExpanded(!expanded);
|
|
29208
|
+
};
|
|
29209
|
+
|
|
29238
29210
|
var history = reactRouterDom.useHistory();
|
|
29239
29211
|
|
|
29240
29212
|
var redirectStudentOverview = function redirectStudentOverview(studentId) {
|
|
@@ -29251,9 +29223,11 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
|
29251
29223
|
return React__default.createElement("div", {
|
|
29252
29224
|
className: "" + styles$9["size-100"]
|
|
29253
29225
|
}, React__default.createElement(core.Accordion, {
|
|
29254
|
-
|
|
29226
|
+
expanded: expanded
|
|
29255
29227
|
}, React__default.createElement(core.AccordionSummary, {
|
|
29256
|
-
expandIcon: React__default.createElement(ExpandMoreIcon,
|
|
29228
|
+
expandIcon: React__default.createElement(ExpandMoreIcon, {
|
|
29229
|
+
onClick: handleChange
|
|
29230
|
+
}),
|
|
29257
29231
|
"aria-controls": "panel1a-content",
|
|
29258
29232
|
id: "panel1a-header"
|
|
29259
29233
|
}, React__default.createElement("div", {
|
|
@@ -29420,7 +29394,7 @@ var ChoiceChartType = function ChoiceChartType(_ref) {
|
|
|
29420
29394
|
typeChart = _ref$typeChart === void 0 ? [TYPECHART.BAR] : _ref$typeChart,
|
|
29421
29395
|
options = _ref.options;
|
|
29422
29396
|
return React__default.createElement("div", {
|
|
29423
|
-
className: "d-flex align-items-center d-inline-block
|
|
29397
|
+
className: "d-flex align-items-center d-inline-block"
|
|
29424
29398
|
}, React__default.createElement("div", {
|
|
29425
29399
|
className: "d-flex align-items-center px-2 " + styles$9["checkbox-chart"]
|
|
29426
29400
|
}, React__default.createElement("div", {
|
|
@@ -29444,7 +29418,7 @@ var ChoiceChartType = function ChoiceChartType(_ref) {
|
|
|
29444
29418
|
cursor: "pointer"
|
|
29445
29419
|
}
|
|
29446
29420
|
}, "Ridge charts"))), React__default.createElement("div", {
|
|
29447
|
-
className: "d-inline-block
|
|
29421
|
+
className: "d-inline-block " + styles$9["checkbox-chart"]
|
|
29448
29422
|
}, React__default.createElement("div", {
|
|
29449
29423
|
className: "pr-4 d-flex align-items-center",
|
|
29450
29424
|
onClick: function onClick() {
|
|
@@ -29484,6 +29458,15 @@ var ColumnChartAndPercent = function ColumnChartAndPercent(_ref) {
|
|
|
29484
29458
|
isHiddenLabel = _ref.isHiddenLabel,
|
|
29485
29459
|
_ref$isClassReflectio = _ref.isClassReflectionChart,
|
|
29486
29460
|
isClassReflectionChart = _ref$isClassReflectio === void 0 ? false : _ref$isClassReflectio;
|
|
29461
|
+
|
|
29462
|
+
var _React$useState = React__default.useState(false),
|
|
29463
|
+
expanded = _React$useState[0],
|
|
29464
|
+
setExpanded = _React$useState[1];
|
|
29465
|
+
|
|
29466
|
+
var handleChange = function handleChange() {
|
|
29467
|
+
setExpanded(!expanded);
|
|
29468
|
+
};
|
|
29469
|
+
|
|
29487
29470
|
if (!data) return React__default.createElement("div", {
|
|
29488
29471
|
className: "flex justify-content-center align-items-center",
|
|
29489
29472
|
style: {
|
|
@@ -29493,8 +29476,12 @@ var ColumnChartAndPercent = function ColumnChartAndPercent(_ref) {
|
|
|
29493
29476
|
return React__default.createElement("div", {
|
|
29494
29477
|
key: name,
|
|
29495
29478
|
className: " " + styles$9["size-100"]
|
|
29496
|
-
}, React__default.createElement(core.Accordion,
|
|
29497
|
-
|
|
29479
|
+
}, React__default.createElement(core.Accordion, {
|
|
29480
|
+
expanded: expanded
|
|
29481
|
+
}, React__default.createElement(core.AccordionSummary, {
|
|
29482
|
+
expandIcon: React__default.createElement(ExpandMoreIcon, {
|
|
29483
|
+
onClick: handleChange
|
|
29484
|
+
}),
|
|
29498
29485
|
"aria-controls": "panel1a-content",
|
|
29499
29486
|
id: "panel1a-header",
|
|
29500
29487
|
style: {
|
|
@@ -29504,15 +29491,13 @@ var ColumnChartAndPercent = function ColumnChartAndPercent(_ref) {
|
|
|
29504
29491
|
className: "" + styles$9["block-header-chart"]
|
|
29505
29492
|
}, React__default.createElement("p", {
|
|
29506
29493
|
className: "" + styles$9["title-chart"]
|
|
29507
|
-
}, name)
|
|
29508
|
-
className: "" + styles$9["column-chart-percent"]
|
|
29509
|
-
}, React__default.createElement("div", {
|
|
29510
|
-
className: "" + styles$9["filter-date"]
|
|
29511
|
-
}, React__default.createElement(ChoiceChartType, {
|
|
29494
|
+
}, name), expanded && React__default.createElement(ChoiceChartType, {
|
|
29512
29495
|
onChangeChart: onChangeChart,
|
|
29513
29496
|
options: optionType,
|
|
29514
29497
|
typeChart: typeChart
|
|
29515
|
-
})),
|
|
29498
|
+
}))), React__default.createElement(core.AccordionDetails, null, React__default.createElement("div", {
|
|
29499
|
+
className: "" + styles$9["column-chart-percent"]
|
|
29500
|
+
}, !isHiddenLabel && React__default.createElement("div", {
|
|
29516
29501
|
className: "" + styles$9["listItem"]
|
|
29517
29502
|
}, data.map(function (month, index) {
|
|
29518
29503
|
return React__default.createElement("div", {
|
|
@@ -29933,7 +29918,7 @@ var Overview = function Overview(props) {
|
|
|
29933
29918
|
KeyboardButtonProps: {
|
|
29934
29919
|
"aria-label": "change date"
|
|
29935
29920
|
},
|
|
29936
|
-
minDate: filterDateChart.
|
|
29921
|
+
minDate: moment(filterDateChart.endDate).subtract(4, 'months').valueOf(),
|
|
29937
29922
|
maxDate: filterDateChart.endDate
|
|
29938
29923
|
})), React__default.createElement("div", {
|
|
29939
29924
|
className: styles$7["date-time-end"] + " date-picker-overview"
|
|
@@ -29941,6 +29926,7 @@ var Overview = function Overview(props) {
|
|
|
29941
29926
|
className: "" + styles$7["text"]
|
|
29942
29927
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29943
29928
|
minDate: filterDateChart.startDate || null,
|
|
29929
|
+
maxDate: moment(filterDateChart.startDate).add(4, 'months').valueOf(),
|
|
29944
29930
|
inputVariant: "outlined",
|
|
29945
29931
|
format: "Do MMM YYYY",
|
|
29946
29932
|
id: "time-picker",
|
|
@@ -49390,6 +49376,10 @@ var Note = function Note() {
|
|
|
49390
49376
|
setSelectStudent = _useNote.setSelectStudent,
|
|
49391
49377
|
isTeacher = _useNote.isTeacher;
|
|
49392
49378
|
|
|
49379
|
+
console.log({
|
|
49380
|
+
allNoteList: allNoteList
|
|
49381
|
+
});
|
|
49382
|
+
|
|
49393
49383
|
var _useFontStyles = useFontStyles(),
|
|
49394
49384
|
defaultFont = _useFontStyles.defaultFont;
|
|
49395
49385
|
|
|
@@ -59670,7 +59660,7 @@ var usePlpPage = function usePlpPage() {
|
|
|
59670
59660
|
labelName = _useTopLearningStrate.labelName,
|
|
59671
59661
|
usageCountList = _useTopLearningStrate.usageCountList;
|
|
59672
59662
|
|
|
59673
|
-
var _useLearningStrategie = useLearningStrategies(student === null || student === void 0 ? void 0 : student.studentId),
|
|
59663
|
+
var _useLearningStrategie = useLearningStrategies(student === null || student === void 0 ? void 0 : student.studentId, filterDate),
|
|
59674
59664
|
learningStrategiesData = _useLearningStrategie.learningStrategiesData,
|
|
59675
59665
|
filtersLearningStrategiesData = _useLearningStrategie.filtersLearningStrategiesData,
|
|
59676
59666
|
changeFiltersLearningStrategiesData = _useLearningStrategie.changeFiltersLearningStrategiesData,
|
|
@@ -59821,7 +59811,7 @@ var PlpPage = function PlpPage() {
|
|
|
59821
59811
|
}, React__default.createElement("div", {
|
|
59822
59812
|
className: "" + styles$G["date-time-box"]
|
|
59823
59813
|
}, React__default.createElement("div", {
|
|
59824
|
-
className:
|
|
59814
|
+
className: styles$G["date-time-start"] + " date-picker-overview"
|
|
59825
59815
|
}, React__default.createElement("p", {
|
|
59826
59816
|
className: "" + styles$G["text"]
|
|
59827
59817
|
}, "From"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
@@ -59837,7 +59827,7 @@ var PlpPage = function PlpPage() {
|
|
|
59837
59827
|
"aria-label": "change date"
|
|
59838
59828
|
}
|
|
59839
59829
|
})), React__default.createElement("div", {
|
|
59840
|
-
className:
|
|
59830
|
+
className: styles$G["date-time-end"] + " date-picker-overview"
|
|
59841
59831
|
}, React__default.createElement("p", {
|
|
59842
59832
|
className: "" + styles$G["text"]
|
|
59843
59833
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
@@ -59855,7 +59845,7 @@ var PlpPage = function PlpPage() {
|
|
|
59855
59845
|
}
|
|
59856
59846
|
}))))), React__default.createElement(core.FormControl, {
|
|
59857
59847
|
variant: "outlined",
|
|
59858
|
-
className: "custom-select-grade"
|
|
59848
|
+
className: "custom-select-grade-plp"
|
|
59859
59849
|
}, React__default.createElement(core.InputLabel, {
|
|
59860
59850
|
htmlFor: "outlined-age-native-simple"
|
|
59861
59851
|
}, "Grade"), React__default.createElement(core.Select, {
|