mario-teacher-student-client 1.2.1 → 1.2.6
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/Input/TextFieldComponent.d.ts +2 -1
- package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +2 -5
- package/dist/containers/ConductOneToOne/components/ProfileDialog/ProfileDialog.d.ts +7 -0
- package/dist/containers/ConductOneToOne/hooks/useProfileDialog.d.ts +5 -0
- package/dist/containers/ConferenceRubric/hooks/useConferenceDetail.d.ts +4 -0
- package/dist/containers/Home/components/CurrentFullCalendar.d.ts +1 -1
- package/dist/containers/Home/components/TodayScheduleMobile.d.ts +10 -0
- package/dist/containers/Home/hooks/getEventCalendar.d.ts +4 -0
- package/dist/containers/Home/views/HomePage.d.ts +3 -0
- package/dist/containers/MyConferences/components/BookSessionConferences.d.ts +3 -0
- package/dist/containers/MyConferences/components/Tabs/CustomTab.d.ts +2 -0
- package/dist/containers/MyConferences/components/dialog/DialogRequestConferences.d.ts +2 -1
- package/dist/containers/MyConferences/components/dialog/StudentDetail.d.ts +1 -2
- package/dist/containers/MyConferences/constants/types.d.ts +5 -0
- package/dist/containers/MyConferences/hooks/useStartConference.d.ts +4 -0
- package/dist/containers/MyConferences/hooks/useUpComing.d.ts +2 -3
- package/dist/containers/MyOneToOne/constants/types.d.ts +1 -0
- package/dist/containers/MyOneToOne/hooks/useSessionCompleted.d.ts +2 -3
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +3 -6
- package/dist/containers/MyStudent/constants/types.d.ts +10 -0
- package/dist/containers/MyStudent/hooks/useClassReflectionList.d.ts +8 -0
- package/dist/containers/MyStudent/hooks/useResultReflection.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +0 -2
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +19 -0
- package/dist/index.css +1003 -172
- package/dist/index.d.ts +3 -2
- package/dist/index.js +5654 -3876
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5642 -3865
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +1 -0
- package/dist/services/ConferenceService.d.ts +1 -0
- package/dist/services/Dashboard.d.ts +3 -0
- package/dist/services/MyConferences.d.ts +2 -2
- package/dist/services/MyStudent.d.ts +1 -0
- package/dist/services/OneToOne.d.ts +0 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ interface Props {
|
|
|
3
3
|
questionId: number;
|
|
4
4
|
valueText: string;
|
|
5
5
|
onChangeQuestionAnswer?: (questionId: number, value: string) => void;
|
|
6
|
+
isPageResult?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer }: Props) => JSX.Element;
|
|
8
|
+
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult }: Props) => JSX.Element;
|
|
8
9
|
export default TextFieldComponent;
|
|
@@ -7,11 +7,8 @@ interface Props {
|
|
|
7
7
|
startTime?: string;
|
|
8
8
|
createdByTeacher?: boolean;
|
|
9
9
|
gradeLevel?: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
nameDetail: string;
|
|
13
|
-
imageUrl: string;
|
|
14
|
-
conduct: any;
|
|
10
|
+
informationUser?: any;
|
|
11
|
+
clickOpenProfileDialog?: any;
|
|
15
12
|
}
|
|
16
13
|
declare const ConductTop: FC<Props>;
|
|
17
14
|
export default ConductTop;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
interface Props {
|
|
4
|
+
studentUserId: string;
|
|
5
|
+
date: MaterialUiPickersDate;
|
|
6
|
+
teacherUserId?: string;
|
|
7
|
+
isStudentSchedule: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const TodayScheduleMobile: FC<Props>;
|
|
10
|
+
export default TodayScheduleMobile;
|
|
@@ -3,6 +3,7 @@ interface Props {
|
|
|
3
3
|
studentId?: number;
|
|
4
4
|
setStudentId?: Function;
|
|
5
5
|
onClickStartQuestion?: Function;
|
|
6
|
+
handleClose?: any;
|
|
6
7
|
}
|
|
7
|
-
declare const DialogRequestConferences: ({ setStudentId }: Props) => JSX.Element;
|
|
8
|
+
declare const DialogRequestConferences: ({ setStudentId, handleClose, studentId }: Props) => JSX.Element;
|
|
8
9
|
export default DialogRequestConferences;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
declare const StudentDetail: (props: DialogDetailProps) => JSX.Element;
|
|
2
|
+
declare const StudentDetail: (props: any) => JSX.Element;
|
|
4
3
|
export default StudentDetail;
|
|
@@ -10,6 +10,9 @@ export interface SESSION_TYPE {
|
|
|
10
10
|
isCreatedByTeacher?: boolean;
|
|
11
11
|
isFavourite: boolean;
|
|
12
12
|
isTeacherFavourite: boolean;
|
|
13
|
+
isTeacherDone?: boolean;
|
|
14
|
+
teacherName: string;
|
|
15
|
+
studentId?: number;
|
|
13
16
|
}
|
|
14
17
|
export interface STUDENT_PROFILE {
|
|
15
18
|
id: number;
|
|
@@ -25,6 +28,8 @@ export interface SIMPLE_DIALOG {
|
|
|
25
28
|
setStudentId?: Function;
|
|
26
29
|
onClickStartQuestion?: Function;
|
|
27
30
|
studentId?: number;
|
|
31
|
+
label?: string;
|
|
32
|
+
getStartConferenceRubric?: Function;
|
|
28
33
|
}
|
|
29
34
|
export interface STUDENT_SELECTOR {
|
|
30
35
|
id: number;
|
|
@@ -3,12 +3,9 @@ import { FILTER_SESSION } from "../constants/types";
|
|
|
3
3
|
declare const useUpComing: () => {
|
|
4
4
|
studentData: any;
|
|
5
5
|
sessionData: any;
|
|
6
|
-
studentProf: any;
|
|
7
6
|
teacherNoteData: any;
|
|
8
7
|
studentNoteData: any;
|
|
9
8
|
privateNoteData: any;
|
|
10
|
-
getStudentProfilesSelector: (id: any) => Promise<void>;
|
|
11
|
-
bookSession: (data: any) => Promise<void>;
|
|
12
9
|
setFilters: import("react").Dispatch<import("react").SetStateAction<FILTER_SESSION>>;
|
|
13
10
|
changeFilters: (updatedFilters: any) => void;
|
|
14
11
|
filters: FILTER_SESSION;
|
|
@@ -18,5 +15,7 @@ declare const useUpComing: () => {
|
|
|
18
15
|
deleteNote: (noteId: any, sessionId: any) => Promise<void>;
|
|
19
16
|
updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
|
|
20
17
|
nextSession: any;
|
|
18
|
+
nextTimeMeeting: () => Promise<void>;
|
|
19
|
+
getStudentSelector: () => Promise<void>;
|
|
21
20
|
};
|
|
22
21
|
export default useUpComing;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { FILTER_SESSION } from "../constants/types";
|
|
2
1
|
declare const useSessionCompleted: () => {
|
|
3
2
|
sessionDataHistory: any;
|
|
4
|
-
changeFilters: (updatedFilters: any) =>
|
|
5
|
-
filters:
|
|
3
|
+
changeFilters: (updatedFilters: any) => any;
|
|
4
|
+
filters: any;
|
|
6
5
|
selectFavourite: (itemID: string) => Promise<void>;
|
|
7
6
|
};
|
|
8
7
|
export default useSessionCompleted;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FILTER_SESSION } from "../constants/types";
|
|
3
2
|
declare const useUpComing: () => {
|
|
4
3
|
studentData: any;
|
|
5
4
|
setStudentData: import("react").Dispatch<any>;
|
|
6
5
|
sessionData: any;
|
|
7
|
-
studentProf: any;
|
|
8
6
|
teacherNoteData: any;
|
|
9
7
|
studentNoteData: any;
|
|
10
8
|
privateNoteData: any;
|
|
11
|
-
getStudentProfilesSelector: (id: any) => Promise<void>;
|
|
12
9
|
bookSession: (data: any) => Promise<void>;
|
|
13
|
-
setFilters:
|
|
14
|
-
changeFilters: (updatedFilters: any) =>
|
|
15
|
-
filters:
|
|
10
|
+
setFilters: any;
|
|
11
|
+
changeFilters: (updatedFilters: any) => any;
|
|
12
|
+
filters: any;
|
|
16
13
|
changRouteQuestion: (studentId: number) => Promise<void>;
|
|
17
14
|
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
18
15
|
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
@@ -14,6 +14,16 @@ export interface SESSION_TYPE {
|
|
|
14
14
|
id: string;
|
|
15
15
|
studentId: string;
|
|
16
16
|
teacherId: number;
|
|
17
|
+
startTime: string;
|
|
18
|
+
minutes?: number;
|
|
19
|
+
isDoing?: boolean;
|
|
20
|
+
isDone?: boolean;
|
|
21
|
+
isCreatedByTeacher?: boolean;
|
|
22
|
+
isFavourite: boolean;
|
|
23
|
+
isTeacherFavourite: boolean;
|
|
24
|
+
isTeacherDone?: boolean;
|
|
25
|
+
teacherName: string;
|
|
26
|
+
studentProfile: any;
|
|
17
27
|
}
|
|
18
28
|
export interface CLASS_REFLECTION {
|
|
19
29
|
id: number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FILTER_SESSION } from "../constants/types";
|
|
2
|
+
declare const useClassReflectionList: () => {
|
|
3
|
+
changeFilters: (updatedFilters: any) => void;
|
|
4
|
+
filters: FILTER_SESSION;
|
|
5
|
+
getDataClassReflections: (filters: any, studentId: any) => Promise<void>;
|
|
6
|
+
classReflectionData: any;
|
|
7
|
+
};
|
|
8
|
+
export default useClassReflectionList;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface FILTER_SESSION {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
pageSize: number;
|
|
4
|
+
searchString: string;
|
|
5
|
+
sortBy: string;
|
|
6
|
+
sortOrder: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
startDate?: number;
|
|
9
|
+
endDate?: number;
|
|
10
|
+
isDone?: boolean;
|
|
11
|
+
onlyShowFavourite?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const useStudentOneToOne: () => {
|
|
14
|
+
sessionData: any;
|
|
15
|
+
filter: FILTER_SESSION;
|
|
16
|
+
changeFilters: (updatedFilters: any) => void;
|
|
17
|
+
getStudentOneToOne: (studentId: any) => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export default useStudentOneToOne;
|