@magmamath/students-features 1.2.2-rc.4 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -0
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/helpers.js +3 -0
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +40 -8
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ThreadItem.js +51 -13
- package/dist/commonjs/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +1 -4
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +0 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +0 -2
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +0 -2
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +0 -3
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +0 -2
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +0 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +0 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +11 -15
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +0 -2
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +0 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +0 -2
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/commonjs/index.js +0 -8
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js +0 -2
- package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js +0 -2
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/CloseButton.js +0 -2
- package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +0 -2
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -0
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +3 -0
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js +40 -8
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/module/features/chatbot/model/ThreadItem.js +51 -13
- package/dist/module/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -4
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js +0 -2
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -2
- package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -2
- package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +0 -2
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js +0 -2
- package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js +0 -3
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js +0 -2
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +0 -2
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +0 -2
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +0 -2
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +12 -16
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +0 -2
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +0 -2
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +0 -2
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +0 -2
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/components/PlayButton.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +2 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +1 -0
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts +50 -12
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +10 -2
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +5 -2
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts +22 -0
- package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/EmptyComment.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/components/PlayButton.d.ts +0 -1
- package/dist/typescript/commonjs/shared/components/PlayButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +2 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +1 -0
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts +50 -12
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +10 -2
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts +5 -2
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/units.types.d.ts +22 -0
- package/dist/typescript/module/features/chatbot/types/units.types.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/EmptyComment.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/components/PlayButton.d.ts +0 -1
- package/dist/typescript/module/shared/components/PlayButton.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/chatbot/components/Chat/Chat.tsx +1 -2
- package/src/features/chatbot/components/Chat/ChatIcon.tsx +1 -2
- package/src/features/chatbot/components/Chat/CloseButton.tsx +0 -2
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -2
- package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +0 -2
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +2 -3
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +0 -2
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +1 -2
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +0 -2
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +0 -2
- package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +3 -1
- package/src/features/chatbot/helpers.ts +1 -0
- package/src/features/chatbot/model/ChatBotThreadManager.ts +44 -9
- package/src/features/chatbot/model/ThreadItem.ts +68 -19
- package/src/features/chatbot/types/api.types.ts +17 -2
- package/src/features/chatbot/types/model.types.ts +12 -2
- package/src/features/chatbot/types/units.types.ts +26 -0
- package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +1 -3
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +0 -2
- package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +1 -3
- package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +1 -3
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +1 -3
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +1 -6
- package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +1 -6
- package/src/features/endOfAssignment/ui/PracticeButton.tsx +0 -2
- package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +0 -2
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -2
- package/src/features/exampleSolution/components/QuestionSection.tsx +1 -2
- package/src/features/exampleSolution/components/SolutionSection.tsx +1 -5
- package/src/features/feedback/components/EmptyComment.tsx +1 -2
- package/src/features/feedback/components/ListCardCommentsCount.tsx +1 -2
- package/src/features/feedback/components/TeacherFeedbackButton.tsx +0 -3
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +1 -2
- package/src/features/feedback/components/UnreadMessagesBadge.tsx +0 -2
- package/src/features/formulaSheet/components/FormulaSheet.tsx +0 -2
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +1 -2
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +1 -2
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -2
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -5
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +13 -16
- package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +1 -2
- package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -2
- package/src/features/keyboard/components/Keyboard.tsx +0 -2
- package/src/features/keyboard/components/MainLayout/MainLayout.tsx +1 -5
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -2
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +1 -9
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -2
- package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +1 -2
- package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +1 -2
- package/src/features/problemSelector/components/ProblemSelectorButton.tsx +0 -2
- package/src/index.ts +0 -1
- package/src/shared/components/PlayButton.tsx +0 -1
- package/dist/commonjs/config/dataTestIDs.js +0 -57
- package/dist/commonjs/config/dataTestIDs.js.map +0 -1
- package/dist/module/config/dataTestIDs.js +0 -54
- package/dist/module/config/dataTestIDs.js.map +0 -1
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts +0 -52
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts.map +0 -1
- package/dist/typescript/module/config/dataTestIDs.d.ts +0 -52
- package/dist/typescript/module/config/dataTestIDs.d.ts.map +0 -1
- package/src/config/dataTestIDs.ts +0 -56
|
@@ -18,7 +18,6 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
18
18
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
19
19
|
import { getEoaButtonColor } from '../../helpers'
|
|
20
20
|
import { AssessmentScoreCard } from '../AssessmentScoreCard/AssessmentScoreCard'
|
|
21
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
22
21
|
|
|
23
22
|
export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalContentProps) => {
|
|
24
23
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -31,7 +30,6 @@ export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalConten
|
|
|
31
30
|
text: textContent.leftButtonText ?? '',
|
|
32
31
|
colorScheme: getEoaButtonColor(popUpData),
|
|
33
32
|
onPress: () => model.hidePopUpAndLeave(),
|
|
34
|
-
testID: TEST_IDS.EOA_LEAVE_BUTTON as string | undefined,
|
|
35
33
|
},
|
|
36
34
|
]
|
|
37
35
|
|
|
@@ -43,7 +41,6 @@ export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalConten
|
|
|
43
41
|
model.goToFirstProblemPressed()
|
|
44
42
|
model.hidePopUp()
|
|
45
43
|
},
|
|
46
|
-
testID: TEST_IDS.EOA_GO_TO_PROBLEM_ONE_BUTTON,
|
|
47
44
|
})
|
|
48
45
|
return buttons
|
|
49
46
|
}
|
|
@@ -58,7 +55,6 @@ export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalConten
|
|
|
58
55
|
onPracticePress?.()
|
|
59
56
|
model.hidePopUp()
|
|
60
57
|
},
|
|
61
|
-
testID: TEST_IDS.EOA_PRACTICE_BUTTON,
|
|
62
58
|
})
|
|
63
59
|
}
|
|
64
60
|
|
|
@@ -77,7 +73,7 @@ export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalConten
|
|
|
77
73
|
})
|
|
78
74
|
|
|
79
75
|
return (
|
|
80
|
-
<View style={styles.container}
|
|
76
|
+
<View style={styles.container}>
|
|
81
77
|
<View style={styles.textContainer}>
|
|
82
78
|
{!!textContent.title && (
|
|
83
79
|
<Typography variant="h2" style={styles.title}>
|
|
@@ -112,7 +108,6 @@ export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalConten
|
|
|
112
108
|
colorScheme={button.colorScheme}
|
|
113
109
|
style={{ text: { textTransform: 'uppercase' } }}
|
|
114
110
|
onPress={button.onPress}
|
|
115
|
-
testID={button.testID}
|
|
116
111
|
>
|
|
117
112
|
{button.text}
|
|
118
113
|
</Button>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { Button, ButtonColor } from '@magmamath/react-native-ui'
|
|
4
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
5
4
|
|
|
6
5
|
type PracticeButtonProps = {
|
|
7
6
|
onPress: () => void
|
|
@@ -21,7 +20,6 @@ export const PracticeButton = ({
|
|
|
21
20
|
size="large"
|
|
22
21
|
style={{ text: { textTransform: 'uppercase' } }}
|
|
23
22
|
onPress={onPress}
|
|
24
|
-
testID={TEST_IDS.EOA_PRACTICE_BUTTON}
|
|
25
23
|
>
|
|
26
24
|
{text}
|
|
27
25
|
</Button>
|
|
@@ -11,7 +11,6 @@ import Animated, {
|
|
|
11
11
|
import { ButtonVariant, SPACING, Button, ButtonSize, ButtonColor } from '@magmamath/react-native-ui'
|
|
12
12
|
|
|
13
13
|
import { PracticeButton } from './PracticeButton'
|
|
14
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
15
14
|
|
|
16
15
|
type PracticeButtonGroupProps = {
|
|
17
16
|
textContent: { leftButtonText?: string; rightButtonText?: string }
|
|
@@ -51,7 +50,6 @@ export const PracticeButtonGroup = ({
|
|
|
51
50
|
colorScheme={buttonColor}
|
|
52
51
|
style={{ text: { textTransform: 'uppercase' } }}
|
|
53
52
|
onPress={onLeftButtonPress}
|
|
54
|
-
testID={TEST_IDS.EOA_LEAVE_BUTTON}
|
|
55
53
|
>
|
|
56
54
|
{textContent.leftButtonText}
|
|
57
55
|
</Button>
|
|
@@ -7,7 +7,6 @@ import { ExampleSolutionModalParams } from '../types'
|
|
|
7
7
|
import { QuestionSection } from './QuestionSection'
|
|
8
8
|
import { SolutionSection } from './SolutionSection'
|
|
9
9
|
import { useExampleSolution } from '../hooks/useExampleSolution'
|
|
10
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
11
10
|
|
|
12
11
|
type ExampleSolutionModalContentProps = {
|
|
13
12
|
params: ExampleSolutionModalParams
|
|
@@ -23,7 +22,6 @@ export const ExampleSolutionModalContent = ({
|
|
|
23
22
|
|
|
24
23
|
return (
|
|
25
24
|
<View
|
|
26
|
-
testID={TEST_IDS.EXAMPLE_SOLUTION_MODAL}
|
|
27
25
|
style={[
|
|
28
26
|
styles.container,
|
|
29
27
|
IS_WEB ? { maxHeight: CONTAINER_HEIGHT } : { height: CONTAINER_HEIGHT },
|
|
@@ -3,7 +3,6 @@ import React from 'react'
|
|
|
3
3
|
import { COLORS, Loader, LoaderColor, SPACING } from '@magmamath/react-native-ui'
|
|
4
4
|
import Animated, { FadeOut } from 'react-native-reanimated'
|
|
5
5
|
import { ExampleSolutionStatuses } from '../constants'
|
|
6
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
7
6
|
|
|
8
7
|
type QuestionSectionProps = {
|
|
9
8
|
question?: string
|
|
@@ -17,7 +16,7 @@ export const QuestionSection = ({
|
|
|
17
16
|
renderKatexComponent,
|
|
18
17
|
}: QuestionSectionProps) => {
|
|
19
18
|
return (
|
|
20
|
-
<View style={styles.container}
|
|
19
|
+
<View style={styles.container}>
|
|
21
20
|
{question && <View style={styles.katexContainer}>{renderKatexComponent(question)}</View>}
|
|
22
21
|
{status === ExampleSolutionStatuses.LOADING && (
|
|
23
22
|
<Animated.View exiting={FadeOut} style={styles.loaderContainer}>
|
|
@@ -11,7 +11,6 @@ import { COLORS, IS_WEB, SPACING } from '@magmamath/react-native-ui'
|
|
|
11
11
|
import Animated, { FadeIn } from 'react-native-reanimated'
|
|
12
12
|
import { ExampleSolutionStatuses } from '../constants'
|
|
13
13
|
import gridImage from '../assets/grid.webp'
|
|
14
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
15
14
|
|
|
16
15
|
type SolutionSectionProps = {
|
|
17
16
|
answer?: string
|
|
@@ -35,10 +34,7 @@ export const SolutionSection = ({ answer, status }: SolutionSectionProps) => {
|
|
|
35
34
|
(status === ExampleSolutionStatuses.DONE_DATA || status === ExampleSolutionStatuses.CACHE)
|
|
36
35
|
|
|
37
36
|
return (
|
|
38
|
-
<View
|
|
39
|
-
style={[styles.container, IS_WEB && { maxHeight: height - CONTAINER_HEIGHT_OFFSET }]}
|
|
40
|
-
testID={TEST_IDS.EXAMPLE_SOLUTION_SOLUTION_SECTION}
|
|
41
|
-
>
|
|
37
|
+
<View style={[styles.container, IS_WEB && { maxHeight: height - CONTAINER_HEIGHT_OFFSET }]}>
|
|
42
38
|
<ScrollView
|
|
43
39
|
style={styles.solutionScroll}
|
|
44
40
|
contentContainerStyle={styles.solutionScrollContent}
|
|
@@ -3,12 +3,11 @@ import { StyleSheet, Text, View } from 'react-native'
|
|
|
3
3
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
4
|
import { BUENOS_AIRES_FONT } from '../constants'
|
|
5
5
|
import { useText } from '../../../shared/translation'
|
|
6
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
7
6
|
|
|
8
7
|
export const EmptyComment = () => {
|
|
9
8
|
const t = useText()
|
|
10
9
|
return (
|
|
11
|
-
<View style={styles.container}
|
|
10
|
+
<View style={styles.container}>
|
|
12
11
|
<Text style={styles.text}>{t('teacherFeedback.noComments')}</Text>
|
|
13
12
|
</View>
|
|
14
13
|
)
|
|
@@ -3,7 +3,6 @@ import { Text, View, StyleSheet } from 'react-native'
|
|
|
3
3
|
import { MessageBubbleIcon } from '../../../shared/icons/MessageBubbleIcon'
|
|
4
4
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
5
5
|
import { BUENOS_AIRES_FONT } from '../constants'
|
|
6
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
7
6
|
|
|
8
7
|
type ListCardCommentsCountProps = {
|
|
9
8
|
count: number
|
|
@@ -11,7 +10,7 @@ type ListCardCommentsCountProps = {
|
|
|
11
10
|
|
|
12
11
|
export const ListCardCommentsCount = ({ count }: ListCardCommentsCountProps) => {
|
|
13
12
|
return (
|
|
14
|
-
<View style={styles.container}
|
|
13
|
+
<View style={styles.container}>
|
|
15
14
|
<MessageBubbleIcon size={23} color={COLORS.NEUTRAL_7} />
|
|
16
15
|
<Text style={styles.text}>{count}</Text>
|
|
17
16
|
</View>
|
|
@@ -5,7 +5,6 @@ import { UnreadMessagesBadge } from './UnreadMessagesBadge'
|
|
|
5
5
|
import { MessageBubbleIcon } from '../../../shared/icons/MessageBubbleIcon'
|
|
6
6
|
import { XCloseIcon } from '../../../shared/icons/XCloseIcon'
|
|
7
7
|
import { FeedbackButtonSize, TEACHER_FEEDBACK_BUTTON_ID } from '../constants'
|
|
8
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
const ICON_SIZES = {
|
|
11
10
|
[FeedbackButtonSize.LARGE]: 37,
|
|
@@ -37,7 +36,6 @@ export const TeacherFeedbackButton = ({
|
|
|
37
36
|
return (
|
|
38
37
|
<Button
|
|
39
38
|
id={TEACHER_FEEDBACK_BUTTON_ID}
|
|
40
|
-
testID={TEST_IDS.TEACHER_COMMENTS_BUTTON}
|
|
41
39
|
onPress={onPress}
|
|
42
40
|
size="large"
|
|
43
41
|
variant="primary"
|
|
@@ -56,7 +54,6 @@ export const TeacherFeedbackButton = ({
|
|
|
56
54
|
return (
|
|
57
55
|
<Button
|
|
58
56
|
id={TEACHER_FEEDBACK_BUTTON_ID}
|
|
59
|
-
testID={TEST_IDS.TEACHER_COMMENTS_BUTTON}
|
|
60
57
|
onPress={onPress}
|
|
61
58
|
size="large"
|
|
62
59
|
variant="primary"
|
|
@@ -4,7 +4,6 @@ import { COLORS } from '@magmamath/react-native-ui'
|
|
|
4
4
|
import { BUENOS_AIRES_FONT } from '../../constants'
|
|
5
5
|
import { getRelativeTimeText } from '../../../../lib/helpers/helpers'
|
|
6
6
|
import { TeacherComment as TeacherCommentEntity } from '../../types'
|
|
7
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
8
7
|
|
|
9
8
|
type TeacherCommentProps = {
|
|
10
9
|
comment: TeacherCommentEntity
|
|
@@ -13,7 +12,7 @@ type TeacherCommentProps = {
|
|
|
13
12
|
|
|
14
13
|
export const TeacherComment = ({ comment, style }: TeacherCommentProps) => {
|
|
15
14
|
return (
|
|
16
|
-
<View style={style}
|
|
15
|
+
<View style={style}>
|
|
17
16
|
<View style={styles.authorInfo}>
|
|
18
17
|
<Text style={styles.teacherName} numberOfLines={1}>
|
|
19
18
|
{comment.teacherName}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { Text, View, StyleSheet, Platform, StyleProp, ViewStyle, TextStyle } from 'react-native'
|
|
3
3
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
5
4
|
|
|
6
5
|
type UnreadMessagesBadgeProps = {
|
|
7
6
|
badgeContent?: number
|
|
@@ -18,7 +17,6 @@ export const UnreadMessagesBadge = ({
|
|
|
18
17
|
}: UnreadMessagesBadgeProps) => {
|
|
19
18
|
return (
|
|
20
19
|
<View
|
|
21
|
-
testID={TEST_IDS.UNREAD_COMMENTS_BADGE}
|
|
22
20
|
style={[
|
|
23
21
|
styles.container,
|
|
24
22
|
style,
|
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
} from '@magmamath/react-native-ui'
|
|
14
14
|
import { FormulaSheetModel } from '../model/model'
|
|
15
15
|
import { FormulaSheetModal } from './FormulaSheetModal'
|
|
16
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
17
16
|
|
|
18
17
|
type FormulaSheetProps = {
|
|
19
18
|
model: FormulaSheetModel
|
|
@@ -57,7 +56,6 @@ export const FormulaSheet = forwardRef<ButtonRef | null, FormulaSheetProps>(
|
|
|
57
56
|
<>
|
|
58
57
|
<Button
|
|
59
58
|
ref={ref}
|
|
60
|
-
testID={TEST_IDS.FORMULA_SHEET_BUTTON}
|
|
61
59
|
size={buttonSize}
|
|
62
60
|
variant={ButtonVariant.SECONDARY}
|
|
63
61
|
colorScheme={buttonColor}
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
LoaderType,
|
|
11
11
|
SPACING,
|
|
12
12
|
} from '@magmamath/react-native-ui'
|
|
13
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
14
13
|
|
|
15
14
|
type FormulaSheetModalProps = {
|
|
16
15
|
isLoading: boolean
|
|
@@ -40,7 +39,7 @@ export const FormulaSheetModal = ({
|
|
|
40
39
|
<TouchableWithoutFeedback onPress={onClose}>
|
|
41
40
|
<View style={styles.container}>
|
|
42
41
|
<TouchableWithoutFeedback onPress={(event) => event.stopPropagation()}>
|
|
43
|
-
<View
|
|
42
|
+
<View style={styles.content}>
|
|
44
43
|
{isLoading ? (
|
|
45
44
|
<Loader type={LoaderType.PRIMARY} color={loaderColor} size={LoaderSize.LARGE} />
|
|
46
45
|
) : (
|
|
@@ -7,7 +7,6 @@ import { SelectedLayout } from './types'
|
|
|
7
7
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
8
8
|
import { getSelectOptions } from './helpers'
|
|
9
9
|
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
10
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
11
10
|
|
|
12
11
|
export const AlgebraLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => {
|
|
13
12
|
const [selectedLayout, setSelectedLayout] = useState<SelectedLayout>(SelectedLayout.BASIC)
|
|
@@ -32,7 +31,7 @@ export const AlgebraLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayout
|
|
|
32
31
|
const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? []
|
|
33
32
|
|
|
34
33
|
return (
|
|
35
|
-
<View style={styles.container}
|
|
34
|
+
<View style={styles.container}>
|
|
36
35
|
{isDesktop && (
|
|
37
36
|
<SelectGroup
|
|
38
37
|
numOfRows={2}
|
|
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
6
6
|
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
7
7
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
8
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
export const BasicLayout = ({ keys, ...props }: KeyboardLayoutProps & PropsWithChildren) => {
|
|
11
10
|
const keysByLocale = getMainKeyboardGroup(keys, KeyboardType.Basic)
|
|
@@ -19,7 +18,7 @@ export const BasicLayout = ({ keys, ...props }: KeyboardLayoutProps & PropsWithC
|
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
return (
|
|
22
|
-
<View style={styles.container}
|
|
21
|
+
<View style={styles.container}>
|
|
23
22
|
<KeysList keys={keysToShow} numOfRows={2} {...props} />
|
|
24
23
|
{props.children || null}
|
|
25
24
|
</View>
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { View } from 'react-native'
|
|
3
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
4
3
|
import { BasicLayout } from './BasicLayout'
|
|
5
4
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
7
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
8
6
|
|
|
9
7
|
export const CurrencyBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
10
8
|
const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicCurrency)
|
|
11
9
|
|
|
12
10
|
return (
|
|
13
11
|
<BasicLayout keys={keys} {...props}>
|
|
14
|
-
<
|
|
15
|
-
<KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
|
|
16
|
-
</View>
|
|
12
|
+
<KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
|
|
17
13
|
</BasicLayout>
|
|
18
14
|
)
|
|
19
15
|
}
|
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
|
-
import { StyleSheet
|
|
3
|
+
import { StyleSheet } from 'react-native'
|
|
4
4
|
import { BasicLayout } from './BasicLayout'
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
7
7
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
8
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
export const TimeBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
10
|
const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicTime)
|
|
12
11
|
|
|
13
12
|
return (
|
|
14
13
|
<BasicLayout keys={keys} {...props}>
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/>
|
|
28
|
-
</View>
|
|
14
|
+
<KeysList
|
|
15
|
+
keys={keysGroup.keys}
|
|
16
|
+
numOfRows={keysGroup.numOfRows || keysGroup.keys.length}
|
|
17
|
+
style={{
|
|
18
|
+
option: {
|
|
19
|
+
text: styles.text,
|
|
20
|
+
button: styles.button,
|
|
21
|
+
container: styles.container,
|
|
22
|
+
},
|
|
23
|
+
}}
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
29
26
|
</BasicLayout>
|
|
30
27
|
)
|
|
31
28
|
}
|
|
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
6
|
import { MOBILE_LAYOUT_WIDTH } from '../../constants/keyboard.constants'
|
|
7
7
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
8
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
export const BasicPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
10
|
const { width } = useWindowDimensions()
|
|
@@ -17,7 +16,7 @@ export const BasicPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
|
17
16
|
)
|
|
18
17
|
|
|
19
18
|
return (
|
|
20
|
-
<View style={styles.container}
|
|
19
|
+
<View style={styles.container}>
|
|
21
20
|
<KeysList keys={keysGroup.keys} numOfRows={3} {...props} />
|
|
22
21
|
</View>
|
|
23
22
|
)
|
|
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
6
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
7
7
|
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
8
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
export const BasicPlusPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
10
|
const { width } = useWindowDimensions()
|
|
@@ -19,7 +18,7 @@ export const BasicPlusPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) =>
|
|
|
19
18
|
)
|
|
20
19
|
|
|
21
20
|
return (
|
|
22
|
-
<View style={styles.container}
|
|
21
|
+
<View style={styles.container}>
|
|
23
22
|
<KeysList keys={keysGroup.keys} numOfRows={3} {...props} />
|
|
24
23
|
</View>
|
|
25
24
|
)
|
|
@@ -12,7 +12,6 @@ import { isMobileWidth } from '../helpers'
|
|
|
12
12
|
import { KeyboardConfig } from '@magmamath/frontend-config'
|
|
13
13
|
import { KeyboardKey, KeyboardKeyValue } from '../types/types'
|
|
14
14
|
import { resolveKeyboard } from '../constants/keyboard.helpers'
|
|
15
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
16
15
|
|
|
17
16
|
type KeyboardProps = {
|
|
18
17
|
onKeyPress: (key: KeyboardKeyValue) => void
|
|
@@ -57,7 +56,6 @@ export const Keyboard = ({
|
|
|
57
56
|
|
|
58
57
|
return (
|
|
59
58
|
<Animated.View
|
|
60
|
-
testID={TEST_IDS.KEYBOARD}
|
|
61
59
|
style={[
|
|
62
60
|
styles.container,
|
|
63
61
|
style,
|
|
@@ -4,7 +4,6 @@ import { IS_MOBILE, IS_WEB, SelectOptionColor } from '@magmamath/react-native-ui
|
|
|
4
4
|
import { getLayoutByCharType, isBasicPlusPlusLayout } from '../../constants/keyboardLayouts'
|
|
5
5
|
import { UnderlinedLayout } from '../UnderlinedLayout/UnderlinedLayout'
|
|
6
6
|
import { KeyboardKey, KeyboardKeyValue, ResolvedKeyboard } from '../../types/types'
|
|
7
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
8
7
|
|
|
9
8
|
type LayoutProps = {
|
|
10
9
|
keys: ResolvedKeyboard
|
|
@@ -58,10 +57,7 @@ export const MainLayout = ({
|
|
|
58
57
|
}, [showUnderlinedKeys, animateFade])
|
|
59
58
|
|
|
60
59
|
return (
|
|
61
|
-
<View
|
|
62
|
-
style={[styles.container, IS_MOBILE && { flex: 1 }]}
|
|
63
|
-
testID={TEST_IDS.KEYBOARD_MAIN_LAYOUT}
|
|
64
|
-
>
|
|
60
|
+
<View style={[styles.container, IS_MOBILE && { flex: 1 }]}>
|
|
65
61
|
<Layout {...props} onLayoutChange={setIsSecondaryLayoutSelected} />
|
|
66
62
|
{isUnderlinedLayoutVisible && (
|
|
67
63
|
<Animated.View style={{ opacity: fadeAnim }}>
|
|
@@ -5,7 +5,6 @@ import { SPACING } from '@magmamath/react-native-ui'
|
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { useText } from '../../../../shared/translation'
|
|
7
7
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
8
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
8
|
|
|
10
9
|
type NumpadProps = {
|
|
11
10
|
style?: StyleProp<ViewStyle>
|
|
@@ -16,7 +15,7 @@ export const Numpad = ({ style, keys, ...props }: NumpadProps) => {
|
|
|
16
15
|
const keyboardGroup = getMainKeyboardGroup(keys, KeyboardType.Numpad)
|
|
17
16
|
|
|
18
17
|
return (
|
|
19
|
-
<View style={[styles.container, style]}
|
|
18
|
+
<View style={[styles.container, style]}>
|
|
20
19
|
<KeysList keys={keyboardGroup.keys} numOfRows={3} {...props} />
|
|
21
20
|
</View>
|
|
22
21
|
)
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { View } from 'react-native'
|
|
3
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
4
3
|
import { KeyboardLayoutProps, KeyboardType, ResolvedKeyboard } from '../../types/types'
|
|
5
4
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
7
5
|
|
|
8
6
|
type UnderlinedLayoutProps = {
|
|
9
7
|
keys: ResolvedKeyboard
|
|
@@ -15,12 +13,6 @@ export const UnderlinedLayout = ({ keys, ...props }: UnderlinedLayoutProps) => {
|
|
|
15
13
|
const keysToShow = props.showSlashKey ? keysGroup.keys : keysGroup.keys.slice(0, -1)
|
|
16
14
|
|
|
17
15
|
return (
|
|
18
|
-
<
|
|
19
|
-
<KeysList
|
|
20
|
-
keys={keysToShow}
|
|
21
|
-
numOfRows={props.showSlashKey ? 2 : keysToShow.length}
|
|
22
|
-
{...props}
|
|
23
|
-
/>
|
|
24
|
-
</View>
|
|
16
|
+
<KeysList keys={keysToShow} numOfRows={props.showSlashKey ? 2 : keysToShow.length} {...props} />
|
|
25
17
|
)
|
|
26
18
|
}
|
|
@@ -9,7 +9,6 @@ import { useUnitTabs } from './hooks/useUnitTabs'
|
|
|
9
9
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
10
10
|
import { KeyboardUnitsGroupType, SelectedLayout } from './types'
|
|
11
11
|
import { getSelectOptions } from './helpers'
|
|
12
|
-
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
13
12
|
|
|
14
13
|
export const UnitsLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => {
|
|
15
14
|
const { width } = useWindowDimensions()
|
|
@@ -29,7 +28,7 @@ export const UnitsLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutPr
|
|
|
29
28
|
})
|
|
30
29
|
|
|
31
30
|
return (
|
|
32
|
-
<View style={styles.container}
|
|
31
|
+
<View style={styles.container}>
|
|
33
32
|
{isDesktop && (
|
|
34
33
|
<SelectGroup
|
|
35
34
|
numOfRows={2}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { View, StyleSheet, Text } from 'react-native'
|
|
3
3
|
import { SPACING, BORDER_RADIUS, COLORS } from '@magmamath/react-native-ui'
|
|
4
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
5
4
|
|
|
6
5
|
type OEAttemptsLimitProps = {
|
|
7
6
|
text: string
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
export const OpenEndedAttemptsLimit = ({ text }: OEAttemptsLimitProps) => (
|
|
11
|
-
<View
|
|
10
|
+
<View style={styles.container}>
|
|
12
11
|
<Text style={styles.text}>{text}</Text>
|
|
13
12
|
</View>
|
|
14
13
|
)
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
import { getScoreLabelColor } from '../oe.helpers'
|
|
11
11
|
import { OpenEndedScoreLabelVariant } from '../oe.types'
|
|
12
12
|
import { isWeb } from '../../../shared/common.constants'
|
|
13
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
14
13
|
|
|
15
14
|
type OpenEndedScoreLabelProps = {
|
|
16
15
|
label: string
|
|
@@ -37,7 +36,7 @@ export const OpenEndedScoreLabel = ({
|
|
|
37
36
|
score !== null && score >= 10 ? SCORE_WIDTH.LARGE : SCORE_WIDTH.DEFAULT
|
|
38
37
|
|
|
39
38
|
return (
|
|
40
|
-
<View
|
|
39
|
+
<View style={styles.container}>
|
|
41
40
|
<View style={[styles.score, { width: scoreContainerWidth }]}>
|
|
42
41
|
<Typography
|
|
43
42
|
variant={HeadingVariants.H3}
|
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
} from '@magmamath/react-native-ui'
|
|
14
14
|
|
|
15
15
|
import { BADGE_COORDINATES, BUTTON_BORDER_WIDTH, BUTTON_SIZE, COLOR_SCHEME_MAP } from '../constants'
|
|
16
|
-
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
17
16
|
|
|
18
17
|
import { ProblemSelectorButtonProps } from '../types'
|
|
19
18
|
|
|
@@ -29,7 +28,6 @@ export const ProblemSelectorButton = ({
|
|
|
29
28
|
return (
|
|
30
29
|
<View style={styles.wrapper}>
|
|
31
30
|
<Button
|
|
32
|
-
testID={TEST_IDS.PROBLEM_SELECTOR_BUTTON(text)}
|
|
33
31
|
variant={ButtonVariant.PRIMARY}
|
|
34
32
|
size={ButtonSize.MEDIUM}
|
|
35
33
|
customColorScheme={customColorScheme}
|
package/src/index.ts
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TEST_IDS = void 0;
|
|
7
|
-
const TEST_IDS = exports.TEST_IDS = {
|
|
8
|
-
CHAT_GET_A_HINT_BUTTON: 'chat-get-a-hint-button',
|
|
9
|
-
CHAT_NEED_A_HINT_BUTTON: 'chat-need-a-hint-button',
|
|
10
|
-
CHAT_AREA: 'chat-area',
|
|
11
|
-
CHAT_CLOSE_BUTTON: 'chat-close-button',
|
|
12
|
-
CHAT_ICON: 'chat-icon',
|
|
13
|
-
OPEN_CHAT_TEXT_INPUT: 'open-chat-text-input',
|
|
14
|
-
OPEN_CHAT_SEND_MESSAGE_BUTTON: 'open-chat-send-message-button',
|
|
15
|
-
OPEN_CHAT_INPUT_FIELD: 'open-chat-input-field',
|
|
16
|
-
CHAT_MESSAGE_SENT: 'chat-message-sent',
|
|
17
|
-
CHAT_MESSAGE_RECEIVED: 'chat-message-received',
|
|
18
|
-
CHAT_MESSAGE_LOADER: 'chat-message-loader',
|
|
19
|
-
CHAT_TTS_BUTTON: 'chat-tts-button',
|
|
20
|
-
CHAT_ERROR_SPOTTING_BUTTON: 'chat-error-spotting-button',
|
|
21
|
-
EOA_MODAL: 'eoa-modal',
|
|
22
|
-
EOA_MODAL_CLOSE_BUTTON: 'eoa-modal-close-button',
|
|
23
|
-
EOA_WITH_CORRECT_ANSWER: 'eoa-with-correct-answer',
|
|
24
|
-
EOA_WITH_NO_CORRECT_ANSWER: 'eoa-with-no-correct-answer',
|
|
25
|
-
EOA_PRACTICE_BUTTON: 'eoa-practice-button',
|
|
26
|
-
EOA_LEAVE_BUTTON: 'eoa-leave-button',
|
|
27
|
-
EOA_GO_TO_PROBLEM_ONE_BUTTON: 'eoa-go-to-problem-one-button',
|
|
28
|
-
EOA_EXAM: 'eoa-exam',
|
|
29
|
-
EOA_EXAM_PAUSED: 'eoa-exam-paused',
|
|
30
|
-
EOA_EXAM_LEAVE: 'eoa-exam-leave',
|
|
31
|
-
EOA_CHEAT_DETECTED: 'eoa-cheat-detected',
|
|
32
|
-
EXAMPLE_SOLUTION_QUESTION_SECTION: 'example-solution-question-section',
|
|
33
|
-
EXAMPLE_SOLUTION_SOLUTION_SECTION: 'example-solution-solution-section',
|
|
34
|
-
EXAMPLE_SOLUTION_MODAL: 'example-solution-modal',
|
|
35
|
-
FORMULA_SHEET_BUTTON: 'formula-sheet-button',
|
|
36
|
-
FORMULA_SHEET_MODAL: 'formula-sheet-modal',
|
|
37
|
-
KEYBOARD: 'keyboard',
|
|
38
|
-
KEYBOARD_NUMPAD: 'keyboard-numpad',
|
|
39
|
-
KEYBOARD_BASIC_LAYOUT: 'keyboard-basic-layout',
|
|
40
|
-
KEYBOARD_BASIC_PLUS_LAYOUT: 'keyboard-basic-plus-layout',
|
|
41
|
-
KEYBOARD_BASIC_PLUS_PLUS_LAYOUT: 'keyboard-basic-plus-plus-layout',
|
|
42
|
-
KEYBOARD_ALGEBRA_LAYOUT: 'keyboard-algebra-layout',
|
|
43
|
-
KEYBOARD_CURRENCY_KEYS: 'keyboard-currency-keys',
|
|
44
|
-
KEYBOARD_TIME_KEYS: 'keyboard-time-keys',
|
|
45
|
-
KEYBOARD_UNDERLINED_LAYOUT: 'keyboard-underlined-layout',
|
|
46
|
-
KEYBOARD_UNITS_LAYOUT: 'keyboard-units-layout',
|
|
47
|
-
KEYBOARD_MAIN_LAYOUT: 'keyboard-main-layout',
|
|
48
|
-
PROBLEM_SELECTOR_BUTTON: text => `problem-selector-button-${text}`,
|
|
49
|
-
OPEN_ENDED_SCORE_LABEL: 'open-ended-score-label',
|
|
50
|
-
OPEN_ENDED_ATTEMPTS_LIMIT: 'open-ended-attempts-limit',
|
|
51
|
-
TEACHER_COMMENT: 'teacher-comment',
|
|
52
|
-
TEACHER_COMMENTS_BUTTON: 'teacher-comments-button',
|
|
53
|
-
NO_COMMENTS_PLACEHOLDER: 'no-comments-placeholder',
|
|
54
|
-
EXERCISE_CARD_COMMENTS_COUNT: 'exercise-card-comments-count',
|
|
55
|
-
UNREAD_COMMENTS_BADGE: 'unread-comments-badge'
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=dataTestIDs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TEST_IDS","exports","CHAT_GET_A_HINT_BUTTON","CHAT_NEED_A_HINT_BUTTON","CHAT_AREA","CHAT_CLOSE_BUTTON","CHAT_ICON","OPEN_CHAT_TEXT_INPUT","OPEN_CHAT_SEND_MESSAGE_BUTTON","OPEN_CHAT_INPUT_FIELD","CHAT_MESSAGE_SENT","CHAT_MESSAGE_RECEIVED","CHAT_MESSAGE_LOADER","CHAT_TTS_BUTTON","CHAT_ERROR_SPOTTING_BUTTON","EOA_MODAL","EOA_MODAL_CLOSE_BUTTON","EOA_WITH_CORRECT_ANSWER","EOA_WITH_NO_CORRECT_ANSWER","EOA_PRACTICE_BUTTON","EOA_LEAVE_BUTTON","EOA_GO_TO_PROBLEM_ONE_BUTTON","EOA_EXAM","EOA_EXAM_PAUSED","EOA_EXAM_LEAVE","EOA_CHEAT_DETECTED","EXAMPLE_SOLUTION_QUESTION_SECTION","EXAMPLE_SOLUTION_SOLUTION_SECTION","EXAMPLE_SOLUTION_MODAL","FORMULA_SHEET_BUTTON","FORMULA_SHEET_MODAL","KEYBOARD","KEYBOARD_NUMPAD","KEYBOARD_BASIC_LAYOUT","KEYBOARD_BASIC_PLUS_LAYOUT","KEYBOARD_BASIC_PLUS_PLUS_LAYOUT","KEYBOARD_ALGEBRA_LAYOUT","KEYBOARD_CURRENCY_KEYS","KEYBOARD_TIME_KEYS","KEYBOARD_UNDERLINED_LAYOUT","KEYBOARD_UNITS_LAYOUT","KEYBOARD_MAIN_LAYOUT","PROBLEM_SELECTOR_BUTTON","text","OPEN_ENDED_SCORE_LABEL","OPEN_ENDED_ATTEMPTS_LIMIT","TEACHER_COMMENT","TEACHER_COMMENTS_BUTTON","NO_COMMENTS_PLACEHOLDER","EXERCISE_CARD_COMMENTS_COUNT","UNREAD_COMMENTS_BADGE"],"sourceRoot":"../../../src","sources":["config/dataTestIDs.ts"],"mappings":";;;;;;AAAA,MAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG;EACfE,sBAAsB,EAAE,wBAAwB;EAChDC,uBAAuB,EAAE,yBAAyB;EAClDC,SAAS,EAAE,WAAW;EACtBC,iBAAiB,EAAE,mBAAmB;EACtCC,SAAS,EAAE,WAAW;EACtBC,oBAAoB,EAAE,sBAAsB;EAC5CC,6BAA6B,EAAE,+BAA+B;EAC9DC,qBAAqB,EAAE,uBAAuB;EAC9CC,iBAAiB,EAAE,mBAAmB;EACtCC,qBAAqB,EAAE,uBAAuB;EAC9CC,mBAAmB,EAAE,qBAAqB;EAC1CC,eAAe,EAAE,iBAAiB;EAClCC,0BAA0B,EAAE,4BAA4B;EAExDC,SAAS,EAAE,WAAW;EACtBC,sBAAsB,EAAE,wBAAwB;EAChDC,uBAAuB,EAAE,yBAAyB;EAClDC,0BAA0B,EAAE,4BAA4B;EACxDC,mBAAmB,EAAE,qBAAqB;EAC1CC,gBAAgB,EAAE,kBAAkB;EACpCC,4BAA4B,EAAE,8BAA8B;EAC5DC,QAAQ,EAAE,UAAU;EACpBC,eAAe,EAAE,iBAAiB;EAClCC,cAAc,EAAE,gBAAgB;EAChCC,kBAAkB,EAAE,oBAAoB;EAExCC,iCAAiC,EAAE,mCAAmC;EACtEC,iCAAiC,EAAE,mCAAmC;EACtEC,sBAAsB,EAAE,wBAAwB;EAChDC,oBAAoB,EAAE,sBAAsB;EAC5CC,mBAAmB,EAAE,qBAAqB;EAE1CC,QAAQ,EAAE,UAAU;EACpBC,eAAe,EAAE,iBAAiB;EAClCC,qBAAqB,EAAE,uBAAuB;EAC9CC,0BAA0B,EAAE,4BAA4B;EACxDC,+BAA+B,EAAE,iCAAiC;EAClEC,uBAAuB,EAAE,yBAAyB;EAClDC,sBAAsB,EAAE,wBAAwB;EAChDC,kBAAkB,EAAE,oBAAoB;EACxCC,0BAA0B,EAAE,4BAA4B;EACxDC,qBAAqB,EAAE,uBAAuB;EAC9CC,oBAAoB,EAAE,sBAAsB;EAE5CC,uBAAuB,EAAGC,IAAY,IAAK,2BAA2BA,IAAI,EAAE;EAC5EC,sBAAsB,EAAE,wBAAwB;EAChDC,yBAAyB,EAAE,2BAA2B;EACtDC,eAAe,EAAE,iBAAiB;EAClCC,uBAAuB,EAAE,yBAAyB;EAClDC,uBAAuB,EAAE,yBAAyB;EAClDC,4BAA4B,EAAE,8BAA8B;EAC5DC,qBAAqB,EAAE;AACzB,CAAU","ignoreList":[]}
|