mario-education 2.4.505-release → 2.4.507-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.
@@ -8,6 +8,8 @@ interface IProps {
8
8
  dayOfWeek: string[];
9
9
  isCountSeries?: boolean;
10
10
  min?: number;
11
+ handleHoverTooltip?: Function;
12
+ chartName?: string;
11
13
  }
12
14
  declare const AreaChart: FC<IProps>;
13
15
  export default AreaChart;
@@ -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;
@@ -7,6 +7,8 @@ interface IProps {
7
7
  height?: number | string;
8
8
  textColors?: string[];
9
9
  isCountSeries?: boolean;
10
+ handleHoverTooltip?: Function;
11
+ chartName?: string;
10
12
  }
11
13
  declare const OverallDonutChart: FC<IProps>;
12
14
  export default OverallDonutChart;
@@ -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;
@@ -6,6 +6,7 @@ interface ITopLearningStrategy {
6
6
  topLearningStrategyId?: string;
7
7
  width?: number;
8
8
  isPrint?: boolean;
9
+ handleHoverTooltip?: Function;
9
10
  }
10
11
  declare const _default: React.NamedExoticComponent<ITopLearningStrategy>;
11
12
  export default _default;
@@ -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;
@@ -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;
@@ -58,5 +58,6 @@ declare const useChartDatas: () => {
58
58
  };
59
59
  goToSession: (sessionId: number, sessionResultId: number) => void;
60
60
  isExistQuestion: boolean;
61
+ handleHoverTooltip: (name: string) => void;
61
62
  };
62
63
  export default useChartDatas;
@@ -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>>;
@@ -112,7 +112,6 @@ export declare const initialValues: {
112
112
  studentIds: never[];
113
113
  templateQuestions: never[];
114
114
  activeStep: number;
115
- listSelectTemplate: never[];
116
115
  staffIds: never[];
117
116
  summarizeQuestions: never[];
118
117
  };
@@ -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
- ._1ymYy ._3uC79 {
885
+ ._3uC79 {
886
886
  font-size: 14px;
887
887
  font-weight: bold;
888
- line-height: 40px;
888
+ line-height: 26px;
889
889
  margin-bottom: 0px;
890
- width: 80px;
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
- ._1ymYy ._3uC79 {
1253
- width: 36%;
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;