@digabi/exam-engine-core 23.15.0 → 23.15.2

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 (723) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/main-bundle.js +7 -7
  3. package/package.json +3 -3
  4. package/dist/__tests__/annotations.test.d.ts +0 -2
  5. package/dist/__tests__/annotations.test.d.ts.map +0 -1
  6. package/dist/__tests__/annotations.test.js +0 -306
  7. package/dist/__tests__/annotations.test.js.map +0 -1
  8. package/dist/__tests__/playwright/Annotations.test.d.ts +0 -2
  9. package/dist/__tests__/playwright/Annotations.test.d.ts.map +0 -1
  10. package/dist/__tests__/playwright/Annotations.test.js +0 -169
  11. package/dist/__tests__/playwright/Annotations.test.js.map +0 -1
  12. package/dist/__tests__/playwright/attachments/Attachments.test.d.ts +0 -2
  13. package/dist/__tests__/playwright/attachments/Attachments.test.d.ts.map +0 -1
  14. package/dist/__tests__/playwright/attachments/Attachments.test.js +0 -30
  15. package/dist/__tests__/playwright/attachments/Attachments.test.js.map +0 -1
  16. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.d.ts +0 -2
  17. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.d.ts.map +0 -1
  18. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js +0 -30
  19. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js.map +0 -1
  20. package/dist/__tests__/playwright/stories/Annotations.story.d.ts +0 -15
  21. package/dist/__tests__/playwright/stories/Annotations.story.d.ts.map +0 -1
  22. package/dist/__tests__/playwright/stories/Annotations.story.js +0 -27
  23. package/dist/__tests__/playwright/stories/Annotations.story.js.map +0 -1
  24. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts +0 -13
  25. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts.map +0 -1
  26. package/dist/__tests__/playwright/stories/attachments/Attachments.story.js +0 -17
  27. package/dist/__tests__/playwright/stories/attachments/Attachments.story.js.map +0 -1
  28. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts +0 -13
  29. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map +0 -1
  30. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.js +0 -16
  31. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.js.map +0 -1
  32. package/dist/assets/NotoMono.ttf +0 -0
  33. package/dist/assets/NotoSans-Bold.ttf +0 -0
  34. package/dist/assets/NotoSans-BoldItalic.ttf +0 -0
  35. package/dist/assets/NotoSans-Italic.ttf +0 -0
  36. package/dist/assets/NotoSans-Light.ttf +0 -0
  37. package/dist/assets/NotoSans-LightItalic.ttf +0 -0
  38. package/dist/assets/NotoSans-Regular.ttf +0 -0
  39. package/dist/assets/NotoSans-SemiBold.ttf +0 -0
  40. package/dist/assets/NotoSans-SemiBoldItalic.ttf +0 -0
  41. package/dist/assets/closeButton.svg +0 -1
  42. package/dist/assets/collapse.svg +0 -12
  43. package/dist/assets/expand.svg +0 -12
  44. package/dist/assets/helpButton.svg +0 -9
  45. package/dist/assets/redoButton.svg +0 -5
  46. package/dist/assets/undoButton.svg +0 -5
  47. package/dist/components/exam/ExamineExam.d.ts +0 -5
  48. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  49. package/dist/components/exam/ExamineExam.js +0 -20
  50. package/dist/components/exam/ExamineExam.js.map +0 -1
  51. package/dist/components/grading/examAnnotationUtils.d.ts +0 -3
  52. package/dist/components/grading/examAnnotationUtils.d.ts.map +0 -1
  53. package/dist/components/grading/examAnnotationUtils.js +0 -104
  54. package/dist/components/grading/examAnnotationUtils.js.map +0 -1
  55. package/dist/components/shared/AnnotatableText.d.ts +0 -5
  56. package/dist/components/shared/AnnotatableText.d.ts.map +0 -1
  57. package/dist/components/shared/AnnotatableText.js +0 -25
  58. package/dist/components/shared/AnnotatableText.js.map +0 -1
  59. package/dist/components/shared/AnnotationMark.d.ts +0 -9
  60. package/dist/components/shared/AnnotationMark.d.ts.map +0 -1
  61. package/dist/components/shared/AnnotationMark.js +0 -14
  62. package/dist/components/shared/AnnotationMark.js.map +0 -1
  63. package/dist/components/shared/AnnotationPopup.d.ts +0 -3
  64. package/dist/components/shared/AnnotationPopup.d.ts.map +0 -1
  65. package/dist/components/shared/AnnotationPopup.js +0 -21
  66. package/dist/components/shared/AnnotationPopup.js.map +0 -1
  67. package/dist/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  68. package/dist/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  69. package/dist/components/shared/internal/AudioPlaybackError.js +0 -17
  70. package/dist/components/shared/internal/AudioPlaybackError.js.map +0 -1
  71. package/dist/components/shared/markText.d.ts +0 -5
  72. package/dist/components/shared/markText.d.ts.map +0 -1
  73. package/dist/components/shared/markText.js +0 -72
  74. package/dist/components/shared/markText.js.map +0 -1
  75. package/dist/components/surround.d.ts +0 -8
  76. package/dist/components/surround.d.ts.map +0 -1
  77. package/dist/components/surround.js +0 -19
  78. package/dist/components/surround.js.map +0 -1
  79. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  80. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  81. package/dist/src/components/AnswerToolbar.js +0 -36
  82. package/dist/src/components/AnswerToolbar.js.map +0 -1
  83. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  84. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  85. package/dist/src/components/AnsweringInstructions.js +0 -24
  86. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  87. package/dist/src/components/DocumentTitle.d.ts +0 -5
  88. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  89. package/dist/src/components/DocumentTitle.js +0 -13
  90. package/dist/src/components/DocumentTitle.js.map +0 -1
  91. package/dist/src/components/NotificationIcon.d.ts +0 -4
  92. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  93. package/dist/src/components/NotificationIcon.js +0 -6
  94. package/dist/src/components/NotificationIcon.js.map +0 -1
  95. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  96. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  97. package/dist/src/components/RenderChildNodes.js +0 -7
  98. package/dist/src/components/RenderChildNodes.js.map +0 -1
  99. package/dist/src/components/RenderExamElements.d.ts +0 -6
  100. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  101. package/dist/src/components/RenderExamElements.js +0 -6
  102. package/dist/src/components/RenderExamElements.js.map +0 -1
  103. package/dist/src/components/RenderIf.d.ts +0 -4
  104. package/dist/src/components/RenderIf.d.ts.map +0 -1
  105. package/dist/src/components/RenderIf.js +0 -8
  106. package/dist/src/components/RenderIf.js.map +0 -1
  107. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  108. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  109. package/dist/src/components/ScreenReaderOnly.js +0 -3
  110. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  111. package/dist/src/components/SectionElement.d.ts +0 -4
  112. package/dist/src/components/SectionElement.d.ts.map +0 -1
  113. package/dist/src/components/SectionElement.js +0 -8
  114. package/dist/src/components/SectionElement.js.map +0 -1
  115. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  116. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  117. package/dist/src/components/attachments/Attachment.js +0 -8
  118. package/dist/src/components/attachments/Attachment.js.map +0 -1
  119. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  120. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  121. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  122. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  123. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  124. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  125. package/dist/src/components/attachments/Attachments.js +0 -55
  126. package/dist/src/components/attachments/Attachments.js.map +0 -1
  127. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  128. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  129. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  130. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  131. package/dist/src/components/attachments/Question.d.ts +0 -4
  132. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  133. package/dist/src/components/attachments/Question.js +0 -16
  134. package/dist/src/components/attachments/Question.js.map +0 -1
  135. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  136. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  137. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  138. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  139. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  140. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  141. package/dist/src/components/context/AnnotationProvider.js +0 -35
  142. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  143. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  144. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  145. package/dist/src/components/context/AttachmentContext.js +0 -12
  146. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  147. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  148. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  149. package/dist/src/components/context/CommonExamContext.js +0 -28
  150. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  151. package/dist/src/components/context/ExamContext.d.ts +0 -9
  152. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  153. package/dist/src/components/context/ExamContext.js +0 -11
  154. package/dist/src/components/context/ExamContext.js.map +0 -1
  155. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  156. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  157. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  158. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  159. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  160. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  161. package/dist/src/components/context/QuestionContext.js +0 -27
  162. package/dist/src/components/context/QuestionContext.js.map +0 -1
  163. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  164. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  165. package/dist/src/components/context/ResultsContext.js +0 -69
  166. package/dist/src/components/context/ResultsContext.js.map +0 -1
  167. package/dist/src/components/context/SectionContext.d.ts +0 -12
  168. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  169. package/dist/src/components/context/SectionContext.js +0 -21
  170. package/dist/src/components/context/SectionContext.js.map +0 -1
  171. package/dist/src/components/context/TOCContext.d.ts +0 -7
  172. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  173. package/dist/src/components/context/TOCContext.js +0 -3
  174. package/dist/src/components/context/TOCContext.js.map +0 -1
  175. package/dist/src/components/context/withContext.d.ts +0 -3
  176. package/dist/src/components/context/withContext.d.ts.map +0 -1
  177. package/dist/src/components/context/withContext.js +0 -12
  178. package/dist/src/components/context/withContext.js.map +0 -1
  179. package/dist/src/components/exam/Attachment.d.ts +0 -4
  180. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  181. package/dist/src/components/exam/Attachment.js +0 -8
  182. package/dist/src/components/exam/Attachment.js.map +0 -1
  183. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  184. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  185. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  186. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  187. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  188. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  189. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  190. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  191. package/dist/src/components/exam/Exam.d.ts +0 -48
  192. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  193. package/dist/src/components/exam/Exam.js +0 -195
  194. package/dist/src/components/exam/Exam.js.map +0 -1
  195. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  196. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  197. package/dist/src/components/exam/ExamFooter.js +0 -6
  198. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  199. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  200. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  201. package/dist/src/components/exam/ExamInstruction.js +0 -6
  202. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  203. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  204. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  205. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  206. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  207. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  208. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  209. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  210. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  211. package/dist/src/components/exam/Hints.d.ts +0 -5
  212. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  213. package/dist/src/components/exam/Hints.js +0 -31
  214. package/dist/src/components/exam/Hints.js.map +0 -1
  215. package/dist/src/components/exam/Question.d.ts +0 -8
  216. package/dist/src/components/exam/Question.d.ts.map +0 -1
  217. package/dist/src/components/exam/Question.js +0 -75
  218. package/dist/src/components/exam/Question.js.map +0 -1
  219. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  220. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  221. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  222. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  223. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  224. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  225. package/dist/src/components/exam/QuestionTitle.js +0 -26
  226. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  227. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  228. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  229. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  230. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  231. package/dist/src/components/exam/Section.d.ts +0 -4
  232. package/dist/src/components/exam/Section.d.ts.map +0 -1
  233. package/dist/src/components/exam/Section.js +0 -49
  234. package/dist/src/components/exam/Section.js.map +0 -1
  235. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  236. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  237. package/dist/src/components/exam/SectionInstruction.js +0 -6
  238. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  239. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  240. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  241. package/dist/src/components/exam/SectionTitle.js +0 -30
  242. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  243. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  244. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  245. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  246. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  247. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  248. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  249. package/dist/src/components/exam/TextAnswer.js +0 -20
  250. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  251. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  252. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  253. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  254. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  255. package/dist/src/components/exam/UndoView.d.ts +0 -35
  256. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  257. package/dist/src/components/exam/UndoView.js +0 -162
  258. package/dist/src/components/exam/UndoView.js.map +0 -1
  259. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  260. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  261. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  262. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  263. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  264. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  265. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  266. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  267. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  268. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  269. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  270. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  271. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  272. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  273. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  274. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  275. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  276. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  277. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  278. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  279. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  280. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  281. package/dist/src/components/grading/GradingAnswer.js +0 -306
  282. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  283. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  284. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  285. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  286. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  287. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  288. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  289. package/dist/src/components/grading/editAnnotations.js +0 -190
  290. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  291. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  292. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  293. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  294. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  295. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  296. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  297. package/dist/src/components/grading/largeImageDetector.js +0 -45
  298. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  299. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  300. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  301. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  302. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  303. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  304. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  305. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  306. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  307. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  308. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  309. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  310. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  311. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  312. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  313. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  314. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  315. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  316. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  317. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  318. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  319. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  320. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  321. package/dist/src/components/grading-instructions/Question.js +0 -14
  322. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  323. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  324. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  325. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  326. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  327. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  328. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  329. package/dist/src/components/grading-instructions/Recording.js +0 -19
  330. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  331. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  332. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  333. package/dist/src/components/grading-instructions/Section.js +0 -10
  334. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  335. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  336. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  337. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  338. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  339. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  340. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  341. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  342. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  343. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  344. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  345. package/dist/src/components/results/DropdownAnswer.js +0 -43
  346. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  347. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  348. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  349. package/dist/src/components/results/EndExamSession.js +0 -20
  350. package/dist/src/components/results/EndExamSession.js.map +0 -1
  351. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  352. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  353. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  354. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  355. package/dist/src/components/results/Question.d.ts +0 -4
  356. package/dist/src/components/results/Question.d.ts.map +0 -1
  357. package/dist/src/components/results/Question.js +0 -31
  358. package/dist/src/components/results/Question.js.map +0 -1
  359. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  360. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  361. package/dist/src/components/results/QuestionTitle.js +0 -26
  362. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  363. package/dist/src/components/results/Results.d.ts +0 -19
  364. package/dist/src/components/results/Results.d.ts.map +0 -1
  365. package/dist/src/components/results/Results.js +0 -136
  366. package/dist/src/components/results/Results.js.map +0 -1
  367. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  368. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  369. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  370. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  371. package/dist/src/components/results/Section.d.ts +0 -4
  372. package/dist/src/components/results/Section.d.ts.map +0 -1
  373. package/dist/src/components/results/Section.js +0 -11
  374. package/dist/src/components/results/Section.js.map +0 -1
  375. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  376. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  377. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  378. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  379. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  380. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  381. package/dist/src/components/results/TextAnswer.js +0 -48
  382. package/dist/src/components/results/TextAnswer.js.map +0 -1
  383. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  384. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  385. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  386. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  387. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  388. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  389. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  390. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  391. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  392. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  393. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  394. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  395. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  396. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  397. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  398. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  399. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  400. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  401. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  402. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  403. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  404. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  405. package/dist/src/components/shared/AnnotatableText.js +0 -73
  406. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  407. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  408. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  409. package/dist/src/components/shared/AnnotationLists.js +0 -17
  410. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  411. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  412. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  413. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  414. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  415. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  416. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  417. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  418. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  419. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  420. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  421. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  422. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  423. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  424. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  425. package/dist/src/components/shared/AttachmentLink.js +0 -28
  426. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  427. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  428. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  429. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  430. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  431. package/dist/src/components/shared/Audio.d.ts +0 -6
  432. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  433. package/dist/src/components/shared/Audio.js +0 -31
  434. package/dist/src/components/shared/Audio.js.map +0 -1
  435. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  436. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  437. package/dist/src/components/shared/AudioGroup.js +0 -9
  438. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  439. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  440. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  441. package/dist/src/components/shared/AudioTest.js +0 -34
  442. package/dist/src/components/shared/AudioTest.js.map +0 -1
  443. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  444. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  445. package/dist/src/components/shared/ExamTranslation.js +0 -9
  446. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  447. package/dist/src/components/shared/File.d.ts +0 -6
  448. package/dist/src/components/shared/File.d.ts.map +0 -1
  449. package/dist/src/components/shared/File.js +0 -15
  450. package/dist/src/components/shared/File.js.map +0 -1
  451. package/dist/src/components/shared/Footer.d.ts +0 -5
  452. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  453. package/dist/src/components/shared/Footer.js +0 -3
  454. package/dist/src/components/shared/Footer.js.map +0 -1
  455. package/dist/src/components/shared/Formula.d.ts +0 -6
  456. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  457. package/dist/src/components/shared/Formula.js +0 -13
  458. package/dist/src/components/shared/Formula.js.map +0 -1
  459. package/dist/src/components/shared/Image.d.ts +0 -6
  460. package/dist/src/components/shared/Image.d.ts.map +0 -1
  461. package/dist/src/components/shared/Image.js +0 -30
  462. package/dist/src/components/shared/Image.js.map +0 -1
  463. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  464. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  465. package/dist/src/components/shared/ImageOverlay.js +0 -43
  466. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  467. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  468. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  469. package/dist/src/components/shared/QuestionNumber.js +0 -12
  470. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  471. package/dist/src/components/shared/Reference.d.ts +0 -6
  472. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  473. package/dist/src/components/shared/Reference.js +0 -72
  474. package/dist/src/components/shared/Reference.js.map +0 -1
  475. package/dist/src/components/shared/References.d.ts +0 -6
  476. package/dist/src/components/shared/References.d.ts.map +0 -1
  477. package/dist/src/components/shared/References.js +0 -26
  478. package/dist/src/components/shared/References.js.map +0 -1
  479. package/dist/src/components/shared/Score.d.ts +0 -8
  480. package/dist/src/components/shared/Score.d.ts.map +0 -1
  481. package/dist/src/components/shared/Score.js +0 -13
  482. package/dist/src/components/shared/Score.js.map +0 -1
  483. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  484. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  485. package/dist/src/components/shared/TOCQuestion.js +0 -77
  486. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  487. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  488. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  489. package/dist/src/components/shared/TOCSection.js +0 -15
  490. package/dist/src/components/shared/TOCSection.js.map +0 -1
  491. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  492. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  493. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  494. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  495. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  496. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  497. package/dist/src/components/shared/TableOfContents.js +0 -61
  498. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  499. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  500. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  501. package/dist/src/components/shared/VersionNumber.js +0 -10
  502. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  503. package/dist/src/components/shared/Video.d.ts +0 -6
  504. package/dist/src/components/shared/Video.d.ts.map +0 -1
  505. package/dist/src/components/shared/Video.js +0 -22
  506. package/dist/src/components/shared/Video.js.map +0 -1
  507. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  508. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  509. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  510. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  511. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  512. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  513. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  514. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  515. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  516. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  517. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  518. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  519. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  520. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  521. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  522. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  523. package/dist/src/components/surround.d.ts +0 -8
  524. package/dist/src/components/surround.d.ts.map +0 -1
  525. package/dist/src/components/surround.js +0 -19
  526. package/dist/src/components/surround.js.map +0 -1
  527. package/dist/src/createRenderChildNodes.d.ts +0 -17
  528. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  529. package/dist/src/createRenderChildNodes.js +0 -64
  530. package/dist/src/createRenderChildNodes.js.map +0 -1
  531. package/dist/src/dom-utils.d.ts +0 -20
  532. package/dist/src/dom-utils.d.ts.map +0 -1
  533. package/dist/src/dom-utils.js +0 -164
  534. package/dist/src/dom-utils.js.map +0 -1
  535. package/dist/src/fonts.d.ts +0 -5
  536. package/dist/src/fonts.d.ts.map +0 -1
  537. package/dist/src/fonts.js +0 -16
  538. package/dist/src/fonts.js.map +0 -1
  539. package/dist/src/formatting.d.ts +0 -2
  540. package/dist/src/formatting.d.ts.map +0 -1
  541. package/dist/src/formatting.js +0 -4
  542. package/dist/src/formatting.js.map +0 -1
  543. package/dist/src/getDisplayName.d.ts +0 -4
  544. package/dist/src/getDisplayName.d.ts.map +0 -1
  545. package/dist/src/getDisplayName.js +0 -5
  546. package/dist/src/getDisplayName.js.map +0 -1
  547. package/dist/src/i18n/A_E.d.ts +0 -3
  548. package/dist/src/i18n/A_E.d.ts.map +0 -1
  549. package/dist/src/i18n/A_E.js +0 -8
  550. package/dist/src/i18n/A_E.js.map +0 -1
  551. package/dist/src/i18n/BA.d.ts +0 -3
  552. package/dist/src/i18n/BA.d.ts.map +0 -1
  553. package/dist/src/i18n/BA.js +0 -11
  554. package/dist/src/i18n/BA.js.map +0 -1
  555. package/dist/src/i18n/CA.d.ts +0 -3
  556. package/dist/src/i18n/CA.d.ts.map +0 -1
  557. package/dist/src/i18n/CA.js +0 -11
  558. package/dist/src/i18n/CA.js.map +0 -1
  559. package/dist/src/i18n/EA.d.ts +0 -3
  560. package/dist/src/i18n/EA.d.ts.map +0 -1
  561. package/dist/src/i18n/EA.js +0 -16
  562. package/dist/src/i18n/EA.js.map +0 -1
  563. package/dist/src/i18n/FA.d.ts +0 -3
  564. package/dist/src/i18n/FA.d.ts.map +0 -1
  565. package/dist/src/i18n/FA.js +0 -17
  566. package/dist/src/i18n/FA.js.map +0 -1
  567. package/dist/src/i18n/GC.d.ts +0 -3
  568. package/dist/src/i18n/GC.d.ts.map +0 -1
  569. package/dist/src/i18n/GC.js +0 -16
  570. package/dist/src/i18n/GC.js.map +0 -1
  571. package/dist/src/i18n/I.d.ts +0 -3
  572. package/dist/src/i18n/I.d.ts.map +0 -1
  573. package/dist/src/i18n/I.js +0 -21
  574. package/dist/src/i18n/I.js.map +0 -1
  575. package/dist/src/i18n/M.d.ts +0 -3
  576. package/dist/src/i18n/M.d.ts.map +0 -1
  577. package/dist/src/i18n/M.js +0 -4
  578. package/dist/src/i18n/M.js.map +0 -1
  579. package/dist/src/i18n/O_E.d.ts +0 -3
  580. package/dist/src/i18n/O_E.d.ts.map +0 -1
  581. package/dist/src/i18n/O_E.js +0 -7
  582. package/dist/src/i18n/O_E.js.map +0 -1
  583. package/dist/src/i18n/PA.d.ts +0 -3
  584. package/dist/src/i18n/PA.d.ts.map +0 -1
  585. package/dist/src/i18n/PA.js +0 -16
  586. package/dist/src/i18n/PA.js.map +0 -1
  587. package/dist/src/i18n/SA.d.ts +0 -3
  588. package/dist/src/i18n/SA.d.ts.map +0 -1
  589. package/dist/src/i18n/SA.js +0 -16
  590. package/dist/src/i18n/SA.js.map +0 -1
  591. package/dist/src/i18n/TC.d.ts +0 -3
  592. package/dist/src/i18n/TC.d.ts.map +0 -1
  593. package/dist/src/i18n/TC.js +0 -16
  594. package/dist/src/i18n/TC.js.map +0 -1
  595. package/dist/src/i18n/VA.d.ts +0 -3
  596. package/dist/src/i18n/VA.d.ts.map +0 -1
  597. package/dist/src/i18n/VA.js +0 -16
  598. package/dist/src/i18n/VA.js.map +0 -1
  599. package/dist/src/i18n/Z.d.ts +0 -3
  600. package/dist/src/i18n/Z.d.ts.map +0 -1
  601. package/dist/src/i18n/Z.js +0 -22
  602. package/dist/src/i18n/Z.js.map +0 -1
  603. package/dist/src/i18n/fi-FI.d.ts +0 -192
  604. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  605. package/dist/src/i18n/fi-FI.js +0 -182
  606. package/dist/src/i18n/fi-FI.js.map +0 -1
  607. package/dist/src/i18n/index.d.ts +0 -20
  608. package/dist/src/i18n/index.d.ts.map +0 -1
  609. package/dist/src/i18n/index.js +0 -128
  610. package/dist/src/i18n/index.js.map +0 -1
  611. package/dist/src/i18n/sv-FI.d.ts +0 -3
  612. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  613. package/dist/src/i18n/sv-FI.js +0 -181
  614. package/dist/src/i18n/sv-FI.js.map +0 -1
  615. package/dist/src/ids.d.ts +0 -14
  616. package/dist/src/ids.d.ts.map +0 -1
  617. package/dist/src/ids.js +0 -28
  618. package/dist/src/ids.js.map +0 -1
  619. package/dist/src/index.d.ts +0 -19
  620. package/dist/src/index.d.ts.map +0 -1
  621. package/dist/src/index.js +0 -12
  622. package/dist/src/index.js.map +0 -1
  623. package/dist/src/parser/parseExam.d.ts +0 -2
  624. package/dist/src/parser/parseExam.d.ts.map +0 -1
  625. package/dist/src/parser/parseExam.js +0 -54
  626. package/dist/src/parser/parseExam.js.map +0 -1
  627. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  628. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  629. package/dist/src/parser/parseExamStructure.js +0 -40
  630. package/dist/src/parser/parseExamStructure.js.map +0 -1
  631. package/dist/src/renderAnnotations.d.ts +0 -7
  632. package/dist/src/renderAnnotations.d.ts.map +0 -1
  633. package/dist/src/renderAnnotations.js +0 -193
  634. package/dist/src/renderAnnotations.js.map +0 -1
  635. package/dist/src/scrollToHash.d.ts +0 -2
  636. package/dist/src/scrollToHash.d.ts.map +0 -1
  637. package/dist/src/scrollToHash.js +0 -24
  638. package/dist/src/scrollToHash.js.map +0 -1
  639. package/dist/src/shortDisplayNumber.d.ts +0 -2
  640. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  641. package/dist/src/shortDisplayNumber.js +0 -5
  642. package/dist/src/shortDisplayNumber.js.map +0 -1
  643. package/dist/src/store/answers/actions.d.ts +0 -33
  644. package/dist/src/store/answers/actions.d.ts.map +0 -1
  645. package/dist/src/store/answers/actions.js +0 -9
  646. package/dist/src/store/answers/actions.js.map +0 -1
  647. package/dist/src/store/answers/reducer.d.ts +0 -39
  648. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  649. package/dist/src/store/answers/reducer.js +0 -55
  650. package/dist/src/store/answers/reducer.js.map +0 -1
  651. package/dist/src/store/answers/sagas.d.ts +0 -8
  652. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  653. package/dist/src/store/answers/sagas.js +0 -60
  654. package/dist/src/store/answers/sagas.js.map +0 -1
  655. package/dist/src/store/audio/actions.d.ts +0 -29
  656. package/dist/src/store/audio/actions.d.ts.map +0 -1
  657. package/dist/src/store/audio/actions.js +0 -9
  658. package/dist/src/store/audio/actions.js.map +0 -1
  659. package/dist/src/store/audio/reducer.d.ts +0 -27
  660. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  661. package/dist/src/store/audio/reducer.js +0 -55
  662. package/dist/src/store/audio/reducer.js.map +0 -1
  663. package/dist/src/store/audio/sagas.d.ts +0 -3
  664. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  665. package/dist/src/store/audio/sagas.js +0 -68
  666. package/dist/src/store/audio/sagas.js.map +0 -1
  667. package/dist/src/store/cas/actions.d.ts +0 -19
  668. package/dist/src/store/cas/actions.d.ts.map +0 -1
  669. package/dist/src/store/cas/actions.js +0 -9
  670. package/dist/src/store/cas/actions.js.map +0 -1
  671. package/dist/src/store/cas/reducer.d.ts +0 -14
  672. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  673. package/dist/src/store/cas/reducer.js +0 -24
  674. package/dist/src/store/cas/reducer.js.map +0 -1
  675. package/dist/src/store/cas/sagas.d.ts +0 -18
  676. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  677. package/dist/src/store/cas/sagas.js +0 -36
  678. package/dist/src/store/cas/sagas.js.map +0 -1
  679. package/dist/src/store/countdown.d.ts +0 -4
  680. package/dist/src/store/countdown.d.ts.map +0 -1
  681. package/dist/src/store/countdown.js +0 -33
  682. package/dist/src/store/countdown.js.map +0 -1
  683. package/dist/src/store/index.d.ts +0 -78
  684. package/dist/src/store/index.d.ts.map +0 -1
  685. package/dist/src/store/index.js +0 -53
  686. package/dist/src/store/index.js.map +0 -1
  687. package/dist/src/store/selectors.d.ts +0 -9
  688. package/dist/src/store/selectors.d.ts.map +0 -1
  689. package/dist/src/store/selectors.js +0 -35
  690. package/dist/src/store/selectors.js.map +0 -1
  691. package/dist/src/types/ExamAnswer.d.ts +0 -22
  692. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  693. package/dist/src/types/ExamAnswer.js +0 -2
  694. package/dist/src/types/ExamAnswer.js.map +0 -1
  695. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  696. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  697. package/dist/src/types/ExamServerAPI.js +0 -2
  698. package/dist/src/types/ExamServerAPI.js.map +0 -1
  699. package/dist/src/types/GradingStructure.d.ts +0 -40
  700. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  701. package/dist/src/types/GradingStructure.js +0 -2
  702. package/dist/src/types/GradingStructure.js.map +0 -1
  703. package/dist/src/types/Score.d.ts +0 -92
  704. package/dist/src/types/Score.d.ts.map +0 -1
  705. package/dist/src/types/Score.js +0 -2
  706. package/dist/src/types/Score.js.map +0 -1
  707. package/dist/src/url.d.ts +0 -7
  708. package/dist/src/url.d.ts.map +0 -1
  709. package/dist/src/url.js +0 -12
  710. package/dist/src/url.js.map +0 -1
  711. package/dist/src/useCached.d.ts +0 -3
  712. package/dist/src/useCached.d.ts.map +0 -1
  713. package/dist/src/useCached.js +0 -6
  714. package/dist/src/useCached.js.map +0 -1
  715. package/dist/src/utils.d.ts +0 -15
  716. package/dist/src/utils.d.ts.map +0 -1
  717. package/dist/src/utils.js +0 -35
  718. package/dist/src/utils.js.map +0 -1
  719. package/dist/src/validateAnswers.d.ts +0 -16
  720. package/dist/src/validateAnswers.d.ts.map +0 -1
  721. package/dist/src/validateAnswers.js +0 -89
  722. package/dist/src/validateAnswers.js.map +0 -1
  723. package/dist/tsconfig.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-core",
3
- "version": "23.15.0",
3
+ "version": "23.15.2",
4
4
  "main": "dist/main-bundle.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Matriculation Examination Board, Finland",
@@ -51,7 +51,7 @@
51
51
  "redux": "^5.0.1",
52
52
  "redux-saga": "^1.2.3",
53
53
  "redux-saga-test-plan": "^4.0.6",
54
- "rich-text-editor": "8.9.0",
54
+ "rich-text-editor": "8.10.0",
55
55
  "sanitize-html": "^2.0.0",
56
56
  "typesafe-actions": "^5.1.0",
57
57
  "utility-types": "^3.10.0",
@@ -60,5 +60,5 @@
60
60
  "webpack-bundle-analyzer": "^4.1.0",
61
61
  "webpack-cli": "^6.0.0"
62
62
  },
63
- "gitHead": "38106fd91e7fab82ac4fdc9230c70ee4c8e29278"
63
+ "gitHead": "e8ad6b9c4a85bd54e97efebf37b8329fbbdb1a39"
64
64
  }
@@ -1,2 +0,0 @@
1
- import '@testing-library/jest-dom';
2
- //# sourceMappingURL=annotations.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotations.test.d.ts","sourceRoot":"","sources":["../../__tests__/annotations.test.tsx"],"names":[],"mappings":"AAEA,OAAO,2BAA2B,CAAA"}
@@ -1,306 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const exam_engine_exams_1 = require("@digabi/exam-engine-exams");
7
- const exam_engine_mastering_1 = require("@digabi/exam-engine-mastering");
8
- require("@testing-library/jest-dom");
9
- const react_1 = require("@testing-library/react");
10
- const user_event_1 = __importDefault(require("@testing-library/user-event"));
11
- const fs_1 = require("fs");
12
- const path_1 = __importDefault(require("path"));
13
- const react_2 = __importDefault(require("react"));
14
- const parseExam_1 = __importDefault(require("../dist/parser/parseExam"));
15
- const Attachments_1 = __importDefault(require("../src/components/attachments/Attachments"));
16
- const Exam_1 = __importDefault(require("../src/components/exam/Exam"));
17
- const GradingInstructions_1 = __importDefault(require("../src/components/grading-instructions/GradingInstructions"));
18
- const examServerApi_1 = require("./examServerApi");
19
- const lodash_1 = require("lodash");
20
- class IntersectionObserver {
21
- constructor() {
22
- this.root = null;
23
- this.rootMargin = '';
24
- this.thresholds = [];
25
- this.disconnect = () => null;
26
- this.observe = () => null;
27
- this.takeRecords = () => [];
28
- this.unobserve = () => null;
29
- }
30
- }
31
- window.IntersectionObserver = IntersectionObserver;
32
- global.IntersectionObserver = IntersectionObserver;
33
- window.scrollTo = jest.fn();
34
- document.execCommand = jest.fn();
35
- describe('Annotations', () => {
36
- let doc;
37
- beforeEach(async () => {
38
- window.getSelection = jest.fn();
39
- const examPath = (0, exam_engine_exams_1.resolveExam)('FF/FF.xml');
40
- const resolveAttachment = (filename) => path_1.default.resolve(path_1.default.dirname(examPath), 'attachments', filename);
41
- const source = await fs_1.promises.readFile(examPath, 'utf-8');
42
- const results = await (0, exam_engine_mastering_1.masterExam)(source, () => '', (0, exam_engine_mastering_1.getMediaMetadataFromLocalFile)(resolveAttachment), {
43
- removeCorrectAnswers: false
44
- });
45
- doc = (0, parseExam_1.default)(results[0].xml, true);
46
- });
47
- afterEach(() => {
48
- ;
49
- window.getSelection.mockReset();
50
- window.scrollTo.mockReset();
51
- document.execCommand.mockReset();
52
- });
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';
59
- it('popup is rendered', async () => {
60
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
61
- await annotateText(exam, defaultAnnotationAnchor);
62
- expect(exam.getByTestId('e-popup')).toBeVisible();
63
- });
64
- it('popup is not rendered if annotation props are not passed', async () => {
65
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps() }));
66
- const text = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
67
- const textElement = exam.getByText(text);
68
- mockWindowSelection(text, textElement, text.length);
69
- await user_event_1.default.click(textElement);
70
- expect(exam.queryByTestId('e-popup')).not.toBeInTheDocument();
71
- });
72
- it('callback is called when annotation is saved', async () => {
73
- const saveAnnotationMock = jest.fn();
74
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: saveAnnotationMock }));
75
- await annotateText(exam, defaultAnnotationAnchor);
76
- const textbox = exam.container.querySelector('.comment-content');
77
- react_1.fireEvent.input(textbox, {
78
- target: { innerText: 'New comment', innerHTML: 'New comment' }
79
- });
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
- };
87
- expect(saveAnnotationMock).toHaveBeenCalledTimes(1);
88
- expect(saveAnnotationMock).toHaveBeenCalledWith({
89
- annotationParts: [annotationPart],
90
- displayNumber: '2',
91
- selectedText: defaultTextToAnnotate
92
- }, 'New comment');
93
- });
94
- it('popup field is empty when creating new annotation', async () => {
95
- var _a;
96
- 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: () => { } }));
98
- await annotateText(exam, defaultAnnotationAnchor);
99
- const textbox = exam.container.querySelector('.comment-content');
100
- react_1.fireEvent.input(textbox, {
101
- target: { innerText: 'New Value', innerHTML: 'New Value' }
102
- });
103
- await user_event_1.default.click(exam.getByText('Tallenna'));
104
- // text picked by getMarkedText includes leading/trailing whitespace, so they must be here too
105
- await annotateText(exam, annotationAnchor_7_1);
106
- expect((_a = exam.container.querySelector('.comment-content')) === null || _a === void 0 ? void 0 : _a.textContent).toHaveLength(0);
107
- });
108
- it('callback is called when annotation is clicked', async () => {
109
- 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: () => { } }));
111
- await user_event_1.default.click(exam.container.querySelector('[data-annotation-id="1"]'));
112
- const clickedAnnotation = {
113
- annotationAnchor: defaultAnnotationAnchor,
114
- annotationId: 1,
115
- hidden: false,
116
- length: 12,
117
- selectedText: 'moraali että',
118
- startIndex: 5,
119
- markNumber: 1
120
- };
121
- expect(clickAnnotationMock).toHaveBeenCalledTimes(1);
122
- expect(clickAnnotationMock).toHaveBeenCalledWith(expect.anything(), clickedAnnotation);
123
- });
124
- it('annotations are added to dom when provided', () => {
125
- var _a, _b;
126
- const annotationProps = {
127
- annotations: createAnnotations([
128
- { id: 1, startIndex: 27, selectedText: 'pienempi' },
129
- { id: 3, startIndex: 166, selectedText: 'yhteisössä' }
130
- ]),
131
- onClickAnnotation: () => { },
132
- onSaveAnnotation: () => { }
133
- };
134
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
135
- 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');
138
- 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');
183
- });
184
- it('hidden annotation works correctly', () => {
185
- 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
- const annotationProps = {
206
- annotations,
207
- onClickAnnotation: () => { },
208
- onSaveAnnotation: () => { }
209
- };
210
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
211
- 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');
223
- });
224
- 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: () => { } }));
226
- await annotateText(gi, defaultAnnotationAnchor);
227
- expect(gi.getByTestId('e-popup')).toBeVisible();
228
- });
229
- it('attachments can be annotated', async () => {
230
- 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: () => { } }));
232
- await annotateText(gi, annotationAnchor_7_A);
233
- expect(gi.getByTestId('e-popup')).toBeVisible();
234
- });
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
- });
255
- }
256
- async function annotateText(exam, elementAnchor) {
257
- const textElement = exam.getByTestId(elementAnchor);
258
- 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);
262
- await user_event_1.default.click(textElement);
263
- }
264
- function mockWindowSelection(text = 'mocked selection text', element, length) {
265
- ;
266
- window.getSelection.mockImplementation(() => ({
267
- toString: () => text,
268
- rangeCount: 1,
269
- anchorNode: element.firstChild,
270
- focusNode: element.firstChild,
271
- getRangeAt: jest.fn().mockReturnValue({
272
- startOffset: 0,
273
- endOffset: length,
274
- startContainer: element,
275
- endContainer: element,
276
- cloneContents: jest.fn().mockReturnValue({ children: [], childNodes: [] })
277
- })
278
- }));
279
- }
280
- function getCommonProps() {
281
- return {
282
- doc,
283
- answers: [],
284
- attachmentsURL: '/attachments',
285
- resolveAttachment: (filename) => `/attachments/${encodeURIComponent(filename)}`
286
- };
287
- }
288
- function getExamProps() {
289
- const examProps = {
290
- ...getCommonProps(),
291
- casStatus: 'forbidden',
292
- examServerApi: examServerApi_1.examServerApi,
293
- restrictedAudioPlaybackStats: [],
294
- studentName: '[Kokelaan Nimi]',
295
- showUndoView: false,
296
- undoViewProps: {
297
- questionId: 0,
298
- title: '',
299
- close: () => undefined,
300
- restoreAnswer: () => undefined
301
- }
302
- };
303
- return examProps;
304
- }
305
- });
306
- //# sourceMappingURL=annotations.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotations.test.js","sourceRoot":"","sources":["../../__tests__/annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,iEAAuD;AACvD,yEAAyF;AACzF,qCAAkC;AAClC,kDAAwE;AACxE,6EAAmD;AACnD,2BAAmC;AACnC,gDAAuB;AACvB,kDAAyB;AACzB,yEAAgD;AAEhD,4FAAmE;AACnE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@@
1
- export {};
2
- //# sourceMappingURL=Annotations.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Annotations.test.d.ts","sourceRoot":"","sources":["../../../__tests__/playwright/Annotations.test.tsx"],"names":[],"mappings":""}
@@ -1,169 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
7
- const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
8
- const utils_1 = require("./utils/utils");
9
- const Annotations_story_1 = require("./stories/Annotations.story");
10
- const lodash_1 = require("lodash");
11
- experimental_ct_react_1.test.describe('Annotations', () => {
12
- let masteredExam;
13
- experimental_ct_react_1.test.beforeAll(async () => {
14
- masteredExam = await (0, utils_1.setupMasteredExam)('FF');
15
- });
16
- (0, experimental_ct_react_1.test)('annotation popup is not rendered if annotation props are not passed', async ({ mount, page }) => {
17
- const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam }));
18
- const element = component.locator('.exam-question-instruction');
19
- await (0, utils_1.annotate)(element, page);
20
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
21
- });
22
- (0, experimental_ct_react_1.test)('text can be annotated and annotations can be viewed when annotation props are passed', async ({ mount, page }) => {
23
- let callbackArgs = { newAnnotation: {}, comment: '', renderableAnnotation: {} };
24
- const existingAnnotations = [
25
- { id: 1, startIndex: 27, selectedText: 'pienempi' },
26
- { id: 2, startIndex: 166, selectedText: 'yhteisössä' },
27
- { id: 3, startIndex: 59, selectedText: 'esimerkiksi', hidden: true },
28
- { id: 4, startIndex: 142, selectedText: 'mikä' },
29
- { id: 4, startIndex: 147, selectedText: 'ero' },
30
- { id: 5, startIndex: 59, selectedText: 'esimerkiksi' },
31
- { id: 6, startIndex: 62, selectedText: 'merkiksi jo' },
32
- { id: 7, startIndex: 65, selectedText: 'kiksi jokin' },
33
- { id: 8, startIndex: 71, selectedText: 'jokin koulu' }
34
- ];
35
- const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: createAnnotations(existingAnnotations), onClickAnnotation: (_event, renderableAnnotation) => {
36
- callbackArgs = { ...callbackArgs, renderableAnnotation };
37
- }, onSaveAnnotation: {
38
- fn: (newAnnotation, comment) => {
39
- callbackArgs = { ...callbackArgs, newAnnotation, comment };
40
- }
41
- } }));
42
- const annottatableElement = component.locator('.exam-question-instruction');
43
- const annotationLocator = (id) => component.locator(`[data-annotation-id="${id}"]`);
44
- await experimental_ct_react_1.test.step('rendering annotations', async () => {
45
- await experimental_ct_react_1.test.step('non-hidden, unique and not-overlapping annotations are rendered correctly', async () => {
46
- for (const annotation of existingAnnotations.slice(0, 2)) {
47
- await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id)).toBeVisible();
48
- await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id)).toHaveText(annotation.selectedText);
49
- await (0, experimental_ct_react_1.expect)(annotationLocator(annotation.id).locator('sup')).toHaveAttribute('data-content', annotation.id.toString());
50
- }
51
- });
52
- await experimental_ct_react_1.test.step('hidden annotations are hidden', async () => {
53
- await (0, experimental_ct_react_1.expect)(annotationLocator(3)).toBeHidden();
54
- await (0, experimental_ct_react_1.expect)(annotationLocator(3).locator('sup')).toBeHidden();
55
- await (0, experimental_ct_react_1.expect)(annotationLocator(3).locator('..')).toHaveAttribute('data-annotation-path', 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0');
56
- });
57
- await experimental_ct_react_1.test.step('if two annotations have same id, only latter renders <sup>', async () => {
58
- const marks = await annotationLocator(4).all();
59
- await (0, experimental_ct_react_1.expect)(marks[0]).toHaveText('mikä');
60
- await (0, experimental_ct_react_1.expect)(marks[0].locator('sup')).not.toBeVisible();
61
- await (0, experimental_ct_react_1.expect)(marks[1]).toHaveText('ero');
62
- await (0, experimental_ct_react_1.expect)(marks[1]).toBeVisible();
63
- await (0, experimental_ct_react_1.expect)(marks[1].locator('sup')).toHaveAttribute('data-content', '4');
64
- });
65
- await experimental_ct_react_1.test.step('annotations can not overlap — overlapping annotations are not rendered', async () => {
66
- await (0, experimental_ct_react_1.expect)(annotationLocator(5)).toBeVisible();
67
- await (0, experimental_ct_react_1.expect)(annotationLocator(5).locator('sup')).toBeVisible();
68
- await (0, experimental_ct_react_1.expect)(annotationLocator(5)).toHaveText('esimerkiksi');
69
- await (0, experimental_ct_react_1.expect)(annotationLocator(6)).toBeHidden();
70
- await (0, experimental_ct_react_1.expect)(annotationLocator(6).locator('sup')).toBeHidden();
71
- await (0, experimental_ct_react_1.expect)(annotationLocator(6)).toHaveText('');
72
- await (0, experimental_ct_react_1.expect)(annotationLocator(7)).toBeHidden();
73
- await (0, experimental_ct_react_1.expect)(annotationLocator(7).locator('sup')).toBeHidden();
74
- await (0, experimental_ct_react_1.expect)(annotationLocator(7)).toHaveText('');
75
- await (0, experimental_ct_react_1.expect)(annotationLocator(8)).toBeVisible();
76
- await (0, experimental_ct_react_1.expect)(annotationLocator(8).locator('sup')).toBeVisible();
77
- await (0, experimental_ct_react_1.expect)(annotationLocator(8)).toHaveText('jokin koulu');
78
- });
79
- });
80
- await experimental_ct_react_1.test.step('creating annotations', async () => {
81
- await experimental_ct_react_1.test.step('annotation popup appears when text is selected', async () => {
82
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
83
- await (0, utils_1.annotate)(annottatableElement, page);
84
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
85
- });
86
- await experimental_ct_react_1.test.step('callback is called when annotation is saved', async () => {
87
- const textbox = component.locator('.comment-content');
88
- await textbox.fill('New comment');
89
- await component.getByText('Tallenna').click();
90
- (0, experimental_ct_react_1.expect)(callbackArgs.comment).toBe('New comment');
91
- (0, experimental_ct_react_1.expect)(callbackArgs.newAnnotation).toStrictEqual({
92
- annotationParts: [
93
- {
94
- annotationAnchor: 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:0 > #text:0',
95
- selectedText: 'Sekä moraali että tavat pyr',
96
- startIndex: 0,
97
- length: 27
98
- }
99
- ],
100
- displayNumber: '2',
101
- selectedText: 'Sekä moraali että tavat pyr'
102
- });
103
- });
104
- await experimental_ct_react_1.test.step('popup field is empty when creating new annotation', async () => {
105
- await (0, utils_1.annotate)(annottatableElement, page);
106
- await (0, experimental_ct_react_1.expect)(component.locator('.comment-content')).toHaveText('');
107
- });
108
- await experimental_ct_react_1.test.step('popup can be closed', async () => {
109
- await component.getByText('Peru').click();
110
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
111
- });
112
- await experimental_ct_react_1.test.step('callback is called when annotation is clicked', async () => {
113
- await component.locator('[data-annotation-id="1"]').click();
114
- (0, experimental_ct_react_1.expect)(callbackArgs.renderableAnnotation).toStrictEqual({
115
- annotationAnchor: 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0',
116
- annotationId: 1,
117
- hidden: false,
118
- length: 8,
119
- resolved: undefined,
120
- selectedText: 'pienempi',
121
- startIndex: 27,
122
- markNumber: 1
123
- });
124
- });
125
- });
126
- });
127
- (0, experimental_ct_react_1.test)('"August 2024" annotations are added to dom when provided', async ({ mount }) => {
128
- /** the difference of startIndex between an "August 2024 annotation" and a normal annotation
129
- * (in this case, but the index varies depending on the exam content)
130
- */
131
- const startIndexDifference = 24;
132
- const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: createAnnotations([{ id: 1, startIndex: 166 - startIndexDifference, selectedText: 'yhteisössä' }]), onClickAnnotation: () => { }, onSaveAnnotation: { fn: () => { } } }));
133
- await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"]')).toBeVisible();
134
- await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"]')).toHaveText('yhteisössä');
135
- await (0, experimental_ct_react_1.expect)(component.locator('[data-annotation-id="1"] sup')).toHaveAttribute('data-content', '1');
136
- });
137
- (0, experimental_ct_react_1.test)('annotation popup is not closed when annotation save fails', async ({ mount, page }) => {
138
- const errorMessage = 'save failed';
139
- const component = await mount(react_1.default.createElement(Annotations_story_1.AnnotationsStory, { masteredExam: masteredExam, annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: { fn: () => { }, result: errorMessage } }));
140
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).not.toBeVisible();
141
- await (0, utils_1.annotate)(component.locator('.exam-question-instruction'), page);
142
- await component.locator('.comment-content').fill('New comment');
143
- await component.getByText('Tallenna').click();
144
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
145
- await (0, experimental_ct_react_1.expect)(component.getByText(errorMessage)).toBeVisible();
146
- });
147
- function createAnnotations(annotations) {
148
- const annotationsById = (0, lodash_1.groupBy)(annotations, 'id');
149
- return Object.keys(annotationsById).map((id, index) => {
150
- const annotationParts = annotationsById[id];
151
- return {
152
- annotationId: Number(id),
153
- selectedText: annotations.map(a => a.selectedText).join(' '),
154
- type: 'text',
155
- displayNumber: '2',
156
- hidden: annotationParts.some(a => a.hidden),
157
- markNumber: index + 1,
158
- annotationParts: annotationParts.map(p => ({
159
- startIndex: p.startIndex,
160
- length: p.selectedText.length,
161
- annotationAnchor: 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:1 > #text:0',
162
- selectedText: p.selectedText,
163
- annotationId: Number(id)
164
- }))
165
- };
166
- });
167
- }
168
- });
169
- //# sourceMappingURL=Annotations.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Annotations.test.js","sourceRoot":"","sources":["../../../__tests__/playwright/Annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,yCAA2D;AAC3D,mEAA8D;AAE9D,mCAAgC;AAEhC,4BA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,EAAE,MAAM,CAAC,EAAE,CAAC;gBACxB,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;gBAC5D,IAAI,EAAE,MAAM;gBACZ,aAAa,EAAE,GAAG;gBAClB,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;gBAC3C,UAAU,EAAE,KAAK,GAAG,CAAC;gBACrB,eAAe,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;oBACzC,UAAU,EAAE,CAAC,CAAC,UAAU;oBACxB,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;oBAC7B,gBAAgB,EAAE,2FAA2F;oBAC7G,YAAY,EAAE,CAAC,CAAC,YAAY;oBAC5B,YAAY,EAAE,MAAM,CAAC,EAAE,CAAC;iBACzB,CAAC,CAAC;aACJ,CAAA;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;AAGH,CAAC,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Attachments.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachments.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/attachments/Attachments.test.tsx"],"names":[],"mappings":""}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
7
- const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
8
- const utils_1 = require("../utils/utils");
9
- const Attachments_story_1 = require("../stories/attachments/Attachments.story");
10
- experimental_ct_react_1.test.describe('Attachments', () => {
11
- let masteredExam;
12
- experimental_ct_react_1.test.beforeAll(async () => {
13
- masteredExam = await (0, utils_1.setupMasteredExam)('FF');
14
- });
15
- (0, experimental_ct_react_1.test)('text can be annotated inside attachments', async ({ mount, page }) => {
16
- let callbackArg = '';
17
- const component = await mount(react_1.default.createElement(Attachments_story_1.AttachmentsStory, { masteredExam: masteredExam, annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: (_newAnnotation, comment) => {
18
- callbackArg = comment;
19
- } }));
20
- const annottatableElement = component.locator('.e-annotatable').first();
21
- const textbox = component.locator('.comment-content');
22
- await (0, experimental_ct_react_1.expect)(annottatableElement).toBeVisible();
23
- await (0, utils_1.annotate)(annottatableElement, page);
24
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
25
- await textbox.fill('New comment');
26
- await component.getByText('Tallenna').click();
27
- (0, experimental_ct_react_1.expect)(callbackArg).toBe('New comment');
28
- });
29
- });
30
- //# sourceMappingURL=Attachments.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachments.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/attachments/Attachments.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,0CAA4D;AAC5D,gFAA2E;AAE3E,4BAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAChC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,0CAA0C,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QACzE,IAAI,WAAW,GAAG,EAAE,CAAA;QACpB,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,oCAAgB,IACf,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,EAAE,EACf,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC,EAC3B,gBAAgB,EAAE,CAAC,cAAc,EAAE,OAAe,EAAE,EAAE;gBACpD,WAAW,GAAG,OAAO,CAAA;YACvB,CAAC,GACD,CACH,CAAA;QACD,MAAM,mBAAmB,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAA;QACvE,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QAErD,MAAM,IAAA,8BAAM,EAAC,mBAAmB,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,MAAM,IAAA,gBAAQ,EAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;QACzC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAE5D,MAAM,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAA;QAC7C,IAAA,8BAAM,EAAC,WAAW,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=GradingInstructions.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingInstructions.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/grading-instructions/GradingInstructions.test.tsx"],"names":[],"mappings":""}