@digabi/exam-engine-core 16.4.11 → 16.6.4

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 (450) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/assets/redoButton.svg +5 -0
  3. package/dist/assets/undoButton.svg +5 -0
  4. package/dist/components/RenderExamElements.js +1 -1
  5. package/dist/components/RenderExamElements.js.map +1 -1
  6. package/dist/components/ScreenReaderOnly.d.ts +3 -1
  7. package/dist/components/ScreenReaderOnly.d.ts.map +1 -1
  8. package/dist/components/ScreenReaderOnly.js.map +1 -1
  9. package/dist/components/attachments/Question.js +1 -1
  10. package/dist/components/attachments/Question.js.map +1 -1
  11. package/dist/components/exam/ChoiceAnswer.d.ts.map +1 -1
  12. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  13. package/dist/components/exam/DropdownAnswer.d.ts.map +1 -1
  14. package/dist/components/exam/DropdownAnswer.js.map +1 -1
  15. package/dist/components/exam/ExternalMaterial.js +1 -1
  16. package/dist/components/exam/ExternalMaterial.js.map +1 -1
  17. package/dist/components/exam/Hints.d.ts.map +1 -1
  18. package/dist/components/exam/Hints.js.map +1 -1
  19. package/dist/components/exam/Question.d.ts.map +1 -1
  20. package/dist/components/exam/Question.js.map +1 -1
  21. package/dist/components/exam/Section.js.map +1 -1
  22. package/dist/components/exam/internal/ErrorIndicator.d.ts.map +1 -1
  23. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  24. package/dist/components/exam/internal/TextAnswerInput.d.ts.map +1 -1
  25. package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
  26. package/dist/components/{results/Hvp.d.ts → grading/Grading.d.ts} +4 -4
  27. package/dist/components/grading/Grading.d.ts.map +1 -0
  28. package/dist/components/{results/Hvp.js → grading/Grading.js} +32 -33
  29. package/dist/components/grading/Grading.js.map +1 -0
  30. package/dist/components/{results/ResultsMultiLineAnswer.d.ts → grading/MultiLineAnswer.d.ts} +2 -2
  31. package/dist/components/grading/MultiLineAnswer.d.ts.map +1 -0
  32. package/dist/components/{results/ResultsMultiLineAnswer.js → grading/MultiLineAnswer.js} +2 -2
  33. package/dist/components/grading/MultiLineAnswer.js.map +1 -0
  34. package/dist/components/{results/ResultsExamSection.d.ts → grading/Question.d.ts} +1 -1
  35. package/dist/components/grading/Question.d.ts.map +1 -0
  36. package/dist/components/{results/ResultsExamQuestion.js → grading/Question.js} +6 -6
  37. package/dist/components/grading/Question.js.map +1 -0
  38. package/dist/components/grading/QuestionTitle.d.ts +6 -0
  39. package/dist/components/grading/QuestionTitle.d.ts.map +1 -0
  40. package/dist/components/{results/ResultsExamQuestionTitle.js → grading/QuestionTitle.js} +5 -5
  41. package/dist/components/grading/QuestionTitle.js.map +1 -0
  42. package/dist/components/grading/ScoredTextAnswer.d.ts +6 -0
  43. package/dist/components/grading/ScoredTextAnswer.d.ts.map +1 -0
  44. package/dist/components/{results/ResultsScoredTextAnswer.js → grading/ScoredTextAnswer.js} +7 -7
  45. package/dist/components/grading/ScoredTextAnswer.js.map +1 -0
  46. package/dist/components/{results/ResultsExamQuestion.d.ts → grading/Section.d.ts} +1 -1
  47. package/dist/components/grading/Section.d.ts.map +1 -0
  48. package/dist/components/{results/ResultsExamSection.js → grading/Section.js} +7 -7
  49. package/dist/components/grading/Section.js.map +1 -0
  50. package/dist/components/{results/ResultsSingleLineAnswer.d.ts → grading/SingleLineAnswer.d.ts} +3 -3
  51. package/dist/components/grading/SingleLineAnswer.d.ts.map +1 -0
  52. package/dist/components/{results/ResultsSingleLineAnswer.js → grading/SingleLineAnswer.js} +3 -3
  53. package/dist/components/grading/SingleLineAnswer.js.map +1 -0
  54. package/dist/components/grading/TextAnswer.d.ts +7 -0
  55. package/dist/components/grading/TextAnswer.d.ts.map +1 -0
  56. package/dist/components/{results/ResultsTextAnswer.js → grading/TextAnswer.js} +23 -20
  57. package/dist/components/grading/TextAnswer.js.map +1 -0
  58. package/dist/components/{results → grading/internal}/AnnotationList.d.ts +0 -0
  59. package/dist/components/grading/internal/AnnotationList.d.ts.map +1 -0
  60. package/dist/components/{results → grading/internal}/AnnotationList.js +6 -6
  61. package/dist/components/grading/internal/AnnotationList.js.map +1 -0
  62. package/dist/components/grading/internal/QuestionAutoScore.d.ts +10 -0
  63. package/dist/components/grading/internal/QuestionAutoScore.d.ts.map +1 -0
  64. package/dist/components/{results/ResultsExamQuestionAutoScore.js → grading/internal/QuestionAutoScore.js} +8 -8
  65. package/dist/components/grading/internal/QuestionAutoScore.js.map +1 -0
  66. package/dist/components/grading/internal/QuestionManualScore.d.ts +12 -0
  67. package/dist/components/grading/internal/QuestionManualScore.d.ts.map +1 -0
  68. package/dist/components/{results/ResultsExamQuestionManualScore.js → grading/internal/QuestionManualScore.js} +9 -9
  69. package/dist/components/grading/internal/QuestionManualScore.js.map +1 -0
  70. package/dist/components/grading/internal/QuestionScoresContainer.d.ts +10 -0
  71. package/dist/components/grading/internal/QuestionScoresContainer.d.ts.map +1 -0
  72. package/dist/components/{results/ResultsExamQuestionScoresContainer.js → grading/internal/QuestionScoresContainer.js} +3 -3
  73. package/dist/components/grading/internal/QuestionScoresContainer.js.map +1 -0
  74. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  75. package/dist/components/grading-instructions/GradingInstructions.js +3 -0
  76. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  77. package/dist/components/grading-instructions/Question.js +1 -1
  78. package/dist/components/grading-instructions/Question.js.map +1 -1
  79. package/dist/components/shared/TableOfContents.js +1 -1
  80. package/dist/components/shared/TableOfContents.js.map +1 -1
  81. package/dist/components/shared/internal/AttachmentLinkAnchor.d.ts +1 -0
  82. package/dist/components/shared/internal/AttachmentLinkAnchor.d.ts.map +1 -1
  83. package/dist/components/shared/internal/AttachmentLinkAnchor.js +1 -1
  84. package/dist/components/shared/internal/AttachmentLinkAnchor.js.map +1 -1
  85. package/dist/createRenderChildNodes.js +3 -3
  86. package/dist/createRenderChildNodes.js.map +1 -1
  87. package/dist/editAnnotations.d.ts +3 -0
  88. package/dist/editAnnotations.d.ts.map +1 -0
  89. package/dist/editAnnotations.js +340 -0
  90. package/dist/editAnnotations.js.map +1 -0
  91. package/dist/i18n/index.d.ts +1 -1
  92. package/dist/i18n/index.d.ts.map +1 -1
  93. package/dist/main-bundle.js +1 -1
  94. package/dist/main-bundle.js.LICENSE.txt +2 -2
  95. package/dist/main.css +1 -1
  96. package/dist/store/answers/sagas.d.ts +1 -1
  97. package/dist/store/answers/sagas.d.ts.map +1 -1
  98. package/dist/store/selectors.d.ts +3 -3
  99. package/dist/store/selectors.d.ts.map +1 -1
  100. package/package.json +6 -6
  101. package/dist/032571103548be919ea4.svg +0 -1
  102. package/dist/05b997c32de96820299c.ttf +0 -1
  103. package/dist/0bbf71d1d4392f153c80.woff +0 -1
  104. package/dist/0c33cb9e2547951a529d.woff2 +0 -1
  105. package/dist/0e631a351ab7d12cb881.woff +0 -1
  106. package/dist/158c3f3e39ef2f860f3c.woff +0 -1
  107. package/dist/1fd4142f8fb913351a8c.woff +0 -1
  108. package/dist/25b533bdd316dba31ce6.ttf +0 -1
  109. package/dist/25dc2905824b1cc2f841.ttf +0 -1
  110. package/dist/3dafcda0c2071de0adf0.eot +0 -1
  111. package/dist/3fc918a1e278a729aae1.svg +0 -1
  112. package/dist/4037eb2ea1584d07790c.ttf +0 -1
  113. package/dist/4787a4eaaf81830c4214.woff2 +0 -1
  114. package/dist/509fb00a12ecb5a0b838.woff +0 -1
  115. package/dist/5482eca6702bf41ffcf3.svg +0 -1
  116. package/dist/66d4e3e31198d14dffa1.woff +0 -1
  117. package/dist/7388d1c5bbed9c7f9e59.woff +0 -1
  118. package/dist/79e93a666eafbaa7ce39.woff +0 -1
  119. package/dist/8323fa32ebf82f2bd1b5.woff2 +0 -1
  120. package/dist/8cbb0b95c6b1ba23ad5a.ttf +0 -1
  121. package/dist/92052c4f04e537af96a9.ttf +0 -1
  122. package/dist/9c4cabf3d704a40efb3b.woff2 +0 -1
  123. package/dist/9cbea1a491d9a4e95d26.ttf +0 -1
  124. package/dist/a0ece6cc28a65ad4217b.ttf +0 -1
  125. package/dist/a7b76401dc2fc68f0bb0.svg +0 -1
  126. package/dist/aa0a4911e7f05c377821.svg +0 -1
  127. package/dist/b805daaf2d8daeefd985.woff +0 -1
  128. package/dist/bd94be52b68121426c3d.woff2 +0 -1
  129. package/dist/c1012b8a8777fddabc64.woff2 +0 -1
  130. package/dist/c6cc135e102c5a628838.woff2 +0 -1
  131. package/dist/c7eb142e7ff24be6b5fa.ttf +0 -1
  132. package/dist/components/AttachmentContext.d.ts +0 -14
  133. package/dist/components/AttachmentContext.d.ts.map +0 -1
  134. package/dist/components/AttachmentContext.js +0 -12
  135. package/dist/components/AttachmentContext.js.map +0 -1
  136. package/dist/components/AttachmentLink.d.ts +0 -5
  137. package/dist/components/AttachmentLink.d.ts.map +0 -1
  138. package/dist/components/AttachmentLink.js +0 -28
  139. package/dist/components/AttachmentLink.js.map +0 -1
  140. package/dist/components/AttachmentLinkAnchor.d.ts +0 -7
  141. package/dist/components/AttachmentLinkAnchor.d.ts.map +0 -1
  142. package/dist/components/AttachmentLinkAnchor.js +0 -4
  143. package/dist/components/AttachmentLinkAnchor.js.map +0 -1
  144. package/dist/components/AttachmentLinks.d.ts +0 -5
  145. package/dist/components/AttachmentLinks.d.ts.map +0 -1
  146. package/dist/components/AttachmentLinks.js +0 -62
  147. package/dist/components/AttachmentLinks.js.map +0 -1
  148. package/dist/components/Attachments.d.ts +0 -6
  149. package/dist/components/Attachments.d.ts.map +0 -1
  150. package/dist/components/Attachments.js +0 -55
  151. package/dist/components/Attachments.js.map +0 -1
  152. package/dist/components/AttachmentsAttachment.d.ts +0 -5
  153. package/dist/components/AttachmentsAttachment.d.ts.map +0 -1
  154. package/dist/components/AttachmentsAttachment.js +0 -8
  155. package/dist/components/AttachmentsAttachment.js.map +0 -1
  156. package/dist/components/AttachmentsAttachmentTitle.d.ts +0 -6
  157. package/dist/components/AttachmentsAttachmentTitle.d.ts.map +0 -1
  158. package/dist/components/AttachmentsAttachmentTitle.js +0 -12
  159. package/dist/components/AttachmentsAttachmentTitle.js.map +0 -1
  160. package/dist/components/AttachmentsExternalMaterial.d.ts +0 -9
  161. package/dist/components/AttachmentsExternalMaterial.d.ts.map +0 -1
  162. package/dist/components/AttachmentsExternalMaterial.js +0 -40
  163. package/dist/components/AttachmentsExternalMaterial.js.map +0 -1
  164. package/dist/components/AttachmentsQuestion.d.ts +0 -5
  165. package/dist/components/AttachmentsQuestion.d.ts.map +0 -1
  166. package/dist/components/AttachmentsQuestion.js +0 -17
  167. package/dist/components/AttachmentsQuestion.js.map +0 -1
  168. package/dist/components/AttachmentsQuestionTitle.d.ts +0 -6
  169. package/dist/components/AttachmentsQuestionTitle.d.ts.map +0 -1
  170. package/dist/components/AttachmentsQuestionTitle.js +0 -13
  171. package/dist/components/AttachmentsQuestionTitle.js.map +0 -1
  172. package/dist/components/Audio.d.ts +0 -6
  173. package/dist/components/Audio.d.ts.map +0 -1
  174. package/dist/components/Audio.js +0 -31
  175. package/dist/components/Audio.js.map +0 -1
  176. package/dist/components/AudioGroup.d.ts +0 -6
  177. package/dist/components/AudioGroup.d.ts.map +0 -1
  178. package/dist/components/AudioGroup.js +0 -9
  179. package/dist/components/AudioGroup.js.map +0 -1
  180. package/dist/components/AudioPlaybackError.d.ts +0 -7
  181. package/dist/components/AudioPlaybackError.d.ts.map +0 -1
  182. package/dist/components/AudioPlaybackError.js +0 -13
  183. package/dist/components/AudioPlaybackError.js.map +0 -1
  184. package/dist/components/AudioTest.d.ts +0 -6
  185. package/dist/components/AudioTest.d.ts.map +0 -1
  186. package/dist/components/AudioTest.js +0 -29
  187. package/dist/components/AudioTest.js.map +0 -1
  188. package/dist/components/ChoiceAnswer.d.ts +0 -12
  189. package/dist/components/ChoiceAnswer.d.ts.map +0 -1
  190. package/dist/components/ChoiceAnswer.js +0 -62
  191. package/dist/components/ChoiceAnswer.js.map +0 -1
  192. package/dist/components/CommonExamContext.d.ts +0 -19
  193. package/dist/components/CommonExamContext.d.ts.map +0 -1
  194. package/dist/components/CommonExamContext.js +0 -25
  195. package/dist/components/CommonExamContext.js.map +0 -1
  196. package/dist/components/DropdownAnswer.d.ts +0 -12
  197. package/dist/components/DropdownAnswer.d.ts.map +0 -1
  198. package/dist/components/DropdownAnswer.js +0 -100
  199. package/dist/components/DropdownAnswer.js.map +0 -1
  200. package/dist/components/ErrorIndicator.d.ts +0 -4
  201. package/dist/components/ErrorIndicator.d.ts.map +0 -1
  202. package/dist/components/ErrorIndicator.js +0 -43
  203. package/dist/components/ErrorIndicator.js.map +0 -1
  204. package/dist/components/Exam.d.ts +0 -32
  205. package/dist/components/Exam.d.ts.map +0 -1
  206. package/dist/components/Exam.js +0 -103
  207. package/dist/components/Exam.js.map +0 -1
  208. package/dist/components/ExamAttachment.d.ts +0 -5
  209. package/dist/components/ExamAttachment.d.ts.map +0 -1
  210. package/dist/components/ExamAttachment.js +0 -8
  211. package/dist/components/ExamAttachment.js.map +0 -1
  212. package/dist/components/ExamContext.d.ts +0 -10
  213. package/dist/components/ExamContext.d.ts.map +0 -1
  214. package/dist/components/ExamContext.js +0 -11
  215. package/dist/components/ExamContext.js.map +0 -1
  216. package/dist/components/ExamFooter.d.ts +0 -6
  217. package/dist/components/ExamFooter.d.ts.map +0 -1
  218. package/dist/components/ExamFooter.js +0 -7
  219. package/dist/components/ExamFooter.js.map +0 -1
  220. package/dist/components/ExamInstruction.d.ts +0 -6
  221. package/dist/components/ExamInstruction.d.ts.map +0 -1
  222. package/dist/components/ExamInstruction.js +0 -6
  223. package/dist/components/ExamInstruction.js.map +0 -1
  224. package/dist/components/ExamQuestion.d.ts +0 -5
  225. package/dist/components/ExamQuestion.d.ts.map +0 -1
  226. package/dist/components/ExamQuestion.js +0 -16
  227. package/dist/components/ExamQuestion.js.map +0 -1
  228. package/dist/components/ExamQuestionInstruction.d.ts +0 -6
  229. package/dist/components/ExamQuestionInstruction.d.ts.map +0 -1
  230. package/dist/components/ExamQuestionInstruction.js +0 -6
  231. package/dist/components/ExamQuestionInstruction.js.map +0 -1
  232. package/dist/components/ExamQuestionTitle.d.ts +0 -5
  233. package/dist/components/ExamQuestionTitle.d.ts.map +0 -1
  234. package/dist/components/ExamQuestionTitle.js +0 -24
  235. package/dist/components/ExamQuestionTitle.js.map +0 -1
  236. package/dist/components/ExamSection.d.ts +0 -5
  237. package/dist/components/ExamSection.d.ts.map +0 -1
  238. package/dist/components/ExamSection.js +0 -31
  239. package/dist/components/ExamSection.js.map +0 -1
  240. package/dist/components/ExamSectionTitle.d.ts +0 -6
  241. package/dist/components/ExamSectionTitle.d.ts.map +0 -1
  242. package/dist/components/ExamSectionTitle.js +0 -22
  243. package/dist/components/ExamSectionTitle.js.map +0 -1
  244. package/dist/components/ExternalMaterialList.d.ts +0 -10
  245. package/dist/components/ExternalMaterialList.d.ts.map +0 -1
  246. package/dist/components/ExternalMaterialList.js +0 -33
  247. package/dist/components/ExternalMaterialList.js.map +0 -1
  248. package/dist/components/File.d.ts +0 -6
  249. package/dist/components/File.d.ts.map +0 -1
  250. package/dist/components/File.js +0 -15
  251. package/dist/components/File.js.map +0 -1
  252. package/dist/components/Formula.d.ts +0 -6
  253. package/dist/components/Formula.d.ts.map +0 -1
  254. package/dist/components/Formula.js +0 -13
  255. package/dist/components/Formula.js.map +0 -1
  256. package/dist/components/Hints.d.ts +0 -5
  257. package/dist/components/Hints.d.ts.map +0 -1
  258. package/dist/components/Hints.js +0 -30
  259. package/dist/components/Hints.js.map +0 -1
  260. package/dist/components/Image.d.ts +0 -6
  261. package/dist/components/Image.d.ts.map +0 -1
  262. package/dist/components/Image.js +0 -28
  263. package/dist/components/Image.js.map +0 -1
  264. package/dist/components/ImageOverlay.d.ts +0 -6
  265. package/dist/components/ImageOverlay.d.ts.map +0 -1
  266. package/dist/components/ImageOverlay.js +0 -44
  267. package/dist/components/ImageOverlay.js.map +0 -1
  268. package/dist/components/ProgressBar.d.ts +0 -7
  269. package/dist/components/ProgressBar.d.ts.map +0 -1
  270. package/dist/components/ProgressBar.js +0 -19
  271. package/dist/components/ProgressBar.js.map +0 -1
  272. package/dist/components/QuestionContext.d.ts +0 -14
  273. package/dist/components/QuestionContext.d.ts.map +0 -1
  274. package/dist/components/QuestionContext.js +0 -20
  275. package/dist/components/QuestionContext.js.map +0 -1
  276. package/dist/components/Reference.d.ts +0 -6
  277. package/dist/components/Reference.d.ts.map +0 -1
  278. package/dist/components/Reference.js +0 -71
  279. package/dist/components/Reference.js.map +0 -1
  280. package/dist/components/References.d.ts +0 -6
  281. package/dist/components/References.d.ts.map +0 -1
  282. package/dist/components/References.js +0 -25
  283. package/dist/components/References.js.map +0 -1
  284. package/dist/components/ResponsiveMediaContainer.d.ts +0 -18
  285. package/dist/components/ResponsiveMediaContainer.d.ts.map +0 -1
  286. package/dist/components/ResponsiveMediaContainer.js +0 -21
  287. package/dist/components/ResponsiveMediaContainer.js.map +0 -1
  288. package/dist/components/RestrictedAudioPlayer.d.ts +0 -12
  289. package/dist/components/RestrictedAudioPlayer.d.ts.map +0 -1
  290. package/dist/components/RestrictedAudioPlayer.js +0 -32
  291. package/dist/components/RestrictedAudioPlayer.js.map +0 -1
  292. package/dist/components/RichTextAnswer.d.ts +0 -33
  293. package/dist/components/RichTextAnswer.d.ts.map +0 -1
  294. package/dist/components/RichTextAnswer.js +0 -61
  295. package/dist/components/RichTextAnswer.js.map +0 -1
  296. package/dist/components/SaveIndicator.d.ts +0 -5
  297. package/dist/components/SaveIndicator.d.ts.map +0 -1
  298. package/dist/components/SaveIndicator.js +0 -16
  299. package/dist/components/SaveIndicator.js.map +0 -1
  300. package/dist/components/Score.d.ts +0 -8
  301. package/dist/components/Score.d.ts.map +0 -1
  302. package/dist/components/Score.js +0 -13
  303. package/dist/components/Score.js.map +0 -1
  304. package/dist/components/Section.d.ts +0 -4
  305. package/dist/components/Section.d.ts.map +0 -1
  306. package/dist/components/Section.js +0 -8
  307. package/dist/components/Section.js.map +0 -1
  308. package/dist/components/SectionContext.d.ts +0 -13
  309. package/dist/components/SectionContext.d.ts.map +0 -1
  310. package/dist/components/SectionContext.js +0 -21
  311. package/dist/components/SectionContext.js.map +0 -1
  312. package/dist/components/SectionInstruction.d.ts +0 -6
  313. package/dist/components/SectionInstruction.d.ts.map +0 -1
  314. package/dist/components/SectionInstruction.js +0 -6
  315. package/dist/components/SectionInstruction.js.map +0 -1
  316. package/dist/components/TableOfContents.d.ts +0 -13
  317. package/dist/components/TableOfContents.d.ts.map +0 -1
  318. package/dist/components/TableOfContents.js +0 -66
  319. package/dist/components/TableOfContents.js.map +0 -1
  320. package/dist/components/TextAnswer.d.ts +0 -6
  321. package/dist/components/TextAnswer.d.ts.map +0 -1
  322. package/dist/components/TextAnswer.js +0 -17
  323. package/dist/components/TextAnswer.js.map +0 -1
  324. package/dist/components/TextAnswerInput.d.ts +0 -36
  325. package/dist/components/TextAnswerInput.d.ts.map +0 -1
  326. package/dist/components/TextAnswerInput.js +0 -145
  327. package/dist/components/TextAnswerInput.js.map +0 -1
  328. package/dist/components/Video.d.ts +0 -6
  329. package/dist/components/Video.d.ts.map +0 -1
  330. package/dist/components/Video.js +0 -15
  331. package/dist/components/Video.js.map +0 -1
  332. package/dist/components/exam/TableOfContents.d.ts +0 -13
  333. package/dist/components/exam/TableOfContents.d.ts.map +0 -1
  334. package/dist/components/exam/TableOfContents.js +0 -66
  335. package/dist/components/exam/TableOfContents.js.map +0 -1
  336. package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts +0 -5
  337. package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts.map +0 -1
  338. package/dist/components/grading-instruction/AnswerGradingInstruction.js +0 -6
  339. package/dist/components/grading-instruction/AnswerGradingInstruction.js.map +0 -1
  340. package/dist/components/grading-instruction/Audio.d.ts +0 -5
  341. package/dist/components/grading-instruction/Audio.d.ts.map +0 -1
  342. package/dist/components/grading-instruction/Audio.js +0 -6
  343. package/dist/components/grading-instruction/Audio.js.map +0 -1
  344. package/dist/components/grading-instruction/AudioTitle.d.ts +0 -5
  345. package/dist/components/grading-instruction/AudioTitle.d.ts.map +0 -1
  346. package/dist/components/grading-instruction/AudioTitle.js +0 -10
  347. package/dist/components/grading-instruction/AudioTitle.js.map +0 -1
  348. package/dist/components/grading-instruction/AutogradedAnswer.d.ts +0 -5
  349. package/dist/components/grading-instruction/AutogradedAnswer.d.ts.map +0 -1
  350. package/dist/components/grading-instruction/AutogradedAnswer.js +0 -31
  351. package/dist/components/grading-instruction/AutogradedAnswer.js.map +0 -1
  352. package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts +0 -5
  353. package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts.map +0 -1
  354. package/dist/components/grading-instruction/AutogradedAnswerOption.js +0 -14
  355. package/dist/components/grading-instruction/AutogradedAnswerOption.js.map +0 -1
  356. package/dist/components/grading-instruction/ExamGradingInstruction.d.ts +0 -5
  357. package/dist/components/grading-instruction/ExamGradingInstruction.d.ts.map +0 -1
  358. package/dist/components/grading-instruction/ExamGradingInstruction.js +0 -6
  359. package/dist/components/grading-instruction/ExamGradingInstruction.js.map +0 -1
  360. package/dist/components/grading-instruction/GradingInstruction.d.ts +0 -5
  361. package/dist/components/grading-instruction/GradingInstruction.d.ts.map +0 -1
  362. package/dist/components/grading-instruction/GradingInstruction.js +0 -85
  363. package/dist/components/grading-instruction/GradingInstruction.js.map +0 -1
  364. package/dist/components/grading-instruction/Question.d.ts +0 -5
  365. package/dist/components/grading-instruction/Question.d.ts.map +0 -1
  366. package/dist/components/grading-instruction/Question.js +0 -12
  367. package/dist/components/grading-instruction/Question.js.map +0 -1
  368. package/dist/components/grading-instruction/QuestionTitle.d.ts +0 -5
  369. package/dist/components/grading-instruction/QuestionTitle.d.ts.map +0 -1
  370. package/dist/components/grading-instruction/QuestionTitle.js +0 -19
  371. package/dist/components/grading-instruction/QuestionTitle.js.map +0 -1
  372. package/dist/components/grading-instruction/Section.d.ts +0 -5
  373. package/dist/components/grading-instruction/Section.d.ts.map +0 -1
  374. package/dist/components/grading-instruction/Section.js +0 -10
  375. package/dist/components/grading-instruction/Section.js.map +0 -1
  376. package/dist/components/grading-instruction/SectionTitle.d.ts +0 -5
  377. package/dist/components/grading-instruction/SectionTitle.d.ts.map +0 -1
  378. package/dist/components/grading-instruction/SectionTitle.js +0 -16
  379. package/dist/components/grading-instruction/SectionTitle.js.map +0 -1
  380. package/dist/components/grading-instructions/Audio.d.ts +0 -5
  381. package/dist/components/grading-instructions/Audio.d.ts.map +0 -1
  382. package/dist/components/grading-instructions/Audio.js +0 -8
  383. package/dist/components/grading-instructions/Audio.js.map +0 -1
  384. package/dist/components/grading-instructions/AudioTitle.d.ts +0 -5
  385. package/dist/components/grading-instructions/AudioTitle.d.ts.map +0 -1
  386. package/dist/components/grading-instructions/AudioTitle.js +0 -11
  387. package/dist/components/grading-instructions/AudioTitle.js.map +0 -1
  388. package/dist/components/results/AnnotationList.d.ts.map +0 -1
  389. package/dist/components/results/AnnotationList.js.map +0 -1
  390. package/dist/components/results/GradingStructure.d.ts +0 -5
  391. package/dist/components/results/GradingStructure.d.ts.map +0 -1
  392. package/dist/components/results/GradingStructure.js +0 -21
  393. package/dist/components/results/GradingStructure.js.map +0 -1
  394. package/dist/components/results/Hvp.d.ts.map +0 -1
  395. package/dist/components/results/Hvp.js.map +0 -1
  396. package/dist/components/results/HvpTextAnswer.d.ts +0 -6
  397. package/dist/components/results/HvpTextAnswer.d.ts.map +0 -1
  398. package/dist/components/results/HvpTextAnswer.js +0 -51
  399. package/dist/components/results/HvpTextAnswer.js.map +0 -1
  400. package/dist/components/results/ResultsChoiceAnswer.d.ts +0 -6
  401. package/dist/components/results/ResultsChoiceAnswer.d.ts.map +0 -1
  402. package/dist/components/results/ResultsChoiceAnswer.js +0 -57
  403. package/dist/components/results/ResultsChoiceAnswer.js.map +0 -1
  404. package/dist/components/results/ResultsContext.d.ts +0 -18
  405. package/dist/components/results/ResultsContext.d.ts.map +0 -1
  406. package/dist/components/results/ResultsContext.js +0 -68
  407. package/dist/components/results/ResultsContext.js.map +0 -1
  408. package/dist/components/results/ResultsDropdownAnswer.d.ts +0 -6
  409. package/dist/components/results/ResultsDropdownAnswer.d.ts.map +0 -1
  410. package/dist/components/results/ResultsDropdownAnswer.js +0 -43
  411. package/dist/components/results/ResultsDropdownAnswer.js.map +0 -1
  412. package/dist/components/results/ResultsExamQuestion.d.ts.map +0 -1
  413. package/dist/components/results/ResultsExamQuestion.js.map +0 -1
  414. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts +0 -10
  415. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts.map +0 -1
  416. package/dist/components/results/ResultsExamQuestionAutoScore.js.map +0 -1
  417. package/dist/components/results/ResultsExamQuestionManualScore.d.ts +0 -12
  418. package/dist/components/results/ResultsExamQuestionManualScore.d.ts.map +0 -1
  419. package/dist/components/results/ResultsExamQuestionManualScore.js.map +0 -1
  420. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts +0 -10
  421. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts.map +0 -1
  422. package/dist/components/results/ResultsExamQuestionScoresContainer.js.map +0 -1
  423. package/dist/components/results/ResultsExamQuestionTitle.d.ts +0 -6
  424. package/dist/components/results/ResultsExamQuestionTitle.d.ts.map +0 -1
  425. package/dist/components/results/ResultsExamQuestionTitle.js.map +0 -1
  426. package/dist/components/results/ResultsExamSection.d.ts.map +0 -1
  427. package/dist/components/results/ResultsExamSection.js.map +0 -1
  428. package/dist/components/results/ResultsMultiLineAnswer.d.ts.map +0 -1
  429. package/dist/components/results/ResultsMultiLineAnswer.js.map +0 -1
  430. package/dist/components/results/ResultsScoredTextAnswer.d.ts +0 -6
  431. package/dist/components/results/ResultsScoredTextAnswer.d.ts.map +0 -1
  432. package/dist/components/results/ResultsScoredTextAnswer.js.map +0 -1
  433. package/dist/components/results/ResultsSingleLineAnswer.d.ts.map +0 -1
  434. package/dist/components/results/ResultsSingleLineAnswer.js.map +0 -1
  435. package/dist/components/results/ResultsTextAnswer.d.ts +0 -6
  436. package/dist/components/results/ResultsTextAnswer.d.ts.map +0 -1
  437. package/dist/components/results/ResultsTextAnswer.js.map +0 -1
  438. package/dist/components/results/helpers.d.ts +0 -9
  439. package/dist/components/results/helpers.d.ts.map +0 -1
  440. package/dist/components/results/helpers.js +0 -11
  441. package/dist/components/results/helpers.js.map +0 -1
  442. package/dist/components/withContext.d.ts +0 -3
  443. package/dist/components/withContext.d.ts.map +0 -1
  444. package/dist/components/withContext.js +0 -12
  445. package/dist/components/withContext.js.map +0 -1
  446. package/dist/d5f084867b29732eabe0.woff2 +0 -1
  447. package/dist/dccecb74715e0fc8ebfa.woff2 +0 -1
  448. package/dist/e1202f940129338e167b.woff +0 -1
  449. package/dist/e77508f22c51d072c677.ttf +0 -1
  450. package/dist/fb3cbcef9225ce0e9ed5.woff2 +0 -1
@@ -1,19 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import { QuestionContext } from '../context/QuestionContext';
3
- import classNames from 'classnames';
4
- import { formatQuestionDisplayNumber } from '../../formatting';
5
- import { Score } from '../shared/Score';
6
- const QuestionTitle = ({ element, renderChildNodes }) => {
7
- const { displayNumber, maxScore, level } = useContext(QuestionContext);
8
- const Tag = `h${Math.min(3 + level, 6)}`;
9
- return (React.createElement(React.Fragment, null,
10
- React.createElement(Tag, { className: classNames('exam-question-title', { 'e-normal e-font-size-m': level > 0 }) },
11
- React.createElement("strong", { className: classNames('exam-question-title__display-number', {
12
- 'exam-question-title__display-number--indented': level > 0,
13
- }) }, formatQuestionDisplayNumber(displayNumber) + ' '),
14
- renderChildNodes(element),
15
- " ",
16
- React.createElement(Score, { score: maxScore, size: level === 0 ? 'large' : 'small' }))));
17
- };
18
- export default QuestionTitle;
19
- //# sourceMappingURL=QuestionTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuestionTitle.js","sourceRoot":"","sources":["../../../src/components/grading-instruction/QuestionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,MAAM,aAAa,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACnG,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IACtE,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,EAA+B,CAAA;IAErE,OAAO,CACL;QACE,oBAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,wBAAwB,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC;YACxF,gCACE,SAAS,EAAE,UAAU,CAAC,qCAAqC,EAAE;oBAC3D,+CAA+C,EAAE,KAAK,GAAG,CAAC;iBAC3D,CAAC,IAED,2BAA2B,CAAC,aAAa,CAAC,GAAG,GAAG,CAC1C;YACR,gBAAgB,CAAC,OAAO,CAAC;;YAAE,oBAAC,KAAK,IAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,GAAI,CACzF,CACL,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare const _default: React.ComponentType<ExamComponentProps>;
4
- export default _default;
5
- //# sourceMappingURL=Section.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instruction/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;;AAejE,wBAA0C"}
@@ -1,10 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import SectionElement from '../SectionElement';
3
- import { sectionTitleId } from '../../ids';
4
- import { SectionContext, withSectionContext } from '../context/SectionContext';
5
- const Section = ({ element, renderChildNodes }) => {
6
- const { displayNumber } = useContext(SectionContext);
7
- return (React.createElement(SectionElement, { className: "e-grading-instruction-section", "aria-labelledby": sectionTitleId(displayNumber) }, renderChildNodes(element)));
8
- };
9
- export default withSectionContext(Section);
10
- //# sourceMappingURL=Section.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.js","sourceRoot":"","sources":["../../../src/components/grading-instruction/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9E,MAAM,OAAO,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAEpD,OAAO,CACL,oBAAC,cAAc,IAAC,SAAS,EAAC,+BAA+B,qBAAkB,cAAc,CAAC,aAAa,CAAC,IACrG,gBAAgB,CAAC,OAAO,CAAC,CACX,CAClB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAC,OAAO,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare const SectionTitle: React.FunctionComponent<ExamComponentProps>;
4
- export default SectionTitle;
5
- //# sourceMappingURL=SectionTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instruction/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAMjE,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAc7D,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,16 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import { CommonExamContext } from '../context/CommonExamContext';
3
- import { SectionContext } from '../context/SectionContext';
4
- import { useExamTranslation } from '../../i18n';
5
- import { sectionTitleId } from '../../ids';
6
- const SectionTitle = ({ element, renderChildNodes }) => {
7
- const { numberOfSections } = useContext(CommonExamContext);
8
- const { displayNumber } = useContext(SectionContext);
9
- const { t } = useExamTranslation();
10
- return (React.createElement(React.Fragment, null, element.hasChildNodes() && (React.createElement("h2", { className: "e-grading-instructions-section-title", id: sectionTitleId(displayNumber) },
11
- numberOfSections > 1 && t('section', { displayNumber }),
12
- " ",
13
- renderChildNodes(element)))));
14
- };
15
- export default SectionTitle;
16
- //# sourceMappingURL=SectionTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SectionTitle.js","sourceRoot":"","sources":["../../../src/components/grading-instruction/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,YAAY,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAClG,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC1D,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACpD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,0CACG,OAAO,CAAC,aAAa,EAAE,IAAI,CAC1B,4BAAI,SAAS,EAAC,sCAAsC,EAAC,EAAE,EAAE,cAAc,CAAC,aAAa,CAAC;QACnF,gBAAgB,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,aAAa,EAAE,CAAC;;QAAG,gBAAgB,CAAC,OAAO,CAAC,CACjF,CACN,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- export declare const Audio: React.FunctionComponent<ExamComponentProps>;
4
- export default Audio;
5
- //# sourceMappingURL=Audio.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAM7D,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { findChildElement } from '../../dom-utils';
3
- export const Audio = ({ element, renderChildNodes }) => {
4
- const hasTranscription = findChildElement(element, 'audio-transcription') != null;
5
- return hasTranscription ? (React.createElement("details", { className: "e-grading-instruction-audio e-pad-1 e-mrg-b-2" }, renderChildNodes(element))) : null;
6
- };
7
- export default Audio;
8
- //# sourceMappingURL=Audio.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Audio.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,MAAM,CAAC,MAAM,KAAK,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAClG,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,EAAE,qBAAqB,CAAC,IAAI,IAAI,CAAA;IAEjF,OAAO,gBAAgB,CAAC,CAAC,CAAC,CACxB,iCAAS,SAAS,EAAC,+CAA+C,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAW,CACzG,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- export declare const AudioTitle: React.FunctionComponent<ExamComponentProps>;
4
- export default AudioTitle;
5
- //# sourceMappingURL=AudioTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioTitle.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/AudioTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAQlE,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { useExamTranslation } from '../../i18n';
3
- export const AudioTitle = ({ element, renderChildNodes }) => {
4
- const { t } = useExamTranslation();
5
- return (React.createElement("summary", null,
6
- React.createElement("strong", null, t('audio.transcription')),
7
- " ",
8
- React.createElement("em", null, renderChildNodes(element))));
9
- };
10
- export default AudioTitle;
11
- //# sourceMappingURL=AudioTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioTitle.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/AudioTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACvG,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL;QACE,oCAAS,CAAC,CAAC,qBAAqB,CAAC,CAAU;;QAAC,gCAAK,gBAAgB,CAAC,OAAO,CAAC,CAAM,CACxE,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationList.d.ts","sourceRoot":"","sources":["../../../src/components/results/AnnotationList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AA0CzC,iBAAS,qBAAqB,uBAoD7B;;AAED,wBAAgD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationList.js","sourceRoot":"","sources":["../../../src/components/results/AnnotationList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,SAAS,EAA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AAC,CAAC,CAAC,CACnE,6BAAK,SAAS,EAAC,uCAAuC,IACnD,aAAa,CAAC,CAAC,CAAC,CACf,6BAAK,SAAS,EAAC,uBAAuB;QACpC,oBAAC,uBAAuB,IAAC,WAAW,EAAE,qBAAqB,GAAI,CAC3D,CACP,CAAC,CAAC,CAAC,CACF;QACE,6BAAK,SAAS,EAAC,sBAAsB;YACnC,oBAAC,uBAAuB,IACtB,YAAY,EAAE,gCAAgC,EAC9C,WAAW,EAAE,qBAAqB,GAClC,CACE;QACN,6BAAK,SAAS,EAAC,sBAAsB;YACnC,oBAAC,uBAAuB,IAAC,YAAY,EAAE,4BAA4B,EAAE,WAAW,EAAE,oBAAoB,GAAI,CACtG,CACL,CACJ,CACG,CACP,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { ResultsProps } from './Results';
3
- declare const _default: React.MemoExoticComponent<React.ComponentType<ResultsProps>>;
4
- export default _default;
5
- //# sourceMappingURL=GradingStructure.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingStructure.d.ts","sourceRoot":"","sources":["../../../src/components/results/GradingStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAOpD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;;AA6BxC,wBAAkE"}
@@ -1,21 +0,0 @@
1
- import React, { useContext, useEffect } from 'react';
2
- import { I18nextProvider } from 'react-i18next';
3
- import { findChildElement } from '../../dom-utils';
4
- import { changeLanguage, initI18n } from '../../i18n';
5
- import { useCached } from '../../useCached';
6
- import { CommonExamContext, withCommonExamContext } from '../context/CommonExamContext';
7
- import DocumentTitle from '../DocumentTitle';
8
- const GradingStructure = () => {
9
- const { date, dateTimeFormatter, dayCode, examCode, language, resolveAttachment, root, subjectLanguage } = useContext(CommonExamContext);
10
- const examTitle = findChildElement(root, 'exam-title');
11
- const examStylesheet = root.getAttribute('exam-stylesheet');
12
- const i18n = useCached(() => initI18n(language, examCode, dayCode));
13
- useEffect(changeLanguage(i18n, language));
14
- return (React.createElement(I18nextProvider, { i18n: i18n },
15
- React.createElement("main", { className: "e-exam", lang: subjectLanguage },
16
- React.createElement(React.StrictMode, null),
17
- examStylesheet && React.createElement("link", { rel: "stylesheet", href: resolveAttachment(examStylesheet) }),
18
- React.createElement("div", { className: "e-columns e-columns--bottom-v e-mrg-b-4" }, examTitle && (React.createElement(DocumentTitle, { id: "title", className: "e-column e-mrg-b-0" }, date && ', ' + dateTimeFormatter.format(date)))))));
19
- };
20
- export default React.memo(withCommonExamContext(GradingStructure));
21
- //# sourceMappingURL=GradingStructure.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingStructure.js","sourceRoot":"","sources":["../../../src/components/results/GradingStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACvF,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAG5C,MAAM,gBAAgB,GAA0C,GAAG,EAAE;IACnE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,eAAe,EAAE,GACtG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE/B,MAAM,SAAS,GAAG,gBAAgB,CAAC,IAAI,EAAE,YAAY,C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- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare function HvpTextAnswer({ element }: ExamComponentProps): JSX.Element;
4
- declare const _default: React.MemoExoticComponent<typeof HvpTextAnswer>;
5
- export default _default;
6
- //# sourceMappingURL=HvpTextAnswer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HvpTextAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/HvpTextAnswer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,eAyDrD;;AAED,wBAAwC"}
@@ -1,51 +0,0 @@
1
- import classNames from 'classnames';
2
- import React, { useContext } from 'react';
3
- import { useTranslation } from 'react-i18next';
4
- import { getNumericAttribute } from '../../dom-utils';
5
- import { shortDisplayNumber } from '../../shortDisplayNumber';
6
- import AnswerToolbar from '../AnswerToolbar';
7
- import { QuestionContext } from '../QuestionContext';
8
- import { getAnnotationAttributes } from './helpers';
9
- import { findScore, ResultsContext } from './ResultsContext';
10
- import ResultsExamQuestionManualScore from './ResultsExamQuestionManualScore';
11
- import ResultsSingleLineAnswer from './ResultsSingleLineAnswer';
12
- function HvpTextAnswer({ element }) {
13
- var _a;
14
- const { answers } = useContext(QuestionContext);
15
- const { answersByQuestionId, scores } = useContext(ResultsContext);
16
- const { t } = useTranslation();
17
- const questionId = getNumericAttribute(element, 'question-id');
18
- const maxScore = getNumericAttribute(element, 'max-score');
19
- const answer = answersByQuestionId[questionId];
20
- const value = answer && answer.value;
21
- const displayNumber = shortDisplayNumber(element.getAttribute('display-number'));
22
- const answerScores = findScore(scores, questionId);
23
- const comment = (_a = answerScores === null || answerScores === void 0 ? void 0 : answerScores.pregrading) === null || _a === void 0 ? void 0 : _a.comment;
24
- const type = (element.getAttribute('type') || 'single-line');
25
- switch (type) {
26
- case 'rich-text':
27
- case 'multi-line': {
28
- const props = {
29
- ...getAnnotationAttributes(answerScores),
30
- className: classNames('answerText', { 'e-pre-wrap': type === 'multi-line' }),
31
- };
32
- return (React.createElement(React.Fragment, null,
33
- React.createElement(ResultsExamQuestionManualScore, { multilineAnswer: true, scores: answerScores, maxScore: maxScore }),
34
- React.createElement("div", { className: "answer e-multiline-results-text-answer" },
35
- React.createElement("div", { className: "answer-text-container" }, type === 'rich-text' ? (React.createElement("div", Object.assign({}, props, { dangerouslySetInnerHTML: { __html: value } }))) : (React.createElement("div", Object.assign({}, props), value)))),
36
- React.createElement(AnswerToolbar, Object.assign({}, {
37
- answer,
38
- element,
39
- })),
40
- comment && (React.createElement(React.Fragment, null,
41
- React.createElement("h5", null, t('comment')),
42
- React.createElement("p", { className: "e-italic" }, comment)))));
43
- }
44
- case 'single-line':
45
- default:
46
- return (React.createElement(ResultsSingleLineAnswer, Object.assign({}, { answers, answerScores, displayNumber, value }),
47
- React.createElement(ResultsExamQuestionManualScore, Object.assign({}, { scores: answerScores, maxScore, displayNumber: answers.length > 1 ? displayNumber : undefined }))));
48
- }
49
- }
50
- export default React.memo(HvpTextAnswer);
51
- //# sourceMappingURL=HvpTextAnswer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HvpTextAnswer.js","sourceRoot":"","sources":["../../../src/components/results/HvpTextAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,WA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AC;aAC7E,CAAA;YACD,OAAO,CACL;gBACE,oBAAC,8BAA8B,IAAC,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,GAAI;gBACnG,6BAAK,SAAS,EAAC,wCAAwC;oBACrD,6BAAK,SAAS,EAAC,uBAAuB,IACnC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CACtB,6CAAS,KAAK,IAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,KAAM,EAAE,IAAI,CAChE,CAAC,CAAC,CAAC,CACF,6CAAS,KAAK,GAAG,KAAK,CAAO,CAC9B,CACG,CACF;gBACN,oBAAC,aAAa,oBACR;oBACF,MAAM;oBACN,OAAO;iBACR,EACD;gBACD,OAAO,IAAI,CACV;oBACE,gCAAK,CAAC,CAAC,SAAS,CAAC,CAAM;oBACvB,2BAAG,SAAS,EAAC,UAAU,IAAE,OAAO,CAAK,CACpC,CACJ,CACA,CACJ,CAAA;SACF;QACD,KAAK,aAAa,CAAC;QACnB;YACE,OAAO,CACL,oBAAC,uBAAuB,oBAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,KAAK,EAAE;gBAC1E,oBAAC,8BAA8B,oBACzB,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,EACrG,CACsB,CAC3B,CAAA;KACJ;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare function ResultsChoiceAnswer({ element, renderChildNodes }: ExamComponentProps): JSX.Element;
4
- declare const _default: React.MemoExoticComponent<typeof ResultsChoiceAnswer>;
5
- export default _default;
6
- //# sourceMappingURL=ResultsChoiceAnswer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsChoiceAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsChoiceAnswer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAuEjE,iBAAS,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,eAyC7E;;AAED,wBAA8C"}
@@ -1,57 +0,0 @@
1
- import classNames from 'classnames';
2
- import React, { useContext } from 'react';
3
- import { getNumericAttribute, mapChildElements, query } from '../../dom-utils';
4
- import { useExamTranslation } from '../../i18n';
5
- import { ScreenReaderOnly } from '../ScreenReaderOnly';
6
- import { findMultiChoiceFromGradingStructure, ResultsContext } from './ResultsContext';
7
- import ResultsExamQuestionAutoScore from './ResultsExamQuestionAutoScore';
8
- function ChoiceAnswerOption({ renderChildNodes, selected, element, questionId, direction, isCorrect, }) {
9
- const { t } = useExamTranslation();
10
- const className = element.getAttribute('class');
11
- const optionId = element.getAttribute('option-id');
12
- const content = (React.createElement("div", { className: classNames('e-choice-answer-option e-column', className, {
13
- 'e-choice-answer-option--selected': selected,
14
- }) }, renderChildNodes(element)));
15
- const Content = ({ narrow = false }) => (React.createElement(React.Fragment, null,
16
- React.createElement("input", { type: "radio", className: classNames('e-radio-button', { 'e-column e-column--narrow': narrow }), name: String(questionId), value: optionId, checked: selected, readOnly: true }),
17
- content,
18
- isCorrect && React.createElement(ScreenReaderOnly, null, t('screen-reader.correct-answer'))));
19
- return direction === 'vertical' ? (React.createElement("div", { className: "e-mrg-b-1" },
20
- React.createElement("label", { className: classNames('e-columns', {
21
- 'e-correct-answer-left': isCorrect,
22
- 'e-columns--inline': query(element, ['image', 'video']) == null /* Force full width for options containing responsive media */,
23
- }) },
24
- React.createElement(Content, { narrow: true })))) : (React.createElement("div", { className: "e-column e-mrg-b-1" },
25
- React.createElement("label", { className: classNames('e-block e-text-center', { 'e-correct-answer-bottom': isCorrect }) },
26
- React.createElement(Content, null))));
27
- }
28
- function ResultsChoiceAnswer({ element, renderChildNodes }) {
29
- const { answersByQuestionId, gradingStructure } = useContext(ResultsContext);
30
- const questionId = getNumericAttribute(element, 'question-id');
31
- const answer = answersByQuestionId[questionId];
32
- const direction = element.getAttribute('direction') || 'vertical';
33
- const className = element.getAttribute('class');
34
- const choice = findMultiChoiceFromGradingStructure(gradingStructure, questionId);
35
- const scoreValue = answer && choice.options.find((option) => option.id === Number(answer.value)).score;
36
- const maxScore = getNumericAttribute(element, 'max-score');
37
- return (React.createElement(React.Fragment, null,
38
- scoreValue !== undefined && React.createElement(ResultsExamQuestionAutoScore, { score: scoreValue, maxScore: maxScore }),
39
- React.createElement("div", { className: classNames('e-choice-answer', className, {
40
- 'e-columns': direction === 'horizontal',
41
- }) }, mapChildElements(element, (childElement) => {
42
- const optionId = getNumericAttribute(childElement, 'option-id');
43
- const selected = answer != null && Number(answer.value) === optionId;
44
- const grading = choice.options.find((option) => option.id === optionId);
45
- return (React.createElement(ChoiceAnswerOption, Object.assign({}, {
46
- element: childElement,
47
- renderChildNodes,
48
- questionId,
49
- key: optionId,
50
- direction,
51
- selected,
52
- isCorrect: grading.correct,
53
- })));
54
- }))));
55
- }
56
- export default React.memo(ResultsChoiceAnswer);
57
- //# sourceMappingURL=ResultsChoiceAnswer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsChoiceAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ResultsChoiceAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MA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WAAW,EAAE,SAAS,KAAK,YAAY;aACxC,CAAC,IAED,gBAAgB,CAAC,OAAO,EAAE,CAAC,YAAY,EAAE,EAAE;YAC1C,MAAM,QAAQ,GAAG,mBAAmB,CAAC,YAAY,EAAE,WAAW,CAAE,CAAA;YAChE,MAAM,QAAQ,GAAG,MAAM,IAAI,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAA;YACpE,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,QAAQ,CAAE,CAAA;YACxE,OAAO,CACL,oBAAC,kBAAkB,oBACb;gBACF,OAAO,EAAE,YAAY;gBACrB,gBAAgB;gBAChB,UAAU;gBACV,GAAG,EAAE,QAAQ;gBACb,SAAS;gBACT,QAAQ;gBACR,SAAS,EAAE,OAAO,CAAC,OAAO;aAC3B,EACD,CACH,CAAA;QACH,CAAC,CAAC,CACE,CACL,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA"}
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { ChoiceGroupChoice, ExamAnswer, GradingStructure, QuestionId, Score } from '../..';
3
- import { ResultsProps } from './Results';
4
- export interface ResultsContext {
5
- answersByQuestionId: Record<QuestionId, ExamAnswer>;
6
- gradingStructure: GradingStructure;
7
- scores: Score[];
8
- gradingText: string | undefined;
9
- totalScore: number;
10
- singleGrading?: boolean;
11
- }
12
- export declare const ResultsContext: React.Context<ResultsContext>;
13
- export declare const withResultsContext: (Component: React.ComponentType<ResultsProps>) => React.ComponentType<ResultsProps>;
14
- export declare function findMultiChoiceFromGradingStructure(gradingStructure: GradingStructure, id: number): ChoiceGroupChoice | undefined;
15
- export declare function findScore(scores: Score[], questionId: number): Score | undefined;
16
- export declare function calculateQuestionsTotalSumScore(topLevelQuestions: Element[], gradingStructure: GradingStructure, scores: Score[], answersByQuestionId: Record<QuestionId, ExamAnswer>): number;
17
- export declare function calculateQuestionSumScore(questionElement: Element, gradingStructure: GradingStructure, scores: Score[], answersById: Record<QuestionId, ExamAnswer>): number;
18
- //# sourceMappingURL=ResultsContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsContext.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,KAAK,EACN,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,MAAM,WAAW,cAAc;IAC7B,mBAAmB,EAAE,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IACnD,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,cAAc,+BAA4D,CAAA;AAEvF,eAAO,MAAM,kBAAkB,qFAgB9B,CAAA;AAED,wBAAgB,mCAAmC,CACjD,gBAAgB,EAAE,gBAAgB,EAClC,EAAE,EAAE,MAAM,GACT,iBAAiB,GAAG,SAAS,CAY/B;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAEhF;AAED,wBAAgB,+BAA+B,CAC7C,iBAAiB,EAAE,OAAO,EAAE,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,KAAK,EAAE,EACf,mBAAmB,EAAE,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,GAClD,MAAM,CAMR;AAED,wBAAgB,yBAAyB,CACvC,eAAe,EAAE,OAAO,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,KAAK,EAAE,EACf,WAAW,EAAE,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,GAC1C,MAAM,CAgCR"}
@@ -1,68 +0,0 @@
1
- import * as _ from 'lodash-es';
2
- import React from 'react';
3
- import { findChildrenAnswers, getNumericAttribute, parentElements, queryAll } from '../../dom-utils';
4
- import { withContext } from '../withContext';
5
- export const ResultsContext = React.createContext({});
6
- export const withResultsContext = withContext(ResultsContext, ({ scores, doc, gradingStructure, gradingText, answers, singleGrading }) => {
7
- const answersByQuestionId = _.keyBy(answers, 'questionId');
8
- const topLevelQuestions = queryAll(doc.documentElement, 'question', false);
9
- const totalScore = calculateQuestionsTotalSumScore(topLevelQuestions, gradingStructure, scores, answersByQuestionId);
10
- return {
11
- answersByQuestionId,
12
- gradingStructure,
13
- scores,
14
- totalScore,
15
- gradingText,
16
- singleGrading,
17
- };
18
- });
19
- export function findMultiChoiceFromGradingStructure(gradingStructure, id) {
20
- const choiceGroups = gradingStructure.questions.filter((v) => v.type === 'choicegroup');
21
- for (let i = 0, length = choiceGroups.length; i < length; i++) {
22
- const choiceGroup = choiceGroups[i];
23
- for (let j = 0, choicesLength = choiceGroup.choices.length; j < choicesLength; j++) {
24
- if (choiceGroup.choices[j].id === id) {
25
- return choiceGroup.choices[j];
26
- }
27
- }
28
- }
29
- return undefined;
30
- }
31
- export function findScore(scores, questionId) {
32
- return scores.find((a) => a.questionId === questionId);
33
- }
34
- export function calculateQuestionsTotalSumScore(topLevelQuestions, gradingStructure, scores, answersByQuestionId) {
35
- return _.sum(topLevelQuestions.map((question) => calculateQuestionSumScore(question, gradingStructure, scores, answersByQuestionId)));
36
- }
37
- export function calculateQuestionSumScore(questionElement, gradingStructure, scores, answersById) {
38
- const choiceQuestionScore = (questionId, scoredAnswer) => {
39
- const choice = findMultiChoiceFromGradingStructure(gradingStructure, questionId);
40
- return choice ? choice.options.find((o) => o.id === Number(scoredAnswer.value)).score : 0;
41
- };
42
- const textQuestionScore = (questionId) => {
43
- var _a, _b;
44
- const score = findScore(scores, questionId);
45
- return score
46
- ? ((_b = [score.inspection, (_a = score.censoring) === null || _a === void 0 ? void 0 : _a.scores[0], score.autograding, score.pregrading].find(Boolean)) === null || _b === void 0 ? void 0 : _b.score) || 0
47
- : 0;
48
- };
49
- const sumScore = _.sum(findChildrenAnswers(questionElement).map((answer) => {
50
- const questionId = getNumericAttribute(answer, 'question-id');
51
- const scoredAnswer = answersById[questionId];
52
- if (!scoredAnswer) {
53
- return 0;
54
- }
55
- if (scoredAnswer.type === 'choice') {
56
- return choiceQuestionScore(questionId, scoredAnswer);
57
- }
58
- else {
59
- return textQuestionScore(questionId);
60
- }
61
- }));
62
- // top level questions may not yield negative scores
63
- if (parentElements(questionElement, 'question').length === 0 && sumScore < 0) {
64
- return 0;
65
- }
66
- return sumScore;
67
- }
68
- //# sourceMappingURL=ResultsContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsContext.js","sourceRoot":"","sources":["../../../src/components/results/ResultsContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAUpG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAY5C,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC,aAAa,CAAiB,EAAoB,CAAC,CAAA;AAEvF,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAC3C,cAAc,EACd,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE;IACzE,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,Y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C,MAAM,EAAE,aAAa,CAAE,CAAA;QAC9D,MAAM,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,CAAA;QAC5C,IAAI,CAAC,YAAY,EAAE;YACjB,OAAO,CAAC,CAAA;SACT;QACD,IAAI,YAAY,CAAC,IAAI,KAAK,QAAQ,EAAE;YAClC,OAAO,mBAAmB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;SACrD;aAAM;YACL,OAAO,iBAAiB,CAAC,UAAU,CAAC,CAAA;SACrC;IACH,CAAC,CAAC,CACH,CAAA;IACD,oDAAoD;IACpD,IAAI,cAAc,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,GAAG,CAAC,EAAE;QAC5E,OAAO,CAAC,CAAA;KACT;IACD,OAAO,QAAQ,CAAA;AACjB,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare function ResultsDropdownAnswer({ element, renderChildNodes }: ExamComponentProps): JSX.Element | null;
4
- declare const _default: React.MemoExoticComponent<typeof ResultsDropdownAnswer>;
5
- export default _default;
6
- //# sourceMappingURL=ResultsDropdownAnswer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsDropdownAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsDropdownAnswer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAUjE,iBAAS,qBAAqB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,sBAsD/E;;AAED,wBAAgD"}
@@ -1,43 +0,0 @@
1
- import classNames from 'classnames';
2
- import * as _ from 'lodash-es';
3
- import React, { useContext } from 'react';
4
- import { findChildElement, getNumericAttribute } from '../../dom-utils';
5
- import { useExamTranslation } from '../../i18n';
6
- import { shortDisplayNumber } from '../../shortDisplayNumber';
7
- import { intersperse } from '../../utils';
8
- import { QuestionContext } from '../QuestionContext';
9
- import { ScreenReaderOnly } from '../ScreenReaderOnly';
10
- import { findMultiChoiceFromGradingStructure, ResultsContext } from './ResultsContext';
11
- import ResultsExamQuestionAutoScore from './ResultsExamQuestionAutoScore';
12
- function ResultsDropdownAnswer({ element, renderChildNodes }) {
13
- const { t } = useExamTranslation();
14
- const { answersByQuestionId, gradingStructure } = useContext(ResultsContext);
15
- const { answers } = useContext(QuestionContext);
16
- const questionId = getNumericAttribute(element, 'question-id');
17
- const answer = answersByQuestionId[questionId];
18
- const selectedOption = findChildElement(element, (childElement) => (answer === null || answer === void 0 ? void 0 : answer.value) === childElement.getAttribute('option-id'));
19
- const choice = findMultiChoiceFromGradingStructure(gradingStructure, questionId);
20
- if (selectedOption) {
21
- const correctIds = choice.options.filter((o) => o.correct).map((o) => o.id);
22
- const correctOptions = Array.from(element.children).filter((childElement) => correctIds.includes(getNumericAttribute(childElement, 'option-id')));
23
- const isAnswerCorrect = correctIds.includes(getNumericAttribute(selectedOption, 'option-id'));
24
- const displayNumber = shortDisplayNumber(element.getAttribute('display-number'));
25
- const scoreValue = answer && choice.options.find((option) => option.id === Number(answer.value)).score;
26
- const maxScore = getNumericAttribute(element, 'max-score');
27
- return (React.createElement(React.Fragment, null,
28
- answers.length > 1 && React.createElement("sup", null, displayNumber),
29
- React.createElement("span", { className: classNames('e-dropdown-answer__answered', {
30
- 'e-dropdown-answer__answered--correct': isAnswerCorrect,
31
- 'e-dropdown-answer__answered--wrong': !isAnswerCorrect,
32
- }) },
33
- React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-begin')),
34
- renderChildNodes(selectedOption),
35
- React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-end')),
36
- isAnswerCorrect && React.createElement(ScreenReaderOnly, null, t('screen-reader.correct-answer'))),
37
- !isAnswerCorrect && (React.createElement("span", { className: "e-dropdown-answer__correct", "aria-hidden": true }, intersperse(', ', _.flatMap(correctOptions, _.unary(renderChildNodes))))),
38
- scoreValue != null && (React.createElement(ResultsExamQuestionAutoScore, { score: scoreValue, maxScore: maxScore, displayNumber: displayNumber }))));
39
- }
40
- return null;
41
- }
42
- export default React.memo(ResultsDropdownAnswer);
43
- //# sourceMappingURL=ResultsDropdownAnswer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsDropdownAnswer.js","sourceRoot":"","sources":["../../../src/components/results/ResultsDropdownAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,EAAE,EAAa,UAAU,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,mCAAmC,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtF,OAAO,4BAA4B,MAAM,gCAAgC,CAAA;AAEzE,SAAS,qBAAqB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IAC9E,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC5E,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,UAAU,GAAG,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAE,CAAA;IAC/D,MAAM,MA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,aAAa,CAAO;YAEjD,8BACE,SAAS,EAAE,UAAU,CAAC,6BAA6B,EAAE;oBACnD,sCAAsC,EAAE,eAAe;oBACvD,oCAAoC,EAAE,CAAC,eAAe;iBACvD,CAAC;gBAEF,oBAAC,gBAAgB,QAAE,CAAC,CAAC,4BAA4B,CAAC,CAAoB;gBACrE,gBAAgB,CAAC,cAAc,CAAC;gBACjC,oBAAC,gBAAgB,QAAE,CAAC,CAAC,0BAA0B,CAAC,CAAoB;gBACnE,eAAe,IAAI,oBAAC,gBAAgB,QAAE,CAAC,CAAC,8BAA8B,CAAC,CAAoB,CACvF;YACN,CAAC,eAAe,IAAI,CACnB,8BAAM,SAAS,EAAC,4BAA4B,iBAAc,IAAI,IAC3D,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAqB,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACvF,CACR;YACA,UAAU,IAAI,IAAI,IAAI,CACrB,oBAAC,4BAA4B,IAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,GAAI,CACtG,CACA,CACJ,CAAA;KACF;IACD,OAAO,IAAI,CAAA;AACb,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestion.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;;AA2BjE,wBAAmE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestion.js","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestion.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EA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score?: number;
4
- maxScore?: number;
5
- displayNumber?: string;
6
- }
7
- declare function ResultsExamQuestionAutoScore({ score, maxScore, displayNumber }: ResultsExamQuestionAutoScoreProps): JSX.Element;
8
- declare const _default: React.MemoExoticComponent<typeof ResultsExamQuestionAutoScore>;
9
- export default _default;
10
- //# sourceMappingURL=ResultsExamQuestionAutoScore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestionAutoScore.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,MAAM,WAAW,iCAAiC;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,iBAAS,4BAA4B,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,iCAAiC,eAU1G;;AAED,wBAAuD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestionAutoScore.js","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,kCAAkC,MAAM,sCAAsC,CAAA;AAQrF,SAAS,4BAA4B,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAqC;IACzG,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,cAAc,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,CAAA;IACjD,OAAO,CACL,oBAAC,kCAAkC,oBAAK,cAAc;QACnD,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,+BAAI,KAAK,CAAK,CAAC,CAAC,CAAC,6BAAK,SAAS,EAAC,2BAA2B,GAAG;QAAE,GAAG;QAC/F,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI;;QAAG,CAAC,CAAC,QAAQ,CAAC,CACd,CACtC,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAA"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { Score } from '../..';
3
- export interface ResultsExamQuestionManualScoreProps {
4
- scores?: Score;
5
- maxScore?: number;
6
- displayNumber?: string;
7
- multilineAnswer?: boolean;
8
- }
9
- declare function ResultsExamQuestionManualScore({ scores, maxScore, displayNumber, multilineAnswer, }: ResultsExamQuestionManualScoreProps): JSX.Element;
10
- declare const _default: React.MemoExoticComponent<typeof ResultsExamQuestionManualScore>;
11
- export default _default;
12
- //# sourceMappingURL=ResultsExamQuestionManualScore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestionManualScore.d.ts","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestionManualScore.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAoD,KAAK,EAAE,MAAM,OAAO,CAAA;AAK/E,MAAM,WAAW,mCAAmC;IAClD,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAQD,iBAAS,8BAA8B,CAAC,EACtC,MAAM,EACN,QAAQ,EACR,aAAa,EACb,eAAe,GAChB,EAAE,mCAAmC,eAiBrC;;AAoFD,wBAAyD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResultsExamQuestionManualScore.js","sourceRoot":"","sources":["../../../src/components/results/ResultsExamQuestionManualScore.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,kCAAkC,MAAM,sCAAsC,CAAA;AAerF,SAAS,8BAA8B,CAAC,EACtC,MAAM,EACN,QAAQ,EACR,aAAa,EACb,eAAe,GACqB;;IACpC,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,cAAc,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,CAAA;IAClE,MAAM,SAAS,GAAG,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,gBAAgB,0CAAE,SAAS,CAAA;IAEhE,OAAO,CACL,oBAAC,kCAAkC,oBAAK,cAAc,GACnD,CAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,0CAAE,KAAK,KAAI,IAAI,IAAI,CAAC,CAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,0CAAE,MAAM,0CAAE,MAAM,CAAA,CAAC,CAAC,CAAC,CACzE,oBAAC,YAAY,oBAAK,EAAE,QAAQ,EAAE,EAAI,CACnC,CAAC,CAAC,CAAC,CACF;QACG,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC;QACxC,SAAS,IAAI,oBAAC,SAAS,IAAC,SAAS,EAAE,SAAS,GAAI,CAChD,CACJ,CACkC,CACtC,CAAA;AACH,CAAC;AAED,SAAS,sBAAsB,CAAC,MAAa,EAAE,QAAiB;IAC9D,MAAM,gBAAgB,GAAG;QACvB,MAAM,CAA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AAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;AAC3G,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- declare function ResultsExamQuestionScoresContainer({ answers, displayNumber, children, multilineAnswer, }: {
3
- answers: Element[];
4
- displayNumber?: string;
5
- children: React.ReactNode;
6
- multilineAnswer?: boolean;
7
- }): JSX.Element;
8
- declare const _default: React.MemoExoticComponent<typeof ResultsExamQuestionScoresContainer>;
9
- export default _default;
10
- //# sourceMappingURL=ResultsExamQuestionScoresContainer.d.ts.map