@digabi/exam-engine-core 23.8.4 → 23.8.5-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/__tests__/playwright/Annotations.test.js +60 -28
- package/dist/__tests__/playwright/Annotations.test.js.map +1 -1
- package/dist/__tests__/playwright/attachments/Attachments.test.js +1 -1
- package/dist/__tests__/playwright/attachments/Attachments.test.js.map +1 -1
- package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js +1 -1
- package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js.map +1 -1
- package/dist/__tests__/playwright/stories/Annotations.story.d.ts +2 -2
- package/dist/__tests__/playwright/stories/Annotations.story.d.ts.map +1 -1
- package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts +2 -2
- package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts.map +1 -1
- package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts +2 -2
- package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map +1 -1
- package/dist/components/grading/examAnnotationUtils.d.ts +2 -1
- package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
- package/dist/components/grading/examAnnotationUtils.js +29 -10
- package/dist/components/grading/examAnnotationUtils.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/components/shared/AnnotatableText.d.ts.map +1 -1
- package/dist/components/shared/AnnotatableText.js +6 -6
- package/dist/components/shared/AnnotatableText.js.map +1 -1
- package/dist/components/shared/AnnotationImageMark.d.ts +16 -0
- package/dist/components/shared/AnnotationImageMark.d.ts.map +1 -0
- package/dist/components/shared/AnnotationImageMark.js +99 -0
- package/dist/components/shared/AnnotationImageMark.js.map +1 -0
- package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
- package/dist/components/shared/AnnotationPopup.js +5 -2
- package/dist/components/shared/AnnotationPopup.js.map +1 -1
- package/dist/components/shared/AnnotationTextMark.d.ts +11 -0
- package/dist/components/shared/AnnotationTextMark.d.ts.map +1 -0
- package/dist/components/shared/AnnotationTextMark.js +21 -0
- package/dist/components/shared/AnnotationTextMark.js.map +1 -0
- package/dist/components/shared/markText.d.ts +4 -3
- package/dist/components/shared/markText.d.ts.map +1 -1
- package/dist/components/shared/markText.js +10 -5
- package/dist/components/shared/markText.js.map +1 -1
- 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/dist/main.css +1 -1
- package/dist/types/ExamAnnotations.d.ts +46 -0
- package/dist/types/ExamAnnotations.d.ts.map +1 -0
- package/dist/types/ExamAnnotations.js +2 -0
- package/dist/types/ExamAnnotations.js.map +1 -0
- package/package.json +3 -3
- 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
@@ -0,0 +1,99 @@
|
|
1
|
+
import classNames from 'classnames';
|
2
|
+
import { clamp } from 'lodash-es';
|
3
|
+
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
4
|
+
// eslint-disable-next-line prefer-arrow-callback
|
5
|
+
export const AnnotationImageMark = React.memo(function AnnotationImageMark({ rect: { x1, y1, x2, y2 }, onClickAnnotation, setNewAnnotationRef, annotationId, markNumber, resolved }) {
|
6
|
+
const markRef = useRef(null);
|
7
|
+
const supRef = useRef(null);
|
8
|
+
useEffect(() => {
|
9
|
+
if (markRef.current) {
|
10
|
+
markRef.current.style['inset'] =
|
11
|
+
`${100 * Math.min(y1, y2)}% ${100 * (1 - Math.max(x1, x2))}% ${100 * (1 - Math.max(y1, y2))}% ${100 * Math.min(x1, x2)}%`;
|
12
|
+
}
|
13
|
+
if (supRef.current) {
|
14
|
+
supRef.current.style['left'] = `${100 * Math.max(x1, x2)}%`;
|
15
|
+
supRef.current.style['top'] = `${100 * Math.min(y1, y2)}%`;
|
16
|
+
}
|
17
|
+
}, [x1, y1, x2, y2]);
|
18
|
+
useEffect(() => {
|
19
|
+
if (markRef.current && annotationId === undefined) {
|
20
|
+
setNewAnnotationRef(markRef.current);
|
21
|
+
}
|
22
|
+
}, []);
|
23
|
+
const onMouseDown = useCallback((e) => {
|
24
|
+
if (annotationId) {
|
25
|
+
e.stopPropagation();
|
26
|
+
onClickAnnotation(e, annotationId);
|
27
|
+
}
|
28
|
+
}, [annotationId, onClickAnnotation]);
|
29
|
+
return (React.createElement(React.Fragment, null,
|
30
|
+
React.createElement("mark", { ref: markRef, className: classNames('e-annotation e-annotation--shape', { resolved }), "data-annotation-id": annotationId, "data-hidden": "false", onMouseDown: onMouseDown }),
|
31
|
+
markNumber && React.createElement("sup", { ref: supRef, className: "e-annotation", "data-content": markNumber })));
|
32
|
+
});
|
33
|
+
export function useImageAnnotation(anchor, description, setNewAnnotation) {
|
34
|
+
const elementRef = useRef(null);
|
35
|
+
const [annotationRect, setAnnotationRect] = useState();
|
36
|
+
const annotationRectRef = useRef();
|
37
|
+
useEffect(() => {
|
38
|
+
annotationRectRef.current = annotationRect;
|
39
|
+
}, [annotationRect]);
|
40
|
+
const onMouseMove = useCallback((e) => {
|
41
|
+
const el = elementRef.current;
|
42
|
+
if (el === null) {
|
43
|
+
return;
|
44
|
+
}
|
45
|
+
e.preventDefault();
|
46
|
+
e.stopPropagation();
|
47
|
+
const [x2, y2] = getMousePosition(el, e);
|
48
|
+
setAnnotationRect(rect => {
|
49
|
+
if (rect) {
|
50
|
+
const { x1, y1 } = rect;
|
51
|
+
return { x1, y1, x2, y2 };
|
52
|
+
}
|
53
|
+
return rect;
|
54
|
+
});
|
55
|
+
}, []);
|
56
|
+
const onMouseUp = useCallback((e) => {
|
57
|
+
var _a, _b;
|
58
|
+
const el = elementRef.current;
|
59
|
+
if (el === null) {
|
60
|
+
return;
|
61
|
+
}
|
62
|
+
window.removeEventListener('mouseup', onMouseUp);
|
63
|
+
window.removeEventListener('mousemove', onMouseMove);
|
64
|
+
const displayNumber = (_b = (_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.closest('div[data-annotation-anchor]')) === null || _b === void 0 ? void 0 : _b.getAttribute('data-annotation-anchor');
|
65
|
+
if (!displayNumber || !annotationRectRef.current) {
|
66
|
+
setAnnotationRect(undefined);
|
67
|
+
return;
|
68
|
+
}
|
69
|
+
const { x1, y1 } = annotationRectRef.current;
|
70
|
+
const [x2, y2] = getMousePosition(el, e);
|
71
|
+
setNewAnnotation({
|
72
|
+
annotationType: 'image',
|
73
|
+
displayNumber,
|
74
|
+
annotationAnchor: anchor,
|
75
|
+
rect: { x1, y1, x2, y2 },
|
76
|
+
description
|
77
|
+
});
|
78
|
+
setAnnotationRect(undefined);
|
79
|
+
}, []);
|
80
|
+
const onMouseDown = useCallback((e) => {
|
81
|
+
const el = elementRef.current;
|
82
|
+
if (el === null || e.button !== 0) {
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
e.preventDefault();
|
86
|
+
e.stopPropagation();
|
87
|
+
window.addEventListener('mouseup', onMouseUp);
|
88
|
+
window.addEventListener('mousemove', onMouseMove);
|
89
|
+
const [x1, y1] = getMousePosition(el, e);
|
90
|
+
setAnnotationRect({ x1, y1, x2: x1, y2: y1 });
|
91
|
+
setNewAnnotation(null);
|
92
|
+
}, []);
|
93
|
+
return { elementRef, annotationRect, onMouseDown };
|
94
|
+
}
|
95
|
+
function getMousePosition(el, e) {
|
96
|
+
const bbox = el.getBoundingClientRect();
|
97
|
+
return [clamp((e.clientX - bbox.left) / bbox.width, 0, 1), clamp((e.clientY - bbox.top) / bbox.height, 0, 1)];
|
98
|
+
}
|
99
|
+
//# sourceMappingURL=AnnotationImageMark.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnnotationImageMark.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationImageMark.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGvE,iDAAiD;AACjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,EACzE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EACxB,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACV,QAAQ,EAQT;IACC,MAAM,OAAO,GAAG,MAAM,CAAc,IAAI,CAAC,CAAA;IACzC,MAAM,MAAM,GAAG,MAAM,CAAc,IAAI,CAAC,CAAA;IAExC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CA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ACR,CAAC;QAED,CAAC,CAAC,cAAc,EAAE,CAAA;QAClB,CAAC,CAAC,eAAe,EAAE,CAAA;QAEnB,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;QAC7C,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAA;QAEjD,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;QACxC,iBAAiB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAA;QAC7C,gBAAgB,CAAC,IAAI,CAAC,CAAA;IACxB,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA;AACpD,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAe,EAAE,CAAuC;IAChF,MAAM,IAAI,GAAG,EAAE,CAAC,qBAAqB,EAAE,CAAA;IACvC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AAC/G,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AnnotationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,wBAAgB,eAAe,
|
1
|
+
{"version":3,"file":"AnnotationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,wBAAgB,eAAe,6BAgC9B"}
|
@@ -2,10 +2,13 @@ import React, { useContext } from 'react';
|
|
2
2
|
import { AnnotationContext } from '../context/AnnotationProvider';
|
3
3
|
import { Popup } from './Popup';
|
4
4
|
export function AnnotationPopup() {
|
5
|
-
const
|
6
|
-
if (!
|
5
|
+
const annotationContext = useContext(AnnotationContext);
|
6
|
+
if (!annotationContext.annotationsEnabled ||
|
7
|
+
!annotationContext.newAnnotation ||
|
8
|
+
!annotationContext.newAnnotationRef) {
|
7
9
|
return null;
|
8
10
|
}
|
11
|
+
const { newAnnotation, newAnnotationRef, setNewAnnotation, setNewAnnotationRef, onSaveAnnotation } = annotationContext;
|
9
12
|
return (React.createElement(Popup, { element: newAnnotationRef, initialTextContent: '', onValueSave: async (comment) => {
|
10
13
|
const error = await onSaveAnnotation(newAnnotation, comment);
|
11
14
|
if (!error) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AnnotationPopup.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,UAAU,eAAe;IAC7B,MAAM,
|
1
|
+
{"version":3,"file":"AnnotationPopup.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,UAAU,eAAe;IAC7B,MAAM,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAEvD,IACE,CAAC,iBAAiB,CAAC,kBAAkB;QACrC,CAAC,iBAAiB,CAAC,aAAa;QAChC,CAAC,iBAAiB,CAAC,gBAAgB,EACnC,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAAG,iBAAiB,CAAA;IAEtH,OAAO,CACL,oBAAC,KAAK,IACJ,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,EAAE,EACtB,WAAW,EAAE,KAAK,EAAE,OAAe,EAAE,EAAE;YACrC,MAAM,KAAK,GAAG,MAAM,gBAAgB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;YAC5D,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,gBAAgB,CAAC,IAAI,CAAC,CAAA;gBACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;YAC3B,CAAC;YACD,OAAO,KAAK,CAAA;QACd,CAAC,EACD,YAAY,EAAE,KAAK,EACnB,QAAQ,EAAE,GAAG,EAAE;YACb,gBAAgB,CAAC,IAAI,CAAC,CAAA;YACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;QAC3B,CAAC,GACD,CACH,CAAA;AACH,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
2
|
+
import { AnnotationPart } from '../../types/ExamAnnotations';
|
3
|
+
declare function AnnotationMark({ annotation, onClickAnnotation, setNewAnnotationRef, __html, children }: PropsWithChildren<{
|
4
|
+
annotation: AnnotationPart;
|
5
|
+
onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotationId: number) => void;
|
6
|
+
setNewAnnotationRef: (ref: HTMLElement | null) => void;
|
7
|
+
__html?: string;
|
8
|
+
}>): React.JSX.Element;
|
9
|
+
declare const _default: React.MemoExoticComponent<typeof AnnotationMark>;
|
10
|
+
export default _default;
|
11
|
+
//# sourceMappingURL=AnnotationTextMark.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnnotationTextMark.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationTextMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAG5D,iBAAS,cAAc,CAAC,EACtB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACT,EAAE,iBAAiB,CAAC;IACnB,UAAU,EAAE,cAAc,CAAA;IAC1B,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/F,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC,qBAgCD;;AAED,wBAAyC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
2
|
+
import { isExistingAnnotation } from './markText';
|
3
|
+
function AnnotationMark({ annotation, onClickAnnotation, setNewAnnotationRef, __html, children }) {
|
4
|
+
const markRef = useRef(null);
|
5
|
+
useEffect(() => {
|
6
|
+
if (markRef.current && !isExistingAnnotation(annotation)) {
|
7
|
+
setNewAnnotationRef(markRef.current);
|
8
|
+
}
|
9
|
+
}, []);
|
10
|
+
const dangerouslySetInnerHTML = __html ? { dangerouslySetInnerHTML: { __html } } : {};
|
11
|
+
return (React.createElement(React.Fragment, null,
|
12
|
+
React.createElement("mark", { ref: markRef, className: `e-annotation ${annotation.resolved ? 'resolved' : ''}`, "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "false", "data-annotation-path": annotation.annotationAnchor, onClick: e => {
|
13
|
+
if (isExistingAnnotation(annotation)) {
|
14
|
+
e.stopPropagation();
|
15
|
+
onClickAnnotation(e, annotation.annotationId);
|
16
|
+
}
|
17
|
+
}, ...dangerouslySetInnerHTML }, __html ? null : children),
|
18
|
+
(annotation === null || annotation === void 0 ? void 0 : annotation.markNumber) && React.createElement("sup", { className: "e-annotation", "data-content": annotation === null || annotation === void 0 ? void 0 : annotation.markNumber })));
|
19
|
+
}
|
20
|
+
export default React.memo(AnnotationMark);
|
21
|
+
//# sourceMappingURL=AnnotationTextMark.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AnnotationTextMark.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationTextMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,SAAS,cAAc,CAAC,EACtB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EAMR;IACA,MAAM,OAAO,GAAG,MAAM,CAAc,IAAI,CAAC,CAAA;IAEzC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;YACzD,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACtC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,MAAM,uBAAuB,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAErF,OAAO,CACL;QACE,8BACE,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,gBAAgB,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,wBAC9C,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBACvE,OAAO,0BACG,UAAU,CAAC,gBAAgB,EACjD,OAAO,EAAE,CAAC,CAAC,EAAE;gBACX,IAAI,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;oBACrC,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,CAAC,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;gBAC/C,CAAC;YACH,CAAC,KACG,uBAAuB,IAE1B,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CACpB;QACN,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,KAAI,6BAAK,SAAS,EAAC,cAAc,kBAAe,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,GAAI,CAChG,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import {
|
3
|
-
export declare function
|
4
|
-
export declare function
|
2
|
+
import { AnnotationPart, WithAnnotationId } from '../../types/ExamAnnotations';
|
3
|
+
export declare function getKey(annotation: AnnotationPart): string;
|
4
|
+
export declare function isExistingAnnotation(annotation: AnnotationPart): annotation is WithAnnotationId<AnnotationPart>;
|
5
|
+
export declare function markText(text: string, annotations: AnnotationPart[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotationId: number) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
|
5
6
|
//# sourceMappingURL=markText.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAI9E,wBAAgB,MAAM,CAAC,UAAU,EAAE,cAAc,UAIhD;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,cAAc,GAAG,UAAU,IAAI,gBAAgB,CAAC,cAAc,CAAC,CAE/G;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,cAAc,EAAE,EAC7B,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,EAC/F,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBAgGvD"}
|
@@ -1,8 +1,11 @@
|
|
1
1
|
import * as _ from 'lodash-es';
|
2
2
|
import React from 'react';
|
3
|
-
import
|
4
|
-
|
5
|
-
|
3
|
+
import AnnotationTextMark from './AnnotationTextMark';
|
4
|
+
import HiddenAnnotationMark from './HiddenAnnotationMark';
|
5
|
+
export function getKey(annotation) {
|
6
|
+
return isExistingAnnotation(annotation)
|
7
|
+
? annotation.annotationId + annotation.annotationAnchor
|
8
|
+
: annotation.annotationAnchor;
|
6
9
|
}
|
7
10
|
export function isExistingAnnotation(annotation) {
|
8
11
|
return 'annotationId' in annotation;
|
@@ -20,7 +23,8 @@ export function markText(text, annotations, onClickAnnotation, setNewAnnotationR
|
|
20
23
|
const nodes = [];
|
21
24
|
hiddenAnnotations.forEach(annotation => {
|
22
25
|
const key = getKey(annotation);
|
23
|
-
|
26
|
+
const annotationId = isExistingAnnotation(annotation) ? annotation.annotationId : null;
|
27
|
+
nodes.push(React.createElement(HiddenAnnotationMark, { key: key, annotationId: annotationId }));
|
24
28
|
});
|
25
29
|
let lastIndex = 0;
|
26
30
|
const onlyLeadingSpacesRemoved = text.replace(/^\s+/, ' ');
|
@@ -62,7 +66,8 @@ export function markText(text, annotations, onClickAnnotation, setNewAnnotationR
|
|
62
66
|
}
|
63
67
|
// Add marked text
|
64
68
|
const key = getKey(annotation);
|
65
|
-
|
69
|
+
const annotationId = isExistingAnnotation(annotation) ? annotation.annotationId : null;
|
70
|
+
nodes.push(annotation.hidden ? (React.createElement(HiddenAnnotationMark, { key: key, annotationId: annotationId })) : (React.createElement(AnnotationTextMark, { key: key, annotation: annotation, onClickAnnotation: onClickAnnotation, setNewAnnotationRef: setNewAnnotationRef }, annotatedTextWithCorrectedStartIndex)));
|
66
71
|
lastIndex = correctStartIndex + annotation.length;
|
67
72
|
}
|
68
73
|
// Add remaining unmarked text
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"markText.js","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,
|
1
|
+
{"version":3,"file":"markText.js","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AAEzD,MAAM,UAAU,MAAM,CAAC,UAA0B;IAC/C,OAAO,oBAAoB,CAAC,UAAU,CAAC;QACrC,CAAC,CAAC,UAAU,CAAC,YAAY,GAAG,UAAU,CAAC,gBAAgB;QACvD,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAA;AACjC,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,UAA0B;IAC7D,OAAO,cAAc,IAAI,UAAU,CAAA;AACrC,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EA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BAAiB,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;QAEtG,qCAAqC;QACrC,IAAI,iBAAiB,GAAG,SAAS,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAA;QAC1D,CAAC;QAED,kBAAkB;QAClB,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;QAC9B,MAAM,YAAY,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAA;QACtF,KAAK,CAAC,IAAI,CACR,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAClB,oBAAC,oBAAoB,IAAC,GAAG,EAAE,GAAG,EAAE,YAAY,EAAE,YAAY,GAAI,CAC/D,CAAC,CAAC,CAAC,CACF,oBAAC,kBAAkB,IACjB,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,IAEvC,oCAAoC,CAClB,CACtB,CACF,CAAA;QAED,SAAS,GAAG,iBAAiB,GAAG,UAAU,CAAC,MAAM,CAAA;IACnD,CAAC;IAED,8BAA8B;IAC9B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAA;IACrC,OAAO,KAAK,CAAA;AACd,CAAC"}
|
@@ -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
|
@@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rC,mBAAmB,EAAE,cAAc;CACpC,CAAA"}
|
@@ -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
|
+
}
|