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