@magmamath/students-features 1.3.26-rc.2 → 1.3.26-rc.20
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/FreeText/ChatTextInput.js +0 -145
- package/dist/commonjs/features/chatbot/helpers.js +3 -0
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +0 -44
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -70
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +0 -255
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -144
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswerSparks.js +0 -56
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/GoodDrawingSparks.js +0 -68
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/Spark.js +0 -53
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -82
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -70
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -113
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js +0 -83
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js +0 -305
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.js +0 -63
- package/dist/commonjs/features/fluency/assets/FlameIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/FlameIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/FlashIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/FlashIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js +232 -0
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/{DivideIcon.js → SparkleIcon.js} +6 -8
- package/dist/commonjs/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js +5 -3
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js.map +1 -1
- package/dist/commonjs/features/fluency/assets/TrophyBg.js +41 -0
- package/dist/commonjs/features/fluency/assets/TrophyBg.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/success.mp3 +0 -0
- package/dist/commonjs/features/fluency/components/Fluency.js +20 -32
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -1
- package/dist/commonjs/features/fluency/components/FluencySolving.js +16 -12
- package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -1
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js +42 -37
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -1
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js +16 -27
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js +148 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +113 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +39 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js +62 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +80 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/{FluencySolvingHeader.js → components/FluencySolvingHeader.js} +17 -11
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +93 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +69 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js +3 -4
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js +56 -0
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js +90 -19
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js +21 -26
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js +11 -9
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -1
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js +37 -0
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js +31 -69
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -1
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js +117 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js +21 -9
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js +206 -0
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js.map +1 -0
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js +77 -0
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js +113 -0
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js +29 -29
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -1
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js.map +1 -1
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js +34 -13
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js.map +1 -1
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js +33 -22
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js.map +1 -1
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js +44 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js +17 -8
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js.map +1 -1
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js +170 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js +57 -0
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js +18 -0
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js +26 -0
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js +27 -0
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js.map +1 -0
- package/dist/commonjs/features/fluency/index.js +3 -3
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js +6 -1
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js +8 -1
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js +15 -1
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyModel.js +39 -22
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js +142 -5
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js.map +1 -1
- package/dist/commonjs/features/fluency/{fluency.constants.js → shared/fluency.constants.js} +40 -15
- package/dist/commonjs/features/fluency/shared/fluency.constants.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js +131 -0
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.types.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.constants.js +29 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.constants.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.helpers.js +86 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.types.js +6 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.types.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js +32 -0
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js +31 -0
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +45 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js +47 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +99 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +80 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +56 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +123 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +77 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +52 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +114 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js +139 -0
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js +40 -0
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js +102 -0
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js +101 -0
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js +64 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +48 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +53 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +59 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +112 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +82 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js +37 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +165 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +40 -0
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +85 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +128 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js +71 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js +16 -0
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +82 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +75 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js +6 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +60 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js +37 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/index.js +20 -0
- package/dist/commonjs/features/fluency-teacher/index.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js +15 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +30 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +48 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js +62 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +0 -33
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +0 -50
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +0 -35
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +0 -55
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -45
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -45
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +3 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +10 -4
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +5 -2
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/groups/currency.constants.js +3 -0
- package/dist/commonjs/features/keyboard/constants/groups/currency.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +16 -0
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js +0 -25
- package/dist/commonjs/features/pmProgress/components/chart/chart.types.js +0 -2
- package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +0 -44
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +0 -91
- 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.map +0 -1
- package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js +0 -49
- package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js +0 -23
- package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js +0 -79
- package/dist/commonjs/features/pmProgress/components/content/PmContent.js +0 -48
- package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +0 -125
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +0 -140
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +0 -137
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +0 -71
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +0 -108
- package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +0 -74
- package/dist/commonjs/features/pmProgress/components/list/DomainCard.js +0 -194
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +0 -82
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +0 -100
- package/dist/commonjs/features/pmProgress/components/list/StandardItem.js +0 -143
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +0 -101
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +0 -142
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +0 -207
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +1 -2
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +0 -245
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +0 -109
- package/dist/commonjs/features/voice/playing/hooks/useVoiceTranscriptionsDropdown.js +0 -50
- package/dist/commonjs/features/voice/playing/hooks/useVoiceTranscriptionsDropdownItemAnimation.js +0 -34
- package/dist/commonjs/features/voice/playing/model/Player.model.js +0 -98
- package/dist/commonjs/features/voice/playing/model/TranscriptionsDownloaderModel.js +0 -66
- package/dist/commonjs/features/voice/playing/model/VoiceFileDownloader.model.js +0 -39
- package/dist/commonjs/features/voice/playing/model/VoicePlayer.model.js +0 -223
- package/dist/commonjs/features/voice/playing/model/VoiceTranscriptionsCollection.js +0 -41
- package/dist/commonjs/features/voice/playing/model/VoiceTranscriptionsDropdown.model.js +0 -15
- package/dist/commonjs/features/voice/playing/model/index.js +0 -20
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +0 -137
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -37
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDivider.js +0 -27
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +0 -52
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorder.js +0 -59
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +0 -22
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +0 -57
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -82
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -55
- package/dist/commonjs/features/voice/recording/model/Recorder.model.js +0 -55
- package/dist/commonjs/features/voice/recording/model/Uploader.model.js +0 -44
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +0 -248
- package/dist/commonjs/features/voice/recording/model/VoiceRecordCollection.js +0 -30
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/components/GradientView.js +55 -0
- package/dist/commonjs/lib/components/GradientView.js.map +1 -0
- package/dist/commonjs/lib/constants.js +1 -0
- package/dist/commonjs/lib/constants.js.map +1 -1
- package/dist/commonjs/shared/common.constants.js +7 -1
- package/dist/commonjs/shared/common.constants.js.map +1 -1
- package/dist/commonjs/{features/fluency/assets/SpringIcon.js → shared/icons/keyboard/FrancIcon.js} +20 -15
- package/dist/commonjs/shared/icons/keyboard/FrancIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/RappenIcon.js +34 -0
- package/dist/commonjs/shared/icons/keyboard/RappenIcon.js.map +1 -0
- package/dist/module/features/chatbot/helpers.js +3 -0
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/fluency/assets/FlameIcon.js +22 -0
- package/dist/module/features/fluency/assets/FlameIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/FlashIcon.js +22 -0
- package/dist/module/features/fluency/assets/FlashIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js +224 -0
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js.map +1 -0
- package/dist/module/features/fluency/assets/{DivideIcon.js → SparkleIcon.js} +4 -6
- package/dist/module/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js +5 -3
- package/dist/module/features/fluency/assets/StarFillIcon.js.map +1 -1
- package/dist/module/features/fluency/assets/TrophyBg.js +33 -0
- package/dist/module/features/fluency/assets/TrophyBg.js.map +1 -0
- package/dist/module/features/fluency/assets/success.mp3 +0 -0
- package/dist/module/features/fluency/components/Fluency.js +22 -34
- package/dist/module/features/fluency/components/Fluency.js.map +1 -1
- package/dist/module/features/fluency/components/FluencySolving.js +16 -12
- package/dist/module/features/fluency/components/FluencySolving.js.map +1 -1
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js +42 -37
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -1
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js +17 -28
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -1
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js +141 -0
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +107 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +33 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js +56 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +74 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/{FluencySolvingHeader.js → components/FluencySolvingHeader.js} +18 -12
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +87 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +62 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js +3 -4
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js +50 -0
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js +90 -20
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js +21 -26
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js +11 -9
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -1
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js +31 -0
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js +31 -69
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -1
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js +110 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js +22 -10
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js +199 -0
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js.map +1 -0
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js +71 -0
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js.map +1 -0
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js +107 -0
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js +29 -29
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -1
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js +2 -1
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js.map +1 -1
- package/dist/module/features/fluency/components/start-banner/StartBanner.js +35 -14
- package/dist/module/features/fluency/components/start-banner/StartBanner.js.map +1 -1
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js +33 -22
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js.map +1 -1
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js +39 -0
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js +17 -8
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js.map +1 -1
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js +164 -0
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js +52 -0
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js.map +1 -0
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js +13 -0
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js.map +1 -0
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js +21 -0
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js.map +1 -0
- package/dist/module/features/fluency/hooks/useSuccessSound.js +21 -0
- package/dist/module/features/fluency/hooks/useSuccessSound.js.map +1 -0
- package/dist/module/features/fluency/index.js +3 -3
- package/dist/module/features/fluency/index.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyApiModel.js +6 -1
- package/dist/module/features/fluency/model/FluencyApiModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js +8 -1
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyMatrixModel.js +15 -1
- package/dist/module/features/fluency/model/FluencyMatrixModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyModel.js +40 -23
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencySolvingModel.js +143 -6
- package/dist/module/features/fluency/model/FluencySolvingModel.js.map +1 -1
- package/dist/module/features/fluency/{fluency.constants.js → shared/fluency.constants.js} +38 -15
- package/dist/module/features/fluency/shared/fluency.constants.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.helpers.js +124 -0
- package/dist/module/features/fluency/shared/fluency.helpers.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.types.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.constants.js +25 -0
- package/dist/module/features/fluency/shared/fluencySolving.constants.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.helpers.js +76 -0
- package/dist/module/features/fluency/shared/fluencySolving.helpers.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.types.js +4 -0
- package/dist/module/features/fluency/shared/fluencySolving.types.js.map +1 -0
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js +24 -0
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js.map +1 -0
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js +23 -0
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +39 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js +41 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +93 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +74 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +50 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +117 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +71 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +46 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +107 -0
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js +133 -0
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js +33 -0
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js +96 -0
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js +95 -0
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js +58 -0
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +42 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +47 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +53 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +106 -0
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +76 -0
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js +31 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +159 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +34 -0
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +79 -0
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableRow.js +121 -0
- package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js +65 -0
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js +11 -0
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +78 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +67 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js +4 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js.map +1 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +55 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js +32 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -0
- package/dist/module/features/fluency-teacher/index.js +5 -0
- package/dist/module/features/fluency-teacher/index.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js +10 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +25 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +43 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js +57 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +1 -0
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +3 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +3 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +10 -4
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +5 -2
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/groups/currency.constants.js +3 -0
- package/dist/module/features/keyboard/constants/groups/currency.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +2 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/units.constants.js +16 -0
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +0 -32
- package/dist/module/features/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js +0 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +1 -1
- package/dist/module/features/voice/playing/hooks/useVoiceTranscriptionsDropdownItemAnimation.js +0 -29
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/components/GradientView.js +49 -0
- package/dist/module/lib/components/GradientView.js.map +1 -0
- package/dist/module/lib/constants.js +1 -0
- package/dist/module/lib/constants.js.map +1 -1
- package/dist/module/shared/common.constants.js +6 -0
- package/dist/module/shared/common.constants.js.map +1 -1
- package/dist/module/shared/icons/keyboard/FrancIcon.js +26 -0
- package/dist/module/shared/icons/keyboard/FrancIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/RappenIcon.js +26 -0
- package/dist/module/shared/icons/keyboard/RappenIcon.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts +5 -1
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts +4 -2
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts +2 -1
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts +2 -4
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts +7 -7
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +6 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.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/components/session-results/FluencySessionResults.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/FluencySessionResults.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts +1 -19
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts +1 -1
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts +7 -2
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +16 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts +18 -3
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts +53 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts +25 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts +2 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts +3 -3
- package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts +6 -3
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts +5 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +4 -14
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts +28 -7
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts +43 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.types.d.ts +125 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.constants.d.ts +5 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.helpers.d.ts +17 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.types.d.ts +34 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +25 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +99 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +2 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/currency.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts +18 -0
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts.map +1 -0
- package/dist/typescript/commonjs/lib/constants.d.ts +2 -1
- package/dist/typescript/commonjs/lib/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/common.constants.d.ts +5 -0
- package/dist/typescript/commonjs/shared/common.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/FrancIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/FrancIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/RappenIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/RappenIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts +3 -0
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts +5 -1
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts +3 -0
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts +4 -2
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts +2 -1
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts +2 -4
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts +15 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +14 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +12 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts +7 -7
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +6 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.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/components/session-results/FluencySessionResults.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/session-results/FluencySessionResults.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts +15 -0
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts +1 -19
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts +1 -1
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts +7 -2
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +16 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts +18 -3
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts +53 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts +25 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts +2 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts +9 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts +4 -0
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/index.d.ts +3 -3
- package/dist/typescript/module/features/fluency/index.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts +6 -3
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts +5 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts +8 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +4 -14
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts +28 -7
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts +43 -0
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts +14 -0
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.types.d.ts +125 -0
- package/dist/typescript/module/features/fluency/shared/fluency.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.constants.d.ts +5 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.helpers.d.ts +17 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.types.d.ts +34 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +14 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +13 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +25 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +99 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +15 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +14 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/index.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/index.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts +13 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +19 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +2 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/groups/currency.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +0 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/components/GradientView.d.ts +18 -0
- package/dist/typescript/module/lib/components/GradientView.d.ts.map +1 -0
- package/dist/typescript/module/lib/constants.d.ts +2 -1
- package/dist/typescript/module/lib/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/common.constants.d.ts +5 -0
- package/dist/typescript/module/shared/common.constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/FrancIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/FrancIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/RappenIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/RappenIcon.d.ts.map +1 -0
- package/package.json +6 -4
- package/src/features/chatbot/helpers.ts +1 -0
- package/src/features/fluency/assets/FlameIcon.tsx +14 -0
- package/src/features/fluency/assets/FlashIcon.tsx +14 -0
- package/src/features/fluency/assets/SnurrisnurrBg.tsx +193 -0
- package/src/features/fluency/assets/SparkleIcon.tsx +14 -0
- package/src/features/fluency/assets/StarFillIcon.tsx +7 -3
- package/src/features/fluency/assets/TrophyBg.tsx +32 -0
- package/src/features/fluency/assets/success.mp3 +0 -0
- package/src/features/fluency/components/Fluency.tsx +23 -42
- package/src/features/fluency/components/FluencySolving.tsx +14 -7
- package/src/features/fluency/components/day-streak-counter/DayStreak.tsx +36 -32
- package/src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx +31 -31
- package/src/features/fluency/components/fluency-solving/components/EquationContent.tsx +141 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx +131 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx +51 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyNumpad.tsx +54 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingCard.tsx +71 -0
- package/src/features/fluency/components/fluency-solving/{FluencySolvingHeader.tsx → components/FluencySolvingHeader.tsx} +17 -9
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx +87 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.tsx +71 -0
- package/src/features/fluency/components/matrix/FluencyMatrix.tsx +3 -3
- package/src/features/fluency/components/matrix/components/CellTooltip.tsx +46 -0
- package/src/features/fluency/components/matrix/components/MatrixCell.tsx +98 -25
- package/src/features/fluency/components/matrix/components/MatrixFill.tsx +27 -25
- package/src/features/fluency/components/matrix/components/MatrixLegend.tsx +11 -6
- package/src/features/fluency/components/mobile-menu/MobileMenu.tsx +28 -0
- package/src/features/fluency/components/select-math-operator/ProgressBar.tsx +25 -71
- package/src/features/fluency/components/select-math-operator/ProgressBarSparkles.tsx +142 -0
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +34 -9
- package/src/features/fluency/components/session-results/FluencySessionResults.tsx +191 -0
- package/src/features/fluency/components/session-results/SessionStatCard.tsx +58 -0
- package/src/features/fluency/components/session-results/SkillProgressionRow.tsx +100 -0
- package/src/features/fluency/components/start-banner/BannerFlashcards.tsx +17 -16
- package/src/features/fluency/components/start-banner/MathFlashcard.tsx +8 -10
- package/src/features/fluency/components/start-banner/StartBanner.tsx +30 -14
- package/src/features/fluency/context/FluencyContext.ts +1 -1
- package/src/features/fluency/hooks/useCardSnapAnimation.ts +41 -21
- package/src/features/fluency/hooks/useFluencyCardDeckAnimation.ts +49 -0
- package/src/features/fluency/hooks/useFluencyModePreset.ts +30 -9
- package/src/features/fluency/hooks/useFluencyNumpad.tsx +141 -0
- package/src/features/fluency/hooks/useFluencySolvingPreset.ts +71 -0
- package/src/features/fluency/hooks/usePreventPageLeave.ts +11 -0
- package/src/features/fluency/hooks/usePreventWebKeys.ts +24 -0
- package/src/features/fluency/hooks/useSuccessSound.ts +20 -0
- package/src/features/fluency/index.ts +3 -3
- package/src/features/fluency/model/FluencyApiModel.ts +17 -2
- package/src/features/fluency/model/FluencyDaysStreakModel.ts +11 -1
- package/src/features/fluency/model/FluencyMatrixModel.ts +20 -1
- package/src/features/fluency/model/FluencyModel.ts +47 -26
- package/src/features/fluency/model/FluencySolvingModel.ts +180 -8
- package/src/features/fluency/{fluency.constants.ts → shared/fluency.constants.ts} +40 -15
- package/src/features/fluency/shared/fluency.helpers.ts +134 -0
- package/src/features/fluency/shared/fluency.types.ts +132 -0
- package/src/features/fluency/shared/fluencySolving.constants.ts +25 -0
- package/src/features/fluency/shared/fluencySolving.helpers.ts +102 -0
- package/src/features/fluency/shared/fluencySolving.types.ts +37 -0
- package/src/features/fluency-teacher/assets/PersonIcon.tsx +16 -0
- package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +10 -0
- package/src/features/fluency-teacher/components/FluencyTeacher.tsx +41 -0
- package/src/features/fluency-teacher/components/FluencyTeacherFooter.tsx +42 -0
- package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +92 -0
- package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +63 -0
- package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +52 -0
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +111 -0
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +65 -0
- package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +52 -0
- package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +89 -0
- package/src/features/fluency-teacher/components/header/AverageTimePerStudent.tsx +122 -0
- package/src/features/fluency-teacher/components/header/FluencyTeacherHeader.tsx +33 -0
- package/src/features/fluency-teacher/components/header/HardestFact.tsx +98 -0
- package/src/features/fluency-teacher/components/header/TopHardestFacts.tsx +100 -0
- package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +69 -0
- package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +38 -0
- package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +37 -0
- package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +57 -0
- package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +103 -0
- package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +76 -0
- package/src/features/fluency-teacher/components/table/FluencyTeacherFilters.tsx +29 -0
- package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +159 -0
- package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +29 -0
- package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +87 -0
- package/src/features/fluency-teacher/components/table/TableRow.tsx +114 -0
- package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +65 -0
- package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +16 -0
- package/src/features/fluency-teacher/fluencyTeacher.constants.ts +86 -0
- package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +81 -0
- package/src/features/fluency-teacher/fluencyTeacher.types.ts +117 -0
- package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +58 -0
- package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +44 -0
- package/src/features/fluency-teacher/index.ts +2 -0
- package/src/features/fluency-teacher/model/TeacherFluencyApiModel.ts +18 -0
- package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +20 -0
- package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +45 -0
- package/src/features/fluency-teacher/model/TeacherFluencyTableModel.ts +70 -0
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +8 -1
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +8 -1
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +12 -2
- package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +3 -0
- package/src/features/keyboard/components/SwitchableLayout/types.ts +2 -0
- package/src/features/keyboard/constants/groups/currency.constants.ts +3 -0
- package/src/features/keyboard/constants/keyboard.helpers.ts +1 -0
- package/src/features/keyboard/constants/keys/units.constants.tsx +12 -0
- package/src/features/pmProgress/components/content/PmContent.tsx +0 -1
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +2 -2
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +8 -1
- package/src/features/pmProgress/components/standard/StandardTag.tsx +1 -1
- package/src/features/pmProgress/context/PmProgressContext.tsx +1 -1
- package/src/features/pmProgress/shared/pmProgress.constants.ts +0 -1
- package/src/i18n/.generated/schema.json +38 -3
- package/src/index.ts +1 -0
- package/src/lib/components/GradientView.tsx +71 -0
- package/src/lib/constants.ts +3 -2
- package/src/shared/common.constants.ts +7 -0
- package/src/shared/icons/keyboard/FrancIcon.tsx +20 -0
- package/src/shared/icons/keyboard/RappenIcon.tsx +20 -0
- package/src/types/types.d.ts +5 -0
- package/dist/commonjs/features/fluency/assets/DivideIcon.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/SpringIcon.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/EquationContent.js +0 -89
- package/dist/commonjs/features/fluency/components/fluency-solving/EquationContent.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js +0 -84
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js +0 -203
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js +0 -67
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingHeader.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.js +0 -47
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.js.map +0 -1
- package/dist/commonjs/features/fluency/fluency.constants.js.map +0 -1
- package/dist/commonjs/features/fluency/fluency.helpers.js +0 -69
- package/dist/commonjs/features/fluency/fluency.helpers.js.map +0 -1
- package/dist/commonjs/features/fluency/fluency.types.js.map +0 -1
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js +0 -20
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js.map +0 -1
- package/dist/module/features/fluency/assets/DivideIcon.js.map +0 -1
- package/dist/module/features/fluency/assets/SpringIcon.js +0 -22
- package/dist/module/features/fluency/assets/SpringIcon.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/EquationContent.js +0 -83
- package/dist/module/features/fluency/components/fluency-solving/EquationContent.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js +0 -78
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js +0 -196
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js +0 -60
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingHeader.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingProgress.js +0 -41
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingProgress.js.map +0 -1
- package/dist/module/features/fluency/fluency.constants.js.map +0 -1
- package/dist/module/features/fluency/fluency.helpers.js +0 -60
- package/dist/module/features/fluency/fluency.helpers.js.map +0 -1
- package/dist/module/features/fluency/fluency.types.js.map +0 -1
- package/dist/module/features/fluency/model/FluencyInputModel.js +0 -15
- package/dist/module/features/fluency/model/FluencyInputModel.js.map +0 -1
- package/dist/typescript/commonjs/features/fluency/__tests__/FluencyModel.test.d.ts +0 -2
- package/dist/typescript/commonjs/features/fluency/__tests__/FluencyModel.test.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/DivideIcon.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency/assets/DivideIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/SpringIcon.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency/assets/SpringIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/EquationContent.d.ts +0 -9
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/EquationContent.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.d.ts +0 -7
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingHeader.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts +0 -25
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts +0 -19
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts +0 -47
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts +0 -11
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/__tests__/FluencyModel.test.d.ts +0 -2
- package/dist/typescript/module/features/fluency/__tests__/FluencyModel.test.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/DivideIcon.d.ts +0 -8
- package/dist/typescript/module/features/fluency/assets/DivideIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/SpringIcon.d.ts +0 -3
- package/dist/typescript/module/features/fluency/assets/SpringIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/EquationContent.d.ts +0 -9
- package/dist/typescript/module/features/fluency/components/fluency-solving/EquationContent.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +0 -8
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyNumpad.d.ts +0 -7
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingHeader.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts +0 -8
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts +0 -25
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts +0 -19
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/fluency.types.d.ts +0 -47
- package/dist/typescript/module/features/fluency/fluency.types.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts +0 -11
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts.map +0 -1
- package/src/features/fluency/__tests__/FluencyModel.test.ts +0 -28
- package/src/features/fluency/assets/DivideIcon.tsx +0 -21
- package/src/features/fluency/assets/SpringIcon.tsx +0 -17
- package/src/features/fluency/components/fluency-solving/EquationContent.tsx +0 -78
- package/src/features/fluency/components/fluency-solving/FluencyEquationCard.tsx +0 -70
- package/src/features/fluency/components/fluency-solving/FluencyNumpad.tsx +0 -181
- package/src/features/fluency/components/fluency-solving/FluencySolvingCard.tsx +0 -53
- package/src/features/fluency/components/fluency-solving/FluencySolvingProgress.tsx +0 -40
- package/src/features/fluency/fluency.helpers.ts +0 -72
- package/src/features/fluency/fluency.types.ts +0 -42
- package/src/features/fluency/model/FluencyInputModel.ts +0 -17
- /package/dist/commonjs/features/fluency/{fluency.types.js → shared/fluency.types.js} +0 -0
- /package/dist/module/features/fluency/{fluency.types.js → shared/fluency.types.js} +0 -0
- /package/dist/typescript/commonjs/features/fluency/components/fluency-solving/{FluencySolvingCard.d.ts → components/FluencySolvingCard.d.ts} +0 -0
- /package/dist/typescript/commonjs/features/fluency/components/fluency-solving/{FluencySolvingHeader.d.ts → components/FluencySolvingHeader.d.ts} +0 -0
- /package/dist/typescript/module/features/fluency/components/fluency-solving/{FluencySolvingCard.d.ts → components/FluencySolvingCard.d.ts} +0 -0
- /package/dist/typescript/module/features/fluency/components/fluency-solving/{FluencySolvingHeader.d.ts → components/FluencySolvingHeader.d.ts} +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect } from 'react';
|
|
4
|
+
import { Animated, Modal, Pressable, ScrollView, StyleSheet, View } from 'react-native';
|
|
5
|
+
import { useUnit } from 'effector-react';
|
|
6
|
+
import { COLORS, SHADOWS, SPACING } from '@magmamath/react-native-ui';
|
|
7
|
+
import { DrawerHeader } from "./DrawerHeader.js";
|
|
8
|
+
import { DrawerStats } from "./DrawerStats.js";
|
|
9
|
+
import { DrawerMatrixes } from "./DrawerMatrixes.js";
|
|
10
|
+
import { useTeacherFluency } from "../../context/TeacherFluencyContext.js";
|
|
11
|
+
import { DrawerMasteryLegend } from "./DrawerMasteryLegend.js";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
const DRAWER_WIDTH = 700;
|
|
14
|
+
const BACKDROP_COLOR = 'rgba(0, 0, 0, 0.2)';
|
|
15
|
+
const backdropOpacity = new Animated.Value(0);
|
|
16
|
+
const drawerTranslateX = new Animated.Value(DRAWER_WIDTH);
|
|
17
|
+
export const FluencyTeacherDrawer = () => {
|
|
18
|
+
const {
|
|
19
|
+
model
|
|
20
|
+
} = useTeacherFluency();
|
|
21
|
+
const student = useUnit(model.table.$studentInfoDrawer);
|
|
22
|
+
const isVisible = student !== null;
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (!isVisible) return;
|
|
25
|
+
Animated.parallel([Animated.timing(backdropOpacity, {
|
|
26
|
+
toValue: 1,
|
|
27
|
+
duration: 200,
|
|
28
|
+
useNativeDriver: true
|
|
29
|
+
}), Animated.timing(drawerTranslateX, {
|
|
30
|
+
toValue: 0,
|
|
31
|
+
duration: 250,
|
|
32
|
+
useNativeDriver: true
|
|
33
|
+
})]).start();
|
|
34
|
+
}, [isVisible]);
|
|
35
|
+
if (!isVisible) return null;
|
|
36
|
+
const closeDrawer = () => {
|
|
37
|
+
Animated.parallel([Animated.timing(backdropOpacity, {
|
|
38
|
+
toValue: 0,
|
|
39
|
+
duration: 200,
|
|
40
|
+
useNativeDriver: true
|
|
41
|
+
}), Animated.timing(drawerTranslateX, {
|
|
42
|
+
toValue: DRAWER_WIDTH,
|
|
43
|
+
duration: 250,
|
|
44
|
+
useNativeDriver: true
|
|
45
|
+
})]).start(() => model.table.setStudentInfoDrawer(null));
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
48
|
+
visible: isVisible,
|
|
49
|
+
transparent: true,
|
|
50
|
+
animationType: "none",
|
|
51
|
+
onRequestClose: closeDrawer,
|
|
52
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
53
|
+
style: styles.root,
|
|
54
|
+
children: [/*#__PURE__*/_jsx(Animated.View, {
|
|
55
|
+
style: [styles.backdrop, {
|
|
56
|
+
opacity: backdropOpacity
|
|
57
|
+
}],
|
|
58
|
+
children: /*#__PURE__*/_jsx(Pressable, {
|
|
59
|
+
style: StyleSheet.absoluteFill,
|
|
60
|
+
onPress: closeDrawer
|
|
61
|
+
})
|
|
62
|
+
}), /*#__PURE__*/_jsxs(Animated.View, {
|
|
63
|
+
style: [styles.drawer, {
|
|
64
|
+
transform: [{
|
|
65
|
+
translateX: drawerTranslateX
|
|
66
|
+
}]
|
|
67
|
+
}],
|
|
68
|
+
children: [/*#__PURE__*/_jsx(DrawerHeader, {
|
|
69
|
+
student: student,
|
|
70
|
+
onClose: closeDrawer
|
|
71
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
72
|
+
style: styles.content,
|
|
73
|
+
children: [/*#__PURE__*/_jsx(DrawerStats, {
|
|
74
|
+
scores: student.scores
|
|
75
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
76
|
+
showsVerticalScrollIndicator: false,
|
|
77
|
+
children: [/*#__PURE__*/_jsx(DrawerMatrixes, {}), /*#__PURE__*/_jsx(DrawerMasteryLegend, {})]
|
|
78
|
+
})]
|
|
79
|
+
})]
|
|
80
|
+
})]
|
|
81
|
+
})
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
const styles = StyleSheet.create({
|
|
85
|
+
root: {
|
|
86
|
+
flex: 1
|
|
87
|
+
},
|
|
88
|
+
backdrop: {
|
|
89
|
+
...StyleSheet.absoluteFillObject,
|
|
90
|
+
backgroundColor: BACKDROP_COLOR
|
|
91
|
+
},
|
|
92
|
+
drawer: {
|
|
93
|
+
position: 'absolute',
|
|
94
|
+
top: 0,
|
|
95
|
+
right: 0,
|
|
96
|
+
bottom: 0,
|
|
97
|
+
width: DRAWER_WIDTH,
|
|
98
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
99
|
+
...SHADOWS[3]
|
|
100
|
+
},
|
|
101
|
+
content: {
|
|
102
|
+
flex: 1,
|
|
103
|
+
paddingVertical: SPACING[500],
|
|
104
|
+
paddingHorizontal: SPACING[700]
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
//# sourceMappingURL=FluencyTeacherDrawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","Animated","Modal","Pressable","ScrollView","StyleSheet","View","useUnit","COLORS","SHADOWS","SPACING","DrawerHeader","DrawerStats","DrawerMatrixes","useTeacherFluency","DrawerMasteryLegend","jsx","_jsx","jsxs","_jsxs","DRAWER_WIDTH","BACKDROP_COLOR","backdropOpacity","Value","drawerTranslateX","FluencyTeacherDrawer","model","student","table","$studentInfoDrawer","isVisible","parallel","timing","toValue","duration","useNativeDriver","start","closeDrawer","setStudentInfoDrawer","visible","transparent","animationType","onRequestClose","children","style","styles","root","backdrop","opacity","absoluteFill","onPress","drawer","transform","translateX","onClose","content","scores","showsVerticalScrollIndicator","create","flex","absoluteFillObject","backgroundColor","position","top","right","bottom","width","NEUTRAL_1","paddingVertical","paddingHorizontal"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,QAAQ,EAAEC,KAAK,EAAEC,SAAS,EAAEC,UAAU,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACvF,SAASC,OAAO,QAAQ,gBAAgB;AACxC,SAASC,MAAM,EAAEC,OAAO,EAAEC,OAAO,QAAQ,4BAA4B;AAErE,SAASC,YAAY,QAAQ,mBAAgB;AAC7C,SAASC,WAAW,QAAQ,kBAAe;AAC3C,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,iBAAiB,QAAQ,wCAAqC;AACvE,SAASC,mBAAmB,QAAQ,0BAA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AACJ,cAAc,IAAE,CAAC,eAClBI,IAAA,CAACF,mBAAmB,IAAE,CAAC;UAAA,CACb,CAAC;QAAA,CACT,CAAC;MAAA,CACM,CAAC;IAAA,CACZ;EAAC,CACF,CAAC;AAEZ,CAAC;AAED,MAAM8B,MAAM,GAAGxC,UAAU,CAACqD,MAAM,CAAC;EAC/BZ,IAAI,EAAE;IACJa,IAAI,EAAE;EACR,CAAC;EACDZ,QAAQ,EAAE;IACR,GAAG1C,UAAU,CAACuD,kBAAkB;IAChCC,eAAe,EAAExC;EACnB,CAAC;EACD8B,MAAM,EAAE;IACNW,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,KAAK,EAAE9C,YAAY;IACnByC,eAAe,EAAErD,MAAM,CAAC2D,SAAS;IACjC,GAAG1D,OAAO,CAAC,CAAC;EACd,CAAC;EACD8C,OAAO,EAAE;IACPI,IAAI,EAAE,CAAC;IACPS,eAAe,EAAE1D,OAAO,CAAC,GAAG,CAAC;IAC7B2D,iBAAiB,EAAE3D,OAAO,CAAC,GAAG;EAChC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, COLORS, FONT_FAMILY, HeadingVariants, SHADOWS, SPACING, TimerIcon, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useTeacherFluency } from "../../context/TeacherFluencyContext.js";
|
|
7
|
+
import { useUnit } from 'effector-react';
|
|
8
|
+
import { useText } from "../../../../i18n/i18n.js";
|
|
9
|
+
import { TEACHER_FLUENCY_GOAL_MINUTES } from "../../fluencyTeacher.constants.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const AverageTimePerStudent = () => {
|
|
12
|
+
const t = useText();
|
|
13
|
+
const {
|
|
14
|
+
model
|
|
15
|
+
} = useTeacherFluency();
|
|
16
|
+
const data = useUnit(model.table.$stats);
|
|
17
|
+
const students = data?.students ?? [];
|
|
18
|
+
const totalWeeklyMs = students.reduce((sum, {
|
|
19
|
+
weeklyTimeMs
|
|
20
|
+
}) => sum + weeklyTimeMs, 0);
|
|
21
|
+
const currentMinutes = students.length > 0 ? Math.round(totalWeeklyMs / students.length / 60000) : 0;
|
|
22
|
+
const fillPercent = Math.min(currentMinutes / TEACHER_FLUENCY_GOAL_MINUTES, 1);
|
|
23
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
24
|
+
style: styles.container,
|
|
25
|
+
testID: "average-time-per-student",
|
|
26
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
27
|
+
style: styles.accentBar
|
|
28
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
29
|
+
style: styles.content,
|
|
30
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
31
|
+
style: styles.header,
|
|
32
|
+
children: [/*#__PURE__*/_jsx(TimerIcon, {
|
|
33
|
+
size: 16,
|
|
34
|
+
color: COLORS.PRIMARY_PURPLE
|
|
35
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
36
|
+
variant: HeadingVariants.H9,
|
|
37
|
+
style: styles.title,
|
|
38
|
+
children: t('teacher.fluency.avgTimeTitle')
|
|
39
|
+
})]
|
|
40
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
41
|
+
style: styles.divider
|
|
42
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
43
|
+
style: styles.data,
|
|
44
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
45
|
+
style: styles.time,
|
|
46
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
47
|
+
style: styles.bigNumber,
|
|
48
|
+
children: currentMinutes
|
|
49
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
50
|
+
variant: HeadingVariants.H2,
|
|
51
|
+
style: styles.goalText,
|
|
52
|
+
children: t('teacher.fluency.minGoal', {
|
|
53
|
+
goal: TEACHER_FLUENCY_GOAL_MINUTES
|
|
54
|
+
})
|
|
55
|
+
})]
|
|
56
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
57
|
+
style: styles.progressTrack,
|
|
58
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
59
|
+
style: [styles.progressFill, {
|
|
60
|
+
width: `${fillPercent * 100}%`
|
|
61
|
+
}]
|
|
62
|
+
})
|
|
63
|
+
})]
|
|
64
|
+
})]
|
|
65
|
+
})]
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
const styles = StyleSheet.create({
|
|
69
|
+
container: {
|
|
70
|
+
width: 282,
|
|
71
|
+
height: 170,
|
|
72
|
+
flexDirection: 'row',
|
|
73
|
+
borderRadius: BORDER_RADIUS[300],
|
|
74
|
+
overflow: 'hidden',
|
|
75
|
+
...SHADOWS[1]
|
|
76
|
+
},
|
|
77
|
+
accentBar: {
|
|
78
|
+
width: 6,
|
|
79
|
+
backgroundColor: COLORS.PRIMARY_PURPLE
|
|
80
|
+
},
|
|
81
|
+
content: {
|
|
82
|
+
flex: 1,
|
|
83
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
84
|
+
padding: SPACING[200],
|
|
85
|
+
gap: SPACING[100]
|
|
86
|
+
},
|
|
87
|
+
header: {
|
|
88
|
+
flexDirection: 'row',
|
|
89
|
+
alignItems: 'center',
|
|
90
|
+
gap: SPACING[200],
|
|
91
|
+
padding: SPACING[100]
|
|
92
|
+
},
|
|
93
|
+
title: {
|
|
94
|
+
flex: 1,
|
|
95
|
+
color: COLORS.NEUTRAL_6
|
|
96
|
+
},
|
|
97
|
+
divider: {
|
|
98
|
+
height: 1,
|
|
99
|
+
backgroundColor: COLORS.NEUTRAL_3
|
|
100
|
+
},
|
|
101
|
+
data: {
|
|
102
|
+
flex: 1,
|
|
103
|
+
justifyContent: 'flex-end',
|
|
104
|
+
gap: SPACING[200]
|
|
105
|
+
},
|
|
106
|
+
time: {
|
|
107
|
+
flexDirection: 'row',
|
|
108
|
+
alignItems: 'flex-end',
|
|
109
|
+
gap: SPACING[200],
|
|
110
|
+
padding: SPACING[100]
|
|
111
|
+
},
|
|
112
|
+
bigNumber: {
|
|
113
|
+
fontFamily: FONT_FAMILY.buenosAiresBold,
|
|
114
|
+
fontSize: 64,
|
|
115
|
+
lineHeight: 64,
|
|
116
|
+
color: COLORS.PRIMARY_PURPLE
|
|
117
|
+
},
|
|
118
|
+
goalText: {
|
|
119
|
+
color: COLORS.NEUTRAL_6
|
|
120
|
+
},
|
|
121
|
+
progressTrack: {
|
|
122
|
+
height: 26,
|
|
123
|
+
backgroundColor: COLORS.NEUTRAL_3,
|
|
124
|
+
borderRadius: 36,
|
|
125
|
+
overflow: 'hidden'
|
|
126
|
+
},
|
|
127
|
+
progressFill: {
|
|
128
|
+
height: '100%',
|
|
129
|
+
backgroundColor: COLORS.PRIMARY_PURPLE,
|
|
130
|
+
borderRadius: 36
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//# sourceMappingURL=AverageTimePerStudent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","BORDER_RADIUS","COLORS","FONT_FAMILY","HeadingVariants","SHADOWS","SPACING","TimerIcon","Typography","useTeacherFluency","useUnit","useText","TEACHER_FLUENCY_GOAL_MINUTES","jsx","_jsx","jsxs","_jsxs","AverageTimePerStudent","t","model","data","table","$stats","students","totalWeeklyMs","reduce","sum","weeklyTimeMs","currentMinutes","length","Math","round","fillPercent","min","style","styles","container","testID","children","accentBar","content","header","size","color","PRIMARY_PURPLE","variant","H9","title","divider","time","bigNumber","H2","goalText","goal","progressTrack","progressFill","width","create","height","flexDirection","borderRadius","overflow","backgroundColor","flex","NEUTRAL_1","padding","gap","alignItems","NEUTRAL_6","NEUTRAL_3","justifyContent","fontFamily","buenosAiresBold","fontSize","lineHeight"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/header/AverageTimePerStudent.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SACEC,aAAa,EACbC,MAAM,EACNC,WAAW,EACXC,eAAe,EACfC,OAAO,EACPC,OAAO,EACPC,SAAS,EACTC,UAAU,QACL,4BAA4B;AACnC,SAASC,iBAAiB,QAAQ,wCAAqC;AACvE,SAASC,OAAO,QAAQ,gBAAgB;AACxC,SAASC,OAAO,QAAQ,0BAAuB;AAC/C,SAASC,4BAA4B,QAAQ,mCAAgC;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7E,OAAO,MAAMC,qBAAqB,GAAGA,CAAA,KAAM;EACzC,MAAMC,CAAC,GAAGP,OAAO,CAAC,CAAC;EACnB,MAAM;IAAEQ;EAAM,CAAC,GAAGV,iBAAiB,CAAC,CAAC;EACrC,MAAMW,IAAI,GAAGV,OAAO,CAACS,KAAK,CAACE,KAAK,CAACC,MAAM,CAAC;EAExC,MAAMC,QAAQ,GAAGH,IAAI,EAAEG,QAAQ,IAAI,EAAE;EACrC,MAAMC,aAAa,GAAGD,QAAQ,CAACE,MAAM,CAAC,CAACC,GAAG,EAAE;IAAEC;EAAa,CAAC,KAAKD,GAAG,GAAGC,YAAY,EAAE,CAAC,CAAC;EACvF,MAAMC,cAAc,GAAGL,QAAQ,CAACM,MAAM,GAAG,CAAC,GAAGC,IAAI,CAACC,KAAK,CAACP,aAAa,GAAGD,QAAQ,CAACM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC;EACpG,MAAMG,WAAW,GAAGF,IAAI,CAACG,GAAG,CAACL,cAAc,GAAGhB,4BAA4B,EAAE,CAAC,CAAC;EAE9E,oBACEI,KAAA,CAAChB,IAAI;IAACkC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACC,MAAM,EAAC,0BAA0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AE;IACJU,aAAa,EAAE,KAAK;IACpBQ,UAAU,EAAE,UAAU;IACtBD,GAAG,EAAE5D,OAAO,CAAC,GAAG,CAAC;IACjB2D,OAAO,EAAE3D,OAAO,CAAC,GAAG;EACtB,CAAC;EACD4C,SAAS,EAAE;IACTqB,UAAU,EAAEpE,WAAW,CAACqE,eAAe;IACvCC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACd/B,KAAK,EAAEzC,MAAM,CAAC0C;EAChB,CAAC;EACDQ,QAAQ,EAAE;IACRT,KAAK,EAAEzC,MAAM,CAACkE;EAChB,CAAC;EACDd,aAAa,EAAE;IACbI,MAAM,EAAE,EAAE;IACVI,eAAe,EAAE5D,MAAM,CAACmE,SAAS;IACjCT,YAAY,EAAE,EAAE;IAChBC,QAAQ,EAAE;EACZ,CAAC;EACDN,YAAY,EAAE;IACZG,MAAM,EAAE,MAAM;IACdI,eAAe,EAAE5D,MAAM,CAAC0C,cAAc;IACtCgB,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { COLORS, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useText } from "../../../../i18n/i18n.js";
|
|
7
|
+
// import { AverageTimePerStudent } from './AverageTimePerStudent'
|
|
8
|
+
// import { TopHardestFacts } from './TopHardestFacts'
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
export const FluencyTeacherHeader = () => {
|
|
11
|
+
const t = useText();
|
|
12
|
+
return /*#__PURE__*/_jsx(View, {
|
|
13
|
+
style: styles.container,
|
|
14
|
+
testID: "teacher-fluency-header",
|
|
15
|
+
children: /*#__PURE__*/_jsx(Typography, {
|
|
16
|
+
variant: HeadingVariants.H2,
|
|
17
|
+
style: styles.title,
|
|
18
|
+
children: t('teacher.fluency.factFluency')
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
const styles = StyleSheet.create({
|
|
23
|
+
container: {
|
|
24
|
+
flexDirection: 'row',
|
|
25
|
+
alignItems: 'flex-start',
|
|
26
|
+
gap: SPACING[400]
|
|
27
|
+
},
|
|
28
|
+
title: {
|
|
29
|
+
flex: 1,
|
|
30
|
+
color: COLORS.NEUTRAL_9
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=FluencyTeacherHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","COLORS","HeadingVariants","SPACING","Typography","useText","jsx","_jsx","FluencyTeacherHeader","t","style","styles","container","testID","children","variant","H2","title","create","flexDirection","alignItems","gap","flex","color","NEUTRAL_9"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/header/FluencyTeacherHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,MAAM,EAAEC,eAAe,EAAEC,OAAO,EAAEC,UAAU,QAAQ,4BAA4B;AACzF,SAASC,OAAO,QAAQ,0BAAuB;AAC/C;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAEA,OAAO,MAAMC,oBAAoB,GAAGA,CAAA,KAAM;EACxC,MAAMC,CAAC,GAAGJ,OAAO,CAAC,CAAC;EACnB,oBACEE,IAAA,CAACP,IAAI;IAACU,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACC,MAAM,EAAC,wBAAwB;IAAAC,QAAA,eAC5DP,IAAA,CAACH,UAAU;MAACW,OAAO,EAAEb,eAAe,CAACc,EAAG;MAACN,KAAK,EAAEC,MAAM,CAACM,KAAM;MAAAH,QAAA,EAC1DL,CAAC,CAAC,6BAA6B;IAAC,CACvB;EAAC,CAKT,CAAC;AAEX,CAAC;AAED,MAAME,MAAM,GAAGZ,UAAU,CAACmB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBC,GAAG,EAAElB,OAAO,CAAC,GAAG;EAClB,CAAC;EACDc,KAAK,EAAE;IACLK,IAAI,EAAE,CAAC;IACPC,KAAK,EAAEtB,MAAM,CAACuB;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, COLORS, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { PersonIcon } from "../../assets/PersonIcon.js";
|
|
7
|
+
import { FluencyMathOperatorSymbol, FluencyOperator } from "../../fluencyTeacher.constants.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const OPERATOR_CONFIG = {
|
|
10
|
+
[FluencyOperator.ADDITION]: {
|
|
11
|
+
symbol: FluencyMathOperatorSymbol.ADDITION,
|
|
12
|
+
color: COLORS.PRIMARY_GREEN
|
|
13
|
+
},
|
|
14
|
+
[FluencyOperator.SUBTRACTION]: {
|
|
15
|
+
symbol: FluencyMathOperatorSymbol.SUBTRACTION,
|
|
16
|
+
color: COLORS.PRIMARY_ORANGE
|
|
17
|
+
},
|
|
18
|
+
[FluencyOperator.MULTIPLICATION]: {
|
|
19
|
+
symbol: FluencyMathOperatorSymbol.MULTIPLICATION,
|
|
20
|
+
color: COLORS.PRIMARY_BLUE
|
|
21
|
+
},
|
|
22
|
+
[FluencyOperator.DIVISION]: {
|
|
23
|
+
symbol: FluencyMathOperatorSymbol.DIVISION,
|
|
24
|
+
color: COLORS.PRIMARY_PURPLE
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export const HardestFact = ({
|
|
28
|
+
symbol,
|
|
29
|
+
leftOperand,
|
|
30
|
+
rightOperand,
|
|
31
|
+
studentsCount
|
|
32
|
+
}) => {
|
|
33
|
+
const {
|
|
34
|
+
symbol: mathOperatorSymbol,
|
|
35
|
+
color
|
|
36
|
+
} = OPERATOR_CONFIG[symbol];
|
|
37
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
38
|
+
style: styles.container,
|
|
39
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
40
|
+
style: styles.equation,
|
|
41
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
42
|
+
variant: HeadingVariants.H3,
|
|
43
|
+
style: styles.operand,
|
|
44
|
+
children: leftOperand
|
|
45
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
46
|
+
variant: HeadingVariants.H3,
|
|
47
|
+
style: [styles.operator, {
|
|
48
|
+
color
|
|
49
|
+
}],
|
|
50
|
+
children: mathOperatorSymbol
|
|
51
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
52
|
+
variant: HeadingVariants.H3,
|
|
53
|
+
style: styles.operand,
|
|
54
|
+
children: rightOperand
|
|
55
|
+
})]
|
|
56
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
57
|
+
style: styles.studentCount,
|
|
58
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
59
|
+
variant: HeadingVariants.H3,
|
|
60
|
+
style: styles.count,
|
|
61
|
+
children: studentsCount
|
|
62
|
+
}), /*#__PURE__*/_jsx(PersonIcon, {
|
|
63
|
+
size: 16,
|
|
64
|
+
color: COLORS.PRIMARY_RED
|
|
65
|
+
})]
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
const styles = StyleSheet.create({
|
|
70
|
+
container: {
|
|
71
|
+
flexDirection: 'row',
|
|
72
|
+
alignItems: 'center',
|
|
73
|
+
justifyContent: 'space-between',
|
|
74
|
+
padding: SPACING[100],
|
|
75
|
+
borderRadius: BORDER_RADIUS[200]
|
|
76
|
+
},
|
|
77
|
+
equation: {
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
flex: 1,
|
|
81
|
+
gap: SPACING[100]
|
|
82
|
+
},
|
|
83
|
+
operand: {
|
|
84
|
+
color: COLORS.NEUTRAL_9
|
|
85
|
+
},
|
|
86
|
+
operator: {},
|
|
87
|
+
studentCount: {
|
|
88
|
+
flexDirection: 'row',
|
|
89
|
+
alignItems: 'center',
|
|
90
|
+
gap: SPACING[100]
|
|
91
|
+
},
|
|
92
|
+
count: {
|
|
93
|
+
color: COLORS.PRIMARY_RED
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
//# sourceMappingURL=HardestFact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","BORDER_RADIUS","COLORS","HeadingVariants","SPACING","Typography","PersonIcon","FluencyMathOperatorSymbol","FluencyOperator","jsx","_jsx","jsxs","_jsxs","OPERATOR_CONFIG","ADDITION","symbol","color","PRIMARY_GREEN","SUBTRACTION","PRIMARY_ORANGE","MULTIPLICATION","PRIMARY_BLUE","DIVISION","PRIMARY_PURPLE","HardestFact","leftOperand","rightOperand","studentsCount","mathOperatorSymbol","style","styles","container","children","equation","variant","H3","operand","operator","studentCount","count","size","PRIMARY_RED","create","flexDirection","alignItems","justifyContent","padding","borderRadius","flex","gap","NEUTRAL_9"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/header/HardestFact.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SACEC,aAAa,EACbC,MAAM,EACNC,eAAe,EACfC,OAAO,EACPC,UAAU,QACL,4BAA4B;AACnC,SAASC,UAAU,QAAQ,4BAAyB;AACpD,SAASC,yBAAyB,EAAEC,eAAe,QAAQ,mCAAgC;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAI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@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { useUnit } from 'effector-react';
|
|
6
|
+
import { BORDER_RADIUS, COLORS, HeadingVariants, InfoIcon, SHADOWS, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
7
|
+
import { useText } from "../../../../i18n/i18n.js";
|
|
8
|
+
import { useTeacherFluency } from "../../context/TeacherFluencyContext.js";
|
|
9
|
+
import { HardestFact } from "./HardestFact.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const TopHardestFacts = () => {
|
|
12
|
+
const t = useText();
|
|
13
|
+
const {
|
|
14
|
+
model
|
|
15
|
+
} = useTeacherFluency();
|
|
16
|
+
const stats = useUnit(model.table.$stats);
|
|
17
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
18
|
+
style: styles.container,
|
|
19
|
+
testID: "top-hardest-facts",
|
|
20
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
21
|
+
style: styles.accentBar
|
|
22
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
23
|
+
style: styles.content,
|
|
24
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
25
|
+
style: styles.header,
|
|
26
|
+
children: [/*#__PURE__*/_jsx(InfoIcon, {
|
|
27
|
+
size: 16,
|
|
28
|
+
color: COLORS.PRIMARY_RED
|
|
29
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
30
|
+
variant: HeadingVariants.H9,
|
|
31
|
+
style: styles.title,
|
|
32
|
+
children: t('teacher.fluency.hardestFactsTitle')
|
|
33
|
+
})]
|
|
34
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
35
|
+
style: styles.divider
|
|
36
|
+
}), stats?.hardestFacts?.length ? stats.hardestFacts.map(fact => /*#__PURE__*/_jsx(HardestFact, {
|
|
37
|
+
symbol: fact.operator,
|
|
38
|
+
leftOperand: fact.numbers[0],
|
|
39
|
+
rightOperand: fact.numbers[1],
|
|
40
|
+
studentsCount: fact.strugglingStudentIds.length
|
|
41
|
+
}, fact.factId)) : /*#__PURE__*/_jsx(View, {
|
|
42
|
+
style: styles.empty,
|
|
43
|
+
children: /*#__PURE__*/_jsx(Typography, {
|
|
44
|
+
variant: HeadingVariants.H9,
|
|
45
|
+
style: styles.emptyText,
|
|
46
|
+
children: t('teacher.fluency.hardestFactsEmpty')
|
|
47
|
+
})
|
|
48
|
+
})]
|
|
49
|
+
})]
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const styles = StyleSheet.create({
|
|
53
|
+
container: {
|
|
54
|
+
width: 282,
|
|
55
|
+
height: 170,
|
|
56
|
+
flexDirection: 'row',
|
|
57
|
+
borderRadius: BORDER_RADIUS[300],
|
|
58
|
+
overflow: 'hidden',
|
|
59
|
+
...SHADOWS[1]
|
|
60
|
+
},
|
|
61
|
+
accentBar: {
|
|
62
|
+
width: 6,
|
|
63
|
+
backgroundColor: COLORS.PRIMARY_RED
|
|
64
|
+
},
|
|
65
|
+
content: {
|
|
66
|
+
flex: 1,
|
|
67
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
68
|
+
padding: SPACING[200],
|
|
69
|
+
gap: SPACING[100]
|
|
70
|
+
},
|
|
71
|
+
header: {
|
|
72
|
+
flexDirection: 'row',
|
|
73
|
+
alignItems: 'center',
|
|
74
|
+
gap: SPACING[200],
|
|
75
|
+
padding: SPACING[100]
|
|
76
|
+
},
|
|
77
|
+
title: {
|
|
78
|
+
flex: 1,
|
|
79
|
+
color: COLORS.NEUTRAL_6
|
|
80
|
+
},
|
|
81
|
+
divider: {
|
|
82
|
+
height: 1,
|
|
83
|
+
backgroundColor: COLORS.NEUTRAL_3
|
|
84
|
+
},
|
|
85
|
+
empty: {
|
|
86
|
+
flex: 1,
|
|
87
|
+
alignItems: 'center',
|
|
88
|
+
justifyContent: 'center'
|
|
89
|
+
},
|
|
90
|
+
emptyText: {
|
|
91
|
+
color: COLORS.NEUTRAL_6,
|
|
92
|
+
textAlign: 'center'
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
//# sourceMappingURL=TopHardestFacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","useUnit","BORDER_RADIUS","COLORS","HeadingVariants","InfoIcon","SHADOWS","SPACING","Typography","useText","useTeacherFluency","HardestFact","jsx","_jsx","jsxs","_jsxs","TopHardestFacts","t","model","stats","table","$stats","style","styles","container","testID","children","accentBar","content","header","size","color","PRIMARY_RED","variant","H9","title","divider","hardestFacts","length","map","fact","symbol","operator","leftOperand","numbers","rightOperand","studentsCount","strugglingStudentIds","factId","empty","emptyText","create","width","height","flexDirection","borderRadius","overflow","backgroundColor","flex","NEUTRAL_1","padding","gap","alignItems","NEUTRAL_6","NEUTRAL_3","justifyContent","textAlign"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/header/TopHardestFacts.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,OAAO,QAAQ,gBAAgB;AACxC,SACEC,aAAa,EACbC,MAAM,EACNC,eAAe,EACfC,QAAQ,EACRC,OAAO,EACPC,OAAO,EACPC,UAAU,QACL,4BAA4B;AACnC,SAASC,OAAO,QAAQ,0BAAuB;AAC/C,SAASC,iBAAiB,QAAQ,wCAAqC;AACvE,SAASC,WAAW,QAAQ,kBAAe;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE3C,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACnC,MAAMC,CAAC,GAAGR,OAAO,CAAC,CAAC;EACnB,MAAM;IAAES;EAAM,CAAC,GAAGR,iBAAiB,CAAC,CAAC;EACrC,MAAMS,KAAK,GAAGlB,OAAO,CAACiB,KAAK,CAACE,KAAK,CAACC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IACvBG,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
5
|
+
import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useText } from "../../../../i18n/i18n.js";
|
|
7
|
+
import { MatrixHeaderRow } from "./MatrixHeaderRow.js";
|
|
8
|
+
import { MatrixRow } from "./MatrixRow.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
export const DrawerMatrix = ({
|
|
11
|
+
grid,
|
|
12
|
+
cellSize,
|
|
13
|
+
fontSize,
|
|
14
|
+
borderRadius,
|
|
15
|
+
cellColorMap,
|
|
16
|
+
onLayout
|
|
17
|
+
}) => {
|
|
18
|
+
const t = useText();
|
|
19
|
+
return /*#__PURE__*/_jsx(View, {
|
|
20
|
+
style: styles.container,
|
|
21
|
+
onLayout: onLayout,
|
|
22
|
+
children: !grid ? /*#__PURE__*/_jsx(Text, {
|
|
23
|
+
style: styles.emptyText,
|
|
24
|
+
children: t('teacher.fluency.noFactsPracticed')
|
|
25
|
+
}) : cellSize > 0 && /*#__PURE__*/_jsxs(View, {
|
|
26
|
+
style: styles.grid,
|
|
27
|
+
children: [/*#__PURE__*/_jsx(MatrixHeaderRow, {
|
|
28
|
+
colLabels: grid.colLabels,
|
|
29
|
+
cellSize: cellSize,
|
|
30
|
+
fontSize: fontSize
|
|
31
|
+
}), grid.rows.map(row => /*#__PURE__*/_jsx(MatrixRow, {
|
|
32
|
+
label: row.label,
|
|
33
|
+
cells: row.cells,
|
|
34
|
+
cellSize: cellSize,
|
|
35
|
+
borderRadius: borderRadius,
|
|
36
|
+
colorMap: cellColorMap,
|
|
37
|
+
fontSize: fontSize
|
|
38
|
+
}, row.label))]
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
const styles = StyleSheet.create({
|
|
43
|
+
container: {
|
|
44
|
+
flex: 1,
|
|
45
|
+
alignItems: 'center',
|
|
46
|
+
justifyContent: 'center'
|
|
47
|
+
},
|
|
48
|
+
grid: {
|
|
49
|
+
gap: 2
|
|
50
|
+
},
|
|
51
|
+
emptyText: {
|
|
52
|
+
fontFamily: FONT_FAMILY.buenosAiresSemiBold,
|
|
53
|
+
fontSize: 13,
|
|
54
|
+
color: COLORS.NEUTRAL_6,
|
|
55
|
+
textAlign: 'center'
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=DrawerMatrix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","COLORS","FONT_FAMILY","useText","MatrixHeaderRow","MatrixRow","jsx","_jsx","jsxs","_jsxs","DrawerMatrix","grid","cellSize","fontSize","borderRadius","cellColorMap","onLayout","t","style","styles","container","children","emptyText","colLabels","rows","map","row","label","cells","colorMap","create","flex","alignItems","justifyContent","gap","fontFamily","buenosAiresSemiBold","color","NEUTRAL_6","textAlign"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/matrix/DrawerMatrix.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAErD,SAASC,MAAM,EAAEC,WAAW,QAAQ,4BAA4B;AAChE,SAASC,OAAO,QAAQ,0BAAuB;AAC/C,SAASC,eAAe,QAAQ,sBAAmB;AACnD,SAASC,SAAS,QAAQ,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYvC,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BC,IAAI;EACJC,QAAQ;EACRC,QAAQ;EACRC,YAAY;EACZC,YAAY;EACZC;AACiB,CAAC,KAAK;EACvB,MAAMC,CAAC,GAAGd,OAAO,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@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
5
|
+
import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui';
|
|
6
|
+
import { getCellColor } from "../../fluencyTeacher.helpers.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const MatrixCell = ({
|
|
9
|
+
box,
|
|
10
|
+
isEmpty,
|
|
11
|
+
cellSize,
|
|
12
|
+
borderRadius,
|
|
13
|
+
colorMap,
|
|
14
|
+
fontSize
|
|
15
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
16
|
+
style: [styles.cell, {
|
|
17
|
+
width: cellSize,
|
|
18
|
+
height: cellSize,
|
|
19
|
+
borderRadius
|
|
20
|
+
}, {
|
|
21
|
+
backgroundColor: isEmpty ? 'transparent' : getCellColor(box, colorMap)
|
|
22
|
+
}],
|
|
23
|
+
children: isEmpty && /*#__PURE__*/_jsx(Text, {
|
|
24
|
+
style: [styles.label, {
|
|
25
|
+
fontSize
|
|
26
|
+
}],
|
|
27
|
+
children: "-"
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
const styles = StyleSheet.create({
|
|
31
|
+
cell: {
|
|
32
|
+
alignItems: 'center',
|
|
33
|
+
justifyContent: 'center'
|
|
34
|
+
},
|
|
35
|
+
label: {
|
|
36
|
+
color: COLORS.NEUTRAL_7,
|
|
37
|
+
fontFamily: FONT_FAMILY.buenosAires,
|
|
38
|
+
fontWeight: '600',
|
|
39
|
+
textAlign: 'center'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=MatrixCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","COLORS","FONT_FAMILY","getCellColor","jsx","_jsx","MatrixCell","box","isEmpty","cellSize","borderRadius","colorMap","fontSize","style","styles","cell","width","height","backgroundColor","children","label","create","alignItems","justifyContent","color","NEUTRAL_7","fontFamily","buenosAires","fontWeight","textAlign"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/matrix/MatrixCell.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,MAAM,EAAEC,WAAW,QAAQ,4BAA4B;AAChE,SAASC,YAAY,QAAQ,iCAA8B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAW3D,OAAO,MAAMC,UAAU,GAAGA,CAAC;EAAEC,GAAG;EAAEC,OAAO;EAAEC,QAAQ;EAAEC,YAAY;EAAEC,QAAQ;EAAEC;AAA0B,CAAC,kBACtGP,IAAA,CAACL,IAAI;EACHa,KAAK,EAAE,CACLC,MAAM,CAACC,IAAI,EACX;IAAEC,KAAK,EAAEP,QAAQ;IAAEQ,MAAM,EAAER,QAAQ;IAAEC;EAAa,CAAC,EACnD;IAAEQ,eAAe,EAAEV,OAAO,GAAG,aAAa,GAAGL,YAAY,CAACI,GAAG,EAAEI,QAAQ;EAAE,CAAC,CAC1E;EAAAQ,QAAA,EAEDX,OAAO,iBAAIH,IAAA,CAACN,IAAI;IAACc,KAAK,EAAE,CAACC,MAAM,CAACM,KAAK,EAAE;MAAER;IAAS,CAAC,CAAE;IAAAO,QAAA,EAAC;EAAC,CAAM;AAAC,CAC3D,CACP;AAED,MAAML,MAAM,GAAGhB,UAAU,CAACuB,MAAM,CAAC;EAC/BN,IAAI,EAAE;IACJO,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDH,KAAK,EAAE;IACLI,KAAK,EAAEvB,MAAM,CAACwB,SAAS;IACvBC,UAAU,EAAExB,WAAW,CAACyB,WAAW;IACnCC,UAAU,EAAE,KAAK;IACjBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|