mario-teacher-student-client 2.1.65-beta → 2.1.67-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/containers/MyStudent/configs/createStudentSchema.d.ts +20 -12
- package/dist/containers/MyStudent/hooks/useCreateStudent.d.ts +4 -2
- package/dist/containers/MyStudent/hooks/useUpdateProfile.d.ts +7 -4
- package/dist/containers/ThankYouCard/views/ThankYouError.d.ts +3 -0
- package/dist/index.css +16 -13
- package/dist/index.d.ts +2 -1
- package/dist/index.js +629 -321
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +630 -323
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,21 +3,29 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
|
3
3
|
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
emailParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
|
+
firstNameParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
8
|
+
lastNameParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
9
|
+
emailParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
10
|
+
firstNameParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
11
|
+
lastNameParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
12
|
+
secondary: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
13
|
+
third: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
14
|
+
isSaved1: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
15
|
+
isSaved2: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
12
16
|
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
13
17
|
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
14
18
|
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
15
19
|
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
emailParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
21
|
+
firstNameParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
22
|
+
lastNameParent1: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
23
|
+
emailParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
24
|
+
firstNameParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
25
|
+
lastNameParent2: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
26
|
+
secondary: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
27
|
+
third: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
28
|
+
isSaved1: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
29
|
+
isSaved2: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
22
30
|
}>>;
|
|
23
31
|
export default schema;
|
|
@@ -3,9 +3,9 @@ declare const useCreateStudent: () => {
|
|
|
3
3
|
createStudent: (data: any) => Promise<void>;
|
|
4
4
|
setFile: import("react").Dispatch<any>;
|
|
5
5
|
handleCloseConfirmModal: () => void;
|
|
6
|
-
handleSendMailToCheckUser: (email: string) => Promise<void>;
|
|
6
|
+
handleSendMailToCheckUser: (email: string, values: any) => Promise<void>;
|
|
7
7
|
openConfirmModal: boolean;
|
|
8
|
-
handleAcceptEmail: (
|
|
8
|
+
handleAcceptEmail: () => void;
|
|
9
9
|
handleDeclineEmail: () => void;
|
|
10
10
|
handleOpenParentModal1: () => void;
|
|
11
11
|
handleOpenParentModal2: () => void;
|
|
@@ -14,5 +14,7 @@ declare const useCreateStudent: () => {
|
|
|
14
14
|
handleCloseParentModal1: () => void;
|
|
15
15
|
handleCloseParentModal2: () => void;
|
|
16
16
|
handleOpenConfirmModal: () => void;
|
|
17
|
+
submitData: any;
|
|
18
|
+
existEmailData: any;
|
|
17
19
|
};
|
|
18
20
|
export default useCreateStudent;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { EDU_TEACHER, ASSIGN_EDU_TEACHER } from "../constants/types";
|
|
3
3
|
declare const useUpdateProfile: (studentId: number) => {
|
|
4
|
-
studentData: any;
|
|
5
4
|
updateStudentProfile: (imageUse: any, studentId: any, data: any) => Promise<void>;
|
|
6
5
|
file: any;
|
|
7
6
|
setFile: import("react").Dispatch<any>;
|
|
8
|
-
setStudentData: import("react").Dispatch<any>;
|
|
9
7
|
classFontSize: string;
|
|
10
8
|
changeFilters: (updatedFilters: any) => void;
|
|
11
9
|
filters: {
|
|
@@ -25,8 +23,8 @@ declare const useUpdateProfile: (studentId: number) => {
|
|
|
25
23
|
listSelectEduTeacher: number[];
|
|
26
24
|
getEduTeacherByStudent: (studentId: number) => Promise<void>;
|
|
27
25
|
removeAssignEduTeacherById: (studentId: number, eduTeacherId: number) => Promise<void>;
|
|
28
|
-
handleSendMailToCheckUser: (email: string) => Promise<void>;
|
|
29
|
-
handleAcceptEmail: (
|
|
26
|
+
handleSendMailToCheckUser: (email: string, values: any) => Promise<void>;
|
|
27
|
+
handleAcceptEmail: () => void;
|
|
30
28
|
handleDeclineEmail: () => void;
|
|
31
29
|
openConfirmModal: boolean;
|
|
32
30
|
handleCloseConfirmModal: () => void;
|
|
@@ -37,5 +35,10 @@ declare const useUpdateProfile: (studentId: number) => {
|
|
|
37
35
|
handleCloseParentModal1: () => void;
|
|
38
36
|
handleCloseParentModal2: () => void;
|
|
39
37
|
handleOpenConfirmModal: () => void;
|
|
38
|
+
setFormikState: import("react").Dispatch<any>;
|
|
39
|
+
formikState: any;
|
|
40
|
+
firstTimeClickEditModal1: boolean;
|
|
41
|
+
firstTimeClickEditModal2: boolean;
|
|
42
|
+
existEmailData: any;
|
|
40
43
|
};
|
|
41
44
|
export default useUpdateProfile;
|
package/dist/index.css
CHANGED
|
@@ -10366,7 +10366,7 @@ h2._1KpSK {
|
|
|
10366
10366
|
font-weight: 700; }
|
|
10367
10367
|
._Chm-k ._26nwD ._1jn7K {
|
|
10368
10368
|
border-radius: 12px;
|
|
10369
|
-
background-color: #308252;
|
|
10369
|
+
background-color: #308252 !important;
|
|
10370
10370
|
color: #fff; }
|
|
10371
10371
|
|
|
10372
10372
|
._3DflL {
|
|
@@ -10374,15 +10374,16 @@ h2._1KpSK {
|
|
|
10374
10374
|
._3DflL ._bWHlA {
|
|
10375
10375
|
width: 100%; }
|
|
10376
10376
|
|
|
10377
|
-
._10F9v
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10377
|
+
._10F9v {
|
|
10378
|
+
display: flex; }
|
|
10379
|
+
._10F9v ._1jn7K {
|
|
10380
|
+
border-radius: 12px;
|
|
10381
|
+
background-color: #308252 !important;
|
|
10382
|
+
color: #fff; }
|
|
10383
|
+
._10F9v ._2Djok {
|
|
10384
|
+
border-radius: 12px;
|
|
10385
|
+
background-color: red !important;
|
|
10386
|
+
color: #fff; }
|
|
10386
10387
|
|
|
10387
10388
|
._9qKrc {
|
|
10388
10389
|
margin-top: 50px; }
|
|
@@ -10560,7 +10561,7 @@ h2._1KpSK {
|
|
|
10560
10561
|
font-weight: 700; }
|
|
10561
10562
|
._-wE8S ._3VaML ._3eIAY {
|
|
10562
10563
|
border-radius: 12px;
|
|
10563
|
-
background-color: #308252;
|
|
10564
|
+
background-color: #308252 !important;
|
|
10564
10565
|
color: #fff; }
|
|
10565
10566
|
|
|
10566
10567
|
._39HFX {
|
|
@@ -10570,12 +10571,12 @@ h2._1KpSK {
|
|
|
10570
10571
|
|
|
10571
10572
|
._ja1Lt ._3eIAY {
|
|
10572
10573
|
border-radius: 12px;
|
|
10573
|
-
background-color: #308252;
|
|
10574
|
+
background-color: #308252 !important;
|
|
10574
10575
|
color: #fff; }
|
|
10575
10576
|
|
|
10576
10577
|
._ja1Lt ._1pgFu {
|
|
10577
10578
|
border-radius: 12px;
|
|
10578
|
-
background-color: red;
|
|
10579
|
+
background-color: red !important;
|
|
10579
10580
|
color: #fff; }
|
|
10580
10581
|
|
|
10581
10582
|
._2OL8T {
|
|
@@ -13923,6 +13924,8 @@ h4._3lNz0 {
|
|
|
13923
13924
|
width: 100%;
|
|
13924
13925
|
border-radius: 5px;
|
|
13925
13926
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px; }
|
|
13927
|
+
._1MhMr._3az0y ._vaSYb {
|
|
13928
|
+
font-size: 35px; }
|
|
13926
13929
|
|
|
13927
13930
|
._vaSYb {
|
|
13928
13931
|
color: #680000;
|
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ import ParentPage from "./containers/Parent/views/ParentPage";
|
|
|
54
54
|
import ExternalReflection from "./containers/ExternalReflection/views/ExternalReflection";
|
|
55
55
|
import TeacherClassReflection from "./containers/MyClassReflection/views/TeacherClassReflection";
|
|
56
56
|
import ThankYouCard from "./containers/ThankYouCard/views/ThankYouCard";
|
|
57
|
+
import ThankYouError from "./containers/ThankYouCard/views/ThankYouError";
|
|
57
58
|
import { ListStudent } from "./containers/MyStudentEduTeacher/components/ListStudent";
|
|
58
59
|
import EduTeacherViewDetail from "./containers/MyStudentEduTeacher/views/EduTeacherViewDetail";
|
|
59
|
-
export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, SessionDetail, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, UpdateStudentProfile, CreateStudent, ChangePassword, StageDebugPage, LearningPlan, PersonalLearningGoal, ListPersonalinterrest, AccomondationList, AboutMyLearningList, ThinkTeacherCanHelpList, DetailStrengthsAndChallenges, UiCompletedOneToOne, Note, AddNote, EditNote, ViewItemNote, SettingPage, FriendCircleLearning, ListFriendCircle, ActivityCircleLearning, ListActivityLearning, LearningStrategies, LearningStrategiesSave, ActionPoint, GoalList, GoalDetail, NewGoal, MyClassReflection, AddClassReflection, PrivacyPolicy, PlpPage, MyClassSchedule, AddClassSchedule, TrainingLink, ExternalReflection, TeacherClassReflection, ThankYouCard, ParentPage, ListStudent, EduTeacherViewDetail };
|
|
60
|
+
export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, SessionDetail, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, UpdateStudentProfile, CreateStudent, ChangePassword, StageDebugPage, LearningPlan, PersonalLearningGoal, ListPersonalinterrest, AccomondationList, AboutMyLearningList, ThinkTeacherCanHelpList, DetailStrengthsAndChallenges, UiCompletedOneToOne, Note, AddNote, EditNote, ViewItemNote, SettingPage, FriendCircleLearning, ListFriendCircle, ActivityCircleLearning, ListActivityLearning, LearningStrategies, LearningStrategiesSave, ActionPoint, GoalList, GoalDetail, NewGoal, MyClassReflection, AddClassReflection, PrivacyPolicy, PlpPage, MyClassSchedule, AddClassSchedule, TrainingLink, ExternalReflection, TeacherClassReflection, ThankYouCard, ThankYouError, ParentPage, ListStudent, EduTeacherViewDetail };
|