@tinyweb_dev/oe-exam-sdk 0.1.0

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 (2020) hide show
  1. package/README.md +254 -0
  2. package/dist/api/exam-create.d.ts +18 -0
  3. package/dist/api/exam-create.d.ts.map +1 -0
  4. package/dist/api/exam-create.js +180 -0
  5. package/dist/api/exam-create.js.map +1 -0
  6. package/dist/api/exam-create.types.d.ts +149 -0
  7. package/dist/api/exam-create.types.d.ts.map +1 -0
  8. package/dist/api/exam-create.types.js +2 -0
  9. package/dist/api/exam-create.types.js.map +1 -0
  10. package/dist/api/exam-questions.d.ts +10 -0
  11. package/dist/api/exam-questions.d.ts.map +1 -0
  12. package/dist/api/exam-questions.js +99 -0
  13. package/dist/api/exam-questions.js.map +1 -0
  14. package/dist/api/exam-questions.types.d.ts +63 -0
  15. package/dist/api/exam-questions.types.d.ts.map +1 -0
  16. package/dist/api/exam-questions.types.js +2 -0
  17. package/dist/api/exam-questions.types.js.map +1 -0
  18. package/dist/api/exam-taking.d.ts +8 -0
  19. package/dist/api/exam-taking.d.ts.map +1 -0
  20. package/dist/api/exam-taking.js +74 -0
  21. package/dist/api/exam-taking.js.map +1 -0
  22. package/dist/api/exam-taking.types.d.ts +148 -0
  23. package/dist/api/exam-taking.types.d.ts.map +1 -0
  24. package/dist/api/exam-taking.types.js +2 -0
  25. package/dist/api/exam-taking.types.js.map +1 -0
  26. package/dist/api/index.d.ts +8 -0
  27. package/dist/api/index.d.ts.map +1 -0
  28. package/dist/api/index.js +7 -0
  29. package/dist/api/index.js.map +1 -0
  30. package/dist/api/result-review.d.ts +8 -0
  31. package/dist/api/result-review.d.ts.map +1 -0
  32. package/dist/api/result-review.js +51 -0
  33. package/dist/api/result-review.js.map +1 -0
  34. package/dist/api/result-review.types.d.ts +86 -0
  35. package/dist/api/result-review.types.d.ts.map +1 -0
  36. package/dist/api/result-review.types.js +2 -0
  37. package/dist/api/result-review.types.js.map +1 -0
  38. package/dist/components/CueCardEditor.d.ts +8 -0
  39. package/dist/components/CueCardEditor.d.ts.map +1 -0
  40. package/dist/components/CueCardEditor.js +59 -0
  41. package/dist/components/CueCardEditor.js.map +1 -0
  42. package/dist/components/common/ResolvedImage.d.ts +9 -0
  43. package/dist/components/common/ResolvedImage.d.ts.map +1 -0
  44. package/dist/components/common/ResolvedImage.js +16 -0
  45. package/dist/components/common/ResolvedImage.js.map +1 -0
  46. package/dist/components/exams/CreateExamInfoForm.d.ts +9 -0
  47. package/dist/components/exams/CreateExamInfoForm.d.ts.map +1 -0
  48. package/dist/components/exams/CreateExamInfoForm.js +36 -0
  49. package/dist/components/exams/CreateExamInfoForm.js.map +1 -0
  50. package/dist/components/exams/CreateExamPageContainer.d.ts +10 -0
  51. package/dist/components/exams/CreateExamPageContainer.d.ts.map +1 -0
  52. package/dist/components/exams/CreateExamPageContainer.js +104 -0
  53. package/dist/components/exams/CreateExamPageContainer.js.map +1 -0
  54. package/dist/components/exams/ExamCreator.d.ts +17 -0
  55. package/dist/components/exams/ExamCreator.d.ts.map +1 -0
  56. package/dist/components/exams/ExamCreator.js +90 -0
  57. package/dist/components/exams/ExamCreator.js.map +1 -0
  58. package/dist/components/exams/ExamPartTabs.d.ts +10 -0
  59. package/dist/components/exams/ExamPartTabs.d.ts.map +1 -0
  60. package/dist/components/exams/ExamPartTabs.js +41 -0
  61. package/dist/components/exams/ExamPartTabs.js.map +1 -0
  62. package/dist/components/exams/ExamQuestionGrid.d.ts +10 -0
  63. package/dist/components/exams/ExamQuestionGrid.d.ts.map +1 -0
  64. package/dist/components/exams/ExamQuestionGrid.js +19 -0
  65. package/dist/components/exams/ExamQuestionGrid.js.map +1 -0
  66. package/dist/components/exams/ExamQuestionsPageContainer.d.ts +11 -0
  67. package/dist/components/exams/ExamQuestionsPageContainer.d.ts.map +1 -0
  68. package/dist/components/exams/ExamQuestionsPageContainer.js +91 -0
  69. package/dist/components/exams/ExamQuestionsPageContainer.js.map +1 -0
  70. package/dist/components/exams/PartAudioUploader.d.ts +10 -0
  71. package/dist/components/exams/PartAudioUploader.d.ts.map +1 -0
  72. package/dist/components/exams/PartAudioUploader.js +10 -0
  73. package/dist/components/exams/PartAudioUploader.js.map +1 -0
  74. package/dist/components/exams/TemplateSelector.d.ts +9 -0
  75. package/dist/components/exams/TemplateSelector.d.ts.map +1 -0
  76. package/dist/components/exams/TemplateSelector.js +67 -0
  77. package/dist/components/exams/TemplateSelector.js.map +1 -0
  78. package/dist/components/exams/api.d.ts +6 -0
  79. package/dist/components/exams/api.d.ts.map +1 -0
  80. package/dist/components/exams/api.js +4 -0
  81. package/dist/components/exams/api.js.map +1 -0
  82. package/dist/components/exams/create-exam.validation.d.ts +11 -0
  83. package/dist/components/exams/create-exam.validation.d.ts.map +1 -0
  84. package/dist/components/exams/create-exam.validation.js +19 -0
  85. package/dist/components/exams/create-exam.validation.js.map +1 -0
  86. package/dist/components/exams/exam-template.utils.d.ts +59 -0
  87. package/dist/components/exams/exam-template.utils.d.ts.map +1 -0
  88. package/dist/components/exams/exam-template.utils.js +19 -0
  89. package/dist/components/exams/exam-template.utils.js.map +1 -0
  90. package/dist/components/exams/index.d.ts +18 -0
  91. package/dist/components/exams/index.d.ts.map +1 -0
  92. package/dist/components/exams/index.js +11 -0
  93. package/dist/components/exams/index.js.map +1 -0
  94. package/dist/components/exams/take/ExamTakingPageContainer.d.ts +10 -0
  95. package/dist/components/exams/take/ExamTakingPageContainer.d.ts.map +1 -0
  96. package/dist/components/exams/take/ExamTakingPageContainer.js +154 -0
  97. package/dist/components/exams/take/ExamTakingPageContainer.js.map +1 -0
  98. package/dist/components/exams/take/GenericQuestionRenderer.d.ts +8 -0
  99. package/dist/components/exams/take/GenericQuestionRenderer.d.ts.map +1 -0
  100. package/dist/components/exams/take/GenericQuestionRenderer.js +15 -0
  101. package/dist/components/exams/take/GenericQuestionRenderer.js.map +1 -0
  102. package/dist/components/exams/take/exam-taking.utils.d.ts +116 -0
  103. package/dist/components/exams/take/exam-taking.utils.d.ts.map +1 -0
  104. package/dist/components/exams/take/exam-taking.utils.js +89 -0
  105. package/dist/components/exams/take/exam-taking.utils.js.map +1 -0
  106. package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts +9 -0
  107. package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts.map +1 -0
  108. package/dist/components/exams/take/hooks/useSpeakingRecorder.js +25 -0
  109. package/dist/components/exams/take/hooks/useSpeakingRecorder.js.map +1 -0
  110. package/dist/components/exams/take/index.d.ts +7 -0
  111. package/dist/components/exams/take/index.d.ts.map +1 -0
  112. package/dist/components/exams/take/index.js +3 -0
  113. package/dist/components/exams/take/index.js.map +1 -0
  114. package/dist/components/exams/take/types.d.ts +2 -0
  115. package/dist/components/exams/take/types.d.ts.map +1 -0
  116. package/dist/components/exams/take/types.js +2 -0
  117. package/dist/components/exams/take/types.js.map +1 -0
  118. package/dist/components/index.d.ts +43 -0
  119. package/dist/components/index.d.ts.map +1 -0
  120. package/dist/components/index.js +43 -0
  121. package/dist/components/index.js.map +1 -0
  122. package/dist/components/questions/_shared/config/question-types.config.d.ts +10 -0
  123. package/dist/components/questions/_shared/config/question-types.config.d.ts.map +1 -0
  124. package/dist/components/questions/_shared/config/question-types.config.js +334 -0
  125. package/dist/components/questions/_shared/config/question-types.config.js.map +1 -0
  126. package/dist/components/questions/_shared/constants/color-palette.d.ts +7 -0
  127. package/dist/components/questions/_shared/constants/color-palette.d.ts.map +1 -0
  128. package/dist/components/questions/_shared/constants/color-palette.js +22 -0
  129. package/dist/components/questions/_shared/constants/color-palette.js.map +1 -0
  130. package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts +25 -0
  131. package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts.map +1 -0
  132. package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js +106 -0
  133. package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js.map +1 -0
  134. package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts +57 -0
  135. package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts.map +1 -0
  136. package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js +223 -0
  137. package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js.map +1 -0
  138. package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts +12 -0
  139. package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts.map +1 -0
  140. package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js +141 -0
  141. package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js.map +1 -0
  142. package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts +20 -0
  143. package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts.map +1 -0
  144. package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js +124 -0
  145. package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js.map +1 -0
  146. package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts +35 -0
  147. package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts.map +1 -0
  148. package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js +51 -0
  149. package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js.map +1 -0
  150. package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts +90 -0
  151. package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts.map +1 -0
  152. package/dist/components/questions/_shared/hooks/useQuestionFormState.js +55 -0
  153. package/dist/components/questions/_shared/hooks/useQuestionFormState.js.map +1 -0
  154. package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts +13 -0
  155. package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts.map +1 -0
  156. package/dist/components/questions/_shared/hooks/useQuestionInitialization.js +124 -0
  157. package/dist/components/questions/_shared/hooks/useQuestionInitialization.js.map +1 -0
  158. package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts +20 -0
  159. package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts.map +1 -0
  160. package/dist/components/questions/_shared/hooks/useQuestionListGroup.js +122 -0
  161. package/dist/components/questions/_shared/hooks/useQuestionListGroup.js.map +1 -0
  162. package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts +13 -0
  163. package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts.map +1 -0
  164. package/dist/components/questions/_shared/hooks/useQuestionOnChange.js +71 -0
  165. package/dist/components/questions/_shared/hooks/useQuestionOnChange.js.map +1 -0
  166. package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts +51 -0
  167. package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts.map +1 -0
  168. package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js +195 -0
  169. package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js.map +1 -0
  170. package/dist/components/questions/_shared/index.d.ts +8 -0
  171. package/dist/components/questions/_shared/index.d.ts.map +1 -0
  172. package/dist/components/questions/_shared/index.js +8 -0
  173. package/dist/components/questions/_shared/index.js.map +1 -0
  174. package/dist/components/questions/_shared/types/answer-the-question.type.d.ts +59 -0
  175. package/dist/components/questions/_shared/types/answer-the-question.type.d.ts.map +1 -0
  176. package/dist/components/questions/_shared/types/answer-the-question.type.js +2 -0
  177. package/dist/components/questions/_shared/types/answer-the-question.type.js.map +1 -0
  178. package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts +24 -0
  179. package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts.map +1 -0
  180. package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js +2 -0
  181. package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js.map +1 -0
  182. package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts +22 -0
  183. package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts.map +1 -0
  184. package/dist/components/questions/_shared/types/choose-correct-adjective.type.js +4 -0
  185. package/dist/components/questions/_shared/types/choose-correct-adjective.type.js.map +1 -0
  186. package/dist/components/questions/_shared/types/color-region.config.d.ts +34 -0
  187. package/dist/components/questions/_shared/types/color-region.config.d.ts.map +1 -0
  188. package/dist/components/questions/_shared/types/color-region.config.js +2 -0
  189. package/dist/components/questions/_shared/types/color-region.config.js.map +1 -0
  190. package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts +53 -0
  191. package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts.map +1 -0
  192. package/dist/components/questions/_shared/types/fill-in-blank.type.js +2 -0
  193. package/dist/components/questions/_shared/types/fill-in-blank.type.js.map +1 -0
  194. package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts +48 -0
  195. package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts.map +1 -0
  196. package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js +2 -0
  197. package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js.map +1 -0
  198. package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts +33 -0
  199. package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts.map +1 -0
  200. package/dist/components/questions/_shared/types/gn-speaking-interview.type.js +2 -0
  201. package/dist/components/questions/_shared/types/gn-speaking-interview.type.js.map +1 -0
  202. package/dist/components/questions/_shared/types/index.d.ts +13 -0
  203. package/dist/components/questions/_shared/types/index.d.ts.map +1 -0
  204. package/dist/components/questions/_shared/types/index.js +13 -0
  205. package/dist/components/questions/_shared/types/index.js.map +1 -0
  206. package/dist/components/questions/_shared/types/label-the-picture.type.d.ts +33 -0
  207. package/dist/components/questions/_shared/types/label-the-picture.type.d.ts.map +1 -0
  208. package/dist/components/questions/_shared/types/label-the-picture.type.js +2 -0
  209. package/dist/components/questions/_shared/types/label-the-picture.type.js.map +1 -0
  210. package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts +48 -0
  211. package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts.map +1 -0
  212. package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js +2 -0
  213. package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js.map +1 -0
  214. package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts +56 -0
  215. package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts.map +1 -0
  216. package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js +2 -0
  217. package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js.map +1 -0
  218. package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts +66 -0
  219. package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts.map +1 -0
  220. package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js +2 -0
  221. package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js.map +1 -0
  222. package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts +32 -0
  223. package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts.map +1 -0
  224. package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js +2 -0
  225. package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js.map +1 -0
  226. package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts +35 -0
  227. package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts.map +1 -0
  228. package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js +2 -0
  229. package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js.map +1 -0
  230. package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts +30 -0
  231. package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts.map +1 -0
  232. package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js +2 -0
  233. package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js.map +1 -0
  234. package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts +39 -0
  235. package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts.map +1 -0
  236. package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js +2 -0
  237. package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js.map +1 -0
  238. package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts +26 -0
  239. package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts.map +1 -0
  240. package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js +4 -0
  241. package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js.map +1 -0
  242. package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts +28 -0
  243. package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts.map +1 -0
  244. package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js +2 -0
  245. package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js.map +1 -0
  246. package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts +25 -0
  247. package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts.map +1 -0
  248. package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js +4 -0
  249. package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js.map +1 -0
  250. package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts +33 -0
  251. package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts.map +1 -0
  252. package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js +2 -0
  253. package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js.map +1 -0
  254. package/dist/components/questions/_shared/types/listening-drawline.type.d.ts +40 -0
  255. package/dist/components/questions/_shared/types/listening-drawline.type.d.ts.map +1 -0
  256. package/dist/components/questions/_shared/types/listening-drawline.type.js +2 -0
  257. package/dist/components/questions/_shared/types/listening-drawline.type.js.map +1 -0
  258. package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts +64 -0
  259. package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts.map +1 -0
  260. package/dist/components/questions/_shared/types/look-and-choose-answer.type.js +2 -0
  261. package/dist/components/questions/_shared/types/look-and-choose-answer.type.js.map +1 -0
  262. package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts +48 -0
  263. package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts.map +1 -0
  264. package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js +2 -0
  265. package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js.map +1 -0
  266. package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts +52 -0
  267. package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts.map +1 -0
  268. package/dist/components/questions/_shared/types/match-by-writing-answer.type.js +2 -0
  269. package/dist/components/questions/_shared/types/match-by-writing-answer.type.js.map +1 -0
  270. package/dist/components/questions/_shared/types/multiple-choice.type.d.ts +39 -0
  271. package/dist/components/questions/_shared/types/multiple-choice.type.d.ts.map +1 -0
  272. package/dist/components/questions/_shared/types/multiple-choice.type.js +2 -0
  273. package/dist/components/questions/_shared/types/multiple-choice.type.js.map +1 -0
  274. package/dist/components/questions/_shared/types/question-group.type.d.ts +45 -0
  275. package/dist/components/questions/_shared/types/question-group.type.d.ts.map +1 -0
  276. package/dist/components/questions/_shared/types/question-group.type.js +12 -0
  277. package/dist/components/questions/_shared/types/question-group.type.js.map +1 -0
  278. package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts +44 -0
  279. package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts.map +1 -0
  280. package/dist/components/questions/_shared/types/read-and-color-objects.type.js +2 -0
  281. package/dist/components/questions/_shared/types/read-and-color-objects.type.js.map +1 -0
  282. package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts +19 -0
  283. package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts.map +1 -0
  284. package/dist/components/questions/_shared/types/read-displayed-content.type.js +2 -0
  285. package/dist/components/questions/_shared/types/read-displayed-content.type.js.map +1 -0
  286. package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts +46 -0
  287. package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts.map +1 -0
  288. package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js +2 -0
  289. package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js.map +1 -0
  290. package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts +18 -0
  291. package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts.map +1 -0
  292. package/dist/components/questions/_shared/types/speaking-describe-image.type.js +2 -0
  293. package/dist/components/questions/_shared/types/speaking-describe-image.type.js.map +1 -0
  294. package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts +25 -0
  295. package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts.map +1 -0
  296. package/dist/components/questions/_shared/types/spontaneous-qa.type.js +2 -0
  297. package/dist/components/questions/_shared/types/spontaneous-qa.type.js.map +1 -0
  298. package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts +47 -0
  299. package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts.map +1 -0
  300. package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js +2 -0
  301. package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js.map +1 -0
  302. package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts +53 -0
  303. package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts.map +1 -0
  304. package/dist/components/questions/_shared/types/word-fill-paragraph.type.js +2 -0
  305. package/dist/components/questions/_shared/types/word-fill-paragraph.type.js.map +1 -0
  306. package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts +47 -0
  307. package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts.map +1 -0
  308. package/dist/components/questions/_shared/types/word-fill-structured-form.type.js +2 -0
  309. package/dist/components/questions/_shared/types/word-fill-structured-form.type.js.map +1 -0
  310. package/dist/components/questions/_shared/types/word-ordering.type.d.ts +36 -0
  311. package/dist/components/questions/_shared/types/word-ordering.type.d.ts.map +1 -0
  312. package/dist/components/questions/_shared/types/word-ordering.type.js +2 -0
  313. package/dist/components/questions/_shared/types/word-ordering.type.js.map +1 -0
  314. package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts +36 -0
  315. package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts.map +1 -0
  316. package/dist/components/questions/_shared/types/write-a-short-letter.type.js +2 -0
  317. package/dist/components/questions/_shared/types/write-a-short-letter.type.js.map +1 -0
  318. package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts +29 -0
  319. package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts.map +1 -0
  320. package/dist/components/questions/_shared/types/write-correct-verb-form.type.js +4 -0
  321. package/dist/components/questions/_shared/types/write-correct-verb-form.type.js.map +1 -0
  322. package/dist/components/questions/_shared/types/write-sentences.type.d.ts +41 -0
  323. package/dist/components/questions/_shared/types/write-sentences.type.d.ts.map +1 -0
  324. package/dist/components/questions/_shared/types/write-sentences.type.js +2 -0
  325. package/dist/components/questions/_shared/types/write-sentences.type.js.map +1 -0
  326. package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts +31 -0
  327. package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts.map +1 -0
  328. package/dist/components/questions/_shared/types/write-short-paragraph.type.js +2 -0
  329. package/dist/components/questions/_shared/types/write-short-paragraph.type.js.map +1 -0
  330. package/dist/components/questions/_shared/utils/answer-builder.d.ts +4 -0
  331. package/dist/components/questions/_shared/utils/answer-builder.d.ts.map +1 -0
  332. package/dist/components/questions/_shared/utils/answer-builder.js +80 -0
  333. package/dist/components/questions/_shared/utils/answer-builder.js.map +1 -0
  334. package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts +7 -0
  335. package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts.map +1 -0
  336. package/dist/components/questions/_shared/utils/createColorRegionRegistration.js +40 -0
  337. package/dist/components/questions/_shared/utils/createColorRegionRegistration.js.map +1 -0
  338. package/dist/components/questions/_shared/utils/id-generator.d.ts +2 -0
  339. package/dist/components/questions/_shared/utils/id-generator.d.ts.map +1 -0
  340. package/dist/components/questions/_shared/utils/id-generator.js +4 -0
  341. package/dist/components/questions/_shared/utils/id-generator.js.map +1 -0
  342. package/dist/components/questions/_shared/utils/question-validation.d.ts +6 -0
  343. package/dist/components/questions/_shared/utils/question-validation.d.ts.map +1 -0
  344. package/dist/components/questions/_shared/utils/question-validation.js +22 -0
  345. package/dist/components/questions/_shared/utils/question-validation.js.map +1 -0
  346. package/dist/components/questions/components/ColorNode.d.ts +20 -0
  347. package/dist/components/questions/components/ColorNode.d.ts.map +1 -0
  348. package/dist/components/questions/components/ColorNode.js +86 -0
  349. package/dist/components/questions/components/ColorNode.js.map +1 -0
  350. package/dist/components/questions/components/ColorRegionClient.d.ts +12 -0
  351. package/dist/components/questions/components/ColorRegionClient.d.ts.map +1 -0
  352. package/dist/components/questions/components/ColorRegionClient.js +546 -0
  353. package/dist/components/questions/components/ColorRegionClient.js.map +1 -0
  354. package/dist/components/questions/components/ColorRegionCreator.d.ts +8 -0
  355. package/dist/components/questions/components/ColorRegionCreator.d.ts.map +1 -0
  356. package/dist/components/questions/components/ColorRegionCreator.js +421 -0
  357. package/dist/components/questions/components/ColorRegionCreator.js.map +1 -0
  358. package/dist/components/questions/components/ColorRegionNode.d.ts +20 -0
  359. package/dist/components/questions/components/ColorRegionNode.d.ts.map +1 -0
  360. package/dist/components/questions/components/ColorRegionNode.js +60 -0
  361. package/dist/components/questions/components/ColorRegionNode.js.map +1 -0
  362. package/dist/components/questions/components/CreatorGuide.d.ts +103 -0
  363. package/dist/components/questions/components/CreatorGuide.d.ts.map +1 -0
  364. package/dist/components/questions/components/CreatorGuide.js +104 -0
  365. package/dist/components/questions/components/CreatorGuide.js.map +1 -0
  366. package/dist/components/questions/components/NameNode.d.ts +18 -0
  367. package/dist/components/questions/components/NameNode.d.ts.map +1 -0
  368. package/dist/components/questions/components/NameNode.js +27 -0
  369. package/dist/components/questions/components/NameNode.js.map +1 -0
  370. package/dist/components/questions/components/QuestionBankOption.d.ts +33 -0
  371. package/dist/components/questions/components/QuestionBankOption.d.ts.map +1 -0
  372. package/dist/components/questions/components/QuestionBankOption.js +47 -0
  373. package/dist/components/questions/components/QuestionBankOption.js.map +1 -0
  374. package/dist/components/questions/components/QuestionBasicInfoForm.d.ts +20 -0
  375. package/dist/components/questions/components/QuestionBasicInfoForm.d.ts.map +1 -0
  376. package/dist/components/questions/components/QuestionBasicInfoForm.js +10 -0
  377. package/dist/components/questions/components/QuestionBasicInfoForm.js.map +1 -0
  378. package/dist/components/questions/components/QuestionCommonFields.d.ts +23 -0
  379. package/dist/components/questions/components/QuestionCommonFields.d.ts.map +1 -0
  380. package/dist/components/questions/components/QuestionCommonFields.js +34 -0
  381. package/dist/components/questions/components/QuestionCommonFields.js.map +1 -0
  382. package/dist/components/questions/components/QuestionSearchDropdown.d.ts +42 -0
  383. package/dist/components/questions/components/QuestionSearchDropdown.d.ts.map +1 -0
  384. package/dist/components/questions/components/QuestionSearchDropdown.js +259 -0
  385. package/dist/components/questions/components/QuestionSearchDropdown.js.map +1 -0
  386. package/dist/components/questions/components/QuestionTypeSelector.d.ts +9 -0
  387. package/dist/components/questions/components/QuestionTypeSelector.d.ts.map +1 -0
  388. package/dist/components/questions/components/QuestionTypeSelector.js +33 -0
  389. package/dist/components/questions/components/QuestionTypeSelector.js.map +1 -0
  390. package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts +10 -0
  391. package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts.map +1 -0
  392. package/dist/components/questions/components/QuestionTypeSpecificForms.js +7 -0
  393. package/dist/components/questions/components/QuestionTypeSpecificForms.js.map +1 -0
  394. package/dist/components/questions/components/RegionNode.d.ts +20 -0
  395. package/dist/components/questions/components/RegionNode.d.ts.map +1 -0
  396. package/dist/components/questions/components/RegionNode.js +95 -0
  397. package/dist/components/questions/components/RegionNode.js.map +1 -0
  398. package/dist/components/questions/components/index.d.ts +15 -0
  399. package/dist/components/questions/components/index.d.ts.map +1 -0
  400. package/dist/components/questions/components/index.js +15 -0
  401. package/dist/components/questions/components/index.js.map +1 -0
  402. package/dist/components/questions/creator/QuestionCreator.d.ts +35 -0
  403. package/dist/components/questions/creator/QuestionCreator.d.ts.map +1 -0
  404. package/dist/components/questions/creator/QuestionCreator.js +91 -0
  405. package/dist/components/questions/creator/QuestionCreator.js.map +1 -0
  406. package/dist/components/questions/creator/QuestionGroupCreator.d.ts +8 -0
  407. package/dist/components/questions/creator/QuestionGroupCreator.d.ts.map +1 -0
  408. package/dist/components/questions/creator/QuestionGroupCreator.js +120 -0
  409. package/dist/components/questions/creator/QuestionGroupCreator.js.map +1 -0
  410. package/dist/components/questions/creator/dedicated-component-router.d.ts +39 -0
  411. package/dist/components/questions/creator/dedicated-component-router.d.ts.map +1 -0
  412. package/dist/components/questions/creator/dedicated-component-router.js +80 -0
  413. package/dist/components/questions/creator/dedicated-component-router.js.map +1 -0
  414. package/dist/components/questions/creator/index.d.ts +4 -0
  415. package/dist/components/questions/creator/index.d.ts.map +1 -0
  416. package/dist/components/questions/creator/index.js +4 -0
  417. package/dist/components/questions/creator/index.js.map +1 -0
  418. package/dist/components/questions/creator/question-type-registry.d.ts +66 -0
  419. package/dist/components/questions/creator/question-type-registry.d.ts.map +1 -0
  420. package/dist/components/questions/creator/question-type-registry.js +81 -0
  421. package/dist/components/questions/creator/question-type-registry.js.map +1 -0
  422. package/dist/components/questions/groups/ArticlesGroupCard.d.ts +35 -0
  423. package/dist/components/questions/groups/ArticlesGroupCard.d.ts.map +1 -0
  424. package/dist/components/questions/groups/ArticlesGroupCard.js +122 -0
  425. package/dist/components/questions/groups/ArticlesGroupCard.js.map +1 -0
  426. package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts +51 -0
  427. package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts.map +1 -0
  428. package/dist/components/questions/groups/BasicQuestionGroupCard.js +51 -0
  429. package/dist/components/questions/groups/BasicQuestionGroupCard.js.map +1 -0
  430. package/dist/components/questions/groups/DocumentGroupCard.d.ts +35 -0
  431. package/dist/components/questions/groups/DocumentGroupCard.d.ts.map +1 -0
  432. package/dist/components/questions/groups/DocumentGroupCard.js +115 -0
  433. package/dist/components/questions/groups/DocumentGroupCard.js.map +1 -0
  434. package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts +19 -0
  435. package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts.map +1 -0
  436. package/dist/components/questions/groups/MatchAnswerGroupCard.js +26 -0
  437. package/dist/components/questions/groups/MatchAnswerGroupCard.js.map +1 -0
  438. package/dist/components/questions/index.d.ts +11 -0
  439. package/dist/components/questions/index.d.ts.map +1 -0
  440. package/dist/components/questions/index.js +11 -0
  441. package/dist/components/questions/index.js.map +1 -0
  442. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts +3 -0
  443. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts.map +1 -0
  444. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js +38 -0
  445. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js.map +1 -0
  446. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts +3 -0
  447. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts.map +1 -0
  448. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js +352 -0
  449. package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js.map +1 -0
  450. package/dist/components/questions/types/answer-the-question/register.d.ts +3 -0
  451. package/dist/components/questions/types/answer-the-question/register.d.ts.map +1 -0
  452. package/dist/components/questions/types/answer-the-question/register.js +68 -0
  453. package/dist/components/questions/types/answer-the-question/register.js.map +1 -0
  454. package/dist/components/questions/types/answer-the-question/transform.d.ts +3 -0
  455. package/dist/components/questions/types/answer-the-question/transform.d.ts.map +1 -0
  456. package/dist/components/questions/types/answer-the-question/transform.js +37 -0
  457. package/dist/components/questions/types/answer-the-question/transform.js.map +1 -0
  458. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts +3 -0
  459. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts.map +1 -0
  460. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js +142 -0
  461. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js.map +1 -0
  462. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts +3 -0
  463. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts.map +1 -0
  464. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js +119 -0
  465. package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js.map +1 -0
  466. package/dist/components/questions/types/arrange-letters-into-words/index.d.ts +3 -0
  467. package/dist/components/questions/types/arrange-letters-into-words/index.d.ts.map +1 -0
  468. package/dist/components/questions/types/arrange-letters-into-words/index.js +3 -0
  469. package/dist/components/questions/types/arrange-letters-into-words/index.js.map +1 -0
  470. package/dist/components/questions/types/arrange-letters-into-words/register.d.ts +3 -0
  471. package/dist/components/questions/types/arrange-letters-into-words/register.d.ts.map +1 -0
  472. package/dist/components/questions/types/arrange-letters-into-words/register.js +5 -0
  473. package/dist/components/questions/types/arrange-letters-into-words/register.js.map +1 -0
  474. package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts +3 -0
  475. package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts.map +1 -0
  476. package/dist/components/questions/types/arrange-letters-into-words/transform.js +25 -0
  477. package/dist/components/questions/types/arrange-letters-into-words/transform.js.map +1 -0
  478. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts +3 -0
  479. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts.map +1 -0
  480. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js +65 -0
  481. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js.map +1 -0
  482. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts +3 -0
  483. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts.map +1 -0
  484. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js +170 -0
  485. package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js.map +1 -0
  486. package/dist/components/questions/types/choose-correct-adjective/index.d.ts +3 -0
  487. package/dist/components/questions/types/choose-correct-adjective/index.d.ts.map +1 -0
  488. package/dist/components/questions/types/choose-correct-adjective/index.js +3 -0
  489. package/dist/components/questions/types/choose-correct-adjective/index.js.map +1 -0
  490. package/dist/components/questions/types/choose-correct-adjective/register.d.ts +3 -0
  491. package/dist/components/questions/types/choose-correct-adjective/register.d.ts.map +1 -0
  492. package/dist/components/questions/types/choose-correct-adjective/register.js +56 -0
  493. package/dist/components/questions/types/choose-correct-adjective/register.js.map +1 -0
  494. package/dist/components/questions/types/choose-correct-adjective/transform.d.ts +3 -0
  495. package/dist/components/questions/types/choose-correct-adjective/transform.d.ts.map +1 -0
  496. package/dist/components/questions/types/choose-correct-adjective/transform.js +17 -0
  497. package/dist/components/questions/types/choose-correct-adjective/transform.js.map +1 -0
  498. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts +3 -0
  499. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts.map +1 -0
  500. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js +132 -0
  501. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js.map +1 -0
  502. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts +26 -0
  503. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts.map +1 -0
  504. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js +582 -0
  505. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js.map +1 -0
  506. package/dist/components/questions/types/choose-the-correct-answer/index.d.ts +3 -0
  507. package/dist/components/questions/types/choose-the-correct-answer/index.d.ts.map +1 -0
  508. package/dist/components/questions/types/choose-the-correct-answer/index.js +3 -0
  509. package/dist/components/questions/types/choose-the-correct-answer/index.js.map +1 -0
  510. package/dist/components/questions/types/choose-the-correct-answer/register.d.ts +3 -0
  511. package/dist/components/questions/types/choose-the-correct-answer/register.d.ts.map +1 -0
  512. package/dist/components/questions/types/choose-the-correct-answer/register.js +102 -0
  513. package/dist/components/questions/types/choose-the-correct-answer/register.js.map +1 -0
  514. package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts +3 -0
  515. package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts.map +1 -0
  516. package/dist/components/questions/types/choose-the-correct-answer/transform.js +44 -0
  517. package/dist/components/questions/types/choose-the-correct-answer/transform.js.map +1 -0
  518. package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts +3 -0
  519. package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts.map +1 -0
  520. package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js +276 -0
  521. package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js.map +1 -0
  522. package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts +3 -0
  523. package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts.map +1 -0
  524. package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js +449 -0
  525. package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js.map +1 -0
  526. package/dist/components/questions/types/fill-in-blank/index.d.ts +3 -0
  527. package/dist/components/questions/types/fill-in-blank/index.d.ts.map +1 -0
  528. package/dist/components/questions/types/fill-in-blank/index.js +3 -0
  529. package/dist/components/questions/types/fill-in-blank/index.js.map +1 -0
  530. package/dist/components/questions/types/fill-in-blank/register.d.ts +3 -0
  531. package/dist/components/questions/types/fill-in-blank/register.d.ts.map +1 -0
  532. package/dist/components/questions/types/fill-in-blank/register.js +139 -0
  533. package/dist/components/questions/types/fill-in-blank/register.js.map +1 -0
  534. package/dist/components/questions/types/fill-in-blank/transform.d.ts +3 -0
  535. package/dist/components/questions/types/fill-in-blank/transform.d.ts.map +1 -0
  536. package/dist/components/questions/types/fill-in-blank/transform.js +60 -0
  537. package/dist/components/questions/types/fill-in-blank/transform.js.map +1 -0
  538. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts +8 -0
  539. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts.map +1 -0
  540. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js +118 -0
  541. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js.map +1 -0
  542. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts +4 -0
  543. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts.map +1 -0
  544. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js +672 -0
  545. package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js.map +1 -0
  546. package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts +3 -0
  547. package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts.map +1 -0
  548. package/dist/components/questions/types/fill-missing-words-in-grid/index.js +3 -0
  549. package/dist/components/questions/types/fill-missing-words-in-grid/index.js.map +1 -0
  550. package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts +4 -0
  551. package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts.map +1 -0
  552. package/dist/components/questions/types/fill-missing-words-in-grid/register.js +38 -0
  553. package/dist/components/questions/types/fill-missing-words-in-grid/register.js.map +1 -0
  554. package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts +3 -0
  555. package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts.map +1 -0
  556. package/dist/components/questions/types/fill-missing-words-in-grid/transform.js +16 -0
  557. package/dist/components/questions/types/fill-missing-words-in-grid/transform.js.map +1 -0
  558. package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts +3 -0
  559. package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts.map +1 -0
  560. package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js +263 -0
  561. package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js.map +1 -0
  562. package/dist/components/questions/types/gn-speaking-interview/register.d.ts +3 -0
  563. package/dist/components/questions/types/gn-speaking-interview/register.d.ts.map +1 -0
  564. package/dist/components/questions/types/gn-speaking-interview/register.js +122 -0
  565. package/dist/components/questions/types/gn-speaking-interview/register.js.map +1 -0
  566. package/dist/components/questions/types/gn-speaking-interview/transform.d.ts +3 -0
  567. package/dist/components/questions/types/gn-speaking-interview/transform.d.ts.map +1 -0
  568. package/dist/components/questions/types/gn-speaking-interview/transform.js +49 -0
  569. package/dist/components/questions/types/gn-speaking-interview/transform.js.map +1 -0
  570. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts +8 -0
  571. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts.map +1 -0
  572. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js +17 -0
  573. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js.map +1 -0
  574. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts +3 -0
  575. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts.map +1 -0
  576. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js +28 -0
  577. package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js.map +1 -0
  578. package/dist/components/questions/types/image-object-matching/index.d.ts +3 -0
  579. package/dist/components/questions/types/image-object-matching/index.d.ts.map +1 -0
  580. package/dist/components/questions/types/image-object-matching/index.js +3 -0
  581. package/dist/components/questions/types/image-object-matching/index.js.map +1 -0
  582. package/dist/components/questions/types/image-object-matching/register.d.ts +2 -0
  583. package/dist/components/questions/types/image-object-matching/register.d.ts.map +1 -0
  584. package/dist/components/questions/types/image-object-matching/register.js +4 -0
  585. package/dist/components/questions/types/image-object-matching/register.js.map +1 -0
  586. package/dist/components/questions/types/image-object-matching/transform.d.ts +2 -0
  587. package/dist/components/questions/types/image-object-matching/transform.d.ts.map +1 -0
  588. package/dist/components/questions/types/image-object-matching/transform.js +3 -0
  589. package/dist/components/questions/types/image-object-matching/transform.js.map +1 -0
  590. package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts +7 -0
  591. package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts.map +1 -0
  592. package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js +103 -0
  593. package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js.map +1 -0
  594. package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts +3 -0
  595. package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts.map +1 -0
  596. package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js +345 -0
  597. package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js.map +1 -0
  598. package/dist/components/questions/types/label-the-picture/index.d.ts +3 -0
  599. package/dist/components/questions/types/label-the-picture/index.d.ts.map +1 -0
  600. package/dist/components/questions/types/label-the-picture/index.js +3 -0
  601. package/dist/components/questions/types/label-the-picture/index.js.map +1 -0
  602. package/dist/components/questions/types/label-the-picture/register.d.ts +3 -0
  603. package/dist/components/questions/types/label-the-picture/register.d.ts.map +1 -0
  604. package/dist/components/questions/types/label-the-picture/register.js +55 -0
  605. package/dist/components/questions/types/label-the-picture/register.js.map +1 -0
  606. package/dist/components/questions/types/label-the-picture/transform.d.ts +3 -0
  607. package/dist/components/questions/types/label-the-picture/transform.d.ts.map +1 -0
  608. package/dist/components/questions/types/label-the-picture/transform.js +29 -0
  609. package/dist/components/questions/types/label-the-picture/transform.js.map +1 -0
  610. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts +3 -0
  611. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts.map +1 -0
  612. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js +79 -0
  613. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js.map +1 -0
  614. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts +3 -0
  615. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts.map +1 -0
  616. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js +233 -0
  617. package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js.map +1 -0
  618. package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts +3 -0
  619. package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts.map +1 -0
  620. package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js +3 -0
  621. package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js.map +1 -0
  622. package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts +3 -0
  623. package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts.map +1 -0
  624. package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js +83 -0
  625. package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js.map +1 -0
  626. package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts +3 -0
  627. package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts.map +1 -0
  628. package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js +28 -0
  629. package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js.map +1 -0
  630. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts +10 -0
  631. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts.map +1 -0
  632. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js +71 -0
  633. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js.map +1 -0
  634. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts +12 -0
  635. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts.map +1 -0
  636. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js +387 -0
  637. package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js.map +1 -0
  638. package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts +3 -0
  639. package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts.map +1 -0
  640. package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js +3 -0
  641. package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js.map +1 -0
  642. package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts +3 -0
  643. package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts.map +1 -0
  644. package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js +101 -0
  645. package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js.map +1 -0
  646. package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts +3 -0
  647. package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts.map +1 -0
  648. package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js +34 -0
  649. package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js.map +1 -0
  650. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts +10 -0
  651. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts.map +1 -0
  652. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js +107 -0
  653. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js.map +1 -0
  654. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts +12 -0
  655. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts.map +1 -0
  656. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js +458 -0
  657. package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js.map +1 -0
  658. package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts +3 -0
  659. package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts.map +1 -0
  660. package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js +3 -0
  661. package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js.map +1 -0
  662. package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts +3 -0
  663. package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts.map +1 -0
  664. package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js +111 -0
  665. package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js.map +1 -0
  666. package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts +3 -0
  667. package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts.map +1 -0
  668. package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js +36 -0
  669. package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js.map +1 -0
  670. package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts +21 -0
  671. package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts.map +1 -0
  672. package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js +9 -0
  673. package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js.map +1 -0
  674. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts +3 -0
  675. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts.map +1 -0
  676. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js +23 -0
  677. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js.map +1 -0
  678. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts +10 -0
  679. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts.map +1 -0
  680. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js +292 -0
  681. package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js.map +1 -0
  682. package/dist/components/questions/types/listen-and-speak-answer/index.d.ts +3 -0
  683. package/dist/components/questions/types/listen-and-speak-answer/index.d.ts.map +1 -0
  684. package/dist/components/questions/types/listen-and-speak-answer/index.js +3 -0
  685. package/dist/components/questions/types/listen-and-speak-answer/index.js.map +1 -0
  686. package/dist/components/questions/types/listen-and-speak-answer/register.d.ts +3 -0
  687. package/dist/components/questions/types/listen-and-speak-answer/register.d.ts.map +1 -0
  688. package/dist/components/questions/types/listen-and-speak-answer/register.js +85 -0
  689. package/dist/components/questions/types/listen-and-speak-answer/register.js.map +1 -0
  690. package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts +3 -0
  691. package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts.map +1 -0
  692. package/dist/components/questions/types/listen-and-speak-answer/transform.js +28 -0
  693. package/dist/components/questions/types/listen-and-speak-answer/transform.js.map +1 -0
  694. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts +4 -0
  695. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts.map +1 -0
  696. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js +33 -0
  697. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js.map +1 -0
  698. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts +11 -0
  699. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts.map +1 -0
  700. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js +296 -0
  701. package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js.map +1 -0
  702. package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts +3 -0
  703. package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts.map +1 -0
  704. package/dist/components/questions/types/listen-and-speak-compare-images/register.js +80 -0
  705. package/dist/components/questions/types/listen-and-speak-compare-images/register.js.map +1 -0
  706. package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts +3 -0
  707. package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts.map +1 -0
  708. package/dist/components/questions/types/listen-and-speak-compare-images/transform.js +28 -0
  709. package/dist/components/questions/types/listen-and-speak-compare-images/transform.js.map +1 -0
  710. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts +4 -0
  711. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts.map +1 -0
  712. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js +35 -0
  713. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js.map +1 -0
  714. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts +11 -0
  715. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts.map +1 -0
  716. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js +286 -0
  717. package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js.map +1 -0
  718. package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts +3 -0
  719. package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts.map +1 -0
  720. package/dist/components/questions/types/listen-and-speak-image-group/register.js +82 -0
  721. package/dist/components/questions/types/listen-and-speak-image-group/register.js.map +1 -0
  722. package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts +3 -0
  723. package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts.map +1 -0
  724. package/dist/components/questions/types/listen-and-speak-image-group/transform.js +27 -0
  725. package/dist/components/questions/types/listen-and-speak-image-group/transform.js.map +1 -0
  726. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts +4 -0
  727. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts.map +1 -0
  728. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js +39 -0
  729. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js.map +1 -0
  730. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts +12 -0
  731. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts.map +1 -0
  732. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js +386 -0
  733. package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js.map +1 -0
  734. package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts +3 -0
  735. package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts.map +1 -0
  736. package/dist/components/questions/types/listen-and-speak-info-exchange/register.js +88 -0
  737. package/dist/components/questions/types/listen-and-speak-info-exchange/register.js.map +1 -0
  738. package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts +3 -0
  739. package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts.map +1 -0
  740. package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js +33 -0
  741. package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js.map +1 -0
  742. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts +4 -0
  743. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts.map +1 -0
  744. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js +27 -0
  745. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js.map +1 -0
  746. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts +4 -0
  747. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts.map +1 -0
  748. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js +248 -0
  749. package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js.map +1 -0
  750. package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts +3 -0
  751. package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts.map +1 -0
  752. package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js +60 -0
  753. package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js.map +1 -0
  754. package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts +3 -0
  755. package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts.map +1 -0
  756. package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js +19 -0
  757. package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js.map +1 -0
  758. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts +4 -0
  759. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts.map +1 -0
  760. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js +27 -0
  761. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js.map +1 -0
  762. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts +15 -0
  763. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts.map +1 -0
  764. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js +257 -0
  765. package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js.map +1 -0
  766. package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts +3 -0
  767. package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts.map +1 -0
  768. package/dist/components/questions/types/listen-and-speak-question-list/register.js +82 -0
  769. package/dist/components/questions/types/listen-and-speak-question-list/register.js.map +1 -0
  770. package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts +4 -0
  771. package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts.map +1 -0
  772. package/dist/components/questions/types/listen-and-speak-question-list/transform.js +27 -0
  773. package/dist/components/questions/types/listen-and-speak-question-list/transform.js.map +1 -0
  774. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts +4 -0
  775. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts.map +1 -0
  776. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js +27 -0
  777. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js.map +1 -0
  778. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts +4 -0
  779. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts.map +1 -0
  780. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js +231 -0
  781. package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js.map +1 -0
  782. package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts +3 -0
  783. package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts.map +1 -0
  784. package/dist/components/questions/types/listen-and-speak-with-story-images/register.js +57 -0
  785. package/dist/components/questions/types/listen-and-speak-with-story-images/register.js.map +1 -0
  786. package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts +3 -0
  787. package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts.map +1 -0
  788. package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js +17 -0
  789. package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js.map +1 -0
  790. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts +21 -0
  791. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts.map +1 -0
  792. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js +73 -0
  793. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js.map +1 -0
  794. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts +16 -0
  795. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts.map +1 -0
  796. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js +231 -0
  797. package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js.map +1 -0
  798. package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts +2 -0
  799. package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts.map +1 -0
  800. package/dist/components/questions/types/look-picture-choose-correct-answer/index.js +2 -0
  801. package/dist/components/questions/types/look-picture-choose-correct-answer/index.js.map +1 -0
  802. package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts +3 -0
  803. package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts.map +1 -0
  804. package/dist/components/questions/types/look-picture-choose-correct-answer/register.js +67 -0
  805. package/dist/components/questions/types/look-picture-choose-correct-answer/register.js.map +1 -0
  806. package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts +3 -0
  807. package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts.map +1 -0
  808. package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js +43 -0
  809. package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js.map +1 -0
  810. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts +7 -0
  811. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts.map +1 -0
  812. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js +97 -0
  813. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js.map +1 -0
  814. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts +16 -0
  815. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts.map +1 -0
  816. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js +239 -0
  817. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js.map +1 -0
  818. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts +3 -0
  819. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts.map +1 -0
  820. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js +3 -0
  821. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js.map +1 -0
  822. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts +3 -0
  823. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts.map +1 -0
  824. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js +77 -0
  825. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js.map +1 -0
  826. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts +3 -0
  827. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts.map +1 -0
  828. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js +20 -0
  829. package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js.map +1 -0
  830. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts +8 -0
  831. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts.map +1 -0
  832. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js +135 -0
  833. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js.map +1 -0
  834. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts +4 -0
  835. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts.map +1 -0
  836. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js +618 -0
  837. package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js.map +1 -0
  838. package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts +3 -0
  839. package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts.map +1 -0
  840. package/dist/components/questions/types/look-picture-fill-word-hint/index.js +3 -0
  841. package/dist/components/questions/types/look-picture-fill-word-hint/index.js.map +1 -0
  842. package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts +3 -0
  843. package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts.map +1 -0
  844. package/dist/components/questions/types/look-picture-fill-word-hint/register.js +83 -0
  845. package/dist/components/questions/types/look-picture-fill-word-hint/register.js.map +1 -0
  846. package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts +3 -0
  847. package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts.map +1 -0
  848. package/dist/components/questions/types/look-picture-fill-word-hint/transform.js +30 -0
  849. package/dist/components/questions/types/look-picture-fill-word-hint/transform.js.map +1 -0
  850. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts +3 -0
  851. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts.map +1 -0
  852. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js +39 -0
  853. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js.map +1 -0
  854. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts +3 -0
  855. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts.map +1 -0
  856. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js +360 -0
  857. package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js.map +1 -0
  858. package/dist/components/questions/types/match-by-writing-answer/index.d.ts +4 -0
  859. package/dist/components/questions/types/match-by-writing-answer/index.d.ts.map +1 -0
  860. package/dist/components/questions/types/match-by-writing-answer/index.js +4 -0
  861. package/dist/components/questions/types/match-by-writing-answer/index.js.map +1 -0
  862. package/dist/components/questions/types/match-by-writing-answer/register.d.ts +3 -0
  863. package/dist/components/questions/types/match-by-writing-answer/register.d.ts.map +1 -0
  864. package/dist/components/questions/types/match-by-writing-answer/register.js +59 -0
  865. package/dist/components/questions/types/match-by-writing-answer/register.js.map +1 -0
  866. package/dist/components/questions/types/match-by-writing-answer/transform.d.ts +12 -0
  867. package/dist/components/questions/types/match-by-writing-answer/transform.d.ts.map +1 -0
  868. package/dist/components/questions/types/match-by-writing-answer/transform.js +62 -0
  869. package/dist/components/questions/types/match-by-writing-answer/transform.js.map +1 -0
  870. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts +8 -0
  871. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts.map +1 -0
  872. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js +17 -0
  873. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js.map +1 -0
  874. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts +3 -0
  875. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts.map +1 -0
  876. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js +24 -0
  877. package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js.map +1 -0
  878. package/dist/components/questions/types/read-and-color-objects/index.d.ts +3 -0
  879. package/dist/components/questions/types/read-and-color-objects/index.d.ts.map +1 -0
  880. package/dist/components/questions/types/read-and-color-objects/index.js +3 -0
  881. package/dist/components/questions/types/read-and-color-objects/index.js.map +1 -0
  882. package/dist/components/questions/types/read-and-color-objects/register.d.ts +2 -0
  883. package/dist/components/questions/types/read-and-color-objects/register.d.ts.map +1 -0
  884. package/dist/components/questions/types/read-and-color-objects/register.js +4 -0
  885. package/dist/components/questions/types/read-and-color-objects/register.js.map +1 -0
  886. package/dist/components/questions/types/read-and-color-objects/transform.d.ts +3 -0
  887. package/dist/components/questions/types/read-and-color-objects/transform.d.ts.map +1 -0
  888. package/dist/components/questions/types/read-and-color-objects/transform.js +37 -0
  889. package/dist/components/questions/types/read-and-color-objects/transform.js.map +1 -0
  890. package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts +3 -0
  891. package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts.map +1 -0
  892. package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js +126 -0
  893. package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js.map +1 -0
  894. package/dist/components/questions/types/read-displayed-content/register.d.ts +3 -0
  895. package/dist/components/questions/types/read-displayed-content/register.d.ts.map +1 -0
  896. package/dist/components/questions/types/read-displayed-content/register.js +65 -0
  897. package/dist/components/questions/types/read-displayed-content/register.js.map +1 -0
  898. package/dist/components/questions/types/read-displayed-content/transform.d.ts +3 -0
  899. package/dist/components/questions/types/read-displayed-content/transform.d.ts.map +1 -0
  900. package/dist/components/questions/types/read-displayed-content/transform.js +13 -0
  901. package/dist/components/questions/types/read-displayed-content/transform.js.map +1 -0
  902. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts +3 -0
  903. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts.map +1 -0
  904. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js +65 -0
  905. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js.map +1 -0
  906. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts +3 -0
  907. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts.map +1 -0
  908. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js +512 -0
  909. package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js.map +1 -0
  910. package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts +3 -0
  911. package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts.map +1 -0
  912. package/dist/components/questions/types/read-passage-and-answer-questions/index.js +3 -0
  913. package/dist/components/questions/types/read-passage-and-answer-questions/index.js.map +1 -0
  914. package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts +3 -0
  915. package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts.map +1 -0
  916. package/dist/components/questions/types/read-passage-and-answer-questions/register.js +59 -0
  917. package/dist/components/questions/types/read-passage-and-answer-questions/register.js.map +1 -0
  918. package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts +3 -0
  919. package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts.map +1 -0
  920. package/dist/components/questions/types/read-passage-and-answer-questions/transform.js +29 -0
  921. package/dist/components/questions/types/read-passage-and-answer-questions/transform.js.map +1 -0
  922. package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts +16 -0
  923. package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts.map +1 -0
  924. package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js +374 -0
  925. package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js.map +1 -0
  926. package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts +22 -0
  927. package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts.map +1 -0
  928. package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js +42 -0
  929. package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js.map +1 -0
  930. package/dist/components/questions/types/speaking-conversation/register.d.ts +3 -0
  931. package/dist/components/questions/types/speaking-conversation/register.d.ts.map +1 -0
  932. package/dist/components/questions/types/speaking-conversation/register.js +111 -0
  933. package/dist/components/questions/types/speaking-conversation/register.js.map +1 -0
  934. package/dist/components/questions/types/speaking-conversation/transform.d.ts +3 -0
  935. package/dist/components/questions/types/speaking-conversation/transform.d.ts.map +1 -0
  936. package/dist/components/questions/types/speaking-conversation/transform.js +35 -0
  937. package/dist/components/questions/types/speaking-conversation/transform.js.map +1 -0
  938. package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts +11 -0
  939. package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts.map +1 -0
  940. package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js +75 -0
  941. package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js.map +1 -0
  942. package/dist/components/questions/types/speaking-cue-card/register.d.ts +3 -0
  943. package/dist/components/questions/types/speaking-cue-card/register.d.ts.map +1 -0
  944. package/dist/components/questions/types/speaking-cue-card/register.js +53 -0
  945. package/dist/components/questions/types/speaking-cue-card/register.js.map +1 -0
  946. package/dist/components/questions/types/speaking-cue-card/transform.d.ts +3 -0
  947. package/dist/components/questions/types/speaking-cue-card/transform.d.ts.map +1 -0
  948. package/dist/components/questions/types/speaking-cue-card/transform.js +13 -0
  949. package/dist/components/questions/types/speaking-cue-card/transform.js.map +1 -0
  950. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts +11 -0
  951. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts.map +1 -0
  952. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js +11 -0
  953. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js.map +1 -0
  954. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts +3 -0
  955. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts.map +1 -0
  956. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js +162 -0
  957. package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js.map +1 -0
  958. package/dist/components/questions/types/speaking-describe-image/index.d.ts +3 -0
  959. package/dist/components/questions/types/speaking-describe-image/index.d.ts.map +1 -0
  960. package/dist/components/questions/types/speaking-describe-image/index.js +3 -0
  961. package/dist/components/questions/types/speaking-describe-image/index.js.map +1 -0
  962. package/dist/components/questions/types/speaking-describe-image/register.d.ts +3 -0
  963. package/dist/components/questions/types/speaking-describe-image/register.d.ts.map +1 -0
  964. package/dist/components/questions/types/speaking-describe-image/register.js +70 -0
  965. package/dist/components/questions/types/speaking-describe-image/register.js.map +1 -0
  966. package/dist/components/questions/types/speaking-describe-image/transform.d.ts +3 -0
  967. package/dist/components/questions/types/speaking-describe-image/transform.d.ts.map +1 -0
  968. package/dist/components/questions/types/speaking-describe-image/transform.js +17 -0
  969. package/dist/components/questions/types/speaking-describe-image/transform.js.map +1 -0
  970. package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts +3 -0
  971. package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts.map +1 -0
  972. package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js +235 -0
  973. package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js.map +1 -0
  974. package/dist/components/questions/types/spontaneous-qa/register.d.ts +3 -0
  975. package/dist/components/questions/types/spontaneous-qa/register.d.ts.map +1 -0
  976. package/dist/components/questions/types/spontaneous-qa/register.js +94 -0
  977. package/dist/components/questions/types/spontaneous-qa/register.js.map +1 -0
  978. package/dist/components/questions/types/spontaneous-qa/transform.d.ts +3 -0
  979. package/dist/components/questions/types/spontaneous-qa/transform.d.ts.map +1 -0
  980. package/dist/components/questions/types/spontaneous-qa/transform.js +35 -0
  981. package/dist/components/questions/types/spontaneous-qa/transform.js.map +1 -0
  982. package/dist/components/questions/types/true-false/TrueFalseClient.d.ts +15 -0
  983. package/dist/components/questions/types/true-false/TrueFalseClient.d.ts.map +1 -0
  984. package/dist/components/questions/types/true-false/TrueFalseClient.js +76 -0
  985. package/dist/components/questions/types/true-false/TrueFalseClient.js.map +1 -0
  986. package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts +22 -0
  987. package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts.map +1 -0
  988. package/dist/components/questions/types/true-false/TrueFalseCreator.js +245 -0
  989. package/dist/components/questions/types/true-false/TrueFalseCreator.js.map +1 -0
  990. package/dist/components/questions/types/true-false/index.d.ts +3 -0
  991. package/dist/components/questions/types/true-false/index.d.ts.map +1 -0
  992. package/dist/components/questions/types/true-false/index.js +3 -0
  993. package/dist/components/questions/types/true-false/index.js.map +1 -0
  994. package/dist/components/questions/types/true-false/register.d.ts +3 -0
  995. package/dist/components/questions/types/true-false/register.d.ts.map +1 -0
  996. package/dist/components/questions/types/true-false/register.js +78 -0
  997. package/dist/components/questions/types/true-false/register.js.map +1 -0
  998. package/dist/components/questions/types/true-false/transform.d.ts +3 -0
  999. package/dist/components/questions/types/true-false/transform.d.ts.map +1 -0
  1000. package/dist/components/questions/types/true-false/transform.js +33 -0
  1001. package/dist/components/questions/types/true-false/transform.js.map +1 -0
  1002. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts +26 -0
  1003. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts.map +1 -0
  1004. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js +234 -0
  1005. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js.map +1 -0
  1006. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts +14 -0
  1007. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts.map +1 -0
  1008. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js +632 -0
  1009. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js.map +1 -0
  1010. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts +19 -0
  1011. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts.map +1 -0
  1012. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js +29 -0
  1013. package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js.map +1 -0
  1014. package/dist/components/questions/types/word-fill-paragraph/index.d.ts +3 -0
  1015. package/dist/components/questions/types/word-fill-paragraph/index.d.ts.map +1 -0
  1016. package/dist/components/questions/types/word-fill-paragraph/index.js +3 -0
  1017. package/dist/components/questions/types/word-fill-paragraph/index.js.map +1 -0
  1018. package/dist/components/questions/types/word-fill-paragraph/register.d.ts +9 -0
  1019. package/dist/components/questions/types/word-fill-paragraph/register.d.ts.map +1 -0
  1020. package/dist/components/questions/types/word-fill-paragraph/register.js +137 -0
  1021. package/dist/components/questions/types/word-fill-paragraph/register.js.map +1 -0
  1022. package/dist/components/questions/types/word-fill-paragraph/transform.d.ts +8 -0
  1023. package/dist/components/questions/types/word-fill-paragraph/transform.d.ts.map +1 -0
  1024. package/dist/components/questions/types/word-fill-paragraph/transform.js +57 -0
  1025. package/dist/components/questions/types/word-fill-paragraph/transform.js.map +1 -0
  1026. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts +4 -0
  1027. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts.map +1 -0
  1028. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js +139 -0
  1029. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js.map +1 -0
  1030. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts +3 -0
  1031. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts.map +1 -0
  1032. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js +262 -0
  1033. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js.map +1 -0
  1034. package/dist/components/questions/types/word-fill-structured-form/index.d.ts +3 -0
  1035. package/dist/components/questions/types/word-fill-structured-form/index.d.ts.map +1 -0
  1036. package/dist/components/questions/types/word-fill-structured-form/index.js +3 -0
  1037. package/dist/components/questions/types/word-fill-structured-form/index.js.map +1 -0
  1038. package/dist/components/questions/types/word-fill-structured-form/register.d.ts +3 -0
  1039. package/dist/components/questions/types/word-fill-structured-form/register.d.ts.map +1 -0
  1040. package/dist/components/questions/types/word-fill-structured-form/register.js +68 -0
  1041. package/dist/components/questions/types/word-fill-structured-form/register.js.map +1 -0
  1042. package/dist/components/questions/types/word-fill-structured-form/transform.d.ts +11 -0
  1043. package/dist/components/questions/types/word-fill-structured-form/transform.d.ts.map +1 -0
  1044. package/dist/components/questions/types/word-fill-structured-form/transform.js +41 -0
  1045. package/dist/components/questions/types/word-fill-structured-form/transform.js.map +1 -0
  1046. package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts +3 -0
  1047. package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts.map +1 -0
  1048. package/dist/components/questions/types/word-ordering/WordOrderingClient.js +85 -0
  1049. package/dist/components/questions/types/word-ordering/WordOrderingClient.js.map +1 -0
  1050. package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts +12 -0
  1051. package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts.map +1 -0
  1052. package/dist/components/questions/types/word-ordering/WordOrderingCreator.js +193 -0
  1053. package/dist/components/questions/types/word-ordering/WordOrderingCreator.js.map +1 -0
  1054. package/dist/components/questions/types/word-ordering/index.d.ts +3 -0
  1055. package/dist/components/questions/types/word-ordering/index.d.ts.map +1 -0
  1056. package/dist/components/questions/types/word-ordering/index.js +3 -0
  1057. package/dist/components/questions/types/word-ordering/index.js.map +1 -0
  1058. package/dist/components/questions/types/word-ordering/register.d.ts +3 -0
  1059. package/dist/components/questions/types/word-ordering/register.d.ts.map +1 -0
  1060. package/dist/components/questions/types/word-ordering/register.js +47 -0
  1061. package/dist/components/questions/types/word-ordering/register.js.map +1 -0
  1062. package/dist/components/questions/types/word-ordering/transform.d.ts +8 -0
  1063. package/dist/components/questions/types/word-ordering/transform.d.ts.map +1 -0
  1064. package/dist/components/questions/types/word-ordering/transform.js +25 -0
  1065. package/dist/components/questions/types/word-ordering/transform.js.map +1 -0
  1066. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts +7 -0
  1067. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts.map +1 -0
  1068. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js +99 -0
  1069. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js.map +1 -0
  1070. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts +3 -0
  1071. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts.map +1 -0
  1072. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js +321 -0
  1073. package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js.map +1 -0
  1074. package/dist/components/questions/types/write-a-short-letter/index.d.ts +3 -0
  1075. package/dist/components/questions/types/write-a-short-letter/index.d.ts.map +1 -0
  1076. package/dist/components/questions/types/write-a-short-letter/index.js +3 -0
  1077. package/dist/components/questions/types/write-a-short-letter/index.js.map +1 -0
  1078. package/dist/components/questions/types/write-a-short-letter/register.d.ts +3 -0
  1079. package/dist/components/questions/types/write-a-short-letter/register.d.ts.map +1 -0
  1080. package/dist/components/questions/types/write-a-short-letter/register.js +69 -0
  1081. package/dist/components/questions/types/write-a-short-letter/register.js.map +1 -0
  1082. package/dist/components/questions/types/write-a-short-letter/transform.d.ts +3 -0
  1083. package/dist/components/questions/types/write-a-short-letter/transform.d.ts.map +1 -0
  1084. package/dist/components/questions/types/write-a-short-letter/transform.js +26 -0
  1085. package/dist/components/questions/types/write-a-short-letter/transform.js.map +1 -0
  1086. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts +3 -0
  1087. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts.map +1 -0
  1088. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js +62 -0
  1089. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js.map +1 -0
  1090. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts +3 -0
  1091. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts.map +1 -0
  1092. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js +197 -0
  1093. package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js.map +1 -0
  1094. package/dist/components/questions/types/write-correct-verb-form/index.d.ts +3 -0
  1095. package/dist/components/questions/types/write-correct-verb-form/index.d.ts.map +1 -0
  1096. package/dist/components/questions/types/write-correct-verb-form/index.js +3 -0
  1097. package/dist/components/questions/types/write-correct-verb-form/index.js.map +1 -0
  1098. package/dist/components/questions/types/write-correct-verb-form/register.d.ts +3 -0
  1099. package/dist/components/questions/types/write-correct-verb-form/register.d.ts.map +1 -0
  1100. package/dist/components/questions/types/write-correct-verb-form/register.js +63 -0
  1101. package/dist/components/questions/types/write-correct-verb-form/register.js.map +1 -0
  1102. package/dist/components/questions/types/write-correct-verb-form/transform.d.ts +3 -0
  1103. package/dist/components/questions/types/write-correct-verb-form/transform.d.ts.map +1 -0
  1104. package/dist/components/questions/types/write-correct-verb-form/transform.js +18 -0
  1105. package/dist/components/questions/types/write-correct-verb-form/transform.js.map +1 -0
  1106. package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts +3 -0
  1107. package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts.map +1 -0
  1108. package/dist/components/questions/types/write-sentences/WriteSentencesClient.js +23 -0
  1109. package/dist/components/questions/types/write-sentences/WriteSentencesClient.js.map +1 -0
  1110. package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts +3 -0
  1111. package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts.map +1 -0
  1112. package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js +175 -0
  1113. package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js.map +1 -0
  1114. package/dist/components/questions/types/write-sentences/index.d.ts +3 -0
  1115. package/dist/components/questions/types/write-sentences/index.d.ts.map +1 -0
  1116. package/dist/components/questions/types/write-sentences/index.js +3 -0
  1117. package/dist/components/questions/types/write-sentences/index.js.map +1 -0
  1118. package/dist/components/questions/types/write-sentences/register.d.ts +3 -0
  1119. package/dist/components/questions/types/write-sentences/register.d.ts.map +1 -0
  1120. package/dist/components/questions/types/write-sentences/register.js +59 -0
  1121. package/dist/components/questions/types/write-sentences/register.js.map +1 -0
  1122. package/dist/components/questions/types/write-sentences/transform.d.ts +3 -0
  1123. package/dist/components/questions/types/write-sentences/transform.d.ts.map +1 -0
  1124. package/dist/components/questions/types/write-sentences/transform.js +29 -0
  1125. package/dist/components/questions/types/write-sentences/transform.js.map +1 -0
  1126. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts +3 -0
  1127. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts.map +1 -0
  1128. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js +97 -0
  1129. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js.map +1 -0
  1130. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts +3 -0
  1131. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts.map +1 -0
  1132. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js +162 -0
  1133. package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js.map +1 -0
  1134. package/dist/components/questions/types/write-short-paragraph/index.d.ts +3 -0
  1135. package/dist/components/questions/types/write-short-paragraph/index.d.ts.map +1 -0
  1136. package/dist/components/questions/types/write-short-paragraph/index.js +3 -0
  1137. package/dist/components/questions/types/write-short-paragraph/index.js.map +1 -0
  1138. package/dist/components/questions/types/write-short-paragraph/register.d.ts +3 -0
  1139. package/dist/components/questions/types/write-short-paragraph/register.d.ts.map +1 -0
  1140. package/dist/components/questions/types/write-short-paragraph/register.js +5 -0
  1141. package/dist/components/questions/types/write-short-paragraph/register.js.map +1 -0
  1142. package/dist/components/questions/types/write-short-paragraph/transform.d.ts +3 -0
  1143. package/dist/components/questions/types/write-short-paragraph/transform.d.ts.map +1 -0
  1144. package/dist/components/questions/types/write-short-paragraph/transform.js +22 -0
  1145. package/dist/components/questions/types/write-short-paragraph/transform.js.map +1 -0
  1146. package/dist/components/questions/viewer/QuestionGroupViewer.d.ts +9 -0
  1147. package/dist/components/questions/viewer/QuestionGroupViewer.d.ts.map +1 -0
  1148. package/dist/components/questions/viewer/QuestionGroupViewer.js +37 -0
  1149. package/dist/components/questions/viewer/QuestionGroupViewer.js.map +1 -0
  1150. package/dist/components/questions/viewer/QuestionViewer.d.ts +10 -0
  1151. package/dist/components/questions/viewer/QuestionViewer.d.ts.map +1 -0
  1152. package/dist/components/questions/viewer/QuestionViewer.js +447 -0
  1153. package/dist/components/questions/viewer/QuestionViewer.js.map +1 -0
  1154. package/dist/components/questions/viewer/index.d.ts +3 -0
  1155. package/dist/components/questions/viewer/index.d.ts.map +1 -0
  1156. package/dist/components/questions/viewer/index.js +3 -0
  1157. package/dist/components/questions/viewer/index.js.map +1 -0
  1158. package/dist/components/results/ResultReviewPageContainer.d.ts +14 -0
  1159. package/dist/components/results/ResultReviewPageContainer.d.ts.map +1 -0
  1160. package/dist/components/results/ResultReviewPageContainer.js +99 -0
  1161. package/dist/components/results/ResultReviewPageContainer.js.map +1 -0
  1162. package/dist/components/results/ReviewQuestionRenderer.d.ts +7 -0
  1163. package/dist/components/results/ReviewQuestionRenderer.d.ts.map +1 -0
  1164. package/dist/components/results/ReviewQuestionRenderer.js +73 -0
  1165. package/dist/components/results/ReviewQuestionRenderer.js.map +1 -0
  1166. package/dist/components/results/index.d.ts +5 -0
  1167. package/dist/components/results/index.d.ts.map +1 -0
  1168. package/dist/components/results/index.js +3 -0
  1169. package/dist/components/results/index.js.map +1 -0
  1170. package/dist/components/results/result-review.utils.d.ts +3 -0
  1171. package/dist/components/results/result-review.utils.d.ts.map +1 -0
  1172. package/dist/components/results/result-review.utils.js +7 -0
  1173. package/dist/components/results/result-review.utils.js.map +1 -0
  1174. package/dist/components/results/review-data.d.ts +3 -0
  1175. package/dist/components/results/review-data.d.ts.map +1 -0
  1176. package/dist/components/results/review-data.js +151 -0
  1177. package/dist/components/results/review-data.js.map +1 -0
  1178. package/dist/components/results/review-renderer.utils.d.ts +68 -0
  1179. package/dist/components/results/review-renderer.utils.d.ts.map +1 -0
  1180. package/dist/components/results/review-renderer.utils.js +98 -0
  1181. package/dist/components/results/review-renderer.utils.js.map +1 -0
  1182. package/dist/components/results/review-types.d.ts +62 -0
  1183. package/dist/components/results/review-types.d.ts.map +1 -0
  1184. package/dist/components/results/review-types.js +2 -0
  1185. package/dist/components/results/review-types.js.map +1 -0
  1186. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts +9 -0
  1187. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts.map +1 -0
  1188. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js +139 -0
  1189. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js.map +1 -0
  1190. package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts +11 -0
  1191. package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts.map +1 -0
  1192. package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js +13 -0
  1193. package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js.map +1 -0
  1194. package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts +3 -0
  1195. package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts.map +1 -0
  1196. package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js +19 -0
  1197. package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js.map +1 -0
  1198. package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts +7 -0
  1199. package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts.map +1 -0
  1200. package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js +12 -0
  1201. package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js.map +1 -0
  1202. package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts +14 -0
  1203. package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts.map +1 -0
  1204. package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js +12 -0
  1205. package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js.map +1 -0
  1206. package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts +10 -0
  1207. package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts.map +1 -0
  1208. package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js +10 -0
  1209. package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js.map +1 -0
  1210. package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts +8 -0
  1211. package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts.map +1 -0
  1212. package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js +14 -0
  1213. package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js.map +1 -0
  1214. package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts +9 -0
  1215. package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts.map +1 -0
  1216. package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js +9 -0
  1217. package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js.map +1 -0
  1218. package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts +7 -0
  1219. package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts.map +1 -0
  1220. package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js +7 -0
  1221. package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js.map +1 -0
  1222. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts +8 -0
  1223. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts.map +1 -0
  1224. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js +6 -0
  1225. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js.map +1 -0
  1226. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts +11 -0
  1227. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts.map +1 -0
  1228. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js +10 -0
  1229. package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js.map +1 -0
  1230. package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts +25 -0
  1231. package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts.map +1 -0
  1232. package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js +42 -0
  1233. package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js.map +1 -0
  1234. package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts +8 -0
  1235. package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts.map +1 -0
  1236. package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js +26 -0
  1237. package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js.map +1 -0
  1238. package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu-2.png +0 -0
  1239. package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu-neutral.png +0 -0
  1240. package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu.png +0 -0
  1241. package/dist/components/themes/cambridge-yle/assets/images/bg-gradient.png +0 -0
  1242. package/dist/components/themes/cambridge-yle/assets/images/bg-title-old.png +0 -0
  1243. package/dist/components/themes/cambridge-yle/assets/images/bg-title-part.png +0 -0
  1244. package/dist/components/themes/cambridge-yle/assets/images/bg-title.png +0 -0
  1245. package/dist/components/themes/cambridge-yle/assets/images/bg.jpeg +0 -0
  1246. package/dist/components/themes/cambridge-yle/assets/images/border-2.png +0 -0
  1247. package/dist/components/themes/cambridge-yle/assets/images/border-old.png +0 -0
  1248. package/dist/components/themes/cambridge-yle/assets/images/border.png +0 -0
  1249. package/dist/components/themes/cambridge-yle/assets/images/button_feedback_vi.png +0 -0
  1250. package/dist/components/themes/cambridge-yle/assets/images/button_feedback_vi.webp +0 -0
  1251. package/dist/components/themes/cambridge-yle/assets/images/close.png +0 -0
  1252. package/dist/components/themes/cambridge-yle/assets/images/close_old.png +0 -0
  1253. package/dist/components/themes/cambridge-yle/assets/images/demo-audio.mp3 +0 -0
  1254. package/dist/components/themes/cambridge-yle/assets/images/demo-image.jpeg +0 -0
  1255. package/dist/components/themes/cambridge-yle/assets/images/frame-old.png +0 -0
  1256. package/dist/components/themes/cambridge-yle/assets/images/frame.png +0 -0
  1257. package/dist/components/themes/cambridge-yle/assets/images/ic-pause.png +0 -0
  1258. package/dist/components/themes/cambridge-yle/assets/images/icon-bottom-left.png +0 -0
  1259. package/dist/components/themes/cambridge-yle/assets/images/icon-bottom-right.png +0 -0
  1260. package/dist/components/themes/cambridge-yle/assets/images/new_design.png +0 -0
  1261. package/dist/components/themes/cambridge-yle/assets/images/phao.png +0 -0
  1262. package/dist/components/themes/cambridge-yle/assets/images/question-card-bg-full.png +0 -0
  1263. package/dist/components/themes/cambridge-yle/assets/images/question-card-bg.png +0 -0
  1264. package/dist/components/themes/cambridge-yle/assets/images/rangsanho.png +0 -0
  1265. package/dist/components/themes/cambridge-yle/assets/images/rocket.png +0 -0
  1266. package/dist/components/themes/cambridge-yle/assets/images/sanho.png +0 -0
  1267. package/dist/components/themes/cambridge-yle/assets/images/sao.png +0 -0
  1268. package/dist/components/themes/cambridge-yle/assets/images/vooc.png +0 -0
  1269. package/dist/components/themes/cambridge-yle/index.d.ts +13 -0
  1270. package/dist/components/themes/cambridge-yle/index.d.ts.map +1 -0
  1271. package/dist/components/themes/cambridge-yle/index.js +14 -0
  1272. package/dist/components/themes/cambridge-yle/index.js.map +1 -0
  1273. package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts +19 -0
  1274. package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts.map +1 -0
  1275. package/dist/components/themes/english-certification/EcAnswerTheQuestion.js +25 -0
  1276. package/dist/components/themes/english-certification/EcAnswerTheQuestion.js.map +1 -0
  1277. package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts +22 -0
  1278. package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts.map +1 -0
  1279. package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js +89 -0
  1280. package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js.map +1 -0
  1281. package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts +20 -0
  1282. package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts.map +1 -0
  1283. package/dist/components/themes/english-certification/EcWordFillParagraph.js +56 -0
  1284. package/dist/components/themes/english-certification/EcWordFillParagraph.js.map +1 -0
  1285. package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts +20 -0
  1286. package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts.map +1 -0
  1287. package/dist/components/themes/english-certification/EcWordFillStructuredForm.js +157 -0
  1288. package/dist/components/themes/english-certification/EcWordFillStructuredForm.js.map +1 -0
  1289. package/dist/components/themes/english-certification/EcWritingTask.d.ts +19 -0
  1290. package/dist/components/themes/english-certification/EcWritingTask.d.ts.map +1 -0
  1291. package/dist/components/themes/english-certification/EcWritingTask.js +35 -0
  1292. package/dist/components/themes/english-certification/EcWritingTask.js.map +1 -0
  1293. package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts +14 -0
  1294. package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts.map +1 -0
  1295. package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js +115 -0
  1296. package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js.map +1 -0
  1297. package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts +11 -0
  1298. package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts.map +1 -0
  1299. package/dist/components/themes/english-certification/EnglishCertificationBrand.js +12 -0
  1300. package/dist/components/themes/english-certification/EnglishCertificationBrand.js.map +1 -0
  1301. package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts +20 -0
  1302. package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts.map +1 -0
  1303. package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js +22 -0
  1304. package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js.map +1 -0
  1305. package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts +23 -0
  1306. package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts.map +1 -0
  1307. package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js +16 -0
  1308. package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js.map +1 -0
  1309. package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts +23 -0
  1310. package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts.map +1 -0
  1311. package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js +20 -0
  1312. package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js.map +1 -0
  1313. package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts +25 -0
  1314. package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts.map +1 -0
  1315. package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js +149 -0
  1316. package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js.map +1 -0
  1317. package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts +25 -0
  1318. package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts.map +1 -0
  1319. package/dist/components/themes/english-certification/EnglishCertificationHeader.js +32 -0
  1320. package/dist/components/themes/english-certification/EnglishCertificationHeader.js.map +1 -0
  1321. package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts +19 -0
  1322. package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts.map +1 -0
  1323. package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js +72 -0
  1324. package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js.map +1 -0
  1325. package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts +29 -0
  1326. package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts.map +1 -0
  1327. package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js +34 -0
  1328. package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js.map +1 -0
  1329. package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts +22 -0
  1330. package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts.map +1 -0
  1331. package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js +17 -0
  1332. package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js.map +1 -0
  1333. package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts +21 -0
  1334. package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts.map +1 -0
  1335. package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js +23 -0
  1336. package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js.map +1 -0
  1337. package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts +26 -0
  1338. package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts.map +1 -0
  1339. package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js +38 -0
  1340. package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js.map +1 -0
  1341. package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts +25 -0
  1342. package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts.map +1 -0
  1343. package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js +73 -0
  1344. package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js.map +1 -0
  1345. package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts +29 -0
  1346. package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts.map +1 -0
  1347. package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js +91 -0
  1348. package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js.map +1 -0
  1349. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts +32 -0
  1350. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts.map +1 -0
  1351. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js +19 -0
  1352. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js.map +1 -0
  1353. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts +26 -0
  1354. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts.map +1 -0
  1355. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js +30 -0
  1356. package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js.map +1 -0
  1357. package/dist/components/themes/english-certification/english-certification-theme.d.ts +57 -0
  1358. package/dist/components/themes/english-certification/english-certification-theme.d.ts.map +1 -0
  1359. package/dist/components/themes/english-certification/english-certification-theme.js +59 -0
  1360. package/dist/components/themes/english-certification/english-certification-theme.js.map +1 -0
  1361. package/dist/components/themes/english-certification/grouped-question-utils.d.ts +24 -0
  1362. package/dist/components/themes/english-certification/grouped-question-utils.d.ts.map +1 -0
  1363. package/dist/components/themes/english-certification/grouped-question-utils.js +219 -0
  1364. package/dist/components/themes/english-certification/grouped-question-utils.js.map +1 -0
  1365. package/dist/components/themes/english-certification/index.d.ts +23 -0
  1366. package/dist/components/themes/english-certification/index.d.ts.map +1 -0
  1367. package/dist/components/themes/english-certification/index.js +22 -0
  1368. package/dist/components/themes/english-certification/index.js.map +1 -0
  1369. package/dist/components/themes/index.d.ts +8 -0
  1370. package/dist/components/themes/index.d.ts.map +1 -0
  1371. package/dist/components/themes/index.js +7 -0
  1372. package/dist/components/themes/index.js.map +1 -0
  1373. package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts +10 -0
  1374. package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts.map +1 -0
  1375. package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js +171 -0
  1376. package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js.map +1 -0
  1377. package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts +3 -0
  1378. package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts.map +1 -0
  1379. package/dist/components/themes/summer-sky/SummerSkyLayout.js +222 -0
  1380. package/dist/components/themes/summer-sky/SummerSkyLayout.js.map +1 -0
  1381. package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts +9 -0
  1382. package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts.map +1 -0
  1383. package/dist/components/themes/summer-sky/SummerSkySubmitModal.js +19 -0
  1384. package/dist/components/themes/summer-sky/SummerSkySubmitModal.js.map +1 -0
  1385. package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts +10 -0
  1386. package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts.map +1 -0
  1387. package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js +195 -0
  1388. package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js.map +1 -0
  1389. package/dist/components/themes/summer-sky/assets/images/Group_3432849.png +0 -0
  1390. package/dist/components/themes/summer-sky/assets/images/arrow-left.png +0 -0
  1391. package/dist/components/themes/summer-sky/assets/images/audio-icon.png +0 -0
  1392. package/dist/components/themes/summer-sky/assets/images/audio_ver2_icon.png +0 -0
  1393. package/dist/components/themes/summer-sky/assets/images/background-noticesubmit.png +0 -0
  1394. package/dist/components/themes/summer-sky/assets/images/background-question.png +0 -0
  1395. package/dist/components/themes/summer-sky/assets/images/background-v2.png +0 -0
  1396. package/dist/components/themes/summer-sky/assets/images/background_title.png +0 -0
  1397. package/dist/components/themes/summer-sky/assets/images/btn-notisubmid.png +0 -0
  1398. package/dist/components/themes/summer-sky/assets/images/button_feedback_vi.png +0 -0
  1399. package/dist/components/themes/summer-sky/assets/images/check-mic-btn.png +0 -0
  1400. package/dist/components/themes/summer-sky/assets/images/clock.png +0 -0
  1401. package/dist/components/themes/summer-sky/assets/images/has_answered.png +0 -0
  1402. package/dist/components/themes/summer-sky/assets/images/ic-mute-sunset.png +0 -0
  1403. package/dist/components/themes/summer-sky/assets/images/ic-mute.png +0 -0
  1404. package/dist/components/themes/summer-sky/assets/images/ic-play-sunset.png +0 -0
  1405. package/dist/components/themes/summer-sky/assets/images/ic-play-violet.webp +0 -0
  1406. package/dist/components/themes/summer-sky/assets/images/ic-play.webp +0 -0
  1407. package/dist/components/themes/summer-sky/assets/images/instruction-step.png +0 -0
  1408. package/dist/components/themes/summer-sky/assets/images/listen-audio.png +0 -0
  1409. package/dist/components/themes/summer-sky/assets/images/lock_mic_ver2_icon.png +0 -0
  1410. package/dist/components/themes/summer-sky/assets/images/mic-icon.png +0 -0
  1411. package/dist/components/themes/summer-sky/assets/images/mic_ver2_icon.png +0 -0
  1412. package/dist/components/themes/summer-sky/assets/images/next-btn.png +0 -0
  1413. package/dist/components/themes/summer-sky/assets/images/next-question-btn.png +0 -0
  1414. package/dist/components/themes/summer-sky/assets/images/ocean-frame.png +0 -0
  1415. package/dist/components/themes/summer-sky/assets/images/oceanedu-mascot.png +0 -0
  1416. package/dist/components/themes/summer-sky/assets/images/ong.png +0 -0
  1417. package/dist/components/themes/summer-sky/assets/images/pause-audio.png +0 -0
  1418. package/dist/components/themes/summer-sky/assets/images/pause_audio_ver2_icon.png +0 -0
  1419. package/dist/components/themes/summer-sky/assets/images/prev-question-btn.png +0 -0
  1420. package/dist/components/themes/summer-sky/assets/images/question-badge-sunset.png +0 -0
  1421. package/dist/components/themes/summer-sky/assets/images/radio-check.png +0 -0
  1422. package/dist/components/themes/summer-sky/assets/images/red-circle.png +0 -0
  1423. package/dist/components/themes/summer-sky/assets/images/rope.png +0 -0
  1424. package/dist/components/themes/summer-sky/assets/images/rope_2.png +0 -0
  1425. package/dist/components/themes/summer-sky/assets/images/rope_v3.png +0 -0
  1426. package/dist/components/themes/summer-sky/assets/images/start-exam.png +0 -0
  1427. package/dist/components/themes/summer-sky/assets/images/stop-mic.png +0 -0
  1428. package/dist/components/themes/summer-sky/assets/images/stop_audio_ver2_icon.png +0 -0
  1429. package/dist/components/themes/summer-sky/assets/images/student-avatar.png +0 -0
  1430. package/dist/components/themes/summer-sky/assets/images/submit.png +0 -0
  1431. package/dist/components/themes/summer-sky/assets/images/teacher_transparent (1).mp4 +0 -0
  1432. package/dist/components/themes/summer-sky/assets/images/title-logo.png +0 -0
  1433. package/dist/components/themes/summer-sky/assets/images/title-notisubmit.png +0 -0
  1434. package/dist/components/themes/summer-sky/assets/images/title_table.png +0 -0
  1435. package/dist/components/themes/summer-sky/assets/images/traloicauhoi.png +0 -0
  1436. package/dist/components/themes/summer-sky/assets/images/x-noticesubmit.png.png +0 -0
  1437. package/dist/components/themes/summer-sky/assets/styles/SummerSkyLayout.module.css +406 -0
  1438. package/dist/components/themes/summer-sky/assets/styles/SummerSkyWaitingRoom.module.css +419 -0
  1439. package/dist/components/themes/types.d.ts +62 -0
  1440. package/dist/components/themes/types.d.ts.map +1 -0
  1441. package/dist/components/themes/types.js +2 -0
  1442. package/dist/components/themes/types.js.map +1 -0
  1443. package/dist/components/ui/alert-dialog.d.ts +21 -0
  1444. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  1445. package/dist/components/ui/alert-dialog.js +27 -0
  1446. package/dist/components/ui/alert-dialog.js.map +1 -0
  1447. package/dist/components/ui/alert.d.ts +9 -0
  1448. package/dist/components/ui/alert.d.ts.map +1 -0
  1449. package/dist/components/ui/alert.js +23 -0
  1450. package/dist/components/ui/alert.js.map +1 -0
  1451. package/dist/components/ui/avatar.d.ts +7 -0
  1452. package/dist/components/ui/avatar.d.ts.map +1 -0
  1453. package/dist/components/ui/avatar.js +13 -0
  1454. package/dist/components/ui/avatar.js.map +1 -0
  1455. package/dist/components/ui/badge.d.ts +16 -0
  1456. package/dist/components/ui/badge.d.ts.map +1 -0
  1457. package/dist/components/ui/badge.js +39 -0
  1458. package/dist/components/ui/badge.js.map +1 -0
  1459. package/dist/components/ui/button.d.ts +11 -0
  1460. package/dist/components/ui/button.d.ts.map +1 -0
  1461. package/dist/components/ui/button.js +36 -0
  1462. package/dist/components/ui/button.js.map +1 -0
  1463. package/dist/components/ui/calendar.d.ts +9 -0
  1464. package/dist/components/ui/calendar.d.ts.map +1 -0
  1465. package/dist/components/ui/calendar.js +77 -0
  1466. package/dist/components/ui/calendar.js.map +1 -0
  1467. package/dist/components/ui/card.d.ts +9 -0
  1468. package/dist/components/ui/card.d.ts.map +1 -0
  1469. package/dist/components/ui/card.js +17 -0
  1470. package/dist/components/ui/card.js.map +1 -0
  1471. package/dist/components/ui/carousel.d.ts +20 -0
  1472. package/dist/components/ui/carousel.d.ts.map +1 -0
  1473. package/dist/components/ui/carousel.js +92 -0
  1474. package/dist/components/ui/carousel.js.map +1 -0
  1475. package/dist/components/ui/checkbox.d.ts +5 -0
  1476. package/dist/components/ui/checkbox.d.ts.map +1 -0
  1477. package/dist/components/ui/checkbox.js +10 -0
  1478. package/dist/components/ui/checkbox.js.map +1 -0
  1479. package/dist/components/ui/collapsible.d.ts +6 -0
  1480. package/dist/components/ui/collapsible.d.ts.map +1 -0
  1481. package/dist/components/ui/collapsible.js +14 -0
  1482. package/dist/components/ui/collapsible.js.map +1 -0
  1483. package/dist/components/ui/command.d.ts +19 -0
  1484. package/dist/components/ui/command.d.ts.map +1 -0
  1485. package/dist/components/ui/command.js +35 -0
  1486. package/dist/components/ui/command.js.map +1 -0
  1487. package/dist/components/ui/confirm-dialog.d.ts +24 -0
  1488. package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
  1489. package/dist/components/ui/confirm-dialog.js +50 -0
  1490. package/dist/components/ui/confirm-dialog.js.map +1 -0
  1491. package/dist/components/ui/dialog.d.ts +20 -0
  1492. package/dist/components/ui/dialog.d.ts.map +1 -0
  1493. package/dist/components/ui/dialog.js +24 -0
  1494. package/dist/components/ui/dialog.js.map +1 -0
  1495. package/dist/components/ui/drawer.d.ts +14 -0
  1496. package/dist/components/ui/drawer.d.ts.map +1 -0
  1497. package/dist/components/ui/drawer.js +36 -0
  1498. package/dist/components/ui/drawer.js.map +1 -0
  1499. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  1500. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  1501. package/dist/components/ui/dropdown-menu.js +34 -0
  1502. package/dist/components/ui/dropdown-menu.js.map +1 -0
  1503. package/dist/components/ui/file-upload.d.ts +25 -0
  1504. package/dist/components/ui/file-upload.d.ts.map +1 -0
  1505. package/dist/components/ui/file-upload.js +156 -0
  1506. package/dist/components/ui/file-upload.js.map +1 -0
  1507. package/dist/components/ui/form.d.ts +26 -0
  1508. package/dist/components/ui/form.d.ts.map +1 -0
  1509. package/dist/components/ui/form.js +63 -0
  1510. package/dist/components/ui/form.js.map +1 -0
  1511. package/dist/components/ui/hover-card.d.ts +7 -0
  1512. package/dist/components/ui/hover-card.d.ts.map +1 -0
  1513. package/dist/components/ui/hover-card.js +11 -0
  1514. package/dist/components/ui/hover-card.js.map +1 -0
  1515. package/dist/components/ui/image-preview.d.ts +19 -0
  1516. package/dist/components/ui/image-preview.d.ts.map +1 -0
  1517. package/dist/components/ui/image-preview.js +30 -0
  1518. package/dist/components/ui/image-preview.js.map +1 -0
  1519. package/dist/components/ui/input.d.ts +4 -0
  1520. package/dist/components/ui/input.d.ts.map +1 -0
  1521. package/dist/components/ui/input.js +9 -0
  1522. package/dist/components/ui/input.js.map +1 -0
  1523. package/dist/components/ui/label.d.ts +6 -0
  1524. package/dist/components/ui/label.d.ts.map +1 -0
  1525. package/dist/components/ui/label.js +10 -0
  1526. package/dist/components/ui/label.js.map +1 -0
  1527. package/dist/components/ui/language-switcher.d.ts +2 -0
  1528. package/dist/components/ui/language-switcher.d.ts.map +1 -0
  1529. package/dist/components/ui/language-switcher.js +16 -0
  1530. package/dist/components/ui/language-switcher.js.map +1 -0
  1531. package/dist/components/ui/multi-select.d.ts +17 -0
  1532. package/dist/components/ui/multi-select.d.ts.map +1 -0
  1533. package/dist/components/ui/multi-select.js +91 -0
  1534. package/dist/components/ui/multi-select.js.map +1 -0
  1535. package/dist/components/ui/points-input.d.ts +16 -0
  1536. package/dist/components/ui/points-input.d.ts.map +1 -0
  1537. package/dist/components/ui/points-input.js +34 -0
  1538. package/dist/components/ui/points-input.js.map +1 -0
  1539. package/dist/components/ui/popover.d.ts +11 -0
  1540. package/dist/components/ui/popover.d.ts.map +1 -0
  1541. package/dist/components/ui/popover.js +27 -0
  1542. package/dist/components/ui/popover.js.map +1 -0
  1543. package/dist/components/ui/progress.d.ts +5 -0
  1544. package/dist/components/ui/progress.d.ts.map +1 -0
  1545. package/dist/components/ui/progress.js +17 -0
  1546. package/dist/components/ui/progress.js.map +1 -0
  1547. package/dist/components/ui/radio-group.d.ts +6 -0
  1548. package/dist/components/ui/radio-group.d.ts.map +1 -0
  1549. package/dist/components/ui/radio-group.js +13 -0
  1550. package/dist/components/ui/radio-group.js.map +1 -0
  1551. package/dist/components/ui/scroll-area.d.ts +6 -0
  1552. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  1553. package/dist/components/ui/scroll-area.js +12 -0
  1554. package/dist/components/ui/scroll-area.js.map +1 -0
  1555. package/dist/components/ui/select.d.ts +16 -0
  1556. package/dist/components/ui/select.d.ts.map +1 -0
  1557. package/dist/components/ui/select.js +39 -0
  1558. package/dist/components/ui/select.js.map +1 -0
  1559. package/dist/components/ui/separator.d.ts +5 -0
  1560. package/dist/components/ui/separator.d.ts.map +1 -0
  1561. package/dist/components/ui/separator.js +9 -0
  1562. package/dist/components/ui/separator.js.map +1 -0
  1563. package/dist/components/ui/sheet.d.ts +14 -0
  1564. package/dist/components/ui/sheet.d.ts.map +1 -0
  1565. package/dist/components/ui/sheet.js +41 -0
  1566. package/dist/components/ui/sheet.js.map +1 -0
  1567. package/dist/components/ui/single-select.d.ts +18 -0
  1568. package/dist/components/ui/single-select.d.ts.map +1 -0
  1569. package/dist/components/ui/single-select.js +77 -0
  1570. package/dist/components/ui/single-select.js.map +1 -0
  1571. package/dist/components/ui/skeleton.d.ts +3 -0
  1572. package/dist/components/ui/skeleton.d.ts.map +1 -0
  1573. package/dist/components/ui/skeleton.js +7 -0
  1574. package/dist/components/ui/skeleton.js.map +1 -0
  1575. package/dist/components/ui/switch.d.ts +5 -0
  1576. package/dist/components/ui/switch.d.ts.map +1 -0
  1577. package/dist/components/ui/switch.js +9 -0
  1578. package/dist/components/ui/switch.js.map +1 -0
  1579. package/dist/components/ui/table.d.ts +11 -0
  1580. package/dist/components/ui/table.d.ts.map +1 -0
  1581. package/dist/components/ui/table.js +21 -0
  1582. package/dist/components/ui/table.js.map +1 -0
  1583. package/dist/components/ui/tabs.d.ts +8 -0
  1584. package/dist/components/ui/tabs.d.ts.map +1 -0
  1585. package/dist/components/ui/tabs.js +18 -0
  1586. package/dist/components/ui/tabs.js.map +1 -0
  1587. package/dist/components/ui/textarea.d.ts +6 -0
  1588. package/dist/components/ui/textarea.d.ts.map +1 -0
  1589. package/dist/components/ui/textarea.js +9 -0
  1590. package/dist/components/ui/textarea.js.map +1 -0
  1591. package/dist/components/ui/tooltip.d.ts +8 -0
  1592. package/dist/components/ui/tooltip.d.ts.map +1 -0
  1593. package/dist/components/ui/tooltip.js +12 -0
  1594. package/dist/components/ui/tooltip.js.map +1 -0
  1595. package/dist/global.d.ts +46 -0
  1596. package/dist/index.d.ts +28 -0
  1597. package/dist/index.d.ts.map +1 -0
  1598. package/dist/index.js +20 -0
  1599. package/dist/index.js.map +1 -0
  1600. package/dist/mcp/config.d.ts +13 -0
  1601. package/dist/mcp/config.d.ts.map +1 -0
  1602. package/dist/mcp/config.js +33 -0
  1603. package/dist/mcp/config.js.map +1 -0
  1604. package/dist/mcp/http-client.d.ts +7 -0
  1605. package/dist/mcp/http-client.d.ts.map +1 -0
  1606. package/dist/mcp/http-client.js +49 -0
  1607. package/dist/mcp/http-client.js.map +1 -0
  1608. package/dist/mcp/index.d.ts +7 -0
  1609. package/dist/mcp/index.d.ts.map +1 -0
  1610. package/dist/mcp/index.js +31 -0
  1611. package/dist/mcp/index.js.map +1 -0
  1612. package/dist/mcp/tools/_helpers.d.ts +5 -0
  1613. package/dist/mcp/tools/_helpers.d.ts.map +1 -0
  1614. package/dist/mcp/tools/_helpers.js +26 -0
  1615. package/dist/mcp/tools/_helpers.js.map +1 -0
  1616. package/dist/mcp/tools/exams.d.ts +3 -0
  1617. package/dist/mcp/tools/exams.d.ts.map +1 -0
  1618. package/dist/mcp/tools/exams.js +440 -0
  1619. package/dist/mcp/tools/exams.js.map +1 -0
  1620. package/dist/mcp/tools/index.d.ts +3 -0
  1621. package/dist/mcp/tools/index.d.ts.map +1 -0
  1622. package/dist/mcp/tools/index.js +7 -0
  1623. package/dist/mcp/tools/index.js.map +1 -0
  1624. package/dist/mcp/tools/results.d.ts +3 -0
  1625. package/dist/mcp/tools/results.d.ts.map +1 -0
  1626. package/dist/mcp/tools/results.js +20 -0
  1627. package/dist/mcp/tools/results.js.map +1 -0
  1628. package/dist/shared/constants/ApiConstant.d.ts +232 -0
  1629. package/dist/shared/constants/ApiConstant.d.ts.map +1 -0
  1630. package/dist/shared/constants/ApiConstant.js +277 -0
  1631. package/dist/shared/constants/ApiConstant.js.map +1 -0
  1632. package/dist/shared/constants/QueryKeyConstant.d.ts +99 -0
  1633. package/dist/shared/constants/QueryKeyConstant.d.ts.map +1 -0
  1634. package/dist/shared/constants/QueryKeyConstant.js +113 -0
  1635. package/dist/shared/constants/QueryKeyConstant.js.map +1 -0
  1636. package/dist/shared/constants/exam-level.enum.d.ts +33 -0
  1637. package/dist/shared/constants/exam-level.enum.d.ts.map +1 -0
  1638. package/dist/shared/constants/exam-level.enum.js +42 -0
  1639. package/dist/shared/constants/exam-level.enum.js.map +1 -0
  1640. package/dist/shared/constants/landings/placement-test.constants.d.ts +128 -0
  1641. package/dist/shared/constants/landings/placement-test.constants.d.ts.map +1 -0
  1642. package/dist/shared/constants/landings/placement-test.constants.js +432 -0
  1643. package/dist/shared/constants/landings/placement-test.constants.js.map +1 -0
  1644. package/dist/shared/constants/question-skills.d.ts +93 -0
  1645. package/dist/shared/constants/question-skills.d.ts.map +1 -0
  1646. package/dist/shared/constants/question-skills.js +268 -0
  1647. package/dist/shared/constants/question-skills.js.map +1 -0
  1648. package/dist/shared/constants/routes.d.ts +70 -0
  1649. package/dist/shared/constants/routes.d.ts.map +1 -0
  1650. package/dist/shared/constants/routes.js +82 -0
  1651. package/dist/shared/constants/routes.js.map +1 -0
  1652. package/dist/shared/index.d.ts +8 -0
  1653. package/dist/shared/index.d.ts.map +1 -0
  1654. package/dist/shared/index.js +8 -0
  1655. package/dist/shared/index.js.map +1 -0
  1656. package/dist/shared/lib/hooks/index.d.ts +11 -0
  1657. package/dist/shared/lib/hooks/index.d.ts.map +1 -0
  1658. package/dist/shared/lib/hooks/index.js +11 -0
  1659. package/dist/shared/lib/hooks/index.js.map +1 -0
  1660. package/dist/shared/lib/hooks/useAlertDialog.d.ts +36 -0
  1661. package/dist/shared/lib/hooks/useAlertDialog.d.ts.map +1 -0
  1662. package/dist/shared/lib/hooks/useAlertDialog.js +58 -0
  1663. package/dist/shared/lib/hooks/useAlertDialog.js.map +1 -0
  1664. package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts +8 -0
  1665. package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts.map +1 -0
  1666. package/dist/shared/lib/hooks/useAudioPlayCounter.js +31 -0
  1667. package/dist/shared/lib/hooks/useAudioPlayCounter.js.map +1 -0
  1668. package/dist/shared/lib/hooks/useAudioPreview.d.ts +16 -0
  1669. package/dist/shared/lib/hooks/useAudioPreview.d.ts.map +1 -0
  1670. package/dist/shared/lib/hooks/useAudioPreview.js +82 -0
  1671. package/dist/shared/lib/hooks/useAudioPreview.js.map +1 -0
  1672. package/dist/shared/lib/hooks/useAudioUpload.d.ts +18 -0
  1673. package/dist/shared/lib/hooks/useAudioUpload.d.ts.map +1 -0
  1674. package/dist/shared/lib/hooks/useAudioUpload.js +25 -0
  1675. package/dist/shared/lib/hooks/useAudioUpload.js.map +1 -0
  1676. package/dist/shared/lib/hooks/useConfirmDialog.d.ts +44 -0
  1677. package/dist/shared/lib/hooks/useConfirmDialog.d.ts.map +1 -0
  1678. package/dist/shared/lib/hooks/useConfirmDialog.js +90 -0
  1679. package/dist/shared/lib/hooks/useConfirmDialog.js.map +1 -0
  1680. package/dist/shared/lib/hooks/useDebouncedCallback.d.ts +8 -0
  1681. package/dist/shared/lib/hooks/useDebouncedCallback.d.ts.map +1 -0
  1682. package/dist/shared/lib/hooks/useDebouncedCallback.js +33 -0
  1683. package/dist/shared/lib/hooks/useDebouncedCallback.js.map +1 -0
  1684. package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts +11 -0
  1685. package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts.map +1 -0
  1686. package/dist/shared/lib/hooks/useDelayedAutoPlay.js +13 -0
  1687. package/dist/shared/lib/hooks/useDelayedAutoPlay.js.map +1 -0
  1688. package/dist/shared/lib/hooks/useFileUpload.d.ts +15 -0
  1689. package/dist/shared/lib/hooks/useFileUpload.d.ts.map +1 -0
  1690. package/dist/shared/lib/hooks/useFileUpload.js +25 -0
  1691. package/dist/shared/lib/hooks/useFileUpload.js.map +1 -0
  1692. package/dist/shared/lib/hooks/useImageUrl.d.ts +2 -0
  1693. package/dist/shared/lib/hooks/useImageUrl.d.ts.map +1 -0
  1694. package/dist/shared/lib/hooks/useImageUrl.js +6 -0
  1695. package/dist/shared/lib/hooks/useImageUrl.js.map +1 -0
  1696. package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts +11 -0
  1697. package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts.map +1 -0
  1698. package/dist/shared/lib/hooks/usePresignedFileUrl.js +11 -0
  1699. package/dist/shared/lib/hooks/usePresignedFileUrl.js.map +1 -0
  1700. package/dist/shared/lib/hooks/useReactHookForm.d.ts +34 -0
  1701. package/dist/shared/lib/hooks/useReactHookForm.d.ts.map +1 -0
  1702. package/dist/shared/lib/hooks/useReactHookForm.js +32 -0
  1703. package/dist/shared/lib/hooks/useReactHookForm.js.map +1 -0
  1704. package/dist/shared/lib/hooks/useToast.d.ts +35 -0
  1705. package/dist/shared/lib/hooks/useToast.d.ts.map +1 -0
  1706. package/dist/shared/lib/hooks/useToast.js +63 -0
  1707. package/dist/shared/lib/hooks/useToast.js.map +1 -0
  1708. package/dist/shared/lib/i18n/index.d.ts +32 -0
  1709. package/dist/shared/lib/i18n/index.d.ts.map +1 -0
  1710. package/dist/shared/lib/i18n/index.js +55 -0
  1711. package/dist/shared/lib/i18n/index.js.map +1 -0
  1712. package/dist/shared/lib/i18n/messages/en/admin.d.ts +1937 -0
  1713. package/dist/shared/lib/i18n/messages/en/admin.d.ts.map +1 -0
  1714. package/dist/shared/lib/i18n/messages/en/admin.js +2105 -0
  1715. package/dist/shared/lib/i18n/messages/en/admin.js.map +1 -0
  1716. package/dist/shared/lib/i18n/messages/en/auth.d.ts +82 -0
  1717. package/dist/shared/lib/i18n/messages/en/auth.d.ts.map +1 -0
  1718. package/dist/shared/lib/i18n/messages/en/auth.js +87 -0
  1719. package/dist/shared/lib/i18n/messages/en/auth.js.map +1 -0
  1720. package/dist/shared/lib/i18n/messages/en/common.d.ts +125 -0
  1721. package/dist/shared/lib/i18n/messages/en/common.d.ts.map +1 -0
  1722. package/dist/shared/lib/i18n/messages/en/common.js +141 -0
  1723. package/dist/shared/lib/i18n/messages/en/common.js.map +1 -0
  1724. package/dist/shared/lib/i18n/messages/en/file-upload.d.ts +17 -0
  1725. package/dist/shared/lib/i18n/messages/en/file-upload.d.ts.map +1 -0
  1726. package/dist/shared/lib/i18n/messages/en/file-upload.js +19 -0
  1727. package/dist/shared/lib/i18n/messages/en/file-upload.js.map +1 -0
  1728. package/dist/shared/lib/i18n/messages/en/student.d.ts +125 -0
  1729. package/dist/shared/lib/i18n/messages/en/student.d.ts.map +1 -0
  1730. package/dist/shared/lib/i18n/messages/en/student.js +134 -0
  1731. package/dist/shared/lib/i18n/messages/en/student.js.map +1 -0
  1732. package/dist/shared/lib/i18n/messages/en/terms.d.ts +27 -0
  1733. package/dist/shared/lib/i18n/messages/en/terms.d.ts.map +1 -0
  1734. package/dist/shared/lib/i18n/messages/en/terms.js +38 -0
  1735. package/dist/shared/lib/i18n/messages/en/terms.js.map +1 -0
  1736. package/dist/shared/lib/i18n/messages/en.d.ts +2293 -0
  1737. package/dist/shared/lib/i18n/messages/en.d.ts.map +1 -0
  1738. package/dist/shared/lib/i18n/messages/en.js +16 -0
  1739. package/dist/shared/lib/i18n/messages/en.js.map +1 -0
  1740. package/dist/shared/lib/i18n/messages/vi/admin.d.ts +1937 -0
  1741. package/dist/shared/lib/i18n/messages/vi/admin.d.ts.map +1 -0
  1742. package/dist/shared/lib/i18n/messages/vi/admin.js +2105 -0
  1743. package/dist/shared/lib/i18n/messages/vi/admin.js.map +1 -0
  1744. package/dist/shared/lib/i18n/messages/vi/auth.d.ts +82 -0
  1745. package/dist/shared/lib/i18n/messages/vi/auth.d.ts.map +1 -0
  1746. package/dist/shared/lib/i18n/messages/vi/auth.js +87 -0
  1747. package/dist/shared/lib/i18n/messages/vi/auth.js.map +1 -0
  1748. package/dist/shared/lib/i18n/messages/vi/common.d.ts +125 -0
  1749. package/dist/shared/lib/i18n/messages/vi/common.d.ts.map +1 -0
  1750. package/dist/shared/lib/i18n/messages/vi/common.js +141 -0
  1751. package/dist/shared/lib/i18n/messages/vi/common.js.map +1 -0
  1752. package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts +17 -0
  1753. package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts.map +1 -0
  1754. package/dist/shared/lib/i18n/messages/vi/file-upload.js +19 -0
  1755. package/dist/shared/lib/i18n/messages/vi/file-upload.js.map +1 -0
  1756. package/dist/shared/lib/i18n/messages/vi/student.d.ts +125 -0
  1757. package/dist/shared/lib/i18n/messages/vi/student.d.ts.map +1 -0
  1758. package/dist/shared/lib/i18n/messages/vi/student.js +134 -0
  1759. package/dist/shared/lib/i18n/messages/vi/student.js.map +1 -0
  1760. package/dist/shared/lib/i18n/messages/vi/terms.d.ts +27 -0
  1761. package/dist/shared/lib/i18n/messages/vi/terms.d.ts.map +1 -0
  1762. package/dist/shared/lib/i18n/messages/vi/terms.js +38 -0
  1763. package/dist/shared/lib/i18n/messages/vi/terms.js.map +1 -0
  1764. package/dist/shared/lib/i18n/messages/vi.d.ts +2293 -0
  1765. package/dist/shared/lib/i18n/messages/vi.d.ts.map +1 -0
  1766. package/dist/shared/lib/i18n/messages/vi.js +16 -0
  1767. package/dist/shared/lib/i18n/messages/vi.js.map +1 -0
  1768. package/dist/shared/lib/i18n/types.d.ts +4 -0
  1769. package/dist/shared/lib/i18n/types.d.ts.map +1 -0
  1770. package/dist/shared/lib/i18n/types.js +2 -0
  1771. package/dist/shared/lib/i18n/types.js.map +1 -0
  1772. package/dist/shared/lib/stores/examQuestionStore.d.ts +95 -0
  1773. package/dist/shared/lib/stores/examQuestionStore.d.ts.map +1 -0
  1774. package/dist/shared/lib/stores/examQuestionStore.js +213 -0
  1775. package/dist/shared/lib/stores/examQuestionStore.js.map +1 -0
  1776. package/dist/shared/lib/stores/localeStore.d.ts +20 -0
  1777. package/dist/shared/lib/stores/localeStore.d.ts.map +1 -0
  1778. package/dist/shared/lib/stores/localeStore.js +11 -0
  1779. package/dist/shared/lib/stores/localeStore.js.map +1 -0
  1780. package/dist/shared/lib/utils/public-page.d.ts +9 -0
  1781. package/dist/shared/lib/utils/public-page.d.ts.map +1 -0
  1782. package/dist/shared/lib/utils/public-page.js +45 -0
  1783. package/dist/shared/lib/utils/public-page.js.map +1 -0
  1784. package/dist/shared/lib/utils/question-transform-types.d.ts +398 -0
  1785. package/dist/shared/lib/utils/question-transform-types.d.ts.map +1 -0
  1786. package/dist/shared/lib/utils/question-transform-types.js +2 -0
  1787. package/dist/shared/lib/utils/question-transform-types.js.map +1 -0
  1788. package/dist/shared/lib/utils/question-transform.d.ts +31 -0
  1789. package/dist/shared/lib/utils/question-transform.d.ts.map +1 -0
  1790. package/dist/shared/lib/utils/question-transform.js +175 -0
  1791. package/dist/shared/lib/utils/question-transform.js.map +1 -0
  1792. package/dist/shared/lib/utils.d.ts +70 -0
  1793. package/dist/shared/lib/utils.d.ts.map +1 -0
  1794. package/dist/shared/lib/utils.js +169 -0
  1795. package/dist/shared/lib/utils.js.map +1 -0
  1796. package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts +19 -0
  1797. package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts.map +1 -0
  1798. package/dist/shared/lib/validation/choose-correct-answer.validation.js +112 -0
  1799. package/dist/shared/lib/validation/choose-correct-answer.validation.js.map +1 -0
  1800. package/dist/shared/lib/validation/label-the-picture.validation.d.ts +13 -0
  1801. package/dist/shared/lib/validation/label-the-picture.validation.d.ts.map +1 -0
  1802. package/dist/shared/lib/validation/label-the-picture.validation.js +20 -0
  1803. package/dist/shared/lib/validation/label-the-picture.validation.js.map +1 -0
  1804. package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts +27 -0
  1805. package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts.map +1 -0
  1806. package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js +47 -0
  1807. package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js.map +1 -0
  1808. package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts +18 -0
  1809. package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts.map +1 -0
  1810. package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js +22 -0
  1811. package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js.map +1 -0
  1812. package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts +23 -0
  1813. package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts.map +1 -0
  1814. package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js +35 -0
  1815. package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js.map +1 -0
  1816. package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts +17 -0
  1817. package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts.map +1 -0
  1818. package/dist/shared/lib/validation/listen-and-speak-answer.validation.js +41 -0
  1819. package/dist/shared/lib/validation/listen-and-speak-answer.validation.js.map +1 -0
  1820. package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts +16 -0
  1821. package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts.map +1 -0
  1822. package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js +46 -0
  1823. package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js.map +1 -0
  1824. package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts +22 -0
  1825. package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts.map +1 -0
  1826. package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js +20 -0
  1827. package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js.map +1 -0
  1828. package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts +27 -0
  1829. package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts.map +1 -0
  1830. package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js +40 -0
  1831. package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js.map +1 -0
  1832. package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts +12 -0
  1833. package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts.map +1 -0
  1834. package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js +33 -0
  1835. package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js.map +1 -0
  1836. package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts +18 -0
  1837. package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts.map +1 -0
  1838. package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js +20 -0
  1839. package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js.map +1 -0
  1840. package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts +11 -0
  1841. package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts.map +1 -0
  1842. package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js +29 -0
  1843. package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js.map +1 -0
  1844. package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts +10 -0
  1845. package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts.map +1 -0
  1846. package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js +13 -0
  1847. package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js.map +1 -0
  1848. package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts +18 -0
  1849. package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts.map +1 -0
  1850. package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js +48 -0
  1851. package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js.map +1 -0
  1852. package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts +21 -0
  1853. package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts.map +1 -0
  1854. package/dist/shared/lib/validation/read-and-color-objects.validation.js +30 -0
  1855. package/dist/shared/lib/validation/read-and-color-objects.validation.js.map +1 -0
  1856. package/dist/shared/lib/validation/read-displayed-content.validation.d.ts +8 -0
  1857. package/dist/shared/lib/validation/read-displayed-content.validation.d.ts.map +1 -0
  1858. package/dist/shared/lib/validation/read-displayed-content.validation.js +29 -0
  1859. package/dist/shared/lib/validation/read-displayed-content.validation.js.map +1 -0
  1860. package/dist/shared/lib/validation/speaking-conversation.validation.d.ts +30 -0
  1861. package/dist/shared/lib/validation/speaking-conversation.validation.d.ts.map +1 -0
  1862. package/dist/shared/lib/validation/speaking-conversation.validation.js +76 -0
  1863. package/dist/shared/lib/validation/speaking-conversation.validation.js.map +1 -0
  1864. package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts +10 -0
  1865. package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts.map +1 -0
  1866. package/dist/shared/lib/validation/speaking-describe-image.validation.js +32 -0
  1867. package/dist/shared/lib/validation/speaking-describe-image.validation.js.map +1 -0
  1868. package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts +14 -0
  1869. package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts.map +1 -0
  1870. package/dist/shared/lib/validation/spontaneous-qa.validation.js +49 -0
  1871. package/dist/shared/lib/validation/spontaneous-qa.validation.js.map +1 -0
  1872. package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts +18 -0
  1873. package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts.map +1 -0
  1874. package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js +39 -0
  1875. package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js.map +1 -0
  1876. package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts +16 -0
  1877. package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts.map +1 -0
  1878. package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js +40 -0
  1879. package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js.map +1 -0
  1880. package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts +20 -0
  1881. package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts.map +1 -0
  1882. package/dist/shared/lib/validation/word-fill-paragraph.validation.js +44 -0
  1883. package/dist/shared/lib/validation/word-fill-paragraph.validation.js.map +1 -0
  1884. package/dist/shared/lib/validation/word-ordering.validation.d.ts +11 -0
  1885. package/dist/shared/lib/validation/word-ordering.validation.d.ts.map +1 -0
  1886. package/dist/shared/lib/validation/word-ordering.validation.js +34 -0
  1887. package/dist/shared/lib/validation/word-ordering.validation.js.map +1 -0
  1888. package/dist/shared/types/branch.types.d.ts +154 -0
  1889. package/dist/shared/types/branch.types.d.ts.map +1 -0
  1890. package/dist/shared/types/branch.types.js +7 -0
  1891. package/dist/shared/types/branch.types.js.map +1 -0
  1892. package/dist/shared/types/common.types.d.ts +81 -0
  1893. package/dist/shared/types/common.types.d.ts.map +1 -0
  1894. package/dist/shared/types/common.types.js +51 -0
  1895. package/dist/shared/types/common.types.js.map +1 -0
  1896. package/dist/shared/types/entities/exam-schedule.types.d.ts +66 -0
  1897. package/dist/shared/types/entities/exam-schedule.types.d.ts.map +1 -0
  1898. package/dist/shared/types/entities/exam-schedule.types.js +6 -0
  1899. package/dist/shared/types/entities/exam-schedule.types.js.map +1 -0
  1900. package/dist/shared/types/entities/exam.types.d.ts +111 -0
  1901. package/dist/shared/types/entities/exam.types.d.ts.map +1 -0
  1902. package/dist/shared/types/entities/exam.types.js +2 -0
  1903. package/dist/shared/types/entities/exam.types.js.map +1 -0
  1904. package/dist/shared/types/entities/question.types.d.ts +359 -0
  1905. package/dist/shared/types/entities/question.types.d.ts.map +1 -0
  1906. package/dist/shared/types/entities/question.types.js +5 -0
  1907. package/dist/shared/types/entities/question.types.js.map +1 -0
  1908. package/dist/shared/types/entities/result.types.d.ts +41 -0
  1909. package/dist/shared/types/entities/result.types.d.ts.map +1 -0
  1910. package/dist/shared/types/entities/result.types.js +5 -0
  1911. package/dist/shared/types/entities/result.types.js.map +1 -0
  1912. package/dist/shared/types/entities/user.types.d.ts +42 -0
  1913. package/dist/shared/types/entities/user.types.d.ts.map +1 -0
  1914. package/dist/shared/types/entities/user.types.js +5 -0
  1915. package/dist/shared/types/entities/user.types.js.map +1 -0
  1916. package/dist/shared/types/exam-taking.types.d.ts +39 -0
  1917. package/dist/shared/types/exam-taking.types.d.ts.map +1 -0
  1918. package/dist/shared/types/exam-taking.types.js +3 -0
  1919. package/dist/shared/types/exam-taking.types.js.map +1 -0
  1920. package/dist/shared/types/history.types.d.ts +21 -0
  1921. package/dist/shared/types/history.types.d.ts.map +1 -0
  1922. package/dist/shared/types/history.types.js +35 -0
  1923. package/dist/shared/types/history.types.js.map +1 -0
  1924. package/dist/shared/types/index.d.ts +102 -0
  1925. package/dist/shared/types/index.d.ts.map +1 -0
  1926. package/dist/shared/types/index.js +2 -0
  1927. package/dist/shared/types/index.js.map +1 -0
  1928. package/dist/shared/types/questions/choose-correct-adjective.d.ts +38 -0
  1929. package/dist/shared/types/questions/choose-correct-adjective.d.ts.map +1 -0
  1930. package/dist/shared/types/questions/choose-correct-adjective.js +5 -0
  1931. package/dist/shared/types/questions/choose-correct-adjective.js.map +1 -0
  1932. package/dist/shared/types/questions/choose-the-correct-answer.d.ts +73 -0
  1933. package/dist/shared/types/questions/choose-the-correct-answer.d.ts.map +1 -0
  1934. package/dist/shared/types/questions/choose-the-correct-answer.js +10 -0
  1935. package/dist/shared/types/questions/choose-the-correct-answer.js.map +1 -0
  1936. package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts +72 -0
  1937. package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts.map +1 -0
  1938. package/dist/shared/types/questions/fill-missing-words-in-grid.js +12 -0
  1939. package/dist/shared/types/questions/fill-missing-words-in-grid.js.map +1 -0
  1940. package/dist/shared/types/questions/index.d.ts +29 -0
  1941. package/dist/shared/types/questions/index.d.ts.map +1 -0
  1942. package/dist/shared/types/questions/index.js +41 -0
  1943. package/dist/shared/types/questions/index.js.map +1 -0
  1944. package/dist/shared/types/questions/listen-and-speak-answer.d.ts +47 -0
  1945. package/dist/shared/types/questions/listen-and-speak-answer.d.ts.map +1 -0
  1946. package/dist/shared/types/questions/listen-and-speak-answer.js +2 -0
  1947. package/dist/shared/types/questions/listen-and-speak-answer.js.map +1 -0
  1948. package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts +23 -0
  1949. package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts.map +1 -0
  1950. package/dist/shared/types/questions/listen-and-speak-compare-images.js +2 -0
  1951. package/dist/shared/types/questions/listen-and-speak-compare-images.js.map +1 -0
  1952. package/dist/shared/types/questions/listen-and-speak-image-group.d.ts +30 -0
  1953. package/dist/shared/types/questions/listen-and-speak-image-group.d.ts.map +1 -0
  1954. package/dist/shared/types/questions/listen-and-speak-image-group.js +2 -0
  1955. package/dist/shared/types/questions/listen-and-speak-image-group.js.map +1 -0
  1956. package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts +30 -0
  1957. package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts.map +1 -0
  1958. package/dist/shared/types/questions/listen-and-speak-info-exchange.js +4 -0
  1959. package/dist/shared/types/questions/listen-and-speak-info-exchange.js.map +1 -0
  1960. package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts +14 -0
  1961. package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts.map +1 -0
  1962. package/dist/shared/types/questions/listen-and-speak-odd-one-out.js +4 -0
  1963. package/dist/shared/types/questions/listen-and-speak-odd-one-out.js.map +1 -0
  1964. package/dist/shared/types/questions/listen-and-speak-question-list.d.ts +19 -0
  1965. package/dist/shared/types/questions/listen-and-speak-question-list.d.ts.map +1 -0
  1966. package/dist/shared/types/questions/listen-and-speak-question-list.js +2 -0
  1967. package/dist/shared/types/questions/listen-and-speak-question-list.js.map +1 -0
  1968. package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts +14 -0
  1969. package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts.map +1 -0
  1970. package/dist/shared/types/questions/listen-and-speak-with-story-images.js +4 -0
  1971. package/dist/shared/types/questions/listen-and-speak-with-story-images.js.map +1 -0
  1972. package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts +39 -0
  1973. package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts.map +1 -0
  1974. package/dist/shared/types/questions/look-picture-choose-correct-answer.js +6 -0
  1975. package/dist/shared/types/questions/look-picture-choose-correct-answer.js.map +1 -0
  1976. package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts +64 -0
  1977. package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts.map +1 -0
  1978. package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js +10 -0
  1979. package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js.map +1 -0
  1980. package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts +58 -0
  1981. package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts.map +1 -0
  1982. package/dist/shared/types/questions/look-picture-fill-word-hint.js +8 -0
  1983. package/dist/shared/types/questions/look-picture-fill-word-hint.js.map +1 -0
  1984. package/dist/shared/types/questions/read-displayed-content.d.ts +68 -0
  1985. package/dist/shared/types/questions/read-displayed-content.d.ts.map +1 -0
  1986. package/dist/shared/types/questions/read-displayed-content.js +2 -0
  1987. package/dist/shared/types/questions/read-displayed-content.js.map +1 -0
  1988. package/dist/shared/types/questions/speaking-conversation.d.ts +51 -0
  1989. package/dist/shared/types/questions/speaking-conversation.d.ts.map +1 -0
  1990. package/dist/shared/types/questions/speaking-conversation.js +8 -0
  1991. package/dist/shared/types/questions/speaking-conversation.js.map +1 -0
  1992. package/dist/shared/types/questions/speaking-describe-image.d.ts +41 -0
  1993. package/dist/shared/types/questions/speaking-describe-image.d.ts.map +1 -0
  1994. package/dist/shared/types/questions/speaking-describe-image.js +2 -0
  1995. package/dist/shared/types/questions/speaking-describe-image.js.map +1 -0
  1996. package/dist/shared/types/questions/spontaneous-qa.d.ts +80 -0
  1997. package/dist/shared/types/questions/spontaneous-qa.d.ts.map +1 -0
  1998. package/dist/shared/types/questions/spontaneous-qa.js +2 -0
  1999. package/dist/shared/types/questions/spontaneous-qa.js.map +1 -0
  2000. package/dist/shared/types/questions/write-correct-verb-form.d.ts +110 -0
  2001. package/dist/shared/types/questions/write-correct-verb-form.d.ts.map +1 -0
  2002. package/dist/shared/types/questions/write-correct-verb-form.js +13 -0
  2003. package/dist/shared/types/questions/write-correct-verb-form.js.map +1 -0
  2004. package/dist/shared/types/role.types.d.ts +61 -0
  2005. package/dist/shared/types/role.types.d.ts.map +1 -0
  2006. package/dist/shared/types/role.types.js +2 -0
  2007. package/dist/shared/types/role.types.js.map +1 -0
  2008. package/dist/shared/types/structure-management.d.ts +218 -0
  2009. package/dist/shared/types/structure-management.d.ts.map +1 -0
  2010. package/dist/shared/types/structure-management.js +29 -0
  2011. package/dist/shared/types/structure-management.js.map +1 -0
  2012. package/dist/shared/types/student.types.d.ts +396 -0
  2013. package/dist/shared/types/student.types.d.ts.map +1 -0
  2014. package/dist/shared/types/student.types.js +55 -0
  2015. package/dist/shared/types/student.types.js.map +1 -0
  2016. package/dist/shared/types/teacher-dashboard-rooms.d.ts +61 -0
  2017. package/dist/shared/types/teacher-dashboard-rooms.d.ts.map +1 -0
  2018. package/dist/shared/types/teacher-dashboard-rooms.js +3 -0
  2019. package/dist/shared/types/teacher-dashboard-rooms.js.map +1 -0
  2020. package/package.json +144 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result-review.types.d.ts","sourceRoot":"","sources":["../../src/api/result-review.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;AAEtG,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;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AAC,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjG;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,IAAI,EAAE,CAAC,CAAC;CACT"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=result-review.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result-review.types.js","sourceRoot":"","sources":["../../src/api/result-review.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface CueCardEditorProps {
3
+ value?: string;
4
+ onChange: (html: string) => void;
5
+ label?: React.ReactNode;
6
+ }
7
+ export declare function CueCardEditor({ value, onChange, label, }: CueCardEditorProps): React.JSX.Element;
8
+ //# sourceMappingURL=CueCardEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CueCardEditor.d.ts","sourceRoot":"","sources":["../../src/components/CueCardEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAaD,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,kBAAkB,qBAoIpB"}
@@ -0,0 +1,59 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useEffect, useState } from 'react';
4
+ import { useEditor, EditorContent } from '@tiptap/react';
5
+ import StarterKit from '@tiptap/starter-kit';
6
+ const DEFAULT_CONTENT = `
7
+ <p><strong>Describe a topic you know well.</strong></p>
8
+ <p>You should say:</p>
9
+ <ul>
10
+ <li>What it is</li>
11
+ <li>When you first learned about it</li>
12
+ <li>Why you find it interesting</li>
13
+ </ul>
14
+ <p><em>and explain how it has impacted your life.</em></p>
15
+ `;
16
+ export function CueCardEditor({ value, onChange, label, }) {
17
+ const [mounted, setMounted] = useState(false);
18
+ const editor = useEditor({
19
+ immediatelyRender: false,
20
+ extensions: [StarterKit],
21
+ content: value || DEFAULT_CONTENT,
22
+ onUpdate: ({ editor }) => {
23
+ onChange(editor.getHTML());
24
+ },
25
+ editorProps: {
26
+ attributes: {
27
+ class: 'tiptap-editor focus:outline-none min-h-[250px] p-4 bg-white border border-gray-200 rounded-b-md',
28
+ },
29
+ },
30
+ });
31
+ useEffect(() => {
32
+ setMounted(true);
33
+ }, []);
34
+ // Sync value if changed from outside (e.g., initial load)
35
+ useEffect(() => {
36
+ if (editor && value !== undefined && value !== editor.getHTML()) {
37
+ // Small timeout to prevent update loops
38
+ setTimeout(() => editor.commands.setContent(value), 0);
39
+ }
40
+ }, [value, editor]);
41
+ if (!mounted)
42
+ return null;
43
+ return (_jsxs("div", { className: "w-full flex flex-col gap-4", children: [label && _jsx("div", { children: label }), _jsxs("div", { className: "flex flex-col border border-gray-300 rounded-md shadow-sm", children: [_jsxs("div", { className: "flex flex-wrap gap-2 p-2 relative bg-gray-50 border-b border-gray-300 rounded-t-md", children: [_jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleBold().run(), disabled: !editor?.can().chain().focus().toggleBold().run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('bold')
44
+ ? 'bg-blue-500 text-white'
45
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "B" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleItalic().run(), disabled: !editor?.can().chain().focus().toggleItalic().run(), className: `px-3 py-1 rounded text-sm italic ${editor?.isActive('italic')
46
+ ? 'bg-blue-500 text-white'
47
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "I" }), _jsx("div", { className: "w-px h-6 bg-gray-300 mx-1 self-center" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 1 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 1 })
48
+ ? 'bg-blue-500 text-white'
49
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H1" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 2 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 2 })
50
+ ? 'bg-blue-500 text-white'
51
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H2" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 3 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 3 })
52
+ ? 'bg-blue-500 text-white'
53
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H3" }), _jsx("div", { className: "w-px h-6 bg-gray-300 mx-1 self-center" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleBulletList().run(), className: `px-3 py-1 rounded text-sm ${editor?.isActive('bulletList')
54
+ ? 'bg-blue-500 text-white'
55
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "\u2022 List" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleOrderedList().run(), className: `px-3 py-1 rounded text-sm ${editor?.isActive('orderedList')
56
+ ? 'bg-blue-500 text-white'
57
+ : 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "1. List" })] }), _jsx(EditorContent, { editor: editor })] })] }));
58
+ }
59
+ //# sourceMappingURL=CueCardEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CueCardEditor.js","sourceRoot":"","sources":["../../src/components/CueCardEditor.ts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,EAAE,EAChE,SAAS,EAAE,6BACT,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC;oCAC7B,CAAC,CAAC,wBAAwB;oCAC1B,CAAC,CAAC,iDACN,EAAE,wBAGK,IACL,EACN,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,GAAI,IAC7B,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ImgHTMLAttributes } from 'react';
2
+ interface ResolvedImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src'> {
3
+ src: string | undefined;
4
+ fallback?: React.ReactNode;
5
+ showLoadingState?: boolean;
6
+ }
7
+ export declare function ResolvedImage({ src, fallback, showLoadingState, className, alt, ...props }: ResolvedImageProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>> | import("react").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=ResolvedImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResolvedImage.d.ts","sourceRoot":"","sources":["../../../src/components/common/ResolvedImage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKzD,UAAU,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACnF,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAuB,EAAE,SAAS,EAAE,GAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,yTAQ1H"}
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { useState } from 'react';
4
+ import { ImageOff } from 'lucide-react';
5
+ import { Skeleton } from '../../components/ui/skeleton';
6
+ import { usePresignedFileUrl } from '../../shared/lib/hooks/usePresignedFileUrl';
7
+ export function ResolvedImage({ src, fallback, showLoadingState = true, className, alt = '', ...props }) {
8
+ const { previewUrl, isLoading, error } = usePresignedFileUrl(src);
9
+ const [hasError, setHasError] = useState(false);
10
+ if (isLoading && showLoadingState)
11
+ return fallback ?? _jsx(Skeleton, { className: className });
12
+ if (error || (!previewUrl && !src) || hasError)
13
+ return fallback ?? _jsx("div", { className: `flex items-center justify-center bg-gray-100 ${className}`, children: _jsx(ImageOff, { className: "h-8 w-8 text-gray-400" }) });
14
+ return _jsx("img", { src: previewUrl || src, alt: alt, className: className, onError: () => setHasError(true), ...props });
15
+ }
16
+ //# sourceMappingURL=ResolvedImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResolvedImage.js","sourceRoot":"","sources":["../../../src/components/common/ResolvedImage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAQ7E,MAAM,UAAU,aAAa,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAgB,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,KAAK,EAAsB;IACzH,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;IAClE,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,IAAI,SAAS,IAAI,gBAAgB;QAAE,OAAO,QAAQ,IAAI,KAAC,QAAQ,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IACzF,IAAI,KAAK,IAAI,CAAC,CAAC,UAAU,IAAI,CAAC,GAAG,CAAC,IAAI,QAAQ;QAAE,OAAO,QAAQ,IAAI,cAAK,SAAS,EAAE,gDAAgD,SAAS,EAAE,YAAE,KAAC,QAAQ,IAAC,SAAS,EAAC,uBAAuB,GAAG,GAAM,CAAC;IAErM,OAAO,cAAK,GAAG,EAAE,UAAU,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,KAAM,KAAK,GAAI,CAAC;AACtH,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type UseFormReturn } from 'react-hook-form';
2
+ import type { ExamFormData, ExamLevelOption } from '../../api/exam-create';
3
+ export interface CreateExamInfoFormProps {
4
+ form: UseFormReturn<ExamFormData>;
5
+ examLevels: ExamLevelOption[];
6
+ isLoadingExamLevels?: boolean;
7
+ }
8
+ export declare function CreateExamInfoForm({ form, examLevels, isLoadingExamLevels }: CreateExamInfoFormProps): import("react").JSX.Element;
9
+ //# sourceMappingURL=CreateExamInfoForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExamInfoForm.d.ts","sourceRoot":"","sources":["../../../src/components/exams/CreateExamInfoForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQjE,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAClC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,mBAA2B,EAAE,EAAE,uBAAuB,+BAoC5G"}
@@ -0,0 +1,36 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useCallback, useEffect, useRef } from 'react';
4
+ import { Controller } from 'react-hook-form';
5
+ import { FileText, Loader2 } from 'lucide-react';
6
+ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/ui/card';
7
+ import { Input } from '../../components/ui/input';
8
+ import { Label } from '../../components/ui/label';
9
+ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../components/ui/select';
10
+ import { Textarea } from '../../components/ui/textarea';
11
+ import { useT } from '../../shared/lib/i18n';
12
+ export function CreateExamInfoForm({ form, examLevels, isLoadingExamLevels = false }) {
13
+ const t = useT();
14
+ const isCodeManuallyEdited = useRef(false);
15
+ const nameValue = form.watch('name');
16
+ const setValueRef = useRef(form.setValue);
17
+ setValueRef.current = form.setValue;
18
+ const generateCodeFromName = useCallback((name) => name.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/đ/g, 'd').replace(/Đ/g, 'D').toLowerCase().trim().replace(/[^a-z0-9\s-]/g, '').replace(/[\s]+/g, '-').replace(/-+/g, '-').replace(/^-|-$/g, '').substring(0, 100), []);
19
+ useEffect(() => {
20
+ if (isCodeManuallyEdited.current)
21
+ return;
22
+ setValueRef.current('code', nameValue ? generateCodeFromName(nameValue) : '', { shouldValidate: false });
23
+ }, [nameValue, generateCodeFromName]);
24
+ const hasError = (field) => !!form.formState.errors[field];
25
+ const error = (field) => form.formState.errors[field]?.message;
26
+ return (_jsxs(Card, { className: "border border-gray-200", children: [_jsxs(CardHeader, { className: "border-b border-gray-100 bg-gray-50/50", children: [_jsxs(CardTitle, { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(FileText, { className: "h-4 w-4 text-blue-600" }), t('admin.exams.form.basicInfo')] }), _jsx(CardDescription, { children: t('admin.exams.form.requiredHint') })] }), _jsxs(CardContent, { className: "space-y-4 pt-6", children: [_jsxs("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: [_jsx(Field, { label: t('admin.exams.form.nameLabel'), error: error('name'), required: true, children: _jsx(Input, { id: "name", maxLength: 255, className: hasError('name') ? 'border-red-500' : '', placeholder: t('admin.exams.form.namePlaceholder'), ...form.register('name') }) }), _jsx(Field, { label: t('admin.exams.form.codeLabel'), error: error('code'), required: true, children: _jsx(CodeInput, { form: form, hasError: hasError('code'), onManualEdit: (value) => { isCodeManuallyEdited.current = value.length > 0; } }) }), _jsx(Field, { label: t('admin.exams.form.totalPoints'), error: error('totalPoints'), required: true, children: _jsx(Controller, { name: "totalPoints", control: form.control, render: ({ field }) => _jsx(Input, { id: "totalPoints", inputMode: "numeric", value: field.value, onBlur: field.onBlur, onChange: (event) => field.onChange(event.target.value.replace(/[^0-9]/g, '')), className: hasError('totalPoints') ? 'border-red-500' : '' }) }) }), _jsx(Field, { label: t('admin.exams.form.level'), error: error('level'), children: _jsx(Controller, { name: "level", control: form.control, render: ({ field }) => _jsxs(Select, { value: field.value, onValueChange: field.onChange, disabled: isLoadingExamLevels, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, { placeholder: isLoadingExamLevels ? t('admin.exams.form.loading') : t('admin.exams.form.levelPlaceholder') }) }), _jsx(SelectContent, { children: isLoadingExamLevels ? _jsx("div", { className: "flex justify-center p-4", children: _jsx(Loader2, { className: "h-4 w-4 animate-spin" }) }) : examLevels.map((level) => _jsx(SelectItem, { value: level.id, children: level.name }, level.id)) })] }) }) }), _jsx(Field, { label: t('admin.exams.form.difficulty'), error: error('difficulty'), children: _jsx(Controller, { name: "difficulty", control: form.control, render: ({ field }) => _jsxs(Select, { value: field.value, onValueChange: field.onChange, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, { placeholder: t('admin.exams.form.difficultyPlaceholder') }) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "easy", children: t('admin.exams.difficulty.easy') }), _jsx(SelectItem, { value: "medium", children: t('admin.exams.difficulty.medium') }), _jsx(SelectItem, { value: "hard", children: t('admin.exams.difficulty.hard') })] })] }) }) }), _jsx(Field, { label: t('admin.exams.form.duration'), error: error('duration'), children: _jsx(Input, { id: "duration", inputMode: "numeric", placeholder: "60", className: hasError('duration') ? 'border-red-500' : '', ...form.register('duration') }) })] }), _jsx(Field, { label: t('admin.exams.form.description'), error: error('description'), children: _jsx(Textarea, { id: "description", rows: 4, maxLength: 2000, placeholder: t('admin.exams.form.descriptionPlaceholder'), ...form.register('description') }) })] })] }));
27
+ }
28
+ function CodeInput({ form, hasError, onManualEdit }) {
29
+ const t = useT();
30
+ const { onChange, ...register } = form.register('code');
31
+ return _jsx(Input, { id: "code", maxLength: 100, className: hasError ? 'border-red-500' : '', placeholder: t('admin.exams.form.codePlaceholder'), ...register, onChange: (event) => { onChange(event); onManualEdit(event.target.value); } });
32
+ }
33
+ function Field({ label, error, required, children }) {
34
+ return _jsxs("div", { children: [_jsxs(Label, { children: [label, " ", required && _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx("div", { className: "mt-1", children: children }), error && _jsx("p", { className: "mt-1 text-sm text-red-600", children: error })] });
35
+ }
36
+ //# sourceMappingURL=CreateExamInfoForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExamInfoForm.js","sourceRoot":"","sources":["../../../src/components/exams/CreateExamInfoForm.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,UAAU,EAAsB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9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,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAI,CAAC;AACzO,CAAC;AAED,SAAS,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAoF;IACnI,OAAO,0BAAK,MAAC,KAAK,eAAE,KAAK,OAAG,QAAQ,IAAI,eAAM,SAAS,EAAC,cAAc,kBAAS,IAAS,EAAA,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EAAC,KAAK,IAAI,YAAG,SAAS,EAAC,2BAA2B,YAAE,KAAK,GAAK,IAAO,CAAC;AACtM,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { UserRole } from '../../shared/types/common.types';
2
+ import type { CreateExamSdkApi } from '../../api/exam-create';
3
+ export interface CreateExamPageContainerProps {
4
+ role?: UserRole.ADMIN | UserRole.TEACHER;
5
+ api: CreateExamSdkApi;
6
+ listPath?: string;
7
+ onNavigate?: (href: string) => void;
8
+ }
9
+ export declare function CreateExamPageContainer(props: CreateExamPageContainerProps): import("react").JSX.Element;
10
+ //# sourceMappingURL=CreateExamPageContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExamPageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/exams/CreateExamPageContainer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,KAAK,EAAW,gBAAgB,EAA+C,MAAM,mBAAmB,CAAC;AAMhH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC;IACzC,GAAG,EAAE,gBAAgB,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AA2ED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,+BAE1E"}
@@ -0,0 +1,104 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { Suspense, useEffect, useState } from 'react';
4
+ import { zodResolver } from '@hookform/resolvers/zod';
5
+ import { useForm } from 'react-hook-form';
6
+ import { ArrowLeft, ArrowRight, LayoutTemplate, Loader2, X } from 'lucide-react';
7
+ import { Button } from '../../components/ui/button';
8
+ import { Card, CardContent, CardHeader, CardTitle } from '../../components/ui/card';
9
+ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '../../components/ui/dialog';
10
+ import { useToast } from '../../shared/lib/hooks/useToast';
11
+ import { useT } from '../../shared/lib/i18n';
12
+ import { buildExamTemplatePayload } from '../../api/exam-create';
13
+ import { CreateExamInfoForm } from './CreateExamInfoForm';
14
+ import { TemplateSelector } from './TemplateSelector';
15
+ import { examFormSchema } from './create-exam.validation';
16
+ function CreateExamContent({ api, listPath = '/manage/exams', onNavigate }) {
17
+ const t = useT();
18
+ const { success, warning, error: errorToast } = useToast();
19
+ const [isTemplateDialogOpen, setIsTemplateDialogOpen] = useState(false);
20
+ const [selectedTemplate, setSelectedTemplate] = useState(null);
21
+ const [examLevels, setExamLevels] = useState([]);
22
+ const [isLoadingExamLevels, setIsLoadingExamLevels] = useState(false);
23
+ const [isSaving, setIsSaving] = useState(false);
24
+ const form = useForm({
25
+ resolver: zodResolver(examFormSchema),
26
+ mode: 'onBlur',
27
+ defaultValues: { code: '', name: '', level: '', difficulty: '', duration: '', totalPoints: '100', description: '' },
28
+ });
29
+ useEffect(() => {
30
+ if (!api.getExamLevels)
31
+ return;
32
+ let ignore = false;
33
+ setIsLoadingExamLevels(true);
34
+ api.getExamLevels()
35
+ .then((levels) => { if (!ignore)
36
+ setExamLevels(levels); })
37
+ .catch((err) => errorToast({ message: t('admin.exams.questions.error'), description: err instanceof Error ? err.message : undefined }))
38
+ .finally(() => { if (!ignore)
39
+ setIsLoadingExamLevels(false); });
40
+ return () => { ignore = true; };
41
+ }, [api, errorToast, t]);
42
+ const navigate = (href) => {
43
+ if (onNavigate)
44
+ onNavigate(href);
45
+ else if (typeof window !== 'undefined')
46
+ window.location.href = href;
47
+ };
48
+ const handleSubmit = form.handleSubmit(async (data) => {
49
+ if (!selectedTemplate) {
50
+ warning({ message: t('admin.exams.create.incompleteInfo'), description: 'Vui lòng chọn template đề thi trước khi tiếp tục.' });
51
+ return;
52
+ }
53
+ setIsSaving(true);
54
+ try {
55
+ const exam = unwrap(await api.createExam({
56
+ name: data.name,
57
+ code: data.code || undefined,
58
+ examLevel: data.level || undefined,
59
+ difficulty: toDifficulty(data.difficulty),
60
+ totalScore: Number.parseInt(data.totalPoints, 10),
61
+ durationMinutes: data.duration ? Number.parseInt(data.duration, 10) : undefined,
62
+ description: data.description || undefined,
63
+ isComplete: false,
64
+ isActive: false,
65
+ examTemplateId: selectedTemplate.id,
66
+ }));
67
+ await api.updateExamTemplate({ examId: exam.id, template: buildExamTemplatePayload(selectedTemplate) });
68
+ success({ message: t('admin.exams.create.success'), description: t('admin.exams.create.successDesc', { name: exam.name }) });
69
+ navigate(`${listPath}/${exam.id}/questions`);
70
+ }
71
+ catch (err) {
72
+ errorToast({ message: t('admin.exams.questions.error'), description: err instanceof Error ? err.message : undefined });
73
+ }
74
+ finally {
75
+ setIsSaving(false);
76
+ }
77
+ }, () => warning({ message: t('admin.exams.create.incompleteInfo'), description: t('admin.exams.create.incompleteInfoDesc') }));
78
+ return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx(Button, { variant: "ghost", size: "icon", onClick: () => navigate(listPath), className: "h-8 w-8", children: _jsx(ArrowLeft, { className: "h-4 w-4" }) }), _jsxs("div", { children: [_jsx("h1", { className: "text-3xl font-bold tracking-tight text-gray-900", children: t('admin.exams.create.title') }), _jsx("p", { className: "mt-1 text-gray-600", children: t('admin.exams.create.step1') })] })] }), _jsx("form", { id: "exam-form", onSubmit: handleSubmit, children: _jsx(CreateExamInfoForm, { form: form, examLevels: examLevels, isLoadingExamLevels: isLoadingExamLevels }) }), _jsx(TemplateSection, { selectedTemplate: selectedTemplate, onOpen: () => setIsTemplateDialogOpen(true), onClear: () => setSelectedTemplate(null) }), _jsx(Dialog, { open: isTemplateDialogOpen, onOpenChange: setIsTemplateDialogOpen, children: _jsxs(DialogContent, { className: "flex max-h-[92vh] min-h-[92vh] max-w-5xl flex-col overflow-hidden", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Ch\u1ECDn template \u0111\u1EC1 thi" }), _jsx(DialogDescription, { children: "Ch\u1ECDn lo\u1EA1i \u0111\u1EC1 thi b\u1EA1n mu\u1ED1n t\u1EA1o." })] }), _jsx(TemplateSelector, { api: api, onTemplateSelect: (template) => { setSelectedTemplate(template); setIsTemplateDialogOpen(false); }, onCancel: () => setIsTemplateDialogOpen(false) })] }) }), _jsxs("div", { className: "flex justify-end gap-3", children: [_jsx(Button, { variant: "outline", onClick: () => navigate(listPath), disabled: isSaving, children: t('admin.exams.create.cancel') }), _jsx(Button, { type: "submit", form: "exam-form", className: "bg-blue-600 hover:bg-blue-700", disabled: isSaving || !selectedTemplate, children: isSaving ? _jsxs(_Fragment, { children: [_jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), t('admin.exams.create.saving')] }) : _jsxs(_Fragment, { children: [t('admin.exams.create.saveAndContinue'), _jsx(ArrowRight, { className: "ml-2 h-4 w-4" })] }) })] })] }));
79
+ }
80
+ export function CreateExamPageContainer(props) {
81
+ return _jsx(Suspense, { fallback: _jsx(Loading, {}), children: _jsx(CreateExamContent, { ...props }) });
82
+ }
83
+ function TemplateSection({ selectedTemplate, onOpen, onClear }) {
84
+ return _jsxs(Card, { className: "border border-gray-200", children: [_jsx(CardHeader, { className: "border-b border-gray-100 bg-gray-50/50", children: _jsxs(CardTitle, { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(LayoutTemplate, { className: "h-4 w-4 text-blue-600" }), "Ch\u1ECDn Template ", _jsx("span", { className: "text-red-500", children: "*" })] }) }), _jsx(CardContent, { className: "pt-6", children: selectedTemplate ? _jsxs("div", { className: "flex items-center justify-between rounded-lg border border-green-200 bg-green-50 px-4 py-3", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium text-green-800", children: selectedTemplate.name }), _jsxs("p", { className: "text-xs text-green-600", children: [selectedTemplate.totalQuestions, " c\u00E2u h\u1ECFi \u2022 ", selectedTemplate.parts.length, " ph\u1EA7n"] })] }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpen, children: "\u0110\u1ED5i template" }), _jsx(Button, { type: "button", variant: "ghost", size: "icon", onClick: onClear, children: _jsx(X, { className: "h-3.5 w-3.5" }) })] })] }) : _jsxs("div", { className: "flex flex-col items-center gap-3 rounded-lg border-2 border-dashed border-gray-300 py-8", children: [_jsx(LayoutTemplate, { className: "h-8 w-8 text-gray-400" }), _jsx("p", { className: "text-sm text-gray-500", children: "Ch\u01B0a ch\u1ECDn template \u0111\u1EC1 thi" }), _jsxs(Button, { type: "button", variant: "outline", onClick: onOpen, children: [_jsx(LayoutTemplate, { className: "mr-2 h-4 w-4" }), "Ch\u1ECDn template"] })] }) })] });
85
+ }
86
+ function Loading() {
87
+ return _jsx("div", { className: "flex h-screen items-center justify-center", children: _jsx(Loader2, { className: "h-8 w-8 animate-spin text-blue-600" }) });
88
+ }
89
+ function toDifficulty(value) {
90
+ if (value === 'easy')
91
+ return 'EASY';
92
+ if (value === 'medium')
93
+ return 'MEDIUM';
94
+ if (value === 'hard')
95
+ return 'HARD';
96
+ return undefined;
97
+ }
98
+ function unwrap(value) {
99
+ return hasData(value) ? value.data : value;
100
+ }
101
+ function hasData(value) {
102
+ return typeof value === 'object' && value !== null && 'data' in value;
103
+ }
104
+ //# sourceMappingURL=CreateExamPageContainer.js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 +1,17 @@
1
+ import type { ExamData, ExamQuestion, ExamTemplate } from '../../shared/types/entities/exam.types';
2
+ import type { SaveQuestionInput } from '../../api/exam-questions.types';
3
+ export interface ExamCreatorProps {
4
+ template: ExamTemplate;
5
+ examId?: string;
6
+ examDifficulty?: string;
7
+ examLevel?: string;
8
+ subjectId?: string;
9
+ initialQuestions?: Partial<ExamQuestion>[];
10
+ onSaveQuestion?: (input: SaveQuestionInput) => Promise<Partial<ExamQuestion> | void>;
11
+ onSave?: (examData: ExamData) => void | Promise<void>;
12
+ onCancel?: () => void;
13
+ onPartAudioChange?: (partId: string, audioUrl: string) => void | Promise<void>;
14
+ partAudioOverrides?: Record<string, string>;
15
+ }
16
+ export declare function ExamCreator({ template, examId, examDifficulty, examLevel, subjectId, initialQuestions, onSaveQuestion, onSave, onCancel, onPartAudioChange, partAudioOverrides }: ExamCreatorProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=ExamCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamCreator.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamCreator.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQpE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IAC3C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC;IACrF,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/E,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAqB,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,EAAE,gBAAgB,+BA6FvM"}
@@ -0,0 +1,90 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useMemo, useRef, useState } from 'react';
4
+ import { ChevronLeft, ChevronRight, Save } from 'lucide-react';
5
+ import { Button } from '../../components/ui/button';
6
+ import { QuestionCreator } from '../questions/creator/QuestionCreator';
7
+ import { useToast } from '../../shared/lib/hooks/useToast';
8
+ import { useT } from '../../shared/lib/i18n';
9
+ import { ExamPartTabs } from './ExamPartTabs';
10
+ import { ExamQuestionGrid } from './ExamQuestionGrid';
11
+ import { PartAudioUploader } from './PartAudioUploader';
12
+ import { getEffectiveQuestionConfig, getPartByQuestionIndex, normalizeTemplateGroupConfig } from './exam-template.utils';
13
+ export function ExamCreator({ template, examId, examDifficulty, examLevel, subjectId, initialQuestions = [], onSaveQuestion, onSave, onCancel, onPartAudioChange, partAudioOverrides }) {
14
+ const t = useT();
15
+ const { success, warning, error } = useToast();
16
+ const validationRef = useRef(null);
17
+ const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0);
18
+ const [questions, setQuestions] = useState(() => Object.fromEntries(initialQuestions.map((q) => [(q.questionNumber ?? 1) - 1, q])));
19
+ const [completedQuestions, setCompletedQuestions] = useState(() => new Set(initialQuestions.map((q) => (q.questionNumber ?? 1) - 1)));
20
+ const [validationErrors, setValidationErrors] = useState({});
21
+ const [isSavingQuestion, setIsSavingQuestion] = useState(false);
22
+ const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
23
+ const draftRef = useRef({});
24
+ const currentPart = getPartByQuestionIndex(template, currentQuestionIndex);
25
+ const normalizedPart = currentPart ? normalizeTemplateGroupConfig(currentPart) : undefined;
26
+ const currentConfig = currentPart ? getEffectiveQuestionConfig(currentPart, currentQuestionIndex) : undefined;
27
+ const isPartLevelGroup = !!(normalizedPart?.groups && !currentConfig?.groups);
28
+ const sectionName = currentConfig && 'sectionName' in currentConfig ? currentConfig.sectionName : undefined;
29
+ const sharedDataPartId = sectionName && !isPartLevelGroup ? `${currentPart?.id}_${sectionName}` : currentPart?.id;
30
+ const currentQuestion = questions[currentQuestionIndex];
31
+ const examData = useMemo(() => ({
32
+ examId,
33
+ templateId: template.id,
34
+ questions: Object.values(questions),
35
+ currentQuestionIndex,
36
+ lastSaved: new Date().toISOString(),
37
+ createdAt: new Date().toISOString(),
38
+ updatedAt: new Date().toISOString(),
39
+ isCompleted: completedQuestions.size >= template.totalQuestions,
40
+ }), [completedQuestions.size, currentQuestionIndex, examId, questions, template.id, template.totalQuestions]);
41
+ const navigateToQuestion = (index) => {
42
+ if (hasUnsavedChanges)
43
+ warning({ message: t('common.examCreator.saveBeforeExit') });
44
+ setCurrentQuestionIndex(Math.max(0, Math.min(template.totalQuestions - 1, index)));
45
+ setHasUnsavedChanges(false);
46
+ draftRef.current = {};
47
+ };
48
+ const handleSaveQuestion = async (questionData) => {
49
+ if (!currentPart)
50
+ return;
51
+ const valid = await validationRef.current?.triggerValidation?.();
52
+ if (valid === false)
53
+ return;
54
+ const question = {
55
+ ...currentQuestion,
56
+ ...draftRef.current,
57
+ ...questionData,
58
+ type: questionData?.type ?? draftRef.current.type ?? currentQuestion?.type ?? currentConfig?.questionType,
59
+ partId: currentPart.id,
60
+ questionNumber: currentQuestionIndex + 1,
61
+ difficulty: (questionData?.difficulty ?? examDifficulty ?? currentQuestion?.difficulty),
62
+ skill: currentPart.skill,
63
+ isCompleted: true,
64
+ };
65
+ setIsSavingQuestion(true);
66
+ try {
67
+ const saved = await onSaveQuestion?.({ question, questionIndex: currentQuestionIndex, template, examId, examDifficulty, examLevel, subjectId });
68
+ const nextQuestion = (saved || question);
69
+ setQuestions((prev) => ({ ...prev, [currentQuestionIndex]: nextQuestion }));
70
+ setCompletedQuestions((prev) => new Set(prev).add(currentQuestionIndex));
71
+ setHasUnsavedChanges(false);
72
+ success({ message: t('common.examCreator.saveSuccess', { index: String(currentQuestionIndex + 1) }) });
73
+ }
74
+ catch (err) {
75
+ error({ message: t('common.examCreator.saveError', { index: String(currentQuestionIndex + 1) }), description: err instanceof Error ? err.message : undefined });
76
+ }
77
+ finally {
78
+ setIsSavingQuestion(false);
79
+ }
80
+ };
81
+ const handleSaveExam = async () => {
82
+ if (hasUnsavedChanges) {
83
+ warning({ message: t('common.examCreator.saveBeforeExit') });
84
+ return;
85
+ }
86
+ await onSave?.(examData);
87
+ };
88
+ return (_jsx("div", { className: "flex min-h-0 flex-1 flex-col overflow-hidden bg-gradient-to-br from-slate-50 to-blue-50/30", children: _jsxs("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: [_jsx("div", { className: "w-80 overflow-y-auto border-r border-gray-200/60 bg-white/80 p-4 backdrop-blur-sm", children: _jsx(ExamPartTabs, { template: template, currentPartId: currentPart?.id ?? '', completedQuestions: completedQuestions, onPartChange: (partId) => navigateToQuestion(template.parts.find((part) => part.id === partId)?.startIndex ?? 0) }) }), _jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto p-4 pb-4", children: _jsxs("div", { className: "mx-auto max-w-4xl", children: [currentPart?.skill === 'LISTENING' && _jsx(PartAudioUploader, { partId: currentPart.id, partName: currentPart.name, audioUrl: partAudioOverrides?.[currentPart.id] ?? currentPart.audioUrl ?? '', examId: examId, onAudioChange: (url) => void onPartAudioChange?.(currentPart.id, url), isReadOnly: !onPartAudioChange }), _jsx(QuestionCreator, { initialData: currentQuestion, prefilledType: currentConfig?.questionType, prefilledSkill: currentPart?.skill, optionCount: currentConfig?.optionCount, optionMode: currentConfig?.optionMode, defaultValue: currentConfig?.defaultValue, defaultQuestion: currentConfig?.defaultQuestion, viewMode: currentConfig?.viewMode, groups: currentConfig?.groups || normalizedPart?.groups, groupConfig: currentConfig?.groupConfig || normalizedPart?.groupConfig, groupType: currentConfig?.groupType || normalizedPart?.groupType, articleCount: currentConfig?.articleCount ?? currentPart?.articleCount, questionConfig: currentConfig?.questionConfig || currentPart?.questionConfig, questionIndexInPart: isPartLevelGroup ? currentQuestionIndex - (currentPart?.startIndex ?? 0) : currentQuestionIndex - (currentConfig?.startIndex ?? currentPart?.startIndex ?? 0), partId: sharedDataPartId, onChange: (draft) => { draftRef.current = draft; setHasUnsavedChanges(true); }, onSave: handleSaveQuestion, onCancel: onCancel, isEmbedded: true, externalErrors: validationErrors[currentQuestionIndex], validationRef: validationRef, suggestedAnswers: currentConfig?.suggestedAnswers || currentPart?.suggestedAnswers, hasSuggestedAnswers: currentConfig?.hasSuggestedAnswers ?? currentPart?.hasSuggestedAnswers }, currentQuestionIndex)] }) }), _jsx("div", { className: "flex-shrink-0 border-t border-gray-200/80 bg-white/95 shadow-[0_-4px_20px_rgba(0,0,0,0.08)] backdrop-blur-sm", children: _jsxs("div", { className: "mx-auto flex max-w-4xl items-center justify-between px-6 py-4", children: [_jsxs(Button, { variant: "outline", onClick: () => navigateToQuestion(currentQuestionIndex - 1), disabled: currentQuestionIndex === 0, children: [_jsx(ChevronLeft, { className: "mr-2 h-4 w-4" }), "C\u00E2u tr\u01B0\u1EDBc"] }), _jsxs(Button, { onClick: () => void handleSaveQuestion(), disabled: isSavingQuestion, className: "bg-green-600 hover:bg-green-700", children: [_jsx(Save, { className: "mr-2 h-4 w-4" }), isSavingQuestion ? 'Đang lưu...' : 'Lưu câu hỏi'] }), _jsxs(Button, { variant: "outline", onClick: () => navigateToQuestion(currentQuestionIndex + 1), disabled: currentQuestionIndex >= template.totalQuestions - 1, children: ["C\u00E2u ti\u1EBFp", _jsx(ChevronRight, { className: "ml-2 h-4 w-4" })] })] }) })] }), _jsxs("div", { className: "w-80 overflow-y-auto border-l border-gray-200/60 bg-white/80 p-4 backdrop-blur-sm", children: [_jsx(ExamQuestionGrid, { template: template, currentQuestionIndex: currentQuestionIndex, completedQuestions: completedQuestions, onQuestionChange: navigateToQuestion }), _jsxs(Button, { onClick: () => void handleSaveExam(), className: "mt-4 w-full bg-blue-600 hover:bg-blue-700", children: [_jsx(Save, { className: "mr-2 h-4 w-4" }), "Ho\u00E0n t\u1EA5t \u0111\u1EC1 thi"] })] })] }) }));
89
+ }
90
+ //# sourceMappingURL=ExamCreator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamCreator.js","sourceRoot":"","sources":["../../../src/components/exams/ExamCreator.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAKjF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,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AAO,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,oBAAoB,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,oBAAoB,KAAK,CAAC,aAAE,KAAC,WAAW,IAAC,SAAS,EAAC,cAAc,GAAG,gCAAkB,EAAA,MAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,kBAAkB,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,SAAS,EAAC,iCAAiC,aAAC,KAAC,IAAI,IAAC,SAAS,EAAC,cAAc,GAAG,EAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,IAAU,EAAA,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,oBAAoB,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,oBAAoB,IAAI,QAAQ,CAAC,cAAc,GAAG,CAAC,mCAAU,KAAC,YAAY,IAAC,SAAS,EAAC,cAAc,GAAG,IAAS,IAAM,GAAM,IAClzB,EACN,eAAK,SAAS,EAAC,mFAAmF,aAAC,KAAC,gBAAgB,IAAC,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,EAAA,MAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,cAAc,EAAE,EAAE,SAAS,EAAC,2CAA2C,aAAC,KAAC,IAAI,IAAC,SAAS,EAAC,cAAc,GAAG,2CAAwB,IAAM,IACpa,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ExamTemplate } from '../../shared/types/entities/exam.types';
2
+ interface ExamPartTabsProps {
3
+ template: ExamTemplate;
4
+ currentPartId: string;
5
+ completedQuestions: Set<number>;
6
+ onPartChange: (partId: string) => void;
7
+ }
8
+ export declare function ExamPartTabs({ template, currentPartId, completedQuestions, onPartChange }: ExamPartTabsProps): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ExamPartTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamPartTabs.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamPartTabs.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGjF,UAAU,iBAAiB;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BA6C5G"}
@@ -0,0 +1,41 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { CheckCircle2, Circle, Layers, Lock, Play } from 'lucide-react';
4
+ import { cn } from '../../shared/lib/utils';
5
+ export function ExamPartTabs({ template, currentPartId, completedQuestions, onPartChange }) {
6
+ const getProgress = (part) => {
7
+ const total = part.endIndex - part.startIndex + 1;
8
+ let completed = 0;
9
+ for (let i = part.startIndex; i <= part.endIndex; i++)
10
+ if (completedQuestions.has(i))
11
+ completed++;
12
+ return { completed, total, percentage: total > 0 ? Math.round((completed / total) * 100) : 0 };
13
+ };
14
+ const getStatus = (part) => {
15
+ const progress = getProgress(part);
16
+ if (progress.completed === 0)
17
+ return 'not-started';
18
+ if (progress.completed === progress.total)
19
+ return 'completed';
20
+ return 'in-progress';
21
+ };
22
+ const isUnlocked = (partIndex) => template.parts.slice(0, partIndex).every((part) => getStatus(part) === 'completed');
23
+ return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "flex items-center gap-2 px-1", children: [_jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-lg bg-blue-600 shadow-sm", children: _jsx(Layers, { className: "h-4 w-4 text-white" }) }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-bold text-gray-900", children: "C\u00E1c ph\u1EA7n thi" }), _jsxs("p", { className: "text-xs text-gray-500", children: [template.parts.length, " ph\u1EA7n"] })] })] }), _jsx("div", { className: "space-y-3", children: template.parts.map((part, index) => {
24
+ const progress = getProgress(part);
25
+ const status = getStatus(part);
26
+ const active = part.id === currentPartId;
27
+ const unlocked = isUnlocked(index);
28
+ return (_jsx("button", { onClick: () => unlocked && onPartChange(part.id), disabled: !unlocked, className: cn('w-full rounded-xl border-2 p-4 text-left transition-all', active && unlocked ? 'border-transparent bg-blue-600 text-white shadow-lg' : 'border-gray-200 bg-white hover:border-gray-300', !unlocked && 'cursor-not-allowed opacity-60'), children: _jsxs("div", { className: "flex items-start gap-3", children: [_jsx(StatusIcon, { status: status, active: active, unlocked: unlocked }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsx("span", { className: "truncate text-sm font-semibold", children: part.name }), _jsxs("span", { className: "rounded-full bg-black/10 px-2 py-0.5 text-xs font-bold", children: [progress.completed, "/", progress.total] })] }), part.description && _jsx("p", { className: cn('mt-1 text-xs', active ? 'text-blue-100' : 'text-gray-500'), children: part.description }), _jsx("div", { className: cn('mt-2 h-1.5 overflow-hidden rounded-full', active ? 'bg-white/20' : 'bg-gray-200'), children: _jsx("div", { className: cn('h-full rounded-full', active ? 'bg-white' : 'bg-green-500'), style: { width: `${progress.percentage}%` } }) })] })] }) }, part.id));
29
+ }) })] }));
30
+ }
31
+ function StatusIcon({ status, active, unlocked }) {
32
+ const className = cn('h-4 w-4', active ? 'text-white' : 'text-gray-500');
33
+ if (!unlocked)
34
+ return _jsx(Lock, { className: className });
35
+ if (status === 'completed')
36
+ return _jsx(CheckCircle2, { className: className });
37
+ if (status === 'in-progress')
38
+ return _jsx(Play, { className: className });
39
+ return _jsx(Circle, { className: className });
40
+ }
41
+ //# sourceMappingURL=ExamPartTabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamPartTabs.js","sourceRoot":"","sources":["../../../src/components/exams/ExamPartTabs.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AASxC,MAAM,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAqB;IAC3G,MAAM,WAAW,GAAG,CAAC,IAAc,EAAE,EAAE;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,CAAC,CAAC;QAClB,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE;YAAE,IAAI,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC;gBAAE,SAAS,EAAE,CAAC;QAClG,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjG,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,CAAC,IAAc,EAAE,EAAE;QACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,QAAQ,CAAC,SAAS,KAAK,CAAC;YAAE,OAAO,aAAa,CAAC;QACnD,IAAI,QAAQ,CAAC,SAAS,KA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AW;QAAE,OAAO,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IAC1E,IAAI,MAAM,KAAK,aAAa;QAAE,OAAO,KAAC,IAAI,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IACpE,OAAO,KAAC,MAAM,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;AAC1C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ExamTemplate } from '../../shared/types/entities/exam.types';
2
+ interface ExamQuestionGridProps {
3
+ template: ExamTemplate;
4
+ currentQuestionIndex: number;
5
+ completedQuestions: Set<number>;
6
+ onQuestionChange: (questionIndex: number) => void;
7
+ }
8
+ export declare function ExamQuestionGrid({ template, currentQuestionIndex, completedQuestions, onQuestionChange }: ExamQuestionGridProps): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ExamQuestionGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExamQuestionGrid.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamQuestionGrid.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAIvE,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,YAAY,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,gBAAgB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,EAAE,qBAAqB,+BAwB/H"}