@magmamath/students-features 1.6.0-rc.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/chatbot/components/Chat/AIAvatar.js +33 -0
- package/dist/commonjs/features/chatbot/components/Chat/AIAvatar.js.map +1 -0
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js +22 -8
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatbotAvatar.js +44 -0
- package/dist/commonjs/features/chatbot/components/Chat/ChatbotAvatar.js.map +1 -0
- package/dist/commonjs/features/chatbot/components/Chat/MessageItem.js +2 -0
- package/dist/commonjs/features/chatbot/components/Chat/MessageItem.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +15 -19
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatLauncher.js +42 -0
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatLauncher.js.map +1 -0
- package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +15 -10
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chatbot.js +11 -7
- package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/commonjs/features/chatbot/constants.js +18 -5
- package/dist/commonjs/features/chatbot/constants.js.map +1 -1
- package/dist/commonjs/features/chatbot/helpers.js +6 -1
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js +34 -0
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +13 -10
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +9 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/fluency/components/Fluency.js +12 -6
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -1
- package/dist/commonjs/features/fluency/components/FluencyStatusOverlay.js +101 -0
- package/dist/commonjs/features/fluency/components/FluencyStatusOverlay.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js +13 -5
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyModel.js +21 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/commonjs/features/fluency/shared/fluency.constants.js +6 -1
- package/dist/commonjs/features/fluency/shared/fluency.constants.js.map +1 -1
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js +3 -1
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js.map +1 -1
- package/dist/commonjs/features/pmProgress/model/PmProgressModel.js +7 -1
- package/dist/commonjs/features/pmProgress/model/PmProgressModel.js.map +1 -1
- package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js +20 -4
- package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +22 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +4 -2
- package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/{ChatbotIcon.js → LavaIcon.js} +8 -8
- package/dist/commonjs/shared/icons/LavaIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/LavaIconInGlasses.js +4 -4
- package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +1 -1
- package/dist/commonjs/shared/icons/index.js +4 -4
- package/dist/commonjs/shared/icons/index.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/AIAvatar.js +27 -0
- package/dist/module/features/chatbot/components/Chat/AIAvatar.js.map +1 -0
- package/dist/module/features/chatbot/components/Chat/Chat.js +23 -9
- package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatbotAvatar.js +38 -0
- package/dist/module/features/chatbot/components/Chat/ChatbotAvatar.js.map +1 -0
- package/dist/module/features/chatbot/components/Chat/MessageItem.js +2 -0
- package/dist/module/features/chatbot/components/Chat/MessageItem.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +17 -21
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatLauncher.js +36 -0
- package/dist/module/features/chatbot/components/ChatControls/ChatLauncher.js.map +1 -0
- package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +16 -11
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/Chatbot.js +11 -7
- package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/module/features/chatbot/constants.js +17 -4
- package/dist/module/features/chatbot/constants.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +5 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js +4 -0
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +14 -11
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +10 -2
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/fluency/components/Fluency.js +14 -8
- package/dist/module/features/fluency/components/Fluency.js.map +1 -1
- package/dist/module/features/fluency/components/FluencyStatusOverlay.js +95 -0
- package/dist/module/features/fluency/components/FluencyStatusOverlay.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js +13 -5
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyModel.js +22 -1
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/module/features/fluency/shared/fluency.constants.js +5 -0
- package/dist/module/features/fluency/shared/fluency.constants.js.map +1 -1
- package/dist/module/features/fluency/shared/fluency.helpers.js +1 -0
- package/dist/module/features/fluency/shared/fluency.helpers.js.map +1 -1
- package/dist/module/features/pmProgress/model/PmProgressModel.js +7 -1
- package/dist/module/features/pmProgress/model/PmProgressModel.js.map +1 -1
- package/dist/module/features/pmProgress/model/PmRecommendationsModel.js +20 -4
- package/dist/module/features/pmProgress/model/PmRecommendationsModel.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +20 -0
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/module/shared/icons/ExcitedLavaIcon.js +4 -2
- package/dist/module/shared/icons/ExcitedLavaIcon.js.map +1 -1
- package/dist/module/shared/icons/{ChatbotIcon.js → LavaIcon.js} +6 -6
- package/dist/module/shared/icons/LavaIcon.js.map +1 -0
- package/dist/module/shared/icons/LavaIconInGlasses.js +4 -4
- package/dist/module/shared/icons/LavaIconInGlasses.js.map +1 -1
- package/dist/module/shared/icons/index.js +1 -1
- package/dist/module/shared/icons/index.js.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/helpers.d.ts +1 -1
- package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/AIAvatar.d.ts +4 -0
- package/dist/typescript/commonjs/features/chatbot/components/Chat/AIAvatar.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts +3 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatbotAvatar.d.ts +9 -0
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatbotAvatar.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/components/Chat/MessageItem.d.ts +3 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/MessageItem.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts +8 -10
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatLauncher.d.ts +10 -0
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatLauncher.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +2 -0
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.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/Chatbot.d.ts +4 -6
- package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts +15 -4
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts +2 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +5 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/chat.types.d.ts +3 -0
- package/dist/typescript/commonjs/features/chatbot/types/chat.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts +2 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.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/types.d.ts +1 -0
- package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/FluencyStatusOverlay.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencyStatusOverlay.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts +2 -2
- package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts +9 -38
- package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -0
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/LavaIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/LavaIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +2 -2
- package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/index.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/index.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/helpers.d.ts +1 -1
- package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/AIAvatar.d.ts +4 -0
- package/dist/typescript/module/features/chatbot/components/Chat/AIAvatar.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts +3 -1
- package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/ChatbotAvatar.d.ts +9 -0
- package/dist/typescript/module/features/chatbot/components/Chat/ChatbotAvatar.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/components/Chat/MessageItem.d.ts +3 -1
- package/dist/typescript/module/features/chatbot/components/Chat/MessageItem.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts +8 -10
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatLauncher.d.ts +10 -0
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatLauncher.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +2 -0
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.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/Chatbot.d.ts +4 -6
- package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/constants.d.ts +15 -4
- package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts +2 -0
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +5 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/chat.types.d.ts +3 -0
- package/dist/typescript/module/features/chatbot/types/chat.types.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts +2 -1
- package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.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/types.d.ts +1 -0
- package/dist/typescript/module/features/endOfAssignment/types.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/FluencyStatusOverlay.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/FluencyStatusOverlay.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +3 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts +4 -0
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts +2 -2
- package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts +9 -38
- package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -0
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +1 -1
- package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/LavaIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/LavaIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +2 -2
- package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/index.d.ts +1 -1
- package/dist/typescript/module/shared/icons/index.d.ts.map +1 -1
- package/package.json +13 -20
- package/src/features/chatbot/components/Chat/AIAvatar.tsx +22 -0
- package/src/features/chatbot/components/Chat/Chat.tsx +30 -8
- package/src/features/chatbot/components/Chat/ChatbotAvatar.tsx +44 -0
- package/src/features/chatbot/components/Chat/MessageItem.tsx +4 -0
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +26 -21
- package/src/features/chatbot/components/ChatControls/ChatLauncher.tsx +44 -0
- package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +2 -0
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +27 -8
- package/src/features/chatbot/components/Chatbot.tsx +11 -7
- package/src/features/chatbot/constants.ts +18 -3
- package/src/features/chatbot/helpers.ts +14 -1
- package/src/features/chatbot/index.ts +10 -1
- package/src/features/chatbot/types/chat.types.ts +4 -0
- package/src/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.tsx +18 -8
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +12 -2
- package/src/features/endOfAssignment/types.ts +1 -0
- package/src/features/fluency/components/Fluency.tsx +17 -9
- package/src/features/fluency/components/FluencyStatusOverlay.tsx +101 -0
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +13 -5
- package/src/features/fluency/model/FluencyModel.ts +25 -1
- package/src/features/fluency/shared/fluency.constants.ts +5 -0
- package/src/features/fluency/shared/fluency.helpers.ts +3 -0
- package/src/features/pmProgress/model/PmProgressModel.ts +4 -1
- package/src/features/pmProgress/model/PmRecommendationsModel.ts +22 -6
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +33 -0
- package/src/i18n/.generated/schema.json +7 -3
- package/src/shared/icons/ExcitedLavaIcon.tsx +5 -1
- package/src/shared/icons/{ChatbotIcon.tsx → LavaIcon.tsx} +5 -3
- package/src/shared/icons/LavaIconInGlasses.tsx +5 -3
- package/src/shared/icons/index.ts +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +0 -37
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/ChatbotIcon.js.map +0 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js +0 -31
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +0 -1
- package/dist/module/shared/icons/ChatbotIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts +0 -7
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/ChatbotIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/ChatbotIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts +0 -7
- package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/ChatbotIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/ChatbotIcon.d.ts.map +0 -1
- package/src/features/chatbot/components/Chat/ChatIcon.tsx +0 -30
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { PmProgressApi } from './PmProgressApi';
|
|
2
2
|
import { Recommendations, TreeMappingResponse } from '../shared/pmProgress.types';
|
|
3
3
|
import { SolvingFlow } from '../shared/pmProgress.constants';
|
|
4
|
+
type FetchMagmaRecsParams = {
|
|
5
|
+
tree: TreeMappingResponse;
|
|
6
|
+
lockedGrades: number[];
|
|
7
|
+
};
|
|
4
8
|
export declare class PmRecommendationsModel {
|
|
5
9
|
private readonly api;
|
|
6
10
|
readonly reset: import("effector").EventCallable<void>;
|
|
@@ -30,30 +34,13 @@ export declare class PmRecommendationsModel {
|
|
|
30
34
|
limit: number;
|
|
31
35
|
total: number;
|
|
32
36
|
}, Error>;
|
|
33
|
-
readonly fetchMagmaRecsFx: import("effector").Effect<
|
|
34
|
-
items:
|
|
35
|
-
type: SolvingFlow;
|
|
36
|
-
_id: string;
|
|
37
|
-
nameTranslations: string;
|
|
38
|
-
shortDescriptionTranslations: string;
|
|
39
|
-
descriptionTranslations: string;
|
|
40
|
-
ability: {
|
|
41
|
-
functionName: string;
|
|
42
|
-
problemCount: number;
|
|
43
|
-
sectionId: string;
|
|
44
|
-
visibility: unknown[];
|
|
45
|
-
};
|
|
46
|
-
theory: {
|
|
47
|
-
languageCode: string;
|
|
48
|
-
theory: string;
|
|
49
|
-
}[];
|
|
50
|
-
difficulty: number;
|
|
51
|
-
}[];
|
|
37
|
+
readonly fetchMagmaRecsFx: import("effector").Effect<FetchMagmaRecsParams, {
|
|
38
|
+
items: import("../shared/pmProgress.types").Skill[];
|
|
52
39
|
offset: number;
|
|
53
40
|
limit: number;
|
|
54
41
|
total: number;
|
|
55
42
|
}, Error>;
|
|
56
|
-
readonly initRecommendationsFx: import("effector").Effect<
|
|
43
|
+
readonly initRecommendationsFx: import("effector").Effect<FetchMagmaRecsParams, [{
|
|
57
44
|
items: {
|
|
58
45
|
type: SolvingFlow;
|
|
59
46
|
_id: string;
|
|
@@ -76,28 +63,12 @@ export declare class PmRecommendationsModel {
|
|
|
76
63
|
limit: number;
|
|
77
64
|
total: number;
|
|
78
65
|
}, {
|
|
79
|
-
items:
|
|
80
|
-
type: SolvingFlow;
|
|
81
|
-
_id: string;
|
|
82
|
-
nameTranslations: string;
|
|
83
|
-
shortDescriptionTranslations: string;
|
|
84
|
-
descriptionTranslations: string;
|
|
85
|
-
ability: {
|
|
86
|
-
functionName: string;
|
|
87
|
-
problemCount: number;
|
|
88
|
-
sectionId: string;
|
|
89
|
-
visibility: unknown[];
|
|
90
|
-
};
|
|
91
|
-
theory: {
|
|
92
|
-
languageCode: string;
|
|
93
|
-
theory: string;
|
|
94
|
-
}[];
|
|
95
|
-
difficulty: number;
|
|
96
|
-
}[];
|
|
66
|
+
items: import("../shared/pmProgress.types").Skill[];
|
|
97
67
|
offset: number;
|
|
98
68
|
limit: number;
|
|
99
69
|
total: number;
|
|
100
70
|
}], Error>;
|
|
101
71
|
private fetchRecs;
|
|
102
72
|
}
|
|
73
|
+
export {};
|
|
103
74
|
//# sourceMappingURL=PmRecommendationsModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PmRecommendationsModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/pmProgress/model/PmRecommendationsModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,eAAe,EAAgB,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAC/F,OAAO,EAA+B,WAAW,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"PmRecommendationsModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/pmProgress/model/PmRecommendationsModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,eAAe,EAAgB,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAC/F,OAAO,EAA+B,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAGzF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,mBAAmB,CAAA;IACzB,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB,CAAA;AAID,qBAAa,sBAAsB;IAMrB,OAAO,CAAC,QAAQ,CAAC,GAAG;IALhC,SAAgB,KAAK,yCAAgB;IAErC,SAAgB,QAAQ,oDAA6D;IACrF,SAAgB,MAAM,oDAA6D;gBAEtD,GAAG,EAAE,aAAa;IAK/C,SAAgB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;cAIjC;IAED,SAAgB,gBAAgB;;;;;cAU/B;IAED,SAAgB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;eAMpC;IAED,OAAO,CAAC,SAAS,CAahB;CACF"}
|
|
@@ -72,6 +72,7 @@ export declare const startGradesFrom: (grades: Grade[], startGrade: number) => G
|
|
|
72
72
|
export declare const isFluencyDomain: (title: string) => boolean;
|
|
73
73
|
export declare const formatGradeName: (grade: number) => string;
|
|
74
74
|
export declare const formatGradeLabel: (grade: number, customLabelsMap?: GradeLabelsMap) => string;
|
|
75
|
+
export declare const filterLockedGradeRecs: (skills: Skill[], treeMapping: TreeMappingResponse["treeMapping"], lockedGrades: number[]) => Skill[];
|
|
75
76
|
export declare const getTreeGrades: (tree: TreeMappingResponse, user: User) => Grade[];
|
|
76
77
|
export {};
|
|
77
78
|
//# sourceMappingURL=pmProgress.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pmProgress.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/pmProgress/shared/pmProgress.helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAA;AAChG,OAA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AAqB,WACxB,KAAK,EAAE,eACF,mBAAmB,CAAC,aAAa,CAAC,gBACjC,MAAM,EAAE,KACrB,KAAK,EAQP,CAAA;AAED,eAAO,MAAM,aAAa,SAAU,mBAAmB,QAAQ,IAAI,KAAG,KAAK,EAgB1E,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconProps } from './icon.types';
|
|
3
|
-
export declare const ExcitedLavaIcon: ({
|
|
3
|
+
export declare const ExcitedLavaIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ExcitedLavaIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExcitedLavaIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/ExcitedLavaIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"ExcitedLavaIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/ExcitedLavaIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIxC,eAAO,MAAM,eAAe,aAAmB,SAAS,sBA0hBvD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LavaIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/LavaIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAItD,eAAO,MAAM,QAAQ,aAAmB,SAAS,sBAugBhD,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
3
|
-
export declare const LavaIconInGlasses: ({
|
|
2
|
+
import { IconProps } from '@magmamath/react-native-ui';
|
|
3
|
+
export declare const LavaIconInGlasses: ({ size }: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=LavaIconInGlasses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LavaIconInGlasses.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/LavaIconInGlasses.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"LavaIconInGlasses.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/LavaIconInGlasses.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAItD,eAAO,MAAM,iBAAiB,aAAmB,SAAS,sBA4dzD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,MAAM,CAAA;AACpB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ParticlesBatch } from './components/ParticleBatch';
|
|
2
2
|
import { CelebrationVariant } from './types';
|
|
3
3
|
export declare const randomRange: (min: number, max: number) => number;
|
|
4
|
-
export declare const getIconForCurrentDate: () => typeof import("../../shared/icons/
|
|
4
|
+
export declare const getIconForCurrentDate: () => typeof import("../../shared/icons/Pi").default;
|
|
5
5
|
export declare const generateParticle: (variant: CelebrationVariant) => ParticlesBatch[];
|
|
6
6
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/celebrations/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,eAAO,MAAM,WAAW,QAAS,MAAM,OAAO,MAAM,WAAsC,CAAA;AAgB1F,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/celebrations/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,eAAO,MAAM,WAAW,QAAS,MAAM,OAAO,MAAM,WAAsC,CAAA;AAgB1F,eAAO,MAAM,qBAAqB,sDAajC,CAAA;AAGD,eAAO,MAAM,gBAAgB,YAAa,kBAAkB,qBAmE3D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIAvatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/AIAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,eAAO,MAAM,QAAQ,aAA6B,WAAW,sBAM5D,CAAA"}
|
|
@@ -2,17 +2,19 @@ import React, { ComponentType, PropsWithChildren } from 'react';
|
|
|
2
2
|
import { ChatbotModel } from '../../model/ChatBotModel';
|
|
3
3
|
import { ColorScheme } from '../../types/style.types';
|
|
4
4
|
import { TTSHighlightRenderer } from '../../types/t2s.types';
|
|
5
|
+
import { ChatbotVariant } from '../../constants';
|
|
5
6
|
type ChatProps = {
|
|
6
7
|
model: ChatbotModel;
|
|
7
8
|
isHintFeedback: boolean;
|
|
8
9
|
isTextToSpeechEnabled: boolean;
|
|
9
10
|
isInputDisabled?: boolean;
|
|
11
|
+
chatbotVariant?: ChatbotVariant;
|
|
10
12
|
maxHeight?: number;
|
|
11
13
|
colorScheme?: ColorScheme;
|
|
12
14
|
MessageWrapper?: ComponentType<PropsWithChildren>;
|
|
13
15
|
TTSHighlightRenderer?: TTSHighlightRenderer;
|
|
14
16
|
onPressClose?: () => void;
|
|
15
17
|
};
|
|
16
|
-
export declare const Chat: ({ model, isHintFeedback, isTextToSpeechEnabled, isInputDisabled, maxHeight, colorScheme, MessageWrapper, TTSHighlightRenderer, onPressClose, }: ChatProps) => React.JSX.Element | null;
|
|
18
|
+
export declare const Chat: ({ model, isHintFeedback, isTextToSpeechEnabled, isInputDisabled, chatbotVariant, maxHeight, colorScheme, MessageWrapper, TTSHighlightRenderer, onPressClose, }: ChatProps) => React.JSX.Element | null;
|
|
17
19
|
export {};
|
|
18
20
|
//# sourceMappingURL=Chat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,aAAa,EACb,iBAAiB,EAKlB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,aAAa,EACb,iBAAiB,EAKlB,MAAM,OAAO,CAAA;AAOd,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAwB,cAAc,EAA0B,MAAM,iBAAiB,CAAA;AAW9F,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,cAAc,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IACjD,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAC3C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,IAAI,mKAWd,SAAS,6BAkHX,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChatbotAvatarVariant } from '../../constants';
|
|
3
|
+
import { AvatarProps } from '../../types/chat.types';
|
|
4
|
+
type ChatbotAvatarProps = AvatarProps & {
|
|
5
|
+
variant?: ChatbotAvatarVariant;
|
|
6
|
+
};
|
|
7
|
+
export declare const ChatbotAvatar: ({ variant, size, }: ChatbotAvatarProps) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ChatbotAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatbotAvatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/ChatbotAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAI5C,OAAO,EAAgB,oBAAoB,EAAkB,MAAM,iBAAiB,CAAA;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAiBpD,KAAK,kBAAkB,GAAG,WAAW,GAAG;IACtC,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,aAAa,uBAGvB,kBAAkB,sBAQpB,CAAA"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import React, { ComponentType, PropsWithChildren } from 'react';
|
|
2
2
|
import { ConversationMessage } from '../../types/units.types';
|
|
3
3
|
import { ColorScheme } from '../../types/style.types';
|
|
4
|
+
import { ChatbotVariant } from '../../constants';
|
|
4
5
|
import { TTSHighlightRenderer } from '../../types/t2s.types';
|
|
5
6
|
type MessageItemProps = {
|
|
6
7
|
message: ConversationMessage;
|
|
7
8
|
withIcon: boolean;
|
|
8
9
|
colorScheme: ColorScheme;
|
|
9
10
|
isInputDisabled?: boolean;
|
|
11
|
+
chatbotVariant?: ChatbotVariant;
|
|
10
12
|
isTextToSpeechEnabled: boolean;
|
|
11
13
|
shouldWrapMessage: boolean;
|
|
12
14
|
MessageWrapper?: ComponentType<PropsWithChildren>;
|
|
13
15
|
TTSHighlightRenderer?: TTSHighlightRenderer;
|
|
14
16
|
};
|
|
15
|
-
export declare const MessageItem: ({ message, withIcon, colorScheme, isInputDisabled, isTextToSpeechEnabled, shouldWrapMessage, MessageWrapper, TTSHighlightRenderer, }: MessageItemProps) => React.JSX.Element;
|
|
17
|
+
export declare const MessageItem: ({ message, withIcon, colorScheme, isInputDisabled, chatbotVariant, isTextToSpeechEnabled, shouldWrapMessage, MessageWrapper, TTSHighlightRenderer, }: MessageItemProps) => React.JSX.Element;
|
|
16
18
|
export {};
|
|
17
19
|
//# sourceMappingURL=MessageItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAI/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAI7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/Chat/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAI/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAI7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAG5D,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,WAAW,CAAA;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,qBAAqB,EAAE,OAAO,CAAA;IAC9B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IACjD,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,WAAW,yJAUrB,gBAAgB,sBAwClB,CAAA"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentType, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { ComponentType, PropsWithChildren } from 'react';
|
|
3
2
|
import { ChatbotModel } from '../../model/ChatBotModel';
|
|
3
|
+
import { ChatbotVariant } from '../../constants';
|
|
4
4
|
type ChatControlsProps = {
|
|
5
5
|
model: ChatbotModel;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
onPressChatLauncher: () => void;
|
|
7
|
+
onPressQuickAction?: () => void;
|
|
8
|
+
withQuickActionButton?: boolean;
|
|
9
9
|
ButtonWrapper?: ComponentType<PropsWithChildren>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
10
|
+
chatbotIconSize?: number;
|
|
11
|
+
chatbotVariant?: ChatbotVariant;
|
|
14
12
|
};
|
|
15
|
-
export declare const ChatControls: ({ model,
|
|
13
|
+
export declare const ChatControls: ({ model, onPressChatLauncher, onPressQuickAction, withQuickActionButton, ButtonWrapper, chatbotIconSize, chatbotVariant, }: ChatControlsProps) => React.JSX.Element | null;
|
|
16
14
|
export {};
|
|
17
15
|
//# sourceMappingURL=ChatControls.d.ts.map
|
package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatControls.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatControls/ChatControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ChatControls.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatControls/ChatControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAM/D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAGhD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,YAAY,CAAA;IACnB,mBAAmB,EAAE,MAAM,IAAI,CAAA;IAC/B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAChD,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,YAAY,+HAQtB,iBAAiB,6BAmCnB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChatbotVariant } from '../../constants';
|
|
3
|
+
type ChatLauncherProps = {
|
|
4
|
+
onPress: () => void;
|
|
5
|
+
variant?: ChatbotVariant;
|
|
6
|
+
iconSize?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const ChatLauncher: ({ onPress, variant, iconSize, }: ChatLauncherProps) => React.JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ChatLauncher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatLauncher.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatControls/ChatLauncher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,YAAY,oCAItB,iBAAiB,sBAoBnB,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { TTSHighlightRenderer, T2SState } from '../../types/t2s.types';
|
|
|
3
3
|
import { MessageVariant } from '../../types/model.types';
|
|
4
4
|
import { ConversationMessage } from '../../types/units.types';
|
|
5
5
|
import { ColorScheme } from '../../types/style.types';
|
|
6
|
+
import { ChatbotVariant } from '../../constants';
|
|
6
7
|
type ChatMessageProps = {
|
|
7
8
|
variant: MessageVariant;
|
|
8
9
|
message: ConversationMessage;
|
|
@@ -13,6 +14,7 @@ type ChatMessageProps = {
|
|
|
13
14
|
highlightedWordIndex?: number;
|
|
14
15
|
TTSHighlightRenderer?: TTSHighlightRenderer;
|
|
15
16
|
withIcon?: boolean;
|
|
17
|
+
chatbotVariant?: ChatbotVariant;
|
|
16
18
|
};
|
|
17
19
|
export type VariantProps = Omit<ChatMessageProps, 'variant'>;
|
|
18
20
|
export declare const ChatMessage: ({ variant, ...props }: ChatMessageProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ChatMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAI5C,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ChatMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAI5C,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,EAAE,QAAQ,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAA;AAO5D,eAAO,MAAM,WAAW,0BAA2B,gBAAgB,sBAGlE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VariantProps } from './ChatMessage';
|
|
3
|
-
export declare const ReceivedMessage: ({ message, isTranslated, t2sState, withIcon, colorScheme, withErrorSpotting, highlightedWordIndex, TTSHighlightRenderer, }: VariantProps) => React.JSX.Element;
|
|
3
|
+
export declare const ReceivedMessage: ({ message, isTranslated, t2sState, withIcon, chatbotVariant, colorScheme, withErrorSpotting, highlightedWordIndex, TTSHighlightRenderer, }: VariantProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ReceivedMessage.d.ts.map
|
package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReceivedMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ReceivedMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,eAAO,MAAM,eAAe,+IAUzB,YAAY,sBA8Bd,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentType, PropsWithChildren } from 'react';
|
|
2
2
|
import { ChatbotModel } from '../model/ChatBotModel';
|
|
3
|
-
import { AUDIO_CONFIG, DEFAULT_VOICE } from '../constants';
|
|
3
|
+
import { AUDIO_CONFIG, ChatbotVariant, DEFAULT_VOICE } from '../constants';
|
|
4
4
|
import { ColorScheme } from '../types/style.types';
|
|
5
5
|
import { TTSHighlightRenderer } from '../types/t2s.types';
|
|
6
6
|
type ChatbotProps = {
|
|
@@ -13,15 +13,13 @@ type ChatbotProps = {
|
|
|
13
13
|
audioConfig: typeof AUDIO_CONFIG;
|
|
14
14
|
};
|
|
15
15
|
ButtonWrapper?: ComponentType<PropsWithChildren>;
|
|
16
|
-
iconSize?:
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
16
|
+
iconSize?: number;
|
|
20
17
|
isInputDisabled?: boolean;
|
|
21
18
|
colorScheme?: ColorScheme;
|
|
22
19
|
TTSHighlightRenderer?: TTSHighlightRenderer;
|
|
23
20
|
maxHeight?: number;
|
|
21
|
+
variant?: ChatbotVariant;
|
|
24
22
|
};
|
|
25
|
-
export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, isInputDisabled, textToSpeechConfig, ButtonWrapper, iconSize, colorScheme, withQuickActionButton, TTSHighlightRenderer, maxHeight, }: ChatbotProps) => React.JSX.Element | null;
|
|
23
|
+
export declare const Chatbot: ({ model, isHintFeedback, isTextToSpeechEnabled, isInputDisabled, variant, textToSpeechConfig, ButtonWrapper, iconSize, colorScheme, withQuickActionButton, TTSHighlightRenderer, maxHeight, }: ChatbotProps) => React.JSX.Element | null;
|
|
26
24
|
export {};
|
|
27
25
|
//# sourceMappingURL=Chatbot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chatbot.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/components/Chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAA;AAG5E,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"Chatbot.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/components/Chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAA;AAG5E,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEzD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,YAAY,CAAA;IACnB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,kBAAkB,CAAC,EAAE;QACnB,KAAK,EAAE,OAAO,aAAa,CAAA;QAC3B,WAAW,EAAE,OAAO,YAAY,CAAA;KACjC,CAAA;IACD,aAAa,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,OAAO,kMAajB,YAAY,6BAqDd,CAAA"}
|
|
@@ -67,8 +67,19 @@ export declare const SCROLL_BOTTOM_THRESHOLD = 0.5;
|
|
|
67
67
|
export declare const MESSAGE_WIDTH = 304;
|
|
68
68
|
export declare const INPUT_WIDTH: number;
|
|
69
69
|
export declare const CHAT_CONTAINER_WIDTH = 370;
|
|
70
|
-
export declare const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
export declare const LAVA_ICON_SIZE = 51;
|
|
71
|
+
export declare const AI_ICON_SIZE = 25;
|
|
72
|
+
export declare const AI_AVATAR_BORDER_RADIUS = 25;
|
|
73
|
+
export declare const AI_AVATAR_CONTAINER_WIDTH = 59;
|
|
74
|
+
export declare const FLOATING_AVATAR_BOTTOM: number;
|
|
75
|
+
export declare enum ChatbotVariant {
|
|
76
|
+
LAVA = "LAVA",
|
|
77
|
+
AI = "AI"
|
|
78
|
+
}
|
|
79
|
+
export declare enum ChatbotAvatarVariant {
|
|
80
|
+
AI = "AI",
|
|
81
|
+
LAVA = "LAVA",
|
|
82
|
+
THINKING_LAVA = "THINKING_LAVA",
|
|
83
|
+
EXCITED_LAVA = "EXCITED_LAVA"
|
|
84
|
+
}
|
|
74
85
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAgBhC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;CAErB,CAAA;AAEV,eAAO,MAAM,0BAA0B;;CAE7B,CAAA;AAEV,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB9B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;CAS/B,CAAA;AAED,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAE3C,eAAO,MAAM,eAAe,QAAc,CAAA;AAG1C,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAG1C,eAAO,MAAM,aAAa,MAAM,CAAA;AAChC,eAAO,MAAM,WAAW,QAA+B,CAAA;AACvD,eAAO,MAAM,oBAAoB,MAAM,CAAA;AACvC,eAAO,MAAM,cAAc,KAAK,CAAA;AAChC,eAAO,MAAM,YAAY,KAAK,CAAA;AAC9B,eAAO,MAAM,uBAAuB,KAAK,CAAA;AACzC,eAAO,MAAM,yBAAyB,KAAK,CAAA;AAC3C,eAAO,MAAM,sBAAsB,QAAqB,CAAA;AAExD,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,EAAE,OAAO;CACV;AAED,oBAAY,oBAAoB;IAC9B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;CAC9B"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ChatbotAvatarVariant, ChatbotVariant } from './constants';
|
|
1
2
|
import { GetAlternativesResponse, PostMessagePayload } from './types/api.types';
|
|
2
3
|
import { ThreadItem } from './model/ThreadItem';
|
|
3
4
|
import { ChatRequestPayload } from './types/model.types';
|
|
5
|
+
export declare const getChatbotAvatarVariant: (variant: ChatbotVariant, isLoading?: boolean) => ChatbotAvatarVariant;
|
|
4
6
|
export declare const decodeHTMLEntities: (input: string) => string;
|
|
5
7
|
export declare const replaceKatexSyntax: (texts: string[], reverse?: boolean) => string[];
|
|
6
8
|
export declare const transformAlternatives: (payload: GetAlternativesResponse | null) => GetAlternativesResponse | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,cAAc,EAGf,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAmB,MAAM,qBAAqB,CAAA;AAEzE,eAAO,MAAM,uBAAuB,YACzB,cAAc,0BAEtB,oBAGF,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAE/C,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,EAAE,gCAWjD,CAAA;AAED,eAAO,MAAM,qBAAqB,YAAa,uBAAuB,GAAG,IAAI,mCAyB5E,CAAA;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,UAAU,GACrB,kBAAkB,CA0DpB"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export { Chatbot } from './components/Chatbot';
|
|
2
|
+
export { ChatbotAvatar } from './components/Chat/ChatbotAvatar';
|
|
3
|
+
export { ChatLauncher } from './components/ChatControls/ChatLauncher';
|
|
2
4
|
export { ChatbotModel } from './model/ChatBotModel';
|
|
3
|
-
export { AudioStatus, type AudioProvider, type TTSHighlightRenderer, type TTSHighlightRendererProps } from './types/t2s.types';
|
|
5
|
+
export { AudioStatus, type AudioProvider, type TTSHighlightRenderer, type TTSHighlightRendererProps, } from './types/t2s.types';
|
|
4
6
|
export { MessageVariant, type ChatbotModelProps, type IChatDrawBoardAdapter, } from './types/model.types';
|
|
7
|
+
export { ChatbotAvatarVariant, ChatbotVariant } from './constants';
|
|
8
|
+
export { getChatbotAvatarVariant } from './helpers';
|
|
5
9
|
export type { RequestOptionalConfig } from '../../lib/effector/createControllerEffect';
|
|
6
10
|
export type { PostMessageResponse, ChatHintPayload, ChatHintResponse, GetAlternativesPayload, GetAlternativesResponse, SendMessagePayload, SendMessageResponse, } from './types/api.types';
|
|
7
11
|
export { DefaultMessagesCreator } from './model/DefaultMessageCreator';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/chatbot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AACnD,YAAY,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AACtF,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/chat.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAExC,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI,CAAA;AAEnE,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,gBAAgB,CAAC,YAAY,GAAG,IAAI,CAAC,CAAA;CAC/C,CAAA"}
|
|
1
|
+
{"version":3,"file":"chat.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/chat.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAExC,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI,CAAA;AAEnE,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,gBAAgB,CAAC,YAAY,GAAG,IAAI,CAAC,CAAA;CAC/C,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ type AnimatedCardProps = {
|
|
|
9
9
|
gbdAmount?: number;
|
|
10
10
|
delay?: number;
|
|
11
11
|
onAnimationEnd?: () => void;
|
|
12
|
+
disableStarsAnimation?: boolean;
|
|
12
13
|
};
|
|
13
|
-
export declare const AnimatedCard: React.MemoExoticComponent<({ variant, textContent, shouldTriggerSparkles, solvedAmount, problemsAmount, gbdAmount, delay, onAnimationEnd, }: AnimatedCardProps) => React.JSX.Element>;
|
|
14
|
+
export declare const AnimatedCard: React.MemoExoticComponent<({ variant, textContent, shouldTriggerSparkles, solvedAmount, problemsAmount, gbdAmount, delay, onAnimationEnd, disableStarsAnimation, }: AnimatedCardProps) => React.JSX.Element>;
|
|
14
15
|
export {};
|
|
15
16
|
//# sourceMappingURL=AnimatedCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAqBtD,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAa/D,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,WAAW,EAAE,YAAY,CAAA;IACzB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"AnimatedCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAqBtD,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAa/D,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,WAAW,EAAE,YAAY,CAAA;IACzB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,YAAY,sKAWpB,iBAAiB,uBAoLrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrectAnswer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AASpD,OAAO,EAAuB,oBAAoB,EAAmB,MAAM,aAAa,CAAA;AAOxF,eAAO,MAAM,aAAa,4CAA6C,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CorrectAnswer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AASpD,OAAO,EAAuB,oBAAoB,EAAmB,MAAM,aAAa,CAAA;AAOxF,eAAO,MAAM,aAAa,4CAA6C,oBAAoB,sBA2G1F,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/endOfAssignment/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAGxC,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CAClC;AAED,oBAAY,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IAErC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAE3B,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;IAC7C,6BAA6B,kCAAkC;IAE/D,iCAAiC,sCAAsC;IACvE,gCAAgC,qCAAqC;CACtE;AAED,oBAAY,mBAAmB;IAC7B,YAAY,gBAAgB;IAC5B,cAAc,mBAAmB;CAClC;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,YAAY,CAAA;IACzB,KAAK,EAAE,QAAQ,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,OAAO,CAAA;IACf,YAAY,EAAE,OAAO,CAAA;IACrB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,KAAK,EAAE;QACL,YAAY,EAAE,MAAM,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|
|
1
|
-
{"version":3,"file":"Fluency.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/components/Fluency.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Fluency.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/components/Fluency.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,YAAY,CAAA;IACnB,MAAM,EAAE,aAAa,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,OAAO,sFAOjB,YAAY,sBAiCd,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FluencyStatus } from '../shared/fluency.constants';
|
|
3
|
+
type FluencyStatusOverlayProps = {
|
|
4
|
+
status: FluencyStatus;
|
|
5
|
+
};
|
|
6
|
+
export declare const FluencyStatusOverlay: ({ status }: FluencyStatusOverlayProps) => React.JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=FluencyStatusOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FluencyStatusOverlay.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/components/FluencyStatusOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AA0B3D,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,oBAAoB,eAAgB,yBAAyB,6BAuBzE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectMathOperator.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/select-math-operator/SelectMathOperator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgBzB,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SelectMathOperator.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/fluency/components/select-math-operator/SelectMathOperator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgBzB,eAAO,MAAM,kBAAkB,yBA6C9B,CAAA"}
|
|
@@ -2,15 +2,18 @@ import { FluencyDaysStreakModel } from './FluencyDaysStreakModel';
|
|
|
2
2
|
import { FluencyMatrixModel } from './FluencyMatrixModel';
|
|
3
3
|
import { FluencyApiModel } from './FluencyApiModel';
|
|
4
4
|
import { FluencySolvingModel } from './FluencySolvingModel';
|
|
5
|
+
import { FluencyStatus } from '../shared/fluency.constants';
|
|
5
6
|
import type { FluencyConfig, FluencyModelGateProps, FluencyModelProps } from '../shared/fluency.types';
|
|
6
7
|
export declare class FluencyModel {
|
|
7
8
|
readonly gate: import("effector-react").Gate<FluencyModelGateProps>;
|
|
8
9
|
readonly $config: import("effector").StoreWritable<FluencyConfig | null>;
|
|
10
|
+
readonly $status: import("effector").StoreWritable<FluencyStatus | null>;
|
|
9
11
|
readonly api: FluencyApiModel;
|
|
10
12
|
readonly streak: FluencyDaysStreakModel;
|
|
11
13
|
readonly matrix: FluencyMatrixModel;
|
|
12
14
|
readonly solving: FluencySolvingModel;
|
|
13
15
|
constructor({ api }: FluencyModelProps);
|
|
14
16
|
private init;
|
|
17
|
+
private setupStatusTracking;
|
|
15
18
|
}
|
|
16
19
|
//# sourceMappingURL=FluencyModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluencyModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyModel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"FluencyModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/model/FluencyModel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAgB,MAAM,6BAA6B,CAAA;AAEzE,OAAO,KAAK,EAEV,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,yBAAyB,CAAA;AAEhC,qBAAa,YAAY;IACvB,SAAgB,IAAI,uDAAsC;IAC1D,SAAgB,OAAO,yDAA0C;IACjE,SAAgB,OAAO,yDAA0C;IAEjE,SAAgB,GAAG,EAAE,eAAe,CAAA;IACpC,SAAgB,MAAM,EAAE,sBAAsB,CAAA;IAC9C,SAAgB,MAAM,EAAE,kBAAkB,CAAA;IAC1C,SAAgB,OAAO,EAAE,mBAAmB,CAAA;gBAEhC,EAAE,GAAG,EAAE,EAAE,iBAAiB;IAUtC,OAAO,CAAC,IAAI;IAiCZ,OAAO,CAAC,mBAAmB;CAoB5B"}
|
|
@@ -40,4 +40,8 @@ export declare const COLOR_FAMILY_PALETTES: Record<FluencyColorFamily, FluencyCo
|
|
|
40
40
|
export declare const FLUENCY_MODES: readonly FluencyModeConfig[];
|
|
41
41
|
export declare const FLUENCY_MODE_PRESETS: Record<FluencyMode, FluencyModePreset>;
|
|
42
42
|
export declare const ONE_DAY_MS = 86400000;
|
|
43
|
+
export declare enum FluencyStatus {
|
|
44
|
+
ERROR = "ERROR",
|
|
45
|
+
EMPTY = "EMPTY"
|
|
46
|
+
}
|
|
43
47
|
//# sourceMappingURL=fluency.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluency.constants.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/shared/fluency.constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEhG,eAAO,MAAM,gBAAgB,IAAI,CAAA;AACjC,eAAO,MAAM,cAAc,KAAK,CAAA;AAChC,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,eAAO,MAAM,uBAAuB,WAAY,MAAM,KAAG,MAIxD,CAAA;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;CACtB;AAED,oBAAY,mBAAmB;IAC7B,WAAW,IAAI;IACf,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,MAAM,IAAI;IACV,QAAQ,IAAI;CACb;AAED,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,YAAY,iBAAiB;CAC9B;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAqBjF,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,iBAAiB,EAyBrD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAE7B,CAAA;AAE3C,eAAO,MAAM,UAAU,WAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"fluency.constants.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/shared/fluency.constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEhG,eAAO,MAAM,gBAAgB,IAAI,CAAA;AACjC,eAAO,MAAM,cAAc,KAAK,CAAA;AAChC,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,eAAO,MAAM,uBAAuB,WAAY,MAAM,KAAG,MAIxD,CAAA;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;CACtB;AAED,oBAAY,mBAAmB;IAC7B,WAAW,IAAI;IACf,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,MAAM,IAAI;IACV,QAAQ,IAAI;CACb;AAED,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,YAAY,iBAAiB;CAC9B;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAqBjF,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,iBAAiB,EAyBrD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAE7B,CAAA;AAE3C,eAAO,MAAM,UAAU,WAAa,CAAA;AAEpC,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
|