mario-education 2.4.505-release → 2.4.506-feedback
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/containers/Dashboard/components/AreaChart.d.ts +2 -0
- package/dist/containers/Dashboard/components/BubbleChartCustom.d.ts +2 -0
- package/dist/containers/Dashboard/components/ModelStudentSession.d.ts +1 -1
- package/dist/containers/Dashboard/components/OverallDonutChart.d.ts +2 -0
- package/dist/containers/Dashboard/components/StudentPressureChart.d.ts +1 -1
- package/dist/containers/Dashboard/components/TopLearningStrategy.d.ts +1 -0
- package/dist/containers/Dashboard/configs/constants.d.ts +1 -0
- package/dist/containers/Dashboard/configs/types.d.ts +3 -0
- package/dist/containers/Dashboard/configs/utils.d.ts +4 -4
- package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +1 -0
- package/dist/containers/ExternalApi/configs/types.d.ts +4 -4
- package/dist/containers/MarioAi/cofigs/type.d.ts +4 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +1 -0
- package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -1
- package/dist/containers/SurveyDashboard/configs/constants.d.ts +0 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +0 -1
- package/dist/index.css +10 -12
- package/dist/index.js +255 -92
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +256 -93
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,9 @@ import React from "react";
|
|
|
2
2
|
import { IReadinessToLearning } from "../configs/types";
|
|
3
3
|
interface IProps {
|
|
4
4
|
data: IReadinessToLearning[];
|
|
5
|
+
handleHoverTooltip?: Function;
|
|
5
6
|
isPrint?: boolean;
|
|
7
|
+
name?: string;
|
|
6
8
|
}
|
|
7
9
|
declare const _default: React.NamedExoticComponent<IProps>;
|
|
8
10
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IModelStudentSession } from "../../MyStudent/components/NewOverview/Chat/types/types";
|
|
2
|
-
declare const ModelStudentSession: ({ open, onClose, responseStudent, title, tagName, isStressMode }: IModelStudentSession) => JSX.Element;
|
|
2
|
+
declare const ModelStudentSession: ({ open, onClose, responseStudent, title, tagName, isStressMode, isHiddenAvg }: IModelStudentSession) => JSX.Element;
|
|
3
3
|
export default ModelStudentSession;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IStudentPressureChart } from "../configs/types";
|
|
2
|
-
declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print }: IStudentPressureChart) => JSX.Element;
|
|
2
|
+
declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print, handleHoverTooltip }: IStudentPressureChart) => JSX.Element;
|
|
3
3
|
export default StudentPressureChart;
|
|
@@ -64,6 +64,7 @@ export declare const initStudentPressure: {
|
|
|
64
64
|
export declare const INITIAL_OVERALL_READY_TO_LEARN: {
|
|
65
65
|
resultQuestion: never[];
|
|
66
66
|
overViewQuestionLastMonth: never[];
|
|
67
|
+
studentNotReadyToLearn: never[];
|
|
67
68
|
};
|
|
68
69
|
export declare const heightChartDefault = 250;
|
|
69
70
|
export declare const PREPAREDNESS_QUESTION: string[];
|
|
@@ -37,6 +37,7 @@ export interface IStudentPressureChart {
|
|
|
37
37
|
changeLanguage?: string;
|
|
38
38
|
width?: number;
|
|
39
39
|
print?: boolean;
|
|
40
|
+
handleHoverTooltip?: Function;
|
|
40
41
|
}
|
|
41
42
|
export interface IStudentPressure {
|
|
42
43
|
boreOutStudent: string[];
|
|
@@ -311,6 +312,7 @@ export interface IGenerateChart {
|
|
|
311
312
|
studentPercentage?: number;
|
|
312
313
|
responseStudent?: IResponseStudentQuestion[];
|
|
313
314
|
classFontSize?: string;
|
|
315
|
+
handleHoverTooltip?: Function;
|
|
314
316
|
}
|
|
315
317
|
export interface IDashboardToPDF {
|
|
316
318
|
startTime: number | undefined;
|
|
@@ -339,6 +341,7 @@ export interface IDashboardToPDF {
|
|
|
339
341
|
}
|
|
340
342
|
export interface IOverallReadinessToLearn {
|
|
341
343
|
resultQuestion: ISeries[];
|
|
344
|
+
studentNotReadyToLearn: IResponseStudentQuestion[];
|
|
342
345
|
overViewQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
343
346
|
}
|
|
344
347
|
export interface SessionCsv {
|
|
@@ -28,7 +28,7 @@ export declare const mtssOptions: {
|
|
|
28
28
|
value: MtssType;
|
|
29
29
|
label: string;
|
|
30
30
|
}[];
|
|
31
|
-
export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => ApexOptions;
|
|
31
|
+
export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean, handleHoverTooltip?: Function | undefined, chartName?: string | 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;
|
|
@@ -97,15 +97,15 @@ 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[], data: any) => ApexOptions;
|
|
100
|
+
export declare const readinesToLearnoptions: (seriesName: string[], data: any, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
|
|
101
101
|
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
|
|
102
102
|
name: string;
|
|
103
103
|
data: import("react").ReactText[][];
|
|
104
104
|
}[];
|
|
105
|
-
export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek: string[], isCountSeries?: boolean | undefined) => ApexOptions;
|
|
105
|
+
export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek: string[], isCountSeries?: boolean | undefined, handleTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
|
|
106
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
|
-
export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
|
|
108
|
+
export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
|
|
109
109
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => IQuestionTranslate[];
|
|
110
110
|
export declare const convertToSeriesColumnChartAndPercent: (dataCharts: IQuestionTranslate[], data: IOverviewQuestionChoice[], isHardQuestion?: boolean | undefined) => {
|
|
111
111
|
name: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface IPermission {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
checkIns: string[];
|
|
3
|
+
conferences: string[];
|
|
4
|
+
classReflections: string[];
|
|
5
|
+
surveys: string[];
|
|
6
6
|
}
|
|
7
7
|
export interface IAccessToken {
|
|
8
8
|
permission: IPermission;
|
|
@@ -50,12 +50,15 @@ export interface IPrompt {
|
|
|
50
50
|
sampleData: string;
|
|
51
51
|
question: string;
|
|
52
52
|
dataType: IDataType;
|
|
53
|
+
isCompareDataTime: boolean;
|
|
53
54
|
}
|
|
54
55
|
export interface ITotalSessionItem {
|
|
55
56
|
checkInCount: number;
|
|
56
57
|
checkInCompleteCount: number;
|
|
57
58
|
oneToOneCount: number;
|
|
58
59
|
oneToOneCompleteCount: number;
|
|
60
|
+
studentNotDoneCheckIns: string[];
|
|
61
|
+
studentNotDoneConversations: string[];
|
|
59
62
|
}
|
|
60
63
|
export interface IMessage {
|
|
61
64
|
role: MessageRole;
|
|
@@ -113,4 +116,5 @@ export interface IAnswer {
|
|
|
113
116
|
grade: string;
|
|
114
117
|
question: string;
|
|
115
118
|
startTime: string;
|
|
119
|
+
teacherName: string;
|
|
116
120
|
}
|
|
@@ -19,7 +19,7 @@ export declare const updateSurvey: (surveyId: number, model: any) => Promise<imp
|
|
|
19
19
|
export declare const deleteSurvey: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
20
20
|
export declare const getListExternal: (surveyId: number, params: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
21
21
|
export declare const getListQuestionSurvey: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
22
|
-
export declare const getSurveyDetail: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
22
|
+
export declare const getSurveyDetail: (surveyId: number, language: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
23
23
|
export declare const getDashboardTotalSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
24
24
|
export declare const getDashboardFlagSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
25
25
|
export declare const getDashboardTemplateSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -588,7 +588,6 @@ export interface FORM_SURVEY {
|
|
|
588
588
|
templateQuestions: TEMPLATE_SURVEY[];
|
|
589
589
|
studentIds: number[];
|
|
590
590
|
staffIds: string[];
|
|
591
|
-
listSelectTemplate: TEMPLATE_SURVEY[];
|
|
592
591
|
summarizeQuestions: QuestionSummarizeType[];
|
|
593
592
|
}
|
|
594
593
|
export interface STUDENT_SURVEY {
|
package/dist/index.css
CHANGED
|
@@ -866,7 +866,7 @@ tbody._b-AXV tr {
|
|
|
866
866
|
display: flex;
|
|
867
867
|
flex-direction: row;
|
|
868
868
|
align-items: flex-start;
|
|
869
|
-
margin: 0 20px;
|
|
869
|
+
/* margin: 0 20px; */
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
._1ymYy ._RykFp {
|
|
@@ -882,12 +882,16 @@ tbody._b-AXV tr {
|
|
|
882
882
|
margin-right: 20px;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
.
|
|
885
|
+
._3uC79 {
|
|
886
886
|
font-size: 14px;
|
|
887
887
|
font-weight: bold;
|
|
888
|
-
line-height:
|
|
888
|
+
line-height: 26px;
|
|
889
889
|
margin-bottom: 0px;
|
|
890
|
-
|
|
890
|
+
margin-top: 10px;
|
|
891
|
+
max-width: 200px;
|
|
892
|
+
width: -webkit-fit-content;
|
|
893
|
+
width: -moz-fit-content;
|
|
894
|
+
width: fit-content;
|
|
891
895
|
font-family: 'Poppins-Regular' !important;
|
|
892
896
|
}
|
|
893
897
|
|
|
@@ -1249,8 +1253,8 @@ tbody._b-AXV tr {
|
|
|
1249
1253
|
margin: 0;
|
|
1250
1254
|
}
|
|
1251
1255
|
|
|
1252
|
-
.
|
|
1253
|
-
width:
|
|
1256
|
+
._3uC79 {
|
|
1257
|
+
max-width: 150px;
|
|
1254
1258
|
padding-top: 0;
|
|
1255
1259
|
font-size: 12px;
|
|
1256
1260
|
}
|
|
@@ -1339,12 +1343,6 @@ tbody._b-AXV tr {
|
|
|
1339
1343
|
}
|
|
1340
1344
|
}
|
|
1341
1345
|
|
|
1342
|
-
@media (min-width: 1024px) {
|
|
1343
|
-
._1ymYy {
|
|
1344
|
-
margin: 0 20px;
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
1346
|
@media (max-width: 600px) {
|
|
1349
1347
|
._2Bp8v ._2lIqc {
|
|
1350
1348
|
padding: 10px 30px;
|