@digabi/exam-engine-core 16.1.1-16.1.1-alpha.0.1 → 16.1.3
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/__tests__/AnsweringInstructions.test.js +1 -1
- package/dist/__tests__/AnsweringInstructions.test.js.map +1 -1
- package/dist/__tests__/casSaga.test.js +19 -19
- package/dist/__tests__/casSaga.test.js.map +1 -1
- package/dist/__tests__/renderAnnotations.test.js +2 -2
- package/dist/__tests__/renderAnnotations.test.js.map +1 -1
- package/dist/__tests__/results/AnnotationList.test.js +3 -3
- package/dist/__tests__/results/AnnotationList.test.js.map +1 -1
- package/dist/__tests__/results/ResultsContext.test.js +12 -12
- package/dist/__tests__/results/ResultsContext.test.js.map +1 -1
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js +2 -2
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js.map +1 -1
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js +3 -3
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js.map +1 -1
- package/dist/__tests__/testExamRendering.js +8 -8
- package/dist/__tests__/testExamRendering.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/__tests__/util.test.js +4 -4
- package/dist/__tests__/util.test.js.map +1 -1
- package/dist/__tests__/validateAnswers.test.js +14 -14
- package/dist/__tests__/validateAnswers.test.js.map +1 -1
- package/dist/components/DocumentTitle.d.ts.map +1 -1
- package/dist/components/DocumentTitle.js +2 -2
- package/dist/components/DocumentTitle.js.map +1 -1
- package/dist/components/grading-instructions/ExamGradingInstruction.js +1 -1
- package/dist/components/grading-instructions/ExamGradingInstruction.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.js +13 -15
- package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
- package/dist/components/grading-instructions/RecordingTitle.d.ts +5 -0
- package/dist/components/grading-instructions/RecordingTitle.d.ts.map +1 -0
- package/dist/components/grading-instructions/RecordingTitle.js +11 -0
- package/dist/components/grading-instructions/RecordingTitle.js.map +1 -0
- package/dist/components/results/DropdownAnswer.d.ts.map +1 -1
- package/dist/components/results/DropdownAnswer.js +3 -3
- package/dist/components/results/DropdownAnswer.js.map +1 -1
- package/dist/components/shared/ImageTitle.d.ts +5 -0
- package/dist/components/shared/ImageTitle.d.ts.map +1 -0
- package/dist/components/shared/ImageTitle.js +7 -0
- package/dist/components/shared/ImageTitle.js.map +1 -0
- package/dist/i18n/fi-FI.d.ts.map +1 -1
- package/dist/i18n/fi-FI.js.map +1 -1
- package/dist/main-bundle.js +19 -19
- package/dist/main.css +1 -1
- package/dist/store/answers/actions.d.ts +2 -2
- package/dist/store/answers/actions.d.ts.map +1 -1
- package/dist/store/answers/actions.js.map +1 -1
- package/dist/store/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/components/AttachmentContext.d.ts +0 -14
- package/dist/components/AttachmentContext.d.ts.map +0 -1
- package/dist/components/AttachmentContext.js +0 -12
- package/dist/components/AttachmentContext.js.map +0 -1
- package/dist/components/AttachmentLink.d.ts +0 -5
- package/dist/components/AttachmentLink.d.ts.map +0 -1
- package/dist/components/AttachmentLink.js +0 -28
- package/dist/components/AttachmentLink.js.map +0 -1
- package/dist/components/AttachmentLinkAnchor.d.ts +0 -7
- package/dist/components/AttachmentLinkAnchor.d.ts.map +0 -1
- package/dist/components/AttachmentLinkAnchor.js +0 -4
- package/dist/components/AttachmentLinkAnchor.js.map +0 -1
- package/dist/components/AttachmentLinks.d.ts +0 -5
- package/dist/components/AttachmentLinks.d.ts.map +0 -1
- package/dist/components/AttachmentLinks.js +0 -62
- package/dist/components/AttachmentLinks.js.map +0 -1
- package/dist/components/Attachments.d.ts +0 -6
- package/dist/components/Attachments.d.ts.map +0 -1
- package/dist/components/Attachments.js +0 -55
- package/dist/components/Attachments.js.map +0 -1
- package/dist/components/AttachmentsAttachment.d.ts +0 -5
- package/dist/components/AttachmentsAttachment.d.ts.map +0 -1
- package/dist/components/AttachmentsAttachment.js +0 -8
- package/dist/components/AttachmentsAttachment.js.map +0 -1
- package/dist/components/AttachmentsAttachmentTitle.d.ts +0 -6
- package/dist/components/AttachmentsAttachmentTitle.d.ts.map +0 -1
- package/dist/components/AttachmentsAttachmentTitle.js +0 -12
- package/dist/components/AttachmentsAttachmentTitle.js.map +0 -1
- package/dist/components/AttachmentsExternalMaterial.d.ts +0 -9
- package/dist/components/AttachmentsExternalMaterial.d.ts.map +0 -1
- package/dist/components/AttachmentsExternalMaterial.js +0 -40
- package/dist/components/AttachmentsExternalMaterial.js.map +0 -1
- package/dist/components/AttachmentsQuestion.d.ts +0 -5
- package/dist/components/AttachmentsQuestion.d.ts.map +0 -1
- package/dist/components/AttachmentsQuestion.js +0 -17
- package/dist/components/AttachmentsQuestion.js.map +0 -1
- package/dist/components/AttachmentsQuestionTitle.d.ts +0 -6
- package/dist/components/AttachmentsQuestionTitle.d.ts.map +0 -1
- package/dist/components/AttachmentsQuestionTitle.js +0 -13
- package/dist/components/AttachmentsQuestionTitle.js.map +0 -1
- package/dist/components/Audio.d.ts +0 -6
- package/dist/components/Audio.d.ts.map +0 -1
- package/dist/components/Audio.js +0 -31
- package/dist/components/Audio.js.map +0 -1
- package/dist/components/AudioGroup.d.ts +0 -6
- package/dist/components/AudioGroup.d.ts.map +0 -1
- package/dist/components/AudioGroup.js +0 -9
- package/dist/components/AudioGroup.js.map +0 -1
- package/dist/components/AudioPlaybackError.d.ts +0 -7
- package/dist/components/AudioPlaybackError.d.ts.map +0 -1
- package/dist/components/AudioPlaybackError.js +0 -13
- package/dist/components/AudioPlaybackError.js.map +0 -1
- package/dist/components/AudioTest.d.ts +0 -6
- package/dist/components/AudioTest.d.ts.map +0 -1
- package/dist/components/AudioTest.js +0 -29
- package/dist/components/AudioTest.js.map +0 -1
- package/dist/components/ChoiceAnswer.d.ts +0 -12
- package/dist/components/ChoiceAnswer.d.ts.map +0 -1
- package/dist/components/ChoiceAnswer.js +0 -62
- package/dist/components/ChoiceAnswer.js.map +0 -1
- package/dist/components/CommonExamContext.d.ts +0 -19
- package/dist/components/CommonExamContext.d.ts.map +0 -1
- package/dist/components/CommonExamContext.js +0 -25
- package/dist/components/CommonExamContext.js.map +0 -1
- package/dist/components/DropdownAnswer.d.ts +0 -12
- package/dist/components/DropdownAnswer.d.ts.map +0 -1
- package/dist/components/DropdownAnswer.js +0 -100
- package/dist/components/DropdownAnswer.js.map +0 -1
- package/dist/components/ErrorIndicator.d.ts +0 -4
- package/dist/components/ErrorIndicator.d.ts.map +0 -1
- package/dist/components/ErrorIndicator.js +0 -43
- package/dist/components/ErrorIndicator.js.map +0 -1
- package/dist/components/Exam.d.ts +0 -32
- package/dist/components/Exam.d.ts.map +0 -1
- package/dist/components/Exam.js +0 -103
- package/dist/components/Exam.js.map +0 -1
- package/dist/components/ExamAttachment.d.ts +0 -5
- package/dist/components/ExamAttachment.d.ts.map +0 -1
- package/dist/components/ExamAttachment.js +0 -8
- package/dist/components/ExamAttachment.js.map +0 -1
- package/dist/components/ExamContext.d.ts +0 -10
- package/dist/components/ExamContext.d.ts.map +0 -1
- package/dist/components/ExamContext.js +0 -11
- package/dist/components/ExamContext.js.map +0 -1
- package/dist/components/ExamFooter.d.ts +0 -6
- package/dist/components/ExamFooter.d.ts.map +0 -1
- package/dist/components/ExamFooter.js +0 -7
- package/dist/components/ExamFooter.js.map +0 -1
- package/dist/components/ExamInstruction.d.ts +0 -6
- package/dist/components/ExamInstruction.d.ts.map +0 -1
- package/dist/components/ExamInstruction.js +0 -6
- package/dist/components/ExamInstruction.js.map +0 -1
- package/dist/components/ExamQuestion.d.ts +0 -5
- package/dist/components/ExamQuestion.d.ts.map +0 -1
- package/dist/components/ExamQuestion.js +0 -16
- package/dist/components/ExamQuestion.js.map +0 -1
- package/dist/components/ExamQuestionInstruction.d.ts +0 -6
- package/dist/components/ExamQuestionInstruction.d.ts.map +0 -1
- package/dist/components/ExamQuestionInstruction.js +0 -6
- package/dist/components/ExamQuestionInstruction.js.map +0 -1
- package/dist/components/ExamQuestionTitle.d.ts +0 -5
- package/dist/components/ExamQuestionTitle.d.ts.map +0 -1
- package/dist/components/ExamQuestionTitle.js +0 -24
- package/dist/components/ExamQuestionTitle.js.map +0 -1
- package/dist/components/ExamSection.d.ts +0 -5
- package/dist/components/ExamSection.d.ts.map +0 -1
- package/dist/components/ExamSection.js +0 -31
- package/dist/components/ExamSection.js.map +0 -1
- package/dist/components/ExamSectionTitle.d.ts +0 -6
- package/dist/components/ExamSectionTitle.d.ts.map +0 -1
- package/dist/components/ExamSectionTitle.js +0 -22
- package/dist/components/ExamSectionTitle.js.map +0 -1
- package/dist/components/ExternalMaterialList.d.ts +0 -10
- package/dist/components/ExternalMaterialList.d.ts.map +0 -1
- package/dist/components/ExternalMaterialList.js +0 -33
- package/dist/components/ExternalMaterialList.js.map +0 -1
- package/dist/components/File.d.ts +0 -6
- package/dist/components/File.d.ts.map +0 -1
- package/dist/components/File.js +0 -15
- package/dist/components/File.js.map +0 -1
- package/dist/components/Formula.d.ts +0 -6
- package/dist/components/Formula.d.ts.map +0 -1
- package/dist/components/Formula.js +0 -13
- package/dist/components/Formula.js.map +0 -1
- package/dist/components/Hints.d.ts +0 -5
- package/dist/components/Hints.d.ts.map +0 -1
- package/dist/components/Hints.js +0 -30
- package/dist/components/Hints.js.map +0 -1
- package/dist/components/Image.d.ts +0 -6
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/Image.js +0 -28
- package/dist/components/Image.js.map +0 -1
- package/dist/components/ImageOverlay.d.ts +0 -6
- package/dist/components/ImageOverlay.d.ts.map +0 -1
- package/dist/components/ImageOverlay.js +0 -44
- package/dist/components/ImageOverlay.js.map +0 -1
- package/dist/components/ProgressBar.d.ts +0 -7
- package/dist/components/ProgressBar.d.ts.map +0 -1
- package/dist/components/ProgressBar.js +0 -19
- package/dist/components/ProgressBar.js.map +0 -1
- package/dist/components/QuestionContext.d.ts +0 -14
- package/dist/components/QuestionContext.d.ts.map +0 -1
- package/dist/components/QuestionContext.js +0 -20
- package/dist/components/QuestionContext.js.map +0 -1
- package/dist/components/Reference.d.ts +0 -6
- package/dist/components/Reference.d.ts.map +0 -1
- package/dist/components/Reference.js +0 -71
- package/dist/components/Reference.js.map +0 -1
- package/dist/components/References.d.ts +0 -6
- package/dist/components/References.d.ts.map +0 -1
- package/dist/components/References.js +0 -25
- package/dist/components/References.js.map +0 -1
- package/dist/components/ResponsiveMediaContainer.d.ts +0 -18
- package/dist/components/ResponsiveMediaContainer.d.ts.map +0 -1
- package/dist/components/ResponsiveMediaContainer.js +0 -21
- package/dist/components/ResponsiveMediaContainer.js.map +0 -1
- package/dist/components/RestrictedAudioPlayer.d.ts +0 -12
- package/dist/components/RestrictedAudioPlayer.d.ts.map +0 -1
- package/dist/components/RestrictedAudioPlayer.js +0 -32
- package/dist/components/RestrictedAudioPlayer.js.map +0 -1
- package/dist/components/RichTextAnswer.d.ts +0 -33
- package/dist/components/RichTextAnswer.d.ts.map +0 -1
- package/dist/components/RichTextAnswer.js +0 -61
- package/dist/components/RichTextAnswer.js.map +0 -1
- package/dist/components/SaveIndicator.d.ts +0 -5
- package/dist/components/SaveIndicator.d.ts.map +0 -1
- package/dist/components/SaveIndicator.js +0 -16
- package/dist/components/SaveIndicator.js.map +0 -1
- package/dist/components/Score.d.ts +0 -8
- package/dist/components/Score.d.ts.map +0 -1
- package/dist/components/Score.js +0 -13
- package/dist/components/Score.js.map +0 -1
- package/dist/components/Section.d.ts +0 -4
- package/dist/components/Section.d.ts.map +0 -1
- package/dist/components/Section.js +0 -8
- package/dist/components/Section.js.map +0 -1
- package/dist/components/SectionContext.d.ts +0 -13
- package/dist/components/SectionContext.d.ts.map +0 -1
- package/dist/components/SectionContext.js +0 -21
- package/dist/components/SectionContext.js.map +0 -1
- package/dist/components/SectionInstruction.d.ts +0 -6
- package/dist/components/SectionInstruction.d.ts.map +0 -1
- package/dist/components/SectionInstruction.js +0 -6
- package/dist/components/SectionInstruction.js.map +0 -1
- package/dist/components/TableOfContents.d.ts +0 -13
- package/dist/components/TableOfContents.d.ts.map +0 -1
- package/dist/components/TableOfContents.js +0 -66
- package/dist/components/TableOfContents.js.map +0 -1
- package/dist/components/TextAnswer.d.ts +0 -6
- package/dist/components/TextAnswer.d.ts.map +0 -1
- package/dist/components/TextAnswer.js +0 -17
- package/dist/components/TextAnswer.js.map +0 -1
- package/dist/components/TextAnswerInput.d.ts +0 -36
- package/dist/components/TextAnswerInput.d.ts.map +0 -1
- package/dist/components/TextAnswerInput.js +0 -145
- package/dist/components/TextAnswerInput.js.map +0 -1
- package/dist/components/Video.d.ts +0 -6
- package/dist/components/Video.d.ts.map +0 -1
- package/dist/components/Video.js +0 -15
- package/dist/components/Video.js.map +0 -1
- package/dist/components/exam/TableOfContents.d.ts +0 -13
- package/dist/components/exam/TableOfContents.d.ts.map +0 -1
- package/dist/components/exam/TableOfContents.js +0 -66
- package/dist/components/exam/TableOfContents.js.map +0 -1
- package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts +0 -5
- package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts.map +0 -1
- package/dist/components/grading-instruction/AnswerGradingInstruction.js +0 -6
- package/dist/components/grading-instruction/AnswerGradingInstruction.js.map +0 -1
- package/dist/components/grading-instruction/Audio.d.ts +0 -5
- package/dist/components/grading-instruction/Audio.d.ts.map +0 -1
- package/dist/components/grading-instruction/Audio.js +0 -6
- package/dist/components/grading-instruction/Audio.js.map +0 -1
- package/dist/components/grading-instruction/AudioTitle.d.ts +0 -5
- package/dist/components/grading-instruction/AudioTitle.d.ts.map +0 -1
- package/dist/components/grading-instruction/AudioTitle.js +0 -10
- package/dist/components/grading-instruction/AudioTitle.js.map +0 -1
- package/dist/components/grading-instruction/AutogradedAnswer.d.ts +0 -5
- package/dist/components/grading-instruction/AutogradedAnswer.d.ts.map +0 -1
- package/dist/components/grading-instruction/AutogradedAnswer.js +0 -31
- package/dist/components/grading-instruction/AutogradedAnswer.js.map +0 -1
- package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts +0 -5
- package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts.map +0 -1
- package/dist/components/grading-instruction/AutogradedAnswerOption.js +0 -14
- package/dist/components/grading-instruction/AutogradedAnswerOption.js.map +0 -1
- package/dist/components/grading-instruction/ExamGradingInstruction.d.ts +0 -5
- package/dist/components/grading-instruction/ExamGradingInstruction.d.ts.map +0 -1
- package/dist/components/grading-instruction/ExamGradingInstruction.js +0 -6
- package/dist/components/grading-instruction/ExamGradingInstruction.js.map +0 -1
- package/dist/components/grading-instruction/GradingInstruction.d.ts +0 -5
- package/dist/components/grading-instruction/GradingInstruction.d.ts.map +0 -1
- package/dist/components/grading-instruction/GradingInstruction.js +0 -85
- package/dist/components/grading-instruction/GradingInstruction.js.map +0 -1
- package/dist/components/grading-instruction/Question.d.ts +0 -5
- package/dist/components/grading-instruction/Question.d.ts.map +0 -1
- package/dist/components/grading-instruction/Question.js +0 -12
- package/dist/components/grading-instruction/Question.js.map +0 -1
- package/dist/components/grading-instruction/QuestionTitle.d.ts +0 -5
- package/dist/components/grading-instruction/QuestionTitle.d.ts.map +0 -1
- package/dist/components/grading-instruction/QuestionTitle.js +0 -19
- package/dist/components/grading-instruction/QuestionTitle.js.map +0 -1
- package/dist/components/grading-instruction/Section.d.ts +0 -5
- package/dist/components/grading-instruction/Section.d.ts.map +0 -1
- package/dist/components/grading-instruction/Section.js +0 -10
- package/dist/components/grading-instruction/Section.js.map +0 -1
- package/dist/components/grading-instruction/SectionTitle.d.ts +0 -5
- package/dist/components/grading-instruction/SectionTitle.d.ts.map +0 -1
- package/dist/components/grading-instruction/SectionTitle.js +0 -16
- package/dist/components/grading-instruction/SectionTitle.js.map +0 -1
- package/dist/components/results/AnnotationList.d.ts +0 -5
- package/dist/components/results/AnnotationList.d.ts.map +0 -1
- package/dist/components/results/AnnotationList.js +0 -43
- package/dist/components/results/AnnotationList.js.map +0 -1
- package/dist/components/results/GradingStructure.d.ts +0 -5
- package/dist/components/results/GradingStructure.d.ts.map +0 -1
- package/dist/components/results/GradingStructure.js +0 -21
- package/dist/components/results/GradingStructure.js.map +0 -1
- package/dist/components/results/Hvp.d.ts +0 -15
- package/dist/components/results/Hvp.d.ts.map +0 -1
- package/dist/components/results/Hvp.js +0 -73
- package/dist/components/results/Hvp.js.map +0 -1
- package/dist/components/results/HvpTextAnswer.d.ts +0 -6
- package/dist/components/results/HvpTextAnswer.d.ts.map +0 -1
- package/dist/components/results/HvpTextAnswer.js +0 -51
- package/dist/components/results/HvpTextAnswer.js.map +0 -1
- package/dist/components/results/ResultsChoiceAnswer.d.ts +0 -6
- package/dist/components/results/ResultsChoiceAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsChoiceAnswer.js +0 -57
- package/dist/components/results/ResultsChoiceAnswer.js.map +0 -1
- package/dist/components/results/ResultsContext.d.ts +0 -18
- package/dist/components/results/ResultsContext.d.ts.map +0 -1
- package/dist/components/results/ResultsContext.js +0 -68
- package/dist/components/results/ResultsContext.js.map +0 -1
- package/dist/components/results/ResultsDropdownAnswer.d.ts +0 -6
- package/dist/components/results/ResultsDropdownAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsDropdownAnswer.js +0 -43
- package/dist/components/results/ResultsDropdownAnswer.js.map +0 -1
- package/dist/components/results/ResultsExamQuestion.d.ts +0 -5
- package/dist/components/results/ResultsExamQuestion.d.ts.map +0 -1
- package/dist/components/results/ResultsExamQuestion.js +0 -23
- package/dist/components/results/ResultsExamQuestion.js.map +0 -1
- package/dist/components/results/ResultsExamQuestionAutoScore.d.ts +0 -10
- package/dist/components/results/ResultsExamQuestionAutoScore.d.ts.map +0 -1
- package/dist/components/results/ResultsExamQuestionAutoScore.js +0 -17
- package/dist/components/results/ResultsExamQuestionAutoScore.js.map +0 -1
- package/dist/components/results/ResultsExamQuestionManualScore.d.ts +0 -12
- package/dist/components/results/ResultsExamQuestionManualScore.d.ts.map +0 -1
- package/dist/components/results/ResultsExamQuestionManualScore.js +0 -61
- package/dist/components/results/ResultsExamQuestionManualScore.js.map +0 -1
- package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts +0 -10
- package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts.map +0 -1
- package/dist/components/results/ResultsExamQuestionScoresContainer.js +0 -12
- package/dist/components/results/ResultsExamQuestionScoresContainer.js.map +0 -1
- package/dist/components/results/ResultsExamQuestionTitle.d.ts +0 -6
- package/dist/components/results/ResultsExamQuestionTitle.d.ts.map +0 -1
- package/dist/components/results/ResultsExamQuestionTitle.js +0 -21
- package/dist/components/results/ResultsExamQuestionTitle.js.map +0 -1
- package/dist/components/results/ResultsExamSection.d.ts +0 -5
- package/dist/components/results/ResultsExamSection.d.ts.map +0 -1
- package/dist/components/results/ResultsExamSection.js +0 -18
- package/dist/components/results/ResultsExamSection.js.map +0 -1
- package/dist/components/results/ResultsMultiLineAnswer.d.ts +0 -8
- package/dist/components/results/ResultsMultiLineAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsMultiLineAnswer.js +0 -19
- package/dist/components/results/ResultsMultiLineAnswer.js.map +0 -1
- package/dist/components/results/ResultsScoredTextAnswer.d.ts +0 -6
- package/dist/components/results/ResultsScoredTextAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsScoredTextAnswer.js +0 -22
- package/dist/components/results/ResultsScoredTextAnswer.js.map +0 -1
- package/dist/components/results/ResultsSingleLineAnswer.d.ts +0 -12
- package/dist/components/results/ResultsSingleLineAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsSingleLineAnswer.js +0 -23
- package/dist/components/results/ResultsSingleLineAnswer.js.map +0 -1
- package/dist/components/results/ResultsTextAnswer.d.ts +0 -6
- package/dist/components/results/ResultsTextAnswer.d.ts.map +0 -1
- package/dist/components/results/ResultsTextAnswer.js +0 -50
- package/dist/components/results/ResultsTextAnswer.js.map +0 -1
- package/dist/components/results/helpers.d.ts +0 -9
- package/dist/components/results/helpers.d.ts.map +0 -1
- package/dist/components/results/helpers.js +0 -11
- package/dist/components/results/helpers.js.map +0 -1
- package/dist/components/withContext.d.ts +0 -3
- package/dist/components/withContext.d.ts.map +0 -1
- package/dist/components/withContext.js +0 -12
- package/dist/components/withContext.js.map +0 -1
@@ -1,43 +0,0 @@
|
|
1
|
-
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
2
|
-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
3
|
-
import React, { useContext } from 'react';
|
4
|
-
import { useSelector } from 'react-redux';
|
5
|
-
import { findChildElement } from '../dom-utils';
|
6
|
-
import { useExamTranslation } from '../i18n';
|
7
|
-
import AnsweringInstructions from './AnsweringInstructions';
|
8
|
-
import { CommonExamContext } from './CommonExamContext';
|
9
|
-
const ErrorIndicator = () => {
|
10
|
-
const extraAnswers = useSelector((state) => state.answers.extraAnswers);
|
11
|
-
const { t } = useExamTranslation();
|
12
|
-
return extraAnswers.length > 0 ? (React.createElement("div", { className: "error-indicator e-columns e-columns--inline e-bg-color-error e-color-off-white e-font-size-xs e-pad-1 e-mrg-r-1", role: "alert" },
|
13
|
-
React.createElement("div", { className: "e-column e-column--narrow" },
|
14
|
-
React.createElement(FontAwesomeIcon, { size: "lg", icon: faExclamationTriangle, fixedWidth: true, className: "e-mrg-r-1" })),
|
15
|
-
React.createElement("div", { className: "e-column e-column--gapless" }, extraAnswers.map((extraAnswer) => {
|
16
|
-
const { displayNumber, type } = extraAnswer;
|
17
|
-
return (React.createElement("div", { key: type + displayNumber },
|
18
|
-
type !== 'exam' && type !== 'toc-section'
|
19
|
-
? t(type, { displayNumber }) || React.createElement(FallbackTitle, Object.assign({}, extraAnswer))
|
20
|
-
: '',
|
21
|
-
' ',
|
22
|
-
React.createElement(AnsweringInstructions, Object.assign({}, extraAnswer))));
|
23
|
-
})))) : null;
|
24
|
-
};
|
25
|
-
const FallbackTitle = ({ type, displayNumber }) => {
|
26
|
-
// Hack. M/N exams have set the section translation title to an empty string,
|
27
|
-
// so they can hide the "Osa 1:" text within the exam. In these cases, display
|
28
|
-
// the text content of the corresponding <e:section-title> instead. Hopefully
|
29
|
-
// we can delete this code on some day. 💩
|
30
|
-
if (type === 'section') {
|
31
|
-
const { root } = useContext(CommonExamContext);
|
32
|
-
const section = findChildElement(root, (e) => e.localName === 'section' && e.getAttribute('display-number') === displayNumber);
|
33
|
-
if (section) {
|
34
|
-
const sectionTitle = findChildElement(section, 'section-title');
|
35
|
-
if (sectionTitle) {
|
36
|
-
return React.createElement(React.Fragment, null, sectionTitle.textContent.trim() + ':');
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
return null;
|
41
|
-
};
|
42
|
-
export default React.memo(ErrorIndicator);
|
43
|
-
//# sourceMappingURL=ErrorIndicator.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ErrorIndicator.js","sourceRoot":"","sources":["../../src/components/ErrorIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,cAAc,GAA4B,GAAG,EAAE;IACnD,MAAM,YAAY,GAAG,WAAW,CAAC,CAAC,KAAe,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;IACjF,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,YAA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;YACX,MAAM,YAAY,GAAG,gBAAgB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;YAC/D,IAAI,YAAY,EAAE;gBAChB,OAAO,0CAAG,YAAY,CAAC,WAAY,CAAC,IAAI,EAAE,GAAG,GAAG,CAAI,CAAA;aACrD;SACF;KACF;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamAnswer, ExamServerAPI, InitialCasStatus, RestrictedAudioPlaybackStats } from '..';
|
3
|
-
/** Props common to taking the exams and viewing results */
|
4
|
-
export interface CommonExamProps {
|
5
|
-
/** Initial answers */
|
6
|
-
answers: ExamAnswer[];
|
7
|
-
/** The URL for the attachments page */
|
8
|
-
attachmentsURL: string;
|
9
|
-
/** A function that maps an attachment filename to a full URI. */
|
10
|
-
resolveAttachment: (filename: string) => string;
|
11
|
-
/** The exam XML */
|
12
|
-
doc: XMLDocument;
|
13
|
-
/** @deprecated Not used anymore */
|
14
|
-
language?: string;
|
15
|
-
}
|
16
|
-
/** Props related to taking the exam, 'executing' it */
|
17
|
-
export interface ExamProps extends CommonExamProps {
|
18
|
-
/** The status of CAS software on the OS */
|
19
|
-
casStatus: InitialCasStatus;
|
20
|
-
/** The CAS countdown duration in seconds. 60 seconds by default. */
|
21
|
-
casCountdownDuration?: number;
|
22
|
-
/**
|
23
|
-
* Playback statistics about restricted audio files. Used for calculating
|
24
|
-
* whether the user can listen to them any more.
|
25
|
-
*/
|
26
|
-
restrictedAudioPlaybackStats: RestrictedAudioPlaybackStats[];
|
27
|
-
/** Exam Server API implementation */
|
28
|
-
examServerApi: ExamServerAPI;
|
29
|
-
}
|
30
|
-
declare const _default: React.MemoExoticComponent<React.ComponentType<ExamProps>>;
|
31
|
-
export default _default;
|
32
|
-
//# sourceMappingURL=Exam.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Exam.d.ts","sourceRoot":"","sources":["../../src/components/Exam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAGpD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,IAAI,CAAA;AA0C9F,2DAA2D;AAC3D,MAAM,WAAW,eAAe;IAC9B,sBAAsB;IACtB,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,uCAAuC;IACvC,cAAc,EAAE,MAAM,CAAA;IACtB,iEAAiE;IACjE,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IAC/C,mBAAmB;IACnB,GAAG,EAAE,WAAW,CAAA;IAChB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,uDAAuD;AACvD,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,2CAA2C;IAC3C,SAAS,EAAE,gBAAgB,CAAA;IAC3B,oEAAoE;IACpE,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;OAGG;IACH,4BAA4B,EAAE,4BAA4B,EAAE,CAAA;IAC5D,qCAAqC;IACrC,aAAa,EAAE,aAAa,CAAA;CAC7B;;AAuFD,wBAAuE"}
|
package/dist/components/Exam.js
DELETED
@@ -1,103 +0,0 @@
|
|
1
|
-
import React, { useContext, useEffect } from 'react';
|
2
|
-
import { I18nextProvider } from 'react-i18next';
|
3
|
-
import { Provider } from 'react-redux';
|
4
|
-
import { createRenderChildNodes } from '../createRenderChildNodes';
|
5
|
-
import { findChildElement } from '../dom-utils';
|
6
|
-
import { changeLanguage, initI18n } from '../i18n';
|
7
|
-
import { examTitleId } from '../ids';
|
8
|
-
import { parseExamStructure } from '../parser/parseExamStructure';
|
9
|
-
import { scrollToHash } from '../scrollToHash';
|
10
|
-
import { initializeExamStore } from '../store';
|
11
|
-
import { useCached } from '../useCached';
|
12
|
-
import mkAttachmentLink from './AttachmentLink';
|
13
|
-
import mkAttachmentLinks from './AttachmentLinks';
|
14
|
-
import Audio from './Audio';
|
15
|
-
import AudioGroup from './AudioGroup';
|
16
|
-
import AudioTest from './AudioTest';
|
17
|
-
import ChoiceAnswer from './ChoiceAnswer';
|
18
|
-
import { CommonExamContext, withCommonExamContext } from './CommonExamContext';
|
19
|
-
import DocumentTitle from './DocumentTitle';
|
20
|
-
import DropdownAnswer from './DropdownAnswer';
|
21
|
-
import ErrorIndicator from './ErrorIndicator';
|
22
|
-
import ExamAttachment from './ExamAttachment';
|
23
|
-
import { withExamContext } from './ExamContext';
|
24
|
-
import ExamFooter from './ExamFooter';
|
25
|
-
import ExamInstruction from './ExamInstruction';
|
26
|
-
import ExamQuestion from './ExamQuestion';
|
27
|
-
import ExamQuestionInstruction from './ExamQuestionInstruction';
|
28
|
-
import ExamQuestionTitle from './ExamQuestionTitle';
|
29
|
-
import ExamSection from './ExamSection';
|
30
|
-
import ExamSectionTitle from './ExamSectionTitle';
|
31
|
-
import ExternalMaterialList from './ExternalMaterialList';
|
32
|
-
import File from './File';
|
33
|
-
import Formula from './Formula';
|
34
|
-
import Hints from './Hints';
|
35
|
-
import Image from './Image';
|
36
|
-
import ImageOverlay from './ImageOverlay';
|
37
|
-
import References from './References';
|
38
|
-
import SaveIndicator from './SaveIndicator';
|
39
|
-
import Section from './Section';
|
40
|
-
import SectionInstruction from './SectionInstruction';
|
41
|
-
import TableOfContents from './TableOfContents';
|
42
|
-
import TextAnswer from './TextAnswer';
|
43
|
-
import Video from './Video';
|
44
|
-
const renderChildNodes = createRenderChildNodes({
|
45
|
-
attachment: ExamAttachment,
|
46
|
-
'attachment-link': mkAttachmentLink('link'),
|
47
|
-
'attachment-links': mkAttachmentLinks('link'),
|
48
|
-
audio: Audio,
|
49
|
-
'audio-group': AudioGroup,
|
50
|
-
'audio-test': AudioTest,
|
51
|
-
'choice-answer': ChoiceAnswer,
|
52
|
-
'dropdown-answer': DropdownAnswer,
|
53
|
-
'exam-footer': ExamFooter,
|
54
|
-
'external-material': ExternalMaterialList,
|
55
|
-
file: File,
|
56
|
-
formula: Formula,
|
57
|
-
image: Image,
|
58
|
-
question: ExamQuestion,
|
59
|
-
'question-instruction': ExamQuestionInstruction,
|
60
|
-
'question-title': ExamQuestionTitle,
|
61
|
-
hints: Hints,
|
62
|
-
references: References,
|
63
|
-
'scored-text-answer': TextAnswer,
|
64
|
-
'scored-text-answers': Hints,
|
65
|
-
'section-instruction': SectionInstruction,
|
66
|
-
section: ExamSection,
|
67
|
-
'section-title': ExamSectionTitle,
|
68
|
-
'text-answer': TextAnswer,
|
69
|
-
video: Video,
|
70
|
-
'image-overlay': ImageOverlay,
|
71
|
-
});
|
72
|
-
const Exam = ({ doc, casStatus, answers, restrictedAudioPlaybackStats, examServerApi, }) => {
|
73
|
-
const { date, dateTimeFormatter, language, resolveAttachment, root, subjectLanguage } = useContext(CommonExamContext);
|
74
|
-
const examTitle = findChildElement(root, 'exam-title');
|
75
|
-
const examInstruction = findChildElement(root, 'exam-instruction');
|
76
|
-
const tableOfContents = findChildElement(root, 'table-of-contents');
|
77
|
-
const externalMaterial = findChildElement(root, 'external-material');
|
78
|
-
const examStylesheet = root.getAttribute('exam-stylesheet');
|
79
|
-
const store = useCached(() => initializeExamStore(parseExamStructure(doc), casStatus, answers, restrictedAudioPlaybackStats, examServerApi));
|
80
|
-
const examCode = root.getAttribute('exam-code');
|
81
|
-
const dayCode = root.getAttribute('day-code');
|
82
|
-
const i18n = useCached(() => initI18n(language, examCode, dayCode));
|
83
|
-
useEffect(changeLanguage(i18n, language));
|
84
|
-
useEffect(scrollToHash, []);
|
85
|
-
return (React.createElement(Provider, { store: store },
|
86
|
-
React.createElement(I18nextProvider, { i18n: i18n },
|
87
|
-
React.createElement("main", { className: "e-exam", lang: subjectLanguage, "aria-labelledby": examTitleId },
|
88
|
-
React.createElement(React.StrictMode, null),
|
89
|
-
examStylesheet && React.createElement("link", { rel: "stylesheet", href: resolveAttachment(examStylesheet) }),
|
90
|
-
React.createElement(Section, { "aria-labelledby": examTitleId },
|
91
|
-
examTitle && React.createElement(DocumentTitle, { id: examTitleId }, renderChildNodes(examTitle)),
|
92
|
-
date && (React.createElement("p", null,
|
93
|
-
React.createElement("strong", null, dateTimeFormatter.format(date)))),
|
94
|
-
examInstruction && React.createElement(ExamInstruction, Object.assign({}, { element: examInstruction, renderChildNodes })),
|
95
|
-
tableOfContents && React.createElement(TableOfContents, Object.assign({}, { element: tableOfContents, renderChildNodes })),
|
96
|
-
externalMaterial && (React.createElement(ExternalMaterialList, Object.assign({}, { element: externalMaterial, renderChildNodes, forceRender: true })))),
|
97
|
-
renderChildNodes(root),
|
98
|
-
React.createElement("div", { className: "e-footer" },
|
99
|
-
React.createElement(ErrorIndicator, null),
|
100
|
-
React.createElement(SaveIndicator, null))))));
|
101
|
-
};
|
102
|
-
export default React.memo(withExamContext(withCommonExamContext(Exam)));
|
103
|
-
//# sourceMappingURL=Exam.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Exam.js","sourceRoot":"","sources":["../../src/components/Exam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAA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AI,CACP;wBACE,oCAAS,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAU,CAC/C,CACL;oBACA,eAAe,IAAI,oBAAC,eAAe,oBAAK,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAI;oBAC1F,eAAe,IAAI,oBAAC,eAAe,oBAAK,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAI;oBAC1F,gBAAgB,IAAI,CACnB,oBAAC,oBAAoB,oBAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,EAAE,IAAI,EAAE,EAAI,CACjG,CACO;gBACT,gBAAgB,CAAC,IAAI,CAAC;gBACvB,6BAAK,SAAS,EAAC,UAAU;oBACvB,oBAAC,cAAc,OAAG;oBAClB,oBAAC,aAAa,OAAG,CACb,CACD,CACS,CACT,CACZ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamAttachment.d.ts","sourceRoot":"","sources":["../../src/components/ExamAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;AAO9D,wBAAgE"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
2
|
-
import { AttachmentContext, withAttachmentContext } from './AttachmentContext';
|
3
|
-
function ExamAttachment({ element, renderChildNodes }) {
|
4
|
-
const { isExternal } = useContext(AttachmentContext);
|
5
|
-
return !isExternal ? React.createElement("span", { className: "exam-attachment e-mrg-b-2" }, renderChildNodes(element)) : null;
|
6
|
-
}
|
7
|
-
export default React.memo(withAttachmentContext(ExamAttachment));
|
8
|
-
//# sourceMappingURL=ExamAttachment.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamAttachment.js","sourceRoot":"","sources":["../../src/components/ExamAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAG9E,SAAS,cAAc,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACvE,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IACpD,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAC,2BAA2B,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAQ,CAAC,CAAC,CAAC,IAAI,CAAA;AAC5G,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamProps } from './Exam';
|
3
|
-
import { ExamServerAPI } from '..';
|
4
|
-
export interface ExamContext {
|
5
|
-
casCountdownDuration: number;
|
6
|
-
examServerApi: ExamServerAPI;
|
7
|
-
}
|
8
|
-
export declare const ExamContext: React.Context<ExamContext>;
|
9
|
-
export declare const withExamContext: (Component: React.ComponentType<ExamProps>) => React.ComponentType<ExamProps>;
|
10
|
-
//# sourceMappingURL=ExamContext.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamContext.d.ts","sourceRoot":"","sources":["../../src/components/ExamContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,IAAI,CAAA;AAElC,MAAM,WAAW,WAAW;IAC1B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED,eAAO,MAAM,WAAW,4BAAyC,CAAA;AAEjE,eAAO,MAAM,eAAe,+EAO1B,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { withContext } from './withContext';
|
3
|
-
export const ExamContext = React.createContext({});
|
4
|
-
export const withExamContext = withContext(ExamContext, (props) => {
|
5
|
-
const { casCountdownDuration, examServerApi } = props;
|
6
|
-
return {
|
7
|
-
casCountdownDuration: casCountdownDuration || 60,
|
8
|
-
examServerApi,
|
9
|
-
};
|
10
|
-
});
|
11
|
-
//# sourceMappingURL=ExamContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamContext.js","sourceRoot":"","sources":["../../src/components/ExamContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAQ3C,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,EAAiB,CAAC,CAAA;AAEjE,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAyB,WAAW,EAAE,CAAC,KAAgB,EAAE,EAAE;IACnG,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IAErD,OAAO;QACL,oBAAoB,EAAE,oBAAoB,IAAI,EAAE;QAChD,aAAa;KACd,CAAA;AACH,CAAC,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function ExamFooter({ element, renderChildNodes }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof ExamFooter>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=ExamFooter.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamFooter.d.ts","sourceRoot":"","sources":["../../src/components/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAEpE;;AAED,wBAAqC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import Section from './Section';
|
3
|
-
function ExamFooter({ element, renderChildNodes }) {
|
4
|
-
return React.createElement(Section, null, renderChildNodes(element));
|
5
|
-
}
|
6
|
-
export default React.memo(ExamFooter);
|
7
|
-
//# sourceMappingURL=ExamFooter.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamFooter.js","sourceRoot":"","sources":["../../src/components/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,OAAO,MAAM,WAAW,CAAA;AAG/B,SAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACnE,OAAO,oBAAC,OAAO,QAAE,gBAAgB,CAAC,OAAO,CAAC,CAAW,CAAA;AACvD,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function ExamInstruction({ element, renderChildNodes }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof ExamInstruction>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=ExamInstruction.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamInstruction.d.ts","sourceRoot":"","sources":["../../src/components/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAEzE;;AAED,wBAA0C"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
function ExamInstruction({ element, renderChildNodes }) {
|
3
|
-
return React.createElement("div", { className: "exam-instruction notification e-pad-4" }, renderChildNodes(element));
|
4
|
-
}
|
5
|
-
export default React.memo(ExamInstruction);
|
6
|
-
//# sourceMappingURL=ExamInstruction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamInstruction.js","sourceRoot":"","sources":["../../src/components/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACxE,OAAO,6BAAK,SAAS,EAAC,uCAAuC,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CAAA;AACjG,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamQuestion.d.ts","sourceRoot":"","sources":["../../src/components/ExamQuestion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;AAoB9D,wBAA4D"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import classNames from 'classnames';
|
2
|
-
import React, { useContext } from 'react';
|
3
|
-
import { useSelector } from 'react-redux';
|
4
|
-
import { QuestionContext, withQuestionContext } from './QuestionContext';
|
5
|
-
import { SectionContext } from './SectionContext';
|
6
|
-
function ExamQuestion({ element, renderChildNodes }) {
|
7
|
-
const casStatus = useSelector((state) => state.cas.casStatus);
|
8
|
-
const { casForbidden } = useContext(SectionContext);
|
9
|
-
const { displayNumber, level } = useContext(QuestionContext);
|
10
|
-
return !casForbidden || casStatus === 'forbidden' ? (React.createElement("div", { className: classNames('exam-question', {
|
11
|
-
'e-mrg-b-8 e-clearfix': level === 0,
|
12
|
-
'e-mrg-l-8 e-mrg-y-4': level > 0,
|
13
|
-
}), id: displayNumber }, renderChildNodes(element))) : null;
|
14
|
-
}
|
15
|
-
export default React.memo(withQuestionContext(ExamQuestion));
|
16
|
-
//# sourceMappingURL=ExamQuestion.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamQuestion.js","sourceRoot":"","sources":["../../src/components/ExamQuestion.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,eAAe,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGjD,SAAS,YAAY,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACrE,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,KAAe,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;IACvE,MAAM,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACnD,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAE5D,OAAO,CAAC,YAAY,IAAI,SAAS,KAAK,WAAW,CAAC,CAAC,CAAC,CAClD,6BACE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE;YACrC,sBAAsB,EAAE,KAAK,KAAK,CAAC;YACnC,qBAAqB,EAAE,KAAK,GAAG,CAAC;SACjC,CAAC,EACF,EAAE,EAAE,aAAa,IAEhB,gBAAgB,CAAC,OAAO,CAAC,CACtB,CACP,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function QuestionInstruction({ element, renderChildNodes }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof QuestionInstruction>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=ExamQuestionInstruction.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamQuestionInstruction.d.ts","sourceRoot":"","sources":["../../src/components/ExamQuestionInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,iBAAS,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAE7E;;AAED,wBAA8C"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
function QuestionInstruction({ element, renderChildNodes }) {
|
3
|
-
return React.createElement("div", { className: "exam-question-instruction e-mrg-b-2" }, renderChildNodes(element));
|
4
|
-
}
|
5
|
-
export default React.memo(QuestionInstruction);
|
6
|
-
//# sourceMappingURL=ExamQuestionInstruction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamQuestionInstruction.js","sourceRoot":"","sources":["../../src/components/ExamQuestionInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IAC5E,OAAO,6BAAK,SAAS,EAAC,qCAAqC,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CAAA;AAC/F,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamQuestionTitle.d.ts","sourceRoot":"","sources":["../../src/components/ExamQuestionTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;AA6B9D,wBAA4C"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import classNames from 'classnames';
|
2
|
-
import React, { useContext } from 'react';
|
3
|
-
import AnsweringInstructions from './AnsweringInstructions';
|
4
|
-
import NotificationIcon from './NotificationIcon';
|
5
|
-
import { QuestionContext } from './QuestionContext';
|
6
|
-
import { Score } from './Score';
|
7
|
-
import { formatQuestionDisplayNumber } from '../formatting';
|
8
|
-
const ExamQuestionTitle = ({ element, renderChildNodes }) => {
|
9
|
-
const { displayNumber, maxScore, level, maxAnswers, childQuestions } = useContext(QuestionContext);
|
10
|
-
const Tag = `h${Math.min(3 + level, 6)}`;
|
11
|
-
return (React.createElement(React.Fragment, null,
|
12
|
-
React.createElement(Tag, { className: classNames('exam-question-title', { 'e-normal e-font-size-m': level > 0 }) },
|
13
|
-
React.createElement("strong", { className: classNames('exam-question-title__display-number', {
|
14
|
-
'exam-question-title__display-number--indented': level > 0,
|
15
|
-
}) }, formatQuestionDisplayNumber(displayNumber) + ' '),
|
16
|
-
renderChildNodes(element),
|
17
|
-
" ",
|
18
|
-
React.createElement(Score, { score: maxScore, size: level === 0 ? 'large' : 'small' })),
|
19
|
-
maxAnswers != null && childQuestions.length > 0 && (React.createElement("p", { className: "e-italic" },
|
20
|
-
React.createElement(NotificationIcon, null),
|
21
|
-
React.createElement(AnsweringInstructions, Object.assign({}, { maxAnswers, childQuestions, type: 'question' }))))));
|
22
|
-
};
|
23
|
-
export default React.memo(ExamQuestionTitle);
|
24
|
-
//# sourceMappingURL=ExamQuestionTitle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"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AAG,SAAS,EAAC,UAAU;YACrB,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,oBAAK,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,EAAI,CAC7E,CACL,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamSection.d.ts","sourceRoot":"","sources":["../../src/components/ExamSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;AAyD9D,wBAA0D"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
2
|
-
import { shallowEqual, useDispatch, useSelector } from 'react-redux';
|
3
|
-
import { useExamTranslation } from '../i18n';
|
4
|
-
import { sectionTitleId } from '../ids';
|
5
|
-
import { allowCas, allowCasCancelled } from '../store/cas/actions';
|
6
|
-
import { ExamContext } from './ExamContext';
|
7
|
-
import ProgressBar from './ProgressBar';
|
8
|
-
import Section from './Section';
|
9
|
-
import { SectionContext, withSectionContext } from './SectionContext';
|
10
|
-
function ExamSection({ element, renderChildNodes }) {
|
11
|
-
const casState = useSelector((state) => state.cas, shallowEqual);
|
12
|
-
const { casForbidden, displayNumber } = useContext(SectionContext);
|
13
|
-
return (React.createElement(Section, { className: "exam-section", "aria-labelledby": sectionTitleId(displayNumber) },
|
14
|
-
renderChildNodes(element),
|
15
|
-
casForbidden && React.createElement(CasControls, Object.assign({}, casState))));
|
16
|
-
}
|
17
|
-
function CasControls(props) {
|
18
|
-
const dispatch = useDispatch();
|
19
|
-
const { t } = useExamTranslation();
|
20
|
-
const { casCountdownDuration } = useContext(ExamContext);
|
21
|
-
return (React.createElement("div", { className: "e-cas-controls" }, props.casStatus === 'forbidden' ? (React.createElement("div", { className: "e-text-center" },
|
22
|
-
React.createElement("hr", { className: "e-exam-separator" }),
|
23
|
-
React.createElement("p", null, t('cas.forbidden.infoText')),
|
24
|
-
React.createElement("button", { className: "e-button", id: "allow-cas", onClick: () => dispatch(allowCas(casCountdownDuration)) }, t('cas.forbidden.buttonText')))) : props.casStatus === 'allowing' ? (React.createElement("div", { className: "e-text-center", ref: (e) => e != null && casCountdownDuration === props.durationRemaining && e.scrollIntoView() },
|
25
|
-
React.createElement("hr", { className: "e-exam-separator" }),
|
26
|
-
React.createElement("p", null, t('cas.allowing.infoText')),
|
27
|
-
React.createElement(ProgressBar, { className: "e-mrg-b-2", duration: casCountdownDuration }),
|
28
|
-
React.createElement("button", { className: "e-button", id: "allow-cas-cancelled", onClick: () => dispatch(allowCasCancelled()) }, t('cas.allowing.buttonText', { count: props.durationRemaining })))) : (React.createElement("div", { className: "notification e-text-left e-mrg-b-0" }, t('cas.allowed.infoText')))));
|
29
|
-
}
|
30
|
-
export default React.memo(withSectionContext(ExamSection));
|
31
|
-
//# sourceMappingURL=ExamSection.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamSection.js","sourceRoot":"","sources":["../../src/components/ExamSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,WAAW,MAAM,eAAe,CAAA;AACvC,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBA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AAoB,KAAK,KAAK,CAAC,iBAAiB,IAAI,CAAC,CAAC,cAAc,EAAE;QAE/F,4BAAI,SAAS,EAAC,kBAAkB,GAAG;QACnC,+BAAI,CAAC,CAAC,uBAAuB,CAAC,CAAK;QACnC,oBAAC,WAAW,IAAC,SAAS,EAAC,WAAW,EAAC,QAAQ,EAAE,oBAAoB,GAAI;QACrE,gCAAQ,SAAS,EAAC,UAAU,EAAC,EAAE,EAAC,qBAAqB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,IAC/F,CAAC,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAC1D,CACL,CACP,CAAC,CAAC,CAAC,CACF,6BAAK,SAAS,EAAC,oCAAoC,IAAE,CAAC,CAAC,sBAAsB,CAAC,CAAO,CACtF,CACG,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function ExamSectionTitle({ element, renderChildNodes }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof ExamSectionTitle>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=ExamSectionTitle.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamSectionTitle.d.ts","sourceRoot":"","sources":["../../src/components/ExamSectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAQ9D,iBAAS,gBAAgB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAoB1E;;AAED,wBAA2C"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
2
|
-
import { useExamTranslation } from '../i18n';
|
3
|
-
import { sectionTitleId } from '../ids';
|
4
|
-
import AnsweringInstructions from './AnsweringInstructions';
|
5
|
-
import { CommonExamContext } from './CommonExamContext';
|
6
|
-
import NotificationIcon from './NotificationIcon';
|
7
|
-
import { SectionContext } from './SectionContext';
|
8
|
-
function ExamSectionTitle({ element, renderChildNodes }) {
|
9
|
-
const { numberOfSections } = useContext(CommonExamContext);
|
10
|
-
const { displayNumber, minAnswers, maxAnswers, childQuestions } = useContext(SectionContext);
|
11
|
-
const { t } = useExamTranslation();
|
12
|
-
return (React.createElement(React.Fragment, null,
|
13
|
-
element.hasChildNodes() && (React.createElement("h2", { className: "exam-section-title", id: sectionTitleId(displayNumber) },
|
14
|
-
numberOfSections > 1 && t('section', { displayNumber }),
|
15
|
-
" ",
|
16
|
-
renderChildNodes(element))),
|
17
|
-
maxAnswers != null && (React.createElement("span", { className: "notification notification--inline" },
|
18
|
-
React.createElement(NotificationIcon, null),
|
19
|
-
React.createElement(AnsweringInstructions, Object.assign({}, { maxAnswers, minAnswers, childQuestions, type: 'section' }))))));
|
20
|
-
}
|
21
|
-
export default React.memo(ExamSectionTitle);
|
22
|
-
//# sourceMappingURL=ExamSectionTitle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExamSectionTitle.js","sourceRoot":"","sources":["../../src/components/ExamSectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,SAAS,gBAAgB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACzE,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC1D,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC5F,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL;QACG,OAAO,CAAC,aAAa,EAAE,IAAI,CAC1B,4BAAI,SAAS,EAAC,oBAAoB,EAAC,EAAE,EAAE,cAAc,CAAC,aAAa,CAAC;YACjE,gBAAgB,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,aAAa,EAAE,CAAC;;YAAG,gBAAgB,CAAC,OAAO,CAAC,CACjF,CACN;QACA,UAAU,IAAI,IAAI,IAAI,CACrB,8BAAM,SAAS,EAAC,mCAAmC;YACjD,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,oBAAK,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,EAAI,CACrF,CACR,CACA,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
interface ExternalMaterialListProps extends ExamComponentProps {
|
4
|
-
forceRender?: boolean;
|
5
|
-
showTitle?: boolean;
|
6
|
-
}
|
7
|
-
declare function ExternalMaterialList({ element, showTitle, forceRender }: ExternalMaterialListProps): JSX.Element | null;
|
8
|
-
declare const _default: React.MemoExoticComponent<typeof ExternalMaterialList>;
|
9
|
-
export default _default;
|
10
|
-
//# sourceMappingURL=ExternalMaterialList.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExternalMaterialList.d.ts","sourceRoot":"","sources":["../../src/components/ExternalMaterialList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAA0B,kBAAkB,EAAiB,MAAM,2BAA2B,CAAA;AAkCrG,UAAU,yBAA0B,SAAQ,kBAAkB;IAC5D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,iBAAS,oBAAoB,CAAC,EAAE,OAAO,EAAE,SAAgB,EAAE,WAAmB,EAAE,EAAE,yBAAyB,sBAoB1G;;AAED,wBAA+C"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
2
|
-
import { createRenderChildNodes, RenderOptions } from '../createRenderChildNodes';
|
3
|
-
import { queryAncestors } from '../dom-utils';
|
4
|
-
import { useExamTranslation } from '../i18n';
|
5
|
-
import { externalMaterialListTitleId } from '../ids';
|
6
|
-
import { url } from '../url';
|
7
|
-
import { AttachmentContext, withAttachmentContext } from './AttachmentContext';
|
8
|
-
import { CommonExamContext } from './CommonExamContext';
|
9
|
-
const renderChildNodes = createRenderChildNodes({
|
10
|
-
attachment: withAttachmentContext(Attachment),
|
11
|
-
'attachment-title': AttachmentTitle,
|
12
|
-
});
|
13
|
-
function Attachment({ element }) {
|
14
|
-
const { displayNumber } = useContext(AttachmentContext);
|
15
|
-
return (React.createElement("li", { "data-list-number": displayNumber, "aria-label": displayNumber }, renderChildNodes(element, RenderOptions.SkipHTML)));
|
16
|
-
}
|
17
|
-
function AttachmentTitle({ element }) {
|
18
|
-
const { attachmentsURL } = useContext(CommonExamContext);
|
19
|
-
const { displayNumber } = useContext(AttachmentContext);
|
20
|
-
return (React.createElement("a", { href: url(attachmentsURL, { hash: displayNumber }), className: "exam-attachment-title", target: "attachments" }, renderChildNodes(element)));
|
21
|
-
}
|
22
|
-
function ExternalMaterialList({ element, showTitle = true, forceRender = false }) {
|
23
|
-
if (queryAncestors(element, 'question') == null && !forceRender) {
|
24
|
-
return null;
|
25
|
-
}
|
26
|
-
const { t } = useExamTranslation();
|
27
|
-
const id = externalMaterialListTitleId(element);
|
28
|
-
return (React.createElement("div", { className: "external-material-list e-mrg-b-4" },
|
29
|
-
showTitle && (React.createElement("div", { className: "e-font-size-l e-semibold", id: id }, t('external-material-title'))),
|
30
|
-
React.createElement("ol", { className: "e-list-data e-pad-l-0 e-mrg-0", "aria-labelledby": id }, renderChildNodes(element))));
|
31
|
-
}
|
32
|
-
export default React.memo(ExternalMaterialList);
|
33
|
-
//# sourceMappingURL=ExternalMaterialList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ExternalMaterialList.js","sourceRoot":"","sources":["../../src/components/ExternalMaterialList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAsB,aAAa,EAAE,MAAM,2BAA2B,CAAA;AACrG,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;IAC9C,UAAU,EAAE,qBAAqB,CAAC,UAAU,CAAC;IAC7C,kBAAkB,EAAE,eAAe;CACpC,CAAC,CAAA;AAEF,SAAS,UAAU,CAAC,EAAE,OAAO,EAAsB;IACjD,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IA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import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function File({ element, className, renderChildNodes }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof File>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=File.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../src/components/File.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,iBAAS,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAgBzE;;AAED,wBAA+B"}
|
package/dist/components/File.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import classNames from 'classnames';
|
2
|
-
import React, { useContext } from 'react';
|
3
|
-
import { CommonExamContext } from './CommonExamContext';
|
4
|
-
function File({ element, className, renderChildNodes }) {
|
5
|
-
const src = element.getAttribute('src');
|
6
|
-
const hasDescription = element.hasChildNodes();
|
7
|
-
const { resolveAttachment } = useContext(CommonExamContext);
|
8
|
-
return (React.createElement("a", { className: classNames('file e-nowrap', className), href: resolveAttachment(src), download: true }, hasDescription ? (React.createElement(React.Fragment, null,
|
9
|
-
renderChildNodes(element),
|
10
|
-
" (",
|
11
|
-
src,
|
12
|
-
")")) : (src)));
|
13
|
-
}
|
14
|
-
export default React.memo(File);
|
15
|
-
//# sourceMappingURL=File.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"File.js","sourceRoot":"","sources":["../../src/components/File.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGvD,SAAS,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAsB;IACxE,MAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAE,CAAA;IACxC,MAAM,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,CAAA;IAC9C,MAAM,EAAE,iBAAiB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE3D,OAAO,CACL,2BAAG,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE,QAAQ,UACzF,cAAc,CAAC,CAAC,CAAC,CAChB;QACG,gBAAgB,CAAC,OAAO,CAAC;;QAAI,GAAG;YAChC,CACJ,CAAC,CAAC,CAAC,CACF,GAAG,CACJ,CACC,CACL,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ExamComponentProps } from '../createRenderChildNodes';
|
3
|
-
declare function Formula({ element, className }: ExamComponentProps): JSX.Element;
|
4
|
-
declare const _default: React.MemoExoticComponent<typeof Formula>;
|
5
|
-
export default _default;
|
6
|
-
//# sourceMappingURL=Formula.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Formula.d.ts","sourceRoot":"","sources":["../../src/components/Formula.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,iBAAS,OAAO,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,kBAAkB,eAe1D;;AAED,wBAAkC"}
|