@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.
Files changed (712) hide show
  1. package/dist/__tests__/playwright/Annotations.test.js +60 -28
  2. package/dist/__tests__/playwright/Annotations.test.js.map +1 -1
  3. package/dist/__tests__/playwright/attachments/Attachments.test.js +1 -1
  4. package/dist/__tests__/playwright/attachments/Attachments.test.js.map +1 -1
  5. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js +1 -1
  6. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js.map +1 -1
  7. package/dist/__tests__/playwright/stories/Annotations.story.d.ts +2 -2
  8. package/dist/__tests__/playwright/stories/Annotations.story.d.ts.map +1 -1
  9. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts +2 -2
  10. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts.map +1 -1
  11. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts +2 -2
  12. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map +1 -1
  13. package/dist/components/grading/examAnnotationUtils.d.ts +2 -1
  14. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  15. package/dist/components/grading/examAnnotationUtils.js +29 -10
  16. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  17. package/dist/components/results/DNDAnswerContainer.d.ts +4 -0
  18. package/dist/components/results/DNDAnswerContainer.d.ts.map +1 -0
  19. package/dist/components/results/DNDAnswerContainer.js +22 -0
  20. package/dist/components/results/DNDAnswerContainer.js.map +1 -0
  21. package/dist/components/shared/AnnotatableText.d.ts.map +1 -1
  22. package/dist/components/shared/AnnotatableText.js +6 -6
  23. package/dist/components/shared/AnnotatableText.js.map +1 -1
  24. package/dist/components/shared/AnnotationImageMark.d.ts +16 -0
  25. package/dist/components/shared/AnnotationImageMark.d.ts.map +1 -0
  26. package/dist/components/shared/AnnotationImageMark.js +99 -0
  27. package/dist/components/shared/AnnotationImageMark.js.map +1 -0
  28. package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
  29. package/dist/components/shared/AnnotationPopup.js +5 -2
  30. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  31. package/dist/components/shared/AnnotationTextMark.d.ts +11 -0
  32. package/dist/components/shared/AnnotationTextMark.d.ts.map +1 -0
  33. package/dist/components/shared/AnnotationTextMark.js +21 -0
  34. package/dist/components/shared/AnnotationTextMark.js.map +1 -0
  35. package/dist/components/shared/markText.d.ts +4 -3
  36. package/dist/components/shared/markText.d.ts.map +1 -1
  37. package/dist/components/shared/markText.js +10 -5
  38. package/dist/components/shared/markText.js.map +1 -1
  39. package/dist/eslint.config.d.ts +22 -0
  40. package/dist/eslint.config.d.ts.map +1 -0
  41. package/dist/eslint.config.js +31 -0
  42. package/dist/eslint.config.js.map +1 -0
  43. package/dist/i18n/exam_titles_fi-FI.d.ts +46 -0
  44. package/dist/i18n/exam_titles_fi-FI.d.ts.map +1 -0
  45. package/dist/i18n/exam_titles_fi-FI.js +46 -0
  46. package/dist/i18n/exam_titles_fi-FI.js.map +1 -0
  47. package/dist/i18n/exam_titles_fi-FI.json +45 -0
  48. package/dist/i18n/exam_titles_sv-FI.d.ts +46 -0
  49. package/dist/i18n/exam_titles_sv-FI.d.ts.map +1 -0
  50. package/dist/i18n/exam_titles_sv-FI.js +46 -0
  51. package/dist/i18n/exam_titles_sv-FI.js.map +1 -0
  52. package/dist/i18n/exam_titles_sv-FI.json +45 -0
  53. package/dist/i18n/exams.d.ts +11 -0
  54. package/dist/i18n/exams.d.ts.map +1 -0
  55. package/dist/i18n/exams.js +10 -0
  56. package/dist/i18n/exams.js.map +1 -0
  57. package/dist/main-bundle.js +1 -1
  58. package/dist/main.css +1 -1
  59. package/dist/types/ExamAnnotations.d.ts +46 -0
  60. package/dist/types/ExamAnnotations.d.ts.map +1 -0
  61. package/dist/types/ExamAnnotations.js +2 -0
  62. package/dist/types/ExamAnnotations.js.map +1 -0
  63. package/package.json +3 -3
  64. package/dist/components/exam/ExamineExam.d.ts +0 -5
  65. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  66. package/dist/components/exam/ExamineExam.js +0 -20
  67. package/dist/components/exam/ExamineExam.js.map +0 -1
  68. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  69. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  70. package/dist/src/components/AnswerToolbar.js +0 -36
  71. package/dist/src/components/AnswerToolbar.js.map +0 -1
  72. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  73. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  74. package/dist/src/components/AnsweringInstructions.js +0 -24
  75. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  76. package/dist/src/components/DocumentTitle.d.ts +0 -5
  77. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  78. package/dist/src/components/DocumentTitle.js +0 -13
  79. package/dist/src/components/DocumentTitle.js.map +0 -1
  80. package/dist/src/components/NotificationIcon.d.ts +0 -4
  81. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  82. package/dist/src/components/NotificationIcon.js +0 -6
  83. package/dist/src/components/NotificationIcon.js.map +0 -1
  84. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  85. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  86. package/dist/src/components/RenderChildNodes.js +0 -7
  87. package/dist/src/components/RenderChildNodes.js.map +0 -1
  88. package/dist/src/components/RenderExamElements.d.ts +0 -6
  89. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  90. package/dist/src/components/RenderExamElements.js +0 -6
  91. package/dist/src/components/RenderExamElements.js.map +0 -1
  92. package/dist/src/components/RenderIf.d.ts +0 -4
  93. package/dist/src/components/RenderIf.d.ts.map +0 -1
  94. package/dist/src/components/RenderIf.js +0 -8
  95. package/dist/src/components/RenderIf.js.map +0 -1
  96. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  97. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  98. package/dist/src/components/ScreenReaderOnly.js +0 -3
  99. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  100. package/dist/src/components/SectionElement.d.ts +0 -4
  101. package/dist/src/components/SectionElement.d.ts.map +0 -1
  102. package/dist/src/components/SectionElement.js +0 -8
  103. package/dist/src/components/SectionElement.js.map +0 -1
  104. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  105. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  106. package/dist/src/components/attachments/Attachment.js +0 -8
  107. package/dist/src/components/attachments/Attachment.js.map +0 -1
  108. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  109. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  110. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  111. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  112. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  113. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  114. package/dist/src/components/attachments/Attachments.js +0 -55
  115. package/dist/src/components/attachments/Attachments.js.map +0 -1
  116. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  117. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  118. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  119. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  120. package/dist/src/components/attachments/Question.d.ts +0 -4
  121. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  122. package/dist/src/components/attachments/Question.js +0 -16
  123. package/dist/src/components/attachments/Question.js.map +0 -1
  124. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  125. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  126. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  127. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  128. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  129. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  130. package/dist/src/components/context/AnnotationProvider.js +0 -35
  131. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  132. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  133. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  134. package/dist/src/components/context/AttachmentContext.js +0 -12
  135. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  136. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  137. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  138. package/dist/src/components/context/CommonExamContext.js +0 -28
  139. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  140. package/dist/src/components/context/ExamContext.d.ts +0 -9
  141. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  142. package/dist/src/components/context/ExamContext.js +0 -11
  143. package/dist/src/components/context/ExamContext.js.map +0 -1
  144. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  145. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  146. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  147. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  148. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  149. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  150. package/dist/src/components/context/QuestionContext.js +0 -27
  151. package/dist/src/components/context/QuestionContext.js.map +0 -1
  152. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  153. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  154. package/dist/src/components/context/ResultsContext.js +0 -69
  155. package/dist/src/components/context/ResultsContext.js.map +0 -1
  156. package/dist/src/components/context/SectionContext.d.ts +0 -12
  157. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  158. package/dist/src/components/context/SectionContext.js +0 -21
  159. package/dist/src/components/context/SectionContext.js.map +0 -1
  160. package/dist/src/components/context/TOCContext.d.ts +0 -7
  161. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  162. package/dist/src/components/context/TOCContext.js +0 -3
  163. package/dist/src/components/context/TOCContext.js.map +0 -1
  164. package/dist/src/components/context/withContext.d.ts +0 -3
  165. package/dist/src/components/context/withContext.d.ts.map +0 -1
  166. package/dist/src/components/context/withContext.js +0 -12
  167. package/dist/src/components/context/withContext.js.map +0 -1
  168. package/dist/src/components/exam/Attachment.d.ts +0 -4
  169. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  170. package/dist/src/components/exam/Attachment.js +0 -8
  171. package/dist/src/components/exam/Attachment.js.map +0 -1
  172. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  173. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  174. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  175. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  176. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  177. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  178. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  179. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  180. package/dist/src/components/exam/Exam.d.ts +0 -48
  181. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  182. package/dist/src/components/exam/Exam.js +0 -195
  183. package/dist/src/components/exam/Exam.js.map +0 -1
  184. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  185. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  186. package/dist/src/components/exam/ExamFooter.js +0 -6
  187. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  188. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  189. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  190. package/dist/src/components/exam/ExamInstruction.js +0 -6
  191. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  192. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  193. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  194. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  195. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  196. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  197. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  198. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  199. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  200. package/dist/src/components/exam/Hints.d.ts +0 -5
  201. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  202. package/dist/src/components/exam/Hints.js +0 -31
  203. package/dist/src/components/exam/Hints.js.map +0 -1
  204. package/dist/src/components/exam/Question.d.ts +0 -8
  205. package/dist/src/components/exam/Question.d.ts.map +0 -1
  206. package/dist/src/components/exam/Question.js +0 -75
  207. package/dist/src/components/exam/Question.js.map +0 -1
  208. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  209. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  210. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  211. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  212. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  213. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  214. package/dist/src/components/exam/QuestionTitle.js +0 -26
  215. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  216. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  217. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  218. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  219. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  220. package/dist/src/components/exam/Section.d.ts +0 -4
  221. package/dist/src/components/exam/Section.d.ts.map +0 -1
  222. package/dist/src/components/exam/Section.js +0 -49
  223. package/dist/src/components/exam/Section.js.map +0 -1
  224. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  225. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  226. package/dist/src/components/exam/SectionInstruction.js +0 -6
  227. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  228. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  229. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  230. package/dist/src/components/exam/SectionTitle.js +0 -30
  231. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  232. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  233. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  234. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  235. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  236. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  237. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  238. package/dist/src/components/exam/TextAnswer.js +0 -20
  239. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  240. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  241. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  242. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  243. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  244. package/dist/src/components/exam/UndoView.d.ts +0 -35
  245. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  246. package/dist/src/components/exam/UndoView.js +0 -162
  247. package/dist/src/components/exam/UndoView.js.map +0 -1
  248. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  249. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  250. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  251. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  252. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  253. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  254. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  255. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  256. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  257. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  258. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  259. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  260. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  261. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  262. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  263. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  264. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  265. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  266. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  267. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  268. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  269. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  270. package/dist/src/components/grading/GradingAnswer.js +0 -306
  271. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  272. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  273. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  274. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  275. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  276. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  277. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  278. package/dist/src/components/grading/editAnnotations.js +0 -190
  279. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  280. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  281. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  282. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  283. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  284. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  285. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  286. package/dist/src/components/grading/largeImageDetector.js +0 -45
  287. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  288. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  289. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  290. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  291. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  292. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  293. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  294. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  295. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  296. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  297. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  298. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  299. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  300. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  301. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  302. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  303. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  304. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  305. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  306. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  307. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  308. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  309. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  310. package/dist/src/components/grading-instructions/Question.js +0 -14
  311. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  312. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  313. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  314. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  315. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  316. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  317. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  318. package/dist/src/components/grading-instructions/Recording.js +0 -19
  319. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  320. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  321. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  322. package/dist/src/components/grading-instructions/Section.js +0 -10
  323. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  324. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  325. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  326. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  327. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  328. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  329. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  330. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  331. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  332. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  333. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  334. package/dist/src/components/results/DropdownAnswer.js +0 -43
  335. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  336. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  337. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  338. package/dist/src/components/results/EndExamSession.js +0 -20
  339. package/dist/src/components/results/EndExamSession.js.map +0 -1
  340. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  341. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  342. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  343. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  344. package/dist/src/components/results/Question.d.ts +0 -4
  345. package/dist/src/components/results/Question.d.ts.map +0 -1
  346. package/dist/src/components/results/Question.js +0 -31
  347. package/dist/src/components/results/Question.js.map +0 -1
  348. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  349. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  350. package/dist/src/components/results/QuestionTitle.js +0 -26
  351. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  352. package/dist/src/components/results/Results.d.ts +0 -19
  353. package/dist/src/components/results/Results.d.ts.map +0 -1
  354. package/dist/src/components/results/Results.js +0 -136
  355. package/dist/src/components/results/Results.js.map +0 -1
  356. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  357. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  358. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  359. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  360. package/dist/src/components/results/Section.d.ts +0 -4
  361. package/dist/src/components/results/Section.d.ts.map +0 -1
  362. package/dist/src/components/results/Section.js +0 -11
  363. package/dist/src/components/results/Section.js.map +0 -1
  364. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  365. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  366. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  367. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  368. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  369. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  370. package/dist/src/components/results/TextAnswer.js +0 -48
  371. package/dist/src/components/results/TextAnswer.js.map +0 -1
  372. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  373. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  374. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  375. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  376. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  377. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  378. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  379. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  380. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  381. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  382. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  383. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  384. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  385. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  386. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  387. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  388. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  389. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  390. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  391. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  392. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  393. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  394. package/dist/src/components/shared/AnnotatableText.js +0 -73
  395. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  396. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  397. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  398. package/dist/src/components/shared/AnnotationLists.js +0 -17
  399. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  400. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  401. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  402. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  403. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  404. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  405. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  406. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  407. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  408. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  409. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  410. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  411. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  412. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  413. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  414. package/dist/src/components/shared/AttachmentLink.js +0 -28
  415. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  416. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  417. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  418. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  419. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  420. package/dist/src/components/shared/Audio.d.ts +0 -6
  421. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  422. package/dist/src/components/shared/Audio.js +0 -31
  423. package/dist/src/components/shared/Audio.js.map +0 -1
  424. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  425. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  426. package/dist/src/components/shared/AudioGroup.js +0 -9
  427. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  428. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  429. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  430. package/dist/src/components/shared/AudioTest.js +0 -34
  431. package/dist/src/components/shared/AudioTest.js.map +0 -1
  432. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  433. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  434. package/dist/src/components/shared/ExamTranslation.js +0 -9
  435. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  436. package/dist/src/components/shared/File.d.ts +0 -6
  437. package/dist/src/components/shared/File.d.ts.map +0 -1
  438. package/dist/src/components/shared/File.js +0 -15
  439. package/dist/src/components/shared/File.js.map +0 -1
  440. package/dist/src/components/shared/Footer.d.ts +0 -5
  441. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  442. package/dist/src/components/shared/Footer.js +0 -3
  443. package/dist/src/components/shared/Footer.js.map +0 -1
  444. package/dist/src/components/shared/Formula.d.ts +0 -6
  445. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  446. package/dist/src/components/shared/Formula.js +0 -13
  447. package/dist/src/components/shared/Formula.js.map +0 -1
  448. package/dist/src/components/shared/Image.d.ts +0 -6
  449. package/dist/src/components/shared/Image.d.ts.map +0 -1
  450. package/dist/src/components/shared/Image.js +0 -30
  451. package/dist/src/components/shared/Image.js.map +0 -1
  452. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  453. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  454. package/dist/src/components/shared/ImageOverlay.js +0 -43
  455. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  456. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  457. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  458. package/dist/src/components/shared/QuestionNumber.js +0 -12
  459. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  460. package/dist/src/components/shared/Reference.d.ts +0 -6
  461. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  462. package/dist/src/components/shared/Reference.js +0 -72
  463. package/dist/src/components/shared/Reference.js.map +0 -1
  464. package/dist/src/components/shared/References.d.ts +0 -6
  465. package/dist/src/components/shared/References.d.ts.map +0 -1
  466. package/dist/src/components/shared/References.js +0 -26
  467. package/dist/src/components/shared/References.js.map +0 -1
  468. package/dist/src/components/shared/Score.d.ts +0 -8
  469. package/dist/src/components/shared/Score.d.ts.map +0 -1
  470. package/dist/src/components/shared/Score.js +0 -13
  471. package/dist/src/components/shared/Score.js.map +0 -1
  472. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  473. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  474. package/dist/src/components/shared/TOCQuestion.js +0 -77
  475. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  476. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  477. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  478. package/dist/src/components/shared/TOCSection.js +0 -15
  479. package/dist/src/components/shared/TOCSection.js.map +0 -1
  480. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  481. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  482. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  483. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  484. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  485. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  486. package/dist/src/components/shared/TableOfContents.js +0 -61
  487. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  488. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  489. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  490. package/dist/src/components/shared/VersionNumber.js +0 -10
  491. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  492. package/dist/src/components/shared/Video.d.ts +0 -6
  493. package/dist/src/components/shared/Video.d.ts.map +0 -1
  494. package/dist/src/components/shared/Video.js +0 -22
  495. package/dist/src/components/shared/Video.js.map +0 -1
  496. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  497. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  498. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  499. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  500. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  501. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  502. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  503. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  504. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  505. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  506. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  507. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  508. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  509. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  510. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  511. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  512. package/dist/src/components/surround.d.ts +0 -8
  513. package/dist/src/components/surround.d.ts.map +0 -1
  514. package/dist/src/components/surround.js +0 -19
  515. package/dist/src/components/surround.js.map +0 -1
  516. package/dist/src/createRenderChildNodes.d.ts +0 -17
  517. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  518. package/dist/src/createRenderChildNodes.js +0 -64
  519. package/dist/src/createRenderChildNodes.js.map +0 -1
  520. package/dist/src/dom-utils.d.ts +0 -20
  521. package/dist/src/dom-utils.d.ts.map +0 -1
  522. package/dist/src/dom-utils.js +0 -164
  523. package/dist/src/dom-utils.js.map +0 -1
  524. package/dist/src/fonts.d.ts +0 -5
  525. package/dist/src/fonts.d.ts.map +0 -1
  526. package/dist/src/fonts.js +0 -16
  527. package/dist/src/fonts.js.map +0 -1
  528. package/dist/src/formatting.d.ts +0 -2
  529. package/dist/src/formatting.d.ts.map +0 -1
  530. package/dist/src/formatting.js +0 -4
  531. package/dist/src/formatting.js.map +0 -1
  532. package/dist/src/getDisplayName.d.ts +0 -4
  533. package/dist/src/getDisplayName.d.ts.map +0 -1
  534. package/dist/src/getDisplayName.js +0 -5
  535. package/dist/src/getDisplayName.js.map +0 -1
  536. package/dist/src/i18n/A_E.d.ts +0 -3
  537. package/dist/src/i18n/A_E.d.ts.map +0 -1
  538. package/dist/src/i18n/A_E.js +0 -8
  539. package/dist/src/i18n/A_E.js.map +0 -1
  540. package/dist/src/i18n/BA.d.ts +0 -3
  541. package/dist/src/i18n/BA.d.ts.map +0 -1
  542. package/dist/src/i18n/BA.js +0 -11
  543. package/dist/src/i18n/BA.js.map +0 -1
  544. package/dist/src/i18n/CA.d.ts +0 -3
  545. package/dist/src/i18n/CA.d.ts.map +0 -1
  546. package/dist/src/i18n/CA.js +0 -11
  547. package/dist/src/i18n/CA.js.map +0 -1
  548. package/dist/src/i18n/EA.d.ts +0 -3
  549. package/dist/src/i18n/EA.d.ts.map +0 -1
  550. package/dist/src/i18n/EA.js +0 -16
  551. package/dist/src/i18n/EA.js.map +0 -1
  552. package/dist/src/i18n/FA.d.ts +0 -3
  553. package/dist/src/i18n/FA.d.ts.map +0 -1
  554. package/dist/src/i18n/FA.js +0 -17
  555. package/dist/src/i18n/FA.js.map +0 -1
  556. package/dist/src/i18n/GC.d.ts +0 -3
  557. package/dist/src/i18n/GC.d.ts.map +0 -1
  558. package/dist/src/i18n/GC.js +0 -16
  559. package/dist/src/i18n/GC.js.map +0 -1
  560. package/dist/src/i18n/I.d.ts +0 -3
  561. package/dist/src/i18n/I.d.ts.map +0 -1
  562. package/dist/src/i18n/I.js +0 -21
  563. package/dist/src/i18n/I.js.map +0 -1
  564. package/dist/src/i18n/M.d.ts +0 -3
  565. package/dist/src/i18n/M.d.ts.map +0 -1
  566. package/dist/src/i18n/M.js +0 -4
  567. package/dist/src/i18n/M.js.map +0 -1
  568. package/dist/src/i18n/O_E.d.ts +0 -3
  569. package/dist/src/i18n/O_E.d.ts.map +0 -1
  570. package/dist/src/i18n/O_E.js +0 -7
  571. package/dist/src/i18n/O_E.js.map +0 -1
  572. package/dist/src/i18n/PA.d.ts +0 -3
  573. package/dist/src/i18n/PA.d.ts.map +0 -1
  574. package/dist/src/i18n/PA.js +0 -16
  575. package/dist/src/i18n/PA.js.map +0 -1
  576. package/dist/src/i18n/SA.d.ts +0 -3
  577. package/dist/src/i18n/SA.d.ts.map +0 -1
  578. package/dist/src/i18n/SA.js +0 -16
  579. package/dist/src/i18n/SA.js.map +0 -1
  580. package/dist/src/i18n/TC.d.ts +0 -3
  581. package/dist/src/i18n/TC.d.ts.map +0 -1
  582. package/dist/src/i18n/TC.js +0 -16
  583. package/dist/src/i18n/TC.js.map +0 -1
  584. package/dist/src/i18n/VA.d.ts +0 -3
  585. package/dist/src/i18n/VA.d.ts.map +0 -1
  586. package/dist/src/i18n/VA.js +0 -16
  587. package/dist/src/i18n/VA.js.map +0 -1
  588. package/dist/src/i18n/Z.d.ts +0 -3
  589. package/dist/src/i18n/Z.d.ts.map +0 -1
  590. package/dist/src/i18n/Z.js +0 -22
  591. package/dist/src/i18n/Z.js.map +0 -1
  592. package/dist/src/i18n/fi-FI.d.ts +0 -192
  593. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  594. package/dist/src/i18n/fi-FI.js +0 -182
  595. package/dist/src/i18n/fi-FI.js.map +0 -1
  596. package/dist/src/i18n/index.d.ts +0 -20
  597. package/dist/src/i18n/index.d.ts.map +0 -1
  598. package/dist/src/i18n/index.js +0 -128
  599. package/dist/src/i18n/index.js.map +0 -1
  600. package/dist/src/i18n/sv-FI.d.ts +0 -3
  601. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  602. package/dist/src/i18n/sv-FI.js +0 -181
  603. package/dist/src/i18n/sv-FI.js.map +0 -1
  604. package/dist/src/ids.d.ts +0 -14
  605. package/dist/src/ids.d.ts.map +0 -1
  606. package/dist/src/ids.js +0 -28
  607. package/dist/src/ids.js.map +0 -1
  608. package/dist/src/index.d.ts +0 -19
  609. package/dist/src/index.d.ts.map +0 -1
  610. package/dist/src/index.js +0 -12
  611. package/dist/src/index.js.map +0 -1
  612. package/dist/src/parser/parseExam.d.ts +0 -2
  613. package/dist/src/parser/parseExam.d.ts.map +0 -1
  614. package/dist/src/parser/parseExam.js +0 -54
  615. package/dist/src/parser/parseExam.js.map +0 -1
  616. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  617. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  618. package/dist/src/parser/parseExamStructure.js +0 -40
  619. package/dist/src/parser/parseExamStructure.js.map +0 -1
  620. package/dist/src/renderAnnotations.d.ts +0 -7
  621. package/dist/src/renderAnnotations.d.ts.map +0 -1
  622. package/dist/src/renderAnnotations.js +0 -193
  623. package/dist/src/renderAnnotations.js.map +0 -1
  624. package/dist/src/scrollToHash.d.ts +0 -2
  625. package/dist/src/scrollToHash.d.ts.map +0 -1
  626. package/dist/src/scrollToHash.js +0 -24
  627. package/dist/src/scrollToHash.js.map +0 -1
  628. package/dist/src/shortDisplayNumber.d.ts +0 -2
  629. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  630. package/dist/src/shortDisplayNumber.js +0 -5
  631. package/dist/src/shortDisplayNumber.js.map +0 -1
  632. package/dist/src/store/answers/actions.d.ts +0 -33
  633. package/dist/src/store/answers/actions.d.ts.map +0 -1
  634. package/dist/src/store/answers/actions.js +0 -9
  635. package/dist/src/store/answers/actions.js.map +0 -1
  636. package/dist/src/store/answers/reducer.d.ts +0 -39
  637. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  638. package/dist/src/store/answers/reducer.js +0 -55
  639. package/dist/src/store/answers/reducer.js.map +0 -1
  640. package/dist/src/store/answers/sagas.d.ts +0 -8
  641. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  642. package/dist/src/store/answers/sagas.js +0 -60
  643. package/dist/src/store/answers/sagas.js.map +0 -1
  644. package/dist/src/store/audio/actions.d.ts +0 -29
  645. package/dist/src/store/audio/actions.d.ts.map +0 -1
  646. package/dist/src/store/audio/actions.js +0 -9
  647. package/dist/src/store/audio/actions.js.map +0 -1
  648. package/dist/src/store/audio/reducer.d.ts +0 -27
  649. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  650. package/dist/src/store/audio/reducer.js +0 -55
  651. package/dist/src/store/audio/reducer.js.map +0 -1
  652. package/dist/src/store/audio/sagas.d.ts +0 -3
  653. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  654. package/dist/src/store/audio/sagas.js +0 -68
  655. package/dist/src/store/audio/sagas.js.map +0 -1
  656. package/dist/src/store/cas/actions.d.ts +0 -19
  657. package/dist/src/store/cas/actions.d.ts.map +0 -1
  658. package/dist/src/store/cas/actions.js +0 -9
  659. package/dist/src/store/cas/actions.js.map +0 -1
  660. package/dist/src/store/cas/reducer.d.ts +0 -14
  661. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  662. package/dist/src/store/cas/reducer.js +0 -24
  663. package/dist/src/store/cas/reducer.js.map +0 -1
  664. package/dist/src/store/cas/sagas.d.ts +0 -18
  665. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  666. package/dist/src/store/cas/sagas.js +0 -36
  667. package/dist/src/store/cas/sagas.js.map +0 -1
  668. package/dist/src/store/countdown.d.ts +0 -4
  669. package/dist/src/store/countdown.d.ts.map +0 -1
  670. package/dist/src/store/countdown.js +0 -33
  671. package/dist/src/store/countdown.js.map +0 -1
  672. package/dist/src/store/index.d.ts +0 -78
  673. package/dist/src/store/index.d.ts.map +0 -1
  674. package/dist/src/store/index.js +0 -53
  675. package/dist/src/store/index.js.map +0 -1
  676. package/dist/src/store/selectors.d.ts +0 -9
  677. package/dist/src/store/selectors.d.ts.map +0 -1
  678. package/dist/src/store/selectors.js +0 -35
  679. package/dist/src/store/selectors.js.map +0 -1
  680. package/dist/src/types/ExamAnswer.d.ts +0 -22
  681. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  682. package/dist/src/types/ExamAnswer.js +0 -2
  683. package/dist/src/types/ExamAnswer.js.map +0 -1
  684. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  685. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  686. package/dist/src/types/ExamServerAPI.js +0 -2
  687. package/dist/src/types/ExamServerAPI.js.map +0 -1
  688. package/dist/src/types/GradingStructure.d.ts +0 -40
  689. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  690. package/dist/src/types/GradingStructure.js +0 -2
  691. package/dist/src/types/GradingStructure.js.map +0 -1
  692. package/dist/src/types/Score.d.ts +0 -92
  693. package/dist/src/types/Score.d.ts.map +0 -1
  694. package/dist/src/types/Score.js +0 -2
  695. package/dist/src/types/Score.js.map +0 -1
  696. package/dist/src/url.d.ts +0 -7
  697. package/dist/src/url.d.ts.map +0 -1
  698. package/dist/src/url.js +0 -12
  699. package/dist/src/url.js.map +0 -1
  700. package/dist/src/useCached.d.ts +0 -3
  701. package/dist/src/useCached.d.ts.map +0 -1
  702. package/dist/src/useCached.js +0 -6
  703. package/dist/src/useCached.js.map +0 -1
  704. package/dist/src/utils.d.ts +0 -15
  705. package/dist/src/utils.d.ts.map +0 -1
  706. package/dist/src/utils.js +0 -35
  707. package/dist/src/utils.js.map +0 -1
  708. package/dist/src/validateAnswers.d.ts +0 -16
  709. package/dist/src/validateAnswers.d.ts.map +0 -1
  710. package/dist/src/validateAnswers.js +0 -89
  711. package/dist/src/validateAnswers.js.map +0 -1
  712. 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,OA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AAM;QACR,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,6BA2B9B"}
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 { newAnnotation, setNewAnnotation, newAnnotationRef, setNewAnnotationRef, onSaveAnnotation } = useContext(AnnotationContext);
6
- if (!newAnnotation || !newAnnotationRef) {
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,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAChG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE/B,IAAI,CAAC,aAAa,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CACL,oBAAC,KAAK,IACJ,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,EAAE,EACtB,WAAW,EAAE,KAAK,EAAE,OAAe,EAA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,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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
- import { NewRenderableAnnotation, RenderableAnnotation } from '../../types/Score';
3
- export declare function isExistingAnnotation(annotation: NewRenderableAnnotation | RenderableAnnotation): annotation is RenderableAnnotation;
4
- export declare function markText(text: string, annotations: (RenderableAnnotation | NewRenderableAnnotation)[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
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,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAOjF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,uBAAuB,GAAG,oBAAoB,GACzD,UAAU,IAAI,oBAAoB,CAEpC;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,EAAE,EAC/D,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,EAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBA4GvD"}
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 { AnnotationMark } from './AnnotationMark';
4
- function getKey(annotation) {
5
- return isExistingAnnotation(annotation) ? annotation.annotationId + annotation.startIndex : annotation.startIndex;
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
- nodes.push(React.createElement("mark", { key: key, className: "e-annotation", "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "true" }));
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
- nodes.push(annotation.hidden ? (React.createElement("mark", { key: key, className: "e-annotation", "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "true" })) : (React.createElement(AnnotationMark, { key: key, annotation: annotation, markedText: annotatedTextWithCorrectedStartIndex, onClickAnnotation: onClickAnnotation, setNewAnnotationRef: setNewAnnotationRef })));
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,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,SAAS,MAAM,CAAC,UAA0D;IACxE,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,CAAA;AACnH,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,UAA0D;IAE1D,OAAO,cAAc,IAAI,UAAU,CAAA;AACrC,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,E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 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_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 -0,0 +1,45 @@
1
+ {
2
+ "codes": {
3
+ "A5": "FI – Suomi toisena kielenä ja kirjallisuus",
4
+ "A_E": "FI – Äidinkieli ja kirjallisuus, kirjoitustaidon koe",
5
+ "A_X": "FI – Äidinkieli ja kirjallisuus, lukutaidon koe",
6
+ "BA": "FI – Ruotsi, pitkä oppimäärä",
7
+ "BB": "FI – Ruotsi, keskipitkä oppimäärä",
8
+ "BI": "FI – Biologia",
9
+ "DC": "FI – Pohjoissaame, lyhyt oppimäärä",
10
+ "EA": "FI – Englanti, pitkä oppimäärä",
11
+ "EC": "FI – Englanti, lyhyt oppimäärä",
12
+ "ET": "FI – Elämänkatsomustieto",
13
+ "FA": "FI – Ranska, pitkä oppimäärä",
14
+ "FC": "FI – Ranska, lyhyt oppimäärä",
15
+ "FF": "FI – Filosofia",
16
+ "FY": "FI – Fysiikka",
17
+ "GC": "FI – Portugali, lyhyt oppimäärä",
18
+ "GE": "FI – Maantiede",
19
+ "HI": "FI – Historia",
20
+ "I": "Eenikielâ já kirjálâšvuotâ, anarâškielâ",
21
+ "IC": "FI – Inarinsaame, lyhyt oppimäärä",
22
+ "KE": "FI – Kemia",
23
+ "L1": "FI – Latina, lyhyt oppimäärä",
24
+ "L7": "FI – Latina, laajempi lyhyt oppimäärä",
25
+ "M": "FI – Matematiikka, pitkä oppimäärä",
26
+ "N": "FI – Matematiikka, lyhyt oppimäärä",
27
+ "PA": "FI – Espanja, pitkä oppimäärä",
28
+ "PC": "FI – Espanja, lyhyt oppimäärä",
29
+ "PS": "FI – Psykologia",
30
+ "QC": "FI – Koltansaame, lyhyt oppimäärä",
31
+ "SA": "FI – Saksa, pitkä oppimäärä",
32
+ "SC": "FI – Saksa, lyhyt oppimäärä",
33
+ "TC": "FI – Italia, lyhyt oppimäärä",
34
+ "TE": "FI – Terveystieto",
35
+ "UE": "FI – Evankelisluterilainen uskonto",
36
+ "UO": "FI – Ortodoksinen uskonto",
37
+ "VA": "FI – Venäjä, pitkä oppimäärä",
38
+ "VC": "FI – Venäjä, lyhyt oppimäärä",
39
+ "W": "Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll",
40
+ "YH": "FI – Yhteiskuntaoppi",
41
+ "Z": "Eatnigiella ja girjjálašvuohta, davvisámegiella"
42
+ },
43
+ "hearing-impaired": "(kuulovammaiset)",
44
+ "visually-impaired": "(näkövammaiset)"
45
+ }
@@ -0,0 +1,46 @@
1
+ export declare const examTitlesSv: {
2
+ codes: {
3
+ BI: string;
4
+ CA: string;
5
+ CB: string;
6
+ EA: string;
7
+ EC: string;
8
+ ET: string;
9
+ FA: string;
10
+ FC: string;
11
+ FF: string;
12
+ FY: string;
13
+ GC: string;
14
+ GE: string;
15
+ HI: string;
16
+ KE: string;
17
+ L1: string;
18
+ L7: string;
19
+ M: string;
20
+ N: string;
21
+ O5: string;
22
+ O_E: string;
23
+ O_X: string;
24
+ PA: string;
25
+ PC: string;
26
+ PS: string;
27
+ SA: string;
28
+ SC: string;
29
+ TC: string;
30
+ TE: string;
31
+ UE: string;
32
+ UO: string;
33
+ VA: string;
34
+ VC: string;
35
+ YH: string;
36
+ W: string;
37
+ Z: string;
38
+ I: string;
39
+ DC: string;
40
+ QC: string;
41
+ IC: string;
42
+ };
43
+ 'hearing-impaired': string;
44
+ 'visually-impaired': string;
45
+ };
46
+ //# sourceMappingURL=exam_titles_sv-FI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exam_titles_sv-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/exam_titles_sv-FI.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAA"}
@@ -0,0 +1,46 @@
1
+ export const examTitlesSv = {
2
+ codes: {
3
+ BI: 'SV – Biologi',
4
+ CA: 'SV – Finska, lång lärokurs',
5
+ CB: 'SV – Finska, medellång lärokurs',
6
+ EA: 'SV – Engelska, lång lärokurs',
7
+ EC: 'SV – Engelska, kort lärokurs',
8
+ ET: 'SV – Livsåskådningskunskap',
9
+ FA: 'SV – Franska, lång lärokurs',
10
+ FC: 'SV – Franska, kort lärokurs',
11
+ FF: 'SV – Filosofi',
12
+ FY: 'SV – Fysik',
13
+ GC: 'SV – Portugisiska, kort lärokurs',
14
+ GE: 'SV – Geografi',
15
+ HI: 'SV – Historia',
16
+ KE: 'SV – Kemi',
17
+ L1: 'SV – Latin, kort lärokurs',
18
+ L7: 'SV – Latin, utvidgad kort lärokurs',
19
+ M: 'SV – Matematik, lång lärokurs',
20
+ N: 'SV – Matematik, kort lärokurs',
21
+ O5: 'SV – Svenska som andraspråk och litteratur',
22
+ O_E: 'SV – Modersmål och litteratur, provet i skrivkompetens',
23
+ O_X: 'SV – Modersmål och litteratur, provet i läskompetens',
24
+ PA: 'SV – Spanska, lång lärokurs',
25
+ PC: 'SV – Spanska, kort lärokurs',
26
+ PS: 'SV – Psykologi',
27
+ SA: 'SV – Tyska, lång lärokurs',
28
+ SC: 'SV – Tyska, kort lärokurs',
29
+ TC: 'SV – Italienska, kort lärokurs',
30
+ TE: 'SV – Hälsokunskap',
31
+ UE: 'SV – Evangelisk-luthersk religion',
32
+ UO: 'SV – Ortodox religion',
33
+ VA: 'SV – Ryska, lång lärokurs',
34
+ VC: 'SV – Ryska, kort lärokurs',
35
+ YH: 'SV – Samhällslära',
36
+ W: 'Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll',
37
+ Z: 'Eatnigiella ja girjjálašvuohta, davvisámegiella',
38
+ I: 'Eenikielâ já kirjálâšvuotâ, anarâškielâ',
39
+ DC: 'SV – Nordsamiska, kort lärokurs',
40
+ QC: 'SV – Skoltsamiska, kort lärokurs',
41
+ IC: 'SV – Enaresamiska, kort lärokurs'
42
+ },
43
+ 'hearing-impaired': '(hörselskadade)',
44
+ 'visually-impaired': '(synskadade)'
45
+ };
46
+ //# sourceMappingURL=exam_titles_sv-FI.js.map
@@ -0,0 +1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,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
+ }