mario-teacher-student-client 1.2.4 → 1.2.8
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/ConferenceRubric/hooks/useNoteConferences.d.ts +10 -0
- package/dist/containers/MyOneToOne/hooks/useSessionCompleted.d.ts +3 -3
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +3 -4
- package/dist/containers/MyStudent/constants/types.d.ts +33 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +2 -2
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +19 -0
- package/dist/index.css +989 -190
- package/dist/index.js +2077 -768
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2067 -758
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +1 -0
- package/package.json +2 -3
|
@@ -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;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const useNoteConferences: () => {
|
|
2
|
+
teacherNoteData: any;
|
|
3
|
+
studentNoteData: any;
|
|
4
|
+
privateNoteData: any;
|
|
5
|
+
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
6
|
+
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
7
|
+
deleteNote: (noteId: any, sessionId: any) => Promise<void>;
|
|
8
|
+
updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export default useNoteConferences;
|
|
@@ -1,8 +1,8 @@
|
|
|
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>;
|
|
6
|
+
changRouteQuestion: (studentId: number) => Promise<void>;
|
|
7
7
|
};
|
|
8
8
|
export default useSessionCompleted;
|
|
@@ -1,5 +1,4 @@
|
|
|
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>;
|
|
@@ -8,9 +7,9 @@ declare const useUpComing: () => {
|
|
|
8
7
|
studentNoteData: any;
|
|
9
8
|
privateNoteData: any;
|
|
10
9
|
bookSession: (data: any) => Promise<void>;
|
|
11
|
-
setFilters:
|
|
12
|
-
changeFilters: (updatedFilters: any) =>
|
|
13
|
-
filters:
|
|
10
|
+
setFilters: any;
|
|
11
|
+
changeFilters: (updatedFilters: any) => any;
|
|
12
|
+
filters: any;
|
|
14
13
|
changRouteQuestion: (studentId: number) => Promise<void>;
|
|
15
14
|
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
16
15
|
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export interface FILTER_STUDENT_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
|
+
isDescending: boolean;
|
|
12
|
+
}
|
|
1
13
|
export interface FILTER_SESSION {
|
|
2
14
|
currentPage: number;
|
|
3
15
|
pageSize: number;
|
|
@@ -14,6 +26,23 @@ export interface SESSION_TYPE {
|
|
|
14
26
|
id: string;
|
|
15
27
|
studentId: string;
|
|
16
28
|
teacherId: number;
|
|
29
|
+
startTime: string;
|
|
30
|
+
minutes?: number;
|
|
31
|
+
isDoing?: boolean;
|
|
32
|
+
isDone?: boolean;
|
|
33
|
+
isCreatedByTeacher?: boolean;
|
|
34
|
+
isFavourite: boolean;
|
|
35
|
+
isTeacherFavourite: boolean;
|
|
36
|
+
isTeacherDone?: boolean;
|
|
37
|
+
studentProfile: any;
|
|
38
|
+
teacherName: string;
|
|
39
|
+
}
|
|
40
|
+
export interface STUDENT_PROFILE {
|
|
41
|
+
id: number;
|
|
42
|
+
userId: string;
|
|
43
|
+
name: string;
|
|
44
|
+
avatar: string;
|
|
45
|
+
classes: string[];
|
|
17
46
|
}
|
|
18
47
|
export interface CLASS_REFLECTION {
|
|
19
48
|
id: number;
|
|
@@ -27,6 +56,10 @@ export interface QuestionAnswer {
|
|
|
27
56
|
id: number;
|
|
28
57
|
answer: string;
|
|
29
58
|
}
|
|
59
|
+
export declare enum OrderByStudent {
|
|
60
|
+
id = 0,
|
|
61
|
+
name = 1
|
|
62
|
+
}
|
|
30
63
|
export interface ActionPointType {
|
|
31
64
|
id?: string;
|
|
32
65
|
text: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
2
|
declare const useStudentList: () => {
|
|
3
3
|
students: any;
|
|
4
4
|
changeFilters: (updatedFilters: any) => void;
|
|
5
|
-
filters:
|
|
5
|
+
filters: FILTER_STUDENT_SESSION;
|
|
6
6
|
};
|
|
7
7
|
export default useStudentList;
|
|
@@ -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;
|