mario-education 2.4.60-admin → 2.4.60-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/components/Loading/LoadLanguage.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/components/Questions/QuestionList.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/components/Questions/QuestionSelector.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AdminTraining/hooks/useAdminTraning.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AdminTraining/views/AdminTraining.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/components/AssignAssistantModal.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/hooks/useAssignAssistant.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/utils/constants.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/utils/type.interface.d.ts +45 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/views/AssignAssistantList.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LearningStrategiesTable.d.ts +3 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/views/SurveyQuestionContainer.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionCategory/components/QuestionCateSelector.d.ts +12 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Training/hooks/useTrainingLink.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +3 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/userService.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +8 -8
- package/dist/index.css +6 -5
- package/dist/index.js +3138 -1942
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3138 -1944
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +0 -7
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{servicetype.interface.d.ts → serviceType.interface.d.ts} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IOptions, IStudentWithoutAssistantItem } from "../utils/type.interface";
|
|
3
|
+
declare const useAssignAssistant: () => {
|
|
4
|
+
userList: IStudentWithoutAssistantItem[];
|
|
5
|
+
totalItems: number;
|
|
6
|
+
filters: import("mario-core").Filter;
|
|
7
|
+
changeFilters: (updatedFilters: any) => void;
|
|
8
|
+
modal: import("react").MutableRefObject<any>;
|
|
9
|
+
userChoiced: IStudentWithoutAssistantItem;
|
|
10
|
+
options: IOptions[];
|
|
11
|
+
changeAssistantId: (id: number) => void;
|
|
12
|
+
assistantChangeId: number;
|
|
13
|
+
handleAssign: () => Promise<void>;
|
|
14
|
+
resetData: () => void;
|
|
15
|
+
choiceUser: (userChoiced: IStudentWithoutAssistantItem) => void;
|
|
16
|
+
isChecked: boolean;
|
|
17
|
+
};
|
|
18
|
+
export default useAssignAssistant;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface IOptions {
|
|
2
|
+
label: string;
|
|
3
|
+
value: number;
|
|
4
|
+
}
|
|
5
|
+
export declare type USER_CHOICE = {
|
|
6
|
+
id: string;
|
|
7
|
+
studentName: string;
|
|
8
|
+
emailStudent: string;
|
|
9
|
+
assistantId: string;
|
|
10
|
+
emailAssistant: string;
|
|
11
|
+
assistantName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare type Assistant = {
|
|
14
|
+
id: string;
|
|
15
|
+
assistantId: number;
|
|
16
|
+
firstName: string;
|
|
17
|
+
lastName: string;
|
|
18
|
+
fullName: string;
|
|
19
|
+
email: string;
|
|
20
|
+
};
|
|
21
|
+
export interface IAssignAssistantModal {
|
|
22
|
+
header: string;
|
|
23
|
+
onAssign: () => Promise<void>;
|
|
24
|
+
resetData: () => void;
|
|
25
|
+
userChoiced: IStudentWithoutAssistantItem;
|
|
26
|
+
options: IOptions[];
|
|
27
|
+
assistantChangeId: number;
|
|
28
|
+
setAssistantChangeId: (value: any) => void;
|
|
29
|
+
isChecked: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface IStudentWithoutAssistantItem {
|
|
32
|
+
id: number;
|
|
33
|
+
emailStudent: string;
|
|
34
|
+
studentName: string;
|
|
35
|
+
teacherId?: number;
|
|
36
|
+
dateOfBirth: string;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
}
|
|
39
|
+
export declare type TypeStudentWithoutAssistantData = {
|
|
40
|
+
currentPage: number;
|
|
41
|
+
pageSize: number;
|
|
42
|
+
totalItems: number;
|
|
43
|
+
totalPages: number;
|
|
44
|
+
items: IStudentWithoutAssistantItem[];
|
|
45
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { DashboardFilter } from "../configs/types";
|
|
2
3
|
interface PropsType {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
onClosed: () => void;
|
|
@@ -6,6 +7,7 @@ interface PropsType {
|
|
|
6
7
|
data: any;
|
|
7
8
|
getData: () => void;
|
|
8
9
|
changeFilter: (updatedFilter: any) => void;
|
|
10
|
+
filterDashboard: DashboardFilter;
|
|
9
11
|
}
|
|
10
|
-
declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter }: PropsType) => JSX.Element;
|
|
12
|
+
declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter, filterDashboard }: PropsType) => JSX.Element;
|
|
11
13
|
export default LearningStrategiesTable;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
|
|
|
3
3
|
import { TYPECHART } from "../configs/types";
|
|
4
4
|
declare const useChartDatas: () => {
|
|
5
5
|
chartDashBoards: ({
|
|
6
|
+
chartIndex: number;
|
|
6
7
|
id: string;
|
|
7
8
|
label: string;
|
|
8
9
|
children: (_: TYPECHART) => JSX.Element;
|
|
@@ -11,6 +12,7 @@ declare const useChartDatas: () => {
|
|
|
11
12
|
contentTooltip: string;
|
|
12
13
|
handleClickOpenTable: () => void;
|
|
13
14
|
} | {
|
|
15
|
+
chartIndex: number;
|
|
14
16
|
id: string;
|
|
15
17
|
label: string;
|
|
16
18
|
children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
id?: number;
|
|
4
|
+
value?: any;
|
|
5
|
+
onChange: any;
|
|
6
|
+
title?: string;
|
|
7
|
+
isMulti: boolean;
|
|
8
|
+
isRequired?: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const QuestionCateSelector: FC<Props>;
|
|
12
|
+
export default QuestionCateSelector;
|
|
@@ -29,4 +29,6 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
|
|
|
29
29
|
import Dashboard from "./containers/Dashboard/views/Dashboard";
|
|
30
30
|
import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
|
|
31
31
|
import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
|
|
32
|
-
|
|
32
|
+
import LoadLanguage from "./components/Loading/LoadLanguage";
|
|
33
|
+
import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
|
|
34
|
+
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining };
|
|
@@ -4,3 +4,8 @@ export declare const getById: (id: number) => Promise<import("axios").AxiosRespo
|
|
|
4
4
|
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
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
|
+
export declare const getSurvey: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const getSurveyById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const createSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const updateSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const removeSurvey: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { TypeStudentWithoutAssistantData } from "../containers/AssignAssistant/utils/type.interface";
|
|
1
2
|
import { TypeStudentAssistantData } from "../containers/SwitchAssistant/utils/type.interface";
|
|
2
3
|
import { IStudentWidthAssistant } from "../utils/serviceType.interface";
|
|
3
4
|
export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentAssistantData>>;
|
|
5
|
+
export declare const getStudentWithoutAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentWithoutAssistantData>>;
|
|
4
6
|
export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
|
|
5
7
|
export declare const getAssistantByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any>>;
|
|
6
9
|
export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const assignAssistantOfStudent: (studentId: number, teacherId: number, assistantId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
11
|
export declare const removeAssistantForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -7,12 +7,12 @@ export declare const CONFERENCE_RUBRIC_TYPES: {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const GENDER_FILTER: string[];
|
|
9
9
|
export declare enum FILTER_NAME {
|
|
10
|
-
Calendar = "
|
|
11
|
-
Gender = "
|
|
12
|
-
Grade = "
|
|
13
|
-
BandScore = "
|
|
14
|
-
StudentName = "
|
|
15
|
-
TeacherName = "
|
|
16
|
-
StartDate = "
|
|
17
|
-
EndDate = "
|
|
10
|
+
Calendar = "calendar",
|
|
11
|
+
Gender = "gender",
|
|
12
|
+
Grade = "grade",
|
|
13
|
+
BandScore = "current_grade",
|
|
14
|
+
StudentName = "student_name",
|
|
15
|
+
TeacherName = "teacher_name",
|
|
16
|
+
StartDate = "start_date",
|
|
17
|
+
EndDate = "end_date"
|
|
18
18
|
}
|
package/dist/index.css
CHANGED
|
@@ -188,6 +188,7 @@ tbody._b-AXV tr {
|
|
|
188
188
|
._3xuSa {
|
|
189
189
|
display: flex;
|
|
190
190
|
align-items: center;
|
|
191
|
+
justify-content: flex-end;
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
._15ep6 {
|
|
@@ -521,16 +522,16 @@ h6._3zOGW {
|
|
|
521
522
|
}
|
|
522
523
|
|
|
523
524
|
._3H5Ly {
|
|
524
|
-
padding: 6px 12px;
|
|
525
|
+
padding: 6px 12px 6px 0px;
|
|
525
526
|
border-radius: 0 4px 4px 0;
|
|
526
|
-
background: #
|
|
527
|
-
color: #
|
|
527
|
+
background: #336DDA;
|
|
528
|
+
color: #fff;
|
|
528
529
|
}
|
|
529
530
|
|
|
530
531
|
._J_n-D {
|
|
531
|
-
padding: 6px;
|
|
532
|
+
padding: 5px 8px 7px 6px;
|
|
532
533
|
border-radius: 4px 0 0 4px;
|
|
533
|
-
background: #
|
|
534
|
+
background: #336DDA;
|
|
534
535
|
}
|
|
535
536
|
|
|
536
537
|
._2vtSi ._3AALV {
|