mario-teacher-student-client 1.1.9 → 1.2.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.
Files changed (38) hide show
  1. package/dist/components/QuestionTypes/LearningStrategyComponent.d.ts +1 -0
  2. package/dist/components/Tabs/CustomTab.d.ts +2 -0
  3. package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +3 -5
  4. package/dist/containers/ConductOneToOne/components/ProfileDialog/ProfileDialog.d.ts +7 -0
  5. package/dist/containers/ConductOneToOne/hooks/useProfileDialog.d.ts +5 -0
  6. package/dist/containers/ConferenceRubric/hooks/useConferenceDetail.d.ts +4 -0
  7. package/dist/containers/Home/components/CurrentFullCalendar.d.ts +1 -1
  8. package/dist/containers/Home/components/TodayScheduleMobile.d.ts +10 -0
  9. package/dist/containers/Home/hooks/getEventCalendar.d.ts +4 -0
  10. package/dist/containers/Home/views/HomePage.d.ts +3 -0
  11. package/dist/containers/MyConferences/components/BookSessionConferences.d.ts +3 -0
  12. package/dist/containers/MyConferences/components/Tabs/CustomTab.d.ts +5 -0
  13. package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +3 -0
  14. package/dist/containers/MyConferences/components/Tabs/StudentTab.d.ts +3 -0
  15. package/dist/containers/MyConferences/components/dialog/DialogRequestConferences.d.ts +9 -0
  16. package/dist/containers/MyConferences/components/dialog/StudentDetail.d.ts +3 -0
  17. package/dist/containers/MyConferences/constants/types.d.ts +5 -0
  18. package/dist/containers/MyConferences/hooks/useStartConference.d.ts +4 -0
  19. package/dist/containers/MyConferences/hooks/useUpComing.d.ts +2 -1
  20. package/dist/containers/MyOneToOne/components/ScheduleMobile.d.ts +10 -0
  21. package/dist/containers/MyOneToOne/constants/types.d.ts +3 -0
  22. package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +0 -2
  23. package/dist/containers/MyStudent/hooks/useClassReflectionList.d.ts +8 -0
  24. package/dist/containers/MyStudent/hooks/useResultReflection.d.ts +1 -0
  25. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +0 -2
  26. package/dist/index.css +983 -219
  27. package/dist/index.d.ts +4 -2
  28. package/dist/index.js +7978 -5166
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +7761 -4951
  31. package/dist/index.modern.js.map +1 -1
  32. package/dist/services/ConductOneToOne.d.ts +1 -0
  33. package/dist/services/ConferenceService.d.ts +1 -0
  34. package/dist/services/Dashboard.d.ts +3 -0
  35. package/dist/services/MyConferences.d.ts +15 -0
  36. package/dist/services/OneToOne.d.ts +0 -1
  37. package/dist/utils/minutesToTime.d.ts +5 -0
  38. package/package.json +2 -1
@@ -5,6 +5,7 @@ interface Props {
5
5
  questionId: number;
6
6
  onChangeQuestionAnswer?: Function;
7
7
  valueText: string;
8
+ isResultPage?: boolean;
8
9
  }
9
10
  declare const LearningStrategyComponent: FC<Props>;
10
11
  export default LearningStrategyComponent;
@@ -1,3 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { SIMPLE_DIALOG } from "../../containers/MyOneToOne/constants/types";
3
+ export declare const SimpleDialog: (props: SIMPLE_DIALOG) => JSX.Element;
2
4
  declare const CustomTabs: (props: any) => JSX.Element;
3
5
  export default CustomTabs;
@@ -6,11 +6,9 @@ interface Props {
6
6
  lengthSession?: string;
7
7
  startTime?: string;
8
8
  createdByTeacher?: boolean;
9
- }
10
- export interface DialogDetailProps {
11
- nameDetail: string;
12
- imageUrl: string;
13
- conduct: any;
9
+ gradeLevel?: number;
10
+ informationUser?: any;
11
+ clickOpenProfileDialog?: any;
14
12
  }
15
13
  declare const ConductTop: FC<Props>;
16
14
  export default ConductTop;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,5 @@
1
+ declare const useProfileDialog: () => {
2
+ partnerData: any;
3
+ getPartnerProfileSelector: (id: string) => Promise<void>;
4
+ };
5
+ export default useProfileDialog;
@@ -0,0 +1,4 @@
1
+ declare const useConferenceDetail: () => {
2
+ avgSkillConference: any;
3
+ };
4
+ export default useConferenceDetail;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const CurrentFullCalendar: () => JSX.Element;
2
+ declare const CurrentFullCalendar: (eventList: any) => JSX.Element;
3
3
  export default CurrentFullCalendar;
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
3
+ interface Props {
4
+ studentUserId: string;
5
+ date: MaterialUiPickersDate;
6
+ teacherUserId?: string;
7
+ isStudentSchedule: boolean;
8
+ }
9
+ declare const TodayScheduleMobile: FC<Props>;
10
+ export default TodayScheduleMobile;
@@ -0,0 +1,4 @@
1
+ declare const getEventFullCalendar: (userId: string, year: number, month: number) => {
2
+ dataEvent: any;
3
+ };
4
+ export default getEventFullCalendar;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const HomePage: FC;
3
+ export default HomePage;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BookSessionConferences: () => JSX.Element;
3
+ export default BookSessionConferences;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SIMPLE_DIALOG } from "../../constants/types";
3
+ export declare const SimpleDialog: (props: SIMPLE_DIALOG) => JSX.Element;
4
+ declare const CustomTabs: (props: any) => JSX.Element;
5
+ export default CustomTabs;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CustomTabNote: (props: any) => JSX.Element;
3
+ export default CustomTabNote;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentTabs: (props: any) => JSX.Element;
3
+ export default StudentTabs;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ studentId?: number;
4
+ setStudentId?: Function;
5
+ onClickStartQuestion?: Function;
6
+ handleClose?: any;
7
+ }
8
+ declare const DialogRequestConferences: ({ setStudentId, handleClose, studentId }: Props) => JSX.Element;
9
+ export default DialogRequestConferences;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentDetail: (props: any) => JSX.Element;
3
+ export default StudentDetail;
@@ -10,6 +10,9 @@ export interface SESSION_TYPE {
10
10
  isCreatedByTeacher?: boolean;
11
11
  isFavourite: boolean;
12
12
  isTeacherFavourite: boolean;
13
+ isTeacherDone?: boolean;
14
+ teacherName: string;
15
+ studentId?: number;
13
16
  }
14
17
  export interface STUDENT_PROFILE {
15
18
  id: number;
@@ -25,6 +28,8 @@ export interface SIMPLE_DIALOG {
25
28
  setStudentId?: Function;
26
29
  onClickStartQuestion?: Function;
27
30
  studentId?: number;
31
+ label?: string;
32
+ getStartConferenceRubric?: Function;
28
33
  }
29
34
  export interface STUDENT_SELECTOR {
30
35
  id: number;
@@ -0,0 +1,4 @@
1
+ declare const useStartConference: () => {
2
+ getStartConferenceRubric: (studentId: number) => Promise<void>;
3
+ };
4
+ export default useStartConference;
@@ -6,7 +6,6 @@ declare const useUpComing: () => {
6
6
  teacherNoteData: any;
7
7
  studentNoteData: any;
8
8
  privateNoteData: any;
9
- bookSession: (data: any) => Promise<void>;
10
9
  setFilters: import("react").Dispatch<import("react").SetStateAction<FILTER_SESSION>>;
11
10
  changeFilters: (updatedFilters: any) => void;
12
11
  filters: FILTER_SESSION;
@@ -16,5 +15,7 @@ declare const useUpComing: () => {
16
15
  deleteNote: (noteId: any, sessionId: any) => Promise<void>;
17
16
  updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
18
17
  nextSession: any;
18
+ nextTimeMeeting: () => Promise<void>;
19
+ getStudentSelector: () => Promise<void>;
19
20
  };
20
21
  export default useUpComing;
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
3
+ interface Props {
4
+ studentUserId: string;
5
+ date: MaterialUiPickersDate;
6
+ teacherUserId?: string;
7
+ isStudentSchedule: boolean;
8
+ }
9
+ declare const ScheduleMobile: FC<Props>;
10
+ export default ScheduleMobile;
@@ -10,12 +10,15 @@ export interface SESSION_TYPE {
10
10
  isCreatedByTeacher?: boolean;
11
11
  isFavourite: boolean;
12
12
  isTeacherFavourite: boolean;
13
+ isTeacherDone?: boolean;
14
+ teacherName: string;
13
15
  }
14
16
  export interface STUDENT_PROFILE {
15
17
  id: number;
16
18
  userId: string;
17
19
  name: string;
18
20
  avatar: string;
21
+ gradeLevel: number;
19
22
  classes: string[];
20
23
  }
21
24
  export interface SIMPLE_DIALOG {
@@ -4,11 +4,9 @@ declare const useUpComing: () => {
4
4
  studentData: any;
5
5
  setStudentData: import("react").Dispatch<any>;
6
6
  sessionData: any;
7
- studentProf: any;
8
7
  teacherNoteData: any;
9
8
  studentNoteData: any;
10
9
  privateNoteData: any;
11
- getStudentProfilesSelector: (id: any) => Promise<void>;
12
10
  bookSession: (data: any) => Promise<void>;
13
11
  setFilters: import("react").Dispatch<import("react").SetStateAction<FILTER_SESSION>>;
14
12
  changeFilters: (updatedFilters: any) => void;
@@ -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;