mario-teacher-student-client 2.2.15-beta → 2.2.17-beta
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/components/layouts/HeaderSideBar.d.ts +1 -5
- package/dist/components/layouts/LanguageDropdown.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -3
- package/dist/containers/Goals/components/GoalProgress.d.ts +1 -0
- package/dist/containers/Home/constants/constants.d.ts +1 -0
- package/dist/containers/MyConferences/constants/types.d.ts +1 -0
- package/dist/containers/MyConferences/hooks/useUpComing.d.ts +6 -0
- package/dist/containers/MyOneToOne/constants/types.d.ts +1 -0
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +6 -0
- package/dist/containers/MyStudent/components/ChartOverview.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/classReflection.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/conference.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/learningProgress.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/oneToOneApi.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/constants.d.ts +2 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +3 -7
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/ClassReflection.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/Conference.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/LearningProgress.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/OneToOneServices.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/BubbleChartCustom.d.ts +1 -5
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ColumnChartAndPercent.d.ts +1 -4
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/TopLearningStrategy.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +3 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -1
- package/dist/containers/MyStudent/constants/constantsLearning.d.ts +1 -0
- package/dist/containers/MyStudent/constants/types.d.ts +3 -0
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +7 -28
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +6 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +6 -0
- package/dist/containers/PLP/hooks/usePlpPage.d.ts +9 -26
- package/dist/containers/Surveys/hook/useAdditionalQuestion.d.ts +1 -1
- package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +1 -1
- package/dist/index.css +436 -311
- package/dist/index.js +3188 -2587
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3349 -2748
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyConferences.d.ts +1 -0
- package/dist/services/MyStudent.d.ts +5 -1
- package/dist/services/OneToOne.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
- 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/Chat/ApiClient/Conference.d.ts +0 -1
- 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/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/hook/useActionNeededSurvey.d.ts +0 -9
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
- 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
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
name: string;
|
|
4
|
-
icon: JSX.Element;
|
|
5
|
-
}[];
|
|
6
|
-
declare const HeaderSideBar: ({ children, navigations }: any) => JSX.Element;
|
|
2
|
+
declare const HeaderSideBar: ({ children, navigations, onToggleModel }: any) => JSX.Element;
|
|
7
3
|
export default HeaderSideBar;
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const daily_motivation: string[];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_SESSION } from "../constants/types";
|
|
3
3
|
declare const useUpComing: () => {
|
|
4
|
+
isConferenceStarted: boolean;
|
|
5
|
+
handleDeleteConference: (conferenceId: number) => Promise<void>;
|
|
6
|
+
handleCloseModalConfirmDelete: () => void;
|
|
7
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
8
|
+
selectedConferenceId: number;
|
|
9
|
+
openModalConfirmDelete: boolean;
|
|
4
10
|
studentData: any;
|
|
5
11
|
sessionData: any;
|
|
6
12
|
teacherNoteData: any;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_SESSION } from "../constants/types";
|
|
3
3
|
declare const useUpComing: () => {
|
|
4
|
+
isSessionStarted: boolean;
|
|
5
|
+
handleDeleteSession: (sessionId: number) => Promise<void>;
|
|
6
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
7
|
+
handleCloseModalConfirmDelete: () => void;
|
|
8
|
+
selectedSessionId: number;
|
|
9
|
+
openModalConfirmDelete: boolean;
|
|
4
10
|
sessionData: any;
|
|
5
11
|
teacherNoteData: any;
|
|
6
12
|
studentNoteData: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne,
|
|
2
|
+
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne, seriesConference, topLearningStrategiesData, handleActiveColumnOneToOne, activeColumnOneToOne, avgOneToOne, monthsOneToOne, dataConvertedOneToOne, onChangeChart, typeChartList, dataConvertedClassReflection, monthsClassReflection, avgClassReflection, seriesClassRefection, activeColumnClassReflection, handleActiveColumnClassReflection, onChangeTypeChartReflection, typeChartReflection, dataConvertedConference, avgConference, monthsConference, activeColumnConference, handleActiveColumnConference, onChangeTypeConference, typeChartConference, seriesLearningProgress, onChangeTypeLearningProgress, dataConvertedLearningProgress, typeChartLearningProgress, monthsLearningProgress, filtersLearningStrategiesData, learningStrategiesData, changeFiltersLearningStrategiesData, getLearningStrategiesData, handleChangeStartTopLearning, handleChangeEndTopLearning, timeStartTopLearning, timeEndTopLearning }: any) => JSX.Element;
|
|
3
3
|
export default ChartOverview;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/classReflection.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getClassReflectionApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getClassReflectionApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/learningProgress.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLearningProgressApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getLearningProgressApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getOneToOneApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getOneToOneApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLeanApi: (studentId: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getDataRedinessToLeanApi: (studentId: any, timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndClassReflection: any;
|
|
7
|
-
timeStartClassReflection: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartClassReflection: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartOneToOne: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
4
4
|
chartOneToOneData: IColumnChartAndPercent;
|
|
5
|
-
handleChangeStartDate: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
handleChangeEndDate: (datepicker: MaterialUiPickersDate) => void;
|
|
7
|
-
timeEnd: any;
|
|
8
|
-
timeStart: any;
|
|
9
5
|
anchorEl: any;
|
|
10
6
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
7
|
handleClose: () => void;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndConference: any;
|
|
7
|
-
timeStartConference: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartConference: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndLearningProgress: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndLearningProgress: any;
|
|
7
|
-
timeStartLearningProgress: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useLearningProgress: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { IReadinessToLearning } from "../types/types";
|
|
2
|
-
import {
|
|
3
|
-
declare const useRedinessToLearn: (studentId: number) => {
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useRedinessToLearn: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
4
4
|
anchorElReadinessToLearn: any;
|
|
5
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
6
|
handleClose: () => void;
|
|
7
|
-
setChartData: (timeStartReadiness: number, timeEndReadiness: number) => Promise<void>;
|
|
7
|
+
setChartData: (timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<void>;
|
|
8
8
|
dataReadinessOfChart: IReadinessToLearning[];
|
|
9
|
-
handleChangeStartReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
-
handleChangeEndReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
-
timeEndReadiness: number;
|
|
12
|
-
timeStartReadiness: number;
|
|
13
9
|
};
|
|
14
10
|
export default useRedinessToLearn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataClassReflectionServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataClassReflectionServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataConferenceServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataConferenceServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/LearningProgress.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataLearningProgressServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataLearningProgressServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/OneToOneServices.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataOneToOneServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataOneToOneServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLean: (dispatch: any, id: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<any>;
|
|
1
|
+
export declare const getDataRedinessToLean: (dispatch: any, id: any, timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<any>;
|
|
@@ -2,11 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { IReadinessToLearning } from "../types/types";
|
|
3
3
|
interface IProps {
|
|
4
4
|
data: IReadinessToLearning[];
|
|
5
|
-
timeStart?: number;
|
|
6
|
-
timeEnd?: number;
|
|
7
|
-
handleChangeStartDate?: Function;
|
|
8
|
-
handleChangeEndDate?: Function;
|
|
9
5
|
isPlp?: boolean;
|
|
10
6
|
}
|
|
11
|
-
declare const _default: React.MemoExoticComponent<({ data,
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ data, isPlp }: IProps) => JSX.Element>;
|
|
12
8
|
export default _default;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/view/ColumnChartAndPercent.d.ts
CHANGED
|
@@ -14,10 +14,7 @@ export interface IProps {
|
|
|
14
14
|
optionType: IChartOptions[];
|
|
15
15
|
name: string;
|
|
16
16
|
isHiddenLabel?: boolean;
|
|
17
|
-
|
|
18
|
-
timeEnd?: string;
|
|
19
|
-
handleChangeStartDate?: Function;
|
|
20
|
-
handleChangeEndDate?: Function;
|
|
17
|
+
isClassReflectionChart?: boolean;
|
|
21
18
|
}
|
|
22
19
|
declare const ColumnChartAndPercent: FC<IProps>;
|
|
23
20
|
export default ColumnChartAndPercent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ITopLearningStrategy } from "../types/types";
|
|
3
|
-
declare const TopLearningStrategy: ({ learningStrategies, isPlp, filtersLearningStrategiesData, learningStrategiesData, getLearningStrategiesData, changeFiltersLearningStrategiesData
|
|
3
|
+
declare const TopLearningStrategy: ({ learningStrategies, isPlp, filtersLearningStrategiesData, learningStrategiesData, getLearningStrategiesData, changeFiltersLearningStrategiesData }: ITopLearningStrategy) => JSX.Element;
|
|
4
4
|
export default TopLearningStrategy;
|
|
@@ -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;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILearningStrategies } from "../../Chat/types/types";
|
|
3
|
-
import {
|
|
4
|
-
declare const useTopLearningStrategies: (studentId: number) => {
|
|
3
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
4
|
+
declare const useTopLearningStrategies: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
5
5
|
topLearningStrategiesData: ILearningStrategies;
|
|
6
6
|
topLearningStrategy: any;
|
|
7
7
|
labelName: any;
|
|
8
8
|
usageCountList: import("react").MutableRefObject<number[]>;
|
|
9
|
-
handleChangeStartTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
-
handleChangeEndTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
-
timeStartTopLearning: number;
|
|
12
|
-
timeEndTopLearning: number;
|
|
13
9
|
};
|
|
14
10
|
export default useTopLearningStrategies;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getTopLearningStrategiesApi: (studentId: number, timeStartTopLearning: number, timeEndTopLearning: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getTopLearningStrategiesApi: (studentId: number, timeStartTopLearning: number, timeEndTopLearning: number, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
2
|
export declare const getAllListLearningStrategiesApi: (studentId: number, filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -13,6 +13,7 @@ export interface FILTER_STUDENT_SESSION {
|
|
|
13
13
|
currentId?: number;
|
|
14
14
|
showAssistant?: boolean;
|
|
15
15
|
onlyShowWorkAsAssistant?: boolean;
|
|
16
|
+
grade?: string[];
|
|
16
17
|
}
|
|
17
18
|
export interface FILTER_SESSION {
|
|
18
19
|
currentPage: number;
|
|
@@ -46,6 +47,8 @@ export interface SESSION_TYPE {
|
|
|
46
47
|
sortOrder?: string;
|
|
47
48
|
teacherResultId?: number;
|
|
48
49
|
isWorkAsAssistant?: boolean;
|
|
50
|
+
isEditSession?: boolean;
|
|
51
|
+
isEditConference?: boolean;
|
|
49
52
|
}
|
|
50
53
|
export interface STUDENT_PROFILE {
|
|
51
54
|
id: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_STUDENT_WELLBEING } from "../constants/types";
|
|
3
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
4
|
declare const useOverview: (studentId: number) => {
|
|
5
|
+
isAdmin: any;
|
|
4
6
|
partnerData: any;
|
|
5
7
|
informationDashboard: any;
|
|
6
|
-
filters: FILTER_STUDENT_WELLBEING;
|
|
7
|
-
changeFilters: (updatedFilters: any) => void;
|
|
8
8
|
informationWellbeing: any;
|
|
9
9
|
getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
|
|
10
10
|
classFontSize: string;
|
|
@@ -13,24 +13,8 @@ declare const useOverview: (studentId: number) => {
|
|
|
13
13
|
handleClose: () => void;
|
|
14
14
|
dataReadinessOfChart: import("../components/NewOverview/Chat/types/types").IReadinessToLearning[];
|
|
15
15
|
chartOneToOneData: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
16
|
-
handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
17
|
-
handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
18
|
-
timeEnd: any;
|
|
19
|
-
timeStart: any;
|
|
20
|
-
handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
21
|
-
handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
22
|
-
timeEndClassReflection: any;
|
|
23
|
-
timeStartClassReflection: any;
|
|
24
16
|
seriesConference: import("../components/NewOverview/Chat/types/types").ISeries[];
|
|
25
|
-
handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
26
|
-
handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
27
|
-
timeEndConference: any;
|
|
28
|
-
timeStartConference: any;
|
|
29
17
|
seriesLearningProgress: import("../components/NewOverview/Chat/types/types").ISeries[];
|
|
30
|
-
handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
31
|
-
handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
32
|
-
timeEndLearningProgress: any;
|
|
33
|
-
timeStartLearningProgress: any;
|
|
34
18
|
topLearningStrategiesData: import("../components/NewOverview/Chat/types/types").ILearningStrategies;
|
|
35
19
|
topLearningStrategy: any;
|
|
36
20
|
labelName: any;
|
|
@@ -42,8 +26,8 @@ declare const useOverview: (studentId: number) => {
|
|
|
42
26
|
pageSize: number;
|
|
43
27
|
sortBy: string;
|
|
44
28
|
sortOrder: string;
|
|
45
|
-
startDate:
|
|
46
|
-
endDate:
|
|
29
|
+
startDate: any;
|
|
30
|
+
endDate: any;
|
|
47
31
|
};
|
|
48
32
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
49
33
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -75,14 +59,9 @@ declare const useOverview: (studentId: number) => {
|
|
|
75
59
|
dataConvertedLearningProgress: string[];
|
|
76
60
|
typeChartLearningProgress: import("../components/NewOverview/Chat/types/types").TYPECHART[];
|
|
77
61
|
monthsLearningProgress: string[];
|
|
78
|
-
handleChangeStartTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
79
|
-
handleChangeEndTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
80
|
-
timeStartTopLearning: number;
|
|
81
|
-
timeEndTopLearning: number;
|
|
82
|
-
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
83
|
-
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
84
|
-
timeEndReadiness: number;
|
|
85
|
-
timeStartReadiness: number;
|
|
86
62
|
chartConference: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
63
|
+
handleChangeEndDateChart: (date: MaterialUiPickersDate) => void;
|
|
64
|
+
handleChangeStartDateChart: (date: MaterialUiPickersDate) => void;
|
|
65
|
+
filterDateChart: FILTER_STUDENT_WELLBEING;
|
|
87
66
|
};
|
|
88
67
|
export default useOverview;
|
|
@@ -8,6 +8,12 @@ interface FILTER_SESSION {
|
|
|
8
8
|
endDate?: number;
|
|
9
9
|
}
|
|
10
10
|
declare const useStudentConference: () => {
|
|
11
|
+
isConferenceStarted: boolean;
|
|
12
|
+
openModalConfirmDelete: boolean;
|
|
13
|
+
selectedConferenceId: number;
|
|
14
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
15
|
+
handleCloseModalConfirmDelete: () => void;
|
|
16
|
+
handleDeleteConference: (conferenceId: number) => Promise<void>;
|
|
11
17
|
sessionData: any;
|
|
12
18
|
filter: FILTER_SESSION;
|
|
13
19
|
changeFilters: (updatedFilters: any) => void;
|
|
@@ -11,6 +11,12 @@ interface FILTER_SESSION {
|
|
|
11
11
|
isConversation?: boolean | null;
|
|
12
12
|
}
|
|
13
13
|
declare const useStudentOneToOne: (isConversation?: boolean | undefined) => {
|
|
14
|
+
isSessionStarted: boolean;
|
|
15
|
+
openModalConfirmDelete: boolean;
|
|
16
|
+
selectSessionId: number;
|
|
17
|
+
handleCloseModalConfirmDelete: () => void;
|
|
18
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
19
|
+
handleDeleteSession: (sessionId: number) => Promise<void>;
|
|
14
20
|
sessionData: any;
|
|
15
21
|
filter: FILTER_SESSION;
|
|
16
22
|
changeFilters: (updatedFilters: any) => void;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../MyStudent/constants/types";
|
|
3
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
4
|
declare const usePlpPage: () => {
|
|
5
|
+
handleChangeFilterGrade: (grade: string) => void;
|
|
6
|
+
gradeList: string[];
|
|
3
7
|
student: any;
|
|
4
8
|
setStudent: import("react").Dispatch<any>;
|
|
5
9
|
goToListChart: () => void;
|
|
@@ -8,24 +12,8 @@ declare const usePlpPage: () => {
|
|
|
8
12
|
handleClose: () => void;
|
|
9
13
|
dataReadinessOfChart: import("../../MyStudent/components/NewOverview/Chat/types/types").IReadinessToLearning[];
|
|
10
14
|
chartOneToOneData: import("../../MyStudent/components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
11
|
-
handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
12
|
-
handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
13
|
-
timeEnd: any;
|
|
14
|
-
timeStart: any;
|
|
15
|
-
handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
16
|
-
handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
17
|
-
timeEndClassReflection: any;
|
|
18
|
-
timeStartClassReflection: any;
|
|
19
15
|
seriesConference: import("../../MyStudent/components/NewOverview/Chat/types/types").ISeries[];
|
|
20
|
-
handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
21
|
-
handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
22
|
-
timeEndConference: any;
|
|
23
|
-
timeStartConference: any;
|
|
24
16
|
seriesLearningProgress: import("../../MyStudent/components/NewOverview/Chat/types/types").ISeries[];
|
|
25
|
-
handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
26
|
-
handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
27
|
-
timeEndLearningProgress: any;
|
|
28
|
-
timeStartLearningProgress: any;
|
|
29
17
|
topLearningStrategiesData: import("../../MyStudent/components/NewOverview/Chat/types/types").ILearningStrategies;
|
|
30
18
|
topLearningStrategy: any;
|
|
31
19
|
labelName: any;
|
|
@@ -37,8 +25,8 @@ declare const usePlpPage: () => {
|
|
|
37
25
|
pageSize: number;
|
|
38
26
|
sortBy: string;
|
|
39
27
|
sortOrder: string;
|
|
40
|
-
startDate:
|
|
41
|
-
endDate:
|
|
28
|
+
startDate: any;
|
|
29
|
+
endDate: any;
|
|
42
30
|
};
|
|
43
31
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
44
32
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -69,13 +57,8 @@ declare const usePlpPage: () => {
|
|
|
69
57
|
dataConvertedLearningProgress: string[];
|
|
70
58
|
typeChartLearningProgress: import("../../MyStudent/components/NewOverview/Chat/types/types").TYPECHART[];
|
|
71
59
|
monthsLearningProgress: string[];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
timeEndTopLearning: number;
|
|
76
|
-
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
77
|
-
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
78
|
-
timeEndReadiness: number;
|
|
79
|
-
timeStartReadiness: number;
|
|
60
|
+
handleChangeStartDateChart: (date: MaterialUiPickersDate) => void;
|
|
61
|
+
handleChangeEndDateChart: (date: MaterialUiPickersDate) => void;
|
|
62
|
+
filterDate: FILTER_STUDENT_WELLBEING;
|
|
80
63
|
};
|
|
81
64
|
export default usePlpPage;
|
|
@@ -19,6 +19,6 @@ declare const useAdditionalQuestion: ({ setAdditionalQuestionForm, dataFormCreat
|
|
|
19
19
|
handleChangeAdditionalType: (type: string) => void;
|
|
20
20
|
handleCheckFormConfirm: (question: QUESTION_ADDITIONAL) => boolean;
|
|
21
21
|
handleAddAnswerQuestion: () => void;
|
|
22
|
-
handleRemoveAnswer: (answer: IAnswer) => void;
|
|
22
|
+
handleRemoveAnswer: (answer: IAnswer, additionalQuestion: QUESTION_ADDITIONAL) => void;
|
|
23
23
|
};
|
|
24
24
|
export default useAdditionalQuestion;
|
|
@@ -68,7 +68,7 @@ declare const useListSurveyDetail: () => {
|
|
|
68
68
|
handleChangeAdditionalType: (type: string) => void;
|
|
69
69
|
handleCheckFormConfirm: (question: QUESTION_ADDITIONAL) => boolean;
|
|
70
70
|
handleAddAnswerQuestion: () => void;
|
|
71
|
-
handleRemoveAnswer: (answer: import("../constants/questionModelType").IAnswer) => void;
|
|
71
|
+
handleRemoveAnswer: (answer: import("../constants/questionModelType").IAnswer, additionalQuestion: QUESTION_ADDITIONAL) => void;
|
|
72
72
|
filterFavorite: import("../constants/types").FILTER_SURVEY;
|
|
73
73
|
handleSortTableFavorite: (e: string) => void;
|
|
74
74
|
handleChangeRowsPerPageFavorite: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
|