mario-education 2.4.166-level → 2.4.167-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.
@@ -32166,7 +32166,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32166
32166
  var encodedUri = convertDataExportSession(data, filters.startDate, filters.endDate);
32167
32167
  var link = document.createElement("a");
32168
32168
  link.href = encodedUri;
32169
- link.download = "Sessions_Template.csv";
32169
+ link.download = "CheckIn_Template.csv";
32170
32170
  link.click();
32171
32171
  });
32172
32172
  }, function (err) {
@@ -32210,7 +32210,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32210
32210
  var learningAnswer = questionAnswer.length ? learningStrategyAnswers.find(function (i) {
32211
32211
  return "" + i.id == (questionAnswer === null || questionAnswer === void 0 ? void 0 : questionAnswer[0]);
32212
32212
  }) : null;
32213
- var questionText = learningAnswer ? "" + learningAnswer.text + (learningAnswer.questionText ? "/" + learningAnswer : '') : '';
32213
+ var questionText = learningAnswer ? "" + learningAnswer.text + (learningAnswer.questionText ? "/" + learningAnswer.questionText : '') : '';
32214
32214
  var ans = questionAnswer.length > 1 ? questionAnswer === null || questionAnswer === void 0 ? void 0 : questionAnswer[1] : "";
32215
32215
  return questionText ? "\n" + studentName + ", " + studentEmail + ", " + escapeCell(questionText) + ", " + escapeCell(ans) + ", " + teacherName + ", " + startTime : '';
32216
32216
  });
@@ -32227,7 +32227,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32227
32227
 
32228
32228
  var escapeCell = function escapeCell(value) {
32229
32229
  if (!value) return "";
32230
- return "\"" + value.replace(/"/g, '""').replaceAll("\n", " ") + "\"";
32230
+ return "" + value.replaceAll("\n", " ").replaceAll(",", ";");
32231
32231
  };
32232
32232
 
32233
32233
  return {