mario-teacher-student-client 2.1.63-beta → 2.1.65-beta
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/Card/CardItem.d.ts +2 -1
- package/dist/components/Header/HeaderComponent.d.ts +2 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +1 -0
- package/dist/components/layouts/NotificationStepLogin.d.ts +10 -0
- package/dist/components/layouts/type.d.ts +20 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +1 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +1 -0
- package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +1 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +1 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +1 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +1 -0
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +1 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +2 -1
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +8 -0
- package/dist/containers/MyStudent/constants/types.d.ts +14 -0
- package/dist/containers/MyStudent/hooks/useCreateStudent.d.ts +12 -0
- package/dist/containers/MyStudent/hooks/useUpdateProfile.d.ts +20 -0
- package/dist/containers/MyStudentEduTeacher/apiClient/api.d.ts +2 -0
- package/dist/containers/MyStudentEduTeacher/components/ListStudent.d.ts +2 -0
- package/dist/containers/MyStudentEduTeacher/constants/types.d.ts +31 -0
- package/dist/containers/MyStudentEduTeacher/hook/useStudentList.d.ts +7 -0
- package/dist/containers/MyStudentEduTeacher/views/EduTeacherViewDetail.d.ts +3 -0
- package/dist/containers/Parent/components/StudentItem.d.ts +8 -0
- package/dist/containers/Parent/configs/constants.d.ts +7 -0
- package/dist/containers/Parent/hooks/useParentHome.d.ts +6 -0
- package/dist/containers/Parent/views/ParentPage.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/CardItemMobile/CardItemMobile.d.ts +2 -1
- package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +1 -0
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +2 -1
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +1 -0
- package/dist/index.css +548 -8
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2093 -605
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2042 -557
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +5 -0
- package/dist/services/Parent.d.ts +2 -0
- package/package.json +2 -2
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
isAllowedEdit?: boolean;
|
|
14
14
|
isAccommodationIEP?: boolean;
|
|
15
15
|
classFontSize?: any;
|
|
16
|
+
isParent?: boolean;
|
|
16
17
|
}
|
|
17
|
-
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete, isTeacher, isAllowedEdit, isAccommodationIEP, classFontSize }: Props) => JSX.Element;
|
|
18
|
+
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete, isTeacher, isAllowedEdit, isAccommodationIEP, classFontSize, isParent }: Props) => JSX.Element;
|
|
18
19
|
export default CardItem;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const LIST_TEACHER_STEP_POPUP: {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const LIST_ASSISTANT_STEP_POPUP: {
|
|
7
|
+
id: number;
|
|
8
|
+
title: string;
|
|
9
|
+
message: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const LIST_STUDENT_STEP_POPUP: {
|
|
12
|
+
id: number;
|
|
13
|
+
title: string;
|
|
14
|
+
message: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const STEP_PROFILE: {
|
|
17
|
+
id: number;
|
|
18
|
+
title: string;
|
|
19
|
+
message: string;
|
|
20
|
+
};
|
|
@@ -9,6 +9,7 @@ interface PropsType {
|
|
|
9
9
|
toggleAllow: boolean;
|
|
10
10
|
isTeacher: boolean;
|
|
11
11
|
classFontSize: string;
|
|
12
|
+
isParent: boolean;
|
|
12
13
|
}
|
|
13
|
-
declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit, toggleAllow, isTeacher, classFontSize }: PropsType) => JSX.Element;
|
|
14
|
+
declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit, toggleAllow, isTeacher, classFontSize, isParent }: PropsType) => JSX.Element;
|
|
14
15
|
export default LearningStrategiesMobileItem;
|
|
@@ -4,12 +4,20 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
|
4
4
|
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
5
5
|
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
6
6
|
secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
|
+
secondaryFirstName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
8
|
+
secondaryLastName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
9
|
thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
10
|
+
thirdFirstName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
11
|
+
thirdLastName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
8
12
|
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
9
13
|
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
10
14
|
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
11
15
|
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
12
16
|
secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
17
|
+
secondaryFirstName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
18
|
+
secondaryLastName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
13
19
|
thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
20
|
+
thirdFirstName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
21
|
+
thirdLastName: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
14
22
|
}>>;
|
|
15
23
|
export default schema;
|
|
@@ -151,3 +151,17 @@ export interface DEFAULT_VALUE {
|
|
|
151
151
|
typeFileVersion: string;
|
|
152
152
|
nameFileVersion: string;
|
|
153
153
|
}
|
|
154
|
+
export interface EDU_TEACHER {
|
|
155
|
+
email: string;
|
|
156
|
+
firstName: string;
|
|
157
|
+
fullName: string;
|
|
158
|
+
generalEducationTeacherId: number;
|
|
159
|
+
id: string;
|
|
160
|
+
isActive: boolean;
|
|
161
|
+
lastName: string;
|
|
162
|
+
profileImageFileName: string;
|
|
163
|
+
}
|
|
164
|
+
export interface ASSIGN_EDU_TEACHER {
|
|
165
|
+
eduTeacherId: number[];
|
|
166
|
+
studentId: number;
|
|
167
|
+
}
|
|
@@ -2,5 +2,17 @@
|
|
|
2
2
|
declare const useCreateStudent: () => {
|
|
3
3
|
createStudent: (data: any) => Promise<void>;
|
|
4
4
|
setFile: import("react").Dispatch<any>;
|
|
5
|
+
handleCloseConfirmModal: () => void;
|
|
6
|
+
handleSendMailToCheckUser: (email: string) => Promise<void>;
|
|
7
|
+
openConfirmModal: boolean;
|
|
8
|
+
handleAcceptEmail: (values: any) => void;
|
|
9
|
+
handleDeclineEmail: () => void;
|
|
10
|
+
handleOpenParentModal1: () => void;
|
|
11
|
+
handleOpenParentModal2: () => void;
|
|
12
|
+
openAddEditParentModal1: boolean;
|
|
13
|
+
openAddEditParentModal2: boolean;
|
|
14
|
+
handleCloseParentModal1: () => void;
|
|
15
|
+
handleCloseParentModal2: () => void;
|
|
16
|
+
handleOpenConfirmModal: () => void;
|
|
5
17
|
};
|
|
6
18
|
export default useCreateStudent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { EDU_TEACHER, ASSIGN_EDU_TEACHER } from "../constants/types";
|
|
2
3
|
declare const useUpdateProfile: (studentId: number) => {
|
|
3
4
|
studentData: any;
|
|
4
5
|
updateStudentProfile: (imageUse: any, studentId: any, data: any) => Promise<void>;
|
|
@@ -17,5 +18,24 @@ declare const useUpdateProfile: (studentId: number) => {
|
|
|
17
18
|
};
|
|
18
19
|
classScheduleData: never[];
|
|
19
20
|
updateCheckedClassSchedule: (id: number) => Promise<void>;
|
|
21
|
+
getListEduTeachers: () => Promise<void>;
|
|
22
|
+
dataListEduTeacher: EDU_TEACHER[];
|
|
23
|
+
assignEduTeacher: (data: ASSIGN_EDU_TEACHER) => Promise<void>;
|
|
24
|
+
setListSelectEduTeacher: import("react").Dispatch<import("react").SetStateAction<number[]>>;
|
|
25
|
+
listSelectEduTeacher: number[];
|
|
26
|
+
getEduTeacherByStudent: (studentId: number) => Promise<void>;
|
|
27
|
+
removeAssignEduTeacherById: (studentId: number, eduTeacherId: number) => Promise<void>;
|
|
28
|
+
handleSendMailToCheckUser: (email: string) => Promise<void>;
|
|
29
|
+
handleAcceptEmail: (values: any) => void;
|
|
30
|
+
handleDeclineEmail: () => void;
|
|
31
|
+
openConfirmModal: boolean;
|
|
32
|
+
handleCloseConfirmModal: () => void;
|
|
33
|
+
handleOpenParentModal1: () => void;
|
|
34
|
+
handleOpenParentModal2: () => void;
|
|
35
|
+
openAddEditParentModal1: boolean;
|
|
36
|
+
openAddEditParentModal2: boolean;
|
|
37
|
+
handleCloseParentModal1: () => void;
|
|
38
|
+
handleCloseParentModal2: () => void;
|
|
39
|
+
handleOpenConfirmModal: () => void;
|
|
20
40
|
};
|
|
21
41
|
export default useUpdateProfile;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface FILTER_STUDENT {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
pageSize: number;
|
|
4
|
+
searchString: string;
|
|
5
|
+
sortBy: string;
|
|
6
|
+
sortOrder?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
isDescending?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare enum OrderByStudent {
|
|
11
|
+
id = 0,
|
|
12
|
+
name = 1,
|
|
13
|
+
grade = 2,
|
|
14
|
+
lastOneToOne = 3,
|
|
15
|
+
lastConference = 4,
|
|
16
|
+
totalTime = 5
|
|
17
|
+
}
|
|
18
|
+
export interface STUDENT_LIST {
|
|
19
|
+
fullName: string;
|
|
20
|
+
gradeLevel: string;
|
|
21
|
+
id: string;
|
|
22
|
+
profileImageFileName: string;
|
|
23
|
+
studentId: number;
|
|
24
|
+
}
|
|
25
|
+
export interface RES_STUDENT {
|
|
26
|
+
currentPage: number;
|
|
27
|
+
items: STUDENT_LIST[];
|
|
28
|
+
pageSize: number;
|
|
29
|
+
totalItems: number;
|
|
30
|
+
totalPages: number;
|
|
31
|
+
}
|
|
@@ -7,6 +7,7 @@ interface PropsType {
|
|
|
7
7
|
onEditItem?: Function;
|
|
8
8
|
isAllowedEdit?: boolean;
|
|
9
9
|
classFontSize: string;
|
|
10
|
+
isParent?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem, isAllowedEdit, classFontSize }: PropsType) => JSX.Element;
|
|
12
|
+
declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem, isAllowedEdit, classFontSize, isParent }: PropsType) => JSX.Element;
|
|
12
13
|
export default CardItemMobile;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
interface Props {
|
|
3
3
|
isTeacher?: boolean;
|
|
4
4
|
studentInfo: any;
|
|
5
|
+
isParent?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const SummaryStrengthsAndChallenges: ({ isTeacher, studentInfo }: Props) => JSX.Element;
|
|
7
|
+
declare const SummaryStrengthsAndChallenges: ({ isTeacher, isParent, studentInfo }: Props) => JSX.Element;
|
|
7
8
|
export default SummaryStrengthsAndChallenges;
|