@tinyweb_dev/oe-exam-sdk 0.1.0 → 0.1.2
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/dist/api/exam-create.d.ts +0 -1
- package/dist/api/exam-create.js +1 -180
- package/dist/api/exam-create.types.d.ts +0 -1
- package/dist/api/exam-create.types.js +1 -2
- package/dist/api/exam-questions.d.ts +0 -1
- package/dist/api/exam-questions.js +1 -99
- package/dist/api/exam-questions.types.d.ts +0 -1
- package/dist/api/exam-questions.types.js +1 -2
- package/dist/api/exam-taking.d.ts +0 -1
- package/dist/api/exam-taking.js +1 -74
- package/dist/api/exam-taking.types.d.ts +0 -1
- package/dist/api/exam-taking.types.js +1 -2
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.js +1 -7
- package/dist/api/result-review.d.ts +0 -1
- package/dist/api/result-review.js +1 -51
- package/dist/api/result-review.types.d.ts +0 -1
- package/dist/api/result-review.types.js +1 -2
- package/dist/components/CueCardEditor.d.ts +0 -1
- package/dist/components/CueCardEditor.js +1 -59
- package/dist/components/common/ResolvedImage.d.ts +0 -1
- package/dist/components/common/ResolvedImage.js +1 -16
- package/dist/components/exams/CreateExamInfoForm.d.ts +0 -1
- package/dist/components/exams/CreateExamInfoForm.js +1 -36
- package/dist/components/exams/CreateExamPageContainer.d.ts +0 -1
- package/dist/components/exams/CreateExamPageContainer.js +1 -104
- package/dist/components/exams/ExamCreator.d.ts +0 -1
- package/dist/components/exams/ExamCreator.js +1 -90
- package/dist/components/exams/ExamPartTabs.d.ts +0 -1
- package/dist/components/exams/ExamPartTabs.js +1 -41
- package/dist/components/exams/ExamQuestionGrid.d.ts +0 -1
- package/dist/components/exams/ExamQuestionGrid.js +1 -19
- package/dist/components/exams/ExamQuestionsPageContainer.d.ts +0 -1
- package/dist/components/exams/ExamQuestionsPageContainer.js +1 -91
- package/dist/components/exams/PartAudioUploader.d.ts +0 -1
- package/dist/components/exams/PartAudioUploader.js +1 -10
- package/dist/components/exams/TemplateSelector.d.ts +0 -1
- package/dist/components/exams/TemplateSelector.js +1 -67
- package/dist/components/exams/api.d.ts +0 -1
- package/dist/components/exams/api.js +1 -4
- package/dist/components/exams/create-exam.validation.d.ts +0 -1
- package/dist/components/exams/create-exam.validation.js +1 -19
- package/dist/components/exams/exam-template.utils.d.ts +0 -1
- package/dist/components/exams/exam-template.utils.js +1 -19
- package/dist/components/exams/index.d.ts +0 -1
- package/dist/components/exams/index.js +1 -11
- package/dist/components/exams/take/ExamTakingPageContainer.d.ts +0 -1
- package/dist/components/exams/take/ExamTakingPageContainer.js +1 -154
- package/dist/components/exams/take/GenericQuestionRenderer.d.ts +0 -1
- package/dist/components/exams/take/GenericQuestionRenderer.js +1 -15
- package/dist/components/exams/take/exam-taking.utils.d.ts +0 -1
- package/dist/components/exams/take/exam-taking.utils.js +1 -89
- package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts +0 -1
- package/dist/components/exams/take/hooks/useSpeakingRecorder.js +1 -25
- package/dist/components/exams/take/index.d.ts +0 -1
- package/dist/components/exams/take/index.js +1 -3
- package/dist/components/exams/take/types.d.ts +0 -1
- package/dist/components/exams/take/types.js +1 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +1 -43
- package/dist/components/questions/_shared/config/question-types.config.d.ts +0 -1
- package/dist/components/questions/_shared/config/question-types.config.js +1 -334
- package/dist/components/questions/_shared/constants/color-palette.d.ts +0 -1
- package/dist/components/questions/_shared/constants/color-palette.js +1 -22
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js +1 -106
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js +1 -223
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js +1 -141
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js +1 -124
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js +1 -51
- package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionFormState.js +1 -55
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.js +1 -124
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.js +1 -122
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.js +1 -71
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts +0 -1
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js +1 -195
- package/dist/components/questions/_shared/index.d.ts +0 -1
- package/dist/components/questions/_shared/index.js +1 -8
- package/dist/components/questions/_shared/types/answer-the-question.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/answer-the-question.type.js +1 -2
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js +1 -2
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.js +1 -4
- package/dist/components/questions/_shared/types/color-region.config.d.ts +0 -1
- package/dist/components/questions/_shared/types/color-region.config.js +1 -2
- package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/fill-in-blank.type.js +1 -2
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js +1 -2
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.js +1 -2
- package/dist/components/questions/_shared/types/index.d.ts +0 -1
- package/dist/components/questions/_shared/types/index.js +1 -13
- package/dist/components/questions/_shared/types/label-the-picture.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/label-the-picture.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js +1 -4
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js +1 -2
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js +1 -4
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js +1 -2
- package/dist/components/questions/_shared/types/listening-drawline.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/listening-drawline.type.js +1 -2
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.js +1 -2
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js +1 -2
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.js +1 -2
- package/dist/components/questions/_shared/types/multiple-choice.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/multiple-choice.type.js +1 -2
- package/dist/components/questions/_shared/types/question-group.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/question-group.type.js +1 -12
- package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/read-and-color-objects.type.js +1 -2
- package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/read-displayed-content.type.js +1 -2
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js +1 -2
- package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/speaking-describe-image.type.js +1 -2
- package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/spontaneous-qa.type.js +1 -2
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js +1 -2
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.js +1 -2
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.js +1 -2
- package/dist/components/questions/_shared/types/word-ordering.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/word-ordering.type.js +1 -2
- package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/write-a-short-letter.type.js +1 -2
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.js +1 -4
- package/dist/components/questions/_shared/types/write-sentences.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/write-sentences.type.js +1 -2
- package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts +0 -1
- package/dist/components/questions/_shared/types/write-short-paragraph.type.js +1 -2
- package/dist/components/questions/_shared/utils/answer-builder.d.ts +0 -1
- package/dist/components/questions/_shared/utils/answer-builder.js +1 -80
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts +0 -1
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.js +1 -40
- package/dist/components/questions/_shared/utils/id-generator.d.ts +0 -1
- package/dist/components/questions/_shared/utils/id-generator.js +1 -4
- package/dist/components/questions/_shared/utils/question-validation.d.ts +0 -1
- package/dist/components/questions/_shared/utils/question-validation.js +1 -22
- package/dist/components/questions/components/ColorNode.d.ts +0 -1
- package/dist/components/questions/components/ColorNode.js +1 -86
- package/dist/components/questions/components/ColorRegionClient.d.ts +0 -1
- package/dist/components/questions/components/ColorRegionClient.js +1 -546
- package/dist/components/questions/components/ColorRegionCreator.d.ts +0 -1
- package/dist/components/questions/components/ColorRegionCreator.js +1 -421
- package/dist/components/questions/components/ColorRegionNode.d.ts +0 -1
- package/dist/components/questions/components/ColorRegionNode.js +1 -60
- package/dist/components/questions/components/CreatorGuide.d.ts +0 -1
- package/dist/components/questions/components/CreatorGuide.js +1 -104
- package/dist/components/questions/components/NameNode.d.ts +0 -1
- package/dist/components/questions/components/NameNode.js +1 -27
- package/dist/components/questions/components/QuestionBankOption.d.ts +0 -1
- package/dist/components/questions/components/QuestionBankOption.js +1 -47
- package/dist/components/questions/components/QuestionBasicInfoForm.d.ts +0 -1
- package/dist/components/questions/components/QuestionBasicInfoForm.js +1 -10
- package/dist/components/questions/components/QuestionCommonFields.d.ts +0 -1
- package/dist/components/questions/components/QuestionCommonFields.js +1 -34
- package/dist/components/questions/components/QuestionSearchDropdown.d.ts +0 -1
- package/dist/components/questions/components/QuestionSearchDropdown.js +1 -259
- package/dist/components/questions/components/QuestionTypeSelector.d.ts +0 -1
- package/dist/components/questions/components/QuestionTypeSelector.js +1 -33
- package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts +0 -1
- package/dist/components/questions/components/QuestionTypeSpecificForms.js +1 -7
- package/dist/components/questions/components/RegionNode.d.ts +0 -1
- package/dist/components/questions/components/RegionNode.js +1 -95
- package/dist/components/questions/components/index.d.ts +0 -1
- package/dist/components/questions/components/index.js +1 -15
- package/dist/components/questions/creator/QuestionCreator.d.ts +0 -1
- package/dist/components/questions/creator/QuestionCreator.js +1 -91
- package/dist/components/questions/creator/QuestionGroupCreator.d.ts +0 -1
- package/dist/components/questions/creator/QuestionGroupCreator.js +1 -120
- package/dist/components/questions/creator/dedicated-component-router.d.ts +0 -1
- package/dist/components/questions/creator/dedicated-component-router.js +1 -80
- package/dist/components/questions/creator/index.d.ts +0 -1
- package/dist/components/questions/creator/index.js +1 -4
- package/dist/components/questions/creator/question-type-registry.d.ts +0 -1
- package/dist/components/questions/creator/question-type-registry.js +1 -81
- package/dist/components/questions/groups/ArticlesGroupCard.d.ts +0 -1
- package/dist/components/questions/groups/ArticlesGroupCard.js +1 -122
- package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts +0 -1
- package/dist/components/questions/groups/BasicQuestionGroupCard.js +1 -51
- package/dist/components/questions/groups/DocumentGroupCard.d.ts +0 -1
- package/dist/components/questions/groups/DocumentGroupCard.js +1 -115
- package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts +0 -1
- package/dist/components/questions/groups/MatchAnswerGroupCard.js +1 -26
- package/dist/components/questions/index.d.ts +0 -1
- package/dist/components/questions/index.js +1 -11
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js +1 -38
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js +1 -352
- package/dist/components/questions/types/answer-the-question/register.d.ts +0 -1
- package/dist/components/questions/types/answer-the-question/register.js +1 -68
- package/dist/components/questions/types/answer-the-question/transform.d.ts +0 -1
- package/dist/components/questions/types/answer-the-question/transform.js +1 -37
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js +1 -142
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js +1 -119
- package/dist/components/questions/types/arrange-letters-into-words/index.d.ts +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/index.js +1 -3
- package/dist/components/questions/types/arrange-letters-into-words/register.d.ts +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/register.js +1 -5
- package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/transform.js +1 -25
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js +1 -65
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js +1 -170
- package/dist/components/questions/types/choose-correct-adjective/index.d.ts +0 -1
- package/dist/components/questions/types/choose-correct-adjective/index.js +1 -3
- package/dist/components/questions/types/choose-correct-adjective/register.d.ts +0 -1
- package/dist/components/questions/types/choose-correct-adjective/register.js +1 -56
- package/dist/components/questions/types/choose-correct-adjective/transform.d.ts +0 -1
- package/dist/components/questions/types/choose-correct-adjective/transform.js +1 -17
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js +1 -132
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js +1 -582
- package/dist/components/questions/types/choose-the-correct-answer/index.d.ts +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/index.js +1 -3
- package/dist/components/questions/types/choose-the-correct-answer/register.d.ts +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/register.js +1 -102
- package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/transform.js +1 -44
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js +1 -276
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js +1 -449
- package/dist/components/questions/types/fill-in-blank/index.d.ts +0 -1
- package/dist/components/questions/types/fill-in-blank/index.js +1 -3
- package/dist/components/questions/types/fill-in-blank/register.d.ts +0 -1
- package/dist/components/questions/types/fill-in-blank/register.js +1 -139
- package/dist/components/questions/types/fill-in-blank/transform.d.ts +0 -1
- package/dist/components/questions/types/fill-in-blank/transform.js +1 -60
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js +1 -118
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js +1 -672
- package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/index.js +1 -3
- package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/register.js +1 -38
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.js +1 -16
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts +0 -1
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js +1 -263
- package/dist/components/questions/types/gn-speaking-interview/register.d.ts +0 -1
- package/dist/components/questions/types/gn-speaking-interview/register.js +1 -122
- package/dist/components/questions/types/gn-speaking-interview/transform.d.ts +0 -1
- package/dist/components/questions/types/gn-speaking-interview/transform.js +1 -49
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js +1 -17
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js +1 -28
- package/dist/components/questions/types/image-object-matching/index.d.ts +0 -1
- package/dist/components/questions/types/image-object-matching/index.js +1 -3
- package/dist/components/questions/types/image-object-matching/register.d.ts +0 -1
- package/dist/components/questions/types/image-object-matching/register.js +1 -4
- package/dist/components/questions/types/image-object-matching/transform.d.ts +0 -1
- package/dist/components/questions/types/image-object-matching/transform.js +1 -3
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js +1 -103
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js +1 -345
- package/dist/components/questions/types/label-the-picture/index.d.ts +0 -1
- package/dist/components/questions/types/label-the-picture/index.js +1 -3
- package/dist/components/questions/types/label-the-picture/register.d.ts +0 -1
- package/dist/components/questions/types/label-the-picture/register.js +1 -55
- package/dist/components/questions/types/label-the-picture/transform.d.ts +0 -1
- package/dist/components/questions/types/label-the-picture/transform.js +1 -29
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js +1 -79
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js +1 -233
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js +1 -3
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js +1 -83
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js +1 -28
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js +1 -71
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js +1 -387
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js +1 -3
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js +1 -101
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js +1 -34
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js +1 -107
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js +1 -458
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js +1 -3
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js +1 -111
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js +1 -36
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js +1 -9
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js +1 -23
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js +1 -292
- package/dist/components/questions/types/listen-and-speak-answer/index.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/index.js +1 -3
- package/dist/components/questions/types/listen-and-speak-answer/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/register.js +1 -85
- package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/transform.js +1 -28
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js +1 -33
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js +1 -296
- package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/register.js +1 -80
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.js +1 -28
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js +1 -35
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js +1 -286
- package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/register.js +1 -82
- package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/transform.js +1 -27
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js +1 -39
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js +1 -386
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.js +1 -88
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js +1 -33
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js +1 -27
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js +1 -248
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js +1 -60
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js +1 -19
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js +1 -27
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js +1 -257
- package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/register.js +1 -82
- package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/transform.js +1 -27
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js +1 -27
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js +1 -231
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.js +1 -57
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js +1 -17
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js +1 -73
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js +1 -231
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.js +1 -2
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.js +1 -67
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js +1 -43
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js +1 -97
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js +1 -239
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js +1 -3
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js +1 -77
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js +1 -20
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js +1 -135
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js +1 -618
- package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/index.js +1 -3
- package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/register.js +1 -83
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.js +1 -30
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js +1 -39
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js +1 -360
- package/dist/components/questions/types/match-by-writing-answer/index.d.ts +0 -1
- package/dist/components/questions/types/match-by-writing-answer/index.js +1 -4
- package/dist/components/questions/types/match-by-writing-answer/register.d.ts +0 -1
- package/dist/components/questions/types/match-by-writing-answer/register.js +1 -59
- package/dist/components/questions/types/match-by-writing-answer/transform.d.ts +0 -1
- package/dist/components/questions/types/match-by-writing-answer/transform.js +1 -62
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js +1 -17
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js +1 -24
- package/dist/components/questions/types/read-and-color-objects/index.d.ts +0 -1
- package/dist/components/questions/types/read-and-color-objects/index.js +1 -3
- package/dist/components/questions/types/read-and-color-objects/register.d.ts +0 -1
- package/dist/components/questions/types/read-and-color-objects/register.js +1 -4
- package/dist/components/questions/types/read-and-color-objects/transform.d.ts +0 -1
- package/dist/components/questions/types/read-and-color-objects/transform.js +1 -37
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts +0 -1
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js +1 -126
- package/dist/components/questions/types/read-displayed-content/register.d.ts +0 -1
- package/dist/components/questions/types/read-displayed-content/register.js +1 -65
- package/dist/components/questions/types/read-displayed-content/transform.d.ts +0 -1
- package/dist/components/questions/types/read-displayed-content/transform.js +1 -13
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js +1 -65
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js +1 -512
- package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/index.js +1 -3
- package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/register.js +1 -59
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.js +1 -29
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js +1 -374
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js +1 -42
- package/dist/components/questions/types/speaking-conversation/register.d.ts +0 -1
- package/dist/components/questions/types/speaking-conversation/register.js +1 -111
- package/dist/components/questions/types/speaking-conversation/transform.d.ts +0 -1
- package/dist/components/questions/types/speaking-conversation/transform.js +1 -35
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts +0 -1
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js +1 -75
- package/dist/components/questions/types/speaking-cue-card/register.d.ts +0 -1
- package/dist/components/questions/types/speaking-cue-card/register.js +1 -53
- package/dist/components/questions/types/speaking-cue-card/transform.d.ts +0 -1
- package/dist/components/questions/types/speaking-cue-card/transform.js +1 -13
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js +1 -11
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js +1 -162
- package/dist/components/questions/types/speaking-describe-image/index.d.ts +0 -1
- package/dist/components/questions/types/speaking-describe-image/index.js +1 -3
- package/dist/components/questions/types/speaking-describe-image/register.d.ts +0 -1
- package/dist/components/questions/types/speaking-describe-image/register.js +1 -70
- package/dist/components/questions/types/speaking-describe-image/transform.d.ts +0 -1
- package/dist/components/questions/types/speaking-describe-image/transform.js +1 -17
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts +0 -1
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js +1 -235
- package/dist/components/questions/types/spontaneous-qa/register.d.ts +0 -1
- package/dist/components/questions/types/spontaneous-qa/register.js +1 -94
- package/dist/components/questions/types/spontaneous-qa/transform.d.ts +0 -1
- package/dist/components/questions/types/spontaneous-qa/transform.js +1 -35
- package/dist/components/questions/types/true-false/TrueFalseClient.d.ts +0 -1
- package/dist/components/questions/types/true-false/TrueFalseClient.js +1 -76
- package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts +0 -1
- package/dist/components/questions/types/true-false/TrueFalseCreator.js +1 -245
- package/dist/components/questions/types/true-false/index.d.ts +0 -1
- package/dist/components/questions/types/true-false/index.js +1 -3
- package/dist/components/questions/types/true-false/register.d.ts +0 -1
- package/dist/components/questions/types/true-false/register.js +1 -78
- package/dist/components/questions/types/true-false/transform.d.ts +0 -1
- package/dist/components/questions/types/true-false/transform.js +1 -33
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js +1 -234
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js +1 -632
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js +1 -29
- package/dist/components/questions/types/word-fill-paragraph/index.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/index.js +1 -3
- package/dist/components/questions/types/word-fill-paragraph/register.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/register.js +1 -137
- package/dist/components/questions/types/word-fill-paragraph/transform.d.ts +0 -1
- package/dist/components/questions/types/word-fill-paragraph/transform.js +1 -57
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js +1 -139
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js +1 -262
- package/dist/components/questions/types/word-fill-structured-form/index.d.ts +0 -1
- package/dist/components/questions/types/word-fill-structured-form/index.js +1 -3
- package/dist/components/questions/types/word-fill-structured-form/register.d.ts +0 -1
- package/dist/components/questions/types/word-fill-structured-form/register.js +1 -68
- package/dist/components/questions/types/word-fill-structured-form/transform.d.ts +0 -1
- package/dist/components/questions/types/word-fill-structured-form/transform.js +1 -41
- package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingClient.js +1 -85
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.js +1 -193
- package/dist/components/questions/types/word-ordering/index.d.ts +0 -1
- package/dist/components/questions/types/word-ordering/index.js +1 -3
- package/dist/components/questions/types/word-ordering/register.d.ts +0 -1
- package/dist/components/questions/types/word-ordering/register.js +1 -47
- package/dist/components/questions/types/word-ordering/transform.d.ts +0 -1
- package/dist/components/questions/types/word-ordering/transform.js +1 -25
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js +1 -99
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js +1 -321
- package/dist/components/questions/types/write-a-short-letter/index.d.ts +0 -1
- package/dist/components/questions/types/write-a-short-letter/index.js +1 -3
- package/dist/components/questions/types/write-a-short-letter/register.d.ts +0 -1
- package/dist/components/questions/types/write-a-short-letter/register.js +1 -69
- package/dist/components/questions/types/write-a-short-letter/transform.d.ts +0 -1
- package/dist/components/questions/types/write-a-short-letter/transform.js +1 -26
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js +1 -62
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js +1 -197
- package/dist/components/questions/types/write-correct-verb-form/index.d.ts +0 -1
- package/dist/components/questions/types/write-correct-verb-form/index.js +1 -3
- package/dist/components/questions/types/write-correct-verb-form/register.d.ts +0 -1
- package/dist/components/questions/types/write-correct-verb-form/register.js +1 -63
- package/dist/components/questions/types/write-correct-verb-form/transform.d.ts +0 -1
- package/dist/components/questions/types/write-correct-verb-form/transform.js +1 -18
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.js +1 -23
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js +1 -175
- package/dist/components/questions/types/write-sentences/index.d.ts +0 -1
- package/dist/components/questions/types/write-sentences/index.js +1 -3
- package/dist/components/questions/types/write-sentences/register.d.ts +0 -1
- package/dist/components/questions/types/write-sentences/register.js +1 -59
- package/dist/components/questions/types/write-sentences/transform.d.ts +0 -1
- package/dist/components/questions/types/write-sentences/transform.js +1 -29
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js +1 -97
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js +1 -162
- package/dist/components/questions/types/write-short-paragraph/index.d.ts +0 -1
- package/dist/components/questions/types/write-short-paragraph/index.js +1 -3
- package/dist/components/questions/types/write-short-paragraph/register.d.ts +0 -1
- package/dist/components/questions/types/write-short-paragraph/register.js +1 -5
- package/dist/components/questions/types/write-short-paragraph/transform.d.ts +0 -1
- package/dist/components/questions/types/write-short-paragraph/transform.js +1 -22
- package/dist/components/questions/viewer/QuestionGroupViewer.d.ts +0 -1
- package/dist/components/questions/viewer/QuestionGroupViewer.js +1 -37
- package/dist/components/questions/viewer/QuestionViewer.d.ts +0 -1
- package/dist/components/questions/viewer/QuestionViewer.js +1 -447
- package/dist/components/questions/viewer/index.d.ts +0 -1
- package/dist/components/questions/viewer/index.js +1 -3
- package/dist/components/results/ResultReviewPageContainer.d.ts +0 -1
- package/dist/components/results/ResultReviewPageContainer.js +1 -99
- package/dist/components/results/ReviewQuestionRenderer.d.ts +0 -1
- package/dist/components/results/ReviewQuestionRenderer.js +1 -73
- package/dist/components/results/index.d.ts +0 -1
- package/dist/components/results/index.js +1 -3
- package/dist/components/results/result-review.utils.d.ts +0 -1
- package/dist/components/results/result-review.utils.js +1 -7
- package/dist/components/results/review-data.d.ts +0 -1
- package/dist/components/results/review-data.js +1 -151
- package/dist/components/results/review-renderer.utils.d.ts +0 -1
- package/dist/components/results/review-renderer.utils.js +1 -98
- package/dist/components/results/review-types.d.ts +0 -1
- package/dist/components/results/review-types.js +1 -2
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js +1 -139
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js +1 -13
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js +1 -19
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js +1 -12
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js +1 -12
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js +1 -10
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js +1 -14
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js +1 -9
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js +1 -7
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js +1 -6
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js +1 -10
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js +1 -42
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js +1 -26
- package/dist/components/themes/cambridge-yle/index.d.ts +0 -1
- package/dist/components/themes/cambridge-yle/index.js +1 -14
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts +0 -1
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.js +1 -25
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts +0 -1
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js +1 -89
- package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts +0 -1
- package/dist/components/themes/english-certification/EcWordFillParagraph.js +1 -56
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts +0 -1
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.js +1 -157
- package/dist/components/themes/english-certification/EcWritingTask.d.ts +0 -1
- package/dist/components/themes/english-certification/EcWritingTask.js +1 -35
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js +1 -115
- package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationBrand.js +1 -12
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js +1 -22
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js +1 -16
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js +1 -20
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js +1 -149
- package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationHeader.js +1 -32
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js +1 -72
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js +1 -34
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js +1 -17
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js +1 -23
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js +1 -38
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js +1 -73
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js +1 -91
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js +1 -19
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js +1 -30
- package/dist/components/themes/english-certification/english-certification-theme.d.ts +0 -1
- package/dist/components/themes/english-certification/english-certification-theme.js +1 -59
- package/dist/components/themes/english-certification/grouped-question-utils.d.ts +0 -1
- package/dist/components/themes/english-certification/grouped-question-utils.js +1 -219
- package/dist/components/themes/english-certification/index.d.ts +0 -1
- package/dist/components/themes/english-certification/index.js +1 -22
- package/dist/components/themes/index.d.ts +0 -1
- package/dist/components/themes/index.js +1 -7
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts +0 -1
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js +1 -171
- package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts +0 -1
- package/dist/components/themes/summer-sky/SummerSkyLayout.js +1 -222
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts +0 -1
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.js +1 -19
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts +0 -1
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js +1 -195
- package/dist/components/themes/types.d.ts +0 -1
- package/dist/components/themes/types.js +1 -2
- package/dist/components/ui/alert-dialog.d.ts +0 -1
- package/dist/components/ui/alert-dialog.js +1 -27
- package/dist/components/ui/alert.d.ts +0 -1
- package/dist/components/ui/alert.js +1 -23
- package/dist/components/ui/avatar.d.ts +0 -1
- package/dist/components/ui/avatar.js +1 -13
- package/dist/components/ui/badge.d.ts +0 -1
- package/dist/components/ui/badge.js +1 -39
- package/dist/components/ui/button.d.ts +0 -1
- package/dist/components/ui/button.js +1 -36
- package/dist/components/ui/calendar.d.ts +0 -1
- package/dist/components/ui/calendar.js +1 -77
- package/dist/components/ui/card.d.ts +0 -1
- package/dist/components/ui/card.js +1 -17
- package/dist/components/ui/carousel.d.ts +0 -1
- package/dist/components/ui/carousel.js +1 -92
- package/dist/components/ui/checkbox.d.ts +0 -1
- package/dist/components/ui/checkbox.js +1 -10
- package/dist/components/ui/collapsible.d.ts +0 -1
- package/dist/components/ui/collapsible.js +1 -14
- package/dist/components/ui/command.d.ts +0 -1
- package/dist/components/ui/command.js +1 -35
- package/dist/components/ui/confirm-dialog.d.ts +0 -1
- package/dist/components/ui/confirm-dialog.js +1 -50
- package/dist/components/ui/dialog.d.ts +0 -1
- package/dist/components/ui/dialog.js +1 -24
- package/dist/components/ui/drawer.d.ts +0 -1
- package/dist/components/ui/drawer.js +1 -36
- package/dist/components/ui/dropdown-menu.d.ts +0 -1
- package/dist/components/ui/dropdown-menu.js +1 -34
- package/dist/components/ui/file-upload.d.ts +0 -1
- package/dist/components/ui/file-upload.js +1 -156
- package/dist/components/ui/form.d.ts +0 -1
- package/dist/components/ui/form.js +1 -63
- package/dist/components/ui/hover-card.d.ts +0 -1
- package/dist/components/ui/hover-card.js +1 -11
- package/dist/components/ui/image-preview.d.ts +0 -1
- package/dist/components/ui/image-preview.js +1 -30
- package/dist/components/ui/input.d.ts +0 -1
- package/dist/components/ui/input.js +1 -9
- package/dist/components/ui/label.d.ts +0 -1
- package/dist/components/ui/label.js +1 -10
- package/dist/components/ui/language-switcher.d.ts +0 -1
- package/dist/components/ui/language-switcher.js +1 -16
- package/dist/components/ui/multi-select.d.ts +0 -1
- package/dist/components/ui/multi-select.js +1 -91
- package/dist/components/ui/points-input.d.ts +0 -1
- package/dist/components/ui/points-input.js +1 -34
- package/dist/components/ui/popover.d.ts +0 -1
- package/dist/components/ui/popover.js +1 -27
- package/dist/components/ui/progress.d.ts +0 -1
- package/dist/components/ui/progress.js +1 -17
- package/dist/components/ui/radio-group.d.ts +0 -1
- package/dist/components/ui/radio-group.js +1 -13
- package/dist/components/ui/scroll-area.d.ts +0 -1
- package/dist/components/ui/scroll-area.js +1 -12
- package/dist/components/ui/select.d.ts +0 -1
- package/dist/components/ui/select.js +1 -39
- package/dist/components/ui/separator.d.ts +0 -1
- package/dist/components/ui/separator.js +1 -9
- package/dist/components/ui/sheet.d.ts +0 -1
- package/dist/components/ui/sheet.js +1 -41
- package/dist/components/ui/single-select.d.ts +0 -1
- package/dist/components/ui/single-select.js +1 -77
- package/dist/components/ui/skeleton.d.ts +0 -1
- package/dist/components/ui/skeleton.js +1 -7
- package/dist/components/ui/switch.d.ts +0 -1
- package/dist/components/ui/switch.js +1 -9
- package/dist/components/ui/table.d.ts +0 -1
- package/dist/components/ui/table.js +1 -21
- package/dist/components/ui/tabs.d.ts +0 -1
- package/dist/components/ui/tabs.js +1 -18
- package/dist/components/ui/textarea.d.ts +0 -1
- package/dist/components/ui/textarea.js +1 -9
- package/dist/components/ui/tooltip.d.ts +0 -1
- package/dist/components/ui/tooltip.js +1 -12
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -20
- package/dist/mcp/config.d.ts +0 -1
- package/dist/mcp/config.js +1 -33
- package/dist/mcp/http-client.d.ts +0 -1
- package/dist/mcp/http-client.js +1 -49
- package/dist/mcp/index.d.ts +0 -1
- package/dist/mcp/index.js +1 -30
- package/dist/mcp/tools/_helpers.d.ts +0 -1
- package/dist/mcp/tools/_helpers.js +1 -26
- package/dist/mcp/tools/exams.d.ts +0 -1
- package/dist/mcp/tools/exams.js +1 -440
- package/dist/mcp/tools/index.d.ts +0 -1
- package/dist/mcp/tools/index.js +1 -7
- package/dist/mcp/tools/results.d.ts +0 -1
- package/dist/mcp/tools/results.js +1 -20
- package/dist/shared/constants/ApiConstant.d.ts +0 -1
- package/dist/shared/constants/ApiConstant.js +1 -277
- package/dist/shared/constants/QueryKeyConstant.d.ts +0 -1
- package/dist/shared/constants/QueryKeyConstant.js +1 -113
- package/dist/shared/constants/exam-level.enum.d.ts +0 -1
- package/dist/shared/constants/exam-level.enum.js +1 -42
- package/dist/shared/constants/landings/placement-test.constants.d.ts +0 -1
- package/dist/shared/constants/landings/placement-test.constants.js +1 -432
- package/dist/shared/constants/question-skills.d.ts +0 -1
- package/dist/shared/constants/question-skills.js +1 -268
- package/dist/shared/constants/routes.d.ts +0 -1
- package/dist/shared/constants/routes.js +1 -82
- package/dist/shared/index.d.ts +0 -1
- package/dist/shared/index.js +1 -8
- package/dist/shared/lib/hooks/index.d.ts +0 -1
- package/dist/shared/lib/hooks/index.js +1 -11
- package/dist/shared/lib/hooks/useAlertDialog.d.ts +0 -1
- package/dist/shared/lib/hooks/useAlertDialog.js +1 -58
- package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts +0 -1
- package/dist/shared/lib/hooks/useAudioPlayCounter.js +1 -31
- package/dist/shared/lib/hooks/useAudioPreview.d.ts +0 -1
- package/dist/shared/lib/hooks/useAudioPreview.js +1 -82
- package/dist/shared/lib/hooks/useAudioUpload.d.ts +0 -1
- package/dist/shared/lib/hooks/useAudioUpload.js +1 -25
- package/dist/shared/lib/hooks/useConfirmDialog.d.ts +0 -1
- package/dist/shared/lib/hooks/useConfirmDialog.js +1 -90
- package/dist/shared/lib/hooks/useDebouncedCallback.d.ts +0 -1
- package/dist/shared/lib/hooks/useDebouncedCallback.js +1 -33
- package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts +0 -1
- package/dist/shared/lib/hooks/useDelayedAutoPlay.js +1 -13
- package/dist/shared/lib/hooks/useFileUpload.d.ts +0 -1
- package/dist/shared/lib/hooks/useFileUpload.js +1 -25
- package/dist/shared/lib/hooks/useImageUrl.d.ts +0 -1
- package/dist/shared/lib/hooks/useImageUrl.js +1 -6
- package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts +0 -1
- package/dist/shared/lib/hooks/usePresignedFileUrl.js +1 -11
- package/dist/shared/lib/hooks/useReactHookForm.d.ts +0 -1
- package/dist/shared/lib/hooks/useReactHookForm.js +1 -32
- package/dist/shared/lib/hooks/useToast.d.ts +0 -1
- package/dist/shared/lib/hooks/useToast.js +1 -63
- package/dist/shared/lib/i18n/index.d.ts +0 -1
- package/dist/shared/lib/i18n/index.js +1 -55
- package/dist/shared/lib/i18n/messages/en/admin.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/admin.js +1 -2105
- package/dist/shared/lib/i18n/messages/en/auth.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/auth.js +1 -87
- package/dist/shared/lib/i18n/messages/en/common.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/common.js +1 -141
- package/dist/shared/lib/i18n/messages/en/file-upload.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/file-upload.js +1 -19
- package/dist/shared/lib/i18n/messages/en/student.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/student.js +1 -134
- package/dist/shared/lib/i18n/messages/en/terms.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en/terms.js +1 -38
- package/dist/shared/lib/i18n/messages/en.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/en.js +1 -16
- package/dist/shared/lib/i18n/messages/vi/admin.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/admin.js +1 -2105
- package/dist/shared/lib/i18n/messages/vi/auth.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/auth.js +1 -87
- package/dist/shared/lib/i18n/messages/vi/common.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/common.js +1 -141
- package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/file-upload.js +1 -19
- package/dist/shared/lib/i18n/messages/vi/student.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/student.js +1 -134
- package/dist/shared/lib/i18n/messages/vi/terms.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi/terms.js +1 -38
- package/dist/shared/lib/i18n/messages/vi.d.ts +0 -1
- package/dist/shared/lib/i18n/messages/vi.js +1 -16
- package/dist/shared/lib/i18n/types.d.ts +0 -1
- package/dist/shared/lib/i18n/types.js +1 -2
- package/dist/shared/lib/stores/examQuestionStore.d.ts +0 -1
- package/dist/shared/lib/stores/examQuestionStore.js +1 -213
- package/dist/shared/lib/stores/localeStore.d.ts +0 -1
- package/dist/shared/lib/stores/localeStore.js +1 -11
- package/dist/shared/lib/utils/public-page.d.ts +0 -1
- package/dist/shared/lib/utils/public-page.js +1 -45
- package/dist/shared/lib/utils/question-transform-types.d.ts +0 -1
- package/dist/shared/lib/utils/question-transform-types.js +1 -2
- package/dist/shared/lib/utils/question-transform.d.ts +0 -1
- package/dist/shared/lib/utils/question-transform.js +1 -175
- package/dist/shared/lib/utils.d.ts +0 -1
- package/dist/shared/lib/utils.js +1 -169
- package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts +0 -1
- package/dist/shared/lib/validation/choose-correct-answer.validation.js +1 -112
- package/dist/shared/lib/validation/label-the-picture.validation.d.ts +0 -1
- package/dist/shared/lib/validation/label-the-picture.validation.js +1 -20
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js +1 -47
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js +1 -22
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js +1 -35
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.js +1 -41
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js +1 -46
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js +1 -20
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js +1 -40
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js +1 -33
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js +1 -20
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts +0 -1
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js +1 -29
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts +0 -1
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js +1 -13
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts +0 -1
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js +1 -48
- package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts +0 -1
- package/dist/shared/lib/validation/read-and-color-objects.validation.js +1 -30
- package/dist/shared/lib/validation/read-displayed-content.validation.d.ts +0 -1
- package/dist/shared/lib/validation/read-displayed-content.validation.js +1 -29
- package/dist/shared/lib/validation/speaking-conversation.validation.d.ts +0 -1
- package/dist/shared/lib/validation/speaking-conversation.validation.js +1 -76
- package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts +0 -1
- package/dist/shared/lib/validation/speaking-describe-image.validation.js +1 -32
- package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts +0 -1
- package/dist/shared/lib/validation/spontaneous-qa.validation.js +1 -49
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js +1 -39
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js +1 -40
- package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph.validation.js +1 -44
- package/dist/shared/lib/validation/word-ordering.validation.d.ts +0 -1
- package/dist/shared/lib/validation/word-ordering.validation.js +1 -34
- package/dist/shared/types/branch.types.d.ts +0 -1
- package/dist/shared/types/branch.types.js +1 -7
- package/dist/shared/types/common.types.d.ts +0 -1
- package/dist/shared/types/common.types.js +1 -51
- package/dist/shared/types/entities/exam-schedule.types.d.ts +0 -1
- package/dist/shared/types/entities/exam-schedule.types.js +1 -6
- package/dist/shared/types/entities/exam.types.d.ts +0 -1
- package/dist/shared/types/entities/exam.types.js +1 -2
- package/dist/shared/types/entities/question.types.d.ts +0 -1
- package/dist/shared/types/entities/question.types.js +1 -5
- package/dist/shared/types/entities/result.types.d.ts +0 -1
- package/dist/shared/types/entities/result.types.js +1 -5
- package/dist/shared/types/entities/user.types.d.ts +0 -1
- package/dist/shared/types/entities/user.types.js +1 -5
- package/dist/shared/types/exam-taking.types.d.ts +0 -1
- package/dist/shared/types/exam-taking.types.js +1 -3
- package/dist/shared/types/history.types.d.ts +0 -1
- package/dist/shared/types/history.types.js +1 -35
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/index.js +1 -2
- package/dist/shared/types/questions/choose-correct-adjective.d.ts +0 -1
- package/dist/shared/types/questions/choose-correct-adjective.js +1 -5
- package/dist/shared/types/questions/choose-the-correct-answer.d.ts +0 -1
- package/dist/shared/types/questions/choose-the-correct-answer.js +1 -10
- package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts +0 -1
- package/dist/shared/types/questions/fill-missing-words-in-grid.js +1 -12
- package/dist/shared/types/questions/index.d.ts +0 -1
- package/dist/shared/types/questions/index.js +1 -41
- package/dist/shared/types/questions/listen-and-speak-answer.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-answer.js +1 -2
- package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-compare-images.js +1 -2
- package/dist/shared/types/questions/listen-and-speak-image-group.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-image-group.js +1 -2
- package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-info-exchange.js +1 -4
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.js +1 -4
- package/dist/shared/types/questions/listen-and-speak-question-list.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-question-list.js +1 -2
- package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts +0 -1
- package/dist/shared/types/questions/listen-and-speak-with-story-images.js +1 -4
- package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts +0 -1
- package/dist/shared/types/questions/look-picture-choose-correct-answer.js +1 -6
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts +0 -1
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js +1 -10
- package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts +0 -1
- package/dist/shared/types/questions/look-picture-fill-word-hint.js +1 -8
- package/dist/shared/types/questions/read-displayed-content.d.ts +0 -1
- package/dist/shared/types/questions/read-displayed-content.js +1 -2
- package/dist/shared/types/questions/speaking-conversation.d.ts +0 -1
- package/dist/shared/types/questions/speaking-conversation.js +1 -8
- package/dist/shared/types/questions/speaking-describe-image.d.ts +0 -1
- package/dist/shared/types/questions/speaking-describe-image.js +1 -2
- package/dist/shared/types/questions/spontaneous-qa.d.ts +0 -1
- package/dist/shared/types/questions/spontaneous-qa.js +1 -2
- package/dist/shared/types/questions/write-correct-verb-form.d.ts +0 -1
- package/dist/shared/types/questions/write-correct-verb-form.js +1 -13
- package/dist/shared/types/role.types.d.ts +0 -1
- package/dist/shared/types/role.types.js +1 -2
- package/dist/shared/types/structure-management.d.ts +0 -1
- package/dist/shared/types/structure-management.js +1 -29
- package/dist/shared/types/student.types.d.ts +0 -1
- package/dist/shared/types/student.types.js +1 -55
- package/dist/shared/types/teacher-dashboard-rooms.d.ts +0 -1
- package/dist/shared/types/teacher-dashboard-rooms.js +1 -3
- package/package.json +4 -2
- package/dist/api/exam-create.d.ts.map +0 -1
- package/dist/api/exam-create.js.map +0 -1
- package/dist/api/exam-create.types.d.ts.map +0 -1
- package/dist/api/exam-create.types.js.map +0 -1
- package/dist/api/exam-questions.d.ts.map +0 -1
- package/dist/api/exam-questions.js.map +0 -1
- package/dist/api/exam-questions.types.d.ts.map +0 -1
- package/dist/api/exam-questions.types.js.map +0 -1
- package/dist/api/exam-taking.d.ts.map +0 -1
- package/dist/api/exam-taking.js.map +0 -1
- package/dist/api/exam-taking.types.d.ts.map +0 -1
- package/dist/api/exam-taking.types.js.map +0 -1
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js.map +0 -1
- package/dist/api/result-review.d.ts.map +0 -1
- package/dist/api/result-review.js.map +0 -1
- package/dist/api/result-review.types.d.ts.map +0 -1
- package/dist/api/result-review.types.js.map +0 -1
- package/dist/components/CueCardEditor.d.ts.map +0 -1
- package/dist/components/CueCardEditor.js.map +0 -1
- package/dist/components/common/ResolvedImage.d.ts.map +0 -1
- package/dist/components/common/ResolvedImage.js.map +0 -1
- package/dist/components/exams/CreateExamInfoForm.d.ts.map +0 -1
- package/dist/components/exams/CreateExamInfoForm.js.map +0 -1
- package/dist/components/exams/CreateExamPageContainer.d.ts.map +0 -1
- package/dist/components/exams/CreateExamPageContainer.js.map +0 -1
- package/dist/components/exams/ExamCreator.d.ts.map +0 -1
- package/dist/components/exams/ExamCreator.js.map +0 -1
- package/dist/components/exams/ExamPartTabs.d.ts.map +0 -1
- package/dist/components/exams/ExamPartTabs.js.map +0 -1
- package/dist/components/exams/ExamQuestionGrid.d.ts.map +0 -1
- package/dist/components/exams/ExamQuestionGrid.js.map +0 -1
- package/dist/components/exams/ExamQuestionsPageContainer.d.ts.map +0 -1
- package/dist/components/exams/ExamQuestionsPageContainer.js.map +0 -1
- package/dist/components/exams/PartAudioUploader.d.ts.map +0 -1
- package/dist/components/exams/PartAudioUploader.js.map +0 -1
- package/dist/components/exams/TemplateSelector.d.ts.map +0 -1
- package/dist/components/exams/TemplateSelector.js.map +0 -1
- package/dist/components/exams/api.d.ts.map +0 -1
- package/dist/components/exams/api.js.map +0 -1
- package/dist/components/exams/create-exam.validation.d.ts.map +0 -1
- package/dist/components/exams/create-exam.validation.js.map +0 -1
- package/dist/components/exams/exam-template.utils.d.ts.map +0 -1
- package/dist/components/exams/exam-template.utils.js.map +0 -1
- package/dist/components/exams/index.d.ts.map +0 -1
- package/dist/components/exams/index.js.map +0 -1
- package/dist/components/exams/take/ExamTakingPageContainer.d.ts.map +0 -1
- package/dist/components/exams/take/ExamTakingPageContainer.js.map +0 -1
- package/dist/components/exams/take/GenericQuestionRenderer.d.ts.map +0 -1
- package/dist/components/exams/take/GenericQuestionRenderer.js.map +0 -1
- package/dist/components/exams/take/exam-taking.utils.d.ts.map +0 -1
- package/dist/components/exams/take/exam-taking.utils.js.map +0 -1
- package/dist/components/exams/take/hooks/useSpeakingRecorder.d.ts.map +0 -1
- package/dist/components/exams/take/hooks/useSpeakingRecorder.js.map +0 -1
- package/dist/components/exams/take/index.d.ts.map +0 -1
- package/dist/components/exams/take/index.js.map +0 -1
- package/dist/components/exams/take/types.d.ts.map +0 -1
- package/dist/components/exams/take/types.js.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/questions/_shared/config/question-types.config.d.ts.map +0 -1
- package/dist/components/questions/_shared/config/question-types.config.js.map +0 -1
- package/dist/components/questions/_shared/constants/color-palette.d.ts.map +0 -1
- package/dist/components/questions/_shared/constants/color-palette.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useAnswerGroupQuestionGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useBasicQuestionGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useCompareImagesGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useImageQuestionGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useInfoExchangeGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionFormState.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionFormState.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionInitialization.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionListGroup.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useQuestionOnChange.js.map +0 -1
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.d.ts.map +0 -1
- package/dist/components/questions/_shared/hooks/useSceneQuestionGroup.js.map +0 -1
- package/dist/components/questions/_shared/index.d.ts.map +0 -1
- package/dist/components/questions/_shared/index.js.map +0 -1
- package/dist/components/questions/_shared/types/answer-the-question.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/answer-the-question.type.js.map +0 -1
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/arrange-letters-into-words.type.js.map +0 -1
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/choose-correct-adjective.type.js.map +0 -1
- package/dist/components/questions/_shared/types/color-region.config.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/color-region.config.js.map +0 -1
- package/dist/components/questions/_shared/types/fill-in-blank.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/fill-in-blank.type.js.map +0 -1
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/fill-missing-words-in-grid.type.js.map +0 -1
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/gn-speaking-interview.type.js.map +0 -1
- package/dist/components/questions/_shared/types/index.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/index.js.map +0 -1
- package/dist/components/questions/_shared/types/label-the-picture.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/label-the-picture.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-from-answer-group.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-choose-objects-in-scene.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-drag-objects-into-scene.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-answer.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-compare-images.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-image-group.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-info-exchange.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-odd-one-out.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-question-list.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-speak-with-story-images.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listen-and-tick-answer.type.js.map +0 -1
- package/dist/components/questions/_shared/types/listening-drawline.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/listening-drawline.type.js.map +0 -1
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/look-and-choose-answer.type.js.map +0 -1
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/look-picture-fill-word-hint.type.js.map +0 -1
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/match-by-writing-answer.type.js.map +0 -1
- package/dist/components/questions/_shared/types/multiple-choice.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/multiple-choice.type.js.map +0 -1
- package/dist/components/questions/_shared/types/question-group.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/question-group.type.js.map +0 -1
- package/dist/components/questions/_shared/types/read-and-color-objects.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/read-and-color-objects.type.js.map +0 -1
- package/dist/components/questions/_shared/types/read-displayed-content.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/read-displayed-content.type.js.map +0 -1
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/read-passage-and-answer-questions.type.js.map +0 -1
- package/dist/components/questions/_shared/types/speaking-describe-image.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/speaking-describe-image.type.js.map +0 -1
- package/dist/components/questions/_shared/types/spontaneous-qa.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/spontaneous-qa.type.js.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph-with-options.type.js.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-paragraph.type.js.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/word-fill-structured-form.type.js.map +0 -1
- package/dist/components/questions/_shared/types/word-ordering.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/word-ordering.type.js.map +0 -1
- package/dist/components/questions/_shared/types/write-a-short-letter.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/write-a-short-letter.type.js.map +0 -1
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/write-correct-verb-form.type.js.map +0 -1
- package/dist/components/questions/_shared/types/write-sentences.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/write-sentences.type.js.map +0 -1
- package/dist/components/questions/_shared/types/write-short-paragraph.type.d.ts.map +0 -1
- package/dist/components/questions/_shared/types/write-short-paragraph.type.js.map +0 -1
- package/dist/components/questions/_shared/utils/answer-builder.d.ts.map +0 -1
- package/dist/components/questions/_shared/utils/answer-builder.js.map +0 -1
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.d.ts.map +0 -1
- package/dist/components/questions/_shared/utils/createColorRegionRegistration.js.map +0 -1
- package/dist/components/questions/_shared/utils/id-generator.d.ts.map +0 -1
- package/dist/components/questions/_shared/utils/id-generator.js.map +0 -1
- package/dist/components/questions/_shared/utils/question-validation.d.ts.map +0 -1
- package/dist/components/questions/_shared/utils/question-validation.js.map +0 -1
- package/dist/components/questions/components/ColorNode.d.ts.map +0 -1
- package/dist/components/questions/components/ColorNode.js.map +0 -1
- package/dist/components/questions/components/ColorRegionClient.d.ts.map +0 -1
- package/dist/components/questions/components/ColorRegionClient.js.map +0 -1
- package/dist/components/questions/components/ColorRegionCreator.d.ts.map +0 -1
- package/dist/components/questions/components/ColorRegionCreator.js.map +0 -1
- package/dist/components/questions/components/ColorRegionNode.d.ts.map +0 -1
- package/dist/components/questions/components/ColorRegionNode.js.map +0 -1
- package/dist/components/questions/components/CreatorGuide.d.ts.map +0 -1
- package/dist/components/questions/components/CreatorGuide.js.map +0 -1
- package/dist/components/questions/components/NameNode.d.ts.map +0 -1
- package/dist/components/questions/components/NameNode.js.map +0 -1
- package/dist/components/questions/components/QuestionBankOption.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionBankOption.js.map +0 -1
- package/dist/components/questions/components/QuestionBasicInfoForm.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionBasicInfoForm.js.map +0 -1
- package/dist/components/questions/components/QuestionCommonFields.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionCommonFields.js.map +0 -1
- package/dist/components/questions/components/QuestionSearchDropdown.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionSearchDropdown.js.map +0 -1
- package/dist/components/questions/components/QuestionTypeSelector.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionTypeSelector.js.map +0 -1
- package/dist/components/questions/components/QuestionTypeSpecificForms.d.ts.map +0 -1
- package/dist/components/questions/components/QuestionTypeSpecificForms.js.map +0 -1
- package/dist/components/questions/components/RegionNode.d.ts.map +0 -1
- package/dist/components/questions/components/RegionNode.js.map +0 -1
- package/dist/components/questions/components/index.d.ts.map +0 -1
- package/dist/components/questions/components/index.js.map +0 -1
- package/dist/components/questions/creator/QuestionCreator.d.ts.map +0 -1
- package/dist/components/questions/creator/QuestionCreator.js.map +0 -1
- package/dist/components/questions/creator/QuestionGroupCreator.d.ts.map +0 -1
- package/dist/components/questions/creator/QuestionGroupCreator.js.map +0 -1
- package/dist/components/questions/creator/dedicated-component-router.d.ts.map +0 -1
- package/dist/components/questions/creator/dedicated-component-router.js.map +0 -1
- package/dist/components/questions/creator/index.d.ts.map +0 -1
- package/dist/components/questions/creator/index.js.map +0 -1
- package/dist/components/questions/creator/question-type-registry.d.ts.map +0 -1
- package/dist/components/questions/creator/question-type-registry.js.map +0 -1
- package/dist/components/questions/groups/ArticlesGroupCard.d.ts.map +0 -1
- package/dist/components/questions/groups/ArticlesGroupCard.js.map +0 -1
- package/dist/components/questions/groups/BasicQuestionGroupCard.d.ts.map +0 -1
- package/dist/components/questions/groups/BasicQuestionGroupCard.js.map +0 -1
- package/dist/components/questions/groups/DocumentGroupCard.d.ts.map +0 -1
- package/dist/components/questions/groups/DocumentGroupCard.js.map +0 -1
- package/dist/components/questions/groups/MatchAnswerGroupCard.d.ts.map +0 -1
- package/dist/components/questions/groups/MatchAnswerGroupCard.js.map +0 -1
- package/dist/components/questions/index.d.ts.map +0 -1
- package/dist/components/questions/index.js.map +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.d.ts.map +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionClient.js.map +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.d.ts.map +0 -1
- package/dist/components/questions/types/answer-the-question/AnswerTheQuestionCreator.js.map +0 -1
- package/dist/components/questions/types/answer-the-question/register.d.ts.map +0 -1
- package/dist/components/questions/types/answer-the-question/register.js.map +0 -1
- package/dist/components/questions/types/answer-the-question/transform.d.ts.map +0 -1
- package/dist/components/questions/types/answer-the-question/transform.js.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.d.ts.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsClient.js.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.d.ts.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/ArrangeLettersIntoWordsCreator.js.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/index.d.ts.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/index.js.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/register.d.ts.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/register.js.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/transform.d.ts.map +0 -1
- package/dist/components/questions/types/arrange-letters-into-words/transform.js.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.d.ts.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveClient.js.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.d.ts.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/ChooseCorrectAdjectiveCreator.js.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/index.d.ts.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/index.js.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/register.d.ts.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/register.js.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/transform.d.ts.map +0 -1
- package/dist/components/questions/types/choose-correct-adjective/transform.js.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.d.ts.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerClient.js.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.d.ts.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/index.d.ts.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/index.js.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/register.d.ts.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/register.js.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/transform.d.ts.map +0 -1
- package/dist/components/questions/types/choose-the-correct-answer/transform.js.map +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.d.ts.map +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankClient.js.map +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.d.ts.map +0 -1
- package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js.map +0 -1
- package/dist/components/questions/types/fill-in-blank/index.d.ts.map +0 -1
- package/dist/components/questions/types/fill-in-blank/index.js.map +0 -1
- package/dist/components/questions/types/fill-in-blank/register.d.ts.map +0 -1
- package/dist/components/questions/types/fill-in-blank/register.js.map +0 -1
- package/dist/components/questions/types/fill-in-blank/transform.d.ts.map +0 -1
- package/dist/components/questions/types/fill-in-blank/transform.js.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.d.ts.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridClient.js.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.d.ts.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/FillMissingWordsInGridCreator.js.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/index.d.ts.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/index.js.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/register.d.ts.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/register.js.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.d.ts.map +0 -1
- package/dist/components/questions/types/fill-missing-words-in-grid/transform.js.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.d.ts.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/GNSpeakingInterviewCreator.js.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/register.d.ts.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/register.js.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/transform.d.ts.map +0 -1
- package/dist/components/questions/types/gn-speaking-interview/transform.js.map +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.d.ts.map +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingClient.js.map +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.d.ts.map +0 -1
- package/dist/components/questions/types/image-object-matching/ImageObjectMatchingCreator.js.map +0 -1
- package/dist/components/questions/types/image-object-matching/index.d.ts.map +0 -1
- package/dist/components/questions/types/image-object-matching/index.js.map +0 -1
- package/dist/components/questions/types/image-object-matching/register.d.ts.map +0 -1
- package/dist/components/questions/types/image-object-matching/register.js.map +0 -1
- package/dist/components/questions/types/image-object-matching/transform.d.ts.map +0 -1
- package/dist/components/questions/types/image-object-matching/transform.js.map +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.d.ts.map +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureClient.js.map +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.d.ts.map +0 -1
- package/dist/components/questions/types/label-the-picture/LabelThePictureCreator.js.map +0 -1
- package/dist/components/questions/types/label-the-picture/index.d.ts.map +0 -1
- package/dist/components/questions/types/label-the-picture/index.js.map +0 -1
- package/dist/components/questions/types/label-the-picture/register.d.ts.map +0 -1
- package/dist/components/questions/types/label-the-picture/register.js.map +0 -1
- package/dist/components/questions/types/label-the-picture/transform.d.ts.map +0 -1
- package/dist/components/questions/types/label-the-picture/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/ListenAndChooseFromAnswerGroupCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/index.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-from-answer-group/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/ListenAndChooseObjectsInSceneCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/index.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-choose-objects-in-scene/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/ListenAndDragObjectsIntoSceneCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/index.js.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-drag-objects-into-scene/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ArrowIndicator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/ListenAndSpeakAnswerCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/index.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/index.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-answer/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/ListenAndSpeakCompareImagesCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-compare-images/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/ListenAndSpeakImageGroupCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-image-group/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/ListenAndSpeakInfoExchangeCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-info-exchange/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/ListenAndSpeakOddOneOutCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-odd-one-out/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/ListenAndSpeakQuestionListCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-question-list/transform.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesClient.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/ListenAndSpeakWithStoryImagesCreator.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/register.js.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.d.ts.map +0 -1
- package/dist/components/questions/types/listen-and-speak-with-story-images/transform.js.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerClient.js.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/LookPictureChooseCorrectAnswerCreator.js.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/index.js.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/register.js.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-choose-correct-answer/transform.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerClient.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/LookPictureFillBlankChooseAnswerCreator.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/index.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/register.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-blank-choose-answer/transform.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintClient.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/LookPictureFillWordHintCreator.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/index.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/index.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/register.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/register.js.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.d.ts.map +0 -1
- package/dist/components/questions/types/look-picture-fill-word-hint/transform.js.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.d.ts.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerClient.js.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.d.ts.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/MatchByWritingAnswerCreator.js.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/index.d.ts.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/index.js.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/register.d.ts.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/register.js.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/transform.d.ts.map +0 -1
- package/dist/components/questions/types/match-by-writing-answer/transform.js.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.d.ts.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsClient.js.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.d.ts.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/ReadAndColorObjectsCreator.js.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/index.d.ts.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/index.js.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/register.d.ts.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/register.js.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/transform.d.ts.map +0 -1
- package/dist/components/questions/types/read-and-color-objects/transform.js.map +0 -1
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.d.ts.map +0 -1
- package/dist/components/questions/types/read-displayed-content/ReadDisplayedContentCreator.js.map +0 -1
- package/dist/components/questions/types/read-displayed-content/register.d.ts.map +0 -1
- package/dist/components/questions/types/read-displayed-content/register.js.map +0 -1
- package/dist/components/questions/types/read-displayed-content/transform.d.ts.map +0 -1
- package/dist/components/questions/types/read-displayed-content/transform.js.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.d.ts.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsClient.js.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.d.ts.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/ReadPassageAndAnswerQuestionsCreator.js.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/index.d.ts.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/index.js.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/register.d.ts.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/register.js.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.d.ts.map +0 -1
- package/dist/components/questions/types/read-passage-and-answer-questions/transform.js.map +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationCreator.js.map +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-conversation/SpeakingConversationPreviewClient.js.map +0 -1
- package/dist/components/questions/types/speaking-conversation/register.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-conversation/register.js.map +0 -1
- package/dist/components/questions/types/speaking-conversation/transform.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-conversation/transform.js.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/SpeakingCueCardCreator.js.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/register.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/register.js.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/transform.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-cue-card/transform.js.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageClient.js.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/SpeakingDescribeImageCreator.js.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/index.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/index.js.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/register.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/register.js.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/transform.d.ts.map +0 -1
- package/dist/components/questions/types/speaking-describe-image/transform.js.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.d.ts.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/SpontaneousQACreator.js.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/register.d.ts.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/register.js.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/transform.d.ts.map +0 -1
- package/dist/components/questions/types/spontaneous-qa/transform.js.map +0 -1
- package/dist/components/questions/types/true-false/TrueFalseClient.d.ts.map +0 -1
- package/dist/components/questions/types/true-false/TrueFalseClient.js.map +0 -1
- package/dist/components/questions/types/true-false/TrueFalseCreator.d.ts.map +0 -1
- package/dist/components/questions/types/true-false/TrueFalseCreator.js.map +0 -1
- package/dist/components/questions/types/true-false/index.d.ts.map +0 -1
- package/dist/components/questions/types/true-false/index.js.map +0 -1
- package/dist/components/questions/types/true-false/register.d.ts.map +0 -1
- package/dist/components/questions/types/true-false/register.js.map +0 -1
- package/dist/components/questions/types/true-false/transform.d.ts.map +0 -1
- package/dist/components/questions/types/true-false/transform.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphClient.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphCreator.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/WordFillParagraphWrapper.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/index.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/index.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/register.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/register.js.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/transform.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-paragraph/transform.js.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormCreator.js.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/index.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/index.js.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/register.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/register.js.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/transform.d.ts.map +0 -1
- package/dist/components/questions/types/word-fill-structured-form/transform.js.map +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingClient.d.ts.map +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingClient.js.map +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.d.ts.map +0 -1
- package/dist/components/questions/types/word-ordering/WordOrderingCreator.js.map +0 -1
- package/dist/components/questions/types/word-ordering/index.d.ts.map +0 -1
- package/dist/components/questions/types/word-ordering/index.js.map +0 -1
- package/dist/components/questions/types/word-ordering/register.d.ts.map +0 -1
- package/dist/components/questions/types/word-ordering/register.js.map +0 -1
- package/dist/components/questions/types/word-ordering/transform.d.ts.map +0 -1
- package/dist/components/questions/types/word-ordering/transform.js.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.d.ts.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterClient.js.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.d.ts.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/WriteAShortLetterCreator.js.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/index.d.ts.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/index.js.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/register.d.ts.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/register.js.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/transform.d.ts.map +0 -1
- package/dist/components/questions/types/write-a-short-letter/transform.js.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.d.ts.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormClient.js.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.d.ts.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/WriteCorrectVerbFormCreator.js.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/index.d.ts.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/index.js.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/register.d.ts.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/register.js.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/transform.d.ts.map +0 -1
- package/dist/components/questions/types/write-correct-verb-form/transform.js.map +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.d.ts.map +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesClient.js.map +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.d.ts.map +0 -1
- package/dist/components/questions/types/write-sentences/WriteSentencesCreator.js.map +0 -1
- package/dist/components/questions/types/write-sentences/index.d.ts.map +0 -1
- package/dist/components/questions/types/write-sentences/index.js.map +0 -1
- package/dist/components/questions/types/write-sentences/register.d.ts.map +0 -1
- package/dist/components/questions/types/write-sentences/register.js.map +0 -1
- package/dist/components/questions/types/write-sentences/transform.d.ts.map +0 -1
- package/dist/components/questions/types/write-sentences/transform.js.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.d.ts.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphClient.js.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.d.ts.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/WriteShortParagraphCreator.js.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/index.d.ts.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/index.js.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/register.d.ts.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/register.js.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/transform.d.ts.map +0 -1
- package/dist/components/questions/types/write-short-paragraph/transform.js.map +0 -1
- package/dist/components/questions/viewer/QuestionGroupViewer.d.ts.map +0 -1
- package/dist/components/questions/viewer/QuestionGroupViewer.js.map +0 -1
- package/dist/components/questions/viewer/QuestionViewer.d.ts.map +0 -1
- package/dist/components/questions/viewer/QuestionViewer.js.map +0 -1
- package/dist/components/questions/viewer/index.d.ts.map +0 -1
- package/dist/components/questions/viewer/index.js.map +0 -1
- package/dist/components/results/ResultReviewPageContainer.d.ts.map +0 -1
- package/dist/components/results/ResultReviewPageContainer.js.map +0 -1
- package/dist/components/results/ReviewQuestionRenderer.d.ts.map +0 -1
- package/dist/components/results/ReviewQuestionRenderer.js.map +0 -1
- package/dist/components/results/index.d.ts.map +0 -1
- package/dist/components/results/index.js.map +0 -1
- package/dist/components/results/result-review.utils.d.ts.map +0 -1
- package/dist/components/results/result-review.utils.js.map +0 -1
- package/dist/components/results/review-data.d.ts.map +0 -1
- package/dist/components/results/review-data.js.map +0 -1
- package/dist/components/results/review-renderer.utils.d.ts.map +0 -1
- package/dist/components/results/review-renderer.utils.js.map +0 -1
- package/dist/components/results/review-types.d.ts.map +0 -1
- package/dist/components/results/review-types.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleBottomNav.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExamLayout.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleExampleText.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleHeader.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleInstructionBanner.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleNavButton.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYlePartBanner.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleProgressBar.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCard.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleQuestionCardFullWidth.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleSidebar.js.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/CambridgeYleTimer.js.map +0 -1
- package/dist/components/themes/cambridge-yle/index.d.ts.map +0 -1
- package/dist/components/themes/cambridge-yle/index.js.map +0 -1
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EcAnswerTheQuestion.js.map +0 -1
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EcMatchByWritingAnswer.js.map +0 -1
- package/dist/components/themes/english-certification/EcWordFillParagraph.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EcWordFillParagraph.js.map +0 -1
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EcWordFillStructuredForm.js.map +0 -1
- package/dist/components/themes/english-certification/EcWritingTask.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EcWritingTask.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationAudioPlayer.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationBrand.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationBrand.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationExamLayout.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFlagButton.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationFooterBar.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationGroupedQuestion.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationHeader.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationHeader.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationNavigationPanel.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationOptionSelector.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationPassagePanel.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionCard.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionItem.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationQuestionRenderer.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationReadingSection.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestion.js.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.d.ts.map +0 -1
- package/dist/components/themes/english-certification/EnglishCertificationSingleQuestionList.js.map +0 -1
- package/dist/components/themes/english-certification/english-certification-theme.d.ts.map +0 -1
- package/dist/components/themes/english-certification/english-certification-theme.js.map +0 -1
- package/dist/components/themes/english-certification/grouped-question-utils.d.ts.map +0 -1
- package/dist/components/themes/english-certification/grouped-question-utils.js.map +0 -1
- package/dist/components/themes/english-certification/index.d.ts.map +0 -1
- package/dist/components/themes/english-certification/index.js.map +0 -1
- package/dist/components/themes/index.d.ts.map +0 -1
- package/dist/components/themes/index.js.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.d.ts.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyAudioPlayer.js.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyLayout.d.ts.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyLayout.js.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.d.ts.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkySubmitModal.js.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.d.ts.map +0 -1
- package/dist/components/themes/summer-sky/SummerSkyWaitingRoom.js.map +0 -1
- package/dist/components/themes/types.d.ts.map +0 -1
- package/dist/components/themes/types.js.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/collapsible.js.map +0 -1
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/confirm-dialog.d.ts.map +0 -1
- package/dist/components/ui/confirm-dialog.js.map +0 -1
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/drawer.d.ts.map +0 -1
- package/dist/components/ui/drawer.js.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/file-upload.d.ts.map +0 -1
- package/dist/components/ui/file-upload.js.map +0 -1
- package/dist/components/ui/form.d.ts.map +0 -1
- package/dist/components/ui/form.js.map +0 -1
- package/dist/components/ui/hover-card.d.ts.map +0 -1
- package/dist/components/ui/hover-card.js.map +0 -1
- package/dist/components/ui/image-preview.d.ts.map +0 -1
- package/dist/components/ui/image-preview.js.map +0 -1
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/language-switcher.d.ts.map +0 -1
- package/dist/components/ui/language-switcher.js.map +0 -1
- package/dist/components/ui/multi-select.d.ts.map +0 -1
- package/dist/components/ui/multi-select.js.map +0 -1
- package/dist/components/ui/points-input.d.ts.map +0 -1
- package/dist/components/ui/points-input.js.map +0 -1
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/progress.js.map +0 -1
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.d.ts.map +0 -1
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/single-select.d.ts.map +0 -1
- package/dist/components/ui/single-select.js.map +0 -1
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.d.ts.map +0 -1
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/mcp/config.d.ts.map +0 -1
- package/dist/mcp/config.js.map +0 -1
- package/dist/mcp/http-client.d.ts.map +0 -1
- package/dist/mcp/http-client.js.map +0 -1
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/tools/_helpers.d.ts.map +0 -1
- package/dist/mcp/tools/_helpers.js.map +0 -1
- package/dist/mcp/tools/exams.d.ts.map +0 -1
- package/dist/mcp/tools/exams.js.map +0 -1
- package/dist/mcp/tools/index.d.ts.map +0 -1
- package/dist/mcp/tools/index.js.map +0 -1
- package/dist/mcp/tools/results.d.ts.map +0 -1
- package/dist/mcp/tools/results.js.map +0 -1
- package/dist/shared/constants/ApiConstant.d.ts.map +0 -1
- package/dist/shared/constants/ApiConstant.js.map +0 -1
- package/dist/shared/constants/QueryKeyConstant.d.ts.map +0 -1
- package/dist/shared/constants/QueryKeyConstant.js.map +0 -1
- package/dist/shared/constants/exam-level.enum.d.ts.map +0 -1
- package/dist/shared/constants/exam-level.enum.js.map +0 -1
- package/dist/shared/constants/landings/placement-test.constants.d.ts.map +0 -1
- package/dist/shared/constants/landings/placement-test.constants.js.map +0 -1
- package/dist/shared/constants/question-skills.d.ts.map +0 -1
- package/dist/shared/constants/question-skills.js.map +0 -1
- package/dist/shared/constants/routes.d.ts.map +0 -1
- package/dist/shared/constants/routes.js.map +0 -1
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/lib/hooks/index.d.ts.map +0 -1
- package/dist/shared/lib/hooks/index.js.map +0 -1
- package/dist/shared/lib/hooks/useAlertDialog.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useAlertDialog.js.map +0 -1
- package/dist/shared/lib/hooks/useAudioPlayCounter.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useAudioPlayCounter.js.map +0 -1
- package/dist/shared/lib/hooks/useAudioPreview.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useAudioPreview.js.map +0 -1
- package/dist/shared/lib/hooks/useAudioUpload.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useAudioUpload.js.map +0 -1
- package/dist/shared/lib/hooks/useConfirmDialog.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useConfirmDialog.js.map +0 -1
- package/dist/shared/lib/hooks/useDebouncedCallback.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useDebouncedCallback.js.map +0 -1
- package/dist/shared/lib/hooks/useDelayedAutoPlay.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useDelayedAutoPlay.js.map +0 -1
- package/dist/shared/lib/hooks/useFileUpload.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useFileUpload.js.map +0 -1
- package/dist/shared/lib/hooks/useImageUrl.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useImageUrl.js.map +0 -1
- package/dist/shared/lib/hooks/usePresignedFileUrl.d.ts.map +0 -1
- package/dist/shared/lib/hooks/usePresignedFileUrl.js.map +0 -1
- package/dist/shared/lib/hooks/useReactHookForm.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useReactHookForm.js.map +0 -1
- package/dist/shared/lib/hooks/useToast.d.ts.map +0 -1
- package/dist/shared/lib/hooks/useToast.js.map +0 -1
- package/dist/shared/lib/i18n/index.d.ts.map +0 -1
- package/dist/shared/lib/i18n/index.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/admin.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/admin.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/auth.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/auth.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/common.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/common.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/file-upload.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/file-upload.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/student.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/student.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en/terms.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en/terms.js.map +0 -1
- package/dist/shared/lib/i18n/messages/en.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/en.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/admin.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/admin.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/auth.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/auth.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/common.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/common.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/file-upload.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/file-upload.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/student.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/student.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/terms.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi/terms.js.map +0 -1
- package/dist/shared/lib/i18n/messages/vi.d.ts.map +0 -1
- package/dist/shared/lib/i18n/messages/vi.js.map +0 -1
- package/dist/shared/lib/i18n/types.d.ts.map +0 -1
- package/dist/shared/lib/i18n/types.js.map +0 -1
- package/dist/shared/lib/stores/examQuestionStore.d.ts.map +0 -1
- package/dist/shared/lib/stores/examQuestionStore.js.map +0 -1
- package/dist/shared/lib/stores/localeStore.d.ts.map +0 -1
- package/dist/shared/lib/stores/localeStore.js.map +0 -1
- package/dist/shared/lib/utils/public-page.d.ts.map +0 -1
- package/dist/shared/lib/utils/public-page.js.map +0 -1
- package/dist/shared/lib/utils/question-transform-types.d.ts.map +0 -1
- package/dist/shared/lib/utils/question-transform-types.js.map +0 -1
- package/dist/shared/lib/utils/question-transform.d.ts.map +0 -1
- package/dist/shared/lib/utils/question-transform.js.map +0 -1
- package/dist/shared/lib/utils.d.ts.map +0 -1
- package/dist/shared/lib/utils.js.map +0 -1
- package/dist/shared/lib/validation/choose-correct-answer.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/choose-correct-answer.validation.js.map +0 -1
- package/dist/shared/lib/validation/label-the-picture.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/label-the-picture.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-choose-from-answer-group.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-choose-objects-in-scene.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-drag-objects-into-scene.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-answer.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-compare-images.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-image-group.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-info-exchange.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-odd-one-out.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-question-list.validation.js.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/listen-and-speak-with-story-images.validation.js.map +0 -1
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/look-picture-choose-correct-answer.validation.js.map +0 -1
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/look-picture-fill-blank-choose-answer.validation.js.map +0 -1
- package/dist/shared/lib/validation/read-and-color-objects.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/read-and-color-objects.validation.js.map +0 -1
- package/dist/shared/lib/validation/read-displayed-content.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/read-displayed-content.validation.js.map +0 -1
- package/dist/shared/lib/validation/speaking-conversation.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/speaking-conversation.validation.js.map +0 -1
- package/dist/shared/lib/validation/speaking-describe-image.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/speaking-describe-image.validation.js.map +0 -1
- package/dist/shared/lib/validation/spontaneous-qa.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/spontaneous-qa.validation.js.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-default.validation.js.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph-with-options.validation.js.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/word-fill-paragraph.validation.js.map +0 -1
- package/dist/shared/lib/validation/word-ordering.validation.d.ts.map +0 -1
- package/dist/shared/lib/validation/word-ordering.validation.js.map +0 -1
- package/dist/shared/types/branch.types.d.ts.map +0 -1
- package/dist/shared/types/branch.types.js.map +0 -1
- package/dist/shared/types/common.types.d.ts.map +0 -1
- package/dist/shared/types/common.types.js.map +0 -1
- package/dist/shared/types/entities/exam-schedule.types.d.ts.map +0 -1
- package/dist/shared/types/entities/exam-schedule.types.js.map +0 -1
- package/dist/shared/types/entities/exam.types.d.ts.map +0 -1
- package/dist/shared/types/entities/exam.types.js.map +0 -1
- package/dist/shared/types/entities/question.types.d.ts.map +0 -1
- package/dist/shared/types/entities/question.types.js.map +0 -1
- package/dist/shared/types/entities/result.types.d.ts.map +0 -1
- package/dist/shared/types/entities/result.types.js.map +0 -1
- package/dist/shared/types/entities/user.types.d.ts.map +0 -1
- package/dist/shared/types/entities/user.types.js.map +0 -1
- package/dist/shared/types/exam-taking.types.d.ts.map +0 -1
- package/dist/shared/types/exam-taking.types.js.map +0 -1
- package/dist/shared/types/history.types.d.ts.map +0 -1
- package/dist/shared/types/history.types.js.map +0 -1
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/shared/types/index.js.map +0 -1
- package/dist/shared/types/questions/choose-correct-adjective.d.ts.map +0 -1
- package/dist/shared/types/questions/choose-correct-adjective.js.map +0 -1
- package/dist/shared/types/questions/choose-the-correct-answer.d.ts.map +0 -1
- package/dist/shared/types/questions/choose-the-correct-answer.js.map +0 -1
- package/dist/shared/types/questions/fill-missing-words-in-grid.d.ts.map +0 -1
- package/dist/shared/types/questions/fill-missing-words-in-grid.js.map +0 -1
- package/dist/shared/types/questions/index.d.ts.map +0 -1
- package/dist/shared/types/questions/index.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-answer.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-answer.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-compare-images.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-compare-images.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-image-group.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-image-group.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-info-exchange.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-info-exchange.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-odd-one-out.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-question-list.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-question-list.js.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-with-story-images.d.ts.map +0 -1
- package/dist/shared/types/questions/listen-and-speak-with-story-images.js.map +0 -1
- package/dist/shared/types/questions/look-picture-choose-correct-answer.d.ts.map +0 -1
- package/dist/shared/types/questions/look-picture-choose-correct-answer.js.map +0 -1
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.d.ts.map +0 -1
- package/dist/shared/types/questions/look-picture-fill-blank-choose-answer.js.map +0 -1
- package/dist/shared/types/questions/look-picture-fill-word-hint.d.ts.map +0 -1
- package/dist/shared/types/questions/look-picture-fill-word-hint.js.map +0 -1
- package/dist/shared/types/questions/read-displayed-content.d.ts.map +0 -1
- package/dist/shared/types/questions/read-displayed-content.js.map +0 -1
- package/dist/shared/types/questions/speaking-conversation.d.ts.map +0 -1
- package/dist/shared/types/questions/speaking-conversation.js.map +0 -1
- package/dist/shared/types/questions/speaking-describe-image.d.ts.map +0 -1
- package/dist/shared/types/questions/speaking-describe-image.js.map +0 -1
- package/dist/shared/types/questions/spontaneous-qa.d.ts.map +0 -1
- package/dist/shared/types/questions/spontaneous-qa.js.map +0 -1
- package/dist/shared/types/questions/write-correct-verb-form.d.ts.map +0 -1
- package/dist/shared/types/questions/write-correct-verb-form.js.map +0 -1
- package/dist/shared/types/role.types.d.ts.map +0 -1
- package/dist/shared/types/role.types.js.map +0 -1
- package/dist/shared/types/structure-management.d.ts.map +0 -1
- package/dist/shared/types/structure-management.js.map +0 -1
- package/dist/shared/types/student.types.d.ts.map +0 -1
- package/dist/shared/types/student.types.js.map +0 -1
- package/dist/shared/types/teacher-dashboard-rooms.d.ts.map +0 -1
- package/dist/shared/types/teacher-dashboard-rooms.js.map +0 -1
|
@@ -1,120 +1 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { Button } from '../../../components/ui/button';
|
|
5
|
-
import { Input } from '../../../components/ui/input';
|
|
6
|
-
import { Label } from '../../../components/ui/label';
|
|
7
|
-
import { Textarea } from '../../../components/ui/textarea';
|
|
8
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../../components/ui/card';
|
|
9
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '../../../components/ui/select';
|
|
10
|
-
import { Badge } from '../../../components/ui/badge';
|
|
11
|
-
import { Checkbox } from '../../../components/ui/checkbox';
|
|
12
|
-
import { Plus, X, Upload, MoveUp, MoveDown, FileText, Music, Video, Image as ImageIcon, } from 'lucide-react';
|
|
13
|
-
import { toast } from 'sonner';
|
|
14
|
-
import { t } from '../../../shared/lib/i18n';
|
|
15
|
-
export function QuestionGroupCreator({ onSave, onCancel, availableQuestions = [], }) {
|
|
16
|
-
const [step, setStep] = useState(1);
|
|
17
|
-
// Step 1: Basic info
|
|
18
|
-
const [name, setName] = useState('');
|
|
19
|
-
const [description, setDescription] = useState('');
|
|
20
|
-
const [groupType, setGroupType] = useState('');
|
|
21
|
-
const [level, setLevel] = useState('A1');
|
|
22
|
-
const [skill, setSkill] = useState('READING');
|
|
23
|
-
const [category, setCategory] = useState('');
|
|
24
|
-
const [tags, setTags] = useState([]);
|
|
25
|
-
const [tagInput, setTagInput] = useState('');
|
|
26
|
-
const [allowShuffle, setAllowShuffle] = useState(false);
|
|
27
|
-
// Step 2: Context
|
|
28
|
-
const [context, setContext] = useState({
|
|
29
|
-
instructions: '',
|
|
30
|
-
});
|
|
31
|
-
// Step 3: Questions
|
|
32
|
-
const [selectedQuestionIds, setSelectedQuestionIds] = useState([]);
|
|
33
|
-
const [questionSearchQuery, setQuestionSearchQuery] = useState('');
|
|
34
|
-
const getGroupTypeLabel = (type) => {
|
|
35
|
-
const labels = {
|
|
36
|
-
READING_PASSAGE: 'Đọc hiểu - Đoạn văn',
|
|
37
|
-
LISTENING_AUDIO: 'Nghe - Audio/Hội thoại',
|
|
38
|
-
LISTENING_VIDEO: 'Nghe - Video',
|
|
39
|
-
IMAGE_BASED: 'Dựa vào hình ảnh',
|
|
40
|
-
MIXED: 'Kết hợp nhiều loại',
|
|
41
|
-
};
|
|
42
|
-
return labels[type] || type;
|
|
43
|
-
};
|
|
44
|
-
const getGroupTypeIcon = (type) => {
|
|
45
|
-
switch (type) {
|
|
46
|
-
case 'READING_PASSAGE':
|
|
47
|
-
return _jsx(FileText, { className: "h-5 w-5" });
|
|
48
|
-
case 'LISTENING_AUDIO':
|
|
49
|
-
return _jsx(Music, { className: "h-5 w-5" });
|
|
50
|
-
case 'LISTENING_VIDEO':
|
|
51
|
-
return _jsx(Video, { className: "h-5 w-5" });
|
|
52
|
-
case 'IMAGE_BASED':
|
|
53
|
-
return _jsx(ImageIcon, { className: "h-5 w-5" });
|
|
54
|
-
default:
|
|
55
|
-
return _jsx(FileText, { className: "h-5 w-5" });
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
const addTag = () => {
|
|
59
|
-
if (tagInput.trim() && !tags.includes(tagInput.trim())) {
|
|
60
|
-
setTags([...tags, tagInput.trim()]);
|
|
61
|
-
setTagInput('');
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const removeTag = (tagToRemove) => {
|
|
65
|
-
setTags(tags.filter((tag) => tag !== tagToRemove));
|
|
66
|
-
};
|
|
67
|
-
const toggleQuestionSelection = (questionId) => {
|
|
68
|
-
if (selectedQuestionIds.includes(questionId)) {
|
|
69
|
-
setSelectedQuestionIds(selectedQuestionIds.filter((id) => id !== questionId));
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
setSelectedQuestionIds([...selectedQuestionIds, questionId]);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
const moveQuestion = (index, direction) => {
|
|
76
|
-
const newIds = [...selectedQuestionIds];
|
|
77
|
-
const newIndex = direction === 'up' ? index - 1 : index + 1;
|
|
78
|
-
if (newIndex >= 0 && newIndex < newIds.length) {
|
|
79
|
-
[newIds[index], newIds[newIndex]] = [newIds[newIndex], newIds[index]];
|
|
80
|
-
setSelectedQuestionIds(newIds);
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
const filteredQuestions = availableQuestions.filter((q) => q.content.toLowerCase().includes(questionSearchQuery.toLowerCase()) ||
|
|
84
|
-
q.type.toLowerCase().includes(questionSearchQuery.toLowerCase()));
|
|
85
|
-
const selectedQuestions = selectedQuestionIds
|
|
86
|
-
.map((id) => availableQuestions.find((q) => q.id === id))
|
|
87
|
-
.filter(Boolean);
|
|
88
|
-
const totalPoints = selectedQuestions.reduce((sum, q) => sum + q.points, 0);
|
|
89
|
-
const handleSave = () => {
|
|
90
|
-
if (!name || !groupType || selectedQuestionIds.length === 0) {
|
|
91
|
-
toast.error(t('common.questionGroup.create.fillInfo'));
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
const groupData = {
|
|
95
|
-
name,
|
|
96
|
-
description,
|
|
97
|
-
type: groupType,
|
|
98
|
-
context,
|
|
99
|
-
level,
|
|
100
|
-
skill,
|
|
101
|
-
category: category || undefined,
|
|
102
|
-
tags: tags.length > 0 ? tags : undefined,
|
|
103
|
-
allowShuffle,
|
|
104
|
-
questionIds: selectedQuestionIds,
|
|
105
|
-
questionCount: selectedQuestionIds.length,
|
|
106
|
-
totalPoints,
|
|
107
|
-
};
|
|
108
|
-
onSave?.(groupData);
|
|
109
|
-
toast.success(t('common.questionGroup.create.success'));
|
|
110
|
-
};
|
|
111
|
-
const canProceedToStep2 = name && groupType;
|
|
112
|
-
const canProceedToStep3 = canProceedToStep2 && context.instructions;
|
|
113
|
-
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "flex items-center justify-center space-x-4", children: [_jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-full ${step >= 1 ? 'bg-blue-500 text-white' : 'bg-gray-200 text-gray-500'}`, children: "1" }), _jsx("div", { className: `h-1 w-20 ${step >= 2 ? 'bg-blue-500' : 'bg-gray-200'}` }), _jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-full ${step >= 2 ? 'bg-blue-500 text-white' : 'bg-gray-200 text-gray-500'}`, children: "2" }), _jsx("div", { className: `h-1 w-20 ${step >= 3 ? 'bg-blue-500' : 'bg-gray-200'}` }), _jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-full ${step >= 3 ? 'bg-blue-500 text-white' : 'bg-gray-200 text-gray-500'}`, children: "3" })] }), step === 1 && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "B\u01B0\u1EDBc 1: Th\u00F4ng tin c\u01A1 b\u1EA3n" }), _jsx(CardDescription, { children: "Nh\u1EADp th\u00F4ng tin chung v\u1EC1 nh\u00F3m c\u00E2u h\u1ECFi" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { children: [_jsx(Label, { htmlFor: "name", children: "T\u00EAn nh\u00F3m c\u00E2u h\u1ECFi *" }), _jsx(Input, { id: "name", value: name, onChange: (e) => setName(e.target.value), placeholder: "VD: TOEIC Part 3 - Conversation v\u1EC1 mua s\u1EAFm", className: "mt-1" })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "description", children: "M\u00F4 t\u1EA3" }), _jsx(Textarea, { id: "description", value: description, onChange: (e) => setDescription(e.target.value), placeholder: "M\u00F4 t\u1EA3 ng\u1EAFn g\u1ECDn v\u1EC1 nh\u00F3m c\u00E2u h\u1ECFi n\u00E0y...", className: "mt-1", rows: 3 })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "groupType", children: "Lo\u1EA1i nh\u00F3m c\u00E2u h\u1ECFi *" }), _jsxs(Select, { value: groupType, onValueChange: (value) => setGroupType(value), children: [_jsx(SelectTrigger, { id: "groupType", className: "mt-1", children: _jsx(SelectValue, { placeholder: "Ch\u1ECDn lo\u1EA1i nh\u00F3m c\u00E2u h\u1ECFi" }) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "READING_PASSAGE", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(FileText, { className: "h-4 w-4" }), "\u0110\u1ECDc hi\u1EC3u - \u0110o\u1EA1n v\u0103n"] }) }), _jsx(SelectItem, { value: "LISTENING_AUDIO", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Music, { className: "h-4 w-4" }), "Nghe - Audio/H\u1ED9i tho\u1EA1i"] }) }), _jsx(SelectItem, { value: "LISTENING_VIDEO", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Video, { className: "h-4 w-4" }), "Nghe - Video"] }) }), _jsx(SelectItem, { value: "IMAGE_BASED", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ImageIcon, { className: "h-4 w-4" }), "D\u1EF1a v\u00E0o h\u00ECnh \u1EA3nh"] }) }), _jsx(SelectItem, { value: "MIXED", children: "K\u1EBFt h\u1EE3p nhi\u1EC1u lo\u1EA1i" })] })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { children: [_jsx(Label, { htmlFor: "level", children: "C\u1EA5p \u0111\u1ED9 *" }), _jsxs(Select, { value: level, onValueChange: (value) => setLevel(value), children: [_jsx(SelectTrigger, { id: "level", className: "mt-1", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "A1", children: "A1" }), _jsx(SelectItem, { value: "A2", children: "A2" }), _jsx(SelectItem, { value: "B1", children: "B1" }), _jsx(SelectItem, { value: "B2", children: "B2" }), _jsx(SelectItem, { value: "C1", children: "C1" }), _jsx(SelectItem, { value: "C2", children: "C2" })] })] })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "skill", children: "K\u1EF9 n\u0103ng *" }), _jsxs(Select, { value: skill, onValueChange: (value) => setSkill(value), children: [_jsx(SelectTrigger, { id: "skill", className: "mt-1", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "LISTENING", children: "Listening" }), _jsx(SelectItem, { value: "READING", children: "Reading" }), _jsx(SelectItem, { value: "WRITING", children: "Writing" }), _jsx(SelectItem, { value: "SPEAKING", children: "Speaking" })] })] })] })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "category", children: "Ch\u1EE7 \u0111\u1EC1" }), _jsx(Input, { id: "category", value: category, onChange: (e) => setCategory(e.target.value), placeholder: "VD: Daily Life, Business, Academic...", className: "mt-1" })] }), _jsxs("div", { children: [_jsx(Label, { children: "Tags" }), _jsxs("div", { className: "mt-1 flex gap-2", children: [_jsx(Input, { value: tagInput, onChange: (e) => setTagInput(e.target.value), onKeyDown: (e) => {
|
|
114
|
-
if (e.key === 'Enter') {
|
|
115
|
-
e.preventDefault();
|
|
116
|
-
addTag();
|
|
117
|
-
}
|
|
118
|
-
}, placeholder: "Nh\u1EADp tag v\u00E0 Enter..." }), _jsx(Button, { type: "button", onClick: addTag, size: "sm", children: _jsx(Plus, { className: "h-4 w-4" }) })] }), tags.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap gap-2", children: tags.map((tag) => (_jsxs(Badge, { variant: "secondary", className: "pr-1", children: [tag, _jsx("button", { onClick: () => removeTag(tag), className: "ml-1 rounded-full p-0.5 hover:bg-gray-300", children: _jsx(X, { className: "h-3 w-3" }) })] }, tag))) }))] }), _jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, { id: "allowShuffle", checked: allowShuffle, onCheckedChange: (checked) => setAllowShuffle(checked) }), _jsx(Label, { htmlFor: "allowShuffle", className: "text-sm font-normal", children: "Cho ph\u00E9p x\u00E1o tr\u1ED9n th\u1EE9 t\u1EF1 c\u00E2u h\u1ECFi trong nh\u00F3m" })] })] })] })), step === 2 && groupType && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [getGroupTypeIcon(groupType), "B\u01B0\u1EDBc 2: N\u1ED9i dung chung - ", getGroupTypeLabel(groupType)] }), _jsx(CardDescription, { children: "Nh\u1EADp n\u1ED9i dung chung m\u00E0 t\u1EA5t c\u1EA3 c\u00E2u h\u1ECFi trong nh\u00F3m s\u1EBD s\u1EED d\u1EE5ng" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { children: [_jsx(Label, { htmlFor: "instructions", children: "H\u01B0\u1EDBng d\u1EABn chung *" }), _jsx(Textarea, { id: "instructions", value: context.instructions || '', onChange: (e) => setContext({ ...context, instructions: e.target.value }), placeholder: "VD: H\u00E3y \u0111\u1ECDc \u0111o\u1EA1n v\u0103n sau v\u00E0 tr\u1EA3 l\u1EDDi c\u00E1c c\u00E2u h\u1ECFi...", className: "mt-1", rows: 3 })] }), (groupType === 'READING_PASSAGE' || groupType === 'MIXED') && (_jsxs("div", { className: "space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "font-medium", children: "\u0110o\u1EA1n v\u0103n \u0111\u1ECDc hi\u1EC3u" }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "passageTitle", children: "Ti\u00EAu \u0111\u1EC1 \u0111o\u1EA1n v\u0103n" }), _jsx(Input, { id: "passageTitle", value: context.passageTitle || '', onChange: (e) => setContext({ ...context, passageTitle: e.target.value }), placeholder: "Ti\u00EAu \u0111\u1EC1 c\u1EE7a \u0111o\u1EA1n v\u0103n...", className: "mt-1" })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "passage", children: "N\u1ED9i dung \u0111o\u1EA1n v\u0103n" }), _jsx(Textarea, { id: "passage", value: context.passage || '', onChange: (e) => setContext({ ...context, passage: e.target.value }), placeholder: "Nh\u1EADp n\u1ED9i dung \u0111o\u1EA1n v\u0103n \u0111\u1ECDc hi\u1EC3u...", className: "mt-1", rows: 8 })] })] })), (groupType === 'LISTENING_AUDIO' || groupType === 'MIXED') && (_jsxs("div", { className: "space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "font-medium", children: "Audio" }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "audioUrl", children: "File \u00E2m thanh" }), _jsxs("div", { className: "mt-1 flex gap-2", children: [_jsx(Input, { id: "audioUrl", value: context.audioUrl || '', onChange: (e) => setContext({ ...context, audioUrl: e.target.value }), placeholder: "URL ho\u1EB7c \u0111\u01B0\u1EDDng d\u1EABn file \u00E2m thanh" }), _jsx(Button, { variant: "outline", size: "icon", children: _jsx(Upload, { className: "h-4 w-4" }) })] })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "audioScript", children: "Transcript (b\u1EA3n ghi \u00E2m)" }), _jsx(Textarea, { id: "audioScript", value: context.audioScript || '', onChange: (e) => setContext({ ...context, audioScript: e.target.value }), placeholder: "N\u1ED9i dung transcript c\u1EE7a audio...", className: "mt-1", rows: 5 })] })] })), (groupType === 'LISTENING_VIDEO' || groupType === 'MIXED') && (_jsxs("div", { className: "space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "font-medium", children: "Video" }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "videoUrl", children: "File video" }), _jsxs("div", { className: "mt-1 flex gap-2", children: [_jsx(Input, { id: "videoUrl", value: context.videoUrl || '', onChange: (e) => setContext({ ...context, videoUrl: e.target.value }), placeholder: "URL ho\u1EB7c \u0111\u01B0\u1EDDng d\u1EABn file video" }), _jsx(Button, { variant: "outline", size: "icon", children: _jsx(Upload, { className: "h-4 w-4" }) })] })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "videoScript", children: "Transcript video" }), _jsx(Textarea, { id: "videoScript", value: context.videoScript || '', onChange: (e) => setContext({ ...context, videoScript: e.target.value }), placeholder: "N\u1ED9i dung transcript c\u1EE7a video...", className: "mt-1", rows: 5 })] })] })), (groupType === 'IMAGE_BASED' || groupType === 'MIXED') && (_jsxs("div", { className: "space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "font-medium", children: "H\u00ECnh \u1EA3nh" }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "imageUrl", children: "File h\u00ECnh \u1EA3nh" }), _jsxs("div", { className: "mt-1 flex gap-2", children: [_jsx(Input, { id: "imageUrl", value: context.imageUrl || '', onChange: (e) => setContext({ ...context, imageUrl: e.target.value }), placeholder: "URL ho\u1EB7c \u0111\u01B0\u1EDDng d\u1EABn file h\u00ECnh \u1EA3nh" }), _jsx(Button, { variant: "outline", size: "icon", children: _jsx(Upload, { className: "h-4 w-4" }) })] })] }), _jsxs("div", { children: [_jsx(Label, { htmlFor: "imageCaption", children: "Ch\u00FA th\u00EDch h\u00ECnh \u1EA3nh" }), _jsx(Input, { id: "imageCaption", value: context.imageCaption || '', onChange: (e) => setContext({ ...context, imageCaption: e.target.value }), placeholder: "M\u00F4 t\u1EA3 ng\u1EAFn v\u1EC1 h\u00ECnh \u1EA3nh...", className: "mt-1" })] })] }))] })] })), step === 3 && (_jsxs("div", { className: "space-y-6", children: [_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "B\u01B0\u1EDBc 3: Ch\u1ECDn c\u00E2u h\u1ECFi" }), _jsx(CardDescription, { children: "Ch\u1ECDn c\u00E1c c\u00E2u h\u1ECFi thu\u1ED9c nh\u00F3m n\u00E0y. C\u00E1c c\u00E2u h\u1ECFi s\u1EBD chia s\u1EBB context chung." })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsx("div", { children: _jsx(Input, { value: questionSearchQuery, onChange: (e) => setQuestionSearchQuery(e.target.value), placeholder: "T\u00ECm ki\u1EBFm c\u00E2u h\u1ECFi...", className: "w-full" }) }), _jsx("div", { className: "max-h-[400px] space-y-2 overflow-y-auto rounded-lg border p-4", children: filteredQuestions.length === 0 ? (_jsx("p", { className: "py-8 text-center text-sm text-gray-500", children: "Kh\u00F4ng c\u00F3 c\u00E2u h\u1ECFi n\u00E0o \u0111\u1EC3 ch\u1ECDn" })) : (filteredQuestions.map((question) => (_jsxs("div", { className: "flex items-start gap-3 rounded-lg border p-3 hover:bg-gray-50", children: [_jsx(Checkbox, { checked: selectedQuestionIds.includes(question.id), onCheckedChange: () => toggleQuestionSelection(question.id) }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: question.type }), _jsxs(Badge, { children: [question.points, " \u0111i\u1EC3m"] }), _jsx(Badge, { variant: "secondary", children: question.level })] }), _jsx("p", { className: "mt-1 text-sm", children: question.content })] })] }, question.id)))) })] })] }), selectedQuestions.length > 0 && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsxs(CardTitle, { children: ["C\u00E2u h\u1ECFi \u0111\u00E3 ch\u1ECDn (", selectedQuestions.length, " c\u00E2u - T\u1ED5ng ", totalPoints, " \u0111i\u1EC3m)"] }), _jsx(CardDescription, { children: "S\u1EAFp x\u1EBFp th\u1EE9 t\u1EF1 c\u00E2u h\u1ECFi b\u1EB1ng c\u00E1c n\u00FAt m\u0169i t\u00EAn" })] }), _jsx(CardContent, { children: _jsx("div", { className: "space-y-2", children: selectedQuestions.map((question, index) => (_jsxs("div", { className: "flex items-center gap-2 rounded-lg border bg-white p-3", children: [_jsxs("span", { className: "font-semibold text-gray-500", children: ["#", index + 1] }), _jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: question.type }), _jsxs(Badge, { children: [question.points, " \u0111i\u1EC3m"] })] }), _jsx("p", { className: "mt-1 text-sm", children: question.content })] }), _jsxs("div", { className: "flex gap-1", children: [_jsx(Button, { variant: "ghost", size: "icon", onClick: () => moveQuestion(index, 'up'), disabled: index === 0, children: _jsx(MoveUp, { className: "h-4 w-4" }) }), _jsx(Button, { variant: "ghost", size: "icon", onClick: () => moveQuestion(index, 'down'), disabled: index === selectedQuestions.length - 1, children: _jsx(MoveDown, { className: "h-4 w-4" }) }), _jsx(Button, { variant: "ghost", size: "icon", onClick: () => toggleQuestionSelection(question.id), children: _jsx(X, { className: "h-4 w-4" }) })] })] }, question.id))) }) })] }))] })), _jsxs("div", { className: "flex justify-between", children: [_jsx("div", { children: step > 1 && (_jsx(Button, { variant: "outline", onClick: () => setStep(step - 1), children: "Quay l\u1EA1i" })) }), _jsxs("div", { className: "flex gap-3", children: [_jsx(Button, { variant: "outline", onClick: onCancel, children: "H\u1EE7y" }), step < 3 ? (_jsx(Button, { onClick: () => setStep(step + 1), disabled: (step === 1 && !canProceedToStep2) || (step === 2 && !canProceedToStep3), className: "bg-blue-500 hover:bg-blue-600", children: "Ti\u1EBFp theo" })) : (_jsx(Button, { onClick: handleSave, className: "bg-blue-500 hover:bg-blue-600", children: "L\u01B0u nh\u00F3m c\u00E2u h\u1ECFi" }))] })] })] }));
|
|
119
|
-
}
|
|
120
|
-
//# sourceMappingURL=QuestionGroupCreator.js.map
|
|
1
|
+
"use client";import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as l}from"react";import{Button as n}from"../../../components/ui/button";import{Input as a}from"../../../components/ui/input";import{Label as c}from"../../../components/ui/label";import{Textarea as r}from"../../../components/ui/textarea";import{Card as t,CardContent as d,CardDescription as h,CardHeader as s,CardTitle as o}from"../../../components/ui/card";import{Select as m,SelectContent as u,SelectItem as g,SelectTrigger as v,SelectValue as p}from"../../../components/ui/select";import{Badge as N}from"../../../components/ui/badge";import{Checkbox as f}from"../../../components/ui/checkbox";import{Plus as y,X as b,Upload as C,MoveUp as x,MoveDown as I,FileText as w,Music as E,Video as A,Image as S}from"lucide-react";import{toast as D}from"sonner";import{t as G}from"../../../shared/lib/i18n";export function QuestionGroupCreator({onSave:T,onCancel:k,availableQuestions:L=[]}){const[F,U]=l(1),[_,B]=l(""),[M,V]=l(""),[R,O]=l(""),[j,z]=l("A1"),[P,H]=l("READING"),[K,X]=l(""),[q,Q]=l([]),[W,J]=l(""),[Y,Z]=l(!1),[$,ee]=l({instructions:""}),[ie,le]=l([]),[ne,ae]=l(""),ce=()=>{W.trim()&&!q.includes(W.trim())&&(Q([...q,W.trim()]),J(""))},re=e=>{ie.includes(e)?le(ie.filter(i=>i!==e)):le([...ie,e])},te=(e,i)=>{const l=[...ie],n="up"===i?e-1:e+1;n>=0&&n<l.length&&([l[e],l[n]]=[l[n],l[e]],le(l))},de=L.filter(e=>e.content.toLowerCase().includes(ne.toLowerCase())||e.type.toLowerCase().includes(ne.toLowerCase())),he=ie.map(e=>L.find(i=>i.id===e)).filter(Boolean),se=he.reduce((e,i)=>e+i.points,0),oe=_&&R,me=oe&&$.instructions;return i("div",{className:"space-y-6",children:[i("div",{className:"flex items-center justify-center space-x-4",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-full "+(F>=1?"bg-blue-500 text-white":"bg-gray-200 text-gray-500"),children:"1"}),e("div",{className:"h-1 w-20 "+(F>=2?"bg-blue-500":"bg-gray-200")}),e("div",{className:"flex h-10 w-10 items-center justify-center rounded-full "+(F>=2?"bg-blue-500 text-white":"bg-gray-200 text-gray-500"),children:"2"}),e("div",{className:"h-1 w-20 "+(F>=3?"bg-blue-500":"bg-gray-200")}),e("div",{className:"flex h-10 w-10 items-center justify-center rounded-full "+(F>=3?"bg-blue-500 text-white":"bg-gray-200 text-gray-500"),children:"3"})]}),1===F&&i(t,{children:[i(s,{children:[e(o,{children:"Bước 1: Thông tin cơ bản"}),e(h,{children:"Nhập thông tin chung về nhóm câu hỏi"})]}),i(d,{className:"space-y-4",children:[i("div",{children:[e(c,{htmlFor:"name",children:"Tên nhóm câu hỏi *"}),e(a,{id:"name",value:_,onChange:e=>B(e.target.value),placeholder:"VD: TOEIC Part 3 - Conversation về mua sắm",className:"mt-1"})]}),i("div",{children:[e(c,{htmlFor:"description",children:"Mô tả"}),e(r,{id:"description",value:M,onChange:e=>V(e.target.value),placeholder:"Mô tả ngắn gọn về nhóm câu hỏi này...",className:"mt-1",rows:3})]}),i("div",{children:[e(c,{htmlFor:"groupType",children:"Loại nhóm câu hỏi *"}),i(m,{value:R,onValueChange:e=>O(e),children:[e(v,{id:"groupType",className:"mt-1",children:e(p,{placeholder:"Chọn loại nhóm câu hỏi"})}),i(u,{children:[e(g,{value:"READING_PASSAGE",children:i("div",{className:"flex items-center gap-2",children:[e(w,{className:"h-4 w-4"}),"Đọc hiểu - Đoạn văn"]})}),e(g,{value:"LISTENING_AUDIO",children:i("div",{className:"flex items-center gap-2",children:[e(E,{className:"h-4 w-4"}),"Nghe - Audio/Hội thoại"]})}),e(g,{value:"LISTENING_VIDEO",children:i("div",{className:"flex items-center gap-2",children:[e(A,{className:"h-4 w-4"}),"Nghe - Video"]})}),e(g,{value:"IMAGE_BASED",children:i("div",{className:"flex items-center gap-2",children:[e(S,{className:"h-4 w-4"}),"Dựa vào hình ảnh"]})}),e(g,{value:"MIXED",children:"Kết hợp nhiều loại"})]})]})]}),i("div",{className:"grid grid-cols-2 gap-4",children:[i("div",{children:[e(c,{htmlFor:"level",children:"Cấp độ *"}),i(m,{value:j,onValueChange:e=>z(e),children:[e(v,{id:"level",className:"mt-1",children:e(p,{})}),i(u,{children:[e(g,{value:"A1",children:"A1"}),e(g,{value:"A2",children:"A2"}),e(g,{value:"B1",children:"B1"}),e(g,{value:"B2",children:"B2"}),e(g,{value:"C1",children:"C1"}),e(g,{value:"C2",children:"C2"})]})]})]}),i("div",{children:[e(c,{htmlFor:"skill",children:"Kỹ năng *"}),i(m,{value:P,onValueChange:e=>H(e),children:[e(v,{id:"skill",className:"mt-1",children:e(p,{})}),i(u,{children:[e(g,{value:"LISTENING",children:"Listening"}),e(g,{value:"READING",children:"Reading"}),e(g,{value:"WRITING",children:"Writing"}),e(g,{value:"SPEAKING",children:"Speaking"})]})]})]})]}),i("div",{children:[e(c,{htmlFor:"category",children:"Chủ đề"}),e(a,{id:"category",value:K,onChange:e=>X(e.target.value),placeholder:"VD: Daily Life, Business, Academic...",className:"mt-1"})]}),i("div",{children:[e(c,{children:"Tags"}),i("div",{className:"mt-1 flex gap-2",children:[e(a,{value:W,onChange:e=>J(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),ce())},placeholder:"Nhập tag và Enter..."}),e(n,{type:"button",onClick:ce,size:"sm",children:e(y,{className:"h-4 w-4"})})]}),q.length>0&&e("div",{className:"mt-2 flex flex-wrap gap-2",children:q.map(l=>i(N,{variant:"secondary",className:"pr-1",children:[l,e("button",{onClick:()=>{return e=l,void Q(q.filter(i=>i!==e));var e},className:"ml-1 rounded-full p-0.5 hover:bg-gray-300",children:e(b,{className:"h-3 w-3"})})]},l))})]}),i("div",{className:"flex items-center space-x-2",children:[e(f,{id:"allowShuffle",checked:Y,onCheckedChange:e=>Z(e)}),e(c,{htmlFor:"allowShuffle",className:"text-sm font-normal",children:"Cho phép xáo trộn thứ tự câu hỏi trong nhóm"})]})]})]}),2===F&&R&&i(t,{children:[i(s,{children:[i(o,{className:"flex items-center gap-2",children:[(i=>{switch(i){case"READING_PASSAGE":default:return e(w,{className:"h-5 w-5"});case"LISTENING_AUDIO":return e(E,{className:"h-5 w-5"});case"LISTENING_VIDEO":return e(A,{className:"h-5 w-5"});case"IMAGE_BASED":return e(S,{className:"h-5 w-5"})}})(R),"Bước 2: Nội dung chung - ",(ue=R,{READING_PASSAGE:"Đọc hiểu - Đoạn văn",LISTENING_AUDIO:"Nghe - Audio/Hội thoại",LISTENING_VIDEO:"Nghe - Video",IMAGE_BASED:"Dựa vào hình ảnh",MIXED:"Kết hợp nhiều loại"}[ue]||ue)]}),e(h,{children:"Nhập nội dung chung mà tất cả câu hỏi trong nhóm sẽ sử dụng"})]}),i(d,{className:"space-y-4",children:[i("div",{children:[e(c,{htmlFor:"instructions",children:"Hướng dẫn chung *"}),e(r,{id:"instructions",value:$.instructions||"",onChange:e=>ee({...$,instructions:e.target.value}),placeholder:"VD: Hãy đọc đoạn văn sau và trả lời các câu hỏi...",className:"mt-1",rows:3})]}),("READING_PASSAGE"===R||"MIXED"===R)&&i("div",{className:"space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4",children:[e("h4",{className:"font-medium",children:"Đoạn văn đọc hiểu"}),i("div",{children:[e(c,{htmlFor:"passageTitle",children:"Tiêu đề đoạn văn"}),e(a,{id:"passageTitle",value:$.passageTitle||"",onChange:e=>ee({...$,passageTitle:e.target.value}),placeholder:"Tiêu đề của đoạn văn...",className:"mt-1"})]}),i("div",{children:[e(c,{htmlFor:"passage",children:"Nội dung đoạn văn"}),e(r,{id:"passage",value:$.passage||"",onChange:e=>ee({...$,passage:e.target.value}),placeholder:"Nhập nội dung đoạn văn đọc hiểu...",className:"mt-1",rows:8})]})]}),("LISTENING_AUDIO"===R||"MIXED"===R)&&i("div",{className:"space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4",children:[e("h4",{className:"font-medium",children:"Audio"}),i("div",{children:[e(c,{htmlFor:"audioUrl",children:"File âm thanh"}),i("div",{className:"mt-1 flex gap-2",children:[e(a,{id:"audioUrl",value:$.audioUrl||"",onChange:e=>ee({...$,audioUrl:e.target.value}),placeholder:"URL hoặc đường dẫn file âm thanh"}),e(n,{variant:"outline",size:"icon",children:e(C,{className:"h-4 w-4"})})]})]}),i("div",{children:[e(c,{htmlFor:"audioScript",children:"Transcript (bản ghi âm)"}),e(r,{id:"audioScript",value:$.audioScript||"",onChange:e=>ee({...$,audioScript:e.target.value}),placeholder:"Nội dung transcript của audio...",className:"mt-1",rows:5})]})]}),("LISTENING_VIDEO"===R||"MIXED"===R)&&i("div",{className:"space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4",children:[e("h4",{className:"font-medium",children:"Video"}),i("div",{children:[e(c,{htmlFor:"videoUrl",children:"File video"}),i("div",{className:"mt-1 flex gap-2",children:[e(a,{id:"videoUrl",value:$.videoUrl||"",onChange:e=>ee({...$,videoUrl:e.target.value}),placeholder:"URL hoặc đường dẫn file video"}),e(n,{variant:"outline",size:"icon",children:e(C,{className:"h-4 w-4"})})]})]}),i("div",{children:[e(c,{htmlFor:"videoScript",children:"Transcript video"}),e(r,{id:"videoScript",value:$.videoScript||"",onChange:e=>ee({...$,videoScript:e.target.value}),placeholder:"Nội dung transcript của video...",className:"mt-1",rows:5})]})]}),("IMAGE_BASED"===R||"MIXED"===R)&&i("div",{className:"space-y-4 rounded-lg border border-gray-200 bg-gray-50 p-4",children:[e("h4",{className:"font-medium",children:"Hình ảnh"}),i("div",{children:[e(c,{htmlFor:"imageUrl",children:"File hình ảnh"}),i("div",{className:"mt-1 flex gap-2",children:[e(a,{id:"imageUrl",value:$.imageUrl||"",onChange:e=>ee({...$,imageUrl:e.target.value}),placeholder:"URL hoặc đường dẫn file hình ảnh"}),e(n,{variant:"outline",size:"icon",children:e(C,{className:"h-4 w-4"})})]})]}),i("div",{children:[e(c,{htmlFor:"imageCaption",children:"Chú thích hình ảnh"}),e(a,{id:"imageCaption",value:$.imageCaption||"",onChange:e=>ee({...$,imageCaption:e.target.value}),placeholder:"Mô tả ngắn về hình ảnh...",className:"mt-1"})]})]})]})]}),3===F&&i("div",{className:"space-y-6",children:[i(t,{children:[i(s,{children:[e(o,{children:"Bước 3: Chọn câu hỏi"}),e(h,{children:"Chọn các câu hỏi thuộc nhóm này. Các câu hỏi sẽ chia sẻ context chung."})]}),i(d,{className:"space-y-4",children:[e("div",{children:e(a,{value:ne,onChange:e=>ae(e.target.value),placeholder:"Tìm kiếm câu hỏi...",className:"w-full"})}),e("div",{className:"max-h-[400px] space-y-2 overflow-y-auto rounded-lg border p-4",children:0===de.length?e("p",{className:"py-8 text-center text-sm text-gray-500",children:"Không có câu hỏi nào để chọn"}):de.map(l=>i("div",{className:"flex items-start gap-3 rounded-lg border p-3 hover:bg-gray-50",children:[e(f,{checked:ie.includes(l.id),onCheckedChange:()=>re(l.id)}),i("div",{className:"flex-1",children:[i("div",{className:"flex items-center gap-2",children:[e(N,{variant:"outline",children:l.type}),i(N,{children:[l.points," điểm"]}),e(N,{variant:"secondary",children:l.level})]}),e("p",{className:"mt-1 text-sm",children:l.content})]})]},l.id))})]})]}),he.length>0&&i(t,{children:[i(s,{children:[i(o,{children:["Câu hỏi đã chọn (",he.length," câu - Tổng ",se," điểm)"]}),e(h,{children:"Sắp xếp thứ tự câu hỏi bằng các nút mũi tên"})]}),e(d,{children:e("div",{className:"space-y-2",children:he.map((l,a)=>i("div",{className:"flex items-center gap-2 rounded-lg border bg-white p-3",children:[i("span",{className:"font-semibold text-gray-500",children:["#",a+1]}),i("div",{className:"flex-1",children:[i("div",{className:"flex items-center gap-2",children:[e(N,{variant:"outline",children:l.type}),i(N,{children:[l.points," điểm"]})]}),e("p",{className:"mt-1 text-sm",children:l.content})]}),i("div",{className:"flex gap-1",children:[e(n,{variant:"ghost",size:"icon",onClick:()=>te(a,"up"),disabled:0===a,children:e(x,{className:"h-4 w-4"})}),e(n,{variant:"ghost",size:"icon",onClick:()=>te(a,"down"),disabled:a===he.length-1,children:e(I,{className:"h-4 w-4"})}),e(n,{variant:"ghost",size:"icon",onClick:()=>re(l.id),children:e(b,{className:"h-4 w-4"})})]})]},l.id))})})]})]}),i("div",{className:"flex justify-between",children:[e("div",{children:F>1&&e(n,{variant:"outline",onClick:()=>U(F-1),children:"Quay lại"})}),i("div",{className:"flex gap-3",children:[e(n,{variant:"outline",onClick:k,children:"Hủy"}),e(n,F<3?{onClick:()=>U(F+1),disabled:1===F&&!oe||2===F&&!me,className:"bg-blue-500 hover:bg-blue-600",children:"Tiếp theo"}:{onClick:()=>{if(!_||!R||0===ie.length)return void D.error(G("common.questionGroup.create.fillInfo"));const e={name:_,description:M,type:R,context:$,level:j,skill:P,category:K||void 0,tags:q.length>0?q:void 0,allowShuffle:Y,questionIds:ie,questionCount:ie.length,totalPoints:se};T?.(e),D.success(G("common.questionGroup.create.success"))},className:"bg-blue-500 hover:bg-blue-600",children:"Lưu nhóm câu hỏi"})]})]})]});var ue}
|
|
@@ -1,80 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { questionTypeRegistry } from './question-type-registry';
|
|
3
|
-
export function renderDedicatedComponent(props) {
|
|
4
|
-
const { questionType, initialData, state, onSave, onCancel, onChange, onUnsavedChangesChange, externalErrors, optionCount, optionMode, defaultValue, defaultQuestion, viewMode, groups, groupConfig, groupType, articleCount, questionConfig, questionIndexInPart, partId, validationRef, suggestedAnswers, hasSuggestedAnswers, headerExtra, } = props;
|
|
5
|
-
const registration = questionTypeRegistry[questionType];
|
|
6
|
-
if (!registration)
|
|
7
|
-
return null;
|
|
8
|
-
const ctx = {
|
|
9
|
-
questionType,
|
|
10
|
-
initialData,
|
|
11
|
-
state,
|
|
12
|
-
onSave,
|
|
13
|
-
onCancel,
|
|
14
|
-
onChange,
|
|
15
|
-
onUnsavedChangesChange,
|
|
16
|
-
externalErrors,
|
|
17
|
-
optionCount,
|
|
18
|
-
optionMode,
|
|
19
|
-
defaultValue,
|
|
20
|
-
defaultQuestion,
|
|
21
|
-
viewMode,
|
|
22
|
-
groups,
|
|
23
|
-
groupConfig,
|
|
24
|
-
groupType,
|
|
25
|
-
articleCount,
|
|
26
|
-
questionConfig,
|
|
27
|
-
questionIndexInPart,
|
|
28
|
-
partId,
|
|
29
|
-
validationRef,
|
|
30
|
-
suggestedAnswers,
|
|
31
|
-
hasSuggestedAnswers,
|
|
32
|
-
headerExtra,
|
|
33
|
-
};
|
|
34
|
-
const questionData = {
|
|
35
|
-
content: state.content,
|
|
36
|
-
points: state.points,
|
|
37
|
-
level: state.level,
|
|
38
|
-
difficulty: state.difficulty,
|
|
39
|
-
skill: state.skill,
|
|
40
|
-
};
|
|
41
|
-
// Build initialData for the component
|
|
42
|
-
const componentInitialData = registration.transformInitialData
|
|
43
|
-
? registration.transformInitialData(initialData, ctx)
|
|
44
|
-
: registration.useRawInitialData
|
|
45
|
-
? initialData
|
|
46
|
-
: initialData?.answer;
|
|
47
|
-
// Build common props
|
|
48
|
-
const commonProps = {
|
|
49
|
-
initialData: componentInitialData,
|
|
50
|
-
onCancel,
|
|
51
|
-
...(externalErrors && { externalErrors }),
|
|
52
|
-
...(headerExtra && { headerExtra }),
|
|
53
|
-
...(groupConfig && { groupConfig }),
|
|
54
|
-
};
|
|
55
|
-
// Add extra props from registration
|
|
56
|
-
if (registration.getExtraProps) {
|
|
57
|
-
Object.assign(commonProps, registration.getExtraProps(ctx));
|
|
58
|
-
}
|
|
59
|
-
// Default onSave wrapper
|
|
60
|
-
const defaultWrapSave = (data) => ({
|
|
61
|
-
type: questionType,
|
|
62
|
-
...questionData,
|
|
63
|
-
answer: data,
|
|
64
|
-
});
|
|
65
|
-
// Default onChange wrapper
|
|
66
|
-
const defaultWrapChange = (data) => ({
|
|
67
|
-
type: questionType,
|
|
68
|
-
...questionData,
|
|
69
|
-
answer: data,
|
|
70
|
-
});
|
|
71
|
-
const wrapSave = registration.wrapOnSave || defaultWrapSave;
|
|
72
|
-
const wrapChange = registration.wrapOnChange || defaultWrapChange;
|
|
73
|
-
const Component = registration.component;
|
|
74
|
-
return (_jsx(Component, { ...commonProps, onSave: (data) => {
|
|
75
|
-
onSave?.(wrapSave(data, ctx));
|
|
76
|
-
}, onChange: (data) => {
|
|
77
|
-
onChange?.(wrapChange(data, ctx));
|
|
78
|
-
} }));
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=dedicated-component-router.js.map
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{questionTypeRegistry as n}from"./question-type-registry";export function renderDedicatedComponent(t){const{questionType:a,initialData:o,state:r,onSave:i,onCancel:s,onChange:u,onUnsavedChangesChange:l,externalErrors:g,optionCount:p,optionMode:d,defaultValue:f,defaultQuestion:C,viewMode:c,groups:h,groupConfig:x,groupType:v,articleCount:w,questionConfig:y,questionIndexInPart:m,partId:I,validationRef:E,suggestedAnswers:q,hasSuggestedAnswers:D,headerExtra:S}=t,A=n[a];if(!A)return null;const M={questionType:a,initialData:o,state:r,onSave:i,onCancel:s,onChange:u,onUnsavedChangesChange:l,externalErrors:g,optionCount:p,optionMode:d,defaultValue:f,defaultQuestion:C,viewMode:c,groups:h,groupConfig:x,groupType:v,articleCount:w,questionConfig:y,questionIndexInPart:m,partId:I,validationRef:E,suggestedAnswers:q,hasSuggestedAnswers:D,headerExtra:S},P={content:r.content,points:r.points,level:r.level,difficulty:r.difficulty,skill:r.skill},T={initialData:A.transformInitialData?A.transformInitialData(o,M):A.useRawInitialData?o:o?.answer,onCancel:s,...g&&{externalErrors:g},...S&&{headerExtra:S},...x&&{groupConfig:x}};A.getExtraProps&&Object.assign(T,A.getExtraProps(M));const j=A.wrapOnSave||(e=>({type:a,...P,answer:e})),O=A.wrapOnChange||(e=>({type:a,...P,answer:e})),R=A.component;return e(R,{...T,onSave:e=>{i?.(j(e,M))},onChange:e=>{u?.(O(e,M))}})}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { QuestionGroupCreator } from './QuestionGroupCreator';
|
|
3
|
-
export { renderDedicatedComponent } from './dedicated-component-router';
|
|
4
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export{QuestionCreator}from"./QuestionCreator";export{QuestionGroupCreator}from"./QuestionGroupCreator";export{renderDedicatedComponent}from"./dedicated-component-router";
|
|
@@ -1,81 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { fillInBlankRegistration } from '../types/fill-in-blank/register';
|
|
3
|
-
import { arrangeLettersIntoWordsRegistration } from '../types/arrange-letters-into-words/register';
|
|
4
|
-
import { writeShortParagraphRegistration } from '../types/write-short-paragraph/register';
|
|
5
|
-
import { fillMissingWordsInGridRegistration } from '../types/fill-missing-words-in-grid/register';
|
|
6
|
-
import { lookPictureChooseCorrectAnswerRegistration } from '../types/look-picture-choose-correct-answer/register';
|
|
7
|
-
import { lookPictureFillBlankChooseAnswerRegistration } from '../types/look-picture-fill-blank-choose-answer/register';
|
|
8
|
-
import { lookPictureFillWordHintRegistration } from '../types/look-picture-fill-word-hint/register';
|
|
9
|
-
import { labelThePictureRegistration } from '../types/label-the-picture/register';
|
|
10
|
-
import { readAndColorObjectsRegistration } from '../types/read-and-color-objects/register';
|
|
11
|
-
import { imageObjectMatchingRegistration } from '../types/image-object-matching/register';
|
|
12
|
-
import { readPassageAndAnswerQuestionsRegistration } from '../types/read-passage-and-answer-questions/register';
|
|
13
|
-
import { chooseTheCorrectAnswerRegistration } from '../types/choose-the-correct-answer/register';
|
|
14
|
-
import { writeAShortLetterRegistration } from '../types/write-a-short-letter/register';
|
|
15
|
-
import { writeCorrectVerbFormRegistration } from '../types/write-correct-verb-form/register';
|
|
16
|
-
import { chooseCorrectAdjectiveRegistration } from '../types/choose-correct-adjective/register';
|
|
17
|
-
import { answerTheQuestionRegistration } from '../types/answer-the-question/register';
|
|
18
|
-
import { trueFalseRegistration } from '../types/true-false/register';
|
|
19
|
-
import { wordOrderingRegistration } from '../types/word-ordering/register';
|
|
20
|
-
import { wordFillParagraphRegistration } from '../types/word-fill-paragraph/register';
|
|
21
|
-
import { matchByWritingAnswerRegistration } from '../types/match-by-writing-answer/register';
|
|
22
|
-
import { writeSentencesRegistration } from '../types/write-sentences/register';
|
|
23
|
-
import { listenAndChooseFromAnswerGroupRegistration } from '../types/listen-and-choose-from-answer-group/register';
|
|
24
|
-
import { listenAndChooseObjectsInSceneRegistration } from '../types/listen-and-choose-objects-in-scene/register';
|
|
25
|
-
import { listenAndDragObjectsIntoSceneRegistration } from '../types/listen-and-drag-objects-into-scene/register';
|
|
26
|
-
import { listenAndSpeakAnswerRegistration } from '../types/listen-and-speak-answer/register';
|
|
27
|
-
import { listenAndSpeakImageGroupRegistration } from '../types/listen-and-speak-image-group/register';
|
|
28
|
-
import { listenAndSpeakQuestionListRegistration } from '../types/listen-and-speak-question-list/register';
|
|
29
|
-
import { ListenAndSpeakCompareImagesRegistration } from '../types/listen-and-speak-compare-images/register';
|
|
30
|
-
import { listenAndSpeakWithStoryImagesRegistration } from '../types/listen-and-speak-with-story-images/register';
|
|
31
|
-
import { listenAndSpeakOddOneOutRegistration } from '../types/listen-and-speak-odd-one-out/register';
|
|
32
|
-
import { listenAndSpeakInfoExchangeRegistration } from '../types/listen-and-speak-info-exchange/register';
|
|
33
|
-
import { speakingDescribeImageRegistration } from '../types/speaking-describe-image/register';
|
|
34
|
-
import { spontaneousQARegistration } from '../types/spontaneous-qa/register';
|
|
35
|
-
import { readDisplayedContentRegistration } from '../types/read-displayed-content/register';
|
|
36
|
-
import { speakingConversationRegistration } from '../types/speaking-conversation/register';
|
|
37
|
-
import { gnSpeakingInterviewRegistration } from '../types/gn-speaking-interview/register';
|
|
38
|
-
import { speakingCueCardRegistration } from '../types/speaking-cue-card/register';
|
|
39
|
-
import { wordFillStructuredFormRegistration } from '../types/word-fill-structured-form/register';
|
|
40
|
-
// ─── Registry map ───────────────────────────────────────────────────────────
|
|
41
|
-
export const questionTypeRegistry = {
|
|
42
|
-
CHOOSE_THE_CORRECT_ANSWER: chooseTheCorrectAnswerRegistration,
|
|
43
|
-
FILL_IN_BLANK: fillInBlankRegistration,
|
|
44
|
-
ARRANGE_LETTERS_INTO_WORDS: arrangeLettersIntoWordsRegistration,
|
|
45
|
-
WRITE_SHORT_PARAGRAPH: writeShortParagraphRegistration,
|
|
46
|
-
FILL_MISSING_WORDS_IN_GRID: fillMissingWordsInGridRegistration,
|
|
47
|
-
LOOK_PICTURE_CHOOSE_CORRECT_ANSWER: lookPictureChooseCorrectAnswerRegistration,
|
|
48
|
-
LOOK_PICTURE_FILL_BLANK_CHOOSE_ANSWER: lookPictureFillBlankChooseAnswerRegistration,
|
|
49
|
-
LOOK_PICTURE_FILL_WORD_HINT: lookPictureFillWordHintRegistration,
|
|
50
|
-
LABEL_THE_PICTURE: labelThePictureRegistration,
|
|
51
|
-
READ_AND_COLOR_OBJECTS: readAndColorObjectsRegistration,
|
|
52
|
-
IMAGE_OBJECT_MATCHING: imageObjectMatchingRegistration,
|
|
53
|
-
READ_PASSAGE_AND_ANSWER_QUESTIONS: readPassageAndAnswerQuestionsRegistration,
|
|
54
|
-
WRITE_A_SHORT_LETTER: writeAShortLetterRegistration,
|
|
55
|
-
WRITE_CORRECT_VERB_FORM: writeCorrectVerbFormRegistration,
|
|
56
|
-
CHOOSE_CORRECT_ADJECTIVE: chooseCorrectAdjectiveRegistration,
|
|
57
|
-
ANSWER_THE_QUESTION: answerTheQuestionRegistration,
|
|
58
|
-
TRUE_FALSE: trueFalseRegistration,
|
|
59
|
-
WORD_ORDERING: wordOrderingRegistration,
|
|
60
|
-
WORD_FILL_PARAGRAPH: wordFillParagraphRegistration, // Will need to handle viewMode mapping either here or in wrapper
|
|
61
|
-
MATCH_BY_WRITING_ANSWER: matchByWritingAnswerRegistration,
|
|
62
|
-
WRITE_SENTENCES: writeSentencesRegistration,
|
|
63
|
-
LISTEN_AND_CHOOSE_FROM_ANSWER_GROUP: listenAndChooseFromAnswerGroupRegistration,
|
|
64
|
-
LISTEN_AND_CHOOSE_OBJECTS_IN_SCENE: listenAndChooseObjectsInSceneRegistration,
|
|
65
|
-
LISTEN_AND_DRAG_OBJECTS_INTO_SCENE: listenAndDragObjectsIntoSceneRegistration,
|
|
66
|
-
LISTEN_AND_SPEAK_ANSWER: listenAndSpeakAnswerRegistration,
|
|
67
|
-
LISTEN_AND_SPEAK_IMAGE_GROUP: listenAndSpeakImageGroupRegistration,
|
|
68
|
-
LISTEN_AND_SPEAK_QUESTION_LIST: listenAndSpeakQuestionListRegistration,
|
|
69
|
-
LISTEN_AND_SPEAK_COMPARE_IMAGES: ListenAndSpeakCompareImagesRegistration,
|
|
70
|
-
LISTEN_AND_SPEAK_WITH_STORY_IMAGES: listenAndSpeakWithStoryImagesRegistration,
|
|
71
|
-
LISTEN_AND_SPEAK_ODD_ONE_OUT: listenAndSpeakOddOneOutRegistration,
|
|
72
|
-
LISTEN_AND_SPEAK_INFO_EXCHANGE: listenAndSpeakInfoExchangeRegistration,
|
|
73
|
-
SPEAKING_DESCRIBE_IMAGE: speakingDescribeImageRegistration,
|
|
74
|
-
SPONTANEOUS_QA: spontaneousQARegistration,
|
|
75
|
-
READ_DISPLAYED_CONTENT: readDisplayedContentRegistration,
|
|
76
|
-
SPEAKING_CONVERSATION: speakingConversationRegistration,
|
|
77
|
-
GN_SPEAKING_INTERVIEW: gnSpeakingInterviewRegistration,
|
|
78
|
-
SPEAKING_CUE_CARD: speakingCueCardRegistration,
|
|
79
|
-
WORD_FILL_STRUCTURED_FORM: wordFillStructuredFormRegistration,
|
|
80
|
-
};
|
|
81
|
-
//# sourceMappingURL=question-type-registry.js.map
|
|
1
|
+
import{fillInBlankRegistration as r}from"../types/fill-in-blank/register";import{arrangeLettersIntoWordsRegistration as e}from"../types/arrange-letters-into-words/register";import{writeShortParagraphRegistration as t}from"../types/write-short-paragraph/register";import{fillMissingWordsInGridRegistration as s}from"../types/fill-missing-words-in-grid/register";import{lookPictureChooseCorrectAnswerRegistration as o}from"../types/look-picture-choose-correct-answer/register";import{lookPictureFillBlankChooseAnswerRegistration as i}from"../types/look-picture-fill-blank-choose-answer/register";import{lookPictureFillWordHintRegistration as _}from"../types/look-picture-fill-word-hint/register";import{labelThePictureRegistration as p}from"../types/label-the-picture/register";import{readAndColorObjectsRegistration as E}from"../types/read-and-color-objects/register";import{imageObjectMatchingRegistration as m}from"../types/image-object-matching/register";import{readPassageAndAnswerQuestionsRegistration as n}from"../types/read-passage-and-answer-questions/register";import{chooseTheCorrectAnswerRegistration as S}from"../types/choose-the-correct-answer/register";import{writeAShortLetterRegistration as a}from"../types/write-a-short-letter/register";import{writeCorrectVerbFormRegistration as A}from"../types/write-correct-verb-form/register";import{chooseCorrectAdjectiveRegistration as N}from"../types/choose-correct-adjective/register";import{answerTheQuestionRegistration as R}from"../types/answer-the-question/register";import{trueFalseRegistration as g}from"../types/true-false/register";import{wordOrderingRegistration as T}from"../types/word-ordering/register";import{wordFillParagraphRegistration as I}from"../types/word-fill-paragraph/register";import{matchByWritingAnswerRegistration as O}from"../types/match-by-writing-answer/register";import{writeSentencesRegistration as f}from"../types/write-sentences/register";import{listenAndChooseFromAnswerGroupRegistration as y}from"../types/listen-and-choose-from-answer-group/register";import{listenAndChooseObjectsInSceneRegistration as c}from"../types/listen-and-choose-objects-in-scene/register";import{listenAndDragObjectsIntoSceneRegistration as C}from"../types/listen-and-drag-objects-into-scene/register";import{listenAndSpeakAnswerRegistration as l}from"../types/listen-and-speak-answer/register";import{listenAndSpeakImageGroupRegistration as L}from"../types/listen-and-speak-image-group/register";import{listenAndSpeakQuestionListRegistration as d}from"../types/listen-and-speak-question-list/register";import{ListenAndSpeakCompareImagesRegistration as D}from"../types/listen-and-speak-compare-images/register";import{listenAndSpeakWithStoryImagesRegistration as P}from"../types/listen-and-speak-with-story-images/register";import{listenAndSpeakOddOneOutRegistration as G}from"../types/listen-and-speak-odd-one-out/register";import{listenAndSpeakInfoExchangeRegistration as w}from"../types/listen-and-speak-info-exchange/register";import{speakingDescribeImageRegistration as W}from"../types/speaking-describe-image/register";import{spontaneousQARegistration as h}from"../types/spontaneous-qa/register";import{readDisplayedContentRegistration as H}from"../types/read-displayed-content/register";import{speakingConversationRegistration as k}from"../types/speaking-conversation/register";import{gnSpeakingInterviewRegistration as u}from"../types/gn-speaking-interview/register";import{speakingCueCardRegistration as K}from"../types/speaking-cue-card/register";import{wordFillStructuredFormRegistration as U}from"../types/word-fill-structured-form/register";export const questionTypeRegistry={CHOOSE_THE_CORRECT_ANSWER:S,FILL_IN_BLANK:r,ARRANGE_LETTERS_INTO_WORDS:e,WRITE_SHORT_PARAGRAPH:t,FILL_MISSING_WORDS_IN_GRID:s,LOOK_PICTURE_CHOOSE_CORRECT_ANSWER:o,LOOK_PICTURE_FILL_BLANK_CHOOSE_ANSWER:i,LOOK_PICTURE_FILL_WORD_HINT:_,LABEL_THE_PICTURE:p,READ_AND_COLOR_OBJECTS:E,IMAGE_OBJECT_MATCHING:m,READ_PASSAGE_AND_ANSWER_QUESTIONS:n,WRITE_A_SHORT_LETTER:a,WRITE_CORRECT_VERB_FORM:A,CHOOSE_CORRECT_ADJECTIVE:N,ANSWER_THE_QUESTION:R,TRUE_FALSE:g,WORD_ORDERING:T,WORD_FILL_PARAGRAPH:I,MATCH_BY_WRITING_ANSWER:O,WRITE_SENTENCES:f,LISTEN_AND_CHOOSE_FROM_ANSWER_GROUP:y,LISTEN_AND_CHOOSE_OBJECTS_IN_SCENE:c,LISTEN_AND_DRAG_OBJECTS_INTO_SCENE:C,LISTEN_AND_SPEAK_ANSWER:l,LISTEN_AND_SPEAK_IMAGE_GROUP:L,LISTEN_AND_SPEAK_QUESTION_LIST:d,LISTEN_AND_SPEAK_COMPARE_IMAGES:D,LISTEN_AND_SPEAK_WITH_STORY_IMAGES:P,LISTEN_AND_SPEAK_ODD_ONE_OUT:G,LISTEN_AND_SPEAK_INFO_EXCHANGE:w,SPEAKING_DESCRIBE_IMAGE:W,SPONTANEOUS_QA:h,READ_DISPLAYED_CONTENT:H,SPEAKING_CONVERSATION:k,GN_SPEAKING_INTERVIEW:u,SPEAKING_CUE_CARD:K,WORD_FILL_STRUCTURED_FORM:U};
|
|
@@ -32,4 +32,3 @@ export interface ArticlesGroupCardProps {
|
|
|
32
32
|
* such as KEY_FOR_SCHOOLS Reading Part 2.
|
|
33
33
|
*/
|
|
34
34
|
export declare function ArticlesGroupCard({ groupNumber, articleCount, articles, onArticlesChange, title, onTitleChange, isReadOnly, uploadIdPrefix, }: ArticlesGroupCardProps): import("react").JSX.Element;
|
|
35
|
-
//# sourceMappingURL=ArticlesGroupCard.d.ts.map
|
|
@@ -1,122 +1 @@
|
|
|
1
|
-
|
|
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
|
|
1
|
+
"use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useEffect as a,useState as i}from"react";import{useEditor as r,EditorContent as l}from"@tiptap/react";import n from"@tiptap/starter-kit";import s from"@tiptap/extension-text-align";import{ImagePreview as o}from"../../../components/ui/image-preview";import{Input as c}from"../../../components/ui/input";import{Label as d}from"../../../components/ui/label";import{Card as m,CardContent as h,CardHeader as g,CardTitle as u}from"../../../components/ui/card";import{FileUpload as p}from"../../../components/ui/file-upload";import{ImageIcon as f,Layers as x,Type as b,FileText as v,PlusCircle as N,Trash2 as y,Bold as w,Italic as C,Strikethrough as k,Heading1 as A,Heading2 as _,List as T,ListOrdered as U,AlignLeft as $,AlignCenter as j,AlignRight as H,Undo2 as L,Redo2 as O}from"lucide-react";import{Button as B}from"../../../components/ui/button";import{usePresignedFileUrl as R}from"../../../shared/lib/hooks";function I({onClick:t,active:a,disabled:i,title:r,children:l}){return e("button",{type:"button",title:r,onClick:t,disabled:i,className:`flex h-7 w-7 items-center justify-center rounded-md text-sm transition-colors\n ${a?"bg-teal-500 text-white shadow-sm":"text-gray-600 hover:bg-gray-200 hover:text-gray-900"}\n ${i?"cursor-not-allowed opacity-40":"cursor-pointer"}\n `,children:l})}function D(){return e("div",{className:"mx-0.5 h-5 w-px shrink-0 bg-gray-300"})}function S({value:o,onChange:c,isReadOnly:d=!1}){const[m,h]=i(!1),g=r({immediatelyRender:!1,editable:!d,extensions:[n,s.configure({types:["heading","paragraph"]})],content:o||"",onUpdate:({editor:e})=>{c(e.getHTML())},editorProps:{attributes:{class:["focus:outline-none min-h-[120px] max-h-[400px] overflow-y-auto p-3 text-sm text-gray-800 leading-relaxed","prose prose-sm max-w-none","[&_h1]:text-xl [&_h1]:font-bold [&_h1]:mb-2","[&_h2]:text-lg [&_h2]:font-bold [&_h2]:mb-1.5","[&_ul]:list-disc [&_ul]:ml-5 [&_ol]:list-decimal [&_ol]:ml-5","[&_li]:mb-0.5","[&_strong]:font-bold [&_em]:italic [&_s]:line-through","[&_hr]:border-gray-300 [&_hr]:my-3",d?"bg-gray-50 cursor-not-allowed":"bg-white"].join(" ")}}});return a(()=>{h(!0)},[]),a(()=>{g&&void 0!==o&&o!==g.getHTML()&&setTimeout(()=>g.commands.setContent(o,{emitUpdate:!1}),0)},[o,g]),a(()=>{g?.setEditable(!d)},[d,g]),m?t("div",{className:"overflow-hidden rounded-sm border-2 transition-all "+(d?"border-gray-200 bg-gray-50":"border-gray-200 bg-white focus-within:border-teal-400 focus-within:shadow-sm focus-within:shadow-teal-100"),children:[!d&&t("div",{className:"flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50/80 px-2 py-1.5",children:[e(I,{title:"Hoàn tác",onClick:()=>g?.chain().focus().undo().run(),disabled:!g?.can().undo(),children:e(L,{className:"h-3.5 w-3.5"})}),e(I,{title:"Làm lại",onClick:()=>g?.chain().focus().redo().run(),disabled:!g?.can().redo(),children:e(O,{className:"h-3.5 w-3.5"})}),e(D,{}),e(I,{title:"Heading 1",active:g?.isActive("heading",{level:1}),onClick:()=>g?.chain().focus().toggleHeading({level:1}).run(),children:e(A,{className:"h-3.5 w-3.5"})}),e(I,{title:"Heading 2",active:g?.isActive("heading",{level:2}),onClick:()=>g?.chain().focus().toggleHeading({level:2}).run(),children:e(_,{className:"h-3.5 w-3.5"})}),e(D,{}),e(I,{title:"In đậm",active:g?.isActive("bold"),onClick:()=>g?.chain().focus().toggleBold().run(),children:e(w,{className:"h-3.5 w-3.5"})}),e(I,{title:"In nghiêng",active:g?.isActive("italic"),onClick:()=>g?.chain().focus().toggleItalic().run(),children:e(C,{className:"h-3.5 w-3.5"})}),e(I,{title:"Gạch ngang",active:g?.isActive("strike"),onClick:()=>g?.chain().focus().toggleStrike().run(),children:e(k,{className:"h-3.5 w-3.5"})}),e(D,{}),e(I,{title:"Danh sách chấm",active:g?.isActive("bulletList"),onClick:()=>g?.chain().focus().toggleBulletList().run(),children:e(T,{className:"h-3.5 w-3.5"})}),e(I,{title:"Danh sách số",active:g?.isActive("orderedList"),onClick:()=>g?.chain().focus().toggleOrderedList().run(),children:e(U,{className:"h-3.5 w-3.5"})}),e(D,{}),e(I,{title:"Căn trái",active:g?.isActive({textAlign:"left"}),onClick:()=>g?.chain().focus().setTextAlign("left").run(),children:e($,{className:"h-3.5 w-3.5"})}),e(I,{title:"Căn giữa",active:g?.isActive({textAlign:"center"}),onClick:()=>g?.chain().focus().setTextAlign("center").run(),children:e(j,{className:"h-3.5 w-3.5"})}),e(I,{title:"Căn phải",active:g?.isActive({textAlign:"right"}),onClick:()=>g?.chain().focus().setTextAlign("right").run(),children:e(H,{className:"h-3.5 w-3.5"})})]}),e(l,{editor:g})]}):null}function z({src:t,alt:a}){const{previewUrl:i}=R(t),r=i||"";return r?e(o,{src:r,alt:a,className:"mt-2 h-40 w-full max-w-xs rounded-lg border border-gray-200"}):null}export function ArticlesGroupCard({groupNumber:a,articleCount:i,articles:r,onArticlesChange:l,title:n="",onTitleChange:s,isReadOnly:o=!1,uploadIdPrefix:w="articles-group"}){const C=r.length>0?r:Array.from({length:i},()=>({name:"",content:"",imageUrl:""})),k=(e,t,a)=>{if(o)return;const i=C.map((i,r)=>r===e?{...i,[t]:a}:i);l(i)};return t(m,{className:"overflow-hidden border-0 bg-white shadow-lg shadow-teal-100/50",children:[e("div",{className:"h-1.5 bg-gradient-to-r from-teal-500 via-emerald-500 to-green-500"}),e(g,{className:"pb-4",children:t("div",{className:"flex items-center gap-3",children:[e("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:e(x,{className:"h-5 w-5 text-white"})}),t("div",{className:"flex-1",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"text-lg font-bold text-gray-900",children:"Bài viết nhóm"}),t("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óm ",a]}),t("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:[r.length||i," bài viết"]})]}),t("p",{className:"text-sm text-gray-500",children:["Nhập nội dung từng bài viết — dùng chung cho tất cả câu hỏi trong Nhóm ",a,". Bạn có thể thêm hoặc xóa bài viết."]})]})]})}),t(h,{className:"space-y-5",children:[t("div",{className:"space-y-2 pb-2",children:[t(d,{htmlFor:`${w}-title`,className:"flex items-center gap-2 text-sm font-semibold text-gray-800",children:[e(b,{className:"h-4 w-4 text-teal-500"}),"Tiêu đề nhóm bài viết"," ",e("span",{className:"text-xs font-normal text-gray-500",children:"(Tùy chọn)"})]}),e(c,{id:`${w}-title`,value:n,onChange:e=>s?.(e.target.value),placeholder:"Nhập tiêu đề chung cho nhóm bài viết…",readOnly:o,className:"border-gray-200 bg-white transition-all focus:border-teal-300 focus:ring-teal-200 "+(o?"bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0":"")})]}),C.map((a,i)=>{const r=String.fromCharCode(65+i);return t("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:[t("div",{className:"mb-3 flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e("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:r}),t("span",{className:"text-sm font-semibold text-gray-700",children:["Bài viết ",i+1]})]}),C.length>1&&!o&&e(B,{type:"button",variant:"ghost",size:"sm",onClick:()=>(e=>{if(o)return;const t=C.filter((t,a)=>a!==e);l(t)})(i),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600",title:"Xóa bài viết",children:e(y,{className:"h-4 w-4"})})]}),t("div",{className:"space-y-3",children:[t("div",{className:"space-y-1.5",children:[t(d,{htmlFor:`${w}-name-${i}`,className:"flex items-center gap-1.5 text-sm font-medium text-gray-700",children:[e(b,{className:"h-3.5 w-3.5 text-teal-500"}),"Tên người / tiêu đề"]}),e(c,{id:`${w}-name-${i}`,value:a.name,onChange:e=>k(i,"name",e.target.value),placeholder:"VD: Ariel, Clive, Vicky...",readOnly:o,className:"border-gray-200 bg-white transition-all focus:border-teal-300 focus:ring-teal-200 "+(o?"bg-gray-50 text-gray-500 cursor-not-allowed border-transparent focus:border-transparent focus:ring-0":"")})]}),t("div",{className:"space-y-1.5",children:[t(d,{className:"flex items-center gap-1.5 text-sm font-medium text-gray-700",children:[e(v,{className:"h-3.5 w-3.5 text-teal-500"}),"Nội dung bài viết"]}),e(S,{value:a.content,onChange:e=>k(i,"content",e),isReadOnly:o})]}),t("div",{className:"space-y-1.5",children:[t(d,{className:"flex items-center gap-1.5 text-sm font-medium text-gray-700",children:[e(f,{className:"h-3.5 w-3.5 text-teal-500"}),"Hình ảnh"," ",e("span",{className:"text-xs font-normal text-gray-400",children:"(Tùy chọn)"})]}),!o&&e(p,{id:`${w}-image-${i}`,label:"",accept:"image/*",value:a.imageUrl,onChange:e=>k(i,"imageUrl",e),maxSize:5,placeholder:"Upload ảnh hoặc paste URL",autoUpload:!0,prefix:"questions"}),a.imageUrl&&e(z,{src:a.imageUrl,alt:`Article ${r} image`})]})]})]},i)}),!o&&t(B,{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:()=>{o||l([...C,{name:"",content:"",imageUrl:""}])},children:[e(N,{className:"mr-2 h-4 w-4"}),"Thêm bài viết"]})]})]})}
|
|
@@ -48,4 +48,3 @@ export interface BasicQuestionGroupCardProps {
|
|
|
48
48
|
* (managed by `useBasicQuestionGroup`).
|
|
49
49
|
*/
|
|
50
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
|