mario-core 2.9.245-release → 2.9.301-release
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/User/constants/types.d.ts +4 -7
- package/dist/containers/User/hooks/useAssignStudent.d.ts +1 -1
- package/dist/containers/User/hooks/useTeacherList.d.ts +1 -1
- package/dist/index.css +3 -3
- package/dist/index.js +518 -538
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +520 -540
- package/dist/index.modern.js.map +1 -1
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/package.json +104 -104
|
@@ -69,6 +69,7 @@ export declare type UserColumn = {
|
|
|
69
69
|
};
|
|
70
70
|
export declare type StudentAssign = {
|
|
71
71
|
studentId: number;
|
|
72
|
+
teacherUserId: string;
|
|
72
73
|
id: string;
|
|
73
74
|
email: string;
|
|
74
75
|
fullName: string;
|
|
@@ -84,14 +85,10 @@ export declare type StudentAssign = {
|
|
|
84
85
|
counselorEmail: string;
|
|
85
86
|
secondaryTeacherName: string;
|
|
86
87
|
secondaryTeacherEmail: string;
|
|
87
|
-
teachers: Array<ITeachers>;
|
|
88
|
-
};
|
|
89
|
-
export interface ITeachers {
|
|
90
|
-
teacherUserId: string;
|
|
91
88
|
mainTeacherName: string;
|
|
92
89
|
mainTeacherEmail: string;
|
|
93
90
|
mainTeacherId?: number;
|
|
94
|
-
}
|
|
91
|
+
};
|
|
95
92
|
export interface IStaffAssign {
|
|
96
93
|
teacherId: string;
|
|
97
94
|
teacherEmail: string;
|
|
@@ -136,8 +133,8 @@ export interface IOptions {
|
|
|
136
133
|
}
|
|
137
134
|
export declare type AssignStudentDto = {
|
|
138
135
|
id: string;
|
|
139
|
-
mainTeacherUserId?:
|
|
140
|
-
mainTeacherEmail?:
|
|
136
|
+
mainTeacherUserId?: string;
|
|
137
|
+
mainTeacherEmail?: string;
|
|
141
138
|
assistantUserId?: string;
|
|
142
139
|
assistantEmail?: string;
|
|
143
140
|
counselorUserId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IStaffAssign } from "../constants/types";
|
|
2
|
-
declare const useAssignStudent: (teacherSelected?:
|
|
2
|
+
declare const useAssignStudent: (teacherSelected?: object | undefined, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
|
|
3
3
|
handleAssignSingleStudent: (id: string) => void;
|
|
4
4
|
handleAssignMultiStudent: (listUserIds: string[]) => void;
|
|
5
5
|
openModelBulk: boolean;
|
|
@@ -3,7 +3,7 @@ import { IOptions } from "../constants/types";
|
|
|
3
3
|
declare const useTeacherList: () => {
|
|
4
4
|
selectedTeachers: object | undefined;
|
|
5
5
|
teacherOptions: IOptions[];
|
|
6
|
-
handleSelectTeacher: (
|
|
6
|
+
handleSelectTeacher: (teacherId: string, studentUserId: string) => void;
|
|
7
7
|
handleCreateTeacherOption: (newTeacher: IOptions, studentUserId: string, isSelectTeacher?: boolean | undefined) => void;
|
|
8
8
|
setSelectedTeachers: import("react").Dispatch<import("react").SetStateAction<object | undefined>>;
|
|
9
9
|
};
|
package/dist/index.css
CHANGED
|
@@ -161,7 +161,8 @@
|
|
|
161
161
|
padding: 10px 27px; } }
|
|
162
162
|
|
|
163
163
|
._2OUwW {
|
|
164
|
-
height:
|
|
164
|
+
height: 100%;
|
|
165
|
+
max-height: 56px; }
|
|
165
166
|
|
|
166
167
|
._2Owso {
|
|
167
168
|
font-size: 16px;
|
|
@@ -844,8 +845,7 @@
|
|
|
844
845
|
justify-content: center;
|
|
845
846
|
padding: 10px 0; }
|
|
846
847
|
._DrSlA img {
|
|
847
|
-
|
|
848
|
-
height: auto;
|
|
848
|
+
height: 26px;
|
|
849
849
|
margin-right: 10px; }
|
|
850
850
|
._DrSlA p {
|
|
851
851
|
margin-bottom: 0;
|