mario-education 2.4.246-release → 2.4.248-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.
package/dist/index.js CHANGED
@@ -47635,7 +47635,7 @@ var readinesToLearnoptions$1 = function readinesToLearnoptions(seriesName, redir
47635
47635
  }
47636
47636
  };
47637
47637
 
47638
- if (isStudentResponses) {
47638
+ if (!isStudentResponses) {
47639
47639
  configToolTip = Object.assign(configToolTip, {
47640
47640
  z: {
47641
47641
  formatter: undefined,
@@ -47736,7 +47736,7 @@ var convertDataToSeriesBullderChart$1 = function convertDataToSeriesBullderChart
47736
47736
 
47737
47737
  return {
47738
47738
  name: i.questionText.replace("<p>", "").replace("</p>", ""),
47739
- data: isStudentResponses ? (_i$studentPercentQues = i.studentPercentQuestion) === null || _i$studentPercentQues === void 0 ? void 0 : _i$studentPercentQues.map(function (question) {
47739
+ data: !isStudentResponses ? (_i$studentPercentQues = i.studentPercentQuestion) === null || _i$studentPercentQues === void 0 ? void 0 : _i$studentPercentQues.map(function (question) {
47740
47740
  return [getRandomArbitrary$1(index * widthItem + widthItem * (30 / 100), (index + 1) * widthItem - widthItem * (30 / 100)), question.percentQuestion, question.studentName, question.studentId];
47741
47741
  }) : ((_i$studentPercentQues2 = i.studentPercentQuestion) === null || _i$studentPercentQues2 === void 0 ? void 0 : _i$studentPercentQues2.map(function (question) {
47742
47742
  return [getRandomArbitrary$1(index * widthItem + widthItem * (30 / 100), (index + 1) * widthItem - widthItem * (30 / 100)), question.percentQuestion];
@@ -49205,7 +49205,7 @@ var SurveyDetailAdmin = function SurveyDetailAdmin() {
49205
49205
  print: true,
49206
49206
  disableSeriesName: true,
49207
49207
  colors: ratingOfQuestionColors,
49208
- isStudentResponses: tabIndex == 0,
49208
+ isStudentResponses: tabIndex != 0,
49209
49209
  data: distributionSeries.filter(function (_r, index) {
49210
49210
  return activeColumnDistribution[index] == true;
49211
49211
  }) || [],