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.
package/dist/index.js CHANGED
@@ -32169,7 +32169,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32169
32169
  var encodedUri = convertDataExportSession(data, filters.startDate, filters.endDate);
32170
32170
  var link = document.createElement("a");
32171
32171
  link.href = encodedUri;
32172
- link.download = "Sessions_Template.csv";
32172
+ link.download = "CheckIn_Template.csv";
32173
32173
  link.click();
32174
32174
  });
32175
32175
  }, function (err) {
@@ -32213,7 +32213,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32213
32213
  var learningAnswer = questionAnswer.length ? learningStrategyAnswers.find(function (i) {
32214
32214
  return "" + i.id == (questionAnswer === null || questionAnswer === void 0 ? void 0 : questionAnswer[0]);
32215
32215
  }) : null;
32216
- var questionText = learningAnswer ? "" + learningAnswer.text + (learningAnswer.questionText ? "/" + learningAnswer : '') : '';
32216
+ var questionText = learningAnswer ? "" + learningAnswer.text + (learningAnswer.questionText ? "/" + learningAnswer.questionText : '') : '';
32217
32217
  var ans = questionAnswer.length > 1 ? questionAnswer === null || questionAnswer === void 0 ? void 0 : questionAnswer[1] : "";
32218
32218
  return questionText ? "\n" + studentName + ", " + studentEmail + ", " + escapeCell(questionText) + ", " + escapeCell(ans) + ", " + teacherName + ", " + startTime : '';
32219
32219
  });
@@ -32230,7 +32230,7 @@ var useExportSessionCsv = function useExportSessionCsv() {
32230
32230
 
32231
32231
  var escapeCell = function escapeCell(value) {
32232
32232
  if (!value) return "";
32233
- return "\"" + value.replace(/"/g, '""').replaceAll("\n", " ") + "\"";
32233
+ return "" + value.replaceAll("\n", " ").replaceAll(",", ";");
32234
32234
  };
32235
32235
 
32236
32236
  return {