mario-education 2.4.149-level → 2.4.150-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/ReadinessToLearn.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +5 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +8 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +9 -5
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
- package/dist/index.css +2053 -2057
- package/dist/index.js +357 -77
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +357 -77
- package/dist/index.modern.js.map +1 -1
- package/package.json +98 -98
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
package/dist/index.modern.js
CHANGED
|
@@ -22501,7 +22501,7 @@ var TYPECHART;
|
|
|
22501
22501
|
TYPECHART[TYPECHART["DONUT"] = 4] = "DONUT";
|
|
22502
22502
|
})(TYPECHART || (TYPECHART = {}));
|
|
22503
22503
|
|
|
22504
|
-
var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","percent-item":"_1rjWR","chart-custom":"_f-Ti4","
|
|
22504
|
+
var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","percent-item":"_1rjWR","chart-custom":"_f-Ti4","title-grade":"_1hZ_V","title-modal":"_3L9WC","header-desc-modal":"_1TFtP","form-checkbox":"_37aqf","checkbox-content":"_1iabV","btn-export":"_1eQAg","image-logo":"_1eqkj","chart-to-canvas":"_2IQ8b","chart-pdf":"_sQ21k","box-top-5-most":"_3Eas5"};
|
|
22505
22505
|
|
|
22506
22506
|
var CheckboxCustom = function CheckboxCustom(_ref) {
|
|
22507
22507
|
var _ref$background = _ref.background,
|
|
@@ -28366,11 +28366,6 @@ var LEARNING_STRATEGY_INIT = {
|
|
|
28366
28366
|
learningStrategies: []
|
|
28367
28367
|
};
|
|
28368
28368
|
var GRAGE_DEFAULT = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
28369
|
-
var INITIAl_COLUNM_CHART_AND_PERCENT = {
|
|
28370
|
-
overviewQuestionChoice: [],
|
|
28371
|
-
type: "",
|
|
28372
|
-
overViewQuestionLastMonth: []
|
|
28373
|
-
};
|
|
28374
28369
|
var INITIAL_AGE_OF_STUDENT = {
|
|
28375
28370
|
ageOfFeMaleStudent: {
|
|
28376
28371
|
nineToTwelve: 0,
|
|
@@ -28400,6 +28395,7 @@ var INITIAl_STUDENT_DASHBOARD = {
|
|
|
28400
28395
|
totalCheckIn: 0
|
|
28401
28396
|
};
|
|
28402
28397
|
var COLOR_CHART_AND_PERCENTS = ["#73C8E5", "#97AFB9", "#FFB04F", "#FF7670", "#00B8B2", "#00B8FF", "#C6A762", "#C94645", "#006E60", "#336DDA", "#994700"];
|
|
28398
|
+
var COLOR_CHART_BUBBLE = ["#169490", "#316CD9", "#FFB04F", "#0F9655"];
|
|
28403
28399
|
var GENDER_OPTION = [{
|
|
28404
28400
|
value: -1,
|
|
28405
28401
|
label: "All"
|
|
@@ -28453,8 +28449,9 @@ var learningProcessName = "learning_process";
|
|
|
28453
28449
|
var topLearningStrategyName = "learning_strategies";
|
|
28454
28450
|
var topMostUsedStrategiesName = "top_5_most_used_strategies";
|
|
28455
28451
|
var overallReadinessToLearn = "overall_readiness_to_learn";
|
|
28456
|
-
var
|
|
28457
|
-
var
|
|
28452
|
+
var studentStressByZone = "student_stress_by_zone";
|
|
28453
|
+
var studentDistribution = "student_distribution";
|
|
28454
|
+
var chartNames = [averageStudentSafetyName, averageStudentStressName, preparednessChartName, overallReadinessToLearn, successIndicatorsName, learningProcessName, topLearningStrategyName, studentStressByZone, studentDistribution];
|
|
28458
28455
|
|
|
28459
28456
|
var gradeOptions = function gradeOptions(grades, studentUserId) {
|
|
28460
28457
|
var result = !studentUserId ? GRAGE_DEFAULT : GRAGE_DEFAULT.filter(function (val) {
|
|
@@ -28597,6 +28594,156 @@ var getConvertMinuteToHour = function getConvertMinuteToHour(timeSecond) {
|
|
|
28597
28594
|
|
|
28598
28595
|
return hTime;
|
|
28599
28596
|
};
|
|
28597
|
+
|
|
28598
|
+
var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
28599
|
+
var history = useHistory();
|
|
28600
|
+
data === null || data === void 0 ? void 0 : data.forEach(function (element) {
|
|
28601
|
+
var _element$studentPerce;
|
|
28602
|
+
|
|
28603
|
+
element === null || element === void 0 ? void 0 : (_element$studentPerce = element.studentPercentQuestion) === null || _element$studentPerce === void 0 ? void 0 : _element$studentPerce.forEach(function (item) {
|
|
28604
|
+
});
|
|
28605
|
+
});
|
|
28606
|
+
return {
|
|
28607
|
+
colors: COLOR_CHART_BUBBLE,
|
|
28608
|
+
chart: {
|
|
28609
|
+
height: 250,
|
|
28610
|
+
toolbar: {
|
|
28611
|
+
show: false
|
|
28612
|
+
},
|
|
28613
|
+
events: {
|
|
28614
|
+
dataPointSelection: function dataPointSelection(_event, chartContext, config) {
|
|
28615
|
+
var studentName = chartContext.data.threeDSeries[config.dataPointIndex];
|
|
28616
|
+
var series = config.w.config.series[config.seriesIndex].data;
|
|
28617
|
+
var student = series.find(function (r) {
|
|
28618
|
+
return r.includes(studentName);
|
|
28619
|
+
});
|
|
28620
|
+
!!student && history.push("/student-detail/overview/" + student[student.length - 1] + "?isReadOnly=true");
|
|
28621
|
+
}
|
|
28622
|
+
}
|
|
28623
|
+
},
|
|
28624
|
+
dataLabels: {
|
|
28625
|
+
enabled: false
|
|
28626
|
+
},
|
|
28627
|
+
fill: {
|
|
28628
|
+
opacity: 0.8
|
|
28629
|
+
},
|
|
28630
|
+
grid: {
|
|
28631
|
+
strokeDashArray: 5,
|
|
28632
|
+
borderColor: "#D3D3D3",
|
|
28633
|
+
xaxis: {
|
|
28634
|
+
lines: {
|
|
28635
|
+
show: true
|
|
28636
|
+
}
|
|
28637
|
+
}
|
|
28638
|
+
},
|
|
28639
|
+
xaxis: {
|
|
28640
|
+
tickAmount: 4,
|
|
28641
|
+
tickPlacement: "between",
|
|
28642
|
+
labels: {
|
|
28643
|
+
show: true,
|
|
28644
|
+
style: {
|
|
28645
|
+
colors: "#FFFFFF"
|
|
28646
|
+
}
|
|
28647
|
+
},
|
|
28648
|
+
tooltip: {
|
|
28649
|
+
enabled: false
|
|
28650
|
+
},
|
|
28651
|
+
axisBorder: {
|
|
28652
|
+
show: false
|
|
28653
|
+
},
|
|
28654
|
+
axisTicks: {
|
|
28655
|
+
show: false
|
|
28656
|
+
}
|
|
28657
|
+
},
|
|
28658
|
+
yaxis: [{
|
|
28659
|
+
min: 0,
|
|
28660
|
+
max: 100,
|
|
28661
|
+
tickAmount: 5,
|
|
28662
|
+
axisBorder: {
|
|
28663
|
+
show: true
|
|
28664
|
+
},
|
|
28665
|
+
labels: {
|
|
28666
|
+
style: {
|
|
28667
|
+
colors: "#D3D3D3",
|
|
28668
|
+
fontSize: "16px",
|
|
28669
|
+
fontFamily: "Roboto",
|
|
28670
|
+
fontWeight: 400,
|
|
28671
|
+
cssClass: "apexcharts-yaxis-label"
|
|
28672
|
+
},
|
|
28673
|
+
formatter: function formatter(value) {
|
|
28674
|
+
return Math.round(value) !== value ? value.toFixed(2) + "%" : value + "%";
|
|
28675
|
+
}
|
|
28676
|
+
}
|
|
28677
|
+
}, {
|
|
28678
|
+
min: 0,
|
|
28679
|
+
max: 100,
|
|
28680
|
+
tickAmount: 5,
|
|
28681
|
+
opposite: true,
|
|
28682
|
+
axisBorder: {
|
|
28683
|
+
show: true
|
|
28684
|
+
},
|
|
28685
|
+
labels: {
|
|
28686
|
+
style: {
|
|
28687
|
+
colors: "#D3D3D3",
|
|
28688
|
+
fontSize: "16px",
|
|
28689
|
+
fontFamily: "Roboto",
|
|
28690
|
+
fontWeight: 400,
|
|
28691
|
+
cssClass: "apexcharts-yaxis-label"
|
|
28692
|
+
},
|
|
28693
|
+
formatter: function formatter(value) {
|
|
28694
|
+
return Math.round(value) !== value ? value.toFixed(2) + "%" : value + "%";
|
|
28695
|
+
}
|
|
28696
|
+
}
|
|
28697
|
+
}],
|
|
28698
|
+
tooltip: {
|
|
28699
|
+
enabled: true,
|
|
28700
|
+
x: {
|
|
28701
|
+
show: false
|
|
28702
|
+
},
|
|
28703
|
+
y: {
|
|
28704
|
+
formatter: undefined,
|
|
28705
|
+
title: {
|
|
28706
|
+
formatter: function formatter() {
|
|
28707
|
+
return "Percent";
|
|
28708
|
+
}
|
|
28709
|
+
}
|
|
28710
|
+
},
|
|
28711
|
+
z: {
|
|
28712
|
+
formatter: undefined,
|
|
28713
|
+
title: "Student: "
|
|
28714
|
+
}
|
|
28715
|
+
},
|
|
28716
|
+
labels: seriesName,
|
|
28717
|
+
legend: {
|
|
28718
|
+
show: false,
|
|
28719
|
+
offsetY: 18,
|
|
28720
|
+
markers: {
|
|
28721
|
+
width: 12,
|
|
28722
|
+
height: 12,
|
|
28723
|
+
radius: 2
|
|
28724
|
+
},
|
|
28725
|
+
position: "bottom",
|
|
28726
|
+
horizontalAlign: "center"
|
|
28727
|
+
}
|
|
28728
|
+
};
|
|
28729
|
+
};
|
|
28730
|
+
|
|
28731
|
+
var getRandomArbitrary = function getRandomArbitrary(min, max) {
|
|
28732
|
+
return Math.random() * (max - min) + min;
|
|
28733
|
+
};
|
|
28734
|
+
|
|
28735
|
+
var convertDataToSeriesBullderChart = function convertDataToSeriesBullderChart(data) {
|
|
28736
|
+
return data.map(function (i, index) {
|
|
28737
|
+
var _i$studentPercentQues;
|
|
28738
|
+
|
|
28739
|
+
return {
|
|
28740
|
+
name: i.questionText.replace("<p>", "").replace("</p>", ""),
|
|
28741
|
+
data: ((_i$studentPercentQues = i.studentPercentQuestion) === null || _i$studentPercentQues === void 0 ? void 0 : _i$studentPercentQues.map(function (question) {
|
|
28742
|
+
return [getRandomArbitrary((index + 1) * 1000 - 330, (index + 1) * 1000 + 330), question.percentQuestion, question.studentName, question.studentId];
|
|
28743
|
+
})) || []
|
|
28744
|
+
};
|
|
28745
|
+
});
|
|
28746
|
+
};
|
|
28600
28747
|
var optionColumnChartAndPercents = function optionColumnChartAndPercents(months, activeData, isRidgeCharts, colors, dayOfWeek) {
|
|
28601
28748
|
return {
|
|
28602
28749
|
chart: {
|
|
@@ -28886,15 +29033,10 @@ var convertToSeriesColumnChartAndPercent = function convertToSeriesColumnChartAn
|
|
|
28886
29033
|
};
|
|
28887
29034
|
});
|
|
28888
29035
|
};
|
|
28889
|
-
var
|
|
28890
|
-
return
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
return i.resultQuestion.reduce(function (a, b) {
|
|
28894
|
-
return a + b.avgOfStudentChoice;
|
|
28895
|
-
}, 0);
|
|
28896
|
-
})
|
|
28897
|
-
}];
|
|
29036
|
+
var seriesNameBubbleChartCustom = function seriesNameBubbleChartCustom(series) {
|
|
29037
|
+
return series.map(function (i) {
|
|
29038
|
+
return i.questionText.replace("<p>", "").replace("</p>", "");
|
|
29039
|
+
});
|
|
28898
29040
|
};
|
|
28899
29041
|
var getLastQuarterRange = function getLastQuarterRange() {
|
|
28900
29042
|
var lastQuarter = moment().utc().quarter() - 1;
|
|
@@ -28946,6 +29088,11 @@ var getAllTotalTime = function getAllTotalTime(filter) {
|
|
|
28946
29088
|
params: filter
|
|
28947
29089
|
});
|
|
28948
29090
|
};
|
|
29091
|
+
var getReadinessToLearning = function getReadinessToLearning(filter) {
|
|
29092
|
+
return api.get(REPORT_URL + "/top-readiness-learn", {
|
|
29093
|
+
params: filter
|
|
29094
|
+
});
|
|
29095
|
+
};
|
|
28949
29096
|
var getTopLearningStrategies = function getTopLearningStrategies(filter) {
|
|
28950
29097
|
return api.get(REPORT_URL + "/top-learning-strategies", {
|
|
28951
29098
|
params: filter
|
|
@@ -29036,8 +29183,6 @@ var getAllAcademicYearApi = function getAllAcademicYearApi(filters) {
|
|
|
29036
29183
|
var TITLE$y = "Dashboard";
|
|
29037
29184
|
|
|
29038
29185
|
var useDashboard = function useDashboard() {
|
|
29039
|
-
var _learningProgress$ove;
|
|
29040
|
-
|
|
29041
29186
|
var dispatch = useDispatch();
|
|
29042
29187
|
|
|
29043
29188
|
var _useState = useState({
|
|
@@ -29062,17 +29207,17 @@ var useDashboard = function useDashboard() {
|
|
|
29062
29207
|
listTotalTime = _useState2[0],
|
|
29063
29208
|
setListTotalTime = _useState2[1];
|
|
29064
29209
|
|
|
29065
|
-
var _useState3 = useState(
|
|
29066
|
-
|
|
29067
|
-
|
|
29210
|
+
var _useState3 = useState([]),
|
|
29211
|
+
readinessToLearning = _useState3[0],
|
|
29212
|
+
setReadinessToLearning = _useState3[1];
|
|
29068
29213
|
|
|
29069
|
-
var _useState4 = useState(
|
|
29070
|
-
|
|
29071
|
-
|
|
29214
|
+
var _useState4 = useState(LEARNING_STRATEGY_INIT),
|
|
29215
|
+
topLearningStrategies = _useState4[0],
|
|
29216
|
+
setTopLearningStrategies = _useState4[1];
|
|
29072
29217
|
|
|
29073
|
-
var _useState5 = useState(
|
|
29074
|
-
|
|
29075
|
-
|
|
29218
|
+
var _useState5 = useState([]),
|
|
29219
|
+
studentByGrade = _useState5[0],
|
|
29220
|
+
setStudentByGrade = _useState5[1];
|
|
29076
29221
|
|
|
29077
29222
|
var _useState6 = useState(),
|
|
29078
29223
|
friendCircles = _useState6[0],
|
|
@@ -29237,13 +29382,65 @@ var useDashboard = function useDashboard() {
|
|
|
29237
29382
|
dataOverallReadyToLearn = _useState27[0],
|
|
29238
29383
|
setDataOverallReadyToLearn = _useState27[1];
|
|
29239
29384
|
|
|
29240
|
-
var
|
|
29241
|
-
|
|
29242
|
-
|
|
29243
|
-
|
|
29244
|
-
var
|
|
29245
|
-
|
|
29246
|
-
|
|
29385
|
+
var _useState28 = useState([]),
|
|
29386
|
+
seriesConference = _useState28[0],
|
|
29387
|
+
setSeriesConference = _useState28[1];
|
|
29388
|
+
|
|
29389
|
+
var _useState29 = useState([]),
|
|
29390
|
+
activeColumnConference = _useState29[0],
|
|
29391
|
+
setActiveColumnConference = _useState29[1];
|
|
29392
|
+
|
|
29393
|
+
var _useState30 = useState([]),
|
|
29394
|
+
avgConferenceLastMonth = _useState30[0],
|
|
29395
|
+
setAvgConferenceLastMonth = _useState30[1];
|
|
29396
|
+
|
|
29397
|
+
var _useState31 = useState([]),
|
|
29398
|
+
dataConvertedConference = _useState31[0],
|
|
29399
|
+
setDataConvertedConference = _useState31[1];
|
|
29400
|
+
|
|
29401
|
+
var _useState32 = useState([]),
|
|
29402
|
+
monthsConference = _useState32[0],
|
|
29403
|
+
setMonthsConference = _useState32[1];
|
|
29404
|
+
|
|
29405
|
+
var _useState33 = useState([]),
|
|
29406
|
+
dayOfWeekConference = _useState33[0],
|
|
29407
|
+
setDayOfWeekConference = _useState33[1];
|
|
29408
|
+
|
|
29409
|
+
var handleSetDataChartConference = function handleSetDataChartConference(data) {
|
|
29410
|
+
var _data$overviewQuestio2;
|
|
29411
|
+
|
|
29412
|
+
var questions = convertDataToDataChart(data === null || data === void 0 ? void 0 : data.overviewQuestionChoice);
|
|
29413
|
+
var months = (data === null || data === void 0 ? void 0 : (_data$overviewQuestio2 = data.overviewQuestionChoice) === null || _data$overviewQuestio2 === void 0 ? void 0 : _data$overviewQuestio2.map(function (i) {
|
|
29414
|
+
return (i === null || i === void 0 ? void 0 : i.month) || "";
|
|
29415
|
+
})) || [];
|
|
29416
|
+
var newSeriesConference = convertToSeriesColumnChartAndPercent(questions, data === null || data === void 0 ? void 0 : data.overviewQuestionChoice);
|
|
29417
|
+
var dayOfWeeks = data.overviewQuestionChoice.map(function (r) {
|
|
29418
|
+
return utcToLocalTime(r.startDate, "DD-MM-yyyy") + " - " + utcToLocalTime(r.endDate, "DD-MM-yyyy");
|
|
29419
|
+
});
|
|
29420
|
+
|
|
29421
|
+
if (newSeriesConference.length >= 0) {
|
|
29422
|
+
if (activeColumnConference.filter(function (r) {
|
|
29423
|
+
return r == true;
|
|
29424
|
+
}).length == 0 || activeColumnConference.length != newSeriesConference.length) {
|
|
29425
|
+
setActiveColumnConference([true].concat(newSeriesConference.map(function (_i) {
|
|
29426
|
+
return false;
|
|
29427
|
+
}).splice(0, newSeriesConference.length - 1)));
|
|
29428
|
+
}
|
|
29429
|
+
}
|
|
29430
|
+
|
|
29431
|
+
setDataConvertedConference(questions);
|
|
29432
|
+
setDayOfWeekConference(dayOfWeeks);
|
|
29433
|
+
setMonthsConference(months);
|
|
29434
|
+
setSeriesConference(newSeriesConference);
|
|
29435
|
+
setAvgConferenceLastMonth(data.overViewQuestionLastMonth);
|
|
29436
|
+
};
|
|
29437
|
+
|
|
29438
|
+
var handleActiveColumnConference = function handleActiveColumnConference(index) {
|
|
29439
|
+
var newActiveColumn = [].concat(activeColumnConference);
|
|
29440
|
+
newActiveColumn[index] = !newActiveColumn[index];
|
|
29441
|
+
setActiveColumnConference(newActiveColumn);
|
|
29442
|
+
};
|
|
29443
|
+
|
|
29247
29444
|
var callApi = useCallback(function (apiCaller, setData, defaultData, type) {
|
|
29248
29445
|
try {
|
|
29249
29446
|
var _temp2 = _catch(function () {
|
|
@@ -29353,7 +29550,7 @@ var useDashboard = function useDashboard() {
|
|
|
29353
29550
|
try {
|
|
29354
29551
|
document.title = TITLE$y;
|
|
29355
29552
|
dispatch(setLoading(true));
|
|
29356
|
-
return Promise.resolve(Promise.any([callApi(getAllTotalTime, setListTotalTime, []), callApi(getTopLearningStrategies, setTopLearningStrategies, []), callApi(getStudentByGrade, setStudentByGrade, []), callApi(getOverviewQuestionChart, handleSetDataChartOneToOne, [], "OneToOne"), callApi(getOverviewQuestionChart,
|
|
29553
|
+
return Promise.resolve(Promise.any([callApi(getAllTotalTime, setListTotalTime, []), callApi(getReadinessToLearning, setReadinessToLearning, []), callApi(getTopLearningStrategies, setTopLearningStrategies, []), callApi(getStudentByGrade, setStudentByGrade, []), callApi(getOverviewQuestionChart, handleSetDataChartOneToOne, [], "OneToOne"), callApi(getOverviewQuestionChart, handleSetDataChartConference, [], "Conference"), callApi(getFriendCircleItems, setFriendCircles, INITIAL_BEST_FRIENDS), callApi(getActivityCircleItems, setActivityCircles, INITIAL_ACTIVITY_FRIENDS), callApi(getStudentBySpecialNeed, setStudentBySpecialNeed, []), callApi(getStudentByAge, setStudentByAge, INITIAL_AGE_OF_STUDENT), callApi(getStudentByGender, setStudentByGender, []), callApi(getStudentPressure, setStudentPressure, initStudentPressure), callApi(getOverallReadinessToLearn, setDataOverallReadyToLearn, INITIAL_OVERALL_READY_TO_LEARN)])).then(function () {
|
|
29357
29554
|
dispatch(setLoading(false));
|
|
29358
29555
|
});
|
|
29359
29556
|
} catch (e) {
|
|
@@ -29374,9 +29571,9 @@ var useDashboard = function useDashboard() {
|
|
|
29374
29571
|
setFilter: setFilter,
|
|
29375
29572
|
filter: filter,
|
|
29376
29573
|
listTotalTime: listTotalTime,
|
|
29574
|
+
readinessToLearning: readinessToLearning,
|
|
29377
29575
|
topLearningStrategies: topLearningStrategies,
|
|
29378
29576
|
studentByGrade: studentByGrade,
|
|
29379
|
-
learningProgress: learningProgress,
|
|
29380
29577
|
friendCircles: friendCircles,
|
|
29381
29578
|
activityCircles: activityCircles,
|
|
29382
29579
|
studentBySpecialNeed: studentBySpecialNeed,
|
|
@@ -29404,19 +29601,24 @@ var useDashboard = function useDashboard() {
|
|
|
29404
29601
|
successIndicatorsData: successIndicatorsData,
|
|
29405
29602
|
activeColumnSuccessIndicators: activeColumnSuccessIndicators,
|
|
29406
29603
|
activeColumnPreparedness: activeColumnPreparedness,
|
|
29407
|
-
seriesLearningProgress: seriesLearningProgress,
|
|
29408
|
-
monthsLearningProgress: monthsLearningProgress,
|
|
29409
|
-
dayOfWeekLearningProgress: dayOfWeekLearningProgress,
|
|
29410
29604
|
avgQuestionLastMonth: avgQuestionLastMonth,
|
|
29411
29605
|
gradeList: gradeList,
|
|
29412
29606
|
studentPressure: studentPressure,
|
|
29413
|
-
dataOverallReadyToLearn: dataOverallReadyToLearn
|
|
29607
|
+
dataOverallReadyToLearn: dataOverallReadyToLearn,
|
|
29608
|
+
seriesConference: seriesConference,
|
|
29609
|
+
avgConferenceLastMonth: avgConferenceLastMonth,
|
|
29610
|
+
dataConvertedConference: dataConvertedConference,
|
|
29611
|
+
monthsConference: monthsConference,
|
|
29612
|
+
dayOfWeekConference: dayOfWeekConference,
|
|
29613
|
+
handleActiveColumnConference: handleActiveColumnConference,
|
|
29614
|
+
activeColumnConference: activeColumnConference
|
|
29414
29615
|
};
|
|
29415
29616
|
};
|
|
29416
29617
|
|
|
29417
29618
|
var useChartDatas = function useChartDatas() {
|
|
29418
29619
|
var _useDashboard = useDashboard(),
|
|
29419
29620
|
topLearningStrategies = _useDashboard.topLearningStrategies,
|
|
29621
|
+
readinessToLearning = _useDashboard.readinessToLearning,
|
|
29420
29622
|
handleChangeFilters = _useDashboard.handleChangeFilters,
|
|
29421
29623
|
handleChangeAcademicYearFilters = _useDashboard.handleChangeAcademicYearFilters,
|
|
29422
29624
|
bandScore = _useDashboard.bandScore,
|
|
@@ -29439,11 +29641,15 @@ var useChartDatas = function useChartDatas() {
|
|
|
29439
29641
|
preparednessData = _useDashboard.preparednessData,
|
|
29440
29642
|
safetyData = _useDashboard.safetyData,
|
|
29441
29643
|
stressData = _useDashboard.stressData,
|
|
29442
|
-
seriesLearningProgress = _useDashboard.seriesLearningProgress,
|
|
29443
|
-
monthsLearningProgress = _useDashboard.monthsLearningProgress,
|
|
29444
|
-
dayOfWeekLearningProgress = _useDashboard.dayOfWeekLearningProgress,
|
|
29445
29644
|
avgQuestionLastMonth = _useDashboard.avgQuestionLastMonth,
|
|
29446
|
-
gradeList = _useDashboard.gradeList
|
|
29645
|
+
gradeList = _useDashboard.gradeList,
|
|
29646
|
+
seriesConference = _useDashboard.seriesConference,
|
|
29647
|
+
avgConferenceLastMonth = _useDashboard.avgConferenceLastMonth,
|
|
29648
|
+
dataConvertedConference = _useDashboard.dataConvertedConference,
|
|
29649
|
+
monthsConference = _useDashboard.monthsConference,
|
|
29650
|
+
dayOfWeekConference = _useDashboard.dayOfWeekConference,
|
|
29651
|
+
handleActiveColumnConference = _useDashboard.handleActiveColumnConference,
|
|
29652
|
+
activeColumnConference = _useDashboard.activeColumnConference;
|
|
29447
29653
|
|
|
29448
29654
|
var _useState = useState([]),
|
|
29449
29655
|
selectedToPrint = _useState[0],
|
|
@@ -29598,12 +29804,17 @@ var useChartDatas = function useChartDatas() {
|
|
|
29598
29804
|
preparednessData: preparednessData,
|
|
29599
29805
|
safetyData: safetyData,
|
|
29600
29806
|
stressData: stressData,
|
|
29601
|
-
|
|
29602
|
-
|
|
29603
|
-
|
|
29807
|
+
seriesConference: seriesConference,
|
|
29808
|
+
avgConferenceLastMonth: avgConferenceLastMonth,
|
|
29809
|
+
dataConvertedConference: dataConvertedConference,
|
|
29810
|
+
monthsConference: monthsConference,
|
|
29811
|
+
dayOfWeekConference: dayOfWeekConference,
|
|
29812
|
+
handleActiveColumnConference: handleActiveColumnConference,
|
|
29813
|
+
activeColumnConference: activeColumnConference,
|
|
29604
29814
|
avgQuestionLastMonth: avgQuestionLastMonth,
|
|
29605
29815
|
studentPressure: studentPressure,
|
|
29606
|
-
dataOverallReadyToLearn: dataOverallReadyToLearn
|
|
29816
|
+
dataOverallReadyToLearn: dataOverallReadyToLearn,
|
|
29817
|
+
readinessToLearning: readinessToLearning
|
|
29607
29818
|
};
|
|
29608
29819
|
};
|
|
29609
29820
|
|
|
@@ -30349,7 +30560,7 @@ var AreaChart = function AreaChart(_ref) {
|
|
|
30349
30560
|
return "<div class=" + styles$1["custom-tooltip"] + "> \n <p class=" + styles$1["custom-tooltip-month"] + "> " + dayOfWeek[dataPointIndex] + " </p>\n " + seriesItem.map(function (r, index) {
|
|
30350
30561
|
var _r$data$dataPointInde;
|
|
30351
30562
|
|
|
30352
|
-
return "<div class=" + styles$1["tooltip-data-box"] + ">\n <div class=" + styles$1["tooltip-data-cursor"] + " style=\"background: " + colorsItem[index] + "\"></div>\n <div class=" + styles$1["tooltip-data"] + ">\n <p class=" + styles$1["name"] + ">" + r.name + ":</p>\n <p class=" + styles$1["data"] + ">" + ((_r$data$dataPointInde = r.data[dataPointIndex]) === null || _r$data$dataPointInde === void 0 ? void 0 : _r$data$dataPointInde.toFixed(2)) + "%</p>\n </div>\n </div>";
|
|
30563
|
+
return "<div key={" + index + "} class=" + styles$1["tooltip-data-box"] + ">\n <div class=" + styles$1["tooltip-data-cursor"] + " style=\"background: " + colorsItem[index] + "\"></div>\n <div class=" + styles$1["tooltip-data"] + ">\n <p class=" + styles$1["name"] + ">" + r.name + ":</p>\n <p class=" + styles$1["data"] + ">" + ((_r$data$dataPointInde = r.data[dataPointIndex]) === null || _r$data$dataPointInde === void 0 ? void 0 : _r$data$dataPointInde.toFixed(2)) + "%</p>\n </div>\n </div>";
|
|
30353
30564
|
}) + "\n </div>";
|
|
30354
30565
|
}
|
|
30355
30566
|
};
|
|
@@ -30467,6 +30678,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
|
|
|
30467
30678
|
return r.name.charAt(0).toUpperCase() + r.name.slice(1);
|
|
30468
30679
|
}) || [];
|
|
30469
30680
|
return React.createElement("div", {
|
|
30681
|
+
key: name,
|
|
30470
30682
|
className: "w-100 h-100 " + styles$1["column-chart-percent"]
|
|
30471
30683
|
}, React.createElement("div", {
|
|
30472
30684
|
className: "" + styles$1["header-chart-generate"]
|
|
@@ -30797,17 +31009,19 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
30797
31009
|
activeColumnPreparedness = props.activeColumnPreparedness,
|
|
30798
31010
|
activeColumnSuccessIndicators = props.activeColumnSuccessIndicators,
|
|
30799
31011
|
avgQuestionLastMonth = props.avgQuestionLastMonth,
|
|
30800
|
-
dayOfWeekLearningProgress = props.dayOfWeekLearningProgress,
|
|
30801
31012
|
dayOfWeekOneToOne = props.dayOfWeekOneToOne,
|
|
30802
|
-
monthsLearningProgress = props.monthsLearningProgress,
|
|
30803
31013
|
monthsOneToOne = props.monthsOneToOne,
|
|
30804
31014
|
preparednessData = props.preparednessData,
|
|
30805
31015
|
safetyData = props.safetyData,
|
|
30806
|
-
seriesLearningProgress = props.seriesLearningProgress,
|
|
30807
31016
|
stressData = props.stressData,
|
|
30808
31017
|
successIndicatorsData = props.successIndicatorsData,
|
|
30809
31018
|
topLearningStrategiesData = props.topLearningStrategiesData,
|
|
30810
|
-
timeOfDay = props.timeOfDay
|
|
31019
|
+
timeOfDay = props.timeOfDay,
|
|
31020
|
+
seriesConference = props.seriesConference,
|
|
31021
|
+
monthsConference = props.monthsConference,
|
|
31022
|
+
activeColumnConference = props.activeColumnConference,
|
|
31023
|
+
dayOfWeekConference = props.dayOfWeekConference,
|
|
31024
|
+
avgConferenceLastMonth = props.avgConferenceLastMonth;
|
|
30811
31025
|
|
|
30812
31026
|
var _useTranslation = useTranslation(),
|
|
30813
31027
|
t = _useTranslation.t;
|
|
@@ -31340,13 +31554,15 @@ var DashboardToPDF = function DashboardToPDF(props) {
|
|
|
31340
31554
|
width: "45%"
|
|
31341
31555
|
}
|
|
31342
31556
|
}, React.createElement(GenerateChartData, {
|
|
31343
|
-
colors: ["#73C8E5"],
|
|
31557
|
+
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
31558
|
+
name: "Learning Process",
|
|
31344
31559
|
typeChart: TYPECHART.AREA,
|
|
31345
|
-
activeColumn:
|
|
31346
|
-
series:
|
|
31347
|
-
months:
|
|
31348
|
-
dayOfWeek:
|
|
31349
|
-
avgQuestionLastMonth:
|
|
31560
|
+
activeColumn: activeColumnConference,
|
|
31561
|
+
series: seriesConference,
|
|
31562
|
+
months: monthsConference,
|
|
31563
|
+
dayOfWeek: dayOfWeekConference,
|
|
31564
|
+
avgQuestionLastMonth: avgConferenceLastMonth,
|
|
31565
|
+
timeOfDay: timeOfDay
|
|
31350
31566
|
})), React.createElement("div", {
|
|
31351
31567
|
id: "learning_strategy"
|
|
31352
31568
|
}, React.createElement(TopLearningStrategy$1, {
|
|
@@ -31614,6 +31830,60 @@ var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
|
31614
31830
|
})))));
|
|
31615
31831
|
};
|
|
31616
31832
|
|
|
31833
|
+
var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
31834
|
+
var data = _ref.data;
|
|
31835
|
+
|
|
31836
|
+
var _useTranslation = useTranslation(),
|
|
31837
|
+
t = _useTranslation.t;
|
|
31838
|
+
|
|
31839
|
+
if (!data) return React.createElement("div", {
|
|
31840
|
+
className: "flex justify-content-center align-items-center",
|
|
31841
|
+
style: {
|
|
31842
|
+
height: 450
|
|
31843
|
+
}
|
|
31844
|
+
}, React.createElement("div", null, "No Data"));
|
|
31845
|
+
var seriesName = seriesNameBubbleChartCustom(data);
|
|
31846
|
+
return React.createElement("div", {
|
|
31847
|
+
className: "" + styles$1["size-100"]
|
|
31848
|
+
}, React.createElement("div", {
|
|
31849
|
+
className: "" + styles$1["block-header-chart"]
|
|
31850
|
+
}, React.createElement("p", {
|
|
31851
|
+
className: styles$1["title-chart"] + " " + styles$1["ml-10"]
|
|
31852
|
+
}, t(studentDistribution))), React.createElement("div", {
|
|
31853
|
+
className: "" + styles$1["bubble-chart-custom"]
|
|
31854
|
+
}, React.createElement("div", {
|
|
31855
|
+
className: styles$1["chart-custom"]
|
|
31856
|
+
}, React.createElement("div", {
|
|
31857
|
+
className: styles$1["chart-buddle"]
|
|
31858
|
+
}, React.createElement("div", null, React.createElement("div", {
|
|
31859
|
+
className: styles$1["legend-wrap"]
|
|
31860
|
+
}, seriesName.map(function (i, index) {
|
|
31861
|
+
return React.createElement("div", {
|
|
31862
|
+
className: "" + styles$1["item"],
|
|
31863
|
+
key: index
|
|
31864
|
+
}, React.createElement("div", {
|
|
31865
|
+
className: "" + styles$1["mark-custom"],
|
|
31866
|
+
style: {
|
|
31867
|
+
backgroundColor: COLOR_CHART_BUBBLE[index]
|
|
31868
|
+
}
|
|
31869
|
+
}), React.createElement("label", {
|
|
31870
|
+
className: "" + styles$1["label-legend-custom"]
|
|
31871
|
+
}, i));
|
|
31872
|
+
})), React.createElement(Chart, {
|
|
31873
|
+
options: readinesToLearnoptions(seriesName, data),
|
|
31874
|
+
type: "scatter",
|
|
31875
|
+
series: convertDataToSeriesBullderChart(data),
|
|
31876
|
+
width: "100%",
|
|
31877
|
+
height: 250
|
|
31878
|
+
}))))));
|
|
31879
|
+
};
|
|
31880
|
+
|
|
31881
|
+
function propsAreEqual$1(prevProps, nextProps) {
|
|
31882
|
+
return JSON.stringify(prevProps === null || prevProps === void 0 ? void 0 : prevProps.data) === JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.data);
|
|
31883
|
+
}
|
|
31884
|
+
|
|
31885
|
+
var BubbleChartCustom$1 = React.memo(BubbleChartCustom, propsAreEqual$1);
|
|
31886
|
+
|
|
31617
31887
|
var Dashboard = function Dashboard() {
|
|
31618
31888
|
var _useChartDatas = useChartDatas(),
|
|
31619
31889
|
user = _useChartDatas.user,
|
|
@@ -31635,12 +31905,16 @@ var Dashboard = function Dashboard() {
|
|
|
31635
31905
|
preparednessData = _useChartDatas.preparednessData,
|
|
31636
31906
|
safetyData = _useChartDatas.safetyData,
|
|
31637
31907
|
stressData = _useChartDatas.stressData,
|
|
31638
|
-
|
|
31639
|
-
|
|
31640
|
-
|
|
31908
|
+
seriesConference = _useChartDatas.seriesConference,
|
|
31909
|
+
avgConferenceLastMonth = _useChartDatas.avgConferenceLastMonth,
|
|
31910
|
+
monthsConference = _useChartDatas.monthsConference,
|
|
31911
|
+
dayOfWeekConference = _useChartDatas.dayOfWeekConference,
|
|
31912
|
+
activeColumnConference = _useChartDatas.activeColumnConference,
|
|
31913
|
+
handleActiveColumnConference = _useChartDatas.handleActiveColumnConference,
|
|
31641
31914
|
avgQuestionLastMonth = _useChartDatas.avgQuestionLastMonth,
|
|
31642
31915
|
studentPressure = _useChartDatas.studentPressure,
|
|
31643
|
-
dataOverallReadyToLearn = _useChartDatas.dataOverallReadyToLearn
|
|
31916
|
+
dataOverallReadyToLearn = _useChartDatas.dataOverallReadyToLearn,
|
|
31917
|
+
readinessToLearning = _useChartDatas.readinessToLearning;
|
|
31644
31918
|
|
|
31645
31919
|
var _useBehavior = useBehavior(),
|
|
31646
31920
|
chartIsOpened = _useBehavior.chartIsOpened,
|
|
@@ -31708,16 +31982,18 @@ var Dashboard = function Dashboard() {
|
|
|
31708
31982
|
activeColumnPreparedness: activeColumnPreparedness,
|
|
31709
31983
|
activeColumnSuccessIndicators: activeColumnSuccessIndicators,
|
|
31710
31984
|
avgQuestionLastMonth: avgQuestionLastMonth,
|
|
31711
|
-
dayOfWeekLearningProgress: dayOfWeekLearningProgress,
|
|
31712
31985
|
dayOfWeekOneToOne: dayOfWeekOneToOne,
|
|
31713
|
-
monthsLearningProgress: monthsLearningProgress,
|
|
31714
31986
|
monthsOneToOne: monthsOneToOne,
|
|
31715
31987
|
preparednessData: preparednessData,
|
|
31716
31988
|
safetyData: safetyData,
|
|
31717
|
-
seriesLearningProgress: seriesLearningProgress,
|
|
31718
31989
|
stressData: stressData,
|
|
31719
31990
|
successIndicatorsData: successIndicatorsData,
|
|
31720
|
-
timeOfDay: filter.optionDate
|
|
31991
|
+
timeOfDay: filter.optionDate,
|
|
31992
|
+
seriesConference: seriesConference,
|
|
31993
|
+
monthsConference: monthsConference,
|
|
31994
|
+
activeColumnConference: activeColumnConference,
|
|
31995
|
+
dayOfWeekConference: dayOfWeekConference,
|
|
31996
|
+
avgConferenceLastMonth: avgConferenceLastMonth
|
|
31721
31997
|
}))), React.createElement("div", {
|
|
31722
31998
|
className: "d-flex align-items-center justify-content-between"
|
|
31723
31999
|
}, React.createElement("div", {
|
|
@@ -31860,11 +32136,13 @@ var Dashboard = function Dashboard() {
|
|
|
31860
32136
|
dayOfWeek: dayOfWeekOneToOne,
|
|
31861
32137
|
timeOfDay: filter.optionDate,
|
|
31862
32138
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
|
|
32139
|
+
}), React.createElement(BubbleChartCustom$1, {
|
|
32140
|
+
data: readinessToLearning
|
|
31863
32141
|
}), React.createElement("div", {
|
|
31864
32142
|
className: "" + styles$1["mt-15"]
|
|
31865
32143
|
}, React.createElement("p", {
|
|
31866
32144
|
className: "" + styles$1["title-chart"]
|
|
31867
|
-
},
|
|
32145
|
+
}, t(studentStressByZone)), React.createElement("div", {
|
|
31868
32146
|
className: "" + styles$1["box-chart-pressure"]
|
|
31869
32147
|
}, React.createElement(StudentPressureChart, {
|
|
31870
32148
|
studentPressure: studentPressure
|
|
@@ -31880,14 +32158,16 @@ var Dashboard = function Dashboard() {
|
|
|
31880
32158
|
}), React.createElement(Collapse, {
|
|
31881
32159
|
isOpen: chartIsOpened[1]
|
|
31882
32160
|
}, React.createElement(GenerateChartData, {
|
|
31883
|
-
colors: ["#73C8E5"],
|
|
32161
|
+
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
31884
32162
|
name: t(learningProcessName),
|
|
31885
32163
|
typeChart: TYPECHART.AREA,
|
|
31886
|
-
|
|
31887
|
-
|
|
31888
|
-
|
|
31889
|
-
|
|
31890
|
-
|
|
32164
|
+
onActiveColumn: handleActiveColumnConference,
|
|
32165
|
+
activeColumn: activeColumnConference,
|
|
32166
|
+
series: seriesConference,
|
|
32167
|
+
months: monthsConference,
|
|
32168
|
+
dayOfWeek: dayOfWeekConference,
|
|
32169
|
+
avgQuestionLastMonth: avgConferenceLastMonth,
|
|
32170
|
+
timeOfDay: filter.optionDate
|
|
31891
32171
|
}), React.createElement(TopLearningStrategy$1, {
|
|
31892
32172
|
data: topLearningStrategies
|
|
31893
32173
|
}))));
|
|
@@ -33926,11 +34206,11 @@ var TopMostSurveyUsed = function TopMostSurveyUsed(_ref) {
|
|
|
33926
34206
|
}));
|
|
33927
34207
|
};
|
|
33928
34208
|
|
|
33929
|
-
var propsAreEqual$
|
|
34209
|
+
var propsAreEqual$2 = function propsAreEqual(preProps, nextProps) {
|
|
33930
34210
|
return JSON.stringify(preProps) === JSON.stringify(nextProps);
|
|
33931
34211
|
};
|
|
33932
34212
|
|
|
33933
|
-
var TopMostSurveyUsed$1 = React.memo(TopMostSurveyUsed, propsAreEqual$
|
|
34213
|
+
var TopMostSurveyUsed$1 = React.memo(TopMostSurveyUsed, propsAreEqual$2);
|
|
33934
34214
|
|
|
33935
34215
|
var maxSeries = function maxSeries(series) {
|
|
33936
34216
|
var max = 0;
|