mario-education 2.4.155-level → 2.4.157-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/components/Select/SelectFilter.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +3 -1
- package/dist/index.css +2164 -2161
- package/dist/index.js +96 -66
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +96 -66
- package/dist/index.modern.js.map +1 -1
- package/package.json +98 -98
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +0 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +0 -18
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +0 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +0 -18
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{servicetype.interface.d.ts → serviceType.interface.d.ts} +0 -0
package/dist/index.modern.js
CHANGED
|
@@ -8113,7 +8113,9 @@ var UserList = function UserList() {
|
|
|
8113
8113
|
className: "align-middle"
|
|
8114
8114
|
}, record.email), React.createElement("td", {
|
|
8115
8115
|
className: "align-middle"
|
|
8116
|
-
}, !!record.roles && record.roles.
|
|
8116
|
+
}, !!record.roles && record.roles.map(function (role) {
|
|
8117
|
+
return role === "SecondaryTeacher" ? "SupportTeacher" : role;
|
|
8118
|
+
}).join(", ")));
|
|
8117
8119
|
})))) : React.createElement(EmptyDataAlert, {
|
|
8118
8120
|
label: "user"
|
|
8119
8121
|
})), React.createElement(Col, {
|
|
@@ -9600,7 +9602,9 @@ var WelcomeEmailResend = function WelcomeEmailResend() {
|
|
|
9600
9602
|
className: "align-middle"
|
|
9601
9603
|
}, item.email), React.createElement("td", {
|
|
9602
9604
|
className: "align-middle"
|
|
9603
|
-
}, !!item.roles && item.roles.
|
|
9605
|
+
}, !!item.roles && item.roles.map(function (role) {
|
|
9606
|
+
return role === "SecondaryTeacher" ? "SupportTeacher" : role;
|
|
9607
|
+
}).join(", ")), React.createElement("td", {
|
|
9604
9608
|
className: "align-middle"
|
|
9605
9609
|
}, React.createElement(LinkEditButton, {
|
|
9606
9610
|
label: "Send",
|
|
@@ -22528,7 +22532,7 @@ var TYPECHART;
|
|
|
22528
22532
|
TYPECHART[TYPECHART["DONUT"] = 4] = "DONUT";
|
|
22529
22533
|
})(TYPECHART || (TYPECHART = {}));
|
|
22530
22534
|
|
|
22531
|
-
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","filter-mobile-block":"_1tKnn","filter-wrapper-mobile":"_1Zuq3","total-card-wrapper":"_1i0El"};
|
|
22535
|
+
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","chart-buddle":"_TPa6x","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","filter-mobile-block":"_1tKnn","filter-wrapper-mobile":"_1Zuq3","total-card-wrapper":"_1i0El"};
|
|
22532
22536
|
|
|
22533
22537
|
var CheckboxCustom = function CheckboxCustom(_ref) {
|
|
22534
22538
|
var _ref$background = _ref.background,
|
|
@@ -28423,6 +28427,7 @@ var INITIAl_STUDENT_DASHBOARD = {
|
|
|
28423
28427
|
};
|
|
28424
28428
|
var COLOR_CHART_AND_PERCENTS = ["#73C8E5", "#97AFB9", "#FFB04F", "#FF7670", "#00B8B2", "#00B8FF", "#C6A762", "#C94645", "#006E60", "#336DDA", "#994700"];
|
|
28425
28429
|
var COLOR_CHART_BUBBLE = ["#169490", "#316CD9", "#FFB04F", "#0F9655"];
|
|
28430
|
+
var PERCENT = [100, 80, 60, 40, 20, 0];
|
|
28426
28431
|
var GENDER_OPTION = [{
|
|
28427
28432
|
value: -1,
|
|
28428
28433
|
label: "All"
|
|
@@ -28468,7 +28473,7 @@ var SUCCESS_INDICATORS_QUESTION = ["well-being", "growth", "relationships", "pro
|
|
|
28468
28473
|
var SAFETY_QUESTION = "safety";
|
|
28469
28474
|
var STRESS_QUESTION = "stress";
|
|
28470
28475
|
var readinessToLearnName = "readiness_to_learn";
|
|
28471
|
-
var preparednessChartName = "
|
|
28476
|
+
var preparednessChartName = "Readiness To Learn";
|
|
28472
28477
|
var averageStudentSafetyName = "average_student_safety";
|
|
28473
28478
|
var averageStudentStressName = "average_student_stress";
|
|
28474
28479
|
var successIndicatorsName = "success_indicators";
|
|
@@ -28679,30 +28684,10 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
28679
28684
|
show: false
|
|
28680
28685
|
}
|
|
28681
28686
|
},
|
|
28682
|
-
yaxis:
|
|
28683
|
-
min: 0,
|
|
28684
|
-
max: 100,
|
|
28685
|
-
tickAmount: 5,
|
|
28686
|
-
axisBorder: {
|
|
28687
|
-
show: true
|
|
28688
|
-
},
|
|
28689
|
-
labels: {
|
|
28690
|
-
style: {
|
|
28691
|
-
colors: "#D3D3D3",
|
|
28692
|
-
fontSize: "16px",
|
|
28693
|
-
fontFamily: "Roboto",
|
|
28694
|
-
fontWeight: 400,
|
|
28695
|
-
cssClass: "apexcharts-yaxis-label"
|
|
28696
|
-
},
|
|
28697
|
-
formatter: function formatter(value) {
|
|
28698
|
-
return Math.round(value) !== value ? value.toFixed(2) + "%" : value + "%";
|
|
28699
|
-
}
|
|
28700
|
-
}
|
|
28701
|
-
}, {
|
|
28687
|
+
yaxis: {
|
|
28702
28688
|
min: 0,
|
|
28703
28689
|
max: 100,
|
|
28704
28690
|
tickAmount: 5,
|
|
28705
|
-
opposite: true,
|
|
28706
28691
|
axisBorder: {
|
|
28707
28692
|
show: true
|
|
28708
28693
|
},
|
|
@@ -28718,7 +28703,7 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
28718
28703
|
return Math.round(value) !== value ? value.toFixed(2) + "%" : value + "%";
|
|
28719
28704
|
}
|
|
28720
28705
|
}
|
|
28721
|
-
}
|
|
28706
|
+
},
|
|
28722
28707
|
tooltip: {
|
|
28723
28708
|
enabled: true,
|
|
28724
28709
|
x: {
|
|
@@ -29380,7 +29365,9 @@ var useDashboard = function useDashboard() {
|
|
|
29380
29365
|
setSafetyData(newSeriesOneToOne.filter(function (r) {
|
|
29381
29366
|
return r.name.toLocaleLowerCase() == SAFETY_QUESTION;
|
|
29382
29367
|
}));
|
|
29383
|
-
setPreparednessData(preparednessQuestionData)
|
|
29368
|
+
setPreparednessData(preparednessQuestionData.sort(function (a, b) {
|
|
29369
|
+
return a.name.localeCompare(b.name);
|
|
29370
|
+
}));
|
|
29384
29371
|
setSuccessIndicatorsData(successIndicatorsQuestionData);
|
|
29385
29372
|
setAvgQuestionLastMonth(data.overViewQuestionLastMonth);
|
|
29386
29373
|
};
|
|
@@ -29679,6 +29666,23 @@ var useChartDatas = function useChartDatas() {
|
|
|
29679
29666
|
selectedToPrint = _useState[0],
|
|
29680
29667
|
setSelectedToPrint = _useState[1];
|
|
29681
29668
|
|
|
29669
|
+
var _useState2 = useState({
|
|
29670
|
+
calendar: {
|
|
29671
|
+
value: FILTER_YEAR.THIS_YEAR,
|
|
29672
|
+
label: "This Year"
|
|
29673
|
+
},
|
|
29674
|
+
gender: {
|
|
29675
|
+
value: 0,
|
|
29676
|
+
label: "All"
|
|
29677
|
+
},
|
|
29678
|
+
grade: -1,
|
|
29679
|
+
bandScore: -1,
|
|
29680
|
+
favoriteSurvey: -1,
|
|
29681
|
+
academicYearId: -1
|
|
29682
|
+
}),
|
|
29683
|
+
labelBox = _useState2[0],
|
|
29684
|
+
setLabelBox = _useState2[1];
|
|
29685
|
+
|
|
29682
29686
|
var handleSelectToPrint = function handleSelectToPrint(chartName) {
|
|
29683
29687
|
var _updateSelectToPrint;
|
|
29684
29688
|
|
|
@@ -29717,24 +29721,34 @@ var useChartDatas = function useChartDatas() {
|
|
|
29717
29721
|
name: FILTER_NAME.Calendar,
|
|
29718
29722
|
icon: "/images/calendar.svg",
|
|
29719
29723
|
handleChangeFilters: handleChangeFilters,
|
|
29720
|
-
option: CALENDAR_OPTIONS
|
|
29724
|
+
option: CALENDAR_OPTIONS,
|
|
29725
|
+
labelBox: labelBox,
|
|
29726
|
+
setLabelBox: setLabelBox
|
|
29721
29727
|
}, {
|
|
29722
29728
|
name: FILTER_NAME.StartDate,
|
|
29723
29729
|
icon: "/images/calendar.svg",
|
|
29724
|
-
handleChangeFilters: handleChangeFilters
|
|
29730
|
+
handleChangeFilters: handleChangeFilters,
|
|
29731
|
+
labelBox: labelBox,
|
|
29732
|
+
setLabelBox: setLabelBox
|
|
29725
29733
|
}, {
|
|
29726
29734
|
name: FILTER_NAME.EndDate,
|
|
29727
29735
|
icon: "/images/calendar.svg",
|
|
29728
|
-
handleChangeFilters: handleChangeFilters
|
|
29736
|
+
handleChangeFilters: handleChangeFilters,
|
|
29737
|
+
labelBox: labelBox,
|
|
29738
|
+
setLabelBox: setLabelBox
|
|
29729
29739
|
}, {
|
|
29730
29740
|
name: FILTER_NAME.Gender,
|
|
29731
29741
|
icon: "/images/gender-icon.svg",
|
|
29732
29742
|
handleChangeFilters: handleChangeFilters,
|
|
29733
|
-
option: GENDER_OPTION
|
|
29743
|
+
option: GENDER_OPTION,
|
|
29744
|
+
labelBox: labelBox,
|
|
29745
|
+
setLabelBox: setLabelBox
|
|
29734
29746
|
}, {
|
|
29735
29747
|
name: FILTER_NAME.Grade,
|
|
29736
29748
|
icon: "/images/star-icon.svg",
|
|
29737
29749
|
handleChangeFilters: handleChangeFilters,
|
|
29750
|
+
labelBox: labelBox,
|
|
29751
|
+
setLabelBox: setLabelBox,
|
|
29738
29752
|
option: [{
|
|
29739
29753
|
value: -1,
|
|
29740
29754
|
label: "All"
|
|
@@ -29743,6 +29757,8 @@ var useChartDatas = function useChartDatas() {
|
|
|
29743
29757
|
name: FILTER_NAME.BandScore,
|
|
29744
29758
|
icon: "/images/star-icon.svg",
|
|
29745
29759
|
handleChangeFilters: handleChangeFilters,
|
|
29760
|
+
labelBox: labelBox,
|
|
29761
|
+
setLabelBox: setLabelBox,
|
|
29746
29762
|
option: [{
|
|
29747
29763
|
value: -1,
|
|
29748
29764
|
label: "All"
|
|
@@ -29751,18 +29767,24 @@ var useChartDatas = function useChartDatas() {
|
|
|
29751
29767
|
name: FILTER_NAME.AcademicYear,
|
|
29752
29768
|
icon: "/images/student-icon.svg",
|
|
29753
29769
|
handleChangeFilters: handleChangeAcademicYearFilters,
|
|
29754
|
-
option: [].concat(academicYearItem)
|
|
29770
|
+
option: [].concat(academicYearItem),
|
|
29771
|
+
labelBox: labelBox,
|
|
29772
|
+
setLabelBox: setLabelBox
|
|
29755
29773
|
}];
|
|
29756
29774
|
var LIST_FILTERS_RIGHT = [{
|
|
29757
29775
|
name: FILTER_NAME.StudentName,
|
|
29758
29776
|
icon: "/images/student-icon.svg",
|
|
29759
29777
|
handleChangeFilters: handleFilterStudent,
|
|
29760
29778
|
studentId: filter.studentId,
|
|
29779
|
+
labelBox: labelBox,
|
|
29780
|
+
setLabelBox: setLabelBox,
|
|
29761
29781
|
studentDefault: studentDefault
|
|
29762
29782
|
}, {
|
|
29763
29783
|
name: FILTER_NAME.TeacherName,
|
|
29764
29784
|
icon: "/images/teacher-icon.svg",
|
|
29765
29785
|
handleChangeFilters: handleFilterTeacher,
|
|
29786
|
+
labelBox: labelBox,
|
|
29787
|
+
setLabelBox: setLabelBox,
|
|
29766
29788
|
studentId: filter.studentId
|
|
29767
29789
|
}];
|
|
29768
29790
|
var totalCardData = [{
|
|
@@ -29993,7 +30015,9 @@ var SelectFilter = function SelectFilter(_ref) {
|
|
|
29993
30015
|
btnStyle = _ref.btnStyle,
|
|
29994
30016
|
filter = _ref.filter,
|
|
29995
30017
|
teacherUserId = _ref.teacherUserId,
|
|
29996
|
-
changeCurrentTeacherUserId = _ref.changeCurrentTeacherUserId
|
|
30018
|
+
changeCurrentTeacherUserId = _ref.changeCurrentTeacherUserId,
|
|
30019
|
+
labelBox = _ref.labelBox,
|
|
30020
|
+
setLabelBox = _ref.setLabelBox;
|
|
29997
30021
|
|
|
29998
30022
|
var _useTranslation = useTranslation(),
|
|
29999
30023
|
t = _useTranslation.t;
|
|
@@ -30004,30 +30028,13 @@ var SelectFilter = function SelectFilter(_ref) {
|
|
|
30004
30028
|
isOpenCollapse = _useState[0],
|
|
30005
30029
|
setIsOpenCollapse = _useState[1];
|
|
30006
30030
|
|
|
30007
|
-
var _useState2 = useState(
|
|
30008
|
-
|
|
30009
|
-
|
|
30010
|
-
label: "This Year"
|
|
30011
|
-
},
|
|
30012
|
-
gender: {
|
|
30013
|
-
value: 0,
|
|
30014
|
-
label: "All"
|
|
30015
|
-
},
|
|
30016
|
-
grade: -1,
|
|
30017
|
-
bandScore: -1,
|
|
30018
|
-
favoriteSurvey: -1,
|
|
30019
|
-
academicYearId: -1
|
|
30020
|
-
}),
|
|
30021
|
-
labelBox = _useState2[0],
|
|
30022
|
-
setLabelBox = _useState2[1];
|
|
30031
|
+
var _useState2 = useState(""),
|
|
30032
|
+
teacherName = _useState2[0],
|
|
30033
|
+
setTeacherName = _useState2[1];
|
|
30023
30034
|
|
|
30024
30035
|
var _useState3 = useState(""),
|
|
30025
|
-
|
|
30026
|
-
|
|
30027
|
-
|
|
30028
|
-
var _useState4 = useState(""),
|
|
30029
|
-
studentName = _useState4[0],
|
|
30030
|
-
setStudentName = _useState4[1];
|
|
30036
|
+
studentName = _useState3[0],
|
|
30037
|
+
setStudentName = _useState3[1];
|
|
30031
30038
|
|
|
30032
30039
|
var handleToggleCollapse = function handleToggleCollapse() {
|
|
30033
30040
|
setIsOpenCollapse(!isOpenCollapse);
|
|
@@ -30039,6 +30046,9 @@ var SelectFilter = function SelectFilter(_ref) {
|
|
|
30039
30046
|
optionDate: ""
|
|
30040
30047
|
});
|
|
30041
30048
|
setIsOpenCollapse(false);
|
|
30049
|
+
setLabelBox(_extends({}, labelBox, {
|
|
30050
|
+
calendarTime: undefined
|
|
30051
|
+
}));
|
|
30042
30052
|
};
|
|
30043
30053
|
|
|
30044
30054
|
var handleChangeEndDate = function handleChangeEndDate(date) {
|
|
@@ -30047,6 +30057,9 @@ var SelectFilter = function SelectFilter(_ref) {
|
|
|
30047
30057
|
optionDate: ""
|
|
30048
30058
|
});
|
|
30049
30059
|
setIsOpenCollapse(false);
|
|
30060
|
+
setLabelBox(_extends({}, labelBox, {
|
|
30061
|
+
calendarTime: undefined
|
|
30062
|
+
}));
|
|
30050
30063
|
};
|
|
30051
30064
|
|
|
30052
30065
|
var onChangeGender = function onChangeGender(item) {
|
|
@@ -30079,13 +30092,15 @@ var SelectFilter = function SelectFilter(_ref) {
|
|
|
30079
30092
|
|
|
30080
30093
|
var onChangeAcademicYear = function onChangeAcademicYear(option) {
|
|
30081
30094
|
setLabelBox(_extends({}, labelBox, {
|
|
30082
|
-
academicYearId: option.value
|
|
30095
|
+
academicYearId: option.value,
|
|
30096
|
+
calendarTime: undefined
|
|
30083
30097
|
}));
|
|
30084
30098
|
!!onChangeFilters && onChangeFilters(_extends({}, filter, {
|
|
30085
30099
|
startDate: moment(option === null || option === void 0 ? void 0 : option.startTime).startOf("day").valueOf(),
|
|
30086
30100
|
endDate: moment(option === null || option === void 0 ? void 0 : option.endTime).endOf("day").valueOf(),
|
|
30087
30101
|
academicYearId: option === null || option === void 0 ? void 0 : option.value,
|
|
30088
|
-
grade: []
|
|
30102
|
+
grade: [],
|
|
30103
|
+
optionDate: ""
|
|
30089
30104
|
}));
|
|
30090
30105
|
};
|
|
30091
30106
|
|
|
@@ -30718,7 +30733,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
|
|
|
30718
30733
|
})), React.createElement("div", {
|
|
30719
30734
|
className: styles$1["listItem"] + " " + (!onActiveColumn && styles$1["ml-10"])
|
|
30720
30735
|
}, series.map(function (item, index) {
|
|
30721
|
-
var _handleAveraged$toFix, _handleAveraged,
|
|
30736
|
+
var _handleAveraged$toFix, _handleAveraged, _Math$abs, _Math$abs2;
|
|
30722
30737
|
|
|
30723
30738
|
var isStressQuestion = item.name.toLocaleLowerCase().includes("stress");
|
|
30724
30739
|
var classArrowUp = !isStressQuestion ? "arrow-up" : "arrow-down";
|
|
@@ -30761,7 +30776,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
|
|
|
30761
30776
|
d: "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"
|
|
30762
30777
|
})), React.createElement("p", {
|
|
30763
30778
|
className: styles$1["percent-text"] + " " + styles$1[classArrowDown]
|
|
30764
|
-
}, ((
|
|
30779
|
+
}, ((_Math$abs = Math.abs(avgs[index] || 0)) === null || _Math$abs === void 0 ? void 0 : _Math$abs.toFixed(2)) + "%")) : React.createElement("div", {
|
|
30765
30780
|
className: "" + styles$1["arr"]
|
|
30766
30781
|
}, React.createElement("svg", {
|
|
30767
30782
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -30772,7 +30787,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
|
|
|
30772
30787
|
d: "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"
|
|
30773
30788
|
})), React.createElement("p", {
|
|
30774
30789
|
className: styles$1["percent-text"] + " " + styles$1[classArrowUp]
|
|
30775
|
-
}, ((
|
|
30790
|
+
}, ((_Math$abs2 = Math.abs(avgs[index] || 0)) === null || _Math$abs2 === void 0 ? void 0 : _Math$abs2.toFixed(2)) + "%")), React.createElement("p", {
|
|
30776
30791
|
className: "" + styles$1["month-text"]
|
|
30777
30792
|
}, "vs last " + timeOfDay))));
|
|
30778
30793
|
})), React.createElement("div", {
|
|
@@ -31059,8 +31074,13 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
|
31059
31074
|
}, React.createElement("div", {
|
|
31060
31075
|
className: styles$1["chart-custom"]
|
|
31061
31076
|
}, React.createElement("div", {
|
|
31062
|
-
className: styles$1["
|
|
31063
|
-
},
|
|
31077
|
+
className: styles$1["list-percent"]
|
|
31078
|
+
}, PERCENT.map(function (i, index) {
|
|
31079
|
+
return React.createElement("div", {
|
|
31080
|
+
className: "" + styles$1["percent-item"],
|
|
31081
|
+
key: index
|
|
31082
|
+
}, i, "%");
|
|
31083
|
+
})), React.createElement("div", {
|
|
31064
31084
|
className: styles$1["legend-wrap"]
|
|
31065
31085
|
}, seriesName.map(function (i, index) {
|
|
31066
31086
|
return React.createElement("div", {
|
|
@@ -31074,7 +31094,9 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
|
31074
31094
|
}), React.createElement("label", {
|
|
31075
31095
|
className: "" + styles$1["label-legend-custom"]
|
|
31076
31096
|
}, i));
|
|
31077
|
-
})), React.createElement(
|
|
31097
|
+
})), React.createElement("div", {
|
|
31098
|
+
className: styles$1["chart-buddle"]
|
|
31099
|
+
}, React.createElement("div", null, React.createElement(Chart, {
|
|
31078
31100
|
options: readinesToLearnoptions(seriesName, data),
|
|
31079
31101
|
type: "scatter",
|
|
31080
31102
|
series: convertDataToSeriesBullderChart(data),
|
|
@@ -32235,7 +32257,9 @@ var Dashboard = function Dashboard() {
|
|
|
32235
32257
|
handleChangeFilters: e.handleChangeFilters,
|
|
32236
32258
|
filter: filter,
|
|
32237
32259
|
option: e.option,
|
|
32238
|
-
onChangeFilters: onChangeFilters
|
|
32260
|
+
onChangeFilters: onChangeFilters,
|
|
32261
|
+
labelBox: e.labelBox,
|
|
32262
|
+
setLabelBox: e.setLabelBox
|
|
32239
32263
|
});
|
|
32240
32264
|
})), React.createElement("div", {
|
|
32241
32265
|
className: "d-flex flex-column " + styles$1["filter-wrapper-mobile"]
|
|
@@ -32243,6 +32267,8 @@ var Dashboard = function Dashboard() {
|
|
|
32243
32267
|
return React.createElement(SelectFilter, {
|
|
32244
32268
|
name: e.name,
|
|
32245
32269
|
icon: e.icon,
|
|
32270
|
+
labelBox: e.labelBox,
|
|
32271
|
+
setLabelBox: e.setLabelBox,
|
|
32246
32272
|
handleChangeFilters: e.handleChangeFilters,
|
|
32247
32273
|
filter: filter,
|
|
32248
32274
|
studentId: e.studentId || 0,
|
|
@@ -32263,6 +32289,8 @@ var Dashboard = function Dashboard() {
|
|
|
32263
32289
|
return React.createElement(SelectFilter, {
|
|
32264
32290
|
name: e.name,
|
|
32265
32291
|
icon: e.icon,
|
|
32292
|
+
labelBox: e.labelBox,
|
|
32293
|
+
setLabelBox: e.setLabelBox,
|
|
32266
32294
|
handleChangeFilters: e.handleChangeFilters,
|
|
32267
32295
|
filter: filter,
|
|
32268
32296
|
option: e.option,
|
|
@@ -32274,6 +32302,8 @@ var Dashboard = function Dashboard() {
|
|
|
32274
32302
|
return React.createElement(SelectFilter, {
|
|
32275
32303
|
name: e.name,
|
|
32276
32304
|
icon: e.icon,
|
|
32305
|
+
labelBox: e.labelBox,
|
|
32306
|
+
setLabelBox: e.setLabelBox,
|
|
32277
32307
|
handleChangeFilters: e.handleChangeFilters,
|
|
32278
32308
|
filter: filter,
|
|
32279
32309
|
studentId: e.studentId || 0,
|
|
@@ -32345,7 +32375,7 @@ var Dashboard = function Dashboard() {
|
|
|
32345
32375
|
md: chartIsOpened[0] ? 7 : 12
|
|
32346
32376
|
}, React.createElement(GenerateChartData, {
|
|
32347
32377
|
colors: ["#169490", "#316CD9", "#FFB04F"],
|
|
32348
|
-
name:
|
|
32378
|
+
name: preparednessChartName,
|
|
32349
32379
|
typeChart: TYPECHART.AREA,
|
|
32350
32380
|
onActiveColumn: handleActiveColumnOneToOne,
|
|
32351
32381
|
activeColumn: activeColumnPreparedness,
|
|
@@ -32403,7 +32433,7 @@ var Dashboard = function Dashboard() {
|
|
|
32403
32433
|
}, React.createElement(Row, null, React.createElement(Col, {
|
|
32404
32434
|
md: !chartIsOpened[1] ? 6 : 12
|
|
32405
32435
|
}, React.createElement(GenerateChartData, {
|
|
32406
|
-
colors: ["#73C8E5", "#
|
|
32436
|
+
colors: ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
32407
32437
|
name: t(learningProcessName),
|
|
32408
32438
|
typeChart: TYPECHART.AREA,
|
|
32409
32439
|
onActiveColumn: handleActiveColumnConference,
|