@digabi/exam-engine-core 23.0.0 → 23.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (652) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/components/exam/ExamineExam.d.ts +5 -0
  3. package/dist/components/exam/ExamineExam.d.ts.map +1 -0
  4. package/dist/components/exam/ExamineExam.js +20 -0
  5. package/dist/components/exam/ExamineExam.js.map +1 -0
  6. package/dist/main-bundle.js +2 -4
  7. package/dist/src/components/AnswerToolbar.d.ts +18 -0
  8. package/dist/src/components/AnswerToolbar.d.ts.map +1 -0
  9. package/dist/src/components/AnswerToolbar.js +36 -0
  10. package/dist/src/components/AnswerToolbar.js.map +1 -0
  11. package/dist/src/components/AnsweringInstructions.d.ts +12 -0
  12. package/dist/src/components/AnsweringInstructions.d.ts.map +1 -0
  13. package/dist/src/components/AnsweringInstructions.js +24 -0
  14. package/dist/src/components/AnsweringInstructions.js.map +1 -0
  15. package/dist/src/components/DocumentTitle.d.ts +5 -0
  16. package/dist/src/components/DocumentTitle.d.ts.map +1 -0
  17. package/dist/src/components/DocumentTitle.js +13 -0
  18. package/dist/src/components/DocumentTitle.js.map +1 -0
  19. package/dist/src/components/NotificationIcon.d.ts +4 -0
  20. package/dist/src/components/NotificationIcon.d.ts.map +1 -0
  21. package/dist/src/components/NotificationIcon.js +6 -0
  22. package/dist/src/components/NotificationIcon.js.map +1 -0
  23. package/dist/src/components/RenderChildNodes.d.ts +5 -0
  24. package/dist/src/components/RenderChildNodes.d.ts.map +1 -0
  25. package/dist/src/components/RenderChildNodes.js +7 -0
  26. package/dist/src/components/RenderChildNodes.js.map +1 -0
  27. package/dist/src/components/RenderExamElements.d.ts +6 -0
  28. package/dist/src/components/RenderExamElements.d.ts.map +1 -0
  29. package/dist/src/components/RenderExamElements.js +6 -0
  30. package/dist/src/components/RenderExamElements.js.map +1 -0
  31. package/dist/src/components/RenderIf.d.ts +4 -0
  32. package/dist/src/components/RenderIf.d.ts.map +1 -0
  33. package/dist/src/components/RenderIf.js +8 -0
  34. package/dist/src/components/RenderIf.js.map +1 -0
  35. package/dist/src/components/ScreenReaderOnly.d.ts +5 -0
  36. package/dist/src/components/ScreenReaderOnly.d.ts.map +1 -0
  37. package/dist/src/components/ScreenReaderOnly.js +3 -0
  38. package/dist/src/components/ScreenReaderOnly.js.map +1 -0
  39. package/dist/src/components/SectionElement.d.ts +4 -0
  40. package/dist/src/components/SectionElement.d.ts.map +1 -0
  41. package/dist/src/components/SectionElement.js +8 -0
  42. package/dist/src/components/SectionElement.js.map +1 -0
  43. package/dist/src/components/attachments/Attachment.d.ts +4 -0
  44. package/dist/src/components/attachments/Attachment.d.ts.map +1 -0
  45. package/dist/src/components/attachments/Attachment.js +8 -0
  46. package/dist/src/components/attachments/Attachment.js.map +1 -0
  47. package/dist/src/components/attachments/AttachmentTitle.d.ts +6 -0
  48. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +1 -0
  49. package/dist/src/components/attachments/AttachmentTitle.js +12 -0
  50. package/dist/src/components/attachments/AttachmentTitle.js.map +1 -0
  51. package/dist/src/components/attachments/Attachments.d.ts +5 -0
  52. package/dist/src/components/attachments/Attachments.d.ts.map +1 -0
  53. package/dist/src/components/attachments/Attachments.js +55 -0
  54. package/dist/src/components/attachments/Attachments.js.map +1 -0
  55. package/dist/src/components/attachments/ExternalMaterial.d.ts +9 -0
  56. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +1 -0
  57. package/dist/src/components/attachments/ExternalMaterial.js +46 -0
  58. package/dist/src/components/attachments/ExternalMaterial.js.map +1 -0
  59. package/dist/src/components/attachments/Question.d.ts +4 -0
  60. package/dist/src/components/attachments/Question.d.ts.map +1 -0
  61. package/dist/src/components/attachments/Question.js +16 -0
  62. package/dist/src/components/attachments/Question.js.map +1 -0
  63. package/dist/src/components/attachments/QuestionTitle.d.ts +6 -0
  64. package/dist/src/components/attachments/QuestionTitle.d.ts.map +1 -0
  65. package/dist/src/components/attachments/QuestionTitle.js +15 -0
  66. package/dist/src/components/attachments/QuestionTitle.js.map +1 -0
  67. package/dist/src/components/context/AnnotationProvider.d.ts +16 -0
  68. package/dist/src/components/context/AnnotationProvider.d.ts.map +1 -0
  69. package/dist/src/components/context/AnnotationProvider.js +35 -0
  70. package/dist/src/components/context/AnnotationProvider.js.map +1 -0
  71. package/dist/src/components/context/AttachmentContext.d.ts +13 -0
  72. package/dist/src/components/context/AttachmentContext.d.ts.map +1 -0
  73. package/dist/src/components/context/AttachmentContext.js +12 -0
  74. package/dist/src/components/context/AttachmentContext.js.map +1 -0
  75. package/dist/src/components/context/CommonExamContext.d.ts +22 -0
  76. package/dist/src/components/context/CommonExamContext.d.ts.map +1 -0
  77. package/dist/src/components/context/CommonExamContext.js +28 -0
  78. package/dist/src/components/context/CommonExamContext.js.map +1 -0
  79. package/dist/src/components/context/ExamContext.d.ts +9 -0
  80. package/dist/src/components/context/ExamContext.d.ts.map +1 -0
  81. package/dist/src/components/context/ExamContext.js +11 -0
  82. package/dist/src/components/context/ExamContext.js.map +1 -0
  83. package/dist/src/components/context/IsInSidebarContext.d.ts +6 -0
  84. package/dist/src/components/context/IsInSidebarContext.d.ts.map +1 -0
  85. package/dist/src/components/context/IsInSidebarContext.js +3 -0
  86. package/dist/src/components/context/IsInSidebarContext.js.map +1 -0
  87. package/dist/src/components/context/QuestionContext.d.ts +14 -0
  88. package/dist/src/components/context/QuestionContext.d.ts.map +1 -0
  89. package/dist/src/components/context/QuestionContext.js +27 -0
  90. package/dist/src/components/context/QuestionContext.js.map +1 -0
  91. package/dist/src/components/context/ResultsContext.d.ts +17 -0
  92. package/dist/src/components/context/ResultsContext.d.ts.map +1 -0
  93. package/dist/src/components/context/ResultsContext.js +69 -0
  94. package/dist/src/components/context/ResultsContext.js.map +1 -0
  95. package/dist/src/components/context/SectionContext.d.ts +12 -0
  96. package/dist/src/components/context/SectionContext.d.ts.map +1 -0
  97. package/dist/src/components/context/SectionContext.js +21 -0
  98. package/dist/src/components/context/SectionContext.js.map +1 -0
  99. package/dist/src/components/context/TOCContext.d.ts +7 -0
  100. package/dist/src/components/context/TOCContext.d.ts.map +1 -0
  101. package/dist/src/components/context/TOCContext.js +3 -0
  102. package/dist/src/components/context/TOCContext.js.map +1 -0
  103. package/dist/src/components/context/withContext.d.ts +3 -0
  104. package/dist/src/components/context/withContext.d.ts.map +1 -0
  105. package/dist/src/components/context/withContext.js +12 -0
  106. package/dist/src/components/context/withContext.js.map +1 -0
  107. package/dist/src/components/exam/Attachment.d.ts +4 -0
  108. package/dist/src/components/exam/Attachment.d.ts.map +1 -0
  109. package/dist/src/components/exam/Attachment.js +8 -0
  110. package/dist/src/components/exam/Attachment.js.map +1 -0
  111. package/dist/src/components/exam/ChoiceAnswer.d.ts +5 -0
  112. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +1 -0
  113. package/dist/src/components/exam/ChoiceAnswer.js +53 -0
  114. package/dist/src/components/exam/ChoiceAnswer.js.map +1 -0
  115. package/dist/src/components/exam/DropdownAnswer.d.ts +5 -0
  116. package/dist/src/components/exam/DropdownAnswer.d.ts.map +1 -0
  117. package/dist/src/components/exam/DropdownAnswer.js +101 -0
  118. package/dist/src/components/exam/DropdownAnswer.js.map +1 -0
  119. package/dist/src/components/exam/Exam.d.ts +48 -0
  120. package/dist/src/components/exam/Exam.d.ts.map +1 -0
  121. package/dist/src/components/exam/Exam.js +195 -0
  122. package/dist/src/components/exam/Exam.js.map +1 -0
  123. package/dist/src/components/exam/ExamFooter.d.ts +6 -0
  124. package/dist/src/components/exam/ExamFooter.d.ts.map +1 -0
  125. package/dist/src/components/exam/ExamFooter.js +6 -0
  126. package/dist/src/components/exam/ExamFooter.js.map +1 -0
  127. package/dist/src/components/exam/ExamInstruction.d.ts +6 -0
  128. package/dist/src/components/exam/ExamInstruction.d.ts.map +1 -0
  129. package/dist/src/components/exam/ExamInstruction.js +6 -0
  130. package/dist/src/components/exam/ExamInstruction.js.map +1 -0
  131. package/dist/src/components/exam/ExternalMaterial.d.ts +10 -0
  132. package/dist/src/components/exam/ExternalMaterial.d.ts.map +1 -0
  133. package/dist/src/components/exam/ExternalMaterial.js +33 -0
  134. package/dist/src/components/exam/ExternalMaterial.js.map +1 -0
  135. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +5 -0
  136. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +1 -0
  137. package/dist/src/components/exam/GoToExamineAnswersButton.js +18 -0
  138. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +1 -0
  139. package/dist/src/components/exam/Hints.d.ts +5 -0
  140. package/dist/src/components/exam/Hints.d.ts.map +1 -0
  141. package/dist/src/components/exam/Hints.js +31 -0
  142. package/dist/src/components/exam/Hints.js.map +1 -0
  143. package/dist/src/components/exam/Question.d.ts +8 -0
  144. package/dist/src/components/exam/Question.d.ts.map +1 -0
  145. package/dist/src/components/exam/Question.js +75 -0
  146. package/dist/src/components/exam/Question.js.map +1 -0
  147. package/dist/src/components/exam/QuestionInstruction.d.ts +6 -0
  148. package/dist/src/components/exam/QuestionInstruction.d.ts.map +1 -0
  149. package/dist/src/components/exam/QuestionInstruction.js +8 -0
  150. package/dist/src/components/exam/QuestionInstruction.js.map +1 -0
  151. package/dist/src/components/exam/QuestionTitle.d.ts +5 -0
  152. package/dist/src/components/exam/QuestionTitle.d.ts.map +1 -0
  153. package/dist/src/components/exam/QuestionTitle.js +26 -0
  154. package/dist/src/components/exam/QuestionTitle.js.map +1 -0
  155. package/dist/src/components/exam/RichTextAnswer.d.ts +41 -0
  156. package/dist/src/components/exam/RichTextAnswer.d.ts.map +1 -0
  157. package/dist/src/components/exam/RichTextAnswer.js +79 -0
  158. package/dist/src/components/exam/RichTextAnswer.js.map +1 -0
  159. package/dist/src/components/exam/Section.d.ts +4 -0
  160. package/dist/src/components/exam/Section.d.ts.map +1 -0
  161. package/dist/src/components/exam/Section.js +49 -0
  162. package/dist/src/components/exam/Section.js.map +1 -0
  163. package/dist/src/components/exam/SectionInstruction.d.ts +6 -0
  164. package/dist/src/components/exam/SectionInstruction.d.ts.map +1 -0
  165. package/dist/src/components/exam/SectionInstruction.js +6 -0
  166. package/dist/src/components/exam/SectionInstruction.js.map +1 -0
  167. package/dist/src/components/exam/SectionTitle.d.ts +6 -0
  168. package/dist/src/components/exam/SectionTitle.d.ts.map +1 -0
  169. package/dist/src/components/exam/SectionTitle.js +30 -0
  170. package/dist/src/components/exam/SectionTitle.js.map +1 -0
  171. package/dist/src/components/exam/StudentNameHeader.d.ts +8 -0
  172. package/dist/src/components/exam/StudentNameHeader.d.ts.map +1 -0
  173. package/dist/src/components/exam/StudentNameHeader.js +3 -0
  174. package/dist/src/components/exam/StudentNameHeader.js.map +1 -0
  175. package/dist/src/components/exam/TextAnswer.d.ts +6 -0
  176. package/dist/src/components/exam/TextAnswer.d.ts.map +1 -0
  177. package/dist/src/components/exam/TextAnswer.js +20 -0
  178. package/dist/src/components/exam/TextAnswer.js.map +1 -0
  179. package/dist/src/components/exam/UndoHistoryEntry.d.ts +19 -0
  180. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +1 -0
  181. package/dist/src/components/exam/UndoHistoryEntry.js +39 -0
  182. package/dist/src/components/exam/UndoHistoryEntry.js.map +1 -0
  183. package/dist/src/components/exam/UndoView.d.ts +35 -0
  184. package/dist/src/components/exam/UndoView.d.ts.map +1 -0
  185. package/dist/src/components/exam/UndoView.js +162 -0
  186. package/dist/src/components/exam/UndoView.js.map +1 -0
  187. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +9 -0
  188. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +1 -0
  189. package/dist/src/components/exam/internal/ErrorIndicator.js +63 -0
  190. package/dist/src/components/exam/internal/ErrorIndicator.js.map +1 -0
  191. package/dist/src/components/exam/internal/ProgressBar.d.ts +8 -0
  192. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +1 -0
  193. package/dist/src/components/exam/internal/ProgressBar.js +19 -0
  194. package/dist/src/components/exam/internal/ProgressBar.js.map +1 -0
  195. package/dist/src/components/exam/internal/SaveIndicator.d.ts +5 -0
  196. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +1 -0
  197. package/dist/src/components/exam/internal/SaveIndicator.js +16 -0
  198. package/dist/src/components/exam/internal/SaveIndicator.js.map +1 -0
  199. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +6 -0
  200. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +1 -0
  201. package/dist/src/components/exam/internal/TextAnswerInput.js +128 -0
  202. package/dist/src/components/exam/internal/TextAnswerInput.js.map +1 -0
  203. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +6 -0
  204. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +1 -0
  205. package/dist/src/components/grading/AnswerCharacterCounter.js +21 -0
  206. package/dist/src/components/grading/AnswerCharacterCounter.js.map +1 -0
  207. package/dist/src/components/grading/GradingAnswer.d.ts +24 -0
  208. package/dist/src/components/grading/GradingAnswer.d.ts.map +1 -0
  209. package/dist/src/components/grading/GradingAnswer.js +306 -0
  210. package/dist/src/components/grading/GradingAnswer.js.map +1 -0
  211. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +9 -0
  212. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +1 -0
  213. package/dist/src/components/grading/GradingAnswerAnnotationList.js +19 -0
  214. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +1 -0
  215. package/dist/src/components/grading/editAnnotations.d.ts +29 -0
  216. package/dist/src/components/grading/editAnnotations.d.ts.map +1 -0
  217. package/dist/src/components/grading/editAnnotations.js +190 -0
  218. package/dist/src/components/grading/editAnnotations.js.map +1 -0
  219. package/dist/src/components/grading/examAnnotationUtils.d.ts +3 -0
  220. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +1 -0
  221. package/dist/src/components/grading/examAnnotationUtils.js +44 -0
  222. package/dist/src/components/grading/examAnnotationUtils.js.map +1 -0
  223. package/dist/src/components/grading/largeImageDetector.d.ts +3 -0
  224. package/dist/src/components/grading/largeImageDetector.d.ts.map +1 -0
  225. package/dist/src/components/grading/largeImageDetector.js +45 -0
  226. package/dist/src/components/grading/largeImageDetector.js.map +1 -0
  227. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +5 -0
  228. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +1 -0
  229. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +4 -0
  230. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +1 -0
  231. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +5 -0
  232. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +1 -0
  233. package/dist/src/components/grading-instructions/AutogradedAnswer.js +34 -0
  234. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +1 -0
  235. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +5 -0
  236. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +1 -0
  237. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +17 -0
  238. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +1 -0
  239. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +5 -0
  240. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +1 -0
  241. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +4 -0
  242. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +1 -0
  243. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +6 -0
  244. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +1 -0
  245. package/dist/src/components/grading-instructions/GradingInstructions.js +109 -0
  246. package/dist/src/components/grading-instructions/GradingInstructions.js.map +1 -0
  247. package/dist/src/components/grading-instructions/Question.d.ts +4 -0
  248. package/dist/src/components/grading-instructions/Question.d.ts.map +1 -0
  249. package/dist/src/components/grading-instructions/Question.js +14 -0
  250. package/dist/src/components/grading-instructions/Question.js.map +1 -0
  251. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +5 -0
  252. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +1 -0
  253. package/dist/src/components/grading-instructions/QuestionTitle.js +19 -0
  254. package/dist/src/components/grading-instructions/QuestionTitle.js.map +1 -0
  255. package/dist/src/components/grading-instructions/Recording.d.ts +5 -0
  256. package/dist/src/components/grading-instructions/Recording.d.ts.map +1 -0
  257. package/dist/src/components/grading-instructions/Recording.js +19 -0
  258. package/dist/src/components/grading-instructions/Recording.js.map +1 -0
  259. package/dist/src/components/grading-instructions/Section.d.ts +4 -0
  260. package/dist/src/components/grading-instructions/Section.d.ts.map +1 -0
  261. package/dist/src/components/grading-instructions/Section.js +10 -0
  262. package/dist/src/components/grading-instructions/Section.js.map +1 -0
  263. package/dist/src/components/grading-instructions/SectionTitle.d.ts +5 -0
  264. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +1 -0
  265. package/dist/src/components/grading-instructions/SectionTitle.js +16 -0
  266. package/dist/src/components/grading-instructions/SectionTitle.js.map +1 -0
  267. package/dist/src/components/results/ChoiceAnswer.d.ts +6 -0
  268. package/dist/src/components/results/ChoiceAnswer.d.ts.map +1 -0
  269. package/dist/src/components/results/ChoiceAnswer.js +57 -0
  270. package/dist/src/components/results/ChoiceAnswer.js.map +1 -0
  271. package/dist/src/components/results/DropdownAnswer.d.ts +6 -0
  272. package/dist/src/components/results/DropdownAnswer.d.ts.map +1 -0
  273. package/dist/src/components/results/DropdownAnswer.js +43 -0
  274. package/dist/src/components/results/DropdownAnswer.js.map +1 -0
  275. package/dist/src/components/results/EndExamSession.d.ts +8 -0
  276. package/dist/src/components/results/EndExamSession.d.ts.map +1 -0
  277. package/dist/src/components/results/EndExamSession.js +20 -0
  278. package/dist/src/components/results/EndExamSession.js.map +1 -0
  279. package/dist/src/components/results/MultiLineAnswer.d.ts +8 -0
  280. package/dist/src/components/results/MultiLineAnswer.d.ts.map +1 -0
  281. package/dist/src/components/results/MultiLineAnswer.js +22 -0
  282. package/dist/src/components/results/MultiLineAnswer.js.map +1 -0
  283. package/dist/src/components/results/Question.d.ts +4 -0
  284. package/dist/src/components/results/Question.d.ts.map +1 -0
  285. package/dist/src/components/results/Question.js +31 -0
  286. package/dist/src/components/results/Question.js.map +1 -0
  287. package/dist/src/components/results/QuestionTitle.d.ts +6 -0
  288. package/dist/src/components/results/QuestionTitle.d.ts.map +1 -0
  289. package/dist/src/components/results/QuestionTitle.js +26 -0
  290. package/dist/src/components/results/QuestionTitle.js.map +1 -0
  291. package/dist/src/components/results/Results.d.ts +19 -0
  292. package/dist/src/components/results/Results.d.ts.map +1 -0
  293. package/dist/src/components/results/Results.js +136 -0
  294. package/dist/src/components/results/Results.js.map +1 -0
  295. package/dist/src/components/results/ScoredTextAnswer.d.ts +6 -0
  296. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +1 -0
  297. package/dist/src/components/results/ScoredTextAnswer.js +22 -0
  298. package/dist/src/components/results/ScoredTextAnswer.js.map +1 -0
  299. package/dist/src/components/results/Section.d.ts +4 -0
  300. package/dist/src/components/results/Section.d.ts.map +1 -0
  301. package/dist/src/components/results/Section.js +11 -0
  302. package/dist/src/components/results/Section.js.map +1 -0
  303. package/dist/src/components/results/SingleLineAnswer.d.ts +12 -0
  304. package/dist/src/components/results/SingleLineAnswer.d.ts.map +1 -0
  305. package/dist/src/components/results/SingleLineAnswer.js +26 -0
  306. package/dist/src/components/results/SingleLineAnswer.js.map +1 -0
  307. package/dist/src/components/results/TextAnswer.d.ts +7 -0
  308. package/dist/src/components/results/TextAnswer.d.ts.map +1 -0
  309. package/dist/src/components/results/TextAnswer.js +48 -0
  310. package/dist/src/components/results/TextAnswer.js.map +1 -0
  311. package/dist/src/components/results/internal/AnnotationList.d.ts +5 -0
  312. package/dist/src/components/results/internal/AnnotationList.d.ts.map +1 -0
  313. package/dist/src/components/results/internal/AnnotationList.js +32 -0
  314. package/dist/src/components/results/internal/AnnotationList.js.map +1 -0
  315. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +11 -0
  316. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +1 -0
  317. package/dist/src/components/results/internal/QuestionAutoScore.js +17 -0
  318. package/dist/src/components/results/internal/QuestionAutoScore.js.map +1 -0
  319. package/dist/src/components/results/internal/QuestionManualScore.d.ts +13 -0
  320. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +1 -0
  321. package/dist/src/components/results/internal/QuestionManualScore.js +66 -0
  322. package/dist/src/components/results/internal/QuestionManualScore.js.map +1 -0
  323. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +11 -0
  324. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +1 -0
  325. package/dist/src/components/results/internal/QuestionScoresContainer.js +27 -0
  326. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +1 -0
  327. package/dist/src/components/results/isExamineExamPageHook.d.ts +2 -0
  328. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +1 -0
  329. package/dist/src/components/results/isExamineExamPageHook.js +7 -0
  330. package/dist/src/components/results/isExamineExamPageHook.js.map +1 -0
  331. package/dist/src/components/shared/AnnotatableText.d.ts +5 -0
  332. package/dist/src/components/shared/AnnotatableText.d.ts.map +1 -0
  333. package/dist/src/components/shared/AnnotatableText.js +73 -0
  334. package/dist/src/components/shared/AnnotatableText.js.map +1 -0
  335. package/dist/src/components/shared/AnnotationLists.d.ts +13 -0
  336. package/dist/src/components/shared/AnnotationLists.d.ts.map +1 -0
  337. package/dist/src/components/shared/AnnotationLists.js +17 -0
  338. package/dist/src/components/shared/AnnotationLists.js.map +1 -0
  339. package/dist/src/components/shared/AnnotationPopup.d.ts +3 -0
  340. package/dist/src/components/shared/AnnotationPopup.d.ts.map +1 -0
  341. package/dist/src/components/shared/AnnotationPopup.js +74 -0
  342. package/dist/src/components/shared/AnnotationPopup.js.map +1 -0
  343. package/dist/src/components/shared/AnswerIndicator.d.ts +12 -0
  344. package/dist/src/components/shared/AnswerIndicator.d.ts.map +1 -0
  345. package/dist/src/components/shared/AnswerIndicator.js +27 -0
  346. package/dist/src/components/shared/AnswerIndicator.js.map +1 -0
  347. package/dist/src/components/shared/AnswerLengthInfo.d.ts +7 -0
  348. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +1 -0
  349. package/dist/src/components/shared/AnswerLengthInfo.js +11 -0
  350. package/dist/src/components/shared/AnswerLengthInfo.js.map +1 -0
  351. package/dist/src/components/shared/AttachmentLink.d.ts +5 -0
  352. package/dist/src/components/shared/AttachmentLink.d.ts.map +1 -0
  353. package/dist/src/components/shared/AttachmentLink.js +28 -0
  354. package/dist/src/components/shared/AttachmentLink.js.map +1 -0
  355. package/dist/src/components/shared/AttachmentLinks.d.ts +5 -0
  356. package/dist/src/components/shared/AttachmentLinks.d.ts.map +1 -0
  357. package/dist/src/components/shared/AttachmentLinks.js +58 -0
  358. package/dist/src/components/shared/AttachmentLinks.js.map +1 -0
  359. package/dist/src/components/shared/Audio.d.ts +6 -0
  360. package/dist/src/components/shared/Audio.d.ts.map +1 -0
  361. package/dist/src/components/shared/Audio.js +31 -0
  362. package/dist/src/components/shared/Audio.js.map +1 -0
  363. package/dist/src/components/shared/AudioGroup.d.ts +6 -0
  364. package/dist/src/components/shared/AudioGroup.d.ts.map +1 -0
  365. package/dist/src/components/shared/AudioGroup.js +9 -0
  366. package/dist/src/components/shared/AudioGroup.js.map +1 -0
  367. package/dist/src/components/shared/AudioTest.d.ts +6 -0
  368. package/dist/src/components/shared/AudioTest.d.ts.map +1 -0
  369. package/dist/src/components/shared/AudioTest.js +34 -0
  370. package/dist/src/components/shared/AudioTest.js.map +1 -0
  371. package/dist/src/components/shared/ExamTranslation.d.ts +6 -0
  372. package/dist/src/components/shared/ExamTranslation.d.ts.map +1 -0
  373. package/dist/src/components/shared/ExamTranslation.js +9 -0
  374. package/dist/src/components/shared/ExamTranslation.js.map +1 -0
  375. package/dist/src/components/shared/File.d.ts +6 -0
  376. package/dist/src/components/shared/File.d.ts.map +1 -0
  377. package/dist/src/components/shared/File.js +15 -0
  378. package/dist/src/components/shared/File.js.map +1 -0
  379. package/dist/src/components/shared/Footer.d.ts +5 -0
  380. package/dist/src/components/shared/Footer.d.ts.map +1 -0
  381. package/dist/src/components/shared/Footer.js +3 -0
  382. package/dist/src/components/shared/Footer.js.map +1 -0
  383. package/dist/src/components/shared/Formula.d.ts +6 -0
  384. package/dist/src/components/shared/Formula.d.ts.map +1 -0
  385. package/dist/src/components/shared/Formula.js +13 -0
  386. package/dist/src/components/shared/Formula.js.map +1 -0
  387. package/dist/src/components/shared/Image.d.ts +6 -0
  388. package/dist/src/components/shared/Image.d.ts.map +1 -0
  389. package/dist/src/components/shared/Image.js +30 -0
  390. package/dist/src/components/shared/Image.js.map +1 -0
  391. package/dist/src/components/shared/ImageOverlay.d.ts +6 -0
  392. package/dist/src/components/shared/ImageOverlay.d.ts.map +1 -0
  393. package/dist/src/components/shared/ImageOverlay.js +43 -0
  394. package/dist/src/components/shared/ImageOverlay.js.map +1 -0
  395. package/dist/src/components/shared/QuestionNumber.d.ts +4 -0
  396. package/dist/src/components/shared/QuestionNumber.d.ts.map +1 -0
  397. package/dist/src/components/shared/QuestionNumber.js +12 -0
  398. package/dist/src/components/shared/QuestionNumber.js.map +1 -0
  399. package/dist/src/components/shared/Reference.d.ts +6 -0
  400. package/dist/src/components/shared/Reference.d.ts.map +1 -0
  401. package/dist/src/components/shared/Reference.js +72 -0
  402. package/dist/src/components/shared/Reference.js.map +1 -0
  403. package/dist/src/components/shared/References.d.ts +6 -0
  404. package/dist/src/components/shared/References.d.ts.map +1 -0
  405. package/dist/src/components/shared/References.js +26 -0
  406. package/dist/src/components/shared/References.js.map +1 -0
  407. package/dist/src/components/shared/Score.d.ts +8 -0
  408. package/dist/src/components/shared/Score.d.ts.map +1 -0
  409. package/dist/src/components/shared/Score.js +13 -0
  410. package/dist/src/components/shared/Score.js.map +1 -0
  411. package/dist/src/components/shared/TOCQuestion.d.ts +4 -0
  412. package/dist/src/components/shared/TOCQuestion.d.ts.map +1 -0
  413. package/dist/src/components/shared/TOCQuestion.js +77 -0
  414. package/dist/src/components/shared/TOCQuestion.js.map +1 -0
  415. package/dist/src/components/shared/TOCSection.d.ts +7 -0
  416. package/dist/src/components/shared/TOCSection.d.ts.map +1 -0
  417. package/dist/src/components/shared/TOCSection.js +15 -0
  418. package/dist/src/components/shared/TOCSection.js.map +1 -0
  419. package/dist/src/components/shared/TOCSectionTitle.d.ts +4 -0
  420. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +1 -0
  421. package/dist/src/components/shared/TOCSectionTitle.js +34 -0
  422. package/dist/src/components/shared/TOCSectionTitle.js.map +1 -0
  423. package/dist/src/components/shared/TableOfContents.d.ts +8 -0
  424. package/dist/src/components/shared/TableOfContents.d.ts.map +1 -0
  425. package/dist/src/components/shared/TableOfContents.js +61 -0
  426. package/dist/src/components/shared/TableOfContents.js.map +1 -0
  427. package/dist/src/components/shared/VersionNumber.d.ts +3 -0
  428. package/dist/src/components/shared/VersionNumber.d.ts.map +1 -0
  429. package/dist/src/components/shared/VersionNumber.js +10 -0
  430. package/dist/src/components/shared/VersionNumber.js.map +1 -0
  431. package/dist/src/components/shared/Video.d.ts +6 -0
  432. package/dist/src/components/shared/Video.d.ts.map +1 -0
  433. package/dist/src/components/shared/Video.js +22 -0
  434. package/dist/src/components/shared/Video.js.map +1 -0
  435. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +8 -0
  436. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +1 -0
  437. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +4 -0
  438. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +1 -0
  439. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +8 -0
  440. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +1 -0
  441. package/dist/src/components/shared/internal/AudioPlaybackError.js +17 -0
  442. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +1 -0
  443. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +18 -0
  444. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +1 -0
  445. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +21 -0
  446. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +1 -0
  447. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +12 -0
  448. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -0
  449. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +46 -0
  450. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +1 -0
  451. package/dist/src/components/surround.d.ts +8 -0
  452. package/dist/src/components/surround.d.ts.map +1 -0
  453. package/dist/src/components/surround.js +19 -0
  454. package/dist/src/components/surround.js.map +1 -0
  455. package/dist/src/createRenderChildNodes.d.ts +17 -0
  456. package/dist/src/createRenderChildNodes.d.ts.map +1 -0
  457. package/dist/src/createRenderChildNodes.js +64 -0
  458. package/dist/src/createRenderChildNodes.js.map +1 -0
  459. package/dist/src/dom-utils.d.ts +20 -0
  460. package/dist/src/dom-utils.d.ts.map +1 -0
  461. package/dist/src/dom-utils.js +164 -0
  462. package/dist/src/dom-utils.js.map +1 -0
  463. package/dist/src/fonts.d.ts +5 -0
  464. package/dist/src/fonts.d.ts.map +1 -0
  465. package/dist/src/fonts.js +16 -0
  466. package/dist/src/fonts.js.map +1 -0
  467. package/dist/src/formatting.d.ts +2 -0
  468. package/dist/src/formatting.d.ts.map +1 -0
  469. package/dist/src/formatting.js +4 -0
  470. package/dist/src/formatting.js.map +1 -0
  471. package/dist/src/getDisplayName.d.ts +4 -0
  472. package/dist/src/getDisplayName.d.ts.map +1 -0
  473. package/dist/src/getDisplayName.js +5 -0
  474. package/dist/src/getDisplayName.js.map +1 -0
  475. package/dist/src/i18n/A_E.d.ts +3 -0
  476. package/dist/src/i18n/A_E.d.ts.map +1 -0
  477. package/dist/src/i18n/A_E.js +8 -0
  478. package/dist/src/i18n/A_E.js.map +1 -0
  479. package/dist/src/i18n/BA.d.ts +3 -0
  480. package/dist/src/i18n/BA.d.ts.map +1 -0
  481. package/dist/src/i18n/BA.js +11 -0
  482. package/dist/src/i18n/BA.js.map +1 -0
  483. package/dist/src/i18n/CA.d.ts +3 -0
  484. package/dist/src/i18n/CA.d.ts.map +1 -0
  485. package/dist/src/i18n/CA.js +11 -0
  486. package/dist/src/i18n/CA.js.map +1 -0
  487. package/dist/src/i18n/EA.d.ts +3 -0
  488. package/dist/src/i18n/EA.d.ts.map +1 -0
  489. package/dist/src/i18n/EA.js +16 -0
  490. package/dist/src/i18n/EA.js.map +1 -0
  491. package/dist/src/i18n/FA.d.ts +3 -0
  492. package/dist/src/i18n/FA.d.ts.map +1 -0
  493. package/dist/src/i18n/FA.js +17 -0
  494. package/dist/src/i18n/FA.js.map +1 -0
  495. package/dist/src/i18n/GC.d.ts +3 -0
  496. package/dist/src/i18n/GC.d.ts.map +1 -0
  497. package/dist/src/i18n/GC.js +16 -0
  498. package/dist/src/i18n/GC.js.map +1 -0
  499. package/dist/src/i18n/I.d.ts +3 -0
  500. package/dist/src/i18n/I.d.ts.map +1 -0
  501. package/dist/src/i18n/I.js +21 -0
  502. package/dist/src/i18n/I.js.map +1 -0
  503. package/dist/src/i18n/M.d.ts +3 -0
  504. package/dist/src/i18n/M.d.ts.map +1 -0
  505. package/dist/src/i18n/M.js +4 -0
  506. package/dist/src/i18n/M.js.map +1 -0
  507. package/dist/src/i18n/O_E.d.ts +3 -0
  508. package/dist/src/i18n/O_E.d.ts.map +1 -0
  509. package/dist/src/i18n/O_E.js +7 -0
  510. package/dist/src/i18n/O_E.js.map +1 -0
  511. package/dist/src/i18n/PA.d.ts +3 -0
  512. package/dist/src/i18n/PA.d.ts.map +1 -0
  513. package/dist/src/i18n/PA.js +16 -0
  514. package/dist/src/i18n/PA.js.map +1 -0
  515. package/dist/src/i18n/SA.d.ts +3 -0
  516. package/dist/src/i18n/SA.d.ts.map +1 -0
  517. package/dist/src/i18n/SA.js +16 -0
  518. package/dist/src/i18n/SA.js.map +1 -0
  519. package/dist/src/i18n/TC.d.ts +3 -0
  520. package/dist/src/i18n/TC.d.ts.map +1 -0
  521. package/dist/src/i18n/TC.js +16 -0
  522. package/dist/src/i18n/TC.js.map +1 -0
  523. package/dist/src/i18n/VA.d.ts +3 -0
  524. package/dist/src/i18n/VA.d.ts.map +1 -0
  525. package/dist/src/i18n/VA.js +16 -0
  526. package/dist/src/i18n/VA.js.map +1 -0
  527. package/dist/src/i18n/Z.d.ts +3 -0
  528. package/dist/src/i18n/Z.d.ts.map +1 -0
  529. package/dist/src/i18n/Z.js +22 -0
  530. package/dist/src/i18n/Z.js.map +1 -0
  531. package/dist/src/i18n/fi-FI.d.ts +192 -0
  532. package/dist/src/i18n/fi-FI.d.ts.map +1 -0
  533. package/dist/src/i18n/fi-FI.js +182 -0
  534. package/dist/src/i18n/fi-FI.js.map +1 -0
  535. package/dist/src/i18n/index.d.ts +20 -0
  536. package/dist/src/i18n/index.d.ts.map +1 -0
  537. package/dist/src/i18n/index.js +128 -0
  538. package/dist/src/i18n/index.js.map +1 -0
  539. package/dist/src/i18n/sv-FI.d.ts +3 -0
  540. package/dist/src/i18n/sv-FI.d.ts.map +1 -0
  541. package/dist/src/i18n/sv-FI.js +181 -0
  542. package/dist/src/i18n/sv-FI.js.map +1 -0
  543. package/dist/src/ids.d.ts +14 -0
  544. package/dist/src/ids.d.ts.map +1 -0
  545. package/dist/src/ids.js +28 -0
  546. package/dist/src/ids.js.map +1 -0
  547. package/dist/src/index.d.ts +19 -0
  548. package/dist/src/index.d.ts.map +1 -0
  549. package/dist/src/index.js +12 -0
  550. package/dist/src/index.js.map +1 -0
  551. package/dist/src/parser/parseExam.d.ts +2 -0
  552. package/dist/src/parser/parseExam.d.ts.map +1 -0
  553. package/dist/src/parser/parseExam.js +54 -0
  554. package/dist/src/parser/parseExam.js.map +1 -0
  555. package/dist/src/parser/parseExamStructure.d.ts +58 -0
  556. package/dist/src/parser/parseExamStructure.d.ts.map +1 -0
  557. package/dist/src/parser/parseExamStructure.js +40 -0
  558. package/dist/src/parser/parseExamStructure.js.map +1 -0
  559. package/dist/src/renderAnnotations.d.ts +7 -0
  560. package/dist/src/renderAnnotations.d.ts.map +1 -0
  561. package/dist/src/renderAnnotations.js +193 -0
  562. package/dist/src/renderAnnotations.js.map +1 -0
  563. package/dist/src/scrollToHash.d.ts +2 -0
  564. package/dist/src/scrollToHash.d.ts.map +1 -0
  565. package/dist/src/scrollToHash.js +24 -0
  566. package/dist/src/scrollToHash.js.map +1 -0
  567. package/dist/src/shortDisplayNumber.d.ts +2 -0
  568. package/dist/src/shortDisplayNumber.d.ts.map +1 -0
  569. package/dist/src/shortDisplayNumber.js +5 -0
  570. package/dist/src/shortDisplayNumber.js.map +1 -0
  571. package/dist/src/store/answers/actions.d.ts +33 -0
  572. package/dist/src/store/answers/actions.d.ts.map +1 -0
  573. package/dist/src/store/answers/actions.js +9 -0
  574. package/dist/src/store/answers/actions.js.map +1 -0
  575. package/dist/src/store/answers/reducer.d.ts +39 -0
  576. package/dist/src/store/answers/reducer.d.ts.map +1 -0
  577. package/dist/src/store/answers/reducer.js +55 -0
  578. package/dist/src/store/answers/reducer.js.map +1 -0
  579. package/dist/src/store/answers/sagas.d.ts +8 -0
  580. package/dist/src/store/answers/sagas.d.ts.map +1 -0
  581. package/dist/src/store/answers/sagas.js +60 -0
  582. package/dist/src/store/answers/sagas.js.map +1 -0
  583. package/dist/src/store/audio/actions.d.ts +29 -0
  584. package/dist/src/store/audio/actions.d.ts.map +1 -0
  585. package/dist/src/store/audio/actions.js +9 -0
  586. package/dist/src/store/audio/actions.js.map +1 -0
  587. package/dist/src/store/audio/reducer.d.ts +27 -0
  588. package/dist/src/store/audio/reducer.d.ts.map +1 -0
  589. package/dist/src/store/audio/reducer.js +55 -0
  590. package/dist/src/store/audio/reducer.js.map +1 -0
  591. package/dist/src/store/audio/sagas.d.ts +3 -0
  592. package/dist/src/store/audio/sagas.d.ts.map +1 -0
  593. package/dist/src/store/audio/sagas.js +68 -0
  594. package/dist/src/store/audio/sagas.js.map +1 -0
  595. package/dist/src/store/cas/actions.d.ts +19 -0
  596. package/dist/src/store/cas/actions.d.ts.map +1 -0
  597. package/dist/src/store/cas/actions.js +9 -0
  598. package/dist/src/store/cas/actions.js.map +1 -0
  599. package/dist/src/store/cas/reducer.d.ts +14 -0
  600. package/dist/src/store/cas/reducer.d.ts.map +1 -0
  601. package/dist/src/store/cas/reducer.js +24 -0
  602. package/dist/src/store/cas/reducer.js.map +1 -0
  603. package/dist/src/store/cas/sagas.d.ts +18 -0
  604. package/dist/src/store/cas/sagas.d.ts.map +1 -0
  605. package/dist/src/store/cas/sagas.js +36 -0
  606. package/dist/src/store/cas/sagas.js.map +1 -0
  607. package/dist/src/store/countdown.d.ts +4 -0
  608. package/dist/src/store/countdown.d.ts.map +1 -0
  609. package/dist/src/store/countdown.js +33 -0
  610. package/dist/src/store/countdown.js.map +1 -0
  611. package/dist/src/store/index.d.ts +78 -0
  612. package/dist/src/store/index.d.ts.map +1 -0
  613. package/dist/src/store/index.js +53 -0
  614. package/dist/src/store/index.js.map +1 -0
  615. package/dist/src/store/selectors.d.ts +9 -0
  616. package/dist/src/store/selectors.d.ts.map +1 -0
  617. package/dist/src/store/selectors.js +35 -0
  618. package/dist/src/store/selectors.js.map +1 -0
  619. package/dist/src/types/ExamAnswer.d.ts +22 -0
  620. package/dist/src/types/ExamAnswer.d.ts.map +1 -0
  621. package/dist/src/types/ExamAnswer.js +2 -0
  622. package/dist/src/types/ExamAnswer.js.map +1 -0
  623. package/dist/src/types/ExamServerAPI.d.ts +78 -0
  624. package/dist/src/types/ExamServerAPI.d.ts.map +1 -0
  625. package/dist/src/types/ExamServerAPI.js +2 -0
  626. package/dist/src/types/ExamServerAPI.js.map +1 -0
  627. package/dist/src/types/GradingStructure.d.ts +40 -0
  628. package/dist/src/types/GradingStructure.d.ts.map +1 -0
  629. package/dist/src/types/GradingStructure.js +2 -0
  630. package/dist/src/types/GradingStructure.js.map +1 -0
  631. package/dist/src/types/Score.d.ts +92 -0
  632. package/dist/src/types/Score.d.ts.map +1 -0
  633. package/dist/src/types/Score.js +2 -0
  634. package/dist/src/types/Score.js.map +1 -0
  635. package/dist/src/url.d.ts +7 -0
  636. package/dist/src/url.d.ts.map +1 -0
  637. package/dist/src/url.js +12 -0
  638. package/dist/src/url.js.map +1 -0
  639. package/dist/src/useCached.d.ts +3 -0
  640. package/dist/src/useCached.d.ts.map +1 -0
  641. package/dist/src/useCached.js +6 -0
  642. package/dist/src/useCached.js.map +1 -0
  643. package/dist/src/utils.d.ts +15 -0
  644. package/dist/src/utils.d.ts.map +1 -0
  645. package/dist/src/utils.js +35 -0
  646. package/dist/src/utils.js.map +1 -0
  647. package/dist/src/validateAnswers.d.ts +16 -0
  648. package/dist/src/validateAnswers.d.ts.map +1 -0
  649. package/dist/src/validateAnswers.js +89 -0
  650. package/dist/src/validateAnswers.js.map +1 -0
  651. package/dist/tsconfig.tsbuildinfo +1 -0
  652. package/package.json +3 -3
@@ -0,0 +1,182 @@
1
+ export const fi_FI = {
2
+ 'exam-total': 'Koe yhteensä',
3
+ 'grading-total': 'Yhteensä',
4
+ material: 'Aineisto',
5
+ material_plural: 'Aineistot',
6
+ 'attachments-page-title': 'Aineisto:',
7
+ 'external-material-title': 'Aineisto',
8
+ 'grading-instructions-page-title': 'Hyvän vastauksen piirteet:',
9
+ section: 'Osa {{displayNumber}}:',
10
+ question: 'Tehtävä {{displayNumber}}:',
11
+ grade: 'Arvosana',
12
+ comment: 'Kommentti',
13
+ points: '{{count}} p.',
14
+ recording: 'Tallenne',
15
+ 'audio-errors': {
16
+ 'already-accessed': 'Olet jo toistanut tämän äänitteen. Päivitä sivu.',
17
+ 'already-playing': 'Kuuntele äänite ensin loppuun.',
18
+ 'other-error': 'Äänitteen toistaminen epäonnistui, pyydä apua valvojalta.'
19
+ },
20
+ 'audio-test': {
21
+ instructions: 'Koe sisältää kuullunymmärtämisen tehtäviä.',
22
+ play: 'Testaa äänitteiden kuuluvuus',
23
+ volume: 'Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta.'
24
+ },
25
+ 'dropdown-answer': {
26
+ label: 'Valitse parhaiten sopiva vaihtoehto.',
27
+ clear: 'Poista valinta.'
28
+ },
29
+ grading: {
30
+ 'pregrading-annotations': 'Alustavan arvostelun merkinnät (opettaja)',
31
+ 'censor-annotations': 'Sensorin merkinnät',
32
+ 'pregrading-abbrev': 'alust.',
33
+ 'inspection-grading-abbrev': 'ov',
34
+ 'round.1': '1.s',
35
+ 'round.2': '2.s',
36
+ 'round.3': '3.s',
37
+ annotate: 'Merkitse',
38
+ 'non-answer-not-graded': 'Jätetty arvostelematta',
39
+ 'loading-images': 'Odota, kuvia ladataan...'
40
+ },
41
+ references: {
42
+ heading: 'Lähteet',
43
+ source: 'Lähde:',
44
+ date: 'Julkaistu:',
45
+ 'reference-date': 'Viitattu:',
46
+ translator: 'Käännös:',
47
+ 'modified-by': 'Muokkaus:'
48
+ },
49
+ cas: {
50
+ examineSectionA: 'Voit käydä tarkastelemassa A-osan vastauksiasi nyt.',
51
+ cannotEditLater: 'Palautettuasi A-osan et voi enää muokata A-osan vastauksia.',
52
+ youCanReturn: 'Tarkastelun jälkeen voit palata kokeeseen jatkamaan tehtäviin vastaamista.',
53
+ forbidden: {
54
+ infoText: 'Saat estetyt laskinohjelmat käyttöösi palautettuasi A-osan.',
55
+ buttonText: 'Palauta A-osa'
56
+ },
57
+ allowing: {
58
+ infoText: 'A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.',
59
+ cancel: 'Peruuta ({{count}} s)'
60
+ },
61
+ allowed: {
62
+ infoText: 'A-osa palautettu'
63
+ }
64
+ },
65
+ 'examine-exam': {
66
+ examine: 'Siirry tarkastelemaan vastauksiasi',
67
+ instructions: 'Tarkastelun jälkeen voit vielä palata muokkaamaan vastauksia, tai päättää kokeen.'
68
+ },
69
+ undo: {
70
+ loading: 'Ladataan...',
71
+ close: 'Sulje',
72
+ restoreAnswer: 'Palauta',
73
+ answerNoText: 'ei tekstiä',
74
+ answerWordCount: '{{count}} sana',
75
+ answerWordCount_plural: '{{count}} sanaa',
76
+ answerCharacterCount: '{{count}} merkki',
77
+ answerCharacterCount_plural: '{{count}} merkkiä',
78
+ answerImageCount: '{{count}} kuva',
79
+ answerImageCount_plural: '{{count}} kuvaa',
80
+ minutesSinceAnswer: '{{ minutes }} min sitten',
81
+ latestVersion: 'Viimeisin versio'
82
+ },
83
+ examineExam: {
84
+ returnToExam: 'Palaa suorittamaan koetta',
85
+ checkYourAnswersTitle: 'Tarkista vastauksesi',
86
+ hereAreYourAnswers: 'Näet tässä vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne näkemään.',
87
+ checkYourAnswers: 'Tarkista, että näet alla kaikki vastaukset, jotka haluat jättää arvosteltavaksi.',
88
+ removeExcessAnswers: 'Jos näet vastauksia, joita et halua jättää arvosteltavaksi, palaa kokeeseen ja poista ne.',
89
+ emptyAnswersAreHighlighted: 'Tyhjät vastaukset on korostettu.',
90
+ thereMayBeOptionalQuestions: 'Kokeessa voi olla valinnaisia tehtäviä, joten tyhjä vastaus ei välttämättä tarkoita virhettä.',
91
+ questionHasNoAnswer: 'Tähän kysymykseen ei ole vastattu',
92
+ endExamTitle: 'Päätä koe',
93
+ afterInspectingYourAnswers: 'Kun olet tarkistanut vastauksesi, päätä koe klikkaamalla alla olevaa nappia.',
94
+ youCanNotReturnToExam: 'Napin klikkaamisen jälkeen et voi enää palata kokeeseen.',
95
+ thankYouTitle: 'Kiitos!',
96
+ shutdownComputer: 'Sammuta vielä tietokoneesi.',
97
+ returnUsbStick: 'Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle.'
98
+ },
99
+ 'toc-heading': 'Sisällys',
100
+ 'answer-saved': 'Tallennettu',
101
+ 'too-many-answers': 'Vastattu liian moneen tehtävään:',
102
+ 'max-answers-warning': 'Vastaa enintään {{count}} tehtävään.',
103
+ 'open-writing-mode': 'Avaa kirjoitusnäkymä',
104
+ 'close-writing-mode': 'Pienennä näkymä',
105
+ 'listen-times-remaining': '{{count}} kuuntelukerta jäljellä.',
106
+ 'listen-times-remaining_plural': '{{count}} kuuntelukertaa jäljellä.',
107
+ 'answer-length': 'Vastauksen pituus: {{count}} merkki.',
108
+ 'answer-length_plural': 'Vastauksen pituus: {{count}} merkkiä.',
109
+ 'answer-length-with-max-length': 'Vastauksen pituus: {{count}} / {{maxLength}} merkkiä.',
110
+ 'max-length-surplus': 'Vastauksen enimmäispituus {{maxLength}} merkkiä ylittyy {{percentage}} %.',
111
+ 'max-length-info': 'Vastauksen pituus on enintään {{count}} merkkiä. Ylityksestä seuraa pistevähennys.',
112
+ 'previous-answer-versions': 'Aiemmat vastausluonnokset',
113
+ 'zoom-in': 'Suurenna kuva',
114
+ 'end-of-exam': 'Kokeen tehtävät loppuvat tähän.',
115
+ /**
116
+ * These keys have the following pattern: `{question|section|toc-fi}_{childQuestionCount}_{minAnswers}_${maxAnswers}`
117
+ * The `*` character serves as a wildcard.
118
+ */
119
+ 'answering-instructions': {
120
+ 'exam_*_1_1': 'Vastaa kokeessa enintään yhteen tehtävään.',
121
+ 'exam_*_2_2': 'Vastaa kokeessa enintään kahteen tehtävään.',
122
+ 'exam_*_3_3': 'Vastaa kokeessa enintään kolmeen tehtävään.',
123
+ 'exam_*_4_4': 'Vastaa kokeessa enintään neljään tehtävään.',
124
+ 'exam_*_5_5': 'Vastaa kokeessa enintään viiteen tehtävään.',
125
+ 'exam_*_6_6': 'Vastaa kokeessa enintään kuuteen tehtävään.',
126
+ 'exam_*_7_7': 'Vastaa kokeessa enintään seitsemään tehtävään.',
127
+ 'exam_*_8_8': 'Vastaa kokeessa enintään kahdeksaan tehtävään.',
128
+ 'exam_*_9_9': 'Vastaa kokeessa enintään yhdeksään tehtävään.',
129
+ 'exam_*_10_10': 'Vastaa kokeessa enintään kymmeneen tehtävään.',
130
+ 'exam_*_*_*': 'Vastaa kokeessa enintään {{answerCount, range}} tehtävään.',
131
+ 'question_*_1_1': 'Vastaa yhteen kohdista {{questions, range}}.',
132
+ 'question_*_2_2': 'Vastaa kahteen kohdista {{questions, range}}.',
133
+ 'question_*_3_3': 'Vastaa kolmeen kohdista {{questions, range}}.',
134
+ 'question_*_4_4': 'Vastaa neljään kohdista {{questions, range}}.',
135
+ 'question_*_5_5': 'Vastaa viiteen kohdista {{questions, range}}.',
136
+ 'question_*_6_6': 'Vastaa kuuteen kohdista {{questions, range}}.',
137
+ 'question_*_7_7': 'Vastaa seitsemään kohdista {{questions, range}}.',
138
+ 'question_*_8_8': 'Vastaa kahdeksaan kohdista {{questions, range}}.',
139
+ 'question_*_9_9': 'Vastaa yhdeksään kohdista {{questions, range}}.',
140
+ 'question_*_10_10': 'Vastaa kymmeneen kohdista {{questions, range}}.',
141
+ 'question_2_*_1': 'Vastaa joko kohtaan {{questions, first}} tai {{questions, last}}.',
142
+ 'question_*_*_*': 'Vastaa {{answerCount, range}} kohdista {{questions, range}}.',
143
+ 'section_*_1_1': 'Vastaa yhteen tehtävään.',
144
+ 'section_*_2_2': 'Vastaa kahteen tehtävään.',
145
+ 'section_*_3_3': 'Vastaa kolmeen tehtävään.',
146
+ 'section_*_4_4': 'Vastaa neljään tehtävään.',
147
+ 'section_*_5_5': 'Vastaa viiteen tehtävään.',
148
+ 'section_*_6_6': 'Vastaa kuuteen tehtävään.',
149
+ 'section_*_7_7': 'Vastaa seitsemään tehtävään.',
150
+ 'section_*_8_8': 'Vastaa kahdeksaan tehtävään.',
151
+ 'section_*_9_9': 'Vastaa yhdeksään tehtävään.',
152
+ 'section_*_10_10': 'Vastaa kymmeneen tehtävään.',
153
+ 'section_1_*_1': 'Vastaa tehtävään {{questions, range}}.',
154
+ 'section_2_*_1': 'Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.',
155
+ 'section_*_*_*': 'Vastaa {{answerCount, range}} tehtävään.',
156
+ 'toc-section_*_1_1': 'Vastaa yhteen tehtävään.',
157
+ 'toc-section_*_2_2': 'Vastaa kahteen tehtävään.',
158
+ 'toc-section_*_3_3': 'Vastaa kolmeen tehtävään.',
159
+ 'toc-section_*_4_4': 'Vastaa neljään tehtävään.',
160
+ 'toc-section_*_5_5': 'Vastaa viiteen tehtävään.',
161
+ 'toc-section_*_6_6': 'Vastaa kuuteen tehtävään.',
162
+ 'toc-section_*_7_7': 'Vastaa seitsemään tehtävään.',
163
+ 'toc-section_*_8_8': 'Vastaa kahdeksaan tehtävään.',
164
+ 'toc-section_*_9_9': 'Vastaa yhdeksään tehtävään.',
165
+ 'toc-section_*_10_10': 'Vastaa kymmeneen tehtävään.',
166
+ 'toc-section_1_*_1': 'Vastaa tehtävään {{questions, range}}.',
167
+ 'toc-section_2_*_1': 'Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.',
168
+ 'toc-section_*_*_*': 'Vastaa {{answerCount, range}} tehtävään.'
169
+ },
170
+ 'answer-errors': {
171
+ 'screenshot-too-big': 'Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.',
172
+ 'screenshot-byte-limit-reached': 'Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)',
173
+ 'screenshot-upload-failed': 'Kuvan liittäminen ei onnistunut. Kokeile uudestaan.',
174
+ 'answer-too-long': 'Vastaus on liian pitkä.'
175
+ },
176
+ 'screen-reader': {
177
+ 'answer-begin': '[Vastaus alkaa]',
178
+ 'answer-end': '[Vastaus päättyy]',
179
+ 'correct-answer': '[Hyväksytty vastaus]'
180
+ }
181
+ };
182
+ //# sourceMappingURL=fi-FI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fi-FI.js","sourceRoot":"","sources":["../../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,UAAU;IAC3B,QAAQ,EAAE,UAAU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mB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,8BAA8B;QACnD,mBAAmB,EAAE,8BAA8B;QACnD,mBAAmB,EAAE,6BAA6B;QAClD,qBAAqB,EAAE,6BAA6B;QACpD,mBAAmB,EAAE,wCAAwC;QAC7D,mBAAmB,EAAE,qEAAqE;QAC1F,mBAAmB,EAAE,0CAA0C;KAChE;IACD,eAAe,EAAE;QACf,oBAAoB,EAClB,0GAA0G;QAC5G,+BAA+B,EAC7B,kHAAkH;QACpH,0BAA0B,EAAE,qDAAqD;QACjF,iBAAiB,EAAE,yBAAyB;KAC7C;IACD,eAAe,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,sBAAsB;KACzC;CACF,CAAA"}
@@ -0,0 +1,20 @@
1
+ import i18n, { TOptions, TFunction } from 'i18next';
2
+ import { fi_FI } from './fi-FI';
3
+ declare module 'react-i18next' {
4
+ type ExamEngineI18nResources = {
5
+ translation: typeof fi_FI;
6
+ };
7
+ interface Resources extends ExamEngineI18nResources {
8
+ }
9
+ }
10
+ export declare function initI18n(language: string, examCode?: string, dayCode?: string): typeof i18n;
11
+ export declare function useExamTranslation(): {
12
+ i18n: import("i18next").i18n;
13
+ t: {
14
+ (key: string | string[], options?: TOptions): string | JSX.Element;
15
+ raw: TFunction;
16
+ };
17
+ };
18
+ export declare const changeLanguage: (_i18n: typeof i18n, language: string) => () => void;
19
+ export default i18n;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAuB,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAUxE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAgD/B,OAAO,QAAQ,eAAe,CAAC;IAC7B,KAAK,uBAAuB,GAAG;QAAE,WAAW,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAG5D,UAAU,SAAU,SAAQ,uBAAuB;KAAG;CACvD;AAED,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,IAAI,CAwC3F;AAED,wBAAgB,kBAAkB;;;cAGxB,MAAM,GAAG,MAAM,EAAE,YAAY,QAAQ,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO;aAC7D,SAAS;;EAKjB;AAgCD,eAAO,MAAM,cAAc,UAAW,OAAO,IAAI,YAAY,MAAM,WAAS,IAI3E,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,128 @@
1
+ import i18n from 'i18next';
2
+ import * as _ from 'lodash-es';
3
+ import React from 'react';
4
+ // eslint-disable-next-line no-restricted-imports
5
+ import { useTranslation } from 'react-i18next';
6
+ import { A_E } from './A_E';
7
+ import { BA } from './BA';
8
+ import { CA } from './CA';
9
+ import { EA } from './EA';
10
+ import { FA } from './FA';
11
+ import { fi_FI } from './fi-FI';
12
+ import { GC } from './GC';
13
+ import { I } from './I';
14
+ import { M } from './M';
15
+ import { O_E } from './O_E';
16
+ import { PA } from './PA';
17
+ import { SA } from './SA';
18
+ import { sv_FI } from './sv-FI';
19
+ import { TC } from './TC';
20
+ import { VA } from './VA';
21
+ import { Z } from './Z';
22
+ const examSpecificTranslations = {
23
+ A_E,
24
+ BA,
25
+ BB: BA,
26
+ CA,
27
+ CB: CA,
28
+ EA,
29
+ EC: EA,
30
+ FA,
31
+ FC: FA,
32
+ GC,
33
+ I,
34
+ M,
35
+ N: M,
36
+ O_E,
37
+ SA,
38
+ SC: SA,
39
+ PA,
40
+ PC: PA,
41
+ TC,
42
+ VA,
43
+ VC: VA,
44
+ Z
45
+ };
46
+ const resources = {
47
+ 'fi-FI': {
48
+ translation: fi_FI,
49
+ ...examSpecificTranslations
50
+ },
51
+ 'sv-FI': {
52
+ translation: sv_FI,
53
+ ...examSpecificTranslations
54
+ }
55
+ };
56
+ export function initI18n(language, examCode, dayCode) {
57
+ const namespace = examCode ? examCode + (dayCode ? `_${dayCode}` : '') : 'translation';
58
+ return i18n
59
+ .use({
60
+ type: 'postProcessor',
61
+ name: 'lowercase',
62
+ process: (value, _key, options) => value.toLocaleLowerCase(options.lng)
63
+ })
64
+ .createInstance({
65
+ compatibilityJSON: 'v3',
66
+ resources,
67
+ lng: language,
68
+ fallbackLng: 'fi-FI',
69
+ debug: false,
70
+ defaultNS: namespace,
71
+ fallbackNS: 'translation',
72
+ interpolation: {
73
+ escapeValue: false,
74
+ format: (value, format) => {
75
+ const val = value;
76
+ switch (format) {
77
+ case 'range': {
78
+ const [start, end] = val;
79
+ return start == null ? end : end == null ? start : start === end ? start : `${start}–${end}`;
80
+ }
81
+ case 'first':
82
+ return _.first(val);
83
+ case 'last':
84
+ return _.last(val);
85
+ default:
86
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
87
+ return value;
88
+ }
89
+ }
90
+ }
91
+ }, _.noop);
92
+ }
93
+ export function useExamTranslation() {
94
+ const { i18n, t: originalT } = useTranslation();
95
+ const t = (key, options) => translate(i18n, key, options);
96
+ t.raw = originalT;
97
+ return { i18n, t };
98
+ }
99
+ /**
100
+ * Custom wrapper for i18n.t that wraps the translated text in a span element
101
+ * containing the correct lang attribute, if necessary.
102
+ *
103
+ * If you want to disable the wrapping, you can use `t.raw(…)`.
104
+ */
105
+ function translate(instance, key, options) {
106
+ const translation = instance.t(key, options);
107
+ const namespace = instance.options.defaultNS.toString();
108
+ const examHasCustomTranslations = namespace !== 'translation' && namespace in examSpecificTranslations;
109
+ const hasCustomTranslationForKey = examHasCustomTranslations && hasTranslation(instance, namespace, key);
110
+ return hasCustomTranslationForKey || !examHasCustomTranslations ? (translation) : (React.createElement("span", { lang: instance.language }, translation));
111
+ }
112
+ /**
113
+ * A hacky way to check if we have a translation in the specified namespace.
114
+ * Ideally, we'd probably want to use `i18n.exists()` for this purpose, but I
115
+ * couldn't find a way to disable the fallback mechanism when using it.
116
+ */
117
+ function hasTranslation(instance, namespace, key) {
118
+ return Array.isArray(key)
119
+ ? key.some(k => instance.getResource(instance.language, namespace, k) != null)
120
+ : instance.getResource(instance.language, namespace, key) != null;
121
+ }
122
+ export const changeLanguage = (_i18n, language) => () => {
123
+ if (_i18n.language !== language) {
124
+ _i18n.changeLanguage(language).then(_.noop).catch(_.noop);
125
+ }
126
+ };
127
+ export default i18n;
128
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/i18n/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAkD,MAAM,SAAS,CAAA;AACxE,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,iDAAiD;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,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c,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC3D,CAAC;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Translations } from './fi-FI';
2
+ export declare const sv_FI: Translations;
3
+ //# sourceMappingURL=sv-FI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sv-FI.d.ts","sourceRoot":"","sources":["../../../src/i18n/sv-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,KAAK,EAAE,YA0LnB,CAAA"}
@@ -0,0 +1,181 @@
1
+ export const sv_FI = {
2
+ 'exam-total': 'Provet sammanlagt',
3
+ 'grading-total': 'Sammanlagt',
4
+ material: 'Material',
5
+ 'attachments-page-title': 'Material:',
6
+ 'external-material-title': 'Material',
7
+ 'grading-instructions-page-title': 'Beskrivningar av goda svar:',
8
+ section: 'Del {{displayNumber}}:',
9
+ question: 'Uppgift {{displayNumber}}:',
10
+ grade: 'Vitsord',
11
+ comment: 'Kommentar',
12
+ points: '{{count}} p.',
13
+ recording: 'Inspelningen',
14
+ 'audio-errors': {
15
+ 'already-accessed': 'Du har redan spelat denna inspelning. Uppdatera sidan',
16
+ 'already-playing': 'Lyssna först inspelningen till slut.',
17
+ 'other-error': 'Uppspelning misslyckades, be övervakaren om hjälp.'
18
+ },
19
+ 'audio-test': {
20
+ instructions: 'Provet omfattar uppgifter i hörförståelse.',
21
+ play: 'Testa hörbarheten',
22
+ volume: 'Du kan justera ljudvolymen uppe i högra hörnet av rutan.'
23
+ },
24
+ 'dropdown-answer': {
25
+ label: 'Välj det alternativ som passar bäst.',
26
+ clear: 'Avmarkera alternativet.'
27
+ },
28
+ grading: {
29
+ 'pregrading-annotations': 'Preliminära bedömningens anteckningar (lärare)',
30
+ 'censor-annotations': 'Censorns anteckningar',
31
+ 'pregrading-abbrev': 'prel.',
32
+ 'inspection-grading-abbrev': 'ompr.',
33
+ 'round.1': '1.c',
34
+ 'round.2': '2.c',
35
+ 'round.3': '3.c',
36
+ annotate: 'Markera',
37
+ 'non-answer-not-graded': 'Lämnats utan bedömning',
38
+ 'loading-images': 'Vänta, bilder laddas...'
39
+ },
40
+ references: {
41
+ heading: 'Källor',
42
+ source: 'Källa:',
43
+ date: 'Publicerad:',
44
+ 'reference-date': 'Hämtad:',
45
+ translator: 'Översättning:',
46
+ 'modified-by': 'Bearbetning:'
47
+ },
48
+ cas: {
49
+ examineSectionA: 'Du kan nu granska dina svar för del A.',
50
+ cannotEditLater: 'När du har returnerat del A kan du inte längre redigera svaren för del A.',
51
+ youCanReturn: 'Efter att du granskat dina svar kan du gå tillbaka till provet för att fortsätta svara på uppgifterna.',
52
+ forbidden: {
53
+ infoText: 'Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.',
54
+ buttonText: 'Returnera del A'
55
+ },
56
+ allowing: {
57
+ infoText: 'Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.',
58
+ cancel: 'Avbryt ({{count}} s)'
59
+ },
60
+ allowed: {
61
+ infoText: 'Del A returnerad'
62
+ }
63
+ },
64
+ 'examine-exam': {
65
+ examine: 'Kontrollera dina svar',
66
+ instructions: 'Efter att du granskat dina svar kan du ännu gå tillbaka och redigera svaren eller avsluta provet.'
67
+ },
68
+ undo: {
69
+ loading: 'Laddar...',
70
+ close: 'Stäng',
71
+ restoreAnswer: 'Återställ',
72
+ answerNoText: 'ingen text',
73
+ answerWordCount: '{{count}} ord',
74
+ answerWordCount_plural: '{{count}} ord',
75
+ answerCharacterCount: '{{count}} tecken',
76
+ answerCharacterCount_plural: '{{count}} tecken',
77
+ answerImageCount: '{{count}} bild',
78
+ answerImageCount_plural: '{{count}} bilder',
79
+ minutesSinceAnswer: '{{ minutes }} min sedan',
80
+ latestVersion: 'Den senaste versionen'
81
+ },
82
+ examineExam: {
83
+ returnToExam: 'Återvänd till provutförandet',
84
+ checkYourAnswersTitle: 'Kontrollera dina svar',
85
+ hereAreYourAnswers: 'Du ser här dina svar på samma sätt som de som bedömer proven kommer att se dem.',
86
+ checkYourAnswers: 'Kontrollera att du kan se alla de svar som du vill lämna in till bedömning.',
87
+ removeExcessAnswers: 'Om du ser svar som du inte vill lämna in till bedömning bör du gå tillbaka till provet och avlägsna dem.',
88
+ emptyAnswersAreHighlighted: 'Tomma svarsfält har markerats.',
89
+ thereMayBeOptionalQuestions: 'Det kan finnas valbara uppgifter i provet, och därmed innebär ett tomt svarsfält inte alltid att något är fel.',
90
+ questionHasNoAnswer: 'Denna fråga har inte besvarats',
91
+ endExamTitle: 'Avsluta provet',
92
+ afterInspectingYourAnswers: 'När du har kontrollerat dina svar kan du avsluta provet genom att klicka på knappen nedan.',
93
+ youCanNotReturnToExam: 'Efter att du klickat på knappen kan du inte längre gå tillbaka till provet.',
94
+ thankYouTitle: 'Tack!',
95
+ shutdownComputer: 'Stäng nu av datorn.',
96
+ returnUsbStick: 'När datorn har är avstängd, ta bort USB-minnet och ge det till provets övervakare.'
97
+ },
98
+ 'toc-heading': 'Innehåll',
99
+ 'answer-saved': 'Sparad',
100
+ 'too-many-answers': 'Svar på för många uppgifter:',
101
+ 'max-answers-warning': 'Besvara högst {{count}} uppgift.',
102
+ 'max-answers-warning_plural': 'Besvara högst {{count}} uppgifter.',
103
+ 'open-writing-mode': 'Öppna skrivvyn',
104
+ 'close-writing-mode': 'Minska vyn',
105
+ 'listen-times-remaining': '{{count}} lyssningsgång kvar.',
106
+ 'listen-times-remaining_plural': '{{count}} lyssningsgånger kvar.',
107
+ 'answer-length': 'Svarets längd: {{count}} tecken.',
108
+ 'answer-length-with-max-length': 'Svarets längd: {{count}} / {{maxLength}} tecken.',
109
+ 'max-length-surplus': 'Svaret överskrider maximallängden på {{maxLength}} märken med {{percentage}} %.',
110
+ 'max-length-info': 'Svaret får inte överskrida {{count}} tecken. Om det givna antalet tecken överskrids leder det till poängavdrag.',
111
+ 'previous-answer-versions': 'Tidigare utkast till svar',
112
+ 'zoom-in': 'Förstora bilden',
113
+ 'end-of-exam': 'Uppgifterna i provet slutar här.',
114
+ /**
115
+ * These keys have the following pattern: `{question|section|toc-fi}_{childQuestionCount}_{minAnswers}_${maxAnswers}`
116
+ * The `*` character serves as a wildcard.
117
+ */
118
+ 'answering-instructions': {
119
+ 'exam_*_1_1': 'Besvara högst en uppgift i provet.',
120
+ 'exam_*_2_2': 'Besvara högst två uppgifter i provet.',
121
+ 'exam_*_3_3': 'Besvara högst tre uppgifter i provet.',
122
+ 'exam_*_4_4': 'Besvara högst fyra uppgifter i provet.',
123
+ 'exam_*_5_5': 'Besvara högst fem uppgifter i provet.',
124
+ 'exam_*_6_6': 'Besvara högst sex uppgifter i provet.',
125
+ 'exam_*_7_7': 'Besvara högst sju uppgifter i provet.',
126
+ 'exam_*_8_8': 'Besvara högst åtta uppgifter i provet.',
127
+ 'exam_*_9_9': 'Besvara högst nio uppgifter i provet.',
128
+ 'exam_*_10_10': 'Besvara högst tio uppgifter i provet.',
129
+ 'exam_*_*_*': 'Besvara högst {{answerCount, range}} uppgifter i provet.',
130
+ 'question_*_1_1': 'Besvara en av punkterna {{questions, range}}.',
131
+ 'question_*_2_2': 'Besvara två av punkterna {{questions, range}}.',
132
+ 'question_*_3_3': 'Besvara tre av punkterna {{questions, range}}.',
133
+ 'question_*_4_4': 'Besvara fyra av punkterna {{questions, range}}.',
134
+ 'question_*_5_5': 'Besvara fem av punkterna {{questions, range}}.',
135
+ 'question_*_6_6': 'Besvara sex av punkterna {{questions, range}}.',
136
+ 'question_*_7_7': 'Besvara sju av punkterna {{questions, range}}.',
137
+ 'question_*_8_8': 'Besvara åtta av punkterna {{questions, range}}.',
138
+ 'question_*_9_9': 'Besvara nio av punkterna {{questions, range}}.',
139
+ 'question_*_10_10': 'Besvara tio av punkterna {{questions, range}}.',
140
+ 'question_2_*_1': 'Besvara antingen punkt {{questions, first}} eller {{questions, last}}.',
141
+ 'question_*_*_*': 'Besvara {{answerCount, range}} av punkterna {{questions, range}}.',
142
+ 'section_*_1_1': 'Besvara en uppgift.',
143
+ 'section_*_2_2': 'Besvara två uppgifter.',
144
+ 'section_*_3_3': 'Besvara tre uppgifter.',
145
+ 'section_*_4_4': 'Besvara fyra uppgifter.',
146
+ 'section_*_5_5': 'Besvara fem uppgifter.',
147
+ 'section_*_6_6': 'Besvara sex uppgifter.',
148
+ 'section_*_7_7': 'Besvara sju uppgifter.',
149
+ 'section_*_8_8': 'Besvara åtta uppgifter.',
150
+ 'section_*_9_9': 'Besvara nio uppgifter.',
151
+ 'section_*_10_10': 'Besvara tio uppgifter.',
152
+ 'section_1_*_1': 'Besvara uppgift {{questions, range}}.',
153
+ 'section_2_*_1': 'Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.',
154
+ 'section_*_*_*': 'Besvara {{answerCount, range}} uppgifter.',
155
+ 'toc-section_*_1_1': 'Besvara en uppgift.',
156
+ 'toc-section_*_2_2': 'Besvara två uppgifter.',
157
+ 'toc-section_*_3_3': 'Besvara tre uppgifter.',
158
+ 'toc-section_*_4_4': 'Besvara fyra uppgifter.',
159
+ 'toc-section_*_5_5': 'Besvara fem uppgifter.',
160
+ 'toc-section_*_6_6': 'Besvara sex uppgifter.',
161
+ 'toc-section_*_7_7': 'Besvara sju uppgifter.',
162
+ 'toc-section_*_8_8': 'Besvara åtta uppgifter.',
163
+ 'toc-section_*_9_9': 'Besvara nio uppgifter.',
164
+ 'toc-section_*_10_10': 'Besvara tio uppgifter.',
165
+ 'toc-section_1_*_1': 'Besvara uppgift {{questions, range}}.',
166
+ 'toc-section_2_*_1': 'Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.',
167
+ 'toc-section_*_*_*': 'Besvara {{answerCount, range}} uppgifter.'
168
+ },
169
+ 'answer-errors': {
170
+ 'screenshot-too-big': 'Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.',
171
+ 'screenshot-byte-limit-reached': 'Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)',
172
+ 'screenshot-upload-failed': 'Bifogandet av skärmdumpen misslyckades. Försök på nytt.',
173
+ 'answer-too-long': 'Svaret är för långt.'
174
+ },
175
+ 'screen-reader': {
176
+ 'answer-begin': '[Svaret börjar]',
177
+ 'answer-end': '[Svaret avslutar]',
178
+ 'correct-answer': '[Accepterat svar]'
179
+ }
180
+ };
181
+ //# sourceMappingURL=sv-FI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sv-FI.js","sourceRoot":"","sources":["../../../src/i18n/sv-FI.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAiB;IACjC,YAAY,EAAE,mBAAmB;IACjC,eAAe,EAAE,YAAY;IAC7B,QAAQ,EAAE,UAAU;IACpB,wBAAwB,EAAE,WAAW;IACrC,yBAAyB,EAAE,UAAU;IACrC,iCAAiC,EAAE,6BAA6B;IAChE,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,4BAA4B;IACtC,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,cAAc;IACtB,SAAS,EAAE,cAAc;IACzB,cAAc,EAAE;QACd,kBAAkB,EAAE,uDAAuD;QAC3E,iBAAiB,EAAE,sCAAsC;QACzD,aAAa,EAAE,oDAAoD;KACpE;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,4CAA4C;QAC1D,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,0DAA0D;KACnE;IACD,iBAAiB,EAAE;QACjB,KAAK,EAAE,sCAAsC;QAC7C,KAAK,EAAE,yBAAyB;KACjC;IACD,OAAO,EAAE;QACP,wBAAwB,EAAE,gDAAgD;QAC1E,oBAAoB,EAAE,uBAAuB;QAC7C,mBAAmB,EAAE,OAAO;QAC5B,2BAA2B,EAAE,OAAO;QACpC,SAAS,EAAE,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AiD;QACnE,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,gDAAgD;QACpE,gBAAgB,EAAE,wEAAwE;QAC1F,gBAAgB,EAAE,mEAAmE;QACrF,eAAe,EAAE,qBAAqB;QACtC,eAAe,EAAE,wBAAwB;QACzC,eAAe,EAAE,wBAAwB;QACzC,eAAe,EAAE,yBAAyB;QAC1C,eAAe,EAAE,wBAAwB;QACzC,eAAe,EAAE,wBAAwB;QACzC,eAAe,EAAE,wBAAwB;QACzC,eAAe,EAAE,yBAAyB;QAC1C,eAAe,EAAE,wBAAwB;QACzC,iBAAiB,EAAE,wBAAwB;QAC3C,eAAe,EAAE,uCAAuC;QACxD,eAAe,EAAE,0EAA0E;QAC3F,eAAe,EAAE,2CAA2C;QAC5D,mBAAmB,EAAE,qBAAqB;QAC1C,mBAAmB,EAAE,wBAAwB;QAC7C,mBAAmB,EAAE,wBAAwB;QAC7C,mBAAmB,EAAE,yBAAyB;QAC9C,mBAAmB,EAAE,wBAAwB;QAC7C,mBAAmB,EAAE,wBAAwB;QAC7C,mBAAmB,EAAE,wBAAwB;QAC7C,mBAAmB,EAAE,yBAAyB;QAC9C,mBAAmB,EAAE,wBAAwB;QAC7C,qBAAqB,EAAE,wBAAwB;QAC/C,mBAAmB,EAAE,uCAAuC;QAC5D,mBAAmB,EAAE,0EAA0E;QAC/F,mBAAmB,EAAE,2CAA2C;KACjE;IACD,eAAe,EAAE;QACf,oBAAoB,EAClB,wGAAwG;QAC1G,+BAA+B,EAC7B,8GAA8G;QAChH,0BAA0B,EAAE,yDAAyD;QACrF,iBAAiB,EAAE,sBAAsB;KAC1C;IACD,eAAe,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,mBAAmB;KACtC;CACF,CAAA"}
@@ -0,0 +1,14 @@
1
+ export declare const examTitleId = "title";
2
+ export declare const referencesTitleId = "references-title";
3
+ export declare const sectionTitleId: (displayNumber: string) => string;
4
+ export declare const questionTitleId: (displayNumber: string) => string;
5
+ export declare const questionInstructionId: (element: Element) => string;
6
+ export declare const answerLengthInfoId: (element: Element) => string;
7
+ export declare const externalMaterialListTitleId: (element: Element) => string;
8
+ export declare const tocSectionTitleId: (displayNumber: string) => string;
9
+ export declare const answerScoreId: (element: Element) => string;
10
+ export declare const imageCaptionId: (element: Element) => string;
11
+ export declare const videoCaptionId: (element: Element) => string;
12
+ export declare const audioLabelId: (element: Element) => string;
13
+ export declare const tocTitleId = "toc-title";
14
+ //# sourceMappingURL=ids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/ids.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,WAAW,UAAU,CAAA;AAElC,eAAO,MAAM,iBAAiB,qBAAqB,CAAA;AAEnD,eAAO,MAAM,cAAc,kBANiC,MAAM,WAMJ,CAAA;AAE9D,eAAO,MAAM,eAAe,kBARgC,MAAM,WAQF,CAAA;AAEhE,eAAO,MAAM,qBAAqB,YAZgB,OAAO,WAYe,CAAA;AAExE,eAAO,MAAM,kBAAkB,YAdmB,OAAO,WAcU,CAAA;AAEnE,eAAO,MAAM,2BAA2B,YAhBU,OAAO,WAgB6B,CAAA;AAEtF,eAAO,MAAM,iBAAiB,kBAhB8B,MAAM,WAgBG,CAAA;AAErE,eAAO,MAAM,aAAa,YApBwB,OAAO,WAoBD,CAAA;AAExD,eAAO,MAAM,cAAc,YAtBuB,OAAO,WAsBC,CAAA;AAE1D,eAAO,MAAM,cAAc,YAxBuB,OAAO,WAwBC,CAAA;AAE1D,eAAO,MAAM,YAAY,YA1ByB,OAAO,WA0BH,CAAA;AAEtD,eAAO,MAAM,UAAU,cAAc,CAAA"}
@@ -0,0 +1,28 @@
1
+ const elementMap = new WeakMap();
2
+ let id = 0;
3
+ /** Returns an unique numeric id for an element in the exam XML. */
4
+ const getId = (element) => {
5
+ const maybeId = elementMap.get(element);
6
+ if (maybeId != null) {
7
+ return maybeId;
8
+ }
9
+ const elementId = ++id;
10
+ elementMap.set(element, elementId);
11
+ return elementId;
12
+ };
13
+ const byElementId = (prefix) => (element) => `${prefix}-${getId(element)}`;
14
+ const byDisplayNumber = (prefix) => (displayNumber) => `${prefix}-${displayNumber}`;
15
+ export const examTitleId = 'title';
16
+ export const referencesTitleId = 'references-title';
17
+ export const sectionTitleId = byDisplayNumber('section-title');
18
+ export const questionTitleId = byDisplayNumber('question-title');
19
+ export const questionInstructionId = byElementId('question-instruction');
20
+ export const answerLengthInfoId = byElementId('answer-length-info');
21
+ export const externalMaterialListTitleId = byElementId('external-material-list-title');
22
+ export const tocSectionTitleId = byDisplayNumber('toc-section-title');
23
+ export const answerScoreId = byElementId('answer-score');
24
+ export const imageCaptionId = byElementId('image-caption');
25
+ export const videoCaptionId = byElementId('video-caption');
26
+ export const audioLabelId = byElementId('audio-label');
27
+ export const tocTitleId = 'toc-title';
28
+ //# sourceMappingURL=ids.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/ids.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,IAAI,OAAO,EAAmB,CAAA;AACjD,IAAI,EAAE,GAAG,CAAC,CAAA;AAEV,mEAAmE;AACnE,MAAM,KAAK,GAAG,CAAC,OAAgB,EAAU,EAAE;IACzC,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IAEvC,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,MAAM,SAAS,GAAG,EAAE,EAAE,CAAA;IACtB,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;IAElC,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,OAAgB,EAAE,EAAE,CAAC,GAAG,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,EAAE,CAAA;AAE3F,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,aAAqB,EAAE,EAAE,CAAC,GAAG,MAAM,IAAI,aAAa,EAAE,CAAA;AAEnG,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAA;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAkB,CAAA;AAEnD,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC,eAAe,CAAC,CAAA;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAA;AAEhE,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC,sBAAsB,CAAC,CAAA;AAExE,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAA;AAEnE,MAAM,CAAC,MAAM,2BAA2B,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAA;AAEtF,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAA;AAErE,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC,cAAc,CAAC,CAAA;AAExD,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,eAAe,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,eAAe,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,aAAa,CAAC,CAAA;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAAA"}
@@ -0,0 +1,19 @@
1
+ import '../src/css/main.less';
2
+ import Attachments from './components/attachments/Attachments';
3
+ import Exam from './components/exam/Exam';
4
+ import GradingInstructions from './components/grading-instructions/GradingInstructions';
5
+ import Results from './components/results/Results';
6
+ import parseExam from './parser/parseExam';
7
+ export { Attachments, Exam, GradingInstructions, Results, parseExam };
8
+ export { ExamComponentProps } from './createRenderChildNodes';
9
+ export * from './types/ExamAnswer';
10
+ export * from './types/ExamServerAPI';
11
+ export * from './types/GradingStructure';
12
+ export * from './types/Score';
13
+ export interface ExamBundle {
14
+ Attachments: typeof Attachments;
15
+ Exam: typeof Exam;
16
+ parseExam: typeof parseExam;
17
+ Results: typeof Results;
18
+ }
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAC7B,OAAO,WAAW,MAAM,sCAAsC,CAAA;AAC9D,OAAO,IAAI,MAAM,wBAAwB,CAAA;AACzC,OAAO,mBAAmB,MAAM,uDAAuD,CAAA;AACvF,OAAO,OAAO,MAAM,8BAA8B,CAAA;AAClD,OAAO,SAAS,MAAM,oBAAoB,CAAA;AAE1C,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,SAAS,EAAE,CAAA;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAE7B,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,OAAO,EAAE,OAAO,OAAO,CAAA;CACxB"}