mario-education 2.4.497-feedback → 2.4.498-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,8 +8,6 @@ interface IProps {
8
8
  dayOfWeek: string[];
9
9
  isCountSeries?: boolean;
10
10
  min?: number;
11
- handleHoverTooltip?: Function;
12
- chartName?: string;
13
11
  }
14
12
  declare const AreaChart: FC<IProps>;
15
13
  export default AreaChart;
@@ -2,9 +2,7 @@ import React from "react";
2
2
  import { IReadinessToLearning } from "../configs/types";
3
3
  interface IProps {
4
4
  data: IReadinessToLearning[];
5
- handleHoverTooltip?: Function;
6
5
  isPrint?: boolean;
7
- name?: string;
8
6
  }
9
7
  declare const _default: React.NamedExoticComponent<IProps>;
10
8
  export default _default;
@@ -7,8 +7,6 @@ interface IProps {
7
7
  height?: number | string;
8
8
  textColors?: string[];
9
9
  isCountSeries?: boolean;
10
- handleHoverTooltip?: Function;
11
- chartName?: string;
12
10
  }
13
11
  declare const OverallDonutChart: FC<IProps>;
14
12
  export default OverallDonutChart;
@@ -1,3 +1,3 @@
1
1
  import { IStudentPressureChart } from "../configs/types";
2
- declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print, handleHoverTooltip }: IStudentPressureChart) => JSX.Element;
2
+ declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print }: IStudentPressureChart) => JSX.Element;
3
3
  export default StudentPressureChart;
@@ -6,7 +6,6 @@ interface ITopLearningStrategy {
6
6
  topLearningStrategyId?: string;
7
7
  width?: number;
8
8
  isPrint?: boolean;
9
- handleHoverTooltip?: Function;
10
9
  }
11
10
  declare const _default: React.NamedExoticComponent<ITopLearningStrategy>;
12
11
  export default _default;
@@ -37,7 +37,6 @@ export interface IStudentPressureChart {
37
37
  changeLanguage?: string;
38
38
  width?: number;
39
39
  print?: boolean;
40
- handleHoverTooltip?: Function;
41
40
  }
42
41
  export interface IStudentPressure {
43
42
  boreOutStudent: string[];
@@ -312,7 +311,6 @@ export interface IGenerateChart {
312
311
  studentPercentage?: number;
313
312
  responseStudent?: IResponseStudentQuestion[];
314
313
  classFontSize?: string;
315
- handleHoverTooltip?: Function;
316
314
  }
317
315
  export interface IDashboardToPDF {
318
316
  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, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
31
+ export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => 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, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
100
+ export declare const readinesToLearnoptions: (seriesName: string[], data: any) => 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, handleTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
105
+ export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek: string[], isCountSeries?: boolean | 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, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
108
+ export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: 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,6 +58,5 @@ declare const useChartDatas: () => {
58
58
  };
59
59
  goToSession: (sessionId: number, sessionResultId: number) => void;
60
60
  isExistQuestion: boolean;
61
- handleHoverTooltip: (name: string) => void;
62
61
  };
63
62
  export default useChartDatas;
package/dist/index.css CHANGED
@@ -2415,7 +2415,6 @@ h6._3zOGW {
2415
2415
  line-height: 18px;
2416
2416
  margin-right: 5px;
2417
2417
  margin-bottom: 0;
2418
- text-transform: capitalize;
2419
2418
  }
2420
2419
 
2421
2420
  ._3-8OW {
@@ -3015,20 +3014,20 @@ h6._3zOGW {
3015
3014
  flex-direction: column;
3016
3015
  }
3017
3016
 
3018
- ._1ym2M>._21miX {
3017
+ ._1ym2M > ._21miX {
3019
3018
  font-size: 24px;
3020
3019
  font-weight: 600;
3021
3020
  line-height: 32px;
3022
3021
  }
3023
3022
 
3024
- ._1ym2M>._38wLO {
3023
+ ._1ym2M > ._38wLO {
3025
3024
  font-size: 32px;
3026
3025
  font-weight: 600;
3027
3026
  line-height: 40px;
3028
3027
  margin-bottom: 8px;
3029
3028
  }
3030
3029
 
3031
- ._1ym2M>._3giEV {
3030
+ ._1ym2M > ._3giEV {
3032
3031
  font-size: 14px;
3033
3032
  font-weight: 400;
3034
3033
  line-height: 20px;
@@ -3070,57 +3069,57 @@ h6._3zOGW {
3070
3069
  }
3071
3070
 
3072
3071
  ._3KJDS {
3073
- display: flex;
3074
- flex-direction: column;
3075
- height: 100%;
3076
- flex-grow: 1;
3077
- overflow: hidden;
3072
+ display: flex;
3073
+ flex-direction: column;
3074
+ height: 100%;
3075
+ flex-grow: 1;
3076
+ overflow: hidden;
3078
3077
  }
3079
3078
 
3080
- ._3KJDS>._QR625 {
3081
- flex-shrink: 0;
3079
+ ._3KJDS > ._QR625 {
3080
+ flex-shrink: 0;
3082
3081
  }
3083
3082
 
3084
- ._3KJDS>._xCCue {
3085
- flex-grow: 1;
3086
- overflow-y: auto;
3087
- display: block;
3088
- /* width: calc(100% + 10px); */
3083
+ ._3KJDS > ._xCCue {
3084
+ flex-grow: 1;
3085
+ overflow-y: auto;
3086
+ display: block;
3087
+ /* width: calc(100% + 10px); */
3089
3088
  }
3090
3089
 
3091
- ._3KJDS>._3GkYB {
3090
+ ._3KJDS > ._3GkYB {
3092
3091
  padding-right: 10px;
3093
3092
  }
3094
3093
 
3095
- ._3KJDS>._xCCue::-webkit-scrollbar {
3094
+ ._3KJDS > ._xCCue::-webkit-scrollbar {
3096
3095
  width: 10px;
3097
3096
  }
3098
3097
 
3099
- ._3KJDS>._xCCue::-webkit-scrollbar-track {
3098
+ ._3KJDS > ._xCCue::-webkit-scrollbar-track {
3100
3099
  background: #F6F6F6;
3101
3100
  border-radius: 8px;
3102
3101
  box-shadow: none;
3103
3102
  }
3104
3103
 
3105
- ._3KJDS>._xCCue::-webkit-scrollbar-thumb {
3104
+ ._3KJDS > ._xCCue::-webkit-scrollbar-thumb {
3106
3105
  background: #316CD9;
3107
3106
  border: 2px solid #e1e1e1;
3108
3107
  }
3109
3108
 
3110
- ._3KJDS>._xCCue::-webkit-scrollbar-thumb:hover {
3109
+ ._3KJDS > ._xCCue::-webkit-scrollbar-thumb:hover {
3111
3110
  background: #2a5ebe;
3112
3111
  }
3113
3112
 
3114
- ._3KJDS>._xCCue>table {
3115
- table-layout: fixed;
3116
- width: 100%;
3113
+ ._3KJDS > ._xCCue > table {
3114
+ table-layout: fixed;
3115
+ width: 100%;
3117
3116
  }
3118
3117
 
3119
3118
  ._3zJ60 {
3120
- display: table !important;
3121
- width: 100%;
3122
- table-layout: fixed;
3123
- width: calc(100% - 20px);
3119
+ display: table !important;
3120
+ width: 100%;
3121
+ table-layout: fixed;
3122
+ width: calc(100% - 20px);
3124
3123
  }
3125
3124
 
3126
3125
  ._3iePe {
@@ -3131,31 +3130,31 @@ h6._3zOGW {
3131
3130
  cursor: default;
3132
3131
  }
3133
3132
 
3134
- ._3iePe>div {
3133
+ ._3iePe > div {
3135
3134
  font-size: 14px !important;
3136
3135
  font-weight: 400 !important;
3137
3136
  line-height: 20px !important;
3138
3137
  opacity: .56;
3139
3138
  }
3140
3139
 
3141
- ._3iePe>div>svg {
3140
+ ._3iePe > div > svg {
3142
3141
  width: 16px;
3143
3142
  height: 16px;
3144
3143
  margin-left: 8px;
3145
3144
  }
3146
3145
 
3147
- ._jt5M3>._2cEqW,
3148
- ._jt5M3>._2cEqW>div,
3149
- ._jt5M3>._2cEqW>div>div,
3150
- ._jt5M3>._2cEqW>div>span,
3151
- ._jt5M3>._2cEqW>div>span>span {
3146
+ ._jt5M3 > ._2cEqW,
3147
+ ._jt5M3 > ._2cEqW > div,
3148
+ ._jt5M3 > ._2cEqW > div > div,
3149
+ ._jt5M3 > ._2cEqW > div > span,
3150
+ ._jt5M3 > ._2cEqW > div > span > span {
3152
3151
  font-size: 14px;
3153
3152
  font-weight: 400;
3154
3153
  line-height: 20px;
3155
3154
  border-bottom: none;
3156
3155
  }
3157
3156
 
3158
- ._2cEqW>div>._qGHNb {
3157
+ ._2cEqW > div > ._qGHNb {
3159
3158
  display: -webkit-box;
3160
3159
  -webkit-box-orient: vertical;
3161
3160
  overflow: hidden;
@@ -3166,42 +3165,42 @@ h6._3zOGW {
3166
3165
  }
3167
3166
 
3168
3167
  ._1FNac {
3169
- display: block !important;
3170
- /* max-height: 400px;
3168
+ display: block !important;
3169
+ /* max-height: 400px;
3171
3170
  overflow-y: scroll; */
3172
3171
  }
3173
3172
 
3174
- ._e1eW1>._ZaJN5 {
3173
+ ._e1eW1 > ._ZaJN5 {
3175
3174
  display: table;
3176
3175
  width: 100%;
3177
3176
  table-layout: fixed;
3178
3177
  }
3179
3178
 
3180
- ._e1eW1>._jt5M3>._2cEqW:nth-child(1) {
3179
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(1) {
3181
3180
  width: 18%;
3182
3181
  }
3183
3182
 
3184
- ._e1eW1>._jt5M3>._2cEqW:nth-child(2) {
3183
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(2) {
3185
3184
  width: 10%;
3186
3185
  }
3187
3186
 
3188
- ._e1eW1>._jt5M3>._2cEqW:nth-child(3) {
3187
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(3) {
3189
3188
  width: 15%;
3190
3189
  }
3191
3190
 
3192
- ._e1eW1>._jt5M3>._2cEqW:nth-child(4) {
3191
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(4) {
3193
3192
  width: 12%;
3194
3193
  }
3195
3194
 
3196
- ._e1eW1>._jt5M3>._2cEqW:nth-child(5) {
3195
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(5) {
3197
3196
  width: 30%;
3198
3197
  }
3199
3198
 
3200
- ._e1eW1>._jt5M3>._2cEqW:nth-child(6) {
3199
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(6) {
3201
3200
  width: 15%;
3202
3201
  }
3203
3202
 
3204
- ._e1eW1>._jt5M3:nth-child(odd) {
3203
+ ._e1eW1 > ._jt5M3:nth-child(odd) {
3205
3204
  background-color: #F6F6F6;
3206
3205
  }
3207
3206
 
@@ -3220,7 +3219,7 @@ h6._3zOGW {
3220
3219
  height: calc(-200px + 100vh)
3221
3220
  }
3222
3221
 
3223
- ._2emfn>div>div>nav>ul {
3222
+ ._2emfn > div > div > nav > ul {
3224
3223
  margin: 16px 0 0;
3225
3224
  }
3226
3225