mario-teacher-student-client 1.3.0 → 1.3.4
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/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/EmotionComponent.d.ts +3 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/QuestionComponent.d.ts +3 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/SliderComponent.d.ts +3 -2
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/selector/StudentSelector.d.ts +1 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/hooks/useConductOne.d.ts +4 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/BookSession.d.ts +1 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +1 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogRequestOneToOne.d.ts +5 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Me.d.ts +3 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Student.d.ts +3 -0
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/constants/types.d.ts +3 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/ConductOneToOne.d.ts +2 -1
- package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/OneToOne.d.ts +1 -0
- package/dist/components/Button/NodeDraggable.d.ts +1 -1
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
- package/dist/components/QuestionTypes/SliderComponent.d.ts +1 -0
- package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/MyConferences/constants/types.d.ts +1 -1
- package/dist/containers/MyProfile/hooks/useProfile.d.ts +7 -0
- package/dist/containers/MyProfile/views/MyProfile.d.ts +3 -0
- package/dist/containers/MyStudent/components/InformationUser.d.ts +3 -2
- package/dist/containers/MyStudent/components/Overview.d.ts +1 -1
- package/dist/containers/MyStudent/components/OverviewLeft.d.ts +3 -0
- package/dist/containers/MyStudent/components/OverviewTop.d.ts +6 -0
- package/dist/containers/MyStudent/components/OverviewWellbeing.d.ts +7 -0
- package/dist/containers/MyStudent/constants/types.d.ts +16 -4
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +9 -0
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +16 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +0 -1
- package/dist/index.css +912 -158
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2574 -525
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2562 -514
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyProfile.d.ts +3 -0
- package/dist/services/MyStudent.d.ts +4 -0
- package/package.json +99 -97
- package/dist/containers/ConductOneToOne/components/SessionResultNote.d.ts +0 -3
- package/dist/containers/MyConferences/components/BookSession.d.ts +0 -3
- package/dist/containers/MyConferences/components/DialogRequestOneToOne.d.ts +0 -3
- package/dist/containers/MyConferences/components/dialog/DialogRequestOneToOne.d.ts +0 -8
- package/dist/containers/MyOneToOne/components/SessionResultNote.d.ts +0 -3
|
@@ -2,6 +2,9 @@ import { FC } from "react";
|
|
|
2
2
|
import { EmotionType } from "../../containers/ConductOneToOne/constant/types";
|
|
3
3
|
interface Props {
|
|
4
4
|
emotionTypeList?: EmotionType[];
|
|
5
|
+
onChangeSlider?: Function;
|
|
6
|
+
questionId: number;
|
|
7
|
+
valueText?: string;
|
|
5
8
|
}
|
|
6
9
|
declare const EmotionComponent: FC<Props>;
|
|
7
10
|
export default EmotionComponent;
|
|
@@ -6,6 +6,9 @@ interface Props {
|
|
|
6
6
|
maxText?: string;
|
|
7
7
|
questionTypeId: QuestionType;
|
|
8
8
|
emotionTypeList?: EmotionType[];
|
|
9
|
+
onChangeSlider?: (questionId: number, value: string) => void;
|
|
10
|
+
questionId: number;
|
|
11
|
+
valueText: string;
|
|
9
12
|
}
|
|
10
13
|
declare const QuestionComponent: FC<Props>;
|
|
11
14
|
export default QuestionComponent;
|
|
@@ -2,8 +2,9 @@ import { FC } from "react";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
minText?: string;
|
|
4
4
|
maxText?: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
questionId: number;
|
|
6
|
+
valueText: string;
|
|
7
|
+
onChangeSlider?: (questionId: number, value: string) => void;
|
|
7
8
|
}
|
|
8
9
|
declare const SliderComponent: FC<Props>;
|
|
9
10
|
export default SliderComponent;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { LearningStrategyType, LearningStrategyCategory } from "../constant/types";
|
|
2
2
|
declare const useConductOne: () => {
|
|
3
|
+
currentUser: any;
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
isStudent: any;
|
|
3
6
|
listQuestionTeachers: any;
|
|
4
7
|
listQuestionStudents: any;
|
|
5
8
|
listLearningStrategory: LearningStrategyType[];
|
|
6
9
|
listLearningStrategoryCategory: LearningStrategyCategory[];
|
|
10
|
+
updateQuestionAnswer: (questionId: number, text: string) => void;
|
|
7
11
|
};
|
|
8
12
|
export default useConductOne;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
|
+
setStudentId?: Function;
|
|
4
|
+
onClickStartQuestion?: Function;
|
|
5
|
+
}
|
|
6
|
+
declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion }: Props) => JSX.Element;
|
|
3
7
|
export default DialogRequestOneToOne;
|
|
@@ -21,6 +21,8 @@ export interface SIMPLE_DIALOG {
|
|
|
21
21
|
open: boolean;
|
|
22
22
|
selectedValue: string;
|
|
23
23
|
onClose: (value: string) => void;
|
|
24
|
+
setStudentId?: Function;
|
|
25
|
+
onClickStartQuestion?: Function;
|
|
24
26
|
}
|
|
25
27
|
export interface STUDENT_SELECTOR {
|
|
26
28
|
id: number;
|
|
@@ -33,7 +35,7 @@ export interface FILTER_SESSION {
|
|
|
33
35
|
searchString: string;
|
|
34
36
|
sortBy: string;
|
|
35
37
|
sortOrder: string;
|
|
36
|
-
name
|
|
38
|
+
name?: string;
|
|
37
39
|
queryTypes?: MediaType[];
|
|
38
40
|
startDate?: number;
|
|
39
41
|
endDate?: number;
|
package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/ConductOneToOne.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Filter } from "mario-core";
|
|
2
|
-
export declare const getQuestionTeacherDefault: (
|
|
2
|
+
export declare const getQuestionTeacherDefault: (sessionId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
3
|
export declare const getLearningStrategory: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
4
|
export declare const getLearningStrategoryCategory: () => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const updateItemQuestionAnswer: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -3,3 +3,4 @@ export declare const getSessionOneToOne: (filter: any) => Promise<import("axios"
|
|
|
3
3
|
export declare const getStudent: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
4
|
export declare const createSession: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const getListEventTeacher: (startDate: any) => Promise<import("axios").AxiosResponse<GoogleCalendarEvent[]>>;
|
|
6
|
+
export declare const startSession: (studentId?: number | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
|
-
informationUser
|
|
3
|
+
informationUser?: any;
|
|
4
|
+
isTeacher?: boolean;
|
|
4
5
|
clickOpenProfileDialog?: any;
|
|
5
6
|
}
|
|
6
|
-
declare const InformationUser: ({ informationUser, clickOpenProfileDialog }: Props) => JSX.Element;
|
|
7
|
+
declare const InformationUser: ({ informationUser, isTeacher, clickOpenProfileDialog }: Props) => JSX.Element;
|
|
7
8
|
export default InformationUser;
|
|
@@ -8,7 +8,7 @@ export interface FILTER_STUDENT_SESSION {
|
|
|
8
8
|
startDate?: number;
|
|
9
9
|
endDate?: number;
|
|
10
10
|
isDone?: boolean;
|
|
11
|
-
isDescending
|
|
11
|
+
isDescending?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export interface FILTER_SESSION {
|
|
14
14
|
currentPage: number;
|
|
@@ -20,7 +20,6 @@ export interface FILTER_SESSION {
|
|
|
20
20
|
startDate?: number;
|
|
21
21
|
endDate?: number;
|
|
22
22
|
isDone?: boolean;
|
|
23
|
-
isDecending: boolean;
|
|
24
23
|
}
|
|
25
24
|
export interface SESSION_TYPE {
|
|
26
25
|
id: string;
|
|
@@ -34,8 +33,13 @@ export interface SESSION_TYPE {
|
|
|
34
33
|
isFavourite: boolean;
|
|
35
34
|
isTeacherFavourite: boolean;
|
|
36
35
|
isTeacherDone?: boolean;
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
teacherName?: string;
|
|
37
|
+
studentAvatar?: string;
|
|
38
|
+
studentName?: string;
|
|
39
|
+
gradeLevel?: any;
|
|
40
|
+
finalScore?: any;
|
|
41
|
+
studentProfile?: any;
|
|
42
|
+
sortOrder?: string;
|
|
39
43
|
}
|
|
40
44
|
export interface STUDENT_PROFILE {
|
|
41
45
|
id: number;
|
|
@@ -52,6 +56,10 @@ export interface CLASS_REFLECTION {
|
|
|
52
56
|
teacherName: string;
|
|
53
57
|
isDone: string;
|
|
54
58
|
classImpactScore?: string;
|
|
59
|
+
studentAvatar?: string;
|
|
60
|
+
teacherAvatar?: string;
|
|
61
|
+
IsDescending?: boolean;
|
|
62
|
+
studentName?: string;
|
|
55
63
|
}
|
|
56
64
|
export interface QuestionAnswer {
|
|
57
65
|
id: number;
|
|
@@ -65,3 +73,7 @@ export interface ActionPointType {
|
|
|
65
73
|
id?: string;
|
|
66
74
|
text: string;
|
|
67
75
|
}
|
|
76
|
+
export interface FILTER_STUDENT_WELLBEING {
|
|
77
|
+
startDate?: number;
|
|
78
|
+
endDate?: number;
|
|
79
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FILTER_STUDENT_WELLBEING } from "../constants/types";
|
|
2
|
+
declare const useOverview: (studentId: number) => {
|
|
3
|
+
partnerData: any;
|
|
4
|
+
informationDashboard: any;
|
|
5
|
+
filters: FILTER_STUDENT_WELLBEING;
|
|
6
|
+
changeFilters: (updatedFilters: any) => void;
|
|
7
|
+
informationWellbeing: any;
|
|
8
|
+
};
|
|
9
|
+
export default useOverview;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface FILTER_SESSION {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
pageSize: number;
|
|
4
|
+
searchString: string;
|
|
5
|
+
sortBy: string;
|
|
6
|
+
sortOrder: string;
|
|
7
|
+
startDate?: number;
|
|
8
|
+
endDate?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const useStudentConference: () => {
|
|
11
|
+
sessionData: any;
|
|
12
|
+
filter: FILTER_SESSION;
|
|
13
|
+
changeFilters: (updatedFilters: any) => void;
|
|
14
|
+
getStudentConference: (studentId: any) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export default useStudentConference;
|