mario-education 2.4.27-admin → 2.4.28-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/containers/Dashboard/components/ColumnChartAndPercent.d.ts +8 -6
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAgeAndGender.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +1 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +8 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +29 -1
- package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +4 -0
- package/dist/index.css +252 -133
- package/dist/index.js +1224 -87
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1224 -87
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { TYPECHART } from "../configs/types";
|
|
3
|
+
import { ISeries } from "../../../utils/type";
|
|
3
4
|
export interface IProps {
|
|
4
|
-
data:
|
|
5
|
+
data: any;
|
|
5
6
|
id: string;
|
|
6
7
|
typeChart?: TYPECHART;
|
|
7
8
|
isHasLineChart?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
onActiveColumn: Function;
|
|
10
|
+
activeColumn: boolean[];
|
|
11
|
+
series: ISeries[];
|
|
12
|
+
avg: number[];
|
|
13
|
+
months: any;
|
|
12
14
|
}
|
|
13
15
|
declare const _default: React.NamedExoticComponent<IProps>;
|
|
14
16
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { IStudentByAge, IStudentByGender } from "../configs/types";
|
|
|
3
3
|
interface IProps {
|
|
4
4
|
studentByAgeData: IStudentByAge;
|
|
5
5
|
studentByGenderData: IStudentByGender;
|
|
6
|
+
columnFlex?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const _default: React.NamedExoticComponent<IProps>;
|
|
8
9
|
export default _default;
|
|
@@ -56,9 +56,6 @@ export declare const pieChartOptions: {
|
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
chart: {
|
|
60
|
-
offsetY: number;
|
|
61
|
-
};
|
|
62
59
|
dataLabels: {
|
|
63
60
|
enabled: boolean;
|
|
64
61
|
};
|
|
@@ -107,7 +104,7 @@ export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearnin
|
|
|
107
104
|
}[];
|
|
108
105
|
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean) => ApexOptions;
|
|
109
106
|
export declare const optionLineChart: (months: string[], activeData: boolean[]) => ApexOptions;
|
|
110
|
-
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[]) => ApexOptions;
|
|
107
|
+
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any) => ApexOptions;
|
|
111
108
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
112
109
|
export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
|
|
113
110
|
name: string;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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
6
|
id: string;
|
|
7
7
|
label: string;
|
|
8
8
|
children: (typeChart: TYPECHART) => JSX.Element;
|
|
@@ -11,7 +11,13 @@ declare const useChartDatas: () => {
|
|
|
11
11
|
label: string;
|
|
12
12
|
value: TYPECHART;
|
|
13
13
|
}[];
|
|
14
|
-
}
|
|
14
|
+
} | {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
children: (_: TYPECHART, columnFlex?: boolean | undefined) => JSX.Element;
|
|
18
|
+
isShowChangeChart: boolean;
|
|
19
|
+
options: never[];
|
|
20
|
+
})[];
|
|
15
21
|
user: any;
|
|
16
22
|
filter: import("../configs/types").DashboardFilter;
|
|
17
23
|
LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IColumnChartAndPercent, IStudentByAge, IStudentByGender, IDashboardToTalStudent } from "../configs/types";
|
|
3
|
-
import { IFilter, Student } from "../../../utils/type";
|
|
3
|
+
import { IFilter, Student, ISeries } from "../../../utils/type";
|
|
4
4
|
declare const useDashboard: () => {
|
|
5
5
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
6
6
|
filter: DashboardFilter;
|
|
@@ -29,6 +29,34 @@ declare const useDashboard: () => {
|
|
|
29
29
|
setGenderOfStudent: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
30
30
|
handleFilterStudent: (option: any) => void;
|
|
31
31
|
handleFilterTeacher: (option: any) => void;
|
|
32
|
+
handleSelectToPrint: (checked: boolean, data: any, chartType: any) => void;
|
|
33
|
+
checkSelectedItem: (id: string) => boolean;
|
|
34
|
+
selectedToPrint: any;
|
|
35
|
+
setSelectedToPrint: import("react").Dispatch<any>;
|
|
32
36
|
onChangeFilters: (filterSelect: IFilter) => void;
|
|
37
|
+
handleActiveColumnOneToOne: (index: any) => void;
|
|
38
|
+
seriesOneToOne: ISeries[];
|
|
39
|
+
avgOneToOne: number[];
|
|
40
|
+
dataConvertedOneToOne: string[];
|
|
41
|
+
monthsOneToOne: string[];
|
|
42
|
+
activeColumnOneToOne: boolean[];
|
|
43
|
+
handleActiveColumnClassReflection: (index: any) => void;
|
|
44
|
+
seriesClassRefection: ISeries[];
|
|
45
|
+
avgClassReflection: number[];
|
|
46
|
+
dataConvertedClassReflection: string[];
|
|
47
|
+
monthsClassReflection: string[];
|
|
48
|
+
activeColumnClassReflection: boolean[];
|
|
49
|
+
handleActiveColumnConference: (index: number) => void;
|
|
50
|
+
seriesConference: ISeries[];
|
|
51
|
+
avgConference: number[];
|
|
52
|
+
dataConvertedConference: string[];
|
|
53
|
+
monthsConference: string[];
|
|
54
|
+
activeColumnConference: boolean[];
|
|
55
|
+
handleActiveColumnSafety: (index: number) => void;
|
|
56
|
+
seriesSafety: ISeries[];
|
|
57
|
+
avgSafety: number[];
|
|
58
|
+
dataConvertedSafety: string[];
|
|
59
|
+
monthsSafety: string[];
|
|
60
|
+
activeColumnSafety: boolean[];
|
|
33
61
|
};
|
|
34
62
|
export default useDashboard;
|