@magmamath/students-features 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/SparkleIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js +31 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js.map +1 -0
- 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 +86 -0
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js +46 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js +96 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js +62 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- 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/components/FluencySolvingHeader.js +73 -0
- 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 +35 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- 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 +118 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js +52 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js +104 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- 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/MathOperatorRow.js +43 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js +86 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- 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 +73 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- 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 +80 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js +74 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js +132 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js +16 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js +157 -0
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js.map +1 -0
- 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 +51 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- 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 +68 -0
- package/dist/commonjs/features/fluency/index.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js +16 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js +16 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js +23 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js +64 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js +153 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.constants.js +105 -0
- 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 +6 -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/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +3 -3
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- 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/index.js +24 -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/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/SparkleIcon.js +22 -0
- package/dist/module/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js +23 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js.map +1 -0
- 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 +80 -0
- package/dist/module/features/fluency/components/Fluency.js.map +1 -0
- package/dist/module/features/fluency/components/FluencySolving.js +40 -0
- package/dist/module/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js +90 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js +56 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- 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/components/FluencySolvingHeader.js +67 -0
- 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 +29 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- 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 +111 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js +46 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js +98 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- 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/MathOperatorRow.js +37 -0
- package/dist/module/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js +80 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- 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 +67 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- 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 +74 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js +68 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js +126 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/module/features/fluency/context/FluencyContext.js +11 -0
- package/dist/module/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js +152 -0
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js.map +1 -0
- 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 +46 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- 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 +9 -0
- package/dist/module/features/fluency/index.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js +11 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js +11 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js +18 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyModel.js +59 -0
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js +148 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.constants.js +100 -0
- 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 +4 -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/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/index.js +2 -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/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 +7 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- 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 +15 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- 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 +3 -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 +7 -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 +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- 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 +11 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- 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/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- 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 +3 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- 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 +11 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -0
- 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 +22 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- 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 +7 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +16 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts +31 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- 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/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 +2 -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/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 +7 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- 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 +15 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts +9 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- 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 +3 -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 +7 -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 +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- 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 +11 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- 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/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- 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 +3 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- 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 +11 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts +19 -0
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -0
- 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 +22 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- 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 +7 -0
- package/dist/typescript/module/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts +9 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts +8 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts +11 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +16 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts +31 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- 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/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 +2 -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/package.json +3 -1
- 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 +20 -0
- 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 +82 -0
- package/src/features/fluency/components/FluencySolving.tsx +39 -0
- package/src/features/fluency/components/day-streak-counter/DayStreak.tsx +86 -0
- package/src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx +67 -0
- 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/components/FluencySolvingHeader.tsx +75 -0
- 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 +29 -0
- package/src/features/fluency/components/matrix/components/CellTooltip.tsx +46 -0
- package/src/features/fluency/components/matrix/components/MatrixCell.tsx +119 -0
- package/src/features/fluency/components/matrix/components/MatrixFill.tsx +52 -0
- package/src/features/fluency/components/matrix/components/MatrixLegend.tsx +101 -0
- package/src/features/fluency/components/mobile-menu/MobileMenu.tsx +28 -0
- package/src/features/fluency/components/select-math-operator/MathOperatorRow.tsx +38 -0
- package/src/features/fluency/components/select-math-operator/ProgressBar.tsx +81 -0
- package/src/features/fluency/components/select-math-operator/ProgressBarSparkles.tsx +142 -0
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +73 -0
- 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 +46 -0
- package/src/features/fluency/components/start-banner/MathFlashcard.tsx +67 -0
- package/src/features/fluency/components/start-banner/StartBanner.tsx +121 -0
- package/src/features/fluency/context/FluencyContext.ts +20 -0
- package/src/features/fluency/hooks/useCardSnapAnimation.ts +170 -0
- package/src/features/fluency/hooks/useFluencyCardDeckAnimation.ts +49 -0
- package/src/features/fluency/hooks/useFluencyModePreset.ts +58 -0
- 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 +6 -0
- package/src/features/fluency/model/FluencyApiModel.ts +20 -0
- package/src/features/fluency/model/FluencyDaysStreakModel.ts +11 -0
- package/src/features/fluency/model/FluencyMatrixModel.ts +20 -0
- package/src/features/fluency/model/FluencyModel.ts +66 -0
- package/src/features/fluency/model/FluencySolvingModel.ts +183 -0
- package/src/features/fluency/shared/fluency.constants.ts +108 -0
- 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/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 +58 -0
- package/src/index.ts +2 -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/types/types.d.ts +5 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useRef } from 'react';
|
|
4
|
+
import { View, StyleSheet, TextInput, Platform } from 'react-native';
|
|
5
|
+
import { COLORS, FONT_FAMILY, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useText } from "../../../../../i18n/i18n.js";
|
|
7
|
+
import { useFluencySolvingPreset } from "../../../hooks/useFluencySolvingPreset.js";
|
|
8
|
+
import { usePreventWebKeys } from "../../../hooks/usePreventWebKeys.js";
|
|
9
|
+
import { AttemptStatus, MAX_INPUT_LENGTH } from "../../../shared/fluency.constants.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
+
const CURSOR_MOVE_KEYS = ['ArrowLeft', 'ArrowRight', 'Home', 'End'];
|
|
12
|
+
const STATUS_LABELS = {
|
|
13
|
+
[AttemptStatus.CORRECT]: 'student.fluency.correct',
|
|
14
|
+
[AttemptStatus.INCORRECT]: 'student.fluency.incorrect',
|
|
15
|
+
[AttemptStatus.SKIPPED]: 'student.fluency.skipped'
|
|
16
|
+
};
|
|
17
|
+
const STATUS_COLOR = {
|
|
18
|
+
[AttemptStatus.CORRECT]: COLORS.PRIMARY_GREEN,
|
|
19
|
+
[AttemptStatus.INCORRECT]: COLORS.PRIMARY_RED,
|
|
20
|
+
[AttemptStatus.SKIPPED]: COLORS.NEUTRAL_7
|
|
21
|
+
};
|
|
22
|
+
export const EquationContent = ({
|
|
23
|
+
leftOperand,
|
|
24
|
+
rightOperand,
|
|
25
|
+
mode,
|
|
26
|
+
value = '',
|
|
27
|
+
readOnly = false,
|
|
28
|
+
status,
|
|
29
|
+
correctAnswer,
|
|
30
|
+
onChange
|
|
31
|
+
}) => {
|
|
32
|
+
const t = useText();
|
|
33
|
+
const modePreset = useFluencySolvingPreset({
|
|
34
|
+
mode
|
|
35
|
+
});
|
|
36
|
+
const labelColor = status ? STATUS_COLOR[status] : COLORS.NEUTRAL_7;
|
|
37
|
+
const labelText = status ? t(STATUS_LABELS[status], {
|
|
38
|
+
answer: correctAnswer
|
|
39
|
+
}) : t('student.fluency.typeYourAnswer');
|
|
40
|
+
const answerAreaColor = status === AttemptStatus.INCORRECT ? COLORS.PRIMARY_RED : modePreset.colors.accent;
|
|
41
|
+
const inputRef = useRef(null);
|
|
42
|
+
usePreventWebKeys({
|
|
43
|
+
ref: inputRef,
|
|
44
|
+
keys: CURSOR_MOVE_KEYS,
|
|
45
|
+
enabled: !readOnly
|
|
46
|
+
});
|
|
47
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
48
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
49
|
+
variant: HeadingVariants.H9,
|
|
50
|
+
style: [styles.cardLabel, {
|
|
51
|
+
color: labelColor
|
|
52
|
+
}],
|
|
53
|
+
children: labelText
|
|
54
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
55
|
+
style: styles.equationRow,
|
|
56
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
57
|
+
style: styles.number,
|
|
58
|
+
children: leftOperand
|
|
59
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
60
|
+
style: [styles.number, {
|
|
61
|
+
color: modePreset.colors.accent
|
|
62
|
+
}],
|
|
63
|
+
children: modePreset.symbol
|
|
64
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
65
|
+
style: styles.number,
|
|
66
|
+
children: rightOperand
|
|
67
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
68
|
+
style: styles.equals,
|
|
69
|
+
children: "="
|
|
70
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
71
|
+
style: [styles.answerBox, value.length > 0 && {
|
|
72
|
+
borderBottomColor: answerAreaColor
|
|
73
|
+
}],
|
|
74
|
+
children: /*#__PURE__*/_jsx(TextInput, {
|
|
75
|
+
ref: readOnly ? undefined : inputRef,
|
|
76
|
+
value: value,
|
|
77
|
+
onChangeText: readOnly ? undefined : onChange,
|
|
78
|
+
editable: !readOnly,
|
|
79
|
+
keyboardType: "number-pad",
|
|
80
|
+
maxLength: MAX_INPUT_LENGTH,
|
|
81
|
+
selection: readOnly ? undefined : {
|
|
82
|
+
start: value.length,
|
|
83
|
+
end: value.length
|
|
84
|
+
},
|
|
85
|
+
style: [styles.number, styles.answerInput, {
|
|
86
|
+
color: answerAreaColor
|
|
87
|
+
}],
|
|
88
|
+
autoFocus: false
|
|
89
|
+
})
|
|
90
|
+
})]
|
|
91
|
+
})]
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
const styles = StyleSheet.create({
|
|
95
|
+
cardLabel: {
|
|
96
|
+
fontSize: 11,
|
|
97
|
+
fontWeight: '700',
|
|
98
|
+
letterSpacing: 1.3,
|
|
99
|
+
marginBottom: SPACING[500],
|
|
100
|
+
color: COLORS.NEUTRAL_7
|
|
101
|
+
},
|
|
102
|
+
equationRow: {
|
|
103
|
+
flexDirection: 'row',
|
|
104
|
+
alignItems: 'center',
|
|
105
|
+
gap: SPACING[300],
|
|
106
|
+
marginTop: SPACING[600]
|
|
107
|
+
},
|
|
108
|
+
number: {
|
|
109
|
+
fontSize: 75,
|
|
110
|
+
color: COLORS.NEUTRAL_10,
|
|
111
|
+
fontWeight: '700',
|
|
112
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
113
|
+
},
|
|
114
|
+
equals: {
|
|
115
|
+
fontSize: 75,
|
|
116
|
+
color: COLORS.NEUTRAL_7,
|
|
117
|
+
fontWeight: '700',
|
|
118
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
119
|
+
},
|
|
120
|
+
answerBox: {
|
|
121
|
+
width: 135,
|
|
122
|
+
height: 44,
|
|
123
|
+
marginBottom: -SPACING[800],
|
|
124
|
+
alignItems: 'center',
|
|
125
|
+
borderBottomWidth: 8,
|
|
126
|
+
borderBottomColor: COLORS.NEUTRAL_10
|
|
127
|
+
},
|
|
128
|
+
answerInput: {
|
|
129
|
+
position: 'absolute',
|
|
130
|
+
bottom: -SPACING[400],
|
|
131
|
+
textAlign: 'center',
|
|
132
|
+
width: '100%',
|
|
133
|
+
borderWidth: 0,
|
|
134
|
+
backgroundColor: 'transparent',
|
|
135
|
+
...(Platform.OS === 'web' && {
|
|
136
|
+
outlineStyle: 'none',
|
|
137
|
+
caretColor: 'transparent'
|
|
138
|
+
})
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
//# sourceMappingURL=EquationContent.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","View","StyleSheet","TextInput","Platform","COLORS","FONT_FAMILY","HeadingVariants","SPACING","Typography","useText","useFluencySolvingPreset","usePreventWebKeys","AttemptStatus","MAX_INPUT_LENGTH","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","CURSOR_MOVE_KEYS","STATUS_LABELS","CORRECT","INCORRECT","SKIPPED","STATUS_COLOR","PRIMARY_GREEN","PRIMARY_RED","NEUTRAL_7","EquationContent","leftOperand","rightOperand","mode","value","readOnly","status","correctAnswer","onChange","t","modePreset","labelColor","labelText","answer","answerAreaColor","colors","accent","inputRef","ref","keys","enabled","children","variant","H9","style","styles","cardLabel","color","equationRow","number","symbol","equals","answerBox","length","borderBottomColor","undefined","onChangeText","editable","keyboardType","maxLength","selection","start","end","answerInput","autoFocus","create","fontSize","fontWeight","letterSpacing","marginBottom","flexDirection","alignItems","gap","marginTop","NEUTRAL_10","fontFamily","buenosAires","width","height","borderBottomWidth","position","bottom","textAlign","borderWidth","backgroundColor","OS","outlineStyle","caretColor"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/EquationContent.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,IAAI,EAAEC,UAAU,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;AACpE,SACEC,MAAM,EACNC,WAAW,EACXC,eAAe,EACfC,OAAO,EACPC,UAAU,QACL,4BAA4B;AACnC,SAASC,OAAO,QAA6B,6BAA0B;AACvE,SAASC,uBAAuB,QAAQ,2CAAwC;AAChF,SAASC,iBAAiB,QAAQ,qCAAkC;AAC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,CAACwB,SAAS;IACvBgD,UAAU,EAAE,KAAK;IACjBQ,UAAU,EAAE/E,WAAW,CAACgF;EAC1B,CAAC;EACDxB,SAAS,EAAE;IACTyB,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVT,YAAY,EAAE,CAACvE,OAAO,CAAC,GAAG,CAAC;IAC3ByE,UAAU,EAAE,QAAQ;IACpBQ,iBAAiB,EAAE,CAAC;IACpBzB,iBAAiB,EAAE3D,MAAM,CAAC+E;EAC5B,CAAC;EACDX,WAAW,EAAE;IACXiB,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAACnF,OAAO,CAAC,GAAG,CAAC;IACrBoF,SAAS,EAAE,QAAQ;IACnBL,KAAK,EAAE,MAAM;IACbM,WAAW,EAAE,CAAC;IACdC,eAAe,EAAE,aAAa;IAC9B,IAAI1F,QAAQ,CAAC2F,EAAE,KAAK,KAAK,IAAI;MAAEC,YAAY,EAAE,MAAM;MAAEC,UAAU,EAAE;IAAc,CAAC;EAClF;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import Animated from 'react-native-reanimated';
|
|
6
|
+
import { BORDER_RADIUS, COLORS, SHADOWS } from '@magmamath/react-native-ui';
|
|
7
|
+
import { GradientView } from "../../../../../lib/components/GradientView.js";
|
|
8
|
+
import { FluencyEquationCard } from "./FluencyEquationCard.js";
|
|
9
|
+
import { AttemptStatus } from "../../../shared/fluency.constants.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const CARD_GRADIENT_COLORS = {
|
|
12
|
+
[AttemptStatus.CORRECT]: ['#ecfbf3', '#ffffff'],
|
|
13
|
+
[AttemptStatus.INCORRECT]: ['#fff0f1', '#ffffff']
|
|
14
|
+
};
|
|
15
|
+
const hideAnswer = cardContent => ({
|
|
16
|
+
...cardContent,
|
|
17
|
+
answer: ''
|
|
18
|
+
});
|
|
19
|
+
export const FluencyCardDeck = ({
|
|
20
|
+
currentCardContent,
|
|
21
|
+
exitingCardContent,
|
|
22
|
+
exitingCardStatus,
|
|
23
|
+
snapStyles,
|
|
24
|
+
onAnswerChange
|
|
25
|
+
}) => {
|
|
26
|
+
const backingCardContent = hideAnswer(currentCardContent);
|
|
27
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
28
|
+
style: styles.stack,
|
|
29
|
+
children: [/*#__PURE__*/_jsx(Animated.View, {
|
|
30
|
+
style: [styles.card, styles.cardFar, snapStyles.far]
|
|
31
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
32
|
+
style: [styles.card, styles.cardMid, snapStyles.mid]
|
|
33
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
34
|
+
style: [styles.card, styles.cardNear, snapStyles.near],
|
|
35
|
+
children: /*#__PURE__*/_jsx(FluencyEquationCard, {
|
|
36
|
+
cardContent: backingCardContent,
|
|
37
|
+
readOnly: true
|
|
38
|
+
})
|
|
39
|
+
}), !exitingCardContent && /*#__PURE__*/_jsx(Animated.View, {
|
|
40
|
+
style: [styles.card, styles.cardFront],
|
|
41
|
+
children: /*#__PURE__*/_jsx(FluencyEquationCard, {
|
|
42
|
+
cardContent: currentCardContent,
|
|
43
|
+
onAnswerChange: onAnswerChange
|
|
44
|
+
})
|
|
45
|
+
}), exitingCardContent && /*#__PURE__*/_jsxs(Animated.View, {
|
|
46
|
+
style: [styles.card, styles.cardFront, snapStyles.front, exitingCardStatus === AttemptStatus.INCORRECT && styles.cardIncorrect, exitingCardStatus === AttemptStatus.CORRECT && styles.cardCorrect],
|
|
47
|
+
children: [(exitingCardStatus === AttemptStatus.CORRECT || exitingCardStatus === AttemptStatus.INCORRECT) && /*#__PURE__*/_jsx(GradientView, {
|
|
48
|
+
colors: CARD_GRADIENT_COLORS[exitingCardStatus],
|
|
49
|
+
style: [StyleSheet.absoluteFill, {
|
|
50
|
+
borderRadius: BORDER_RADIUS[400]
|
|
51
|
+
}],
|
|
52
|
+
pointerEvents: "none"
|
|
53
|
+
}), /*#__PURE__*/_jsx(FluencyEquationCard, {
|
|
54
|
+
cardContent: exitingCardContent,
|
|
55
|
+
status: exitingCardStatus ?? undefined,
|
|
56
|
+
readOnly: true
|
|
57
|
+
})]
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
const styles = StyleSheet.create({
|
|
62
|
+
stack: {
|
|
63
|
+
width: '100%',
|
|
64
|
+
maxWidth: 560
|
|
65
|
+
},
|
|
66
|
+
card: {
|
|
67
|
+
height: 260,
|
|
68
|
+
borderRadius: BORDER_RADIUS[400],
|
|
69
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
70
|
+
...SHADOWS[5]
|
|
71
|
+
},
|
|
72
|
+
cardFar: {
|
|
73
|
+
position: 'absolute',
|
|
74
|
+
top: 36,
|
|
75
|
+
left: 60,
|
|
76
|
+
right: 60,
|
|
77
|
+
opacity: 0
|
|
78
|
+
},
|
|
79
|
+
cardMid: {
|
|
80
|
+
position: 'absolute',
|
|
81
|
+
top: 24,
|
|
82
|
+
left: 40,
|
|
83
|
+
right: 40
|
|
84
|
+
},
|
|
85
|
+
cardNear: {
|
|
86
|
+
position: 'absolute',
|
|
87
|
+
top: 12,
|
|
88
|
+
left: 20,
|
|
89
|
+
right: 20,
|
|
90
|
+
alignItems: 'center',
|
|
91
|
+
justifyContent: 'center',
|
|
92
|
+
...SHADOWS[5]
|
|
93
|
+
},
|
|
94
|
+
cardFront: {
|
|
95
|
+
alignItems: 'center',
|
|
96
|
+
justifyContent: 'center'
|
|
97
|
+
},
|
|
98
|
+
cardCorrect: {
|
|
99
|
+
borderWidth: 1.5,
|
|
100
|
+
borderColor: COLORS.PRIMARY_GREEN
|
|
101
|
+
},
|
|
102
|
+
cardIncorrect: {
|
|
103
|
+
borderWidth: 1.5,
|
|
104
|
+
borderColor: COLORS.PRIMARY_RED
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
//# sourceMappingURL=FluencyCardDeck.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","Animated","BORDER_RADIUS","COLORS","SHADOWS","GradientView","FluencyEquationCard","AttemptStatus","jsx","_jsx","jsxs","_jsxs","CARD_GRADIENT_COLORS","CORRECT","INCORRECT","hideAnswer","cardContent","answer","FluencyCardDeck","currentCardContent","exitingCardContent","exitingCardStatus","snapStyles","onAnswerChange","backingCardContent","style","styles","stack","children","card","cardFar","far","cardMid","mid","cardNear","near","readOnly","cardFront","front","cardIncorrect","cardCorrect","colors","absoluteFill","borderRadius","pointerEvents","status","undefined","create","width","maxWidth","height","backgroundColor","NEUTRAL_1","position","top","left","right","opacity","alignItems","justifyContent","borderWidth","borderColor","PRIMARY_GREEN","PRIMARY_RED"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,aAAa,EAAEC,MAAM,EAAEC,OAAO,QAAQ,4BAA4B;AAE3E,SAASC,YAAY,QAAQ,+CAA4C;AACzE,SAASC,mBAAmB,QAAQ,0BAAuB;AAE3D,SAASC,aAAa,QAAQ,sCAAmC;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGjE,MAAMC,oBAGL,GAAG;EACF,CAACL,aAAa,CAACM,OAAO,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC;EAC/C,CAACN,aAAa,CAACO,SAAS,GAAG,CAAC,SAAS,EAAE,SAAS;AAClD,CAAC;AAUD,MAAMC,UAAU,GAAI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AAG,EAAE,EAAE;IACPC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE;EACT,CAAC;EACDtB,QAAQ,EAAE;IACRmB,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,EAAE;IACPC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTE,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxB,GAAGvD,OAAO,CAAC,CAAC;EACd,CAAC;EACDiC,SAAS,EAAE;IACTqB,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDnB,WAAW,EAAE;IACXoB,WAAW,EAAE,GAAG;IAChBC,WAAW,EAAE1D,MAAM,CAAC2D;EACtB,CAAC;EACDvB,aAAa,EAAE;IACbqB,WAAW,EAAE,GAAG;IAChBC,WAAW,EAAE1D,MAAM,CAAC4D;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { EquationContent } from "./EquationContent.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
const getDisplayedEquation = fact => {
|
|
7
|
+
const left = fact?.numbers[0] ?? 0;
|
|
8
|
+
const right = fact?.numbers[1] ?? 0;
|
|
9
|
+
return {
|
|
10
|
+
leftOperand: left,
|
|
11
|
+
rightOperand: right,
|
|
12
|
+
mode: fact?.mode
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export const FluencyEquationCard = ({
|
|
16
|
+
cardContent,
|
|
17
|
+
readOnly = false,
|
|
18
|
+
status,
|
|
19
|
+
onAnswerChange
|
|
20
|
+
}) => {
|
|
21
|
+
const equation = getDisplayedEquation(cardContent.fact);
|
|
22
|
+
return /*#__PURE__*/_jsx(EquationContent, {
|
|
23
|
+
leftOperand: equation.leftOperand,
|
|
24
|
+
rightOperand: equation.rightOperand,
|
|
25
|
+
mode: equation.mode,
|
|
26
|
+
value: cardContent.answer,
|
|
27
|
+
readOnly: readOnly,
|
|
28
|
+
status: status,
|
|
29
|
+
correctAnswer: cardContent.fact?.answer,
|
|
30
|
+
onChange: onAnswerChange
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=FluencyEquationCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","EquationContent","jsx","_jsx","getDisplayedEquation","fact","left","numbers","right","leftOperand","rightOperand","mode","FluencyEquationCard","cardContent","readOnly","status","onAnswerChange","equation","value","answer","correctAnswer","onChange"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,eAAe,QAAQ,sBAAmB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAiBnD,MAAMC,oBAAoB,GAAIC,IAAwB,IAAwB;EAC5E,MAAMC,IAAI,GAAGD,IAAI,EAAEE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;EAClC,MAAMC,KAAK,GAAGH,IAAI,EAAEE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;EAEnC,OAAO;IACLE,WAAW,EAAEH,IAAI;IACjBI,YAAY,EAAEF,KAAK;IACnBG,IAAI,EAAEN,IAAI,EAAEM;EACd,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,QAAQ,GAAG,KAAK;EAChBC,MAAM;EACNC;AACwB,CAAC,KAAK;EAC9B,MAAMC,QAAQ,GAAGb,oBAAoB,CAACS,WAAW,CAACR,IAAI,CAAC;EAEvD,oBACEF,IAAA,CAACF,eAAe;IACdQ,WAAW,EAAEQ,QAAQ,CAACR,WAAY;IAClCC,YAAY,EAAEO,QAAQ,CAACP,YAAa;IACpCC,IAAI,EAAEM,QAAQ,CAACN,IAAK;IACpBO,KAAK,EAAEL,WAAW,CAACM,MAAO;IAC1BL,QAAQ,EAAEA,QAAS;IACnBC,MAAM,EAAEA,MAAO;IACfK,aAAa,EAAEP,WAAW,CAACR,IAAI,EAAEc,MAAO;IACxCE,QAAQ,EAAEL;EAAe,CAC1B,CAAC;AAEN,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { FONT_FAMILY, SelectGroup, SelectOptionColor, SelectOptionSize, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useFluencyNumpad } from "../../../hooks/useFluencyNumpad.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const FluencyNumpad = ({
|
|
9
|
+
onSubmit
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
options
|
|
13
|
+
} = useFluencyNumpad({
|
|
14
|
+
onSubmit
|
|
15
|
+
});
|
|
16
|
+
return /*#__PURE__*/_jsx(View, {
|
|
17
|
+
style: styles.container,
|
|
18
|
+
children: /*#__PURE__*/_jsx(SelectGroup, {
|
|
19
|
+
numOfRows: 4,
|
|
20
|
+
color: SelectOptionColor.GREY,
|
|
21
|
+
size: SelectOptionSize.SMALL,
|
|
22
|
+
options: options,
|
|
23
|
+
style: {
|
|
24
|
+
container: styles.grid,
|
|
25
|
+
row: styles.row,
|
|
26
|
+
option: {
|
|
27
|
+
button: styles.optionButton,
|
|
28
|
+
text: styles.optionText
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
const styles = StyleSheet.create({
|
|
35
|
+
container: {
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
paddingVertical: SPACING[400],
|
|
38
|
+
marginTop: SPACING[200]
|
|
39
|
+
},
|
|
40
|
+
grid: {
|
|
41
|
+
width: 360,
|
|
42
|
+
gap: SPACING[200]
|
|
43
|
+
},
|
|
44
|
+
row: {
|
|
45
|
+
gap: SPACING[200]
|
|
46
|
+
},
|
|
47
|
+
optionButton: {
|
|
48
|
+
height: 60
|
|
49
|
+
},
|
|
50
|
+
optionText: {
|
|
51
|
+
fontSize: 24,
|
|
52
|
+
fontWeight: '700',
|
|
53
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=FluencyNumpad.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","FONT_FAMILY","SelectGroup","SelectOptionColor","SelectOptionSize","SPACING","useFluencyNumpad","jsx","_jsx","FluencyNumpad","onSubmit","options","style","styles","container","children","numOfRows","color","GREY","size","SMALL","grid","row","option","button","optionButton","text","optionText","create","alignItems","paddingVertical","marginTop","width","gap","height","fontSize","fontWeight","fontFamily","buenosAires"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyNumpad.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,WAAW,EAAEC,WAAW,EAAEC,iBAAiB,EAAEC,gBAAgB,EAAEC,OAAO,QAAQ,4BAA4B;AACnH,SAASC,gBAAgB,QAAQ,oCAAiC;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMlE,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAA6B,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAQ,CAAC,GAAGL,gBAAgB,CAAC;IAAEI;EAAS,CAAC,CAAC;EAElD,oBACEF,IAAA,CAACR,IAAI;IAACY,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5BP,IAAA,CAACN,WAAW;MACVc,SAAS,EAAE,CAAE;MACbC,KAAK,EAAEd,iBAAiB,CAACe,IAAK;MAC9BC,IAAI,EAAEf,gBAAgB,CAACgB,KAAM;MAC7BT,OAAO,EAAEA,OAAQ;MACjBC,KAAK,EAAE;QACLE,SAAS,EAAED,MAAM,CAACQ,IAAI;QACtBC,GAAG,EAAET,MAAM,CAACS,GAAG;QACfC,MAAM,EAAE;UACNC,MAAM,EAAEX,MAAM,CAACY,YAAY;UAC3BC,IAAI,EAAEb,MAAM,CAACc;QACf;MACF;IAAE,CACH;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAMd,MAAM,GAAGd,UAAU,CAAC6B,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEzB,OAAO,CAAC,GAAG,CAAC;IAC7B0B,SAAS,EAAE1B,OAAO,CAAC,GAAG;EACxB,CAAC;EACDgB,IAAI,EAAE;IACJW,KAAK,EAAE,GAAG;IACVC,GAAG,EAAE5B,OAAO,CAAC,GAAG;EAClB,CAAC;EACDiB,GAAG,EAAE;IACHW,GAAG,EAAE5B,OAAO,CAAC,GAAG;EAClB,CAAC;EACDoB,YAAY,EAAE;IACZS,MAAM,EAAE;EACV,CAAC;EACDP,UAAU,EAAE;IACVQ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAEpC,WAAW,CAACqC;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { useUnit } from 'effector-react/effector-react.mjs';
|
|
6
|
+
import { SPACING } from '@magmamath/react-native-ui';
|
|
7
|
+
import { FluencyNumpad } from "./FluencyNumpad.js";
|
|
8
|
+
import { FluencyCardDeck } from "./FluencyCardDeck.js";
|
|
9
|
+
import { useFluency } from "../../../context/FluencyContext.js";
|
|
10
|
+
import { useFluencyCardDeckAnimation } from "../../../hooks/useFluencyCardDeckAnimation.js";
|
|
11
|
+
import { useSuccessSound } from "../../../hooks/useSuccessSound.js";
|
|
12
|
+
import { AttemptStatus } from "../../../shared/fluency.constants.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
export const FluencySolvingCard = () => {
|
|
15
|
+
const {
|
|
16
|
+
model
|
|
17
|
+
} = useFluency();
|
|
18
|
+
const {
|
|
19
|
+
currentAnswer,
|
|
20
|
+
currentFact
|
|
21
|
+
} = useUnit({
|
|
22
|
+
currentAnswer: model.solving.$answer,
|
|
23
|
+
currentFact: model.solving.$current
|
|
24
|
+
});
|
|
25
|
+
const cardDeckAnimation = useFluencyCardDeckAnimation();
|
|
26
|
+
const successSound = useSuccessSound();
|
|
27
|
+
const currentCardContent = {
|
|
28
|
+
fact: currentFact,
|
|
29
|
+
answer: currentAnswer ?? ''
|
|
30
|
+
};
|
|
31
|
+
const updateAnswer = text => {
|
|
32
|
+
const digits = text.replace(/\D/g, '');
|
|
33
|
+
model.solving.setAnswer(digits || null);
|
|
34
|
+
};
|
|
35
|
+
const submit = () => {
|
|
36
|
+
if (!currentFact) return;
|
|
37
|
+
if (currentAnswer === null) return;
|
|
38
|
+
const isCorrect = Number(currentAnswer) === currentFact.answer;
|
|
39
|
+
const direction = isCorrect ? 'right' : 'left';
|
|
40
|
+
const status = isCorrect ? AttemptStatus.CORRECT : AttemptStatus.INCORRECT;
|
|
41
|
+
if (!cardDeckAnimation.startCardExit({
|
|
42
|
+
cardContent: currentCardContent,
|
|
43
|
+
direction,
|
|
44
|
+
status
|
|
45
|
+
})) return;
|
|
46
|
+
if (isCorrect) {
|
|
47
|
+
successSound.play();
|
|
48
|
+
}
|
|
49
|
+
model.solving.submit();
|
|
50
|
+
};
|
|
51
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
52
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
53
|
+
style: styles.wrapper,
|
|
54
|
+
children: /*#__PURE__*/_jsx(FluencyCardDeck, {
|
|
55
|
+
currentCardContent: currentCardContent,
|
|
56
|
+
exitingCardContent: cardDeckAnimation.exitingCardContent,
|
|
57
|
+
exitingCardStatus: cardDeckAnimation.exitingCardStatus,
|
|
58
|
+
snapStyles: cardDeckAnimation.snapStyles,
|
|
59
|
+
onAnswerChange: updateAnswer
|
|
60
|
+
})
|
|
61
|
+
}), /*#__PURE__*/_jsx(FluencyNumpad, {
|
|
62
|
+
onSubmit: submit
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
const styles = StyleSheet.create({
|
|
67
|
+
wrapper: {
|
|
68
|
+
alignItems: 'center',
|
|
69
|
+
paddingVertical: SPACING[400],
|
|
70
|
+
paddingHorizontal: SPACING[600],
|
|
71
|
+
marginTop: SPACING[300]
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=FluencySolvingCard.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","useUnit","SPACING","FluencyNumpad","FluencyCardDeck","useFluency","useFluencyCardDeckAnimation","useSuccessSound","AttemptStatus","jsx","_jsx","jsxs","_jsxs","FluencySolvingCard","model","currentAnswer","currentFact","solving","$answer","$current","cardDeckAnimation","successSound","currentCardContent","fact","answer","updateAnswer","text","digits","replace","setAnswer","submit","isCorrect","Number","direction","status","CORRECT","INCORRECT","startCardExit","cardContent","play","children","style","styles","wrapper","exitingCardContent","exitingCardStatus","snapStyles","onAnswerChange","onSubmit","create","alignItems","paddingVertical","paddingHorizontal","marginTop"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingCard.tsx"],"mappings":";;AAAA,OAAOA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AKC,WAAW,CAACQ,MAAM;IAC9D,MAAMS,SAAwB,GAAGF,SAAS,GAAG,OAAO,GAAG,MAAM;IAC7D,MAAMG,MAAM,GAAGH,SAAS,GAAGvB,aAAa,CAAC2B,OAAO,GAAG3B,aAAa,CAAC4B,SAAS;IAE1E,IAAI,CAAChB,iBAAiB,CAACiB,aAAa,CAAC;MAAEC,WAAW,EAAEhB,kBAAkB;MAAEW,SAAS;MAAEC;IAAO,CAAC,CAAC,EAC1F;IAEF,IAAIH,SAAS,EAAE;MACbV,YAAY,CAACkB,IAAI,CAAC,CAAC;IACrB;IAEAzB,KAAK,CAACG,OAAO,CAACa,MAAM,CAAC,CAAC;EACxB,CAAC;EAED,oBACElB,KAAA,CAACb,IAAI;IAAAyC,QAAA,gBACH9B,IAAA,CAACX,IAAI;MAAC0C,KAAK,EAAEC,MAAM,CAACC,OAAQ;MAAAH,QAAA,eAC1B9B,IAAA,CAACN,eAAe;QACdkB,kBAAkB,EAAEA,kBAAmB;QACvCsB,kBAAkB,EAAExB,iBAAiB,CAACwB,kBAAmB;QACzDC,iBAAiB,EAAEzB,iBAAiB,CAACyB,iBAAkB;QACvDC,UAAU,EAAE1B,iBAAiB,CAAC0B,UAAW;QACzCC,cAAc,EAAEtB;MAAa,CAC9B;IAAC,CACE,CAAC,eACPf,IAAA,CAACP,aAAa;MAAC6C,QAAQ,EAAElB;IAAO,CAAE,CAAC;EAAA,CAC/B,CAAC;AAEX,CAAC;AAED,MAAMY,MAAM,GAAG1C,UAAU,CAACiD,MAAM,CAAC;EAC/BN,OAAO,EAAE;IACPO,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEjD,OAAO,CAAC,GAAG,CAAC;IAC7BkD,iBAAiB,EAAElD,OAAO,CAAC,GAAG,CAAC;IAC/BmD,SAAS,EAAEnD,OAAO,CAAC,GAAG;EACxB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, Button, ButtonColor, ButtonSize, ButtonVariant, COLORS, HeadingVariants, SHADOWS, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useFluencySolvingPreset } from "../../../hooks/useFluencySolvingPreset.js";
|
|
7
|
+
import { XCloseIcon } from "../../../../../shared/icons/XCloseIcon.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const FluencySolvingHeader = ({
|
|
10
|
+
onClosePress
|
|
11
|
+
}) => {
|
|
12
|
+
const modePreset = useFluencySolvingPreset();
|
|
13
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
14
|
+
style: styles.container,
|
|
15
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
16
|
+
variant: ButtonVariant.SECONDARY,
|
|
17
|
+
size: ButtonSize.LARGE,
|
|
18
|
+
colorScheme: ButtonColor.WHITE,
|
|
19
|
+
icon: /*#__PURE__*/_jsx(XCloseIcon, {}),
|
|
20
|
+
onPress: onClosePress
|
|
21
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
22
|
+
style: [styles.operatorBadge, {
|
|
23
|
+
backgroundColor: modePreset.colors.accent
|
|
24
|
+
}],
|
|
25
|
+
children: /*#__PURE__*/_jsx(Typography, {
|
|
26
|
+
variant: HeadingVariants.H7,
|
|
27
|
+
style: styles.symbol,
|
|
28
|
+
children: modePreset.symbol
|
|
29
|
+
})
|
|
30
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
31
|
+
variant: HeadingVariants.H4,
|
|
32
|
+
style: styles.title,
|
|
33
|
+
children: modePreset.label
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const styles = StyleSheet.create({
|
|
38
|
+
container: {
|
|
39
|
+
height: 76,
|
|
40
|
+
flexDirection: 'row',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
gap: 14,
|
|
43
|
+
paddingVertical: SPACING[400],
|
|
44
|
+
paddingHorizontal: SPACING[600],
|
|
45
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
46
|
+
...SHADOWS[1]
|
|
47
|
+
},
|
|
48
|
+
operatorBadge: {
|
|
49
|
+
width: 32,
|
|
50
|
+
height: 32,
|
|
51
|
+
borderRadius: BORDER_RADIUS[200],
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
...SHADOWS[1]
|
|
55
|
+
},
|
|
56
|
+
title: {
|
|
57
|
+
color: COLORS.NEUTRAL_10,
|
|
58
|
+
fontWeight: '700'
|
|
59
|
+
},
|
|
60
|
+
symbol: {
|
|
61
|
+
fontSize: 32,
|
|
62
|
+
fontWeight: '100',
|
|
63
|
+
marginBottom: 2,
|
|
64
|
+
color: COLORS.NEUTRAL_1
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=FluencySolvingHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","BORDER_RADIUS","Button","ButtonColor","ButtonSize","ButtonVariant","COLORS","HeadingVariants","SHADOWS","SPACING","Typography","useFluencySolvingPreset","XCloseIcon","jsx","_jsx","jsxs","_jsxs","FluencySolvingHeader","onClosePress","modePreset","style","styles","container","children","variant","SECONDARY","size","LARGE","colorScheme","WHITE","icon","onPress","operatorBadge","backgroundColor","colors","accent","H7","symbol","H4","title","label","create","height","flexDirection","alignItems","gap","paddingVertical","paddingHorizontal","NEUTRAL_1","width","borderRadius","justifyContent","color","NEUTRAL_10","fontWeight","fontSize","marginBottom"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,Q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X,CAAC;AAED,MAAMnB,MAAM,GAAGrB,UAAU,CAACyC,MAAM,CAAC;EAC/BnB,SAAS,EAAE;IACToB,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE,EAAE;IACPC,eAAe,EAAErC,OAAO,CAAC,GAAG,CAAC;IAC7BsC,iBAAiB,EAAEtC,OAAO,CAAC,GAAG,CAAC;IAC/BwB,eAAe,EAAE3B,MAAM,CAAC0C,SAAS;IACjC,GAAGxC,OAAO,CAAC,CAAC;EACd,CAAC;EACDwB,aAAa,EAAE;IACbiB,KAAK,EAAE,EAAE;IACTP,MAAM,EAAE,EAAE;IACVQ,YAAY,EAAEjD,aAAa,CAAC,GAAG,CAAC;IAChC2C,UAAU,EAAE,QAAQ;IACpBO,cAAc,EAAE,QAAQ;IACxB,GAAG3C,OAAO,CAAC,CAAC;EACd,CAAC;EACD+B,KAAK,EAAE;IACLa,KAAK,EAAE9C,MAAM,CAAC+C,UAAU;IACxBC,UAAU,EAAE;EACd,CAAC;EACDjB,MAAM,EAAE;IACNkB,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE,KAAK;IACjBE,YAAY,EAAE,CAAC;IACfJ,KAAK,EAAE9C,MAAM,CAAC0C;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { COLORS, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { AttemptStatus, SESSION_LENGTH } from "../../../shared/fluency.constants.js";
|
|
7
|
+
import { FluencySolvingProgressDot } from "./FluencySolvingProgressDot.js";
|
|
8
|
+
import { useFluency } from "../../../context/FluencyContext.js";
|
|
9
|
+
import { useUnit } from 'effector-react';
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
const GROUP_SIZE = 5;
|
|
12
|
+
const ProgressDot = ({
|
|
13
|
+
index,
|
|
14
|
+
activeIndex,
|
|
15
|
+
outcome
|
|
16
|
+
}) => {
|
|
17
|
+
if (index === activeIndex) return /*#__PURE__*/_jsx(FluencySolvingProgressDot, {});
|
|
18
|
+
if (index < activeIndex && outcome) return /*#__PURE__*/_jsx(View, {
|
|
19
|
+
style: DOT_STYLE_BY_OUTCOME[outcome.status]
|
|
20
|
+
});
|
|
21
|
+
return /*#__PURE__*/_jsx(View, {
|
|
22
|
+
style: styles.dot
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export const FluencySolvingProgress = () => {
|
|
26
|
+
const {
|
|
27
|
+
model
|
|
28
|
+
} = useFluency();
|
|
29
|
+
const outcomes = useUnit(model.solving.$outcomes);
|
|
30
|
+
return /*#__PURE__*/_jsx(View, {
|
|
31
|
+
style: styles.container,
|
|
32
|
+
children: Array.from({
|
|
33
|
+
length: SESSION_LENGTH / GROUP_SIZE
|
|
34
|
+
}, (_, groupIndex) => /*#__PURE__*/_jsx(View, {
|
|
35
|
+
style: styles.group,
|
|
36
|
+
children: Array.from({
|
|
37
|
+
length: GROUP_SIZE
|
|
38
|
+
}, (_, dotIndex) => {
|
|
39
|
+
const index = groupIndex * GROUP_SIZE + dotIndex;
|
|
40
|
+
return /*#__PURE__*/_jsx(ProgressDot, {
|
|
41
|
+
index: index,
|
|
42
|
+
activeIndex: outcomes.length,
|
|
43
|
+
outcome: outcomes[index]
|
|
44
|
+
}, index);
|
|
45
|
+
})
|
|
46
|
+
}, groupIndex))
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
const styles = StyleSheet.create({
|
|
50
|
+
container: {
|
|
51
|
+
flexDirection: 'row',
|
|
52
|
+
gap: SPACING[500],
|
|
53
|
+
paddingHorizontal: SPACING[600],
|
|
54
|
+
paddingVertical: 14,
|
|
55
|
+
justifyContent: 'center',
|
|
56
|
+
alignItems: 'center'
|
|
57
|
+
},
|
|
58
|
+
group: {
|
|
59
|
+
flexDirection: 'row',
|
|
60
|
+
gap: 8,
|
|
61
|
+
alignItems: 'center'
|
|
62
|
+
},
|
|
63
|
+
dot: {
|
|
64
|
+
width: 10,
|
|
65
|
+
height: 10,
|
|
66
|
+
borderRadius: 5,
|
|
67
|
+
backgroundColor: COLORS.NEUTRAL_4
|
|
68
|
+
},
|
|
69
|
+
dotCorrect: {
|
|
70
|
+
width: 10,
|
|
71
|
+
height: 10,
|
|
72
|
+
borderRadius: 5,
|
|
73
|
+
backgroundColor: COLORS.PRIMARY_GREEN
|
|
74
|
+
},
|
|
75
|
+
dotWrong: {
|
|
76
|
+
width: 10,
|
|
77
|
+
height: 10,
|
|
78
|
+
borderRadius: 5,
|
|
79
|
+
backgroundColor: COLORS.PRIMARY_RED
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
const DOT_STYLE_BY_OUTCOME = {
|
|
83
|
+
[AttemptStatus.CORRECT]: styles.dotCorrect,
|
|
84
|
+
[AttemptStatus.INCORRECT]: styles.dotWrong,
|
|
85
|
+
[AttemptStatus.SKIPPED]: styles.dot
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=FluencySolvingProgress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","COLORS","SPACING","AttemptStatus","SESSION_LENGTH","FluencySolvingProgressDot","useFluency","useUnit","jsx","_jsx","GROUP_SIZE","ProgressDot","index","activeIndex","outcome","style","DOT_STYLE_BY_OUTCOME","status","styles","dot","FluencySolvingProgress","model","outcomes","solving","$outcomes","container","children","Array","from","length","_","groupIndex","group","dotIndex","create","flexDirection","gap","paddingHorizontal","paddingVertical","justifyContent","alignItems","width","height","borderRadius","backgroundColor","NEUTRAL_4","dotCorrect","PRIMARY_GREEN","dotWrong","PRIMARY_RED","CORRECT","INCORRECT","SKIPPED"],"sourceRoot":"../../../../../../../src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