mario-teacher-student-client 2.0.6 → 9000.0.0
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.
- package/dist/components/Circle/Circle.d.ts +11 -0
- package/dist/components/Circle/ItemCircle.d.ts +7 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +11 -0
- package/dist/components/Header/HeaderSurvey.d.ts +11 -0
- package/dist/components/Input/TextAreaComponent.d.ts +8 -0
- package/dist/components/layouts/HeaderSideBar.d.ts +4 -0
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +3 -0
- package/dist/containers/FriendCircle/constants/types.d.ts +101 -0
- package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +20 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
- package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
- package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +3 -0
- package/dist/containers/MyConferences/hooks/useUpComing.d.ts +0 -1
- package/dist/containers/MyOneToOne/components/SliderRange.d.ts +2 -0
- package/dist/containers/MyOneToOne/components/UiCompletedOneToOne.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +0 -1
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +4 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +3 -0
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +0 -5
- package/dist/containers/MyStudent/constants/types.d.ts +6 -0
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
- package/dist/containers/MySurvey/constants/types.d.ts +41 -0
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
- package/dist/containers/Note/components/AddNew.d.ts +3 -0
- package/dist/containers/Note/components/Note.d.ts +3 -0
- package/dist/containers/Note/components/ViewItemNote.d.ts +3 -0
- package/dist/containers/Note/hook/useNote.d.ts +10 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +2 -33
- package/dist/containers/SettingPageV1/hook/useSettingPage.d.ts +5 -0
- package/dist/containers/SettingPageV1/view/SettingPage.d.ts +2 -0
- package/dist/index.css +1436 -25
- package/dist/index.d.ts +14 -2
- package/dist/index.js +4529 -1499
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4501 -1482
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +7 -0
- package/dist/services/myFriendGoalService.d.ts +5 -0
- package/package.json +4 -2
- package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +0 -6
- 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,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,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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const DialogNodes: (props: any) => JSX.Element;
|
|
3
|
+
export default DialogNodes;
|
|
@@ -20,6 +20,5 @@ declare const useUpComing: () => {
|
|
|
20
20
|
getAllNoteConference: (sessionId: any) => Promise<void>;
|
|
21
21
|
updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
|
|
22
22
|
deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
|
|
23
|
-
studentNameReq: string | null;
|
|
24
23
|
};
|
|
25
24
|
export default useUpComing;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTopLearningStrategiesApi: (studentId: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
1
|
declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
2
|
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
3
|
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
5
4
|
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
6
|
-
secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
|
-
thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
8
5
|
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
9
6
|
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
10
7
|
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
11
8
|
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
12
|
-
secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
13
|
-
thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
14
9
|
}>>;
|
|
15
10
|
export default schema;
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
declare const useNote: () => {
|
|
3
|
+
changeEndDate: (date: MaterialUiPickersDate | null) => void;
|
|
4
|
+
changeStartDate: (date: MaterialUiPickersDate | null) => void;
|
|
5
|
+
startDate: any;
|
|
6
|
+
endDate: any;
|
|
7
|
+
onChangeSetData: (e: any) => void;
|
|
8
|
+
valueNoteAdd: string;
|
|
9
|
+
};
|
|
10
|
+
export default useNote;
|
|
@@ -1,36 +1,5 @@
|
|
|
1
1
|
declare const usePersonalInterest: () => {
|
|
2
|
-
|
|
3
|
-
|
|
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;
|