@digabi/exam-engine-core 23.7.0 → 23.7.1-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 +28 -60
- 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/exam/Exam.test.js +1 -1
- package/dist/__tests__/playwright/exam/Exam.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/exam/Exam.story.d.ts +2 -2
- package/dist/__tests__/playwright/stories/exam/Exam.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/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/exam/ExamineExam.d.ts +5 -0
- package/dist/components/exam/ExamineExam.d.ts.map +1 -0
- package/dist/components/exam/ExamineExam.js +20 -0
- package/dist/components/exam/ExamineExam.js.map +1 -0
- package/dist/components/grading/examAnnotationUtils.d.ts +1 -2
- package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
- package/dist/components/grading/examAnnotationUtils.js +10 -29
- package/dist/components/grading/examAnnotationUtils.js.map +1 -1
- 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/AnnotationPopup.d.ts.map +1 -1
- package/dist/components/shared/AnnotationPopup.js +2 -5
- package/dist/components/shared/AnnotationPopup.js.map +1 -1
- package/dist/components/shared/markText.d.ts +3 -4
- package/dist/components/shared/markText.d.ts.map +1 -1
- package/dist/components/shared/markText.js +5 -10
- package/dist/components/shared/markText.js.map +1 -1
- package/dist/main-bundle.js +8 -8
- package/dist/src/components/AnswerToolbar.d.ts +18 -0
- package/dist/src/components/AnswerToolbar.d.ts.map +1 -0
- package/dist/src/components/AnswerToolbar.js +36 -0
- package/dist/src/components/AnswerToolbar.js.map +1 -0
- package/dist/src/components/AnsweringInstructions.d.ts +12 -0
- package/dist/src/components/AnsweringInstructions.d.ts.map +1 -0
- package/dist/src/components/AnsweringInstructions.js +24 -0
- package/dist/src/components/AnsweringInstructions.js.map +1 -0
- package/dist/src/components/DocumentTitle.d.ts +5 -0
- package/dist/src/components/DocumentTitle.d.ts.map +1 -0
- package/dist/src/components/DocumentTitle.js +13 -0
- package/dist/src/components/DocumentTitle.js.map +1 -0
- package/dist/src/components/NotificationIcon.d.ts +4 -0
- package/dist/src/components/NotificationIcon.d.ts.map +1 -0
- package/dist/src/components/NotificationIcon.js +6 -0
- package/dist/src/components/NotificationIcon.js.map +1 -0
- package/dist/src/components/RenderChildNodes.d.ts +5 -0
- package/dist/src/components/RenderChildNodes.d.ts.map +1 -0
- package/dist/src/components/RenderChildNodes.js +7 -0
- package/dist/src/components/RenderChildNodes.js.map +1 -0
- package/dist/src/components/RenderExamElements.d.ts +6 -0
- package/dist/src/components/RenderExamElements.d.ts.map +1 -0
- package/dist/src/components/RenderExamElements.js +6 -0
- package/dist/src/components/RenderExamElements.js.map +1 -0
- package/dist/src/components/RenderIf.d.ts +4 -0
- package/dist/src/components/RenderIf.d.ts.map +1 -0
- package/dist/src/components/RenderIf.js +8 -0
- package/dist/src/components/RenderIf.js.map +1 -0
- package/dist/src/components/ScreenReaderOnly.d.ts +5 -0
- package/dist/src/components/ScreenReaderOnly.d.ts.map +1 -0
- package/dist/src/components/ScreenReaderOnly.js +3 -0
- package/dist/src/components/ScreenReaderOnly.js.map +1 -0
- package/dist/src/components/SectionElement.d.ts +4 -0
- package/dist/src/components/SectionElement.d.ts.map +1 -0
- package/dist/src/components/SectionElement.js +8 -0
- package/dist/src/components/SectionElement.js.map +1 -0
- package/dist/src/components/attachments/Attachment.d.ts +4 -0
- package/dist/src/components/attachments/Attachment.d.ts.map +1 -0
- package/dist/src/components/attachments/Attachment.js +8 -0
- package/dist/src/components/attachments/Attachment.js.map +1 -0
- package/dist/src/components/attachments/AttachmentTitle.d.ts +6 -0
- package/dist/src/components/attachments/AttachmentTitle.d.ts.map +1 -0
- package/dist/src/components/attachments/AttachmentTitle.js +12 -0
- package/dist/src/components/attachments/AttachmentTitle.js.map +1 -0
- package/dist/src/components/attachments/Attachments.d.ts +5 -0
- package/dist/src/components/attachments/Attachments.d.ts.map +1 -0
- package/dist/src/components/attachments/Attachments.js +55 -0
- package/dist/src/components/attachments/Attachments.js.map +1 -0
- package/dist/src/components/attachments/ExternalMaterial.d.ts +9 -0
- package/dist/src/components/attachments/ExternalMaterial.d.ts.map +1 -0
- package/dist/src/components/attachments/ExternalMaterial.js +46 -0
- package/dist/src/components/attachments/ExternalMaterial.js.map +1 -0
- package/dist/src/components/attachments/Question.d.ts +4 -0
- package/dist/src/components/attachments/Question.d.ts.map +1 -0
- package/dist/src/components/attachments/Question.js +16 -0
- package/dist/src/components/attachments/Question.js.map +1 -0
- package/dist/src/components/attachments/QuestionTitle.d.ts +6 -0
- package/dist/src/components/attachments/QuestionTitle.d.ts.map +1 -0
- package/dist/src/components/attachments/QuestionTitle.js +15 -0
- package/dist/src/components/attachments/QuestionTitle.js.map +1 -0
- package/dist/src/components/context/AnnotationProvider.d.ts +16 -0
- package/dist/src/components/context/AnnotationProvider.d.ts.map +1 -0
- package/dist/src/components/context/AnnotationProvider.js +35 -0
- package/dist/src/components/context/AnnotationProvider.js.map +1 -0
- package/dist/src/components/context/AttachmentContext.d.ts +13 -0
- package/dist/src/components/context/AttachmentContext.d.ts.map +1 -0
- package/dist/src/components/context/AttachmentContext.js +12 -0
- package/dist/src/components/context/AttachmentContext.js.map +1 -0
- package/dist/src/components/context/CommonExamContext.d.ts +22 -0
- package/dist/src/components/context/CommonExamContext.d.ts.map +1 -0
- package/dist/src/components/context/CommonExamContext.js +28 -0
- package/dist/src/components/context/CommonExamContext.js.map +1 -0
- package/dist/src/components/context/ExamContext.d.ts +9 -0
- package/dist/src/components/context/ExamContext.d.ts.map +1 -0
- package/dist/src/components/context/ExamContext.js +11 -0
- package/dist/src/components/context/ExamContext.js.map +1 -0
- package/dist/src/components/context/IsInSidebarContext.d.ts +6 -0
- package/dist/src/components/context/IsInSidebarContext.d.ts.map +1 -0
- package/dist/src/components/context/IsInSidebarContext.js +3 -0
- package/dist/src/components/context/IsInSidebarContext.js.map +1 -0
- package/dist/src/components/context/QuestionContext.d.ts +14 -0
- package/dist/src/components/context/QuestionContext.d.ts.map +1 -0
- package/dist/src/components/context/QuestionContext.js +27 -0
- package/dist/src/components/context/QuestionContext.js.map +1 -0
- package/dist/src/components/context/ResultsContext.d.ts +17 -0
- package/dist/src/components/context/ResultsContext.d.ts.map +1 -0
- package/dist/src/components/context/ResultsContext.js +69 -0
- package/dist/src/components/context/ResultsContext.js.map +1 -0
- package/dist/src/components/context/SectionContext.d.ts +12 -0
- package/dist/src/components/context/SectionContext.d.ts.map +1 -0
- package/dist/src/components/context/SectionContext.js +21 -0
- package/dist/src/components/context/SectionContext.js.map +1 -0
- package/dist/src/components/context/TOCContext.d.ts +7 -0
- package/dist/src/components/context/TOCContext.d.ts.map +1 -0
- package/dist/src/components/context/TOCContext.js +3 -0
- package/dist/src/components/context/TOCContext.js.map +1 -0
- package/dist/src/components/context/withContext.d.ts +3 -0
- package/dist/src/components/context/withContext.d.ts.map +1 -0
- package/dist/src/components/context/withContext.js +12 -0
- package/dist/src/components/context/withContext.js.map +1 -0
- package/dist/src/components/exam/Attachment.d.ts +4 -0
- package/dist/src/components/exam/Attachment.d.ts.map +1 -0
- package/dist/src/components/exam/Attachment.js +8 -0
- package/dist/src/components/exam/Attachment.js.map +1 -0
- package/dist/src/components/exam/ChoiceAnswer.d.ts +5 -0
- package/dist/src/components/exam/ChoiceAnswer.d.ts.map +1 -0
- package/dist/src/components/exam/ChoiceAnswer.js +53 -0
- package/dist/src/components/exam/ChoiceAnswer.js.map +1 -0
- package/dist/src/components/exam/DropdownAnswer.d.ts +5 -0
- package/dist/src/components/exam/DropdownAnswer.d.ts.map +1 -0
- package/dist/src/components/exam/DropdownAnswer.js +101 -0
- package/dist/src/components/exam/DropdownAnswer.js.map +1 -0
- package/dist/src/components/exam/Exam.d.ts +48 -0
- package/dist/src/components/exam/Exam.d.ts.map +1 -0
- package/dist/src/components/exam/Exam.js +195 -0
- package/dist/src/components/exam/Exam.js.map +1 -0
- package/dist/src/components/exam/ExamFooter.d.ts +6 -0
- package/dist/src/components/exam/ExamFooter.d.ts.map +1 -0
- package/dist/src/components/exam/ExamFooter.js +6 -0
- package/dist/src/components/exam/ExamFooter.js.map +1 -0
- package/dist/src/components/exam/ExamInstruction.d.ts +6 -0
- package/dist/src/components/exam/ExamInstruction.d.ts.map +1 -0
- package/dist/src/components/exam/ExamInstruction.js +6 -0
- package/dist/src/components/exam/ExamInstruction.js.map +1 -0
- package/dist/src/components/exam/ExternalMaterial.d.ts +10 -0
- package/dist/src/components/exam/ExternalMaterial.d.ts.map +1 -0
- package/dist/src/components/exam/ExternalMaterial.js +33 -0
- package/dist/src/components/exam/ExternalMaterial.js.map +1 -0
- package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +5 -0
- package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +1 -0
- package/dist/src/components/exam/GoToExamineAnswersButton.js +18 -0
- package/dist/src/components/exam/GoToExamineAnswersButton.js.map +1 -0
- package/dist/src/components/exam/Hints.d.ts +5 -0
- package/dist/src/components/exam/Hints.d.ts.map +1 -0
- package/dist/src/components/exam/Hints.js +31 -0
- package/dist/src/components/exam/Hints.js.map +1 -0
- package/dist/src/components/exam/Question.d.ts +8 -0
- package/dist/src/components/exam/Question.d.ts.map +1 -0
- package/dist/src/components/exam/Question.js +75 -0
- package/dist/src/components/exam/Question.js.map +1 -0
- package/dist/src/components/exam/QuestionInstruction.d.ts +6 -0
- package/dist/src/components/exam/QuestionInstruction.d.ts.map +1 -0
- package/dist/src/components/exam/QuestionInstruction.js +8 -0
- package/dist/src/components/exam/QuestionInstruction.js.map +1 -0
- package/dist/src/components/exam/QuestionTitle.d.ts +5 -0
- package/dist/src/components/exam/QuestionTitle.d.ts.map +1 -0
- package/dist/src/components/exam/QuestionTitle.js +26 -0
- package/dist/src/components/exam/QuestionTitle.js.map +1 -0
- package/dist/src/components/exam/RichTextAnswer.d.ts +41 -0
- package/dist/src/components/exam/RichTextAnswer.d.ts.map +1 -0
- package/dist/src/components/exam/RichTextAnswer.js +79 -0
- package/dist/src/components/exam/RichTextAnswer.js.map +1 -0
- package/dist/src/components/exam/Section.d.ts +4 -0
- package/dist/src/components/exam/Section.d.ts.map +1 -0
- package/dist/src/components/exam/Section.js +49 -0
- package/dist/src/components/exam/Section.js.map +1 -0
- package/dist/src/components/exam/SectionInstruction.d.ts +6 -0
- package/dist/src/components/exam/SectionInstruction.d.ts.map +1 -0
- package/dist/src/components/exam/SectionInstruction.js +6 -0
- package/dist/src/components/exam/SectionInstruction.js.map +1 -0
- package/dist/src/components/exam/SectionTitle.d.ts +6 -0
- package/dist/src/components/exam/SectionTitle.d.ts.map +1 -0
- package/dist/src/components/exam/SectionTitle.js +30 -0
- package/dist/src/components/exam/SectionTitle.js.map +1 -0
- package/dist/src/components/exam/StudentNameHeader.d.ts +8 -0
- package/dist/src/components/exam/StudentNameHeader.d.ts.map +1 -0
- package/dist/src/components/exam/StudentNameHeader.js +3 -0
- package/dist/src/components/exam/StudentNameHeader.js.map +1 -0
- package/dist/src/components/exam/TextAnswer.d.ts +6 -0
- package/dist/src/components/exam/TextAnswer.d.ts.map +1 -0
- package/dist/src/components/exam/TextAnswer.js +20 -0
- package/dist/src/components/exam/TextAnswer.js.map +1 -0
- package/dist/src/components/exam/UndoHistoryEntry.d.ts +19 -0
- package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +1 -0
- package/dist/src/components/exam/UndoHistoryEntry.js +39 -0
- package/dist/src/components/exam/UndoHistoryEntry.js.map +1 -0
- package/dist/src/components/exam/UndoView.d.ts +35 -0
- package/dist/src/components/exam/UndoView.d.ts.map +1 -0
- package/dist/src/components/exam/UndoView.js +162 -0
- package/dist/src/components/exam/UndoView.js.map +1 -0
- package/dist/src/components/exam/internal/ErrorIndicator.d.ts +9 -0
- package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +1 -0
- package/dist/src/components/exam/internal/ErrorIndicator.js +63 -0
- package/dist/src/components/exam/internal/ErrorIndicator.js.map +1 -0
- package/dist/src/components/exam/internal/ProgressBar.d.ts +8 -0
- package/dist/src/components/exam/internal/ProgressBar.d.ts.map +1 -0
- package/dist/src/components/exam/internal/ProgressBar.js +19 -0
- package/dist/src/components/exam/internal/ProgressBar.js.map +1 -0
- package/dist/src/components/exam/internal/SaveIndicator.d.ts +5 -0
- package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +1 -0
- package/dist/src/components/exam/internal/SaveIndicator.js +16 -0
- package/dist/src/components/exam/internal/SaveIndicator.js.map +1 -0
- package/dist/src/components/exam/internal/TextAnswerInput.d.ts +6 -0
- package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +1 -0
- package/dist/src/components/exam/internal/TextAnswerInput.js +128 -0
- package/dist/src/components/exam/internal/TextAnswerInput.js.map +1 -0
- package/dist/src/components/grading/AnswerCharacterCounter.d.ts +6 -0
- package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +1 -0
- package/dist/src/components/grading/AnswerCharacterCounter.js +21 -0
- package/dist/src/components/grading/AnswerCharacterCounter.js.map +1 -0
- package/dist/src/components/grading/GradingAnswer.d.ts +24 -0
- package/dist/src/components/grading/GradingAnswer.d.ts.map +1 -0
- package/dist/src/components/grading/GradingAnswer.js +306 -0
- package/dist/src/components/grading/GradingAnswer.js.map +1 -0
- package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +9 -0
- package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +1 -0
- package/dist/src/components/grading/GradingAnswerAnnotationList.js +19 -0
- package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +1 -0
- package/dist/src/components/grading/editAnnotations.d.ts +29 -0
- package/dist/src/components/grading/editAnnotations.d.ts.map +1 -0
- package/dist/src/components/grading/editAnnotations.js +190 -0
- package/dist/src/components/grading/editAnnotations.js.map +1 -0
- package/dist/src/components/grading/examAnnotationUtils.d.ts +3 -0
- package/dist/src/components/grading/examAnnotationUtils.d.ts.map +1 -0
- package/dist/src/components/grading/examAnnotationUtils.js +44 -0
- package/dist/src/components/grading/examAnnotationUtils.js.map +1 -0
- package/dist/src/components/grading/largeImageDetector.d.ts +3 -0
- package/dist/src/components/grading/largeImageDetector.d.ts.map +1 -0
- package/dist/src/components/grading/largeImageDetector.js +45 -0
- package/dist/src/components/grading/largeImageDetector.js.map +1 -0
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +5 -0
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +4 -0
- package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +1 -0
- package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +5 -0
- package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/AutogradedAnswer.js +34 -0
- package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +1 -0
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +5 -0
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +17 -0
- package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +1 -0
- package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +5 -0
- package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/ExamGradingInstruction.js +4 -0
- package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +1 -0
- package/dist/src/components/grading-instructions/GradingInstructions.d.ts +6 -0
- package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/GradingInstructions.js +109 -0
- package/dist/src/components/grading-instructions/GradingInstructions.js.map +1 -0
- package/dist/src/components/grading-instructions/Question.d.ts +4 -0
- package/dist/src/components/grading-instructions/Question.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/Question.js +14 -0
- package/dist/src/components/grading-instructions/Question.js.map +1 -0
- package/dist/src/components/grading-instructions/QuestionTitle.d.ts +5 -0
- package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/QuestionTitle.js +19 -0
- package/dist/src/components/grading-instructions/QuestionTitle.js.map +1 -0
- package/dist/src/components/grading-instructions/Recording.d.ts +5 -0
- package/dist/src/components/grading-instructions/Recording.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/Recording.js +19 -0
- package/dist/src/components/grading-instructions/Recording.js.map +1 -0
- package/dist/src/components/grading-instructions/Section.d.ts +4 -0
- package/dist/src/components/grading-instructions/Section.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/Section.js +10 -0
- package/dist/src/components/grading-instructions/Section.js.map +1 -0
- package/dist/src/components/grading-instructions/SectionTitle.d.ts +5 -0
- package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +1 -0
- package/dist/src/components/grading-instructions/SectionTitle.js +16 -0
- package/dist/src/components/grading-instructions/SectionTitle.js.map +1 -0
- package/dist/src/components/results/ChoiceAnswer.d.ts +6 -0
- package/dist/src/components/results/ChoiceAnswer.d.ts.map +1 -0
- package/dist/src/components/results/ChoiceAnswer.js +57 -0
- package/dist/src/components/results/ChoiceAnswer.js.map +1 -0
- package/dist/src/components/results/DropdownAnswer.d.ts +6 -0
- package/dist/src/components/results/DropdownAnswer.d.ts.map +1 -0
- package/dist/src/components/results/DropdownAnswer.js +43 -0
- package/dist/src/components/results/DropdownAnswer.js.map +1 -0
- package/dist/src/components/results/EndExamSession.d.ts +8 -0
- package/dist/src/components/results/EndExamSession.d.ts.map +1 -0
- package/dist/src/components/results/EndExamSession.js +20 -0
- package/dist/src/components/results/EndExamSession.js.map +1 -0
- package/dist/src/components/results/MultiLineAnswer.d.ts +8 -0
- package/dist/src/components/results/MultiLineAnswer.d.ts.map +1 -0
- package/dist/src/components/results/MultiLineAnswer.js +22 -0
- package/dist/src/components/results/MultiLineAnswer.js.map +1 -0
- package/dist/src/components/results/Question.d.ts +4 -0
- package/dist/src/components/results/Question.d.ts.map +1 -0
- package/dist/src/components/results/Question.js +31 -0
- package/dist/src/components/results/Question.js.map +1 -0
- package/dist/src/components/results/QuestionTitle.d.ts +6 -0
- package/dist/src/components/results/QuestionTitle.d.ts.map +1 -0
- package/dist/src/components/results/QuestionTitle.js +26 -0
- package/dist/src/components/results/QuestionTitle.js.map +1 -0
- package/dist/src/components/results/Results.d.ts +19 -0
- package/dist/src/components/results/Results.d.ts.map +1 -0
- package/dist/src/components/results/Results.js +136 -0
- package/dist/src/components/results/Results.js.map +1 -0
- package/dist/src/components/results/ScoredTextAnswer.d.ts +6 -0
- package/dist/src/components/results/ScoredTextAnswer.d.ts.map +1 -0
- package/dist/src/components/results/ScoredTextAnswer.js +22 -0
- package/dist/src/components/results/ScoredTextAnswer.js.map +1 -0
- package/dist/src/components/results/Section.d.ts +4 -0
- package/dist/src/components/results/Section.d.ts.map +1 -0
- package/dist/src/components/results/Section.js +11 -0
- package/dist/src/components/results/Section.js.map +1 -0
- package/dist/src/components/results/SingleLineAnswer.d.ts +12 -0
- package/dist/src/components/results/SingleLineAnswer.d.ts.map +1 -0
- package/dist/src/components/results/SingleLineAnswer.js +26 -0
- package/dist/src/components/results/SingleLineAnswer.js.map +1 -0
- package/dist/src/components/results/TextAnswer.d.ts +7 -0
- package/dist/src/components/results/TextAnswer.d.ts.map +1 -0
- package/dist/src/components/results/TextAnswer.js +48 -0
- package/dist/src/components/results/TextAnswer.js.map +1 -0
- package/dist/src/components/results/internal/AnnotationList.d.ts +5 -0
- package/dist/src/components/results/internal/AnnotationList.d.ts.map +1 -0
- package/dist/src/components/results/internal/AnnotationList.js +32 -0
- package/dist/src/components/results/internal/AnnotationList.js.map +1 -0
- package/dist/src/components/results/internal/QuestionAutoScore.d.ts +11 -0
- package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +1 -0
- package/dist/src/components/results/internal/QuestionAutoScore.js +17 -0
- package/dist/src/components/results/internal/QuestionAutoScore.js.map +1 -0
- package/dist/src/components/results/internal/QuestionManualScore.d.ts +13 -0
- package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +1 -0
- package/dist/src/components/results/internal/QuestionManualScore.js +66 -0
- package/dist/src/components/results/internal/QuestionManualScore.js.map +1 -0
- package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +11 -0
- package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +1 -0
- package/dist/src/components/results/internal/QuestionScoresContainer.js +27 -0
- package/dist/src/components/results/internal/QuestionScoresContainer.js.map +1 -0
- package/dist/src/components/results/isExamineExamPageHook.d.ts +2 -0
- package/dist/src/components/results/isExamineExamPageHook.d.ts.map +1 -0
- package/dist/src/components/results/isExamineExamPageHook.js +7 -0
- package/dist/src/components/results/isExamineExamPageHook.js.map +1 -0
- package/dist/src/components/shared/AnnotatableText.d.ts +5 -0
- package/dist/src/components/shared/AnnotatableText.d.ts.map +1 -0
- package/dist/src/components/shared/AnnotatableText.js +73 -0
- package/dist/src/components/shared/AnnotatableText.js.map +1 -0
- package/dist/src/components/shared/AnnotationLists.d.ts +13 -0
- package/dist/src/components/shared/AnnotationLists.d.ts.map +1 -0
- package/dist/src/components/shared/AnnotationLists.js +17 -0
- package/dist/src/components/shared/AnnotationLists.js.map +1 -0
- package/dist/src/components/shared/AnnotationPopup.d.ts +3 -0
- package/dist/src/components/shared/AnnotationPopup.d.ts.map +1 -0
- package/dist/src/components/shared/AnnotationPopup.js +74 -0
- package/dist/src/components/shared/AnnotationPopup.js.map +1 -0
- package/dist/src/components/shared/AnswerIndicator.d.ts +12 -0
- package/dist/src/components/shared/AnswerIndicator.d.ts.map +1 -0
- package/dist/src/components/shared/AnswerIndicator.js +27 -0
- package/dist/src/components/shared/AnswerIndicator.js.map +1 -0
- package/dist/src/components/shared/AnswerLengthInfo.d.ts +7 -0
- package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +1 -0
- package/dist/src/components/shared/AnswerLengthInfo.js +11 -0
- package/dist/src/components/shared/AnswerLengthInfo.js.map +1 -0
- package/dist/src/components/shared/AttachmentLink.d.ts +5 -0
- package/dist/src/components/shared/AttachmentLink.d.ts.map +1 -0
- package/dist/src/components/shared/AttachmentLink.js +28 -0
- package/dist/src/components/shared/AttachmentLink.js.map +1 -0
- package/dist/src/components/shared/AttachmentLinks.d.ts +5 -0
- package/dist/src/components/shared/AttachmentLinks.d.ts.map +1 -0
- package/dist/src/components/shared/AttachmentLinks.js +58 -0
- package/dist/src/components/shared/AttachmentLinks.js.map +1 -0
- package/dist/src/components/shared/Audio.d.ts +6 -0
- package/dist/src/components/shared/Audio.d.ts.map +1 -0
- package/dist/src/components/shared/Audio.js +31 -0
- package/dist/src/components/shared/Audio.js.map +1 -0
- package/dist/src/components/shared/AudioGroup.d.ts +6 -0
- package/dist/src/components/shared/AudioGroup.d.ts.map +1 -0
- package/dist/src/components/shared/AudioGroup.js +9 -0
- package/dist/src/components/shared/AudioGroup.js.map +1 -0
- package/dist/src/components/shared/AudioTest.d.ts +6 -0
- package/dist/src/components/shared/AudioTest.d.ts.map +1 -0
- package/dist/src/components/shared/AudioTest.js +34 -0
- package/dist/src/components/shared/AudioTest.js.map +1 -0
- package/dist/src/components/shared/ExamTranslation.d.ts +6 -0
- package/dist/src/components/shared/ExamTranslation.d.ts.map +1 -0
- package/dist/src/components/shared/ExamTranslation.js +9 -0
- package/dist/src/components/shared/ExamTranslation.js.map +1 -0
- package/dist/src/components/shared/File.d.ts +6 -0
- package/dist/src/components/shared/File.d.ts.map +1 -0
- package/dist/src/components/shared/File.js +15 -0
- package/dist/src/components/shared/File.js.map +1 -0
- package/dist/src/components/shared/Footer.d.ts +5 -0
- package/dist/src/components/shared/Footer.d.ts.map +1 -0
- package/dist/src/components/shared/Footer.js +3 -0
- package/dist/src/components/shared/Footer.js.map +1 -0
- package/dist/src/components/shared/Formula.d.ts +6 -0
- package/dist/src/components/shared/Formula.d.ts.map +1 -0
- package/dist/src/components/shared/Formula.js +13 -0
- package/dist/src/components/shared/Formula.js.map +1 -0
- package/dist/src/components/shared/Image.d.ts +6 -0
- package/dist/src/components/shared/Image.d.ts.map +1 -0
- package/dist/src/components/shared/Image.js +30 -0
- package/dist/src/components/shared/Image.js.map +1 -0
- package/dist/src/components/shared/ImageOverlay.d.ts +6 -0
- package/dist/src/components/shared/ImageOverlay.d.ts.map +1 -0
- package/dist/src/components/shared/ImageOverlay.js +43 -0
- package/dist/src/components/shared/ImageOverlay.js.map +1 -0
- package/dist/src/components/shared/QuestionNumber.d.ts +4 -0
- package/dist/src/components/shared/QuestionNumber.d.ts.map +1 -0
- package/dist/src/components/shared/QuestionNumber.js +12 -0
- package/dist/src/components/shared/QuestionNumber.js.map +1 -0
- package/dist/src/components/shared/Reference.d.ts +6 -0
- package/dist/src/components/shared/Reference.d.ts.map +1 -0
- package/dist/src/components/shared/Reference.js +72 -0
- package/dist/src/components/shared/Reference.js.map +1 -0
- package/dist/src/components/shared/References.d.ts +6 -0
- package/dist/src/components/shared/References.d.ts.map +1 -0
- package/dist/src/components/shared/References.js +26 -0
- package/dist/src/components/shared/References.js.map +1 -0
- package/dist/src/components/shared/Score.d.ts +8 -0
- package/dist/src/components/shared/Score.d.ts.map +1 -0
- package/dist/src/components/shared/Score.js +13 -0
- package/dist/src/components/shared/Score.js.map +1 -0
- package/dist/src/components/shared/TOCQuestion.d.ts +4 -0
- package/dist/src/components/shared/TOCQuestion.d.ts.map +1 -0
- package/dist/src/components/shared/TOCQuestion.js +77 -0
- package/dist/src/components/shared/TOCQuestion.js.map +1 -0
- package/dist/src/components/shared/TOCSection.d.ts +7 -0
- package/dist/src/components/shared/TOCSection.d.ts.map +1 -0
- package/dist/src/components/shared/TOCSection.js +15 -0
- package/dist/src/components/shared/TOCSection.js.map +1 -0
- package/dist/src/components/shared/TOCSectionTitle.d.ts +4 -0
- package/dist/src/components/shared/TOCSectionTitle.d.ts.map +1 -0
- package/dist/src/components/shared/TOCSectionTitle.js +34 -0
- package/dist/src/components/shared/TOCSectionTitle.js.map +1 -0
- package/dist/src/components/shared/TableOfContents.d.ts +8 -0
- package/dist/src/components/shared/TableOfContents.d.ts.map +1 -0
- package/dist/src/components/shared/TableOfContents.js +61 -0
- package/dist/src/components/shared/TableOfContents.js.map +1 -0
- package/dist/src/components/shared/VersionNumber.d.ts +3 -0
- package/dist/src/components/shared/VersionNumber.d.ts.map +1 -0
- package/dist/src/components/shared/VersionNumber.js +10 -0
- package/dist/src/components/shared/VersionNumber.js.map +1 -0
- package/dist/src/components/shared/Video.d.ts +6 -0
- package/dist/src/components/shared/Video.d.ts.map +1 -0
- package/dist/src/components/shared/Video.js +22 -0
- package/dist/src/components/shared/Video.js.map +1 -0
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +8 -0
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +1 -0
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +4 -0
- package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +1 -0
- package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +8 -0
- package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +1 -0
- package/dist/src/components/shared/internal/AudioPlaybackError.js +17 -0
- package/dist/src/components/shared/internal/AudioPlaybackError.js.map +1 -0
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +18 -0
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +1 -0
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +21 -0
- package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +1 -0
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +12 -0
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -0
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +46 -0
- package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +1 -0
- package/dist/src/components/surround.d.ts +8 -0
- package/dist/src/components/surround.d.ts.map +1 -0
- package/dist/src/components/surround.js +19 -0
- package/dist/src/components/surround.js.map +1 -0
- package/dist/src/createRenderChildNodes.d.ts +17 -0
- package/dist/src/createRenderChildNodes.d.ts.map +1 -0
- package/dist/src/createRenderChildNodes.js +64 -0
- package/dist/src/createRenderChildNodes.js.map +1 -0
- package/dist/src/dom-utils.d.ts +20 -0
- package/dist/src/dom-utils.d.ts.map +1 -0
- package/dist/src/dom-utils.js +164 -0
- package/dist/src/dom-utils.js.map +1 -0
- package/dist/src/fonts.d.ts +5 -0
- package/dist/src/fonts.d.ts.map +1 -0
- package/dist/src/fonts.js +16 -0
- package/dist/src/fonts.js.map +1 -0
- package/dist/src/formatting.d.ts +2 -0
- package/dist/src/formatting.d.ts.map +1 -0
- package/dist/src/formatting.js +4 -0
- package/dist/src/formatting.js.map +1 -0
- package/dist/src/getDisplayName.d.ts +4 -0
- package/dist/src/getDisplayName.d.ts.map +1 -0
- package/dist/src/getDisplayName.js +5 -0
- package/dist/src/getDisplayName.js.map +1 -0
- package/dist/src/i18n/A_E.d.ts +3 -0
- package/dist/src/i18n/A_E.d.ts.map +1 -0
- package/dist/src/i18n/A_E.js +8 -0
- package/dist/src/i18n/A_E.js.map +1 -0
- package/dist/src/i18n/BA.d.ts +3 -0
- package/dist/src/i18n/BA.d.ts.map +1 -0
- package/dist/src/i18n/BA.js +11 -0
- package/dist/src/i18n/BA.js.map +1 -0
- package/dist/src/i18n/CA.d.ts +3 -0
- package/dist/src/i18n/CA.d.ts.map +1 -0
- package/dist/src/i18n/CA.js +11 -0
- package/dist/src/i18n/CA.js.map +1 -0
- package/dist/src/i18n/EA.d.ts +3 -0
- package/dist/src/i18n/EA.d.ts.map +1 -0
- package/dist/src/i18n/EA.js +16 -0
- package/dist/src/i18n/EA.js.map +1 -0
- package/dist/src/i18n/FA.d.ts +3 -0
- package/dist/src/i18n/FA.d.ts.map +1 -0
- package/dist/src/i18n/FA.js +17 -0
- package/dist/src/i18n/FA.js.map +1 -0
- package/dist/src/i18n/GC.d.ts +3 -0
- package/dist/src/i18n/GC.d.ts.map +1 -0
- package/dist/src/i18n/GC.js +16 -0
- package/dist/src/i18n/GC.js.map +1 -0
- package/dist/src/i18n/I.d.ts +3 -0
- package/dist/src/i18n/I.d.ts.map +1 -0
- package/dist/src/i18n/I.js +21 -0
- package/dist/src/i18n/I.js.map +1 -0
- package/dist/src/i18n/M.d.ts +3 -0
- package/dist/src/i18n/M.d.ts.map +1 -0
- package/dist/src/i18n/M.js +4 -0
- package/dist/src/i18n/M.js.map +1 -0
- package/dist/src/i18n/O_E.d.ts +3 -0
- package/dist/src/i18n/O_E.d.ts.map +1 -0
- package/dist/src/i18n/O_E.js +7 -0
- package/dist/src/i18n/O_E.js.map +1 -0
- package/dist/src/i18n/PA.d.ts +3 -0
- package/dist/src/i18n/PA.d.ts.map +1 -0
- package/dist/src/i18n/PA.js +16 -0
- package/dist/src/i18n/PA.js.map +1 -0
- package/dist/src/i18n/SA.d.ts +3 -0
- package/dist/src/i18n/SA.d.ts.map +1 -0
- package/dist/src/i18n/SA.js +16 -0
- package/dist/src/i18n/SA.js.map +1 -0
- package/dist/src/i18n/TC.d.ts +3 -0
- package/dist/src/i18n/TC.d.ts.map +1 -0
- package/dist/src/i18n/TC.js +16 -0
- package/dist/src/i18n/TC.js.map +1 -0
- package/dist/src/i18n/VA.d.ts +3 -0
- package/dist/src/i18n/VA.d.ts.map +1 -0
- package/dist/src/i18n/VA.js +16 -0
- package/dist/src/i18n/VA.js.map +1 -0
- package/dist/src/i18n/Z.d.ts +3 -0
- package/dist/src/i18n/Z.d.ts.map +1 -0
- package/dist/src/i18n/Z.js +22 -0
- package/dist/src/i18n/Z.js.map +1 -0
- package/dist/src/i18n/fi-FI.d.ts +192 -0
- package/dist/src/i18n/fi-FI.d.ts.map +1 -0
- package/dist/src/i18n/fi-FI.js +182 -0
- package/dist/src/i18n/fi-FI.js.map +1 -0
- package/dist/src/i18n/index.d.ts +20 -0
- package/dist/src/i18n/index.d.ts.map +1 -0
- package/dist/src/i18n/index.js +128 -0
- package/dist/src/i18n/index.js.map +1 -0
- package/dist/src/i18n/sv-FI.d.ts +3 -0
- package/dist/src/i18n/sv-FI.d.ts.map +1 -0
- package/dist/src/i18n/sv-FI.js +181 -0
- package/dist/src/i18n/sv-FI.js.map +1 -0
- package/dist/src/ids.d.ts +14 -0
- package/dist/src/ids.d.ts.map +1 -0
- package/dist/src/ids.js +28 -0
- package/dist/src/ids.js.map +1 -0
- package/dist/src/index.d.ts +19 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +12 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/parser/parseExam.d.ts +2 -0
- package/dist/src/parser/parseExam.d.ts.map +1 -0
- package/dist/src/parser/parseExam.js +54 -0
- package/dist/src/parser/parseExam.js.map +1 -0
- package/dist/src/parser/parseExamStructure.d.ts +58 -0
- package/dist/src/parser/parseExamStructure.d.ts.map +1 -0
- package/dist/src/parser/parseExamStructure.js +40 -0
- package/dist/src/parser/parseExamStructure.js.map +1 -0
- package/dist/src/renderAnnotations.d.ts +7 -0
- package/dist/src/renderAnnotations.d.ts.map +1 -0
- package/dist/src/renderAnnotations.js +193 -0
- package/dist/src/renderAnnotations.js.map +1 -0
- package/dist/src/scrollToHash.d.ts +2 -0
- package/dist/src/scrollToHash.d.ts.map +1 -0
- package/dist/src/scrollToHash.js +24 -0
- package/dist/src/scrollToHash.js.map +1 -0
- package/dist/src/shortDisplayNumber.d.ts +2 -0
- package/dist/src/shortDisplayNumber.d.ts.map +1 -0
- package/dist/src/shortDisplayNumber.js +5 -0
- package/dist/src/shortDisplayNumber.js.map +1 -0
- package/dist/src/store/answers/actions.d.ts +33 -0
- package/dist/src/store/answers/actions.d.ts.map +1 -0
- package/dist/src/store/answers/actions.js +9 -0
- package/dist/src/store/answers/actions.js.map +1 -0
- package/dist/src/store/answers/reducer.d.ts +39 -0
- package/dist/src/store/answers/reducer.d.ts.map +1 -0
- package/dist/src/store/answers/reducer.js +55 -0
- package/dist/src/store/answers/reducer.js.map +1 -0
- package/dist/src/store/answers/sagas.d.ts +8 -0
- package/dist/src/store/answers/sagas.d.ts.map +1 -0
- package/dist/src/store/answers/sagas.js +60 -0
- package/dist/src/store/answers/sagas.js.map +1 -0
- package/dist/src/store/audio/actions.d.ts +29 -0
- package/dist/src/store/audio/actions.d.ts.map +1 -0
- package/dist/src/store/audio/actions.js +9 -0
- package/dist/src/store/audio/actions.js.map +1 -0
- package/dist/src/store/audio/reducer.d.ts +27 -0
- package/dist/src/store/audio/reducer.d.ts.map +1 -0
- package/dist/src/store/audio/reducer.js +55 -0
- package/dist/src/store/audio/reducer.js.map +1 -0
- package/dist/src/store/audio/sagas.d.ts +3 -0
- package/dist/src/store/audio/sagas.d.ts.map +1 -0
- package/dist/src/store/audio/sagas.js +68 -0
- package/dist/src/store/audio/sagas.js.map +1 -0
- package/dist/src/store/cas/actions.d.ts +19 -0
- package/dist/src/store/cas/actions.d.ts.map +1 -0
- package/dist/src/store/cas/actions.js +9 -0
- package/dist/src/store/cas/actions.js.map +1 -0
- package/dist/src/store/cas/reducer.d.ts +14 -0
- package/dist/src/store/cas/reducer.d.ts.map +1 -0
- package/dist/src/store/cas/reducer.js +24 -0
- package/dist/src/store/cas/reducer.js.map +1 -0
- package/dist/src/store/cas/sagas.d.ts +18 -0
- package/dist/src/store/cas/sagas.d.ts.map +1 -0
- package/dist/src/store/cas/sagas.js +36 -0
- package/dist/src/store/cas/sagas.js.map +1 -0
- package/dist/src/store/countdown.d.ts +4 -0
- package/dist/src/store/countdown.d.ts.map +1 -0
- package/dist/src/store/countdown.js +33 -0
- package/dist/src/store/countdown.js.map +1 -0
- package/dist/src/store/index.d.ts +78 -0
- package/dist/src/store/index.d.ts.map +1 -0
- package/dist/src/store/index.js +53 -0
- package/dist/src/store/index.js.map +1 -0
- package/dist/src/store/selectors.d.ts +9 -0
- package/dist/src/store/selectors.d.ts.map +1 -0
- package/dist/src/store/selectors.js +35 -0
- package/dist/src/store/selectors.js.map +1 -0
- package/dist/src/types/ExamAnswer.d.ts +22 -0
- package/dist/src/types/ExamAnswer.d.ts.map +1 -0
- package/dist/src/types/ExamAnswer.js +2 -0
- package/dist/src/types/ExamAnswer.js.map +1 -0
- package/dist/src/types/ExamServerAPI.d.ts +78 -0
- package/dist/src/types/ExamServerAPI.d.ts.map +1 -0
- package/dist/src/types/ExamServerAPI.js +2 -0
- package/dist/src/types/ExamServerAPI.js.map +1 -0
- package/dist/src/types/GradingStructure.d.ts +40 -0
- package/dist/src/types/GradingStructure.d.ts.map +1 -0
- package/dist/src/types/GradingStructure.js +2 -0
- package/dist/src/types/GradingStructure.js.map +1 -0
- package/dist/src/types/Score.d.ts +92 -0
- package/dist/src/types/Score.d.ts.map +1 -0
- package/dist/src/types/Score.js +2 -0
- package/dist/src/types/Score.js.map +1 -0
- package/dist/src/url.d.ts +7 -0
- package/dist/src/url.d.ts.map +1 -0
- package/dist/src/url.js +12 -0
- package/dist/src/url.js.map +1 -0
- package/dist/src/useCached.d.ts +3 -0
- package/dist/src/useCached.d.ts.map +1 -0
- package/dist/src/useCached.js +6 -0
- package/dist/src/useCached.js.map +1 -0
- package/dist/src/utils.d.ts +15 -0
- package/dist/src/utils.d.ts.map +1 -0
- package/dist/src/utils.js +35 -0
- package/dist/src/utils.js.map +1 -0
- package/dist/src/validateAnswers.d.ts +16 -0
- package/dist/src/validateAnswers.d.ts.map +1 -0
- package/dist/src/validateAnswers.js +89 -0
- package/dist/src/validateAnswers.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +4 -4
- package/dist/components/results/DNDAnswerContainer.d.ts +0 -4
- package/dist/components/results/DNDAnswerContainer.d.ts.map +0 -1
- package/dist/components/results/DNDAnswerContainer.js +0 -22
- package/dist/components/results/DNDAnswerContainer.js.map +0 -1
- package/dist/components/shared/AnnotationImageMark.d.ts +0 -16
- package/dist/components/shared/AnnotationImageMark.d.ts.map +0 -1
- package/dist/components/shared/AnnotationImageMark.js +0 -99
- package/dist/components/shared/AnnotationImageMark.js.map +0 -1
- package/dist/components/shared/AnnotationTextMark.d.ts +0 -11
- package/dist/components/shared/AnnotationTextMark.d.ts.map +0 -1
- package/dist/components/shared/AnnotationTextMark.js +0 -21
- package/dist/components/shared/AnnotationTextMark.js.map +0 -1
- package/dist/eslint.config.d.ts +0 -22
- package/dist/eslint.config.d.ts.map +0 -1
- package/dist/eslint.config.js +0 -31
- package/dist/eslint.config.js.map +0 -1
- package/dist/i18n/exam_titles_fi-FI.d.ts +0 -46
- package/dist/i18n/exam_titles_fi-FI.d.ts.map +0 -1
- package/dist/i18n/exam_titles_fi-FI.js +0 -46
- package/dist/i18n/exam_titles_fi-FI.js.map +0 -1
- package/dist/i18n/exam_titles_fi-FI.json +0 -45
- package/dist/i18n/exam_titles_sv-FI.d.ts +0 -46
- package/dist/i18n/exam_titles_sv-FI.d.ts.map +0 -1
- package/dist/i18n/exam_titles_sv-FI.js +0 -46
- package/dist/i18n/exam_titles_sv-FI.js.map +0 -1
- package/dist/i18n/exam_titles_sv-FI.json +0 -45
- package/dist/i18n/exams.d.ts +0 -11
- package/dist/i18n/exams.d.ts.map +0 -1
- package/dist/i18n/exams.js +0 -10
- package/dist/i18n/exams.js.map +0 -1
- package/dist/types/ExamAnnotations.d.ts +0 -46
- package/dist/types/ExamAnnotations.d.ts.map +0 -1
- package/dist/types/ExamAnnotations.js +0 -2
- package/dist/types/ExamAnnotations.js.map +0 -1
@@ -16,11 +16,11 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
16
16
|
(0, experimental_ct_react_1.test)('annotation popup is not rendered if annotation props are not passed', async ({ mount, page }) => {
|
17
17
|
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam }));
|
18
18
|
const element = component.locator('.exam-question-instruction');
|
19
|
-
await (0, utils_1.
|
19
|
+
await (0, utils_1.annotate)(element, page);
|
20
20
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
|
21
21
|
});
|
22
22
|
(0, experimental_ct_react_1.test)('text can be annotated and annotations can be viewed when annotation props are passed', async ({ mount, page }) => {
|
23
|
-
let callbackArgs = { newAnnotation: {}, comment: '',
|
23
|
+
let callbackArgs = { newAnnotation: {}, comment: '', renderableAnnotation: {} };
|
24
24
|
const existingAnnotations = [
|
25
25
|
{ id: 1, startIndex: 27, selectedText: 'pienempi' },
|
26
26
|
{ id: 2, startIndex: 166, selectedText: 'yhteisössä' },
|
@@ -32,8 +32,8 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
32
32
|
{ id: 7, startIndex: 65, selectedText: 'kiksi jokin' },
|
33
33
|
{ id: 8, startIndex: 71, selectedText: 'jokin koulu' }
|
34
34
|
];
|
35
|
-
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations:
|
36
|
-
callbackArgs = { ...callbackArgs,
|
35
|
+
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: createAnnotations(existingAnnotations), onClickAnnotation: (_event, renderableAnnotation) => {
|
36
|
+
callbackArgs = { ...callbackArgs, renderableAnnotation };
|
37
37
|
}, onSaveAnnotation: {
|
38
38
|
fn: (newAnnotation, comment) => {
|
39
39
|
callbackArgs = { ...callbackArgs, newAnnotation, comment };
|
@@ -46,41 +46,41 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
46
46
|
for (const annotation of existingAnnotations.slice(0, 2)) {
|
47
47
|
await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id)).toBeVisible();
|
48
48
|
await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id)).toHaveText(annotation.selectedText);
|
49
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id).locator('
|
49
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id).locator('sup')).toHaveAttribute('data-content', annotation.id.toString());
|
50
50
|
}
|
51
51
|
});
|
52
52
|
await experimental_ct_react_1.test.step('hidden annotations are hidden', async () => {
|
53
53
|
await (0, experimental_ct_react_1.expect)(annotationLocator(3)).toBeHidden();
|
54
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(3).locator('
|
54
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(3).locator('sup')).toBeHidden();
|
55
55
|
await (0, experimental_ct_react_1.expect)(annotationLocator(3).locator('..')).toHaveAttribute('data-annotation-path', 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0');
|
56
56
|
});
|
57
57
|
await experimental_ct_react_1.test.step('if two annotations have same id, only latter renders <sup>', async () => {
|
58
58
|
const marks = await annotationLocator(4).all();
|
59
59
|
await (0, experimental_ct_react_1.expect)(marks[0]).toHaveText('mikä');
|
60
|
-
await (0, experimental_ct_react_1.expect)(marks[0].locator('
|
60
|
+
await (0, experimental_ct_react_1.expect)(marks[0].locator('sup')).not.toBeVisible();
|
61
61
|
await (0, experimental_ct_react_1.expect)(marks[1]).toHaveText('ero');
|
62
62
|
await (0, experimental_ct_react_1.expect)(marks[1]).toBeVisible();
|
63
|
-
await (0, experimental_ct_react_1.expect)(marks[1].locator('
|
63
|
+
await (0, experimental_ct_react_1.expect)(marks[1].locator('sup')).toHaveAttribute('data-content', '4');
|
64
64
|
});
|
65
65
|
await experimental_ct_react_1.test.step('annotations can not overlap — overlapping annotations are not rendered', async () => {
|
66
66
|
await (0, experimental_ct_react_1.expect)(annotationLocator(5)).toBeVisible();
|
67
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(5).locator('
|
67
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(5).locator('sup')).toBeVisible();
|
68
68
|
await (0, experimental_ct_react_1.expect)(annotationLocator(5)).toHaveText('esimerkiksi');
|
69
69
|
await (0, experimental_ct_react_1.expect)(annotationLocator(6)).toBeHidden();
|
70
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(6).locator('
|
70
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(6).locator('sup')).toBeHidden();
|
71
71
|
await (0, experimental_ct_react_1.expect)(annotationLocator(6)).toHaveText('');
|
72
72
|
await (0, experimental_ct_react_1.expect)(annotationLocator(7)).toBeHidden();
|
73
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(7).locator('
|
73
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(7).locator('sup')).toBeHidden();
|
74
74
|
await (0, experimental_ct_react_1.expect)(annotationLocator(7)).toHaveText('');
|
75
75
|
await (0, experimental_ct_react_1.expect)(annotationLocator(8)).toBeVisible();
|
76
|
-
await (0, experimental_ct_react_1.expect)(annotationLocator(8).locator('
|
76
|
+
await (0, experimental_ct_react_1.expect)(annotationLocator(8).locator('sup')).toBeVisible();
|
77
77
|
await (0, experimental_ct_react_1.expect)(annotationLocator(8)).toHaveText('jokin koulu');
|
78
78
|
});
|
79
79
|
});
|
80
80
|
await experimental_ct_react_1.test.step('creating annotations', async () => {
|
81
81
|
await experimental_ct_react_1.test.step('annotation popup appears when text is selected', async () => {
|
82
82
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
|
83
|
-
await (0, utils_1.
|
83
|
+
await (0, utils_1.annotate)(annottatableElement, page);
|
84
84
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
85
85
|
});
|
86
86
|
await experimental_ct_react_1.test.step('callback is called when annotation is saved', async () => {
|
@@ -97,13 +97,12 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
97
97
|
length: 27
|
98
98
|
}
|
99
99
|
],
|
100
|
-
annotationType: 'text',
|
101
100
|
displayNumber: '2',
|
102
101
|
selectedText: 'Sekä moraali että tavat pyr'
|
103
102
|
});
|
104
103
|
});
|
105
104
|
await experimental_ct_react_1.test.step('popup field is empty when creating new annotation', async () => {
|
106
|
-
await (0, utils_1.
|
105
|
+
await (0, utils_1.annotate)(annottatableElement, page);
|
107
106
|
await (0, experimental_ct_react_1.expect)(component.locator('.comment-content')).toHaveText('');
|
108
107
|
});
|
109
108
|
await experimental_ct_react_1.test.step('popup can be closed', async () => {
|
@@ -112,7 +111,16 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
112
111
|
});
|
113
112
|
await experimental_ct_react_1.test.step('callback is called when annotation is clicked', async () => {
|
114
113
|
await component.locator('[data-annotation-id="1"]').click();
|
115
|
-
(0, experimental_ct_react_1.expect)(callbackArgs.
|
114
|
+
(0, experimental_ct_react_1.expect)(callbackArgs.renderableAnnotation).toStrictEqual({
|
115
|
+
annotationAnchor: 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0',
|
116
|
+
annotationId: 1,
|
117
|
+
hidden: false,
|
118
|
+
length: 8,
|
119
|
+
resolved: undefined,
|
120
|
+
selectedText: 'pienempi',
|
121
|
+
startIndex: 27,
|
122
|
+
markNumber: 1
|
123
|
+
});
|
116
124
|
});
|
117
125
|
});
|
118
126
|
});
|
@@ -121,66 +129,26 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
121
129
|
* (in this case, but the index varies depending on the exam content)
|
122
130
|
*/
|
123
131
|
const startIndexDifference = 24;
|
124
|
-
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations:
|
125
|
-
{ id: 1, startIndex: 166 - startIndexDifference, selectedText: 'yhteisössä' }
|
126
|
-
]), onClickAnnotation: () => { }, onSaveAnnotation: { fn: () => { } } }));
|
132
|
+
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: createAnnotations([{ id: 1, startIndex: 166 - startIndexDifference, selectedText: 'yhteisössä' }]), onClickAnnotation: () => { }, onSaveAnnotation: { fn: () => { } } }));
|
127
133
|
await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"]')).toBeVisible();
|
128
134
|
await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"]')).toHaveText('yhteisössä');
|
129
|
-
await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"]
|
135
|
+
await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"] sup')).toHaveAttribute('data-content', '1');
|
130
136
|
});
|
131
137
|
(0, experimental_ct_react_1.test)('annotation popup is not closed when annotation save fails', async ({ mount, page }) => {
|
132
138
|
const errorMessage = 'save failed';
|
133
139
|
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: { fn: () => { }, result: errorMessage } }));
|
134
140
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
|
135
|
-
await (0, utils_1.
|
141
|
+
await (0, utils_1.annotate)(component.locator('.exam-question-instruction'), page);
|
136
142
|
await component.locator('.comment-content').fill('New comment');
|
137
143
|
await component.getByText('Tallenna').click();
|
138
144
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
139
145
|
await (0, experimental_ct_react_1.expect)(component.getByText(errorMessage)).toBeVisible();
|
140
146
|
});
|
141
|
-
|
142
|
-
const masteredExam = await (0, utils_1.setupMasteredExam)('N');
|
143
|
-
let callbackArgs = { newAnnotation: {}, comment: '', annotationId: -1 };
|
144
|
-
const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: [], onClickAnnotation: (_event, annotationId) => {
|
145
|
-
callbackArgs = { ...callbackArgs, annotationId };
|
146
|
-
}, onSaveAnnotation: {
|
147
|
-
fn: (newAnnotation, comment) => {
|
148
|
-
callbackArgs = { ...callbackArgs, newAnnotation, comment };
|
149
|
-
}
|
150
|
-
} }));
|
151
|
-
const annottatableElement = component.locator('.e-formula.e-annotatable').nth(0);
|
152
|
-
await experimental_ct_react_1.test.step('creating annotations', async () => {
|
153
|
-
await experimental_ct_react_1.test.step('annotation popup appears when text is selected', async () => {
|
154
|
-
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
|
155
|
-
await (0, utils_1.annotateImage)(annottatableElement, page);
|
156
|
-
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
157
|
-
});
|
158
|
-
await experimental_ct_react_1.test.step('callback is called when annotation is saved', async () => {
|
159
|
-
const textbox = component.locator('.comment-content');
|
160
|
-
await textbox.fill('New comment');
|
161
|
-
await component.getByText('Tallenna').click();
|
162
|
-
(0, experimental_ct_react_1.expect)(callbackArgs.comment).toBe('New comment');
|
163
|
-
(0, experimental_ct_react_1.expect)(callbackArgs.newAnnotation).toStrictEqual({
|
164
|
-
annotationType: 'image',
|
165
|
-
displayNumber: '2',
|
166
|
-
annotationAnchor: 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > e:formula:false',
|
167
|
-
description: 'kaava 4(x+1)=4x+4',
|
168
|
-
rect: {
|
169
|
-
x1: 0,
|
170
|
-
x2: 1,
|
171
|
-
y1: 0,
|
172
|
-
y2: 1
|
173
|
-
}
|
174
|
-
});
|
175
|
-
});
|
176
|
-
});
|
177
|
-
});
|
178
|
-
function createTextAnnotations(annotations) {
|
147
|
+
function createAnnotations(annotations) {
|
179
148
|
const annotationsById = (0, lodash_1.groupBy)(annotations, 'id');
|
180
149
|
return Object.keys(annotationsById).map((id, index) => {
|
181
150
|
const annotationParts = annotationsById[id];
|
182
151
|
return {
|
183
|
-
annotationType: 'text',
|
184
152
|
annotationId: Number(id),
|
185
153
|
selectedText: annotations.map(a => a.selectedText).join(' '),
|
186
154
|
type: 'text',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Annotations.test.js","sourceRoot":"","sources":["../../../__tests__/playwright/Annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,yCAA8E;AAC9E,mEAA8D;AAE9D,mCAAgC;AAEhC,4BAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAChC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,qEAAqE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QACpG,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,8BAAC,oCAAgB,IAAC,YAAY,EAAE,YAAY,GAAI,CAAC,CAAA;QAC/E,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAA;QAE/D,MAAM,IAAA,oBAAY,EAAC,OAAO,EAAE,IAAI,CAAC,CAAA;QACjC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAA;IAClE,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,sFAAsF,EAAE,KAAK,EAAE,EAClG,KAAK,EACL,IAAI,EACL,EAAE,EAAE;QACH,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7G,YAAY,EAAE,CAAC,CAAC,YAAY;oBAC5B,YAAY,EAAE,MAAM,CAAC,EAAE,CAAC;iBACzB,CAAC,CAAC;aACJ,CAAA;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;AAGH,CAAC,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ experimental_ct_react_1.test.describe('Attachments', () => {
|
|
20
20
|
const annottatableElement = component.locator('.e-annotatable').first();
|
21
21
|
const textbox = component.locator('.comment-content');
|
22
22
|
await (0, experimental_ct_react_1.expect)(annottatableElement).toBeVisible();
|
23
|
-
await (0, utils_1.
|
23
|
+
await (0, utils_1.annotate)(annottatableElement, page);
|
24
24
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
25
25
|
await textbox.fill('New comment');
|
26
26
|
await component.getByText('Tallenna').click();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Attachments.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/attachments/Attachments.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,
|
1
|
+
{"version":3,"file":"Attachments.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/attachments/Attachments.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,0CAA4D;AAC5D,gFAA2E;AAE3E,4BAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAChC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,0CAA0C,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QACzE,IAAI,WAAW,GAAG,EAAE,CAAA;QACpB,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,oCAAgB,IACf,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,EAAE,EACf,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC,EAC3B,gBAAgB,EAAE,CAAC,cAAc,EAAE,OAAe,EAAE,EAAE;gBACpD,WAAW,GAAG,OAAO,CAAA;YACvB,CAAC,GACD,CACH,CAAA;QACD,MAAM,mBAAmB,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAA;QACvE,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QAErD,MAAM,IAAA,8BAAM,EAAC,mBAAmB,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,MAAM,IAAA,gBAAQ,EAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;QACzC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAE5D,MAAM,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAA;QAC7C,IAAA,8BAAM,EAAC,WAAW,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ experimental_ct_react_1.test.describe('Annotations', () => {
|
|
20
20
|
const annottatableElement = component.locator('.e-annotatable').first();
|
21
21
|
const textbox = component.locator('.comment-content');
|
22
22
|
await (0, experimental_ct_react_1.expect)(annottatableElement).toBeVisible();
|
23
|
-
await (0, utils_1.
|
23
|
+
await (0, utils_1.annotate)(annottatableElement, page);
|
24
24
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
25
25
|
await textbox.fill('New comment');
|
26
26
|
await component.getByText('Tallenna').click();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Exam.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/exam/Exam.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,
|
1
|
+
{"version":3,"file":"Exam.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/exam/Exam.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,0CAA4D;AAC5D,2DAAsD;AAEtD,4BAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAChC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,mCAAmC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QAClE,IAAI,WAAW,GAAG,EAAE,CAAA;QACpB,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,sBAAS,IACR,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,EAAE,EACf,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC,EAC3B,gBAAgB,EAAE,CAAC,cAAc,EAAE,OAAe,EAAE,EAAE;gBACpD,WAAW,GAAG,OAAO,CAAA;YACvB,CAAC,GACD,CACH,CAAA;QACD,MAAM,mBAAmB,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAA;QACvE,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QAErD,MAAM,IAAA,8BAAM,EAAC,mBAAmB,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,MAAM,IAAA,gBAAQ,EAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;QACzC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAE5D,MAAM,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAA;QAC7C,IAAA,8BAAM,EAAC,WAAW,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ experimental_ct_react_1.test.describe('Grading Instructions', () => {
|
|
20
20
|
const annottatableElement = component.locator('.e-annotatable').first();
|
21
21
|
const textbox = component.locator('.comment-content');
|
22
22
|
await (0, experimental_ct_react_1.expect)(annottatableElement).toBeVisible();
|
23
|
-
await (0, utils_1.
|
23
|
+
await (0, utils_1.annotate)(annottatableElement, page);
|
24
24
|
await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
|
25
25
|
await textbox.fill('New comment');
|
26
26
|
await component.getByText('Tallenna').click();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GradingInstructions.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/grading-instructions/GradingInstructions.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,
|
1
|
+
{"version":3,"file":"GradingInstructions.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/grading-instructions/GradingInstructions.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,0CAA4D;AAC5D,wGAAkG;AAElG,4BAAI,CAAC,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACzC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,mDAAmD,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QAClF,IAAI,WAAW,GAAG,EAAE,CAAA;QACpB,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,mDAAuB,IACtB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,EAAE,EACf,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC,EAC3B,gBAAgB,EAAE,CAAC,cAAc,EAAE,OAAe,EAAE,EAAE;gBACpD,WAAW,GAAG,OAAO,CAAA;YACvB,CAAC,GACD,CACH,CAAA;QACD,MAAM,mBAAmB,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAA;QACvE,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QAErD,MAAM,IAAA,8BAAM,EAAC,mBAAmB,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,MAAM,IAAA,gBAAQ,EAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;QACzC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAE5D,MAAM,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAA;QAC7C,IAAA,8BAAM,EAAC,WAAW,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { MasteringResult } from '@digabi/exam-engine-mastering';
|
3
|
-
import { ExamAnnotation, NewExamAnnotation } from '../../../src';
|
3
|
+
import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../src';
|
4
4
|
interface AnnotationsStoryProps {
|
5
5
|
masteredExam: MasteringResult;
|
6
6
|
annotations?: ExamAnnotation[];
|
7
|
-
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>,
|
7
|
+
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
|
8
8
|
onSaveAnnotation?: {
|
9
9
|
fn: (annotation: NewExamAnnotation, comment: string) => void;
|
10
10
|
result?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Annotations.story.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/stories/Annotations.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAO/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"Annotations.story.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/stories/Annotations.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAO/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAEtF,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE;QAAE,EAAE,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CACrG;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6B5D,CAAA"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { MasteringResult } from '@digabi/exam-engine-mastering';
|
3
|
-
import { ExamAnnotation, NewExamAnnotation } from '../../../../src';
|
3
|
+
import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../../src';
|
4
4
|
import '../../../../src/css/main.less';
|
5
5
|
interface AttachmentsStoryProps {
|
6
6
|
masteredExam: MasteringResult;
|
7
7
|
annotations?: ExamAnnotation[];
|
8
|
-
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>,
|
8
|
+
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
|
9
9
|
onSaveAnnotation?: (annotation: NewExamAnnotation, comment: string) => void;
|
10
10
|
}
|
11
11
|
export declare const AttachmentsStory: React.FC<AttachmentsStoryProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Attachments.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/attachments/Attachments.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"Attachments.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/attachments/Attachments.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEzF,OAAO,+BAA+B,CAAA;AAEtC,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkB5D,CAAA"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { MasteringResult } from '@digabi/exam-engine-mastering';
|
3
|
-
import { ExamAnnotation, NewExamAnnotation } from '../../../../src';
|
3
|
+
import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../../src';
|
4
4
|
interface ExamStoryProps {
|
5
5
|
masteredExam: MasteringResult;
|
6
6
|
annotations?: ExamAnnotation[];
|
7
|
-
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>,
|
7
|
+
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
|
8
8
|
onSaveAnnotation?: (annotation: NewExamAnnotation, comment: string) => void;
|
9
9
|
}
|
10
10
|
export declare const ExamStory: React.FC<ExamStoryProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Exam.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/Exam.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAI/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"Exam.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/Exam.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAI/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAGzF,UAAU,cAAc;IACtB,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkC9C,CAAA"}
|
package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { MasteringResult } from '@digabi/exam-engine-mastering';
|
3
|
-
import { ExamAnnotation, NewExamAnnotation } from '../../../../src';
|
3
|
+
import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../../src';
|
4
4
|
import '../../../../src/css/main.less';
|
5
5
|
interface GradingInstructionsStoryProps {
|
6
6
|
masteredExam: MasteringResult;
|
7
7
|
annotations?: ExamAnnotation[];
|
8
|
-
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>,
|
8
|
+
onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
|
9
9
|
onSaveAnnotation?: (annotation: NewExamAnnotation, comment: string) => void;
|
10
10
|
}
|
11
11
|
export declare const GradingInstructionStory: React.FC<GradingInstructionsStoryProps>;
|
package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GradingInstructions.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/grading-intructions/GradingInstructions.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"GradingInstructions.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/grading-intructions/GradingInstructions.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACzF,OAAO,+BAA+B,CAAA;AAEtC,UAAU,6BAA6B;IACrC,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAoB3E,CAAA"}
|