mario-teacher-student-client 1.3.1 → 1.3.5

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.
@@ -12,6 +12,7 @@ interface Props {
12
12
  averageOtherRating?: number;
13
13
  isBeforeSession: boolean;
14
14
  isPageResult?: boolean;
15
+ isPageSessionResult?: boolean;
15
16
  }
16
17
  declare const QuestionComponent: FC<Props>;
17
18
  export default QuestionComponent;
@@ -8,6 +8,7 @@ interface Props {
8
8
  averageOtherRating?: number;
9
9
  isBeforeSession: boolean;
10
10
  isPageResult?: boolean;
11
+ isPageSessionResult?: boolean;
11
12
  }
12
13
  declare const SliderComponent: FC<Props>;
13
14
  export default SliderComponent;
@@ -4,6 +4,7 @@ interface Props {
4
4
  questionList: any;
5
5
  onChangeQuestionAnswer?: (questionId: number, value: string) => void;
6
6
  isPageResult?: boolean;
7
+ isPageSessionResult?: boolean;
7
8
  }
8
9
  declare const QuestionConduct: FC<Props>;
9
10
  export default QuestionConduct;
@@ -17,7 +17,7 @@ export interface SESSION_TYPE {
17
17
  teacherAvatar?: string;
18
18
  studentName?: string;
19
19
  gradeLevel?: number;
20
- finalScore?: string;
20
+ finalScore?: number;
21
21
  }
22
22
  export interface STUDENT_PROFILE {
23
23
  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,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
- informationUser: any;
3
+ informationUser?: any;
4
+ isTeacher?: boolean;
5
+ clickOpenProfileDialog?: any;
4
6
  }
5
- declare const InformationUser: ({ informationUser }: Props) => JSX.Element;
7
+ declare const InformationUser: ({ informationUser, isTeacher, clickOpenProfileDialog }: Props) => JSX.Element;
6
8
  export default InformationUser;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const NewLearningPlan: () => JSX.Element;
3
+ export default NewLearningPlan;
@@ -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,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ informationDashboard: any;
4
+ }
5
+ declare const OverviewTop: FC<Props>;
6
+ export default OverviewTop;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface Props {
3
+ labelData: string[];
4
+ chartData: number[];
5
+ }
6
+ declare const _default: React.NamedExoticComponent<Props>;
7
+ export default _default;
@@ -8,7 +8,7 @@ export interface FILTER_STUDENT_SESSION {
8
8
  startDate?: number;
9
9
  endDate?: number;
10
10
  isDone?: boolean;
11
- isDescending: boolean;
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
- studentProfile: any;
38
- teacherName: string;
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;
@@ -54,6 +58,8 @@ export interface CLASS_REFLECTION {
54
58
  classImpactScore?: string;
55
59
  studentAvatar?: string;
56
60
  teacherAvatar?: string;
61
+ IsDescending?: boolean;
62
+ studentName?: string;
57
63
  }
58
64
  export interface QuestionAnswer {
59
65
  id: number;
@@ -67,3 +73,7 @@ export interface ActionPointType {
67
73
  id?: string;
68
74
  text: string;
69
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;
@@ -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;