@digabi/exam-engine-core 23.7.1-alpha.0 → 23.7.2-fixes.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 (755) hide show
  1. package/dist/__tests__/playwright/Annotations.test.js +60 -28
  2. package/dist/__tests__/playwright/Annotations.test.js.map +1 -1
  3. package/dist/__tests__/playwright/attachments/Attachments.test.js +1 -1
  4. package/dist/__tests__/playwright/attachments/Attachments.test.js.map +1 -1
  5. package/dist/__tests__/playwright/exam/Exam.test.js +1 -1
  6. package/dist/__tests__/playwright/exam/Exam.test.js.map +1 -1
  7. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js +1 -1
  8. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js.map +1 -1
  9. package/dist/__tests__/playwright/stories/Annotations.story.d.ts +2 -2
  10. package/dist/__tests__/playwright/stories/Annotations.story.d.ts.map +1 -1
  11. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts +2 -2
  12. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts.map +1 -1
  13. package/dist/__tests__/playwright/stories/exam/Exam.story.d.ts +2 -2
  14. package/dist/__tests__/playwright/stories/exam/Exam.story.d.ts.map +1 -1
  15. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts +2 -2
  16. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map +1 -1
  17. package/dist/__tests__/renderAnnotations.test.js +9 -0
  18. package/dist/__tests__/renderAnnotations.test.js.map +1 -1
  19. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  20. package/dist/assets/NotoMono.ttf +0 -0
  21. package/dist/assets/NotoMono.woff +0 -0
  22. package/dist/assets/NotoMono.woff2 +0 -0
  23. package/dist/assets/NotoSans-Bold.ttf +0 -0
  24. package/dist/assets/NotoSans-Bold.woff +0 -0
  25. package/dist/assets/NotoSans-Bold.woff2 +0 -0
  26. package/dist/assets/NotoSans-BoldItalic.ttf +0 -0
  27. package/dist/assets/NotoSans-BoldItalic.woff +0 -0
  28. package/dist/assets/NotoSans-BoldItalic.woff2 +0 -0
  29. package/dist/assets/NotoSans-Italic.ttf +0 -0
  30. package/dist/assets/NotoSans-Italic.woff +0 -0
  31. package/dist/assets/NotoSans-Italic.woff2 +0 -0
  32. package/dist/assets/NotoSans-Light.ttf +0 -0
  33. package/dist/assets/NotoSans-Light.woff +0 -0
  34. package/dist/assets/NotoSans-Light.woff2 +0 -0
  35. package/dist/assets/NotoSans-LightItalic.ttf +0 -0
  36. package/dist/assets/NotoSans-LightItalic.woff +0 -0
  37. package/dist/assets/NotoSans-LightItalic.woff2 +0 -0
  38. package/dist/assets/NotoSans-Regular.ttf +0 -0
  39. package/dist/assets/NotoSans-Regular.woff +0 -0
  40. package/dist/assets/NotoSans-Regular.woff2 +0 -0
  41. package/dist/assets/NotoSans-SemiBold.ttf +0 -0
  42. package/dist/assets/NotoSans-SemiBold.woff +0 -0
  43. package/dist/assets/NotoSans-SemiBold.woff2 +0 -0
  44. package/dist/assets/NotoSans-SemiBoldItalic.ttf +0 -0
  45. package/dist/assets/NotoSans-SemiBoldItalic.woff +0 -0
  46. package/dist/assets/NotoSans-SemiBoldItalic.woff2 +0 -0
  47. package/dist/components/exam/ChoiceAnswer.js +1 -1
  48. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  49. package/dist/components/grading/GradingAnswer.js +7 -2
  50. package/dist/components/grading/GradingAnswer.js.map +1 -1
  51. package/dist/components/grading/examAnnotationUtils.d.ts +2 -1
  52. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  53. package/dist/components/grading/examAnnotationUtils.js +29 -10
  54. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  55. package/dist/components/results/DNDAnswerContainer.d.ts +4 -0
  56. package/dist/components/results/DNDAnswerContainer.d.ts.map +1 -0
  57. package/dist/components/results/DNDAnswerContainer.js +22 -0
  58. package/dist/components/results/DNDAnswerContainer.js.map +1 -0
  59. package/dist/components/shared/AnnotatableText.d.ts.map +1 -1
  60. package/dist/components/shared/AnnotatableText.js +6 -6
  61. package/dist/components/shared/AnnotatableText.js.map +1 -1
  62. package/dist/components/shared/AnnotationImageMark.d.ts +16 -0
  63. package/dist/components/shared/AnnotationImageMark.d.ts.map +1 -0
  64. package/dist/components/shared/AnnotationImageMark.js +99 -0
  65. package/dist/components/shared/AnnotationImageMark.js.map +1 -0
  66. package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
  67. package/dist/components/shared/AnnotationPopup.js +5 -2
  68. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  69. package/dist/components/shared/AnnotationTextMark.d.ts +11 -0
  70. package/dist/components/shared/AnnotationTextMark.d.ts.map +1 -0
  71. package/dist/components/shared/AnnotationTextMark.js +21 -0
  72. package/dist/components/shared/AnnotationTextMark.js.map +1 -0
  73. package/dist/components/shared/Audio.d.ts.map +1 -1
  74. package/dist/components/shared/Audio.js +1 -1
  75. package/dist/components/shared/Audio.js.map +1 -1
  76. package/dist/components/shared/markText.d.ts +4 -3
  77. package/dist/components/shared/markText.d.ts.map +1 -1
  78. package/dist/components/shared/markText.js +10 -5
  79. package/dist/components/shared/markText.js.map +1 -1
  80. package/dist/eslint.config.d.ts +22 -0
  81. package/dist/eslint.config.d.ts.map +1 -0
  82. package/dist/eslint.config.js +31 -0
  83. package/dist/eslint.config.js.map +1 -0
  84. package/dist/i18n/exam_titles_fi-FI.d.ts +46 -0
  85. package/dist/i18n/exam_titles_fi-FI.d.ts.map +1 -0
  86. package/dist/i18n/exam_titles_fi-FI.js +46 -0
  87. package/dist/i18n/exam_titles_fi-FI.js.map +1 -0
  88. package/dist/i18n/exam_titles_fi-FI.json +45 -0
  89. package/dist/i18n/exam_titles_sv-FI.d.ts +46 -0
  90. package/dist/i18n/exam_titles_sv-FI.d.ts.map +1 -0
  91. package/dist/i18n/exam_titles_sv-FI.js +46 -0
  92. package/dist/i18n/exam_titles_sv-FI.js.map +1 -0
  93. package/dist/i18n/exam_titles_sv-FI.json +45 -0
  94. package/dist/i18n/exams.d.ts +11 -0
  95. package/dist/i18n/exams.d.ts.map +1 -0
  96. package/dist/i18n/exams.js +10 -0
  97. package/dist/i18n/exams.js.map +1 -0
  98. package/dist/main-bundle.js +5 -5
  99. package/dist/main.css +1 -1
  100. package/dist/renderAnnotations.js +1 -1
  101. package/dist/renderAnnotations.js.map +1 -1
  102. package/dist/types/ExamAnnotations.d.ts +46 -0
  103. package/dist/types/ExamAnnotations.d.ts.map +1 -0
  104. package/dist/types/ExamAnnotations.js +2 -0
  105. package/dist/types/ExamAnnotations.js.map +1 -0
  106. package/package.json +4 -4
  107. package/dist/components/exam/ExamineExam.d.ts +0 -5
  108. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  109. package/dist/components/exam/ExamineExam.js +0 -20
  110. package/dist/components/exam/ExamineExam.js.map +0 -1
  111. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  112. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  113. package/dist/src/components/AnswerToolbar.js +0 -36
  114. package/dist/src/components/AnswerToolbar.js.map +0 -1
  115. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  116. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  117. package/dist/src/components/AnsweringInstructions.js +0 -24
  118. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  119. package/dist/src/components/DocumentTitle.d.ts +0 -5
  120. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  121. package/dist/src/components/DocumentTitle.js +0 -13
  122. package/dist/src/components/DocumentTitle.js.map +0 -1
  123. package/dist/src/components/NotificationIcon.d.ts +0 -4
  124. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  125. package/dist/src/components/NotificationIcon.js +0 -6
  126. package/dist/src/components/NotificationIcon.js.map +0 -1
  127. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  128. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  129. package/dist/src/components/RenderChildNodes.js +0 -7
  130. package/dist/src/components/RenderChildNodes.js.map +0 -1
  131. package/dist/src/components/RenderExamElements.d.ts +0 -6
  132. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  133. package/dist/src/components/RenderExamElements.js +0 -6
  134. package/dist/src/components/RenderExamElements.js.map +0 -1
  135. package/dist/src/components/RenderIf.d.ts +0 -4
  136. package/dist/src/components/RenderIf.d.ts.map +0 -1
  137. package/dist/src/components/RenderIf.js +0 -8
  138. package/dist/src/components/RenderIf.js.map +0 -1
  139. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  140. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  141. package/dist/src/components/ScreenReaderOnly.js +0 -3
  142. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  143. package/dist/src/components/SectionElement.d.ts +0 -4
  144. package/dist/src/components/SectionElement.d.ts.map +0 -1
  145. package/dist/src/components/SectionElement.js +0 -8
  146. package/dist/src/components/SectionElement.js.map +0 -1
  147. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  148. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  149. package/dist/src/components/attachments/Attachment.js +0 -8
  150. package/dist/src/components/attachments/Attachment.js.map +0 -1
  151. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  152. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  153. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  154. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  155. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  156. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  157. package/dist/src/components/attachments/Attachments.js +0 -55
  158. package/dist/src/components/attachments/Attachments.js.map +0 -1
  159. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  160. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  161. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  162. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  163. package/dist/src/components/attachments/Question.d.ts +0 -4
  164. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  165. package/dist/src/components/attachments/Question.js +0 -16
  166. package/dist/src/components/attachments/Question.js.map +0 -1
  167. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  168. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  169. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  170. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  171. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  172. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  173. package/dist/src/components/context/AnnotationProvider.js +0 -35
  174. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  175. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  176. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  177. package/dist/src/components/context/AttachmentContext.js +0 -12
  178. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  179. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  180. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  181. package/dist/src/components/context/CommonExamContext.js +0 -28
  182. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  183. package/dist/src/components/context/ExamContext.d.ts +0 -9
  184. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  185. package/dist/src/components/context/ExamContext.js +0 -11
  186. package/dist/src/components/context/ExamContext.js.map +0 -1
  187. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  188. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  189. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  190. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  191. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  192. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  193. package/dist/src/components/context/QuestionContext.js +0 -27
  194. package/dist/src/components/context/QuestionContext.js.map +0 -1
  195. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  196. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  197. package/dist/src/components/context/ResultsContext.js +0 -69
  198. package/dist/src/components/context/ResultsContext.js.map +0 -1
  199. package/dist/src/components/context/SectionContext.d.ts +0 -12
  200. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  201. package/dist/src/components/context/SectionContext.js +0 -21
  202. package/dist/src/components/context/SectionContext.js.map +0 -1
  203. package/dist/src/components/context/TOCContext.d.ts +0 -7
  204. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  205. package/dist/src/components/context/TOCContext.js +0 -3
  206. package/dist/src/components/context/TOCContext.js.map +0 -1
  207. package/dist/src/components/context/withContext.d.ts +0 -3
  208. package/dist/src/components/context/withContext.d.ts.map +0 -1
  209. package/dist/src/components/context/withContext.js +0 -12
  210. package/dist/src/components/context/withContext.js.map +0 -1
  211. package/dist/src/components/exam/Attachment.d.ts +0 -4
  212. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  213. package/dist/src/components/exam/Attachment.js +0 -8
  214. package/dist/src/components/exam/Attachment.js.map +0 -1
  215. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  216. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  217. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  218. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  219. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  220. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  221. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  222. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  223. package/dist/src/components/exam/Exam.d.ts +0 -48
  224. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  225. package/dist/src/components/exam/Exam.js +0 -195
  226. package/dist/src/components/exam/Exam.js.map +0 -1
  227. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  228. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  229. package/dist/src/components/exam/ExamFooter.js +0 -6
  230. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  231. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  232. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  233. package/dist/src/components/exam/ExamInstruction.js +0 -6
  234. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  235. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  236. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  237. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  238. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  239. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  240. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  241. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  242. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  243. package/dist/src/components/exam/Hints.d.ts +0 -5
  244. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  245. package/dist/src/components/exam/Hints.js +0 -31
  246. package/dist/src/components/exam/Hints.js.map +0 -1
  247. package/dist/src/components/exam/Question.d.ts +0 -8
  248. package/dist/src/components/exam/Question.d.ts.map +0 -1
  249. package/dist/src/components/exam/Question.js +0 -75
  250. package/dist/src/components/exam/Question.js.map +0 -1
  251. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  252. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  253. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  254. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  255. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  256. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  257. package/dist/src/components/exam/QuestionTitle.js +0 -26
  258. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  259. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  260. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  261. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  262. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  263. package/dist/src/components/exam/Section.d.ts +0 -4
  264. package/dist/src/components/exam/Section.d.ts.map +0 -1
  265. package/dist/src/components/exam/Section.js +0 -49
  266. package/dist/src/components/exam/Section.js.map +0 -1
  267. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  268. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  269. package/dist/src/components/exam/SectionInstruction.js +0 -6
  270. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  271. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  272. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  273. package/dist/src/components/exam/SectionTitle.js +0 -30
  274. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  275. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  276. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  277. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  278. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  279. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  280. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  281. package/dist/src/components/exam/TextAnswer.js +0 -20
  282. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  283. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  284. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  285. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  286. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  287. package/dist/src/components/exam/UndoView.d.ts +0 -35
  288. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  289. package/dist/src/components/exam/UndoView.js +0 -162
  290. package/dist/src/components/exam/UndoView.js.map +0 -1
  291. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  292. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  293. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  294. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  295. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  296. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  297. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  298. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  299. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  300. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  301. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  302. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  303. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  304. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  305. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  306. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  307. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  308. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  309. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  310. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  311. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  312. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  313. package/dist/src/components/grading/GradingAnswer.js +0 -306
  314. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  315. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  316. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  317. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  318. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  319. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  320. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  321. package/dist/src/components/grading/editAnnotations.js +0 -190
  322. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  323. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  324. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  325. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  326. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  327. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  328. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  329. package/dist/src/components/grading/largeImageDetector.js +0 -45
  330. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  331. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  332. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  333. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  334. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  335. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  336. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  337. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  338. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  339. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  340. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  341. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  342. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  343. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  344. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  345. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  346. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  347. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  348. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  349. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  350. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  351. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  352. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  353. package/dist/src/components/grading-instructions/Question.js +0 -14
  354. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  355. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  356. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  357. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  358. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  359. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  360. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  361. package/dist/src/components/grading-instructions/Recording.js +0 -19
  362. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  363. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  364. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  365. package/dist/src/components/grading-instructions/Section.js +0 -10
  366. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  367. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  368. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  369. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  370. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  371. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  372. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  373. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  374. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  375. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  376. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  377. package/dist/src/components/results/DropdownAnswer.js +0 -43
  378. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  379. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  380. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  381. package/dist/src/components/results/EndExamSession.js +0 -20
  382. package/dist/src/components/results/EndExamSession.js.map +0 -1
  383. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  384. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  385. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  386. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  387. package/dist/src/components/results/Question.d.ts +0 -4
  388. package/dist/src/components/results/Question.d.ts.map +0 -1
  389. package/dist/src/components/results/Question.js +0 -31
  390. package/dist/src/components/results/Question.js.map +0 -1
  391. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  392. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  393. package/dist/src/components/results/QuestionTitle.js +0 -26
  394. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  395. package/dist/src/components/results/Results.d.ts +0 -19
  396. package/dist/src/components/results/Results.d.ts.map +0 -1
  397. package/dist/src/components/results/Results.js +0 -136
  398. package/dist/src/components/results/Results.js.map +0 -1
  399. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  400. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  401. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  402. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  403. package/dist/src/components/results/Section.d.ts +0 -4
  404. package/dist/src/components/results/Section.d.ts.map +0 -1
  405. package/dist/src/components/results/Section.js +0 -11
  406. package/dist/src/components/results/Section.js.map +0 -1
  407. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  408. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  409. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  410. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  411. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  412. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  413. package/dist/src/components/results/TextAnswer.js +0 -48
  414. package/dist/src/components/results/TextAnswer.js.map +0 -1
  415. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  416. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  417. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  418. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  419. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  420. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  421. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  422. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  423. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  424. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  425. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  426. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  427. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  428. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  429. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  430. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  431. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  432. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  433. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  434. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  435. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  436. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  437. package/dist/src/components/shared/AnnotatableText.js +0 -73
  438. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  439. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  440. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  441. package/dist/src/components/shared/AnnotationLists.js +0 -17
  442. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  443. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  444. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  445. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  446. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  447. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  448. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  449. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  450. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  451. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  452. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  453. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  454. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  455. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  456. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  457. package/dist/src/components/shared/AttachmentLink.js +0 -28
  458. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  459. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  460. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  461. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  462. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  463. package/dist/src/components/shared/Audio.d.ts +0 -6
  464. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  465. package/dist/src/components/shared/Audio.js +0 -31
  466. package/dist/src/components/shared/Audio.js.map +0 -1
  467. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  468. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  469. package/dist/src/components/shared/AudioGroup.js +0 -9
  470. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  471. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  472. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  473. package/dist/src/components/shared/AudioTest.js +0 -34
  474. package/dist/src/components/shared/AudioTest.js.map +0 -1
  475. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  476. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  477. package/dist/src/components/shared/ExamTranslation.js +0 -9
  478. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  479. package/dist/src/components/shared/File.d.ts +0 -6
  480. package/dist/src/components/shared/File.d.ts.map +0 -1
  481. package/dist/src/components/shared/File.js +0 -15
  482. package/dist/src/components/shared/File.js.map +0 -1
  483. package/dist/src/components/shared/Footer.d.ts +0 -5
  484. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  485. package/dist/src/components/shared/Footer.js +0 -3
  486. package/dist/src/components/shared/Footer.js.map +0 -1
  487. package/dist/src/components/shared/Formula.d.ts +0 -6
  488. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  489. package/dist/src/components/shared/Formula.js +0 -13
  490. package/dist/src/components/shared/Formula.js.map +0 -1
  491. package/dist/src/components/shared/Image.d.ts +0 -6
  492. package/dist/src/components/shared/Image.d.ts.map +0 -1
  493. package/dist/src/components/shared/Image.js +0 -30
  494. package/dist/src/components/shared/Image.js.map +0 -1
  495. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  496. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  497. package/dist/src/components/shared/ImageOverlay.js +0 -43
  498. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  499. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  500. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  501. package/dist/src/components/shared/QuestionNumber.js +0 -12
  502. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  503. package/dist/src/components/shared/Reference.d.ts +0 -6
  504. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  505. package/dist/src/components/shared/Reference.js +0 -72
  506. package/dist/src/components/shared/Reference.js.map +0 -1
  507. package/dist/src/components/shared/References.d.ts +0 -6
  508. package/dist/src/components/shared/References.d.ts.map +0 -1
  509. package/dist/src/components/shared/References.js +0 -26
  510. package/dist/src/components/shared/References.js.map +0 -1
  511. package/dist/src/components/shared/Score.d.ts +0 -8
  512. package/dist/src/components/shared/Score.d.ts.map +0 -1
  513. package/dist/src/components/shared/Score.js +0 -13
  514. package/dist/src/components/shared/Score.js.map +0 -1
  515. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  516. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  517. package/dist/src/components/shared/TOCQuestion.js +0 -77
  518. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  519. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  520. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  521. package/dist/src/components/shared/TOCSection.js +0 -15
  522. package/dist/src/components/shared/TOCSection.js.map +0 -1
  523. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  524. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  525. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  526. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  527. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  528. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  529. package/dist/src/components/shared/TableOfContents.js +0 -61
  530. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  531. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  532. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  533. package/dist/src/components/shared/VersionNumber.js +0 -10
  534. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  535. package/dist/src/components/shared/Video.d.ts +0 -6
  536. package/dist/src/components/shared/Video.d.ts.map +0 -1
  537. package/dist/src/components/shared/Video.js +0 -22
  538. package/dist/src/components/shared/Video.js.map +0 -1
  539. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  540. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  541. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  542. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  543. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  544. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  545. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  546. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  547. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  548. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  549. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  550. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  551. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  552. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  553. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  554. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  555. package/dist/src/components/surround.d.ts +0 -8
  556. package/dist/src/components/surround.d.ts.map +0 -1
  557. package/dist/src/components/surround.js +0 -19
  558. package/dist/src/components/surround.js.map +0 -1
  559. package/dist/src/createRenderChildNodes.d.ts +0 -17
  560. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  561. package/dist/src/createRenderChildNodes.js +0 -64
  562. package/dist/src/createRenderChildNodes.js.map +0 -1
  563. package/dist/src/dom-utils.d.ts +0 -20
  564. package/dist/src/dom-utils.d.ts.map +0 -1
  565. package/dist/src/dom-utils.js +0 -164
  566. package/dist/src/dom-utils.js.map +0 -1
  567. package/dist/src/fonts.d.ts +0 -5
  568. package/dist/src/fonts.d.ts.map +0 -1
  569. package/dist/src/fonts.js +0 -16
  570. package/dist/src/fonts.js.map +0 -1
  571. package/dist/src/formatting.d.ts +0 -2
  572. package/dist/src/formatting.d.ts.map +0 -1
  573. package/dist/src/formatting.js +0 -4
  574. package/dist/src/formatting.js.map +0 -1
  575. package/dist/src/getDisplayName.d.ts +0 -4
  576. package/dist/src/getDisplayName.d.ts.map +0 -1
  577. package/dist/src/getDisplayName.js +0 -5
  578. package/dist/src/getDisplayName.js.map +0 -1
  579. package/dist/src/i18n/A_E.d.ts +0 -3
  580. package/dist/src/i18n/A_E.d.ts.map +0 -1
  581. package/dist/src/i18n/A_E.js +0 -8
  582. package/dist/src/i18n/A_E.js.map +0 -1
  583. package/dist/src/i18n/BA.d.ts +0 -3
  584. package/dist/src/i18n/BA.d.ts.map +0 -1
  585. package/dist/src/i18n/BA.js +0 -11
  586. package/dist/src/i18n/BA.js.map +0 -1
  587. package/dist/src/i18n/CA.d.ts +0 -3
  588. package/dist/src/i18n/CA.d.ts.map +0 -1
  589. package/dist/src/i18n/CA.js +0 -11
  590. package/dist/src/i18n/CA.js.map +0 -1
  591. package/dist/src/i18n/EA.d.ts +0 -3
  592. package/dist/src/i18n/EA.d.ts.map +0 -1
  593. package/dist/src/i18n/EA.js +0 -16
  594. package/dist/src/i18n/EA.js.map +0 -1
  595. package/dist/src/i18n/FA.d.ts +0 -3
  596. package/dist/src/i18n/FA.d.ts.map +0 -1
  597. package/dist/src/i18n/FA.js +0 -17
  598. package/dist/src/i18n/FA.js.map +0 -1
  599. package/dist/src/i18n/GC.d.ts +0 -3
  600. package/dist/src/i18n/GC.d.ts.map +0 -1
  601. package/dist/src/i18n/GC.js +0 -16
  602. package/dist/src/i18n/GC.js.map +0 -1
  603. package/dist/src/i18n/I.d.ts +0 -3
  604. package/dist/src/i18n/I.d.ts.map +0 -1
  605. package/dist/src/i18n/I.js +0 -21
  606. package/dist/src/i18n/I.js.map +0 -1
  607. package/dist/src/i18n/M.d.ts +0 -3
  608. package/dist/src/i18n/M.d.ts.map +0 -1
  609. package/dist/src/i18n/M.js +0 -4
  610. package/dist/src/i18n/M.js.map +0 -1
  611. package/dist/src/i18n/O_E.d.ts +0 -3
  612. package/dist/src/i18n/O_E.d.ts.map +0 -1
  613. package/dist/src/i18n/O_E.js +0 -7
  614. package/dist/src/i18n/O_E.js.map +0 -1
  615. package/dist/src/i18n/PA.d.ts +0 -3
  616. package/dist/src/i18n/PA.d.ts.map +0 -1
  617. package/dist/src/i18n/PA.js +0 -16
  618. package/dist/src/i18n/PA.js.map +0 -1
  619. package/dist/src/i18n/SA.d.ts +0 -3
  620. package/dist/src/i18n/SA.d.ts.map +0 -1
  621. package/dist/src/i18n/SA.js +0 -16
  622. package/dist/src/i18n/SA.js.map +0 -1
  623. package/dist/src/i18n/TC.d.ts +0 -3
  624. package/dist/src/i18n/TC.d.ts.map +0 -1
  625. package/dist/src/i18n/TC.js +0 -16
  626. package/dist/src/i18n/TC.js.map +0 -1
  627. package/dist/src/i18n/VA.d.ts +0 -3
  628. package/dist/src/i18n/VA.d.ts.map +0 -1
  629. package/dist/src/i18n/VA.js +0 -16
  630. package/dist/src/i18n/VA.js.map +0 -1
  631. package/dist/src/i18n/Z.d.ts +0 -3
  632. package/dist/src/i18n/Z.d.ts.map +0 -1
  633. package/dist/src/i18n/Z.js +0 -22
  634. package/dist/src/i18n/Z.js.map +0 -1
  635. package/dist/src/i18n/fi-FI.d.ts +0 -192
  636. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  637. package/dist/src/i18n/fi-FI.js +0 -182
  638. package/dist/src/i18n/fi-FI.js.map +0 -1
  639. package/dist/src/i18n/index.d.ts +0 -20
  640. package/dist/src/i18n/index.d.ts.map +0 -1
  641. package/dist/src/i18n/index.js +0 -128
  642. package/dist/src/i18n/index.js.map +0 -1
  643. package/dist/src/i18n/sv-FI.d.ts +0 -3
  644. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  645. package/dist/src/i18n/sv-FI.js +0 -181
  646. package/dist/src/i18n/sv-FI.js.map +0 -1
  647. package/dist/src/ids.d.ts +0 -14
  648. package/dist/src/ids.d.ts.map +0 -1
  649. package/dist/src/ids.js +0 -28
  650. package/dist/src/ids.js.map +0 -1
  651. package/dist/src/index.d.ts +0 -19
  652. package/dist/src/index.d.ts.map +0 -1
  653. package/dist/src/index.js +0 -12
  654. package/dist/src/index.js.map +0 -1
  655. package/dist/src/parser/parseExam.d.ts +0 -2
  656. package/dist/src/parser/parseExam.d.ts.map +0 -1
  657. package/dist/src/parser/parseExam.js +0 -54
  658. package/dist/src/parser/parseExam.js.map +0 -1
  659. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  660. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  661. package/dist/src/parser/parseExamStructure.js +0 -40
  662. package/dist/src/parser/parseExamStructure.js.map +0 -1
  663. package/dist/src/renderAnnotations.d.ts +0 -7
  664. package/dist/src/renderAnnotations.d.ts.map +0 -1
  665. package/dist/src/renderAnnotations.js +0 -193
  666. package/dist/src/renderAnnotations.js.map +0 -1
  667. package/dist/src/scrollToHash.d.ts +0 -2
  668. package/dist/src/scrollToHash.d.ts.map +0 -1
  669. package/dist/src/scrollToHash.js +0 -24
  670. package/dist/src/scrollToHash.js.map +0 -1
  671. package/dist/src/shortDisplayNumber.d.ts +0 -2
  672. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  673. package/dist/src/shortDisplayNumber.js +0 -5
  674. package/dist/src/shortDisplayNumber.js.map +0 -1
  675. package/dist/src/store/answers/actions.d.ts +0 -33
  676. package/dist/src/store/answers/actions.d.ts.map +0 -1
  677. package/dist/src/store/answers/actions.js +0 -9
  678. package/dist/src/store/answers/actions.js.map +0 -1
  679. package/dist/src/store/answers/reducer.d.ts +0 -39
  680. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  681. package/dist/src/store/answers/reducer.js +0 -55
  682. package/dist/src/store/answers/reducer.js.map +0 -1
  683. package/dist/src/store/answers/sagas.d.ts +0 -8
  684. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  685. package/dist/src/store/answers/sagas.js +0 -60
  686. package/dist/src/store/answers/sagas.js.map +0 -1
  687. package/dist/src/store/audio/actions.d.ts +0 -29
  688. package/dist/src/store/audio/actions.d.ts.map +0 -1
  689. package/dist/src/store/audio/actions.js +0 -9
  690. package/dist/src/store/audio/actions.js.map +0 -1
  691. package/dist/src/store/audio/reducer.d.ts +0 -27
  692. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  693. package/dist/src/store/audio/reducer.js +0 -55
  694. package/dist/src/store/audio/reducer.js.map +0 -1
  695. package/dist/src/store/audio/sagas.d.ts +0 -3
  696. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  697. package/dist/src/store/audio/sagas.js +0 -68
  698. package/dist/src/store/audio/sagas.js.map +0 -1
  699. package/dist/src/store/cas/actions.d.ts +0 -19
  700. package/dist/src/store/cas/actions.d.ts.map +0 -1
  701. package/dist/src/store/cas/actions.js +0 -9
  702. package/dist/src/store/cas/actions.js.map +0 -1
  703. package/dist/src/store/cas/reducer.d.ts +0 -14
  704. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  705. package/dist/src/store/cas/reducer.js +0 -24
  706. package/dist/src/store/cas/reducer.js.map +0 -1
  707. package/dist/src/store/cas/sagas.d.ts +0 -18
  708. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  709. package/dist/src/store/cas/sagas.js +0 -36
  710. package/dist/src/store/cas/sagas.js.map +0 -1
  711. package/dist/src/store/countdown.d.ts +0 -4
  712. package/dist/src/store/countdown.d.ts.map +0 -1
  713. package/dist/src/store/countdown.js +0 -33
  714. package/dist/src/store/countdown.js.map +0 -1
  715. package/dist/src/store/index.d.ts +0 -78
  716. package/dist/src/store/index.d.ts.map +0 -1
  717. package/dist/src/store/index.js +0 -53
  718. package/dist/src/store/index.js.map +0 -1
  719. package/dist/src/store/selectors.d.ts +0 -9
  720. package/dist/src/store/selectors.d.ts.map +0 -1
  721. package/dist/src/store/selectors.js +0 -35
  722. package/dist/src/store/selectors.js.map +0 -1
  723. package/dist/src/types/ExamAnswer.d.ts +0 -22
  724. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  725. package/dist/src/types/ExamAnswer.js +0 -2
  726. package/dist/src/types/ExamAnswer.js.map +0 -1
  727. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  728. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  729. package/dist/src/types/ExamServerAPI.js +0 -2
  730. package/dist/src/types/ExamServerAPI.js.map +0 -1
  731. package/dist/src/types/GradingStructure.d.ts +0 -40
  732. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  733. package/dist/src/types/GradingStructure.js +0 -2
  734. package/dist/src/types/GradingStructure.js.map +0 -1
  735. package/dist/src/types/Score.d.ts +0 -92
  736. package/dist/src/types/Score.d.ts.map +0 -1
  737. package/dist/src/types/Score.js +0 -2
  738. package/dist/src/types/Score.js.map +0 -1
  739. package/dist/src/url.d.ts +0 -7
  740. package/dist/src/url.d.ts.map +0 -1
  741. package/dist/src/url.js +0 -12
  742. package/dist/src/url.js.map +0 -1
  743. package/dist/src/useCached.d.ts +0 -3
  744. package/dist/src/useCached.d.ts.map +0 -1
  745. package/dist/src/useCached.js +0 -6
  746. package/dist/src/useCached.js.map +0 -1
  747. package/dist/src/utils.d.ts +0 -15
  748. package/dist/src/utils.d.ts.map +0 -1
  749. package/dist/src/utils.js +0 -35
  750. package/dist/src/utils.js.map +0 -1
  751. package/dist/src/validateAnswers.d.ts +0 -16
  752. package/dist/src/validateAnswers.d.ts.map +0 -1
  753. package/dist/src/validateAnswers.js +0 -89
  754. package/dist/src/validateAnswers.js.map +0 -1
  755. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,21 @@
1
+ import React, { useEffect, useRef } from 'react';
2
+ import { isExistingAnnotation } from './markText';
3
+ function AnnotationMark({ annotation, onClickAnnotation, setNewAnnotationRef, __html, children }) {
4
+ const markRef = useRef(null);
5
+ useEffect(() => {
6
+ if (markRef.current && !isExistingAnnotation(annotation)) {
7
+ setNewAnnotationRef(markRef.current);
8
+ }
9
+ }, []);
10
+ const dangerouslySetInnerHTML = __html ? { dangerouslySetInnerHTML: { __html } } : {};
11
+ return (React.createElement(React.Fragment, null,
12
+ React.createElement("mark", { ref: markRef, className: `e-annotation ${annotation.resolved ? 'resolved' : ''}`, "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "false", "data-annotation-path": annotation.annotationAnchor, onClick: e => {
13
+ if (isExistingAnnotation(annotation)) {
14
+ e.stopPropagation();
15
+ onClickAnnotation(e, annotation.annotationId);
16
+ }
17
+ }, ...dangerouslySetInnerHTML }, __html ? null : children),
18
+ (annotation === null || annotation === void 0 ? void 0 : annotation.markNumber) && React.createElement("sup", { className: "e-annotation", "data-content": annotation === null || annotation === void 0 ? void 0 : annotation.markNumber })));
19
+ }
20
+ export default React.memo(AnnotationMark);
21
+ //# sourceMappingURL=AnnotationTextMark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnnotationTextMark.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationTextMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,SAAS,cAAc,CAAC,EACtB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EAMR;IACA,MAAM,OAAO,GAAG,MAAM,CAAc,IAAI,CAAC,CAAA;IAEzC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;YACzD,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACtC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,MAAM,uBAAuB,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAErF,OAAO,CACL;QACE,8BACE,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,gBAAgB,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,wBAC9C,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBACvE,OAAO,0BACG,UAAU,CAAC,gBAAgB,EACjD,OAAO,EAAE,CAAC,CAAC,EAAE;gBACX,IAAI,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;oBACrC,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,CAAC,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;gBAC/C,CAAC;YACH,CAAC,KACG,uBAAuB,IAE1B,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CACpB;QACN,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,KAAI,6BAAK,SAAS,EAAC,cAAc,kBAAe,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,GAAI,CAChG,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../src/components/shared/Audio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AASjE,iBAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAoC1E;;AAED,wBAAgC"}
1
+ {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../src/components/shared/Audio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AASjE,iBAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAuC1E;;AAED,wBAAgC"}
@@ -20,7 +20,7 @@ function Audio({ element, className, renderChildNodes }) {
20
20
  : undefined;
21
21
  const { resolveAttachment } = useContext(CommonExamContext);
22
22
  const labelId = audioLabelId(element);
23
- return (React.createElement("div", { className: classNames('audio e-columns e-columns--center-v e-mrg-b-2', className) },
23
+ return (React.createElement("div", { className: classNames('audio e-columns e-columns--center-v e-pad-b-2 e-cursor-default', className), onClick: e => e.preventDefault() },
24
24
  restrictedAudioId != null && times != null ? (React.createElement(RestrictedAudioPlayer, { src, restrictedAudioId, duration, times, labelId })) : (React.createElement("audio", { className: "e-column e-column--narrow", "aria-describedby": labelId, preload: "metadata", controls: true, controlsList: "nodownload" },
25
25
  React.createElement("source", { src: resolveAttachment(src) }))),
26
26
  React.createElement("div", { className: "e-column", id: labelId },
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.js","sourceRoot":"","sources":["../../../src/components/shared/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AACxF,OAAO,kBAAkB,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,qBAAqB,MAAM,kCAAkC,CAAA;AAEpE,SAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAsB;IACzE,MAAM,GAAG,GAAG,OAAO,CAAC,YAAY,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AI,gCAAK,CAAC,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAAC,CAAM,CACxG,CACF,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import { NewRenderableAnnotation, RenderableAnnotation } from '../../types/Score';
3
- export declare function isExistingAnnotation(annotation: NewRenderableAnnotation | RenderableAnnotation): annotation is RenderableAnnotation;
4
- export declare function markText(text: string, annotations: (RenderableAnnotation | NewRenderableAnnotation)[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
2
+ import { AnnotationPart, WithAnnotationId } from '../../types/ExamAnnotations';
3
+ export declare function getKey(annotation: AnnotationPart): string;
4
+ export declare function isExistingAnnotation(annotation: AnnotationPart): annotation is WithAnnotationId<AnnotationPart>;
5
+ export declare function markText(text: string, annotations: AnnotationPart[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotationId: number) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
5
6
  //# sourceMappingURL=markText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAOjF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,uBAAuB,GAAG,oBAAoB,GACzD,UAAU,IAAI,oBAAoB,CAEpC;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,EAAE,EAC/D,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,EAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBA4GvD"}
1
+ {"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAI9E,wBAAgB,MAAM,CAAC,UAAU,EAAE,cAAc,UAIhD;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,cAAc,GAAG,UAAU,IAAI,gBAAgB,CAAC,cAAc,CAAC,CAE/G;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,cAAc,EAAE,EAC7B,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,EAC/F,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBAgGvD"}
@@ -1,8 +1,11 @@
1
1
  import * as _ from 'lodash-es';
2
2
  import React from 'react';
3
- import { AnnotationMark } from './AnnotationMark';
4
- function getKey(annotation) {
5
- return isExistingAnnotation(annotation) ? annotation.annotationId + annotation.startIndex : annotation.startIndex;
3
+ import AnnotationTextMark from './AnnotationTextMark';
4
+ import HiddenAnnotationMark from './HiddenAnnotationMark';
5
+ export function getKey(annotation) {
6
+ return isExistingAnnotation(annotation)
7
+ ? annotation.annotationId + annotation.annotationAnchor
8
+ : annotation.annotationAnchor;
6
9
  }
7
10
  export function isExistingAnnotation(annotation) {
8
11
  return 'annotationId' in annotation;
@@ -20,7 +23,8 @@ export function markText(text, annotations, onClickAnnotation, setNewAnnotationR
20
23
  const nodes = [];
21
24
  hiddenAnnotations.forEach(annotation => {
22
25
  const key = getKey(annotation);
23
- nodes.push(React.createElement("mark", { key: key, className: "e-annotation", "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "true" }));
26
+ const annotationId = isExistingAnnotation(annotation) ? annotation.annotationId : null;
27
+ nodes.push(React.createElement(HiddenAnnotationMark, { key: key, annotationId: annotationId }));
24
28
  });
25
29
  let lastIndex = 0;
26
30
  const onlyLeadingSpacesRemoved = text.replace(/^\s+/, ' ');
@@ -62,7 +66,8 @@ export function markText(text, annotations, onClickAnnotation, setNewAnnotationR
62
66
  }
63
67
  // Add marked text
64
68
  const key = getKey(annotation);
65
- nodes.push(annotation.hidden ? (React.createElement("mark", { key: key, className: "e-annotation", "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "true" })) : (React.createElement(AnnotationMark, { key: key, annotation: annotation, markedText: annotatedTextWithCorrectedStartIndex, onClickAnnotation: onClickAnnotation, setNewAnnotationRef: setNewAnnotationRef })));
69
+ const annotationId = isExistingAnnotation(annotation) ? annotation.annotationId : null;
70
+ nodes.push(annotation.hidden ? (React.createElement(HiddenAnnotationMark, { key: key, annotationId: annotationId })) : (React.createElement(AnnotationTextMark, { key: key, annotation: annotation, onClickAnnotation: onClickAnnotation, setNewAnnotationRef: setNewAnnotationRef }, annotatedTextWithCorrectedStartIndex)));
66
71
  lastIndex = correctStartIndex + annotation.length;
67
72
  }
68
73
  // Add remaining unmarked text
@@ -1 +1 @@
1
- {"version":3,"file":"markText.js","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,SAAS,MAAM,CAAC,UAA0D;IACxE,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CA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AAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAA;IACrC,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -0,0 +1,22 @@
1
+ declare const _exports: ({
2
+ parserOptions: {
3
+ project: string;
4
+ tsconfigRootDir: string;
5
+ };
6
+ rules: {
7
+ 'no-restricted-imports': (string | {
8
+ paths: ({
9
+ name: string;
10
+ message: string;
11
+ } | {
12
+ name: string;
13
+ importNames: string[];
14
+ message: string;
15
+ })[];
16
+ })[];
17
+ };
18
+ } | {
19
+ ignores: string[];
20
+ })[];
21
+ export = _exports;
22
+ //# sourceMappingURL=eslint.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ module.exports = [
3
+ {
4
+ parserOptions: {
5
+ project: '../tsconfig.json',
6
+ tsconfigRootDir: __dirname
7
+ },
8
+ rules: {
9
+ 'no-restricted-imports': [
10
+ 'error',
11
+ {
12
+ paths: [
13
+ {
14
+ name: 'lodash',
15
+ message: "Please use import * as _ from 'lodash-es' in the core module for better tree shaking."
16
+ },
17
+ {
18
+ name: 'react-i18next',
19
+ importNames: ['useTranslation', 'Translation'],
20
+ message: 'Please use the `useExamTranslation` wrapper instead.'
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ ignores: ['dist/**/*', 'node_modules/**/*']
29
+ }
30
+ ];
31
+ //# sourceMappingURL=eslint.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf;QACE,aAAa,EAAE;YACb,OAAO,EAAE,kBAAkB;YAC3B,eAAe,EAAE,SAAS;SAC3B;QACD,KAAK,EAAE;YACL,uBAAuB,EAAE;gBACvB,OAAO;gBACP;oBACE,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,QAAQ;4BACd,OAAO,EAAE,uFAAuF;yBACjG;wBACD;4BACE,IAAI,EAAE,eAAe;4BACrB,WAAW,EAAE,CAAC,gBAAgB,EAAE,aAAa,CAAC;4BAC9C,OAAO,EAAE,sDAAsD;yBAChE;qBACF;iBACF;aACF;SACF;KACF;IACD;QACE,OAAO,EAAE,CAAC,WAAW,EAAE,mBAAmB,CAAC;KAC5C;CACF,CAAA"}
@@ -0,0 +1,46 @@
1
+ export declare const examTitlesFi: {
2
+ codes: {
3
+ A5: string;
4
+ A_E: string;
5
+ A_X: string;
6
+ BA: string;
7
+ BB: string;
8
+ BI: string;
9
+ DC: string;
10
+ EA: string;
11
+ EC: string;
12
+ ET: string;
13
+ FA: string;
14
+ FC: string;
15
+ FF: string;
16
+ FY: string;
17
+ GC: string;
18
+ GE: string;
19
+ HI: string;
20
+ I: string;
21
+ IC: string;
22
+ KE: string;
23
+ L1: string;
24
+ L7: string;
25
+ M: string;
26
+ N: string;
27
+ PA: string;
28
+ PC: string;
29
+ PS: string;
30
+ QC: string;
31
+ SA: string;
32
+ SC: string;
33
+ TC: string;
34
+ TE: string;
35
+ UE: string;
36
+ UO: string;
37
+ VA: string;
38
+ VC: string;
39
+ W: string;
40
+ YH: string;
41
+ Z: string;
42
+ };
43
+ 'hearing-impaired': string;
44
+ 'visually-impaired': string;
45
+ };
46
+ //# sourceMappingURL=exam_titles_fi-FI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exam_titles_fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/exam_titles_fi-FI.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAA"}
@@ -0,0 +1,46 @@
1
+ export const examTitlesFi = {
2
+ codes: {
3
+ A5: 'FI – Suomi toisena kielenä ja kirjallisuus',
4
+ A_E: 'FI – Äidinkieli ja kirjallisuus, kirjoitustaidon koe',
5
+ A_X: 'FI – Äidinkieli ja kirjallisuus, lukutaidon koe',
6
+ BA: 'FI – Ruotsi, pitkä oppimäärä',
7
+ BB: 'FI – Ruotsi, keskipitkä oppimäärä',
8
+ BI: 'FI – Biologia',
9
+ DC: 'FI – Pohjoissaame, lyhyt oppimäärä',
10
+ EA: 'FI – Englanti, pitkä oppimäärä',
11
+ EC: 'FI – Englanti, lyhyt oppimäärä',
12
+ ET: 'FI – Elämänkatsomustieto',
13
+ FA: 'FI – Ranska, pitkä oppimäärä',
14
+ FC: 'FI – Ranska, lyhyt oppimäärä',
15
+ FF: 'FI – Filosofia',
16
+ FY: 'FI – Fysiikka',
17
+ GC: 'FI – Portugali, lyhyt oppimäärä',
18
+ GE: 'FI – Maantiede',
19
+ HI: 'FI – Historia',
20
+ I: 'Eenikielâ já kirjálâšvuotâ, anarâškielâ',
21
+ IC: 'FI – Inarinsaame, lyhyt oppimäärä',
22
+ KE: 'FI – Kemia',
23
+ L1: 'FI – Latina, lyhyt oppimäärä',
24
+ L7: 'FI – Latina, laajempi lyhyt oppimäärä',
25
+ M: 'FI – Matematiikka, pitkä oppimäärä',
26
+ N: 'FI – Matematiikka, lyhyt oppimäärä',
27
+ PA: 'FI – Espanja, pitkä oppimäärä',
28
+ PC: 'FI – Espanja, lyhyt oppimäärä',
29
+ PS: 'FI – Psykologia',
30
+ QC: 'FI – Koltansaame, lyhyt oppimäärä',
31
+ SA: 'FI – Saksa, pitkä oppimäärä',
32
+ SC: 'FI – Saksa, lyhyt oppimäärä',
33
+ TC: 'FI – Italia, lyhyt oppimäärä',
34
+ TE: 'FI – Terveystieto',
35
+ UE: 'FI – Evankelisluterilainen uskonto',
36
+ UO: 'FI – Ortodoksinen uskonto',
37
+ VA: 'FI – Venäjä, pitkä oppimäärä',
38
+ VC: 'FI – Venäjä, lyhyt oppimäärä',
39
+ W: 'Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll',
40
+ YH: 'FI – Yhteiskuntaoppi',
41
+ Z: 'Eatnigiella ja girjjálašvuohta, davvisámegiella'
42
+ },
43
+ 'hearing-impaired': '(kuulovammaiset)',
44
+ 'visually-impaired': '(näkövammaiset)'
45
+ };
46
+ //# sourceMappingURL=exam_titles_fi-FI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exam_titles_fi-FI.js","sourceRoot":"","sources":["../../src/i18n/exam_titles_fi-FI.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE;QACL,EAAE,EAAE,4CAA4C;QAChD,GAAG,EAAE,sDAAsD;QAC3D,GAAG,EAAE,iDAAiD;QACtD,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,oCAAoC;QACxC,EAAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,0BAA0B;QAC9B,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,eAAe;QACnB,CAAC,EAAE,yCAAyC;QAC5C,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,YAAY;QAChB,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,uCAAuC;QAC3C,CAAC,EAAE,oCAAoC;QACvC,CAAC,EAAE,oCAAoC;QACvC,EAAE,EAAE,+BAA+B;QACnC,EAAE,EAAE,+BAA+B;QACnC,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,oCAAoC;QACxC,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,8BAA8B;QAClC,CAAC,EAAE,2CAA2C;QAC9C,EAAE,EAAE,sBAAsB;QAC1B,CAAC,EAAE,iDAAiD;KACrD;IACD,kBAAkB,EAAE,kBAAkB;IACtC,mBAAmB,EAAE,iBAAiB;CACvC,CAAA"}
@@ -0,0 +1,45 @@
1
+ {
2
+ "codes": {
3
+ "A5": "FI – Suomi toisena kielenä ja kirjallisuus",
4
+ "A_E": "FI – Äidinkieli ja kirjallisuus, kirjoitustaidon koe",
5
+ "A_X": "FI – Äidinkieli ja kirjallisuus, lukutaidon koe",
6
+ "BA": "FI – Ruotsi, pitkä oppimäärä",
7
+ "BB": "FI – Ruotsi, keskipitkä oppimäärä",
8
+ "BI": "FI – Biologia",
9
+ "DC": "FI – Pohjoissaame, lyhyt oppimäärä",
10
+ "EA": "FI – Englanti, pitkä oppimäärä",
11
+ "EC": "FI – Englanti, lyhyt oppimäärä",
12
+ "ET": "FI – Elämänkatsomustieto",
13
+ "FA": "FI – Ranska, pitkä oppimäärä",
14
+ "FC": "FI – Ranska, lyhyt oppimäärä",
15
+ "FF": "FI – Filosofia",
16
+ "FY": "FI – Fysiikka",
17
+ "GC": "FI – Portugali, lyhyt oppimäärä",
18
+ "GE": "FI – Maantiede",
19
+ "HI": "FI – Historia",
20
+ "I": "Eenikielâ já kirjálâšvuotâ, anarâškielâ",
21
+ "IC": "FI – Inarinsaame, lyhyt oppimäärä",
22
+ "KE": "FI – Kemia",
23
+ "L1": "FI – Latina, lyhyt oppimäärä",
24
+ "L7": "FI – Latina, laajempi lyhyt oppimäärä",
25
+ "M": "FI – Matematiikka, pitkä oppimäärä",
26
+ "N": "FI – Matematiikka, lyhyt oppimäärä",
27
+ "PA": "FI – Espanja, pitkä oppimäärä",
28
+ "PC": "FI – Espanja, lyhyt oppimäärä",
29
+ "PS": "FI – Psykologia",
30
+ "QC": "FI – Koltansaame, lyhyt oppimäärä",
31
+ "SA": "FI – Saksa, pitkä oppimäärä",
32
+ "SC": "FI – Saksa, lyhyt oppimäärä",
33
+ "TC": "FI – Italia, lyhyt oppimäärä",
34
+ "TE": "FI – Terveystieto",
35
+ "UE": "FI – Evankelisluterilainen uskonto",
36
+ "UO": "FI – Ortodoksinen uskonto",
37
+ "VA": "FI – Venäjä, pitkä oppimäärä",
38
+ "VC": "FI – Venäjä, lyhyt oppimäärä",
39
+ "W": "Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll",
40
+ "YH": "FI – Yhteiskuntaoppi",
41
+ "Z": "Eatnigiella ja girjjálašvuohta, davvisámegiella"
42
+ },
43
+ "hearing-impaired": "(kuulovammaiset)",
44
+ "visually-impaired": "(näkövammaiset)"
45
+ }
@@ -0,0 +1,46 @@
1
+ export declare const examTitlesSv: {
2
+ codes: {
3
+ BI: string;
4
+ CA: string;
5
+ CB: string;
6
+ EA: string;
7
+ EC: string;
8
+ ET: string;
9
+ FA: string;
10
+ FC: string;
11
+ FF: string;
12
+ FY: string;
13
+ GC: string;
14
+ GE: string;
15
+ HI: string;
16
+ KE: string;
17
+ L1: string;
18
+ L7: string;
19
+ M: string;
20
+ N: string;
21
+ O5: string;
22
+ O_E: string;
23
+ O_X: string;
24
+ PA: string;
25
+ PC: string;
26
+ PS: string;
27
+ SA: string;
28
+ SC: string;
29
+ TC: string;
30
+ TE: string;
31
+ UE: string;
32
+ UO: string;
33
+ VA: string;
34
+ VC: string;
35
+ YH: string;
36
+ W: string;
37
+ Z: string;
38
+ I: string;
39
+ DC: string;
40
+ QC: string;
41
+ IC: string;
42
+ };
43
+ 'hearing-impaired': string;
44
+ 'visually-impaired': string;
45
+ };
46
+ //# sourceMappingURL=exam_titles_sv-FI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exam_titles_sv-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/exam_titles_sv-FI.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAA"}
@@ -0,0 +1,46 @@
1
+ export const examTitlesSv = {
2
+ codes: {
3
+ BI: 'SV – Biologi',
4
+ CA: 'SV – Finska, lång lärokurs',
5
+ CB: 'SV – Finska, medellång lärokurs',
6
+ EA: 'SV – Engelska, lång lärokurs',
7
+ EC: 'SV – Engelska, kort lärokurs',
8
+ ET: 'SV – Livsåskådningskunskap',
9
+ FA: 'SV – Franska, lång lärokurs',
10
+ FC: 'SV – Franska, kort lärokurs',
11
+ FF: 'SV – Filosofi',
12
+ FY: 'SV – Fysik',
13
+ GC: 'SV – Portugisiska, kort lärokurs',
14
+ GE: 'SV – Geografi',
15
+ HI: 'SV – Historia',
16
+ KE: 'SV – Kemi',
17
+ L1: 'SV – Latin, kort lärokurs',
18
+ L7: 'SV – Latin, utvidgad kort lärokurs',
19
+ M: 'SV – Matematik, lång lärokurs',
20
+ N: 'SV – Matematik, kort lärokurs',
21
+ O5: 'SV – Svenska som andraspråk och litteratur',
22
+ O_E: 'SV – Modersmål och litteratur, provet i skrivkompetens',
23
+ O_X: 'SV – Modersmål och litteratur, provet i läskompetens',
24
+ PA: 'SV – Spanska, lång lärokurs',
25
+ PC: 'SV – Spanska, kort lärokurs',
26
+ PS: 'SV – Psykologi',
27
+ SA: 'SV – Tyska, lång lärokurs',
28
+ SC: 'SV – Tyska, kort lärokurs',
29
+ TC: 'SV – Italienska, kort lärokurs',
30
+ TE: 'SV – Hälsokunskap',
31
+ UE: 'SV – Evangelisk-luthersk religion',
32
+ UO: 'SV – Ortodox religion',
33
+ VA: 'SV – Ryska, lång lärokurs',
34
+ VC: 'SV – Ryska, kort lärokurs',
35
+ YH: 'SV – Samhällslära',
36
+ W: 'Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll',
37
+ Z: 'Eatnigiella ja girjjálašvuohta, davvisámegiella',
38
+ I: 'Eenikielâ já kirjálâšvuotâ, anarâškielâ',
39
+ DC: 'SV – Nordsamiska, kort lärokurs',
40
+ QC: 'SV – Skoltsamiska, kort lärokurs',
41
+ IC: 'SV – Enaresamiska, kort lärokurs'
42
+ },
43
+ 'hearing-impaired': '(hörselskadade)',
44
+ 'visually-impaired': '(synskadade)'
45
+ };
46
+ //# sourceMappingURL=exam_titles_sv-FI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exam_titles_sv-FI.js","sourceRoot":"","sources":["../../src/i18n/exam_titles_sv-FI.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE;QACL,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,4BAA4B;QAChC,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,8BAA8B;QAClC,EAAE,EAAE,4BAA4B;QAChC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,YAAY;QAChB,EAAE,EAAE,kCAAkC;QACtC,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,eAAe;QACnB,EAAE,EAAE,WAAW;QACf,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,oCAAoC;QACxC,CAAC,EAAE,+BAA+B;QAClC,CAAC,EAAE,+BAA+B;QAClC,EAAE,EAAE,4CAA4C;QAChD,GAAG,EAAE,wDAAwD;QAC7D,GAAG,EAAE,sDAAsD;QAC3D,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,6BAA6B;QACjC,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,gCAAgC;QACpC,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,mCAAmC;QACvC,EAAE,EAAE,uBAAuB;QAC3B,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,mBAAmB;QACvB,CAAC,EAAE,2CAA2C;QAC9C,CAAC,EAAE,iDAAiD;QACpD,CAAC,EAAE,yCAAyC;QAC5C,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,kCAAkC;QACtC,EAAE,EAAE,kCAAkC;KACvC;IACD,kBAAkB,EAAE,iBAAiB;IACrC,mBAAmB,EAAE,cAAc;CACpC,CAAA"}
@@ -0,0 +1,45 @@
1
+ {
2
+ "codes": {
3
+ "BI": "SV – Biologi",
4
+ "CA": "SV – Finska, lång lärokurs",
5
+ "CB": "SV – Finska, medellång lärokurs",
6
+ "EA": "SV – Engelska, lång lärokurs",
7
+ "EC": "SV – Engelska, kort lärokurs",
8
+ "ET": "SV – Livsåskådningskunskap",
9
+ "FA": "SV – Franska, lång lärokurs",
10
+ "FC": "SV – Franska, kort lärokurs",
11
+ "FF": "SV – Filosofi",
12
+ "FY": "SV – Fysik",
13
+ "GC": "SV – Portugisiska, kort lärokurs",
14
+ "GE": "SV – Geografi",
15
+ "HI": "SV – Historia",
16
+ "KE": "SV – Kemi",
17
+ "L1": "SV – Latin, kort lärokurs",
18
+ "L7": "SV – Latin, utvidgad kort lärokurs",
19
+ "M": "SV – Matematik, lång lärokurs",
20
+ "N": "SV – Matematik, kort lärokurs",
21
+ "O5": "SV – Svenska som andraspråk och litteratur",
22
+ "O_E": "SV – Modersmål och litteratur, provet i skrivkompetens",
23
+ "O_X": "SV – Modersmål och litteratur, provet i läskompetens",
24
+ "PA": "SV – Spanska, lång lärokurs",
25
+ "PC": "SV – Spanska, kort lärokurs",
26
+ "PS": "SV – Psykologi",
27
+ "SA": "SV – Tyska, lång lärokurs",
28
+ "SC": "SV – Tyska, kort lärokurs",
29
+ "TC": "SV – Italienska, kort lärokurs",
30
+ "TE": "SV – Hälsokunskap",
31
+ "UE": "SV – Evangelisk-luthersk religion",
32
+ "UO": "SV – Ortodox religion",
33
+ "VA": "SV – Ryska, lång lärokurs",
34
+ "VC": "SV – Ryska, kort lärokurs",
35
+ "YH": "SV – Samhällslära",
36
+ "W": "Jieʹnnǩiõll da ǩeʹrjjlažvuõtt, sääʹmǩiõll",
37
+ "Z": "Eatnigiella ja girjjálašvuohta, davvisámegiella",
38
+ "I": "Eenikielâ já kirjálâšvuotâ, anarâškielâ",
39
+ "DC": "SV – Nordsamiska, kort lärokurs",
40
+ "QC": "SV – Skoltsamiska, kort lärokurs",
41
+ "IC": "SV – Enaresamiska, kort lärokurs"
42
+ },
43
+ "hearing-impaired": "(hörselskadade)",
44
+ "visually-impaired": "(synskadade)"
45
+ }
@@ -0,0 +1,11 @@
1
+ import { examTitlesFi } from './exam_titles_fi-FI';
2
+ import { examTitlesSv } from './exam_titles_sv-FI';
3
+ export declare function getExamCodes(): string[];
4
+ export declare function getExamTitle(query: {
5
+ examCode: keyof typeof examTitlesFi.codes;
6
+ lang: 'fi-FI';
7
+ } | {
8
+ examCode: keyof typeof examTitlesSv.codes;
9
+ lang: 'sv-FI';
10
+ }): string;
11
+ //# sourceMappingURL=exams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exams.d.ts","sourceRoot":"","sources":["../../src/i18n/exams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,wBAAgB,YAAY,aAE3B;AAED,wBAAgB,YAAY,CAC1B,KAAK,EACD;IACE,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,CAAA;IACzC,IAAI,EAAE,OAAO,CAAA;CACd,GACD;IACE,QAAQ,EAAE,MAAM,OAAO,YAAY,CAAC,KAAK,CAAA;IACzC,IAAI,EAAE,OAAO,CAAA;CACd,GACJ,MAAM,CAER"}
@@ -0,0 +1,10 @@
1
+ import * as _ from 'lodash-es';
2
+ import { examTitlesFi } from './exam_titles_fi-FI';
3
+ import { examTitlesSv } from './exam_titles_sv-FI';
4
+ export function getExamCodes() {
5
+ return _.uniq(Object.keys(examTitlesFi.codes).concat(Object.keys(examTitlesSv.codes)));
6
+ }
7
+ export function getExamTitle(query) {
8
+ return query.lang === 'fi-FI' ? examTitlesFi.codes[query.examCode] : examTitlesSv.codes[query.examCode];
9
+ }
10
+ //# sourceMappingURL=exams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exams.js","sourceRoot":"","sources":["../../src/i18n/exams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,MAAM,UAAU,YAAY;IAC1B,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;AACxF,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,KAQK;IAEL,OAAO,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzG,CAAC"}