@digabi/exam-engine-core 23.4.6 → 23.4.7-rte-peer-dep.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 (654) hide show
  1. package/dist/__tests__/annotations.test.js +70 -148
  2. package/dist/__tests__/annotations.test.js.map +1 -1
  3. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  4. package/dist/main-bundle.js +1 -1
  5. package/package.json +4 -4
  6. package/dist/components/exam/ExamineExam.d.ts +0 -5
  7. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  8. package/dist/components/exam/ExamineExam.js +0 -20
  9. package/dist/components/exam/ExamineExam.js.map +0 -1
  10. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  11. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  12. package/dist/src/components/AnswerToolbar.js +0 -36
  13. package/dist/src/components/AnswerToolbar.js.map +0 -1
  14. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  15. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  16. package/dist/src/components/AnsweringInstructions.js +0 -24
  17. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  18. package/dist/src/components/DocumentTitle.d.ts +0 -5
  19. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  20. package/dist/src/components/DocumentTitle.js +0 -13
  21. package/dist/src/components/DocumentTitle.js.map +0 -1
  22. package/dist/src/components/NotificationIcon.d.ts +0 -4
  23. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  24. package/dist/src/components/NotificationIcon.js +0 -6
  25. package/dist/src/components/NotificationIcon.js.map +0 -1
  26. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  27. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  28. package/dist/src/components/RenderChildNodes.js +0 -7
  29. package/dist/src/components/RenderChildNodes.js.map +0 -1
  30. package/dist/src/components/RenderExamElements.d.ts +0 -6
  31. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  32. package/dist/src/components/RenderExamElements.js +0 -6
  33. package/dist/src/components/RenderExamElements.js.map +0 -1
  34. package/dist/src/components/RenderIf.d.ts +0 -4
  35. package/dist/src/components/RenderIf.d.ts.map +0 -1
  36. package/dist/src/components/RenderIf.js +0 -8
  37. package/dist/src/components/RenderIf.js.map +0 -1
  38. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  39. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  40. package/dist/src/components/ScreenReaderOnly.js +0 -3
  41. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  42. package/dist/src/components/SectionElement.d.ts +0 -4
  43. package/dist/src/components/SectionElement.d.ts.map +0 -1
  44. package/dist/src/components/SectionElement.js +0 -8
  45. package/dist/src/components/SectionElement.js.map +0 -1
  46. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  47. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  48. package/dist/src/components/attachments/Attachment.js +0 -8
  49. package/dist/src/components/attachments/Attachment.js.map +0 -1
  50. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  51. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  52. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  53. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  54. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  55. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  56. package/dist/src/components/attachments/Attachments.js +0 -55
  57. package/dist/src/components/attachments/Attachments.js.map +0 -1
  58. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  59. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  60. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  61. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  62. package/dist/src/components/attachments/Question.d.ts +0 -4
  63. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  64. package/dist/src/components/attachments/Question.js +0 -16
  65. package/dist/src/components/attachments/Question.js.map +0 -1
  66. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  67. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  68. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  69. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  70. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  71. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  72. package/dist/src/components/context/AnnotationProvider.js +0 -35
  73. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  74. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  75. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  76. package/dist/src/components/context/AttachmentContext.js +0 -12
  77. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  78. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  79. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  80. package/dist/src/components/context/CommonExamContext.js +0 -28
  81. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  82. package/dist/src/components/context/ExamContext.d.ts +0 -9
  83. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  84. package/dist/src/components/context/ExamContext.js +0 -11
  85. package/dist/src/components/context/ExamContext.js.map +0 -1
  86. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  87. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  88. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  89. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  90. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  91. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  92. package/dist/src/components/context/QuestionContext.js +0 -27
  93. package/dist/src/components/context/QuestionContext.js.map +0 -1
  94. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  95. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  96. package/dist/src/components/context/ResultsContext.js +0 -69
  97. package/dist/src/components/context/ResultsContext.js.map +0 -1
  98. package/dist/src/components/context/SectionContext.d.ts +0 -12
  99. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  100. package/dist/src/components/context/SectionContext.js +0 -21
  101. package/dist/src/components/context/SectionContext.js.map +0 -1
  102. package/dist/src/components/context/TOCContext.d.ts +0 -7
  103. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  104. package/dist/src/components/context/TOCContext.js +0 -3
  105. package/dist/src/components/context/TOCContext.js.map +0 -1
  106. package/dist/src/components/context/withContext.d.ts +0 -3
  107. package/dist/src/components/context/withContext.d.ts.map +0 -1
  108. package/dist/src/components/context/withContext.js +0 -12
  109. package/dist/src/components/context/withContext.js.map +0 -1
  110. package/dist/src/components/exam/Attachment.d.ts +0 -4
  111. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  112. package/dist/src/components/exam/Attachment.js +0 -8
  113. package/dist/src/components/exam/Attachment.js.map +0 -1
  114. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  115. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  116. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  117. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  118. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  119. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  120. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  121. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  122. package/dist/src/components/exam/Exam.d.ts +0 -48
  123. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  124. package/dist/src/components/exam/Exam.js +0 -195
  125. package/dist/src/components/exam/Exam.js.map +0 -1
  126. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  127. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  128. package/dist/src/components/exam/ExamFooter.js +0 -6
  129. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  130. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  131. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  132. package/dist/src/components/exam/ExamInstruction.js +0 -6
  133. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  134. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  135. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  136. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  137. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  138. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  139. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  140. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  141. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  142. package/dist/src/components/exam/Hints.d.ts +0 -5
  143. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  144. package/dist/src/components/exam/Hints.js +0 -31
  145. package/dist/src/components/exam/Hints.js.map +0 -1
  146. package/dist/src/components/exam/Question.d.ts +0 -8
  147. package/dist/src/components/exam/Question.d.ts.map +0 -1
  148. package/dist/src/components/exam/Question.js +0 -75
  149. package/dist/src/components/exam/Question.js.map +0 -1
  150. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  151. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  152. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  153. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  154. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  155. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  156. package/dist/src/components/exam/QuestionTitle.js +0 -26
  157. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  158. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  159. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  160. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  161. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  162. package/dist/src/components/exam/Section.d.ts +0 -4
  163. package/dist/src/components/exam/Section.d.ts.map +0 -1
  164. package/dist/src/components/exam/Section.js +0 -49
  165. package/dist/src/components/exam/Section.js.map +0 -1
  166. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  167. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  168. package/dist/src/components/exam/SectionInstruction.js +0 -6
  169. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  170. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  171. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  172. package/dist/src/components/exam/SectionTitle.js +0 -30
  173. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  174. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  175. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  176. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  177. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  178. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  179. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  180. package/dist/src/components/exam/TextAnswer.js +0 -20
  181. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  182. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  183. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  184. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  185. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  186. package/dist/src/components/exam/UndoView.d.ts +0 -35
  187. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  188. package/dist/src/components/exam/UndoView.js +0 -162
  189. package/dist/src/components/exam/UndoView.js.map +0 -1
  190. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  191. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  192. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  193. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  194. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  195. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  196. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  197. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  198. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  199. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  200. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  201. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  202. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  203. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  204. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  205. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  206. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  207. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  208. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  209. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  210. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  211. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  212. package/dist/src/components/grading/GradingAnswer.js +0 -306
  213. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  214. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  215. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  216. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  217. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  218. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  219. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  220. package/dist/src/components/grading/editAnnotations.js +0 -190
  221. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  222. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  223. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  224. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  225. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  226. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  227. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  228. package/dist/src/components/grading/largeImageDetector.js +0 -45
  229. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  230. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  231. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  232. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  233. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  234. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  235. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  236. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  237. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  238. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  239. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  240. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  241. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  242. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  243. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  244. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  245. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  246. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  247. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  248. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  249. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  250. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  251. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  252. package/dist/src/components/grading-instructions/Question.js +0 -14
  253. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  254. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  255. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  256. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  257. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  258. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  259. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  260. package/dist/src/components/grading-instructions/Recording.js +0 -19
  261. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  262. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  263. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  264. package/dist/src/components/grading-instructions/Section.js +0 -10
  265. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  266. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  267. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  268. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  269. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  270. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  271. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  272. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  273. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  274. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  275. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  276. package/dist/src/components/results/DropdownAnswer.js +0 -43
  277. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  278. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  279. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  280. package/dist/src/components/results/EndExamSession.js +0 -20
  281. package/dist/src/components/results/EndExamSession.js.map +0 -1
  282. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  283. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  284. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  285. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  286. package/dist/src/components/results/Question.d.ts +0 -4
  287. package/dist/src/components/results/Question.d.ts.map +0 -1
  288. package/dist/src/components/results/Question.js +0 -31
  289. package/dist/src/components/results/Question.js.map +0 -1
  290. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  291. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  292. package/dist/src/components/results/QuestionTitle.js +0 -26
  293. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  294. package/dist/src/components/results/Results.d.ts +0 -19
  295. package/dist/src/components/results/Results.d.ts.map +0 -1
  296. package/dist/src/components/results/Results.js +0 -136
  297. package/dist/src/components/results/Results.js.map +0 -1
  298. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  299. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  300. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  301. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  302. package/dist/src/components/results/Section.d.ts +0 -4
  303. package/dist/src/components/results/Section.d.ts.map +0 -1
  304. package/dist/src/components/results/Section.js +0 -11
  305. package/dist/src/components/results/Section.js.map +0 -1
  306. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  307. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  308. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  309. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  310. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  311. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  312. package/dist/src/components/results/TextAnswer.js +0 -48
  313. package/dist/src/components/results/TextAnswer.js.map +0 -1
  314. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  315. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  316. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  317. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  318. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  319. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  320. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  321. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  322. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  323. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  324. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  325. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  326. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  327. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  328. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  329. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  330. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  331. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  332. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  333. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  334. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  335. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  336. package/dist/src/components/shared/AnnotatableText.js +0 -73
  337. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  338. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  339. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  340. package/dist/src/components/shared/AnnotationLists.js +0 -17
  341. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  342. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  343. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  344. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  345. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  346. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  347. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  348. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  349. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  350. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  351. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  352. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  353. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  354. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  355. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  356. package/dist/src/components/shared/AttachmentLink.js +0 -28
  357. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  358. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  359. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  360. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  361. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  362. package/dist/src/components/shared/Audio.d.ts +0 -6
  363. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  364. package/dist/src/components/shared/Audio.js +0 -31
  365. package/dist/src/components/shared/Audio.js.map +0 -1
  366. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  367. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  368. package/dist/src/components/shared/AudioGroup.js +0 -9
  369. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  370. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  371. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  372. package/dist/src/components/shared/AudioTest.js +0 -34
  373. package/dist/src/components/shared/AudioTest.js.map +0 -1
  374. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  375. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  376. package/dist/src/components/shared/ExamTranslation.js +0 -9
  377. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  378. package/dist/src/components/shared/File.d.ts +0 -6
  379. package/dist/src/components/shared/File.d.ts.map +0 -1
  380. package/dist/src/components/shared/File.js +0 -15
  381. package/dist/src/components/shared/File.js.map +0 -1
  382. package/dist/src/components/shared/Footer.d.ts +0 -5
  383. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  384. package/dist/src/components/shared/Footer.js +0 -3
  385. package/dist/src/components/shared/Footer.js.map +0 -1
  386. package/dist/src/components/shared/Formula.d.ts +0 -6
  387. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  388. package/dist/src/components/shared/Formula.js +0 -13
  389. package/dist/src/components/shared/Formula.js.map +0 -1
  390. package/dist/src/components/shared/Image.d.ts +0 -6
  391. package/dist/src/components/shared/Image.d.ts.map +0 -1
  392. package/dist/src/components/shared/Image.js +0 -30
  393. package/dist/src/components/shared/Image.js.map +0 -1
  394. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  395. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  396. package/dist/src/components/shared/ImageOverlay.js +0 -43
  397. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  398. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  399. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  400. package/dist/src/components/shared/QuestionNumber.js +0 -12
  401. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  402. package/dist/src/components/shared/Reference.d.ts +0 -6
  403. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  404. package/dist/src/components/shared/Reference.js +0 -72
  405. package/dist/src/components/shared/Reference.js.map +0 -1
  406. package/dist/src/components/shared/References.d.ts +0 -6
  407. package/dist/src/components/shared/References.d.ts.map +0 -1
  408. package/dist/src/components/shared/References.js +0 -26
  409. package/dist/src/components/shared/References.js.map +0 -1
  410. package/dist/src/components/shared/Score.d.ts +0 -8
  411. package/dist/src/components/shared/Score.d.ts.map +0 -1
  412. package/dist/src/components/shared/Score.js +0 -13
  413. package/dist/src/components/shared/Score.js.map +0 -1
  414. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  415. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  416. package/dist/src/components/shared/TOCQuestion.js +0 -77
  417. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  418. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  419. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  420. package/dist/src/components/shared/TOCSection.js +0 -15
  421. package/dist/src/components/shared/TOCSection.js.map +0 -1
  422. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  423. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  424. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  425. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  426. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  427. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  428. package/dist/src/components/shared/TableOfContents.js +0 -61
  429. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  430. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  431. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  432. package/dist/src/components/shared/VersionNumber.js +0 -10
  433. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  434. package/dist/src/components/shared/Video.d.ts +0 -6
  435. package/dist/src/components/shared/Video.d.ts.map +0 -1
  436. package/dist/src/components/shared/Video.js +0 -22
  437. package/dist/src/components/shared/Video.js.map +0 -1
  438. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  439. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  440. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  441. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  442. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  443. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  444. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  445. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  446. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  447. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  448. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  449. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  450. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  451. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  452. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  453. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  454. package/dist/src/components/surround.d.ts +0 -8
  455. package/dist/src/components/surround.d.ts.map +0 -1
  456. package/dist/src/components/surround.js +0 -19
  457. package/dist/src/components/surround.js.map +0 -1
  458. package/dist/src/createRenderChildNodes.d.ts +0 -17
  459. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  460. package/dist/src/createRenderChildNodes.js +0 -64
  461. package/dist/src/createRenderChildNodes.js.map +0 -1
  462. package/dist/src/dom-utils.d.ts +0 -20
  463. package/dist/src/dom-utils.d.ts.map +0 -1
  464. package/dist/src/dom-utils.js +0 -164
  465. package/dist/src/dom-utils.js.map +0 -1
  466. package/dist/src/fonts.d.ts +0 -5
  467. package/dist/src/fonts.d.ts.map +0 -1
  468. package/dist/src/fonts.js +0 -16
  469. package/dist/src/fonts.js.map +0 -1
  470. package/dist/src/formatting.d.ts +0 -2
  471. package/dist/src/formatting.d.ts.map +0 -1
  472. package/dist/src/formatting.js +0 -4
  473. package/dist/src/formatting.js.map +0 -1
  474. package/dist/src/getDisplayName.d.ts +0 -4
  475. package/dist/src/getDisplayName.d.ts.map +0 -1
  476. package/dist/src/getDisplayName.js +0 -5
  477. package/dist/src/getDisplayName.js.map +0 -1
  478. package/dist/src/i18n/A_E.d.ts +0 -3
  479. package/dist/src/i18n/A_E.d.ts.map +0 -1
  480. package/dist/src/i18n/A_E.js +0 -8
  481. package/dist/src/i18n/A_E.js.map +0 -1
  482. package/dist/src/i18n/BA.d.ts +0 -3
  483. package/dist/src/i18n/BA.d.ts.map +0 -1
  484. package/dist/src/i18n/BA.js +0 -11
  485. package/dist/src/i18n/BA.js.map +0 -1
  486. package/dist/src/i18n/CA.d.ts +0 -3
  487. package/dist/src/i18n/CA.d.ts.map +0 -1
  488. package/dist/src/i18n/CA.js +0 -11
  489. package/dist/src/i18n/CA.js.map +0 -1
  490. package/dist/src/i18n/EA.d.ts +0 -3
  491. package/dist/src/i18n/EA.d.ts.map +0 -1
  492. package/dist/src/i18n/EA.js +0 -16
  493. package/dist/src/i18n/EA.js.map +0 -1
  494. package/dist/src/i18n/FA.d.ts +0 -3
  495. package/dist/src/i18n/FA.d.ts.map +0 -1
  496. package/dist/src/i18n/FA.js +0 -17
  497. package/dist/src/i18n/FA.js.map +0 -1
  498. package/dist/src/i18n/GC.d.ts +0 -3
  499. package/dist/src/i18n/GC.d.ts.map +0 -1
  500. package/dist/src/i18n/GC.js +0 -16
  501. package/dist/src/i18n/GC.js.map +0 -1
  502. package/dist/src/i18n/I.d.ts +0 -3
  503. package/dist/src/i18n/I.d.ts.map +0 -1
  504. package/dist/src/i18n/I.js +0 -21
  505. package/dist/src/i18n/I.js.map +0 -1
  506. package/dist/src/i18n/M.d.ts +0 -3
  507. package/dist/src/i18n/M.d.ts.map +0 -1
  508. package/dist/src/i18n/M.js +0 -4
  509. package/dist/src/i18n/M.js.map +0 -1
  510. package/dist/src/i18n/O_E.d.ts +0 -3
  511. package/dist/src/i18n/O_E.d.ts.map +0 -1
  512. package/dist/src/i18n/O_E.js +0 -7
  513. package/dist/src/i18n/O_E.js.map +0 -1
  514. package/dist/src/i18n/PA.d.ts +0 -3
  515. package/dist/src/i18n/PA.d.ts.map +0 -1
  516. package/dist/src/i18n/PA.js +0 -16
  517. package/dist/src/i18n/PA.js.map +0 -1
  518. package/dist/src/i18n/SA.d.ts +0 -3
  519. package/dist/src/i18n/SA.d.ts.map +0 -1
  520. package/dist/src/i18n/SA.js +0 -16
  521. package/dist/src/i18n/SA.js.map +0 -1
  522. package/dist/src/i18n/TC.d.ts +0 -3
  523. package/dist/src/i18n/TC.d.ts.map +0 -1
  524. package/dist/src/i18n/TC.js +0 -16
  525. package/dist/src/i18n/TC.js.map +0 -1
  526. package/dist/src/i18n/VA.d.ts +0 -3
  527. package/dist/src/i18n/VA.d.ts.map +0 -1
  528. package/dist/src/i18n/VA.js +0 -16
  529. package/dist/src/i18n/VA.js.map +0 -1
  530. package/dist/src/i18n/Z.d.ts +0 -3
  531. package/dist/src/i18n/Z.d.ts.map +0 -1
  532. package/dist/src/i18n/Z.js +0 -22
  533. package/dist/src/i18n/Z.js.map +0 -1
  534. package/dist/src/i18n/fi-FI.d.ts +0 -192
  535. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  536. package/dist/src/i18n/fi-FI.js +0 -182
  537. package/dist/src/i18n/fi-FI.js.map +0 -1
  538. package/dist/src/i18n/index.d.ts +0 -20
  539. package/dist/src/i18n/index.d.ts.map +0 -1
  540. package/dist/src/i18n/index.js +0 -128
  541. package/dist/src/i18n/index.js.map +0 -1
  542. package/dist/src/i18n/sv-FI.d.ts +0 -3
  543. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  544. package/dist/src/i18n/sv-FI.js +0 -181
  545. package/dist/src/i18n/sv-FI.js.map +0 -1
  546. package/dist/src/ids.d.ts +0 -14
  547. package/dist/src/ids.d.ts.map +0 -1
  548. package/dist/src/ids.js +0 -28
  549. package/dist/src/ids.js.map +0 -1
  550. package/dist/src/index.d.ts +0 -19
  551. package/dist/src/index.d.ts.map +0 -1
  552. package/dist/src/index.js +0 -12
  553. package/dist/src/index.js.map +0 -1
  554. package/dist/src/parser/parseExam.d.ts +0 -2
  555. package/dist/src/parser/parseExam.d.ts.map +0 -1
  556. package/dist/src/parser/parseExam.js +0 -54
  557. package/dist/src/parser/parseExam.js.map +0 -1
  558. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  559. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  560. package/dist/src/parser/parseExamStructure.js +0 -40
  561. package/dist/src/parser/parseExamStructure.js.map +0 -1
  562. package/dist/src/renderAnnotations.d.ts +0 -7
  563. package/dist/src/renderAnnotations.d.ts.map +0 -1
  564. package/dist/src/renderAnnotations.js +0 -193
  565. package/dist/src/renderAnnotations.js.map +0 -1
  566. package/dist/src/scrollToHash.d.ts +0 -2
  567. package/dist/src/scrollToHash.d.ts.map +0 -1
  568. package/dist/src/scrollToHash.js +0 -24
  569. package/dist/src/scrollToHash.js.map +0 -1
  570. package/dist/src/shortDisplayNumber.d.ts +0 -2
  571. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  572. package/dist/src/shortDisplayNumber.js +0 -5
  573. package/dist/src/shortDisplayNumber.js.map +0 -1
  574. package/dist/src/store/answers/actions.d.ts +0 -33
  575. package/dist/src/store/answers/actions.d.ts.map +0 -1
  576. package/dist/src/store/answers/actions.js +0 -9
  577. package/dist/src/store/answers/actions.js.map +0 -1
  578. package/dist/src/store/answers/reducer.d.ts +0 -39
  579. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  580. package/dist/src/store/answers/reducer.js +0 -55
  581. package/dist/src/store/answers/reducer.js.map +0 -1
  582. package/dist/src/store/answers/sagas.d.ts +0 -8
  583. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  584. package/dist/src/store/answers/sagas.js +0 -60
  585. package/dist/src/store/answers/sagas.js.map +0 -1
  586. package/dist/src/store/audio/actions.d.ts +0 -29
  587. package/dist/src/store/audio/actions.d.ts.map +0 -1
  588. package/dist/src/store/audio/actions.js +0 -9
  589. package/dist/src/store/audio/actions.js.map +0 -1
  590. package/dist/src/store/audio/reducer.d.ts +0 -27
  591. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  592. package/dist/src/store/audio/reducer.js +0 -55
  593. package/dist/src/store/audio/reducer.js.map +0 -1
  594. package/dist/src/store/audio/sagas.d.ts +0 -3
  595. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  596. package/dist/src/store/audio/sagas.js +0 -68
  597. package/dist/src/store/audio/sagas.js.map +0 -1
  598. package/dist/src/store/cas/actions.d.ts +0 -19
  599. package/dist/src/store/cas/actions.d.ts.map +0 -1
  600. package/dist/src/store/cas/actions.js +0 -9
  601. package/dist/src/store/cas/actions.js.map +0 -1
  602. package/dist/src/store/cas/reducer.d.ts +0 -14
  603. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  604. package/dist/src/store/cas/reducer.js +0 -24
  605. package/dist/src/store/cas/reducer.js.map +0 -1
  606. package/dist/src/store/cas/sagas.d.ts +0 -18
  607. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  608. package/dist/src/store/cas/sagas.js +0 -36
  609. package/dist/src/store/cas/sagas.js.map +0 -1
  610. package/dist/src/store/countdown.d.ts +0 -4
  611. package/dist/src/store/countdown.d.ts.map +0 -1
  612. package/dist/src/store/countdown.js +0 -33
  613. package/dist/src/store/countdown.js.map +0 -1
  614. package/dist/src/store/index.d.ts +0 -78
  615. package/dist/src/store/index.d.ts.map +0 -1
  616. package/dist/src/store/index.js +0 -53
  617. package/dist/src/store/index.js.map +0 -1
  618. package/dist/src/store/selectors.d.ts +0 -9
  619. package/dist/src/store/selectors.d.ts.map +0 -1
  620. package/dist/src/store/selectors.js +0 -35
  621. package/dist/src/store/selectors.js.map +0 -1
  622. package/dist/src/types/ExamAnswer.d.ts +0 -22
  623. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  624. package/dist/src/types/ExamAnswer.js +0 -2
  625. package/dist/src/types/ExamAnswer.js.map +0 -1
  626. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  627. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  628. package/dist/src/types/ExamServerAPI.js +0 -2
  629. package/dist/src/types/ExamServerAPI.js.map +0 -1
  630. package/dist/src/types/GradingStructure.d.ts +0 -40
  631. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  632. package/dist/src/types/GradingStructure.js +0 -2
  633. package/dist/src/types/GradingStructure.js.map +0 -1
  634. package/dist/src/types/Score.d.ts +0 -92
  635. package/dist/src/types/Score.d.ts.map +0 -1
  636. package/dist/src/types/Score.js +0 -2
  637. package/dist/src/types/Score.js.map +0 -1
  638. package/dist/src/url.d.ts +0 -7
  639. package/dist/src/url.d.ts.map +0 -1
  640. package/dist/src/url.js +0 -12
  641. package/dist/src/url.js.map +0 -1
  642. package/dist/src/useCached.d.ts +0 -3
  643. package/dist/src/useCached.d.ts.map +0 -1
  644. package/dist/src/useCached.js +0 -6
  645. package/dist/src/useCached.js.map +0 -1
  646. package/dist/src/utils.d.ts +0 -15
  647. package/dist/src/utils.d.ts.map +0 -1
  648. package/dist/src/utils.js +0 -35
  649. package/dist/src/utils.js.map +0 -1
  650. package/dist/src/validateAnswers.d.ts +0 -16
  651. package/dist/src/validateAnswers.d.ts.map +0 -1
  652. package/dist/src/validateAnswers.js +0 -89
  653. package/dist/src/validateAnswers.js.map +0 -1
  654. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -16,7 +16,6 @@ const Attachments_1 = __importDefault(require("../src/components/attachments/Att
16
16
  const Exam_1 = __importDefault(require("../src/components/exam/Exam"));
17
17
  const GradingInstructions_1 = __importDefault(require("../src/components/grading-instructions/GradingInstructions"));
18
18
  const examServerApi_1 = require("./examServerApi");
19
- const lodash_1 = require("lodash");
20
19
  class IntersectionObserver {
21
20
  constructor() {
22
21
  this.root = null;
@@ -50,218 +49,141 @@ describe('Annotations', () => {
50
49
  window.scrollTo.mockReset();
51
50
  document.execCommand.mockReset();
52
51
  });
53
- // Do NOT modify the line breaks and indentations below
54
- const defaultTextToAnnotate = `
55
- Valitse jokin pienempi tai suurempi yhteisö – esimerkiksi jokin koulu, katsomuksellinen ryhmä tai valtio –
56
- ja pohdi, mikä ero valitsemassasi yhteisössä on moraalin ja tapojen välillä.
57
- `;
58
- const defaultAnnotationAnchor = 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0';
52
+ const defaultTextToAnnotate = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
53
+ const defaultAnnotationAnchor = 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:0 > #text:0';
59
54
  it('popup is rendered', async () => {
60
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
55
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
61
56
  await annotateText(exam, defaultAnnotationAnchor);
62
- expect(exam.getByTestId('e-popup')).toBeVisible();
57
+ expect(exam.getByTestId('annotation-popup')).toBeVisible();
63
58
  });
64
59
  it('popup is not rendered if annotation props are not passed', async () => {
65
60
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps() }));
66
61
  const text = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
67
62
  const textElement = exam.getByText(text);
68
- mockWindowSelection(text, textElement, text.length);
63
+ mockWindowSelection(text, textElement, 0, text.length);
69
64
  await user_event_1.default.click(textElement);
70
- expect(exam.queryByTestId('e-popup')).not.toBeInTheDocument();
65
+ expect(exam.queryByTestId('annotation-popup')).not.toBeInTheDocument();
71
66
  });
72
67
  it('callback is called when annotation is saved', async () => {
73
68
  const saveAnnotationMock = jest.fn();
74
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: saveAnnotationMock }));
69
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: saveAnnotationMock }));
75
70
  await annotateText(exam, defaultAnnotationAnchor);
76
- const textbox = exam.container.querySelector('.comment-content');
71
+ const textbox = exam.getByTestId('edit-comment');
77
72
  react_1.fireEvent.input(textbox, {
78
- target: { innerText: 'New comment', innerHTML: 'New comment' }
73
+ target: { innerText: 'New Value', innerHTML: 'New Value' }
79
74
  });
80
- await user_event_1.default.click(exam.getByText('Tallenna'));
81
- const annotationPart = {
82
- annotationAnchor: defaultAnnotationAnchor,
83
- selectedText: defaultTextToAnnotate,
84
- startIndex: 0,
85
- length: defaultTextToAnnotate.length
86
- };
75
+ await user_event_1.default.click(exam.getByText('Vastaa'));
87
76
  expect(saveAnnotationMock).toHaveBeenCalledTimes(1);
88
77
  expect(saveAnnotationMock).toHaveBeenCalledWith({
89
- annotationParts: [annotationPart],
78
+ annotationAnchor: defaultAnnotationAnchor,
79
+ annotationId: undefined,
90
80
  displayNumber: '2',
91
- selectedText: defaultTextToAnnotate
92
- }, 'New comment');
81
+ length: defaultTextToAnnotate.length,
82
+ message: 'New Value',
83
+ selectedText: defaultTextToAnnotate,
84
+ startIndex: 0
85
+ });
93
86
  });
94
87
  it('popup field is empty when creating new annotation', async () => {
95
- var _a;
96
88
  const annotationAnchor_7_1 = 'e:exam:0 > e:section:2 > e:question:7 > e:question:7.1 > e:question-title:0 > span:0 > #text:0';
97
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
89
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
98
90
  await annotateText(exam, defaultAnnotationAnchor);
99
- const textbox = exam.container.querySelector('.comment-content');
91
+ const textbox = exam.getByTestId('edit-comment');
100
92
  react_1.fireEvent.input(textbox, {
101
93
  target: { innerText: 'New Value', innerHTML: 'New Value' }
102
94
  });
103
- await user_event_1.default.click(exam.getByText('Tallenna'));
95
+ await user_event_1.default.click(exam.getByText('Vastaa'));
104
96
  // text picked by getMarkedText includes leading/trailing whitespace, so they must be here too
105
97
  await annotateText(exam, annotationAnchor_7_1);
106
- expect((_a = exam.container.querySelector('.comment-content')) === null || _a === void 0 ? void 0 : _a.textContent).toHaveLength(0);
98
+ expect(exam.getByTestId('edit-comment').textContent).toHaveLength(0);
107
99
  });
108
100
  it('callback is called when annotation is clicked', async () => {
109
101
  const clickAnnotationMock = jest.fn();
110
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: createAnnotations([{ id: 1, startIndex: 5, selectedText: 'moraali että' }]), onClickAnnotation: clickAnnotationMock, onSaveAnnotation: () => { } }));
102
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: { [defaultAnnotationAnchor]: [createAnnotation(1, 5, 12, 'moraali että')] }, onClickAnnotation: clickAnnotationMock, onSaveAnnotation: () => { } }));
111
103
  await user_event_1.default.click(exam.container.querySelector('[data-annotation-id="1"]'));
112
- const clickedAnnotation = {
104
+ expect(clickAnnotationMock).toHaveBeenCalledTimes(1);
105
+ expect(clickAnnotationMock).toHaveBeenCalledWith(expect.anything(), {
113
106
  annotationAnchor: defaultAnnotationAnchor,
114
107
  annotationId: 1,
108
+ displayNumber: '',
115
109
  hidden: false,
116
110
  length: 12,
111
+ message: '',
117
112
  selectedText: 'moraali että',
118
- startIndex: 5,
119
- markNumber: 1
120
- };
121
- expect(clickAnnotationMock).toHaveBeenCalledTimes(1);
122
- expect(clickAnnotationMock).toHaveBeenCalledWith(expect.anything(), clickedAnnotation);
113
+ startIndex: 5
114
+ });
123
115
  });
124
116
  it('annotations are added to dom when provided', () => {
125
117
  var _a, _b;
126
118
  const annotationProps = {
127
- annotations: createAnnotations([
128
- { id: 1, startIndex: 27, selectedText: 'pienempi' },
129
- { id: 3, startIndex: 166, selectedText: 'yhteisössä' }
130
- ]),
119
+ annotations: {
120
+ [defaultAnnotationAnchor]: [createAnnotation(1, 5, 7, 'moraali'), createAnnotation(3, 18, 5, 'tavat')]
121
+ },
131
122
  onClickAnnotation: () => { },
132
123
  onSaveAnnotation: () => { }
133
124
  };
134
125
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
135
126
  expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
136
- expect((_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.textContent).toBe('pienempi');
137
- expect(exam.container.querySelector('[data-annotation-id="1"] sup')).toHaveAttribute('data-content', '1');
127
+ expect((_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.textContent).toBe('moraali');
138
128
  expect(exam.container.querySelector('[data-annotation-id="3"]')).toBeInTheDocument();
139
- expect((_b = exam.container.querySelector('[data-annotation-id="3"]')) === null || _b === void 0 ? void 0 : _b.textContent).toBe('yhteisössä');
140
- expect(exam.container.querySelector('[data-annotation-id="3"] sup')).toHaveAttribute('data-content', '2');
141
- });
142
- it('"August 2024" annotations are added to dom when provided', () => {
143
- var _a;
144
- /** the difference of startIndex between an "August 2024 annotation" and a normal annotation
145
- * (in this case, but the index varies depending on the exam content)
146
- */
147
- const startIndexDifference = 24;
148
- const annotationProps = {
149
- annotations: createAnnotations([{ id: 1, startIndex: 166 - startIndexDifference, selectedText: 'yhteisössä' }]),
150
- onClickAnnotation: () => { },
151
- onSaveAnnotation: () => { }
152
- };
153
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
154
- expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
155
- expect((_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.textContent).toBe('yhteisössä');
156
- expect(exam.container.querySelector('[data-annotation-id="1"] sup')).toHaveAttribute('data-content', '1');
157
- });
158
- it('if two annotations have same id, only latter renders <sup>', () => {
159
- const annotationProps = {
160
- annotations: createAnnotations([
161
- { id: 1, startIndex: 71, selectedText: 'jokin' },
162
- { id: 1, startIndex: 77, selectedText: 'koulu' },
163
- { id: 2, startIndex: 142, selectedText: 'mikä' },
164
- { id: 2, startIndex: 147, selectedText: 'ero' }
165
- ]),
166
- onClickAnnotation: () => { },
167
- onSaveAnnotation: () => { }
168
- };
169
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
170
- const marks = (id) => exam.container.querySelectorAll(`.e-annotation[data-annotation-id="${id}"]`);
171
- const marksId1 = marks('1');
172
- const marksId2 = marks('2');
173
- expect(marksId1[0].textContent).toBe('jokin');
174
- expect(marksId1[0].querySelector('sup')).not.toBeInTheDocument();
175
- expect(marksId1[1].textContent).toBe('koulu');
176
- expect(marksId1[1]).toBeInTheDocument();
177
- expect(marksId1[1].querySelector('sup')).toHaveAttribute('data-content', '1');
178
- expect(marksId2[0].textContent).toBe('mikä');
179
- expect(marksId2[0].querySelector('sup')).not.toBeInTheDocument();
180
- expect(marksId2[1].textContent).toBe('ero');
181
- expect(marksId2[1]).toBeInTheDocument();
182
- expect(marksId2[1].querySelector('sup')).toHaveAttribute('data-content', '2');
129
+ expect((_b = exam.container.querySelector('[data-annotation-id="3"]')) === null || _b === void 0 ? void 0 : _b.textContent).toBe('tavat');
183
130
  });
184
131
  it('hidden annotation works correctly', () => {
185
132
  var _a, _b;
186
- const annotations = createAnnotations([{ id: 1, startIndex: 59, selectedText: 'esimerkiksi', hidden: true }]);
187
- const annotationProps = {
188
- annotations,
189
- onClickAnnotation: () => { },
190
- onSaveAnnotation: () => { }
191
- };
192
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
193
- expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
194
- expect(exam.container.querySelector('[data-annotation-id="1"] sup')).not.toBeInTheDocument();
195
- expect((_b = (_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.textContent).toBe(defaultTextToAnnotate);
196
- });
197
- it('annotations can not overlap — overlapping annotations are not rendered', () => {
198
- var _a, _b, _c, _d;
199
- const annotations = createAnnotations([
200
- { id: 1, startIndex: 59, selectedText: 'esimerkiksi' },
201
- { id: 2, startIndex: 62, selectedText: 'merkiksi jo' },
202
- { id: 3, startIndex: 65, selectedText: 'kiksi jokin' },
203
- { id: 4, startIndex: 71, selectedText: 'jokin koulu' } // does NOT overlap with the first annotation
204
- ]);
205
133
  const annotationProps = {
206
- annotations,
134
+ annotations: {
135
+ [defaultAnnotationAnchor]: [
136
+ {
137
+ annotationId: 1,
138
+ annotationAnchor: defaultAnnotationAnchor,
139
+ hidden: true,
140
+ startIndex: 24,
141
+ length: 8,
142
+ message: '',
143
+ displayNumber: '',
144
+ selectedText: 'pyrkivät'
145
+ }
146
+ ]
147
+ },
207
148
  onClickAnnotation: () => { },
208
149
  onSaveAnnotation: () => { }
209
150
  };
210
151
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
211
152
  expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
212
- expect(exam.container.querySelector('[data-annotation-id="1"] sup')).toBeInTheDocument();
213
- expect((_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.textContent).toBe('esimerkiksi');
214
- expect(exam.container.querySelector('[data-annotation-id="2"]')).toBeInTheDocument();
215
- expect(exam.container.querySelector('[data-annotation-id="2"] sup')).not.toBeInTheDocument();
216
- expect((_b = exam.container.querySelector('[data-annotation-id="2"]')) === null || _b === void 0 ? void 0 : _b.textContent).toBe('');
217
- expect(exam.container.querySelector('[data-annotation-id="3"]')).toBeInTheDocument();
218
- expect(exam.container.querySelector('[data-annotation-id="3"] sup')).not.toBeInTheDocument();
219
- expect((_c = exam.container.querySelector('[data-annotation-id="2"]')) === null || _c === void 0 ? void 0 : _c.textContent).toBe('');
220
- expect(exam.container.querySelector('[data-annotation-id="4"]')).toBeInTheDocument();
221
- expect(exam.container.querySelector('[data-annotation-id="4"]')).toBeInTheDocument();
222
- expect((_d = exam.container.querySelector('[data-annotation-id="4"]')) === null || _d === void 0 ? void 0 : _d.textContent).toBe('jokin koulu');
153
+ expect((_b = (_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.textContent).toBe('Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.');
223
154
  });
224
155
  it('grading instructions can be annotated', async () => {
225
- const gi = (0, react_1.render)(react_2.default.createElement(GradingInstructions_1.default, { ...getCommonProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
156
+ const gi = (0, react_1.render)(react_2.default.createElement(GradingInstructions_1.default, { ...getCommonProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
226
157
  await annotateText(gi, defaultAnnotationAnchor);
227
- expect(gi.getByTestId('e-popup')).toBeVisible();
158
+ expect(gi.getByTestId('annotation-popup')).toBeVisible();
228
159
  });
229
160
  it('attachments can be annotated', async () => {
230
161
  const annotationAnchor_7_A = 'e:exam:0 > e:section:2 > e:question:7 > e:external-material:3 > e:attachment:0 > span:1 > p:3 > #text:0';
231
- const gi = (0, react_1.render)(react_2.default.createElement(Attachments_1.default, { ...getCommonProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
162
+ const gi = (0, react_1.render)(react_2.default.createElement(Attachments_1.default, { ...getCommonProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
232
163
  await annotateText(gi, annotationAnchor_7_A);
233
- expect(gi.getByTestId('e-popup')).toBeVisible();
164
+ expect(gi.getByTestId('annotation-popup')).toBeVisible();
234
165
  });
235
- function createAnnotations(annotations) {
236
- const annotationsById = (0, lodash_1.groupBy)(annotations, 'id');
237
- return Object.keys(annotationsById).map((id, index) => {
238
- const annotationParts = annotationsById[id];
239
- return {
240
- annotationId: Number(id),
241
- selectedText: annotations.map(a => a.selectedText).join(' '),
242
- type: 'text',
243
- displayNumber: '2',
244
- hidden: annotationParts.some(a => a.hidden),
245
- markNumber: index + 1,
246
- annotationParts: annotationParts.map(p => ({
247
- startIndex: p.startIndex,
248
- length: p.selectedText.length,
249
- annotationAnchor: defaultAnnotationAnchor,
250
- selectedText: p.selectedText,
251
- annotationId: Number(id)
252
- }))
253
- };
254
- });
166
+ function createAnnotation(id, startIndex, length, selectedText) {
167
+ return {
168
+ annotationId: id,
169
+ annotationAnchor: defaultAnnotationAnchor,
170
+ hidden: false,
171
+ startIndex,
172
+ length,
173
+ message: '',
174
+ displayNumber: '',
175
+ selectedText
176
+ };
255
177
  }
256
- async function annotateText(exam, elementAnchor) {
178
+ async function annotateText(exam, elementAnchor, startIndex = 0, length) {
257
179
  const textElement = exam.getByTestId(elementAnchor);
258
180
  const fullText = (textElement === null || textElement === void 0 ? void 0 : textElement.textContent) || '';
259
- const annotationLength = fullText.length;
260
- const text = fullText.substring(0, annotationLength);
261
- mockWindowSelection(text, textElement, annotationLength);
181
+ const annotationLength = length || fullText.length;
182
+ const text = fullText.substring(startIndex, startIndex + annotationLength);
183
+ mockWindowSelection(text, textElement, startIndex, annotationLength);
262
184
  await user_event_1.default.click(textElement);
263
185
  }
264
- function mockWindowSelection(text = 'mocked selection text', element, length) {
186
+ function mockWindowSelection(text = 'mocked selection text', element, startOffset = 0, length) {
265
187
  ;
266
188
  window.getSelection.mockImplementation(() => ({
267
189
  toString: () => text,
@@ -269,8 +191,8 @@ describe('Annotations', () => {
269
191
  anchorNode: element.firstChild,
270
192
  focusNode: element.firstChild,
271
193
  getRangeAt: jest.fn().mockReturnValue({
272
- startOffset: 0,
273
- endOffset: length,
194
+ startOffset,
195
+ endOffset: startOffset + length,
274
196
  startContainer: element,
275
197
  endContainer: element,
276
198
  cloneContents: jest.fn().mockReturnValue({ children: [], childNod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