@digabi/exam-engine-core 19.7.1-alpha.0 → 19.8.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. package/dist/__tests__/AnsweringInstructions.test.js +11 -11
  2. package/dist/__tests__/AnsweringInstructions.test.js.map +1 -1
  3. package/dist/__tests__/examServerApi.js +2 -2
  4. package/dist/__tests__/examServerApi.js.map +1 -1
  5. package/dist/__tests__/renderAnnotations.test.js +18 -18
  6. package/dist/__tests__/results/AnnotationList.test.js +27 -27
  7. package/dist/__tests__/results/ResultsContext.test.js +37 -37
  8. package/dist/__tests__/results/ResultsContext.test.js.map +1 -1
  9. package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js +4 -4
  10. package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js +19 -19
  11. package/dist/__tests__/testExamRendering.js +14 -16
  12. package/dist/__tests__/testExamRendering.js.map +1 -1
  13. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  14. package/dist/__tests__/validateAnswers.test.js +28 -28
  15. package/dist/__tests__/validateAnswers.test.js.map +1 -1
  16. package/dist/components/AnswerToolbar.d.ts +1 -1
  17. package/dist/components/AnswerToolbar.d.ts.map +1 -1
  18. package/dist/components/AnswerToolbar.js +2 -2
  19. package/dist/components/AnswerToolbar.js.map +1 -1
  20. package/dist/components/AnsweringInstructions.js +1 -1
  21. package/dist/components/AnsweringInstructions.js.map +1 -1
  22. package/dist/components/DocumentTitle.js +1 -1
  23. package/dist/components/DocumentTitle.js.map +1 -1
  24. package/dist/components/SectionElement.js +1 -1
  25. package/dist/components/SectionElement.js.map +1 -1
  26. package/dist/components/attachments/Attachments.js +1 -1
  27. package/dist/components/attachments/ExternalMaterial.d.ts.map +1 -1
  28. package/dist/components/attachments/ExternalMaterial.js +5 -1
  29. package/dist/components/attachments/ExternalMaterial.js.map +1 -1
  30. package/dist/components/attachments/Question.js +1 -1
  31. package/dist/components/attachments/Question.js.map +1 -1
  32. package/dist/components/context/CommonExamContext.js +1 -1
  33. package/dist/components/context/ExamContext.js +1 -1
  34. package/dist/components/context/QuestionContext.js +1 -1
  35. package/dist/components/context/ResultsContext.js +6 -6
  36. package/dist/components/context/ResultsContext.js.map +1 -1
  37. package/dist/components/context/SectionContext.js +2 -2
  38. package/dist/components/context/SectionContext.js.map +1 -1
  39. package/dist/components/exam/ChoiceAnswer.js +6 -6
  40. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  41. package/dist/components/exam/DropdownAnswer.js +10 -10
  42. package/dist/components/exam/DropdownAnswer.js.map +1 -1
  43. package/dist/components/exam/Exam.d.ts.map +1 -1
  44. package/dist/components/exam/Exam.js +11 -7
  45. package/dist/components/exam/Exam.js.map +1 -1
  46. package/dist/components/exam/ExternalMaterial.js +1 -1
  47. package/dist/components/exam/Hints.js +3 -3
  48. package/dist/components/exam/Hints.js.map +1 -1
  49. package/dist/components/exam/Question.d.ts +4 -0
  50. package/dist/components/exam/Question.d.ts.map +1 -1
  51. package/dist/components/exam/Question.js +41 -8
  52. package/dist/components/exam/Question.js.map +1 -1
  53. package/dist/components/exam/QuestionTitle.js +1 -1
  54. package/dist/components/exam/RichTextAnswer.d.ts +6 -1
  55. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  56. package/dist/components/exam/RichTextAnswer.js +14 -2
  57. package/dist/components/exam/RichTextAnswer.js.map +1 -1
  58. package/dist/components/exam/Section.js +2 -2
  59. package/dist/components/exam/Section.js.map +1 -1
  60. package/dist/components/exam/internal/ErrorIndicator.d.ts +1 -1
  61. package/dist/components/exam/internal/ErrorIndicator.d.ts.map +1 -1
  62. package/dist/components/exam/internal/ErrorIndicator.js +4 -4
  63. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  64. package/dist/components/exam/internal/ProgressBar.js +1 -1
  65. package/dist/components/exam/internal/ProgressBar.js.map +1 -1
  66. package/dist/components/exam/internal/TextAnswerInput.d.ts.map +1 -1
  67. package/dist/components/exam/internal/TextAnswerInput.js +42 -12
  68. package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
  69. package/dist/components/grading/AnswerCharacterCounter.d.ts +1 -1
  70. package/dist/components/grading/AnswerCharacterCounter.d.ts.map +1 -1
  71. package/dist/components/grading/AnswerCharacterCounter.js +3 -3
  72. package/dist/components/grading/AnswerCharacterCounter.js.map +1 -1
  73. package/dist/components/grading/GradingAnswer.js +9 -9
  74. package/dist/components/grading/GradingAnswer.js.map +1 -1
  75. package/dist/components/grading/GradingAnswerAnnotationList.d.ts +1 -1
  76. package/dist/components/grading/GradingAnswerAnnotationList.d.ts.map +1 -1
  77. package/dist/components/grading/GradingAnswerAnnotationList.js +2 -2
  78. package/dist/components/grading/GradingAnswerAnnotationList.js.map +1 -1
  79. package/dist/components/grading/editAnnotations.js +14 -14
  80. package/dist/components/grading/editAnnotations.js.map +1 -1
  81. package/dist/components/grading/largeImageDetector.js +2 -2
  82. package/dist/components/grading/largeImageDetector.js.map +1 -1
  83. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  84. package/dist/components/grading-instructions/GradingInstructions.js +7 -3
  85. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  86. package/dist/components/grading-instructions/Question.js +1 -1
  87. package/dist/components/grading-instructions/QuestionTitle.js +1 -1
  88. package/dist/components/results/ChoiceAnswer.js +7 -7
  89. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  90. package/dist/components/results/DropdownAnswer.js +5 -5
  91. package/dist/components/results/DropdownAnswer.js.map +1 -1
  92. package/dist/components/results/Question.js +3 -3
  93. package/dist/components/results/Question.js.map +1 -1
  94. package/dist/components/results/QuestionTitle.js +1 -1
  95. package/dist/components/results/Results.d.ts.map +1 -1
  96. package/dist/components/results/Results.js +5 -1
  97. package/dist/components/results/Results.js.map +1 -1
  98. package/dist/components/results/Section.js +1 -1
  99. package/dist/components/results/Section.js.map +1 -1
  100. package/dist/components/results/SingleLineAnswer.d.ts +1 -1
  101. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  102. package/dist/components/results/SingleLineAnswer.js +1 -1
  103. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  104. package/dist/components/results/internal/AnnotationList.js +2 -2
  105. package/dist/components/results/internal/AnnotationList.js.map +1 -1
  106. package/dist/components/results/internal/QuestionAutoScore.js +1 -1
  107. package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
  108. package/dist/components/results/internal/QuestionManualScore.js +3 -3
  109. package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -1
  110. package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
  111. package/dist/components/results/internal/QuestionScoresContainer.js +4 -4
  112. package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
  113. package/dist/components/shared/AnnotationLists.d.ts +1 -1
  114. package/dist/components/shared/AnnotationLists.d.ts.map +1 -1
  115. package/dist/components/shared/AnnotationLists.js +1 -1
  116. package/dist/components/shared/AnnotationLists.js.map +1 -1
  117. package/dist/components/shared/AnswerIndicator.js +1 -1
  118. package/dist/components/shared/AttachmentLink.js +1 -1
  119. package/dist/components/shared/AttachmentLink.js.map +1 -1
  120. package/dist/components/shared/AttachmentLinks.js +3 -3
  121. package/dist/components/shared/AttachmentLinks.js.map +1 -1
  122. package/dist/components/shared/ImageOverlay.js +3 -3
  123. package/dist/components/shared/ImageOverlay.js.map +1 -1
  124. package/dist/components/shared/Reference.js +1 -1
  125. package/dist/components/shared/References.js +1 -1
  126. package/dist/components/shared/References.js.map +1 -1
  127. package/dist/components/shared/Score.js +1 -1
  128. package/dist/components/shared/TableOfContents.js +15 -17
  129. package/dist/components/shared/TableOfContents.js.map +1 -1
  130. package/dist/components/shared/internal/ResponsiveMediaContainer.js +3 -3
  131. package/dist/components/shared/internal/ResponsiveMediaContainer.js.map +1 -1
  132. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts +1 -1
  133. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -1
  134. package/dist/components/shared/internal/RestrictedAudioPlayer.js +2 -2
  135. package/dist/components/shared/internal/RestrictedAudioPlayer.js.map +1 -1
  136. package/dist/dom-utils.js +1 -1
  137. package/dist/dom-utils.js.map +1 -1
  138. package/dist/fonts.js +1 -1
  139. package/dist/fonts.js.map +1 -1
  140. package/dist/i18n/A_E.js +2 -2
  141. package/dist/i18n/BA.js +1 -1
  142. package/dist/i18n/CA.js +1 -1
  143. package/dist/i18n/EA.js +2 -2
  144. package/dist/i18n/FA.js +2 -2
  145. package/dist/i18n/GC.js +2 -2
  146. package/dist/i18n/I.js +3 -3
  147. package/dist/i18n/M.js +1 -1
  148. package/dist/i18n/O_E.js +2 -2
  149. package/dist/i18n/PA.js +2 -2
  150. package/dist/i18n/SA.js +2 -2
  151. package/dist/i18n/TC.js +2 -2
  152. package/dist/i18n/VA.js +2 -2
  153. package/dist/i18n/Z.js +3 -3
  154. package/dist/i18n/fi-FI.d.ts +3 -0
  155. package/dist/i18n/fi-FI.d.ts.map +1 -1
  156. package/dist/i18n/fi-FI.js +17 -14
  157. package/dist/i18n/fi-FI.js.map +1 -1
  158. package/dist/i18n/index.d.ts +2 -137
  159. package/dist/i18n/index.d.ts.map +1 -1
  160. package/dist/i18n/index.js +8 -8
  161. package/dist/i18n/index.js.map +1 -1
  162. package/dist/i18n/sv-FI.d.ts.map +1 -1
  163. package/dist/i18n/sv-FI.js +18 -14
  164. package/dist/i18n/sv-FI.js.map +1 -1
  165. package/dist/main-bundle.js +1 -1
  166. package/dist/main-bundle.js.LICENSE.txt +0 -5
  167. package/dist/main.css +1 -1
  168. package/dist/parser/parseExam.js +5 -5
  169. package/dist/parser/parseExam.js.map +1 -1
  170. package/dist/parser/parseExamStructure.js +4 -4
  171. package/dist/renderAnnotations.js +8 -8
  172. package/dist/renderAnnotations.js.map +1 -1
  173. package/dist/store/answers/reducer.js +2 -2
  174. package/dist/store/audio/reducer.js +3 -3
  175. package/dist/store/audio/sagas.js +1 -1
  176. package/dist/store/audio/sagas.js.map +1 -1
  177. package/dist/store/cas/reducer.js +1 -1
  178. package/dist/store/cas/sagas.js +1 -1
  179. package/dist/store/countdown.js +1 -1
  180. package/dist/store/countdown.js.map +1 -1
  181. package/dist/store/index.js +4 -4
  182. package/dist/validateAnswers.js +8 -8
  183. package/dist/validateAnswers.js.map +1 -1
  184. package/package.json +18 -18
  185. package/dist/utils/exifDataAndImageHandler.d.ts +0 -2
  186. package/dist/utils/exifDataAndImageHandler.d.ts.map +0 -1
  187. package/dist/utils/exifDataAndImageHandler.js +0 -61
  188. package/dist/utils/exifDataAndImageHandler.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TableOfContents.js","sourceRoot":"","sources":["../../../src/components/shared/TableOfContents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAqC,MAAM,8BAA8B,CAAA;AACxG,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC5G,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAE/D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,W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YAED,4BAAI,SAAS,EAAC,wBAAwB,IAAE,gBAAgB,CAAC,IAAI,CAAC,CAAM;YACpE,6BAAK,SAAS,EAAC,WAAW;gBACxB,gCAAQ,SAAS,EAAC,kBAAkB,IAAE,CAAC,CAAC,YAAY,CAAC,CAAU;gBAC/D,gCAAQ,SAAS,EAAC,2DAA2D,IAC1E,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAC1B;gBACR,WAAW,IAAI,8BAAM,SAAS,EAAC,+CAA+C,GAAG,CAC9E,CACF,CACP,CAAA;IACH,CAAC,CAAA;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AACpC,CAAC,CAAA"}
@@ -6,14 +6,14 @@ const borderedPaddingAndBorderPx = 18;
6
6
  * finish loading, see https://www.perpetual-beta.org/weblog/responsive-images-without-browser-reflow.html for more
7
7
  * information.
8
8
  */
9
- const ResponsiveMediaContainer = ({ bordered = false, className, children, height, width, caption, captionId, }) => {
9
+ const ResponsiveMediaContainer = ({ bordered = false, className, children, height, width, caption, captionId }) => {
10
10
  const paddingBottom = `${(height / width) * 100}%`;
11
11
  const maxWidth = width + (bordered ? borderedPaddingAndBorderPx : 0);
12
12
  return (React.createElement("span", { className: classNames('responsive-media-container', { 'responsive-media-container--bordered': bordered }, className), style: {
13
- maxWidth,
13
+ maxWidth
14
14
  } },
15
15
  React.createElement("span", { className: "responsive-media-container__inner", style: {
16
- paddingBottom,
16
+ paddingBottom
17
17
  } }, children),
18
18
  caption && (React.createElement("span", { className: "e-block e-mrg-t-1 e-font-size-s e-light", id: captionId }, caption))));
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponsiveMediaContainer.js","sourceRoot":"","sources":["../../../../src/components/shared/internal/ResponsiveMediaContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAYrC;;;;GAIG;AACH,MAAM,wBAAwB,GAA2D,CAAC,EACxF,QAAQ,GAAG,KAAK,EAChB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,GAAG,CAAA;IAClD,MAAM,QAAQ,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAEpE,OAAO,CACL,8BACE,SAAS,EAAE,UAAU,CACnB,4BAA4B,EAC5B,EAAE,sCAAsC,EAAE,QAAQ,EAAE,EACpD,SAAS,CACV,EACD,KAAK,EAAE;YACL,QAAQ;SACT;QAED,8BACE,SAAS,EAAC,mCAAmC,EAC7C,KAAK,EAAE;gBACL,aAAa;aACd,IAEA,QAAQ,CACJ;QACN,OAAO,IAAI,CACV,8BAAM,SAAS,EAAC,yCAAyC,EAAC,EAAE,EAAE,SAAS,IACpE,OAAO,CACH,CACR,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,eAAe,wBAAwB,CAAA"}
1
+ {"version":3,"file":"ResponsiveMediaContainer.js","sourceRoot":"","sources":["../../../../src/components/shared/internal/ResponsiveMediaContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAYrC;;;;GAIG;AACH,MAAM,wBAAwB,GAA2D,CAAC,EACxF,QAAQ,GAAG,KAAK,EAChB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,KAAK,EACL,OAAO,EACP,SAAS,EACV,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,GAAG,CAAA;IAClD,MAAM,QAAQ,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAEpE,OAAO,CACL,8BACE,SAAS,EAAE,UAAU,CACnB,4BAA4B,EAC5B,EAAE,sCAAsC,EAAE,QAAQ,EAAE,EACpD,SAAS,CACV,EACD,KAAK,EAAE;YACL,QAAQ;SACT;QAED,8BACE,SAAS,EAAC,mCAAmC,EAC7C,KAAK,EAAE;gBACL,aAAa;aACd,IAEA,QAAQ,CACJ;QACN,OAAO,IAAI,CACV,8BAAM,SAAS,EAAC,yCAAyC,EAAC,EAAE,EAAE,SAAS,IACpE,OAAO,CACH,CACR,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RestrictedAudioId } from '../../../index';
3
- declare function RestrictedAudioPlayer({ src, restrictedAudioId, duration, times, labelId, }: {
3
+ declare function RestrictedAudioPlayer({ src, restrictedAudioId, duration, times, labelId }: {
4
4
  src: string;
5
5
  restrictedAudioId: RestrictedAudioId;
6
6
  duration: number;
@@ -1 +1 @@
1
- {"version":3,"file":"RestrictedAudioPlayer.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/internal/RestrictedAudioPlayer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAKlD,iBAAS,qBAAqB,CAAC,EAC7B,GAAG,EACH,iBAAiB,EACjB,QAAQ,EACR,KAAK,EACL,OAAO,GACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB,eAmCA;;AAED,wBAAgD"}
1
+ {"version":3,"file":"RestrictedAudioPlayer.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/internal/RestrictedAudioPlayer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAKlD,iBAAS,qBAAqB,CAAC,EAC7B,GAAG,EACH,iBAAiB,EACjB,QAAQ,EACR,KAAK,EACL,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB,eAmCA;;AAED,wBAAgD"}
@@ -6,7 +6,7 @@ import { useDispatch, useSelector } from 'react-redux';
6
6
  import { useExamTranslation } from '../../../i18n';
7
7
  import { playAudio } from '../../../store/audio/actions';
8
8
  import { getAudioState, getDurationRemaining, getPlaybackTimesRemaining } from '../../../store/selectors';
9
- function RestrictedAudioPlayer({ src, restrictedAudioId, duration, times, labelId, }) {
9
+ function RestrictedAudioPlayer({ src, restrictedAudioId, duration, times, labelId }) {
10
10
  const audioState = useSelector(getAudioState(src, restrictedAudioId));
11
11
  const durationRemaining = useSelector(getDurationRemaining(src, restrictedAudioId));
12
12
  const playbackTimesRemaining = useSelector(getPlaybackTimesRemaining(restrictedAudioId, times));
@@ -19,7 +19,7 @@ function RestrictedAudioPlayer({ src, restrictedAudioId, duration, times, labelI
19
19
  const labels = playing ? [] : [remainingLabelId, labelId];
20
20
  return (React.createElement("div", { className: classNames('restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1', { 'restricted-audio-player--disabled': disabled }), lang: i18n.language },
21
21
  React.createElement("button", { className: classNames('restricted-audio-player__play e-column e-column--narrow', {
22
- 'restricted-audio-player__play--playing': playing,
22
+ 'restricted-audio-player__play--playing': playing
23
23
  }), disabled: disabled, onClick: () => stopped && dispatch(playAudio({ src, restrictedAudioId, duration })), "aria-labelledby": labels.join(' ') }, !playing && React.createElement(FontAwesomeIcon, { icon: faPlay, fixedWidth: true })),
24
24
  React.createElement("span", { className: "restricted-audio-player__duration e-column e-text-right", id: remainingLabelId }, formatDuration(durationRemaining !== null && durationRemaining !== void 0 ? durationRemaining : duration))));
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RestrictedAudioPlayer.js","sourceRoot":"","sources":["../../../../src/components/shared/internal/RestrictedAudioPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAEzG,SAAS,qBAAqB,CAAC,EAC7B,GAAG,EACH,iBAAiB,EACjB,QAAQ,EACR,KAAK,EACL,OAAO,GAOR;IACC,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAA;IACrE,MAAM,iBAAiB,GAAG,WAAW,CAAC,oBAAoB,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAA;IACnF,MAAM,sBAAsB,GAAG,WAAW,CAAC,yBAAyB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAA;IAC/F,MAAM,EAAE,IAAI,EAAE,GAAG,kBAAkB,EAAE,CAAA;IACrC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAA;IAC9B,MAAM,OAAO,GAAG,UAA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O,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,EAAE,CAAA;AAC9D,CAAC;AAED,SAAS,aAAa,CAAC,GAAW;IAChC,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;AACxC,CAAC"}
package/dist/dom-utils.js CHANGED
@@ -106,7 +106,7 @@ export function findChildrenAnswers(element) {
106
106
  export function createElement(tagName, properties, ...children) {
107
107
  const element = document.createElement(tagName);
108
108
  setProperties(element, properties);
109
- children.forEach((c) => element.appendChild(typeof c === 'string' ? new Text(c) : c));
109
+ children.forEach(c => element.appendChild(typeof c === 'string' ? new Text(c) : c));
110
110
  return element;
111
111
  }
112
112
  export function setProperties(element, properties) {
@@ -1 +1 @@
1
- {"version":3,"file":"dom-utils.js","sourceRoot":"","sources":["../src/dom-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAA;AAE5B,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAmB;IAClE,MAAM,SAAS,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IACtE,MAAM,MAAM,GAAG,EAAE,CAAA;IACjB,OAAO,OAAO,CAAC,aAAa,IAAI,IAAI,EAAE;QACpC,OAAO,GAAG,OAAO,CAAC,aAAa,CAAA;QAC/B,IAAI,SAAS,IAAI,IAAI,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE;YAC3C,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;SACrB;KACF;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAID,SAAS,WAAW,CAAC,QAAkB;IACrC,OAAO,OAAO,QAAQ,KAAK,UAAU;QACnC,CAAC,CA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C;AAED,MAAM,UAAU,aAAa,CAAC,OAAoB,EAAE,UAA0C;IAC5F,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAC7B,IAAI,CAAC,KAAK,KAAK,EAAE;YACf,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAA;SAC1B;aAAM,IAAI,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;YAChC,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAC3B;aAAM;YACL,sEAAsE;YACtE,CAAC;YAAC,OAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;SACzB;IACH,CAAC,CAAC,CAAA;AACJ,CAAC"}
package/dist/fonts.js CHANGED
@@ -4,7 +4,7 @@ import * as _ from 'lodash-es';
4
4
  export const ready = Promise.all([
5
5
  new FontFaceObserver('Noto Sans', { weight: 300 }).load(),
6
6
  new FontFaceObserver('Noto Sans', { weight: 400 }).load(),
7
- new FontFaceObserver('Noto Sans', { weight: 600 }).load(), // Semibold
7
+ new FontFaceObserver('Noto Sans', { weight: 600 }).load() // Semibold
8
8
  ])
9
9
  // eslint-disable-next-line promise/always-return
10
10
  .then(() => {
package/dist/fonts.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../src/fonts.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,gFAAgF;AAChF,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAC/B,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE;IACzD,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE;IACzD,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,WAAW;CACvE,CAAC;IACA,iDAAiD;KAChD,IAAI,CAAC,GAAG,EAAE;IACT,MAAM,GAAG,IAAI,CAAA;AACf,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;AAEhB,qEAAqE;AACrE,MAAM,CAAC,IAAI,MAAM,GAAG,KAAK,CAAA"}
1
+ {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../src/fonts.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAE9B,gFAAgF;AAChF,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAC/B,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE;IACzD,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE;IACzD,IAAI,gBAAgB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW;CACtE,CAAC;IACA,iDAAiD;KAChD,IAAI,CAAC,GAAG,EAAE;IACT,MAAM,GAAG,IAAI,CAAA;AACf,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;AAEhB,qEAAqE;AACrE,MAAM,CAAC,IAAI,MAAM,GAAG,KAAK,CAAA"}
package/dist/i18n/A_E.js CHANGED
@@ -2,7 +2,7 @@ export const A_E = {
2
2
  'external-material-title': 'Aineistot',
3
3
  'answering-instructions': {
4
4
  'toc-section_*_1_1': 'Valitse yksi aihe.',
5
- 'section_*_1_1': 'Valitse yksi aihe.',
6
- },
5
+ 'section_*_1_1': 'Valitse yksi aihe.'
6
+ }
7
7
  };
8
8
  //# sourceMappingURL=A_E.js.map
package/dist/i18n/BA.js CHANGED
@@ -6,6 +6,6 @@ export const BA = _.pick(sv_FI, [
6
6
  'external-material-title',
7
7
  'section',
8
8
  'references',
9
- 'toc-heading',
9
+ 'toc-heading'
10
10
  ]);
11
11
  //# sourceMappingURL=BA.js.map
package/dist/i18n/CA.js CHANGED
@@ -6,6 +6,6 @@ export const CA = _.pick(fi_FI, [
6
6
  'external-material-title',
7
7
  'section',
8
8
  'references',
9
- 'toc-heading',
9
+ 'toc-heading'
10
10
  ]);
11
11
  //# sourceMappingURL=CA.js.map
package/dist/i18n/EA.js CHANGED
@@ -9,8 +9,8 @@ export const EA = {
9
9
  date: 'Published:',
10
10
  'reference-date': 'Accessed:',
11
11
  translator: 'Translation:',
12
- 'modified-by': 'Adaptation:',
12
+ 'modified-by': 'Adaptation:'
13
13
  },
14
- 'toc-heading': 'Contents',
14
+ 'toc-heading': 'Contents'
15
15
  };
16
16
  //# sourceMappingURL=EA.js.map
package/dist/i18n/FA.js CHANGED
@@ -10,8 +10,8 @@ export const FA = {
10
10
  date: 'Publication le',
11
11
  'reference-date': 'Téléchargement le',
12
12
  translator: 'Traduction\u00A0:',
13
- 'modified-by': 'Modifications\u00A0:',
13
+ 'modified-by': 'Modifications\u00A0:'
14
14
  },
15
- 'toc-heading': 'Sommaire',
15
+ 'toc-heading': 'Sommaire'
16
16
  };
17
17
  //# sourceMappingURL=FA.js.map
package/dist/i18n/GC.js CHANGED
@@ -9,8 +9,8 @@ export const GC = {
9
9
  date: 'Publicado:',
10
10
  'reference-date': 'Acedido:',
11
11
  translator: 'Tradução:',
12
- 'modified-by': 'Adaptação:',
12
+ 'modified-by': 'Adaptação:'
13
13
  },
14
- 'toc-heading': 'Conteúdo',
14
+ 'toc-heading': 'Conteúdo'
15
15
  };
16
16
  //# sourceMappingURL=GC.js.map
package/dist/i18n/I.js CHANGED
@@ -10,12 +10,12 @@ export const I = {
10
10
  date: 'Almostittum:',
11
11
  'reference-date': 'Čujottum:',
12
12
  translator: 'Jurgâlus:',
13
- 'modified-by': 'Heiviittâs:',
13
+ 'modified-by': 'Heiviittâs:'
14
14
  },
15
15
  'answering-instructions': {
16
16
  'toc-section_*_1_1': 'Fáádáh',
17
- 'section_*_1_1': 'Valjii oovtâ fáádá.',
17
+ 'section_*_1_1': 'Valjii oovtâ fáádá.'
18
18
  },
19
- 'toc-heading': 'Siskáldâs',
19
+ 'toc-heading': 'Siskáldâs'
20
20
  };
21
21
  //# sourceMappingURL=I.js.map
package/dist/i18n/M.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export const M = {
2
- section: '',
2
+ section: ''
3
3
  };
4
4
  //# sourceMappingURL=M.js.map
package/dist/i18n/O_E.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const O_E = {
2
2
  'answering-instructions': {
3
3
  'toc-section_*_1_1': 'Välj ett ämne.',
4
- 'section_*_1_1': 'Välj ett ämne.',
5
- },
4
+ 'section_*_1_1': 'Välj ett ämne.'
5
+ }
6
6
  };
7
7
  //# sourceMappingURL=O_E.js.map
package/dist/i18n/PA.js CHANGED
@@ -9,8 +9,8 @@ export const PA = {
9
9
  date: 'Publicado:',
10
10
  'reference-date': 'Consultado:',
11
11
  translator: 'Traducción:',
12
- 'modified-by': 'Adaptado:',
12
+ 'modified-by': 'Adaptado:'
13
13
  },
14
- 'toc-heading': 'Contenido',
14
+ 'toc-heading': 'Contenido'
15
15
  };
16
16
  //# sourceMappingURL=PA.js.map
package/dist/i18n/SA.js CHANGED
@@ -9,8 +9,8 @@ export const SA = {
9
9
  date: 'Veröffentlicht:',
10
10
  'reference-date': 'Zugriff:',
11
11
  translator: 'Übersetzung:',
12
- 'modified-by': 'Bearbeitung:',
12
+ 'modified-by': 'Bearbeitung:'
13
13
  },
14
- 'toc-heading': 'Inhalt',
14
+ 'toc-heading': 'Inhalt'
15
15
  };
16
16
  //# sourceMappingURL=SA.js.map
package/dist/i18n/TC.js CHANGED
@@ -9,8 +9,8 @@ export const TC = {
9
9
  date: 'Pubblicato:',
10
10
  'reference-date': 'Consultato:',
11
11
  translator: 'Traduzione:',
12
- 'modified-by': 'Adattamento:',
12
+ 'modified-by': 'Adattamento:'
13
13
  },
14
- 'toc-heading': 'Contenuto',
14
+ 'toc-heading': 'Contenuto'
15
15
  };
16
16
  //# sourceMappingURL=TC.js.map
package/dist/i18n/VA.js CHANGED
@@ -9,8 +9,8 @@ export const VA = {
9
9
  date: 'Опубликовано',
10
10
  'reference-date': 'Дата обращения',
11
11
  translator: 'Перевод',
12
- 'modified-by': 'Адаптировано',
12
+ 'modified-by': 'Адаптировано'
13
13
  },
14
- 'toc-heading': 'Содержание',
14
+ 'toc-heading': 'Содержание'
15
15
  };
16
16
  //# sourceMappingURL=VA.js.map
package/dist/i18n/Z.js CHANGED
@@ -11,12 +11,12 @@ export const Z = {
11
11
  date: 'Almmuhuvvon:',
12
12
  'reference-date': 'Vižžojuvvon:',
13
13
  translator: 'Jorgalus',
14
- 'modified-by': 'Heivehus:',
14
+ 'modified-by': 'Heivehus:'
15
15
  },
16
16
  'answering-instructions': {
17
17
  'toc-section_*_1_1': 'Fáttát',
18
- 'section_*_1_1': 'Vállje ovtta fáttá.',
18
+ 'section_*_1_1': 'Vállje ovtta fáttá.'
19
19
  },
20
- 'toc-heading': 'Sisdoallu',
20
+ 'toc-heading': 'Sisdoallu'
21
21
  };
22
22
  //# sourceMappingURL=Z.js.map
@@ -69,6 +69,9 @@ export declare const fi_FI: {
69
69
  'toc-heading': string;
70
70
  'answer-saved': string;
71
71
  'too-many-answers': string;
72
+ 'max-answers-warning': string;
73
+ 'open-writing-mode': string;
74
+ 'close-writing-mode': string;
72
75
  'listen-times-remaining': string;
73
76
  'listen-times-remaining_plural': string;
74
77
  'answer-length': string;
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAAA,O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,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CACrH,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,OAAO,KAAK,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA;AAExD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2EhB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEJ,CAAA"}
@@ -15,16 +15,16 @@ export const fi_FI = {
15
15
  'audio-errors': {
16
16
  'already-accessed': 'Olet jo toistanut tämän äänitteen. Päivitä sivu.',
17
17
  'already-playing': 'Kuuntele äänite ensin loppuun.',
18
- 'other-error': 'Äänitteen toistaminen epäonnistui, pyydä apua valvojalta.',
18
+ 'other-error': 'Äänitteen toistaminen epäonnistui, pyydä apua valvojalta.'
19
19
  },
20
20
  'audio-test': {
21
21
  instructions: 'Koe sisältää kuullunymmärtämisen tehtäviä.',
22
22
  play: 'Testaa äänitteiden kuuluvuus',
23
- volume: 'Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta.',
23
+ volume: 'Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta.'
24
24
  },
25
25
  'dropdown-answer': {
26
26
  label: 'Valitse parhaiten sopiva vaihtoehto.',
27
- clear: 'Poista valinta.',
27
+ clear: 'Poista valinta.'
28
28
  },
29
29
  grading: {
30
30
  'pregrading-annotations': 'Alustavan arvostelun merkinnät (opettaja)',
@@ -34,7 +34,7 @@ export const fi_FI = {
34
34
  'round.1': '1.s',
35
35
  'round.2': '2.s',
36
36
  'round.3': '3.s',
37
- annotate: 'Merkitse',
37
+ annotate: 'Merkitse'
38
38
  },
39
39
  references: {
40
40
  heading: 'Lähteet',
@@ -42,24 +42,27 @@ export const fi_FI = {
42
42
  date: 'Julkaistu:',
43
43
  'reference-date': 'Viitattu:',
44
44
  translator: 'Käännös:',
45
- 'modified-by': 'Muokkaus:',
45
+ 'modified-by': 'Muokkaus:'
46
46
  },
47
47
  cas: {
48
48
  forbidden: {
49
49
  infoText: 'Saat estetyt laskinohjelmat käyttöön palautettuasi A-osan.',
50
- buttonText: 'Palauta A-osa',
50
+ buttonText: 'Palauta A-osa'
51
51
  },
52
52
  allowing: {
53
53
  infoText: 'A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.',
54
- cancel: 'Peruuta ({{count}} s)',
54
+ cancel: 'Peruuta ({{count}} s)'
55
55
  },
56
56
  allowed: {
57
- infoText: 'A-osa palautettu',
58
- },
57
+ infoText: 'A-osa palautettu'
58
+ }
59
59
  },
60
60
  'toc-heading': 'Sisällys',
61
61
  'answer-saved': 'Tallennettu',
62
- 'too-many-answers': 'Vastattu liiaan moneen tehtävään:',
62
+ 'too-many-answers': 'Vastattu liian moneen tehtävään:',
63
+ 'max-answers-warning': 'Vastaa enintään {{count}} tehtävään.',
64
+ 'open-writing-mode': 'Avaa kirjoitusnäkymä',
65
+ 'close-writing-mode': 'Pienennä näkymä',
63
66
  'listen-times-remaining': '{{count}} kuuntelukerta jäljellä.',
64
67
  'listen-times-remaining_plural': '{{count}} kuuntelukertaa jäljellä.',
65
68
  'answer-length': 'Vastauksen pituus: {{count}} merkki.',
@@ -123,18 +126,18 @@ export const fi_FI = {
123
126
  'toc-section_*_10_10': 'Vastaa kymmeneen tehtävään.',
124
127
  'toc-section_1_*_1': 'Vastaa tehtävään {{questions, range}}.',
125
128
  'toc-section_2_*_1': 'Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.',
126
- 'toc-section_*_*_*': 'Vastaa {{answerCount, range}} tehtävään.',
129
+ 'toc-section_*_*_*': 'Vastaa {{answerCount, range}} tehtävään.'
127
130
  },
128
131
  'answer-errors': {
129
132
  'screenshot-too-big': 'Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.',
130
133
  'screenshot-byte-limit-reached': 'Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)',
131
134
  'screenshot-upload-failed': 'Kuvan liittäminen ei onnistunut. Kokeile uudestaan.',
132
- 'answer-too-long': 'Vastaus on liian pitkä.',
135
+ 'answer-too-long': 'Vastaus on liian pitkä.'
133
136
  },
134
137
  'screen-reader': {
135
138
  'answer-begin': '[Vastaus alkaa]',
136
139
  'answer-end': '[Vastaus päättyy]',
137
- 'correct-answer': '[Hyväksytty vastaus]',
138
- },
140
+ 'correct-answer': '[Hyväksytty vastaus]'
141
+ }
139
142
  };
140
143
  //# sourceMappingURL=fi-FI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.js","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,UAAU;IAC3B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,WAAW;IAC5B,wBAAwB,EAAE,WAAW;IACrC,yBAAyB,EAAE,UAAU;IACrC,iCAAiC,EAAE,4BAA4B;IAC/D,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,4BAA4B;IACtC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,cAAc;IACtB,SAAS,EAAE,UAAU;IACrB,cAAc,EAAE;QACd,kBAAkB,EAAE,kDAAkD;QACtE,iBAAiB,EAAE,gCAAgC;QACnD,aAAa,EAAE,2DAA2D;KAC3E;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,4CAA4C;QAC1D,IAAI,EAAE,8BAA8B;QACpC,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;KAC7C;IACD,eAAe,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,sBAAsB;KACzC;CACF,CAAA"}
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import i18n, { TOptions } from 'i18next';
3
- import { TFunction } from 'react-i18next';
2
+ import i18n, { TOptions, TFunction } from 'i18next';
4
3
  import { fi_FI } from './fi-FI';
5
4
  declare module 'react-i18next' {
6
5
  type ExamEngineI18nResources = {
@@ -13,141 +12,7 @@ export declare function initI18n(language: string, examCode?: string, dayCode?:
13
12
  export declare function useExamTranslation(): {
14
13
  i18n: import("i18next").i18n;
15
14
  t: {
16
- <TKeys extends import("react-i18next").Normalize<{
17
- 'exam-total': string;
18
- 'grading-total': string;
19
- material: string;
20
- material_plural: string;
21
- 'attachments-page-title': string;
22
- 'external-material-title': string;
23
- 'grading-instructions-page-title': string;
24
- section: string;
25
- question: string;
26
- grade: string;
27
- comment: string;
28
- points: string;
29
- recording: string;
30
- 'audio-errors': {
31
- 'already-accessed': string;
32
- 'already-playing': string;
33
- 'other-error': string;
34
- };
35
- 'audio-test': {
36
- instructions: string;
37
- play: string;
38
- volume: string;
39
- };
40
- 'dropdown-answer': {
41
- label: string;
42
- clear: string;
43
- };
44
- grading: {
45
- 'pregrading-annotations': string;
46
- 'censor-annotations': string;
47
- 'pregrading-abbrev': string;
48
- 'inspection-grading-abbrev': string;
49
- 'round.1': string;
50
- 'round.2': string;
51
- 'round.3': string;
52
- annotate: string;
53
- };
54
- references: {
55
- heading: string;
56
- source: string;
57
- date: string;
58
- 'reference-date': string;
59
- translator: string;
60
- 'modified-by': string;
61
- };
62
- cas: {
63
- forbidden: {
64
- infoText: string;
65
- buttonText: string;
66
- };
67
- allowing: {
68
- infoText: string;
69
- cancel: string;
70
- };
71
- allowed: {
72
- infoText: string;
73
- };
74
- };
75
- 'toc-heading': string;
76
- 'answer-saved': string;
77
- 'too-many-answers': string;
78
- 'listen-times-remaining': string;
79
- 'listen-times-remaining_plural': string;
80
- 'answer-length': string;
81
- 'answer-length_plural': string;
82
- 'answer-length-with-max-length': string;
83
- 'max-length-surplus': string;
84
- 'max-length-info': string;
85
- 'previous-answer-versions': string;
86
- 'zoom-in': string;
87
- 'end-of-exam': string;
88
- 'answering-instructions': {
89
- 'exam_*_1_1': string;
90
- 'exam_*_2_2': string;
91
- 'exam_*_3_3': string;
92
- 'exam_*_4_4': string;
93
- 'exam_*_5_5': string;
94
- 'exam_*_6_6': string;
95
- 'exam_*_7_7': string;
96
- 'exam_*_8_8': string;
97
- 'exam_*_9_9': string;
98
- 'exam_*_10_10': string;
99
- 'exam_*_*_*': string;
100
- 'question_*_1_1': string;
101
- 'question_*_2_2': string;
102
- 'question_*_3_3': string;
103
- 'question_*_4_4': string;
104
- 'question_*_5_5': string;
105
- 'question_*_6_6': string;
106
- 'question_*_7_7': string;
107
- 'question_*_8_8': string;
108
- 'question_*_9_9': string;
109
- 'question_*_10_10': string;
110
- 'question_2_*_1': string;
111
- 'question_*_*_*': string;
112
- 'section_*_1_1': string;
113
- 'section_*_2_2': string;
114
- 'section_*_3_3': string;
115
- 'section_*_4_4': string;
116
- 'section_*_5_5': string;
117
- 'section_*_6_6': string;
118
- 'section_*_7_7': string;
119
- 'section_*_8_8': string;
120
- 'section_*_9_9': string;
121
- 'section_*_10_10': string;
122
- 'section_1_*_1': string;
123
- 'section_2_*_1': string;
124
- 'section_*_*_*': string;
125
- 'toc-section_*_1_1': string;
126
- 'toc-section_*_2_2': string;
127
- 'toc-section_*_3_3': string;
128
- 'toc-section_*_4_4': string;
129
- 'toc-section_*_5_5': string;
130
- 'toc-section_*_6_6': string;
131
- 'toc-section_*_7_7': string;
132
- 'toc-section_*_8_8': string;
133
- 'toc-section_*_9_9': string;
134
- 'toc-section_*_10_10': string;
135
- 'toc-section_1_*_1': string;
136
- 'toc-section_2_*_1': string;
137
- 'toc-section_*_*_*': string;
138
- };
139
- 'answer-errors': {
140
- 'screenshot-too-big': string;
141
- 'screenshot-byte-limit-reached': string;
142
- 'screenshot-upload-failed': string;
143
- 'answer-too-long': string;
144
- };
145
- 'screen-reader': {
146
- 'answer-begin': string;
147
- 'answer-end': string;
148
- 'correct-answer': string;
149
- };
150
- }>>(key: TKeys | TKeys[], options?: TOptions): string | JSX.Element;
15
+ (key: string | string[], options?: TOptions): string | JSX.Element;
151
16
  raw: TFunction;
152
17
  };
153
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,EAAE,EAAsC,QAAQ,EAAE,MAAM,SAAS,CAAA;AAI5E,OAAO,EAAY,SAAS,EAAkB,MAAM,eAAe,CAAA;AAMnE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAgD/B,OAAO,QAAQ,eAAe,CAAC;IAC7B,KAAK,uBAAuB,GAAG;QAAE,WAAW,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAG5D,UAAU,SAAU,SAAQ,uBAAuB;KAAG;CACvD;AAED,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,IAAI,CAwC3F;AAED,wBAAgB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAG2B,QAAQ,GAAG,MAAM,GAAG,WAAW;aACnF,SAAS;;EAKjB;AAwCD,eAAO,MAAM,cAAc,UAAW,WAAW,YAAY,MAAM,WAAS,IAI3E,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":";AAAA,O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