@magmamath/students-features 1.3.26-rc.19 → 1.3.26-rc.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/chatbot/helpers.js +0 -3
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/fluency/assets/{SparkleIcon.js → DivideIcon.js} +8 -6
- package/dist/commonjs/features/fluency/assets/DivideIcon.js.map +1 -0
- package/dist/commonjs/{shared/icons/keyboard/FrancIcon.js → features/fluency/assets/SpringIcon.js} +15 -20
- package/dist/commonjs/features/fluency/assets/SpringIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js +3 -5
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js.map +1 -1
- package/dist/commonjs/features/fluency/components/Fluency.js +32 -20
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -1
- package/dist/commonjs/features/fluency/components/FluencySolving.js +12 -16
- package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -1
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js +37 -42
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -1
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js +27 -30
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/EquationContent.js +89 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/EquationContent.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js +84 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js +203 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js +67 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/{components/FluencySolvingHeader.js → FluencySolvingHeader.js} +11 -17
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingHeader.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.js +47 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js +4 -3
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js +18 -89
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js +26 -21
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js.map +1 -1
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js +9 -11
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -1
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js +69 -31
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -1
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js +8 -20
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js +29 -29
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -1
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js +0 -1
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js.map +1 -1
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js +10 -33
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js.map +1 -1
- package/dist/commonjs/features/fluency/fluency.constants.js +15 -39
- package/dist/commonjs/features/fluency/fluency.constants.js.map +1 -1
- package/dist/commonjs/features/fluency/fluency.helpers.js +34 -81
- package/dist/commonjs/features/fluency/fluency.helpers.js.map +1 -1
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js +22 -33
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js.map +1 -1
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js +7 -16
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js +1 -6
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js +1 -8
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js +20 -0
- package/dist/commonjs/features/fluency/model/FluencyInputModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js +1 -15
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencyModel.js +22 -39
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js +5 -142
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +1 -3
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +1 -3
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +4 -10
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +2 -5
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/groups/currency.constants.js +0 -3
- package/dist/commonjs/features/keyboard/constants/groups/currency.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +1 -2
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +0 -16
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- 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/index.js +0 -12
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/constants.js +0 -1
- package/dist/commonjs/lib/constants.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +0 -3
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/fluency/assets/{SparkleIcon.js → DivideIcon.js} +6 -4
- package/dist/module/features/fluency/assets/DivideIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/SpringIcon.js +22 -0
- package/dist/module/features/fluency/assets/SpringIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js +3 -5
- package/dist/module/features/fluency/assets/StarFillIcon.js.map +1 -1
- package/dist/module/features/fluency/components/Fluency.js +34 -22
- package/dist/module/features/fluency/components/Fluency.js.map +1 -1
- package/dist/module/features/fluency/components/FluencySolving.js +12 -16
- package/dist/module/features/fluency/components/FluencySolving.js.map +1 -1
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js +37 -42
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -1
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js +28 -31
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -1
- package/dist/module/features/fluency/components/fluency-solving/EquationContent.js +83 -0
- package/dist/module/features/fluency/components/fluency-solving/EquationContent.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js +78 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyEquationCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js +196 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js +60 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/{components/FluencySolvingHeader.js → FluencySolvingHeader.js} +12 -18
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingHeader.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingProgress.js +41 -0
- package/dist/module/features/fluency/components/fluency-solving/FluencySolvingProgress.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js +4 -3
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js +19 -89
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js +26 -21
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js.map +1 -1
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js +9 -11
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -1
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js +69 -31
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -1
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js +9 -21
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -1
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js +29 -29
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -1
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js +1 -2
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js.map +1 -1
- package/dist/module/features/fluency/components/start-banner/StartBanner.js +11 -34
- package/dist/module/features/fluency/components/start-banner/StartBanner.js.map +1 -1
- package/dist/module/features/fluency/fluency.constants.js +15 -37
- package/dist/module/features/fluency/fluency.constants.js.map +1 -1
- package/dist/module/features/fluency/fluency.helpers.js +30 -80
- package/dist/module/features/fluency/fluency.helpers.js.map +1 -1
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js +22 -33
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js.map +1 -1
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js +7 -16
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyApiModel.js +1 -6
- package/dist/module/features/fluency/model/FluencyApiModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js +1 -8
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyInputModel.js +15 -0
- package/dist/module/features/fluency/model/FluencyInputModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js +1 -15
- package/dist/module/features/fluency/model/FluencyMatrixModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencyModel.js +23 -40
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -1
- package/dist/module/features/fluency/model/FluencySolvingModel.js +6 -143
- package/dist/module/features/fluency/model/FluencySolvingModel.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +1 -3
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +1 -3
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +4 -10
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +2 -5
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/groups/currency.constants.js +0 -3
- package/dist/module/features/keyboard/constants/groups/currency.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -2
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/units.constants.js +0 -16
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +1 -1
- 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/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/constants.js +0 -1
- package/dist/module/lib/constants.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/__tests__/FluencyModel.test.d.ts +2 -0
- package/dist/typescript/commonjs/features/fluency/__tests__/FluencyModel.test.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/DivideIcon.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/assets/DivideIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/SpringIcon.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/SpringIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts +1 -5
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts +1 -3
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts +1 -2
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts +4 -2
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/EquationContent.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/EquationContent.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts +7 -7
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts +19 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts +9 -26
- package/dist/typescript/commonjs/features/fluency/fluency.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts +11 -5
- package/dist/typescript/commonjs/features/fluency/fluency.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts +16 -95
- package/dist/typescript/commonjs/features/fluency/fluency.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts +2 -7
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts +3 -18
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts +3 -6
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts +0 -5
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyInputModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +14 -4
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts +7 -28
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +0 -2
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/currency.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/constants.d.ts +1 -2
- package/dist/typescript/commonjs/lib/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/__tests__/FluencyModel.test.d.ts +2 -0
- package/dist/typescript/module/features/fluency/__tests__/FluencyModel.test.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/DivideIcon.d.ts +8 -0
- package/dist/typescript/module/features/fluency/assets/DivideIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/SpringIcon.d.ts +3 -0
- package/dist/typescript/module/features/fluency/assets/SpringIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts +1 -5
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts +1 -3
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts +1 -2
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts +4 -2
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/EquationContent.d.ts +9 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/EquationContent.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts +7 -7
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts +19 -1
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts +9 -26
- package/dist/typescript/module/features/fluency/fluency.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts +11 -5
- package/dist/typescript/module/features/fluency/fluency.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/fluency.types.d.ts +16 -95
- package/dist/typescript/module/features/fluency/fluency.types.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts +2 -7
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts +3 -18
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts +3 -6
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts +0 -5
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts +11 -0
- package/dist/typescript/module/features/fluency/model/FluencyInputModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts +0 -8
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +14 -4
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts +7 -28
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +0 -2
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/groups/currency.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/constants.d.ts +1 -2
- package/dist/typescript/module/lib/constants.d.ts.map +1 -1
- package/package.json +4 -6
- package/src/features/chatbot/helpers.ts +0 -1
- package/src/features/fluency/__tests__/FluencyModel.test.ts +28 -0
- package/src/features/fluency/assets/DivideIcon.tsx +21 -0
- package/src/features/fluency/assets/SpringIcon.tsx +17 -0
- package/src/features/fluency/assets/StarFillIcon.tsx +3 -7
- package/src/features/fluency/components/Fluency.tsx +41 -22
- package/src/features/fluency/components/FluencySolving.tsx +7 -14
- package/src/features/fluency/components/day-streak-counter/DayStreak.tsx +32 -36
- package/src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx +31 -48
- package/src/features/fluency/components/fluency-solving/EquationContent.tsx +78 -0
- package/src/features/fluency/components/fluency-solving/FluencyEquationCard.tsx +70 -0
- package/src/features/fluency/components/fluency-solving/FluencyNumpad.tsx +181 -0
- package/src/features/fluency/components/fluency-solving/FluencySolvingCard.tsx +53 -0
- package/src/features/fluency/components/fluency-solving/{components/FluencySolvingHeader.tsx → FluencySolvingHeader.tsx} +9 -17
- package/src/features/fluency/components/fluency-solving/FluencySolvingProgress.tsx +40 -0
- package/src/features/fluency/components/matrix/FluencyMatrix.tsx +3 -3
- package/src/features/fluency/components/matrix/components/MatrixCell.tsx +24 -97
- package/src/features/fluency/components/matrix/components/MatrixFill.tsx +25 -27
- package/src/features/fluency/components/matrix/components/MatrixLegend.tsx +6 -11
- package/src/features/fluency/components/select-math-operator/ProgressBar.tsx +71 -25
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +8 -33
- package/src/features/fluency/components/start-banner/BannerFlashcards.tsx +16 -17
- package/src/features/fluency/components/start-banner/MathFlashcard.tsx +9 -3
- package/src/features/fluency/components/start-banner/StartBanner.tsx +10 -29
- package/src/features/fluency/fluency.constants.ts +15 -38
- package/src/features/fluency/fluency.helpers.ts +35 -73
- package/src/features/fluency/fluency.types.ts +11 -103
- package/src/features/fluency/hooks/useCardSnapAnimation.ts +21 -41
- package/src/features/fluency/hooks/useFluencyModePreset.ts +20 -29
- package/src/features/fluency/model/FluencyApiModel.ts +2 -18
- package/src/features/fluency/model/FluencyDaysStreakModel.ts +1 -11
- package/src/features/fluency/model/FluencyInputModel.ts +17 -0
- package/src/features/fluency/model/FluencyMatrixModel.ts +1 -20
- package/src/features/fluency/model/FluencyModel.ts +26 -47
- package/src/features/fluency/model/FluencySolvingModel.ts +7 -187
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +1 -8
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +1 -8
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +2 -12
- package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +0 -3
- package/src/features/keyboard/components/SwitchableLayout/types.ts +0 -2
- package/src/features/keyboard/constants/groups/currency.constants.ts +0 -3
- package/src/features/keyboard/constants/keyboard.helpers.ts +0 -1
- package/src/features/keyboard/constants/keys/units.constants.tsx +0 -12
- package/src/features/pmProgress/components/content/PmContent.tsx +1 -0
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +1 -1
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +1 -8
- package/src/features/pmProgress/components/standard/StandardTag.tsx +1 -1
- package/src/features/pmProgress/context/PmProgressContext.tsx +1 -1
- package/src/i18n/.generated/schema.json +3 -38
- package/src/index.ts +0 -1
- package/src/lib/constants.ts +2 -3
- package/src/types/types.d.ts +0 -5
- package/dist/commonjs/features/fluency/assets/FlameIcon.js +0 -30
- package/dist/commonjs/features/fluency/assets/FlameIcon.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/FlashIcon.js +0 -30
- package/dist/commonjs/features/fluency/assets/FlashIcon.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js +0 -232
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/SparkleIcon.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/TrophyBg.js +0 -41
- package/dist/commonjs/features/fluency/assets/TrophyBg.js.map +0 -1
- package/dist/commonjs/features/fluency/assets/success.mp3 +0 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js +0 -148
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +0 -113
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +0 -39
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js +0 -62
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +0 -80
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +0 -93
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +0 -69
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.constants.js +0 -29
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.constants.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.helpers.js +0 -86
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.helpers.js.map +0 -1
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.types.js +0 -6
- package/dist/commonjs/features/fluency/components/fluency-solving/fluencySolving.types.js.map +0 -1
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js +0 -56
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js.map +0 -1
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js +0 -38
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js.map +0 -1
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js +0 -117
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +0 -1
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js +0 -206
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js.map +0 -1
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js +0 -77
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js.map +0 -1
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js +0 -113
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js +0 -44
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js +0 -170
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js +0 -57
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js +0 -18
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js +0 -26
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js.map +0 -1
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js +0 -27
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js +0 -32
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js +0 -31
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +0 -45
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js +0 -47
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +0 -99
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +0 -80
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +0 -56
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +0 -123
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +0 -77
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +0 -52
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +0 -114
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js +0 -139
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js +0 -40
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js +0 -102
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js +0 -101
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js +0 -64
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +0 -48
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +0 -53
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +0 -59
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +0 -112
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +0 -80
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js +0 -37
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +0 -181
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +0 -40
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +0 -84
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +0 -128
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js +0 -71
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js +0 -16
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +0 -74
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +0 -75
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js +0 -6
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +0 -60
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js +0 -37
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/index.js +0 -20
- package/dist/commonjs/features/fluency-teacher/index.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js +0 -15
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +0 -28
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +0 -48
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +0 -1
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js +0 -49
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +0 -1
- package/dist/commonjs/lib/components/GradientView.js +0 -57
- package/dist/commonjs/lib/components/GradientView.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/FrancIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/RappenIcon.js +0 -34
- package/dist/commonjs/shared/icons/keyboard/RappenIcon.js.map +0 -1
- package/dist/module/features/fluency/assets/FlameIcon.js +0 -22
- package/dist/module/features/fluency/assets/FlameIcon.js.map +0 -1
- package/dist/module/features/fluency/assets/FlashIcon.js +0 -22
- package/dist/module/features/fluency/assets/FlashIcon.js.map +0 -1
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js +0 -224
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js.map +0 -1
- package/dist/module/features/fluency/assets/SparkleIcon.js.map +0 -1
- package/dist/module/features/fluency/assets/TrophyBg.js +0 -33
- package/dist/module/features/fluency/assets/TrophyBg.js.map +0 -1
- package/dist/module/features/fluency/assets/success.mp3 +0 -0
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js +0 -141
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +0 -107
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +0 -33
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js +0 -56
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +0 -74
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +0 -87
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +0 -62
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.constants.js +0 -25
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.constants.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.helpers.js +0 -76
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.helpers.js.map +0 -1
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.types.js +0 -4
- package/dist/module/features/fluency/components/fluency-solving/fluencySolving.types.js.map +0 -1
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js +0 -50
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js.map +0 -1
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js +0 -32
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js.map +0 -1
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js +0 -110
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +0 -1
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js +0 -199
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js.map +0 -1
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js +0 -71
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js.map +0 -1
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js +0 -107
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js.map +0 -1
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js +0 -39
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +0 -1
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js +0 -164
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js.map +0 -1
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js +0 -52
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js.map +0 -1
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js +0 -13
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js.map +0 -1
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js +0 -21
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js.map +0 -1
- package/dist/module/features/fluency/hooks/useSuccessSound.js +0 -21
- package/dist/module/features/fluency/hooks/useSuccessSound.js.map +0 -1
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js +0 -24
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js.map +0 -1
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js +0 -23
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +0 -39
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js +0 -41
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +0 -93
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +0 -74
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +0 -50
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +0 -117
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +0 -71
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +0 -46
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +0 -107
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js +0 -133
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js +0 -33
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js +0 -96
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js +0 -95
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js +0 -58
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +0 -42
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +0 -47
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +0 -53
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +0 -106
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +0 -74
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js +0 -31
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +0 -175
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +0 -34
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +0 -78
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/TableRow.js +0 -121
- package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +0 -1
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js +0 -65
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js +0 -11
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +0 -1
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +0 -70
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +0 -1
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +0 -67
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +0 -1
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js +0 -4
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js.map +0 -1
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +0 -55
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +0 -1
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js +0 -32
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +0 -1
- package/dist/module/features/fluency-teacher/index.js +0 -5
- package/dist/module/features/fluency-teacher/index.js.map +0 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js +0 -10
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +0 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +0 -23
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +0 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +0 -43
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +0 -1
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js +0 -44
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +0 -1
- package/dist/module/lib/components/GradientView.js +0 -51
- package/dist/module/lib/components/GradientView.js.map +0 -1
- package/dist/module/shared/icons/keyboard/FrancIcon.js +0 -26
- package/dist/module/shared/icons/keyboard/FrancIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/RappenIcon.js +0 -26
- package/dist/module/shared/icons/keyboard/RappenIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts +0 -15
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +0 -14
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +0 -12
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +0 -7
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.constants.d.ts +0 -5
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.helpers.d.ts +0 -17
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.types.d.ts +0 -34
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/fluencySolving.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts +0 -7
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts +0 -7
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +0 -6
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/session-results/FluencySessionResults.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency/components/session-results/FluencySessionResults.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts +0 -10
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts +0 -15
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +0 -16
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts +0 -53
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts +0 -25
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts +0 -2
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts +0 -9
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts +0 -4
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts +0 -11
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +0 -9
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +0 -12
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +0 -9
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts +0 -11
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +0 -14
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +0 -11
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +0 -12
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +0 -13
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +0 -11
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +0 -7
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +0 -17
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +0 -23
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +0 -105
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +0 -15
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +0 -14
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts +0 -3
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +0 -8
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts +0 -13
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +0 -27
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts +0 -18
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/FrancIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/FrancIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RappenIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/RappenIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts +0 -4
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts +0 -4
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts +0 -3
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts +0 -4
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts +0 -3
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts +0 -15
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +0 -14
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +0 -12
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +0 -7
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +0 -3
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +0 -3
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.constants.d.ts +0 -5
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.constants.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.helpers.d.ts +0 -17
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.types.d.ts +0 -34
- package/dist/typescript/module/features/fluency/components/fluency-solving/fluencySolving.types.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts +0 -7
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts +0 -7
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +0 -6
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/session-results/FluencySessionResults.d.ts +0 -8
- package/dist/typescript/module/features/fluency/components/session-results/FluencySessionResults.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts +0 -10
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts +0 -15
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +0 -16
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts +0 -53
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts +0 -25
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts +0 -2
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts +0 -9
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts +0 -4
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts +0 -4
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts +0 -4
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts +0 -11
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +0 -9
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +0 -12
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +0 -9
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts +0 -11
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +0 -14
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +0 -11
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +0 -12
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +0 -13
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +0 -11
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +0 -7
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +0 -17
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +0 -23
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +0 -105
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +0 -15
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +0 -14
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/index.d.ts +0 -3
- package/dist/typescript/module/features/fluency-teacher/index.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +0 -8
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts +0 -13
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +0 -1
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +0 -27
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +0 -1
- package/dist/typescript/module/lib/components/GradientView.d.ts +0 -18
- package/dist/typescript/module/lib/components/GradientView.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/FrancIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/FrancIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/RappenIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/RappenIcon.d.ts.map +0 -1
- package/src/features/fluency/assets/FlameIcon.tsx +0 -14
- package/src/features/fluency/assets/FlashIcon.tsx +0 -14
- package/src/features/fluency/assets/SnurrisnurrBg.tsx +0 -193
- package/src/features/fluency/assets/SparkleIcon.tsx +0 -14
- package/src/features/fluency/assets/TrophyBg.tsx +0 -32
- package/src/features/fluency/assets/success.mp3 +0 -0
- package/src/features/fluency/components/fluency-solving/components/EquationContent.tsx +0 -137
- package/src/features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx +0 -128
- package/src/features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx +0 -51
- package/src/features/fluency/components/fluency-solving/components/FluencyNumpad.tsx +0 -54
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingCard.tsx +0 -71
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx +0 -87
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.tsx +0 -71
- package/src/features/fluency/components/fluency-solving/fluencySolving.constants.ts +0 -25
- package/src/features/fluency/components/fluency-solving/fluencySolving.helpers.ts +0 -102
- package/src/features/fluency/components/fluency-solving/fluencySolving.types.ts +0 -37
- package/src/features/fluency/components/matrix/components/CellTooltip.tsx +0 -46
- package/src/features/fluency/components/mobile-menu/MobileMenu.tsx +0 -29
- package/src/features/fluency/components/select-math-operator/ProgressBarSparkles.tsx +0 -142
- package/src/features/fluency/components/session-results/FluencySessionResults.tsx +0 -194
- package/src/features/fluency/components/session-results/SessionStatCard.tsx +0 -58
- package/src/features/fluency/components/session-results/SkillProgressionRow.tsx +0 -100
- package/src/features/fluency/hooks/useFluencyCardDeckAnimation.ts +0 -49
- package/src/features/fluency/hooks/useFluencyNumpad.tsx +0 -141
- package/src/features/fluency/hooks/useFluencySolvingPreset.ts +0 -67
- package/src/features/fluency/hooks/usePreventPageLeave.ts +0 -11
- package/src/features/fluency/hooks/usePreventWebKeys.ts +0 -24
- package/src/features/fluency/hooks/useSuccessSound.ts +0 -20
- package/src/features/fluency-teacher/assets/PersonIcon.tsx +0 -16
- package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +0 -10
- package/src/features/fluency-teacher/components/FluencyTeacher.tsx +0 -41
- package/src/features/fluency-teacher/components/FluencyTeacherFooter.tsx +0 -42
- package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +0 -91
- package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +0 -63
- package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +0 -52
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +0 -111
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +0 -65
- package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +0 -52
- package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +0 -89
- package/src/features/fluency-teacher/components/header/AverageTimePerStudent.tsx +0 -122
- package/src/features/fluency-teacher/components/header/FluencyTeacherHeader.tsx +0 -33
- package/src/features/fluency-teacher/components/header/HardestFact.tsx +0 -98
- package/src/features/fluency-teacher/components/header/TopHardestFacts.tsx +0 -100
- package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +0 -69
- package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +0 -38
- package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +0 -37
- package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +0 -57
- package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +0 -103
- package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +0 -74
- package/src/features/fluency-teacher/components/table/FluencyTeacherFilters.tsx +0 -29
- package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +0 -169
- package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +0 -29
- package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +0 -87
- package/src/features/fluency-teacher/components/table/TableRow.tsx +0 -114
- package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +0 -65
- package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +0 -16
- package/src/features/fluency-teacher/fluencyTeacher.constants.ts +0 -76
- package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +0 -73
- package/src/features/fluency-teacher/fluencyTeacher.types.ts +0 -124
- package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +0 -58
- package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +0 -44
- package/src/features/fluency-teacher/index.ts +0 -2
- package/src/features/fluency-teacher/model/TeacherFluencyApiModel.ts +0 -18
- package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +0 -17
- package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +0 -45
- package/src/features/fluency-teacher/model/TeacherFluencyTableModel.ts +0 -46
- package/src/lib/components/GradientView.tsx +0 -63
- package/src/shared/icons/keyboard/FrancIcon.tsx +0 -20
- package/src/shared/icons/keyboard/RappenIcon.tsx +0 -20
- /package/dist/typescript/commonjs/features/fluency/components/fluency-solving/{components/FluencySolvingCard.d.ts → FluencySolvingCard.d.ts} +0 -0
- /package/dist/typescript/commonjs/features/fluency/components/fluency-solving/{components/FluencySolvingHeader.d.ts → FluencySolvingHeader.d.ts} +0 -0
- /package/dist/typescript/module/features/fluency/components/fluency-solving/{components/FluencySolvingCard.d.ts → FluencySolvingCard.d.ts} +0 -0
- /package/dist/typescript/module/features/fluency/components/fluency-solving/{components/FluencySolvingHeader.d.ts → FluencySolvingHeader.d.ts} +0 -0
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React, { useRef } from 'react';
|
|
4
|
-
import { Animated, Pressable, StyleSheet, View } from 'react-native';
|
|
5
|
-
import { COLORS, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
-
import { TABLE_OPERATOR_COLUMNS } from "../../fluencyTeacher.constants.js";
|
|
7
|
-
import { OperatorBadge } from "./OperatorBadge.js";
|
|
8
|
-
import { TableRowAverageProgress } from "./TableRowAverageProgress.js";
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
|
|
11
|
-
export const TableRow = ({
|
|
12
|
-
name,
|
|
13
|
-
scores,
|
|
14
|
-
averagePercent = 0,
|
|
15
|
-
averageLabel = '',
|
|
16
|
-
onPress
|
|
17
|
-
}) => {
|
|
18
|
-
const hoverProgress = useRef(new Animated.Value(0)).current;
|
|
19
|
-
const fadeIn = () => {
|
|
20
|
-
Animated.timing(hoverProgress, {
|
|
21
|
-
toValue: 1,
|
|
22
|
-
duration: 150,
|
|
23
|
-
useNativeDriver: false
|
|
24
|
-
}).start();
|
|
25
|
-
};
|
|
26
|
-
const fadeOut = () => {
|
|
27
|
-
Animated.timing(hoverProgress, {
|
|
28
|
-
toValue: 0,
|
|
29
|
-
duration: 150,
|
|
30
|
-
useNativeDriver: false
|
|
31
|
-
}).start();
|
|
32
|
-
};
|
|
33
|
-
const backgroundColor = hoverProgress.interpolate({
|
|
34
|
-
inputRange: [0, 1],
|
|
35
|
-
outputRange: [COLORS.NEUTRAL_1, COLORS.NEUTRAL_2]
|
|
36
|
-
});
|
|
37
|
-
return /*#__PURE__*/_jsxs(AnimatedPressable, {
|
|
38
|
-
onHoverIn: fadeIn,
|
|
39
|
-
onHoverOut: fadeOut,
|
|
40
|
-
onPress: onPress,
|
|
41
|
-
style: [styles.row, {
|
|
42
|
-
backgroundColor
|
|
43
|
-
}],
|
|
44
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
45
|
-
style: styles.name,
|
|
46
|
-
children: /*#__PURE__*/_jsx(Typography, {
|
|
47
|
-
variant: HeadingVariants.H7,
|
|
48
|
-
style: styles.nameText,
|
|
49
|
-
numberOfLines: 1,
|
|
50
|
-
children: name
|
|
51
|
-
})
|
|
52
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
53
|
-
style: styles.average,
|
|
54
|
-
children: /*#__PURE__*/_jsx(TableRowAverageProgress, {
|
|
55
|
-
percent: averagePercent,
|
|
56
|
-
label: averageLabel
|
|
57
|
-
})
|
|
58
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
59
|
-
style: styles.operators,
|
|
60
|
-
children: TABLE_OPERATOR_COLUMNS.map(({
|
|
61
|
-
operator,
|
|
62
|
-
badgeBg,
|
|
63
|
-
badgeText
|
|
64
|
-
}) => /*#__PURE__*/_jsx(View, {
|
|
65
|
-
style: styles.operator,
|
|
66
|
-
children: /*#__PURE__*/_jsx(OperatorBadge, {
|
|
67
|
-
value: scores[operator],
|
|
68
|
-
bgColor: badgeBg,
|
|
69
|
-
textColor: badgeText
|
|
70
|
-
})
|
|
71
|
-
}, operator))
|
|
72
|
-
})]
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
const styles = StyleSheet.create({
|
|
76
|
-
row: {
|
|
77
|
-
flexDirection: 'row',
|
|
78
|
-
alignItems: 'center',
|
|
79
|
-
paddingHorizontal: SPACING[400],
|
|
80
|
-
paddingVertical: SPACING[200],
|
|
81
|
-
gap: SPACING[400],
|
|
82
|
-
backgroundColor: COLORS.NEUTRAL_1,
|
|
83
|
-
borderBottomWidth: 1,
|
|
84
|
-
borderBottomColor: COLORS.NEUTRAL_4
|
|
85
|
-
},
|
|
86
|
-
name: {
|
|
87
|
-
width: 137,
|
|
88
|
-
height: 40,
|
|
89
|
-
flexDirection: 'row',
|
|
90
|
-
alignItems: 'center',
|
|
91
|
-
gap: 12
|
|
92
|
-
},
|
|
93
|
-
icon: {
|
|
94
|
-
width: 25,
|
|
95
|
-
height: 25,
|
|
96
|
-
alignItems: 'center',
|
|
97
|
-
justifyContent: 'center'
|
|
98
|
-
},
|
|
99
|
-
nameText: {
|
|
100
|
-
width: 100,
|
|
101
|
-
color: COLORS.NEUTRAL_9
|
|
102
|
-
},
|
|
103
|
-
average: {
|
|
104
|
-
width: 145,
|
|
105
|
-
height: 40,
|
|
106
|
-
paddingHorizontal: 12,
|
|
107
|
-
justifyContent: 'center'
|
|
108
|
-
},
|
|
109
|
-
operators: {
|
|
110
|
-
flex: 1,
|
|
111
|
-
height: 40,
|
|
112
|
-
flexDirection: 'row',
|
|
113
|
-
alignItems: 'center',
|
|
114
|
-
paddingHorizontal: SPACING[800]
|
|
115
|
-
},
|
|
116
|
-
operator: {
|
|
117
|
-
flex: 1,
|
|
118
|
-
alignItems: 'center'
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
//# sourceMappingURL=TableRow.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useRef","Animated","Pressable","StyleSheet","View","COLORS","HeadingVariants","SPACING","Typography","TABLE_OPERATOR_COLUMNS","OperatorBadge","TableRowAverageProgress","jsx","_jsx","jsxs","_jsxs","AnimatedPressable","createAnimatedComponent","TableRow","name","scores","averagePercent","averageLabel","onPress","hoverProgress","Value","current","fadeIn","timing","toValue","duration","useNativeDriver","start","fadeOut","backgroundColor","interpolate","inputRange","outputRange","NEUTRAL_1","NEUTRAL_2","onHoverIn","onHoverOut","style","styles","row","children","variant","H7","nameText","numberOfLines","average","percent","label","operators","map","operator","badgeBg","badgeText","value","bgColor","textColor","create","flexDirection","alignItems","paddingHorizontal","paddingVertical","gap","borderBottomWidth","borderBottomColor","NEUTRAL_4","width","height","icon","justifyContent","color","NEUTRAL_9","flex"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/table/TableRow.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,MAAM,EAAEC,eAAe,EAAEC,OAAO,EAAEC,UAAU,QAAQ,4BAA4B;AACzF,SAASC,sBAAsB,QAAQ,mCAAgC;AACvE,SAASC,aAAa,QAAQ,oBAAiB;AAC/C,SAASC,uBAAuB,QAAQ,8BAA2B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWnE,MAAMC,iBAAiB,GAAGf,QAAQ,CAACgB,uBAAuB,CAACf,SAAS,CAAC;AAErE,OAAO,MAAMgB,QAAQ,GAAGA,CAAC;EACvBC,IAAI;EACJC,MAAM;EACNC,cAAc,GAAG,CAAC;EAClBC,YAAY,GAAG,EAAE;EACjBC;AACa,CAAC,KAAK;EACnB,MAAMC,aAAa,GAAGxB,MAAM,CAAC,IAAIC,QAAQ,CAACwB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EAE3D,MAAMC,MAAM,GAAGA,CAAA,KAAM;IACnB1B,QAAQ,CAAC2B,MAAM,CAACJ,aAAa,EAAE;MAAEK,OAAO,EAAE,CAAC;MAAEC,QAAQ,EAAE,GAAG;MAAEC,eAAe,EAAE;IAAM,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;EAC/F,CAAC;EAED,MAAMC,OAAO,GAAGA,CAAA,KAAM;IACpBhC,QAAQ,CAAC2B,MAAM,CAACJ,aAAa,EAAE;MAAEK,OAAO,EAAE,CAAC;MAAEC,QAAQ,EAAE,GAAG;MAAEC,eAAe,EAAE;IAAM,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;EAC/F,CAA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1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { StyleSheet, Text, View } from 'react-native';
|
|
5
|
-
import { COLORS, FONT_FAMILY, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
export const TableRowAverageProgress = ({
|
|
8
|
-
percent,
|
|
9
|
-
label
|
|
10
|
-
}) => /*#__PURE__*/_jsxs(View, {
|
|
11
|
-
style: styles.progressTrack,
|
|
12
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
13
|
-
style: [styles.progressFill, {
|
|
14
|
-
width: `${percent}%`
|
|
15
|
-
}]
|
|
16
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
17
|
-
style: styles.progressOverlay,
|
|
18
|
-
children: [/*#__PURE__*/_jsxs(Typography, {
|
|
19
|
-
variant: HeadingVariants.H9,
|
|
20
|
-
style: styles.progressPercent,
|
|
21
|
-
children: [percent, "%"]
|
|
22
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
23
|
-
style: styles.progressLabel,
|
|
24
|
-
numberOfLines: 1,
|
|
25
|
-
children: label
|
|
26
|
-
})]
|
|
27
|
-
})]
|
|
28
|
-
});
|
|
29
|
-
const styles = StyleSheet.create({
|
|
30
|
-
progressTrack: {
|
|
31
|
-
height: 16,
|
|
32
|
-
borderRadius: 36,
|
|
33
|
-
backgroundColor: COLORS.NEUTRAL_3,
|
|
34
|
-
overflow: 'hidden'
|
|
35
|
-
},
|
|
36
|
-
progressFill: {
|
|
37
|
-
position: 'absolute',
|
|
38
|
-
top: 0,
|
|
39
|
-
bottom: 0,
|
|
40
|
-
left: 0,
|
|
41
|
-
borderRadius: 36,
|
|
42
|
-
backgroundColor: COLORS.YELLOW_4
|
|
43
|
-
},
|
|
44
|
-
progressOverlay: {
|
|
45
|
-
position: 'absolute',
|
|
46
|
-
top: 0,
|
|
47
|
-
bottom: 0,
|
|
48
|
-
left: 0,
|
|
49
|
-
right: 0,
|
|
50
|
-
flexDirection: 'row',
|
|
51
|
-
alignItems: 'center',
|
|
52
|
-
justifyContent: 'space-between',
|
|
53
|
-
paddingHorizontal: SPACING[200]
|
|
54
|
-
},
|
|
55
|
-
progressPercent: {
|
|
56
|
-
color: COLORS.NEUTRAL_9
|
|
57
|
-
},
|
|
58
|
-
progressLabel: {
|
|
59
|
-
fontFamily: FONT_FAMILY.buenosAiresSemiBold,
|
|
60
|
-
fontSize: 10,
|
|
61
|
-
color: COLORS.NEUTRAL_9,
|
|
62
|
-
textTransform: 'uppercase'
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
//# sourceMappingURL=TableRowAverageProgress.js.map
|
package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","View","COLORS","FONT_FAMILY","HeadingVariants","SPACING","Typography","jsx","_jsx","jsxs","_jsxs","TableRowAverageProgress","percent","label","style","styles","progressTrack","children","progressFill","width","progressOverlay","variant","H9","progressPercent","progressLabel","numberOfLines","create","height","borderRadius","backgroundColor","NEUTRAL_3","overflow","position","top","bottom","left","YELLOW_4","right","flexDirection","alignItems","justifyContent","paddingHorizontal","color","NEUTRAL_9","fontFamily","buenosAiresSemiBold","fontSize","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/fluency-teacher/components/table/TableRowAverageProgress.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SACEC,MAAM,EACNC,WAAW,EACXC,eAAe,EACfC,OAAO,EACPC,UAAU,QACL,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOnC,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EAAEC,OAAO;EAAE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/BC,iBAAiB,EAAEpC,OAAO,CAAC,GAAG;EAChC,CAAC;EACDkB,eAAe,EAAE;IACfmB,KAAK,EAAExC,MAAM,CAACyC;EAChB,CAAC;EACDnB,aAAa,EAAE;IACboB,UAAU,EAAEzC,WAAW,CAAC0C,mBAAmB;IAC3CC,QAAQ,EAAE,EAAE;IACZJ,KAAK,EAAExC,MAAM,CAACyC,SAAS;IACvBI,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createContext, useContext } from 'react';
|
|
4
|
-
const TeacherFluencyContext = /*#__PURE__*/createContext(null);
|
|
5
|
-
export const useTeacherFluency = () => {
|
|
6
|
-
const value = useContext(TeacherFluencyContext);
|
|
7
|
-
if (!value) throw new Error('useTeacherFluency must be used within TeacherFluencyProvider');
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
export const TeacherFluencyProvider = TeacherFluencyContext.Provider;
|
|
11
|
-
//# sourceMappingURL=TeacherFluencyContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","TeacherFluencyContext","useTeacherFluency","value","Error","TeacherFluencyProvider","Provider"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/context/TeacherFluencyContext.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,OAAO;AAOjD,MAAMC,qBAAqB,gBAAGF,aAAa,CAAoC,IAAI,CAAC;AAEpF,OAAO,MAAMG,iBAAiB,GAAGA,CAAA,KAAkC;EACjE,MAAMC,KAAK,GAAGH,UAAU,CAACC,qBAAqB,CAAC;EAC/C,IAAI,CAACE,KAAK,EAAE,MAAM,IAAIC,KAAK,CAAC,8DAA8D,CAAC;EAC3F,OAAOD,KAAK;AACd,CAAC;AAED,OAAO,MAAME,sBAAsB,GAAGJ,qBAAqB,CAACK,QAAQ","ignoreList":[]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { COLORS } from '@magmamath/react-native-ui';
|
|
4
|
-
export const TEACHER_FLUENCY_GOAL_MINUTES = 25;
|
|
5
|
-
export let FluencyOperator = /*#__PURE__*/function (FluencyOperator) {
|
|
6
|
-
FluencyOperator["ADDITION"] = "addition";
|
|
7
|
-
FluencyOperator["SUBTRACTION"] = "subtraction";
|
|
8
|
-
FluencyOperator["MULTIPLICATION"] = "multiplication";
|
|
9
|
-
FluencyOperator["DIVISION"] = "division";
|
|
10
|
-
return FluencyOperator;
|
|
11
|
-
}({});
|
|
12
|
-
export const MATRIX_CELL_COLORS = {
|
|
13
|
-
[FluencyOperator.ADDITION]: {
|
|
14
|
-
1: COLORS.GREEN_2,
|
|
15
|
-
2: COLORS.GREEN_3,
|
|
16
|
-
3: COLORS.PRIMARY_GREEN,
|
|
17
|
-
4: COLORS.GREEN_6
|
|
18
|
-
},
|
|
19
|
-
[FluencyOperator.SUBTRACTION]: {
|
|
20
|
-
1: COLORS.ORANGE_2,
|
|
21
|
-
2: COLORS.ORANGE_3,
|
|
22
|
-
3: COLORS.PRIMARY_ORANGE,
|
|
23
|
-
4: COLORS.ORANGE_6
|
|
24
|
-
},
|
|
25
|
-
[FluencyOperator.MULTIPLICATION]: {
|
|
26
|
-
1: COLORS.BLUE_2,
|
|
27
|
-
2: COLORS.BLUE_3,
|
|
28
|
-
3: COLORS.PRIMARY_BLUE,
|
|
29
|
-
4: COLORS.BLUE_6
|
|
30
|
-
},
|
|
31
|
-
[FluencyOperator.DIVISION]: {
|
|
32
|
-
1: COLORS.PURPLE_2,
|
|
33
|
-
2: COLORS.PURPLE_3,
|
|
34
|
-
3: COLORS.PRIMARY_PURPLE,
|
|
35
|
-
4: COLORS.PURPLE_6
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
export let FluencyMathOperatorSymbol = /*#__PURE__*/function (FluencyMathOperatorSymbol) {
|
|
39
|
-
FluencyMathOperatorSymbol["ADDITION"] = "+";
|
|
40
|
-
FluencyMathOperatorSymbol["SUBTRACTION"] = "\u2212";
|
|
41
|
-
FluencyMathOperatorSymbol["MULTIPLICATION"] = "\xD7";
|
|
42
|
-
FluencyMathOperatorSymbol["DIVISION"] = "\xF7";
|
|
43
|
-
return FluencyMathOperatorSymbol;
|
|
44
|
-
}({});
|
|
45
|
-
export const TABLE_OPERATOR_COLUMNS = [{
|
|
46
|
-
operator: FluencyOperator.ADDITION,
|
|
47
|
-
labelKey: 'student.fluency.addition',
|
|
48
|
-
symbol: FluencyMathOperatorSymbol.ADDITION,
|
|
49
|
-
badgeBg: COLORS.GREEN_3,
|
|
50
|
-
badgeText: COLORS.GREEN_8
|
|
51
|
-
}, {
|
|
52
|
-
operator: FluencyOperator.SUBTRACTION,
|
|
53
|
-
labelKey: 'student.fluency.subtraction',
|
|
54
|
-
symbol: FluencyMathOperatorSymbol.SUBTRACTION,
|
|
55
|
-
badgeBg: COLORS.ORANGE_3,
|
|
56
|
-
badgeText: COLORS.ORANGE_8
|
|
57
|
-
}, {
|
|
58
|
-
operator: FluencyOperator.DIVISION,
|
|
59
|
-
labelKey: 'student.fluency.division',
|
|
60
|
-
symbol: FluencyMathOperatorSymbol.DIVISION,
|
|
61
|
-
badgeBg: COLORS.BLUE_3,
|
|
62
|
-
badgeText: COLORS.BLUE_8
|
|
63
|
-
}, {
|
|
64
|
-
operator: FluencyOperator.MULTIPLICATION,
|
|
65
|
-
labelKey: 'student.fluency.multiplication',
|
|
66
|
-
symbol: FluencyMathOperatorSymbol.MULTIPLICATION,
|
|
67
|
-
badgeBg: COLORS.PURPLE_2,
|
|
68
|
-
badgeText: COLORS.PURPLE_8
|
|
69
|
-
}];
|
|
70
|
-
//# sourceMappingURL=fluencyTeacher.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["COLORS","TEACHER_FLUENCY_GOAL_MINUTES","FluencyOperator","MATRIX_CELL_COLORS","ADDITION","GREEN_2","GREEN_3","PRIMARY_GREEN","GREEN_6","SUBTRACTION","ORANGE_2","ORANGE_3","PRIMARY_ORANGE","ORANGE_6","MULTIPLICATION","BLUE_2","BLUE_3","PRIMARY_BLUE","BLUE_6","DIVISION","PURPLE_2","PURPLE_3","PRIMARY_PURPLE","PURPLE_6","FluencyMathOperatorSymbol","TABLE_OPERATOR_COLUMNS","operator","labelKey","symbol","badgeBg","badgeText","GREEN_8","ORANGE_8","BLUE_8","PURPLE_8"],"sourceRoot":"../../../../src","sources":["features/fluency-teacher/fluencyTeacher.constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,4BAA4B;AAGnD,OAAO,MAAMC,4BAA4B,GAAG,EAAE;AAE9C,WAAYC,eAAe,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA;AAO3B,OAAO,MAAMC,kBAAmE,GAAG;EACjF,CAACD,eAAe,CAACE,QAAQ,GAAG;IAC1B,CAAC,EAAEJ,MAAM,CAACK,OAAO;IACjB,CAAC,EAAEL,MAAM,CAACM,OAAO;IACjB,CAAC,EAAEN,MAAM,CAACO,aAAa;IACvB,CAAC,EAAEP,MAAM,CAACQ;EACZ,CAAC;EACD,CAACN,eAAe,CAACO,WAAW,GAAG;IAC7B,CAAC,EAAET,MAAM,CAACU,QAAQ;IAClB,CAAC,EAAEV,MAAM,CAACW,QAAQ;IAClB,CAAC,EAAEX,MAAM,CAACY,cAAc;IACxB,CAAC,EAAEZ,MAAM,CAACa;EACZ,CAAC;EACD,CAACX,eAAe,CAACY,cAAc,GAAG;IAChC,CAAC,EAAEd,MAAM,CAACe,MAAM;IAChB,CAAC,EAAEf,MAAM,CAACgB,MAAM;IAChB,CAAC,EAAEhB,MAAM,CAACiB,YAAY;IACtB,CAAC,EAAEjB,MAAM,CAACkB;EACZ,CAAC;EACD,CAAChB,eAAe,CAACiB,QAAQ,GAAG;IAC1B,CAAC,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-
|
|
3
|
-
import { COLORS } from '@magmamath/react-native-ui';
|
|
4
|
-
export const getCellColor = (box, colorMap) => box ? colorMap[box] ?? COLORS.NEUTRAL_2 : COLORS.NEUTRAL_2;
|
|
5
|
-
export const toAverageLabel = overallPercent => {
|
|
6
|
-
if (overallPercent >= 0.9) return 'teacher.fluency.progressFluent';
|
|
7
|
-
if (overallPercent >= 0.65) return 'teacher.fluency.progressProficient';
|
|
8
|
-
if (overallPercent >= 0.35) return 'teacher.fluency.progressDeveloping';
|
|
9
|
-
if (overallPercent >= 0.05) return 'teacher.fluency.progressLearning';
|
|
10
|
-
return 'teacher.fluency.progressNotStarted';
|
|
11
|
-
};
|
|
12
|
-
const toPercent = decimal => Math.round(decimal * 100);
|
|
13
|
-
const buildOperatorAverages = response => {
|
|
14
|
-
const count = response.students.length;
|
|
15
|
-
if (count === 0) return {
|
|
16
|
-
addition: 0,
|
|
17
|
-
subtraction: 0,
|
|
18
|
-
multiplication: 0,
|
|
19
|
-
division: 0
|
|
20
|
-
};
|
|
21
|
-
const sums = response.students.reduce((acc, row) => ({
|
|
22
|
-
addition: acc.addition + row.byOperator.addition,
|
|
23
|
-
subtraction: acc.subtraction + row.byOperator.subtraction,
|
|
24
|
-
multiplication: acc.multiplication + row.byOperator.multiplication,
|
|
25
|
-
division: acc.division + row.byOperator.division
|
|
26
|
-
}), {
|
|
27
|
-
addition: 0,
|
|
28
|
-
subtraction: 0,
|
|
29
|
-
multiplication: 0,
|
|
30
|
-
division: 0
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
addition: toPercent(sums.addition / count),
|
|
34
|
-
subtraction: toPercent(sums.subtraction / count),
|
|
35
|
-
multiplication: toPercent(sums.multiplication / count),
|
|
36
|
-
division: toPercent(sums.division / count)
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export const buildClassAverageStats = response => ({
|
|
40
|
-
...response,
|
|
41
|
-
classAverage: toPercent(response.classAverage),
|
|
42
|
-
operatorAverages: buildOperatorAverages(response)
|
|
43
|
-
});
|
|
44
|
-
export const buildStudentsFluencyTable = ({
|
|
45
|
-
students,
|
|
46
|
-
response
|
|
47
|
-
}) => {
|
|
48
|
-
return response.students.map(row => {
|
|
49
|
-
const student = students.find(({
|
|
50
|
-
id
|
|
51
|
-
}) => id === row.studentId);
|
|
52
|
-
if (!student) return null;
|
|
53
|
-
return {
|
|
54
|
-
id: row.studentId,
|
|
55
|
-
name: student?.name ?? '',
|
|
56
|
-
averagePercent: toPercent(row.overallPercent),
|
|
57
|
-
averageLabel: toAverageLabel(row.overallPercent),
|
|
58
|
-
scores: {
|
|
59
|
-
addition: toPercent(row.byOperator.addition),
|
|
60
|
-
subtraction: toPercent(row.byOperator.subtraction),
|
|
61
|
-
multiplication: toPercent(row.byOperator.multiplication),
|
|
62
|
-
division: toPercent(row.byOperator.division)
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}).filter(item => item !== null);
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=fluencyTeacher.helpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["COLORS","getCellColor","box","colorMap","NEUTRAL_2","toAverageLabel","overallPercent","toPercent","decimal","Math","round","buildOperatorAverages","response","count","students","length","addition","subtraction","multiplication","division","sums","reduce","acc","row","byOperator","buildClassAverageStats","classAverage","operatorAverages","buildStudentsFluencyTable","map","student","find","id","studentId","name","averagePercent","averageLabel","scores","filter","item"],"sourceRoot":"../../../../src","sources":["features/fluency-teacher/fluencyTeacher.helpers.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,4BAA4B;AAInD,OAAO,MAAMC,YAAY,GAAGA,CAACC,GAAkB,EAAEC,QAAgC,KAC/ED,GAAG,GAAIC,QAAQ,CAACD,GAAG,CAAC,IAAIF,MAAM,CAACI,SAAS,GAAIJ,MAAM,CAACI,SAAS;AAE9D,OAAO,MAAMC,cAAc,GAAIC,cAAsB,IAAqB;EACxE,IAAIA,cAAc,IAAI,GA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,CAAC,CAAC,CACDmB,MAAM,CAAEC,IAAI,IAAKA,IAAI,KAAK,IAAI,CAAC;AACpC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["features/fluency-teacher/fluencyTeacher.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo } from 'react';
|
|
4
|
-
import { useUnit } from 'effector-react';
|
|
5
|
-
import { useTeacherFluency } from "../context/TeacherFluencyContext.js";
|
|
6
|
-
import { FluencyOperator } from "../fluencyTeacher.constants.js";
|
|
7
|
-
export const useDrawerGrid = operator => {
|
|
8
|
-
const {
|
|
9
|
-
model
|
|
10
|
-
} = useTeacherFluency();
|
|
11
|
-
const drawerInfo = useUnit(model.table.$studentInfoDrawer);
|
|
12
|
-
return useMemo(() => {
|
|
13
|
-
const factRecord = drawerInfo?.details?.operations[operator]?.facts ?? {};
|
|
14
|
-
const factList = Object.values(factRecord);
|
|
15
|
-
if (!factList.length) return null;
|
|
16
|
-
const isDivision = operator === FluencyOperator.DIVISION;
|
|
17
|
-
const isSubtraction = operator === FluencyOperator.SUBTRACTION;
|
|
18
|
-
const isCommutative = operator === FluencyOperator.ADDITION || operator === FluencyOperator.MULTIPLICATION;
|
|
19
|
-
const maxRow = Math.max(...factList.map(f => f.position.row));
|
|
20
|
-
const maxCol = Math.max(...factList.map(f => f.position.column));
|
|
21
|
-
const factAt = (row, col) => factList.find(f => f.position.row === row && f.position.column === col);
|
|
22
|
-
const colLabels = isDivision ? Array.from({
|
|
23
|
-
length: maxCol
|
|
24
|
-
}, (_, i) => i + 1) : Array.from({
|
|
25
|
-
length: maxCol + 1
|
|
26
|
-
}, (_, i) => i);
|
|
27
|
-
const maxMinuend = isSubtraction ? Math.max(...factList.map(f => f.numbers[0])) : maxRow;
|
|
28
|
-
const rowNums = Array.from({
|
|
29
|
-
length: maxMinuend + 1
|
|
30
|
-
}, (_, i) => i);
|
|
31
|
-
const rows = rowNums.map(rowNum => ({
|
|
32
|
-
label: rowNum,
|
|
33
|
-
cells: colLabels.map(colLabel => {
|
|
34
|
-
if (isSubtraction && colLabel > rowNum) return {
|
|
35
|
-
box: null,
|
|
36
|
-
isEmpty: true
|
|
37
|
-
};
|
|
38
|
-
const fact = isSubtraction ? factAt(rowNum - colLabel, colLabel) : factAt(rowNum, colLabel);
|
|
39
|
-
const mirrorFact = isCommutative ? factAt(colLabel, rowNum) : null;
|
|
40
|
-
const primaryBox = fact?.box ?? null;
|
|
41
|
-
const mirrorBox = mirrorFact?.box ?? null;
|
|
42
|
-
const box = primaryBox !== null && mirrorBox !== null ? Math.max(primaryBox, mirrorBox) : primaryBox ?? mirrorBox;
|
|
43
|
-
return {
|
|
44
|
-
box,
|
|
45
|
-
isEmpty: false
|
|
46
|
-
};
|
|
47
|
-
})
|
|
48
|
-
}));
|
|
49
|
-
return {
|
|
50
|
-
colLabels,
|
|
51
|
-
rows
|
|
52
|
-
};
|
|
53
|
-
}, [drawerInfo, operator]);
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=useDrawerGrid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useUnit","useTeacherFluency","FluencyOperator","useDrawerGrid","operator","model","drawerInfo","table","$studentInfoDrawer","factRecord","details","operations","facts","factList","Object","values","length","isDivision","DIVISION","isSubtraction","SUBTRACTION","isCommutative","ADDITION","MULTIPLICATION","maxRow","Math","max","map","f","position","row","maxCol","column","factAt","col","find","colLabels","Array","from","_","i","maxMinuend","numbers","rowNums","rows","rowNum","label","cells","colLabel","box","isEmpty","fact","mirrorFact","primaryBox","mirrorBox"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/hooks/useDrawerGrid.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,OAAO,QAAQ,gBAAgB;AACxC,SA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I;QACzC,MAAMA,GAAG,GACPI,UAAU,KAAK,IAAI,IAAIC,SAAS,KAAK,IAAI,GACrC7B,IAAI,CAACC,GAAG,CAAC2B,UAAU,EAAEC,SAAS,CAAC,GAC9BD,UAAU,IAAIC,SAAU;QAE/B,OAAO;UAAEL,GAAG;UAAEC,OAAO,EAAE;QAAM,CAAC;MAChC,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO;MAAEd,SAAS;MAAEQ;IAAK,CAAC;EAC5B,CAAC,EAAE,CAACtC,UAAU,EAAEF,QAAQ,CAAC,CAAC;AAC5B,CAAC","ignoreList":[]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo, useState } from 'react';
|
|
4
|
-
import { MATRIX_CELL_COLORS } from "../fluencyTeacher.constants.js";
|
|
5
|
-
import { useDrawerGrid } from "./useDrawerGrid.js";
|
|
6
|
-
const MATRIX_CELL_GAP = 2;
|
|
7
|
-
export const useDrawerMatrix = operator => {
|
|
8
|
-
const grid = useDrawerGrid(operator);
|
|
9
|
-
const [containerWidth, setContainerWidth] = useState(0);
|
|
10
|
-
const [containerHeight, setContainerHeight] = useState(0);
|
|
11
|
-
const onLayout = e => {
|
|
12
|
-
setContainerWidth(e.nativeEvent.layout.width);
|
|
13
|
-
setContainerHeight(e.nativeEvent.layout.height);
|
|
14
|
-
};
|
|
15
|
-
const cellSize = useMemo(() => {
|
|
16
|
-
if (!grid || !containerWidth || !containerHeight) return 0;
|
|
17
|
-
const totalCols = grid.colLabels.length + 1;
|
|
18
|
-
const totalRows = grid.rows.length + 1;
|
|
19
|
-
const cellW = Math.floor((containerWidth - MATRIX_CELL_GAP * (totalCols - 1)) / totalCols);
|
|
20
|
-
const cellH = Math.floor((containerHeight - MATRIX_CELL_GAP * (totalRows - 1)) / totalRows);
|
|
21
|
-
return Math.min(cellW, cellH);
|
|
22
|
-
}, [grid, containerWidth, containerHeight]);
|
|
23
|
-
return {
|
|
24
|
-
grid,
|
|
25
|
-
cellSize,
|
|
26
|
-
fontSize: Math.max(8, Math.floor(cellSize * 0.55)),
|
|
27
|
-
borderRadius: Math.max(2, Math.floor(cellSize * 0.25)),
|
|
28
|
-
cellColorMap: MATRIX_CELL_COLORS[operator],
|
|
29
|
-
onLayout
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=useDrawerMatrix.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useState","MATRIX_CELL_COLORS","useDrawerGrid","MATRIX_CELL_GAP","useDrawerMatrix","operator","grid","containerWidth","setContainerWidth","containerHeight","setContainerHeight","onLayout","e","nativeEvent","layout","width","height","cellSize","totalCols","colLabels","length","totalRows","rows","cellW","Math","floor","cellH","min","fontSize","max","borderRadius","cellColorMap"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/hooks/useDrawerMatrix.ts"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEzC,SAA0BC,kBAAkB,QAAQ,gCAA6B;AACjF,SAASC,aAAa,QAAyB,oBAAiB;AAEhE,MAAMC,eAAe,GAAG,CAAC;AAWzB,OAAO,MAAMC,eAAe,GAAIC,QAAyB,IAAyB;EAChF,MAAMC,IAAI,GAAGJ,aAAa,CAACG,QAAQ,CAAC;EACpC,MAAM,CAACE,cAAc,EAAEC,iBAAiB,CAAC,GAAGR,QAAQ,CAAC,CAAC,CAAC;EACvD,MAAM,CAACS,eAAe,EAAEC,kBAAkB,CAAC,GAAGV,QAAQ,CAAC,CAAC,CAAC;EAEzD,MAAMW,QAAQ,GAAIC,CAAoB,IAAK;IACzCJ,iBAAiB,CAACI,CAAC,CAACC,WAAW,CAACC,MAAM,CAACC,KAAK,CAAC;IAC7CL,kBAAkB,CAACE,CAAC,CAACC,WAAW,CAACC,MAAM,CAACE,MAAM,CAAC;EACjD,CAAC;EAED,MAAMC,QAAQ,GAAGlB,OAAO,CAAC,MAAM;IAC7B,IAAI,CAACO,IAAI,IAAI,CAACC,cAAc,IAAI,CAACE,eAAe,EAAE,OAAO,CAAC;IAC1D,MAAMS,SAAS,GAAGZ,IAAI,CAACa,SAAS,CAACC,MAAM,GAAG,CAAC;IAC3C,MAAMC,SAAS,GAAGf,IAAI,CAACgB,IAAI,CAACF,MAAM,GAAG,CAAC;IACtC,MAAMG,KAAK,GAAGC,IAAI,CAACC,KAAK,CAAC,CAAClB,cAAc,GAAGJ,eAAe,IAAIe,SAAS,GAAG,CAAC,CAAC,IAAIA,SAAS,CAAC;IAC1F,MAAMQ,KAAK,GAAGF,IAAI,CAACC,KAAK,CAAC,CAAChB,eAAe,GAAGN,eAAe,IAAIkB,SAAS,GAAG,CAAC,CAAC,IAAIA,SAAS,CAAC;IAC3F,OAAOG,IAAI,CAACG,GAAG,CAACJ,KAAK,EAAEG,KAAK,CAAC;EAC/B,CAAC,EAAE,CAACpB,IAAI,EAAEC,cAAc,EAAEE,eAAe,CAAC,CAAC;EAE3C,OAAO;IACLH,IAAI;IACJW,QAAQ;IACRW,QAAQ,EAAEJ,IAAI,CAACK,GAAG,CAAC,CAAC,EAAEL,IAAI,CAACC,KAAK,CAACR,QAAQ,GAAG,IAAI,CAAC,CAAC;IAClDa,YAAY,EAAEN,IAAI,CAACK,GAAG,CAAC,CAAC,EAAEL,IAAI,CAACC,KAAK,CAACR,QAAQ,GAAG,IAAI,CAAC,CAAC;IACtDc,YAAY,EAAE9B,kBAAkB,CAACI,QAAQ,CAAC;IAC1CM;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TeacherFluencyModel","FluencyTeacher"],"sourceRoot":"../../../../src","sources":["features/fluency-teacher/index.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,gCAA6B;AACjE,SAASC,cAAc,QAAQ,gCAA6B","ignoreList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createEffect } from 'effector';
|
|
4
|
-
export class TeacherFluencyApiModel {
|
|
5
|
-
constructor(api) {
|
|
6
|
-
this.getClassSummaryFx = createEffect(api.getClassSummary);
|
|
7
|
-
this.getStudentDetailsFx = createEffect(api.getStudentDetails);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=TeacherFluencyApiModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createEffect","TeacherFluencyApiModel","constructor","api","getClassSummaryFx","getClassSummary","getStudentDetailsFx","getStudentDetails"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/model/TeacherFluencyApiModel.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAgB,UAAU;AAS/C,OAAO,MAAMC,sBAAsB,CAAC;EAIlCC,WAAWA,CAACC,GAAoC,EAAE;IAChD,IAAI,CAACC,iBAAiB,GAAGJ,YAAY,CAACG,GAAG,CAACE,eAAe,CAAC;IAC1D,IAAI,CAACC,mBAAmB,GAAGN,YAAY,CAACG,GAAG,CAACI,iBAAiB,CAAC;EAChE;AACF","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createEvent, createStore, restore } from 'effector';
|
|
4
|
-
export class TeacherFluencyFiltersModel {
|
|
5
|
-
setSearch = createEvent();
|
|
6
|
-
$search = restore(this.setSearch, '');
|
|
7
|
-
toggleSort = createEvent();
|
|
8
|
-
$sort = createStore({
|
|
9
|
-
column: 'average',
|
|
10
|
-
direction: 'desc'
|
|
11
|
-
}).on(this.toggleSort, (state, column) => {
|
|
12
|
-
if (state.column !== column) return {
|
|
13
|
-
column,
|
|
14
|
-
direction: 'desc'
|
|
15
|
-
};
|
|
16
|
-
const direction = state.direction === 'desc' ? 'asc' : 'desc';
|
|
17
|
-
return {
|
|
18
|
-
column,
|
|
19
|
-
direction
|
|
20
|
-
};
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=TeacherFluencyFiltersModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createEvent","createStore","restore","TeacherFluencyFiltersModel","setSearch","$search","toggleSort","$sort","column","direction","on","state"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/model/TeacherFluencyFiltersModel.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,EAAEC,OAAO,QAAQ,UAAU;AAG5D,OAAO,MAAMC,0BAA0B,CAAC;EACtBC,SAAS,GAAGJ,WAAW,CAAS,CAAC;EACjCK,OAAO,GAAGH,OAAO,CAAC,IAAI,CAACE,SAAS,EAAE,EAAE,CAAC;EAErCE,UAAU,GAAGN,WAAW,CAAa,CAAC;EACtCO,KAAK,GAAGN,WAAW,CAAY;IAAEO,MAAM,EAAE,SAAS;IAAEC,SAAS,EAAE;EAAO,CAAC,CAAC,CAACC,EAAE,CACzF,IAAI,CAACJ,UAAU,EACf,CAACK,KAAK,EAAEH,MAAM,KAAK;IACjB,IAAIG,KAAK,CAACH,MAAM,KAAKA,MAAM,EAAE,OAAO;MAAEA,MAAM;MAAEC,SAAS,EAAE;IAAO,CAAC;IACjE,MAAMA,SAAS,GAAGE,KAAK,CAACF,SAAS,KAAK,MAAM,GAAG,KAAK,GAAG,MAAM;IAC7D,OAAO;MAAED,MAAM;MAAEC;IAAU,CAAC;EAC9B,CACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { sample } from 'effector';
|
|
4
|
-
import { createGate } from 'effector-react';
|
|
5
|
-
import { TeacherFluencyApiModel } from "./TeacherFluencyApiModel.js";
|
|
6
|
-
import { TeacherFluencyFiltersModel } from "./TeacherFluencyFiltersModel.js";
|
|
7
|
-
import { TeacherFluencyTableModel } from "./TeacherFluencyTableModel.js";
|
|
8
|
-
export class TeacherFluencyModel {
|
|
9
|
-
gate = createGate();
|
|
10
|
-
constructor({
|
|
11
|
-
api
|
|
12
|
-
}) {
|
|
13
|
-
this.api = new TeacherFluencyApiModel(api);
|
|
14
|
-
this.filters = new TeacherFluencyFiltersModel();
|
|
15
|
-
this.table = new TeacherFluencyTableModel(this.api);
|
|
16
|
-
this.init();
|
|
17
|
-
}
|
|
18
|
-
init() {
|
|
19
|
-
sample({
|
|
20
|
-
clock: this.gate.state,
|
|
21
|
-
filter: props => props.students.length === 0,
|
|
22
|
-
target: this.table.reset
|
|
23
|
-
});
|
|
24
|
-
sample({
|
|
25
|
-
clock: this.gate.state,
|
|
26
|
-
source: this.table.initFx.pending,
|
|
27
|
-
filter: (isPending, props) => !isPending && props.students.length > 0,
|
|
28
|
-
fn: (_, props) => props,
|
|
29
|
-
target: this.table.initFx
|
|
30
|
-
});
|
|
31
|
-
sample({
|
|
32
|
-
clock: this.table.setStudentInfoDrawer,
|
|
33
|
-
source: this.gate.state,
|
|
34
|
-
filter: (_, student) => student !== null,
|
|
35
|
-
fn: (gateProps, student) => ({
|
|
36
|
-
studentId: student.id,
|
|
37
|
-
grade: gateProps.grade
|
|
38
|
-
}),
|
|
39
|
-
target: this.api.getStudentDetailsFx
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=TeacherFluencyModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["sample","createGate","TeacherFluencyApiModel","TeacherFluencyFiltersModel","TeacherFluencyTableModel","TeacherFluencyModel","gate","constructor","api","filters","table","init","clock","state","filter","props","students","length","target","reset","source","initFx","pending","isPending","fn","_","setStudentInfoDrawer","student","gateProps","studentId","id","grade","getStudentDetailsFx"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/model/TeacherFluencyModel.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,UAAU;AACjC,SAASC,UAAU,QAAQ,gBAAgB;AAC3C,SAASC,sBAAsB,QAAQ,6BAA0B;A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AAE,EAAEA,CAACI,SAAS,EAAED,OAAO,MAAM;QAAEE,SAAS,EAAEF,OAAO,CAAEG,EAAE;QAAEC,KAAK,EAAEH,SAAS,CAACG;MAAM,CAAC,CAAC;MAChFb,MAAM,EAAE,IAAI,CAACV,GAAG,CAACwB;IACnB,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createEvent, createStore, createEffect } from 'effector';
|
|
4
|
-
import { spread } from 'patronum';
|
|
5
|
-
import { buildClassAverageStats, buildStudentsFluencyTable } from "../fluencyTeacher.helpers.js";
|
|
6
|
-
export class TeacherFluencyTableModel {
|
|
7
|
-
reset = createEvent();
|
|
8
|
-
$stats = createStore(null).reset(this.reset);
|
|
9
|
-
$table = createStore([]).reset(this.reset);
|
|
10
|
-
setStudentInfoDrawer = createEvent();
|
|
11
|
-
$studentInfoDrawer = createStore(null).reset(this.reset).on(this.setStudentInfoDrawer, (_, student) => student ? {
|
|
12
|
-
...student,
|
|
13
|
-
details: null
|
|
14
|
-
} : null);
|
|
15
|
-
constructor(api) {
|
|
16
|
-
this.api = api;
|
|
17
|
-
spread({
|
|
18
|
-
source: this.initFx.doneData,
|
|
19
|
-
targets: {
|
|
20
|
-
stats: this.$stats,
|
|
21
|
-
table: this.$table
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
this.$studentInfoDrawer.on(this.api.getStudentDetailsFx.doneData, (state, details) => state ? {
|
|
25
|
-
...state,
|
|
26
|
-
details
|
|
27
|
-
} : null);
|
|
28
|
-
}
|
|
29
|
-
initFx = createEffect(async props => {
|
|
30
|
-
const response = await this.api.getClassSummaryFx({
|
|
31
|
-
studentIds: props.students.map(({
|
|
32
|
-
id
|
|
33
|
-
}) => id)
|
|
34
|
-
});
|
|
35
|
-
return {
|
|
36
|
-
stats: buildClassAverageStats(response),
|
|
37
|
-
table: buildStudentsFluencyTable({
|
|
38
|
-
response,
|
|
39
|
-
students: props.students
|
|
40
|
-
})
|
|
41
|
-
};
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=TeacherFluencyTableModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createEvent","createStore","createEffect","spread","buildClassAverageStats","buildStudentsFluencyTable","TeacherFluencyTableModel","reset","$stats","$table","setStudentInfoDrawer","$studentInfoDrawer","on","_","student","details","constructor","api","source","initFx","doneData","targets","stats","table","getStudentDetailsFx","state","props","response","getClassSummaryFx","studentIds","students","map","id"],"sourceRoot":"../../../../../src","sources":["features/fluency-teacher/model/TeacherFluencyTableModel.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,EAAEC,YAAY,QAAQ,UAAU;AACjE,SAASC,MAAM,QAAQ,UAAU;AAEjC,SAASC,sBAAsB,EAAEC,yBAAyB,QAAQ,8BAA2B;AAQ7F,OAAO,MAAMC,wBAAwB,CAAC;EACpBC,KAAK,GAAGP,WAAW,CAAC,CAAC;EAErBQ,MAAM,GAAGP,WAAW,CAA2B,IAAI,CAAC,CAACM,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC;EACtEE,MAAM,GAAGR,WAAW,CAAkB,EAAE,CAAC,CAACM,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC;EAE3DG,oBAAoB,GAAGV,WAAW,CAAuB,CAAC;EAC1DW,kBAAkB,GAAGV,WAAW,CAA2B,IAAI,CAAC,CAC7EM,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC,CACjBK,EAAE,CAAC,IAAI,CAACF,oBAAoB,EAAE,CAACG,CAAC,EAAEC,OAAO,KAAMA,OAAO,GAAG;IAAE,GAAGA,OAAO;IAAEC,OAAO,EAAE;EAAK,CAAC,GAAG,IAAK,CAAC;EAElGC,WAAWA,CAAkBC,GAA2B,EAAE;IAAA,KAA7BA,GAA2B,GAA3BA,GAA2B;IACtDd,MAAM,CAAC;MACLe,MAAM,EAAE,IAAI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