@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,35 @@
1
+ import type { ArticleData } from '../_shared/types/question-group.type';
2
+ export interface ArticlesGroupCardProps {
3
+ /** Which group number is being displayed (shown in the badge) */
4
+ groupNumber: number;
5
+ /** Number of articles to display */
6
+ articleCount: number;
7
+ /** Current articles data */
8
+ articles: ArticleData[];
9
+ /** Called when any article field changes */
10
+ onArticlesChange: (articles: ArticleData[]) => void;
11
+ /** Title for the entire group of articles */
12
+ title?: string;
13
+ /** Called when the title changes */
14
+ onTitleChange?: (value: string) => void;
15
+ /** Whether the user is allowed to edit the group fields */
16
+ isReadOnly?: boolean;
17
+ /**
18
+ * Scopes the FileUpload `id` attribute to avoid DOM id collisions.
19
+ * Defaults to `"articles-group"`.
20
+ */
21
+ uploadIdPrefix?: string;
22
+ }
23
+ /**
24
+ * `ArticlesGroupCard`
25
+ *
26
+ * Renders N article cards within a single group. Each article has:
27
+ * - name (e.g. "Ariel", "Clive", "Vicky")
28
+ * - content (textarea for the reading passage)
29
+ * - imageUrl (file upload for the person's photo)
30
+ *
31
+ * Used for question types that require multiple reading passages per group,
32
+ * such as KEY_FOR_SCHOOLS Reading Part 2.
33
+ */
34
+ export declare function ArticlesGroupCard({ groupNumber, articleCount, articles, onArticlesChange, title, onTitleChange, isReadOnly, uploadIdPrefix, }: ArticlesGroupCardProps): import("react").JSX.Element;
35
+ //# sourceMappingURL=ArticlesGroupCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArticlesGroupCard.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/groups/ArticlesGroupCard.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAC;AA4K5F,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,4CAA4C;IAC5C,gBAAgB,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAEpD,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,KAAU,EACV,aAAa,EACb,UAAkB,EAClB,cAAiC,GAClC,EAAE,sBAAsB,+BA6MxB"}
@@ -0,0 +1,122 @@
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
+ import TextAlign from '@tiptap/extension-text-align';
7
+ import { ImagePreview } from '../../../components/ui/image-preview';
8
+ import { Input } from '../../../components/ui/input';
9
+ import { Label } from '../../../components/ui/label';
10
+ import { Card, CardContent, CardHeader, CardTitle } from '../../../components/ui/card';
11
+ import { FileUpload } from '../../../components/ui/file-upload';
12
+ import { ImageIcon, Layers, Type, FileText, PlusCircle, Trash2, Bold, Italic, Strikethrough, Heading1, Heading2, List, ListOrdered, AlignLeft, AlignCenter, AlignRight, Undo2, Redo2, } from 'lucide-react';
13
+ import { Button } from '../../../components/ui/button';
14
+ import { usePresignedFileUrl } from '../../../shared/lib/hooks';
15
+ // ---------------------------------------------------------------------------
16
+ // Toolbar helpers
17
+ // ---------------------------------------------------------------------------
18
+ function ToolbarBtn({ onClick, active, disabled, title, children, }) {
19
+ return (_jsx("button", { type: "button", title: title, onClick: onClick, disabled: disabled, className: `flex h-7 w-7 items-center justify-center rounded-md text-sm transition-colors
20
+ ${active ? 'bg-teal-500 text-white shadow-sm' : 'text-gray-600 hover:bg-gray-200 hover:text-gray-900'}
21
+ ${disabled ? 'cursor-not-allowed opacity-40' : 'cursor-pointer'}
22
+ `, children: children }));
23
+ }
24
+ function ToolbarSep() {
25
+ return _jsx("div", { className: "mx-0.5 h-5 w-px shrink-0 bg-gray-300" });
26
+ }
27
+ function ArticleEditor({ value, onChange, isReadOnly = false }) {
28
+ const [mounted, setMounted] = useState(false);
29
+ const editor = useEditor({
30
+ immediatelyRender: false,
31
+ editable: !isReadOnly,
32
+ extensions: [
33
+ StarterKit,
34
+ TextAlign.configure({ types: ['heading', 'paragraph'] }),
35
+ ],
36
+ content: value || '',
37
+ onUpdate: ({ editor }) => {
38
+ onChange(editor.getHTML());
39
+ },
40
+ editorProps: {
41
+ attributes: {
42
+ class: [
43
+ 'focus:outline-none min-h-[120px] max-h-[400px] overflow-y-auto p-3 text-sm text-gray-800 leading-relaxed',
44
+ 'prose prose-sm max-w-none',
45
+ '[&_h1]:text-xl [&_h1]:font-bold [&_h1]:mb-2',
46
+ '[&_h2]:text-lg [&_h2]:font-bold [&_h2]:mb-1.5',
47
+ '[&_ul]:list-disc [&_ul]:ml-5 [&_ol]:list-decimal [&_ol]:ml-5',
48
+ '[&_li]:mb-0.5',
49
+ '[&_strong]:font-bold [&_em]:italic [&_s]:line-through',
50
+ '[&_hr]:border-gray-300 [&_hr]:my-3',
51
+ isReadOnly ? 'bg-gray-50 cursor-not-allowed' : 'bg-white',
52
+ ].join(' '),
53
+ },
54
+ },
55
+ });
56
+ useEffect(() => { setMounted(true); }, []);
57
+ useEffect(() => {
58
+ if (editor && value !== undefined && value !== editor.getHTML()) {
59
+ setTimeout(() => editor.commands.setContent(value, { emitUpdate: false }), 0);
60
+ }
61
+ }, [value, editor]);
62
+ useEffect(() => {
63
+ editor?.setEditable(!isReadOnly);
64
+ }, [isReadOnly, editor]);
65
+ if (!mounted)
66
+ return null;
67
+ return (_jsxs("div", { className: `overflow-hidden rounded-sm border-2 transition-all ${isReadOnly
68
+ ? 'border-gray-200 bg-gray-50'
69
+ : 'border-gray-200 bg-white focus-within:border-teal-400 focus-within:shadow-sm focus-within:shadow-teal-100'}`, children: [!isReadOnly && (_jsxs("div", { className: "flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50/80 px-2 py-1.5", children: [_jsx(ToolbarBtn, { title: "Ho\u00E0n t\u00E1c", onClick: () => editor?.chain().focus().undo().run(), disabled: !editor?.can().undo(), children: _jsx(Undo2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "L\u00E0m l\u1EA1i", onClick: () => editor?.chain().focus().redo().run(), disabled: !editor?.can().redo(), children: _jsx(Redo2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "Heading 1", active: editor?.isActive('heading', { level: 1 }), onClick: () => editor?.chain().focus().toggleHeading({ level: 1 }).run(), children: _jsx(Heading1, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "Heading 2", active: editor?.isActive('heading', { level: 2 }), onClick: () => editor?.chain().focus().toggleHeading({ level: 2 }).run(), children: _jsx(Heading2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "In \u0111\u1EADm", active: editor?.isActive('bold'), onClick: () => editor?.chain().focus().toggleBold().run(), children: _jsx(Bold, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "In nghi\u00EAng", active: editor?.isActive('italic'), onClick: () => editor?.chain().focus().toggleItalic().run(), children: _jsx(Italic, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "G\u1EA1ch ngang", active: editor?.isActive('strike'), onClick: () => editor?.chain().focus().toggleStrike().run(), children: _jsx(Strikethrough, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "Danh s\u00E1ch ch\u1EA5m", active: editor?.isActive('bulletList'), onClick: () => editor?.chain().focus().toggleBulletList().run(), children: _jsx(List, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "Danh s\u00E1ch s\u1ED1", active: editor?.isActive('orderedList'), onClick: () => editor?.chain().focus().toggleOrderedList().run(), children: _jsx(ListOrdered, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "C\u0103n tr\u00E1i", active: editor?.isActive({ textAlign: 'left' }), onClick: () => editor?.chain().focus().setTextAlign('left').run(), children: _jsx(AlignLeft, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "C\u0103n gi\u1EEFa", active: editor?.isActive({ textAlign: 'center' }), onClick: () => editor?.chain().focus().setTextAlign('center').run(), children: _jsx(AlignCenter, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "C\u0103n ph\u1EA3i", active: editor?.isActive({ textAlign: 'right' }), onClick: () => editor?.chain().focus().setTextAlign('right').run(), children: _jsx(AlignRight, { className: "h-3.5 w-3.5" }) })] })), _jsx(EditorContent, { editor: editor })] }));
70
+ }
71
+ // ---------------------------------------------------------------------------
72
+ // Sub-component: single article image preview with presigned URL
73
+ // ---------------------------------------------------------------------------
74
+ function ArticleImagePreview({ src, alt }) {
75
+ const { previewUrl } = usePresignedFileUrl(src);
76
+ const displayUrl = previewUrl || '';
77
+ if (!displayUrl)
78
+ return null;
79
+ return (_jsx(ImagePreview, { src: displayUrl, alt: alt, className: "mt-2 h-40 w-full max-w-xs rounded-lg border border-gray-200" }));
80
+ }
81
+ // ---------------------------------------------------------------------------
82
+ // Component
83
+ // ---------------------------------------------------------------------------
84
+ /**
85
+ * `ArticlesGroupCard`
86
+ *
87
+ * Renders N article cards within a single group. Each article has:
88
+ * - name (e.g. "Ariel", "Clive", "Vicky")
89
+ * - content (textarea for the reading passage)
90
+ * - imageUrl (file upload for the person's photo)
91
+ *
92
+ * Used for question types that require multiple reading passages per group,
93
+ * such as KEY_FOR_SCHOOLS Reading Part 2.
94
+ */
95
+ export function ArticlesGroupCard({ groupNumber, articleCount, articles, onArticlesChange, title = '', onTitleChange, isReadOnly = false, uploadIdPrefix = 'articles-group', }) {
96
+ // Use the articles array directly. If empty, fallback to articleCount
97
+ const displayArticles = articles.length > 0
98
+ ? articles
99
+ : Array.from({ length: articleCount }, () => ({ name: '', content: '', imageUrl: '' }));
100
+ const handleFieldChange = (index, field, value) => {
101
+ if (isReadOnly)
102
+ return;
103
+ const updated = displayArticles.map((article, i) => i === index ? { ...article, [field]: value } : article);
104
+ onArticlesChange(updated);
105
+ };
106
+ const handleAddArticle = () => {
107
+ if (isReadOnly)
108
+ return;
109
+ onArticlesChange([...displayArticles, { name: '', content: '', imageUrl: '' }]);
110
+ };
111
+ const handleDeleteArticle = (index) => {
112
+ if (isReadOnly)
113
+ return;
114
+ const updated = displayArticles.filter((_, i) => i !== index);
115
+ onArticlesChange(updated);
116
+ };
117
+ return (_jsxs(Card, { className: "overflow-hidden border-0 bg-white shadow-lg shadow-teal-100/50", children: [_jsx("div", { className: "h-1.5 bg-gradient-to-r from-teal-500 via-emerald-500 to-green-500" }), _jsx(CardHeader, { className: "pb-4", children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-teal-500 to-emerald-600 shadow-md", children: _jsx(Layers, { className: "h-5 w-5 text-white" }) }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(CardTitle, { className: "text-lg font-bold text-gray-900", children: "B\u00E0i vi\u1EBFt nh\u00F3m" }), _jsxs("span", { className: "inline-flex items-center rounded-full border border-teal-300 bg-teal-100 px-2.5 py-0.5 text-xs font-semibold text-teal-700", children: ["Nh\u00F3m ", groupNumber] }), _jsxs("span", { className: "inline-flex items-center rounded-full border border-emerald-200 bg-emerald-50 px-2.5 py-0.5 text-xs font-medium text-emerald-600", children: [articles.length || articleCount, " b\u00E0i vi\u1EBFt"] })] }), _jsxs("p", { className: "text-sm text-gray-500", children: ["Nh\u1EADp n\u1ED9i dung t\u1EEBng b\u00E0i vi\u1EBFt \u2014 d\u00F9ng chung cho t\u1EA5t c\u1EA3 c\u00E2u h\u1ECFi trong Nh\u00F3m ", groupNumber, ". B\u1EA1n c\u00F3 th\u1EC3 th\u00EAm ho\u1EB7c x\u00F3a b\u00E0i vi\u1EBFt."] })] })] }) }), _jsxs(CardContent, { className: "space-y-5", children: [_jsxs("div", { className: "space-y-2 pb-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-title`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Type, { className: "h-4 w-4 text-teal-500" }), "Ti\u00EAu \u0111\u1EC1 nh\u00F3m b\u00E0i vi\u1EBFt", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Input, { id: `${uploadIdPrefix}-title`, value: title, onChange: (e) => onTitleChange?.(e.target.value), placeholder: "Nh\u1EADp ti\u00EAu \u0111\u1EC1 chung cho nh\u00F3m b\u00E0i vi\u1EBFt\u2026", readOnly: isReadOnly, className: `border-gray-200 bg-white transition-all focus:border-teal-300 focus:ring-teal-200 ${isReadOnly ? 'bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0' : ''}` })] }), displayArticles.map((article, index) => {
118
+ const letter = String.fromCharCode(65 + index); // A, B, C...
119
+ return (_jsxs("div", { className: "rounded-xl border-2 border-gray-200 bg-gradient-to-r from-gray-50 to-slate-50 p-4 transition-all hover:border-teal-200 hover:shadow-sm", children: [_jsxs("div", { className: "mb-3 flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-lg bg-gradient-to-br from-teal-500 to-emerald-600 text-sm font-bold text-white shadow-sm", children: letter }), _jsxs("span", { className: "text-sm font-semibold text-gray-700", children: ["B\u00E0i vi\u1EBFt ", index + 1] })] }), displayArticles.length > 1 && !isReadOnly && (_jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => handleDeleteArticle(index), className: "h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600", title: "X\u00F3a b\u00E0i vi\u1EBFt", children: _jsx(Trash2, { className: "h-4 w-4" }) }))] }), _jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "space-y-1.5", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-name-${index}`, className: "flex items-center gap-1.5 text-sm font-medium text-gray-700", children: [_jsx(Type, { className: "h-3.5 w-3.5 text-teal-500" }), "T\u00EAn ng\u01B0\u1EDDi / ti\u00EAu \u0111\u1EC1"] }), _jsx(Input, { id: `${uploadIdPrefix}-name-${index}`, value: article.name, onChange: (e) => handleFieldChange(index, 'name', e.target.value), placeholder: `VD: Ariel, Clive, Vicky...`, readOnly: isReadOnly, className: `border-gray-200 bg-white transition-all focus:border-teal-300 focus:ring-teal-200 ${isReadOnly ? 'bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0' : ''}` })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsxs(Label, { className: "flex items-center gap-1.5 text-sm font-medium text-gray-700", children: [_jsx(FileText, { className: "h-3.5 w-3.5 text-teal-500" }), "N\u1ED9i dung b\u00E0i vi\u1EBFt"] }), _jsx(ArticleEditor, { value: article.content, onChange: (html) => handleFieldChange(index, 'content', html), isReadOnly: isReadOnly })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsxs(Label, { className: "flex items-center gap-1.5 text-sm font-medium text-gray-700", children: [_jsx(ImageIcon, { className: "h-3.5 w-3.5 text-teal-500" }), "H\u00ECnh \u1EA3nh", ' ', _jsx("span", { className: "text-xs font-normal text-gray-400", children: "(T\u00F9y ch\u1ECDn)" })] }), !isReadOnly && (_jsx(FileUpload, { id: `${uploadIdPrefix}-image-${index}`, label: "", accept: "image/*", value: article.imageUrl, onChange: (url) => handleFieldChange(index, 'imageUrl', url), maxSize: 5, placeholder: "Upload \u1EA3nh ho\u1EB7c paste URL", autoUpload: true, prefix: "questions" })), article.imageUrl && (_jsx(ArticleImagePreview, { src: article.imageUrl, alt: `Article ${letter} image` }))] })] })] }, index));
120
+ }), !isReadOnly && (_jsxs(Button, { type: "button", variant: "outline", className: "w-full border-dashed border-teal-300 bg-teal-50/50 text-teal-700 hover:bg-teal-50 hover:text-teal-800 hover:border-teal-400", onClick: handleAddArticle, children: [_jsx(PlusCircle, { className: "mr-2 h-4 w-4" }), "Th\u00EAm b\u00E0i vi\u1EBFt"] }))] })] }));
121
+ }
122
+ //# sourceMappingURL=ArticlesGroupCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArticlesGroupCard.js","sourceRoot":"","sources":["../../../../src/components/questions/groups/ArticlesGroupCard.tsx"],"names":[],"mappings":"AA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@ -0,0 +1,51 @@
1
+ export interface BasicQuestionGroupCardProps {
2
+ /** Which group number is being displayed (shown in the badge) */
3
+ groupNumber: number;
4
+ title: string;
5
+ subtitle: string;
6
+ content: string;
7
+ imageUrl: string;
8
+ onTitleChange: (value: string) => void;
9
+ onSubtitleChange: (value: string) => void;
10
+ onContentChange: (value: string) => void;
11
+ /** Called with the S3 key / URL after upload completes */
12
+ onImageChange: (url: string) => void;
13
+ /** Called with the resolved presigned preview URL (for instant preview) */
14
+ onImagePresignedUrlChange?: (previewUrl: string) => void;
15
+ /**
16
+ * Whether to render the "Nội dung" (content / passage) textarea.
17
+ * Defaults to `true`. Set to `false` for question types that only
18
+ * need title + image in the group header.
19
+ */
20
+ showContent?: boolean;
21
+ /**
22
+ * Config array from template indicating which group fields to display.
23
+ * Possible values: `'title'`, `'content'`, `'imageUrl'`.
24
+ * If undefined or empty, ALL fields are shown (backwards compatible).
25
+ */
26
+ groupConfig?: string[];
27
+ /**
28
+ * Scopes the FileUpload `id` attribute to avoid DOM id collisions when
29
+ * multiple creators are mounted simultaneously.
30
+ * Defaults to `"basic-group"`.
31
+ */
32
+ uploadIdPrefix?: string;
33
+ /** Whether the user is allowed to edit the group fields */
34
+ isReadOnly?: boolean;
35
+ }
36
+ /**
37
+ * `BasicQuestionGroupCard`
38
+ *
39
+ * The shared group header card used by:
40
+ * - ANSWER_THE_QUESTION
41
+ * - CHOOSE_THE_CORRECT_ANSWER
42
+ * - FILL_IN_BLANK
43
+ *
44
+ * It renders three optional fields that are **shared across all questions in
45
+ * the same group**: a title, a content/passage textarea, and an image upload.
46
+ *
47
+ * This component is **purely presentational** – all state lives in the parent
48
+ * (managed by `useBasicQuestionGroup`).
49
+ */
50
+ export declare function BasicQuestionGroupCard({ groupNumber, title, subtitle, content, imageUrl, onTitleChange, onSubtitleChange, onContentChange, onImageChange, onImagePresignedUrlChange, showContent, groupConfig, uploadIdPrefix, isReadOnly, }: BasicQuestionGroupCardProps): import("react").JSX.Element;
51
+ //# sourceMappingURL=BasicQuestionGroupCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicQuestionGroupCard.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/groups/BasicQuestionGroupCard.tsx"],"names":[],"mappings":"AAeA,MAAM,WAAW,2BAA2B;IAC1C,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,0DAA0D;IAC1D,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,2EAA2E;IAC3E,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAEzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAMD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,WAAkB,EAClB,WAAW,EACX,cAA8B,EAC9B,UAAkB,GACnB,EAAE,2BAA2B,+BAmJ7B"}
@@ -0,0 +1,51 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { ImagePreview } from '../../../components/ui/image-preview';
4
+ import { Input } from '../../../components/ui/input';
5
+ import { Label } from '../../../components/ui/label';
6
+ import { Textarea } from '../../../components/ui/textarea';
7
+ import { Card, CardContent, CardHeader, CardTitle } from '../../../components/ui/card';
8
+ import { FileUpload } from '../../../components/ui/file-upload';
9
+ import { ImageIcon, Layers, MessageSquare, Type } from 'lucide-react';
10
+ import { usePresignedFileUrl } from '../../../shared/lib/hooks';
11
+ // ---------------------------------------------------------------------------
12
+ // Component
13
+ // ---------------------------------------------------------------------------
14
+ /**
15
+ * `BasicQuestionGroupCard`
16
+ *
17
+ * The shared group header card used by:
18
+ * - ANSWER_THE_QUESTION
19
+ * - CHOOSE_THE_CORRECT_ANSWER
20
+ * - FILL_IN_BLANK
21
+ *
22
+ * It renders three optional fields that are **shared across all questions in
23
+ * the same group**: a title, a content/passage textarea, and an image upload.
24
+ *
25
+ * This component is **purely presentational** – all state lives in the parent
26
+ * (managed by `useBasicQuestionGroup`).
27
+ */
28
+ export function BasicQuestionGroupCard({ groupNumber, title, subtitle, content, imageUrl, onTitleChange, onSubtitleChange, onContentChange, onImageChange, onImagePresignedUrlChange, showContent = true, groupConfig, uploadIdPrefix = 'basic-group', isReadOnly = false, }) {
29
+ const hasConfig = groupConfig && groupConfig.length > 0;
30
+ const showTitle = !hasConfig || groupConfig.includes('title');
31
+ const showSubtitle = !hasConfig || groupConfig.includes('subtitle');
32
+ const showContentField = (!hasConfig || groupConfig.includes('content')) && showContent;
33
+ const showImage = !hasConfig || groupConfig.includes('imageUrl');
34
+ // Resolve presigned preview URL for the stored image key
35
+ const { previewUrl } = usePresignedFileUrl(imageUrl);
36
+ const displayPreviewUrl = previewUrl || '';
37
+ return (_jsxs(Card, { className: "overflow-hidden border-0 bg-white shadow-lg shadow-purple-100/50", children: [_jsx("div", { className: "h-1.5 bg-gradient-to-r from-purple-500 via-violet-500 to-indigo-500" }), _jsx(CardHeader, { className: "pb-4", children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-purple-500 to-violet-600 shadow-md", children: _jsx(Layers, { className: "h-5 w-5 text-white" }) }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(CardTitle, { className: "text-lg font-bold text-gray-900", children: "D\u1EEF li\u1EC7u nh\u00F3m" }), _jsxs("span", { className: "inline-flex items-center rounded-full border border-purple-300 bg-purple-100 px-2.5 py-0.5 text-xs font-semibold text-purple-700", children: ["Nh\u00F3m ", groupNumber] })] }), _jsxs("p", { className: "text-sm text-gray-500", children: ["D\u00F9ng chung cho t\u1EA5t c\u1EA3 c\u00E2u h\u1ECFi trong Nh\u00F3m ", groupNumber] })] })] }) }), _jsxs(CardContent, { className: "space-y-5", children: [showTitle && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-title`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Type, { className: "h-4 w-4 text-purple-500" }), "Ti\u00EAu \u0111\u1EC1 nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Input, { id: `${uploadIdPrefix}-title`, value: title, onChange: (e) => {
38
+ if (!isReadOnly)
39
+ onTitleChange(e.target.value);
40
+ }, readOnly: isReadOnly, placeholder: "Nh\u1EADp ti\u00EAu \u0111\u1EC1 nh\u00F3m c\u00E2u h\u1ECFi\u2026", className: `border-gray-200 bg-white transition-all focus:border-purple-300 focus:ring-purple-200 ${isReadOnly ? 'bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0' : ''}` })] })), showSubtitle && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-subtitle`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Type, { className: "h-4 w-4 text-purple-500" }), "Ph\u1EE5 \u0111\u1EC1 nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Input, { id: `${uploadIdPrefix}-subtitle`, value: subtitle, onChange: (e) => {
41
+ if (!isReadOnly)
42
+ onSubtitleChange(e.target.value);
43
+ }, readOnly: isReadOnly, placeholder: "Nh\u1EADp ph\u1EE5 \u0111\u1EC1 nh\u00F3m c\u00E2u h\u1ECFi\u2026", className: `border-gray-200 bg-white transition-all focus:border-purple-300 focus:ring-purple-200 ${isReadOnly ? 'bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0' : ''}` })] })), showContentField && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-content`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(MessageSquare, { className: "h-4 w-4 text-purple-500" }), "N\u1ED9i dung nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Textarea, { id: `${uploadIdPrefix}-content`, value: content, onChange: (e) => {
44
+ if (!isReadOnly)
45
+ onContentChange(e.target.value);
46
+ }, readOnly: isReadOnly, placeholder: "Nh\u1EADp \u0111o\u1EA1n v\u0103n / c\u00E2u chuy\u1EC7n chung cho nh\u00F3m c\u00E2u h\u1ECFi n\u00E0y\u2026", rows: 5, className: `min-h-[120px] border-gray-200 bg-white transition-all focus:border-purple-300 focus:ring-purple-200 ${isReadOnly ? 'bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0' : ''}` })] })), showImage && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(ImageIcon, { className: "h-4 w-4 text-purple-500" }), "H\u00ECnh \u1EA3nh nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), !isReadOnly && (_jsx(FileUpload, { id: `${uploadIdPrefix}-image`, label: "", accept: "image/*", value: imageUrl, onChange: (url) => {
47
+ if (!isReadOnly)
48
+ onImageChange(url);
49
+ }, onPresignedUrlChange: onImagePresignedUrlChange, maxSize: 5, placeholder: "Upload \u1EA3nh ho\u1EB7c paste URL", autoUpload: true, prefix: "questions" })), displayPreviewUrl && (_jsx(ImagePreview, { src: displayPreviewUrl, alt: "Group image preview", className: "mt-2 h-48 w-full max-w-md rounded-lg border border-gray-200" }))] }))] })] }));
50
+ }
51
+ //# sourceMappingURL=BasicQuestionGroupCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicQuestionGroupCard.js","sourceRoot":"","sources":["../../../../src/components/questions/groups/BasicQuestionGroupCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAkDzD,8EAA8E;AAC9E,YAAY;AACZ,8EAA8E;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,sBAAsB,CAAC,EACrC,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EAC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ChB,MAAM,EAAC,WAAW,GAClB,CACH,EACA,iBAAiB,IAAI,CACpB,KAAC,YAAY,IACa,GAAG,EAAE,iBAAiB,EACtB,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAC,6DAA6D,GACzE,CACzB,IACG,CACP,IACW,IACT,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,35 @@
1
+ export interface DocumentGroupCardProps {
2
+ /** Which group number is being displayed */
3
+ groupNumber: number;
4
+ title: string;
5
+ subtitle?: string;
6
+ content: string;
7
+ imageUrl: string;
8
+ onTitleChange: (value: string) => void;
9
+ onSubtitleChange?: (value: string) => void;
10
+ onContentChange: (html: string) => void;
11
+ onImageChange: (url: string) => void;
12
+ onImagePresignedUrlChange?: (previewUrl: string) => void;
13
+ /**
14
+ * Config array from template indicating which group fields to display.
15
+ * Possible values: `'title'`, `'subtitle'`, `'content'`, `'imageUrl'`.
16
+ * If undefined or empty, ALL fields are shown.
17
+ */
18
+ groupConfig?: string[];
19
+ /**
20
+ * Scopes the FileUpload `id` attribute to avoid DOM id collisions.
21
+ * Defaults to `"document-group"`.
22
+ */
23
+ uploadIdPrefix?: string;
24
+ /** Whether the user is allowed to edit the group fields */
25
+ isReadOnly?: boolean;
26
+ }
27
+ /**
28
+ * `DocumentGroupCard`
29
+ *
30
+ * Group header card that uses TipTap for structured rich-text content.
31
+ * Ideal for TOEIC Part 6 / Part 7 reading passages, emails, memos,
32
+ * advertisements and other formatted texts shared across a question group.
33
+ */
34
+ export declare function DocumentGroupCard({ groupNumber, title, subtitle, content, imageUrl, onTitleChange, onSubtitleChange, onContentChange, onImageChange, onImagePresignedUrlChange, groupConfig, uploadIdPrefix, isReadOnly, }: DocumentGroupCardProps): import("react").JSX.Element;
35
+ //# sourceMappingURL=DocumentGroupCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentGroupCard.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/groups/DocumentGroupCard.tsx"],"names":[],"mappings":"AA2SA,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAEzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAMD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,KAAK,EACL,QAAa,EACb,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,WAAW,EACX,cAAiC,EACjC,UAAkB,GACnB,EAAE,sBAAsB,+BAqJxB"}
@@ -0,0 +1,115 @@
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
+ import TextAlign from '@tiptap/extension-text-align';
7
+ import { ImagePreview } from '../../../components/ui/image-preview';
8
+ import { Input } from '../../../components/ui/input';
9
+ import { Label } from '../../../components/ui/label';
10
+ import { Card, CardContent, CardHeader, CardTitle } from '../../../components/ui/card';
11
+ import { FileUpload } from '../../../components/ui/file-upload';
12
+ import { usePresignedFileUrl } from '../../../shared/lib/hooks';
13
+ import { Layers, Type, Pilcrow, ImageIcon, Bold, Italic, Strikethrough, Heading1, Heading2, Heading3, List, ListOrdered, AlignLeft, AlignCenter, AlignRight, Minus, Undo2, Redo2, FileText, Info, } from 'lucide-react';
14
+ // ---------------------------------------------------------------------------
15
+ // Toolbar button
16
+ // ---------------------------------------------------------------------------
17
+ function ToolbarBtn({ onClick, active, disabled, title, children, }) {
18
+ return (_jsx("button", { type: "button", title: title, onClick: onClick, disabled: disabled, className: `flex h-7 w-7 items-center justify-center rounded-md text-sm transition-colors
19
+ ${active
20
+ ? 'bg-indigo-500 text-white shadow-sm'
21
+ : 'text-gray-600 hover:bg-gray-200 hover:text-gray-900'}
22
+ ${disabled ? 'cursor-not-allowed opacity-40' : 'cursor-pointer'}
23
+ `, children: children }));
24
+ }
25
+ function ToolbarSep() {
26
+ return _jsx("div", { className: "mx-0.5 h-5 w-px shrink-0 bg-gray-300" });
27
+ }
28
+ /** Replace `{0}`, `{1}`, … placeholders with a visible blank underline */
29
+ function replacePlaceholdersWithBlanks(html) {
30
+ return html.replace(/\{(\d+)\}/g, (_match, num) => `<span style="display:inline-block;min-width:120px;padding:1px 5px;margin:0 4px;background:#eef2ff;border-bottom:2px solid #6366f1;color:#4f46e5;font-weight:700;font-size:0.85em;text-align:center;vertical-align:baseline;letter-spacing:2px">———(${Number(num) + 1})———</span>`);
31
+ }
32
+ function DocumentEditor({ value, onChange, isReadOnly = false, placeholder }) {
33
+ const [mounted, setMounted] = useState(false);
34
+ const editor = useEditor({
35
+ immediatelyRender: false,
36
+ editable: !isReadOnly,
37
+ extensions: [
38
+ StarterKit,
39
+ TextAlign.configure({ types: ['heading', 'paragraph'] }),
40
+ ],
41
+ // Always use raw value — never inject replaced HTML into the editor
42
+ content: value || '',
43
+ onUpdate: ({ editor }) => {
44
+ onChange(editor.getHTML());
45
+ },
46
+ editorProps: {
47
+ attributes: {
48
+ class: [
49
+ 'focus:outline-none min-h-[200px] max-h-[520px] overflow-y-auto p-4 text-sm text-gray-800 leading-relaxed',
50
+ 'prose prose-sm max-w-none',
51
+ '[&_h1]:text-xl [&_h1]:font-bold [&_h1]:mb-2',
52
+ '[&_h2]:text-lg [&_h2]:font-bold [&_h2]:mb-1.5',
53
+ '[&_h3]:text-base [&_h3]:font-semibold [&_h3]:mb-1',
54
+ '[&_ul]:list-disc [&_ul]:ml-5 [&_ol]:list-decimal [&_ol]:ml-5',
55
+ '[&_li]:mb-0.5',
56
+ '[&_strong]:font-bold [&_em]:italic [&_s]:line-through',
57
+ '[&_hr]:border-gray-300 [&_hr]:my-3',
58
+ 'bg-white',
59
+ ].join(' '),
60
+ ...(placeholder && !value ? { 'data-placeholder': placeholder } : {}),
61
+ },
62
+ },
63
+ });
64
+ useEffect(() => { setMounted(true); }, []);
65
+ useEffect(() => {
66
+ if (editor && value !== undefined && value !== editor.getHTML()) {
67
+ // Always sync raw value — replacement is handled at render time for read-only display
68
+ setTimeout(() => editor.commands.setContent(value, { emitUpdate: false }), 0);
69
+ }
70
+ }, [value, editor]);
71
+ useEffect(() => {
72
+ editor?.setEditable(!isReadOnly);
73
+ }, [isReadOnly, editor]);
74
+ if (!mounted)
75
+ return null;
76
+ return (_jsxs("div", { className: `overflow-hidden rounded-sm border-2 transition-all ${isReadOnly
77
+ ? 'border-gray-200'
78
+ : 'border-gray-200 focus-within:border-indigo-400 focus-within:ring-2 focus-within:ring-indigo-100'}`, children: [!isReadOnly && (_jsxs("div", { className: "flex flex-wrap items-center gap-0.5 border-b border-gray-200 bg-gray-50 px-2 py-1.5", children: [_jsx(ToolbarBtn, { title: "Ho\u00E0n t\u00E1c", onClick: () => editor?.chain().focus().undo().run(), disabled: !editor?.can().undo(), children: _jsx(Undo2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "L\u00E0m l\u1EA1i", onClick: () => editor?.chain().focus().redo().run(), disabled: !editor?.can().redo(), children: _jsx(Redo2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "Ti\u00EAu \u0111\u1EC1 1", active: editor?.isActive('heading', { level: 1 }), onClick: () => editor?.chain().focus().toggleHeading({ level: 1 }).run(), children: _jsx(Heading1, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "Ti\u00EAu \u0111\u1EC1 2", active: editor?.isActive('heading', { level: 2 }), onClick: () => editor?.chain().focus().toggleHeading({ level: 2 }).run(), children: _jsx(Heading2, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "Ti\u00EAu \u0111\u1EC1 3", active: editor?.isActive('heading', { level: 3 }), onClick: () => editor?.chain().focus().toggleHeading({ level: 3 }).run(), children: _jsx(Heading3, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "In \u0111\u1EADm", active: editor?.isActive('bold'), onClick: () => editor?.chain().focus().toggleBold().run(), children: _jsx(Bold, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "In nghi\u00EAng", active: editor?.isActive('italic'), onClick: () => editor?.chain().focus().toggleItalic().run(), children: _jsx(Italic, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "G\u1EA1ch ngang", active: editor?.isActive('strike'), onClick: () => editor?.chain().focus().toggleStrike().run(), children: _jsx(Strikethrough, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "Danh s\u00E1ch", active: editor?.isActive('bulletList'), onClick: () => editor?.chain().focus().toggleBulletList().run(), children: _jsx(List, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "Danh s\u00E1ch s\u1ED1", active: editor?.isActive('orderedList'), onClick: () => editor?.chain().focus().toggleOrderedList().run(), children: _jsx(ListOrdered, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "C\u0103n tr\u00E1i", active: editor?.isActive({ textAlign: 'left' }), onClick: () => editor?.chain().focus().setTextAlign('left').run(), children: _jsx(AlignLeft, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "C\u0103n gi\u1EEFa", active: editor?.isActive({ textAlign: 'center' }), onClick: () => editor?.chain().focus().setTextAlign('center').run(), children: _jsx(AlignCenter, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarBtn, { title: "C\u0103n ph\u1EA3i", active: editor?.isActive({ textAlign: 'right' }), onClick: () => editor?.chain().focus().setTextAlign('right').run(), children: _jsx(AlignRight, { className: "h-3.5 w-3.5" }) }), _jsx(ToolbarSep, {}), _jsx(ToolbarBtn, { title: "\u0110\u01B0\u1EDDng k\u1EBB ngang", onClick: () => editor?.chain().focus().setHorizontalRule().run(), children: _jsx(Minus, { className: "h-3.5 w-3.5" }) })] })), isReadOnly ? (
79
+ /* Read-only display: render replaced HTML but never push it into the editor */
80
+ _jsx("div", { className: [
81
+ 'min-h-[120px] max-h-[520px] overflow-y-auto p-4 text-sm text-gray-800 leading-relaxed bg-gray-50 cursor-not-allowed',
82
+ 'prose prose-sm max-w-none',
83
+ '[&_h1]:text-xl [&_h1]:font-bold [&_h1]:mb-2',
84
+ '[&_h2]:text-lg [&_h2]:font-bold [&_h2]:mb-1.5',
85
+ '[&_h3]:text-base [&_h3]:font-semibold [&_h3]:mb-1',
86
+ '[&_ul]:list-disc [&_ul]:ml-5 [&_ol]:list-decimal [&_ol]:ml-5',
87
+ '[&_li]:mb-0.5',
88
+ '[&_strong]:font-bold [&_em]:italic [&_s]:line-through',
89
+ '[&_hr]:border-gray-300 [&_hr]:my-3',
90
+ ].join(' '), dangerouslySetInnerHTML: { __html: replacePlaceholdersWithBlanks(value || '') } })) : (_jsx(EditorContent, { editor: editor }))] }));
91
+ }
92
+ // ---------------------------------------------------------------------------
93
+ // Component
94
+ // ---------------------------------------------------------------------------
95
+ /**
96
+ * `DocumentGroupCard`
97
+ *
98
+ * Group header card that uses TipTap for structured rich-text content.
99
+ * Ideal for TOEIC Part 6 / Part 7 reading passages, emails, memos,
100
+ * advertisements and other formatted texts shared across a question group.
101
+ */
102
+ export function DocumentGroupCard({ groupNumber, title, subtitle = '', content, imageUrl, onTitleChange, onSubtitleChange, onContentChange, onImageChange, onImagePresignedUrlChange, groupConfig, uploadIdPrefix = 'document-group', isReadOnly = false, }) {
103
+ const hasConfig = groupConfig && groupConfig.length > 0;
104
+ const showTitle = !hasConfig || groupConfig.includes('title');
105
+ const showSubtitle = !hasConfig || groupConfig.includes('subtitle');
106
+ const showContent = !hasConfig || groupConfig.includes('content');
107
+ const showImage = !hasConfig || groupConfig.includes('imageUrl');
108
+ const { previewUrl } = usePresignedFileUrl(imageUrl);
109
+ const displayPreviewUrl = previewUrl || '';
110
+ return (_jsxs(Card, { className: "overflow-hidden border-0 bg-white shadow-lg shadow-indigo-100/50", children: [_jsx("div", { className: "h-1.5 bg-gradient-to-r from-indigo-500 via-violet-500 to-purple-500" }), _jsx(CardHeader, { className: "pb-4", children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-indigo-500 to-violet-600 shadow-md", children: _jsx(Layers, { className: "h-5 w-5 text-white" }) }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(CardTitle, { className: "text-lg font-bold text-gray-900", children: "\u0110o\u1EA1n v\u0103n nh\u00F3m" }), _jsxs("span", { className: "inline-flex items-center rounded-full border border-indigo-300 bg-indigo-100 px-2.5 py-0.5 text-xs font-semibold text-indigo-700", children: ["Nh\u00F3m ", groupNumber] })] }), _jsxs("p", { className: "text-sm text-gray-500", children: ["N\u1ED9i dung \u0111\u1ECBnh d\u1EA1ng phong ph\u00FA \u2014 d\u00F9ng chung cho t\u1EA5t c\u1EA3 c\u00E2u h\u1ECFi trong Nh\u00F3m ", groupNumber] })] })] }) }), _jsxs(CardContent, { className: "space-y-5", children: [showTitle && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-title`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Type, { className: "h-4 w-4 text-indigo-500" }), "Ti\u00EAu \u0111\u1EC1 nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Input, { id: `${uploadIdPrefix}-title`, value: title, onChange: (e) => { if (!isReadOnly)
111
+ onTitleChange(e.target.value); }, readOnly: isReadOnly, placeholder: "Nh\u1EADp ti\u00EAu \u0111\u1EC1 nh\u00F3m c\u00E2u h\u1ECFi\u2026", className: `border-gray-200 bg-white transition-all focus:border-indigo-300 focus:ring-indigo-200 ${isReadOnly ? 'cursor-not-allowed border-transparent bg-gray-50 text-gray-500 focus:border-transparent focus:ring-0' : ''}` })] })), showSubtitle && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { htmlFor: `${uploadIdPrefix}-subtitle`, className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Pilcrow, { className: "h-4 w-4 text-indigo-500" }), "Ph\u1EE5 \u0111\u1EC1", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(Input, { id: `${uploadIdPrefix}-subtitle`, value: subtitle, onChange: (e) => { if (!isReadOnly)
112
+ onSubtitleChange?.(e.target.value); }, readOnly: isReadOnly, placeholder: "Nh\u1EADp ph\u1EE5 \u0111\u1EC1 ho\u1EB7c m\u00F4 t\u1EA3 ng\u1EAFn\u2026", className: `border-gray-200 bg-white transition-all focus:border-indigo-300 focus:ring-indigo-200 ${isReadOnly ? 'cursor-not-allowed border-transparent bg-gray-50 text-gray-500 focus:border-transparent focus:ring-0' : ''}` })] })), showContent && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(FileText, { className: "h-4 w-4 text-indigo-500" }), "N\u1ED9i dung \u0111o\u1EA1n v\u0103n", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), _jsx(DocumentEditor, { value: content, onChange: onContentChange, isReadOnly: isReadOnly, placeholder: "Nh\u1EADp \u0111o\u1EA1n v\u0103n, email, th\u00F4ng b\u00E1o, qu\u1EA3ng c\u00E1o\u2026 d\u00F9ng chung cho nh\u00F3m c\u00E2u h\u1ECFi n\u00E0y", uploadIdPrefix: uploadIdPrefix }), !isReadOnly && (_jsxs("div", { className: "flex items-start gap-2.5 rounded-lg border border-amber-200 bg-amber-50 px-3.5 py-2.5", children: [_jsx(Info, { className: "mt-0.5 h-4 w-4 shrink-0 text-amber-500" }), _jsxs("div", { className: "text-xs text-amber-800 leading-relaxed", children: [_jsx("span", { className: "font-semibold", children: "G\u1EE3i \u00FD (ch\u1EC9 d\u00E0nh cho d\u1EA1ng \u0111i\u1EC1n t\u1EEB):" }), ' ', "N\u1EBFu \u0111o\u1EA1n v\u0103n c\u00F3 kho\u1EA3ng tr\u1ED1ng c\u1EA7n \u0111i\u1EC1n, h\u00E3y \u0111\u00E1nh d\u1EA5u b\u1EB1ng", ' ', _jsx("code", { className: "rounded bg-amber-100 px-1 py-0.5 font-mono font-semibold text-amber-700", children: '{0}' }), ",", ' ', _jsx("code", { className: "rounded bg-amber-100 px-1 py-0.5 font-mono font-semibold text-amber-700", children: '{1}' }), ",", ' ', _jsx("code", { className: "rounded bg-amber-100 px-1 py-0.5 font-mono font-semibold text-amber-700", children: '{2}' }), "\u2026 \u2014 m\u1ED7i s\u1ED1 t\u01B0\u01A1ng \u1EE9ng th\u1EE9 t\u1EF1 c\u00E2u h\u1ECFi trong nh\u00F3m. V\u1EDBi d\u1EA1ng b\u00E0i \u0111\u1ECDc th\u00F4ng th\u01B0\u1EDDng, b\u1EA1n kh\u00F4ng c\u1EA7n d\u00F9ng k\u00FD hi\u1EC7u n\u00E0y."] })] }))] })), showImage && (_jsxs("div", { className: "space-y-2", children: [_jsxs(Label, { className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(ImageIcon, { className: "h-4 w-4 text-indigo-500" }), "H\u00ECnh \u1EA3nh nh\u00F3m", ' ', _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn)" })] }), !isReadOnly && (_jsx(FileUpload, { id: `${uploadIdPrefix}-image`, label: "", accept: "image/*", value: imageUrl, onChange: (url) => { if (!isReadOnly)
113
+ onImageChange(url); }, onPresignedUrlChange: onImagePresignedUrlChange, maxSize: 5, placeholder: "Upload \u1EA3nh ho\u1EB7c paste URL", autoUpload: true, prefix: "questions" })), displayPreviewUrl && (_jsx(ImagePreview, { src: displayPreviewUrl, alt: "Group image preview", className: "mt-2 h-48 w-full max-w-md rounded-lg border border-gray-200" }))] }))] })] }));
114
+ }
115
+ //# sourceMappingURL=DocumentGroupCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentGroupCard.js","sourceRoot":"","sources":["../../../../src/components/questions/groups/DocumentGroupCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,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,EAC7B,KAAK,EAAC,EAAE,EACR,MAAM,EAAC,SAAS,EAChB,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC,UAAU;oCAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAC3D,oBAAoB,EAAE,yBAAyB,EAC/C,OAAO,EAAE,CAAC,EACV,WAAW,EAAC,qCAA2B,EACvC,UAAU,EAAE,IAAI,EAChB,MAAM,EAAC,WAAW,GAClB,CACH,EACA,iBAAiB,IAAI,CACpB,KAAC,YAAY,IACX,GAAG,EAAE,iBAAiB,EACtB,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAC,6DAA6D,GACvE,CACH,IACG,CACP,IACW,IACT,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { MatchByWritingAnswerOption } from '../_shared/types/match-by-writing-answer.type';
2
+ export interface MatchAnswerGroupCardProps {
3
+ currentGroupNumber: number;
4
+ groupTitle: string;
5
+ groupImageUrl: string;
6
+ groupImagePreviewUrl: string;
7
+ options: MatchByWritingAnswerOption[];
8
+ groupConfig?: string[];
9
+ showGroupTitle: boolean;
10
+ showGroupImageUrl: boolean;
11
+ onGroupTitleChange: (value: string) => void;
12
+ onGroupImageChange: (value: string) => void;
13
+ onGroupImagePreviewUrlChange: (value: string) => void;
14
+ onUpdateOption: (index: number, field: keyof MatchByWritingAnswerOption, value: string) => void;
15
+ onRemoveOption: (index: number) => void;
16
+ onAddOption: () => void;
17
+ }
18
+ export declare function MatchAnswerGroupCard({ currentGroupNumber, groupTitle, groupImageUrl, groupImagePreviewUrl, options, groupConfig, showGroupTitle, showGroupImageUrl, onGroupTitleChange, onGroupImageChange, onGroupImagePreviewUrlChange, onUpdateOption, onRemoveOption, onAddOption, }: MatchAnswerGroupCardProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=MatchAnswerGroupCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatchAnswerGroupCard.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/groups/MatchAnswerGroupCard.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAqGpH,MAAM,WAAW,yBAAyB;IACxC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,0BAA0B,EAAE,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,4BAA4B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,0BAA0B,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChG,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,OAAO,EACP,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,4BAA4B,EAC5B,cAAc,EACd,cAAc,EACd,WAAW,GACZ,EAAE,yBAAyB,+BAiG3B"}
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState } from 'react';
4
+ import { ImagePreview } from '../../../components/ui/image-preview';
5
+ import { Button } from '../../../components/ui/button';
6
+ import { Label } from '../../../components/ui/label';
7
+ import { Input } from '../../../components/ui/input';
8
+ import { Card, CardContent, CardHeader, CardTitle } from '../../../components/ui/card';
9
+ import { FileUpload } from '../../../components/ui/file-upload';
10
+ import { usePresignedFileUrl } from '../../../shared/lib/hooks';
11
+ import { ImageIcon, Layers, Plus, Type, X } from 'lucide-react';
12
+ function OptionRow({ option, index, canRemove, onUpdate, onRemove, groupConfig, }) {
13
+ const [localPreviewUrl, setLocalPreviewUrl] = useState('');
14
+ const { previewUrl: presignedUrl } = usePresignedFileUrl(option.imageUrl || '');
15
+ const displayUrl = localPreviewUrl || presignedUrl || '';
16
+ const showAnswer = !groupConfig || groupConfig.includes('answer');
17
+ const showContent = groupConfig?.includes('content') ?? false;
18
+ const showImageUrl = !groupConfig || groupConfig.includes('imageUrl');
19
+ return (_jsxs("div", { className: "flex items-start gap-3 rounded-xl border border-purple-100 bg-gradient-to-r from-purple-50/50 to-violet-50/50 p-4", children: [_jsx("div", { className: "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-purple-500 to-violet-600 text-base font-bold text-white shadow-sm", children: index + 1 }), _jsxs("div", { className: "flex-1 space-y-3", children: [_jsxs("div", { className: "flex items-end gap-3", children: [showAnswer && (_jsx("div", { className: "flex-1", children: _jsx(Input, { value: option.answer, onChange: (e) => onUpdate(index, 'answer', e.target.value), placeholder: `Nhãn (ví dụ: ${String.fromCharCode(65 + index)} hoặc "a pineapple")`, className: "border-purple-200 bg-white focus:border-purple-400 focus:ring-purple-200" }) })), showContent && (_jsx("div", { className: "flex-1", children: _jsx(Input, { value: option.content || '', onChange: (e) => onUpdate(index, 'content', e.target.value), placeholder: "N\u1ED9i dung (m\u00F4 t\u1EA3 th\u00EAm cho \u0111\u00E1p \u00E1n)", className: "border-purple-200 bg-white focus:border-purple-400 focus:ring-purple-200" }) })), showImageUrl && (_jsx("div", { className: "flex-1", children: _jsx(FileUpload, { id: `option-image-${index}`, label: "", accept: "image/*", value: option.imageUrl || '', onChange: (url) => onUpdate(index, 'imageUrl', url), onPresignedUrlChange: setLocalPreviewUrl, maxSize: 5, placeholder: "Upload \u1EA3nh cho \u0111\u00E1p \u00E1n", autoUpload: true, prefix: "questions" }) }))] }), showImageUrl && displayUrl && (_jsx("div", { className: "relative h-32 w-32 overflow-hidden rounded-lg border border-purple-200 bg-white shadow-sm", children: _jsx("img", { src: displayUrl, alt: option.answer || `Option ${index + 1}`, className: "h-full w-full object-contain" }) }))] }), canRemove && (_jsx(Button, { variant: "ghost", size: "sm", onClick: () => onRemove(index), className: "flex-shrink-0 text-red-500 hover:bg-red-50 hover:text-red-700", children: _jsx(X, { className: "h-4 w-4" }) }))] }));
20
+ }
21
+ export function MatchAnswerGroupCard({ currentGroupNumber, groupTitle, groupImageUrl, groupImagePreviewUrl, options, groupConfig, showGroupTitle, showGroupImageUrl, onGroupTitleChange, onGroupImageChange, onGroupImagePreviewUrlChange, onUpdateOption, onRemoveOption, onAddOption, }) {
22
+ const { previewUrl: groupImagePresignedUrl } = usePresignedFileUrl(groupImageUrl || '');
23
+ const displayGroupImageUrl = groupImagePreviewUrl || groupImagePresignedUrl || '';
24
+ return (_jsxs(Card, { className: "overflow-hidden border-0 bg-white shadow-lg shadow-purple-100/50", children: [_jsx(CardHeader, { className: "pb-3", children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-purple-500 to-violet-600 shadow-md", children: _jsx(Layers, { className: "h-5 w-5 text-white" }) }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(CardTitle, { className: "text-lg font-bold text-gray-900", children: "\u0110\u00E1p \u00E1n gh\u00E9p n\u1ED1i" }), _jsxs("span", { className: "inline-flex items-center rounded-full border border-purple-300 bg-purple-100 px-2.5 py-0.5 text-xs font-semibold text-purple-700", children: ["Nh\u00F3m ", currentGroupNumber] })] }), _jsx("p", { className: "text-sm text-gray-500", children: "C\u00E1c \u0111\u00E1p \u00E1n (h\u00ECnh \u1EA3nh + nh\u00E3n) d\u00F9ng \u0111\u1EC3 gh\u00E9p n\u1ED1i v\u1EDBi t\u1EEBng c\u00E2u h\u1ECFi trong nh\u00F3m" })] })] }) }), _jsxs(CardContent, { className: "space-y-4", children: [showGroupTitle && (_jsxs("div", { className: "space-y-2 rounded-xl border border-purple-100 bg-gradient-to-r from-purple-50/30 to-violet-50/30 p-4", children: [_jsxs(Label, { htmlFor: "group-title", className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(Type, { className: "h-4 w-4 text-purple-500" }), "Ti\u00EAu \u0111\u1EC1 nh\u00F3m", _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(d\u00F9ng chung cho c\u1EA3 nh\u00F3m)" })] }), _jsx(Input, { id: "group-title", value: groupTitle, onChange: (e) => onGroupTitleChange(e.target.value), placeholder: "Nh\u1EADp ti\u00EAu \u0111\u1EC1 nh\u00F3m...", className: "border-purple-200 bg-white focus:border-purple-400 focus:ring-purple-200" })] })), showGroupImageUrl && (_jsxs("div", { className: "space-y-2 rounded-xl border border-purple-100 bg-gradient-to-r from-purple-50/30 to-violet-50/30 p-4", children: [_jsxs(Label, { className: "flex items-center gap-2 text-sm font-semibold text-gray-800", children: [_jsx(ImageIcon, { className: "h-4 w-4 text-purple-500" }), "H\u00ECnh \u1EA3nh nh\u00F3m ", _jsx("span", { className: "text-xs font-normal text-gray-500", children: "(T\u00F9y ch\u1ECDn - d\u00F9ng chung cho c\u1EA3 nh\u00F3m)" })] }), _jsx(FileUpload, { id: "group-image", label: "", accept: "image/*", value: groupImageUrl || '', onChange: onGroupImageChange, onPresignedUrlChange: onGroupImagePreviewUrlChange, maxSize: 5, placeholder: "Upload \u1EA3nh nh\u00F3m ho\u1EB7c paste URL", autoUpload: true, prefix: "questions" }), displayGroupImageUrl && (_jsx(ImagePreview, { src: displayGroupImageUrl, alt: "Group image preview", className: "mt-2 h-48 w-full max-w-md rounded-lg border border-gray-200" }))] })), _jsx("div", { className: "space-y-4", children: options.map((option, index) => (_jsx(OptionRow, { option: option, index: index, canRemove: options.length > 2, onUpdate: onUpdateOption, onRemove: onRemoveOption, groupConfig: groupConfig }, index))) }), _jsxs(Button, { variant: "outline", size: "sm", onClick: onAddOption, className: "gap-2 border-purple-300 text-purple-600 hover:bg-purple-50 hover:text-purple-700", children: [_jsx(Plus, { className: "h-4 w-4" }), "Th\u00EAm \u0111\u00E1p \u00E1n (", options.length + 1, ")"] })] })] }));
25
+ }
26
+ //# sourceMappingURL=MatchAnswerGroupCard.js.map