@magmamath/students-features 1.2.2-rc.2 → 1.2.2-rc.5
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 +52 -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/features/voice/recording/components/VoiceRecordButton.js +2 -0
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -0
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +2 -0
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +5 -1
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +4 -0
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +4 -0
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
- package/dist/module/config/dataTestIDs.js +52 -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/features/voice/recording/components/VoiceRecordButton.js +2 -0
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -0
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +2 -0
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +5 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +4 -0
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +4 -0
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/module/shared/components/PlayButton.js.map +1 -1
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts +52 -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/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +3 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.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 +52 -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/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +3 -1
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/VoiceRecordUndoModal.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 +57 -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/features/voice/recording/components/VoiceRecordButton.tsx +2 -0
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -1
- package/src/features/voice/recording/components/VoiceRecordTimer.tsx +2 -1
- package/src/features/voice/recording/modal/ModalFooterButtons.tsx +6 -0
- package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +4 -0
- package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +4 -0
- package/src/shared/components/PlayButton.tsx +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_reactNativeUi","_types","_index","_helpers","_jsxRuntime","e","__esModule","default","Numpad","style","keys","props","t","useText","keyboardGroup","getMainKeyboardGroup","KeyboardType","jsx","View","styles","container","children","KeysList","numOfRows","exports","StyleSheet","create","borderLeftWidth","paddingLeft","SPACING"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/Numpad/Numpad.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_reactNativeUi","_types","_index","_helpers","_dataTestIDs","_jsxRuntime","e","__esModule","default","Numpad","style","keys","props","t","useText","keyboardGroup","getMainKeyboardGroup","KeyboardType","jsx","View","styles","container","testID","TEST_IDS","KEYBOARD_NUMPAD","children","KeysList","numOfRows","exports","StyleSheet","create","borderLeftWidth","paddingLeft","SPACING"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/Numpad/Numpad.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAAyD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMlD,MAAMG,MAAM,GAAGA,CAAC;EAAEC,KAAK;EAAEC,IAAI;EAAE,GAAGC;AAAmB,CAAC,KAAK;EAChE,MAAMC,CAAC,GAAG,IAAAC,cAAO,EAAC,CAAC;EACnB,MAAMC,aAAa,GAAG,IAAAC,6BAAoB,EAACL,IAAI,EAAEM,mBAAY,CAACR,MAAM,CAAC;EAErE,oBACE,IAAAJ,WAAA,CAAAa,GAAA,EAACnB,YAAA,CAAAoB,IAAI;IAACT,KAAK,EAAE,CAACU,MAAM,CAACC,SAAS,EAAEX,KAAK,CAAE;IAACY,MAAM,EAAEC,qBAAQ,CAACC,eAAgB;IAAAC,QAAA,eACvE,IAAApB,WAAA,CAAAa,GAAA,EAACpB,SAAA,CAAA4B,QAAQ;MAACf,IAAI,EAAEI,aAAa,CAACJ,IAAK;MAACgB,SAAS,EAAE,CAAE;MAAA,GAAKf;IAAK,CAAG;EAAC,CAC3D,CAAC;AAEX,CAAC;AAAAgB,OAAA,CAAAnB,MAAA,GAAAA,MAAA;AAED,MAAMW,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,eAAe,EAAE,CAAC;IAClBC,WAAW,EAAEC,sBAAO,CAAC,GAAG;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.UnderlinedLayout = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
8
9
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
10
|
var _types = require("../../types/types.js");
|
|
10
11
|
var _helpers = require("../../helpers.js");
|
|
12
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
11
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
15
|
const UnderlinedLayout = ({
|
|
@@ -16,10 +18,13 @@ const UnderlinedLayout = ({
|
|
|
16
18
|
}) => {
|
|
17
19
|
const keysGroup = (0, _helpers.getMainKeyboardGroup)(keys, _types.KeyboardType.Underlined);
|
|
18
20
|
const keysToShow = props.showSlashKey ? keysGroup.keys : keysGroup.keys.slice(0, -1);
|
|
19
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
22
|
+
testID: _dataTestIDs.TEST_IDS.KEYBOARD_UNDERLINED_LAYOUT,
|
|
23
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
24
|
+
keys: keysToShow,
|
|
25
|
+
numOfRows: props.showSlashKey ? 2 : keysToShow.length,
|
|
26
|
+
...props
|
|
27
|
+
})
|
|
23
28
|
});
|
|
24
29
|
};
|
|
25
30
|
exports.UnderlinedLayout = UnderlinedLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_types","_helpers","_jsxRuntime","e","__esModule","default","UnderlinedLayout","keys","props","keysGroup","getMainKeyboardGroup","KeyboardType","Underlined","keysToShow","showSlashKey","slice","jsx","KeysList","numOfRows","length","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_KeysList","_types","_helpers","_dataTestIDs","_jsxRuntime","e","__esModule","default","UnderlinedLayout","keys","props","keysGroup","getMainKeyboardGroup","KeyboardType","Underlined","keysToShow","showSlashKey","slice","jsx","View","testID","TEST_IDS","KEYBOARD_UNDERLINED_LAYOUT","children","KeysList","numOfRows","length","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AAAyD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOlD,MAAMG,gBAAgB,GAAGA,CAAC;EAAEC,IAAI;EAAE,GAAGC;AAA6B,CAAC,KAAK;EAC7E,MAAMC,SAAS,GAAG,IAAAC,6BAAoB,EAACH,IAAI,EAAEI,mBAAY,CAACC,UAAU,CAAC;EACrE,MAAMC,UAAU,GAAGL,KAAK,CAACM,YAAY,GAAGL,SAAS,CAACF,IAAI,GAAGE,SAAS,CAACF,IAAI,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EAEpF,oBACE,IAAAb,WAAA,CAAAc,GAAA,EAACnB,YAAA,CAAAoB,IAAI;IAACC,MAAM,EAAEC,qBAAQ,CAACC,0BAA2B;IAAAC,QAAA,eAChD,IAAAnB,WAAA,CAAAc,GAAA,EAAClB,SAAA,CAAAwB,QAAQ;MACPf,IAAI,EAAEM,UAAW;MACjBU,SAAS,EAAEf,KAAK,CAACM,YAAY,GAAG,CAAC,GAAGD,UAAU,CAACW,MAAO;MAAA,GAClDhB;IAAK,CACV;EAAC,CACE,CAAC;AAEX,CAAC;AAAAiB,OAAA,CAAAnB,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -15,6 +15,7 @@ var _useUnitTabs = require("./hooks/useUnitTabs.js");
|
|
|
15
15
|
var _helpers = require("../../helpers.js");
|
|
16
16
|
var _types2 = require("./types.js");
|
|
17
17
|
var _helpers2 = require("./helpers.js");
|
|
18
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
18
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
21
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -42,6 +43,7 @@ const UnitsLayout = ({
|
|
|
42
43
|
});
|
|
43
44
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
44
45
|
style: styles.container,
|
|
46
|
+
testID: _dataTestIDs.TEST_IDS.KEYBOARD_UNITS_LAYOUT,
|
|
45
47
|
children: [isDesktop && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.SelectGroup, {
|
|
46
48
|
numOfRows: 2,
|
|
47
49
|
options: selectOptions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","_UnitTabs","_types","_keyboardConstants","_useUnitTabs","_helpers","_types2","_helpers2","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnitsLayout","onLayoutChange","keys","props","width","useWindowDimensions","isDesktop","MOBILE_LAYOUT_WIDTH","IS_MOBILE","selectedLayout","setSelectedLayout","useState","SelectedLayout","ALGEBRA","UNITS","basicPlusKeys","getMainKeyboardGroup","KeyboardType","BasicPlus","tabs","activeTab","setActiveTab","useUnitTabs","selectOptions","getSelectOptions","activeTabKey","key","jsxs","View","style","styles","container","children","jsx","SelectGroup","numOfRows","options","size","SelectOptionSize","SMALL","optionContainer","option","color","selectedOptions","UnitTabs","onTabChange","KeysList","exports","StyleSheet","create","display","flexDirection","gap","paddingRight","flex","flexBasis","flexGrow","flexShrink","borderRightWidth","borderRightColor","COLORS","NEUTRAL_3","maxWidth"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","_UnitTabs","_types","_keyboardConstants","_useUnitTabs","_helpers","_types2","_helpers2","_dataTestIDs","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnitsLayout","onLayoutChange","keys","props","width","useWindowDimensions","isDesktop","MOBILE_LAYOUT_WIDTH","IS_MOBILE","selectedLayout","setSelectedLayout","useState","SelectedLayout","ALGEBRA","UNITS","basicPlusKeys","getMainKeyboardGroup","KeyboardType","BasicPlus","tabs","activeTab","setActiveTab","useUnitTabs","selectOptions","getSelectOptions","activeTabKey","key","jsxs","View","style","styles","container","testID","TEST_IDS","KEYBOARD_UNITS_LAYOUT","children","jsx","SelectGroup","numOfRows","options","size","SelectOptionSize","SMALL","optionContainer","option","color","selectedOptions","UnitTabs","onTabChange","KeysList","exports","StyleSheet","create","display","flexDirection","gap","paddingRight","flex","flexBasis","flexGrow","flexShrink","borderRightWidth","borderRightColor","COLORS","NEUTRAL_3","maxWidth"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/UnitsLayout/UnitsLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,YAAA,GAAAX,OAAA;AAAyD,IAAAY,WAAA,GAAAZ,OAAA;AAAA,SAAAa,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAf,wBAAAe,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAA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AE;MAAA,GAAKnC;IAAK,CAAG,CAC/D;EAAA,CACG,CAAC;AAEX,CAAC;AAAA+C,OAAA,CAAAlD,WAAA,GAAAA,WAAA;AAED,MAAM8B,MAAM,GAAGqB,uBAAU,CAACC,MAAM,CAAC;EAC/BrB,SAAS,EAAE;IACTsB,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE9C,wBAAS,GAAG,QAAQ,GAAG,KAAK;IAC3C+C,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,EAAE;IAChBC,IAAI,EAAE;EACR,CAAC;EACDb,MAAM,EAAE;IACNc,SAAS,EAAE,EAAE;IACbtD,KAAK,EAAE;EACT,CAAC;EACDuC,eAAe,EAAE;IACfgB,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbF,SAAS,EAAE,MAAM;IACjBtD,KAAK,EAAE,MAAM;IACboD,YAAY,EAAE,EAAE;IAChBK,gBAAgB,EAAE,CAAC;IACnBC,gBAAgB,EAAEC,qBAAM,CAACC,SAAS;IAClCC,QAAQ,EAAE,EAAE;IACZV,GAAG,EAAE;EACP;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _reactNative = require("react-native");
|
|
|
10
10
|
var _effectorReact = require("effector-react");
|
|
11
11
|
var _constants = require("../../constants.js");
|
|
12
12
|
var _index = require("../../../../shared/translation/index.js");
|
|
13
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -40,6 +41,7 @@ const VoiceRecordButton = ({
|
|
|
40
41
|
},
|
|
41
42
|
pointerEvents: !availableInputs.length || isInitializing ? 'box-only' : 'auto',
|
|
42
43
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
44
|
+
testID: _dataTestIDs.TEST_IDS.VOICE_RECORD_BUTTON,
|
|
43
45
|
disabled: isButtonDisabled || !availableInputs.length,
|
|
44
46
|
onPressIn: () => model.recorderButtonHandler(),
|
|
45
47
|
style: combinedStyles,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeUi","_reactNative","_effectorReact","_constants","_index","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","VoiceRecordButton","style","model","useText","availableInputs","useUnit","recorderModel","$availableInputs","voiceRecordState","$voiceRecordState","isButtonDisabled","$isButtonDisabled","isInitializing","initializeRecording","pending","combinedStyles","useMemo","button","width","height","container","text","jsx","Pressable","onPressIn","length","preventDefault","notification","warning","pointerEvents","children","Button","disabled","recorderButtonHandler","size","ButtonSize","LARGE","variant","ButtonVariant","SECONDARY","colorScheme","ButtonColor","WHITE","icon","VoiceRecorderState","RECORDING","CheckIcon","MicrophoneIcon","IS_WEB","minWidth","minHeight","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AAQA,IAAAE,YAAA,GAAAF,OAAA;AAGA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeUi","_reactNative","_effectorReact","_constants","_index","_dataTestIDs","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","VoiceRecordButton","style","model","useText","availableInputs","useUnit","recorderModel","$availableInputs","voiceRecordState","$voiceRecordState","isButtonDisabled","$isButtonDisabled","isInitializing","initializeRecording","pending","combinedStyles","useMemo","button","width","height","container","text","jsx","Pressable","onPressIn","length","preventDefault","notification","warning","pointerEvents","children","Button","testID","TEST_IDS","VOICE_RECORD_BUTTON","disabled","recorderButtonHandler","size","ButtonSize","LARGE","variant","ButtonVariant","SECONDARY","colorScheme","ButtonColor","WHITE","icon","VoiceRecorderState","RECORDING","CheckIcon","MicrophoneIcon","IS_WEB","minWidth","minHeight","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AAQA,IAAAE,YAAA,GAAAF,OAAA;AAGA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAAyD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAA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AA,CAAA2C,GAAA,EAACjD,cAAA,CAAA4E,SAAS;QAACZ,IAAI,EAAE;MAAG,CAAE,CAAC,gBAEvB,IAAA1D,WAAA,CAAA2C,GAAA,EAACjD,cAAA,CAAA6E,cAAc;QAACjD,KAAK,EAAEkD,qBAAM,GAAG;UAAEjC,KAAK,EAAE;QAAG,CAAC,GAAG;UAAEkC,QAAQ,EAAE,EAAE;UAAEC,SAAS,EAAE;QAAG;MAAE,CAAE;IAErF,CACF;EAAC,CACO,CAAC;AAEhB,CAAC;AAAAC,OAAA,CAAAtD,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -7,6 +7,7 @@ exports.VoiceRecordDeleteButton = void 0;
|
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
const VoiceRecordDeleteButton = ({
|
|
@@ -14,6 +15,7 @@ const VoiceRecordDeleteButton = ({
|
|
|
14
15
|
isDisabled
|
|
15
16
|
}) => {
|
|
16
17
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
18
|
+
testID: _dataTestIDs.TEST_IDS.VOICE_RECORD_DELETE_BUTTON,
|
|
17
19
|
style: styles.container,
|
|
18
20
|
onPress: onPress,
|
|
19
21
|
disabled: isDisabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_reactNativeUi","_react","_interopRequireDefault","_jsxRuntime","e","__esModule","default","VoiceRecordDeleteButton","onPress","isDisabled","jsx","TouchableOpacity","style","styles","container","disabled","children","TrashcanIcon","size","color","COLORS","NEUTRAL_5","NEUTRAL_9","exports","StyleSheet","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordDeleteButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeUi","_react","_interopRequireDefault","_dataTestIDs","_jsxRuntime","e","__esModule","default","VoiceRecordDeleteButton","onPress","isDisabled","jsx","TouchableOpacity","testID","TEST_IDS","VOICE_RECORD_DELETE_BUTTON","style","styles","container","disabled","children","TrashcanIcon","size","color","COLORS","NEUTRAL_5","NEUTRAL_9","exports","StyleSheet","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordDeleteButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAAyD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAG,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOlD,MAAMG,uBAAuB,GAAGA,CAAC;EAAEC,OAAO;EAAEC;AAAmC,CAAC,KAAK;EAC1F,oBACE,IAAAN,WAAA,CAAAO,GAAA,EAACb,YAAA,CAAAc,gBAAgB;IAACC,MAAM,EAAEC,qBAAQ,CAACC,0BAA2B;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACT,OAAO,EAAEA,OAAQ;IAACU,QAAQ,EAAET,UAAW;IAAAU,QAAA,eAC7H,IAAAhB,WAAA,CAAAO,GAAA,EAACX,cAAA,CAAAqB,YAAY;MAACC,IAAI,EAAE,EAAG;MAACC,KAAK,EAAEb,UAAU,GAAGc,qBAAM,CAACC,SAAS,GAAGD,qBAAM,CAACE;IAAU,CAAE;EAAC,CACnE,CAAC;AAEvB,CAAC;AAAAC,OAAA,CAAAnB,uBAAA,GAAAA,uBAAA;AAED,MAAMS,MAAM,GAAGW,uBAAU,CAACC,MAAM,CAAC;EAC/BX,SAAS,EAAE;IACTY,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _effectorReact = require("effector-react");
|
|
11
11
|
var _helpers = require("../../helpers.js");
|
|
12
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
15
|
const VoiceRecordTimer = ({
|
|
@@ -19,6 +20,7 @@ const VoiceRecordTimer = ({
|
|
|
19
20
|
const savedAudioFileDurationMs = (0, _effectorReact.useUnit)(model.$currentRecord)?.durationMs || 0;
|
|
20
21
|
const displayDurationMs = recordingFileDurationMs || savedAudioFileDurationMs;
|
|
21
22
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
23
|
+
testID: _dataTestIDs.TEST_IDS.VOICE_RECORD_TIMER,
|
|
22
24
|
style: [styles.container, style],
|
|
23
25
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Typography, {
|
|
24
26
|
variant: "h9",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_reactNativeUi","_react","_interopRequireDefault","_effectorReact","_helpers","_jsxRuntime","e","__esModule","default","VoiceRecordTimer","style","model","recordingFileDurationMs","savedAudioFileDurationMs","useUnit","$currentRecord","durationMs","displayDurationMs","jsx","View","styles","container","children","Typography","variant","text","formatDuration","exports","StyleSheet","create","backgroundColor","COLORS","NEUTRAL_1","paddingHorizontal","paddingVertical","alignItems","borderWidth","borderColor","NEUTRAL_4","borderRadius","minWidth","color","NEUTRAL_10","fontSize","fontWeight","lineHeight","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordTimer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeUi","_react","_interopRequireDefault","_effectorReact","_helpers","_dataTestIDs","_jsxRuntime","e","__esModule","default","VoiceRecordTimer","style","model","recordingFileDurationMs","savedAudioFileDurationMs","useUnit","$currentRecord","durationMs","displayDurationMs","jsx","View","testID","TEST_IDS","VOICE_RECORD_TIMER","styles","container","children","Typography","variant","text","formatDuration","exports","StyleSheet","create","backgroundColor","COLORS","NEUTRAL_1","paddingHorizontal","paddingVertical","alignItems","borderWidth","borderColor","NEUTRAL_4","borderRadius","minWidth","color","NEUTRAL_10","fontSize","fontWeight","lineHeight","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordTimer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAAyD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA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-14,12 +14,15 @@ const ModalFooterButtons = ({
|
|
|
14
14
|
onCancel,
|
|
15
15
|
onConfirm,
|
|
16
16
|
confirmLabel,
|
|
17
|
-
confirmColor = _reactNativeUi.ButtonColor.BLUE
|
|
17
|
+
confirmColor = _reactNativeUi.ButtonColor.BLUE,
|
|
18
|
+
cancelTestID,
|
|
19
|
+
confirmTestID
|
|
18
20
|
}) => {
|
|
19
21
|
const t = (0, _index.useText)();
|
|
20
22
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
21
23
|
style: styles.container,
|
|
22
24
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
25
|
+
testID: cancelTestID,
|
|
23
26
|
style: {
|
|
24
27
|
text: styles.buttonLabel
|
|
25
28
|
},
|
|
@@ -28,6 +31,7 @@ const ModalFooterButtons = ({
|
|
|
28
31
|
onPress: onCancel,
|
|
29
32
|
children: t('voice.cancel')
|
|
30
33
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
34
|
+
testID: confirmTestID,
|
|
31
35
|
colorScheme: confirmColor,
|
|
32
36
|
variant: _reactNativeUi.ButtonVariant.PRIMARY,
|
|
33
37
|
size: _reactNativeUi.ButtonSize.LARGE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_reactNative","_index","_jsxRuntime","e","__esModule","default","ModalFooterButtons","onCancel","onConfirm","confirmLabel","confirmColor","ButtonColor","BLUE","t","useText","jsxs","View","style","styles","container","children","jsx","Button","text","buttonLabel","variant","ButtonVariant","TERTIARY","size","ButtonSize","LARGE","onPress","colorScheme","PRIMARY","exports","StyleSheet","create","flexDirection","alignItems","gap","SPACING","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/modal/ModalFooterButtons.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAAwD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_reactNative","_index","_jsxRuntime","e","__esModule","default","ModalFooterButtons","onCancel","onConfirm","confirmLabel","confirmColor","ButtonColor","BLUE","cancelTestID","confirmTestID","t","useText","jsxs","View","style","styles","container","children","jsx","Button","testID","text","buttonLabel","variant","ButtonVariant","TERTIARY","size","ButtonSize","LARGE","onPress","colorScheme","PRIMARY","exports","StyleSheet","create","flexDirection","alignItems","gap","SPACING","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/modal/ModalFooterButtons.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAAwD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAYjD,MAAMG,kBAAkB,GAAGA,CAAC;EACjCC,QAAQ;EACRC,SAAS;EACTC,YAAY;EACZC,YAAY,GAAGC,0BAAW,CAACC,IAAI;EAC/BC,YAAY;EACZC;AACuB,CAAC,KAAK;EAC7B,MAAMC,CAAC,GAAG,IAAAC,cAAO,EAAC,CAAC;EAEnB,oBACE,IAAAd,WAAA,CAAAe,IAAA,EAACjB,YAAA,CAAAkB,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5B,IAAApB,WAAA,CAAAqB,GAAA,EAACxB,cAAA,CAAAyB,MAAM;MACLC,MAAM,EAAEZ,YAAa;MACrBM,KAAK,EAAE;QAAEO,IAAI,EAAEN,MAAM,CAACO;MAAY,CAAE;MACpCC,OAAO,EAAEC,4BAAa,CAACC,QAAS;MAChCC,IAAI,EAAEC,yBAAU,CAACC,KAAM;MACvBC,OAAO,EAAE3B,QAAS;MAAAe,QAAA,EAEjBP,CAAC,CAAC,cAAc;IAAC,CACZ,CAAC,eACT,IAAAb,WAAA,CAAAqB,GAAA,EAACxB,cAAA,CAAAyB,MAAM;MACLC,MAAM,EAAEX,aAAc;MACtBqB,WAAW,EAAEzB,YAAa;MAC1BkB,OAAO,EAAEC,4BAAa,CAACO,OAAQ;MAC/BL,IAAI,EAAEC,yBAAU,CAACC,KAAM;MACvBC,OAAO,EAAE1B,SAAU;MACnBW,KAAK,EAAE;QAAEO,IAAI,EAAEN,MAAM,CAACO;MAAY,CAAE;MAAAL,QAAA,EAEnCP,CAAC,CAACN,YAAY;IAAC,CACV,CAAC;EAAA,CACL,CAAC;AAEX,CAAC;AAAA4B,OAAA,CAAA/B,kBAAA,GAAAA,kBAAA;AAED,MAAMc,MAAM,GAAGkB,uBAAU,CAACC,MAAM,CAAC;EAC/BlB,SAAS,EAAE;IACTmB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAEC,sBAAO,CAAC,GAAG;EAClB,CAAC;EACDhB,WAAW,EAAE;IACXiB,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -11,6 +11,7 @@ var _effectorReact = require("effector-react");
|
|
|
11
11
|
var _constants = require("../../constants.js");
|
|
12
12
|
var _index = require("../../../../shared/translation/index.js");
|
|
13
13
|
var _ModalFooterButtons = require("./ModalFooterButtons.js");
|
|
14
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
14
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -55,12 +56,15 @@ const VoiceRecordDeleteModal = ({
|
|
|
55
56
|
};
|
|
56
57
|
}, []);
|
|
57
58
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.BaseModal, {
|
|
59
|
+
testID: _dataTestIDs.TEST_IDS.VOICE_RECORD_DELETE_MODAL,
|
|
58
60
|
style: {
|
|
59
61
|
container: styles.modalContainer
|
|
60
62
|
},
|
|
61
63
|
header: t('voice.deleteRecording'),
|
|
62
64
|
content: t('voice.youWontBeAbleToRecover'),
|
|
63
65
|
footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalFooterButtons.ModalFooterButtons, {
|
|
66
|
+
cancelTestID: _dataTestIDs.TEST_IDS.VOICE_RECORD_DELETE_CANCEL_BUTTON,
|
|
67
|
+
confirmTestID: _dataTestIDs.TEST_IDS.VOICE_RECORD_DELETE_CONFIRM_BUTTON,
|
|
64
68
|
onCancel: closeModal,
|
|
65
69
|
onConfirm: handleDelete,
|
|
66
70
|
confirmLabel: "voice.delete",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeUi","_reactNative","_effectorReact","_constants","_index","_ModalFooterButtons","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","VoiceRecordDeleteModal","modal","closeModal","params","useText","model","recorderState","useUnit","recorderModel","$voiceRecordState","handleDelete","VoiceRecorderState","PAUSED","recorder","record","setTimeout","stop","deleteCurrentRecording","useEffect","RECORDING","pause","getState","error","console","jsx","BaseModal","style","container","styles","modalContainer","header","content","footer","ModalFooterButtons","onCancel","onConfirm","confirmLabel","confirmColor","ButtonColor","RED","exports","StyleSheet","create","width","height"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/modal/VoiceRecordDeleteModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeUi","_reactNative","_effectorReact","_constants","_index","_ModalFooterButtons","_dataTestIDs","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","VoiceRecordDeleteModal","modal","closeModal","params","useText","model","recorderState","useUnit","recorderModel","$voiceRecordState","handleDelete","VoiceRecorderState","PAUSED","recorder","record","setTimeout","stop","deleteCurrentRecording","useEffect","RECORDING","pause","getState","error","console","jsx","BaseModal","testID","TEST_IDS","VOICE_RECORD_DELETE_MODAL","style","container","styles","modalContainer","header","content","footer","ModalFooterButtons","cancelTestID","VOICE_RECORD_DELETE_CANCEL_BUTTON","confirmTestID","VOICE_RECORD_DELETE_CONFIRM_BUTTON","onCancel","onConfirm","confirmLabel","confirmColor","ButtonColor","RED","exports","StyleSheet","create","width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AACK,QAAQ,CAACC,MAAM,CAAC,CAAC;QACvC,CAAC,CAAC,OAAOQ,KAAK,EAAE;UACdC,OAAO,CAACD,KAAK,CAAC,+BAA+BA,KAAK,EAAE,CAAC;QACvD;MACF;IACF,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE,IAAA3C,WAAA,CAAA6C,GAAA,EAACpD,cAAA,CAAAqD,SAAS;IACRC,MAAM,EAAEC,qBAAQ,CAACC,yBAA0B;IAC3CC,KAAK,EAAE;MACLC,SAAS,EAAEC,MAAM,CAACC;IACpB,CAAE;IACFC,MAAM,EAAEjD,CAAC,CAAC,uBAAuB,CAAE;IACnCkD,OAAO,EAAElD,CAAC,CAAC,8BAA8B,CAAE;IAC3CmD,MAAM,eACJ,IAAAxD,WAAA,CAAA6C,GAAA,EAAC/C,mBAAA,CAAA2D,kBAAkB;MACjBC,YAAY,EAAEV,qBAAQ,CAACW,iCAAkC;MACzDC,aAAa,EAAEZ,qBAAQ,CAACa,kCAAmC;MAC3DC,QAAQ,EAAEvC,UAAW;MACrBwC,SAAS,EAAEhC,YAAa;MACxBiC,YAAY,EAAC,cAAc;MAC3BC,YAAY,EAAEC,0BAAW,CAACC;IAAI,CAC/B;EACF,CACF,CAAC;AAEN,CAAC;AAAAC,OAAA,CAAA/C,sBAAA,GAAAA,sBAAA;AAED,MAAM+B,MAAM,GAAGiB,uBAAU,CAACC,MAAM,CAAC;EAC/BjB,cAAc,EAAE;IACdkB,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _index = require("../../../../shared/translation/index.js");
|
|
11
11
|
var _ModalFooterButtons = require("./ModalFooterButtons.js");
|
|
12
|
+
var _dataTestIDs = require("../../../../config/dataTestIDs.js");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
15
|
const VoiceRecordUndoModal = ({
|
|
@@ -29,12 +30,15 @@ const VoiceRecordUndoModal = ({
|
|
|
29
30
|
model.initializeRecording();
|
|
30
31
|
};
|
|
31
32
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.BaseModal, {
|
|
33
|
+
testID: _dataTestIDs.TEST_IDS.VOICE_RECORD_UNDO_MODAL,
|
|
32
34
|
style: {
|
|
33
35
|
container: styles.modalStyle
|
|
34
36
|
},
|
|
35
37
|
header: t('voice.redoRecording'),
|
|
36
38
|
content: t('voice.thisWillRemoveRecording'),
|
|
37
39
|
footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalFooterButtons.ModalFooterButtons, {
|
|
40
|
+
cancelTestID: _dataTestIDs.TEST_IDS.VOICE_RECORD_UNDO_CANCEL_BUTTON,
|
|
41
|
+
confirmTestID: _dataTestIDs.TEST_IDS.VOICE_RECORD_UNDO_CONFIRM_BUTTON,
|
|
38
42
|
onCancel: closeModal,
|
|
39
43
|
onConfirm: redoRecording,
|
|
40
44
|
confirmLabel: "voice.redo"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_reactNative","_index","_ModalFooterButtons","_jsxRuntime","e","__esModule","default","VoiceRecordUndoModal","modal","closeModal","params","t","useText","model","redoRecording","deleteCurrentRecording","notification","initializeRecording","jsx","BaseModal","style","container","styles","modalStyle","header","content","footer","ModalFooterButtons","onCancel","onConfirm","confirmLabel","exports","StyleSheet","create","width","height"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/modal/VoiceRecordUndoModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_reactNative","_index","_ModalFooterButtons","_dataTestIDs","_jsxRuntime","e","__esModule","default","VoiceRecordUndoModal","modal","closeModal","params","t","useText","model","redoRecording","deleteCurrentRecording","notification","initializeRecording","jsx","BaseModal","testID","TEST_IDS","VOICE_RECORD_UNDO_MODAL","style","container","styles","modalStyle","header","content","footer","ModalFooterButtons","cancelTestID","VOICE_RECORD_UNDO_CANCEL_BUTTON","confirmTestID","VOICE_RECORD_UNDO_CONFIRM_BUTTON","onCancel","onConfirm","confirmLabel","exports","StyleSheet","create","width","height"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/modal/VoiceRecordUndoModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAEA,IAAAK,YAAA,GAAAL,OAAA;AAAyD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AASlD,MAAMG,oBAAoB,GAAGA,CAAC;EACnCC,KAAK,EAAE;IAAEC,UAAU;IAAEC;EAAO;AACH,CAAC,KAAK;EAC/B,MAAMC,CAAC,GAAG,IAAAC,cAAO,EAAC,CAAC;EACnB,MAAM;IAAEC;EAAM,CAAC,GAAGH,MAAM;EAExB,MAAMI,aAAa,GAAGA,CAAA,KAAM;IAC1BD,KAAK,CAACE,sBAAsB,CAAC;MAAEC,YAAY,EAAE;IAAM,CAAC,CAAC;IACrDP,UAAU,CAAC,CAAC;IACZI,KAAK,CAACI,mBAAmB,CAAC,CAAC;EAC7B,CAAC;EAED,oBACE,IAAAd,WAAA,CAAAe,GAAA,EAACpB,cAAA,CAAAqB,SAAS;IACRC,MAAM,EAAEC,qBAAQ,CAACC,uBAAwB;IACzCC,KAAK,EAAE;MACLC,SAAS,EAAEC,MAAM,CAACC;IACpB,CAAE;IACFC,MAAM,EAAEhB,CAAC,CAAC,qBAAqB,CAAE;IACjCiB,OAAO,EAAEjB,CAAC,CAAC,+BAA+B,CAAE;IAC5CkB,MAAM,eACJ,IAAA1B,WAAA,CAAAe,GAAA,EAACjB,mBAAA,CAAA6B,kBAAkB;MACjBC,YAAY,EAAEV,qBAAQ,CAACW,+BAAgC;MACvDC,aAAa,EAAEZ,qBAAQ,CAACa,gCAAiC;MACzDC,QAAQ,EAAE1B,UAAW;MACrB2B,SAAS,EAAEtB,aAAc;MACzBuB,YAAY,EAAC;IAAY,CAC1B;EACF,CACF,CAAC;AAEN,CAAC;AAAAC,OAAA,CAAA/B,oBAAA,GAAAA,oBAAA;AAED,MAAMkB,MAAM,GAAGc,uBAAU,CAACC,MAAM,CAAC;EAC/Bd,UAAU,EAAE;IACVe,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_SpeakerIcon","_PlayIcon","_PauseIcon","_constants","_styleTypes","_jsxRuntime","e","__esModule","default","TextToSpeechIcon","status","isActive","isLoading","colorScheme","ColorScheme","Blue","activityIndicatorColor","jsx","ActivityIndicator","color","CONTROLS_COLORS_MAP","background","SpeakerIcon","PauseIcon","COLORS","NEUTRAL_1","PlayIcon","PlayButton","state","disabled","onPress","props","Button","variant","size","icon","exports"],"sourceRoot":"../../../../src","sources":["shared/components/PlayButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OA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PlayIcon","_PauseIcon","_constants","_styleTypes","_jsxRuntime","e","__esModule","default","TextToSpeechIcon","status","isActive","isLoading","colorScheme","ColorScheme","Blue","activityIndicatorColor","jsx","ActivityIndicator","color","CONTROLS_COLORS_MAP","background","SpeakerIcon","PauseIcon","COLORS","NEUTRAL_1","PlayIcon","PlayButton","state","disabled","onPress","props","Button","variant","size","icon","exports"],"sourceRoot":"../../../../src","sources":["shared/components/PlayButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AAAsE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAUtE,MAAMG,gBAAgB,GAAGA,CAAC;EACxBC,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,WAAW,GAAGC,uBAAW,CAACC,IAAI;EAC9BC;AACqB,CAAC,KAAK;EAC3B,IAAIJ,SAAS,IAAID,QAAQ,EAAE;IACzB,oBACE,IAAAN,WAAA,CAAAY,GAAA,EAACnB,YAAA,CAAAoB,iBAAiB;MAChBC,KAAK,EAAEH,sBAAsB,IAAII,8BAAmB,CAACP,WAAW,CAAC,CAACQ;IAAW,CAC9E,CAAC;EAEN;EAEA,IAAI,CAACV,QAAQ,EAAE;IACb,oBAAO,IAAAN,WAAA,CAAAY,GAAA,EAACjB,YAAA,CAAAsB,WAAW,IAAE,CAAC;EACxB;EAEA,IAAIZ,MAAM,KAAK,SAAS,EAAE,oBAAO,IAAAL,WAAA,CAAAY,GAA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get-a-hint-button',
|
|
5
|
+
CHAT_NEED_A_HINT_BUTTON: 'chat-need-a-hint-button',
|
|
6
|
+
CHAT_AREA: 'chat-area',
|
|
7
|
+
CHAT_CLOSE_BUTTON: 'chat-close-button',
|
|
8
|
+
CHAT_ICON: 'chat-icon',
|
|
9
|
+
OPEN_CHAT_TEXT_INPUT: 'open-chat-text-input',
|
|
10
|
+
OPEN_CHAT_SEND_MESSAGE_BUTTON: 'open-chat-send-message-button',
|
|
11
|
+
OPEN_CHAT_INPUT_FIELD: 'open-chat-input-field',
|
|
12
|
+
CHAT_MESSAGE_SENT: 'chat-message-sent',
|
|
13
|
+
CHAT_MESSAGE_RECEIVED: 'chat-message-received',
|
|
14
|
+
CHAT_MESSAGE_LOADER: 'chat-message-loader',
|
|
15
|
+
CHAT_TTS_BUTTON: 'chat-tts-button',
|
|
16
|
+
CHAT_ERROR_SPOTTING_BUTTON: 'chat-error-spotting-button',
|
|
17
|
+
EOA_MODAL: 'eoa-modal',
|
|
18
|
+
EOA_MODAL_CLOSE_BUTTON: 'eoa-modal-close-button',
|
|
19
|
+
EOA_WITH_CORRECT_ANSWER: 'eoa-with-correct-answer',
|
|
20
|
+
EOA_WITH_NO_CORRECT_ANSWER: 'eoa-with-no-correct-answer',
|
|
21
|
+
EOA_PRACTICE_BUTTON: 'eoa-practice-button',
|
|
22
|
+
EOA_LEAVE_BUTTON: 'eoa-leave-button',
|
|
23
|
+
EOA_GO_TO_PROBLEM_ONE_BUTTON: 'eoa-go-to-problem-one-button',
|
|
24
|
+
EOA_EXAM: 'eoa-exam',
|
|
25
|
+
EOA_EXAM_PAUSED: 'eoa-exam-paused',
|
|
26
|
+
EOA_EXAM_LEAVE: 'eoa-exam-leave',
|
|
27
|
+
EOA_CHEAT_DETECTED: 'eoa-cheat-detected',
|
|
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',
|
|
7
31
|
FORMULA_SHEET_BUTTON: 'formula-sheet-button',
|
|
8
32
|
FORMULA_SHEET_MODAL: 'formula-sheet-modal',
|
|
9
|
-
|
|
33
|
+
KEYBOARD: 'keyboard',
|
|
34
|
+
KEYBOARD_NUMPAD: 'keyboard-numpad',
|
|
35
|
+
KEYBOARD_BASIC_LAYOUT: 'keyboard-basic-layout',
|
|
36
|
+
KEYBOARD_BASIC_PLUS_LAYOUT: 'keyboard-basic-plus-layout',
|
|
37
|
+
KEYBOARD_BASIC_PLUS_PLUS_LAYOUT: 'keyboard-basic-plus-plus-layout',
|
|
38
|
+
KEYBOARD_ALGEBRA_LAYOUT: 'keyboard-algebra-layout',
|
|
39
|
+
KEYBOARD_CURRENCY_KEYS: 'keyboard-currency-keys',
|
|
40
|
+
KEYBOARD_TIME_KEYS: 'keyboard-time-keys',
|
|
41
|
+
KEYBOARD_UNDERLINED_LAYOUT: 'keyboard-underlined-layout',
|
|
42
|
+
KEYBOARD_UNITS_LAYOUT: 'keyboard-units-layout',
|
|
43
|
+
KEYBOARD_MAIN_LAYOUT: 'keyboard-main-layout',
|
|
10
44
|
PROBLEM_SELECTOR_BUTTON: text => `problem-selector-button-${text}`,
|
|
11
45
|
OPEN_ENDED_SCORE_LABEL: 'open-ended-score-label',
|
|
12
46
|
OPEN_ENDED_ATTEMPTS_LIMIT: 'open-ended-attempts-limit',
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
47
|
+
TEACHER_COMMENT: 'teacher-comment',
|
|
48
|
+
TEACHER_COMMENTS_BUTTON: 'teacher-comments-button',
|
|
49
|
+
NO_COMMENTS_PLACEHOLDER: 'no-comments-placeholder',
|
|
50
|
+
EXERCISE_CARD_COMMENTS_COUNT: 'exercise-card-comments-count',
|
|
51
|
+
UNREAD_COMMENTS_BADGE: 'unread-comments-badge',
|
|
52
|
+
VOICE_RECORD_BUTTON: 'voice-record-button',
|
|
53
|
+
VOICE_RECORD_TIMER: 'voice-record-timer',
|
|
54
|
+
VOICE_RECORD_DELETE_BUTTON: 'voice-record-delete-button',
|
|
55
|
+
VOICE_RECORD_UNDO_MODAL: 'voice-record-undo-modal',
|
|
56
|
+
VOICE_RECORD_UNDO_CANCEL_BUTTON: 'voice-record-undo-cancel-button',
|
|
57
|
+
VOICE_RECORD_UNDO_CONFIRM_BUTTON: 'voice-record-undo-confirm-button',
|
|
58
|
+
VOICE_RECORD_DELETE_MODAL: 'voice-record-delete-modal',
|
|
59
|
+
VOICE_RECORD_DELETE_CANCEL_BUTTON: 'voice-record-delete-cancel-button',
|
|
60
|
+
VOICE_RECORD_DELETE_CONFIRM_BUTTON: 'voice-record-delete-confirm-button'
|
|
16
61
|
};
|
|
17
62
|
export { TEST_IDS };
|
|
18
63
|
//# sourceMappingURL=dataTestIDs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TEST_IDS","
|
|
1
|
+
{"version":3,"names":["TEST_IDS","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","VOICE_RECORD_BUTTON","VOICE_RECORD_TIMER","VOICE_RECORD_DELETE_BUTTON","VOICE_RECORD_UNDO_MODAL","VOICE_RECORD_UNDO_CANCEL_BUTTON","VOICE_RECORD_UNDO_CONFIRM_BUTTON","VOICE_RECORD_DELETE_MODAL","VOICE_RECORD_DELETE_CANCEL_BUTTON","VOICE_RECORD_DELETE_CONFIRM_BUTTON"],"sourceRoot":"../../../src","sources":["config/dataTestIDs.ts"],"mappings":";;AAAA,MAAMA,QAAQ,GAAG;EACfC,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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,2BAA2B;EACtDC,iCAAiC,EAAE,mCAAmC;EACtEC,kCAAkC,EAAE;AACtC,CAAU;AAEV,SAAS1D,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useEffect","useMemo","useRef","FlatList","StyleSheet","View","useStoreMap","useUnit","SPACING","MessageLoader","ColorScheme","ChatIcon","ChatInputBlock","MessageItem","CHAT_CONTAINER_WIDTH","useChatScroll","useChatFade","FadeOverlays","TEST_IDS","jsx","_jsx","jsxs","_jsxs","Separator","style","styles","separator","keyExtractor","item","index","id","Chat","model","isHintFeedback","isTextToSpeechEnabled","isInputDisabled","maxHeight","colorScheme","Blue","MessageWrapper","TTSHighlightRenderer","onPressClose","listRef","fadeRef","maskStyle","handleScrollStateChange","resetFade","scrollStateRef","isScrolledUp","handleScroll","handleLayout","handleContentSizeChange","scrollToBottom","reset","resetScroll","onStateChange","isOpen","$isOpen","isHelpRequestPending","sendHelpRequestFx","pending","messages","$currentChatData","lastBotMessageId","reverse","find","m","isOwnMessage","shouldWrapMessage","length","reversedMessages","renderMessage","message","withIcon","current","listHeader","isLoading","at","testID","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useEffect","useMemo","useRef","FlatList","StyleSheet","View","useStoreMap","useUnit","SPACING","MessageLoader","ColorScheme","ChatIcon","ChatInputBlock","MessageItem","CHAT_CONTAINER_WIDTH","useChatScroll","useChatFade","FadeOverlays","TEST_IDS","jsx","_jsx","jsxs","_jsxs","Separator","style","styles","separator","keyExtractor","item","index","id","Chat","model","isHintFeedback","isTextToSpeechEnabled","isInputDisabled","maxHeight","colorScheme","Blue","MessageWrapper","TTSHighlightRenderer","onPressClose","listRef","fadeRef","maskStyle","handleScrollStateChange","resetFade","scrollStateRef","isScrolledUp","handleScroll","handleLayout","handleContentSizeChange","scrollToBottom","reset","resetScroll","onStateChange","isOpen","$isOpen","isHelpRequestPending","sendHelpRequestFx","pending","messages","$currentChatData","lastBotMessageId","reverse","find","m","isOwnMessage","shouldWrapMessage","length","reversedMessages","renderMessage","message","withIcon","current","listHeader","isLoading","at","testID","CHAT_AREA","container","children","listWrapper","ref","data","renderItem","flatList","contentContainerStyle","list","showsVerticalScrollIndicator","inverted","bounces","onLayout","onScroll","onContentSizeChange","ItemSeparatorComponent","ListHeaderComponent","hasMessages","create","alignItems","width","paddingRight","flexGrow","flexShrink","alignSelf","paddingTop","paddingBottom","height"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/Chat.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAGVC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,QACD,OAAO;AACd,SAASC,QAAQ,EAAsBC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC7E,SAASC,WAAW,EAAEC,OAAO,QAAQ,gBAAgB;AACrD,SAASC,OAAO,QAAQ,4BAA4B;AAIpD,SAASC,aAAa,QAAQ,iCAA8B;AAC5D,SAASC,WAAW,QAAQ,4BAAyB;AAErD,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,WAAW,QAAQ,kBAAe;AAC3C,SAASC,oBAAoB,QAAQ,oBAAiB;AACtD,SAASC,aAAa,QAAQ,8BAA2B;AACzD,SAASC,WAAW,EAAEC,YAAY,QAAQ,yBAAyB;AACnE,SAASC,QAAQ,QAAQ,mCAAgC;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEzD,MAAMC,SAAS,GAAGA,CAAA,kBAAMH,IAAA,CAACf,IAAI;EAACmB,KAAK,EAAEC,MAAM,CAACC;AAAU,CAAE,CAAC;AACzD,MAAMC,YAAY,GAAGA,CAACC,IAAyB,EAAEC,KAAa,KAAK,GAAGD,IAAI,CAACE,EAAE,IAAID,KAAK,EAAE;AAcxF,OAAO,MAAME,IAAI,GAAGA,CAAC;EACnBC,KAAK;EACLC,cAAc;EACdC,qBAAqB;EACrBC,eAAe;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oB,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACb,CAAC;EACDlB,QAAQ,EAAE;IACRgB,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE;EACb,CAAC;EACDhB,IAAI,EAAE;IACJiB,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB,CAAC;EACDhF,SAAS,EAAE;IACTiF,MAAM,EAAEnG,OAAO,CAAC,KAAK;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -6,11 +6,13 @@ import { IS_WEB } from '@magmamath/react-native-ui';
|
|
|
6
6
|
import { ChatbotIcon } from "../../../../shared/icons/ChatbotIcon.js";
|
|
7
7
|
import { LavaIconInGlasses } from "../../../../shared/icons/LavaIconInGlasses.js";
|
|
8
8
|
import { CHATBOT_ICON_SIZE } from "../../constants.js";
|
|
9
|
+
import { TEST_IDS } from "../../../../config/dataTestIDs.js";
|
|
9
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
11
|
export const ChatIcon = ({
|
|
11
12
|
isLoading
|
|
12
13
|
}) => /*#__PURE__*/_jsx(View, {
|
|
13
14
|
style: styles.container,
|
|
15
|
+
testID: TEST_IDS.CHAT_ICON,
|
|
14
16
|
children: isLoading ? /*#__PURE__*/_jsx(LavaIconInGlasses, {
|
|
15
17
|
width: CHATBOT_ICON_SIZE.width,
|
|
16
18
|
height: CHATBOT_ICON_SIZE.height
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","IS_WEB","ChatbotIcon","LavaIconInGlasses","CHATBOT_ICON_SIZE","jsx","_jsx","ChatIcon","isLoading","style","styles","container","children","width","height","create","position","bottom","left"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/ChatIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,SAASC,WAAW,QAAQ,yCAAsC;AAClE,SAASC,iBAAiB,QAAQ,+CAA4C;AAC9E,SAASC,iBAAiB,QAAQ,oBAAiB;AAAA,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","IS_WEB","ChatbotIcon","LavaIconInGlasses","CHATBOT_ICON_SIZE","TEST_IDS","jsx","_jsx","ChatIcon","isLoading","style","styles","container","testID","CHAT_ICON","children","width","height","create","position","bottom","left"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/ChatIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,SAASC,WAAW,QAAQ,yCAAsC;AAClE,SAASC,iBAAiB,QAAQ,+CAA4C;AAC9E,SAASC,iBAAiB,QAAQ,oBAAiB;AACnD,SAASC,QAAQ,QAAQ,mCAAgC;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMzD,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EAAEC;AAAyB,CAAC,kBACnDF,IAAA,CAACP,IAAI;EAACU,KAAK,EAAEC,MAAM,CAACC,SAAU;EAACC,MAAM,EAAER,QAAQ,CAACS,SAAU;EAAAC,QAAA,EACvDN,SAAS,gBACRF,IAAA,CAACJ,iBAAiB;IAACa,KAAK,EAAEZ,iBAAiB,CAACY,KAAM;IAACC,MAAM,EAAEb,iBAAiB,CAACa;EAAO,CAAE,CAAC,gBAEvFV,IAAA,CAACL,WAAW;IAACc,KAAK,EAAEZ,iBAAiB,CAACY,KAAM;IAACC,MAAM,EAAEb,iBAAiB,CAACa;EAAO,CAAE;AACjF,CACG,CACP;AAED,MAAMN,MAAM,GAAGZ,UAAU,CAACmB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAEnB,MAAM,GAAG,IAAI,GAAG,EAAE;IAC1BoB,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -4,6 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { StyleSheet } from 'react-native';
|
|
5
5
|
import { Button, ButtonColor, ButtonSize, ButtonVariant, COLORS } from '@magmamath/react-native-ui';
|
|
6
6
|
import { CloseIcon } from "../../../../shared/icons/CloseIcon.js";
|
|
7
|
+
import { TEST_IDS } from "../../../../config/dataTestIDs.js";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
export const CloseButton = ({
|
|
9
10
|
onPress
|
|
@@ -16,6 +17,7 @@ export const CloseButton = ({
|
|
|
16
17
|
size: ButtonSize.MEDIUM,
|
|
17
18
|
colorScheme: ButtonColor.WHITE,
|
|
18
19
|
raiseLevel: 5,
|
|
20
|
+
testID: TEST_IDS.CHAT_CLOSE_BUTTON,
|
|
19
21
|
children: /*#__PURE__*/_jsx(CloseIcon, {
|
|
20
22
|
width: 18,
|
|
21
23
|
height: 18
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Button","ButtonColor","ButtonSize","ButtonVariant","COLORS","CloseIcon","jsx","_jsx","CloseButton","onPress","style","button","styles","variant","PRIMARY","size","MEDIUM","colorScheme","WHITE","raiseLevel","children","width","height","create","borderRadius","borderColor","NEUTRAL_5"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/CloseButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,MAAM,EAAEC,WAAW,EAAEC,UAAU,EAAEC,aAAa,EAAEC,MAAM,QAAQ,4BAA4B;AACnG,SAASC,SAAS,QAAQ,uCAAoC;AAAA,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Button","ButtonColor","ButtonSize","ButtonVariant","COLORS","CloseIcon","TEST_IDS","jsx","_jsx","CloseButton","onPress","style","button","styles","variant","PRIMARY","size","MEDIUM","colorScheme","WHITE","raiseLevel","testID","CHAT_CLOSE_BUTTON","children","width","height","create","borderRadius","borderColor","NEUTRAL_5"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/CloseButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,MAAM,EAAEC,WAAW,EAAEC,UAAU,EAAEC,aAAa,EAAEC,MAAM,QAAQ,4BAA4B;AACnG,SAASC,SAAS,QAAQ,uCAAoC;AAC9D,SAASC,QAAQ,QAAQ,mCAAgC;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMzD,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAA0B,CAAC,kBACvDF,IAAA,CAACR,MAAM;EACLU,OAAO,EAAEA,OAAQ;EACjBC,KAAK,EAAE;IAAEC,MAAM,EAAEC,MAAM,CAACD;EAAO,CAAE;EACjCE,OAAO,EAAEX,aAAa,CAACY,OAAQ;EAC/BC,IAAI,EAAEd,UAAU,CAACe,MAAO;EACxBC,WAAW,EAAEjB,WAAW,CAACkB,KAAM;EAC/BC,UAAU,EAAE,CAAE;EACdC,MAAM,EAAEf,QAAQ,CAACgB,iBAAkB;EAAAC,QAAA,eAEnCf,IAAA,CAACH,SAAS;IAACmB,KAAK,EAAE,EAAG;IAACC,MAAM,EAAE;EAAG,CAAE;AAAC,CAC9B,CACT;AAED,MAAMZ,MAAM,GAAGd,UAAU,CAAC2B,MAAM,CAAC;EAC/Bd,MAAM,EAAE;IACNY,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVE,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAExB,MAAM,CAACyB;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -38,7 +38,7 @@ export const ChatControls = ({
|
|
|
38
38
|
style: {
|
|
39
39
|
text: styles.helpButtonText
|
|
40
40
|
},
|
|
41
|
-
testID: TEST_IDS.
|
|
41
|
+
testID: TEST_IDS.CHAT_GET_A_HINT_BUTTON,
|
|
42
42
|
children: isTranslated && getHint.translatedText || getHint.text
|
|
43
43
|
}), /*#__PURE__*/_jsx(Pressable, {
|
|
44
44
|
onPress: onPressChatIcon,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","View","Button","ButtonColor","ButtonSize","ButtonVariant","useUnit","ChatbotIcon","TEST_IDS","jsx","_jsx","jsxs","_jsxs","ChatControls","model","onPressChatIcon","onPressHelpButton","withHelpButton","ButtonWrapper","Fragment","iconSize","width","height","isOpen","$isOpen","isTranslated","translation","$isTranslated","getHint","textManager","messages","style","styles","container","children","buttonsRow","variant","PRIMARY","colorScheme","WHITE","size","MEDIUM","raiseLevel","onPress","text","helpButtonText","testID","
|
|
1
|
+
{"version":3,"names":["React","Pressable","StyleSheet","View","Button","ButtonColor","ButtonSize","ButtonVariant","useUnit","ChatbotIcon","TEST_IDS","jsx","_jsx","jsxs","_jsxs","ChatControls","model","onPressChatIcon","onPressHelpButton","withHelpButton","ButtonWrapper","Fragment","iconSize","width","height","isOpen","$isOpen","isTranslated","translation","$isTranslated","getHint","textManager","messages","style","styles","container","children","buttonsRow","variant","PRIMARY","colorScheme","WHITE","size","MEDIUM","raiseLevel","onPress","text","helpButtonText","testID","CHAT_GET_A_HINT_BUTTON","translatedText","create","alignItems","justifyContent","flexDirection","maxHeight","gap","paddingBottom","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatControls/ChatControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,MAAM,EAAEC,WAAW,EAAEC,UAAU,EAAEC,aAAa,QAAQ,4BAA4B;AAC3F,SAASC,OAAO,QAAQ,gBAAgB;AAExC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