mario-education 2.4.154-level → 2.4.156-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.
@@ -22528,7 +22528,7 @@ var TYPECHART;
22528
22528
  TYPECHART[TYPECHART["DONUT"] = 4] = "DONUT";
22529
22529
  })(TYPECHART || (TYPECHART = {}));
22530
22530
 
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"};
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","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
22532
 
22533
22533
  var CheckboxCustom = function CheckboxCustom(_ref) {
22534
22534
  var _ref$background = _ref.background,
@@ -28423,6 +28423,7 @@ var INITIAl_STUDENT_DASHBOARD = {
28423
28423
  };
28424
28424
  var COLOR_CHART_AND_PERCENTS = ["#73C8E5", "#97AFB9", "#FFB04F", "#FF7670", "#00B8B2", "#00B8FF", "#C6A762", "#C94645", "#006E60", "#336DDA", "#994700"];
28425
28425
  var COLOR_CHART_BUBBLE = ["#169490", "#316CD9", "#FFB04F", "#0F9655"];
28426
+ var PERCENT = [100, 80, 60, 40, 20, 0];
28426
28427
  var GENDER_OPTION = [{
28427
28428
  value: -1,
28428
28429
  label: "All"
@@ -28679,30 +28680,10 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
28679
28680
  show: false
28680
28681
  }
28681
28682
  },
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
- }, {
28683
+ yaxis: {
28702
28684
  min: 0,
28703
28685
  max: 100,
28704
28686
  tickAmount: 5,
28705
- opposite: true,
28706
28687
  axisBorder: {
28707
28688
  show: true
28708
28689
  },
@@ -28718,7 +28699,7 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
28718
28699
  return Math.round(value) !== value ? value.toFixed(2) + "%" : value + "%";
28719
28700
  }
28720
28701
  }
28721
- }],
28702
+ },
28722
28703
  tooltip: {
28723
28704
  enabled: true,
28724
28705
  x: {
@@ -29380,7 +29361,9 @@ var useDashboard = function useDashboard() {
29380
29361
  setSafetyData(newSeriesOneToOne.filter(function (r) {
29381
29362
  return r.name.toLocaleLowerCase() == SAFETY_QUESTION;
29382
29363
  }));
29383
- setPreparednessData(preparednessQuestionData);
29364
+ setPreparednessData(preparednessQuestionData.sort(function (a, b) {
29365
+ return a.name.localeCompare(b.name);
29366
+ }));
29384
29367
  setSuccessIndicatorsData(successIndicatorsQuestionData);
29385
29368
  setAvgQuestionLastMonth(data.overViewQuestionLastMonth);
29386
29369
  };
@@ -29679,6 +29662,23 @@ var useChartDatas = function useChartDatas() {
29679
29662
  selectedToPrint = _useState[0],
29680
29663
  setSelectedToPrint = _useState[1];
29681
29664
 
29665
+ var _useState2 = useState({
29666
+ calendar: {
29667
+ value: FILTER_YEAR.THIS_YEAR,
29668
+ label: "This Year"
29669
+ },
29670
+ gender: {
29671
+ value: 0,
29672
+ label: "All"
29673
+ },
29674
+ grade: -1,
29675
+ bandScore: -1,
29676
+ favoriteSurvey: -1,
29677
+ academicYearId: -1
29678
+ }),
29679
+ labelBox = _useState2[0],
29680
+ setLabelBox = _useState2[1];
29681
+
29682
29682
  var handleSelectToPrint = function handleSelectToPrint(chartName) {
29683
29683
  var _updateSelectToPrint;
29684
29684
 
@@ -29717,24 +29717,34 @@ var useChartDatas = function useChartDatas() {
29717
29717
  name: FILTER_NAME.Calendar,
29718
29718
  icon: "/images/calendar.svg",
29719
29719
  handleChangeFilters: handleChangeFilters,
29720
- option: CALENDAR_OPTIONS
29720
+ option: CALENDAR_OPTIONS,
29721
+ labelBox: labelBox,
29722
+ setLabelBox: setLabelBox
29721
29723
  }, {
29722
29724
  name: FILTER_NAME.StartDate,
29723
29725
  icon: "/images/calendar.svg",
29724
- handleChangeFilters: handleChangeFilters
29726
+ handleChangeFilters: handleChangeFilters,
29727
+ labelBox: labelBox,
29728
+ setLabelBox: setLabelBox
29725
29729
  }, {
29726
29730
  name: FILTER_NAME.EndDate,
29727
29731
  icon: "/images/calendar.svg",
29728
- handleChangeFilters: handleChangeFilters
29732
+ handleChangeFilters: handleChangeFilters,
29733
+ labelBox: labelBox,
29734
+ setLabelBox: setLabelBox
29729
29735
  }, {
29730
29736
  name: FILTER_NAME.Gender,
29731
29737
  icon: "/images/gender-icon.svg",
29732
29738
  handleChangeFilters: handleChangeFilters,
29733
- option: GENDER_OPTION
29739
+ option: GENDER_OPTION,
29740
+ labelBox: labelBox,
29741
+ setLabelBox: setLabelBox
29734
29742
  }, {
29735
29743
  name: FILTER_NAME.Grade,
29736
29744
  icon: "/images/star-icon.svg",
29737
29745
  handleChangeFilters: handleChangeFilters,
29746
+ labelBox: labelBox,
29747
+ setLabelBox: setLabelBox,
29738
29748
  option: [{
29739
29749
  value: -1,
29740
29750
  label: "All"
@@ -29743,6 +29753,8 @@ var useChartDatas = function useChartDatas() {
29743
29753
  name: FILTER_NAME.BandScore,
29744
29754
  icon: "/images/star-icon.svg",
29745
29755
  handleChangeFilters: handleChangeFilters,
29756
+ labelBox: labelBox,
29757
+ setLabelBox: setLabelBox,
29746
29758
  option: [{
29747
29759
  value: -1,
29748
29760
  label: "All"
@@ -29751,18 +29763,24 @@ var useChartDatas = function useChartDatas() {
29751
29763
  name: FILTER_NAME.AcademicYear,
29752
29764
  icon: "/images/student-icon.svg",
29753
29765
  handleChangeFilters: handleChangeAcademicYearFilters,
29754
- option: [].concat(academicYearItem)
29766
+ option: [].concat(academicYearItem),
29767
+ labelBox: labelBox,
29768
+ setLabelBox: setLabelBox
29755
29769
  }];
29756
29770
  var LIST_FILTERS_RIGHT = [{
29757
29771
  name: FILTER_NAME.StudentName,
29758
29772
  icon: "/images/student-icon.svg",
29759
29773
  handleChangeFilters: handleFilterStudent,
29760
29774
  studentId: filter.studentId,
29775
+ labelBox: labelBox,
29776
+ setLabelBox: setLabelBox,
29761
29777
  studentDefault: studentDefault
29762
29778
  }, {
29763
29779
  name: FILTER_NAME.TeacherName,
29764
29780
  icon: "/images/teacher-icon.svg",
29765
29781
  handleChangeFilters: handleFilterTeacher,
29782
+ labelBox: labelBox,
29783
+ setLabelBox: setLabelBox,
29766
29784
  studentId: filter.studentId
29767
29785
  }];
29768
29786
  var totalCardData = [{
@@ -29993,7 +30011,9 @@ var SelectFilter = function SelectFilter(_ref) {
29993
30011
  btnStyle = _ref.btnStyle,
29994
30012
  filter = _ref.filter,
29995
30013
  teacherUserId = _ref.teacherUserId,
29996
- changeCurrentTeacherUserId = _ref.changeCurrentTeacherUserId;
30014
+ changeCurrentTeacherUserId = _ref.changeCurrentTeacherUserId,
30015
+ labelBox = _ref.labelBox,
30016
+ setLabelBox = _ref.setLabelBox;
29997
30017
 
29998
30018
  var _useTranslation = useTranslation(),
29999
30019
  t = _useTranslation.t;
@@ -30004,30 +30024,13 @@ var SelectFilter = function SelectFilter(_ref) {
30004
30024
  isOpenCollapse = _useState[0],
30005
30025
  setIsOpenCollapse = _useState[1];
30006
30026
 
30007
- var _useState2 = useState({
30008
- calendar: {
30009
- value: FILTER_YEAR.THIS_YEAR,
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];
30027
+ var _useState2 = useState(""),
30028
+ teacherName = _useState2[0],
30029
+ setTeacherName = _useState2[1];
30023
30030
 
30024
30031
  var _useState3 = useState(""),
30025
- teacherName = _useState3[0],
30026
- setTeacherName = _useState3[1];
30027
-
30028
- var _useState4 = useState(""),
30029
- studentName = _useState4[0],
30030
- setStudentName = _useState4[1];
30032
+ studentName = _useState3[0],
30033
+ setStudentName = _useState3[1];
30031
30034
 
30032
30035
  var handleToggleCollapse = function handleToggleCollapse() {
30033
30036
  setIsOpenCollapse(!isOpenCollapse);
@@ -30039,6 +30042,9 @@ var SelectFilter = function SelectFilter(_ref) {
30039
30042
  optionDate: ""
30040
30043
  });
30041
30044
  setIsOpenCollapse(false);
30045
+ setLabelBox(_extends({}, labelBox, {
30046
+ calendarTime: undefined
30047
+ }));
30042
30048
  };
30043
30049
 
30044
30050
  var handleChangeEndDate = function handleChangeEndDate(date) {
@@ -30047,6 +30053,9 @@ var SelectFilter = function SelectFilter(_ref) {
30047
30053
  optionDate: ""
30048
30054
  });
30049
30055
  setIsOpenCollapse(false);
30056
+ setLabelBox(_extends({}, labelBox, {
30057
+ calendarTime: undefined
30058
+ }));
30050
30059
  };
30051
30060
 
30052
30061
  var onChangeGender = function onChangeGender(item) {
@@ -30079,13 +30088,15 @@ var SelectFilter = function SelectFilter(_ref) {
30079
30088
 
30080
30089
  var onChangeAcademicYear = function onChangeAcademicYear(option) {
30081
30090
  setLabelBox(_extends({}, labelBox, {
30082
- academicYearId: option.value
30091
+ academicYearId: option.value,
30092
+ calendarTime: undefined
30083
30093
  }));
30084
30094
  !!onChangeFilters && onChangeFilters(_extends({}, filter, {
30085
30095
  startDate: moment(option === null || option === void 0 ? void 0 : option.startTime).startOf("day").valueOf(),
30086
30096
  endDate: moment(option === null || option === void 0 ? void 0 : option.endTime).endOf("day").valueOf(),
30087
30097
  academicYearId: option === null || option === void 0 ? void 0 : option.value,
30088
- grade: []
30098
+ grade: [],
30099
+ optionDate: ""
30089
30100
  }));
30090
30101
  };
30091
30102
 
@@ -30718,7 +30729,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
30718
30729
  })), React.createElement("div", {
30719
30730
  className: styles$1["listItem"] + " " + (!onActiveColumn && styles$1["ml-10"])
30720
30731
  }, series.map(function (item, index) {
30721
- var _handleAveraged$toFix, _handleAveraged, _avgs$index, _avgs$index2;
30732
+ var _handleAveraged$toFix, _handleAveraged, _Math$abs, _Math$abs2;
30722
30733
 
30723
30734
  var isStressQuestion = item.name.toLocaleLowerCase().includes("stress");
30724
30735
  var classArrowUp = !isStressQuestion ? "arrow-up" : "arrow-down";
@@ -30761,7 +30772,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
30761
30772
  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
30773
  })), React.createElement("p", {
30763
30774
  className: styles$1["percent-text"] + " " + styles$1[classArrowDown]
30764
- }, ((_avgs$index = avgs[index]) === null || _avgs$index === void 0 ? void 0 : _avgs$index.toFixed(2)) + "%")) : React.createElement("div", {
30775
+ }, ((_Math$abs = Math.abs(avgs[index] || 0)) === null || _Math$abs === void 0 ? void 0 : _Math$abs.toFixed(2)) + "%")) : React.createElement("div", {
30765
30776
  className: "" + styles$1["arr"]
30766
30777
  }, React.createElement("svg", {
30767
30778
  xmlns: "http://www.w3.org/2000/svg",
@@ -30772,7 +30783,7 @@ var GenerateChartData = function GenerateChartData(_ref) {
30772
30783
  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
30784
  })), React.createElement("p", {
30774
30785
  className: styles$1["percent-text"] + " " + styles$1[classArrowUp]
30775
- }, ((_avgs$index2 = avgs[index]) === null || _avgs$index2 === void 0 ? void 0 : _avgs$index2.toFixed(2)) + "%")), React.createElement("p", {
30786
+ }, ((_Math$abs2 = Math.abs(avgs[index] || 0)) === null || _Math$abs2 === void 0 ? void 0 : _Math$abs2.toFixed(2)) + "%")), React.createElement("p", {
30776
30787
  className: "" + styles$1["month-text"]
30777
30788
  }, "vs last " + timeOfDay))));
30778
30789
  })), React.createElement("div", {
@@ -31059,8 +31070,13 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
31059
31070
  }, React.createElement("div", {
31060
31071
  className: styles$1["chart-custom"]
31061
31072
  }, React.createElement("div", {
31062
- className: styles$1["chart-buddle"]
31063
- }, React.createElement("div", null, React.createElement("div", {
31073
+ className: styles$1["list-percent"]
31074
+ }, PERCENT.map(function (i, index) {
31075
+ return React.createElement("div", {
31076
+ className: "" + styles$1["percent-item"],
31077
+ key: index
31078
+ }, i, "%");
31079
+ })), React.createElement("div", {
31064
31080
  className: styles$1["legend-wrap"]
31065
31081
  }, seriesName.map(function (i, index) {
31066
31082
  return React.createElement("div", {
@@ -31074,7 +31090,9 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
31074
31090
  }), React.createElement("label", {
31075
31091
  className: "" + styles$1["label-legend-custom"]
31076
31092
  }, i));
31077
- })), React.createElement(Chart, {
31093
+ })), React.createElement("div", {
31094
+ className: styles$1["chart-buddle"]
31095
+ }, React.createElement("div", null, React.createElement(Chart, {
31078
31096
  options: readinesToLearnoptions(seriesName, data),
31079
31097
  type: "scatter",
31080
31098
  series: convertDataToSeriesBullderChart(data),
@@ -32136,6 +32154,7 @@ var Dashboard = function Dashboard() {
32136
32154
  setIsExpandChart(!isExpandChart);
32137
32155
  };
32138
32156
 
32157
+ var layoutReadinessToLearn = !isExpandChart ? 6 : 12;
32139
32158
  return React.createElement("div", {
32140
32159
  className: "" + styles$1["block-dashboard"]
32141
32160
  }, React.createElement(Modal, {
@@ -32234,7 +32253,9 @@ var Dashboard = function Dashboard() {
32234
32253
  handleChangeFilters: e.handleChangeFilters,
32235
32254
  filter: filter,
32236
32255
  option: e.option,
32237
- onChangeFilters: onChangeFilters
32256
+ onChangeFilters: onChangeFilters,
32257
+ labelBox: e.labelBox,
32258
+ setLabelBox: e.setLabelBox
32238
32259
  });
32239
32260
  })), React.createElement("div", {
32240
32261
  className: "d-flex flex-column " + styles$1["filter-wrapper-mobile"]
@@ -32242,6 +32263,8 @@ var Dashboard = function Dashboard() {
32242
32263
  return React.createElement(SelectFilter, {
32243
32264
  name: e.name,
32244
32265
  icon: e.icon,
32266
+ labelBox: e.labelBox,
32267
+ setLabelBox: e.setLabelBox,
32245
32268
  handleChangeFilters: e.handleChangeFilters,
32246
32269
  filter: filter,
32247
32270
  studentId: e.studentId || 0,
@@ -32262,6 +32285,8 @@ var Dashboard = function Dashboard() {
32262
32285
  return React.createElement(SelectFilter, {
32263
32286
  name: e.name,
32264
32287
  icon: e.icon,
32288
+ labelBox: e.labelBox,
32289
+ setLabelBox: e.setLabelBox,
32265
32290
  handleChangeFilters: e.handleChangeFilters,
32266
32291
  filter: filter,
32267
32292
  option: e.option,
@@ -32273,6 +32298,8 @@ var Dashboard = function Dashboard() {
32273
32298
  return React.createElement(SelectFilter, {
32274
32299
  name: e.name,
32275
32300
  icon: e.icon,
32301
+ labelBox: e.labelBox,
32302
+ setLabelBox: e.setLabelBox,
32276
32303
  handleChangeFilters: e.handleChangeFilters,
32277
32304
  filter: filter,
32278
32305
  studentId: e.studentId || 0,
@@ -32308,9 +32335,9 @@ var Dashboard = function Dashboard() {
32308
32335
  }), React.createElement(Collapse, {
32309
32336
  isOpen: chartIsOpened[0]
32310
32337
  }, React.createElement(Row, {
32311
- className: chartIsOpened[0] ? "d-flex" : "d-block"
32338
+ className: "d-flex"
32312
32339
  }, React.createElement(Col, {
32313
- md: !isExpandChart && chartIsOpened[0] ? 6 : 12
32340
+ md: chartIsOpened[0] ? layoutReadinessToLearn : 4
32314
32341
  }, React.createElement(GenerateChartData, {
32315
32342
  isShowExpandIcon: true,
32316
32343
  colors: ["#0F9655"],
@@ -32324,7 +32351,7 @@ var Dashboard = function Dashboard() {
32324
32351
  onExpand: handleToggleChartWidth,
32325
32352
  timeOfDay: filter.optionDate
32326
32353
  })), React.createElement(Col, {
32327
- md: !isExpandChart && chartIsOpened[0] ? 6 : 12,
32354
+ md: chartIsOpened[0] ? layoutReadinessToLearn : 4,
32328
32355
  className: ""
32329
32356
  }, React.createElement(GenerateChartData, {
32330
32357
  isShowExpandIcon: true,
@@ -32402,7 +32429,7 @@ var Dashboard = function Dashboard() {
32402
32429
  }, React.createElement(Row, null, React.createElement(Col, {
32403
32430
  md: !chartIsOpened[1] ? 6 : 12
32404
32431
  }, React.createElement(GenerateChartData, {
32405
- colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
32432
+ colors: ["#73C8E5", "#FFB04F", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
32406
32433
  name: t(learningProcessName),
32407
32434
  typeChart: TYPECHART.AREA,
32408
32435
  onActiveColumn: handleActiveColumnConference,