@magmamath/students-features 1.2.2-rc.2 → 1.2.2-rc.4
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/config/dataTestIDs.js +43 -7
- package/dist/commonjs/config/dataTestIDs.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +2 -0
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +2 -0
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +3 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -0
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +2 -0
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +2 -0
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +3 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +2 -0
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +2 -0
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -0
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +3 -0
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +2 -0
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +3 -0
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +3 -0
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +3 -0
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +4 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -3
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +2 -0
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -0
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +2 -0
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +2 -0
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -0
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +2 -0
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +2 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +2 -0
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js +0 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js.map +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +9 -4
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +15 -11
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +2 -0
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -0
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +9 -4
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -0
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
- package/dist/module/config/dataTestIDs.js +43 -7
- package/dist/module/config/dataTestIDs.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js +2 -0
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/CloseButton.js +2 -0
- package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +3 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -0
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +2 -0
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +2 -0
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +3 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +2 -0
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +2 -0
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -0
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +3 -0
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +2 -0
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +3 -0
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +3 -0
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +3 -0
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +4 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -3
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js +2 -0
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -0
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js +2 -0
- package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js +2 -0
- package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +2 -0
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js +2 -0
- package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js +2 -2
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +2 -0
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js +0 -2
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js.map +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +2 -0
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +2 -0
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +9 -4
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +16 -12
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +2 -0
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -0
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +2 -0
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +2 -0
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +2 -0
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +9 -4
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -0
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/shared/components/PlayButton.js.map +1 -1
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts +43 -7
- package/dist/typescript/commonjs/config/dataTestIDs.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/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/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/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/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/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.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/shared/components/PlayButton.d.ts +1 -0
- package/dist/typescript/commonjs/shared/components/PlayButton.d.ts.map +1 -1
- package/dist/typescript/module/config/dataTestIDs.d.ts +43 -7
- package/dist/typescript/module/config/dataTestIDs.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/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/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/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/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/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.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/shared/components/PlayButton.d.ts +1 -0
- package/dist/typescript/module/shared/components/PlayButton.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/config/dataTestIDs.ts +47 -7
- package/src/features/chatbot/components/Chat/Chat.tsx +1 -1
- package/src/features/chatbot/components/Chat/ChatIcon.tsx +2 -1
- package/src/features/chatbot/components/Chat/CloseButton.tsx +2 -0
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +1 -1
- package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +2 -0
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +2 -1
- package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +2 -0
- package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +1 -1
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +3 -2
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +2 -0
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +2 -1
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +2 -0
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +2 -0
- package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +3 -1
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +2 -0
- package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +3 -1
- package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +3 -1
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +3 -1
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +6 -1
- package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +6 -1
- package/src/features/endOfAssignment/ui/PracticeButton.tsx +2 -0
- package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +2 -0
- package/src/features/exampleSolution/components/QuestionSection.tsx +2 -1
- package/src/features/exampleSolution/components/SolutionSection.tsx +5 -1
- package/src/features/feedback/components/EmptyComment.tsx +2 -1
- package/src/features/feedback/components/ListCardCommentsCount.tsx +2 -1
- package/src/features/feedback/components/TeacherFeedbackButton.tsx +2 -2
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +2 -1
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.tsx +1 -5
- package/src/features/feedback/components/UnreadMessagesBadge.tsx +1 -1
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +2 -1
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +2 -1
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +5 -1
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +16 -13
- package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +2 -1
- package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +2 -1
- package/src/features/keyboard/components/Keyboard.tsx +2 -0
- package/src/features/keyboard/components/MainLayout/MainLayout.tsx +5 -1
- package/src/features/keyboard/components/Numpad/Numpad.tsx +2 -1
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +9 -1
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +2 -1
- package/src/shared/components/PlayButton.tsx +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAIL,SAAS,EAET,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAIL,SAAS,EAET,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAyBrB,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,SAAS,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC9B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAChC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACpD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC,CAAA;QACrD,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;QAC7B,WAAW,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KACnC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,KAAK,2EAOf,UAAU,6BAqCZ,CAAA"}
|
package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoAnswer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"NoAnswer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAQlD,eAAO,MAAM,QAAQ,4CAA6C,oBAAoB,sBAoGrF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PracticeButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAU,WAAW,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"PracticeButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAU,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGhE,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,oCAIxB,mBAAmB,sBAarB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PracticeButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,OAAO,EAA8C,WAAW,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"PracticeButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,OAAO,EAA8C,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAKpG,KAAK,wBAAwB,GAAG;IAC9B,WAAW,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClE,uBAAuB,EAAE,OAAO,CAAA;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAID,eAAO,MAAM,mBAAmB,kGAM7B,wBAAwB,sBAkC1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/QuestionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"QuestionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/QuestionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAGtD,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,uBAAuB,CAAA;IAC/B,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;CAC/D,CAAA;AAED,eAAO,MAAM,eAAe,gDAIzB,oBAAoB,sBAWtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolutionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/SolutionSection.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"SolutionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/SolutionSection.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAItD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAA;AAWD,eAAO,MAAM,eAAe,uBAAwB,oBAAoB,sBAoDvE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyComment.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/EmptyComment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"EmptyComment.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/EmptyComment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,eAAO,MAAM,YAAY,yBAOxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListCardCommentsCount.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/ListCardCommentsCount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ListCardCommentsCount.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/ListCardCommentsCount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,KAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,qBAAqB,cAAe,0BAA0B,sBAO1E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeacherComment.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA0B,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI3E,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"TeacherComment.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA0B,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI3E,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGpE,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,oBAAoB,CAAA;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,cAAc,uBAAwB,mBAAmB,sBAkBrE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeacherFeedbackComments.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"TeacherFeedbackComments.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEhE,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAQpE,KAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,oBAAoB,EAAE,CAAA;IAChC,IAAI,EAAE,YAAY,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,uBAAuB,mCAGjC,4BAA4B,sBA8B9B,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlgebraLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"AlgebraLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAOrE,eAAO,MAAM,aAAa,uCAAwC,mBAAmB,sBA0CpF,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/BasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"BasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/BasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGhD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAMrE,eAAO,MAAM,WAAW,uBAAwB,mBAAmB,GAAG,iBAAiB,6BAiBtF,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencyBasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CurrencyBasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,eAAO,MAAM,mBAAmB,uBAAwB,mBAAmB,sBAU1E,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeBasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"TimeBasicLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAKrE,eAAO,MAAM,eAAe,uBAAwB,mBAAmB,sBAqBtE,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicPlusLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"BasicPlusLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAMrE,eAAO,MAAM,eAAe,uBAAwB,mBAAmB,sBActE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicPlusPlusLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"BasicPlusPlusLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAMrE,eAAO,MAAM,mBAAmB,uBAAwB,mBAAmB,sBAgB1E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/components/Keyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAA;AACzD,OAAO,EAAY,SAAS,EAAmC,SAAS,EAAE,MAAM,cAAc,CAAA;AAC9F,OAAO,EAA6B,iBAAiB,EAAW,MAAM,4BAA4B,CAAA;AASlG,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/components/Keyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAA;AACzD,OAAO,EAAY,SAAS,EAAmC,SAAS,EAAE,MAAM,cAAc,CAAA;AAC9F,OAAO,EAA6B,iBAAiB,EAAW,MAAM,4BAA4B,CAAA;AASlG,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAI9D,KAAK,aAAa,GAAG;IACnB,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,IAAI,EAAE,cAAc,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,QAAQ,6DAKlB,aAAa,sBA4Cf,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAEhF,OAAO,EAAqB,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAGjF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAEhF,OAAO,EAAqB,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAGjF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAGnF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,gBAAgB,CAAA;IACtB,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,UAAU,oDAIpB,WAAW,sBAiDb,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Numpad.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/Numpad/Numpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"Numpad.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/Numpad/Numpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAKrE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,MAAM,8BAA+B,WAAW,sBAS5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,mBAAmB,EAAgB,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAIvF,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,gBAAgB,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,gBAAgB,uBAAwB,qBAAqB,sBAazE,CAAA"}
|
package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitsLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"UnitsLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAQrE,eAAO,MAAM,WAAW,uCAAwC,mBAAmB,sBAgDlF,CAAA"}
|
|
@@ -12,6 +12,7 @@ type MessageTextToSpeechProps = {
|
|
|
12
12
|
activityIndicatorColor?: string;
|
|
13
13
|
colorScheme?: ColorScheme;
|
|
14
14
|
onPress?: () => void;
|
|
15
|
+
testID?: string;
|
|
15
16
|
};
|
|
16
17
|
export declare const PlayButton: ({ state: { status, disabled, isActive, isLoading }, colorScheme, onPress, activityIndicatorColor, ...props }: MessageTextToSpeechProps) => React.JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayButton.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/PlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAA;AAkCtE,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE;QACL,MAAM,CAAC,EAAE,WAAW,CAAA;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;IACD,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"PlayButton.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/PlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAA;AAkCtE,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE;QACL,MAAM,CAAC,EAAE,WAAW,CAAA;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;IACD,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,UAAU,iHAMpB,wBAAwB,sBAqB1B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,56 @@
|
|
|
1
1
|
const TEST_IDS = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
CHAT_GET_A_HINT_BUTTON: 'chat-get-a-hint-button',
|
|
3
|
+
CHAT_NEED_A_HINT_BUTTON: 'chat-need-a-hint-button',
|
|
4
|
+
CHAT_AREA: 'chat-area',
|
|
5
|
+
CHAT_CLOSE_BUTTON: 'chat-close-button',
|
|
6
|
+
CHAT_ICON: 'chat-icon',
|
|
7
|
+
OPEN_CHAT_TEXT_INPUT: 'open-chat-text-input',
|
|
8
|
+
OPEN_CHAT_SEND_MESSAGE_BUTTON: 'open-chat-send-message-button',
|
|
9
|
+
OPEN_CHAT_INPUT_FIELD: 'open-chat-input-field',
|
|
10
|
+
CHAT_MESSAGE_SENT: 'chat-message-sent',
|
|
11
|
+
CHAT_MESSAGE_RECEIVED: 'chat-message-received',
|
|
12
|
+
CHAT_MESSAGE_LOADER: 'chat-message-loader',
|
|
13
|
+
CHAT_TTS_BUTTON: 'chat-tts-button',
|
|
14
|
+
CHAT_ERROR_SPOTTING_BUTTON: 'chat-error-spotting-button',
|
|
15
|
+
|
|
16
|
+
EOA_MODAL: 'eoa-modal',
|
|
17
|
+
EOA_MODAL_CLOSE_BUTTON: 'eoa-modal-close-button',
|
|
18
|
+
EOA_WITH_CORRECT_ANSWER: 'eoa-with-correct-answer',
|
|
19
|
+
EOA_WITH_NO_CORRECT_ANSWER: 'eoa-with-no-correct-answer',
|
|
20
|
+
EOA_PRACTICE_BUTTON: 'eoa-practice-button',
|
|
21
|
+
EOA_LEAVE_BUTTON: 'eoa-leave-button',
|
|
22
|
+
EOA_GO_TO_PROBLEM_ONE_BUTTON: 'eoa-go-to-problem-one-button',
|
|
23
|
+
EOA_EXAM: 'eoa-exam',
|
|
24
|
+
EOA_EXAM_PAUSED: 'eoa-exam-paused',
|
|
25
|
+
EOA_EXAM_LEAVE: 'eoa-exam-leave',
|
|
26
|
+
EOA_CHEAT_DETECTED: 'eoa-cheat-detected',
|
|
27
|
+
|
|
28
|
+
EXAMPLE_SOLUTION_QUESTION_SECTION: 'example-solution-question-section',
|
|
29
|
+
EXAMPLE_SOLUTION_SOLUTION_SECTION: 'example-solution-solution-section',
|
|
30
|
+
EXAMPLE_SOLUTION_MODAL: 'example-solution-modal',
|
|
5
31
|
FORMULA_SHEET_BUTTON: 'formula-sheet-button',
|
|
6
32
|
FORMULA_SHEET_MODAL: 'formula-sheet-modal',
|
|
7
|
-
|
|
33
|
+
|
|
34
|
+
KEYBOARD: 'keyboard',
|
|
35
|
+
KEYBOARD_NUMPAD: 'keyboard-numpad',
|
|
36
|
+
KEYBOARD_BASIC_LAYOUT: 'keyboard-basic-layout',
|
|
37
|
+
KEYBOARD_BASIC_PLUS_LAYOUT: 'keyboard-basic-plus-layout',
|
|
38
|
+
KEYBOARD_BASIC_PLUS_PLUS_LAYOUT: 'keyboard-basic-plus-plus-layout',
|
|
39
|
+
KEYBOARD_ALGEBRA_LAYOUT: 'keyboard-algebra-layout',
|
|
40
|
+
KEYBOARD_CURRENCY_KEYS: 'keyboard-currency-keys',
|
|
41
|
+
KEYBOARD_TIME_KEYS: 'keyboard-time-keys',
|
|
42
|
+
KEYBOARD_UNDERLINED_LAYOUT: 'keyboard-underlined-layout',
|
|
43
|
+
KEYBOARD_UNITS_LAYOUT: 'keyboard-units-layout',
|
|
44
|
+
KEYBOARD_MAIN_LAYOUT: 'keyboard-main-layout',
|
|
45
|
+
|
|
8
46
|
PROBLEM_SELECTOR_BUTTON: (text: string) => `problem-selector-button-${text}`,
|
|
9
47
|
OPEN_ENDED_SCORE_LABEL: 'open-ended-score-label',
|
|
10
48
|
OPEN_ENDED_ATTEMPTS_LIMIT: 'open-ended-attempts-limit',
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
49
|
+
TEACHER_COMMENT: 'teacher-comment',
|
|
50
|
+
TEACHER_COMMENTS_BUTTON: 'teacher-comments-button',
|
|
51
|
+
NO_COMMENTS_PLACEHOLDER: 'no-comments-placeholder',
|
|
52
|
+
EXERCISE_CARD_COMMENTS_COUNT: 'exercise-card-comments-count',
|
|
53
|
+
UNREAD_COMMENTS_BADGE: 'unread-comments-badge',
|
|
14
54
|
} as const
|
|
15
55
|
|
|
16
56
|
export { TEST_IDS }
|
|
@@ -116,7 +116,7 @@ export const Chat = ({
|
|
|
116
116
|
if (!isOpen) return null
|
|
117
117
|
|
|
118
118
|
return (
|
|
119
|
-
<View testID={TEST_IDS.
|
|
119
|
+
<View testID={TEST_IDS.CHAT_AREA} style={[styles.container, { maxHeight }]}>
|
|
120
120
|
<View style={styles.listWrapper}>
|
|
121
121
|
<FlatList
|
|
122
122
|
ref={listRef}
|
|
@@ -5,13 +5,14 @@ import { IS_WEB } from '@magmamath/react-native-ui'
|
|
|
5
5
|
import { ChatbotIcon } from '../../../../shared/icons/ChatbotIcon'
|
|
6
6
|
import { LavaIconInGlasses } from '../../../../shared/icons/LavaIconInGlasses'
|
|
7
7
|
import { CHATBOT_ICON_SIZE } from '../../constants'
|
|
8
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
8
9
|
|
|
9
10
|
type ChatIconProps = {
|
|
10
11
|
isLoading: boolean
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export const ChatIcon = ({ isLoading }: ChatIconProps) => (
|
|
14
|
-
<View style={styles.container}>
|
|
15
|
+
<View style={styles.container} testID={TEST_IDS.CHAT_ICON}>
|
|
15
16
|
{isLoading ? (
|
|
16
17
|
<LavaIconInGlasses width={CHATBOT_ICON_SIZE.width} height={CHATBOT_ICON_SIZE.height} />
|
|
17
18
|
) : (
|
|
@@ -2,6 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { StyleSheet } from 'react-native'
|
|
3
3
|
import { Button, ButtonColor, ButtonSize, ButtonVariant, COLORS } from '@magmamath/react-native-ui'
|
|
4
4
|
import { CloseIcon } from '../../../../shared/icons/CloseIcon'
|
|
5
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
5
6
|
|
|
6
7
|
type CloseButtonProps = {
|
|
7
8
|
onPress?: () => void
|
|
@@ -15,6 +16,7 @@ export const CloseButton = ({ onPress }: CloseButtonProps) => (
|
|
|
15
16
|
size={ButtonSize.MEDIUM}
|
|
16
17
|
colorScheme={ButtonColor.WHITE}
|
|
17
18
|
raiseLevel={5}
|
|
19
|
+
testID={TEST_IDS.CHAT_CLOSE_BUTTON}
|
|
18
20
|
>
|
|
19
21
|
<CloseIcon width={18} height={18} />
|
|
20
22
|
</Button>
|
|
@@ -44,7 +44,7 @@ export const ChatControls = ({
|
|
|
44
44
|
raiseLevel={3}
|
|
45
45
|
onPress={onPressHelpButton}
|
|
46
46
|
style={{ text: styles.helpButtonText }}
|
|
47
|
-
testID={TEST_IDS.
|
|
47
|
+
testID={TEST_IDS.CHAT_GET_A_HINT_BUTTON}
|
|
48
48
|
>
|
|
49
49
|
{(isTranslated && getHint.translatedText) || getHint.text}
|
|
50
50
|
</Button>
|
|
@@ -14,6 +14,7 @@ import { useKeyBoard } from '../../../../../shared/hooks/useKeyboard'
|
|
|
14
14
|
import { KeyboardKeys } from '../../../../../lib/constants'
|
|
15
15
|
|
|
16
16
|
import { SendMessageButton } from './SendMessageButton'
|
|
17
|
+
import { TEST_IDS } from '../../../../../config/dataTestIDs'
|
|
17
18
|
|
|
18
19
|
const MAX_AVAILABLE_MESSAGE_LENGTH = 500
|
|
19
20
|
const COMPACT_WIDTH = 134
|
|
@@ -110,6 +111,7 @@ export const ChatTextInput = ({
|
|
|
110
111
|
placeholder={placeholder}
|
|
111
112
|
placeholderTextColor={COLORS.NEUTRAL_5}
|
|
112
113
|
style={styles.input}
|
|
114
|
+
testID={TEST_IDS.OPEN_CHAT_TEXT_INPUT}
|
|
113
115
|
/>
|
|
114
116
|
<SendMessageButton
|
|
115
117
|
onPress={handleSendMessage}
|
|
@@ -6,6 +6,7 @@ import { HintButtonVariant, RequestHintButton } from '../RequestHintButton'
|
|
|
6
6
|
import { useChatModel } from '../../../context/ChatBotModelContext'
|
|
7
7
|
import { t } from '../../../../../shared/translation'
|
|
8
8
|
import { ChatTextInput } from './ChatTextInput'
|
|
9
|
+
import { TEST_IDS } from '../../../../../config/dataTestIDs'
|
|
9
10
|
|
|
10
11
|
type FreeTextInputBlockProps = {
|
|
11
12
|
optionLabel: string
|
|
@@ -38,7 +39,7 @@ export const FreeTextInputBlock = ({
|
|
|
38
39
|
const handleOnChangeText = (text: string) => model.textInput.setValue(text)
|
|
39
40
|
|
|
40
41
|
return (
|
|
41
|
-
<View style={styles.container}>
|
|
42
|
+
<View style={styles.container} testID={TEST_IDS.OPEN_CHAT_INPUT_FIELD}>
|
|
42
43
|
<ChatTextInput
|
|
43
44
|
value={inputValue}
|
|
44
45
|
onSubmit={handleOnSubmit}
|
|
@@ -9,6 +9,7 @@ import Animated, {
|
|
|
9
9
|
import { ArrowUpIcon, COLORS, IS_MOBILE } from '@magmamath/react-native-ui'
|
|
10
10
|
import { ColorScheme } from '@magmamath/students-features'
|
|
11
11
|
import { MESSAGE_COLORS_MAP } from '../../../constants'
|
|
12
|
+
import { TEST_IDS } from '../../../../../config/dataTestIDs'
|
|
12
13
|
|
|
13
14
|
type SendMessageButtonProps = {
|
|
14
15
|
onPress: () => void
|
|
@@ -54,6 +55,7 @@ export const SendMessageButton = ({
|
|
|
54
55
|
disabled={disabled}
|
|
55
56
|
accessibilityState={{ disabled }}
|
|
56
57
|
accessibilityRole="button"
|
|
58
|
+
testID={TEST_IDS.OPEN_CHAT_SEND_MESSAGE_BUTTON}
|
|
57
59
|
>
|
|
58
60
|
{IS_MOBILE ? (
|
|
59
61
|
<Animated.View
|
|
@@ -104,7 +104,7 @@ export const RequestHintButton = memo(
|
|
|
104
104
|
disabled={disabled}
|
|
105
105
|
accessibilityState={{ disabled }}
|
|
106
106
|
accessibilityRole="button"
|
|
107
|
-
testID={TEST_IDS.
|
|
107
|
+
testID={TEST_IDS.CHAT_NEED_A_HINT_BUTTON}
|
|
108
108
|
>
|
|
109
109
|
<Animated.View style={[styles.content, animatedTextContainerStyle]}>
|
|
110
110
|
<Animated.Text numberOfLines={1} style={[styles.text, animatedTextStyle, { fontSize }]}>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
3
|
import { BORDER_RADIUS, COLORS, Loader, LoaderColor } from '@magmamath/react-native-ui'
|
|
4
4
|
import { SPACING } from '@magmamath/react-native-ui'
|
|
5
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
5
6
|
|
|
6
7
|
type MessageLoaderProps = {
|
|
7
8
|
isLoading?: boolean
|
|
@@ -11,7 +12,7 @@ export const MessageLoader = ({ isLoading }: MessageLoaderProps) => {
|
|
|
11
12
|
if (!isLoading) return null
|
|
12
13
|
|
|
13
14
|
return (
|
|
14
|
-
<View style={styles.loader}>
|
|
15
|
+
<View style={styles.loader} testID={TEST_IDS.CHAT_MESSAGE_LOADER}>
|
|
15
16
|
<Loader color={LoaderColor.GRAY} />
|
|
16
17
|
</View>
|
|
17
18
|
)
|
|
@@ -6,6 +6,7 @@ import { ConversationMessage } from '../../types/units.types'
|
|
|
6
6
|
import { MessageVariant } from '../../types/model.types'
|
|
7
7
|
import { ColorScheme } from '../../types/style.types'
|
|
8
8
|
import { MESSAGE_COLORS_MAP } from '../../constants'
|
|
9
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
9
10
|
|
|
10
11
|
type MessageTextToSpeechProps = {
|
|
11
12
|
state: T2SState
|
|
@@ -34,6 +35,7 @@ export const MessageTextToSpeech = ({
|
|
|
34
35
|
colorScheme={MESSAGE_COLORS_MAP[colorScheme][variant].icon}
|
|
35
36
|
state={state}
|
|
36
37
|
onPress={play}
|
|
38
|
+
testID={TEST_IDS.CHAT_TTS_BUTTON}
|
|
37
39
|
/>
|
|
38
40
|
)
|
|
39
41
|
}
|
|
@@ -7,6 +7,7 @@ import { ColorScheme } from '../../types/style.types'
|
|
|
7
7
|
import { MessageVariant } from '../../types/model.types'
|
|
8
8
|
import { VariantProps } from './ChatMessage'
|
|
9
9
|
import { MessageContent } from './MessageContent'
|
|
10
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
10
11
|
|
|
11
12
|
export const ReceivedMessage = ({
|
|
12
13
|
message,
|
|
@@ -21,7 +22,7 @@ export const ReceivedMessage = ({
|
|
|
21
22
|
const text = isTranslated ? message.translatedMessage : message.message
|
|
22
23
|
|
|
23
24
|
return (
|
|
24
|
-
<View style={styles.container}>
|
|
25
|
+
<View style={styles.container} testID={TEST_IDS.CHAT_MESSAGE_RECEIVED}>
|
|
25
26
|
<View style={[styles.iconWrapper, { opacity: withIcon ? 1 : 0 }]}>
|
|
26
27
|
<ChatbotIcon width={CHATBOT_ICON_SIZE.width} height={CHATBOT_ICON_SIZE.height} />
|
|
27
28
|
</View>
|
|
@@ -7,6 +7,7 @@ import { VariantProps } from './ChatMessage'
|
|
|
7
7
|
import { MESSAGE_COLORS_MAP } from '../../constants'
|
|
8
8
|
import { ColorScheme } from '../../types/style.types'
|
|
9
9
|
import { MessageVariant } from '../../types/model.types'
|
|
10
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
10
11
|
|
|
11
12
|
export const SentMessage = React.memo(
|
|
12
13
|
({ message, isTranslated, colorScheme = ColorScheme.Blue }: VariantProps) => {
|
|
@@ -14,6 +15,7 @@ export const SentMessage = React.memo(
|
|
|
14
15
|
|
|
15
16
|
return (
|
|
16
17
|
<View
|
|
18
|
+
testID={TEST_IDS.CHAT_MESSAGE_SENT}
|
|
17
19
|
style={[
|
|
18
20
|
styles.container,
|
|
19
21
|
{ backgroundColor: MESSAGE_COLORS_MAP[colorScheme][MessageVariant.SENT].background },
|
|
@@ -6,6 +6,7 @@ import { StyleSheet } from 'react-native'
|
|
|
6
6
|
import { HighlighterIcon } from '../../../shared/icons/HighlighterIcon'
|
|
7
7
|
import { ConversationMessage } from '../types/units.types'
|
|
8
8
|
import { useText } from '../../../shared/translation'
|
|
9
|
+
import { TEST_IDS } from '../../../config/dataTestIDs'
|
|
9
10
|
|
|
10
11
|
type ErrorSpottingButtonProps = {
|
|
11
12
|
contextMessage: ConversationMessage
|
|
@@ -32,6 +33,7 @@ export const ErrorSpottingButton = ({ contextMessage }: ErrorSpottingButtonProps
|
|
|
32
33
|
variant={'secondary'}
|
|
33
34
|
colorScheme={'blue'}
|
|
34
35
|
size={'small'}
|
|
36
|
+
testID={TEST_IDS.CHAT_ERROR_SPOTTING_BUTTON}
|
|
35
37
|
onPress={() => {
|
|
36
38
|
model.errorSpotting.errorSpottingPressed({ message: contextMessage })
|
|
37
39
|
}}
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
import { EOAModalContentProps } from '../../types'
|
|
14
14
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
16
17
|
|
|
17
18
|
export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
|
|
18
19
|
useKeyBoard({
|
|
@@ -24,7 +25,7 @@ export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
24
25
|
})
|
|
25
26
|
|
|
26
27
|
return (
|
|
27
|
-
<View style={styles.container}>
|
|
28
|
+
<View style={styles.container} testID={TEST_IDS.EOA_CHEAT_DETECTED}>
|
|
28
29
|
<Typography variant="h2" style={styles.title}>
|
|
29
30
|
{textContent.title}
|
|
30
31
|
</Typography>
|
|
@@ -39,6 +40,7 @@ export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
39
40
|
size={ButtonSize.LARGE}
|
|
40
41
|
style={{ text: styles.buttonText }}
|
|
41
42
|
onPress={model.hidePopUpAndLeave}
|
|
43
|
+
testID={TEST_IDS.EOA_LEAVE_BUTTON}
|
|
42
44
|
>
|
|
43
45
|
{textContent.leftButtonText}
|
|
44
46
|
</Button>
|
|
@@ -12,6 +12,7 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
12
12
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
13
13
|
import { getEoaButtonColor } from '../../helpers'
|
|
14
14
|
import { AssessmentScoreCard } from '../AssessmentScoreCard/AssessmentScoreCard'
|
|
15
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
15
16
|
|
|
16
17
|
export const CorrectAnswer = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
|
|
17
18
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -59,6 +60,7 @@ export const CorrectAnswer = ({ textContent, model, onPracticePress }: EOAModalC
|
|
|
59
60
|
|
|
60
61
|
return (
|
|
61
62
|
<View
|
|
63
|
+
testID={TEST_IDS.EOA_WITH_CORRECT_ANSWER}
|
|
62
64
|
style={[
|
|
63
65
|
styles.wrapper,
|
|
64
66
|
modalVariant !== EOAModalVariant.HAS_GOOD_DRAWING && { alignItems: 'center' },
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
import { EOAModalContentProps } from '../../types'
|
|
14
14
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
16
17
|
|
|
17
18
|
export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
|
|
18
19
|
const handleDismiss = () => model.hidePopUp()
|
|
@@ -26,7 +27,7 @@ export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
26
27
|
})
|
|
27
28
|
|
|
28
29
|
return (
|
|
29
|
-
<View style={styles.container}>
|
|
30
|
+
<View style={styles.container} testID={TEST_IDS.EOA_EXAM_LEAVE}>
|
|
30
31
|
<Typography variant="h1" style={styles.description}>
|
|
31
32
|
{textContent.description}
|
|
32
33
|
</Typography>
|
|
@@ -47,6 +48,7 @@ export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
47
48
|
size={ButtonSize.LARGE}
|
|
48
49
|
style={{ text: styles.buttonText }}
|
|
49
50
|
onPress={model.hidePopUpAndLeave}
|
|
51
|
+
testID={TEST_IDS.EOA_LEAVE_BUTTON}
|
|
50
52
|
>
|
|
51
53
|
{textContent.rightButtonText}
|
|
52
54
|
</Button>
|
|
@@ -15,6 +15,7 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
16
|
import { getEoaButtonColor } from '../../helpers'
|
|
17
17
|
import { useUnit } from 'effector-react'
|
|
18
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
18
19
|
|
|
19
20
|
export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
|
|
20
21
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -28,7 +29,7 @@ export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
28
29
|
})
|
|
29
30
|
|
|
30
31
|
return (
|
|
31
|
-
<View style={styles.container}>
|
|
32
|
+
<View style={styles.container} testID={TEST_IDS.EOA_EXAM_PAUSED}>
|
|
32
33
|
<Typography variant="h2" style={styles.title}>
|
|
33
34
|
{textContent.title}
|
|
34
35
|
</Typography>
|
|
@@ -43,6 +44,7 @@ export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
|
|
|
43
44
|
size={ButtonSize.LARGE}
|
|
44
45
|
style={{ text: styles.buttonText }}
|
|
45
46
|
onPress={model.hidePopUpAndLeave}
|
|
47
|
+
testID={TEST_IDS.EOA_LEAVE_BUTTON}
|
|
46
48
|
>
|
|
47
49
|
{textContent.leftButtonText}
|
|
48
50
|
</Button>
|
|
@@ -18,6 +18,7 @@ import { PracticeButton } from '../../ui/PracticeButton'
|
|
|
18
18
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
19
19
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
20
20
|
import { getEoaButtonColor } from '../../helpers'
|
|
21
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
21
22
|
|
|
22
23
|
export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
|
|
23
24
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -41,7 +42,7 @@ export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalCont
|
|
|
41
42
|
})
|
|
42
43
|
|
|
43
44
|
return (
|
|
44
|
-
<View style={styles.container}>
|
|
45
|
+
<View style={styles.container} testID={TEST_IDS.EOA_EXAM}>
|
|
45
46
|
<View style={styles.contentBackground}>
|
|
46
47
|
{IS_MOBILE ? (
|
|
47
48
|
<Image source={require('./blurred-card.png')} />
|
|
@@ -63,6 +64,7 @@ export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalCont
|
|
|
63
64
|
colorScheme={getEoaButtonColor(popUpData)}
|
|
64
65
|
style={{ text: { textTransform: 'uppercase' } }}
|
|
65
66
|
onPress={model.hidePopUpAndLeave}
|
|
67
|
+
testID={TEST_IDS.EOA_LEAVE_BUTTON}
|
|
66
68
|
>
|
|
67
69
|
{textContent.leftButtonText ?? ''}
|
|
68
70
|
</Button>
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
|
|
24
24
|
import { ModalModel } from './model'
|
|
25
25
|
import { ModalBackground } from './ModalBackground'
|
|
26
|
+
import { TEST_IDS } from '../../../../config/dataTestIDs'
|
|
26
27
|
|
|
27
28
|
const stopPropagation = {
|
|
28
29
|
onTouchStart: (event: GestureResponderEvent) => {
|
|
@@ -71,7 +72,10 @@ export const Modal = ({
|
|
|
71
72
|
if (!isVisible) return null
|
|
72
73
|
return (
|
|
73
74
|
<TouchableWithoutFeedback onPress={() => isDismissable && onClose?.()}>
|
|
74
|
-
<Animated.View
|
|
75
|
+
<Animated.View
|
|
76
|
+
style={[styles.overlay, style?.overlay, modalModel.animatedStyle]}
|
|
77
|
+
testID={TEST_IDS.EOA_MODAL}
|
|
78
|
+
>
|
|
75
79
|
<TouchableWithoutFeedback {...stopPropagation}>
|
|
76
80
|
<View style={[styles.container, style?.container]}>
|
|
77
81
|
{withBackground && <View style={styles.backgroundWrapper}>{<ModalBackground />}</View>}
|
|
@@ -81,6 +85,7 @@ export const Modal = ({
|
|
|
81
85
|
variant={ButtonVariant.TERTIARY}
|
|
82
86
|
icon={<CrossIcon size={18} color={COLORS.NEUTRAL_7} />}
|
|
83
87
|
onPress={onClose}
|
|
88
|
+
testID={TEST_IDS.EOA_MODAL_CLOSE_BUTTON}
|
|
84
89
|
/>
|
|
85
90
|
</View>
|
|
86
91
|
)}
|