mario-education 2.4.141-iep → 2.4.142-level
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/AreaChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LineChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +16 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +47 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +8 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts +1 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +17 -55
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +14 -46
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useChartDatas.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useDashboard.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/academicYearService.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +3 -1
- package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +5 -0
- package/dist/index.css +1124 -9
- package/dist/index.js +3445 -3642
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3468 -3666
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare const GRAGE_DEFAULT: string[];
|
|
|
20
20
|
export declare const INITIAl_COLUNM_CHART_AND_PERCENT: {
|
|
21
21
|
overviewQuestionChoice: never[];
|
|
22
22
|
type: string;
|
|
23
|
+
overViewQuestionLastMonth: never[];
|
|
23
24
|
};
|
|
24
25
|
export declare const INITIAL_AGE_OF_STUDENT: IStudentByAge;
|
|
25
26
|
export declare const LABEL_NAME_PIE_CHART: string[];
|
|
@@ -49,4 +50,19 @@ export declare const CALENDAR_OPTIONS: {
|
|
|
49
50
|
label: string;
|
|
50
51
|
startDate: number;
|
|
51
52
|
endDate: number;
|
|
53
|
+
value: string;
|
|
52
54
|
}[];
|
|
55
|
+
export declare const heightChartDefault = 250;
|
|
56
|
+
export declare const PREPAREDNESS_QUESTION: string[];
|
|
57
|
+
export declare const SUCCESS_INDICATORS_QUESTION: string[];
|
|
58
|
+
export declare const SAFETY_QUESTION = "safety";
|
|
59
|
+
export declare const STRESS_QUESTION = "stress";
|
|
60
|
+
export declare const readinessToLearnName = "readiness_to_learn";
|
|
61
|
+
export declare const preparednessChartName = "Preparedness";
|
|
62
|
+
export declare const averageStudentSafetyName = "average_student_safety";
|
|
63
|
+
export declare const averageStudentStressName = "average_student_stress";
|
|
64
|
+
export declare const successIndicatorsName = "success_indicators";
|
|
65
|
+
export declare const learningProcessName = "learning_process";
|
|
66
|
+
export declare const topLearningStrategyName = "top_learning_strategies";
|
|
67
|
+
export declare const topMostUsedStrategiesName = "top_5_most_used_strategies";
|
|
68
|
+
export declare const chartNames: string[];
|
|
@@ -71,6 +71,9 @@ export declare type DashboardFilter = {
|
|
|
71
71
|
teacherUserId?: string;
|
|
72
72
|
studentUserId?: string;
|
|
73
73
|
bandScore: string;
|
|
74
|
+
optionDate?: string;
|
|
75
|
+
favoriteSurvey?: number[];
|
|
76
|
+
academicYearId?: any;
|
|
74
77
|
};
|
|
75
78
|
export interface ICircleChartItem {
|
|
76
79
|
id: number;
|
|
@@ -118,13 +121,13 @@ export interface ISeries {
|
|
|
118
121
|
name: string;
|
|
119
122
|
data: number[];
|
|
120
123
|
}
|
|
121
|
-
export interface
|
|
124
|
+
export interface ILearningItem {
|
|
122
125
|
learningStrategyName: string;
|
|
123
126
|
usageCount: number;
|
|
124
127
|
usagePoint: number[];
|
|
125
128
|
}
|
|
126
129
|
export interface IlearningStrategies {
|
|
127
|
-
learningStrategies:
|
|
130
|
+
learningStrategies: ILearningItem[];
|
|
128
131
|
}
|
|
129
132
|
export interface IStudentPercentQuestion {
|
|
130
133
|
percentQuestion: number;
|
|
@@ -162,6 +165,7 @@ export interface IOverviewQuestionChoice {
|
|
|
162
165
|
export interface IColumnChartAndPercent {
|
|
163
166
|
overviewQuestionChoice: IOverviewQuestionChoice[];
|
|
164
167
|
type: string;
|
|
168
|
+
overViewQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
165
169
|
}
|
|
166
170
|
export interface IAgeOfStudent {
|
|
167
171
|
nineToTwelve: number;
|
|
@@ -226,6 +230,8 @@ export interface ILabelBox {
|
|
|
226
230
|
gender: IGenderLabelBox;
|
|
227
231
|
grade: number;
|
|
228
232
|
bandScore: number;
|
|
233
|
+
favoriteSurvey?: number;
|
|
234
|
+
academicYearId: number;
|
|
229
235
|
}
|
|
230
236
|
export declare enum TYPECHART {
|
|
231
237
|
AREA = 0,
|
|
@@ -237,4 +243,43 @@ export interface IChartOptions {
|
|
|
237
243
|
value: TYPECHART;
|
|
238
244
|
label: string;
|
|
239
245
|
}
|
|
246
|
+
export interface IQuestionResponseLastMonth {
|
|
247
|
+
avgQuestionResponse: number;
|
|
248
|
+
avgQuestionResponseLastMonth: number;
|
|
249
|
+
questionId: number;
|
|
250
|
+
questionText: string;
|
|
251
|
+
}
|
|
252
|
+
export interface IGenerateChart {
|
|
253
|
+
typeChart: TYPECHART;
|
|
254
|
+
timeOfDay?: string;
|
|
255
|
+
onActiveColumn?: Function;
|
|
256
|
+
activeColumn: boolean[];
|
|
257
|
+
series: ISeries[];
|
|
258
|
+
months: string[];
|
|
259
|
+
name?: string;
|
|
260
|
+
dayOfWeek: string[];
|
|
261
|
+
colors: string[];
|
|
262
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
263
|
+
isShowExpandIcon?: boolean;
|
|
264
|
+
onExpand?: Function;
|
|
265
|
+
}
|
|
266
|
+
export interface IDashboardToPDF {
|
|
267
|
+
startTime: number | undefined;
|
|
268
|
+
endTime: number | undefined;
|
|
269
|
+
timeOfDay?: string;
|
|
270
|
+
activeColumnPreparedness: boolean[];
|
|
271
|
+
activeColumnSuccessIndicators: boolean[];
|
|
272
|
+
safetyData: ISeries[];
|
|
273
|
+
stressData: ISeries[];
|
|
274
|
+
preparednessData: ISeries[];
|
|
275
|
+
successIndicatorsData: ISeries[];
|
|
276
|
+
seriesLearningProgress: ISeries[];
|
|
277
|
+
monthsOneToOne: string[];
|
|
278
|
+
dayOfWeekOneToOne: string[];
|
|
279
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
280
|
+
dayOfWeekLearningProgress: string[];
|
|
281
|
+
monthsLearningProgress: string[];
|
|
282
|
+
topLearningStrategiesData: IlearningStrategies;
|
|
283
|
+
selectedToPDF: string[];
|
|
284
|
+
}
|
|
240
285
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare const mtssOptions: {
|
|
|
28
28
|
value: MtssType;
|
|
29
29
|
label: string;
|
|
30
30
|
}[];
|
|
31
|
-
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[],
|
|
31
|
+
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], isDonutChart?: boolean | undefined) => ApexOptions;
|
|
32
32
|
export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
|
|
33
33
|
export declare const optionsChartGrade: (maxDatas: number) => ApexOptions;
|
|
34
34
|
export declare const studentBySpecialNeedOptions: (seriesValue: IseriesChart, colors: string[]) => ApexOptions;
|
|
@@ -102,14 +102,18 @@ export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearnin
|
|
|
102
102
|
name: string;
|
|
103
103
|
data: import("react").ReactText[][];
|
|
104
104
|
}[];
|
|
105
|
-
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, dayOfWeek: string[]) => ApexOptions;
|
|
106
|
-
export declare const optionLineChart: (months: string[], activeData: boolean[], dayOfWeek: string[]) => ApexOptions;
|
|
105
|
+
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], dayOfWeek: string[]) => ApexOptions;
|
|
106
|
+
export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek: string[]) => ApexOptions;
|
|
107
107
|
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], dayOfWeek: string[], newseries?: any) => ApexOptions;
|
|
108
108
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
109
109
|
export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
|
|
110
110
|
name: string;
|
|
111
111
|
data: number[];
|
|
112
112
|
}[];
|
|
113
|
+
export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
|
|
114
|
+
name: string;
|
|
115
|
+
data: number[];
|
|
116
|
+
}[];
|
|
113
117
|
export declare const convertToAvg: (dataCharts: string[], data: IOverviewQuestionChoice[], months: string[]) => number[];
|
|
114
118
|
export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
|
|
115
119
|
export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: boolean) => {
|
|
@@ -127,3 +131,4 @@ export declare const filterYearData: {
|
|
|
127
131
|
startDate: number;
|
|
128
132
|
endDate: number;
|
|
129
133
|
}[];
|
|
134
|
+
export declare const handleAveraged: (points: number[]) => number;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
declare const useBehavior: (initialTypeChart: TYPECHART[]) => {
|
|
1
|
+
declare const useBehavior: () => {
|
|
3
2
|
chartIsOpened: boolean[];
|
|
4
3
|
onToggle: (idx: number) => void;
|
|
5
|
-
onChangeChart: (idx: number, type: TYPECHART, options?: IChartOptions[] | undefined) => void;
|
|
6
|
-
typeChartList: TYPECHART[];
|
|
7
4
|
teacherUserId: string;
|
|
8
5
|
changeCurrentTeacherUserId: (userId: string) => void;
|
|
9
6
|
};
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
|
|
3
|
-
import { TYPECHART } from "../configs/types";
|
|
4
3
|
declare const useChartDatas: () => {
|
|
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;
|
|
16
|
-
id: string;
|
|
17
|
-
label: string;
|
|
18
|
-
children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
|
|
19
|
-
isShowChangeChart: boolean;
|
|
20
|
-
options: {
|
|
21
|
-
label: string;
|
|
22
|
-
value: TYPECHART;
|
|
23
|
-
}[];
|
|
24
|
-
contentTooltip: string;
|
|
25
|
-
handleClickOpenTable?: undefined;
|
|
26
|
-
})[];
|
|
27
4
|
user: any;
|
|
28
5
|
filter: import("../configs/types").DashboardFilter;
|
|
29
6
|
LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
|
|
@@ -44,37 +21,22 @@ declare const useChartDatas: () => {
|
|
|
44
21
|
filter: string;
|
|
45
22
|
})[];
|
|
46
23
|
onChangeFilters: (filterSelect: import("../../../utils/type").IFilter) => void;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
selectedToPrint: any;
|
|
51
|
-
setSelectedToPrint: React.Dispatch<any>;
|
|
52
|
-
chartOneToOneData: import("../configs/types").IColumnChartAndPercent;
|
|
53
|
-
chartCheckInData: import("../configs/types").IColumnChartAndPercent;
|
|
24
|
+
handleSelectToPrint: (chartName: string) => void;
|
|
25
|
+
selectedToPrint: string[];
|
|
26
|
+
setSelectedToPrint: import("react").Dispatch<import("react").SetStateAction<string[]>>;
|
|
54
27
|
topLearningStrategies: import("../configs/types").IlearningStrategies;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
activeColumnConference: boolean[];
|
|
69
|
-
avgConference: number[];
|
|
70
|
-
dataConvertedSafety: string[];
|
|
71
|
-
activeColumnSafety: boolean[];
|
|
72
|
-
avgSafety: number[];
|
|
73
|
-
learningStrategiesData: any;
|
|
74
|
-
openLearningStrategiesTable: boolean;
|
|
75
|
-
handleOpenCloseLearningStrategiesTable: () => void;
|
|
76
|
-
filterLearningStrategiesTable: any;
|
|
77
|
-
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
78
|
-
getLearningStrategiesTableData: () => Promise<void>;
|
|
28
|
+
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
29
|
+
activeColumnSuccessIndicators: boolean[];
|
|
30
|
+
successIndicatorsData: import("../../../utils/type").ISeries[];
|
|
31
|
+
monthsOneToOne: string[];
|
|
32
|
+
dayOfWeekOneToOne: string[];
|
|
33
|
+
activeColumnPreparedness: boolean[];
|
|
34
|
+
preparednessData: import("../../../utils/type").ISeries[];
|
|
35
|
+
safetyData: import("../../../utils/type").ISeries[];
|
|
36
|
+
stressData: import("../../../utils/type").ISeries[];
|
|
37
|
+
seriesLearningProgress: import("../../../utils/type").ISeries[];
|
|
38
|
+
monthsLearningProgress: string[];
|
|
39
|
+
dayOfWeekLearningProgress: string[];
|
|
40
|
+
avgQuestionLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
|
|
79
41
|
};
|
|
80
42
|
export default useChartDatas;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies,
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IColumnChartAndPercent, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth } from "../configs/types";
|
|
3
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;
|
|
7
7
|
listTotalTime: IDashboardToTalStudent;
|
|
8
|
-
readinessToLearning: IReadinessToLearning[];
|
|
9
8
|
topLearningStrategies: IlearningStrategies;
|
|
10
9
|
studentByGrade: IStudentByGrade[];
|
|
11
|
-
chartOneToOneData: IColumnChartAndPercent;
|
|
12
|
-
chartCheckInData: IColumnChartAndPercent;
|
|
13
|
-
chartClassReflection: IColumnChartAndPercent;
|
|
14
|
-
chartConference: IColumnChartAndPercent;
|
|
15
10
|
learningProgress: IColumnChartAndPercent;
|
|
16
11
|
friendCircles: IsyntheticFriendCircle | undefined;
|
|
17
12
|
activityCircles: IActivityCircle | undefined;
|
|
18
13
|
studentBySpecialNeed: IStudentBySpecialNeed[];
|
|
19
14
|
studentByAge: IStudentByAge;
|
|
20
15
|
studentByGender: IStudentByGender;
|
|
21
|
-
safety: IColumnChartAndPercent;
|
|
22
|
-
topSkill: never[];
|
|
23
16
|
handleChangeFilters: (event: any) => void;
|
|
17
|
+
handleChangeAcademicYearFilters: (option: any) => void;
|
|
24
18
|
bandScore: BAND_SCORE[];
|
|
19
|
+
academicYear: any;
|
|
25
20
|
user: any;
|
|
26
21
|
studentDefault: Student | undefined;
|
|
27
22
|
setStudentDefault: import("react").Dispatch<import("react").SetStateAction<Student | undefined>>;
|
|
@@ -30,46 +25,19 @@ declare const useDashboard: () => {
|
|
|
30
25
|
handleFilterStudent: (option: any) => void;
|
|
31
26
|
handleFilterTeacher: (option: any) => void;
|
|
32
27
|
onChangeFilters: (filterSelect: IFilter) => void;
|
|
33
|
-
handleActiveColumnOneToOne: (index:
|
|
34
|
-
seriesOneToOne: ISeries[];
|
|
35
|
-
avgOneToOne: number[];
|
|
28
|
+
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
36
29
|
dataConvertedOneToOne: string[];
|
|
37
30
|
monthsOneToOne: string[];
|
|
38
|
-
activeColumnOneToOne: boolean[];
|
|
39
|
-
handleActiveColumnCheckIn: (index: any) => void;
|
|
40
|
-
seriesCheckIn: ISeries[];
|
|
41
|
-
avgCheckIn: number[];
|
|
42
|
-
dataConvertedCheckIn: string[];
|
|
43
|
-
monthsCheckIn: string[];
|
|
44
|
-
activeColumnCheckIn: boolean[];
|
|
45
|
-
handleActiveColumnClassReflection: (index: any) => void;
|
|
46
|
-
seriesClassRefection: ISeries[];
|
|
47
|
-
avgClassReflection: number[];
|
|
48
|
-
dataConvertedClassReflection: string[];
|
|
49
|
-
monthsClassReflection: string[];
|
|
50
|
-
activeColumnClassReflection: boolean[];
|
|
51
|
-
handleActiveColumnConference: (index: number) => void;
|
|
52
|
-
seriesConference: ISeries[];
|
|
53
|
-
avgConference: number[];
|
|
54
|
-
dataConvertedConference: string[];
|
|
55
|
-
monthsConference: string[];
|
|
56
|
-
activeColumnConference: boolean[];
|
|
57
|
-
handleActiveColumnSafety: (index: number) => void;
|
|
58
|
-
seriesSafety: ISeries[];
|
|
59
|
-
avgSafety: number[];
|
|
60
|
-
dataConvertedSafety: string[];
|
|
61
|
-
monthsSafety: string[];
|
|
62
|
-
activeColumnSafety: boolean[];
|
|
63
|
-
learningStrategiesData: any;
|
|
64
|
-
openLearningStrategiesTable: boolean;
|
|
65
|
-
handleOpenCloseLearningStrategiesTable: () => void;
|
|
66
|
-
filterLearningStrategiesTable: any;
|
|
67
|
-
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
68
|
-
getLearningStrategiesTableData: () => Promise<void>;
|
|
69
31
|
dayOfWeekOneToOne: string[];
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
32
|
+
stressData: ISeries[];
|
|
33
|
+
safetyData: ISeries[];
|
|
34
|
+
preparednessData: ISeries[];
|
|
35
|
+
successIndicatorsData: ISeries[];
|
|
36
|
+
activeColumnSuccessIndicators: boolean[];
|
|
37
|
+
activeColumnPreparedness: boolean[];
|
|
38
|
+
seriesLearningProgress: ISeries[];
|
|
39
|
+
monthsLearningProgress: string[];
|
|
40
|
+
dayOfWeekLearningProgress: string[];
|
|
41
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
74
42
|
};
|
|
75
43
|
export default useDashboard;
|
|
@@ -8,4 +8,5 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
|
|
|
8
8
|
export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
|
|
9
9
|
export declare const renderCategory: (params: any) => JSX.Element;
|
|
10
10
|
export declare const renderType: (params: any) => JSX.Element;
|
|
11
|
+
export declare const renderUserQuestion: (params: any) => JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -25,6 +25,7 @@ declare type QuestionDetail = {
|
|
|
25
25
|
isBeforeSession: boolean;
|
|
26
26
|
isDefaultQuestionSurvey: boolean;
|
|
27
27
|
isQuestionIntervention: boolean;
|
|
28
|
+
userForQuestion?: string;
|
|
28
29
|
};
|
|
29
30
|
declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
|
|
30
31
|
questionDetail: QuestionDetail;
|
|
@@ -34,5 +34,7 @@ declare const useChartDatas: () => {
|
|
|
34
34
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
35
35
|
typeChartList: import("../configs/constants").TYPECHART[];
|
|
36
36
|
onChangeChart: (type: import("../configs/constants").TYPECHART) => void;
|
|
37
|
+
isShowFilterMobile: boolean;
|
|
38
|
+
setIsShowFilterMobile: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
37
39
|
};
|
|
38
40
|
export default useChartDatas;
|
|
@@ -25,5 +25,7 @@ declare const useDashboard: () => {
|
|
|
25
25
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
26
26
|
typeChartList: TYPECHART[];
|
|
27
27
|
onChangeChart: (type: TYPECHART) => void;
|
|
28
|
+
isShowFilterMobile: boolean;
|
|
29
|
+
setIsShowFilterMobile: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
28
30
|
};
|
|
29
31
|
export default useDashboard;
|
|
@@ -35,4 +35,5 @@ import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuild
|
|
|
35
35
|
import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
|
|
36
36
|
import LoadLanguage from "./components/Loading/LoadLanguage";
|
|
37
37
|
import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
|
|
38
|
-
|
|
38
|
+
import SurveyDashboard from "./containers/SurveyDashboard/views/SurveyDashboard";
|
|
39
|
+
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, TemplateContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboard };
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
1
2
|
export declare const getBreakingMonth: () => Promise<import("axios").AxiosResponse<any>>;
|
|
2
3
|
export declare const updateBreakingMonth: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const get: (filters: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -19,3 +19,8 @@ export declare const getStudentByGender: (filter: any) => Promise<import("axios"
|
|
|
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
21
|
export declare const getLearningStrategiesTableApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
22
|
+
export declare const getTopMostSurveyUsed: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
23
|
+
export declare const getAllTotalSurvey: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
24
|
+
export declare const getDashboardFlagSurvey: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
25
|
+
export declare const getDashboardTemplateSurvey: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
26
|
+
export declare const getAllAcademicYearApi: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -15,6 +15,9 @@ export interface IFilter {
|
|
|
15
15
|
gender?: number[];
|
|
16
16
|
grade?: string[];
|
|
17
17
|
bandScore?: string;
|
|
18
|
+
optionDate?: string;
|
|
19
|
+
favoriteSurvey?: number[];
|
|
20
|
+
academicYearId?: number;
|
|
18
21
|
}
|
|
19
22
|
export interface PROPS_FILTERS_COMPONENT {
|
|
20
23
|
teacherId?: number;
|
|
@@ -30,6 +33,7 @@ export interface PROPS_FILTERS_COMPONENT {
|
|
|
30
33
|
option?: any[];
|
|
31
34
|
defautl?: number;
|
|
32
35
|
onChangeFilters?: (filters: IFilter) => void;
|
|
36
|
+
academicYearId?: number;
|
|
33
37
|
btnStyle?: any;
|
|
34
38
|
changeCurrentTeacherUserId?: (userId: string) => void;
|
|
35
39
|
}
|
|
@@ -45,6 +49,7 @@ export interface CALENDAR {
|
|
|
45
49
|
startDate: any;
|
|
46
50
|
endDate: any;
|
|
47
51
|
label: string;
|
|
52
|
+
value: string;
|
|
48
53
|
}
|
|
49
54
|
export declare enum LegalGenderType {
|
|
50
55
|
Male = 0,
|