mario-education 2.4.69-admin → 2.4.70-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/Questions/QuestionList.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/components/Questions/QuestionSelector.d.ts +6 -1
- 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/configs/constants.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +7 -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 +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionList.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/views/QuestionBankList.d.ts +3 -1
- 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/QuestionCategory/hooks/useQuestionCateDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Training/hooks/useTrainingLink.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +4 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +6 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/questionService.d.ts +3 -3
- 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 +5 -5
- package/dist/index.js +3204 -1650
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3205 -1654
- 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
package/dist/MarioFramework.Education/ClientApp/src/components/Questions/QuestionSelector.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
interface Props {
|
|
3
|
-
categoryId
|
|
3
|
+
categoryId?: number;
|
|
4
4
|
onChange: Function;
|
|
5
5
|
value: any | null;
|
|
6
6
|
externalQuestionIds: number[];
|
|
7
|
+
isDefaultQuestionSurvey?: boolean;
|
|
8
|
+
isDefaultQuestion?: boolean;
|
|
9
|
+
isDefaultClassReflection?: boolean;
|
|
10
|
+
isDefaultConference?: boolean;
|
|
11
|
+
noCategory?: boolean;
|
|
7
12
|
}
|
|
8
13
|
declare const QuestionSelector: FC<Props>;
|
|
9
14
|
export default QuestionSelector;
|
|
@@ -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
|
+
};
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare const INITIAl_STUDENT_DASHBOARD: {
|
|
|
33
33
|
totalOneToOne: number;
|
|
34
34
|
totalTimeConference: number;
|
|
35
35
|
totalTimeOneToOne: number;
|
|
36
|
+
totalCheckIn: number;
|
|
36
37
|
};
|
|
37
38
|
export declare const INITIAL_AVG: number[];
|
|
38
39
|
export declare const COLOR_CHART_AND_PERCENTS: string[];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ declare const useChartDatas: () => {
|
|
|
50
50
|
selectedToPrint: any;
|
|
51
51
|
setSelectedToPrint: React.Dispatch<any>;
|
|
52
52
|
chartOneToOneData: import("../configs/types").IColumnChartAndPercent;
|
|
53
|
+
chartCheckInData: import("../configs/types").IColumnChartAndPercent;
|
|
53
54
|
topLearningStrategies: import("../configs/types").IlearningStrategies;
|
|
54
55
|
chartClassReflection: import("../configs/types").IColumnChartAndPercent;
|
|
55
56
|
chartConference: import("../configs/types").IColumnChartAndPercent;
|
|
@@ -57,6 +58,9 @@ declare const useChartDatas: () => {
|
|
|
57
58
|
dataConvertedOneToOne: string[];
|
|
58
59
|
activeColumnOneToOne: boolean[];
|
|
59
60
|
avgOneToOne: number[];
|
|
61
|
+
dataConvertedCheckIn: string[];
|
|
62
|
+
activeColumnCheckIn: boolean[];
|
|
63
|
+
avgCheckIn: number[];
|
|
60
64
|
dataConvertedClassReflection: string[];
|
|
61
65
|
activeColumnClassReflection: boolean[];
|
|
62
66
|
avgClassReflection: number[];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ declare const useDashboard: () => {
|
|
|
9
9
|
topLearningStrategies: IlearningStrategies;
|
|
10
10
|
studentByGrade: IStudentByGrade[];
|
|
11
11
|
chartOneToOneData: IColumnChartAndPercent;
|
|
12
|
+
chartCheckInData: IColumnChartAndPercent;
|
|
12
13
|
chartClassReflection: IColumnChartAndPercent;
|
|
13
14
|
chartConference: IColumnChartAndPercent;
|
|
14
15
|
learningProgress: IColumnChartAndPercent;
|
|
@@ -35,6 +36,12 @@ declare const useDashboard: () => {
|
|
|
35
36
|
dataConvertedOneToOne: string[];
|
|
36
37
|
monthsOneToOne: string[];
|
|
37
38
|
activeColumnOneToOne: boolean[];
|
|
39
|
+
handleActiveColumnCheckIn: (index: any) => void;
|
|
40
|
+
seriesCheckIn: ISeries[];
|
|
41
|
+
avgCheckIn: number[];
|
|
42
|
+
dataConvertedCheckIn: string[];
|
|
43
|
+
monthsCheckIn: string[];
|
|
44
|
+
activeColumnCheckIn: boolean[];
|
|
38
45
|
handleActiveColumnClassReflection: (index: any) => void;
|
|
39
46
|
seriesClassRefection: ISeries[];
|
|
40
47
|
avgClassReflection: number[];
|
|
@@ -23,8 +23,9 @@ declare type QuestionDetail = {
|
|
|
23
23
|
isSurvey: boolean;
|
|
24
24
|
subQuestions: string[];
|
|
25
25
|
isBeforeSession: boolean;
|
|
26
|
+
isDefaultQuestionSurvey: boolean;
|
|
26
27
|
};
|
|
27
|
-
declare const useQuestionDetail: (id?: number | undefined) => {
|
|
28
|
+
declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
|
|
28
29
|
questionDetail: QuestionDetail;
|
|
29
30
|
setEditorRef: (node: any) => any;
|
|
30
31
|
backToList: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const useQuestionList: (isDefaultQuestion: boolean,
|
|
1
|
+
declare const useQuestionList: (isDefaultQuestion: boolean, isDefaultClassReflection: boolean, isDefaultConference?: boolean | undefined, isDefaultSurvey?: boolean | undefined) => {
|
|
2
2
|
gridOptions: any;
|
|
3
3
|
setRef: (node: any) => any;
|
|
4
4
|
questionList: any;
|
|
@@ -8,6 +8,6 @@ declare const useQuestionList: (isDefaultQuestion: boolean, isDefaultQuestionGen
|
|
|
8
8
|
getData: () => Promise<void>;
|
|
9
9
|
removeData: (id: number) => void;
|
|
10
10
|
goToDetail: (id?: number | undefined) => void;
|
|
11
|
-
updateOrderQuestions: (data: any,
|
|
11
|
+
updateOrderQuestions: (data: any, isDefaulClassReflection: boolean) => Promise<void>;
|
|
12
12
|
};
|
|
13
13
|
export default useQuestionList;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
interface Props {
|
|
3
3
|
isDefaultQuestion: boolean;
|
|
4
|
-
|
|
4
|
+
isDefaultClassReflection: boolean;
|
|
5
|
+
isDefaultConference?: boolean;
|
|
6
|
+
isDefaultSurvey?: boolean;
|
|
5
7
|
}
|
|
6
8
|
declare const QuestionBankList: FC<Props>;
|
|
7
9
|
export default QuestionBankList;
|
|
@@ -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;
|
|
@@ -2,8 +2,10 @@ declare const useQuestionCateList: () => {
|
|
|
2
2
|
questionCateList: any;
|
|
3
3
|
totalItems: any;
|
|
4
4
|
filters: import("mario-core").Filter;
|
|
5
|
+
categories: any;
|
|
5
6
|
changeFilters: (updatedFilters: any) => void;
|
|
6
7
|
getData: () => Promise<void>;
|
|
7
8
|
removeData: (id: number) => void;
|
|
9
|
+
handleToggleChildren: (parent: any) => void;
|
|
8
10
|
};
|
|
9
11
|
export default useQuestionCateList;
|
|
@@ -17,6 +17,7 @@ import FeedbackList from "./containers/Feedback/views/FeedbackList";
|
|
|
17
17
|
import GoalExampleList from "./containers/GoalExample/views/GoalExampleList";
|
|
18
18
|
import TutorialScreenContainer from "./containers/TutorialScreen/views/TutorialScreenContainer";
|
|
19
19
|
import QuestionBankContainer from "./containers/QuestionBank/views/QuestionBankContainer";
|
|
20
|
+
import SurveyQuestionContainer from "./containers/QuestionBank/views/SurveyQuestionContainer";
|
|
20
21
|
import QuestionCategoryList from "./containers/QuestionCategory/views/QuestionCategogyList";
|
|
21
22
|
import AssignmentList from "./containers/Assignment/views/AssignmentList";
|
|
22
23
|
import AssessmentAssignmentContainer from "./containers/AssessmentAssignment/views/AssessmentAssignmentContainer";
|
|
@@ -29,4 +30,6 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
|
|
|
29
30
|
import Dashboard from "./containers/Dashboard/views/Dashboard";
|
|
30
31
|
import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
|
|
31
32
|
import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
|
|
32
|
-
|
|
33
|
+
import LoadLanguage from "./components/Loading/LoadLanguage";
|
|
34
|
+
import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
|
|
35
|
+
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining };
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Filter } from "mario-core";
|
|
2
|
-
export declare const get: (filter
|
|
2
|
+
export declare const get: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
3
|
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
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,8 +1,8 @@
|
|
|
1
1
|
export declare const get: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
2
|
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
-
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const create: (data: any, type?: number | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
4
|
export declare const getQuestionDefaultGeneralClass: () => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
-
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (data: any, type: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
export declare const getDefaultQuestions: () => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
-
export declare const updateOrderDragQuestions: (data: any,
|
|
8
|
+
export declare const updateOrderDragQuestions: (data: any, isDefaulClassReflection: any) => 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
|
@@ -522,16 +522,16 @@ h6._3zOGW {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
._3H5Ly {
|
|
525
|
-
padding: 6px 12px;
|
|
525
|
+
padding: 6px 12px 6px 0px;
|
|
526
526
|
border-radius: 0 4px 4px 0;
|
|
527
|
-
background: #
|
|
528
|
-
color: #
|
|
527
|
+
background: #336DDA;
|
|
528
|
+
color: #fff;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
._J_n-D {
|
|
532
|
-
padding: 6px;
|
|
532
|
+
padding: 5px 8px 7px 6px;
|
|
533
533
|
border-radius: 4px 0 0 4px;
|
|
534
|
-
background: #
|
|
534
|
+
background: #336DDA;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
._2vtSi ._3AALV {
|