@digabi/exam-engine-core 23.4.6 → 23.4.7-alpha.0
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/components/exam/SectionTitle.d.ts.map +1 -1
- package/dist/components/exam/SectionTitle.js +1 -1
- package/dist/components/exam/SectionTitle.js.map +1 -1
- package/dist/components/grading/examAnnotationUtils.js +1 -1
- package/dist/components/grading/examAnnotationUtils.js.map +1 -1
- package/dist/components/grading-instructions/SectionTitle.d.ts.map +1 -1
- package/dist/components/grading-instructions/SectionTitle.js +1 -1
- package/dist/components/grading-instructions/SectionTitle.js.map +1 -1
- package/dist/components/results/DNDAnswerContainer.d.ts +4 -0
- package/dist/components/results/DNDAnswerContainer.d.ts.map +1 -0
- package/dist/components/results/DNDAnswerContainer.js +22 -0
- package/dist/components/results/DNDAnswerContainer.js.map +1 -0
- package/dist/eslint.config.d.ts +22 -0
- package/dist/eslint.config.d.ts.map +1 -0
- package/dist/eslint.config.js +31 -0
- package/dist/eslint.config.js.map +1 -0
- package/dist/i18n/exam_titles_fi-FI.d.ts +46 -0
- package/dist/i18n/exam_titles_fi-FI.d.ts.map +1 -0
- package/dist/i18n/exam_titles_fi-FI.js +46 -0
- package/dist/i18n/exam_titles_fi-FI.js.map +1 -0
- package/dist/i18n/exam_titles_fi-FI.json +45 -0
- package/dist/i18n/exam_titles_sv-FI.d.ts +46 -0
- package/dist/i18n/exam_titles_sv-FI.d.ts.map +1 -0
- package/dist/i18n/exam_titles_sv-FI.js +46 -0
- package/dist/i18n/exam_titles_sv-FI.js.map +1 -0
- package/dist/i18n/exam_titles_sv-FI.json +45 -0
- package/dist/i18n/exams.d.ts +11 -0
- package/dist/i18n/exams.d.ts.map +1 -0
- package/dist/i18n/exams.js +10 -0
- package/dist/i18n/exams.js.map +1 -0
- package/dist/main-bundle.js +1 -1
- package/package.json +2 -2
- package/dist/components/exam/ExamineExam.d.ts +0 -5
- package/dist/components/exam/ExamineExam.d.ts.map +0 -1
- package/dist/components/exam/ExamineExam.js +0 -20
- package/dist/components/exam/ExamineExam.js.map +0 -1
- package/dist/src/components/AnswerToolbar.d.ts +0 -18
- package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
- package/dist/src/components/AnswerToolbar.js +0 -36
- package/dist/src/components/AnswerToolbar.js.map +0 -1
- package/dist/src/components/AnsweringInstructions.d.ts +0 -12
- package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
- package/dist/src/components/AnsweringInstructions.js +0 -24
- package/dist/src/components/AnsweringInstructions.js.map +0 -1
- package/dist/src/components/DocumentTitle.d.ts +0 -5
- package/dist/src/components/DocumentTitle.d.ts.map +0 -1
- package/dist/src/components/DocumentTitle.js +0 -13
- package/dist/src/components/DocumentTitle.js.map +0 -1
- package/dist/src/components/NotificationIcon.d.ts +0 -4
- package/dist/src/components/NotificationIcon.d.ts.map +0 -1
- package/dist/src/components/NotificationIcon.js +0 -6
- package/dist/src/components/NotificationIcon.js.map +0 -1
- package/dist/src/components/RenderChildNodes.d.ts +0 -5
- package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
- package/dist/src/components/RenderChildNodes.js +0 -7
- package/dist/src/components/RenderChildNodes.js.map +0 -1
- package/dist/src/components/RenderExamElements.d.ts +0 -6
- package/dist/src/components/RenderExamElements.d.ts.map +0 -1
- package/dist/src/components/RenderExamElements.js +0 -6
- package/dist/src/components/RenderExamElements.js.map +0 -1
- package/dist/src/components/RenderIf.d.ts +0 -4
- package/dist/src/components/RenderIf.d.ts.map +0 -1
- package/dist/src/components/RenderIf.js +0 -8
- package/dist/src/components/RenderIf.js.map +0 -1
- package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
- package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
- package/dist/src/components/ScreenReaderOnly.js +0 -3
- package/dist/src/components/ScreenReaderOnly.js.map +0 -1
- package/dist/src/components/SectionElement.d.ts +0 -4
- package/dist/src/components/SectionElement.d.ts.map +0 -1
- package/dist/src/components/SectionElement.js +0 -8
- package/dist/src/components/SectionElement.js.map +0 -1
- package/dist/src/components/attachments/Attachment.d.ts +0 -4
- package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
- package/dist/src/components/attachments/Attachment.js +0 -8
- package/dist/src/components/attachments/Attachment.js.map +0 -1
- package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
- package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
- package/dist/src/components/attachments/AttachmentTitle.js +0 -12
- package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
- package/dist/src/components/attachments/Attachments.d.ts +0 -5
- package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
- package/dist/src/components/attachments/Attachments.js +0 -55
- package/dist/src/components/attachments/Attachments.js.map +0 -1
- package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
- package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
- package/dist/src/components/attachments/ExternalMaterial.js +0 -46
- package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
- package/dist/src/components/attachments/Question.d.ts +0 -4
- package/dist/src/components/attachments/Question.d.ts.map +0 -1
- package/dist/src/components/attachments/Question.js +0 -16
- package/dist/src/components/attachments/Question.js.map +0 -1
- package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
- package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
- package/dist/src/components/attachments/QuestionTitle.js +0 -15
- package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
- package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
- package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
- package/dist/src/components/context/AnnotationProvider.js +0 -35
- package/dist/src/components/context/AnnotationProvider.js.map +0 -1
- package/dist/src/components/context/AttachmentContext.d.ts +0 -13
- package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
- package/dist/src/components/context/AttachmentContext.js +0 -12
- package/dist/src/components/context/AttachmentContext.js.map +0 -1
- package/dist/src/components/context/CommonExamContext.d.ts +0 -22
- package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
- package/dist/src/components/context/CommonExamContext.js +0 -28
- package/dist/src/components/context/CommonExamContext.js.map +0 -1
- package/dist/src/components/context/ExamContext.d.ts +0 -9
- package/dist/src/components/context/ExamContext.d.ts.map +0 -1
- package/dist/src/components/context/ExamContext.js +0 -11
- package/dist/src/components/context/ExamContext.js.map +0 -1
- package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
- package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
- package/dist/src/components/context/IsInSidebarContext.js +0 -3
- package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
- package/dist/src/components/context/QuestionContext.d.ts +0 -14
- package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
- package/dist/src/components/context/QuestionContext.js +0 -27
- package/dist/src/components/context/QuestionContext.js.map +0 -1
- package/dist/src/components/context/ResultsContext.d.ts +0 -17
- package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
- package/dist/src/components/context/ResultsContext.js +0 -69
- package/dist/src/components/context/ResultsContext.js.map +0 -1
- package/dist/src/components/context/SectionContext.d.ts +0 -12
- package/dist/src/components/context/SectionContext.d.ts.map +0 -1
- package/dist/src/components/context/SectionContext.js +0 -21
- package/dist/src/components/context/SectionContext.js.map +0 -1
- package/dist/src/components/context/TOCContext.d.ts +0 -7
- package/dist/src/components/context/TOCContext.d.ts.map +0 -1
- package/dist/src/components/context/TOCContext.js +0 -3
- package/dist/src/components/context/TOCContext.js.map +0 -1
- package/dist/src/components/context/withContext.d.ts +0 -3
- package/dist/src/components/context/withContext.d.ts.map +0 -1
- package/dist/src/components/context/withContext.js +0 -12
- package/dist/src/components/context/withContext.js.map +0 -1
- package/dist/src/components/exam/Attachment.d.ts +0 -4
- package/dist/src/components/exam/Attachment.d.ts.map +0 -1
- package/dist/src/components/exam/Attachment.js +0 -8
- package/dist/src/components/exam/Attachment.js.map +0 -1
- package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
- package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
- package/dist/src/components/exam/ChoiceAnswer.js +0 -53
- package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
- package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
- package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
- package/dist/src/components/exam/DropdownAnswer.js +0 -101
- package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
- package/dist/src/components/exam/Exam.d.ts +0 -48
- package/dist/src/components/exam/Exam.d.ts.map +0 -1
- package/dist/src/components/exam/Exam.js +0 -195
- package/dist/src/components/exam/Exam.js.map +0 -1
- package/dist/src/components/exam/ExamFooter.d.ts +0 -6
- package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
- package/dist/src/components/exam/ExamFooter.js +0 -6
- package/dist/src/components/exam/ExamFooter.js.map +0 -1
- package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
- package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
- package/dist/src/components/exam/ExamInstruction.js +0 -6
- package/dist/src/components/exam/ExamInstruction.js.map +0 -1
- package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
- package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
- package/dist/src/components/exam/ExternalMaterial.js +0 -33
- package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
- package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
- package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
- package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
- package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
- package/dist/src/components/exam/Hints.d.ts +0 -5
- package/dist/src/components/exam/Hints.d.ts.map +0 -1
- package/dist/src/components/exam/Hints.js +0 -31
- package/dist/src/components/exam/Hints.js.map +0 -1
- package/dist/src/components/exam/Question.d.ts +0 -8
- package/dist/src/components/exam/Question.d.ts.map +0 -1
- package/dist/src/components/exam/Question.js +0 -75
- package/dist/src/components/exam/Question.js.map +0 -1
- package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
- package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
- package/dist/src/components/exam/QuestionInstruction.js +0 -8
- package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
- package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
- package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
- package/dist/src/components/exam/QuestionTitle.js +0 -26
- package/dist/src/components/exam/QuestionTitle.js.map +0 -1
- package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
- package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
- package/dist/src/components/exam/RichTextAnswer.js +0 -79
- package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
- package/dist/src/components/exam/Section.d.ts +0 -4
- package/dist/src/components/exam/Section.d.ts.map +0 -1
- package/dist/src/components/exam/Section.js +0 -49
- package/dist/src/components/exam/Section.js.map +0 -1
- package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
- package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
- package/dist/src/components/exam/SectionInstruction.js +0 -6
- package/dist/src/components/exam/SectionInstruction.js.map +0 -1
- package/dist/src/components/exam/SectionTitle.d.ts +0 -6
- package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
- package/dist/src/components/exam/SectionTitle.js +0 -30
- package/dist/src/components/exam/SectionTitle.js.map +0 -1
- package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
- package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
- package/dist/src/components/exam/StudentNameHeader.js +0 -3
- package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
- package/dist/src/components/exam/TextAnswer.d.ts +0 -6
- package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
- package/dist/src/components/exam/TextAnswer.js +0 -20
- package/dist/src/components/exam/TextAnswer.js.map +0 -1
- package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
- package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
- package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
- package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
- package/dist/src/components/exam/UndoView.d.ts +0 -35
- package/dist/src/components/exam/UndoView.d.ts.map +0 -1
- package/dist/src/components/exam/UndoView.js +0 -162
- package/dist/src/components/exam/UndoView.js.map +0 -1
- package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
- package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
- package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
- package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
- package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
- package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
- package/dist/src/components/exam/internal/ProgressBar.js +0 -19
- package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
- package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
- package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
- package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
- package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
- package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
- package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
- package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
- package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
- package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
- package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
- package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
- package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
- package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
- package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
- package/dist/src/components/grading/GradingAnswer.js +0 -306
- package/dist/src/components/grading/GradingAnswer.js.map +0 -1
- package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
- package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
- package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
- package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
- package/dist/src/components/grading/editAnnotations.d.ts +0 -29
- package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
- package/dist/src/components/grading/editAnnotations.js +0 -190
- package/dist/src/components/grading/editAnnotations.js.map +0 -1
- package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
- package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
- package/dist/src/components/grading/examAnnotationUtils.js +0 -44
- package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
- package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
- package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
- package/dist/src/components/grading/largeImageDetector.js +0 -45
- package/dist/src/components/grading/largeImageDetector.js.map +0 -1
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
- package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
- package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
- package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
- package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
- package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
- package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
- package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
- package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
- package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
- package/dist/src/components/grading-instructions/Question.d.ts +0 -4
- package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/Question.js +0 -14
- package/dist/src/components/grading-instructions/Question.js.map +0 -1
- package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
- package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
- package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
- package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
- package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/Recording.js +0 -19
- package/dist/src/components/grading-instructions/Recording.js.map +0 -1
- package/dist/src/components/grading-instructions/Section.d.ts +0 -4
- package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/Section.js +0 -10
- package/dist/src/components/grading-instructions/Section.js.map +0 -1
- package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
- package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
- package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
- package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
- package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
- package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
- package/dist/src/components/results/ChoiceAnswer.js +0 -57
- package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
- package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
- package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
- package/dist/src/components/results/DropdownAnswer.js +0 -43
- package/dist/src/components/results/DropdownAnswer.js.map +0 -1
- package/dist/src/components/results/EndExamSession.d.ts +0 -8
- package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
- package/dist/src/components/results/EndExamSession.js +0 -20
- package/dist/src/components/results/EndExamSession.js.map +0 -1
- package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
- package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
- package/dist/src/components/results/MultiLineAnswer.js +0 -22
- package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
- package/dist/src/components/results/Question.d.ts +0 -4
- package/dist/src/components/results/Question.d.ts.map +0 -1
- package/dist/src/components/results/Question.js +0 -31
- package/dist/src/components/results/Question.js.map +0 -1
- package/dist/src/components/results/QuestionTitle.d.ts +0 -6
- package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
- package/dist/src/components/results/QuestionTitle.js +0 -26
- package/dist/src/components/results/QuestionTitle.js.map +0 -1
- package/dist/src/components/results/Results.d.ts +0 -19
- package/dist/src/components/results/Results.d.ts.map +0 -1
- package/dist/src/components/results/Results.js +0 -136
- package/dist/src/components/results/Results.js.map +0 -1
- package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
- package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
- package/dist/src/components/results/ScoredTextAnswer.js +0 -22
- package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
- package/dist/src/components/results/Section.d.ts +0 -4
- package/dist/src/components/results/Section.d.ts.map +0 -1
- package/dist/src/components/results/Section.js +0 -11
- package/dist/src/components/results/Section.js.map +0 -1
- package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
- package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
- package/dist/src/components/results/SingleLineAnswer.js +0 -26
- package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
- package/dist/src/components/results/TextAnswer.d.ts +0 -7
- package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
- package/dist/src/components/results/TextAnswer.js +0 -48
- package/dist/src/components/results/TextAnswer.js.map +0 -1
- package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
- package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
- package/dist/src/components/results/internal/AnnotationList.js +0 -32
- package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
- package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
- package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
- package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
- package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
- package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
- package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
- package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
- package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
- package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
- package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
- package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
- package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
- package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
- package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
- package/dist/src/components/results/isExamineExamPageHook.js +0 -7
- package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
- package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
- package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
- package/dist/src/components/shared/AnnotatableText.js +0 -73
- package/dist/src/components/shared/AnnotatableText.js.map +0 -1
- package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
- package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
- package/dist/src/components/shared/AnnotationLists.js +0 -17
- package/dist/src/components/shared/AnnotationLists.js.map +0 -1
- package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
- package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
- package/dist/src/components/shared/AnnotationPopup.js +0 -74
- package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
- package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
- package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
- package/dist/src/components/shared/AnswerIndicator.js +0 -27
- package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
- package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
- package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
- package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
- package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
- package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
- package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
- package/dist/src/components/shared/AttachmentLink.js +0 -28
- package/dist/src/components/shared/AttachmentLink.js.map +0 -1
- package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
- package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
- package/dist/src/components/shared/AttachmentLinks.js +0 -58
- package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
- package/dist/src/components/shared/Audio.d.ts +0 -6
- package/dist/src/components/shared/Audio.d.ts.map +0 -1
- package/dist/src/components/shared/Audio.js +0 -31
- package/dist/src/components/shared/Audio.js.map +0 -1
- package/dist/src/components/shared/AudioGroup.d.ts +0 -6
- package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
- package/dist/src/components/shared/AudioGroup.js +0 -9
- package/dist/src/components/shared/AudioGroup.js.map +0 -1
- package/dist/src/components/shared/AudioTest.d.ts +0 -6
- package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
- package/dist/src/components/shared/AudioTest.js +0 -34
- package/dist/src/components/shared/AudioTest.js.map +0 -1
- package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
- package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
- package/dist/src/components/shared/ExamTranslation.js +0 -9
- package/dist/src/components/shared/ExamTranslation.js.map +0 -1
- package/dist/src/components/shared/File.d.ts +0 -6
- package/dist/src/components/shared/File.d.ts.map +0 -1
- package/dist/src/components/shared/File.js +0 -15
- package/dist/src/components/shared/File.js.map +0 -1
- package/dist/src/components/shared/Footer.d.ts +0 -5
- package/dist/src/components/shared/Footer.d.ts.map +0 -1
- package/dist/src/components/shared/Footer.js +0 -3
- package/dist/src/components/shared/Footer.js.map +0 -1
- package/dist/src/components/shared/Formula.d.ts +0 -6
- package/dist/src/components/shared/Formula.d.ts.map +0 -1
- package/dist/src/components/shared/Formula.js +0 -13
- package/dist/src/components/shared/Formula.js.map +0 -1
- package/dist/src/components/shared/Image.d.ts +0 -6
- package/dist/src/components/shared/Image.d.ts.map +0 -1
- package/dist/src/components/shared/Image.js +0 -30
- package/dist/src/components/shared/Image.js.map +0 -1
- package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
- package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
- package/dist/src/components/shared/ImageOverlay.js +0 -43
- package/dist/src/components/shared/ImageOverlay.js.map +0 -1
- package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
- package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
- package/dist/src/components/shared/QuestionNumber.js +0 -12
- package/dist/src/components/shared/QuestionNumber.js.map +0 -1
- package/dist/src/components/shared/Reference.d.ts +0 -6
- package/dist/src/components/shared/Reference.d.ts.map +0 -1
- package/dist/src/components/shared/Reference.js +0 -72
- package/dist/src/components/shared/Reference.js.map +0 -1
- package/dist/src/components/shared/References.d.ts +0 -6
- package/dist/src/components/shared/References.d.ts.map +0 -1
- package/dist/src/components/shared/References.js +0 -26
- package/dist/src/components/shared/References.js.map +0 -1
- package/dist/src/components/shared/Score.d.ts +0 -8
- package/dist/src/components/shared/Score.d.ts.map +0 -1
- package/dist/src/components/shared/Score.js +0 -13
- package/dist/src/components/shared/Score.js.map +0 -1
- package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
- package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
- package/dist/src/components/shared/TOCQuestion.js +0 -77
- package/dist/src/components/shared/TOCQuestion.js.map +0 -1
- package/dist/src/components/shared/TOCSection.d.ts +0 -7
- package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
- package/dist/src/components/shared/TOCSection.js +0 -15
- package/dist/src/components/shared/TOCSection.js.map +0 -1
- package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
- package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
- package/dist/src/components/shared/TOCSectionTitle.js +0 -34
- package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
- package/dist/src/components/shared/TableOfContents.d.ts +0 -8
- package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
- package/dist/src/components/shared/TableOfContents.js +0 -61
- package/dist/src/components/shared/TableOfContents.js.map +0 -1
- package/dist/src/components/shared/VersionNumber.d.ts +0 -3
- package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
- package/dist/src/components/shared/VersionNumber.js +0 -10
- package/dist/src/components/shared/VersionNumber.js.map +0 -1
- package/dist/src/components/shared/Video.d.ts +0 -6
- package/dist/src/components/shared/Video.d.ts.map +0 -1
- package/dist/src/components/shared/Video.js +0 -22
- package/dist/src/components/shared/Video.js.map +0 -1
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
- package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
- package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
- package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
- package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
- package/dist/src/components/surround.d.ts +0 -8
- package/dist/src/components/surround.d.ts.map +0 -1
- package/dist/src/components/surround.js +0 -19
- package/dist/src/components/surround.js.map +0 -1
- package/dist/src/createRenderChildNodes.d.ts +0 -17
- package/dist/src/createRenderChildNodes.d.ts.map +0 -1
- package/dist/src/createRenderChildNodes.js +0 -64
- package/dist/src/createRenderChildNodes.js.map +0 -1
- package/dist/src/dom-utils.d.ts +0 -20
- package/dist/src/dom-utils.d.ts.map +0 -1
- package/dist/src/dom-utils.js +0 -164
- package/dist/src/dom-utils.js.map +0 -1
- package/dist/src/fonts.d.ts +0 -5
- package/dist/src/fonts.d.ts.map +0 -1
- package/dist/src/fonts.js +0 -16
- package/dist/src/fonts.js.map +0 -1
- package/dist/src/formatting.d.ts +0 -2
- package/dist/src/formatting.d.ts.map +0 -1
- package/dist/src/formatting.js +0 -4
- package/dist/src/formatting.js.map +0 -1
- package/dist/src/getDisplayName.d.ts +0 -4
- package/dist/src/getDisplayName.d.ts.map +0 -1
- package/dist/src/getDisplayName.js +0 -5
- package/dist/src/getDisplayName.js.map +0 -1
- package/dist/src/i18n/A_E.d.ts +0 -3
- package/dist/src/i18n/A_E.d.ts.map +0 -1
- package/dist/src/i18n/A_E.js +0 -8
- package/dist/src/i18n/A_E.js.map +0 -1
- package/dist/src/i18n/BA.d.ts +0 -3
- package/dist/src/i18n/BA.d.ts.map +0 -1
- package/dist/src/i18n/BA.js +0 -11
- package/dist/src/i18n/BA.js.map +0 -1
- package/dist/src/i18n/CA.d.ts +0 -3
- package/dist/src/i18n/CA.d.ts.map +0 -1
- package/dist/src/i18n/CA.js +0 -11
- package/dist/src/i18n/CA.js.map +0 -1
- package/dist/src/i18n/EA.d.ts +0 -3
- package/dist/src/i18n/EA.d.ts.map +0 -1
- package/dist/src/i18n/EA.js +0 -16
- package/dist/src/i18n/EA.js.map +0 -1
- package/dist/src/i18n/FA.d.ts +0 -3
- package/dist/src/i18n/FA.d.ts.map +0 -1
- package/dist/src/i18n/FA.js +0 -17
- package/dist/src/i18n/FA.js.map +0 -1
- package/dist/src/i18n/GC.d.ts +0 -3
- package/dist/src/i18n/GC.d.ts.map +0 -1
- package/dist/src/i18n/GC.js +0 -16
- package/dist/src/i18n/GC.js.map +0 -1
- package/dist/src/i18n/I.d.ts +0 -3
- package/dist/src/i18n/I.d.ts.map +0 -1
- package/dist/src/i18n/I.js +0 -21
- package/dist/src/i18n/I.js.map +0 -1
- package/dist/src/i18n/M.d.ts +0 -3
- package/dist/src/i18n/M.d.ts.map +0 -1
- package/dist/src/i18n/M.js +0 -4
- package/dist/src/i18n/M.js.map +0 -1
- package/dist/src/i18n/O_E.d.ts +0 -3
- package/dist/src/i18n/O_E.d.ts.map +0 -1
- package/dist/src/i18n/O_E.js +0 -7
- package/dist/src/i18n/O_E.js.map +0 -1
- package/dist/src/i18n/PA.d.ts +0 -3
- package/dist/src/i18n/PA.d.ts.map +0 -1
- package/dist/src/i18n/PA.js +0 -16
- package/dist/src/i18n/PA.js.map +0 -1
- package/dist/src/i18n/SA.d.ts +0 -3
- package/dist/src/i18n/SA.d.ts.map +0 -1
- package/dist/src/i18n/SA.js +0 -16
- package/dist/src/i18n/SA.js.map +0 -1
- package/dist/src/i18n/TC.d.ts +0 -3
- package/dist/src/i18n/TC.d.ts.map +0 -1
- package/dist/src/i18n/TC.js +0 -16
- package/dist/src/i18n/TC.js.map +0 -1
- package/dist/src/i18n/VA.d.ts +0 -3
- package/dist/src/i18n/VA.d.ts.map +0 -1
- package/dist/src/i18n/VA.js +0 -16
- package/dist/src/i18n/VA.js.map +0 -1
- package/dist/src/i18n/Z.d.ts +0 -3
- package/dist/src/i18n/Z.d.ts.map +0 -1
- package/dist/src/i18n/Z.js +0 -22
- package/dist/src/i18n/Z.js.map +0 -1
- package/dist/src/i18n/fi-FI.d.ts +0 -192
- package/dist/src/i18n/fi-FI.d.ts.map +0 -1
- package/dist/src/i18n/fi-FI.js +0 -182
- package/dist/src/i18n/fi-FI.js.map +0 -1
- package/dist/src/i18n/index.d.ts +0 -20
- package/dist/src/i18n/index.d.ts.map +0 -1
- package/dist/src/i18n/index.js +0 -128
- package/dist/src/i18n/index.js.map +0 -1
- package/dist/src/i18n/sv-FI.d.ts +0 -3
- package/dist/src/i18n/sv-FI.d.ts.map +0 -1
- package/dist/src/i18n/sv-FI.js +0 -181
- package/dist/src/i18n/sv-FI.js.map +0 -1
- package/dist/src/ids.d.ts +0 -14
- package/dist/src/ids.d.ts.map +0 -1
- package/dist/src/ids.js +0 -28
- package/dist/src/ids.js.map +0 -1
- package/dist/src/index.d.ts +0 -19
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -12
- package/dist/src/index.js.map +0 -1
- package/dist/src/parser/parseExam.d.ts +0 -2
- package/dist/src/parser/parseExam.d.ts.map +0 -1
- package/dist/src/parser/parseExam.js +0 -54
- package/dist/src/parser/parseExam.js.map +0 -1
- package/dist/src/parser/parseExamStructure.d.ts +0 -58
- package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
- package/dist/src/parser/parseExamStructure.js +0 -40
- package/dist/src/parser/parseExamStructure.js.map +0 -1
- package/dist/src/renderAnnotations.d.ts +0 -7
- package/dist/src/renderAnnotations.d.ts.map +0 -1
- package/dist/src/renderAnnotations.js +0 -193
- package/dist/src/renderAnnotations.js.map +0 -1
- package/dist/src/scrollToHash.d.ts +0 -2
- package/dist/src/scrollToHash.d.ts.map +0 -1
- package/dist/src/scrollToHash.js +0 -24
- package/dist/src/scrollToHash.js.map +0 -1
- package/dist/src/shortDisplayNumber.d.ts +0 -2
- package/dist/src/shortDisplayNumber.d.ts.map +0 -1
- package/dist/src/shortDisplayNumber.js +0 -5
- package/dist/src/shortDisplayNumber.js.map +0 -1
- package/dist/src/store/answers/actions.d.ts +0 -33
- package/dist/src/store/answers/actions.d.ts.map +0 -1
- package/dist/src/store/answers/actions.js +0 -9
- package/dist/src/store/answers/actions.js.map +0 -1
- package/dist/src/store/answers/reducer.d.ts +0 -39
- package/dist/src/store/answers/reducer.d.ts.map +0 -1
- package/dist/src/store/answers/reducer.js +0 -55
- package/dist/src/store/answers/reducer.js.map +0 -1
- package/dist/src/store/answers/sagas.d.ts +0 -8
- package/dist/src/store/answers/sagas.d.ts.map +0 -1
- package/dist/src/store/answers/sagas.js +0 -60
- package/dist/src/store/answers/sagas.js.map +0 -1
- package/dist/src/store/audio/actions.d.ts +0 -29
- package/dist/src/store/audio/actions.d.ts.map +0 -1
- package/dist/src/store/audio/actions.js +0 -9
- package/dist/src/store/audio/actions.js.map +0 -1
- package/dist/src/store/audio/reducer.d.ts +0 -27
- package/dist/src/store/audio/reducer.d.ts.map +0 -1
- package/dist/src/store/audio/reducer.js +0 -55
- package/dist/src/store/audio/reducer.js.map +0 -1
- package/dist/src/store/audio/sagas.d.ts +0 -3
- package/dist/src/store/audio/sagas.d.ts.map +0 -1
- package/dist/src/store/audio/sagas.js +0 -68
- package/dist/src/store/audio/sagas.js.map +0 -1
- package/dist/src/store/cas/actions.d.ts +0 -19
- package/dist/src/store/cas/actions.d.ts.map +0 -1
- package/dist/src/store/cas/actions.js +0 -9
- package/dist/src/store/cas/actions.js.map +0 -1
- package/dist/src/store/cas/reducer.d.ts +0 -14
- package/dist/src/store/cas/reducer.d.ts.map +0 -1
- package/dist/src/store/cas/reducer.js +0 -24
- package/dist/src/store/cas/reducer.js.map +0 -1
- package/dist/src/store/cas/sagas.d.ts +0 -18
- package/dist/src/store/cas/sagas.d.ts.map +0 -1
- package/dist/src/store/cas/sagas.js +0 -36
- package/dist/src/store/cas/sagas.js.map +0 -1
- package/dist/src/store/countdown.d.ts +0 -4
- package/dist/src/store/countdown.d.ts.map +0 -1
- package/dist/src/store/countdown.js +0 -33
- package/dist/src/store/countdown.js.map +0 -1
- package/dist/src/store/index.d.ts +0 -78
- package/dist/src/store/index.d.ts.map +0 -1
- package/dist/src/store/index.js +0 -53
- package/dist/src/store/index.js.map +0 -1
- package/dist/src/store/selectors.d.ts +0 -9
- package/dist/src/store/selectors.d.ts.map +0 -1
- package/dist/src/store/selectors.js +0 -35
- package/dist/src/store/selectors.js.map +0 -1
- package/dist/src/types/ExamAnswer.d.ts +0 -22
- package/dist/src/types/ExamAnswer.d.ts.map +0 -1
- package/dist/src/types/ExamAnswer.js +0 -2
- package/dist/src/types/ExamAnswer.js.map +0 -1
- package/dist/src/types/ExamServerAPI.d.ts +0 -78
- package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
- package/dist/src/types/ExamServerAPI.js +0 -2
- package/dist/src/types/ExamServerAPI.js.map +0 -1
- package/dist/src/types/GradingStructure.d.ts +0 -40
- package/dist/src/types/GradingStructure.d.ts.map +0 -1
- package/dist/src/types/GradingStructure.js +0 -2
- package/dist/src/types/GradingStructure.js.map +0 -1
- package/dist/src/types/Score.d.ts +0 -92
- package/dist/src/types/Score.d.ts.map +0 -1
- package/dist/src/types/Score.js +0 -2
- package/dist/src/types/Score.js.map +0 -1
- package/dist/src/url.d.ts +0 -7
- package/dist/src/url.d.ts.map +0 -1
- package/dist/src/url.js +0 -12
- package/dist/src/url.js.map +0 -1
- package/dist/src/useCached.d.ts +0 -3
- package/dist/src/useCached.d.ts.map +0 -1
- package/dist/src/useCached.js +0 -6
- package/dist/src/useCached.js.map +0 -1
- package/dist/src/utils.d.ts +0 -15
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/utils.js +0 -35
- package/dist/src/utils.js.map +0 -1
- package/dist/src/validateAnswers.d.ts +0 -16
- package/dist/src/validateAnswers.d.ts.map +0 -1
- package/dist/src/validateAnswers.js +0 -89
- package/dist/src/validateAnswers.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/exam/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AASjE,iBAAS,YAAY,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,
|
1
|
+
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/exam/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AASjE,iBAAS,YAAY,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAoCtE;;AAED,wBAAuC"}
|
@@ -18,7 +18,7 @@ function SectionTitle({ element, renderChildNodes }) {
|
|
18
18
|
}
|
19
19
|
}, []);
|
20
20
|
return (React.createElement(React.Fragment, null,
|
21
|
-
element.hasChildNodes() && (React.createElement("h2", { className: "exam-section-title", id: sectionTitleId(displayNumber), "data-toc-id": `section-${displayNumber}`, ref: ref },
|
21
|
+
element.hasChildNodes() && (React.createElement("h2", { className: "exam-section-title", id: sectionTitleId(displayNumber), "data-toc-id": `section-${displayNumber}`, ref: ref, "data-annotation-anchor": `section-title-${displayNumber}` },
|
22
22
|
sections.length > 1 && t('section', { displayNumber }),
|
23
23
|
" ",
|
24
24
|
renderChildNodes(element))),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionTitle.js","sourceRoot":"","sources":["../../../src/components/exam/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,O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EvD,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,aAAa,EAAE,CAAC;;YAAG,gBAAgB,CAAC,OAAO,CAAC,CAChF,CACN;QACA,UAAU,IAAI,IAAI,IAAI,CACrB,8BAAM,SAAS,EAAC,mCAAmC;YACjD,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,IAAO,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,GAAM,CAC5F,CACR,CACA,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA"}
|
@@ -39,7 +39,7 @@ const selectionContainsNonhiddenMarks = (selection) => {
|
|
39
39
|
const childContainsNonHiddenMark = rangeChildren.some(child => child.querySelector('mark[data-hidden="false"]'));
|
40
40
|
return childIsNonHiddenMark || childContainsNonHiddenMark;
|
41
41
|
};
|
42
|
-
const getDisplayNumber = (node) => { var _a; return (_a = node === null || node === void 0 ? void 0 : node.closest('
|
42
|
+
const getDisplayNumber = (node) => { var _a; return (_a = node === null || node === void 0 ? void 0 : node.closest('[data-annotation-anchor]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-annotation-anchor'); };
|
43
43
|
const isAnnotatable = (node) => (node === null || node === void 0 ? void 0 : node.getAttribute('data-annotation-path')) && node.tagName !== 'MARK';
|
44
44
|
const extractAnnotationsFromSelection = (selection) => {
|
45
45
|
var _a, _b;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"examAnnotationUtils.js","sourceRoot":"","sources":["../../../src/components/grading/examAnnotationUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAC,CAAmB,EAAE,eAAiC;IAC7F,SAAS,6BAA6B;;QACpC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,6BAA6B,CAAC,CAAA;QAEpE;;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,
|
1
|
+
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAMjE,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAkB7D,CAAA;AAED,eAAe,YAAY,CAAA"}
|
@@ -7,7 +7,7 @@ const SectionTitle = ({ element, renderChildNodes }) => {
|
|
7
7
|
const { sections } = useContext(CommonExamContext);
|
8
8
|
const { displayNumber } = useContext(SectionContext);
|
9
9
|
const { t } = useExamTranslation();
|
10
|
-
return (React.createElement(React.Fragment, null, element.hasChildNodes() && (React.createElement("h2", { className: "e-grading-instructions-section-title", id: sectionTitleId(displayNumber) },
|
10
|
+
return (React.createElement(React.Fragment, null, element.hasChildNodes() && (React.createElement("h2", { className: "e-grading-instructions-section-title", id: sectionTitleId(displayNumber), "data-annotation-anchor": `section-title-${displayNumber}` },
|
11
11
|
sections.length > 1 && t('section', { displayNumber }),
|
12
12
|
" ",
|
13
13
|
renderChildNodes(element)))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionTitle.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,YAAY,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAClG,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAClD,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACpD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,0CACG,OAAO,CAAC,aAAa,EAAE,IAAI,CAC1B,
|
1
|
+
{"version":3,"file":"SectionTitle.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,YAAY,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAClG,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAClD,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACpD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,0CACG,OAAO,CAAC,aAAa,EAAE,IAAI,CAC1B,4BACE,SAAS,EAAC,sCAAsC,EAChD,EAAE,EAAE,cAAc,CAAC,aAAa,CAAC,4BACT,iBAAiB,aAAa,EAAE;QAEvD,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,aAAa,EAAE,CAAC;;QAAG,gBAAgB,CAAC,OAAO,CAAC,CAChF,CACN,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DNDAnswerContainer.d.ts","sourceRoot":"","sources":["../../../src/components/results/DNDAnswerContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAO1C,eAAO,MAAM,kBAAkB,kCAAmC,kBAAkB,sBAuCnF,CAAA"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import React, { useContext } from 'react';
|
2
|
+
import { query, queryAll } from '../../dom-utils';
|
3
|
+
import { ResultsContext } from '../context/ResultsContext';
|
4
|
+
import { getAnswerOptionIdsByQuestionId, getAnswerOptionsByOptionId } from '../exam/DNDAnswerContainer';
|
5
|
+
import { DNDTitleAndDroppable } from '../shared/DNDTitleAndDroppable';
|
6
|
+
import { CorrectDNDAnswers } from './CorrectDNDAnswers';
|
7
|
+
export const DNDAnswerContainer = ({ element, renderChildNodes }) => {
|
8
|
+
const { answersByQuestionId, gradingStructure } = useContext(ResultsContext);
|
9
|
+
const answerOptionIdsByQuestionId = getAnswerOptionIdsByQuestionId(element, answersByQuestionId);
|
10
|
+
const answerOptionsByOptionId = getAnswerOptionsByOptionId(element);
|
11
|
+
const dndAnswersWithQuestion = queryAll(element, 'dnd-answer').filter(e => !!query(e, 'dnd-answer-title'));
|
12
|
+
return (React.createElement("div", { className: "e-dnd-answer-container" }, dndAnswersWithQuestion.map(element => {
|
13
|
+
var _a;
|
14
|
+
const questionId = element.getAttribute('question-id');
|
15
|
+
const itemIds = answerOptionIdsByQuestionId[questionId] || [];
|
16
|
+
const answerOptionElements = (_a = (answerOptionIdsByQuestionId[questionId] || [])) === null || _a === void 0 ? void 0 : _a.map(id => (answerOptionsByOptionId === null || answerOptionsByOptionId === void 0 ? void 0 : answerOptionsByOptionId[id]) || null).filter(Boolean);
|
17
|
+
return (React.createElement(React.Fragment, { key: questionId },
|
18
|
+
React.createElement(DNDTitleAndDroppable, { key: questionId, element: element, answerOptionElements: answerOptionElements, renderChildNodes: renderChildNodes, itemIds: itemIds, page: "results" }),
|
19
|
+
gradingStructure && (React.createElement(CorrectDNDAnswers, { key: `${questionId}-correct`, element: element, renderChildNodes: renderChildNodes, answerOptionsById: answerOptionsByOptionId }))));
|
20
|
+
})));
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=DNDAnswerContainer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DNDAnswerContainer.js","sourceRoot":"","sources":["../../../src/components/results/DNDAnswerContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAA;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB,EAAE,EAAE;IACtF,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC5E,MAAM,2BAA2B,GAAG,8BAA8B,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAA;IAChG,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,OAAO,CAAC,CAAA;IACnE,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAA;IAE1G,OAAO,CACL,6BAAK,SAAS,EAAC,wBAAwB,IACpC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;;QACpC,MAAM,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC,aAAa,CAAE,CAAA;QACvD,MAAM,OAAO,GAAG,2BAA2B,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA;QAC7D,MAAM,oBAAoB,GAAG,MAAA,CAAC,2BAA2B,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,0CACxE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA,uBAAuB,aAAvB,uBAAuB,uBAAvB,uBAAuB,CAAG,EAAE,CAAC,KAAI,IAAI,EAChD,MAAM,CAAC,OAAO,CAAC,CAAA;QAElB,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ,IAAC,GAAG,EAAE,UAAU;YAC7B,oBAAC,oBAAoB,IACnB,GAAG,EAAE,UAAU,EACf,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,SAAS,GACd;YAED,gBAAgB,IAAI,CACnB,oBAAC,iBAAiB,IAChB,GAAG,EAAE,GAAG,UAAU,UAAU,EAC5B,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,uBAAuB,GAC1C,CACH,CACc,CAClB,CAAA;IACH,CAAC,CAAC,CACE,CACP,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
declare const _exports: ({
|
2
|
+
parserOptions: {
|
3
|
+
project: string;
|
4
|
+
tsconfigRootDir: string;
|
5
|
+
};
|
6
|
+
rules: {
|
7
|
+
'no-restricted-imports': (string | {
|
8
|
+
paths: ({
|
9
|
+
name: string;
|
10
|
+
message: string;
|
11
|
+
} | {
|
12
|
+
name: string;
|
13
|
+
importNames: string[];
|
14
|
+
message: string;
|
15
|
+
})[];
|
16
|
+
})[];
|
17
|
+
};
|
18
|
+
} | {
|
19
|
+
ignores: string[];
|
20
|
+
})[];
|
21
|
+
export = _exports;
|
22
|
+
//# sourceMappingURL=eslint.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
module.exports = [
|
3
|
+
{
|
4
|
+
parserOptions: {
|
5
|
+
project: '../tsconfig.json',
|
6
|
+
tsconfigRootDir: __dirname
|
7
|
+
},
|
8
|
+
rules: {
|
9
|
+
'no-restricted-imports': [
|
10
|
+
'error',
|
11
|
+
{
|
12
|
+
paths: [
|
13
|
+
{
|
14
|
+
name: 'lodash',
|
15
|
+
message: "Please use import * as _ from 'lodash-es' in the core module for better tree shaking."
|
16
|
+
},
|
17
|
+
{
|
18
|
+
name: 'react-i18next',
|
19
|
+
importNames: ['useTranslation', 'Translation'],
|
20
|
+
message: 'Please use the `useExamTranslation` wrapper instead.'
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
},
|
27
|
+
{
|
28
|
+
ignores: ['dist/**/*', 'node_modules/**/*']
|
29
|
+
}
|
30
|
+
];
|
31
|
+
//# sourceMappingURL=eslint.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf;QACE,aAAa,EAAE;YACb,OAAO,EAAE,kBAAkB;YAC3B,eAAe,EAAE,SAAS;SAC3B;QACD,KAAK,EAAE;YACL,uBAAuB,EAAE;gBACvB,OAAO;gBACP;oBACE,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,QAAQ;4BACd,OAAO,EAAE,uFAAuF;yBACjG;wBACD;4BACE,IAAI,EAAE,eAAe;4BACrB,WAAW,EAAE,CAAC,gBAAgB,EAAE,aAAa,CAAC;4BAC9C,OAAO,EAAE,sDAAsD;yBAChE;qBACF;iBACF;aACF;SACF;KACF;IACD;QACE,OAAO,EAAE,CAAC,WAAW,EAAE,mBAAmB,CAAC;KAC5C;CACF,CAAA"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export declare const examTitlesFi: {
|
2
|
+
codes: {
|
3
|
+
A5: string;
|
4
|
+
A_E: string;
|
5
|
+
A_X: string;
|
6
|
+
BA: string;
|
7
|
+
BB: string;
|
8
|
+
BI: string;
|
9
|
+
DC: string;
|
10
|
+
EA: string;
|
11
|
+
EC: string;
|
12
|
+
ET: string;
|
13
|
+
FA: string;
|
14
|
+
FC: string;
|
15
|
+
FF: string;
|
16
|
+
FY: string;
|
17
|
+
GC: string;
|
18
|
+
GE: string;
|
19
|
+
HI: string;
|
20
|
+
I: string;
|
21
|
+
IC: string;
|
22
|
+
KE: string;
|
23
|
+
L1: string;
|
24
|
+
L7: string;
|
25
|
+
M: string;
|
26
|
+
N: string;
|
27
|
+
PA: string;
|
28
|
+
PC: string;
|
29
|
+
PS: string;
|
30
|
+
QC: string;
|
31
|
+
SA: string;
|
32
|
+
SC: string;
|
33
|
+
TC: string;
|
34
|
+
TE: string;
|
35
|
+
UE: string;
|
36
|
+
UO: string;
|
37
|
+
VA: string;
|
38
|
+
VC: string;
|
39
|
+
W: string;
|
40
|
+
YH: string;
|
41
|
+
Z: string;
|
42
|
+
};
|
43
|
+
'hearing-impaired': string;
|
44
|
+
'visually-impaired': string;
|
45
|
+
};
|
46
|
+
//# sourceMappingURL=exam_titles_fi-FI.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exam_titles_fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/exam_titles_fi-FI.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAA"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export const examTitlesFi = {
|
2
|
+
codes: {
|
3
|
+
A5: 'FI – Suomi toisena kielenä ja kirjallisuus',
|
4
|
+
A_E: 'FI – Äidinkieli ja kirjallisuus, kirjoitustaidon koe',
|
5
|
+
A_X: 'FI – Äidinkieli ja kirjallisuus, lukutaidon koe',
|
6
|
+
BA: 'FI – Ruotsi, pitkä oppimäärä',
|
7
|
+
BB: 'FI – Ruotsi, keskipitkä oppimäärä',
|
8
|
+
BI: 'FI – Biologia',
|
9
|
+
DC: 'FI – Pohjoissaame, lyhyt oppimäärä',
|
10
|
+
EA: 'FI – Englanti, pitkä oppimäärä',
|
11
|
+
EC: 'FI – Englanti, lyhyt oppimäärä',
|
12
|
+
ET: 'FI – Elämänkatsomustieto',
|
13
|
+
FA: 'FI – Ranska, pitkä oppimäärä',
|
14
|
+
FC: 'FI – Ranska, lyhyt oppimäärä',
|
15
|
+
FF: 'FI – Filosofia',
|
16
|
+
FY: 'FI – Fysiikka',
|
17
|
+
GC: 'FI – Portugali, lyhyt oppimäärä',
|
18
|
+
GE: 'FI – Maantiede',
|
19
|
+
HI: 'FI – Historia',
|
20
|
+
I: 'Eenikielâ já kirjálâšvuotâ, anarâškielâ',
|
21
|
+
IC: 'FI – Inarinsaame, lyhyt oppimäärä',
|
22
|
+
KE: 'FI – Kemia',
|
23
|
+
L1: 'FI – Latina, lyhyt oppimäärä',
|
24
|
+
L7: 'FI – Latina, laajempi lyhyt oppimäärä',
|
25
|
+
M: 'FI – Matematiikka, pitkä oppimäärä',
|
26
|
+
N: 'FI – Matematiikka, lyhyt oppimäärä',
|
27
|
+
PA: 'FI – Espanja, pitkä oppimäärä',
|
28
|
+
PC: 'FI – Espanja, lyhyt oppimäärä',
|
29
|
+
PS: 'FI – Psykologia',
|
30
|
+
QC: 'FI – Koltansaame, lyhyt oppimäärä',
|
31
|
+
SA: 'FI – Saksa, pitkä oppimäärä',
|
32
|
+
SC: 'FI – Saksa, lyhyt oppimäärä',
|
33
|
+
TC: 'FI – Italia, lyhyt oppimäärä',
|
34
|
+
TE: 'FI – Terveystieto',
|
35
|
+
UE: 'FI – Evankelisluterilainen uskonto',
|
36
|
+
UO: 'FI – Ortodoksinen uskonto',
|
37
|
+
VA: 'FI – Venäjä, pitkä oppimäärä',
|
38
|
+
VC: 'FI – Venäjä, lyhyt oppimäärä',
|
39
|
+
W: 'Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll',
|
40
|
+
YH: 'FI – Yhteiskuntaoppi',
|
41
|
+
Z: 'Eatnigiella ja girjjálašvuohta, davvisámegiella'
|
42
|
+
},
|
43
|
+
'hearing-impaired': '(kuulovammaiset)',
|
44
|
+
'visually-impaired': '(näkövammaiset)'
|
45
|
+
};
|
46
|
+
//# sourceMappingURL=exam_titles_fi-FI.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exam_titles_fi-FI.js","sourceRoot":"","sources":["../../src/i18n/exam_titles_fi-FI.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE;QACL,EAAE,EAAE,4CAA4C;QAChD,GAAG,EAAE,sDAAsD;QAC3D,GAAG,EAAE,iDAAiD;QACtD,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,oCAAoC;QACxC,EAAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,0BAA0B;QAC9B,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,eAAe;QACnB,CAAC,EAAE,yCAAyC;QAC5C,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,YAAY;QAChB,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,uCAAuC;QAC3C,CAAC,EAAE,oCAAoC;QACvC,CAAC,EAAE,oCAAoC;QACvC,EAAE,EAAE,+BAA+B;QACnC,EAAE,EAAE,+BAA+B;QACnC,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,oCAAoC;QACxC,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,8BAA8B;QAClC,CAAC,EAAE,2CAA2C;QAC9C,EAAE,EAAE,sBAAsB;QAC1B,CAAC,EAAE,iDAAiD;KACrD;IACD,kBAAkB,EAAE,kBAAkB;IACtC,mBAAmB,EAAE,iBAAiB;CACvC,CAAA"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"codes": {
|
3
|
+
"A5": "FI – Suomi toisena kielenä ja kirjallisuus",
|
4
|
+
"A_E": "FI – Äidinkieli ja kirjallisuus, kirjoitustaidon koe",
|
5
|
+
"A_X": "FI – Äidinkieli ja kirjallisuus, lukutaidon koe",
|
6
|
+
"BA": "FI – Ruotsi, pitkä oppimäärä",
|
7
|
+
"BB": "FI – Ruotsi, keskipitkä oppimäärä",
|
8
|
+
"BI": "FI – Biologia",
|
9
|
+
"DC": "FI – Pohjoissaame, lyhyt oppimäärä",
|
10
|
+
"EA": "FI – Englanti, pitkä oppimäärä",
|
11
|
+
"EC": "FI – Englanti, lyhyt oppimäärä",
|
12
|
+
"ET": "FI – Elämänkatsomustieto",
|
13
|
+
"FA": "FI – Ranska, pitkä oppimäärä",
|
14
|
+
"FC": "FI – Ranska, lyhyt oppimäärä",
|
15
|
+
"FF": "FI – Filosofia",
|
16
|
+
"FY": "FI – Fysiikka",
|
17
|
+
"GC": "FI – Portugali, lyhyt oppimäärä",
|
18
|
+
"GE": "FI – Maantiede",
|
19
|
+
"HI": "FI – Historia",
|
20
|
+
"I": "Eenikielâ já kirjálâšvuotâ, anarâškielâ",
|
21
|
+
"IC": "FI – Inarinsaame, lyhyt oppimäärä",
|
22
|
+
"KE": "FI – Kemia",
|
23
|
+
"L1": "FI – Latina, lyhyt oppimäärä",
|
24
|
+
"L7": "FI – Latina, laajempi lyhyt oppimäärä",
|
25
|
+
"M": "FI – Matematiikka, pitkä oppimäärä",
|
26
|
+
"N": "FI – Matematiikka, lyhyt oppimäärä",
|
27
|
+
"PA": "FI – Espanja, pitkä oppimäärä",
|
28
|
+
"PC": "FI – Espanja, lyhyt oppimäärä",
|
29
|
+
"PS": "FI – Psykologia",
|
30
|
+
"QC": "FI – Koltansaame, lyhyt oppimäärä",
|
31
|
+
"SA": "FI – Saksa, pitkä oppimäärä",
|
32
|
+
"SC": "FI – Saksa, lyhyt oppimäärä",
|
33
|
+
"TC": "FI – Italia, lyhyt oppimäärä",
|
34
|
+
"TE": "FI – Terveystieto",
|
35
|
+
"UE": "FI – Evankelisluterilainen uskonto",
|
36
|
+
"UO": "FI – Ortodoksinen uskonto",
|
37
|
+
"VA": "FI – Venäjä, pitkä oppimäärä",
|
38
|
+
"VC": "FI – Venäjä, lyhyt oppimäärä",
|
39
|
+
"W": "Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll",
|
40
|
+
"YH": "FI – Yhteiskuntaoppi",
|
41
|
+
"Z": "Eatnigiella ja girjjálašvuohta, davvisámegiella"
|
42
|
+
},
|
43
|
+
"hearing-impaired": "(kuulovammaiset)",
|
44
|
+
"visually-impaired": "(näkövammaiset)"
|
45
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export declare const examTitlesSv: {
|
2
|
+
codes: {
|
3
|
+
BI: string;
|
4
|
+
CA: string;
|
5
|
+
CB: string;
|
6
|
+
EA: string;
|
7
|
+
EC: string;
|
8
|
+
ET: string;
|
9
|
+
FA: string;
|
10
|
+
FC: string;
|
11
|
+
FF: string;
|
12
|
+
FY: string;
|
13
|
+
GC: string;
|
14
|
+
GE: string;
|
15
|
+
HI: string;
|
16
|
+
KE: string;
|
17
|
+
L1: string;
|
18
|
+
L7: string;
|
19
|
+
M: string;
|
20
|
+
N: string;
|
21
|
+
O5: string;
|
22
|
+
O_E: string;
|
23
|
+
O_X: string;
|
24
|
+
PA: string;
|
25
|
+
PC: string;
|
26
|
+
PS: string;
|
27
|
+
SA: string;
|
28
|
+
SC: string;
|
29
|
+
TC: string;
|
30
|
+
TE: string;
|
31
|
+
UE: string;
|
32
|
+
UO: string;
|
33
|
+
VA: string;
|
34
|
+
VC: string;
|
35
|
+
YH: string;
|
36
|
+
W: string;
|
37
|
+
Z: string;
|
38
|
+
I: string;
|
39
|
+
DC: string;
|
40
|
+
QC: string;
|
41
|
+
IC: string;
|
42
|
+
};
|
43
|
+
'hearing-impaired': string;
|
44
|
+
'visually-impaired': string;
|
45
|
+
};
|
46
|
+
//# sourceMappingURL=exam_titles_sv-FI.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exam_titles_sv-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/exam_titles_sv-FI.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAA"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export const examTitlesSv = {
|
2
|
+
codes: {
|
3
|
+
BI: 'SV – Biologi',
|
4
|
+
CA: 'SV – Finska, lång lärokurs',
|
5
|
+
CB: 'SV – Finska, medellång lärokurs',
|
6
|
+
EA: 'SV – Engelska, lång lärokurs',
|
7
|
+
EC: 'SV – Engelska, kort lärokurs',
|
8
|
+
ET: 'SV – Livsåskådningskunskap',
|
9
|
+
FA: 'SV – Franska, lång lärokurs',
|
10
|
+
FC: 'SV – Franska, kort lärokurs',
|
11
|
+
FF: 'SV – Filosofi',
|
12
|
+
FY: 'SV – Fysik',
|
13
|
+
GC: 'SV – Portugisiska, kort lärokurs',
|
14
|
+
GE: 'SV – Geografi',
|
15
|
+
HI: 'SV – Historia',
|
16
|
+
KE: 'SV – Kemi',
|
17
|
+
L1: 'SV – Latin, kort lärokurs',
|
18
|
+
L7: 'SV – Latin, utvidgad kort lärokurs',
|
19
|
+
M: 'SV – Matematik, lång lärokurs',
|
20
|
+
N: 'SV – Matematik, kort lärokurs',
|
21
|
+
O5: 'SV – Svenska som andraspråk och litteratur',
|
22
|
+
O_E: 'SV – Modersmål och litteratur, provet i skrivkompetens',
|
23
|
+
O_X: 'SV – Modersmål och litteratur, provet i läskompetens',
|
24
|
+
PA: 'SV – Spanska, lång lärokurs',
|
25
|
+
PC: 'SV – Spanska, kort lärokurs',
|
26
|
+
PS: 'SV – Psykologi',
|
27
|
+
SA: 'SV – Tyska, lång lärokurs',
|
28
|
+
SC: 'SV – Tyska, kort lärokurs',
|
29
|
+
TC: 'SV – Italienska, kort lärokurs',
|
30
|
+
TE: 'SV – Hälsokunskap',
|
31
|
+
UE: 'SV – Evangelisk-luthersk religion',
|
32
|
+
UO: 'SV – Ortodox religion',
|
33
|
+
VA: 'SV – Ryska, lång lärokurs',
|
34
|
+
VC: 'SV – Ryska, kort lärokurs',
|
35
|
+
YH: 'SV – Samhällslära',
|
36
|
+
W: 'Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll',
|
37
|
+
Z: 'Eatnigiella ja girjjálašvuohta, davvisámegiella',
|
38
|
+
I: 'Eenikielâ já kirjálâšvuotâ, anarâškielâ',
|
39
|
+
DC: 'SV – Nordsamiska, kort lärokurs',
|
40
|
+
QC: 'SV – Skoltsamiska, kort lärokurs',
|
41
|
+
IC: 'SV – Enaresamiska, kort lärokurs'
|
42
|
+
},
|
43
|
+
'hearing-impaired': '(hörselskadade)',
|
44
|
+
'visually-impaired': '(synskadade)'
|
45
|
+
};
|
46
|
+
//# sourceMappingURL=exam_titles_sv-FI.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file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}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"codes": {
|
3
|
+
"BI": "SV – Biologi",
|
4
|
+
"CA": "SV – Finska, lång lärokurs",
|
5
|
+
"CB": "SV – Finska, medellång lärokurs",
|
6
|
+
"EA": "SV – Engelska, lång lärokurs",
|
7
|
+
"EC": "SV – Engelska, kort lärokurs",
|
8
|
+
"ET": "SV – Livsåskådningskunskap",
|
9
|
+
"FA": "SV – Franska, lång lärokurs",
|
10
|
+
"FC": "SV – Franska, kort lärokurs",
|
11
|
+
"FF": "SV – Filosofi",
|
12
|
+
"FY": "SV – Fysik",
|
13
|
+
"GC": "SV – Portugisiska, kort lärokurs",
|
14
|
+
"GE": "SV – Geografi",
|
15
|
+
"HI": "SV – Historia",
|
16
|
+
"KE": "SV – Kemi",
|
17
|
+
"L1": "SV – Latin, kort lärokurs",
|
18
|
+
"L7": "SV – Latin, utvidgad kort lärokurs",
|
19
|
+
"M": "SV – Matematik, lång lärokurs",
|
20
|
+
"N": "SV – Matematik, kort lärokurs",
|
21
|
+
"O5": "SV – Svenska som andraspråk och litteratur",
|
22
|
+
"O_E": "SV – Modersmål och litteratur, provet i skrivkompetens",
|
23
|
+
"O_X": "SV – Modersmål och litteratur, provet i läskompetens",
|
24
|
+
"PA": "SV – Spanska, lång lärokurs",
|
25
|
+
"PC": "SV – Spanska, kort lärokurs",
|
26
|
+
"PS": "SV – Psykologi",
|
27
|
+
"SA": "SV – Tyska, lång lärokurs",
|
28
|
+
"SC": "SV – Tyska, kort lärokurs",
|
29
|
+
"TC": "SV – Italienska, kort lärokurs",
|
30
|
+
"TE": "SV – Hälsokunskap",
|
31
|
+
"UE": "SV – Evangelisk-luthersk religion",
|
32
|
+
"UO": "SV – Ortodox religion",
|
33
|
+
"VA": "SV – Ryska, lång lärokurs",
|
34
|
+
"VC": "SV – Ryska, kort lärokurs",
|
35
|
+
"YH": "SV – Samhällslära",
|
36
|
+
"W": "Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll",
|
37
|
+
"Z": "Eatnigiella ja girjjálašvuohta, davvisámegiella",
|
38
|
+
"I": "Eenikielâ já kirjálâšvuotâ, anarâškielâ",
|
39
|
+
"DC": "SV – Nordsamiska, kort lärokurs",
|
40
|
+
"QC": "SV – Skoltsamiska, kort lärokurs",
|
41
|
+
"IC": "SV – Enaresamiska, kort lärokurs"
|
42
|
+
},
|
43
|
+
"hearing-impaired": "(hörselskadade)",
|
44
|
+
"visually-impaired": "(synskadade)"
|
45
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { examTitlesFi } from './exam_titles_fi-FI';
|
2
|
+
import { examTitlesSv } from './exam_titles_sv-FI';
|
3
|
+
export declare function getExamCodes(): string[];
|
4
|
+
export declare function getExamTitle(query: {
|
5
|
+
examCode: keyof typeof examTitlesFi.codes;
|
6
|
+
lang: 'fi-FI';
|
7
|
+
} | {
|
8
|
+
examCode: keyof typeof examTitlesSv.codes;
|
9
|
+
lang: 'sv-FI';
|
10
|
+
}): string;
|
11
|
+
//# sourceMappingURL=exams.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exams.d.ts","sourceRoot":"","sources":["../../src/i18n/exams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,wBAAgB,YAAY,aAE3B;AAED,wBAAgB,YAAY,CAC1B,KAAK,EACD;IACE,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,CAAA;IACzC,IAAI,EAAE,OAAO,CAAA;CACd,GACD;IACE,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,CAAA;IACzC,IAAI,EAAE,OAAO,CAAA;CACd,GACJ,MAAM,CAER"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as _ from 'lodash-es';
|
2
|
+
import { examTitlesFi } from './exam_titles_fi-FI';
|
3
|
+
import { examTitlesSv } from './exam_titles_sv-FI';
|
4
|
+
export function getExamCodes() {
|
5
|
+
return _.uniq(Object.keys(examTitlesFi.codes).concat(Object.keys(examTitlesSv.codes)));
|
6
|
+
}
|
7
|
+
export function getExamTitle(query) {
|
8
|
+
return query.lang === 'fi-FI' ? examTitlesFi.codes[query.examCode] : examTitlesSv.codes[query.examCode];
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=exams.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exams.js","sourceRoot":"","sources":["../../src/i18n/exams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,MAAM,UAAU,YAAY;IAC1B,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;AACxF,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,KAQK;IAEL,OAAO,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzG,CAAC"}
|