@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.
- package/README.md +254 -0
- package/dist/api/exam-create.d.ts +18 -0
- package/dist/api/exam-create.d.ts.map +1 -0
- package/dist/api/exam-create.js +180 -0
- package/dist/api/exam-create.js.map +1 -0
- package/dist/api/exam-create.types.d.ts +149 -0
- package/dist/api/exam-create.types.d.ts.map +1 -0
- package/dist/api/exam-create.types.js +2 -0
- package/dist/api/exam-create.types.js.map +1 -0
- package/dist/api/exam-questions.d.ts +10 -0
- package/dist/api/exam-questions.d.ts.map +1 -0
- package/dist/api/exam-questions.js +99 -0
- package/dist/api/exam-questions.js.map +1 -0
- package/dist/api/exam-questions.types.d.ts +63 -0
- package/dist/api/exam-questions.types.d.ts.map +1 -0
- package/dist/api/exam-questions.types.js +2 -0
- package/dist/api/exam-questions.types.js.map +1 -0
- package/dist/api/exam-taking.d.ts +8 -0
- package/dist/api/exam-taking.d.ts.map +1 -0
- package/dist/api/exam-taking.js +74 -0
- package/dist/api/exam-taking.js.map +1 -0
- package/dist/api/exam-taking.types.d.ts +148 -0
- package/dist/api/exam-taking.types.d.ts.map +1 -0
- package/dist/api/exam-taking.types.js +2 -0
- package/dist/api/exam-taking.types.js.map +1 -0
- package/dist/api/index.d.ts +8 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +7 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/result-review.d.ts +8 -0
- package/dist/api/result-review.d.ts.map +1 -0
- package/dist/api/result-review.js +51 -0
- package/dist/api/result-review.js.map +1 -0
- package/dist/api/result-review.types.d.ts +86 -0
- package/dist/api/result-review.types.d.ts.map +1 -0
- package/dist/api/result-review.types.js +2 -0
- package/dist/api/result-review.types.js.map +1 -0
- package/dist/components/CueCardEditor.d.ts +8 -0
- package/dist/components/CueCardEditor.d.ts.map +1 -0
- package/dist/components/CueCardEditor.js +59 -0
- package/dist/components/CueCardEditor.js.map +1 -0
- package/dist/components/common/ResolvedImage.d.ts +9 -0
- package/dist/components/common/ResolvedImage.d.ts.map +1 -0
- package/dist/components/common/ResolvedImage.js +16 -0
- package/dist/components/common/ResolvedImage.js.map +1 -0
- package/dist/components/exams/CreateExamInfoForm.d.ts +9 -0
- package/dist/components/exams/CreateExamInfoForm.d.ts.map +1 -0
- package/dist/components/exams/CreateExamInfoForm.js +36 -0
- package/dist/components/exams/CreateExamInfoForm.js.map +1 -0
- package/dist/components/exams/CreateExamPageContainer.d.ts +10 -0
- package/dist/components/exams/CreateExamPageContainer.d.ts.map +1 -0
- package/dist/components/exams/CreateExamPageContainer.js +104 -0
- package/dist/components/exams/CreateExamPageContainer.js.map +1 -0
- package/dist/components/exams/ExamCreator.d.ts +17 -0
- package/dist/components/exams/ExamCreator.d.ts.map +1 -0
- package/dist/components/exams/ExamCreator.js +90 -0
- package/dist/components/exams/ExamCreator.js.map +1 -0
- package/dist/components/exams/ExamPartTabs.d.ts +10 -0
- package/dist/components/exams/ExamPartTabs.d.ts.map +1 -0
- package/dist/components/exams/ExamPartTabs.js +41 -0
- package/dist/components/exams/ExamPartTabs.js.map +1 -0
- package/dist/components/exams/ExamQuestionGrid.d.ts +10 -0
- package/dist/components/exams/ExamQuestionGrid.d.ts.map +1 -0
- package/dist/components/exams/ExamQuestionGrid.js +19 -0
- package/dist/components/exams/ExamQuestionGrid.js.map +1 -0
- package/dist/components/exams/ExamQuestionsPageContainer.d.ts +11 -0
- package/dist/components/exams/ExamQuestionsPageContainer.d.ts.map +1 -0
- package/dist/components/exams/ExamQuestionsPageContainer.js +91 -0
- package/dist/components/exams/ExamQuestionsPageContainer.js.map +1 -0
- package/dist/components/exams/PartAudioUploader.d.ts +10 -0
- package/dist/components/exams/PartAudioUploader.d.ts.map +1 -0
- package/dist/components/exams/PartAudioUploader.js +10 -0
- package/dist/components/exams/PartAudioUploader.js.map +1 -0
- package/dist/components/exams/TemplateSelector.d.ts +9 -0
- package/dist/components/exams/TemplateSelector.d.ts.map +1 -0
- package/dist/components/exams/TemplateSelector.js +67 -0
- package/dist/components/exams/TemplateSelector.js.map +1 -0
- package/dist/components/exams/api.d.ts +6 -0
- package/dist/components/exams/api.d.ts.map +1 -0
- package/dist/components/exams/api.js +4 -0
- package/dist/components/exams/api.js.map +1 -0
- package/dist/components/exams/create-exam.validation.d.ts +11 -0
- package/dist/components/exams/create-exam.validation.d.ts.map +1 -0
- package/dist/components/exams/create-exam.validation.js +19 -0
- package/dist/components/exams/create-exam.validation.js.map +1 -0
- package/dist/components/exams/exam-template.utils.d.ts +59 -0
- package/dist/components/exams/exam-template.utils.d.ts.map +1 -0
- package/dist/components/exams/exam-template.utils.js +19 -0
- package/dist/components/exams/exam-template.utils.js.map +1 -0
- package/dist/components/exams/index.d.ts +18 -0
- package/dist/components/exams/index.d.ts.map +1 -0
- package/dist/components/exams/index.js +11 -0
- package/dist/components/exams/index.js.map +1 -0
- package/dist/components/exams/take/ExamTakingPageContainer.d.ts +10 -0
- package/dist/components/exams/take/ExamTakingPageContainer.d.ts.map +1 -0
- package/dist/components/exams/take/ExamTakingPageContainer.js +154 -0
- package/dist/components/exams/take/ExamTakingPageContainer.js.map +1 -0
- package/dist/components/exams/take/GenericQuestionRenderer.d.ts +8 -0
- package/dist/components/exams/take/GenericQuestionRenderer.d.ts.map +1 -0
- package/dist/components/exams/take/GenericQuestionRenderer.js +15 -0
- package/dist/components/exams/take/GenericQuestionRenderer.js.map +1 -0
- package/dist/components/exams/take/exam-taking.utils.d.ts +116 -0
- package/dist/components/exams/take/exam-taking.utils.d.ts.map +1 -0
- package/dist/components/exams/take/exam-taking.utils.js +89 -0
- package/dist/components/exams/take/exam-taking.utils.js.map +1 -0
- package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts +9 -0
- package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts.map +1 -0
- package/dist/components/exams/take/hooks/useSpeakingRecorder.js +25 -0
- package/dist/components/exams/take/hooks/useSpeakingRecorder.js.map +1 -0
- package/dist/components/exams/take/index.d.ts +7 -0
- package/dist/components/exams/take/index.d.ts.map +1 -0
- package/dist/components/exams/take/index.js +3 -0
- package/dist/components/exams/take/index.js.map +1 -0
- package/dist/components/exams/take/types.d.ts +2 -0
- package/dist/components/exams/take/types.d.ts.map +1 -0
- package/dist/components/exams/take/types.js +2 -0
- package/dist/components/exams/take/types.js.map +1 -0
- package/dist/components/index.d.ts +43 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +43 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/questions/_shared/config/question-types.config.d.ts +10 -0
- package/dist/components/questions/_shared/config/question-types.config.d.ts.map +1 -0
- package/dist/components/questions/_shared/config/question-types.config.js +334 -0
- package/dist/components/questions/_shared/config/question-types.config.js.map +1 -0
- package/dist/components/questions/_shared/constants/color-palette.d.ts +7 -0
- package/dist/components/questions/_shared/constants/color-palette.d.ts.map +1 -0
- package/dist/components/questions/_shared/constants/color-palette.js +22 -0
- package/dist/components/questions/_shared/constants/color-palette.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts +25 -0
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js +106 -0
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts +57 -0
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js +223 -0
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts +12 -0
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js +141 -0
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts +20 -0
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js +124 -0
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts +35 -0
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js +51 -0
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts +90 -0
- package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionFormState.js +55 -0
- package/dist/components/questions/_shared/hooks/useQuestionFormState.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts +13 -0
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.js +124 -0
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts +20 -0
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.js +122 -0
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts +13 -0
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.js +71 -0
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.js.map +1 -0
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts +51 -0
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts.map +1 -0
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js +195 -0
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js.map +1 -0
- package/dist/components/questions/_shared/index.d.ts +8 -0
- package/dist/components/questions/_shared/index.d.ts.map +1 -0
- package/dist/components/questions/_shared/index.js +8 -0
- package/dist/components/questions/_shared/index.js.map +1 -0
- package/dist/components/questions/_shared/types/answer-the-question.type.d.ts +59 -0
- package/dist/components/questions/_shared/types/answer-the-question.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/answer-the-question.type.js +2 -0
- package/dist/components/questions/_shared/types/answer-the-question.type.js.map +1 -0
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts +24 -0
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js +2 -0
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js.map +1 -0
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts +22 -0
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.js +4 -0
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.js.map +1 -0
- package/dist/components/questions/_shared/types/color-region.config.d.ts +34 -0
- package/dist/components/questions/_shared/types/color-region.config.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/color-region.config.js +2 -0
- package/dist/components/questions/_shared/types/color-region.config.js.map +1 -0
- package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts +53 -0
- package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/fill-in-blank.type.js +2 -0
- package/dist/components/questions/_shared/types/fill-in-blank.type.js.map +1 -0
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts +48 -0
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js +2 -0
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js.map +1 -0
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts +33 -0
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.js +2 -0
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.js.map +1 -0
- package/dist/components/questions/_shared/types/index.d.ts +13 -0
- package/dist/components/questions/_shared/types/index.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/index.js +13 -0
- package/dist/components/questions/_shared/types/index.js.map +1 -0
- package/dist/components/questions/_shared/types/label-the-picture.type.d.ts +33 -0
- package/dist/components/questions/_shared/types/label-the-picture.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/label-the-picture.type.js +2 -0
- package/dist/components/questions/_shared/types/label-the-picture.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts +48 -0
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts +56 -0
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts +66 -0
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts +32 -0
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts +35 -0
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts +30 -0
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts +39 -0
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts +26 -0
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js +4 -0
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts +28 -0
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts +25 -0
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js +4 -0
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts +33 -0
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js +2 -0
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js.map +1 -0
- package/dist/components/questions/_shared/types/listening-drawline.type.d.ts +40 -0
- package/dist/components/questions/_shared/types/listening-drawline.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/listening-drawline.type.js +2 -0
- package/dist/components/questions/_shared/types/listening-drawline.type.js.map +1 -0
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts +64 -0
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.js +2 -0
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.js.map +1 -0
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts +48 -0
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js +2 -0
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js.map +1 -0
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts +52 -0
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.js +2 -0
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.js.map +1 -0
- package/dist/components/questions/_shared/types/multiple-choice.type.d.ts +39 -0
- package/dist/components/questions/_shared/types/multiple-choice.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/multiple-choice.type.js +2 -0
- package/dist/components/questions/_shared/types/multiple-choice.type.js.map +1 -0
- package/dist/components/questions/_shared/types/question-group.type.d.ts +45 -0
- package/dist/components/questions/_shared/types/question-group.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/question-group.type.js +12 -0
- package/dist/components/questions/_shared/types/question-group.type.js.map +1 -0
- package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts +44 -0
- package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/read-and-color-objects.type.js +2 -0
- package/dist/components/questions/_shared/types/read-and-color-objects.type.js.map +1 -0
- package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts +19 -0
- package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/read-displayed-content.type.js +2 -0
- package/dist/components/questions/_shared/types/read-displayed-content.type.js.map +1 -0
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts +46 -0
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js +2 -0
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js.map +1 -0
- package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts +18 -0
- package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/speaking-describe-image.type.js +2 -0
- package/dist/components/questions/_shared/types/speaking-describe-image.type.js.map +1 -0
- package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts +25 -0
- package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/spontaneous-qa.type.js +2 -0
- package/dist/components/questions/_shared/types/spontaneous-qa.type.js.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts +47 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js +2 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts +53 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.js +2 -0
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.js.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts +47 -0
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.js +2 -0
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.js.map +1 -0
- package/dist/components/questions/_shared/types/word-ordering.type.d.ts +36 -0
- package/dist/components/questions/_shared/types/word-ordering.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/word-ordering.type.js +2 -0
- package/dist/components/questions/_shared/types/word-ordering.type.js.map +1 -0
- package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts +36 -0
- package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/write-a-short-letter.type.js +2 -0
- package/dist/components/questions/_shared/types/write-a-short-letter.type.js.map +1 -0
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts +29 -0
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.js +4 -0
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.js.map +1 -0
- package/dist/components/questions/_shared/types/write-sentences.type.d.ts +41 -0
- package/dist/components/questions/_shared/types/write-sentences.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/write-sentences.type.js +2 -0
- package/dist/components/questions/_shared/types/write-sentences.type.js.map +1 -0
- package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts +31 -0
- package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts.map +1 -0
- package/dist/components/questions/_shared/types/write-short-paragraph.type.js +2 -0
- package/dist/components/questions/_shared/types/write-short-paragraph.type.js.map +1 -0
- package/dist/components/questions/_shared/utils/answer-builder.d.ts +4 -0
- package/dist/components/questions/_shared/utils/answer-builder.d.ts.map +1 -0
- package/dist/components/questions/_shared/utils/answer-builder.js +80 -0
- package/dist/components/questions/_shared/utils/answer-builder.js.map +1 -0
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts +7 -0
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts.map +1 -0
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.js +40 -0
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.js.map +1 -0
- package/dist/components/questions/_shared/utils/id-generator.d.ts +2 -0
- package/dist/components/questions/_shared/utils/id-generator.d.ts.map +1 -0
- package/dist/components/questions/_shared/utils/id-generator.js +4 -0
- package/dist/components/questions/_shared/utils/id-generator.js.map +1 -0
- package/dist/components/questions/_shared/utils/question-validation.d.ts +6 -0
- package/dist/components/questions/_shared/utils/question-validation.d.ts.map +1 -0
- package/dist/components/questions/_shared/utils/question-validation.js +22 -0
- package/dist/components/questions/_shared/utils/question-validation.js.map +1 -0
- package/dist/components/questions/components/ColorNode.d.ts +20 -0
- package/dist/components/questions/components/ColorNode.d.ts.map +1 -0
- package/dist/components/questions/components/ColorNode.js +86 -0
- package/dist/components/questions/components/ColorNode.js.map +1 -0
- package/dist/components/questions/components/ColorRegionClient.d.ts +12 -0
- package/dist/components/questions/components/ColorRegionClient.d.ts.map +1 -0
- package/dist/components/questions/components/ColorRegionClient.js +546 -0
- package/dist/components/questions/components/ColorRegionClient.js.map +1 -0
- package/dist/components/questions/components/ColorRegionCreator.d.ts +8 -0
- package/dist/components/questions/components/ColorRegionCreator.d.ts.map +1 -0
- package/dist/components/questions/components/ColorRegionCreator.js +421 -0
- package/dist/components/questions/components/ColorRegionCreator.js.map +1 -0
- package/dist/components/questions/components/ColorRegionNode.d.ts +20 -0
- package/dist/components/questions/components/ColorRegionNode.d.ts.map +1 -0
- package/dist/components/questions/components/ColorRegionNode.js +60 -0
- package/dist/components/questions/components/ColorRegionNode.js.map +1 -0
- package/dist/components/questions/components/CreatorGuide.d.ts +103 -0
- package/dist/components/questions/components/CreatorGuide.d.ts.map +1 -0
- package/dist/components/questions/components/CreatorGuide.js +104 -0
- package/dist/components/questions/components/CreatorGuide.js.map +1 -0
- package/dist/components/questions/components/NameNode.d.ts +18 -0
- package/dist/components/questions/components/NameNode.d.ts.map +1 -0
- package/dist/components/questions/components/NameNode.js +27 -0
- package/dist/components/questions/components/NameNode.js.map +1 -0
- package/dist/components/questions/components/QuestionBankOption.d.ts +33 -0
- package/dist/components/questions/components/QuestionBankOption.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionBankOption.js +47 -0
- package/dist/components/questions/components/QuestionBankOption.js.map +1 -0
- package/dist/components/questions/components/QuestionBasicInfoForm.d.ts +20 -0
- package/dist/components/questions/components/QuestionBasicInfoForm.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionBasicInfoForm.js +10 -0
- package/dist/components/questions/components/QuestionBasicInfoForm.js.map +1 -0
- package/dist/components/questions/components/QuestionCommonFields.d.ts +23 -0
- package/dist/components/questions/components/QuestionCommonFields.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionCommonFields.js +34 -0
- package/dist/components/questions/components/QuestionCommonFields.js.map +1 -0
- package/dist/components/questions/components/QuestionSearchDropdown.d.ts +42 -0
- package/dist/components/questions/components/QuestionSearchDropdown.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionSearchDropdown.js +259 -0
- package/dist/components/questions/components/QuestionSearchDropdown.js.map +1 -0
- package/dist/components/questions/components/QuestionTypeSelector.d.ts +9 -0
- package/dist/components/questions/components/QuestionTypeSelector.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionTypeSelector.js +33 -0
- package/dist/components/questions/components/QuestionTypeSelector.js.map +1 -0
- package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts +10 -0
- package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts.map +1 -0
- package/dist/components/questions/components/QuestionTypeSpecificForms.js +7 -0
- package/dist/components/questions/components/QuestionTypeSpecificForms.js.map +1 -0
- package/dist/components/questions/components/RegionNode.d.ts +20 -0
- package/dist/components/questions/components/RegionNode.d.ts.map +1 -0
- package/dist/components/questions/components/RegionNode.js +95 -0
- package/dist/components/questions/components/RegionNode.js.map +1 -0
- package/dist/components/questions/components/index.d.ts +15 -0
- package/dist/components/questions/components/index.d.ts.map +1 -0
- package/dist/components/questions/components/index.js +15 -0
- package/dist/components/questions/components/index.js.map +1 -0
- package/dist/components/questions/creator/QuestionCreator.d.ts +35 -0
- package/dist/components/questions/creator/QuestionCreator.d.ts.map +1 -0
- package/dist/components/questions/creator/QuestionCreator.js +91 -0
- package/dist/components/questions/creator/QuestionCreator.js.map +1 -0
- package/dist/components/questions/creator/QuestionGroupCreator.d.ts +8 -0
- package/dist/components/questions/creator/QuestionGroupCreator.d.ts.map +1 -0
- package/dist/components/questions/creator/QuestionGroupCreator.js +120 -0
- package/dist/components/questions/creator/QuestionGroupCreator.js.map +1 -0
- package/dist/components/questions/creator/dedicated-component-router.d.ts +39 -0
- package/dist/components/questions/creator/dedicated-component-router.d.ts.map +1 -0
- package/dist/components/questions/creator/dedicated-component-router.js +80 -0
- package/dist/components/questions/creator/dedicated-component-router.js.map +1 -0
- package/dist/components/questions/creator/index.d.ts +4 -0
- package/dist/components/questions/creator/index.d.ts.map +1 -0
- package/dist/components/questions/creator/index.js +4 -0
- package/dist/components/questions/creator/index.js.map +1 -0
- package/dist/components/questions/creator/question-type-registry.d.ts +66 -0
- package/dist/components/questions/creator/question-type-registry.d.ts.map +1 -0
- package/dist/components/questions/creator/question-type-registry.js +81 -0
- package/dist/components/questions/creator/question-type-registry.js.map +1 -0
- package/dist/components/questions/groups/ArticlesGroupCard.d.ts +35 -0
- package/dist/components/questions/groups/ArticlesGroupCard.d.ts.map +1 -0
- package/dist/components/questions/groups/ArticlesGroupCard.js +122 -0
- package/dist/components/questions/groups/ArticlesGroupCard.js.map +1 -0
- package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts +51 -0
- package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts.map +1 -0
- package/dist/components/questions/groups/BasicQuestionGroupCard.js +51 -0
- package/dist/components/questions/groups/BasicQuestionGroupCard.js.map +1 -0
- package/dist/components/questions/groups/DocumentGroupCard.d.ts +35 -0
- package/dist/components/questions/groups/DocumentGroupCard.d.ts.map +1 -0
- package/dist/components/questions/groups/DocumentGroupCard.js +115 -0
- package/dist/components/questions/groups/DocumentGroupCard.js.map +1 -0
- package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts +19 -0
- package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts.map +1 -0
- package/dist/components/questions/groups/MatchAnswerGroupCard.js +26 -0
- package/dist/components/questions/groups/MatchAnswerGroupCard.js.map +1 -0
- package/dist/components/questions/index.d.ts +11 -0
- package/dist/components/questions/index.d.ts.map +1 -0
- package/dist/components/questions/index.js +11 -0
- package/dist/components/questions/index.js.map +1 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts +3 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts.map +1 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js +38 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js.map +1 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts +3 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts.map +1 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js +352 -0
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js.map +1 -0
- package/dist/components/questions/types/answer-the-question/register.d.ts +3 -0
- package/dist/components/questions/types/answer-the-question/register.d.ts.map +1 -0
- package/dist/components/questions/types/answer-the-question/register.js +68 -0
- package/dist/components/questions/types/answer-the-question/register.js.map +1 -0
- package/dist/components/questions/types/answer-the-question/transform.d.ts +3 -0
- package/dist/components/questions/types/answer-the-question/transform.d.ts.map +1 -0
- package/dist/components/questions/types/answer-the-question/transform.js +37 -0
- package/dist/components/questions/types/answer-the-question/transform.js.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js +142 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js +119 -0
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/index.d.ts +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/index.d.ts.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/index.js +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/index.js.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/register.d.ts +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/register.d.ts.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/register.js +5 -0
- package/dist/components/questions/types/arrange-letters-into-words/register.js.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts +3 -0
- package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts.map +1 -0
- package/dist/components/questions/types/arrange-letters-into-words/transform.js +25 -0
- package/dist/components/questions/types/arrange-letters-into-words/transform.js.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts +3 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js +65 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts +3 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js +170 -0
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/index.d.ts +3 -0
- package/dist/components/questions/types/choose-correct-adjective/index.d.ts.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/index.js +3 -0
- package/dist/components/questions/types/choose-correct-adjective/index.js.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/register.d.ts +3 -0
- package/dist/components/questions/types/choose-correct-adjective/register.d.ts.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/register.js +56 -0
- package/dist/components/questions/types/choose-correct-adjective/register.js.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/transform.d.ts +3 -0
- package/dist/components/questions/types/choose-correct-adjective/transform.d.ts.map +1 -0
- package/dist/components/questions/types/choose-correct-adjective/transform.js +17 -0
- package/dist/components/questions/types/choose-correct-adjective/transform.js.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts +3 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js +132 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts +26 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js +582 -0
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/index.d.ts +3 -0
- package/dist/components/questions/types/choose-the-correct-answer/index.d.ts.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/index.js +3 -0
- package/dist/components/questions/types/choose-the-correct-answer/index.js.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/register.d.ts +3 -0
- package/dist/components/questions/types/choose-the-correct-answer/register.d.ts.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/register.js +102 -0
- package/dist/components/questions/types/choose-the-correct-answer/register.js.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts +3 -0
- package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts.map +1 -0
- package/dist/components/questions/types/choose-the-correct-answer/transform.js +44 -0
- package/dist/components/questions/types/choose-the-correct-answer/transform.js.map +1 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts +3 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts.map +1 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js +276 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js.map +1 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts +3 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts.map +1 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js +449 -0
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js.map +1 -0
- package/dist/components/questions/types/fill-in-blank/index.d.ts +3 -0
- package/dist/components/questions/types/fill-in-blank/index.d.ts.map +1 -0
- package/dist/components/questions/types/fill-in-blank/index.js +3 -0
- package/dist/components/questions/types/fill-in-blank/index.js.map +1 -0
- package/dist/components/questions/types/fill-in-blank/register.d.ts +3 -0
- package/dist/components/questions/types/fill-in-blank/register.d.ts.map +1 -0
- package/dist/components/questions/types/fill-in-blank/register.js +139 -0
- package/dist/components/questions/types/fill-in-blank/register.js.map +1 -0
- package/dist/components/questions/types/fill-in-blank/transform.d.ts +3 -0
- package/dist/components/questions/types/fill-in-blank/transform.d.ts.map +1 -0
- package/dist/components/questions/types/fill-in-blank/transform.js +60 -0
- package/dist/components/questions/types/fill-in-blank/transform.js.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts +8 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js +118 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts +4 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js +672 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts +3 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/index.js +3 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/index.js.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts +4 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/register.js +38 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/register.js.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts +3 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts.map +1 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.js +16 -0
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.js.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts +3 -0
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js +263 -0
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/register.d.ts +3 -0
- package/dist/components/questions/types/gn-speaking-interview/register.d.ts.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/register.js +122 -0
- package/dist/components/questions/types/gn-speaking-interview/register.js.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/transform.d.ts +3 -0
- package/dist/components/questions/types/gn-speaking-interview/transform.d.ts.map +1 -0
- package/dist/components/questions/types/gn-speaking-interview/transform.js +49 -0
- package/dist/components/questions/types/gn-speaking-interview/transform.js.map +1 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts +8 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts.map +1 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js +17 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js.map +1 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts +3 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts.map +1 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js +28 -0
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js.map +1 -0
- package/dist/components/questions/types/image-object-matching/index.d.ts +3 -0
- package/dist/components/questions/types/image-object-matching/index.d.ts.map +1 -0
- package/dist/components/questions/types/image-object-matching/index.js +3 -0
- package/dist/components/questions/types/image-object-matching/index.js.map +1 -0
- package/dist/components/questions/types/image-object-matching/register.d.ts +2 -0
- package/dist/components/questions/types/image-object-matching/register.d.ts.map +1 -0
- package/dist/components/questions/types/image-object-matching/register.js +4 -0
- package/dist/components/questions/types/image-object-matching/register.js.map +1 -0
- package/dist/components/questions/types/image-object-matching/transform.d.ts +2 -0
- package/dist/components/questions/types/image-object-matching/transform.d.ts.map +1 -0
- package/dist/components/questions/types/image-object-matching/transform.js +3 -0
- package/dist/components/questions/types/image-object-matching/transform.js.map +1 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts +7 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts.map +1 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js +103 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js.map +1 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts +3 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts.map +1 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js +345 -0
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js.map +1 -0
- package/dist/components/questions/types/label-the-picture/index.d.ts +3 -0
- package/dist/components/questions/types/label-the-picture/index.d.ts.map +1 -0
- package/dist/components/questions/types/label-the-picture/index.js +3 -0
- package/dist/components/questions/types/label-the-picture/index.js.map +1 -0
- package/dist/components/questions/types/label-the-picture/register.d.ts +3 -0
- package/dist/components/questions/types/label-the-picture/register.d.ts.map +1 -0
- package/dist/components/questions/types/label-the-picture/register.js +55 -0
- package/dist/components/questions/types/label-the-picture/register.js.map +1 -0
- package/dist/components/questions/types/label-the-picture/transform.d.ts +3 -0
- package/dist/components/questions/types/label-the-picture/transform.d.ts.map +1 -0
- package/dist/components/questions/types/label-the-picture/transform.js +29 -0
- package/dist/components/questions/types/label-the-picture/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js +79 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js +233 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js +83 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js +28 -0
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts +10 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js +71 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts +12 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js +387 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js +3 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js +101 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js +34 -0
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts +10 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js +107 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts +12 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js +458 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts +3 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js +3 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js +111 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js +36 -0
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts +21 -0
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js +9 -0
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js +23 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts +10 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js +292 -0
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/index.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-answer/index.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/index.js +3 -0
- package/dist/components/questions/types/listen-and-speak-answer/index.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-answer/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/register.js +85 -0
- package/dist/components/questions/types/listen-and-speak-answer/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-answer/transform.js +28 -0
- package/dist/components/questions/types/listen-and-speak-answer/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js +33 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts +11 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js +296 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/register.js +80 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.js +28 -0
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js +35 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts +11 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js +286 -0
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/register.js +82 -0
- package/dist/components/questions/types/listen-and-speak-image-group/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-image-group/transform.js +27 -0
- package/dist/components/questions/types/listen-and-speak-image-group/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js +39 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts +12 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js +386 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.js +88 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js +33 -0
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js +27 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js +248 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js +60 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js +19 -0
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js +27 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts +15 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js +257 -0
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/register.js +82 -0
- package/dist/components/questions/types/listen-and-speak-question-list/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-question-list/transform.js +27 -0
- package/dist/components/questions/types/listen-and-speak-question-list/transform.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js +27 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts +4 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js +231 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.js +57 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.js.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts +3 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts.map +1 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js +17 -0
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts +21 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js +73 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts +16 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js +231 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts +2 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.js +2 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.js.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts +3 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.js +67 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.js.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts +3 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js +43 -0
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts +7 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js +97 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts +16 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js +239 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js +3 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js +77 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js +20 -0
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts +8 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js +135 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts +4 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js +618 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/index.js +3 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/index.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/register.js +83 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/register.js.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts +3 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts.map +1 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.js +30 -0
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.js.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts +3 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js +39 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts +3 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js +360 -0
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/index.d.ts +4 -0
- package/dist/components/questions/types/match-by-writing-answer/index.d.ts.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/index.js +4 -0
- package/dist/components/questions/types/match-by-writing-answer/index.js.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/register.d.ts +3 -0
- package/dist/components/questions/types/match-by-writing-answer/register.d.ts.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/register.js +59 -0
- package/dist/components/questions/types/match-by-writing-answer/register.js.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/transform.d.ts +12 -0
- package/dist/components/questions/types/match-by-writing-answer/transform.d.ts.map +1 -0
- package/dist/components/questions/types/match-by-writing-answer/transform.js +62 -0
- package/dist/components/questions/types/match-by-writing-answer/transform.js.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts +8 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js +17 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts +3 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js +24 -0
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/index.d.ts +3 -0
- package/dist/components/questions/types/read-and-color-objects/index.d.ts.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/index.js +3 -0
- package/dist/components/questions/types/read-and-color-objects/index.js.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/register.d.ts +2 -0
- package/dist/components/questions/types/read-and-color-objects/register.d.ts.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/register.js +4 -0
- package/dist/components/questions/types/read-and-color-objects/register.js.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/transform.d.ts +3 -0
- package/dist/components/questions/types/read-and-color-objects/transform.d.ts.map +1 -0
- package/dist/components/questions/types/read-and-color-objects/transform.js +37 -0
- package/dist/components/questions/types/read-and-color-objects/transform.js.map +1 -0
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts +3 -0
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts.map +1 -0
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js +126 -0
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js.map +1 -0
- package/dist/components/questions/types/read-displayed-content/register.d.ts +3 -0
- package/dist/components/questions/types/read-displayed-content/register.d.ts.map +1 -0
- package/dist/components/questions/types/read-displayed-content/register.js +65 -0
- package/dist/components/questions/types/read-displayed-content/register.js.map +1 -0
- package/dist/components/questions/types/read-displayed-content/transform.d.ts +3 -0
- package/dist/components/questions/types/read-displayed-content/transform.d.ts.map +1 -0
- package/dist/components/questions/types/read-displayed-content/transform.js +13 -0
- package/dist/components/questions/types/read-displayed-content/transform.js.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js +65 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js +512 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/index.js +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/index.js.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/register.js +59 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/register.js.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts +3 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts.map +1 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.js +29 -0
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.js.map +1 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts +16 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js +374 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js.map +1 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts +22 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js +42 -0
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js.map +1 -0
- package/dist/components/questions/types/speaking-conversation/register.d.ts +3 -0
- package/dist/components/questions/types/speaking-conversation/register.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-conversation/register.js +111 -0
- package/dist/components/questions/types/speaking-conversation/register.js.map +1 -0
- package/dist/components/questions/types/speaking-conversation/transform.d.ts +3 -0
- package/dist/components/questions/types/speaking-conversation/transform.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-conversation/transform.js +35 -0
- package/dist/components/questions/types/speaking-conversation/transform.js.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts +11 -0
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js +75 -0
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/register.d.ts +3 -0
- package/dist/components/questions/types/speaking-cue-card/register.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/register.js +53 -0
- package/dist/components/questions/types/speaking-cue-card/register.js.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/transform.d.ts +3 -0
- package/dist/components/questions/types/speaking-cue-card/transform.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-cue-card/transform.js +13 -0
- package/dist/components/questions/types/speaking-cue-card/transform.js.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts +11 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js +11 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts +3 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js +162 -0
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/index.d.ts +3 -0
- package/dist/components/questions/types/speaking-describe-image/index.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/index.js +3 -0
- package/dist/components/questions/types/speaking-describe-image/index.js.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/register.d.ts +3 -0
- package/dist/components/questions/types/speaking-describe-image/register.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/register.js +70 -0
- package/dist/components/questions/types/speaking-describe-image/register.js.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/transform.d.ts +3 -0
- package/dist/components/questions/types/speaking-describe-image/transform.d.ts.map +1 -0
- package/dist/components/questions/types/speaking-describe-image/transform.js +17 -0
- package/dist/components/questions/types/speaking-describe-image/transform.js.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts +3 -0
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js +235 -0
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/register.d.ts +3 -0
- package/dist/components/questions/types/spontaneous-qa/register.d.ts.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/register.js +94 -0
- package/dist/components/questions/types/spontaneous-qa/register.js.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/transform.d.ts +3 -0
- package/dist/components/questions/types/spontaneous-qa/transform.d.ts.map +1 -0
- package/dist/components/questions/types/spontaneous-qa/transform.js +35 -0
- package/dist/components/questions/types/spontaneous-qa/transform.js.map +1 -0
- package/dist/components/questions/types/true-false/TrueFalseClient.d.ts +15 -0
- package/dist/components/questions/types/true-false/TrueFalseClient.d.ts.map +1 -0
- package/dist/components/questions/types/true-false/TrueFalseClient.js +76 -0
- package/dist/components/questions/types/true-false/TrueFalseClient.js.map +1 -0
- package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts +22 -0
- package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts.map +1 -0
- package/dist/components/questions/types/true-false/TrueFalseCreator.js +245 -0
- package/dist/components/questions/types/true-false/TrueFalseCreator.js.map +1 -0
- package/dist/components/questions/types/true-false/index.d.ts +3 -0
- package/dist/components/questions/types/true-false/index.d.ts.map +1 -0
- package/dist/components/questions/types/true-false/index.js +3 -0
- package/dist/components/questions/types/true-false/index.js.map +1 -0
- package/dist/components/questions/types/true-false/register.d.ts +3 -0
- package/dist/components/questions/types/true-false/register.d.ts.map +1 -0
- package/dist/components/questions/types/true-false/register.js +78 -0
- package/dist/components/questions/types/true-false/register.js.map +1 -0
- package/dist/components/questions/types/true-false/transform.d.ts +3 -0
- package/dist/components/questions/types/true-false/transform.d.ts.map +1 -0
- package/dist/components/questions/types/true-false/transform.js +33 -0
- package/dist/components/questions/types/true-false/transform.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts +26 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js +234 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts +14 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js +632 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts +19 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js +29 -0
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/index.d.ts +3 -0
- package/dist/components/questions/types/word-fill-paragraph/index.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/index.js +3 -0
- package/dist/components/questions/types/word-fill-paragraph/index.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/register.d.ts +9 -0
- package/dist/components/questions/types/word-fill-paragraph/register.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/register.js +137 -0
- package/dist/components/questions/types/word-fill-paragraph/register.js.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/transform.d.ts +8 -0
- package/dist/components/questions/types/word-fill-paragraph/transform.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-paragraph/transform.js +57 -0
- package/dist/components/questions/types/word-fill-paragraph/transform.js.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts +4 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js +139 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts +3 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js +262 -0
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/index.d.ts +3 -0
- package/dist/components/questions/types/word-fill-structured-form/index.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/index.js +3 -0
- package/dist/components/questions/types/word-fill-structured-form/index.js.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/register.d.ts +3 -0
- package/dist/components/questions/types/word-fill-structured-form/register.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/register.js +68 -0
- package/dist/components/questions/types/word-fill-structured-form/register.js.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/transform.d.ts +11 -0
- package/dist/components/questions/types/word-fill-structured-form/transform.d.ts.map +1 -0
- package/dist/components/questions/types/word-fill-structured-form/transform.js +41 -0
- package/dist/components/questions/types/word-fill-structured-form/transform.js.map +1 -0
- package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts +3 -0
- package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts.map +1 -0
- package/dist/components/questions/types/word-ordering/WordOrderingClient.js +85 -0
- package/dist/components/questions/types/word-ordering/WordOrderingClient.js.map +1 -0
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts +12 -0
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts.map +1 -0
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.js +193 -0
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.js.map +1 -0
- package/dist/components/questions/types/word-ordering/index.d.ts +3 -0
- package/dist/components/questions/types/word-ordering/index.d.ts.map +1 -0
- package/dist/components/questions/types/word-ordering/index.js +3 -0
- package/dist/components/questions/types/word-ordering/index.js.map +1 -0
- package/dist/components/questions/types/word-ordering/register.d.ts +3 -0
- package/dist/components/questions/types/word-ordering/register.d.ts.map +1 -0
- package/dist/components/questions/types/word-ordering/register.js +47 -0
- package/dist/components/questions/types/word-ordering/register.js.map +1 -0
- package/dist/components/questions/types/word-ordering/transform.d.ts +8 -0
- package/dist/components/questions/types/word-ordering/transform.d.ts.map +1 -0
- package/dist/components/questions/types/word-ordering/transform.js +25 -0
- package/dist/components/questions/types/word-ordering/transform.js.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts +7 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js +99 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts +3 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js +321 -0
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/index.d.ts +3 -0
- package/dist/components/questions/types/write-a-short-letter/index.d.ts.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/index.js +3 -0
- package/dist/components/questions/types/write-a-short-letter/index.js.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/register.d.ts +3 -0
- package/dist/components/questions/types/write-a-short-letter/register.d.ts.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/register.js +69 -0
- package/dist/components/questions/types/write-a-short-letter/register.js.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/transform.d.ts +3 -0
- package/dist/components/questions/types/write-a-short-letter/transform.d.ts.map +1 -0
- package/dist/components/questions/types/write-a-short-letter/transform.js +26 -0
- package/dist/components/questions/types/write-a-short-letter/transform.js.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts +3 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js +62 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts +3 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js +197 -0
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/index.d.ts +3 -0
- package/dist/components/questions/types/write-correct-verb-form/index.d.ts.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/index.js +3 -0
- package/dist/components/questions/types/write-correct-verb-form/index.js.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/register.d.ts +3 -0
- package/dist/components/questions/types/write-correct-verb-form/register.d.ts.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/register.js +63 -0
- package/dist/components/questions/types/write-correct-verb-form/register.js.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/transform.d.ts +3 -0
- package/dist/components/questions/types/write-correct-verb-form/transform.d.ts.map +1 -0
- package/dist/components/questions/types/write-correct-verb-form/transform.js +18 -0
- package/dist/components/questions/types/write-correct-verb-form/transform.js.map +1 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts +3 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts.map +1 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.js +23 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.js.map +1 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts +3 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts.map +1 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js +175 -0
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js.map +1 -0
- package/dist/components/questions/types/write-sentences/index.d.ts +3 -0
- package/dist/components/questions/types/write-sentences/index.d.ts.map +1 -0
- package/dist/components/questions/types/write-sentences/index.js +3 -0
- package/dist/components/questions/types/write-sentences/index.js.map +1 -0
- package/dist/components/questions/types/write-sentences/register.d.ts +3 -0
- package/dist/components/questions/types/write-sentences/register.d.ts.map +1 -0
- package/dist/components/questions/types/write-sentences/register.js +59 -0
- package/dist/components/questions/types/write-sentences/register.js.map +1 -0
- package/dist/components/questions/types/write-sentences/transform.d.ts +3 -0
- package/dist/components/questions/types/write-sentences/transform.d.ts.map +1 -0
- package/dist/components/questions/types/write-sentences/transform.js +29 -0
- package/dist/components/questions/types/write-sentences/transform.js.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts +3 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js +97 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts +3 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js +162 -0
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/index.d.ts +3 -0
- package/dist/components/questions/types/write-short-paragraph/index.d.ts.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/index.js +3 -0
- package/dist/components/questions/types/write-short-paragraph/index.js.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/register.d.ts +3 -0
- package/dist/components/questions/types/write-short-paragraph/register.d.ts.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/register.js +5 -0
- package/dist/components/questions/types/write-short-paragraph/register.js.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/transform.d.ts +3 -0
- package/dist/components/questions/types/write-short-paragraph/transform.d.ts.map +1 -0
- package/dist/components/questions/types/write-short-paragraph/transform.js +22 -0
- package/dist/components/questions/types/write-short-paragraph/transform.js.map +1 -0
- package/dist/components/questions/viewer/QuestionGroupViewer.d.ts +9 -0
- package/dist/components/questions/viewer/QuestionGroupViewer.d.ts.map +1 -0
- package/dist/components/questions/viewer/QuestionGroupViewer.js +37 -0
- package/dist/components/questions/viewer/QuestionGroupViewer.js.map +1 -0
- package/dist/components/questions/viewer/QuestionViewer.d.ts +10 -0
- package/dist/components/questions/viewer/QuestionViewer.d.ts.map +1 -0
- package/dist/components/questions/viewer/QuestionViewer.js +447 -0
- package/dist/components/questions/viewer/QuestionViewer.js.map +1 -0
- package/dist/components/questions/viewer/index.d.ts +3 -0
- package/dist/components/questions/viewer/index.d.ts.map +1 -0
- package/dist/components/questions/viewer/index.js +3 -0
- package/dist/components/questions/viewer/index.js.map +1 -0
- package/dist/components/results/ResultReviewPageContainer.d.ts +14 -0
- package/dist/components/results/ResultReviewPageContainer.d.ts.map +1 -0
- package/dist/components/results/ResultReviewPageContainer.js +99 -0
- package/dist/components/results/ResultReviewPageContainer.js.map +1 -0
- package/dist/components/results/ReviewQuestionRenderer.d.ts +7 -0
- package/dist/components/results/ReviewQuestionRenderer.d.ts.map +1 -0
- package/dist/components/results/ReviewQuestionRenderer.js +73 -0
- package/dist/components/results/ReviewQuestionRenderer.js.map +1 -0
- package/dist/components/results/index.d.ts +5 -0
- package/dist/components/results/index.d.ts.map +1 -0
- package/dist/components/results/index.js +3 -0
- package/dist/components/results/index.js.map +1 -0
- package/dist/components/results/result-review.utils.d.ts +3 -0
- package/dist/components/results/result-review.utils.d.ts.map +1 -0
- package/dist/components/results/result-review.utils.js +7 -0
- package/dist/components/results/result-review.utils.js.map +1 -0
- package/dist/components/results/review-data.d.ts +3 -0
- package/dist/components/results/review-data.d.ts.map +1 -0
- package/dist/components/results/review-data.js +151 -0
- package/dist/components/results/review-data.js.map +1 -0
- package/dist/components/results/review-renderer.utils.d.ts +68 -0
- package/dist/components/results/review-renderer.utils.d.ts.map +1 -0
- package/dist/components/results/review-renderer.utils.js +98 -0
- package/dist/components/results/review-renderer.utils.js.map +1 -0
- package/dist/components/results/review-types.d.ts +62 -0
- package/dist/components/results/review-types.d.ts.map +1 -0
- package/dist/components/results/review-types.js +2 -0
- package/dist/components/results/review-types.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts +9 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js +139 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts +11 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js +13 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts +3 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js +19 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts +7 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js +12 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts +14 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js +12 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts +10 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js +10 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts +8 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js +14 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts +9 -0
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js +9 -0
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts +7 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js +7 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts +8 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js +6 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts +11 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js +10 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts +25 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js +42 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts +8 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js +26 -0
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js.map +1 -0
- package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu-2.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu-neutral.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/background-ocean-edu.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/bg-gradient.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/bg-title-old.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/bg-title-part.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/bg-title.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/bg.jpeg +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/border-2.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/border-old.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/border.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/button_feedback_vi.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/button_feedback_vi.webp +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/close.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/close_old.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/demo-audio.mp3 +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/demo-image.jpeg +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/frame-old.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/frame.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/ic-pause.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/icon-bottom-left.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/icon-bottom-right.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/new_design.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/phao.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/question-card-bg-full.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/question-card-bg.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/rangsanho.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/rocket.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/sanho.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/sao.png +0 -0
- package/dist/components/themes/cambridge-yle/assets/images/vooc.png +0 -0
- package/dist/components/themes/cambridge-yle/index.d.ts +13 -0
- package/dist/components/themes/cambridge-yle/index.d.ts.map +1 -0
- package/dist/components/themes/cambridge-yle/index.js +14 -0
- package/dist/components/themes/cambridge-yle/index.js.map +1 -0
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts +19 -0
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.js +25 -0
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.js.map +1 -0
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts +22 -0
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js +89 -0
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js.map +1 -0
- package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts +20 -0
- package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EcWordFillParagraph.js +56 -0
- package/dist/components/themes/english-certification/EcWordFillParagraph.js.map +1 -0
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts +20 -0
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.js +157 -0
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.js.map +1 -0
- package/dist/components/themes/english-certification/EcWritingTask.d.ts +19 -0
- package/dist/components/themes/english-certification/EcWritingTask.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EcWritingTask.js +35 -0
- package/dist/components/themes/english-certification/EcWritingTask.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts +14 -0
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js +115 -0
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts +11 -0
- package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationBrand.js +12 -0
- package/dist/components/themes/english-certification/EnglishCertificationBrand.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts +20 -0
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js +22 -0
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts +23 -0
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js +16 -0
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts +23 -0
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js +20 -0
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts +25 -0
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js +149 -0
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts +25 -0
- package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationHeader.js +32 -0
- package/dist/components/themes/english-certification/EnglishCertificationHeader.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts +19 -0
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js +72 -0
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts +29 -0
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js +34 -0
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts +22 -0
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js +17 -0
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts +21 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js +23 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts +26 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js +38 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts +25 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js +73 -0
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts +29 -0
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js +91 -0
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts +32 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js +19 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts +26 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts.map +1 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js +30 -0
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js.map +1 -0
- package/dist/components/themes/english-certification/english-certification-theme.d.ts +57 -0
- package/dist/components/themes/english-certification/english-certification-theme.d.ts.map +1 -0
- package/dist/components/themes/english-certification/english-certification-theme.js +59 -0
- package/dist/components/themes/english-certification/english-certification-theme.js.map +1 -0
- package/dist/components/themes/english-certification/grouped-question-utils.d.ts +24 -0
- package/dist/components/themes/english-certification/grouped-question-utils.d.ts.map +1 -0
- package/dist/components/themes/english-certification/grouped-question-utils.js +219 -0
- package/dist/components/themes/english-certification/grouped-question-utils.js.map +1 -0
- package/dist/components/themes/english-certification/index.d.ts +23 -0
- package/dist/components/themes/english-certification/index.d.ts.map +1 -0
- package/dist/components/themes/english-certification/index.js +22 -0
- package/dist/components/themes/english-certification/index.js.map +1 -0
- package/dist/components/themes/index.d.ts +8 -0
- package/dist/components/themes/index.d.ts.map +1 -0
- package/dist/components/themes/index.js +7 -0
- package/dist/components/themes/index.js.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts +10 -0
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js +171 -0
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts +3 -0
- package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyLayout.js +222 -0
- package/dist/components/themes/summer-sky/SummerSkyLayout.js.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts +9 -0
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.js +19 -0
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.js.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts +10 -0
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts.map +1 -0
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js +195 -0
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js.map +1 -0
- package/dist/components/themes/summer-sky/assets/images/Group_3432849.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/arrow-left.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/audio-icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/audio_ver2_icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/background-noticesubmit.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/background-question.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/background-v2.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/background_title.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/btn-notisubmid.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/button_feedback_vi.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/check-mic-btn.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/clock.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/has_answered.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ic-mute-sunset.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ic-mute.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ic-play-sunset.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ic-play-violet.webp +0 -0
- package/dist/components/themes/summer-sky/assets/images/ic-play.webp +0 -0
- package/dist/components/themes/summer-sky/assets/images/instruction-step.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/listen-audio.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/lock_mic_ver2_icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/mic-icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/mic_ver2_icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/next-btn.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/next-question-btn.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ocean-frame.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/oceanedu-mascot.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/ong.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/pause-audio.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/pause_audio_ver2_icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/prev-question-btn.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/question-badge-sunset.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/radio-check.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/red-circle.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/rope.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/rope_2.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/rope_v3.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/start-exam.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/stop-mic.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/stop_audio_ver2_icon.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/student-avatar.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/submit.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/teacher_transparent (1).mp4 +0 -0
- package/dist/components/themes/summer-sky/assets/images/title-logo.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/title-notisubmit.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/title_table.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/traloicauhoi.png +0 -0
- package/dist/components/themes/summer-sky/assets/images/x-noticesubmit.png.png +0 -0
- package/dist/components/themes/summer-sky/assets/styles/SummerSkyLayout.module.css +406 -0
- package/dist/components/themes/summer-sky/assets/styles/SummerSkyWaitingRoom.module.css +419 -0
- package/dist/components/themes/types.d.ts +62 -0
- package/dist/components/themes/types.d.ts.map +1 -0
- package/dist/components/themes/types.js +2 -0
- package/dist/components/themes/types.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +27 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +23 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +13 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +16 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +39 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +36 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +77 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +17 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.d.ts +20 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +92 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +10 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +14 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/command.d.ts +19 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +35 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/confirm-dialog.d.ts +24 -0
- package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
- package/dist/components/ui/confirm-dialog.js +50 -0
- package/dist/components/ui/confirm-dialog.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +24 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +36 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +34 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/file-upload.d.ts +25 -0
- package/dist/components/ui/file-upload.d.ts.map +1 -0
- package/dist/components/ui/file-upload.js +156 -0
- package/dist/components/ui/file-upload.js.map +1 -0
- package/dist/components/ui/form.d.ts +26 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +63 -0
- package/dist/components/ui/form.js.map +1 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +11 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/image-preview.d.ts +19 -0
- package/dist/components/ui/image-preview.d.ts.map +1 -0
- package/dist/components/ui/image-preview.js +30 -0
- package/dist/components/ui/image-preview.js.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +9 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +10 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/language-switcher.d.ts +2 -0
- package/dist/components/ui/language-switcher.d.ts.map +1 -0
- package/dist/components/ui/language-switcher.js +16 -0
- package/dist/components/ui/language-switcher.js.map +1 -0
- package/dist/components/ui/multi-select.d.ts +17 -0
- package/dist/components/ui/multi-select.d.ts.map +1 -0
- package/dist/components/ui/multi-select.js +91 -0
- package/dist/components/ui/multi-select.js.map +1 -0
- package/dist/components/ui/points-input.d.ts +16 -0
- package/dist/components/ui/points-input.d.ts.map +1 -0
- package/dist/components/ui/points-input.js +34 -0
- package/dist/components/ui/points-input.js.map +1 -0
- package/dist/components/ui/popover.d.ts +11 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +27 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +17 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +13 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +12 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +39 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +9 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +14 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +41 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/single-select.d.ts +18 -0
- package/dist/components/ui/single-select.d.ts.map +1 -0
- package/dist/components/ui/single-select.js +77 -0
- package/dist/components/ui/single-select.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +7 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +9 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +21 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +18 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +9 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +12 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/global.d.ts +46 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/config.d.ts +13 -0
- package/dist/mcp/config.d.ts.map +1 -0
- package/dist/mcp/config.js +33 -0
- package/dist/mcp/config.js.map +1 -0
- package/dist/mcp/http-client.d.ts +7 -0
- package/dist/mcp/http-client.d.ts.map +1 -0
- package/dist/mcp/http-client.js +49 -0
- package/dist/mcp/http-client.js.map +1 -0
- package/dist/mcp/index.d.ts +7 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +31 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/tools/_helpers.d.ts +5 -0
- package/dist/mcp/tools/_helpers.d.ts.map +1 -0
- package/dist/mcp/tools/_helpers.js +26 -0
- package/dist/mcp/tools/_helpers.js.map +1 -0
- package/dist/mcp/tools/exams.d.ts +3 -0
- package/dist/mcp/tools/exams.d.ts.map +1 -0
- package/dist/mcp/tools/exams.js +440 -0
- package/dist/mcp/tools/exams.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +3 -0
- package/dist/mcp/tools/index.d.ts.map +1 -0
- package/dist/mcp/tools/index.js +7 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/results.d.ts +3 -0
- package/dist/mcp/tools/results.d.ts.map +1 -0
- package/dist/mcp/tools/results.js +20 -0
- package/dist/mcp/tools/results.js.map +1 -0
- package/dist/shared/constants/ApiConstant.d.ts +232 -0
- package/dist/shared/constants/ApiConstant.d.ts.map +1 -0
- package/dist/shared/constants/ApiConstant.js +277 -0
- package/dist/shared/constants/ApiConstant.js.map +1 -0
- package/dist/shared/constants/QueryKeyConstant.d.ts +99 -0
- package/dist/shared/constants/QueryKeyConstant.d.ts.map +1 -0
- package/dist/shared/constants/QueryKeyConstant.js +113 -0
- package/dist/shared/constants/QueryKeyConstant.js.map +1 -0
- package/dist/shared/constants/exam-level.enum.d.ts +33 -0
- package/dist/shared/constants/exam-level.enum.d.ts.map +1 -0
- package/dist/shared/constants/exam-level.enum.js +42 -0
- package/dist/shared/constants/exam-level.enum.js.map +1 -0
- package/dist/shared/constants/landings/placement-test.constants.d.ts +128 -0
- package/dist/shared/constants/landings/placement-test.constants.d.ts.map +1 -0
- package/dist/shared/constants/landings/placement-test.constants.js +432 -0
- package/dist/shared/constants/landings/placement-test.constants.js.map +1 -0
- package/dist/shared/constants/question-skills.d.ts +93 -0
- package/dist/shared/constants/question-skills.d.ts.map +1 -0
- package/dist/shared/constants/question-skills.js +268 -0
- package/dist/shared/constants/question-skills.js.map +1 -0
- package/dist/shared/constants/routes.d.ts +70 -0
- package/dist/shared/constants/routes.d.ts.map +1 -0
- package/dist/shared/constants/routes.js +82 -0
- package/dist/shared/constants/routes.js.map +1 -0
- package/dist/shared/index.d.ts +8 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +8 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/lib/hooks/index.d.ts +11 -0
- package/dist/shared/lib/hooks/index.d.ts.map +1 -0
- package/dist/shared/lib/hooks/index.js +11 -0
- package/dist/shared/lib/hooks/index.js.map +1 -0
- package/dist/shared/lib/hooks/useAlertDialog.d.ts +36 -0
- package/dist/shared/lib/hooks/useAlertDialog.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useAlertDialog.js +58 -0
- package/dist/shared/lib/hooks/useAlertDialog.js.map +1 -0
- package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts +8 -0
- package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useAudioPlayCounter.js +31 -0
- package/dist/shared/lib/hooks/useAudioPlayCounter.js.map +1 -0
- package/dist/shared/lib/hooks/useAudioPreview.d.ts +16 -0
- package/dist/shared/lib/hooks/useAudioPreview.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useAudioPreview.js +82 -0
- package/dist/shared/lib/hooks/useAudioPreview.js.map +1 -0
- package/dist/shared/lib/hooks/useAudioUpload.d.ts +18 -0
- package/dist/shared/lib/hooks/useAudioUpload.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useAudioUpload.js +25 -0
- package/dist/shared/lib/hooks/useAudioUpload.js.map +1 -0
- package/dist/shared/lib/hooks/useConfirmDialog.d.ts +44 -0
- package/dist/shared/lib/hooks/useConfirmDialog.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useConfirmDialog.js +90 -0
- package/dist/shared/lib/hooks/useConfirmDialog.js.map +1 -0
- package/dist/shared/lib/hooks/useDebouncedCallback.d.ts +8 -0
- package/dist/shared/lib/hooks/useDebouncedCallback.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useDebouncedCallback.js +33 -0
- package/dist/shared/lib/hooks/useDebouncedCallback.js.map +1 -0
- package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts +11 -0
- package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useDelayedAutoPlay.js +13 -0
- package/dist/shared/lib/hooks/useDelayedAutoPlay.js.map +1 -0
- package/dist/shared/lib/hooks/useFileUpload.d.ts +15 -0
- package/dist/shared/lib/hooks/useFileUpload.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useFileUpload.js +25 -0
- package/dist/shared/lib/hooks/useFileUpload.js.map +1 -0
- package/dist/shared/lib/hooks/useImageUrl.d.ts +2 -0
- package/dist/shared/lib/hooks/useImageUrl.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useImageUrl.js +6 -0
- package/dist/shared/lib/hooks/useImageUrl.js.map +1 -0
- package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts +11 -0
- package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts.map +1 -0
- package/dist/shared/lib/hooks/usePresignedFileUrl.js +11 -0
- package/dist/shared/lib/hooks/usePresignedFileUrl.js.map +1 -0
- package/dist/shared/lib/hooks/useReactHookForm.d.ts +34 -0
- package/dist/shared/lib/hooks/useReactHookForm.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useReactHookForm.js +32 -0
- package/dist/shared/lib/hooks/useReactHookForm.js.map +1 -0
- package/dist/shared/lib/hooks/useToast.d.ts +35 -0
- package/dist/shared/lib/hooks/useToast.d.ts.map +1 -0
- package/dist/shared/lib/hooks/useToast.js +63 -0
- package/dist/shared/lib/hooks/useToast.js.map +1 -0
- package/dist/shared/lib/i18n/index.d.ts +32 -0
- package/dist/shared/lib/i18n/index.d.ts.map +1 -0
- package/dist/shared/lib/i18n/index.js +55 -0
- package/dist/shared/lib/i18n/index.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/admin.d.ts +1937 -0
- package/dist/shared/lib/i18n/messages/en/admin.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/admin.js +2105 -0
- package/dist/shared/lib/i18n/messages/en/admin.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/auth.d.ts +82 -0
- package/dist/shared/lib/i18n/messages/en/auth.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/auth.js +87 -0
- package/dist/shared/lib/i18n/messages/en/auth.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/common.d.ts +125 -0
- package/dist/shared/lib/i18n/messages/en/common.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/common.js +141 -0
- package/dist/shared/lib/i18n/messages/en/common.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/file-upload.d.ts +17 -0
- package/dist/shared/lib/i18n/messages/en/file-upload.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/file-upload.js +19 -0
- package/dist/shared/lib/i18n/messages/en/file-upload.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/student.d.ts +125 -0
- package/dist/shared/lib/i18n/messages/en/student.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/student.js +134 -0
- package/dist/shared/lib/i18n/messages/en/student.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en/terms.d.ts +27 -0
- package/dist/shared/lib/i18n/messages/en/terms.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en/terms.js +38 -0
- package/dist/shared/lib/i18n/messages/en/terms.js.map +1 -0
- package/dist/shared/lib/i18n/messages/en.d.ts +2293 -0
- package/dist/shared/lib/i18n/messages/en.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/en.js +16 -0
- package/dist/shared/lib/i18n/messages/en.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/admin.d.ts +1937 -0
- package/dist/shared/lib/i18n/messages/vi/admin.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/admin.js +2105 -0
- package/dist/shared/lib/i18n/messages/vi/admin.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/auth.d.ts +82 -0
- package/dist/shared/lib/i18n/messages/vi/auth.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/auth.js +87 -0
- package/dist/shared/lib/i18n/messages/vi/auth.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/common.d.ts +125 -0
- package/dist/shared/lib/i18n/messages/vi/common.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/common.js +141 -0
- package/dist/shared/lib/i18n/messages/vi/common.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts +17 -0
- package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/file-upload.js +19 -0
- package/dist/shared/lib/i18n/messages/vi/file-upload.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/student.d.ts +125 -0
- package/dist/shared/lib/i18n/messages/vi/student.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/student.js +134 -0
- package/dist/shared/lib/i18n/messages/vi/student.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/terms.d.ts +27 -0
- package/dist/shared/lib/i18n/messages/vi/terms.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi/terms.js +38 -0
- package/dist/shared/lib/i18n/messages/vi/terms.js.map +1 -0
- package/dist/shared/lib/i18n/messages/vi.d.ts +2293 -0
- package/dist/shared/lib/i18n/messages/vi.d.ts.map +1 -0
- package/dist/shared/lib/i18n/messages/vi.js +16 -0
- package/dist/shared/lib/i18n/messages/vi.js.map +1 -0
- package/dist/shared/lib/i18n/types.d.ts +4 -0
- package/dist/shared/lib/i18n/types.d.ts.map +1 -0
- package/dist/shared/lib/i18n/types.js +2 -0
- package/dist/shared/lib/i18n/types.js.map +1 -0
- package/dist/shared/lib/stores/examQuestionStore.d.ts +95 -0
- package/dist/shared/lib/stores/examQuestionStore.d.ts.map +1 -0
- package/dist/shared/lib/stores/examQuestionStore.js +213 -0
- package/dist/shared/lib/stores/examQuestionStore.js.map +1 -0
- package/dist/shared/lib/stores/localeStore.d.ts +20 -0
- package/dist/shared/lib/stores/localeStore.d.ts.map +1 -0
- package/dist/shared/lib/stores/localeStore.js +11 -0
- package/dist/shared/lib/stores/localeStore.js.map +1 -0
- package/dist/shared/lib/utils/public-page.d.ts +9 -0
- package/dist/shared/lib/utils/public-page.d.ts.map +1 -0
- package/dist/shared/lib/utils/public-page.js +45 -0
- package/dist/shared/lib/utils/public-page.js.map +1 -0
- package/dist/shared/lib/utils/question-transform-types.d.ts +398 -0
- package/dist/shared/lib/utils/question-transform-types.d.ts.map +1 -0
- package/dist/shared/lib/utils/question-transform-types.js +2 -0
- package/dist/shared/lib/utils/question-transform-types.js.map +1 -0
- package/dist/shared/lib/utils/question-transform.d.ts +31 -0
- package/dist/shared/lib/utils/question-transform.d.ts.map +1 -0
- package/dist/shared/lib/utils/question-transform.js +175 -0
- package/dist/shared/lib/utils/question-transform.js.map +1 -0
- package/dist/shared/lib/utils.d.ts +70 -0
- package/dist/shared/lib/utils.d.ts.map +1 -0
- package/dist/shared/lib/utils.js +169 -0
- package/dist/shared/lib/utils.js.map +1 -0
- package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts +19 -0
- package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/choose-correct-answer.validation.js +112 -0
- package/dist/shared/lib/validation/choose-correct-answer.validation.js.map +1 -0
- package/dist/shared/lib/validation/label-the-picture.validation.d.ts +13 -0
- package/dist/shared/lib/validation/label-the-picture.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/label-the-picture.validation.js +20 -0
- package/dist/shared/lib/validation/label-the-picture.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts +27 -0
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js +47 -0
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts +18 -0
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js +22 -0
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts +23 -0
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js +35 -0
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts +17 -0
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.js +41 -0
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts +16 -0
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js +46 -0
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts +22 -0
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js +20 -0
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts +27 -0
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js +40 -0
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts +12 -0
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js +33 -0
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts +18 -0
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js +20 -0
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts +11 -0
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js +29 -0
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js.map +1 -0
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts +10 -0
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js +13 -0
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js.map +1 -0
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts +18 -0
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js +48 -0
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js.map +1 -0
- package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts +21 -0
- package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/read-and-color-objects.validation.js +30 -0
- package/dist/shared/lib/validation/read-and-color-objects.validation.js.map +1 -0
- package/dist/shared/lib/validation/read-displayed-content.validation.d.ts +8 -0
- package/dist/shared/lib/validation/read-displayed-content.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/read-displayed-content.validation.js +29 -0
- package/dist/shared/lib/validation/read-displayed-content.validation.js.map +1 -0
- package/dist/shared/lib/validation/speaking-conversation.validation.d.ts +30 -0
- package/dist/shared/lib/validation/speaking-conversation.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/speaking-conversation.validation.js +76 -0
- package/dist/shared/lib/validation/speaking-conversation.validation.js.map +1 -0
- package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts +10 -0
- package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/speaking-describe-image.validation.js +32 -0
- package/dist/shared/lib/validation/speaking-describe-image.validation.js.map +1 -0
- package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts +14 -0
- package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/spontaneous-qa.validation.js +49 -0
- package/dist/shared/lib/validation/spontaneous-qa.validation.js.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts +18 -0
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js +39 -0
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts +16 -0
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js +40 -0
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts +20 -0
- package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/word-fill-paragraph.validation.js +44 -0
- package/dist/shared/lib/validation/word-fill-paragraph.validation.js.map +1 -0
- package/dist/shared/lib/validation/word-ordering.validation.d.ts +11 -0
- package/dist/shared/lib/validation/word-ordering.validation.d.ts.map +1 -0
- package/dist/shared/lib/validation/word-ordering.validation.js +34 -0
- package/dist/shared/lib/validation/word-ordering.validation.js.map +1 -0
- package/dist/shared/types/branch.types.d.ts +154 -0
- package/dist/shared/types/branch.types.d.ts.map +1 -0
- package/dist/shared/types/branch.types.js +7 -0
- package/dist/shared/types/branch.types.js.map +1 -0
- package/dist/shared/types/common.types.d.ts +81 -0
- package/dist/shared/types/common.types.d.ts.map +1 -0
- package/dist/shared/types/common.types.js +51 -0
- package/dist/shared/types/common.types.js.map +1 -0
- package/dist/shared/types/entities/exam-schedule.types.d.ts +66 -0
- package/dist/shared/types/entities/exam-schedule.types.d.ts.map +1 -0
- package/dist/shared/types/entities/exam-schedule.types.js +6 -0
- package/dist/shared/types/entities/exam-schedule.types.js.map +1 -0
- package/dist/shared/types/entities/exam.types.d.ts +111 -0
- package/dist/shared/types/entities/exam.types.d.ts.map +1 -0
- package/dist/shared/types/entities/exam.types.js +2 -0
- package/dist/shared/types/entities/exam.types.js.map +1 -0
- package/dist/shared/types/entities/question.types.d.ts +359 -0
- package/dist/shared/types/entities/question.types.d.ts.map +1 -0
- package/dist/shared/types/entities/question.types.js +5 -0
- package/dist/shared/types/entities/question.types.js.map +1 -0
- package/dist/shared/types/entities/result.types.d.ts +41 -0
- package/dist/shared/types/entities/result.types.d.ts.map +1 -0
- package/dist/shared/types/entities/result.types.js +5 -0
- package/dist/shared/types/entities/result.types.js.map +1 -0
- package/dist/shared/types/entities/user.types.d.ts +42 -0
- package/dist/shared/types/entities/user.types.d.ts.map +1 -0
- package/dist/shared/types/entities/user.types.js +5 -0
- package/dist/shared/types/entities/user.types.js.map +1 -0
- package/dist/shared/types/exam-taking.types.d.ts +39 -0
- package/dist/shared/types/exam-taking.types.d.ts.map +1 -0
- package/dist/shared/types/exam-taking.types.js +3 -0
- package/dist/shared/types/exam-taking.types.js.map +1 -0
- package/dist/shared/types/history.types.d.ts +21 -0
- package/dist/shared/types/history.types.d.ts.map +1 -0
- package/dist/shared/types/history.types.js +35 -0
- package/dist/shared/types/history.types.js.map +1 -0
- package/dist/shared/types/index.d.ts +102 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/shared/types/index.js +2 -0
- package/dist/shared/types/index.js.map +1 -0
- package/dist/shared/types/questions/choose-correct-adjective.d.ts +38 -0
- package/dist/shared/types/questions/choose-correct-adjective.d.ts.map +1 -0
- package/dist/shared/types/questions/choose-correct-adjective.js +5 -0
- package/dist/shared/types/questions/choose-correct-adjective.js.map +1 -0
- package/dist/shared/types/questions/choose-the-correct-answer.d.ts +73 -0
- package/dist/shared/types/questions/choose-the-correct-answer.d.ts.map +1 -0
- package/dist/shared/types/questions/choose-the-correct-answer.js +10 -0
- package/dist/shared/types/questions/choose-the-correct-answer.js.map +1 -0
- package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts +72 -0
- package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts.map +1 -0
- package/dist/shared/types/questions/fill-missing-words-in-grid.js +12 -0
- package/dist/shared/types/questions/fill-missing-words-in-grid.js.map +1 -0
- package/dist/shared/types/questions/index.d.ts +29 -0
- package/dist/shared/types/questions/index.d.ts.map +1 -0
- package/dist/shared/types/questions/index.js +41 -0
- package/dist/shared/types/questions/index.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-answer.d.ts +47 -0
- package/dist/shared/types/questions/listen-and-speak-answer.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-answer.js +2 -0
- package/dist/shared/types/questions/listen-and-speak-answer.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts +23 -0
- package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-compare-images.js +2 -0
- package/dist/shared/types/questions/listen-and-speak-compare-images.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-image-group.d.ts +30 -0
- package/dist/shared/types/questions/listen-and-speak-image-group.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-image-group.js +2 -0
- package/dist/shared/types/questions/listen-and-speak-image-group.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts +30 -0
- package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-info-exchange.js +4 -0
- package/dist/shared/types/questions/listen-and-speak-info-exchange.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts +14 -0
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.js +4 -0
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-question-list.d.ts +19 -0
- package/dist/shared/types/questions/listen-and-speak-question-list.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-question-list.js +2 -0
- package/dist/shared/types/questions/listen-and-speak-question-list.js.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts +14 -0
- package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts.map +1 -0
- package/dist/shared/types/questions/listen-and-speak-with-story-images.js +4 -0
- package/dist/shared/types/questions/listen-and-speak-with-story-images.js.map +1 -0
- package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts +39 -0
- package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts.map +1 -0
- package/dist/shared/types/questions/look-picture-choose-correct-answer.js +6 -0
- package/dist/shared/types/questions/look-picture-choose-correct-answer.js.map +1 -0
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts +64 -0
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts.map +1 -0
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js +10 -0
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js.map +1 -0
- package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts +58 -0
- package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts.map +1 -0
- package/dist/shared/types/questions/look-picture-fill-word-hint.js +8 -0
- package/dist/shared/types/questions/look-picture-fill-word-hint.js.map +1 -0
- package/dist/shared/types/questions/read-displayed-content.d.ts +68 -0
- package/dist/shared/types/questions/read-displayed-content.d.ts.map +1 -0
- package/dist/shared/types/questions/read-displayed-content.js +2 -0
- package/dist/shared/types/questions/read-displayed-content.js.map +1 -0
- package/dist/shared/types/questions/speaking-conversation.d.ts +51 -0
- package/dist/shared/types/questions/speaking-conversation.d.ts.map +1 -0
- package/dist/shared/types/questions/speaking-conversation.js +8 -0
- package/dist/shared/types/questions/speaking-conversation.js.map +1 -0
- package/dist/shared/types/questions/speaking-describe-image.d.ts +41 -0
- package/dist/shared/types/questions/speaking-describe-image.d.ts.map +1 -0
- package/dist/shared/types/questions/speaking-describe-image.js +2 -0
- package/dist/shared/types/questions/speaking-describe-image.js.map +1 -0
- package/dist/shared/types/questions/spontaneous-qa.d.ts +80 -0
- package/dist/shared/types/questions/spontaneous-qa.d.ts.map +1 -0
- package/dist/shared/types/questions/spontaneous-qa.js +2 -0
- package/dist/shared/types/questions/spontaneous-qa.js.map +1 -0
- package/dist/shared/types/questions/write-correct-verb-form.d.ts +110 -0
- package/dist/shared/types/questions/write-correct-verb-form.d.ts.map +1 -0
- package/dist/shared/types/questions/write-correct-verb-form.js +13 -0
- package/dist/shared/types/questions/write-correct-verb-form.js.map +1 -0
- package/dist/shared/types/role.types.d.ts +61 -0
- package/dist/shared/types/role.types.d.ts.map +1 -0
- package/dist/shared/types/role.types.js +2 -0
- package/dist/shared/types/role.types.js.map +1 -0
- package/dist/shared/types/structure-management.d.ts +218 -0
- package/dist/shared/types/structure-management.d.ts.map +1 -0
- package/dist/shared/types/structure-management.js +29 -0
- package/dist/shared/types/structure-management.js.map +1 -0
- package/dist/shared/types/student.types.d.ts +396 -0
- package/dist/shared/types/student.types.d.ts.map +1 -0
- package/dist/shared/types/student.types.js +55 -0
- package/dist/shared/types/student.types.js.map +1 -0
- package/dist/shared/types/teacher-dashboard-rooms.d.ts +61 -0
- package/dist/shared/types/teacher-dashboard-rooms.d.ts.map +1 -0
- package/dist/shared/types/teacher-dashboard-rooms.js +3 -0
- package/dist/shared/types/teacher-dashboard-rooms.js.map +1 -0
- package/package.json +144 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result-review.types.d.ts","sourceRoot":"","sources":["../../src/api/result-review.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;AAEtG,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,aAAa,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CAAC;IACvH,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjG;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,IAAI,EAAE,CAAC,CAAC;CACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result-review.types.js","sourceRoot":"","sources":["../../src/api/result-review.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CueCardEditorProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange: (html: string) => void;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function CueCardEditor({ value, onChange, label, }: CueCardEditorProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=CueCardEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CueCardEditor.d.ts","sourceRoot":"","sources":["../../src/components/CueCardEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAaD,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,kBAAkB,qBAoIpB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
import { useEditor, EditorContent } from '@tiptap/react';
|
|
5
|
+
import StarterKit from '@tiptap/starter-kit';
|
|
6
|
+
const DEFAULT_CONTENT = `
|
|
7
|
+
<p><strong>Describe a topic you know well.</strong></p>
|
|
8
|
+
<p>You should say:</p>
|
|
9
|
+
<ul>
|
|
10
|
+
<li>What it is</li>
|
|
11
|
+
<li>When you first learned about it</li>
|
|
12
|
+
<li>Why you find it interesting</li>
|
|
13
|
+
</ul>
|
|
14
|
+
<p><em>and explain how it has impacted your life.</em></p>
|
|
15
|
+
`;
|
|
16
|
+
export function CueCardEditor({ value, onChange, label, }) {
|
|
17
|
+
const [mounted, setMounted] = useState(false);
|
|
18
|
+
const editor = useEditor({
|
|
19
|
+
immediatelyRender: false,
|
|
20
|
+
extensions: [StarterKit],
|
|
21
|
+
content: value || DEFAULT_CONTENT,
|
|
22
|
+
onUpdate: ({ editor }) => {
|
|
23
|
+
onChange(editor.getHTML());
|
|
24
|
+
},
|
|
25
|
+
editorProps: {
|
|
26
|
+
attributes: {
|
|
27
|
+
class: 'tiptap-editor focus:outline-none min-h-[250px] p-4 bg-white border border-gray-200 rounded-b-md',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
setMounted(true);
|
|
33
|
+
}, []);
|
|
34
|
+
// Sync value if changed from outside (e.g., initial load)
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
if (editor && value !== undefined && value !== editor.getHTML()) {
|
|
37
|
+
// Small timeout to prevent update loops
|
|
38
|
+
setTimeout(() => editor.commands.setContent(value), 0);
|
|
39
|
+
}
|
|
40
|
+
}, [value, editor]);
|
|
41
|
+
if (!mounted)
|
|
42
|
+
return null;
|
|
43
|
+
return (_jsxs("div", { className: "w-full flex flex-col gap-4", children: [label && _jsx("div", { children: label }), _jsxs("div", { className: "flex flex-col border border-gray-300 rounded-md shadow-sm", children: [_jsxs("div", { className: "flex flex-wrap gap-2 p-2 relative bg-gray-50 border-b border-gray-300 rounded-t-md", children: [_jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleBold().run(), disabled: !editor?.can().chain().focus().toggleBold().run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('bold')
|
|
44
|
+
? 'bg-blue-500 text-white'
|
|
45
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "B" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleItalic().run(), disabled: !editor?.can().chain().focus().toggleItalic().run(), className: `px-3 py-1 rounded text-sm italic ${editor?.isActive('italic')
|
|
46
|
+
? 'bg-blue-500 text-white'
|
|
47
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "I" }), _jsx("div", { className: "w-px h-6 bg-gray-300 mx-1 self-center" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 1 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 1 })
|
|
48
|
+
? 'bg-blue-500 text-white'
|
|
49
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H1" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 2 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 2 })
|
|
50
|
+
? 'bg-blue-500 text-white'
|
|
51
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H2" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleHeading({ level: 3 }).run(), className: `px-3 py-1 rounded text-sm font-bold ${editor?.isActive('heading', { level: 3 })
|
|
52
|
+
? 'bg-blue-500 text-white'
|
|
53
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "H3" }), _jsx("div", { className: "w-px h-6 bg-gray-300 mx-1 self-center" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleBulletList().run(), className: `px-3 py-1 rounded text-sm ${editor?.isActive('bulletList')
|
|
54
|
+
? 'bg-blue-500 text-white'
|
|
55
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "\u2022 List" }), _jsx("button", { type: "button", onClick: () => editor?.chain().focus().toggleOrderedList().run(), className: `px-3 py-1 rounded text-sm ${editor?.isActive('orderedList')
|
|
56
|
+
? 'bg-blue-500 text-white'
|
|
57
|
+
: 'bg-white border text-gray-700 hover:bg-gray-100'}`, children: "1. List" })] }), _jsx(EditorContent, { editor: editor })] })] }));
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=CueCardEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CueCardEditor.js","sourceRoot":"","sources":["../../src/components/CueCardEditor.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAQ7C,MAAM,eAAe,GAAG;;;;;;;;;CASvB,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,GACc;IACnB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,SAAS,CAAC;QACvB,iBAAiB,EAAE,KAAK;QACxB,UAAU,EAAE,CAAC,UAAU,CAAC;QACxB,OAAO,EAAE,KAAK,IAAI,eAAe;QACjC,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;YACvB,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;QAC7B,CAAC;QACD,WAAW,EAAE;YACX,UAAU,EAAE;gB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E,CAAC,EAAE,CAAC;oCACvC,CAAC,CAAC,wBAAwB;oCAC1B,CAAC,CAAC,iDACN,EAAE,mBAGK,EACT,cAAK,SAAS,EAAC,uCAAuC,GAAG,EACzD,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,gBAAgB,EAAE,CAAC,GAAG,EAAE,EAC/D,SAAS,EAAE,6BACT,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;oCAC5B,CAAC,CAAC,wBAAwB;oCAC1B,CAAC,CAAC,iDACN,EAAE,4BAGK,EACT,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,iBAAiB,EAAE,CAAC,GAAG,EAAE,EAChE,SAAS,EAAE,6BACT,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC;oCAC7B,CAAC,CAAC,wBAAwB;oCAC1B,CAAC,CAAC,iDACN,EAAE,wBAGK,IACL,EACN,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,GAAI,IAC7B,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ImgHTMLAttributes } from 'react';
|
|
2
|
+
interface ResolvedImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src'> {
|
|
3
|
+
src: string | undefined;
|
|
4
|
+
fallback?: React.ReactNode;
|
|
5
|
+
showLoadingState?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function ResolvedImage({ src, fallback, showLoadingState, className, alt, ...props }: ResolvedImageProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>> | import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ResolvedImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResolvedImage.d.ts","sourceRoot":"","sources":["../../../src/components/common/ResolvedImage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKzD,UAAU,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACnF,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAuB,EAAE,SAAS,EAAE,GAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,yTAQ1H"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { ImageOff } from 'lucide-react';
|
|
5
|
+
import { Skeleton } from '../../components/ui/skeleton';
|
|
6
|
+
import { usePresignedFileUrl } from '../../shared/lib/hooks/usePresignedFileUrl';
|
|
7
|
+
export function ResolvedImage({ src, fallback, showLoadingState = true, className, alt = '', ...props }) {
|
|
8
|
+
const { previewUrl, isLoading, error } = usePresignedFileUrl(src);
|
|
9
|
+
const [hasError, setHasError] = useState(false);
|
|
10
|
+
if (isLoading && showLoadingState)
|
|
11
|
+
return fallback ?? _jsx(Skeleton, { className: className });
|
|
12
|
+
if (error || (!previewUrl && !src) || hasError)
|
|
13
|
+
return fallback ?? _jsx("div", { className: `flex items-center justify-center bg-gray-100 ${className}`, children: _jsx(ImageOff, { className: "h-8 w-8 text-gray-400" }) });
|
|
14
|
+
return _jsx("img", { src: previewUrl || src, alt: alt, className: className, onError: () => setHasError(true),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
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type UseFormReturn } from 'react-hook-form';
|
|
2
|
+
import type { ExamFormData, ExamLevelOption } from '../../api/exam-create';
|
|
3
|
+
export interface CreateExamInfoFormProps {
|
|
4
|
+
form: UseFormReturn<ExamFormData>;
|
|
5
|
+
examLevels: ExamLevelOption[];
|
|
6
|
+
isLoadingExamLevels?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function CreateExamInfoForm({ form, examLevels, isLoadingExamLevels }: CreateExamInfoFormProps): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=CreateExamInfoForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateExamInfoForm.d.ts","sourceRoot":"","sources":["../../../src/components/exams/CreateExamInfoForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQjE,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAClC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,mBAA2B,EAAE,EAAE,uBAAuB,+BAoC5G"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useEffect, useRef } from 'react';
|
|
4
|
+
import { Controller } from 'react-hook-form';
|
|
5
|
+
import { FileText, Loader2 } from 'lucide-react';
|
|
6
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/ui/card';
|
|
7
|
+
import { Input } from '../../components/ui/input';
|
|
8
|
+
import { Label } from '../../components/ui/label';
|
|
9
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../components/ui/select';
|
|
10
|
+
import { Textarea } from '../../components/ui/textarea';
|
|
11
|
+
import { useT } from '../../shared/lib/i18n';
|
|
12
|
+
export function CreateExamInfoForm({ form, examLevels, isLoadingExamLevels = false }) {
|
|
13
|
+
const t = useT();
|
|
14
|
+
const isCodeManuallyEdited = useRef(false);
|
|
15
|
+
const nameValue = form.watch('name');
|
|
16
|
+
const setValueRef = useRef(form.setValue);
|
|
17
|
+
setValueRef.current = form.setValue;
|
|
18
|
+
const generateCodeFromName = useCallback((name) => name.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/đ/g, 'd').replace(/Đ/g, 'D').toLowerCase().trim().replace(/[^a-z0-9\s-]/g, '').replace(/[\s]+/g, '-').replace(/-+/g, '-').replace(/^-|-$/g, '').substring(0, 100), []);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (isCodeManuallyEdited.current)
|
|
21
|
+
return;
|
|
22
|
+
setValueRef.current('code', nameValue ? generateCodeFromName(nameValue) : '', { shouldValidate: false });
|
|
23
|
+
}, [nameValue, generateCodeFromName]);
|
|
24
|
+
const hasError = (field) => !!form.formState.errors[field];
|
|
25
|
+
const error = (field) => form.formState.errors[field]?.message;
|
|
26
|
+
return (_jsxs(Card, { className: "border border-gray-200", children: [_jsxs(CardHeader, { className: "border-b border-gray-100 bg-gray-50/50", children: [_jsxs(CardTitle, { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(FileText, { className: "h-4 w-4 text-blue-600" }), t('admin.exams.form.basicInfo')] }), _jsx(CardDescription, { children: t('admin.exams.form.requiredHint') })] }), _jsxs(CardContent, { className: "space-y-4 pt-6", children: [_jsxs("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: [_jsx(Field, { label: t('admin.exams.form.nameLabel'), error: error('name'), required: true, children: _jsx(Input, { id: "name", maxLength: 255, className: hasError('name') ? 'border-red-500' : '', placeholder: t('admin.exams.form.namePlaceholder'), ...form.register('name') }) }), _jsx(Field, { label: t('admin.exams.form.codeLabel'), error: error('code'), required: true, children: _jsx(CodeInput, { form: form, hasError: hasError('code'), onManualEdit: (value) => { isCodeManuallyEdited.current = value.length > 0; } }) }), _jsx(Field, { label: t('admin.exams.form.totalPoints'), error: error('totalPoints'), required: true, children: _jsx(Controller, { name: "totalPoints", control: form.control, render: ({ field }) => _jsx(Input, { id: "totalPoints", inputMode: "numeric", value: field.value, onBlur: field.onBlur, onChange: (event) => field.onChange(event.target.value.replace(/[^0-9]/g, '')), className: hasError('totalPoints') ? 'border-red-500' : '' }) }) }), _jsx(Field, { label: t('admin.exams.form.level'), error: error('level'), children: _jsx(Controller, { name: "level", control: form.control, render: ({ field }) => _jsxs(Select, { value: field.value, onValueChange: field.onChange, disabled: isLoadingExamLevels, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, { placeholder: isLoadingExamLevels ? t('admin.exams.form.loading') : t('admin.exams.form.levelPlaceholder') }) }), _jsx(SelectContent, { children: isLoadingExamLevels ? _jsx("div", { className: "flex justify-center p-4", children: _jsx(Loader2, { className: "h-4 w-4 animate-spin" }) }) : examLevels.map((level) => _jsx(SelectItem, { value: level.id, children: level.name }, level.id)) })] }) }) }), _jsx(Field, { label: t('admin.exams.form.difficulty'), error: error('difficulty'), children: _jsx(Controller, { name: "difficulty", control: form.control, render: ({ field }) => _jsxs(Select, { value: field.value, onValueChange: field.onChange, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, { placeholder: t('admin.exams.form.difficultyPlaceholder') }) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "easy", children: t('admin.exams.difficulty.easy') }), _jsx(SelectItem, { value: "medium", children: t('admin.exams.difficulty.medium') }), _jsx(SelectItem, { value: "hard", children: t('admin.exams.difficulty.hard') })] })] }) }) }), _jsx(Field, { label: t('admin.exams.form.duration'), error: error('duration'), children: _jsx(Input, { id: "duration", inputMode: "numeric", placeholder: "60", className: hasError('duration') ? 'border-red-500' : '', ...form.register('duration') }) })] }), _jsx(Field, { label: t('admin.exams.form.description'), error: error('description'), children: _jsx(Textarea, { id: "description", rows: 4, maxLength: 2000, placeholder: t('admin.exams.form.descriptionPlaceholder'), ...form.register('description') }) })] })] }));
|
|
27
|
+
}
|
|
28
|
+
function CodeInput({ form, hasError, onManualEdit }) {
|
|
29
|
+
const t = useT();
|
|
30
|
+
const { onChange, ...register } = form.register('code');
|
|
31
|
+
return _jsx(Input, { id: "code", maxLength: 100, className: hasError ? 'border-red-500' : '', placeholder: t('admin.exams.form.codePlaceholder'), ...register, onChange: (event) => { onChange(event); onManualEdit(event.target.value); } });
|
|
32
|
+
}
|
|
33
|
+
function Field({ label, error, required, children }) {
|
|
34
|
+
return _jsxs("div", { children: [_jsxs(Label, { children: [label, " ", required && _jsx("span", { className: "text-red-500", children: "*" })] }), _jsx("div", { className: "mt-1", children: children }), error && _jsx("p", { className: "mt-1 text-sm text-red-600", children: error })] });
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=CreateExamInfoForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateExamInfoForm.js","sourceRoot":"","sources":["../../../src/components/exams/CreateExamInfoForm.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,UAAU,EAAsB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE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AC,CAAC,CAAC,GAAI,CAAC;AACzO,CAAC;AAED,SAAS,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAoF;IACnI,OAAO,0BAAK,MAAC,KAAK,eAAE,KAAK,OAAG,QAAQ,IAAI,eAAM,SAAS,EAAC,cAAc,kBAAS,IAAS,EAAA,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EAAC,KAAK,IAAI,YAAG,SAAS,EAAC,2BAA2B,YAAE,KAAK,GAAK,IAAO,CAAC;AACtM,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UserRole } from '../../shared/types/common.types';
|
|
2
|
+
import type { CreateExamSdkApi } from '../../api/exam-create';
|
|
3
|
+
export interface CreateExamPageContainerProps {
|
|
4
|
+
role?: UserRole.ADMIN | UserRole.TEACHER;
|
|
5
|
+
api: CreateExamSdkApi;
|
|
6
|
+
listPath?: string;
|
|
7
|
+
onNavigate?: (href: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function CreateExamPageContainer(props: CreateExamPageContainerProps): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=CreateExamPageContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateExamPageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/exams/CreateExamPageContainer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,KAAK,EAAW,gBAAgB,EAA+C,MAAM,mBAAmB,CAAC;AAMhH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC;IACzC,GAAG,EAAE,gBAAgB,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AA2ED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,+BAE1E"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { Suspense, useEffect, useState } from 'react';
|
|
4
|
+
import { zodResolver } from '@hookform/resolvers/zod';
|
|
5
|
+
import { useForm } from 'react-hook-form';
|
|
6
|
+
import { ArrowLeft, ArrowRight, LayoutTemplate, Loader2, X } from 'lucide-react';
|
|
7
|
+
import { Button } from '../../components/ui/button';
|
|
8
|
+
import { Card, CardContent, CardHeader, CardTitle } from '../../components/ui/card';
|
|
9
|
+
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '../../components/ui/dialog';
|
|
10
|
+
import { useToast } from '../../shared/lib/hooks/useToast';
|
|
11
|
+
import { useT } from '../../shared/lib/i18n';
|
|
12
|
+
import { buildExamTemplatePayload } from '../../api/exam-create';
|
|
13
|
+
import { CreateExamInfoForm } from './CreateExamInfoForm';
|
|
14
|
+
import { TemplateSelector } from './TemplateSelector';
|
|
15
|
+
import { examFormSchema } from './create-exam.validation';
|
|
16
|
+
function CreateExamContent({ api, listPath = '/manage/exams', onNavigate }) {
|
|
17
|
+
const t = useT();
|
|
18
|
+
const { success, warning, error: errorToast } = useToast();
|
|
19
|
+
const [isTemplateDialogOpen, setIsTemplateDialogOpen] = useState(false);
|
|
20
|
+
const [selectedTemplate, setSelectedTemplate] = useState(null);
|
|
21
|
+
const [examLevels, setExamLevels] = useState([]);
|
|
22
|
+
const [isLoadingExamLevels, setIsLoadingExamLevels] = useState(false);
|
|
23
|
+
const [isSaving, setIsSaving] = useState(false);
|
|
24
|
+
const form = useForm({
|
|
25
|
+
resolver: zodResolver(examFormSchema),
|
|
26
|
+
mode: 'onBlur',
|
|
27
|
+
defaultValues: { code: '', name: '', level: '', difficulty: '', duration: '', totalPoints: '100', description: '' },
|
|
28
|
+
});
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (!api.getExamLevels)
|
|
31
|
+
return;
|
|
32
|
+
let ignore = false;
|
|
33
|
+
setIsLoadingExamLevels(true);
|
|
34
|
+
api.getExamLevels()
|
|
35
|
+
.then((levels) => { if (!ignore)
|
|
36
|
+
setExamLevels(levels); })
|
|
37
|
+
.catch((err) => errorToast({ message: t('admin.exams.questions.error'), description: err instanceof Error ? err.message : undefined }))
|
|
38
|
+
.finally(() => { if (!ignore)
|
|
39
|
+
setIsLoadingExamLevels(false); });
|
|
40
|
+
return () => { ignore = true; };
|
|
41
|
+
}, [api, errorToast, t]);
|
|
42
|
+
const navigate = (href) => {
|
|
43
|
+
if (onNavigate)
|
|
44
|
+
onNavigate(href);
|
|
45
|
+
else if (typeof window !== 'undefined')
|
|
46
|
+
window.location.href = href;
|
|
47
|
+
};
|
|
48
|
+
const handleSubmit = form.handleSubmit(async (data) => {
|
|
49
|
+
if (!selectedTemplate) {
|
|
50
|
+
warning({ message: t('admin.exams.create.incompleteInfo'), description: 'Vui lòng chọn template đề thi trước khi tiếp tục.' });
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
setIsSaving(true);
|
|
54
|
+
try {
|
|
55
|
+
const exam = unwrap(await api.createExam({
|
|
56
|
+
name: data.name,
|
|
57
|
+
code: data.code || undefined,
|
|
58
|
+
examLevel: data.level || undefined,
|
|
59
|
+
difficulty: toDifficulty(data.difficulty),
|
|
60
|
+
totalScore: Number.parseInt(data.totalPoints, 10),
|
|
61
|
+
durationMinutes: data.duration ? Number.parseInt(data.duration, 10) : undefined,
|
|
62
|
+
description: data.description || undefined,
|
|
63
|
+
isComplete: false,
|
|
64
|
+
isActive: false,
|
|
65
|
+
examTemplateId: selectedTemplate.id,
|
|
66
|
+
}));
|
|
67
|
+
await api.updateExamTemplate({ examId: exam.id, template: buildExamTemplatePayload(selectedTemplate) });
|
|
68
|
+
success({ message: t('admin.exams.create.success'), description: t('admin.exams.create.successDesc', { name: exam.name }) });
|
|
69
|
+
navigate(`${listPath}/${exam.id}/questions`);
|
|
70
|
+
}
|
|
71
|
+
catch (err) {
|
|
72
|
+
errorToast({ message: t('admin.exams.questions.error'), description: err instanceof Error ? err.message : undefined });
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
setIsSaving(false);
|
|
76
|
+
}
|
|
77
|
+
}, () => warning({ message: t('admin.exams.create.incompleteInfo'), description: t('admin.exams.create.incompleteInfoDesc') }));
|
|
78
|
+
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx(Button, { variant: "ghost", size: "icon", onClick: () => navigate(listPath), className: "h-8 w-8", children: _jsx(ArrowLeft, { className: "h-4 w-4" }) }), _jsxs("div", { children: [_jsx("h1", { className: "text-3xl font-bold tracking-tight text-gray-900", children: t('admin.exams.create.title') }), _jsx("p", { className: "mt-1 text-gray-600", children: t('admin.exams.create.step1') })] })] }), _jsx("form", { id: "exam-form", onSubmit: handleSubmit, children: _jsx(CreateExamInfoForm, { form: form, examLevels: examLevels, isLoadingExamLevels: isLoadingExamLevels }) }), _jsx(TemplateSection, { selectedTemplate: selectedTemplate, onOpen: () => setIsTemplateDialogOpen(true), onClear: () => setSelectedTemplate(null) }), _jsx(Dialog, { open: isTemplateDialogOpen, onOpenChange: setIsTemplateDialogOpen, children: _jsxs(DialogContent, { className: "flex max-h-[92vh] min-h-[92vh] max-w-5xl flex-col overflow-hidden", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Ch\u1ECDn template \u0111\u1EC1 thi" }), _jsx(DialogDescription, { children: "Ch\u1ECDn lo\u1EA1i \u0111\u1EC1 thi b\u1EA1n mu\u1ED1n t\u1EA1o." })] }), _jsx(TemplateSelector, { api: api, onTemplateSelect: (template) => { setSelectedTemplate(template); setIsTemplateDialogOpen(false); }, onCancel: () => setIsTemplateDialogOpen(false) })] }) }), _jsxs("div", { className: "flex justify-end gap-3", children: [_jsx(Button, { variant: "outline", onClick: () => navigate(listPath), disabled: isSaving, children: t('admin.exams.create.cancel') }), _jsx(Button, { type: "submit", form: "exam-form", className: "bg-blue-600 hover:bg-blue-700", disabled: isSaving || !selectedTemplate, children: isSaving ? _jsxs(_Fragment, { children: [_jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), t('admin.exams.create.saving')] }) : _jsxs(_Fragment, { children: [t('admin.exams.create.saveAndContinue'), _jsx(ArrowRight, { className: "ml-2 h-4 w-4" })] }) })] })] }));
|
|
79
|
+
}
|
|
80
|
+
export function CreateExamPageContainer(props) {
|
|
81
|
+
return _jsx(Suspense, { fallback: _jsx(Loading, {}), children: _jsx(CreateExamContent, { ...props }) });
|
|
82
|
+
}
|
|
83
|
+
function TemplateSection({ selectedTemplate, onOpen, onClear }) {
|
|
84
|
+
return _jsxs(Card, { className: "border border-gray-200", children: [_jsx(CardHeader, { className: "border-b border-gray-100 bg-gray-50/50", children: _jsxs(CardTitle, { className: "flex items-center gap-2 text-base font-semibold", children: [_jsx(LayoutTemplate, { className: "h-4 w-4 text-blue-600" }), "Ch\u1ECDn Template ", _jsx("span", { className: "text-red-500", children: "*" })] }) }), _jsx(CardContent, { className: "pt-6", children: selectedTemplate ? _jsxs("div", { className: "flex items-center justify-between rounded-lg border border-green-200 bg-green-50 px-4 py-3", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium text-green-800", children: selectedTemplate.name }), _jsxs("p", { className: "text-xs text-green-600", children: [selectedTemplate.totalQuestions, " c\u00E2u h\u1ECFi \u2022 ", selectedTemplate.parts.length, " ph\u1EA7n"] })] }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpen, children: "\u0110\u1ED5i template" }), _jsx(Button, { type: "button", variant: "ghost", size: "icon", onClick: onClear, children: _jsx(X, { className: "h-3.5 w-3.5" }) })] })] }) : _jsxs("div", { className: "flex flex-col items-center gap-3 rounded-lg border-2 border-dashed border-gray-300 py-8", children: [_jsx(LayoutTemplate, { className: "h-8 w-8 text-gray-400" }), _jsx("p", { className: "text-sm text-gray-500", children: "Ch\u01B0a ch\u1ECDn template \u0111\u1EC1 thi" }), _jsxs(Button, { type: "button", variant: "outline", onClick: onOpen, children: [_jsx(LayoutTemplate, { className: "mr-2 h-4 w-4" }), "Ch\u1ECDn template"] })] }) })] });
|
|
85
|
+
}
|
|
86
|
+
function Loading() {
|
|
87
|
+
return _jsx("div", { className: "flex h-screen items-center justify-center", children: _jsx(Loader2, { className: "h-8 w-8 animate-spin text-blue-600" }) });
|
|
88
|
+
}
|
|
89
|
+
function toDifficulty(value) {
|
|
90
|
+
if (value === 'easy')
|
|
91
|
+
return 'EASY';
|
|
92
|
+
if (value === 'medium')
|
|
93
|
+
return 'MEDIUM';
|
|
94
|
+
if (value === 'hard')
|
|
95
|
+
return 'HARD';
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
function unwrap(value) {
|
|
99
|
+
return hasData(value) ? value.data : value;
|
|
100
|
+
}
|
|
101
|
+
function hasData(value) {
|
|
102
|
+
return typeof value === 'object' && value !== null && 'data' in value;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=CreateExamPageContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateExamPageContainer.js","sourceRoot":"","sources":["../../../src/components/exams/CreateExamPageContainer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,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,OAAO,EAAE,MAAM,aAAE,KAAC,cAAc,IAAC,SAAS,EAAC,cAAc,GAAG,0BAAsB,IAAM,GAAe,IAAO,CAAC;AAC7wC,CAAC;AAED,SAAS,OAAO;IACd,OAAO,cAAK,SAAS,EAAC,2CAA2C,YAAC,KAAC,OAAO,IAAC,SAAS,EAAC,oCAAoC,GAAG,GAAM,CAAC;AACrI,CAAC;AAED,SAAS,YAAY,CAAC,KAAa;IACjC,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,MAAM,CAAC;IACpC,IAAI,KAAK,KAAK,QAAQ;QAAE,OAAO,QAAQ,CAAC;IACxC,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,MAAM,CAAC;IACpC,OAAO,SAAS,CAAC;AACnB,CAAC;AAKD,SAAS,MAAM,CAAI,KAAqB;IACtC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;AAC7C,CAAC;AAED,SAAS,OAAO,CAAI,KAAqB;IACvC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,MAAM,IAAI,KAAK,CAAC;AACxE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ExamData, ExamQuestion, ExamTemplate } from '../../shared/types/entities/exam.types';
|
|
2
|
+
import type { SaveQuestionInput } from '../../api/exam-questions.types';
|
|
3
|
+
export interface ExamCreatorProps {
|
|
4
|
+
template: ExamTemplate;
|
|
5
|
+
examId?: string;
|
|
6
|
+
examDifficulty?: string;
|
|
7
|
+
examLevel?: string;
|
|
8
|
+
subjectId?: string;
|
|
9
|
+
initialQuestions?: Partial<ExamQuestion>[];
|
|
10
|
+
onSaveQuestion?: (input: SaveQuestionInput) => Promise<Partial<ExamQuestion> | void>;
|
|
11
|
+
onSave?: (examData: ExamData) => void | Promise<void>;
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
onPartAudioChange?: (partId: string, audioUrl: string) => void | Promise<void>;
|
|
14
|
+
partAudioOverrides?: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
export declare function ExamCreator({ template, examId, examDifficulty, examLevel, subjectId, initialQuestions, onSaveQuestion, onSave, onCancel, onPartAudioChange, partAudioOverrides }: ExamCreatorProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ExamCreator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExamCreator.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamCreator.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQpE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IAC3C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC;IACrF,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/E,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAqB,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,EAAE,gBAAgB,+BA6FvM"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo, useRef, useState } from 'react';
|
|
4
|
+
import { ChevronLeft, ChevronRight, Save } from 'lucide-react';
|
|
5
|
+
import { Button } from '../../components/ui/button';
|
|
6
|
+
import { QuestionCreator } from '../questions/creator/QuestionCreator';
|
|
7
|
+
import { useToast } from '../../shared/lib/hooks/useToast';
|
|
8
|
+
import { useT } from '../../shared/lib/i18n';
|
|
9
|
+
import { ExamPartTabs } from './ExamPartTabs';
|
|
10
|
+
import { ExamQuestionGrid } from './ExamQuestionGrid';
|
|
11
|
+
import { PartAudioUploader } from './PartAudioUploader';
|
|
12
|
+
import { getEffectiveQuestionConfig, getPartByQuestionIndex, normalizeTemplateGroupConfig } from './exam-template.utils';
|
|
13
|
+
export function ExamCreator({ template, examId, examDifficulty, examLevel, subjectId, initialQuestions = [], onSaveQuestion, onSave, onCancel, onPartAudioChange, partAudioOverrides }) {
|
|
14
|
+
const t = useT();
|
|
15
|
+
const { success, warning, error } = useToast();
|
|
16
|
+
const validationRef = useRef(null);
|
|
17
|
+
const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0);
|
|
18
|
+
const [questions, setQuestions] = useState(() => Object.fromEntries(initialQuestions.map((q) => [(q.questionNumber ?? 1) - 1, q])));
|
|
19
|
+
const [completedQuestions, setCompletedQuestions] = useState(() => new Set(initialQuestions.map((q) => (q.questionNumber ?? 1) - 1)));
|
|
20
|
+
const [validationErrors, setValidationErrors] = useState({});
|
|
21
|
+
const [isSavingQuestion, setIsSavingQuestion] = useState(false);
|
|
22
|
+
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
|
|
23
|
+
const draftRef = useRef({});
|
|
24
|
+
const currentPart = getPartByQuestionIndex(template, currentQuestionIndex);
|
|
25
|
+
const normalizedPart = currentPart ? normalizeTemplateGroupConfig(currentPart) : undefined;
|
|
26
|
+
const currentConfig = currentPart ? getEffectiveQuestionConfig(currentPart, currentQuestionIndex) : undefined;
|
|
27
|
+
const isPartLevelGroup = !!(normalizedPart?.groups && !currentConfig?.groups);
|
|
28
|
+
const sectionName = currentConfig && 'sectionName' in currentConfig ? currentConfig.sectionName : undefined;
|
|
29
|
+
const sharedDataPartId = sectionName && !isPartLevelGroup ? `${currentPart?.id}_${sectionName}` : currentPart?.id;
|
|
30
|
+
const currentQuestion = questions[currentQuestionIndex];
|
|
31
|
+
const examData = useMemo(() => ({
|
|
32
|
+
examId,
|
|
33
|
+
templateId: template.id,
|
|
34
|
+
questions: Object.values(questions),
|
|
35
|
+
currentQuestionIndex,
|
|
36
|
+
lastSaved: new Date().toISOString(),
|
|
37
|
+
createdAt: new Date().toISOString(),
|
|
38
|
+
updatedAt: new Date().toISOString(),
|
|
39
|
+
isCompleted: completedQuestions.size >= template.totalQuestions,
|
|
40
|
+
}), [completedQuestions.size, currentQuestionIndex, examId, questions, template.id, template.totalQuestions]);
|
|
41
|
+
const navigateToQuestion = (index) => {
|
|
42
|
+
if (hasUnsavedChanges)
|
|
43
|
+
warning({ message: t('common.examCreator.saveBeforeExit') });
|
|
44
|
+
setCurrentQuestionIndex(Math.max(0, Math.min(template.totalQuestions - 1, index)));
|
|
45
|
+
setHasUnsavedChanges(false);
|
|
46
|
+
draftRef.current = {};
|
|
47
|
+
};
|
|
48
|
+
const handleSaveQuestion = async (questionData) => {
|
|
49
|
+
if (!currentPart)
|
|
50
|
+
return;
|
|
51
|
+
const valid = await validationRef.current?.triggerValidation?.();
|
|
52
|
+
if (valid === false)
|
|
53
|
+
return;
|
|
54
|
+
const question = {
|
|
55
|
+
...currentQuestion,
|
|
56
|
+
...draftRef.current,
|
|
57
|
+
...questionData,
|
|
58
|
+
type: questionData?.type ?? draftRef.current.type ?? currentQuestion?.type ?? currentConfig?.questionType,
|
|
59
|
+
partId: currentPart.id,
|
|
60
|
+
questionNumber: currentQuestionIndex + 1,
|
|
61
|
+
difficulty: (questionData?.difficulty ?? examDifficulty ?? currentQuestion?.difficulty),
|
|
62
|
+
skill: currentPart.skill,
|
|
63
|
+
isCompleted: true,
|
|
64
|
+
};
|
|
65
|
+
setIsSavingQuestion(true);
|
|
66
|
+
try {
|
|
67
|
+
const saved = await onSaveQuestion?.({ question, questionIndex: currentQuestionIndex, template, examId, examDifficulty, examLevel, subjectId });
|
|
68
|
+
const nextQuestion = (saved || question);
|
|
69
|
+
setQuestions((prev) => ({ ...prev, [currentQuestionIndex]: nextQuestion }));
|
|
70
|
+
setCompletedQuestions((prev) => new Set(prev).add(currentQuestionIndex));
|
|
71
|
+
setHasUnsavedChanges(false);
|
|
72
|
+
success({ message: t('common.examCreator.saveSuccess', { index: String(currentQuestionIndex + 1) }) });
|
|
73
|
+
}
|
|
74
|
+
catch (err) {
|
|
75
|
+
error({ message: t('common.examCreator.saveError', { index: String(currentQuestionIndex + 1) }), description: err instanceof Error ? err.message : undefined });
|
|
76
|
+
}
|
|
77
|
+
finally {
|
|
78
|
+
setIsSavingQuestion(false);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
const handleSaveExam = async () => {
|
|
82
|
+
if (hasUnsavedChanges) {
|
|
83
|
+
warning({ message: t('common.examCreator.saveBeforeExit') });
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
await onSave?.(examData);
|
|
87
|
+
};
|
|
88
|
+
return (_jsx("div", { className: "flex min-h-0 flex-1 flex-col overflow-hidden bg-gradient-to-br from-slate-50 to-blue-50/30", children: _jsxs("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: [_jsx("div", { className: "w-80 overflow-y-auto border-r border-gray-200/60 bg-white/80 p-4 backdrop-blur-sm", children: _jsx(ExamPartTabs, { template: template, currentPartId: currentPart?.id ?? '', completedQuestions: completedQuestions, onPartChange: (partId) => navigateToQuestion(template.parts.find((part) => part.id === partId)?.startIndex ?? 0) }) }), _jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto p-4 pb-4", children: _jsxs("div", { className: "mx-auto max-w-4xl", children: [currentPart?.skill === 'LISTENING' && _jsx(PartAudioUploader, { partId: currentPart.id, partName: currentPart.name, audioUrl: partAudioOverrides?.[currentPart.id] ?? currentPart.audioUrl ?? '', examId: examId, onAudioChange: (url) => void onPartAudioChange?.(currentPart.id, url), isReadOnly: !onPartAudioChange }), _jsx(QuestionCreator, { initialData: currentQuestion, prefilledType: currentConfig?.questionType, prefilledSkill: currentPart?.skill, optionCount: currentConfig?.optionCount, optionMode: currentConfig?.optionMode, defaultValue: currentConfig?.defaultValue, defaultQuestion: currentConfig?.defaultQuestion, viewMode: currentConfig?.viewMode, groups: currentConfig?.groups || normalizedPart?.groups, groupConfig: currentConfig?.groupConfig || normalizedPart?.groupConfig, groupType: currentConfig?.groupType || normalizedPart?.groupType, articleCount: currentConfig?.articleCount ?? currentPart?.articleCount, questionConfig: currentConfig?.questionConfig || currentPart?.questionConfig, questionIndexInPart: isPartLevelGroup ? currentQuestionIndex - (currentPart?.startIndex ?? 0) : currentQuestionIndex - (currentConfig?.startIndex ?? currentPart?.startIndex ?? 0), partId: sharedDataPartId, onChange: (draft) => { draftRef.current = draft; setHasUnsavedChanges(true); }, onSave: handleSaveQuestion, onCancel: onCancel, isEmbedded: true, externalErrors: validationErrors[currentQuestionIndex], validationRef: validationRef, suggestedAnswers: currentConfig?.suggestedAnswers || currentPart?.suggestedAnswers, hasSuggestedAnswers: currentConfig?.hasSuggestedAnswers ?? currentPart?.hasSuggestedAnswers }, currentQuestionIndex)] }) }), _jsx("div", { className: "flex-shrink-0 border-t border-gray-200/80 bg-white/95 shadow-[0_-4px_20px_rgba(0,0,0,0.08)] backdrop-blur-sm", children: _jsxs("div", { className: "mx-auto flex max-w-4xl items-center justify-between px-6 py-4", children: [_jsxs(Button, { variant: "outline", onClick: () => navigateToQuestion(currentQuestionIndex - 1), disabled: currentQuestionIndex === 0, children: [_jsx(ChevronLeft, { className: "mr-2 h-4 w-4" }), "C\u00E2u tr\u01B0\u1EDBc"] }), _jsxs(Button, { onClick: () => void handleSaveQuestion(), disabled: isSavingQuestion, className: "bg-green-600 hover:bg-green-700", children: [_jsx(Save, { className: "mr-2 h-4 w-4" }), isSavingQuestion ? 'Đang lưu...' : 'Lưu câu hỏi'] }), _jsxs(Button, { variant: "outline", onClick: () => navigateToQuestion(currentQuestionIndex + 1), disabled: currentQuestionIndex >= template.totalQuestions - 1, children: ["C\u00E2u ti\u1EBFp", _jsx(ChevronRight, { className: "ml-2 h-4 w-4" })] })] }) })] }), _jsxs("div", { className: "w-80 overflow-y-auto border-l border-gray-200/60 bg-white/80 p-4 backdrop-blur-sm", children: [_jsx(ExamQuestionGrid, { template: template, currentQuestionIndex: currentQuestionIndex, completedQuestions: completedQuestions, onQuestionChange: navigateToQuestion }), _jsxs(Button, { onClick: () => void handleSaveExam(), className: "mt-4 w-full bg-blue-600 hover:bg-blue-700", children: [_jsx(Save, { className: "mr-2 h-4 w-4" }), "Ho\u00E0n t\u1EA5t \u0111\u1EC1 thi"] })] })] }) }));
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=ExamCreator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExamCreator.js","sourceRoot":"","sources":["../../../src/components/exams/ExamCreator.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,E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OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,cAAc,EAAE,EAAE,SAAS,EAAC,2CAA2C,aAAC,KAAC,IAAI,IAAC,SAAS,EAAC,cAAc,GAAG,2CAAwB,IAAM,IACpa,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExamTemplate } from '../../shared/types/entities/exam.types';
|
|
2
|
+
interface ExamPartTabsProps {
|
|
3
|
+
template: ExamTemplate;
|
|
4
|
+
currentPartId: string;
|
|
5
|
+
completedQuestions: Set<number>;
|
|
6
|
+
onPartChange: (partId: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ExamPartTabs({ template, currentPartId, completedQuestions, onPartChange }: ExamPartTabsProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ExamPartTabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExamPartTabs.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamPartTabs.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGjF,UAAU,iBAAiB;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BA6C5G"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { CheckCircle2, Circle, Layers, Lock, Play } from 'lucide-react';
|
|
4
|
+
import { cn } from '../../shared/lib/utils';
|
|
5
|
+
export function ExamPartTabs({ template, currentPartId, completedQuestions, onPartChange }) {
|
|
6
|
+
const getProgress = (part) => {
|
|
7
|
+
const total = part.endIndex - part.startIndex + 1;
|
|
8
|
+
let completed = 0;
|
|
9
|
+
for (let i = part.startIndex; i <= part.endIndex; i++)
|
|
10
|
+
if (completedQuestions.has(i))
|
|
11
|
+
completed++;
|
|
12
|
+
return { completed, total, percentage: total > 0 ? Math.round((completed / total) * 100) : 0 };
|
|
13
|
+
};
|
|
14
|
+
const getStatus = (part) => {
|
|
15
|
+
const progress = getProgress(part);
|
|
16
|
+
if (progress.completed === 0)
|
|
17
|
+
return 'not-started';
|
|
18
|
+
if (progress.completed === progress.total)
|
|
19
|
+
return 'completed';
|
|
20
|
+
return 'in-progress';
|
|
21
|
+
};
|
|
22
|
+
const isUnlocked = (partIndex) => template.parts.slice(0, partIndex).every((part) => getStatus(part) === 'completed');
|
|
23
|
+
return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "flex items-center gap-2 px-1", children: [_jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-lg bg-blue-600 shadow-sm", children: _jsx(Layers, { className: "h-4 w-4 text-white" }) }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-bold text-gray-900", children: "C\u00E1c ph\u1EA7n thi" }), _jsxs("p", { className: "text-xs text-gray-500", children: [template.parts.length, " ph\u1EA7n"] })] })] }), _jsx("div", { className: "space-y-3", children: template.parts.map((part, index) => {
|
|
24
|
+
const progress = getProgress(part);
|
|
25
|
+
const status = getStatus(part);
|
|
26
|
+
const active = part.id === currentPartId;
|
|
27
|
+
const unlocked = isUnlocked(index);
|
|
28
|
+
return (_jsx("button", { onClick: () => unlocked && onPartChange(part.id), disabled: !unlocked, className: cn('w-full rounded-xl border-2 p-4 text-left transition-all', active && unlocked ? 'border-transparent bg-blue-600 text-white shadow-lg' : 'border-gray-200 bg-white hover:border-gray-300', !unlocked && 'cursor-not-allowed opacity-60'), children: _jsxs("div", { className: "flex items-start gap-3", children: [_jsx(StatusIcon, { status: status, active: active, unlocked: unlocked }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsx("span", { className: "truncate text-sm font-semibold", children: part.name }), _jsxs("span", { className: "rounded-full bg-black/10 px-2 py-0.5 text-xs font-bold", children: [progress.completed, "/", progress.total] })] }), part.description && _jsx("p", { className: cn('mt-1 text-xs', active ? 'text-blue-100' : 'text-gray-500'), children: part.description }), _jsx("div", { className: cn('mt-2 h-1.5 overflow-hidden rounded-full', active ? 'bg-white/20' : 'bg-gray-200'), children: _jsx("div", { className: cn('h-full rounded-full', active ? 'bg-white' : 'bg-green-500'), style: { width: `${progress.percentage}%` } }) })] })] }) }, part.id));
|
|
29
|
+
}) })] }));
|
|
30
|
+
}
|
|
31
|
+
function StatusIcon({ status, active, unlocked }) {
|
|
32
|
+
const className = cn('h-4 w-4', active ? 'text-white' : 'text-gray-500');
|
|
33
|
+
if (!unlocked)
|
|
34
|
+
return _jsx(Lock, { className: className });
|
|
35
|
+
if (status === 'completed')
|
|
36
|
+
return _jsx(CheckCircle2, { className: className });
|
|
37
|
+
if (status === 'in-progress')
|
|
38
|
+
return _jsx(Play, { className: className });
|
|
39
|
+
return _jsx(Circle, { className: className });
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=ExamPartTabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExamPartTabs.js","sourceRoot":"","sources":["../../../src/components/exams/ExamPartTabs.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AASxC,MAAM,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAqB;IAC3G,MAAM,WAAW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AC,CAAC,eAAe,CAAC,YAAG,IAAI,CAAC,WAAW,GAAK,EACzH,cAAK,SAAS,EAAE,EAAE,CAAC,yCAAyC,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,YAAE,cAAK,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,UAAU,GAAG,EAAE,GAAI,GAAM,IACzO,IACF,IARK,IAAI,CAAC,EAAE,CASX,CACV,CAAC;gBACJ,CAAC,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAA0D;IACtG,MAAM,SAAS,GAAG,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;IACzE,IAAI,CAAC,QAAQ;QAAE,OAAO,KAAC,IAAI,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IACrD,IAAI,MAAM,KAAK,WAAW;QAAE,OAAO,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IAC1E,IAAI,MAAM,KAAK,aAAa;QAAE,OAAO,KAAC,IAAI,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;IACpE,OAAO,KAAC,MAAM,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExamTemplate } from '../../shared/types/entities/exam.types';
|
|
2
|
+
interface ExamQuestionGridProps {
|
|
3
|
+
template: ExamTemplate;
|
|
4
|
+
currentQuestionIndex: number;
|
|
5
|
+
completedQuestions: Set<number>;
|
|
6
|
+
onQuestionChange: (questionIndex: number) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ExamQuestionGrid({ template, currentQuestionIndex, completedQuestions, onQuestionChange }: ExamQuestionGridProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ExamQuestionGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExamQuestionGrid.d.ts","sourceRoot":"","sources":["../../../src/components/exams/ExamQuestionGrid.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAIvE,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,YAAY,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,gBAAgB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,EAAE,qBAAqB,+BAwB/H"}
|