mario-education 2.4.57-admin → 2.4.58-admin
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/Select/SelectFilter.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LearningStrategiesTable.d.ts +11 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +17 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +6 -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/services/dashboardService.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
- package/dist/index.css +16 -1
- package/dist/index.js +372 -130
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +372 -130
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/components/Loading/LoadLanguage.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
|
|
3
2
|
import "react-datepicker/dist/react-datepicker.css";
|
|
3
|
+
import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
|
|
4
4
|
declare const SelectFilter: ({ studentUserId, studentId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters, btnStyle, filter, teacherUserId, changeCurrentTeacherUserId }: PROPS_FILTERS_COMPONENT) => JSX.Element;
|
|
5
5
|
export default SelectFilter;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PropsType {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClosed: () => void;
|
|
5
|
+
filter: any;
|
|
6
|
+
data: any;
|
|
7
|
+
getData: () => void;
|
|
8
|
+
changeFilter: (updatedFilter: any) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter }: PropsType) => JSX.Element;
|
|
11
|
+
export default LearningStrategiesTable;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -2,7 +2,15 @@ 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
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
children: (_: TYPECHART) => JSX.Element;
|
|
9
|
+
isShowChangeChart: boolean;
|
|
10
|
+
options: never[];
|
|
11
|
+
contentTooltip: string;
|
|
12
|
+
handleClickOpenTable: () => void;
|
|
13
|
+
} | {
|
|
6
14
|
id: string;
|
|
7
15
|
label: string;
|
|
8
16
|
children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
|
|
@@ -12,7 +20,8 @@ declare const useChartDatas: () => {
|
|
|
12
20
|
value: TYPECHART;
|
|
13
21
|
}[];
|
|
14
22
|
contentTooltip: string;
|
|
15
|
-
|
|
23
|
+
handleClickOpenTable?: undefined;
|
|
24
|
+
})[];
|
|
16
25
|
user: any;
|
|
17
26
|
filter: import("../configs/types").DashboardFilter;
|
|
18
27
|
LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
|
|
@@ -55,5 +64,11 @@ declare const useChartDatas: () => {
|
|
|
55
64
|
dataConvertedSafety: string[];
|
|
56
65
|
activeColumnSafety: boolean[];
|
|
57
66
|
avgSafety: number[];
|
|
67
|
+
learningStrategiesData: any;
|
|
68
|
+
openLearningStrategiesTable: boolean;
|
|
69
|
+
handleOpenCloseLearningStrategiesTable: () => void;
|
|
70
|
+
filterLearningStrategiesTable: any;
|
|
71
|
+
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
72
|
+
getLearningStrategiesTableData: () => Promise<void>;
|
|
58
73
|
};
|
|
59
74
|
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;
|
|
@@ -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;
|
|
@@ -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>>;
|
|
File without changes
|
package/dist/index.css
CHANGED
|
@@ -183,6 +183,17 @@ tbody._b-AXV tr {
|
|
|
183
183
|
._I8kqz {
|
|
184
184
|
position: absolute;
|
|
185
185
|
z-index: 999;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
._3xuSa {
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
._15ep6 {
|
|
194
|
+
display: flex;
|
|
195
|
+
width: 40%;
|
|
196
|
+
padding-bottom: 10px;
|
|
186
197
|
}
|
|
187
198
|
._3DVMZ {
|
|
188
199
|
display: flex;
|
|
@@ -526,7 +537,11 @@ h6._3zOGW {
|
|
|
526
537
|
font-size: 16px;
|
|
527
538
|
}
|
|
528
539
|
|
|
529
|
-
.
|
|
540
|
+
._11Xjn {
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
._2vtSi ._2htKu {
|
|
530
545
|
cursor: pointer;
|
|
531
546
|
}
|
|
532
547
|
|