@digabi/exam-engine-core 19.15.3 → 19.15.4-image-paste-debugging.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/results/ResultsContext.test.js.map +1 -1
- package/dist/__tests__/testExamRendering.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/__tests__/validateAnswers.test.js.map +1 -1
- package/dist/components/AnswerToolbar.js.map +1 -1
- package/dist/components/AnsweringInstructions.js.map +1 -1
- package/dist/components/AttachmentContext.d.ts +14 -0
- package/dist/components/AttachmentContext.d.ts.map +1 -0
- package/dist/components/AttachmentContext.js +12 -0
- package/dist/components/AttachmentContext.js.map +1 -0
- package/dist/components/AttachmentLink.d.ts +6 -0
- package/dist/components/AttachmentLink.d.ts.map +1 -0
- package/dist/components/AttachmentLink.js +24 -0
- package/dist/components/AttachmentLink.js.map +1 -0
- package/dist/components/AttachmentLinkAnchor.d.ts +7 -0
- package/dist/components/AttachmentLinkAnchor.d.ts.map +1 -0
- package/dist/components/AttachmentLinkAnchor.js +4 -0
- package/dist/components/AttachmentLinkAnchor.js.map +1 -0
- package/dist/components/AttachmentLinks.d.ts +6 -0
- package/dist/components/AttachmentLinks.d.ts.map +1 -0
- package/dist/components/AttachmentLinks.js +58 -0
- package/dist/components/AttachmentLinks.js.map +1 -0
- package/dist/components/Attachments.d.ts +5 -0
- package/dist/components/Attachments.d.ts.map +1 -0
- package/dist/components/Attachments.js +43 -0
- package/dist/components/Attachments.js.map +1 -0
- package/dist/components/AttachmentsAttachment.d.ts +5 -0
- package/dist/components/AttachmentsAttachment.d.ts.map +1 -0
- package/dist/components/AttachmentsAttachment.js +8 -0
- package/dist/components/AttachmentsAttachment.js.map +1 -0
- package/dist/components/AttachmentsAttachmentTitle.d.ts +6 -0
- package/dist/components/AttachmentsAttachmentTitle.d.ts.map +1 -0
- package/dist/components/AttachmentsAttachmentTitle.js +12 -0
- package/dist/components/AttachmentsAttachmentTitle.js.map +1 -0
- package/dist/components/AttachmentsExternalMaterial.d.ts +9 -0
- package/dist/components/AttachmentsExternalMaterial.d.ts.map +1 -0
- package/dist/components/AttachmentsExternalMaterial.js +40 -0
- package/dist/components/AttachmentsExternalMaterial.js.map +1 -0
- package/dist/components/AttachmentsQuestion.d.ts +5 -0
- package/dist/components/AttachmentsQuestion.d.ts.map +1 -0
- package/dist/components/AttachmentsQuestion.js +16 -0
- package/dist/components/AttachmentsQuestion.js.map +1 -0
- package/dist/components/AttachmentsQuestionTitle.d.ts +6 -0
- package/dist/components/AttachmentsQuestionTitle.d.ts.map +1 -0
- package/dist/components/AttachmentsQuestionTitle.js +13 -0
- package/dist/components/AttachmentsQuestionTitle.js.map +1 -0
- package/dist/components/Audio.d.ts +6 -0
- package/dist/components/Audio.d.ts.map +1 -0
- package/dist/components/Audio.js +29 -0
- package/dist/components/Audio.js.map +1 -0
- package/dist/components/AudioGroup.d.ts +6 -0
- package/dist/components/AudioGroup.d.ts.map +1 -0
- package/dist/components/AudioGroup.js +9 -0
- package/dist/components/AudioGroup.js.map +1 -0
- package/dist/components/AudioPlaybackError.d.ts +7 -0
- package/dist/components/AudioPlaybackError.d.ts.map +1 -0
- package/dist/components/AudioPlaybackError.js +12 -0
- package/dist/components/AudioPlaybackError.js.map +1 -0
- package/dist/components/AudioTest.d.ts +6 -0
- package/dist/components/AudioTest.d.ts.map +1 -0
- package/dist/components/AudioTest.js +29 -0
- package/dist/components/AudioTest.js.map +1 -0
- package/dist/components/ChoiceAnswer.d.ts +12 -0
- package/dist/components/ChoiceAnswer.d.ts.map +1 -0
- package/dist/components/ChoiceAnswer.js +60 -0
- package/dist/components/ChoiceAnswer.js.map +1 -0
- package/dist/components/CommonExamContext.d.ts +16 -0
- package/dist/components/CommonExamContext.d.ts.map +1 -0
- package/dist/components/CommonExamContext.js +22 -0
- package/dist/components/CommonExamContext.js.map +1 -0
- package/dist/components/DocumentTitle.js.map +1 -1
- package/dist/components/DropdownAnswer.d.ts +12 -0
- package/dist/components/DropdownAnswer.d.ts.map +1 -0
- package/dist/components/DropdownAnswer.js +85 -0
- package/dist/components/DropdownAnswer.js.map +1 -0
- package/dist/components/Exam.d.ts +40 -0
- package/dist/components/Exam.d.ts.map +1 -0
- package/dist/components/Exam.js +106 -0
- package/dist/components/Exam.js.map +1 -0
- package/dist/components/ExamAttachment.d.ts +5 -0
- package/dist/components/ExamAttachment.d.ts.map +1 -0
- package/dist/components/ExamAttachment.js +8 -0
- package/dist/components/ExamAttachment.js.map +1 -0
- package/dist/components/ExamContext.d.ts +10 -0
- package/dist/components/ExamContext.d.ts.map +1 -0
- package/dist/components/ExamContext.js +11 -0
- package/dist/components/ExamContext.js.map +1 -0
- package/dist/components/ExamFooter.d.ts +6 -0
- package/dist/components/ExamFooter.d.ts.map +1 -0
- package/dist/components/ExamFooter.js +7 -0
- package/dist/components/ExamFooter.js.map +1 -0
- package/dist/components/ExamInstruction.d.ts +6 -0
- package/dist/components/ExamInstruction.d.ts.map +1 -0
- package/dist/components/ExamInstruction.js +6 -0
- package/dist/components/ExamInstruction.js.map +1 -0
- package/dist/components/ExamQuestion.d.ts +5 -0
- package/dist/components/ExamQuestion.d.ts.map +1 -0
- package/dist/components/ExamQuestion.js +16 -0
- package/dist/components/ExamQuestion.js.map +1 -0
- package/dist/components/ExamQuestionInstruction.d.ts +6 -0
- package/dist/components/ExamQuestionInstruction.d.ts.map +1 -0
- package/dist/components/ExamQuestionInstruction.js +6 -0
- package/dist/components/ExamQuestionInstruction.js.map +1 -0
- package/dist/components/ExamQuestionTitle.d.ts +6 -0
- package/dist/components/ExamQuestionTitle.d.ts.map +1 -0
- package/dist/components/ExamQuestionTitle.js +25 -0
- package/dist/components/ExamQuestionTitle.js.map +1 -0
- package/dist/components/ExamSection.d.ts +5 -0
- package/dist/components/ExamSection.d.ts.map +1 -0
- package/dist/components/ExamSection.js +30 -0
- package/dist/components/ExamSection.js.map +1 -0
- package/dist/components/ExamSectionTitle.d.ts +6 -0
- package/dist/components/ExamSectionTitle.d.ts.map +1 -0
- package/dist/components/ExamSectionTitle.js +21 -0
- package/dist/components/ExamSectionTitle.js.map +1 -0
- package/dist/components/ExternalMaterialList.d.ts +10 -0
- package/dist/components/ExternalMaterialList.d.ts.map +1 -0
- package/dist/components/ExternalMaterialList.js +31 -0
- package/dist/components/ExternalMaterialList.js.map +1 -0
- package/dist/components/File.d.ts +6 -0
- package/dist/components/File.d.ts.map +1 -0
- package/dist/components/File.js +15 -0
- package/dist/components/File.js.map +1 -0
- package/dist/components/Formula.d.ts +6 -0
- package/dist/components/Formula.d.ts.map +1 -0
- package/dist/components/Formula.js +12 -0
- package/dist/components/Formula.js.map +1 -0
- package/dist/components/Hints.d.ts +6 -0
- package/dist/components/Hints.d.ts.map +1 -0
- package/dist/components/Hints.js +32 -0
- package/dist/components/Hints.js.map +1 -0
- package/dist/components/Image.d.ts +6 -0
- package/dist/components/Image.d.ts.map +1 -0
- package/dist/components/Image.js +25 -0
- package/dist/components/Image.js.map +1 -0
- package/dist/components/ImageOverlay.d.ts +6 -0
- package/dist/components/ImageOverlay.d.ts.map +1 -0
- package/dist/components/ImageOverlay.js +45 -0
- package/dist/components/ImageOverlay.js.map +1 -0
- package/dist/components/ProgressBar.d.ts +6 -0
- package/dist/components/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar.js +18 -0
- package/dist/components/ProgressBar.js.map +1 -0
- package/dist/components/QuestionContext.d.ts +14 -0
- package/dist/components/QuestionContext.d.ts.map +1 -0
- package/dist/components/QuestionContext.js +20 -0
- package/dist/components/QuestionContext.js.map +1 -0
- package/dist/components/Reference.d.ts +6 -0
- package/dist/components/Reference.d.ts.map +1 -0
- package/dist/components/Reference.js +63 -0
- package/dist/components/Reference.js.map +1 -0
- package/dist/components/References.d.ts +6 -0
- package/dist/components/References.d.ts.map +1 -0
- package/dist/components/References.js +23 -0
- package/dist/components/References.js.map +1 -0
- package/dist/components/ResponsiveMediaContainer.d.ts +17 -0
- package/dist/components/ResponsiveMediaContainer.d.ts.map +1 -0
- package/dist/components/ResponsiveMediaContainer.js +20 -0
- package/dist/components/ResponsiveMediaContainer.js.map +1 -0
- package/dist/components/RestrictedAudioPlayer.d.ts +11 -0
- package/dist/components/RestrictedAudioPlayer.d.ts.map +1 -0
- package/dist/components/RestrictedAudioPlayer.js +29 -0
- package/dist/components/RestrictedAudioPlayer.js.map +1 -0
- package/dist/components/RichTextAnswer.d.ts +31 -0
- package/dist/components/RichTextAnswer.d.ts.map +1 -0
- package/dist/components/RichTextAnswer.js +70 -0
- package/dist/components/RichTextAnswer.js.map +1 -0
- package/dist/components/SaveIndicator.d.ts +5 -0
- package/dist/components/SaveIndicator.d.ts.map +1 -0
- package/dist/components/SaveIndicator.js +15 -0
- package/dist/components/SaveIndicator.js.map +1 -0
- package/dist/components/Score.d.ts +6 -0
- package/dist/components/Score.d.ts.map +1 -0
- package/dist/components/Score.js +13 -0
- package/dist/components/Score.js.map +1 -0
- package/dist/components/Section.d.ts +3 -0
- package/dist/components/Section.d.ts.map +1 -0
- package/dist/components/Section.js +7 -0
- package/dist/components/Section.js.map +1 -0
- package/dist/components/SectionContext.d.ts +13 -0
- package/dist/components/SectionContext.d.ts.map +1 -0
- package/dist/components/SectionContext.js +21 -0
- package/dist/components/SectionContext.js.map +1 -0
- package/dist/components/SectionInstruction.d.ts +6 -0
- package/dist/components/SectionInstruction.d.ts.map +1 -0
- package/dist/components/SectionInstruction.js +6 -0
- package/dist/components/SectionInstruction.js.map +1 -0
- package/dist/components/TableOfContents.d.ts +13 -0
- package/dist/components/TableOfContents.d.ts.map +1 -0
- package/dist/components/TableOfContents.js +66 -0
- package/dist/components/TableOfContents.js.map +1 -0
- package/dist/components/TextAnswer.d.ts +6 -0
- package/dist/components/TextAnswer.d.ts.map +1 -0
- package/dist/components/TextAnswer.js +16 -0
- package/dist/components/TextAnswer.js.map +1 -0
- package/dist/components/TextAnswerInput.d.ts +37 -0
- package/dist/components/TextAnswerInput.d.ts.map +1 -0
- package/dist/components/TextAnswerInput.js +145 -0
- package/dist/components/TextAnswerInput.js.map +1 -0
- package/dist/components/Video.d.ts +6 -0
- package/dist/components/Video.d.ts.map +1 -0
- package/dist/components/Video.js +15 -0
- package/dist/components/Video.js.map +1 -0
- package/dist/components/attachments/ExternalMaterial.js.map +1 -1
- package/dist/components/context/ResultsContext.js.map +1 -1
- package/dist/components/exam/DropdownAnswer.js.map +1 -1
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/exam/ExternalMaterial.js.map +1 -1
- package/dist/components/exam/Hints.js.map +1 -1
- package/dist/components/exam/Question.js.map +1 -1
- package/dist/components/exam/RichTextAnswer.js.map +1 -1
- package/dist/components/exam/UndoHistoryEntry.js.map +1 -1
- package/dist/components/exam/UndoView.js.map +1 -1
- package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
- package/dist/components/exam/internal/SaveIndicator.js.map +1 -1
- package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
- package/dist/components/grading/AnswerCharacterCounter.js.map +1 -1
- package/dist/components/grading/GradingAnswer.js.map +1 -1
- package/dist/components/grading/editAnnotations.js.map +1 -1
- package/dist/components/grading/largeImageDetector.js.map +1 -1
- package/dist/components/grading-instructions/AutogradedAnswer.js.map +1 -1
- package/dist/components/grading-instructions/Recording.js.map +1 -1
- package/dist/components/results/AnnotationList.d.ts +5 -0
- package/dist/components/results/AnnotationList.d.ts.map +1 -0
- package/dist/components/results/AnnotationList.js +40 -0
- package/dist/components/results/AnnotationList.js.map +1 -0
- package/dist/components/results/MultiLineAnswer.js.map +1 -1
- package/dist/components/results/ResultsChoiceAnswer.d.ts +6 -0
- package/dist/components/results/ResultsChoiceAnswer.d.ts.map +1 -0
- package/dist/components/results/ResultsChoiceAnswer.js +60 -0
- package/dist/components/results/ResultsChoiceAnswer.js.map +1 -0
- package/dist/components/results/ResultsContext.d.ts +20 -0
- package/dist/components/results/ResultsContext.d.ts.map +1 -0
- package/dist/components/results/ResultsContext.js +68 -0
- package/dist/components/results/ResultsContext.js.map +1 -0
- package/dist/components/results/ResultsDropdownAnswer.d.ts +6 -0
- package/dist/components/results/ResultsDropdownAnswer.d.ts.map +1 -0
- package/dist/components/results/ResultsDropdownAnswer.js +41 -0
- package/dist/components/results/ResultsDropdownAnswer.js.map +1 -0
- package/dist/components/results/ResultsExamQuestion.d.ts +5 -0
- package/dist/components/results/ResultsExamQuestion.d.ts.map +1 -0
- package/dist/components/results/ResultsExamQuestion.js +23 -0
- package/dist/components/results/ResultsExamQuestion.js.map +1 -0
- package/dist/components/results/ResultsExamQuestionAutoScore.d.ts +10 -0
- package/dist/components/results/ResultsExamQuestionAutoScore.d.ts.map +1 -0
- package/dist/components/results/ResultsExamQuestionAutoScore.js +16 -0
- package/dist/components/results/ResultsExamQuestionAutoScore.js.map +1 -0
- package/dist/components/results/ResultsExamQuestionManualScore.d.ts +11 -0
- package/dist/components/results/ResultsExamQuestionManualScore.d.ts.map +1 -0
- package/dist/components/results/ResultsExamQuestionManualScore.js +62 -0
- package/dist/components/results/ResultsExamQuestionManualScore.js.map +1 -0
- package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts +9 -0
- package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts.map +1 -0
- package/dist/components/results/ResultsExamQuestionScoresContainer.js +8 -0
- package/dist/components/results/ResultsExamQuestionScoresContainer.js.map +1 -0
- package/dist/components/results/ResultsExamQuestionTitle.d.ts +6 -0
- package/dist/components/results/ResultsExamQuestionTitle.d.ts.map +1 -0
- package/dist/components/results/ResultsExamQuestionTitle.js +22 -0
- package/dist/components/results/ResultsExamQuestionTitle.js.map +1 -0
- package/dist/components/results/ResultsExamSection.d.ts +5 -0
- package/dist/components/results/ResultsExamSection.d.ts.map +1 -0
- package/dist/components/results/ResultsExamSection.js +17 -0
- package/dist/components/results/ResultsExamSection.js.map +1 -0
- package/dist/components/results/ResultsScoredTextAnswer.d.ts +6 -0
- package/dist/components/results/ResultsScoredTextAnswer.d.ts.map +1 -0
- package/dist/components/results/ResultsScoredTextAnswer.js +22 -0
- package/dist/components/results/ResultsScoredTextAnswer.js.map +1 -0
- package/dist/components/results/ResultsSingleLineAnswer.d.ts +12 -0
- package/dist/components/results/ResultsSingleLineAnswer.d.ts.map +1 -0
- package/dist/components/results/ResultsSingleLineAnswer.js +12 -0
- package/dist/components/results/ResultsSingleLineAnswer.js.map +1 -0
- package/dist/components/results/ResultsTextAnswer.d.ts +6 -0
- package/dist/components/results/ResultsTextAnswer.d.ts.map +1 -0
- package/dist/components/results/ResultsTextAnswer.js +51 -0
- package/dist/components/results/ResultsTextAnswer.js.map +1 -0
- package/dist/components/results/SingleLineAnswer.js.map +1 -1
- package/dist/components/results/TextAnswer.js.map +1 -1
- package/dist/components/results/helpers.d.ts +9 -0
- package/dist/components/results/helpers.d.ts.map +1 -0
- package/dist/components/results/helpers.js +10 -0
- package/dist/components/results/helpers.js.map +1 -0
- package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
- package/dist/components/shared/AttachmentLinks.js.map +1 -1
- package/dist/components/shared/Reference.js.map +1 -1
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/components/types.d.ts +110 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/components/types.js +1 -0
- package/dist/components/types.js.map +1 -0
- package/dist/components/withContext.d.ts +3 -0
- package/dist/components/withContext.d.ts.map +1 -0
- package/dist/components/withContext.js +12 -0
- package/dist/components/withContext.js.map +1 -0
- package/dist/createRenderChildNodes.js.map +1 -1
- package/dist/dom-utils.js.map +1 -1
- package/dist/fonts.js +2 -2
- package/dist/fonts.js.map +1 -1
- package/dist/i18n/index.js.map +1 -1
- package/dist/ids.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/parser/parseExam.js.map +1 -1
- package/dist/renderAnnotations.js.map +1 -1
- package/dist/scrollToHash.js.map +1 -1
- package/dist/store/answers/reducer.js.map +1 -1
- package/dist/store/answers/sagas.js.map +1 -1
- package/dist/store/audio/reducer.js.map +1 -1
- package/dist/store/audio/sagas.js.map +1 -1
- package/dist/store/cas/reducer.js.map +1 -1
- package/dist/store/cas/sagas.js.map +1 -1
- package/dist/store/countdown.js.map +1 -1
- package/dist/store/selectors.js.map +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/validateAnswers.js.map +1 -1
- package/package.json +3 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
import React, { useContext } from 'react';
|
2
|
+
import { query } from '../../dom-utils';
|
3
|
+
import Section from '../Section';
|
4
|
+
import { SectionContext, withSectionContext } from '../SectionContext';
|
5
|
+
import { ResultsContext } from './ResultsContext';
|
6
|
+
function ResultsExamSection({ element, renderChildNodes }) {
|
7
|
+
const { displayNumber } = useContext(SectionContext);
|
8
|
+
const { answersByQuestionId } = useContext(ResultsContext);
|
9
|
+
const containsAnswers = query(element, (e) => {
|
10
|
+
const maybeQuestionId = e.getAttribute('question-id');
|
11
|
+
return maybeQuestionId != null && Object.prototype.hasOwnProperty.call(answersByQuestionId, maybeQuestionId);
|
12
|
+
});
|
13
|
+
return containsAnswers ? (React.createElement(Section, { "aria-labelledby": displayNumber + '-title' },
|
14
|
+
React.createElement("div", { className: "e-results-section-wrapper" }, renderChildNodes(element)))) : null;
|
15
|
+
}
|
16
|
+
export default React.memo(withSectionContext(ResultsExamSection));
|
17
|
+
//# sourceMappingURL=ResultsExamSection.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsExamSection.js","sourceRoot":"","sources":["../../../src/components/results/ResultsExamSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGjD,SAAS,kBAAkB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IAC3E,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACpD,MAAM,EAAE,mBAAmB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC1D,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;QAC3C,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC,aAAa,CAAC,CAAA;QACrD,OAAO,eAAe,IAAI,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAA;IAC9G,CAAC,CAAC,CAAA;IAEF,OAAO,eAAe,CAAC,CAAC,CAAC,CACvB,oBAAC,OAAO,uBAAkB,aAAa,GAAG,QAAQ;QAChD,6BAAK,SAAS,EAAC,2BAA2B,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CACpE,CACX,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { ExamComponentProps } from '../../createRenderChildNodes';
|
3
|
+
declare function ResultsScoredTextAnswer({ element }: ExamComponentProps): JSX.Element;
|
4
|
+
declare const _default: React.MemoExoticComponent<typeof ResultsScoredTextAnswer>;
|
5
|
+
export default _default;
|
6
|
+
//# sourceMappingURL=ResultsScoredTextAnswer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsScoredTextAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsScoredTextAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAOzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,iBAAS,uBAAuB,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,eAmB/D;;AAED,wBAAkD"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import React, { useContext } from 'react';
|
2
|
+
import { getNumericAttribute } from '../../dom-utils';
|
3
|
+
import { shortDisplayNumber } from '../../shortDisplayNumber';
|
4
|
+
import { QuestionContext } from '../QuestionContext';
|
5
|
+
import { findScore, ResultsContext } from './ResultsContext';
|
6
|
+
import ResultsExamQuestionAutoScore from './ResultsExamQuestionAutoScore';
|
7
|
+
import ResultsSingleLineAnswer from './ResultsSingleLineAnswer';
|
8
|
+
function ResultsScoredTextAnswer({ element }) {
|
9
|
+
var _a;
|
10
|
+
const { answers } = useContext(QuestionContext);
|
11
|
+
const { answersByQuestionId, scores } = useContext(ResultsContext);
|
12
|
+
const questionId = getNumericAttribute(element, 'question-id');
|
13
|
+
const maxScore = getNumericAttribute(element, 'max-score');
|
14
|
+
const answer = answersByQuestionId[questionId];
|
15
|
+
const value = answer && answer.value;
|
16
|
+
const displayNumber = shortDisplayNumber(element.getAttribute('display-number'));
|
17
|
+
const autogradingScore = (_a = findScore(scores, questionId)) === null || _a === void 0 ? void 0 : _a.autograding;
|
18
|
+
return (React.createElement(ResultsSingleLineAnswer, { answers: answers, displayNumber: displayNumber, value: value },
|
19
|
+
React.createElement(ResultsExamQuestionAutoScore, { score: autogradingScore === null || autogradingScore === void 0 ? void 0 : autogradingScore.score, maxScore: maxScore, displayNumber: answers.length > 1 ? displayNumber : undefined })));
|
20
|
+
}
|
21
|
+
export default React.memo(ResultsScoredTextAnswer);
|
22
|
+
//# sourceMappingURL=ResultsScoredTextAnswer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsScoredTextAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ResultsScoredTextAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO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eAAe,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Score } from '../../types/Score';
|
3
|
+
declare function ResultsSingleLineAnswer({ answers, displayNumber, answerScores, value, children, }: {
|
4
|
+
answers: Element[];
|
5
|
+
answerScores?: Score;
|
6
|
+
displayNumber: string;
|
7
|
+
value: string | undefined;
|
8
|
+
children: React.ReactNode;
|
9
|
+
}): JSX.Element;
|
10
|
+
declare const _default: React.MemoExoticComponent<typeof ResultsSingleLineAnswer>;
|
11
|
+
export default _default;
|
12
|
+
//# sourceMappingURL=ResultsSingleLineAnswer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsSingleLineAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsSingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEzC,iBAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,YAAY,EACZ,KAAK,EACL,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,eAcA;;AAED,wBAAkD"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { getAnnotationAttributes } from './helpers';
|
3
|
+
function ResultsSingleLineAnswer({ answers, displayNumber, answerScores, value, children, }) {
|
4
|
+
return (React.createElement(React.Fragment, null,
|
5
|
+
answers.length > 1 && React.createElement("sup", null, displayNumber),
|
6
|
+
React.createElement("span", { className: "answer text-answer text-answer--single-line" },
|
7
|
+
React.createElement("span", { className: "e-inline-block answer-text-container" },
|
8
|
+
React.createElement("div", Object.assign({ className: "answerText e-inline-block" }, getAnnotationAttributes(answerScores)), value))),
|
9
|
+
children));
|
10
|
+
}
|
11
|
+
export default React.memo(ResultsSingleLineAnswer);
|
12
|
+
//# sourceMappingURL=ResultsSingleLineAnswer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsSingleLineAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ResultsSingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAGnD,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,YAAY,EACZ,KAAK,EACL,QAAQ,GAOT;IACC,OAAO,CACL;QACG,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,iCAAM,aAAa,CAAO;QACjD,8BAAM,SAAS,EAAC,6CAA6C;YAC3D,8BAAM,SAAS,EAAC,sCAAsC;gBACpD,2CAAK,SAAS,EAAC,2BAA2B,IAAK,uBAAuB,CAAC,YAAY,CAAC,GACjF,KAAK,CACF,CACD,CACF;QACN,QAAQ,CACR,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { ExamComponentProps } from '../../createRenderChildNodes';
|
3
|
+
declare function ResultsTextAnswer({ element }: ExamComponentProps): JSX.Element;
|
4
|
+
declare const _default: React.MemoExoticComponent<typeof ResultsTextAnswer>;
|
5
|
+
export default _default;
|
6
|
+
//# sourceMappingURL=ResultsTextAnswer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsTextAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsTextAnswer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,iBAAS,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,eAyDzD;;AAED,wBAA4C"}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import classNames from 'classnames';
|
2
|
+
import React, { useContext } from 'react';
|
3
|
+
import { useTranslation } from 'react-i18next';
|
4
|
+
import { getNumericAttribute } from '../../dom-utils';
|
5
|
+
import { shortDisplayNumber } from '../../shortDisplayNumber';
|
6
|
+
import AnswerToolbar from '../AnswerToolbar';
|
7
|
+
import { QuestionContext } from '../QuestionContext';
|
8
|
+
import { getAnnotationAttributes } from './helpers';
|
9
|
+
import { findScore, ResultsContext } from './ResultsContext';
|
10
|
+
import ResultsExamQuestionManualScore from './ResultsExamQuestionManualScore';
|
11
|
+
import ResultsSingleLineAnswer from './ResultsSingleLineAnswer';
|
12
|
+
function ResultsTextAnswer({ element }) {
|
13
|
+
var _a;
|
14
|
+
const { answers } = useContext(QuestionContext);
|
15
|
+
const { answersByQuestionId, scores } = useContext(ResultsContext);
|
16
|
+
const { t } = useTranslation();
|
17
|
+
const questionId = getNumericAttribute(element, 'question-id');
|
18
|
+
const maxScore = getNumericAttribute(element, 'max-score');
|
19
|
+
const answer = answersByQuestionId[questionId];
|
20
|
+
const value = answer && answer.value;
|
21
|
+
const displayNumber = shortDisplayNumber(element.getAttribute('display-number'));
|
22
|
+
const answerScores = findScore(scores, questionId);
|
23
|
+
const comment = (_a = answerScores === null || answerScores === void 0 ? void 0 : answerScores.pregrading) === null || _a === void 0 ? void 0 : _a.comment;
|
24
|
+
const type = (element.getAttribute('type') || 'single-line');
|
25
|
+
switch (type) {
|
26
|
+
case 'rich-text':
|
27
|
+
case 'multi-line': {
|
28
|
+
const props = {
|
29
|
+
...getAnnotationAttributes(answerScores),
|
30
|
+
className: classNames('answerText', { 'e-pre-wrap': type === 'multi-line' }),
|
31
|
+
};
|
32
|
+
return (React.createElement(React.Fragment, null,
|
33
|
+
React.createElement(ResultsExamQuestionManualScore, { scores: answerScores, maxScore: maxScore }),
|
34
|
+
React.createElement("div", { className: "answer e-multiline-results-text-answer" },
|
35
|
+
React.createElement("div", { className: "answer-text-container" }, type === 'rich-text' ? (React.createElement("div", Object.assign({}, props, { dangerouslySetInnerHTML: { __html: value } }))) : (React.createElement("div", Object.assign({}, props), value)))),
|
36
|
+
React.createElement(AnswerToolbar, Object.assign({}, {
|
37
|
+
answer,
|
38
|
+
element,
|
39
|
+
})),
|
40
|
+
comment && (React.createElement(React.Fragment, null,
|
41
|
+
React.createElement("h5", null, t('comment')),
|
42
|
+
React.createElement("p", { className: "e-italic" }, comment)))));
|
43
|
+
}
|
44
|
+
case 'single-line':
|
45
|
+
default:
|
46
|
+
return (React.createElement(ResultsSingleLineAnswer, Object.assign({}, { answers, answerScores, displayNumber, value }),
|
47
|
+
React.createElement(ResultsExamQuestionManualScore, Object.assign({}, { scores: answerScores, maxScore, displayNumber: answers.length > 1 ? displayNumber : undefined }))));
|
48
|
+
}
|
49
|
+
}
|
50
|
+
export default React.memo(ResultsTextAnswer);
|
51
|
+
//# sourceMappingURL=ResultsTextAnswer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResultsTextAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ResultsTextAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,uBAAuB,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K,YAAY,EAAE,CAAC;aAC7E,CAAA;YACD,OAAO,CACL;gBACE,oBAAC,8BAA8B,IAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,GAAI;gBAC5E,6BAAK,SAAS,EAAC,wCAAwC;oBACrD,6BAAK,SAAS,EAAC,uBAAuB,IACnC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CACtB,6CAAS,KAAK,IAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,KAAM,EAAE,IAAI,CAChE,CAAC,CAAC,CAAC,CACF,6CAAS,KAAK,GAAG,KAAK,CAAO,CAC9B,CACG,CACF;gBACN,oBAAC,aAAa,oBACR;oBACF,MAAM;oBACN,OAAO;iBACR,EACD;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,oBAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,KAAK,EAAE;gBAC1E,oBAAC,8BAA8B,oBACzB,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,EACrG,CACsB,CAC3B,CAAA;KACJ;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleLineAnswer.js","sourceRoot":"","sources":["../../../src/components/results/SingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA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AAO,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,0CAAE,OAAO,CAAA;IAC1C,MAAM,IAAI,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,aAAa,CAAgC,CAAA;IAC3F,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;IAE5D,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,WAAW,CAAC,CAAC,CAAC;YACjB,OAAO,CACL;gBACG,SAAS,IAAI,IAAI,IAAI,oBAAC,gBAAgB,IAAO,SAAS,GAAM;gBAC7D,oBAAC,8BAA8B,IAAC,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI;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;QACH,CAAC;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;IACL,CAAC;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Score } from '../../types/Score';
|
2
|
+
export declare const getAnnotationAttributes: (answer?: Score | undefined) => {
|
3
|
+
'data-pregrading-annotations': string;
|
4
|
+
'data-censoring-annotations': string;
|
5
|
+
} | {
|
6
|
+
'data-pregrading-annotations'?: undefined;
|
7
|
+
'data-censoring-annotations'?: undefined;
|
8
|
+
};
|
9
|
+
//# sourceMappingURL=helpers.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/results/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEzC,eAAO,MAAM,uBAAuB;;;;;;CAM5B,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export const getAnnotationAttributes = (answer) => {
|
2
|
+
var _a, _b, _c, _d;
|
3
|
+
return answer
|
4
|
+
? {
|
5
|
+
'data-pregrading-annotations': JSON.stringify((_b = (_a = answer === null || answer === void 0 ? void 0 : answer.pregrading) === null || _a === void 0 ? void 0 : _a.annotations) !== null && _b !== void 0 ? _b : []),
|
6
|
+
'data-censoring-annotations': JSON.stringify((_d = (_c = answer === null || answer === void 0 ? void 0 : answer.censoring) === null || _c === void 0 ? void 0 : _c.annotations) !== null && _d !== void 0 ? _d : []),
|
7
|
+
}
|
8
|
+
: {};
|
9
|
+
};
|
10
|
+
//# sourceMappingURL=helpers.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/components/results/helpers.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAc,EAAE,EAAE;;IACxD,OAAA,MAAM;QACJ,CAAC,CAAC;YACE,6BAA6B,EAAE,IAAI,CAAC,SAAS,aAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,0CAAE,WAAW,mCAAI,EAAE,CAAC;YACpF,4BAA4B,EAAE,IAAI,CAAC,SAAS,aAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,WAAW,mCAAI,EAAE,CAAC;SACnF;QACH,CAAC,CAAC,EAAE,CAAA;CAAA,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuestionScoresContainer.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAA;AAErE,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAMhB;IACC,MAAM,EAAE,aAAa,EAAE,qBAAqB,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC5E,MAAM,wBAAwB,GAAG,2BAA2B,EAAE,CAAA;IAC9D,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,qBAAqB,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IAEnH,IAAI,wBAAwB,EAAE;
|
1
|
+
{"version":3,"file":"QuestionScoresContainer.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAA;AAErE,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAMhB;IACC,MAAM,EAAE,aAAa,EAAE,qBAAqB,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC5E,MAAM,wBAAwB,GAAG,2BAA2B,EA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,MAAM,EAAE,CAAC;QACxB,OAAO,KAAK,CAAA;IACd,CAAC;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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../../src/components/shared/Reference.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,gBAAgB,MAAM,qBAAqB,CAAA;AAClD,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,SAAS,SAAS,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IAClE,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,SAAS,UAAU,CAAC,SAAiB,EAAE,SAAkD;QACvF,MAAM,YAAY,GAAG,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;QACzD,IAAI,YAAY,EAAE;
|
1
|
+
{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../../src/components/shared/Reference.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC7E,OAA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AwB,IAAI,6BAAK,SAAS,EAAC,iBAAiB,QAAQ;oBACrE,8BAAM,SAAS,EAAC,cAAc,IAAE,CAAC,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAQ,CACnF,CACF,CACP;YAED,4BAAI,SAAS,EAAC,wBAAwB,IAAE,gBAAgB,CAAC,IAAI,CAAC,CAAM;YACpE,6BAAK,SAAS,EAAC,WAAW;gBACxB,gCAAQ,SAAS,EAAC,kBAAkB,IAAE,CAAC,CAAC,YAAY,CAAC,CAAU;gBAC/D,gCAAQ,SAAS,EAAC,2DAA2D,IAC1E,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAC1B;gBACR,WAAW,IAAI,8BAAM,SAAS,EAAC,+CAA+C,GAAG,CAC9E,CACF,CACP,CAAA;IACH,CAAC,CAAA;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AACpC,CAAC,CAAA"}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { RenderChildNodes } from '../createRenderChildNodes';
|
2
|
+
import { Translations } from '../i18n/fi-FI';
|
3
|
+
export declare type QuestionId = number;
|
4
|
+
interface AnswerCommon {
|
5
|
+
questionId: QuestionId;
|
6
|
+
value: string;
|
7
|
+
/** This field is undefined in older exams that were packaged before this change. */
|
8
|
+
displayNumber?: string;
|
9
|
+
}
|
10
|
+
export interface TextAnswer extends AnswerCommon {
|
11
|
+
type: 'text';
|
12
|
+
characterCount: number;
|
13
|
+
}
|
14
|
+
export interface RichTextAnswer extends AnswerCommon {
|
15
|
+
type: 'richText';
|
16
|
+
characterCount: number;
|
17
|
+
}
|
18
|
+
export interface ChoiceAnswer extends AnswerCommon {
|
19
|
+
type: 'choice';
|
20
|
+
}
|
21
|
+
export declare type ExamAnswer = TextAnswer | RichTextAnswer | ChoiceAnswer;
|
22
|
+
export declare type SaveState = 'initial' | 'saving' | 'saved';
|
23
|
+
export interface Annotation {
|
24
|
+
startIndex: number;
|
25
|
+
length: number;
|
26
|
+
message: string;
|
27
|
+
}
|
28
|
+
export interface AnswerScore {
|
29
|
+
questionId: number;
|
30
|
+
scoreValue: number;
|
31
|
+
comment?: string;
|
32
|
+
annotations: Annotation[];
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* CAS status is a state machine with three states.
|
36
|
+
*
|
37
|
+
* ```
|
38
|
+
* +---------+ +--------+ +-------+
|
39
|
+
* |forbidden| <---> |allowing| ---> |allowed|
|
40
|
+
* +---------+ +--------+ +-------+
|
41
|
+
* ```
|
42
|
+
*
|
43
|
+
* When the user clicks the "Palauta A-osa" button, we start a 60s countdown
|
44
|
+
* and transition the state from `'forbidden'` to `'allowing'`. When the timer reaches
|
45
|
+
* zero, we transition the state from from `'allowing'` to `'allowed'`. Cancelling
|
46
|
+
* the countdown transitions the state back from `'allowing'` to `'forbidden'`.
|
47
|
+
*/
|
48
|
+
export declare type CasStatus = InitialCasStatus | 'allowing';
|
49
|
+
export declare type InitialCasStatus = 'allowed' | 'forbidden';
|
50
|
+
export declare type RestrictedAudioId = number;
|
51
|
+
export declare type AudioPlaybackError =
|
52
|
+
/** The user has already accessed this restricted audio */
|
53
|
+
'already-accessed'
|
54
|
+
/** There already is an audio file playing */
|
55
|
+
| 'already-playing'
|
56
|
+
/** Other error, e.g. a network issue */
|
57
|
+
| 'other-error';
|
58
|
+
export declare type AudioPlaybackResponse = 'ok' | AudioPlaybackError;
|
59
|
+
export interface RestrictedAudioPlaybackStats {
|
60
|
+
/** An unique identifier for each restricted audio element */
|
61
|
+
restrictedAudioId: RestrictedAudioId;
|
62
|
+
/** Number of times it has been listened to. */
|
63
|
+
times: number;
|
64
|
+
}
|
65
|
+
export interface ExamComponentProps {
|
66
|
+
className?: string;
|
67
|
+
/** An element in the exam XML. */
|
68
|
+
element: Element;
|
69
|
+
/** A function that knows how to render the child nodes of this element. */
|
70
|
+
renderChildNodes: RenderChildNodes;
|
71
|
+
}
|
72
|
+
export interface ExamServerAPI {
|
73
|
+
/**
|
74
|
+
* Setting CAS status to allowed will lock the answers for each section where
|
75
|
+
* the use of CAS software is forbidden.
|
76
|
+
*
|
77
|
+
* All state transitions are not legal (for example, you may not disable CAS
|
78
|
+
* software after they have been allowed), so the function returns the CAS
|
79
|
+
* status that the server decided upon.
|
80
|
+
*/
|
81
|
+
setCasStatus: (casStatus: CasStatus) => Promise<CasStatus>;
|
82
|
+
/** Retrieve the latest answer for each question */
|
83
|
+
getAnswers: () => Promise<ExamAnswer[]>;
|
84
|
+
/** Save a new answer to the server */
|
85
|
+
saveAnswer: (answer: ExamAnswer) => Promise<void>;
|
86
|
+
/**
|
87
|
+
* Play a non-restricted audio file. Right now, this is only used by the
|
88
|
+
* audio test. The Promise should be resolved with `'ok'` when playback starts
|
89
|
+
* or with an error response if an error occurs.
|
90
|
+
*/
|
91
|
+
playAudio: (src: string) => Promise<AudioPlaybackResponse>;
|
92
|
+
/**
|
93
|
+
* Play a restricted audio file. The promise should be resolved with `'ok'`
|
94
|
+
* when the playback starts or with an error response if an error occurs.
|
95
|
+
*
|
96
|
+
* @param restrictedAudioId A number that uniquely identifies each restricted audio element.
|
97
|
+
* @param playbackTimes How many times this audio has been listened to already.
|
98
|
+
*/
|
99
|
+
playRestrictedAudio: (src: string, restrictedAudioId: number, playbackTimes: number) => Promise<AudioPlaybackResponse>;
|
100
|
+
/** Select another answer version from answer history. Return undefined to cancel. Optional feature. */
|
101
|
+
selectAnswerVersion?: (questionId: QuestionId, questionTitle: string) => Promise<ExamAnswer | undefined>;
|
102
|
+
/** Save screenshot to server. Should return the URL to the saved screenshot. */
|
103
|
+
saveScreenshot: (questionId: QuestionId, screenshot: Blob) => Promise<string>;
|
104
|
+
}
|
105
|
+
export interface AnswerError {
|
106
|
+
key: keyof Translations['answer-errors'];
|
107
|
+
options?: object;
|
108
|
+
}
|
109
|
+
export {};
|
110
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
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AAW,WAAW;IAC1B,GAAG,EAAE,MAAM,YAAY,CAAC,eAAe,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"withContext.d.ts","sourceRoot":"","sources":["../../src/components/withContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,WAAW,wHAavB,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { getDisplayName } from '../getDisplayName';
|
3
|
+
export const withContext = (Context, parse) => (Component) => {
|
4
|
+
const Wrapped = (props) => {
|
5
|
+
const ctx = parse(props);
|
6
|
+
return (React.createElement(Context.Provider, { value: ctx },
|
7
|
+
React.createElement(Component, Object.assign({}, props))));
|
8
|
+
};
|
9
|
+
Wrapped.displayName = 'WithContext(' + getDisplayName(Component) + ')';
|
10
|
+
return Wrapped;
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=withContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"withContext.js","sourceRoot":"","sources":["../../src/components/withContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAO,OAAyB,EAAE,KAAkB,EAAE,EAAE,CAAC,CAClF,SAAiC,EACT,EAAE;IAC1B,MAAM,OAAO,GAAG,CAAC,KAAQ,EAAE,EAAE;QAC3B,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAA;QACxB,OAAO,CACL,oBAAC,OAAO,CAAC,QAAQ,IAAC,KAAK,EAAE,GAAG;YAC1B,oBAAC,SAAS,oBAAK,KAAK,EAAI,CACP,CACpB,CAAA;IACH,CAAC,CAAA;IACD,OAAO,CAAC,WAAW,GAAG,cAAc,GAAG,cAAc,CAAC,SAAS,CAAC,GAAG,GAAG,CAAA;IACtE,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createRenderChildNodes.js","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,uCAAuC,CAAA;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8BAA8B,CAAA;AAiB/D,MAAM,UAAU,sBAAsB,CACpC,YAAqE;IAErE,SAAS,eAAe,CAAC,IAAe,EAAE,KAAa,EAAE,OAAsB;QAC7E,QAAQ,IAAI,CAAC,QAAQ,EAAE;
|
1
|
+
{"version":3,"file":"createRenderChildNodes.js","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,uCAAuC,CAAA;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8BAA8B,CAAA;AAiB/D,MAAM,UAAU,sBAAsB,CACpC,YAAqE;IAErE,SAAS,eAAe,CAAC,IAAe,EAAE,KAAa,EAAE,OAAsB;QAC7E,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;YACtB,KAAK,IAAI,CAAC,SAAS,CAAC;YACpB,KAAK,IAAI,CAAC,kBAAkB;gBAC1B,OAAO,OAAO,qCAA6B,CAAC,CAAC,CAAC,cAAc,CAAC,IAAY,CAAC,CAAC,CAAC,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
|
|
2
2
|
import * as _ from 'lodash-es';
|
3
3
|
/** A promise that resolves when the main fonts on the exam have been loaded. */
|
4
4
|
export const ready = Promise.all([
|
5
|
-
new FontFaceObserver('Noto Sans', { weight: 300 }).load(),
|
6
|
-
new FontFaceObserver('Noto Sans', { weight: 400 }).load(),
|
5
|
+
new FontFaceObserver('Noto Sans', { weight: 300 }).load(), // Light
|
6
|
+
new FontFaceObserver('Noto Sans', { weight: 400 }).load(), // Regular
|
7
7
|
new FontFaceObserver('Noto Sans', { weight: 600 }).load() // Semibold
|
8
8
|
])
|
9
9
|
// eslint-disable-next-line promise/always-return
|
package/dist/fonts.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fonts.js","sourceRoot":"","sources":["../src/fonts.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,gFAAgF;AAChF,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAC/B,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE;
|
1
|
+
{"version":3,"file":"fonts.js","sourceRoot":"","sources":["../src/fonts.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,gFAAgF;AAChF,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAC/B,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,QAAQ;IACnE,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,UAAU;IACrE,IAAI,gBAAgB,CAAC,WAAW,EAA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