mario-education 2.4.320-release → 2.4.321-release
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/components/layouts/hooks/useHeaderSideBar.d.ts +1 -1
- package/dist/containers/ConductSurvey/components/diaglog/hooks/useInterventionDialog.d.ts +1 -1
- package/dist/containers/Dashboard/components/ColumnChartAndPercent.d.ts +1 -2
- package/dist/containers/Dashboard/configs/types.d.ts +1 -1
- package/dist/containers/Dashboard/configs/utils.d.ts +1 -1
- package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +5 -5
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +2 -2
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +3 -1
- package/dist/containers/SurveyDashboard/configs/chartOptions.d.ts +1 -1
- package/dist/containers/SurveyDashboard/configs/overviewFn.d.ts +3 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +1 -4
- package/dist/containers/SurveyDashboard/configs/utils.d.ts +3 -1
- package/dist/containers/SurveyDashboard/hooks/useChartDatas.d.ts +3 -3
- package/dist/containers/SurveyDashboard/hooks/useDashboard.d.ts +2 -1
- package/dist/index.js +170 -357
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +170 -357
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/type.d.ts +0 -4
- package/package.json +1 -1
|
@@ -27,6 +27,6 @@ declare const useHeaderSideBar: (_navigations: any) => {
|
|
|
27
27
|
handleClose: () => void;
|
|
28
28
|
renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
|
|
29
29
|
goToSettings: () => void;
|
|
30
|
-
t:
|
|
30
|
+
t: any;
|
|
31
31
|
};
|
|
32
32
|
export default useHeaderSideBar;
|
|
@@ -15,7 +15,7 @@ interface Props {
|
|
|
15
15
|
onSubmit?: Function;
|
|
16
16
|
}
|
|
17
17
|
declare const useInterventionDialog: (props: Props) => {
|
|
18
|
-
t:
|
|
18
|
+
t: any;
|
|
19
19
|
intervention: INTERVENTION | undefined;
|
|
20
20
|
interventionLog: INTERVENTION_LOG;
|
|
21
21
|
answerType: string | null;
|
|
@@ -122,7 +122,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
|
|
|
122
122
|
type: string;
|
|
123
123
|
name: string;
|
|
124
124
|
data: number[];
|
|
125
|
-
questionTranslation
|
|
125
|
+
questionTranslation?: string | undefined;
|
|
126
126
|
}[];
|
|
127
127
|
export declare const getLastQuarterRange: () => {
|
|
128
128
|
start: number;
|
|
@@ -27,14 +27,14 @@ declare const useChartDatas: () => {
|
|
|
27
27
|
topLearningStrategies: import("../configs/types").IlearningStrategies;
|
|
28
28
|
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
29
29
|
activeColumnSuccessIndicators: boolean[];
|
|
30
|
-
successIndicatorsData: import("
|
|
30
|
+
successIndicatorsData: import("../configs/types").ISeries[];
|
|
31
31
|
monthsOneToOne: string[];
|
|
32
32
|
dayOfWeekOneToOne: string[];
|
|
33
33
|
activeColumnPreparedness: boolean[];
|
|
34
|
-
preparednessData: import("
|
|
35
|
-
safetyData: import("
|
|
36
|
-
stressData: import("
|
|
37
|
-
seriesConference: import("
|
|
34
|
+
preparednessData: import("../configs/types").ISeries[];
|
|
35
|
+
safetyData: import("../configs/types").ISeries[];
|
|
36
|
+
stressData: import("../configs/types").ISeries[];
|
|
37
|
+
seriesConference: import("../configs/types").ISeries[];
|
|
38
38
|
avgConferenceLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
|
|
39
39
|
monthsConference: string[];
|
|
40
40
|
dayOfWeekConference: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox } from "../configs/types";
|
|
3
|
-
import { IFilter, Student
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries } from "../configs/types";
|
|
3
|
+
import { IFilter, Student } from "../../../utils/type";
|
|
4
4
|
declare const useDashboard: () => {
|
|
5
5
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
6
6
|
filter: DashboardFilter;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ApexOptions } from "apexcharts";
|
|
3
|
-
import { IOverviewQuestionChoice, IReadinessToLearning
|
|
3
|
+
import { IOverviewQuestionChoice, IReadinessToLearning } from "../types/types";
|
|
4
|
+
import { ISeries } from "../../../../../Dashboard/configs/types";
|
|
4
5
|
export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
|
|
5
6
|
export declare const average: (arr: number[]) => number;
|
|
6
7
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
@@ -16,6 +17,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
|
|
|
16
17
|
type: string;
|
|
17
18
|
name: string;
|
|
18
19
|
data: number[];
|
|
20
|
+
questionTranslation?: string | undefined;
|
|
19
21
|
}[];
|
|
20
22
|
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any, dayOfWeek?: string[] | undefined) => ApexOptions;
|
|
21
23
|
export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek?: string[] | undefined, isCountSeries?: boolean | undefined) => ApexOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApexOptions } from "apexcharts";
|
|
2
2
|
import { ISeries } from "./types";
|
|
3
3
|
export declare const maxSeries: (series: ISeries[]) => number;
|
|
4
|
-
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, isShowChartLabel?: boolean | undefined, percentData?: boolean | undefined, series?:
|
|
4
|
+
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, isShowChartLabel?: boolean | undefined, percentData?: boolean | undefined, series?: any[] | undefined) => ApexOptions;
|
|
5
5
|
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any) => ApexOptions;
|
|
6
6
|
export declare const pieChartOptions: ApexOptions;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ISeries } from "../../Dashboard/configs/types";
|
|
2
|
+
import { DASHBOARD_TEMPLATE, TOTAL_DASHBOAD_SURVEY } from "./types";
|
|
2
3
|
export declare const handleViewSeriesActive: (active: boolean[]) => number[];
|
|
3
4
|
export declare const convertDataToDataChart: (data: DASHBOARD_TEMPLATE[]) => string[];
|
|
4
5
|
export declare const convertToSeriesTemplate: (data: DASHBOARD_TEMPLATE[], exact?: boolean | undefined) => {
|
|
@@ -13,5 +14,6 @@ export declare const mergeBarChartAndArea: (series: ISeries[]) => {
|
|
|
13
14
|
type: string;
|
|
14
15
|
name: string;
|
|
15
16
|
data: number[];
|
|
17
|
+
questionTranslation?: string | undefined;
|
|
16
18
|
}[];
|
|
17
19
|
export declare const convertToAvg: (dataCharts: string[], data: DASHBOARD_TEMPLATE[], months: string[]) => number[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ISeries } from "../../Dashboard/configs/types";
|
|
1
2
|
import { QuestionType } from "./constants";
|
|
2
3
|
import { QUESTION_ADDITIONAL } from "./questionModelType";
|
|
3
4
|
export declare type LoginCountingReport = {
|
|
@@ -129,10 +130,6 @@ export interface IStudentByGrade {
|
|
|
129
130
|
quantity: number;
|
|
130
131
|
designationsQuantity: IDesignationsQuantity[];
|
|
131
132
|
}
|
|
132
|
-
export interface ISeries {
|
|
133
|
-
name: string;
|
|
134
|
-
data: number[];
|
|
135
|
-
}
|
|
136
133
|
export interface ITopMostSurveyUsed {
|
|
137
134
|
nameSurvey: string;
|
|
138
135
|
sendDateSurvey: Date;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ApexOptions } from "apexcharts";
|
|
3
3
|
import { IOptionSelector } from "../../../components/Select/InputSelector";
|
|
4
|
-
import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning,
|
|
4
|
+
import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
|
|
5
|
+
import { ISeries } from "../../Dashboard/configs/types";
|
|
5
6
|
export declare const getColors: (length: number) => string[];
|
|
6
7
|
export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
|
|
7
8
|
id: number;
|
|
@@ -116,6 +117,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
|
|
|
116
117
|
type: string;
|
|
117
118
|
name: string;
|
|
118
119
|
data: number[];
|
|
120
|
+
questionTranslation?: string | undefined;
|
|
119
121
|
}[];
|
|
120
122
|
export declare const getLastQuarterRange: () => {
|
|
121
123
|
start: number;
|
|
@@ -25,7 +25,7 @@ declare const useChartDatas: () => {
|
|
|
25
25
|
checkSelectedItem: (id: string) => boolean;
|
|
26
26
|
selectedToPrint: any;
|
|
27
27
|
setSelectedToPrint: import("react").Dispatch<any>;
|
|
28
|
-
surveyFlagData: import("
|
|
28
|
+
surveyFlagData: import("../../Dashboard/configs/types").ISeries[];
|
|
29
29
|
avgResult: number[];
|
|
30
30
|
activeColumnResult: boolean[];
|
|
31
31
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -35,8 +35,8 @@ declare const useChartDatas: () => {
|
|
|
35
35
|
avgTotal: number[];
|
|
36
36
|
dayOfWeekResult: string[];
|
|
37
37
|
genderOfStudent: string;
|
|
38
|
-
seriesTotal: import("
|
|
39
|
-
seriesResult: import("
|
|
38
|
+
seriesTotal: import("../../Dashboard/configs/types").ISeries[];
|
|
39
|
+
seriesResult: import("../../Dashboard/configs/types").ISeries[];
|
|
40
40
|
monthsSeriesResult: string[];
|
|
41
41
|
monthsSeriesTotal: string[];
|
|
42
42
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IStudentByGrade, IDashboardToTalSurvey
|
|
2
|
+
import { DashboardFilter, IStudentByGrade, IDashboardToTalSurvey } from "../configs/types";
|
|
3
3
|
import { IFilter, Student } from "../../../utils/type";
|
|
4
|
+
import { ISeries } from "../../Dashboard/configs/types";
|
|
4
5
|
declare const useDashboard: () => {
|
|
5
6
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
6
7
|
filter: DashboardFilter;
|