mario-education 2.4.18-beta → 2.4.21-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/MarioFramework.Education/ClientApp/src/containers/Classes/components/StudentItemSelector.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Classes/components/TeacherItemSelector.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Training/hooks/useTrainingLink.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Training/views/Training.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/classService.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/linkTraining.d.ts +2 -0
- package/dist/index.css +10 -3
- package/dist/index.js +328 -124
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +328 -124
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
onChange: any;
|
|
5
5
|
externalStudentIds?: number[];
|
|
6
6
|
studentDefault?: Student;
|
|
7
|
+
teacherUserId?: string;
|
|
7
8
|
}
|
|
8
9
|
export interface Student {
|
|
9
10
|
studentId: number;
|
|
@@ -12,6 +13,8 @@ export interface Student {
|
|
|
12
13
|
id: string;
|
|
13
14
|
label?: string;
|
|
14
15
|
value?: string;
|
|
16
|
+
gender?: string;
|
|
17
|
+
mtss?: string;
|
|
15
18
|
}
|
|
16
19
|
declare const StudentItemSelector: FC<Props>;
|
|
17
20
|
export default StudentItemSelector;
|
|
@@ -2,10 +2,12 @@ import { FC } from "react";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
defaultValue: number | null | undefined;
|
|
4
4
|
onChange: Function;
|
|
5
|
+
studentUserId: string;
|
|
5
6
|
}
|
|
6
7
|
export interface Option {
|
|
7
8
|
label: string;
|
|
8
9
|
value: number;
|
|
10
|
+
teacherUserId: string;
|
|
9
11
|
}
|
|
10
12
|
declare const TeacherItemSelector: FC<Props>;
|
|
11
13
|
export default TeacherItemSelector;
|
|
@@ -18,7 +18,7 @@ export declare const activityCircleItems: ({ like, love, interested, curious }:
|
|
|
18
18
|
width: number;
|
|
19
19
|
height: number;
|
|
20
20
|
}[];
|
|
21
|
-
export declare const gradeOptions: (grades: string[]) => IOptionSelector[];
|
|
21
|
+
export declare const gradeOptions: (grades: string[], studentUserId?: string | undefined) => IOptionSelector[];
|
|
22
22
|
export declare const genderOptions: {
|
|
23
23
|
value: LegalGenderType;
|
|
24
24
|
label: string;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -25,5 +25,9 @@ declare const useDashboard: () => {
|
|
|
25
25
|
studentId: number;
|
|
26
26
|
setStudentId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
27
27
|
onFilter: () => void;
|
|
28
|
+
studentUserId: string;
|
|
29
|
+
setStudentUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
30
|
+
teacherUserId: string;
|
|
31
|
+
setTeacherUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
28
32
|
};
|
|
29
33
|
export default useDashboard;
|
|
@@ -5,5 +5,5 @@ export declare const create: (data: any) => Promise<import("axios").AxiosRespons
|
|
|
5
5
|
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
export declare const getStudents: (classId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
-
export declare const getAllStudents: (searchString
|
|
9
|
-
export declare const getAllTeachers: () => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const getAllStudents: (searchString?: string | undefined, userId?: string | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const getAllTeachers: (studentUserId?: string | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -16,4 +16,4 @@ export declare const getActivityCircleItems: (filter: any) => Promise<import("ax
|
|
|
16
16
|
export declare const getStudentBySpecialNeed: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
17
17
|
export declare const getStudentByAge: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
export declare const getStudentByGender: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
19
|
-
export declare const getGrades: () => Promise<import("axios").AxiosResponse<any>>;
|
|
19
|
+
export declare const getGrades: (studentUserId: string) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/index.css
CHANGED
|
@@ -293,8 +293,15 @@ h6._3zOGW {
|
|
|
293
293
|
|
|
294
294
|
._2PMoX {
|
|
295
295
|
height: auto;
|
|
296
|
-
width:
|
|
297
|
-
|
|
296
|
+
width: 100%;
|
|
297
|
+
-o-object-fit: scale-down;
|
|
298
|
+
object-fit: scale-down;
|
|
299
|
+
}
|
|
300
|
+
._2PMoX._3ZX0b {
|
|
301
|
+
height: 300px;
|
|
302
|
+
width: 100%;
|
|
303
|
+
-o-object-fit: scale-down;
|
|
304
|
+
object-fit: scale-down;
|
|
298
305
|
}
|
|
299
306
|
|
|
300
307
|
._2asi- ._muT01 ._35BzZ {
|
|
@@ -310,7 +317,7 @@ h6._3zOGW {
|
|
|
310
317
|
max-width: 60%;
|
|
311
318
|
}
|
|
312
319
|
._16MpB {
|
|
313
|
-
max-width:
|
|
320
|
+
max-width: 55%;
|
|
314
321
|
}
|
|
315
322
|
}
|
|
316
323
|
|