@magmamath/students-features 0.6.1-8.rc-3 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -14
- package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js +2 -6
- package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js +24 -27
- package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +4 -9
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +5 -18
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +3 -10
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +12 -16
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +4 -13
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +8 -14
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js +4 -14
- package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -5
- package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +1 -2
- package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/constants.js +1 -36
- package/dist/commonjs/features/chatbot/constants.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +0 -8
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js +0 -7
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +36 -64
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +8 -3
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +0 -9
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +0 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/translation.js +1 -9
- package/dist/commonjs/features/chatbot/model/translation.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +0 -2
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/features/feedback/model/comments.js +3 -5
- package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
- package/dist/commonjs/features/feedback/model/model.js +9 -7
- package/dist/commonjs/features/feedback/model/model.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +4 -5
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +9 -12
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/commonjs/features/problemSelector/constants.js +6 -3
- package/dist/commonjs/features/problemSelector/constants.js.map +1 -1
- package/dist/commonjs/index.js +0 -36
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/effector/createControllerEffect.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/commonjs/shared/icons/LockIcon.js +31 -0
- package/dist/commonjs/shared/icons/LockIcon.js.map +1 -0
- package/dist/commonjs/shared/translation/constants.js +1 -5
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- package/dist/commonjs/shared/translation/localization/en.json +0 -11
- package/dist/commonjs/shared/translation/localization/gb.json +0 -11
- package/dist/commonjs/shared/translation/localization/sw.json +0 -11
- package/dist/commonjs/shared/translation/types.js +0 -2
- package/dist/commonjs/shared/translation/types.js.map +1 -1
- package/dist/module/features/chatbot/components/Alternatives/Alternatives.js +2 -6
- package/dist/module/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
- package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js +27 -29
- package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +4 -9
- package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +5 -18
- package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +3 -10
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +12 -16
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +4 -13
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +8 -14
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js +4 -14
- package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
- package/dist/module/features/chatbot/components/Chatbot.js +2 -5
- package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +3 -3
- package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
- package/dist/module/features/chatbot/constants.js +0 -35
- package/dist/module/features/chatbot/constants.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -9
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/module/features/chatbot/index.js +0 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +37 -65
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js +8 -3
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js +0 -9
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js +0 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/module/features/chatbot/model/translation.js +1 -9
- package/dist/module/features/chatbot/model/translation.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -3
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/features/feedback/model/comments.js +3 -5
- package/dist/module/features/feedback/model/comments.js.map +1 -1
- package/dist/module/features/feedback/model/model.js +9 -7
- package/dist/module/features/feedback/model/model.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +4 -5
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +10 -13
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/module/features/problemSelector/constants.js +5 -2
- package/dist/module/features/problemSelector/constants.js.map +1 -1
- package/dist/module/index.js +0 -3
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/effector/createControllerEffect.js.map +1 -1
- package/dist/module/shared/icons/LockIcon.js +23 -0
- package/dist/module/shared/icons/LockIcon.js.map +1 -0
- package/dist/module/shared/translation/constants.js +1 -5
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/localization/en.json +0 -11
- package/dist/module/shared/translation/localization/gb.json +0 -11
- package/dist/module/shared/translation/localization/sw.json +0 -11
- package/dist/module/shared/translation/types.js +0 -2
- package/dist/module/shared/translation/types.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
- package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +1 -2
- package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -5
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +1 -6
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -7
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts +1 -6
- 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 +1 -5
- 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 +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 +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +1 -3
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +3 -4
- package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts +0 -33
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +0 -4
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +0 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +2 -7
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +3 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +0 -5
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +2 -5
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/problemSelector/constants.d.ts +5 -2
- package/dist/typescript/commonjs/features/problemSelector/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +0 -3
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts +1 -1
- package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -99
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -22
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -3
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +1 -5
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts +1 -3
- package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +1 -2
- package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +1 -5
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +1 -6
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts +2 -7
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts +1 -6
- 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 +1 -5
- 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 +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 +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +1 -3
- package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +3 -4
- package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/constants.d.ts +0 -33
- package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +0 -4
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +0 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +2 -7
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +3 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +0 -5
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/translation.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts +2 -5
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/module/features/problemSelector/constants.d.ts +5 -2
- package/dist/typescript/module/features/problemSelector/constants.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +0 -3
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/effector/createControllerEffect.d.ts +1 -1
- package/dist/typescript/module/lib/effector/createControllerEffect.d.ts.map +1 -1
- package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/LockIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/LockIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/constants.d.ts +0 -99
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/model.d.ts +0 -22
- package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/types.d.ts +1 -3
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +1 -5
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -1
- package/package.json +7 -11
- package/src/features/chatbot/components/Alternatives/Alternatives.tsx +0 -6
- package/src/features/chatbot/components/Alternatives/HelpRequestOption.tsx +29 -28
- package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +1 -6
- package/src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx +4 -24
- package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +6 -39
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +3 -11
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +7 -28
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +5 -25
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +13 -24
- package/src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx +3 -13
- package/src/features/chatbot/components/Chatbot.tsx +2 -6
- package/src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx +10 -7
- package/src/features/chatbot/constants.ts +0 -37
- package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +1 -11
- package/src/features/chatbot/index.ts +0 -1
- package/src/features/chatbot/model/ChatBotModel.ts +41 -65
- package/src/features/chatbot/model/ChatBotThreadManager.ts +10 -4
- package/src/features/chatbot/model/ChatBoxTextManager.ts +0 -11
- package/src/features/chatbot/model/DefaultMessageCreator.ts +0 -1
- package/src/features/chatbot/model/translation.ts +1 -11
- package/src/features/chatbot/types/model.types.ts +2 -5
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +0 -3
- package/src/features/feedback/model/comments.ts +7 -7
- package/src/features/feedback/model/model.ts +6 -6
- package/src/features/formulaSheet/components/FormulaSheet.tsx +4 -6
- package/src/features/problemSelector/components/ProblemSelectorButton.tsx +10 -17
- package/src/features/problemSelector/constants.ts +2 -3
- package/src/index.ts +0 -3
- package/src/lib/effector/createControllerEffect.ts +41 -41
- package/src/lib/helpers/helpers.ts +1 -1
- package/src/shared/icons/LockIcon.tsx +16 -0
- package/src/shared/translation/constants.ts +0 -4
- package/src/shared/translation/localization/en.json +0 -11
- package/src/shared/translation/localization/gb.json +0 -11
- package/src/shared/translation/localization/sw.json +0 -11
- package/src/shared/translation/types.ts +0 -6
- package/src/shared/translation/validation.types.ts +1 -9
- package/dist/commonjs/features/chatbot/types/style.types.js +0 -12
- package/dist/commonjs/features/chatbot/types/style.types.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +0 -29
- package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/assets/grid.webp +0 -0
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -104
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/components/LavaIcon.js +0 -44
- package/dist/commonjs/features/exampleSolution/components/LavaIcon.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/components/MessageBlock.js +0 -61
- package/dist/commonjs/features/exampleSolution/components/MessageBlock.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -68
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -101
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/constants.js +0 -13
- package/dist/commonjs/features/exampleSolution/constants.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +0 -61
- package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/index.js +0 -39
- package/dist/commonjs/features/exampleSolution/index.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +0 -24
- package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +0 -32
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +0 -18
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +0 -1
- package/dist/commonjs/features/exampleSolution/types.js +0 -6
- package/dist/commonjs/features/exampleSolution/types.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/GifCelebrations.js +0 -62
- package/dist/commonjs/features/gifCelebrations/GifCelebrations.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/assets/confetti.webp +0 -0
- package/dist/commonjs/features/gifCelebrations/assets/gifFallback.gif +0 -0
- package/dist/commonjs/features/gifCelebrations/components/Backdrop.js +0 -44
- package/dist/commonjs/features/gifCelebrations/components/Backdrop.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js +0 -46
- package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/components/Gif.js +0 -90
- package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/components/Progress.js +0 -96
- package/dist/commonjs/features/gifCelebrations/components/Progress.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/constants.js +0 -34
- package/dist/commonjs/features/gifCelebrations/constants.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/helpers.js +0 -114
- package/dist/commonjs/features/gifCelebrations/helpers.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/index.js +0 -20
- package/dist/commonjs/features/gifCelebrations/index.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js +0 -136
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js +0 -27
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js +0 -30
- package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js.map +0 -1
- package/dist/commonjs/features/gifCelebrations/types/model.types.js +0 -6
- package/dist/commonjs/features/gifCelebrations/types/model.types.js.map +0 -1
- package/dist/commonjs/lib/effector/ControlledSample.js +0 -40
- package/dist/commonjs/lib/effector/ControlledSample.js.map +0 -1
- package/dist/commonjs/react-app-env.d.js +0 -2
- package/dist/commonjs/react-app-env.d.js.map +0 -1
- package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +0 -681
- package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/LavaIconInGlasses.js +0 -616
- package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +0 -1
- package/dist/commonjs/shared/icons/index.js +0 -204
- package/dist/commonjs/shared/icons/index.js.map +0 -1
- package/dist/commonjs/shared/translation/localization/ca.json +0 -33
- package/dist/commonjs/shared/translation/localization/sct.json +0 -33
- package/dist/commonjs/types/common.types.js +0 -2
- package/dist/commonjs/types/common.types.js.map +0 -1
- package/dist/module/features/chatbot/types/style.types.js +0 -8
- package/dist/module/features/chatbot/types/style.types.js.map +0 -1
- package/dist/module/features/exampleSolution/ExampleSolutionModal.js +0 -23
- package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +0 -1
- package/dist/module/features/exampleSolution/assets/grid.webp +0 -0
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -98
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +0 -1
- package/dist/module/features/exampleSolution/components/LavaIcon.js +0 -36
- package/dist/module/features/exampleSolution/components/LavaIcon.js.map +0 -1
- package/dist/module/features/exampleSolution/components/MessageBlock.js +0 -53
- package/dist/module/features/exampleSolution/components/MessageBlock.js.map +0 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -60
- package/dist/module/features/exampleSolution/components/QuestionSection.js.map +0 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -93
- package/dist/module/features/exampleSolution/components/SolutionSection.js.map +0 -1
- package/dist/module/features/exampleSolution/constants.js +0 -9
- package/dist/module/features/exampleSolution/constants.js.map +0 -1
- package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +0 -56
- package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +0 -1
- package/dist/module/features/exampleSolution/index.js +0 -6
- package/dist/module/features/exampleSolution/index.js.map +0 -1
- package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +0 -19
- package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +0 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +0 -27
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +0 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +0 -13
- package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +0 -1
- package/dist/module/features/exampleSolution/types.js +0 -4
- package/dist/module/features/exampleSolution/types.js.map +0 -1
- package/dist/module/features/gifCelebrations/GifCelebrations.js +0 -55
- package/dist/module/features/gifCelebrations/GifCelebrations.js.map +0 -1
- package/dist/module/features/gifCelebrations/assets/confetti.webp +0 -0
- package/dist/module/features/gifCelebrations/assets/gifFallback.gif +0 -0
- package/dist/module/features/gifCelebrations/components/Backdrop.js +0 -36
- package/dist/module/features/gifCelebrations/components/Backdrop.js.map +0 -1
- package/dist/module/features/gifCelebrations/components/ContentContainer.js +0 -38
- package/dist/module/features/gifCelebrations/components/ContentContainer.js.map +0 -1
- package/dist/module/features/gifCelebrations/components/Gif.js +0 -82
- package/dist/module/features/gifCelebrations/components/Gif.js.map +0 -1
- package/dist/module/features/gifCelebrations/components/Progress.js +0 -88
- package/dist/module/features/gifCelebrations/components/Progress.js.map +0 -1
- package/dist/module/features/gifCelebrations/constants.js +0 -30
- package/dist/module/features/gifCelebrations/constants.js.map +0 -1
- package/dist/module/features/gifCelebrations/helpers.js +0 -103
- package/dist/module/features/gifCelebrations/helpers.js.map +0 -1
- package/dist/module/features/gifCelebrations/index.js +0 -5
- package/dist/module/features/gifCelebrations/index.js.map +0 -1
- package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js +0 -131
- package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js.map +0 -1
- package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js +0 -22
- package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js.map +0 -1
- package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js +0 -25
- package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js.map +0 -1
- package/dist/module/features/gifCelebrations/types/model.types.js +0 -4
- package/dist/module/features/gifCelebrations/types/model.types.js.map +0 -1
- package/dist/module/lib/effector/ControlledSample.js +0 -35
- package/dist/module/lib/effector/ControlledSample.js.map +0 -1
- package/dist/module/react-app-env.d.js +0 -2
- package/dist/module/react-app-env.d.js.map +0 -1
- package/dist/module/shared/icons/ExcitedLavaIcon.js +0 -673
- package/dist/module/shared/icons/ExcitedLavaIcon.js.map +0 -1
- package/dist/module/shared/icons/LavaIconInGlasses.js +0 -608
- package/dist/module/shared/icons/LavaIconInGlasses.js.map +0 -1
- package/dist/module/shared/icons/index.js +0 -21
- package/dist/module/shared/icons/index.js.map +0 -1
- package/dist/module/shared/translation/localization/ca.json +0 -33
- package/dist/module/shared/translation/localization/sct.json +0 -33
- package/dist/module/types/common.types.js +0 -2
- package/dist/module/types/common.types.js.map +0 -1
- package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts +0 -5
- package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +0 -11
- package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +0 -8
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts +0 -10
- package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts +0 -10
- package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +0 -10
- package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +0 -9
- package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +0 -6
- package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +0 -9
- package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +0 -4
- package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +0 -10
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +0 -13
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +0 -11
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +0 -27
- package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts +0 -10
- package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts +0 -10
- package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts +0 -10
- package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts +0 -10
- package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts +0 -10
- package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts +0 -26
- package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +0 -29
- package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts +0 -3
- package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts +0 -25
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts +0 -7
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts +0 -18
- package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts +0 -45
- package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts +0 -17
- package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/index.d.ts +0 -19
- package/dist/typescript/commonjs/shared/icons/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/types/common.types.d.ts +0 -5
- package/dist/typescript/commonjs/types/common.types.d.ts.map +0 -1
- package/dist/typescript/module/features/chatbot/types/style.types.d.ts +0 -5
- package/dist/typescript/module/features/chatbot/types/style.types.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +0 -11
- package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +0 -8
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts +0 -10
- package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts +0 -10
- package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +0 -10
- package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +0 -9
- package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/constants.d.ts +0 -6
- package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +0 -9
- package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/index.d.ts +0 -4
- package/dist/typescript/module/features/exampleSolution/index.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +0 -10
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +0 -13
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +0 -11
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +0 -1
- package/dist/typescript/module/features/exampleSolution/types.d.ts +0 -27
- package/dist/typescript/module/features/exampleSolution/types.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts +0 -10
- package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts +0 -10
- package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts +0 -10
- package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts +0 -10
- package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts +0 -10
- package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/constants.d.ts +0 -26
- package/dist/typescript/module/features/gifCelebrations/constants.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +0 -29
- package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/index.d.ts +0 -3
- package/dist/typescript/module/features/gifCelebrations/index.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts +0 -25
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts +0 -7
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts +0 -18
- package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +0 -1
- package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts +0 -45
- package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts.map +0 -1
- package/dist/typescript/module/lib/effector/ControlledSample.d.ts +0 -17
- package/dist/typescript/module/lib/effector/ControlledSample.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +0 -4
- package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/index.d.ts +0 -19
- package/dist/typescript/module/shared/icons/index.d.ts.map +0 -1
- package/dist/typescript/module/types/common.types.d.ts +0 -5
- package/dist/typescript/module/types/common.types.d.ts.map +0 -1
- package/src/features/chatbot/types/style.types.ts +0 -4
- package/src/features/exampleSolution/ExampleSolutionModal.tsx +0 -23
- package/src/features/exampleSolution/assets/grid.webp +0 -0
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -83
- package/src/features/exampleSolution/components/LavaIcon.tsx +0 -35
- package/src/features/exampleSolution/components/MessageBlock.tsx +0 -67
- package/src/features/exampleSolution/components/QuestionSection.tsx +0 -60
- package/src/features/exampleSolution/components/SolutionSection.tsx +0 -112
- package/src/features/exampleSolution/constants.ts +0 -5
- package/src/features/exampleSolution/hooks/useExampleSolution.ts +0 -66
- package/src/features/exampleSolution/index.ts +0 -3
- package/src/features/exampleSolution/model/ExampleSolution.model.ts +0 -15
- package/src/features/exampleSolution/model/ExampleSolutionApi.ts +0 -33
- package/src/features/exampleSolution/model/ExampleSolutionCache.ts +0 -20
- package/src/features/exampleSolution/types.ts +0 -27
- package/src/features/gifCelebrations/GifCelebrations.tsx +0 -75
- package/src/features/gifCelebrations/assets/confetti.webp +0 -0
- package/src/features/gifCelebrations/assets/gifFallback.gif +0 -0
- package/src/features/gifCelebrations/components/Backdrop.tsx +0 -41
- package/src/features/gifCelebrations/components/ContentContainer.tsx +0 -44
- package/src/features/gifCelebrations/components/Gif.tsx +0 -88
- package/src/features/gifCelebrations/components/Progress.tsx +0 -106
- package/src/features/gifCelebrations/constants.ts +0 -32
- package/src/features/gifCelebrations/helpers.ts +0 -144
- package/src/features/gifCelebrations/index.ts +0 -2
- package/src/features/gifCelebrations/model/GifCelebrations.model.ts +0 -167
- package/src/features/gifCelebrations/model/GifCelebrationsApi.ts +0 -26
- package/src/features/gifCelebrations/model/GifCelebrationsCache.ts +0 -41
- package/src/features/gifCelebrations/types/model.types.ts +0 -53
- package/src/lib/effector/ControlledSample.ts +0 -40
- package/src/react-app-env.d.ts +0 -6
- package/src/shared/icons/ExcitedLavaIcon.tsx +0 -541
- package/src/shared/icons/LavaIconInGlasses.tsx +0 -489
- package/src/shared/icons/index.ts +0 -18
- package/src/shared/translation/localization/ca.json +0 -33
- package/src/shared/translation/localization/sct.json +0 -33
- package/src/types/common.types.ts +0 -4
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { DefaultMessagesCreator } from './DefaultMessageCreator';
|
|
2
|
-
import { TranslationKeys } from '../../../shared/translation/types';
|
|
3
1
|
import { ChatbotMessages } from '../types/model.types';
|
|
4
2
|
export declare class ChatBotTextManager {
|
|
5
3
|
private readonly messagesCreator;
|
|
6
4
|
readonly messages: ChatbotMessages;
|
|
7
|
-
private readonly defaultMessages;
|
|
8
|
-
update(cb: (manager: DefaultMessagesCreator<TranslationKeys>) => Partial<ChatbotMessages>): void;
|
|
9
|
-
restore(): void;
|
|
10
5
|
}
|
|
11
6
|
//# sourceMappingURL=ChatBoxTextManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatBoxTextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBoxTextManager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAEe;IAE/C,SAAgB,QAAQ,EAAE,eAAe,CAOxC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAA;CAC/B,CAAA;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAA;gBAEX,EAAE,UAAU,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAIlD,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAa,EAAE,OAAY,EAAE,GAAE,sBAA2B;IAWlF,YAAY,CAAC,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultMessageCreator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/DefaultMessageCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,KAAK,0BAA0B,CAAC,CA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AAuB,GAAG,IAAI,CAAC,CAAA;QAClD,MAAM,EAAE,KAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;KAC9C,CAAA;IACD,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAA;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAA;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAA;IAChC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAA;IAElC,QAAQ,CAAC,eAAe,yBAAyB;IACjD,QAAQ,CAAC,aAAa,4CAAuC;IAE7D,SAAgB,sBAAsB,gEAAA;IACtC,SAAgB,kBAAkB,iFAAA;gBAEtB,EACV,GAAG,EACH,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,KAAK,GACN,EAAE,uBAAuB;YAyCZ,gBAAgB;IAmB9B,OAAO,CAAC,4BAA4B;IAIpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAgDhC;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CA4BnC;IAEM,KAAK;CAGb"}
|
|
@@ -41,11 +41,8 @@ export type StartConversationProps = {
|
|
|
41
41
|
initOnly?: boolean;
|
|
42
42
|
};
|
|
43
43
|
export type StartConversationFxData = {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
messages: ConversationMessage[];
|
|
47
|
-
};
|
|
48
|
-
alternatives?: GetAlternativesResponse | null;
|
|
44
|
+
key: string;
|
|
45
|
+
messages: ConversationMessage[];
|
|
49
46
|
} & StartConversationProps;
|
|
50
47
|
export declare enum MessageVariant {
|
|
51
48
|
SENT = "sent",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"AAAA,OA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Aa,CAAC,GAAG;QAC7C,WAAW,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;KACnE,CAAA;IACD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC3C,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,cAAc,GAAG,IAAI,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAA;CACZ,GAAG,mBAAmB,CAAA;AAEvB,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,
|
|
1
|
+
{"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE/E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,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
{"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,
|
|
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,EAGL,SAAS,EAET,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAwBrB,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,6BA+BZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormulaSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAa,MAAM,OAAO,CAAA;AAE/D,OAAO,EAEL,WAAW,EACX,UAAU,EAIV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGlD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"FormulaSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAa,MAAM,OAAO,CAAA;AAE/D,OAAO,EAEL,WAAW,EACX,UAAU,EAIV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGlD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,4FAkDxB,CAAA"}
|
package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProblemSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/problemSelector/components/ProblemSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ProblemSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/features/problemSelector/components/ProblemSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAErD,eAAO,MAAM,qBAAqB,kDAM/B,0BAA0B,sBA+C5B,CAAA"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { ButtonColorPreset } from '@magmamath/react-native-ui';
|
|
2
2
|
import { ProblemSelectorButtonState } from './types';
|
|
3
|
-
export declare const BUTTON_SIZE = 49;
|
|
4
|
-
export declare const BUTTON_BORDER_WIDTH = 3;
|
|
3
|
+
export declare const BUTTON_SIZE = 49.5;
|
|
5
4
|
export declare const BADGE_COORDINATES: {
|
|
6
5
|
top: number;
|
|
7
6
|
right: number;
|
|
8
7
|
};
|
|
8
|
+
export declare const ICON_SIZE: {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
9
12
|
export declare const PROBLEM_SELECTOR_CONTENT_WIDTH = 265;
|
|
10
13
|
export declare const PROBLEM_SELECTOR_BUTTON_STATE: {
|
|
11
14
|
readonly SELECTED: "selected";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/problemSelector/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwB,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/problemSelector/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwB,MAAM,4BAA4B,CAAA;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpD,eAAO,MAAM,WAAW,OAAO,CAAA;AAC/B,eAAO,MAAM,iBAAiB;;;CAAuB,CAAA;AACrD,eAAO,MAAM,SAAS;;;CAA4B,CAAA;AAClD,eAAO,MAAM,8BAA8B,MAAM,CAAA;AAEjD,eAAO,MAAM,6BAA6B;;;;;;;;CAQhC,CAAA;AASV,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,0BAA0B,EAAE,iBAAiB,CAgFlF,CAAA"}
|
|
@@ -6,7 +6,4 @@ export * from './features/celebrations';
|
|
|
6
6
|
export * from './features/endOfAssignment';
|
|
7
7
|
export * from './features/formulaSheet';
|
|
8
8
|
export * from './features/problemSelector';
|
|
9
|
-
export * from './features/gifCelebrations';
|
|
10
|
-
export * from './features/exampleSolution';
|
|
11
|
-
export * from './shared/icons';
|
|
12
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA"}
|
|
@@ -11,6 +11,6 @@ type RequestOptionalConfig = {
|
|
|
11
11
|
signal?: AbortSignal;
|
|
12
12
|
};
|
|
13
13
|
export declare function controlledRequest<R = void, P = void>(request: (props: P, config?: RequestOptionalConfig) => Promise<R>): ({ data, controller, abortAfter, }: ControlledRequestProps<P>) => Promise<R>;
|
|
14
|
-
export declare const createControllerEffect: <T, P
|
|
14
|
+
export declare const createControllerEffect: <T, P>(fn: (props: P, config?: RequestOptionalConfig) => Promise<T>) => ControlledEffect<P, T>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=createControllerEffect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"createControllerEffect.d.ts","sourceRoot":"","sources":["../../../../../src/lib/effector/createControllerEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAMpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAChD,UAAU,EAAE,eAAe,CAAA;CAC9B,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC7B,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAErD,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,IAAI,EAChD,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,uCAM9D,sBAAsB,CAAC,CAAC,CAAC,gBAwB/B;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,EAAE,CAAC,MACnC,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB,KAAK,OAAO,CAAC,CAAC,CAAC,2BAa/D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAC;AAE7B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAuB7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LockIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/LockIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,eAAO,MAAM,QAAQ,6BAA2D,SAAS,sBASxF,CAAA"}
|
|
@@ -20,17 +20,6 @@ export declare const LOCALIZATION_CONFIGS: {
|
|
|
20
20
|
howCanIHelp: string;
|
|
21
21
|
showError: string;
|
|
22
22
|
};
|
|
23
|
-
gifCelebrations: {
|
|
24
|
-
greatStart: string;
|
|
25
|
-
onTheWay: string;
|
|
26
|
-
almostThere: string;
|
|
27
|
-
};
|
|
28
|
-
exampleSolution: {
|
|
29
|
-
exampleSolution: string;
|
|
30
|
-
letMeThink: string;
|
|
31
|
-
aha: string;
|
|
32
|
-
errorMessage: string;
|
|
33
|
-
};
|
|
34
23
|
};
|
|
35
24
|
"en-GB": {
|
|
36
25
|
"teacherFeedback.noComments": string;
|
|
@@ -53,17 +42,6 @@ export declare const LOCALIZATION_CONFIGS: {
|
|
|
53
42
|
howCanIHelp: string;
|
|
54
43
|
showError: string;
|
|
55
44
|
};
|
|
56
|
-
gifCelebrations: {
|
|
57
|
-
greatStart: string;
|
|
58
|
-
onTheWay: string;
|
|
59
|
-
almostThere: string;
|
|
60
|
-
};
|
|
61
|
-
exampleSolution: {
|
|
62
|
-
exampleSolution: string;
|
|
63
|
-
letMeThink: string;
|
|
64
|
-
aha: string;
|
|
65
|
-
errorMessage: string;
|
|
66
|
-
};
|
|
67
45
|
};
|
|
68
46
|
"sv-SE": {
|
|
69
47
|
"teacherFeedback.noComments": string;
|
|
@@ -86,83 +64,6 @@ export declare const LOCALIZATION_CONFIGS: {
|
|
|
86
64
|
howCanIHelp: string;
|
|
87
65
|
showError: string;
|
|
88
66
|
};
|
|
89
|
-
gifCelebrations: {
|
|
90
|
-
greatStart: string;
|
|
91
|
-
onTheWay: string;
|
|
92
|
-
almostThere: string;
|
|
93
|
-
};
|
|
94
|
-
exampleSolution: {
|
|
95
|
-
exampleSolution: string;
|
|
96
|
-
letMeThink: string;
|
|
97
|
-
aha: string;
|
|
98
|
-
errorMessage: string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
"en-CA": {
|
|
102
|
-
"teacherFeedback.noComments": string;
|
|
103
|
-
"time.justNow": string;
|
|
104
|
-
"time.minuteAgo": string;
|
|
105
|
-
"time.minutesAgo": string;
|
|
106
|
-
"time.hourAgo": string;
|
|
107
|
-
"time.hoursAgo": string;
|
|
108
|
-
"time.dayAgo": string;
|
|
109
|
-
"time.daysAgo": string;
|
|
110
|
-
"time.monthAgo": string;
|
|
111
|
-
"time.monthsAgo": string;
|
|
112
|
-
"time.yearAgo": string;
|
|
113
|
-
"time.yearsAgo": string;
|
|
114
|
-
chat: {
|
|
115
|
-
anotherHint: string;
|
|
116
|
-
giveHint: string;
|
|
117
|
-
answerAgain: string;
|
|
118
|
-
errorMessage: string;
|
|
119
|
-
howCanIHelp: string;
|
|
120
|
-
showError: string;
|
|
121
|
-
};
|
|
122
|
-
gifCelebrations: {
|
|
123
|
-
greatStart: string;
|
|
124
|
-
onTheWay: string;
|
|
125
|
-
almostThere: string;
|
|
126
|
-
};
|
|
127
|
-
exampleSolution: {
|
|
128
|
-
exampleSolution: string;
|
|
129
|
-
letMeThink: string;
|
|
130
|
-
aha: string;
|
|
131
|
-
errorMessage: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
"en-SCT": {
|
|
135
|
-
"teacherFeedback.noComments": string;
|
|
136
|
-
"time.justNow": string;
|
|
137
|
-
"time.minuteAgo": string;
|
|
138
|
-
"time.minutesAgo": string;
|
|
139
|
-
"time.hourAgo": string;
|
|
140
|
-
"time.hoursAgo": string;
|
|
141
|
-
"time.dayAgo": string;
|
|
142
|
-
"time.daysAgo": string;
|
|
143
|
-
"time.monthAgo": string;
|
|
144
|
-
"time.monthsAgo": string;
|
|
145
|
-
"time.yearAgo": string;
|
|
146
|
-
"time.yearsAgo": string;
|
|
147
|
-
chat: {
|
|
148
|
-
anotherHint: string;
|
|
149
|
-
giveHint: string;
|
|
150
|
-
answerAgain: string;
|
|
151
|
-
errorMessage: string;
|
|
152
|
-
howCanIHelp: string;
|
|
153
|
-
showError: string;
|
|
154
|
-
};
|
|
155
|
-
gifCelebrations: {
|
|
156
|
-
greatStart: string;
|
|
157
|
-
onTheWay: string;
|
|
158
|
-
almostThere: string;
|
|
159
|
-
};
|
|
160
|
-
exampleSolution: {
|
|
161
|
-
exampleSolution: string;
|
|
162
|
-
letMeThink: string;
|
|
163
|
-
aha: string;
|
|
164
|
-
errorMessage: string;
|
|
165
|
-
};
|
|
166
67
|
};
|
|
167
68
|
};
|
|
168
69
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA"}
|
|
@@ -21,17 +21,6 @@ export declare const setLocalization: import("effector").EventCallable<{
|
|
|
21
21
|
howCanIHelp: string;
|
|
22
22
|
showError: string;
|
|
23
23
|
};
|
|
24
|
-
gifCelebrations: {
|
|
25
|
-
greatStart: string;
|
|
26
|
-
onTheWay: string;
|
|
27
|
-
almostThere: string;
|
|
28
|
-
};
|
|
29
|
-
exampleSolution: {
|
|
30
|
-
exampleSolution: string;
|
|
31
|
-
letMeThink: string;
|
|
32
|
-
aha: string;
|
|
33
|
-
errorMessage: string;
|
|
34
|
-
};
|
|
35
24
|
} | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
|
|
36
25
|
export declare const $localization: import("effector").StoreWritable<{
|
|
37
26
|
"teacherFeedback.noComments": string;
|
|
@@ -54,16 +43,5 @@ export declare const $localization: import("effector").StoreWritable<{
|
|
|
54
43
|
howCanIHelp: string;
|
|
55
44
|
showError: string;
|
|
56
45
|
};
|
|
57
|
-
gifCelebrations: {
|
|
58
|
-
greatStart: string;
|
|
59
|
-
onTheWay: string;
|
|
60
|
-
almostThere: string;
|
|
61
|
-
};
|
|
62
|
-
exampleSolution: {
|
|
63
|
-
exampleSolution: string;
|
|
64
|
-
letMeThink: string;
|
|
65
|
-
aha: string;
|
|
66
|
-
errorMessage: string;
|
|
67
|
-
};
|
|
68
46
|
}>;
|
|
69
47
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAGnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA;AAE5F,oBAAY,MAAM;IAChB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;CACb"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import enTranslations from './localization/en.json';
|
|
2
2
|
import swTranslations from './localization/sw.json';
|
|
3
3
|
import gbTranslations from './localization/gb.json';
|
|
4
|
-
import caTranslations from './localization/ca.json';
|
|
5
|
-
import sctTranslations from './localization/sct.json';
|
|
6
4
|
type Extends<T, U> = T extends U ? true : false;
|
|
7
5
|
type ExtendsAll<Candidate, Types extends unknown[]> = Types extends [infer Head, ...infer Tail] ? Extends<Candidate, Head> extends true ? ExtendsAll<Candidate, Tail> : false : true;
|
|
8
6
|
type FindDominantType<Types extends unknown[]> = Types extends [
|
|
@@ -12,9 +10,7 @@ type FindDominantType<Types extends unknown[]> = Types extends [
|
|
|
12
10
|
type DominantTranslation = FindDominantType<[
|
|
13
11
|
typeof enTranslations,
|
|
14
12
|
typeof swTranslations,
|
|
15
|
-
typeof gbTranslations
|
|
16
|
-
typeof caTranslations,
|
|
17
|
-
typeof sctTranslations
|
|
13
|
+
typeof gbTranslations
|
|
18
14
|
]>;
|
|
19
15
|
export type ISValidTranslation<T extends DominantTranslation> = T;
|
|
20
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAEnD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IAAC,OAAO,cAAc;IAAE,OAAO,cAAc;IAAE,OAAO,cAAc;CAAC,CACtE,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magmamath/students-features",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Magmamath features library",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -17,21 +17,19 @@
|
|
|
17
17
|
"prepare": "bob build",
|
|
18
18
|
"release": "release-it"
|
|
19
19
|
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"effector": "^23.2.3",
|
|
22
|
+
"effector-react": "^23.2.1"
|
|
23
|
+
},
|
|
20
24
|
"peerDependencies": {
|
|
21
25
|
"@magmamath/react-native-ui": "*",
|
|
22
|
-
"effector": "^23.2.3",
|
|
23
|
-
"effector-react": "^23.2.1",
|
|
24
26
|
"react": "*",
|
|
25
27
|
"react-native": "*",
|
|
26
28
|
"react-native-reanimated": ">=0.3.16",
|
|
27
|
-
"react-native-svg": "^15.10.0"
|
|
28
|
-
"react-native-gesture-handler": "*",
|
|
29
|
-
"react-native-modalfy": "*"
|
|
29
|
+
"react-native-svg": "^15.10.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@magmamath/react-native-ui": "0.4.
|
|
33
|
-
"effector": "^23.2.3",
|
|
34
|
-
"effector-react": "^23.2.1",
|
|
32
|
+
"@magmamath/react-native-ui": "0.4.17",
|
|
35
33
|
"@react-native/eslint-config": "^0.73.1",
|
|
36
34
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
37
35
|
"@types/jest": "^29.5.5",
|
|
@@ -47,8 +45,6 @@
|
|
|
47
45
|
"react-native-builder-bob": "^0.33.3",
|
|
48
46
|
"react-native-reanimated": "^3.17.2",
|
|
49
47
|
"react-native-svg": "^15.10.0",
|
|
50
|
-
"react-native-gesture-handler": "^2.28.0",
|
|
51
|
-
"react-native-modalfy": "^3.7.0",
|
|
52
48
|
"release-it": "^17.10.0",
|
|
53
49
|
"typescript": "^5.2.2"
|
|
54
50
|
},
|
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
3
|
import { useStoreMap, useUnit } from 'effector-react'
|
|
4
|
-
|
|
5
4
|
import { HelpRequestOption } from './HelpRequestOption'
|
|
6
5
|
import { useChatModel } from '../../context/ChatBotModelContext'
|
|
7
|
-
import { ColorScheme } from '../../types/style.types'
|
|
8
|
-
import { CONTROLS_COLORS_MAP } from '../../constants'
|
|
9
6
|
|
|
10
7
|
type AlternativesProps = {
|
|
11
8
|
onPressAlternative: (message: string, translatedMessage?: string) => void
|
|
12
9
|
hasMessages: boolean
|
|
13
10
|
isHintFeedback: boolean
|
|
14
|
-
colorScheme?: ColorScheme
|
|
15
11
|
}
|
|
16
12
|
|
|
17
13
|
export const Alternatives = ({
|
|
18
14
|
onPressAlternative,
|
|
19
15
|
hasMessages,
|
|
20
16
|
isHintFeedback,
|
|
21
|
-
colorScheme = ColorScheme.Blue,
|
|
22
17
|
}: AlternativesProps) => {
|
|
23
18
|
const model = useChatModel()
|
|
24
19
|
const isTranslated = useUnit(model.translation.$isTranslated)
|
|
@@ -43,7 +38,6 @@ export const Alternatives = ({
|
|
|
43
38
|
onPress={() => onPressAlternative(text, translatedText)}
|
|
44
39
|
message={isTranslated ? (translatedText as string) : text}
|
|
45
40
|
disabled={isTranslationPending}
|
|
46
|
-
hoverColor={CONTROLS_COLORS_MAP[colorScheme].hover}
|
|
47
41
|
/>
|
|
48
42
|
))}
|
|
49
43
|
</View>
|
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { useEffect, useRef, useState } from 'react'
|
|
3
|
+
import { Animated, Platform, Pressable, StyleSheet } from 'react-native'
|
|
4
4
|
import { ArrowRightIcon } from '../../../../shared/icons/ArrowRightIcon'
|
|
5
5
|
|
|
6
|
+
const transitionColor = (isHovered: boolean, value: Animated.Value) =>
|
|
7
|
+
Animated.timing(value, {
|
|
8
|
+
toValue: isHovered ? 1 : 0,
|
|
9
|
+
duration: 200,
|
|
10
|
+
useNativeDriver: Platform.OS !== 'web',
|
|
11
|
+
}).start()
|
|
12
|
+
|
|
6
13
|
type HelpRequestOptionProps = {
|
|
7
14
|
onPress: () => void
|
|
8
15
|
message: string
|
|
9
16
|
disabled: boolean
|
|
10
|
-
hoverColor?: string
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
export const HelpRequestOption = ({
|
|
14
20
|
onPress,
|
|
15
21
|
message,
|
|
16
22
|
disabled = false,
|
|
17
|
-
hoverColor = COLORS.PRIMARY_BLUE,
|
|
18
23
|
}: HelpRequestOptionProps) => {
|
|
19
24
|
const [isHovered, setIsHovered] = useState(false)
|
|
20
|
-
const hoverAnim = useRef(new Animated.Value(0)).current
|
|
21
25
|
|
|
22
|
-
const backgroundColor =
|
|
26
|
+
const backgroundColor = useRef(new Animated.Value(0)).current
|
|
27
|
+
const backgroundInterpolation = backgroundColor.interpolate({
|
|
23
28
|
inputRange: [0, 1],
|
|
24
|
-
outputRange: [
|
|
29
|
+
outputRange: ['#FFFFFF', '#55ABE0'],
|
|
25
30
|
})
|
|
26
|
-
|
|
31
|
+
|
|
32
|
+
const textColor = useRef(new Animated.Value(0)).current
|
|
33
|
+
const textInterpolation = textColor.interpolate({
|
|
27
34
|
inputRange: [0, 1],
|
|
28
|
-
outputRange: [
|
|
35
|
+
outputRange: ['#33334D', '#FFFFFF'],
|
|
29
36
|
})
|
|
30
37
|
|
|
31
38
|
useEffect(() => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
useNativeDriver: false,
|
|
36
|
-
}).start()
|
|
37
|
-
}, [isHovered, hoverAnim])
|
|
39
|
+
transitionColor(isHovered, backgroundColor)
|
|
40
|
+
transitionColor(isHovered, textColor)
|
|
41
|
+
}, [isHovered])
|
|
38
42
|
|
|
39
43
|
return (
|
|
40
44
|
<Pressable
|
|
@@ -43,16 +47,12 @@ export const HelpRequestOption = ({
|
|
|
43
47
|
onPress={onPress}
|
|
44
48
|
style={styles.button}
|
|
45
49
|
disabled={disabled}
|
|
46
|
-
accessibilityState={{ disabled }}
|
|
47
|
-
accessibilityRole="button"
|
|
48
50
|
>
|
|
49
|
-
<Animated.View
|
|
50
|
-
style={[styles.
|
|
51
|
-
>
|
|
52
|
-
<Animated.Text numberOfLines={1} style={[styles.text, { color: textColor }]}>
|
|
51
|
+
<Animated.View style={[styles.textWrapper, { backgroundColor: backgroundInterpolation }]}>
|
|
52
|
+
<Animated.Text numberOfLines={1} style={[styles.text, { color: textInterpolation }]}>
|
|
53
53
|
{message}
|
|
54
54
|
</Animated.Text>
|
|
55
|
-
<ArrowRightIcon color={isHovered ?
|
|
55
|
+
<ArrowRightIcon color={isHovered ? '#FFFFFF' : '#33334D'} />
|
|
56
56
|
</Animated.View>
|
|
57
57
|
</Pressable>
|
|
58
58
|
)
|
|
@@ -68,8 +68,8 @@ const styles = StyleSheet.create({
|
|
|
68
68
|
text: {
|
|
69
69
|
fontSize: 20,
|
|
70
70
|
fontWeight: 400,
|
|
71
|
-
fontFamily:
|
|
72
|
-
color:
|
|
71
|
+
fontFamily: 'Buenos Aires',
|
|
72
|
+
color: '#33334D',
|
|
73
73
|
},
|
|
74
74
|
textWrapper: {
|
|
75
75
|
flex: 1,
|
|
@@ -77,15 +77,16 @@ const styles = StyleSheet.create({
|
|
|
77
77
|
alignItems: 'center',
|
|
78
78
|
justifyContent: 'space-between',
|
|
79
79
|
maxWidth: 305,
|
|
80
|
-
paddingHorizontal:
|
|
81
|
-
paddingVertical:
|
|
80
|
+
paddingHorizontal: 16,
|
|
81
|
+
paddingVertical: 8,
|
|
82
82
|
borderWidth: 1,
|
|
83
83
|
borderRadius: 48,
|
|
84
|
+
borderColor: '#55ABE0',
|
|
84
85
|
elevation: 3,
|
|
85
86
|
shadowColor: '#333',
|
|
86
87
|
shadowOffset: { width: 0, height: 1 },
|
|
87
88
|
shadowOpacity: 0.25,
|
|
88
89
|
shadowRadius: 3,
|
|
89
|
-
backgroundColor:
|
|
90
|
+
backgroundColor: '#FFFFFF',
|
|
90
91
|
},
|
|
91
92
|
})
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react'
|
|
2
|
-
|
|
3
2
|
import { ReceivedMessage } from './ReceivedMessage'
|
|
4
3
|
import { SentMessage } from './SentMessage'
|
|
5
4
|
import { T2SState } from '../../types/t2s.types'
|
|
6
5
|
import { MessageVariant } from '../../types/model.types'
|
|
7
6
|
import { ConversationMessage } from '../../types/units.types'
|
|
8
|
-
import { ColorScheme } from '../../types/style.types'
|
|
9
7
|
|
|
10
8
|
type ChatMessageProps = {
|
|
11
9
|
variant: MessageVariant
|
|
12
10
|
message: ConversationMessage
|
|
13
|
-
t2sState: T2SState
|
|
14
11
|
isTranslated?: boolean
|
|
15
|
-
|
|
16
|
-
withIcon?: boolean
|
|
17
|
-
colorScheme?: ColorScheme
|
|
12
|
+
t2sState: T2SState
|
|
18
13
|
}
|
|
19
14
|
|
|
20
15
|
export type VariantProps = Omit<ChatMessageProps, 'variant'>
|
|
@@ -1,43 +1,23 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
|
-
import { IS_WEB } from '@magmamath/react-native-ui'
|
|
4
|
-
|
|
5
3
|
import { ErrorSpottingButton } from '../../errorSpotting/ErrorSpottingButton'
|
|
6
4
|
import { MessageTextToSpeech } from './MessageTextToSpeech'
|
|
7
5
|
import { ConversationMessage } from '../../types/units.types'
|
|
8
|
-
|
|
6
|
+
import { IS_WEB } from '@magmamath/react-native-ui'
|
|
9
7
|
import { T2SState } from '../../types/t2s.types'
|
|
10
|
-
import { ColorScheme } from '../../types/style.types'
|
|
11
|
-
import { MessageVariant } from '../../types/model.types'
|
|
12
8
|
|
|
13
9
|
type MessageButtonsBlockProps = {
|
|
14
10
|
t2sState: T2SState
|
|
15
11
|
message: ConversationMessage
|
|
16
|
-
variant: MessageVariant
|
|
17
|
-
colorScheme?: ColorScheme
|
|
18
|
-
withErrorSpotting?: boolean
|
|
19
12
|
}
|
|
20
13
|
|
|
21
|
-
export const MessageButtonsBlock = ({
|
|
22
|
-
t2sState,
|
|
23
|
-
message,
|
|
24
|
-
variant,
|
|
25
|
-
colorScheme,
|
|
26
|
-
withErrorSpotting,
|
|
27
|
-
}: MessageButtonsBlockProps) => {
|
|
14
|
+
export const MessageButtonsBlock = ({ t2sState, message }: MessageButtonsBlockProps) => {
|
|
28
15
|
if (!t2sState.isEnabled && !message.isInitial) return null
|
|
29
16
|
|
|
30
17
|
return (
|
|
31
18
|
<View style={styles.container}>
|
|
32
|
-
{
|
|
33
|
-
{t2sState.isEnabled &&
|
|
34
|
-
<MessageTextToSpeech
|
|
35
|
-
state={t2sState}
|
|
36
|
-
message={message}
|
|
37
|
-
variant={variant}
|
|
38
|
-
colorScheme={colorScheme}
|
|
39
|
-
/>
|
|
40
|
-
)}
|
|
19
|
+
{!!message.isInitial && <ErrorSpottingButton contextMessage={message} />}
|
|
20
|
+
{t2sState.isEnabled && <MessageTextToSpeech state={t2sState} message={message} />}
|
|
41
21
|
</View>
|
|
42
22
|
)
|
|
43
23
|
}
|