@digabi/exam-engine-core 19.6.0 → 19.7.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/__tests__/testExamRendering.js +1 -0
  2. package/dist/__tests__/testExamRendering.js.map +1 -1
  3. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  4. package/dist/__tests__/validateAnswers.test.js +3 -0
  5. package/dist/__tests__/validateAnswers.test.js.map +1 -1
  6. package/dist/components/SectionElement.js +1 -1
  7. package/dist/components/SectionElement.js.map +1 -1
  8. package/dist/components/attachments/Attachments.js +1 -1
  9. package/dist/components/attachments/Attachments.js.map +1 -1
  10. package/dist/components/attachments/ExternalMaterial.js +1 -1
  11. package/dist/components/attachments/ExternalMaterial.js.map +1 -1
  12. package/dist/components/exam/ChoiceAnswer.js +8 -10
  13. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  14. package/dist/components/exam/Exam.d.ts +1 -0
  15. package/dist/components/exam/Exam.d.ts.map +1 -1
  16. package/dist/components/exam/Exam.js +73 -15
  17. package/dist/components/exam/Exam.js.map +1 -1
  18. package/dist/components/exam/Hints.js +1 -1
  19. package/dist/components/exam/Hints.js.map +1 -1
  20. package/dist/components/exam/Question.d.ts.map +1 -1
  21. package/dist/components/exam/Question.js +6 -3
  22. package/dist/components/exam/Question.js.map +1 -1
  23. package/dist/components/exam/QuestionTitle.js +1 -1
  24. package/dist/components/exam/QuestionTitle.js.map +1 -1
  25. package/dist/components/exam/RichTextAnswer.js +2 -1
  26. package/dist/components/exam/RichTextAnswer.js.map +1 -1
  27. package/dist/components/exam/SectionTitle.js +1 -1
  28. package/dist/components/exam/SectionTitle.js.map +1 -1
  29. package/dist/components/exam/internal/ErrorIndicator.js +2 -2
  30. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  31. package/dist/components/exam/internal/TextAnswerInput.js +8 -10
  32. package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
  33. package/dist/components/grading-instructions/AutogradedAnswer.js +3 -3
  34. package/dist/components/grading-instructions/AutogradedAnswer.js.map +1 -1
  35. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  36. package/dist/components/grading-instructions/GradingInstructions.js +7 -3
  37. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  38. package/dist/components/results/ChoiceAnswer.js +7 -9
  39. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  40. package/dist/components/results/QuestionTitle.js +1 -1
  41. package/dist/components/results/QuestionTitle.js.map +1 -1
  42. package/dist/components/results/TextAnswer.js +9 -13
  43. package/dist/components/results/TextAnswer.js.map +1 -1
  44. package/dist/components/results/internal/QuestionManualScore.js +1 -1
  45. package/dist/components/results/internal/QuestionManualScore.js.map +1 -1
  46. package/dist/components/shared/AnswerIndicator.d.ts +11 -0
  47. package/dist/components/shared/AnswerIndicator.d.ts.map +1 -0
  48. package/dist/components/shared/AnswerIndicator.js +22 -0
  49. package/dist/components/shared/AnswerIndicator.js.map +1 -0
  50. package/dist/components/shared/AttachmentLink.js +2 -2
  51. package/dist/components/shared/AttachmentLink.js.map +1 -1
  52. package/dist/components/shared/AttachmentLinks.js +2 -2
  53. package/dist/components/shared/AttachmentLinks.js.map +1 -1
  54. package/dist/components/shared/Audio.js +1 -1
  55. package/dist/components/shared/Audio.js.map +1 -1
  56. package/dist/components/shared/ExamTranslation.d.ts +6 -0
  57. package/dist/components/shared/ExamTranslation.d.ts.map +1 -0
  58. package/dist/components/shared/ExamTranslation.js +10 -0
  59. package/dist/components/shared/ExamTranslation.js.map +1 -0
  60. package/dist/components/shared/Image.js +6 -8
  61. package/dist/components/shared/Image.js.map +1 -1
  62. package/dist/components/shared/ImageOverlay.js +2 -4
  63. package/dist/components/shared/ImageOverlay.js.map +1 -1
  64. package/dist/components/shared/QuestionNumber.d.ts +4 -0
  65. package/dist/components/shared/QuestionNumber.d.ts.map +1 -0
  66. package/dist/components/shared/QuestionNumber.js +12 -0
  67. package/dist/components/shared/QuestionNumber.js.map +1 -0
  68. package/dist/components/shared/Reference.js +2 -2
  69. package/dist/components/shared/Reference.js.map +1 -1
  70. package/dist/components/shared/TableOfContents.d.ts +3 -0
  71. package/dist/components/shared/TableOfContents.d.ts.map +1 -1
  72. package/dist/components/shared/TableOfContents.js +78 -26
  73. package/dist/components/shared/TableOfContents.js.map +1 -1
  74. package/dist/components/shared/Video.js +1 -1
  75. package/dist/components/shared/Video.js.map +1 -1
  76. package/dist/createRenderChildNodes.js +1 -1
  77. package/dist/createRenderChildNodes.js.map +1 -1
  78. package/dist/main-bundle.js +1 -1
  79. package/dist/main-bundle.js.LICENSE.txt +2 -16
  80. package/dist/main.css +1 -1
  81. package/dist/validateAnswers.d.ts +1 -0
  82. package/dist/validateAnswers.d.ts.map +1 -1
  83. package/dist/validateAnswers.js +1 -0
  84. package/dist/validateAnswers.js.map +1 -1
  85. package/package.json +2 -2
@@ -71,7 +71,11 @@ const GradingInstructions = ({ doc }) => {
71
71
  const examTitle = findChildElement(root, 'exam-title');
72
72
  const examGradingInstruction = findChildElement(root, 'exam-grading-instruction');
73
73
  const tableOfContents = findChildElement(root, 'table-of-contents');
74
- const TableOfContents = mkTableOfContents({ showAnsweringInstructions: false, showAttachmentLinks: false });
74
+ const TableOfContents = mkTableOfContents({
75
+ showAnsweringInstructions: false,
76
+ showAttachmentLinks: false,
77
+ answers: {},
78
+ });
75
79
  const i18n = useCached(() => initI18n(language, examCode, dayCode));
76
80
  useEffect(changeLanguage(i18n, language));
77
81
  useEffect(scrollToHash, []);
@@ -85,8 +89,8 @@ const GradingInstructions = ({ doc }) => {
85
89
  examTitle && renderChildNodes(examTitle)),
86
90
  date && (React.createElement("p", null,
87
91
  React.createElement("strong", null, dateTimeFormatter.format(date)))),
88
- examGradingInstruction && (React.createElement(ExamGradingInstruction, { ...{ element: examGradingInstruction, renderChildNodes } })),
89
- tableOfContents && React.createElement(TableOfContents, { ...{ element: tableOfContents, renderChildNodes } })),
92
+ examGradingInstruction && (React.createElement(ExamGradingInstruction, { element: examGradingInstruction, renderChildNodes })),
93
+ tableOfContents && React.createElement(TableOfContents, { element: tableOfContents, renderChildNodes })),
90
94
  renderChildNodes(root))));
91
95
  };
92
96
  // Wrap to a separate component, since we can't use translation hooks in the root component.
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructions.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,YAAY,MAAM,gBAAgB,CAAA;AACzC,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,IAAI,MAAM,gBAAgB,CAAA;AACjC,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,KAAK,MAAM,iBAAiB,CAAA;AACnC,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAA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AAI,EAAE,IAAI;QACzB,8BAAM,SAAS,EAAC,+BAA+B,EAAC,IAAI,EAAE,eAAe;YACnE,oBAAC,KAAK,CAAC,UAAU,OAAG;YACpB,oBAAC,cAAc,uBAAkB,WAAW;gBAC1C,oBAAC,aAAa,IAAC,EAAE,EAAE,WAAW;oBAC5B,oBAAC,4BAA4B,OAAG;;oBAAE,SAAS,IAAI,gBAAgB,CAAC,SAAS,CAAC,CAC5D;gBACf,IAAI,IAAI,CACP;oBACE,oCAAS,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAU,CAC/C,CACL;gBACA,sBAAsB,IAAI,CACzB,oBAAC,sBAAsB,OAAK,EAAE,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,GAAI,CACtF;gBACA,eAAe,IAAI,oBAAC,eAAe,OAAK,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAI,CAC5E;YAChB,gBAAgB,CAAC,IAAI,CAAC,CAClB,CACS,CACnB,CAAA;AACH,CAAC,CAAA;AAED,4FAA4F;AAC5F,MAAM,CAAC,MAAM,4BAA4B,GAA4B,GAAG,EAAE;IACxE,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,OAAO,0CAAG,CAAC,CAAC,iCAAiC,CAAC,CAAI,CAAA;AACpD,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"GradingInstructions.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,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AAE,sBAAsB,EAAE,gBAAgB,GAAM,CACtF;gBACA,eAAe,IAAI,oBAAC,eAAe,IAAO,OAAO,EAAE,eAAe,EAAE,gBAAgB,GAAM,CAC5E;YAChB,gBAAgB,CAAC,IAAI,CAAC,CAClB,CACS,CACnB,CAAA;AACH,CAAC,CAAA;AAED,4FAA4F;AAC5F,MAAM,CAAC,MAAM,4BAA4B,GAA4B,GAAG,EAAE;IACxE,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,OAAO,0CAAG,CAAC,CAAC,iCAAiC,CAAC,CAAI,CAAA;AACpD,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAA"}
@@ -42,15 +42,13 @@ function ChoiceAnswer({ element, renderChildNodes }) {
42
42
  const optionId = getNumericAttribute(childElement, 'option-id');
43
43
  const selected = answer != null && Number(answer.value) === optionId;
44
44
  const grading = choice.options.find((option) => option.id === optionId);
45
- return (React.createElement(ChoiceAnswerOption, { ...{
46
- element: childElement,
47
- renderChildNodes,
48
- questionId,
49
- key: optionId,
50
- direction,
51
- selected,
52
- isCorrect: grading.correct,
53
- } }));
45
+ return (React.createElement(ChoiceAnswerOption, { element: childElement,
46
+ renderChildNodes,
47
+ questionId,
48
+ key: optionId,
49
+ direction,
50
+ selected,
51
+ isCorrect: grading.correct }));
54
52
  }))));
55
53
  }
56
54
  export default React.memo(ChoiceAnswer);
@@ -1 +1 @@
1
- {"version":3,"file":"ChoiceAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ChoiceAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MA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AAG,mBAAmB,CAAC,YAAY,EAAE,WAAW,CAAE,CAAA;YAChE,MAAM,QAAQ,GAAG,MAAM,IAAI,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAA;YACpE,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,QAAQ,CAAE,CAAA;YACxE,OAAO,CACL,oBAAC,kBAAkB,IAEf,OAAO,EAAE,YAAY;gBACrB,gBAAgB;gBAChB,UAAU;gBACV,GAAG,EAAE,QAAQ;gBACb,SAAS;gBACT,QAAQ;gBACR,SAAS,EAAE,OAAO,CAAC,OAAO,GAE5B,CACH,CAAA;QACH,CAAC,CAAC,CACE,CACL,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA"}
@@ -15,7 +15,7 @@ function QuestionTitle({ element, renderChildNodes }) {
15
15
  renderChildNodes(element)),
16
16
  maxAnswers != null && childQuestions.length > 0 && (React.createElement("p", { className: "e-italic" },
17
17
  React.createElement(NotificationIcon, null),
18
- React.createElement(AnsweringInstructions, { ...{ maxAnswers, childQuestions, elementType: 'question' } })))));
18
+ React.createElement(AnsweringInstructions, { maxAnswers, childQuestions, elementType: 'question' })))));
19
19
  }
20
20
  export default React.memo(QuestionTitle);
21
21
  //# sourceMappingURL=QuestionTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionTitle.js","sourceRoot":"","sources":["../../../src/components/results/QuestionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAC5D,OAAO,gBAAgB,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA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,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAA;AAE9D,SAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACtE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IACxF,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,EAA+B,CAAA;IAErE,OAAO,CACL;QACE,oBAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,wBAAwB,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC;YACxF,gCACE,SAAS,EAAE,UAAU,CAAC,qCAAqC,EAAE;oBAC3D,+CAA+C,EAAE,KAAK,GAAG,CAAC;iBAC3D,CAAC,IAED,GAAG,2BAA2B,CAAC,aAAa,CAAC,GAAG,CAC1C;YACR,gBAAgB,CAAC,OAAO,CAAC,CACtB;QACL,UAAU,IAAI,IAAI,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,IAAI,CAClD,2BAAG,SAAS,EAAC,UAAU;YACrB,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,IAAO,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,GAAM,CACpF,CACL,CACA,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA"}
@@ -26,26 +26,22 @@ function TextAnswer({ element }) {
26
26
  switch (type) {
27
27
  case 'rich-text': {
28
28
  return (React.createElement(React.Fragment, null,
29
- maxLength != null && React.createElement(AnswerLengthInfo, { ...{ maxLength } }),
29
+ maxLength != null && React.createElement(AnswerLengthInfo, { maxLength }),
30
30
  React.createElement(ResultsExamQuestionManualScore, { multilineAnswer: true, scores: score, maxScore: maxScore }),
31
- React.createElement(MultiLineAnswer, { ...{ type, value, score } }),
32
- React.createElement(AnswerToolbar, { ...{
33
- answer,
34
- element,
35
- } }),
31
+ React.createElement(MultiLineAnswer, { type, value, score }),
32
+ React.createElement(AnswerToolbar, { answer,
33
+ element }),
36
34
  comment && (React.createElement(React.Fragment, null,
37
35
  React.createElement("h5", null, t('comment')),
38
36
  React.createElement("p", { className: "e-italic" }, comment)))));
39
37
  }
40
38
  case 'single-line':
41
39
  default:
42
- return (React.createElement(ResultsSingleLineAnswer, { ...{
43
- answers,
44
- score,
45
- displayNumber,
46
- value,
47
- } },
48
- React.createElement(ResultsExamQuestionManualScore, { ...{ scores: score, maxScore, displayNumber } })));
40
+ return (React.createElement(ResultsSingleLineAnswer, { answers,
41
+ score,
42
+ displayNumber,
43
+ value },
44
+ React.createElement(ResultsExamQuestionManualScore, { scores: score, maxScore, displayNumber })));
49
45
  }
50
46
  }
51
47
  export default React.memo(TextAnswer);
@@ -1 +1 @@
1
- {"version":3,"file":"TextAnswer.js","sourceRoot":"","sources":["../../../src/components/results/TextAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AACzD,OAAO,8BAA8B,MAAM,gCAAgC,CAAA;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,uBAAuB,MAAM,oBAAoB,CAAA;AA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gBAC5F,oBAAC,eAAe,IAAO,IAAI,EAAE,KAAK,EAAE,KAAK,GAAM;gBAC/C,oBAAC,aAAa,IAEV,MAAM;oBACN,OAAO,GAET;gBACD,OAAO,IAAI,CACV;oBACE,gCAAK,CAAC,CAAC,SAAS,CAAC,CAAM;oBACvB,2BAAG,SAAS,EAAC,UAAU,IAAE,OAAO,CAAK,CACpC,CACJ,CACA,CACJ,CAAA;SACF;QACD,KAAK,aAAa,CAAC;QACnB;YACE,OAAO,CACL,oBAAC,uBAAuB,IAEpB,OAAO;gBACP,KAAK;gBACL,aAAa;gBACb,KAAK;gBAGP,oBAAC,8BAA8B,IAAO,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,GAAM,CAC1D,CAC3B,CAAA;KACJ;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
@@ -8,7 +8,7 @@ function QuestionManualScore({ scores, maxScore, displayNumber, multilineAnswer
8
8
  const { answers } = useContext(QuestionContext);
9
9
  const containerProps = { answers, displayNumber, multilineAnswer };
10
10
  const shortCode = (_b = (_a = scores === null || scores === void 0 ? void 0 : scores.censoring) === null || _a === void 0 ? void 0 : _a.nonAnswerDetails) === null || _b === void 0 ? void 0 : _b.shortCode;
11
- return (React.createElement(ResultsExamQuestionScoresContainer, { ...containerProps }, ((_c = scores === null || scores === void 0 ? void 0 : scores.pregrading) === null || _c === void 0 ? void 0 : _c.score) == null && !((_e = (_d = scores === null || scores === void 0 ? void 0 : scores.censoring) === null || _d === void 0 ? void 0 : _d.scores) === null || _e === void 0 ? void 0 : _e.length) ? (React.createElement(NoPregrading, { ...{ maxScore } })) : (React.createElement(React.Fragment, null,
11
+ return (React.createElement(ResultsExamQuestionScoresContainer, { ...containerProps }, ((_c = scores === null || scores === void 0 ? void 0 : scores.pregrading) === null || _c === void 0 ? void 0 : _c.score) == null && !((_e = (_d = scores === null || scores === void 0 ? void 0 : scores.censoring) === null || _d === void 0 ? void 0 : _d.scores) === null || _e === void 0 ? void 0 : _e.length) ? (React.createElement(NoPregrading, { maxScore })) : (React.createElement(React.Fragment, null,
12
12
  renderNormalizedScores(scores, maxScore),
13
13
  shortCode && React.createElement(NonAnswer, { shortCode: shortCode })))));
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionManualScore.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionManualScore.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,kCAAkC,MAAM,2BAA2B,CAAA;AAoB1E,SAAS,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAA4B;;IACzG,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,cAAc,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,CAAA;IAClE,MAAM,SAAS,GAAG,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,gBAAgB,0CAAE,SAAS,CAAA;IAChE,OAAO,CACL,oBAAC,kCAAkC,OAAK,cAAc,IACnD,CAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,0CAAE,KAAK,KAAI,IAAI,IAAI,CAAC,CAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,MAAM,0CAAE,MAAM,CAAA,CAAC,CAAC,CAAC,CACzE,oBAAC,YAAY,OAAK,EAAE,QAAQ,EAAE,GAAI,CACnC,CAAC,CAAC,CAAC,CACF;QACG,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC;QACx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AI,EAAE,iBAAiB,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAA6B;KAC5E,CAAC,CAAC,CAAA;AACL,CAAC;AAED,SAAS,wBAAwB,CAAC,KAAsB;IACtD,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;QAC9D,IAAI,EAAE,mCAAmC;KAC1C,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA"}
1
+ {"version":3,"file":"QuestionManualScore.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionManualScore.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,kCAAkC,MAAM,2BAA2B,CAAA;AAoB1E,SAAS,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAA4B;;IACzG,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,cAAc,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,CAAA;IAClE,MAAM,SAAS,GAAG,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,gBAAgB,0CAAE,SAAS,CAAA;IAChE,OAAO,CACL,oBAAC,kCAAkC,OAAK,cAAc,IACnD,CAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,0CAAE,KAAK,KAAI,IAAI,IAAI,CAA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G,CAAC;AAED,SAAS,wBAAwB,CAAC,KAAqB;IACrD,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACjC,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,SAAS,EAAE,CAAC,CAAC,SAAS,IAAI,EAAE;QAC5B,IAAI,EAAE,iBAAiB,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAA6B;KAC5E,CAAC,CAAC,CAAA;AACL,CAAC;AAED,SAAS,wBAAwB,CAAC,KAAsB;IACtD,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;QAC9D,IAAI,EAAE,mCAAmC;KAC1C,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ExamAnswer } from '../../types/ExamAnswer';
3
+ type Props = {
4
+ id: number;
5
+ type: string;
6
+ answer: ExamAnswer;
7
+ error: boolean;
8
+ };
9
+ export declare const Indicator: React.MemoExoticComponent<(props: Props) => JSX.Element>;
10
+ export {};
11
+ //# sourceMappingURL=AnswerIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnswerIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnswerIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAInD,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;CACf,CAAA;AAgCD,eAAO,MAAM,SAAS,oCA9BU,KAAK,iBA8BS,CAAA"}
@@ -0,0 +1,22 @@
1
+ import React, { memo } from 'react';
2
+ import classNames from 'classnames';
3
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4
+ import { faImage } from '@fortawesome/free-solid-svg-icons';
5
+ const AnswerIndicator = (props) => {
6
+ const { id, type, answer, error } = props;
7
+ const answerIsFormula = answer === null || answer === void 0 ? void 0 : answer.value.includes('math.svg');
8
+ const answerIsImage = answer === null || answer === void 0 ? void 0 : answer.value.includes('data:image');
9
+ const answerIsLongText = (answer === null || answer === void 0 ? void 0 : answer.type) === 'richText' && !answerIsFormula && !answerIsImage;
10
+ return (React.createElement(React.Fragment, null,
11
+ React.createElement("div", { key: id, className: classNames('answer-indicator', {
12
+ ok: answer === null || answer === void 0 ? void 0 : answer.value,
13
+ error,
14
+ big: type === 'rich-text',
15
+ }) }, (answer === null || answer === void 0 ? void 0 : answer.type) === 'richText' && (React.createElement(React.Fragment, null,
16
+ answerIsFormula && '∑',
17
+ answerIsImage && React.createElement(FontAwesomeIcon, { icon: faImage, size: "lg" }),
18
+ (answerIsLongText && (answer === null || answer === void 0 ? void 0 : answer.characterCount)) || ''))),
19
+ error && React.createElement("div", { className: "error-mark" }, "!")));
20
+ };
21
+ export const Indicator = memo(AnswerIndicator);
22
+ //# sourceMappingURL=AnswerIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnswerIndicator.js","sourceRoot":"","sources":["../../../src/components/shared/AnswerIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AACnC,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAA;AAS3D,MAAM,eAAe,GAAG,CAAC,KAAY,EAAE,EAAE;IACvC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAA;IAEzC,MAAM,eAAe,GAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC1D,MAAM,aAAa,GAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAA;IAC1D,MAAM,gBAAgB,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,UAAU,IAAI,CAAC,eAAe,IAAI,CAAC,aAAa,CAAA;IAE1F,OAAO,CACL;QACE,6BACE,GAAG,EAAE,EAAE,EACP,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACxC,EAAE,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK;gBACjB,KAAK;gBACL,GAAG,EAAE,IAAI,KAAK,WAAW;aAC1B,CAAC,IAED,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,UAAU,IAAI,CAC9B;YACG,eAAe,IAAI,GAAG;YACtB,aAAa,IAAI,oBAAC,eAAe,IAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,IAAI,GAAG;YAC7D,CAAC,gBAAgB,KAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,cAAc,CAAA,CAAC,IAAI,EAAE,CAClD,CACJ,CACG;QACL,KAAK,IAAI,6BAAK,SAAS,EAAC,YAAY,QAAQ,CAC5C,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC,CAAA"}
@@ -14,9 +14,9 @@ const mkAttachmentLink = (type) => {
14
14
  const displayNumber = attachment.getAttribute('display-number');
15
15
  const isShort = element.getAttribute('type') === 'short';
16
16
  const href = url(attachmentsURL, { hash: displayNumber });
17
- return isShort ? (React.createElement(AttachmentLinkAnchor, { ...{ href, type } }, displayNumber)) : (React.createElement(React.Fragment, null,
17
+ return isShort ? (React.createElement(AttachmentLinkAnchor, { href, type }, displayNumber)) : (React.createElement(React.Fragment, null,
18
18
  '(',
19
- React.createElement(AttachmentLinkAnchor, { ...{ href, type } },
19
+ React.createElement(AttachmentLinkAnchor, { href, type },
20
20
  t('material', { postProcess: 'lowercase' }),
21
21
  " ",
22
22
  displayNumber),
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentLink.js","sourceRoot":"","sources":["../../../src/components/shared/AttachmentLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,oBAAoB,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAEhE,MAAM,gBAAgB,GAAG,CAAC,IAAsB,EAA+C,EAAE;IAC/F,MAAM,cAAc,GAAgD,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAClF,MAAM,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAE,CAAA;QACzC,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QAC9C,MAAM,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QACxD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;QAClC,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,KAAK,YAAY,IAAI,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAE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,YAAY,CAAC,KAAK,CAAE,CAAA;QACzC,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QAC9C,MAAM,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QACxD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;QAClC,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,KAAK,YAAY,IAAI,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAE,CAAA;QAC1G,MAAM,aAAa,GAAG,UAAU,CAAC,YAAY,CAAC,gBAAgB,CAAE,CAAA;QAChE,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,OAAO,CAAA;QACxD,MAAM,IAAI,GAAG,GAAG,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAA;QAEzD,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,oBAAC,oBAAoB,IAAO,IAAI,EAAE,IAAI,IAAK,aAAa,CAAwB,CACjF,CAAC,CAAC,CAAC,CACF;YACG,GAAG;YACJ,oBAAC,oBAAoB,IAAO,IAAI,EAAE,IAAI;gBACnC,CAAC,CAAC,UAAU,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;;gBAAG,aAAa,CACvC;YACtB,GAAG,CACH,CACJ,CAAA;IACH,CAAC,CAAA;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;AACnC,CAAC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -20,9 +20,9 @@ const mkAttachmentLinks = (type) => {
20
20
  .map((group) => (group.length > 1 ? `${group[0]}–${group[group.length - 1]}` : group[0]))
21
21
  .join(', ');
22
22
  const count = groupedDisplayNumbers[0].length;
23
- return isShort ? (React.createElement(AttachmentLinkAnchor, { ...{ href, type } }, displayNumbersString)) : (React.createElement(React.Fragment, null,
23
+ return isShort ? (React.createElement(AttachmentLinkAnchor, { href, type }, displayNumbersString)) : (React.createElement(React.Fragment, null,
24
24
  '(',
25
- React.createElement(AttachmentLinkAnchor, { ...{ href, type } },
25
+ React.createElement(AttachmentLinkAnchor, { href, type },
26
26
  t('material', { count, postProcess: 'lowercase' }),
27
27
  " ",
28
28
  displayNumbersString),
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentLinks.js","sourceRoot":"","sources":["../../../src/components/shared/AttachmentLinks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,oBAAoB,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAEhE,MAAM,iBAAiB,GAAG,CAAC,IAAsB,EAA+C,EAAE;IAChG,MAAM,eAAe,GAAgD,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACnF,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QAC9D,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;QAClC,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,EAAE,CAAC,cAAc,EAAE,EAAE;YAClE,MAAM,IAAI,GAAG,cAAc,CAAC,YAAY,CAAC,KAAK,CAAE,CAAA;YAChD,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,KAAK,YAAY,IAAI,EAAE,CAAC,YAAY,CAAC,MAAM,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IAAI,IAAI,SAAS,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE;YACrC,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,CAAA;YACpB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACnB;aAAM;YACL,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;YAC3C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;SACrB;QAED,IAAI,GAAG,IAAI,CAAA;KACZ;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAS,YAAY,CAAC,CAAS,EAAE,CAAS;IACxC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAA;IAEvB,IAAI,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE;QACvB,OAAO,KAAK,CAAA;KACb;IACD,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;AAC1G,CAAC;AAED,eAAe,iBAAiB,CAAA"}
@@ -21,7 +21,7 @@ function Audio({ element, className, renderChildNodes }) {
21
21
  const { resolveAttachment } = useContext(CommonExamContext);
22
22
  const labelId = audioLabelId(element);
23
23
  return (React.createElement("div", { className: classNames('audio e-columns e-columns--center-v e-mrg-b-2', className) },
24
- restrictedAudioId != null && times != null ? (React.createElement(RestrictedAudioPlayer, { ...{ src, restrictedAudioId, duration, times, labelId } })) : (React.createElement("audio", { className: "e-column e-column--narrow", "aria-describedby": labelId, preload: "metadata", controls: true, controlsList: "nodownload" },
24
+ restrictedAudioId != null && times != null ? (React.createElement(RestrictedAudioPlayer, { src, restrictedAudioId, duration, times, labelId })) : (React.createElement("audio", { className: "e-column e-column--narrow", "aria-describedby": labelId, preload: "metadata", controls: true, controlsList: "nodownload" },
25
25
  React.createElement("source", { src: resolveAttachment(src) }))),
26
26
  React.createElement("div", { className: "e-column", id: labelId },
27
27
  React.createElement(AudioPlaybackError, { error: audioPlaybackError }, renderChildNodes(element)),
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.js","sourceRoot":"","sources":["../../../src/components/shared/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AACxF,OAAO,kBAAkB,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,qBAAqB,MAAM,kCAAkC,CAAA;AAEpE,SAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAsB;IACzE,MAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAE,CAAA;IACxC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,CAAC,CAAA;IAC7E,MAAM,KAAK,GAAG,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IACnD,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,EAAE,UAAU,CAAE,CAAA;IAC1D,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,kBAAkB,GACtB,KAAK,IAAI,IAAI,IAAI,iBAAiB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AC,WAAW,CAAC,yBAAyB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;QAClE,CAAC,CAAC,SAAS,CAAA;IACf,MAAM,EAAE,iBAAiB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC3D,MAAM,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC,CAAA;IAErC,OAAO,CACL,6BAAK,SAAS,EAAE,UAAU,CAAC,+CAA+C,EAAE,SAAS,CAAC;QACnF,iBAAiB,IAAI,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,CAC5C,oBAAC,qBAAqB,IAAO,GAAG,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,GAAM,CACpF,CAAC,CAAC,CAAC,CACF,+BACE,SAAS,EAAC,2BAA2B,sBACnB,OAAO,EACzB,OAAO,EAAC,UAAU,EAClB,QAAQ,QACR,YAAY,EAAC,YAAY;YAEzB,gCAAQ,GAAG,EAAE,iBAAiB,CAAC,GAAG,CAAC,GAAI,CACjC,CACT;QACD,6BAAK,SAAS,EAAC,UAAU,EAAC,EAAE,EAAE,OAAO;YACnC,oBAAC,kBAAkB,IAAC,KAAK,EAAE,kBAAkB,IAAG,gBAAgB,CAAC,OAAO,CAAC,CAAsB;YAC9F,sBAAsB,IAAI,IAAI,IAAI,gCAAK,CAAC,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAAC,CAAM,CACxG,CACF,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ExamComponentProps } from '../../createRenderChildNodes';
3
+ declare function ExamTranslation({ element }: ExamComponentProps): JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof ExamTranslation>;
5
+ export default _default;
6
+ //# sourceMappingURL=ExamTranslation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamTranslation.d.ts","sourceRoot":"","sources":["../../../src/components/shared/ExamTranslation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,eAMvD;;AAED,wBAA0C"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { useExamTranslation } from '../../i18n';
3
+ function ExamTranslation({ element }) {
4
+ const { t } = useExamTranslation();
5
+ const key = element.getAttribute('key');
6
+ // @ts-ignore
7
+ return React.createElement(React.Fragment, null, t(key));
8
+ }
9
+ export default React.memo(ExamTranslation);
10
+ //# sourceMappingURL=ExamTranslation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamTranslation.js","sourceRoot":"","sources":["../../../src/components/shared/ExamTranslation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,SAAS,eAAe,CAAC,EAAE,OAAO,EAAsB;IACtD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAE,CAAA;IAExC,aAAa;IACb,OAAO,0CAAG,CAAC,CAAC,GAAG,CAAC,CAAI,CAAA;AACtB,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA"}
@@ -19,14 +19,12 @@ function Image({ element, className, renderChildNodes }) {
19
19
  const imgUrl = resolveAttachment(src);
20
20
  const image = React.createElement("img", { className: "e-image", src: imgUrl, alt: "", "aria-labelledby": captionId });
21
21
  return (React.createElement(React.Fragment, null,
22
- React.createElement(ResponsiveMediaContainer, { ...{
23
- className,
24
- width,
25
- height,
26
- caption,
27
- captionId,
28
- bordered: hasCaption || queryAncestors(element, 'choice-answer') != null,
29
- } }, queryAncestors(element, ['choice-answer', 'hint']) != null ? (image) : (React.createElement("a", { title: t.raw('zoom-in'), href: imgUrl, target: "original-picture", className: "e-zoomable", "aria-hidden": !hasCaption, tabIndex: -1 }, image)))));
22
+ React.createElement(ResponsiveMediaContainer, { className,
23
+ width,
24
+ height,
25
+ caption,
26
+ captionId,
27
+ bordered: hasCaption || queryAncestors(element, 'choice-answer') != null }, queryAncestors(element, ['choice-answer', 'hint']) != null ? (image) : (React.createElement("a", { title: t.raw('zoom-in'), href: imgUrl, target: "original-picture", className: "e-zoomable", "aria-hidden": !hasCaption, tabIndex: -1 }, image)))));
30
28
  }
31
29
  export default React.memo(Image);
32
30
  //# sourceMappingURL=Image.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../src/components/shared/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,wBAAwB,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,SAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAsB;IACzE,MAAM,EAAE,iBAAiB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC3D,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,MAAM,GAAG,GAAG,YAAY,CAAC,OAAO,EAAE,KAAK,CAAE,CAAA;IACzC,MAAM,KAAK,GAAG,m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OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAA;IACjD,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAElE,MAAM,MAAM,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAA;IACrC,MAAM,KAAK,GAAG,6BAAK,SAAS,EAAC,SAAS,EAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,EAAE,qBAAkB,SAAS,GAAI,CAAA;IAEzF,OAAO,CACL;QACE,oBAAC,wBAAwB,IAErB,SAAS;YACT,KAAK;YACL,MAAM;YACN,OAAO;YACP,SAAS;YACT,QAAQ,EAAE,UAAU,IAAI,cAAc,CAAC,OAAO,EAAE,eAAe,CAAC,IAAI,IAAI,IAGzE,cAAc,CAAC,OAAO,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAC5D,KAAK,CACN,CAAC,CAAC,CAAC,CACF,2BACE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAC,kBAAkB,EACzB,SAAS,EAAC,YAAY,iBACT,CAAC,UAAU,EACxB,QAAQ,EAAE,CAAC,CAAC,IAEX,KAAK,CACJ,CACL,CACwB,CAC1B,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA"}
@@ -35,10 +35,8 @@ function ImageOverlayImage({ element, absolute, opacity }) {
35
35
  return (React.createElement("div", { className: classNames('e-columns e-columns--center-h', { 'e-image-overlay__image-absolute': absolute }), style: {
36
36
  opacity: opacity,
37
37
  } },
38
- React.createElement(ResponsiveMediaContainer, { ...{
39
- width,
40
- height,
41
- } },
38
+ React.createElement(ResponsiveMediaContainer, { width,
39
+ height },
42
40
  React.createElement("img", { className: "e-image", src: imgUrl }))));
43
41
  }
44
42
  export default React.memo(ImageOverlay);
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOverlay.js","sourceRoot":"","sources":["../../../src/components/shared/ImageOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,wBAAwB,MAAM,qCAAqC,CAAA;AAE1E,SAAS,YAAY,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACrE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAW,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACtH,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,OAAe,EAAE,EAAE;QAC1D,MAAM,gBAAgB,GAAG,CAAC,GAAG,SAAS,CAAC,CAAA;QACvC,gBAAgB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAA;QACjC,YAAY,CAAC,gBAAgB,CAAC,CAAA;IAChC,CAAC,CAAA;IAED,OAAO,CACL,6BAAK,SAAS,EAAC,2BAA2B;QACxC,6BAAK,SAAS,EAAC,+BAA+B;Y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,CAAA;IACxC,MAAM,KAAK,GAAG,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAE,CAAA;IACpD,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,EAAE,QAAQ,CAAE,CAAA;IACtD,MAAM,MAAM,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAA;IACnE,OAAO,CACL,6BACE,SAAS,EAAE,UAAU,CAAC,+BAA+B,EAAE,EAAE,iCAAiC,EAAE,QAAQ,EAAE,CAAC,EACvG,KAAK,EAAE;YACL,OAAO,EAAE,OAAO;SACjB;QAED,oBAAC,wBAAwB,IAErB,KAAK;YACL,MAAM;YAGR,6BAAK,SAAS,EAAC,SAAS,EAAC,GAAG,EAAE,MAAM,GAAI,CACf,CACvB,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ExamComponentProps } from '../../createRenderChildNodes';
3
+ export declare function QuestionNumber({ element }: ExamComponentProps): JSX.Element;
4
+ //# sourceMappingURL=QuestionNumber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionNumber.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QuestionNumber.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAIjE,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,eAS7D"}
@@ -0,0 +1,12 @@
1
+ import React, { useContext } from 'react';
2
+ import { QuestionContext } from '../context/QuestionContext';
3
+ import * as _ from 'lodash-es';
4
+ export function QuestionNumber({ element }) {
5
+ const suffix = element.getAttribute('suffix');
6
+ const { displayNumber } = useContext(QuestionContext);
7
+ return (React.createElement(React.Fragment, null,
8
+ _.first(displayNumber.split('.')),
9
+ ".",
10
+ suffix));
11
+ }
12
+ //# sourceMappingURL=QuestionNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionNumber.js","sourceRoot":"","sources":["../../../src/components/shared/QuestionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,MAAM,UAAU,cAAc,CAAC,EAAE,OAAO,EAAsB;IAC5D,MAAM,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAE,CAAA;IAC9C,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAErD,OAAO,CACL;QACG,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAE;;QAAG,MAAM,CAC3C,CACJ,CAAA;AACH,CAAC"}
@@ -10,7 +10,7 @@ function Reference({ element, renderChildNodes }) {
10
10
  const childElement = findChildElement(element, localName);
11
11
  if (childElement) {
12
12
  const key = childElement.localName;
13
- const content = React.createElement(Component, { ...{ element: childElement, renderChildNodes, key } });
13
+ const content = React.createElement(Component, { element: childElement, renderChildNodes, key });
14
14
  if (content) {
15
15
  const isHidden = getBooleanAttribute(childElement, 'hidden');
16
16
  return isHidden ? React.createElement("del", { key: key }, content) : content;
@@ -22,7 +22,7 @@ function Reference({ element, renderChildNodes }) {
22
22
  return (childElement && (React.createElement(React.Fragment, { key: childElement.localName },
23
23
  t(translationKey),
24
24
  ' ',
25
- React.createElement(Component, { ...{ element: childElement, renderChildNodes, key: childElement.localName } }))));
25
+ React.createElement(Component, { element: childElement, renderChildNodes, key: childElement.localName }))));
26
26
  }
27
27
  return (React.createElement("span", { className: classNames('e-break-word', { 'e-line-through': getBooleanAttribute(element, 'hidden') }) },
28
28
  t('references.source'),
@@ -1 +1 @@
1
- {"version":3,"file":"Reference.js","sourceRoot":"","sources":["../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AAY,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QAClC,OAAO,0CAAG,WAAW,CAAI,CAAA;KAC1B;SAAM;QACL,uFAAuF;QACvF,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAA;QACzC,MAAM,EAAE,iBAAiB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;QAC3D,OAAO,0CAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAI,CAAA;KAC7C;AACH,CAAC;AAED,SAAS,WAAW,CAAC,SAAiB,EAAE,QAA2B;IACjE,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;QACzE,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACd,IAAI,CAAC,KAAK,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YAC7B,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;SACpB;QACD,OAAO,GAAG,CAAA;IACZ,CAAC,EAAE,EAAE,CAAC,CAAA;AACR,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA"}
@@ -1,7 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ExamComponentProps } from '../../createRenderChildNodes';
3
+ import { AnswersState } from '../../store/answers/reducer';
3
4
  export declare const mkTableOfContents: (options: {
4
5
  showAttachmentLinks: boolean;
5
6
  showAnsweringInstructions: boolean;
7
+ isInSidebar?: boolean;
8
+ answers: AnswersState;
6
9
  }) => React.NamedExoticComponent<ExamComponentProps>;
7
10
  //# sourceMappingURL=TableOfContents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../../src/components/shared/TableOfContents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAA0B,kBAAkB,EAAiB,MAAM,8BAA8B,CAAA;AAUxG,eAAO,MAAM,iBAAiB,YAAa;IAAE,mBAAmB,EAAE,OAAO,CAAC;IAAC,yBAAyB,EAAE,OAAO,CAAA;CAAE,mDAsG9G,CAAA"}
1
+ {"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../../src/components/shared/TableOfContents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAA0B,kBAAkB,EAAiB,MAAM,8BAA8B,CAAA;AAWxG,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAI1D,eAAO,MAAM,iBAAiB,YAAa;IACzC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,yBAAyB,EAAE,OAAO,CAAA;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,EAAE,YAAY,CAAA;CACtB,mDA+LA,CAAA"}