mario-teacher-student-client 2.1.45-beta → 2.1.48-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/CardSwitch.d.ts +2 -1
- package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +1 -1
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +1 -0
- package/dist/containers/Accommodation/components/Accomondation.d.ts +1 -1
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +1 -0
- package/dist/containers/Goals/components/Goals.d.ts +6 -1
- package/dist/containers/Goals/hook/useGoals.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +6 -0
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +2 -1
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +1 -1
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +3 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +1 -0
- package/dist/index.js +196 -180
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +196 -180
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ interface Props {
|
|
|
7
7
|
updateAllow: Function;
|
|
8
8
|
isTeacher?: boolean;
|
|
9
9
|
classFontSize?: any;
|
|
10
|
+
name?: string;
|
|
10
11
|
}
|
|
11
|
-
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher, classFontSize }: Props) => JSX.Element;
|
|
12
|
+
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher, classFontSize, name }: Props) => JSX.Element;
|
|
12
13
|
export default CardSwitch;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface Goal {
|
|
3
|
+
isAllowedEdit: boolean;
|
|
4
|
+
updateAllow: Function;
|
|
5
|
+
studentInfo: any;
|
|
6
|
+
}
|
|
7
|
+
declare const Goals: ({ isAllowedEdit, updateAllow, studentInfo }: Goal) => JSX.Element;
|
|
3
8
|
export default Goals;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
declare type AllowToEdit = {
|
|
2
2
|
PersonalInterest: boolean;
|
|
3
3
|
LearningStrategie: boolean;
|
|
4
|
+
StrengthAndChallenge: boolean;
|
|
5
|
+
AdditionalThing: boolean;
|
|
6
|
+
Section: boolean;
|
|
7
|
+
Accommodation: boolean;
|
|
8
|
+
GOAL: boolean;
|
|
4
9
|
};
|
|
5
10
|
declare const usePersonalInterest: (studentId: number) => {
|
|
6
11
|
listPersonalInterest: any;
|
|
@@ -9,6 +14,7 @@ declare const usePersonalInterest: (studentId: number) => {
|
|
|
9
14
|
updateAllowToEdit: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
15
|
classFontSize: string;
|
|
11
16
|
nameStudentPlan: string;
|
|
17
|
+
getStudentDataProfile: () => Promise<void>;
|
|
12
18
|
studentData: undefined;
|
|
13
19
|
};
|
|
14
20
|
export default usePersonalInterest;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
3
|
isTeacher?: boolean;
|
|
4
|
+
studentInfo: any;
|
|
4
5
|
}
|
|
5
|
-
declare const SummaryStrengthsAndChallenges: ({ isTeacher }: Props) => JSX.Element;
|
|
6
|
+
declare const SummaryStrengthsAndChallenges: ({ isTeacher, studentInfo }: Props) => JSX.Element;
|
|
6
7
|
export default SummaryStrengthsAndChallenges;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { THING_TEACHER_TYPE } from "../constants/type";
|
|
3
|
-
declare const ThingTeachersCanHelp: ({ studentId }: THING_TEACHER_TYPE) => JSX.Element;
|
|
3
|
+
declare const ThingTeachersCanHelp: ({ studentId, isAllowedEdit, updateAllow, studentInfo }: THING_TEACHER_TYPE) => JSX.Element;
|
|
4
4
|
export default ThingTeachersCanHelp;
|