mario-education 2.4.35-admin → 2.4.35-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/components/Select/SelectFilter.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LearningStrategiesTable.d.ts +13 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +20 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/IEPTemplate/configs/constants.d.ts +53 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/IEPTemplate/views/IEPTemplateBuilder.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/TemplateSurvey/components/TemplateCateModal.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateDetail.d.ts +35 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/views/TemplateSurveyList.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +8 -6
- package/dist/index.css +893 -873
- package/dist/index.js +2354 -1286
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2356 -1289
- package/dist/index.modern.js.map +1 -1
- package/package.json +94 -93
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import "react-datepicker/dist/react-datepicker.css";
|
|
2
3
|
import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
|
|
3
4
|
declare const SelectFilter: ({ studentUserId, studentId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters, btnStyle, filter, teacherUserId, changeCurrentTeacherUserId }: PROPS_FILTERS_COMPONENT) => JSX.Element;
|
|
4
5
|
export default SelectFilter;
|
|
@@ -8,6 +8,9 @@ interface IProps {
|
|
|
8
8
|
onChangeChart: (type: TYPECHART) => void;
|
|
9
9
|
isOpen: boolean;
|
|
10
10
|
options?: IChartOptions[];
|
|
11
|
+
contentTooltip?: string;
|
|
12
|
+
index: number;
|
|
13
|
+
onClickOptions?: () => void;
|
|
11
14
|
}
|
|
12
15
|
declare const HeaderChart: FC<IProps>;
|
|
13
16
|
export default HeaderChart;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DashboardFilter } from "../configs/types";
|
|
3
|
+
interface PropsType {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClosed: () => void;
|
|
6
|
+
filter: any;
|
|
7
|
+
data: any;
|
|
8
|
+
getData: () => void;
|
|
9
|
+
changeFilter: (updatedFilter: any) => void;
|
|
10
|
+
filterDashboard: DashboardFilter;
|
|
11
|
+
}
|
|
12
|
+
declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter, filterDashboard }: PropsType) => JSX.Element;
|
|
13
|
+
export default LearningStrategiesTable;
|
|
@@ -97,7 +97,7 @@ export declare const studentByGradeConvert: (newData: IStudentByGrade[]) => {
|
|
|
97
97
|
}[];
|
|
98
98
|
export declare const findTotalStudentByGrade: (data: IStudentByGrade[]) => number;
|
|
99
99
|
export declare const getConvertMinuteToHour: (timeSecond: any) => string;
|
|
100
|
-
export declare const readinesToLearnoptions: (seriesName: string[]) => ApexOptions;
|
|
100
|
+
export declare const readinesToLearnoptions: (seriesName: string[], data: any) => ApexOptions;
|
|
101
101
|
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
|
|
102
102
|
name: string;
|
|
103
103
|
data: import("react").ReactText[][];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -2,7 +2,17 @@ import React from "react";
|
|
|
2
2
|
import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
|
|
3
3
|
import { TYPECHART } from "../configs/types";
|
|
4
4
|
declare const useChartDatas: () => {
|
|
5
|
-
chartDashBoards: {
|
|
5
|
+
chartDashBoards: ({
|
|
6
|
+
chartIndex: number;
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
children: (_: TYPECHART) => JSX.Element;
|
|
10
|
+
isShowChangeChart: boolean;
|
|
11
|
+
options: never[];
|
|
12
|
+
contentTooltip: string;
|
|
13
|
+
handleClickOpenTable: () => void;
|
|
14
|
+
} | {
|
|
15
|
+
chartIndex: number;
|
|
6
16
|
id: string;
|
|
7
17
|
label: string;
|
|
8
18
|
children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
|
|
@@ -11,7 +21,9 @@ declare const useChartDatas: () => {
|
|
|
11
21
|
label: string;
|
|
12
22
|
value: TYPECHART;
|
|
13
23
|
}[];
|
|
14
|
-
|
|
24
|
+
contentTooltip: string;
|
|
25
|
+
handleClickOpenTable?: undefined;
|
|
26
|
+
})[];
|
|
15
27
|
user: any;
|
|
16
28
|
filter: import("../configs/types").DashboardFilter;
|
|
17
29
|
LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
|
|
@@ -54,5 +66,11 @@ declare const useChartDatas: () => {
|
|
|
54
66
|
dataConvertedSafety: string[];
|
|
55
67
|
activeColumnSafety: boolean[];
|
|
56
68
|
avgSafety: number[];
|
|
69
|
+
learningStrategiesData: any;
|
|
70
|
+
openLearningStrategiesTable: boolean;
|
|
71
|
+
handleOpenCloseLearningStrategiesTable: () => void;
|
|
72
|
+
filterLearningStrategiesTable: any;
|
|
73
|
+
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
74
|
+
getLearningStrategiesTableData: () => Promise<void>;
|
|
57
75
|
};
|
|
58
76
|
export default useChartDatas;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -53,5 +53,11 @@ declare const useDashboard: () => {
|
|
|
53
53
|
dataConvertedSafety: string[];
|
|
54
54
|
monthsSafety: string[];
|
|
55
55
|
activeColumnSafety: boolean[];
|
|
56
|
+
learningStrategiesData: any;
|
|
57
|
+
openLearningStrategiesTable: boolean;
|
|
58
|
+
handleOpenCloseLearningStrategiesTable: () => void;
|
|
59
|
+
filterLearningStrategiesTable: any;
|
|
60
|
+
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
61
|
+
getLearningStrategiesTableData: () => Promise<void>;
|
|
56
62
|
};
|
|
57
63
|
export default useDashboard;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/IEPTemplate/configs/constants.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const blockItems: ({
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
category: string;
|
|
5
|
+
media: string;
|
|
6
|
+
activate: boolean;
|
|
7
|
+
content: {
|
|
8
|
+
type: string;
|
|
9
|
+
content: string;
|
|
10
|
+
style: {
|
|
11
|
+
padding: string;
|
|
12
|
+
color?: undefined;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
attributes?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
category: string;
|
|
20
|
+
media: string;
|
|
21
|
+
activate: boolean;
|
|
22
|
+
content: {
|
|
23
|
+
type: string;
|
|
24
|
+
content: string;
|
|
25
|
+
style: {
|
|
26
|
+
color: string;
|
|
27
|
+
padding?: undefined;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
attributes?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
id: string;
|
|
33
|
+
label: string;
|
|
34
|
+
category: string;
|
|
35
|
+
media: string;
|
|
36
|
+
activate: boolean;
|
|
37
|
+
content: {
|
|
38
|
+
type: string;
|
|
39
|
+
content?: undefined;
|
|
40
|
+
style?: undefined;
|
|
41
|
+
};
|
|
42
|
+
attributes?: undefined;
|
|
43
|
+
} | {
|
|
44
|
+
id: string;
|
|
45
|
+
label: string;
|
|
46
|
+
attributes: {
|
|
47
|
+
class: string;
|
|
48
|
+
};
|
|
49
|
+
content: string;
|
|
50
|
+
category?: undefined;
|
|
51
|
+
media?: undefined;
|
|
52
|
+
activate?: undefined;
|
|
53
|
+
})[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import "grapesjs/dist/css/grapes.min.css";
|
|
3
|
+
import "grapesjs/dist/grapes.min.js";
|
|
4
|
+
import "grapesjs-preset-webpage/dist/grapesjs-preset-webpage.min.css";
|
|
5
|
+
import "grapesjs-preset-webpage/dist/grapesjs-preset-webpage.min.js";
|
|
6
|
+
declare const IEPTemplateBuilder: FC;
|
|
7
|
+
export default IEPTemplateBuilder;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type questionCateDetail = {
|
|
3
|
+
name: string;
|
|
4
|
+
questionIds?: number[];
|
|
5
|
+
};
|
|
6
|
+
declare type TemplateQuestion = {
|
|
7
|
+
id: number;
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
declare const useTemplateCateDetail: () => {
|
|
11
|
+
id: number;
|
|
12
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
13
|
+
questionCateDetail: questionCateDetail;
|
|
14
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
15
|
+
initValue: questionCateDetail;
|
|
16
|
+
reset: () => void;
|
|
17
|
+
edited: boolean;
|
|
18
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
19
|
+
setEditedTrue: () => Promise<void>;
|
|
20
|
+
setEditedFalse: () => Promise<void>;
|
|
21
|
+
categoryId: number;
|
|
22
|
+
setCategoryId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
23
|
+
questionSelectorValue: {
|
|
24
|
+
id: number;
|
|
25
|
+
value: number;
|
|
26
|
+
label: string;
|
|
27
|
+
text: string;
|
|
28
|
+
} | null;
|
|
29
|
+
setTemporaryQuestion: import("react").Dispatch<import("react").SetStateAction<TemplateQuestion | null>>;
|
|
30
|
+
addQuestion: () => void;
|
|
31
|
+
listQuestions: TemplateQuestion[];
|
|
32
|
+
setListQuestions: import("react").Dispatch<import("react").SetStateAction<TemplateQuestion[]>>;
|
|
33
|
+
removeQuestion: (questionId: number) => void;
|
|
34
|
+
};
|
|
35
|
+
export default useTemplateCateDetail;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const useTemplateCateList: () => {
|
|
2
|
+
questionCateList: any;
|
|
3
|
+
totalItems: any;
|
|
4
|
+
filters: import("mario-core").Filter;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
getData: () => Promise<void>;
|
|
7
|
+
removeData: (id: number) => void;
|
|
8
|
+
};
|
|
9
|
+
export default useTemplateCateList;
|
|
@@ -29,4 +29,5 @@ 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
|
+
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 };
|
|
@@ -18,3 +18,4 @@ export declare const getStudentByAge: (filter: any) => Promise<import("axios").A
|
|
|
18
18
|
export declare const getStudentByGender: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
19
19
|
export declare const getGrades: (studentUserId: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
20
20
|
export declare const getBandScore: () => Promise<import("axios").AxiosResponse<any>>;
|
|
21
|
+
export declare const getLearningStrategiesTableApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -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>>;
|
|
@@ -7,10 +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 = "
|
|
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"
|
|
16
18
|
}
|