@digabi/exam-engine-core 19.15.4-y.0 → 19.15.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. package/dist/__tests__/results/ResultsContext.test.js +1 -1
  2. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  3. package/dist/components/exam/Hints.d.ts.map +1 -1
  4. package/dist/components/exam/Hints.js +3 -2
  5. package/dist/components/exam/Hints.js.map +1 -1
  6. package/dist/components/exam/TextAnswer.d.ts.map +1 -1
  7. package/dist/components/exam/TextAnswer.js +4 -3
  8. package/dist/components/exam/TextAnswer.js.map +1 -1
  9. package/dist/components/results/SingleLineAnswer.d.ts +1 -1
  10. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  11. package/dist/components/results/SingleLineAnswer.js +3 -3
  12. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  13. package/dist/dom-utils.d.ts +1 -0
  14. package/dist/dom-utils.d.ts.map +1 -1
  15. package/dist/dom-utils.js +5 -0
  16. package/dist/dom-utils.js.map +1 -1
  17. package/dist/main-bundle.js +1 -1
  18. package/dist/main.css +1 -1
  19. package/package.json +3 -3
  20. package/dist/components/AttachmentContext.d.ts +0 -14
  21. package/dist/components/AttachmentContext.d.ts.map +0 -1
  22. package/dist/components/AttachmentContext.js +0 -12
  23. package/dist/components/AttachmentContext.js.map +0 -1
  24. package/dist/components/AttachmentLink.d.ts +0 -6
  25. package/dist/components/AttachmentLink.d.ts.map +0 -1
  26. package/dist/components/AttachmentLink.js +0 -24
  27. package/dist/components/AttachmentLink.js.map +0 -1
  28. package/dist/components/AttachmentLinkAnchor.d.ts +0 -7
  29. package/dist/components/AttachmentLinkAnchor.d.ts.map +0 -1
  30. package/dist/components/AttachmentLinkAnchor.js +0 -4
  31. package/dist/components/AttachmentLinkAnchor.js.map +0 -1
  32. package/dist/components/AttachmentLinks.d.ts +0 -6
  33. package/dist/components/AttachmentLinks.d.ts.map +0 -1
  34. package/dist/components/AttachmentLinks.js +0 -58
  35. package/dist/components/AttachmentLinks.js.map +0 -1
  36. package/dist/components/Attachments.d.ts +0 -5
  37. package/dist/components/Attachments.d.ts.map +0 -1
  38. package/dist/components/Attachments.js +0 -43
  39. package/dist/components/Attachments.js.map +0 -1
  40. package/dist/components/AttachmentsAttachment.d.ts +0 -5
  41. package/dist/components/AttachmentsAttachment.d.ts.map +0 -1
  42. package/dist/components/AttachmentsAttachment.js +0 -8
  43. package/dist/components/AttachmentsAttachment.js.map +0 -1
  44. package/dist/components/AttachmentsAttachmentTitle.d.ts +0 -6
  45. package/dist/components/AttachmentsAttachmentTitle.d.ts.map +0 -1
  46. package/dist/components/AttachmentsAttachmentTitle.js +0 -12
  47. package/dist/components/AttachmentsAttachmentTitle.js.map +0 -1
  48. package/dist/components/AttachmentsExternalMaterial.d.ts +0 -9
  49. package/dist/components/AttachmentsExternalMaterial.d.ts.map +0 -1
  50. package/dist/components/AttachmentsExternalMaterial.js +0 -40
  51. package/dist/components/AttachmentsExternalMaterial.js.map +0 -1
  52. package/dist/components/AttachmentsQuestion.d.ts +0 -5
  53. package/dist/components/AttachmentsQuestion.d.ts.map +0 -1
  54. package/dist/components/AttachmentsQuestion.js +0 -16
  55. package/dist/components/AttachmentsQuestion.js.map +0 -1
  56. package/dist/components/AttachmentsQuestionTitle.d.ts +0 -6
  57. package/dist/components/AttachmentsQuestionTitle.d.ts.map +0 -1
  58. package/dist/components/AttachmentsQuestionTitle.js +0 -13
  59. package/dist/components/AttachmentsQuestionTitle.js.map +0 -1
  60. package/dist/components/Audio.d.ts +0 -6
  61. package/dist/components/Audio.d.ts.map +0 -1
  62. package/dist/components/Audio.js +0 -29
  63. package/dist/components/Audio.js.map +0 -1
  64. package/dist/components/AudioGroup.d.ts +0 -6
  65. package/dist/components/AudioGroup.d.ts.map +0 -1
  66. package/dist/components/AudioGroup.js +0 -9
  67. package/dist/components/AudioGroup.js.map +0 -1
  68. package/dist/components/AudioPlaybackError.d.ts +0 -7
  69. package/dist/components/AudioPlaybackError.d.ts.map +0 -1
  70. package/dist/components/AudioPlaybackError.js +0 -12
  71. package/dist/components/AudioPlaybackError.js.map +0 -1
  72. package/dist/components/AudioTest.d.ts +0 -6
  73. package/dist/components/AudioTest.d.ts.map +0 -1
  74. package/dist/components/AudioTest.js +0 -29
  75. package/dist/components/AudioTest.js.map +0 -1
  76. package/dist/components/ChoiceAnswer.d.ts +0 -12
  77. package/dist/components/ChoiceAnswer.d.ts.map +0 -1
  78. package/dist/components/ChoiceAnswer.js +0 -60
  79. package/dist/components/ChoiceAnswer.js.map +0 -1
  80. package/dist/components/CommonExamContext.d.ts +0 -16
  81. package/dist/components/CommonExamContext.d.ts.map +0 -1
  82. package/dist/components/CommonExamContext.js +0 -22
  83. package/dist/components/CommonExamContext.js.map +0 -1
  84. package/dist/components/DropdownAnswer.d.ts +0 -12
  85. package/dist/components/DropdownAnswer.d.ts.map +0 -1
  86. package/dist/components/DropdownAnswer.js +0 -85
  87. package/dist/components/DropdownAnswer.js.map +0 -1
  88. package/dist/components/Exam.d.ts +0 -40
  89. package/dist/components/Exam.d.ts.map +0 -1
  90. package/dist/components/Exam.js +0 -106
  91. package/dist/components/Exam.js.map +0 -1
  92. package/dist/components/ExamAttachment.d.ts +0 -5
  93. package/dist/components/ExamAttachment.d.ts.map +0 -1
  94. package/dist/components/ExamAttachment.js +0 -8
  95. package/dist/components/ExamAttachment.js.map +0 -1
  96. package/dist/components/ExamContext.d.ts +0 -10
  97. package/dist/components/ExamContext.d.ts.map +0 -1
  98. package/dist/components/ExamContext.js +0 -11
  99. package/dist/components/ExamContext.js.map +0 -1
  100. package/dist/components/ExamFooter.d.ts +0 -6
  101. package/dist/components/ExamFooter.d.ts.map +0 -1
  102. package/dist/components/ExamFooter.js +0 -7
  103. package/dist/components/ExamFooter.js.map +0 -1
  104. package/dist/components/ExamInstruction.d.ts +0 -6
  105. package/dist/components/ExamInstruction.d.ts.map +0 -1
  106. package/dist/components/ExamInstruction.js +0 -6
  107. package/dist/components/ExamInstruction.js.map +0 -1
  108. package/dist/components/ExamQuestion.d.ts +0 -5
  109. package/dist/components/ExamQuestion.d.ts.map +0 -1
  110. package/dist/components/ExamQuestion.js +0 -16
  111. package/dist/components/ExamQuestion.js.map +0 -1
  112. package/dist/components/ExamQuestionInstruction.d.ts +0 -6
  113. package/dist/components/ExamQuestionInstruction.d.ts.map +0 -1
  114. package/dist/components/ExamQuestionInstruction.js +0 -6
  115. package/dist/components/ExamQuestionInstruction.js.map +0 -1
  116. package/dist/components/ExamQuestionTitle.d.ts +0 -6
  117. package/dist/components/ExamQuestionTitle.d.ts.map +0 -1
  118. package/dist/components/ExamQuestionTitle.js +0 -25
  119. package/dist/components/ExamQuestionTitle.js.map +0 -1
  120. package/dist/components/ExamSection.d.ts +0 -5
  121. package/dist/components/ExamSection.d.ts.map +0 -1
  122. package/dist/components/ExamSection.js +0 -30
  123. package/dist/components/ExamSection.js.map +0 -1
  124. package/dist/components/ExamSectionTitle.d.ts +0 -6
  125. package/dist/components/ExamSectionTitle.d.ts.map +0 -1
  126. package/dist/components/ExamSectionTitle.js +0 -21
  127. package/dist/components/ExamSectionTitle.js.map +0 -1
  128. package/dist/components/ExternalMaterialList.d.ts +0 -10
  129. package/dist/components/ExternalMaterialList.d.ts.map +0 -1
  130. package/dist/components/ExternalMaterialList.js +0 -31
  131. package/dist/components/ExternalMaterialList.js.map +0 -1
  132. package/dist/components/File.d.ts +0 -6
  133. package/dist/components/File.d.ts.map +0 -1
  134. package/dist/components/File.js +0 -15
  135. package/dist/components/File.js.map +0 -1
  136. package/dist/components/Formula.d.ts +0 -6
  137. package/dist/components/Formula.d.ts.map +0 -1
  138. package/dist/components/Formula.js +0 -12
  139. package/dist/components/Formula.js.map +0 -1
  140. package/dist/components/Hints.d.ts +0 -6
  141. package/dist/components/Hints.d.ts.map +0 -1
  142. package/dist/components/Hints.js +0 -32
  143. package/dist/components/Hints.js.map +0 -1
  144. package/dist/components/Image.d.ts +0 -6
  145. package/dist/components/Image.d.ts.map +0 -1
  146. package/dist/components/Image.js +0 -25
  147. package/dist/components/Image.js.map +0 -1
  148. package/dist/components/ImageOverlay.d.ts +0 -6
  149. package/dist/components/ImageOverlay.d.ts.map +0 -1
  150. package/dist/components/ImageOverlay.js +0 -45
  151. package/dist/components/ImageOverlay.js.map +0 -1
  152. package/dist/components/ProgressBar.d.ts +0 -6
  153. package/dist/components/ProgressBar.d.ts.map +0 -1
  154. package/dist/components/ProgressBar.js +0 -18
  155. package/dist/components/ProgressBar.js.map +0 -1
  156. package/dist/components/QuestionContext.d.ts +0 -14
  157. package/dist/components/QuestionContext.d.ts.map +0 -1
  158. package/dist/components/QuestionContext.js +0 -20
  159. package/dist/components/QuestionContext.js.map +0 -1
  160. package/dist/components/Reference.d.ts +0 -6
  161. package/dist/components/Reference.d.ts.map +0 -1
  162. package/dist/components/Reference.js +0 -63
  163. package/dist/components/Reference.js.map +0 -1
  164. package/dist/components/References.d.ts +0 -6
  165. package/dist/components/References.d.ts.map +0 -1
  166. package/dist/components/References.js +0 -23
  167. package/dist/components/References.js.map +0 -1
  168. package/dist/components/ResponsiveMediaContainer.d.ts +0 -17
  169. package/dist/components/ResponsiveMediaContainer.d.ts.map +0 -1
  170. package/dist/components/ResponsiveMediaContainer.js +0 -20
  171. package/dist/components/ResponsiveMediaContainer.js.map +0 -1
  172. package/dist/components/RestrictedAudioPlayer.d.ts +0 -11
  173. package/dist/components/RestrictedAudioPlayer.d.ts.map +0 -1
  174. package/dist/components/RestrictedAudioPlayer.js +0 -29
  175. package/dist/components/RestrictedAudioPlayer.js.map +0 -1
  176. package/dist/components/RichTextAnswer.d.ts +0 -31
  177. package/dist/components/RichTextAnswer.d.ts.map +0 -1
  178. package/dist/components/RichTextAnswer.js +0 -70
  179. package/dist/components/RichTextAnswer.js.map +0 -1
  180. package/dist/components/SaveIndicator.d.ts +0 -5
  181. package/dist/components/SaveIndicator.d.ts.map +0 -1
  182. package/dist/components/SaveIndicator.js +0 -15
  183. package/dist/components/SaveIndicator.js.map +0 -1
  184. package/dist/components/Score.d.ts +0 -6
  185. package/dist/components/Score.d.ts.map +0 -1
  186. package/dist/components/Score.js +0 -13
  187. package/dist/components/Score.js.map +0 -1
  188. package/dist/components/Section.d.ts +0 -3
  189. package/dist/components/Section.d.ts.map +0 -1
  190. package/dist/components/Section.js +0 -7
  191. package/dist/components/Section.js.map +0 -1
  192. package/dist/components/SectionContext.d.ts +0 -13
  193. package/dist/components/SectionContext.d.ts.map +0 -1
  194. package/dist/components/SectionContext.js +0 -21
  195. package/dist/components/SectionContext.js.map +0 -1
  196. package/dist/components/SectionInstruction.d.ts +0 -6
  197. package/dist/components/SectionInstruction.d.ts.map +0 -1
  198. package/dist/components/SectionInstruction.js +0 -6
  199. package/dist/components/SectionInstruction.js.map +0 -1
  200. package/dist/components/TableOfContents.d.ts +0 -13
  201. package/dist/components/TableOfContents.d.ts.map +0 -1
  202. package/dist/components/TableOfContents.js +0 -66
  203. package/dist/components/TableOfContents.js.map +0 -1
  204. package/dist/components/TextAnswer.d.ts +0 -6
  205. package/dist/components/TextAnswer.d.ts.map +0 -1
  206. package/dist/components/TextAnswer.js +0 -16
  207. package/dist/components/TextAnswer.js.map +0 -1
  208. package/dist/components/TextAnswerInput.d.ts +0 -37
  209. package/dist/components/TextAnswerInput.d.ts.map +0 -1
  210. package/dist/components/TextAnswerInput.js +0 -145
  211. package/dist/components/TextAnswerInput.js.map +0 -1
  212. package/dist/components/Video.d.ts +0 -6
  213. package/dist/components/Video.d.ts.map +0 -1
  214. package/dist/components/Video.js +0 -15
  215. package/dist/components/Video.js.map +0 -1
  216. package/dist/components/results/AnnotationList.d.ts +0 -5
  217. package/dist/components/results/AnnotationList.d.ts.map +0 -1
  218. package/dist/components/results/AnnotationList.js +0 -40
  219. package/dist/components/results/AnnotationList.js.map +0 -1
  220. package/dist/components/results/ResultsChoiceAnswer.d.ts +0 -6
  221. package/dist/components/results/ResultsChoiceAnswer.d.ts.map +0 -1
  222. package/dist/components/results/ResultsChoiceAnswer.js +0 -60
  223. package/dist/components/results/ResultsChoiceAnswer.js.map +0 -1
  224. package/dist/components/results/ResultsContext.d.ts +0 -20
  225. package/dist/components/results/ResultsContext.d.ts.map +0 -1
  226. package/dist/components/results/ResultsContext.js +0 -68
  227. package/dist/components/results/ResultsContext.js.map +0 -1
  228. package/dist/components/results/ResultsDropdownAnswer.d.ts +0 -6
  229. package/dist/components/results/ResultsDropdownAnswer.d.ts.map +0 -1
  230. package/dist/components/results/ResultsDropdownAnswer.js +0 -41
  231. package/dist/components/results/ResultsDropdownAnswer.js.map +0 -1
  232. package/dist/components/results/ResultsExamQuestion.d.ts +0 -5
  233. package/dist/components/results/ResultsExamQuestion.d.ts.map +0 -1
  234. package/dist/components/results/ResultsExamQuestion.js +0 -23
  235. package/dist/components/results/ResultsExamQuestion.js.map +0 -1
  236. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts +0 -10
  237. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts.map +0 -1
  238. package/dist/components/results/ResultsExamQuestionAutoScore.js +0 -16
  239. package/dist/components/results/ResultsExamQuestionAutoScore.js.map +0 -1
  240. package/dist/components/results/ResultsExamQuestionManualScore.d.ts +0 -11
  241. package/dist/components/results/ResultsExamQuestionManualScore.d.ts.map +0 -1
  242. package/dist/components/results/ResultsExamQuestionManualScore.js +0 -62
  243. package/dist/components/results/ResultsExamQuestionManualScore.js.map +0 -1
  244. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts +0 -9
  245. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts.map +0 -1
  246. package/dist/components/results/ResultsExamQuestionScoresContainer.js +0 -8
  247. package/dist/components/results/ResultsExamQuestionScoresContainer.js.map +0 -1
  248. package/dist/components/results/ResultsExamQuestionTitle.d.ts +0 -6
  249. package/dist/components/results/ResultsExamQuestionTitle.d.ts.map +0 -1
  250. package/dist/components/results/ResultsExamQuestionTitle.js +0 -22
  251. package/dist/components/results/ResultsExamQuestionTitle.js.map +0 -1
  252. package/dist/components/results/ResultsExamSection.d.ts +0 -5
  253. package/dist/components/results/ResultsExamSection.d.ts.map +0 -1
  254. package/dist/components/results/ResultsExamSection.js +0 -17
  255. package/dist/components/results/ResultsExamSection.js.map +0 -1
  256. package/dist/components/results/ResultsScoredTextAnswer.d.ts +0 -6
  257. package/dist/components/results/ResultsScoredTextAnswer.d.ts.map +0 -1
  258. package/dist/components/results/ResultsScoredTextAnswer.js +0 -22
  259. package/dist/components/results/ResultsScoredTextAnswer.js.map +0 -1
  260. package/dist/components/results/ResultsSingleLineAnswer.d.ts +0 -12
  261. package/dist/components/results/ResultsSingleLineAnswer.d.ts.map +0 -1
  262. package/dist/components/results/ResultsSingleLineAnswer.js +0 -12
  263. package/dist/components/results/ResultsSingleLineAnswer.js.map +0 -1
  264. package/dist/components/results/ResultsTextAnswer.d.ts +0 -6
  265. package/dist/components/results/ResultsTextAnswer.d.ts.map +0 -1
  266. package/dist/components/results/ResultsTextAnswer.js +0 -51
  267. package/dist/components/results/ResultsTextAnswer.js.map +0 -1
  268. package/dist/components/results/helpers.d.ts +0 -9
  269. package/dist/components/results/helpers.d.ts.map +0 -1
  270. package/dist/components/results/helpers.js +0 -10
  271. package/dist/components/results/helpers.js.map +0 -1
  272. package/dist/components/types.d.ts +0 -110
  273. package/dist/components/types.d.ts.map +0 -1
  274. package/dist/components/types.js +0 -1
  275. package/dist/components/types.js.map +0 -1
  276. package/dist/components/withContext.d.ts +0 -3
  277. package/dist/components/withContext.d.ts.map +0 -1
  278. package/dist/components/withContext.js +0 -12
  279. package/dist/components/withContext.js.map +0 -1
@@ -145,7 +145,7 @@ describe(`Total score calculation for ${testExam}`, () => {
145
145
  const choiceAnswer = {
146
146
  type: 'choice',
147
147
  questionId: 1,
148
- value: '93',
148
+ value: '99',
149
149
  displayNumber: '1.1'
150
150
  };
151
151
  expect((0, ResultsContext_1.calculateQuestionSumScore)(topLevelQuestions[0], result.gradingStructure, [], (0, lodash_es_1.keyBy)([choiceAnswer], 'questionId'))).toBe(3);