@magmamath/students-features 1.2.1-rc.48 → 1.2.1-rc.6
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/ChatInput/ChatInput.js +1 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +1 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +0 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/helpers.js +0 -3
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +8 -40
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ThreadItem.js +13 -51
- package/dist/commonjs/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +1 -1
- package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +1 -3
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/commonjs/features/voice/constants.js +8 -2
- package/dist/commonjs/features/voice/constants.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +16 -5
- package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +71 -20
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +2 -2
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +5 -0
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/commonjs/features/voice/types.js +6 -0
- package/dist/commonjs/features/voice/types.js.map +1 -1
- package/dist/commonjs/index.js +3 -15
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/translation/localization/ca.json +0 -24
- package/dist/commonjs/shared/translation/localization/de.json +0 -24
- package/dist/commonjs/shared/translation/localization/en.json +0 -24
- package/dist/commonjs/shared/translation/localization/gb.json +0 -24
- package/dist/commonjs/shared/translation/localization/sct.json +0 -24
- package/dist/commonjs/shared/translation/localization/sw.json +0 -24
- package/dist/module/features/chatbot/components/ChatInput/ChatInput.js +1 -2
- package/dist/module/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +1 -2
- package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +0 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +0 -3
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js +8 -40
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/module/features/chatbot/model/ThreadItem.js +13 -51
- package/dist/module/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +2 -2
- package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +1 -3
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/module/features/voice/constants.js +8 -2
- package/dist/module/features/voice/constants.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecord.js +17 -6
- package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +72 -21
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
- package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +2 -2
- package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js +5 -0
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/module/features/voice/types.js +5 -1
- package/dist/module/features/voice/types.js.map +1 -1
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/translation/localization/ca.json +0 -24
- package/dist/module/shared/translation/localization/de.json +0 -24
- package/dist/module/shared/translation/localization/en.json +0 -24
- package/dist/module/shared/translation/localization/gb.json +0 -24
- package/dist/module/shared/translation/localization/sct.json +0 -24
- package/dist/module/shared/translation/localization/sw.json +0 -24
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +1 -2
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +0 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts +12 -50
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +2 -10
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +2 -5
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts +0 -22
- package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts +1 -2
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/constants.d.ts +8 -2
- package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/types.d.ts +4 -0
- package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -144
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -48
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +1 -2
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +0 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts +12 -50
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +2 -10
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts +2 -5
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/units.types.d.ts +0 -22
- package/dist/typescript/module/features/chatbot/types/units.types.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts +1 -2
- package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/constants.d.ts +8 -2
- package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/types.d.ts +4 -0
- package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/constants.d.ts +0 -144
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/model.d.ts +0 -48
- package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
- package/package.json +13 -21
- package/src/features/chatbot/components/ChatInput/ChatInput.tsx +1 -2
- package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +1 -2
- package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +1 -3
- package/src/features/chatbot/helpers.ts +0 -1
- package/src/features/chatbot/model/ChatBotThreadManager.ts +9 -44
- package/src/features/chatbot/model/ThreadItem.ts +19 -68
- package/src/features/chatbot/types/api.types.ts +2 -17
- package/src/features/chatbot/types/model.types.ts +2 -12
- package/src/features/chatbot/types/units.types.ts +0 -26
- package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +2 -2
- package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +0 -3
- package/src/features/voice/constants.ts +8 -2
- package/src/features/voice/recording/components/VoiceRecord.tsx +26 -5
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +98 -29
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
- package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +7 -3
- package/src/features/voice/recording/model/VoiceRecord.model.ts +7 -0
- package/src/features/voice/types.ts +5 -0
- package/src/index.ts +0 -1
- package/src/shared/translation/localization/ca.json +0 -24
- package/src/shared/translation/localization/de.json +0 -24
- package/src/shared/translation/localization/en.json +0 -24
- package/src/shared/translation/localization/gb.json +0 -24
- package/src/shared/translation/localization/sct.json +0 -24
- package/src/shared/translation/localization/sw.json +0 -24
- package/dist/commonjs/features/pmProgress/PmProgress.js +0 -42
- package/dist/commonjs/features/pmProgress/PmProgress.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js +0 -24
- package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/chart.types.js +0 -2
- package/dist/commonjs/features/pmProgress/components/chart/chart.types.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +0 -44
- package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js +0 -26
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +0 -91
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +0 -38
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +0 -21
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js +0 -55
- package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js +0 -49
- package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js +0 -23
- package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js +0 -79
- package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/content/PmContent.js +0 -50
- package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +0 -127
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +0 -133
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +0 -126
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +0 -70
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +0 -99
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +0 -72
- package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +0 -82
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js +0 -207
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js +0 -139
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +0 -96
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +0 -101
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +0 -134
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +0 -203
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +0 -1
- package/dist/commonjs/features/pmProgress/context/PmProgressContext.js +0 -18
- package/dist/commonjs/features/pmProgress/context/PmProgressContext.js.map +0 -1
- package/dist/commonjs/features/pmProgress/index.js +0 -64
- package/dist/commonjs/features/pmProgress/index.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js +0 -15
- package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js +0 -22
- package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmProgressApi.js +0 -18
- package/dist/commonjs/features/pmProgress/model/PmProgressApi.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmProgressModel.js +0 -43
- package/dist/commonjs/features/pmProgress/model/PmProgressModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js +0 -47
- package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js +0 -104
- package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/model/PmTreeModel.js +0 -176
- package/dist/commonjs/features/pmProgress/model/PmTreeModel.js.map +0 -1
- package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js +0 -52
- package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js.map +0 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +0 -65
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +0 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +0 -234
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +0 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js +0 -12
- package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js.map +0 -1
- package/dist/commonjs/shared/icons/MenuIcon.js +0 -30
- package/dist/commonjs/shared/icons/MenuIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/PentagonIcon.js +0 -29
- package/dist/commonjs/shared/icons/PentagonIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/SketchArrowRight.js +0 -33
- package/dist/commonjs/shared/icons/SketchArrowRight.js.map +0 -1
- package/dist/commonjs/shared/icons/SliceDiamondIcon.js +0 -29
- package/dist/commonjs/shared/icons/SliceDiamondIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/StarIcon.js +0 -32
- package/dist/commonjs/shared/icons/StarIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/TimerIcon.js +0 -35
- package/dist/commonjs/shared/icons/TimerIcon.js.map +0 -1
- package/dist/module/features/pmProgress/PmProgress.js +0 -36
- package/dist/module/features/pmProgress/PmProgress.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/chart.helpers.js +0 -17
- package/dist/module/features/pmProgress/components/chart/chart.helpers.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/chart.types.js +0 -2
- package/dist/module/features/pmProgress/components/chart/chart.types.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +0 -38
- package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js +0 -20
- package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +0 -85
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +0 -32
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +0 -15
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js +0 -49
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js +0 -44
- package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js +0 -18
- package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js.map +0 -1
- package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js +0 -74
- package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +0 -1
- package/dist/module/features/pmProgress/components/content/PmContent.js +0 -44
- package/dist/module/features/pmProgress/components/content/PmContent.js.map +0 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js +0 -121
- package/dist/module/features/pmProgress/components/header/NextUp.js.map +0 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +0 -126
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +0 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js +0 -119
- package/dist/module/features/pmProgress/components/header/StartButton.js.map +0 -1
- package/dist/module/features/pmProgress/components/insights/PmInsights.js +0 -63
- package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +0 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +0 -94
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +0 -1
- package/dist/module/features/pmProgress/components/insights/StatsCard.js +0 -66
- package/dist/module/features/pmProgress/components/insights/StatsCard.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js +0 -76
- package/dist/module/features/pmProgress/components/list/Fluency.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/ListCard.js +0 -200
- package/dist/module/features/pmProgress/components/list/ListCard.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/ListItem.js +0 -132
- package/dist/module/features/pmProgress/components/list/ListItem.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/PmDomainList.js +0 -90
- package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +0 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +0 -95
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +0 -1
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +0 -128
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +0 -1
- package/dist/module/features/pmProgress/components/standard/StandardTag.js +0 -197
- package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +0 -1
- package/dist/module/features/pmProgress/context/PmProgressContext.js +0 -13
- package/dist/module/features/pmProgress/context/PmProgressContext.js.map +0 -1
- package/dist/module/features/pmProgress/index.js +0 -9
- package/dist/module/features/pmProgress/index.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmHighlightModel.js +0 -10
- package/dist/module/features/pmProgress/model/PmHighlightModel.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmInsightsModel.js +0 -17
- package/dist/module/features/pmProgress/model/PmInsightsModel.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmProgressApi.js +0 -13
- package/dist/module/features/pmProgress/model/PmProgressApi.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmProgressModel.js +0 -38
- package/dist/module/features/pmProgress/model/PmProgressModel.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmRecommendationsModel.js +0 -42
- package/dist/module/features/pmProgress/model/PmRecommendationsModel.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js +0 -99
- package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js.map +0 -1
- package/dist/module/features/pmProgress/model/PmTreeModel.js +0 -171
- package/dist/module/features/pmProgress/model/PmTreeModel.js.map +0 -1
- package/dist/module/features/pmProgress/shared/TreeNormalizer.js +0 -47
- package/dist/module/features/pmProgress/shared/TreeNormalizer.js.map +0 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js +0 -62
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +0 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +0 -214
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +0 -1
- package/dist/module/features/pmProgress/shared/pmProgress.types.js +0 -8
- package/dist/module/features/pmProgress/shared/pmProgress.types.js.map +0 -1
- package/dist/module/shared/icons/MenuIcon.js +0 -22
- package/dist/module/shared/icons/MenuIcon.js.map +0 -1
- package/dist/module/shared/icons/PentagonIcon.js +0 -21
- package/dist/module/shared/icons/PentagonIcon.js.map +0 -1
- package/dist/module/shared/icons/SketchArrowRight.js +0 -25
- package/dist/module/shared/icons/SketchArrowRight.js.map +0 -1
- package/dist/module/shared/icons/SliceDiamondIcon.js +0 -21
- package/dist/module/shared/icons/SliceDiamondIcon.js.map +0 -1
- package/dist/module/shared/icons/StarIcon.js +0 -24
- package/dist/module/shared/icons/StarIcon.js.map +0 -1
- package/dist/module/shared/icons/TimerIcon.js +0 -27
- package/dist/module/shared/icons/TimerIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts +0 -9
- package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts +0 -4
- package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts +0 -36
- package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +0 -9
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +0 -10
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts +0 -11
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +0 -12
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +0 -8
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +0 -14
- package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +0 -12
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts +0 -14
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +0 -17
- package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts +0 -11
- package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts +0 -12
- package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts +0 -8
- package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts +0 -31
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts +0 -12
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts +0 -8
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts +0 -3
- package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +0 -9
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +0 -15
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/index.d.ts +0 -7
- package/dist/typescript/commonjs/features/pmProgress/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts +0 -7
- package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts +0 -14
- package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts +0 -17
- package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts +0 -23
- package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts +0 -102
- package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts +0 -22
- package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts +0 -25
- package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts +0 -17
- package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +0 -49
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +0 -73
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts +0 -193
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/PmProgress.d.ts +0 -9
- package/dist/typescript/module/features/pmProgress/PmProgress.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts +0 -4
- package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts +0 -36
- package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +0 -9
- package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +0 -10
- package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts +0 -11
- package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +0 -12
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +0 -8
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +0 -14
- package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +0 -12
- package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts +0 -14
- package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +0 -17
- package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts +0 -11
- package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts +0 -12
- package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts +0 -8
- package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts +0 -31
- package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts +0 -12
- package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts +0 -8
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts +0 -3
- package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +0 -9
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +0 -15
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/index.d.ts +0 -7
- package/dist/typescript/module/features/pmProgress/index.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts +0 -7
- package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts +0 -14
- package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts +0 -17
- package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts +0 -23
- package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts +0 -102
- package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts +0 -22
- package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts +0 -25
- package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts +0 -17
- package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +0 -49
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +0 -73
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts +0 -193
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/MenuIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/MenuIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/PentagonIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/PentagonIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts +0 -4
- package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/StarIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/StarIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/TimerIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/TimerIcon.d.ts.map +0 -1
- package/src/features/pmProgress/PmProgress.tsx +0 -30
- package/src/features/pmProgress/__tests__/.keep +0 -0
- package/src/features/pmProgress/components/chart/chart.helpers.ts +0 -16
- package/src/features/pmProgress/components/chart/chart.types.ts +0 -37
- package/src/features/pmProgress/components/chart/components/PracticeProgressPieChart.tsx +0 -32
- package/src/features/pmProgress/components/chart/components/SlicesClipPaths.tsx +0 -22
- package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +0 -90
- package/src/features/pmProgress/components/chart/components/layers/SliceArcPattern.tsx +0 -44
- package/src/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.tsx +0 -11
- package/src/features/pmProgress/components/chart/components/layers/SliceFillColor.tsx +0 -60
- package/src/features/pmProgress/components/chart/model/ArcPatternGenerator.ts +0 -48
- package/src/features/pmProgress/components/chart/model/PieChartManager.ts +0 -17
- package/src/features/pmProgress/components/chart/model/SliceShapeGenerator.ts +0 -90
- package/src/features/pmProgress/components/content/PmContent.tsx +0 -44
- package/src/features/pmProgress/components/header/NextUp.tsx +0 -109
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +0 -135
- package/src/features/pmProgress/components/header/StartButton.tsx +0 -160
- package/src/features/pmProgress/components/insights/PmInsights.tsx +0 -65
- package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +0 -88
- package/src/features/pmProgress/components/insights/StatsCard.tsx +0 -54
- package/src/features/pmProgress/components/list/Fluency.tsx +0 -72
- package/src/features/pmProgress/components/list/ListCard.tsx +0 -231
- package/src/features/pmProgress/components/list/ListItem.tsx +0 -164
- package/src/features/pmProgress/components/list/PmDomainList.tsx +0 -76
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +0 -101
- package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +0 -127
- package/src/features/pmProgress/components/standard/StandardTag.tsx +0 -181
- package/src/features/pmProgress/context/PmProgressContext.tsx +0 -26
- package/src/features/pmProgress/index.ts +0 -6
- package/src/features/pmProgress/model/PmHighlightModel.ts +0 -11
- package/src/features/pmProgress/model/PmInsightsModel.ts +0 -23
- package/src/features/pmProgress/model/PmProgressApi.ts +0 -34
- package/src/features/pmProgress/model/PmProgressModel.ts +0 -48
- package/src/features/pmProgress/model/PmRecommendationsModel.ts +0 -47
- package/src/features/pmProgress/model/PmSolvingFlowModel.ts +0 -140
- package/src/features/pmProgress/model/PmTreeModel.ts +0 -171
- package/src/features/pmProgress/shared/TreeNormalizer.ts +0 -64
- package/src/features/pmProgress/shared/pmProgress.constants.ts +0 -100
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +0 -307
- package/src/features/pmProgress/shared/pmProgress.types.ts +0 -217
- package/src/shared/icons/MenuIcon.tsx +0 -15
- package/src/shared/icons/PentagonIcon.tsx +0 -14
- package/src/shared/icons/SketchArrowRight.tsx +0 -18
- package/src/shared/icons/SliceDiamondIcon.tsx +0 -14
- package/src/shared/icons/StarIcon.tsx +0 -17
- package/src/shared/icons/TimerIcon.tsx +0 -21
|
@@ -4,17 +4,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.VoiceRecordButton = void 0;
|
|
7
|
-
var _react =
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _effectorReact = require("effector-react");
|
|
11
11
|
var _constants = require("../../constants.js");
|
|
12
12
|
var _index = require("../../../../shared/translation/index.js");
|
|
13
|
+
var _types = require("../../types.js");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
-
function
|
|
15
|
-
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
const defaultButtonStyles = {
|
|
17
|
+
button: {
|
|
18
|
+
width: 50,
|
|
19
|
+
height: 50
|
|
20
|
+
}
|
|
21
|
+
};
|
|
16
22
|
const VoiceRecordButton = ({
|
|
17
|
-
style,
|
|
18
23
|
model
|
|
19
24
|
}) => {
|
|
20
25
|
const t = (0, _index.useText)();
|
|
@@ -22,31 +27,30 @@ const VoiceRecordButton = ({
|
|
|
22
27
|
const voiceRecordState = (0, _effectorReact.useUnit)(model.recorderModel.$voiceRecordState);
|
|
23
28
|
const isButtonDisabled = (0, _effectorReact.useUnit)(model.$isButtonDisabled);
|
|
24
29
|
const isInitializing = (0, _effectorReact.useUnit)(model.initializeRecording.pending);
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
width: 50,
|
|
29
|
-
height: 50
|
|
30
|
-
}, style?.button],
|
|
31
|
-
container: [style?.container],
|
|
32
|
-
text: [style?.text]
|
|
33
|
-
};
|
|
34
|
-
}, [style]);
|
|
30
|
+
const isRecording = voiceRecordState === _constants.VoiceRecorderState.RECORDING;
|
|
31
|
+
const isIdle = voiceRecordState === _constants.VoiceRecorderState.IDLE;
|
|
32
|
+
const hasInputs = availableInputs.length > 0;
|
|
35
33
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
36
34
|
onPressIn: e => {
|
|
37
|
-
if (
|
|
35
|
+
if (hasInputs) return;
|
|
38
36
|
e.preventDefault();
|
|
39
37
|
model.notification.warning(t('voice.noMicrophoneFound'));
|
|
40
38
|
},
|
|
41
|
-
pointerEvents: !
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
pointerEvents: !hasInputs || isInitializing ? 'box-only' : 'auto',
|
|
40
|
+
style: isButtonDisabled ? styles.disabledCursor : undefined,
|
|
41
|
+
children: model.recordButtonVariant === _types.RecordButtonVariant.ADVANCED ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AdvancedButton, {
|
|
42
|
+
isRecording: isRecording,
|
|
43
|
+
isIdle: isIdle,
|
|
44
|
+
disabled: isButtonDisabled,
|
|
45
|
+
onPressIn: () => model.recorderButtonHandler()
|
|
46
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
47
|
+
disabled: isButtonDisabled,
|
|
44
48
|
onPressIn: () => model.recorderButtonHandler(),
|
|
45
|
-
style:
|
|
49
|
+
style: defaultButtonStyles,
|
|
46
50
|
size: _reactNativeUi.ButtonSize.LARGE,
|
|
47
51
|
variant: _reactNativeUi.ButtonVariant.SECONDARY,
|
|
48
52
|
colorScheme: _reactNativeUi.ButtonColor.WHITE,
|
|
49
|
-
icon:
|
|
53
|
+
icon: isRecording ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.CheckIcon, {
|
|
50
54
|
size: 25
|
|
51
55
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.MicrophoneIcon, {
|
|
52
56
|
style: _reactNativeUi.IS_WEB ? {
|
|
@@ -60,4 +64,51 @@ const VoiceRecordButton = ({
|
|
|
60
64
|
});
|
|
61
65
|
};
|
|
62
66
|
exports.VoiceRecordButton = VoiceRecordButton;
|
|
67
|
+
const AdvancedButton = ({
|
|
68
|
+
isRecording,
|
|
69
|
+
isIdle,
|
|
70
|
+
disabled,
|
|
71
|
+
onPressIn
|
|
72
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
73
|
+
style: [styles.advancedButtonContainer, _reactNativeUi.IS_WEB && disabled && styles.disabledCursor],
|
|
74
|
+
onPressIn: onPressIn,
|
|
75
|
+
disabled: disabled,
|
|
76
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
77
|
+
style: [styles.advancedIconContainer, !isIdle && {
|
|
78
|
+
borderRadius: 32,
|
|
79
|
+
backgroundColor: _reactNativeUi.COLORS.PRIMARY_BLUE
|
|
80
|
+
}],
|
|
81
|
+
children: isRecording ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.CheckIcon, {
|
|
82
|
+
size: 18,
|
|
83
|
+
color: _reactNativeUi.COLORS.NEUTRAL_1
|
|
84
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.MicrophoneIcon, {
|
|
85
|
+
style: {
|
|
86
|
+
width: 14,
|
|
87
|
+
height: 19
|
|
88
|
+
},
|
|
89
|
+
color: disabled ? _reactNativeUi.COLORS.NEUTRAL_5 : isIdle ? _reactNativeUi.COLORS.NEUTRAL_9 : _reactNativeUi.COLORS.NEUTRAL_1
|
|
90
|
+
})
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
const styles = _reactNative.StyleSheet.create({
|
|
94
|
+
advancedButtonContainer: {
|
|
95
|
+
width: 52,
|
|
96
|
+
height: 52,
|
|
97
|
+
backgroundColor: 'white',
|
|
98
|
+
alignItems: 'center',
|
|
99
|
+
justifyContent: 'center',
|
|
100
|
+
borderRadius: _reactNativeUi.BORDER_RADIUS[300],
|
|
101
|
+
boxShadow: '0 0 1px 0 rgba(51, 51, 51, 0.20), 0 3px 10px 0 rgba(51, 51, 51, 0.16)'
|
|
102
|
+
},
|
|
103
|
+
advancedIconContainer: {
|
|
104
|
+
width: 36,
|
|
105
|
+
height: 36,
|
|
106
|
+
borderRadius: _reactNativeUi.BORDER_RADIUS[300],
|
|
107
|
+
justifyContent: 'center',
|
|
108
|
+
alignItems: 'center'
|
|
109
|
+
},
|
|
110
|
+
disabledCursor: {
|
|
111
|
+
cursor: 'not-allowed'
|
|
112
|
+
}
|
|
113
|
+
});
|
|
63
114
|
//# sourceMappingURL=VoiceRecordButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_reactNative","_effectorReact","_constants","_index","_types","_jsxRuntime","e","__esModule","default","defaultButtonStyles","button","width","height","VoiceRecordButton","model","t","useText","availableInputs","useUnit","recorderModel","$availableInputs","voiceRecordState","$voiceRecordState","isButtonDisabled","$isButtonDisabled","isInitializing","initializeRecording","pending","isRecording","VoiceRecorderState","RECORDING","isIdle","IDLE","hasInputs","length","jsx","Pressable","onPressIn","preventDefault","notification","warning","pointerEvents","style","styles","disabledCursor","undefined","children","recordButtonVariant","RecordButtonVariant","ADVANCED","AdvancedButton","disabled","recorderButtonHandler","Button","size","ButtonSize","LARGE","variant","ButtonVariant","SECONDARY","colorScheme","ButtonColor","WHITE","icon","CheckIcon","MicrophoneIcon","IS_WEB","minWidth","minHeight","exports","advancedButtonContainer","View","advancedIconContainer","borderRadius","backgroundColor","COLORS","PRIMARY_BLUE","color","NEUTRAL_1","NEUTRAL_5","NEUTRAL_9","StyleSheet","create","alignItems","justifyContent","BORDER_RADIUS","boxShadow","cursor"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/components/VoiceRecordButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AAYA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAAiD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMjD,MAAMG,mBAAgC,GAAG;EACvCC,MAAM,EAAE;IACNC,KAAK,EAAE,EAAE;IACTC,MAAM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ecordDeleteButton = VoiceRecordDeleteButton;
|
|
27
27
|
const styles = _reactNative.StyleSheet.create({
|
|
28
28
|
container: {
|
|
29
|
-
width:
|
|
30
|
-
height:
|
|
29
|
+
width: 32,
|
|
30
|
+
height: 32,
|
|
31
31
|
alignItems: 'center',
|
|
32
32
|
justifyContent: 'center'
|
|
33
33
|
}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useVoiceRecorderAnimation = void 0;
|
|
7
7
|
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
8
|
var _constants = require("../../constants.js");
|
|
9
|
-
const useVoiceRecorderAnimation = isExpanded => {
|
|
9
|
+
const useVoiceRecorderAnimation = (isExpanded, recordButtonVariant) => {
|
|
10
10
|
const containerAnimatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
11
11
|
return {
|
|
12
|
-
height: (0, _reactNativeReanimated.withTiming)(isExpanded ? _constants.VOICE_RECORDER_CONTAINER_SIZES.EXPANDED : _constants.VOICE_RECORDER_CONTAINER_SIZES.COLLAPSED, {
|
|
12
|
+
height: (0, _reactNativeReanimated.withTiming)(isExpanded ? _constants.VOICE_RECORDER_CONTAINER_SIZES.EXPANDED[recordButtonVariant] : _constants.VOICE_RECORDER_CONTAINER_SIZES.COLLAPSED[recordButtonVariant], {
|
|
13
13
|
duration: 280
|
|
14
14
|
})
|
|
15
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","_constants","useVoiceRecorderAnimation","isExpanded","containerAnimatedStyle","useAnimatedStyle","height","withTiming","VOICE_RECORDER_CONTAINER_SIZES","EXPANDED","COLLAPSED","duration","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/hooks/useVoiceRecorderAnimation.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","_constants","useVoiceRecorderAnimation","isExpanded","recordButtonVariant","containerAnimatedStyle","useAnimatedStyle","height","withTiming","VOICE_RECORDER_CONTAINER_SIZES","EXPANDED","COLLAPSED","duration","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/hooks/useVoiceRecorderAnimation.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAGO,MAAME,yBAAyB,GAAGA,CACvCC,UAAmB,EACnBC,mBAAwC,KACrC;EACH,MAAMC,sBAAsB,GAAG,IAAAC,uCAAgB,EAAC,MAAM;IACpD,OAAO;MACLC,MAAM,EAAE,IAAAC,iCAAU,EAChBL,UAAU,GACNM,yCAA8B,CAACC,QAAQ,CAACN,mBAAmB,CAAC,GAC5DK,yCAA8B,CAACE,SAAS,CAACP,mBAAmB,CAAC,EACjE;QACEQ,QAAQ,EAAE;MACZ,CACF;IACF,CAAC;EACH,CAAC,EAAE,CAACT,UAAU,CAAC,CAAC;EAEhB,OAAO;IAAEE;EAAuB,CAAC;AACnC,CAAC;AAAAQ,OAAA,CAAAX,yBAAA,GAAAA,yBAAA","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _RecorderModel = require("./Recorder.model.js");
|
|
|
9
9
|
var _VoiceRecordCollection = require("./VoiceRecordCollection.js");
|
|
10
10
|
var _UploaderModel = require("./Uploader.model.js");
|
|
11
11
|
var _constants = require("../../constants.js");
|
|
12
|
+
var _types = require("../../types.js");
|
|
12
13
|
var _helpers = require("../../helpers.js");
|
|
13
14
|
var _index = require("../../../../shared/translation/index.js");
|
|
14
15
|
class VoiceRecordModel {
|
|
@@ -16,6 +17,7 @@ class VoiceRecordModel {
|
|
|
16
17
|
collection = new _VoiceRecordCollection.VoiceRecordsCollection();
|
|
17
18
|
uploader = new _UploaderModel.UploaderModel();
|
|
18
19
|
shouldDiscardRecording = false;
|
|
20
|
+
recordButtonVariant = _types.RecordButtonVariant.DEFAULT;
|
|
19
21
|
setCurrentKey = (0, _effector.createEvent)();
|
|
20
22
|
setCurrentRecord = (0, _effector.createEvent)();
|
|
21
23
|
reset = (0, _effector.createEvent)();
|
|
@@ -31,6 +33,9 @@ class VoiceRecordModel {
|
|
|
31
33
|
deleteAudioRecord = (0, _effector.createEffect)(async audioFileId => {
|
|
32
34
|
await this.api.deleteAudioFile(audioFileId);
|
|
33
35
|
});
|
|
36
|
+
setRecordButtonVariant = (0, _effector.createEffect)(variant => {
|
|
37
|
+
this.recordButtonVariant = variant;
|
|
38
|
+
});
|
|
34
39
|
deleteCurrentRecording = (0, _effector.attach)({
|
|
35
40
|
source: this.$currentKey,
|
|
36
41
|
mapParams: (props, currentKey) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_effector","require","_RecorderModel","_VoiceRecordCollection","_UploaderModel","_constants","_helpers","_index","VoiceRecordModel","recorderModel","RecorderModel","collection","VoiceRecordsCollection","uploader","UploaderModel","shouldDiscardRecording","setCurrentKey","createEvent","setCurrentRecord","reset","setIsButtonDisabled","startAudioUpload","$currentKey","restore","$currentRecord","$isButtonDisabled","$isExpanded","combine","$voiceRecordState","recorderState","currentRecord","VoiceRecorderState","IDLE","deleteAudioRecord","createEffect","audioFileId","api","deleteAudioFile","deleteCurrentRecording","attach","source","mapParams","props","currentKey","notification","effect","recordingItem","get","id","abortUploadIfInProgress","resetRecordingState","success","t","initializeRecording","hasPermissions","ensureRecordingPermissions","error","inputs","getAvailableInputs","recorder","setAvailableInputs","length","start","catch","name","stop","clearStopResolver","cleanup","getStatus","isRecording","recordingStatusUpdate","status","isFinished","url","getRecordingItem","key","RECORDING","stopAndAwaitResult","console","undefined","controller","abortUpload","delete","handleAudioUpload","uri","durationMs","collectionItem","uploadPromise","upload","fileName","add","resolveRecord","then","data","update","setupUploadHandler","sample","clock","$lastKnownDurationMs","filter","fn","target","setupCurrentRecordSync","recorderButtonHandler","isInitializing","pending","lastKnownDurationMs","VOICE_RECORDER_MIN_DURATION_MS","warn","events","undoRecord","constructor","setApi","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/model/VoiceRecord.model.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"names":["_effector","require","_RecorderModel","_VoiceRecordCollection","_UploaderModel","_constants","_types","_helpers","_index","VoiceRecordModel","recorderModel","RecorderModel","collection","VoiceRecordsCollection","uploader","UploaderModel","shouldDiscardRecording","recordButtonVariant","RecordButtonVariant","DEFAULT","setCurrentKey","createEvent","setCurrentRecord","reset","setIsButtonDisabled","startAudioUpload","$currentKey","restore","$currentRecord","$isButtonDisabled","$isExpanded","combine","$voiceRecordState","recorderState","currentRecord","VoiceRecorderState","IDLE","deleteAudioRecord","createEffect","audioFileId","api","deleteAudioFile","setRecordButtonVariant","variant","deleteCurrentRecording","attach","source","mapParams","props","currentKey","notification","effect","recordingItem","get","id","abortUploadIfInProgress","resetRecordingState","success","t","initializeRecording","hasPermissions","ensureRecordingPermissions","error","inputs","getAvailableInputs","recorder","setAvailableInputs","length","start","catch","name","stop","clearStopResolver","cleanup","getStatus","isRecording","recordingStatusUpdate","status","isFinished","url","getRecordingItem","key","RECORDING","stopAndAwaitResult","console","undefined","controller","abortUpload","delete","handleAudioUpload","uri","durationMs","collectionItem","uploadPromise","upload","fileName","add","resolveRecord","then","data","update","setupUploadHandler","sample","clock","$lastKnownDurationMs","filter","fn","target","setupCurrentRecordSync","recorderButtonHandler","isInitializing","pending","lastKnownDurationMs","VOICE_RECORDER_MIN_DURATION_MS","warn","events","undoRecord","constructor","setApi","exports"],"sourceRoot":"../../../../../../src","sources":["features/voice/recording/model/VoiceRecord.model.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,I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perty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.RecordButtonVariant = void 0;
|
|
7
|
+
let RecordButtonVariant = exports.RecordButtonVariant = /*#__PURE__*/function (RecordButtonVariant) {
|
|
8
|
+
RecordButtonVariant["DEFAULT"] = "default";
|
|
9
|
+
RecordButtonVariant["ADVANCED"] = "advanced";
|
|
10
|
+
return RecordButtonVariant;
|
|
11
|
+
}({});
|
|
6
12
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["features/voice/types.ts"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["RecordButtonVariant","exports"],"sourceRoot":"../../../../src","sources":["features/voice/types.ts"],"mappings":";;;;;;IAqFYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
|
package/dist/commonjs/index.js
CHANGED
|
@@ -136,7 +136,7 @@ Object.keys(_index10).forEach(function (key) {
|
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
});
|
|
139
|
-
var _index11 = require("./features/
|
|
139
|
+
var _index11 = require("./features/openEnded/index.js");
|
|
140
140
|
Object.keys(_index11).forEach(function (key) {
|
|
141
141
|
if (key === "default" || key === "__esModule") return;
|
|
142
142
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -148,7 +148,7 @@ Object.keys(_index11).forEach(function (key) {
|
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
|
-
var _index12 = require("./
|
|
151
|
+
var _index12 = require("./shared/icons/index.js");
|
|
152
152
|
Object.keys(_index12).forEach(function (key) {
|
|
153
153
|
if (key === "default" || key === "__esModule") return;
|
|
154
154
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -160,7 +160,7 @@ Object.keys(_index12).forEach(function (key) {
|
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
|
-
var _index13 = require("./
|
|
163
|
+
var _index13 = require("./features/voice/index.js");
|
|
164
164
|
Object.keys(_index13).forEach(function (key) {
|
|
165
165
|
if (key === "default" || key === "__esModule") return;
|
|
166
166
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -172,16 +172,4 @@ Object.keys(_index13).forEach(function (key) {
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
|
-
var _index14 = require("./features/voice/index.js");
|
|
176
|
-
Object.keys(_index14).forEach(function (key) {
|
|
177
|
-
if (key === "default" || key === "__esModule") return;
|
|
178
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
179
|
-
if (key in exports && exports[key] === _index14[key]) return;
|
|
180
|
-
Object.defineProperty(exports, key, {
|
|
181
|
-
enumerable: true,
|
|
182
|
-
get: function () {
|
|
183
|
-
return _index14[key];
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
175
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_helpers","_index2","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index10","_index11","_index12","_index13"
|
|
1
|
+
{"version":3,"names":["_index","require","_helpers","_index2","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index10","_index11","_index12","_index13"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAAAG,MAAA,CAAAC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OAAA;AAAAG,MAAA,CAAAC,IAAA,CAAAqB,QAAA,EAAApB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAmB,QAAA,CAAAnB,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAW,QAAA,CAAAnB,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transcriptions",
|
|
58
58
|
"attempt": "Attempt {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Grade",
|
|
77
|
-
"gradeK": "K",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All grades are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practising.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transkriptionen",
|
|
58
58
|
"attempt": "Versuch {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transkript nicht verfügbar"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Üben & Fortschritt",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Als Nächstes dran!",
|
|
65
|
-
"teacherRecs": "Empfehlungen der Lehrkraft",
|
|
66
|
-
"practiceButton": "ÜBEN",
|
|
67
|
-
"stars": "Übungssterne",
|
|
68
|
-
"time": "Übungszeit",
|
|
69
|
-
"thisWeek": "Diese Woche",
|
|
70
|
-
"lastWeek": "Letzte Woche",
|
|
71
|
-
"allTime": "Gesamte Zeit",
|
|
72
|
-
"fluency": "Sicherheit",
|
|
73
|
-
"andMore": "und {{count}} weitere...",
|
|
74
|
-
"skillsLeft": "Fähigkeiten übrig",
|
|
75
|
-
"skillLeft": "Fähigkeit übrig",
|
|
76
|
-
"grade": "Jahrgang",
|
|
77
|
-
"gradeK": "Kiga",
|
|
78
|
-
"gradeOther": "Sonstige",
|
|
79
|
-
"loading": "Wird geladen...",
|
|
80
|
-
"allLockedTitle": "Alle Jahrgänge sind gesperrt",
|
|
81
|
-
"allLockedSubtitle": "Deine Lehrkraft hat alle Jahrgänge gesperrt.\nBitte sie, Jahrgänge freizuschalten, damit du mit dem Üben beginnen kannst.",
|
|
82
|
-
"initErrorTitle": "Etwas ist schiefgelaufen",
|
|
83
|
-
"initErrorSubtitle": "Wir konnten deinen Fortschritt nicht laden.\nBitte versuche es später erneut."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transcriptions",
|
|
58
58
|
"attempt": "Attempt {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Grade",
|
|
77
|
-
"gradeK": "K",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All grades are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practicing.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transcriptions",
|
|
58
58
|
"attempt": "Attempt {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Year",
|
|
77
|
-
"gradeK": "R",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All years are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all years.\nAsk them to unlock years so you can start practising.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transcriptions",
|
|
58
58
|
"attempt": "Attempt {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Year",
|
|
77
|
-
"gradeK": "R",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All years are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all years.\nAsk them to unlock years so you can start practising.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -57,29 +57,5 @@
|
|
|
57
57
|
"transcriptions": "Transkriptioner",
|
|
58
58
|
"attempt": "Försök {{number}}",
|
|
59
59
|
"transcriptNotAvailable": "Transkript inte tillgängligt"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Träna & Framsteg",
|
|
63
|
-
"startButton": "STARTA",
|
|
64
|
-
"nextUp": "Nästa!",
|
|
65
|
-
"teacherRecs": "Lärarens rekommendationer",
|
|
66
|
-
"practiceButton": "TRÄNA",
|
|
67
|
-
"stars": "Stjärnor",
|
|
68
|
-
"time": "Träningstid",
|
|
69
|
-
"thisWeek": "Denna vecka",
|
|
70
|
-
"lastWeek": "Förra veckan",
|
|
71
|
-
"allTime": "Totalt",
|
|
72
|
-
"fluency": "Räknefärdighet",
|
|
73
|
-
"andMore": "och {{count}} till...",
|
|
74
|
-
"skillsLeft": "Förmågor kvar",
|
|
75
|
-
"skillLeft": "Förmåga kvar",
|
|
76
|
-
"grade": "Årskurs",
|
|
77
|
-
"gradeK": "F",
|
|
78
|
-
"gradeOther": "Övrigt",
|
|
79
|
-
"loading": "Laddar...",
|
|
80
|
-
"allLockedTitle": "Alla årskurser är låsta",
|
|
81
|
-
"allLockedSubtitle": "Din lärare har låst alla årskurser.\nBe dem att låsa upp så att du kan börja träna.",
|
|
82
|
-
"initErrorTitle": "Något gick fel",
|
|
83
|
-
"initErrorSubtitle": "Vi kunde inte ladda dina framsteg.\nFörsök igen senare."
|
|
84
60
|
}
|
|
85
61
|
}
|
|
@@ -8,7 +8,6 @@ import { useChatModel } from "../../context/ChatBotModelContext.js";
|
|
|
8
8
|
import { ColorScheme } from "../../types/style.types.js";
|
|
9
9
|
import { HintButtonVariant, RequestHintButton } from "./RequestHintButton.js";
|
|
10
10
|
import { FreeTextInputBlock } from "./FreeText/FreeTextInputBlock.js";
|
|
11
|
-
import { SPACING } from '@magmamath/react-native-ui';
|
|
12
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
12
|
export const ChatInput = ({
|
|
14
13
|
isHintFeedback,
|
|
@@ -61,7 +60,7 @@ const styles = StyleSheet.create({
|
|
|
61
60
|
width: INPUT_WIDTH,
|
|
62
61
|
alignItems: 'flex-end',
|
|
63
62
|
justifyContent: 'center',
|
|
64
|
-
marginLeft:
|
|
63
|
+
marginLeft: 6
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
66
|
//# sourceMappingURL=ChatInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useMemo","StyleSheet","View","INPUT_WIDTH","useStoreMap","useUnit","useChatModel","ColorScheme","HintButtonVariant","RequestHintButton","FreeTextInputBlock","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","StyleSheet","View","INPUT_WIDTH","useStoreMap","useUnit","useChatModel","ColorScheme","HintButtonVariant","RequestHintButton","FreeTextInputBlock","jsx","_jsx","ChatInput","isHintFeedback","hasMessages","colorScheme","Blue","model","alternatives","$alternatives","isTranslated","translation","$isTranslated","isTranslationPending","translateAllMessagesFx","pending","isHelpRequestPending","sendHelpRequestFx","lastMessageOptions","$currentChatData","messages","lastMessage","at","options","option","length","shouldShowNextHintOption","hints","default","optionLabel","translatedText","text","sendMessage","message","translatedMessage","shouldDisableInput","style","styles","container","children","isOpenChatEnabled","onOptionPress","disabled","onPress","label","variant","DEFAULT","create","width","alignItems","justifyContent","marginLeft"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatInput/ChatInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,WAAW,QAAQ,oBAAiB;AAC7C,SAASC,WAAW,EAAEC,OAAO,QAAQ,gBAAgB;AACrD,SAASC,YAAY,QAAQ,sCAAmC;AAChE,SAASC,WAAW,QAAQ,4BAAyB;AACrD,SAASC,iBAAiB,EAAEC,iBAAiB,Q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;IACxBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,7 +5,6 @@ import { Platform, StyleSheet, Text, View } from 'react-native';
|
|
|
5
5
|
import { ColorScheme } from "../../types/style.types.js";
|
|
6
6
|
import { MessageButtonsBlock } from "./MessageButtonsBlock.js";
|
|
7
7
|
import { getSpacerSize } from "./helpers.js";
|
|
8
|
-
import { FONT_FAMILY } from '@magmamath/react-native-ui';
|
|
9
8
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
9
|
const MessageContentWeb = ({
|
|
11
10
|
message,
|
|
@@ -78,7 +77,7 @@ const styles = StyleSheet.create({
|
|
|
78
77
|
flex: 1,
|
|
79
78
|
fontSize: 20,
|
|
80
79
|
fontWeight: 400,
|
|
81
|
-
fontFamily:
|
|
80
|
+
fontFamily: 'Buenos Aires',
|
|
82
81
|
color: '#33334D',
|
|
83
82
|
width: '100%'
|
|
84
83
|
},
|