@digabi/exam-engine-core 23.15.0 → 23.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (723) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/main-bundle.js +7 -7
  3. package/package.json +3 -3
  4. package/dist/__tests__/annotations.test.d.ts +0 -2
  5. package/dist/__tests__/annotations.test.d.ts.map +0 -1
  6. package/dist/__tests__/annotations.test.js +0 -306
  7. package/dist/__tests__/annotations.test.js.map +0 -1
  8. package/dist/__tests__/playwright/Annotations.test.d.ts +0 -2
  9. package/dist/__tests__/playwright/Annotations.test.d.ts.map +0 -1
  10. package/dist/__tests__/playwright/Annotations.test.js +0 -169
  11. package/dist/__tests__/playwright/Annotations.test.js.map +0 -1
  12. package/dist/__tests__/playwright/attachments/Attachments.test.d.ts +0 -2
  13. package/dist/__tests__/playwright/attachments/Attachments.test.d.ts.map +0 -1
  14. package/dist/__tests__/playwright/attachments/Attachments.test.js +0 -30
  15. package/dist/__tests__/playwright/attachments/Attachments.test.js.map +0 -1
  16. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.d.ts +0 -2
  17. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.d.ts.map +0 -1
  18. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js +0 -30
  19. package/dist/__tests__/playwright/grading-instructions/GradingInstructions.test.js.map +0 -1
  20. package/dist/__tests__/playwright/stories/Annotations.story.d.ts +0 -15
  21. package/dist/__tests__/playwright/stories/Annotations.story.d.ts.map +0 -1
  22. package/dist/__tests__/playwright/stories/Annotations.story.js +0 -27
  23. package/dist/__tests__/playwright/stories/Annotations.story.js.map +0 -1
  24. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts +0 -13
  25. package/dist/__tests__/playwright/stories/attachments/Attachments.story.d.ts.map +0 -1
  26. package/dist/__tests__/playwright/stories/attachments/Attachments.story.js +0 -17
  27. package/dist/__tests__/playwright/stories/attachments/Attachments.story.js.map +0 -1
  28. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts +0 -13
  29. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.d.ts.map +0 -1
  30. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.js +0 -16
  31. package/dist/__tests__/playwright/stories/grading-intructions/GradingInstructions.story.js.map +0 -1
  32. package/dist/assets/NotoMono.ttf +0 -0
  33. package/dist/assets/NotoSans-Bold.ttf +0 -0
  34. package/dist/assets/NotoSans-BoldItalic.ttf +0 -0
  35. package/dist/assets/NotoSans-Italic.ttf +0 -0
  36. package/dist/assets/NotoSans-Light.ttf +0 -0
  37. package/dist/assets/NotoSans-LightItalic.ttf +0 -0
  38. package/dist/assets/NotoSans-Regular.ttf +0 -0
  39. package/dist/assets/NotoSans-SemiBold.ttf +0 -0
  40. package/dist/assets/NotoSans-SemiBoldItalic.ttf +0 -0
  41. package/dist/assets/closeButton.svg +0 -1
  42. package/dist/assets/collapse.svg +0 -12
  43. package/dist/assets/expand.svg +0 -12
  44. package/dist/assets/helpButton.svg +0 -9
  45. package/dist/assets/redoButton.svg +0 -5
  46. package/dist/assets/undoButton.svg +0 -5
  47. package/dist/components/exam/ExamineExam.d.ts +0 -5
  48. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  49. package/dist/components/exam/ExamineExam.js +0 -20
  50. package/dist/components/exam/ExamineExam.js.map +0 -1
  51. package/dist/components/grading/examAnnotationUtils.d.ts +0 -3
  52. package/dist/components/grading/examAnnotationUtils.d.ts.map +0 -1
  53. package/dist/components/grading/examAnnotationUtils.js +0 -104
  54. package/dist/components/grading/examAnnotationUtils.js.map +0 -1
  55. package/dist/components/shared/AnnotatableText.d.ts +0 -5
  56. package/dist/components/shared/AnnotatableText.d.ts.map +0 -1
  57. package/dist/components/shared/AnnotatableText.js +0 -25
  58. package/dist/components/shared/AnnotatableText.js.map +0 -1
  59. package/dist/components/shared/AnnotationMark.d.ts +0 -9
  60. package/dist/components/shared/AnnotationMark.d.ts.map +0 -1
  61. package/dist/components/shared/AnnotationMark.js +0 -14
  62. package/dist/components/shared/AnnotationMark.js.map +0 -1
  63. package/dist/components/shared/AnnotationPopup.d.ts +0 -3
  64. package/dist/components/shared/AnnotationPopup.d.ts.map +0 -1
  65. package/dist/components/shared/AnnotationPopup.js +0 -21
  66. package/dist/components/shared/AnnotationPopup.js.map +0 -1
  67. package/dist/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  68. package/dist/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  69. package/dist/components/shared/internal/AudioPlaybackError.js +0 -17
  70. package/dist/components/shared/internal/AudioPlaybackError.js.map +0 -1
  71. package/dist/components/shared/markText.d.ts +0 -5
  72. package/dist/components/shared/markText.d.ts.map +0 -1
  73. package/dist/components/shared/markText.js +0 -72
  74. package/dist/components/shared/markText.js.map +0 -1
  75. package/dist/components/surround.d.ts +0 -8
  76. package/dist/components/surround.d.ts.map +0 -1
  77. package/dist/components/surround.js +0 -19
  78. package/dist/components/surround.js.map +0 -1
  79. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  80. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  81. package/dist/src/components/AnswerToolbar.js +0 -36
  82. package/dist/src/components/AnswerToolbar.js.map +0 -1
  83. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  84. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  85. package/dist/src/components/AnsweringInstructions.js +0 -24
  86. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  87. package/dist/src/components/DocumentTitle.d.ts +0 -5
  88. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  89. package/dist/src/components/DocumentTitle.js +0 -13
  90. package/dist/src/components/DocumentTitle.js.map +0 -1
  91. package/dist/src/components/NotificationIcon.d.ts +0 -4
  92. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  93. package/dist/src/components/NotificationIcon.js +0 -6
  94. package/dist/src/components/NotificationIcon.js.map +0 -1
  95. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  96. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  97. package/dist/src/components/RenderChildNodes.js +0 -7
  98. package/dist/src/components/RenderChildNodes.js.map +0 -1
  99. package/dist/src/components/RenderExamElements.d.ts +0 -6
  100. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  101. package/dist/src/components/RenderExamElements.js +0 -6
  102. package/dist/src/components/RenderExamElements.js.map +0 -1
  103. package/dist/src/components/RenderIf.d.ts +0 -4
  104. package/dist/src/components/RenderIf.d.ts.map +0 -1
  105. package/dist/src/components/RenderIf.js +0 -8
  106. package/dist/src/components/RenderIf.js.map +0 -1
  107. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  108. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  109. package/dist/src/components/ScreenReaderOnly.js +0 -3
  110. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  111. package/dist/src/components/SectionElement.d.ts +0 -4
  112. package/dist/src/components/SectionElement.d.ts.map +0 -1
  113. package/dist/src/components/SectionElement.js +0 -8
  114. package/dist/src/components/SectionElement.js.map +0 -1
  115. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  116. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  117. package/dist/src/components/attachments/Attachment.js +0 -8
  118. package/dist/src/components/attachments/Attachment.js.map +0 -1
  119. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  120. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  121. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  122. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  123. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  124. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  125. package/dist/src/components/attachments/Attachments.js +0 -55
  126. package/dist/src/components/attachments/Attachments.js.map +0 -1
  127. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  128. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  129. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  130. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  131. package/dist/src/components/attachments/Question.d.ts +0 -4
  132. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  133. package/dist/src/components/attachments/Question.js +0 -16
  134. package/dist/src/components/attachments/Question.js.map +0 -1
  135. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  136. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  137. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  138. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  139. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  140. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  141. package/dist/src/components/context/AnnotationProvider.js +0 -35
  142. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  143. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  144. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  145. package/dist/src/components/context/AttachmentContext.js +0 -12
  146. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  147. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  148. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  149. package/dist/src/components/context/CommonExamContext.js +0 -28
  150. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  151. package/dist/src/components/context/ExamContext.d.ts +0 -9
  152. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  153. package/dist/src/components/context/ExamContext.js +0 -11
  154. package/dist/src/components/context/ExamContext.js.map +0 -1
  155. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  156. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  157. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  158. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  159. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  160. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  161. package/dist/src/components/context/QuestionContext.js +0 -27
  162. package/dist/src/components/context/QuestionContext.js.map +0 -1
  163. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  164. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  165. package/dist/src/components/context/ResultsContext.js +0 -69
  166. package/dist/src/components/context/ResultsContext.js.map +0 -1
  167. package/dist/src/components/context/SectionContext.d.ts +0 -12
  168. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  169. package/dist/src/components/context/SectionContext.js +0 -21
  170. package/dist/src/components/context/SectionContext.js.map +0 -1
  171. package/dist/src/components/context/TOCContext.d.ts +0 -7
  172. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  173. package/dist/src/components/context/TOCContext.js +0 -3
  174. package/dist/src/components/context/TOCContext.js.map +0 -1
  175. package/dist/src/components/context/withContext.d.ts +0 -3
  176. package/dist/src/components/context/withContext.d.ts.map +0 -1
  177. package/dist/src/components/context/withContext.js +0 -12
  178. package/dist/src/components/context/withContext.js.map +0 -1
  179. package/dist/src/components/exam/Attachment.d.ts +0 -4
  180. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  181. package/dist/src/components/exam/Attachment.js +0 -8
  182. package/dist/src/components/exam/Attachment.js.map +0 -1
  183. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  184. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  185. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  186. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  187. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  188. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  189. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  190. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  191. package/dist/src/components/exam/Exam.d.ts +0 -48
  192. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  193. package/dist/src/components/exam/Exam.js +0 -195
  194. package/dist/src/components/exam/Exam.js.map +0 -1
  195. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  196. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  197. package/dist/src/components/exam/ExamFooter.js +0 -6
  198. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  199. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  200. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  201. package/dist/src/components/exam/ExamInstruction.js +0 -6
  202. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  203. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  204. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  205. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  206. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  207. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  208. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  209. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  210. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  211. package/dist/src/components/exam/Hints.d.ts +0 -5
  212. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  213. package/dist/src/components/exam/Hints.js +0 -31
  214. package/dist/src/components/exam/Hints.js.map +0 -1
  215. package/dist/src/components/exam/Question.d.ts +0 -8
  216. package/dist/src/components/exam/Question.d.ts.map +0 -1
  217. package/dist/src/components/exam/Question.js +0 -75
  218. package/dist/src/components/exam/Question.js.map +0 -1
  219. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  220. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  221. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  222. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  223. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  224. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  225. package/dist/src/components/exam/QuestionTitle.js +0 -26
  226. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  227. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  228. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  229. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  230. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  231. package/dist/src/components/exam/Section.d.ts +0 -4
  232. package/dist/src/components/exam/Section.d.ts.map +0 -1
  233. package/dist/src/components/exam/Section.js +0 -49
  234. package/dist/src/components/exam/Section.js.map +0 -1
  235. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  236. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  237. package/dist/src/components/exam/SectionInstruction.js +0 -6
  238. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  239. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  240. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  241. package/dist/src/components/exam/SectionTitle.js +0 -30
  242. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  243. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  244. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  245. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  246. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  247. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  248. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  249. package/dist/src/components/exam/TextAnswer.js +0 -20
  250. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  251. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  252. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  253. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  254. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  255. package/dist/src/components/exam/UndoView.d.ts +0 -35
  256. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  257. package/dist/src/components/exam/UndoView.js +0 -162
  258. package/dist/src/components/exam/UndoView.js.map +0 -1
  259. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  260. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  261. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  262. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  263. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  264. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  265. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  266. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  267. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  268. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  269. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  270. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  271. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  272. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  273. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  274. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  275. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  276. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  277. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  278. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  279. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  280. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  281. package/dist/src/components/grading/GradingAnswer.js +0 -306
  282. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  283. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  284. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  285. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  286. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  287. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  288. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  289. package/dist/src/components/grading/editAnnotations.js +0 -190
  290. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  291. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  292. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  293. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  294. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  295. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  296. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  297. package/dist/src/components/grading/largeImageDetector.js +0 -45
  298. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  299. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  300. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  301. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  302. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  303. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  304. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  305. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  306. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  307. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  308. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  309. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  310. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  311. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  312. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  313. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  314. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  315. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  316. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  317. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  318. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  319. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  320. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  321. package/dist/src/components/grading-instructions/Question.js +0 -14
  322. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  323. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  324. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  325. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  326. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  327. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  328. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  329. package/dist/src/components/grading-instructions/Recording.js +0 -19
  330. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  331. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  332. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  333. package/dist/src/components/grading-instructions/Section.js +0 -10
  334. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  335. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  336. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  337. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  338. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  339. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  340. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  341. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  342. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  343. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  344. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  345. package/dist/src/components/results/DropdownAnswer.js +0 -43
  346. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  347. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  348. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  349. package/dist/src/components/results/EndExamSession.js +0 -20
  350. package/dist/src/components/results/EndExamSession.js.map +0 -1
  351. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  352. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  353. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  354. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  355. package/dist/src/components/results/Question.d.ts +0 -4
  356. package/dist/src/components/results/Question.d.ts.map +0 -1
  357. package/dist/src/components/results/Question.js +0 -31
  358. package/dist/src/components/results/Question.js.map +0 -1
  359. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  360. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  361. package/dist/src/components/results/QuestionTitle.js +0 -26
  362. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  363. package/dist/src/components/results/Results.d.ts +0 -19
  364. package/dist/src/components/results/Results.d.ts.map +0 -1
  365. package/dist/src/components/results/Results.js +0 -136
  366. package/dist/src/components/results/Results.js.map +0 -1
  367. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  368. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  369. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  370. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  371. package/dist/src/components/results/Section.d.ts +0 -4
  372. package/dist/src/components/results/Section.d.ts.map +0 -1
  373. package/dist/src/components/results/Section.js +0 -11
  374. package/dist/src/components/results/Section.js.map +0 -1
  375. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  376. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  377. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  378. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  379. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  380. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  381. package/dist/src/components/results/TextAnswer.js +0 -48
  382. package/dist/src/components/results/TextAnswer.js.map +0 -1
  383. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  384. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  385. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  386. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  387. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  388. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  389. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  390. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  391. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  392. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  393. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  394. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  395. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  396. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  397. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  398. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  399. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  400. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  401. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  402. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  403. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  404. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  405. package/dist/src/components/shared/AnnotatableText.js +0 -73
  406. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  407. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  408. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  409. package/dist/src/components/shared/AnnotationLists.js +0 -17
  410. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  411. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  412. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  413. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  414. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  415. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  416. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  417. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  418. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  419. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  420. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  421. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  422. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  423. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  424. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  425. package/dist/src/components/shared/AttachmentLink.js +0 -28
  426. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  427. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  428. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  429. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  430. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  431. package/dist/src/components/shared/Audio.d.ts +0 -6
  432. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  433. package/dist/src/components/shared/Audio.js +0 -31
  434. package/dist/src/components/shared/Audio.js.map +0 -1
  435. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  436. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  437. package/dist/src/components/shared/AudioGroup.js +0 -9
  438. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  439. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  440. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  441. package/dist/src/components/shared/AudioTest.js +0 -34
  442. package/dist/src/components/shared/AudioTest.js.map +0 -1
  443. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  444. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  445. package/dist/src/components/shared/ExamTranslation.js +0 -9
  446. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  447. package/dist/src/components/shared/File.d.ts +0 -6
  448. package/dist/src/components/shared/File.d.ts.map +0 -1
  449. package/dist/src/components/shared/File.js +0 -15
  450. package/dist/src/components/shared/File.js.map +0 -1
  451. package/dist/src/components/shared/Footer.d.ts +0 -5
  452. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  453. package/dist/src/components/shared/Footer.js +0 -3
  454. package/dist/src/components/shared/Footer.js.map +0 -1
  455. package/dist/src/components/shared/Formula.d.ts +0 -6
  456. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  457. package/dist/src/components/shared/Formula.js +0 -13
  458. package/dist/src/components/shared/Formula.js.map +0 -1
  459. package/dist/src/components/shared/Image.d.ts +0 -6
  460. package/dist/src/components/shared/Image.d.ts.map +0 -1
  461. package/dist/src/components/shared/Image.js +0 -30
  462. package/dist/src/components/shared/Image.js.map +0 -1
  463. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  464. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  465. package/dist/src/components/shared/ImageOverlay.js +0 -43
  466. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  467. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  468. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  469. package/dist/src/components/shared/QuestionNumber.js +0 -12
  470. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  471. package/dist/src/components/shared/Reference.d.ts +0 -6
  472. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  473. package/dist/src/components/shared/Reference.js +0 -72
  474. package/dist/src/components/shared/Reference.js.map +0 -1
  475. package/dist/src/components/shared/References.d.ts +0 -6
  476. package/dist/src/components/shared/References.d.ts.map +0 -1
  477. package/dist/src/components/shared/References.js +0 -26
  478. package/dist/src/components/shared/References.js.map +0 -1
  479. package/dist/src/components/shared/Score.d.ts +0 -8
  480. package/dist/src/components/shared/Score.d.ts.map +0 -1
  481. package/dist/src/components/shared/Score.js +0 -13
  482. package/dist/src/components/shared/Score.js.map +0 -1
  483. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  484. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  485. package/dist/src/components/shared/TOCQuestion.js +0 -77
  486. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  487. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  488. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  489. package/dist/src/components/shared/TOCSection.js +0 -15
  490. package/dist/src/components/shared/TOCSection.js.map +0 -1
  491. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  492. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  493. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  494. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  495. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  496. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  497. package/dist/src/components/shared/TableOfContents.js +0 -61
  498. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  499. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  500. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  501. package/dist/src/components/shared/VersionNumber.js +0 -10
  502. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  503. package/dist/src/components/shared/Video.d.ts +0 -6
  504. package/dist/src/components/shared/Video.d.ts.map +0 -1
  505. package/dist/src/components/shared/Video.js +0 -22
  506. package/dist/src/components/shared/Video.js.map +0 -1
  507. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  508. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  509. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  510. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  511. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  512. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  513. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  514. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  515. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  516. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  517. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  518. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  519. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  520. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  521. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  522. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  523. package/dist/src/components/surround.d.ts +0 -8
  524. package/dist/src/components/surround.d.ts.map +0 -1
  525. package/dist/src/components/surround.js +0 -19
  526. package/dist/src/components/surround.js.map +0 -1
  527. package/dist/src/createRenderChildNodes.d.ts +0 -17
  528. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  529. package/dist/src/createRenderChildNodes.js +0 -64
  530. package/dist/src/createRenderChildNodes.js.map +0 -1
  531. package/dist/src/dom-utils.d.ts +0 -20
  532. package/dist/src/dom-utils.d.ts.map +0 -1
  533. package/dist/src/dom-utils.js +0 -164
  534. package/dist/src/dom-utils.js.map +0 -1
  535. package/dist/src/fonts.d.ts +0 -5
  536. package/dist/src/fonts.d.ts.map +0 -1
  537. package/dist/src/fonts.js +0 -16
  538. package/dist/src/fonts.js.map +0 -1
  539. package/dist/src/formatting.d.ts +0 -2
  540. package/dist/src/formatting.d.ts.map +0 -1
  541. package/dist/src/formatting.js +0 -4
  542. package/dist/src/formatting.js.map +0 -1
  543. package/dist/src/getDisplayName.d.ts +0 -4
  544. package/dist/src/getDisplayName.d.ts.map +0 -1
  545. package/dist/src/getDisplayName.js +0 -5
  546. package/dist/src/getDisplayName.js.map +0 -1
  547. package/dist/src/i18n/A_E.d.ts +0 -3
  548. package/dist/src/i18n/A_E.d.ts.map +0 -1
  549. package/dist/src/i18n/A_E.js +0 -8
  550. package/dist/src/i18n/A_E.js.map +0 -1
  551. package/dist/src/i18n/BA.d.ts +0 -3
  552. package/dist/src/i18n/BA.d.ts.map +0 -1
  553. package/dist/src/i18n/BA.js +0 -11
  554. package/dist/src/i18n/BA.js.map +0 -1
  555. package/dist/src/i18n/CA.d.ts +0 -3
  556. package/dist/src/i18n/CA.d.ts.map +0 -1
  557. package/dist/src/i18n/CA.js +0 -11
  558. package/dist/src/i18n/CA.js.map +0 -1
  559. package/dist/src/i18n/EA.d.ts +0 -3
  560. package/dist/src/i18n/EA.d.ts.map +0 -1
  561. package/dist/src/i18n/EA.js +0 -16
  562. package/dist/src/i18n/EA.js.map +0 -1
  563. package/dist/src/i18n/FA.d.ts +0 -3
  564. package/dist/src/i18n/FA.d.ts.map +0 -1
  565. package/dist/src/i18n/FA.js +0 -17
  566. package/dist/src/i18n/FA.js.map +0 -1
  567. package/dist/src/i18n/GC.d.ts +0 -3
  568. package/dist/src/i18n/GC.d.ts.map +0 -1
  569. package/dist/src/i18n/GC.js +0 -16
  570. package/dist/src/i18n/GC.js.map +0 -1
  571. package/dist/src/i18n/I.d.ts +0 -3
  572. package/dist/src/i18n/I.d.ts.map +0 -1
  573. package/dist/src/i18n/I.js +0 -21
  574. package/dist/src/i18n/I.js.map +0 -1
  575. package/dist/src/i18n/M.d.ts +0 -3
  576. package/dist/src/i18n/M.d.ts.map +0 -1
  577. package/dist/src/i18n/M.js +0 -4
  578. package/dist/src/i18n/M.js.map +0 -1
  579. package/dist/src/i18n/O_E.d.ts +0 -3
  580. package/dist/src/i18n/O_E.d.ts.map +0 -1
  581. package/dist/src/i18n/O_E.js +0 -7
  582. package/dist/src/i18n/O_E.js.map +0 -1
  583. package/dist/src/i18n/PA.d.ts +0 -3
  584. package/dist/src/i18n/PA.d.ts.map +0 -1
  585. package/dist/src/i18n/PA.js +0 -16
  586. package/dist/src/i18n/PA.js.map +0 -1
  587. package/dist/src/i18n/SA.d.ts +0 -3
  588. package/dist/src/i18n/SA.d.ts.map +0 -1
  589. package/dist/src/i18n/SA.js +0 -16
  590. package/dist/src/i18n/SA.js.map +0 -1
  591. package/dist/src/i18n/TC.d.ts +0 -3
  592. package/dist/src/i18n/TC.d.ts.map +0 -1
  593. package/dist/src/i18n/TC.js +0 -16
  594. package/dist/src/i18n/TC.js.map +0 -1
  595. package/dist/src/i18n/VA.d.ts +0 -3
  596. package/dist/src/i18n/VA.d.ts.map +0 -1
  597. package/dist/src/i18n/VA.js +0 -16
  598. package/dist/src/i18n/VA.js.map +0 -1
  599. package/dist/src/i18n/Z.d.ts +0 -3
  600. package/dist/src/i18n/Z.d.ts.map +0 -1
  601. package/dist/src/i18n/Z.js +0 -22
  602. package/dist/src/i18n/Z.js.map +0 -1
  603. package/dist/src/i18n/fi-FI.d.ts +0 -192
  604. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  605. package/dist/src/i18n/fi-FI.js +0 -182
  606. package/dist/src/i18n/fi-FI.js.map +0 -1
  607. package/dist/src/i18n/index.d.ts +0 -20
  608. package/dist/src/i18n/index.d.ts.map +0 -1
  609. package/dist/src/i18n/index.js +0 -128
  610. package/dist/src/i18n/index.js.map +0 -1
  611. package/dist/src/i18n/sv-FI.d.ts +0 -3
  612. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  613. package/dist/src/i18n/sv-FI.js +0 -181
  614. package/dist/src/i18n/sv-FI.js.map +0 -1
  615. package/dist/src/ids.d.ts +0 -14
  616. package/dist/src/ids.d.ts.map +0 -1
  617. package/dist/src/ids.js +0 -28
  618. package/dist/src/ids.js.map +0 -1
  619. package/dist/src/index.d.ts +0 -19
  620. package/dist/src/index.d.ts.map +0 -1
  621. package/dist/src/index.js +0 -12
  622. package/dist/src/index.js.map +0 -1
  623. package/dist/src/parser/parseExam.d.ts +0 -2
  624. package/dist/src/parser/parseExam.d.ts.map +0 -1
  625. package/dist/src/parser/parseExam.js +0 -54
  626. package/dist/src/parser/parseExam.js.map +0 -1
  627. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  628. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  629. package/dist/src/parser/parseExamStructure.js +0 -40
  630. package/dist/src/parser/parseExamStructure.js.map +0 -1
  631. package/dist/src/renderAnnotations.d.ts +0 -7
  632. package/dist/src/renderAnnotations.d.ts.map +0 -1
  633. package/dist/src/renderAnnotations.js +0 -193
  634. package/dist/src/renderAnnotations.js.map +0 -1
  635. package/dist/src/scrollToHash.d.ts +0 -2
  636. package/dist/src/scrollToHash.d.ts.map +0 -1
  637. package/dist/src/scrollToHash.js +0 -24
  638. package/dist/src/scrollToHash.js.map +0 -1
  639. package/dist/src/shortDisplayNumber.d.ts +0 -2
  640. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  641. package/dist/src/shortDisplayNumber.js +0 -5
  642. package/dist/src/shortDisplayNumber.js.map +0 -1
  643. package/dist/src/store/answers/actions.d.ts +0 -33
  644. package/dist/src/store/answers/actions.d.ts.map +0 -1
  645. package/dist/src/store/answers/actions.js +0 -9
  646. package/dist/src/store/answers/actions.js.map +0 -1
  647. package/dist/src/store/answers/reducer.d.ts +0 -39
  648. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  649. package/dist/src/store/answers/reducer.js +0 -55
  650. package/dist/src/store/answers/reducer.js.map +0 -1
  651. package/dist/src/store/answers/sagas.d.ts +0 -8
  652. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  653. package/dist/src/store/answers/sagas.js +0 -60
  654. package/dist/src/store/answers/sagas.js.map +0 -1
  655. package/dist/src/store/audio/actions.d.ts +0 -29
  656. package/dist/src/store/audio/actions.d.ts.map +0 -1
  657. package/dist/src/store/audio/actions.js +0 -9
  658. package/dist/src/store/audio/actions.js.map +0 -1
  659. package/dist/src/store/audio/reducer.d.ts +0 -27
  660. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  661. package/dist/src/store/audio/reducer.js +0 -55
  662. package/dist/src/store/audio/reducer.js.map +0 -1
  663. package/dist/src/store/audio/sagas.d.ts +0 -3
  664. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  665. package/dist/src/store/audio/sagas.js +0 -68
  666. package/dist/src/store/audio/sagas.js.map +0 -1
  667. package/dist/src/store/cas/actions.d.ts +0 -19
  668. package/dist/src/store/cas/actions.d.ts.map +0 -1
  669. package/dist/src/store/cas/actions.js +0 -9
  670. package/dist/src/store/cas/actions.js.map +0 -1
  671. package/dist/src/store/cas/reducer.d.ts +0 -14
  672. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  673. package/dist/src/store/cas/reducer.js +0 -24
  674. package/dist/src/store/cas/reducer.js.map +0 -1
  675. package/dist/src/store/cas/sagas.d.ts +0 -18
  676. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  677. package/dist/src/store/cas/sagas.js +0 -36
  678. package/dist/src/store/cas/sagas.js.map +0 -1
  679. package/dist/src/store/countdown.d.ts +0 -4
  680. package/dist/src/store/countdown.d.ts.map +0 -1
  681. package/dist/src/store/countdown.js +0 -33
  682. package/dist/src/store/countdown.js.map +0 -1
  683. package/dist/src/store/index.d.ts +0 -78
  684. package/dist/src/store/index.d.ts.map +0 -1
  685. package/dist/src/store/index.js +0 -53
  686. package/dist/src/store/index.js.map +0 -1
  687. package/dist/src/store/selectors.d.ts +0 -9
  688. package/dist/src/store/selectors.d.ts.map +0 -1
  689. package/dist/src/store/selectors.js +0 -35
  690. package/dist/src/store/selectors.js.map +0 -1
  691. package/dist/src/types/ExamAnswer.d.ts +0 -22
  692. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  693. package/dist/src/types/ExamAnswer.js +0 -2
  694. package/dist/src/types/ExamAnswer.js.map +0 -1
  695. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  696. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  697. package/dist/src/types/ExamServerAPI.js +0 -2
  698. package/dist/src/types/ExamServerAPI.js.map +0 -1
  699. package/dist/src/types/GradingStructure.d.ts +0 -40
  700. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  701. package/dist/src/types/GradingStructure.js +0 -2
  702. package/dist/src/types/GradingStructure.js.map +0 -1
  703. package/dist/src/types/Score.d.ts +0 -92
  704. package/dist/src/types/Score.d.ts.map +0 -1
  705. package/dist/src/types/Score.js +0 -2
  706. package/dist/src/types/Score.js.map +0 -1
  707. package/dist/src/url.d.ts +0 -7
  708. package/dist/src/url.d.ts.map +0 -1
  709. package/dist/src/url.js +0 -12
  710. package/dist/src/url.js.map +0 -1
  711. package/dist/src/useCached.d.ts +0 -3
  712. package/dist/src/useCached.d.ts.map +0 -1
  713. package/dist/src/useCached.js +0 -6
  714. package/dist/src/useCached.js.map +0 -1
  715. package/dist/src/utils.d.ts +0 -15
  716. package/dist/src/utils.d.ts.map +0 -1
  717. package/dist/src/utils.js +0 -35
  718. package/dist/src/utils.js.map +0 -1
  719. package/dist/src/validateAnswers.d.ts +0 -16
  720. package/dist/src/validateAnswers.d.ts.map +0 -1
  721. package/dist/src/validateAnswers.js +0 -89
  722. package/dist/src/validateAnswers.js.map +0 -1
  723. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
7
- const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
8
- const utils_1 = require("../utils/utils");
9
- const GradingInstructions_story_1 = require("../stories/grading-intructions/GradingInstructions.story");
10
- experimental_ct_react_1.test.describe('Grading Instructions', () => {
11
- let masteredExam;
12
- experimental_ct_react_1.test.beforeAll(async () => {
13
- masteredExam = await (0, utils_1.setupMasteredExam)('FF');
14
- });
15
- (0, experimental_ct_react_1.test)('text can be annotated inside grading instructions', async ({ mount, page }) => {
16
- let callbackArg = '';
17
- const component = await mount(react_1.default.createElement(GradingInstructions_story_1.GradingInstructionStory, { masteredExam: masteredExam, annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: (_newAnnotation, comment) => {
18
- callbackArg = comment;
19
- } }));
20
- const annottatableElement = component.locator('.e-annotatable').first();
21
- const textbox = component.locator('.comment-content');
22
- await (0, experimental_ct_react_1.expect)(annottatableElement).toBeVisible();
23
- await (0, utils_1.annotate)(annottatableElement, page);
24
- await (0, experimental_ct_react_1.expect)(component.getByTestId('e-popup')).toBeVisible();
25
- await textbox.fill('New comment');
26
- await component.getByText('Tallenna').click();
27
- (0, experimental_ct_react_1.expect)(callbackArg).toBe('New comment');
28
- });
29
- });
30
- //# sourceMappingURL=GradingInstructions.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingInstructions.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/grading-instructions/GradingInstructions.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,6EAAgE;AAChE,0CAA4D;AAC5D,wGAAkG;AAElG,4BAAI,CAAC,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACzC,IAAI,YAA2D,CAAA;IAE/D,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAA;IAC9C,CAAC,CAAC,CAAA;IAEF,IAAA,4BAAI,EAAC,mDAAmD,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QAClF,IAAI,WAAW,GAAG,EAAE,CAAA;QACpB,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,mDAAuB,IACtB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,EAAE,EACf,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC,EAC3B,gBAAgB,EAAE,CAAC,cAAc,EAAE,OAAe,EAAE,EAAE;gBACpD,WAAW,GAAG,OAAO,CAAA;YACvB,CAAC,GACD,CACH,CAAA;QACD,MAAM,mBAAmB,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAA;QACvE,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QAErD,MAAM,IAAA,8BAAM,EAAC,mBAAmB,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,MAAM,IAAA,gBAAQ,EAAC,mBAAmB,EAAE,IAAI,CAAC,CAAA;QACzC,MAAM,IAAA,8BAAM,EAAC,SAAS,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAE5D,MAAM,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAA;QAC7C,IAAA,8BAAM,EAAC,WAAW,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { MasteringResult } from '@digabi/exam-engine-mastering';
3
- import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../src';
4
- interface AnnotationsStoryProps {
5
- masteredExam: MasteringResult;
6
- annotations?: ExamAnnotation[];
7
- onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
8
- onSaveAnnotation?: {
9
- fn: (annotation: NewExamAnnotation, comment: string) => void;
10
- result?: string;
11
- };
12
- }
13
- export declare const AnnotationsStory: React.FC<AnnotationsStoryProps>;
14
- export {};
15
- //# sourceMappingURL=Annotations.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Annotations.story.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/stories/Annotations.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAO/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAEtF,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE;QAAE,EAAE,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CACrG;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6B5D,CAAA"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.AnnotationsStory = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const Exam_1 = require("../../../src/components/exam/Exam");
9
- const ExamComponentWrapper_1 = require("../utils/ExamComponentWrapper");
10
- const parseExam_1 = __importDefault(require("../../../src/parser/parseExam"));
11
- const dom_utils_1 = require("../../../src/dom-utils");
12
- const Question_1 = __importDefault(require("../../../src/components/exam/Question"));
13
- const AnnotationProvider_1 = require("../../../src/components/context/AnnotationProvider");
14
- const AnnotationsStory = ({ masteredExam, annotations, onClickAnnotation, onSaveAnnotation }) => {
15
- const doc = (0, parseExam_1.default)(masteredExam.xml, true);
16
- const [_question1, question2] = (0, dom_utils_1.queryAll)(doc.documentElement, 'question', false);
17
- return (react_1.default.createElement(ExamComponentWrapper_1.ExamComponentWrapper, { doc: doc, resolveAttachment: (filename) => `/${masteredExam.examCode}/attachments/${filename}` },
18
- react_1.default.createElement(AnnotationProvider_1.AnnotationProvider, { annotations: annotations, onClickAnnotation: onClickAnnotation, onSaveAnnotation: onSaveAnnotation
19
- ? (...args) => {
20
- onSaveAnnotation.fn(...args);
21
- return Promise.resolve(onSaveAnnotation.result);
22
- }
23
- : undefined },
24
- react_1.default.createElement(Question_1.default, { element: question2, renderChildNodes: Exam_1.renderChildNodes }))));
25
- };
26
- exports.AnnotationsStory = AnnotationsStory;
27
- //# sourceMappingURL=Annotations.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Annotations.story.js","sourceRoot":"","sources":["../../../../__tests__/playwright/stories/Annotations.story.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,4DAAoE;AACpE,wEAAoE;AACpE,8EAAqD;AACrD,sDAAiD;AACjD,qFAA4D;AAC5D,2FAAuF;AAUhF,MAAM,gBAAgB,GAAoC,CAAC,EAChE,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EACjB,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,mBAAS,EAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7C,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,IAAA,oBAAQ,EAAC,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,CAAC,CAAA;IAChF,OAAO,CACL,8BAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,iBAAiB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,QAAQ,gBAAgB,QAAQ,EAAE;QAE5F,8BAAC,uCAAkB,IACjB,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EACd,gBAAgB;gBACd,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,EAAE;oBACV,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;oBAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;gBACjD,CAAC;gBACH,CAAC,CAAC,SAAS;YAGf,8BAAC,kBAAQ,IAAC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,uBAAgB,GAAI,CACjD,CACA,CACxB,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,gBAAgB,oBA6B5B"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { MasteringResult } from '@digabi/exam-engine-mastering';
3
- import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../../src';
4
- import '../../../../src/css/main.less';
5
- interface AttachmentsStoryProps {
6
- masteredExam: MasteringResult;
7
- annotations?: ExamAnnotation[];
8
- onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
9
- onSaveAnnotation?: (annotation: NewExamAnnotation, comment: string) => void;
10
- }
11
- export declare const AttachmentsStory: React.FC<AttachmentsStoryProps>;
12
- export {};
13
- //# sourceMappingURL=Attachments.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachments.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/attachments/Attachments.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEzF,OAAO,+BAA+B,CAAA;AAEtC,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkB5D,CAAA"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.AttachmentsStory = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const parseExam_1 = __importDefault(require("../../../../src/parser/parseExam"));
9
- const Attachments_1 = __importDefault(require("../../../../src/components/attachments/Attachments"));
10
- const examServerApi_1 = require("../../../examServerApi");
11
- require("../../../../src/css/main.less");
12
- const AttachmentsStory = ({ masteredExam, annotations, onClickAnnotation, onSaveAnnotation }) => {
13
- const doc = (0, parseExam_1.default)(masteredExam.xml, true);
14
- return (react_1.default.createElement(Attachments_1.default, { doc: doc, resolveAttachment: (filename) => `/${masteredExam.examCode}/attachments/${filename}`, attachmentsURL: "/attachments", annotations: annotations, onClickAnnotation: onClickAnnotation, onSaveAnnotation: onSaveAnnotation, examServerApi: examServerApi_1.examServerApi }));
15
- };
16
- exports.AttachmentsStory = AttachmentsStory;
17
- //# sourceMappingURL=Attachments.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachments.story.js","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/attachments/Attachments.story.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,iFAAwD;AACxD,qGAA4E;AAE5E,0DAAsD;AACtD,yCAAsC;AAS/B,MAAM,gBAAgB,GAAoC,CAAC,EAChE,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EACjB,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,mBAAS,EAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7C,OAAO,CACL,8BAAC,qBAAW,IACV,GAAG,EAAE,GAAG,EACR,iBAAiB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,QAAQ,gBAAgB,QAAQ,EAAE,EAC5F,cAAc,EAAC,cAAc,EAC7B,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,6BAAa,GAC5B,CACH,CAAA;AACH,CAAC,CAAA;AAlBY,QAAA,gBAAgB,oBAkB5B"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { MasteringResult } from '@digabi/exam-engine-mastering';
3
- import { ExamAnnotation, NewExamAnnotation, RenderableAnnotation } from '../../../../src';
4
- import '../../../../src/css/main.less';
5
- interface GradingInstructionsStoryProps {
6
- masteredExam: MasteringResult;
7
- annotations?: ExamAnnotation[];
8
- onClickAnnotation?: (e: React.MouseEvent<HTMLElement, MouseEvent>, annotation: RenderableAnnotation) => void;
9
- onSaveAnnotation?: (annotation: NewExamAnnotation, comment: string) => void;
10
- }
11
- export declare const GradingInstructionStory: React.FC<GradingInstructionsStoryProps>;
12
- export {};
13
- //# sourceMappingURL=GradingInstructions.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingInstructions.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/grading-intructions/GradingInstructions.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACzF,OAAO,+BAA+B,CAAA;AAEtC,UAAU,6BAA6B;IACrC,YAAY,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC5G,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAoB3E,CAAA"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.GradingInstructionStory = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const parseExam_1 = __importDefault(require("../../../../src/parser/parseExam"));
9
- const GradingInstructions_1 = __importDefault(require("../../../../src/components/grading-instructions/GradingInstructions"));
10
- require("../../../../src/css/main.less");
11
- const GradingInstructionStory = ({ masteredExam, annotations, onClickAnnotation, onSaveAnnotation }) => {
12
- const doc = (0, parseExam_1.default)(masteredExam.xml, true);
13
- return (react_1.default.createElement(GradingInstructions_1.default, { doc: doc, resolveAttachment: (filename) => `/${masteredExam.examCode}/attachments/${filename}`, answers: [], attachmentsURL: "/attachments", annotations: annotations, onClickAnnotation: onClickAnnotation, onSaveAnnotation: onSaveAnnotation ? (...args) => { var _a; return Promise.resolve((_a = onSaveAnnotation(...args)) !== null && _a !== void 0 ? _a : undefined); } : undefined }));
14
- };
15
- exports.GradingInstructionStory = GradingInstructionStory;
16
- //# sourceMappingURL=GradingInstructions.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GradingInstructions.story.js","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/grading-intructions/GradingInstructions.story.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,iFAAwD;AACxD,8HAAqG;AAErG,yCAAsC;AAS/B,MAAM,uBAAuB,GAA4C,CAAC,EAC/E,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EACjB,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,mBAAS,EAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7C,OAAO,CACL,8BAAC,6BAAmB,IAClB,GAAG,EAAE,GAAG,EACR,iBAAiB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,QAAQ,gBAAgB,QAAQ,EAAE,EAC5F,OAAO,EAAE,EAAE,EACX,cAAc,EAAC,cAAc,EAC7B,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EACd,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,EAAE,WAAC,OAAA,OAAO,CAAC,OAAO,CAAC,MAAA,gBAAgB,CAAC,GAAG,IAAI,CAAC,mCAAI,SAAS,CAAC,CAAA,EAAA,CAAC,CAAC,CAAC,SAAS,GAErG,CACH,CAAA;AACH,CAAC,CAAA;AApBY,QAAA,uBAAuB,2BAoBnC"}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30" height="30" viewBox="0 0 30 30"><defs><clipPath id="clip-path"><path d="M141.57-89.324v-2.34H143.2v2.34A2.3,2.3,0,0,1,140.9-87.03H130.1a2.3,2.3,0,0,1-2.292-2.294v-17.029a2.294,2.294,0,0,1,2.292-2.292h10.8a2.3,2.3,0,0,1,2.295,2.292v2.342H141.57v-2.342a.669.669,0,0,0-.67-.667H130.1a.667.667,0,0,0-.667.667v17.029a.668.668,0,0,0,.667.669h10.8A.67.67,0,0,0,141.57-89.324Zm3.271-13.579a1.069,1.069,0,0,1,1.825-.755l5.065,5.065a1.065,1.065,0,0,1,0,1.511l-5.065,5.067a1.07,1.07,0,0,1-1.825-.757v-2.412h-6.633a2.3,2.3,0,0,1-2.3-2.3v-.7a2.3,2.3,0,0,1,2.3-2.3h6.633V-102.9" fill="none" clip-rule="evenodd"/></clipPath><clipPath id="clip-path-2"><ellipse cx="10" cy="-29.606" rx="15" ry="14.933" fill="none"/></clipPath></defs><title>closeButton</title><rect width="30" height="30" fill="#fff" opacity="0"/><line x1="25" y1="5" x2="5" y2="25" fill="none" stroke="#6d6d6d" stroke-miterlimit="10" stroke-width="3"/><line x1="5" y1="5" x2="25" y2="25" fill="none" stroke="#6d6d6d" stroke-miterlimit="10" stroke-width="3"/></svg>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="19px" height="12px" viewBox="0 0 19 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4
- <title>Page 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Kuuntelu-kokelas-painaa-nappia-Copy-18" transform="translate(-1068.000000, -19.000000)" stroke-width="3" stroke="#359BB7">
9
- <polyline id="Page-1" transform="translate(1077.999981, 26.000000) rotate(180.000000) translate(-1077.999981, -26.000000) " points="1085.99996 22 1077.99996 30 1070 22"></polyline>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="18px" height="12px" viewBox="0 0 18 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4
- <title>Page 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Kuuntelu-kokelas-painaa-nappia-Copy-18" transform="translate(-1069.000000, -21.000000)" stroke-width="3" stroke="#359BB7">
9
- <polyline id="Page-1" points="1085.99996 22 1077.99996 30 1070 22"></polyline>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,9 +0,0 @@
1
- <svg version="1.1"
2
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
3
- x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
4
- <path fill="#359BB7" d="M10,20C4.48,20,0,15.52,0,10C0,4.48,4.48,0,10,0s10,4.48,10,10C20,15.52,15.52,20,10,20z M5.57,5.88
5
- c-0.14,0.21-0.09,0.5,0.11,0.66l1.4,1.06c0.21,0.16,0.51,0.12,0.67-0.09c0.72-0.91,1.21-1.44,2.31-1.44c0.82,0,1.84,0.53,1.84,1.33
6
- c0,0.6-0.5,0.91-1.31,1.37c-0.95,0.53-2.2,1.19-2.2,2.85v0.16c0,0.27,0.22,0.48,0.48,0.48h2.26c0.27,0,0.48-0.22,0.48-0.48v-0.05
7
- c0-1.15,3.35-1.2,3.35-4.3c0-2.34-2.43-4.11-4.7-4.11C8.07,3.31,6.67,4.23,5.57,5.88z M8.15,15.16c0,1.02,0.83,1.85,1.85,1.85
8
- s1.85-0.83,1.85-1.85s-0.83-1.85-1.85-1.85S8.15,14.14,8.15,15.16z"/>
9
- </svg>
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" version="1.1">
2
- <g id="surface1">
3
- <path fill="#359BB7" d="M 18.316406 1.253906 C 18.859375 1.253906 19.378906 1.675781 19.378906 2.3125 L 19.378906 8.007812 C 19.378906 8.421875 19.042969 8.757812 18.628906 8.757812 L 12.9375 8.757812 C 12.300781 8.757812 11.882812 8.238281 11.882812 7.695312 C 11.882812 7.4375 11.976562 7.171875 12.191406 6.957031 L 13.953125 5.195312 C 12.851562 4.289062 11.460938 3.761719 9.996094 3.761719 C 6.554688 3.761719 3.753906 6.5625 3.753906 10.003906 C 3.753906 13.449219 6.554688 16.246094 9.996094 16.246094 C 12.851562 16.246094 13.488281 14.75 14.492188 14.75 C 15.214844 14.75 15.742188 15.335938 15.742188 15.996094 C 15.742188 17.367188 12.554688 18.75 10 18.75 C 5.179688 18.75 1.253906 14.824219 1.253906 10.003906 C 1.253906 5.183594 5.179688 1.265625 10 1.265625 C 12.132812 1.265625 14.148438 2.0625 15.71875 3.425781 L 17.578125 1.566406 C 17.792969 1.351562 18.058594 1.253906 18.316406 1.253906 Z M 18.316406 1.253906 "/>
4
- </g>
5
- </svg>
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" version="1.1">
2
- <g id="surface1">
3
- <path fill="#359BB7" d="M 18.75 10 C 18.75 14.820312 14.824219 18.746094 10.003906 18.746094 C 8.097656 18.746094 6.285156 18.136719 4.761719 16.992188 C 4.210938 16.578125 4.097656 15.796875 4.511719 15.242188 C 4.925781 14.691406 5.707031 14.582031 6.261719 14.996094 C 7.351562 15.8125 8.644531 16.242188 10.007812 16.242188 C 13.449219 16.242188 16.25 13.441406 16.25 10 C 16.25 6.558594 13.449219 3.757812 10.007812 3.757812 C 8.542969 3.757812 7.152344 4.285156 6.050781 5.1875 L 7.8125 6.953125 C 8.476562 7.617188 8.007812 8.753906 7.066406 8.753906 L 1.375 8.753906 C 0.960938 8.753906 0.625 8.417969 0.625 8.003906 L 0.625 2.304688 C 0.625 1.367188 1.761719 0.898438 2.425781 1.5625 L 4.285156 3.421875 C 5.855469 2.058594 7.871094 1.253906 10.003906 1.253906 C 14.824219 1.253906 18.75 5.179688 18.75 10 Z M 18.75 10 "/>
4
- </g>
5
- </svg>
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare function ExamineExam(): React.JSX.Element;
3
- declare const _default: React.MemoExoticComponent<typeof ExamineExam>;
4
- export default _default;
5
- //# sourceMappingURL=ExamineExam.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExamineExam.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ExamineExam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,iBAAS,WAAW,sBA4BnB;;AAED,wBAAsC"}
@@ -1,20 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import { useExamTranslation } from '../../i18n';
3
- import { ExamContext } from '../context/ExamContext';
4
- function ExamineExam() {
5
- const { examServerApi } = useContext(ExamContext);
6
- const { examineExam } = examServerApi;
7
- const { t } = useExamTranslation();
8
- const goToInspectAnswers = () => {
9
- if (!examineExam) {
10
- return;
11
- }
12
- examineExam();
13
- window.scrollTo(0, 0);
14
- };
15
- return (React.createElement("div", { className: "e-examine-exam" },
16
- React.createElement("button", { className: "e-button", id: "examineExam", onClick: goToInspectAnswers, "aria-describedby": "examineExamInstructions" }, t('examine-exam.examine')),
17
- React.createElement("div", { className: "e-examine-exam-instructions", id: "examineExamInstructions" }, t('examine-exam.instructions'))));
18
- }
19
- export default React.memo(ExamineExam);
20
- //# sourceMappingURL=ExamineExam.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExamineExam.js","sourceRoot":"","sources":["../../../src/components/exam/ExamineExam.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,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGpD,SAAS,WAAW;IAClB,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,EAAE,WAAW,EAAE,GAAkB,aAAa,CAAA;IACpD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,OAAM;QACR,CAAC;QACD,WAAW,EAAE,CAAA;QACb,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACvB,CAAC,CAAA;IAED,OAAO,CACL,6BAAK,SAAS,EAAC,gBAAgB;QAC7B,gCACE,SAAS,EAAC,UAAU,EACpB,EAAE,EAAC,aAAa,EAChB,OAAO,EAAE,kBAAkB,sBACV,yBAAyB,IAEzC,CAAC,CAAC,sBAAsB,CAAC,CACnB;QACT,6BAAK,SAAS,EAAC,6BAA6B,EAAC,EAAE,EAAC,yBAAyB,IACtE,CAAC,CAAC,2BAA2B,CAAC,CAC3B,CACF,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare function onMouseDownForAnnotation(e: React.MouseEvent, mouseUpCallback: (e: any) => void): void;
3
- //# sourceMappingURL=examAnnotationUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"examAnnotationUtils.d.ts","sourceRoot":"","sources":["../../../src/components/grading/examAnnotationUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,QAuC9F"}
@@ -1,104 +0,0 @@
1
- import { textAnnotationFromRange } from './editAnnotations';
2
- export function onMouseDownForAnnotation(e, mouseUpCallback) {
3
- function onMouseUpAfterAnswerMouseDown() {
4
- var _a, _b;
5
- window.removeEventListener('mouseup', onMouseUpAfterAnswerMouseDown);
6
- /**
7
- * selection.anchorNode = where mouse is pressed down (chronologically first)
8
- * selection.getRangeAt(0).startContainer = where selection starts (first in DOM)
9
- */
10
- const selection = window.getSelection();
11
- const startNode = (_a = selection === null || selection === void 0 ? void 0 : selection.anchorNode) === null || _a === void 0 ? void 0 : _a.parentElement;
12
- const endNode = (_b = selection === null || selection === void 0 ? void 0 : selection.focusNode) === null || _b === void 0 ? void 0 : _b.parentElement;
13
- if (selection && startNode && endNode && selection.toString().length > 0) {
14
- const hasMarks = selectionContainsNonhiddenMarks(selection);
15
- const startNodedisplayNumber = getDisplayNumber(startNode);
16
- const endNodeDisplayNumber = getDisplayNumber(endNode);
17
- if (startNodedisplayNumber === endNodeDisplayNumber &&
18
- isAnnotatable(startNode) &&
19
- isAnnotatable(endNode) &&
20
- !hasMarks) {
21
- const annotations = extractAnnotationsFromSelection(selection);
22
- mouseUpCallback({
23
- annotationParts: annotations,
24
- displayNumber: startNodedisplayNumber,
25
- selectedText: annotations.map(a => a.selectedText).join(' ')
26
- });
27
- }
28
- }
29
- }
30
- // Do annotations only with left mouse buttons
31
- if (e.button !== 0) {
32
- return;
33
- }
34
- window.addEventListener('mouseup', onMouseUpAfterAnswerMouseDown);
35
- }
36
- const selectionContainsNonhiddenMarks = (selection) => {
37
- const rangeChildren = Array.from(selection === null || selection === void 0 ? void 0 : selection.getRangeAt(0).cloneContents().children);
38
- const childIsNonHiddenMark = rangeChildren === null || rangeChildren === void 0 ? void 0 : rangeChildren.some(child => child.tagName === 'MARK' && child.getAttribute('data-hidden') === 'false');
39
- const childContainsNonHiddenMark = rangeChildren.some(child => child.querySelector('mark[data-hidden="false"]'));
40
- return childIsNonHiddenMark || childContainsNonHiddenMark;
41
- };
42
- const getDisplayNumber = (node) => { var _a; return (_a = node === null || node === void 0 ? void 0 : node.closest('div[data-annotation-anchor]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-annotation-anchor'); };
43
- const isAnnotatable = (node) => (node === null || node === void 0 ? void 0 : node.getAttribute('data-annotation-path')) && node.tagName !== 'MARK';
44
- const extractAnnotationsFromSelection = (selection) => {
45
- var _a, _b;
46
- const range = selection.getRangeAt(0);
47
- const rangeChildren = Array.from(selection === null || selection === void 0 ? void 0 : selection.getRangeAt(0).cloneContents().children);
48
- const firstSelectedNodeInDOM = range.startContainer.parentElement;
49
- if (!(rangeChildren === null || rangeChildren === void 0 ? void 0 : rangeChildren.length)) {
50
- // selection is plain text
51
- const annotationAnchor = (_b = (_a = selection === null || selection === void 0 ? void 0 : selection.focusNode) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.getAttribute('data-annotation-path');
52
- const startAndLength = textAnnotationFromRange(firstSelectedNodeInDOM, range);
53
- return [
54
- {
55
- annotationAnchor,
56
- selectedText: (selection === null || selection === void 0 ? void 0 : selection.toString()) || '',
57
- startIndex: (startAndLength === null || startAndLength === void 0 ? void 0 : startAndLength.startIndex) || 0,
58
- length: (startAndLength === null || startAndLength === void 0 ? void 0 : startAndLength.length) || 0
59
- }
60
- ];
61
- }
62
- else {
63
- // selection is in multiple elements
64
- const annotations = rangeChildren === null || rangeChildren === void 0 ? void 0 : rangeChildren.reduce((acc, child, index, arr) => {
65
- var _a;
66
- const childsAnnotationPath = child.getAttribute('data-annotation-path');
67
- const isLastRangeChild = index === arr.length - 1;
68
- if (childsAnnotationPath) {
69
- // child is a text node, like <span> text </span>
70
- const newElement = {
71
- annotationAnchor: childsAnnotationPath,
72
- selectedText: child.textContent || '',
73
- startIndex: index === 0 ? range.startOffset : 0,
74
- length: isLastRangeChild ? range.endOffset : ((_a = child.textContent) === null || _a === void 0 ? void 0 : _a.length) || 0
75
- };
76
- return [...acc, newElement];
77
- }
78
- else {
79
- // child is a node with children, like <b> <span> text </span> </b>
80
- const allChildrenWithAnnotationPath = child.querySelectorAll('[data-annotation-path]');
81
- allChildrenWithAnnotationPath === null || allChildrenWithAnnotationPath === void 0 ? void 0 : allChildrenWithAnnotationPath.forEach((grandChild, kidIndex) => {
82
- var _a;
83
- const dataAnnotationPath = grandChild.getAttribute('data-annotation-path');
84
- if (dataAnnotationPath) {
85
- const isFirstOfAll = index === 0 && kidIndex === 0;
86
- const isLastGrandChild = kidIndex === allChildrenWithAnnotationPath.length - 1;
87
- const isLastOfAll = isLastRangeChild && isLastGrandChild;
88
- const startAndLength = textAnnotationFromRange(firstSelectedNodeInDOM, range);
89
- const newElement = {
90
- annotationAnchor: dataAnnotationPath,
91
- selectedText: grandChild.textContent || '',
92
- startIndex: isFirstOfAll ? (startAndLength === null || startAndLength === void 0 ? void 0 : startAndLength.startIndex) || 0 : 0,
93
- length: isLastOfAll ? range.endOffset : ((_a = grandChild.textContent) === null || _a === void 0 ? void 0 : _a.length) || 0
94
- };
95
- acc.push(newElement);
96
- }
97
- });
98
- return acc;
99
- }
100
- }, []);
101
- return annotations;
102
- }
103
- };
104
- //# sourceMappingURL=examAnnotationUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"examAnnotationUtils.js","sourceRoot":"","sources":["../../../src/components/grading/examAnnotationUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAC,CAAmB,EAAE,eAAiC;IAC7F,SAAS,6BAA6B;;QACpC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,6BAA6B,CAAC,CAAA;QAEpE;;;WAGG;QAEH,MAAM,SAAS,GAAG,MAAM,CAAC,YAAY,EAAE,CAAA;QACvC,MAAM,SAAS,GAAG,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,0CAAE,aAAa,CAAA;QACtD,MAAM,OAAO,GAAG,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,SAAS,0CAAE,aAAa,CAAA;QAEnD,IAAI,SAAS,IAAI,SAAS,IAAI,OAAO,IAAI,SAAS,CAAC,QAAQ,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACzE,MAAM,QAAQ,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;YAC3D,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAA;YAC1D,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAA;YAEtD,IACE,sBAAsB,KAAK,oBAAoB;gBAC/C,aAAa,CAAC,SAAS,CAAC;gBACxB,aAAa,CAAC,OAAO,CAAC;gBACtB,CAAC,QAAQ,EACT,CAAC;gBACD,MAAM,WAAW,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;gBAC9D,eAAe,CAAC;oBACd,eAAe,EAAE,WAAW;oBAC5B,aAAa,EAAE,sBAAsB;oBACrC,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;iBAC7D,CAAC,CAAA;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,8CAA8C;IAC9C,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnB,OAAM;IACR,CAAC;IACD,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,6BAA6B,CAAC,CAAA;AACnE,CAAC;AAED,MAAM,+BAA+B,GAAG,CAAC,SAAoB,EAAE,EAAE;IAC/D,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,CAAC,CAAC,EAAE,aAAa,GAAG,QAAQ,CAAC,CAAA;IACnF,MAAM,oBAAoB,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,CAC9C,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,KAAK,OAAO,CACnF,CAAA;IACD,MAAM,0BAA0B,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC,CAAA;IAChH,OAAO,oBAAoB,IAAI,0BAA0B,CAAA;AAC3D,CAAC,CAAA;AAED,MAAM,gBAAgB,GAAG,CAAC,IAAiB,EAAE,EAAE,WAC7C,OAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAC,6BAA6B,CAAC,0CAAE,YAAY,CAAC,wBAAwB,CAAC,CAAA,EAAA,CAAA;AAEtF,MAAM,aAAa,GAAG,CAAC,IAAiB,EAAE,EAAE,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,sBAAsB,CAAC,KAAI,IAAI,CAAC,OAAO,KAAK,MAAM,CAAA;AAElH,MAAM,+BAA+B,GAAG,CAAC,SAAoB,EAAE,EAAE;;IAC/D,MAAM,KAAK,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;IACrC,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,CAAC,CAAC,EAAE,aAAa,GAAG,QAAQ,CAAC,CAAA;IACnF,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,aAAa,CAAA;IAEjE,IAAI,CAAC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,CAAA,EAAE,CAAC;QAC3B,0BAA0B;QAC1B,MAAM,gBAAgB,GAAG,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,SAAS,0CAAE,aAAa,0CAAE,YAAY,CAAC,sBAAsB,CAAC,CAAA;QAClG,MAAM,cAAc,GAAG,uBAAuB,CAAC,sBAAqC,EAAE,KAAK,CAAC,CAAA;QAC5F,OAAO;YACL;gBACE,gBAAgB;gBAChB,YAAY,EAAE,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,QAAQ,EAAE,KAAI,EAAE;gBACzC,UAAU,EAAE,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,UAAU,KAAI,CAAC;gBAC3C,MAAM,EAAE,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,KAAI,CAAC;aACpC;SACkB,CAAA;IACvB,CAAC;SAAM,CAAC;QACN,oCAAoC;QACpC,MAAM,WAAW,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;;YACnE,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAA;YACvE,MAAM,gBAAgB,GAAG,KAAK,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,CAAA;YACjD,IAAI,oBAAoB,EAAE,CAAC;gBACzB,iDAAiD;gBACjD,MAAM,UAAU,GAAG;oBACjB,gBAAgB,EAAE,oBAAoB;oBACtC,YAAY,EAAE,KAAK,CAAC,WAAW,IAAI,EAAE;oBACrC,UAAU,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;oBAC/C,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA,MAAA,KAAK,CAAC,WAAW,0CAAE,MAAM,KAAI,CAAC;iBAC5E,CAAA;gBACD,OAAO,CAAC,GAAG,GAAG,EAAE,UAAU,CAAC,CAAA;YAC7B,CAAC;iBAAM,CAAC;gBACN,mEAAmE;gBACnE,MAAM,6BAA6B,GAAG,KAAK,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAA;gBACtF,6BAA6B,aAA7B,6BAA6B,uBAA7B,6BAA6B,CAAE,OAAO,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,EAAE;;oBAC9D,MAAM,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAA;oBAC1E,IAAI,kBAAkB,EAAE,CAAC;wBACvB,MAAM,YAAY,GAAG,KAAK,KAAK,CAAC,IAAI,QAAQ,KAAK,CAAC,CAAA;wBAClD,MAAM,gBAAgB,GAAG,QAAQ,KAAK,6BAA6B,CAAC,MAAM,GAAG,CAAC,CAAA;wBAC9E,MAAM,WAAW,GAAG,gBAAgB,IAAI,gBAAgB,CAAA;wBACxD,MAAM,cAAc,GAAG,uBAAuB,CAAC,sBAAqC,EAAE,KAAK,CAAC,CAAA;wBAC5F,MAAM,UAAU,GAAG;4BACjB,gBAAgB,EAAE,kBAAkB;4BACpC,YAAY,EAAE,UAAU,CAAC,WAAW,IAAI,EAAE;4BAC1C,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,UAAU,KAAI,CAAC,CAAC,CAAC,CAAC,CAAC;4BAC9D,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA,MAAA,UAAU,CAAC,WAAW,0CAAE,MAAM,KAAI,CAAC;yBAC5E,CAAA;wBACD,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;oBACtB,CAAC;gBACH,CAAC,CAAC,CAAA;gBACF,OAAO,GAAG,CAAA;YACZ,CAAC;QACH,CAAC,EAAE,EAAsB,CAAC,CAAA;QAE1B,OAAO,WAAW,CAAA;IACpB,CAAC;AACH,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export declare const AnnotatableText: ({ node }: {
3
- node: Node;
4
- }) => string | React.JSX.Element;
5
- //# sourceMappingURL=AnnotatableText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotatableText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotatableText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,eAAO,MAAM,eAAe,aAAc;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,+BA2BvD,CAAA"}
@@ -1,25 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import { getElementPath } from '../../dom-utils';
3
- import { AnnotationContext } from '../context/AnnotationProvider';
4
- import { IsInSidebarContext } from '../context/IsInSidebarContext';
5
- import { markText } from './markText';
6
- export const AnnotatableText = ({ node }) => {
7
- var _a, _b;
8
- const annotationContextData = useContext(AnnotationContext);
9
- const { isInSidebar } = useContext(IsInSidebarContext);
10
- const { annotations, onClickAnnotation, setNewAnnotationRef, newAnnotation } = annotationContextData;
11
- const canNotBeAnnotated = (annotationContextData === null || annotationContextData === void 0 ? void 0 : annotationContextData.annotations) === undefined ||
12
- ((_a = node.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) === 0 ||
13
- isInSidebar !== undefined;
14
- if (canNotBeAnnotated) {
15
- return node.textContent;
16
- }
17
- const path = getElementPath(node);
18
- const newAnnotationPartsForThisNode = ((_b = newAnnotation === null || newAnnotation === void 0 ? void 0 : newAnnotation.annotationParts) === null || _b === void 0 ? void 0 : _b.filter(p => p.annotationAnchor === path)) || [];
19
- const savedAnnotationsForThisNode = (annotations === null || annotations === void 0 ? void 0 : annotations[path]) || [];
20
- const allAnnotationsForThisNode = [...savedAnnotationsForThisNode, ...newAnnotationPartsForThisNode];
21
- return (React.createElement("span", { className: "e-annotatable", key: path, "data-annotation-path": path, "data-testid": path }, allAnnotationsForThisNode.length > 0 && onClickAnnotation
22
- ? markText(node.textContent, allAnnotationsForThisNode, onClickAnnotation, setNewAnnotationRef)
23
- : node.textContent));
24
- };
25
- //# sourceMappingURL=AnnotatableText.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotatableText.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotatableText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,IAAI,EAAkB,EAAE,EAAE;;IAC1D,MAAM,qBAAqB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC3D,MAAM,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAA;IACtD,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,GAAG,qBAAqB,CAAA;IAEpG,MAAM,iBAAiB,GACrB,CAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,MAAK,SAAS;QAChD,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,IAAI,GAAG,MAAM,MAAK,CAAC;QACrC,WAAW,KAAK,SAAS,CAAA;IAE3B,IAAI,iBAAiB,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC,WAAY,CAAA;IAC1B,CAAC;IAED,MAAM,IAAI,GAAG,cAAc,CAAC,IAAe,CAAC,CAAA;IAE5C,MAAM,6BAA6B,GAAG,CAAA,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,eAAe,0CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,KAAK,IAAI,CAAC,KAAI,EAAE,CAAA;IACpH,MAAM,2BAA2B,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,IAAI,CAAC,KAAI,EAAE,CAAA;IAC7D,MAAM,yBAAyB,GAAG,CAAC,GAAG,2BAA2B,EAAE,GAAG,6BAA6B,CAAC,CAAA;IAEpG,OAAO,CACL,8BAAM,SAAS,EAAC,eAAe,EAAC,GAAG,EAAE,IAAI,0BAAwB,IAAI,iBAAe,IAAI,IACrF,yBAAyB,CAAC,MAAM,GAAG,CAAC,IAAI,iBAAiB;QACxD,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAY,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,mBAAmB,CAAC;QAChG,CAAC,CAAC,IAAI,CAAC,WAAW,CACf,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { NewRenderableAnnotation, RenderableAnnotation } from '../../types/Score';
3
- export declare const AnnotationMark: ({ annotation, markedText, onClickAnnotation, setNewAnnotationRef }: {
4
- annotation: RenderableAnnotation | NewRenderableAnnotation;
5
- markedText: string;
6
- onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void;
7
- setNewAnnotationRef: (ref: HTMLElement | null) => void;
8
- }) => React.JSX.Element;
9
- //# sourceMappingURL=AnnotationMark.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationMark.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAGjF,eAAO,MAAM,cAAc,uEAKxB;IACD,UAAU,EAAE,oBAAoB,GAAG,uBAAuB,CAAA;IAC1D,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACvD,sBAsBA,CAAA"}
@@ -1,14 +0,0 @@
1
- import React, { useEffect, useRef } from 'react';
2
- import { isExistingAnnotation } from './markText';
3
- export const AnnotationMark = ({ annotation, markedText, onClickAnnotation, setNewAnnotationRef }) => {
4
- const markRef = useRef(null);
5
- useEffect(() => {
6
- if (markRef.current && !isExistingAnnotation(annotation)) {
7
- setNewAnnotationRef(markRef.current);
8
- }
9
- }, []);
10
- return (React.createElement("mark", { ref: markRef, className: `e-annotation ${annotation.resolved ? 'resolved' : ''}`, "data-annotation-id": isExistingAnnotation(annotation) ? annotation.annotationId : '', "data-hidden": "false", "data-annotation-path": annotation.annotationAnchor, onClick: e => (isExistingAnnotation(annotation) ? onClickAnnotation(e, annotation) : undefined) },
11
- markedText,
12
- (annotation === null || annotation === void 0 ? void 0 : annotation.markNumber) && React.createElement("sup", { className: "e-annotation", "data-content": annotation === null || annotation === void 0 ? void 0 : annotation.markNumber })));
13
- };
14
- //# sourceMappingURL=AnnotationMark.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationMark.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EAMpB,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,MAAM,CAAc,IAAI,CAAC,CAAA;IAEzC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;YACzD,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACtC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,CACL,8BACE,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,gBAAgB,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,wBAC9C,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBACvE,OAAO,0BACG,UAAU,CAAC,gBAAgB,EACjD,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAE9F,UAAU;QACV,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,KAAI,6BAAK,SAAS,EAAC,cAAc,kBAAe,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,GAAI,CAC5F,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare function AnnotationPopup(): React.JSX.Element | null;
3
- //# sourceMappingURL=AnnotationPopup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,wBAAgB,eAAe,6BA2B9B"}
@@ -1,21 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import { AnnotationContext } from '../context/AnnotationProvider';
3
- import { Popup } from './Popup';
4
- export function AnnotationPopup() {
5
- const { newAnnotation, setNewAnnotation, newAnnotationRef, setNewAnnotationRef, onSaveAnnotation } = useContext(AnnotationContext);
6
- if (!newAnnotation || !newAnnotationRef) {
7
- return null;
8
- }
9
- return (React.createElement(Popup, { element: newAnnotationRef, initialTextContent: '', onValueSave: async (comment) => {
10
- const error = await onSaveAnnotation(newAnnotation, comment);
11
- if (!error) {
12
- setNewAnnotation(null);
13
- setNewAnnotationRef(null);
14
- }
15
- return error;
16
- }, enableDelete: false, onCancel: () => {
17
- setNewAnnotation(null);
18
- setNewAnnotationRef(null);
19
- } }));
20
- }
21
- //# sourceMappingURL=AnnotationPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnnotationPopup.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,UAAU,eAAe;IAC7B,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAChG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE/B,IAAI,CAAC,aAAa,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CACL,oBAAC,KAAK,IACJ,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,EAAE,EACtB,WAAW,EAAE,KAAK,EAAE,OAAe,EAAE,EAAE;YACrC,MAAM,KAAK,GAAG,MAAM,gBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;YAC7D,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,gBAAgB,CAAC,IAAI,CAAC,CAAA;gBACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;YAC3B,CAAC;YACD,OAAO,KAAK,CAAA;QACd,CAAC,EACD,YAAY,EAAE,KAAK,EACnB,QAAQ,EAAE,GAAG,EAAE;YACb,gBAAgB,CAAC,IAAI,CAAC,CAAA;YACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;QAC3B,CAAC,GACD,CACH,CAAA;AACH,CAAC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { AudioPlaybackError } from '../../../index';
3
- declare const AudioPlaybackError: React.FunctionComponent<{
4
- error?: AudioPlaybackError;
5
- children: React.ReactNode[] | React.ReactNode;
6
- }>;
7
- export default AudioPlaybackError;
8
- //# sourceMappingURL=AudioPlaybackError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioPlaybackError.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/internal/AudioPlaybackError.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAGnD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAChD,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,CAAA;CAC9C,CAkBA,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,17 +0,0 @@
1
- import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
2
- import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
- import React from 'react';
4
- import ReactCSSTransitionReplace from 'react-css-transition-replace';
5
- import { useExamTranslation } from '../../../i18n';
6
- const AudioPlaybackError = ({ error, children }) => {
7
- const { t } = useExamTranslation();
8
- return (
9
- // @types/react 18 removed children from implicit props. This component has not explicitly added them yet
10
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
11
- // @ts-ignore
12
- React.createElement(ReactCSSTransitionReplace, { transitionName: "e-crossfade", transitionEnterTimeout: 500, transitionLeaveTimeout: 500 }, error != null ? (React.createElement("div", { className: "e-color-error", role: "alert" },
13
- React.createElement(FontAwesomeIcon, { icon: faExclamationTriangle, className: "e-mrg-r-1" }),
14
- t(`audio-errors.${error}`))) : (React.createElement("div", { key: "no-error" }, children))));
15
- };
16
- export default AudioPlaybackError;
17
- //# sourceMappingURL=AudioPlaybackError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioPlaybackError.js","sourceRoot":"","sources":["../../../../src/components/shared/internal/AudioPlaybackError.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,yBAAyB,MAAM,8BAA8B,CAAA;AAEpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,MAAM,kBAAkB,GAGnB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3B,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO;IACL,yGAAyG;IACzG,6DAA6D;IAC7D,aAAa;IACb,oBAAC,yBAAyB,IAAC,cAAc,EAAC,aAAa,EAAC,sBAAsB,EAAE,GAAG,EAAE,sBAAsB,EAAE,GAAG,IAC7G,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,CACf,6BAAK,SAAS,EAAC,eAAe,EAAC,IAAI,EAAC,OAAO;QACzC,oBAAC,eAAe,IAAC,IAAI,EAAE,qBAAqB,EAAE,SAAS,EAAC,WAAW,GAAG;QACrE,CAAC,CAAC,gBAAgB,KAAK,EAAW,CAAC,CAChC,CACP,CAAC,CAAC,CAAC,CACF,6BAAK,GAAG,EAAC,UAAU,IAAE,QAAQ,CAAO,CACrC,CACyB,CAC7B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NewRenderableAnnotation, RenderableAnnotation } from '../../types/Score';
3
- export declare function isExistingAnnotation(annotation: NewRenderableAnnotation | RenderableAnnotation): annotation is RenderableAnnotation;
4
- export declare function markText(text: string, annotations: (RenderableAnnotation | NewRenderableAnnotation)[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
5
- //# sourceMappingURL=markText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAOjF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,uBAAuB,GAAG,oBAAoB,GACzD,UAAU,IAAI,oBAAoB,CAEpC;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,EAAE,EAC/D,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,EAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBA4GvD"}