mario-teacher-student-client 2.0.7 → 2.0.8

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 (34) hide show
  1. package/dist/components/Circle/Circle.d.ts +11 -0
  2. package/dist/components/Circle/ItemCircle.d.ts +7 -0
  3. package/dist/components/Header/HeaderLearningPlan.d.ts +11 -0
  4. package/dist/components/Header/HeaderSurvey.d.ts +11 -0
  5. package/dist/components/Input/TextAreaComponent.d.ts +8 -0
  6. package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +8 -0
  7. package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +3 -0
  8. package/dist/containers/FriendCircle/constants/types.d.ts +101 -0
  9. package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +20 -0
  10. package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
  11. package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
  12. package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
  13. package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +3 -0
  14. package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
  15. package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
  16. package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
  17. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +4 -0
  18. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -0
  19. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +3 -0
  20. package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
  21. package/dist/containers/MySurvey/constants/types.d.ts +41 -0
  22. package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
  23. package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
  24. package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
  25. package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
  26. package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +2 -33
  27. package/dist/index.js +2 -2
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.modern.js +2 -2
  30. package/dist/index.modern.js.map +1 -1
  31. package/dist/services/myFriendGoalService.d.ts +5 -0
  32. package/package.json +1 -1
  33. package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +0 -6
  34. package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +0 -6
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ title: string;
4
+ numberFriend: number;
5
+ background: string;
6
+ width: number;
7
+ height: number;
8
+ key?: number;
9
+ }
10
+ declare const Circle: ({ title, numberFriend, width, height, background, key }: Props) => JSX.Element;
11
+ export default Circle;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ background: string;
4
+ title: string;
5
+ }
6
+ declare const ItemCircle: ({ background, title }: Props) => JSX.Element;
7
+ export default ItemCircle;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ isShowButtonBackGround?: boolean;
5
+ onRedirect?: Function;
6
+ goBack?: Function;
7
+ isShowButtonPageHeader?: boolean;
8
+ textButton: string;
9
+ }
10
+ declare const HeaderLearningPlan: FC<Props>;
11
+ export default HeaderLearningPlan;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ isShowButtonBackGround?: boolean;
5
+ onFinishSession?: Function;
6
+ goBack?: Function;
7
+ isShowButtonPageHeader?: boolean;
8
+ textButton?: string;
9
+ }
10
+ declare const HeaderSurvey: FC<Props>;
11
+ export default HeaderSurvey;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ label?: string;
4
+ valueText: string;
5
+ onChange: Function;
6
+ }
7
+ declare const TextAreaComponent: ({ valueText, onChange, label }: Props) => JSX.Element;
8
+ export default TextAreaComponent;
@@ -0,0 +1,8 @@
1
+ import { TypeTime } from "../constant/types";
2
+ declare const useCountDown: (typeTime: TypeTime, sessionResultId: number) => {
3
+ hour: number;
4
+ minute: number;
5
+ second: number;
6
+ clearTimer: () => void;
7
+ };
8
+ export default useCountDown;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,101 @@
1
+ export interface FILTER_STUDENT_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
+ isDescending?: boolean;
12
+ }
13
+ export interface FILTER_SESSION {
14
+ currentPage: number;
15
+ pageSize: number;
16
+ searchString: string;
17
+ sortBy: string;
18
+ sortOrder?: string;
19
+ name?: string;
20
+ startDate?: number;
21
+ endDate?: number;
22
+ isDone?: boolean;
23
+ }
24
+ export interface SESSION_TYPE {
25
+ id: string;
26
+ studentId: string;
27
+ teacherId: number;
28
+ startTime: string;
29
+ minutes?: number;
30
+ isDoing?: boolean;
31
+ isDone?: boolean;
32
+ isCreatedByTeacher?: boolean;
33
+ isFavourite: boolean;
34
+ isTeacherFavourite: boolean;
35
+ isTeacherDone?: boolean;
36
+ teacherName?: string;
37
+ studentAvatar?: string;
38
+ studentName?: string;
39
+ gradeLevel?: any;
40
+ finalScore?: any;
41
+ studentProfile?: any;
42
+ sortOrder?: string;
43
+ teacherResultId?: number;
44
+ }
45
+ export interface STUDENT_PROFILE {
46
+ id: number;
47
+ userId: string;
48
+ name: string;
49
+ avatar: string;
50
+ classes: string[];
51
+ }
52
+ export interface CLASS_REFLECTION {
53
+ id: number;
54
+ classDate: string;
55
+ classType: string;
56
+ status: string;
57
+ teacherName: string;
58
+ isDone: string;
59
+ classImpactScore?: string;
60
+ studentAvatar?: string;
61
+ teacherAvatar?: string;
62
+ IsDescending?: boolean;
63
+ studentName?: string;
64
+ }
65
+ export interface QuestionAnswer {
66
+ id: number;
67
+ answer: string;
68
+ }
69
+ export declare enum OrderByStudent {
70
+ id = 0,
71
+ name = 1,
72
+ grade = 2,
73
+ lastOneToOne = 3,
74
+ lastConference = 4,
75
+ totalTime = 5
76
+ }
77
+ export interface ActionPointType {
78
+ id?: string;
79
+ text: string;
80
+ }
81
+ export interface FILTER_STUDENT_WELLBEING {
82
+ startDate?: number;
83
+ endDate?: number;
84
+ }
85
+ export interface FILTER_LEARNING {
86
+ currentPage: number;
87
+ pageSize: number;
88
+ searchString: string;
89
+ sortBy: string;
90
+ sortOrder?: string;
91
+ startDate?: number;
92
+ endDate?: number;
93
+ studentId?: number;
94
+ }
95
+ export interface LEARNING_PLAN {
96
+ id: number;
97
+ modifyTime: string;
98
+ createTime: string;
99
+ profileImageTeacher: string;
100
+ teacherName: string;
101
+ }
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ declare type CircleType = {
3
+ id: number;
4
+ firstName: string;
5
+ lastName: string;
6
+ type: string;
7
+ };
8
+ declare const useListDetail: () => {
9
+ myGoalCircle: CircleType;
10
+ setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
11
+ confirmData: (values: any, cb: any) => Promise<void>;
12
+ friendId: number;
13
+ setfriendId: import("react").Dispatch<import("react").SetStateAction<number>>;
14
+ OPTIONS_TYPE: {
15
+ value: string;
16
+ label: string;
17
+ color: string;
18
+ }[];
19
+ };
20
+ export default useListDetail;
@@ -0,0 +1,8 @@
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
+ declare const useListFriend: () => {
3
+ goalFriendList: never[];
4
+ changeFilters: (updatedFilters: any) => void;
5
+ filters: FILTER_STUDENT_SESSION;
6
+ getData: () => Promise<void>;
7
+ };
8
+ export default useListFriend;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircle: () => JSX.Element;
3
+ export default FriendCircle;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircleLearning: () => JSX.Element;
3
+ export default FriendCircleLearning;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListFriendCircle: () => JSX.Element;
3
+ export default ListFriendCircle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Accomondation: () => JSX.Element;
3
+ export default Accomondation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AccomondationList: () => JSX.Element;
3
+ export default AccomondationList;
@@ -0,0 +1,4 @@
1
+ declare const useTopLearningStrategies: (studentId: any) => {
2
+ topLearningStrategiesData: any;
3
+ };
4
+ export default useTopLearningStrategies;
@@ -0,0 +1 @@
1
+ export declare const getTopLearningStrategiesApi: (studentId: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TopLearningStrategiesChart: (studentId: any) => JSX.Element;
3
+ export default TopLearningStrategiesChart;
@@ -0,0 +1,8 @@
1
+ declare const useAccommodation: () => {
2
+ create: (data: any) => Promise<void>;
3
+ update: (id: number, data: any) => Promise<void>;
4
+ getById: (id: number, data: any) => Promise<void>;
5
+ deleteById: (id: number) => Promise<void>;
6
+ accommodationData: any;
7
+ };
8
+ export default useAccommodation;
@@ -0,0 +1,41 @@
1
+ export interface FILTER_STUDENT_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
+ isDescending?: boolean;
12
+ }
13
+ export interface SESSION_TYPE {
14
+ id: string;
15
+ studentId: string;
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
+ studentAvatar?: string;
27
+ studentName?: string;
28
+ gradeLevel?: any;
29
+ finalScore?: any;
30
+ studentProfile?: any;
31
+ sortOrder?: string;
32
+ teacherResultId?: number;
33
+ }
34
+ export declare enum OrderByStudent {
35
+ id = 0,
36
+ name = 1,
37
+ grade = 2,
38
+ lastOneToOne = 3,
39
+ lastConference = 4,
40
+ totalTime = 5
41
+ }
@@ -0,0 +1,9 @@
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
+ declare const useStudentList: () => {
3
+ students: any;
4
+ changeFilters: (updatedFilters: any) => void;
5
+ filters: FILTER_STUDENT_SESSION;
6
+ importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
7
+ getData: () => Promise<void>;
8
+ };
9
+ export default useStudentList;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CreateSurvey: () => JSX.Element;
3
+ export default CreateSurvey;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const MySurvey: FC;
3
+ export default MySurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentSurvey: () => JSX.Element;
3
+ export default StudentSurvey;
@@ -1,36 +1,5 @@
1
1
  declare const usePersonalInterest: () => {
2
- upDateData: () => Promise<void>;
3
- editData: (id: number) => Promise<void>;
4
- sendDataCreate: () => Promise<void>;
5
- deleteDataItem: () => Promise<void>;
6
- handleClose: () => void;
7
- handleCloseEdit: () => void;
8
- handUpload: (e: any) => void;
9
- handleCloseDelete: () => void;
10
- dataList: any;
11
- handUploadEdit: (e: any) => void;
12
- openModal: boolean;
13
- openModalDelete: boolean;
14
- openModalEdit: boolean;
15
- targetImage: any;
16
- fileUploadEdit: string;
17
- fileAvatarEdit: string;
18
- deleteData: (id: number) => void;
19
- handOpenModal: () => void;
20
- handCloseModalEdit: () => void;
21
- handCloseModalDelete: () => void;
22
- value: string;
23
- fileAvatar: string;
24
- valueAddActivity: string;
25
- onChangeSetData: (e: any) => void;
26
- onChangeSetDataNote: (e: any) => void;
27
- dataEdit: {
28
- id: string;
29
- Title: string;
30
- Note: string;
31
- studentId: string;
32
- };
33
- onChangeSetDataEdit: (e: any) => void;
34
- onChangeSetDataEditNote: (e: any) => void;
2
+ getDataPersonalInterest: () => Promise<void>;
3
+ listPersonalInterest: any;
35
4
  };
36
5
  export default usePersonalInterest;
package/dist/index.js CHANGED
@@ -8576,7 +8576,7 @@ var ConductIndex = function ConductIndex() {
8576
8576
  style: {
8577
8577
  position: "absolute",
8578
8578
  right: "0",
8579
- bottom: "4%"
8579
+ bottom: "50%"
8580
8580
  }
8581
8581
  }, React__default.createElement(NodeDraggable, {
8582
8582
  handleClickOpen: handleClickOpen
@@ -17688,7 +17688,7 @@ var ConferenceRubric = function ConferenceRubric() {
17688
17688
  style: {
17689
17689
  position: "absolute",
17690
17690
  right: "0",
17691
- bottom: "2%"
17691
+ bottom: "50%"
17692
17692
  }
17693
17693
  }, React__default.createElement(NodeDraggable, {
17694
17694
  handleClickOpen: handleClickOpen