mario-teacher-student-client 1.2.2 → 1.2.7

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.
@@ -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;
@@ -8,10 +8,7 @@ interface Props {
8
8
  createdByTeacher?: boolean;
9
9
  gradeLevel?: number;
10
10
  informationUser?: any;
11
- }
12
- export interface DialogDetailProps {
13
- conduct: any;
14
- informationUser: any;
11
+ clickOpenProfileDialog?: any;
15
12
  }
16
13
  declare const ConductTop: FC<Props>;
17
14
  export default ConductTop;
@@ -1,4 +1,7 @@
1
- /// <reference types="react" />
2
- import { DialogDetailProps } from "../../components/ConductTop/ConductTop";
3
- declare const ProfileDialog: (props: DialogDetailProps) => JSX.Element;
4
- export default ProfileDialog;
1
+ import React from "react";
2
+ declare type profileData = {
3
+ informationUser: any;
4
+ partnerData: any;
5
+ };
6
+ declare const _default: React.ForwardRefExoticComponent<profileData & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  declare const useProfileDialog: () => {
2
2
  partnerData: any;
3
- getPartnerProfileSelector: (id: string, cb: any) => Promise<void>;
3
+ getPartnerProfileSelector: (id: string) => Promise<void>;
4
4
  };
5
5
  export default useProfileDialog;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const HomePage: FC;
3
+ export default HomePage;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { DialogDetailProps } from "../../../ConductOneToOne/components/ConductTop/ConductTop";
3
- declare const StudentDetail: (props: DialogDetailProps) => JSX.Element;
2
+ declare const StudentDetail: (props: any) => JSX.Element;
4
3
  export default StudentDetail;
@@ -15,5 +15,7 @@ declare const useUpComing: () => {
15
15
  deleteNote: (noteId: any, sessionId: any) => Promise<void>;
16
16
  updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
17
17
  nextSession: any;
18
+ nextTimeMeeting: () => Promise<void>;
19
+ getStudentSelector: () => Promise<void>;
18
20
  };
19
21
  export default useUpComing;
@@ -18,6 +18,7 @@ export interface STUDENT_PROFILE {
18
18
  userId: string;
19
19
  name: string;
20
20
  avatar: string;
21
+ gradeLevel: number;
21
22
  classes: string[];
22
23
  }
23
24
  export interface SIMPLE_DIALOG {
@@ -1,8 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
2
1
  declare const useSessionCompleted: () => {
3
2
  sessionDataHistory: any;
4
- changeFilters: (updatedFilters: any) => void;
5
- filters: FILTER_SESSION;
3
+ changeFilters: (updatedFilters: any) => any;
4
+ filters: any;
6
5
  selectFavourite: (itemID: string) => Promise<void>;
7
6
  };
8
7
  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: import("react").Dispatch<import("react").SetStateAction<FILTER_SESSION>>;
12
- changeFilters: (updatedFilters: any) => void;
13
- filters: FILTER_SESSION;
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>;
@@ -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;
@@ -4,5 +4,6 @@ declare const useResultReflection: () => {
4
4
  listQuestions: any;
5
5
  actionPointAnswers: ActionPointType[];
6
6
  noteReflection: QuestionAnswer[];
7
+ isTeacher: any;
7
8
  };
8
9
  export default useResultReflection;
@@ -3,7 +3,5 @@ declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
5
  filters: FILTER_SESSION;
6
- getDataClassReflections: (studentId: any) => Promise<void>;
7
- classReflectionData: any;
8
6
  };
9
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;