mario-teacher-student-client 1.2.8 → 1.3.2

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.
Files changed (29) hide show
  1. package/dist/components/Button/NodeDraggable.d.ts +1 -1
  2. package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +2 -0
  3. package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +1 -1
  4. package/dist/containers/ConferenceRubric/components/RubricTable.d.ts +1 -0
  5. package/dist/containers/ConferenceRubric/components/StartRubric.d.ts +1 -0
  6. package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +0 -1
  7. package/dist/containers/MyConferences/constants/types.d.ts +5 -0
  8. package/dist/containers/MyOneToOne/constants/types.d.ts +1 -0
  9. package/dist/containers/MyProfile/hooks/useProfile.d.ts +7 -0
  10. package/dist/containers/MyProfile/views/MyProfile.d.ts +3 -0
  11. package/dist/containers/MyStudent/components/Overview.d.ts +1 -1
  12. package/dist/containers/MyStudent/components/OverviewLeft.d.ts +3 -0
  13. package/dist/containers/MyStudent/components/OverviewTop.d.ts +3 -0
  14. package/dist/containers/MyStudent/components/OverviewWellbeing.d.ts +11 -0
  15. package/dist/containers/MyStudent/constants/types.d.ts +11 -3
  16. package/dist/containers/MyStudent/hooks/useOverview.d.ts +4 -0
  17. package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +16 -0
  18. package/dist/containers/MyStudent/hooks/useStudentHistory.d.ts +2 -2
  19. package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +0 -1
  20. package/dist/containers/MyStudent/hooks/useStudentToDo.d.ts +2 -2
  21. package/dist/index.css +824 -169
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +2363 -701
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.modern.js +2351 -690
  26. package/dist/index.modern.js.map +1 -1
  27. package/dist/services/MyProfile.d.ts +3 -0
  28. package/dist/services/MyStudent.d.ts +2 -0
  29. package/package.json +4 -2
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare function NodeDraggable(): JSX.Element;
2
+ declare function NodeDraggable(props: any): JSX.Element;
3
3
  export default NodeDraggable;
@@ -9,6 +9,8 @@ interface Props {
9
9
  gradeLevel?: number;
10
10
  informationUser?: any;
11
11
  clickOpenProfileDialog?: any;
12
+ isConference?: boolean;
13
+ sessionType?: string;
12
14
  }
13
15
  declare const ConductTop: FC<Props>;
14
16
  export default ConductTop;
@@ -12,7 +12,7 @@ declare const useConductOne: () => {
12
12
  isUnlocked: boolean;
13
13
  setIsUnclocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
14
14
  onChangeToogleAfterSession: () => Promise<void>;
15
- fnfinishSession: (cb: any) => Promise<void>;
15
+ fnfinishSession: (sessionTypeCategoryId: number, cb: any) => Promise<void>;
16
16
  sessionId: string;
17
17
  sessionResultId: number;
18
18
  length: number;
@@ -11,6 +11,7 @@ interface Props {
11
11
  answerStudentConferenceRubric: any;
12
12
  imageTeacher: string;
13
13
  imageStudent: string;
14
+ isPageResultConference?: boolean;
14
15
  }
15
16
  declare const RubricTable: FC<Props>;
16
17
  export default RubricTable;
@@ -11,6 +11,7 @@ interface Props {
11
11
  answerStudentConferenceRubric: any;
12
12
  imageTeacher: string;
13
13
  imageStudent: string;
14
+ isPageResultConference?: boolean;
14
15
  }
15
16
  declare const StartRubric: FC<Props>;
16
17
  export default StartRubric;
@@ -14,7 +14,6 @@ declare const useConferenceRubric: () => {
14
14
  addNoteRubric: (itemId: number, note: string) => Promise<void>;
15
15
  answerAdditionalQuestion: (questionId: number, text: string) => void;
16
16
  answerRubric: () => Promise<void>;
17
- choiceAssessment: (itemId: number, isFinal: boolean, assessment: string) => void;
18
17
  findItemAnswerById: (itemId: number, isResult: boolean) => CONFERENCE_RUBRIC_ITEM_ANSWER | null | undefined;
19
18
  checkAnswerFull: boolean;
20
19
  conferenceRubric: CONFERENCE_RUBRIC_TYPES;
@@ -13,6 +13,11 @@ export interface SESSION_TYPE {
13
13
  isTeacherDone?: boolean;
14
14
  teacherName: string;
15
15
  studentId?: number;
16
+ studentAvatar?: string;
17
+ teacherAvatar?: string;
18
+ studentName?: string;
19
+ gradeLevel?: number;
20
+ finalScore?: string;
16
21
  }
17
22
  export interface STUDENT_PROFILE {
18
23
  id: number;
@@ -12,6 +12,7 @@ export interface SESSION_TYPE {
12
12
  isTeacherFavourite: boolean;
13
13
  isTeacherDone?: boolean;
14
14
  teacherName: string;
15
+ teacherProfileImage: string;
15
16
  }
16
17
  export interface STUDENT_PROFILE {
17
18
  id: number;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const useProfile: () => {
3
+ dataProfile: any;
4
+ updateProfile: (data: any) => Promise<void>;
5
+ setFile: import("react").Dispatch<any>;
6
+ };
7
+ export default useProfile;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const MyProfile: FC;
3
+ export default MyProfile;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const Overview: () => JSX.Element;
2
+ declare const Overview: (props: any) => JSX.Element;
3
3
  export default Overview;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OverviewLeft: (props: any) => JSX.Element;
3
+ export default OverviewLeft;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OverviewTop: () => JSX.Element;
3
+ export default OverviewTop;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ chartData: number[];
4
+ }
5
+ declare const OverviewWellbeing: {
6
+ ({ chartData }: Props): JSX.Element;
7
+ defaultProps: {
8
+ chartData: number[];
9
+ };
10
+ };
11
+ export default OverviewWellbeing;
@@ -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,12 @@ export interface SESSION_TYPE {
34
33
  isFavourite: boolean;
35
34
  isTeacherFavourite: boolean;
36
35
  isTeacherDone?: boolean;
37
- studentProfile: any;
38
- teacherName: string;
36
+ teacherName?: string;
37
+ studentAvatar?: string;
38
+ studentName?: string;
39
+ gradeLevel?: any;
40
+ finalScore?: any;
41
+ studentProfile?: any;
39
42
  }
40
43
  export interface STUDENT_PROFILE {
41
44
  id: number;
@@ -51,6 +54,11 @@ export interface CLASS_REFLECTION {
51
54
  status: string;
52
55
  teacherName: string;
53
56
  isDone: string;
57
+ classImpactScore?: string;
58
+ studentAvatar?: string;
59
+ teacherAvatar?: string;
60
+ IsDescending?: boolean;
61
+ studentName?: string;
54
62
  }
55
63
  export interface QuestionAnswer {
56
64
  id: number;
@@ -0,0 +1,4 @@
1
+ declare const useOverview: (studentId: number) => {
2
+ partnerData: any;
3
+ };
4
+ 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;
@@ -1,7 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
2
  declare const useStudentHistory: () => {
3
3
  changeFilters: (updatedFilters: any) => void;
4
- filters: FILTER_SESSION;
4
+ filters: FILTER_STUDENT_SESSION;
5
5
  studentReflectionHistory: any;
6
6
  };
7
7
  export default useStudentHistory;
@@ -8,7 +8,6 @@ interface FILTER_SESSION {
8
8
  startDate?: number;
9
9
  endDate?: number;
10
10
  isDone?: boolean;
11
- onlyShowFavourite?: boolean;
12
11
  }
13
12
  declare const useStudentOneToOne: () => {
14
13
  sessionData: any;
@@ -1,7 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
2
  declare const useStudentToDo: () => {
3
3
  changeFilters: (updatedFilters: any) => void;
4
- filters: FILTER_SESSION;
4
+ filters: FILTER_STUDENT_SESSION;
5
5
  studentReflectionToDo: any;
6
6
  };
7
7
  export default useStudentToDo;